1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_VERSION 0x010327
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /***********************************************************************
32 * This section contains generic SWIG labels for method/variable
33 * declarations/attributes, and other compiler dependent labels.
35 ************************************************************************/
37 /* template workaround for compilers that cannot correctly implement the C++ standard */
38 #ifndef SWIGTEMPLATEDISAMBIGUATOR
39 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
40 # define SWIGTEMPLATEDISAMBIGUATOR template
42 # define SWIGTEMPLATEDISAMBIGUATOR
46 /* inline attribute */
48 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
49 # define SWIGINLINE inline
55 /* attribute recognised by some compilers to avoid 'unused' warnings */
57 # if defined(__GNUC__) || defined(__ICC)
58 # define SWIGUNUSED __attribute__ ((unused))
64 /* internal SWIG method */
66 # define SWIGINTERN static SWIGUNUSED
69 /* internal inline SWIG method */
70 #ifndef SWIGINTERNINLINE
71 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
74 /* exporting methods for Windows DLLs */
76 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
77 # if defined(STATIC_LINKED)
80 # define SWIGEXPORT __declspec(dllexport)
87 /* calling conventions for Windows */
89 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
90 # define SWIGSTDCALL __stdcall
100 /***********************************************************************
103 * This file contains generic CAPI SWIG runtime support for pointer
106 ************************************************************************/
108 /* This should only be incremented when either the layout of swig_type_info changes,
109 or for whatever reason, the runtime changes incompatibly */
110 #define SWIG_RUNTIME_VERSION "2"
112 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
113 #ifdef SWIG_TYPE_TABLE
114 # define SWIG_QUOTE_STRING(x) #x
115 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
116 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
118 # define SWIG_TYPE_TABLE_NAME
122 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
123 creating a static or dynamic library from the swig runtime code.
124 In 99.9% of the cases, swig just needs to declare them as 'static'.
126 But only do this if is strictly necessary, ie, if you have problems
127 with your compiler or so.
131 # define SWIGRUNTIME SWIGINTERN
134 #ifndef SWIGRUNTIMEINLINE
135 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
144 typedef void *(*swig_converter_func
)(void *);
145 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
147 /* Structure to store inforomation on one type */
148 typedef struct swig_type_info
{
149 const char *name
; /* mangled name of this type */
150 const char *str
; /* human readable name of this type */
151 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
152 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
153 void *clientdata
; /* language specific type data */
156 /* Structure to store a type and conversion function used for casting */
157 typedef struct swig_cast_info
{
158 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
159 swig_converter_func converter
; /* function to cast the void pointers */
160 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
161 struct swig_cast_info
*prev
; /* pointer to the previous cast */
164 /* Structure used to store module information
165 * Each module generates one structure like this, and the runtime collects
166 * all of these structures and stores them in a circularly linked list.*/
167 typedef struct swig_module_info
{
168 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
169 size_t size
; /* Number of types in this module */
170 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
171 swig_type_info
**type_initial
; /* Array of initially generated type structures */
172 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
173 void *clientdata
; /* Language specific module data */
178 Compare two type names skipping the space characters, therefore
179 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
181 Return 0 when the two name types are equivalent, as in
182 strncmp, but skipping ' '.
185 SWIG_TypeNameComp(const char *f1
, const char *l1
,
186 const char *f2
, const char *l2
) {
187 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
188 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
189 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
190 if (*f1
!= *f2
) return (int)(*f1
- *f2
);
192 return (l1
- f1
) - (l2
- f2
);
196 Check type equivalence in a name list like <name1>|<name2>|...
197 Return 0 if not equal, 1 if equal
200 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
202 const char* te
= tb
+ strlen(tb
);
204 while (!equiv
&& *ne
) {
205 for (nb
= ne
; *ne
; ++ne
) {
206 if (*ne
== '|') break;
208 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
215 Check type equivalence in a name list like <name1>|<name2>|...
216 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
219 SWIG_TypeCompare(const char *nb
, const char *tb
) {
221 const char* te
= tb
+ strlen(tb
);
223 while (!equiv
&& *ne
) {
224 for (nb
= ne
; *ne
; ++ne
) {
225 if (*ne
== '|') break;
227 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
234 /* think of this as a c++ template<> or a scheme macro */
235 #define SWIG_TypeCheck_Template(comparison, ty) \
237 swig_cast_info *iter = ty->cast; \
240 if (iter == ty->cast) return iter; \
241 /* Move iter to the top of the linked list */ \
242 iter->prev->next = iter->next; \
244 iter->next->prev = iter->prev; \
245 iter->next = ty->cast; \
247 if (ty->cast) ty->cast->prev = iter; \
259 SWIGRUNTIME swig_cast_info
*
260 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
261 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
264 /* Same as previous function, except strcmp is replaced with a pointer comparison */
265 SWIGRUNTIME swig_cast_info
*
266 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
267 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
271 Cast a pointer up an inheritance hierarchy
273 SWIGRUNTIMEINLINE
void *
274 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
275 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
279 Dynamic pointer casting. Down an inheritance hierarchy
281 SWIGRUNTIME swig_type_info
*
282 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
283 swig_type_info
*lastty
= ty
;
284 if (!ty
|| !ty
->dcast
) return ty
;
285 while (ty
&& (ty
->dcast
)) {
286 ty
= (*ty
->dcast
)(ptr
);
293 Return the name associated with this type
295 SWIGRUNTIMEINLINE
const char *
296 SWIG_TypeName(const swig_type_info
*ty
) {
301 Return the pretty name associated with this type,
302 that is an unmangled type name in a form presentable to the user.
304 SWIGRUNTIME
const char *
305 SWIG_TypePrettyName(const swig_type_info
*type
) {
306 /* The "str" field contains the equivalent pretty names of the
307 type, separated by vertical-bar characters. We choose
308 to print the last name, as it is often (?) the most
310 if (type
->str
!= NULL
) {
311 const char *last_name
= type
->str
;
313 for (s
= type
->str
; *s
; s
++)
314 if (*s
== '|') last_name
= s
+1;
322 Set the clientdata field for a type
325 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
326 swig_cast_info
*cast
= ti
->cast
;
327 /* if (ti->clientdata == clientdata) return; */
328 ti
->clientdata
= clientdata
;
331 if (!cast
->converter
) {
332 swig_type_info
*tc
= cast
->type
;
333 if (!tc
->clientdata
) {
334 SWIG_TypeClientData(tc
, clientdata
);
342 Search for a swig_type_info structure only by mangled name
343 Search is a O(log #types)
345 We start searching at module start, and finish searching when start == end.
346 Note: if start == end at the beginning of the function, we go all the way around
349 SWIGRUNTIME swig_type_info
*
350 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
351 swig_module_info
*end
,
353 swig_module_info
*iter
= start
;
356 register size_t l
= 0;
357 register size_t r
= iter
->size
- 1;
359 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
360 register size_t i
= (l
+ r
) >> 1;
361 const char *iname
= iter
->types
[i
]->name
;
363 register int compare
= strcmp(name
, iname
);
365 return iter
->types
[i
];
366 } else if (compare
< 0) {
372 } else if (compare
> 0) {
376 break; /* should never happen */
381 } while (iter
!= end
);
386 Search for a swig_type_info structure for either a mangled name or a human readable name.
387 It first searches the mangled names of the types, which is a O(log #types)
388 If a type is not found it then searches the human readable names, which is O(#types).
390 We start searching at module start, and finish searching when start == end.
391 Note: if start == end at the beginning of the function, we go all the way around
394 SWIGRUNTIME swig_type_info
*
395 SWIG_TypeQueryModule(swig_module_info
*start
,
396 swig_module_info
*end
,
398 /* STEP 1: Search the name field using binary search */
399 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
403 /* STEP 2: If the type hasn't been found, do a complete search
404 of the str field (the human readable name) */
405 swig_module_info
*iter
= start
;
407 register size_t i
= 0;
408 for (; i
< iter
->size
; ++i
) {
409 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
410 return iter
->types
[i
];
413 } while (iter
!= end
);
416 /* neither found a match */
422 Pack binary data into a string
425 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
426 static const char hex
[17] = "0123456789abcdef";
427 register const unsigned char *u
= (unsigned char *) ptr
;
428 register const unsigned char *eu
= u
+ sz
;
429 for (; u
!= eu
; ++u
) {
430 register unsigned char uu
= *u
;
431 *(c
++) = hex
[(uu
& 0xf0) >> 4];
432 *(c
++) = hex
[uu
& 0xf];
438 Unpack binary data from a string
440 SWIGRUNTIME
const char *
441 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
442 register unsigned char *u
= (unsigned char *) ptr
;
443 register const unsigned char *eu
= u
+ sz
;
444 for (; u
!= eu
; ++u
) {
445 register char d
= *(c
++);
446 register unsigned char uu
= 0;
447 if ((d
>= '0') && (d
<= '9'))
448 uu
= ((d
- '0') << 4);
449 else if ((d
>= 'a') && (d
<= 'f'))
450 uu
= ((d
- ('a'-10)) << 4);
454 if ((d
>= '0') && (d
<= '9'))
456 else if ((d
>= 'a') && (d
<= 'f'))
457 uu
|= (d
- ('a'-10));
466 Pack 'void *' into a string buffer.
469 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
471 if ((2*sizeof(void *) + 2) > bsz
) return 0;
473 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
474 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
479 SWIGRUNTIME
const char *
480 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
482 if (strcmp(c
,"NULL") == 0) {
489 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
493 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
495 size_t lname
= (name
? strlen(name
) : 0);
496 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
498 r
= SWIG_PackData(r
,ptr
,sz
);
500 strncpy(r
,name
,lname
+1);
507 SWIGRUNTIME
const char *
508 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
510 if (strcmp(c
,"NULL") == 0) {
517 return SWIG_UnpackData(++c
,ptr
,sz
);
524 /* -----------------------------------------------------------------------------
525 * SWIG API. Portion that goes into the runtime
526 * ----------------------------------------------------------------------------- */
532 /* -----------------------------------------------------------------------------
533 * for internal method declarations
534 * ----------------------------------------------------------------------------- */
537 # define SWIGINTERN static SWIGUNUSED
540 #ifndef SWIGINTERNINLINE
541 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
545 Exception handling in wrappers
547 #define SWIG_fail goto fail
548 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
549 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
550 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
551 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
552 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
557 #define SWIG_contract_assert(expr, msg) \
558 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
560 /* -----------------------------------------------------------------------------
561 * Constant declarations
562 * ----------------------------------------------------------------------------- */
565 #define SWIG_PY_INT 1
566 #define SWIG_PY_FLOAT 2
567 #define SWIG_PY_STRING 3
568 #define SWIG_PY_POINTER 4
569 #define SWIG_PY_BINARY 5
571 /* Constant information structure */
572 typedef struct swig_const_info
{
578 swig_type_info
**ptype
;
582 /* -----------------------------------------------------------------------------
583 * Alloc. memory flags
584 * ----------------------------------------------------------------------------- */
585 #define SWIG_OLDOBJ 1
586 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
587 #define SWIG_PYSTR SWIG_NEWOBJ + 1
594 /***********************************************************************
597 * This file contains the runtime support for Python modules
598 * and includes code for managing global variables and pointer
601 * Author : David Beazley (beazley@cs.uchicago.edu)
602 ************************************************************************/
604 /* Common SWIG API */
605 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
606 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
607 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
610 /* Python-specific SWIG API */
611 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
612 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
615 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
616 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
618 /* -----------------------------------------------------------------------------
619 * Pointer declarations
620 * ----------------------------------------------------------------------------- */
622 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
623 C/C++ pointers in the python side. Very useful for debugging, but
626 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
627 # define SWIG_COBJECT_TYPES
630 /* Flags for pointer conversion */
631 #define SWIG_POINTER_EXCEPTION 0x1
632 #define SWIG_POINTER_DISOWN 0x2
635 /* Add PyOS_snprintf for old Pythons */
636 #if PY_VERSION_HEX < 0x02020000
637 #define PyOS_snprintf snprintf
644 /* -----------------------------------------------------------------------------
645 * Create a new pointer string
646 * ----------------------------------------------------------------------------- */
647 #ifndef SWIG_BUFFER_SIZE
648 #define SWIG_BUFFER_SIZE 1024
651 /* A crude PyString_FromFormat implementation for old Pythons */
652 #if PY_VERSION_HEX < 0x02020000
654 PyString_FromFormat(const char *fmt
, ...) {
656 char buf
[SWIG_BUFFER_SIZE
* 2];
659 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
661 return (res
< 0 || res
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
);
665 #if PY_VERSION_HEX < 0x01060000
666 #define PyObject_Del(op) PyMem_DEL((op))
669 #if defined(SWIG_COBJECT_TYPES)
670 #if !defined(SWIG_COBJECT_PYTHON)
671 /* -----------------------------------------------------------------------------
672 * Implements a simple Swig Object type, and use it instead of PyCObject
673 * ----------------------------------------------------------------------------- */
681 /* Declarations for objects of type PySwigObject */
684 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
686 char result
[SWIG_BUFFER_SIZE
];
688 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
689 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
696 SWIGRUNTIME PyObject
*
697 PySwigObject_repr(PySwigObject
*v
)
699 char result
[SWIG_BUFFER_SIZE
];
700 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
701 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
704 SWIGRUNTIME PyObject
*
705 PySwigObject_str(PySwigObject
*v
)
707 char result
[SWIG_BUFFER_SIZE
];
708 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
709 PyString_FromString(result
) : 0;
712 SWIGRUNTIME PyObject
*
713 PySwigObject_long(PySwigObject
*v
)
715 return PyLong_FromVoidPtr(v
->ptr
);
718 SWIGRUNTIME PyObject
*
719 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
721 PyObject
*res
= NULL
;
722 PyObject
*args
= PyTuple_New(1);
723 if (args
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) {
724 PyObject
*ofmt
= PyString_FromString(fmt
);
726 res
= PyString_Format(ofmt
,args
);
734 SWIGRUNTIME PyObject
*
735 PySwigObject_oct(PySwigObject
*v
)
737 return PySwigObject_format("%o",v
);
740 SWIGRUNTIME PyObject
*
741 PySwigObject_hex(PySwigObject
*v
)
743 return PySwigObject_format("%x",v
);
747 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
749 int c
= strcmp(v
->desc
, w
->desc
);
751 return (c
> 0) ? 1 : -1;
755 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
760 PySwigObject_dealloc(PySwigObject
*self
)
765 SWIGRUNTIME PyTypeObject
*
766 PySwigObject_type(void) {
767 static char pyswigobject_type__doc__
[] =
768 "Swig object carries a C/C++ instance pointer";
770 static PyNumberMethods PySwigObject_as_number
= {
771 (binaryfunc
)0, /*nb_add*/
772 (binaryfunc
)0, /*nb_subtract*/
773 (binaryfunc
)0, /*nb_multiply*/
774 (binaryfunc
)0, /*nb_divide*/
775 (binaryfunc
)0, /*nb_remainder*/
776 (binaryfunc
)0, /*nb_divmod*/
777 (ternaryfunc
)0,/*nb_power*/
778 (unaryfunc
)0, /*nb_negative*/
779 (unaryfunc
)0, /*nb_positive*/
780 (unaryfunc
)0, /*nb_absolute*/
781 (inquiry
)0, /*nb_nonzero*/
788 (coercion
)0, /*nb_coerce*/
789 (unaryfunc
)PySwigObject_long
, /*nb_int*/
790 (unaryfunc
)PySwigObject_long
, /*nb_long*/
791 (unaryfunc
)0, /*nb_float*/
792 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
793 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
794 #if PY_VERSION_HEX >= 0x02020000
795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
796 #elif PY_VERSION_HEX >= 0x02000000
797 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
801 static PyTypeObject pyswigobject_type
802 #if !defined(__cplusplus)
804 static int type_init
= 0;
809 PyObject_HEAD_INIT(&PyType_Type
)
811 (char *)"PySwigObject", /*tp_name*/
812 sizeof(PySwigObject
), /*tp_basicsize*/
815 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
816 (printfunc
)PySwigObject_print
, /*tp_print*/
817 (getattrfunc
)0, /*tp_getattr*/
818 (setattrfunc
)0, /*tp_setattr*/
819 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
820 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
821 &PySwigObject_as_number
, /*tp_as_number*/
822 0, /*tp_as_sequence*/
824 (hashfunc
)0, /*tp_hash*/
825 (ternaryfunc
)0, /*tp_call*/
826 (reprfunc
)PySwigObject_str
, /*tp_str*/
827 /* Space for future expansion */
829 pyswigobject_type__doc__
, /* Documentation string */
830 #if PY_VERSION_HEX >= 0x02000000
834 #if PY_VERSION_HEX >= 0x02010000
835 0, /* tp_richcompare */
836 0, /* tp_weaklistoffset */
838 #if PY_VERSION_HEX >= 0x02020000
839 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
841 #if PY_VERSION_HEX >= 0x02030000
845 0,0,0,0 /* tp_alloc -> tp_next */
848 #if !defined(__cplusplus)
849 pyswigobject_type
= tmp
;
853 return &pyswigobject_type
;
856 SWIGRUNTIME PyObject
*
857 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
859 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_type());
864 return (PyObject
*)self
;
867 SWIGRUNTIMEINLINE
void *
868 PySwigObject_AsVoidPtr(PyObject
*self
)
870 return ((PySwigObject
*)self
)->ptr
;
873 SWIGRUNTIMEINLINE
const char *
874 PySwigObject_GetDesc(PyObject
*self
)
876 return ((PySwigObject
*)self
)->desc
;
879 SWIGRUNTIMEINLINE
int
880 PySwigObject_Check(PyObject
*op
) {
881 return ((op
)->ob_type
== PySwigObject_type())
882 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
885 /* -----------------------------------------------------------------------------
886 * Implements a simple Swig Packed type, and use it instead of string
887 * ----------------------------------------------------------------------------- */
897 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
899 char result
[SWIG_BUFFER_SIZE
];
901 fputs("<Swig Packed ", fp
);
902 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
911 SWIGRUNTIME PyObject
*
912 PySwigPacked_repr(PySwigPacked
*v
)
914 char result
[SWIG_BUFFER_SIZE
];
915 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
916 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
918 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
922 SWIGRUNTIME PyObject
*
923 PySwigPacked_str(PySwigPacked
*v
)
925 char result
[SWIG_BUFFER_SIZE
];
926 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
927 return PyString_FromFormat("%s%s", result
, v
->desc
);
929 return PyString_FromString(v
->desc
);
934 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
936 int c
= strcmp(v
->desc
, w
->desc
);
938 return (c
> 0) ? 1 : -1;
942 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
943 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
948 PySwigPacked_dealloc(PySwigPacked
*self
)
954 SWIGRUNTIME PyTypeObject
*
955 PySwigPacked_type(void) {
956 static char pyswigpacked_type__doc__
[] =
957 "Swig object carries a C/C++ instance pointer";
958 static PyTypeObject pyswigpacked_type
959 #if !defined(__cplusplus)
961 static int type_init
= 0;
966 PyObject_HEAD_INIT(&PyType_Type
)
968 (char *)"PySwigPacked", /*tp_name*/
969 sizeof(PySwigPacked
), /*tp_basicsize*/
972 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
973 (printfunc
)PySwigPacked_print
, /*tp_print*/
974 (getattrfunc
)0, /*tp_getattr*/
975 (setattrfunc
)0, /*tp_setattr*/
976 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
977 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
979 0, /*tp_as_sequence*/
981 (hashfunc
)0, /*tp_hash*/
982 (ternaryfunc
)0, /*tp_call*/
983 (reprfunc
)PySwigPacked_str
, /*tp_str*/
984 /* Space for future expansion */
986 pyswigpacked_type__doc__
, /* Documentation string */
987 #if PY_VERSION_HEX >= 0x02000000
991 #if PY_VERSION_HEX >= 0x02010000
992 0, /* tp_richcompare */
993 0, /* tp_weaklistoffset */
995 #if PY_VERSION_HEX >= 0x02020000
996 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
998 #if PY_VERSION_HEX >= 0x02030000
1002 0,0,0,0 /* tp_alloc -> tp_next */
1005 #if !defined(__cplusplus)
1006 pyswigpacked_type
= tmp
;
1010 return &pyswigpacked_type
;
1013 SWIGRUNTIME PyObject
*
1014 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
1016 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1020 void *pack
= malloc(size
);
1022 memcpy(pack
, ptr
, size
);
1026 return (PyObject
*) self
;
1032 SWIGRUNTIMEINLINE
const char *
1033 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1035 PySwigPacked
*self
= (PySwigPacked
*)obj
;
1036 if (self
->size
!= size
) return 0;
1037 memcpy(ptr
, self
->pack
, size
);
1041 SWIGRUNTIMEINLINE
const char *
1042 PySwigPacked_GetDesc(PyObject
*self
)
1044 return ((PySwigPacked
*)self
)->desc
;
1047 SWIGRUNTIMEINLINE
int
1048 PySwigPacked_Check(PyObject
*op
) {
1049 return ((op
)->ob_type
== PySwigPacked_type())
1050 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1054 /* -----------------------------------------------------------------------------
1055 * Use the old Python PyCObject instead of PySwigObject
1056 * ----------------------------------------------------------------------------- */
1058 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1059 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1060 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1061 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1067 /* -----------------------------------------------------------------------------
1068 * errors manipulation
1069 * ----------------------------------------------------------------------------- */
1072 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1075 #if defined(SWIG_COBJECT_TYPES)
1076 if (obj
&& PySwigObject_Check(obj
)) {
1077 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1079 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1086 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1088 PyObject
*str
= PyObject_Str(obj
);
1089 const char *cstr
= str
? PyString_AsString(str
) : 0;
1091 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1094 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1101 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1103 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1107 SWIGRUNTIMEINLINE
void
1108 SWIG_Python_NullRef(const char *type
)
1111 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1113 PyErr_Format(PyExc_TypeError
, "null reference was received");
1118 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1120 if (PyErr_Occurred()) {
1122 PyObject
*value
= 0;
1123 PyObject
*traceback
= 0;
1124 PyErr_Fetch(&type
, &value
, &traceback
);
1126 PyObject
*old_str
= PyObject_Str(value
);
1130 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1132 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1143 SWIG_Python_ArgFail(int argnum
)
1145 if (PyErr_Occurred()) {
1146 /* add information about failing argument */
1148 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
1149 return SWIG_Python_AddErrMesg(mesg
, 1);
1156 /* -----------------------------------------------------------------------------
1157 * pointers/data manipulation
1158 * ----------------------------------------------------------------------------- */
1160 /* Convert a pointer value */
1162 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1165 static PyObject
*SWIG_this
= 0;
1167 PyObject
*pyobj
= 0;
1171 if (obj
== Py_None
) {
1176 #ifdef SWIG_COBJECT_TYPES
1177 if (!(PySwigObject_Check(obj
))) {
1179 SWIG_this
= PyString_FromString("this");
1181 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1183 if (!obj
) goto type_error
;
1184 if (!PySwigObject_Check(obj
)) {
1189 vptr
= PySwigObject_AsVoidPtr(obj
);
1190 c
= (const char *) PySwigObject_GetDesc(obj
);
1191 if (newref
) { Py_DECREF(obj
); }
1194 if (!(PyString_Check(obj
))) {
1196 SWIG_this
= PyString_FromString("this");
1198 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1200 if (!obj
) goto type_error
;
1201 if (!PyString_Check(obj
)) {
1206 c
= PyString_AsString(obj
);
1207 /* Pointer values must start with leading underscore */
1208 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1209 if (newref
) { Py_DECREF(obj
); }
1210 if (!c
) goto type_error
;
1215 tc
= SWIG_TypeCheck(c
,ty
);
1216 if (!tc
) goto type_error
;
1217 *ptr
= SWIG_TypeCast(tc
,vptr
);
1221 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1222 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1228 if (pyobj
&& !obj
) {
1230 if (PyCFunction_Check(obj
)) {
1231 /* here we get the method pointer for callbacks */
1232 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1233 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1235 c
= ty
? SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
) : 0;
1236 if (!c
) goto type_error
;
1241 if (flags
& SWIG_POINTER_EXCEPTION
) {
1243 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1245 SWIG_Python_TypeError("C/C++ pointer", obj
);
1251 /* Convert a pointer value, signal an exception on a type mismatch */
1253 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1255 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1257 if (flags
& SWIG_POINTER_EXCEPTION
) {
1258 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1259 SWIG_Python_ArgFail(argnum
);
1265 /* Convert a packed value value */
1267 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1271 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1272 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1274 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1275 c
= PyString_AsString(obj
);
1276 /* Pointer values must start with leading underscore */
1277 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1279 if (!c
) goto type_error
;
1281 tc
= SWIG_TypeCheck(c
,ty
);
1282 if (!tc
) goto type_error
;
1288 if (flags
& SWIG_POINTER_EXCEPTION
) {
1290 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1292 SWIG_Python_TypeError("C/C++ packed data", obj
);
1298 /* Create a new array object */
1299 SWIGRUNTIME PyObject
*
1300 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1303 if (!PyErr_Occurred()) {
1304 PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj");
1312 #ifdef SWIG_COBJECT_TYPES
1313 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1316 char result
[SWIG_BUFFER_SIZE
];
1317 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1318 PyString_FromString(result
) : 0;
1321 if (!robj
|| (robj
== Py_None
)) return robj
;
1322 if (type
->clientdata
) {
1324 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1326 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1330 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1338 SWIGRUNTIME PyObject
*
1339 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1345 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1346 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1349 char result
[SWIG_BUFFER_SIZE
];
1350 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1351 PyString_FromString(result
) : 0;
1357 /* -----------------------------------------------------------------------------*
1359 * -----------------------------------------------------------------------------*/
1361 #ifdef SWIG_LINK_RUNTIME
1362 void *SWIG_ReturnGlobalTypeList(void *);
1365 SWIGRUNTIME swig_module_info
*
1366 SWIG_Python_GetModule(void) {
1367 static void *type_pointer
= (void *)0;
1368 /* first check if module already created */
1369 if (!type_pointer
) {
1370 #ifdef SWIG_LINK_RUNTIME
1371 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1373 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1374 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1375 if (PyErr_Occurred()) {
1377 type_pointer
= (void *)0;
1381 return (swig_module_info
*) type_pointer
;
1384 #if PY_MAJOR_VERSION < 2
1385 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1386 is copied out of Python/modsupport.c in python version 2.3.4 */
1388 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
1391 if (!PyModule_Check(m
)) {
1392 PyErr_SetString(PyExc_TypeError
,
1393 "PyModule_AddObject() needs module as first arg");
1397 PyErr_SetString(PyExc_TypeError
,
1398 "PyModule_AddObject() needs non-NULL value");
1402 dict
= PyModule_GetDict(m
);
1404 /* Internal error -- modules must have a dict! */
1405 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
1406 PyModule_GetName(m
));
1409 if (PyDict_SetItemString(dict
, name
, o
))
1417 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
1418 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
1420 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1421 swig_empty_runtime_method_table
);
1422 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
);
1423 if (pointer
&& module) {
1424 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
1433 /* -------- TYPES TABLE (BEGIN) -------- */
1435 #define SWIGTYPE_p_char swig_types[0]
1436 #define SWIGTYPE_p_double swig_types[1]
1437 #define SWIGTYPE_p_form_ops_t swig_types[2]
1438 #define SWIGTYPE_p_int swig_types[3]
1439 #define SWIGTYPE_p_unsigned_char swig_types[4]
1440 #define SWIGTYPE_p_unsigned_int swig_types[5]
1441 #define SWIGTYPE_p_unsigned_long swig_types[6]
1442 #define SWIGTYPE_p_wxANIHandler swig_types[7]
1443 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
1444 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
1445 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
1446 #define SWIGTYPE_p_wxBitmap swig_types[11]
1447 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
1448 #define SWIGTYPE_p_wxBrush swig_types[13]
1449 #define SWIGTYPE_p_wxBrushList swig_types[14]
1450 #define SWIGTYPE_p_wxBufferedDC swig_types[15]
1451 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[16]
1452 #define SWIGTYPE_p_wxCURHandler swig_types[17]
1453 #define SWIGTYPE_p_wxChildFocusEvent swig_types[18]
1454 #define SWIGTYPE_p_wxClientDC swig_types[19]
1455 #define SWIGTYPE_p_wxCloseEvent swig_types[20]
1456 #define SWIGTYPE_p_wxColour swig_types[21]
1457 #define SWIGTYPE_p_wxColourDatabase swig_types[22]
1458 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
1459 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
1460 #define SWIGTYPE_p_wxControl swig_types[25]
1461 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
1462 #define SWIGTYPE_p_wxCursor swig_types[27]
1463 #define SWIGTYPE_p_wxDC swig_types[28]
1464 #define SWIGTYPE_p_wxDash swig_types[29]
1465 #define SWIGTYPE_p_wxDateEvent swig_types[30]
1466 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
1467 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
1468 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
1469 #define SWIGTYPE_p_wxEffects swig_types[34]
1470 #define SWIGTYPE_p_wxEncodingConverter swig_types[35]
1471 #define SWIGTYPE_p_wxEraseEvent swig_types[36]
1472 #define SWIGTYPE_p_wxEvent swig_types[37]
1473 #define SWIGTYPE_p_wxEvtHandler swig_types[38]
1474 #define SWIGTYPE_p_wxFSFile swig_types[39]
1475 #define SWIGTYPE_p_wxFileSystem swig_types[40]
1476 #define SWIGTYPE_p_wxFlexGridSizer swig_types[41]
1477 #define SWIGTYPE_p_wxFocusEvent swig_types[42]
1478 #define SWIGTYPE_p_wxFont swig_types[43]
1479 #define SWIGTYPE_p_wxFontList swig_types[44]
1480 #define SWIGTYPE_p_wxFontMapper swig_types[45]
1481 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
1482 #define SWIGTYPE_p_wxGDIObject swig_types[47]
1483 #define SWIGTYPE_p_wxGIFHandler swig_types[48]
1484 #define SWIGTYPE_p_wxGridBagSizer swig_types[49]
1485 #define SWIGTYPE_p_wxGridSizer swig_types[50]
1486 #define SWIGTYPE_p_wxICOHandler swig_types[51]
1487 #define SWIGTYPE_p_wxIcon swig_types[52]
1488 #define SWIGTYPE_p_wxIconBundle swig_types[53]
1489 #define SWIGTYPE_p_wxIconLocation swig_types[54]
1490 #define SWIGTYPE_p_wxIconizeEvent swig_types[55]
1491 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
1492 #define SWIGTYPE_p_wxImage swig_types[57]
1493 #define SWIGTYPE_p_wxImageHandler swig_types[58]
1494 #define SWIGTYPE_p_wxImageList swig_types[59]
1495 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
1496 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
1497 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
1498 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
1499 #define SWIGTYPE_p_wxLanguageInfo swig_types[64]
1500 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
1501 #define SWIGTYPE_p_wxLocale swig_types[66]
1502 #define SWIGTYPE_p_wxMask swig_types[67]
1503 #define SWIGTYPE_p_wxMaximizeEvent swig_types[68]
1504 #define SWIGTYPE_p_wxMemoryDC swig_types[69]
1505 #define SWIGTYPE_p_wxMenu swig_types[70]
1506 #define SWIGTYPE_p_wxMenuBar swig_types[71]
1507 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
1508 #define SWIGTYPE_p_wxMenuItem swig_types[73]
1509 #define SWIGTYPE_p_wxMetaFile swig_types[74]
1510 #define SWIGTYPE_p_wxMetaFileDC swig_types[75]
1511 #define SWIGTYPE_p_wxMirrorDC swig_types[76]
1512 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[77]
1513 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
1514 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
1515 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[80]
1516 #define SWIGTYPE_p_wxNativeFontInfo swig_types[81]
1517 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[82]
1518 #define SWIGTYPE_p_wxNcPaintEvent swig_types[83]
1519 #define SWIGTYPE_p_wxNotifyEvent swig_types[84]
1520 #define SWIGTYPE_p_wxObject swig_types[85]
1521 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
1522 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
1523 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
1524 #define SWIGTYPE_p_wxPaintDC swig_types[89]
1525 #define SWIGTYPE_p_wxPaintEvent swig_types[90]
1526 #define SWIGTYPE_p_wxPalette swig_types[91]
1527 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
1528 #define SWIGTYPE_p_wxPaperSize swig_types[93]
1529 #define SWIGTYPE_p_wxPen swig_types[94]
1530 #define SWIGTYPE_p_wxPenList swig_types[95]
1531 #define SWIGTYPE_p_wxPoint swig_types[96]
1532 #define SWIGTYPE_p_wxPostScriptDC swig_types[97]
1533 #define SWIGTYPE_p_wxPrintData swig_types[98]
1534 #define SWIGTYPE_p_wxPrinterDC swig_types[99]
1535 #define SWIGTYPE_p_wxPyApp swig_types[100]
1536 #define SWIGTYPE_p_wxPyCommandEvent swig_types[101]
1537 #define SWIGTYPE_p_wxPyEvent swig_types[102]
1538 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[103]
1539 #define SWIGTYPE_p_wxPyImageHandler swig_types[104]
1540 #define SWIGTYPE_p_wxPySizer swig_types[105]
1541 #define SWIGTYPE_p_wxPyValidator swig_types[106]
1542 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[107]
1543 #define SWIGTYPE_p_wxRect swig_types[108]
1544 #define SWIGTYPE_p_wxRegion swig_types[109]
1545 #define SWIGTYPE_p_wxRegionIterator swig_types[110]
1546 #define SWIGTYPE_p_wxRendererNative swig_types[111]
1547 #define SWIGTYPE_p_wxRendererVersion swig_types[112]
1548 #define SWIGTYPE_p_wxScreenDC swig_types[113]
1549 #define SWIGTYPE_p_wxScrollEvent swig_types[114]
1550 #define SWIGTYPE_p_wxScrollWinEvent swig_types[115]
1551 #define SWIGTYPE_p_wxSetCursorEvent swig_types[116]
1552 #define SWIGTYPE_p_wxShowEvent swig_types[117]
1553 #define SWIGTYPE_p_wxSize swig_types[118]
1554 #define SWIGTYPE_p_wxSizeEvent swig_types[119]
1555 #define SWIGTYPE_p_wxSizer swig_types[120]
1556 #define SWIGTYPE_p_wxSizerItem swig_types[121]
1557 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[122]
1558 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[123]
1559 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[124]
1560 #define SWIGTYPE_p_wxString swig_types[125]
1561 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[126]
1562 #define SWIGTYPE_p_wxTIFFHandler swig_types[127]
1563 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[128]
1564 #define SWIGTYPE_p_wxValidator swig_types[129]
1565 #define SWIGTYPE_p_wxWindow swig_types[130]
1566 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[131]
1567 #define SWIGTYPE_p_wxWindowDC swig_types[132]
1568 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[133]
1569 #define SWIGTYPE_p_wxXPMHandler swig_types[134]
1570 #define SWIGTYPE_ptrdiff_t swig_types[135]
1571 #define SWIGTYPE_std__ptrdiff_t swig_types[136]
1572 #define SWIGTYPE_unsigned_int swig_types[137]
1573 static swig_type_info
*swig_types
[139];
1574 static swig_module_info swig_module
= {swig_types
, 138, 0, 0, 0, 0};
1575 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1576 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1578 /* -------- TYPES TABLE (END) -------- */
1581 /*-----------------------------------------------
1582 @(target):= _gdi_.so
1583 ------------------------------------------------*/
1584 #define SWIG_init init_gdi_
1586 #define SWIG_name "_gdi_"
1588 #include "wx/wxPython/wxPython.h"
1589 #include "wx/wxPython/pyclasses.h"
1592 static const wxString
wxPyEmptyString(wxEmptyString
);
1598 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1601 if (value
< min_value
) {
1603 PyErr_Format(PyExc_OverflowError
,
1604 "value %ld is less than '%s' minimum %ld",
1605 value
, errmsg
, min_value
);
1608 } else if (value
> max_value
) {
1610 PyErr_Format(PyExc_OverflowError
,
1611 "value %ld is greater than '%s' maximum %ld",
1612 value
, errmsg
, max_value
);
1621 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1623 if (PyNumber_Check(obj
)) {
1624 if (val
) *val
= PyInt_AsLong(obj
);
1628 SWIG_Python_TypeError("number", obj
);
1634 #if INT_MAX != LONG_MAX
1636 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1638 const char* errmsg
= val
? "int" : (char*)0;
1640 if (SWIG_AsVal_long(obj
, &v
)) {
1641 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1642 if (val
) *val
= static_cast<int >(v
);
1651 SWIG_type_error(errmsg
, obj
);
1656 SWIGINTERNINLINE
int
1657 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1659 return SWIG_AsVal_long(obj
,(long*)val
);
1665 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1667 if (obj
== Py_True
) {
1668 if (val
) *val
= true;
1671 if (obj
== Py_False
) {
1672 if (val
) *val
= false;
1676 if (SWIG_AsVal_int(obj
, &res
)) {
1677 if (val
) *val
= res
? true : false;
1683 SWIG_type_error("bool", obj
);
1689 SWIGINTERNINLINE
bool
1690 SWIG_As_bool(PyObject
* obj
)
1693 if (!SWIG_AsVal_bool(obj
, &v
)) {
1695 this is needed to make valgrind/purify happier.
1697 memset((void*)&v
, 0, sizeof(bool));
1703 SWIGINTERNINLINE
int
1704 SWIG_Check_bool(PyObject
* obj
)
1706 return SWIG_AsVal_bool(obj
, (bool*)0);
1711 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1714 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1715 SWIG_Python_TypeError("unsigned number", obj
);
1718 *val
= (unsigned long)v
;
1723 SWIGINTERNINLINE
int
1724 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1725 unsigned long max_value
,
1728 if (value
> max_value
) {
1730 PyErr_Format(PyExc_OverflowError
,
1731 "value %lu is greater than '%s' minimum %lu",
1732 value
, errmsg
, max_value
);
1741 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
1743 const char* errmsg
= val
? "unsigned char" : (char*)0;
1745 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1746 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
1747 if (val
) *val
= static_cast<unsigned char >(v
);
1756 SWIG_type_error(errmsg
, obj
);
1762 SWIGINTERNINLINE
unsigned char
1763 SWIG_As_unsigned_SS_char(PyObject
* obj
)
1766 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
1768 this is needed to make valgrind/purify happier.
1770 memset((void*)&v
, 0, sizeof(unsigned char));
1776 SWIGINTERNINLINE
int
1777 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
1779 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
1783 SWIGINTERNINLINE
unsigned long
1784 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1787 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1789 this is needed to make valgrind/purify happier.
1791 memset((void*)&v
, 0, sizeof(unsigned long));
1797 SWIGINTERNINLINE
int
1798 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1800 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1804 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1805 #define SWIG_From_unsigned_SS_char PyInt_FromLong
1809 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1810 #define SWIG_From_long PyInt_FromLong
1813 static PyObject
*wxColour_Get(wxColour
*self
){
1814 PyObject
* rv
= PyTuple_New(3);
1820 green
= self
->Green();
1821 blue
= self
->Blue();
1823 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
1824 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
1825 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
1828 static unsigned long wxColour_GetRGB(wxColour
*self
){
1829 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
1832 SWIGINTERNINLINE PyObject
*
1833 SWIG_From_unsigned_SS_long(unsigned long value
)
1835 return (value
> LONG_MAX
) ?
1836 PyLong_FromUnsignedLong(value
)
1837 : PyInt_FromLong(static_cast<long >(value
));
1841 SWIGINTERNINLINE
int
1842 SWIG_As_int(PyObject
* obj
)
1845 if (!SWIG_AsVal_int(obj
, &v
)) {
1847 this is needed to make valgrind/purify happier.
1849 memset((void*)&v
, 0, sizeof(int));
1855 SWIGINTERNINLINE
int
1856 SWIG_Check_int(PyObject
* obj
)
1858 return SWIG_AsVal_int(obj
, (int*)0);
1862 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1863 #define SWIG_From_int PyInt_FromLong
1867 static PyObject
* t_output_helper(PyObject
* result
, PyObject
* obj
)
1873 } else if (result
== Py_None
) {
1877 if (!PyTuple_Check(result
)) {
1879 result
= PyTuple_New(1);
1880 PyTuple_SET_ITEM(result
, 0, o2
);
1882 o3
= PyTuple_New(1);
1883 PyTuple_SetItem(o3
, 0, obj
);
1885 result
= PySequence_Concat(o2
, o3
);
1893 static PyObject
*wxPen_GetDashes(wxPen
*self
){
1895 int count
= self
->GetDashes(&dashes
);
1896 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1897 PyObject
* retval
= PyList_New(0);
1898 for (int x
=0; x
<count
; x
++) {
1899 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
1900 PyList_Append(retval
, pyint
);
1903 wxPyEndBlockThreads(blocked
);
1906 static void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
1907 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1908 int size
= PyList_Size(pyDashes
);
1909 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
1911 // black magic warning! The array of wxDashes needs to exist as
1912 // long as the pen does because wxPen does not copy the array. So
1913 // stick a copy in a Python string object and attach it to _self,
1914 // and then call SetDashes with a pointer to that array. Then
1915 // when the Python pen object is destroyed the array will be
1917 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
1918 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
1920 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
1922 Py_DECREF(strDashes
);
1923 wxPyEndBlockThreads(blocked
);
1925 static bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
1926 static bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
1928 #include <wx/image.h>
1930 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
1931 char** cArray
= NULL
;
1934 if (!PyList_Check(listOfStrings
)) {
1935 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
1938 count
= PyList_Size(listOfStrings
);
1939 cArray
= new char*[count
];
1941 for(int x
=0; x
<count
; x
++) {
1942 // TODO: Need some validation and error checking here
1943 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
1949 static wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
1950 char** cArray
= NULL
;
1953 cArray
= ConvertListOfStrings(listOfStrings
);
1956 bmp
= new wxBitmap(cArray
);
1960 static wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
1963 PyString_AsStringAndSize(bits
, &buf
, &length
);
1964 return new wxBitmap(buf
, width
, height
, depth
);
1966 static wxSize
wxBitmap_GetSize(wxBitmap
*self
){
1967 wxSize
size(self
->GetWidth(), self
->GetHeight());
1970 static void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
1971 wxMask
*mask
= new wxMask(*self
, colour
);
1972 self
->SetMask(mask
);
1974 static void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
1975 self
->SetWidth(size
.x
);
1976 self
->SetHeight(size
.y
);
1978 static bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
1979 static bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
1980 static wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
1982 return new wxMask(bitmap
, *wxBLACK
);
1984 return new wxMask(bitmap
, colour
);
1987 #include <wx/iconbndl.h>
1989 static wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
1990 wxIcon
* icon
= new wxIcon();
1991 icon
->CopyFromBitmap(bmp
);
1994 static wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
1995 char** cArray
= NULL
;
1998 cArray
= ConvertListOfStrings(listOfStrings
);
2001 icon
= new wxIcon(cArray
);
2005 static wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
2009 return new wxIconLocation(*filename
);
2012 static void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
2019 static int wxIconLocation_GetIndex(wxIconLocation
*self
){
2027 SWIGINTERNINLINE
long
2028 SWIG_As_long(PyObject
* obj
)
2031 if (!SWIG_AsVal_long(obj
, &v
)) {
2033 this is needed to make valgrind/purify happier.
2035 memset((void*)&v
, 0, sizeof(long));
2041 SWIGINTERNINLINE
int
2042 SWIG_Check_long(PyObject
* obj
)
2044 return SWIG_AsVal_long(obj
, (long*)0);
2047 static wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
2049 wxImage
img(cursorName
, type
);
2050 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
2051 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
2052 return new wxCursor(img
);
2054 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
2059 static void wxRegionIterator_Next(wxRegionIterator
*self
){
2062 static bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
2063 return self
->operator bool();
2066 #include <wx/fontutil.h>
2067 #include <wx/fontmap.h>
2068 #include <wx/fontenum.h>
2070 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
2071 return self
->ToString();
2074 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
2075 static wxNativeEncodingInfo info
;
2076 if ( wxGetNativeFontEncoding(encoding
, &info
) )
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 /*@/opt/swig/share/swig/1.3.27/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 class wxMetaFile
: public wxObject
{
2287 wxMetaFile(const wxString
&)
2288 { wxPyRaiseNotImplemented(); }
2291 class wxMetaFileDC
: public wxClientDC
{
2293 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
2294 { wxPyRaiseNotImplemented(); }
2299 class wxPrinterDC
: public wxClientDC
{
2301 wxPrinterDC(const wxPrintData
&)
2302 { wxPyRaiseNotImplemented(); }
2308 static void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
2309 self
->AddColour(name
, wxColour(red
, green
, blue
));
2312 #include <wx/effects.h>
2315 #include "wx/renderer.h"
2318 SWIGINTERNINLINE PyObject
*
2319 SWIG_From_bool(bool value
)
2321 PyObject
*obj
= value
? Py_True
: Py_False
;
2329 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2330 PyObject
*resultobj
= NULL
;
2331 wxGDIObject
*result
;
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
2338 if (!wxPyCheckForApp()) SWIG_fail
;
2339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2340 result
= (wxGDIObject
*)new wxGDIObject();
2342 wxPyEndAllowThreads(__tstate
);
2343 if (PyErr_Occurred()) SWIG_fail
;
2345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
2352 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2353 PyObject
*resultobj
= NULL
;
2354 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2355 PyObject
* obj0
= 0 ;
2357 (char *) "self", NULL
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
2361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2362 if (SWIG_arg_fail(1)) SWIG_fail
;
2364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2367 wxPyEndAllowThreads(__tstate
);
2368 if (PyErr_Occurred()) SWIG_fail
;
2370 Py_INCREF(Py_None
); resultobj
= Py_None
;
2377 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2378 PyObject
*resultobj
= NULL
;
2379 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2381 PyObject
* obj0
= 0 ;
2383 (char *) "self", NULL
2386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
2387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2388 if (SWIG_arg_fail(1)) SWIG_fail
;
2390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2391 result
= (bool)(arg1
)->GetVisible();
2393 wxPyEndAllowThreads(__tstate
);
2394 if (PyErr_Occurred()) SWIG_fail
;
2397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2405 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2406 PyObject
*resultobj
= NULL
;
2407 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2409 PyObject
* obj0
= 0 ;
2410 PyObject
* obj1
= 0 ;
2412 (char *) "self",(char *) "visible", NULL
2415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
2416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2417 if (SWIG_arg_fail(1)) SWIG_fail
;
2419 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
2420 if (SWIG_arg_fail(2)) SWIG_fail
;
2423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2424 (arg1
)->SetVisible(arg2
);
2426 wxPyEndAllowThreads(__tstate
);
2427 if (PyErr_Occurred()) SWIG_fail
;
2429 Py_INCREF(Py_None
); resultobj
= Py_None
;
2436 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
*resultobj
= NULL
;
2438 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
2440 PyObject
* obj0
= 0 ;
2442 (char *) "self", NULL
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
2446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_EXCEPTION
| 0);
2447 if (SWIG_arg_fail(1)) SWIG_fail
;
2449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2450 result
= (bool)(arg1
)->IsNull();
2452 wxPyEndAllowThreads(__tstate
);
2453 if (PyErr_Occurred()) SWIG_fail
;
2456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2464 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
2466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2467 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
2469 return Py_BuildValue((char *)"");
2471 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2472 PyObject
*resultobj
= NULL
;
2473 byte arg1
= (byte
) 0 ;
2474 byte arg2
= (byte
) 0 ;
2475 byte arg3
= (byte
) 0 ;
2477 PyObject
* obj0
= 0 ;
2478 PyObject
* obj1
= 0 ;
2479 PyObject
* obj2
= 0 ;
2481 (char *) "red",(char *) "green",(char *) "blue", NULL
2484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2487 arg1
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj0
));
2488 if (SWIG_arg_fail(1)) SWIG_fail
;
2493 arg2
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj1
));
2494 if (SWIG_arg_fail(2)) SWIG_fail
;
2499 arg3
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj2
));
2500 if (SWIG_arg_fail(3)) SWIG_fail
;
2504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2505 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
2507 wxPyEndAllowThreads(__tstate
);
2508 if (PyErr_Occurred()) SWIG_fail
;
2510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2517 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2518 PyObject
*resultobj
= NULL
;
2519 wxString
*arg1
= 0 ;
2521 bool temp1
= false ;
2522 PyObject
* obj0
= 0 ;
2524 (char *) "colorName", NULL
2527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
2529 arg1
= wxString_in_helper(obj0
);
2530 if (arg1
== NULL
) SWIG_fail
;
2534 if (!wxPyCheckForApp()) SWIG_fail
;
2535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2536 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
2538 wxPyEndAllowThreads(__tstate
);
2539 if (PyErr_Occurred()) SWIG_fail
;
2541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2556 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
*resultobj
= NULL
;
2558 unsigned long arg1
;
2560 PyObject
* obj0
= 0 ;
2562 (char *) "colRGB", NULL
2565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
2567 arg1
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0
));
2568 if (SWIG_arg_fail(1)) SWIG_fail
;
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 result
= (wxColour
*)new wxColour(arg1
);
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
2584 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
*resultobj
= NULL
;
2586 wxColour
*arg1
= (wxColour
*) 0 ;
2587 PyObject
* obj0
= 0 ;
2589 (char *) "self", NULL
2592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
2593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2594 if (SWIG_arg_fail(1)) SWIG_fail
;
2596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2599 wxPyEndAllowThreads(__tstate
);
2600 if (PyErr_Occurred()) SWIG_fail
;
2602 Py_INCREF(Py_None
); resultobj
= Py_None
;
2609 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
*resultobj
= NULL
;
2611 wxColour
*arg1
= (wxColour
*) 0 ;
2613 PyObject
* obj0
= 0 ;
2615 (char *) "self", NULL
2618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
2619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2620 if (SWIG_arg_fail(1)) SWIG_fail
;
2622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2623 result
= (byte
)(arg1
)->Red();
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) SWIG_fail
;
2629 resultobj
= SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result
));
2637 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
*resultobj
= NULL
;
2639 wxColour
*arg1
= (wxColour
*) 0 ;
2641 PyObject
* obj0
= 0 ;
2643 (char *) "self", NULL
2646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
2647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2648 if (SWIG_arg_fail(1)) SWIG_fail
;
2650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2651 result
= (byte
)(arg1
)->Green();
2653 wxPyEndAllowThreads(__tstate
);
2654 if (PyErr_Occurred()) SWIG_fail
;
2657 resultobj
= SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result
));
2665 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
*resultobj
= NULL
;
2667 wxColour
*arg1
= (wxColour
*) 0 ;
2669 PyObject
* obj0
= 0 ;
2671 (char *) "self", NULL
2674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
2675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2676 if (SWIG_arg_fail(1)) SWIG_fail
;
2678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2679 result
= (byte
)(arg1
)->Blue();
2681 wxPyEndAllowThreads(__tstate
);
2682 if (PyErr_Occurred()) SWIG_fail
;
2685 resultobj
= SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result
));
2693 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2694 PyObject
*resultobj
= NULL
;
2695 wxColour
*arg1
= (wxColour
*) 0 ;
2697 PyObject
* obj0
= 0 ;
2699 (char *) "self", NULL
2702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
2703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2704 if (SWIG_arg_fail(1)) SWIG_fail
;
2706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2707 result
= (bool)(arg1
)->Ok();
2709 wxPyEndAllowThreads(__tstate
);
2710 if (PyErr_Occurred()) SWIG_fail
;
2713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2721 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2722 PyObject
*resultobj
= NULL
;
2723 wxColour
*arg1
= (wxColour
*) 0 ;
2727 PyObject
* obj0
= 0 ;
2728 PyObject
* obj1
= 0 ;
2729 PyObject
* obj2
= 0 ;
2730 PyObject
* obj3
= 0 ;
2732 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2737 if (SWIG_arg_fail(1)) SWIG_fail
;
2739 arg2
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj1
));
2740 if (SWIG_arg_fail(2)) SWIG_fail
;
2743 arg3
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj2
));
2744 if (SWIG_arg_fail(3)) SWIG_fail
;
2747 arg4
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj3
));
2748 if (SWIG_arg_fail(4)) SWIG_fail
;
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 (arg1
)->Set(arg2
,arg3
,arg4
);
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) SWIG_fail
;
2757 Py_INCREF(Py_None
); resultobj
= Py_None
;
2764 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
*resultobj
= NULL
;
2766 wxColour
*arg1
= (wxColour
*) 0 ;
2767 unsigned long arg2
;
2768 PyObject
* obj0
= 0 ;
2769 PyObject
* obj1
= 0 ;
2771 (char *) "self",(char *) "colRGB", NULL
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
2775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2776 if (SWIG_arg_fail(1)) SWIG_fail
;
2778 arg2
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1
));
2779 if (SWIG_arg_fail(2)) SWIG_fail
;
2782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2785 wxPyEndAllowThreads(__tstate
);
2786 if (PyErr_Occurred()) SWIG_fail
;
2788 Py_INCREF(Py_None
); resultobj
= Py_None
;
2795 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
*resultobj
= NULL
;
2797 wxColour
*arg1
= (wxColour
*) 0 ;
2798 wxString
*arg2
= 0 ;
2799 bool temp2
= false ;
2800 PyObject
* obj0
= 0 ;
2801 PyObject
* obj1
= 0 ;
2803 (char *) "self",(char *) "colourName", NULL
2806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
2807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2808 if (SWIG_arg_fail(1)) SWIG_fail
;
2810 arg2
= wxString_in_helper(obj1
);
2811 if (arg2
== NULL
) SWIG_fail
;
2815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 (arg1
)->InitFromName((wxString
const &)*arg2
);
2818 wxPyEndAllowThreads(__tstate
);
2819 if (PyErr_Occurred()) SWIG_fail
;
2821 Py_INCREF(Py_None
); resultobj
= Py_None
;
2836 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2837 PyObject
*resultobj
= NULL
;
2838 wxColour
*arg1
= (wxColour
*) 0 ;
2840 PyObject
* obj0
= 0 ;
2842 (char *) "self", NULL
2845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
2846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2847 if (SWIG_arg_fail(1)) SWIG_fail
;
2849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2850 result
= (long)((wxColour
const *)arg1
)->GetPixel();
2852 wxPyEndAllowThreads(__tstate
);
2853 if (PyErr_Occurred()) SWIG_fail
;
2856 resultobj
= SWIG_From_long(static_cast<long >(result
));
2864 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
*resultobj
= NULL
;
2866 wxColour
*arg1
= (wxColour
*) 0 ;
2867 wxColour
*arg2
= 0 ;
2870 PyObject
* obj0
= 0 ;
2871 PyObject
* obj1
= 0 ;
2873 (char *) "self",(char *) "colour", NULL
2876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2878 if (SWIG_arg_fail(1)) SWIG_fail
;
2881 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2885 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
2887 wxPyEndAllowThreads(__tstate
);
2888 if (PyErr_Occurred()) SWIG_fail
;
2891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2899 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2900 PyObject
*resultobj
= NULL
;
2901 wxColour
*arg1
= (wxColour
*) 0 ;
2902 wxColour
*arg2
= 0 ;
2905 PyObject
* obj0
= 0 ;
2906 PyObject
* obj1
= 0 ;
2908 (char *) "self",(char *) "colour", NULL
2911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2913 if (SWIG_arg_fail(1)) SWIG_fail
;
2916 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2920 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
2922 wxPyEndAllowThreads(__tstate
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2934 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
*resultobj
= NULL
;
2936 wxColour
*arg1
= (wxColour
*) 0 ;
2938 PyObject
* obj0
= 0 ;
2940 (char *) "self", NULL
2943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
2944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2945 if (SWIG_arg_fail(1)) SWIG_fail
;
2947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2948 result
= (PyObject
*)wxColour_Get(arg1
);
2950 wxPyEndAllowThreads(__tstate
);
2951 if (PyErr_Occurred()) SWIG_fail
;
2960 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2961 PyObject
*resultobj
= NULL
;
2962 wxColour
*arg1
= (wxColour
*) 0 ;
2963 unsigned long result
;
2964 PyObject
* obj0
= 0 ;
2966 (char *) "self", NULL
2969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
2970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
2971 if (SWIG_arg_fail(1)) SWIG_fail
;
2973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2974 result
= (unsigned long)wxColour_GetRGB(arg1
);
2976 wxPyEndAllowThreads(__tstate
);
2977 if (PyErr_Occurred()) SWIG_fail
;
2980 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
2988 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
2990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2991 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
2993 return Py_BuildValue((char *)"");
2995 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2996 PyObject
*resultobj
= NULL
;
2998 unsigned char *arg2
= (unsigned char *) 0 ;
2999 unsigned char *arg3
= (unsigned char *) 0 ;
3000 unsigned char *arg4
= (unsigned char *) 0 ;
3002 PyObject
* obj0
= 0 ;
3003 PyObject
* obj1
= 0 ;
3004 PyObject
* obj2
= 0 ;
3005 PyObject
* obj3
= 0 ;
3007 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3012 arg1
= static_cast<int >(SWIG_As_int(obj0
));
3013 if (SWIG_arg_fail(1)) SWIG_fail
;
3015 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
3016 if (SWIG_arg_fail(2)) SWIG_fail
;
3017 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
3018 if (SWIG_arg_fail(3)) SWIG_fail
;
3019 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
3020 if (SWIG_arg_fail(4)) SWIG_fail
;
3022 if (!wxPyCheckForApp()) SWIG_fail
;
3023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3024 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
3026 wxPyEndAllowThreads(__tstate
);
3027 if (PyErr_Occurred()) SWIG_fail
;
3029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
3036 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
*resultobj
= NULL
;
3038 wxPalette
*arg1
= (wxPalette
*) 0 ;
3039 PyObject
* obj0
= 0 ;
3041 (char *) "self", NULL
3044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
3045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3046 if (SWIG_arg_fail(1)) SWIG_fail
;
3048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3051 wxPyEndAllowThreads(__tstate
);
3052 if (PyErr_Occurred()) SWIG_fail
;
3054 Py_INCREF(Py_None
); resultobj
= Py_None
;
3061 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
*resultobj
= NULL
;
3063 wxPalette
*arg1
= (wxPalette
*) 0 ;
3068 PyObject
* obj0
= 0 ;
3069 PyObject
* obj1
= 0 ;
3070 PyObject
* obj2
= 0 ;
3071 PyObject
* obj3
= 0 ;
3073 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
3076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3078 if (SWIG_arg_fail(1)) SWIG_fail
;
3080 arg2
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj1
));
3081 if (SWIG_arg_fail(2)) SWIG_fail
;
3084 arg3
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj2
));
3085 if (SWIG_arg_fail(3)) SWIG_fail
;
3088 arg4
= static_cast<byte
>(SWIG_As_unsigned_SS_char(obj3
));
3089 if (SWIG_arg_fail(4)) SWIG_fail
;
3092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3093 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
3095 wxPyEndAllowThreads(__tstate
);
3096 if (PyErr_Occurred()) SWIG_fail
;
3099 resultobj
= SWIG_From_int(static_cast<int >(result
));
3107 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
*resultobj
= NULL
;
3109 wxPalette
*arg1
= (wxPalette
*) 0 ;
3111 byte
*arg3
= (byte
*) 0 ;
3112 byte
*arg4
= (byte
*) 0 ;
3113 byte
*arg5
= (byte
*) 0 ;
3121 PyObject
* obj0
= 0 ;
3122 PyObject
* obj1
= 0 ;
3124 (char *) "self",(char *) "pixel", NULL
3127 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3128 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3129 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
3131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3132 if (SWIG_arg_fail(1)) SWIG_fail
;
3134 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3135 if (SWIG_arg_fail(2)) SWIG_fail
;
3138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3139 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
3141 wxPyEndAllowThreads(__tstate
);
3142 if (PyErr_Occurred()) SWIG_fail
;
3145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3147 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3148 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
3149 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3150 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
3151 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3152 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, 0)));
3159 static PyObject
*_wrap_Palette_GetColoursCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
*resultobj
= NULL
;
3161 wxPalette
*arg1
= (wxPalette
*) 0 ;
3163 PyObject
* obj0
= 0 ;
3165 (char *) "self", NULL
3168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_GetColoursCount",kwnames
,&obj0
)) goto fail
;
3169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3170 if (SWIG_arg_fail(1)) SWIG_fail
;
3172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3173 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
3175 wxPyEndAllowThreads(__tstate
);
3176 if (PyErr_Occurred()) SWIG_fail
;
3179 resultobj
= SWIG_From_int(static_cast<int >(result
));
3187 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3188 PyObject
*resultobj
= NULL
;
3189 wxPalette
*arg1
= (wxPalette
*) 0 ;
3191 PyObject
* obj0
= 0 ;
3193 (char *) "self", NULL
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
3197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
3198 if (SWIG_arg_fail(1)) SWIG_fail
;
3200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3201 result
= (bool)(arg1
)->Ok();
3203 wxPyEndAllowThreads(__tstate
);
3204 if (PyErr_Occurred()) SWIG_fail
;
3207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3215 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
3217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3218 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
3220 return Py_BuildValue((char *)"");
3222 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3223 PyObject
*resultobj
= NULL
;
3224 wxColour
*arg1
= 0 ;
3225 int arg2
= (int) 1 ;
3226 int arg3
= (int) wxSOLID
;
3229 PyObject
* obj0
= 0 ;
3230 PyObject
* obj1
= 0 ;
3231 PyObject
* obj2
= 0 ;
3233 (char *) "colour",(char *) "width",(char *) "style", NULL
3236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3239 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3243 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3244 if (SWIG_arg_fail(2)) SWIG_fail
;
3249 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3250 if (SWIG_arg_fail(3)) SWIG_fail
;
3254 if (!wxPyCheckForApp()) SWIG_fail
;
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) SWIG_fail
;
3261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
3268 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3269 PyObject
*resultobj
= NULL
;
3270 wxPen
*arg1
= (wxPen
*) 0 ;
3271 PyObject
* obj0
= 0 ;
3273 (char *) "self", NULL
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
3277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3278 if (SWIG_arg_fail(1)) SWIG_fail
;
3280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3283 wxPyEndAllowThreads(__tstate
);
3284 if (PyErr_Occurred()) SWIG_fail
;
3286 Py_INCREF(Py_None
); resultobj
= Py_None
;
3293 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3294 PyObject
*resultobj
= NULL
;
3295 wxPen
*arg1
= (wxPen
*) 0 ;
3297 PyObject
* obj0
= 0 ;
3299 (char *) "self", NULL
3302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
3303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3304 if (SWIG_arg_fail(1)) SWIG_fail
;
3306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3307 result
= (int)(arg1
)->GetCap();
3309 wxPyEndAllowThreads(__tstate
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3313 resultobj
= SWIG_From_int(static_cast<int >(result
));
3321 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3322 PyObject
*resultobj
= NULL
;
3323 wxPen
*arg1
= (wxPen
*) 0 ;
3325 PyObject
* obj0
= 0 ;
3327 (char *) "self", NULL
3330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
3331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3332 if (SWIG_arg_fail(1)) SWIG_fail
;
3334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3335 result
= (arg1
)->GetColour();
3337 wxPyEndAllowThreads(__tstate
);
3338 if (PyErr_Occurred()) SWIG_fail
;
3341 wxColour
* resultptr
;
3342 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
3343 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3351 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3352 PyObject
*resultobj
= NULL
;
3353 wxPen
*arg1
= (wxPen
*) 0 ;
3355 PyObject
* obj0
= 0 ;
3357 (char *) "self", NULL
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
3361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3362 if (SWIG_arg_fail(1)) SWIG_fail
;
3364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3365 result
= (int)(arg1
)->GetJoin();
3367 wxPyEndAllowThreads(__tstate
);
3368 if (PyErr_Occurred()) SWIG_fail
;
3371 resultobj
= SWIG_From_int(static_cast<int >(result
));
3379 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
*resultobj
= NULL
;
3381 wxPen
*arg1
= (wxPen
*) 0 ;
3383 PyObject
* obj0
= 0 ;
3385 (char *) "self", NULL
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
3389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3390 if (SWIG_arg_fail(1)) SWIG_fail
;
3392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3393 result
= (int)(arg1
)->GetStyle();
3395 wxPyEndAllowThreads(__tstate
);
3396 if (PyErr_Occurred()) SWIG_fail
;
3399 resultobj
= SWIG_From_int(static_cast<int >(result
));
3407 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
*resultobj
= NULL
;
3409 wxPen
*arg1
= (wxPen
*) 0 ;
3411 PyObject
* obj0
= 0 ;
3413 (char *) "self", NULL
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
3417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3418 if (SWIG_arg_fail(1)) SWIG_fail
;
3420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3421 result
= (int)(arg1
)->GetWidth();
3423 wxPyEndAllowThreads(__tstate
);
3424 if (PyErr_Occurred()) SWIG_fail
;
3427 resultobj
= SWIG_From_int(static_cast<int >(result
));
3435 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3436 PyObject
*resultobj
= NULL
;
3437 wxPen
*arg1
= (wxPen
*) 0 ;
3439 PyObject
* obj0
= 0 ;
3441 (char *) "self", NULL
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
3445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3446 if (SWIG_arg_fail(1)) SWIG_fail
;
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 result
= (bool)(arg1
)->Ok();
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3463 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3464 PyObject
*resultobj
= NULL
;
3465 wxPen
*arg1
= (wxPen
*) 0 ;
3467 PyObject
* obj0
= 0 ;
3468 PyObject
* obj1
= 0 ;
3470 (char *) "self",(char *) "cap_style", NULL
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
3474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3475 if (SWIG_arg_fail(1)) SWIG_fail
;
3477 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3478 if (SWIG_arg_fail(2)) SWIG_fail
;
3481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3482 (arg1
)->SetCap(arg2
);
3484 wxPyEndAllowThreads(__tstate
);
3485 if (PyErr_Occurred()) SWIG_fail
;
3487 Py_INCREF(Py_None
); resultobj
= Py_None
;
3494 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3495 PyObject
*resultobj
= NULL
;
3496 wxPen
*arg1
= (wxPen
*) 0 ;
3497 wxColour
*arg2
= 0 ;
3499 PyObject
* obj0
= 0 ;
3500 PyObject
* obj1
= 0 ;
3502 (char *) "self",(char *) "colour", NULL
3505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3507 if (SWIG_arg_fail(1)) SWIG_fail
;
3510 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3514 (arg1
)->SetColour(*arg2
);
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3519 Py_INCREF(Py_None
); resultobj
= Py_None
;
3526 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3527 PyObject
*resultobj
= NULL
;
3528 wxPen
*arg1
= (wxPen
*) 0 ;
3530 PyObject
* obj0
= 0 ;
3531 PyObject
* obj1
= 0 ;
3533 (char *) "self",(char *) "join_style", NULL
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
3537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3538 if (SWIG_arg_fail(1)) SWIG_fail
;
3540 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3541 if (SWIG_arg_fail(2)) SWIG_fail
;
3544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3545 (arg1
)->SetJoin(arg2
);
3547 wxPyEndAllowThreads(__tstate
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3550 Py_INCREF(Py_None
); resultobj
= Py_None
;
3557 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
*resultobj
= NULL
;
3559 wxPen
*arg1
= (wxPen
*) 0 ;
3561 PyObject
* obj0
= 0 ;
3562 PyObject
* obj1
= 0 ;
3564 (char *) "self",(char *) "style", NULL
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3569 if (SWIG_arg_fail(1)) SWIG_fail
;
3571 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3572 if (SWIG_arg_fail(2)) SWIG_fail
;
3575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3576 (arg1
)->SetStyle(arg2
);
3578 wxPyEndAllowThreads(__tstate
);
3579 if (PyErr_Occurred()) SWIG_fail
;
3581 Py_INCREF(Py_None
); resultobj
= Py_None
;
3588 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3589 PyObject
*resultobj
= NULL
;
3590 wxPen
*arg1
= (wxPen
*) 0 ;
3592 PyObject
* obj0
= 0 ;
3593 PyObject
* obj1
= 0 ;
3595 (char *) "self",(char *) "width", NULL
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3600 if (SWIG_arg_fail(1)) SWIG_fail
;
3602 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3603 if (SWIG_arg_fail(2)) SWIG_fail
;
3606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3607 (arg1
)->SetWidth(arg2
);
3609 wxPyEndAllowThreads(__tstate
);
3610 if (PyErr_Occurred()) SWIG_fail
;
3612 Py_INCREF(Py_None
); resultobj
= Py_None
;
3619 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
*resultobj
= NULL
;
3621 wxPen
*arg1
= (wxPen
*) 0 ;
3623 wxDash
*arg3
= (wxDash
*) 0 ;
3624 PyObject
* obj0
= 0 ;
3625 PyObject
* obj1
= 0 ;
3627 (char *) "self",(char *) "dashes", NULL
3630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
3631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3632 if (SWIG_arg_fail(1)) SWIG_fail
;
3634 arg2
= PyList_Size(obj1
);
3635 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
3636 if (arg3
== NULL
) SWIG_fail
;
3639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3640 (arg1
)->SetDashes(arg2
,arg3
);
3642 wxPyEndAllowThreads(__tstate
);
3643 if (PyErr_Occurred()) SWIG_fail
;
3645 Py_INCREF(Py_None
); resultobj
= Py_None
;
3647 if (arg3
) delete [] arg3
;
3652 if (arg3
) delete [] arg3
;
3658 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
*resultobj
= NULL
;
3660 wxPen
*arg1
= (wxPen
*) 0 ;
3662 PyObject
* obj0
= 0 ;
3664 (char *) "self", NULL
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
3668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3669 if (SWIG_arg_fail(1)) SWIG_fail
;
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 result
= (PyObject
*)wxPen_GetDashes(arg1
);
3674 wxPyEndAllowThreads(__tstate
);
3675 if (PyErr_Occurred()) SWIG_fail
;
3684 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
*resultobj
= NULL
;
3686 wxPen
*arg1
= (wxPen
*) 0 ;
3687 PyObject
*arg2
= (PyObject
*) 0 ;
3688 PyObject
*arg3
= (PyObject
*) 0 ;
3689 PyObject
* obj0
= 0 ;
3690 PyObject
* obj1
= 0 ;
3691 PyObject
* obj2
= 0 ;
3693 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
3696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3698 if (SWIG_arg_fail(1)) SWIG_fail
;
3702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3703 wxPen__SetDashes(arg1
,arg2
,arg3
);
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3708 Py_INCREF(Py_None
); resultobj
= Py_None
;
3715 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3716 PyObject
*resultobj
= NULL
;
3717 wxPen
*arg1
= (wxPen
*) 0 ;
3719 PyObject
* obj0
= 0 ;
3721 (char *) "self", NULL
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
3725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3726 if (SWIG_arg_fail(1)) SWIG_fail
;
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
3731 wxPyEndAllowThreads(__tstate
);
3732 if (PyErr_Occurred()) SWIG_fail
;
3735 resultobj
= SWIG_From_int(static_cast<int >(result
));
3743 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
*resultobj
= NULL
;
3745 wxPen
*arg1
= (wxPen
*) 0 ;
3746 wxPen
*arg2
= (wxPen
*) 0 ;
3748 PyObject
* obj0
= 0 ;
3749 PyObject
* obj1
= 0 ;
3751 (char *) "self",(char *) "other", NULL
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3756 if (SWIG_arg_fail(1)) SWIG_fail
;
3757 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3758 if (SWIG_arg_fail(2)) SWIG_fail
;
3760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3761 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
3763 wxPyEndAllowThreads(__tstate
);
3764 if (PyErr_Occurred()) SWIG_fail
;
3767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3775 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
*resultobj
= NULL
;
3777 wxPen
*arg1
= (wxPen
*) 0 ;
3778 wxPen
*arg2
= (wxPen
*) 0 ;
3780 PyObject
* obj0
= 0 ;
3781 PyObject
* obj1
= 0 ;
3783 (char *) "self",(char *) "other", NULL
3786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3788 if (SWIG_arg_fail(1)) SWIG_fail
;
3789 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
3790 if (SWIG_arg_fail(2)) SWIG_fail
;
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
3795 wxPyEndAllowThreads(__tstate
);
3796 if (PyErr_Occurred()) SWIG_fail
;
3799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3807 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
3809 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3810 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
3812 return Py_BuildValue((char *)"");
3814 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3815 PyObject
*resultobj
= NULL
;
3816 wxColour
*arg1
= 0 ;
3817 int arg2
= (int) wxSOLID
;
3820 PyObject
* obj0
= 0 ;
3821 PyObject
* obj1
= 0 ;
3823 (char *) "colour",(char *) "style", NULL
3826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
3829 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
3833 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3834 if (SWIG_arg_fail(2)) SWIG_fail
;
3838 if (!wxPyCheckForApp()) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
3852 static PyObject
*_wrap_new_BrushFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
*resultobj
= NULL
;
3854 wxBitmap
*arg1
= 0 ;
3856 PyObject
* obj0
= 0 ;
3858 (char *) "stippleBitmap", NULL
3861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) goto fail
;
3863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3864 if (SWIG_arg_fail(1)) SWIG_fail
;
3866 SWIG_null_ref("wxBitmap");
3868 if (SWIG_arg_fail(1)) SWIG_fail
;
3871 if (!wxPyCheckForApp()) SWIG_fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
3885 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
*resultobj
= NULL
;
3887 wxBrush
*arg1
= (wxBrush
*) 0 ;
3888 PyObject
* obj0
= 0 ;
3890 (char *) "self", NULL
3893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
3894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3895 if (SWIG_arg_fail(1)) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 wxPyEndAllowThreads(__tstate
);
3901 if (PyErr_Occurred()) SWIG_fail
;
3903 Py_INCREF(Py_None
); resultobj
= Py_None
;
3910 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
*resultobj
= NULL
;
3912 wxBrush
*arg1
= (wxBrush
*) 0 ;
3913 wxColour
*arg2
= 0 ;
3915 PyObject
* obj0
= 0 ;
3916 PyObject
* obj1
= 0 ;
3918 (char *) "self",(char *) "col", NULL
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3923 if (SWIG_arg_fail(1)) SWIG_fail
;
3926 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3930 (arg1
)->SetColour((wxColour
const &)*arg2
);
3932 wxPyEndAllowThreads(__tstate
);
3933 if (PyErr_Occurred()) SWIG_fail
;
3935 Py_INCREF(Py_None
); resultobj
= Py_None
;
3942 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
*resultobj
= NULL
;
3944 wxBrush
*arg1
= (wxBrush
*) 0 ;
3946 PyObject
* obj0
= 0 ;
3947 PyObject
* obj1
= 0 ;
3949 (char *) "self",(char *) "style", NULL
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3954 if (SWIG_arg_fail(1)) SWIG_fail
;
3956 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3957 if (SWIG_arg_fail(2)) SWIG_fail
;
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 (arg1
)->SetStyle(arg2
);
3963 wxPyEndAllowThreads(__tstate
);
3964 if (PyErr_Occurred()) SWIG_fail
;
3966 Py_INCREF(Py_None
); resultobj
= Py_None
;
3973 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
*resultobj
= NULL
;
3975 wxBrush
*arg1
= (wxBrush
*) 0 ;
3976 wxBitmap
*arg2
= 0 ;
3977 PyObject
* obj0
= 0 ;
3978 PyObject
* obj1
= 0 ;
3980 (char *) "self",(char *) "stipple", NULL
3983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
3984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
3985 if (SWIG_arg_fail(1)) SWIG_fail
;
3987 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3988 if (SWIG_arg_fail(2)) SWIG_fail
;
3990 SWIG_null_ref("wxBitmap");
3992 if (SWIG_arg_fail(2)) SWIG_fail
;
3995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3996 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
3998 wxPyEndAllowThreads(__tstate
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4001 Py_INCREF(Py_None
); resultobj
= Py_None
;
4008 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
*resultobj
= NULL
;
4010 wxBrush
*arg1
= (wxBrush
*) 0 ;
4012 PyObject
* obj0
= 0 ;
4014 (char *) "self", NULL
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
4018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4019 if (SWIG_arg_fail(1)) SWIG_fail
;
4021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4022 result
= ((wxBrush
const *)arg1
)->GetColour();
4024 wxPyEndAllowThreads(__tstate
);
4025 if (PyErr_Occurred()) SWIG_fail
;
4028 wxColour
* resultptr
;
4029 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
4030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
4038 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
*resultobj
= NULL
;
4040 wxBrush
*arg1
= (wxBrush
*) 0 ;
4042 PyObject
* obj0
= 0 ;
4044 (char *) "self", NULL
4047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
4048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4049 if (SWIG_arg_fail(1)) SWIG_fail
;
4051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4052 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
4054 wxPyEndAllowThreads(__tstate
);
4055 if (PyErr_Occurred()) SWIG_fail
;
4058 resultobj
= SWIG_From_int(static_cast<int >(result
));
4066 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
*resultobj
= NULL
;
4068 wxBrush
*arg1
= (wxBrush
*) 0 ;
4070 PyObject
* obj0
= 0 ;
4072 (char *) "self", NULL
4075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
4076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4077 if (SWIG_arg_fail(1)) SWIG_fail
;
4079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4080 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
4082 wxPyEndAllowThreads(__tstate
);
4083 if (PyErr_Occurred()) SWIG_fail
;
4085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
4092 static PyObject
*_wrap_Brush_IsHatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
*resultobj
= NULL
;
4094 wxBrush
*arg1
= (wxBrush
*) 0 ;
4096 PyObject
* obj0
= 0 ;
4098 (char *) "self", NULL
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_IsHatch",kwnames
,&obj0
)) goto fail
;
4102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4103 if (SWIG_arg_fail(1)) SWIG_fail
;
4105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4106 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4120 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
*resultobj
= NULL
;
4122 wxBrush
*arg1
= (wxBrush
*) 0 ;
4124 PyObject
* obj0
= 0 ;
4126 (char *) "self", NULL
4129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
4130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
4131 if (SWIG_arg_fail(1)) SWIG_fail
;
4133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4134 result
= (bool)(arg1
)->Ok();
4136 wxPyEndAllowThreads(__tstate
);
4137 if (PyErr_Occurred()) SWIG_fail
;
4140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4148 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
4150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4151 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
4153 return Py_BuildValue((char *)"");
4155 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
= NULL
;
4157 wxString
*arg1
= 0 ;
4158 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
4160 bool temp1
= false ;
4161 PyObject
* obj0
= 0 ;
4162 PyObject
* obj1
= 0 ;
4164 (char *) "name",(char *) "type", NULL
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4169 arg1
= wxString_in_helper(obj0
);
4170 if (arg1
== NULL
) SWIG_fail
;
4175 arg2
= static_cast<wxBitmapType
>(SWIG_As_int(obj1
));
4176 if (SWIG_arg_fail(2)) SWIG_fail
;
4180 if (!wxPyCheckForApp()) SWIG_fail
;
4181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4182 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
4184 wxPyEndAllowThreads(__tstate
);
4185 if (PyErr_Occurred()) SWIG_fail
;
4187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4202 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
*resultobj
= NULL
;
4204 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4205 PyObject
* obj0
= 0 ;
4207 (char *) "self", NULL
4210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
4211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4212 if (SWIG_arg_fail(1)) SWIG_fail
;
4214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4217 wxPyEndAllowThreads(__tstate
);
4218 if (PyErr_Occurred()) SWIG_fail
;
4220 Py_INCREF(Py_None
); resultobj
= Py_None
;
4227 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4228 PyObject
*resultobj
= NULL
;
4231 int arg3
= (int) -1 ;
4233 PyObject
* obj0
= 0 ;
4234 PyObject
* obj1
= 0 ;
4235 PyObject
* obj2
= 0 ;
4237 (char *) "width",(char *) "height",(char *) "depth", NULL
4240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4242 arg1
= static_cast<int >(SWIG_As_int(obj0
));
4243 if (SWIG_arg_fail(1)) SWIG_fail
;
4246 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4247 if (SWIG_arg_fail(2)) SWIG_fail
;
4251 arg3
= static_cast<int >(SWIG_As_int(obj2
));
4252 if (SWIG_arg_fail(3)) SWIG_fail
;
4256 if (!wxPyCheckForApp()) SWIG_fail
;
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) SWIG_fail
;
4263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4270 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
*resultobj
= NULL
;
4274 PyObject
* obj0
= 0 ;
4276 (char *) "icon", NULL
4279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
4281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4282 if (SWIG_arg_fail(1)) SWIG_fail
;
4284 SWIG_null_ref("wxIcon");
4286 if (SWIG_arg_fail(1)) SWIG_fail
;
4289 if (!wxPyCheckForApp()) SWIG_fail
;
4290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4303 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
*resultobj
= NULL
;
4306 int arg2
= (int) -1 ;
4308 PyObject
* obj0
= 0 ;
4309 PyObject
* obj1
= 0 ;
4311 (char *) "image",(char *) "depth", NULL
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
4316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
4317 if (SWIG_arg_fail(1)) SWIG_fail
;
4319 SWIG_null_ref("wxImage");
4321 if (SWIG_arg_fail(1)) SWIG_fail
;
4325 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4326 if (SWIG_arg_fail(2)) SWIG_fail
;
4330 if (!wxPyCheckForApp()) SWIG_fail
;
4331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4344 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
= NULL
;
4346 PyObject
*arg1
= (PyObject
*) 0 ;
4348 PyObject
* obj0
= 0 ;
4350 (char *) "listOfStrings", NULL
4353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
4356 if (!wxPyCheckForApp()) SWIG_fail
;
4357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4358 result
= (wxBitmap
*)new_wxBitmap(arg1
);
4360 wxPyEndAllowThreads(__tstate
);
4361 if (PyErr_Occurred()) SWIG_fail
;
4363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4370 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
*resultobj
= NULL
;
4372 PyObject
*arg1
= (PyObject
*) 0 ;
4375 int arg4
= (int) 1 ;
4377 PyObject
* obj0
= 0 ;
4378 PyObject
* obj1
= 0 ;
4379 PyObject
* obj2
= 0 ;
4380 PyObject
* obj3
= 0 ;
4382 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4388 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4389 if (SWIG_arg_fail(2)) SWIG_fail
;
4392 arg3
= static_cast<int >(SWIG_As_int(obj2
));
4393 if (SWIG_arg_fail(3)) SWIG_fail
;
4397 arg4
= static_cast<int >(SWIG_As_int(obj3
));
4398 if (SWIG_arg_fail(4)) SWIG_fail
;
4402 if (!wxPyCheckForApp()) SWIG_fail
;
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
4416 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
*resultobj
= NULL
;
4418 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4420 PyObject
* obj0
= 0 ;
4422 (char *) "self", NULL
4425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
4426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4427 if (SWIG_arg_fail(1)) SWIG_fail
;
4429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4430 result
= (bool)(arg1
)->Ok();
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4444 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4445 PyObject
*resultobj
= NULL
;
4446 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4448 PyObject
* obj0
= 0 ;
4450 (char *) "self", NULL
4453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
4454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4455 if (SWIG_arg_fail(1)) SWIG_fail
;
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 result
= (int)(arg1
)->GetWidth();
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) SWIG_fail
;
4464 resultobj
= SWIG_From_int(static_cast<int >(result
));
4472 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
*resultobj
= NULL
;
4474 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4476 PyObject
* obj0
= 0 ;
4478 (char *) "self", NULL
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
4482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4483 if (SWIG_arg_fail(1)) SWIG_fail
;
4485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4486 result
= (int)(arg1
)->GetHeight();
4488 wxPyEndAllowThreads(__tstate
);
4489 if (PyErr_Occurred()) SWIG_fail
;
4492 resultobj
= SWIG_From_int(static_cast<int >(result
));
4500 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4501 PyObject
*resultobj
= NULL
;
4502 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4504 PyObject
* obj0
= 0 ;
4506 (char *) "self", NULL
4509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
4510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4511 if (SWIG_arg_fail(1)) SWIG_fail
;
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4514 result
= (int)(arg1
)->GetDepth();
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4520 resultobj
= SWIG_From_int(static_cast<int >(result
));
4528 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4529 PyObject
*resultobj
= NULL
;
4530 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4532 PyObject
* obj0
= 0 ;
4534 (char *) "self", NULL
4537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
4538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4539 if (SWIG_arg_fail(1)) SWIG_fail
;
4541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4542 result
= wxBitmap_GetSize(arg1
);
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4549 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
4550 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4558 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
*resultobj
= NULL
;
4560 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4561 SwigValueWrapper
<wxImage
> result
;
4562 PyObject
* obj0
= 0 ;
4564 (char *) "self", NULL
4567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
4568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4569 if (SWIG_arg_fail(1)) SWIG_fail
;
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4578 wxImage
* resultptr
;
4579 resultptr
= new wxImage(static_cast<wxImage
& >(result
));
4580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
4588 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
*resultobj
= NULL
;
4590 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4592 PyObject
* obj0
= 0 ;
4594 (char *) "self", NULL
4597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
4598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4599 if (SWIG_arg_fail(1)) SWIG_fail
;
4601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4602 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
4604 wxPyEndAllowThreads(__tstate
);
4605 if (PyErr_Occurred()) SWIG_fail
;
4607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
4614 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4615 PyObject
*resultobj
= NULL
;
4616 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4617 wxMask
*arg2
= (wxMask
*) 0 ;
4618 PyObject
* obj0
= 0 ;
4619 PyObject
* obj1
= 0 ;
4621 (char *) "self",(char *) "mask", NULL
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
4625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4626 if (SWIG_arg_fail(1)) SWIG_fail
;
4627 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMask
, SWIG_POINTER_EXCEPTION
| 0);
4628 if (SWIG_arg_fail(2)) SWIG_fail
;
4630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4631 (arg1
)->SetMask(arg2
);
4633 wxPyEndAllowThreads(__tstate
);
4634 if (PyErr_Occurred()) SWIG_fail
;
4636 Py_INCREF(Py_None
); resultobj
= Py_None
;
4643 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4644 PyObject
*resultobj
= NULL
;
4645 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4646 wxColour
*arg2
= 0 ;
4648 PyObject
* obj0
= 0 ;
4649 PyObject
* obj1
= 0 ;
4651 (char *) "self",(char *) "colour", NULL
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4656 if (SWIG_arg_fail(1)) SWIG_fail
;
4659 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4663 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4668 Py_INCREF(Py_None
); resultobj
= Py_None
;
4675 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
*resultobj
= NULL
;
4677 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4679 SwigValueWrapper
<wxBitmap
> result
;
4681 PyObject
* obj0
= 0 ;
4682 PyObject
* obj1
= 0 ;
4684 (char *) "self",(char *) "rect", NULL
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4689 if (SWIG_arg_fail(1)) SWIG_fail
;
4692 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
4698 wxPyEndAllowThreads(__tstate
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4702 wxBitmap
* resultptr
;
4703 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
4704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4712 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
*resultobj
= NULL
;
4714 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4715 wxString
*arg2
= 0 ;
4717 wxPalette
*arg4
= (wxPalette
*) NULL
;
4719 bool temp2
= false ;
4720 PyObject
* obj0
= 0 ;
4721 PyObject
* obj1
= 0 ;
4722 PyObject
* obj2
= 0 ;
4723 PyObject
* obj3
= 0 ;
4725 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4730 if (SWIG_arg_fail(1)) SWIG_fail
;
4732 arg2
= wxString_in_helper(obj1
);
4733 if (arg2
== NULL
) SWIG_fail
;
4737 arg3
= static_cast<wxBitmapType
>(SWIG_As_int(obj2
));
4738 if (SWIG_arg_fail(3)) SWIG_fail
;
4741 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
4742 if (SWIG_arg_fail(4)) SWIG_fail
;
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
4748 wxPyEndAllowThreads(__tstate
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4768 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4769 PyObject
*resultobj
= NULL
;
4770 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4771 wxString
*arg2
= 0 ;
4774 bool temp2
= false ;
4775 PyObject
* obj0
= 0 ;
4776 PyObject
* obj1
= 0 ;
4777 PyObject
* obj2
= 0 ;
4779 (char *) "self",(char *) "name",(char *) "type", NULL
4782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4784 if (SWIG_arg_fail(1)) SWIG_fail
;
4786 arg2
= wxString_in_helper(obj1
);
4787 if (arg2
== NULL
) SWIG_fail
;
4791 arg3
= static_cast<wxBitmapType
>(SWIG_As_int(obj2
));
4792 if (SWIG_arg_fail(3)) SWIG_fail
;
4795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4796 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4818 static PyObject
*_wrap_Bitmap_GetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
*resultobj
= NULL
;
4820 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4822 PyObject
* obj0
= 0 ;
4824 (char *) "self", NULL
4827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetPalette",kwnames
,&obj0
)) goto fail
;
4828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4829 if (SWIG_arg_fail(1)) SWIG_fail
;
4831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
4834 wxPyEndAllowThreads(__tstate
);
4835 if (PyErr_Occurred()) SWIG_fail
;
4837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 0);
4844 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
*resultobj
= NULL
;
4846 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4849 PyObject
* obj0
= 0 ;
4850 PyObject
* obj1
= 0 ;
4852 (char *) "self",(char *) "icon", NULL
4855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4857 if (SWIG_arg_fail(1)) SWIG_fail
;
4859 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4860 if (SWIG_arg_fail(2)) SWIG_fail
;
4862 SWIG_null_ref("wxIcon");
4864 if (SWIG_arg_fail(2)) SWIG_fail
;
4867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4868 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
4870 wxPyEndAllowThreads(__tstate
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4882 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4883 PyObject
*resultobj
= NULL
;
4884 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4886 PyObject
* obj0
= 0 ;
4887 PyObject
* obj1
= 0 ;
4889 (char *) "self",(char *) "height", NULL
4892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4894 if (SWIG_arg_fail(1)) SWIG_fail
;
4896 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4897 if (SWIG_arg_fail(2)) SWIG_fail
;
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 (arg1
)->SetHeight(arg2
);
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4906 Py_INCREF(Py_None
); resultobj
= Py_None
;
4913 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
*resultobj
= NULL
;
4915 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4917 PyObject
* obj0
= 0 ;
4918 PyObject
* obj1
= 0 ;
4920 (char *) "self",(char *) "width", NULL
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4925 if (SWIG_arg_fail(1)) SWIG_fail
;
4927 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4928 if (SWIG_arg_fail(2)) SWIG_fail
;
4931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4932 (arg1
)->SetWidth(arg2
);
4934 wxPyEndAllowThreads(__tstate
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4937 Py_INCREF(Py_None
); resultobj
= Py_None
;
4944 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4945 PyObject
*resultobj
= NULL
;
4946 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4948 PyObject
* obj0
= 0 ;
4949 PyObject
* obj1
= 0 ;
4951 (char *) "self",(char *) "depth", NULL
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4956 if (SWIG_arg_fail(1)) SWIG_fail
;
4958 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4959 if (SWIG_arg_fail(2)) SWIG_fail
;
4962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4963 (arg1
)->SetDepth(arg2
);
4965 wxPyEndAllowThreads(__tstate
);
4966 if (PyErr_Occurred()) SWIG_fail
;
4968 Py_INCREF(Py_None
); resultobj
= Py_None
;
4975 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4976 PyObject
*resultobj
= NULL
;
4977 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
4980 PyObject
* obj0
= 0 ;
4981 PyObject
* obj1
= 0 ;
4983 (char *) "self",(char *) "size", NULL
4986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
4988 if (SWIG_arg_fail(1)) SWIG_fail
;
4991 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4995 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
4997 wxPyEndAllowThreads(__tstate
);
4998 if (PyErr_Occurred()) SWIG_fail
;
5000 Py_INCREF(Py_None
); resultobj
= Py_None
;
5007 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5008 PyObject
*resultobj
= NULL
;
5009 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5010 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
5012 PyObject
* obj0
= 0 ;
5013 PyObject
* obj1
= 0 ;
5015 (char *) "self",(char *) "other", NULL
5018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5020 if (SWIG_arg_fail(1)) SWIG_fail
;
5021 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5022 if (SWIG_arg_fail(2)) SWIG_fail
;
5024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5025 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
5027 wxPyEndAllowThreads(__tstate
);
5028 if (PyErr_Occurred()) SWIG_fail
;
5031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5039 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
= NULL
;
5041 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5042 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
5044 PyObject
* obj0
= 0 ;
5045 PyObject
* obj1
= 0 ;
5047 (char *) "self",(char *) "other", NULL
5050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5052 if (SWIG_arg_fail(1)) SWIG_fail
;
5053 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5054 if (SWIG_arg_fail(2)) SWIG_fail
;
5056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
5059 wxPyEndAllowThreads(__tstate
);
5060 if (PyErr_Occurred()) SWIG_fail
;
5063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5071 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
5073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5074 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
5076 return Py_BuildValue((char *)"");
5078 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
*resultobj
= NULL
;
5080 wxBitmap
*arg1
= 0 ;
5081 wxColour
const &arg2_defvalue
= wxNullColour
;
5082 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5085 PyObject
* obj0
= 0 ;
5086 PyObject
* obj1
= 0 ;
5088 (char *) "bitmap",(char *) "colour", NULL
5091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
5093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5094 if (SWIG_arg_fail(1)) SWIG_fail
;
5096 SWIG_null_ref("wxBitmap");
5098 if (SWIG_arg_fail(1)) SWIG_fail
;
5103 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5107 if (!wxPyCheckForApp()) SWIG_fail
;
5108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5109 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
5111 wxPyEndAllowThreads(__tstate
);
5112 if (PyErr_Occurred()) SWIG_fail
;
5114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
5121 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
5123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5124 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
5126 return Py_BuildValue((char *)"");
5128 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5129 PyObject
*resultobj
= NULL
;
5130 wxString
*arg1
= 0 ;
5132 int arg3
= (int) -1 ;
5133 int arg4
= (int) -1 ;
5135 bool temp1
= false ;
5136 PyObject
* obj0
= 0 ;
5137 PyObject
* obj1
= 0 ;
5138 PyObject
* obj2
= 0 ;
5139 PyObject
* obj3
= 0 ;
5141 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
5144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5146 arg1
= wxString_in_helper(obj0
);
5147 if (arg1
== NULL
) SWIG_fail
;
5151 arg2
= static_cast<wxBitmapType
>(SWIG_As_int(obj1
));
5152 if (SWIG_arg_fail(2)) SWIG_fail
;
5156 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5157 if (SWIG_arg_fail(3)) SWIG_fail
;
5162 arg4
= static_cast<int >(SWIG_As_int(obj3
));
5163 if (SWIG_arg_fail(4)) SWIG_fail
;
5167 if (!wxPyCheckForApp()) SWIG_fail
;
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5189 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
*resultobj
= NULL
;
5191 wxIcon
*arg1
= (wxIcon
*) 0 ;
5192 PyObject
* obj0
= 0 ;
5194 (char *) "self", NULL
5197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
5198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5199 if (SWIG_arg_fail(1)) SWIG_fail
;
5201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5207 Py_INCREF(Py_None
); resultobj
= Py_None
;
5214 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5215 PyObject
*resultobj
= NULL
;
5221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
5223 if (!wxPyCheckForApp()) SWIG_fail
;
5224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 result
= (wxIcon
*)new wxIcon();
5227 wxPyEndAllowThreads(__tstate
);
5228 if (PyErr_Occurred()) SWIG_fail
;
5230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5237 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
*resultobj
= NULL
;
5239 wxIconLocation
*arg1
= 0 ;
5241 PyObject
* obj0
= 0 ;
5243 (char *) "loc", NULL
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
5248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5249 if (SWIG_arg_fail(1)) SWIG_fail
;
5251 SWIG_null_ref("wxIconLocation");
5253 if (SWIG_arg_fail(1)) SWIG_fail
;
5256 if (!wxPyCheckForApp()) SWIG_fail
;
5257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5258 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5270 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
*resultobj
= NULL
;
5272 wxBitmap
*arg1
= 0 ;
5274 PyObject
* obj0
= 0 ;
5276 (char *) "bmp", NULL
5279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
5281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5282 if (SWIG_arg_fail(1)) SWIG_fail
;
5284 SWIG_null_ref("wxBitmap");
5286 if (SWIG_arg_fail(1)) SWIG_fail
;
5289 if (!wxPyCheckForApp()) SWIG_fail
;
5290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5291 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
5293 wxPyEndAllowThreads(__tstate
);
5294 if (PyErr_Occurred()) SWIG_fail
;
5296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5303 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
*resultobj
= NULL
;
5305 PyObject
*arg1
= (PyObject
*) 0 ;
5307 PyObject
* obj0
= 0 ;
5309 (char *) "listOfStrings", NULL
5312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
5315 if (!wxPyCheckForApp()) SWIG_fail
;
5316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 result
= (wxIcon
*)new_wxIcon(arg1
);
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
5329 static PyObject
*_wrap_Icon_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5330 PyObject
*resultobj
= NULL
;
5331 wxIcon
*arg1
= (wxIcon
*) 0 ;
5332 wxString
*arg2
= 0 ;
5335 bool temp2
= false ;
5336 PyObject
* obj0
= 0 ;
5337 PyObject
* obj1
= 0 ;
5338 PyObject
* obj2
= 0 ;
5340 (char *) "self",(char *) "name",(char *) "type", NULL
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5345 if (SWIG_arg_fail(1)) SWIG_fail
;
5347 arg2
= wxString_in_helper(obj1
);
5348 if (arg2
== NULL
) SWIG_fail
;
5352 arg3
= static_cast<wxBitmapType
>(SWIG_As_int(obj2
));
5353 if (SWIG_arg_fail(3)) SWIG_fail
;
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5379 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
*resultobj
= NULL
;
5381 wxIcon
*arg1
= (wxIcon
*) 0 ;
5383 PyObject
* obj0
= 0 ;
5385 (char *) "self", NULL
5388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
5389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5390 if (SWIG_arg_fail(1)) SWIG_fail
;
5392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5393 result
= (bool)(arg1
)->Ok();
5395 wxPyEndAllowThreads(__tstate
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5407 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5408 PyObject
*resultobj
= NULL
;
5409 wxIcon
*arg1
= (wxIcon
*) 0 ;
5411 PyObject
* obj0
= 0 ;
5413 (char *) "self", NULL
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
5417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5418 if (SWIG_arg_fail(1)) SWIG_fail
;
5420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5421 result
= (int)(arg1
)->GetWidth();
5423 wxPyEndAllowThreads(__tstate
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5427 resultobj
= SWIG_From_int(static_cast<int >(result
));
5435 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
= NULL
;
5437 wxIcon
*arg1
= (wxIcon
*) 0 ;
5439 PyObject
* obj0
= 0 ;
5441 (char *) "self", NULL
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
5445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5446 if (SWIG_arg_fail(1)) SWIG_fail
;
5448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5449 result
= (int)(arg1
)->GetHeight();
5451 wxPyEndAllowThreads(__tstate
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5455 resultobj
= SWIG_From_int(static_cast<int >(result
));
5463 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
*resultobj
= NULL
;
5465 wxIcon
*arg1
= (wxIcon
*) 0 ;
5467 PyObject
* obj0
= 0 ;
5469 (char *) "self", NULL
5472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
5473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5474 if (SWIG_arg_fail(1)) SWIG_fail
;
5476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5477 result
= (int)(arg1
)->GetDepth();
5479 wxPyEndAllowThreads(__tstate
);
5480 if (PyErr_Occurred()) SWIG_fail
;
5483 resultobj
= SWIG_From_int(static_cast<int >(result
));
5491 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
*resultobj
= NULL
;
5493 wxIcon
*arg1
= (wxIcon
*) 0 ;
5495 PyObject
* obj0
= 0 ;
5496 PyObject
* obj1
= 0 ;
5498 (char *) "self",(char *) "w", NULL
5501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5503 if (SWIG_arg_fail(1)) SWIG_fail
;
5505 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5506 if (SWIG_arg_fail(2)) SWIG_fail
;
5509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 (arg1
)->SetWidth(arg2
);
5512 wxPyEndAllowThreads(__tstate
);
5513 if (PyErr_Occurred()) SWIG_fail
;
5515 Py_INCREF(Py_None
); resultobj
= Py_None
;
5522 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5523 PyObject
*resultobj
= NULL
;
5524 wxIcon
*arg1
= (wxIcon
*) 0 ;
5526 PyObject
* obj0
= 0 ;
5527 PyObject
* obj1
= 0 ;
5529 (char *) "self",(char *) "h", NULL
5532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5534 if (SWIG_arg_fail(1)) SWIG_fail
;
5536 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5537 if (SWIG_arg_fail(2)) SWIG_fail
;
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 (arg1
)->SetHeight(arg2
);
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5546 Py_INCREF(Py_None
); resultobj
= Py_None
;
5553 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
*resultobj
= NULL
;
5555 wxIcon
*arg1
= (wxIcon
*) 0 ;
5557 PyObject
* obj0
= 0 ;
5558 PyObject
* obj1
= 0 ;
5560 (char *) "self",(char *) "d", NULL
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
5564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5565 if (SWIG_arg_fail(1)) SWIG_fail
;
5567 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5568 if (SWIG_arg_fail(2)) SWIG_fail
;
5571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5572 (arg1
)->SetDepth(arg2
);
5574 wxPyEndAllowThreads(__tstate
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5577 Py_INCREF(Py_None
); resultobj
= Py_None
;
5584 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
*resultobj
= NULL
;
5586 wxIcon
*arg1
= (wxIcon
*) 0 ;
5587 wxBitmap
*arg2
= 0 ;
5588 PyObject
* obj0
= 0 ;
5589 PyObject
* obj1
= 0 ;
5591 (char *) "self",(char *) "bmp", NULL
5594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5596 if (SWIG_arg_fail(1)) SWIG_fail
;
5598 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
5599 if (SWIG_arg_fail(2)) SWIG_fail
;
5601 SWIG_null_ref("wxBitmap");
5603 if (SWIG_arg_fail(2)) SWIG_fail
;
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5612 Py_INCREF(Py_None
); resultobj
= Py_None
;
5619 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
5621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5622 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
5624 return Py_BuildValue((char *)"");
5626 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
*resultobj
= NULL
;
5628 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
5629 int arg2
= (int) 0 ;
5630 wxIconLocation
*result
;
5631 bool temp1
= false ;
5632 PyObject
* obj0
= 0 ;
5633 PyObject
* obj1
= 0 ;
5635 (char *) "filename",(char *) "num", NULL
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5641 arg1
= wxString_in_helper(obj0
);
5642 if (arg1
== NULL
) SWIG_fail
;
5648 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5649 if (SWIG_arg_fail(2)) SWIG_fail
;
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
5674 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5675 PyObject
*resultobj
= NULL
;
5676 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5677 PyObject
* obj0
= 0 ;
5679 (char *) "self", NULL
5682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
5683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5684 if (SWIG_arg_fail(1)) SWIG_fail
;
5686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5689 wxPyEndAllowThreads(__tstate
);
5690 if (PyErr_Occurred()) SWIG_fail
;
5692 Py_INCREF(Py_None
); resultobj
= Py_None
;
5699 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5700 PyObject
*resultobj
= NULL
;
5701 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5703 PyObject
* obj0
= 0 ;
5705 (char *) "self", NULL
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
5709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5710 if (SWIG_arg_fail(1)) SWIG_fail
;
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5727 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
*resultobj
= NULL
;
5729 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5730 wxString
*arg2
= 0 ;
5731 bool temp2
= false ;
5732 PyObject
* obj0
= 0 ;
5733 PyObject
* obj1
= 0 ;
5735 (char *) "self",(char *) "filename", NULL
5738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
5739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5740 if (SWIG_arg_fail(1)) SWIG_fail
;
5742 arg2
= wxString_in_helper(obj1
);
5743 if (arg2
== NULL
) SWIG_fail
;
5747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5748 (arg1
)->SetFileName((wxString
const &)*arg2
);
5750 wxPyEndAllowThreads(__tstate
);
5751 if (PyErr_Occurred()) SWIG_fail
;
5753 Py_INCREF(Py_None
); resultobj
= Py_None
;
5768 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5769 PyObject
*resultobj
= NULL
;
5770 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5772 PyObject
* obj0
= 0 ;
5774 (char *) "self", NULL
5777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
5778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5779 if (SWIG_arg_fail(1)) SWIG_fail
;
5781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
5784 result
= (wxString
*) &_result_ref
;
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5792 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5794 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5803 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
*resultobj
= NULL
;
5805 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5807 PyObject
* obj0
= 0 ;
5808 PyObject
* obj1
= 0 ;
5810 (char *) "self",(char *) "num", NULL
5813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
5814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5815 if (SWIG_arg_fail(1)) SWIG_fail
;
5817 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5818 if (SWIG_arg_fail(2)) SWIG_fail
;
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 wxIconLocation_SetIndex(arg1
,arg2
);
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5827 Py_INCREF(Py_None
); resultobj
= Py_None
;
5834 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
*resultobj
= NULL
;
5836 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
5838 PyObject
* obj0
= 0 ;
5840 (char *) "self", NULL
5843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
5844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_EXCEPTION
| 0);
5845 if (SWIG_arg_fail(1)) SWIG_fail
;
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 result
= (int)wxIconLocation_GetIndex(arg1
);
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5854 resultobj
= SWIG_From_int(static_cast<int >(result
));
5862 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
5864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5865 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
5867 return Py_BuildValue((char *)"");
5869 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
*resultobj
= NULL
;
5871 wxIconBundle
*result
;
5876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
5878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5879 result
= (wxIconBundle
*)new wxIconBundle();
5881 wxPyEndAllowThreads(__tstate
);
5882 if (PyErr_Occurred()) SWIG_fail
;
5884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5891 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5892 PyObject
*resultobj
= NULL
;
5893 wxString
*arg1
= 0 ;
5895 wxIconBundle
*result
;
5896 bool temp1
= false ;
5897 PyObject
* obj0
= 0 ;
5898 PyObject
* obj1
= 0 ;
5900 (char *) "file",(char *) "type", NULL
5903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5905 arg1
= wxString_in_helper(obj0
);
5906 if (arg1
== NULL
) SWIG_fail
;
5910 arg2
= static_cast<long >(SWIG_As_long(obj1
));
5911 if (SWIG_arg_fail(2)) SWIG_fail
;
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5935 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
*resultobj
= NULL
;
5938 wxIconBundle
*result
;
5939 PyObject
* obj0
= 0 ;
5941 (char *) "icon", NULL
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
5946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
5947 if (SWIG_arg_fail(1)) SWIG_fail
;
5949 SWIG_null_ref("wxIcon");
5951 if (SWIG_arg_fail(1)) SWIG_fail
;
5954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5955 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
5957 wxPyEndAllowThreads(__tstate
);
5958 if (PyErr_Occurred()) SWIG_fail
;
5960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
5967 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5968 PyObject
*resultobj
= NULL
;
5969 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5970 PyObject
* obj0
= 0 ;
5972 (char *) "self", NULL
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
5976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
5977 if (SWIG_arg_fail(1)) SWIG_fail
;
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) SWIG_fail
;
5985 Py_INCREF(Py_None
); resultobj
= Py_None
;
5992 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5993 PyObject
*resultobj
= NULL
;
5994 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
5996 PyObject
* obj0
= 0 ;
5997 PyObject
* obj1
= 0 ;
5999 (char *) "self",(char *) "icon", NULL
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
6003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6004 if (SWIG_arg_fail(1)) SWIG_fail
;
6006 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
6007 if (SWIG_arg_fail(2)) SWIG_fail
;
6009 SWIG_null_ref("wxIcon");
6011 if (SWIG_arg_fail(2)) SWIG_fail
;
6014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6015 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6020 Py_INCREF(Py_None
); resultobj
= Py_None
;
6027 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6028 PyObject
*resultobj
= NULL
;
6029 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
6030 wxString
*arg2
= 0 ;
6032 bool temp2
= false ;
6033 PyObject
* obj0
= 0 ;
6034 PyObject
* obj1
= 0 ;
6035 PyObject
* obj2
= 0 ;
6037 (char *) "self",(char *) "file",(char *) "type", NULL
6040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6042 if (SWIG_arg_fail(1)) SWIG_fail
;
6044 arg2
= wxString_in_helper(obj1
);
6045 if (arg2
== NULL
) SWIG_fail
;
6049 arg3
= static_cast<long >(SWIG_As_long(obj2
));
6050 if (SWIG_arg_fail(3)) SWIG_fail
;
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6059 Py_INCREF(Py_None
); resultobj
= Py_None
;
6074 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
= NULL
;
6076 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
6080 PyObject
* obj0
= 0 ;
6081 PyObject
* obj1
= 0 ;
6083 (char *) "self",(char *) "size", NULL
6086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
6087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
6088 if (SWIG_arg_fail(1)) SWIG_fail
;
6091 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
6097 result
= (wxIcon
*) &_result_ref
;
6100 wxPyEndAllowThreads(__tstate
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6104 wxIcon
* resultptr
= new wxIcon(*result
);
6105 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
6113 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
6115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6116 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
6118 return Py_BuildValue((char *)"");
6120 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
*resultobj
= NULL
;
6122 wxString
*arg1
= 0 ;
6124 int arg3
= (int) 0 ;
6125 int arg4
= (int) 0 ;
6127 bool temp1
= false ;
6128 PyObject
* obj0
= 0 ;
6129 PyObject
* obj1
= 0 ;
6130 PyObject
* obj2
= 0 ;
6131 PyObject
* obj3
= 0 ;
6133 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6138 arg1
= wxString_in_helper(obj0
);
6139 if (arg1
== NULL
) SWIG_fail
;
6143 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6144 if (SWIG_arg_fail(2)) SWIG_fail
;
6148 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6149 if (SWIG_arg_fail(3)) SWIG_fail
;
6154 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6155 if (SWIG_arg_fail(4)) SWIG_fail
;
6159 if (!wxPyCheckForApp()) SWIG_fail
;
6160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6161 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6163 wxPyEndAllowThreads(__tstate
);
6164 if (PyErr_Occurred()) SWIG_fail
;
6166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6181 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
*resultobj
= NULL
;
6183 wxCursor
*arg1
= (wxCursor
*) 0 ;
6184 PyObject
* obj0
= 0 ;
6186 (char *) "self", NULL
6189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
6190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6191 if (SWIG_arg_fail(1)) SWIG_fail
;
6193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6196 wxPyEndAllowThreads(__tstate
);
6197 if (PyErr_Occurred()) SWIG_fail
;
6199 Py_INCREF(Py_None
); resultobj
= Py_None
;
6206 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6207 PyObject
*resultobj
= NULL
;
6210 PyObject
* obj0
= 0 ;
6215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
6217 arg1
= static_cast<int >(SWIG_As_int(obj0
));
6218 if (SWIG_arg_fail(1)) SWIG_fail
;
6221 if (!wxPyCheckForApp()) SWIG_fail
;
6222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6223 result
= (wxCursor
*)new wxCursor(arg1
);
6225 wxPyEndAllowThreads(__tstate
);
6226 if (PyErr_Occurred()) SWIG_fail
;
6228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6235 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6236 PyObject
*resultobj
= NULL
;
6239 PyObject
* obj0
= 0 ;
6241 (char *) "image", NULL
6244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
6246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
6247 if (SWIG_arg_fail(1)) SWIG_fail
;
6249 SWIG_null_ref("wxImage");
6251 if (SWIG_arg_fail(1)) SWIG_fail
;
6254 if (!wxPyCheckForApp()) SWIG_fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
6268 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
= NULL
;
6270 wxCursor
*arg1
= (wxCursor
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6274 (char *) "self", NULL
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
6278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6279 if (SWIG_arg_fail(1)) SWIG_fail
;
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6282 result
= (bool)(arg1
)->Ok();
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6296 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
6298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6299 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
6301 return Py_BuildValue((char *)"");
6303 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
= NULL
;
6305 int arg1
= (int) 0 ;
6306 int arg2
= (int) 0 ;
6307 int arg3
= (int) 0 ;
6308 int arg4
= (int) 0 ;
6310 PyObject
* obj0
= 0 ;
6311 PyObject
* obj1
= 0 ;
6312 PyObject
* obj2
= 0 ;
6313 PyObject
* obj3
= 0 ;
6315 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6321 arg1
= static_cast<int >(SWIG_As_int(obj0
));
6322 if (SWIG_arg_fail(1)) SWIG_fail
;
6327 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6328 if (SWIG_arg_fail(2)) SWIG_fail
;
6333 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6334 if (SWIG_arg_fail(3)) SWIG_fail
;
6339 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6340 if (SWIG_arg_fail(4)) SWIG_fail
;
6344 if (!wxPyCheckForApp()) SWIG_fail
;
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6358 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
*resultobj
= NULL
;
6360 wxBitmap
*arg1
= 0 ;
6362 PyObject
* obj0
= 0 ;
6364 (char *) "bmp", NULL
6367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
6369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6370 if (SWIG_arg_fail(1)) SWIG_fail
;
6372 SWIG_null_ref("wxBitmap");
6374 if (SWIG_arg_fail(1)) SWIG_fail
;
6377 if (!wxPyCheckForApp()) SWIG_fail
;
6378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6379 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
6381 wxPyEndAllowThreads(__tstate
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6391 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
*resultobj
= NULL
;
6393 wxBitmap
*arg1
= 0 ;
6394 wxColour
*arg2
= 0 ;
6395 int arg3
= (int) 0 ;
6398 PyObject
* obj0
= 0 ;
6399 PyObject
* obj1
= 0 ;
6400 PyObject
* obj2
= 0 ;
6402 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6408 if (SWIG_arg_fail(1)) SWIG_fail
;
6410 SWIG_null_ref("wxBitmap");
6412 if (SWIG_arg_fail(1)) SWIG_fail
;
6416 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6420 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6421 if (SWIG_arg_fail(3)) SWIG_fail
;
6425 if (!wxPyCheckForApp()) SWIG_fail
;
6426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6427 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
6429 wxPyEndAllowThreads(__tstate
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6439 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
*resultobj
= NULL
;
6442 wxPoint
*arg2
= (wxPoint
*) 0 ;
6443 int arg3
= (int) wxWINDING_RULE
;
6445 PyObject
* obj0
= 0 ;
6446 PyObject
* obj1
= 0 ;
6448 (char *) "points",(char *) "fillStyle", NULL
6451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
6453 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
6454 if (arg2
== NULL
) SWIG_fail
;
6458 arg3
= static_cast<int >(SWIG_As_int(obj1
));
6459 if (SWIG_arg_fail(3)) SWIG_fail
;
6463 if (!wxPyCheckForApp()) SWIG_fail
;
6464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6465 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
6472 if (arg2
) delete [] arg2
;
6477 if (arg2
) delete [] arg2
;
6483 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6484 PyObject
*resultobj
= NULL
;
6485 wxRegion
*arg1
= (wxRegion
*) 0 ;
6486 PyObject
* obj0
= 0 ;
6488 (char *) "self", NULL
6491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
6492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6493 if (SWIG_arg_fail(1)) SWIG_fail
;
6495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6498 wxPyEndAllowThreads(__tstate
);
6499 if (PyErr_Occurred()) SWIG_fail
;
6501 Py_INCREF(Py_None
); resultobj
= Py_None
;
6508 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6509 PyObject
*resultobj
= NULL
;
6510 wxRegion
*arg1
= (wxRegion
*) 0 ;
6511 PyObject
* obj0
= 0 ;
6513 (char *) "self", NULL
6516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
6517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6518 if (SWIG_arg_fail(1)) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 Py_INCREF(Py_None
); resultobj
= Py_None
;
6533 static PyObject
*_wrap_Region_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
= NULL
;
6535 wxRegion
*arg1
= (wxRegion
*) 0 ;
6539 PyObject
* obj0
= 0 ;
6540 PyObject
* obj1
= 0 ;
6541 PyObject
* obj2
= 0 ;
6543 (char *) "self",(char *) "x",(char *) "y", NULL
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6548 if (SWIG_arg_fail(1)) SWIG_fail
;
6550 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6551 if (SWIG_arg_fail(2)) SWIG_fail
;
6554 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6555 if (SWIG_arg_fail(3)) SWIG_fail
;
6558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6559 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
6561 wxPyEndAllowThreads(__tstate
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6573 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6574 PyObject
*resultobj
= NULL
;
6575 wxRegion
*arg1
= (wxRegion
*) 0 ;
6578 wxRegionContain result
;
6579 PyObject
* obj0
= 0 ;
6580 PyObject
* obj1
= 0 ;
6581 PyObject
* obj2
= 0 ;
6583 (char *) "self",(char *) "x",(char *) "y", NULL
6586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6588 if (SWIG_arg_fail(1)) SWIG_fail
;
6590 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6591 if (SWIG_arg_fail(2)) SWIG_fail
;
6594 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6595 if (SWIG_arg_fail(3)) SWIG_fail
;
6598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6599 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
6601 wxPyEndAllowThreads(__tstate
);
6602 if (PyErr_Occurred()) SWIG_fail
;
6604 resultobj
= SWIG_From_int((result
));
6611 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
*resultobj
= NULL
;
6613 wxRegion
*arg1
= (wxRegion
*) 0 ;
6615 wxRegionContain result
;
6617 PyObject
* obj0
= 0 ;
6618 PyObject
* obj1
= 0 ;
6620 (char *) "self",(char *) "pt", NULL
6623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
6624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6625 if (SWIG_arg_fail(1)) SWIG_fail
;
6628 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
6634 wxPyEndAllowThreads(__tstate
);
6635 if (PyErr_Occurred()) SWIG_fail
;
6637 resultobj
= SWIG_From_int((result
));
6644 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6645 PyObject
*resultobj
= NULL
;
6646 wxRegion
*arg1
= (wxRegion
*) 0 ;
6648 wxRegionContain result
;
6650 PyObject
* obj0
= 0 ;
6651 PyObject
* obj1
= 0 ;
6653 (char *) "self",(char *) "rect", NULL
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6658 if (SWIG_arg_fail(1)) SWIG_fail
;
6661 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6670 resultobj
= SWIG_From_int((result
));
6677 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
= NULL
;
6679 wxRegion
*arg1
= (wxRegion
*) 0 ;
6684 wxRegionContain result
;
6685 PyObject
* obj0
= 0 ;
6686 PyObject
* obj1
= 0 ;
6687 PyObject
* obj2
= 0 ;
6688 PyObject
* obj3
= 0 ;
6689 PyObject
* obj4
= 0 ;
6691 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
6694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6696 if (SWIG_arg_fail(1)) SWIG_fail
;
6698 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6699 if (SWIG_arg_fail(2)) SWIG_fail
;
6702 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6703 if (SWIG_arg_fail(3)) SWIG_fail
;
6706 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6707 if (SWIG_arg_fail(4)) SWIG_fail
;
6710 arg5
= static_cast<int >(SWIG_As_int(obj4
));
6711 if (SWIG_arg_fail(5)) SWIG_fail
;
6714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6715 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
6717 wxPyEndAllowThreads(__tstate
);
6718 if (PyErr_Occurred()) SWIG_fail
;
6720 resultobj
= SWIG_From_int((result
));
6727 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
*resultobj
= NULL
;
6729 wxRegion
*arg1
= (wxRegion
*) 0 ;
6731 PyObject
* obj0
= 0 ;
6733 (char *) "self", NULL
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
6737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6738 if (SWIG_arg_fail(1)) SWIG_fail
;
6740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6741 result
= (arg1
)->GetBox();
6743 wxPyEndAllowThreads(__tstate
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6748 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
6749 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6757 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
*resultobj
= NULL
;
6759 wxRegion
*arg1
= (wxRegion
*) 0 ;
6765 PyObject
* obj0
= 0 ;
6766 PyObject
* obj1
= 0 ;
6767 PyObject
* obj2
= 0 ;
6768 PyObject
* obj3
= 0 ;
6769 PyObject
* obj4
= 0 ;
6771 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6776 if (SWIG_arg_fail(1)) SWIG_fail
;
6778 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6779 if (SWIG_arg_fail(2)) SWIG_fail
;
6782 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6783 if (SWIG_arg_fail(3)) SWIG_fail
;
6786 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6787 if (SWIG_arg_fail(4)) SWIG_fail
;
6790 arg5
= static_cast<int >(SWIG_As_int(obj4
));
6791 if (SWIG_arg_fail(5)) SWIG_fail
;
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) SWIG_fail
;
6801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6809 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
*resultobj
= NULL
;
6811 wxRegion
*arg1
= (wxRegion
*) 0 ;
6815 PyObject
* obj0
= 0 ;
6816 PyObject
* obj1
= 0 ;
6818 (char *) "self",(char *) "rect", NULL
6821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6823 if (SWIG_arg_fail(1)) SWIG_fail
;
6826 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6830 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) SWIG_fail
;
6836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6844 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
*resultobj
= NULL
;
6846 wxRegion
*arg1
= (wxRegion
*) 0 ;
6847 wxRegion
*arg2
= 0 ;
6849 PyObject
* obj0
= 0 ;
6850 PyObject
* obj1
= 0 ;
6852 (char *) "self",(char *) "region", NULL
6855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6857 if (SWIG_arg_fail(1)) SWIG_fail
;
6859 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6860 if (SWIG_arg_fail(2)) SWIG_fail
;
6862 SWIG_null_ref("wxRegion");
6864 if (SWIG_arg_fail(2)) SWIG_fail
;
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6882 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6883 PyObject
*resultobj
= NULL
;
6884 wxRegion
*arg1
= (wxRegion
*) 0 ;
6886 PyObject
* obj0
= 0 ;
6888 (char *) "self", NULL
6891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
6892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6893 if (SWIG_arg_fail(1)) SWIG_fail
;
6895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 result
= (bool)(arg1
)->IsEmpty();
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6910 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
*resultobj
= NULL
;
6912 wxRegion
*arg1
= (wxRegion
*) 0 ;
6918 PyObject
* obj0
= 0 ;
6919 PyObject
* obj1
= 0 ;
6920 PyObject
* obj2
= 0 ;
6921 PyObject
* obj3
= 0 ;
6922 PyObject
* obj4
= 0 ;
6924 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6929 if (SWIG_arg_fail(1)) SWIG_fail
;
6931 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6932 if (SWIG_arg_fail(2)) SWIG_fail
;
6935 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6936 if (SWIG_arg_fail(3)) SWIG_fail
;
6939 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6940 if (SWIG_arg_fail(4)) SWIG_fail
;
6943 arg5
= static_cast<int >(SWIG_As_int(obj4
));
6944 if (SWIG_arg_fail(5)) SWIG_fail
;
6947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6948 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
6950 wxPyEndAllowThreads(__tstate
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6962 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
= NULL
;
6964 wxRegion
*arg1
= (wxRegion
*) 0 ;
6968 PyObject
* obj0
= 0 ;
6969 PyObject
* obj1
= 0 ;
6971 (char *) "self",(char *) "rect", NULL
6974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
6976 if (SWIG_arg_fail(1)) SWIG_fail
;
6979 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6983 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6997 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
= NULL
;
6999 wxRegion
*arg1
= (wxRegion
*) 0 ;
7000 wxRegion
*arg2
= 0 ;
7002 PyObject
* obj0
= 0 ;
7003 PyObject
* obj1
= 0 ;
7005 (char *) "self",(char *) "region", NULL
7008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7010 if (SWIG_arg_fail(1)) SWIG_fail
;
7012 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7013 if (SWIG_arg_fail(2)) SWIG_fail
;
7015 SWIG_null_ref("wxRegion");
7017 if (SWIG_arg_fail(2)) SWIG_fail
;
7020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7021 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
7023 wxPyEndAllowThreads(__tstate
);
7024 if (PyErr_Occurred()) SWIG_fail
;
7027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7035 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
*resultobj
= NULL
;
7037 wxRegion
*arg1
= (wxRegion
*) 0 ;
7043 PyObject
* obj0
= 0 ;
7044 PyObject
* obj1
= 0 ;
7045 PyObject
* obj2
= 0 ;
7046 PyObject
* obj3
= 0 ;
7047 PyObject
* obj4
= 0 ;
7049 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7054 if (SWIG_arg_fail(1)) SWIG_fail
;
7056 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7057 if (SWIG_arg_fail(2)) SWIG_fail
;
7060 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7061 if (SWIG_arg_fail(3)) SWIG_fail
;
7064 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7065 if (SWIG_arg_fail(4)) SWIG_fail
;
7068 arg5
= static_cast<int >(SWIG_As_int(obj4
));
7069 if (SWIG_arg_fail(5)) SWIG_fail
;
7072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7073 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7087 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7088 PyObject
*resultobj
= NULL
;
7089 wxRegion
*arg1
= (wxRegion
*) 0 ;
7093 PyObject
* obj0
= 0 ;
7094 PyObject
* obj1
= 0 ;
7096 (char *) "self",(char *) "rect", NULL
7099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7101 if (SWIG_arg_fail(1)) SWIG_fail
;
7104 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
7110 wxPyEndAllowThreads(__tstate
);
7111 if (PyErr_Occurred()) SWIG_fail
;
7114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7122 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
= NULL
;
7124 wxRegion
*arg1
= (wxRegion
*) 0 ;
7125 wxRegion
*arg2
= 0 ;
7127 PyObject
* obj0
= 0 ;
7128 PyObject
* obj1
= 0 ;
7130 (char *) "self",(char *) "region", NULL
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7135 if (SWIG_arg_fail(1)) SWIG_fail
;
7137 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7138 if (SWIG_arg_fail(2)) SWIG_fail
;
7140 SWIG_null_ref("wxRegion");
7142 if (SWIG_arg_fail(2)) SWIG_fail
;
7145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7146 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
7148 wxPyEndAllowThreads(__tstate
);
7149 if (PyErr_Occurred()) SWIG_fail
;
7152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7160 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7161 PyObject
*resultobj
= NULL
;
7162 wxRegion
*arg1
= (wxRegion
*) 0 ;
7168 PyObject
* obj0
= 0 ;
7169 PyObject
* obj1
= 0 ;
7170 PyObject
* obj2
= 0 ;
7171 PyObject
* obj3
= 0 ;
7172 PyObject
* obj4
= 0 ;
7174 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7179 if (SWIG_arg_fail(1)) SWIG_fail
;
7181 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7182 if (SWIG_arg_fail(2)) SWIG_fail
;
7185 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7186 if (SWIG_arg_fail(3)) SWIG_fail
;
7189 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7190 if (SWIG_arg_fail(4)) SWIG_fail
;
7193 arg5
= static_cast<int >(SWIG_As_int(obj4
));
7194 if (SWIG_arg_fail(5)) SWIG_fail
;
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7212 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
*resultobj
= NULL
;
7214 wxRegion
*arg1
= (wxRegion
*) 0 ;
7218 PyObject
* obj0
= 0 ;
7219 PyObject
* obj1
= 0 ;
7221 (char *) "self",(char *) "rect", NULL
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7226 if (SWIG_arg_fail(1)) SWIG_fail
;
7229 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7247 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
*resultobj
= NULL
;
7249 wxRegion
*arg1
= (wxRegion
*) 0 ;
7250 wxRegion
*arg2
= 0 ;
7252 PyObject
* obj0
= 0 ;
7253 PyObject
* obj1
= 0 ;
7255 (char *) "self",(char *) "region", NULL
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7260 if (SWIG_arg_fail(1)) SWIG_fail
;
7262 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7263 if (SWIG_arg_fail(2)) SWIG_fail
;
7265 SWIG_null_ref("wxRegion");
7267 if (SWIG_arg_fail(2)) SWIG_fail
;
7270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7271 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
7273 wxPyEndAllowThreads(__tstate
);
7274 if (PyErr_Occurred()) SWIG_fail
;
7277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7285 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7286 PyObject
*resultobj
= NULL
;
7287 wxRegion
*arg1
= (wxRegion
*) 0 ;
7288 SwigValueWrapper
<wxBitmap
> result
;
7289 PyObject
* obj0
= 0 ;
7291 (char *) "self", NULL
7294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
7295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7296 if (SWIG_arg_fail(1)) SWIG_fail
;
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 result
= (arg1
)->ConvertToBitmap();
7301 wxPyEndAllowThreads(__tstate
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7305 wxBitmap
* resultptr
;
7306 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
7307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7315 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
= NULL
;
7317 wxRegion
*arg1
= (wxRegion
*) 0 ;
7318 wxBitmap
*arg2
= 0 ;
7320 PyObject
* obj0
= 0 ;
7321 PyObject
* obj1
= 0 ;
7323 (char *) "self",(char *) "bmp", NULL
7326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7328 if (SWIG_arg_fail(1)) SWIG_fail
;
7330 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7331 if (SWIG_arg_fail(2)) SWIG_fail
;
7333 SWIG_null_ref("wxBitmap");
7335 if (SWIG_arg_fail(2)) SWIG_fail
;
7338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7339 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
7341 wxPyEndAllowThreads(__tstate
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7353 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7354 PyObject
*resultobj
= NULL
;
7355 wxRegion
*arg1
= (wxRegion
*) 0 ;
7356 wxBitmap
*arg2
= 0 ;
7357 wxColour
*arg3
= 0 ;
7358 int arg4
= (int) 0 ;
7361 PyObject
* obj0
= 0 ;
7362 PyObject
* obj1
= 0 ;
7363 PyObject
* obj2
= 0 ;
7364 PyObject
* obj3
= 0 ;
7366 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
7369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7371 if (SWIG_arg_fail(1)) SWIG_fail
;
7373 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7374 if (SWIG_arg_fail(2)) SWIG_fail
;
7376 SWIG_null_ref("wxBitmap");
7378 if (SWIG_arg_fail(2)) SWIG_fail
;
7382 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7386 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7387 if (SWIG_arg_fail(4)) SWIG_fail
;
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7392 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7406 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
7408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7409 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
7411 return Py_BuildValue((char *)"");
7413 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7414 PyObject
*resultobj
= NULL
;
7415 wxRegion
*arg1
= 0 ;
7416 wxRegionIterator
*result
;
7417 PyObject
* obj0
= 0 ;
7419 (char *) "region", NULL
7422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
7424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
7425 if (SWIG_arg_fail(1)) SWIG_fail
;
7427 SWIG_null_ref("wxRegion");
7429 if (SWIG_arg_fail(1)) SWIG_fail
;
7432 if (!wxPyCheckForApp()) SWIG_fail
;
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
7436 wxPyEndAllowThreads(__tstate
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
7446 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
*resultobj
= NULL
;
7448 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7449 PyObject
* obj0
= 0 ;
7451 (char *) "self", NULL
7454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
7455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7456 if (SWIG_arg_fail(1)) SWIG_fail
;
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7464 Py_INCREF(Py_None
); resultobj
= Py_None
;
7471 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
*resultobj
= NULL
;
7473 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7475 PyObject
* obj0
= 0 ;
7477 (char *) "self", NULL
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
7481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7482 if (SWIG_arg_fail(1)) SWIG_fail
;
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 result
= (int)(arg1
)->GetX();
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7491 resultobj
= SWIG_From_int(static_cast<int >(result
));
7499 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7500 PyObject
*resultobj
= NULL
;
7501 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7503 PyObject
* obj0
= 0 ;
7505 (char *) "self", NULL
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
7509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7510 if (SWIG_arg_fail(1)) SWIG_fail
;
7512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 result
= (int)(arg1
)->GetY();
7515 wxPyEndAllowThreads(__tstate
);
7516 if (PyErr_Occurred()) SWIG_fail
;
7519 resultobj
= SWIG_From_int(static_cast<int >(result
));
7527 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7528 PyObject
*resultobj
= NULL
;
7529 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7531 PyObject
* obj0
= 0 ;
7533 (char *) "self", NULL
7536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
7537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7538 if (SWIG_arg_fail(1)) SWIG_fail
;
7540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7541 result
= (int)(arg1
)->GetW();
7543 wxPyEndAllowThreads(__tstate
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7547 resultobj
= SWIG_From_int(static_cast<int >(result
));
7555 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
*resultobj
= NULL
;
7557 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7559 PyObject
* obj0
= 0 ;
7561 (char *) "self", NULL
7564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
7565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7566 if (SWIG_arg_fail(1)) SWIG_fail
;
7568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7569 result
= (int)(arg1
)->GetWidth();
7571 wxPyEndAllowThreads(__tstate
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= SWIG_From_int(static_cast<int >(result
));
7583 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
= NULL
;
7585 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7587 PyObject
* obj0
= 0 ;
7589 (char *) "self", NULL
7592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
7593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7594 if (SWIG_arg_fail(1)) SWIG_fail
;
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 result
= (int)(arg1
)->GetH();
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7603 resultobj
= SWIG_From_int(static_cast<int >(result
));
7611 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
= NULL
;
7613 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7615 PyObject
* obj0
= 0 ;
7617 (char *) "self", NULL
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
7621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7622 if (SWIG_arg_fail(1)) SWIG_fail
;
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 result
= (int)(arg1
)->GetHeight();
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7631 resultobj
= SWIG_From_int(static_cast<int >(result
));
7639 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
*resultobj
= NULL
;
7641 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7643 PyObject
* obj0
= 0 ;
7645 (char *) "self", NULL
7648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
7649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7650 if (SWIG_arg_fail(1)) SWIG_fail
;
7652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7653 result
= (arg1
)->GetRect();
7655 wxPyEndAllowThreads(__tstate
);
7656 if (PyErr_Occurred()) SWIG_fail
;
7660 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
7661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7669 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7670 PyObject
*resultobj
= NULL
;
7671 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7673 PyObject
* obj0
= 0 ;
7675 (char *) "self", NULL
7678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
7679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7680 if (SWIG_arg_fail(1)) SWIG_fail
;
7682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7683 result
= (bool)(arg1
)->HaveRects();
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7697 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
*resultobj
= NULL
;
7699 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7700 PyObject
* obj0
= 0 ;
7702 (char *) "self", NULL
7705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
7706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7707 if (SWIG_arg_fail(1)) SWIG_fail
;
7709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 wxPyEndAllowThreads(__tstate
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7715 Py_INCREF(Py_None
); resultobj
= Py_None
;
7722 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7723 PyObject
*resultobj
= NULL
;
7724 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7725 PyObject
* obj0
= 0 ;
7727 (char *) "self", NULL
7730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
7731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7732 if (SWIG_arg_fail(1)) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 wxRegionIterator_Next(arg1
);
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7740 Py_INCREF(Py_None
); resultobj
= Py_None
;
7747 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
= NULL
;
7749 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
7751 PyObject
* obj0
= 0 ;
7753 (char *) "self", NULL
7756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
7757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_EXCEPTION
| 0);
7758 if (SWIG_arg_fail(1)) SWIG_fail
;
7760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7761 result
= (bool)wxRegionIterator___nonzero__(arg1
);
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7775 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
7777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7778 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
7780 return Py_BuildValue((char *)"");
7782 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7783 PyObject
*resultobj
= NULL
;
7784 wxNativeFontInfo
*result
;
7789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
7804 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
= NULL
;
7806 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7807 PyObject
* obj0
= 0 ;
7809 (char *) "self", NULL
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
7813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7814 if (SWIG_arg_fail(1)) SWIG_fail
;
7816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 wxPyEndAllowThreads(__tstate
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7822 Py_INCREF(Py_None
); resultobj
= Py_None
;
7829 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7830 PyObject
*resultobj
= NULL
;
7831 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7832 PyObject
* obj0
= 0 ;
7834 (char *) "self", NULL
7837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
7838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7839 if (SWIG_arg_fail(1)) SWIG_fail
;
7841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7844 wxPyEndAllowThreads(__tstate
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7847 Py_INCREF(Py_None
); resultobj
= Py_None
;
7854 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
*resultobj
= NULL
;
7856 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7858 PyObject
* obj0
= 0 ;
7859 PyObject
* obj1
= 0 ;
7861 (char *) "self",(char *) "font", NULL
7864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
7865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7866 if (SWIG_arg_fail(1)) SWIG_fail
;
7868 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
7869 if (SWIG_arg_fail(2)) SWIG_fail
;
7871 SWIG_null_ref("wxFont");
7873 if (SWIG_arg_fail(2)) SWIG_fail
;
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
7879 wxPyEndAllowThreads(__tstate
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7882 Py_INCREF(Py_None
); resultobj
= Py_None
;
7889 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7890 PyObject
*resultobj
= NULL
;
7891 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7893 PyObject
* obj0
= 0 ;
7895 (char *) "self", NULL
7898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
7899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7900 if (SWIG_arg_fail(1)) SWIG_fail
;
7902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7903 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
7905 wxPyEndAllowThreads(__tstate
);
7906 if (PyErr_Occurred()) SWIG_fail
;
7909 resultobj
= SWIG_From_int(static_cast<int >(result
));
7917 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7918 PyObject
*resultobj
= NULL
;
7919 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7921 PyObject
* obj0
= 0 ;
7923 (char *) "self", NULL
7926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
7927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7928 if (SWIG_arg_fail(1)) SWIG_fail
;
7930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7931 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
7933 wxPyEndAllowThreads(__tstate
);
7934 if (PyErr_Occurred()) SWIG_fail
;
7936 resultobj
= SWIG_From_int((result
));
7943 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7944 PyObject
*resultobj
= NULL
;
7945 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7946 wxFontWeight result
;
7947 PyObject
* obj0
= 0 ;
7949 (char *) "self", NULL
7952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
7953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7954 if (SWIG_arg_fail(1)) SWIG_fail
;
7956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7957 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
7959 wxPyEndAllowThreads(__tstate
);
7960 if (PyErr_Occurred()) SWIG_fail
;
7962 resultobj
= SWIG_From_int((result
));
7969 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7970 PyObject
*resultobj
= NULL
;
7971 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
7973 PyObject
* obj0
= 0 ;
7975 (char *) "self", NULL
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
7980 if (SWIG_arg_fail(1)) SWIG_fail
;
7982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7983 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
7985 wxPyEndAllowThreads(__tstate
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7997 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7998 PyObject
*resultobj
= NULL
;
7999 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8001 PyObject
* obj0
= 0 ;
8003 (char *) "self", NULL
8006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
8007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8008 if (SWIG_arg_fail(1)) SWIG_fail
;
8010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8011 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
8013 wxPyEndAllowThreads(__tstate
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8029 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8030 PyObject
*resultobj
= NULL
;
8031 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8032 wxFontFamily result
;
8033 PyObject
* obj0
= 0 ;
8035 (char *) "self", NULL
8038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
8039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8040 if (SWIG_arg_fail(1)) SWIG_fail
;
8042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8043 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
8045 wxPyEndAllowThreads(__tstate
);
8046 if (PyErr_Occurred()) SWIG_fail
;
8048 resultobj
= SWIG_From_int((result
));
8055 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8056 PyObject
*resultobj
= NULL
;
8057 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8058 wxFontEncoding result
;
8059 PyObject
* obj0
= 0 ;
8061 (char *) "self", NULL
8064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
8065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8066 if (SWIG_arg_fail(1)) SWIG_fail
;
8068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8069 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) SWIG_fail
;
8074 resultobj
= SWIG_From_int((result
));
8081 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
*resultobj
= NULL
;
8083 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8085 PyObject
* obj0
= 0 ;
8086 PyObject
* obj1
= 0 ;
8088 (char *) "self",(char *) "pointsize", NULL
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8093 if (SWIG_arg_fail(1)) SWIG_fail
;
8095 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8096 if (SWIG_arg_fail(2)) SWIG_fail
;
8099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8100 (arg1
)->SetPointSize(arg2
);
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8105 Py_INCREF(Py_None
); resultobj
= Py_None
;
8112 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
*resultobj
= NULL
;
8114 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8116 PyObject
* obj0
= 0 ;
8117 PyObject
* obj1
= 0 ;
8119 (char *) "self",(char *) "style", NULL
8122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8124 if (SWIG_arg_fail(1)) SWIG_fail
;
8126 arg2
= static_cast<wxFontStyle
>(SWIG_As_int(obj1
));
8127 if (SWIG_arg_fail(2)) SWIG_fail
;
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 (arg1
)->SetStyle(arg2
);
8133 wxPyEndAllowThreads(__tstate
);
8134 if (PyErr_Occurred()) SWIG_fail
;
8136 Py_INCREF(Py_None
); resultobj
= Py_None
;
8143 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8144 PyObject
*resultobj
= NULL
;
8145 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8147 PyObject
* obj0
= 0 ;
8148 PyObject
* obj1
= 0 ;
8150 (char *) "self",(char *) "weight", NULL
8153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8155 if (SWIG_arg_fail(1)) SWIG_fail
;
8157 arg2
= static_cast<wxFontWeight
>(SWIG_As_int(obj1
));
8158 if (SWIG_arg_fail(2)) SWIG_fail
;
8161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8162 (arg1
)->SetWeight(arg2
);
8164 wxPyEndAllowThreads(__tstate
);
8165 if (PyErr_Occurred()) SWIG_fail
;
8167 Py_INCREF(Py_None
); resultobj
= Py_None
;
8174 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8175 PyObject
*resultobj
= NULL
;
8176 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8178 PyObject
* obj0
= 0 ;
8179 PyObject
* obj1
= 0 ;
8181 (char *) "self",(char *) "underlined", NULL
8184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8186 if (SWIG_arg_fail(1)) SWIG_fail
;
8188 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
8189 if (SWIG_arg_fail(2)) SWIG_fail
;
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 (arg1
)->SetUnderlined(arg2
);
8195 wxPyEndAllowThreads(__tstate
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8198 Py_INCREF(Py_None
); resultobj
= Py_None
;
8205 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8206 PyObject
*resultobj
= NULL
;
8207 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8209 PyObject
* obj0
= 0 ;
8210 PyObject
* obj1
= 0 ;
8212 (char *) "self",(char *) "facename", NULL
8215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8217 if (SWIG_arg_fail(1)) SWIG_fail
;
8219 wxString
* sptr
= wxString_in_helper(obj1
);
8220 if (sptr
== NULL
) SWIG_fail
;
8225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8226 (arg1
)->SetFaceName(arg2
);
8228 wxPyEndAllowThreads(__tstate
);
8229 if (PyErr_Occurred()) SWIG_fail
;
8231 Py_INCREF(Py_None
); resultobj
= Py_None
;
8238 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8239 PyObject
*resultobj
= NULL
;
8240 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8242 PyObject
* obj0
= 0 ;
8243 PyObject
* obj1
= 0 ;
8245 (char *) "self",(char *) "family", NULL
8248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8250 if (SWIG_arg_fail(1)) SWIG_fail
;
8252 arg2
= static_cast<wxFontFamily
>(SWIG_As_int(obj1
));
8253 if (SWIG_arg_fail(2)) SWIG_fail
;
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 (arg1
)->SetFamily(arg2
);
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8262 Py_INCREF(Py_None
); resultobj
= Py_None
;
8269 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8270 PyObject
*resultobj
= NULL
;
8271 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8272 wxFontEncoding arg2
;
8273 PyObject
* obj0
= 0 ;
8274 PyObject
* obj1
= 0 ;
8276 (char *) "self",(char *) "encoding", NULL
8279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8281 if (SWIG_arg_fail(1)) SWIG_fail
;
8283 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
8284 if (SWIG_arg_fail(2)) SWIG_fail
;
8287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8288 (arg1
)->SetEncoding(arg2
);
8290 wxPyEndAllowThreads(__tstate
);
8291 if (PyErr_Occurred()) SWIG_fail
;
8293 Py_INCREF(Py_None
); resultobj
= Py_None
;
8300 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8301 PyObject
*resultobj
= NULL
;
8302 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8303 wxString
*arg2
= 0 ;
8305 bool temp2
= false ;
8306 PyObject
* obj0
= 0 ;
8307 PyObject
* obj1
= 0 ;
8309 (char *) "self",(char *) "s", NULL
8312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8314 if (SWIG_arg_fail(1)) SWIG_fail
;
8316 arg2
= wxString_in_helper(obj1
);
8317 if (arg2
== NULL
) SWIG_fail
;
8321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
8324 wxPyEndAllowThreads(__tstate
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8344 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
= NULL
;
8346 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8348 PyObject
* obj0
= 0 ;
8350 (char *) "self", NULL
8353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
8354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8355 if (SWIG_arg_fail(1)) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8365 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8367 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8376 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8377 PyObject
*resultobj
= NULL
;
8378 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8380 PyObject
* obj0
= 0 ;
8382 (char *) "self", NULL
8385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
8386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8387 if (SWIG_arg_fail(1)) SWIG_fail
;
8389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8390 result
= wxNativeFontInfo___str__(arg1
);
8392 wxPyEndAllowThreads(__tstate
);
8393 if (PyErr_Occurred()) SWIG_fail
;
8397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8408 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8409 PyObject
*resultobj
= NULL
;
8410 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8411 wxString
*arg2
= 0 ;
8413 bool temp2
= false ;
8414 PyObject
* obj0
= 0 ;
8415 PyObject
* obj1
= 0 ;
8417 (char *) "self",(char *) "s", NULL
8420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
8421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8422 if (SWIG_arg_fail(1)) SWIG_fail
;
8424 arg2
= wxString_in_helper(obj1
);
8425 if (arg2
== NULL
) SWIG_fail
;
8429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8430 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
8432 wxPyEndAllowThreads(__tstate
);
8433 if (PyErr_Occurred()) SWIG_fail
;
8436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8452 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8453 PyObject
*resultobj
= NULL
;
8454 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
8456 PyObject
* obj0
= 0 ;
8458 (char *) "self", NULL
8461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
8462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
8463 if (SWIG_arg_fail(1)) SWIG_fail
;
8465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8466 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
8468 wxPyEndAllowThreads(__tstate
);
8469 if (PyErr_Occurred()) SWIG_fail
;
8473 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8475 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8484 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
8486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8487 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
8489 return Py_BuildValue((char *)"");
8491 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
*resultobj
= NULL
;
8493 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8494 wxString
*arg2
= (wxString
*) 0 ;
8495 bool temp2
= false ;
8496 PyObject
* obj0
= 0 ;
8497 PyObject
* obj1
= 0 ;
8499 (char *) "self",(char *) "facename", NULL
8502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8504 if (SWIG_arg_fail(1)) SWIG_fail
;
8506 arg2
= wxString_in_helper(obj1
);
8507 if (arg2
== NULL
) SWIG_fail
;
8510 if (arg1
) (arg1
)->facename
= *arg2
;
8512 Py_INCREF(Py_None
); resultobj
= Py_None
;
8527 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
*resultobj
= NULL
;
8529 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8531 PyObject
* obj0
= 0 ;
8533 (char *) "self", NULL
8536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
8537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8538 if (SWIG_arg_fail(1)) SWIG_fail
;
8539 result
= (wxString
*)& ((arg1
)->facename
);
8543 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8545 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8554 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8555 PyObject
*resultobj
= NULL
;
8556 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8557 wxFontEncoding arg2
;
8558 PyObject
* obj0
= 0 ;
8559 PyObject
* obj1
= 0 ;
8561 (char *) "self",(char *) "encoding", NULL
8564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8566 if (SWIG_arg_fail(1)) SWIG_fail
;
8568 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
8569 if (SWIG_arg_fail(2)) SWIG_fail
;
8571 if (arg1
) (arg1
)->encoding
= arg2
;
8573 Py_INCREF(Py_None
); resultobj
= Py_None
;
8580 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8581 PyObject
*resultobj
= NULL
;
8582 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8583 wxFontEncoding result
;
8584 PyObject
* obj0
= 0 ;
8586 (char *) "self", NULL
8589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
8590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8591 if (SWIG_arg_fail(1)) SWIG_fail
;
8592 result
= (wxFontEncoding
) ((arg1
)->encoding
);
8594 resultobj
= SWIG_From_int((result
));
8601 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8602 PyObject
*resultobj
= NULL
;
8603 wxNativeEncodingInfo
*result
;
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
8610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8611 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
8613 wxPyEndAllowThreads(__tstate
);
8614 if (PyErr_Occurred()) SWIG_fail
;
8616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
8623 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8624 PyObject
*resultobj
= NULL
;
8625 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8626 PyObject
* obj0
= 0 ;
8628 (char *) "self", NULL
8631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
8632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8633 if (SWIG_arg_fail(1)) SWIG_fail
;
8635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8638 wxPyEndAllowThreads(__tstate
);
8639 if (PyErr_Occurred()) SWIG_fail
;
8641 Py_INCREF(Py_None
); resultobj
= Py_None
;
8648 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8649 PyObject
*resultobj
= NULL
;
8650 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8651 wxString
*arg2
= 0 ;
8653 bool temp2
= false ;
8654 PyObject
* obj0
= 0 ;
8655 PyObject
* obj1
= 0 ;
8657 (char *) "self",(char *) "s", NULL
8660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8662 if (SWIG_arg_fail(1)) SWIG_fail
;
8664 arg2
= wxString_in_helper(obj1
);
8665 if (arg2
== NULL
) SWIG_fail
;
8669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8670 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
8672 wxPyEndAllowThreads(__tstate
);
8673 if (PyErr_Occurred()) SWIG_fail
;
8676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8692 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8693 PyObject
*resultobj
= NULL
;
8694 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
8696 PyObject
* obj0
= 0 ;
8698 (char *) "self", NULL
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
8702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8703 if (SWIG_arg_fail(1)) SWIG_fail
;
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8706 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8713 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8715 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8724 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
8726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8727 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
8729 return Py_BuildValue((char *)"");
8731 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8732 PyObject
*resultobj
= NULL
;
8733 wxFontEncoding arg1
;
8734 wxNativeEncodingInfo
*result
;
8735 PyObject
* obj0
= 0 ;
8737 (char *) "encoding", NULL
8740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
8742 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
8743 if (SWIG_arg_fail(1)) SWIG_fail
;
8746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8747 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
8749 wxPyEndAllowThreads(__tstate
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
8759 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8760 PyObject
*resultobj
= NULL
;
8761 wxNativeEncodingInfo
*arg1
= 0 ;
8763 PyObject
* obj0
= 0 ;
8765 (char *) "info", NULL
8768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
8770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_EXCEPTION
| 0);
8771 if (SWIG_arg_fail(1)) SWIG_fail
;
8773 SWIG_null_ref("wxNativeEncodingInfo");
8775 if (SWIG_arg_fail(1)) SWIG_fail
;
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8793 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8794 PyObject
*resultobj
= NULL
;
8795 wxFontMapper
*result
;
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
8802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8803 result
= (wxFontMapper
*)new wxFontMapper();
8805 wxPyEndAllowThreads(__tstate
);
8806 if (PyErr_Occurred()) SWIG_fail
;
8808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
8815 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
*resultobj
= NULL
;
8817 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8818 PyObject
* obj0
= 0 ;
8820 (char *) "self", NULL
8823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
8824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8825 if (SWIG_arg_fail(1)) SWIG_fail
;
8827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8833 Py_INCREF(Py_None
); resultobj
= Py_None
;
8840 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8841 PyObject
*resultobj
= NULL
;
8842 wxFontMapper
*result
;
8847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8850 result
= (wxFontMapper
*)wxFontMapper::Get();
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
8862 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
= NULL
;
8864 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8865 wxFontMapper
*result
;
8866 PyObject
* obj0
= 0 ;
8868 (char *) "mapper", NULL
8871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
8872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8873 if (SWIG_arg_fail(1)) SWIG_fail
;
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8876 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
8878 wxPyEndAllowThreads(__tstate
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
8888 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8889 PyObject
*resultobj
= NULL
;
8890 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
8891 wxString
*arg2
= 0 ;
8892 bool arg3
= (bool) true ;
8893 wxFontEncoding result
;
8894 bool temp2
= false ;
8895 PyObject
* obj0
= 0 ;
8896 PyObject
* obj1
= 0 ;
8897 PyObject
* obj2
= 0 ;
8899 (char *) "self",(char *) "charset",(char *) "interactive", NULL
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
8904 if (SWIG_arg_fail(1)) SWIG_fail
;
8906 arg2
= wxString_in_helper(obj1
);
8907 if (arg2
== NULL
) SWIG_fail
;
8912 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8913 if (SWIG_arg_fail(3)) SWIG_fail
;
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8923 resultobj
= SWIG_From_int((result
));
8938 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8939 PyObject
*resultobj
= NULL
;
8945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
8947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8948 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
8950 wxPyEndAllowThreads(__tstate
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8954 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
8962 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8963 PyObject
*resultobj
= NULL
;
8965 wxFontEncoding result
;
8966 PyObject
* obj0
= 0 ;
8971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
8973 arg1
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0
));
8974 if (SWIG_arg_fail(1)) SWIG_fail
;
8977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8978 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
8980 wxPyEndAllowThreads(__tstate
);
8981 if (PyErr_Occurred()) SWIG_fail
;
8983 resultobj
= SWIG_From_int((result
));
8990 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8991 PyObject
*resultobj
= NULL
;
8992 wxFontEncoding arg1
;
8994 PyObject
* obj0
= 0 ;
8996 (char *) "encoding", NULL
8999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
9001 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
9002 if (SWIG_arg_fail(1)) SWIG_fail
;
9005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9006 result
= wxFontMapper::GetEncodingName(arg1
);
9008 wxPyEndAllowThreads(__tstate
);
9009 if (PyErr_Occurred()) SWIG_fail
;
9013 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9015 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9024 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9025 PyObject
*resultobj
= NULL
;
9026 wxFontEncoding arg1
;
9028 PyObject
* obj0
= 0 ;
9030 (char *) "encoding", NULL
9033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
9035 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
9036 if (SWIG_arg_fail(1)) SWIG_fail
;
9039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9040 result
= wxFontMapper::GetEncodingDescription(arg1
);
9042 wxPyEndAllowThreads(__tstate
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9058 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9059 PyObject
*resultobj
= NULL
;
9060 wxString
*arg1
= 0 ;
9061 wxFontEncoding result
;
9062 bool temp1
= false ;
9063 PyObject
* obj0
= 0 ;
9065 (char *) "name", NULL
9068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
9070 arg1
= wxString_in_helper(obj0
);
9071 if (arg1
== NULL
) SWIG_fail
;
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9076 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
9078 wxPyEndAllowThreads(__tstate
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9081 resultobj
= SWIG_From_int((result
));
9096 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
= NULL
;
9098 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9099 wxString
*arg2
= 0 ;
9100 bool temp2
= false ;
9101 PyObject
* obj0
= 0 ;
9102 PyObject
* obj1
= 0 ;
9104 (char *) "self",(char *) "prefix", NULL
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
9108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9109 if (SWIG_arg_fail(1)) SWIG_fail
;
9111 arg2
= wxString_in_helper(obj1
);
9112 if (arg2
== NULL
) SWIG_fail
;
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9122 Py_INCREF(Py_None
); resultobj
= Py_None
;
9137 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9138 PyObject
*resultobj
= NULL
;
9144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 result
= wxFontMapper::GetDefaultConfigPath();
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9154 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9156 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9165 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
= NULL
;
9167 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9168 wxFontEncoding arg2
;
9169 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9170 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9171 bool arg4
= (bool) true ;
9173 bool temp3
= false ;
9174 PyObject
* obj0
= 0 ;
9175 PyObject
* obj1
= 0 ;
9176 PyObject
* obj2
= 0 ;
9177 PyObject
* obj3
= 0 ;
9179 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
9182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9184 if (SWIG_arg_fail(1)) SWIG_fail
;
9186 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
9187 if (SWIG_arg_fail(2)) SWIG_fail
;
9191 arg3
= wxString_in_helper(obj2
);
9192 if (arg3
== NULL
) SWIG_fail
;
9198 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
9199 if (SWIG_arg_fail(4)) SWIG_fail
;
9203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9204 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
9206 wxPyEndAllowThreads(__tstate
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9224 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
*resultobj
= NULL
;
9226 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9227 wxFontEncoding arg2
;
9228 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9229 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9231 bool temp3
= false ;
9232 PyObject
* obj0
= 0 ;
9233 PyObject
* obj1
= 0 ;
9234 PyObject
* obj2
= 0 ;
9236 (char *) "self",(char *) "encoding",(char *) "facename", NULL
9239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9241 if (SWIG_arg_fail(1)) SWIG_fail
;
9243 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
9244 if (SWIG_arg_fail(2)) SWIG_fail
;
9248 arg3
= wxString_in_helper(obj2
);
9249 if (arg3
== NULL
) SWIG_fail
;
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9277 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
*resultobj
= NULL
;
9279 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9280 wxWindow
*arg2
= (wxWindow
*) 0 ;
9281 PyObject
* obj0
= 0 ;
9282 PyObject
* obj1
= 0 ;
9284 (char *) "self",(char *) "parent", NULL
9287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
9288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9289 if (SWIG_arg_fail(1)) SWIG_fail
;
9290 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9291 if (SWIG_arg_fail(2)) SWIG_fail
;
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 (arg1
)->SetDialogParent(arg2
);
9296 wxPyEndAllowThreads(__tstate
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9299 Py_INCREF(Py_None
); resultobj
= Py_None
;
9306 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
= NULL
;
9308 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
9309 wxString
*arg2
= 0 ;
9310 bool temp2
= false ;
9311 PyObject
* obj0
= 0 ;
9312 PyObject
* obj1
= 0 ;
9314 (char *) "self",(char *) "title", NULL
9317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
9318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_EXCEPTION
| 0);
9319 if (SWIG_arg_fail(1)) SWIG_fail
;
9321 arg2
= wxString_in_helper(obj1
);
9322 if (arg2
== NULL
) SWIG_fail
;
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 Py_INCREF(Py_None
); resultobj
= Py_None
;
9347 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
9349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9350 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
9352 return Py_BuildValue((char *)"");
9354 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
*resultobj
= NULL
;
9360 bool arg5
= (bool) false ;
9361 wxString
const &arg6_defvalue
= wxPyEmptyString
;
9362 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9363 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9365 bool temp6
= false ;
9366 PyObject
* obj0
= 0 ;
9367 PyObject
* obj1
= 0 ;
9368 PyObject
* obj2
= 0 ;
9369 PyObject
* obj3
= 0 ;
9370 PyObject
* obj4
= 0 ;
9371 PyObject
* obj5
= 0 ;
9372 PyObject
* obj6
= 0 ;
9374 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
9377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9379 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9380 if (SWIG_arg_fail(1)) SWIG_fail
;
9383 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9384 if (SWIG_arg_fail(2)) SWIG_fail
;
9387 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9388 if (SWIG_arg_fail(3)) SWIG_fail
;
9391 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9392 if (SWIG_arg_fail(4)) SWIG_fail
;
9396 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
9397 if (SWIG_arg_fail(5)) SWIG_fail
;
9402 arg6
= wxString_in_helper(obj5
);
9403 if (arg6
== NULL
) SWIG_fail
;
9409 arg7
= static_cast<wxFontEncoding
>(SWIG_As_int(obj6
));
9410 if (SWIG_arg_fail(7)) SWIG_fail
;
9414 if (!wxPyCheckForApp()) SWIG_fail
;
9415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9416 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
9418 wxPyEndAllowThreads(__tstate
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9436 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9437 PyObject
*resultobj
= NULL
;
9438 wxFont
*arg1
= (wxFont
*) 0 ;
9439 PyObject
* obj0
= 0 ;
9441 (char *) "self", NULL
9444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
9445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9446 if (SWIG_arg_fail(1)) SWIG_fail
;
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9454 Py_INCREF(Py_None
); resultobj
= Py_None
;
9461 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9462 PyObject
*resultobj
= NULL
;
9463 wxNativeFontInfo
*arg1
= 0 ;
9465 PyObject
* obj0
= 0 ;
9467 (char *) "info", NULL
9470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
9472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
9473 if (SWIG_arg_fail(1)) SWIG_fail
;
9475 SWIG_null_ref("wxNativeFontInfo");
9477 if (SWIG_arg_fail(1)) SWIG_fail
;
9480 if (!wxPyCheckForApp()) SWIG_fail
;
9481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
9484 wxPyEndAllowThreads(__tstate
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9494 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9495 PyObject
*resultobj
= NULL
;
9496 wxString
*arg1
= 0 ;
9498 bool temp1
= false ;
9499 PyObject
* obj0
= 0 ;
9501 (char *) "info", NULL
9504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
9506 arg1
= wxString_in_helper(obj0
);
9507 if (arg1
== NULL
) SWIG_fail
;
9511 if (!wxPyCheckForApp()) SWIG_fail
;
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9513 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
9515 wxPyEndAllowThreads(__tstate
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9533 static PyObject
*_wrap_new_FFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9534 PyObject
*resultobj
= NULL
;
9537 int arg3
= (int) wxFONTFLAG_DEFAULT
;
9538 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9539 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9540 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9542 bool temp4
= false ;
9543 PyObject
* obj0
= 0 ;
9544 PyObject
* obj1
= 0 ;
9545 PyObject
* obj2
= 0 ;
9546 PyObject
* obj3
= 0 ;
9547 PyObject
* obj4
= 0 ;
9549 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
9552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9554 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9555 if (SWIG_arg_fail(1)) SWIG_fail
;
9558 arg2
= static_cast<wxFontFamily
>(SWIG_As_int(obj1
));
9559 if (SWIG_arg_fail(2)) SWIG_fail
;
9563 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9564 if (SWIG_arg_fail(3)) SWIG_fail
;
9569 arg4
= wxString_in_helper(obj3
);
9570 if (arg4
== NULL
) SWIG_fail
;
9576 arg5
= static_cast<wxFontEncoding
>(SWIG_As_int(obj4
));
9577 if (SWIG_arg_fail(5)) SWIG_fail
;
9581 if (!wxPyCheckForApp()) SWIG_fail
;
9582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9583 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
9585 wxPyEndAllowThreads(__tstate
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9603 static PyObject
*_wrap_new_FontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9604 PyObject
*resultobj
= NULL
;
9609 bool arg5
= (bool) false ;
9610 wxString
const &arg6_defvalue
= wxEmptyString
;
9611 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9612 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9615 bool temp6
= false ;
9616 PyObject
* obj0
= 0 ;
9617 PyObject
* obj1
= 0 ;
9618 PyObject
* obj2
= 0 ;
9619 PyObject
* obj3
= 0 ;
9620 PyObject
* obj4
= 0 ;
9621 PyObject
* obj5
= 0 ;
9622 PyObject
* obj6
= 0 ;
9624 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
9627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9630 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
9633 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9634 if (SWIG_arg_fail(2)) SWIG_fail
;
9637 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9638 if (SWIG_arg_fail(3)) SWIG_fail
;
9641 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9642 if (SWIG_arg_fail(4)) SWIG_fail
;
9646 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
9647 if (SWIG_arg_fail(5)) SWIG_fail
;
9652 arg6
= wxString_in_helper(obj5
);
9653 if (arg6
== NULL
) SWIG_fail
;
9659 arg7
= static_cast<wxFontEncoding
>(SWIG_As_int(obj6
));
9660 if (SWIG_arg_fail(7)) SWIG_fail
;
9664 if (!wxPyCheckForApp()) SWIG_fail
;
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9686 static PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9687 PyObject
*resultobj
= NULL
;
9690 int arg3
= (int) wxFONTFLAG_DEFAULT
;
9691 wxString
const &arg4_defvalue
= wxEmptyString
;
9692 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9693 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
9696 bool temp4
= false ;
9697 PyObject
* obj0
= 0 ;
9698 PyObject
* obj1
= 0 ;
9699 PyObject
* obj2
= 0 ;
9700 PyObject
* obj3
= 0 ;
9701 PyObject
* obj4
= 0 ;
9703 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
9706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9709 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
9712 arg2
= static_cast<wxFontFamily
>(SWIG_As_int(obj1
));
9713 if (SWIG_arg_fail(2)) SWIG_fail
;
9717 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9718 if (SWIG_arg_fail(3)) SWIG_fail
;
9723 arg4
= wxString_in_helper(obj3
);
9724 if (arg4
== NULL
) SWIG_fail
;
9730 arg5
= static_cast<wxFontEncoding
>(SWIG_As_int(obj4
));
9731 if (SWIG_arg_fail(5)) SWIG_fail
;
9735 if (!wxPyCheckForApp()) SWIG_fail
;
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) SWIG_fail
;
9742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
9757 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9758 PyObject
*resultobj
= NULL
;
9759 wxFont
*arg1
= (wxFont
*) 0 ;
9761 PyObject
* obj0
= 0 ;
9763 (char *) "self", NULL
9766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
9767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9768 if (SWIG_arg_fail(1)) SWIG_fail
;
9770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9771 result
= (bool)((wxFont
const *)arg1
)->Ok();
9773 wxPyEndAllowThreads(__tstate
);
9774 if (PyErr_Occurred()) SWIG_fail
;
9777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9785 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
*resultobj
= NULL
;
9787 wxFont
*arg1
= (wxFont
*) 0 ;
9788 wxFont
*arg2
= (wxFont
*) 0 ;
9790 PyObject
* obj0
= 0 ;
9791 PyObject
* obj1
= 0 ;
9793 (char *) "self",(char *) "other", NULL
9796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
9797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9798 if (SWIG_arg_fail(1)) SWIG_fail
;
9799 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9800 if (SWIG_arg_fail(2)) SWIG_fail
;
9802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9803 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9817 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
= NULL
;
9819 wxFont
*arg1
= (wxFont
*) 0 ;
9820 wxFont
*arg2
= (wxFont
*) 0 ;
9822 PyObject
* obj0
= 0 ;
9823 PyObject
* obj1
= 0 ;
9825 (char *) "self",(char *) "other", NULL
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
9829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9830 if (SWIG_arg_fail(1)) SWIG_fail
;
9831 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9832 if (SWIG_arg_fail(2)) SWIG_fail
;
9834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9835 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
9837 wxPyEndAllowThreads(__tstate
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9849 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9850 PyObject
*resultobj
= NULL
;
9851 wxFont
*arg1
= (wxFont
*) 0 ;
9853 PyObject
* obj0
= 0 ;
9855 (char *) "self", NULL
9858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
9859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9860 if (SWIG_arg_fail(1)) SWIG_fail
;
9862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9863 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
9865 wxPyEndAllowThreads(__tstate
);
9866 if (PyErr_Occurred()) SWIG_fail
;
9869 resultobj
= SWIG_From_int(static_cast<int >(result
));
9877 static PyObject
*_wrap_Font_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9878 PyObject
*resultobj
= NULL
;
9879 wxFont
*arg1
= (wxFont
*) 0 ;
9881 PyObject
* obj0
= 0 ;
9883 (char *) "self", NULL
9886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
;
9887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9888 if (SWIG_arg_fail(1)) SWIG_fail
;
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 result
= ((wxFont
const *)arg1
)->GetPixelSize();
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9898 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
9899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9907 static PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
*resultobj
= NULL
;
9909 wxFont
*arg1
= (wxFont
*) 0 ;
9911 PyObject
* obj0
= 0 ;
9913 (char *) "self", NULL
9916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsUsingSizeInPixels",kwnames
,&obj0
)) goto fail
;
9917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9918 if (SWIG_arg_fail(1)) SWIG_fail
;
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9935 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9936 PyObject
*resultobj
= NULL
;
9937 wxFont
*arg1
= (wxFont
*) 0 ;
9939 PyObject
* obj0
= 0 ;
9941 (char *) "self", NULL
9944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
9945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9946 if (SWIG_arg_fail(1)) SWIG_fail
;
9948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9949 result
= (int)((wxFont
const *)arg1
)->GetFamily();
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9955 resultobj
= SWIG_From_int(static_cast<int >(result
));
9963 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9964 PyObject
*resultobj
= NULL
;
9965 wxFont
*arg1
= (wxFont
*) 0 ;
9967 PyObject
* obj0
= 0 ;
9969 (char *) "self", NULL
9972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
9973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
9974 if (SWIG_arg_fail(1)) SWIG_fail
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 result
= (int)((wxFont
const *)arg1
)->GetStyle();
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9983 resultobj
= SWIG_From_int(static_cast<int >(result
));
9991 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9992 PyObject
*resultobj
= NULL
;
9993 wxFont
*arg1
= (wxFont
*) 0 ;
9995 PyObject
* obj0
= 0 ;
9997 (char *) "self", NULL
10000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
10001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10002 if (SWIG_arg_fail(1)) SWIG_fail
;
10004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10005 result
= (int)((wxFont
const *)arg1
)->GetWeight();
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10011 resultobj
= SWIG_From_int(static_cast<int >(result
));
10019 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
= NULL
;
10021 wxFont
*arg1
= (wxFont
*) 0 ;
10023 PyObject
* obj0
= 0 ;
10024 char *kwnames
[] = {
10025 (char *) "self", NULL
10028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
10029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10030 if (SWIG_arg_fail(1)) SWIG_fail
;
10032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10033 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
10035 wxPyEndAllowThreads(__tstate
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10047 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10048 PyObject
*resultobj
= NULL
;
10049 wxFont
*arg1
= (wxFont
*) 0 ;
10051 PyObject
* obj0
= 0 ;
10052 char *kwnames
[] = {
10053 (char *) "self", NULL
10056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
10057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10058 if (SWIG_arg_fail(1)) SWIG_fail
;
10060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10061 result
= ((wxFont
const *)arg1
)->GetFaceName();
10063 wxPyEndAllowThreads(__tstate
);
10064 if (PyErr_Occurred()) SWIG_fail
;
10068 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10070 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10079 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10080 PyObject
*resultobj
= NULL
;
10081 wxFont
*arg1
= (wxFont
*) 0 ;
10082 wxFontEncoding result
;
10083 PyObject
* obj0
= 0 ;
10084 char *kwnames
[] = {
10085 (char *) "self", NULL
10088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
10089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10090 if (SWIG_arg_fail(1)) SWIG_fail
;
10092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10093 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
10095 wxPyEndAllowThreads(__tstate
);
10096 if (PyErr_Occurred()) SWIG_fail
;
10098 resultobj
= SWIG_From_int((result
));
10105 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
*resultobj
= NULL
;
10107 wxFont
*arg1
= (wxFont
*) 0 ;
10108 wxNativeFontInfo
*result
;
10109 PyObject
* obj0
= 0 ;
10110 char *kwnames
[] = {
10111 (char *) "self", NULL
10114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
10115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10116 if (SWIG_arg_fail(1)) SWIG_fail
;
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
10121 wxPyEndAllowThreads(__tstate
);
10122 if (PyErr_Occurred()) SWIG_fail
;
10124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
10131 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10132 PyObject
*resultobj
= NULL
;
10133 wxFont
*arg1
= (wxFont
*) 0 ;
10135 PyObject
* obj0
= 0 ;
10136 char *kwnames
[] = {
10137 (char *) "self", NULL
10140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
10141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10142 if (SWIG_arg_fail(1)) SWIG_fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
10147 wxPyEndAllowThreads(__tstate
);
10148 if (PyErr_Occurred()) SWIG_fail
;
10151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10159 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
= NULL
;
10161 wxFont
*arg1
= (wxFont
*) 0 ;
10163 PyObject
* obj0
= 0 ;
10164 char *kwnames
[] = {
10165 (char *) "self", NULL
10168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
10169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10170 if (SWIG_arg_fail(1)) SWIG_fail
;
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10180 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10182 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10191 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10192 PyObject
*resultobj
= NULL
;
10193 wxFont
*arg1
= (wxFont
*) 0 ;
10195 PyObject
* obj0
= 0 ;
10196 char *kwnames
[] = {
10197 (char *) "self", NULL
10200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
10201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10202 if (SWIG_arg_fail(1)) SWIG_fail
;
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
10207 wxPyEndAllowThreads(__tstate
);
10208 if (PyErr_Occurred()) SWIG_fail
;
10212 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10214 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10223 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10224 PyObject
*resultobj
= NULL
;
10225 wxFont
*arg1
= (wxFont
*) 0 ;
10227 PyObject
* obj0
= 0 ;
10228 PyObject
* obj1
= 0 ;
10229 char *kwnames
[] = {
10230 (char *) "self",(char *) "pointSize", NULL
10233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10235 if (SWIG_arg_fail(1)) SWIG_fail
;
10237 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10238 if (SWIG_arg_fail(2)) SWIG_fail
;
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 (arg1
)->SetPointSize(arg2
);
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) SWIG_fail
;
10247 Py_INCREF(Py_None
); resultobj
= Py_None
;
10254 static PyObject
*_wrap_Font_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
*resultobj
= NULL
;
10256 wxFont
*arg1
= (wxFont
*) 0 ;
10259 PyObject
* obj0
= 0 ;
10260 PyObject
* obj1
= 0 ;
10261 char *kwnames
[] = {
10262 (char *) "self",(char *) "pixelSize", NULL
10265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10267 if (SWIG_arg_fail(1)) SWIG_fail
;
10270 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10274 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10279 Py_INCREF(Py_None
); resultobj
= Py_None
;
10286 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
*resultobj
= NULL
;
10288 wxFont
*arg1
= (wxFont
*) 0 ;
10290 PyObject
* obj0
= 0 ;
10291 PyObject
* obj1
= 0 ;
10292 char *kwnames
[] = {
10293 (char *) "self",(char *) "family", NULL
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
10297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10298 if (SWIG_arg_fail(1)) SWIG_fail
;
10300 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10301 if (SWIG_arg_fail(2)) SWIG_fail
;
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 (arg1
)->SetFamily(arg2
);
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10310 Py_INCREF(Py_None
); resultobj
= Py_None
;
10317 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
*resultobj
= NULL
;
10319 wxFont
*arg1
= (wxFont
*) 0 ;
10321 PyObject
* obj0
= 0 ;
10322 PyObject
* obj1
= 0 ;
10323 char *kwnames
[] = {
10324 (char *) "self",(char *) "style", NULL
10327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10329 if (SWIG_arg_fail(1)) SWIG_fail
;
10331 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10332 if (SWIG_arg_fail(2)) SWIG_fail
;
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 (arg1
)->SetStyle(arg2
);
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10341 Py_INCREF(Py_None
); resultobj
= Py_None
;
10348 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10349 PyObject
*resultobj
= NULL
;
10350 wxFont
*arg1
= (wxFont
*) 0 ;
10352 PyObject
* obj0
= 0 ;
10353 PyObject
* obj1
= 0 ;
10354 char *kwnames
[] = {
10355 (char *) "self",(char *) "weight", NULL
10358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
10359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10360 if (SWIG_arg_fail(1)) SWIG_fail
;
10362 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10363 if (SWIG_arg_fail(2)) SWIG_fail
;
10366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10367 (arg1
)->SetWeight(arg2
);
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10372 Py_INCREF(Py_None
); resultobj
= Py_None
;
10379 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10380 PyObject
*resultobj
= NULL
;
10381 wxFont
*arg1
= (wxFont
*) 0 ;
10382 wxString
*arg2
= 0 ;
10383 bool temp2
= false ;
10384 PyObject
* obj0
= 0 ;
10385 PyObject
* obj1
= 0 ;
10386 char *kwnames
[] = {
10387 (char *) "self",(char *) "faceName", NULL
10390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
10391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10392 if (SWIG_arg_fail(1)) SWIG_fail
;
10394 arg2
= wxString_in_helper(obj1
);
10395 if (arg2
== NULL
) SWIG_fail
;
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 (arg1
)->SetFaceName((wxString
const &)*arg2
);
10402 wxPyEndAllowThreads(__tstate
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10405 Py_INCREF(Py_None
); resultobj
= Py_None
;
10420 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
*resultobj
= NULL
;
10422 wxFont
*arg1
= (wxFont
*) 0 ;
10424 PyObject
* obj0
= 0 ;
10425 PyObject
* obj1
= 0 ;
10426 char *kwnames
[] = {
10427 (char *) "self",(char *) "underlined", NULL
10430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
10431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10432 if (SWIG_arg_fail(1)) SWIG_fail
;
10434 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10435 if (SWIG_arg_fail(2)) SWIG_fail
;
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 (arg1
)->SetUnderlined(arg2
);
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10444 Py_INCREF(Py_None
); resultobj
= Py_None
;
10451 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
*resultobj
= NULL
;
10453 wxFont
*arg1
= (wxFont
*) 0 ;
10454 wxFontEncoding arg2
;
10455 PyObject
* obj0
= 0 ;
10456 PyObject
* obj1
= 0 ;
10457 char *kwnames
[] = {
10458 (char *) "self",(char *) "encoding", NULL
10461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
10462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10463 if (SWIG_arg_fail(1)) SWIG_fail
;
10465 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
10466 if (SWIG_arg_fail(2)) SWIG_fail
;
10469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10470 (arg1
)->SetEncoding(arg2
);
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10475 Py_INCREF(Py_None
); resultobj
= Py_None
;
10482 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10483 PyObject
*resultobj
= NULL
;
10484 wxFont
*arg1
= (wxFont
*) 0 ;
10485 wxNativeFontInfo
*arg2
= 0 ;
10486 PyObject
* obj0
= 0 ;
10487 PyObject
* obj1
= 0 ;
10488 char *kwnames
[] = {
10489 (char *) "self",(char *) "info", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
10493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10494 if (SWIG_arg_fail(1)) SWIG_fail
;
10496 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_EXCEPTION
| 0);
10497 if (SWIG_arg_fail(2)) SWIG_fail
;
10498 if (arg2
== NULL
) {
10499 SWIG_null_ref("wxNativeFontInfo");
10501 if (SWIG_arg_fail(2)) SWIG_fail
;
10504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10505 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
10507 wxPyEndAllowThreads(__tstate
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10510 Py_INCREF(Py_None
); resultobj
= Py_None
;
10517 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10518 PyObject
*resultobj
= NULL
;
10519 wxFont
*arg1
= (wxFont
*) 0 ;
10520 wxString
*arg2
= 0 ;
10521 bool temp2
= false ;
10522 PyObject
* obj0
= 0 ;
10523 PyObject
* obj1
= 0 ;
10524 char *kwnames
[] = {
10525 (char *) "self",(char *) "info", NULL
10528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
10529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10530 if (SWIG_arg_fail(1)) SWIG_fail
;
10532 arg2
= wxString_in_helper(obj1
);
10533 if (arg2
== NULL
) SWIG_fail
;
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10538 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10543 Py_INCREF(Py_None
); resultobj
= Py_None
;
10558 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
*resultobj
= NULL
;
10560 wxFont
*arg1
= (wxFont
*) 0 ;
10561 wxString
*arg2
= 0 ;
10562 bool temp2
= false ;
10563 PyObject
* obj0
= 0 ;
10564 PyObject
* obj1
= 0 ;
10565 char *kwnames
[] = {
10566 (char *) "self",(char *) "info", NULL
10569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
10570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10571 if (SWIG_arg_fail(1)) SWIG_fail
;
10573 arg2
= wxString_in_helper(obj1
);
10574 if (arg2
== NULL
) SWIG_fail
;
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10584 Py_INCREF(Py_None
); resultobj
= Py_None
;
10599 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
= NULL
;
10601 wxFont
*arg1
= (wxFont
*) 0 ;
10603 PyObject
* obj0
= 0 ;
10604 char *kwnames
[] = {
10605 (char *) "self", NULL
10608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
10609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10610 if (SWIG_arg_fail(1)) SWIG_fail
;
10612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10613 result
= ((wxFont
const *)arg1
)->GetFamilyString();
10615 wxPyEndAllowThreads(__tstate
);
10616 if (PyErr_Occurred()) SWIG_fail
;
10620 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10622 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10631 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10632 PyObject
*resultobj
= NULL
;
10633 wxFont
*arg1
= (wxFont
*) 0 ;
10635 PyObject
* obj0
= 0 ;
10636 char *kwnames
[] = {
10637 (char *) "self", NULL
10640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
10641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10642 if (SWIG_arg_fail(1)) SWIG_fail
;
10644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10645 result
= ((wxFont
const *)arg1
)->GetStyleString();
10647 wxPyEndAllowThreads(__tstate
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10652 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10654 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10663 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
*resultobj
= NULL
;
10665 wxFont
*arg1
= (wxFont
*) 0 ;
10667 PyObject
* obj0
= 0 ;
10668 char *kwnames
[] = {
10669 (char *) "self", NULL
10672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
10673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10674 if (SWIG_arg_fail(1)) SWIG_fail
;
10676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10677 result
= ((wxFont
const *)arg1
)->GetWeightString();
10679 wxPyEndAllowThreads(__tstate
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10684 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10686 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10695 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10696 PyObject
*resultobj
= NULL
;
10697 wxFont
*arg1
= (wxFont
*) 0 ;
10698 bool arg2
= (bool) true ;
10699 PyObject
* obj0
= 0 ;
10700 PyObject
* obj1
= 0 ;
10701 char *kwnames
[] = {
10702 (char *) "self",(char *) "no", NULL
10705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
10706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10707 if (SWIG_arg_fail(1)) SWIG_fail
;
10710 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
10711 if (SWIG_arg_fail(2)) SWIG_fail
;
10715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10716 (arg1
)->SetNoAntiAliasing(arg2
);
10718 wxPyEndAllowThreads(__tstate
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10721 Py_INCREF(Py_None
); resultobj
= Py_None
;
10728 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10729 PyObject
*resultobj
= NULL
;
10730 wxFont
*arg1
= (wxFont
*) 0 ;
10732 PyObject
* obj0
= 0 ;
10733 char *kwnames
[] = {
10734 (char *) "self", NULL
10737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
10738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
10739 if (SWIG_arg_fail(1)) SWIG_fail
;
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10756 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10757 PyObject
*resultobj
= NULL
;
10758 wxFontEncoding result
;
10759 char *kwnames
[] = {
10763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
10765 if (!wxPyCheckForApp()) SWIG_fail
;
10766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10767 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
10769 wxPyEndAllowThreads(__tstate
);
10770 if (PyErr_Occurred()) SWIG_fail
;
10772 resultobj
= SWIG_From_int((result
));
10779 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10780 PyObject
*resultobj
= NULL
;
10781 wxFontEncoding arg1
;
10782 PyObject
* obj0
= 0 ;
10783 char *kwnames
[] = {
10784 (char *) "encoding", NULL
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
10789 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
10790 if (SWIG_arg_fail(1)) SWIG_fail
;
10793 if (!wxPyCheckForApp()) SWIG_fail
;
10794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10795 wxFont::SetDefaultEncoding(arg1
);
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10800 Py_INCREF(Py_None
); resultobj
= Py_None
;
10807 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
10809 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10810 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
10812 return Py_BuildValue((char *)"");
10814 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
= NULL
;
10816 wxPyFontEnumerator
*result
;
10817 char *kwnames
[] = {
10821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
10823 if (!wxPyCheckForApp()) SWIG_fail
;
10824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10825 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
10827 wxPyEndAllowThreads(__tstate
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
10837 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10838 PyObject
*resultobj
= NULL
;
10839 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10840 PyObject
* obj0
= 0 ;
10841 char *kwnames
[] = {
10842 (char *) "self", NULL
10845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
10846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10847 if (SWIG_arg_fail(1)) SWIG_fail
;
10849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 wxPyEndAllowThreads(__tstate
);
10853 if (PyErr_Occurred()) SWIG_fail
;
10855 Py_INCREF(Py_None
); resultobj
= Py_None
;
10862 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10863 PyObject
*resultobj
= NULL
;
10864 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10865 PyObject
*arg2
= (PyObject
*) 0 ;
10866 PyObject
*arg3
= (PyObject
*) 0 ;
10868 PyObject
* obj0
= 0 ;
10869 PyObject
* obj1
= 0 ;
10870 PyObject
* obj2
= 0 ;
10871 PyObject
* obj3
= 0 ;
10872 char *kwnames
[] = {
10873 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
10876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10878 if (SWIG_arg_fail(1)) SWIG_fail
;
10882 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
10883 if (SWIG_arg_fail(4)) SWIG_fail
;
10886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10892 Py_INCREF(Py_None
); resultobj
= Py_None
;
10899 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
= NULL
;
10901 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10902 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
10903 bool arg3
= (bool) false ;
10905 PyObject
* obj0
= 0 ;
10906 PyObject
* obj1
= 0 ;
10907 PyObject
* obj2
= 0 ;
10908 char *kwnames
[] = {
10909 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
10912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10914 if (SWIG_arg_fail(1)) SWIG_fail
;
10917 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
10918 if (SWIG_arg_fail(2)) SWIG_fail
;
10923 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
10924 if (SWIG_arg_fail(3)) SWIG_fail
;
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10943 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
= NULL
;
10945 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10946 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10947 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10949 bool temp2
= false ;
10950 PyObject
* obj0
= 0 ;
10951 PyObject
* obj1
= 0 ;
10952 char *kwnames
[] = {
10953 (char *) "self",(char *) "facename", NULL
10956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
10957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
10958 if (SWIG_arg_fail(1)) SWIG_fail
;
10961 arg2
= wxString_in_helper(obj1
);
10962 if (arg2
== NULL
) SWIG_fail
;
10967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10968 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
10970 wxPyEndAllowThreads(__tstate
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10990 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10991 PyObject
*resultobj
= NULL
;
10992 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
10994 PyObject
* obj0
= 0 ;
10995 char *kwnames
[] = {
10996 (char *) "self", NULL
10999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
11000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11001 if (SWIG_arg_fail(1)) SWIG_fail
;
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11009 resultobj
= result
;
11016 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
= NULL
;
11018 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
11020 PyObject
* obj0
= 0 ;
11021 char *kwnames
[] = {
11022 (char *) "self", NULL
11025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
11026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_EXCEPTION
| 0);
11027 if (SWIG_arg_fail(1)) SWIG_fail
;
11029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11030 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
11032 wxPyEndAllowThreads(__tstate
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11035 resultobj
= result
;
11042 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
11044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11045 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
11047 return Py_BuildValue((char *)"");
11049 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11050 PyObject
*resultobj
= NULL
;
11051 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11053 PyObject
* obj0
= 0 ;
11054 PyObject
* obj1
= 0 ;
11055 char *kwnames
[] = {
11056 (char *) "self",(char *) "Language", NULL
11059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11061 if (SWIG_arg_fail(1)) SWIG_fail
;
11063 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11064 if (SWIG_arg_fail(2)) SWIG_fail
;
11066 if (arg1
) (arg1
)->Language
= arg2
;
11068 Py_INCREF(Py_None
); resultobj
= Py_None
;
11075 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11076 PyObject
*resultobj
= NULL
;
11077 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11079 PyObject
* obj0
= 0 ;
11080 char *kwnames
[] = {
11081 (char *) "self", NULL
11084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
11085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11086 if (SWIG_arg_fail(1)) SWIG_fail
;
11087 result
= (int) ((arg1
)->Language
);
11090 resultobj
= SWIG_From_int(static_cast<int >(result
));
11098 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11099 PyObject
*resultobj
= NULL
;
11100 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11101 wxString
*arg2
= (wxString
*) 0 ;
11102 bool temp2
= false ;
11103 PyObject
* obj0
= 0 ;
11104 PyObject
* obj1
= 0 ;
11105 char *kwnames
[] = {
11106 (char *) "self",(char *) "CanonicalName", NULL
11109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11111 if (SWIG_arg_fail(1)) SWIG_fail
;
11113 arg2
= wxString_in_helper(obj1
);
11114 if (arg2
== NULL
) SWIG_fail
;
11117 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
11119 Py_INCREF(Py_None
); resultobj
= Py_None
;
11134 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11135 PyObject
*resultobj
= NULL
;
11136 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11138 PyObject
* obj0
= 0 ;
11139 char *kwnames
[] = {
11140 (char *) "self", NULL
11143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
11144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11145 if (SWIG_arg_fail(1)) SWIG_fail
;
11146 result
= (wxString
*)& ((arg1
)->CanonicalName
);
11150 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11152 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11161 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11162 PyObject
*resultobj
= NULL
;
11163 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11164 wxString
*arg2
= (wxString
*) 0 ;
11165 bool temp2
= false ;
11166 PyObject
* obj0
= 0 ;
11167 PyObject
* obj1
= 0 ;
11168 char *kwnames
[] = {
11169 (char *) "self",(char *) "Description", NULL
11172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11174 if (SWIG_arg_fail(1)) SWIG_fail
;
11176 arg2
= wxString_in_helper(obj1
);
11177 if (arg2
== NULL
) SWIG_fail
;
11180 if (arg1
) (arg1
)->Description
= *arg2
;
11182 Py_INCREF(Py_None
); resultobj
= Py_None
;
11197 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
*resultobj
= NULL
;
11199 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
11201 PyObject
* obj0
= 0 ;
11202 char *kwnames
[] = {
11203 (char *) "self", NULL
11206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
11207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11208 if (SWIG_arg_fail(1)) SWIG_fail
;
11209 result
= (wxString
*)& ((arg1
)->Description
);
11213 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11215 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11224 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
11226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11227 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
11229 return Py_BuildValue((char *)"");
11231 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
= NULL
;
11233 int arg1
= (int) -1 ;
11234 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
11236 PyObject
* obj0
= 0 ;
11237 PyObject
* obj1
= 0 ;
11238 char *kwnames
[] = {
11239 (char *) "language",(char *) "flags", NULL
11242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
11245 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11246 if (SWIG_arg_fail(1)) SWIG_fail
;
11251 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11252 if (SWIG_arg_fail(2)) SWIG_fail
;
11256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11257 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
11259 wxPyEndAllowThreads(__tstate
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
11269 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11270 PyObject
*resultobj
= NULL
;
11271 wxLocale
*arg1
= (wxLocale
*) 0 ;
11272 PyObject
* obj0
= 0 ;
11273 char *kwnames
[] = {
11274 (char *) "self", NULL
11277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
11278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11279 if (SWIG_arg_fail(1)) SWIG_fail
;
11281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 wxPyEndAllowThreads(__tstate
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11287 Py_INCREF(Py_None
); resultobj
= Py_None
;
11294 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11295 PyObject
*resultobj
= NULL
;
11296 wxLocale
*arg1
= (wxLocale
*) 0 ;
11297 wxString
*arg2
= 0 ;
11298 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11299 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11300 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11301 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11302 bool arg5
= (bool) true ;
11303 bool arg6
= (bool) false ;
11305 bool temp2
= false ;
11306 bool temp3
= false ;
11307 bool temp4
= false ;
11308 PyObject
* obj0
= 0 ;
11309 PyObject
* obj1
= 0 ;
11310 PyObject
* obj2
= 0 ;
11311 PyObject
* obj3
= 0 ;
11312 PyObject
* obj4
= 0 ;
11313 PyObject
* obj5
= 0 ;
11314 char *kwnames
[] = {
11315 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
11318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11320 if (SWIG_arg_fail(1)) SWIG_fail
;
11322 arg2
= wxString_in_helper(obj1
);
11323 if (arg2
== NULL
) SWIG_fail
;
11328 arg3
= wxString_in_helper(obj2
);
11329 if (arg3
== NULL
) SWIG_fail
;
11335 arg4
= wxString_in_helper(obj3
);
11336 if (arg4
== NULL
) SWIG_fail
;
11342 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
11343 if (SWIG_arg_fail(5)) SWIG_fail
;
11348 arg6
= static_cast<bool >(SWIG_As_bool(obj5
));
11349 if (SWIG_arg_fail(6)) SWIG_fail
;
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
11356 wxPyEndAllowThreads(__tstate
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11392 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11393 PyObject
*resultobj
= NULL
;
11394 wxLocale
*arg1
= (wxLocale
*) 0 ;
11395 int arg2
= (int) wxLANGUAGE_DEFAULT
;
11396 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
11398 PyObject
* obj0
= 0 ;
11399 PyObject
* obj1
= 0 ;
11400 PyObject
* obj2
= 0 ;
11401 char *kwnames
[] = {
11402 (char *) "self",(char *) "language",(char *) "flags", NULL
11405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11407 if (SWIG_arg_fail(1)) SWIG_fail
;
11410 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11411 if (SWIG_arg_fail(2)) SWIG_fail
;
11416 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11417 if (SWIG_arg_fail(3)) SWIG_fail
;
11421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11422 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
11424 wxPyEndAllowThreads(__tstate
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11436 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11437 PyObject
*resultobj
= NULL
;
11439 char *kwnames
[] = {
11443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 result
= (int)wxLocale::GetSystemLanguage();
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11452 resultobj
= SWIG_From_int(static_cast<int >(result
));
11460 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11461 PyObject
*resultobj
= NULL
;
11462 wxFontEncoding result
;
11463 char *kwnames
[] = {
11467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
11469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11470 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
11472 wxPyEndAllowThreads(__tstate
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11475 resultobj
= SWIG_From_int((result
));
11482 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11483 PyObject
*resultobj
= NULL
;
11485 char *kwnames
[] = {
11489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
11491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11492 result
= wxLocale::GetSystemEncodingName();
11494 wxPyEndAllowThreads(__tstate
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11499 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11501 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11510 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11511 PyObject
*resultobj
= NULL
;
11512 wxLocale
*arg1
= (wxLocale
*) 0 ;
11514 PyObject
* obj0
= 0 ;
11515 char *kwnames
[] = {
11516 (char *) "self", NULL
11519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
11520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11521 if (SWIG_arg_fail(1)) SWIG_fail
;
11523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11524 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
11526 wxPyEndAllowThreads(__tstate
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11538 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11539 PyObject
*resultobj
= NULL
;
11540 wxLocale
*arg1
= (wxLocale
*) 0 ;
11542 PyObject
* obj0
= 0 ;
11543 char *kwnames
[] = {
11544 (char *) "self", NULL
11547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
11548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11549 if (SWIG_arg_fail(1)) SWIG_fail
;
11551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11552 result
= ((wxLocale
const *)arg1
)->GetLocale();
11554 wxPyEndAllowThreads(__tstate
);
11555 if (PyErr_Occurred()) SWIG_fail
;
11559 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11561 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11570 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11571 PyObject
*resultobj
= NULL
;
11572 wxLocale
*arg1
= (wxLocale
*) 0 ;
11574 PyObject
* obj0
= 0 ;
11575 char *kwnames
[] = {
11576 (char *) "self", NULL
11579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
11580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11581 if (SWIG_arg_fail(1)) SWIG_fail
;
11583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11584 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
11586 wxPyEndAllowThreads(__tstate
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11590 resultobj
= SWIG_From_int(static_cast<int >(result
));
11598 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11599 PyObject
*resultobj
= NULL
;
11600 wxLocale
*arg1
= (wxLocale
*) 0 ;
11602 PyObject
* obj0
= 0 ;
11603 char *kwnames
[] = {
11604 (char *) "self", NULL
11607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
11608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11609 if (SWIG_arg_fail(1)) SWIG_fail
;
11611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11612 result
= ((wxLocale
const *)arg1
)->GetSysName();
11614 wxPyEndAllowThreads(__tstate
);
11615 if (PyErr_Occurred()) SWIG_fail
;
11619 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11621 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11630 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11631 PyObject
*resultobj
= NULL
;
11632 wxLocale
*arg1
= (wxLocale
*) 0 ;
11634 PyObject
* obj0
= 0 ;
11635 char *kwnames
[] = {
11636 (char *) "self", NULL
11639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
11640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11641 if (SWIG_arg_fail(1)) SWIG_fail
;
11643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11644 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
11646 wxPyEndAllowThreads(__tstate
);
11647 if (PyErr_Occurred()) SWIG_fail
;
11651 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11653 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11662 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11663 PyObject
*resultobj
= NULL
;
11664 wxString
*arg1
= 0 ;
11665 bool temp1
= false ;
11666 PyObject
* obj0
= 0 ;
11667 char *kwnames
[] = {
11668 (char *) "prefix", NULL
11671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
11673 arg1
= wxString_in_helper(obj0
);
11674 if (arg1
== NULL
) SWIG_fail
;
11678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11679 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
11681 wxPyEndAllowThreads(__tstate
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11684 Py_INCREF(Py_None
); resultobj
= Py_None
;
11699 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11700 PyObject
*resultobj
= NULL
;
11701 wxLocale
*arg1
= (wxLocale
*) 0 ;
11702 wxString
*arg2
= 0 ;
11704 bool temp2
= false ;
11705 PyObject
* obj0
= 0 ;
11706 PyObject
* obj1
= 0 ;
11707 char *kwnames
[] = {
11708 (char *) "self",(char *) "szDomain", NULL
11711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
11712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11713 if (SWIG_arg_fail(1)) SWIG_fail
;
11715 arg2
= wxString_in_helper(obj1
);
11716 if (arg2
== NULL
) SWIG_fail
;
11720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11721 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
11723 wxPyEndAllowThreads(__tstate
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11743 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11744 PyObject
*resultobj
= NULL
;
11745 wxLocale
*arg1
= (wxLocale
*) 0 ;
11746 wxString
*arg2
= 0 ;
11748 bool temp2
= false ;
11749 PyObject
* obj0
= 0 ;
11750 PyObject
* obj1
= 0 ;
11751 char *kwnames
[] = {
11752 (char *) "self",(char *) "szDomain", NULL
11755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
11756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11757 if (SWIG_arg_fail(1)) SWIG_fail
;
11759 arg2
= wxString_in_helper(obj1
);
11760 if (arg2
== NULL
) SWIG_fail
;
11764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11765 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
11767 wxPyEndAllowThreads(__tstate
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11787 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11788 PyObject
*resultobj
= NULL
;
11790 wxLanguageInfo
*result
;
11791 PyObject
* obj0
= 0 ;
11792 char *kwnames
[] = {
11793 (char *) "lang", NULL
11796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
11798 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11799 if (SWIG_arg_fail(1)) SWIG_fail
;
11802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11803 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
11805 wxPyEndAllowThreads(__tstate
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
11815 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11816 PyObject
*resultobj
= NULL
;
11819 PyObject
* obj0
= 0 ;
11820 char *kwnames
[] = {
11821 (char *) "lang", NULL
11824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
11826 arg1
= static_cast<int >(SWIG_As_int(obj0
));
11827 if (SWIG_arg_fail(1)) SWIG_fail
;
11830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11831 result
= wxLocale::GetLanguageName(arg1
);
11833 wxPyEndAllowThreads(__tstate
);
11834 if (PyErr_Occurred()) SWIG_fail
;
11838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11849 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11850 PyObject
*resultobj
= NULL
;
11851 wxString
*arg1
= 0 ;
11852 wxLanguageInfo
*result
;
11853 bool temp1
= false ;
11854 PyObject
* obj0
= 0 ;
11855 char *kwnames
[] = {
11856 (char *) "locale", NULL
11859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
11861 arg1
= wxString_in_helper(obj0
);
11862 if (arg1
== NULL
) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
11887 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11888 PyObject
*resultobj
= NULL
;
11889 wxLanguageInfo
*arg1
= 0 ;
11890 PyObject
* obj0
= 0 ;
11891 char *kwnames
[] = {
11892 (char *) "info", NULL
11895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
11897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLanguageInfo
, SWIG_POINTER_EXCEPTION
| 0);
11898 if (SWIG_arg_fail(1)) SWIG_fail
;
11899 if (arg1
== NULL
) {
11900 SWIG_null_ref("wxLanguageInfo");
11902 if (SWIG_arg_fail(1)) SWIG_fail
;
11905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11906 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
11908 wxPyEndAllowThreads(__tstate
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11911 Py_INCREF(Py_None
); resultobj
= Py_None
;
11918 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11919 PyObject
*resultobj
= NULL
;
11920 wxLocale
*arg1
= (wxLocale
*) 0 ;
11921 wxString
*arg2
= 0 ;
11922 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11923 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11925 bool temp2
= false ;
11926 bool temp3
= false ;
11927 PyObject
* obj0
= 0 ;
11928 PyObject
* obj1
= 0 ;
11929 PyObject
* obj2
= 0 ;
11930 char *kwnames
[] = {
11931 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
11934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11936 if (SWIG_arg_fail(1)) SWIG_fail
;
11938 arg2
= wxString_in_helper(obj1
);
11939 if (arg2
== NULL
) SWIG_fail
;
11944 arg3
= wxString_in_helper(obj2
);
11945 if (arg3
== NULL
) SWIG_fail
;
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11985 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11986 PyObject
*resultobj
= NULL
;
11987 wxLocale
*arg1
= (wxLocale
*) 0 ;
11989 PyObject
* obj0
= 0 ;
11990 char *kwnames
[] = {
11991 (char *) "self", NULL
11994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
11995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLocale
, SWIG_POINTER_EXCEPTION
| 0);
11996 if (SWIG_arg_fail(1)) SWIG_fail
;
11998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12000 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
12001 result
= (wxString
*) &_result_ref
;
12004 wxPyEndAllowThreads(__tstate
);
12005 if (PyErr_Occurred()) SWIG_fail
;
12009 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12011 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12020 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
12022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12023 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
12025 return Py_BuildValue((char *)"");
12027 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12028 PyObject
*resultobj
= NULL
;
12030 char *kwnames
[] = {
12034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
12036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12037 result
= (wxLocale
*)wxGetLocale();
12039 wxPyEndAllowThreads(__tstate
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
12049 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
12050 PyObject
*resultobj
= NULL
;
12051 wxString
*arg1
= 0 ;
12053 bool temp1
= false ;
12054 PyObject
* obj0
= 0 ;
12056 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
12058 arg1
= wxString_in_helper(obj0
);
12059 if (arg1
== NULL
) SWIG_fail
;
12063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 result
= wxGetTranslation((wxString
const &)*arg1
);
12066 wxPyEndAllowThreads(__tstate
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12090 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
12091 PyObject
*resultobj
= NULL
;
12092 wxString
*arg1
= 0 ;
12093 wxString
*arg2
= 0 ;
12096 bool temp1
= false ;
12097 bool temp2
= false ;
12098 PyObject
* obj0
= 0 ;
12099 PyObject
* obj1
= 0 ;
12100 PyObject
* obj2
= 0 ;
12102 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
12104 arg1
= wxString_in_helper(obj0
);
12105 if (arg1
== NULL
) SWIG_fail
;
12109 arg2
= wxString_in_helper(obj1
);
12110 if (arg2
== NULL
) SWIG_fail
;
12114 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
12115 if (SWIG_arg_fail(3)) SWIG_fail
;
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12128 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12153 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
12158 argc
= PyObject_Length(args
);
12159 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
12160 argv
[ii
] = PyTuple_GetItem(args
,ii
);
12165 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12168 return _wrap_GetTranslation__SWIG_0(self
,args
);
12174 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12178 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
12181 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
12183 return _wrap_GetTranslation__SWIG_1(self
,args
);
12189 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
12194 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12195 PyObject
*resultobj
= NULL
;
12196 wxEncodingConverter
*result
;
12197 char *kwnames
[] = {
12201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
12203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12204 result
= (wxEncodingConverter
*)new wxEncodingConverter();
12206 wxPyEndAllowThreads(__tstate
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
12216 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12217 PyObject
*resultobj
= NULL
;
12218 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12219 PyObject
* obj0
= 0 ;
12220 char *kwnames
[] = {
12221 (char *) "self", NULL
12224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
12225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12226 if (SWIG_arg_fail(1)) SWIG_fail
;
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12234 Py_INCREF(Py_None
); resultobj
= Py_None
;
12241 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12242 PyObject
*resultobj
= NULL
;
12243 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12244 wxFontEncoding arg2
;
12245 wxFontEncoding arg3
;
12246 int arg4
= (int) wxCONVERT_STRICT
;
12248 PyObject
* obj0
= 0 ;
12249 PyObject
* obj1
= 0 ;
12250 PyObject
* obj2
= 0 ;
12251 PyObject
* obj3
= 0 ;
12252 char *kwnames
[] = {
12253 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
12256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12258 if (SWIG_arg_fail(1)) SWIG_fail
;
12260 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
12261 if (SWIG_arg_fail(2)) SWIG_fail
;
12264 arg3
= static_cast<wxFontEncoding
>(SWIG_As_int(obj2
));
12265 if (SWIG_arg_fail(3)) SWIG_fail
;
12269 arg4
= static_cast<int >(SWIG_As_int(obj3
));
12270 if (SWIG_arg_fail(4)) SWIG_fail
;
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12275 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
12277 wxPyEndAllowThreads(__tstate
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12289 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12290 PyObject
*resultobj
= NULL
;
12291 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
12292 wxString
*arg2
= 0 ;
12294 bool temp2
= false ;
12295 PyObject
* obj0
= 0 ;
12296 PyObject
* obj1
= 0 ;
12297 char *kwnames
[] = {
12298 (char *) "self",(char *) "input", NULL
12301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
12302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_EXCEPTION
| 0);
12303 if (SWIG_arg_fail(1)) SWIG_fail
;
12305 arg2
= wxString_in_helper(obj1
);
12306 if (arg2
== NULL
) SWIG_fail
;
12310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12311 result
= (arg1
)->Convert((wxString
const &)*arg2
);
12313 wxPyEndAllowThreads(__tstate
);
12314 if (PyErr_Occurred()) SWIG_fail
;
12318 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12320 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12337 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12338 PyObject
*resultobj
= NULL
;
12339 wxFontEncoding arg1
;
12340 int arg2
= (int) wxPLATFORM_CURRENT
;
12341 wxFontEncodingArray result
;
12342 PyObject
* obj0
= 0 ;
12343 PyObject
* obj1
= 0 ;
12344 char *kwnames
[] = {
12345 (char *) "enc",(char *) "platform", NULL
12348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
12350 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
12351 if (SWIG_arg_fail(1)) SWIG_fail
;
12355 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12356 if (SWIG_arg_fail(2)) SWIG_fail
;
12360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12361 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
12363 wxPyEndAllowThreads(__tstate
);
12364 if (PyErr_Occurred()) SWIG_fail
;
12367 resultobj
= PyList_New(0);
12368 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12369 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12370 PyList_Append(resultobj
, number
);
12380 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12381 PyObject
*resultobj
= NULL
;
12382 wxFontEncoding arg1
;
12383 wxFontEncodingArray result
;
12384 PyObject
* obj0
= 0 ;
12385 char *kwnames
[] = {
12386 (char *) "enc", NULL
12389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
12391 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
12392 if (SWIG_arg_fail(1)) SWIG_fail
;
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
12398 wxPyEndAllowThreads(__tstate
);
12399 if (PyErr_Occurred()) SWIG_fail
;
12402 resultobj
= PyList_New(0);
12403 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
12404 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
12405 PyList_Append(resultobj
, number
);
12415 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
= NULL
;
12417 wxFontEncoding arg1
;
12418 wxFontEncoding arg2
;
12420 PyObject
* obj0
= 0 ;
12421 PyObject
* obj1
= 0 ;
12422 char *kwnames
[] = {
12423 (char *) "encIn",(char *) "encOut", NULL
12426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
12428 arg1
= static_cast<wxFontEncoding
>(SWIG_As_int(obj0
));
12429 if (SWIG_arg_fail(1)) SWIG_fail
;
12432 arg2
= static_cast<wxFontEncoding
>(SWIG_As_int(obj1
));
12433 if (SWIG_arg_fail(2)) SWIG_fail
;
12436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12437 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
12439 wxPyEndAllowThreads(__tstate
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12451 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
12453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12454 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
12456 return Py_BuildValue((char *)"");
12458 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12459 PyObject
*resultobj
= NULL
;
12460 wxDC
*arg1
= (wxDC
*) 0 ;
12461 PyObject
* obj0
= 0 ;
12462 char *kwnames
[] = {
12463 (char *) "self", NULL
12466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
12467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12468 if (SWIG_arg_fail(1)) SWIG_fail
;
12470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12473 wxPyEndAllowThreads(__tstate
);
12474 if (PyErr_Occurred()) SWIG_fail
;
12476 Py_INCREF(Py_None
); resultobj
= Py_None
;
12483 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12484 PyObject
*resultobj
= NULL
;
12485 wxDC
*arg1
= (wxDC
*) 0 ;
12486 PyObject
* obj0
= 0 ;
12487 char *kwnames
[] = {
12488 (char *) "self", NULL
12491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
12492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12493 if (SWIG_arg_fail(1)) SWIG_fail
;
12495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12496 (arg1
)->BeginDrawing();
12498 wxPyEndAllowThreads(__tstate
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12501 Py_INCREF(Py_None
); resultobj
= Py_None
;
12508 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12509 PyObject
*resultobj
= NULL
;
12510 wxDC
*arg1
= (wxDC
*) 0 ;
12511 PyObject
* obj0
= 0 ;
12512 char *kwnames
[] = {
12513 (char *) "self", NULL
12516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
12517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12518 if (SWIG_arg_fail(1)) SWIG_fail
;
12520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12521 (arg1
)->EndDrawing();
12523 wxPyEndAllowThreads(__tstate
);
12524 if (PyErr_Occurred()) SWIG_fail
;
12526 Py_INCREF(Py_None
); resultobj
= Py_None
;
12533 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12534 PyObject
*resultobj
= NULL
;
12535 wxDC
*arg1
= (wxDC
*) 0 ;
12538 wxColour
*arg4
= 0 ;
12539 int arg5
= (int) wxFLOOD_SURFACE
;
12542 PyObject
* obj0
= 0 ;
12543 PyObject
* obj1
= 0 ;
12544 PyObject
* obj2
= 0 ;
12545 PyObject
* obj3
= 0 ;
12546 PyObject
* obj4
= 0 ;
12547 char *kwnames
[] = {
12548 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
12551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12553 if (SWIG_arg_fail(1)) SWIG_fail
;
12555 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12556 if (SWIG_arg_fail(2)) SWIG_fail
;
12559 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12560 if (SWIG_arg_fail(3)) SWIG_fail
;
12564 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12568 arg5
= static_cast<int >(SWIG_As_int(obj4
));
12569 if (SWIG_arg_fail(5)) SWIG_fail
;
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
12576 wxPyEndAllowThreads(__tstate
);
12577 if (PyErr_Occurred()) SWIG_fail
;
12580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12588 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12589 PyObject
*resultobj
= NULL
;
12590 wxDC
*arg1
= (wxDC
*) 0 ;
12591 wxPoint
*arg2
= 0 ;
12592 wxColour
*arg3
= 0 ;
12593 int arg4
= (int) wxFLOOD_SURFACE
;
12597 PyObject
* obj0
= 0 ;
12598 PyObject
* obj1
= 0 ;
12599 PyObject
* obj2
= 0 ;
12600 PyObject
* obj3
= 0 ;
12601 char *kwnames
[] = {
12602 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
12605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12607 if (SWIG_arg_fail(1)) SWIG_fail
;
12610 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12614 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12618 arg4
= static_cast<int >(SWIG_As_int(obj3
));
12619 if (SWIG_arg_fail(4)) SWIG_fail
;
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12638 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12639 PyObject
*resultobj
= NULL
;
12640 wxDC
*arg1
= (wxDC
*) 0 ;
12644 PyObject
* obj0
= 0 ;
12645 PyObject
* obj1
= 0 ;
12646 PyObject
* obj2
= 0 ;
12647 char *kwnames
[] = {
12648 (char *) "self",(char *) "x",(char *) "y", NULL
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12653 if (SWIG_arg_fail(1)) SWIG_fail
;
12655 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12656 if (SWIG_arg_fail(2)) SWIG_fail
;
12659 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12660 if (SWIG_arg_fail(3)) SWIG_fail
;
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12670 wxColour
* resultptr
;
12671 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
12672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12680 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12681 PyObject
*resultobj
= NULL
;
12682 wxDC
*arg1
= (wxDC
*) 0 ;
12683 wxPoint
*arg2
= 0 ;
12686 PyObject
* obj0
= 0 ;
12687 PyObject
* obj1
= 0 ;
12688 char *kwnames
[] = {
12689 (char *) "self",(char *) "pt", NULL
12692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12694 if (SWIG_arg_fail(1)) SWIG_fail
;
12697 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12701 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
12703 wxPyEndAllowThreads(__tstate
);
12704 if (PyErr_Occurred()) SWIG_fail
;
12707 wxColour
* resultptr
;
12708 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
12709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12717 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12718 PyObject
*resultobj
= NULL
;
12719 wxDC
*arg1
= (wxDC
*) 0 ;
12724 PyObject
* obj0
= 0 ;
12725 PyObject
* obj1
= 0 ;
12726 PyObject
* obj2
= 0 ;
12727 PyObject
* obj3
= 0 ;
12728 PyObject
* obj4
= 0 ;
12729 char *kwnames
[] = {
12730 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
12733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12735 if (SWIG_arg_fail(1)) SWIG_fail
;
12737 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12738 if (SWIG_arg_fail(2)) SWIG_fail
;
12741 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12742 if (SWIG_arg_fail(3)) SWIG_fail
;
12745 arg4
= static_cast<int >(SWIG_As_int(obj3
));
12746 if (SWIG_arg_fail(4)) SWIG_fail
;
12749 arg5
= static_cast<int >(SWIG_As_int(obj4
));
12750 if (SWIG_arg_fail(5)) SWIG_fail
;
12753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12754 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
12756 wxPyEndAllowThreads(__tstate
);
12757 if (PyErr_Occurred()) SWIG_fail
;
12759 Py_INCREF(Py_None
); resultobj
= Py_None
;
12766 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12767 PyObject
*resultobj
= NULL
;
12768 wxDC
*arg1
= (wxDC
*) 0 ;
12769 wxPoint
*arg2
= 0 ;
12770 wxPoint
*arg3
= 0 ;
12773 PyObject
* obj0
= 0 ;
12774 PyObject
* obj1
= 0 ;
12775 PyObject
* obj2
= 0 ;
12776 char *kwnames
[] = {
12777 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
12780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12782 if (SWIG_arg_fail(1)) SWIG_fail
;
12785 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12789 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12793 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
12795 wxPyEndAllowThreads(__tstate
);
12796 if (PyErr_Occurred()) SWIG_fail
;
12798 Py_INCREF(Py_None
); resultobj
= Py_None
;
12805 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12806 PyObject
*resultobj
= NULL
;
12807 wxDC
*arg1
= (wxDC
*) 0 ;
12810 PyObject
* obj0
= 0 ;
12811 PyObject
* obj1
= 0 ;
12812 PyObject
* obj2
= 0 ;
12813 char *kwnames
[] = {
12814 (char *) "self",(char *) "x",(char *) "y", NULL
12817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12819 if (SWIG_arg_fail(1)) SWIG_fail
;
12821 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12822 if (SWIG_arg_fail(2)) SWIG_fail
;
12825 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12826 if (SWIG_arg_fail(3)) SWIG_fail
;
12829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12830 (arg1
)->CrossHair(arg2
,arg3
);
12832 wxPyEndAllowThreads(__tstate
);
12833 if (PyErr_Occurred()) SWIG_fail
;
12835 Py_INCREF(Py_None
); resultobj
= Py_None
;
12842 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12843 PyObject
*resultobj
= NULL
;
12844 wxDC
*arg1
= (wxDC
*) 0 ;
12845 wxPoint
*arg2
= 0 ;
12847 PyObject
* obj0
= 0 ;
12848 PyObject
* obj1
= 0 ;
12849 char *kwnames
[] = {
12850 (char *) "self",(char *) "pt", NULL
12853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12855 if (SWIG_arg_fail(1)) SWIG_fail
;
12858 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12862 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
12864 wxPyEndAllowThreads(__tstate
);
12865 if (PyErr_Occurred()) SWIG_fail
;
12867 Py_INCREF(Py_None
); resultobj
= Py_None
;
12874 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12875 PyObject
*resultobj
= NULL
;
12876 wxDC
*arg1
= (wxDC
*) 0 ;
12883 PyObject
* obj0
= 0 ;
12884 PyObject
* obj1
= 0 ;
12885 PyObject
* obj2
= 0 ;
12886 PyObject
* obj3
= 0 ;
12887 PyObject
* obj4
= 0 ;
12888 PyObject
* obj5
= 0 ;
12889 PyObject
* obj6
= 0 ;
12890 char *kwnames
[] = {
12891 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
12894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12896 if (SWIG_arg_fail(1)) SWIG_fail
;
12898 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12899 if (SWIG_arg_fail(2)) SWIG_fail
;
12902 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12903 if (SWIG_arg_fail(3)) SWIG_fail
;
12906 arg4
= static_cast<int >(SWIG_As_int(obj3
));
12907 if (SWIG_arg_fail(4)) SWIG_fail
;
12910 arg5
= static_cast<int >(SWIG_As_int(obj4
));
12911 if (SWIG_arg_fail(5)) SWIG_fail
;
12914 arg6
= static_cast<int >(SWIG_As_int(obj5
));
12915 if (SWIG_arg_fail(6)) SWIG_fail
;
12918 arg7
= static_cast<int >(SWIG_As_int(obj6
));
12919 if (SWIG_arg_fail(7)) SWIG_fail
;
12922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12928 Py_INCREF(Py_None
); resultobj
= Py_None
;
12935 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12936 PyObject
*resultobj
= NULL
;
12937 wxDC
*arg1
= (wxDC
*) 0 ;
12938 wxPoint
*arg2
= 0 ;
12939 wxPoint
*arg3
= 0 ;
12940 wxPoint
*arg4
= 0 ;
12944 PyObject
* obj0
= 0 ;
12945 PyObject
* obj1
= 0 ;
12946 PyObject
* obj2
= 0 ;
12947 PyObject
* obj3
= 0 ;
12948 char *kwnames
[] = {
12949 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
12952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12954 if (SWIG_arg_fail(1)) SWIG_fail
;
12957 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12961 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12965 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12969 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
12971 wxPyEndAllowThreads(__tstate
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12974 Py_INCREF(Py_None
); resultobj
= Py_None
;
12981 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12982 PyObject
*resultobj
= NULL
;
12983 wxDC
*arg1
= (wxDC
*) 0 ;
12988 PyObject
* obj0
= 0 ;
12989 PyObject
* obj1
= 0 ;
12990 PyObject
* obj2
= 0 ;
12991 PyObject
* obj3
= 0 ;
12992 PyObject
* obj4
= 0 ;
12993 char *kwnames
[] = {
12994 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12999 if (SWIG_arg_fail(1)) SWIG_fail
;
13001 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13002 if (SWIG_arg_fail(2)) SWIG_fail
;
13005 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13006 if (SWIG_arg_fail(3)) SWIG_fail
;
13009 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13010 if (SWIG_arg_fail(4)) SWIG_fail
;
13013 arg5
= static_cast<int >(SWIG_As_int(obj4
));
13014 if (SWIG_arg_fail(5)) SWIG_fail
;
13017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13018 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
13020 wxPyEndAllowThreads(__tstate
);
13021 if (PyErr_Occurred()) SWIG_fail
;
13023 Py_INCREF(Py_None
); resultobj
= Py_None
;
13030 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13031 PyObject
*resultobj
= NULL
;
13032 wxDC
*arg1
= (wxDC
*) 0 ;
13035 PyObject
* obj0
= 0 ;
13036 PyObject
* obj1
= 0 ;
13037 char *kwnames
[] = {
13038 (char *) "self",(char *) "rect", NULL
13041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13043 if (SWIG_arg_fail(1)) SWIG_fail
;
13046 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13050 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
13052 wxPyEndAllowThreads(__tstate
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13055 Py_INCREF(Py_None
); resultobj
= Py_None
;
13062 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13063 PyObject
*resultobj
= NULL
;
13064 wxDC
*arg1
= (wxDC
*) 0 ;
13071 PyObject
* obj0
= 0 ;
13072 PyObject
* obj1
= 0 ;
13073 PyObject
* obj2
= 0 ;
13074 PyObject
* obj3
= 0 ;
13075 PyObject
* obj4
= 0 ;
13076 PyObject
* obj5
= 0 ;
13077 PyObject
* obj6
= 0 ;
13078 char *kwnames
[] = {
13079 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
13082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13084 if (SWIG_arg_fail(1)) SWIG_fail
;
13086 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13087 if (SWIG_arg_fail(2)) SWIG_fail
;
13090 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13091 if (SWIG_arg_fail(3)) SWIG_fail
;
13094 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13095 if (SWIG_arg_fail(4)) SWIG_fail
;
13098 arg5
= static_cast<int >(SWIG_As_int(obj4
));
13099 if (SWIG_arg_fail(5)) SWIG_fail
;
13102 arg6
= static_cast<double >(SWIG_As_double(obj5
));
13103 if (SWIG_arg_fail(6)) SWIG_fail
;
13106 arg7
= static_cast<double >(SWIG_As_double(obj6
));
13107 if (SWIG_arg_fail(7)) SWIG_fail
;
13110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13111 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13113 wxPyEndAllowThreads(__tstate
);
13114 if (PyErr_Occurred()) SWIG_fail
;
13116 Py_INCREF(Py_None
); resultobj
= Py_None
;
13123 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13124 PyObject
*resultobj
= NULL
;
13125 wxDC
*arg1
= (wxDC
*) 0 ;
13126 wxPoint
*arg2
= 0 ;
13132 PyObject
* obj0
= 0 ;
13133 PyObject
* obj1
= 0 ;
13134 PyObject
* obj2
= 0 ;
13135 PyObject
* obj3
= 0 ;
13136 PyObject
* obj4
= 0 ;
13137 char *kwnames
[] = {
13138 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
13141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13143 if (SWIG_arg_fail(1)) SWIG_fail
;
13146 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13150 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13153 arg4
= static_cast<double >(SWIG_As_double(obj3
));
13154 if (SWIG_arg_fail(4)) SWIG_fail
;
13157 arg5
= static_cast<double >(SWIG_As_double(obj4
));
13158 if (SWIG_arg_fail(5)) SWIG_fail
;
13161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13162 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
13164 wxPyEndAllowThreads(__tstate
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13167 Py_INCREF(Py_None
); resultobj
= Py_None
;
13174 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13175 PyObject
*resultobj
= NULL
;
13176 wxDC
*arg1
= (wxDC
*) 0 ;
13179 PyObject
* obj0
= 0 ;
13180 PyObject
* obj1
= 0 ;
13181 PyObject
* obj2
= 0 ;
13182 char *kwnames
[] = {
13183 (char *) "self",(char *) "x",(char *) "y", NULL
13186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13188 if (SWIG_arg_fail(1)) SWIG_fail
;
13190 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13191 if (SWIG_arg_fail(2)) SWIG_fail
;
13194 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13195 if (SWIG_arg_fail(3)) SWIG_fail
;
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 (arg1
)->DrawPoint(arg2
,arg3
);
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13204 Py_INCREF(Py_None
); resultobj
= Py_None
;
13211 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13212 PyObject
*resultobj
= NULL
;
13213 wxDC
*arg1
= (wxDC
*) 0 ;
13214 wxPoint
*arg2
= 0 ;
13216 PyObject
* obj0
= 0 ;
13217 PyObject
* obj1
= 0 ;
13218 char *kwnames
[] = {
13219 (char *) "self",(char *) "pt", NULL
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
13223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13224 if (SWIG_arg_fail(1)) SWIG_fail
;
13227 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13231 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
13233 wxPyEndAllowThreads(__tstate
);
13234 if (PyErr_Occurred()) SWIG_fail
;
13236 Py_INCREF(Py_None
); resultobj
= Py_None
;
13243 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13244 PyObject
*resultobj
= NULL
;
13245 wxDC
*arg1
= (wxDC
*) 0 ;
13250 PyObject
* obj0
= 0 ;
13251 PyObject
* obj1
= 0 ;
13252 PyObject
* obj2
= 0 ;
13253 PyObject
* obj3
= 0 ;
13254 PyObject
* obj4
= 0 ;
13255 char *kwnames
[] = {
13256 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13261 if (SWIG_arg_fail(1)) SWIG_fail
;
13263 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13264 if (SWIG_arg_fail(2)) SWIG_fail
;
13267 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13268 if (SWIG_arg_fail(3)) SWIG_fail
;
13271 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13272 if (SWIG_arg_fail(4)) SWIG_fail
;
13275 arg5
= static_cast<int >(SWIG_As_int(obj4
));
13276 if (SWIG_arg_fail(5)) SWIG_fail
;
13279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13280 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
13282 wxPyEndAllowThreads(__tstate
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13285 Py_INCREF(Py_None
); resultobj
= Py_None
;
13292 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13293 PyObject
*resultobj
= NULL
;
13294 wxDC
*arg1
= (wxDC
*) 0 ;
13297 PyObject
* obj0
= 0 ;
13298 PyObject
* obj1
= 0 ;
13299 char *kwnames
[] = {
13300 (char *) "self",(char *) "rect", NULL
13303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13305 if (SWIG_arg_fail(1)) SWIG_fail
;
13308 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13312 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
13314 wxPyEndAllowThreads(__tstate
);
13315 if (PyErr_Occurred()) SWIG_fail
;
13317 Py_INCREF(Py_None
); resultobj
= Py_None
;
13324 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13325 PyObject
*resultobj
= NULL
;
13326 wxDC
*arg1
= (wxDC
*) 0 ;
13327 wxPoint
*arg2
= 0 ;
13331 PyObject
* obj0
= 0 ;
13332 PyObject
* obj1
= 0 ;
13333 PyObject
* obj2
= 0 ;
13334 char *kwnames
[] = {
13335 (char *) "self",(char *) "pt",(char *) "sz", NULL
13338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13340 if (SWIG_arg_fail(1)) SWIG_fail
;
13343 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13347 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13351 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13353 wxPyEndAllowThreads(__tstate
);
13354 if (PyErr_Occurred()) SWIG_fail
;
13356 Py_INCREF(Py_None
); resultobj
= Py_None
;
13363 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13364 PyObject
*resultobj
= NULL
;
13365 wxDC
*arg1
= (wxDC
*) 0 ;
13371 PyObject
* obj0
= 0 ;
13372 PyObject
* obj1
= 0 ;
13373 PyObject
* obj2
= 0 ;
13374 PyObject
* obj3
= 0 ;
13375 PyObject
* obj4
= 0 ;
13376 PyObject
* obj5
= 0 ;
13377 char *kwnames
[] = {
13378 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
13381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13383 if (SWIG_arg_fail(1)) SWIG_fail
;
13385 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13386 if (SWIG_arg_fail(2)) SWIG_fail
;
13389 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13390 if (SWIG_arg_fail(3)) SWIG_fail
;
13393 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13394 if (SWIG_arg_fail(4)) SWIG_fail
;
13397 arg5
= static_cast<int >(SWIG_As_int(obj4
));
13398 if (SWIG_arg_fail(5)) SWIG_fail
;
13401 arg6
= static_cast<double >(SWIG_As_double(obj5
));
13402 if (SWIG_arg_fail(6)) SWIG_fail
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13406 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13411 Py_INCREF(Py_None
); resultobj
= Py_None
;
13418 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13419 PyObject
*resultobj
= NULL
;
13420 wxDC
*arg1
= (wxDC
*) 0 ;
13424 PyObject
* obj0
= 0 ;
13425 PyObject
* obj1
= 0 ;
13426 PyObject
* obj2
= 0 ;
13427 char *kwnames
[] = {
13428 (char *) "self",(char *) "r",(char *) "radius", NULL
13431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13433 if (SWIG_arg_fail(1)) SWIG_fail
;
13436 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13439 arg3
= static_cast<double >(SWIG_As_double(obj2
));
13440 if (SWIG_arg_fail(3)) SWIG_fail
;
13443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13444 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13449 Py_INCREF(Py_None
); resultobj
= Py_None
;
13456 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
= NULL
;
13458 wxDC
*arg1
= (wxDC
*) 0 ;
13459 wxPoint
*arg2
= 0 ;
13464 PyObject
* obj0
= 0 ;
13465 PyObject
* obj1
= 0 ;
13466 PyObject
* obj2
= 0 ;
13467 PyObject
* obj3
= 0 ;
13468 char *kwnames
[] = {
13469 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
13472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13474 if (SWIG_arg_fail(1)) SWIG_fail
;
13477 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13481 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13484 arg4
= static_cast<double >(SWIG_As_double(obj3
));
13485 if (SWIG_arg_fail(4)) SWIG_fail
;
13488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13489 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
13491 wxPyEndAllowThreads(__tstate
);
13492 if (PyErr_Occurred()) SWIG_fail
;
13494 Py_INCREF(Py_None
); resultobj
= Py_None
;
13501 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13502 PyObject
*resultobj
= NULL
;
13503 wxDC
*arg1
= (wxDC
*) 0 ;
13507 PyObject
* obj0
= 0 ;
13508 PyObject
* obj1
= 0 ;
13509 PyObject
* obj2
= 0 ;
13510 PyObject
* obj3
= 0 ;
13511 char *kwnames
[] = {
13512 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
13515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13517 if (SWIG_arg_fail(1)) SWIG_fail
;
13519 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13520 if (SWIG_arg_fail(2)) SWIG_fail
;
13523 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13524 if (SWIG_arg_fail(3)) SWIG_fail
;
13527 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13528 if (SWIG_arg_fail(4)) SWIG_fail
;
13531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13532 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13537 Py_INCREF(Py_None
); resultobj
= Py_None
;
13544 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13545 PyObject
*resultobj
= NULL
;
13546 wxDC
*arg1
= (wxDC
*) 0 ;
13547 wxPoint
*arg2
= 0 ;
13550 PyObject
* obj0
= 0 ;
13551 PyObject
* obj1
= 0 ;
13552 PyObject
* obj2
= 0 ;
13553 char *kwnames
[] = {
13554 (char *) "self",(char *) "pt",(char *) "radius", NULL
13557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13559 if (SWIG_arg_fail(1)) SWIG_fail
;
13562 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13565 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13566 if (SWIG_arg_fail(3)) SWIG_fail
;
13569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13570 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
13572 wxPyEndAllowThreads(__tstate
);
13573 if (PyErr_Occurred()) SWIG_fail
;
13575 Py_INCREF(Py_None
); resultobj
= Py_None
;
13582 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13583 PyObject
*resultobj
= NULL
;
13584 wxDC
*arg1
= (wxDC
*) 0 ;
13589 PyObject
* obj0
= 0 ;
13590 PyObject
* obj1
= 0 ;
13591 PyObject
* obj2
= 0 ;
13592 PyObject
* obj3
= 0 ;
13593 PyObject
* obj4
= 0 ;
13594 char *kwnames
[] = {
13595 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13600 if (SWIG_arg_fail(1)) SWIG_fail
;
13602 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13603 if (SWIG_arg_fail(2)) SWIG_fail
;
13606 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13607 if (SWIG_arg_fail(3)) SWIG_fail
;
13610 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13611 if (SWIG_arg_fail(4)) SWIG_fail
;
13614 arg5
= static_cast<int >(SWIG_As_int(obj4
));
13615 if (SWIG_arg_fail(5)) SWIG_fail
;
13618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13619 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
13621 wxPyEndAllowThreads(__tstate
);
13622 if (PyErr_Occurred()) SWIG_fail
;
13624 Py_INCREF(Py_None
); resultobj
= Py_None
;
13631 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13632 PyObject
*resultobj
= NULL
;
13633 wxDC
*arg1
= (wxDC
*) 0 ;
13636 PyObject
* obj0
= 0 ;
13637 PyObject
* obj1
= 0 ;
13638 char *kwnames
[] = {
13639 (char *) "self",(char *) "rect", NULL
13642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13644 if (SWIG_arg_fail(1)) SWIG_fail
;
13647 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13651 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
13653 wxPyEndAllowThreads(__tstate
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13656 Py_INCREF(Py_None
); resultobj
= Py_None
;
13663 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13664 PyObject
*resultobj
= NULL
;
13665 wxDC
*arg1
= (wxDC
*) 0 ;
13666 wxPoint
*arg2
= 0 ;
13670 PyObject
* obj0
= 0 ;
13671 PyObject
* obj1
= 0 ;
13672 PyObject
* obj2
= 0 ;
13673 char *kwnames
[] = {
13674 (char *) "self",(char *) "pt",(char *) "sz", NULL
13677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13679 if (SWIG_arg_fail(1)) SWIG_fail
;
13682 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13686 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13690 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13692 wxPyEndAllowThreads(__tstate
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13695 Py_INCREF(Py_None
); resultobj
= Py_None
;
13702 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13703 PyObject
*resultobj
= NULL
;
13704 wxDC
*arg1
= (wxDC
*) 0 ;
13708 PyObject
* obj0
= 0 ;
13709 PyObject
* obj1
= 0 ;
13710 PyObject
* obj2
= 0 ;
13711 PyObject
* obj3
= 0 ;
13712 char *kwnames
[] = {
13713 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
13716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13718 if (SWIG_arg_fail(1)) SWIG_fail
;
13720 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13721 if (SWIG_arg_fail(2)) SWIG_fail
;
13722 if (arg2
== NULL
) {
13723 SWIG_null_ref("wxIcon");
13725 if (SWIG_arg_fail(2)) SWIG_fail
;
13728 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13729 if (SWIG_arg_fail(3)) SWIG_fail
;
13732 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13733 if (SWIG_arg_fail(4)) SWIG_fail
;
13736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13737 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
13739 wxPyEndAllowThreads(__tstate
);
13740 if (PyErr_Occurred()) SWIG_fail
;
13742 Py_INCREF(Py_None
); resultobj
= Py_None
;
13749 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13750 PyObject
*resultobj
= NULL
;
13751 wxDC
*arg1
= (wxDC
*) 0 ;
13753 wxPoint
*arg3
= 0 ;
13755 PyObject
* obj0
= 0 ;
13756 PyObject
* obj1
= 0 ;
13757 PyObject
* obj2
= 0 ;
13758 char *kwnames
[] = {
13759 (char *) "self",(char *) "icon",(char *) "pt", NULL
13762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13764 if (SWIG_arg_fail(1)) SWIG_fail
;
13766 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13767 if (SWIG_arg_fail(2)) SWIG_fail
;
13768 if (arg2
== NULL
) {
13769 SWIG_null_ref("wxIcon");
13771 if (SWIG_arg_fail(2)) SWIG_fail
;
13775 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13779 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
13781 wxPyEndAllowThreads(__tstate
);
13782 if (PyErr_Occurred()) SWIG_fail
;
13784 Py_INCREF(Py_None
); resultobj
= Py_None
;
13791 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13792 PyObject
*resultobj
= NULL
;
13793 wxDC
*arg1
= (wxDC
*) 0 ;
13794 wxBitmap
*arg2
= 0 ;
13797 bool arg5
= (bool) false ;
13798 PyObject
* obj0
= 0 ;
13799 PyObject
* obj1
= 0 ;
13800 PyObject
* obj2
= 0 ;
13801 PyObject
* obj3
= 0 ;
13802 PyObject
* obj4
= 0 ;
13803 char *kwnames
[] = {
13804 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
13807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13809 if (SWIG_arg_fail(1)) SWIG_fail
;
13811 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
13812 if (SWIG_arg_fail(2)) SWIG_fail
;
13813 if (arg2
== NULL
) {
13814 SWIG_null_ref("wxBitmap");
13816 if (SWIG_arg_fail(2)) SWIG_fail
;
13819 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13820 if (SWIG_arg_fail(3)) SWIG_fail
;
13823 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13824 if (SWIG_arg_fail(4)) SWIG_fail
;
13828 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
13829 if (SWIG_arg_fail(5)) SWIG_fail
;
13833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13834 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
13836 wxPyEndAllowThreads(__tstate
);
13837 if (PyErr_Occurred()) SWIG_fail
;
13839 Py_INCREF(Py_None
); resultobj
= Py_None
;
13846 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13847 PyObject
*resultobj
= NULL
;
13848 wxDC
*arg1
= (wxDC
*) 0 ;
13849 wxBitmap
*arg2
= 0 ;
13850 wxPoint
*arg3
= 0 ;
13851 bool arg4
= (bool) false ;
13853 PyObject
* obj0
= 0 ;
13854 PyObject
* obj1
= 0 ;
13855 PyObject
* obj2
= 0 ;
13856 PyObject
* obj3
= 0 ;
13857 char *kwnames
[] = {
13858 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
13861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13863 if (SWIG_arg_fail(1)) SWIG_fail
;
13865 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
13866 if (SWIG_arg_fail(2)) SWIG_fail
;
13867 if (arg2
== NULL
) {
13868 SWIG_null_ref("wxBitmap");
13870 if (SWIG_arg_fail(2)) SWIG_fail
;
13874 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13878 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
13879 if (SWIG_arg_fail(4)) SWIG_fail
;
13883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13884 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
13886 wxPyEndAllowThreads(__tstate
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13889 Py_INCREF(Py_None
); resultobj
= Py_None
;
13896 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13897 PyObject
*resultobj
= NULL
;
13898 wxDC
*arg1
= (wxDC
*) 0 ;
13899 wxString
*arg2
= 0 ;
13902 bool temp2
= false ;
13903 PyObject
* obj0
= 0 ;
13904 PyObject
* obj1
= 0 ;
13905 PyObject
* obj2
= 0 ;
13906 PyObject
* obj3
= 0 ;
13907 char *kwnames
[] = {
13908 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
13911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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
= wxString_in_helper(obj1
);
13916 if (arg2
== NULL
) SWIG_fail
;
13920 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13921 if (SWIG_arg_fail(3)) SWIG_fail
;
13924 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13925 if (SWIG_arg_fail(4)) SWIG_fail
;
13928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13929 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
13931 wxPyEndAllowThreads(__tstate
);
13932 if (PyErr_Occurred()) SWIG_fail
;
13934 Py_INCREF(Py_None
); resultobj
= Py_None
;
13949 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13950 PyObject
*resultobj
= NULL
;
13951 wxDC
*arg1
= (wxDC
*) 0 ;
13952 wxString
*arg2
= 0 ;
13953 wxPoint
*arg3
= 0 ;
13954 bool temp2
= false ;
13956 PyObject
* obj0
= 0 ;
13957 PyObject
* obj1
= 0 ;
13958 PyObject
* obj2
= 0 ;
13959 char *kwnames
[] = {
13960 (char *) "self",(char *) "text",(char *) "pt", NULL
13963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13965 if (SWIG_arg_fail(1)) SWIG_fail
;
13967 arg2
= wxString_in_helper(obj1
);
13968 if (arg2
== NULL
) SWIG_fail
;
13973 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13977 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
13979 wxPyEndAllowThreads(__tstate
);
13980 if (PyErr_Occurred()) SWIG_fail
;
13982 Py_INCREF(Py_None
); resultobj
= Py_None
;
13997 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13998 PyObject
*resultobj
= NULL
;
13999 wxDC
*arg1
= (wxDC
*) 0 ;
14000 wxString
*arg2
= 0 ;
14004 bool temp2
= false ;
14005 PyObject
* obj0
= 0 ;
14006 PyObject
* obj1
= 0 ;
14007 PyObject
* obj2
= 0 ;
14008 PyObject
* obj3
= 0 ;
14009 PyObject
* obj4
= 0 ;
14010 char *kwnames
[] = {
14011 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
14014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14016 if (SWIG_arg_fail(1)) SWIG_fail
;
14018 arg2
= wxString_in_helper(obj1
);
14019 if (arg2
== NULL
) SWIG_fail
;
14023 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14024 if (SWIG_arg_fail(3)) SWIG_fail
;
14027 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14028 if (SWIG_arg_fail(4)) SWIG_fail
;
14031 arg5
= static_cast<double >(SWIG_As_double(obj4
));
14032 if (SWIG_arg_fail(5)) SWIG_fail
;
14035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14036 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
14038 wxPyEndAllowThreads(__tstate
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14041 Py_INCREF(Py_None
); resultobj
= Py_None
;
14056 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14057 PyObject
*resultobj
= NULL
;
14058 wxDC
*arg1
= (wxDC
*) 0 ;
14059 wxString
*arg2
= 0 ;
14060 wxPoint
*arg3
= 0 ;
14062 bool temp2
= false ;
14064 PyObject
* obj0
= 0 ;
14065 PyObject
* obj1
= 0 ;
14066 PyObject
* obj2
= 0 ;
14067 PyObject
* obj3
= 0 ;
14068 char *kwnames
[] = {
14069 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
14072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14074 if (SWIG_arg_fail(1)) SWIG_fail
;
14076 arg2
= wxString_in_helper(obj1
);
14077 if (arg2
== NULL
) SWIG_fail
;
14082 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14085 arg4
= static_cast<double >(SWIG_As_double(obj3
));
14086 if (SWIG_arg_fail(4)) SWIG_fail
;
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14090 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
14092 wxPyEndAllowThreads(__tstate
);
14093 if (PyErr_Occurred()) SWIG_fail
;
14095 Py_INCREF(Py_None
); resultobj
= Py_None
;
14110 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14111 PyObject
*resultobj
= NULL
;
14112 wxDC
*arg1
= (wxDC
*) 0 ;
14117 wxDC
*arg6
= (wxDC
*) 0 ;
14120 int arg9
= (int) wxCOPY
;
14121 bool arg10
= (bool) false ;
14122 int arg11
= (int) -1 ;
14123 int arg12
= (int) -1 ;
14125 PyObject
* obj0
= 0 ;
14126 PyObject
* obj1
= 0 ;
14127 PyObject
* obj2
= 0 ;
14128 PyObject
* obj3
= 0 ;
14129 PyObject
* obj4
= 0 ;
14130 PyObject
* obj5
= 0 ;
14131 PyObject
* obj6
= 0 ;
14132 PyObject
* obj7
= 0 ;
14133 PyObject
* obj8
= 0 ;
14134 PyObject
* obj9
= 0 ;
14135 PyObject
* obj10
= 0 ;
14136 PyObject
* obj11
= 0 ;
14137 char *kwnames
[] = {
14138 (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
14141 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
;
14142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14143 if (SWIG_arg_fail(1)) SWIG_fail
;
14145 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14146 if (SWIG_arg_fail(2)) SWIG_fail
;
14149 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14150 if (SWIG_arg_fail(3)) SWIG_fail
;
14153 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14154 if (SWIG_arg_fail(4)) SWIG_fail
;
14157 arg5
= static_cast<int >(SWIG_As_int(obj4
));
14158 if (SWIG_arg_fail(5)) SWIG_fail
;
14160 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14161 if (SWIG_arg_fail(6)) SWIG_fail
;
14163 arg7
= static_cast<int >(SWIG_As_int(obj6
));
14164 if (SWIG_arg_fail(7)) SWIG_fail
;
14167 arg8
= static_cast<int >(SWIG_As_int(obj7
));
14168 if (SWIG_arg_fail(8)) SWIG_fail
;
14172 arg9
= static_cast<int >(SWIG_As_int(obj8
));
14173 if (SWIG_arg_fail(9)) SWIG_fail
;
14178 arg10
= static_cast<bool >(SWIG_As_bool(obj9
));
14179 if (SWIG_arg_fail(10)) SWIG_fail
;
14184 arg11
= static_cast<int >(SWIG_As_int(obj10
));
14185 if (SWIG_arg_fail(11)) SWIG_fail
;
14190 arg12
= static_cast<int >(SWIG_As_int(obj11
));
14191 if (SWIG_arg_fail(12)) SWIG_fail
;
14195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14196 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
14198 wxPyEndAllowThreads(__tstate
);
14199 if (PyErr_Occurred()) SWIG_fail
;
14202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14210 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14211 PyObject
*resultobj
= NULL
;
14212 wxDC
*arg1
= (wxDC
*) 0 ;
14213 wxPoint
*arg2
= 0 ;
14215 wxDC
*arg4
= (wxDC
*) 0 ;
14216 wxPoint
*arg5
= 0 ;
14217 int arg6
= (int) wxCOPY
;
14218 bool arg7
= (bool) false ;
14219 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
14220 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
14226 PyObject
* obj0
= 0 ;
14227 PyObject
* obj1
= 0 ;
14228 PyObject
* obj2
= 0 ;
14229 PyObject
* obj3
= 0 ;
14230 PyObject
* obj4
= 0 ;
14231 PyObject
* obj5
= 0 ;
14232 PyObject
* obj6
= 0 ;
14233 PyObject
* obj7
= 0 ;
14234 char *kwnames
[] = {
14235 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
14238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14240 if (SWIG_arg_fail(1)) SWIG_fail
;
14243 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14247 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14249 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14250 if (SWIG_arg_fail(4)) SWIG_fail
;
14253 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14257 arg6
= static_cast<int >(SWIG_As_int(obj5
));
14258 if (SWIG_arg_fail(6)) SWIG_fail
;
14263 arg7
= static_cast<bool >(SWIG_As_bool(obj6
));
14264 if (SWIG_arg_fail(7)) SWIG_fail
;
14270 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
14274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14275 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
14277 wxPyEndAllowThreads(__tstate
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14289 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14290 PyObject
*resultobj
= NULL
;
14291 wxDC
*arg1
= (wxDC
*) 0 ;
14296 PyObject
* obj0
= 0 ;
14297 PyObject
* obj1
= 0 ;
14298 PyObject
* obj2
= 0 ;
14299 PyObject
* obj3
= 0 ;
14300 PyObject
* obj4
= 0 ;
14301 char *kwnames
[] = {
14302 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14307 if (SWIG_arg_fail(1)) SWIG_fail
;
14309 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14310 if (SWIG_arg_fail(2)) SWIG_fail
;
14313 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14314 if (SWIG_arg_fail(3)) SWIG_fail
;
14317 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14318 if (SWIG_arg_fail(4)) SWIG_fail
;
14321 arg5
= static_cast<int >(SWIG_As_int(obj4
));
14322 if (SWIG_arg_fail(5)) SWIG_fail
;
14325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14326 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
14328 wxPyEndAllowThreads(__tstate
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14331 Py_INCREF(Py_None
); resultobj
= Py_None
;
14338 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14339 PyObject
*resultobj
= NULL
;
14340 wxDC
*arg1
= (wxDC
*) 0 ;
14341 wxPoint
*arg2
= 0 ;
14345 PyObject
* obj0
= 0 ;
14346 PyObject
* obj1
= 0 ;
14347 PyObject
* obj2
= 0 ;
14348 char *kwnames
[] = {
14349 (char *) "self",(char *) "pt",(char *) "sz", NULL
14352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14354 if (SWIG_arg_fail(1)) SWIG_fail
;
14357 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14361 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14365 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
14367 wxPyEndAllowThreads(__tstate
);
14368 if (PyErr_Occurred()) SWIG_fail
;
14370 Py_INCREF(Py_None
); resultobj
= Py_None
;
14377 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14378 PyObject
*resultobj
= NULL
;
14379 wxDC
*arg1
= (wxDC
*) 0 ;
14380 wxRegion
*arg2
= 0 ;
14381 PyObject
* obj0
= 0 ;
14382 PyObject
* obj1
= 0 ;
14383 char *kwnames
[] = {
14384 (char *) "self",(char *) "region", NULL
14387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
14388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14389 if (SWIG_arg_fail(1)) SWIG_fail
;
14391 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
14392 if (SWIG_arg_fail(2)) SWIG_fail
;
14393 if (arg2
== NULL
) {
14394 SWIG_null_ref("wxRegion");
14396 if (SWIG_arg_fail(2)) SWIG_fail
;
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14405 Py_INCREF(Py_None
); resultobj
= Py_None
;
14412 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14413 PyObject
*resultobj
= NULL
;
14414 wxDC
*arg1
= (wxDC
*) 0 ;
14417 PyObject
* obj0
= 0 ;
14418 PyObject
* obj1
= 0 ;
14419 char *kwnames
[] = {
14420 (char *) "self",(char *) "rect", NULL
14423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14425 if (SWIG_arg_fail(1)) SWIG_fail
;
14428 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14432 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14437 Py_INCREF(Py_None
); resultobj
= Py_None
;
14444 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14445 PyObject
*resultobj
= NULL
;
14446 wxDC
*arg1
= (wxDC
*) 0 ;
14448 wxPoint
*arg3
= (wxPoint
*) 0 ;
14449 int arg4
= (int) 0 ;
14450 int arg5
= (int) 0 ;
14451 PyObject
* obj0
= 0 ;
14452 PyObject
* obj1
= 0 ;
14453 PyObject
* obj2
= 0 ;
14454 PyObject
* obj3
= 0 ;
14455 char *kwnames
[] = {
14456 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
14459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14464 if (arg3
== NULL
) SWIG_fail
;
14468 arg4
= static_cast<int >(SWIG_As_int(obj2
));
14469 if (SWIG_arg_fail(4)) SWIG_fail
;
14474 arg5
= static_cast<int >(SWIG_As_int(obj3
));
14475 if (SWIG_arg_fail(5)) SWIG_fail
;
14479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14480 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
14482 wxPyEndAllowThreads(__tstate
);
14483 if (PyErr_Occurred()) SWIG_fail
;
14485 Py_INCREF(Py_None
); resultobj
= Py_None
;
14487 if (arg3
) delete [] arg3
;
14492 if (arg3
) delete [] arg3
;
14498 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14499 PyObject
*resultobj
= NULL
;
14500 wxDC
*arg1
= (wxDC
*) 0 ;
14502 wxPoint
*arg3
= (wxPoint
*) 0 ;
14503 int arg4
= (int) 0 ;
14504 int arg5
= (int) 0 ;
14505 int arg6
= (int) wxODDEVEN_RULE
;
14506 PyObject
* obj0
= 0 ;
14507 PyObject
* obj1
= 0 ;
14508 PyObject
* obj2
= 0 ;
14509 PyObject
* obj3
= 0 ;
14510 PyObject
* obj4
= 0 ;
14511 char *kwnames
[] = {
14512 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
14515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14517 if (SWIG_arg_fail(1)) SWIG_fail
;
14519 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14520 if (arg3
== NULL
) SWIG_fail
;
14524 arg4
= static_cast<int >(SWIG_As_int(obj2
));
14525 if (SWIG_arg_fail(4)) SWIG_fail
;
14530 arg5
= static_cast<int >(SWIG_As_int(obj3
));
14531 if (SWIG_arg_fail(5)) SWIG_fail
;
14536 arg6
= static_cast<int >(SWIG_As_int(obj4
));
14537 if (SWIG_arg_fail(6)) SWIG_fail
;
14541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14542 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
14544 wxPyEndAllowThreads(__tstate
);
14545 if (PyErr_Occurred()) SWIG_fail
;
14547 Py_INCREF(Py_None
); resultobj
= Py_None
;
14549 if (arg3
) delete [] arg3
;
14554 if (arg3
) delete [] arg3
;
14560 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14561 PyObject
*resultobj
= NULL
;
14562 wxDC
*arg1
= (wxDC
*) 0 ;
14563 wxString
*arg2
= 0 ;
14565 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
14566 int arg5
= (int) -1 ;
14567 bool temp2
= false ;
14569 PyObject
* obj0
= 0 ;
14570 PyObject
* obj1
= 0 ;
14571 PyObject
* obj2
= 0 ;
14572 PyObject
* obj3
= 0 ;
14573 PyObject
* obj4
= 0 ;
14574 char *kwnames
[] = {
14575 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
14578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14580 if (SWIG_arg_fail(1)) SWIG_fail
;
14582 arg2
= wxString_in_helper(obj1
);
14583 if (arg2
== NULL
) SWIG_fail
;
14588 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
14592 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14593 if (SWIG_arg_fail(4)) SWIG_fail
;
14598 arg5
= static_cast<int >(SWIG_As_int(obj4
));
14599 if (SWIG_arg_fail(5)) SWIG_fail
;
14603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14604 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
14606 wxPyEndAllowThreads(__tstate
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14609 Py_INCREF(Py_None
); resultobj
= Py_None
;
14624 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14625 PyObject
*resultobj
= NULL
;
14626 wxDC
*arg1
= (wxDC
*) 0 ;
14627 wxString
*arg2
= 0 ;
14628 wxBitmap
*arg3
= 0 ;
14630 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
14631 int arg6
= (int) -1 ;
14633 bool temp2
= false ;
14635 PyObject
* obj0
= 0 ;
14636 PyObject
* obj1
= 0 ;
14637 PyObject
* obj2
= 0 ;
14638 PyObject
* obj3
= 0 ;
14639 PyObject
* obj4
= 0 ;
14640 PyObject
* obj5
= 0 ;
14641 char *kwnames
[] = {
14642 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
14645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14647 if (SWIG_arg_fail(1)) SWIG_fail
;
14649 arg2
= wxString_in_helper(obj1
);
14650 if (arg2
== NULL
) SWIG_fail
;
14654 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
14655 if (SWIG_arg_fail(3)) SWIG_fail
;
14656 if (arg3
== NULL
) {
14657 SWIG_null_ref("wxBitmap");
14659 if (SWIG_arg_fail(3)) SWIG_fail
;
14663 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
14667 arg5
= static_cast<int >(SWIG_As_int(obj4
));
14668 if (SWIG_arg_fail(5)) SWIG_fail
;
14673 arg6
= static_cast<int >(SWIG_As_int(obj5
));
14674 if (SWIG_arg_fail(6)) SWIG_fail
;
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
14681 wxPyEndAllowThreads(__tstate
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14685 wxRect
* resultptr
;
14686 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
14687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
14703 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14704 PyObject
*resultobj
= NULL
;
14705 wxDC
*arg1
= (wxDC
*) 0 ;
14707 wxPoint
*arg3
= (wxPoint
*) 0 ;
14708 PyObject
* obj0
= 0 ;
14709 PyObject
* obj1
= 0 ;
14710 char *kwnames
[] = {
14711 (char *) "self",(char *) "points", NULL
14714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
14715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14716 if (SWIG_arg_fail(1)) SWIG_fail
;
14718 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
14719 if (arg3
== NULL
) SWIG_fail
;
14722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14723 (arg1
)->DrawSpline(arg2
,arg3
);
14725 wxPyEndAllowThreads(__tstate
);
14726 if (PyErr_Occurred()) SWIG_fail
;
14728 Py_INCREF(Py_None
); resultobj
= Py_None
;
14730 if (arg3
) delete [] arg3
;
14735 if (arg3
) delete [] arg3
;
14741 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14742 PyObject
*resultobj
= NULL
;
14743 wxDC
*arg1
= (wxDC
*) 0 ;
14744 PyObject
* obj0
= 0 ;
14745 char *kwnames
[] = {
14746 (char *) "self", NULL
14749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
14750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14751 if (SWIG_arg_fail(1)) SWIG_fail
;
14753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 wxPyEndAllowThreads(__tstate
);
14757 if (PyErr_Occurred()) SWIG_fail
;
14759 Py_INCREF(Py_None
); resultobj
= Py_None
;
14766 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14767 PyObject
*resultobj
= NULL
;
14768 wxDC
*arg1
= (wxDC
*) 0 ;
14769 wxString
*arg2
= 0 ;
14771 bool temp2
= false ;
14772 PyObject
* obj0
= 0 ;
14773 PyObject
* obj1
= 0 ;
14774 char *kwnames
[] = {
14775 (char *) "self",(char *) "message", NULL
14778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
14779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14780 if (SWIG_arg_fail(1)) SWIG_fail
;
14782 arg2
= wxString_in_helper(obj1
);
14783 if (arg2
== NULL
) SWIG_fail
;
14787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14788 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
14790 wxPyEndAllowThreads(__tstate
);
14791 if (PyErr_Occurred()) SWIG_fail
;
14794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14810 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14811 PyObject
*resultobj
= NULL
;
14812 wxDC
*arg1
= (wxDC
*) 0 ;
14813 PyObject
* obj0
= 0 ;
14814 char *kwnames
[] = {
14815 (char *) "self", NULL
14818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
14819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14820 if (SWIG_arg_fail(1)) SWIG_fail
;
14822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14825 wxPyEndAllowThreads(__tstate
);
14826 if (PyErr_Occurred()) SWIG_fail
;
14828 Py_INCREF(Py_None
); resultobj
= Py_None
;
14835 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14836 PyObject
*resultobj
= NULL
;
14837 wxDC
*arg1
= (wxDC
*) 0 ;
14838 PyObject
* obj0
= 0 ;
14839 char *kwnames
[] = {
14840 (char *) "self", NULL
14843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
14844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14845 if (SWIG_arg_fail(1)) SWIG_fail
;
14847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14848 (arg1
)->StartPage();
14850 wxPyEndAllowThreads(__tstate
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14853 Py_INCREF(Py_None
); resultobj
= Py_None
;
14860 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
= NULL
;
14862 wxDC
*arg1
= (wxDC
*) 0 ;
14863 PyObject
* obj0
= 0 ;
14864 char *kwnames
[] = {
14865 (char *) "self", NULL
14868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
14869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14870 if (SWIG_arg_fail(1)) SWIG_fail
;
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14878 Py_INCREF(Py_None
); resultobj
= Py_None
;
14885 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14886 PyObject
*resultobj
= NULL
;
14887 wxDC
*arg1
= (wxDC
*) 0 ;
14889 PyObject
* obj0
= 0 ;
14890 PyObject
* obj1
= 0 ;
14891 char *kwnames
[] = {
14892 (char *) "self",(char *) "font", NULL
14895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
14896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14897 if (SWIG_arg_fail(1)) SWIG_fail
;
14899 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
14900 if (SWIG_arg_fail(2)) SWIG_fail
;
14901 if (arg2
== NULL
) {
14902 SWIG_null_ref("wxFont");
14904 if (SWIG_arg_fail(2)) SWIG_fail
;
14907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 (arg1
)->SetFont((wxFont
const &)*arg2
);
14910 wxPyEndAllowThreads(__tstate
);
14911 if (PyErr_Occurred()) SWIG_fail
;
14913 Py_INCREF(Py_None
); resultobj
= Py_None
;
14920 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14921 PyObject
*resultobj
= NULL
;
14922 wxDC
*arg1
= (wxDC
*) 0 ;
14924 PyObject
* obj0
= 0 ;
14925 PyObject
* obj1
= 0 ;
14926 char *kwnames
[] = {
14927 (char *) "self",(char *) "pen", NULL
14930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
14931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14932 if (SWIG_arg_fail(1)) SWIG_fail
;
14934 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
14935 if (SWIG_arg_fail(2)) SWIG_fail
;
14936 if (arg2
== NULL
) {
14937 SWIG_null_ref("wxPen");
14939 if (SWIG_arg_fail(2)) SWIG_fail
;
14942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14943 (arg1
)->SetPen((wxPen
const &)*arg2
);
14945 wxPyEndAllowThreads(__tstate
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14948 Py_INCREF(Py_None
); resultobj
= Py_None
;
14955 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14956 PyObject
*resultobj
= NULL
;
14957 wxDC
*arg1
= (wxDC
*) 0 ;
14958 wxBrush
*arg2
= 0 ;
14959 PyObject
* obj0
= 0 ;
14960 PyObject
* obj1
= 0 ;
14961 char *kwnames
[] = {
14962 (char *) "self",(char *) "brush", NULL
14965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
14966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14967 if (SWIG_arg_fail(1)) SWIG_fail
;
14969 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
14970 if (SWIG_arg_fail(2)) SWIG_fail
;
14971 if (arg2
== NULL
) {
14972 SWIG_null_ref("wxBrush");
14974 if (SWIG_arg_fail(2)) SWIG_fail
;
14977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14978 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14983 Py_INCREF(Py_None
); resultobj
= Py_None
;
14990 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14991 PyObject
*resultobj
= NULL
;
14992 wxDC
*arg1
= (wxDC
*) 0 ;
14993 wxBrush
*arg2
= 0 ;
14994 PyObject
* obj0
= 0 ;
14995 PyObject
* obj1
= 0 ;
14996 char *kwnames
[] = {
14997 (char *) "self",(char *) "brush", NULL
15000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
15001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15002 if (SWIG_arg_fail(1)) SWIG_fail
;
15004 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
15005 if (SWIG_arg_fail(2)) SWIG_fail
;
15006 if (arg2
== NULL
) {
15007 SWIG_null_ref("wxBrush");
15009 if (SWIG_arg_fail(2)) SWIG_fail
;
15012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15013 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15018 Py_INCREF(Py_None
); resultobj
= Py_None
;
15025 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
= NULL
;
15027 wxDC
*arg1
= (wxDC
*) 0 ;
15029 PyObject
* obj0
= 0 ;
15030 PyObject
* obj1
= 0 ;
15031 char *kwnames
[] = {
15032 (char *) "self",(char *) "mode", NULL
15035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
15036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15037 if (SWIG_arg_fail(1)) SWIG_fail
;
15039 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15040 if (SWIG_arg_fail(2)) SWIG_fail
;
15043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15044 (arg1
)->SetBackgroundMode(arg2
);
15046 wxPyEndAllowThreads(__tstate
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15049 Py_INCREF(Py_None
); resultobj
= Py_None
;
15056 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15057 PyObject
*resultobj
= NULL
;
15058 wxDC
*arg1
= (wxDC
*) 0 ;
15059 wxPalette
*arg2
= 0 ;
15060 PyObject
* obj0
= 0 ;
15061 PyObject
* obj1
= 0 ;
15062 char *kwnames
[] = {
15063 (char *) "self",(char *) "palette", NULL
15066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
15067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15068 if (SWIG_arg_fail(1)) SWIG_fail
;
15070 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPalette
, SWIG_POINTER_EXCEPTION
| 0);
15071 if (SWIG_arg_fail(2)) SWIG_fail
;
15072 if (arg2
== NULL
) {
15073 SWIG_null_ref("wxPalette");
15075 if (SWIG_arg_fail(2)) SWIG_fail
;
15078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15079 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
15081 wxPyEndAllowThreads(__tstate
);
15082 if (PyErr_Occurred()) SWIG_fail
;
15084 Py_INCREF(Py_None
); resultobj
= Py_None
;
15091 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15092 PyObject
*resultobj
= NULL
;
15093 wxDC
*arg1
= (wxDC
*) 0 ;
15094 PyObject
* obj0
= 0 ;
15095 char *kwnames
[] = {
15096 (char *) "self", NULL
15099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
15100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15101 if (SWIG_arg_fail(1)) SWIG_fail
;
15103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15104 (arg1
)->DestroyClippingRegion();
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15109 Py_INCREF(Py_None
); resultobj
= Py_None
;
15116 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15117 PyObject
*resultobj
= NULL
;
15118 wxDC
*arg1
= (wxDC
*) 0 ;
15119 int *arg2
= (int *) 0 ;
15120 int *arg3
= (int *) 0 ;
15121 int *arg4
= (int *) 0 ;
15122 int *arg5
= (int *) 0 ;
15131 PyObject
* obj0
= 0 ;
15132 char *kwnames
[] = {
15133 (char *) "self", NULL
15136 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15137 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15138 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15139 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
15141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15142 if (SWIG_arg_fail(1)) SWIG_fail
;
15144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15145 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
15147 wxPyEndAllowThreads(__tstate
);
15148 if (PyErr_Occurred()) SWIG_fail
;
15150 Py_INCREF(Py_None
); resultobj
= Py_None
;
15151 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15152 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15153 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15154 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15155 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15156 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15157 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15158 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15165 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15166 PyObject
*resultobj
= NULL
;
15167 wxDC
*arg1
= (wxDC
*) 0 ;
15169 PyObject
* obj0
= 0 ;
15170 char *kwnames
[] = {
15171 (char *) "self", NULL
15174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
15175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15176 if (SWIG_arg_fail(1)) SWIG_fail
;
15178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15179 result
= wxDC_GetClippingRect(arg1
);
15181 wxPyEndAllowThreads(__tstate
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15185 wxRect
* resultptr
;
15186 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
15187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
15195 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15196 PyObject
*resultobj
= NULL
;
15197 wxDC
*arg1
= (wxDC
*) 0 ;
15199 PyObject
* obj0
= 0 ;
15200 char *kwnames
[] = {
15201 (char *) "self", NULL
15204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
15205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15206 if (SWIG_arg_fail(1)) SWIG_fail
;
15208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15209 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
15211 wxPyEndAllowThreads(__tstate
);
15212 if (PyErr_Occurred()) SWIG_fail
;
15215 resultobj
= SWIG_From_int(static_cast<int >(result
));
15223 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15224 PyObject
*resultobj
= NULL
;
15225 wxDC
*arg1
= (wxDC
*) 0 ;
15227 PyObject
* obj0
= 0 ;
15228 char *kwnames
[] = {
15229 (char *) "self", NULL
15232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
15233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15234 if (SWIG_arg_fail(1)) SWIG_fail
;
15236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15237 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
15239 wxPyEndAllowThreads(__tstate
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15243 resultobj
= SWIG_From_int(static_cast<int >(result
));
15251 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
= NULL
;
15253 wxDC
*arg1
= (wxDC
*) 0 ;
15254 wxString
*arg2
= 0 ;
15255 int *arg3
= (int *) 0 ;
15256 int *arg4
= (int *) 0 ;
15257 bool temp2
= false ;
15262 PyObject
* obj0
= 0 ;
15263 PyObject
* obj1
= 0 ;
15264 char *kwnames
[] = {
15265 (char *) "self",(char *) "string", NULL
15268 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15269 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
15271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15272 if (SWIG_arg_fail(1)) SWIG_fail
;
15274 arg2
= wxString_in_helper(obj1
);
15275 if (arg2
== NULL
) SWIG_fail
;
15279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15280 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
15282 wxPyEndAllowThreads(__tstate
);
15283 if (PyErr_Occurred()) SWIG_fail
;
15285 Py_INCREF(Py_None
); resultobj
= Py_None
;
15286 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15287 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15288 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15289 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15304 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15305 PyObject
*resultobj
= NULL
;
15306 wxDC
*arg1
= (wxDC
*) 0 ;
15307 wxString
*arg2
= 0 ;
15308 int *arg3
= (int *) 0 ;
15309 int *arg4
= (int *) 0 ;
15310 int *arg5
= (int *) 0 ;
15311 int *arg6
= (int *) 0 ;
15312 wxFont
*arg7
= (wxFont
*) NULL
;
15313 bool temp2
= false ;
15322 PyObject
* obj0
= 0 ;
15323 PyObject
* obj1
= 0 ;
15324 PyObject
* obj2
= 0 ;
15325 char *kwnames
[] = {
15326 (char *) "self",(char *) "string",(char *) "font", NULL
15329 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15330 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15331 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15332 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
15333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15335 if (SWIG_arg_fail(1)) SWIG_fail
;
15337 arg2
= wxString_in_helper(obj1
);
15338 if (arg2
== NULL
) SWIG_fail
;
15342 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15343 if (SWIG_arg_fail(7)) SWIG_fail
;
15346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15347 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15349 wxPyEndAllowThreads(__tstate
);
15350 if (PyErr_Occurred()) SWIG_fail
;
15352 Py_INCREF(Py_None
); resultobj
= Py_None
;
15353 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15354 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15355 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15356 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15357 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15358 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15359 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
15360 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
15375 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15376 PyObject
*resultobj
= NULL
;
15377 wxDC
*arg1
= (wxDC
*) 0 ;
15378 wxString
*arg2
= 0 ;
15379 int *arg3
= (int *) 0 ;
15380 int *arg4
= (int *) 0 ;
15381 int *arg5
= (int *) 0 ;
15382 wxFont
*arg6
= (wxFont
*) NULL
;
15383 bool temp2
= false ;
15390 PyObject
* obj0
= 0 ;
15391 PyObject
* obj1
= 0 ;
15392 PyObject
* obj2
= 0 ;
15393 char *kwnames
[] = {
15394 (char *) "self",(char *) "text",(char *) "font", NULL
15397 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15398 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15399 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15402 if (SWIG_arg_fail(1)) SWIG_fail
;
15404 arg2
= wxString_in_helper(obj1
);
15405 if (arg2
== NULL
) SWIG_fail
;
15409 SWIG_Python_ConvertPtr(obj2
, (void **)&arg6
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15410 if (SWIG_arg_fail(6)) SWIG_fail
;
15413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15414 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
15416 wxPyEndAllowThreads(__tstate
);
15417 if (PyErr_Occurred()) SWIG_fail
;
15419 Py_INCREF(Py_None
); resultobj
= Py_None
;
15420 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15421 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15422 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15423 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15424 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15425 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15440 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15441 PyObject
*resultobj
= NULL
;
15442 wxDC
*arg1
= (wxDC
*) 0 ;
15443 wxString
*arg2
= 0 ;
15445 bool temp2
= false ;
15446 PyObject
* obj0
= 0 ;
15447 PyObject
* obj1
= 0 ;
15448 char *kwnames
[] = {
15449 (char *) "self",(char *) "text", NULL
15452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
15453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15454 if (SWIG_arg_fail(1)) SWIG_fail
;
15456 arg2
= wxString_in_helper(obj1
);
15457 if (arg2
== NULL
) SWIG_fail
;
15461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15462 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
15464 wxPyEndAllowThreads(__tstate
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15468 resultobj
= PyList_New(0);
15470 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
15471 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
15472 PyList_Append(resultobj
, val
);
15490 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15491 PyObject
*resultobj
= NULL
;
15492 wxDC
*arg1
= (wxDC
*) 0 ;
15494 PyObject
* obj0
= 0 ;
15495 char *kwnames
[] = {
15496 (char *) "self", NULL
15499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
15500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15501 if (SWIG_arg_fail(1)) SWIG_fail
;
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 result
= (arg1
)->GetSize();
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15510 wxSize
* resultptr
;
15511 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
15512 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15520 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15521 PyObject
*resultobj
= NULL
;
15522 wxDC
*arg1
= (wxDC
*) 0 ;
15523 int *arg2
= (int *) 0 ;
15524 int *arg3
= (int *) 0 ;
15529 PyObject
* obj0
= 0 ;
15530 char *kwnames
[] = {
15531 (char *) "self", NULL
15534 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15535 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
15537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15538 if (SWIG_arg_fail(1)) SWIG_fail
;
15540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15541 (arg1
)->GetSize(arg2
,arg3
);
15543 wxPyEndAllowThreads(__tstate
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15546 Py_INCREF(Py_None
); resultobj
= Py_None
;
15547 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15548 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15549 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15550 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15557 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15558 PyObject
*resultobj
= NULL
;
15559 wxDC
*arg1
= (wxDC
*) 0 ;
15561 PyObject
* obj0
= 0 ;
15562 char *kwnames
[] = {
15563 (char *) "self", NULL
15566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
15567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15568 if (SWIG_arg_fail(1)) SWIG_fail
;
15570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15571 result
= ((wxDC
const *)arg1
)->GetSizeMM();
15573 wxPyEndAllowThreads(__tstate
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15577 wxSize
* resultptr
;
15578 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
15579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15587 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15588 PyObject
*resultobj
= NULL
;
15589 wxDC
*arg1
= (wxDC
*) 0 ;
15590 int *arg2
= (int *) 0 ;
15591 int *arg3
= (int *) 0 ;
15596 PyObject
* obj0
= 0 ;
15597 char *kwnames
[] = {
15598 (char *) "self", NULL
15601 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15602 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
15604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15605 if (SWIG_arg_fail(1)) SWIG_fail
;
15607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15608 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15613 Py_INCREF(Py_None
); resultobj
= Py_None
;
15614 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15615 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15616 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15617 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15624 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15625 PyObject
*resultobj
= NULL
;
15626 wxDC
*arg1
= (wxDC
*) 0 ;
15629 PyObject
* obj0
= 0 ;
15630 PyObject
* obj1
= 0 ;
15631 char *kwnames
[] = {
15632 (char *) "self",(char *) "x", NULL
15635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
15636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15637 if (SWIG_arg_fail(1)) SWIG_fail
;
15639 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15640 if (SWIG_arg_fail(2)) SWIG_fail
;
15643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15644 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
15646 wxPyEndAllowThreads(__tstate
);
15647 if (PyErr_Occurred()) SWIG_fail
;
15650 resultobj
= SWIG_From_int(static_cast<int >(result
));
15658 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15659 PyObject
*resultobj
= NULL
;
15660 wxDC
*arg1
= (wxDC
*) 0 ;
15663 PyObject
* obj0
= 0 ;
15664 PyObject
* obj1
= 0 ;
15665 char *kwnames
[] = {
15666 (char *) "self",(char *) "y", NULL
15669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
15670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15671 if (SWIG_arg_fail(1)) SWIG_fail
;
15673 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15674 if (SWIG_arg_fail(2)) SWIG_fail
;
15677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15678 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
15680 wxPyEndAllowThreads(__tstate
);
15681 if (PyErr_Occurred()) SWIG_fail
;
15684 resultobj
= SWIG_From_int(static_cast<int >(result
));
15692 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15693 PyObject
*resultobj
= NULL
;
15694 wxDC
*arg1
= (wxDC
*) 0 ;
15697 PyObject
* obj0
= 0 ;
15698 PyObject
* obj1
= 0 ;
15699 char *kwnames
[] = {
15700 (char *) "self",(char *) "x", NULL
15703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15705 if (SWIG_arg_fail(1)) SWIG_fail
;
15707 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15708 if (SWIG_arg_fail(2)) SWIG_fail
;
15711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15712 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15718 resultobj
= SWIG_From_int(static_cast<int >(result
));
15726 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15727 PyObject
*resultobj
= NULL
;
15728 wxDC
*arg1
= (wxDC
*) 0 ;
15731 PyObject
* obj0
= 0 ;
15732 PyObject
* obj1
= 0 ;
15733 char *kwnames
[] = {
15734 (char *) "self",(char *) "y", NULL
15737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15739 if (SWIG_arg_fail(1)) SWIG_fail
;
15741 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15742 if (SWIG_arg_fail(2)) SWIG_fail
;
15745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15746 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
15748 wxPyEndAllowThreads(__tstate
);
15749 if (PyErr_Occurred()) SWIG_fail
;
15752 resultobj
= SWIG_From_int(static_cast<int >(result
));
15760 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15761 PyObject
*resultobj
= NULL
;
15762 wxDC
*arg1
= (wxDC
*) 0 ;
15765 PyObject
* obj0
= 0 ;
15766 PyObject
* obj1
= 0 ;
15767 char *kwnames
[] = {
15768 (char *) "self",(char *) "x", NULL
15771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
15772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15773 if (SWIG_arg_fail(1)) SWIG_fail
;
15775 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15776 if (SWIG_arg_fail(2)) SWIG_fail
;
15779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15780 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
15782 wxPyEndAllowThreads(__tstate
);
15783 if (PyErr_Occurred()) SWIG_fail
;
15786 resultobj
= SWIG_From_int(static_cast<int >(result
));
15794 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15795 PyObject
*resultobj
= NULL
;
15796 wxDC
*arg1
= (wxDC
*) 0 ;
15799 PyObject
* obj0
= 0 ;
15800 PyObject
* obj1
= 0 ;
15801 char *kwnames
[] = {
15802 (char *) "self",(char *) "y", NULL
15805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
15806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15807 if (SWIG_arg_fail(1)) SWIG_fail
;
15809 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15810 if (SWIG_arg_fail(2)) SWIG_fail
;
15813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15814 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
15816 wxPyEndAllowThreads(__tstate
);
15817 if (PyErr_Occurred()) SWIG_fail
;
15820 resultobj
= SWIG_From_int(static_cast<int >(result
));
15828 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15829 PyObject
*resultobj
= NULL
;
15830 wxDC
*arg1
= (wxDC
*) 0 ;
15833 PyObject
* obj0
= 0 ;
15834 PyObject
* obj1
= 0 ;
15835 char *kwnames
[] = {
15836 (char *) "self",(char *) "x", NULL
15839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15841 if (SWIG_arg_fail(1)) SWIG_fail
;
15843 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15844 if (SWIG_arg_fail(2)) SWIG_fail
;
15847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15848 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
15850 wxPyEndAllowThreads(__tstate
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15854 resultobj
= SWIG_From_int(static_cast<int >(result
));
15862 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15863 PyObject
*resultobj
= NULL
;
15864 wxDC
*arg1
= (wxDC
*) 0 ;
15867 PyObject
* obj0
= 0 ;
15868 PyObject
* obj1
= 0 ;
15869 char *kwnames
[] = {
15870 (char *) "self",(char *) "y", NULL
15873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
15874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15875 if (SWIG_arg_fail(1)) SWIG_fail
;
15877 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15878 if (SWIG_arg_fail(2)) SWIG_fail
;
15881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15882 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
15884 wxPyEndAllowThreads(__tstate
);
15885 if (PyErr_Occurred()) SWIG_fail
;
15888 resultobj
= SWIG_From_int(static_cast<int >(result
));
15896 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15897 PyObject
*resultobj
= NULL
;
15898 wxDC
*arg1
= (wxDC
*) 0 ;
15900 PyObject
* obj0
= 0 ;
15901 char *kwnames
[] = {
15902 (char *) "self", NULL
15905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
15906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15907 if (SWIG_arg_fail(1)) SWIG_fail
;
15909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15910 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
15912 wxPyEndAllowThreads(__tstate
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15924 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15925 PyObject
*resultobj
= NULL
;
15926 wxDC
*arg1
= (wxDC
*) 0 ;
15928 PyObject
* obj0
= 0 ;
15929 char *kwnames
[] = {
15930 (char *) "self", NULL
15933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
15934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15935 if (SWIG_arg_fail(1)) SWIG_fail
;
15937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15938 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
15940 wxPyEndAllowThreads(__tstate
);
15941 if (PyErr_Occurred()) SWIG_fail
;
15944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15952 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15953 PyObject
*resultobj
= NULL
;
15954 wxDC
*arg1
= (wxDC
*) 0 ;
15956 PyObject
* obj0
= 0 ;
15957 char *kwnames
[] = {
15958 (char *) "self", NULL
15961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
15962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15963 if (SWIG_arg_fail(1)) SWIG_fail
;
15965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15966 result
= (int)((wxDC
const *)arg1
)->GetDepth();
15968 wxPyEndAllowThreads(__tstate
);
15969 if (PyErr_Occurred()) SWIG_fail
;
15972 resultobj
= SWIG_From_int(static_cast<int >(result
));
15980 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15981 PyObject
*resultobj
= NULL
;
15982 wxDC
*arg1
= (wxDC
*) 0 ;
15984 PyObject
* obj0
= 0 ;
15985 char *kwnames
[] = {
15986 (char *) "self", NULL
15989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
15990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15991 if (SWIG_arg_fail(1)) SWIG_fail
;
15993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15994 result
= ((wxDC
const *)arg1
)->GetPPI();
15996 wxPyEndAllowThreads(__tstate
);
15997 if (PyErr_Occurred()) SWIG_fail
;
16000 wxSize
* resultptr
;
16001 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
16002 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16010 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16011 PyObject
*resultobj
= NULL
;
16012 wxDC
*arg1
= (wxDC
*) 0 ;
16014 PyObject
* obj0
= 0 ;
16015 char *kwnames
[] = {
16016 (char *) "self", NULL
16019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
16020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16021 if (SWIG_arg_fail(1)) SWIG_fail
;
16023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16024 result
= (bool)((wxDC
const *)arg1
)->Ok();
16026 wxPyEndAllowThreads(__tstate
);
16027 if (PyErr_Occurred()) SWIG_fail
;
16030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16038 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16039 PyObject
*resultobj
= NULL
;
16040 wxDC
*arg1
= (wxDC
*) 0 ;
16042 PyObject
* obj0
= 0 ;
16043 char *kwnames
[] = {
16044 (char *) "self", NULL
16047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
16048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16049 if (SWIG_arg_fail(1)) SWIG_fail
;
16051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16052 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16058 resultobj
= SWIG_From_int(static_cast<int >(result
));
16066 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16067 PyObject
*resultobj
= NULL
;
16068 wxDC
*arg1
= (wxDC
*) 0 ;
16070 PyObject
* obj0
= 0 ;
16071 char *kwnames
[] = {
16072 (char *) "self", NULL
16075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
16076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16077 if (SWIG_arg_fail(1)) SWIG_fail
;
16079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16081 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
16082 result
= (wxBrush
*) &_result_ref
;
16085 wxPyEndAllowThreads(__tstate
);
16086 if (PyErr_Occurred()) SWIG_fail
;
16089 wxBrush
* resultptr
= new wxBrush(*result
);
16090 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
16098 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16099 PyObject
*resultobj
= NULL
;
16100 wxDC
*arg1
= (wxDC
*) 0 ;
16102 PyObject
* obj0
= 0 ;
16103 char *kwnames
[] = {
16104 (char *) "self", NULL
16107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
16108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16109 if (SWIG_arg_fail(1)) SWIG_fail
;
16111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16113 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
16114 result
= (wxBrush
*) &_result_ref
;
16117 wxPyEndAllowThreads(__tstate
);
16118 if (PyErr_Occurred()) SWIG_fail
;
16121 wxBrush
* resultptr
= new wxBrush(*result
);
16122 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
16130 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16131 PyObject
*resultobj
= NULL
;
16132 wxDC
*arg1
= (wxDC
*) 0 ;
16134 PyObject
* obj0
= 0 ;
16135 char *kwnames
[] = {
16136 (char *) "self", NULL
16139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
16140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16141 if (SWIG_arg_fail(1)) SWIG_fail
;
16143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16145 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
16146 result
= (wxFont
*) &_result_ref
;
16149 wxPyEndAllowThreads(__tstate
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16153 wxFont
* resultptr
= new wxFont(*result
);
16154 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
16162 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16163 PyObject
*resultobj
= NULL
;
16164 wxDC
*arg1
= (wxDC
*) 0 ;
16166 PyObject
* obj0
= 0 ;
16167 char *kwnames
[] = {
16168 (char *) "self", NULL
16171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
16172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16173 if (SWIG_arg_fail(1)) SWIG_fail
;
16175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16177 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
16178 result
= (wxPen
*) &_result_ref
;
16181 wxPyEndAllowThreads(__tstate
);
16182 if (PyErr_Occurred()) SWIG_fail
;
16185 wxPen
* resultptr
= new wxPen(*result
);
16186 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
16194 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16195 PyObject
*resultobj
= NULL
;
16196 wxDC
*arg1
= (wxDC
*) 0 ;
16198 PyObject
* obj0
= 0 ;
16199 char *kwnames
[] = {
16200 (char *) "self", NULL
16203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
16204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16205 if (SWIG_arg_fail(1)) SWIG_fail
;
16207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
16210 result
= (wxColour
*) &_result_ref
;
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
16223 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16224 PyObject
*resultobj
= NULL
;
16225 wxDC
*arg1
= (wxDC
*) 0 ;
16227 PyObject
* obj0
= 0 ;
16228 char *kwnames
[] = {
16229 (char *) "self", NULL
16232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
16233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16234 if (SWIG_arg_fail(1)) SWIG_fail
;
16236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16238 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
16239 result
= (wxColour
*) &_result_ref
;
16242 wxPyEndAllowThreads(__tstate
);
16243 if (PyErr_Occurred()) SWIG_fail
;
16245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
16252 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16253 PyObject
*resultobj
= NULL
;
16254 wxDC
*arg1
= (wxDC
*) 0 ;
16255 wxColour
*arg2
= 0 ;
16257 PyObject
* obj0
= 0 ;
16258 PyObject
* obj1
= 0 ;
16259 char *kwnames
[] = {
16260 (char *) "self",(char *) "colour", NULL
16263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
16264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16265 if (SWIG_arg_fail(1)) SWIG_fail
;
16268 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16272 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
16274 wxPyEndAllowThreads(__tstate
);
16275 if (PyErr_Occurred()) SWIG_fail
;
16277 Py_INCREF(Py_None
); resultobj
= Py_None
;
16284 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16285 PyObject
*resultobj
= NULL
;
16286 wxDC
*arg1
= (wxDC
*) 0 ;
16287 wxColour
*arg2
= 0 ;
16289 PyObject
* obj0
= 0 ;
16290 PyObject
* obj1
= 0 ;
16291 char *kwnames
[] = {
16292 (char *) "self",(char *) "colour", NULL
16295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16297 if (SWIG_arg_fail(1)) SWIG_fail
;
16300 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16304 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
16306 wxPyEndAllowThreads(__tstate
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16309 Py_INCREF(Py_None
); resultobj
= Py_None
;
16316 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16317 PyObject
*resultobj
= NULL
;
16318 wxDC
*arg1
= (wxDC
*) 0 ;
16320 PyObject
* obj0
= 0 ;
16321 char *kwnames
[] = {
16322 (char *) "self", NULL
16325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
16326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16327 if (SWIG_arg_fail(1)) SWIG_fail
;
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16336 resultobj
= SWIG_From_int(static_cast<int >(result
));
16344 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16345 PyObject
*resultobj
= NULL
;
16346 wxDC
*arg1
= (wxDC
*) 0 ;
16348 PyObject
* obj0
= 0 ;
16349 PyObject
* obj1
= 0 ;
16350 char *kwnames
[] = {
16351 (char *) "self",(char *) "mode", NULL
16354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
16355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16356 if (SWIG_arg_fail(1)) SWIG_fail
;
16358 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16359 if (SWIG_arg_fail(2)) SWIG_fail
;
16362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16363 (arg1
)->SetMapMode(arg2
);
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16368 Py_INCREF(Py_None
); resultobj
= Py_None
;
16375 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
= NULL
;
16377 wxDC
*arg1
= (wxDC
*) 0 ;
16378 double *arg2
= (double *) 0 ;
16379 double *arg3
= (double *) 0 ;
16384 PyObject
* obj0
= 0 ;
16385 char *kwnames
[] = {
16386 (char *) "self", NULL
16389 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16390 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
16392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16393 if (SWIG_arg_fail(1)) SWIG_fail
;
16395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16396 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
16398 wxPyEndAllowThreads(__tstate
);
16399 if (PyErr_Occurred()) SWIG_fail
;
16401 Py_INCREF(Py_None
); resultobj
= Py_None
;
16402 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16403 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
16404 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16405 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
16412 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16413 PyObject
*resultobj
= NULL
;
16414 wxDC
*arg1
= (wxDC
*) 0 ;
16417 PyObject
* obj0
= 0 ;
16418 PyObject
* obj1
= 0 ;
16419 PyObject
* obj2
= 0 ;
16420 char *kwnames
[] = {
16421 (char *) "self",(char *) "x",(char *) "y", NULL
16424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16426 if (SWIG_arg_fail(1)) SWIG_fail
;
16428 arg2
= static_cast<double >(SWIG_As_double(obj1
));
16429 if (SWIG_arg_fail(2)) SWIG_fail
;
16432 arg3
= static_cast<double >(SWIG_As_double(obj2
));
16433 if (SWIG_arg_fail(3)) SWIG_fail
;
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16437 (arg1
)->SetUserScale(arg2
,arg3
);
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16442 Py_INCREF(Py_None
); resultobj
= Py_None
;
16449 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16450 PyObject
*resultobj
= NULL
;
16451 wxDC
*arg1
= (wxDC
*) 0 ;
16452 double *arg2
= (double *) 0 ;
16453 double *arg3
= (double *) 0 ;
16458 PyObject
* obj0
= 0 ;
16459 char *kwnames
[] = {
16460 (char *) "self", NULL
16463 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16464 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
16466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16467 if (SWIG_arg_fail(1)) SWIG_fail
;
16469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16470 (arg1
)->GetLogicalScale(arg2
,arg3
);
16472 wxPyEndAllowThreads(__tstate
);
16473 if (PyErr_Occurred()) SWIG_fail
;
16475 Py_INCREF(Py_None
); resultobj
= Py_None
;
16476 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16477 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
16478 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16479 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
16486 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16487 PyObject
*resultobj
= NULL
;
16488 wxDC
*arg1
= (wxDC
*) 0 ;
16491 PyObject
* obj0
= 0 ;
16492 PyObject
* obj1
= 0 ;
16493 PyObject
* obj2
= 0 ;
16494 char *kwnames
[] = {
16495 (char *) "self",(char *) "x",(char *) "y", NULL
16498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16500 if (SWIG_arg_fail(1)) SWIG_fail
;
16502 arg2
= static_cast<double >(SWIG_As_double(obj1
));
16503 if (SWIG_arg_fail(2)) SWIG_fail
;
16506 arg3
= static_cast<double >(SWIG_As_double(obj2
));
16507 if (SWIG_arg_fail(3)) SWIG_fail
;
16510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16511 (arg1
)->SetLogicalScale(arg2
,arg3
);
16513 wxPyEndAllowThreads(__tstate
);
16514 if (PyErr_Occurred()) SWIG_fail
;
16516 Py_INCREF(Py_None
); resultobj
= Py_None
;
16523 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16524 PyObject
*resultobj
= NULL
;
16525 wxDC
*arg1
= (wxDC
*) 0 ;
16527 PyObject
* obj0
= 0 ;
16528 char *kwnames
[] = {
16529 (char *) "self", NULL
16532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
16533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16534 if (SWIG_arg_fail(1)) SWIG_fail
;
16536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16537 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
16539 wxPyEndAllowThreads(__tstate
);
16540 if (PyErr_Occurred()) SWIG_fail
;
16543 wxPoint
* resultptr
;
16544 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
16545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16553 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16554 PyObject
*resultobj
= NULL
;
16555 wxDC
*arg1
= (wxDC
*) 0 ;
16556 int *arg2
= (int *) 0 ;
16557 int *arg3
= (int *) 0 ;
16562 PyObject
* obj0
= 0 ;
16563 char *kwnames
[] = {
16564 (char *) "self", NULL
16567 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16568 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
16570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16571 if (SWIG_arg_fail(1)) SWIG_fail
;
16573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16574 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
16576 wxPyEndAllowThreads(__tstate
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16579 Py_INCREF(Py_None
); resultobj
= Py_None
;
16580 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16581 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16582 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16583 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16590 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16591 PyObject
*resultobj
= NULL
;
16592 wxDC
*arg1
= (wxDC
*) 0 ;
16595 PyObject
* obj0
= 0 ;
16596 PyObject
* obj1
= 0 ;
16597 PyObject
* obj2
= 0 ;
16598 char *kwnames
[] = {
16599 (char *) "self",(char *) "x",(char *) "y", NULL
16602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16604 if (SWIG_arg_fail(1)) SWIG_fail
;
16606 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16607 if (SWIG_arg_fail(2)) SWIG_fail
;
16610 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16611 if (SWIG_arg_fail(3)) SWIG_fail
;
16614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16615 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
16617 wxPyEndAllowThreads(__tstate
);
16618 if (PyErr_Occurred()) SWIG_fail
;
16620 Py_INCREF(Py_None
); resultobj
= Py_None
;
16627 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16628 PyObject
*resultobj
= NULL
;
16629 wxDC
*arg1
= (wxDC
*) 0 ;
16630 wxPoint
*arg2
= 0 ;
16632 PyObject
* obj0
= 0 ;
16633 PyObject
* obj1
= 0 ;
16634 char *kwnames
[] = {
16635 (char *) "self",(char *) "point", NULL
16638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16640 if (SWIG_arg_fail(1)) SWIG_fail
;
16643 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16647 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
16649 wxPyEndAllowThreads(__tstate
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16652 Py_INCREF(Py_None
); resultobj
= Py_None
;
16659 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16660 PyObject
*resultobj
= NULL
;
16661 wxDC
*arg1
= (wxDC
*) 0 ;
16663 PyObject
* obj0
= 0 ;
16664 char *kwnames
[] = {
16665 (char *) "self", NULL
16668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
16669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16670 if (SWIG_arg_fail(1)) SWIG_fail
;
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16679 wxPoint
* resultptr
;
16680 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
16681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16689 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16690 PyObject
*resultobj
= NULL
;
16691 wxDC
*arg1
= (wxDC
*) 0 ;
16692 int *arg2
= (int *) 0 ;
16693 int *arg3
= (int *) 0 ;
16698 PyObject
* obj0
= 0 ;
16699 char *kwnames
[] = {
16700 (char *) "self", NULL
16703 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16704 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
16706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16707 if (SWIG_arg_fail(1)) SWIG_fail
;
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
16712 wxPyEndAllowThreads(__tstate
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16715 Py_INCREF(Py_None
); resultobj
= Py_None
;
16716 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16717 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16718 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16719 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16726 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16727 PyObject
*resultobj
= NULL
;
16728 wxDC
*arg1
= (wxDC
*) 0 ;
16731 PyObject
* obj0
= 0 ;
16732 PyObject
* obj1
= 0 ;
16733 PyObject
* obj2
= 0 ;
16734 char *kwnames
[] = {
16735 (char *) "self",(char *) "x",(char *) "y", NULL
16738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16740 if (SWIG_arg_fail(1)) SWIG_fail
;
16742 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16743 if (SWIG_arg_fail(2)) SWIG_fail
;
16746 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16747 if (SWIG_arg_fail(3)) SWIG_fail
;
16750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16751 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
16753 wxPyEndAllowThreads(__tstate
);
16754 if (PyErr_Occurred()) SWIG_fail
;
16756 Py_INCREF(Py_None
); resultobj
= Py_None
;
16763 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16764 PyObject
*resultobj
= NULL
;
16765 wxDC
*arg1
= (wxDC
*) 0 ;
16766 wxPoint
*arg2
= 0 ;
16768 PyObject
* obj0
= 0 ;
16769 PyObject
* obj1
= 0 ;
16770 char *kwnames
[] = {
16771 (char *) "self",(char *) "point", NULL
16774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16776 if (SWIG_arg_fail(1)) SWIG_fail
;
16779 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16783 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
16785 wxPyEndAllowThreads(__tstate
);
16786 if (PyErr_Occurred()) SWIG_fail
;
16788 Py_INCREF(Py_None
); resultobj
= Py_None
;
16795 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16796 PyObject
*resultobj
= NULL
;
16797 wxDC
*arg1
= (wxDC
*) 0 ;
16800 PyObject
* obj0
= 0 ;
16801 PyObject
* obj1
= 0 ;
16802 PyObject
* obj2
= 0 ;
16803 char *kwnames
[] = {
16804 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
16807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16809 if (SWIG_arg_fail(1)) SWIG_fail
;
16811 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
16812 if (SWIG_arg_fail(2)) SWIG_fail
;
16815 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
16816 if (SWIG_arg_fail(3)) SWIG_fail
;
16819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16820 (arg1
)->SetAxisOrientation(arg2
,arg3
);
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16825 Py_INCREF(Py_None
); resultobj
= Py_None
;
16832 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16833 PyObject
*resultobj
= NULL
;
16834 wxDC
*arg1
= (wxDC
*) 0 ;
16836 PyObject
* obj0
= 0 ;
16837 char *kwnames
[] = {
16838 (char *) "self", NULL
16841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
16842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16843 if (SWIG_arg_fail(1)) SWIG_fail
;
16845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16846 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
16848 wxPyEndAllowThreads(__tstate
);
16849 if (PyErr_Occurred()) SWIG_fail
;
16852 resultobj
= SWIG_From_int(static_cast<int >(result
));
16860 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16861 PyObject
*resultobj
= NULL
;
16862 wxDC
*arg1
= (wxDC
*) 0 ;
16864 PyObject
* obj0
= 0 ;
16865 PyObject
* obj1
= 0 ;
16866 char *kwnames
[] = {
16867 (char *) "self",(char *) "function", NULL
16870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
16871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16872 if (SWIG_arg_fail(1)) SWIG_fail
;
16874 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16875 if (SWIG_arg_fail(2)) SWIG_fail
;
16878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16879 (arg1
)->SetLogicalFunction(arg2
);
16881 wxPyEndAllowThreads(__tstate
);
16882 if (PyErr_Occurred()) SWIG_fail
;
16884 Py_INCREF(Py_None
); resultobj
= Py_None
;
16891 static PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16892 PyObject
*resultobj
= NULL
;
16893 wxDC
*arg1
= (wxDC
*) 0 ;
16894 PyObject
* obj0
= 0 ;
16895 char *kwnames
[] = {
16896 (char *) "self", NULL
16899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ComputeScaleAndOrigin",kwnames
,&obj0
)) goto fail
;
16900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16901 if (SWIG_arg_fail(1)) SWIG_fail
;
16903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16904 (arg1
)->ComputeScaleAndOrigin();
16906 wxPyEndAllowThreads(__tstate
);
16907 if (PyErr_Occurred()) SWIG_fail
;
16909 Py_INCREF(Py_None
); resultobj
= Py_None
;
16916 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16917 PyObject
*resultobj
= NULL
;
16918 wxDC
*arg1
= (wxDC
*) 0 ;
16921 PyObject
* obj0
= 0 ;
16922 PyObject
* obj1
= 0 ;
16923 PyObject
* obj2
= 0 ;
16924 char *kwnames
[] = {
16925 (char *) "self",(char *) "x",(char *) "y", NULL
16928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16930 if (SWIG_arg_fail(1)) SWIG_fail
;
16932 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16933 if (SWIG_arg_fail(2)) SWIG_fail
;
16936 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16937 if (SWIG_arg_fail(3)) SWIG_fail
;
16940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16941 (arg1
)->CalcBoundingBox(arg2
,arg3
);
16943 wxPyEndAllowThreads(__tstate
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16946 Py_INCREF(Py_None
); resultobj
= Py_None
;
16953 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
= NULL
;
16955 wxDC
*arg1
= (wxDC
*) 0 ;
16956 wxPoint
*arg2
= 0 ;
16958 PyObject
* obj0
= 0 ;
16959 PyObject
* obj1
= 0 ;
16960 char *kwnames
[] = {
16961 (char *) "self",(char *) "point", NULL
16964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
16965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16966 if (SWIG_arg_fail(1)) SWIG_fail
;
16969 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16973 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
16975 wxPyEndAllowThreads(__tstate
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16978 Py_INCREF(Py_None
); resultobj
= Py_None
;
16985 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16986 PyObject
*resultobj
= NULL
;
16987 wxDC
*arg1
= (wxDC
*) 0 ;
16988 PyObject
* obj0
= 0 ;
16989 char *kwnames
[] = {
16990 (char *) "self", NULL
16993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
16994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16995 if (SWIG_arg_fail(1)) SWIG_fail
;
16997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16998 (arg1
)->ResetBoundingBox();
17000 wxPyEndAllowThreads(__tstate
);
17001 if (PyErr_Occurred()) SWIG_fail
;
17003 Py_INCREF(Py_None
); resultobj
= Py_None
;
17010 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17011 PyObject
*resultobj
= NULL
;
17012 wxDC
*arg1
= (wxDC
*) 0 ;
17014 PyObject
* obj0
= 0 ;
17015 char *kwnames
[] = {
17016 (char *) "self", NULL
17019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
17020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17021 if (SWIG_arg_fail(1)) SWIG_fail
;
17023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17024 result
= (int)((wxDC
const *)arg1
)->MinX();
17026 wxPyEndAllowThreads(__tstate
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17030 resultobj
= SWIG_From_int(static_cast<int >(result
));
17038 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17039 PyObject
*resultobj
= NULL
;
17040 wxDC
*arg1
= (wxDC
*) 0 ;
17042 PyObject
* obj0
= 0 ;
17043 char *kwnames
[] = {
17044 (char *) "self", NULL
17047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
17048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17049 if (SWIG_arg_fail(1)) SWIG_fail
;
17051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17052 result
= (int)((wxDC
const *)arg1
)->MaxX();
17054 wxPyEndAllowThreads(__tstate
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17058 resultobj
= SWIG_From_int(static_cast<int >(result
));
17066 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17067 PyObject
*resultobj
= NULL
;
17068 wxDC
*arg1
= (wxDC
*) 0 ;
17070 PyObject
* obj0
= 0 ;
17071 char *kwnames
[] = {
17072 (char *) "self", NULL
17075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
17076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17077 if (SWIG_arg_fail(1)) SWIG_fail
;
17079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17080 result
= (int)((wxDC
const *)arg1
)->MinY();
17082 wxPyEndAllowThreads(__tstate
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17086 resultobj
= SWIG_From_int(static_cast<int >(result
));
17094 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17095 PyObject
*resultobj
= NULL
;
17096 wxDC
*arg1
= (wxDC
*) 0 ;
17098 PyObject
* obj0
= 0 ;
17099 char *kwnames
[] = {
17100 (char *) "self", NULL
17103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
17104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17105 if (SWIG_arg_fail(1)) SWIG_fail
;
17107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17108 result
= (int)((wxDC
const *)arg1
)->MaxY();
17110 wxPyEndAllowThreads(__tstate
);
17111 if (PyErr_Occurred()) SWIG_fail
;
17114 resultobj
= SWIG_From_int(static_cast<int >(result
));
17122 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17123 PyObject
*resultobj
= NULL
;
17124 wxDC
*arg1
= (wxDC
*) 0 ;
17125 int *arg2
= (int *) 0 ;
17126 int *arg3
= (int *) 0 ;
17127 int *arg4
= (int *) 0 ;
17128 int *arg5
= (int *) 0 ;
17137 PyObject
* obj0
= 0 ;
17138 char *kwnames
[] = {
17139 (char *) "self", NULL
17142 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17143 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17144 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
17145 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
17146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
17147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17148 if (SWIG_arg_fail(1)) SWIG_fail
;
17150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17151 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
17153 wxPyEndAllowThreads(__tstate
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17156 Py_INCREF(Py_None
); resultobj
= Py_None
;
17157 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17158 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17159 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17160 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17161 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
17162 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
17163 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
17164 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
17171 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17172 PyObject
*resultobj
= NULL
;
17173 wxDC
*arg1
= (wxDC
*) 0 ;
17174 PyObject
*arg2
= (PyObject
*) 0 ;
17175 PyObject
*arg3
= (PyObject
*) 0 ;
17176 PyObject
*arg4
= (PyObject
*) 0 ;
17178 PyObject
* obj0
= 0 ;
17179 PyObject
* obj1
= 0 ;
17180 PyObject
* obj2
= 0 ;
17181 PyObject
* obj3
= 0 ;
17182 char *kwnames
[] = {
17183 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17188 if (SWIG_arg_fail(1)) SWIG_fail
;
17193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17194 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
17196 wxPyEndAllowThreads(__tstate
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17199 resultobj
= result
;
17206 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17207 PyObject
*resultobj
= NULL
;
17208 wxDC
*arg1
= (wxDC
*) 0 ;
17209 PyObject
*arg2
= (PyObject
*) 0 ;
17210 PyObject
*arg3
= (PyObject
*) 0 ;
17211 PyObject
*arg4
= (PyObject
*) 0 ;
17213 PyObject
* obj0
= 0 ;
17214 PyObject
* obj1
= 0 ;
17215 PyObject
* obj2
= 0 ;
17216 PyObject
* obj3
= 0 ;
17217 char *kwnames
[] = {
17218 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17223 if (SWIG_arg_fail(1)) SWIG_fail
;
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17229 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17234 resultobj
= result
;
17241 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17242 PyObject
*resultobj
= NULL
;
17243 wxDC
*arg1
= (wxDC
*) 0 ;
17244 PyObject
*arg2
= (PyObject
*) 0 ;
17245 PyObject
*arg3
= (PyObject
*) 0 ;
17246 PyObject
*arg4
= (PyObject
*) 0 ;
17248 PyObject
* obj0
= 0 ;
17249 PyObject
* obj1
= 0 ;
17250 PyObject
* obj2
= 0 ;
17251 PyObject
* obj3
= 0 ;
17252 char *kwnames
[] = {
17253 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17258 if (SWIG_arg_fail(1)) SWIG_fail
;
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
17266 wxPyEndAllowThreads(__tstate
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17269 resultobj
= result
;
17276 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17277 PyObject
*resultobj
= NULL
;
17278 wxDC
*arg1
= (wxDC
*) 0 ;
17279 PyObject
*arg2
= (PyObject
*) 0 ;
17280 PyObject
*arg3
= (PyObject
*) 0 ;
17281 PyObject
*arg4
= (PyObject
*) 0 ;
17283 PyObject
* obj0
= 0 ;
17284 PyObject
* obj1
= 0 ;
17285 PyObject
* obj2
= 0 ;
17286 PyObject
* obj3
= 0 ;
17287 char *kwnames
[] = {
17288 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17293 if (SWIG_arg_fail(1)) SWIG_fail
;
17298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17299 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
17301 wxPyEndAllowThreads(__tstate
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17304 resultobj
= result
;
17311 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17312 PyObject
*resultobj
= NULL
;
17313 wxDC
*arg1
= (wxDC
*) 0 ;
17314 PyObject
*arg2
= (PyObject
*) 0 ;
17315 PyObject
*arg3
= (PyObject
*) 0 ;
17316 PyObject
*arg4
= (PyObject
*) 0 ;
17318 PyObject
* obj0
= 0 ;
17319 PyObject
* obj1
= 0 ;
17320 PyObject
* obj2
= 0 ;
17321 PyObject
* obj3
= 0 ;
17322 char *kwnames
[] = {
17323 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
17326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17328 if (SWIG_arg_fail(1)) SWIG_fail
;
17333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17334 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
17336 wxPyEndAllowThreads(__tstate
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17339 resultobj
= result
;
17346 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17347 PyObject
*resultobj
= NULL
;
17348 wxDC
*arg1
= (wxDC
*) 0 ;
17349 PyObject
*arg2
= (PyObject
*) 0 ;
17350 PyObject
*arg3
= (PyObject
*) 0 ;
17351 PyObject
*arg4
= (PyObject
*) 0 ;
17352 PyObject
*arg5
= (PyObject
*) 0 ;
17354 PyObject
* obj0
= 0 ;
17355 PyObject
* obj1
= 0 ;
17356 PyObject
* obj2
= 0 ;
17357 PyObject
* obj3
= 0 ;
17358 PyObject
* obj4
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17365 if (SWIG_arg_fail(1)) SWIG_fail
;
17371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17372 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
17374 wxPyEndAllowThreads(__tstate
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17377 resultobj
= result
;
17384 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
17386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17387 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
17389 return Py_BuildValue((char *)"");
17391 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17392 PyObject
*resultobj
= NULL
;
17393 wxMemoryDC
*result
;
17394 char *kwnames
[] = {
17398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
17400 if (!wxPyCheckForApp()) SWIG_fail
;
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 result
= (wxMemoryDC
*)new wxMemoryDC();
17404 wxPyEndAllowThreads(__tstate
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
17414 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17415 PyObject
*resultobj
= NULL
;
17416 wxDC
*arg1
= (wxDC
*) 0 ;
17417 wxMemoryDC
*result
;
17418 PyObject
* obj0
= 0 ;
17419 char *kwnames
[] = {
17420 (char *) "oldDC", NULL
17423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
17424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17425 if (SWIG_arg_fail(1)) SWIG_fail
;
17427 if (!wxPyCheckForApp()) SWIG_fail
;
17428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17429 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
17431 wxPyEndAllowThreads(__tstate
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
17441 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17442 PyObject
*resultobj
= NULL
;
17443 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
17444 wxBitmap
*arg2
= 0 ;
17445 PyObject
* obj0
= 0 ;
17446 PyObject
* obj1
= 0 ;
17447 char *kwnames
[] = {
17448 (char *) "self",(char *) "bitmap", NULL
17451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
17452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
17453 if (SWIG_arg_fail(1)) SWIG_fail
;
17455 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17456 if (SWIG_arg_fail(2)) SWIG_fail
;
17457 if (arg2
== NULL
) {
17458 SWIG_null_ref("wxBitmap");
17460 if (SWIG_arg_fail(2)) SWIG_fail
;
17463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17464 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
17466 wxPyEndAllowThreads(__tstate
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17469 Py_INCREF(Py_None
); resultobj
= Py_None
;
17476 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
17478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17479 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
17481 return Py_BuildValue((char *)"");
17483 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
17484 PyObject
*resultobj
= NULL
;
17485 wxDC
*arg1
= (wxDC
*) 0 ;
17486 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
17487 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
17488 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
17489 wxBufferedDC
*result
;
17490 PyObject
* obj0
= 0 ;
17491 PyObject
* obj1
= 0 ;
17492 PyObject
* obj2
= 0 ;
17494 if(!PyArg_ParseTuple(args
,(char *)"O|OO:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
;
17495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17496 if (SWIG_arg_fail(1)) SWIG_fail
;
17499 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17500 if (SWIG_arg_fail(2)) SWIG_fail
;
17501 if (arg2
== NULL
) {
17502 SWIG_null_ref("wxBitmap");
17504 if (SWIG_arg_fail(2)) SWIG_fail
;
17509 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17510 if (SWIG_arg_fail(3)) SWIG_fail
;
17514 if (!wxPyCheckForApp()) SWIG_fail
;
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
17518 wxPyEndAllowThreads(__tstate
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
17528 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
17529 PyObject
*resultobj
= NULL
;
17530 wxDC
*arg1
= (wxDC
*) 0 ;
17532 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
17533 wxBufferedDC
*result
;
17535 PyObject
* obj0
= 0 ;
17536 PyObject
* obj1
= 0 ;
17537 PyObject
* obj2
= 0 ;
17539 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_BufferedDC",&obj0
,&obj1
,&obj2
)) goto fail
;
17540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17541 if (SWIG_arg_fail(1)) SWIG_fail
;
17544 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17548 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17549 if (SWIG_arg_fail(3)) SWIG_fail
;
17553 if (!wxPyCheckForApp()) SWIG_fail
;
17554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17555 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
17557 wxPyEndAllowThreads(__tstate
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
17567 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
17572 argc
= PyObject_Length(args
);
17573 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
17574 argv
[ii
] = PyTuple_GetItem(args
,ii
);
17576 if ((argc
>= 1) && (argc
<= 3)) {
17580 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
17589 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
17593 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
17602 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
17604 _v
= SWIG_Check_int(argv
[2]);
17606 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
17611 if ((argc
>= 2) && (argc
<= 3)) {
17615 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
17624 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
17628 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
17630 _v
= SWIG_Check_int(argv
[2]);
17632 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
17638 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
17643 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17644 PyObject
*resultobj
= NULL
;
17645 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
17646 PyObject
* obj0
= 0 ;
17647 char *kwnames
[] = {
17648 (char *) "self", NULL
17651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
17652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
17653 if (SWIG_arg_fail(1)) SWIG_fail
;
17655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17658 wxPyEndAllowThreads(__tstate
);
17659 if (PyErr_Occurred()) SWIG_fail
;
17661 Py_INCREF(Py_None
); resultobj
= Py_None
;
17668 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
= NULL
;
17670 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
17671 PyObject
* obj0
= 0 ;
17672 char *kwnames
[] = {
17673 (char *) "self", NULL
17676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
17677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_EXCEPTION
| 0);
17678 if (SWIG_arg_fail(1)) SWIG_fail
;
17680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17683 wxPyEndAllowThreads(__tstate
);
17684 if (PyErr_Occurred()) SWIG_fail
;
17686 Py_INCREF(Py_None
); resultobj
= Py_None
;
17693 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
17695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17696 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
17698 return Py_BuildValue((char *)"");
17700 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17701 PyObject
*resultobj
= NULL
;
17702 wxWindow
*arg1
= (wxWindow
*) 0 ;
17703 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
17704 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
17705 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
17706 wxBufferedPaintDC
*result
;
17707 PyObject
* obj0
= 0 ;
17708 PyObject
* obj1
= 0 ;
17709 PyObject
* obj2
= 0 ;
17710 char *kwnames
[] = {
17711 (char *) "window",(char *) "buffer",(char *) "style", NULL
17714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17716 if (SWIG_arg_fail(1)) SWIG_fail
;
17719 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
17720 if (SWIG_arg_fail(2)) SWIG_fail
;
17721 if (arg2
== NULL
) {
17722 SWIG_null_ref("wxBitmap");
17724 if (SWIG_arg_fail(2)) SWIG_fail
;
17729 arg3
= static_cast<int >(SWIG_As_int(obj2
));
17730 if (SWIG_arg_fail(3)) SWIG_fail
;
17734 if (!wxPyCheckForApp()) SWIG_fail
;
17735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17736 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
17738 wxPyEndAllowThreads(__tstate
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
17748 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
17750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17751 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
17753 return Py_BuildValue((char *)"");
17755 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17756 PyObject
*resultobj
= NULL
;
17757 wxScreenDC
*result
;
17758 char *kwnames
[] = {
17762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
17764 if (!wxPyCheckForApp()) SWIG_fail
;
17765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 result
= (wxScreenDC
*)new wxScreenDC();
17768 wxPyEndAllowThreads(__tstate
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
17778 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17779 PyObject
*resultobj
= NULL
;
17780 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17781 wxWindow
*arg2
= (wxWindow
*) 0 ;
17783 PyObject
* obj0
= 0 ;
17784 PyObject
* obj1
= 0 ;
17785 char *kwnames
[] = {
17786 (char *) "self",(char *) "window", NULL
17789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
17790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17791 if (SWIG_arg_fail(1)) SWIG_fail
;
17792 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17793 if (SWIG_arg_fail(2)) SWIG_fail
;
17795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17796 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
17798 wxPyEndAllowThreads(__tstate
);
17799 if (PyErr_Occurred()) SWIG_fail
;
17802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17810 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17811 PyObject
*resultobj
= NULL
;
17812 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17813 wxRect
*arg2
= (wxRect
*) NULL
;
17815 PyObject
* obj0
= 0 ;
17816 PyObject
* obj1
= 0 ;
17817 char *kwnames
[] = {
17818 (char *) "self",(char *) "rect", NULL
17821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
17822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17823 if (SWIG_arg_fail(1)) SWIG_fail
;
17825 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
17826 if (SWIG_arg_fail(2)) SWIG_fail
;
17829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17830 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
17832 wxPyEndAllowThreads(__tstate
);
17833 if (PyErr_Occurred()) SWIG_fail
;
17836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17844 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17845 PyObject
*resultobj
= NULL
;
17846 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
17848 PyObject
* obj0
= 0 ;
17849 char *kwnames
[] = {
17850 (char *) "self", NULL
17853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
17854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_EXCEPTION
| 0);
17855 if (SWIG_arg_fail(1)) SWIG_fail
;
17857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17858 result
= (bool)(arg1
)->EndDrawingOnTop();
17860 wxPyEndAllowThreads(__tstate
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17872 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
17874 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17875 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
17877 return Py_BuildValue((char *)"");
17879 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17880 PyObject
*resultobj
= NULL
;
17881 wxWindow
*arg1
= (wxWindow
*) 0 ;
17882 wxClientDC
*result
;
17883 PyObject
* obj0
= 0 ;
17884 char *kwnames
[] = {
17885 (char *) "win", NULL
17888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
17889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17890 if (SWIG_arg_fail(1)) SWIG_fail
;
17892 if (!wxPyCheckForApp()) SWIG_fail
;
17893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17894 result
= (wxClientDC
*)new wxClientDC(arg1
);
17896 wxPyEndAllowThreads(__tstate
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
17906 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
17908 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17909 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
17911 return Py_BuildValue((char *)"");
17913 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17914 PyObject
*resultobj
= NULL
;
17915 wxWindow
*arg1
= (wxWindow
*) 0 ;
17917 PyObject
* obj0
= 0 ;
17918 char *kwnames
[] = {
17919 (char *) "win", NULL
17922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
17923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17924 if (SWIG_arg_fail(1)) SWIG_fail
;
17926 if (!wxPyCheckForApp()) SWIG_fail
;
17927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17928 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
17940 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
17942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17943 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
17945 return Py_BuildValue((char *)"");
17947 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17948 PyObject
*resultobj
= NULL
;
17949 wxWindow
*arg1
= (wxWindow
*) 0 ;
17950 wxWindowDC
*result
;
17951 PyObject
* obj0
= 0 ;
17952 char *kwnames
[] = {
17953 (char *) "win", NULL
17956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
17957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17958 if (SWIG_arg_fail(1)) SWIG_fail
;
17960 if (!wxPyCheckForApp()) SWIG_fail
;
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
17974 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
17976 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17977 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
17979 return Py_BuildValue((char *)"");
17981 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17982 PyObject
*resultobj
= NULL
;
17985 wxMirrorDC
*result
;
17986 PyObject
* obj0
= 0 ;
17987 PyObject
* obj1
= 0 ;
17988 char *kwnames
[] = {
17989 (char *) "dc",(char *) "mirror", NULL
17992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
17994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17995 if (SWIG_arg_fail(1)) SWIG_fail
;
17996 if (arg1
== NULL
) {
17997 SWIG_null_ref("wxDC");
17999 if (SWIG_arg_fail(1)) SWIG_fail
;
18002 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18003 if (SWIG_arg_fail(2)) SWIG_fail
;
18006 if (!wxPyCheckForApp()) SWIG_fail
;
18007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18008 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
18010 wxPyEndAllowThreads(__tstate
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
18020 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
18022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18023 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
18025 return Py_BuildValue((char *)"");
18027 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18028 PyObject
*resultobj
= NULL
;
18029 wxPrintData
*arg1
= 0 ;
18030 wxPostScriptDC
*result
;
18031 PyObject
* obj0
= 0 ;
18032 char *kwnames
[] = {
18033 (char *) "printData", NULL
18036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
18038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
18039 if (SWIG_arg_fail(1)) SWIG_fail
;
18040 if (arg1
== NULL
) {
18041 SWIG_null_ref("wxPrintData");
18043 if (SWIG_arg_fail(1)) SWIG_fail
;
18046 if (!wxPyCheckForApp()) SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
18060 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18061 PyObject
*resultobj
= NULL
;
18062 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
18063 wxPrintData
*result
;
18064 PyObject
* obj0
= 0 ;
18065 char *kwnames
[] = {
18066 (char *) "self", NULL
18069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
18070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
18071 if (SWIG_arg_fail(1)) SWIG_fail
;
18073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
18076 result
= (wxPrintData
*) &_result_ref
;
18079 wxPyEndAllowThreads(__tstate
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
18089 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18090 PyObject
*resultobj
= NULL
;
18091 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
18092 wxPrintData
*arg2
= 0 ;
18093 PyObject
* obj0
= 0 ;
18094 PyObject
* obj1
= 0 ;
18095 char *kwnames
[] = {
18096 (char *) "self",(char *) "data", NULL
18099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
18100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_EXCEPTION
| 0);
18101 if (SWIG_arg_fail(1)) SWIG_fail
;
18103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
18104 if (SWIG_arg_fail(2)) SWIG_fail
;
18105 if (arg2
== NULL
) {
18106 SWIG_null_ref("wxPrintData");
18108 if (SWIG_arg_fail(2)) SWIG_fail
;
18111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18112 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
18114 wxPyEndAllowThreads(__tstate
);
18115 if (PyErr_Occurred()) SWIG_fail
;
18117 Py_INCREF(Py_None
); resultobj
= Py_None
;
18124 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18125 PyObject
*resultobj
= NULL
;
18127 PyObject
* obj0
= 0 ;
18128 char *kwnames
[] = {
18129 (char *) "ppi", NULL
18132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
18134 arg1
= static_cast<int >(SWIG_As_int(obj0
));
18135 if (SWIG_arg_fail(1)) SWIG_fail
;
18138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18139 wxPostScriptDC::SetResolution(arg1
);
18141 wxPyEndAllowThreads(__tstate
);
18142 if (PyErr_Occurred()) SWIG_fail
;
18144 Py_INCREF(Py_None
); resultobj
= Py_None
;
18151 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18152 PyObject
*resultobj
= NULL
;
18154 char *kwnames
[] = {
18158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 result
= (int)wxPostScriptDC::GetResolution();
18163 wxPyEndAllowThreads(__tstate
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18167 resultobj
= SWIG_From_int(static_cast<int >(result
));
18175 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
18177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18178 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
18180 return Py_BuildValue((char *)"");
18182 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
= NULL
;
18184 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18185 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18186 wxMetaFile
*result
;
18187 bool temp1
= false ;
18188 PyObject
* obj0
= 0 ;
18189 char *kwnames
[] = {
18190 (char *) "filename", NULL
18193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
18196 arg1
= wxString_in_helper(obj0
);
18197 if (arg1
== NULL
) SWIG_fail
;
18202 if (!wxPyCheckForApp()) SWIG_fail
;
18203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18204 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
18206 wxPyEndAllowThreads(__tstate
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
18224 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
18226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18227 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
18229 return Py_BuildValue((char *)"");
18231 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18232 PyObject
*resultobj
= NULL
;
18233 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18234 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18235 int arg2
= (int) 0 ;
18236 int arg3
= (int) 0 ;
18237 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18238 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18239 wxMetaFileDC
*result
;
18240 bool temp1
= false ;
18241 bool temp4
= false ;
18242 PyObject
* obj0
= 0 ;
18243 PyObject
* obj1
= 0 ;
18244 PyObject
* obj2
= 0 ;
18245 PyObject
* obj3
= 0 ;
18246 char *kwnames
[] = {
18247 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
18250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18253 arg1
= wxString_in_helper(obj0
);
18254 if (arg1
== NULL
) SWIG_fail
;
18260 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18261 if (SWIG_arg_fail(2)) SWIG_fail
;
18266 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18267 if (SWIG_arg_fail(3)) SWIG_fail
;
18272 arg4
= wxString_in_helper(obj3
);
18273 if (arg4
== NULL
) SWIG_fail
;
18278 if (!wxPyCheckForApp()) SWIG_fail
;
18279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18280 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
18282 wxPyEndAllowThreads(__tstate
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
18308 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
18310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18311 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
18313 return Py_BuildValue((char *)"");
18315 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18316 PyObject
*resultobj
= NULL
;
18317 wxPrintData
*arg1
= 0 ;
18318 wxPrinterDC
*result
;
18319 PyObject
* obj0
= 0 ;
18320 char *kwnames
[] = {
18321 (char *) "printData", NULL
18324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
18326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
18327 if (SWIG_arg_fail(1)) SWIG_fail
;
18328 if (arg1
== NULL
) {
18329 SWIG_null_ref("wxPrintData");
18331 if (SWIG_arg_fail(1)) SWIG_fail
;
18334 if (!wxPyCheckForApp()) SWIG_fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
18348 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
18350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18351 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
18353 return Py_BuildValue((char *)"");
18355 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18356 PyObject
*resultobj
= NULL
;
18359 int arg3
= (int) true ;
18360 int arg4
= (int) 1 ;
18361 wxImageList
*result
;
18362 PyObject
* obj0
= 0 ;
18363 PyObject
* obj1
= 0 ;
18364 PyObject
* obj2
= 0 ;
18365 PyObject
* obj3
= 0 ;
18366 char *kwnames
[] = {
18367 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
18370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18372 arg1
= static_cast<int >(SWIG_As_int(obj0
));
18373 if (SWIG_arg_fail(1)) SWIG_fail
;
18376 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18377 if (SWIG_arg_fail(2)) SWIG_fail
;
18381 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18382 if (SWIG_arg_fail(3)) SWIG_fail
;
18387 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18388 if (SWIG_arg_fail(4)) SWIG_fail
;
18392 if (!wxPyCheckForApp()) SWIG_fail
;
18393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18394 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
18396 wxPyEndAllowThreads(__tstate
);
18397 if (PyErr_Occurred()) SWIG_fail
;
18400 resultobj
= wxPyMake_wxObject(result
, (bool)1);
18408 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18409 PyObject
*resultobj
= NULL
;
18410 wxImageList
*arg1
= (wxImageList
*) 0 ;
18411 PyObject
* obj0
= 0 ;
18412 char *kwnames
[] = {
18413 (char *) "self", NULL
18416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
18417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18418 if (SWIG_arg_fail(1)) SWIG_fail
;
18420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18423 wxPyEndAllowThreads(__tstate
);
18424 if (PyErr_Occurred()) SWIG_fail
;
18426 Py_INCREF(Py_None
); resultobj
= Py_None
;
18433 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18434 PyObject
*resultobj
= NULL
;
18435 wxImageList
*arg1
= (wxImageList
*) 0 ;
18436 wxBitmap
*arg2
= 0 ;
18437 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
18438 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
18440 PyObject
* obj0
= 0 ;
18441 PyObject
* obj1
= 0 ;
18442 PyObject
* obj2
= 0 ;
18443 char *kwnames
[] = {
18444 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
18447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18449 if (SWIG_arg_fail(1)) SWIG_fail
;
18451 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18452 if (SWIG_arg_fail(2)) SWIG_fail
;
18453 if (arg2
== NULL
) {
18454 SWIG_null_ref("wxBitmap");
18456 if (SWIG_arg_fail(2)) SWIG_fail
;
18460 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18461 if (SWIG_arg_fail(3)) SWIG_fail
;
18462 if (arg3
== NULL
) {
18463 SWIG_null_ref("wxBitmap");
18465 if (SWIG_arg_fail(3)) SWIG_fail
;
18469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18470 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18476 resultobj
= SWIG_From_int(static_cast<int >(result
));
18484 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18485 PyObject
*resultobj
= NULL
;
18486 wxImageList
*arg1
= (wxImageList
*) 0 ;
18487 wxBitmap
*arg2
= 0 ;
18488 wxColour
*arg3
= 0 ;
18491 PyObject
* obj0
= 0 ;
18492 PyObject
* obj1
= 0 ;
18493 PyObject
* obj2
= 0 ;
18494 char *kwnames
[] = {
18495 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
18498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18500 if (SWIG_arg_fail(1)) SWIG_fail
;
18502 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18503 if (SWIG_arg_fail(2)) SWIG_fail
;
18504 if (arg2
== NULL
) {
18505 SWIG_null_ref("wxBitmap");
18507 if (SWIG_arg_fail(2)) SWIG_fail
;
18511 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18515 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
18517 wxPyEndAllowThreads(__tstate
);
18518 if (PyErr_Occurred()) SWIG_fail
;
18521 resultobj
= SWIG_From_int(static_cast<int >(result
));
18529 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18530 PyObject
*resultobj
= NULL
;
18531 wxImageList
*arg1
= (wxImageList
*) 0 ;
18534 PyObject
* obj0
= 0 ;
18535 PyObject
* obj1
= 0 ;
18536 char *kwnames
[] = {
18537 (char *) "self",(char *) "icon", NULL
18540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
18541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18542 if (SWIG_arg_fail(1)) SWIG_fail
;
18544 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
18545 if (SWIG_arg_fail(2)) SWIG_fail
;
18546 if (arg2
== NULL
) {
18547 SWIG_null_ref("wxIcon");
18549 if (SWIG_arg_fail(2)) SWIG_fail
;
18552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18553 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
18555 wxPyEndAllowThreads(__tstate
);
18556 if (PyErr_Occurred()) SWIG_fail
;
18559 resultobj
= SWIG_From_int(static_cast<int >(result
));
18567 static PyObject
*_wrap_ImageList_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18568 PyObject
*resultobj
= NULL
;
18569 wxImageList
*arg1
= (wxImageList
*) 0 ;
18571 SwigValueWrapper
<wxBitmap
> result
;
18572 PyObject
* obj0
= 0 ;
18573 PyObject
* obj1
= 0 ;
18574 char *kwnames
[] = {
18575 (char *) "self",(char *) "index", NULL
18578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
18579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18580 if (SWIG_arg_fail(1)) SWIG_fail
;
18582 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18583 if (SWIG_arg_fail(2)) SWIG_fail
;
18586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18587 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
18589 wxPyEndAllowThreads(__tstate
);
18590 if (PyErr_Occurred()) SWIG_fail
;
18593 wxBitmap
* resultptr
;
18594 resultptr
= new wxBitmap(static_cast<wxBitmap
& >(result
));
18595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18603 static PyObject
*_wrap_ImageList_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18604 PyObject
*resultobj
= NULL
;
18605 wxImageList
*arg1
= (wxImageList
*) 0 ;
18608 PyObject
* obj0
= 0 ;
18609 PyObject
* obj1
= 0 ;
18610 char *kwnames
[] = {
18611 (char *) "self",(char *) "index", NULL
18614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
18615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18616 if (SWIG_arg_fail(1)) SWIG_fail
;
18618 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18619 if (SWIG_arg_fail(2)) SWIG_fail
;
18622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18623 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
18625 wxPyEndAllowThreads(__tstate
);
18626 if (PyErr_Occurred()) SWIG_fail
;
18629 wxIcon
* resultptr
;
18630 resultptr
= new wxIcon(static_cast<wxIcon
& >(result
));
18631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
18639 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18640 PyObject
*resultobj
= NULL
;
18641 wxImageList
*arg1
= (wxImageList
*) 0 ;
18643 wxBitmap
*arg3
= 0 ;
18645 PyObject
* obj0
= 0 ;
18646 PyObject
* obj1
= 0 ;
18647 PyObject
* obj2
= 0 ;
18648 char *kwnames
[] = {
18649 (char *) "self",(char *) "index",(char *) "bitmap", NULL
18652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18654 if (SWIG_arg_fail(1)) SWIG_fail
;
18656 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18657 if (SWIG_arg_fail(2)) SWIG_fail
;
18660 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18661 if (SWIG_arg_fail(3)) SWIG_fail
;
18662 if (arg3
== NULL
) {
18663 SWIG_null_ref("wxBitmap");
18665 if (SWIG_arg_fail(3)) SWIG_fail
;
18668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18669 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
18671 wxPyEndAllowThreads(__tstate
);
18672 if (PyErr_Occurred()) SWIG_fail
;
18675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18683 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18684 PyObject
*resultobj
= NULL
;
18685 wxImageList
*arg1
= (wxImageList
*) 0 ;
18690 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
18691 bool arg7
= (bool) (bool)false ;
18693 PyObject
* obj0
= 0 ;
18694 PyObject
* obj1
= 0 ;
18695 PyObject
* obj2
= 0 ;
18696 PyObject
* obj3
= 0 ;
18697 PyObject
* obj4
= 0 ;
18698 PyObject
* obj5
= 0 ;
18699 PyObject
* obj6
= 0 ;
18700 char *kwnames
[] = {
18701 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
18704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18706 if (SWIG_arg_fail(1)) SWIG_fail
;
18708 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18709 if (SWIG_arg_fail(2)) SWIG_fail
;
18712 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18713 if (SWIG_arg_fail(3)) SWIG_fail
;
18714 if (arg3
== NULL
) {
18715 SWIG_null_ref("wxDC");
18717 if (SWIG_arg_fail(3)) SWIG_fail
;
18720 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18721 if (SWIG_arg_fail(4)) SWIG_fail
;
18724 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18725 if (SWIG_arg_fail(5)) SWIG_fail
;
18729 arg6
= static_cast<int >(SWIG_As_int(obj5
));
18730 if (SWIG_arg_fail(6)) SWIG_fail
;
18735 arg7
= static_cast<bool const >(SWIG_As_bool(obj6
));
18736 if (SWIG_arg_fail(7)) SWIG_fail
;
18740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18741 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
18743 wxPyEndAllowThreads(__tstate
);
18744 if (PyErr_Occurred()) SWIG_fail
;
18747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18755 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18756 PyObject
*resultobj
= NULL
;
18757 wxImageList
*arg1
= (wxImageList
*) 0 ;
18759 PyObject
* obj0
= 0 ;
18760 char *kwnames
[] = {
18761 (char *) "self", NULL
18764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
18765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18766 if (SWIG_arg_fail(1)) SWIG_fail
;
18768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18769 result
= (int)(arg1
)->GetImageCount();
18771 wxPyEndAllowThreads(__tstate
);
18772 if (PyErr_Occurred()) SWIG_fail
;
18775 resultobj
= SWIG_From_int(static_cast<int >(result
));
18783 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18784 PyObject
*resultobj
= NULL
;
18785 wxImageList
*arg1
= (wxImageList
*) 0 ;
18788 PyObject
* obj0
= 0 ;
18789 PyObject
* obj1
= 0 ;
18790 char *kwnames
[] = {
18791 (char *) "self",(char *) "index", NULL
18794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
18795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18796 if (SWIG_arg_fail(1)) SWIG_fail
;
18798 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18799 if (SWIG_arg_fail(2)) SWIG_fail
;
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18803 result
= (bool)(arg1
)->Remove(arg2
);
18805 wxPyEndAllowThreads(__tstate
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18817 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18818 PyObject
*resultobj
= NULL
;
18819 wxImageList
*arg1
= (wxImageList
*) 0 ;
18821 PyObject
* obj0
= 0 ;
18822 char *kwnames
[] = {
18823 (char *) "self", NULL
18826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
18827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18828 if (SWIG_arg_fail(1)) SWIG_fail
;
18830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18831 result
= (bool)(arg1
)->RemoveAll();
18833 wxPyEndAllowThreads(__tstate
);
18834 if (PyErr_Occurred()) SWIG_fail
;
18837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18845 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18846 PyObject
*resultobj
= NULL
;
18847 wxImageList
*arg1
= (wxImageList
*) 0 ;
18855 PyObject
* obj0
= 0 ;
18856 PyObject
* obj1
= 0 ;
18857 char *kwnames
[] = {
18858 (char *) "self",(char *) "index", NULL
18861 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18862 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
18863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
18865 if (SWIG_arg_fail(1)) SWIG_fail
;
18867 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18868 if (SWIG_arg_fail(2)) SWIG_fail
;
18871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18872 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
18874 wxPyEndAllowThreads(__tstate
);
18875 if (PyErr_Occurred()) SWIG_fail
;
18877 Py_INCREF(Py_None
); resultobj
= Py_None
;
18878 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18879 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18880 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
18881 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
18888 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
18890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18891 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
18893 return Py_BuildValue((char *)"");
18895 static int _wrap_NORMAL_FONT_set(PyObject
*) {
18896 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
18901 static PyObject
*_wrap_NORMAL_FONT_get(void) {
18902 PyObject
*pyobj
= NULL
;
18904 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
18909 static int _wrap_SMALL_FONT_set(PyObject
*) {
18910 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
18915 static PyObject
*_wrap_SMALL_FONT_get(void) {
18916 PyObject
*pyobj
= NULL
;
18918 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
18923 static int _wrap_ITALIC_FONT_set(PyObject
*) {
18924 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
18929 static PyObject
*_wrap_ITALIC_FONT_get(void) {
18930 PyObject
*pyobj
= NULL
;
18932 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
18937 static int _wrap_SWISS_FONT_set(PyObject
*) {
18938 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
18943 static PyObject
*_wrap_SWISS_FONT_get(void) {
18944 PyObject
*pyobj
= NULL
;
18946 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
18951 static int _wrap_RED_PEN_set(PyObject
*) {
18952 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
18957 static PyObject
*_wrap_RED_PEN_get(void) {
18958 PyObject
*pyobj
= NULL
;
18960 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
18965 static int _wrap_CYAN_PEN_set(PyObject
*) {
18966 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
18971 static PyObject
*_wrap_CYAN_PEN_get(void) {
18972 PyObject
*pyobj
= NULL
;
18974 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
18979 static int _wrap_GREEN_PEN_set(PyObject
*) {
18980 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
18985 static PyObject
*_wrap_GREEN_PEN_get(void) {
18986 PyObject
*pyobj
= NULL
;
18988 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
18993 static int _wrap_BLACK_PEN_set(PyObject
*) {
18994 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
18999 static PyObject
*_wrap_BLACK_PEN_get(void) {
19000 PyObject
*pyobj
= NULL
;
19002 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
19007 static int _wrap_WHITE_PEN_set(PyObject
*) {
19008 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
19013 static PyObject
*_wrap_WHITE_PEN_get(void) {
19014 PyObject
*pyobj
= NULL
;
19016 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
19021 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
19022 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
19027 static PyObject
*_wrap_TRANSPARENT_PEN_get(void) {
19028 PyObject
*pyobj
= NULL
;
19030 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
19035 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
19036 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
19041 static PyObject
*_wrap_BLACK_DASHED_PEN_get(void) {
19042 PyObject
*pyobj
= NULL
;
19044 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
19049 static int _wrap_GREY_PEN_set(PyObject
*) {
19050 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
19055 static PyObject
*_wrap_GREY_PEN_get(void) {
19056 PyObject
*pyobj
= NULL
;
19058 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19063 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
19064 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
19069 static PyObject
*_wrap_MEDIUM_GREY_PEN_get(void) {
19070 PyObject
*pyobj
= NULL
;
19072 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19077 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
19078 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
19083 static PyObject
*_wrap_LIGHT_GREY_PEN_get(void) {
19084 PyObject
*pyobj
= NULL
;
19086 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
19091 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
19092 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
19097 static PyObject
*_wrap_BLUE_BRUSH_get(void) {
19098 PyObject
*pyobj
= NULL
;
19100 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19105 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
19106 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
19111 static PyObject
*_wrap_GREEN_BRUSH_get(void) {
19112 PyObject
*pyobj
= NULL
;
19114 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19119 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
19120 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
19125 static PyObject
*_wrap_WHITE_BRUSH_get(void) {
19126 PyObject
*pyobj
= NULL
;
19128 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19133 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
19134 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
19139 static PyObject
*_wrap_BLACK_BRUSH_get(void) {
19140 PyObject
*pyobj
= NULL
;
19142 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19147 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
19148 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
19153 static PyObject
*_wrap_TRANSPARENT_BRUSH_get(void) {
19154 PyObject
*pyobj
= NULL
;
19156 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19161 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
19162 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
19167 static PyObject
*_wrap_CYAN_BRUSH_get(void) {
19168 PyObject
*pyobj
= NULL
;
19170 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19175 static int _wrap_RED_BRUSH_set(PyObject
*) {
19176 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
19181 static PyObject
*_wrap_RED_BRUSH_get(void) {
19182 PyObject
*pyobj
= NULL
;
19184 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19189 static int _wrap_GREY_BRUSH_set(PyObject
*) {
19190 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
19195 static PyObject
*_wrap_GREY_BRUSH_get(void) {
19196 PyObject
*pyobj
= NULL
;
19198 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19203 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
19204 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
19209 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get(void) {
19210 PyObject
*pyobj
= NULL
;
19212 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19217 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
19218 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
19223 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get(void) {
19224 PyObject
*pyobj
= NULL
;
19226 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
19231 static int _wrap_BLACK_set(PyObject
*) {
19232 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
19237 static PyObject
*_wrap_BLACK_get(void) {
19238 PyObject
*pyobj
= NULL
;
19240 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
19245 static int _wrap_WHITE_set(PyObject
*) {
19246 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
19251 static PyObject
*_wrap_WHITE_get(void) {
19252 PyObject
*pyobj
= NULL
;
19254 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
19259 static int _wrap_RED_set(PyObject
*) {
19260 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
19265 static PyObject
*_wrap_RED_get(void) {
19266 PyObject
*pyobj
= NULL
;
19268 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
19273 static int _wrap_BLUE_set(PyObject
*) {
19274 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
19279 static PyObject
*_wrap_BLUE_get(void) {
19280 PyObject
*pyobj
= NULL
;
19282 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
19287 static int _wrap_GREEN_set(PyObject
*) {
19288 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
19293 static PyObject
*_wrap_GREEN_get(void) {
19294 PyObject
*pyobj
= NULL
;
19296 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
19301 static int _wrap_CYAN_set(PyObject
*) {
19302 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
19307 static PyObject
*_wrap_CYAN_get(void) {
19308 PyObject
*pyobj
= NULL
;
19310 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
19315 static int _wrap_LIGHT_GREY_set(PyObject
*) {
19316 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
19321 static PyObject
*_wrap_LIGHT_GREY_get(void) {
19322 PyObject
*pyobj
= NULL
;
19324 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
19329 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
19330 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
19335 static PyObject
*_wrap_STANDARD_CURSOR_get(void) {
19336 PyObject
*pyobj
= NULL
;
19338 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19343 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
19344 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
19349 static PyObject
*_wrap_HOURGLASS_CURSOR_get(void) {
19350 PyObject
*pyobj
= NULL
;
19352 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19357 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
19358 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
19363 static PyObject
*_wrap_CROSS_CURSOR_get(void) {
19364 PyObject
*pyobj
= NULL
;
19366 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
19371 static int _wrap_NullBitmap_set(PyObject
*) {
19372 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
19377 static PyObject
*_wrap_NullBitmap_get(void) {
19378 PyObject
*pyobj
= NULL
;
19380 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
19385 static int _wrap_NullIcon_set(PyObject
*) {
19386 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
19391 static PyObject
*_wrap_NullIcon_get(void) {
19392 PyObject
*pyobj
= NULL
;
19394 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
19399 static int _wrap_NullCursor_set(PyObject
*) {
19400 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
19405 static PyObject
*_wrap_NullCursor_get(void) {
19406 PyObject
*pyobj
= NULL
;
19408 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
19413 static int _wrap_NullPen_set(PyObject
*) {
19414 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
19419 static PyObject
*_wrap_NullPen_get(void) {
19420 PyObject
*pyobj
= NULL
;
19422 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
19427 static int _wrap_NullBrush_set(PyObject
*) {
19428 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
19433 static PyObject
*_wrap_NullBrush_get(void) {
19434 PyObject
*pyobj
= NULL
;
19436 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
19441 static int _wrap_NullPalette_set(PyObject
*) {
19442 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
19447 static PyObject
*_wrap_NullPalette_get(void) {
19448 PyObject
*pyobj
= NULL
;
19450 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
19455 static int _wrap_NullFont_set(PyObject
*) {
19456 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
19461 static PyObject
*_wrap_NullFont_get(void) {
19462 PyObject
*pyobj
= NULL
;
19464 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
19469 static int _wrap_NullColour_set(PyObject
*) {
19470 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
19475 static PyObject
*_wrap_NullColour_get(void) {
19476 PyObject
*pyobj
= NULL
;
19478 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
19483 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19484 PyObject
*resultobj
= NULL
;
19485 wxPenList
*arg1
= (wxPenList
*) 0 ;
19486 wxPen
*arg2
= (wxPen
*) 0 ;
19487 PyObject
* obj0
= 0 ;
19488 PyObject
* obj1
= 0 ;
19489 char *kwnames
[] = {
19490 (char *) "self",(char *) "pen", NULL
19493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
19494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19495 if (SWIG_arg_fail(1)) SWIG_fail
;
19496 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
19497 if (SWIG_arg_fail(2)) SWIG_fail
;
19499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19500 (arg1
)->AddPen(arg2
);
19502 wxPyEndAllowThreads(__tstate
);
19503 if (PyErr_Occurred()) SWIG_fail
;
19505 Py_INCREF(Py_None
); resultobj
= Py_None
;
19512 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19513 PyObject
*resultobj
= NULL
;
19514 wxPenList
*arg1
= (wxPenList
*) 0 ;
19515 wxColour
*arg2
= 0 ;
19520 PyObject
* obj0
= 0 ;
19521 PyObject
* obj1
= 0 ;
19522 PyObject
* obj2
= 0 ;
19523 PyObject
* obj3
= 0 ;
19524 char *kwnames
[] = {
19525 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
19528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19530 if (SWIG_arg_fail(1)) SWIG_fail
;
19533 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19536 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19537 if (SWIG_arg_fail(3)) SWIG_fail
;
19540 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19541 if (SWIG_arg_fail(4)) SWIG_fail
;
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
19557 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19558 PyObject
*resultobj
= NULL
;
19559 wxPenList
*arg1
= (wxPenList
*) 0 ;
19560 wxPen
*arg2
= (wxPen
*) 0 ;
19561 PyObject
* obj0
= 0 ;
19562 PyObject
* obj1
= 0 ;
19563 char *kwnames
[] = {
19564 (char *) "self",(char *) "pen", NULL
19567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
19568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19569 if (SWIG_arg_fail(1)) SWIG_fail
;
19570 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPen
, SWIG_POINTER_EXCEPTION
| 0);
19571 if (SWIG_arg_fail(2)) SWIG_fail
;
19573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 (arg1
)->RemovePen(arg2
);
19576 wxPyEndAllowThreads(__tstate
);
19577 if (PyErr_Occurred()) SWIG_fail
;
19579 Py_INCREF(Py_None
); resultobj
= Py_None
;
19586 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19587 PyObject
*resultobj
= NULL
;
19588 wxPenList
*arg1
= (wxPenList
*) 0 ;
19590 PyObject
* obj0
= 0 ;
19591 char *kwnames
[] = {
19592 (char *) "self", NULL
19595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
19596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPenList
, SWIG_POINTER_EXCEPTION
| 0);
19597 if (SWIG_arg_fail(1)) SWIG_fail
;
19599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19600 result
= (int)(arg1
)->GetCount();
19602 wxPyEndAllowThreads(__tstate
);
19603 if (PyErr_Occurred()) SWIG_fail
;
19606 resultobj
= SWIG_From_int(static_cast<int >(result
));
19614 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
19616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19617 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
19619 return Py_BuildValue((char *)"");
19621 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19622 PyObject
*resultobj
= NULL
;
19623 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19624 wxBrush
*arg2
= (wxBrush
*) 0 ;
19625 PyObject
* obj0
= 0 ;
19626 PyObject
* obj1
= 0 ;
19627 char *kwnames
[] = {
19628 (char *) "self",(char *) "brush", NULL
19631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
19632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19633 if (SWIG_arg_fail(1)) SWIG_fail
;
19634 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
19635 if (SWIG_arg_fail(2)) SWIG_fail
;
19637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19638 (arg1
)->AddBrush(arg2
);
19640 wxPyEndAllowThreads(__tstate
);
19641 if (PyErr_Occurred()) SWIG_fail
;
19643 Py_INCREF(Py_None
); resultobj
= Py_None
;
19650 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19651 PyObject
*resultobj
= NULL
;
19652 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19653 wxColour
*arg2
= 0 ;
19654 int arg3
= (int) wxSOLID
;
19657 PyObject
* obj0
= 0 ;
19658 PyObject
* obj1
= 0 ;
19659 PyObject
* obj2
= 0 ;
19660 char *kwnames
[] = {
19661 (char *) "self",(char *) "colour",(char *) "style", NULL
19664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19666 if (SWIG_arg_fail(1)) SWIG_fail
;
19669 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19673 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19674 if (SWIG_arg_fail(3)) SWIG_fail
;
19678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19679 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
19681 wxPyEndAllowThreads(__tstate
);
19682 if (PyErr_Occurred()) SWIG_fail
;
19684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
19691 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19692 PyObject
*resultobj
= NULL
;
19693 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19694 wxBrush
*arg2
= (wxBrush
*) 0 ;
19695 PyObject
* obj0
= 0 ;
19696 PyObject
* obj1
= 0 ;
19697 char *kwnames
[] = {
19698 (char *) "self",(char *) "brush", NULL
19701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
19702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19703 if (SWIG_arg_fail(1)) SWIG_fail
;
19704 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBrush
, SWIG_POINTER_EXCEPTION
| 0);
19705 if (SWIG_arg_fail(2)) SWIG_fail
;
19707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19708 (arg1
)->RemoveBrush(arg2
);
19710 wxPyEndAllowThreads(__tstate
);
19711 if (PyErr_Occurred()) SWIG_fail
;
19713 Py_INCREF(Py_None
); resultobj
= Py_None
;
19720 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19721 PyObject
*resultobj
= NULL
;
19722 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
19724 PyObject
* obj0
= 0 ;
19725 char *kwnames
[] = {
19726 (char *) "self", NULL
19729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
19730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBrushList
, SWIG_POINTER_EXCEPTION
| 0);
19731 if (SWIG_arg_fail(1)) SWIG_fail
;
19733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19734 result
= (int)(arg1
)->GetCount();
19736 wxPyEndAllowThreads(__tstate
);
19737 if (PyErr_Occurred()) SWIG_fail
;
19740 resultobj
= SWIG_From_int(static_cast<int >(result
));
19748 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
19750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19751 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
19753 return Py_BuildValue((char *)"");
19755 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19756 PyObject
*resultobj
= NULL
;
19757 wxColourDatabase
*result
;
19758 char *kwnames
[] = {
19762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
19764 if (!wxPyCheckForApp()) SWIG_fail
;
19765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19766 result
= (wxColourDatabase
*)new wxColourDatabase();
19768 wxPyEndAllowThreads(__tstate
);
19769 if (PyErr_Occurred()) SWIG_fail
;
19771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
19778 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19779 PyObject
*resultobj
= NULL
;
19780 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19781 PyObject
* obj0
= 0 ;
19782 char *kwnames
[] = {
19783 (char *) "self", NULL
19786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
19787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19788 if (SWIG_arg_fail(1)) SWIG_fail
;
19790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19793 wxPyEndAllowThreads(__tstate
);
19794 if (PyErr_Occurred()) SWIG_fail
;
19796 Py_INCREF(Py_None
); resultobj
= Py_None
;
19803 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19804 PyObject
*resultobj
= NULL
;
19805 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19806 wxString
*arg2
= 0 ;
19808 bool temp2
= false ;
19809 PyObject
* obj0
= 0 ;
19810 PyObject
* obj1
= 0 ;
19811 char *kwnames
[] = {
19812 (char *) "self",(char *) "name", NULL
19815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
19816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19817 if (SWIG_arg_fail(1)) SWIG_fail
;
19819 arg2
= wxString_in_helper(obj1
);
19820 if (arg2
== NULL
) SWIG_fail
;
19824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19825 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
19827 wxPyEndAllowThreads(__tstate
);
19828 if (PyErr_Occurred()) SWIG_fail
;
19831 wxColour
* resultptr
;
19832 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
19833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19849 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19850 PyObject
*resultobj
= NULL
;
19851 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19852 wxColour
*arg2
= 0 ;
19855 PyObject
* obj0
= 0 ;
19856 PyObject
* obj1
= 0 ;
19857 char *kwnames
[] = {
19858 (char *) "self",(char *) "colour", NULL
19861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
19862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19863 if (SWIG_arg_fail(1)) SWIG_fail
;
19866 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19870 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
19872 wxPyEndAllowThreads(__tstate
);
19873 if (PyErr_Occurred()) SWIG_fail
;
19877 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19879 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19888 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19889 PyObject
*resultobj
= NULL
;
19890 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19891 wxString
*arg2
= 0 ;
19892 wxColour
*arg3
= 0 ;
19893 bool temp2
= false ;
19895 PyObject
* obj0
= 0 ;
19896 PyObject
* obj1
= 0 ;
19897 PyObject
* obj2
= 0 ;
19898 char *kwnames
[] = {
19899 (char *) "self",(char *) "name",(char *) "colour", NULL
19902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19904 if (SWIG_arg_fail(1)) SWIG_fail
;
19906 arg2
= wxString_in_helper(obj1
);
19907 if (arg2
== NULL
) SWIG_fail
;
19912 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19916 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
19918 wxPyEndAllowThreads(__tstate
);
19919 if (PyErr_Occurred()) SWIG_fail
;
19921 Py_INCREF(Py_None
); resultobj
= Py_None
;
19936 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19937 PyObject
*resultobj
= NULL
;
19938 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
19939 wxString
*arg2
= 0 ;
19943 bool temp2
= false ;
19944 PyObject
* obj0
= 0 ;
19945 PyObject
* obj1
= 0 ;
19946 PyObject
* obj2
= 0 ;
19947 PyObject
* obj3
= 0 ;
19948 PyObject
* obj4
= 0 ;
19949 char *kwnames
[] = {
19950 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
19953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_EXCEPTION
| 0);
19955 if (SWIG_arg_fail(1)) SWIG_fail
;
19957 arg2
= wxString_in_helper(obj1
);
19958 if (arg2
== NULL
) SWIG_fail
;
19962 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19963 if (SWIG_arg_fail(3)) SWIG_fail
;
19966 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19967 if (SWIG_arg_fail(4)) SWIG_fail
;
19970 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19971 if (SWIG_arg_fail(5)) SWIG_fail
;
19974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19975 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19977 wxPyEndAllowThreads(__tstate
);
19978 if (PyErr_Occurred()) SWIG_fail
;
19980 Py_INCREF(Py_None
); resultobj
= Py_None
;
19995 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
19997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19998 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
20000 return Py_BuildValue((char *)"");
20002 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20003 PyObject
*resultobj
= NULL
;
20004 wxFontList
*arg1
= (wxFontList
*) 0 ;
20005 wxFont
*arg2
= (wxFont
*) 0 ;
20006 PyObject
* obj0
= 0 ;
20007 PyObject
* obj1
= 0 ;
20008 char *kwnames
[] = {
20009 (char *) "self",(char *) "font", NULL
20012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
20013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20014 if (SWIG_arg_fail(1)) SWIG_fail
;
20015 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
20016 if (SWIG_arg_fail(2)) SWIG_fail
;
20018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20019 (arg1
)->AddFont(arg2
);
20021 wxPyEndAllowThreads(__tstate
);
20022 if (PyErr_Occurred()) SWIG_fail
;
20024 Py_INCREF(Py_None
); resultobj
= Py_None
;
20031 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20032 PyObject
*resultobj
= NULL
;
20033 wxFontList
*arg1
= (wxFontList
*) 0 ;
20038 bool arg6
= (bool) false ;
20039 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20040 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20041 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
20043 bool temp7
= false ;
20044 PyObject
* obj0
= 0 ;
20045 PyObject
* obj1
= 0 ;
20046 PyObject
* obj2
= 0 ;
20047 PyObject
* obj3
= 0 ;
20048 PyObject
* obj4
= 0 ;
20049 PyObject
* obj5
= 0 ;
20050 PyObject
* obj6
= 0 ;
20051 PyObject
* obj7
= 0 ;
20052 char *kwnames
[] = {
20053 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
20056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20058 if (SWIG_arg_fail(1)) SWIG_fail
;
20060 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20061 if (SWIG_arg_fail(2)) SWIG_fail
;
20064 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20065 if (SWIG_arg_fail(3)) SWIG_fail
;
20068 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20069 if (SWIG_arg_fail(4)) SWIG_fail
;
20072 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20073 if (SWIG_arg_fail(5)) SWIG_fail
;
20077 arg6
= static_cast<bool >(SWIG_As_bool(obj5
));
20078 if (SWIG_arg_fail(6)) SWIG_fail
;
20083 arg7
= wxString_in_helper(obj6
);
20084 if (arg7
== NULL
) SWIG_fail
;
20090 arg8
= static_cast<wxFontEncoding
>(SWIG_As_int(obj7
));
20091 if (SWIG_arg_fail(8)) SWIG_fail
;
20095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20096 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
20098 wxPyEndAllowThreads(__tstate
);
20099 if (PyErr_Occurred()) SWIG_fail
;
20101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
20116 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20117 PyObject
*resultobj
= NULL
;
20118 wxFontList
*arg1
= (wxFontList
*) 0 ;
20119 wxFont
*arg2
= (wxFont
*) 0 ;
20120 PyObject
* obj0
= 0 ;
20121 PyObject
* obj1
= 0 ;
20122 char *kwnames
[] = {
20123 (char *) "self",(char *) "font", NULL
20126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
20127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20128 if (SWIG_arg_fail(1)) SWIG_fail
;
20129 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
20130 if (SWIG_arg_fail(2)) SWIG_fail
;
20132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20133 (arg1
)->RemoveFont(arg2
);
20135 wxPyEndAllowThreads(__tstate
);
20136 if (PyErr_Occurred()) SWIG_fail
;
20138 Py_INCREF(Py_None
); resultobj
= Py_None
;
20145 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20146 PyObject
*resultobj
= NULL
;
20147 wxFontList
*arg1
= (wxFontList
*) 0 ;
20149 PyObject
* obj0
= 0 ;
20150 char *kwnames
[] = {
20151 (char *) "self", NULL
20154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
20155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontList
, SWIG_POINTER_EXCEPTION
| 0);
20156 if (SWIG_arg_fail(1)) SWIG_fail
;
20158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20159 result
= (int)(arg1
)->GetCount();
20161 wxPyEndAllowThreads(__tstate
);
20162 if (PyErr_Occurred()) SWIG_fail
;
20165 resultobj
= SWIG_From_int(static_cast<int >(result
));
20173 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
20175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20176 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
20178 return Py_BuildValue((char *)"");
20180 static int _wrap_TheFontList_set(PyObject
*) {
20181 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
20186 static PyObject
*_wrap_TheFontList_get(void) {
20187 PyObject
*pyobj
= NULL
;
20189 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
20194 static int _wrap_ThePenList_set(PyObject
*) {
20195 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
20200 static PyObject
*_wrap_ThePenList_get(void) {
20201 PyObject
*pyobj
= NULL
;
20203 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
20208 static int _wrap_TheBrushList_set(PyObject
*) {
20209 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
20214 static PyObject
*_wrap_TheBrushList_get(void) {
20215 PyObject
*pyobj
= NULL
;
20217 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
20222 static int _wrap_TheColourDatabase_set(PyObject
*) {
20223 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
20228 static PyObject
*_wrap_TheColourDatabase_get(void) {
20229 PyObject
*pyobj
= NULL
;
20231 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
20236 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20237 PyObject
*resultobj
= NULL
;
20239 char *kwnames
[] = {
20243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
20245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20246 result
= (wxEffects
*)new wxEffects();
20248 wxPyEndAllowThreads(__tstate
);
20249 if (PyErr_Occurred()) SWIG_fail
;
20251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
20258 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20259 PyObject
*resultobj
= NULL
;
20260 wxEffects
*arg1
= (wxEffects
*) 0 ;
20262 PyObject
* obj0
= 0 ;
20263 char *kwnames
[] = {
20264 (char *) "self", NULL
20267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
20268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20269 if (SWIG_arg_fail(1)) SWIG_fail
;
20271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20272 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
20274 wxPyEndAllowThreads(__tstate
);
20275 if (PyErr_Occurred()) SWIG_fail
;
20278 wxColour
* resultptr
;
20279 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
20280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20288 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20289 PyObject
*resultobj
= NULL
;
20290 wxEffects
*arg1
= (wxEffects
*) 0 ;
20292 PyObject
* obj0
= 0 ;
20293 char *kwnames
[] = {
20294 (char *) "self", NULL
20297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
20298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20299 if (SWIG_arg_fail(1)) SWIG_fail
;
20301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20302 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
20304 wxPyEndAllowThreads(__tstate
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20308 wxColour
* resultptr
;
20309 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
20310 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20318 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20319 PyObject
*resultobj
= NULL
;
20320 wxEffects
*arg1
= (wxEffects
*) 0 ;
20322 PyObject
* obj0
= 0 ;
20323 char *kwnames
[] = {
20324 (char *) "self", NULL
20327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
20328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20329 if (SWIG_arg_fail(1)) SWIG_fail
;
20331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
20334 wxPyEndAllowThreads(__tstate
);
20335 if (PyErr_Occurred()) SWIG_fail
;
20338 wxColour
* resultptr
;
20339 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
20340 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20348 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20349 PyObject
*resultobj
= NULL
;
20350 wxEffects
*arg1
= (wxEffects
*) 0 ;
20352 PyObject
* obj0
= 0 ;
20353 char *kwnames
[] = {
20354 (char *) "self", NULL
20357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
20358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20359 if (SWIG_arg_fail(1)) SWIG_fail
;
20361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20362 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
20364 wxPyEndAllowThreads(__tstate
);
20365 if (PyErr_Occurred()) SWIG_fail
;
20368 wxColour
* resultptr
;
20369 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
20370 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20378 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20379 PyObject
*resultobj
= NULL
;
20380 wxEffects
*arg1
= (wxEffects
*) 0 ;
20382 PyObject
* obj0
= 0 ;
20383 char *kwnames
[] = {
20384 (char *) "self", NULL
20387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
20388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20389 if (SWIG_arg_fail(1)) SWIG_fail
;
20391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20392 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
20394 wxPyEndAllowThreads(__tstate
);
20395 if (PyErr_Occurred()) SWIG_fail
;
20398 wxColour
* resultptr
;
20399 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
20400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20408 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20409 PyObject
*resultobj
= NULL
;
20410 wxEffects
*arg1
= (wxEffects
*) 0 ;
20411 wxColour
*arg2
= 0 ;
20413 PyObject
* obj0
= 0 ;
20414 PyObject
* obj1
= 0 ;
20415 char *kwnames
[] = {
20416 (char *) "self",(char *) "c", NULL
20419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20421 if (SWIG_arg_fail(1)) SWIG_fail
;
20424 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20428 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
20430 wxPyEndAllowThreads(__tstate
);
20431 if (PyErr_Occurred()) SWIG_fail
;
20433 Py_INCREF(Py_None
); resultobj
= Py_None
;
20440 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20441 PyObject
*resultobj
= NULL
;
20442 wxEffects
*arg1
= (wxEffects
*) 0 ;
20443 wxColour
*arg2
= 0 ;
20445 PyObject
* obj0
= 0 ;
20446 PyObject
* obj1
= 0 ;
20447 char *kwnames
[] = {
20448 (char *) "self",(char *) "c", NULL
20451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20453 if (SWIG_arg_fail(1)) SWIG_fail
;
20456 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20460 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
20462 wxPyEndAllowThreads(__tstate
);
20463 if (PyErr_Occurred()) SWIG_fail
;
20465 Py_INCREF(Py_None
); resultobj
= Py_None
;
20472 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20473 PyObject
*resultobj
= NULL
;
20474 wxEffects
*arg1
= (wxEffects
*) 0 ;
20475 wxColour
*arg2
= 0 ;
20477 PyObject
* obj0
= 0 ;
20478 PyObject
* obj1
= 0 ;
20479 char *kwnames
[] = {
20480 (char *) "self",(char *) "c", NULL
20483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20485 if (SWIG_arg_fail(1)) SWIG_fail
;
20488 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20492 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
20494 wxPyEndAllowThreads(__tstate
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20497 Py_INCREF(Py_None
); resultobj
= Py_None
;
20504 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20505 PyObject
*resultobj
= NULL
;
20506 wxEffects
*arg1
= (wxEffects
*) 0 ;
20507 wxColour
*arg2
= 0 ;
20509 PyObject
* obj0
= 0 ;
20510 PyObject
* obj1
= 0 ;
20511 char *kwnames
[] = {
20512 (char *) "self",(char *) "c", NULL
20515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20517 if (SWIG_arg_fail(1)) SWIG_fail
;
20520 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20524 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
20526 wxPyEndAllowThreads(__tstate
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 Py_INCREF(Py_None
); resultobj
= Py_None
;
20536 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20537 PyObject
*resultobj
= NULL
;
20538 wxEffects
*arg1
= (wxEffects
*) 0 ;
20539 wxColour
*arg2
= 0 ;
20541 PyObject
* obj0
= 0 ;
20542 PyObject
* obj1
= 0 ;
20543 char *kwnames
[] = {
20544 (char *) "self",(char *) "c", NULL
20547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
20548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20549 if (SWIG_arg_fail(1)) SWIG_fail
;
20552 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20556 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
20558 wxPyEndAllowThreads(__tstate
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20561 Py_INCREF(Py_None
); resultobj
= Py_None
;
20568 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20569 PyObject
*resultobj
= NULL
;
20570 wxEffects
*arg1
= (wxEffects
*) 0 ;
20571 wxColour
*arg2
= 0 ;
20572 wxColour
*arg3
= 0 ;
20573 wxColour
*arg4
= 0 ;
20574 wxColour
*arg5
= 0 ;
20575 wxColour
*arg6
= 0 ;
20581 PyObject
* obj0
= 0 ;
20582 PyObject
* obj1
= 0 ;
20583 PyObject
* obj2
= 0 ;
20584 PyObject
* obj3
= 0 ;
20585 PyObject
* obj4
= 0 ;
20586 PyObject
* obj5
= 0 ;
20587 char *kwnames
[] = {
20588 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
20591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20593 if (SWIG_arg_fail(1)) SWIG_fail
;
20596 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20600 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
20604 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
20608 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
20612 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
20615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20616 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
20618 wxPyEndAllowThreads(__tstate
);
20619 if (PyErr_Occurred()) SWIG_fail
;
20621 Py_INCREF(Py_None
); resultobj
= Py_None
;
20628 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20629 PyObject
*resultobj
= NULL
;
20630 wxEffects
*arg1
= (wxEffects
*) 0 ;
20633 int arg4
= (int) 1 ;
20635 PyObject
* obj0
= 0 ;
20636 PyObject
* obj1
= 0 ;
20637 PyObject
* obj2
= 0 ;
20638 PyObject
* obj3
= 0 ;
20639 char *kwnames
[] = {
20640 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
20643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20645 if (SWIG_arg_fail(1)) SWIG_fail
;
20647 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20648 if (SWIG_arg_fail(2)) SWIG_fail
;
20649 if (arg2
== NULL
) {
20650 SWIG_null_ref("wxDC");
20652 if (SWIG_arg_fail(2)) SWIG_fail
;
20656 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20660 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20661 if (SWIG_arg_fail(4)) SWIG_fail
;
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
20668 wxPyEndAllowThreads(__tstate
);
20669 if (PyErr_Occurred()) SWIG_fail
;
20671 Py_INCREF(Py_None
); resultobj
= Py_None
;
20678 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20679 PyObject
*resultobj
= NULL
;
20680 wxEffects
*arg1
= (wxEffects
*) 0 ;
20683 wxBitmap
*arg4
= 0 ;
20686 PyObject
* obj0
= 0 ;
20687 PyObject
* obj1
= 0 ;
20688 PyObject
* obj2
= 0 ;
20689 PyObject
* obj3
= 0 ;
20690 char *kwnames
[] = {
20691 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
20694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEffects
, SWIG_POINTER_EXCEPTION
| 0);
20696 if (SWIG_arg_fail(1)) SWIG_fail
;
20699 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20702 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20703 if (SWIG_arg_fail(3)) SWIG_fail
;
20704 if (arg3
== NULL
) {
20705 SWIG_null_ref("wxDC");
20707 if (SWIG_arg_fail(3)) SWIG_fail
;
20710 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
20711 if (SWIG_arg_fail(4)) SWIG_fail
;
20712 if (arg4
== NULL
) {
20713 SWIG_null_ref("wxBitmap");
20715 if (SWIG_arg_fail(4)) SWIG_fail
;
20718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20719 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
20721 wxPyEndAllowThreads(__tstate
);
20722 if (PyErr_Occurred()) SWIG_fail
;
20725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20733 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
20735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20736 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
20738 return Py_BuildValue((char *)"");
20740 static PyObject
*_wrap_new_SplitterRenderParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20741 PyObject
*resultobj
= NULL
;
20745 wxSplitterRenderParams
*result
;
20746 PyObject
* obj0
= 0 ;
20747 PyObject
* obj1
= 0 ;
20748 PyObject
* obj2
= 0 ;
20749 char *kwnames
[] = {
20750 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
20753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20755 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20756 if (SWIG_arg_fail(1)) SWIG_fail
;
20759 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20760 if (SWIG_arg_fail(2)) SWIG_fail
;
20763 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
20764 if (SWIG_arg_fail(3)) SWIG_fail
;
20767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20768 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterRenderParams
, 1);
20780 static PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20781 PyObject
*resultobj
= NULL
;
20782 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
20783 PyObject
* obj0
= 0 ;
20784 char *kwnames
[] = {
20785 (char *) "self", NULL
20788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SplitterRenderParams",kwnames
,&obj0
)) goto fail
;
20789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
20790 if (SWIG_arg_fail(1)) SWIG_fail
;
20792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20795 wxPyEndAllowThreads(__tstate
);
20796 if (PyErr_Occurred()) SWIG_fail
;
20798 Py_INCREF(Py_None
); resultobj
= Py_None
;
20805 static PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20806 PyObject
*resultobj
= NULL
;
20807 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
20809 PyObject
* obj0
= 0 ;
20810 char *kwnames
[] = {
20811 (char *) "self", NULL
20814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_widthSash_get",kwnames
,&obj0
)) goto fail
;
20815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
20816 if (SWIG_arg_fail(1)) SWIG_fail
;
20817 result
= (int)(int) ((arg1
)->widthSash
);
20820 resultobj
= SWIG_From_int(static_cast<int >(result
));
20828 static PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20829 PyObject
*resultobj
= NULL
;
20830 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
20832 PyObject
* obj0
= 0 ;
20833 char *kwnames
[] = {
20834 (char *) "self", NULL
20837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_border_get",kwnames
,&obj0
)) goto fail
;
20838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
20839 if (SWIG_arg_fail(1)) SWIG_fail
;
20840 result
= (int)(int) ((arg1
)->border
);
20843 resultobj
= SWIG_From_int(static_cast<int >(result
));
20851 static PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20852 PyObject
*resultobj
= NULL
;
20853 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
20855 PyObject
* obj0
= 0 ;
20856 char *kwnames
[] = {
20857 (char *) "self", NULL
20860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterRenderParams_isHotSensitive_get",kwnames
,&obj0
)) goto fail
;
20861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_EXCEPTION
| 0);
20862 if (SWIG_arg_fail(1)) SWIG_fail
;
20863 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
20866 resultobj
= SWIG_From_bool(static_cast<bool >(result
));
20874 static PyObject
* SplitterRenderParams_swigregister(PyObject
*, PyObject
*args
) {
20876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20877 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterRenderParams
, obj
);
20879 return Py_BuildValue((char *)"");
20881 static PyObject
*_wrap_new_RendererVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20882 PyObject
*resultobj
= NULL
;
20885 wxRendererVersion
*result
;
20886 PyObject
* obj0
= 0 ;
20887 PyObject
* obj1
= 0 ;
20888 char *kwnames
[] = {
20889 (char *) "version_",(char *) "age_", NULL
20892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) goto fail
;
20894 arg1
= static_cast<int >(SWIG_As_int(obj0
));
20895 if (SWIG_arg_fail(1)) SWIG_fail
;
20898 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20899 if (SWIG_arg_fail(2)) SWIG_fail
;
20902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20903 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
20905 wxPyEndAllowThreads(__tstate
);
20906 if (PyErr_Occurred()) SWIG_fail
;
20908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererVersion
, 1);
20915 static PyObject
*_wrap_delete_RendererVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20916 PyObject
*resultobj
= NULL
;
20917 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
20918 PyObject
* obj0
= 0 ;
20919 char *kwnames
[] = {
20920 (char *) "self", NULL
20923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RendererVersion",kwnames
,&obj0
)) goto fail
;
20924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
20925 if (SWIG_arg_fail(1)) SWIG_fail
;
20927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 wxPyEndAllowThreads(__tstate
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20933 Py_INCREF(Py_None
); resultobj
= Py_None
;
20940 static PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20941 PyObject
*resultobj
= NULL
;
20942 wxRendererVersion
*arg1
= 0 ;
20944 PyObject
* obj0
= 0 ;
20945 char *kwnames
[] = {
20946 (char *) "ver", NULL
20949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) goto fail
;
20951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
20952 if (SWIG_arg_fail(1)) SWIG_fail
;
20953 if (arg1
== NULL
) {
20954 SWIG_null_ref("wxRendererVersion");
20956 if (SWIG_arg_fail(1)) SWIG_fail
;
20959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20960 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
20962 wxPyEndAllowThreads(__tstate
);
20963 if (PyErr_Occurred()) SWIG_fail
;
20966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20974 static PyObject
*_wrap_RendererVersion_version_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20975 PyObject
*resultobj
= NULL
;
20976 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
20978 PyObject
* obj0
= 0 ;
20979 char *kwnames
[] = {
20980 (char *) "self", NULL
20983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_version_get",kwnames
,&obj0
)) goto fail
;
20984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
20985 if (SWIG_arg_fail(1)) SWIG_fail
;
20986 result
= (int)(int) ((arg1
)->version
);
20989 resultobj
= SWIG_From_int(static_cast<int >(result
));
20997 static PyObject
*_wrap_RendererVersion_age_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20998 PyObject
*resultobj
= NULL
;
20999 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
21001 PyObject
* obj0
= 0 ;
21002 char *kwnames
[] = {
21003 (char *) "self", NULL
21006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_age_get",kwnames
,&obj0
)) goto fail
;
21007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_EXCEPTION
| 0);
21008 if (SWIG_arg_fail(1)) SWIG_fail
;
21009 result
= (int)(int) ((arg1
)->age
);
21012 resultobj
= SWIG_From_int(static_cast<int >(result
));
21020 static PyObject
* RendererVersion_swigregister(PyObject
*, PyObject
*args
) {
21022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21023 SWIG_TypeClientData(SWIGTYPE_p_wxRendererVersion
, obj
);
21025 return Py_BuildValue((char *)"");
21027 static PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21028 PyObject
*resultobj
= NULL
;
21029 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21030 wxWindow
*arg2
= (wxWindow
*) 0 ;
21033 int arg5
= (int) 0 ;
21035 PyObject
* obj0
= 0 ;
21036 PyObject
* obj1
= 0 ;
21037 PyObject
* obj2
= 0 ;
21038 PyObject
* obj3
= 0 ;
21039 PyObject
* obj4
= 0 ;
21040 char *kwnames
[] = {
21041 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21046 if (SWIG_arg_fail(1)) SWIG_fail
;
21047 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21048 if (SWIG_arg_fail(2)) SWIG_fail
;
21050 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21051 if (SWIG_arg_fail(3)) SWIG_fail
;
21052 if (arg3
== NULL
) {
21053 SWIG_null_ref("wxDC");
21055 if (SWIG_arg_fail(3)) SWIG_fail
;
21059 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21063 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21064 if (SWIG_arg_fail(5)) SWIG_fail
;
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21074 Py_INCREF(Py_None
); resultobj
= Py_None
;
21081 static PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
= NULL
;
21083 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21084 wxWindow
*arg2
= (wxWindow
*) 0 ;
21087 int arg5
= (int) 0 ;
21089 PyObject
* obj0
= 0 ;
21090 PyObject
* obj1
= 0 ;
21091 PyObject
* obj2
= 0 ;
21092 PyObject
* obj3
= 0 ;
21093 PyObject
* obj4
= 0 ;
21094 char *kwnames
[] = {
21095 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21100 if (SWIG_arg_fail(1)) SWIG_fail
;
21101 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21102 if (SWIG_arg_fail(2)) SWIG_fail
;
21104 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21105 if (SWIG_arg_fail(3)) SWIG_fail
;
21106 if (arg3
== NULL
) {
21107 SWIG_null_ref("wxDC");
21109 if (SWIG_arg_fail(3)) SWIG_fail
;
21113 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21117 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21118 if (SWIG_arg_fail(5)) SWIG_fail
;
21122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21123 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21125 wxPyEndAllowThreads(__tstate
);
21126 if (PyErr_Occurred()) SWIG_fail
;
21128 Py_INCREF(Py_None
); resultobj
= Py_None
;
21135 static PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21136 PyObject
*resultobj
= NULL
;
21137 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21138 wxWindow
*arg2
= (wxWindow
*) 0 ;
21141 int arg5
= (int) 0 ;
21143 PyObject
* obj0
= 0 ;
21144 PyObject
* obj1
= 0 ;
21145 PyObject
* obj2
= 0 ;
21146 PyObject
* obj3
= 0 ;
21147 PyObject
* obj4
= 0 ;
21148 char *kwnames
[] = {
21149 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21154 if (SWIG_arg_fail(1)) SWIG_fail
;
21155 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21156 if (SWIG_arg_fail(2)) SWIG_fail
;
21158 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21159 if (SWIG_arg_fail(3)) SWIG_fail
;
21160 if (arg3
== NULL
) {
21161 SWIG_null_ref("wxDC");
21163 if (SWIG_arg_fail(3)) SWIG_fail
;
21167 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21171 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21172 if (SWIG_arg_fail(5)) SWIG_fail
;
21176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21177 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21179 wxPyEndAllowThreads(__tstate
);
21180 if (PyErr_Occurred()) SWIG_fail
;
21182 Py_INCREF(Py_None
); resultobj
= Py_None
;
21189 static PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21190 PyObject
*resultobj
= NULL
;
21191 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21192 wxWindow
*arg2
= (wxWindow
*) 0 ;
21196 wxOrientation arg6
;
21197 int arg7
= (int) 0 ;
21199 PyObject
* obj0
= 0 ;
21200 PyObject
* obj1
= 0 ;
21201 PyObject
* obj2
= 0 ;
21202 PyObject
* obj3
= 0 ;
21203 PyObject
* obj4
= 0 ;
21204 PyObject
* obj5
= 0 ;
21205 PyObject
* obj6
= 0 ;
21206 char *kwnames
[] = {
21207 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
21210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21212 if (SWIG_arg_fail(1)) SWIG_fail
;
21213 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21214 if (SWIG_arg_fail(2)) SWIG_fail
;
21216 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21217 if (SWIG_arg_fail(3)) SWIG_fail
;
21218 if (arg3
== NULL
) {
21219 SWIG_null_ref("wxDC");
21221 if (SWIG_arg_fail(3)) SWIG_fail
;
21225 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21228 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21229 if (SWIG_arg_fail(5)) SWIG_fail
;
21232 arg6
= static_cast<wxOrientation
>(SWIG_As_int(obj5
));
21233 if (SWIG_arg_fail(6)) SWIG_fail
;
21237 arg7
= static_cast<int >(SWIG_As_int(obj6
));
21238 if (SWIG_arg_fail(7)) SWIG_fail
;
21242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21243 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
21245 wxPyEndAllowThreads(__tstate
);
21246 if (PyErr_Occurred()) SWIG_fail
;
21248 Py_INCREF(Py_None
); resultobj
= Py_None
;
21255 static PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21256 PyObject
*resultobj
= NULL
;
21257 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21258 wxWindow
*arg2
= (wxWindow
*) 0 ;
21261 int arg5
= (int) 0 ;
21263 PyObject
* obj0
= 0 ;
21264 PyObject
* obj1
= 0 ;
21265 PyObject
* obj2
= 0 ;
21266 PyObject
* obj3
= 0 ;
21267 PyObject
* obj4
= 0 ;
21268 char *kwnames
[] = {
21269 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21274 if (SWIG_arg_fail(1)) SWIG_fail
;
21275 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21276 if (SWIG_arg_fail(2)) SWIG_fail
;
21278 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21279 if (SWIG_arg_fail(3)) SWIG_fail
;
21280 if (arg3
== NULL
) {
21281 SWIG_null_ref("wxDC");
21283 if (SWIG_arg_fail(3)) SWIG_fail
;
21287 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21291 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21292 if (SWIG_arg_fail(5)) SWIG_fail
;
21296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21297 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21299 wxPyEndAllowThreads(__tstate
);
21300 if (PyErr_Occurred()) SWIG_fail
;
21302 Py_INCREF(Py_None
); resultobj
= Py_None
;
21309 static PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21310 PyObject
*resultobj
= NULL
;
21311 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21312 wxWindow
*arg2
= (wxWindow
*) 0 ;
21315 int arg5
= (int) 0 ;
21317 PyObject
* obj0
= 0 ;
21318 PyObject
* obj1
= 0 ;
21319 PyObject
* obj2
= 0 ;
21320 PyObject
* obj3
= 0 ;
21321 PyObject
* obj4
= 0 ;
21322 char *kwnames
[] = {
21323 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21328 if (SWIG_arg_fail(1)) SWIG_fail
;
21329 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21330 if (SWIG_arg_fail(2)) SWIG_fail
;
21332 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21333 if (SWIG_arg_fail(3)) SWIG_fail
;
21334 if (arg3
== NULL
) {
21335 SWIG_null_ref("wxDC");
21337 if (SWIG_arg_fail(3)) SWIG_fail
;
21341 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21345 arg5
= static_cast<int >(SWIG_As_int(obj4
));
21346 if (SWIG_arg_fail(5)) SWIG_fail
;
21350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21351 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
21353 wxPyEndAllowThreads(__tstate
);
21354 if (PyErr_Occurred()) SWIG_fail
;
21356 Py_INCREF(Py_None
); resultobj
= Py_None
;
21363 static PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21364 PyObject
*resultobj
= NULL
;
21365 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21366 wxWindow
*arg2
= (wxWindow
*) 0 ;
21367 SwigValueWrapper
<wxSplitterRenderParams
> result
;
21368 PyObject
* obj0
= 0 ;
21369 PyObject
* obj1
= 0 ;
21370 char *kwnames
[] = {
21371 (char *) "self",(char *) "win", NULL
21374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) goto fail
;
21375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21376 if (SWIG_arg_fail(1)) SWIG_fail
;
21377 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21378 if (SWIG_arg_fail(2)) SWIG_fail
;
21380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21381 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
21383 wxPyEndAllowThreads(__tstate
);
21384 if (PyErr_Occurred()) SWIG_fail
;
21387 wxSplitterRenderParams
* resultptr
;
21388 resultptr
= new wxSplitterRenderParams(static_cast<wxSplitterRenderParams
& >(result
));
21389 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSplitterRenderParams
, 1);
21397 static PyObject
*_wrap_RendererNative_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21398 PyObject
*resultobj
= NULL
;
21399 wxRendererNative
*result
;
21400 char *kwnames
[] = {
21404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_Get",kwnames
)) goto fail
;
21406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21408 wxRendererNative
&_result_ref
= wxRendererNative::Get();
21409 result
= (wxRendererNative
*) &_result_ref
;
21412 wxPyEndAllowThreads(__tstate
);
21413 if (PyErr_Occurred()) SWIG_fail
;
21415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
21422 static PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21423 PyObject
*resultobj
= NULL
;
21424 wxRendererNative
*result
;
21425 char *kwnames
[] = {
21429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_GetGeneric",kwnames
)) goto fail
;
21431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21433 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
21434 result
= (wxRendererNative
*) &_result_ref
;
21437 wxPyEndAllowThreads(__tstate
);
21438 if (PyErr_Occurred()) SWIG_fail
;
21440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
21447 static PyObject
*_wrap_RendererNative_GetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21448 PyObject
*resultobj
= NULL
;
21449 wxRendererNative
*result
;
21450 char *kwnames
[] = {
21454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":RendererNative_GetDefault",kwnames
)) goto fail
;
21456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21458 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
21459 result
= (wxRendererNative
*) &_result_ref
;
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
21472 static PyObject
*_wrap_RendererNative_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21473 PyObject
*resultobj
= NULL
;
21474 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21475 wxRendererNative
*result
;
21476 PyObject
* obj0
= 0 ;
21477 char *kwnames
[] = {
21478 (char *) "renderer", NULL
21481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) goto fail
;
21482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21483 if (SWIG_arg_fail(1)) SWIG_fail
;
21485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21486 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
21488 wxPyEndAllowThreads(__tstate
);
21489 if (PyErr_Occurred()) SWIG_fail
;
21491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRendererNative
, 0);
21498 static PyObject
*_wrap_RendererNative_GetVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21499 PyObject
*resultobj
= NULL
;
21500 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
21501 SwigValueWrapper
<wxRendererVersion
> result
;
21502 PyObject
* obj0
= 0 ;
21503 char *kwnames
[] = {
21504 (char *) "self", NULL
21507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_GetVersion",kwnames
,&obj0
)) goto fail
;
21508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRendererNative
, SWIG_POINTER_EXCEPTION
| 0);
21509 if (SWIG_arg_fail(1)) SWIG_fail
;
21511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21512 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21518 wxRendererVersion
* resultptr
;
21519 resultptr
= new wxRendererVersion(static_cast<wxRendererVersion
& >(result
));
21520 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRendererVersion
, 1);
21528 static PyObject
* RendererNative_swigregister(PyObject
*, PyObject
*args
) {
21530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21531 SWIG_TypeClientData(SWIGTYPE_p_wxRendererNative
, obj
);
21533 return Py_BuildValue((char *)"");
21535 static PyMethodDef SwigMethods
[] = {
21536 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21537 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21538 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21539 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21540 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21541 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
21542 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21543 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21544 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21545 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21546 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21547 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21548 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21549 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21550 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21551 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21552 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21553 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21554 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21555 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21556 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21557 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21558 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
21559 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21560 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21561 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21562 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21563 { (char *)"Palette_GetColoursCount", (PyCFunction
) _wrap_Palette_GetColoursCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21564 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21565 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
21566 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21567 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21568 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21569 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21570 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21571 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21572 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21573 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21574 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21575 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21576 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21577 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21578 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21579 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21580 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21581 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21582 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21583 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21584 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21585 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
21586 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21587 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21588 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21589 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21590 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21591 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21592 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21593 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21594 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21595 { (char *)"Brush_IsHatch", (PyCFunction
) _wrap_Brush_IsHatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21596 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21597 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
21598 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21599 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21600 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21601 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21602 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21603 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21604 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21605 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21606 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21607 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21608 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21609 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21610 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21611 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21612 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21613 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21614 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21615 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21616 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21617 { (char *)"Bitmap_GetPalette", (PyCFunction
) _wrap_Bitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21618 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21619 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21620 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21621 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21622 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21623 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21624 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21625 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
21626 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21627 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
21628 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21629 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21630 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21631 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21632 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21633 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21634 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21635 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21636 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21637 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21638 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21639 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21640 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21641 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21642 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21643 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
21644 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21645 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21646 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21647 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21648 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21649 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21650 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21651 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
21652 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21653 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21654 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21655 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21656 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21657 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21658 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21659 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
21660 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21661 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21662 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21663 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21664 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21665 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
21666 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21667 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21668 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21669 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21670 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21671 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21672 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21673 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21674 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21675 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21676 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21677 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21678 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21679 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21680 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21681 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21682 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21683 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21684 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21685 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21686 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21687 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21688 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21689 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21690 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21691 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21692 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21693 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21694 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
21695 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21696 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21697 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21698 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21699 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21700 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21701 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21702 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21703 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21704 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21705 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21706 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21707 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21708 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
21709 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21710 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21711 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21712 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21713 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21714 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21715 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21716 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21717 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21718 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21719 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21720 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21721 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21722 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21723 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21724 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21725 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21726 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21727 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21728 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21729 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21730 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21731 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21732 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
21733 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21734 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21735 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21736 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21737 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21738 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21739 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21740 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21741 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
21742 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21743 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21744 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21745 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21746 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21747 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21748 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21749 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21750 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21751 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21752 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21753 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21754 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21755 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21756 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21757 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21758 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21759 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21760 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
21761 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21762 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21763 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21764 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21765 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21766 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21767 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21768 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21769 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21770 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21771 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21772 { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21773 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21774 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21775 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21776 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21777 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21778 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21779 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21780 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21781 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21782 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21783 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21784 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21785 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21786 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21787 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21788 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21789 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21790 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21791 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21792 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21793 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21794 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21795 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21796 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21797 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21798 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21799 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21800 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21801 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21802 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
21803 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21804 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21805 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21806 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21807 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21808 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21809 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21810 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
21811 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21812 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21813 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21814 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21815 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21816 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21817 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
21818 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21819 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21820 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21821 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21822 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21823 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21824 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21825 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21826 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21827 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21828 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21829 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21830 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21831 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21832 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21833 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21834 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21835 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21836 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21837 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21838 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21839 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
21840 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21841 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
21842 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21843 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21844 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21845 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21846 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21847 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21848 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21849 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
21850 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21851 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21852 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21853 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21854 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21855 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21856 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21857 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21858 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21859 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21860 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21861 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21862 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21863 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21864 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21865 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21866 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21867 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21868 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21869 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21870 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21871 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21872 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21873 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21874 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21875 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21876 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21877 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21878 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21879 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21880 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21881 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21882 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21883 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21884 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21885 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21886 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21887 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21888 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21889 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21890 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21891 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21892 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21893 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21894 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21895 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21896 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21897 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21898 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21899 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21900 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21901 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21902 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21903 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21904 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21905 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21906 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21907 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21908 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21909 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21910 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21911 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21912 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21913 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21914 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21915 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21916 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21917 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21918 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21919 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21920 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21921 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21922 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21923 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21924 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21925 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21926 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21927 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21928 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21929 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21930 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21931 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21932 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21933 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21934 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21935 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21936 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21937 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21938 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21939 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21940 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21941 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21942 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21943 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21944 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21945 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21946 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21947 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21948 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21949 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21950 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21951 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21952 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21953 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21954 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21955 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21956 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21957 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21958 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21959 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21960 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21961 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21962 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
) _wrap_DC_ComputeScaleAndOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21963 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21964 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21965 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21966 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21967 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21968 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21969 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21970 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21971 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21972 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21973 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21974 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21975 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21976 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21977 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
21978 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21979 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21980 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21981 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
21982 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
21983 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21984 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21985 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
21986 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21987 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
21988 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21989 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21990 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21991 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21992 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
21993 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21994 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
21995 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21996 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
21997 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
21998 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
21999 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22000 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
22001 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22002 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22003 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22004 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22005 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22006 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
22007 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22008 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
22009 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22010 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
22011 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22012 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
22013 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22014 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22015 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22016 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22017 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22018 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22019 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22020 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22021 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22022 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22023 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22024 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22025 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22026 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
22027 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22028 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22029 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22030 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22031 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
22032 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22033 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22034 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22035 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22036 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
22037 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22038 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22039 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22040 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22041 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22042 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22043 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
22044 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22045 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22046 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22047 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22048 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
22049 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22050 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22051 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22052 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22053 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22054 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22055 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22056 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22057 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22058 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22059 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22060 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22061 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22062 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22063 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
22064 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22065 { (char *)"delete_SplitterRenderParams", (PyCFunction
) _wrap_delete_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22066 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
) _wrap_SplitterRenderParams_widthSash_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22067 { (char *)"SplitterRenderParams_border_get", (PyCFunction
) _wrap_SplitterRenderParams_border_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22068 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
) _wrap_SplitterRenderParams_isHotSensitive_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22069 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
22070 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22071 { (char *)"delete_RendererVersion", (PyCFunction
) _wrap_delete_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22072 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22073 { (char *)"RendererVersion_version_get", (PyCFunction
) _wrap_RendererVersion_version_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22074 { (char *)"RendererVersion_age_get", (PyCFunction
) _wrap_RendererVersion_age_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22075 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
22076 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22077 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22078 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22079 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22080 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22081 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22082 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22083 { (char *)"RendererNative_Get", (PyCFunction
) _wrap_RendererNative_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22084 { (char *)"RendererNative_GetGeneric", (PyCFunction
) _wrap_RendererNative_GetGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22085 { (char *)"RendererNative_GetDefault", (PyCFunction
) _wrap_RendererNative_GetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22086 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22087 { (char *)"RendererNative_GetVersion", (PyCFunction
) _wrap_RendererNative_GetVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22088 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
22089 { NULL
, NULL
, 0, NULL
}
22093 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
22095 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
22096 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
22098 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
22099 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22101 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
22102 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
22104 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
22105 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
22107 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
22108 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
22110 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
22111 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
22113 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
22114 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
22116 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
22117 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
22119 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
22120 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
22122 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
22123 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
22125 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
22126 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
22128 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
22129 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
22131 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
22132 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
22134 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
22135 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
22137 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
22138 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
22140 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
22141 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
22143 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
22144 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22146 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
22147 return (void *)((wxDC
*) ((wxClientDC
*) x
));
22149 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
22150 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
22152 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
22153 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
22155 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
22156 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
22158 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
22159 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22161 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
22162 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
22164 static void *_p_wxPenTo_p_wxObject(void *x
) {
22165 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
22167 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
22168 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
22170 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
22171 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
22173 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
22174 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
22176 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
22177 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
22179 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
22180 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
22182 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
22183 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
22185 static void *_p_wxIconTo_p_wxObject(void *x
) {
22186 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
22188 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
22189 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
22191 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
22192 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
22194 static void *_p_wxSizerTo_p_wxObject(void *x
) {
22195 return (void *)((wxObject
*) ((wxSizer
*) x
));
22197 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
22198 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
22200 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
22201 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22203 static void *_p_wxPenListTo_p_wxObject(void *x
) {
22204 return (void *)((wxObject
*) ((wxPenList
*) x
));
22206 static void *_p_wxEventTo_p_wxObject(void *x
) {
22207 return (void *)((wxObject
*) ((wxEvent
*) x
));
22209 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
22210 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
22212 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
22213 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
22215 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
22216 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
22218 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
22219 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
22221 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
22222 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
22224 static void *_p_wxDCTo_p_wxObject(void *x
) {
22225 return (void *)((wxObject
*) ((wxDC
*) x
));
22227 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
22228 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
22230 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
22231 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
22233 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
22234 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
22236 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
22237 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
22239 static void *_p_wxControlTo_p_wxObject(void *x
) {
22240 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
22242 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
22243 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
22245 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
22246 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
22248 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
22249 return (void *)((wxObject
*) ((wxFSFile
*) x
));
22251 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
22252 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
22254 static void *_p_wxRegionTo_p_wxObject(void *x
) {
22255 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
22257 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
22258 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
22260 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
22261 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
22263 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
22264 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
22266 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
22267 return (void *)((wxObject
*) ((wxEffects
*) x
));
22269 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
22270 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
22272 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
22273 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22275 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
22276 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
22278 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
22279 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
22281 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
22282 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
22284 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
22285 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
22287 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
22288 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
22290 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
22291 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22293 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
22294 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
22296 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
22297 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
22299 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
22300 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
22302 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
22303 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
22305 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
22306 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
22308 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
22309 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
22311 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
22312 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
22314 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
22315 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
22317 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
22318 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
22320 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
22321 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
22323 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
22324 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
22326 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
22327 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
22329 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
22330 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
22332 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
22333 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
22335 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
22336 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
22338 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
22339 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
22341 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
22342 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
22344 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
22345 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
22347 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
22348 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
22350 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
22351 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
22353 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
22354 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
22356 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
22357 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
22359 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
22360 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
22362 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
22363 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
22365 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
22366 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
22368 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
22369 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
22371 static void *_p_wxImageTo_p_wxObject(void *x
) {
22372 return (void *)((wxObject
*) ((wxImage
*) x
));
22374 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
22375 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
22377 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
22378 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
22380 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
22381 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
22383 static void *_p_wxImageListTo_p_wxObject(void *x
) {
22384 return (void *)((wxObject
*) ((wxImageList
*) x
));
22386 static void *_p_wxCursorTo_p_wxObject(void *x
) {
22387 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
22389 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
22390 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
22392 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
22393 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
22395 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
22396 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22398 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
22399 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
22401 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
22402 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
22404 static void *_p_wxWindowTo_p_wxObject(void *x
) {
22405 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
22407 static void *_p_wxMenuTo_p_wxObject(void *x
) {
22408 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
22410 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
22411 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
22413 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
22414 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
22416 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
22417 return (void *)((wxObject
*) ((wxBrushList
*) x
));
22419 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
22420 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
22422 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
22423 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
22425 static void *_p_wxMaskTo_p_wxObject(void *x
) {
22426 return (void *)((wxObject
*) ((wxMask
*) x
));
22428 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
22429 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22431 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
22432 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
22434 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
22435 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
22437 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
22438 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
22440 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
22441 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
22443 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
22444 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
22446 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
22447 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22449 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
22450 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
22452 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
22453 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
22455 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
22456 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
22458 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
22459 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22461 static void *_p_wxFontTo_p_wxObject(void *x
) {
22462 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
22464 static void *_p_wxBrushTo_p_wxObject(void *x
) {
22465 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
22467 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
22468 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
22470 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
22471 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
22473 static void *_p_wxColourTo_p_wxObject(void *x
) {
22474 return (void *)((wxObject
*) ((wxColour
*) x
));
22476 static void *_p_wxFontListTo_p_wxObject(void *x
) {
22477 return (void *)((wxObject
*) ((wxFontList
*) x
));
22479 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
22480 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
22482 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
22483 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
22485 static void *_p_wxControlTo_p_wxWindow(void *x
) {
22486 return (void *)((wxWindow
*) ((wxControl
*) x
));
22488 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
22489 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
22491 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
22492 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
22494 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
22495 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, 0};
22496 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
22497 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
22498 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
22499 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
22500 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
22501 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
22502 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, 0};
22503 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, 0};
22504 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, 0};
22505 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, 0};
22506 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, 0};
22507 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
22508 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, 0};
22509 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, 0};
22510 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
22511 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, 0};
22512 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
22513 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, 0};
22514 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, 0};
22515 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
22516 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, 0};
22517 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, 0};
22518 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, 0};
22519 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
22520 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0};
22521 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, 0};
22522 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, 0};
22523 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, 0};
22524 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, 0};
22525 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, 0};
22526 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, 0};
22527 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0};
22528 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, 0};
22529 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, 0};
22530 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, 0};
22531 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, 0};
22532 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, 0};
22533 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
22534 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
22535 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
22536 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
22537 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
22538 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
22539 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
22540 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
22541 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
22542 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
22543 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
22544 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0};
22545 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0};
22546 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
22547 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
22548 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
22549 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
22550 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
22551 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
22552 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
22553 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
22554 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
22555 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0};
22556 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
22557 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
22558 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
22559 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
22560 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0};
22561 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
22562 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
22563 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
22564 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
22565 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
22566 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
22567 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
22568 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
22569 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
22570 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
22571 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
22572 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
22573 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
22574 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
22575 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
22576 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
22577 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
22578 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
22579 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
22580 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0};
22581 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
22582 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
22583 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
22584 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
22585 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
22586 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
22587 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
22588 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
22589 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
22590 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
22591 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
22592 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
22593 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0};
22594 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
22595 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
22596 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
22597 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
22598 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
22599 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
22600 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
22601 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0};
22602 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
22603 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
22604 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
22605 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
22606 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
22607 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
22608 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, 0};
22609 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, 0};
22610 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
22611 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, 0};
22612 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, 0};
22613 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
22614 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, 0};
22615 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
22616 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, 0};
22617 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, 0};
22618 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
22619 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, 0};
22620 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, 0};
22621 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, 0};
22622 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, 0};
22623 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, 0};
22624 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
22625 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, 0};
22626 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
22627 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
22628 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, 0};
22629 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
22630 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
22631 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
22633 static swig_type_info
*swig_type_initial
[] = {
22636 &_swigt__p_form_ops_t
,
22638 &_swigt__p_unsigned_char
,
22639 &_swigt__p_unsigned_int
,
22640 &_swigt__p_unsigned_long
,
22641 &_swigt__p_wxANIHandler
,
22642 &_swigt__p_wxAcceleratorTable
,
22643 &_swigt__p_wxActivateEvent
,
22644 &_swigt__p_wxBMPHandler
,
22645 &_swigt__p_wxBitmap
,
22646 &_swigt__p_wxBoxSizer
,
22647 &_swigt__p_wxBrush
,
22648 &_swigt__p_wxBrushList
,
22649 &_swigt__p_wxBufferedDC
,
22650 &_swigt__p_wxBufferedPaintDC
,
22651 &_swigt__p_wxCURHandler
,
22652 &_swigt__p_wxChildFocusEvent
,
22653 &_swigt__p_wxClientDC
,
22654 &_swigt__p_wxCloseEvent
,
22655 &_swigt__p_wxColour
,
22656 &_swigt__p_wxColourDatabase
,
22657 &_swigt__p_wxCommandEvent
,
22658 &_swigt__p_wxContextMenuEvent
,
22659 &_swigt__p_wxControl
,
22660 &_swigt__p_wxControlWithItems
,
22661 &_swigt__p_wxCursor
,
22664 &_swigt__p_wxDateEvent
,
22665 &_swigt__p_wxDisplayChangedEvent
,
22666 &_swigt__p_wxDropFilesEvent
,
22667 &_swigt__p_wxDuplexMode
,
22668 &_swigt__p_wxEffects
,
22669 &_swigt__p_wxEncodingConverter
,
22670 &_swigt__p_wxEraseEvent
,
22671 &_swigt__p_wxEvent
,
22672 &_swigt__p_wxEvtHandler
,
22673 &_swigt__p_wxFSFile
,
22674 &_swigt__p_wxFileSystem
,
22675 &_swigt__p_wxFlexGridSizer
,
22676 &_swigt__p_wxFocusEvent
,
22678 &_swigt__p_wxFontList
,
22679 &_swigt__p_wxFontMapper
,
22680 &_swigt__p_wxGBSizerItem
,
22681 &_swigt__p_wxGDIObject
,
22682 &_swigt__p_wxGIFHandler
,
22683 &_swigt__p_wxGridBagSizer
,
22684 &_swigt__p_wxGridSizer
,
22685 &_swigt__p_wxICOHandler
,
22687 &_swigt__p_wxIconBundle
,
22688 &_swigt__p_wxIconLocation
,
22689 &_swigt__p_wxIconizeEvent
,
22690 &_swigt__p_wxIdleEvent
,
22691 &_swigt__p_wxImage
,
22692 &_swigt__p_wxImageHandler
,
22693 &_swigt__p_wxImageList
,
22694 &_swigt__p_wxIndividualLayoutConstraint
,
22695 &_swigt__p_wxInitDialogEvent
,
22696 &_swigt__p_wxJPEGHandler
,
22697 &_swigt__p_wxKeyEvent
,
22698 &_swigt__p_wxLanguageInfo
,
22699 &_swigt__p_wxLayoutConstraints
,
22700 &_swigt__p_wxLocale
,
22702 &_swigt__p_wxMaximizeEvent
,
22703 &_swigt__p_wxMemoryDC
,
22705 &_swigt__p_wxMenuBar
,
22706 &_swigt__p_wxMenuEvent
,
22707 &_swigt__p_wxMenuItem
,
22708 &_swigt__p_wxMetaFile
,
22709 &_swigt__p_wxMetaFileDC
,
22710 &_swigt__p_wxMirrorDC
,
22711 &_swigt__p_wxMouseCaptureChangedEvent
,
22712 &_swigt__p_wxMouseEvent
,
22713 &_swigt__p_wxMoveEvent
,
22714 &_swigt__p_wxNativeEncodingInfo
,
22715 &_swigt__p_wxNativeFontInfo
,
22716 &_swigt__p_wxNavigationKeyEvent
,
22717 &_swigt__p_wxNcPaintEvent
,
22718 &_swigt__p_wxNotifyEvent
,
22719 &_swigt__p_wxObject
,
22720 &_swigt__p_wxPCXHandler
,
22721 &_swigt__p_wxPNGHandler
,
22722 &_swigt__p_wxPNMHandler
,
22723 &_swigt__p_wxPaintDC
,
22724 &_swigt__p_wxPaintEvent
,
22725 &_swigt__p_wxPalette
,
22726 &_swigt__p_wxPaletteChangedEvent
,
22727 &_swigt__p_wxPaperSize
,
22729 &_swigt__p_wxPenList
,
22730 &_swigt__p_wxPoint
,
22731 &_swigt__p_wxPostScriptDC
,
22732 &_swigt__p_wxPrintData
,
22733 &_swigt__p_wxPrinterDC
,
22734 &_swigt__p_wxPyApp
,
22735 &_swigt__p_wxPyCommandEvent
,
22736 &_swigt__p_wxPyEvent
,
22737 &_swigt__p_wxPyFontEnumerator
,
22738 &_swigt__p_wxPyImageHandler
,
22739 &_swigt__p_wxPySizer
,
22740 &_swigt__p_wxPyValidator
,
22741 &_swigt__p_wxQueryNewPaletteEvent
,
22743 &_swigt__p_wxRegion
,
22744 &_swigt__p_wxRegionIterator
,
22745 &_swigt__p_wxRendererNative
,
22746 &_swigt__p_wxRendererVersion
,
22747 &_swigt__p_wxScreenDC
,
22748 &_swigt__p_wxScrollEvent
,
22749 &_swigt__p_wxScrollWinEvent
,
22750 &_swigt__p_wxSetCursorEvent
,
22751 &_swigt__p_wxShowEvent
,
22753 &_swigt__p_wxSizeEvent
,
22754 &_swigt__p_wxSizer
,
22755 &_swigt__p_wxSizerItem
,
22756 &_swigt__p_wxSplitterRenderParams
,
22757 &_swigt__p_wxStaticBoxSizer
,
22758 &_swigt__p_wxStdDialogButtonSizer
,
22759 &_swigt__p_wxString
,
22760 &_swigt__p_wxSysColourChangedEvent
,
22761 &_swigt__p_wxTIFFHandler
,
22762 &_swigt__p_wxUpdateUIEvent
,
22763 &_swigt__p_wxValidator
,
22764 &_swigt__p_wxWindow
,
22765 &_swigt__p_wxWindowCreateEvent
,
22766 &_swigt__p_wxWindowDC
,
22767 &_swigt__p_wxWindowDestroyEvent
,
22768 &_swigt__p_wxXPMHandler
,
22769 &_swigt__ptrdiff_t
,
22770 &_swigt__std__ptrdiff_t
,
22771 &_swigt__unsigned_int
,
22774 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
22775 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
22776 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
22777 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
22778 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
22779 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
22780 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
22781 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
22782 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
22783 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
22784 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}};
22785 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
22786 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
22787 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
22788 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
22789 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
22790 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}};
22791 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
22792 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
22793 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
22794 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
22795 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
22796 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
22797 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
22798 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}};
22799 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
22800 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
22801 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
22802 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
22803 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
22804 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
22805 static swig_cast_info _swigc__p_wxLocale
[] = { {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}};
22806 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
22807 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}};
22808 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
22809 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
22810 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
22811 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
22812 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
22813 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
22814 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
22815 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
22816 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
22817 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
22818 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
22819 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
22820 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
22821 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
22822 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
22823 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
22824 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
22825 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
22826 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
22827 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
22828 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
22829 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
22830 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22831 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22832 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22833 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
22834 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
22835 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
22836 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
22837 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
22838 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22839 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22840 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
22841 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
22842 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
22843 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
22844 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
22845 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
22846 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22847 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22848 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
22849 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
22850 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
22851 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
22852 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
22853 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
22854 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
22855 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
22856 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
22857 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
22858 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
22859 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
22860 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
22861 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
22862 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
22863 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
22864 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
22865 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
22866 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
22867 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
22868 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22869 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22870 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
22871 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
22872 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
22873 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
22874 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
22875 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
22876 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
22877 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
22878 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
22879 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
22880 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
22881 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
22882 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
22883 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
22884 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
22885 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
22886 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
22887 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}};
22888 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
22889 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
22890 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
22891 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
22892 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
22893 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
22894 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
22895 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
22896 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
22897 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
22898 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
22899 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
22900 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
22901 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
22902 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
22903 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
22904 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
22905 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
22906 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
22907 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}};
22908 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
22909 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
22910 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
22911 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
22913 static swig_cast_info
*swig_cast_initial
[] = {
22916 _swigc__p_form_ops_t
,
22918 _swigc__p_unsigned_char
,
22919 _swigc__p_unsigned_int
,
22920 _swigc__p_unsigned_long
,
22921 _swigc__p_wxANIHandler
,
22922 _swigc__p_wxAcceleratorTable
,
22923 _swigc__p_wxActivateEvent
,
22924 _swigc__p_wxBMPHandler
,
22925 _swigc__p_wxBitmap
,
22926 _swigc__p_wxBoxSizer
,
22928 _swigc__p_wxBrushList
,
22929 _swigc__p_wxBufferedDC
,
22930 _swigc__p_wxBufferedPaintDC
,
22931 _swigc__p_wxCURHandler
,
22932 _swigc__p_wxChildFocusEvent
,
22933 _swigc__p_wxClientDC
,
22934 _swigc__p_wxCloseEvent
,
22935 _swigc__p_wxColour
,
22936 _swigc__p_wxColourDatabase
,
22937 _swigc__p_wxCommandEvent
,
22938 _swigc__p_wxContextMenuEvent
,
22939 _swigc__p_wxControl
,
22940 _swigc__p_wxControlWithItems
,
22941 _swigc__p_wxCursor
,
22944 _swigc__p_wxDateEvent
,
22945 _swigc__p_wxDisplayChangedEvent
,
22946 _swigc__p_wxDropFilesEvent
,
22947 _swigc__p_wxDuplexMode
,
22948 _swigc__p_wxEffects
,
22949 _swigc__p_wxEncodingConverter
,
22950 _swigc__p_wxEraseEvent
,
22952 _swigc__p_wxEvtHandler
,
22953 _swigc__p_wxFSFile
,
22954 _swigc__p_wxFileSystem
,
22955 _swigc__p_wxFlexGridSizer
,
22956 _swigc__p_wxFocusEvent
,
22958 _swigc__p_wxFontList
,
22959 _swigc__p_wxFontMapper
,
22960 _swigc__p_wxGBSizerItem
,
22961 _swigc__p_wxGDIObject
,
22962 _swigc__p_wxGIFHandler
,
22963 _swigc__p_wxGridBagSizer
,
22964 _swigc__p_wxGridSizer
,
22965 _swigc__p_wxICOHandler
,
22967 _swigc__p_wxIconBundle
,
22968 _swigc__p_wxIconLocation
,
22969 _swigc__p_wxIconizeEvent
,
22970 _swigc__p_wxIdleEvent
,
22972 _swigc__p_wxImageHandler
,
22973 _swigc__p_wxImageList
,
22974 _swigc__p_wxIndividualLayoutConstraint
,
22975 _swigc__p_wxInitDialogEvent
,
22976 _swigc__p_wxJPEGHandler
,
22977 _swigc__p_wxKeyEvent
,
22978 _swigc__p_wxLanguageInfo
,
22979 _swigc__p_wxLayoutConstraints
,
22980 _swigc__p_wxLocale
,
22982 _swigc__p_wxMaximizeEvent
,
22983 _swigc__p_wxMemoryDC
,
22985 _swigc__p_wxMenuBar
,
22986 _swigc__p_wxMenuEvent
,
22987 _swigc__p_wxMenuItem
,
22988 _swigc__p_wxMetaFile
,
22989 _swigc__p_wxMetaFileDC
,
22990 _swigc__p_wxMirrorDC
,
22991 _swigc__p_wxMouseCaptureChangedEvent
,
22992 _swigc__p_wxMouseEvent
,
22993 _swigc__p_wxMoveEvent
,
22994 _swigc__p_wxNativeEncodingInfo
,
22995 _swigc__p_wxNativeFontInfo
,
22996 _swigc__p_wxNavigationKeyEvent
,
22997 _swigc__p_wxNcPaintEvent
,
22998 _swigc__p_wxNotifyEvent
,
22999 _swigc__p_wxObject
,
23000 _swigc__p_wxPCXHandler
,
23001 _swigc__p_wxPNGHandler
,
23002 _swigc__p_wxPNMHandler
,
23003 _swigc__p_wxPaintDC
,
23004 _swigc__p_wxPaintEvent
,
23005 _swigc__p_wxPalette
,
23006 _swigc__p_wxPaletteChangedEvent
,
23007 _swigc__p_wxPaperSize
,
23009 _swigc__p_wxPenList
,
23011 _swigc__p_wxPostScriptDC
,
23012 _swigc__p_wxPrintData
,
23013 _swigc__p_wxPrinterDC
,
23015 _swigc__p_wxPyCommandEvent
,
23016 _swigc__p_wxPyEvent
,
23017 _swigc__p_wxPyFontEnumerator
,
23018 _swigc__p_wxPyImageHandler
,
23019 _swigc__p_wxPySizer
,
23020 _swigc__p_wxPyValidator
,
23021 _swigc__p_wxQueryNewPaletteEvent
,
23023 _swigc__p_wxRegion
,
23024 _swigc__p_wxRegionIterator
,
23025 _swigc__p_wxRendererNative
,
23026 _swigc__p_wxRendererVersion
,
23027 _swigc__p_wxScreenDC
,
23028 _swigc__p_wxScrollEvent
,
23029 _swigc__p_wxScrollWinEvent
,
23030 _swigc__p_wxSetCursorEvent
,
23031 _swigc__p_wxShowEvent
,
23033 _swigc__p_wxSizeEvent
,
23035 _swigc__p_wxSizerItem
,
23036 _swigc__p_wxSplitterRenderParams
,
23037 _swigc__p_wxStaticBoxSizer
,
23038 _swigc__p_wxStdDialogButtonSizer
,
23039 _swigc__p_wxString
,
23040 _swigc__p_wxSysColourChangedEvent
,
23041 _swigc__p_wxTIFFHandler
,
23042 _swigc__p_wxUpdateUIEvent
,
23043 _swigc__p_wxValidator
,
23044 _swigc__p_wxWindow
,
23045 _swigc__p_wxWindowCreateEvent
,
23046 _swigc__p_wxWindowDC
,
23047 _swigc__p_wxWindowDestroyEvent
,
23048 _swigc__p_wxXPMHandler
,
23050 _swigc__std__ptrdiff_t
,
23051 _swigc__unsigned_int
,
23055 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
23057 static swig_const_info swig_const_table
[] = {
23058 {0, 0, 0, 0.0, 0, 0}};
23063 /*************************************************************************
23064 * Type initialization:
23065 * This problem is tough by the requirement that no dynamic
23066 * memory is used. Also, since swig_type_info structures store pointers to
23067 * swig_cast_info structures and swig_cast_info structures store pointers back
23068 * to swig_type_info structures, we need some lookup code at initialization.
23069 * The idea is that swig generates all the structures that are needed.
23070 * The runtime then collects these partially filled structures.
23071 * The SWIG_InitializeModule function takes these initial arrays out of
23072 * swig_module, and does all the lookup, filling in the swig_module.types
23073 * array with the correct data and linking the correct swig_cast_info
23074 * structures together.
23076 * The generated swig_type_info structures are assigned staticly to an initial
23077 * array. We just loop though that array, and handle each type individually.
23078 * First we lookup if this type has been already loaded, and if so, use the
23079 * loaded structure instead of the generated one. Then we have to fill in the
23080 * cast linked list. The cast data is initially stored in something like a
23081 * two-dimensional array. Each row corresponds to a type (there are the same
23082 * number of rows as there are in the swig_type_initial array). Each entry in
23083 * a column is one of the swig_cast_info structures for that type.
23084 * The cast_initial array is actually an array of arrays, because each row has
23085 * a variable number of columns. So to actually build the cast linked list,
23086 * we find the array of casts associated with the type, and loop through it
23087 * adding the casts to the list. The one last trick we need to do is making
23088 * sure the type pointer in the swig_cast_info struct is correct.
23090 * First off, we lookup the cast->type name to see if it is already loaded.
23091 * There are three cases to handle:
23092 * 1) If the cast->type has already been loaded AND the type we are adding
23093 * casting info to has not been loaded (it is in this module), THEN we
23094 * replace the cast->type pointer with the type pointer that has already
23096 * 2) If BOTH types (the one we are adding casting info to, and the
23097 * cast->type) are loaded, THEN the cast info has already been loaded by
23098 * the previous module so we just ignore it.
23099 * 3) Finally, if cast->type has not already been loaded, then we add that
23100 * swig_cast_info to the linked list (because the cast->type) pointer will
23112 #define SWIGRUNTIME_DEBUG
23116 SWIG_InitializeModule(void *clientdata
) {
23118 swig_module_info
*module_head
;
23119 static int init_run
= 0;
23121 clientdata
= clientdata
;
23123 if (init_run
) return;
23126 /* Initialize the swig_module */
23127 swig_module
.type_initial
= swig_type_initial
;
23128 swig_module
.cast_initial
= swig_cast_initial
;
23130 /* Try and load any already created modules */
23131 module_head
= SWIG_GetModule(clientdata
);
23133 swig_module
.next
= module_head
->next
;
23134 module_head
->next
= &swig_module
;
23136 /* This is the first module loaded */
23137 swig_module
.next
= &swig_module
;
23138 SWIG_SetModule(clientdata
, &swig_module
);
23141 /* Now work on filling in swig_module.types */
23142 #ifdef SWIGRUNTIME_DEBUG
23143 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
23145 for (i
= 0; i
< swig_module
.size
; ++i
) {
23146 swig_type_info
*type
= 0;
23147 swig_type_info
*ret
;
23148 swig_cast_info
*cast
;
23150 #ifdef SWIGRUNTIME_DEBUG
23151 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
23154 /* if there is another module already loaded */
23155 if (swig_module
.next
!= &swig_module
) {
23156 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
23159 /* Overwrite clientdata field */
23160 #ifdef SWIGRUNTIME_DEBUG
23161 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
23163 if (swig_module
.type_initial
[i
]->clientdata
) {
23164 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
23165 #ifdef SWIGRUNTIME_DEBUG
23166 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
23170 type
= swig_module
.type_initial
[i
];
23173 /* Insert casting types */
23174 cast
= swig_module
.cast_initial
[i
];
23175 while (cast
->type
) {
23176 /* Don't need to add information already in the list */
23178 #ifdef SWIGRUNTIME_DEBUG
23179 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
23181 if (swig_module
.next
!= &swig_module
) {
23182 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
23183 #ifdef SWIGRUNTIME_DEBUG
23184 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
23188 if (type
== swig_module
.type_initial
[i
]) {
23189 #ifdef SWIGRUNTIME_DEBUG
23190 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
23195 /* Check for casting already in the list */
23196 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
23197 #ifdef SWIGRUNTIME_DEBUG
23198 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
23200 if (!ocast
) ret
= 0;
23205 #ifdef SWIGRUNTIME_DEBUG
23206 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
23209 type
->cast
->prev
= cast
;
23210 cast
->next
= type
->cast
;
23216 /* Set entry in modules->types array equal to the type */
23217 swig_module
.types
[i
] = type
;
23219 swig_module
.types
[i
] = 0;
23221 #ifdef SWIGRUNTIME_DEBUG
23222 printf("**** SWIG_InitializeModule: Cast List ******\n");
23223 for (i
= 0; i
< swig_module
.size
; ++i
) {
23225 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
23226 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
23227 while (cast
->type
) {
23228 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
23232 printf("---- Total casts: %d\n",j
);
23234 printf("**** SWIG_InitializeModule: Cast List ******\n");
23238 /* This function will propagate the clientdata field of type to
23239 * any new swig_type_info structures that have been added into the list
23240 * of equivalent types. It is like calling
23241 * SWIG_TypeClientData(type, clientdata) a second time.
23244 SWIG_PropagateClientData(void) {
23246 swig_cast_info
*equiv
;
23247 static int init_run
= 0;
23249 if (init_run
) return;
23252 for (i
= 0; i
< swig_module
.size
; i
++) {
23253 if (swig_module
.types
[i
]->clientdata
) {
23254 equiv
= swig_module
.types
[i
]->cast
;
23256 if (!equiv
->converter
) {
23257 if (equiv
->type
&& !equiv
->type
->clientdata
)
23258 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
23260 equiv
= equiv
->next
;
23280 /* Python-specific SWIG API */
23281 #define SWIG_newvarlink() SWIG_Python_newvarlink()
23282 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
23283 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
23285 /* -----------------------------------------------------------------------------
23286 * global variable support code.
23287 * ----------------------------------------------------------------------------- */
23289 typedef struct swig_globalvar
{
23290 char *name
; /* Name of global variable */
23291 PyObject
*(*get_attr
)(void); /* Return the current value */
23292 int (*set_attr
)(PyObject
*); /* Set the value */
23293 struct swig_globalvar
*next
;
23296 typedef struct swig_varlinkobject
{
23298 swig_globalvar
*vars
;
23299 } swig_varlinkobject
;
23301 SWIGINTERN PyObject
*
23302 swig_varlink_repr(swig_varlinkobject
*v
) {
23304 return PyString_FromString("<Swig global variables>");
23308 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
23309 swig_globalvar
*var
;
23311 fprintf(fp
,"Swig global variables { ");
23312 for (var
= v
->vars
; var
; var
=var
->next
) {
23313 fprintf(fp
,"%s", var
->name
);
23314 if (var
->next
) fprintf(fp
,", ");
23316 fprintf(fp
," }\n");
23320 SWIGINTERN PyObject
*
23321 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
23322 swig_globalvar
*var
= v
->vars
;
23324 if (strcmp(var
->name
,n
) == 0) {
23325 return (*var
->get_attr
)();
23329 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
23334 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
23335 swig_globalvar
*var
= v
->vars
;
23337 if (strcmp(var
->name
,n
) == 0) {
23338 return (*var
->set_attr
)(p
);
23342 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
23346 SWIGINTERN PyTypeObject
*
23347 swig_varlink_type(void) {
23348 static char varlink__doc__
[] = "Swig var link object";
23349 static PyTypeObject varlink_type
23350 #if !defined(__cplusplus)
23352 static int type_init
= 0;
23357 PyObject_HEAD_INIT(&PyType_Type
)
23358 0, /* Number of items in variable part (ob_size) */
23359 (char *)"swigvarlink", /* Type name (tp_name) */
23360 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
23361 0, /* Itemsize (tp_itemsize) */
23362 0, /* Deallocator (tp_dealloc) */
23363 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
23364 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
23365 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
23366 0, /* tp_compare */
23367 (reprfunc
) swig_varlink_repr
, /* tp_repr */
23368 0, /* tp_as_number */
23369 0, /* tp_as_sequence */
23370 0, /* tp_as_mapping */
23374 0, /* tp_getattro */
23375 0, /* tp_setattro */
23376 0, /* tp_as_buffer */
23378 varlink__doc__
, /* tp_doc */
23379 #if PY_VERSION_HEX >= 0x02000000
23380 0, /* tp_traverse */
23383 #if PY_VERSION_HEX >= 0x02010000
23384 0, /* tp_richcompare */
23385 0, /* tp_weaklistoffset */
23387 #if PY_VERSION_HEX >= 0x02020000
23388 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
23390 #if PY_VERSION_HEX >= 0x02030000
23393 #ifdef COUNT_ALLOCS
23394 0,0,0,0 /* tp_alloc -> tp_next */
23397 #if !defined(__cplusplus)
23398 varlink_type
= tmp
;
23402 return &varlink_type
;
23405 /* Create a variable linking object for use later */
23406 SWIGINTERN PyObject
*
23407 SWIG_Python_newvarlink(void) {
23408 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
23412 return ((PyObject
*) result
);
23416 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
23417 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
23418 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
23420 size_t size
= strlen(name
)+1;
23421 gv
->name
= (char *)malloc(size
);
23423 strncpy(gv
->name
,name
,size
);
23424 gv
->get_attr
= get_attr
;
23425 gv
->set_attr
= set_attr
;
23426 gv
->next
= v
->vars
;
23432 /* -----------------------------------------------------------------------------
23433 * constants/methods manipulation
23434 * ----------------------------------------------------------------------------- */
23436 /* Install Constants */
23438 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
23441 for (i
= 0; constants
[i
].type
; ++i
) {
23442 switch(constants
[i
].type
) {
23444 obj
= PyInt_FromLong(constants
[i
].lvalue
);
23446 case SWIG_PY_FLOAT
:
23447 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
23449 case SWIG_PY_STRING
:
23450 if (constants
[i
].pvalue
) {
23451 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
23453 Py_INCREF(Py_None
);
23457 case SWIG_PY_POINTER
:
23458 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
23460 case SWIG_PY_BINARY
:
23461 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
23468 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
23474 /* -----------------------------------------------------------------------------*/
23475 /* Fix SwigMethods to carry the callback ptrs when needed */
23476 /* -----------------------------------------------------------------------------*/
23479 SWIG_Python_FixMethods(PyMethodDef
*methods
,
23480 swig_const_info
*const_table
,
23481 swig_type_info
**types
,
23482 swig_type_info
**types_initial
) {
23484 for (i
= 0; methods
[i
].ml_name
; ++i
) {
23485 char *c
= methods
[i
].ml_doc
;
23486 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
23488 swig_const_info
*ci
= 0;
23489 char *name
= c
+ 10;
23490 for (j
= 0; const_table
[j
].type
; ++j
) {
23491 if (strncmp(const_table
[j
].name
, name
,
23492 strlen(const_table
[j
].name
)) == 0) {
23493 ci
= &(const_table
[j
]);
23498 size_t shift
= (ci
->ptype
) - types
;
23499 swig_type_info
*ty
= types_initial
[shift
];
23500 size_t ldoc
= (c
- methods
[i
].ml_doc
);
23501 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
23502 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
23505 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
23507 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
23509 strncpy(buff
, "swig_ptr: ", 10);
23511 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
23512 methods
[i
].ml_doc
= ndoc
;
23520 /* -----------------------------------------------------------------------------*
23521 * Initialize type list
23522 * -----------------------------------------------------------------------------*/
23528 /* -----------------------------------------------------------------------------*
23529 * Partial Init method
23530 * -----------------------------------------------------------------------------*/
23535 SWIGEXPORT
void SWIG_init(void) {
23536 static PyObject
*SWIG_globals
= 0;
23538 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
23540 /* Fix SwigMethods to carry the callback ptrs when needed */
23541 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
23543 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
23544 d
= PyModule_GetDict(m
);
23546 SWIG_InitializeModule(0);
23547 SWIG_InstallConstants(d
,swig_const_table
);
23550 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int(static_cast<int >(wxOutRegion
)));
23553 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int(static_cast<int >(wxPartRegion
)));
23556 PyDict_SetItemString(d
,"InRegion", SWIG_From_int(static_cast<int >(wxInRegion
)));
23559 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int(static_cast<int >(wxFONTFAMILY_DEFAULT
)));
23562 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int(static_cast<int >(wxFONTFAMILY_DECORATIVE
)));
23565 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int(static_cast<int >(wxFONTFAMILY_ROMAN
)));
23568 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int(static_cast<int >(wxFONTFAMILY_SCRIPT
)));
23571 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int(static_cast<int >(wxFONTFAMILY_SWISS
)));
23574 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int(static_cast<int >(wxFONTFAMILY_MODERN
)));
23577 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int(static_cast<int >(wxFONTFAMILY_TELETYPE
)));
23580 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int(static_cast<int >(wxFONTFAMILY_MAX
)));
23583 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int(static_cast<int >(wxFONTFAMILY_UNKNOWN
)));
23586 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int(static_cast<int >(wxFONTSTYLE_NORMAL
)));
23589 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int(static_cast<int >(wxFONTSTYLE_ITALIC
)));
23592 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int(static_cast<int >(wxFONTSTYLE_SLANT
)));
23595 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int(static_cast<int >(wxFONTSTYLE_MAX
)));
23598 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int(static_cast<int >(wxFONTWEIGHT_NORMAL
)));
23601 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int(static_cast<int >(wxFONTWEIGHT_LIGHT
)));
23604 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int(static_cast<int >(wxFONTWEIGHT_BOLD
)));
23607 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int(static_cast<int >(wxFONTWEIGHT_MAX
)));
23610 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int(static_cast<int >(wxFONTFLAG_DEFAULT
)));
23613 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int(static_cast<int >(wxFONTFLAG_ITALIC
)));
23616 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int(static_cast<int >(wxFONTFLAG_SLANT
)));
23619 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int(static_cast<int >(wxFONTFLAG_LIGHT
)));
23622 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int(static_cast<int >(wxFONTFLAG_BOLD
)));
23625 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int(static_cast<int >(wxFONTFLAG_ANTIALIASED
)));
23628 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int(static_cast<int >(wxFONTFLAG_NOT_ANTIALIASED
)));
23631 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int(static_cast<int >(wxFONTFLAG_UNDERLINED
)));
23634 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int(static_cast<int >(wxFONTFLAG_STRIKETHROUGH
)));
23637 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int(static_cast<int >(wxFONTFLAG_MASK
)));
23640 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int(static_cast<int >(wxFONTENCODING_SYSTEM
)));
23643 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int(static_cast<int >(wxFONTENCODING_DEFAULT
)));
23646 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_1
)));
23649 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_2
)));
23652 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_3
)));
23655 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_4
)));
23658 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_5
)));
23661 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_6
)));
23664 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_7
)));
23667 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_8
)));
23670 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_9
)));
23673 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_10
)));
23676 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_11
)));
23679 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_12
)));
23682 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_13
)));
23685 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_14
)));
23688 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_15
)));
23691 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_MAX
)));
23694 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int(static_cast<int >(wxFONTENCODING_KOI8
)));
23697 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int(static_cast<int >(wxFONTENCODING_KOI8_U
)));
23700 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int(static_cast<int >(wxFONTENCODING_ALTERNATIVE
)));
23703 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_BULGARIAN
)));
23706 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP437
)));
23709 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP850
)));
23712 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP852
)));
23715 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP855
)));
23718 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP866
)));
23721 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP874
)));
23724 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP932
)));
23727 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP936
)));
23730 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP949
)));
23733 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP950
)));
23736 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1250
)));
23739 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1251
)));
23742 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1252
)));
23745 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1253
)));
23748 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1254
)));
23751 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1255
)));
23754 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1256
)));
23757 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1257
)));
23760 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP12_MAX
)));
23763 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF7
)));
23766 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF8
)));
23769 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int(static_cast<int >(wxFONTENCODING_EUC_JP
)));
23772 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF16BE
)));
23775 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF16LE
)));
23778 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF32BE
)));
23781 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF32LE
)));
23784 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACROMAN
)));
23787 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACJAPANESE
)));
23790 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCHINESETRAD
)));
23793 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACKOREAN
)));
23796 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACARABIC
)));
23799 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACHEBREW
)));
23802 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGREEK
)));
23805 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCYRILLIC
)));
23808 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACDEVANAGARI
)));
23811 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGURMUKHI
)));
23814 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGUJARATI
)));
23817 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACORIYA
)));
23820 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACBENGALI
)));
23823 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTAMIL
)));
23826 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTELUGU
)));
23829 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACKANNADA
)));
23832 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACMALAJALAM
)));
23835 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACSINHALESE
)));
23838 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACBURMESE
)));
23841 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACKHMER
)));
23844 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTHAI
)));
23847 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACLAOTIAN
)));
23850 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGEORGIAN
)));
23853 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACARMENIAN
)));
23856 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCHINESESIMP
)));
23859 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTIBETAN
)));
23862 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACMONGOLIAN
)));
23865 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACETHIOPIC
)));
23868 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCENTRALEUR
)));
23871 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACVIATNAMESE
)));
23874 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACARABICEXT
)));
23877 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACSYMBOL
)));
23880 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACDINGBATS
)));
23883 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTURKISH
)));
23886 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCROATIAN
)));
23889 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACICELANDIC
)));
23892 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACROMANIAN
)));
23895 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCELTIC
)));
23898 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGAELIC
)));
23901 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACKEYBOARD
)));
23904 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACMIN
)));
23907 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACMAX
)));
23910 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int(static_cast<int >(wxFONTENCODING_MAX
)));
23913 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF16
)));
23916 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF32
)));
23919 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UNICODE
)));
23922 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int(static_cast<int >(wxFONTENCODING_GB2312
)));
23925 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int(static_cast<int >(wxFONTENCODING_BIG5
)));
23928 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int(static_cast<int >(wxFONTENCODING_SHIFT_JIS
)));
23931 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
23934 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int(static_cast<int >(wxLANGUAGE_DEFAULT
)));
23937 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int(static_cast<int >(wxLANGUAGE_UNKNOWN
)));
23940 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ABKHAZIAN
)));
23943 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int(static_cast<int >(wxLANGUAGE_AFAR
)));
23946 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int(static_cast<int >(wxLANGUAGE_AFRIKAANS
)));
23949 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ALBANIAN
)));
23952 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_AMHARIC
)));
23955 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC
)));
23958 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_ALGERIA
)));
23961 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
23964 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_EGYPT
)));
23967 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_IRAQ
)));
23970 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_JORDAN
)));
23973 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_KUWAIT
)));
23976 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_LEBANON
)));
23979 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_LIBYA
)));
23982 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_MOROCCO
)));
23985 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_OMAN
)));
23988 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_QATAR
)));
23991 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
23994 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_SUDAN
)));
23997 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_SYRIA
)));
24000 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_TUNISIA
)));
24003 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_UAE
)));
24006 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_YEMEN
)));
24009 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARMENIAN
)));
24012 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ASSAMESE
)));
24015 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int(static_cast<int >(wxLANGUAGE_AYMARA
)));
24018 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int(static_cast<int >(wxLANGUAGE_AZERI
)));
24021 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_AZERI_CYRILLIC
)));
24024 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_AZERI_LATIN
)));
24027 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int(static_cast<int >(wxLANGUAGE_BASHKIR
)));
24030 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int(static_cast<int >(wxLANGUAGE_BASQUE
)));
24033 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_BELARUSIAN
)));
24036 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int(static_cast<int >(wxLANGUAGE_BENGALI
)));
24039 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int(static_cast<int >(wxLANGUAGE_BHUTANI
)));
24042 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int(static_cast<int >(wxLANGUAGE_BIHARI
)));
24045 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int(static_cast<int >(wxLANGUAGE_BISLAMA
)));
24048 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int(static_cast<int >(wxLANGUAGE_BRETON
)));
24051 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_BULGARIAN
)));
24054 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_BURMESE
)));
24057 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CAMBODIAN
)));
24060 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CATALAN
)));
24063 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE
)));
24066 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
24069 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
24072 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_HONGKONG
)));
24075 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_MACAU
)));
24078 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
24081 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_TAIWAN
)));
24084 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CORSICAN
)));
24087 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CROATIAN
)));
24090 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int(static_cast<int >(wxLANGUAGE_CZECH
)));
24093 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_DANISH
)));
24096 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int(static_cast<int >(wxLANGUAGE_DUTCH
)));
24099 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_DUTCH_BELGIAN
)));
24102 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH
)));
24105 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_UK
)));
24108 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_US
)));
24111 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
24114 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_BELIZE
)));
24117 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
24120 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_CANADA
)));
24123 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
24126 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_DENMARK
)));
24129 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_EIRE
)));
24132 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
24135 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
24138 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
24141 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
24144 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
24147 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
24150 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int(static_cast<int >(wxLANGUAGE_ESPERANTO
)));
24153 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ESTONIAN
)));
24156 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_FAEROESE
)));
24159 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int(static_cast<int >(wxLANGUAGE_FARSI
)));
24162 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int(static_cast<int >(wxLANGUAGE_FIJI
)));
24165 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_FINNISH
)));
24168 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH
)));
24171 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_BELGIAN
)));
24174 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_CANADIAN
)));
24177 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
24180 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_MONACO
)));
24183 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_SWISS
)));
24186 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRISIAN
)));
24189 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GALICIAN
)));
24192 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GEORGIAN
)));
24195 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN
)));
24198 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
24201 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_BELGIUM
)));
24204 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
24207 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
24210 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_SWISS
)));
24213 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int(static_cast<int >(wxLANGUAGE_GREEK
)));
24216 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_GREENLANDIC
)));
24219 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int(static_cast<int >(wxLANGUAGE_GUARANI
)));
24222 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int(static_cast<int >(wxLANGUAGE_GUJARATI
)));
24225 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int(static_cast<int >(wxLANGUAGE_HAUSA
)));
24228 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int(static_cast<int >(wxLANGUAGE_HEBREW
)));
24231 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int(static_cast<int >(wxLANGUAGE_HINDI
)));
24234 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_HUNGARIAN
)));
24237 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_ICELANDIC
)));
24240 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_INDONESIAN
)));
24243 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int(static_cast<int >(wxLANGUAGE_INTERLINGUA
)));
24246 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int(static_cast<int >(wxLANGUAGE_INTERLINGUE
)));
24249 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int(static_cast<int >(wxLANGUAGE_INUKTITUT
)));
24252 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int(static_cast<int >(wxLANGUAGE_INUPIAK
)));
24255 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_IRISH
)));
24258 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ITALIAN
)));
24261 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int(static_cast<int >(wxLANGUAGE_ITALIAN_SWISS
)));
24264 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_JAPANESE
)));
24267 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_JAVANESE
)));
24270 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int(static_cast<int >(wxLANGUAGE_KANNADA
)));
24273 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int(static_cast<int >(wxLANGUAGE_KASHMIRI
)));
24276 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_KASHMIRI_INDIA
)));
24279 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int(static_cast<int >(wxLANGUAGE_KAZAKH
)));
24282 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int(static_cast<int >(wxLANGUAGE_KERNEWEK
)));
24285 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int(static_cast<int >(wxLANGUAGE_KINYARWANDA
)));
24288 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int(static_cast<int >(wxLANGUAGE_KIRGHIZ
)));
24291 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int(static_cast<int >(wxLANGUAGE_KIRUNDI
)));
24294 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int(static_cast<int >(wxLANGUAGE_KONKANI
)));
24297 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_KOREAN
)));
24300 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_KURDISH
)));
24303 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_LAOTHIAN
)));
24306 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_LATIN
)));
24309 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_LATVIAN
)));
24312 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int(static_cast<int >(wxLANGUAGE_LINGALA
)));
24315 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_LITHUANIAN
)));
24318 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_MACEDONIAN
)));
24321 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAGASY
)));
24324 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAY
)));
24327 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAYALAM
)));
24330 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
24333 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAY_MALAYSIA
)));
24336 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALTESE
)));
24339 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int(static_cast<int >(wxLANGUAGE_MANIPURI
)));
24342 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int(static_cast<int >(wxLANGUAGE_MAORI
)));
24345 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int(static_cast<int >(wxLANGUAGE_MARATHI
)));
24348 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_MOLDAVIAN
)));
24351 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_MONGOLIAN
)));
24354 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int(static_cast<int >(wxLANGUAGE_NAURU
)));
24357 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int(static_cast<int >(wxLANGUAGE_NEPALI
)));
24360 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_NEPALI_INDIA
)));
24363 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int(static_cast<int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
24366 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int(static_cast<int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
24369 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_OCCITAN
)));
24372 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ORIYA
)));
24375 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int(static_cast<int >(wxLANGUAGE_OROMO
)));
24378 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int(static_cast<int >(wxLANGUAGE_PASHTO
)));
24381 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_POLISH
)));
24384 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_PORTUGUESE
)));
24387 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
24390 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int(static_cast<int >(wxLANGUAGE_PUNJABI
)));
24393 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int(static_cast<int >(wxLANGUAGE_QUECHUA
)));
24396 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int(static_cast<int >(wxLANGUAGE_RHAETO_ROMANCE
)));
24399 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ROMANIAN
)));
24402 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_RUSSIAN
)));
24405 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int(static_cast<int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
24408 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SAMOAN
)));
24411 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int(static_cast<int >(wxLANGUAGE_SANGHO
)));
24414 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int(static_cast<int >(wxLANGUAGE_SANSKRIT
)));
24417 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_SCOTS_GAELIC
)));
24420 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SERBIAN
)));
24423 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
24426 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SERBIAN_LATIN
)));
24429 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SERBO_CROATIAN
)));
24432 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int(static_cast<int >(wxLANGUAGE_SESOTHO
)));
24435 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SETSWANA
)));
24438 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SHONA
)));
24441 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int(static_cast<int >(wxLANGUAGE_SINDHI
)));
24444 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_SINHALESE
)));
24447 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int(static_cast<int >(wxLANGUAGE_SISWATI
)));
24450 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int(static_cast<int >(wxLANGUAGE_SLOVAK
)));
24453 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SLOVENIAN
)));
24456 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int(static_cast<int >(wxLANGUAGE_SOMALI
)));
24459 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH
)));
24462 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
24465 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
24468 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_CHILE
)));
24471 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
24474 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
24477 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
24480 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_ECUADOR
)));
24483 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
24486 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
24489 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_HONDURAS
)));
24492 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_MEXICAN
)));
24495 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_MODERN
)));
24498 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
24501 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_PANAMA
)));
24504 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
24507 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_PERU
)));
24510 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
24513 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_URUGUAY
)));
24516 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_US
)));
24519 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
24522 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_SUNDANESE
)));
24525 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int(static_cast<int >(wxLANGUAGE_SWAHILI
)));
24528 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_SWEDISH
)));
24531 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int(static_cast<int >(wxLANGUAGE_SWEDISH_FINLAND
)));
24534 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int(static_cast<int >(wxLANGUAGE_TAGALOG
)));
24537 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int(static_cast<int >(wxLANGUAGE_TAJIK
)));
24540 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int(static_cast<int >(wxLANGUAGE_TAMIL
)));
24543 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int(static_cast<int >(wxLANGUAGE_TATAR
)));
24546 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int(static_cast<int >(wxLANGUAGE_TELUGU
)));
24549 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int(static_cast<int >(wxLANGUAGE_THAI
)));
24552 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_TIBETAN
)));
24555 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int(static_cast<int >(wxLANGUAGE_TIGRINYA
)));
24558 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int(static_cast<int >(wxLANGUAGE_TONGA
)));
24561 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int(static_cast<int >(wxLANGUAGE_TSONGA
)));
24564 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_TURKISH
)));
24567 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int(static_cast<int >(wxLANGUAGE_TURKMEN
)));
24570 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int(static_cast<int >(wxLANGUAGE_TWI
)));
24573 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int(static_cast<int >(wxLANGUAGE_UIGHUR
)));
24576 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_UKRAINIAN
)));
24579 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int(static_cast<int >(wxLANGUAGE_URDU
)));
24582 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_URDU_INDIA
)));
24585 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_URDU_PAKISTAN
)));
24588 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int(static_cast<int >(wxLANGUAGE_UZBEK
)));
24591 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
24594 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_UZBEK_LATIN
)));
24597 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_VIETNAMESE
)));
24600 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int(static_cast<int >(wxLANGUAGE_VOLAPUK
)));
24603 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int(static_cast<int >(wxLANGUAGE_WELSH
)));
24606 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int(static_cast<int >(wxLANGUAGE_WOLOF
)));
24609 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int(static_cast<int >(wxLANGUAGE_XHOSA
)));
24612 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_YIDDISH
)));
24615 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int(static_cast<int >(wxLANGUAGE_YORUBA
)));
24618 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int(static_cast<int >(wxLANGUAGE_ZHUANG
)));
24621 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int(static_cast<int >(wxLANGUAGE_ZULU
)));
24624 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int(static_cast<int >(wxLANGUAGE_USER_DEFINED
)));
24627 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int(static_cast<int >(wxLOCALE_CAT_NUMBER
)));
24630 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int(static_cast<int >(wxLOCALE_CAT_DATE
)));
24633 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int(static_cast<int >(wxLOCALE_CAT_MONEY
)));
24636 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int(static_cast<int >(wxLOCALE_CAT_MAX
)));
24639 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int(static_cast<int >(wxLOCALE_THOUSANDS_SEP
)));
24642 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int(static_cast<int >(wxLOCALE_DECIMAL_POINT
)));
24645 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int(static_cast<int >(wxLOCALE_LOAD_DEFAULT
)));
24648 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int(static_cast<int >(wxLOCALE_CONV_ENCODING
)));
24651 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int(static_cast<int >(wxCONVERT_STRICT
)));
24654 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int(static_cast<int >(wxCONVERT_SUBSTITUTE
)));
24657 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int(static_cast<int >(wxPLATFORM_CURRENT
)));
24660 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int(static_cast<int >(wxPLATFORM_UNIX
)));
24663 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int(static_cast<int >(wxPLATFORM_WINDOWS
)));
24666 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int(static_cast<int >(wxPLATFORM_OS2
)));
24669 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int(static_cast<int >(wxPLATFORM_MAC
)));
24672 PyDict_SetItemString(d
,"BUFFER_VIRTUAL_AREA", SWIG_From_int(static_cast<int >(wxBUFFER_VIRTUAL_AREA
)));
24675 PyDict_SetItemString(d
,"BUFFER_CLIENT_AREA", SWIG_From_int(static_cast<int >(wxBUFFER_CLIENT_AREA
)));
24678 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int(static_cast<int >(wxIMAGELIST_DRAW_NORMAL
)));
24681 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int(static_cast<int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
24684 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int(static_cast<int >(wxIMAGELIST_DRAW_SELECTED
)));
24687 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int(static_cast<int >(wxIMAGELIST_DRAW_FOCUSED
)));
24690 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int(static_cast<int >(wxIMAGE_LIST_NORMAL
)));
24693 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int(static_cast<int >(wxIMAGE_LIST_SMALL
)));
24696 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int(static_cast<int >(wxIMAGE_LIST_STATE
)));
24698 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
24699 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
24700 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
24701 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
24702 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
24703 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
24704 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
24705 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
24706 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
24707 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
24708 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
24709 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
24710 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
24711 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
24712 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
24713 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
24714 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
24715 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
24716 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
24717 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
24718 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
24719 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
24720 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
24721 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
24722 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
24723 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
24724 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
24725 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
24726 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
24727 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
24728 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
24729 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
24730 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
24731 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
24732 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
24733 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
24734 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
24735 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
24736 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
24737 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
24738 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
24739 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
24740 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
24741 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
24742 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
24743 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
24744 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
24746 PyDict_SetItemString(d
,"CONTROL_DISABLED", SWIG_From_int(static_cast<int >(wxCONTROL_DISABLED
)));
24749 PyDict_SetItemString(d
,"CONTROL_FOCUSED", SWIG_From_int(static_cast<int >(wxCONTROL_FOCUSED
)));
24752 PyDict_SetItemString(d
,"CONTROL_PRESSED", SWIG_From_int(static_cast<int >(wxCONTROL_PRESSED
)));
24755 PyDict_SetItemString(d
,"CONTROL_ISDEFAULT", SWIG_From_int(static_cast<int >(wxCONTROL_ISDEFAULT
)));
24758 PyDict_SetItemString(d
,"CONTROL_ISSUBMENU", SWIG_From_int(static_cast<int >(wxCONTROL_ISSUBMENU
)));
24761 PyDict_SetItemString(d
,"CONTROL_EXPANDED", SWIG_From_int(static_cast<int >(wxCONTROL_EXPANDED
)));
24764 PyDict_SetItemString(d
,"CONTROL_CURRENT", SWIG_From_int(static_cast<int >(wxCONTROL_CURRENT
)));
24767 PyDict_SetItemString(d
,"CONTROL_SELECTED", SWIG_From_int(static_cast<int >(wxCONTROL_SELECTED
)));
24770 PyDict_SetItemString(d
,"CONTROL_CHECKED", SWIG_From_int(static_cast<int >(wxCONTROL_CHECKED
)));
24773 PyDict_SetItemString(d
,"CONTROL_CHECKABLE", SWIG_From_int(static_cast<int >(wxCONTROL_CHECKABLE
)));
24776 PyDict_SetItemString(d
,"CONTROL_UNDETERMINED", SWIG_From_int(static_cast<int >(wxCONTROL_UNDETERMINED
)));
24779 PyDict_SetItemString(d
,"CONTROL_FLAGS_MASK", SWIG_From_int(static_cast<int >(wxCONTROL_FLAGS_MASK
)));
24782 PyDict_SetItemString(d
,"CONTROL_DIRTY", SWIG_From_int(static_cast<int >(wxCONTROL_DIRTY
)));
24785 PyDict_SetItemString(d
,"RendererVersion_Current_Version", SWIG_From_int(static_cast<int >(wxRendererVersion::Current_Version
)));
24788 PyDict_SetItemString(d
,"RendererVersion_Current_Age", SWIG_From_int(static_cast<int >(wxRendererVersion::Current_Age
)));
24791 // Work around a chicken/egg problem in drawlist.cpp
24792 wxPyDrawList_SetAPIPtr();