]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_gdi_wrap.cpp
log wxChoice events in the same format as wxComboBox ones to make it simpler to compa...
[wxWidgets.git] / wxPython / src / gtk / _gdi_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
32fe5131 3 * Version 1.3.27
d14a1e28
RD
4 *
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 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
d14a1e28
RD
12
13#ifdef __cplusplus
14template<class T> class SwigValueWrapper {
15 T *tt;
16public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
093d3ff1 26};
d14a1e28
RD
27#endif
28
32fe5131
RD
29/***********************************************************************
30 *
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 *
34 ************************************************************************/
d14a1e28 35
32fe5131
RD
36/* template workaround for compilers that cannot correctly implement the C++ standard */
37#ifndef SWIGTEMPLATEDISAMBIGUATOR
38# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39# define SWIGTEMPLATEDISAMBIGUATOR template
093d3ff1 40# else
32fe5131 41# define SWIGTEMPLATEDISAMBIGUATOR
093d3ff1
RD
42# endif
43#endif
d14a1e28 44
32fe5131
RD
45/* inline attribute */
46#ifndef SWIGINLINE
47# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48# define SWIGINLINE inline
49# else
50# define SWIGINLINE
51# endif
52#endif
53
54/* attribute recognised by some compilers to avoid 'unused' warnings */
55#ifndef SWIGUNUSED
56# if defined(__GNUC__) || defined(__ICC)
57# define SWIGUNUSED __attribute__ ((unused))
58# else
59# define SWIGUNUSED
60# endif
61#endif
62
63/* internal SWIG method */
64#ifndef SWIGINTERN
65# define SWIGINTERN static SWIGUNUSED
66#endif
67
68/* internal inline SWIG method */
69#ifndef SWIGINTERNINLINE
70# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
71#endif
72
73/* exporting methods for Windows DLLs */
74#ifndef SWIGEXPORT
75# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76# if defined(STATIC_LINKED)
77# define SWIGEXPORT
78# else
79# define SWIGEXPORT __declspec(dllexport)
80# endif
81# else
82# define SWIGEXPORT
83# endif
84#endif
85
86/* calling conventions for Windows */
87#ifndef SWIGSTDCALL
88# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89# define SWIGSTDCALL __stdcall
90# else
91# define SWIGSTDCALL
92# endif
93#endif
94
95
c9c7117a 96
093d3ff1 97#include <Python.h>
d14a1e28
RD
98
99/***********************************************************************
093d3ff1 100 * swigrun.swg
d14a1e28 101 *
093d3ff1
RD
102 * This file contains generic CAPI SWIG runtime support for pointer
103 * type checking.
d14a1e28
RD
104 *
105 ************************************************************************/
106
093d3ff1
RD
107/* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
32fe5131 109#define SWIG_RUNTIME_VERSION "2"
d14a1e28 110
093d3ff1
RD
111/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112#ifdef SWIG_TYPE_TABLE
32fe5131
RD
113# define SWIG_QUOTE_STRING(x) #x
114# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d14a1e28 116#else
32fe5131 117# define SWIG_TYPE_TABLE_NAME
093d3ff1
RD
118#endif
119
120/*
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
124
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
127*/
32fe5131 128
093d3ff1 129#ifndef SWIGRUNTIME
32fe5131 130# define SWIGRUNTIME SWIGINTERN
093d3ff1 131#endif
32fe5131 132
093d3ff1 133#ifndef SWIGRUNTIMEINLINE
32fe5131 134# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d14a1e28
RD
135#endif
136
32fe5131
RD
137#include <string.h>
138
d14a1e28
RD
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143typedef void *(*swig_converter_func)(void *);
144typedef struct swig_type_info *(*swig_dycast_func)(void **);
145
32fe5131 146/* Structure to store inforomation on one type */
d14a1e28 147typedef struct swig_type_info {
32fe5131
RD
148 const char *name; /* mangled name of this type */
149 const char *str; /* human readable name of this type */
150 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
152 void *clientdata; /* language specific type data */
d14a1e28
RD
153} swig_type_info;
154
32fe5131
RD
155/* Structure to store a type and conversion function used for casting */
156typedef struct swig_cast_info {
157 swig_type_info *type; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter; /* function to cast the void pointers */
159 struct swig_cast_info *next; /* pointer to next cast in linked list */
160 struct swig_cast_info *prev; /* pointer to the previous cast */
161} swig_cast_info;
162
163/* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166typedef struct swig_module_info {
167 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size; /* Number of types in this module */
169 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
170 swig_type_info **type_initial; /* Array of initially generated type structures */
171 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
172 void *clientdata; /* Language specific module data */
173} swig_module_info;
174
175
093d3ff1
RD
176/*
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
179
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
182*/
183SWIGRUNTIME int
184SWIG_TypeNameComp(const char *f1, const char *l1,
185 const char *f2, const char *l2) {
186 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
187 while ((*f1 == ' ') && (f1 != l1)) ++f1;
188 while ((*f2 == ' ') && (f2 != l2)) ++f2;
32fe5131 189 if (*f1 != *f2) return (int)(*f1 - *f2);
093d3ff1
RD
190 }
191 return (l1 - f1) - (l2 - f2);
192}
193
194/*
195 Check type equivalence in a name list like <name1>|<name2>|...
32fe5131 196 Return 0 if not equal, 1 if equal
093d3ff1
RD
197*/
198SWIGRUNTIME int
199SWIG_TypeEquiv(const char *nb, const char *tb) {
200 int equiv = 0;
201 const char* te = tb + strlen(tb);
202 const char* ne = nb;
203 while (!equiv && *ne) {
204 for (nb = ne; *ne; ++ne) {
205 if (*ne == '|') break;
206 }
32fe5131 207 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
093d3ff1
RD
208 if (*ne) ++ne;
209 }
210 return equiv;
211}
212
213/*
32fe5131
RD
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
093d3ff1 216*/
32fe5131
RD
217SWIGRUNTIME int
218SWIG_TypeCompare(const char *nb, const char *tb) {
219 int equiv = 0;
220 const char* te = tb + strlen(tb);
221 const char* ne = nb;
222 while (!equiv && *ne) {
223 for (nb = ne; *ne; ++ne) {
224 if (*ne == '|') break;
093d3ff1 225 }
32fe5131
RD
226 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
227 if (*ne) ++ne;
093d3ff1 228 }
32fe5131 229 return equiv;
093d3ff1
RD
230}
231
32fe5131
RD
232
233/* think of this as a c++ template<> or a scheme macro */
234#define SWIG_TypeCheck_Template(comparison, ty) \
235 if (ty) { \
236 swig_cast_info *iter = ty->cast; \
237 while (iter) { \
238 if (comparison) { \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
242 if (iter->next) \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
245 iter->prev = 0; \
246 if (ty->cast) ty->cast->prev = iter; \
247 ty->cast = iter; \
248 return iter; \
249 } \
250 iter = iter->next; \
251 } \
252 } \
253 return 0
254
093d3ff1
RD
255/*
256 Check the typename
257*/
32fe5131 258SWIGRUNTIME swig_cast_info *
093d3ff1 259SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
260 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
261}
262
263/* Same as previous function, except strcmp is replaced with a pointer comparison */
264SWIGRUNTIME swig_cast_info *
265SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
266 SWIG_TypeCheck_Template(iter->type == from, into);
093d3ff1
RD
267}
268
269/*
270 Cast a pointer up an inheritance hierarchy
271*/
272SWIGRUNTIMEINLINE void *
32fe5131 273SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
093d3ff1
RD
274 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
275}
276
277/*
278 Dynamic pointer casting. Down an inheritance hierarchy
279*/
280SWIGRUNTIME swig_type_info *
281SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
282 swig_type_info *lastty = ty;
283 if (!ty || !ty->dcast) return ty;
284 while (ty && (ty->dcast)) {
285 ty = (*ty->dcast)(ptr);
286 if (ty) lastty = ty;
287 }
288 return lastty;
289}
290
291/*
292 Return the name associated with this type
293*/
294SWIGRUNTIMEINLINE const char *
295SWIG_TypeName(const swig_type_info *ty) {
296 return ty->name;
297}
298
299/*
300 Return the pretty name associated with this type,
301 that is an unmangled type name in a form presentable to the user.
302*/
303SWIGRUNTIME const char *
304SWIG_TypePrettyName(const swig_type_info *type) {
305 /* The "str" field contains the equivalent pretty names of the
306 type, separated by vertical-bar characters. We choose
307 to print the last name, as it is often (?) the most
308 specific. */
309 if (type->str != NULL) {
310 const char *last_name = type->str;
311 const char *s;
312 for (s = type->str; *s; s++)
313 if (*s == '|') last_name = s+1;
314 return last_name;
315 }
316 else
317 return type->name;
318}
319
093d3ff1
RD
320/*
321 Set the clientdata field for a type
322*/
323SWIGRUNTIME void
32fe5131
RD
324SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
325 swig_cast_info *cast = ti->cast;
093d3ff1
RD
326 /* if (ti->clientdata == clientdata) return; */
327 ti->clientdata = clientdata;
32fe5131
RD
328
329 while (cast) {
330 if (!cast->converter) {
331 swig_type_info *tc = cast->type;
332 if (!tc->clientdata) {
333 SWIG_TypeClientData(tc, clientdata);
093d3ff1 334 }
32fe5131
RD
335 }
336 cast = cast->next;
337 }
338}
339
340/*
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
343
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
346 the circular list.
347*/
348SWIGRUNTIME swig_type_info *
349SWIG_MangledTypeQueryModule(swig_module_info *start,
350 swig_module_info *end,
351 const char *name) {
352 swig_module_info *iter = start;
353 do {
354 if (iter->size) {
355 register size_t l = 0;
356 register size_t r = iter->size - 1;
357 do {
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i = (l + r) >> 1;
360 const char *iname = iter->types[i]->name;
361 if (iname) {
362 register int compare = strcmp(name, iname);
363 if (compare == 0) {
364 return iter->types[i];
365 } else if (compare < 0) {
366 if (i) {
367 r = i - 1;
368 } else {
369 break;
370 }
371 } else if (compare > 0) {
372 l = i + 1;
373 }
374 } else {
375 break; /* should never happen */
376 }
377 } while (l <= r);
093d3ff1 378 }
32fe5131
RD
379 iter = iter->next;
380 } while (iter != end);
381 return 0;
382}
383
384/*
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
388
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
391 the circular list.
392*/
393SWIGRUNTIME swig_type_info *
394SWIG_TypeQueryModule(swig_module_info *start,
395 swig_module_info *end,
396 const char *name) {
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
399 if (ret) {
400 return ret;
401 } else {
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info *iter = start;
405 do {
406 register size_t i = 0;
407 for (; i < iter->size; ++i) {
408 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
409 return iter->types[i];
410 }
411 iter = iter->next;
412 } while (iter != end);
093d3ff1 413 }
32fe5131
RD
414
415 /* neither found a match */
416 return 0;
093d3ff1
RD
417}
418
32fe5131 419
093d3ff1
RD
420/*
421 Pack binary data into a string
422*/
423SWIGRUNTIME char *
424SWIG_PackData(char *c, void *ptr, size_t sz) {
32fe5131
RD
425 static const char hex[17] = "0123456789abcdef";
426 register const unsigned char *u = (unsigned char *) ptr;
427 register const unsigned char *eu = u + sz;
093d3ff1 428 for (; u != eu; ++u) {
32fe5131 429 register unsigned char uu = *u;
093d3ff1
RD
430 *(c++) = hex[(uu & 0xf0) >> 4];
431 *(c++) = hex[uu & 0xf];
432 }
433 return c;
434}
435
436/*
437 Unpack binary data from a string
438*/
439SWIGRUNTIME const char *
440SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
441 register unsigned char *u = (unsigned char *) ptr;
32fe5131 442 register const unsigned char *eu = u + sz;
093d3ff1 443 for (; u != eu; ++u) {
32fe5131 444 register char d = *(c++);
093d3ff1
RD
445 register unsigned char uu = 0;
446 if ((d >= '0') && (d <= '9'))
447 uu = ((d - '0') << 4);
448 else if ((d >= 'a') && (d <= 'f'))
449 uu = ((d - ('a'-10)) << 4);
450 else
451 return (char *) 0;
452 d = *(c++);
453 if ((d >= '0') && (d <= '9'))
454 uu |= (d - '0');
455 else if ((d >= 'a') && (d <= 'f'))
456 uu |= (d - ('a'-10));
457 else
458 return (char *) 0;
459 *u = uu;
460 }
461 return c;
462}
463
093d3ff1
RD
464/*
465 Pack 'void *' into a string buffer.
466*/
467SWIGRUNTIME char *
468SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
469 char *r = buff;
470 if ((2*sizeof(void *) + 2) > bsz) return 0;
471 *(r++) = '_';
472 r = SWIG_PackData(r,&ptr,sizeof(void *));
473 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
474 strcpy(r,name);
475 return buff;
476}
477
478SWIGRUNTIME const char *
479SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
480 if (*c != '_') {
481 if (strcmp(c,"NULL") == 0) {
482 *ptr = (void *) 0;
483 return name;
484 } else {
485 return 0;
486 }
487 }
488 return SWIG_UnpackData(++c,ptr,sizeof(void *));
489}
490
491SWIGRUNTIME char *
492SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
493 char *r = buff;
494 size_t lname = (name ? strlen(name) : 0);
495 if ((2*sz + 2 + lname) > bsz) return 0;
496 *(r++) = '_';
497 r = SWIG_PackData(r,ptr,sz);
498 if (lname) {
499 strncpy(r,name,lname+1);
500 } else {
501 *r = 0;
502 }
503 return buff;
504}
d14a1e28 505
093d3ff1
RD
506SWIGRUNTIME const char *
507SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
508 if (*c != '_') {
509 if (strcmp(c,"NULL") == 0) {
510 memset(ptr,0,sz);
511 return name;
512 } else {
513 return 0;
514 }
515 }
516 return SWIG_UnpackData(++c,ptr,sz);
517}
d14a1e28
RD
518
519#ifdef __cplusplus
520}
521#endif
522
093d3ff1
RD
523/* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
d14a1e28 526
093d3ff1
RD
527#ifdef __cplusplus
528extern "C" {
529#endif
c32bde28 530
093d3ff1
RD
531/* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
d14a1e28 534
093d3ff1 535#ifndef SWIGINTERN
32fe5131 536# define SWIGINTERN static SWIGUNUSED
093d3ff1 537#endif
d14a1e28 538
32fe5131
RD
539#ifndef SWIGINTERNINLINE
540# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
093d3ff1 541#endif
d14a1e28 542
093d3ff1
RD
543/*
544 Exception handling in wrappers
545*/
546#define SWIG_fail goto fail
547#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
548#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
549#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
550#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
551#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
552
553/*
554 Contract support
555*/
556#define SWIG_contract_assert(expr, msg) \
557 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
558
559/* -----------------------------------------------------------------------------
560 * Constant declarations
561 * ----------------------------------------------------------------------------- */
d14a1e28 562
093d3ff1
RD
563/* Constant Types */
564#define SWIG_PY_INT 1
565#define SWIG_PY_FLOAT 2
566#define SWIG_PY_STRING 3
567#define SWIG_PY_POINTER 4
568#define SWIG_PY_BINARY 5
569
570/* Constant information structure */
571typedef struct swig_const_info {
572 int type;
573 char *name;
574 long lvalue;
575 double dvalue;
576 void *pvalue;
577 swig_type_info **ptype;
578} swig_const_info;
d14a1e28 579
c32bde28 580
093d3ff1
RD
581/* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
c32bde28
RD
584#define SWIG_OLDOBJ 1
585#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
586#define SWIG_PYSTR SWIG_NEWOBJ + 1
994141e6 587
994141e6 588#ifdef __cplusplus
093d3ff1
RD
589}
590#endif
994141e6 591
15afbcd0 592
093d3ff1
RD
593/***********************************************************************
594 * pyrun.swg
595 *
596 * This file contains the runtime support for Python modules
597 * and includes code for managing global variables and pointer
598 * type checking.
599 *
600 * Author : David Beazley (beazley@cs.uchicago.edu)
601 ************************************************************************/
15afbcd0 602
093d3ff1
RD
603/* Common SWIG API */
604#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
607
994141e6 608
093d3ff1
RD
609/* Python-specific SWIG API */
610#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
611#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
994141e6 612
32fe5131
RD
613/* Runtime API */
614#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
994141e6 616
093d3ff1
RD
617/* -----------------------------------------------------------------------------
618 * Pointer declarations
619 * ----------------------------------------------------------------------------- */
620/*
621 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
622 C/C++ pointers in the python side. Very useful for debugging, but
623 not always safe.
624*/
625#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
626# define SWIG_COBJECT_TYPES
627#endif
994141e6 628
093d3ff1
RD
629/* Flags for pointer conversion */
630#define SWIG_POINTER_EXCEPTION 0x1
631#define SWIG_POINTER_DISOWN 0x2
d14a1e28 632
994141e6 633
32fe5131
RD
634/* Add PyOS_snprintf for old Pythons */
635#if PY_VERSION_HEX < 0x02020000
636#define PyOS_snprintf snprintf
637#endif
638
093d3ff1
RD
639#ifdef __cplusplus
640extern "C" {
641#endif
c32bde28 642
093d3ff1
RD
643/* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
093d3ff1
RD
646#ifndef SWIG_BUFFER_SIZE
647#define SWIG_BUFFER_SIZE 1024
648#endif
994141e6 649
32fe5131
RD
650/* A crude PyString_FromFormat implementation for old Pythons */
651#if PY_VERSION_HEX < 0x02020000
652static PyObject *
653PyString_FromFormat(const char *fmt, ...) {
654 va_list ap;
655 char buf[SWIG_BUFFER_SIZE * 2];
656 int res;
657 va_start(ap, fmt);
658 res = vsnprintf(buf, sizeof(buf), fmt, ap);
659 va_end(ap);
660 return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
661}
662#endif
663
664#if PY_VERSION_HEX < 0x01060000
665#define PyObject_Del(op) PyMem_DEL((op))
666#endif
667
093d3ff1
RD
668#if defined(SWIG_COBJECT_TYPES)
669#if !defined(SWIG_COBJECT_PYTHON)
670/* -----------------------------------------------------------------------------
671 * Implements a simple Swig Object type, and use it instead of PyCObject
672 * ----------------------------------------------------------------------------- */
994141e6 673
093d3ff1
RD
674typedef struct {
675 PyObject_HEAD
676 void *ptr;
677 const char *desc;
678} PySwigObject;
c32bde28 679
093d3ff1 680/* Declarations for objects of type PySwigObject */
c32bde28 681
093d3ff1
RD
682SWIGRUNTIME int
683PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
684{
685 char result[SWIG_BUFFER_SIZE];
32fe5131 686 flags = flags;
093d3ff1
RD
687 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
688 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
689 return 0;
15afbcd0 690 } else {
093d3ff1 691 return 1;
15afbcd0
RD
692 }
693}
093d3ff1
RD
694
695SWIGRUNTIME PyObject *
696PySwigObject_repr(PySwigObject *v)
c32bde28 697{
093d3ff1
RD
698 char result[SWIG_BUFFER_SIZE];
699 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
700 PyString_FromFormat("<Swig Object at %s>", result) : 0;
c32bde28 701}
15afbcd0 702
093d3ff1
RD
703SWIGRUNTIME PyObject *
704PySwigObject_str(PySwigObject *v)
c32bde28 705{
093d3ff1
RD
706 char result[SWIG_BUFFER_SIZE];
707 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
708 PyString_FromString(result) : 0;
c32bde28 709}
15afbcd0 710
093d3ff1
RD
711SWIGRUNTIME PyObject *
712PySwigObject_long(PySwigObject *v)
15afbcd0 713{
32fe5131
RD
714 return PyLong_FromVoidPtr(v->ptr);
715}
716
717SWIGRUNTIME PyObject *
718PySwigObject_format(const char* fmt, PySwigObject *v)
719{
720 PyObject *res = NULL;
721 PyObject *args = PyTuple_New(1);
722 if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) {
723 PyObject *ofmt = PyString_FromString(fmt);
724 if (ofmt) {
725 res = PyString_Format(ofmt,args);
726 Py_DECREF(ofmt);
727 }
728 Py_DECREF(args);
729 }
730 return res;
c32bde28
RD
731}
732
093d3ff1
RD
733SWIGRUNTIME PyObject *
734PySwigObject_oct(PySwigObject *v)
c32bde28 735{
32fe5131 736 return PySwigObject_format("%o",v);
15afbcd0
RD
737}
738
093d3ff1
RD
739SWIGRUNTIME PyObject *
740PySwigObject_hex(PySwigObject *v)
69223c70 741{
32fe5131 742 return PySwigObject_format("%x",v);
69223c70
RD
743}
744
093d3ff1
RD
745SWIGRUNTIME int
746PySwigObject_compare(PySwigObject *v, PySwigObject *w)
15afbcd0 747{
093d3ff1
RD
748 int c = strcmp(v->desc, w->desc);
749 if (c) {
32fe5131 750 return (c > 0) ? 1 : -1;
093d3ff1
RD
751 } else {
752 void *i = v->ptr;
753 void *j = w->ptr;
32fe5131 754 return (i < j) ? -1 : ((i > j) ? 1 : 0);
15afbcd0 755 }
093d3ff1 756}
15afbcd0 757
093d3ff1
RD
758SWIGRUNTIME void
759PySwigObject_dealloc(PySwigObject *self)
760{
32fe5131 761 PyObject_Del(self);
093d3ff1 762}
15afbcd0 763
093d3ff1 764SWIGRUNTIME PyTypeObject*
32fe5131
RD
765PySwigObject_type(void) {
766 static char pyswigobject_type__doc__[] =
093d3ff1
RD
767 "Swig object carries a C/C++ instance pointer";
768
769 static PyNumberMethods PySwigObject_as_number = {
770 (binaryfunc)0, /*nb_add*/
771 (binaryfunc)0, /*nb_subtract*/
772 (binaryfunc)0, /*nb_multiply*/
773 (binaryfunc)0, /*nb_divide*/
774 (binaryfunc)0, /*nb_remainder*/
775 (binaryfunc)0, /*nb_divmod*/
776 (ternaryfunc)0,/*nb_power*/
777 (unaryfunc)0, /*nb_negative*/
778 (unaryfunc)0, /*nb_positive*/
779 (unaryfunc)0, /*nb_absolute*/
780 (inquiry)0, /*nb_nonzero*/
781 0, /*nb_invert*/
782 0, /*nb_lshift*/
783 0, /*nb_rshift*/
784 0, /*nb_and*/
785 0, /*nb_xor*/
786 0, /*nb_or*/
787 (coercion)0, /*nb_coerce*/
788 (unaryfunc)PySwigObject_long, /*nb_int*/
789 (unaryfunc)PySwigObject_long, /*nb_long*/
790 (unaryfunc)0, /*nb_float*/
791 (unaryfunc)PySwigObject_oct, /*nb_oct*/
792 (unaryfunc)PySwigObject_hex, /*nb_hex*/
32fe5131 793#if PY_VERSION_HEX >= 0x02020000
093d3ff1 794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
795#elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
093d3ff1
RD
797#endif
798 };
799
32fe5131
RD
800 static PyTypeObject pyswigobject_type
801#if !defined(__cplusplus)
802 ;
803 static int type_init = 0;
093d3ff1 804 if (!type_init) {
32fe5131
RD
805 PyTypeObject tmp
806#endif
807 = {
093d3ff1
RD
808 PyObject_HEAD_INIT(&PyType_Type)
809 0, /*ob_size*/
32fe5131 810 (char *)"PySwigObject", /*tp_name*/
093d3ff1
RD
811 sizeof(PySwigObject), /*tp_basicsize*/
812 0, /*tp_itemsize*/
813 /* methods */
814 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
815 (printfunc)PySwigObject_print, /*tp_print*/
816 (getattrfunc)0, /*tp_getattr*/
817 (setattrfunc)0, /*tp_setattr*/
818 (cmpfunc)PySwigObject_compare, /*tp_compare*/
819 (reprfunc)PySwigObject_repr, /*tp_repr*/
820 &PySwigObject_as_number, /*tp_as_number*/
821 0, /*tp_as_sequence*/
822 0, /*tp_as_mapping*/
823 (hashfunc)0, /*tp_hash*/
824 (ternaryfunc)0, /*tp_call*/
825 (reprfunc)PySwigObject_str, /*tp_str*/
826 /* Space for future expansion */
32fe5131
RD
827 0,0,0,0,
828 pyswigobject_type__doc__, /* Documentation string */
093d3ff1
RD
829#if PY_VERSION_HEX >= 0x02000000
830 0, /* tp_traverse */
831 0, /* tp_clear */
832#endif
833#if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
836#endif
837#if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
839#endif
840#if PY_VERSION_HEX >= 0x02030000
841 0, /* tp_del */
842#endif
843#ifdef COUNT_ALLOCS
844 0,0,0,0 /* tp_alloc -> tp_next */
845#endif
846 };
32fe5131
RD
847#if !defined(__cplusplus)
848 pyswigobject_type = tmp;
093d3ff1 849 type_init = 1;
c32bde28 850 }
32fe5131
RD
851#endif
852 return &pyswigobject_type;
15afbcd0
RD
853}
854
093d3ff1
RD
855SWIGRUNTIME PyObject *
856PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
857{
32fe5131
RD
858 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
859 if (self) {
860 self->ptr = ptr;
861 self->desc = desc;
862 }
093d3ff1
RD
863 return (PyObject *)self;
864}
15afbcd0 865
093d3ff1
RD
866SWIGRUNTIMEINLINE void *
867PySwigObject_AsVoidPtr(PyObject *self)
15afbcd0 868{
093d3ff1
RD
869 return ((PySwigObject *)self)->ptr;
870}
871
872SWIGRUNTIMEINLINE const char *
873PySwigObject_GetDesc(PyObject *self)
874{
875 return ((PySwigObject *)self)->desc;
876}
877
878SWIGRUNTIMEINLINE int
879PySwigObject_Check(PyObject *op) {
32fe5131 880 return ((op)->ob_type == PySwigObject_type())
093d3ff1 881 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
15afbcd0
RD
882}
883
093d3ff1
RD
884/* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
887
888typedef struct {
889 PyObject_HEAD
890 void *pack;
891 const char *desc;
892 size_t size;
893} PySwigPacked;
894
895SWIGRUNTIME int
896PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
897{
898 char result[SWIG_BUFFER_SIZE];
32fe5131 899 flags = flags;
093d3ff1
RD
900 fputs("<Swig Packed ", fp);
901 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
902 fputs("at ", fp);
903 fputs(result, fp);
904 }
905 fputs(v->desc,fp);
906 fputs(">", fp);
907 return 0;
908}
c32bde28 909
093d3ff1
RD
910SWIGRUNTIME PyObject *
911PySwigPacked_repr(PySwigPacked *v)
15afbcd0 912{
093d3ff1
RD
913 char result[SWIG_BUFFER_SIZE];
914 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
916 } else {
917 return PyString_FromFormat("<Swig Packed %s>", v->desc);
918 }
c32bde28
RD
919}
920
093d3ff1
RD
921SWIGRUNTIME PyObject *
922PySwigPacked_str(PySwigPacked *v)
923{
924 char result[SWIG_BUFFER_SIZE];
925 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
926 return PyString_FromFormat("%s%s", result, v->desc);
927 } else {
32fe5131 928 return PyString_FromString(v->desc);
093d3ff1
RD
929 }
930}
c32bde28 931
093d3ff1
RD
932SWIGRUNTIME int
933PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
c32bde28 934{
093d3ff1
RD
935 int c = strcmp(v->desc, w->desc);
936 if (c) {
32fe5131 937 return (c > 0) ? 1 : -1;
093d3ff1
RD
938 } else {
939 size_t i = v->size;
940 size_t j = w->size;
32fe5131 941 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
093d3ff1 942 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
15afbcd0 943 }
c32bde28
RD
944}
945
093d3ff1
RD
946SWIGRUNTIME void
947PySwigPacked_dealloc(PySwigPacked *self)
948{
949 free(self->pack);
32fe5131 950 PyObject_Del(self);
093d3ff1
RD
951}
952
953SWIGRUNTIME PyTypeObject*
32fe5131
RD
954PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__[] =
093d3ff1 956 "Swig object carries a C/C++ instance pointer";
32fe5131
RD
957 static PyTypeObject pyswigpacked_type
958#if !defined(__cplusplus)
959 ;
960 static int type_init = 0;
093d3ff1 961 if (!type_init) {
32fe5131
RD
962 PyTypeObject tmp
963#endif
964 = {
093d3ff1
RD
965 PyObject_HEAD_INIT(&PyType_Type)
966 0, /*ob_size*/
32fe5131 967 (char *)"PySwigPacked", /*tp_name*/
093d3ff1
RD
968 sizeof(PySwigPacked), /*tp_basicsize*/
969 0, /*tp_itemsize*/
970 /* methods */
971 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
972 (printfunc)PySwigPacked_print, /*tp_print*/
973 (getattrfunc)0, /*tp_getattr*/
974 (setattrfunc)0, /*tp_setattr*/
975 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
976 (reprfunc)PySwigPacked_repr, /*tp_repr*/
977 0, /*tp_as_number*/
978 0, /*tp_as_sequence*/
979 0, /*tp_as_mapping*/
980 (hashfunc)0, /*tp_hash*/
981 (ternaryfunc)0, /*tp_call*/
982 (reprfunc)PySwigPacked_str, /*tp_str*/
983 /* Space for future expansion */
32fe5131
RD
984 0,0,0,0,
985 pyswigpacked_type__doc__, /* Documentation string */
093d3ff1
RD
986#if PY_VERSION_HEX >= 0x02000000
987 0, /* tp_traverse */
988 0, /* tp_clear */
989#endif
990#if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
993#endif
994#if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
996#endif
997#if PY_VERSION_HEX >= 0x02030000
998 0, /* tp_del */
999#endif
1000#ifdef COUNT_ALLOCS
1001 0,0,0,0 /* tp_alloc -> tp_next */
1002#endif
1003 };
32fe5131
RD
1004#if !defined(__cplusplus)
1005 pyswigpacked_type = tmp;
093d3ff1
RD
1006 type_init = 1;
1007 }
32fe5131
RD
1008#endif
1009 return &pyswigpacked_type;
093d3ff1
RD
1010}
1011
1012SWIGRUNTIME PyObject *
1013PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
c32bde28 1014{
32fe5131 1015 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
093d3ff1
RD
1016 if (self == NULL) {
1017 return NULL;
1018 } else {
1019 void *pack = malloc(size);
32fe5131
RD
1020 if (pack) {
1021 memcpy(pack, ptr, size);
1022 self->pack = pack;
1023 self->desc = desc;
1024 self->size = size;
1025 return (PyObject *) self;
1026 }
1027 return NULL;
093d3ff1 1028 }
994141e6
RD
1029}
1030
093d3ff1
RD
1031SWIGRUNTIMEINLINE const char *
1032PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1033{
1034 PySwigPacked *self = (PySwigPacked *)obj;
1035 if (self->size != size) return 0;
1036 memcpy(ptr, self->pack, size);
1037 return self->desc;
1038}
b88bce5f 1039
093d3ff1
RD
1040SWIGRUNTIMEINLINE const char *
1041PySwigPacked_GetDesc(PyObject *self)
15afbcd0 1042{
093d3ff1 1043 return ((PySwigPacked *)self)->desc;
15afbcd0
RD
1044}
1045
093d3ff1
RD
1046SWIGRUNTIMEINLINE int
1047PySwigPacked_Check(PyObject *op) {
32fe5131 1048 return ((op)->ob_type == PySwigPacked_type())
093d3ff1
RD
1049 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1050}
15afbcd0 1051
093d3ff1
RD
1052#else
1053/* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
1056
1057#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058#define PySwigObject_Check(obj) PyCObject_Check(obj)
1059#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1061
1062#endif
1063
1064#endif
1065
1066/* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
1069
1070SWIGRUNTIME void
1071SWIG_Python_TypeError(const char *type, PyObject *obj)
15afbcd0 1072{
093d3ff1
RD
1073 if (type) {
1074#if defined(SWIG_COBJECT_TYPES)
32fe5131 1075 if (obj && PySwigObject_Check(obj)) {
093d3ff1
RD
1076 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1077 if (otype) {
1078 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1079 type, otype);
1080 return;
1081 }
1082 } else
1083#endif
1084 {
1085 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1086 if (otype) {
1087 PyObject *str = PyObject_Str(obj);
1088 const char *cstr = str ? PyString_AsString(str) : 0;
1089 if (cstr) {
1090 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1091 type, otype, cstr);
1092 } else {
1093 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1094 type, otype);
1095 }
32fe5131 1096 Py_XDECREF(str);
093d3ff1
RD
1097 return;
1098 }
1099 }
1100 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1101 } else {
1102 PyErr_Format(PyExc_TypeError, "unexpected type is received");
15afbcd0 1103 }
15afbcd0
RD
1104}
1105
093d3ff1
RD
1106SWIGRUNTIMEINLINE void
1107SWIG_Python_NullRef(const char *type)
15afbcd0 1108{
093d3ff1
RD
1109 if (type) {
1110 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1111 } else {
1112 PyErr_Format(PyExc_TypeError, "null reference was received");
1113 }
994141e6
RD
1114}
1115
093d3ff1
RD
1116SWIGRUNTIME int
1117SWIG_Python_AddErrMesg(const char* mesg, int infront)
1118{
1119 if (PyErr_Occurred()) {
1120 PyObject *type = 0;
1121 PyObject *value = 0;
1122 PyObject *traceback = 0;
1123 PyErr_Fetch(&type, &value, &traceback);
1124 if (value) {
1125 PyObject *old_str = PyObject_Str(value);
1126 Py_XINCREF(type);
1127 PyErr_Clear();
1128 if (infront) {
1129 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1130 } else {
1131 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1132 }
1133 Py_DECREF(old_str);
1134 }
1135 return 1;
1136 } else {
1137 return 0;
1138 }
1139}
994141e6 1140
093d3ff1
RD
1141SWIGRUNTIME int
1142SWIG_Python_ArgFail(int argnum)
1143{
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1146 char mesg[256];
32fe5131 1147 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
093d3ff1
RD
1148 return SWIG_Python_AddErrMesg(mesg, 1);
1149 } else {
1150 return 0;
1151 }
1152}
d14a1e28 1153
093d3ff1
RD
1154
1155/* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
1158
1159/* Convert a pointer value */
1160SWIGRUNTIME int
1161SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
32fe5131 1162 swig_cast_info *tc;
093d3ff1
RD
1163 const char *c = 0;
1164 static PyObject *SWIG_this = 0;
1165 int newref = 0;
1166 PyObject *pyobj = 0;
1167 void *vptr;
1168
1169 if (!obj) return 0;
1170 if (obj == Py_None) {
1171 *ptr = 0;
1172 return 0;
7e63a440 1173 }
d14a1e28 1174
093d3ff1
RD
1175#ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj))) {
1177 if (!SWIG_this)
1178 SWIG_this = PyString_FromString("this");
1179 pyobj = obj;
1180 obj = PyObject_GetAttr(obj,SWIG_this);
1181 newref = 1;
1182 if (!obj) goto type_error;
1183 if (!PySwigObject_Check(obj)) {
1184 Py_DECREF(obj);
1185 goto type_error;
1186 }
1187 }
1188 vptr = PySwigObject_AsVoidPtr(obj);
1189 c = (const char *) PySwigObject_GetDesc(obj);
1190 if (newref) { Py_DECREF(obj); }
1191 goto type_check;
1192#else
1193 if (!(PyString_Check(obj))) {
1194 if (!SWIG_this)
1195 SWIG_this = PyString_FromString("this");
1196 pyobj = obj;
1197 obj = PyObject_GetAttr(obj,SWIG_this);
1198 newref = 1;
1199 if (!obj) goto type_error;
1200 if (!PyString_Check(obj)) {
1201 Py_DECREF(obj);
1202 goto type_error;
1203 }
1204 }
32fe5131 1205 c = PyString_AsString(obj);
093d3ff1
RD
1206 /* Pointer values must start with leading underscore */
1207 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1208 if (newref) { Py_DECREF(obj); }
1209 if (!c) goto type_error;
1210#endif
c32bde28 1211
093d3ff1 1212type_check:
093d3ff1
RD
1213 if (ty) {
1214 tc = SWIG_TypeCheck(c,ty);
1215 if (!tc) goto type_error;
1216 *ptr = SWIG_TypeCast(tc,vptr);
1217 } else {
1218 *ptr = vptr;
1219 }
093d3ff1
RD
1220 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1221 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1222 }
1223 return 0;
d14a1e28 1224
093d3ff1
RD
1225type_error:
1226 PyErr_Clear();
1227 if (pyobj && !obj) {
1228 obj = pyobj;
1229 if (PyCFunction_Check(obj)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1232 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1233 if (c) {
32fe5131 1234 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
093d3ff1
RD
1235 if (!c) goto type_error;
1236 goto type_check;
1237 }
1238 }
1239 }
1240 if (flags & SWIG_POINTER_EXCEPTION) {
1241 if (ty) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1243 } else {
1244 SWIG_Python_TypeError("C/C++ pointer", obj);
1245 }
1246 }
1247 return -1;
1248}
d14a1e28 1249
093d3ff1
RD
1250/* Convert a pointer value, signal an exception on a type mismatch */
1251SWIGRUNTIME void *
1252SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1253 void *result;
1254 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1255 PyErr_Clear();
1256 if (flags & SWIG_POINTER_EXCEPTION) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1258 SWIG_Python_ArgFail(argnum);
d14a1e28 1259 }
093d3ff1
RD
1260 }
1261 return result;
1262}
d14a1e28 1263
093d3ff1
RD
1264/* Convert a packed value value */
1265SWIGRUNTIME int
1266SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
32fe5131 1267 swig_cast_info *tc;
093d3ff1 1268 const char *c = 0;
d14a1e28 1269
093d3ff1
RD
1270#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c = PySwigPacked_UnpackData(obj, ptr, sz);
1272#else
1273 if ((!obj) || (!PyString_Check(obj))) goto type_error;
32fe5131 1274 c = PyString_AsString(obj);
093d3ff1
RD
1275 /* Pointer values must start with leading underscore */
1276 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1277#endif
1278 if (!c) goto type_error;
1279 if (ty) {
1280 tc = SWIG_TypeCheck(c,ty);
1281 if (!tc) goto type_error;
1282 }
1283 return 0;
d14a1e28 1284
093d3ff1
RD
1285type_error:
1286 PyErr_Clear();
1287 if (flags & SWIG_POINTER_EXCEPTION) {
1288 if (ty) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1290 } else {
1291 SWIG_Python_TypeError("C/C++ packed data", obj);
1292 }
15afbcd0 1293 }
093d3ff1
RD
1294 return -1;
1295}
1296
1297/* Create a new array object */
1298SWIGRUNTIME PyObject *
1299SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1300 PyObject *robj = 0;
32fe5131
RD
1301 if (!type) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1304 }
1305 return robj;
1306 }
093d3ff1
RD
1307 if (!ptr) {
1308 Py_INCREF(Py_None);
1309 return Py_None;
1310 }
1311#ifdef SWIG_COBJECT_TYPES
1312 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1313#else
1314 {
1315 char result[SWIG_BUFFER_SIZE];
1316 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1317 PyString_FromString(result) : 0;
1318 }
1319#endif
1320 if (!robj || (robj == Py_None)) return robj;
1321 if (type->clientdata) {
1322 PyObject *inst;
1323 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1324 Py_DECREF(robj);
1325 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1326 Py_DECREF(args);
1327 if (inst) {
1328 if (own) {
1329 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1330 }
1331 robj = inst;
1332 }
1333 }
1334 return robj;
c32bde28
RD
1335}
1336
093d3ff1
RD
1337SWIGRUNTIME PyObject *
1338SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1339 PyObject *robj = 0;
1340 if (!ptr) {
1341 Py_INCREF(Py_None);
1342 return Py_None;
1343 }
1344#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1346#else
1347 {
1348 char result[SWIG_BUFFER_SIZE];
1349 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1350 PyString_FromString(result) : 0;
1351 }
1352#endif
1353 return robj;
994141e6
RD
1354}
1355
093d3ff1
RD
1356/* -----------------------------------------------------------------------------*
1357 * Get type list
1358 * -----------------------------------------------------------------------------*/
1359
1360#ifdef SWIG_LINK_RUNTIME
1361void *SWIG_ReturnGlobalTypeList(void *);
1362#endif
1363
32fe5131
RD
1364SWIGRUNTIME swig_module_info *
1365SWIG_Python_GetModule(void) {
093d3ff1
RD
1366 static void *type_pointer = (void *)0;
1367 /* first check if module already created */
1368 if (!type_pointer) {
1369#ifdef SWIG_LINK_RUNTIME
1370 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
15afbcd0 1371#else
093d3ff1
RD
1372 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1373 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1374 if (PyErr_Occurred()) {
1375 PyErr_Clear();
1376 type_pointer = (void *)0;
1377 }
15afbcd0 1378#endif
32fe5131
RD
1379 }
1380 return (swig_module_info *) type_pointer;
093d3ff1 1381}
d14a1e28 1382
32fe5131
RD
1383#if PY_MAJOR_VERSION < 2
1384/* PyModule_AddObject function was introduced in Python 2.0. The following function
1385is copied out of Python/modsupport.c in python version 2.3.4 */
1386SWIGINTERN int
1387PyModule_AddObject(PyObject *m, char *name, PyObject *o)
1388{
1389 PyObject *dict;
1390 if (!PyModule_Check(m)) {
1391 PyErr_SetString(PyExc_TypeError,
1392 "PyModule_AddObject() needs module as first arg");
1393 return -1;
1394 }
1395 if (!o) {
1396 PyErr_SetString(PyExc_TypeError,
1397 "PyModule_AddObject() needs non-NULL value");
1398 return -1;
1399 }
1400
1401 dict = PyModule_GetDict(m);
1402 if (dict == NULL) {
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
1405 PyModule_GetName(m));
1406 return -1;
1407 }
1408 if (PyDict_SetItemString(dict, name, o))
1409 return -1;
1410 Py_DECREF(o);
1411 return 0;
093d3ff1 1412}
32fe5131 1413#endif
d14a1e28 1414
32fe5131
RD
1415SWIGRUNTIME void
1416SWIG_Python_SetModule(swig_module_info *swig_module) {
1417 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
1418
1419 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1420 swig_empty_runtime_method_table);
1421 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
1422 if (pointer && module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1424 }
1425}
d14a1e28 1426
093d3ff1
RD
1427#ifdef __cplusplus
1428}
1429#endif
d14a1e28 1430
d14a1e28 1431
093d3ff1 1432/* -------- TYPES TABLE (BEGIN) -------- */
d14a1e28 1433
32fe5131
RD
1434#define SWIGTYPE_p_char swig_types[0]
1435#define SWIGTYPE_p_double swig_types[1]
1436#define SWIGTYPE_p_form_ops_t swig_types[2]
1437#define SWIGTYPE_p_int swig_types[3]
1438#define SWIGTYPE_p_unsigned_char swig_types[4]
1439#define SWIGTYPE_p_unsigned_int swig_types[5]
1440#define SWIGTYPE_p_unsigned_long swig_types[6]
1441#define SWIGTYPE_p_wxANIHandler swig_types[7]
1442#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
1443#define SWIGTYPE_p_wxActivateEvent swig_types[9]
1444#define SWIGTYPE_p_wxBMPHandler swig_types[10]
1445#define SWIGTYPE_p_wxBitmap swig_types[11]
1446#define SWIGTYPE_p_wxBoxSizer swig_types[12]
1447#define SWIGTYPE_p_wxBrush swig_types[13]
1448#define SWIGTYPE_p_wxBrushList swig_types[14]
1449#define SWIGTYPE_p_wxBufferedDC swig_types[15]
1450#define SWIGTYPE_p_wxBufferedPaintDC swig_types[16]
1451#define SWIGTYPE_p_wxCURHandler swig_types[17]
1452#define SWIGTYPE_p_wxChildFocusEvent swig_types[18]
1453#define SWIGTYPE_p_wxClientDC swig_types[19]
1454#define SWIGTYPE_p_wxCloseEvent swig_types[20]
1455#define SWIGTYPE_p_wxColour swig_types[21]
1456#define SWIGTYPE_p_wxColourDatabase swig_types[22]
1457#define SWIGTYPE_p_wxCommandEvent swig_types[23]
1458#define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
1459#define SWIGTYPE_p_wxControl swig_types[25]
1460#define SWIGTYPE_p_wxControlWithItems swig_types[26]
1461#define SWIGTYPE_p_wxCursor swig_types[27]
1462#define SWIGTYPE_p_wxDC swig_types[28]
1463#define SWIGTYPE_p_wxDash swig_types[29]
1464#define SWIGTYPE_p_wxDateEvent swig_types[30]
1465#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
1466#define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
1467#define SWIGTYPE_p_wxDuplexMode swig_types[33]
1468#define SWIGTYPE_p_wxEffects swig_types[34]
1469#define SWIGTYPE_p_wxEncodingConverter swig_types[35]
1470#define SWIGTYPE_p_wxEraseEvent swig_types[36]
1471#define SWIGTYPE_p_wxEvent swig_types[37]
1472#define SWIGTYPE_p_wxEvtHandler swig_types[38]
1473#define SWIGTYPE_p_wxFSFile swig_types[39]
1474#define SWIGTYPE_p_wxFileSystem swig_types[40]
1475#define SWIGTYPE_p_wxFlexGridSizer swig_types[41]
1476#define SWIGTYPE_p_wxFocusEvent swig_types[42]
1477#define SWIGTYPE_p_wxFont swig_types[43]
1478#define SWIGTYPE_p_wxFontList swig_types[44]
1479#define SWIGTYPE_p_wxFontMapper swig_types[45]
1480#define SWIGTYPE_p_wxGBSizerItem swig_types[46]
1481#define SWIGTYPE_p_wxGDIObject swig_types[47]
1482#define SWIGTYPE_p_wxGIFHandler swig_types[48]
1483#define SWIGTYPE_p_wxGridBagSizer swig_types[49]
1484#define SWIGTYPE_p_wxGridSizer swig_types[50]
1485#define SWIGTYPE_p_wxICOHandler swig_types[51]
1486#define SWIGTYPE_p_wxIcon swig_types[52]
1487#define SWIGTYPE_p_wxIconBundle swig_types[53]
1488#define SWIGTYPE_p_wxIconLocation swig_types[54]
1489#define SWIGTYPE_p_wxIconizeEvent swig_types[55]
1490#define SWIGTYPE_p_wxIdleEvent swig_types[56]
1491#define SWIGTYPE_p_wxImage swig_types[57]
1492#define SWIGTYPE_p_wxImageHandler swig_types[58]
1493#define SWIGTYPE_p_wxImageList swig_types[59]
1494#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
1495#define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
1496#define SWIGTYPE_p_wxJPEGHandler swig_types[62]
1497#define SWIGTYPE_p_wxKeyEvent swig_types[63]
1498#define SWIGTYPE_p_wxLanguageInfo swig_types[64]
1499#define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
1500#define SWIGTYPE_p_wxLocale swig_types[66]
1501#define SWIGTYPE_p_wxMask swig_types[67]
1502#define SWIGTYPE_p_wxMaximizeEvent swig_types[68]
1503#define SWIGTYPE_p_wxMemoryDC swig_types[69]
1504#define SWIGTYPE_p_wxMenu swig_types[70]
1505#define SWIGTYPE_p_wxMenuBar swig_types[71]
1506#define SWIGTYPE_p_wxMenuEvent swig_types[72]
1507#define SWIGTYPE_p_wxMenuItem swig_types[73]
1508#define SWIGTYPE_p_wxMetaFile swig_types[74]
1509#define SWIGTYPE_p_wxMetaFileDC swig_types[75]
1510#define SWIGTYPE_p_wxMirrorDC swig_types[76]
1511#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[77]
1512#define SWIGTYPE_p_wxMouseEvent swig_types[78]
1513#define SWIGTYPE_p_wxMoveEvent swig_types[79]
1514#define SWIGTYPE_p_wxNativeEncodingInfo swig_types[80]
1515#define SWIGTYPE_p_wxNativeFontInfo swig_types[81]
1516#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[82]
1517#define SWIGTYPE_p_wxNcPaintEvent swig_types[83]
1518#define SWIGTYPE_p_wxNotifyEvent swig_types[84]
1519#define SWIGTYPE_p_wxObject swig_types[85]
1520#define SWIGTYPE_p_wxPCXHandler swig_types[86]
1521#define SWIGTYPE_p_wxPNGHandler swig_types[87]
1522#define SWIGTYPE_p_wxPNMHandler swig_types[88]
1523#define SWIGTYPE_p_wxPaintDC swig_types[89]
1524#define SWIGTYPE_p_wxPaintEvent swig_types[90]
1525#define SWIGTYPE_p_wxPalette swig_types[91]
1526#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
1527#define SWIGTYPE_p_wxPaperSize swig_types[93]
1528#define SWIGTYPE_p_wxPen swig_types[94]
1529#define SWIGTYPE_p_wxPenList swig_types[95]
1530#define SWIGTYPE_p_wxPoint swig_types[96]
1531#define SWIGTYPE_p_wxPostScriptDC swig_types[97]
1532#define SWIGTYPE_p_wxPrintData swig_types[98]
1533#define SWIGTYPE_p_wxPrinterDC swig_types[99]
1534#define SWIGTYPE_p_wxPyApp swig_types[100]
1535#define SWIGTYPE_p_wxPyCommandEvent swig_types[101]
1536#define SWIGTYPE_p_wxPyEvent swig_types[102]
1537#define SWIGTYPE_p_wxPyFontEnumerator swig_types[103]
1538#define SWIGTYPE_p_wxPyImageHandler swig_types[104]
1539#define SWIGTYPE_p_wxPySizer swig_types[105]
1540#define SWIGTYPE_p_wxPyValidator swig_types[106]
1541#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[107]
1542#define SWIGTYPE_p_wxRect swig_types[108]
1543#define SWIGTYPE_p_wxRegion swig_types[109]
1544#define SWIGTYPE_p_wxRegionIterator swig_types[110]
1545#define SWIGTYPE_p_wxRendererNative swig_types[111]
1546#define SWIGTYPE_p_wxRendererVersion swig_types[112]
1547#define SWIGTYPE_p_wxScreenDC swig_types[113]
1548#define SWIGTYPE_p_wxScrollEvent swig_types[114]
1549#define SWIGTYPE_p_wxScrollWinEvent swig_types[115]
1550#define SWIGTYPE_p_wxSetCursorEvent swig_types[116]
1551#define SWIGTYPE_p_wxShowEvent swig_types[117]
1552#define SWIGTYPE_p_wxSize swig_types[118]
1553#define SWIGTYPE_p_wxSizeEvent swig_types[119]
1554#define SWIGTYPE_p_wxSizer swig_types[120]
1555#define SWIGTYPE_p_wxSizerItem swig_types[121]
1556#define SWIGTYPE_p_wxSplitterRenderParams swig_types[122]
1557#define SWIGTYPE_p_wxStaticBoxSizer swig_types[123]
1558#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[124]
1559#define SWIGTYPE_p_wxString swig_types[125]
1560#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[126]
1561#define SWIGTYPE_p_wxTIFFHandler swig_types[127]
1562#define SWIGTYPE_p_wxUpdateUIEvent swig_types[128]
1563#define SWIGTYPE_p_wxValidator swig_types[129]
1564#define SWIGTYPE_p_wxWindow swig_types[130]
1565#define SWIGTYPE_p_wxWindowCreateEvent swig_types[131]
1566#define SWIGTYPE_p_wxWindowDC swig_types[132]
1567#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[133]
1568#define SWIGTYPE_p_wxXPMHandler swig_types[134]
1569#define SWIGTYPE_ptrdiff_t swig_types[135]
1570#define SWIGTYPE_std__ptrdiff_t swig_types[136]
1571#define SWIGTYPE_unsigned_int swig_types[137]
1572static swig_type_info *swig_types[139];
1573static swig_module_info swig_module = {swig_types, 138, 0, 0, 0, 0};
1574#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1575#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
d14a1e28 1576
093d3ff1 1577/* -------- TYPES TABLE (END) -------- */
d14a1e28 1578
d14a1e28 1579
093d3ff1
RD
1580/*-----------------------------------------------
1581 @(target):= _gdi_.so
1582 ------------------------------------------------*/
1583#define SWIG_init init_gdi_
d14a1e28 1584
093d3ff1 1585#define SWIG_name "_gdi_"
d14a1e28 1586
093d3ff1
RD
1587#include "wx/wxPython/wxPython.h"
1588#include "wx/wxPython/pyclasses.h"
1589
d14a1e28 1590
093d3ff1 1591 static const wxString wxPyEmptyString(wxEmptyString);
d14a1e28 1592
093d3ff1 1593#include <limits.h>
d14a1e28
RD
1594
1595
093d3ff1
RD
1596SWIGINTERN int
1597 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1598 const char *errmsg)
1599{
1600 if (value < min_value) {
1601 if (errmsg) {
1602 PyErr_Format(PyExc_OverflowError,
1603 "value %ld is less than '%s' minimum %ld",
1604 value, errmsg, min_value);
1605 }
1606 return 0;
1607 } else if (value > max_value) {
1608 if (errmsg) {
1609 PyErr_Format(PyExc_OverflowError,
1610 "value %ld is greater than '%s' maximum %ld",
1611 value, errmsg, max_value);
1612 }
1613 return 0;
1614 }
1615 return 1;
1616}
d14a1e28 1617
994141e6 1618
093d3ff1
RD
1619SWIGINTERN int
1620SWIG_AsVal_long(PyObject* obj, long* val)
994141e6 1621{
c32bde28 1622 if (PyNumber_Check(obj)) {
093d3ff1 1623 if (val) *val = PyInt_AsLong(obj);
c32bde28
RD
1624 return 1;
1625 }
69223c70 1626 else {
7e08d4ef 1627 SWIG_Python_TypeError("number", obj);
69223c70 1628 }
c32bde28 1629 return 0;
15afbcd0
RD
1630}
1631
1632
093d3ff1
RD
1633#if INT_MAX != LONG_MAX
1634SWIGINTERN int
1635 SWIG_AsVal_int(PyObject *obj, int *val)
1636{
1637 const char* errmsg = val ? "int" : (char*)0;
1638 long v;
1639 if (SWIG_AsVal_long(obj, &v)) {
1640 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
32fe5131 1641 if (val) *val = static_cast<int >(v);
093d3ff1
RD
1642 return 1;
1643 } else {
1644 return 0;
1645 }
1646 } else {
1647 PyErr_Clear();
15afbcd0 1648 }
093d3ff1
RD
1649 if (val) {
1650 SWIG_type_error(errmsg, obj);
1651 }
1652 return 0;
c32bde28 1653}
093d3ff1 1654#else
32fe5131 1655SWIGINTERNINLINE int
093d3ff1 1656 SWIG_AsVal_int(PyObject *obj, int *val)
c32bde28 1657{
093d3ff1 1658 return SWIG_AsVal_long(obj,(long*)val);
994141e6 1659}
093d3ff1 1660#endif
994141e6 1661
c32bde28 1662
093d3ff1
RD
1663SWIGINTERN int
1664 SWIG_AsVal_bool(PyObject *obj, bool *val)
1665{
1666 if (obj == Py_True) {
1667 if (val) *val = true;
1668 return 1;
1669 }
1670 if (obj == Py_False) {
1671 if (val) *val = false;
1672 return 1;
1673 }
1674 int res = 0;
1675 if (SWIG_AsVal_int(obj, &res)) {
1676 if (val) *val = res ? true : false;
1677 return 1;
1678 } else {
1679 PyErr_Clear();
1680 }
1681 if (val) {
1682 SWIG_type_error("bool", obj);
1683 }
1684 return 0;
1685}
c32bde28 1686
d14a1e28 1687
32fe5131 1688SWIGINTERNINLINE bool
093d3ff1
RD
1689SWIG_As_bool(PyObject* obj)
1690{
1691 bool v;
1692 if (!SWIG_AsVal_bool(obj, &v)) {
1693 /*
1694 this is needed to make valgrind/purify happier.
1695 */
1696 memset((void*)&v, 0, sizeof(bool));
1697 }
1698 return v;
d14a1e28
RD
1699}
1700
093d3ff1 1701
32fe5131 1702SWIGINTERNINLINE int
093d3ff1
RD
1703SWIG_Check_bool(PyObject* obj)
1704{
1705 return SWIG_AsVal_bool(obj, (bool*)0);
1706}
b88bce5f 1707
b88bce5f 1708
093d3ff1
RD
1709SWIGINTERN int
1710SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1711{
1712 long v = 0;
1713 if (SWIG_AsVal_long(obj, &v) && v < 0) {
7e08d4ef 1714 SWIG_Python_TypeError("unsigned number", obj);
093d3ff1
RD
1715 }
1716 else if (val)
1717 *val = (unsigned long)v;
1718 return 1;
1719}
d14a1e28
RD
1720
1721
32fe5131 1722SWIGINTERNINLINE int
093d3ff1
RD
1723 SWIG_CheckUnsignedLongInRange(unsigned long value,
1724 unsigned long max_value,
1725 const char *errmsg)
1726{
1727 if (value > max_value) {
1728 if (errmsg) {
1729 PyErr_Format(PyExc_OverflowError,
1730 "value %lu is greater than '%s' minimum %lu",
1731 value, errmsg, max_value);
1732 }
1733 return 0;
1734 }
1735 return 1;
1736 }
d14a1e28 1737
d14a1e28 1738
093d3ff1
RD
1739SWIGINTERN int
1740 SWIG_AsVal_unsigned_SS_char(PyObject *obj, unsigned char *val)
1741{
1742 const char* errmsg = val ? "unsigned char" : (char*)0;
1743 unsigned long v;
1744 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1745 if (SWIG_CheckUnsignedLongInRange(v, UCHAR_MAX,errmsg)) {
32fe5131 1746 if (val) *val = static_cast<unsigned char >(v);
093d3ff1
RD
1747 return 1;
1748 } else {
1749 return 0;
1750 }
1751 } else {
1752 PyErr_Clear();
1753 }
1754 if (val) {
1755 SWIG_type_error(errmsg, obj);
1756 }
1757 return 0;
1758}
d14a1e28
RD
1759
1760
32fe5131 1761SWIGINTERNINLINE unsigned char
093d3ff1
RD
1762SWIG_As_unsigned_SS_char(PyObject* obj)
1763{
1764 unsigned char v;
1765 if (!SWIG_AsVal_unsigned_SS_char(obj, &v)) {
1766 /*
1767 this is needed to make valgrind/purify happier.
1768 */
1769 memset((void*)&v, 0, sizeof(unsigned char));
1770 }
1771 return v;
1772}
33b885b9 1773
093d3ff1 1774
32fe5131 1775SWIGINTERNINLINE int
093d3ff1
RD
1776SWIG_Check_unsigned_SS_char(PyObject* obj)
1777{
1778 return SWIG_AsVal_unsigned_SS_char(obj, (unsigned char*)0);
1779}
d14a1e28
RD
1780
1781
32fe5131 1782SWIGINTERNINLINE unsigned long
093d3ff1
RD
1783SWIG_As_unsigned_SS_long(PyObject* obj)
1784{
1785 unsigned long v;
1786 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1787 /*
1788 this is needed to make valgrind/purify happier.
1789 */
1790 memset((void*)&v, 0, sizeof(unsigned long));
1791 }
1792 return v;
1793}
d14a1e28 1794
093d3ff1 1795
32fe5131 1796SWIGINTERNINLINE int
093d3ff1
RD
1797SWIG_Check_unsigned_SS_long(PyObject* obj)
1798{
1799 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1800}
d14a1e28 1801
d14a1e28 1802
32fe5131 1803 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
1804#define SWIG_From_unsigned_SS_char PyInt_FromLong
1805/*@@*/
d14a1e28
RD
1806
1807
32fe5131 1808 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
1809#define SWIG_From_long PyInt_FromLong
1810/*@@*/
d14a1e28 1811
093d3ff1
RD
1812static PyObject *wxColour_Get(wxColour *self){
1813 PyObject* rv = PyTuple_New(3);
1814 int red = -1;
1815 int green = -1;
1816 int blue = -1;
1817 if (self->Ok()) {
1818 red = self->Red();
1819 green = self->Green();
1820 blue = self->Blue();
1821 }
1822 PyTuple_SetItem(rv, 0, PyInt_FromLong(red));
1823 PyTuple_SetItem(rv, 1, PyInt_FromLong(green));
1824 PyTuple_SetItem(rv, 2, PyInt_FromLong(blue));
1825 return rv;
1826 }
1827static unsigned long wxColour_GetRGB(wxColour *self){
1828 return self->Red() | (self->Green() << 8) | (self->Blue() << 16);
1829 }
d14a1e28 1830
32fe5131 1831SWIGINTERNINLINE PyObject*
093d3ff1
RD
1832 SWIG_From_unsigned_SS_long(unsigned long value)
1833{
1834 return (value > LONG_MAX) ?
1835 PyLong_FromUnsignedLong(value)
32fe5131 1836 : PyInt_FromLong(static_cast<long >(value));
d14a1e28
RD
1837}
1838
1839
32fe5131 1840SWIGINTERNINLINE int
093d3ff1
RD
1841SWIG_As_int(PyObject* obj)
1842{
1843 int v;
1844 if (!SWIG_AsVal_int(obj, &v)) {
1845 /*
1846 this is needed to make valgrind/purify happier.
1847 */
1848 memset((void*)&v, 0, sizeof(int));
1849 }
1850 return v;
d14a1e28
RD
1851}
1852
093d3ff1 1853
32fe5131 1854SWIGINTERNINLINE int
093d3ff1
RD
1855SWIG_Check_int(PyObject* obj)
1856{
1857 return SWIG_AsVal_int(obj, (int*)0);
d14a1e28
RD
1858}
1859
1860
32fe5131 1861 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
1862#define SWIG_From_int PyInt_FromLong
1863/*@@*/
d14a1e28
RD
1864
1865
7e08d4ef
RD
1866 static PyObject* t_output_helper(PyObject* result, PyObject* obj)
1867 {
1868 PyObject* o2;
1869 PyObject* o3;
1870 if (!result) {
1871 result = obj;
1872 } else if (result == Py_None) {
1873 Py_DECREF(result);
1874 result = obj;
1875 } else {
1876 if (!PyTuple_Check(result)) {
1877 o2 = result;
1878 result = PyTuple_New(1);
1879 PyTuple_SET_ITEM(result, 0, o2);
1880 }
1881 o3 = PyTuple_New(1);
1882 PyTuple_SetItem(o3, 0, obj);
1883 o2 = result;
1884 result = PySequence_Concat(o2, o3);
1885 Py_DECREF(o2);
1886 Py_DECREF(o3);
1887 }
1888 return result;
1889 }
d14a1e28
RD
1890
1891
093d3ff1
RD
1892static PyObject *wxPen_GetDashes(wxPen *self){
1893 wxDash* dashes;
1894 int count = self->GetDashes(&dashes);
5a446332 1895 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
1896 PyObject* retval = PyList_New(0);
1897 for (int x=0; x<count; x++) {
1898 PyObject* pyint = PyInt_FromLong(dashes[x]);
1899 PyList_Append(retval, pyint);
1900 Py_DECREF(pyint);
1901 }
1902 wxPyEndBlockThreads(blocked);
1903 return retval;
1904 }
1905static void wxPen__SetDashes(wxPen *self,PyObject *_self,PyObject *pyDashes){
5a446332 1906 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
1907 int size = PyList_Size(pyDashes);
1908 wxDash* dashes = (wxDash*)byte_LIST_helper(pyDashes);
d14a1e28 1909
093d3ff1
RD
1910 // black magic warning! The array of wxDashes needs to exist as
1911 // long as the pen does because wxPen does not copy the array. So
1912 // stick a copy in a Python string object and attach it to _self,
1913 // and then call SetDashes with a pointer to that array. Then
1914 // when the Python pen object is destroyed the array will be
1915 // cleaned up too.
1916 PyObject* strDashes = PyString_FromStringAndSize((char*)dashes, size*sizeof(wxDash));
1917 PyObject_SetAttrString(_self, "_dashes", strDashes);
1918
1919 self->SetDashes(size, (wxDash*)PyString_AS_STRING(strDashes));
1920 delete [] dashes;
1921 Py_DECREF(strDashes);
1922 wxPyEndBlockThreads(blocked);
1923 }
1924static bool wxPen___eq__(wxPen *self,wxPen const *other){ return other ? (*self == *other) : false; }
1925static bool wxPen___ne__(wxPen *self,wxPen const *other){ return other ? (*self != *other) : true; }
d14a1e28 1926
093d3ff1 1927#include <wx/image.h>
b88bce5f 1928
093d3ff1
RD
1929 static char** ConvertListOfStrings(PyObject* listOfStrings) {
1930 char** cArray = NULL;
1931 int count;
1932
1933 if (!PyList_Check(listOfStrings)) {
1934 PyErr_SetString(PyExc_TypeError, "Expected a list of strings.");
1935 return NULL;
1936 }
1937 count = PyList_Size(listOfStrings);
1938 cArray = new char*[count];
1939
1940 for(int x=0; x<count; x++) {
1941 // TODO: Need some validation and error checking here
1942 cArray[x] = PyString_AsString(PyList_GET_ITEM(listOfStrings, x));
1943 }
1944 return cArray;
b88bce5f 1945 }
b88bce5f
RD
1946
1947
093d3ff1
RD
1948static wxBitmap *new_wxBitmap(PyObject *listOfStrings){
1949 char** cArray = NULL;
1950 wxBitmap* bmp;
d14a1e28 1951
093d3ff1
RD
1952 cArray = ConvertListOfStrings(listOfStrings);
1953 if (! cArray)
1954 return NULL;
1955 bmp = new wxBitmap(cArray);
1956 delete [] cArray;
1957 return bmp;
1958 }
1959static wxBitmap *new_wxBitmap(PyObject *bits,int width,int height,int depth=1){
1960 char* buf;
1961 int length;
1962 PyString_AsStringAndSize(bits, &buf, &length);
1963 return new wxBitmap(buf, width, height, depth);
1964 }
1965static wxSize wxBitmap_GetSize(wxBitmap *self){
1966 wxSize size(self->GetWidth(), self->GetHeight());
1967 return size;
1968 }
1969static void wxBitmap_SetMaskColour(wxBitmap *self,wxColour const &colour){
1970 wxMask *mask = new wxMask(*self, colour);
1971 self->SetMask(mask);
1972 }
1973static void wxBitmap_SetSize(wxBitmap *self,wxSize const &size){
1974 self->SetWidth(size.x);
1975 self->SetHeight(size.y);
1976 }
1977static bool wxBitmap___eq__(wxBitmap *self,wxBitmap const *other){ return other ? (*self == *other) : false; }
1978static bool wxBitmap___ne__(wxBitmap *self,wxBitmap const *other){ return other ? (*self != *other) : true; }
1979static wxMask *new_wxMask(wxBitmap const &bitmap,wxColour const &colour=wxNullColour){
1980 if ( !colour.Ok() )
1981 return new wxMask(bitmap, *wxBLACK);
1982 else
1983 return new wxMask(bitmap, colour);
1984 }
d14a1e28 1985
093d3ff1 1986#include <wx/iconbndl.h>
d14a1e28 1987
093d3ff1
RD
1988static wxIcon *new_wxIcon(wxBitmap const &bmp){
1989 wxIcon* icon = new wxIcon();
1990 icon->CopyFromBitmap(bmp);
1991 return icon;
1992 }
1993static wxIcon *new_wxIcon(PyObject *listOfStrings){
1994 char** cArray = NULL;
1995 wxIcon* icon;
d14a1e28 1996
093d3ff1
RD
1997 cArray = ConvertListOfStrings(listOfStrings);
1998 if (! cArray)
1999 return NULL;
2000 icon = new wxIcon(cArray);
2001 delete [] cArray;
2002 return icon;
2003 }
2004static wxIconLocation *new_wxIconLocation(wxString const *filename=&wxPyEmptyString,int num=0){
d14a1e28
RD
2005
2006
d14a1e28 2007
093d3ff1 2008 return new wxIconLocation(*filename);
d14a1e28 2009
093d3ff1
RD
2010 }
2011static void wxIconLocation_SetIndex(wxIconLocation *self,int num){
d14a1e28
RD
2012
2013
d14a1e28 2014
093d3ff1 2015 // do nothing
d14a1e28 2016
093d3ff1
RD
2017 }
2018static int wxIconLocation_GetIndex(wxIconLocation *self){
b88bce5f
RD
2019
2020
093d3ff1
RD
2021
2022 return -1;
2023
2024 }
2025
32fe5131 2026SWIGINTERNINLINE long
093d3ff1
RD
2027SWIG_As_long(PyObject* obj)
2028{
2029 long v;
2030 if (!SWIG_AsVal_long(obj, &v)) {
2031 /*
2032 this is needed to make valgrind/purify happier.
2033 */
2034 memset((void*)&v, 0, sizeof(long));
2035 }
2036 return v;
b88bce5f
RD
2037}
2038
093d3ff1 2039
32fe5131 2040SWIGINTERNINLINE int
093d3ff1
RD
2041SWIG_Check_long(PyObject* obj)
2042{
2043 return SWIG_AsVal_long(obj, (long*)0);
2044}
b88bce5f 2045
7557b9b5 2046static wxCursor *new_wxCursor(wxString const &cursorName,long type,int hotSpotX=0,int hotSpotY=0){
093d3ff1 2047#ifdef __WXGTK__
7557b9b5
RD
2048 wxImage img(cursorName, type);
2049 img.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X, hotSpotX);
2050 img.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y, hotSpotY);
2051 return new wxCursor(img);
093d3ff1 2052#else
7557b9b5 2053 return new wxCursor(cursorName, type, hotSpotX, hotSpotY);
093d3ff1
RD
2054#endif
2055 }
2056
2057
2058static void wxRegionIterator_Next(wxRegionIterator *self){
2059 (*self) ++;
2060 }
2061static bool wxRegionIterator___nonzero__(wxRegionIterator *self){
2062 return self->operator bool();
2063 }
2064
2065#include <wx/fontutil.h>
2066#include <wx/fontmap.h>
2067#include <wx/fontenum.h>
2068
2069static wxString wxNativeFontInfo___str__(wxNativeFontInfo *self){
2070 return self->ToString();
2071 }
2072
2073 wxNativeEncodingInfo* wxGetNativeFontEncoding(wxFontEncoding encoding) {
2074 static wxNativeEncodingInfo info;
2075 if ( wxGetNativeFontEncoding(encoding, &info) )
2076 return &info;
2077 else
2078 return NULL;
2079 }
2080
2081static PyObject *wxFontMapper_GetAltForEncoding(wxFontMapper *self,wxFontEncoding encoding,wxString const &facename=wxPyEmptyString,bool interactive=true){
2082 wxFontEncoding alt_enc;
2083 if (self->GetAltForEncoding(encoding, &alt_enc, facename, interactive))
2084 return PyInt_FromLong(alt_enc);
2085 else {
2086 Py_INCREF(Py_None);
2087 return Py_None;
2088 }
2089 }
2090static wxFont *new_wxFont(wxString const &info){
a97cefba
RD
2091 wxNativeFontInfo nfi;
2092 nfi.FromString(info);
2093 return new wxFont(nfi);
2094 }
093d3ff1 2095static wxFont *new_wxFont(int pointSize,wxFontFamily family,int flags=wxFONTFLAG_DEFAULT,wxString const &face=wxPyEmptyString,wxFontEncoding encoding=wxFONTENCODING_DEFAULT){
a97cefba
RD
2096 return wxFont::New(pointSize, family, flags, face, encoding);
2097 }
093d3ff1 2098static wxFont *new_wxFont(wxSize const &pixelSize,int family,int style,int weight,bool underlined=false,wxString const &face=wxEmptyString,wxFontEncoding encoding=wxFONTENCODING_DEFAULT){
a97cefba
RD
2099 return wxFontBase::New(pixelSize, family,
2100 style, weight, underlined,
2101 face, encoding);
2102 }
73c8ef6a 2103static wxFont *new_wxFont(wxSize const &pixelSize,wxFontFamily family,int flags=wxFONTFLAG_DEFAULT,wxString const &face=wxEmptyString,wxFontEncoding encoding=wxFONTENCODING_DEFAULT){
a97cefba
RD
2104 return wxFontBase::New(pixelSize, family, flags, face, encoding);
2105 }
093d3ff1
RD
2106static bool wxFont___eq__(wxFont *self,wxFont const *other){ return other ? (*self == *other) : false; }
2107static bool wxFont___ne__(wxFont *self,wxFont const *other){ return other ? (*self != *other) : true; }
2108
2109class wxPyFontEnumerator : public wxFontEnumerator {
2110public:
2111 wxPyFontEnumerator() {}
2112 ~wxPyFontEnumerator() {}
2113
2114 DEC_PYCALLBACK_BOOL_STRING(OnFacename);
2115 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding);
2116
2117 PYPRIVATE;
2118};
2119
2120IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator, wxFontEnumerator, OnFacename);
2121IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator, wxFontEnumerator, OnFontEncoding);
2122
2123
2124static PyObject *wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator *self){
2125 wxArrayString* arr = self->GetEncodings();
2126 if (arr)
2127 return wxArrayString2PyList_helper(*arr);
2128 else
2129 return PyList_New(0);
2130 }
2131static PyObject *wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator *self){
2132 wxArrayString* arr = self->GetFacenames();
2133 if (arr)
2134 return wxArrayString2PyList_helper(*arr);
2135 else
2136 return PyList_New(0);
2137 }
2138
2139#include <locale.h>
2140
2141static wxLocale *new_wxLocale(int language=-1,int flags=wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING){
2142 wxLocale* loc;
2143 if (language == -1)
2144 loc = new wxLocale();
2145 else
2146 loc = new wxLocale(language, flags);
2147 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2148 // for the floating point conversions and such to work right.
2149#if PY_VERSION_HEX < 0x02040000
2150 setlocale(LC_NUMERIC, "C");
2151#endif
2152 return loc;
2153 }
2154static bool wxLocale_Init1(wxLocale *self,wxString const &szName,wxString const &szShort=wxPyEmptyString,wxString const &szLocale=wxPyEmptyString,bool bLoadDefault=true,bool bConvertEncoding=false){
2155 bool rc = self->Init(szName, szShort, szLocale, bLoadDefault, bConvertEncoding);
2156 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2157 // for the floating point conversions and such to work right.
2158#if PY_VERSION_HEX < 0x02040000
2159 setlocale(LC_NUMERIC, "C");
2160#endif
2161 return rc;
2162 }
2163static bool wxLocale_Init2(wxLocale *self,int language=wxLANGUAGE_DEFAULT,int flags=wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING){
2164 bool rc = self->Init(language, flags);
2165 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2166 // for the floating point conversions and such to work right.
2167#if PY_VERSION_HEX < 0x02040000
2168 setlocale(LC_NUMERIC, "C");
2169#endif
2170 return rc;
2171 }
2172
2173#include "wx/wxPython/pydrawxxx.h"
2174
2175static wxColour wxDC_GetPixel(wxDC *self,int x,int y){
2176 wxColour col;
2177 self->GetPixel(x, y, &col);
2178 return col;
2179 }
2180static wxColour wxDC_GetPixelPoint(wxDC *self,wxPoint const &pt){
2181 wxColour col;
2182 self->GetPixel(pt, &col);
2183 return col;
2184 }
2185
2186SWIGINTERN int
2187SWIG_AsVal_double(PyObject *obj, double* val)
2188{
2189 if (PyNumber_Check(obj)) {
2190 if (val) *val = PyFloat_AsDouble(obj);
2191 return 1;
d14a1e28 2192 }
093d3ff1 2193 else {
7e08d4ef 2194 SWIG_Python_TypeError("number", obj);
093d3ff1
RD
2195 }
2196 return 0;
2197}
2198
2199
32fe5131 2200SWIGINTERNINLINE double
093d3ff1
RD
2201SWIG_As_double(PyObject* obj)
2202{
2203 double v;
2204 if (!SWIG_AsVal_double(obj, &v)) {
2205 /*
2206 this is needed to make valgrind/purify happier.
2207 */
2208 memset((void*)&v, 0, sizeof(double));
2209 }
2210 return v;
2211}
2212
2213
32fe5131 2214SWIGINTERNINLINE int
093d3ff1
RD
2215SWIG_Check_double(PyObject* obj)
2216{
2217 return SWIG_AsVal_double(obj, (double*)0);
2218}
2219
2220static wxRect wxDC_DrawImageLabel(wxDC *self,wxString const &text,wxBitmap const &image,wxRect const &rect,int alignment=wxALIGN_LEFT|wxALIGN_TOP,int indexAccel=-1){
2221 wxRect rv;
2222 self->DrawLabel(text, image, rect, alignment, indexAccel, &rv);
2223 return rv;
2224 }
2225
2226static wxRect wxDC_GetClippingRect(wxDC *self){
2227 wxRect rect;
2228 self->GetClippingBox(rect);
2229 return rect;
2230 }
2231static wxArrayInt wxDC_GetPartialTextExtents(wxDC *self,wxString const &text){
2232 wxArrayInt widths;
2233 self->GetPartialTextExtents(text, widths);
2234 return widths;
2235 }
2236
32fe5131 2237 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
2238#define SWIG_From_double PyFloat_FromDouble
2239/*@@*/
2240
2241
2242static void wxDC_SetLogicalOriginPoint(wxDC *self,wxPoint const &point){
2243 self->SetLogicalOrigin(point.x, point.y);
2244 }
2245static void wxDC_SetDeviceOriginPoint(wxDC *self,wxPoint const &point){
2246 self->SetDeviceOrigin(point.x, point.y);
2247 }
2248static void wxDC_CalcBoundingBoxPoint(wxDC *self,wxPoint const &point){
2249 self->CalcBoundingBox(point.x, point.y);
2250 }
2251static PyObject *wxDC__DrawPointList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
2252 return wxPyDrawXXXList(*self, wxPyDrawXXXPoint, pyCoords, pyPens, pyBrushes);
2253 }
2254static PyObject *wxDC__DrawLineList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
2255 return wxPyDrawXXXList(*self, wxPyDrawXXXLine, pyCoords, pyPens, pyBrushes);
2256 }
2257static PyObject *wxDC__DrawRectangleList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
2258 return wxPyDrawXXXList(*self, wxPyDrawXXXRectangle, pyCoords, pyPens, pyBrushes);
2259 }
2260static PyObject *wxDC__DrawEllipseList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
2261 return wxPyDrawXXXList(*self, wxPyDrawXXXEllipse, pyCoords, pyPens, pyBrushes);
2262 }
2263static PyObject *wxDC__DrawPolygonList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
2264 return wxPyDrawXXXList(*self, wxPyDrawXXXPolygon, pyCoords, pyPens, pyBrushes);
2265 }
2266static PyObject *wxDC__DrawTextList(wxDC *self,PyObject *textList,PyObject *pyPoints,PyObject *foregroundList,PyObject *backgroundList){
2267 return wxPyDrawTextList(*self, textList, pyPoints, foregroundList, backgroundList);
2268 }
2269
2270static void wxDC_GetBoundingBox(wxDC* dc, int* x1, int* y1, int* x2, int* y2) {
2271 *x1 = dc->MinX();
2272 *y1 = dc->MinY();
2273 *x2 = dc->MaxX();
2274 *y2 = dc->MaxY();
2275}
2276
2277
2278#include <wx/dcbuffer.h>
2279
2280
2281#include <wx/dcps.h>
2282
2283
2284class wxMetaFile : public wxObject {
2285public:
2286 wxMetaFile(const wxString&)
2287 { wxPyRaiseNotImplemented(); }
2288};
2289
2290class wxMetaFileDC : public wxClientDC {
2291public:
2292 wxMetaFileDC(const wxString&, int, int, const wxString&)
2293 { wxPyRaiseNotImplemented(); }
2294};
2295
2296
2297
2298class wxPrinterDC : public wxClientDC {
2299public:
2300 wxPrinterDC(const wxPrintData&)
2301 { wxPyRaiseNotImplemented(); }
2302
2303};
2304
2305
2306
2307static void wxColourDatabase_Append(wxColourDatabase *self,wxString const &name,int red,int green,int blue){
2308 self->AddColour(name, wxColour(red, green, blue));
2309 }
2310
2311#include <wx/effects.h>
2312
8d38bd1d
RD
2313
2314#include "wx/renderer.h"
2315
2316
32fe5131 2317SWIGINTERNINLINE PyObject*
8d38bd1d
RD
2318 SWIG_From_bool(bool value)
2319{
2320 PyObject *obj = value ? Py_True : Py_False;
2321 Py_INCREF(obj);
2322 return obj;
2323}
2324
093d3ff1
RD
2325#ifdef __cplusplus
2326extern "C" {
2327#endif
2328static PyObject *_wrap_new_GDIObject(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2329 PyObject *resultobj = NULL;
093d3ff1
RD
2330 wxGDIObject *result;
2331 char *kwnames[] = {
2332 NULL
2333 };
2334
2335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GDIObject",kwnames)) goto fail;
d14a1e28 2336 {
093d3ff1 2337 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 2338 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2339 result = (wxGDIObject *)new wxGDIObject();
d14a1e28
RD
2340
2341 wxPyEndAllowThreads(__tstate);
2342 if (PyErr_Occurred()) SWIG_fail;
2343 }
093d3ff1 2344 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGDIObject, 1);
d14a1e28
RD
2345 return resultobj;
2346 fail:
2347 return NULL;
2348}
2349
2350
093d3ff1 2351static PyObject *_wrap_delete_GDIObject(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2352 PyObject *resultobj = NULL;
093d3ff1 2353 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
d14a1e28 2354 PyObject * obj0 = 0 ;
d14a1e28 2355 char *kwnames[] = {
093d3ff1 2356 (char *) "self", NULL
d14a1e28
RD
2357 };
2358
093d3ff1
RD
2359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GDIObject",kwnames,&obj0)) goto fail;
2360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGDIObject, SWIG_POINTER_EXCEPTION | 0);
2361 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 2362 {
093d3ff1
RD
2363 PyThreadState* __tstate = wxPyBeginAllowThreads();
2364 delete arg1;
2365
2366 wxPyEndAllowThreads(__tstate);
2367 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2368 }
093d3ff1
RD
2369 Py_INCREF(Py_None); resultobj = Py_None;
2370 return resultobj;
2371 fail:
2372 return NULL;
2373}
2374
2375
2376static PyObject *_wrap_GDIObject_GetVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2377 PyObject *resultobj = NULL;
093d3ff1
RD
2378 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
2379 bool result;
2380 PyObject * obj0 = 0 ;
2381 char *kwnames[] = {
2382 (char *) "self", NULL
2383 };
2384
2385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GDIObject_GetVisible",kwnames,&obj0)) goto fail;
2386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGDIObject, SWIG_POINTER_EXCEPTION | 0);
2387 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2388 {
2389 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2390 result = (bool)(arg1)->GetVisible();
d14a1e28
RD
2391
2392 wxPyEndAllowThreads(__tstate);
2393 if (PyErr_Occurred()) SWIG_fail;
2394 }
4f89f6a3
RD
2395 {
2396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2397 }
d14a1e28
RD
2398 return resultobj;
2399 fail:
2400 return NULL;
2401}
2402
2403
093d3ff1 2404static PyObject *_wrap_GDIObject_SetVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2405 PyObject *resultobj = NULL;
093d3ff1
RD
2406 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
2407 bool arg2 ;
c9c7117a 2408 PyObject * obj0 = 0 ;
093d3ff1 2409 PyObject * obj1 = 0 ;
c9c7117a 2410 char *kwnames[] = {
093d3ff1 2411 (char *) "self",(char *) "visible", NULL
c9c7117a
RD
2412 };
2413
093d3ff1
RD
2414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GDIObject_SetVisible",kwnames,&obj0,&obj1)) goto fail;
2415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGDIObject, SWIG_POINTER_EXCEPTION | 0);
2416 if (SWIG_arg_fail(1)) SWIG_fail;
2417 {
32fe5131 2418 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
2419 if (SWIG_arg_fail(2)) SWIG_fail;
2420 }
c9c7117a
RD
2421 {
2422 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2423 (arg1)->SetVisible(arg2);
c9c7117a
RD
2424
2425 wxPyEndAllowThreads(__tstate);
2426 if (PyErr_Occurred()) SWIG_fail;
2427 }
093d3ff1 2428 Py_INCREF(Py_None); resultobj = Py_None;
c9c7117a
RD
2429 return resultobj;
2430 fail:
c9c7117a
RD
2431 return NULL;
2432}
2433
2434
093d3ff1 2435static PyObject *_wrap_GDIObject_IsNull(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2436 PyObject *resultobj = NULL;
093d3ff1
RD
2437 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
2438 bool result;
d14a1e28
RD
2439 PyObject * obj0 = 0 ;
2440 char *kwnames[] = {
2441 (char *) "self", NULL
2442 };
2443
093d3ff1
RD
2444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GDIObject_IsNull",kwnames,&obj0)) goto fail;
2445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGDIObject, SWIG_POINTER_EXCEPTION | 0);
2446 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2447 {
2448 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2449 result = (bool)(arg1)->IsNull();
d14a1e28
RD
2450
2451 wxPyEndAllowThreads(__tstate);
2452 if (PyErr_Occurred()) SWIG_fail;
2453 }
093d3ff1
RD
2454 {
2455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2456 }
d14a1e28
RD
2457 return resultobj;
2458 fail:
2459 return NULL;
2460}
2461
2462
093d3ff1 2463static PyObject * GDIObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2464 PyObject *obj;
2465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
093d3ff1 2466 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject, obj);
d14a1e28
RD
2467 Py_INCREF(obj);
2468 return Py_BuildValue((char *)"");
2469}
093d3ff1 2470static PyObject *_wrap_new_Colour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2471 PyObject *resultobj = NULL;
093d3ff1
RD
2472 byte arg1 = (byte) 0 ;
2473 byte arg2 = (byte) 0 ;
2474 byte arg3 = (byte) 0 ;
2475 wxColour *result;
994141e6 2476 PyObject * obj0 = 0 ;
d14a1e28
RD
2477 PyObject * obj1 = 0 ;
2478 PyObject * obj2 = 0 ;
d14a1e28 2479 char *kwnames[] = {
093d3ff1 2480 (char *) "red",(char *) "green",(char *) "blue", NULL
d14a1e28
RD
2481 };
2482
093d3ff1
RD
2483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_Colour",kwnames,&obj0,&obj1,&obj2)) goto fail;
2484 if (obj0) {
2485 {
32fe5131 2486 arg1 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj0));
093d3ff1
RD
2487 if (SWIG_arg_fail(1)) SWIG_fail;
2488 }
2489 }
2490 if (obj1) {
2491 {
32fe5131 2492 arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
093d3ff1
RD
2493 if (SWIG_arg_fail(2)) SWIG_fail;
2494 }
2495 }
2496 if (obj2) {
2497 {
32fe5131 2498 arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
093d3ff1
RD
2499 if (SWIG_arg_fail(3)) SWIG_fail;
2500 }
2501 }
d14a1e28
RD
2502 {
2503 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2504 result = (wxColour *)new wxColour(arg1,arg2,arg3);
d14a1e28
RD
2505
2506 wxPyEndAllowThreads(__tstate);
110da5b0 2507 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2508 }
093d3ff1 2509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
2510 return resultobj;
2511 fail:
2512 return NULL;
2513}
2514
2515
093d3ff1 2516static PyObject *_wrap_new_NamedColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2517 PyObject *resultobj = NULL;
093d3ff1
RD
2518 wxString *arg1 = 0 ;
2519 wxColour *result;
2520 bool temp1 = false ;
d14a1e28
RD
2521 PyObject * obj0 = 0 ;
2522 char *kwnames[] = {
093d3ff1 2523 (char *) "colorName", NULL
d14a1e28
RD
2524 };
2525
093d3ff1
RD
2526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NamedColour",kwnames,&obj0)) goto fail;
2527 {
2528 arg1 = wxString_in_helper(obj0);
2529 if (arg1 == NULL) SWIG_fail;
2530 temp1 = true;
2531 }
d14a1e28 2532 {
093d3ff1 2533 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 2534 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2535 result = (wxColour *)new wxColour((wxString const &)*arg1);
d14a1e28
RD
2536
2537 wxPyEndAllowThreads(__tstate);
2538 if (PyErr_Occurred()) SWIG_fail;
2539 }
093d3ff1
RD
2540 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 1);
2541 {
2542 if (temp1)
2543 delete arg1;
2544 }
d14a1e28
RD
2545 return resultobj;
2546 fail:
093d3ff1
RD
2547 {
2548 if (temp1)
2549 delete arg1;
2550 }
d14a1e28
RD
2551 return NULL;
2552}
2553
2554
093d3ff1 2555static PyObject *_wrap_new_ColourRGB(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2556 PyObject *resultobj = NULL;
093d3ff1
RD
2557 unsigned long arg1 ;
2558 wxColour *result;
d14a1e28 2559 PyObject * obj0 = 0 ;
d14a1e28 2560 char *kwnames[] = {
093d3ff1 2561 (char *) "colRGB", NULL
d14a1e28
RD
2562 };
2563
093d3ff1
RD
2564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ColourRGB",kwnames,&obj0)) goto fail;
2565 {
32fe5131 2566 arg1 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0));
093d3ff1
RD
2567 if (SWIG_arg_fail(1)) SWIG_fail;
2568 }
d14a1e28
RD
2569 {
2570 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2571 result = (wxColour *)new wxColour(arg1);
d14a1e28
RD
2572
2573 wxPyEndAllowThreads(__tstate);
2574 if (PyErr_Occurred()) SWIG_fail;
2575 }
093d3ff1 2576 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
2577 return resultobj;
2578 fail:
2579 return NULL;
2580}
2581
2582
093d3ff1 2583static PyObject *_wrap_delete_Colour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2584 PyObject *resultobj = NULL;
093d3ff1 2585 wxColour *arg1 = (wxColour *) 0 ;
d14a1e28
RD
2586 PyObject * obj0 = 0 ;
2587 char *kwnames[] = {
093d3ff1 2588 (char *) "self", NULL
d14a1e28
RD
2589 };
2590
093d3ff1
RD
2591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Colour",kwnames,&obj0)) goto fail;
2592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2593 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2594 {
2595 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2596 delete arg1;
d14a1e28
RD
2597
2598 wxPyEndAllowThreads(__tstate);
2599 if (PyErr_Occurred()) SWIG_fail;
2600 }
093d3ff1 2601 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
2602 return resultobj;
2603 fail:
2604 return NULL;
2605}
2606
2607
093d3ff1 2608static PyObject *_wrap_Colour_Red(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2609 PyObject *resultobj = NULL;
093d3ff1
RD
2610 wxColour *arg1 = (wxColour *) 0 ;
2611 byte result;
5cbf236d
RD
2612 PyObject * obj0 = 0 ;
2613 char *kwnames[] = {
2614 (char *) "self", NULL
2615 };
2616
093d3ff1
RD
2617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Red",kwnames,&obj0)) goto fail;
2618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2619 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
2620 {
2621 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2622 result = (byte)(arg1)->Red();
5cbf236d
RD
2623
2624 wxPyEndAllowThreads(__tstate);
2625 if (PyErr_Occurred()) SWIG_fail;
2626 }
093d3ff1 2627 {
32fe5131 2628 resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
093d3ff1 2629 }
5cbf236d
RD
2630 return resultobj;
2631 fail:
2632 return NULL;
2633}
2634
2635
093d3ff1 2636static PyObject *_wrap_Colour_Green(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2637 PyObject *resultobj = NULL;
093d3ff1
RD
2638 wxColour *arg1 = (wxColour *) 0 ;
2639 byte result;
d14a1e28
RD
2640 PyObject * obj0 = 0 ;
2641 char *kwnames[] = {
2642 (char *) "self", NULL
2643 };
2644
093d3ff1
RD
2645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Green",kwnames,&obj0)) goto fail;
2646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2647 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2648 {
2649 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2650 result = (byte)(arg1)->Green();
d14a1e28
RD
2651
2652 wxPyEndAllowThreads(__tstate);
2653 if (PyErr_Occurred()) SWIG_fail;
2654 }
4f89f6a3 2655 {
32fe5131 2656 resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
4f89f6a3 2657 }
d14a1e28
RD
2658 return resultobj;
2659 fail:
2660 return NULL;
2661}
2662
2663
093d3ff1 2664static PyObject *_wrap_Colour_Blue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2665 PyObject *resultobj = NULL;
093d3ff1
RD
2666 wxColour *arg1 = (wxColour *) 0 ;
2667 byte result;
d14a1e28
RD
2668 PyObject * obj0 = 0 ;
2669 char *kwnames[] = {
093d3ff1 2670 (char *) "self", NULL
d14a1e28
RD
2671 };
2672
093d3ff1
RD
2673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Blue",kwnames,&obj0)) goto fail;
2674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2675 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2676 {
2677 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2678 result = (byte)(arg1)->Blue();
d14a1e28
RD
2679
2680 wxPyEndAllowThreads(__tstate);
110da5b0 2681 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2682 }
093d3ff1 2683 {
32fe5131 2684 resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
093d3ff1 2685 }
d14a1e28
RD
2686 return resultobj;
2687 fail:
2688 return NULL;
2689}
2690
2691
093d3ff1 2692static PyObject *_wrap_Colour_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2693 PyObject *resultobj = NULL;
093d3ff1
RD
2694 wxColour *arg1 = (wxColour *) 0 ;
2695 bool result;
d14a1e28
RD
2696 PyObject * obj0 = 0 ;
2697 char *kwnames[] = {
2698 (char *) "self", NULL
2699 };
2700
093d3ff1
RD
2701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Ok",kwnames,&obj0)) goto fail;
2702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2703 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2704 {
2705 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2706 result = (bool)(arg1)->Ok();
d14a1e28
RD
2707
2708 wxPyEndAllowThreads(__tstate);
2709 if (PyErr_Occurred()) SWIG_fail;
2710 }
093d3ff1
RD
2711 {
2712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2713 }
d14a1e28
RD
2714 return resultobj;
2715 fail:
2716 return NULL;
2717}
2718
2719
093d3ff1 2720static PyObject *_wrap_Colour_Set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2721 PyObject *resultobj = NULL;
093d3ff1
RD
2722 wxColour *arg1 = (wxColour *) 0 ;
2723 byte arg2 ;
2724 byte arg3 ;
2725 byte arg4 ;
d14a1e28 2726 PyObject * obj0 = 0 ;
093d3ff1
RD
2727 PyObject * obj1 = 0 ;
2728 PyObject * obj2 = 0 ;
2729 PyObject * obj3 = 0 ;
d14a1e28 2730 char *kwnames[] = {
093d3ff1 2731 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
d14a1e28
RD
2732 };
2733
093d3ff1
RD
2734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Colour_Set",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2736 if (SWIG_arg_fail(1)) SWIG_fail;
2737 {
32fe5131 2738 arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
093d3ff1
RD
2739 if (SWIG_arg_fail(2)) SWIG_fail;
2740 }
2741 {
32fe5131 2742 arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
093d3ff1
RD
2743 if (SWIG_arg_fail(3)) SWIG_fail;
2744 }
2745 {
32fe5131 2746 arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
093d3ff1
RD
2747 if (SWIG_arg_fail(4)) SWIG_fail;
2748 }
d14a1e28
RD
2749 {
2750 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2751 (arg1)->Set(arg2,arg3,arg4);
d14a1e28
RD
2752
2753 wxPyEndAllowThreads(__tstate);
2754 if (PyErr_Occurred()) SWIG_fail;
2755 }
093d3ff1 2756 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
2757 return resultobj;
2758 fail:
2759 return NULL;
2760}
2761
2762
093d3ff1 2763static PyObject *_wrap_Colour_SetRGB(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2764 PyObject *resultobj = NULL;
093d3ff1
RD
2765 wxColour *arg1 = (wxColour *) 0 ;
2766 unsigned long arg2 ;
d14a1e28 2767 PyObject * obj0 = 0 ;
093d3ff1 2768 PyObject * obj1 = 0 ;
d14a1e28 2769 char *kwnames[] = {
093d3ff1 2770 (char *) "self",(char *) "colRGB", NULL
d14a1e28
RD
2771 };
2772
093d3ff1
RD
2773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour_SetRGB",kwnames,&obj0,&obj1)) goto fail;
2774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2775 if (SWIG_arg_fail(1)) SWIG_fail;
2776 {
32fe5131 2777 arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
2778 if (SWIG_arg_fail(2)) SWIG_fail;
2779 }
d14a1e28
RD
2780 {
2781 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2782 (arg1)->Set(arg2);
d14a1e28
RD
2783
2784 wxPyEndAllowThreads(__tstate);
2785 if (PyErr_Occurred()) SWIG_fail;
2786 }
093d3ff1 2787 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
2788 return resultobj;
2789 fail:
2790 return NULL;
2791}
2792
2793
093d3ff1 2794static PyObject *_wrap_Colour_SetFromName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2795 PyObject *resultobj = NULL;
093d3ff1
RD
2796 wxColour *arg1 = (wxColour *) 0 ;
2797 wxString *arg2 = 0 ;
2798 bool temp2 = false ;
d14a1e28 2799 PyObject * obj0 = 0 ;
093d3ff1 2800 PyObject * obj1 = 0 ;
d14a1e28 2801 char *kwnames[] = {
093d3ff1 2802 (char *) "self",(char *) "colourName", NULL
d14a1e28
RD
2803 };
2804
093d3ff1
RD
2805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour_SetFromName",kwnames,&obj0,&obj1)) goto fail;
2806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2807 if (SWIG_arg_fail(1)) SWIG_fail;
2808 {
2809 arg2 = wxString_in_helper(obj1);
2810 if (arg2 == NULL) SWIG_fail;
2811 temp2 = true;
2812 }
d14a1e28
RD
2813 {
2814 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2815 (arg1)->InitFromName((wxString const &)*arg2);
d14a1e28
RD
2816
2817 wxPyEndAllowThreads(__tstate);
2818 if (PyErr_Occurred()) SWIG_fail;
2819 }
093d3ff1
RD
2820 Py_INCREF(Py_None); resultobj = Py_None;
2821 {
2822 if (temp2)
2823 delete arg2;
2824 }
d14a1e28
RD
2825 return resultobj;
2826 fail:
093d3ff1
RD
2827 {
2828 if (temp2)
2829 delete arg2;
2830 }
d14a1e28
RD
2831 return NULL;
2832}
2833
2834
093d3ff1 2835static PyObject *_wrap_Colour_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2836 PyObject *resultobj = NULL;
093d3ff1
RD
2837 wxColour *arg1 = (wxColour *) 0 ;
2838 long result;
d14a1e28
RD
2839 PyObject * obj0 = 0 ;
2840 char *kwnames[] = {
2841 (char *) "self", NULL
2842 };
2843
093d3ff1
RD
2844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_GetPixel",kwnames,&obj0)) goto fail;
2845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2846 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2847 {
2848 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2849 result = (long)((wxColour const *)arg1)->GetPixel();
d14a1e28
RD
2850
2851 wxPyEndAllowThreads(__tstate);
2852 if (PyErr_Occurred()) SWIG_fail;
2853 }
093d3ff1 2854 {
32fe5131 2855 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 2856 }
d14a1e28
RD
2857 return resultobj;
2858 fail:
2859 return NULL;
2860}
2861
2862
093d3ff1 2863static PyObject *_wrap_Colour___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2864 PyObject *resultobj = NULL;
093d3ff1
RD
2865 wxColour *arg1 = (wxColour *) 0 ;
2866 wxColour *arg2 = 0 ;
2867 bool result;
2868 wxColour temp2 ;
d14a1e28 2869 PyObject * obj0 = 0 ;
093d3ff1 2870 PyObject * obj1 = 0 ;
d14a1e28 2871 char *kwnames[] = {
093d3ff1 2872 (char *) "self",(char *) "colour", NULL
d14a1e28
RD
2873 };
2874
093d3ff1
RD
2875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour___eq__",kwnames,&obj0,&obj1)) goto fail;
2876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2877 if (SWIG_arg_fail(1)) SWIG_fail;
2878 {
2879 arg2 = &temp2;
2880 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2881 }
d14a1e28
RD
2882 {
2883 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2884 result = (bool)((wxColour const *)arg1)->operator ==((wxColour const &)*arg2);
d14a1e28
RD
2885
2886 wxPyEndAllowThreads(__tstate);
2887 if (PyErr_Occurred()) SWIG_fail;
2888 }
093d3ff1
RD
2889 {
2890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2891 }
d14a1e28
RD
2892 return resultobj;
2893 fail:
2894 return NULL;
2895}
2896
2897
093d3ff1 2898static PyObject *_wrap_Colour___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2899 PyObject *resultobj = NULL;
093d3ff1
RD
2900 wxColour *arg1 = (wxColour *) 0 ;
2901 wxColour *arg2 = 0 ;
d14a1e28 2902 bool result;
093d3ff1 2903 wxColour temp2 ;
d14a1e28 2904 PyObject * obj0 = 0 ;
093d3ff1 2905 PyObject * obj1 = 0 ;
d14a1e28 2906 char *kwnames[] = {
093d3ff1 2907 (char *) "self",(char *) "colour", NULL
d14a1e28
RD
2908 };
2909
093d3ff1
RD
2910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour___ne__",kwnames,&obj0,&obj1)) goto fail;
2911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2912 if (SWIG_arg_fail(1)) SWIG_fail;
2913 {
2914 arg2 = &temp2;
2915 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2916 }
d14a1e28
RD
2917 {
2918 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2919 result = (bool)((wxColour const *)arg1)->operator !=((wxColour const &)*arg2);
d14a1e28
RD
2920
2921 wxPyEndAllowThreads(__tstate);
2922 if (PyErr_Occurred()) SWIG_fail;
2923 }
4f89f6a3
RD
2924 {
2925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2926 }
d14a1e28
RD
2927 return resultobj;
2928 fail:
2929 return NULL;
2930}
2931
2932
093d3ff1 2933static PyObject *_wrap_Colour_Get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2934 PyObject *resultobj = NULL;
093d3ff1
RD
2935 wxColour *arg1 = (wxColour *) 0 ;
2936 PyObject *result;
d14a1e28
RD
2937 PyObject * obj0 = 0 ;
2938 char *kwnames[] = {
093d3ff1 2939 (char *) "self", NULL
d14a1e28
RD
2940 };
2941
093d3ff1
RD
2942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Get",kwnames,&obj0)) goto fail;
2943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2944 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2945 {
2946 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2947 result = (PyObject *)wxColour_Get(arg1);
d14a1e28
RD
2948
2949 wxPyEndAllowThreads(__tstate);
2950 if (PyErr_Occurred()) SWIG_fail;
2951 }
093d3ff1 2952 resultobj = result;
d14a1e28
RD
2953 return resultobj;
2954 fail:
2955 return NULL;
2956}
2957
2958
093d3ff1 2959static PyObject *_wrap_Colour_GetRGB(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2960 PyObject *resultobj = NULL;
093d3ff1
RD
2961 wxColour *arg1 = (wxColour *) 0 ;
2962 unsigned long result;
d14a1e28 2963 PyObject * obj0 = 0 ;
d14a1e28 2964 char *kwnames[] = {
093d3ff1 2965 (char *) "self", NULL
d14a1e28
RD
2966 };
2967
093d3ff1
RD
2968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_GetRGB",kwnames,&obj0)) goto fail;
2969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2970 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2971 {
2972 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2973 result = (unsigned long)wxColour_GetRGB(arg1);
d14a1e28
RD
2974
2975 wxPyEndAllowThreads(__tstate);
2976 if (PyErr_Occurred()) SWIG_fail;
2977 }
093d3ff1 2978 {
32fe5131 2979 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 2980 }
d14a1e28
RD
2981 return resultobj;
2982 fail:
2983 return NULL;
2984}
2985
2986
093d3ff1
RD
2987static PyObject * Colour_swigregister(PyObject *, PyObject *args) {
2988 PyObject *obj;
2989 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2990 SWIG_TypeClientData(SWIGTYPE_p_wxColour, obj);
2991 Py_INCREF(obj);
2992 return Py_BuildValue((char *)"");
2993}
2994static PyObject *_wrap_new_Palette(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2995 PyObject *resultobj = NULL;
093d3ff1
RD
2996 int arg1 ;
2997 unsigned char *arg2 = (unsigned char *) 0 ;
2998 unsigned char *arg3 = (unsigned char *) 0 ;
2999 unsigned char *arg4 = (unsigned char *) 0 ;
3000 wxPalette *result;
d14a1e28 3001 PyObject * obj0 = 0 ;
994141e6 3002 PyObject * obj1 = 0 ;
093d3ff1
RD
3003 PyObject * obj2 = 0 ;
3004 PyObject * obj3 = 0 ;
d14a1e28 3005 char *kwnames[] = {
093d3ff1 3006 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
d14a1e28
RD
3007 };
3008
093d3ff1
RD
3009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_Palette",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3010 {
32fe5131 3011 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
3012 if (SWIG_arg_fail(1)) SWIG_fail;
3013 }
3014 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_unsigned_char, SWIG_POINTER_EXCEPTION | 0);
3015 if (SWIG_arg_fail(2)) SWIG_fail;
3016 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_unsigned_char, SWIG_POINTER_EXCEPTION | 0);
3017 if (SWIG_arg_fail(3)) SWIG_fail;
3018 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_unsigned_char, SWIG_POINTER_EXCEPTION | 0);
3019 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28 3020 {
093d3ff1 3021 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 3022 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3023 result = (wxPalette *)new wxPalette(arg1,(unsigned char const *)arg2,(unsigned char const *)arg3,(unsigned char const *)arg4);
d14a1e28
RD
3024
3025 wxPyEndAllowThreads(__tstate);
3026 if (PyErr_Occurred()) SWIG_fail;
3027 }
093d3ff1 3028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPalette, 1);
d14a1e28
RD
3029 return resultobj;
3030 fail:
3031 return NULL;
3032}
3033
3034
093d3ff1 3035static PyObject *_wrap_delete_Palette(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3036 PyObject *resultobj = NULL;
093d3ff1 3037 wxPalette *arg1 = (wxPalette *) 0 ;
d14a1e28
RD
3038 PyObject * obj0 = 0 ;
3039 char *kwnames[] = {
093d3ff1 3040 (char *) "self", NULL
d14a1e28
RD
3041 };
3042
093d3ff1
RD
3043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Palette",kwnames,&obj0)) goto fail;
3044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPalette, SWIG_POINTER_EXCEPTION | 0);
3045 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3046 {
3047 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3048 delete arg1;
d14a1e28
RD
3049
3050 wxPyEndAllowThreads(__tstate);
3051 if (PyErr_Occurred()) SWIG_fail;
3052 }
3053 Py_INCREF(Py_None); resultobj = Py_None;
3054 return resultobj;
3055 fail:
3056 return NULL;
3057}
3058
3059
093d3ff1 3060static PyObject *_wrap_Palette_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3061 PyObject *resultobj = NULL;
093d3ff1
RD
3062 wxPalette *arg1 = (wxPalette *) 0 ;
3063 byte arg2 ;
3064 byte arg3 ;
3065 byte arg4 ;
3066 int result;
d14a1e28 3067 PyObject * obj0 = 0 ;
994141e6 3068 PyObject * obj1 = 0 ;
093d3ff1
RD
3069 PyObject * obj2 = 0 ;
3070 PyObject * obj3 = 0 ;
d14a1e28 3071 char *kwnames[] = {
093d3ff1 3072 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
d14a1e28
RD
3073 };
3074
093d3ff1
RD
3075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Palette_GetPixel",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPalette, SWIG_POINTER_EXCEPTION | 0);
3077 if (SWIG_arg_fail(1)) SWIG_fail;
3078 {
32fe5131 3079 arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
093d3ff1
RD
3080 if (SWIG_arg_fail(2)) SWIG_fail;
3081 }
3082 {
32fe5131 3083 arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
093d3ff1
RD
3084 if (SWIG_arg_fail(3)) SWIG_fail;
3085 }
3086 {
32fe5131 3087 arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
093d3ff1
RD
3088 if (SWIG_arg_fail(4)) SWIG_fail;
3089 }
d14a1e28
RD
3090 {
3091 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3092 result = (int)(arg1)->GetPixel(arg2,arg3,arg4);
d14a1e28
RD
3093
3094 wxPyEndAllowThreads(__tstate);
3095 if (PyErr_Occurred()) SWIG_fail;
3096 }
093d3ff1 3097 {
32fe5131 3098 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 3099 }
d14a1e28
RD
3100 return resultobj;
3101 fail:
3102 return NULL;
3103}
3104
3105
093d3ff1 3106static PyObject *_wrap_Palette_GetRGB(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3107 PyObject *resultobj = NULL;
093d3ff1 3108 wxPalette *arg1 = (wxPalette *) 0 ;
d14a1e28 3109 int arg2 ;
093d3ff1
RD
3110 byte *arg3 = (byte *) 0 ;
3111 byte *arg4 = (byte *) 0 ;
3112 byte *arg5 = (byte *) 0 ;
3113 bool result;
3114 byte temp3 ;
3115 int res3 = 0 ;
3116 byte temp4 ;
3117 int res4 = 0 ;
3118 byte temp5 ;
3119 int res5 = 0 ;
d14a1e28
RD
3120 PyObject * obj0 = 0 ;
3121 PyObject * obj1 = 0 ;
3122 char *kwnames[] = {
093d3ff1 3123 (char *) "self",(char *) "pixel", NULL
d14a1e28
RD
3124 };
3125
093d3ff1
RD
3126 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3127 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3128 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Palette_GetRGB",kwnames,&obj0,&obj1)) goto fail;
3130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPalette, SWIG_POINTER_EXCEPTION | 0);
3131 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 3132 {
32fe5131 3133 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 3134 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3135 }
3136 {
3137 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3138 result = (bool)(arg1)->GetRGB(arg2,arg3,arg4,arg5);
d14a1e28
RD
3139
3140 wxPyEndAllowThreads(__tstate);
3141 if (PyErr_Occurred()) SWIG_fail;
3142 }
d14a1e28 3143 {
093d3ff1 3144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28 3145 }
093d3ff1
RD
3146 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3147 SWIG_From_unsigned_SS_char((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_char, 0)));
3148 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3149 SWIG_From_unsigned_SS_char((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_unsigned_char, 0)));
3150 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3151 SWIG_From_unsigned_SS_char((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_unsigned_char, 0)));
3adfb63b
RD
3152 return resultobj;
3153 fail:
3154 return NULL;
3155}
3156
3157
093d3ff1 3158static PyObject *_wrap_Palette_GetColoursCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3159 PyObject *resultobj = NULL;
093d3ff1 3160 wxPalette *arg1 = (wxPalette *) 0 ;
c9c7117a
RD
3161 int result;
3162 PyObject * obj0 = 0 ;
3163 char *kwnames[] = {
3164 (char *) "self", NULL
3165 };
3166
093d3ff1
RD
3167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Palette_GetColoursCount",kwnames,&obj0)) goto fail;
3168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPalette, SWIG_POINTER_EXCEPTION | 0);
3169 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3170 {
3171 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3172 result = (int)((wxPalette const *)arg1)->GetColoursCount();
d14a1e28
RD
3173
3174 wxPyEndAllowThreads(__tstate);
3175 if (PyErr_Occurred()) SWIG_fail;
3176 }
d14a1e28 3177 {
32fe5131 3178 resultobj = SWIG_From_int(static_cast<int >(result));
d14a1e28 3179 }
d14a1e28
RD
3180 return resultobj;
3181 fail:
3182 return NULL;
3183}
3184
3185
093d3ff1 3186static PyObject *_wrap_Palette_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3187 PyObject *resultobj = NULL;
093d3ff1 3188 wxPalette *arg1 = (wxPalette *) 0 ;
66c033b4 3189 bool result;
d14a1e28 3190 PyObject * obj0 = 0 ;
d14a1e28 3191 char *kwnames[] = {
093d3ff1 3192 (char *) "self", NULL
d14a1e28
RD
3193 };
3194
093d3ff1
RD
3195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Palette_Ok",kwnames,&obj0)) goto fail;
3196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPalette, SWIG_POINTER_EXCEPTION | 0);
3197 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3198 {
3199 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3200 result = (bool)(arg1)->Ok();
d14a1e28
RD
3201
3202 wxPyEndAllowThreads(__tstate);
3203 if (PyErr_Occurred()) SWIG_fail;
3204 }
d14a1e28 3205 {
66c033b4 3206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
3207 }
3208 return resultobj;
3209 fail:
d14a1e28
RD
3210 return NULL;
3211}
3212
3213
093d3ff1 3214static PyObject * Palette_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3215 PyObject *obj;
3216 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
093d3ff1 3217 SWIG_TypeClientData(SWIGTYPE_p_wxPalette, obj);
d14a1e28
RD
3218 Py_INCREF(obj);
3219 return Py_BuildValue((char *)"");
3220}
093d3ff1 3221static PyObject *_wrap_new_Pen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3222 PyObject *resultobj = NULL;
d14a1e28 3223 wxColour *arg1 = 0 ;
093d3ff1
RD
3224 int arg2 = (int) 1 ;
3225 int arg3 = (int) wxSOLID ;
3226 wxPen *result;
d14a1e28
RD
3227 wxColour temp1 ;
3228 PyObject * obj0 = 0 ;
994141e6 3229 PyObject * obj1 = 0 ;
093d3ff1 3230 PyObject * obj2 = 0 ;
d14a1e28 3231 char *kwnames[] = {
093d3ff1 3232 (char *) "colour",(char *) "width",(char *) "style", NULL
d14a1e28
RD
3233 };
3234
093d3ff1 3235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Pen",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
3236 {
3237 arg1 = &temp1;
3238 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
3239 }
994141e6 3240 if (obj1) {
093d3ff1 3241 {
32fe5131 3242 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3243 if (SWIG_arg_fail(2)) SWIG_fail;
3244 }
3245 }
3246 if (obj2) {
3247 {
32fe5131 3248 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
3249 if (SWIG_arg_fail(3)) SWIG_fail;
3250 }
994141e6 3251 }
d14a1e28 3252 {
e3b71cb8 3253 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 3254 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3255 result = (wxPen *)new wxPen(*arg1,arg2,arg3);
d14a1e28
RD
3256
3257 wxPyEndAllowThreads(__tstate);
110da5b0 3258 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3259 }
093d3ff1 3260 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 1);
d14a1e28
RD
3261 return resultobj;
3262 fail:
3263 return NULL;
3264}
3265
3266
093d3ff1 3267static PyObject *_wrap_delete_Pen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3268 PyObject *resultobj = NULL;
093d3ff1 3269 wxPen *arg1 = (wxPen *) 0 ;
d14a1e28
RD
3270 PyObject * obj0 = 0 ;
3271 char *kwnames[] = {
3272 (char *) "self", NULL
3273 };
3274
093d3ff1
RD
3275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Pen",kwnames,&obj0)) goto fail;
3276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3277 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3278 {
3279 PyThreadState* __tstate = wxPyBeginAllowThreads();
3280 delete arg1;
3281
3282 wxPyEndAllowThreads(__tstate);
3283 if (PyErr_Occurred()) SWIG_fail;
3284 }
3285 Py_INCREF(Py_None); resultobj = Py_None;
3286 return resultobj;
3287 fail:
3288 return NULL;
3289}
3290
3291
093d3ff1 3292static PyObject *_wrap_Pen_GetCap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3293 PyObject *resultobj = NULL;
093d3ff1
RD
3294 wxPen *arg1 = (wxPen *) 0 ;
3295 int result;
d14a1e28 3296 PyObject * obj0 = 0 ;
d14a1e28 3297 char *kwnames[] = {
093d3ff1 3298 (char *) "self", NULL
d14a1e28
RD
3299 };
3300
093d3ff1
RD
3301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetCap",kwnames,&obj0)) goto fail;
3302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3303 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3304 {
3305 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3306 result = (int)(arg1)->GetCap();
d14a1e28
RD
3307
3308 wxPyEndAllowThreads(__tstate);
3309 if (PyErr_Occurred()) SWIG_fail;
3310 }
093d3ff1 3311 {
32fe5131 3312 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 3313 }
d14a1e28
RD
3314 return resultobj;
3315 fail:
3316 return NULL;
3317}
3318
3319
093d3ff1 3320static PyObject *_wrap_Pen_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3321 PyObject *resultobj = NULL;
093d3ff1
RD
3322 wxPen *arg1 = (wxPen *) 0 ;
3323 wxColour result;
d14a1e28
RD
3324 PyObject * obj0 = 0 ;
3325 char *kwnames[] = {
093d3ff1 3326 (char *) "self", NULL
d14a1e28
RD
3327 };
3328
093d3ff1
RD
3329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetColour",kwnames,&obj0)) goto fail;
3330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3331 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3332 {
3333 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3334 result = (arg1)->GetColour();
d14a1e28
RD
3335
3336 wxPyEndAllowThreads(__tstate);
3337 if (PyErr_Occurred()) SWIG_fail;
3338 }
093d3ff1
RD
3339 {
3340 wxColour * resultptr;
32fe5131 3341 resultptr = new wxColour(static_cast<wxColour & >(result));
093d3ff1
RD
3342 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3343 }
d14a1e28
RD
3344 return resultobj;
3345 fail:
3346 return NULL;
3347}
3348
3349
093d3ff1 3350static PyObject *_wrap_Pen_GetJoin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3351 PyObject *resultobj = NULL;
093d3ff1
RD
3352 wxPen *arg1 = (wxPen *) 0 ;
3353 int result;
d14a1e28 3354 PyObject * obj0 = 0 ;
d14a1e28 3355 char *kwnames[] = {
093d3ff1 3356 (char *) "self", NULL
d14a1e28
RD
3357 };
3358
093d3ff1
RD
3359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetJoin",kwnames,&obj0)) goto fail;
3360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3361 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3362 {
3363 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3364 result = (int)(arg1)->GetJoin();
d14a1e28
RD
3365
3366 wxPyEndAllowThreads(__tstate);
3367 if (PyErr_Occurred()) SWIG_fail;
3368 }
093d3ff1 3369 {
32fe5131 3370 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 3371 }
d14a1e28
RD
3372 return resultobj;
3373 fail:
3374 return NULL;
3375}
3376
3377
093d3ff1 3378static PyObject *_wrap_Pen_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3379 PyObject *resultobj = NULL;
093d3ff1
RD
3380 wxPen *arg1 = (wxPen *) 0 ;
3381 int result;
d14a1e28
RD
3382 PyObject * obj0 = 0 ;
3383 char *kwnames[] = {
3384 (char *) "self", NULL
3385 };
3386
093d3ff1
RD
3387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetStyle",kwnames,&obj0)) goto fail;
3388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3389 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3390 {
3391 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3392 result = (int)(arg1)->GetStyle();
d14a1e28
RD
3393
3394 wxPyEndAllowThreads(__tstate);
3395 if (PyErr_Occurred()) SWIG_fail;
3396 }
3397 {
32fe5131 3398 resultobj = SWIG_From_int(static_cast<int >(result));
d14a1e28
RD
3399 }
3400 return resultobj;
3401 fail:
3402 return NULL;
3403}
3404
3405
093d3ff1 3406static PyObject *_wrap_Pen_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3407 PyObject *resultobj = NULL;
093d3ff1 3408 wxPen *arg1 = (wxPen *) 0 ;
d14a1e28
RD
3409 int result;
3410 PyObject * obj0 = 0 ;
3411 char *kwnames[] = {
3412 (char *) "self", NULL
3413 };
3414
093d3ff1
RD
3415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetWidth",kwnames,&obj0)) goto fail;
3416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3417 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3418 {
3419 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3420 result = (int)(arg1)->GetWidth();
d14a1e28
RD
3421
3422 wxPyEndAllowThreads(__tstate);
3423 if (PyErr_Occurred()) SWIG_fail;
3424 }
093d3ff1 3425 {
32fe5131 3426 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 3427 }
d14a1e28
RD
3428 return resultobj;
3429 fail:
3430 return NULL;
3431}
3432
3433
093d3ff1 3434static PyObject *_wrap_Pen_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3435 PyObject *resultobj = NULL;
093d3ff1
RD
3436 wxPen *arg1 = (wxPen *) 0 ;
3437 bool result;
d14a1e28
RD
3438 PyObject * obj0 = 0 ;
3439 char *kwnames[] = {
3440 (char *) "self", NULL
3441 };
3442
093d3ff1
RD
3443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_Ok",kwnames,&obj0)) goto fail;
3444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3445 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3446 {
3447 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3448 result = (bool)(arg1)->Ok();
d14a1e28
RD
3449
3450 wxPyEndAllowThreads(__tstate);
3451 if (PyErr_Occurred()) SWIG_fail;
3452 }
093d3ff1
RD
3453 {
3454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3455 }
d14a1e28
RD
3456 return resultobj;
3457 fail:
3458 return NULL;
3459}
3460
3461
093d3ff1 3462static PyObject *_wrap_Pen_SetCap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3463 PyObject *resultobj = NULL;
093d3ff1
RD
3464 wxPen *arg1 = (wxPen *) 0 ;
3465 int arg2 ;
f78cc896 3466 PyObject * obj0 = 0 ;
093d3ff1 3467 PyObject * obj1 = 0 ;
f78cc896 3468 char *kwnames[] = {
093d3ff1 3469 (char *) "self",(char *) "cap_style", NULL
f78cc896
RD
3470 };
3471
093d3ff1
RD
3472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetCap",kwnames,&obj0,&obj1)) goto fail;
3473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3474 if (SWIG_arg_fail(1)) SWIG_fail;
3475 {
32fe5131 3476 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3477 if (SWIG_arg_fail(2)) SWIG_fail;
3478 }
f78cc896
RD
3479 {
3480 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3481 (arg1)->SetCap(arg2);
f78cc896
RD
3482
3483 wxPyEndAllowThreads(__tstate);
3484 if (PyErr_Occurred()) SWIG_fail;
3485 }
093d3ff1 3486 Py_INCREF(Py_None); resultobj = Py_None;
f78cc896
RD
3487 return resultobj;
3488 fail:
3489 return NULL;
3490}
3491
3492
093d3ff1 3493static PyObject *_wrap_Pen_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3494 PyObject *resultobj = NULL;
093d3ff1
RD
3495 wxPen *arg1 = (wxPen *) 0 ;
3496 wxColour *arg2 = 0 ;
3497 wxColour temp2 ;
d14a1e28 3498 PyObject * obj0 = 0 ;
093d3ff1 3499 PyObject * obj1 = 0 ;
d14a1e28 3500 char *kwnames[] = {
093d3ff1 3501 (char *) "self",(char *) "colour", NULL
d14a1e28
RD
3502 };
3503
093d3ff1
RD
3504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetColour",kwnames,&obj0,&obj1)) goto fail;
3505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3506 if (SWIG_arg_fail(1)) SWIG_fail;
3507 {
3508 arg2 = &temp2;
3509 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3510 }
d14a1e28
RD
3511 {
3512 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3513 (arg1)->SetColour(*arg2);
d14a1e28
RD
3514
3515 wxPyEndAllowThreads(__tstate);
3516 if (PyErr_Occurred()) SWIG_fail;
3517 }
093d3ff1 3518 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
3519 return resultobj;
3520 fail:
3521 return NULL;
3522}
3523
3524
093d3ff1 3525static PyObject *_wrap_Pen_SetJoin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3526 PyObject *resultobj = NULL;
093d3ff1
RD
3527 wxPen *arg1 = (wxPen *) 0 ;
3528 int arg2 ;
d14a1e28 3529 PyObject * obj0 = 0 ;
994141e6 3530 PyObject * obj1 = 0 ;
d14a1e28 3531 char *kwnames[] = {
093d3ff1 3532 (char *) "self",(char *) "join_style", NULL
d14a1e28
RD
3533 };
3534
093d3ff1
RD
3535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetJoin",kwnames,&obj0,&obj1)) goto fail;
3536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3537 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 3538 {
32fe5131 3539 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 3540 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 3541 }
d14a1e28
RD
3542 {
3543 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3544 (arg1)->SetJoin(arg2);
d14a1e28
RD
3545
3546 wxPyEndAllowThreads(__tstate);
110da5b0 3547 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3548 }
093d3ff1 3549 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
3550 return resultobj;
3551 fail:
d14a1e28
RD
3552 return NULL;
3553}
3554
3555
093d3ff1 3556static PyObject *_wrap_Pen_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3557 PyObject *resultobj = NULL;
093d3ff1
RD
3558 wxPen *arg1 = (wxPen *) 0 ;
3559 int arg2 ;
d14a1e28 3560 PyObject * obj0 = 0 ;
093d3ff1 3561 PyObject * obj1 = 0 ;
d14a1e28 3562 char *kwnames[] = {
093d3ff1 3563 (char *) "self",(char *) "style", NULL
d14a1e28
RD
3564 };
3565
093d3ff1
RD
3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetStyle",kwnames,&obj0,&obj1)) goto fail;
3567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3568 if (SWIG_arg_fail(1)) SWIG_fail;
3569 {
32fe5131 3570 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3571 if (SWIG_arg_fail(2)) SWIG_fail;
3572 }
d14a1e28
RD
3573 {
3574 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3575 (arg1)->SetStyle(arg2);
d14a1e28
RD
3576
3577 wxPyEndAllowThreads(__tstate);
3578 if (PyErr_Occurred()) SWIG_fail;
3579 }
3580 Py_INCREF(Py_None); resultobj = Py_None;
3581 return resultobj;
3582 fail:
3583 return NULL;
3584}
3585
3586
093d3ff1 3587static PyObject *_wrap_Pen_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3588 PyObject *resultobj = NULL;
093d3ff1 3589 wxPen *arg1 = (wxPen *) 0 ;
66c033b4 3590 int arg2 ;
66c033b4
RD
3591 PyObject * obj0 = 0 ;
3592 PyObject * obj1 = 0 ;
66c033b4 3593 char *kwnames[] = {
093d3ff1 3594 (char *) "self",(char *) "width", NULL
66c033b4
RD
3595 };
3596
093d3ff1
RD
3597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetWidth",kwnames,&obj0,&obj1)) goto fail;
3598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3599 if (SWIG_arg_fail(1)) SWIG_fail;
3600 {
32fe5131 3601 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 3602 if (SWIG_arg_fail(2)) SWIG_fail;
66c033b4
RD
3603 }
3604 {
3605 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3606 (arg1)->SetWidth(arg2);
66c033b4
RD
3607
3608 wxPyEndAllowThreads(__tstate);
110da5b0 3609 if (PyErr_Occurred()) SWIG_fail;
66c033b4 3610 }
093d3ff1 3611 Py_INCREF(Py_None); resultobj = Py_None;
66c033b4
RD
3612 return resultobj;
3613 fail:
3614 return NULL;
3615}
3616
3617
093d3ff1 3618static PyObject *_wrap_Pen_SetDashes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3619 PyObject *resultobj = NULL;
093d3ff1
RD
3620 wxPen *arg1 = (wxPen *) 0 ;
3621 int arg2 ;
3622 wxDash *arg3 = (wxDash *) 0 ;
d14a1e28 3623 PyObject * obj0 = 0 ;
093d3ff1 3624 PyObject * obj1 = 0 ;
d14a1e28 3625 char *kwnames[] = {
093d3ff1 3626 (char *) "self",(char *) "dashes", NULL
d14a1e28
RD
3627 };
3628
093d3ff1
RD
3629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetDashes",kwnames,&obj0,&obj1)) goto fail;
3630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3631 if (SWIG_arg_fail(1)) SWIG_fail;
3632 {
3633 arg2 = PyList_Size(obj1);
3634 arg3 = (wxDash*)byte_LIST_helper(obj1);
3635 if (arg3 == NULL) SWIG_fail;
d14a1e28
RD
3636 }
3637 {
3638 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3639 (arg1)->SetDashes(arg2,arg3);
d14a1e28
RD
3640
3641 wxPyEndAllowThreads(__tstate);
110da5b0 3642 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3643 }
093d3ff1
RD
3644 Py_INCREF(Py_None); resultobj = Py_None;
3645 {
3646 if (arg3) delete [] arg3;
3647 }
d14a1e28
RD
3648 return resultobj;
3649 fail:
093d3ff1
RD
3650 {
3651 if (arg3) delete [] arg3;
3652 }
d14a1e28
RD
3653 return NULL;
3654}
3655
3656
093d3ff1 3657static PyObject *_wrap_Pen_GetDashes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3658 PyObject *resultobj = NULL;
093d3ff1
RD
3659 wxPen *arg1 = (wxPen *) 0 ;
3660 PyObject *result;
d14a1e28
RD
3661 PyObject * obj0 = 0 ;
3662 char *kwnames[] = {
093d3ff1 3663 (char *) "self", NULL
d14a1e28
RD
3664 };
3665
093d3ff1
RD
3666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetDashes",kwnames,&obj0)) goto fail;
3667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3668 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3669 {
3670 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3671 result = (PyObject *)wxPen_GetDashes(arg1);
d14a1e28
RD
3672
3673 wxPyEndAllowThreads(__tstate);
110da5b0 3674 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3675 }
093d3ff1 3676 resultobj = result;
d14a1e28
RD
3677 return resultobj;
3678 fail:
3679 return NULL;
3680}
3681
3682
093d3ff1 3683static PyObject *_wrap_Pen__SetDashes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3684 PyObject *resultobj = NULL;
093d3ff1
RD
3685 wxPen *arg1 = (wxPen *) 0 ;
3686 PyObject *arg2 = (PyObject *) 0 ;
3687 PyObject *arg3 = (PyObject *) 0 ;
d14a1e28 3688 PyObject * obj0 = 0 ;
093d3ff1
RD
3689 PyObject * obj1 = 0 ;
3690 PyObject * obj2 = 0 ;
d14a1e28 3691 char *kwnames[] = {
093d3ff1 3692 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
d14a1e28
RD
3693 };
3694
093d3ff1
RD
3695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Pen__SetDashes",kwnames,&obj0,&obj1,&obj2)) goto fail;
3696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3697 if (SWIG_arg_fail(1)) SWIG_fail;
3698 arg2 = obj1;
3699 arg3 = obj2;
d14a1e28
RD
3700 {
3701 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3702 wxPen__SetDashes(arg1,arg2,arg3);
d14a1e28
RD
3703
3704 wxPyEndAllowThreads(__tstate);
110da5b0 3705 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3706 }
093d3ff1 3707 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
3708 return resultobj;
3709 fail:
3710 return NULL;
3711}
3712
3713
093d3ff1 3714static PyObject *_wrap_Pen_GetDashCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3715 PyObject *resultobj = NULL;
093d3ff1
RD
3716 wxPen *arg1 = (wxPen *) 0 ;
3717 int result;
d14a1e28
RD
3718 PyObject * obj0 = 0 ;
3719 char *kwnames[] = {
093d3ff1 3720 (char *) "self", NULL
d14a1e28
RD
3721 };
3722
093d3ff1
RD
3723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetDashCount",kwnames,&obj0)) goto fail;
3724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3725 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3726 {
3727 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3728 result = (int)((wxPen const *)arg1)->GetDashCount();
d14a1e28
RD
3729
3730 wxPyEndAllowThreads(__tstate);
110da5b0 3731 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3732 }
093d3ff1 3733 {
32fe5131 3734 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 3735 }
d14a1e28
RD
3736 return resultobj;
3737 fail:
3738 return NULL;
3739}
3740
3741
093d3ff1 3742static PyObject *_wrap_Pen___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3743 PyObject *resultobj = NULL;
093d3ff1
RD
3744 wxPen *arg1 = (wxPen *) 0 ;
3745 wxPen *arg2 = (wxPen *) 0 ;
d14a1e28
RD
3746 bool result;
3747 PyObject * obj0 = 0 ;
093d3ff1 3748 PyObject * obj1 = 0 ;
d14a1e28 3749 char *kwnames[] = {
093d3ff1 3750 (char *) "self",(char *) "other", NULL
d14a1e28
RD
3751 };
3752
093d3ff1
RD
3753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen___eq__",kwnames,&obj0,&obj1)) goto fail;
3754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3755 if (SWIG_arg_fail(1)) SWIG_fail;
3756 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3757 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3758 {
3759 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3760 result = (bool)wxPen___eq__(arg1,(wxPen const *)arg2);
d14a1e28
RD
3761
3762 wxPyEndAllowThreads(__tstate);
3763 if (PyErr_Occurred()) SWIG_fail;
3764 }
4f89f6a3
RD
3765 {
3766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3767 }
d14a1e28
RD
3768 return resultobj;
3769 fail:
3770 return NULL;
3771}
3772
3773
093d3ff1 3774static PyObject *_wrap_Pen___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3775 PyObject *resultobj = NULL;
093d3ff1
RD
3776 wxPen *arg1 = (wxPen *) 0 ;
3777 wxPen *arg2 = (wxPen *) 0 ;
3778 bool result;
d14a1e28 3779 PyObject * obj0 = 0 ;
093d3ff1 3780 PyObject * obj1 = 0 ;
d14a1e28 3781 char *kwnames[] = {
093d3ff1 3782 (char *) "self",(char *) "other", NULL
d14a1e28
RD
3783 };
3784
093d3ff1
RD
3785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen___ne__",kwnames,&obj0,&obj1)) goto fail;
3786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3787 if (SWIG_arg_fail(1)) SWIG_fail;
3788 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3789 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3790 {
3791 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3792 result = (bool)wxPen___ne__(arg1,(wxPen const *)arg2);
d14a1e28
RD
3793
3794 wxPyEndAllowThreads(__tstate);
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
093d3ff1
RD
3797 {
3798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3799 }
d14a1e28
RD
3800 return resultobj;
3801 fail:
3802 return NULL;
3803}
3804
3805
093d3ff1
RD
3806static PyObject * Pen_swigregister(PyObject *, PyObject *args) {
3807 PyObject *obj;
3808 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3809 SWIG_TypeClientData(SWIGTYPE_p_wxPen, obj);
3810 Py_INCREF(obj);
3811 return Py_BuildValue((char *)"");
3812}
3813static PyObject *_wrap_new_Brush(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3814 PyObject *resultobj = NULL;
093d3ff1
RD
3815 wxColour *arg1 = 0 ;
3816 int arg2 = (int) wxSOLID ;
3817 wxBrush *result;
3818 wxColour temp1 ;
d14a1e28 3819 PyObject * obj0 = 0 ;
093d3ff1 3820 PyObject * obj1 = 0 ;
d14a1e28 3821 char *kwnames[] = {
093d3ff1 3822 (char *) "colour",(char *) "style", NULL
d14a1e28
RD
3823 };
3824
093d3ff1
RD
3825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Brush",kwnames,&obj0,&obj1)) goto fail;
3826 {
3827 arg1 = &temp1;
3828 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
3829 }
3830 if (obj1) {
3831 {
32fe5131 3832 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3833 if (SWIG_arg_fail(2)) SWIG_fail;
3834 }
3835 }
d14a1e28 3836 {
093d3ff1 3837 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 3838 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3839 result = (wxBrush *)new wxBrush((wxColour const &)*arg1,arg2);
d14a1e28
RD
3840
3841 wxPyEndAllowThreads(__tstate);
3842 if (PyErr_Occurred()) SWIG_fail;
3843 }
093d3ff1 3844 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 1);
d14a1e28
RD
3845 return resultobj;
3846 fail:
3847 return NULL;
3848}
3849
3850
d04418a7 3851static PyObject *_wrap_new_BrushFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3852 PyObject *resultobj = NULL;
d04418a7
RD
3853 wxBitmap *arg1 = 0 ;
3854 wxBrush *result;
3855 PyObject * obj0 = 0 ;
3856 char *kwnames[] = {
3857 (char *) "stippleBitmap", NULL
3858 };
3859
3860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BrushFromBitmap",kwnames,&obj0)) goto fail;
3861 {
3862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3863 if (SWIG_arg_fail(1)) SWIG_fail;
3864 if (arg1 == NULL) {
3865 SWIG_null_ref("wxBitmap");
3866 }
3867 if (SWIG_arg_fail(1)) SWIG_fail;
3868 }
3869 {
3870 if (!wxPyCheckForApp()) SWIG_fail;
3871 PyThreadState* __tstate = wxPyBeginAllowThreads();
3872 result = (wxBrush *)new wxBrush((wxBitmap const &)*arg1);
3873
3874 wxPyEndAllowThreads(__tstate);
3875 if (PyErr_Occurred()) SWIG_fail;
3876 }
3877 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 1);
3878 return resultobj;
3879 fail:
3880 return NULL;
3881}
3882
3883
093d3ff1 3884static PyObject *_wrap_delete_Brush(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3885 PyObject *resultobj = NULL;
093d3ff1 3886 wxBrush *arg1 = (wxBrush *) 0 ;
d14a1e28
RD
3887 PyObject * obj0 = 0 ;
3888 char *kwnames[] = {
3889 (char *) "self", NULL
3890 };
3891
093d3ff1
RD
3892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Brush",kwnames,&obj0)) goto fail;
3893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
3894 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3895 {
3896 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3897 delete arg1;
d14a1e28
RD
3898
3899 wxPyEndAllowThreads(__tstate);
3900 if (PyErr_Occurred()) SWIG_fail;
3901 }
093d3ff1 3902 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
3903 return resultobj;
3904 fail:
3905 return NULL;
3906}
3907
3908
093d3ff1 3909static PyObject *_wrap_Brush_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3910 PyObject *resultobj = NULL;
093d3ff1
RD
3911 wxBrush *arg1 = (wxBrush *) 0 ;
3912 wxColour *arg2 = 0 ;
3913 wxColour temp2 ;
b2df227b 3914 PyObject * obj0 = 0 ;
093d3ff1 3915 PyObject * obj1 = 0 ;
b2df227b 3916 char *kwnames[] = {
093d3ff1 3917 (char *) "self",(char *) "col", NULL
b2df227b
RD
3918 };
3919
093d3ff1
RD
3920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Brush_SetColour",kwnames,&obj0,&obj1)) goto fail;
3921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
3922 if (SWIG_arg_fail(1)) SWIG_fail;
3923 {
3924 arg2 = &temp2;
3925 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3926 }
b2df227b
RD
3927 {
3928 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3929 (arg1)->SetColour((wxColour const &)*arg2);
b2df227b
RD
3930
3931 wxPyEndAllowThreads(__tstate);
3932 if (PyErr_Occurred()) SWIG_fail;
3933 }
093d3ff1 3934 Py_INCREF(Py_None); resultobj = Py_None;
b2df227b
RD
3935 return resultobj;
3936 fail:
3937 return NULL;
3938}
3939
3940
093d3ff1 3941static PyObject *_wrap_Brush_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3942 PyObject *resultobj = NULL;
093d3ff1
RD
3943 wxBrush *arg1 = (wxBrush *) 0 ;
3944 int arg2 ;
d14a1e28 3945 PyObject * obj0 = 0 ;
093d3ff1 3946 PyObject * obj1 = 0 ;
d14a1e28 3947 char *kwnames[] = {
093d3ff1 3948 (char *) "self",(char *) "style", NULL
d14a1e28
RD
3949 };
3950
093d3ff1
RD
3951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Brush_SetStyle",kwnames,&obj0,&obj1)) goto fail;
3952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
3953 if (SWIG_arg_fail(1)) SWIG_fail;
3954 {
32fe5131 3955 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3956 if (SWIG_arg_fail(2)) SWIG_fail;
3957 }
d14a1e28
RD
3958 {
3959 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3960 (arg1)->SetStyle(arg2);
d14a1e28
RD
3961
3962 wxPyEndAllowThreads(__tstate);
3963 if (PyErr_Occurred()) SWIG_fail;
3964 }
093d3ff1 3965 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
3966 return resultobj;
3967 fail:
3968 return NULL;
3969}
3970
3971
093d3ff1 3972static PyObject *_wrap_Brush_SetStipple(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3973 PyObject *resultobj = NULL;
093d3ff1
RD
3974 wxBrush *arg1 = (wxBrush *) 0 ;
3975 wxBitmap *arg2 = 0 ;
d14a1e28 3976 PyObject * obj0 = 0 ;
093d3ff1 3977 PyObject * obj1 = 0 ;
d14a1e28 3978 char *kwnames[] = {
093d3ff1 3979 (char *) "self",(char *) "stipple", NULL
d14a1e28
RD
3980 };
3981
093d3ff1
RD
3982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Brush_SetStipple",kwnames,&obj0,&obj1)) goto fail;
3983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
3984 if (SWIG_arg_fail(1)) SWIG_fail;
3985 {
3986 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3987 if (SWIG_arg_fail(2)) SWIG_fail;
3988 if (arg2 == NULL) {
3989 SWIG_null_ref("wxBitmap");
3990 }
3991 if (SWIG_arg_fail(2)) SWIG_fail;
3992 }
d14a1e28
RD
3993 {
3994 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3995 (arg1)->SetStipple((wxBitmap const &)*arg2);
d14a1e28
RD
3996
3997 wxPyEndAllowThreads(__tstate);
3998 if (PyErr_Occurred()) SWIG_fail;
3999 }
093d3ff1 4000 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4001 return resultobj;
4002 fail:
4003 return NULL;
4004}
4005
4006
093d3ff1 4007static PyObject *_wrap_Brush_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4008 PyObject *resultobj = NULL;
093d3ff1
RD
4009 wxBrush *arg1 = (wxBrush *) 0 ;
4010 wxColour result;
d14a1e28 4011 PyObject * obj0 = 0 ;
d14a1e28 4012 char *kwnames[] = {
093d3ff1 4013 (char *) "self", NULL
d14a1e28
RD
4014 };
4015
093d3ff1
RD
4016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_GetColour",kwnames,&obj0)) goto fail;
4017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
4018 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4019 {
4020 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4021 result = ((wxBrush const *)arg1)->GetColour();
d14a1e28
RD
4022
4023 wxPyEndAllowThreads(__tstate);
4024 if (PyErr_Occurred()) SWIG_fail;
4025 }
093d3ff1
RD
4026 {
4027 wxColour * resultptr;
32fe5131 4028 resultptr = new wxColour(static_cast<wxColour & >(result));
093d3ff1
RD
4029 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
4030 }
d14a1e28
RD
4031 return resultobj;
4032 fail:
4033 return NULL;
4034}
4035
4036
093d3ff1 4037static PyObject *_wrap_Brush_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4038 PyObject *resultobj = NULL;
093d3ff1
RD
4039 wxBrush *arg1 = (wxBrush *) 0 ;
4040 int result;
d14a1e28 4041 PyObject * obj0 = 0 ;
d14a1e28 4042 char *kwnames[] = {
093d3ff1 4043 (char *) "self", NULL
d14a1e28
RD
4044 };
4045
093d3ff1
RD
4046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_GetStyle",kwnames,&obj0)) goto fail;
4047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
4048 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4049 {
4050 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4051 result = (int)((wxBrush const *)arg1)->GetStyle();
d14a1e28
RD
4052
4053 wxPyEndAllowThreads(__tstate);
4054 if (PyErr_Occurred()) SWIG_fail;
4055 }
093d3ff1 4056 {
32fe5131 4057 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 4058 }
d14a1e28
RD
4059 return resultobj;
4060 fail:
4061 return NULL;
4062}
4063
4064
093d3ff1 4065static PyObject *_wrap_Brush_GetStipple(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4066 PyObject *resultobj = NULL;
093d3ff1
RD
4067 wxBrush *arg1 = (wxBrush *) 0 ;
4068 wxBitmap *result;
d14a1e28 4069 PyObject * obj0 = 0 ;
d14a1e28 4070 char *kwnames[] = {
093d3ff1 4071 (char *) "self", NULL
d14a1e28
RD
4072 };
4073
093d3ff1
RD
4074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_GetStipple",kwnames,&obj0)) goto fail;
4075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
4076 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4077 {
4078 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4079 result = (wxBitmap *)((wxBrush const *)arg1)->GetStipple();
d14a1e28
RD
4080
4081 wxPyEndAllowThreads(__tstate);
4082 if (PyErr_Occurred()) SWIG_fail;
4083 }
093d3ff1 4084 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 0);
d14a1e28
RD
4085 return resultobj;
4086 fail:
4087 return NULL;
4088}
4089
4090
093d3ff1 4091static PyObject *_wrap_Brush_IsHatch(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4092 PyObject *resultobj = NULL;
093d3ff1 4093 wxBrush *arg1 = (wxBrush *) 0 ;
d14a1e28 4094 bool result;
d14a1e28 4095 PyObject * obj0 = 0 ;
d14a1e28 4096 char *kwnames[] = {
093d3ff1 4097 (char *) "self", NULL
d14a1e28
RD
4098 };
4099
093d3ff1
RD
4100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_IsHatch",kwnames,&obj0)) goto fail;
4101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
4102 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4103 {
4104 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4105 result = (bool)((wxBrush const *)arg1)->IsHatch();
d14a1e28
RD
4106
4107 wxPyEndAllowThreads(__tstate);
4108 if (PyErr_Occurred()) SWIG_fail;
4109 }
4f89f6a3
RD
4110 {
4111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4112 }
d14a1e28
RD
4113 return resultobj;
4114 fail:
d14a1e28
RD
4115 return NULL;
4116}
4117
4118
093d3ff1 4119static PyObject *_wrap_Brush_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4120 PyObject *resultobj = NULL;
093d3ff1 4121 wxBrush *arg1 = (wxBrush *) 0 ;
d14a1e28 4122 bool result;
d14a1e28 4123 PyObject * obj0 = 0 ;
d14a1e28 4124 char *kwnames[] = {
093d3ff1 4125 (char *) "self", NULL
d14a1e28
RD
4126 };
4127
093d3ff1
RD
4128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_Ok",kwnames,&obj0)) goto fail;
4129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
4130 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4131 {
4132 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4133 result = (bool)(arg1)->Ok();
d14a1e28
RD
4134
4135 wxPyEndAllowThreads(__tstate);
4136 if (PyErr_Occurred()) SWIG_fail;
4137 }
4f89f6a3
RD
4138 {
4139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4140 }
d14a1e28
RD
4141 return resultobj;
4142 fail:
d14a1e28
RD
4143 return NULL;
4144}
4145
4146
093d3ff1
RD
4147static PyObject * Brush_swigregister(PyObject *, PyObject *args) {
4148 PyObject *obj;
4149 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4150 SWIG_TypeClientData(SWIGTYPE_p_wxBrush, obj);
4151 Py_INCREF(obj);
4152 return Py_BuildValue((char *)"");
4153}
4154static PyObject *_wrap_new_Bitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4155 PyObject *resultobj = NULL;
093d3ff1
RD
4156 wxString *arg1 = 0 ;
4157 wxBitmapType arg2 = (wxBitmapType) wxBITMAP_TYPE_ANY ;
4158 wxBitmap *result;
4159 bool temp1 = false ;
d3b6e4ff 4160 PyObject * obj0 = 0 ;
093d3ff1 4161 PyObject * obj1 = 0 ;
d3b6e4ff 4162 char *kwnames[] = {
093d3ff1 4163 (char *) "name",(char *) "type", NULL
d3b6e4ff
RD
4164 };
4165
093d3ff1
RD
4166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Bitmap",kwnames,&obj0,&obj1)) goto fail;
4167 {
4168 arg1 = wxString_in_helper(obj0);
4169 if (arg1 == NULL) SWIG_fail;
4170 temp1 = true;
4171 }
4172 if (obj1) {
4173 {
32fe5131 4174 arg2 = static_cast<wxBitmapType >(SWIG_As_int(obj1));
093d3ff1
RD
4175 if (SWIG_arg_fail(2)) SWIG_fail;
4176 }
4177 }
d3b6e4ff 4178 {
093d3ff1 4179 if (!wxPyCheckForApp()) SWIG_fail;
d3b6e4ff 4180 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 4181 result = (wxBitmap *)new wxBitmap((wxString const &)*arg1,arg2);
d3b6e4ff
RD
4182
4183 wxPyEndAllowThreads(__tstate);
4184 if (PyErr_Occurred()) SWIG_fail;
4185 }
093d3ff1
RD
4186 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
4187 {
4188 if (temp1)
4189 delete arg1;
4190 }
d3b6e4ff
RD
4191 return resultobj;
4192 fail:
093d3ff1
RD
4193 {
4194 if (temp1)
4195 delete arg1;
4196 }
d3b6e4ff
RD
4197 return NULL;
4198}
4199
4200
093d3ff1 4201static PyObject *_wrap_delete_Bitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4202 PyObject *resultobj = NULL;
d14a1e28 4203 wxBitmap *arg1 = (wxBitmap *) 0 ;
d14a1e28 4204 PyObject * obj0 = 0 ;
d14a1e28 4205 char *kwnames[] = {
093d3ff1 4206 (char *) "self", NULL
d14a1e28
RD
4207 };
4208
093d3ff1
RD
4209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Bitmap",kwnames,&obj0)) goto fail;
4210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4211 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4212 {
4213 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4214 delete arg1;
d14a1e28
RD
4215
4216 wxPyEndAllowThreads(__tstate);
4217 if (PyErr_Occurred()) SWIG_fail;
4218 }
093d3ff1 4219 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4220 return resultobj;
4221 fail:
4222 return NULL;
4223}
4224
4225
093d3ff1 4226static PyObject *_wrap_new_EmptyBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4227 PyObject *resultobj = NULL;
093d3ff1 4228 int arg1 ;
d14a1e28 4229 int arg2 ;
093d3ff1
RD
4230 int arg3 = (int) -1 ;
4231 wxBitmap *result;
d14a1e28 4232 PyObject * obj0 = 0 ;
994141e6 4233 PyObject * obj1 = 0 ;
093d3ff1 4234 PyObject * obj2 = 0 ;
d14a1e28 4235 char *kwnames[] = {
093d3ff1 4236 (char *) "width",(char *) "height",(char *) "depth", NULL
d14a1e28
RD
4237 };
4238
093d3ff1
RD
4239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_EmptyBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
4240 {
32fe5131 4241 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
4242 if (SWIG_arg_fail(1)) SWIG_fail;
4243 }
4244 {
32fe5131 4245 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
4246 if (SWIG_arg_fail(2)) SWIG_fail;
4247 }
4248 if (obj2) {
4249 {
32fe5131 4250 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
4251 if (SWIG_arg_fail(3)) SWIG_fail;
4252 }
4253 }
d14a1e28 4254 {
093d3ff1 4255 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 4256 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4257 result = (wxBitmap *)new wxBitmap(arg1,arg2,arg3);
d14a1e28
RD
4258
4259 wxPyEndAllowThreads(__tstate);
4260 if (PyErr_Occurred()) SWIG_fail;
4261 }
093d3ff1 4262 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
4263 return resultobj;
4264 fail:
4265 return NULL;
4266}
4267
4268
093d3ff1 4269static PyObject *_wrap_new_BitmapFromIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4270 PyObject *resultobj = NULL;
093d3ff1
RD
4271 wxIcon *arg1 = 0 ;
4272 wxBitmap *result;
d14a1e28
RD
4273 PyObject * obj0 = 0 ;
4274 char *kwnames[] = {
093d3ff1 4275 (char *) "icon", NULL
d14a1e28
RD
4276 };
4277
093d3ff1
RD
4278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BitmapFromIcon",kwnames,&obj0)) goto fail;
4279 {
4280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4281 if (SWIG_arg_fail(1)) SWIG_fail;
4282 if (arg1 == NULL) {
4283 SWIG_null_ref("wxIcon");
4284 }
4285 if (SWIG_arg_fail(1)) SWIG_fail;
4286 }
d14a1e28 4287 {
093d3ff1 4288 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 4289 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4290 result = (wxBitmap *)new wxBitmap((wxIcon const &)*arg1);
d14a1e28
RD
4291
4292 wxPyEndAllowThreads(__tstate);
4293 if (PyErr_Occurred()) SWIG_fail;
4294 }
093d3ff1 4295 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
4296 return resultobj;
4297 fail:
4298 return NULL;
4299}
4300
4301
093d3ff1 4302static PyObject *_wrap_new_BitmapFromImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4303 PyObject *resultobj = NULL;
093d3ff1
RD
4304 wxImage *arg1 = 0 ;
4305 int arg2 = (int) -1 ;
4306 wxBitmap *result;
d14a1e28 4307 PyObject * obj0 = 0 ;
994141e6 4308 PyObject * obj1 = 0 ;
d14a1e28 4309 char *kwnames[] = {
093d3ff1 4310 (char *) "image",(char *) "depth", NULL
d14a1e28
RD
4311 };
4312
093d3ff1
RD
4313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_BitmapFromImage",kwnames,&obj0,&obj1)) goto fail;
4314 {
4315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
4316 if (SWIG_arg_fail(1)) SWIG_fail;
4317 if (arg1 == NULL) {
4318 SWIG_null_ref("wxImage");
4319 }
4320 if (SWIG_arg_fail(1)) SWIG_fail;
4321 }
4322 if (obj1) {
4323 {
32fe5131 4324 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
4325 if (SWIG_arg_fail(2)) SWIG_fail;
4326 }
4327 }
d14a1e28 4328 {
093d3ff1 4329 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 4330 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4331 result = (wxBitmap *)new wxBitmap((wxImage const &)*arg1,arg2);
d14a1e28
RD
4332
4333 wxPyEndAllowThreads(__tstate);
4334 if (PyErr_Occurred()) SWIG_fail;
4335 }
093d3ff1 4336 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
4337 return resultobj;
4338 fail:
4339 return NULL;
4340}
4341
4342
093d3ff1 4343static PyObject *_wrap_new_BitmapFromXPMData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4344 PyObject *resultobj = NULL;
093d3ff1
RD
4345 PyObject *arg1 = (PyObject *) 0 ;
4346 wxBitmap *result;
b2df227b 4347 PyObject * obj0 = 0 ;
b2df227b 4348 char *kwnames[] = {
093d3ff1 4349 (char *) "listOfStrings", NULL
b2df227b
RD
4350 };
4351
093d3ff1
RD
4352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BitmapFromXPMData",kwnames,&obj0)) goto fail;
4353 arg1 = obj0;
b2df227b 4354 {
093d3ff1 4355 if (!wxPyCheckForApp()) SWIG_fail;
b2df227b 4356 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4357 result = (wxBitmap *)new_wxBitmap(arg1);
b2df227b
RD
4358
4359 wxPyEndAllowThreads(__tstate);
4360 if (PyErr_Occurred()) SWIG_fail;
4361 }
093d3ff1 4362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
b2df227b
RD
4363 return resultobj;
4364 fail:
4365 return NULL;
4366}
4367
4368
093d3ff1 4369static PyObject *_wrap_new_BitmapFromBits(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4370 PyObject *resultobj = NULL;
093d3ff1
RD
4371 PyObject *arg1 = (PyObject *) 0 ;
4372 int arg2 ;
4373 int arg3 ;
4374 int arg4 = (int) 1 ;
4375 wxBitmap *result;
4276dc52
RD
4376 PyObject * obj0 = 0 ;
4377 PyObject * obj1 = 0 ;
093d3ff1
RD
4378 PyObject * obj2 = 0 ;
4379 PyObject * obj3 = 0 ;
4276dc52 4380 char *kwnames[] = {
093d3ff1 4381 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
4276dc52
RD
4382 };
4383
093d3ff1
RD
4384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_BitmapFromBits",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4385 arg1 = obj0;
4276dc52 4386 {
32fe5131 4387 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
4388 if (SWIG_arg_fail(2)) SWIG_fail;
4389 }
4390 {
32fe5131 4391 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
4392 if (SWIG_arg_fail(3)) SWIG_fail;
4393 }
4394 if (obj3) {
4395 {
32fe5131 4396 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
4397 if (SWIG_arg_fail(4)) SWIG_fail;
4398 }
4399 }
4400 {
4401 if (!wxPyCheckForApp()) SWIG_fail;
4276dc52 4402 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4403 result = (wxBitmap *)new_wxBitmap(arg1,arg2,arg3,arg4);
4276dc52
RD
4404
4405 wxPyEndAllowThreads(__tstate);
4406 if (PyErr_Occurred()) SWIG_fail;
4407 }
093d3ff1 4408 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
4276dc52
RD
4409 return resultobj;
4410 fail:
4411 return NULL;
4412}
4413
4414
093d3ff1 4415static PyObject *_wrap_Bitmap_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4416 PyObject *resultobj = NULL;
4276dc52 4417 wxBitmap *arg1 = (wxBitmap *) 0 ;
4276dc52
RD
4418 bool result;
4419 PyObject * obj0 = 0 ;
4276dc52 4420 char *kwnames[] = {
093d3ff1 4421 (char *) "self", NULL
4276dc52
RD
4422 };
4423
093d3ff1
RD
4424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_Ok",kwnames,&obj0)) goto fail;
4425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4426 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
4427 {
4428 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4429 result = (bool)(arg1)->Ok();
4276dc52
RD
4430
4431 wxPyEndAllowThreads(__tstate);
4432 if (PyErr_Occurred()) SWIG_fail;
4433 }
4f89f6a3
RD
4434 {
4435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4436 }
4276dc52
RD
4437 return resultobj;
4438 fail:
4439 return NULL;
4440}
4441
4442
093d3ff1 4443static PyObject *_wrap_Bitmap_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4444 PyObject *resultobj = NULL;
093d3ff1
RD
4445 wxBitmap *arg1 = (wxBitmap *) 0 ;
4446 int result;
d14a1e28 4447 PyObject * obj0 = 0 ;
d14a1e28 4448 char *kwnames[] = {
093d3ff1 4449 (char *) "self", NULL
d14a1e28
RD
4450 };
4451
093d3ff1
RD
4452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetWidth",kwnames,&obj0)) goto fail;
4453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4454 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4455 {
4456 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4457 result = (int)(arg1)->GetWidth();
d14a1e28
RD
4458
4459 wxPyEndAllowThreads(__tstate);
110da5b0 4460 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4461 }
093d3ff1 4462 {
32fe5131 4463 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 4464 }
d14a1e28
RD
4465 return resultobj;
4466 fail:
4467 return NULL;
4468}
4469
4470
093d3ff1 4471static PyObject *_wrap_Bitmap_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4472 PyObject *resultobj = NULL;
093d3ff1
RD
4473 wxBitmap *arg1 = (wxBitmap *) 0 ;
4474 int result;
d14a1e28
RD
4475 PyObject * obj0 = 0 ;
4476 char *kwnames[] = {
093d3ff1 4477 (char *) "self", NULL
d14a1e28
RD
4478 };
4479
093d3ff1
RD
4480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetHeight",kwnames,&obj0)) goto fail;
4481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4482 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6
RD
4483 {
4484 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4485 result = (int)(arg1)->GetHeight();
994141e6
RD
4486
4487 wxPyEndAllowThreads(__tstate);
110da5b0 4488 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4489 }
d14a1e28 4490 {
32fe5131 4491 resultobj = SWIG_From_int(static_cast<int >(result));
d14a1e28
RD
4492 }
4493 return resultobj;
4494 fail:
d14a1e28
RD
4495 return NULL;
4496}
4497
4498
093d3ff1 4499static PyObject *_wrap_Bitmap_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4500 PyObject *resultobj = NULL;
093d3ff1
RD
4501 wxBitmap *arg1 = (wxBitmap *) 0 ;
4502 int result;
d14a1e28
RD
4503 PyObject * obj0 = 0 ;
4504 char *kwnames[] = {
4505 (char *) "self", NULL
4506 };
4507
093d3ff1
RD
4508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetDepth",kwnames,&obj0)) goto fail;
4509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4510 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4511 {
4512 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4513 result = (int)(arg1)->GetDepth();
d14a1e28
RD
4514
4515 wxPyEndAllowThreads(__tstate);
4516 if (PyErr_Occurred()) SWIG_fail;
4517 }
093d3ff1 4518 {
32fe5131 4519 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 4520 }
d14a1e28
RD
4521 return resultobj;
4522 fail:
4523 return NULL;
4524}
4525
4526
093d3ff1 4527static PyObject *_wrap_Bitmap_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4528 PyObject *resultobj = NULL;
093d3ff1
RD
4529 wxBitmap *arg1 = (wxBitmap *) 0 ;
4530 wxSize result;
4531 PyObject * obj0 = 0 ;
d14a1e28 4532 char *kwnames[] = {
093d3ff1 4533 (char *) "self", NULL
d14a1e28
RD
4534 };
4535
093d3ff1
RD
4536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetSize",kwnames,&obj0)) goto fail;
4537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4538 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4539 {
4540 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4541 result = wxBitmap_GetSize(arg1);
d14a1e28
RD
4542
4543 wxPyEndAllowThreads(__tstate);
110da5b0 4544 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4545 }
093d3ff1
RD
4546 {
4547 wxSize * resultptr;
32fe5131 4548 resultptr = new wxSize(static_cast<wxSize & >(result));
093d3ff1
RD
4549 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4550 }
d14a1e28
RD
4551 return resultobj;
4552 fail:
4553 return NULL;
4554}
4555
4556
093d3ff1 4557static PyObject *_wrap_Bitmap_ConvertToImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4558 PyObject *resultobj = NULL;
093d3ff1
RD
4559 wxBitmap *arg1 = (wxBitmap *) 0 ;
4560 SwigValueWrapper<wxImage > result;
d14a1e28
RD
4561 PyObject * obj0 = 0 ;
4562 char *kwnames[] = {
093d3ff1 4563 (char *) "self", NULL
d14a1e28
RD
4564 };
4565
093d3ff1
RD
4566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_ConvertToImage",kwnames,&obj0)) goto fail;
4567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4568 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4569 {
4570 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4571 result = ((wxBitmap const *)arg1)->ConvertToImage();
d14a1e28
RD
4572
4573 wxPyEndAllowThreads(__tstate);
110da5b0 4574 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4575 }
093d3ff1
RD
4576 {
4577 wxImage * resultptr;
32fe5131 4578 resultptr = new wxImage(static_cast<wxImage & >(result));
093d3ff1
RD
4579 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
4580 }
d14a1e28
RD
4581 return resultobj;
4582 fail:
4583 return NULL;
4584}
4585
4586
093d3ff1 4587static PyObject *_wrap_Bitmap_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4588 PyObject *resultobj = NULL;
093d3ff1
RD
4589 wxBitmap *arg1 = (wxBitmap *) 0 ;
4590 wxMask *result;
d14a1e28
RD
4591 PyObject * obj0 = 0 ;
4592 char *kwnames[] = {
093d3ff1 4593 (char *) "self", NULL
d14a1e28
RD
4594 };
4595
093d3ff1
RD
4596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetMask",kwnames,&obj0)) goto fail;
4597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4598 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4599 {
4600 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4601 result = (wxMask *)((wxBitmap const *)arg1)->GetMask();
d14a1e28
RD
4602
4603 wxPyEndAllowThreads(__tstate);
110da5b0 4604 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4605 }
093d3ff1 4606 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMask, 0);
d14a1e28
RD
4607 return resultobj;
4608 fail:
4609 return NULL;
4610}
4611
4612
093d3ff1 4613static PyObject *_wrap_Bitmap_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4614 PyObject *resultobj = NULL;
093d3ff1
RD
4615 wxBitmap *arg1 = (wxBitmap *) 0 ;
4616 wxMask *arg2 = (wxMask *) 0 ;
d14a1e28 4617 PyObject * obj0 = 0 ;
093d3ff1 4618 PyObject * obj1 = 0 ;
d14a1e28 4619 char *kwnames[] = {
093d3ff1 4620 (char *) "self",(char *) "mask", NULL
d14a1e28
RD
4621 };
4622
093d3ff1
RD
4623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetMask",kwnames,&obj0,&obj1)) goto fail;
4624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4625 if (SWIG_arg_fail(1)) SWIG_fail;
4626 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMask, SWIG_POINTER_EXCEPTION | 0);
4627 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4628 {
4629 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4630 (arg1)->SetMask(arg2);
d14a1e28
RD
4631
4632 wxPyEndAllowThreads(__tstate);
110da5b0 4633 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4634 }
093d3ff1 4635 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4636 return resultobj;
4637 fail:
4638 return NULL;
4639}
4640
4641
093d3ff1 4642static PyObject *_wrap_Bitmap_SetMaskColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4643 PyObject *resultobj = NULL;
093d3ff1
RD
4644 wxBitmap *arg1 = (wxBitmap *) 0 ;
4645 wxColour *arg2 = 0 ;
4646 wxColour temp2 ;
4647 PyObject * obj0 = 0 ;
4648 PyObject * obj1 = 0 ;
4649 char *kwnames[] = {
4650 (char *) "self",(char *) "colour", NULL
4651 };
4652
4653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetMaskColour",kwnames,&obj0,&obj1)) goto fail;
4654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4655 if (SWIG_arg_fail(1)) SWIG_fail;
4656 {
4657 arg2 = &temp2;
4658 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4659 }
4660 {
4661 PyThreadState* __tstate = wxPyBeginAllowThreads();
4662 wxBitmap_SetMaskColour(arg1,(wxColour const &)*arg2);
4663
4664 wxPyEndAllowThreads(__tstate);
4665 if (PyErr_Occurred()) SWIG_fail;
4666 }
4667 Py_INCREF(Py_None); resultobj = Py_None;
4668 return resultobj;
4669 fail:
4670 return NULL;
4671}
4672
4673
4674static PyObject *_wrap_Bitmap_GetSubBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4675 PyObject *resultobj = NULL;
093d3ff1
RD
4676 wxBitmap *arg1 = (wxBitmap *) 0 ;
4677 wxRect *arg2 = 0 ;
4678 SwigValueWrapper<wxBitmap > result;
4679 wxRect temp2 ;
4680 PyObject * obj0 = 0 ;
4681 PyObject * obj1 = 0 ;
4682 char *kwnames[] = {
4683 (char *) "self",(char *) "rect", NULL
4684 };
4685
4686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_GetSubBitmap",kwnames,&obj0,&obj1)) goto fail;
4687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4688 if (SWIG_arg_fail(1)) SWIG_fail;
4689 {
4690 arg2 = &temp2;
4691 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4692 }
4693 {
4694 PyThreadState* __tstate = wxPyBeginAllowThreads();
4695 result = ((wxBitmap const *)arg1)->GetSubBitmap((wxRect const &)*arg2);
4696
4697 wxPyEndAllowThreads(__tstate);
4698 if (PyErr_Occurred()) SWIG_fail;
4699 }
4700 {
4701 wxBitmap * resultptr;
32fe5131 4702 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
093d3ff1
RD
4703 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4704 }
4705 return resultobj;
4706 fail:
4707 return NULL;
4708}
4709
4710
4711static PyObject *_wrap_Bitmap_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4712 PyObject *resultobj = NULL;
093d3ff1 4713 wxBitmap *arg1 = (wxBitmap *) 0 ;
d14a1e28 4714 wxString *arg2 = 0 ;
093d3ff1
RD
4715 wxBitmapType arg3 ;
4716 wxPalette *arg4 = (wxPalette *) NULL ;
d14a1e28 4717 bool result;
ae8162c8 4718 bool temp2 = false ;
d14a1e28
RD
4719 PyObject * obj0 = 0 ;
4720 PyObject * obj1 = 0 ;
994141e6 4721 PyObject * obj2 = 0 ;
093d3ff1 4722 PyObject * obj3 = 0 ;
d14a1e28 4723 char *kwnames[] = {
093d3ff1 4724 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
d14a1e28
RD
4725 };
4726
093d3ff1
RD
4727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Bitmap_SaveFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4729 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4730 {
4731 arg2 = wxString_in_helper(obj1);
4732 if (arg2 == NULL) SWIG_fail;
ae8162c8 4733 temp2 = true;
d14a1e28 4734 }
093d3ff1 4735 {
32fe5131 4736 arg3 = static_cast<wxBitmapType >(SWIG_As_int(obj2));
093d3ff1
RD
4737 if (SWIG_arg_fail(3)) SWIG_fail;
4738 }
4739 if (obj3) {
4740 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxPalette, SWIG_POINTER_EXCEPTION | 0);
4741 if (SWIG_arg_fail(4)) SWIG_fail;
4742 }
d14a1e28
RD
4743 {
4744 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 4745 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3,arg4);
d14a1e28
RD
4746
4747 wxPyEndAllowThreads(__tstate);
4748 if (PyErr_Occurred()) SWIG_fail;
4749 }
4f89f6a3
RD
4750 {
4751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4752 }
d14a1e28
RD
4753 {
4754 if (temp2)
4755 delete arg2;
4756 }
4757 return resultobj;
4758 fail:
4759 {
4760 if (temp2)
4761 delete arg2;
4762 }
4763 return NULL;
4764}
4765
4766
093d3ff1 4767static PyObject *_wrap_Bitmap_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4768 PyObject *resultobj = NULL;
093d3ff1
RD
4769 wxBitmap *arg1 = (wxBitmap *) 0 ;
4770 wxString *arg2 = 0 ;
4771 wxBitmapType arg3 ;
d14a1e28 4772 bool result;
093d3ff1 4773 bool temp2 = false ;
d14a1e28 4774 PyObject * obj0 = 0 ;
093d3ff1
RD
4775 PyObject * obj1 = 0 ;
4776 PyObject * obj2 = 0 ;
d14a1e28 4777 char *kwnames[] = {
093d3ff1 4778 (char *) "self",(char *) "name",(char *) "type", NULL
d14a1e28
RD
4779 };
4780
093d3ff1
RD
4781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Bitmap_LoadFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
4782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4783 if (SWIG_arg_fail(1)) SWIG_fail;
4784 {
4785 arg2 = wxString_in_helper(obj1);
4786 if (arg2 == NULL) SWIG_fail;
4787 temp2 = true;
4788 }
4789 {
32fe5131 4790 arg3 = static_cast<wxBitmapType >(SWIG_As_int(obj2));
093d3ff1
RD
4791 if (SWIG_arg_fail(3)) SWIG_fail;
4792 }
d14a1e28
RD
4793 {
4794 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 4795 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3);
d14a1e28
RD
4796
4797 wxPyEndAllowThreads(__tstate);
4798 if (PyErr_Occurred()) SWIG_fail;
4799 }
4f89f6a3
RD
4800 {
4801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4802 }
093d3ff1
RD
4803 {
4804 if (temp2)
4805 delete arg2;
4806 }
d14a1e28
RD
4807 return resultobj;
4808 fail:
093d3ff1
RD
4809 {
4810 if (temp2)
4811 delete arg2;
4812 }
d14a1e28
RD
4813 return NULL;
4814}
4815
4816
093d3ff1 4817static PyObject *_wrap_Bitmap_GetPalette(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4818 PyObject *resultobj = NULL;
093d3ff1
RD
4819 wxBitmap *arg1 = (wxBitmap *) 0 ;
4820 wxPalette *result;
d14a1e28
RD
4821 PyObject * obj0 = 0 ;
4822 char *kwnames[] = {
4823 (char *) "self", NULL
4824 };
4825
093d3ff1
RD
4826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetPalette",kwnames,&obj0)) goto fail;
4827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4828 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4829 {
4830 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4831 result = (wxPalette *)((wxBitmap const *)arg1)->GetPalette();
d14a1e28
RD
4832
4833 wxPyEndAllowThreads(__tstate);
4834 if (PyErr_Occurred()) SWIG_fail;
4835 }
093d3ff1 4836 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPalette, 0);
d14a1e28
RD
4837 return resultobj;
4838 fail:
4839 return NULL;
4840}
4841
4842
093d3ff1 4843static PyObject *_wrap_Bitmap_CopyFromIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4844 PyObject *resultobj = NULL;
093d3ff1
RD
4845 wxBitmap *arg1 = (wxBitmap *) 0 ;
4846 wxIcon *arg2 = 0 ;
4847 bool result;
d14a1e28 4848 PyObject * obj0 = 0 ;
093d3ff1 4849 PyObject * obj1 = 0 ;
d14a1e28 4850 char *kwnames[] = {
093d3ff1 4851 (char *) "self",(char *) "icon", NULL
d14a1e28
RD
4852 };
4853
093d3ff1
RD
4854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_CopyFromIcon",kwnames,&obj0,&obj1)) goto fail;
4855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4856 if (SWIG_arg_fail(1)) SWIG_fail;
4857 {
4858 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4859 if (SWIG_arg_fail(2)) SWIG_fail;
4860 if (arg2 == NULL) {
4861 SWIG_null_ref("wxIcon");
4862 }
4863 if (SWIG_arg_fail(2)) SWIG_fail;
4864 }
d14a1e28
RD
4865 {
4866 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4867 result = (bool)(arg1)->CopyFromIcon((wxIcon const &)*arg2);
d14a1e28
RD
4868
4869 wxPyEndAllowThreads(__tstate);
4870 if (PyErr_Occurred()) SWIG_fail;
4871 }
093d3ff1
RD
4872 {
4873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4874 }
d14a1e28
RD
4875 return resultobj;
4876 fail:
4877 return NULL;
4878}
4879
4880
093d3ff1 4881static PyObject *_wrap_Bitmap_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4882 PyObject *resultobj = NULL;
093d3ff1
RD
4883 wxBitmap *arg1 = (wxBitmap *) 0 ;
4884 int arg2 ;
d14a1e28 4885 PyObject * obj0 = 0 ;
093d3ff1 4886 PyObject * obj1 = 0 ;
d14a1e28 4887 char *kwnames[] = {
093d3ff1 4888 (char *) "self",(char *) "height", NULL
d14a1e28
RD
4889 };
4890
093d3ff1
RD
4891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetHeight",kwnames,&obj0,&obj1)) goto fail;
4892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4893 if (SWIG_arg_fail(1)) SWIG_fail;
4894 {
32fe5131 4895 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
4896 if (SWIG_arg_fail(2)) SWIG_fail;
4897 }
d14a1e28
RD
4898 {
4899 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4900 (arg1)->SetHeight(arg2);
d14a1e28
RD
4901
4902 wxPyEndAllowThreads(__tstate);
4903 if (PyErr_Occurred()) SWIG_fail;
4904 }
093d3ff1 4905 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4906 return resultobj;
4907 fail:
4908 return NULL;
4909}
4910
4911
093d3ff1 4912static PyObject *_wrap_Bitmap_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4913 PyObject *resultobj = NULL;
093d3ff1 4914 wxBitmap *arg1 = (wxBitmap *) 0 ;
d14a1e28
RD
4915 int arg2 ;
4916 PyObject * obj0 = 0 ;
994141e6 4917 PyObject * obj1 = 0 ;
d14a1e28 4918 char *kwnames[] = {
093d3ff1 4919 (char *) "self",(char *) "width", NULL
d14a1e28
RD
4920 };
4921
093d3ff1
RD
4922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetWidth",kwnames,&obj0,&obj1)) goto fail;
4923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4924 if (SWIG_arg_fail(1)) SWIG_fail;
4925 {
32fe5131 4926 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
4927 if (SWIG_arg_fail(2)) SWIG_fail;
4928 }
d14a1e28
RD
4929 {
4930 PyThreadState* __tstate = wxPyBeginAllowThreads();
4931 (arg1)->SetWidth(arg2);
4932
4933 wxPyEndAllowThreads(__tstate);
4934 if (PyErr_Occurred()) SWIG_fail;
4935 }
4936 Py_INCREF(Py_None); resultobj = Py_None;
4937 return resultobj;
4938 fail:
4939 return NULL;
4940}
4941
4942
093d3ff1 4943static PyObject *_wrap_Bitmap_SetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4944 PyObject *resultobj = NULL;
093d3ff1 4945 wxBitmap *arg1 = (wxBitmap *) 0 ;
d14a1e28
RD
4946 int arg2 ;
4947 PyObject * obj0 = 0 ;
994141e6 4948 PyObject * obj1 = 0 ;
d14a1e28 4949 char *kwnames[] = {
093d3ff1 4950 (char *) "self",(char *) "depth", NULL
d14a1e28
RD
4951 };
4952
093d3ff1
RD
4953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetDepth",kwnames,&obj0,&obj1)) goto fail;
4954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4955 if (SWIG_arg_fail(1)) SWIG_fail;
4956 {
32fe5131 4957 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
4958 if (SWIG_arg_fail(2)) SWIG_fail;
4959 }
d14a1e28
RD
4960 {
4961 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4962 (arg1)->SetDepth(arg2);
d14a1e28
RD
4963
4964 wxPyEndAllowThreads(__tstate);
4965 if (PyErr_Occurred()) SWIG_fail;
4966 }
4967 Py_INCREF(Py_None); resultobj = Py_None;
4968 return resultobj;
4969 fail:
4970 return NULL;
4971}
4972
4973
093d3ff1 4974static PyObject *_wrap_Bitmap_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4975 PyObject *resultobj = NULL;
093d3ff1
RD
4976 wxBitmap *arg1 = (wxBitmap *) 0 ;
4977 wxSize *arg2 = 0 ;
4978 wxSize temp2 ;
d14a1e28 4979 PyObject * obj0 = 0 ;
994141e6 4980 PyObject * obj1 = 0 ;
d14a1e28 4981 char *kwnames[] = {
093d3ff1 4982 (char *) "self",(char *) "size", NULL
d14a1e28
RD
4983 };
4984
093d3ff1
RD
4985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetSize",kwnames,&obj0,&obj1)) goto fail;
4986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4987 if (SWIG_arg_fail(1)) SWIG_fail;
4988 {
4989 arg2 = &temp2;
4990 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4991 }
d14a1e28
RD
4992 {
4993 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4994 wxBitmap_SetSize(arg1,(wxSize const &)*arg2);
d14a1e28
RD
4995
4996 wxPyEndAllowThreads(__tstate);
4997 if (PyErr_Occurred()) SWIG_fail;
4998 }
4999 Py_INCREF(Py_None); resultobj = Py_None;
5000 return resultobj;
5001 fail:
5002 return NULL;
5003}
5004
5005
093d3ff1 5006static PyObject *_wrap_Bitmap___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5007 PyObject *resultobj = NULL;
093d3ff1
RD
5008 wxBitmap *arg1 = (wxBitmap *) 0 ;
5009 wxBitmap *arg2 = (wxBitmap *) 0 ;
5010 bool result;
d14a1e28
RD
5011 PyObject * obj0 = 0 ;
5012 PyObject * obj1 = 0 ;
5013 char *kwnames[] = {
093d3ff1 5014 (char *) "self",(char *) "other", NULL
d14a1e28
RD
5015 };
5016
093d3ff1
RD
5017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap___eq__",kwnames,&obj0,&obj1)) goto fail;
5018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
5019 if (SWIG_arg_fail(1)) SWIG_fail;
5020 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
5021 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5022 {
5023 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5024 result = (bool)wxBitmap___eq__(arg1,(wxBitmap const *)arg2);
d14a1e28
RD
5025
5026 wxPyEndAllowThreads(__tstate);
5027 if (PyErr_Occurred()) SWIG_fail;
5028 }
093d3ff1
RD
5029 {
5030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5031 }
d14a1e28
RD
5032 return resultobj;
5033 fail:
5034 return NULL;
5035}
5036
5037
093d3ff1 5038static PyObject *_wrap_Bitmap___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5039 PyObject *resultobj = NULL;
093d3ff1
RD
5040 wxBitmap *arg1 = (wxBitmap *) 0 ;
5041 wxBitmap *arg2 = (wxBitmap *) 0 ;
5042 bool result;
d14a1e28 5043 PyObject * obj0 = 0 ;
994141e6 5044 PyObject * obj1 = 0 ;
d14a1e28 5045 char *kwnames[] = {
093d3ff1 5046 (char *) "self",(char *) "other", NULL
d14a1e28
RD
5047 };
5048
093d3ff1
RD
5049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap___ne__",kwnames,&obj0,&obj1)) goto fail;
5050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
5051 if (SWIG_arg_fail(1)) SWIG_fail;
5052 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
5053 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5054 {
5055 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5056 result = (bool)wxBitmap___ne__(arg1,(wxBitmap const *)arg2);
d14a1e28
RD
5057
5058 wxPyEndAllowThreads(__tstate);
5059 if (PyErr_Occurred()) SWIG_fail;
5060 }
7eae615b 5061 {
093d3ff1 5062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7eae615b 5063 }
d14a1e28
RD
5064 return resultobj;
5065 fail:
5066 return NULL;
5067}
5068
5069
093d3ff1
RD
5070static PyObject * Bitmap_swigregister(PyObject *, PyObject *args) {
5071 PyObject *obj;
5072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5073 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap, obj);
5074 Py_INCREF(obj);
5075 return Py_BuildValue((char *)"");
5076}
5077static PyObject *_wrap_new_Mask(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5078 PyObject *resultobj = NULL;
093d3ff1
RD
5079 wxBitmap *arg1 = 0 ;
5080 wxColour const &arg2_defvalue = wxNullColour ;
5081 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5082 wxMask *result;
5083 wxColour temp2 ;
d14a1e28 5084 PyObject * obj0 = 0 ;
093d3ff1 5085 PyObject * obj1 = 0 ;
d14a1e28 5086 char *kwnames[] = {
093d3ff1 5087 (char *) "bitmap",(char *) "colour", NULL
d14a1e28
RD
5088 };
5089
093d3ff1
RD
5090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Mask",kwnames,&obj0,&obj1)) goto fail;
5091 {
5092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
5093 if (SWIG_arg_fail(1)) SWIG_fail;
5094 if (arg1 == NULL) {
5095 SWIG_null_ref("wxBitmap");
5096 }
5097 if (SWIG_arg_fail(1)) SWIG_fail;
5098 }
5099 if (obj1) {
5100 {
5101 arg2 = &temp2;
5102 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5103 }
5104 }
d14a1e28 5105 {
093d3ff1 5106 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 5107 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5108 result = (wxMask *)new_wxMask((wxBitmap const &)*arg1,(wxColour const &)*arg2);
d14a1e28
RD
5109
5110 wxPyEndAllowThreads(__tstate);
5111 if (PyErr_Occurred()) SWIG_fail;
5112 }
093d3ff1 5113 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMask, 1);
d14a1e28
RD
5114 return resultobj;
5115 fail:
5116 return NULL;
5117}
5118
5119
093d3ff1
RD
5120static PyObject * Mask_swigregister(PyObject *, PyObject *args) {
5121 PyObject *obj;
5122 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5123 SWIG_TypeClientData(SWIGTYPE_p_wxMask, obj);
5124 Py_INCREF(obj);
5125 return Py_BuildValue((char *)"");
5126}
5127static PyObject *_wrap_new_Icon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5128 PyObject *resultobj = NULL;
093d3ff1
RD
5129 wxString *arg1 = 0 ;
5130 wxBitmapType arg2 ;
5131 int arg3 = (int) -1 ;
5132 int arg4 = (int) -1 ;
5133 wxIcon *result;
5134 bool temp1 = false ;
d14a1e28 5135 PyObject * obj0 = 0 ;
093d3ff1
RD
5136 PyObject * obj1 = 0 ;
5137 PyObject * obj2 = 0 ;
5138 PyObject * obj3 = 0 ;
d14a1e28 5139 char *kwnames[] = {
093d3ff1 5140 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
d14a1e28
RD
5141 };
5142
093d3ff1 5143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_Icon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 5144 {
093d3ff1
RD
5145 arg1 = wxString_in_helper(obj0);
5146 if (arg1 == NULL) SWIG_fail;
5147 temp1 = true;
5148 }
5149 {
32fe5131 5150 arg2 = static_cast<wxBitmapType >(SWIG_As_int(obj1));
093d3ff1
RD
5151 if (SWIG_arg_fail(2)) SWIG_fail;
5152 }
5153 if (obj2) {
5154 {
32fe5131 5155 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
5156 if (SWIG_arg_fail(3)) SWIG_fail;
5157 }
5158 }
5159 if (obj3) {
5160 {
32fe5131 5161 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
5162 if (SWIG_arg_fail(4)) SWIG_fail;
5163 }
5164 }
5165 {
5166 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 5167 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 5168 result = (wxIcon *)new wxIcon((wxString const &)*arg1,arg2,arg3,arg4);
d14a1e28
RD
5169
5170 wxPyEndAllowThreads(__tstate);
5171 if (PyErr_Occurred()) SWIG_fail;
5172 }
093d3ff1 5173 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
4f89f6a3 5174 {
093d3ff1
RD
5175 if (temp1)
5176 delete arg1;
4f89f6a3 5177 }
d14a1e28
RD
5178 return resultobj;
5179 fail:
093d3ff1
RD
5180 {
5181 if (temp1)
5182 delete arg1;
5183 }
d14a1e28
RD
5184 return NULL;
5185}
5186
5187
093d3ff1 5188static PyObject *_wrap_delete_Icon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5189 PyObject *resultobj = NULL;
093d3ff1 5190 wxIcon *arg1 = (wxIcon *) 0 ;
d14a1e28 5191 PyObject * obj0 = 0 ;
d14a1e28 5192 char *kwnames[] = {
093d3ff1 5193 (char *) "self", NULL
d14a1e28
RD
5194 };
5195
093d3ff1
RD
5196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Icon",kwnames,&obj0)) goto fail;
5197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
5198 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5199 {
5200 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5201 delete arg1;
d14a1e28
RD
5202
5203 wxPyEndAllowThreads(__tstate);
5204 if (PyErr_Occurred()) SWIG_fail;
5205 }
5206 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
5207 return resultobj;
5208 fail:
d14a1e28
RD
5209 return NULL;
5210}
5211
5212
093d3ff1 5213static PyObject *_wrap_new_EmptyIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5214 PyObject *resultobj = NULL;
093d3ff1 5215 wxIcon *result;
d14a1e28 5216 char *kwnames[] = {
093d3ff1 5217 NULL
d14a1e28
RD
5218 };
5219
093d3ff1 5220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EmptyIcon",kwnames)) goto fail;
d14a1e28 5221 {
093d3ff1 5222 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 5223 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5224 result = (wxIcon *)new wxIcon();
d14a1e28
RD
5225
5226 wxPyEndAllowThreads(__tstate);
5227 if (PyErr_Occurred()) SWIG_fail;
5228 }
093d3ff1 5229 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
5230 return resultobj;
5231 fail:
5232 return NULL;
5233}
5234
5235
093d3ff1 5236static PyObject *_wrap_new_IconFromLocation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5237 PyObject *resultobj = NULL;
093d3ff1
RD
5238 wxIconLocation *arg1 = 0 ;
5239 wxIcon *result;
d14a1e28
RD
5240 PyObject * obj0 = 0 ;
5241 char *kwnames[] = {
093d3ff1 5242 (char *) "loc", NULL
d14a1e28
RD
5243 };
5244
093d3ff1
RD
5245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconFromLocation",kwnames,&obj0)) goto fail;
5246 {
5247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconLocation, SWIG_POINTER_EXCEPTION | 0);
5248 if (SWIG_arg_fail(1)) SWIG_fail;
5249 if (arg1 == NULL) {
5250 SWIG_null_ref("wxIconLocation");
5251 }
5252 if (SWIG_arg_fail(1)) SWIG_fail;
5253 }
d14a1e28 5254 {
093d3ff1 5255 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 5256 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5257 result = (wxIcon *)new wxIcon((wxIconLocation const &)*arg1);
d14a1e28
RD
5258
5259 wxPyEndAllowThreads(__tstate);
5260 if (PyErr_Occurred()) SWIG_fail;
5261 }
093d3ff1 5262 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
5263 return resultobj;
5264 fail:
5265 return NULL;
5266}
5267
5268
093d3ff1 5269static PyObject *_wrap_new_IconFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5270 PyObject *resultobj = NULL;
093d3ff1
RD
5271 wxBitmap *arg1 = 0 ;
5272 wxIcon *result;
d14a1e28
RD
5273 PyObject * obj0 = 0 ;
5274 char *kwnames[] = {
093d3ff1 5275 (char *) "bmp", NULL
d14a1e28
RD
5276 };
5277
093d3ff1
RD
5278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconFromBitmap",kwnames,&obj0)) goto fail;
5279 {
5280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
5281 if (SWIG_arg_fail(1)) SWIG_fail;
5282 if (arg1 == NULL) {
5283 SWIG_null_ref("wxBitmap");
5284 }
5285 if (SWIG_arg_fail(1)) SWIG_fail;
5286 }
d14a1e28 5287 {
093d3ff1 5288 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 5289 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5290 result = (wxIcon *)new_wxIcon((wxBitmap const &)*arg1);
d14a1e28
RD
5291
5292 wxPyEndAllowThreads(__tstate);
5293 if (PyErr_Occurred()) SWIG_fail;
5294 }
093d3ff1 5295 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
5296 return resultobj;
5297 fail:
5298 return NULL;
5299}
5300
5301
093d3ff1 5302static PyObject *_wrap_new_IconFromXPMData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5303 PyObject *resultobj = NULL;
093d3ff1
RD
5304 PyObject *arg1 = (PyObject *) 0 ;
5305 wxIcon *result;
5306 PyObject * obj0 = 0 ;
d14a1e28 5307 char *kwnames[] = {
093d3ff1 5308 (char *) "listOfStrings", NULL
d14a1e28
RD
5309 };
5310
093d3ff1
RD
5311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconFromXPMData",kwnames,&obj0)) goto fail;
5312 arg1 = obj0;
d14a1e28 5313 {
093d3ff1 5314 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 5315 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5316 result = (wxIcon *)new_wxIcon(arg1);
d14a1e28
RD
5317
5318 wxPyEndAllowThreads(__tstate);
5319 if (PyErr_Occurred()) SWIG_fail;
5320 }
093d3ff1 5321 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
5322 return resultobj;
5323 fail:
5324 return NULL;
5325}
5326
5327
093d3ff1 5328static PyObject *_wrap_Icon_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5329 PyObject *resultobj = NULL;
093d3ff1
RD
5330 wxIcon *arg1 = (wxIcon *) 0 ;
5331 wxString *arg2 = 0 ;
5332 wxBitmapType arg3 ;
5333 bool result;
5334 bool temp2 = false ;
d14a1e28 5335 PyObject * obj0 = 0 ;
994141e6 5336 PyObject * obj1 = 0 ;
093d3ff1 5337 PyObject * obj2 = 0 ;
d14a1e28 5338 char *kwnames[] = {
093d3ff1 5339 (char *) "self",(char *) "name",(char *) "type", NULL
d14a1e28
RD
5340 };
5341
093d3ff1
RD
5342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Icon_LoadFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
5343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
5344 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 5345 {
093d3ff1
RD
5346 arg2 = wxString_in_helper(obj1);
5347 if (arg2 == NULL) SWIG_fail;
5348 temp2 = true;
5349 }
5350 {
32fe5131 5351 arg3 = static_cast<wxBitmapType >(SWIG_As_int(obj2));
093d3ff1 5352 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
5353 }
5354 {
5355 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 5356 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3);
d14a1e28
RD
5357
5358 wxPyEndAllowThreads(__tstate);
5359 if (PyErr_Occurred()) SWIG_fail;
5360 }
d14a1e28 5361 {
093d3ff1
RD
5362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5363 }
5364 {
5365 if (temp2)
5366 delete arg2;
d14a1e28
RD
5367 }
5368 return resultobj;
5369 fail:
5370 {
093d3ff1
RD
5371 if (temp2)
5372 delete arg2;
d14a1e28
RD
5373 }
5374 return NULL;
5375}
5376
5377
093d3ff1 5378static PyObject *_wrap_Icon_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5379 PyObject *resultobj = NULL;
093d3ff1
RD
5380 wxIcon *arg1 = (wxIcon *) 0 ;
5381 bool result;
d14a1e28
RD
5382 PyObject * obj0 = 0 ;
5383 char *kwnames[] = {
093d3ff1 5384 (char *) "self", NULL
d14a1e28
RD
5385 };
5386
093d3ff1
RD
5387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_Ok",kwnames,&obj0)) goto fail;
5388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
5389 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5390 {
5391 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5392 result = (bool)(arg1)->Ok();
d14a1e28
RD
5393
5394 wxPyEndAllowThreads(__tstate);
5395 if (PyErr_Occurred()) SWIG_fail;
5396 }
093d3ff1
RD
5397 {
5398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5399 }
d14a1e28
RD
5400 return resultobj;
5401 fail:
5402 return NULL;
5403}
5404
5405
093d3ff1 5406static PyObject *_wrap_Icon_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5407 PyObject *resultobj = NULL;
093d3ff1
RD
5408 wxIcon *arg1 = (wxIcon *) 0 ;
5409 int result;
d14a1e28
RD
5410 PyObject * obj0 = 0 ;
5411 char *kwnames[] = {
5412 (char *) "self", NULL
5413 };
5414
093d3ff1
RD
5415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_GetWidth",kwnames,&obj0)) goto fail;
5416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
5417 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5418 {
5419 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5420 result = (int)(arg1)->GetWidth();
d14a1e28
RD
5421
5422 wxPyEndAllowThreads(__tstate);
5423 if (PyErr_Occurred()) SWIG_fail;
5424 }
093d3ff1 5425 {
32fe5131 5426 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 5427 }
d14a1e28
RD
5428 return resultobj;
5429 fail:
5430 return NULL;
5431}
5432
5433
093d3ff1 5434static PyObject *_wrap_Icon_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5435 PyObject *resultobj = NULL;
093d3ff1
RD
5436 wxIcon *arg1 = (wxIcon *) 0 ;
5437 int result;
d14a1e28 5438 PyObject * obj0 = 0 ;
d14a1e28 5439 char *kwnames[] = {
093d3ff1 5440 (char *) "self", NULL
d14a1e28
RD
5441 };
5442
093d3ff1
RD
5443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_GetHeight",kwnames,&obj0)) goto fail;
5444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
5445 if (SWIG_arg_fail(1)) SWIG_fail;
5446 {
5447 PyThreadState* __tstate = wxPyBeginAllowThreads();
5448 result = (int)(arg1)->GetHeight();
5449
5450 wxPyEndAllowThreads(__tstate);
5451 if (PyErr_Occurred()) SWIG_fail;
5452 }
5453 {
32fe5131 5454 resultobj = SWIG_From_int(static_cast<int >(result));
d14a1e28 5455 }
093d3ff1
RD
5456 return resultobj;
5457 fail:
5458 return NULL;
5459}
5460
5461
5462static PyObject *_wrap_Icon_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5463 PyObject *resultobj = NULL;
093d3ff1
RD
5464 wxIcon *arg1 = (wxIcon *) 0 ;
5465 int result;
5466 PyObject * obj0 = 0 ;
5467 char *kwnames[] = {
5468 (char *) "self", NULL
5469 };
5470
5471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_GetDepth",kwnames,&obj0)) goto fail;
5472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
5473 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5474 {
5475 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5476 result = (int)(arg1)->GetDepth();
d14a1e28
RD
5477
5478 wxPyEndAllowThreads(__tstate);
5479 if (PyErr_Occurred()) SWIG_fail;
5480 }
093d3ff1 5481 {
32fe5131 5482 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 5483 }
d14a1e28
RD
5484 return resultobj;
5485 fail:
5486 return NULL;
5487}
5488
5489
093d3ff1 5490static PyObject *_wrap_Icon_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5491 PyObject *resultobj = NULL;
093d3ff1
RD
5492 wxIcon *arg1 = (wxIcon *) 0 ;
5493 int arg2 ;
d14a1e28
RD
5494 PyObject * obj0 = 0 ;
5495 PyObject * obj1 = 0 ;
5496 char *kwnames[] = {
093d3ff1 5497 (char *) "self",(char *) "w", NULL
d14a1e28
RD
5498 };
5499
093d3ff1
RD
5500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_SetWidth",kwnames,&obj0,&obj1)) goto fail;
5501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
5502 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 5503 {
32fe5131 5504 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 5505 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5506 }
5507 {
5508 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5509 (arg1)->SetWidth(arg2);
d14a1e28
RD
5510
5511 wxPyEndAllowThreads(__tstate);
5512 if (PyErr_Occurred()) SWIG_fail;
5513 }
5514 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
5515 return resultobj;
5516 fail:
093d3ff1
RD
5517 return NULL;
5518}
5519
5520
5521static PyObject *_wrap_Icon_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5522 PyObject *resultobj = NULL;
093d3ff1
RD
5523 wxIcon *arg1 = (wxIcon *) 0 ;
5524 int arg2 ;
5525 PyObject * obj0 = 0 ;
5526 PyObject * obj1 = 0 ;
5527 char *kwnames[] = {
5528 (char *) "self",(char *) "h", NULL
5529 };
5530
5531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_SetHeight",kwnames,&obj0,&obj1)) goto fail;
5532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
5533 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 5534 {
32fe5131 5535 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 5536 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 5537 }
093d3ff1
RD
5538 {
5539 PyThreadState* __tstate = wxPyBeginAllowThreads();
5540 (arg1)->SetHeight(arg2);
5541
5542 wxPyEndAllowThreads(__tstate);
5543 if (PyErr_Occurred()) SWIG_fail;
5544 }
5545 Py_INCREF(Py_None); resultobj = Py_None;
5546 return resultobj;
5547 fail:
d14a1e28
RD
5548 return NULL;
5549}
5550
5551
093d3ff1 5552static PyObject *_wrap_Icon_SetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5553 PyObject *resultobj = NULL;
093d3ff1
RD
5554 wxIcon *arg1 = (wxIcon *) 0 ;
5555 int arg2 ;
d14a1e28
RD
5556 PyObject * obj0 = 0 ;
5557 PyObject * obj1 = 0 ;
5558 char *kwnames[] = {
093d3ff1 5559 (char *) "self",(char *) "d", NULL
d14a1e28
RD
5560 };
5561
093d3ff1
RD
5562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_SetDepth",kwnames,&obj0,&obj1)) goto fail;
5563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
5564 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 5565 {
32fe5131 5566 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 5567 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5568 }
5569 {
5570 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5571 (arg1)->SetDepth(arg2);
d14a1e28
RD
5572
5573 wxPyEndAllowThreads(__tstate);
5574 if (PyErr_Occurred()) SWIG_fail;
5575 }
093d3ff1
RD
5576 Py_INCREF(Py_None); resultobj = Py_None;
5577 return resultobj;
5578 fail:
5579 return NULL;
5580}
5581
5582
5583static PyObject *_wrap_Icon_CopyFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5584 PyObject *resultobj = NULL;
093d3ff1
RD
5585 wxIcon *arg1 = (wxIcon *) 0 ;
5586 wxBitmap *arg2 = 0 ;
5587 PyObject * obj0 = 0 ;
5588 PyObject * obj1 = 0 ;
5589 char *kwnames[] = {
5590 (char *) "self",(char *) "bmp", NULL
5591 };
5592
5593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_CopyFromBitmap",kwnames,&obj0,&obj1)) goto fail;
5594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
5595 if (SWIG_arg_fail(1)) SWIG_fail;
5596 {
5597 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
5598 if (SWIG_arg_fail(2)) SWIG_fail;
5599 if (arg2 == NULL) {
5600 SWIG_null_ref("wxBitmap");
5601 }
5602 if (SWIG_arg_fail(2)) SWIG_fail;
5603 }
4276dc52 5604 {
093d3ff1
RD
5605 PyThreadState* __tstate = wxPyBeginAllowThreads();
5606 (arg1)->CopyFromBitmap((wxBitmap const &)*arg2);
5607
5608 wxPyEndAllowThreads(__tstate);
5609 if (PyErr_Occurred()) SWIG_fail;
4276dc52 5610 }
093d3ff1 5611 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
5612 return resultobj;
5613 fail:
5614 return NULL;
5615}
5616
5617
093d3ff1 5618static PyObject * Icon_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5619 PyObject *obj;
5620 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
093d3ff1 5621 SWIG_TypeClientData(SWIGTYPE_p_wxIcon, obj);
d14a1e28
RD
5622 Py_INCREF(obj);
5623 return Py_BuildValue((char *)"");
5624}
093d3ff1 5625static PyObject *_wrap_new_IconLocation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5626 PyObject *resultobj = NULL;
093d3ff1
RD
5627 wxString *arg1 = (wxString *) &wxPyEmptyString ;
5628 int arg2 = (int) 0 ;
5629 wxIconLocation *result;
ae8162c8 5630 bool temp1 = false ;
d14a1e28 5631 PyObject * obj0 = 0 ;
994141e6 5632 PyObject * obj1 = 0 ;
d14a1e28 5633 char *kwnames[] = {
093d3ff1 5634 (char *) "filename",(char *) "num", NULL
d14a1e28
RD
5635 };
5636
093d3ff1
RD
5637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconLocation",kwnames,&obj0,&obj1)) goto fail;
5638 if (obj0) {
5639 {
5640 arg1 = wxString_in_helper(obj0);
5641 if (arg1 == NULL) SWIG_fail;
5642 temp1 = true;
5643 }
994141e6 5644 }
093d3ff1
RD
5645 if (obj1) {
5646 {
32fe5131 5647 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5648 if (SWIG_arg_fail(2)) SWIG_fail;
5649 }
994141e6 5650 }
d14a1e28
RD
5651 {
5652 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5653 result = (wxIconLocation *)new_wxIconLocation((wxString const *)arg1,arg2);
d14a1e28
RD
5654
5655 wxPyEndAllowThreads(__tstate);
110da5b0 5656 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5657 }
093d3ff1 5658 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconLocation, 1);
7eae615b
RD
5659 {
5660 if (temp1)
5661 delete arg1;
5662 }
d14a1e28
RD
5663 return resultobj;
5664 fail:
7eae615b
RD
5665 {
5666 if (temp1)
5667 delete arg1;
5668 }
d14a1e28
RD
5669 return NULL;
5670}
5671
5672
093d3ff1 5673static PyObject *_wrap_delete_IconLocation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5674 PyObject *resultobj = NULL;
093d3ff1 5675 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
d14a1e28
RD
5676 PyObject * obj0 = 0 ;
5677 char *kwnames[] = {
5678 (char *) "self", NULL
5679 };
5680
093d3ff1
RD
5681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_IconLocation",kwnames,&obj0)) goto fail;
5682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconLocation, SWIG_POINTER_EXCEPTION | 0);
5683 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5684 {
5685 PyThreadState* __tstate = wxPyBeginAllowThreads();
5686 delete arg1;
5687
5688 wxPyEndAllowThreads(__tstate);
5689 if (PyErr_Occurred()) SWIG_fail;
5690 }
5691 Py_INCREF(Py_None); resultobj = Py_None;
5692 return resultobj;
5693 fail:
5694 return NULL;
5695}
5696
5697
093d3ff1 5698static PyObject *_wrap_IconLocation_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5699 PyObject *resultobj = NULL;
093d3ff1
RD
5700 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
5701 bool result;
994141e6 5702 PyObject * obj0 = 0 ;
d14a1e28 5703 char *kwnames[] = {
093d3ff1 5704 (char *) "self", NULL
d14a1e28
RD
5705 };
5706
093d3ff1
RD
5707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconLocation_IsOk",kwnames,&obj0)) goto fail;
5708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconLocation, SWIG_POINTER_EXCEPTION | 0);
5709 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5710 {
5711 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5712 result = (bool)((wxIconLocation const *)arg1)->IsOk();
d14a1e28
RD
5713
5714 wxPyEndAllowThreads(__tstate);
110da5b0 5715 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5716 }
093d3ff1
RD
5717 {
5718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5719 }
d14a1e28
RD
5720 return resultobj;
5721 fail:
5722 return NULL;
5723}
5724
5725
093d3ff1 5726static PyObject *_wrap_IconLocation_SetFileName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5727 PyObject *resultobj = NULL;
093d3ff1
RD
5728 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
5729 wxString *arg2 = 0 ;
5730 bool temp2 = false ;
d14a1e28 5731 PyObject * obj0 = 0 ;
093d3ff1 5732 PyObject * obj1 = 0 ;
d14a1e28 5733 char *kwnames[] = {
093d3ff1 5734 (char *) "self",(char *) "filename", NULL
d14a1e28
RD
5735 };
5736
093d3ff1
RD
5737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconLocation_SetFileName",kwnames,&obj0,&obj1)) goto fail;
5738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconLocation, SWIG_POINTER_EXCEPTION | 0);
5739 if (SWIG_arg_fail(1)) SWIG_fail;
5740 {
5741 arg2 = wxString_in_helper(obj1);
5742 if (arg2 == NULL) SWIG_fail;
5743 temp2 = true;
d14a1e28
RD
5744 }
5745 {
5746 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5747 (arg1)->SetFileName((wxString const &)*arg2);
d14a1e28
RD
5748
5749 wxPyEndAllowThreads(__tstate);
110da5b0 5750 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5751 }
093d3ff1
RD
5752 Py_INCREF(Py_None); resultobj = Py_None;
5753 {
5754 if (temp2)
5755 delete arg2;
5756 }
d14a1e28
RD
5757 return resultobj;
5758 fail:
093d3ff1
RD
5759 {
5760 if (temp2)
5761 delete arg2;
5762 }
d14a1e28
RD
5763 return NULL;
5764}
5765
5766
093d3ff1 5767static PyObject *_wrap_IconLocation_GetFileName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5768 PyObject *resultobj = NULL;
093d3ff1
RD
5769 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
5770 wxString *result;
d14a1e28
RD
5771 PyObject * obj0 = 0 ;
5772 char *kwnames[] = {
5773 (char *) "self", NULL
5774 };
5775
093d3ff1
RD
5776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconLocation_GetFileName",kwnames,&obj0)) goto fail;
5777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconLocation, SWIG_POINTER_EXCEPTION | 0);
5778 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5779 {
5780 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1
RD
5781 {
5782 wxString const &_result_ref = ((wxIconLocation const *)arg1)->GetFileName();
5783 result = (wxString *) &_result_ref;
5784 }
d14a1e28
RD
5785
5786 wxPyEndAllowThreads(__tstate);
5787 if (PyErr_Occurred()) SWIG_fail;
5788 }
4f89f6a3 5789 {
093d3ff1
RD
5790#if wxUSE_UNICODE
5791 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5792#else
5793 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5794#endif
4f89f6a3 5795 }
d14a1e28
RD
5796 return resultobj;
5797 fail:
5798 return NULL;
5799}
5800
5801
093d3ff1 5802static PyObject *_wrap_IconLocation_SetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5803 PyObject *resultobj = NULL;
093d3ff1
RD
5804 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
5805 int arg2 ;
994141e6
RD
5806 PyObject * obj0 = 0 ;
5807 PyObject * obj1 = 0 ;
d14a1e28 5808 char *kwnames[] = {
093d3ff1 5809 (char *) "self",(char *) "num", NULL
d14a1e28
RD
5810 };
5811
093d3ff1
RD
5812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconLocation_SetIndex",kwnames,&obj0,&obj1)) goto fail;
5813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconLocation, SWIG_POINTER_EXCEPTION | 0);
5814 if (SWIG_arg_fail(1)) SWIG_fail;
5815 {
32fe5131 5816 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 5817 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 5818 }
d14a1e28
RD
5819 {
5820 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5821 wxIconLocation_SetIndex(arg1,arg2);
d14a1e28
RD
5822
5823 wxPyEndAllowThreads(__tstate);
110da5b0 5824 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5825 }
093d3ff1 5826 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
5827 return resultobj;
5828 fail:
5829 return NULL;
5830}
5831
5832
093d3ff1 5833static PyObject *_wrap_IconLocation_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5834 PyObject *resultobj = NULL;
093d3ff1
RD
5835 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
5836 int result;
e6ffcedd
RD
5837 PyObject * obj0 = 0 ;
5838 char *kwnames[] = {
093d3ff1 5839 (char *) "self", NULL
e6ffcedd
RD
5840 };
5841
093d3ff1
RD
5842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconLocation_GetIndex",kwnames,&obj0)) goto fail;
5843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconLocation, SWIG_POINTER_EXCEPTION | 0);
5844 if (SWIG_arg_fail(1)) SWIG_fail;
e6ffcedd 5845 {
e6ffcedd 5846 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5847 result = (int)wxIconLocation_GetIndex(arg1);
e6ffcedd
RD
5848
5849 wxPyEndAllowThreads(__tstate);
110da5b0 5850 if (PyErr_Occurred()) SWIG_fail;
e6ffcedd 5851 }
093d3ff1 5852 {
32fe5131 5853 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 5854 }
e6ffcedd
RD
5855 return resultobj;
5856 fail:
5857 return NULL;
5858}
5859
5860
093d3ff1
RD
5861static PyObject * IconLocation_swigregister(PyObject *, PyObject *args) {
5862 PyObject *obj;
5863 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5864 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation, obj);
5865 Py_INCREF(obj);
5866 return Py_BuildValue((char *)"");
5867}
5868static PyObject *_wrap_new_IconBundle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5869 PyObject *resultobj = NULL;
093d3ff1 5870 wxIconBundle *result;
d14a1e28 5871 char *kwnames[] = {
093d3ff1 5872 NULL
d14a1e28
RD
5873 };
5874
093d3ff1 5875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IconBundle",kwnames)) goto fail;
d14a1e28
RD
5876 {
5877 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5878 result = (wxIconBundle *)new wxIconBundle();
d14a1e28
RD
5879
5880 wxPyEndAllowThreads(__tstate);
110da5b0 5881 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5882 }
093d3ff1 5883 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconBundle, 1);
d14a1e28
RD
5884 return resultobj;
5885 fail:
5886 return NULL;
5887}
5888
5889
093d3ff1 5890static PyObject *_wrap_new_IconBundleFromFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5891 PyObject *resultobj = NULL;
093d3ff1
RD
5892 wxString *arg1 = 0 ;
5893 long arg2 ;
5894 wxIconBundle *result;
5895 bool temp1 = false ;
d14a1e28 5896 PyObject * obj0 = 0 ;
994141e6 5897 PyObject * obj1 = 0 ;
d14a1e28 5898 char *kwnames[] = {
093d3ff1 5899 (char *) "file",(char *) "type", NULL
d14a1e28
RD
5900 };
5901
093d3ff1 5902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_IconBundleFromFile",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 5903 {
093d3ff1
RD
5904 arg1 = wxString_in_helper(obj0);
5905 if (arg1 == NULL) SWIG_fail;
5906 temp1 = true;
d14a1e28 5907 }
093d3ff1 5908 {
32fe5131 5909 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1 5910 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 5911 }
d14a1e28
RD
5912 {
5913 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5914 result = (wxIconBundle *)new wxIconBundle((wxString const &)*arg1,arg2);
d14a1e28
RD
5915
5916 wxPyEndAllowThreads(__tstate);
110da5b0 5917 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5918 }
093d3ff1 5919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconBundle, 1);
d14a1e28 5920 {
093d3ff1
RD
5921 if (temp1)
5922 delete arg1;
d14a1e28
RD
5923 }
5924 return resultobj;
5925 fail:
5926 {
093d3ff1
RD
5927 if (temp1)
5928 delete arg1;
d14a1e28
RD
5929 }
5930 return NULL;
5931}
5932
5933
093d3ff1 5934static PyObject *_wrap_new_IconBundleFromIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5935 PyObject *resultobj = NULL;
093d3ff1
RD
5936 wxIcon *arg1 = 0 ;
5937 wxIconBundle *result;
d14a1e28
RD
5938 PyObject * obj0 = 0 ;
5939 char *kwnames[] = {
093d3ff1 5940 (char *) "icon", NULL
d14a1e28
RD
5941 };
5942
093d3ff1
RD
5943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconBundleFromIcon",kwnames,&obj0)) goto fail;
5944 {
5945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
5946 if (SWIG_arg_fail(1)) SWIG_fail;
5947 if (arg1 == NULL) {
5948 SWIG_null_ref("wxIcon");
5949 }
5950 if (SWIG_arg_fail(1)) SWIG_fail;
5951 }
d14a1e28
RD
5952 {
5953 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5954 result = (wxIconBundle *)new wxIconBundle((wxIcon const &)*arg1);
d14a1e28
RD
5955
5956 wxPyEndAllowThreads(__tstate);
5957 if (PyErr_Occurred()) SWIG_fail;
5958 }
093d3ff1 5959 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconBundle, 1);
d14a1e28
RD
5960 return resultobj;
5961 fail:
5962 return NULL;
5963}
5964
5965
093d3ff1 5966static PyObject *_wrap_delete_IconBundle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5967 PyObject *resultobj = NULL;
093d3ff1 5968 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
d14a1e28
RD
5969 PyObject * obj0 = 0 ;
5970 char *kwnames[] = {
5971 (char *) "self", NULL
5972 };
5973
093d3ff1
RD
5974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_IconBundle",kwnames,&obj0)) goto fail;
5975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
5976 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5977 {
5978 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5979 delete arg1;
d14a1e28
RD
5980
5981 wxPyEndAllowThreads(__tstate);
5982 if (PyErr_Occurred()) SWIG_fail;
5983 }
5984 Py_INCREF(Py_None); resultobj = Py_None;
5985 return resultobj;
5986 fail:
5987 return NULL;
5988}
5989
5990
093d3ff1 5991static PyObject *_wrap_IconBundle_AddIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5992 PyObject *resultobj = NULL;
093d3ff1
RD
5993 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
5994 wxIcon *arg2 = 0 ;
d14a1e28 5995 PyObject * obj0 = 0 ;
994141e6 5996 PyObject * obj1 = 0 ;
d14a1e28 5997 char *kwnames[] = {
093d3ff1 5998 (char *) "self",(char *) "icon", NULL
d14a1e28
RD
5999 };
6000
093d3ff1
RD
6001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconBundle_AddIcon",kwnames,&obj0,&obj1)) goto fail;
6002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
6003 if (SWIG_arg_fail(1)) SWIG_fail;
6004 {
6005 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
6006 if (SWIG_arg_fail(2)) SWIG_fail;
6007 if (arg2 == NULL) {
6008 SWIG_null_ref("wxIcon");
6009 }
6010 if (SWIG_arg_fail(2)) SWIG_fail;
6011 }
d14a1e28
RD
6012 {
6013 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6014 (arg1)->AddIcon((wxIcon const &)*arg2);
d14a1e28
RD
6015
6016 wxPyEndAllowThreads(__tstate);
6017 if (PyErr_Occurred()) SWIG_fail;
6018 }
093d3ff1 6019 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
6020 return resultobj;
6021 fail:
6022 return NULL;
6023}
6024
6025
093d3ff1 6026static PyObject *_wrap_IconBundle_AddIconFromFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6027 PyObject *resultobj = NULL;
093d3ff1
RD
6028 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
6029 wxString *arg2 = 0 ;
6030 long arg3 ;
6031 bool temp2 = false ;
d14a1e28 6032 PyObject * obj0 = 0 ;
994141e6
RD
6033 PyObject * obj1 = 0 ;
6034 PyObject * obj2 = 0 ;
d14a1e28 6035 char *kwnames[] = {
093d3ff1 6036 (char *) "self",(char *) "file",(char *) "type", NULL
d14a1e28
RD
6037 };
6038
093d3ff1
RD
6039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IconBundle_AddIconFromFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
6041 if (SWIG_arg_fail(1)) SWIG_fail;
6042 {
6043 arg2 = wxString_in_helper(obj1);
6044 if (arg2 == NULL) SWIG_fail;
6045 temp2 = true;
6046 }
6047 {
32fe5131 6048 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
6049 if (SWIG_arg_fail(3)) SWIG_fail;
6050 }
d14a1e28
RD
6051 {
6052 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6053 (arg1)->AddIcon((wxString const &)*arg2,arg3);
d14a1e28
RD
6054
6055 wxPyEndAllowThreads(__tstate);
6056 if (PyErr_Occurred()) SWIG_fail;
6057 }
093d3ff1
RD
6058 Py_INCREF(Py_None); resultobj = Py_None;
6059 {
6060 if (temp2)
6061 delete arg2;
6062 }
d14a1e28
RD
6063 return resultobj;
6064 fail:
093d3ff1
RD
6065 {
6066 if (temp2)
6067 delete arg2;
6068 }
d14a1e28
RD
6069 return NULL;
6070}
6071
6072
093d3ff1 6073static PyObject *_wrap_IconBundle_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6074 PyObject *resultobj = NULL;
093d3ff1
RD
6075 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
6076 wxSize *arg2 = 0 ;
6077 wxIcon *result;
6078 wxSize temp2 ;
d14a1e28
RD
6079 PyObject * obj0 = 0 ;
6080 PyObject * obj1 = 0 ;
6081 char *kwnames[] = {
093d3ff1 6082 (char *) "self",(char *) "size", NULL
d14a1e28
RD
6083 };
6084
093d3ff1
RD
6085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconBundle_GetIcon",kwnames,&obj0,&obj1)) goto fail;
6086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
6087 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6088 {
6089 arg2 = &temp2;
093d3ff1 6090 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
6091 }
6092 {
6093 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1
RD
6094 {
6095 wxIcon const &_result_ref = ((wxIconBundle const *)arg1)->GetIcon((wxSize const &)*arg2);
6096 result = (wxIcon *) &_result_ref;
6097 }
d14a1e28
RD
6098
6099 wxPyEndAllowThreads(__tstate);
6100 if (PyErr_Occurred()) SWIG_fail;
6101 }
093d3ff1
RD
6102 {
6103 wxIcon* resultptr = new wxIcon(*result);
6104 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxIcon, 1);
6105 }
d14a1e28
RD
6106 return resultobj;
6107 fail:
6108 return NULL;
6109}
6110
6111
093d3ff1
RD
6112static PyObject * IconBundle_swigregister(PyObject *, PyObject *args) {
6113 PyObject *obj;
6114 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6115 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle, obj);
6116 Py_INCREF(obj);
6117 return Py_BuildValue((char *)"");
6118}
6119static PyObject *_wrap_new_Cursor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6120 PyObject *resultobj = NULL;
7557b9b5 6121 wxString *arg1 = 0 ;
093d3ff1
RD
6122 long arg2 ;
6123 int arg3 = (int) 0 ;
6124 int arg4 = (int) 0 ;
6125 wxCursor *result;
6126 bool temp1 = false ;
d14a1e28
RD
6127 PyObject * obj0 = 0 ;
6128 PyObject * obj1 = 0 ;
093d3ff1
RD
6129 PyObject * obj2 = 0 ;
6130 PyObject * obj3 = 0 ;
d14a1e28 6131 char *kwnames[] = {
093d3ff1 6132 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
d14a1e28
RD
6133 };
6134
093d3ff1 6135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_Cursor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 6136 {
093d3ff1
RD
6137 arg1 = wxString_in_helper(obj0);
6138 if (arg1 == NULL) SWIG_fail;
6139 temp1 = true;
6140 }
6141 {
32fe5131 6142 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
6143 if (SWIG_arg_fail(2)) SWIG_fail;
6144 }
6145 if (obj2) {
6146 {
32fe5131 6147 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
6148 if (SWIG_arg_fail(3)) SWIG_fail;
6149 }
6150 }
6151 if (obj3) {
6152 {
32fe5131 6153 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
6154 if (SWIG_arg_fail(4)) SWIG_fail;
6155 }
d14a1e28
RD
6156 }
6157 {
093d3ff1 6158 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 6159 PyThreadState* __tstate = wxPyBeginAllowThreads();
7557b9b5 6160 result = (wxCursor *)new_wxCursor((wxString const &)*arg1,arg2,arg3,arg4);
d14a1e28
RD
6161
6162 wxPyEndAllowThreads(__tstate);
6163 if (PyErr_Occurred()) SWIG_fail;
6164 }
093d3ff1
RD
6165 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCursor, 1);
6166 {
6167 if (temp1)
6168 delete arg1;
6169 }
d14a1e28
RD
6170 return resultobj;
6171 fail:
093d3ff1
RD
6172 {
6173 if (temp1)
6174 delete arg1;
6175 }
d14a1e28
RD
6176 return NULL;
6177}
6178
6179
093d3ff1 6180static PyObject *_wrap_delete_Cursor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6181 PyObject *resultobj = NULL;
093d3ff1 6182 wxCursor *arg1 = (wxCursor *) 0 ;
d14a1e28
RD
6183 PyObject * obj0 = 0 ;
6184 char *kwnames[] = {
093d3ff1 6185 (char *) "self", NULL
d14a1e28
RD
6186 };
6187
093d3ff1
RD
6188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Cursor",kwnames,&obj0)) goto fail;
6189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
6190 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6191 {
6192 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6193 delete arg1;
d14a1e28
RD
6194
6195 wxPyEndAllowThreads(__tstate);
6196 if (PyErr_Occurred()) SWIG_fail;
6197 }
093d3ff1 6198 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
6199 return resultobj;
6200 fail:
6201 return NULL;
6202}
6203
6204
093d3ff1 6205static PyObject *_wrap_new_StockCursor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6206 PyObject *resultobj = NULL;
093d3ff1
RD
6207 int arg1 ;
6208 wxCursor *result;
d14a1e28
RD
6209 PyObject * obj0 = 0 ;
6210 char *kwnames[] = {
093d3ff1 6211 (char *) "id", NULL
d14a1e28
RD
6212 };
6213
093d3ff1
RD
6214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_StockCursor",kwnames,&obj0)) goto fail;
6215 {
32fe5131 6216 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
6217 if (SWIG_arg_fail(1)) SWIG_fail;
6218 }
d14a1e28 6219 {
093d3ff1 6220 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 6221 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6222 result = (wxCursor *)new wxCursor(arg1);
d14a1e28
RD
6223
6224 wxPyEndAllowThreads(__tstate);
6225 if (PyErr_Occurred()) SWIG_fail;
6226 }
093d3ff1 6227 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCursor, 1);
d14a1e28
RD
6228 return resultobj;
6229 fail:
6230 return NULL;
6231}
6232
6233
093d3ff1 6234static PyObject *_wrap_new_CursorFromImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6235 PyObject *resultobj = NULL;
093d3ff1
RD
6236 wxImage *arg1 = 0 ;
6237 wxCursor *result;
d14a1e28
RD
6238 PyObject * obj0 = 0 ;
6239 char *kwnames[] = {
093d3ff1 6240 (char *) "image", NULL
d14a1e28
RD
6241 };
6242
093d3ff1
RD
6243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CursorFromImage",kwnames,&obj0)) goto fail;
6244 {
6245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
6246 if (SWIG_arg_fail(1)) SWIG_fail;
6247 if (arg1 == NULL) {
6248 SWIG_null_ref("wxImage");
6249 }
6250 if (SWIG_arg_fail(1)) SWIG_fail;
6251 }
d14a1e28 6252 {
093d3ff1 6253 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 6254 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6255 result = (wxCursor *)new wxCursor((wxImage const &)*arg1);
d14a1e28
RD
6256
6257 wxPyEndAllowThreads(__tstate);
6258 if (PyErr_Occurred()) SWIG_fail;
6259 }
093d3ff1 6260 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCursor, 1);
d14a1e28
RD
6261 return resultobj;
6262 fail:
6263 return NULL;
6264}
6265
6266
093d3ff1 6267static PyObject *_wrap_Cursor_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6268 PyObject *resultobj = NULL;
093d3ff1 6269 wxCursor *arg1 = (wxCursor *) 0 ;
d14a1e28 6270 bool result;
d14a1e28 6271 PyObject * obj0 = 0 ;
d14a1e28 6272 char *kwnames[] = {
093d3ff1 6273 (char *) "self", NULL
d14a1e28
RD
6274 };
6275
093d3ff1
RD
6276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Cursor_Ok",kwnames,&obj0)) goto fail;
6277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
6278 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6279 {
6280 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6281 result = (bool)(arg1)->Ok();
d14a1e28
RD
6282
6283 wxPyEndAllowThreads(__tstate);
6284 if (PyErr_Occurred()) SWIG_fail;
6285 }
4f89f6a3
RD
6286 {
6287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6288 }
d14a1e28
RD
6289 return resultobj;
6290 fail:
6291 return NULL;
6292}
6293
6294
093d3ff1
RD
6295static PyObject * Cursor_swigregister(PyObject *, PyObject *args) {
6296 PyObject *obj;
6297 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6298 SWIG_TypeClientData(SWIGTYPE_p_wxCursor, obj);
6299 Py_INCREF(obj);
6300 return Py_BuildValue((char *)"");
6301}
6302static PyObject *_wrap_new_Region(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6303 PyObject *resultobj = NULL;
093d3ff1
RD
6304 int arg1 = (int) 0 ;
6305 int arg2 = (int) 0 ;
6306 int arg3 = (int) 0 ;
6307 int arg4 = (int) 0 ;
6308 wxRegion *result;
d14a1e28
RD
6309 PyObject * obj0 = 0 ;
6310 PyObject * obj1 = 0 ;
093d3ff1
RD
6311 PyObject * obj2 = 0 ;
6312 PyObject * obj3 = 0 ;
d14a1e28 6313 char *kwnames[] = {
093d3ff1 6314 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
d14a1e28
RD
6315 };
6316
093d3ff1
RD
6317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Region",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6318 if (obj0) {
6319 {
32fe5131 6320 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
6321 if (SWIG_arg_fail(1)) SWIG_fail;
6322 }
6323 }
6324 if (obj1) {
6325 {
32fe5131 6326 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6327 if (SWIG_arg_fail(2)) SWIG_fail;
6328 }
6329 }
6330 if (obj2) {
6331 {
32fe5131 6332 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
6333 if (SWIG_arg_fail(3)) SWIG_fail;
6334 }
6335 }
6336 if (obj3) {
6337 {
32fe5131 6338 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
6339 if (SWIG_arg_fail(4)) SWIG_fail;
6340 }
d14a1e28
RD
6341 }
6342 {
093d3ff1 6343 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 6344 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6345 result = (wxRegion *)new wxRegion(arg1,arg2,arg3,arg4);
d14a1e28
RD
6346
6347 wxPyEndAllowThreads(__tstate);
6348 if (PyErr_Occurred()) SWIG_fail;
6349 }
093d3ff1 6350 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 1);
d14a1e28
RD
6351 return resultobj;
6352 fail:
6353 return NULL;
6354}
6355
6356
093d3ff1 6357static PyObject *_wrap_new_RegionFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6358 PyObject *resultobj = NULL;
093d3ff1
RD
6359 wxBitmap *arg1 = 0 ;
6360 wxRegion *result;
d14a1e28
RD
6361 PyObject * obj0 = 0 ;
6362 char *kwnames[] = {
093d3ff1 6363 (char *) "bmp", NULL
d14a1e28
RD
6364 };
6365
093d3ff1
RD
6366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_RegionFromBitmap",kwnames,&obj0)) goto fail;
6367 {
6368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6369 if (SWIG_arg_fail(1)) SWIG_fail;
6370 if (arg1 == NULL) {
6371 SWIG_null_ref("wxBitmap");
6372 }
6373 if (SWIG_arg_fail(1)) SWIG_fail;
6374 }
d14a1e28 6375 {
093d3ff1 6376 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 6377 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6378 result = (wxRegion *)new wxRegion((wxBitmap const &)*arg1);
d14a1e28
RD
6379
6380 wxPyEndAllowThreads(__tstate);
6381 if (PyErr_Occurred()) SWIG_fail;
6382 }
093d3ff1 6383 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 1);
d14a1e28
RD
6384 return resultobj;
6385 fail:
6386 return NULL;
6387}
6388
6389
093d3ff1 6390static PyObject *_wrap_new_RegionFromBitmapColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6391 PyObject *resultobj = NULL;
093d3ff1
RD
6392 wxBitmap *arg1 = 0 ;
6393 wxColour *arg2 = 0 ;
6394 int arg3 = (int) 0 ;
6395 wxRegion *result;
6396 wxColour temp2 ;
d14a1e28 6397 PyObject * obj0 = 0 ;
994141e6
RD
6398 PyObject * obj1 = 0 ;
6399 PyObject * obj2 = 0 ;
d14a1e28 6400 char *kwnames[] = {
093d3ff1 6401 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
d14a1e28
RD
6402 };
6403
093d3ff1
RD
6404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_RegionFromBitmapColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6405 {
6406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6407 if (SWIG_arg_fail(1)) SWIG_fail;
6408 if (arg1 == NULL) {
6409 SWIG_null_ref("wxBitmap");
6410 }
6411 if (SWIG_arg_fail(1)) SWIG_fail;
6412 }
6413 {
6414 arg2 = &temp2;
6415 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6416 }
6417 if (obj2) {
6418 {
32fe5131 6419 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
6420 if (SWIG_arg_fail(3)) SWIG_fail;
6421 }
6422 }
d14a1e28 6423 {
093d3ff1 6424 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 6425 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6426 result = (wxRegion *)new wxRegion((wxBitmap const &)*arg1,(wxColour const &)*arg2,arg3);
d14a1e28
RD
6427
6428 wxPyEndAllowThreads(__tstate);
6429 if (PyErr_Occurred()) SWIG_fail;
6430 }
093d3ff1 6431 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 1);
d14a1e28
RD
6432 return resultobj;
6433 fail:
6434 return NULL;
6435}
6436
6437
093d3ff1 6438static PyObject *_wrap_new_RegionFromPoints(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6439 PyObject *resultobj = NULL;
093d3ff1
RD
6440 int arg1 ;
6441 wxPoint *arg2 = (wxPoint *) 0 ;
6442 int arg3 = (int) wxWINDING_RULE ;
6443 wxRegion *result;
d14a1e28
RD
6444 PyObject * obj0 = 0 ;
6445 PyObject * obj1 = 0 ;
6446 char *kwnames[] = {
093d3ff1 6447 (char *) "points",(char *) "fillStyle", NULL
d14a1e28
RD
6448 };
6449
093d3ff1 6450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_RegionFromPoints",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 6451 {
093d3ff1
RD
6452 arg2 = wxPoint_LIST_helper(obj0, &arg1);
6453 if (arg2 == NULL) SWIG_fail;
6454 }
6455 if (obj1) {
6456 {
32fe5131 6457 arg3 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6458 if (SWIG_arg_fail(3)) SWIG_fail;
6459 }
d14a1e28
RD
6460 }
6461 {
093d3ff1 6462 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 6463 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6464 result = (wxRegion *)new wxRegion(arg1,arg2,arg3);
d14a1e28
RD
6465
6466 wxPyEndAllowThreads(__tstate);
6467 if (PyErr_Occurred()) SWIG_fail;
6468 }
093d3ff1 6469 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 1);
4f89f6a3 6470 {
093d3ff1 6471 if (arg2) delete [] arg2;
4f89f6a3 6472 }
d14a1e28
RD
6473 return resultobj;
6474 fail:
093d3ff1
RD
6475 {
6476 if (arg2) delete [] arg2;
6477 }
d14a1e28
RD
6478 return NULL;
6479}
6480
6481
093d3ff1 6482static PyObject *_wrap_delete_Region(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6483 PyObject *resultobj = NULL;
d14a1e28 6484 wxRegion *arg1 = (wxRegion *) 0 ;
d14a1e28 6485 PyObject * obj0 = 0 ;
d14a1e28 6486 char *kwnames[] = {
093d3ff1 6487 (char *) "self", NULL
d14a1e28
RD
6488 };
6489
093d3ff1
RD
6490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Region",kwnames,&obj0)) goto fail;
6491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
6492 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6493 {
6494 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6495 delete arg1;
d14a1e28
RD
6496
6497 wxPyEndAllowThreads(__tstate);
6498 if (PyErr_Occurred()) SWIG_fail;
6499 }
093d3ff1 6500 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
6501 return resultobj;
6502 fail:
6503 return NULL;
6504}
6505
6506
093d3ff1 6507static PyObject *_wrap_Region_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6508 PyObject *resultobj = NULL;
d14a1e28 6509 wxRegion *arg1 = (wxRegion *) 0 ;
d14a1e28
RD
6510 PyObject * obj0 = 0 ;
6511 char *kwnames[] = {
093d3ff1 6512 (char *) "self", NULL
d14a1e28
RD
6513 };
6514
093d3ff1
RD
6515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_Clear",kwnames,&obj0)) goto fail;
6516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
6517 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6518 {
6519 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6520 (arg1)->Clear();
d14a1e28
RD
6521
6522 wxPyEndAllowThreads(__tstate);
6523 if (PyErr_Occurred()) SWIG_fail;
6524 }
093d3ff1 6525 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
6526 return resultobj;
6527 fail:
6528 return NULL;
6529}
6530
6531
093d3ff1 6532static PyObject *_wrap_Region_Offset(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6533 PyObject *resultobj = NULL;
d14a1e28 6534 wxRegion *arg1 = (wxRegion *) 0 ;
093d3ff1
RD
6535 int arg2 ;
6536 int arg3 ;
d14a1e28 6537 bool result;
d14a1e28
RD
6538 PyObject * obj0 = 0 ;
6539 PyObject * obj1 = 0 ;
093d3ff1 6540 PyObject * obj2 = 0 ;
d14a1e28 6541 char *kwnames[] = {
093d3ff1 6542 (char *) "self",(char *) "x",(char *) "y", NULL
d14a1e28
RD
6543 };
6544
093d3ff1
RD
6545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Region_Offset",kwnames,&obj0,&obj1,&obj2)) goto fail;
6546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
6547 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 6548 {
32fe5131 6549 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6550 if (SWIG_arg_fail(2)) SWIG_fail;
6551 }
6552 {
32fe5131 6553 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1 6554 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
6555 }
6556 {
6557 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6558 result = (bool)(arg1)->Offset(arg2,arg3);
d14a1e28
RD
6559
6560 wxPyEndAllowThreads(__tstate);
6561 if (PyErr_Occurred()) SWIG_fail;
6562 }
4f89f6a3
RD
6563 {
6564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6565 }
d14a1e28
RD
6566 return resultobj;
6567 fail:
6568 return NULL;
6569}
6570
6571
093d3ff1 6572static PyObject *_wrap_Region_Contains(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6573 PyObject *resultobj = NULL;
d14a1e28 6574 wxRegion *arg1 = (wxRegion *) 0 ;
093d3ff1
RD
6575 int arg2 ;
6576 int arg3 ;
6577 wxRegionContain result;
d14a1e28
RD
6578 PyObject * obj0 = 0 ;
6579 PyObject * obj1 = 0 ;
093d3ff1 6580 PyObject * obj2 = 0 ;
d14a1e28 6581 char *kwnames[] = {
093d3ff1 6582 (char *) "self",(char *) "x",(char *) "y", NULL
d14a1e28
RD
6583 };
6584
093d3ff1
RD
6585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Region_Contains",kwnames,&obj0,&obj1,&obj2)) goto fail;
6586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
6587 if (SWIG_arg_fail(1)) SWIG_fail;
6588 {
32fe5131 6589 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6590 if (SWIG_arg_fail(2)) SWIG_fail;
6591 }
6592 {
32fe5131 6593 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1 6594 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
6595 }
6596 {
6597 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6598 result = (wxRegionContain)(arg1)->Contains(arg2,arg3);
d14a1e28
RD
6599
6600 wxPyEndAllowThreads(__tstate);
6601 if (PyErr_Occurred()) SWIG_fail;
6602 }
093d3ff1 6603 resultobj = SWIG_From_int((result));
d14a1e28
RD
6604 return resultobj;
6605 fail:
6606 return NULL;
6607}
6608
6609
093d3ff1 6610static PyObject *_wrap_Region_ContainsPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6611 PyObject *resultobj = NULL;
d14a1e28 6612 wxRegion *arg1 = (wxRegion *) 0 ;
093d3ff1
RD
6613 wxPoint *arg2 = 0 ;
6614 wxRegionContain result;
6615 wxPoint temp2 ;
d14a1e28 6616 PyObject * obj0 = 0 ;
994141e6 6617 PyObject * obj1 = 0 ;
d14a1e28 6618 char *kwnames[] = {
093d3ff1 6619 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
6620 };
6621
093d3ff1
RD
6622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_ContainsPoint",kwnames,&obj0,&obj1)) goto fail;
6623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
6624 if (SWIG_arg_fail(1)) SWIG_fail;
6625 {
6626 arg2 = &temp2;
6627 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6628 }
d14a1e28
RD
6629 {
6630 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6631 result = (wxRegionContain)(arg1)->Contains((wxPoint const &)*arg2);
d14a1e28
RD
6632
6633 wxPyEndAllowThreads(__tstate);
6634 if (PyErr_Occurred()) SWIG_fail;
6635 }
093d3ff1 6636 resultobj = SWIG_From_int((result));
d14a1e28
RD
6637 return resultobj;
6638 fail:
6639 return NULL;
6640}
6641
6642
093d3ff1 6643static PyObject *_wrap_Region_ContainsRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6644 PyObject *resultobj = NULL;
d14a1e28
RD
6645 wxRegion *arg1 = (wxRegion *) 0 ;
6646 wxRect *arg2 = 0 ;
093d3ff1 6647 wxRegionContain result;
d14a1e28
RD
6648 wxRect temp2 ;
6649 PyObject * obj0 = 0 ;
6650 PyObject * obj1 = 0 ;
6651 char *kwnames[] = {
6652 (char *) "self",(char *) "rect", NULL
6653 };
6654
093d3ff1
RD
6655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_ContainsRect",kwnames,&obj0,&obj1)) goto fail;
6656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
6657 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6658 {
6659 arg2 = &temp2;
6660 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6661 }
6662 {
6663 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6664 result = (wxRegionContain)(arg1)->Contains((wxRect const &)*arg2);
d14a1e28
RD
6665
6666 wxPyEndAllowThreads(__tstate);
6667 if (PyErr_Occurred()) SWIG_fail;
6668 }
093d3ff1 6669 resultobj = SWIG_From_int((result));
d14a1e28
RD
6670 return resultobj;
6671 fail:
6672 return NULL;
6673}
6674
6675
093d3ff1 6676static PyObject *_wrap_Region_ContainsRectDim(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6677 PyObject *resultobj = NULL;
d14a1e28 6678 wxRegion *arg1 = (wxRegion *) 0 ;
093d3ff1
RD
6679 int arg2 ;
6680 int arg3 ;
6681 int arg4 ;
6682 int arg5 ;
6683 wxRegionContain result;
d14a1e28
RD
6684 PyObject * obj0 = 0 ;
6685 PyObject * obj1 = 0 ;
093d3ff1
RD
6686 PyObject * obj2 = 0 ;
6687 PyObject * obj3 = 0 ;
6688 PyObject * obj4 = 0 ;
d14a1e28 6689 char *kwnames[] = {
093d3ff1 6690 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
d14a1e28
RD
6691 };
6692
093d3ff1
RD
6693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_ContainsRectDim",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
6695 if (SWIG_arg_fail(1)) SWIG_fail;
6696 {
32fe5131 6697 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6698 if (SWIG_arg_fail(2)) SWIG_fail;
6699 }
6700 {
32fe5131 6701 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
6702 if (SWIG_arg_fail(3)) SWIG_fail;
6703 }
6704 {
32fe5131 6705 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
6706 if (SWIG_arg_fail(4)) SWIG_fail;
6707 }
6708 {
32fe5131 6709 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1 6710 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
6711 }
6712 {
6713 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6714 result = (wxRegionContain)(arg1)->Contains(arg2,arg3,arg4,arg5);
d14a1e28
RD
6715
6716 wxPyEndAllowThreads(__tstate);
6717 if (PyErr_Occurred()) SWIG_fail;
6718 }
093d3ff1 6719 resultobj = SWIG_From_int((result));
d14a1e28
RD
6720 return resultobj;
6721 fail:
6722 return NULL;
6723}
6724
6725
093d3ff1 6726static PyObject *_wrap_Region_GetBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6727 PyObject *resultobj = NULL;
d14a1e28 6728 wxRegion *arg1 = (wxRegion *) 0 ;
093d3ff1 6729 wxRect result;
d14a1e28
RD
6730 PyObject * obj0 = 0 ;
6731 char *kwnames[] = {
6732 (char *) "self", NULL
6733 };
6734
093d3ff1
RD
6735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_GetBox",kwnames,&obj0)) goto fail;
6736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
6737 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6738 {
6739 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6740 result = (arg1)->GetBox();
d14a1e28
RD
6741
6742 wxPyEndAllowThreads(__tstate);
6743 if (PyErr_Occurred()) SWIG_fail;
6744 }
6745 {
093d3ff1 6746 wxRect * resultptr;
32fe5131 6747 resultptr = new wxRect(static_cast<wxRect & >(result));
093d3ff1 6748 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
6749 }
6750 return resultobj;
6751 fail:
6752 return NULL;
6753}
6754
6755
093d3ff1 6756static PyObject *_wrap_Region_Intersect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6757 PyObject *resultobj = NULL;
d14a1e28 6758 wxRegion *arg1 = (wxRegion *) 0 ;
093d3ff1
RD
6759 int arg2 ;
6760 int arg3 ;
6761 int arg4 ;
6762 int arg5 ;
e6ffcedd
RD
6763 bool result;
6764 PyObject * obj0 = 0 ;
6765 PyObject * obj1 = 0 ;
093d3ff1
RD
6766 PyObject * obj2 = 0 ;
6767 PyObject * obj3 = 0 ;
6768 PyObject * obj4 = 0 ;
e6ffcedd 6769 char *kwnames[] = {
093d3ff1 6770 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
e6ffcedd
RD
6771 };
6772
093d3ff1
RD
6773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Intersect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
6775 if (SWIG_arg_fail(1)) SWIG_fail;
6776 {
32fe5131 6777 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6778 if (SWIG_arg_fail(2)) SWIG_fail;
6779 }
6780 {
32fe5131 6781 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
6782 if (SWIG_arg_fail(3)) SWIG_fail;
6783 }
6784 {
32fe5131 6785 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
6786 if (SWIG_arg_fail(4)) SWIG_fail;
6787 }
6788 {
32fe5131 6789 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1 6790 if (SWIG_arg_fail(5)) SWIG_fail;
e6ffcedd
RD
6791 }
6792 {
6793 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6794 result = (bool)(arg1)->Intersect(arg2,arg3,arg4,arg5);
e6ffcedd
RD
6795
6796 wxPyEndAllowThreads(__tstate);
6797 if (PyErr_Occurred()) SWIG_fail;
6798 }
6799 {
6800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6801 }
6802 return resultobj;
6803 fail:
6804 return NULL;
6805}
6806
6807
093d3ff1 6808static PyObject *_wrap_Region_IntersectRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6809 PyObject *resultobj = NULL;
e6ffcedd 6810 wxRegion *arg1 = (wxRegion *) 0 ;
093d3ff1 6811 wxRect *arg2 = 0 ;
d14a1e28 6812 bool result;
093d3ff1 6813 wxRect temp2 ;
d14a1e28
RD
6814 PyObject * obj0 = 0 ;
6815 PyObject * obj1 = 0 ;
d14a1e28 6816 char *kwnames[] = {
093d3ff1 6817 (char *) "self",(char *) "rect", NULL
d14a1e28
RD
6818 };
6819
093d3ff1
RD
6820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_IntersectRect",kwnames,&obj0,&obj1)) goto fail;
6821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
6822 if (SWIG_arg_fail(1)) SWIG_fail;
e6ffcedd 6823 {
093d3ff1
RD
6824 arg2 = &temp2;
6825 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
994141e6 6826 }
d14a1e28
RD
6827 {
6828 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6829 result = (bool)(arg1)->Intersect((wxRect const &)*arg2);
d14a1e28
RD
6830
6831 wxPyEndAllowThreads(__tstate);
6832 if (PyErr_Occurred()) SWIG_fail;
6833 }
4f89f6a3
RD
6834 {
6835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6836 }
d14a1e28
RD
6837 return resultobj;
6838 fail:
6839 return NULL;
6840}
6841
6842
093d3ff1 6843static PyObject *_wrap_Region_IntersectRegion(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6844 PyObject *resultobj = NULL;
093d3ff1
RD
6845 wxRegion *arg1 = (wxRegion *) 0 ;
6846 wxRegion *arg2 = 0 ;
6847 bool result;
d14a1e28 6848 PyObject * obj0 = 0 ;
093d3ff1 6849 PyObject * obj1 = 0 ;
d14a1e28 6850 char *kwnames[] = {
093d3ff1 6851 (char *) "self",(char *) "region", NULL
d14a1e28
RD
6852 };
6853
093d3ff1
RD
6854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_IntersectRegion",kwnames,&obj0,&obj1)) goto fail;
6855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
6856 if (SWIG_arg_fail(1)) SWIG_fail;
6857 {
6858 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
6859 if (SWIG_arg_fail(2)) SWIG_fail;
6860 if (arg2 == NULL) {
6861 SWIG_null_ref("wxRegion");
6862 }
6863 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6864 }
6865 {
6866 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6867 result = (bool)(arg1)->Intersect((wxRegion const &)*arg2);
d14a1e28
RD
6868
6869 wxPyEndAllowThreads(__tstate);
110da5b0 6870 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6871 }
093d3ff1
RD
6872 {
6873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6874 }
d14a1e28
RD
6875 return resultobj;
6876 fail:
6877 return NULL;
6878}
6879
6880
093d3ff1 6881static PyObject *_wrap_Region_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6882 PyObject *resultobj = NULL;
093d3ff1
RD
6883 wxRegion *arg1 = (wxRegion *) 0 ;
6884 bool result;
d14a1e28
RD
6885 PyObject * obj0 = 0 ;
6886 char *kwnames[] = {
6887 (char *) "self", NULL
6888 };
6889
093d3ff1
RD
6890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_IsEmpty",kwnames,&obj0)) goto fail;
6891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
6892 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6893 {
6894 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6895 result = (bool)(arg1)->IsEmpty();
d14a1e28
RD
6896
6897 wxPyEndAllowThreads(__tstate);
6898 if (PyErr_Occurred()) SWIG_fail;
6899 }
093d3ff1
RD
6900 {
6901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6902 }
d14a1e28
RD
6903 return resultobj;
6904 fail:
6905 return NULL;
6906}
6907
6908
093d3ff1 6909static PyObject *_wrap_Region_Union(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6910 PyObject *resultobj = NULL;
093d3ff1
RD
6911 wxRegion *arg1 = (wxRegion *) 0 ;
6912 int arg2 ;
6913 int arg3 ;
6914 int arg4 ;
6915 int arg5 ;
6916 bool result;
d14a1e28 6917 PyObject * obj0 = 0 ;
093d3ff1
RD
6918 PyObject * obj1 = 0 ;
6919 PyObject * obj2 = 0 ;
6920 PyObject * obj3 = 0 ;
6921 PyObject * obj4 = 0 ;
d14a1e28 6922 char *kwnames[] = {
093d3ff1 6923 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
d14a1e28
RD
6924 };
6925
093d3ff1
RD
6926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Union",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
6928 if (SWIG_arg_fail(1)) SWIG_fail;
6929 {
32fe5131 6930 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6931 if (SWIG_arg_fail(2)) SWIG_fail;
6932 }
6933 {
32fe5131 6934 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
6935 if (SWIG_arg_fail(3)) SWIG_fail;
6936 }
6937 {
32fe5131 6938 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
6939 if (SWIG_arg_fail(4)) SWIG_fail;
6940 }
6941 {
32fe5131 6942 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
6943 if (SWIG_arg_fail(5)) SWIG_fail;
6944 }
d14a1e28
RD
6945 {
6946 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6947 result = (bool)(arg1)->Union(arg2,arg3,arg4,arg5);
d14a1e28
RD
6948
6949 wxPyEndAllowThreads(__tstate);
6950 if (PyErr_Occurred()) SWIG_fail;
6951 }
093d3ff1
RD
6952 {
6953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6954 }
d14a1e28
RD
6955 return resultobj;
6956 fail:
6957 return NULL;
6958}
6959
6960
093d3ff1 6961static PyObject *_wrap_Region_UnionRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6962 PyObject *resultobj = NULL;
093d3ff1
RD
6963 wxRegion *arg1 = (wxRegion *) 0 ;
6964 wxRect *arg2 = 0 ;
6965 bool result;
6966 wxRect temp2 ;
6967 PyObject * obj0 = 0 ;
6968 PyObject * obj1 = 0 ;
6969 char *kwnames[] = {
6970 (char *) "self",(char *) "rect", NULL
d14a1e28
RD
6971 };
6972
093d3ff1
RD
6973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_UnionRect",kwnames,&obj0,&obj1)) goto fail;
6974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
6975 if (SWIG_arg_fail(1)) SWIG_fail;
6976 {
6977 arg2 = &temp2;
6978 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6979 }
d14a1e28
RD
6980 {
6981 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6982 result = (bool)(arg1)->Union((wxRect const &)*arg2);
d14a1e28
RD
6983
6984 wxPyEndAllowThreads(__tstate);
6985 if (PyErr_Occurred()) SWIG_fail;
6986 }
093d3ff1
RD
6987 {
6988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6989 }
d14a1e28
RD
6990 return resultobj;
6991 fail:
6992 return NULL;
6993}
6994
6995
093d3ff1 6996static PyObject *_wrap_Region_UnionRegion(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6997 PyObject *resultobj = NULL;
093d3ff1
RD
6998 wxRegion *arg1 = (wxRegion *) 0 ;
6999 wxRegion *arg2 = 0 ;
7000 bool result;
d14a1e28 7001 PyObject * obj0 = 0 ;
093d3ff1 7002 PyObject * obj1 = 0 ;
d14a1e28 7003 char *kwnames[] = {
093d3ff1 7004 (char *) "self",(char *) "region", NULL
d14a1e28
RD
7005 };
7006
093d3ff1
RD
7007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_UnionRegion",kwnames,&obj0,&obj1)) goto fail;
7008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7009 if (SWIG_arg_fail(1)) SWIG_fail;
7010 {
7011 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7012 if (SWIG_arg_fail(2)) SWIG_fail;
7013 if (arg2 == NULL) {
7014 SWIG_null_ref("wxRegion");
7015 }
7016 if (SWIG_arg_fail(2)) SWIG_fail;
7017 }
d14a1e28
RD
7018 {
7019 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7020 result = (bool)(arg1)->Union((wxRegion const &)*arg2);
d14a1e28
RD
7021
7022 wxPyEndAllowThreads(__tstate);
7023 if (PyErr_Occurred()) SWIG_fail;
7024 }
093d3ff1
RD
7025 {
7026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7027 }
d14a1e28
RD
7028 return resultobj;
7029 fail:
7030 return NULL;
7031}
7032
7033
093d3ff1 7034static PyObject *_wrap_Region_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7035 PyObject *resultobj = NULL;
093d3ff1
RD
7036 wxRegion *arg1 = (wxRegion *) 0 ;
7037 int arg2 ;
7038 int arg3 ;
7039 int arg4 ;
7040 int arg5 ;
7041 bool result;
d14a1e28 7042 PyObject * obj0 = 0 ;
093d3ff1
RD
7043 PyObject * obj1 = 0 ;
7044 PyObject * obj2 = 0 ;
7045 PyObject * obj3 = 0 ;
7046 PyObject * obj4 = 0 ;
d14a1e28 7047 char *kwnames[] = {
093d3ff1 7048 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
d14a1e28
RD
7049 };
7050
093d3ff1
RD
7051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Subtract",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7053 if (SWIG_arg_fail(1)) SWIG_fail;
7054 {
32fe5131 7055 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7056 if (SWIG_arg_fail(2)) SWIG_fail;
7057 }
7058 {
32fe5131 7059 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7060 if (SWIG_arg_fail(3)) SWIG_fail;
7061 }
7062 {
32fe5131 7063 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
7064 if (SWIG_arg_fail(4)) SWIG_fail;
7065 }
7066 {
32fe5131 7067 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
7068 if (SWIG_arg_fail(5)) SWIG_fail;
7069 }
d14a1e28
RD
7070 {
7071 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7072 result = (bool)(arg1)->Subtract(arg2,arg3,arg4,arg5);
d14a1e28
RD
7073
7074 wxPyEndAllowThreads(__tstate);
7075 if (PyErr_Occurred()) SWIG_fail;
7076 }
093d3ff1
RD
7077 {
7078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7079 }
d14a1e28
RD
7080 return resultobj;
7081 fail:
7082 return NULL;
7083}
7084
7085
093d3ff1 7086static PyObject *_wrap_Region_SubtractRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7087 PyObject *resultobj = NULL;
093d3ff1
RD
7088 wxRegion *arg1 = (wxRegion *) 0 ;
7089 wxRect *arg2 = 0 ;
7090 bool result;
7091 wxRect temp2 ;
d14a1e28 7092 PyObject * obj0 = 0 ;
093d3ff1 7093 PyObject * obj1 = 0 ;
d14a1e28 7094 char *kwnames[] = {
093d3ff1 7095 (char *) "self",(char *) "rect", NULL
d14a1e28
RD
7096 };
7097
093d3ff1
RD
7098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_SubtractRect",kwnames,&obj0,&obj1)) goto fail;
7099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7100 if (SWIG_arg_fail(1)) SWIG_fail;
7101 {
7102 arg2 = &temp2;
7103 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7104 }
d14a1e28
RD
7105 {
7106 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7107 result = (bool)(arg1)->Subtract((wxRect const &)*arg2);
d14a1e28
RD
7108
7109 wxPyEndAllowThreads(__tstate);
7110 if (PyErr_Occurred()) SWIG_fail;
7111 }
093d3ff1
RD
7112 {
7113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7114 }
d14a1e28
RD
7115 return resultobj;
7116 fail:
7117 return NULL;
7118}
7119
7120
093d3ff1 7121static PyObject *_wrap_Region_SubtractRegion(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7122 PyObject *resultobj = NULL;
093d3ff1
RD
7123 wxRegion *arg1 = (wxRegion *) 0 ;
7124 wxRegion *arg2 = 0 ;
7125 bool result;
d14a1e28 7126 PyObject * obj0 = 0 ;
093d3ff1 7127 PyObject * obj1 = 0 ;
d14a1e28 7128 char *kwnames[] = {
093d3ff1 7129 (char *) "self",(char *) "region", NULL
d14a1e28
RD
7130 };
7131
093d3ff1
RD
7132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_SubtractRegion",kwnames,&obj0,&obj1)) goto fail;
7133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7134 if (SWIG_arg_fail(1)) SWIG_fail;
7135 {
7136 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7137 if (SWIG_arg_fail(2)) SWIG_fail;
7138 if (arg2 == NULL) {
7139 SWIG_null_ref("wxRegion");
7140 }
7141 if (SWIG_arg_fail(2)) SWIG_fail;
7142 }
d14a1e28
RD
7143 {
7144 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7145 result = (bool)(arg1)->Subtract((wxRegion const &)*arg2);
d14a1e28
RD
7146
7147 wxPyEndAllowThreads(__tstate);
7148 if (PyErr_Occurred()) SWIG_fail;
7149 }
093d3ff1
RD
7150 {
7151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7152 }
d14a1e28
RD
7153 return resultobj;
7154 fail:
7155 return NULL;
7156}
7157
7158
093d3ff1 7159static PyObject *_wrap_Region_Xor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7160 PyObject *resultobj = NULL;
093d3ff1
RD
7161 wxRegion *arg1 = (wxRegion *) 0 ;
7162 int arg2 ;
7163 int arg3 ;
7164 int arg4 ;
7165 int arg5 ;
7166 bool result;
d14a1e28 7167 PyObject * obj0 = 0 ;
093d3ff1
RD
7168 PyObject * obj1 = 0 ;
7169 PyObject * obj2 = 0 ;
7170 PyObject * obj3 = 0 ;
7171 PyObject * obj4 = 0 ;
d14a1e28 7172 char *kwnames[] = {
093d3ff1 7173 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
d14a1e28
RD
7174 };
7175
093d3ff1
RD
7176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Xor",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7178 if (SWIG_arg_fail(1)) SWIG_fail;
7179 {
32fe5131 7180 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7181 if (SWIG_arg_fail(2)) SWIG_fail;
7182 }
7183 {
32fe5131 7184 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7185 if (SWIG_arg_fail(3)) SWIG_fail;
7186 }
7187 {
32fe5131 7188 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
7189 if (SWIG_arg_fail(4)) SWIG_fail;
7190 }
7191 {
32fe5131 7192 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
7193 if (SWIG_arg_fail(5)) SWIG_fail;
7194 }
d14a1e28
RD
7195 {
7196 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7197 result = (bool)(arg1)->Xor(arg2,arg3,arg4,arg5);
d14a1e28
RD
7198
7199 wxPyEndAllowThreads(__tstate);
7200 if (PyErr_Occurred()) SWIG_fail;
7201 }
7202 {
093d3ff1 7203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7204 }
7205 return resultobj;
7206 fail:
7207 return NULL;
7208}
7209
7210
093d3ff1 7211static PyObject *_wrap_Region_XorRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7212 PyObject *resultobj = NULL;
093d3ff1
RD
7213 wxRegion *arg1 = (wxRegion *) 0 ;
7214 wxRect *arg2 = 0 ;
d14a1e28 7215 bool result;
093d3ff1 7216 wxRect temp2 ;
d14a1e28 7217 PyObject * obj0 = 0 ;
093d3ff1 7218 PyObject * obj1 = 0 ;
d14a1e28 7219 char *kwnames[] = {
093d3ff1 7220 (char *) "self",(char *) "rect", NULL
d14a1e28
RD
7221 };
7222
093d3ff1
RD
7223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_XorRect",kwnames,&obj0,&obj1)) goto fail;
7224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7225 if (SWIG_arg_fail(1)) SWIG_fail;
7226 {
7227 arg2 = &temp2;
7228 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7229 }
d14a1e28
RD
7230 {
7231 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7232 result = (bool)(arg1)->Xor((wxRect const &)*arg2);
d14a1e28
RD
7233
7234 wxPyEndAllowThreads(__tstate);
7235 if (PyErr_Occurred()) SWIG_fail;
7236 }
4f89f6a3
RD
7237 {
7238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7239 }
d14a1e28
RD
7240 return resultobj;
7241 fail:
7242 return NULL;
7243}
7244
7245
093d3ff1 7246static PyObject *_wrap_Region_XorRegion(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7247 PyObject *resultobj = NULL;
093d3ff1
RD
7248 wxRegion *arg1 = (wxRegion *) 0 ;
7249 wxRegion *arg2 = 0 ;
7250 bool result;
d14a1e28 7251 PyObject * obj0 = 0 ;
093d3ff1 7252 PyObject * obj1 = 0 ;
d14a1e28 7253 char *kwnames[] = {
093d3ff1 7254 (char *) "self",(char *) "region", NULL
d14a1e28
RD
7255 };
7256
093d3ff1
RD
7257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_XorRegion",kwnames,&obj0,&obj1)) goto fail;
7258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7259 if (SWIG_arg_fail(1)) SWIG_fail;
7260 {
7261 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7262 if (SWIG_arg_fail(2)) SWIG_fail;
7263 if (arg2 == NULL) {
7264 SWIG_null_ref("wxRegion");
7265 }
7266 if (SWIG_arg_fail(2)) SWIG_fail;
7267 }
d14a1e28
RD
7268 {
7269 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7270 result = (bool)(arg1)->Xor((wxRegion const &)*arg2);
d14a1e28
RD
7271
7272 wxPyEndAllowThreads(__tstate);
7273 if (PyErr_Occurred()) SWIG_fail;
7274 }
093d3ff1
RD
7275 {
7276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7277 }
d14a1e28
RD
7278 return resultobj;
7279 fail:
7280 return NULL;
7281}
7282
7283
093d3ff1 7284static PyObject *_wrap_Region_ConvertToBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7285 PyObject *resultobj = NULL;
093d3ff1
RD
7286 wxRegion *arg1 = (wxRegion *) 0 ;
7287 SwigValueWrapper<wxBitmap > result;
d14a1e28
RD
7288 PyObject * obj0 = 0 ;
7289 char *kwnames[] = {
7290 (char *) "self", NULL
7291 };
7292
093d3ff1
RD
7293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_ConvertToBitmap",kwnames,&obj0)) goto fail;
7294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7295 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7296 {
7297 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7298 result = (arg1)->ConvertToBitmap();
d14a1e28
RD
7299
7300 wxPyEndAllowThreads(__tstate);
7301 if (PyErr_Occurred()) SWIG_fail;
7302 }
093d3ff1
RD
7303 {
7304 wxBitmap * resultptr;
32fe5131 7305 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
093d3ff1
RD
7306 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
7307 }
d14a1e28
RD
7308 return resultobj;
7309 fail:
7310 return NULL;
7311}
7312
7313
093d3ff1 7314static PyObject *_wrap_Region_UnionBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7315 PyObject *resultobj = NULL;
093d3ff1
RD
7316 wxRegion *arg1 = (wxRegion *) 0 ;
7317 wxBitmap *arg2 = 0 ;
d14a1e28
RD
7318 bool result;
7319 PyObject * obj0 = 0 ;
093d3ff1 7320 PyObject * obj1 = 0 ;
d14a1e28 7321 char *kwnames[] = {
093d3ff1 7322 (char *) "self",(char *) "bmp", NULL
d14a1e28
RD
7323 };
7324
093d3ff1
RD
7325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_UnionBitmap",kwnames,&obj0,&obj1)) goto fail;
7326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7327 if (SWIG_arg_fail(1)) SWIG_fail;
7328 {
7329 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7330 if (SWIG_arg_fail(2)) SWIG_fail;
7331 if (arg2 == NULL) {
7332 SWIG_null_ref("wxBitmap");
7333 }
7334 if (SWIG_arg_fail(2)) SWIG_fail;
7335 }
d14a1e28
RD
7336 {
7337 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7338 result = (bool)(arg1)->Union((wxBitmap const &)*arg2);
d14a1e28
RD
7339
7340 wxPyEndAllowThreads(__tstate);
7341 if (PyErr_Occurred()) SWIG_fail;
7342 }
4f89f6a3
RD
7343 {
7344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7345 }
d14a1e28
RD
7346 return resultobj;
7347 fail:
7348 return NULL;
7349}
7350
7351
093d3ff1 7352static PyObject *_wrap_Region_UnionBitmapColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7353 PyObject *resultobj = NULL;
093d3ff1
RD
7354 wxRegion *arg1 = (wxRegion *) 0 ;
7355 wxBitmap *arg2 = 0 ;
7356 wxColour *arg3 = 0 ;
7357 int arg4 = (int) 0 ;
7358 bool result;
7359 wxColour temp3 ;
7360 PyObject * obj0 = 0 ;
7361 PyObject * obj1 = 0 ;
7362 PyObject * obj2 = 0 ;
7363 PyObject * obj3 = 0 ;
d14a1e28 7364 char *kwnames[] = {
093d3ff1 7365 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
d14a1e28
RD
7366 };
7367
093d3ff1
RD
7368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Region_UnionBitmapColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7370 if (SWIG_arg_fail(1)) SWIG_fail;
7371 {
7372 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7373 if (SWIG_arg_fail(2)) SWIG_fail;
7374 if (arg2 == NULL) {
7375 SWIG_null_ref("wxBitmap");
7376 }
7377 if (SWIG_arg_fail(2)) SWIG_fail;
7378 }
7379 {
7380 arg3 = &temp3;
7381 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7382 }
7383 if (obj3) {
7384 {
32fe5131 7385 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
7386 if (SWIG_arg_fail(4)) SWIG_fail;
7387 }
7388 }
d14a1e28
RD
7389 {
7390 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7391 result = (bool)(arg1)->Union((wxBitmap const &)*arg2,(wxColour const &)*arg3,arg4);
d14a1e28
RD
7392
7393 wxPyEndAllowThreads(__tstate);
7394 if (PyErr_Occurred()) SWIG_fail;
7395 }
093d3ff1
RD
7396 {
7397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7398 }
d14a1e28
RD
7399 return resultobj;
7400 fail:
7401 return NULL;
7402}
7403
7404
093d3ff1
RD
7405static PyObject * Region_swigregister(PyObject *, PyObject *args) {
7406 PyObject *obj;
7407 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7408 SWIG_TypeClientData(SWIGTYPE_p_wxRegion, obj);
7409 Py_INCREF(obj);
7410 return Py_BuildValue((char *)"");
7411}
7412static PyObject *_wrap_new_RegionIterator(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7413 PyObject *resultobj = NULL;
093d3ff1
RD
7414 wxRegion *arg1 = 0 ;
7415 wxRegionIterator *result;
d14a1e28
RD
7416 PyObject * obj0 = 0 ;
7417 char *kwnames[] = {
093d3ff1 7418 (char *) "region", NULL
d14a1e28
RD
7419 };
7420
093d3ff1 7421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_RegionIterator",kwnames,&obj0)) goto fail;
d14a1e28 7422 {
093d3ff1
RD
7423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7424 if (SWIG_arg_fail(1)) SWIG_fail;
7425 if (arg1 == NULL) {
7426 SWIG_null_ref("wxRegion");
7427 }
7428 if (SWIG_arg_fail(1)) SWIG_fail;
7429 }
7430 {
7431 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 7432 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7433 result = (wxRegionIterator *)new wxRegionIterator((wxRegion const &)*arg1);
d14a1e28
RD
7434
7435 wxPyEndAllowThreads(__tstate);
7436 if (PyErr_Occurred()) SWIG_fail;
7437 }
093d3ff1 7438 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegionIterator, 1);
d14a1e28
RD
7439 return resultobj;
7440 fail:
7441 return NULL;
7442}
7443
7444
093d3ff1 7445static PyObject *_wrap_delete_RegionIterator(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7446 PyObject *resultobj = NULL;
093d3ff1 7447 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
d14a1e28
RD
7448 PyObject * obj0 = 0 ;
7449 char *kwnames[] = {
7450 (char *) "self", NULL
7451 };
7452
093d3ff1
RD
7453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RegionIterator",kwnames,&obj0)) goto fail;
7454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegionIterator, SWIG_POINTER_EXCEPTION | 0);
7455 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7456 {
7457 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7458 delete arg1;
d14a1e28
RD
7459
7460 wxPyEndAllowThreads(__tstate);
7461 if (PyErr_Occurred()) SWIG_fail;
7462 }
7463 Py_INCREF(Py_None); resultobj = Py_None;
7464 return resultobj;
7465 fail:
7466 return NULL;
7467}
7468
7469
093d3ff1 7470static PyObject *_wrap_RegionIterator_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7471 PyObject *resultobj = NULL;
093d3ff1
RD
7472 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
7473 int result;
d14a1e28 7474 PyObject * obj0 = 0 ;
d14a1e28 7475 char *kwnames[] = {
093d3ff1 7476 (char *) "self", NULL
d14a1e28
RD
7477 };
7478
093d3ff1
RD
7479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetX",kwnames,&obj0)) goto fail;
7480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegionIterator, SWIG_POINTER_EXCEPTION | 0);
7481 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7482 {
7483 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7484 result = (int)(arg1)->GetX();
d14a1e28
RD
7485
7486 wxPyEndAllowThreads(__tstate);
7487 if (PyErr_Occurred()) SWIG_fail;
7488 }
093d3ff1 7489 {
32fe5131 7490 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 7491 }
d14a1e28
RD
7492 return resultobj;
7493 fail:
7494 return NULL;
7495}
7496
7497
093d3ff1 7498static PyObject *_wrap_RegionIterator_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7499 PyObject *resultobj = NULL;
093d3ff1 7500 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
d14a1e28
RD
7501 int result;
7502 PyObject * obj0 = 0 ;
7503 char *kwnames[] = {
7504 (char *) "self", NULL
7505 };
7506
093d3ff1
RD
7507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetY",kwnames,&obj0)) goto fail;
7508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegionIterator, SWIG_POINTER_EXCEPTION | 0);
7509 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7510 {
7511 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7512 result = (int)(arg1)->GetY();
d14a1e28
RD
7513
7514 wxPyEndAllowThreads(__tstate);
7515 if (PyErr_Occurred()) SWIG_fail;
7516 }
093d3ff1 7517 {
32fe5131 7518 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 7519 }
d14a1e28
RD
7520 return resultobj;
7521 fail:
7522 return NULL;
7523}
7524
7525
093d3ff1 7526static PyObject *_wrap_RegionIterator_GetW(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7527 PyObject *resultobj = NULL;
093d3ff1 7528 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
d14a1e28
RD
7529 int result;
7530 PyObject * obj0 = 0 ;
7531 char *kwnames[] = {
7532 (char *) "self", NULL
7533 };
7534
093d3ff1
RD
7535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetW",kwnames,&obj0)) goto fail;
7536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegionIterator, SWIG_POINTER_EXCEPTION | 0);
7537 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7538 {
7539 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7540 result = (int)(arg1)->GetW();
d14a1e28
RD
7541
7542 wxPyEndAllowThreads(__tstate);
7543 if (PyErr_Occurred()) SWIG_fail;
7544 }
093d3ff1 7545 {
32fe5131 7546 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 7547 }
d14a1e28
RD
7548 return resultobj;
7549 fail:
7550 return NULL;
7551}
7552
7553
093d3ff1 7554static PyObject *_wrap_RegionIterator_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7555 PyObject *resultobj = NULL;
093d3ff1 7556 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
d14a1e28
RD
7557 int result;
7558 PyObject * obj0 = 0 ;
7559 char *kwnames[] = {
7560 (char *) "self", NULL
7561 };
7562
093d3ff1
RD
7563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetWidth",kwnames,&obj0)) goto fail;
7564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegionIterator, SWIG_POINTER_EXCEPTION | 0);
7565 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7566 {
7567 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7568 result = (int)(arg1)->GetWidth();
d14a1e28
RD
7569
7570 wxPyEndAllowThreads(__tstate);
7571 if (PyErr_Occurred()) SWIG_fail;
7572 }
093d3ff1 7573 {
32fe5131 7574 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 7575 }
d14a1e28
RD
7576 return resultobj;
7577 fail:
7578 return NULL;
7579}
7580
7581
093d3ff1 7582static PyObject *_wrap_RegionIterator_GetH(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7583 PyObject *resultobj = NULL;
093d3ff1
RD
7584 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
7585 int result;
d14a1e28
RD
7586 PyObject * obj0 = 0 ;
7587 char *kwnames[] = {
7588 (char *) "self", NULL
7589 };
7590
093d3ff1
RD
7591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetH",kwnames,&obj0)) goto fail;
7592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegionIterator, SWIG_POINTER_EXCEPTION | 0);
7593 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7594 {
7595 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7596 result = (int)(arg1)->GetH();
d14a1e28
RD
7597
7598 wxPyEndAllowThreads(__tstate);
7599 if (PyErr_Occurred()) SWIG_fail;
7600 }
4f89f6a3 7601 {
32fe5131 7602 resultobj = SWIG_From_int(static_cast<int >(result));
4f89f6a3 7603 }
d14a1e28
RD
7604 return resultobj;
7605 fail:
7606 return NULL;
7607}
7608
7609
093d3ff1 7610static PyObject *_wrap_RegionIterator_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7611 PyObject *resultobj = NULL;
093d3ff1
RD
7612 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
7613 int result;
d14a1e28
RD
7614 PyObject * obj0 = 0 ;
7615 char *kwnames[] = {
7616 (char *) "self", NULL
7617 };
7618
093d3ff1
RD
7619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetHeight",kwnames,&obj0)) goto fail;
7620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegionIterator, SWIG_POINTER_EXCEPTION | 0);
7621 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7622 {
7623 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7624 result = (int)(arg1)->GetHeight();
d14a1e28
RD
7625
7626 wxPyEndAllowThreads(__tstate);
7627 if (PyErr_Occurred()) SWIG_fail;
7628 }
7629 {
32fe5131 7630 resultobj = SWIG_From_int(static_cast<int >(result));
d14a1e28
RD
7631 }
7632 return resultobj;
7633 fail:
7634 return NULL;
7635}
7636
7637
093d3ff1 7638static PyObject *_wrap_RegionIterator_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7639 PyObject *resultobj = NULL;
093d3ff1
RD
7640 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
7641 wxRect result;
d14a1e28
RD
7642 PyObject * obj0 = 0 ;
7643 char *kwnames[] = {
7644 (char *) "self", NULL
7645 };
7646
093d3ff1
RD
7647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetRect",kwnames,&obj0)) goto fail;
7648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegionIterator, SWIG_POINTER_EXCEPTION | 0);
7649 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7650 {
7651 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7652 result = (arg1)->GetRect();
d14a1e28
RD
7653
7654 wxPyEndAllowThreads(__tstate);
7655 if (PyErr_Occurred()) SWIG_fail;
7656 }
093d3ff1
RD
7657 {
7658 wxRect * resultptr;
32fe5131 7659 resultptr = new wxRect(static_cast<wxRect & >(result));
093d3ff1
RD
7660 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7661 }
d14a1e28
RD
7662 return resultobj;
7663 fail:
7664 return NULL;
7665}
7666
7667
093d3ff1 7668static PyObject *_wrap_RegionIterator_HaveRects(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7669 PyObject *resultobj = NULL;
093d3ff1
RD
7670 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
7671 bool result;
d14a1e28
RD
7672 PyObject * obj0 = 0 ;
7673 char *kwnames[] = {
7674 (char *) "self", NULL
7675 };
7676
093d3ff1
RD
7677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_HaveRects",kwnames,&obj0)) goto fail;
7678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegionIterator, SWIG_POINTER_EXCEPTION | 0);
7679 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7680 {
7681 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7682 result = (bool)(arg1)->HaveRects();
d14a1e28
RD
7683
7684 wxPyEndAllowThreads(__tstate);
7685 if (PyErr_Occurred()) SWIG_fail;
7686 }
093d3ff1
RD
7687 {
7688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7689 }
d14a1e28
RD
7690 return resultobj;
7691 fail:
7692 return NULL;
7693}
7694
7695
093d3ff1 7696static PyObject *_wrap_RegionIterator_Reset(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7697 PyObject *resultobj = NULL;
093d3ff1 7698 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
d14a1e28
RD
7699 PyObject * obj0 = 0 ;
7700 char *kwnames[] = {
093d3ff1 7701 (char *) "self", NULL
d14a1e28
RD
7702 };
7703
093d3ff1
RD
7704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_Reset",kwnames,&obj0)) goto fail;
7705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegionIterator, SWIG_POINTER_EXCEPTION | 0);
7706 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7707 {
7708 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7709 (arg1)->Reset();
d14a1e28
RD
7710
7711 wxPyEndAllowThreads(__tstate);
7712 if (PyErr_Occurred()) SWIG_fail;
7713 }
7714 Py_INCREF(Py_None); resultobj = Py_None;
7715 return resultobj;
7716 fail:
7717 return NULL;
7718}
7719
7720
093d3ff1 7721static PyObject *_wrap_RegionIterator_Next(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7722 PyObject *resultobj = NULL;
093d3ff1 7723 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
d14a1e28
RD
7724 PyObject * obj0 = 0 ;
7725 char *kwnames[] = {
093d3ff1 7726 (char *) "self", NULL
d14a1e28
RD
7727 };
7728
093d3ff1
RD
7729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_Next",kwnames,&obj0)) goto fail;
7730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegionIterator, SWIG_POINTER_EXCEPTION | 0);
7731 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7732 {
7733 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7734 wxRegionIterator_Next(arg1);
d14a1e28
RD
7735
7736 wxPyEndAllowThreads(__tstate);
7737 if (PyErr_Occurred()) SWIG_fail;
7738 }
7739 Py_INCREF(Py_None); resultobj = Py_None;
7740 return resultobj;
7741 fail:
7742 return NULL;
7743}
7744
7745
093d3ff1 7746static PyObject *_wrap_RegionIterator___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7747 PyObject *resultobj = NULL;
093d3ff1
RD
7748 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
7749 bool result;
d14a1e28
RD
7750 PyObject * obj0 = 0 ;
7751 char *kwnames[] = {
093d3ff1 7752 (char *) "self", NULL
d14a1e28
RD
7753 };
7754
093d3ff1
RD
7755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator___nonzero__",kwnames,&obj0)) goto fail;
7756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegionIterator, SWIG_POINTER_EXCEPTION | 0);
7757 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7758 {
7759 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7760 result = (bool)wxRegionIterator___nonzero__(arg1);
d14a1e28
RD
7761
7762 wxPyEndAllowThreads(__tstate);
7763 if (PyErr_Occurred()) SWIG_fail;
7764 }
093d3ff1
RD
7765 {
7766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7767 }
d14a1e28
RD
7768 return resultobj;
7769 fail:
7770 return NULL;
7771}
7772
7773
093d3ff1
RD
7774static PyObject * RegionIterator_swigregister(PyObject *, PyObject *args) {
7775 PyObject *obj;
7776 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7777 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator, obj);
7778 Py_INCREF(obj);
7779 return Py_BuildValue((char *)"");
7780}
7781static PyObject *_wrap_new_NativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7782 PyObject *resultobj = NULL;
093d3ff1 7783 wxNativeFontInfo *result;
d14a1e28 7784 char *kwnames[] = {
093d3ff1 7785 NULL
d14a1e28
RD
7786 };
7787
093d3ff1 7788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NativeFontInfo",kwnames)) goto fail;
d14a1e28
RD
7789 {
7790 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7791 result = (wxNativeFontInfo *)new wxNativeFontInfo();
d14a1e28
RD
7792
7793 wxPyEndAllowThreads(__tstate);
7794 if (PyErr_Occurred()) SWIG_fail;
7795 }
093d3ff1 7796 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeFontInfo, 1);
d14a1e28
RD
7797 return resultobj;
7798 fail:
7799 return NULL;
7800}
7801
7802
093d3ff1 7803static PyObject *_wrap_delete_NativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7804 PyObject *resultobj = NULL;
d14a1e28 7805 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
d14a1e28 7806 PyObject * obj0 = 0 ;
d14a1e28 7807 char *kwnames[] = {
093d3ff1 7808 (char *) "self", NULL
d14a1e28
RD
7809 };
7810
093d3ff1
RD
7811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_NativeFontInfo",kwnames,&obj0)) goto fail;
7812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
7813 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7814 {
7815 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7816 delete arg1;
d14a1e28
RD
7817
7818 wxPyEndAllowThreads(__tstate);
7819 if (PyErr_Occurred()) SWIG_fail;
7820 }
7821 Py_INCREF(Py_None); resultobj = Py_None;
7822 return resultobj;
7823 fail:
7824 return NULL;
7825}
7826
7827
093d3ff1 7828static PyObject *_wrap_NativeFontInfo_Init(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7829 PyObject *resultobj = NULL;
d14a1e28 7830 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
d14a1e28
RD
7831 PyObject * obj0 = 0 ;
7832 char *kwnames[] = {
093d3ff1 7833 (char *) "self", NULL
d14a1e28
RD
7834 };
7835
093d3ff1
RD
7836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_Init",kwnames,&obj0)) goto fail;
7837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
7838 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7839 {
7840 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7841 (arg1)->Init();
d14a1e28
RD
7842
7843 wxPyEndAllowThreads(__tstate);
7844 if (PyErr_Occurred()) SWIG_fail;
7845 }
7846 Py_INCREF(Py_None); resultobj = Py_None;
7847 return resultobj;
7848 fail:
7849 return NULL;
7850}
7851
7852
093d3ff1 7853static PyObject *_wrap_NativeFontInfo_InitFromFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7854 PyObject *resultobj = NULL;
d14a1e28 7855 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
093d3ff1 7856 wxFont *arg2 = 0 ;
d14a1e28 7857 PyObject * obj0 = 0 ;
994141e6 7858 PyObject * obj1 = 0 ;
d14a1e28 7859 char *kwnames[] = {
093d3ff1 7860 (char *) "self",(char *) "font", NULL
d14a1e28
RD
7861 };
7862
093d3ff1
RD
7863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_InitFromFont",kwnames,&obj0,&obj1)) goto fail;
7864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
7865 if (SWIG_arg_fail(1)) SWIG_fail;
7866 {
7867 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
7868 if (SWIG_arg_fail(2)) SWIG_fail;
7869 if (arg2 == NULL) {
7870 SWIG_null_ref("wxFont");
7871 }
7872 if (SWIG_arg_fail(2)) SWIG_fail;
7873 }
d14a1e28
RD
7874 {
7875 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7876 (arg1)->InitFromFont((wxFont const &)*arg2);
d14a1e28
RD
7877
7878 wxPyEndAllowThreads(__tstate);
7879 if (PyErr_Occurred()) SWIG_fail;
7880 }
7881 Py_INCREF(Py_None); resultobj = Py_None;
7882 return resultobj;
7883 fail:
7884 return NULL;
7885}
7886
7887
093d3ff1 7888static PyObject *_wrap_NativeFontInfo_GetPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7889 PyObject *resultobj = NULL;
d14a1e28 7890 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
093d3ff1 7891 int result;
d14a1e28 7892 PyObject * obj0 = 0 ;
d14a1e28 7893 char *kwnames[] = {
093d3ff1 7894 (char *) "self", NULL
d14a1e28
RD
7895 };
7896
093d3ff1
RD
7897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetPointSize",kwnames,&obj0)) goto fail;
7898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
7899 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7900 {
7901 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7902 result = (int)((wxNativeFontInfo const *)arg1)->GetPointSize();
d14a1e28
RD
7903
7904 wxPyEndAllowThreads(__tstate);
7905 if (PyErr_Occurred()) SWIG_fail;
7906 }
4f89f6a3 7907 {
32fe5131 7908 resultobj = SWIG_From_int(static_cast<int >(result));
d14a1e28
RD
7909 }
7910 return resultobj;
7911 fail:
d14a1e28
RD
7912 return NULL;
7913}
7914
7915
093d3ff1 7916static PyObject *_wrap_NativeFontInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7917 PyObject *resultobj = NULL;
d14a1e28 7918 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
093d3ff1 7919 wxFontStyle result;
d14a1e28
RD
7920 PyObject * obj0 = 0 ;
7921 char *kwnames[] = {
7922 (char *) "self", NULL
7923 };
7924
093d3ff1
RD
7925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetStyle",kwnames,&obj0)) goto fail;
7926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
7927 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7928 {
7929 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7930 result = (wxFontStyle)((wxNativeFontInfo const *)arg1)->GetStyle();
d14a1e28
RD
7931
7932 wxPyEndAllowThreads(__tstate);
7933 if (PyErr_Occurred()) SWIG_fail;
7934 }
093d3ff1 7935 resultobj = SWIG_From_int((result));
d14a1e28
RD
7936 return resultobj;
7937 fail:
7938 return NULL;
7939}
7940
7941
093d3ff1 7942static PyObject *_wrap_NativeFontInfo_GetWeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7943 PyObject *resultobj = NULL;
d14a1e28 7944 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
093d3ff1 7945 wxFontWeight result;
d14a1e28
RD
7946 PyObject * obj0 = 0 ;
7947 char *kwnames[] = {
7948 (char *) "self", NULL
7949 };
7950
093d3ff1
RD
7951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetWeight",kwnames,&obj0)) goto fail;
7952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
7953 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7954 {
7955 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7956 result = (wxFontWeight)((wxNativeFontInfo const *)arg1)->GetWeight();
d14a1e28
RD
7957
7958 wxPyEndAllowThreads(__tstate);
7959 if (PyErr_Occurred()) SWIG_fail;
7960 }
093d3ff1 7961 resultobj = SWIG_From_int((result));
d14a1e28
RD
7962 return resultobj;
7963 fail:
7964 return NULL;
7965}
7966
7967
093d3ff1 7968static PyObject *_wrap_NativeFontInfo_GetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7969 PyObject *resultobj = NULL;
d14a1e28 7970 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
d14a1e28 7971 bool result;
d14a1e28 7972 PyObject * obj0 = 0 ;
d14a1e28 7973 char *kwnames[] = {
093d3ff1 7974 (char *) "self", NULL
d14a1e28
RD
7975 };
7976
093d3ff1
RD
7977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetUnderlined",kwnames,&obj0)) goto fail;
7978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
7979 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7980 {
7981 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7982 result = (bool)((wxNativeFontInfo const *)arg1)->GetUnderlined();
d14a1e28
RD
7983
7984 wxPyEndAllowThreads(__tstate);
7985 if (PyErr_Occurred()) SWIG_fail;
7986 }
4f89f6a3
RD
7987 {
7988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7989 }
d14a1e28
RD
7990 return resultobj;
7991 fail:
d14a1e28
RD
7992 return NULL;
7993}
7994
7995
093d3ff1 7996static PyObject *_wrap_NativeFontInfo_GetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7997 PyObject *resultobj = NULL;
d14a1e28
RD
7998 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
7999 wxString result;
8000 PyObject * obj0 = 0 ;
8001 char *kwnames[] = {
8002 (char *) "self", NULL
8003 };
8004
093d3ff1
RD
8005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetFaceName",kwnames,&obj0)) goto fail;
8006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8007 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8008 {
8009 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8010 result = ((wxNativeFontInfo const *)arg1)->GetFaceName();
d14a1e28
RD
8011
8012 wxPyEndAllowThreads(__tstate);
8013 if (PyErr_Occurred()) SWIG_fail;
8014 }
8015 {
8016#if wxUSE_UNICODE
8017 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8018#else
8019 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8020#endif
8021 }
8022 return resultobj;
8023 fail:
8024 return NULL;
8025}
8026
8027
093d3ff1 8028static PyObject *_wrap_NativeFontInfo_GetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8029 PyObject *resultobj = NULL;
093d3ff1
RD
8030 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8031 wxFontFamily result;
d14a1e28 8032 PyObject * obj0 = 0 ;
d14a1e28 8033 char *kwnames[] = {
093d3ff1 8034 (char *) "self", NULL
d14a1e28
RD
8035 };
8036
093d3ff1
RD
8037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetFamily",kwnames,&obj0)) goto fail;
8038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8039 if (SWIG_arg_fail(1)) SWIG_fail;
7eae615b 8040 {
093d3ff1
RD
8041 PyThreadState* __tstate = wxPyBeginAllowThreads();
8042 result = (wxFontFamily)((wxNativeFontInfo const *)arg1)->GetFamily();
8043
8044 wxPyEndAllowThreads(__tstate);
8045 if (PyErr_Occurred()) SWIG_fail;
7eae615b 8046 }
093d3ff1 8047 resultobj = SWIG_From_int((result));
d14a1e28
RD
8048 return resultobj;
8049 fail:
8050 return NULL;
8051}
8052
8053
093d3ff1 8054static PyObject *_wrap_NativeFontInfo_GetEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8055 PyObject *resultobj = NULL;
093d3ff1
RD
8056 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8057 wxFontEncoding result;
d14a1e28
RD
8058 PyObject * obj0 = 0 ;
8059 char *kwnames[] = {
8060 (char *) "self", NULL
8061 };
8062
093d3ff1
RD
8063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetEncoding",kwnames,&obj0)) goto fail;
8064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8065 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 8066 {
093d3ff1
RD
8067 PyThreadState* __tstate = wxPyBeginAllowThreads();
8068 result = (wxFontEncoding)((wxNativeFontInfo const *)arg1)->GetEncoding();
8069
8070 wxPyEndAllowThreads(__tstate);
8071 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8072 }
093d3ff1 8073 resultobj = SWIG_From_int((result));
d14a1e28
RD
8074 return resultobj;
8075 fail:
8076 return NULL;
8077}
8078
8079
093d3ff1 8080static PyObject *_wrap_NativeFontInfo_SetPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8081 PyObject *resultobj = NULL;
093d3ff1 8082 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
d14a1e28
RD
8083 int arg2 ;
8084 PyObject * obj0 = 0 ;
994141e6 8085 PyObject * obj1 = 0 ;
d14a1e28 8086 char *kwnames[] = {
093d3ff1 8087 (char *) "self",(char *) "pointsize", NULL
d14a1e28
RD
8088 };
8089
093d3ff1
RD
8090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetPointSize",kwnames,&obj0,&obj1)) goto fail;
8091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8092 if (SWIG_arg_fail(1)) SWIG_fail;
8093 {
32fe5131 8094 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8095 if (SWIG_arg_fail(2)) SWIG_fail;
8096 }
8097 {
8098 PyThreadState* __tstate = wxPyBeginAllowThreads();
8099 (arg1)->SetPointSize(arg2);
8100
8101 wxPyEndAllowThreads(__tstate);
8102 if (PyErr_Occurred()) SWIG_fail;
8103 }
d14a1e28
RD
8104 Py_INCREF(Py_None); resultobj = Py_None;
8105 return resultobj;
8106 fail:
8107 return NULL;
8108}
8109
8110
093d3ff1 8111static PyObject *_wrap_NativeFontInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8112 PyObject *resultobj = NULL;
093d3ff1
RD
8113 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8114 wxFontStyle arg2 ;
d14a1e28 8115 PyObject * obj0 = 0 ;
093d3ff1 8116 PyObject * obj1 = 0 ;
d14a1e28 8117 char *kwnames[] = {
093d3ff1 8118 (char *) "self",(char *) "style", NULL
d14a1e28
RD
8119 };
8120
093d3ff1
RD
8121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
8122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8123 if (SWIG_arg_fail(1)) SWIG_fail;
8124 {
32fe5131 8125 arg2 = static_cast<wxFontStyle >(SWIG_As_int(obj1));
093d3ff1
RD
8126 if (SWIG_arg_fail(2)) SWIG_fail;
8127 }
d14a1e28
RD
8128 {
8129 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 8130 (arg1)->SetStyle(arg2);
d14a1e28
RD
8131
8132 wxPyEndAllowThreads(__tstate);
8133 if (PyErr_Occurred()) SWIG_fail;
8134 }
093d3ff1 8135 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8136 return resultobj;
8137 fail:
8138 return NULL;
8139}
8140
8141
093d3ff1 8142static PyObject *_wrap_NativeFontInfo_SetWeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8143 PyObject *resultobj = NULL;
093d3ff1
RD
8144 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8145 wxFontWeight arg2 ;
d14a1e28 8146 PyObject * obj0 = 0 ;
093d3ff1 8147 PyObject * obj1 = 0 ;
d14a1e28 8148 char *kwnames[] = {
093d3ff1 8149 (char *) "self",(char *) "weight", NULL
d14a1e28
RD
8150 };
8151
093d3ff1
RD
8152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetWeight",kwnames,&obj0,&obj1)) goto fail;
8153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8154 if (SWIG_arg_fail(1)) SWIG_fail;
8155 {
32fe5131 8156 arg2 = static_cast<wxFontWeight >(SWIG_As_int(obj1));
093d3ff1
RD
8157 if (SWIG_arg_fail(2)) SWIG_fail;
8158 }
d14a1e28
RD
8159 {
8160 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 8161 (arg1)->SetWeight(arg2);
d14a1e28
RD
8162
8163 wxPyEndAllowThreads(__tstate);
8164 if (PyErr_Occurred()) SWIG_fail;
8165 }
8166 Py_INCREF(Py_None); resultobj = Py_None;
8167 return resultobj;
8168 fail:
8169 return NULL;
8170}
8171
8172
093d3ff1 8173static PyObject *_wrap_NativeFontInfo_SetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8174 PyObject *resultobj = NULL;
093d3ff1
RD
8175 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8176 bool arg2 ;
d14a1e28
RD
8177 PyObject * obj0 = 0 ;
8178 PyObject * obj1 = 0 ;
8179 char *kwnames[] = {
093d3ff1 8180 (char *) "self",(char *) "underlined", NULL
d14a1e28
RD
8181 };
8182
093d3ff1
RD
8183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames,&obj0,&obj1)) goto fail;
8184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8185 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 8186 {
32fe5131 8187 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1 8188 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
8189 }
8190 {
8191 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8192 (arg1)->SetUnderlined(arg2);
d14a1e28
RD
8193
8194 wxPyEndAllowThreads(__tstate);
8195 if (PyErr_Occurred()) SWIG_fail;
8196 }
093d3ff1 8197 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8198 return resultobj;
8199 fail:
d14a1e28
RD
8200 return NULL;
8201}
8202
8203
093d3ff1 8204static PyObject *_wrap_NativeFontInfo_SetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8205 PyObject *resultobj = NULL;
093d3ff1
RD
8206 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8207 wxString arg2 ;
d14a1e28 8208 PyObject * obj0 = 0 ;
093d3ff1 8209 PyObject * obj1 = 0 ;
d14a1e28 8210 char *kwnames[] = {
093d3ff1 8211 (char *) "self",(char *) "facename", NULL
d14a1e28
RD
8212 };
8213
093d3ff1
RD
8214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetFaceName",kwnames,&obj0,&obj1)) goto fail;
8215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8216 if (SWIG_arg_fail(1)) SWIG_fail;
8217 {
8218 wxString* sptr = wxString_in_helper(obj1);
8219 if (sptr == NULL) SWIG_fail;
8220 arg2 = *sptr;
8221 delete sptr;
8222 }
d14a1e28
RD
8223 {
8224 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8225 (arg1)->SetFaceName(arg2);
d14a1e28
RD
8226
8227 wxPyEndAllowThreads(__tstate);
8228 if (PyErr_Occurred()) SWIG_fail;
8229 }
093d3ff1 8230 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8231 return resultobj;
8232 fail:
8233 return NULL;
8234}
8235
8236
093d3ff1 8237static PyObject *_wrap_NativeFontInfo_SetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8238 PyObject *resultobj = NULL;
093d3ff1
RD
8239 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8240 wxFontFamily arg2 ;
994141e6 8241 PyObject * obj0 = 0 ;
093d3ff1 8242 PyObject * obj1 = 0 ;
d14a1e28 8243 char *kwnames[] = {
093d3ff1 8244 (char *) "self",(char *) "family", NULL
d14a1e28
RD
8245 };
8246
093d3ff1
RD
8247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetFamily",kwnames,&obj0,&obj1)) goto fail;
8248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8249 if (SWIG_arg_fail(1)) SWIG_fail;
8250 {
32fe5131 8251 arg2 = static_cast<wxFontFamily >(SWIG_As_int(obj1));
093d3ff1
RD
8252 if (SWIG_arg_fail(2)) SWIG_fail;
8253 }
994141e6
RD
8254 {
8255 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 8256 (arg1)->SetFamily(arg2);
d14a1e28
RD
8257
8258 wxPyEndAllowThreads(__tstate);
8259 if (PyErr_Occurred()) SWIG_fail;
8260 }
093d3ff1 8261 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8262 return resultobj;
8263 fail:
8264 return NULL;
8265}
8266
8267
093d3ff1 8268static PyObject *_wrap_NativeFontInfo_SetEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8269 PyObject *resultobj = NULL;
093d3ff1
RD
8270 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8271 wxFontEncoding arg2 ;
d14a1e28 8272 PyObject * obj0 = 0 ;
093d3ff1 8273 PyObject * obj1 = 0 ;
d14a1e28 8274 char *kwnames[] = {
093d3ff1 8275 (char *) "self",(char *) "encoding", NULL
d14a1e28
RD
8276 };
8277
093d3ff1
RD
8278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetEncoding",kwnames,&obj0,&obj1)) goto fail;
8279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8280 if (SWIG_arg_fail(1)) SWIG_fail;
8281 {
32fe5131 8282 arg2 = static_cast<wxFontEncoding >(SWIG_As_int(obj1));
093d3ff1 8283 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
8284 }
8285 {
8286 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 8287 (arg1)->SetEncoding(arg2);
d14a1e28
RD
8288
8289 wxPyEndAllowThreads(__tstate);
8290 if (PyErr_Occurred()) SWIG_fail;
8291 }
093d3ff1 8292 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8293 return resultobj;
8294 fail:
8295 return NULL;
8296}
8297
8298
093d3ff1 8299static PyObject *_wrap_NativeFontInfo_FromString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8300 PyObject *resultobj = NULL;
093d3ff1
RD
8301 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8302 wxString *arg2 = 0 ;
8303 bool result;
8304 bool temp2 = false ;
8305 PyObject * obj0 = 0 ;
8306 PyObject * obj1 = 0 ;
d14a1e28 8307 char *kwnames[] = {
093d3ff1 8308 (char *) "self",(char *) "s", NULL
d14a1e28
RD
8309 };
8310
093d3ff1
RD
8311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_FromString",kwnames,&obj0,&obj1)) goto fail;
8312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8313 if (SWIG_arg_fail(1)) SWIG_fail;
8314 {
8315 arg2 = wxString_in_helper(obj1);
8316 if (arg2 == NULL) SWIG_fail;
8317 temp2 = true;
8318 }
d14a1e28
RD
8319 {
8320 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8321 result = (bool)(arg1)->FromString((wxString const &)*arg2);
d14a1e28
RD
8322
8323 wxPyEndAllowThreads(__tstate);
8324 if (PyErr_Occurred()) SWIG_fail;
8325 }
093d3ff1
RD
8326 {
8327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8328 }
8329 {
8330 if (temp2)
8331 delete arg2;
8332 }
d14a1e28
RD
8333 return resultobj;
8334 fail:
093d3ff1
RD
8335 {
8336 if (temp2)
8337 delete arg2;
8338 }
d14a1e28
RD
8339 return NULL;
8340}
8341
8342
093d3ff1 8343static PyObject *_wrap_NativeFontInfo_ToString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8344 PyObject *resultobj = NULL;
093d3ff1
RD
8345 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8346 wxString result;
d14a1e28
RD
8347 PyObject * obj0 = 0 ;
8348 char *kwnames[] = {
8349 (char *) "self", NULL
8350 };
8351
093d3ff1
RD
8352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_ToString",kwnames,&obj0)) goto fail;
8353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8354 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8355 {
8356 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8357 result = ((wxNativeFontInfo const *)arg1)->ToString();
d14a1e28
RD
8358
8359 wxPyEndAllowThreads(__tstate);
8360 if (PyErr_Occurred()) SWIG_fail;
8361 }
d14a1e28 8362 {
093d3ff1
RD
8363#if wxUSE_UNICODE
8364 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8365#else
8366 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8367#endif
d14a1e28 8368 }
d14a1e28
RD
8369 return resultobj;
8370 fail:
8371 return NULL;
8372}
8373
8374
093d3ff1 8375static PyObject *_wrap_NativeFontInfo___str__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8376 PyObject *resultobj = NULL;
093d3ff1
RD
8377 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8378 wxString result;
d14a1e28
RD
8379 PyObject * obj0 = 0 ;
8380 char *kwnames[] = {
093d3ff1 8381 (char *) "self", NULL
d14a1e28
RD
8382 };
8383
093d3ff1
RD
8384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo___str__",kwnames,&obj0)) goto fail;
8385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8386 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8387 {
8388 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8389 result = wxNativeFontInfo___str__(arg1);
d14a1e28
RD
8390
8391 wxPyEndAllowThreads(__tstate);
8392 if (PyErr_Occurred()) SWIG_fail;
8393 }
093d3ff1
RD
8394 {
8395#if wxUSE_UNICODE
8396 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8397#else
8398 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8399#endif
8400 }
d14a1e28
RD
8401 return resultobj;
8402 fail:
8403 return NULL;
8404}
8405
8406
093d3ff1 8407static PyObject *_wrap_NativeFontInfo_FromUserString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8408 PyObject *resultobj = NULL;
093d3ff1 8409 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
d14a1e28 8410 wxString *arg2 = 0 ;
093d3ff1 8411 bool result;
ae8162c8 8412 bool temp2 = false ;
d14a1e28
RD
8413 PyObject * obj0 = 0 ;
8414 PyObject * obj1 = 0 ;
d14a1e28 8415 char *kwnames[] = {
093d3ff1 8416 (char *) "self",(char *) "s", NULL
d14a1e28
RD
8417 };
8418
093d3ff1
RD
8419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_FromUserString",kwnames,&obj0,&obj1)) goto fail;
8420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8421 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8422 {
8423 arg2 = wxString_in_helper(obj1);
8424 if (arg2 == NULL) SWIG_fail;
ae8162c8 8425 temp2 = true;
d14a1e28 8426 }
d14a1e28
RD
8427 {
8428 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8429 result = (bool)(arg1)->FromUserString((wxString const &)*arg2);
d14a1e28
RD
8430
8431 wxPyEndAllowThreads(__tstate);
8432 if (PyErr_Occurred()) SWIG_fail;
8433 }
093d3ff1
RD
8434 {
8435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8436 }
d14a1e28
RD
8437 {
8438 if (temp2)
8439 delete arg2;
8440 }
8441 return resultobj;
8442 fail:
8443 {
8444 if (temp2)
8445 delete arg2;
8446 }
8447 return NULL;
8448}
8449
8450
093d3ff1 8451static PyObject *_wrap_NativeFontInfo_ToUserString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8452 PyObject *resultobj = NULL;
093d3ff1
RD
8453 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8454 wxString result;
8455 PyObject * obj0 = 0 ;
d14a1e28 8456 char *kwnames[] = {
093d3ff1 8457 (char *) "self", NULL
d14a1e28
RD
8458 };
8459
093d3ff1
RD
8460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_ToUserString",kwnames,&obj0)) goto fail;
8461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8462 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8463 {
8464 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8465 result = ((wxNativeFontInfo const *)arg1)->ToUserString();
d14a1e28
RD
8466
8467 wxPyEndAllowThreads(__tstate);
8468 if (PyErr_Occurred()) SWIG_fail;
8469 }
093d3ff1
RD
8470 {
8471#if wxUSE_UNICODE
8472 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8473#else
8474 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8475#endif
8476 }
d14a1e28
RD
8477 return resultobj;
8478 fail:
8479 return NULL;
8480}
8481
8482
093d3ff1
RD
8483static PyObject * NativeFontInfo_swigregister(PyObject *, PyObject *args) {
8484 PyObject *obj;
8485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8486 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo, obj);
8487 Py_INCREF(obj);
8488 return Py_BuildValue((char *)"");
8489}
8490static PyObject *_wrap_NativeEncodingInfo_facename_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8491 PyObject *resultobj = NULL;
093d3ff1
RD
8492 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
8493 wxString *arg2 = (wxString *) 0 ;
8494 bool temp2 = false ;
d14a1e28 8495 PyObject * obj0 = 0 ;
093d3ff1 8496 PyObject * obj1 = 0 ;
d14a1e28 8497 char *kwnames[] = {
093d3ff1 8498 (char *) "self",(char *) "facename", NULL
d14a1e28
RD
8499 };
8500
093d3ff1
RD
8501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeEncodingInfo_facename_set",kwnames,&obj0,&obj1)) goto fail;
8502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeEncodingInfo, SWIG_POINTER_EXCEPTION | 0);
8503 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 8504 {
093d3ff1
RD
8505 arg2 = wxString_in_helper(obj1);
8506 if (arg2 == NULL) SWIG_fail;
8507 temp2 = true;
8508 }
8509 if (arg1) (arg1)->facename = *arg2;
8510
8511 Py_INCREF(Py_None); resultobj = Py_None;
8512 {
8513 if (temp2)
8514 delete arg2;
d14a1e28 8515 }
d14a1e28
RD
8516 return resultobj;
8517 fail:
093d3ff1
RD
8518 {
8519 if (temp2)
8520 delete arg2;
8521 }
d14a1e28
RD
8522 return NULL;
8523}
8524
8525
093d3ff1 8526static PyObject *_wrap_NativeEncodingInfo_facename_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8527 PyObject *resultobj = NULL;
093d3ff1
RD
8528 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
8529 wxString *result;
994141e6 8530 PyObject * obj0 = 0 ;
d14a1e28 8531 char *kwnames[] = {
093d3ff1 8532 (char *) "self", NULL
d14a1e28
RD
8533 };
8534
093d3ff1
RD
8535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeEncodingInfo_facename_get",kwnames,&obj0)) goto fail;
8536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeEncodingInfo, SWIG_POINTER_EXCEPTION | 0);
8537 if (SWIG_arg_fail(1)) SWIG_fail;
8538 result = (wxString *)& ((arg1)->facename);
8539
d14a1e28
RD
8540 {
8541#if wxUSE_UNICODE
093d3ff1 8542 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 8543#else
093d3ff1 8544 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
8545#endif
8546 }
8547 return resultobj;
8548 fail:
8549 return NULL;
8550}
8551
8552
093d3ff1 8553static PyObject *_wrap_NativeEncodingInfo_encoding_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8554 PyObject *resultobj = NULL;
093d3ff1
RD
8555 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
8556 wxFontEncoding arg2 ;
994141e6 8557 PyObject * obj0 = 0 ;
093d3ff1 8558 PyObject * obj1 = 0 ;
d14a1e28 8559 char *kwnames[] = {
093d3ff1 8560 (char *) "self",(char *) "encoding", NULL
d14a1e28
RD
8561 };
8562
093d3ff1
RD
8563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames,&obj0,&obj1)) goto fail;
8564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeEncodingInfo, SWIG_POINTER_EXCEPTION | 0);
8565 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 8566 {
32fe5131 8567 arg2 = static_cast<wxFontEncoding >(SWIG_As_int(obj1));
093d3ff1 8568 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 8569 }
32fe5131 8570 if (arg1) (arg1)->encoding = arg2;
093d3ff1
RD
8571
8572 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8573 return resultobj;
8574 fail:
8575 return NULL;
8576}
8577
8578
093d3ff1 8579static PyObject *_wrap_NativeEncodingInfo_encoding_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8580 PyObject *resultobj = NULL;
093d3ff1
RD
8581 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
8582 wxFontEncoding result;
b2df227b
RD
8583 PyObject * obj0 = 0 ;
8584 char *kwnames[] = {
093d3ff1 8585 (char *) "self", NULL
b2df227b
RD
8586 };
8587
093d3ff1
RD
8588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeEncodingInfo_encoding_get",kwnames,&obj0)) goto fail;
8589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeEncodingInfo, SWIG_POINTER_EXCEPTION | 0);
8590 if (SWIG_arg_fail(1)) SWIG_fail;
8591 result = (wxFontEncoding) ((arg1)->encoding);
8592
8593 resultobj = SWIG_From_int((result));
b2df227b
RD
8594 return resultobj;
8595 fail:
b2df227b
RD
8596 return NULL;
8597}
8598
8599
093d3ff1 8600static PyObject *_wrap_new_NativeEncodingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8601 PyObject *resultobj = NULL;
093d3ff1
RD
8602 wxNativeEncodingInfo *result;
8603 char *kwnames[] = {
8604 NULL
8605 };
8606
8607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NativeEncodingInfo",kwnames)) goto fail;
8608 {
8609 PyThreadState* __tstate = wxPyBeginAllowThreads();
8610 result = (wxNativeEncodingInfo *)new wxNativeEncodingInfo();
8611
8612 wxPyEndAllowThreads(__tstate);
8613 if (PyErr_Occurred()) SWIG_fail;
8614 }
8615 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeEncodingInfo, 1);
8616 return resultobj;
8617 fail:
8618 return NULL;
8619}
8620
8621
8622static PyObject *_wrap_delete_NativeEncodingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8623 PyObject *resultobj = NULL;
093d3ff1 8624 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
d14a1e28 8625 PyObject * obj0 = 0 ;
d14a1e28 8626 char *kwnames[] = {
093d3ff1 8627 (char *) "self", NULL
d14a1e28
RD
8628 };
8629
093d3ff1
RD
8630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_NativeEncodingInfo",kwnames,&obj0)) goto fail;
8631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeEncodingInfo, SWIG_POINTER_EXCEPTION | 0);
8632 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8633 {
8634 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8635 delete arg1;
d14a1e28
RD
8636
8637 wxPyEndAllowThreads(__tstate);
8638 if (PyErr_Occurred()) SWIG_fail;
8639 }
8640 Py_INCREF(Py_None); resultobj = Py_None;
8641 return resultobj;
8642 fail:
8643 return NULL;
8644}
8645
8646
093d3ff1 8647static PyObject *_wrap_NativeEncodingInfo_FromString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8648 PyObject *resultobj = NULL;
093d3ff1 8649 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
d14a1e28 8650 wxString *arg2 = 0 ;
093d3ff1 8651 bool result;
ae8162c8 8652 bool temp2 = false ;
d14a1e28
RD
8653 PyObject * obj0 = 0 ;
8654 PyObject * obj1 = 0 ;
8655 char *kwnames[] = {
093d3ff1 8656 (char *) "self",(char *) "s", NULL
d14a1e28
RD
8657 };
8658
093d3ff1
RD
8659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeEncodingInfo_FromString",kwnames,&obj0,&obj1)) goto fail;
8660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeEncodingInfo, SWIG_POINTER_EXCEPTION | 0);
8661 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8662 {
8663 arg2 = wxString_in_helper(obj1);
8664 if (arg2 == NULL) SWIG_fail;
ae8162c8 8665 temp2 = true;
d14a1e28
RD
8666 }
8667 {
8668 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8669 result = (bool)(arg1)->FromString((wxString const &)*arg2);
d14a1e28
RD
8670
8671 wxPyEndAllowThreads(__tstate);
8672 if (PyErr_Occurred()) SWIG_fail;
8673 }
093d3ff1
RD
8674 {
8675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8676 }
d14a1e28
RD
8677 {
8678 if (temp2)
8679 delete arg2;
8680 }
8681 return resultobj;
8682 fail:
8683 {
8684 if (temp2)
8685 delete arg2;
8686 }
8687 return NULL;
8688}
8689
8690
093d3ff1 8691static PyObject *_wrap_NativeEncodingInfo_ToString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8692 PyObject *resultobj = NULL;
093d3ff1 8693 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
d14a1e28 8694 wxString result;
093d3ff1 8695 PyObject * obj0 = 0 ;
d14a1e28 8696 char *kwnames[] = {
093d3ff1 8697 (char *) "self", NULL
d14a1e28
RD
8698 };
8699
093d3ff1
RD
8700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeEncodingInfo_ToString",kwnames,&obj0)) goto fail;
8701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeEncodingInfo, SWIG_POINTER_EXCEPTION | 0);
8702 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8703 {
8704 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8705 result = ((wxNativeEncodingInfo const *)arg1)->ToString();
d14a1e28
RD
8706
8707 wxPyEndAllowThreads(__tstate);
8708 if (PyErr_Occurred()) SWIG_fail;
8709 }
8710 {
8711#if wxUSE_UNICODE
8712 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8713#else
8714 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8715#endif
8716 }
8717 return resultobj;
8718 fail:
8719 return NULL;
8720}
8721
8722
093d3ff1
RD
8723static PyObject * NativeEncodingInfo_swigregister(PyObject *, PyObject *args) {
8724 PyObject *obj;
8725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8726 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo, obj);
8727 Py_INCREF(obj);
8728 return Py_BuildValue((char *)"");
8729}
8730static PyObject *_wrap_GetNativeFontEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8731 PyObject *resultobj = NULL;
093d3ff1
RD
8732 wxFontEncoding arg1 ;
8733 wxNativeEncodingInfo *result;
d14a1e28 8734 PyObject * obj0 = 0 ;
d14a1e28 8735 char *kwnames[] = {
093d3ff1 8736 (char *) "encoding", NULL
d14a1e28
RD
8737 };
8738
093d3ff1
RD
8739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetNativeFontEncoding",kwnames,&obj0)) goto fail;
8740 {
32fe5131 8741 arg1 = static_cast<wxFontEncoding >(SWIG_As_int(obj0));
093d3ff1 8742 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8743 }
8744 {
8745 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 8746 result = (wxNativeEncodingInfo *)wxGetNativeFontEncoding(arg1);
d14a1e28
RD
8747
8748 wxPyEndAllowThreads(__tstate);
8749 if (PyErr_Occurred()) SWIG_fail;
8750 }
093d3ff1 8751 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeEncodingInfo, 0);
d14a1e28
RD
8752 return resultobj;
8753 fail:
d14a1e28
RD
8754 return NULL;
8755}
8756
8757
093d3ff1 8758static PyObject *_wrap_TestFontEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8759 PyObject *resultobj = NULL;
093d3ff1 8760 wxNativeEncodingInfo *arg1 = 0 ;
d14a1e28 8761 bool result;
d14a1e28 8762 PyObject * obj0 = 0 ;
d14a1e28 8763 char *kwnames[] = {
093d3ff1 8764 (char *) "info", NULL
d14a1e28
RD
8765 };
8766
093d3ff1
RD
8767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TestFontEncoding",kwnames,&obj0)) goto fail;
8768 {
8769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeEncodingInfo, SWIG_POINTER_EXCEPTION | 0);
8770 if (SWIG_arg_fail(1)) SWIG_fail;
8771 if (arg1 == NULL) {
8772 SWIG_null_ref("wxNativeEncodingInfo");
d14a1e28 8773 }
093d3ff1 8774 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8775 }
8776 {
8777 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8778 result = (bool)wxTestFontEncoding((wxNativeEncodingInfo const &)*arg1);
d14a1e28
RD
8779
8780 wxPyEndAllowThreads(__tstate);
8781 if (PyErr_Occurred()) SWIG_fail;
8782 }
4f89f6a3
RD
8783 {
8784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8785 }
d14a1e28
RD
8786 return resultobj;
8787 fail:
d14a1e28
RD
8788 return NULL;
8789}
8790
8791
093d3ff1 8792static PyObject *_wrap_new_FontMapper(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8793 PyObject *resultobj = NULL;
093d3ff1 8794 wxFontMapper *result;
d14a1e28 8795 char *kwnames[] = {
093d3ff1 8796 NULL
d14a1e28
RD
8797 };
8798
093d3ff1 8799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontMapper",kwnames)) goto fail;
d14a1e28
RD
8800 {
8801 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8802 result = (wxFontMapper *)new wxFontMapper();
d14a1e28
RD
8803
8804 wxPyEndAllowThreads(__tstate);
8805 if (PyErr_Occurred()) SWIG_fail;
8806 }
093d3ff1 8807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontMapper, 1);
d14a1e28
RD
8808 return resultobj;
8809 fail:
8810 return NULL;
8811}
8812
8813
093d3ff1 8814static PyObject *_wrap_delete_FontMapper(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8815 PyObject *resultobj = NULL;
d14a1e28 8816 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
d14a1e28 8817 PyObject * obj0 = 0 ;
d14a1e28 8818 char *kwnames[] = {
093d3ff1 8819 (char *) "self", NULL
d14a1e28
RD
8820 };
8821
093d3ff1
RD
8822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontMapper",kwnames,&obj0)) goto fail;
8823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontMapper, SWIG_POINTER_EXCEPTION | 0);
8824 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8825 {
8826 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8827 delete arg1;
d14a1e28
RD
8828
8829 wxPyEndAllowThreads(__tstate);
8830 if (PyErr_Occurred()) SWIG_fail;
8831 }
8832 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8833 return resultobj;
8834 fail:
d14a1e28
RD
8835 return NULL;
8836}
8837
8838
093d3ff1 8839static PyObject *_wrap_FontMapper_Get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8840 PyObject *resultobj = NULL;
093d3ff1 8841 wxFontMapper *result;
d14a1e28 8842 char *kwnames[] = {
093d3ff1 8843 NULL
d14a1e28
RD
8844 };
8845
093d3ff1 8846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FontMapper_Get",kwnames)) goto fail;
d14a1e28
RD
8847 {
8848 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8849 result = (wxFontMapper *)wxFontMapper::Get();
d14a1e28
RD
8850
8851 wxPyEndAllowThreads(__tstate);
110da5b0 8852 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8853 }
093d3ff1 8854 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontMapper, 0);
d14a1e28
RD
8855 return resultobj;
8856 fail:
d14a1e28
RD
8857 return NULL;
8858}
8859
8860
093d3ff1 8861static PyObject *_wrap_FontMapper_Set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8862 PyObject *resultobj = NULL;
093d3ff1
RD
8863 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
8864 wxFontMapper *result;
d14a1e28
RD
8865 PyObject * obj0 = 0 ;
8866 char *kwnames[] = {
093d3ff1 8867 (char *) "mapper", NULL
d14a1e28
RD
8868 };
8869
093d3ff1
RD
8870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_Set",kwnames,&obj0)) goto fail;
8871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontMapper, SWIG_POINTER_EXCEPTION | 0);
8872 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8873 {
8874 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8875 result = (wxFontMapper *)wxFontMapper::Set(arg1);
d14a1e28
RD
8876
8877 wxPyEndAllowThreads(__tstate);
8878 if (PyErr_Occurred()) SWIG_fail;
8879 }
093d3ff1 8880 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontMapper, 0);
d14a1e28
RD
8881 return resultobj;
8882 fail:
8883 return NULL;
8884}
8885
8886
093d3ff1 8887static PyObject *_wrap_FontMapper_CharsetToEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8888 PyObject *resultobj = NULL;
093d3ff1
RD
8889 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
8890 wxString *arg2 = 0 ;
8891 bool arg3 = (bool) true ;
8892 wxFontEncoding result;
8893 bool temp2 = false ;
d14a1e28 8894 PyObject * obj0 = 0 ;
093d3ff1
RD
8895 PyObject * obj1 = 0 ;
8896 PyObject * obj2 = 0 ;
d14a1e28 8897 char *kwnames[] = {
093d3ff1 8898 (char *) "self",(char *) "charset",(char *) "interactive", NULL
d14a1e28
RD
8899 };
8900
093d3ff1
RD
8901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames,&obj0,&obj1,&obj2)) goto fail;
8902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontMapper, SWIG_POINTER_EXCEPTION | 0);
8903 if (SWIG_arg_fail(1)) SWIG_fail;
8904 {
8905 arg2 = wxString_in_helper(obj1);
8906 if (arg2 == NULL) SWIG_fail;
8907 temp2 = true;
8908 }
8909 if (obj2) {
8910 {
32fe5131 8911 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
8912 if (SWIG_arg_fail(3)) SWIG_fail;
8913 }
8914 }
d14a1e28
RD
8915 {
8916 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8917 result = (wxFontEncoding)(arg1)->CharsetToEncoding((wxString const &)*arg2,arg3);
d14a1e28
RD
8918
8919 wxPyEndAllowThreads(__tstate);
110da5b0 8920 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8921 }
093d3ff1
RD
8922 resultobj = SWIG_From_int((result));
8923 {
8924 if (temp2)
8925 delete arg2;
8926 }
d14a1e28
RD
8927 return resultobj;
8928 fail:
093d3ff1
RD
8929 {
8930 if (temp2)
8931 delete arg2;
8932 }
d14a1e28
RD
8933 return NULL;
8934}
8935
8936
093d3ff1 8937static PyObject *_wrap_FontMapper_GetSupportedEncodingsCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8938 PyObject *resultobj = NULL;
093d3ff1 8939 size_t result;
d14a1e28 8940 char *kwnames[] = {
093d3ff1 8941 NULL
d14a1e28
RD
8942 };
8943
093d3ff1 8944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames)) goto fail;
d14a1e28
RD
8945 {
8946 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8947 result = (size_t)wxFontMapper::GetSupportedEncodingsCount();
d14a1e28
RD
8948
8949 wxPyEndAllowThreads(__tstate);
110da5b0 8950 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8951 }
d14a1e28 8952 {
32fe5131 8953 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
d14a1e28
RD
8954 }
8955 return resultobj;
8956 fail:
d14a1e28
RD
8957 return NULL;
8958}
8959
8960
093d3ff1 8961static PyObject *_wrap_FontMapper_GetEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8962 PyObject *resultobj = NULL;
093d3ff1
RD
8963 size_t arg1 ;
8964 wxFontEncoding result;
994141e6 8965 PyObject * obj0 = 0 ;
d14a1e28 8966 char *kwnames[] = {
093d3ff1 8967 (char *) "n", NULL
d14a1e28
RD
8968 };
8969
093d3ff1
RD
8970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncoding",kwnames,&obj0)) goto fail;
8971 {
32fe5131 8972 arg1 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0));
093d3ff1 8973 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 8974 }
d14a1e28
RD
8975 {
8976 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8977 result = (wxFontEncoding)wxFontMapper::GetEncoding(arg1);
d14a1e28
RD
8978
8979 wxPyEndAllowThreads(__tstate);
110da5b0 8980 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8981 }
093d3ff1 8982 resultobj = SWIG_From_int((result));
d14a1e28
RD
8983 return resultobj;
8984 fail:
d14a1e28
RD
8985 return NULL;
8986}
8987
8988
093d3ff1 8989static PyObject *_wrap_FontMapper_GetEncodingName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8990 PyObject *resultobj = NULL;
093d3ff1
RD
8991 wxFontEncoding arg1 ;
8992 wxString result;
b6294124 8993 PyObject * obj0 = 0 ;
b6294124 8994 char *kwnames[] = {
093d3ff1 8995 (char *) "encoding", NULL
b6294124
RD
8996 };
8997
093d3ff1 8998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncodingName",kwnames,&obj0)) goto fail;
b6294124 8999 {
32fe5131 9000 arg1 = static_cast<wxFontEncoding >(SWIG_As_int(obj0));
093d3ff1 9001 if (SWIG_arg_fail(1)) SWIG_fail;
b6294124
RD
9002 }
9003 {
b6294124 9004 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9005 result = wxFontMapper::GetEncodingName(arg1);
b6294124
RD
9006
9007 wxPyEndAllowThreads(__tstate);
9008 if (PyErr_Occurred()) SWIG_fail;
9009 }
b6294124 9010 {
093d3ff1
RD
9011#if wxUSE_UNICODE
9012 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9013#else
9014 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9015#endif
b6294124
RD
9016 }
9017 return resultobj;
9018 fail:
b6294124
RD
9019 return NULL;
9020}
9021
9022
093d3ff1 9023static PyObject *_wrap_FontMapper_GetEncodingDescription(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9024 PyObject *resultobj = NULL;
093d3ff1
RD
9025 wxFontEncoding arg1 ;
9026 wxString result;
d14a1e28
RD
9027 PyObject * obj0 = 0 ;
9028 char *kwnames[] = {
093d3ff1 9029 (char *) "encoding", NULL
d14a1e28
RD
9030 };
9031
093d3ff1
RD
9032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncodingDescription",kwnames,&obj0)) goto fail;
9033 {
32fe5131 9034 arg1 = static_cast<wxFontEncoding >(SWIG_As_int(obj0));
093d3ff1
RD
9035 if (SWIG_arg_fail(1)) SWIG_fail;
9036 }
d14a1e28
RD
9037 {
9038 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9039 result = wxFontMapper::GetEncodingDescription(arg1);
d14a1e28
RD
9040
9041 wxPyEndAllowThreads(__tstate);
9042 if (PyErr_Occurred()) SWIG_fail;
9043 }
4f89f6a3 9044 {
093d3ff1
RD
9045#if wxUSE_UNICODE
9046 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9047#else
9048 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9049#endif
4f89f6a3 9050 }
d14a1e28
RD
9051 return resultobj;
9052 fail:
9053 return NULL;
9054}
9055
9056
093d3ff1 9057static PyObject *_wrap_FontMapper_GetEncodingFromName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9058 PyObject *resultobj = NULL;
093d3ff1
RD
9059 wxString *arg1 = 0 ;
9060 wxFontEncoding result;
9061 bool temp1 = false ;
d14a1e28 9062 PyObject * obj0 = 0 ;
d14a1e28 9063 char *kwnames[] = {
093d3ff1 9064 (char *) "name", NULL
d14a1e28
RD
9065 };
9066
093d3ff1
RD
9067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncodingFromName",kwnames,&obj0)) goto fail;
9068 {
9069 arg1 = wxString_in_helper(obj0);
9070 if (arg1 == NULL) SWIG_fail;
9071 temp1 = true;
9072 }
d14a1e28
RD
9073 {
9074 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9075 result = (wxFontEncoding)wxFontMapper::GetEncodingFromName((wxString const &)*arg1);
d14a1e28
RD
9076
9077 wxPyEndAllowThreads(__tstate);
9078 if (PyErr_Occurred()) SWIG_fail;
9079 }
093d3ff1 9080 resultobj = SWIG_From_int((result));
4f89f6a3 9081 {
093d3ff1
RD
9082 if (temp1)
9083 delete arg1;
4f89f6a3 9084 }
d14a1e28
RD
9085 return resultobj;
9086 fail:
093d3ff1
RD
9087 {
9088 if (temp1)
9089 delete arg1;
9090 }
d14a1e28
RD
9091 return NULL;
9092}
9093
9094
093d3ff1 9095static PyObject *_wrap_FontMapper_SetConfigPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9096 PyObject *resultobj = NULL;
093d3ff1
RD
9097 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
9098 wxString *arg2 = 0 ;
9099 bool temp2 = false ;
d14a1e28 9100 PyObject * obj0 = 0 ;
093d3ff1 9101 PyObject * obj1 = 0 ;
d14a1e28 9102 char *kwnames[] = {
093d3ff1 9103 (char *) "self",(char *) "prefix", NULL
d14a1e28
RD
9104 };
9105
093d3ff1
RD
9106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetConfigPath",kwnames,&obj0,&obj1)) goto fail;
9107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontMapper, SWIG_POINTER_EXCEPTION | 0);
9108 if (SWIG_arg_fail(1)) SWIG_fail;
9109 {
9110 arg2 = wxString_in_helper(obj1);
9111 if (arg2 == NULL) SWIG_fail;
9112 temp2 = true;
9113 }
d14a1e28
RD
9114 {
9115 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9116 (arg1)->SetConfigPath((wxString const &)*arg2);
d14a1e28
RD
9117
9118 wxPyEndAllowThreads(__tstate);
9119 if (PyErr_Occurred()) SWIG_fail;
9120 }
093d3ff1
RD
9121 Py_INCREF(Py_None); resultobj = Py_None;
9122 {
9123 if (temp2)
9124 delete arg2;
9125 }
d14a1e28
RD
9126 return resultobj;
9127 fail:
093d3ff1
RD
9128 {
9129 if (temp2)
9130 delete arg2;
9131 }
d14a1e28
RD
9132 return NULL;
9133}
9134
9135
093d3ff1 9136static PyObject *_wrap_FontMapper_GetDefaultConfigPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9137 PyObject *resultobj = NULL;
093d3ff1 9138 wxString result;
b6294124 9139 char *kwnames[] = {
093d3ff1 9140 NULL
b6294124
RD
9141 };
9142
093d3ff1 9143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FontMapper_GetDefaultConfigPath",kwnames)) goto fail;
b6294124
RD
9144 {
9145 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9146 result = wxFontMapper::GetDefaultConfigPath();
b6294124
RD
9147
9148 wxPyEndAllowThreads(__tstate);
9149 if (PyErr_Occurred()) SWIG_fail;
9150 }
9151 {
093d3ff1
RD
9152#if wxUSE_UNICODE
9153 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9154#else
9155 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9156#endif
b6294124
RD
9157 }
9158 return resultobj;
9159 fail:
9160 return NULL;
9161}
9162
9163
093d3ff1 9164static PyObject *_wrap_FontMapper_GetAltForEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9165 PyObject *resultobj = NULL;
093d3ff1
RD
9166 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
9167 wxFontEncoding arg2 ;
9168 wxString const &arg3_defvalue = wxPyEmptyString ;
9169 wxString *arg3 = (wxString *) &arg3_defvalue ;
9170 bool arg4 = (bool) true ;
9171 PyObject *result;
9172 bool temp3 = false ;
9173 PyObject * obj0 = 0 ;
9174 PyObject * obj1 = 0 ;
9175 PyObject * obj2 = 0 ;
9176 PyObject * obj3 = 0 ;
9177 char *kwnames[] = {
9178 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
b6294124
RD
9179 };
9180
093d3ff1
RD
9181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontMapper, SWIG_POINTER_EXCEPTION | 0);
9183 if (SWIG_arg_fail(1)) SWIG_fail;
9184 {
32fe5131 9185 arg2 = static_cast<wxFontEncoding >(SWIG_As_int(obj1));
093d3ff1
RD
9186 if (SWIG_arg_fail(2)) SWIG_fail;
9187 }
9188 if (obj2) {
9189 {
9190 arg3 = wxString_in_helper(obj2);
9191 if (arg3 == NULL) SWIG_fail;
9192 temp3 = true;
9193 }
9194 }
9195 if (obj3) {
9196 {
32fe5131 9197 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
9198 if (SWIG_arg_fail(4)) SWIG_fail;
9199 }
9200 }
b6294124
RD
9201 {
9202 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9203 result = (PyObject *)wxFontMapper_GetAltForEncoding(arg1,arg2,(wxString const &)*arg3,arg4);
b6294124
RD
9204
9205 wxPyEndAllowThreads(__tstate);
9206 if (PyErr_Occurred()) SWIG_fail;
9207 }
093d3ff1 9208 resultobj = result;
b6294124 9209 {
093d3ff1
RD
9210 if (temp3)
9211 delete arg3;
b6294124
RD
9212 }
9213 return resultobj;
9214 fail:
d14a1e28 9215 {
093d3ff1
RD
9216 if (temp3)
9217 delete arg3;
d14a1e28 9218 }
d14a1e28
RD
9219 return NULL;
9220}
9221
9222
093d3ff1 9223static PyObject *_wrap_FontMapper_IsEncodingAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9224 PyObject *resultobj = NULL;
093d3ff1
RD
9225 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
9226 wxFontEncoding arg2 ;
9227 wxString const &arg3_defvalue = wxPyEmptyString ;
9228 wxString *arg3 = (wxString *) &arg3_defvalue ;
9229 bool result;
9230 bool temp3 = false ;
d14a1e28 9231 PyObject * obj0 = 0 ;
093d3ff1
RD
9232 PyObject * obj1 = 0 ;
9233 PyObject * obj2 = 0 ;
d14a1e28 9234 char *kwnames[] = {
093d3ff1 9235 (char *) "self",(char *) "encoding",(char *) "facename", NULL
d14a1e28
RD
9236 };
9237
093d3ff1
RD
9238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames,&obj0,&obj1,&obj2)) goto fail;
9239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontMapper, SWIG_POINTER_EXCEPTION | 0);
9240 if (SWIG_arg_fail(1)) SWIG_fail;
9241 {
32fe5131 9242 arg2 = static_cast<wxFontEncoding >(SWIG_As_int(obj1));
093d3ff1
RD
9243 if (SWIG_arg_fail(2)) SWIG_fail;
9244 }
9245 if (obj2) {
9246 {
9247 arg3 = wxString_in_helper(obj2);
9248 if (arg3 == NULL) SWIG_fail;
9249 temp3 = true;
9250 }
9251 }
d14a1e28
RD
9252 {
9253 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9254 result = (bool)(arg1)->IsEncodingAvailable(arg2,(wxString const &)*arg3);
d14a1e28
RD
9255
9256 wxPyEndAllowThreads(__tstate);
9257 if (PyErr_Occurred()) SWIG_fail;
9258 }
093d3ff1
RD
9259 {
9260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9261 }
9262 {
9263 if (temp3)
9264 delete arg3;
9265 }
d14a1e28
RD
9266 return resultobj;
9267 fail:
093d3ff1
RD
9268 {
9269 if (temp3)
9270 delete arg3;
9271 }
d14a1e28
RD
9272 return NULL;
9273}
9274
9275
093d3ff1 9276static PyObject *_wrap_FontMapper_SetDialogParent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9277 PyObject *resultobj = NULL;
093d3ff1
RD
9278 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
9279 wxWindow *arg2 = (wxWindow *) 0 ;
d14a1e28 9280 PyObject * obj0 = 0 ;
093d3ff1 9281 PyObject * obj1 = 0 ;
d14a1e28 9282 char *kwnames[] = {
093d3ff1 9283 (char *) "self",(char *) "parent", NULL
d14a1e28
RD
9284 };
9285
093d3ff1
RD
9286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetDialogParent",kwnames,&obj0,&obj1)) goto fail;
9287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontMapper, SWIG_POINTER_EXCEPTION | 0);
9288 if (SWIG_arg_fail(1)) SWIG_fail;
9289 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9290 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
9291 {
9292 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9293 (arg1)->SetDialogParent(arg2);
d14a1e28
RD
9294
9295 wxPyEndAllowThreads(__tstate);
9296 if (PyErr_Occurred()) SWIG_fail;
9297 }
093d3ff1 9298 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9299 return resultobj;
9300 fail:
9301 return NULL;
9302}
9303
9304
093d3ff1 9305static PyObject *_wrap_FontMapper_SetDialogTitle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9306 PyObject *resultobj = NULL;
093d3ff1
RD
9307 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
9308 wxString *arg2 = 0 ;
9309 bool temp2 = false ;
d14a1e28 9310 PyObject * obj0 = 0 ;
093d3ff1 9311 PyObject * obj1 = 0 ;
d14a1e28 9312 char *kwnames[] = {
093d3ff1 9313 (char *) "self",(char *) "title", NULL
d14a1e28
RD
9314 };
9315
093d3ff1
RD
9316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetDialogTitle",kwnames,&obj0,&obj1)) goto fail;
9317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontMapper, SWIG_POINTER_EXCEPTION | 0);
9318 if (SWIG_arg_fail(1)) SWIG_fail;
9319 {
9320 arg2 = wxString_in_helper(obj1);
9321 if (arg2 == NULL) SWIG_fail;
9322 temp2 = true;
9323 }
d14a1e28
RD
9324 {
9325 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9326 (arg1)->SetDialogTitle((wxString const &)*arg2);
d14a1e28
RD
9327
9328 wxPyEndAllowThreads(__tstate);
9329 if (PyErr_Occurred()) SWIG_fail;
9330 }
093d3ff1 9331 Py_INCREF(Py_None); resultobj = Py_None;
4f89f6a3 9332 {
093d3ff1
RD
9333 if (temp2)
9334 delete arg2;
4f89f6a3 9335 }
d14a1e28
RD
9336 return resultobj;
9337 fail:
093d3ff1
RD
9338 {
9339 if (temp2)
9340 delete arg2;
9341 }
d14a1e28
RD
9342 return NULL;
9343}
9344
9345
093d3ff1
RD
9346static PyObject * FontMapper_swigregister(PyObject *, PyObject *args) {
9347 PyObject *obj;
9348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9349 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper, obj);
9350 Py_INCREF(obj);
9351 return Py_BuildValue((char *)"");
9352}
9353static PyObject *_wrap_new_Font(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9354 PyObject *resultobj = NULL;
093d3ff1
RD
9355 int arg1 ;
9356 int arg2 ;
9357 int arg3 ;
9358 int arg4 ;
9359 bool arg5 = (bool) false ;
9360 wxString const &arg6_defvalue = wxPyEmptyString ;
9361 wxString *arg6 = (wxString *) &arg6_defvalue ;
9362 wxFontEncoding arg7 = (wxFontEncoding) wxFONTENCODING_DEFAULT ;
9363 wxFont *result;
9364 bool temp6 = false ;
d14a1e28 9365 PyObject * obj0 = 0 ;
093d3ff1
RD
9366 PyObject * obj1 = 0 ;
9367 PyObject * obj2 = 0 ;
9368 PyObject * obj3 = 0 ;
9369 PyObject * obj4 = 0 ;
9370 PyObject * obj5 = 0 ;
9371 PyObject * obj6 = 0 ;
d14a1e28 9372 char *kwnames[] = {
093d3ff1 9373 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
d14a1e28
RD
9374 };
9375
093d3ff1
RD
9376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:new_Font",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9377 {
32fe5131 9378 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
9379 if (SWIG_arg_fail(1)) SWIG_fail;
9380 }
9381 {
32fe5131 9382 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9383 if (SWIG_arg_fail(2)) SWIG_fail;
9384 }
9385 {
32fe5131 9386 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
9387 if (SWIG_arg_fail(3)) SWIG_fail;
9388 }
9389 {
32fe5131 9390 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
9391 if (SWIG_arg_fail(4)) SWIG_fail;
9392 }
9393 if (obj4) {
9394 {
32fe5131 9395 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
093d3ff1
RD
9396 if (SWIG_arg_fail(5)) SWIG_fail;
9397 }
9398 }
9399 if (obj5) {
9400 {
9401 arg6 = wxString_in_helper(obj5);
9402 if (arg6 == NULL) SWIG_fail;
9403 temp6 = true;
9404 }
9405 }
9406 if (obj6) {
9407 {
32fe5131 9408 arg7 = static_cast<wxFontEncoding >(SWIG_As_int(obj6));
093d3ff1
RD
9409 if (SWIG_arg_fail(7)) SWIG_fail;
9410 }
9411 }
d14a1e28 9412 {
093d3ff1 9413 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 9414 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9415 result = (wxFont *)new wxFont(arg1,arg2,arg3,arg4,arg5,(wxString const &)*arg6,arg7);
d14a1e28
RD
9416
9417 wxPyEndAllowThreads(__tstate);
9418 if (PyErr_Occurred()) SWIG_fail;
9419 }
093d3ff1 9420 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d14a1e28 9421 {
093d3ff1
RD
9422 if (temp6)
9423 delete arg6;
d14a1e28
RD
9424 }
9425 return resultobj;
9426 fail:
093d3ff1
RD
9427 {
9428 if (temp6)
9429 delete arg6;
9430 }
d14a1e28
RD
9431 return NULL;
9432}
9433
9434
093d3ff1 9435static PyObject *_wrap_delete_Font(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9436 PyObject *resultobj = NULL;
d14a1e28 9437 wxFont *arg1 = (wxFont *) 0 ;
d14a1e28
RD
9438 PyObject * obj0 = 0 ;
9439 char *kwnames[] = {
9440 (char *) "self", NULL
9441 };
9442
093d3ff1
RD
9443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Font",kwnames,&obj0)) goto fail;
9444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
9445 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9446 {
9447 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9448 delete arg1;
d14a1e28
RD
9449
9450 wxPyEndAllowThreads(__tstate);
9451 if (PyErr_Occurred()) SWIG_fail;
9452 }
093d3ff1 9453 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9454 return resultobj;
9455 fail:
9456 return NULL;
9457}
9458
9459
093d3ff1 9460static PyObject *_wrap_new_FontFromNativeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9461 PyObject *resultobj = NULL;
093d3ff1
RD
9462 wxNativeFontInfo *arg1 = 0 ;
9463 wxFont *result;
d14a1e28
RD
9464 PyObject * obj0 = 0 ;
9465 char *kwnames[] = {
093d3ff1 9466 (char *) "info", NULL
d14a1e28
RD
9467 };
9468
093d3ff1 9469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FontFromNativeInfo",kwnames,&obj0)) goto fail;
d14a1e28 9470 {
093d3ff1
RD
9471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
9472 if (SWIG_arg_fail(1)) SWIG_fail;
9473 if (arg1 == NULL) {
9474 SWIG_null_ref("wxNativeFontInfo");
9475 }
9476 if (SWIG_arg_fail(1)) SWIG_fail;
9477 }
9478 {
9479 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 9480 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9481 result = (wxFont *)new wxFont((wxNativeFontInfo const &)*arg1);
d14a1e28
RD
9482
9483 wxPyEndAllowThreads(__tstate);
9484 if (PyErr_Occurred()) SWIG_fail;
9485 }
093d3ff1 9486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
9487 return resultobj;
9488 fail:
9489 return NULL;
9490}
9491
9492
093d3ff1 9493static PyObject *_wrap_new_FontFromNativeInfoString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9494 PyObject *resultobj = NULL;
093d3ff1
RD
9495 wxString *arg1 = 0 ;
9496 wxFont *result;
9497 bool temp1 = false ;
d14a1e28
RD
9498 PyObject * obj0 = 0 ;
9499 char *kwnames[] = {
093d3ff1 9500 (char *) "info", NULL
d14a1e28
RD
9501 };
9502
093d3ff1
RD
9503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FontFromNativeInfoString",kwnames,&obj0)) goto fail;
9504 {
9505 arg1 = wxString_in_helper(obj0);
9506 if (arg1 == NULL) SWIG_fail;
9507 temp1 = true;
9508 }
d14a1e28 9509 {
093d3ff1 9510 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 9511 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9512 result = (wxFont *)new_wxFont((wxString const &)*arg1);
d14a1e28
RD
9513
9514 wxPyEndAllowThreads(__tstate);
9515 if (PyErr_Occurred()) SWIG_fail;
9516 }
093d3ff1 9517 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
4f89f6a3 9518 {
093d3ff1
RD
9519 if (temp1)
9520 delete arg1;
4f89f6a3 9521 }
d14a1e28
RD
9522 return resultobj;
9523 fail:
093d3ff1
RD
9524 {
9525 if (temp1)
9526 delete arg1;
9527 }
d14a1e28
RD
9528 return NULL;
9529}
9530
9531
73c8ef6a 9532static PyObject *_wrap_new_FFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9533 PyObject *resultobj = NULL;
093d3ff1
RD
9534 int arg1 ;
9535 wxFontFamily arg2 ;
9536 int arg3 = (int) wxFONTFLAG_DEFAULT ;
9537 wxString const &arg4_defvalue = wxPyEmptyString ;
9538 wxString *arg4 = (wxString *) &arg4_defvalue ;
9539 wxFontEncoding arg5 = (wxFontEncoding) wxFONTENCODING_DEFAULT ;
9540 wxFont *result;
9541 bool temp4 = false ;
d14a1e28 9542 PyObject * obj0 = 0 ;
093d3ff1
RD
9543 PyObject * obj1 = 0 ;
9544 PyObject * obj2 = 0 ;
9545 PyObject * obj3 = 0 ;
9546 PyObject * obj4 = 0 ;
d14a1e28 9547 char *kwnames[] = {
093d3ff1 9548 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
d14a1e28
RD
9549 };
9550
73c8ef6a 9551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_FFont",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1 9552 {
32fe5131 9553 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
9554 if (SWIG_arg_fail(1)) SWIG_fail;
9555 }
9556 {
32fe5131 9557 arg2 = static_cast<wxFontFamily >(SWIG_As_int(obj1));
093d3ff1
RD
9558 if (SWIG_arg_fail(2)) SWIG_fail;
9559 }
9560 if (obj2) {
9561 {
32fe5131 9562 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
9563 if (SWIG_arg_fail(3)) SWIG_fail;
9564 }
9565 }
9566 if (obj3) {
9567 {
9568 arg4 = wxString_in_helper(obj3);
9569 if (arg4 == NULL) SWIG_fail;
9570 temp4 = true;
9571 }
9572 }
9573 if (obj4) {
9574 {
32fe5131 9575 arg5 = static_cast<wxFontEncoding >(SWIG_As_int(obj4));
093d3ff1
RD
9576 if (SWIG_arg_fail(5)) SWIG_fail;
9577 }
9578 }
d14a1e28 9579 {
093d3ff1 9580 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 9581 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9582 result = (wxFont *)new_wxFont(arg1,arg2,arg3,(wxString const &)*arg4,arg5);
d14a1e28
RD
9583
9584 wxPyEndAllowThreads(__tstate);
9585 if (PyErr_Occurred()) SWIG_fail;
9586 }
093d3ff1 9587 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d14a1e28 9588 {
093d3ff1
RD
9589 if (temp4)
9590 delete arg4;
d14a1e28
RD
9591 }
9592 return resultobj;
9593 fail:
093d3ff1
RD
9594 {
9595 if (temp4)
9596 delete arg4;
9597 }
d14a1e28
RD
9598 return NULL;
9599}
9600
9601
093d3ff1 9602static PyObject *_wrap_new_FontFromPixelSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9603 PyObject *resultobj = NULL;
093d3ff1
RD
9604 wxSize *arg1 = 0 ;
9605 int arg2 ;
9606 int arg3 ;
9607 int arg4 ;
9608 bool arg5 = (bool) false ;
9609 wxString const &arg6_defvalue = wxEmptyString ;
9610 wxString *arg6 = (wxString *) &arg6_defvalue ;
9611 wxFontEncoding arg7 = (wxFontEncoding) wxFONTENCODING_DEFAULT ;
9612 wxFont *result;
9613 wxSize temp1 ;
9614 bool temp6 = false ;
d14a1e28 9615 PyObject * obj0 = 0 ;
093d3ff1
RD
9616 PyObject * obj1 = 0 ;
9617 PyObject * obj2 = 0 ;
9618 PyObject * obj3 = 0 ;
9619 PyObject * obj4 = 0 ;
9620 PyObject * obj5 = 0 ;
9621 PyObject * obj6 = 0 ;
d14a1e28 9622 char *kwnames[] = {
093d3ff1 9623 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
d14a1e28
RD
9624 };
9625
093d3ff1
RD
9626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9627 {
9628 arg1 = &temp1;
9629 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
9630 }
9631 {
32fe5131 9632 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9633 if (SWIG_arg_fail(2)) SWIG_fail;
9634 }
9635 {
32fe5131 9636 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
9637 if (SWIG_arg_fail(3)) SWIG_fail;
9638 }
9639 {
32fe5131 9640 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
9641 if (SWIG_arg_fail(4)) SWIG_fail;
9642 }
9643 if (obj4) {
9644 {
32fe5131 9645 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
093d3ff1
RD
9646 if (SWIG_arg_fail(5)) SWIG_fail;
9647 }
9648 }
9649 if (obj5) {
9650 {
9651 arg6 = wxString_in_helper(obj5);
9652 if (arg6 == NULL) SWIG_fail;
9653 temp6 = true;
9654 }
9655 }
9656 if (obj6) {
9657 {
32fe5131 9658 arg7 = static_cast<wxFontEncoding >(SWIG_As_int(obj6));
093d3ff1
RD
9659 if (SWIG_arg_fail(7)) SWIG_fail;
9660 }
9661 }
d14a1e28 9662 {
093d3ff1 9663 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 9664 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9665 result = (wxFont *)new_wxFont((wxSize const &)*arg1,arg2,arg3,arg4,arg5,(wxString const &)*arg6,arg7);
d14a1e28
RD
9666
9667 wxPyEndAllowThreads(__tstate);
9668 if (PyErr_Occurred()) SWIG_fail;
9669 }
093d3ff1 9670 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d14a1e28 9671 {
093d3ff1
RD
9672 if (temp6)
9673 delete arg6;
d14a1e28
RD
9674 }
9675 return resultobj;
9676 fail:
093d3ff1
RD
9677 {
9678 if (temp6)
9679 delete arg6;
9680 }
d14a1e28
RD
9681 return NULL;
9682}
9683
9684
73c8ef6a 9685static PyObject *_wrap_new_FFontFromPixelSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9686 PyObject *resultobj = NULL;
73c8ef6a
RD
9687 wxSize *arg1 = 0 ;
9688 wxFontFamily arg2 ;
9689 int arg3 = (int) wxFONTFLAG_DEFAULT ;
9690 wxString const &arg4_defvalue = wxEmptyString ;
9691 wxString *arg4 = (wxString *) &arg4_defvalue ;
9692 wxFontEncoding arg5 = (wxFontEncoding) wxFONTENCODING_DEFAULT ;
9693 wxFont *result;
9694 wxSize temp1 ;
9695 bool temp4 = false ;
9696 PyObject * obj0 = 0 ;
9697 PyObject * obj1 = 0 ;
9698 PyObject * obj2 = 0 ;
9699 PyObject * obj3 = 0 ;
9700 PyObject * obj4 = 0 ;
9701 char *kwnames[] = {
9702 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
9703 };
9704
9705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
9706 {
9707 arg1 = &temp1;
9708 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
9709 }
9710 {
32fe5131 9711 arg2 = static_cast<wxFontFamily >(SWIG_As_int(obj1));
73c8ef6a
RD
9712 if (SWIG_arg_fail(2)) SWIG_fail;
9713 }
9714 if (obj2) {
9715 {
32fe5131 9716 arg3 = static_cast<int >(SWIG_As_int(obj2));
73c8ef6a
RD
9717 if (SWIG_arg_fail(3)) SWIG_fail;
9718 }
9719 }
9720 if (obj3) {
9721 {
9722 arg4 = wxString_in_helper(obj3);
9723 if (arg4 == NULL) SWIG_fail;
9724 temp4 = true;
9725 }
9726 }
9727 if (obj4) {
9728 {
32fe5131 9729 arg5 = static_cast<wxFontEncoding >(SWIG_As_int(obj4));
73c8ef6a
RD
9730 if (SWIG_arg_fail(5)) SWIG_fail;
9731 }
9732 }
9733 {
9734 if (!wxPyCheckForApp()) SWIG_fail;
9735 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9736 result = (wxFont *)new_wxFont((wxSize const &)*arg1,arg2,arg3,(wxString const &)*arg4,arg5);
73c8ef6a
RD
9737
9738 wxPyEndAllowThreads(__tstate);
9739 if (PyErr_Occurred()) SWIG_fail;
9740 }
9741 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
9742 {
9743 if (temp4)
9744 delete arg4;
9745 }
9746 return resultobj;
9747 fail:
9748 {
9749 if (temp4)
9750 delete arg4;
9751 }
9752 return NULL;
9753}
9754
9755
093d3ff1 9756static PyObject *_wrap_Font_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9757 PyObject *resultobj = NULL;
d14a1e28 9758 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 9759 bool result;
d14a1e28
RD
9760 PyObject * obj0 = 0 ;
9761 char *kwnames[] = {
093d3ff1 9762 (char *) "self", NULL
d14a1e28
RD
9763 };
9764
093d3ff1
RD
9765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_Ok",kwnames,&obj0)) goto fail;
9766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
9767 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9768 {
9769 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9770 result = (bool)((wxFont const *)arg1)->Ok();
d14a1e28
RD
9771
9772 wxPyEndAllowThreads(__tstate);
9773 if (PyErr_Occurred()) SWIG_fail;
9774 }
093d3ff1
RD
9775 {
9776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9777 }
d14a1e28
RD
9778 return resultobj;
9779 fail:
9780 return NULL;
9781}
9782
9783
093d3ff1 9784static PyObject *_wrap_Font___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9785 PyObject *resultobj = NULL;
b6294124 9786 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1
RD
9787 wxFont *arg2 = (wxFont *) 0 ;
9788 bool result;
b6294124
RD
9789 PyObject * obj0 = 0 ;
9790 PyObject * obj1 = 0 ;
9791 char *kwnames[] = {
093d3ff1 9792 (char *) "self",(char *) "other", NULL
b6294124
RD
9793 };
9794
093d3ff1
RD
9795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font___eq__",kwnames,&obj0,&obj1)) goto fail;
9796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
9797 if (SWIG_arg_fail(1)) SWIG_fail;
9798 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
9799 if (SWIG_arg_fail(2)) SWIG_fail;
b6294124
RD
9800 {
9801 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9802 result = (bool)wxFont___eq__(arg1,(wxFont const *)arg2);
b6294124
RD
9803
9804 wxPyEndAllowThreads(__tstate);
9805 if (PyErr_Occurred()) SWIG_fail;
9806 }
093d3ff1
RD
9807 {
9808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9809 }
b6294124
RD
9810 return resultobj;
9811 fail:
9812 return NULL;
9813}
9814
9815
093d3ff1 9816static PyObject *_wrap_Font___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9817 PyObject *resultobj = NULL;
d14a1e28 9818 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1
RD
9819 wxFont *arg2 = (wxFont *) 0 ;
9820 bool result;
d14a1e28 9821 PyObject * obj0 = 0 ;
994141e6 9822 PyObject * obj1 = 0 ;
d14a1e28 9823 char *kwnames[] = {
093d3ff1 9824 (char *) "self",(char *) "other", NULL
d14a1e28
RD
9825 };
9826
093d3ff1
RD
9827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font___ne__",kwnames,&obj0,&obj1)) goto fail;
9828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
9829 if (SWIG_arg_fail(1)) SWIG_fail;
9830 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
9831 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
9832 {
9833 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9834 result = (bool)wxFont___ne__(arg1,(wxFont const *)arg2);
d14a1e28
RD
9835
9836 wxPyEndAllowThreads(__tstate);
9837 if (PyErr_Occurred()) SWIG_fail;
9838 }
093d3ff1
RD
9839 {
9840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9841 }
d14a1e28
RD
9842 return resultobj;
9843 fail:
9844 return NULL;
9845}
9846
9847
093d3ff1 9848static PyObject *_wrap_Font_GetPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9849 PyObject *resultobj = NULL;
d14a1e28 9850 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 9851 int result;
d14a1e28
RD
9852 PyObject * obj0 = 0 ;
9853 char *kwnames[] = {
093d3ff1 9854 (char *) "self", NULL
d14a1e28
RD
9855 };
9856
093d3ff1
RD
9857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetPointSize",kwnames,&obj0)) goto fail;
9858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
9859 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9860 {
9861 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9862 result = (int)((wxFont const *)arg1)->GetPointSize();
d14a1e28
RD
9863
9864 wxPyEndAllowThreads(__tstate);
9865 if (PyErr_Occurred()) SWIG_fail;
9866 }
093d3ff1 9867 {
32fe5131 9868 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 9869 }
d14a1e28
RD
9870 return resultobj;
9871 fail:
9872 return NULL;
9873}
9874
9875
093d3ff1 9876static PyObject *_wrap_Font_GetPixelSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9877 PyObject *resultobj = NULL;
d14a1e28 9878 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 9879 wxSize result;
d14a1e28
RD
9880 PyObject * obj0 = 0 ;
9881 char *kwnames[] = {
093d3ff1 9882 (char *) "self", NULL
d14a1e28
RD
9883 };
9884
093d3ff1
RD
9885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetPixelSize",kwnames,&obj0)) goto fail;
9886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
9887 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9888 {
9889 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9890 result = ((wxFont const *)arg1)->GetPixelSize();
d14a1e28
RD
9891
9892 wxPyEndAllowThreads(__tstate);
9893 if (PyErr_Occurred()) SWIG_fail;
9894 }
093d3ff1
RD
9895 {
9896 wxSize * resultptr;
32fe5131 9897 resultptr = new wxSize(static_cast<wxSize & >(result));
093d3ff1
RD
9898 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
9899 }
d14a1e28
RD
9900 return resultobj;
9901 fail:
9902 return NULL;
9903}
9904
9905
093d3ff1 9906static PyObject *_wrap_Font_IsUsingSizeInPixels(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9907 PyObject *resultobj = NULL;
d14a1e28 9908 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 9909 bool result;
d14a1e28 9910 PyObject * obj0 = 0 ;
d14a1e28 9911 char *kwnames[] = {
093d3ff1 9912 (char *) "self", NULL
d14a1e28
RD
9913 };
9914
093d3ff1
RD
9915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_IsUsingSizeInPixels",kwnames,&obj0)) goto fail;
9916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
9917 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9918 {
9919 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9920 result = (bool)((wxFont const *)arg1)->IsUsingSizeInPixels();
d14a1e28
RD
9921
9922 wxPyEndAllowThreads(__tstate);
9923 if (PyErr_Occurred()) SWIG_fail;
9924 }
d14a1e28 9925 {
093d3ff1 9926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9927 }
9928 return resultobj;
9929 fail:
d14a1e28
RD
9930 return NULL;
9931}
9932
9933
093d3ff1 9934static PyObject *_wrap_Font_GetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9935 PyObject *resultobj = NULL;
d14a1e28 9936 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 9937 int result;
d14a1e28 9938 PyObject * obj0 = 0 ;
d14a1e28 9939 char *kwnames[] = {
093d3ff1 9940 (char *) "self", NULL
d14a1e28
RD
9941 };
9942
093d3ff1
RD
9943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetFamily",kwnames,&obj0)) goto fail;
9944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
9945 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9946 {
9947 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9948 result = (int)((wxFont const *)arg1)->GetFamily();
d14a1e28
RD
9949
9950 wxPyEndAllowThreads(__tstate);
9951 if (PyErr_Occurred()) SWIG_fail;
9952 }
093d3ff1 9953 {
32fe5131 9954 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 9955 }
d14a1e28
RD
9956 return resultobj;
9957 fail:
9958 return NULL;
9959}
9960
9961
093d3ff1 9962static PyObject *_wrap_Font_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9963 PyObject *resultobj = NULL;
d14a1e28 9964 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 9965 int result;
d14a1e28
RD
9966 PyObject * obj0 = 0 ;
9967 char *kwnames[] = {
093d3ff1 9968 (char *) "self", NULL
d14a1e28
RD
9969 };
9970
093d3ff1
RD
9971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetStyle",kwnames,&obj0)) goto fail;
9972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
9973 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9974 {
9975 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9976 result = (int)((wxFont const *)arg1)->GetStyle();
d14a1e28
RD
9977
9978 wxPyEndAllowThreads(__tstate);
9979 if (PyErr_Occurred()) SWIG_fail;
9980 }
093d3ff1 9981 {
32fe5131 9982 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 9983 }
d14a1e28
RD
9984 return resultobj;
9985 fail:
9986 return NULL;
9987}
9988
9989
093d3ff1 9990static PyObject *_wrap_Font_GetWeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9991 PyObject *resultobj = NULL;
d14a1e28 9992 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 9993 int result;
d14a1e28 9994 PyObject * obj0 = 0 ;
d14a1e28 9995 char *kwnames[] = {
093d3ff1 9996 (char *) "self", NULL
d14a1e28
RD
9997 };
9998
093d3ff1
RD
9999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetWeight",kwnames,&obj0)) goto fail;
10000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10001 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10002 {
10003 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10004 result = (int)((wxFont const *)arg1)->GetWeight();
d14a1e28
RD
10005
10006 wxPyEndAllowThreads(__tstate);
10007 if (PyErr_Occurred()) SWIG_fail;
10008 }
093d3ff1 10009 {
32fe5131 10010 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 10011 }
d14a1e28
RD
10012 return resultobj;
10013 fail:
10014 return NULL;
10015}
10016
10017
093d3ff1 10018static PyObject *_wrap_Font_GetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10019 PyObject *resultobj = NULL;
d14a1e28 10020 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 10021 bool result;
d14a1e28 10022 PyObject * obj0 = 0 ;
d14a1e28 10023 char *kwnames[] = {
093d3ff1 10024 (char *) "self", NULL
d14a1e28
RD
10025 };
10026
093d3ff1
RD
10027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetUnderlined",kwnames,&obj0)) goto fail;
10028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10029 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10030 {
10031 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10032 result = (bool)((wxFont const *)arg1)->GetUnderlined();
d14a1e28
RD
10033
10034 wxPyEndAllowThreads(__tstate);
10035 if (PyErr_Occurred()) SWIG_fail;
10036 }
d14a1e28 10037 {
093d3ff1 10038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10039 }
10040 return resultobj;
10041 fail:
d14a1e28
RD
10042 return NULL;
10043}
10044
10045
093d3ff1 10046static PyObject *_wrap_Font_GetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10047 PyObject *resultobj = NULL;
d14a1e28 10048 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 10049 wxString result;
d14a1e28 10050 PyObject * obj0 = 0 ;
d14a1e28 10051 char *kwnames[] = {
093d3ff1 10052 (char *) "self", NULL
d14a1e28
RD
10053 };
10054
093d3ff1
RD
10055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetFaceName",kwnames,&obj0)) goto fail;
10056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10057 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10058 {
10059 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10060 result = ((wxFont const *)arg1)->GetFaceName();
d14a1e28
RD
10061
10062 wxPyEndAllowThreads(__tstate);
10063 if (PyErr_Occurred()) SWIG_fail;
10064 }
d14a1e28 10065 {
093d3ff1
RD
10066#if wxUSE_UNICODE
10067 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10068#else
10069 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10070#endif
d14a1e28
RD
10071 }
10072 return resultobj;
10073 fail:
d14a1e28
RD
10074 return NULL;
10075}
10076
10077
093d3ff1 10078static PyObject *_wrap_Font_GetEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10079 PyObject *resultobj = NULL;
d14a1e28 10080 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 10081 wxFontEncoding result;
d14a1e28
RD
10082 PyObject * obj0 = 0 ;
10083 char *kwnames[] = {
10084 (char *) "self", NULL
10085 };
10086
093d3ff1
RD
10087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetEncoding",kwnames,&obj0)) goto fail;
10088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10089 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10090 {
10091 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10092 result = (wxFontEncoding)((wxFont const *)arg1)->GetEncoding();
d14a1e28
RD
10093
10094 wxPyEndAllowThreads(__tstate);
10095 if (PyErr_Occurred()) SWIG_fail;
10096 }
093d3ff1 10097 resultobj = SWIG_From_int((result));
d14a1e28
RD
10098 return resultobj;
10099 fail:
10100 return NULL;
10101}
10102
10103
093d3ff1 10104static PyObject *_wrap_Font_GetNativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10105 PyObject *resultobj = NULL;
d14a1e28 10106 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 10107 wxNativeFontInfo *result;
d14a1e28
RD
10108 PyObject * obj0 = 0 ;
10109 char *kwnames[] = {
10110 (char *) "self", NULL
10111 };
10112
093d3ff1
RD
10113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNativeFontInfo",kwnames,&obj0)) goto fail;
10114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10115 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10116 {
10117 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10118 result = (wxNativeFontInfo *)((wxFont const *)arg1)->GetNativeFontInfo();
d14a1e28
RD
10119
10120 wxPyEndAllowThreads(__tstate);
10121 if (PyErr_Occurred()) SWIG_fail;
10122 }
093d3ff1 10123 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeFontInfo, 0);
d14a1e28
RD
10124 return resultobj;
10125 fail:
10126 return NULL;
10127}
10128
10129
093d3ff1 10130static PyObject *_wrap_Font_IsFixedWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10131 PyObject *resultobj = NULL;
d14a1e28 10132 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 10133 bool result;
d14a1e28
RD
10134 PyObject * obj0 = 0 ;
10135 char *kwnames[] = {
10136 (char *) "self", NULL
10137 };
10138
093d3ff1
RD
10139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_IsFixedWidth",kwnames,&obj0)) goto fail;
10140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10141 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10142 {
10143 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10144 result = (bool)((wxFont const *)arg1)->IsFixedWidth();
d14a1e28
RD
10145
10146 wxPyEndAllowThreads(__tstate);
10147 if (PyErr_Occurred()) SWIG_fail;
10148 }
10149 {
093d3ff1 10150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10151 }
10152 return resultobj;
10153 fail:
10154 return NULL;
10155}
10156
10157
093d3ff1 10158static PyObject *_wrap_Font_GetNativeFontInfoDesc(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10159 PyObject *resultobj = NULL;
d14a1e28 10160 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 10161 wxString result;
d14a1e28 10162 PyObject * obj0 = 0 ;
d14a1e28 10163 char *kwnames[] = {
093d3ff1 10164 (char *) "self", NULL
d14a1e28
RD
10165 };
10166
093d3ff1
RD
10167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNativeFontInfoDesc",kwnames,&obj0)) goto fail;
10168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10169 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10170 {
10171 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10172 result = ((wxFont const *)arg1)->GetNativeFontInfoDesc();
d14a1e28
RD
10173
10174 wxPyEndAllowThreads(__tstate);
10175 if (PyErr_Occurred()) SWIG_fail;
10176 }
093d3ff1
RD
10177 {
10178#if wxUSE_UNICODE
10179 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10180#else
10181 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10182#endif
10183 }
d14a1e28
RD
10184 return resultobj;
10185 fail:
10186 return NULL;
10187}
10188
10189
093d3ff1 10190static PyObject *_wrap_Font_GetNativeFontInfoUserDesc(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10191 PyObject *resultobj = NULL;
d14a1e28 10192 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 10193 wxString result;
d14a1e28
RD
10194 PyObject * obj0 = 0 ;
10195 char *kwnames[] = {
10196 (char *) "self", NULL
10197 };
10198
093d3ff1
RD
10199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames,&obj0)) goto fail;
10200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10201 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10202 {
10203 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10204 result = ((wxFont const *)arg1)->GetNativeFontInfoUserDesc();
d14a1e28
RD
10205
10206 wxPyEndAllowThreads(__tstate);
10207 if (PyErr_Occurred()) SWIG_fail;
10208 }
4f89f6a3 10209 {
093d3ff1
RD
10210#if wxUSE_UNICODE
10211 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10212#else
10213 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10214#endif
4f89f6a3 10215 }
d14a1e28
RD
10216 return resultobj;
10217 fail:
10218 return NULL;
10219}
10220
10221
093d3ff1 10222static PyObject *_wrap_Font_SetPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10223 PyObject *resultobj = NULL;
093d3ff1
RD
10224 wxFont *arg1 = (wxFont *) 0 ;
10225 int arg2 ;
10226 PyObject * obj0 = 0 ;
10227 PyObject * obj1 = 0 ;
d14a1e28 10228 char *kwnames[] = {
093d3ff1 10229 (char *) "self",(char *) "pointSize", NULL
d14a1e28
RD
10230 };
10231
093d3ff1
RD
10232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetPointSize",kwnames,&obj0,&obj1)) goto fail;
10233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10234 if (SWIG_arg_fail(1)) SWIG_fail;
10235 {
32fe5131 10236 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
10237 if (SWIG_arg_fail(2)) SWIG_fail;
10238 }
d14a1e28
RD
10239 {
10240 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10241 (arg1)->SetPointSize(arg2);
d14a1e28
RD
10242
10243 wxPyEndAllowThreads(__tstate);
110da5b0 10244 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10245 }
093d3ff1 10246 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10247 return resultobj;
10248 fail:
10249 return NULL;
10250}
10251
10252
093d3ff1 10253static PyObject *_wrap_Font_SetPixelSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10254 PyObject *resultobj = NULL;
093d3ff1
RD
10255 wxFont *arg1 = (wxFont *) 0 ;
10256 wxSize *arg2 = 0 ;
10257 wxSize temp2 ;
994141e6 10258 PyObject * obj0 = 0 ;
093d3ff1 10259 PyObject * obj1 = 0 ;
d14a1e28 10260 char *kwnames[] = {
093d3ff1 10261 (char *) "self",(char *) "pixelSize", NULL
d14a1e28
RD
10262 };
10263
093d3ff1
RD
10264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetPixelSize",kwnames,&obj0,&obj1)) goto fail;
10265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10266 if (SWIG_arg_fail(1)) SWIG_fail;
10267 {
10268 arg2 = &temp2;
10269 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10270 }
d14a1e28
RD
10271 {
10272 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10273 (arg1)->SetPixelSize((wxSize const &)*arg2);
d14a1e28
RD
10274
10275 wxPyEndAllowThreads(__tstate);
110da5b0 10276 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10277 }
10278 Py_INCREF(Py_None); resultobj = Py_None;
10279 return resultobj;
10280 fail:
10281 return NULL;
10282}
10283
10284
093d3ff1 10285static PyObject *_wrap_Font_SetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10286 PyObject *resultobj = NULL;
093d3ff1
RD
10287 wxFont *arg1 = (wxFont *) 0 ;
10288 int arg2 ;
10289 PyObject * obj0 = 0 ;
10290 PyObject * obj1 = 0 ;
d14a1e28 10291 char *kwnames[] = {
093d3ff1 10292 (char *) "self",(char *) "family", NULL
d14a1e28
RD
10293 };
10294
093d3ff1
RD
10295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetFamily",kwnames,&obj0,&obj1)) goto fail;
10296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10297 if (SWIG_arg_fail(1)) SWIG_fail;
10298 {
32fe5131 10299 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
10300 if (SWIG_arg_fail(2)) SWIG_fail;
10301 }
d14a1e28
RD
10302 {
10303 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10304 (arg1)->SetFamily(arg2);
d14a1e28
RD
10305
10306 wxPyEndAllowThreads(__tstate);
110da5b0 10307 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10308 }
093d3ff1 10309 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10310 return resultobj;
10311 fail:
10312 return NULL;
10313}
10314
10315
093d3ff1 10316static PyObject *_wrap_Font_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10317 PyObject *resultobj = NULL;
093d3ff1
RD
10318 wxFont *arg1 = (wxFont *) 0 ;
10319 int arg2 ;
d14a1e28 10320 PyObject * obj0 = 0 ;
093d3ff1 10321 PyObject * obj1 = 0 ;
d14a1e28 10322 char *kwnames[] = {
093d3ff1 10323 (char *) "self",(char *) "style", NULL
d14a1e28
RD
10324 };
10325
093d3ff1
RD
10326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetStyle",kwnames,&obj0,&obj1)) goto fail;
10327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10328 if (SWIG_arg_fail(1)) SWIG_fail;
10329 {
32fe5131 10330 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
10331 if (SWIG_arg_fail(2)) SWIG_fail;
10332 }
d14a1e28
RD
10333 {
10334 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10335 (arg1)->SetStyle(arg2);
d14a1e28
RD
10336
10337 wxPyEndAllowThreads(__tstate);
10338 if (PyErr_Occurred()) SWIG_fail;
10339 }
10340 Py_INCREF(Py_None); resultobj = Py_None;
10341 return resultobj;
10342 fail:
10343 return NULL;
10344}
10345
10346
093d3ff1 10347static PyObject *_wrap_Font_SetWeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10348 PyObject *resultobj = NULL;
093d3ff1
RD
10349 wxFont *arg1 = (wxFont *) 0 ;
10350 int arg2 ;
d14a1e28
RD
10351 PyObject * obj0 = 0 ;
10352 PyObject * obj1 = 0 ;
d14a1e28 10353 char *kwnames[] = {
093d3ff1 10354 (char *) "self",(char *) "weight", NULL
d14a1e28
RD
10355 };
10356
093d3ff1
RD
10357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetWeight",kwnames,&obj0,&obj1)) goto fail;
10358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10359 if (SWIG_arg_fail(1)) SWIG_fail;
10360 {
32fe5131 10361 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
10362 if (SWIG_arg_fail(2)) SWIG_fail;
10363 }
d14a1e28
RD
10364 {
10365 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10366 (arg1)->SetWeight(arg2);
d14a1e28
RD
10367
10368 wxPyEndAllowThreads(__tstate);
10369 if (PyErr_Occurred()) SWIG_fail;
10370 }
10371 Py_INCREF(Py_None); resultobj = Py_None;
10372 return resultobj;
10373 fail:
10374 return NULL;
10375}
10376
10377
093d3ff1 10378static PyObject *_wrap_Font_SetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10379 PyObject *resultobj = NULL;
093d3ff1
RD
10380 wxFont *arg1 = (wxFont *) 0 ;
10381 wxString *arg2 = 0 ;
10382 bool temp2 = false ;
d14a1e28 10383 PyObject * obj0 = 0 ;
994141e6 10384 PyObject * obj1 = 0 ;
d14a1e28 10385 char *kwnames[] = {
093d3ff1 10386 (char *) "self",(char *) "faceName", NULL
d14a1e28
RD
10387 };
10388
093d3ff1
RD
10389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetFaceName",kwnames,&obj0,&obj1)) goto fail;
10390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10391 if (SWIG_arg_fail(1)) SWIG_fail;
10392 {
10393 arg2 = wxString_in_helper(obj1);
10394 if (arg2 == NULL) SWIG_fail;
10395 temp2 = true;
d14a1e28
RD
10396 }
10397 {
10398 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10399 (arg1)->SetFaceName((wxString const &)*arg2);
d14a1e28
RD
10400
10401 wxPyEndAllowThreads(__tstate);
10402 if (PyErr_Occurred()) SWIG_fail;
10403 }
093d3ff1 10404 Py_INCREF(Py_None); resultobj = Py_None;
4f89f6a3 10405 {
093d3ff1
RD
10406 if (temp2)
10407 delete arg2;
4f89f6a3 10408 }
d14a1e28
RD
10409 return resultobj;
10410 fail:
093d3ff1
RD
10411 {
10412 if (temp2)
10413 delete arg2;
10414 }
d14a1e28
RD
10415 return NULL;
10416}
10417
10418
093d3ff1 10419static PyObject *_wrap_Font_SetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10420 PyObject *resultobj = NULL;
093d3ff1
RD
10421 wxFont *arg1 = (wxFont *) 0 ;
10422 bool arg2 ;
d14a1e28
RD
10423 PyObject * obj0 = 0 ;
10424 PyObject * obj1 = 0 ;
10425 char *kwnames[] = {
093d3ff1 10426 (char *) "self",(char *) "underlined", NULL
d14a1e28
RD
10427 };
10428
093d3ff1
RD
10429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetUnderlined",kwnames,&obj0,&obj1)) goto fail;
10430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10431 if (SWIG_arg_fail(1)) SWIG_fail;
10432 {
32fe5131 10433 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1 10434 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
10435 }
10436 {
10437 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10438 (arg1)->SetUnderlined(arg2);
d14a1e28
RD
10439
10440 wxPyEndAllowThreads(__tstate);
10441 if (PyErr_Occurred()) SWIG_fail;
10442 }
093d3ff1 10443 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10444 return resultobj;
10445 fail:
d14a1e28
RD
10446 return NULL;
10447}
10448
10449
093d3ff1 10450static PyObject *_wrap_Font_SetEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10451 PyObject *resultobj = NULL;
093d3ff1
RD
10452 wxFont *arg1 = (wxFont *) 0 ;
10453 wxFontEncoding arg2 ;
d14a1e28 10454 PyObject * obj0 = 0 ;
093d3ff1 10455 PyObject * obj1 = 0 ;
d14a1e28 10456 char *kwnames[] = {
093d3ff1 10457 (char *) "self",(char *) "encoding", NULL
d14a1e28
RD
10458 };
10459
093d3ff1
RD
10460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetEncoding",kwnames,&obj0,&obj1)) goto fail;
10461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10462 if (SWIG_arg_fail(1)) SWIG_fail;
10463 {
32fe5131 10464 arg2 = static_cast<wxFontEncoding >(SWIG_As_int(obj1));
093d3ff1
RD
10465 if (SWIG_arg_fail(2)) SWIG_fail;
10466 }
d14a1e28
RD
10467 {
10468 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 10469 (arg1)->SetEncoding(arg2);
d14a1e28
RD
10470
10471 wxPyEndAllowThreads(__tstate);
10472 if (PyErr_Occurred()) SWIG_fail;
10473 }
093d3ff1 10474 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10475 return resultobj;
10476 fail:
10477 return NULL;
10478}
10479
10480
093d3ff1 10481static PyObject *_wrap_Font_SetNativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10482 PyObject *resultobj = NULL;
093d3ff1
RD
10483 wxFont *arg1 = (wxFont *) 0 ;
10484 wxNativeFontInfo *arg2 = 0 ;
d14a1e28 10485 PyObject * obj0 = 0 ;
093d3ff1 10486 PyObject * obj1 = 0 ;
d14a1e28 10487 char *kwnames[] = {
093d3ff1 10488 (char *) "self",(char *) "info", NULL
d14a1e28
RD
10489 };
10490
093d3ff1
RD
10491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetNativeFontInfo",kwnames,&obj0,&obj1)) goto fail;
10492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10493 if (SWIG_arg_fail(1)) SWIG_fail;
10494 {
10495 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
10496 if (SWIG_arg_fail(2)) SWIG_fail;
10497 if (arg2 == NULL) {
10498 SWIG_null_ref("wxNativeFontInfo");
10499 }
10500 if (SWIG_arg_fail(2)) SWIG_fail;
10501 }
d14a1e28
RD
10502 {
10503 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10504 (arg1)->SetNativeFontInfo((wxNativeFontInfo const &)*arg2);
d14a1e28
RD
10505
10506 wxPyEndAllowThreads(__tstate);
10507 if (PyErr_Occurred()) SWIG_fail;
10508 }
d14a1e28
RD
10509 Py_INCREF(Py_None); resultobj = Py_None;
10510 return resultobj;
10511 fail:
10512 return NULL;
10513}
10514
10515
093d3ff1 10516static PyObject *_wrap_Font_SetNativeFontInfoFromString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10517 PyObject *resultobj = NULL;
093d3ff1
RD
10518 wxFont *arg1 = (wxFont *) 0 ;
10519 wxString *arg2 = 0 ;
ae8162c8 10520 bool temp2 = false ;
d14a1e28
RD
10521 PyObject * obj0 = 0 ;
10522 PyObject * obj1 = 0 ;
10523 char *kwnames[] = {
093d3ff1 10524 (char *) "self",(char *) "info", NULL
d14a1e28
RD
10525 };
10526
093d3ff1
RD
10527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames,&obj0,&obj1)) goto fail;
10528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10529 if (SWIG_arg_fail(1)) SWIG_fail;
7eae615b
RD
10530 {
10531 arg2 = wxString_in_helper(obj1);
10532 if (arg2 == NULL) SWIG_fail;
ae8162c8 10533 temp2 = true;
7eae615b 10534 }
093d3ff1
RD
10535 {
10536 PyThreadState* __tstate = wxPyBeginAllowThreads();
10537 (arg1)->SetNativeFontInfo((wxString const &)*arg2);
10538
10539 wxPyEndAllowThreads(__tstate);
10540 if (PyErr_Occurred()) SWIG_fail;
10541 }
d14a1e28 10542 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
10543 {
10544 if (temp2)
10545 delete arg2;
10546 }
d14a1e28
RD
10547 return resultobj;
10548 fail:
7eae615b
RD
10549 {
10550 if (temp2)
10551 delete arg2;
10552 }
d14a1e28
RD
10553 return NULL;
10554}
10555
10556
093d3ff1 10557static PyObject *_wrap_Font_SetNativeFontInfoUserDesc(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10558 PyObject *resultobj = NULL;
093d3ff1
RD
10559 wxFont *arg1 = (wxFont *) 0 ;
10560 wxString *arg2 = 0 ;
ae8162c8 10561 bool temp2 = false ;
d14a1e28
RD
10562 PyObject * obj0 = 0 ;
10563 PyObject * obj1 = 0 ;
10564 char *kwnames[] = {
093d3ff1 10565 (char *) "self",(char *) "info", NULL
d14a1e28
RD
10566 };
10567
093d3ff1
RD
10568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames,&obj0,&obj1)) goto fail;
10569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10570 if (SWIG_arg_fail(1)) SWIG_fail;
7eae615b
RD
10571 {
10572 arg2 = wxString_in_helper(obj1);
10573 if (arg2 == NULL) SWIG_fail;
ae8162c8 10574 temp2 = true;
7eae615b 10575 }
093d3ff1
RD
10576 {
10577 PyThreadState* __tstate = wxPyBeginAllowThreads();
10578 (arg1)->SetNativeFontInfoUserDesc((wxString const &)*arg2);
10579
10580 wxPyEndAllowThreads(__tstate);
10581 if (PyErr_Occurred()) SWIG_fail;
10582 }
d14a1e28 10583 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
10584 {
10585 if (temp2)
10586 delete arg2;
10587 }
d14a1e28
RD
10588 return resultobj;
10589 fail:
7eae615b
RD
10590 {
10591 if (temp2)
10592 delete arg2;
10593 }
d14a1e28
RD
10594 return NULL;
10595}
10596
10597
093d3ff1 10598static PyObject *_wrap_Font_GetFamilyString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10599 PyObject *resultobj = NULL;
093d3ff1
RD
10600 wxFont *arg1 = (wxFont *) 0 ;
10601 wxString result;
d14a1e28
RD
10602 PyObject * obj0 = 0 ;
10603 char *kwnames[] = {
10604 (char *) "self", NULL
10605 };
10606
093d3ff1
RD
10607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetFamilyString",kwnames,&obj0)) goto fail;
10608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10609 if (SWIG_arg_fail(1)) SWIG_fail;
10610 {
10611 PyThreadState* __tstate = wxPyBeginAllowThreads();
10612 result = ((wxFont const *)arg1)->GetFamilyString();
10613
10614 wxPyEndAllowThreads(__tstate);
10615 if (PyErr_Occurred()) SWIG_fail;
10616 }
d14a1e28
RD
10617 {
10618#if wxUSE_UNICODE
093d3ff1 10619 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 10620#else
093d3ff1 10621 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28
RD
10622#endif
10623 }
10624 return resultobj;
10625 fail:
10626 return NULL;
10627}
10628
10629
093d3ff1 10630static PyObject *_wrap_Font_GetStyleString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10631 PyObject *resultobj = NULL;
093d3ff1
RD
10632 wxFont *arg1 = (wxFont *) 0 ;
10633 wxString result;
994141e6 10634 PyObject * obj0 = 0 ;
d14a1e28 10635 char *kwnames[] = {
093d3ff1 10636 (char *) "self", NULL
d14a1e28
RD
10637 };
10638
093d3ff1
RD
10639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetStyleString",kwnames,&obj0)) goto fail;
10640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10641 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10642 {
10643 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10644 result = ((wxFont const *)arg1)->GetStyleString();
d14a1e28
RD
10645
10646 wxPyEndAllowThreads(__tstate);
10647 if (PyErr_Occurred()) SWIG_fail;
10648 }
093d3ff1
RD
10649 {
10650#if wxUSE_UNICODE
10651 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10652#else
10653 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10654#endif
10655 }
d14a1e28
RD
10656 return resultobj;
10657 fail:
10658 return NULL;
10659}
10660
10661
093d3ff1 10662static PyObject *_wrap_Font_GetWeightString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10663 PyObject *resultobj = NULL;
093d3ff1
RD
10664 wxFont *arg1 = (wxFont *) 0 ;
10665 wxString result;
d14a1e28
RD
10666 PyObject * obj0 = 0 ;
10667 char *kwnames[] = {
10668 (char *) "self", NULL
10669 };
10670
093d3ff1
RD
10671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetWeightString",kwnames,&obj0)) goto fail;
10672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10673 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10674 {
10675 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10676 result = ((wxFont const *)arg1)->GetWeightString();
d14a1e28
RD
10677
10678 wxPyEndAllowThreads(__tstate);
10679 if (PyErr_Occurred()) SWIG_fail;
10680 }
093d3ff1
RD
10681 {
10682#if wxUSE_UNICODE
10683 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10684#else
10685 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10686#endif
10687 }
10688 return resultobj;
10689 fail:
10690 return NULL;
10691}
10692
10693
10694static PyObject *_wrap_Font_SetNoAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10695 PyObject *resultobj = NULL;
093d3ff1
RD
10696 wxFont *arg1 = (wxFont *) 0 ;
10697 bool arg2 = (bool) true ;
d14a1e28
RD
10698 PyObject * obj0 = 0 ;
10699 PyObject * obj1 = 0 ;
d14a1e28 10700 char *kwnames[] = {
093d3ff1 10701 (char *) "self",(char *) "no", NULL
d14a1e28
RD
10702 };
10703
093d3ff1
RD
10704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Font_SetNoAntiAliasing",kwnames,&obj0,&obj1)) goto fail;
10705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10706 if (SWIG_arg_fail(1)) SWIG_fail;
10707 if (obj1) {
d14a1e28 10708 {
32fe5131 10709 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1 10710 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
10711 }
10712 }
d14a1e28
RD
10713 {
10714 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10715 (arg1)->SetNoAntiAliasing(arg2);
d14a1e28
RD
10716
10717 wxPyEndAllowThreads(__tstate);
10718 if (PyErr_Occurred()) SWIG_fail;
10719 }
093d3ff1 10720 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10721 return resultobj;
10722 fail:
d14a1e28
RD
10723 return NULL;
10724}
10725
10726
093d3ff1 10727static PyObject *_wrap_Font_GetNoAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10728 PyObject *resultobj = NULL;
093d3ff1 10729 wxFont *arg1 = (wxFont *) 0 ;
d14a1e28
RD
10730 bool result;
10731 PyObject * obj0 = 0 ;
10732 char *kwnames[] = {
093d3ff1 10733 (char *) "self", NULL
d14a1e28
RD
10734 };
10735
093d3ff1
RD
10736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNoAntiAliasing",kwnames,&obj0)) goto fail;
10737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10738 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10739 {
10740 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10741 result = (bool)((wxFont const *)arg1)->GetNoAntiAliasing();
d14a1e28
RD
10742
10743 wxPyEndAllowThreads(__tstate);
10744 if (PyErr_Occurred()) SWIG_fail;
10745 }
4f89f6a3
RD
10746 {
10747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10748 }
d14a1e28
RD
10749 return resultobj;
10750 fail:
10751 return NULL;
10752}
10753
10754
093d3ff1 10755static PyObject *_wrap_Font_GetDefaultEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10756 PyObject *resultobj = NULL;
093d3ff1 10757 wxFontEncoding result;
d14a1e28
RD
10758 char *kwnames[] = {
10759 NULL
10760 };
10761
093d3ff1 10762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Font_GetDefaultEncoding",kwnames)) goto fail;
d14a1e28 10763 {
093d3ff1 10764 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 10765 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10766 result = (wxFontEncoding)wxFont::GetDefaultEncoding();
d14a1e28
RD
10767
10768 wxPyEndAllowThreads(__tstate);
10769 if (PyErr_Occurred()) SWIG_fail;
10770 }
093d3ff1 10771 resultobj = SWIG_From_int((result));
d14a1e28
RD
10772 return resultobj;
10773 fail:
10774 return NULL;
10775}
10776
10777
093d3ff1 10778static PyObject *_wrap_Font_SetDefaultEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10779 PyObject *resultobj = NULL;
093d3ff1
RD
10780 wxFontEncoding arg1 ;
10781 PyObject * obj0 = 0 ;
d14a1e28 10782 char *kwnames[] = {
093d3ff1 10783 (char *) "encoding", NULL
d14a1e28
RD
10784 };
10785
093d3ff1
RD
10786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_SetDefaultEncoding",kwnames,&obj0)) goto fail;
10787 {
32fe5131 10788 arg1 = static_cast<wxFontEncoding >(SWIG_As_int(obj0));
093d3ff1
RD
10789 if (SWIG_arg_fail(1)) SWIG_fail;
10790 }
d14a1e28 10791 {
093d3ff1 10792 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 10793 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 10794 wxFont::SetDefaultEncoding(arg1);
d14a1e28
RD
10795
10796 wxPyEndAllowThreads(__tstate);
10797 if (PyErr_Occurred()) SWIG_fail;
10798 }
093d3ff1 10799 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10800 return resultobj;
10801 fail:
10802 return NULL;
10803}
10804
10805
093d3ff1
RD
10806static PyObject * Font_swigregister(PyObject *, PyObject *args) {
10807 PyObject *obj;
10808 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10809 SWIG_TypeClientData(SWIGTYPE_p_wxFont, obj);
10810 Py_INCREF(obj);
10811 return Py_BuildValue((char *)"");
10812}
10813static PyObject *_wrap_new_FontEnumerator(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10814 PyObject *resultobj = NULL;
093d3ff1 10815 wxPyFontEnumerator *result;
d14a1e28
RD
10816 char *kwnames[] = {
10817 NULL
10818 };
10819
093d3ff1 10820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontEnumerator",kwnames)) goto fail;
d14a1e28 10821 {
093d3ff1 10822 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 10823 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10824 result = (wxPyFontEnumerator *)new wxPyFontEnumerator();
d14a1e28
RD
10825
10826 wxPyEndAllowThreads(__tstate);
10827 if (PyErr_Occurred()) SWIG_fail;
10828 }
093d3ff1 10829 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFontEnumerator, 1);
d14a1e28
RD
10830 return resultobj;
10831 fail:
10832 return NULL;
10833}
10834
10835
093d3ff1 10836static PyObject *_wrap_delete_FontEnumerator(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10837 PyObject *resultobj = NULL;
093d3ff1 10838 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
d14a1e28
RD
10839 PyObject * obj0 = 0 ;
10840 char *kwnames[] = {
10841 (char *) "self", NULL
10842 };
10843
093d3ff1
RD
10844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontEnumerator",kwnames,&obj0)) goto fail;
10845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFontEnumerator, SWIG_POINTER_EXCEPTION | 0);
10846 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10847 {
10848 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10849 delete arg1;
d14a1e28
RD
10850
10851 wxPyEndAllowThreads(__tstate);
10852 if (PyErr_Occurred()) SWIG_fail;
10853 }
093d3ff1 10854 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10855 return resultobj;
10856 fail:
10857 return NULL;
10858}
10859
10860
093d3ff1 10861static PyObject *_wrap_FontEnumerator__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10862 PyObject *resultobj = NULL;
093d3ff1
RD
10863 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
10864 PyObject *arg2 = (PyObject *) 0 ;
10865 PyObject *arg3 = (PyObject *) 0 ;
10866 bool arg4 ;
d14a1e28 10867 PyObject * obj0 = 0 ;
093d3ff1
RD
10868 PyObject * obj1 = 0 ;
10869 PyObject * obj2 = 0 ;
10870 PyObject * obj3 = 0 ;
d14a1e28 10871 char *kwnames[] = {
093d3ff1 10872 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
d14a1e28
RD
10873 };
10874
093d3ff1
RD
10875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFontEnumerator, SWIG_POINTER_EXCEPTION | 0);
10877 if (SWIG_arg_fail(1)) SWIG_fail;
10878 arg2 = obj1;
10879 arg3 = obj2;
10880 {
32fe5131 10881 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
10882 if (SWIG_arg_fail(4)) SWIG_fail;
10883 }
d14a1e28
RD
10884 {
10885 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10886 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
d14a1e28
RD
10887
10888 wxPyEndAllowThreads(__tstate);
10889 if (PyErr_Occurred()) SWIG_fail;
10890 }
093d3ff1 10891 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10892 return resultobj;
10893 fail:
10894 return NULL;
10895}
10896
10897
093d3ff1 10898static PyObject *_wrap_FontEnumerator_EnumerateFacenames(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10899 PyObject *resultobj = NULL;
093d3ff1
RD
10900 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
10901 wxFontEncoding arg2 = (wxFontEncoding) wxFONTENCODING_SYSTEM ;
10902 bool arg3 = (bool) false ;
10903 bool result;
d14a1e28 10904 PyObject * obj0 = 0 ;
093d3ff1
RD
10905 PyObject * obj1 = 0 ;
10906 PyObject * obj2 = 0 ;
d14a1e28 10907 char *kwnames[] = {
093d3ff1 10908 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
d14a1e28
RD
10909 };
10910
093d3ff1
RD
10911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames,&obj0,&obj1,&obj2)) goto fail;
10912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFontEnumerator, SWIG_POINTER_EXCEPTION | 0);
10913 if (SWIG_arg_fail(1)) SWIG_fail;
10914 if (obj1) {
10915 {
32fe5131 10916 arg2 = static_cast<wxFontEncoding >(SWIG_As_int(obj1));
093d3ff1
RD
10917 if (SWIG_arg_fail(2)) SWIG_fail;
10918 }
10919 }
10920 if (obj2) {
10921 {
32fe5131 10922 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
10923 if (SWIG_arg_fail(3)) SWIG_fail;
10924 }
10925 }
d14a1e28
RD
10926 {
10927 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 10928 result = (bool)(arg1)->EnumerateFacenames(arg2,arg3);
d14a1e28
RD
10929
10930 wxPyEndAllowThreads(__tstate);
10931 if (PyErr_Occurred()) SWIG_fail;
10932 }
093d3ff1
RD
10933 {
10934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10935 }
d14a1e28
RD
10936 return resultobj;
10937 fail:
10938 return NULL;
10939}
10940
10941
093d3ff1 10942static PyObject *_wrap_FontEnumerator_EnumerateEncodings(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10943 PyObject *resultobj = NULL;
093d3ff1
RD
10944 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
10945 wxString const &arg2_defvalue = wxPyEmptyString ;
10946 wxString *arg2 = (wxString *) &arg2_defvalue ;
10947 bool result;
10948 bool temp2 = false ;
d14a1e28 10949 PyObject * obj0 = 0 ;
093d3ff1 10950 PyObject * obj1 = 0 ;
d14a1e28 10951 char *kwnames[] = {
093d3ff1 10952 (char *) "self",(char *) "facename", NULL
d14a1e28
RD
10953 };
10954
093d3ff1
RD
10955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames,&obj0,&obj1)) goto fail;
10956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFontEnumerator, SWIG_POINTER_EXCEPTION | 0);
10957 if (SWIG_arg_fail(1)) SWIG_fail;
10958 if (obj1) {
10959 {
10960 arg2 = wxString_in_helper(obj1);
10961 if (arg2 == NULL) SWIG_fail;
10962 temp2 = true;
10963 }
10964 }
d14a1e28
RD
10965 {
10966 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10967 result = (bool)(arg1)->EnumerateEncodings((wxString const &)*arg2);
d14a1e28
RD
10968
10969 wxPyEndAllowThreads(__tstate);
10970 if (PyErr_Occurred()) SWIG_fail;
10971 }
10972 {
093d3ff1
RD
10973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10974 }
10975 {
10976 if (temp2)
10977 delete arg2;
d14a1e28
RD
10978 }
10979 return resultobj;
10980 fail:
093d3ff1
RD
10981 {
10982 if (temp2)
10983 delete arg2;
10984 }
10985 return NULL;
d14a1e28
RD
10986}
10987
10988
093d3ff1 10989static PyObject *_wrap_FontEnumerator_GetEncodings(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10990 PyObject *resultobj = NULL;
093d3ff1
RD
10991 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
10992 PyObject *result;
d14a1e28
RD
10993 PyObject * obj0 = 0 ;
10994 char *kwnames[] = {
10995 (char *) "self", NULL
10996 };
10997
093d3ff1
RD
10998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontEnumerator_GetEncodings",kwnames,&obj0)) goto fail;
10999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFontEnumerator, SWIG_POINTER_EXCEPTION | 0);
11000 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11001 {
11002 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11003 result = (PyObject *)wxPyFontEnumerator_GetEncodings(arg1);
d14a1e28
RD
11004
11005 wxPyEndAllowThreads(__tstate);
11006 if (PyErr_Occurred()) SWIG_fail;
11007 }
093d3ff1 11008 resultobj = result;
d14a1e28
RD
11009 return resultobj;
11010 fail:
11011 return NULL;
11012}
11013
11014
093d3ff1 11015static PyObject *_wrap_FontEnumerator_GetFacenames(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11016 PyObject *resultobj = NULL;
093d3ff1
RD
11017 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
11018 PyObject *result;
d14a1e28
RD
11019 PyObject * obj0 = 0 ;
11020 char *kwnames[] = {
093d3ff1 11021 (char *) "self", NULL
d14a1e28
RD
11022 };
11023
093d3ff1
RD
11024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontEnumerator_GetFacenames",kwnames,&obj0)) goto fail;
11025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFontEnumerator, SWIG_POINTER_EXCEPTION | 0);
11026 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11027 {
11028 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11029 result = (PyObject *)wxPyFontEnumerator_GetFacenames(arg1);
d14a1e28
RD
11030
11031 wxPyEndAllowThreads(__tstate);
11032 if (PyErr_Occurred()) SWIG_fail;
11033 }
093d3ff1
RD
11034 resultobj = result;
11035 return resultobj;
11036 fail:
11037 return NULL;
11038}
11039
11040
11041static PyObject * FontEnumerator_swigregister(PyObject *, PyObject *args) {
11042 PyObject *obj;
11043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11044 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator, obj);
11045 Py_INCREF(obj);
11046 return Py_BuildValue((char *)"");
11047}
11048static PyObject *_wrap_LanguageInfo_Language_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11049 PyObject *resultobj = NULL;
093d3ff1
RD
11050 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
11051 int arg2 ;
11052 PyObject * obj0 = 0 ;
11053 PyObject * obj1 = 0 ;
11054 char *kwnames[] = {
11055 (char *) "self",(char *) "Language", NULL
11056 };
11057
11058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LanguageInfo_Language_set",kwnames,&obj0,&obj1)) goto fail;
11059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLanguageInfo, SWIG_POINTER_EXCEPTION | 0);
11060 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 11061 {
32fe5131 11062 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 11063 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 11064 }
093d3ff1
RD
11065 if (arg1) (arg1)->Language = arg2;
11066
11067 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
11068 return resultobj;
11069 fail:
093d3ff1
RD
11070 return NULL;
11071}
11072
11073
11074static PyObject *_wrap_LanguageInfo_Language_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11075 PyObject *resultobj = NULL;
093d3ff1
RD
11076 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
11077 int result;
11078 PyObject * obj0 = 0 ;
11079 char *kwnames[] = {
11080 (char *) "self", NULL
11081 };
11082
11083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LanguageInfo_Language_get",kwnames,&obj0)) goto fail;
11084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLanguageInfo, SWIG_POINTER_EXCEPTION | 0);
11085 if (SWIG_arg_fail(1)) SWIG_fail;
11086 result = (int) ((arg1)->Language);
11087
d14a1e28 11088 {
32fe5131 11089 resultobj = SWIG_From_int(static_cast<int >(result));
d14a1e28 11090 }
093d3ff1
RD
11091 return resultobj;
11092 fail:
d14a1e28
RD
11093 return NULL;
11094}
11095
11096
093d3ff1 11097static PyObject *_wrap_LanguageInfo_CanonicalName_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11098 PyObject *resultobj = NULL;
093d3ff1
RD
11099 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
11100 wxString *arg2 = (wxString *) 0 ;
ae8162c8 11101 bool temp2 = false ;
d14a1e28
RD
11102 PyObject * obj0 = 0 ;
11103 PyObject * obj1 = 0 ;
11104 char *kwnames[] = {
093d3ff1 11105 (char *) "self",(char *) "CanonicalName", NULL
d14a1e28
RD
11106 };
11107
093d3ff1
RD
11108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames,&obj0,&obj1)) goto fail;
11109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLanguageInfo, SWIG_POINTER_EXCEPTION | 0);
11110 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11111 {
11112 arg2 = wxString_in_helper(obj1);
11113 if (arg2 == NULL) SWIG_fail;
ae8162c8 11114 temp2 = true;
d14a1e28 11115 }
093d3ff1
RD
11116 if (arg1) (arg1)->CanonicalName = *arg2;
11117
11118 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
11119 {
11120 if (temp2)
11121 delete arg2;
11122 }
11123 return resultobj;
11124 fail:
11125 {
11126 if (temp2)
11127 delete arg2;
11128 }
11129 return NULL;
11130}
11131
11132
093d3ff1 11133static PyObject *_wrap_LanguageInfo_CanonicalName_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11134 PyObject *resultobj = NULL;
093d3ff1
RD
11135 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
11136 wxString *result;
11137 PyObject * obj0 = 0 ;
11138 char *kwnames[] = {
11139 (char *) "self", NULL
11140 };
11141
11142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LanguageInfo_CanonicalName_get",kwnames,&obj0)) goto fail;
11143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLanguageInfo, SWIG_POINTER_EXCEPTION | 0);
11144 if (SWIG_arg_fail(1)) SWIG_fail;
11145 result = (wxString *)& ((arg1)->CanonicalName);
11146
11147 {
11148#if wxUSE_UNICODE
11149 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11150#else
11151 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11152#endif
11153 }
11154 return resultobj;
11155 fail:
11156 return NULL;
11157}
11158
11159
11160static PyObject *_wrap_LanguageInfo_Description_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11161 PyObject *resultobj = NULL;
093d3ff1
RD
11162 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
11163 wxString *arg2 = (wxString *) 0 ;
ae8162c8 11164 bool temp2 = false ;
d14a1e28
RD
11165 PyObject * obj0 = 0 ;
11166 PyObject * obj1 = 0 ;
11167 char *kwnames[] = {
093d3ff1 11168 (char *) "self",(char *) "Description", NULL
d14a1e28
RD
11169 };
11170
093d3ff1
RD
11171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LanguageInfo_Description_set",kwnames,&obj0,&obj1)) goto fail;
11172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLanguageInfo, SWIG_POINTER_EXCEPTION | 0);
11173 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11174 {
11175 arg2 = wxString_in_helper(obj1);
11176 if (arg2 == NULL) SWIG_fail;
ae8162c8 11177 temp2 = true;
d14a1e28 11178 }
093d3ff1
RD
11179 if (arg1) (arg1)->Description = *arg2;
11180
11181 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
11182 {
11183 if (temp2)
11184 delete arg2;
11185 }
11186 return resultobj;
11187 fail:
11188 {
11189 if (temp2)
11190 delete arg2;
11191 }
11192 return NULL;
11193}
11194
11195
093d3ff1 11196static PyObject *_wrap_LanguageInfo_Description_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11197 PyObject *resultobj = NULL;
093d3ff1
RD
11198 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
11199 wxString *result;
994141e6 11200 PyObject * obj0 = 0 ;
d14a1e28 11201 char *kwnames[] = {
093d3ff1 11202 (char *) "self", NULL
d14a1e28
RD
11203 };
11204
093d3ff1
RD
11205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LanguageInfo_Description_get",kwnames,&obj0)) goto fail;
11206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLanguageInfo, SWIG_POINTER_EXCEPTION | 0);
11207 if (SWIG_arg_fail(1)) SWIG_fail;
11208 result = (wxString *)& ((arg1)->Description);
11209
d14a1e28 11210 {
093d3ff1
RD
11211#if wxUSE_UNICODE
11212 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11213#else
11214 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11215#endif
d14a1e28 11216 }
d14a1e28
RD
11217 return resultobj;
11218 fail:
11219 return NULL;
11220}
11221
11222
093d3ff1
RD
11223static PyObject * LanguageInfo_swigregister(PyObject *, PyObject *args) {
11224 PyObject *obj;
11225 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11226 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo, obj);
11227 Py_INCREF(obj);
11228 return Py_BuildValue((char *)"");
11229}
11230static PyObject *_wrap_new_Locale(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11231 PyObject *resultobj = NULL;
093d3ff1
RD
11232 int arg1 = (int) -1 ;
11233 int arg2 = (int) wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING ;
11234 wxLocale *result;
994141e6 11235 PyObject * obj0 = 0 ;
093d3ff1 11236 PyObject * obj1 = 0 ;
d14a1e28 11237 char *kwnames[] = {
093d3ff1 11238 (char *) "language",(char *) "flags", NULL
d14a1e28
RD
11239 };
11240
093d3ff1
RD
11241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Locale",kwnames,&obj0,&obj1)) goto fail;
11242 if (obj0) {
11243 {
32fe5131 11244 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
11245 if (SWIG_arg_fail(1)) SWIG_fail;
11246 }
11247 }
11248 if (obj1) {
11249 {
32fe5131 11250 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11251 if (SWIG_arg_fail(2)) SWIG_fail;
11252 }
11253 }
d14a1e28
RD
11254 {
11255 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11256 result = (wxLocale *)new_wxLocale(arg1,arg2);
d14a1e28
RD
11257
11258 wxPyEndAllowThreads(__tstate);
11259 if (PyErr_Occurred()) SWIG_fail;
11260 }
093d3ff1 11261 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLocale, 1);
d14a1e28
RD
11262 return resultobj;
11263 fail:
11264 return NULL;
11265}
11266
11267
093d3ff1 11268static PyObject *_wrap_delete_Locale(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11269 PyObject *resultobj = NULL;
093d3ff1 11270 wxLocale *arg1 = (wxLocale *) 0 ;
d14a1e28
RD
11271 PyObject * obj0 = 0 ;
11272 char *kwnames[] = {
093d3ff1 11273 (char *) "self", NULL
d14a1e28
RD
11274 };
11275
093d3ff1
RD
11276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Locale",kwnames,&obj0)) goto fail;
11277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLocale, SWIG_POINTER_EXCEPTION | 0);
11278 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11279 {
11280 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11281 delete arg1;
d14a1e28
RD
11282
11283 wxPyEndAllowThreads(__tstate);
11284 if (PyErr_Occurred()) SWIG_fail;
11285 }
093d3ff1 11286 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
11287 return resultobj;
11288 fail:
d14a1e28
RD
11289 return NULL;
11290}
11291
11292
093d3ff1 11293static PyObject *_wrap_Locale_Init1(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11294 PyObject *resultobj = NULL;
d14a1e28
RD
11295 wxLocale *arg1 = (wxLocale *) 0 ;
11296 wxString *arg2 = 0 ;
11297 wxString const &arg3_defvalue = wxPyEmptyString ;
11298 wxString *arg3 = (wxString *) &arg3_defvalue ;
093d3ff1
RD
11299 wxString const &arg4_defvalue = wxPyEmptyString ;
11300 wxString *arg4 = (wxString *) &arg4_defvalue ;
11301 bool arg5 = (bool) true ;
11302 bool arg6 = (bool) false ;
11303 bool result;
ae8162c8
RD
11304 bool temp2 = false ;
11305 bool temp3 = false ;
093d3ff1 11306 bool temp4 = false ;
d14a1e28
RD
11307 PyObject * obj0 = 0 ;
11308 PyObject * obj1 = 0 ;
11309 PyObject * obj2 = 0 ;
093d3ff1
RD
11310 PyObject * obj3 = 0 ;
11311 PyObject * obj4 = 0 ;
11312 PyObject * obj5 = 0 ;
d14a1e28 11313 char *kwnames[] = {
093d3ff1 11314 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
d14a1e28
RD
11315 };
11316
093d3ff1
RD
11317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Locale_Init1",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLocale, SWIG_POINTER_EXCEPTION | 0);
11319 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11320 {
11321 arg2 = wxString_in_helper(obj1);
11322 if (arg2 == NULL) SWIG_fail;
ae8162c8 11323 temp2 = true;
d14a1e28
RD
11324 }
11325 if (obj2) {
11326 {
11327 arg3 = wxString_in_helper(obj2);
11328 if (arg3 == NULL) SWIG_fail;
ae8162c8 11329 temp3 = true;
d14a1e28
RD
11330 }
11331 }
093d3ff1
RD
11332 if (obj3) {
11333 {
11334 arg4 = wxString_in_helper(obj3);
11335 if (arg4 == NULL) SWIG_fail;
11336 temp4 = true;
11337 }
11338 }
11339 if (obj4) {
11340 {
32fe5131 11341 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
093d3ff1
RD
11342 if (SWIG_arg_fail(5)) SWIG_fail;
11343 }
11344 }
11345 if (obj5) {
11346 {
32fe5131 11347 arg6 = static_cast<bool >(SWIG_As_bool(obj5));
093d3ff1
RD
11348 if (SWIG_arg_fail(6)) SWIG_fail;
11349 }
11350 }
d14a1e28
RD
11351 {
11352 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11353 result = (bool)wxLocale_Init1(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6);
d14a1e28
RD
11354
11355 wxPyEndAllowThreads(__tstate);
11356 if (PyErr_Occurred()) SWIG_fail;
11357 }
11358 {
093d3ff1 11359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11360 }
11361 {
11362 if (temp2)
11363 delete arg2;
11364 }
11365 {
11366 if (temp3)
11367 delete arg3;
11368 }
093d3ff1
RD
11369 {
11370 if (temp4)
11371 delete arg4;
11372 }
d14a1e28
RD
11373 return resultobj;
11374 fail:
11375 {
11376 if (temp2)
11377 delete arg2;
11378 }
11379 {
11380 if (temp3)
11381 delete arg3;
11382 }
093d3ff1
RD
11383 {
11384 if (temp4)
11385 delete arg4;
11386 }
d14a1e28
RD
11387 return NULL;
11388}
11389
11390
093d3ff1 11391static PyObject *_wrap_Locale_Init2(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11392 PyObject *resultobj = NULL;
d14a1e28 11393 wxLocale *arg1 = (wxLocale *) 0 ;
093d3ff1
RD
11394 int arg2 = (int) wxLANGUAGE_DEFAULT ;
11395 int arg3 = (int) wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING ;
11396 bool result;
d14a1e28 11397 PyObject * obj0 = 0 ;
093d3ff1
RD
11398 PyObject * obj1 = 0 ;
11399 PyObject * obj2 = 0 ;
d14a1e28 11400 char *kwnames[] = {
093d3ff1 11401 (char *) "self",(char *) "language",(char *) "flags", NULL
d14a1e28
RD
11402 };
11403
093d3ff1
RD
11404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Locale_Init2",kwnames,&obj0,&obj1,&obj2)) goto fail;
11405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLocale, SWIG_POINTER_EXCEPTION | 0);
11406 if (SWIG_arg_fail(1)) SWIG_fail;
11407 if (obj1) {
d14a1e28 11408 {
32fe5131 11409 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11410 if (SWIG_arg_fail(2)) SWIG_fail;
11411 }
11412 }
11413 if (obj2) {
11414 {
32fe5131 11415 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1 11416 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28 11417 }
093d3ff1
RD
11418 }
11419 {
11420 PyThreadState* __tstate = wxPyBeginAllowThreads();
11421 result = (bool)wxLocale_Init2(arg1,arg2,arg3);
d14a1e28
RD
11422
11423 wxPyEndAllowThreads(__tstate);
11424 if (PyErr_Occurred()) SWIG_fail;
11425 }
cc6dd355 11426 {
093d3ff1 11427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
cc6dd355 11428 }
d14a1e28
RD
11429 return resultobj;
11430 fail:
11431 return NULL;
11432}
11433
11434
093d3ff1 11435static PyObject *_wrap_Locale_GetSystemLanguage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11436 PyObject *resultobj = NULL;
093d3ff1 11437 int result;
d14a1e28
RD
11438 char *kwnames[] = {
11439 NULL
11440 };
11441
093d3ff1 11442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Locale_GetSystemLanguage",kwnames)) goto fail;
d14a1e28
RD
11443 {
11444 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11445 result = (int)wxLocale::GetSystemLanguage();
d14a1e28
RD
11446
11447 wxPyEndAllowThreads(__tstate);
11448 if (PyErr_Occurred()) SWIG_fail;
11449 }
093d3ff1 11450 {
32fe5131 11451 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 11452 }
d14a1e28
RD
11453 return resultobj;
11454 fail:
11455 return NULL;
11456}
11457
11458
093d3ff1 11459static PyObject *_wrap_Locale_GetSystemEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11460 PyObject *resultobj = NULL;
093d3ff1
RD
11461 wxFontEncoding result;
11462 char *kwnames[] = {
11463 NULL
11464 };
d14a1e28 11465
093d3ff1 11466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Locale_GetSystemEncoding",kwnames)) goto fail;
d14a1e28
RD
11467 {
11468 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11469 result = (wxFontEncoding)wxLocale::GetSystemEncoding();
d14a1e28
RD
11470
11471 wxPyEndAllowThreads(__tstate);
11472 if (PyErr_Occurred()) SWIG_fail;
11473 }
093d3ff1 11474 resultobj = SWIG_From_int((result));
d14a1e28
RD
11475 return resultobj;
11476 fail:
d14a1e28
RD
11477 return NULL;
11478}
11479
11480
093d3ff1 11481static PyObject *_wrap_Locale_GetSystemEncodingName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11482 PyObject *resultobj = NULL;
d14a1e28 11483 wxString result;
093d3ff1
RD
11484 char *kwnames[] = {
11485 NULL
11486 };
d14a1e28 11487
093d3ff1 11488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Locale_GetSystemEncodingName",kwnames)) goto fail;
d14a1e28
RD
11489 {
11490 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11491 result = wxLocale::GetSystemEncodingName();
d14a1e28
RD
11492
11493 wxPyEndAllowThreads(__tstate);
11494 if (PyErr_Occurred()) SWIG_fail;
11495 }
11496 {
11497#if wxUSE_UNICODE
11498 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11499#else
11500 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11501#endif
11502 }
d14a1e28
RD
11503 return resultobj;
11504 fail:
d14a1e28
RD
11505 return NULL;
11506}
11507
11508
093d3ff1 11509static PyObject *_wrap_Locale_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11510 PyObject *resultobj = NULL;
093d3ff1
RD
11511 wxLocale *arg1 = (wxLocale *) 0 ;
11512 bool result;
11513 PyObject * obj0 = 0 ;
d14a1e28 11514 char *kwnames[] = {
093d3ff1 11515 (char *) "self", NULL
d14a1e28
RD
11516 };
11517
093d3ff1
RD
11518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_IsOk",kwnames,&obj0)) goto fail;
11519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLocale, SWIG_POINTER_EXCEPTION | 0);
11520 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11521 {
11522 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11523 result = (bool)((wxLocale const *)arg1)->IsOk();
d14a1e28
RD
11524
11525 wxPyEndAllowThreads(__tstate);
11526 if (PyErr_Occurred()) SWIG_fail;
11527 }
093d3ff1
RD
11528 {
11529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11530 }
d14a1e28
RD
11531 return resultobj;
11532 fail:
11533 return NULL;
11534}
11535
11536
093d3ff1 11537static PyObject *_wrap_Locale_GetLocale(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11538 PyObject *resultobj = NULL;
093d3ff1
RD
11539 wxLocale *arg1 = (wxLocale *) 0 ;
11540 wxString result;
d14a1e28
RD
11541 PyObject * obj0 = 0 ;
11542 char *kwnames[] = {
11543 (char *) "self", NULL
11544 };
11545
093d3ff1
RD
11546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLocale",kwnames,&obj0)) goto fail;
11547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLocale, SWIG_POINTER_EXCEPTION | 0);
11548 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11549 {
11550 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11551 result = ((wxLocale const *)arg1)->GetLocale();
d14a1e28
RD
11552
11553 wxPyEndAllowThreads(__tstate);
11554 if (PyErr_Occurred()) SWIG_fail;
11555 }
093d3ff1
RD
11556 {
11557#if wxUSE_UNICODE
11558 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11559#else
11560 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11561#endif
11562 }
d14a1e28
RD
11563 return resultobj;
11564 fail:
11565 return NULL;
11566}
11567
11568
093d3ff1 11569static PyObject *_wrap_Locale_GetLanguage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11570 PyObject *resultobj = NULL;
093d3ff1
RD
11571 wxLocale *arg1 = (wxLocale *) 0 ;
11572 int result;
d14a1e28
RD
11573 PyObject * obj0 = 0 ;
11574 char *kwnames[] = {
093d3ff1 11575 (char *) "self", NULL
d14a1e28
RD
11576 };
11577
093d3ff1
RD
11578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLanguage",kwnames,&obj0)) goto fail;
11579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLocale, SWIG_POINTER_EXCEPTION | 0);
11580 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11581 {
11582 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11583 result = (int)((wxLocale const *)arg1)->GetLanguage();
d14a1e28
RD
11584
11585 wxPyEndAllowThreads(__tstate);
11586 if (PyErr_Occurred()) SWIG_fail;
11587 }
4f89f6a3 11588 {
32fe5131 11589 resultobj = SWIG_From_int(static_cast<int >(result));
4f89f6a3 11590 }
d14a1e28
RD
11591 return resultobj;
11592 fail:
11593 return NULL;
11594}
11595
11596
093d3ff1 11597static PyObject *_wrap_Locale_GetSysName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11598 PyObject *resultobj = NULL;
093d3ff1 11599 wxLocale *arg1 = (wxLocale *) 0 ;
d14a1e28 11600 wxString result;
d14a1e28 11601 PyObject * obj0 = 0 ;
d14a1e28 11602 char *kwnames[] = {
093d3ff1 11603 (char *) "self", NULL
d14a1e28
RD
11604 };
11605
093d3ff1
RD
11606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetSysName",kwnames,&obj0)) goto fail;
11607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLocale, SWIG_POINTER_EXCEPTION | 0);
11608 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11609 {
11610 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11611 result = ((wxLocale const *)arg1)->GetSysName();
d14a1e28
RD
11612
11613 wxPyEndAllowThreads(__tstate);
11614 if (PyErr_Occurred()) SWIG_fail;
11615 }
11616 {
11617#if wxUSE_UNICODE
11618 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11619#else
11620 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11621#endif
11622 }
d14a1e28
RD
11623 return resultobj;
11624 fail:
d14a1e28
RD
11625 return NULL;
11626}
11627
11628
093d3ff1 11629static PyObject *_wrap_Locale_GetCanonicalName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11630 PyObject *resultobj = NULL;
093d3ff1
RD
11631 wxLocale *arg1 = (wxLocale *) 0 ;
11632 wxString result;
994141e6 11633 PyObject * obj0 = 0 ;
d14a1e28 11634 char *kwnames[] = {
093d3ff1 11635 (char *) "self", NULL
d14a1e28
RD
11636 };
11637
093d3ff1
RD
11638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetCanonicalName",kwnames,&obj0)) goto fail;
11639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLocale, SWIG_POINTER_EXCEPTION | 0);
11640 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11641 {
11642 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11643 result = ((wxLocale const *)arg1)->GetCanonicalName();
d14a1e28
RD
11644
11645 wxPyEndAllowThreads(__tstate);
11646 if (PyErr_Occurred()) SWIG_fail;
11647 }
11648 {
093d3ff1
RD
11649#if wxUSE_UNICODE
11650 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11651#else
11652 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11653#endif
d14a1e28
RD
11654 }
11655 return resultobj;
11656 fail:
11657 return NULL;
11658}
11659
11660
093d3ff1 11661static PyObject *_wrap_Locale_AddCatalogLookupPathPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11662 PyObject *resultobj = NULL;
093d3ff1
RD
11663 wxString *arg1 = 0 ;
11664 bool temp1 = false ;
994141e6 11665 PyObject * obj0 = 0 ;
d14a1e28 11666 char *kwnames[] = {
093d3ff1 11667 (char *) "prefix", NULL
d14a1e28
RD
11668 };
11669
093d3ff1
RD
11670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames,&obj0)) goto fail;
11671 {
11672 arg1 = wxString_in_helper(obj0);
11673 if (arg1 == NULL) SWIG_fail;
11674 temp1 = true;
11675 }
d14a1e28
RD
11676 {
11677 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11678 wxLocale::AddCatalogLookupPathPrefix((wxString const &)*arg1);
d14a1e28
RD
11679
11680 wxPyEndAllowThreads(__tstate);
11681 if (PyErr_Occurred()) SWIG_fail;
11682 }
093d3ff1 11683 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28 11684 {
093d3ff1
RD
11685 if (temp1)
11686 delete arg1;
d14a1e28
RD
11687 }
11688 return resultobj;
11689 fail:
093d3ff1
RD
11690 {
11691 if (temp1)
11692 delete arg1;
11693 }
d14a1e28
RD
11694 return NULL;
11695}
11696
11697
093d3ff1 11698static PyObject *_wrap_Locale_AddCatalog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11699 PyObject *resultobj = NULL;
093d3ff1
RD
11700 wxLocale *arg1 = (wxLocale *) 0 ;
11701 wxString *arg2 = 0 ;
d14a1e28 11702 bool result;
093d3ff1 11703 bool temp2 = false ;
994141e6
RD
11704 PyObject * obj0 = 0 ;
11705 PyObject * obj1 = 0 ;
d14a1e28 11706 char *kwnames[] = {
093d3ff1 11707 (char *) "self",(char *) "szDomain", NULL
d14a1e28
RD
11708 };
11709
093d3ff1
RD
11710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Locale_AddCatalog",kwnames,&obj0,&obj1)) goto fail;
11711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLocale, SWIG_POINTER_EXCEPTION | 0);
11712 if (SWIG_arg_fail(1)) SWIG_fail;
11713 {
11714 arg2 = wxString_in_helper(obj1);
11715 if (arg2 == NULL) SWIG_fail;
11716 temp2 = true;
11717 }
d14a1e28
RD
11718 {
11719 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11720 result = (bool)(arg1)->AddCatalog((wxString const &)*arg2);
d14a1e28
RD
11721
11722 wxPyEndAllowThreads(__tstate);
11723 if (PyErr_Occurred()) SWIG_fail;
11724 }
4f89f6a3
RD
11725 {
11726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11727 }
093d3ff1
RD
11728 {
11729 if (temp2)
11730 delete arg2;
11731 }
d14a1e28
RD
11732 return resultobj;
11733 fail:
093d3ff1
RD
11734 {
11735 if (temp2)
11736 delete arg2;
11737 }
d14a1e28
RD
11738 return NULL;
11739}
11740
11741
093d3ff1 11742static PyObject *_wrap_Locale_IsLoaded(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11743 PyObject *resultobj = NULL;
093d3ff1
RD
11744 wxLocale *arg1 = (wxLocale *) 0 ;
11745 wxString *arg2 = 0 ;
11746 bool result;
11747 bool temp2 = false ;
d14a1e28 11748 PyObject * obj0 = 0 ;
093d3ff1 11749 PyObject * obj1 = 0 ;
d14a1e28 11750 char *kwnames[] = {
093d3ff1 11751 (char *) "self",(char *) "szDomain", NULL
d14a1e28
RD
11752 };
11753
093d3ff1
RD
11754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Locale_IsLoaded",kwnames,&obj0,&obj1)) goto fail;
11755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLocale, SWIG_POINTER_EXCEPTION | 0);
11756 if (SWIG_arg_fail(1)) SWIG_fail;
11757 {
11758 arg2 = wxString_in_helper(obj1);
11759 if (arg2 == NULL) SWIG_fail;
11760 temp2 = true;
11761 }
d14a1e28
RD
11762 {
11763 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11764 result = (bool)((wxLocale const *)arg1)->IsLoaded((wxString const &)*arg2);
d14a1e28
RD
11765
11766 wxPyEndAllowThreads(__tstate);
11767 if (PyErr_Occurred()) SWIG_fail;
11768 }
093d3ff1
RD
11769 {
11770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11771 }
11772 {
11773 if (temp2)
11774 delete arg2;
11775 }
d14a1e28
RD
11776 return resultobj;
11777 fail:
093d3ff1
RD
11778 {
11779 if (temp2)
11780 delete arg2;
11781 }
d14a1e28
RD
11782 return NULL;
11783}
11784
11785
093d3ff1 11786static PyObject *_wrap_Locale_GetLanguageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11787 PyObject *resultobj = NULL;
093d3ff1
RD
11788 int arg1 ;
11789 wxLanguageInfo *result;
d14a1e28
RD
11790 PyObject * obj0 = 0 ;
11791 char *kwnames[] = {
093d3ff1 11792 (char *) "lang", NULL
d14a1e28
RD
11793 };
11794
093d3ff1
RD
11795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLanguageInfo",kwnames,&obj0)) goto fail;
11796 {
32fe5131 11797 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
11798 if (SWIG_arg_fail(1)) SWIG_fail;
11799 }
d14a1e28
RD
11800 {
11801 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11802 result = (wxLanguageInfo *)wxLocale::GetLanguageInfo(arg1);
d14a1e28
RD
11803
11804 wxPyEndAllowThreads(__tstate);
11805 if (PyErr_Occurred()) SWIG_fail;
11806 }
093d3ff1 11807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLanguageInfo, 0);
d14a1e28
RD
11808 return resultobj;
11809 fail:
11810 return NULL;
11811}
11812
11813
093d3ff1 11814static PyObject *_wrap_Locale_GetLanguageName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11815 PyObject *resultobj = NULL;
093d3ff1
RD
11816 int arg1 ;
11817 wxString result;
d14a1e28
RD
11818 PyObject * obj0 = 0 ;
11819 char *kwnames[] = {
093d3ff1 11820 (char *) "lang", NULL
d14a1e28
RD
11821 };
11822
093d3ff1
RD
11823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLanguageName",kwnames,&obj0)) goto fail;
11824 {
32fe5131 11825 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
11826 if (SWIG_arg_fail(1)) SWIG_fail;
11827 }
d14a1e28
RD
11828 {
11829 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11830 result = wxLocale::GetLanguageName(arg1);
d14a1e28
RD
11831
11832 wxPyEndAllowThreads(__tstate);
11833 if (PyErr_Occurred()) SWIG_fail;
11834 }
093d3ff1
RD
11835 {
11836#if wxUSE_UNICODE
11837 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11838#else
11839 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11840#endif
11841 }
d14a1e28
RD
11842 return resultobj;
11843 fail:
11844 return NULL;
11845}
11846
11847
093d3ff1 11848static PyObject *_wrap_Locale_FindLanguageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11849 PyObject *resultobj = NULL;
093d3ff1
RD
11850 wxString *arg1 = 0 ;
11851 wxLanguageInfo *result;
11852 bool temp1 = false ;
d14a1e28 11853 PyObject * obj0 = 0 ;
d14a1e28 11854 char *kwnames[] = {
093d3ff1 11855 (char *) "locale", NULL
d14a1e28
RD
11856 };
11857
093d3ff1 11858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_FindLanguageInfo",kwnames,&obj0)) goto fail;
d14a1e28 11859 {
093d3ff1
RD
11860 arg1 = wxString_in_helper(obj0);
11861 if (arg1 == NULL) SWIG_fail;
11862 temp1 = true;
994141e6 11863 }
d14a1e28
RD
11864 {
11865 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11866 result = (wxLanguageInfo *)wxLocale::FindLanguageInfo((wxString const &)*arg1);
d14a1e28
RD
11867
11868 wxPyEndAllowThreads(__tstate);
11869 if (PyErr_Occurred()) SWIG_fail;
11870 }
093d3ff1 11871 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLanguageInfo, 0);
4f89f6a3 11872 {
093d3ff1
RD
11873 if (temp1)
11874 delete arg1;
4f89f6a3 11875 }
d14a1e28
RD
11876 return resultobj;
11877 fail:
093d3ff1
RD
11878 {
11879 if (temp1)
11880 delete arg1;
11881 }
d14a1e28
RD
11882 return NULL;
11883}
11884
11885
093d3ff1 11886static PyObject *_wrap_Locale_AddLanguage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11887 PyObject *resultobj = NULL;
093d3ff1 11888 wxLanguageInfo *arg1 = 0 ;
d14a1e28 11889 PyObject * obj0 = 0 ;
d14a1e28 11890 char *kwnames[] = {
093d3ff1 11891 (char *) "info", NULL
d14a1e28
RD
11892 };
11893
093d3ff1 11894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_AddLanguage",kwnames,&obj0)) goto fail;
d14a1e28 11895 {
093d3ff1
RD
11896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLanguageInfo, SWIG_POINTER_EXCEPTION | 0);
11897 if (SWIG_arg_fail(1)) SWIG_fail;
11898 if (arg1 == NULL) {
11899 SWIG_null_ref("wxLanguageInfo");
11900 }
11901 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 11902 }
d14a1e28
RD
11903 {
11904 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11905 wxLocale::AddLanguage((wxLanguageInfo const &)*arg1);
d14a1e28
RD
11906
11907 wxPyEndAllowThreads(__tstate);
11908 if (PyErr_Occurred()) SWIG_fail;
11909 }
093d3ff1 11910 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
11911 return resultobj;
11912 fail:
11913 return NULL;
11914}
11915
11916
093d3ff1 11917static PyObject *_wrap_Locale_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11918 PyObject *resultobj = NULL;
093d3ff1
RD
11919 wxLocale *arg1 = (wxLocale *) 0 ;
11920 wxString *arg2 = 0 ;
11921 wxString const &arg3_defvalue = wxPyEmptyString ;
11922 wxString *arg3 = (wxString *) &arg3_defvalue ;
11923 wxString result;
11924 bool temp2 = false ;
11925 bool temp3 = false ;
d14a1e28 11926 PyObject * obj0 = 0 ;
994141e6
RD
11927 PyObject * obj1 = 0 ;
11928 PyObject * obj2 = 0 ;
d14a1e28 11929 char *kwnames[] = {
093d3ff1 11930 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
d14a1e28
RD
11931 };
11932
093d3ff1
RD
11933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Locale_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLocale, SWIG_POINTER_EXCEPTION | 0);
11935 if (SWIG_arg_fail(1)) SWIG_fail;
11936 {
11937 arg2 = wxString_in_helper(obj1);
11938 if (arg2 == NULL) SWIG_fail;
11939 temp2 = true;
11940 }
11941 if (obj2) {
11942 {
11943 arg3 = wxString_in_helper(obj2);
11944 if (arg3 == NULL) SWIG_fail;
11945 temp3 = true;
11946 }
11947 }
d14a1e28
RD
11948 {
11949 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11950 result = ((wxLocale const *)arg1)->GetString((wxString const &)*arg2,(wxString const &)*arg3);
d14a1e28
RD
11951
11952 wxPyEndAllowThreads(__tstate);
11953 if (PyErr_Occurred()) SWIG_fail;
11954 }
11955 {
093d3ff1
RD
11956#if wxUSE_UNICODE
11957 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11958#else
11959 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11960#endif
11961 }
11962 {
11963 if (temp2)
11964 delete arg2;
11965 }
11966 {
11967 if (temp3)
11968 delete arg3;
d14a1e28
RD
11969 }
11970 return resultobj;
11971 fail:
093d3ff1
RD
11972 {
11973 if (temp2)
11974 delete arg2;
11975 }
11976 {
11977 if (temp3)
11978 delete arg3;
11979 }
d14a1e28
RD
11980 return NULL;
11981}
11982
11983
093d3ff1 11984static PyObject *_wrap_Locale_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11985 PyObject *resultobj = NULL;
093d3ff1
RD
11986 wxLocale *arg1 = (wxLocale *) 0 ;
11987 wxString *result;
d14a1e28 11988 PyObject * obj0 = 0 ;
d14a1e28 11989 char *kwnames[] = {
093d3ff1 11990 (char *) "self", NULL
d14a1e28
RD
11991 };
11992
093d3ff1
RD
11993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetName",kwnames,&obj0)) goto fail;
11994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLocale, SWIG_POINTER_EXCEPTION | 0);
11995 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11996 {
11997 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1
RD
11998 {
11999 wxString const &_result_ref = ((wxLocale const *)arg1)->GetName();
12000 result = (wxString *) &_result_ref;
12001 }
d14a1e28
RD
12002
12003 wxPyEndAllowThreads(__tstate);
12004 if (PyErr_Occurred()) SWIG_fail;
12005 }
12006 {
093d3ff1
RD
12007#if wxUSE_UNICODE
12008 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12009#else
12010 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12011#endif
d14a1e28
RD
12012 }
12013 return resultobj;
12014 fail:
12015 return NULL;
12016}
12017
12018
093d3ff1
RD
12019static PyObject * Locale_swigregister(PyObject *, PyObject *args) {
12020 PyObject *obj;
12021 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12022 SWIG_TypeClientData(SWIGTYPE_p_wxLocale, obj);
12023 Py_INCREF(obj);
12024 return Py_BuildValue((char *)"");
12025}
12026static PyObject *_wrap_GetLocale(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12027 PyObject *resultobj = NULL;
093d3ff1 12028 wxLocale *result;
d14a1e28 12029 char *kwnames[] = {
093d3ff1 12030 NULL
d14a1e28
RD
12031 };
12032
093d3ff1 12033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocale",kwnames)) goto fail;
d14a1e28
RD
12034 {
12035 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12036 result = (wxLocale *)wxGetLocale();
d14a1e28
RD
12037
12038 wxPyEndAllowThreads(__tstate);
12039 if (PyErr_Occurred()) SWIG_fail;
12040 }
093d3ff1 12041 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLocale, 0);
d14a1e28
RD
12042 return resultobj;
12043 fail:
12044 return NULL;
12045}
12046
12047
093d3ff1 12048static PyObject *_wrap_GetTranslation__SWIG_0(PyObject *, PyObject *args) {
32fe5131 12049 PyObject *resultobj = NULL;
093d3ff1
RD
12050 wxString *arg1 = 0 ;
12051 wxString result;
12052 bool temp1 = false ;
d14a1e28 12053 PyObject * obj0 = 0 ;
d14a1e28 12054
093d3ff1 12055 if(!PyArg_ParseTuple(args,(char *)"O:GetTranslation",&obj0)) goto fail;
d14a1e28 12056 {
093d3ff1
RD
12057 arg1 = wxString_in_helper(obj0);
12058 if (arg1 == NULL) SWIG_fail;
12059 temp1 = true;
d14a1e28
RD
12060 }
12061 {
12062 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12063 result = wxGetTranslation((wxString const &)*arg1);
d14a1e28
RD
12064
12065 wxPyEndAllowThreads(__tstate);
12066 if (PyErr_Occurred()) SWIG_fail;
12067 }
093d3ff1
RD
12068 {
12069#if wxUSE_UNICODE
12070 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12071#else
12072 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12073#endif
12074 }
12075 {
12076 if (temp1)
12077 delete arg1;
12078 }
d14a1e28
RD
12079 return resultobj;
12080 fail:
093d3ff1
RD
12081 {
12082 if (temp1)
12083 delete arg1;
12084 }
d14a1e28
RD
12085 return NULL;
12086}
12087
12088
093d3ff1 12089static PyObject *_wrap_GetTranslation__SWIG_1(PyObject *, PyObject *args) {
32fe5131 12090 PyObject *resultobj = NULL;
093d3ff1
RD
12091 wxString *arg1 = 0 ;
12092 wxString *arg2 = 0 ;
12093 size_t arg3 ;
12094 wxString result;
12095 bool temp1 = false ;
12096 bool temp2 = false ;
d14a1e28 12097 PyObject * obj0 = 0 ;
994141e6
RD
12098 PyObject * obj1 = 0 ;
12099 PyObject * obj2 = 0 ;
d14a1e28 12100
093d3ff1
RD
12101 if(!PyArg_ParseTuple(args,(char *)"OOO:GetTranslation",&obj0,&obj1,&obj2)) goto fail;
12102 {
12103 arg1 = wxString_in_helper(obj0);
12104 if (arg1 == NULL) SWIG_fail;
12105 temp1 = true;
12106 }
12107 {
12108 arg2 = wxString_in_helper(obj1);
12109 if (arg2 == NULL) SWIG_fail;
12110 temp2 = true;
12111 }
12112 {
32fe5131 12113 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
093d3ff1
RD
12114 if (SWIG_arg_fail(3)) SWIG_fail;
12115 }
d14a1e28
RD
12116 {
12117 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12118 result = wxGetTranslation((wxString const &)*arg1,(wxString const &)*arg2,arg3);
d14a1e28
RD
12119
12120 wxPyEndAllowThreads(__tstate);
12121 if (PyErr_Occurred()) SWIG_fail;
12122 }
093d3ff1
RD
12123 {
12124#if wxUSE_UNICODE
12125 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12126#else
12127 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12128#endif
12129 }
12130 {
12131 if (temp1)
12132 delete arg1;
12133 }
12134 {
12135 if (temp2)
12136 delete arg2;
12137 }
d14a1e28
RD
12138 return resultobj;
12139 fail:
093d3ff1
RD
12140 {
12141 if (temp1)
12142 delete arg1;
12143 }
12144 {
12145 if (temp2)
12146 delete arg2;
12147 }
d14a1e28
RD
12148 return NULL;
12149}
12150
12151
093d3ff1
RD
12152static PyObject *_wrap_GetTranslation(PyObject *self, PyObject *args) {
12153 int argc;
12154 PyObject *argv[4];
12155 int ii;
d14a1e28 12156
093d3ff1
RD
12157 argc = PyObject_Length(args);
12158 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
12159 argv[ii] = PyTuple_GetItem(args,ii);
12160 }
12161 if (argc == 1) {
12162 int _v;
12163 {
12164 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
12165 }
12166 if (_v) {
12167 return _wrap_GetTranslation__SWIG_0(self,args);
12168 }
12169 }
12170 if (argc == 3) {
12171 int _v;
12172 {
12173 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
12174 }
12175 if (_v) {
12176 {
12177 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
12178 }
12179 if (_v) {
12180 _v = SWIG_Check_unsigned_SS_long(argv[2]);
12181 if (_v) {
12182 return _wrap_GetTranslation__SWIG_1(self,args);
12183 }
12184 }
12185 }
12186 }
12187
12188 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'GetTranslation'");
12189 return NULL;
12190}
12191
12192
12193static PyObject *_wrap_new_EncodingConverter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12194 PyObject *resultobj = NULL;
093d3ff1
RD
12195 wxEncodingConverter *result;
12196 char *kwnames[] = {
12197 NULL
12198 };
12199
12200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EncodingConverter",kwnames)) goto fail;
d14a1e28
RD
12201 {
12202 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12203 result = (wxEncodingConverter *)new wxEncodingConverter();
d14a1e28
RD
12204
12205 wxPyEndAllowThreads(__tstate);
12206 if (PyErr_Occurred()) SWIG_fail;
12207 }
093d3ff1 12208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEncodingConverter, 1);
d14a1e28
RD
12209 return resultobj;
12210 fail:
12211 return NULL;
12212}
12213
12214
093d3ff1 12215static PyObject *_wrap_delete_EncodingConverter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12216 PyObject *resultobj = NULL;
093d3ff1 12217 wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ;
d14a1e28
RD
12218 PyObject * obj0 = 0 ;
12219 char *kwnames[] = {
093d3ff1 12220 (char *) "self", NULL
d14a1e28
RD
12221 };
12222
093d3ff1
RD
12223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_EncodingConverter",kwnames,&obj0)) goto fail;
12224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEncodingConverter, SWIG_POINTER_EXCEPTION | 0);
12225 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12226 {
12227 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12228 delete arg1;
d14a1e28
RD
12229
12230 wxPyEndAllowThreads(__tstate);
12231 if (PyErr_Occurred()) SWIG_fail;
12232 }
12233 Py_INCREF(Py_None); resultobj = Py_None;
12234 return resultobj;
12235 fail:
12236 return NULL;
12237}
12238
12239
093d3ff1 12240static PyObject *_wrap_EncodingConverter_Init(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12241 PyObject *resultobj = NULL;
093d3ff1
RD
12242 wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ;
12243 wxFontEncoding arg2 ;
12244 wxFontEncoding arg3 ;
12245 int arg4 = (int) wxCONVERT_STRICT ;
12246 bool result;
d14a1e28
RD
12247 PyObject * obj0 = 0 ;
12248 PyObject * obj1 = 0 ;
12249 PyObject * obj2 = 0 ;
12250 PyObject * obj3 = 0 ;
12251 char *kwnames[] = {
093d3ff1 12252 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
d14a1e28
RD
12253 };
12254
093d3ff1
RD
12255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:EncodingConverter_Init",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEncodingConverter, SWIG_POINTER_EXCEPTION | 0);
12257 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 12258 {
32fe5131 12259 arg2 = static_cast<wxFontEncoding >(SWIG_As_int(obj1));
093d3ff1 12260 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
12261 }
12262 {
32fe5131 12263 arg3 = static_cast<wxFontEncoding >(SWIG_As_int(obj2));
093d3ff1 12264 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28 12265 }
093d3ff1
RD
12266 if (obj3) {
12267 {
32fe5131 12268 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
12269 if (SWIG_arg_fail(4)) SWIG_fail;
12270 }
d14a1e28
RD
12271 }
12272 {
12273 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12274 result = (bool)(arg1)->Init(arg2,arg3,arg4);
d14a1e28
RD
12275
12276 wxPyEndAllowThreads(__tstate);
12277 if (PyErr_Occurred()) SWIG_fail;
12278 }
093d3ff1
RD
12279 {
12280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12281 }
d14a1e28
RD
12282 return resultobj;
12283 fail:
12284 return NULL;
12285}
12286
12287
093d3ff1 12288static PyObject *_wrap_EncodingConverter_Convert(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12289 PyObject *resultobj = NULL;
093d3ff1
RD
12290 wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ;
12291 wxString *arg2 = 0 ;
12292 wxString result;
12293 bool temp2 = false ;
d14a1e28 12294 PyObject * obj0 = 0 ;
994141e6 12295 PyObject * obj1 = 0 ;
d14a1e28 12296 char *kwnames[] = {
093d3ff1 12297 (char *) "self",(char *) "input", NULL
d14a1e28
RD
12298 };
12299
093d3ff1
RD
12300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EncodingConverter_Convert",kwnames,&obj0,&obj1)) goto fail;
12301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEncodingConverter, SWIG_POINTER_EXCEPTION | 0);
12302 if (SWIG_arg_fail(1)) SWIG_fail;
12303 {
12304 arg2 = wxString_in_helper(obj1);
12305 if (arg2 == NULL) SWIG_fail;
12306 temp2 = true;
12307 }
994141e6
RD
12308 {
12309 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12310 result = (arg1)->Convert((wxString const &)*arg2);
994141e6
RD
12311
12312 wxPyEndAllowThreads(__tstate);
12313 if (PyErr_Occurred()) SWIG_fail;
12314 }
093d3ff1
RD
12315 {
12316#if wxUSE_UNICODE
12317 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12318#else
12319 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12320#endif
12321 }
12322 {
12323 if (temp2)
12324 delete arg2;
12325 }
994141e6
RD
12326 return resultobj;
12327 fail:
093d3ff1
RD
12328 {
12329 if (temp2)
12330 delete arg2;
12331 }
994141e6
RD
12332 return NULL;
12333}
12334
12335
093d3ff1 12336static PyObject *_wrap_EncodingConverter_GetPlatformEquivalents(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12337 PyObject *resultobj = NULL;
093d3ff1
RD
12338 wxFontEncoding arg1 ;
12339 int arg2 = (int) wxPLATFORM_CURRENT ;
12340 wxFontEncodingArray result;
d14a1e28
RD
12341 PyObject * obj0 = 0 ;
12342 PyObject * obj1 = 0 ;
12343 char *kwnames[] = {
093d3ff1 12344 (char *) "enc",(char *) "platform", NULL
d14a1e28
RD
12345 };
12346
093d3ff1 12347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 12348 {
32fe5131 12349 arg1 = static_cast<wxFontEncoding >(SWIG_As_int(obj0));
093d3ff1
RD
12350 if (SWIG_arg_fail(1)) SWIG_fail;
12351 }
12352 if (obj1) {
12353 {
32fe5131 12354 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12355 if (SWIG_arg_fail(2)) SWIG_fail;
12356 }
d14a1e28
RD
12357 }
12358 {
12359 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12360 result = wxEncodingConverter::GetPlatformEquivalents(arg1,arg2);
d14a1e28
RD
12361
12362 wxPyEndAllowThreads(__tstate);
12363 if (PyErr_Occurred()) SWIG_fail;
12364 }
093d3ff1
RD
12365 {
12366 resultobj = PyList_New(0);
12367 for (size_t i=0; i < (&result)->GetCount(); i++) {
12368 PyObject* number = PyInt_FromLong((&result)->Item(i));
12369 PyList_Append(resultobj, number);
12370 Py_DECREF(number);
12371 }
12372 }
d14a1e28
RD
12373 return resultobj;
12374 fail:
12375 return NULL;
12376}
12377
12378
093d3ff1 12379static PyObject *_wrap_EncodingConverter_GetAllEquivalents(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12380 PyObject *resultobj = NULL;
093d3ff1
RD
12381 wxFontEncoding arg1 ;
12382 wxFontEncodingArray result;
d14a1e28
RD
12383 PyObject * obj0 = 0 ;
12384 char *kwnames[] = {
093d3ff1 12385 (char *) "enc", NULL
d14a1e28
RD
12386 };
12387
093d3ff1
RD
12388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames,&obj0)) goto fail;
12389 {
32fe5131 12390 arg1 = static_cast<wxFontEncoding >(SWIG_As_int(obj0));
093d3ff1
RD
12391 if (SWIG_arg_fail(1)) SWIG_fail;
12392 }
d14a1e28
RD
12393 {
12394 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12395 result = wxEncodingConverter::GetAllEquivalents(arg1);
d14a1e28
RD
12396
12397 wxPyEndAllowThreads(__tstate);
12398 if (PyErr_Occurred()) SWIG_fail;
12399 }
093d3ff1
RD
12400 {
12401 resultobj = PyList_New(0);
12402 for (size_t i=0; i < (&result)->GetCount(); i++) {
12403 PyObject* number = PyInt_FromLong((&result)->Item(i));
12404 PyList_Append(resultobj, number);
12405 Py_DECREF(number);
12406 }
12407 }
d14a1e28
RD
12408 return resultobj;
12409 fail:
12410 return NULL;
12411}
12412
12413
093d3ff1 12414static PyObject *_wrap_EncodingConverter_CanConvert(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12415 PyObject *resultobj = NULL;
093d3ff1
RD
12416 wxFontEncoding arg1 ;
12417 wxFontEncoding arg2 ;
12418 bool result;
d14a1e28
RD
12419 PyObject * obj0 = 0 ;
12420 PyObject * obj1 = 0 ;
d14a1e28 12421 char *kwnames[] = {
093d3ff1 12422 (char *) "encIn",(char *) "encOut", NULL
d14a1e28
RD
12423 };
12424
093d3ff1 12425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EncodingConverter_CanConvert",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 12426 {
32fe5131 12427 arg1 = static_cast<wxFontEncoding >(SWIG_As_int(obj0));
093d3ff1 12428 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12429 }
12430 {
32fe5131 12431 arg2 = static_cast<wxFontEncoding >(SWIG_As_int(obj1));
093d3ff1 12432 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
12433 }
12434 {
12435 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12436 result = (bool)wxEncodingConverter::CanConvert(arg1,arg2);
d14a1e28
RD
12437
12438 wxPyEndAllowThreads(__tstate);
12439 if (PyErr_Occurred()) SWIG_fail;
12440 }
093d3ff1
RD
12441 {
12442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12443 }
d14a1e28
RD
12444 return resultobj;
12445 fail:
12446 return NULL;
12447}
12448
12449
093d3ff1
RD
12450static PyObject * EncodingConverter_swigregister(PyObject *, PyObject *args) {
12451 PyObject *obj;
12452 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12453 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter, obj);
12454 Py_INCREF(obj);
12455 return Py_BuildValue((char *)"");
12456}
12457static PyObject *_wrap_delete_DC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12458 PyObject *resultobj = NULL;
d14a1e28 12459 wxDC *arg1 = (wxDC *) 0 ;
d14a1e28
RD
12460 PyObject * obj0 = 0 ;
12461 char *kwnames[] = {
093d3ff1 12462 (char *) "self", NULL
d14a1e28
RD
12463 };
12464
093d3ff1
RD
12465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DC",kwnames,&obj0)) goto fail;
12466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
12467 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12468 {
12469 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12470 delete arg1;
d14a1e28
RD
12471
12472 wxPyEndAllowThreads(__tstate);
12473 if (PyErr_Occurred()) SWIG_fail;
12474 }
12475 Py_INCREF(Py_None); resultobj = Py_None;
12476 return resultobj;
12477 fail:
12478 return NULL;
12479}
12480
12481
093d3ff1 12482static PyObject *_wrap_DC_FloodFill(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12483 PyObject *resultobj = NULL;
d14a1e28 12484 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
12485 int arg2 ;
12486 int arg3 ;
12487 wxColour *arg4 = 0 ;
12488 int arg5 = (int) wxFLOOD_SURFACE ;
12489 bool result;
12490 wxColour temp4 ;
d14a1e28
RD
12491 PyObject * obj0 = 0 ;
12492 PyObject * obj1 = 0 ;
093d3ff1
RD
12493 PyObject * obj2 = 0 ;
12494 PyObject * obj3 = 0 ;
12495 PyObject * obj4 = 0 ;
d14a1e28 12496 char *kwnames[] = {
093d3ff1 12497 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
d14a1e28
RD
12498 };
12499
093d3ff1
RD
12500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:DC_FloodFill",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
12502 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 12503 {
32fe5131 12504 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12505 if (SWIG_arg_fail(2)) SWIG_fail;
12506 }
12507 {
32fe5131 12508 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12509 if (SWIG_arg_fail(3)) SWIG_fail;
12510 }
12511 {
12512 arg4 = &temp4;
12513 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
12514 }
12515 if (obj4) {
12516 {
32fe5131 12517 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
12518 if (SWIG_arg_fail(5)) SWIG_fail;
12519 }
d14a1e28
RD
12520 }
12521 {
12522 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12523 result = (bool)(arg1)->FloodFill(arg2,arg3,(wxColour const &)*arg4,arg5);
d14a1e28
RD
12524
12525 wxPyEndAllowThreads(__tstate);
12526 if (PyErr_Occurred()) SWIG_fail;
12527 }
093d3ff1
RD
12528 {
12529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12530 }
d14a1e28
RD
12531 return resultobj;
12532 fail:
12533 return NULL;
12534}
12535
12536
093d3ff1 12537static PyObject *_wrap_DC_FloodFillPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12538 PyObject *resultobj = NULL;
d14a1e28 12539 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5 12540 wxPoint *arg2 = 0 ;
093d3ff1
RD
12541 wxColour *arg3 = 0 ;
12542 int arg4 = (int) wxFLOOD_SURFACE ;
12543 bool result;
03e37cd5 12544 wxPoint temp2 ;
093d3ff1 12545 wxColour temp3 ;
d14a1e28
RD
12546 PyObject * obj0 = 0 ;
12547 PyObject * obj1 = 0 ;
03e37cd5 12548 PyObject * obj2 = 0 ;
093d3ff1 12549 PyObject * obj3 = 0 ;
d14a1e28 12550 char *kwnames[] = {
093d3ff1 12551 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
d14a1e28
RD
12552 };
12553
093d3ff1
RD
12554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:DC_FloodFillPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
12556 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12557 {
12558 arg2 = &temp2;
03e37cd5
RD
12559 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12560 }
12561 {
12562 arg3 = &temp3;
093d3ff1
RD
12563 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
12564 }
12565 if (obj3) {
12566 {
32fe5131 12567 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
12568 if (SWIG_arg_fail(4)) SWIG_fail;
12569 }
d14a1e28
RD
12570 }
12571 {
12572 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12573 result = (bool)(arg1)->FloodFill((wxPoint const &)*arg2,(wxColour const &)*arg3,arg4);
d14a1e28
RD
12574
12575 wxPyEndAllowThreads(__tstate);
12576 if (PyErr_Occurred()) SWIG_fail;
12577 }
093d3ff1
RD
12578 {
12579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12580 }
d14a1e28
RD
12581 return resultobj;
12582 fail:
12583 return NULL;
12584}
12585
12586
b1fcee84
RD
12587static PyObject *_wrap_DC_GradientFillConcentric(PyObject *, PyObject *args, PyObject *kwargs) {
12588 PyObject *resultobj = NULL;
12589 wxDC *arg1 = (wxDC *) 0 ;
12590 wxRect *arg2 = 0 ;
12591 wxColour *arg3 = 0 ;
12592 wxColour *arg4 = 0 ;
12593 wxPoint *arg5 = 0 ;
12594 wxRect temp2 ;
12595 wxColour temp3 ;
12596 wxColour temp4 ;
12597 wxPoint temp5 ;
12598 PyObject * obj0 = 0 ;
12599 PyObject * obj1 = 0 ;
12600 PyObject * obj2 = 0 ;
12601 PyObject * obj3 = 0 ;
12602 PyObject * obj4 = 0 ;
12603 char *kwnames[] = {
12604 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
12605 };
12606
12607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_GradientFillConcentric",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
12609 if (SWIG_arg_fail(1)) SWIG_fail;
12610 {
12611 arg2 = &temp2;
12612 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12613 }
12614 {
12615 arg3 = &temp3;
12616 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
12617 }
12618 {
12619 arg4 = &temp4;
12620 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
12621 }
12622 {
12623 arg5 = &temp5;
12624 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12625 }
12626 {
12627 PyThreadState* __tstate = wxPyBeginAllowThreads();
12628 (arg1)->GradientFillConcentric((wxRect const &)*arg2,(wxColour const &)*arg3,(wxColour const &)*arg4,(wxPoint const &)*arg5);
12629
12630 wxPyEndAllowThreads(__tstate);
12631 if (PyErr_Occurred()) SWIG_fail;
12632 }
12633 Py_INCREF(Py_None); resultobj = Py_None;
12634 return resultobj;
12635 fail:
12636 return NULL;
12637}
12638
12639
12640static PyObject *_wrap_DC_GradientFillLinear(PyObject *, PyObject *args, PyObject *kwargs) {
12641 PyObject *resultobj = NULL;
12642 wxDC *arg1 = (wxDC *) 0 ;
12643 wxRect *arg2 = 0 ;
12644 wxColour *arg3 = 0 ;
12645 wxColour *arg4 = 0 ;
12646 wxDirection arg5 = (wxDirection) wxEAST ;
12647 wxRect temp2 ;
12648 wxColour temp3 ;
12649 wxColour temp4 ;
12650 PyObject * obj0 = 0 ;
12651 PyObject * obj1 = 0 ;
12652 PyObject * obj2 = 0 ;
12653 PyObject * obj3 = 0 ;
12654 PyObject * obj4 = 0 ;
12655 char *kwnames[] = {
12656 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
12657 };
12658
12659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:DC_GradientFillLinear",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
12661 if (SWIG_arg_fail(1)) SWIG_fail;
12662 {
12663 arg2 = &temp2;
12664 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12665 }
12666 {
12667 arg3 = &temp3;
12668 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
12669 }
12670 {
12671 arg4 = &temp4;
12672 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
12673 }
12674 if (obj4) {
12675 {
12676 arg5 = static_cast<wxDirection >(SWIG_As_int(obj4));
12677 if (SWIG_arg_fail(5)) SWIG_fail;
12678 }
12679 }
12680 {
12681 PyThreadState* __tstate = wxPyBeginAllowThreads();
12682 (arg1)->GradientFillLinear((wxRect const &)*arg2,(wxColour const &)*arg3,(wxColour const &)*arg4,arg5);
12683
12684 wxPyEndAllowThreads(__tstate);
12685 if (PyErr_Occurred()) SWIG_fail;
12686 }
12687 Py_INCREF(Py_None); resultobj = Py_None;
12688 return resultobj;
12689 fail:
12690 return NULL;
12691}
12692
12693
093d3ff1 12694static PyObject *_wrap_DC_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12695 PyObject *resultobj = NULL;
d14a1e28 12696 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
12697 int arg2 ;
12698 int arg3 ;
093d3ff1 12699 wxColour result;
d14a1e28 12700 PyObject * obj0 = 0 ;
994141e6
RD
12701 PyObject * obj1 = 0 ;
12702 PyObject * obj2 = 0 ;
d14a1e28 12703 char *kwnames[] = {
093d3ff1 12704 (char *) "self",(char *) "x",(char *) "y", NULL
d14a1e28
RD
12705 };
12706
093d3ff1
RD
12707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_GetPixel",kwnames,&obj0,&obj1,&obj2)) goto fail;
12708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
12709 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 12710 {
32fe5131 12711 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 12712 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 12713 }
d14a1e28 12714 {
32fe5131 12715 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1 12716 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
12717 }
12718 {
12719 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12720 result = wxDC_GetPixel(arg1,arg2,arg3);
d14a1e28
RD
12721
12722 wxPyEndAllowThreads(__tstate);
12723 if (PyErr_Occurred()) SWIG_fail;
12724 }
093d3ff1
RD
12725 {
12726 wxColour * resultptr;
32fe5131 12727 resultptr = new wxColour(static_cast<wxColour & >(result));
093d3ff1
RD
12728 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12729 }
d14a1e28
RD
12730 return resultobj;
12731 fail:
12732 return NULL;
12733}
12734
12735
093d3ff1 12736static PyObject *_wrap_DC_GetPixelPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12737 PyObject *resultobj = NULL;
d14a1e28 12738 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5 12739 wxPoint *arg2 = 0 ;
093d3ff1 12740 wxColour result;
03e37cd5 12741 wxPoint temp2 ;
d14a1e28
RD
12742 PyObject * obj0 = 0 ;
12743 PyObject * obj1 = 0 ;
12744 char *kwnames[] = {
093d3ff1 12745 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
12746 };
12747
093d3ff1
RD
12748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_GetPixelPoint",kwnames,&obj0,&obj1)) goto fail;
12749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
12750 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12751 {
12752 arg2 = &temp2;
03e37cd5 12753 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
12754 }
12755 {
12756 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12757 result = wxDC_GetPixelPoint(arg1,(wxPoint const &)*arg2);
d14a1e28
RD
12758
12759 wxPyEndAllowThreads(__tstate);
12760 if (PyErr_Occurred()) SWIG_fail;
12761 }
093d3ff1
RD
12762 {
12763 wxColour * resultptr;
32fe5131 12764 resultptr = new wxColour(static_cast<wxColour & >(result));
093d3ff1
RD
12765 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12766 }
d14a1e28
RD
12767 return resultobj;
12768 fail:
12769 return NULL;
12770}
12771
12772
093d3ff1 12773static PyObject *_wrap_DC_DrawLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12774 PyObject *resultobj = NULL;
d14a1e28 12775 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
12776 int arg2 ;
12777 int arg3 ;
12778 int arg4 ;
093d3ff1 12779 int arg5 ;
d14a1e28 12780 PyObject * obj0 = 0 ;
994141e6
RD
12781 PyObject * obj1 = 0 ;
12782 PyObject * obj2 = 0 ;
12783 PyObject * obj3 = 0 ;
093d3ff1 12784 PyObject * obj4 = 0 ;
d14a1e28 12785 char *kwnames[] = {
093d3ff1 12786 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
d14a1e28
RD
12787 };
12788
093d3ff1
RD
12789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
12791 if (SWIG_arg_fail(1)) SWIG_fail;
12792 {
32fe5131 12793 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12794 if (SWIG_arg_fail(2)) SWIG_fail;
12795 }
12796 {
32fe5131 12797 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12798 if (SWIG_arg_fail(3)) SWIG_fail;
12799 }
12800 {
32fe5131 12801 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
12802 if (SWIG_arg_fail(4)) SWIG_fail;
12803 }
12804 {
32fe5131 12805 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
12806 if (SWIG_arg_fail(5)) SWIG_fail;
12807 }
d14a1e28
RD
12808 {
12809 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12810 (arg1)->DrawLine(arg2,arg3,arg4,arg5);
d14a1e28
RD
12811
12812 wxPyEndAllowThreads(__tstate);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 }
12815 Py_INCREF(Py_None); resultobj = Py_None;
12816 return resultobj;
12817 fail:
12818 return NULL;
12819}
12820
12821
093d3ff1 12822static PyObject *_wrap_DC_DrawLinePoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12823 PyObject *resultobj = NULL;
d14a1e28
RD
12824 wxDC *arg1 = (wxDC *) 0 ;
12825 wxPoint *arg2 = 0 ;
093d3ff1 12826 wxPoint *arg3 = 0 ;
d14a1e28 12827 wxPoint temp2 ;
093d3ff1 12828 wxPoint temp3 ;
d14a1e28
RD
12829 PyObject * obj0 = 0 ;
12830 PyObject * obj1 = 0 ;
994141e6 12831 PyObject * obj2 = 0 ;
d14a1e28 12832 char *kwnames[] = {
093d3ff1 12833 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
d14a1e28
RD
12834 };
12835
093d3ff1
RD
12836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawLinePoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
12837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
12838 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12839 {
12840 arg2 = &temp2;
12841 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12842 }
093d3ff1
RD
12843 {
12844 arg3 = &temp3;
12845 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12846 }
d14a1e28
RD
12847 {
12848 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12849 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
d14a1e28
RD
12850
12851 wxPyEndAllowThreads(__tstate);
12852 if (PyErr_Occurred()) SWIG_fail;
12853 }
12854 Py_INCREF(Py_None); resultobj = Py_None;
12855 return resultobj;
12856 fail:
12857 return NULL;
12858}
12859
12860
093d3ff1 12861static PyObject *_wrap_DC_CrossHair(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12862 PyObject *resultobj = NULL;
d14a1e28 12863 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
12864 int arg2 ;
12865 int arg3 ;
d14a1e28 12866 PyObject * obj0 = 0 ;
994141e6
RD
12867 PyObject * obj1 = 0 ;
12868 PyObject * obj2 = 0 ;
d14a1e28 12869 char *kwnames[] = {
093d3ff1 12870 (char *) "self",(char *) "x",(char *) "y", NULL
d14a1e28
RD
12871 };
12872
093d3ff1
RD
12873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_CrossHair",kwnames,&obj0,&obj1,&obj2)) goto fail;
12874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
12875 if (SWIG_arg_fail(1)) SWIG_fail;
12876 {
32fe5131 12877 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12878 if (SWIG_arg_fail(2)) SWIG_fail;
12879 }
12880 {
32fe5131 12881 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12882 if (SWIG_arg_fail(3)) SWIG_fail;
12883 }
d14a1e28
RD
12884 {
12885 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12886 (arg1)->CrossHair(arg2,arg3);
d14a1e28
RD
12887
12888 wxPyEndAllowThreads(__tstate);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 Py_INCREF(Py_None); resultobj = Py_None;
12892 return resultobj;
12893 fail:
12894 return NULL;
12895}
12896
12897
093d3ff1 12898static PyObject *_wrap_DC_CrossHairPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12899 PyObject *resultobj = NULL;
d14a1e28 12900 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
12901 wxPoint *arg2 = 0 ;
12902 wxPoint temp2 ;
d14a1e28
RD
12903 PyObject * obj0 = 0 ;
12904 PyObject * obj1 = 0 ;
d14a1e28 12905 char *kwnames[] = {
093d3ff1 12906 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
12907 };
12908
093d3ff1
RD
12909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_CrossHairPoint",kwnames,&obj0,&obj1)) goto fail;
12910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
12911 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12912 {
12913 arg2 = &temp2;
093d3ff1 12914 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
12915 }
12916 {
12917 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12918 (arg1)->CrossHair((wxPoint const &)*arg2);
d14a1e28
RD
12919
12920 wxPyEndAllowThreads(__tstate);
12921 if (PyErr_Occurred()) SWIG_fail;
12922 }
12923 Py_INCREF(Py_None); resultobj = Py_None;
12924 return resultobj;
12925 fail:
12926 return NULL;
12927}
12928
12929
093d3ff1 12930static PyObject *_wrap_DC_DrawArc(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12931 PyObject *resultobj = NULL;
d14a1e28 12932 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
12933 int arg2 ;
12934 int arg3 ;
12935 int arg4 ;
12936 int arg5 ;
12937 int arg6 ;
12938 int arg7 ;
d14a1e28
RD
12939 PyObject * obj0 = 0 ;
12940 PyObject * obj1 = 0 ;
03e37cd5 12941 PyObject * obj2 = 0 ;
093d3ff1
RD
12942 PyObject * obj3 = 0 ;
12943 PyObject * obj4 = 0 ;
12944 PyObject * obj5 = 0 ;
12945 PyObject * obj6 = 0 ;
d14a1e28 12946 char *kwnames[] = {
093d3ff1 12947 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
d14a1e28
RD
12948 };
12949
093d3ff1
RD
12950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:DC_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
12952 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 12953 {
32fe5131 12954 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 12955 if (SWIG_arg_fail(2)) SWIG_fail;
03e37cd5
RD
12956 }
12957 {
32fe5131 12958 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12959 if (SWIG_arg_fail(3)) SWIG_fail;
12960 }
12961 {
32fe5131 12962 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
12963 if (SWIG_arg_fail(4)) SWIG_fail;
12964 }
12965 {
32fe5131 12966 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
12967 if (SWIG_arg_fail(5)) SWIG_fail;
12968 }
12969 {
32fe5131 12970 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
12971 if (SWIG_arg_fail(6)) SWIG_fail;
12972 }
12973 {
32fe5131 12974 arg7 = static_cast<int >(SWIG_As_int(obj6));
093d3ff1 12975 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
12976 }
12977 {
12978 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12979 (arg1)->DrawArc(arg2,arg3,arg4,arg5,arg6,arg7);
d14a1e28
RD
12980
12981 wxPyEndAllowThreads(__tstate);
12982 if (PyErr_Occurred()) SWIG_fail;
12983 }
12984 Py_INCREF(Py_None); resultobj = Py_None;
12985 return resultobj;
12986 fail:
12987 return NULL;
12988}
12989
12990
093d3ff1 12991static PyObject *_wrap_DC_DrawArcPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12992 PyObject *resultobj = NULL;
d14a1e28 12993 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
12994 wxPoint *arg2 = 0 ;
12995 wxPoint *arg3 = 0 ;
12996 wxPoint *arg4 = 0 ;
12997 wxPoint temp2 ;
12998 wxPoint temp3 ;
12999 wxPoint temp4 ;
d14a1e28
RD
13000 PyObject * obj0 = 0 ;
13001 PyObject * obj1 = 0 ;
994141e6
RD
13002 PyObject * obj2 = 0 ;
13003 PyObject * obj3 = 0 ;
d14a1e28 13004 char *kwnames[] = {
093d3ff1 13005 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
d14a1e28
RD
13006 };
13007
093d3ff1
RD
13008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawArcPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13010 if (SWIG_arg_fail(1)) SWIG_fail;
13011 {
13012 arg2 = &temp2;
13013 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13014 }
13015 {
13016 arg3 = &temp3;
13017 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13018 }
13019 {
13020 arg4 = &temp4;
13021 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
994141e6 13022 }
d14a1e28
RD
13023 {
13024 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13025 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
d14a1e28
RD
13026
13027 wxPyEndAllowThreads(__tstate);
13028 if (PyErr_Occurred()) SWIG_fail;
13029 }
13030 Py_INCREF(Py_None); resultobj = Py_None;
13031 return resultobj;
13032 fail:
13033 return NULL;
13034}
13035
13036
093d3ff1 13037static PyObject *_wrap_DC_DrawCheckMark(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13038 PyObject *resultobj = NULL;
d14a1e28 13039 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13040 int arg2 ;
13041 int arg3 ;
13042 int arg4 ;
13043 int arg5 ;
d14a1e28
RD
13044 PyObject * obj0 = 0 ;
13045 PyObject * obj1 = 0 ;
13046 PyObject * obj2 = 0 ;
093d3ff1
RD
13047 PyObject * obj3 = 0 ;
13048 PyObject * obj4 = 0 ;
d14a1e28 13049 char *kwnames[] = {
093d3ff1 13050 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
d14a1e28
RD
13051 };
13052
093d3ff1
RD
13053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawCheckMark",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13055 if (SWIG_arg_fail(1)) SWIG_fail;
13056 {
32fe5131 13057 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 13058 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
13059 }
13060 {
32fe5131 13061 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13062 if (SWIG_arg_fail(3)) SWIG_fail;
13063 }
13064 {
32fe5131 13065 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
13066 if (SWIG_arg_fail(4)) SWIG_fail;
13067 }
13068 {
32fe5131 13069 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1 13070 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
13071 }
13072 {
13073 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13074 (arg1)->DrawCheckMark(arg2,arg3,arg4,arg5);
d14a1e28
RD
13075
13076 wxPyEndAllowThreads(__tstate);
13077 if (PyErr_Occurred()) SWIG_fail;
13078 }
13079 Py_INCREF(Py_None); resultobj = Py_None;
13080 return resultobj;
13081 fail:
13082 return NULL;
13083}
13084
13085
093d3ff1 13086static PyObject *_wrap_DC_DrawCheckMarkRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13087 PyObject *resultobj = NULL;
d14a1e28 13088 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13089 wxRect *arg2 = 0 ;
13090 wxRect temp2 ;
d14a1e28
RD
13091 PyObject * obj0 = 0 ;
13092 PyObject * obj1 = 0 ;
d14a1e28 13093 char *kwnames[] = {
093d3ff1 13094 (char *) "self",(char *) "rect", NULL
d14a1e28
RD
13095 };
13096
093d3ff1
RD
13097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawCheckMarkRect",kwnames,&obj0,&obj1)) goto fail;
13098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13099 if (SWIG_arg_fail(1)) SWIG_fail;
13100 {
13101 arg2 = &temp2;
13102 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
13103 }
13104 {
13105 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13106 (arg1)->DrawCheckMark((wxRect const &)*arg2);
d14a1e28
RD
13107
13108 wxPyEndAllowThreads(__tstate);
13109 if (PyErr_Occurred()) SWIG_fail;
13110 }
13111 Py_INCREF(Py_None); resultobj = Py_None;
13112 return resultobj;
13113 fail:
13114 return NULL;
13115}
13116
13117
093d3ff1 13118static PyObject *_wrap_DC_DrawEllipticArc(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13119 PyObject *resultobj = NULL;
d14a1e28 13120 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13121 int arg2 ;
13122 int arg3 ;
13123 int arg4 ;
13124 int arg5 ;
13125 double arg6 ;
13126 double arg7 ;
d14a1e28
RD
13127 PyObject * obj0 = 0 ;
13128 PyObject * obj1 = 0 ;
13129 PyObject * obj2 = 0 ;
13130 PyObject * obj3 = 0 ;
093d3ff1
RD
13131 PyObject * obj4 = 0 ;
13132 PyObject * obj5 = 0 ;
13133 PyObject * obj6 = 0 ;
d14a1e28 13134 char *kwnames[] = {
093d3ff1 13135 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
d14a1e28
RD
13136 };
13137
093d3ff1
RD
13138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13140 if (SWIG_arg_fail(1)) SWIG_fail;
13141 {
32fe5131 13142 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 13143 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
13144 }
13145 {
32fe5131 13146 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1 13147 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28 13148 }
093d3ff1 13149 {
32fe5131 13150 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
13151 if (SWIG_arg_fail(4)) SWIG_fail;
13152 }
13153 {
32fe5131 13154 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
13155 if (SWIG_arg_fail(5)) SWIG_fail;
13156 }
13157 {
32fe5131 13158 arg6 = static_cast<double >(SWIG_As_double(obj5));
093d3ff1
RD
13159 if (SWIG_arg_fail(6)) SWIG_fail;
13160 }
13161 {
32fe5131 13162 arg7 = static_cast<double >(SWIG_As_double(obj6));
093d3ff1 13163 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
13164 }
13165 {
13166 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13167 (arg1)->DrawEllipticArc(arg2,arg3,arg4,arg5,arg6,arg7);
d14a1e28
RD
13168
13169 wxPyEndAllowThreads(__tstate);
13170 if (PyErr_Occurred()) SWIG_fail;
13171 }
13172 Py_INCREF(Py_None); resultobj = Py_None;
13173 return resultobj;
13174 fail:
13175 return NULL;
13176}
13177
13178
093d3ff1 13179static PyObject *_wrap_DC_DrawEllipticArcPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13180 PyObject *resultobj = NULL;
d14a1e28 13181 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13182 wxPoint *arg2 = 0 ;
13183 wxSize *arg3 = 0 ;
13184 double arg4 ;
13185 double arg5 ;
13186 wxPoint temp2 ;
13187 wxSize temp3 ;
d14a1e28
RD
13188 PyObject * obj0 = 0 ;
13189 PyObject * obj1 = 0 ;
994141e6
RD
13190 PyObject * obj2 = 0 ;
13191 PyObject * obj3 = 0 ;
093d3ff1 13192 PyObject * obj4 = 0 ;
d14a1e28 13193 char *kwnames[] = {
093d3ff1 13194 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
d14a1e28
RD
13195 };
13196
093d3ff1
RD
13197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13199 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 13200 {
093d3ff1
RD
13201 arg2 = &temp2;
13202 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13203 }
13204 {
13205 arg3 = &temp3;
13206 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13207 }
13208 {
32fe5131 13209 arg4 = static_cast<double >(SWIG_As_double(obj3));
093d3ff1
RD
13210 if (SWIG_arg_fail(4)) SWIG_fail;
13211 }
13212 {
32fe5131 13213 arg5 = static_cast<double >(SWIG_As_double(obj4));
093d3ff1 13214 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
13215 }
13216 {
13217 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13218 (arg1)->DrawEllipticArc((wxPoint const &)*arg2,(wxSize const &)*arg3,arg4,arg5);
d14a1e28
RD
13219
13220 wxPyEndAllowThreads(__tstate);
13221 if (PyErr_Occurred()) SWIG_fail;
13222 }
13223 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
13224 return resultobj;
13225 fail:
d14a1e28
RD
13226 return NULL;
13227}
13228
13229
093d3ff1 13230static PyObject *_wrap_DC_DrawPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13231 PyObject *resultobj = NULL;
d14a1e28 13232 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13233 int arg2 ;
13234 int arg3 ;
d14a1e28
RD
13235 PyObject * obj0 = 0 ;
13236 PyObject * obj1 = 0 ;
13237 PyObject * obj2 = 0 ;
13238 char *kwnames[] = {
093d3ff1 13239 (char *) "self",(char *) "x",(char *) "y", NULL
d14a1e28
RD
13240 };
13241
093d3ff1
RD
13242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
13243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13244 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 13245 {
32fe5131 13246 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 13247 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
13248 }
13249 {
32fe5131 13250 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1 13251 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
13252 }
13253 {
13254 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13255 (arg1)->DrawPoint(arg2,arg3);
d14a1e28
RD
13256
13257 wxPyEndAllowThreads(__tstate);
13258 if (PyErr_Occurred()) SWIG_fail;
13259 }
13260 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
13261 return resultobj;
13262 fail:
d14a1e28
RD
13263 return NULL;
13264}
13265
13266
093d3ff1 13267static PyObject *_wrap_DC_DrawPointPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13268 PyObject *resultobj = NULL;
d14a1e28 13269 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13270 wxPoint *arg2 = 0 ;
13271 wxPoint temp2 ;
d14a1e28
RD
13272 PyObject * obj0 = 0 ;
13273 PyObject * obj1 = 0 ;
13274 char *kwnames[] = {
093d3ff1 13275 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
13276 };
13277
093d3ff1
RD
13278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawPointPoint",kwnames,&obj0,&obj1)) goto fail;
13279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13280 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 13281 {
093d3ff1
RD
13282 arg2 = &temp2;
13283 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
13284 }
13285 {
13286 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13287 (arg1)->DrawPoint((wxPoint const &)*arg2);
d14a1e28
RD
13288
13289 wxPyEndAllowThreads(__tstate);
13290 if (PyErr_Occurred()) SWIG_fail;
13291 }
13292 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
13293 return resultobj;
13294 fail:
d14a1e28
RD
13295 return NULL;
13296}
13297
13298
093d3ff1 13299static PyObject *_wrap_DC_DrawRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13300 PyObject *resultobj = NULL;
d14a1e28 13301 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13302 int arg2 ;
13303 int arg3 ;
13304 int arg4 ;
13305 int arg5 ;
d14a1e28
RD
13306 PyObject * obj0 = 0 ;
13307 PyObject * obj1 = 0 ;
13308 PyObject * obj2 = 0 ;
994141e6 13309 PyObject * obj3 = 0 ;
093d3ff1 13310 PyObject * obj4 = 0 ;
d14a1e28 13311 char *kwnames[] = {
093d3ff1 13312 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
d14a1e28
RD
13313 };
13314
093d3ff1
RD
13315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13317 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 13318 {
32fe5131 13319 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 13320 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
13321 }
13322 {
32fe5131 13323 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13324 if (SWIG_arg_fail(3)) SWIG_fail;
13325 }
13326 {
32fe5131 13327 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
13328 if (SWIG_arg_fail(4)) SWIG_fail;
13329 }
13330 {
32fe5131 13331 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1 13332 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
13333 }
13334 {
13335 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13336 (arg1)->DrawRectangle(arg2,arg3,arg4,arg5);
d14a1e28
RD
13337
13338 wxPyEndAllowThreads(__tstate);
13339 if (PyErr_Occurred()) SWIG_fail;
13340 }
13341 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
13342 return resultobj;
13343 fail:
d14a1e28
RD
13344 return NULL;
13345}
13346
13347
093d3ff1 13348static PyObject *_wrap_DC_DrawRectangleRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13349 PyObject *resultobj = NULL;
d14a1e28 13350 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13351 wxRect *arg2 = 0 ;
13352 wxRect temp2 ;
d14a1e28 13353 PyObject * obj0 = 0 ;
994141e6 13354 PyObject * obj1 = 0 ;
d14a1e28 13355 char *kwnames[] = {
093d3ff1 13356 (char *) "self",(char *) "rect", NULL
d14a1e28
RD
13357 };
13358
093d3ff1
RD
13359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawRectangleRect",kwnames,&obj0,&obj1)) goto fail;
13360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13361 if (SWIG_arg_fail(1)) SWIG_fail;
13362 {
13363 arg2 = &temp2;
13364 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
13365 }
13366 {
13367 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13368 (arg1)->DrawRectangle((wxRect const &)*arg2);
d14a1e28
RD
13369
13370 wxPyEndAllowThreads(__tstate);
13371 if (PyErr_Occurred()) SWIG_fail;
13372 }
093d3ff1 13373 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
13374 return resultobj;
13375 fail:
13376 return NULL;
13377}
13378
13379
093d3ff1 13380static PyObject *_wrap_DC_DrawRectanglePointSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13381 PyObject *resultobj = NULL;
d14a1e28
RD
13382 wxDC *arg1 = (wxDC *) 0 ;
13383 wxPoint *arg2 = 0 ;
13384 wxSize *arg3 = 0 ;
d14a1e28
RD
13385 wxPoint temp2 ;
13386 wxSize temp3 ;
d14a1e28
RD
13387 PyObject * obj0 = 0 ;
13388 PyObject * obj1 = 0 ;
13389 PyObject * obj2 = 0 ;
d14a1e28 13390 char *kwnames[] = {
093d3ff1 13391 (char *) "self",(char *) "pt",(char *) "sz", NULL
d14a1e28
RD
13392 };
13393
093d3ff1
RD
13394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawRectanglePointSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13396 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13397 {
13398 arg2 = &temp2;
13399 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13400 }
13401 {
13402 arg3 = &temp3;
13403 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13404 }
d14a1e28
RD
13405 {
13406 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13407 (arg1)->DrawRectangle((wxPoint const &)*arg2,(wxSize const &)*arg3);
d14a1e28
RD
13408
13409 wxPyEndAllowThreads(__tstate);
13410 if (PyErr_Occurred()) SWIG_fail;
13411 }
093d3ff1 13412 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
13413 return resultobj;
13414 fail:
13415 return NULL;
13416}
13417
13418
093d3ff1 13419static PyObject *_wrap_DC_DrawRoundedRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13420 PyObject *resultobj = NULL;
d14a1e28
RD
13421 wxDC *arg1 = (wxDC *) 0 ;
13422 int arg2 ;
03e37cd5
RD
13423 int arg3 ;
13424 int arg4 ;
13425 int arg5 ;
093d3ff1 13426 double arg6 ;
d14a1e28
RD
13427 PyObject * obj0 = 0 ;
13428 PyObject * obj1 = 0 ;
994141e6
RD
13429 PyObject * obj2 = 0 ;
13430 PyObject * obj3 = 0 ;
03e37cd5 13431 PyObject * obj4 = 0 ;
093d3ff1 13432 PyObject * obj5 = 0 ;
d14a1e28 13433 char *kwnames[] = {
093d3ff1 13434 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
d14a1e28
RD
13435 };
13436
093d3ff1
RD
13437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13439 if (SWIG_arg_fail(1)) SWIG_fail;
13440 {
32fe5131 13441 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13442 if (SWIG_arg_fail(2)) SWIG_fail;
13443 }
13444 {
32fe5131 13445 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13446 if (SWIG_arg_fail(3)) SWIG_fail;
13447 }
13448 {
32fe5131 13449 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
13450 if (SWIG_arg_fail(4)) SWIG_fail;
13451 }
13452 {
32fe5131 13453 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
13454 if (SWIG_arg_fail(5)) SWIG_fail;
13455 }
13456 {
32fe5131 13457 arg6 = static_cast<double >(SWIG_As_double(obj5));
093d3ff1
RD
13458 if (SWIG_arg_fail(6)) SWIG_fail;
13459 }
d14a1e28
RD
13460 {
13461 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13462 (arg1)->DrawRoundedRectangle(arg2,arg3,arg4,arg5,arg6);
d14a1e28
RD
13463
13464 wxPyEndAllowThreads(__tstate);
13465 if (PyErr_Occurred()) SWIG_fail;
13466 }
13467 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
13468 return resultobj;
13469 fail:
d14a1e28
RD
13470 return NULL;
13471}
13472
13473
093d3ff1 13474static PyObject *_wrap_DC_DrawRoundedRectangleRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13475 PyObject *resultobj = NULL;
d14a1e28 13476 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13477 wxRect *arg2 = 0 ;
13478 double arg3 ;
13479 wxRect temp2 ;
d14a1e28
RD
13480 PyObject * obj0 = 0 ;
13481 PyObject * obj1 = 0 ;
994141e6 13482 PyObject * obj2 = 0 ;
d14a1e28 13483 char *kwnames[] = {
093d3ff1 13484 (char *) "self",(char *) "r",(char *) "radius", NULL
d14a1e28
RD
13485 };
13486
093d3ff1
RD
13487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
13488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13489 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 13490 {
03e37cd5 13491 arg2 = &temp2;
093d3ff1 13492 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
994141e6 13493 }
03e37cd5 13494 {
32fe5131 13495 arg3 = static_cast<double >(SWIG_As_double(obj2));
093d3ff1 13496 if (SWIG_arg_fail(3)) SWIG_fail;
994141e6 13497 }
d14a1e28
RD
13498 {
13499 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13500 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
d14a1e28
RD
13501
13502 wxPyEndAllowThreads(__tstate);
13503 if (PyErr_Occurred()) SWIG_fail;
13504 }
13505 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
13506 return resultobj;
13507 fail:
d14a1e28
RD
13508 return NULL;
13509}
13510
13511
093d3ff1 13512static PyObject *_wrap_DC_DrawRoundedRectanglePointSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13513 PyObject *resultobj = NULL;
d14a1e28 13514 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13515 wxPoint *arg2 = 0 ;
13516 wxSize *arg3 = 0 ;
13517 double arg4 ;
13518 wxPoint temp2 ;
13519 wxSize temp3 ;
d14a1e28
RD
13520 PyObject * obj0 = 0 ;
13521 PyObject * obj1 = 0 ;
093d3ff1
RD
13522 PyObject * obj2 = 0 ;
13523 PyObject * obj3 = 0 ;
d14a1e28 13524 char *kwnames[] = {
093d3ff1 13525 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
d14a1e28
RD
13526 };
13527
093d3ff1
RD
13528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13530 if (SWIG_arg_fail(1)) SWIG_fail;
13531 {
13532 arg2 = &temp2;
13533 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13534 }
13535 {
13536 arg3 = &temp3;
13537 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13538 }
13539 {
32fe5131 13540 arg4 = static_cast<double >(SWIG_As_double(obj3));
093d3ff1 13541 if (SWIG_arg_fail(4)) SWIG_fail;
03e37cd5
RD
13542 }
13543 {
13544 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13545 (arg1)->DrawRoundedRectangle((wxPoint const &)*arg2,(wxSize const &)*arg3,arg4);
03e37cd5
RD
13546
13547 wxPyEndAllowThreads(__tstate);
13548 if (PyErr_Occurred()) SWIG_fail;
13549 }
13550 Py_INCREF(Py_None); resultobj = Py_None;
13551 return resultobj;
13552 fail:
13553 return NULL;
13554}
13555
13556
093d3ff1 13557static PyObject *_wrap_DC_DrawCircle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13558 PyObject *resultobj = NULL;
03e37cd5 13559 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13560 int arg2 ;
13561 int arg3 ;
13562 int arg4 ;
03e37cd5
RD
13563 PyObject * obj0 = 0 ;
13564 PyObject * obj1 = 0 ;
093d3ff1
RD
13565 PyObject * obj2 = 0 ;
13566 PyObject * obj3 = 0 ;
03e37cd5 13567 char *kwnames[] = {
093d3ff1 13568 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
03e37cd5
RD
13569 };
13570
093d3ff1
RD
13571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawCircle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13573 if (SWIG_arg_fail(1)) SWIG_fail;
03e37cd5 13574 {
32fe5131 13575 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13576 if (SWIG_arg_fail(2)) SWIG_fail;
13577 }
13578 {
32fe5131 13579 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13580 if (SWIG_arg_fail(3)) SWIG_fail;
13581 }
13582 {
32fe5131 13583 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1 13584 if (SWIG_arg_fail(4)) SWIG_fail;
03e37cd5
RD
13585 }
13586 {
13587 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13588 (arg1)->DrawCircle(arg2,arg3,arg4);
03e37cd5
RD
13589
13590 wxPyEndAllowThreads(__tstate);
13591 if (PyErr_Occurred()) SWIG_fail;
13592 }
13593 Py_INCREF(Py_None); resultobj = Py_None;
13594 return resultobj;
13595 fail:
13596 return NULL;
13597}
13598
13599
093d3ff1 13600static PyObject *_wrap_DC_DrawCirclePoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13601 PyObject *resultobj = NULL;
03e37cd5 13602 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13603 wxPoint *arg2 = 0 ;
13604 int arg3 ;
13605 wxPoint temp2 ;
03e37cd5
RD
13606 PyObject * obj0 = 0 ;
13607 PyObject * obj1 = 0 ;
13608 PyObject * obj2 = 0 ;
03e37cd5 13609 char *kwnames[] = {
093d3ff1 13610 (char *) "self",(char *) "pt",(char *) "radius", NULL
03e37cd5
RD
13611 };
13612
093d3ff1
RD
13613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawCirclePoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
13614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13615 if (SWIG_arg_fail(1)) SWIG_fail;
03e37cd5 13616 {
093d3ff1
RD
13617 arg2 = &temp2;
13618 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
03e37cd5 13619 }
093d3ff1 13620 {
32fe5131 13621 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1 13622 if (SWIG_arg_fail(3)) SWIG_fail;
03e37cd5
RD
13623 }
13624 {
13625 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13626 (arg1)->DrawCircle((wxPoint const &)*arg2,arg3);
03e37cd5
RD
13627
13628 wxPyEndAllowThreads(__tstate);
13629 if (PyErr_Occurred()) SWIG_fail;
13630 }
13631 Py_INCREF(Py_None); resultobj = Py_None;
03e37cd5
RD
13632 return resultobj;
13633 fail:
03e37cd5
RD
13634 return NULL;
13635}
13636
13637
093d3ff1 13638static PyObject *_wrap_DC_DrawEllipse(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13639 PyObject *resultobj = NULL;
03e37cd5
RD
13640 wxDC *arg1 = (wxDC *) 0 ;
13641 int arg2 ;
093d3ff1
RD
13642 int arg3 ;
13643 int arg4 ;
13644 int arg5 ;
03e37cd5
RD
13645 PyObject * obj0 = 0 ;
13646 PyObject * obj1 = 0 ;
13647 PyObject * obj2 = 0 ;
13648 PyObject * obj3 = 0 ;
13649 PyObject * obj4 = 0 ;
13650 char *kwnames[] = {
093d3ff1 13651 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
03e37cd5
RD
13652 };
13653
093d3ff1
RD
13654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawEllipse",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13656 if (SWIG_arg_fail(1)) SWIG_fail;
03e37cd5 13657 {
32fe5131 13658 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 13659 if (SWIG_arg_fail(2)) SWIG_fail;
03e37cd5 13660 }
093d3ff1 13661 {
32fe5131 13662 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1 13663 if (SWIG_arg_fail(3)) SWIG_fail;
03e37cd5 13664 }
093d3ff1 13665 {
32fe5131 13666 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1 13667 if (SWIG_arg_fail(4)) SWIG_fail;
03e37cd5 13668 }
093d3ff1 13669 {
32fe5131 13670 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1 13671 if (SWIG_arg_fail(5)) SWIG_fail;
03e37cd5
RD
13672 }
13673 {
13674 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13675 (arg1)->DrawEllipse(arg2,arg3,arg4,arg5);
03e37cd5
RD
13676
13677 wxPyEndAllowThreads(__tstate);
13678 if (PyErr_Occurred()) SWIG_fail;
13679 }
13680 Py_INCREF(Py_None); resultobj = Py_None;
03e37cd5
RD
13681 return resultobj;
13682 fail:
03e37cd5
RD
13683 return NULL;
13684}
13685
13686
093d3ff1 13687static PyObject *_wrap_DC_DrawEllipseRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13688 PyObject *resultobj = NULL;
03e37cd5 13689 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13690 wxRect *arg2 = 0 ;
13691 wxRect temp2 ;
03e37cd5
RD
13692 PyObject * obj0 = 0 ;
13693 PyObject * obj1 = 0 ;
03e37cd5 13694 char *kwnames[] = {
093d3ff1 13695 (char *) "self",(char *) "rect", NULL
03e37cd5
RD
13696 };
13697
093d3ff1
RD
13698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawEllipseRect",kwnames,&obj0,&obj1)) goto fail;
13699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13700 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 13701 {
093d3ff1
RD
13702 arg2 = &temp2;
13703 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
994141e6
RD
13704 }
13705 {
13706 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13707 (arg1)->DrawEllipse((wxRect const &)*arg2);
d14a1e28
RD
13708
13709 wxPyEndAllowThreads(__tstate);
13710 if (PyErr_Occurred()) SWIG_fail;
13711 }
13712 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
13713 return resultobj;
13714 fail:
d14a1e28
RD
13715 return NULL;
13716}
13717
13718
093d3ff1 13719static PyObject *_wrap_DC_DrawEllipsePointSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13720 PyObject *resultobj = NULL;
d14a1e28 13721 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13722 wxPoint *arg2 = 0 ;
13723 wxSize *arg3 = 0 ;
13724 wxPoint temp2 ;
13725 wxSize temp3 ;
d14a1e28
RD
13726 PyObject * obj0 = 0 ;
13727 PyObject * obj1 = 0 ;
13728 PyObject * obj2 = 0 ;
d14a1e28 13729 char *kwnames[] = {
093d3ff1 13730 (char *) "self",(char *) "pt",(char *) "sz", NULL
d14a1e28
RD
13731 };
13732
093d3ff1
RD
13733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawEllipsePointSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13735 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 13736 {
093d3ff1
RD
13737 arg2 = &temp2;
13738 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
13739 }
13740 {
093d3ff1
RD
13741 arg3 = &temp3;
13742 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
994141e6 13743 }
d14a1e28
RD
13744 {
13745 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13746 (arg1)->DrawEllipse((wxPoint const &)*arg2,(wxSize const &)*arg3);
d14a1e28
RD
13747
13748 wxPyEndAllowThreads(__tstate);
13749 if (PyErr_Occurred()) SWIG_fail;
13750 }
093d3ff1 13751 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
13752 return resultobj;
13753 fail:
d14a1e28
RD
13754 return NULL;
13755}
13756
13757
093d3ff1 13758static PyObject *_wrap_DC_DrawIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13759 PyObject *resultobj = NULL;
d14a1e28 13760 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13761 wxIcon *arg2 = 0 ;
13762 int arg3 ;
13763 int arg4 ;
d14a1e28
RD
13764 PyObject * obj0 = 0 ;
13765 PyObject * obj1 = 0 ;
093d3ff1
RD
13766 PyObject * obj2 = 0 ;
13767 PyObject * obj3 = 0 ;
d14a1e28 13768 char *kwnames[] = {
093d3ff1 13769 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
d14a1e28
RD
13770 };
13771
093d3ff1
RD
13772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawIcon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13774 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 13775 {
093d3ff1
RD
13776 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
13777 if (SWIG_arg_fail(2)) SWIG_fail;
13778 if (arg2 == NULL) {
13779 SWIG_null_ref("wxIcon");
13780 }
13781 if (SWIG_arg_fail(2)) SWIG_fail;
13782 }
13783 {
32fe5131 13784 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13785 if (SWIG_arg_fail(3)) SWIG_fail;
13786 }
13787 {
32fe5131 13788 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1 13789 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
13790 }
13791 {
13792 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13793 (arg1)->DrawIcon((wxIcon const &)*arg2,arg3,arg4);
d14a1e28
RD
13794
13795 wxPyEndAllowThreads(__tstate);
13796 if (PyErr_Occurred()) SWIG_fail;
13797 }
13798 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
13799 return resultobj;
13800 fail:
d14a1e28
RD
13801 return NULL;
13802}
13803
13804
093d3ff1 13805static PyObject *_wrap_DC_DrawIconPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13806 PyObject *resultobj = NULL;
d14a1e28 13807 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13808 wxIcon *arg2 = 0 ;
13809 wxPoint *arg3 = 0 ;
13810 wxPoint temp3 ;
d14a1e28 13811 PyObject * obj0 = 0 ;
093d3ff1
RD
13812 PyObject * obj1 = 0 ;
13813 PyObject * obj2 = 0 ;
d14a1e28 13814 char *kwnames[] = {
093d3ff1 13815 (char *) "self",(char *) "icon",(char *) "pt", NULL
d14a1e28
RD
13816 };
13817
093d3ff1
RD
13818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawIconPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
13819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13820 if (SWIG_arg_fail(1)) SWIG_fail;
13821 {
13822 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
13823 if (SWIG_arg_fail(2)) SWIG_fail;
13824 if (arg2 == NULL) {
13825 SWIG_null_ref("wxIcon");
13826 }
13827 if (SWIG_arg_fail(2)) SWIG_fail;
13828 }
13829 {
13830 arg3 = &temp3;
13831 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13832 }
d14a1e28
RD
13833 {
13834 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13835 (arg1)->DrawIcon((wxIcon const &)*arg2,(wxPoint const &)*arg3);
d14a1e28
RD
13836
13837 wxPyEndAllowThreads(__tstate);
13838 if (PyErr_Occurred()) SWIG_fail;
13839 }
13840 Py_INCREF(Py_None); resultobj = Py_None;
13841 return resultobj;
13842 fail:
13843 return NULL;
13844}
13845
13846
093d3ff1 13847static PyObject *_wrap_DC_DrawBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13848 PyObject *resultobj = NULL;
d14a1e28 13849 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13850 wxBitmap *arg2 = 0 ;
13851 int arg3 ;
13852 int arg4 ;
13853 bool arg5 = (bool) false ;
d14a1e28
RD
13854 PyObject * obj0 = 0 ;
13855 PyObject * obj1 = 0 ;
093d3ff1
RD
13856 PyObject * obj2 = 0 ;
13857 PyObject * obj3 = 0 ;
13858 PyObject * obj4 = 0 ;
d14a1e28 13859 char *kwnames[] = {
093d3ff1 13860 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
d14a1e28
RD
13861 };
13862
093d3ff1
RD
13863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:DC_DrawBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13865 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 13866 {
093d3ff1
RD
13867 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
13868 if (SWIG_arg_fail(2)) SWIG_fail;
13869 if (arg2 == NULL) {
13870 SWIG_null_ref("wxBitmap");
13871 }
13872 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 13873 }
4f89f6a3 13874 {
32fe5131 13875 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1 13876 if (SWIG_arg_fail(3)) SWIG_fail;
4f89f6a3 13877 }
d14a1e28 13878 {
32fe5131 13879 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1 13880 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28 13881 }
093d3ff1
RD
13882 if (obj4) {
13883 {
32fe5131 13884 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
093d3ff1
RD
13885 if (SWIG_arg_fail(5)) SWIG_fail;
13886 }
d14a1e28 13887 }
d14a1e28
RD
13888 {
13889 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13890 (arg1)->DrawBitmap((wxBitmap const &)*arg2,arg3,arg4,arg5);
d14a1e28
RD
13891
13892 wxPyEndAllowThreads(__tstate);
13893 if (PyErr_Occurred()) SWIG_fail;
13894 }
13895 Py_INCREF(Py_None); resultobj = Py_None;
13896 return resultobj;
13897 fail:
13898 return NULL;
13899}
13900
13901
093d3ff1 13902static PyObject *_wrap_DC_DrawBitmapPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13903 PyObject *resultobj = NULL;
d14a1e28 13904 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13905 wxBitmap *arg2 = 0 ;
13906 wxPoint *arg3 = 0 ;
13907 bool arg4 = (bool) false ;
13908 wxPoint temp3 ;
d14a1e28 13909 PyObject * obj0 = 0 ;
093d3ff1
RD
13910 PyObject * obj1 = 0 ;
13911 PyObject * obj2 = 0 ;
13912 PyObject * obj3 = 0 ;
d14a1e28 13913 char *kwnames[] = {
093d3ff1 13914 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
d14a1e28
RD
13915 };
13916
093d3ff1
RD
13917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13919 if (SWIG_arg_fail(1)) SWIG_fail;
13920 {
13921 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
13922 if (SWIG_arg_fail(2)) SWIG_fail;
13923 if (arg2 == NULL) {
13924 SWIG_null_ref("wxBitmap");
13925 }
13926 if (SWIG_arg_fail(2)) SWIG_fail;
13927 }
13928 {
13929 arg3 = &temp3;
13930 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13931 }
13932 if (obj3) {
13933 {
32fe5131 13934 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
13935 if (SWIG_arg_fail(4)) SWIG_fail;
13936 }
13937 }
d14a1e28
RD
13938 {
13939 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13940 (arg1)->DrawBitmap((wxBitmap const &)*arg2,(wxPoint const &)*arg3,arg4);
d14a1e28
RD
13941
13942 wxPyEndAllowThreads(__tstate);
13943 if (PyErr_Occurred()) SWIG_fail;
13944 }
13945 Py_INCREF(Py_None); resultobj = Py_None;
13946 return resultobj;
13947 fail:
13948 return NULL;
13949}
13950
13951
093d3ff1 13952static PyObject *_wrap_DC_DrawText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13953 PyObject *resultobj = NULL;
d14a1e28 13954 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13955 wxString *arg2 = 0 ;
13956 int arg3 ;
13957 int arg4 ;
13958 bool temp2 = false ;
d14a1e28 13959 PyObject * obj0 = 0 ;
093d3ff1
RD
13960 PyObject * obj1 = 0 ;
13961 PyObject * obj2 = 0 ;
13962 PyObject * obj3 = 0 ;
d14a1e28 13963 char *kwnames[] = {
093d3ff1 13964 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
d14a1e28
RD
13965 };
13966
093d3ff1
RD
13967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13969 if (SWIG_arg_fail(1)) SWIG_fail;
13970 {
13971 arg2 = wxString_in_helper(obj1);
13972 if (arg2 == NULL) SWIG_fail;
13973 temp2 = true;
13974 }
13975 {
32fe5131 13976 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13977 if (SWIG_arg_fail(3)) SWIG_fail;
13978 }
13979 {
32fe5131 13980 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
13981 if (SWIG_arg_fail(4)) SWIG_fail;
13982 }
d14a1e28
RD
13983 {
13984 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13985 (arg1)->DrawText((wxString const &)*arg2,arg3,arg4);
d14a1e28
RD
13986
13987 wxPyEndAllowThreads(__tstate);
13988 if (PyErr_Occurred()) SWIG_fail;
13989 }
13990 Py_INCREF(Py_None); resultobj = Py_None;
093d3ff1
RD
13991 {
13992 if (temp2)
13993 delete arg2;
13994 }
d14a1e28
RD
13995 return resultobj;
13996 fail:
093d3ff1
RD
13997 {
13998 if (temp2)
13999 delete arg2;
14000 }
d14a1e28
RD
14001 return NULL;
14002}
14003
14004
093d3ff1 14005static PyObject *_wrap_DC_DrawTextPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14006 PyObject *resultobj = NULL;
d14a1e28 14007 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
14008 wxString *arg2 = 0 ;
14009 wxPoint *arg3 = 0 ;
14010 bool temp2 = false ;
14011 wxPoint temp3 ;
d14a1e28
RD
14012 PyObject * obj0 = 0 ;
14013 PyObject * obj1 = 0 ;
093d3ff1 14014 PyObject * obj2 = 0 ;
d14a1e28 14015 char *kwnames[] = {
093d3ff1 14016 (char *) "self",(char *) "text",(char *) "pt", NULL
d14a1e28
RD
14017 };
14018
093d3ff1
RD
14019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawTextPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
14020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14021 if (SWIG_arg_fail(1)) SWIG_fail;
14022 {
14023 arg2 = wxString_in_helper(obj1);
14024 if (arg2 == NULL) SWIG_fail;
14025 temp2 = true;
14026 }
14027 {
14028 arg3 = &temp3;
14029 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28
RD
14030 }
14031 {
14032 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14033 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
d14a1e28
RD
14034
14035 wxPyEndAllowThreads(__tstate);
14036 if (PyErr_Occurred()) SWIG_fail;
14037 }
14038 Py_INCREF(Py_None); resultobj = Py_None;
093d3ff1
RD
14039 {
14040 if (temp2)
14041 delete arg2;
14042 }
d14a1e28
RD
14043 return resultobj;
14044 fail:
093d3ff1
RD
14045 {
14046 if (temp2)
14047 delete arg2;
14048 }
d14a1e28
RD
14049 return NULL;
14050}
14051
14052
093d3ff1 14053static PyObject *_wrap_DC_DrawRotatedText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14054 PyObject *resultobj = NULL;
d14a1e28 14055 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
14056 wxString *arg2 = 0 ;
14057 int arg3 ;
14058 int arg4 ;
14059 double arg5 ;
14060 bool temp2 = false ;
14061 PyObject * obj0 = 0 ;
d14a1e28 14062 PyObject * obj1 = 0 ;
093d3ff1
RD
14063 PyObject * obj2 = 0 ;
14064 PyObject * obj3 = 0 ;
14065 PyObject * obj4 = 0 ;
d14a1e28 14066 char *kwnames[] = {
093d3ff1 14067 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
d14a1e28
RD
14068 };
14069
093d3ff1
RD
14070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawRotatedText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14072 if (SWIG_arg_fail(1)) SWIG_fail;
14073 {
14074 arg2 = wxString_in_helper(obj1);
14075 if (arg2 == NULL) SWIG_fail;
14076 temp2 = true;
14077 }
14078 {
32fe5131 14079 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
14080 if (SWIG_arg_fail(3)) SWIG_fail;
14081 }
14082 {
32fe5131 14083 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
14084 if (SWIG_arg_fail(4)) SWIG_fail;
14085 }
14086 {
32fe5131 14087 arg5 = static_cast<double >(SWIG_As_double(obj4));
093d3ff1 14088 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
14089 }
14090 {
14091 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14092 (arg1)->DrawRotatedText((wxString const &)*arg2,arg3,arg4,arg5);
d14a1e28
RD
14093
14094 wxPyEndAllowThreads(__tstate);
14095 if (PyErr_Occurred()) SWIG_fail;
14096 }
14097 Py_INCREF(Py_None); resultobj = Py_None;
093d3ff1
RD
14098 {
14099 if (temp2)
14100 delete arg2;
14101 }
d14a1e28
RD
14102 return resultobj;
14103 fail:
093d3ff1
RD
14104 {
14105 if (temp2)
14106 delete arg2;
14107 }
d14a1e28
RD
14108 return NULL;
14109}
14110
14111
093d3ff1 14112static PyObject *_wrap_DC_DrawRotatedTextPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14113 PyObject *resultobj = NULL;
d14a1e28 14114 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
14115 wxString *arg2 = 0 ;
14116 wxPoint *arg3 = 0 ;
14117 double arg4 ;
14118 bool temp2 = false ;
14119 wxPoint temp3 ;
d14a1e28
RD
14120 PyObject * obj0 = 0 ;
14121 PyObject * obj1 = 0 ;
093d3ff1
RD
14122 PyObject * obj2 = 0 ;
14123 PyObject * obj3 = 0 ;
d14a1e28 14124 char *kwnames[] = {
093d3ff1 14125 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
d14a1e28
RD
14126 };
14127
093d3ff1
RD
14128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14130 if (SWIG_arg_fail(1)) SWIG_fail;
14131 {
14132 arg2 = wxString_in_helper(obj1);
14133 if (arg2 == NULL) SWIG_fail;
14134 temp2 = true;
14135 }
14136 {
14137 arg3 = &temp3;
14138 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14139 }
14140 {
32fe5131 14141 arg4 = static_cast<double >(SWIG_As_double(obj3));
093d3ff1 14142 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
14143 }
14144 {
14145 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14146 (arg1)->DrawRotatedText((wxString const &)*arg2,(wxPoint const &)*arg3,arg4);
d14a1e28
RD
14147
14148 wxPyEndAllowThreads(__tstate);
14149 if (PyErr_Occurred()) SWIG_fail;
14150 }
14151 Py_INCREF(Py_None); resultobj = Py_None;
093d3ff1
RD
14152 {
14153 if (temp2)
14154 delete arg2;
14155 }
d14a1e28
RD
14156 return resultobj;
14157 fail:
093d3ff1
RD
14158 {
14159 if (temp2)
14160 delete arg2;
14161 }
d14a1e28
RD
14162 return NULL;
14163}
14164
14165
093d3ff1 14166static PyObject *_wrap_DC_Blit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14167 PyObject *resultobj = NULL;
d14a1e28 14168 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
14169 int arg2 ;
14170 int arg3 ;
14171 int arg4 ;
14172 int arg5 ;
14173 wxDC *arg6 = (wxDC *) 0 ;
14174 int arg7 ;
14175 int arg8 ;
14176 int arg9 = (int) wxCOPY ;
14177 bool arg10 = (bool) false ;
14178 int arg11 = (int) -1 ;
14179 int arg12 = (int) -1 ;
14180 bool result;
d14a1e28
RD
14181 PyObject * obj0 = 0 ;
14182 PyObject * obj1 = 0 ;
093d3ff1
RD
14183 PyObject * obj2 = 0 ;
14184 PyObject * obj3 = 0 ;
14185 PyObject * obj4 = 0 ;
14186 PyObject * obj5 = 0 ;
14187 PyObject * obj6 = 0 ;
14188 PyObject * obj7 = 0 ;
14189 PyObject * obj8 = 0 ;
14190 PyObject * obj9 = 0 ;
14191 PyObject * obj10 = 0 ;
14192 PyObject * obj11 = 0 ;
d14a1e28 14193 char *kwnames[] = {
093d3ff1 14194 (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
d14a1e28
RD
14195 };
14196
093d3ff1
RD
14197 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;
14198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14199 if (SWIG_arg_fail(1)) SWIG_fail;
14200 {
32fe5131 14201 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14202 if (SWIG_arg_fail(2)) SWIG_fail;
14203 }
14204 {
32fe5131 14205 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
14206 if (SWIG_arg_fail(3)) SWIG_fail;
14207 }
14208 {
32fe5131 14209 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
14210 if (SWIG_arg_fail(4)) SWIG_fail;
14211 }
14212 {
32fe5131 14213 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
14214 if (SWIG_arg_fail(5)) SWIG_fail;
14215 }
14216 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14217 if (SWIG_arg_fail(6)) SWIG_fail;
14218 {
32fe5131 14219 arg7 = static_cast<int >(SWIG_As_int(obj6));
093d3ff1
RD
14220 if (SWIG_arg_fail(7)) SWIG_fail;
14221 }
14222 {
32fe5131 14223 arg8 = static_cast<int >(SWIG_As_int(obj7));
093d3ff1
RD
14224 if (SWIG_arg_fail(8)) SWIG_fail;
14225 }
14226 if (obj8) {
14227 {
32fe5131 14228 arg9 = static_cast<int >(SWIG_As_int(obj8));
093d3ff1
RD
14229 if (SWIG_arg_fail(9)) SWIG_fail;
14230 }
14231 }
14232 if (obj9) {
14233 {
32fe5131 14234 arg10 = static_cast<bool >(SWIG_As_bool(obj9));
093d3ff1
RD
14235 if (SWIG_arg_fail(10)) SWIG_fail;
14236 }
14237 }
14238 if (obj10) {
14239 {
32fe5131 14240 arg11 = static_cast<int >(SWIG_As_int(obj10));
093d3ff1
RD
14241 if (SWIG_arg_fail(11)) SWIG_fail;
14242 }
14243 }
14244 if (obj11) {
14245 {
32fe5131 14246 arg12 = static_cast<int >(SWIG_As_int(obj11));
093d3ff1
RD
14247 if (SWIG_arg_fail(12)) SWIG_fail;
14248 }
d14a1e28
RD
14249 }
14250 {
14251 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14252 result = (bool)(arg1)->Blit(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
d14a1e28
RD
14253
14254 wxPyEndAllowThreads(__tstate);
14255 if (PyErr_Occurred()) SWIG_fail;
14256 }
093d3ff1
RD
14257 {
14258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14259 }
d14a1e28
RD
14260 return resultobj;
14261 fail:
14262 return NULL;
14263}
14264
14265
093d3ff1 14266static PyObject *_wrap_DC_BlitPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14267 PyObject *resultobj = NULL;
d14a1e28 14268 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
14269 wxPoint *arg2 = 0 ;
14270 wxSize *arg3 = 0 ;
14271 wxDC *arg4 = (wxDC *) 0 ;
14272 wxPoint *arg5 = 0 ;
14273 int arg6 = (int) wxCOPY ;
14274 bool arg7 = (bool) false ;
14275 wxPoint const &arg8_defvalue = wxDefaultPosition ;
14276 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
14277 bool result;
14278 wxPoint temp2 ;
14279 wxSize temp3 ;
14280 wxPoint temp5 ;
14281 wxPoint temp8 ;
d14a1e28 14282 PyObject * obj0 = 0 ;
994141e6 14283 PyObject * obj1 = 0 ;
093d3ff1
RD
14284 PyObject * obj2 = 0 ;
14285 PyObject * obj3 = 0 ;
14286 PyObject * obj4 = 0 ;
14287 PyObject * obj5 = 0 ;
14288 PyObject * obj6 = 0 ;
14289 PyObject * obj7 = 0 ;
d14a1e28 14290 char *kwnames[] = {
093d3ff1 14291 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
d14a1e28
RD
14292 };
14293
093d3ff1
RD
14294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14296 if (SWIG_arg_fail(1)) SWIG_fail;
14297 {
14298 arg2 = &temp2;
14299 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14300 }
14301 {
14302 arg3 = &temp3;
14303 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14304 }
14305 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14306 if (SWIG_arg_fail(4)) SWIG_fail;
14307 {
14308 arg5 = &temp5;
14309 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14310 }
14311 if (obj5) {
14312 {
32fe5131 14313 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
14314 if (SWIG_arg_fail(6)) SWIG_fail;
14315 }
14316 }
14317 if (obj6) {
14318 {
32fe5131 14319 arg7 = static_cast<bool >(SWIG_As_bool(obj6));
093d3ff1
RD
14320 if (SWIG_arg_fail(7)) SWIG_fail;
14321 }
14322 }
14323 if (obj7) {
14324 {
14325 arg8 = &temp8;
14326 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
14327 }
14328 }
d14a1e28
RD
14329 {
14330 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14331 result = (bool)(arg1)->Blit((wxPoint const &)*arg2,(wxSize const &)*arg3,arg4,(wxPoint const &)*arg5,arg6,arg7,(wxPoint const &)*arg8);
d14a1e28
RD
14332
14333 wxPyEndAllowThreads(__tstate);
14334 if (PyErr_Occurred()) SWIG_fail;
14335 }
093d3ff1
RD
14336 {
14337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14338 }
d14a1e28
RD
14339 return resultobj;
14340 fail:
14341 return NULL;
14342}
14343
14344
093d3ff1 14345static PyObject *_wrap_DC_SetClippingRegion(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14346 PyObject *resultobj = NULL;
d14a1e28 14347 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
14348 int arg2 ;
14349 int arg3 ;
14350 int arg4 ;
14351 int arg5 ;
d14a1e28
RD
14352 PyObject * obj0 = 0 ;
14353 PyObject * obj1 = 0 ;
093d3ff1
RD
14354 PyObject * obj2 = 0 ;
14355 PyObject * obj3 = 0 ;
14356 PyObject * obj4 = 0 ;
d14a1e28 14357 char *kwnames[] = {
093d3ff1 14358 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
d14a1e28
RD
14359 };
14360
093d3ff1
RD
14361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_SetClippingRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14363 if (SWIG_arg_fail(1)) SWIG_fail;
14364 {
32fe5131 14365 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14366 if (SWIG_arg_fail(2)) SWIG_fail;
14367 }
14368 {
32fe5131 14369 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
14370 if (SWIG_arg_fail(3)) SWIG_fail;
14371 }
14372 {
32fe5131 14373 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
14374 if (SWIG_arg_fail(4)) SWIG_fail;
14375 }
14376 {
32fe5131 14377 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1 14378 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
14379 }
14380 {
14381 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14382 (arg1)->SetClippingRegion(arg2,arg3,arg4,arg5);
d14a1e28
RD
14383
14384 wxPyEndAllowThreads(__tstate);
14385 if (PyErr_Occurred()) SWIG_fail;
14386 }
14387 Py_INCREF(Py_None); resultobj = Py_None;
14388 return resultobj;
14389 fail:
14390 return NULL;
14391}
14392
14393
093d3ff1 14394static PyObject *_wrap_DC_SetClippingRegionPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14395 PyObject *resultobj = NULL;
d14a1e28 14396 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
14397 wxPoint *arg2 = 0 ;
14398 wxSize *arg3 = 0 ;
14399 wxPoint temp2 ;
14400 wxSize temp3 ;
d14a1e28 14401 PyObject * obj0 = 0 ;
093d3ff1
RD
14402 PyObject * obj1 = 0 ;
14403 PyObject * obj2 = 0 ;
d14a1e28 14404 char *kwnames[] = {
093d3ff1 14405 (char *) "self",(char *) "pt",(char *) "sz", NULL
d14a1e28
RD
14406 };
14407
093d3ff1
RD
14408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14410 if (SWIG_arg_fail(1)) SWIG_fail;
14411 {
14412 arg2 = &temp2;
14413 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14414 }
14415 {
14416 arg3 = &temp3;
14417 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14418 }
d14a1e28
RD
14419 {
14420 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14421 (arg1)->SetClippingRegion((wxPoint const &)*arg2,(wxSize const &)*arg3);
d14a1e28
RD
14422
14423 wxPyEndAllowThreads(__tstate);
14424 if (PyErr_Occurred()) SWIG_fail;
14425 }
14426 Py_INCREF(Py_None); resultobj = Py_None;
14427 return resultobj;
14428 fail:
14429 return NULL;
14430}
14431
14432
093d3ff1 14433static PyObject *_wrap_DC_SetClippingRegionAsRegion(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14434 PyObject *resultobj = NULL;
d14a1e28 14435 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 14436 wxRegion *arg2 = 0 ;
d14a1e28 14437 PyObject * obj0 = 0 ;
093d3ff1 14438 PyObject * obj1 = 0 ;
d14a1e28 14439 char *kwnames[] = {
093d3ff1 14440 (char *) "self",(char *) "region", NULL
d14a1e28
RD
14441 };
14442
093d3ff1
RD
14443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames,&obj0,&obj1)) goto fail;
14444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14445 if (SWIG_arg_fail(1)) SWIG_fail;
14446 {
14447 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
14448 if (SWIG_arg_fail(2)) SWIG_fail;
14449 if (arg2 == NULL) {
14450 SWIG_null_ref("wxRegion");
14451 }
14452 if (SWIG_arg_fail(2)) SWIG_fail;
14453 }
d14a1e28
RD
14454 {
14455 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14456 (arg1)->SetClippingRegion((wxRegion const &)*arg2);
d14a1e28
RD
14457
14458 wxPyEndAllowThreads(__tstate);
14459 if (PyErr_Occurred()) SWIG_fail;
14460 }
14461 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
14462 return resultobj;
14463 fail:
14464 return NULL;
14465}
14466
14467
093d3ff1 14468static PyObject *_wrap_DC_SetClippingRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14469 PyObject *resultobj = NULL;
d14a1e28 14470 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
14471 wxRect *arg2 = 0 ;
14472 wxRect temp2 ;
d14a1e28 14473 PyObject * obj0 = 0 ;
093d3ff1 14474 PyObject * obj1 = 0 ;
d14a1e28 14475 char *kwnames[] = {
093d3ff1 14476 (char *) "self",(char *) "rect", NULL
d14a1e28
RD
14477 };
14478
093d3ff1
RD
14479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
14480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14481 if (SWIG_arg_fail(1)) SWIG_fail;
14482 {
14483 arg2 = &temp2;
14484 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
14485 }
d14a1e28
RD
14486 {
14487 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14488 (arg1)->SetClippingRegion((wxRect const &)*arg2);
d14a1e28
RD
14489
14490 wxPyEndAllowThreads(__tstate);
14491 if (PyErr_Occurred()) SWIG_fail;
14492 }
093d3ff1 14493 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
14494 return resultobj;
14495 fail:
14496 return NULL;
14497}
14498
14499
093d3ff1 14500static PyObject *_wrap_DC_DrawLines(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14501 PyObject *resultobj = NULL;
d14a1e28 14502 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
14503 int arg2 ;
14504 wxPoint *arg3 = (wxPoint *) 0 ;
14505 int arg4 = (int) 0 ;
14506 int arg5 = (int) 0 ;
d14a1e28 14507 PyObject * obj0 = 0 ;
093d3ff1
RD
14508 PyObject * obj1 = 0 ;
14509 PyObject * obj2 = 0 ;
14510 PyObject * obj3 = 0 ;
d14a1e28 14511 char *kwnames[] = {
093d3ff1 14512 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
d14a1e28
RD
14513 };
14514
093d3ff1
RD
14515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DC_DrawLines",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14517 if (SWIG_arg_fail(1)) SWIG_fail;
14518 {
14519 arg3 = wxPoint_LIST_helper(obj1, &arg2);
14520 if (arg3 == NULL) SWIG_fail;
14521 }
14522 if (obj2) {
14523 {
32fe5131 14524 arg4 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
14525 if (SWIG_arg_fail(4)) SWIG_fail;
14526 }
14527 }
14528 if (obj3) {
14529 {
32fe5131 14530 arg5 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
14531 if (SWIG_arg_fail(5)) SWIG_fail;
14532 }
14533 }
d14a1e28
RD
14534 {
14535 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14536 (arg1)->DrawLines(arg2,arg3,arg4,arg5);
d14a1e28
RD
14537
14538 wxPyEndAllowThreads(__tstate);
14539 if (PyErr_Occurred()) SWIG_fail;
14540 }
093d3ff1
RD
14541 Py_INCREF(Py_None); resultobj = Py_None;
14542 {
14543 if (arg3) delete [] arg3;
14544 }
d14a1e28
RD
14545 return resultobj;
14546 fail:
093d3ff1
RD
14547 {
14548 if (arg3) delete [] arg3;
14549 }
d14a1e28
RD
14550 return NULL;
14551}
14552
14553
093d3ff1 14554static PyObject *_wrap_DC_DrawPolygon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14555 PyObject *resultobj = NULL;
d14a1e28 14556 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
14557 int arg2 ;
14558 wxPoint *arg3 = (wxPoint *) 0 ;
14559 int arg4 = (int) 0 ;
14560 int arg5 = (int) 0 ;
14561 int arg6 = (int) wxODDEVEN_RULE ;
d14a1e28 14562 PyObject * obj0 = 0 ;
093d3ff1
RD
14563 PyObject * obj1 = 0 ;
14564 PyObject * obj2 = 0 ;
14565 PyObject * obj3 = 0 ;
14566 PyObject * obj4 = 0 ;
d14a1e28 14567 char *kwnames[] = {
093d3ff1 14568 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
d14a1e28
RD
14569 };
14570
093d3ff1
RD
14571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DC_DrawPolygon",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14573 if (SWIG_arg_fail(1)) SWIG_fail;
14574 {
14575 arg3 = wxPoint_LIST_helper(obj1, &arg2);
14576 if (arg3 == NULL) SWIG_fail;
14577 }
14578 if (obj2) {
14579 {
32fe5131 14580 arg4 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
14581 if (SWIG_arg_fail(4)) SWIG_fail;
14582 }
14583 }
14584 if (obj3) {
14585 {
32fe5131 14586 arg5 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
14587 if (SWIG_arg_fail(5)) SWIG_fail;
14588 }
14589 }
14590 if (obj4) {
14591 {
32fe5131 14592 arg6 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
14593 if (SWIG_arg_fail(6)) SWIG_fail;
14594 }
14595 }
d14a1e28
RD
14596 {
14597 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14598 (arg1)->DrawPolygon(arg2,arg3,arg4,arg5,arg6);
d14a1e28
RD
14599
14600 wxPyEndAllowThreads(__tstate);
14601 if (PyErr_Occurred()) SWIG_fail;
14602 }
093d3ff1
RD
14603 Py_INCREF(Py_None); resultobj = Py_None;
14604 {
14605 if (arg3) delete [] arg3;
14606 }
d14a1e28
RD
14607 return resultobj;
14608 fail:
093d3ff1
RD
14609 {
14610 if (arg3) delete [] arg3;
14611 }
d14a1e28
RD
14612 return NULL;
14613}
14614
14615
093d3ff1 14616static PyObject *_wrap_DC_DrawLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14617 PyObject *resultobj = NULL;
d14a1e28
RD
14618 wxDC *arg1 = (wxDC *) 0 ;
14619 wxString *arg2 = 0 ;
093d3ff1
RD
14620 wxRect *arg3 = 0 ;
14621 int arg4 = (int) wxALIGN_LEFT|wxALIGN_TOP ;
14622 int arg5 = (int) -1 ;
ae8162c8 14623 bool temp2 = false ;
093d3ff1 14624 wxRect temp3 ;
d14a1e28
RD
14625 PyObject * obj0 = 0 ;
14626 PyObject * obj1 = 0 ;
093d3ff1
RD
14627 PyObject * obj2 = 0 ;
14628 PyObject * obj3 = 0 ;
14629 PyObject * obj4 = 0 ;
d14a1e28 14630 char *kwnames[] = {
093d3ff1 14631 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
d14a1e28
RD
14632 };
14633
093d3ff1
RD
14634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DC_DrawLabel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14636 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14637 {
14638 arg2 = wxString_in_helper(obj1);
14639 if (arg2 == NULL) SWIG_fail;
ae8162c8 14640 temp2 = true;
d14a1e28 14641 }
093d3ff1
RD
14642 {
14643 arg3 = &temp3;
14644 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
14645 }
14646 if (obj3) {
14647 {
32fe5131 14648 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
14649 if (SWIG_arg_fail(4)) SWIG_fail;
14650 }
14651 }
14652 if (obj4) {
14653 {
32fe5131 14654 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
14655 if (SWIG_arg_fail(5)) SWIG_fail;
14656 }
14657 }
d14a1e28
RD
14658 {
14659 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14660 (arg1)->DrawLabel((wxString const &)*arg2,(wxRect const &)*arg3,arg4,arg5);
d14a1e28
RD
14661
14662 wxPyEndAllowThreads(__tstate);
14663 if (PyErr_Occurred()) SWIG_fail;
14664 }
14665 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
14666 {
14667 if (temp2)
14668 delete arg2;
14669 }
14670 return resultobj;
14671 fail:
14672 {
14673 if (temp2)
14674 delete arg2;
14675 }
14676 return NULL;
14677}
14678
14679
093d3ff1 14680static PyObject *_wrap_DC_DrawImageLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14681 PyObject *resultobj = NULL;
d14a1e28
RD
14682 wxDC *arg1 = (wxDC *) 0 ;
14683 wxString *arg2 = 0 ;
093d3ff1
RD
14684 wxBitmap *arg3 = 0 ;
14685 wxRect *arg4 = 0 ;
14686 int arg5 = (int) wxALIGN_LEFT|wxALIGN_TOP ;
14687 int arg6 = (int) -1 ;
14688 wxRect result;
ae8162c8 14689 bool temp2 = false ;
093d3ff1 14690 wxRect temp4 ;
d14a1e28
RD
14691 PyObject * obj0 = 0 ;
14692 PyObject * obj1 = 0 ;
14693 PyObject * obj2 = 0 ;
093d3ff1
RD
14694 PyObject * obj3 = 0 ;
14695 PyObject * obj4 = 0 ;
14696 PyObject * obj5 = 0 ;
d14a1e28 14697 char *kwnames[] = {
093d3ff1 14698 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
d14a1e28
RD
14699 };
14700
093d3ff1
RD
14701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14703 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14704 {
14705 arg2 = wxString_in_helper(obj1);
14706 if (arg2 == NULL) SWIG_fail;
ae8162c8 14707 temp2 = true;
d14a1e28 14708 }
093d3ff1
RD
14709 {
14710 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
14711 if (SWIG_arg_fail(3)) SWIG_fail;
14712 if (arg3 == NULL) {
14713 SWIG_null_ref("wxBitmap");
14714 }
14715 if (SWIG_arg_fail(3)) SWIG_fail;
14716 }
14717 {
14718 arg4 = &temp4;
14719 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
14720 }
14721 if (obj4) {
14722 {
32fe5131 14723 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
14724 if (SWIG_arg_fail(5)) SWIG_fail;
14725 }
14726 }
14727 if (obj5) {
14728 {
32fe5131 14729 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
14730 if (SWIG_arg_fail(6)) SWIG_fail;
14731 }
d14a1e28
RD
14732 }
14733 {
14734 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14735 result = wxDC_DrawImageLabel(arg1,(wxString const &)*arg2,(wxBitmap const &)*arg3,(wxRect const &)*arg4,arg5,arg6);
d14a1e28
RD
14736
14737 wxPyEndAllowThreads(__tstate);
14738 if (PyErr_Occurred()) SWIG_fail;
14739 }
093d3ff1
RD
14740 {
14741 wxRect * resultptr;
32fe5131 14742 resultptr = new wxRect(static_cast<wxRect & >(result));
093d3ff1
RD
14743 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
14744 }
d14a1e28
RD
14745 {
14746 if (temp2)
14747 delete arg2;
14748 }
14749 return resultobj;
14750 fail:
14751 {
14752 if (temp2)
14753 delete arg2;
14754 }
14755 return NULL;
14756}
14757
14758
093d3ff1 14759static PyObject *_wrap_DC_DrawSpline(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14760 PyObject *resultobj = NULL;
d14a1e28 14761 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
14762 int arg2 ;
14763 wxPoint *arg3 = (wxPoint *) 0 ;
d14a1e28
RD
14764 PyObject * obj0 = 0 ;
14765 PyObject * obj1 = 0 ;
d14a1e28 14766 char *kwnames[] = {
093d3ff1 14767 (char *) "self",(char *) "points", NULL
d14a1e28
RD
14768 };
14769
093d3ff1
RD
14770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawSpline",kwnames,&obj0,&obj1)) goto fail;
14771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14772 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 14773 {
093d3ff1
RD
14774 arg3 = wxPoint_LIST_helper(obj1, &arg2);
14775 if (arg3 == NULL) SWIG_fail;
d14a1e28
RD
14776 }
14777 {
14778 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14779 (arg1)->DrawSpline(arg2,arg3);
d14a1e28
RD
14780
14781 wxPyEndAllowThreads(__tstate);
14782 if (PyErr_Occurred()) SWIG_fail;
14783 }
14784 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28 14785 {
093d3ff1 14786 if (arg3) delete [] arg3;
d14a1e28
RD
14787 }
14788 return resultobj;
14789 fail:
14790 {
093d3ff1 14791 if (arg3) delete [] arg3;
d14a1e28
RD
14792 }
14793 return NULL;
14794}
14795
14796
093d3ff1 14797static PyObject *_wrap_DC_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14798 PyObject *resultobj = NULL;
093d3ff1
RD
14799 wxDC *arg1 = (wxDC *) 0 ;
14800 PyObject * obj0 = 0 ;
14801 char *kwnames[] = {
14802 (char *) "self", NULL
14803 };
14804
14805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_Clear",kwnames,&obj0)) goto fail;
14806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14807 if (SWIG_arg_fail(1)) SWIG_fail;
14808 {
14809 PyThreadState* __tstate = wxPyBeginAllowThreads();
14810 (arg1)->Clear();
14811
14812 wxPyEndAllowThreads(__tstate);
14813 if (PyErr_Occurred()) SWIG_fail;
14814 }
14815 Py_INCREF(Py_None); resultobj = Py_None;
14816 return resultobj;
14817 fail:
14818 return NULL;
14819}
14820
14821
14822static PyObject *_wrap_DC_StartDoc(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14823 PyObject *resultobj = NULL;
db914595
RD
14824 wxDC *arg1 = (wxDC *) 0 ;
14825 wxString *arg2 = 0 ;
093d3ff1 14826 bool result;
ae8162c8 14827 bool temp2 = false ;
db914595
RD
14828 PyObject * obj0 = 0 ;
14829 PyObject * obj1 = 0 ;
14830 char *kwnames[] = {
093d3ff1 14831 (char *) "self",(char *) "message", NULL
db914595
RD
14832 };
14833
093d3ff1
RD
14834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_StartDoc",kwnames,&obj0,&obj1)) goto fail;
14835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14836 if (SWIG_arg_fail(1)) SWIG_fail;
db914595
RD
14837 {
14838 arg2 = wxString_in_helper(obj1);
14839 if (arg2 == NULL) SWIG_fail;
ae8162c8 14840 temp2 = true;
db914595
RD
14841 }
14842 {
14843 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14844 result = (bool)(arg1)->StartDoc((wxString const &)*arg2);
db914595
RD
14845
14846 wxPyEndAllowThreads(__tstate);
14847 if (PyErr_Occurred()) SWIG_fail;
14848 }
14849 {
093d3ff1 14850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
db914595
RD
14851 }
14852 {
14853 if (temp2)
14854 delete arg2;
14855 }
14856 return resultobj;
14857 fail:
14858 {
14859 if (temp2)
14860 delete arg2;
14861 }
14862 return NULL;
14863}
14864
14865
093d3ff1 14866static PyObject *_wrap_DC_EndDoc(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14867 PyObject *resultobj = NULL;
322913ce 14868 wxDC *arg1 = (wxDC *) 0 ;
322913ce
RD
14869 PyObject * obj0 = 0 ;
14870 char *kwnames[] = {
14871 (char *) "self", NULL
14872 };
14873
093d3ff1
RD
14874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_EndDoc",kwnames,&obj0)) goto fail;
14875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14876 if (SWIG_arg_fail(1)) SWIG_fail;
322913ce
RD
14877 {
14878 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14879 (arg1)->EndDoc();
322913ce
RD
14880
14881 wxPyEndAllowThreads(__tstate);
14882 if (PyErr_Occurred()) SWIG_fail;
14883 }
093d3ff1 14884 Py_INCREF(Py_None); resultobj = Py_None;
322913ce
RD
14885 return resultobj;
14886 fail:
14887 return NULL;
14888}
14889
14890
093d3ff1 14891static PyObject *_wrap_DC_StartPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14892 PyObject *resultobj = NULL;
d14a1e28 14893 wxDC *arg1 = (wxDC *) 0 ;
d14a1e28
RD
14894 PyObject * obj0 = 0 ;
14895 char *kwnames[] = {
14896 (char *) "self", NULL
14897 };
14898
093d3ff1
RD
14899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_StartPage",kwnames,&obj0)) goto fail;
14900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14901 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14902 {
14903 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14904 (arg1)->StartPage();
d14a1e28
RD
14905
14906 wxPyEndAllowThreads(__tstate);
14907 if (PyErr_Occurred()) SWIG_fail;
14908 }
14909 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
14910 return resultobj;
14911 fail:
14912 return NULL;
14913}
14914
14915
093d3ff1 14916static PyObject *_wrap_DC_EndPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14917 PyObject *resultobj = NULL;
d14a1e28 14918 wxDC *arg1 = (wxDC *) 0 ;
d14a1e28
RD
14919 PyObject * obj0 = 0 ;
14920 char *kwnames[] = {
14921 (char *) "self", NULL
14922 };
14923
093d3ff1
RD
14924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_EndPage",kwnames,&obj0)) goto fail;
14925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14926 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14927 {
14928 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14929 (arg1)->EndPage();
d14a1e28
RD
14930
14931 wxPyEndAllowThreads(__tstate);
14932 if (PyErr_Occurred()) SWIG_fail;
14933 }
093d3ff1 14934 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
14935 return resultobj;
14936 fail:
14937 return NULL;
14938}
14939
14940
093d3ff1 14941static PyObject *_wrap_DC_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14942 PyObject *resultobj = NULL;
d14a1e28 14943 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 14944 wxFont *arg2 = 0 ;
d14a1e28 14945 PyObject * obj0 = 0 ;
093d3ff1 14946 PyObject * obj1 = 0 ;
d14a1e28 14947 char *kwnames[] = {
093d3ff1 14948 (char *) "self",(char *) "font", NULL
d14a1e28
RD
14949 };
14950
093d3ff1
RD
14951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetFont",kwnames,&obj0,&obj1)) goto fail;
14952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14953 if (SWIG_arg_fail(1)) SWIG_fail;
14954 {
14955 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
14956 if (SWIG_arg_fail(2)) SWIG_fail;
14957 if (arg2 == NULL) {
14958 SWIG_null_ref("wxFont");
14959 }
14960 if (SWIG_arg_fail(2)) SWIG_fail;
14961 }
d14a1e28
RD
14962 {
14963 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14964 (arg1)->SetFont((wxFont const &)*arg2);
d14a1e28
RD
14965
14966 wxPyEndAllowThreads(__tstate);
14967 if (PyErr_Occurred()) SWIG_fail;
14968 }
14969 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
14970 return resultobj;
14971 fail:
14972 return NULL;
14973}
14974
14975
093d3ff1 14976static PyObject *_wrap_DC_SetPen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14977 PyObject *resultobj = NULL;
d14a1e28 14978 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 14979 wxPen *arg2 = 0 ;
d14a1e28 14980 PyObject * obj0 = 0 ;
994141e6 14981 PyObject * obj1 = 0 ;
d14a1e28 14982 char *kwnames[] = {
093d3ff1 14983 (char *) "self",(char *) "pen", NULL
d14a1e28
RD
14984 };
14985
093d3ff1
RD
14986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetPen",kwnames,&obj0,&obj1)) goto fail;
14987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14988 if (SWIG_arg_fail(1)) SWIG_fail;
14989 {
14990 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
14991 if (SWIG_arg_fail(2)) SWIG_fail;
14992 if (arg2 == NULL) {
14993 SWIG_null_ref("wxPen");
14994 }
14995 if (SWIG_arg_fail(2)) SWIG_fail;
14996 }
d14a1e28
RD
14997 {
14998 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14999 (arg1)->SetPen((wxPen const &)*arg2);
d14a1e28
RD
15000
15001 wxPyEndAllowThreads(__tstate);
15002 if (PyErr_Occurred()) SWIG_fail;
15003 }
093d3ff1 15004 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
15005 return resultobj;
15006 fail:
15007 return NULL;
15008}
15009
15010
093d3ff1 15011static PyObject *_wrap_DC_SetBrush(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15012 PyObject *resultobj = NULL;
d14a1e28 15013 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 15014 wxBrush *arg2 = 0 ;
d14a1e28 15015 PyObject * obj0 = 0 ;
994141e6 15016 PyObject * obj1 = 0 ;
d14a1e28 15017 char *kwnames[] = {
093d3ff1 15018 (char *) "self",(char *) "brush", NULL
d14a1e28
RD
15019 };
15020
093d3ff1
RD
15021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetBrush",kwnames,&obj0,&obj1)) goto fail;
15022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15023 if (SWIG_arg_fail(1)) SWIG_fail;
15024 {
15025 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
15026 if (SWIG_arg_fail(2)) SWIG_fail;
15027 if (arg2 == NULL) {
15028 SWIG_null_ref("wxBrush");
15029 }
15030 if (SWIG_arg_fail(2)) SWIG_fail;
15031 }
d14a1e28
RD
15032 {
15033 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15034 (arg1)->SetBrush((wxBrush const &)*arg2);
d14a1e28
RD
15035
15036 wxPyEndAllowThreads(__tstate);
15037 if (PyErr_Occurred()) SWIG_fail;
15038 }
093d3ff1 15039 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
15040 return resultobj;
15041 fail:
15042 return NULL;
15043}
15044
15045
093d3ff1 15046static PyObject *_wrap_DC_SetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15047 PyObject *resultobj = NULL;
d14a1e28 15048 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 15049 wxBrush *arg2 = 0 ;
d14a1e28 15050 PyObject * obj0 = 0 ;
994141e6 15051 PyObject * obj1 = 0 ;
d14a1e28 15052 char *kwnames[] = {
093d3ff1 15053 (char *) "self",(char *) "brush", NULL
d14a1e28
RD
15054 };
15055
093d3ff1
RD
15056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetBackground",kwnames,&obj0,&obj1)) goto fail;
15057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15058 if (SWIG_arg_fail(1)) SWIG_fail;
15059 {
15060 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
15061 if (SWIG_arg_fail(2)) SWIG_fail;
15062 if (arg2 == NULL) {
15063 SWIG_null_ref("wxBrush");
15064 }
15065 if (SWIG_arg_fail(2)) SWIG_fail;
15066 }
d14a1e28
RD
15067 {
15068 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15069 (arg1)->SetBackground((wxBrush const &)*arg2);
d14a1e28
RD
15070
15071 wxPyEndAllowThreads(__tstate);
15072 if (PyErr_Occurred()) SWIG_fail;
15073 }
093d3ff1 15074 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
15075 return resultobj;
15076 fail:
15077 return NULL;
15078}
15079
15080
093d3ff1 15081static PyObject *_wrap_DC_SetBackgroundMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15082 PyObject *resultobj = NULL;
d14a1e28 15083 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce 15084 int arg2 ;
d14a1e28 15085 PyObject * obj0 = 0 ;
994141e6 15086 PyObject * obj1 = 0 ;
d14a1e28 15087 char *kwnames[] = {
093d3ff1 15088 (char *) "self",(char *) "mode", NULL
d14a1e28
RD
15089 };
15090
093d3ff1
RD
15091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
15092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15093 if (SWIG_arg_fail(1)) SWIG_fail;
15094 {
32fe5131 15095 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15096 if (SWIG_arg_fail(2)) SWIG_fail;
15097 }
d14a1e28
RD
15098 {
15099 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15100 (arg1)->SetBackgroundMode(arg2);
d14a1e28
RD
15101
15102 wxPyEndAllowThreads(__tstate);
15103 if (PyErr_Occurred()) SWIG_fail;
15104 }
093d3ff1 15105 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
15106 return resultobj;
15107 fail:
15108 return NULL;
15109}
15110
15111
093d3ff1 15112static PyObject *_wrap_DC_SetPalette(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15113 PyObject *resultobj = NULL;
d14a1e28 15114 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 15115 wxPalette *arg2 = 0 ;
d14a1e28 15116 PyObject * obj0 = 0 ;
994141e6 15117 PyObject * obj1 = 0 ;
d14a1e28 15118 char *kwnames[] = {
093d3ff1 15119 (char *) "self",(char *) "palette", NULL
d14a1e28
RD
15120 };
15121
093d3ff1
RD
15122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetPalette",kwnames,&obj0,&obj1)) goto fail;
15123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15124 if (SWIG_arg_fail(1)) SWIG_fail;
15125 {
15126 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPalette, SWIG_POINTER_EXCEPTION | 0);
15127 if (SWIG_arg_fail(2)) SWIG_fail;
15128 if (arg2 == NULL) {
15129 SWIG_null_ref("wxPalette");
15130 }
15131 if (SWIG_arg_fail(2)) SWIG_fail;
15132 }
d14a1e28
RD
15133 {
15134 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15135 (arg1)->SetPalette((wxPalette const &)*arg2);
d14a1e28
RD
15136
15137 wxPyEndAllowThreads(__tstate);
15138 if (PyErr_Occurred()) SWIG_fail;
15139 }
093d3ff1 15140 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
15141 return resultobj;
15142 fail:
15143 return NULL;
15144}
15145
15146
093d3ff1 15147static PyObject *_wrap_DC_DestroyClippingRegion(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15148 PyObject *resultobj = NULL;
d14a1e28 15149 wxDC *arg1 = (wxDC *) 0 ;
d14a1e28
RD
15150 PyObject * obj0 = 0 ;
15151 char *kwnames[] = {
093d3ff1 15152 (char *) "self", NULL
d14a1e28
RD
15153 };
15154
093d3ff1
RD
15155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_DestroyClippingRegion",kwnames,&obj0)) goto fail;
15156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15157 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15158 {
15159 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15160 (arg1)->DestroyClippingRegion();
d14a1e28
RD
15161
15162 wxPyEndAllowThreads(__tstate);
15163 if (PyErr_Occurred()) SWIG_fail;
15164 }
093d3ff1 15165 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
15166 return resultobj;
15167 fail:
15168 return NULL;
15169}
15170
15171
093d3ff1 15172static PyObject *_wrap_DC_GetClippingBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15173 PyObject *resultobj = NULL;
d14a1e28 15174 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
15175 int *arg2 = (int *) 0 ;
15176 int *arg3 = (int *) 0 ;
15177 int *arg4 = (int *) 0 ;
15178 int *arg5 = (int *) 0 ;
15179 int temp2 ;
15180 int res2 = 0 ;
15181 int temp3 ;
15182 int res3 = 0 ;
15183 int temp4 ;
15184 int res4 = 0 ;
15185 int temp5 ;
15186 int res5 = 0 ;
d14a1e28
RD
15187 PyObject * obj0 = 0 ;
15188 char *kwnames[] = {
093d3ff1 15189 (char *) "self", NULL
d14a1e28
RD
15190 };
15191
093d3ff1
RD
15192 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15193 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15194 arg4 = &temp4; res4 = SWIG_NEWOBJ;
15195 arg5 = &temp5; res5 = SWIG_NEWOBJ;
15196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetClippingBox",kwnames,&obj0)) goto fail;
15197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15198 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15199 {
15200 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15201 ((wxDC const *)arg1)->GetClippingBox(arg2,arg3,arg4,arg5);
d14a1e28
RD
15202
15203 wxPyEndAllowThreads(__tstate);
15204 if (PyErr_Occurred()) SWIG_fail;
15205 }
093d3ff1
RD
15206 Py_INCREF(Py_None); resultobj = Py_None;
15207 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15208 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15209 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15210 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
15211 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
15212 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
15213 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
15214 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
15215 return resultobj;
15216 fail:
15217 return NULL;
15218}
15219
15220
093d3ff1 15221static PyObject *_wrap_DC_GetClippingRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15222 PyObject *resultobj = NULL;
d14a1e28 15223 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 15224 wxRect result;
d14a1e28
RD
15225 PyObject * obj0 = 0 ;
15226 char *kwnames[] = {
093d3ff1 15227 (char *) "self", NULL
d14a1e28
RD
15228 };
15229
093d3ff1
RD
15230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetClippingRect",kwnames,&obj0)) goto fail;
15231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15232 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15233 {
15234 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15235 result = wxDC_GetClippingRect(arg1);
d14a1e28
RD
15236
15237 wxPyEndAllowThreads(__tstate);
15238 if (PyErr_Occurred()) SWIG_fail;
15239 }
093d3ff1
RD
15240 {
15241 wxRect * resultptr;
32fe5131 15242 resultptr = new wxRect(static_cast<wxRect & >(result));
093d3ff1
RD
15243 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
15244 }
d14a1e28
RD
15245 return resultobj;
15246 fail:
15247 return NULL;
15248}
15249
15250
093d3ff1 15251static PyObject *_wrap_DC_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15252 PyObject *resultobj = NULL;
d14a1e28 15253 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 15254 int result;
d14a1e28
RD
15255 PyObject * obj0 = 0 ;
15256 char *kwnames[] = {
15257 (char *) "self", NULL
15258 };
15259
093d3ff1
RD
15260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetCharHeight",kwnames,&obj0)) goto fail;
15261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15262 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15263 {
15264 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15265 result = (int)((wxDC const *)arg1)->GetCharHeight();
d14a1e28
RD
15266
15267 wxPyEndAllowThreads(__tstate);
15268 if (PyErr_Occurred()) SWIG_fail;
15269 }
4f89f6a3 15270 {
32fe5131 15271 resultobj = SWIG_From_int(static_cast<int >(result));
4f89f6a3 15272 }
d14a1e28
RD
15273 return resultobj;
15274 fail:
15275 return NULL;
15276}
15277
15278
093d3ff1 15279static PyObject *_wrap_DC_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15280 PyObject *resultobj = NULL;
d14a1e28 15281 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 15282 int result;
d14a1e28
RD
15283 PyObject * obj0 = 0 ;
15284 char *kwnames[] = {
15285 (char *) "self", NULL
15286 };
15287
093d3ff1
RD
15288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetCharWidth",kwnames,&obj0)) goto fail;
15289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15290 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15291 {
15292 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15293 result = (int)((wxDC const *)arg1)->GetCharWidth();
d14a1e28
RD
15294
15295 wxPyEndAllowThreads(__tstate);
15296 if (PyErr_Occurred()) SWIG_fail;
15297 }
4f89f6a3 15298 {
32fe5131 15299 resultobj = SWIG_From_int(static_cast<int >(result));
4f89f6a3 15300 }
d14a1e28
RD
15301 return resultobj;
15302 fail:
15303 return NULL;
15304}
15305
15306
093d3ff1 15307static PyObject *_wrap_DC_GetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15308 PyObject *resultobj = NULL;
d14a1e28 15309 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
15310 wxString *arg2 = 0 ;
15311 int *arg3 = (int *) 0 ;
15312 int *arg4 = (int *) 0 ;
15313 bool temp2 = false ;
15314 int temp3 ;
15315 int res3 = 0 ;
15316 int temp4 ;
15317 int res4 = 0 ;
d14a1e28 15318 PyObject * obj0 = 0 ;
093d3ff1 15319 PyObject * obj1 = 0 ;
d14a1e28 15320 char *kwnames[] = {
093d3ff1 15321 (char *) "self",(char *) "string", NULL
d14a1e28
RD
15322 };
15323
093d3ff1
RD
15324 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15325 arg4 = &temp4; res4 = SWIG_NEWOBJ;
15326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
15327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15328 if (SWIG_arg_fail(1)) SWIG_fail;
15329 {
15330 arg2 = wxString_in_helper(obj1);
15331 if (arg2 == NULL) SWIG_fail;
15332 temp2 = true;
15333 }
d14a1e28
RD
15334 {
15335 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15336 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
d14a1e28
RD
15337
15338 wxPyEndAllowThreads(__tstate);
15339 if (PyErr_Occurred()) SWIG_fail;
15340 }
093d3ff1
RD
15341 Py_INCREF(Py_None); resultobj = Py_None;
15342 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15343 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
15344 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
15345 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
15346 {
15347 if (temp2)
15348 delete arg2;
15349 }
d14a1e28
RD
15350 return resultobj;
15351 fail:
093d3ff1
RD
15352 {
15353 if (temp2)
15354 delete arg2;
15355 }
d14a1e28
RD
15356 return NULL;
15357}
15358
15359
093d3ff1 15360static PyObject *_wrap_DC_GetFullTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15361 PyObject *resultobj = NULL;
d14a1e28 15362 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
15363 wxString *arg2 = 0 ;
15364 int *arg3 = (int *) 0 ;
15365 int *arg4 = (int *) 0 ;
15366 int *arg5 = (int *) 0 ;
15367 int *arg6 = (int *) 0 ;
15368 wxFont *arg7 = (wxFont *) NULL ;
15369 bool temp2 = false ;
15370 int temp3 ;
15371 int res3 = 0 ;
15372 int temp4 ;
15373 int res4 = 0 ;
15374 int temp5 ;
15375 int res5 = 0 ;
15376 int temp6 ;
15377 int res6 = 0 ;
d14a1e28 15378 PyObject * obj0 = 0 ;
093d3ff1
RD
15379 PyObject * obj1 = 0 ;
15380 PyObject * obj2 = 0 ;
d14a1e28 15381 char *kwnames[] = {
093d3ff1 15382 (char *) "self",(char *) "string",(char *) "font", NULL
d14a1e28
RD
15383 };
15384
093d3ff1
RD
15385 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15386 arg4 = &temp4; res4 = SWIG_NEWOBJ;
15387 arg5 = &temp5; res5 = SWIG_NEWOBJ;
15388 arg6 = &temp6; res6 = SWIG_NEWOBJ;
15389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DC_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
15390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15391 if (SWIG_arg_fail(1)) SWIG_fail;
15392 {
15393 arg2 = wxString_in_helper(obj1);
15394 if (arg2 == NULL) SWIG_fail;
15395 temp2 = true;
15396 }
15397 if (obj2) {
15398 SWIG_Python_ConvertPtr(obj2, (void **)&arg7, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15399 if (SWIG_arg_fail(7)) SWIG_fail;
15400 }
d14a1e28
RD
15401 {
15402 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15403 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7);
d14a1e28
RD
15404
15405 wxPyEndAllowThreads(__tstate);
15406 if (PyErr_Occurred()) SWIG_fail;
15407 }
093d3ff1
RD
15408 Py_INCREF(Py_None); resultobj = Py_None;
15409 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15410 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
15411 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
15412 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
15413 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
15414 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
15415 resultobj = t_output_helper(resultobj, ((res6 == SWIG_NEWOBJ) ?
15416 SWIG_From_int((*arg6)) : SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_int, 0)));
d14a1e28 15417 {
093d3ff1
RD
15418 if (temp2)
15419 delete arg2;
d14a1e28
RD
15420 }
15421 return resultobj;
15422 fail:
093d3ff1
RD
15423 {
15424 if (temp2)
15425 delete arg2;
15426 }
d14a1e28
RD
15427 return NULL;
15428}
15429
15430
093d3ff1 15431static PyObject *_wrap_DC_GetMultiLineTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15432 PyObject *resultobj = NULL;
d14a1e28 15433 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
15434 wxString *arg2 = 0 ;
15435 int *arg3 = (int *) 0 ;
15436 int *arg4 = (int *) 0 ;
15437 int *arg5 = (int *) 0 ;
15438 wxFont *arg6 = (wxFont *) NULL ;
15439 bool temp2 = false ;
15440 int temp3 ;
15441 int res3 = 0 ;
15442 int temp4 ;
15443 int res4 = 0 ;
15444 int temp5 ;
15445 int res5 = 0 ;
d14a1e28 15446 PyObject * obj0 = 0 ;
093d3ff1
RD
15447 PyObject * obj1 = 0 ;
15448 PyObject * obj2 = 0 ;
d14a1e28 15449 char *kwnames[] = {
093d3ff1 15450 (char *) "self",(char *) "text",(char *) "font", NULL
d14a1e28
RD
15451 };
15452
093d3ff1
RD
15453 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15454 arg4 = &temp4; res4 = SWIG_NEWOBJ;
15455 arg5 = &temp5; res5 = SWIG_NEWOBJ;
15456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
15457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15458 if (SWIG_arg_fail(1)) SWIG_fail;
15459 {
15460 arg2 = wxString_in_helper(obj1);
15461 if (arg2 == NULL) SWIG_fail;
15462 temp2 = true;
15463 }
15464 if (obj2) {
15465 SWIG_Python_ConvertPtr(obj2, (void **)&arg6, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15466 if (SWIG_arg_fail(6)) SWIG_fail;
15467 }
d14a1e28
RD
15468 {
15469 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15470 (arg1)->GetMultiLineTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6);
d14a1e28
RD
15471
15472 wxPyEndAllowThreads(__tstate);
15473 if (PyErr_Occurred()) SWIG_fail;
15474 }
093d3ff1
RD
15475 Py_INCREF(Py_None); resultobj = Py_None;
15476 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15477 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
15478 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
15479 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
15480 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
15481 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
4f89f6a3 15482 {
093d3ff1
RD
15483 if (temp2)
15484 delete arg2;
4f89f6a3 15485 }
d14a1e28
RD
15486 return resultobj;
15487 fail:
093d3ff1
RD
15488 {
15489 if (temp2)
15490 delete arg2;
15491 }
d14a1e28
RD
15492 return NULL;
15493}
15494
15495
093d3ff1 15496static PyObject *_wrap_DC_GetPartialTextExtents(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15497 PyObject *resultobj = NULL;
d14a1e28 15498 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
15499 wxString *arg2 = 0 ;
15500 wxArrayInt result;
15501 bool temp2 = false ;
d14a1e28 15502 PyObject * obj0 = 0 ;
093d3ff1 15503 PyObject * obj1 = 0 ;
d14a1e28 15504 char *kwnames[] = {
093d3ff1 15505 (char *) "self",(char *) "text", NULL
d14a1e28
RD
15506 };
15507
093d3ff1
RD
15508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_GetPartialTextExtents",kwnames,&obj0,&obj1)) goto fail;
15509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15510 if (SWIG_arg_fail(1)) SWIG_fail;
15511 {
15512 arg2 = wxString_in_helper(obj1);
15513 if (arg2 == NULL) SWIG_fail;
15514 temp2 = true;
15515 }
d14a1e28
RD
15516 {
15517 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15518 result = wxDC_GetPartialTextExtents(arg1,(wxString const &)*arg2);
d14a1e28
RD
15519
15520 wxPyEndAllowThreads(__tstate);
15521 if (PyErr_Occurred()) SWIG_fail;
15522 }
093d3ff1
RD
15523 {
15524 resultobj = PyList_New(0);
15525 size_t idx;
15526 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
15527 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
15528 PyList_Append(resultobj, val);
15529 Py_DECREF(val);
15530 }
15531 }
15532 {
15533 if (temp2)
15534 delete arg2;
15535 }
d14a1e28
RD
15536 return resultobj;
15537 fail:
093d3ff1
RD
15538 {
15539 if (temp2)
15540 delete arg2;
15541 }
d14a1e28
RD
15542 return NULL;
15543}
15544
15545
093d3ff1 15546static PyObject *_wrap_DC_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15547 PyObject *resultobj = NULL;
d14a1e28 15548 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 15549 wxSize result;
d14a1e28
RD
15550 PyObject * obj0 = 0 ;
15551 char *kwnames[] = {
15552 (char *) "self", NULL
15553 };
15554
093d3ff1
RD
15555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSize",kwnames,&obj0)) goto fail;
15556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15557 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15558 {
15559 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15560 result = (arg1)->GetSize();
d14a1e28
RD
15561
15562 wxPyEndAllowThreads(__tstate);
15563 if (PyErr_Occurred()) SWIG_fail;
15564 }
4276dc52 15565 {
093d3ff1 15566 wxSize * resultptr;
32fe5131 15567 resultptr = new wxSize(static_cast<wxSize & >(result));
093d3ff1 15568 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4276dc52 15569 }
d14a1e28
RD
15570 return resultobj;
15571 fail:
15572 return NULL;
15573}
15574
15575
093d3ff1 15576static PyObject *_wrap_DC_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15577 PyObject *resultobj = NULL;
d14a1e28 15578 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
15579 int *arg2 = (int *) 0 ;
15580 int *arg3 = (int *) 0 ;
15581 int temp2 ;
15582 int res2 = 0 ;
15583 int temp3 ;
15584 int res3 = 0 ;
d14a1e28
RD
15585 PyObject * obj0 = 0 ;
15586 char *kwnames[] = {
15587 (char *) "self", NULL
15588 };
15589
093d3ff1
RD
15590 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15591 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSizeTuple",kwnames,&obj0)) goto fail;
15593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15594 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15595 {
15596 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15597 (arg1)->GetSize(arg2,arg3);
d14a1e28
RD
15598
15599 wxPyEndAllowThreads(__tstate);
15600 if (PyErr_Occurred()) SWIG_fail;
15601 }
093d3ff1
RD
15602 Py_INCREF(Py_None); resultobj = Py_None;
15603 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15604 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15605 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15606 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
15607 return resultobj;
15608 fail:
15609 return NULL;
15610}
15611
15612
093d3ff1 15613static PyObject *_wrap_DC_GetSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15614 PyObject *resultobj = NULL;
d14a1e28 15615 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 15616 wxSize result;
d14a1e28
RD
15617 PyObject * obj0 = 0 ;
15618 char *kwnames[] = {
15619 (char *) "self", NULL
15620 };
15621
093d3ff1
RD
15622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSizeMM",kwnames,&obj0)) goto fail;
15623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15624 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15625 {
15626 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15627 result = ((wxDC const *)arg1)->GetSizeMM();
d14a1e28
RD
15628
15629 wxPyEndAllowThreads(__tstate);
15630 if (PyErr_Occurred()) SWIG_fail;
15631 }
4276dc52 15632 {
093d3ff1 15633 wxSize * resultptr;
32fe5131 15634 resultptr = new wxSize(static_cast<wxSize & >(result));
093d3ff1 15635 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4276dc52 15636 }
d14a1e28
RD
15637 return resultobj;
15638 fail:
15639 return NULL;
15640}
15641
15642
093d3ff1 15643static PyObject *_wrap_DC_GetSizeMMTuple(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15644 PyObject *resultobj = NULL;
d14a1e28 15645 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
15646 int *arg2 = (int *) 0 ;
15647 int *arg3 = (int *) 0 ;
15648 int temp2 ;
15649 int res2 = 0 ;
15650 int temp3 ;
15651 int res3 = 0 ;
d14a1e28
RD
15652 PyObject * obj0 = 0 ;
15653 char *kwnames[] = {
15654 (char *) "self", NULL
15655 };
15656
093d3ff1
RD
15657 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15658 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSizeMMTuple",kwnames,&obj0)) goto fail;
15660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15661 if (SWIG_arg_fail(1)) SWIG_fail;
15662 {
15663 PyThreadState* __tstate = wxPyBeginAllowThreads();
15664 ((wxDC const *)arg1)->GetSizeMM(arg2,arg3);
d14a1e28
RD
15665
15666 wxPyEndAllowThreads(__tstate);
15667 if (PyErr_Occurred()) SWIG_fail;
15668 }
093d3ff1
RD
15669 Py_INCREF(Py_None); resultobj = Py_None;
15670 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15671 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15672 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15673 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
15674 return resultobj;
15675 fail:
15676 return NULL;
15677}
15678
15679
093d3ff1 15680static PyObject *_wrap_DC_DeviceToLogicalX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15681 PyObject *resultobj = NULL;
d14a1e28 15682 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
15683 int arg2 ;
15684 int result;
d14a1e28 15685 PyObject * obj0 = 0 ;
093d3ff1 15686 PyObject * obj1 = 0 ;
d14a1e28 15687 char *kwnames[] = {
093d3ff1 15688 (char *) "self",(char *) "x", NULL
d14a1e28
RD
15689 };
15690
093d3ff1
RD
15691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalX",kwnames,&obj0,&obj1)) goto fail;
15692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15693 if (SWIG_arg_fail(1)) SWIG_fail;
15694 {
32fe5131 15695 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15696 if (SWIG_arg_fail(2)) SWIG_fail;
15697 }
d14a1e28
RD
15698 {
15699 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15700 result = (int)((wxDC const *)arg1)->DeviceToLogicalX(arg2);
d14a1e28
RD
15701
15702 wxPyEndAllowThreads(__tstate);
15703 if (PyErr_Occurred()) SWIG_fail;
15704 }
093d3ff1 15705 {
32fe5131 15706 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15707 }
d14a1e28
RD
15708 return resultobj;
15709 fail:
15710 return NULL;
15711}
15712
15713
093d3ff1 15714static PyObject *_wrap_DC_DeviceToLogicalY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15715 PyObject *resultobj = NULL;
d14a1e28 15716 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
15717 int arg2 ;
15718 int result;
d14a1e28 15719 PyObject * obj0 = 0 ;
093d3ff1 15720 PyObject * obj1 = 0 ;
d14a1e28 15721 char *kwnames[] = {
093d3ff1 15722 (char *) "self",(char *) "y", NULL
d14a1e28
RD
15723 };
15724
093d3ff1
RD
15725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalY",kwnames,&obj0,&obj1)) goto fail;
15726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15727 if (SWIG_arg_fail(1)) SWIG_fail;
15728 {
32fe5131 15729 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15730 if (SWIG_arg_fail(2)) SWIG_fail;
15731 }
d14a1e28
RD
15732 {
15733 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15734 result = (int)((wxDC const *)arg1)->DeviceToLogicalY(arg2);
d14a1e28
RD
15735
15736 wxPyEndAllowThreads(__tstate);
15737 if (PyErr_Occurred()) SWIG_fail;
15738 }
093d3ff1 15739 {
32fe5131 15740 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15741 }
d14a1e28
RD
15742 return resultobj;
15743 fail:
15744 return NULL;
15745}
15746
15747
093d3ff1 15748static PyObject *_wrap_DC_DeviceToLogicalXRel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15749 PyObject *resultobj = NULL;
d14a1e28 15750 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
15751 int arg2 ;
15752 int result;
d14a1e28
RD
15753 PyObject * obj0 = 0 ;
15754 PyObject * obj1 = 0 ;
15755 char *kwnames[] = {
093d3ff1 15756 (char *) "self",(char *) "x", NULL
d14a1e28
RD
15757 };
15758
093d3ff1
RD
15759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalXRel",kwnames,&obj0,&obj1)) goto fail;
15760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15761 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 15762 {
32fe5131 15763 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 15764 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15765 }
15766 {
15767 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15768 result = (int)((wxDC const *)arg1)->DeviceToLogicalXRel(arg2);
d14a1e28
RD
15769
15770 wxPyEndAllowThreads(__tstate);
15771 if (PyErr_Occurred()) SWIG_fail;
15772 }
093d3ff1 15773 {
32fe5131 15774 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15775 }
d14a1e28
RD
15776 return resultobj;
15777 fail:
15778 return NULL;
15779}
15780
15781
093d3ff1 15782static PyObject *_wrap_DC_DeviceToLogicalYRel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15783 PyObject *resultobj = NULL;
d14a1e28 15784 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
15785 int arg2 ;
15786 int result;
d14a1e28
RD
15787 PyObject * obj0 = 0 ;
15788 PyObject * obj1 = 0 ;
15789 char *kwnames[] = {
093d3ff1 15790 (char *) "self",(char *) "y", NULL
d14a1e28
RD
15791 };
15792
093d3ff1
RD
15793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalYRel",kwnames,&obj0,&obj1)) goto fail;
15794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15795 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 15796 {
32fe5131 15797 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 15798 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15799 }
15800 {
15801 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15802 result = (int)((wxDC const *)arg1)->DeviceToLogicalYRel(arg2);
d14a1e28
RD
15803
15804 wxPyEndAllowThreads(__tstate);
15805 if (PyErr_Occurred()) SWIG_fail;
15806 }
093d3ff1 15807 {
32fe5131 15808 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15809 }
d14a1e28
RD
15810 return resultobj;
15811 fail:
15812 return NULL;
15813}
15814
15815
093d3ff1 15816static PyObject *_wrap_DC_LogicalToDeviceX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15817 PyObject *resultobj = NULL;
d14a1e28 15818 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 15819 int arg2 ;
d14a1e28
RD
15820 int result;
15821 PyObject * obj0 = 0 ;
093d3ff1 15822 PyObject * obj1 = 0 ;
d14a1e28 15823 char *kwnames[] = {
093d3ff1 15824 (char *) "self",(char *) "x", NULL
d14a1e28
RD
15825 };
15826
093d3ff1
RD
15827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceX",kwnames,&obj0,&obj1)) goto fail;
15828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15829 if (SWIG_arg_fail(1)) SWIG_fail;
15830 {
32fe5131 15831 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15832 if (SWIG_arg_fail(2)) SWIG_fail;
15833 }
d14a1e28
RD
15834 {
15835 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15836 result = (int)((wxDC const *)arg1)->LogicalToDeviceX(arg2);
d14a1e28
RD
15837
15838 wxPyEndAllowThreads(__tstate);
15839 if (PyErr_Occurred()) SWIG_fail;
15840 }
093d3ff1 15841 {
32fe5131 15842 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15843 }
d14a1e28
RD
15844 return resultobj;
15845 fail:
15846 return NULL;
15847}
15848
15849
093d3ff1 15850static PyObject *_wrap_DC_LogicalToDeviceY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15851 PyObject *resultobj = NULL;
d14a1e28
RD
15852 wxDC *arg1 = (wxDC *) 0 ;
15853 int arg2 ;
093d3ff1 15854 int result;
d14a1e28 15855 PyObject * obj0 = 0 ;
994141e6 15856 PyObject * obj1 = 0 ;
d14a1e28 15857 char *kwnames[] = {
093d3ff1 15858 (char *) "self",(char *) "y", NULL
d14a1e28
RD
15859 };
15860
093d3ff1
RD
15861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceY",kwnames,&obj0,&obj1)) goto fail;
15862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15863 if (SWIG_arg_fail(1)) SWIG_fail;
15864 {
32fe5131 15865 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15866 if (SWIG_arg_fail(2)) SWIG_fail;
15867 }
d14a1e28
RD
15868 {
15869 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15870 result = (int)((wxDC const *)arg1)->LogicalToDeviceY(arg2);
d14a1e28
RD
15871
15872 wxPyEndAllowThreads(__tstate);
15873 if (PyErr_Occurred()) SWIG_fail;
15874 }
093d3ff1 15875 {
32fe5131 15876 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15877 }
d14a1e28
RD
15878 return resultobj;
15879 fail:
15880 return NULL;
15881}
15882
15883
093d3ff1 15884static PyObject *_wrap_DC_LogicalToDeviceXRel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15885 PyObject *resultobj = NULL;
d14a1e28 15886 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
15887 int arg2 ;
15888 int result;
d14a1e28 15889 PyObject * obj0 = 0 ;
093d3ff1 15890 PyObject * obj1 = 0 ;
d14a1e28 15891 char *kwnames[] = {
093d3ff1 15892 (char *) "self",(char *) "x", NULL
d14a1e28
RD
15893 };
15894
093d3ff1
RD
15895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceXRel",kwnames,&obj0,&obj1)) goto fail;
15896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15897 if (SWIG_arg_fail(1)) SWIG_fail;
15898 {
32fe5131 15899 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15900 if (SWIG_arg_fail(2)) SWIG_fail;
15901 }
d14a1e28
RD
15902 {
15903 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15904 result = (int)((wxDC const *)arg1)->LogicalToDeviceXRel(arg2);
d14a1e28
RD
15905
15906 wxPyEndAllowThreads(__tstate);
15907 if (PyErr_Occurred()) SWIG_fail;
15908 }
093d3ff1 15909 {
32fe5131 15910 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15911 }
d14a1e28
RD
15912 return resultobj;
15913 fail:
15914 return NULL;
15915}
15916
15917
093d3ff1 15918static PyObject *_wrap_DC_LogicalToDeviceYRel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15919 PyObject *resultobj = NULL;
d14a1e28 15920 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
15921 int arg2 ;
15922 int result;
d14a1e28 15923 PyObject * obj0 = 0 ;
994141e6 15924 PyObject * obj1 = 0 ;
d14a1e28 15925 char *kwnames[] = {
093d3ff1 15926 (char *) "self",(char *) "y", NULL
d14a1e28
RD
15927 };
15928
093d3ff1
RD
15929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceYRel",kwnames,&obj0,&obj1)) goto fail;
15930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15931 if (SWIG_arg_fail(1)) SWIG_fail;
15932 {
32fe5131 15933 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15934 if (SWIG_arg_fail(2)) SWIG_fail;
15935 }
d14a1e28
RD
15936 {
15937 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15938 result = (int)((wxDC const *)arg1)->LogicalToDeviceYRel(arg2);
d14a1e28
RD
15939
15940 wxPyEndAllowThreads(__tstate);
15941 if (PyErr_Occurred()) SWIG_fail;
15942 }
093d3ff1 15943 {
32fe5131 15944 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15945 }
d14a1e28
RD
15946 return resultobj;
15947 fail:
15948 return NULL;
15949}
15950
15951
093d3ff1 15952static PyObject *_wrap_DC_CanDrawBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15953 PyObject *resultobj = NULL;
d14a1e28 15954 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 15955 bool result;
d14a1e28
RD
15956 PyObject * obj0 = 0 ;
15957 char *kwnames[] = {
15958 (char *) "self", NULL
15959 };
15960
093d3ff1
RD
15961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_CanDrawBitmap",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;
d14a1e28
RD
15964 {
15965 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15966 result = (bool)((wxDC const *)arg1)->CanDrawBitmap();
d14a1e28
RD
15967
15968 wxPyEndAllowThreads(__tstate);
15969 if (PyErr_Occurred()) SWIG_fail;
15970 }
093d3ff1
RD
15971 {
15972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15973 }
d14a1e28
RD
15974 return resultobj;
15975 fail:
15976 return NULL;
15977}
15978
15979
093d3ff1 15980static PyObject *_wrap_DC_CanGetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15981 PyObject *resultobj = NULL;
d14a1e28 15982 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 15983 bool result;
d14a1e28
RD
15984 PyObject * obj0 = 0 ;
15985 char *kwnames[] = {
093d3ff1 15986 (char *) "self", NULL
d14a1e28
RD
15987 };
15988
093d3ff1
RD
15989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_CanGetTextExtent",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;
d14a1e28
RD
15992 {
15993 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15994 result = (bool)((wxDC const *)arg1)->CanGetTextExtent();
d14a1e28
RD
15995
15996 wxPyEndAllowThreads(__tstate);
15997 if (PyErr_Occurred()) SWIG_fail;
15998 }
093d3ff1
RD
15999 {
16000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16001 }
d14a1e28
RD
16002 return resultobj;
16003 fail:
16004 return NULL;
16005}
16006
16007
093d3ff1 16008static PyObject *_wrap_DC_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16009 PyObject *resultobj = NULL;
d14a1e28 16010 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16011 int result;
d14a1e28
RD
16012 PyObject * obj0 = 0 ;
16013 char *kwnames[] = {
16014 (char *) "self", NULL
16015 };
16016
093d3ff1
RD
16017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetDepth",kwnames,&obj0)) goto fail;
16018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16019 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16020 {
16021 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16022 result = (int)((wxDC const *)arg1)->GetDepth();
d14a1e28
RD
16023
16024 wxPyEndAllowThreads(__tstate);
16025 if (PyErr_Occurred()) SWIG_fail;
16026 }
d14a1e28 16027 {
32fe5131 16028 resultobj = SWIG_From_int(static_cast<int >(result));
d14a1e28
RD
16029 }
16030 return resultobj;
16031 fail:
16032 return NULL;
16033}
16034
16035
093d3ff1 16036static PyObject *_wrap_DC_GetPPI(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16037 PyObject *resultobj = NULL;
d14a1e28 16038 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16039 wxSize result;
d14a1e28
RD
16040 PyObject * obj0 = 0 ;
16041 char *kwnames[] = {
16042 (char *) "self", NULL
16043 };
16044
093d3ff1
RD
16045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetPPI",kwnames,&obj0)) goto fail;
16046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16047 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16048 {
16049 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16050 result = ((wxDC const *)arg1)->GetPPI();
d14a1e28
RD
16051
16052 wxPyEndAllowThreads(__tstate);
16053 if (PyErr_Occurred()) SWIG_fail;
16054 }
093d3ff1
RD
16055 {
16056 wxSize * resultptr;
32fe5131 16057 resultptr = new wxSize(static_cast<wxSize & >(result));
093d3ff1
RD
16058 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16059 }
d14a1e28
RD
16060 return resultobj;
16061 fail:
16062 return NULL;
16063}
16064
16065
093d3ff1 16066static PyObject *_wrap_DC_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16067 PyObject *resultobj = NULL;
d14a1e28 16068 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16069 bool result;
d14a1e28
RD
16070 PyObject * obj0 = 0 ;
16071 char *kwnames[] = {
093d3ff1 16072 (char *) "self", NULL
d14a1e28
RD
16073 };
16074
093d3ff1
RD
16075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_Ok",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;
d14a1e28
RD
16078 {
16079 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16080 result = (bool)((wxDC const *)arg1)->Ok();
d14a1e28
RD
16081
16082 wxPyEndAllowThreads(__tstate);
16083 if (PyErr_Occurred()) SWIG_fail;
16084 }
093d3ff1
RD
16085 {
16086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16087 }
16088 return resultobj;
d14a1e28
RD
16089 fail:
16090 return NULL;
16091}
16092
16093
093d3ff1 16094static PyObject *_wrap_DC_GetBackgroundMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16095 PyObject *resultobj = NULL;
03e37cd5 16096 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16097 int result;
03e37cd5 16098 PyObject * obj0 = 0 ;
03e37cd5 16099 char *kwnames[] = {
093d3ff1 16100 (char *) "self", NULL
03e37cd5
RD
16101 };
16102
093d3ff1
RD
16103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBackgroundMode",kwnames,&obj0)) goto fail;
16104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16105 if (SWIG_arg_fail(1)) SWIG_fail;
03e37cd5
RD
16106 {
16107 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16108 result = (int)((wxDC const *)arg1)->GetBackgroundMode();
03e37cd5
RD
16109
16110 wxPyEndAllowThreads(__tstate);
16111 if (PyErr_Occurred()) SWIG_fail;
16112 }
093d3ff1 16113 {
32fe5131 16114 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 16115 }
03e37cd5
RD
16116 return resultobj;
16117 fail:
16118 return NULL;
16119}
16120
16121
093d3ff1 16122static PyObject *_wrap_DC_GetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16123 PyObject *resultobj = NULL;
d14a1e28 16124 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16125 wxBrush *result;
d14a1e28
RD
16126 PyObject * obj0 = 0 ;
16127 char *kwnames[] = {
16128 (char *) "self", NULL
16129 };
16130
093d3ff1
RD
16131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBackground",kwnames,&obj0)) goto fail;
16132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16133 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16134 {
16135 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1
RD
16136 {
16137 wxBrush const &_result_ref = ((wxDC const *)arg1)->GetBackground();
16138 result = (wxBrush *) &_result_ref;
16139 }
d14a1e28
RD
16140
16141 wxPyEndAllowThreads(__tstate);
16142 if (PyErr_Occurred()) SWIG_fail;
16143 }
d14a1e28 16144 {
093d3ff1
RD
16145 wxBrush* resultptr = new wxBrush(*result);
16146 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBrush, 1);
d14a1e28
RD
16147 }
16148 return resultobj;
16149 fail:
16150 return NULL;
16151}
16152
16153
093d3ff1 16154static PyObject *_wrap_DC_GetBrush(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16155 PyObject *resultobj = NULL;
d14a1e28 16156 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16157 wxBrush *result;
d14a1e28
RD
16158 PyObject * obj0 = 0 ;
16159 char *kwnames[] = {
16160 (char *) "self", NULL
16161 };
16162
093d3ff1
RD
16163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBrush",kwnames,&obj0)) goto fail;
16164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16165 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16166 {
16167 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1
RD
16168 {
16169 wxBrush const &_result_ref = ((wxDC const *)arg1)->GetBrush();
16170 result = (wxBrush *) &_result_ref;
16171 }
d14a1e28
RD
16172
16173 wxPyEndAllowThreads(__tstate);
16174 if (PyErr_Occurred()) SWIG_fail;
16175 }
093d3ff1
RD
16176 {
16177 wxBrush* resultptr = new wxBrush(*result);
16178 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBrush, 1);
16179 }
d14a1e28
RD
16180 return resultobj;
16181 fail:
16182 return NULL;
16183}
16184
16185
093d3ff1 16186static PyObject *_wrap_DC_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16187 PyObject *resultobj = NULL;
d14a1e28 16188 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16189 wxFont *result;
d14a1e28
RD
16190 PyObject * obj0 = 0 ;
16191 char *kwnames[] = {
093d3ff1 16192 (char *) "self", NULL
d14a1e28
RD
16193 };
16194
093d3ff1
RD
16195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetFont",kwnames,&obj0)) goto fail;
16196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16197 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16198 {
16199 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1
RD
16200 {
16201 wxFont const &_result_ref = ((wxDC const *)arg1)->GetFont();
16202 result = (wxFont *) &_result_ref;
16203 }
d14a1e28
RD
16204
16205 wxPyEndAllowThreads(__tstate);
16206 if (PyErr_Occurred()) SWIG_fail;
16207 }
093d3ff1
RD
16208 {
16209 wxFont* resultptr = new wxFont(*result);
16210 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
16211 }
d14a1e28
RD
16212 return resultobj;
16213 fail:
16214 return NULL;
16215}
16216
16217
093d3ff1 16218static PyObject *_wrap_DC_GetPen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16219 PyObject *resultobj = NULL;
03e37cd5 16220 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16221 wxPen *result;
03e37cd5 16222 PyObject * obj0 = 0 ;
03e37cd5 16223 char *kwnames[] = {
093d3ff1 16224 (char *) "self", NULL
03e37cd5
RD
16225 };
16226
093d3ff1
RD
16227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetPen",kwnames,&obj0)) goto fail;
16228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16229 if (SWIG_arg_fail(1)) SWIG_fail;
03e37cd5
RD
16230 {
16231 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1
RD
16232 {
16233 wxPen const &_result_ref = ((wxDC const *)arg1)->GetPen();
16234 result = (wxPen *) &_result_ref;
16235 }
03e37cd5
RD
16236
16237 wxPyEndAllowThreads(__tstate);
16238 if (PyErr_Occurred()) SWIG_fail;
16239 }
093d3ff1
RD
16240 {
16241 wxPen* resultptr = new wxPen(*result);
16242 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxPen, 1);
16243 }
03e37cd5
RD
16244 return resultobj;
16245 fail:
16246 return NULL;
16247}
16248
16249
093d3ff1 16250static PyObject *_wrap_DC_GetTextBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16251 PyObject *resultobj = NULL;
d14a1e28 16252 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16253 wxColour *result;
d14a1e28 16254 PyObject * obj0 = 0 ;
d14a1e28 16255 char *kwnames[] = {
093d3ff1 16256 (char *) "self", NULL
d14a1e28
RD
16257 };
16258
093d3ff1
RD
16259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetTextBackground",kwnames,&obj0)) goto fail;
16260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16261 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16262 {
16263 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1
RD
16264 {
16265 wxColour const &_result_ref = ((wxDC const *)arg1)->GetTextBackground();
16266 result = (wxColour *) &_result_ref;
16267 }
d14a1e28
RD
16268
16269 wxPyEndAllowThreads(__tstate);
16270 if (PyErr_Occurred()) SWIG_fail;
16271 }
093d3ff1 16272 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16273 return resultobj;
16274 fail:
16275 return NULL;
16276}
16277
16278
093d3ff1 16279static PyObject *_wrap_DC_GetTextForeground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16280 PyObject *resultobj = NULL;
d14a1e28 16281 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16282 wxColour *result;
d14a1e28
RD
16283 PyObject * obj0 = 0 ;
16284 char *kwnames[] = {
16285 (char *) "self", NULL
16286 };
16287
093d3ff1
RD
16288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetTextForeground",kwnames,&obj0)) goto fail;
16289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16290 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16291 {
16292 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1
RD
16293 {
16294 wxColour const &_result_ref = ((wxDC const *)arg1)->GetTextForeground();
16295 result = (wxColour *) &_result_ref;
16296 }
d14a1e28
RD
16297
16298 wxPyEndAllowThreads(__tstate);
16299 if (PyErr_Occurred()) SWIG_fail;
16300 }
093d3ff1 16301 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16302 return resultobj;
16303 fail:
16304 return NULL;
16305}
16306
16307
093d3ff1 16308static PyObject *_wrap_DC_SetTextForeground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16309 PyObject *resultobj = NULL;
d14a1e28 16310 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
16311 wxColour *arg2 = 0 ;
16312 wxColour temp2 ;
d14a1e28 16313 PyObject * obj0 = 0 ;
994141e6 16314 PyObject * obj1 = 0 ;
d14a1e28 16315 char *kwnames[] = {
093d3ff1 16316 (char *) "self",(char *) "colour", NULL
d14a1e28
RD
16317 };
16318
093d3ff1
RD
16319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetTextForeground",kwnames,&obj0,&obj1)) goto fail;
16320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16321 if (SWIG_arg_fail(1)) SWIG_fail;
16322 {
16323 arg2 = &temp2;
16324 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16325 }
d14a1e28
RD
16326 {
16327 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16328 (arg1)->SetTextForeground((wxColour const &)*arg2);
d14a1e28
RD
16329
16330 wxPyEndAllowThreads(__tstate);
16331 if (PyErr_Occurred()) SWIG_fail;
16332 }
16333 Py_INCREF(Py_None); resultobj = Py_None;
16334 return resultobj;
16335 fail:
16336 return NULL;
16337}
16338
16339
093d3ff1 16340static PyObject *_wrap_DC_SetTextBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16341 PyObject *resultobj = NULL;
d14a1e28 16342 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
16343 wxColour *arg2 = 0 ;
16344 wxColour temp2 ;
d14a1e28 16345 PyObject * obj0 = 0 ;
093d3ff1 16346 PyObject * obj1 = 0 ;
d14a1e28 16347 char *kwnames[] = {
093d3ff1 16348 (char *) "self",(char *) "colour", NULL
d14a1e28
RD
16349 };
16350
093d3ff1
RD
16351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetTextBackground",kwnames,&obj0,&obj1)) goto fail;
16352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16353 if (SWIG_arg_fail(1)) SWIG_fail;
16354 {
16355 arg2 = &temp2;
16356 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16357 }
d14a1e28
RD
16358 {
16359 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16360 (arg1)->SetTextBackground((wxColour const &)*arg2);
d14a1e28
RD
16361
16362 wxPyEndAllowThreads(__tstate);
16363 if (PyErr_Occurred()) SWIG_fail;
16364 }
5cbf236d 16365 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16366 return resultobj;
16367 fail:
16368 return NULL;
16369}
16370
16371
093d3ff1 16372static PyObject *_wrap_DC_GetMapMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16373 PyObject *resultobj = NULL;
d14a1e28 16374 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16375 int result;
d14a1e28
RD
16376 PyObject * obj0 = 0 ;
16377 char *kwnames[] = {
093d3ff1 16378 (char *) "self", NULL
d14a1e28
RD
16379 };
16380
093d3ff1
RD
16381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetMapMode",kwnames,&obj0)) goto fail;
16382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16383 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16384 {
16385 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16386 result = (int)((wxDC const *)arg1)->GetMapMode();
d14a1e28
RD
16387
16388 wxPyEndAllowThreads(__tstate);
16389 if (PyErr_Occurred()) SWIG_fail;
16390 }
093d3ff1 16391 {
32fe5131 16392 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 16393 }
d14a1e28
RD
16394 return resultobj;
16395 fail:
16396 return NULL;
16397}
16398
16399
093d3ff1 16400static PyObject *_wrap_DC_SetMapMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16401 PyObject *resultobj = NULL;
03e37cd5 16402 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16403 int arg2 ;
03e37cd5
RD
16404 PyObject * obj0 = 0 ;
16405 PyObject * obj1 = 0 ;
16406 char *kwnames[] = {
093d3ff1 16407 (char *) "self",(char *) "mode", NULL
03e37cd5
RD
16408 };
16409
093d3ff1
RD
16410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetMapMode",kwnames,&obj0,&obj1)) goto fail;
16411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16412 if (SWIG_arg_fail(1)) SWIG_fail;
03e37cd5 16413 {
32fe5131 16414 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 16415 if (SWIG_arg_fail(2)) SWIG_fail;
03e37cd5
RD
16416 }
16417 {
16418 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16419 (arg1)->SetMapMode(arg2);
03e37cd5
RD
16420
16421 wxPyEndAllowThreads(__tstate);
16422 if (PyErr_Occurred()) SWIG_fail;
16423 }
16424 Py_INCREF(Py_None); resultobj = Py_None;
16425 return resultobj;
16426 fail:
16427 return NULL;
16428}
16429
16430
093d3ff1 16431static PyObject *_wrap_DC_GetUserScale(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16432 PyObject *resultobj = NULL;
d14a1e28 16433 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
16434 double *arg2 = (double *) 0 ;
16435 double *arg3 = (double *) 0 ;
16436 double temp2 ;
16437 int res2 = 0 ;
16438 double temp3 ;
16439 int res3 = 0 ;
d14a1e28
RD
16440 PyObject * obj0 = 0 ;
16441 char *kwnames[] = {
16442 (char *) "self", NULL
16443 };
16444
093d3ff1
RD
16445 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16446 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetUserScale",kwnames,&obj0)) goto fail;
16448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16449 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16450 {
16451 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16452 ((wxDC const *)arg1)->GetUserScale(arg2,arg3);
d14a1e28
RD
16453
16454 wxPyEndAllowThreads(__tstate);
16455 if (PyErr_Occurred()) SWIG_fail;
16456 }
16457 Py_INCREF(Py_None); resultobj = Py_None;
093d3ff1
RD
16458 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16459 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
16460 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16461 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
d14a1e28
RD
16462 return resultobj;
16463 fail:
16464 return NULL;
16465}
16466
16467
093d3ff1 16468static PyObject *_wrap_DC_SetUserScale(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16469 PyObject *resultobj = NULL;
d14a1e28 16470 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
16471 double arg2 ;
16472 double arg3 ;
d14a1e28 16473 PyObject * obj0 = 0 ;
093d3ff1
RD
16474 PyObject * obj1 = 0 ;
16475 PyObject * obj2 = 0 ;
d14a1e28 16476 char *kwnames[] = {
093d3ff1 16477 (char *) "self",(char *) "x",(char *) "y", NULL
d14a1e28
RD
16478 };
16479
093d3ff1
RD
16480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetUserScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
16481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16482 if (SWIG_arg_fail(1)) SWIG_fail;
16483 {
32fe5131 16484 arg2 = static_cast<double >(SWIG_As_double(obj1));
093d3ff1
RD
16485 if (SWIG_arg_fail(2)) SWIG_fail;
16486 }
16487 {
32fe5131 16488 arg3 = static_cast<double >(SWIG_As_double(obj2));
093d3ff1
RD
16489 if (SWIG_arg_fail(3)) SWIG_fail;
16490 }
d14a1e28
RD
16491 {
16492 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16493 (arg1)->SetUserScale(arg2,arg3);
d14a1e28
RD
16494
16495 wxPyEndAllowThreads(__tstate);
16496 if (PyErr_Occurred()) SWIG_fail;
16497 }
093d3ff1 16498 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16499 return resultobj;
16500 fail:
16501 return NULL;
16502}
16503
16504
093d3ff1 16505static PyObject *_wrap_DC_GetLogicalScale(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16506 PyObject *resultobj = NULL;
d14a1e28 16507 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
16508 double *arg2 = (double *) 0 ;
16509 double *arg3 = (double *) 0 ;
16510 double temp2 ;
16511 int res2 = 0 ;
16512 double temp3 ;
16513 int res3 = 0 ;
d14a1e28
RD
16514 PyObject * obj0 = 0 ;
16515 char *kwnames[] = {
16516 (char *) "self", NULL
16517 };
16518
093d3ff1
RD
16519 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16520 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalScale",kwnames,&obj0)) goto fail;
16522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16523 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16524 {
16525 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16526 (arg1)->GetLogicalScale(arg2,arg3);
d14a1e28
RD
16527
16528 wxPyEndAllowThreads(__tstate);
16529 if (PyErr_Occurred()) SWIG_fail;
16530 }
093d3ff1
RD
16531 Py_INCREF(Py_None); resultobj = Py_None;
16532 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16533 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
16534 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16535 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
d14a1e28
RD
16536 return resultobj;
16537 fail:
16538 return NULL;
16539}
16540
16541
093d3ff1 16542static PyObject *_wrap_DC_SetLogicalScale(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16543 PyObject *resultobj = NULL;
d14a1e28 16544 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
16545 double arg2 ;
16546 double arg3 ;
d14a1e28 16547 PyObject * obj0 = 0 ;
093d3ff1
RD
16548 PyObject * obj1 = 0 ;
16549 PyObject * obj2 = 0 ;
d14a1e28 16550 char *kwnames[] = {
093d3ff1 16551 (char *) "self",(char *) "x",(char *) "y", NULL
d14a1e28
RD
16552 };
16553
093d3ff1
RD
16554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetLogicalScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
16555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16556 if (SWIG_arg_fail(1)) SWIG_fail;
16557 {
32fe5131 16558 arg2 = static_cast<double >(SWIG_As_double(obj1));
093d3ff1
RD
16559 if (SWIG_arg_fail(2)) SWIG_fail;
16560 }
16561 {
32fe5131 16562 arg3 = static_cast<double >(SWIG_As_double(obj2));
093d3ff1
RD
16563 if (SWIG_arg_fail(3)) SWIG_fail;
16564 }
d14a1e28
RD
16565 {
16566 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16567 (arg1)->SetLogicalScale(arg2,arg3);
d14a1e28
RD
16568
16569 wxPyEndAllowThreads(__tstate);
16570 if (PyErr_Occurred()) SWIG_fail;
16571 }
093d3ff1 16572 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16573 return resultobj;
16574 fail:
16575 return NULL;
16576}
16577
16578
093d3ff1 16579static PyObject *_wrap_DC_GetLogicalOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16580 PyObject *resultobj = NULL;
d14a1e28 16581 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16582 wxPoint result;
d14a1e28
RD
16583 PyObject * obj0 = 0 ;
16584 char *kwnames[] = {
16585 (char *) "self", NULL
16586 };
16587
093d3ff1
RD
16588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalOrigin",kwnames,&obj0)) goto fail;
16589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16590 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16591 {
16592 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16593 result = ((wxDC const *)arg1)->GetLogicalOrigin();
d14a1e28
RD
16594
16595 wxPyEndAllowThreads(__tstate);
16596 if (PyErr_Occurred()) SWIG_fail;
16597 }
093d3ff1
RD
16598 {
16599 wxPoint * resultptr;
32fe5131 16600 resultptr = new wxPoint(static_cast<wxPoint & >(result));
093d3ff1
RD
16601 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
16602 }
d14a1e28
RD
16603 return resultobj;
16604 fail:
16605 return NULL;
16606}
16607
16608
093d3ff1 16609static PyObject *_wrap_DC_GetLogicalOriginTuple(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16610 PyObject *resultobj = NULL;
d14a1e28
RD
16611 wxDC *arg1 = (wxDC *) 0 ;
16612 int *arg2 = (int *) 0 ;
16613 int *arg3 = (int *) 0 ;
d14a1e28 16614 int temp2 ;
c32bde28 16615 int res2 = 0 ;
d14a1e28 16616 int temp3 ;
c32bde28 16617 int res3 = 0 ;
d14a1e28
RD
16618 PyObject * obj0 = 0 ;
16619 char *kwnames[] = {
16620 (char *) "self", NULL
16621 };
16622
c32bde28
RD
16623 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16624 arg3 = &temp3; res3 = SWIG_NEWOBJ;
093d3ff1
RD
16625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalOriginTuple",kwnames,&obj0)) goto fail;
16626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16627 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16628 {
16629 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16630 ((wxDC const *)arg1)->GetLogicalOrigin(arg2,arg3);
d14a1e28
RD
16631
16632 wxPyEndAllowThreads(__tstate);
16633 if (PyErr_Occurred()) SWIG_fail;
16634 }
16635 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16636 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16637 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16638 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16639 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
16640 return resultobj;
16641 fail:
16642 return NULL;
16643}
16644
16645
093d3ff1 16646static PyObject *_wrap_DC_SetLogicalOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16647 PyObject *resultobj = NULL;
d14a1e28 16648 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
16649 int arg2 ;
16650 int arg3 ;
d14a1e28
RD
16651 PyObject * obj0 = 0 ;
16652 PyObject * obj1 = 0 ;
16653 PyObject * obj2 = 0 ;
d14a1e28 16654 char *kwnames[] = {
093d3ff1 16655 (char *) "self",(char *) "x",(char *) "y", NULL
d14a1e28
RD
16656 };
16657
093d3ff1
RD
16658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) goto fail;
16659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16660 if (SWIG_arg_fail(1)) SWIG_fail;
16661 {
32fe5131 16662 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16663 if (SWIG_arg_fail(2)) SWIG_fail;
16664 }
16665 {
32fe5131 16666 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
16667 if (SWIG_arg_fail(3)) SWIG_fail;
16668 }
d14a1e28
RD
16669 {
16670 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16671 (arg1)->SetLogicalOrigin(arg2,arg3);
d14a1e28
RD
16672
16673 wxPyEndAllowThreads(__tstate);
16674 if (PyErr_Occurred()) SWIG_fail;
16675 }
093d3ff1 16676 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16677 return resultobj;
16678 fail:
16679 return NULL;
16680}
16681
16682
093d3ff1 16683static PyObject *_wrap_DC_SetLogicalOriginPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16684 PyObject *resultobj = NULL;
d14a1e28 16685 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
16686 wxPoint *arg2 = 0 ;
16687 wxPoint temp2 ;
d14a1e28
RD
16688 PyObject * obj0 = 0 ;
16689 PyObject * obj1 = 0 ;
d14a1e28 16690 char *kwnames[] = {
093d3ff1 16691 (char *) "self",(char *) "point", NULL
d14a1e28
RD
16692 };
16693
093d3ff1
RD
16694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetLogicalOriginPoint",kwnames,&obj0,&obj1)) goto fail;
16695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16696 if (SWIG_arg_fail(1)) SWIG_fail;
16697 {
16698 arg2 = &temp2;
16699 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16700 }
d14a1e28
RD
16701 {
16702 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16703 wxDC_SetLogicalOriginPoint(arg1,(wxPoint const &)*arg2);
d14a1e28
RD
16704
16705 wxPyEndAllowThreads(__tstate);
16706 if (PyErr_Occurred()) SWIG_fail;
16707 }
093d3ff1 16708 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16709 return resultobj;
16710 fail:
16711 return NULL;
16712}
16713
16714
093d3ff1 16715static PyObject *_wrap_DC_GetDeviceOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16716 PyObject *resultobj = NULL;
d14a1e28 16717 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16718 wxPoint result;
d14a1e28 16719 PyObject * obj0 = 0 ;
d14a1e28 16720 char *kwnames[] = {
093d3ff1 16721 (char *) "self", NULL
d14a1e28
RD
16722 };
16723
093d3ff1
RD
16724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetDeviceOrigin",kwnames,&obj0)) goto fail;
16725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16726 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16727 {
16728 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16729 result = ((wxDC const *)arg1)->GetDeviceOrigin();
d14a1e28
RD
16730
16731 wxPyEndAllowThreads(__tstate);
16732 if (PyErr_Occurred()) SWIG_fail;
16733 }
093d3ff1
RD
16734 {
16735 wxPoint * resultptr;
32fe5131 16736 resultptr = new wxPoint(static_cast<wxPoint & >(result));
093d3ff1
RD
16737 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
16738 }
d14a1e28
RD
16739 return resultobj;
16740 fail:
16741 return NULL;
16742}
16743
16744
093d3ff1 16745static PyObject *_wrap_DC_GetDeviceOriginTuple(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16746 PyObject *resultobj = NULL;
d14a1e28 16747 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
16748 int *arg2 = (int *) 0 ;
16749 int *arg3 = (int *) 0 ;
16750 int temp2 ;
16751 int res2 = 0 ;
16752 int temp3 ;
16753 int res3 = 0 ;
d14a1e28 16754 PyObject * obj0 = 0 ;
d14a1e28 16755 char *kwnames[] = {
093d3ff1 16756 (char *) "self", NULL
d14a1e28
RD
16757 };
16758
093d3ff1
RD
16759 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16760 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetDeviceOriginTuple",kwnames,&obj0)) goto fail;
16762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16763 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16764 {
16765 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16766 ((wxDC const *)arg1)->GetDeviceOrigin(arg2,arg3);
d14a1e28
RD
16767
16768 wxPyEndAllowThreads(__tstate);
16769 if (PyErr_Occurred()) SWIG_fail;
16770 }
093d3ff1
RD
16771 Py_INCREF(Py_None); resultobj = Py_None;
16772 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16773 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16774 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16775 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
16776 return resultobj;
16777 fail:
16778 return NULL;
16779}
16780
16781
093d3ff1 16782static PyObject *_wrap_DC_SetDeviceOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16783 PyObject *resultobj = NULL;
d14a1e28 16784 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
16785 int arg2 ;
16786 int arg3 ;
d14a1e28
RD
16787 PyObject * obj0 = 0 ;
16788 PyObject * obj1 = 0 ;
16789 PyObject * obj2 = 0 ;
d14a1e28 16790 char *kwnames[] = {
093d3ff1 16791 (char *) "self",(char *) "x",(char *) "y", NULL
d14a1e28
RD
16792 };
16793
093d3ff1
RD
16794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetDeviceOrigin",kwnames,&obj0,&obj1,&obj2)) goto fail;
16795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16796 if (SWIG_arg_fail(1)) SWIG_fail;
16797 {
32fe5131 16798 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16799 if (SWIG_arg_fail(2)) SWIG_fail;
16800 }
16801 {
32fe5131 16802 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
16803 if (SWIG_arg_fail(3)) SWIG_fail;
16804 }
d14a1e28
RD
16805 {
16806 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16807 (arg1)->SetDeviceOrigin(arg2,arg3);
d14a1e28
RD
16808
16809 wxPyEndAllowThreads(__tstate);
16810 if (PyErr_Occurred()) SWIG_fail;
16811 }
093d3ff1 16812 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16813 return resultobj;
16814 fail:
16815 return NULL;
16816}
16817
16818
093d3ff1 16819static PyObject *_wrap_DC_SetDeviceOriginPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16820 PyObject *resultobj = NULL;
d14a1e28 16821 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
16822 wxPoint *arg2 = 0 ;
16823 wxPoint temp2 ;
d14a1e28
RD
16824 PyObject * obj0 = 0 ;
16825 PyObject * obj1 = 0 ;
d14a1e28 16826 char *kwnames[] = {
093d3ff1 16827 (char *) "self",(char *) "point", NULL
d14a1e28
RD
16828 };
16829
093d3ff1
RD
16830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetDeviceOriginPoint",kwnames,&obj0,&obj1)) goto fail;
16831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16832 if (SWIG_arg_fail(1)) SWIG_fail;
16833 {
16834 arg2 = &temp2;
16835 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16836 }
d14a1e28
RD
16837 {
16838 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16839 wxDC_SetDeviceOriginPoint(arg1,(wxPoint const &)*arg2);
d14a1e28
RD
16840
16841 wxPyEndAllowThreads(__tstate);
16842 if (PyErr_Occurred()) SWIG_fail;
16843 }
093d3ff1 16844 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16845 return resultobj;
16846 fail:
16847 return NULL;
16848}
16849
16850
093d3ff1 16851static PyObject *_wrap_DC_SetAxisOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16852 PyObject *resultobj = NULL;
093d3ff1
RD
16853 wxDC *arg1 = (wxDC *) 0 ;
16854 bool arg2 ;
16855 bool arg3 ;
16856 PyObject * obj0 = 0 ;
16857 PyObject * obj1 = 0 ;
16858 PyObject * obj2 = 0 ;
d14a1e28 16859 char *kwnames[] = {
093d3ff1 16860 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
d14a1e28
RD
16861 };
16862
093d3ff1
RD
16863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetAxisOrientation",kwnames,&obj0,&obj1,&obj2)) goto fail;
16864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16865 if (SWIG_arg_fail(1)) SWIG_fail;
16866 {
32fe5131 16867 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
16868 if (SWIG_arg_fail(2)) SWIG_fail;
16869 }
16870 {
32fe5131 16871 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
16872 if (SWIG_arg_fail(3)) SWIG_fail;
16873 }
d14a1e28
RD
16874 {
16875 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16876 (arg1)->SetAxisOrientation(arg2,arg3);
d14a1e28
RD
16877
16878 wxPyEndAllowThreads(__tstate);
110da5b0 16879 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16880 }
093d3ff1 16881 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16882 return resultobj;
16883 fail:
16884 return NULL;
16885}
16886
16887
093d3ff1 16888static PyObject *_wrap_DC_GetLogicalFunction(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16889 PyObject *resultobj = NULL;
d14a1e28 16890 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16891 int result;
d14a1e28
RD
16892 PyObject * obj0 = 0 ;
16893 char *kwnames[] = {
093d3ff1 16894 (char *) "self", NULL
d14a1e28
RD
16895 };
16896
093d3ff1
RD
16897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalFunction",kwnames,&obj0)) goto fail;
16898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16899 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16900 {
16901 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16902 result = (int)((wxDC const *)arg1)->GetLogicalFunction();
d14a1e28
RD
16903
16904 wxPyEndAllowThreads(__tstate);
110da5b0 16905 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16906 }
093d3ff1 16907 {
32fe5131 16908 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 16909 }
d14a1e28
RD
16910 return resultobj;
16911 fail:
16912 return NULL;
16913}
16914
16915
093d3ff1 16916static PyObject *_wrap_DC_SetLogicalFunction(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16917 PyObject *resultobj = NULL;
093d3ff1
RD
16918 wxDC *arg1 = (wxDC *) 0 ;
16919 int arg2 ;
d14a1e28
RD
16920 PyObject * obj0 = 0 ;
16921 PyObject * obj1 = 0 ;
16922 char *kwnames[] = {
093d3ff1 16923 (char *) "self",(char *) "function", NULL
d14a1e28
RD
16924 };
16925
093d3ff1
RD
16926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetLogicalFunction",kwnames,&obj0,&obj1)) goto fail;
16927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16928 if (SWIG_arg_fail(1)) SWIG_fail;
16929 {
32fe5131 16930 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 16931 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
16932 }
16933 {
16934 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16935 (arg1)->SetLogicalFunction(arg2);
d14a1e28
RD
16936
16937 wxPyEndAllowThreads(__tstate);
16938 if (PyErr_Occurred()) SWIG_fail;
16939 }
16940 Py_INCREF(Py_None); resultobj = Py_None;
16941 return resultobj;
16942 fail:
16943 return NULL;
16944}
16945
16946
093d3ff1 16947static PyObject *_wrap_DC_ComputeScaleAndOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16948 PyObject *resultobj = NULL;
d14a1e28 16949 wxDC *arg1 = (wxDC *) 0 ;
d14a1e28 16950 PyObject * obj0 = 0 ;
093d3ff1
RD
16951 char *kwnames[] = {
16952 (char *) "self", NULL
16953 };
d14a1e28 16954
093d3ff1
RD
16955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_ComputeScaleAndOrigin",kwnames,&obj0)) goto fail;
16956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16957 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16958 {
16959 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16960 (arg1)->ComputeScaleAndOrigin();
d14a1e28
RD
16961
16962 wxPyEndAllowThreads(__tstate);
110da5b0 16963 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16964 }
093d3ff1 16965 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16966 return resultobj;
16967 fail:
16968 return NULL;
16969}
16970
16971
093d3ff1 16972static PyObject *_wrap_DC_CalcBoundingBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16973 PyObject *resultobj = NULL;
d14a1e28 16974 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
16975 int arg2 ;
16976 int arg3 ;
d14a1e28
RD
16977 PyObject * obj0 = 0 ;
16978 PyObject * obj1 = 0 ;
093d3ff1
RD
16979 PyObject * obj2 = 0 ;
16980 char *kwnames[] = {
16981 (char *) "self",(char *) "x",(char *) "y", NULL
16982 };
3adfb63b 16983
093d3ff1
RD
16984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_CalcBoundingBox",kwnames,&obj0,&obj1,&obj2)) goto fail;
16985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16986 if (SWIG_arg_fail(1)) SWIG_fail;
3adfb63b 16987 {
32fe5131 16988 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16989 if (SWIG_arg_fail(2)) SWIG_fail;
16990 }
16991 {
32fe5131 16992 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1 16993 if (SWIG_arg_fail(3)) SWIG_fail;
3adfb63b 16994 }
3adfb63b
RD
16995 {
16996 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16997 (arg1)->CalcBoundingBox(arg2,arg3);
3adfb63b
RD
16998
16999 wxPyEndAllowThreads(__tstate);
110da5b0 17000 if (PyErr_Occurred()) SWIG_fail;
3adfb63b 17001 }
093d3ff1 17002 Py_INCREF(Py_None); resultobj = Py_None;
3adfb63b
RD
17003 return resultobj;
17004 fail:
17005 return NULL;
17006}
17007
17008
093d3ff1 17009static PyObject *_wrap_DC_CalcBoundingBoxPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17010 PyObject *resultobj = NULL;
093d3ff1
RD
17011 wxDC *arg1 = (wxDC *) 0 ;
17012 wxPoint *arg2 = 0 ;
17013 wxPoint temp2 ;
d14a1e28 17014 PyObject * obj0 = 0 ;
093d3ff1 17015 PyObject * obj1 = 0 ;
d14a1e28 17016 char *kwnames[] = {
093d3ff1 17017 (char *) "self",(char *) "point", NULL
d14a1e28
RD
17018 };
17019
093d3ff1
RD
17020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames,&obj0,&obj1)) goto fail;
17021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17022 if (SWIG_arg_fail(1)) SWIG_fail;
17023 {
17024 arg2 = &temp2;
17025 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17026 }
d14a1e28
RD
17027 {
17028 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17029 wxDC_CalcBoundingBoxPoint(arg1,(wxPoint const &)*arg2);
d14a1e28
RD
17030
17031 wxPyEndAllowThreads(__tstate);
17032 if (PyErr_Occurred()) SWIG_fail;
17033 }
17034 Py_INCREF(Py_None); resultobj = Py_None;
17035 return resultobj;
17036 fail:
17037 return NULL;
17038}
17039
17040
093d3ff1 17041static PyObject *_wrap_DC_ResetBoundingBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17042 PyObject *resultobj = NULL;
093d3ff1 17043 wxDC *arg1 = (wxDC *) 0 ;
3adfb63b 17044 PyObject * obj0 = 0 ;
e498079e
RD
17045 char *kwnames[] = {
17046 (char *) "self", NULL
17047 };
3adfb63b 17048
093d3ff1
RD
17049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_ResetBoundingBox",kwnames,&obj0)) goto fail;
17050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17051 if (SWIG_arg_fail(1)) SWIG_fail;
3adfb63b
RD
17052 {
17053 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17054 (arg1)->ResetBoundingBox();
3adfb63b
RD
17055
17056 wxPyEndAllowThreads(__tstate);
17057 if (PyErr_Occurred()) SWIG_fail;
17058 }
e498079e 17059 Py_INCREF(Py_None); resultobj = Py_None;
3adfb63b
RD
17060 return resultobj;
17061 fail:
17062 return NULL;
17063}
17064
17065
093d3ff1 17066static PyObject *_wrap_DC_MinX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17067 PyObject *resultobj = NULL;
093d3ff1
RD
17068 wxDC *arg1 = (wxDC *) 0 ;
17069 int result;
d14a1e28 17070 PyObject * obj0 = 0 ;
e498079e 17071 char *kwnames[] = {
093d3ff1 17072 (char *) "self", NULL
e498079e 17073 };
d14a1e28 17074
093d3ff1
RD
17075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MinX",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;
d14a1e28
RD
17078 {
17079 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17080 result = (int)((wxDC const *)arg1)->MinX();
d14a1e28
RD
17081
17082 wxPyEndAllowThreads(__tstate);
110da5b0 17083 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17084 }
093d3ff1 17085 {
32fe5131 17086 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17087 }
d14a1e28
RD
17088 return resultobj;
17089 fail:
17090 return NULL;
17091}
17092
17093
093d3ff1 17094static PyObject *_wrap_DC_MaxX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17095 PyObject *resultobj = NULL;
093d3ff1
RD
17096 wxDC *arg1 = (wxDC *) 0 ;
17097 int result;
17098 PyObject * obj0 = 0 ;
d14a1e28 17099 char *kwnames[] = {
093d3ff1 17100 (char *) "self", NULL
d14a1e28
RD
17101 };
17102
093d3ff1
RD
17103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MaxX",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;
d14a1e28
RD
17106 {
17107 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17108 result = (int)((wxDC const *)arg1)->MaxX();
d14a1e28
RD
17109
17110 wxPyEndAllowThreads(__tstate);
110da5b0 17111 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17112 }
093d3ff1 17113 {
32fe5131 17114 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17115 }
d14a1e28
RD
17116 return resultobj;
17117 fail:
17118 return NULL;
17119}
17120
17121
093d3ff1 17122static PyObject *_wrap_DC_MinY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17123 PyObject *resultobj = NULL;
093d3ff1
RD
17124 wxDC *arg1 = (wxDC *) 0 ;
17125 int result;
d14a1e28 17126 PyObject * obj0 = 0 ;
d14a1e28 17127 char *kwnames[] = {
093d3ff1 17128 (char *) "self", NULL
d14a1e28
RD
17129 };
17130
093d3ff1
RD
17131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MinY",kwnames,&obj0)) goto fail;
17132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17133 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17134 {
17135 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17136 result = (int)((wxDC const *)arg1)->MinY();
d14a1e28
RD
17137
17138 wxPyEndAllowThreads(__tstate);
17139 if (PyErr_Occurred()) SWIG_fail;
17140 }
4f89f6a3 17141 {
32fe5131 17142 resultobj = SWIG_From_int(static_cast<int >(result));
4f89f6a3 17143 }
d14a1e28
RD
17144 return resultobj;
17145 fail:
17146 return NULL;
17147}
17148
17149
093d3ff1 17150static PyObject *_wrap_DC_MaxY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17151 PyObject *resultobj = NULL;
093d3ff1
RD
17152 wxDC *arg1 = (wxDC *) 0 ;
17153 int result;
d14a1e28 17154 PyObject * obj0 = 0 ;
d14a1e28 17155 char *kwnames[] = {
093d3ff1 17156 (char *) "self", NULL
d14a1e28
RD
17157 };
17158
093d3ff1
RD
17159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MaxY",kwnames,&obj0)) goto fail;
17160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17161 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17162 {
17163 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17164 result = (int)((wxDC const *)arg1)->MaxY();
d14a1e28
RD
17165
17166 wxPyEndAllowThreads(__tstate);
17167 if (PyErr_Occurred()) SWIG_fail;
17168 }
4f89f6a3 17169 {
32fe5131 17170 resultobj = SWIG_From_int(static_cast<int >(result));
4f89f6a3 17171 }
d14a1e28
RD
17172 return resultobj;
17173 fail:
17174 return NULL;
17175}
17176
17177
093d3ff1 17178static PyObject *_wrap_DC_GetBoundingBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17179 PyObject *resultobj = NULL;
093d3ff1
RD
17180 wxDC *arg1 = (wxDC *) 0 ;
17181 int *arg2 = (int *) 0 ;
17182 int *arg3 = (int *) 0 ;
17183 int *arg4 = (int *) 0 ;
17184 int *arg5 = (int *) 0 ;
17185 int temp2 ;
17186 int res2 = 0 ;
17187 int temp3 ;
17188 int res3 = 0 ;
17189 int temp4 ;
17190 int res4 = 0 ;
17191 int temp5 ;
17192 int res5 = 0 ;
d14a1e28
RD
17193 PyObject * obj0 = 0 ;
17194 char *kwnames[] = {
17195 (char *) "self", NULL
17196 };
17197
093d3ff1
RD
17198 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17199 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17200 arg4 = &temp4; res4 = SWIG_NEWOBJ;
17201 arg5 = &temp5; res5 = SWIG_NEWOBJ;
17202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBoundingBox",kwnames,&obj0)) goto fail;
17203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17204 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17205 {
17206 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17207 wxDC_GetBoundingBox(arg1,arg2,arg3,arg4,arg5);
d14a1e28
RD
17208
17209 wxPyEndAllowThreads(__tstate);
17210 if (PyErr_Occurred()) SWIG_fail;
17211 }
093d3ff1
RD
17212 Py_INCREF(Py_None); resultobj = Py_None;
17213 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17214 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17215 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17216 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17217 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
17218 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
17219 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
17220 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
17221 return resultobj;
17222 fail:
17223 return NULL;
17224}
17225
17226
093d3ff1 17227static PyObject *_wrap_DC__DrawPointList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17228 PyObject *resultobj = NULL;
093d3ff1
RD
17229 wxDC *arg1 = (wxDC *) 0 ;
17230 PyObject *arg2 = (PyObject *) 0 ;
17231 PyObject *arg3 = (PyObject *) 0 ;
17232 PyObject *arg4 = (PyObject *) 0 ;
17233 PyObject *result;
d14a1e28 17234 PyObject * obj0 = 0 ;
093d3ff1
RD
17235 PyObject * obj1 = 0 ;
17236 PyObject * obj2 = 0 ;
17237 PyObject * obj3 = 0 ;
d14a1e28 17238 char *kwnames[] = {
093d3ff1 17239 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
d14a1e28
RD
17240 };
17241
093d3ff1
RD
17242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawPointList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17244 if (SWIG_arg_fail(1)) SWIG_fail;
17245 arg2 = obj1;
17246 arg3 = obj2;
17247 arg4 = obj3;
d14a1e28
RD
17248 {
17249 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17250 result = (PyObject *)wxDC__DrawPointList(arg1,arg2,arg3,arg4);
d14a1e28
RD
17251
17252 wxPyEndAllowThreads(__tstate);
110da5b0 17253 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17254 }
093d3ff1 17255 resultobj = result;
d14a1e28
RD
17256 return resultobj;
17257 fail:
17258 return NULL;
17259}
17260
17261
093d3ff1 17262static PyObject *_wrap_DC__DrawLineList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17263 PyObject *resultobj = NULL;
093d3ff1
RD
17264 wxDC *arg1 = (wxDC *) 0 ;
17265 PyObject *arg2 = (PyObject *) 0 ;
17266 PyObject *arg3 = (PyObject *) 0 ;
17267 PyObject *arg4 = (PyObject *) 0 ;
17268 PyObject *result;
d14a1e28 17269 PyObject * obj0 = 0 ;
093d3ff1
RD
17270 PyObject * obj1 = 0 ;
17271 PyObject * obj2 = 0 ;
17272 PyObject * obj3 = 0 ;
d14a1e28 17273 char *kwnames[] = {
093d3ff1 17274 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
d14a1e28
RD
17275 };
17276
093d3ff1
RD
17277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawLineList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17279 if (SWIG_arg_fail(1)) SWIG_fail;
17280 arg2 = obj1;
17281 arg3 = obj2;
17282 arg4 = obj3;
d14a1e28
RD
17283 {
17284 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17285 result = (PyObject *)wxDC__DrawLineList(arg1,arg2,arg3,arg4);
d14a1e28
RD
17286
17287 wxPyEndAllowThreads(__tstate);
110da5b0 17288 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17289 }
093d3ff1 17290 resultobj = result;
d14a1e28
RD
17291 return resultobj;
17292 fail:
17293 return NULL;
17294}
17295
17296
093d3ff1 17297static PyObject *_wrap_DC__DrawRectangleList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17298 PyObject *resultobj = NULL;
093d3ff1
RD
17299 wxDC *arg1 = (wxDC *) 0 ;
17300 PyObject *arg2 = (PyObject *) 0 ;
17301 PyObject *arg3 = (PyObject *) 0 ;
17302 PyObject *arg4 = (PyObject *) 0 ;
17303 PyObject *result;
d14a1e28 17304 PyObject * obj0 = 0 ;
093d3ff1
RD
17305 PyObject * obj1 = 0 ;
17306 PyObject * obj2 = 0 ;
17307 PyObject * obj3 = 0 ;
d14a1e28 17308 char *kwnames[] = {
093d3ff1 17309 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
d14a1e28
RD
17310 };
17311
093d3ff1
RD
17312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawRectangleList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17314 if (SWIG_arg_fail(1)) SWIG_fail;
17315 arg2 = obj1;
17316 arg3 = obj2;
17317 arg4 = obj3;
d14a1e28
RD
17318 {
17319 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17320 result = (PyObject *)wxDC__DrawRectangleList(arg1,arg2,arg3,arg4);
d14a1e28
RD
17321
17322 wxPyEndAllowThreads(__tstate);
110da5b0 17323 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17324 }
093d3ff1 17325 resultobj = result;
d14a1e28
RD
17326 return resultobj;
17327 fail:
17328 return NULL;
17329}
17330
17331
093d3ff1 17332static PyObject *_wrap_DC__DrawEllipseList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17333 PyObject *resultobj = NULL;
093d3ff1
RD
17334 wxDC *arg1 = (wxDC *) 0 ;
17335 PyObject *arg2 = (PyObject *) 0 ;
17336 PyObject *arg3 = (PyObject *) 0 ;
17337 PyObject *arg4 = (PyObject *) 0 ;
17338 PyObject *result;
d14a1e28
RD
17339 PyObject * obj0 = 0 ;
17340 PyObject * obj1 = 0 ;
093d3ff1
RD
17341 PyObject * obj2 = 0 ;
17342 PyObject * obj3 = 0 ;
d14a1e28 17343 char *kwnames[] = {
093d3ff1 17344 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
d14a1e28
RD
17345 };
17346
093d3ff1
RD
17347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawEllipseList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17349 if (SWIG_arg_fail(1)) SWIG_fail;
17350 arg2 = obj1;
17351 arg3 = obj2;
17352 arg4 = obj3;
d14a1e28
RD
17353 {
17354 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17355 result = (PyObject *)wxDC__DrawEllipseList(arg1,arg2,arg3,arg4);
d14a1e28
RD
17356
17357 wxPyEndAllowThreads(__tstate);
110da5b0 17358 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17359 }
093d3ff1 17360 resultobj = result;
d14a1e28
RD
17361 return resultobj;
17362 fail:
17363 return NULL;
17364}
17365
17366
093d3ff1 17367static PyObject *_wrap_DC__DrawPolygonList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17368 PyObject *resultobj = NULL;
093d3ff1
RD
17369 wxDC *arg1 = (wxDC *) 0 ;
17370 PyObject *arg2 = (PyObject *) 0 ;
17371 PyObject *arg3 = (PyObject *) 0 ;
17372 PyObject *arg4 = (PyObject *) 0 ;
17373 PyObject *result;
d14a1e28 17374 PyObject * obj0 = 0 ;
093d3ff1
RD
17375 PyObject * obj1 = 0 ;
17376 PyObject * obj2 = 0 ;
17377 PyObject * obj3 = 0 ;
d14a1e28 17378 char *kwnames[] = {
093d3ff1 17379 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
d14a1e28
RD
17380 };
17381
093d3ff1
RD
17382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawPolygonList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17384 if (SWIG_arg_fail(1)) SWIG_fail;
17385 arg2 = obj1;
17386 arg3 = obj2;
17387 arg4 = obj3;
d14a1e28
RD
17388 {
17389 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17390 result = (PyObject *)wxDC__DrawPolygonList(arg1,arg2,arg3,arg4);
d14a1e28
RD
17391
17392 wxPyEndAllowThreads(__tstate);
110da5b0 17393 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17394 }
093d3ff1 17395 resultobj = result;
d14a1e28
RD
17396 return resultobj;
17397 fail:
17398 return NULL;
17399}
17400
17401
093d3ff1 17402static PyObject *_wrap_DC__DrawTextList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17403 PyObject *resultobj = NULL;
093d3ff1
RD
17404 wxDC *arg1 = (wxDC *) 0 ;
17405 PyObject *arg2 = (PyObject *) 0 ;
17406 PyObject *arg3 = (PyObject *) 0 ;
17407 PyObject *arg4 = (PyObject *) 0 ;
17408 PyObject *arg5 = (PyObject *) 0 ;
17409 PyObject *result;
d14a1e28 17410 PyObject * obj0 = 0 ;
093d3ff1
RD
17411 PyObject * obj1 = 0 ;
17412 PyObject * obj2 = 0 ;
17413 PyObject * obj3 = 0 ;
17414 PyObject * obj4 = 0 ;
d14a1e28 17415 char *kwnames[] = {
093d3ff1 17416 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
d14a1e28
RD
17417 };
17418
093d3ff1
RD
17419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC__DrawTextList",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17421 if (SWIG_arg_fail(1)) SWIG_fail;
17422 arg2 = obj1;
17423 arg3 = obj2;
17424 arg4 = obj3;
17425 arg5 = obj4;
d14a1e28
RD
17426 {
17427 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17428 result = (PyObject *)wxDC__DrawTextList(arg1,arg2,arg3,arg4,arg5);
d14a1e28
RD
17429
17430 wxPyEndAllowThreads(__tstate);
17431 if (PyErr_Occurred()) SWIG_fail;
17432 }
093d3ff1 17433 resultobj = result;
d14a1e28
RD
17434 return resultobj;
17435 fail:
17436 return NULL;
17437}
17438
17439
093d3ff1
RD
17440static PyObject * DC_swigregister(PyObject *, PyObject *args) {
17441 PyObject *obj;
17442 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17443 SWIG_TypeClientData(SWIGTYPE_p_wxDC, obj);
17444 Py_INCREF(obj);
17445 return Py_BuildValue((char *)"");
17446}
17447static PyObject *_wrap_new_MemoryDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17448 PyObject *resultobj = NULL;
093d3ff1 17449 wxMemoryDC *result;
d14a1e28 17450 char *kwnames[] = {
093d3ff1 17451 NULL
d14a1e28
RD
17452 };
17453
093d3ff1 17454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryDC",kwnames)) goto fail;
d14a1e28 17455 {
093d3ff1 17456 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 17457 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17458 result = (wxMemoryDC *)new wxMemoryDC();
d14a1e28
RD
17459
17460 wxPyEndAllowThreads(__tstate);
17461 if (PyErr_Occurred()) SWIG_fail;
17462 }
093d3ff1 17463 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryDC, 1);
d14a1e28
RD
17464 return resultobj;
17465 fail:
17466 return NULL;
17467}
17468
17469
093d3ff1 17470static PyObject *_wrap_new_MemoryDCFromDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17471 PyObject *resultobj = NULL;
093d3ff1
RD
17472 wxDC *arg1 = (wxDC *) 0 ;
17473 wxMemoryDC *result;
994141e6 17474 PyObject * obj0 = 0 ;
d14a1e28 17475 char *kwnames[] = {
093d3ff1 17476 (char *) "oldDC", NULL
d14a1e28
RD
17477 };
17478
093d3ff1
RD
17479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_MemoryDCFromDC",kwnames,&obj0)) goto fail;
17480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17481 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 17482 {
093d3ff1 17483 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 17484 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17485 result = (wxMemoryDC *)new wxMemoryDC(arg1);
d14a1e28
RD
17486
17487 wxPyEndAllowThreads(__tstate);
17488 if (PyErr_Occurred()) SWIG_fail;
17489 }
093d3ff1 17490 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryDC, 1);
d14a1e28
RD
17491 return resultobj;
17492 fail:
17493 return NULL;
17494}
17495
17496
093d3ff1 17497static PyObject *_wrap_MemoryDC_SelectObject(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17498 PyObject *resultobj = NULL;
093d3ff1
RD
17499 wxMemoryDC *arg1 = (wxMemoryDC *) 0 ;
17500 wxBitmap *arg2 = 0 ;
17501 PyObject * obj0 = 0 ;
17502 PyObject * obj1 = 0 ;
d14a1e28 17503 char *kwnames[] = {
093d3ff1 17504 (char *) "self",(char *) "bitmap", NULL
d14a1e28
RD
17505 };
17506
093d3ff1
RD
17507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryDC_SelectObject",kwnames,&obj0,&obj1)) goto fail;
17508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
17509 if (SWIG_arg_fail(1)) SWIG_fail;
17510 {
17511 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
17512 if (SWIG_arg_fail(2)) SWIG_fail;
17513 if (arg2 == NULL) {
17514 SWIG_null_ref("wxBitmap");
17515 }
17516 if (SWIG_arg_fail(2)) SWIG_fail;
17517 }
d14a1e28
RD
17518 {
17519 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17520 (arg1)->SelectObject((wxBitmap const &)*arg2);
d14a1e28
RD
17521
17522 wxPyEndAllowThreads(__tstate);
17523 if (PyErr_Occurred()) SWIG_fail;
17524 }
093d3ff1 17525 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
17526 return resultobj;
17527 fail:
17528 return NULL;
17529}
17530
17531
093d3ff1 17532static PyObject * MemoryDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17533 PyObject *obj;
17534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
093d3ff1 17535 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC, obj);
d14a1e28
RD
17536 Py_INCREF(obj);
17537 return Py_BuildValue((char *)"");
17538}
093d3ff1 17539static PyObject *_wrap_new_BufferedDC__SWIG_0(PyObject *, PyObject *args) {
32fe5131 17540 PyObject *resultobj = NULL;
093d3ff1 17541 wxDC *arg1 = (wxDC *) 0 ;
7e08d4ef
RD
17542 wxBitmap const &arg2_defvalue = wxNullBitmap ;
17543 wxBitmap *arg2 = (wxBitmap *) &arg2_defvalue ;
17544 int arg3 = (int) wxBUFFER_CLIENT_AREA ;
093d3ff1 17545 wxBufferedDC *result;
d14a1e28 17546 PyObject * obj0 = 0 ;
093d3ff1 17547 PyObject * obj1 = 0 ;
e2950dbb 17548 PyObject * obj2 = 0 ;
d14a1e28 17549
7e08d4ef 17550 if(!PyArg_ParseTuple(args,(char *)"O|OO:new_BufferedDC",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17552 if (SWIG_arg_fail(1)) SWIG_fail;
7e08d4ef
RD
17553 if (obj1) {
17554 {
17555 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
17556 if (SWIG_arg_fail(2)) SWIG_fail;
17557 if (arg2 == NULL) {
17558 SWIG_null_ref("wxBitmap");
17559 }
17560 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
17561 }
17562 }
7e08d4ef
RD
17563 if (obj2) {
17564 {
17565 arg3 = static_cast<int >(SWIG_As_int(obj2));
17566 if (SWIG_arg_fail(3)) SWIG_fail;
17567 }
e2950dbb 17568 }
d14a1e28 17569 {
e3b71cb8 17570 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 17571 PyThreadState* __tstate = wxPyBeginAllowThreads();
e2950dbb 17572 result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxBitmap const &)*arg2,arg3);
d14a1e28
RD
17573
17574 wxPyEndAllowThreads(__tstate);
110da5b0 17575 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17576 }
093d3ff1 17577 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedDC, 1);
d14a1e28
RD
17578 return resultobj;
17579 fail:
d14a1e28
RD
17580 return NULL;
17581}
17582
17583
093d3ff1 17584static PyObject *_wrap_new_BufferedDC__SWIG_1(PyObject *, PyObject *args) {
32fe5131 17585 PyObject *resultobj = NULL;
093d3ff1
RD
17586 wxDC *arg1 = (wxDC *) 0 ;
17587 wxSize *arg2 = 0 ;
7e08d4ef 17588 int arg3 = (int) wxBUFFER_CLIENT_AREA ;
093d3ff1
RD
17589 wxBufferedDC *result;
17590 wxSize temp2 ;
d14a1e28 17591 PyObject * obj0 = 0 ;
994141e6 17592 PyObject * obj1 = 0 ;
e2950dbb 17593 PyObject * obj2 = 0 ;
d14a1e28 17594
7e08d4ef 17595 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_BufferedDC",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17597 if (SWIG_arg_fail(1)) SWIG_fail;
17598 {
17599 arg2 = &temp2;
17600 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
d14a1e28 17601 }
7e08d4ef
RD
17602 if (obj2) {
17603 {
17604 arg3 = static_cast<int >(SWIG_As_int(obj2));
17605 if (SWIG_arg_fail(3)) SWIG_fail;
17606 }
e2950dbb 17607 }
093d3ff1
RD
17608 {
17609 if (!wxPyCheckForApp()) SWIG_fail;
17610 PyThreadState* __tstate = wxPyBeginAllowThreads();
e2950dbb 17611 result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxSize const &)*arg2,arg3);
093d3ff1
RD
17612
17613 wxPyEndAllowThreads(__tstate);
15afbcd0 17614 if (PyErr_Occurred()) SWIG_fail;
994141e6 17615 }
093d3ff1
RD
17616 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedDC, 1);
17617 return resultobj;
17618 fail:
17619 return NULL;
17620}
17621
17622
17623static PyObject *_wrap_new_BufferedDC(PyObject *self, PyObject *args) {
17624 int argc;
e2950dbb 17625 PyObject *argv[4];
093d3ff1
RD
17626 int ii;
17627
17628 argc = PyObject_Length(args);
e2950dbb 17629 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
093d3ff1 17630 argv[ii] = PyTuple_GetItem(args,ii);
994141e6 17631 }
7e08d4ef 17632 if ((argc >= 1) && (argc <= 3)) {
093d3ff1 17633 int _v;
d14a1e28 17634 {
093d3ff1
RD
17635 void *ptr;
17636 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDC, 0) == -1) {
17637 _v = 0;
17638 PyErr_Clear();
17639 } else {
17640 _v = 1;
17641 }
17642 }
17643 if (_v) {
7e08d4ef
RD
17644 if (argc <= 1) {
17645 return _wrap_new_BufferedDC__SWIG_0(self,args);
8f4d7c19 17646 }
093d3ff1
RD
17647 {
17648 void *ptr = 0;
17649 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxBitmap, 0) == -1) {
17650 _v = 0;
17651 PyErr_Clear();
17652 } else {
17653 _v = (ptr != 0);
17654 }
17655 }
17656 if (_v) {
7e08d4ef
RD
17657 if (argc <= 2) {
17658 return _wrap_new_BufferedDC__SWIG_0(self,args);
17659 }
e2950dbb
RD
17660 _v = SWIG_Check_int(argv[2]);
17661 if (_v) {
7e08d4ef 17662 return _wrap_new_BufferedDC__SWIG_0(self,args);
e2950dbb 17663 }
093d3ff1
RD
17664 }
17665 }
17666 }
7e08d4ef 17667 if ((argc >= 2) && (argc <= 3)) {
093d3ff1
RD
17668 int _v;
17669 {
17670 void *ptr;
17671 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDC, 0) == -1) {
17672 _v = 0;
17673 PyErr_Clear();
17674 } else {
17675 _v = 1;
17676 }
17677 }
17678 if (_v) {
17679 {
7e08d4ef 17680 _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2);
093d3ff1
RD
17681 }
17682 if (_v) {
7e08d4ef
RD
17683 if (argc <= 2) {
17684 return _wrap_new_BufferedDC__SWIG_1(self,args);
17685 }
e2950dbb
RD
17686 _v = SWIG_Check_int(argv[2]);
17687 if (_v) {
7e08d4ef 17688 return _wrap_new_BufferedDC__SWIG_1(self,args);
e2950dbb 17689 }
093d3ff1 17690 }
d14a1e28
RD
17691 }
17692 }
093d3ff1
RD
17693
17694 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_BufferedDC'");
17695 return NULL;
17696}
17697
17698
17699static PyObject *_wrap_delete_BufferedDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17700 PyObject *resultobj = NULL;
093d3ff1
RD
17701 wxBufferedDC *arg1 = (wxBufferedDC *) 0 ;
17702 PyObject * obj0 = 0 ;
17703 char *kwnames[] = {
17704 (char *) "self", NULL
17705 };
17706
17707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BufferedDC",kwnames,&obj0)) goto fail;
17708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBufferedDC, SWIG_POINTER_EXCEPTION | 0);
17709 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17710 {
17711 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17712 delete arg1;
d14a1e28
RD
17713
17714 wxPyEndAllowThreads(__tstate);
110da5b0 17715 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17716 }
093d3ff1 17717 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
17718 return resultobj;
17719 fail:
d14a1e28
RD
17720 return NULL;
17721}
17722
17723
093d3ff1 17724static PyObject *_wrap_BufferedDC_UnMask(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17725 PyObject *resultobj = NULL;
093d3ff1 17726 wxBufferedDC *arg1 = (wxBufferedDC *) 0 ;
d14a1e28
RD
17727 PyObject * obj0 = 0 ;
17728 char *kwnames[] = {
093d3ff1 17729 (char *) "self", NULL
d14a1e28
RD
17730 };
17731
093d3ff1
RD
17732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BufferedDC_UnMask",kwnames,&obj0)) goto fail;
17733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBufferedDC, SWIG_POINTER_EXCEPTION | 0);
17734 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17735 {
17736 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17737 (arg1)->UnMask();
d14a1e28
RD
17738
17739 wxPyEndAllowThreads(__tstate);
110da5b0 17740 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17741 }
093d3ff1 17742 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
17743 return resultobj;
17744 fail:
17745 return NULL;
17746}
17747
17748
093d3ff1 17749static PyObject * BufferedDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17750 PyObject *obj;
17751 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
093d3ff1 17752 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC, obj);
d14a1e28
RD
17753 Py_INCREF(obj);
17754 return Py_BuildValue((char *)"");
17755}
093d3ff1 17756static PyObject *_wrap_new_BufferedPaintDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17757 PyObject *resultobj = NULL;
093d3ff1
RD
17758 wxWindow *arg1 = (wxWindow *) 0 ;
17759 wxBitmap const &arg2_defvalue = wxNullBitmap ;
17760 wxBitmap *arg2 = (wxBitmap *) &arg2_defvalue ;
e2950dbb 17761 int arg3 = (int) wxBUFFER_CLIENT_AREA ;
093d3ff1 17762 wxBufferedPaintDC *result;
994141e6
RD
17763 PyObject * obj0 = 0 ;
17764 PyObject * obj1 = 0 ;
e2950dbb 17765 PyObject * obj2 = 0 ;
d14a1e28 17766 char *kwnames[] = {
e2950dbb 17767 (char *) "window",(char *) "buffer",(char *) "style", NULL
d14a1e28
RD
17768 };
17769
e2950dbb 17770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_BufferedPaintDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17772 if (SWIG_arg_fail(1)) SWIG_fail;
17773 if (obj1) {
17774 {
17775 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
17776 if (SWIG_arg_fail(2)) SWIG_fail;
17777 if (arg2 == NULL) {
17778 SWIG_null_ref("wxBitmap");
17779 }
17780 if (SWIG_arg_fail(2)) SWIG_fail;
17781 }
994141e6 17782 }
e2950dbb
RD
17783 if (obj2) {
17784 {
32fe5131 17785 arg3 = static_cast<int >(SWIG_As_int(obj2));
e2950dbb
RD
17786 if (SWIG_arg_fail(3)) SWIG_fail;
17787 }
17788 }
d14a1e28 17789 {
e3b71cb8 17790 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 17791 PyThreadState* __tstate = wxPyBeginAllowThreads();
e2950dbb 17792 result = (wxBufferedPaintDC *)new wxBufferedPaintDC(arg1,(wxBitmap const &)*arg2,arg3);
d14a1e28
RD
17793
17794 wxPyEndAllowThreads(__tstate);
110da5b0 17795 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17796 }
093d3ff1 17797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedPaintDC, 1);
d14a1e28
RD
17798 return resultobj;
17799 fail:
17800 return NULL;
17801}
17802
17803
093d3ff1
RD
17804static PyObject * BufferedPaintDC_swigregister(PyObject *, PyObject *args) {
17805 PyObject *obj;
17806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17807 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC, obj);
17808 Py_INCREF(obj);
17809 return Py_BuildValue((char *)"");
17810}
17811static PyObject *_wrap_new_ScreenDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17812 PyObject *resultobj = NULL;
093d3ff1 17813 wxScreenDC *result;
d14a1e28 17814 char *kwnames[] = {
093d3ff1 17815 NULL
d14a1e28
RD
17816 };
17817
093d3ff1 17818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ScreenDC",kwnames)) goto fail;
d14a1e28 17819 {
093d3ff1 17820 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 17821 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17822 result = (wxScreenDC *)new wxScreenDC();
d14a1e28
RD
17823
17824 wxPyEndAllowThreads(__tstate);
17825 if (PyErr_Occurred()) SWIG_fail;
17826 }
093d3ff1 17827 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScreenDC, 1);
d14a1e28
RD
17828 return resultobj;
17829 fail:
17830 return NULL;
17831}
17832
17833
093d3ff1 17834static PyObject *_wrap_ScreenDC_StartDrawingOnTopWin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17835 PyObject *resultobj = NULL;
093d3ff1
RD
17836 wxScreenDC *arg1 = (wxScreenDC *) 0 ;
17837 wxWindow *arg2 = (wxWindow *) 0 ;
17838 bool result;
d14a1e28
RD
17839 PyObject * obj0 = 0 ;
17840 PyObject * obj1 = 0 ;
d14a1e28 17841 char *kwnames[] = {
093d3ff1 17842 (char *) "self",(char *) "window", NULL
d14a1e28
RD
17843 };
17844
093d3ff1
RD
17845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames,&obj0,&obj1)) goto fail;
17846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScreenDC, SWIG_POINTER_EXCEPTION | 0);
17847 if (SWIG_arg_fail(1)) SWIG_fail;
17848 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17849 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
17850 {
17851 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17852 result = (bool)(arg1)->StartDrawingOnTop(arg2);
d14a1e28
RD
17853
17854 wxPyEndAllowThreads(__tstate);
17855 if (PyErr_Occurred()) SWIG_fail;
17856 }
093d3ff1
RD
17857 {
17858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17859 }
d14a1e28
RD
17860 return resultobj;
17861 fail:
17862 return NULL;
17863}
17864
17865
093d3ff1 17866static PyObject *_wrap_ScreenDC_StartDrawingOnTop(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17867 PyObject *resultobj = NULL;
093d3ff1
RD
17868 wxScreenDC *arg1 = (wxScreenDC *) 0 ;
17869 wxRect *arg2 = (wxRect *) NULL ;
17870 bool result;
d14a1e28
RD
17871 PyObject * obj0 = 0 ;
17872 PyObject * obj1 = 0 ;
d14a1e28 17873 char *kwnames[] = {
093d3ff1 17874 (char *) "self",(char *) "rect", NULL
d14a1e28
RD
17875 };
17876
093d3ff1
RD
17877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames,&obj0,&obj1)) goto fail;
17878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScreenDC, SWIG_POINTER_EXCEPTION | 0);
17879 if (SWIG_arg_fail(1)) SWIG_fail;
17880 if (obj1) {
17881 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
17882 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
17883 }
17884 {
17885 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17886 result = (bool)(arg1)->StartDrawingOnTop(arg2);
d14a1e28
RD
17887
17888 wxPyEndAllowThreads(__tstate);
17889 if (PyErr_Occurred()) SWIG_fail;
17890 }
093d3ff1
RD
17891 {
17892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17893 }
d14a1e28
RD
17894 return resultobj;
17895 fail:
17896 return NULL;
17897}
17898
17899
093d3ff1 17900static PyObject *_wrap_ScreenDC_EndDrawingOnTop(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17901 PyObject *resultobj = NULL;
093d3ff1
RD
17902 wxScreenDC *arg1 = (wxScreenDC *) 0 ;
17903 bool result;
d14a1e28 17904 PyObject * obj0 = 0 ;
d14a1e28 17905 char *kwnames[] = {
093d3ff1 17906 (char *) "self", NULL
d14a1e28
RD
17907 };
17908
093d3ff1
RD
17909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames,&obj0)) goto fail;
17910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScreenDC, SWIG_POINTER_EXCEPTION | 0);
17911 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17912 {
17913 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17914 result = (bool)(arg1)->EndDrawingOnTop();
d14a1e28
RD
17915
17916 wxPyEndAllowThreads(__tstate);
17917 if (PyErr_Occurred()) SWIG_fail;
17918 }
093d3ff1
RD
17919 {
17920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17921 }
d14a1e28
RD
17922 return resultobj;
17923 fail:
17924 return NULL;
17925}
17926
17927
093d3ff1
RD
17928static PyObject * ScreenDC_swigregister(PyObject *, PyObject *args) {
17929 PyObject *obj;
17930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17931 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC, obj);
17932 Py_INCREF(obj);
17933 return Py_BuildValue((char *)"");
17934}
17935static PyObject *_wrap_new_ClientDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17936 PyObject *resultobj = NULL;
093d3ff1
RD
17937 wxWindow *arg1 = (wxWindow *) 0 ;
17938 wxClientDC *result;
d14a1e28 17939 PyObject * obj0 = 0 ;
d14a1e28 17940 char *kwnames[] = {
093d3ff1 17941 (char *) "win", NULL
d14a1e28
RD
17942 };
17943
093d3ff1
RD
17944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ClientDC",kwnames,&obj0)) goto fail;
17945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17946 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 17947 {
093d3ff1 17948 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 17949 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17950 result = (wxClientDC *)new wxClientDC(arg1);
d14a1e28
RD
17951
17952 wxPyEndAllowThreads(__tstate);
17953 if (PyErr_Occurred()) SWIG_fail;
17954 }
093d3ff1 17955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClientDC, 1);
d14a1e28
RD
17956 return resultobj;
17957 fail:
17958 return NULL;
17959}
17960
17961
093d3ff1
RD
17962static PyObject * ClientDC_swigregister(PyObject *, PyObject *args) {
17963 PyObject *obj;
17964 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17965 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC, obj);
17966 Py_INCREF(obj);
17967 return Py_BuildValue((char *)"");
17968}
17969static PyObject *_wrap_new_PaintDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17970 PyObject *resultobj = NULL;
093d3ff1
RD
17971 wxWindow *arg1 = (wxWindow *) 0 ;
17972 wxPaintDC *result;
d14a1e28 17973 PyObject * obj0 = 0 ;
d14a1e28 17974 char *kwnames[] = {
093d3ff1 17975 (char *) "win", NULL
d14a1e28
RD
17976 };
17977
093d3ff1
RD
17978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PaintDC",kwnames,&obj0)) goto fail;
17979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17980 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 17981 {
093d3ff1 17982 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 17983 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17984 result = (wxPaintDC *)new wxPaintDC(arg1);
d14a1e28
RD
17985
17986 wxPyEndAllowThreads(__tstate);
17987 if (PyErr_Occurred()) SWIG_fail;
17988 }
093d3ff1 17989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintDC, 1);
d14a1e28
RD
17990 return resultobj;
17991 fail:
17992 return NULL;
17993}
17994
17995
093d3ff1
RD
17996static PyObject * PaintDC_swigregister(PyObject *, PyObject *args) {
17997 PyObject *obj;
17998 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17999 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC, obj);
18000 Py_INCREF(obj);
18001 return Py_BuildValue((char *)"");
18002}
18003static PyObject *_wrap_new_WindowDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18004 PyObject *resultobj = NULL;
093d3ff1
RD
18005 wxWindow *arg1 = (wxWindow *) 0 ;
18006 wxWindowDC *result;
d14a1e28
RD
18007 PyObject * obj0 = 0 ;
18008 char *kwnames[] = {
093d3ff1 18009 (char *) "win", NULL
d14a1e28
RD
18010 };
18011
093d3ff1
RD
18012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_WindowDC",kwnames,&obj0)) goto fail;
18013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18014 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 18015 {
093d3ff1 18016 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 18017 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18018 result = (wxWindowDC *)new wxWindowDC(arg1);
d14a1e28
RD
18019
18020 wxPyEndAllowThreads(__tstate);
18021 if (PyErr_Occurred()) SWIG_fail;
18022 }
093d3ff1 18023 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDC, 1);
d14a1e28
RD
18024 return resultobj;
18025 fail:
18026 return NULL;
18027}
18028
18029
093d3ff1
RD
18030static PyObject * WindowDC_swigregister(PyObject *, PyObject *args) {
18031 PyObject *obj;
18032 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18033 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC, obj);
18034 Py_INCREF(obj);
18035 return Py_BuildValue((char *)"");
18036}
18037static PyObject *_wrap_new_MirrorDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18038 PyObject *resultobj = NULL;
093d3ff1
RD
18039 wxDC *arg1 = 0 ;
18040 bool arg2 ;
18041 wxMirrorDC *result;
d14a1e28 18042 PyObject * obj0 = 0 ;
994141e6 18043 PyObject * obj1 = 0 ;
d14a1e28 18044 char *kwnames[] = {
093d3ff1 18045 (char *) "dc",(char *) "mirror", NULL
d14a1e28
RD
18046 };
18047
093d3ff1
RD
18048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_MirrorDC",kwnames,&obj0,&obj1)) goto fail;
18049 {
18050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18051 if (SWIG_arg_fail(1)) SWIG_fail;
18052 if (arg1 == NULL) {
18053 SWIG_null_ref("wxDC");
18054 }
18055 if (SWIG_arg_fail(1)) SWIG_fail;
18056 }
18057 {
32fe5131 18058 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
18059 if (SWIG_arg_fail(2)) SWIG_fail;
18060 }
d14a1e28 18061 {
093d3ff1 18062 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 18063 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18064 result = (wxMirrorDC *)new wxMirrorDC(*arg1,arg2);
d14a1e28
RD
18065
18066 wxPyEndAllowThreads(__tstate);
18067 if (PyErr_Occurred()) SWIG_fail;
18068 }
093d3ff1
RD
18069 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMirrorDC, 1);
18070 return resultobj;
18071 fail:
18072 return NULL;
18073}
18074
18075
18076static PyObject * MirrorDC_swigregister(PyObject *, PyObject *args) {
18077 PyObject *obj;
18078 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18079 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC, obj);
18080 Py_INCREF(obj);
18081 return Py_BuildValue((char *)"");
18082}
18083static PyObject *_wrap_new_PostScriptDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18084 PyObject *resultobj = NULL;
093d3ff1
RD
18085 wxPrintData *arg1 = 0 ;
18086 wxPostScriptDC *result;
18087 PyObject * obj0 = 0 ;
18088 char *kwnames[] = {
18089 (char *) "printData", NULL
18090 };
18091
18092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PostScriptDC",kwnames,&obj0)) goto fail;
18093 {
18094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
18095 if (SWIG_arg_fail(1)) SWIG_fail;
18096 if (arg1 == NULL) {
18097 SWIG_null_ref("wxPrintData");
18098 }
18099 if (SWIG_arg_fail(1)) SWIG_fail;
18100 }
4f89f6a3 18101 {
093d3ff1
RD
18102 if (!wxPyCheckForApp()) SWIG_fail;
18103 PyThreadState* __tstate = wxPyBeginAllowThreads();
18104 result = (wxPostScriptDC *)new wxPostScriptDC((wxPrintData const &)*arg1);
18105
18106 wxPyEndAllowThreads(__tstate);
18107 if (PyErr_Occurred()) SWIG_fail;
4f89f6a3 18108 }
093d3ff1 18109 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPostScriptDC, 1);
d14a1e28
RD
18110 return resultobj;
18111 fail:
18112 return NULL;
18113}
18114
18115
093d3ff1 18116static PyObject *_wrap_PostScriptDC_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18117 PyObject *resultobj = NULL;
093d3ff1
RD
18118 wxPostScriptDC *arg1 = (wxPostScriptDC *) 0 ;
18119 wxPrintData *result;
d14a1e28
RD
18120 PyObject * obj0 = 0 ;
18121 char *kwnames[] = {
18122 (char *) "self", NULL
18123 };
18124
093d3ff1
RD
18125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PostScriptDC_GetPrintData",kwnames,&obj0)) goto fail;
18126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPostScriptDC, SWIG_POINTER_EXCEPTION | 0);
18127 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18128 {
18129 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1
RD
18130 {
18131 wxPrintData &_result_ref = (arg1)->GetPrintData();
18132 result = (wxPrintData *) &_result_ref;
18133 }
d14a1e28
RD
18134
18135 wxPyEndAllowThreads(__tstate);
18136 if (PyErr_Occurred()) SWIG_fail;
18137 }
093d3ff1 18138 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
18139 return resultobj;
18140 fail:
18141 return NULL;
18142}
18143
18144
093d3ff1 18145static PyObject *_wrap_PostScriptDC_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18146 PyObject *resultobj = NULL;
093d3ff1
RD
18147 wxPostScriptDC *arg1 = (wxPostScriptDC *) 0 ;
18148 wxPrintData *arg2 = 0 ;
d14a1e28 18149 PyObject * obj0 = 0 ;
994141e6 18150 PyObject * obj1 = 0 ;
d14a1e28 18151 char *kwnames[] = {
093d3ff1 18152 (char *) "self",(char *) "data", NULL
d14a1e28
RD
18153 };
18154
093d3ff1
RD
18155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostScriptDC_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
18156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPostScriptDC, SWIG_POINTER_EXCEPTION | 0);
18157 if (SWIG_arg_fail(1)) SWIG_fail;
18158 {
18159 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
18160 if (SWIG_arg_fail(2)) SWIG_fail;
18161 if (arg2 == NULL) {
18162 SWIG_null_ref("wxPrintData");
18163 }
18164 if (SWIG_arg_fail(2)) SWIG_fail;
18165 }
d14a1e28
RD
18166 {
18167 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18168 (arg1)->SetPrintData((wxPrintData const &)*arg2);
d14a1e28
RD
18169
18170 wxPyEndAllowThreads(__tstate);
18171 if (PyErr_Occurred()) SWIG_fail;
18172 }
18173 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
18174 return resultobj;
18175 fail:
18176 return NULL;
18177}
18178
18179
093d3ff1 18180static PyObject *_wrap_PostScriptDC_SetResolution(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18181 PyObject *resultobj = NULL;
093d3ff1
RD
18182 int arg1 ;
18183 PyObject * obj0 = 0 ;
18184 char *kwnames[] = {
18185 (char *) "ppi", NULL
18186 };
d14a1e28 18187
093d3ff1
RD
18188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PostScriptDC_SetResolution",kwnames,&obj0)) goto fail;
18189 {
32fe5131 18190 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
18191 if (SWIG_arg_fail(1)) SWIG_fail;
18192 }
18193 {
18194 PyThreadState* __tstate = wxPyBeginAllowThreads();
18195 wxPostScriptDC::SetResolution(arg1);
18196
18197 wxPyEndAllowThreads(__tstate);
18198 if (PyErr_Occurred()) SWIG_fail;
18199 }
18200 Py_INCREF(Py_None); resultobj = Py_None;
18201 return resultobj;
18202 fail:
18203 return NULL;
d14a1e28
RD
18204}
18205
18206
093d3ff1 18207static PyObject *_wrap_PostScriptDC_GetResolution(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18208 PyObject *resultobj = NULL;
093d3ff1
RD
18209 int result;
18210 char *kwnames[] = {
18211 NULL
18212 };
d14a1e28 18213
093d3ff1
RD
18214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PostScriptDC_GetResolution",kwnames)) goto fail;
18215 {
18216 PyThreadState* __tstate = wxPyBeginAllowThreads();
18217 result = (int)wxPostScriptDC::GetResolution();
18218
18219 wxPyEndAllowThreads(__tstate);
18220 if (PyErr_Occurred()) SWIG_fail;
18221 }
18222 {
32fe5131 18223 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1
RD
18224 }
18225 return resultobj;
18226 fail:
18227 return NULL;
d14a1e28
RD
18228}
18229
18230
093d3ff1
RD
18231static PyObject * PostScriptDC_swigregister(PyObject *, PyObject *args) {
18232 PyObject *obj;
18233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18234 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC, obj);
18235 Py_INCREF(obj);
18236 return Py_BuildValue((char *)"");
d14a1e28 18237}
093d3ff1 18238static PyObject *_wrap_new_MetaFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18239 PyObject *resultobj = NULL;
093d3ff1
RD
18240 wxString const &arg1_defvalue = wxPyEmptyString ;
18241 wxString *arg1 = (wxString *) &arg1_defvalue ;
18242 wxMetaFile *result;
18243 bool temp1 = false ;
18244 PyObject * obj0 = 0 ;
18245 char *kwnames[] = {
18246 (char *) "filename", NULL
18247 };
d14a1e28 18248
093d3ff1
RD
18249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MetaFile",kwnames,&obj0)) goto fail;
18250 if (obj0) {
18251 {
18252 arg1 = wxString_in_helper(obj0);
18253 if (arg1 == NULL) SWIG_fail;
18254 temp1 = true;
18255 }
18256 }
18257 {
18258 if (!wxPyCheckForApp()) SWIG_fail;
18259 PyThreadState* __tstate = wxPyBeginAllowThreads();
18260 result = (wxMetaFile *)new wxMetaFile((wxString const &)*arg1);
18261
18262 wxPyEndAllowThreads(__tstate);
18263 if (PyErr_Occurred()) SWIG_fail;
18264 }
18265 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetaFile, 1);
18266 {
18267 if (temp1)
18268 delete arg1;
18269 }
18270 return resultobj;
18271 fail:
18272 {
18273 if (temp1)
18274 delete arg1;
18275 }
18276 return NULL;
d14a1e28
RD
18277}
18278
18279
093d3ff1
RD
18280static PyObject * MetaFile_swigregister(PyObject *, PyObject *args) {
18281 PyObject *obj;
18282 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18283 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile, obj);
18284 Py_INCREF(obj);
18285 return Py_BuildValue((char *)"");
d14a1e28 18286}
093d3ff1 18287static PyObject *_wrap_new_MetaFileDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18288 PyObject *resultobj = NULL;
093d3ff1
RD
18289 wxString const &arg1_defvalue = wxPyEmptyString ;
18290 wxString *arg1 = (wxString *) &arg1_defvalue ;
18291 int arg2 = (int) 0 ;
18292 int arg3 = (int) 0 ;
18293 wxString const &arg4_defvalue = wxPyEmptyString ;
18294 wxString *arg4 = (wxString *) &arg4_defvalue ;
18295 wxMetaFileDC *result;
18296 bool temp1 = false ;
18297 bool temp4 = false ;
18298 PyObject * obj0 = 0 ;
18299 PyObject * obj1 = 0 ;
18300 PyObject * obj2 = 0 ;
18301 PyObject * obj3 = 0 ;
18302 char *kwnames[] = {
18303 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
18304 };
d14a1e28 18305
093d3ff1
RD
18306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_MetaFileDC",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18307 if (obj0) {
18308 {
18309 arg1 = wxString_in_helper(obj0);
18310 if (arg1 == NULL) SWIG_fail;
18311 temp1 = true;
18312 }
18313 }
18314 if (obj1) {
18315 {
32fe5131 18316 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
18317 if (SWIG_arg_fail(2)) SWIG_fail;
18318 }
18319 }
18320 if (obj2) {
18321 {
32fe5131 18322 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
18323 if (SWIG_arg_fail(3)) SWIG_fail;
18324 }
18325 }
18326 if (obj3) {
18327 {
18328 arg4 = wxString_in_helper(obj3);
18329 if (arg4 == NULL) SWIG_fail;
18330 temp4 = true;
18331 }
18332 }
18333 {
18334 if (!wxPyCheckForApp()) SWIG_fail;
18335 PyThreadState* __tstate = wxPyBeginAllowThreads();
18336 result = (wxMetaFileDC *)new wxMetaFileDC((wxString const &)*arg1,arg2,arg3,(wxString const &)*arg4);
18337
18338 wxPyEndAllowThreads(__tstate);
18339 if (PyErr_Occurred()) SWIG_fail;
18340 }
18341 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetaFileDC, 1);
18342 {
18343 if (temp1)
18344 delete arg1;
18345 }
18346 {
18347 if (temp4)
18348 delete arg4;
18349 }
18350 return resultobj;
18351 fail:
18352 {
18353 if (temp1)
18354 delete arg1;
18355 }
18356 {
18357 if (temp4)
18358 delete arg4;
18359 }
18360 return NULL;
d14a1e28
RD
18361}
18362
18363
093d3ff1
RD
18364static PyObject * MetaFileDC_swigregister(PyObject *, PyObject *args) {
18365 PyObject *obj;
18366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18367 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC, obj);
18368 Py_INCREF(obj);
18369 return Py_BuildValue((char *)"");
994141e6 18370}
093d3ff1 18371static PyObject *_wrap_new_PrinterDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18372 PyObject *resultobj = NULL;
093d3ff1
RD
18373 wxPrintData *arg1 = 0 ;
18374 wxPrinterDC *result;
18375 PyObject * obj0 = 0 ;
18376 char *kwnames[] = {
18377 (char *) "printData", NULL
18378 };
d14a1e28 18379
093d3ff1
RD
18380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PrinterDC",kwnames,&obj0)) goto fail;
18381 {
18382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
18383 if (SWIG_arg_fail(1)) SWIG_fail;
18384 if (arg1 == NULL) {
18385 SWIG_null_ref("wxPrintData");
18386 }
18387 if (SWIG_arg_fail(1)) SWIG_fail;
18388 }
18389 {
18390 if (!wxPyCheckForApp()) SWIG_fail;
18391 PyThreadState* __tstate = wxPyBeginAllowThreads();
18392 result = (wxPrinterDC *)new wxPrinterDC((wxPrintData const &)*arg1);
18393
18394 wxPyEndAllowThreads(__tstate);
18395 if (PyErr_Occurred()) SWIG_fail;
18396 }
18397 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinterDC, 1);
18398 return resultobj;
18399 fail:
18400 return NULL;
d14a1e28 18401}
994141e6
RD
18402
18403
093d3ff1
RD
18404static PyObject * PrinterDC_swigregister(PyObject *, PyObject *args) {
18405 PyObject *obj;
18406 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18407 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC, obj);
18408 Py_INCREF(obj);
18409 return Py_BuildValue((char *)"");
d14a1e28 18410}
093d3ff1 18411static PyObject *_wrap_new_ImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18412 PyObject *resultobj = NULL;
093d3ff1
RD
18413 int arg1 ;
18414 int arg2 ;
18415 int arg3 = (int) true ;
18416 int arg4 = (int) 1 ;
18417 wxImageList *result;
18418 PyObject * obj0 = 0 ;
18419 PyObject * obj1 = 0 ;
18420 PyObject * obj2 = 0 ;
18421 PyObject * obj3 = 0 ;
18422 char *kwnames[] = {
18423 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
18424 };
d14a1e28 18425
093d3ff1
RD
18426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_ImageList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18427 {
32fe5131 18428 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
18429 if (SWIG_arg_fail(1)) SWIG_fail;
18430 }
18431 {
32fe5131 18432 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
18433 if (SWIG_arg_fail(2)) SWIG_fail;
18434 }
18435 if (obj2) {
18436 {
32fe5131 18437 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
18438 if (SWIG_arg_fail(3)) SWIG_fail;
18439 }
18440 }
18441 if (obj3) {
18442 {
32fe5131 18443 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
18444 if (SWIG_arg_fail(4)) SWIG_fail;
18445 }
18446 }
18447 {
18448 if (!wxPyCheckForApp()) SWIG_fail;
18449 PyThreadState* __tstate = wxPyBeginAllowThreads();
18450 result = (wxImageList *)new wxImageList(arg1,arg2,arg3,arg4);
18451
18452 wxPyEndAllowThreads(__tstate);
18453 if (PyErr_Occurred()) SWIG_fail;
18454 }
18455 {
7e08d4ef 18456 resultobj = wxPyMake_wxObject(result, (bool)1);
093d3ff1
RD
18457 }
18458 return resultobj;
18459 fail:
18460 return NULL;
d14a1e28
RD
18461}
18462
18463
093d3ff1 18464static PyObject *_wrap_delete_ImageList(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18465 PyObject *resultobj = NULL;
093d3ff1
RD
18466 wxImageList *arg1 = (wxImageList *) 0 ;
18467 PyObject * obj0 = 0 ;
18468 char *kwnames[] = {
18469 (char *) "self", NULL
18470 };
d14a1e28 18471
093d3ff1
RD
18472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ImageList",kwnames,&obj0)) goto fail;
18473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
18474 if (SWIG_arg_fail(1)) SWIG_fail;
18475 {
18476 PyThreadState* __tstate = wxPyBeginAllowThreads();
18477 delete arg1;
18478
18479 wxPyEndAllowThreads(__tstate);
18480 if (PyErr_Occurred()) SWIG_fail;
18481 }
18482 Py_INCREF(Py_None); resultobj = Py_None;
18483 return resultobj;
18484 fail:
18485 return NULL;
d14a1e28
RD
18486}
18487
18488
093d3ff1 18489static PyObject *_wrap_ImageList_Add(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18490 PyObject *resultobj = NULL;
093d3ff1
RD
18491 wxImageList *arg1 = (wxImageList *) 0 ;
18492 wxBitmap *arg2 = 0 ;
18493 wxBitmap const &arg3_defvalue = wxNullBitmap ;
18494 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
18495 int result;
18496 PyObject * obj0 = 0 ;
18497 PyObject * obj1 = 0 ;
18498 PyObject * obj2 = 0 ;
18499 char *kwnames[] = {
18500 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
18501 };
d14a1e28 18502
093d3ff1
RD
18503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ImageList_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
18504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
18505 if (SWIG_arg_fail(1)) SWIG_fail;
18506 {
18507 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
18508 if (SWIG_arg_fail(2)) SWIG_fail;
18509 if (arg2 == NULL) {
18510 SWIG_null_ref("wxBitmap");
18511 }
18512 if (SWIG_arg_fail(2)) SWIG_fail;
18513 }
18514 if (obj2) {
18515 {
18516 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
18517 if (SWIG_arg_fail(3)) SWIG_fail;
18518 if (arg3 == NULL) {
18519 SWIG_null_ref("wxBitmap");
18520 }
18521 if (SWIG_arg_fail(3)) SWIG_fail;
18522 }
18523 }
18524 {
18525 PyThreadState* __tstate = wxPyBeginAllowThreads();
18526 result = (int)(arg1)->Add((wxBitmap const &)*arg2,(wxBitmap const &)*arg3);
18527
18528 wxPyEndAllowThreads(__tstate);
18529 if (PyErr_Occurred()) SWIG_fail;
18530 }
18531 {
32fe5131 18532 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1
RD
18533 }
18534 return resultobj;
18535 fail:
18536 return NULL;
d14a1e28
RD
18537}
18538
18539
093d3ff1 18540static PyObject *_wrap_ImageList_AddWithColourMask(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18541 PyObject *resultobj = NULL;
093d3ff1
RD
18542 wxImageList *arg1 = (wxImageList *) 0 ;
18543 wxBitmap *arg2 = 0 ;
18544 wxColour *arg3 = 0 ;
18545 int result;
18546 wxColour temp3 ;
18547 PyObject * obj0 = 0 ;
18548 PyObject * obj1 = 0 ;
18549 PyObject * obj2 = 0 ;
18550 char *kwnames[] = {
18551 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
18552 };
d14a1e28 18553
093d3ff1
RD
18554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageList_AddWithColourMask",kwnames,&obj0,&obj1,&obj2)) goto fail;
18555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
18556 if (SWIG_arg_fail(1)) SWIG_fail;
18557 {
18558 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
18559 if (SWIG_arg_fail(2)) SWIG_fail;
18560 if (arg2 == NULL) {
18561 SWIG_null_ref("wxBitmap");
18562 }
18563 if (SWIG_arg_fail(2)) SWIG_fail;
18564 }
18565 {
18566 arg3 = &temp3;
18567 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
18568 }
18569 {
18570 PyThreadState* __tstate = wxPyBeginAllowThreads();
18571 result = (int)(arg1)->Add((wxBitmap const &)*arg2,(wxColour const &)*arg3);
18572
18573 wxPyEndAllowThreads(__tstate);
18574 if (PyErr_Occurred()) SWIG_fail;
18575 }
18576 {
32fe5131 18577 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1
RD
18578 }
18579 return resultobj;
18580 fail:
18581 return NULL;
d14a1e28
RD
18582}
18583
18584
093d3ff1 18585static PyObject *_wrap_ImageList_AddIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18586 PyObject *resultobj = NULL;
093d3ff1
RD
18587 wxImageList *arg1 = (wxImageList *) 0 ;
18588 wxIcon *arg2 = 0 ;
18589 int result;
18590 PyObject * obj0 = 0 ;
18591 PyObject * obj1 = 0 ;
18592 char *kwnames[] = {
18593 (char *) "self",(char *) "icon", NULL
18594 };
994141e6 18595
093d3ff1
RD
18596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageList_AddIcon",kwnames,&obj0,&obj1)) goto fail;
18597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
18598 if (SWIG_arg_fail(1)) SWIG_fail;
18599 {
18600 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
18601 if (SWIG_arg_fail(2)) SWIG_fail;
18602 if (arg2 == NULL) {
18603 SWIG_null_ref("wxIcon");
18604 }
18605 if (SWIG_arg_fail(2)) SWIG_fail;
18606 }
18607 {
18608 PyThreadState* __tstate = wxPyBeginAllowThreads();
18609 result = (int)(arg1)->Add((wxIcon const &)*arg2);
18610
18611 wxPyEndAllowThreads(__tstate);
18612 if (PyErr_Occurred()) SWIG_fail;
18613 }
18614 {
32fe5131 18615 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1
RD
18616 }
18617 return resultobj;
18618 fail:
18619 return NULL;
d14a1e28
RD
18620}
18621
18622
b9d6a5f3 18623static PyObject *_wrap_ImageList_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18624 PyObject *resultobj = NULL;
b9d6a5f3
RD
18625 wxImageList *arg1 = (wxImageList *) 0 ;
18626 int arg2 ;
18627 SwigValueWrapper<wxBitmap > result;
18628 PyObject * obj0 = 0 ;
18629 PyObject * obj1 = 0 ;
18630 char *kwnames[] = {
18631 (char *) "self",(char *) "index", NULL
18632 };
18633
18634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageList_GetBitmap",kwnames,&obj0,&obj1)) goto fail;
18635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
18636 if (SWIG_arg_fail(1)) SWIG_fail;
18637 {
32fe5131 18638 arg2 = static_cast<int >(SWIG_As_int(obj1));
b9d6a5f3
RD
18639 if (SWIG_arg_fail(2)) SWIG_fail;
18640 }
18641 {
18642 PyThreadState* __tstate = wxPyBeginAllowThreads();
18643 result = ((wxImageList const *)arg1)->GetBitmap(arg2);
18644
18645 wxPyEndAllowThreads(__tstate);
18646 if (PyErr_Occurred()) SWIG_fail;
18647 }
18648 {
18649 wxBitmap * resultptr;
32fe5131 18650 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
b9d6a5f3
RD
18651 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18652 }
18653 return resultobj;
18654 fail:
18655 return NULL;
18656}
18657
18658
18659static PyObject *_wrap_ImageList_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18660 PyObject *resultobj = NULL;
b9d6a5f3
RD
18661 wxImageList *arg1 = (wxImageList *) 0 ;
18662 int arg2 ;
18663 wxIcon result;
18664 PyObject * obj0 = 0 ;
18665 PyObject * obj1 = 0 ;
18666 char *kwnames[] = {
18667 (char *) "self",(char *) "index", NULL
18668 };
18669
18670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageList_GetIcon",kwnames,&obj0,&obj1)) goto fail;
18671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
18672 if (SWIG_arg_fail(1)) SWIG_fail;
18673 {
32fe5131 18674 arg2 = static_cast<int >(SWIG_As_int(obj1));
b9d6a5f3
RD
18675 if (SWIG_arg_fail(2)) SWIG_fail;
18676 }
18677 {
18678 PyThreadState* __tstate = wxPyBeginAllowThreads();
18679 result = ((wxImageList const *)arg1)->GetIcon(arg2);
18680
18681 wxPyEndAllowThreads(__tstate);
18682 if (PyErr_Occurred()) SWIG_fail;
18683 }
18684 {
18685 wxIcon * resultptr;
32fe5131 18686 resultptr = new wxIcon(static_cast<wxIcon & >(result));
b9d6a5f3
RD
18687 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
18688 }
18689 return resultobj;
18690 fail:
18691 return NULL;
18692}
18693
18694
093d3ff1 18695static PyObject *_wrap_ImageList_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18696 PyObject *resultobj = NULL;
093d3ff1
RD
18697 wxImageList *arg1 = (wxImageList *) 0 ;
18698 int arg2 ;
18699 wxBitmap *arg3 = 0 ;
18700 bool result;
18701 PyObject * obj0 = 0 ;
18702 PyObject * obj1 = 0 ;
18703 PyObject * obj2 = 0 ;
18704 char *kwnames[] = {
18705 (char *) "self",(char *) "index",(char *) "bitmap", NULL
18706 };
d14a1e28 18707
093d3ff1
RD
18708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageList_Replace",kwnames,&obj0,&obj1,&obj2)) goto fail;
18709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
18710 if (SWIG_arg_fail(1)) SWIG_fail;
18711 {
32fe5131 18712 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
18713 if (SWIG_arg_fail(2)) SWIG_fail;
18714 }
18715 {
18716 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
18717 if (SWIG_arg_fail(3)) SWIG_fail;
18718 if (arg3 == NULL) {
18719 SWIG_null_ref("wxBitmap");
18720 }
18721 if (SWIG_arg_fail(3)) SWIG_fail;
18722 }
18723 {
18724 PyThreadState* __tstate = wxPyBeginAllowThreads();
18725 result = (bool)(arg1)->Replace(arg2,(wxBitmap const &)*arg3);
18726
18727 wxPyEndAllowThreads(__tstate);
18728 if (PyErr_Occurred()) SWIG_fail;
18729 }
18730 {
18731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18732 }
18733 return resultobj;
18734 fail:
18735 return NULL;
d14a1e28
RD
18736}
18737
18738
093d3ff1 18739static PyObject *_wrap_ImageList_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18740 PyObject *resultobj = NULL;
093d3ff1
RD
18741 wxImageList *arg1 = (wxImageList *) 0 ;
18742 int arg2 ;
18743 wxDC *arg3 = 0 ;
18744 int arg4 ;
18745 int arg5 ;
18746 int arg6 = (int) wxIMAGELIST_DRAW_NORMAL ;
18747 bool arg7 = (bool) (bool)false ;
18748 bool result;
18749 PyObject * obj0 = 0 ;
18750 PyObject * obj1 = 0 ;
18751 PyObject * obj2 = 0 ;
18752 PyObject * obj3 = 0 ;
18753 PyObject * obj4 = 0 ;
18754 PyObject * obj5 = 0 ;
18755 PyObject * obj6 = 0 ;
18756 char *kwnames[] = {
18757 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
18758 };
18759
18760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:ImageList_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
18762 if (SWIG_arg_fail(1)) SWIG_fail;
18763 {
32fe5131 18764 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
18765 if (SWIG_arg_fail(2)) SWIG_fail;
18766 }
18767 {
18768 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18769 if (SWIG_arg_fail(3)) SWIG_fail;
18770 if (arg3 == NULL) {
18771 SWIG_null_ref("wxDC");
18772 }
18773 if (SWIG_arg_fail(3)) SWIG_fail;
18774 }
18775 {
32fe5131 18776 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
18777 if (SWIG_arg_fail(4)) SWIG_fail;
18778 }
18779 {
32fe5131 18780 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
18781 if (SWIG_arg_fail(5)) SWIG_fail;
18782 }
18783 if (obj5) {
18784 {
32fe5131 18785 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
18786 if (SWIG_arg_fail(6)) SWIG_fail;
18787 }
18788 }
18789 if (obj6) {
18790 {
32fe5131 18791 arg7 = static_cast<bool const >(SWIG_As_bool(obj6));
093d3ff1
RD
18792 if (SWIG_arg_fail(7)) SWIG_fail;
18793 }
18794 }
18795 {
18796 PyThreadState* __tstate = wxPyBeginAllowThreads();
18797 result = (bool)(arg1)->Draw(arg2,*arg3,arg4,arg5,arg6,arg7);
18798
18799 wxPyEndAllowThreads(__tstate);
18800 if (PyErr_Occurred()) SWIG_fail;
18801 }
18802 {
18803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18804 }
18805 return resultobj;
18806 fail:
18807 return NULL;
d14a1e28
RD
18808}
18809
18810
093d3ff1 18811static PyObject *_wrap_ImageList_GetImageCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18812 PyObject *resultobj = NULL;
093d3ff1
RD
18813 wxImageList *arg1 = (wxImageList *) 0 ;
18814 int result;
18815 PyObject * obj0 = 0 ;
18816 char *kwnames[] = {
18817 (char *) "self", NULL
18818 };
d14a1e28 18819
093d3ff1
RD
18820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageList_GetImageCount",kwnames,&obj0)) goto fail;
18821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
18822 if (SWIG_arg_fail(1)) SWIG_fail;
18823 {
18824 PyThreadState* __tstate = wxPyBeginAllowThreads();
18825 result = (int)(arg1)->GetImageCount();
18826
18827 wxPyEndAllowThreads(__tstate);
18828 if (PyErr_Occurred()) SWIG_fail;
18829 }
18830 {
32fe5131 18831 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1
RD
18832 }
18833 return resultobj;
18834 fail:
18835 return NULL;
d14a1e28
RD
18836}
18837
18838
093d3ff1 18839static PyObject *_wrap_ImageList_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18840 PyObject *resultobj = NULL;
093d3ff1
RD
18841 wxImageList *arg1 = (wxImageList *) 0 ;
18842 int arg2 ;
18843 bool result;
18844 PyObject * obj0 = 0 ;
18845 PyObject * obj1 = 0 ;
18846 char *kwnames[] = {
18847 (char *) "self",(char *) "index", NULL
18848 };
18849
18850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageList_Remove",kwnames,&obj0,&obj1)) goto fail;
18851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
18852 if (SWIG_arg_fail(1)) SWIG_fail;
18853 {
32fe5131 18854 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
18855 if (SWIG_arg_fail(2)) SWIG_fail;
18856 }
18857 {
18858 PyThreadState* __tstate = wxPyBeginAllowThreads();
18859 result = (bool)(arg1)->Remove(arg2);
18860
18861 wxPyEndAllowThreads(__tstate);
18862 if (PyErr_Occurred()) SWIG_fail;
18863 }
18864 {
18865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18866 }
18867 return resultobj;
18868 fail:
18869 return NULL;
d14a1e28
RD
18870}
18871
18872
093d3ff1 18873static PyObject *_wrap_ImageList_RemoveAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18874 PyObject *resultobj = NULL;
093d3ff1
RD
18875 wxImageList *arg1 = (wxImageList *) 0 ;
18876 bool result;
18877 PyObject * obj0 = 0 ;
18878 char *kwnames[] = {
18879 (char *) "self", NULL
18880 };
d14a1e28 18881
093d3ff1
RD
18882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageList_RemoveAll",kwnames,&obj0)) goto fail;
18883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
18884 if (SWIG_arg_fail(1)) SWIG_fail;
18885 {
18886 PyThreadState* __tstate = wxPyBeginAllowThreads();
18887 result = (bool)(arg1)->RemoveAll();
18888
18889 wxPyEndAllowThreads(__tstate);
18890 if (PyErr_Occurred()) SWIG_fail;
18891 }
18892 {
18893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18894 }
18895 return resultobj;
18896 fail:
18897 return NULL;
d14a1e28
RD
18898}
18899
18900
093d3ff1 18901static PyObject *_wrap_ImageList_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18902 PyObject *resultobj = NULL;
093d3ff1
RD
18903 wxImageList *arg1 = (wxImageList *) 0 ;
18904 int arg2 ;
18905 int *arg3 = 0 ;
18906 int *arg4 = 0 ;
18907 int temp3 ;
18908 int res3 = 0 ;
18909 int temp4 ;
18910 int res4 = 0 ;
18911 PyObject * obj0 = 0 ;
18912 PyObject * obj1 = 0 ;
18913 char *kwnames[] = {
18914 (char *) "self",(char *) "index", NULL
18915 };
18916
18917 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18918 arg4 = &temp4; res4 = SWIG_NEWOBJ;
18919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageList_GetSize",kwnames,&obj0,&obj1)) goto fail;
18920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
18921 if (SWIG_arg_fail(1)) SWIG_fail;
18922 {
32fe5131 18923 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
18924 if (SWIG_arg_fail(2)) SWIG_fail;
18925 }
18926 {
18927 PyThreadState* __tstate = wxPyBeginAllowThreads();
18928 (arg1)->GetSize(arg2,*arg3,*arg4);
18929
18930 wxPyEndAllowThreads(__tstate);
18931 if (PyErr_Occurred()) SWIG_fail;
18932 }
18933 Py_INCREF(Py_None); resultobj = Py_None;
18934 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18935 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18936 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
18937 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
18938 return resultobj;
18939 fail:
18940 return NULL;
18941}
18942
18943
18944static PyObject * ImageList_swigregister(PyObject *, PyObject *args) {
18945 PyObject *obj;
18946 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18947 SWIG_TypeClientData(SWIGTYPE_p_wxImageList, obj);
18948 Py_INCREF(obj);
18949 return Py_BuildValue((char *)"");
18950}
18951static int _wrap_NORMAL_FONT_set(PyObject *) {
18952 PyErr_SetString(PyExc_TypeError,"Variable NORMAL_FONT is read-only.");
d14a1e28
RD
18953 return 1;
18954}
18955
18956
093d3ff1 18957static PyObject *_wrap_NORMAL_FONT_get(void) {
32fe5131 18958 PyObject *pyobj = NULL;
d14a1e28 18959
093d3ff1 18960 pyobj = SWIG_NewPointerObj((void *)(wxNORMAL_FONT), SWIGTYPE_p_wxFont, 0);
d14a1e28
RD
18961 return pyobj;
18962}
18963
18964
093d3ff1
RD
18965static int _wrap_SMALL_FONT_set(PyObject *) {
18966 PyErr_SetString(PyExc_TypeError,"Variable SMALL_FONT is read-only.");
d14a1e28
RD
18967 return 1;
18968}
18969
18970
093d3ff1 18971static PyObject *_wrap_SMALL_FONT_get(void) {
32fe5131 18972 PyObject *pyobj = NULL;
d14a1e28 18973
093d3ff1 18974 pyobj = SWIG_NewPointerObj((void *)(wxSMALL_FONT), SWIGTYPE_p_wxFont, 0);
d14a1e28
RD
18975 return pyobj;
18976}
18977
18978
093d3ff1
RD
18979static int _wrap_ITALIC_FONT_set(PyObject *) {
18980 PyErr_SetString(PyExc_TypeError,"Variable ITALIC_FONT is read-only.");
d14a1e28
RD
18981 return 1;
18982}
18983
18984
093d3ff1 18985static PyObject *_wrap_ITALIC_FONT_get(void) {
32fe5131 18986 PyObject *pyobj = NULL;
d14a1e28 18987
093d3ff1 18988 pyobj = SWIG_NewPointerObj((void *)(wxITALIC_FONT), SWIGTYPE_p_wxFont, 0);
d14a1e28
RD
18989 return pyobj;
18990}
18991
18992
093d3ff1
RD
18993static int _wrap_SWISS_FONT_set(PyObject *) {
18994 PyErr_SetString(PyExc_TypeError,"Variable SWISS_FONT is read-only.");
d14a1e28
RD
18995 return 1;
18996}
18997
18998
093d3ff1 18999static PyObject *_wrap_SWISS_FONT_get(void) {
32fe5131 19000 PyObject *pyobj = NULL;
d14a1e28 19001
093d3ff1 19002 pyobj = SWIG_NewPointerObj((void *)(wxSWISS_FONT), SWIGTYPE_p_wxFont, 0);
d14a1e28
RD
19003 return pyobj;
19004}
19005
19006
093d3ff1
RD
19007static int _wrap_RED_PEN_set(PyObject *) {
19008 PyErr_SetString(PyExc_TypeError,"Variable RED_PEN is read-only.");
d14a1e28
RD
19009 return 1;
19010}
19011
19012
093d3ff1 19013static PyObject *_wrap_RED_PEN_get(void) {
32fe5131 19014 PyObject *pyobj = NULL;
d14a1e28 19015
093d3ff1 19016 pyobj = SWIG_NewPointerObj((void *)(wxRED_PEN), SWIGTYPE_p_wxPen, 0);
d14a1e28
RD
19017 return pyobj;
19018}
19019
19020
093d3ff1
RD
19021static int _wrap_CYAN_PEN_set(PyObject *) {
19022 PyErr_SetString(PyExc_TypeError,"Variable CYAN_PEN is read-only.");
d14a1e28
RD
19023 return 1;
19024}
19025
19026
093d3ff1 19027static PyObject *_wrap_CYAN_PEN_get(void) {
32fe5131 19028 PyObject *pyobj = NULL;
d14a1e28 19029
093d3ff1 19030 pyobj = SWIG_NewPointerObj((void *)(wxCYAN_PEN), SWIGTYPE_p_wxPen, 0);
d14a1e28
RD
19031 return pyobj;
19032}
19033
19034
093d3ff1
RD
19035static int _wrap_GREEN_PEN_set(PyObject *) {
19036 PyErr_SetString(PyExc_TypeError,"Variable GREEN_PEN is read-only.");
d14a1e28
RD
19037 return 1;
19038}
19039
19040
093d3ff1 19041static PyObject *_wrap_GREEN_PEN_get(void) {
32fe5131 19042 PyObject *pyobj = NULL;
d14a1e28 19043
093d3ff1 19044 pyobj = SWIG_NewPointerObj((void *)(wxGREEN_PEN), SWIGTYPE_p_wxPen, 0);
d14a1e28
RD
19045 return pyobj;
19046}
19047
19048
093d3ff1
RD
19049static int _wrap_BLACK_PEN_set(PyObject *) {
19050 PyErr_SetString(PyExc_TypeError,"Variable BLACK_PEN is read-only.");
d14a1e28
RD
19051 return 1;
19052}
19053
19054
093d3ff1 19055static PyObject *_wrap_BLACK_PEN_get(void) {
32fe5131 19056 PyObject *pyobj = NULL;
d14a1e28 19057
093d3ff1 19058 pyobj = SWIG_NewPointerObj((void *)(wxBLACK_PEN), SWIGTYPE_p_wxPen, 0);
d14a1e28
RD
19059 return pyobj;
19060}
19061
19062
093d3ff1
RD
19063static int _wrap_WHITE_PEN_set(PyObject *) {
19064 PyErr_SetString(PyExc_TypeError,"Variable WHITE_PEN is read-only.");
d14a1e28
RD
19065 return 1;
19066}
19067
19068
093d3ff1 19069static PyObject *_wrap_WHITE_PEN_get(void) {
32fe5131 19070 PyObject *pyobj = NULL;
d14a1e28 19071
093d3ff1 19072 pyobj = SWIG_NewPointerObj((void *)(wxWHITE_PEN), SWIGTYPE_p_wxPen, 0);
d14a1e28
RD
19073 return pyobj;
19074}
19075
19076
093d3ff1
RD
19077static int _wrap_TRANSPARENT_PEN_set(PyObject *) {
19078 PyErr_SetString(PyExc_TypeError,"Variable TRANSPARENT_PEN is read-only.");
d14a1e28
RD
19079 return 1;
19080}
19081
19082
093d3ff1 19083static PyObject *_wrap_TRANSPARENT_PEN_get(void) {
32fe5131 19084 PyObject *pyobj = NULL;
d14a1e28 19085
093d3ff1 19086 pyobj = SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN), SWIGTYPE_p_wxPen, 0);
d14a1e28
RD
19087 return pyobj;
19088}
19089
19090
093d3ff1
RD
19091static int _wrap_BLACK_DASHED_PEN_set(PyObject *) {
19092 PyErr_SetString(PyExc_TypeError,"Variable BLACK_DASHED_PEN is read-only.");
d14a1e28
RD
19093 return 1;
19094}
19095
19096
093d3ff1 19097static PyObject *_wrap_BLACK_DASHED_PEN_get(void) {
32fe5131 19098 PyObject *pyobj = NULL;
d14a1e28 19099
093d3ff1 19100 pyobj = SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN), SWIGTYPE_p_wxPen, 0);
d14a1e28
RD
19101 return pyobj;
19102}
19103
19104
093d3ff1
RD
19105static int _wrap_GREY_PEN_set(PyObject *) {
19106 PyErr_SetString(PyExc_TypeError,"Variable GREY_PEN is read-only.");
d14a1e28
RD
19107 return 1;
19108}
19109
19110
093d3ff1 19111static PyObject *_wrap_GREY_PEN_get(void) {
32fe5131 19112 PyObject *pyobj = NULL;
d14a1e28 19113
093d3ff1 19114 pyobj = SWIG_NewPointerObj((void *)(wxGREY_PEN), SWIGTYPE_p_wxPen, 0);
d14a1e28
RD
19115 return pyobj;
19116}
19117
19118
093d3ff1
RD
19119static int _wrap_MEDIUM_GREY_PEN_set(PyObject *) {
19120 PyErr_SetString(PyExc_TypeError,"Variable MEDIUM_GREY_PEN is read-only.");
d14a1e28
RD
19121 return 1;
19122}
19123
19124
093d3ff1 19125static PyObject *_wrap_MEDIUM_GREY_PEN_get(void) {
32fe5131 19126 PyObject *pyobj = NULL;
d14a1e28 19127
093d3ff1
RD
19128 pyobj = SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN), SWIGTYPE_p_wxPen, 0);
19129 return pyobj;
19130}
19131
19132
19133static int _wrap_LIGHT_GREY_PEN_set(PyObject *) {
19134 PyErr_SetString(PyExc_TypeError,"Variable LIGHT_GREY_PEN is read-only.");
19135 return 1;
19136}
19137
19138
19139static PyObject *_wrap_LIGHT_GREY_PEN_get(void) {
32fe5131 19140 PyObject *pyobj = NULL;
093d3ff1
RD
19141
19142 pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN), SWIGTYPE_p_wxPen, 0);
19143 return pyobj;
19144}
19145
19146
19147static int _wrap_BLUE_BRUSH_set(PyObject *) {
19148 PyErr_SetString(PyExc_TypeError,"Variable BLUE_BRUSH is read-only.");
19149 return 1;
19150}
19151
19152
19153static PyObject *_wrap_BLUE_BRUSH_get(void) {
32fe5131 19154 PyObject *pyobj = NULL;
093d3ff1
RD
19155
19156 pyobj = SWIG_NewPointerObj((void *)(wxBLUE_BRUSH), SWIGTYPE_p_wxBrush, 0);
19157 return pyobj;
19158}
19159
19160
19161static int _wrap_GREEN_BRUSH_set(PyObject *) {
19162 PyErr_SetString(PyExc_TypeError,"Variable GREEN_BRUSH is read-only.");
19163 return 1;
19164}
19165
19166
19167static PyObject *_wrap_GREEN_BRUSH_get(void) {
32fe5131 19168 PyObject *pyobj = NULL;
093d3ff1
RD
19169
19170 pyobj = SWIG_NewPointerObj((void *)(wxGREEN_BRUSH), SWIGTYPE_p_wxBrush, 0);
19171 return pyobj;
19172}
19173
19174
19175static int _wrap_WHITE_BRUSH_set(PyObject *) {
19176 PyErr_SetString(PyExc_TypeError,"Variable WHITE_BRUSH is read-only.");
19177 return 1;
19178}
19179
19180
19181static PyObject *_wrap_WHITE_BRUSH_get(void) {
32fe5131 19182 PyObject *pyobj = NULL;
093d3ff1
RD
19183
19184 pyobj = SWIG_NewPointerObj((void *)(wxWHITE_BRUSH), SWIGTYPE_p_wxBrush, 0);
19185 return pyobj;
19186}
19187
19188
19189static int _wrap_BLACK_BRUSH_set(PyObject *) {
19190 PyErr_SetString(PyExc_TypeError,"Variable BLACK_BRUSH is read-only.");
19191 return 1;
19192}
19193
19194
19195static PyObject *_wrap_BLACK_BRUSH_get(void) {
32fe5131 19196 PyObject *pyobj = NULL;
093d3ff1
RD
19197
19198 pyobj = SWIG_NewPointerObj((void *)(wxBLACK_BRUSH), SWIGTYPE_p_wxBrush, 0);
19199 return pyobj;
19200}
19201
19202
19203static int _wrap_TRANSPARENT_BRUSH_set(PyObject *) {
19204 PyErr_SetString(PyExc_TypeError,"Variable TRANSPARENT_BRUSH is read-only.");
19205 return 1;
19206}
19207
19208
19209static PyObject *_wrap_TRANSPARENT_BRUSH_get(void) {
32fe5131 19210 PyObject *pyobj = NULL;
093d3ff1
RD
19211
19212 pyobj = SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH), SWIGTYPE_p_wxBrush, 0);
19213 return pyobj;
19214}
19215
19216
19217static int _wrap_CYAN_BRUSH_set(PyObject *) {
19218 PyErr_SetString(PyExc_TypeError,"Variable CYAN_BRUSH is read-only.");
19219 return 1;
19220}
19221
19222
19223static PyObject *_wrap_CYAN_BRUSH_get(void) {
32fe5131 19224 PyObject *pyobj = NULL;
093d3ff1
RD
19225
19226 pyobj = SWIG_NewPointerObj((void *)(wxCYAN_BRUSH), SWIGTYPE_p_wxBrush, 0);
19227 return pyobj;
19228}
19229
19230
19231static int _wrap_RED_BRUSH_set(PyObject *) {
19232 PyErr_SetString(PyExc_TypeError,"Variable RED_BRUSH is read-only.");
19233 return 1;
19234}
19235
19236
19237static PyObject *_wrap_RED_BRUSH_get(void) {
32fe5131 19238 PyObject *pyobj = NULL;
093d3ff1
RD
19239
19240 pyobj = SWIG_NewPointerObj((void *)(wxRED_BRUSH), SWIGTYPE_p_wxBrush, 0);
19241 return pyobj;
19242}
19243
19244
19245static int _wrap_GREY_BRUSH_set(PyObject *) {
19246 PyErr_SetString(PyExc_TypeError,"Variable GREY_BRUSH is read-only.");
19247 return 1;
19248}
19249
19250
19251static PyObject *_wrap_GREY_BRUSH_get(void) {
32fe5131 19252 PyObject *pyobj = NULL;
093d3ff1
RD
19253
19254 pyobj = SWIG_NewPointerObj((void *)(wxGREY_BRUSH), SWIGTYPE_p_wxBrush, 0);
19255 return pyobj;
19256}
19257
19258
19259static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject *) {
19260 PyErr_SetString(PyExc_TypeError,"Variable MEDIUM_GREY_BRUSH is read-only.");
19261 return 1;
19262}
19263
19264
19265static PyObject *_wrap_MEDIUM_GREY_BRUSH_get(void) {
32fe5131 19266 PyObject *pyobj = NULL;
093d3ff1
RD
19267
19268 pyobj = SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH), SWIGTYPE_p_wxBrush, 0);
19269 return pyobj;
19270}
19271
19272
19273static int _wrap_LIGHT_GREY_BRUSH_set(PyObject *) {
19274 PyErr_SetString(PyExc_TypeError,"Variable LIGHT_GREY_BRUSH is read-only.");
19275 return 1;
19276}
19277
19278
19279static PyObject *_wrap_LIGHT_GREY_BRUSH_get(void) {
32fe5131 19280 PyObject *pyobj = NULL;
093d3ff1
RD
19281
19282 pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH), SWIGTYPE_p_wxBrush, 0);
19283 return pyobj;
19284}
19285
19286
19287static int _wrap_BLACK_set(PyObject *) {
19288 PyErr_SetString(PyExc_TypeError,"Variable BLACK is read-only.");
19289 return 1;
19290}
19291
19292
19293static PyObject *_wrap_BLACK_get(void) {
32fe5131 19294 PyObject *pyobj = NULL;
093d3ff1
RD
19295
19296 pyobj = SWIG_NewPointerObj((void *)(wxBLACK), SWIGTYPE_p_wxColour, 0);
19297 return pyobj;
19298}
19299
19300
19301static int _wrap_WHITE_set(PyObject *) {
19302 PyErr_SetString(PyExc_TypeError,"Variable WHITE is read-only.");
19303 return 1;
19304}
19305
19306
19307static PyObject *_wrap_WHITE_get(void) {
32fe5131 19308 PyObject *pyobj = NULL;
093d3ff1
RD
19309
19310 pyobj = SWIG_NewPointerObj((void *)(wxWHITE), SWIGTYPE_p_wxColour, 0);
19311 return pyobj;
19312}
19313
19314
19315static int _wrap_RED_set(PyObject *) {
19316 PyErr_SetString(PyExc_TypeError,"Variable RED is read-only.");
19317 return 1;
19318}
19319
19320
19321static PyObject *_wrap_RED_get(void) {
32fe5131 19322 PyObject *pyobj = NULL;
093d3ff1
RD
19323
19324 pyobj = SWIG_NewPointerObj((void *)(wxRED), SWIGTYPE_p_wxColour, 0);
19325 return pyobj;
19326}
19327
19328
19329static int _wrap_BLUE_set(PyObject *) {
19330 PyErr_SetString(PyExc_TypeError,"Variable BLUE is read-only.");
19331 return 1;
19332}
19333
19334
19335static PyObject *_wrap_BLUE_get(void) {
32fe5131 19336 PyObject *pyobj = NULL;
093d3ff1
RD
19337
19338 pyobj = SWIG_NewPointerObj((void *)(wxBLUE), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
19339 return pyobj;
19340}
19341
19342
c32bde28 19343static int _wrap_GREEN_set(PyObject *) {
994141e6 19344 PyErr_SetString(PyExc_TypeError,"Variable GREEN is read-only.");
d14a1e28
RD
19345 return 1;
19346}
19347
19348
093d3ff1 19349static PyObject *_wrap_GREEN_get(void) {
32fe5131 19350 PyObject *pyobj = NULL;
d14a1e28 19351
15afbcd0 19352 pyobj = SWIG_NewPointerObj((void *)(wxGREEN), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
19353 return pyobj;
19354}
19355
19356
c32bde28 19357static int _wrap_CYAN_set(PyObject *) {
994141e6 19358 PyErr_SetString(PyExc_TypeError,"Variable CYAN is read-only.");
d14a1e28
RD
19359 return 1;
19360}
19361
19362
093d3ff1 19363static PyObject *_wrap_CYAN_get(void) {
32fe5131 19364 PyObject *pyobj = NULL;
d14a1e28 19365
15afbcd0 19366 pyobj = SWIG_NewPointerObj((void *)(wxCYAN), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
19367 return pyobj;
19368}
19369
19370
c32bde28 19371static int _wrap_LIGHT_GREY_set(PyObject *) {
994141e6 19372 PyErr_SetString(PyExc_TypeError,"Variable LIGHT_GREY is read-only.");
d14a1e28
RD
19373 return 1;
19374}
19375
19376
093d3ff1 19377static PyObject *_wrap_LIGHT_GREY_get(void) {
32fe5131 19378 PyObject *pyobj = NULL;
d14a1e28 19379
15afbcd0 19380 pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
19381 return pyobj;
19382}
19383
19384
c32bde28 19385static int _wrap_STANDARD_CURSOR_set(PyObject *) {
994141e6 19386 PyErr_SetString(PyExc_TypeError,"Variable STANDARD_CURSOR is read-only.");
d14a1e28
RD
19387 return 1;
19388}
19389
19390
093d3ff1 19391static PyObject *_wrap_STANDARD_CURSOR_get(void) {
32fe5131 19392 PyObject *pyobj = NULL;
d14a1e28 19393
15afbcd0 19394 pyobj = SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR), SWIGTYPE_p_wxCursor, 0);
d14a1e28
RD
19395 return pyobj;
19396}
19397
19398
c32bde28 19399static int _wrap_HOURGLASS_CURSOR_set(PyObject *) {
994141e6 19400 PyErr_SetString(PyExc_TypeError,"Variable HOURGLASS_CURSOR is read-only.");
d14a1e28
RD
19401 return 1;
19402}
19403
19404
093d3ff1 19405static PyObject *_wrap_HOURGLASS_CURSOR_get(void) {
32fe5131 19406 PyObject *pyobj = NULL;
d14a1e28 19407
15afbcd0 19408 pyobj = SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR), SWIGTYPE_p_wxCursor, 0);
d14a1e28
RD
19409 return pyobj;
19410}
19411
19412
c32bde28 19413static int _wrap_CROSS_CURSOR_set(PyObject *) {
994141e6 19414 PyErr_SetString(PyExc_TypeError,"Variable CROSS_CURSOR is read-only.");
d14a1e28
RD
19415 return 1;
19416}
19417
19418
093d3ff1 19419static PyObject *_wrap_CROSS_CURSOR_get(void) {
32fe5131 19420 PyObject *pyobj = NULL;
d14a1e28 19421
15afbcd0 19422 pyobj = SWIG_NewPointerObj((void *)(wxCROSS_CURSOR), SWIGTYPE_p_wxCursor, 0);
d14a1e28
RD
19423 return pyobj;
19424}
19425
19426
c32bde28 19427static int _wrap_NullBitmap_set(PyObject *) {
994141e6 19428 PyErr_SetString(PyExc_TypeError,"Variable NullBitmap is read-only.");
d14a1e28
RD
19429 return 1;
19430}
19431
19432
093d3ff1 19433static PyObject *_wrap_NullBitmap_get(void) {
32fe5131 19434 PyObject *pyobj = NULL;
d14a1e28 19435
15afbcd0 19436 pyobj = SWIG_NewPointerObj((void *)(&wxNullBitmap), SWIGTYPE_p_wxBitmap, 0);
d14a1e28
RD
19437 return pyobj;
19438}
19439
19440
c32bde28 19441static int _wrap_NullIcon_set(PyObject *) {
994141e6 19442 PyErr_SetString(PyExc_TypeError,"Variable NullIcon is read-only.");
d14a1e28
RD
19443 return 1;
19444}
19445
19446
093d3ff1 19447static PyObject *_wrap_NullIcon_get(void) {
32fe5131 19448 PyObject *pyobj = NULL;
d14a1e28 19449
15afbcd0 19450 pyobj = SWIG_NewPointerObj((void *)(&wxNullIcon), SWIGTYPE_p_wxIcon, 0);
d14a1e28
RD
19451 return pyobj;
19452}
19453
19454
c32bde28 19455static int _wrap_NullCursor_set(PyObject *) {
994141e6 19456 PyErr_SetString(PyExc_TypeError,"Variable NullCursor is read-only.");
d14a1e28
RD
19457 return 1;
19458}
19459
19460
093d3ff1 19461static PyObject *_wrap_NullCursor_get(void) {
32fe5131 19462 PyObject *pyobj = NULL;
d14a1e28 19463
15afbcd0 19464 pyobj = SWIG_NewPointerObj((void *)(&wxNullCursor), SWIGTYPE_p_wxCursor, 0);
d14a1e28
RD
19465 return pyobj;
19466}
19467
19468
c32bde28 19469static int _wrap_NullPen_set(PyObject *) {
994141e6 19470 PyErr_SetString(PyExc_TypeError,"Variable NullPen is read-only.");
d14a1e28
RD
19471 return 1;
19472}
19473
19474
093d3ff1 19475static PyObject *_wrap_NullPen_get(void) {
32fe5131 19476 PyObject *pyobj = NULL;
d14a1e28 19477
15afbcd0 19478 pyobj = SWIG_NewPointerObj((void *)(&wxNullPen), SWIGTYPE_p_wxPen, 0);
d14a1e28
RD
19479 return pyobj;
19480}
19481
19482
c32bde28 19483static int _wrap_NullBrush_set(PyObject *) {
994141e6 19484 PyErr_SetString(PyExc_TypeError,"Variable NullBrush is read-only.");
d14a1e28
RD
19485 return 1;
19486}
19487
19488
093d3ff1 19489static PyObject *_wrap_NullBrush_get(void) {
32fe5131 19490 PyObject *pyobj = NULL;
d14a1e28 19491
15afbcd0 19492 pyobj = SWIG_NewPointerObj((void *)(&wxNullBrush), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
19493 return pyobj;
19494}
19495
19496
c32bde28 19497static int _wrap_NullPalette_set(PyObject *) {
994141e6 19498 PyErr_SetString(PyExc_TypeError,"Variable NullPalette is read-only.");
d14a1e28
RD
19499 return 1;
19500}
19501
19502
093d3ff1 19503static PyObject *_wrap_NullPalette_get(void) {
32fe5131 19504 PyObject *pyobj = NULL;
d14a1e28 19505
15afbcd0 19506 pyobj = SWIG_NewPointerObj((void *)(&wxNullPalette), SWIGTYPE_p_wxPalette, 0);
d14a1e28
RD
19507 return pyobj;
19508}
19509
19510
c32bde28 19511static int _wrap_NullFont_set(PyObject *) {
994141e6 19512 PyErr_SetString(PyExc_TypeError,"Variable NullFont is read-only.");
d14a1e28
RD
19513 return 1;
19514}
19515
19516
093d3ff1 19517static PyObject *_wrap_NullFont_get(void) {
32fe5131 19518 PyObject *pyobj = NULL;
d14a1e28 19519
15afbcd0 19520 pyobj = SWIG_NewPointerObj((void *)(&wxNullFont), SWIGTYPE_p_wxFont, 0);
d14a1e28
RD
19521 return pyobj;
19522}
19523
19524
c32bde28 19525static int _wrap_NullColour_set(PyObject *) {
994141e6 19526 PyErr_SetString(PyExc_TypeError,"Variable NullColour is read-only.");
d14a1e28
RD
19527 return 1;
19528}
19529
19530
093d3ff1 19531static PyObject *_wrap_NullColour_get(void) {
32fe5131 19532 PyObject *pyobj = NULL;
d14a1e28 19533
15afbcd0 19534 pyobj = SWIG_NewPointerObj((void *)(&wxNullColour), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
19535 return pyobj;
19536}
19537
19538
c32bde28 19539static PyObject *_wrap_PenList_AddPen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19540 PyObject *resultobj = NULL;
994141e6
RD
19541 wxPenList *arg1 = (wxPenList *) 0 ;
19542 wxPen *arg2 = (wxPen *) 0 ;
19543 PyObject * obj0 = 0 ;
19544 PyObject * obj1 = 0 ;
19545 char *kwnames[] = {
19546 (char *) "self",(char *) "pen", NULL
19547 };
19548
19549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PenList_AddPen",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPenList, SWIG_POINTER_EXCEPTION | 0);
19551 if (SWIG_arg_fail(1)) SWIG_fail;
19552 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
19553 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6
RD
19554 {
19555 PyThreadState* __tstate = wxPyBeginAllowThreads();
19556 (arg1)->AddPen(arg2);
19557
19558 wxPyEndAllowThreads(__tstate);
19559 if (PyErr_Occurred()) SWIG_fail;
19560 }
19561 Py_INCREF(Py_None); resultobj = Py_None;
19562 return resultobj;
19563 fail:
19564 return NULL;
d14a1e28
RD
19565}
19566
19567
c32bde28 19568static PyObject *_wrap_PenList_FindOrCreatePen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19569 PyObject *resultobj = NULL;
994141e6
RD
19570 wxPenList *arg1 = (wxPenList *) 0 ;
19571 wxColour *arg2 = 0 ;
19572 int arg3 ;
19573 int arg4 ;
19574 wxPen *result;
19575 wxColour temp2 ;
19576 PyObject * obj0 = 0 ;
19577 PyObject * obj1 = 0 ;
19578 PyObject * obj2 = 0 ;
19579 PyObject * obj3 = 0 ;
19580 char *kwnames[] = {
19581 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
19582 };
d14a1e28 19583
994141e6 19584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PenList_FindOrCreatePen",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
19585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPenList, SWIG_POINTER_EXCEPTION | 0);
19586 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6
RD
19587 {
19588 arg2 = &temp2;
19589 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19590 }
093d3ff1 19591 {
32fe5131 19592 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
19593 if (SWIG_arg_fail(3)) SWIG_fail;
19594 }
19595 {
32fe5131 19596 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
19597 if (SWIG_arg_fail(4)) SWIG_fail;
19598 }
994141e6
RD
19599 {
19600 PyThreadState* __tstate = wxPyBeginAllowThreads();
19601 result = (wxPen *)(arg1)->FindOrCreatePen((wxColour const &)*arg2,arg3,arg4);
19602
19603 wxPyEndAllowThreads(__tstate);
19604 if (PyErr_Occurred()) SWIG_fail;
19605 }
15afbcd0 19606 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
994141e6
RD
19607 return resultobj;
19608 fail:
19609 return NULL;
d14a1e28
RD
19610}
19611
19612
c32bde28 19613static PyObject *_wrap_PenList_RemovePen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19614 PyObject *resultobj = NULL;
994141e6
RD
19615 wxPenList *arg1 = (wxPenList *) 0 ;
19616 wxPen *arg2 = (wxPen *) 0 ;
19617 PyObject * obj0 = 0 ;
19618 PyObject * obj1 = 0 ;
19619 char *kwnames[] = {
19620 (char *) "self",(char *) "pen", NULL
19621 };
19622
19623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PenList_RemovePen",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPenList, SWIG_POINTER_EXCEPTION | 0);
19625 if (SWIG_arg_fail(1)) SWIG_fail;
19626 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
19627 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6
RD
19628 {
19629 PyThreadState* __tstate = wxPyBeginAllowThreads();
19630 (arg1)->RemovePen(arg2);
19631
19632 wxPyEndAllowThreads(__tstate);
19633 if (PyErr_Occurred()) SWIG_fail;
19634 }
19635 Py_INCREF(Py_None); resultobj = Py_None;
19636 return resultobj;
19637 fail:
19638 return NULL;
d14a1e28
RD
19639}
19640
19641
c32bde28 19642static PyObject *_wrap_PenList_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19643 PyObject *resultobj = NULL;
994141e6
RD
19644 wxPenList *arg1 = (wxPenList *) 0 ;
19645 int result;
19646 PyObject * obj0 = 0 ;
19647 char *kwnames[] = {
19648 (char *) "self", NULL
19649 };
d14a1e28 19650
994141e6 19651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PenList_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
19652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPenList, SWIG_POINTER_EXCEPTION | 0);
19653 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6
RD
19654 {
19655 PyThreadState* __tstate = wxPyBeginAllowThreads();
19656 result = (int)(arg1)->GetCount();
19657
19658 wxPyEndAllowThreads(__tstate);
19659 if (PyErr_Occurred()) SWIG_fail;
19660 }
093d3ff1 19661 {
32fe5131 19662 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 19663 }
994141e6
RD
19664 return resultobj;
19665 fail:
19666 return NULL;
d14a1e28
RD
19667}
19668
19669
c32bde28 19670static PyObject * PenList_swigregister(PyObject *, PyObject *args) {
994141e6
RD
19671 PyObject *obj;
19672 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19673 SWIG_TypeClientData(SWIGTYPE_p_wxPenList, obj);
19674 Py_INCREF(obj);
19675 return Py_BuildValue((char *)"");
19676}
c32bde28 19677static PyObject *_wrap_BrushList_AddBrush(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19678 PyObject *resultobj = NULL;
994141e6
RD
19679 wxBrushList *arg1 = (wxBrushList *) 0 ;
19680 wxBrush *arg2 = (wxBrush *) 0 ;
19681 PyObject * obj0 = 0 ;
19682 PyObject * obj1 = 0 ;
19683 char *kwnames[] = {
19684 (char *) "self",(char *) "brush", NULL
19685 };
19686
19687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BrushList_AddBrush",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrushList, SWIG_POINTER_EXCEPTION | 0);
19689 if (SWIG_arg_fail(1)) SWIG_fail;
19690 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
19691 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6
RD
19692 {
19693 PyThreadState* __tstate = wxPyBeginAllowThreads();
19694 (arg1)->AddBrush(arg2);
19695
19696 wxPyEndAllowThreads(__tstate);
19697 if (PyErr_Occurred()) SWIG_fail;
19698 }
19699 Py_INCREF(Py_None); resultobj = Py_None;
19700 return resultobj;
19701 fail:
19702 return NULL;
19703}
19704
19705
c32bde28 19706static PyObject *_wrap_BrushList_FindOrCreateBrush(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19707 PyObject *resultobj = NULL;
994141e6
RD
19708 wxBrushList *arg1 = (wxBrushList *) 0 ;
19709 wxColour *arg2 = 0 ;
61d07ac7 19710 int arg3 = (int) wxSOLID ;
994141e6
RD
19711 wxBrush *result;
19712 wxColour temp2 ;
19713 PyObject * obj0 = 0 ;
19714 PyObject * obj1 = 0 ;
19715 PyObject * obj2 = 0 ;
19716 char *kwnames[] = {
19717 (char *) "self",(char *) "colour",(char *) "style", NULL
19718 };
19719
61d07ac7 19720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrushList, SWIG_POINTER_EXCEPTION | 0);
19722 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6
RD
19723 {
19724 arg2 = &temp2;
19725 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19726 }
61d07ac7
RD
19727 if (obj2) {
19728 {
32fe5131 19729 arg3 = static_cast<int >(SWIG_As_int(obj2));
61d07ac7
RD
19730 if (SWIG_arg_fail(3)) SWIG_fail;
19731 }
093d3ff1 19732 }
994141e6
RD
19733 {
19734 PyThreadState* __tstate = wxPyBeginAllowThreads();
19735 result = (wxBrush *)(arg1)->FindOrCreateBrush((wxColour const &)*arg2,arg3);
19736
19737 wxPyEndAllowThreads(__tstate);
19738 if (PyErr_Occurred()) SWIG_fail;
19739 }
15afbcd0 19740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 0);
994141e6
RD
19741 return resultobj;
19742 fail:
19743 return NULL;
d14a1e28
RD
19744}
19745
19746
c32bde28 19747static PyObject *_wrap_BrushList_RemoveBrush(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19748 PyObject *resultobj = NULL;
994141e6
RD
19749 wxBrushList *arg1 = (wxBrushList *) 0 ;
19750 wxBrush *arg2 = (wxBrush *) 0 ;
19751 PyObject * obj0 = 0 ;
19752 PyObject * obj1 = 0 ;
19753 char *kwnames[] = {
19754 (char *) "self",(char *) "brush", NULL
19755 };
d14a1e28 19756
994141e6 19757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BrushList_RemoveBrush",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrushList, SWIG_POINTER_EXCEPTION | 0);
19759 if (SWIG_arg_fail(1)) SWIG_fail;
19760 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
19761 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6
RD
19762 {
19763 PyThreadState* __tstate = wxPyBeginAllowThreads();
19764 (arg1)->RemoveBrush(arg2);
19765
19766 wxPyEndAllowThreads(__tstate);
19767 if (PyErr_Occurred()) SWIG_fail;
19768 }
19769 Py_INCREF(Py_None); resultobj = Py_None;
19770 return resultobj;
19771 fail:
19772 return NULL;
d14a1e28
RD
19773}
19774
19775
c32bde28 19776static PyObject *_wrap_BrushList_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19777 PyObject *resultobj = NULL;
994141e6
RD
19778 wxBrushList *arg1 = (wxBrushList *) 0 ;
19779 int result;
19780 PyObject * obj0 = 0 ;
19781 char *kwnames[] = {
19782 (char *) "self", NULL
19783 };
d14a1e28 19784
994141e6 19785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BrushList_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
19786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrushList, SWIG_POINTER_EXCEPTION | 0);
19787 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6
RD
19788 {
19789 PyThreadState* __tstate = wxPyBeginAllowThreads();
19790 result = (int)(arg1)->GetCount();
19791
19792 wxPyEndAllowThreads(__tstate);
19793 if (PyErr_Occurred()) SWIG_fail;
19794 }
093d3ff1 19795 {
32fe5131 19796 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 19797 }
994141e6
RD
19798 return resultobj;
19799 fail:
19800 return NULL;
d14a1e28
RD
19801}
19802
19803
c32bde28 19804static PyObject * BrushList_swigregister(PyObject *, PyObject *args) {
994141e6
RD
19805 PyObject *obj;
19806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19807 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList, obj);
19808 Py_INCREF(obj);
19809 return Py_BuildValue((char *)"");
d14a1e28 19810}
c32bde28 19811static PyObject *_wrap_new_ColourDatabase(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19812 PyObject *resultobj = NULL;
994141e6
RD
19813 wxColourDatabase *result;
19814 char *kwnames[] = {
19815 NULL
19816 };
d14a1e28 19817
994141e6
RD
19818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourDatabase",kwnames)) goto fail;
19819 {
e3b71cb8 19820 if (!wxPyCheckForApp()) SWIG_fail;
994141e6
RD
19821 PyThreadState* __tstate = wxPyBeginAllowThreads();
19822 result = (wxColourDatabase *)new wxColourDatabase();
19823
19824 wxPyEndAllowThreads(__tstate);
110da5b0 19825 if (PyErr_Occurred()) SWIG_fail;
994141e6 19826 }
15afbcd0 19827 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDatabase, 1);
994141e6
RD
19828 return resultobj;
19829 fail:
19830 return NULL;
d14a1e28
RD
19831}
19832
19833
c32bde28 19834static PyObject *_wrap_delete_ColourDatabase(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19835 PyObject *resultobj = NULL;
994141e6
RD
19836 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
19837 PyObject * obj0 = 0 ;
19838 char *kwnames[] = {
19839 (char *) "self", NULL
19840 };
d14a1e28 19841
994141e6 19842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourDatabase",kwnames,&obj0)) goto fail;
093d3ff1
RD
19843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDatabase, SWIG_POINTER_EXCEPTION | 0);
19844 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6
RD
19845 {
19846 PyThreadState* __tstate = wxPyBeginAllowThreads();
19847 delete arg1;
19848
19849 wxPyEndAllowThreads(__tstate);
19850 if (PyErr_Occurred()) SWIG_fail;
19851 }
19852 Py_INCREF(Py_None); resultobj = Py_None;
19853 return resultobj;
19854 fail:
19855 return NULL;
d14a1e28
RD
19856}
19857
19858
c32bde28 19859static PyObject *_wrap_ColourDatabase_Find(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19860 PyObject *resultobj = NULL;
994141e6
RD
19861 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
19862 wxString *arg2 = 0 ;
19863 wxColour result;
ae8162c8 19864 bool temp2 = false ;
994141e6
RD
19865 PyObject * obj0 = 0 ;
19866 PyObject * obj1 = 0 ;
19867 char *kwnames[] = {
19868 (char *) "self",(char *) "name", NULL
19869 };
19870
19871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourDatabase_Find",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDatabase, SWIG_POINTER_EXCEPTION | 0);
19873 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6
RD
19874 {
19875 arg2 = wxString_in_helper(obj1);
19876 if (arg2 == NULL) SWIG_fail;
ae8162c8 19877 temp2 = true;
994141e6
RD
19878 }
19879 {
19880 PyThreadState* __tstate = wxPyBeginAllowThreads();
19881 result = ((wxColourDatabase const *)arg1)->Find((wxString const &)*arg2);
19882
19883 wxPyEndAllowThreads(__tstate);
19884 if (PyErr_Occurred()) SWIG_fail;
19885 }
19886 {
19887 wxColour * resultptr;
32fe5131 19888 resultptr = new wxColour(static_cast<wxColour & >(result));
15afbcd0 19889 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
994141e6
RD
19890 }
19891 {
19892 if (temp2)
19893 delete arg2;
19894 }
19895 return resultobj;
19896 fail:
19897 {
19898 if (temp2)
19899 delete arg2;
19900 }
19901 return NULL;
d14a1e28
RD
19902}
19903
19904
c32bde28 19905static PyObject *_wrap_ColourDatabase_FindName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19906 PyObject *resultobj = NULL;
994141e6
RD
19907 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
19908 wxColour *arg2 = 0 ;
19909 wxString result;
19910 wxColour temp2 ;
19911 PyObject * obj0 = 0 ;
19912 PyObject * obj1 = 0 ;
19913 char *kwnames[] = {
19914 (char *) "self",(char *) "colour", NULL
19915 };
d14a1e28 19916
994141e6 19917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourDatabase_FindName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDatabase, SWIG_POINTER_EXCEPTION | 0);
19919 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6
RD
19920 {
19921 arg2 = &temp2;
19922 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19923 }
19924 {
19925 PyThreadState* __tstate = wxPyBeginAllowThreads();
19926 result = ((wxColourDatabase const *)arg1)->FindName((wxColour const &)*arg2);
19927
19928 wxPyEndAllowThreads(__tstate);
19929 if (PyErr_Occurred()) SWIG_fail;
19930 }
19931 {
19932#if wxUSE_UNICODE
19933 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19934#else
19935 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19936#endif
19937 }
19938 return resultobj;
19939 fail:
19940 return NULL;
d14a1e28
RD
19941}
19942
19943
c32bde28 19944static PyObject *_wrap_ColourDatabase_AddColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19945 PyObject *resultobj = NULL;
994141e6
RD
19946 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
19947 wxString *arg2 = 0 ;
19948 wxColour *arg3 = 0 ;
ae8162c8 19949 bool temp2 = false ;
994141e6
RD
19950 wxColour temp3 ;
19951 PyObject * obj0 = 0 ;
19952 PyObject * obj1 = 0 ;
19953 PyObject * obj2 = 0 ;
19954 char *kwnames[] = {
19955 (char *) "self",(char *) "name",(char *) "colour", NULL
19956 };
19957
19958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourDatabase_AddColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDatabase, SWIG_POINTER_EXCEPTION | 0);
19960 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6
RD
19961 {
19962 arg2 = wxString_in_helper(obj1);
19963 if (arg2 == NULL) SWIG_fail;
ae8162c8 19964 temp2 = true;
994141e6
RD
19965 }
19966 {
19967 arg3 = &temp3;
19968 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19969 }
19970 {
19971 PyThreadState* __tstate = wxPyBeginAllowThreads();
19972 (arg1)->AddColour((wxString const &)*arg2,(wxColour const &)*arg3);
19973
19974 wxPyEndAllowThreads(__tstate);
19975 if (PyErr_Occurred()) SWIG_fail;
19976 }
19977 Py_INCREF(Py_None); resultobj = Py_None;
19978 {
19979 if (temp2)
19980 delete arg2;
19981 }
19982 return resultobj;
19983 fail:
19984 {
19985 if (temp2)
19986 delete arg2;
19987 }
19988 return NULL;
d14a1e28
RD
19989}
19990
19991
c32bde28 19992static PyObject *_wrap_ColourDatabase_Append(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19993 PyObject *resultobj = NULL;
994141e6
RD
19994 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
19995 wxString *arg2 = 0 ;
19996 int arg3 ;
19997 int arg4 ;
19998 int arg5 ;
ae8162c8 19999 bool temp2 = false ;
994141e6
RD
20000 PyObject * obj0 = 0 ;
20001 PyObject * obj1 = 0 ;
20002 PyObject * obj2 = 0 ;
20003 PyObject * obj3 = 0 ;
20004 PyObject * obj4 = 0 ;
20005 char *kwnames[] = {
20006 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
20007 };
d14a1e28 20008
994141e6 20009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:ColourDatabase_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
20010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDatabase, SWIG_POINTER_EXCEPTION | 0);
20011 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6
RD
20012 {
20013 arg2 = wxString_in_helper(obj1);
20014 if (arg2 == NULL) SWIG_fail;
ae8162c8 20015 temp2 = true;
994141e6 20016 }
093d3ff1 20017 {
32fe5131 20018 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
20019 if (SWIG_arg_fail(3)) SWIG_fail;
20020 }
20021 {
32fe5131 20022 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
20023 if (SWIG_arg_fail(4)) SWIG_fail;
20024 }
20025 {
32fe5131 20026 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
20027 if (SWIG_arg_fail(5)) SWIG_fail;
20028 }
994141e6
RD
20029 {
20030 PyThreadState* __tstate = wxPyBeginAllowThreads();
20031 wxColourDatabase_Append(arg1,(wxString const &)*arg2,arg3,arg4,arg5);
20032
20033 wxPyEndAllowThreads(__tstate);
20034 if (PyErr_Occurred()) SWIG_fail;
20035 }
20036 Py_INCREF(Py_None); resultobj = Py_None;
20037 {
20038 if (temp2)
20039 delete arg2;
20040 }
20041 return resultobj;
20042 fail:
20043 {
20044 if (temp2)
20045 delete arg2;
20046 }
20047 return NULL;
d14a1e28
RD
20048}
20049
20050
c32bde28 20051static PyObject * ColourDatabase_swigregister(PyObject *, PyObject *args) {
994141e6
RD
20052 PyObject *obj;
20053 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20054 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase, obj);
20055 Py_INCREF(obj);
20056 return Py_BuildValue((char *)"");
d14a1e28 20057}
c32bde28 20058static PyObject *_wrap_FontList_AddFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20059 PyObject *resultobj = NULL;
994141e6
RD
20060 wxFontList *arg1 = (wxFontList *) 0 ;
20061 wxFont *arg2 = (wxFont *) 0 ;
20062 PyObject * obj0 = 0 ;
20063 PyObject * obj1 = 0 ;
20064 char *kwnames[] = {
20065 (char *) "self",(char *) "font", NULL
20066 };
d14a1e28 20067
994141e6 20068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontList_AddFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontList, SWIG_POINTER_EXCEPTION | 0);
20070 if (SWIG_arg_fail(1)) SWIG_fail;
20071 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
20072 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6
RD
20073 {
20074 PyThreadState* __tstate = wxPyBeginAllowThreads();
20075 (arg1)->AddFont(arg2);
20076
20077 wxPyEndAllowThreads(__tstate);
20078 if (PyErr_Occurred()) SWIG_fail;
20079 }
20080 Py_INCREF(Py_None); resultobj = Py_None;
20081 return resultobj;
20082 fail:
20083 return NULL;
d14a1e28
RD
20084}
20085
20086
c32bde28 20087static PyObject *_wrap_FontList_FindOrCreateFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20088 PyObject *resultobj = NULL;
994141e6
RD
20089 wxFontList *arg1 = (wxFontList *) 0 ;
20090 int arg2 ;
20091 int arg3 ;
20092 int arg4 ;
20093 int arg5 ;
ae8162c8 20094 bool arg6 = (bool) false ;
994141e6
RD
20095 wxString const &arg7_defvalue = wxPyEmptyString ;
20096 wxString *arg7 = (wxString *) &arg7_defvalue ;
093d3ff1 20097 wxFontEncoding arg8 = (wxFontEncoding) wxFONTENCODING_DEFAULT ;
994141e6 20098 wxFont *result;
ae8162c8 20099 bool temp7 = false ;
994141e6
RD
20100 PyObject * obj0 = 0 ;
20101 PyObject * obj1 = 0 ;
20102 PyObject * obj2 = 0 ;
20103 PyObject * obj3 = 0 ;
20104 PyObject * obj4 = 0 ;
20105 PyObject * obj5 = 0 ;
20106 PyObject * obj6 = 0 ;
20107 PyObject * obj7 = 0 ;
20108 char *kwnames[] = {
20109 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
20110 };
d14a1e28 20111
994141e6 20112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
20113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontList, SWIG_POINTER_EXCEPTION | 0);
20114 if (SWIG_arg_fail(1)) SWIG_fail;
20115 {
32fe5131 20116 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
20117 if (SWIG_arg_fail(2)) SWIG_fail;
20118 }
20119 {
32fe5131 20120 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
20121 if (SWIG_arg_fail(3)) SWIG_fail;
20122 }
20123 {
32fe5131 20124 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
20125 if (SWIG_arg_fail(4)) SWIG_fail;
20126 }
20127 {
32fe5131 20128 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
20129 if (SWIG_arg_fail(5)) SWIG_fail;
20130 }
994141e6 20131 if (obj5) {
093d3ff1 20132 {
32fe5131 20133 arg6 = static_cast<bool >(SWIG_As_bool(obj5));
093d3ff1
RD
20134 if (SWIG_arg_fail(6)) SWIG_fail;
20135 }
994141e6
RD
20136 }
20137 if (obj6) {
20138 {
20139 arg7 = wxString_in_helper(obj6);
20140 if (arg7 == NULL) SWIG_fail;
ae8162c8 20141 temp7 = true;
994141e6
RD
20142 }
20143 }
20144 if (obj7) {
093d3ff1 20145 {
32fe5131 20146 arg8 = static_cast<wxFontEncoding >(SWIG_As_int(obj7));
093d3ff1
RD
20147 if (SWIG_arg_fail(8)) SWIG_fail;
20148 }
994141e6
RD
20149 }
20150 {
20151 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 20152 result = (wxFont *)(arg1)->FindOrCreateFont(arg2,arg3,arg4,arg5,arg6,(wxString const &)*arg7,arg8);
994141e6
RD
20153
20154 wxPyEndAllowThreads(__tstate);
20155 if (PyErr_Occurred()) SWIG_fail;
20156 }
15afbcd0 20157 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
994141e6
RD
20158 {
20159 if (temp7)
20160 delete arg7;
20161 }
20162 return resultobj;
20163 fail:
20164 {
20165 if (temp7)
20166 delete arg7;
20167 }
20168 return NULL;
d14a1e28
RD
20169}
20170
20171
c32bde28 20172static PyObject *_wrap_FontList_RemoveFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20173 PyObject *resultobj = NULL;
994141e6
RD
20174 wxFontList *arg1 = (wxFontList *) 0 ;
20175 wxFont *arg2 = (wxFont *) 0 ;
20176 PyObject * obj0 = 0 ;
20177 PyObject * obj1 = 0 ;
20178 char *kwnames[] = {
20179 (char *) "self",(char *) "font", NULL
20180 };
d14a1e28 20181
994141e6 20182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontList_RemoveFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontList, SWIG_POINTER_EXCEPTION | 0);
20184 if (SWIG_arg_fail(1)) SWIG_fail;
20185 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
20186 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6
RD
20187 {
20188 PyThreadState* __tstate = wxPyBeginAllowThreads();
20189 (arg1)->RemoveFont(arg2);
20190
20191 wxPyEndAllowThreads(__tstate);
20192 if (PyErr_Occurred()) SWIG_fail;
20193 }
20194 Py_INCREF(Py_None); resultobj = Py_None;
20195 return resultobj;
20196 fail:
20197 return NULL;
d14a1e28
RD
20198}
20199
20200
c32bde28 20201static PyObject *_wrap_FontList_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20202 PyObject *resultobj = NULL;
994141e6
RD
20203 wxFontList *arg1 = (wxFontList *) 0 ;
20204 int result;
20205 PyObject * obj0 = 0 ;
20206 char *kwnames[] = {
20207 (char *) "self", NULL
20208 };
d14a1e28 20209
994141e6 20210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontList_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
20211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontList, SWIG_POINTER_EXCEPTION | 0);
20212 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6
RD
20213 {
20214 PyThreadState* __tstate = wxPyBeginAllowThreads();
20215 result = (int)(arg1)->GetCount();
20216
20217 wxPyEndAllowThreads(__tstate);
20218 if (PyErr_Occurred()) SWIG_fail;
20219 }
093d3ff1 20220 {
32fe5131 20221 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 20222 }
994141e6
RD
20223 return resultobj;
20224 fail:
20225 return NULL;
d14a1e28
RD
20226}
20227
20228
c32bde28 20229static PyObject * FontList_swigregister(PyObject *, PyObject *args) {
994141e6
RD
20230 PyObject *obj;
20231 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20232 SWIG_TypeClientData(SWIGTYPE_p_wxFontList, obj);
20233 Py_INCREF(obj);
20234 return Py_BuildValue((char *)"");
20235}
c32bde28 20236static int _wrap_TheFontList_set(PyObject *) {
d14a1e28
RD
20237 PyErr_SetString(PyExc_TypeError,"Variable TheFontList is read-only.");
20238 return 1;
20239}
20240
20241
093d3ff1 20242static PyObject *_wrap_TheFontList_get(void) {
32fe5131 20243 PyObject *pyobj = NULL;
d14a1e28 20244
15afbcd0 20245 pyobj = SWIG_NewPointerObj((void *)(wxTheFontList), SWIGTYPE_p_wxFontList, 0);
d14a1e28
RD
20246 return pyobj;
20247}
20248
20249
c32bde28 20250static int _wrap_ThePenList_set(PyObject *) {
d14a1e28
RD
20251 PyErr_SetString(PyExc_TypeError,"Variable ThePenList is read-only.");
20252 return 1;
20253}
20254
20255
093d3ff1 20256static PyObject *_wrap_ThePenList_get(void) {
32fe5131 20257 PyObject *pyobj = NULL;
d14a1e28 20258
15afbcd0 20259 pyobj = SWIG_NewPointerObj((void *)(wxThePenList), SWIGTYPE_p_wxPenList, 0);
d14a1e28
RD
20260 return pyobj;
20261}
20262
20263
c32bde28 20264static int _wrap_TheBrushList_set(PyObject *) {
d14a1e28
RD
20265 PyErr_SetString(PyExc_TypeError,"Variable TheBrushList is read-only.");
20266 return 1;
20267}
20268
20269
093d3ff1 20270static PyObject *_wrap_TheBrushList_get(void) {
32fe5131 20271 PyObject *pyobj = NULL;
d14a1e28 20272
15afbcd0 20273 pyobj = SWIG_NewPointerObj((void *)(wxTheBrushList), SWIGTYPE_p_wxBrushList, 0);
d14a1e28
RD
20274 return pyobj;
20275}
20276
20277
c32bde28 20278static int _wrap_TheColourDatabase_set(PyObject *) {
d14a1e28
RD
20279 PyErr_SetString(PyExc_TypeError,"Variable TheColourDatabase is read-only.");
20280 return 1;
20281}
20282
20283
093d3ff1 20284static PyObject *_wrap_TheColourDatabase_get(void) {
32fe5131 20285 PyObject *pyobj = NULL;
d14a1e28 20286
15afbcd0 20287 pyobj = SWIG_NewPointerObj((void *)(wxTheColourDatabase), SWIGTYPE_p_wxColourDatabase, 0);
d14a1e28
RD
20288 return pyobj;
20289}
20290
20291
c32bde28 20292static PyObject *_wrap_new_Effects(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20293 PyObject *resultobj = NULL;
e811c8ce 20294 wxEffects *result;
d14a1e28 20295 char *kwnames[] = {
e811c8ce 20296 NULL
d14a1e28
RD
20297 };
20298
e811c8ce 20299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Effects",kwnames)) goto fail;
d14a1e28
RD
20300 {
20301 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 20302 result = (wxEffects *)new wxEffects();
d14a1e28
RD
20303
20304 wxPyEndAllowThreads(__tstate);
20305 if (PyErr_Occurred()) SWIG_fail;
20306 }
15afbcd0 20307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEffects, 1);
d14a1e28
RD
20308 return resultobj;
20309 fail:
20310 return NULL;
20311}
20312
20313
c32bde28 20314static PyObject *_wrap_Effects_GetHighlightColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20315 PyObject *resultobj = NULL;
e811c8ce
RD
20316 wxEffects *arg1 = (wxEffects *) 0 ;
20317 wxColour result;
d14a1e28 20318 PyObject * obj0 = 0 ;
d14a1e28 20319 char *kwnames[] = {
e811c8ce 20320 (char *) "self", NULL
d14a1e28
RD
20321 };
20322
e811c8ce 20323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetHighlightColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
20324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
20325 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20326 {
20327 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 20328 result = ((wxEffects const *)arg1)->GetHighlightColour();
d14a1e28
RD
20329
20330 wxPyEndAllowThreads(__tstate);
20331 if (PyErr_Occurred()) SWIG_fail;
20332 }
e811c8ce
RD
20333 {
20334 wxColour * resultptr;
32fe5131 20335 resultptr = new wxColour(static_cast<wxColour & >(result));
15afbcd0 20336 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
e811c8ce 20337 }
d14a1e28
RD
20338 return resultobj;
20339 fail:
20340 return NULL;
20341}
20342
20343
c32bde28 20344static PyObject *_wrap_Effects_GetLightShadow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20345 PyObject *resultobj = NULL;
e811c8ce
RD
20346 wxEffects *arg1 = (wxEffects *) 0 ;
20347 wxColour result;
d14a1e28 20348 PyObject * obj0 = 0 ;
d14a1e28 20349 char *kwnames[] = {
e811c8ce 20350 (char *) "self", NULL
d14a1e28
RD
20351 };
20352
e811c8ce 20353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetLightShadow",kwnames,&obj0)) goto fail;
093d3ff1
RD
20354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
20355 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20356 {
20357 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 20358 result = ((wxEffects const *)arg1)->GetLightShadow();
d14a1e28
RD
20359
20360 wxPyEndAllowThreads(__tstate);
20361 if (PyErr_Occurred()) SWIG_fail;
20362 }
d14a1e28 20363 {
e811c8ce 20364 wxColour * resultptr;
32fe5131 20365 resultptr = new wxColour(static_cast<wxColour & >(result));
15afbcd0 20366 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
20367 }
20368 return resultobj;
20369 fail:
d14a1e28
RD
20370 return NULL;
20371}
20372
20373
c32bde28 20374static PyObject *_wrap_Effects_GetFaceColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20375 PyObject *resultobj = NULL;
e811c8ce
RD
20376 wxEffects *arg1 = (wxEffects *) 0 ;
20377 wxColour result;
d14a1e28 20378 PyObject * obj0 = 0 ;
d14a1e28 20379 char *kwnames[] = {
e811c8ce 20380 (char *) "self", NULL
d14a1e28
RD
20381 };
20382
e811c8ce 20383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetFaceColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
20384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
20385 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20386 {
20387 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 20388 result = ((wxEffects const *)arg1)->GetFaceColour();
d14a1e28
RD
20389
20390 wxPyEndAllowThreads(__tstate);
20391 if (PyErr_Occurred()) SWIG_fail;
20392 }
e811c8ce
RD
20393 {
20394 wxColour * resultptr;
32fe5131 20395 resultptr = new wxColour(static_cast<wxColour & >(result));
15afbcd0 20396 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
e811c8ce 20397 }
d14a1e28
RD
20398 return resultobj;
20399 fail:
20400 return NULL;
20401}
20402
20403
c32bde28 20404static PyObject *_wrap_Effects_GetMediumShadow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20405 PyObject *resultobj = NULL;
e811c8ce
RD
20406 wxEffects *arg1 = (wxEffects *) 0 ;
20407 wxColour result;
d14a1e28
RD
20408 PyObject * obj0 = 0 ;
20409 char *kwnames[] = {
e811c8ce 20410 (char *) "self", NULL
d14a1e28
RD
20411 };
20412
20413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetMediumShadow",kwnames,&obj0)) goto fail;
093d3ff1
RD
20414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
20415 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20416 {
20417 PyThreadState* __tstate = wxPyBeginAllowThreads();
20418 result = ((wxEffects const *)arg1)->GetMediumShadow();
20419
20420 wxPyEndAllowThreads(__tstate);
20421 if (PyErr_Occurred()) SWIG_fail;
20422 }
20423 {
20424 wxColour * resultptr;
32fe5131 20425 resultptr = new wxColour(static_cast<wxColour & >(result));
15afbcd0 20426 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
20427 }
20428 return resultobj;
20429 fail:
20430 return NULL;
20431}
20432
20433
c32bde28 20434static PyObject *_wrap_Effects_GetDarkShadow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20435 PyObject *resultobj = NULL;
d14a1e28
RD
20436 wxEffects *arg1 = (wxEffects *) 0 ;
20437 wxColour result;
20438 PyObject * obj0 = 0 ;
20439 char *kwnames[] = {
20440 (char *) "self", NULL
20441 };
20442
20443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetDarkShadow",kwnames,&obj0)) goto fail;
093d3ff1
RD
20444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
20445 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20446 {
20447 PyThreadState* __tstate = wxPyBeginAllowThreads();
20448 result = ((wxEffects const *)arg1)->GetDarkShadow();
20449
20450 wxPyEndAllowThreads(__tstate);
20451 if (PyErr_Occurred()) SWIG_fail;
20452 }
20453 {
20454 wxColour * resultptr;
32fe5131 20455 resultptr = new wxColour(static_cast<wxColour & >(result));
15afbcd0 20456 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
20457 }
20458 return resultobj;
20459 fail:
20460 return NULL;
20461}
20462
20463
c32bde28 20464static PyObject *_wrap_Effects_SetHighlightColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20465 PyObject *resultobj = NULL;
d14a1e28
RD
20466 wxEffects *arg1 = (wxEffects *) 0 ;
20467 wxColour *arg2 = 0 ;
20468 wxColour temp2 ;
20469 PyObject * obj0 = 0 ;
20470 PyObject * obj1 = 0 ;
20471 char *kwnames[] = {
20472 (char *) "self",(char *) "c", NULL
20473 };
20474
20475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetHighlightColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
20477 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20478 {
20479 arg2 = &temp2;
20480 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20481 }
20482 {
20483 PyThreadState* __tstate = wxPyBeginAllowThreads();
20484 (arg1)->SetHighlightColour((wxColour const &)*arg2);
20485
20486 wxPyEndAllowThreads(__tstate);
20487 if (PyErr_Occurred()) SWIG_fail;
20488 }
20489 Py_INCREF(Py_None); resultobj = Py_None;
20490 return resultobj;
20491 fail:
20492 return NULL;
20493}
20494
20495
c32bde28 20496static PyObject *_wrap_Effects_SetLightShadow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20497 PyObject *resultobj = NULL;
d14a1e28
RD
20498 wxEffects *arg1 = (wxEffects *) 0 ;
20499 wxColour *arg2 = 0 ;
20500 wxColour temp2 ;
20501 PyObject * obj0 = 0 ;
20502 PyObject * obj1 = 0 ;
20503 char *kwnames[] = {
20504 (char *) "self",(char *) "c", NULL
20505 };
20506
20507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetLightShadow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
20509 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20510 {
20511 arg2 = &temp2;
20512 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20513 }
20514 {
20515 PyThreadState* __tstate = wxPyBeginAllowThreads();
20516 (arg1)->SetLightShadow((wxColour const &)*arg2);
20517
20518 wxPyEndAllowThreads(__tstate);
20519 if (PyErr_Occurred()) SWIG_fail;
20520 }
20521 Py_INCREF(Py_None); resultobj = Py_None;
20522 return resultobj;
20523 fail:
20524 return NULL;
20525}
20526
20527
c32bde28 20528static PyObject *_wrap_Effects_SetFaceColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20529 PyObject *resultobj = NULL;
d14a1e28
RD
20530 wxEffects *arg1 = (wxEffects *) 0 ;
20531 wxColour *arg2 = 0 ;
20532 wxColour temp2 ;
20533 PyObject * obj0 = 0 ;
20534 PyObject * obj1 = 0 ;
20535 char *kwnames[] = {
20536 (char *) "self",(char *) "c", NULL
20537 };
20538
20539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetFaceColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
20541 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20542 {
20543 arg2 = &temp2;
20544 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20545 }
20546 {
20547 PyThreadState* __tstate = wxPyBeginAllowThreads();
20548 (arg1)->SetFaceColour((wxColour const &)*arg2);
20549
20550 wxPyEndAllowThreads(__tstate);
20551 if (PyErr_Occurred()) SWIG_fail;
20552 }
20553 Py_INCREF(Py_None); resultobj = Py_None;
20554 return resultobj;
20555 fail:
20556 return NULL;
20557}
20558
20559
c32bde28 20560static PyObject *_wrap_Effects_SetMediumShadow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20561 PyObject *resultobj = NULL;
d14a1e28
RD
20562 wxEffects *arg1 = (wxEffects *) 0 ;
20563 wxColour *arg2 = 0 ;
20564 wxColour temp2 ;
20565 PyObject * obj0 = 0 ;
20566 PyObject * obj1 = 0 ;
20567 char *kwnames[] = {
20568 (char *) "self",(char *) "c", NULL
20569 };
20570
20571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetMediumShadow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
20573 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20574 {
20575 arg2 = &temp2;
20576 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20577 }
20578 {
20579 PyThreadState* __tstate = wxPyBeginAllowThreads();
20580 (arg1)->SetMediumShadow((wxColour const &)*arg2);
20581
20582 wxPyEndAllowThreads(__tstate);
20583 if (PyErr_Occurred()) SWIG_fail;
20584 }
20585 Py_INCREF(Py_None); resultobj = Py_None;
20586 return resultobj;
20587 fail:
20588 return NULL;
20589}
20590
20591
c32bde28 20592static PyObject *_wrap_Effects_SetDarkShadow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20593 PyObject *resultobj = NULL;
d14a1e28
RD
20594 wxEffects *arg1 = (wxEffects *) 0 ;
20595 wxColour *arg2 = 0 ;
20596 wxColour temp2 ;
20597 PyObject * obj0 = 0 ;
20598 PyObject * obj1 = 0 ;
20599 char *kwnames[] = {
20600 (char *) "self",(char *) "c", NULL
20601 };
20602
20603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetDarkShadow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
20605 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20606 {
20607 arg2 = &temp2;
20608 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20609 }
20610 {
20611 PyThreadState* __tstate = wxPyBeginAllowThreads();
20612 (arg1)->SetDarkShadow((wxColour const &)*arg2);
20613
20614 wxPyEndAllowThreads(__tstate);
20615 if (PyErr_Occurred()) SWIG_fail;
20616 }
20617 Py_INCREF(Py_None); resultobj = Py_None;
20618 return resultobj;
20619 fail:
20620 return NULL;
20621}
20622
20623
c32bde28 20624static PyObject *_wrap_Effects_Set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20625 PyObject *resultobj = NULL;
d14a1e28
RD
20626 wxEffects *arg1 = (wxEffects *) 0 ;
20627 wxColour *arg2 = 0 ;
20628 wxColour *arg3 = 0 ;
20629 wxColour *arg4 = 0 ;
20630 wxColour *arg5 = 0 ;
20631 wxColour *arg6 = 0 ;
20632 wxColour temp2 ;
20633 wxColour temp3 ;
20634 wxColour temp4 ;
20635 wxColour temp5 ;
20636 wxColour temp6 ;
20637 PyObject * obj0 = 0 ;
20638 PyObject * obj1 = 0 ;
20639 PyObject * obj2 = 0 ;
20640 PyObject * obj3 = 0 ;
20641 PyObject * obj4 = 0 ;
20642 PyObject * obj5 = 0 ;
20643 char *kwnames[] = {
20644 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
20645 };
20646
20647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Effects_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
20648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
20649 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20650 {
20651 arg2 = &temp2;
20652 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20653 }
20654 {
20655 arg3 = &temp3;
20656 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
20657 }
20658 {
20659 arg4 = &temp4;
20660 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
20661 }
20662 {
20663 arg5 = &temp5;
20664 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
20665 }
20666 {
20667 arg6 = &temp6;
20668 if ( ! wxColour_helper(obj5, &arg6)) SWIG_fail;
20669 }
20670 {
20671 PyThreadState* __tstate = wxPyBeginAllowThreads();
20672 (arg1)->Set((wxColour const &)*arg2,(wxColour const &)*arg3,(wxColour const &)*arg4,(wxColour const &)*arg5,(wxColour const &)*arg6);
20673
20674 wxPyEndAllowThreads(__tstate);
20675 if (PyErr_Occurred()) SWIG_fail;
20676 }
20677 Py_INCREF(Py_None); resultobj = Py_None;
20678 return resultobj;
20679 fail:
20680 return NULL;
20681}
20682
20683
c32bde28 20684static PyObject *_wrap_Effects_DrawSunkenEdge(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20685 PyObject *resultobj = NULL;
d14a1e28
RD
20686 wxEffects *arg1 = (wxEffects *) 0 ;
20687 wxDC *arg2 = 0 ;
20688 wxRect *arg3 = 0 ;
20689 int arg4 = (int) 1 ;
20690 wxRect temp3 ;
20691 PyObject * obj0 = 0 ;
20692 PyObject * obj1 = 0 ;
20693 PyObject * obj2 = 0 ;
994141e6 20694 PyObject * obj3 = 0 ;
d14a1e28
RD
20695 char *kwnames[] = {
20696 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
20697 };
20698
994141e6 20699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
20700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
20701 if (SWIG_arg_fail(1)) SWIG_fail;
20702 {
20703 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
20704 if (SWIG_arg_fail(2)) SWIG_fail;
20705 if (arg2 == NULL) {
20706 SWIG_null_ref("wxDC");
20707 }
20708 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
20709 }
20710 {
20711 arg3 = &temp3;
20712 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
20713 }
994141e6 20714 if (obj3) {
093d3ff1 20715 {
32fe5131 20716 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
20717 if (SWIG_arg_fail(4)) SWIG_fail;
20718 }
994141e6 20719 }
d14a1e28
RD
20720 {
20721 PyThreadState* __tstate = wxPyBeginAllowThreads();
20722 (arg1)->DrawSunkenEdge(*arg2,(wxRect const &)*arg3,arg4);
20723
20724 wxPyEndAllowThreads(__tstate);
20725 if (PyErr_Occurred()) SWIG_fail;
20726 }
20727 Py_INCREF(Py_None); resultobj = Py_None;
20728 return resultobj;
20729 fail:
20730 return NULL;
20731}
20732
20733
c32bde28 20734static PyObject *_wrap_Effects_TileBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20735 PyObject *resultobj = NULL;
d14a1e28
RD
20736 wxEffects *arg1 = (wxEffects *) 0 ;
20737 wxRect *arg2 = 0 ;
20738 wxDC *arg3 = 0 ;
20739 wxBitmap *arg4 = 0 ;
20740 bool result;
20741 wxRect temp2 ;
20742 PyObject * obj0 = 0 ;
20743 PyObject * obj1 = 0 ;
20744 PyObject * obj2 = 0 ;
20745 PyObject * obj3 = 0 ;
20746 char *kwnames[] = {
20747 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
20748 };
20749
20750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Effects_TileBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
20751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
20752 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20753 {
20754 arg2 = &temp2;
20755 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
20756 }
093d3ff1
RD
20757 {
20758 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
20759 if (SWIG_arg_fail(3)) SWIG_fail;
20760 if (arg3 == NULL) {
20761 SWIG_null_ref("wxDC");
20762 }
20763 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28 20764 }
093d3ff1
RD
20765 {
20766 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
20767 if (SWIG_arg_fail(4)) SWIG_fail;
20768 if (arg4 == NULL) {
20769 SWIG_null_ref("wxBitmap");
20770 }
20771 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
20772 }
20773 {
20774 PyThreadState* __tstate = wxPyBeginAllowThreads();
20775 result = (bool)(arg1)->TileBitmap((wxRect const &)*arg2,*arg3,*arg4);
20776
20777 wxPyEndAllowThreads(__tstate);
20778 if (PyErr_Occurred()) SWIG_fail;
20779 }
4f89f6a3
RD
20780 {
20781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20782 }
d14a1e28
RD
20783 return resultobj;
20784 fail:
20785 return NULL;
20786}
20787
20788
c32bde28 20789static PyObject * Effects_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
20790 PyObject *obj;
20791 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20792 SWIG_TypeClientData(SWIGTYPE_p_wxEffects, obj);
20793 Py_INCREF(obj);
20794 return Py_BuildValue((char *)"");
20795}
8d38bd1d 20796static PyObject *_wrap_new_SplitterRenderParams(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20797 PyObject *resultobj = NULL;
8d38bd1d
RD
20798 int arg1 ;
20799 int arg2 ;
20800 bool arg3 ;
20801 wxSplitterRenderParams *result;
20802 PyObject * obj0 = 0 ;
20803 PyObject * obj1 = 0 ;
20804 PyObject * obj2 = 0 ;
20805 char *kwnames[] = {
20806 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
20807 };
20808
20809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_SplitterRenderParams",kwnames,&obj0,&obj1,&obj2)) goto fail;
20810 {
32fe5131 20811 arg1 = static_cast<int >(SWIG_As_int(obj0));
8d38bd1d
RD
20812 if (SWIG_arg_fail(1)) SWIG_fail;
20813 }
20814 {
32fe5131 20815 arg2 = static_cast<int >(SWIG_As_int(obj1));
8d38bd1d
RD
20816 if (SWIG_arg_fail(2)) SWIG_fail;
20817 }
20818 {
32fe5131 20819 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
8d38bd1d
RD
20820 if (SWIG_arg_fail(3)) SWIG_fail;
20821 }
20822 {
20823 PyThreadState* __tstate = wxPyBeginAllowThreads();
20824 result = (wxSplitterRenderParams *)new wxSplitterRenderParams(arg1,arg2,arg3);
20825
20826 wxPyEndAllowThreads(__tstate);
20827 if (PyErr_Occurred()) SWIG_fail;
20828 }
20829 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterRenderParams, 1);
20830 return resultobj;
20831 fail:
20832 return NULL;
20833}
20834
20835
20836static PyObject *_wrap_delete_SplitterRenderParams(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20837 PyObject *resultobj = NULL;
8d38bd1d
RD
20838 wxSplitterRenderParams *arg1 = (wxSplitterRenderParams *) 0 ;
20839 PyObject * obj0 = 0 ;
20840 char *kwnames[] = {
20841 (char *) "self", NULL
20842 };
20843
20844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SplitterRenderParams",kwnames,&obj0)) goto fail;
20845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterRenderParams, SWIG_POINTER_EXCEPTION | 0);
20846 if (SWIG_arg_fail(1)) SWIG_fail;
20847 {
20848 PyThreadState* __tstate = wxPyBeginAllowThreads();
20849 delete arg1;
20850
20851 wxPyEndAllowThreads(__tstate);
20852 if (PyErr_Occurred()) SWIG_fail;
20853 }
20854 Py_INCREF(Py_None); resultobj = Py_None;
20855 return resultobj;
20856 fail:
20857 return NULL;
20858}
20859
20860
20861static PyObject *_wrap_SplitterRenderParams_widthSash_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20862 PyObject *resultobj = NULL;
8d38bd1d
RD
20863 wxSplitterRenderParams *arg1 = (wxSplitterRenderParams *) 0 ;
20864 int result;
20865 PyObject * obj0 = 0 ;
20866 char *kwnames[] = {
20867 (char *) "self", NULL
20868 };
20869
20870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterRenderParams_widthSash_get",kwnames,&obj0)) goto fail;
20871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterRenderParams, SWIG_POINTER_EXCEPTION | 0);
20872 if (SWIG_arg_fail(1)) SWIG_fail;
20873 result = (int)(int) ((arg1)->widthSash);
20874
20875 {
32fe5131 20876 resultobj = SWIG_From_int(static_cast<int >(result));
8d38bd1d
RD
20877 }
20878 return resultobj;
20879 fail:
20880 return NULL;
20881}
20882
20883
20884static PyObject *_wrap_SplitterRenderParams_border_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20885 PyObject *resultobj = NULL;
8d38bd1d
RD
20886 wxSplitterRenderParams *arg1 = (wxSplitterRenderParams *) 0 ;
20887 int result;
20888 PyObject * obj0 = 0 ;
20889 char *kwnames[] = {
20890 (char *) "self", NULL
20891 };
20892
20893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterRenderParams_border_get",kwnames,&obj0)) goto fail;
20894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterRenderParams, SWIG_POINTER_EXCEPTION | 0);
20895 if (SWIG_arg_fail(1)) SWIG_fail;
20896 result = (int)(int) ((arg1)->border);
20897
20898 {
32fe5131 20899 resultobj = SWIG_From_int(static_cast<int >(result));
8d38bd1d
RD
20900 }
20901 return resultobj;
20902 fail:
20903 return NULL;
20904}
20905
20906
20907static PyObject *_wrap_SplitterRenderParams_isHotSensitive_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20908 PyObject *resultobj = NULL;
8d38bd1d
RD
20909 wxSplitterRenderParams *arg1 = (wxSplitterRenderParams *) 0 ;
20910 bool result;
20911 PyObject * obj0 = 0 ;
20912 char *kwnames[] = {
20913 (char *) "self", NULL
20914 };
20915
20916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterRenderParams_isHotSensitive_get",kwnames,&obj0)) goto fail;
20917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterRenderParams, SWIG_POINTER_EXCEPTION | 0);
20918 if (SWIG_arg_fail(1)) SWIG_fail;
20919 result = (bool)(bool) ((arg1)->isHotSensitive);
20920
20921 {
32fe5131 20922 resultobj = SWIG_From_bool(static_cast<bool >(result));
8d38bd1d
RD
20923 }
20924 return resultobj;
20925 fail:
20926 return NULL;
20927}
20928
20929
20930static PyObject * SplitterRenderParams_swigregister(PyObject *, PyObject *args) {
20931 PyObject *obj;
20932 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20933 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterRenderParams, obj);
20934 Py_INCREF(obj);
20935 return Py_BuildValue((char *)"");
20936}
20937static PyObject *_wrap_new_RendererVersion(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20938 PyObject *resultobj = NULL;
8d38bd1d
RD
20939 int arg1 ;
20940 int arg2 ;
20941 wxRendererVersion *result;
20942 PyObject * obj0 = 0 ;
20943 PyObject * obj1 = 0 ;
20944 char *kwnames[] = {
20945 (char *) "version_",(char *) "age_", NULL
20946 };
20947
20948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RendererVersion",kwnames,&obj0,&obj1)) goto fail;
20949 {
32fe5131 20950 arg1 = static_cast<int >(SWIG_As_int(obj0));
8d38bd1d
RD
20951 if (SWIG_arg_fail(1)) SWIG_fail;
20952 }
20953 {
32fe5131 20954 arg2 = static_cast<int >(SWIG_As_int(obj1));
8d38bd1d
RD
20955 if (SWIG_arg_fail(2)) SWIG_fail;
20956 }
20957 {
20958 PyThreadState* __tstate = wxPyBeginAllowThreads();
20959 result = (wxRendererVersion *)new wxRendererVersion(arg1,arg2);
20960
20961 wxPyEndAllowThreads(__tstate);
20962 if (PyErr_Occurred()) SWIG_fail;
20963 }
20964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRendererVersion, 1);
20965 return resultobj;
20966 fail:
20967 return NULL;
20968}
20969
20970
20971static PyObject *_wrap_delete_RendererVersion(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20972 PyObject *resultobj = NULL;
8d38bd1d
RD
20973 wxRendererVersion *arg1 = (wxRendererVersion *) 0 ;
20974 PyObject * obj0 = 0 ;
20975 char *kwnames[] = {
20976 (char *) "self", NULL
20977 };
20978
20979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RendererVersion",kwnames,&obj0)) goto fail;
20980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererVersion, SWIG_POINTER_EXCEPTION | 0);
20981 if (SWIG_arg_fail(1)) SWIG_fail;
20982 {
20983 PyThreadState* __tstate = wxPyBeginAllowThreads();
20984 delete arg1;
20985
20986 wxPyEndAllowThreads(__tstate);
20987 if (PyErr_Occurred()) SWIG_fail;
20988 }
20989 Py_INCREF(Py_None); resultobj = Py_None;
20990 return resultobj;
20991 fail:
20992 return NULL;
20993}
20994
20995
20996static PyObject *_wrap_RendererVersion_IsCompatible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20997 PyObject *resultobj = NULL;
8d38bd1d
RD
20998 wxRendererVersion *arg1 = 0 ;
20999 bool result;
21000 PyObject * obj0 = 0 ;
21001 char *kwnames[] = {
21002 (char *) "ver", NULL
21003 };
21004
21005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RendererVersion_IsCompatible",kwnames,&obj0)) goto fail;
21006 {
21007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererVersion, SWIG_POINTER_EXCEPTION | 0);
21008 if (SWIG_arg_fail(1)) SWIG_fail;
21009 if (arg1 == NULL) {
21010 SWIG_null_ref("wxRendererVersion");
21011 }
21012 if (SWIG_arg_fail(1)) SWIG_fail;
21013 }
21014 {
21015 PyThreadState* __tstate = wxPyBeginAllowThreads();
21016 result = (bool)wxRendererVersion::IsCompatible((wxRendererVersion const &)*arg1);
21017
21018 wxPyEndAllowThreads(__tstate);
21019 if (PyErr_Occurred()) SWIG_fail;
21020 }
21021 {
21022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21023 }
21024 return resultobj;
21025 fail:
21026 return NULL;
21027}
21028
21029
21030static PyObject *_wrap_RendererVersion_version_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21031 PyObject *resultobj = NULL;
8d38bd1d
RD
21032 wxRendererVersion *arg1 = (wxRendererVersion *) 0 ;
21033 int result;
21034 PyObject * obj0 = 0 ;
21035 char *kwnames[] = {
21036 (char *) "self", NULL
21037 };
21038
21039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RendererVersion_version_get",kwnames,&obj0)) goto fail;
21040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererVersion, SWIG_POINTER_EXCEPTION | 0);
21041 if (SWIG_arg_fail(1)) SWIG_fail;
21042 result = (int)(int) ((arg1)->version);
21043
21044 {
32fe5131 21045 resultobj = SWIG_From_int(static_cast<int >(result));
8d38bd1d
RD
21046 }
21047 return resultobj;
21048 fail:
21049 return NULL;
21050}
21051
21052
21053static PyObject *_wrap_RendererVersion_age_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21054 PyObject *resultobj = NULL;
8d38bd1d
RD
21055 wxRendererVersion *arg1 = (wxRendererVersion *) 0 ;
21056 int result;
21057 PyObject * obj0 = 0 ;
21058 char *kwnames[] = {
21059 (char *) "self", NULL
21060 };
21061
21062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RendererVersion_age_get",kwnames,&obj0)) goto fail;
21063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererVersion, SWIG_POINTER_EXCEPTION | 0);
21064 if (SWIG_arg_fail(1)) SWIG_fail;
21065 result = (int)(int) ((arg1)->age);
21066
21067 {
32fe5131 21068 resultobj = SWIG_From_int(static_cast<int >(result));
8d38bd1d
RD
21069 }
21070 return resultobj;
21071 fail:
21072 return NULL;
21073}
21074
21075
21076static PyObject * RendererVersion_swigregister(PyObject *, PyObject *args) {
21077 PyObject *obj;
21078 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21079 SWIG_TypeClientData(SWIGTYPE_p_wxRendererVersion, obj);
21080 Py_INCREF(obj);
21081 return Py_BuildValue((char *)"");
21082}
21083static PyObject *_wrap_RendererNative_DrawHeaderButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21084 PyObject *resultobj = NULL;
8d38bd1d
RD
21085 wxRendererNative *arg1 = (wxRendererNative *) 0 ;
21086 wxWindow *arg2 = (wxWindow *) 0 ;
21087 wxDC *arg3 = 0 ;
21088 wxRect *arg4 = 0 ;
21089 int arg5 = (int) 0 ;
21090 wxRect temp4 ;
21091 PyObject * obj0 = 0 ;
21092 PyObject * obj1 = 0 ;
21093 PyObject * obj2 = 0 ;
21094 PyObject * obj3 = 0 ;
21095 PyObject * obj4 = 0 ;
21096 char *kwnames[] = {
21097 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21098 };
21099
21100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererNative, SWIG_POINTER_EXCEPTION | 0);
21102 if (SWIG_arg_fail(1)) SWIG_fail;
21103 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21104 if (SWIG_arg_fail(2)) SWIG_fail;
21105 {
21106 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
21107 if (SWIG_arg_fail(3)) SWIG_fail;
21108 if (arg3 == NULL) {
21109 SWIG_null_ref("wxDC");
21110 }
21111 if (SWIG_arg_fail(3)) SWIG_fail;
21112 }
21113 {
21114 arg4 = &temp4;
21115 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
21116 }
21117 if (obj4) {
21118 {
32fe5131 21119 arg5 = static_cast<int >(SWIG_As_int(obj4));
8d38bd1d
RD
21120 if (SWIG_arg_fail(5)) SWIG_fail;
21121 }
21122 }
21123 {
21124 PyThreadState* __tstate = wxPyBeginAllowThreads();
21125 (arg1)->DrawHeaderButton(arg2,*arg3,(wxRect const &)*arg4,arg5);
21126
21127 wxPyEndAllowThreads(__tstate);
21128 if (PyErr_Occurred()) SWIG_fail;
21129 }
21130 Py_INCREF(Py_None); resultobj = Py_None;
21131 return resultobj;
21132 fail:
21133 return NULL;
21134}
21135
21136
21137static PyObject *_wrap_RendererNative_DrawTreeItemButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21138 PyObject *resultobj = NULL;
8d38bd1d
RD
21139 wxRendererNative *arg1 = (wxRendererNative *) 0 ;
21140 wxWindow *arg2 = (wxWindow *) 0 ;
21141 wxDC *arg3 = 0 ;
21142 wxRect *arg4 = 0 ;
21143 int arg5 = (int) 0 ;
21144 wxRect temp4 ;
21145 PyObject * obj0 = 0 ;
21146 PyObject * obj1 = 0 ;
21147 PyObject * obj2 = 0 ;
21148 PyObject * obj3 = 0 ;
21149 PyObject * obj4 = 0 ;
21150 char *kwnames[] = {
21151 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21152 };
21153
21154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererNative, SWIG_POINTER_EXCEPTION | 0);
21156 if (SWIG_arg_fail(1)) SWIG_fail;
21157 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21158 if (SWIG_arg_fail(2)) SWIG_fail;
21159 {
21160 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
21161 if (SWIG_arg_fail(3)) SWIG_fail;
21162 if (arg3 == NULL) {
21163 SWIG_null_ref("wxDC");
21164 }
21165 if (SWIG_arg_fail(3)) SWIG_fail;
21166 }
21167 {
21168 arg4 = &temp4;
21169 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
21170 }
21171 if (obj4) {
21172 {
32fe5131 21173 arg5 = static_cast<int >(SWIG_As_int(obj4));
8d38bd1d
RD
21174 if (SWIG_arg_fail(5)) SWIG_fail;
21175 }
21176 }
21177 {
21178 PyThreadState* __tstate = wxPyBeginAllowThreads();
21179 (arg1)->DrawTreeItemButton(arg2,*arg3,(wxRect const &)*arg4,arg5);
21180
21181 wxPyEndAllowThreads(__tstate);
21182 if (PyErr_Occurred()) SWIG_fail;
21183 }
21184 Py_INCREF(Py_None); resultobj = Py_None;
21185 return resultobj;
21186 fail:
21187 return NULL;
21188}
21189
21190
21191static PyObject *_wrap_RendererNative_DrawSplitterBorder(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21192 PyObject *resultobj = NULL;
8d38bd1d
RD
21193 wxRendererNative *arg1 = (wxRendererNative *) 0 ;
21194 wxWindow *arg2 = (wxWindow *) 0 ;
21195 wxDC *arg3 = 0 ;
21196 wxRect *arg4 = 0 ;
21197 int arg5 = (int) 0 ;
21198 wxRect temp4 ;
21199 PyObject * obj0 = 0 ;
21200 PyObject * obj1 = 0 ;
21201 PyObject * obj2 = 0 ;
21202 PyObject * obj3 = 0 ;
21203 PyObject * obj4 = 0 ;
21204 char *kwnames[] = {
21205 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21206 };
21207
21208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererNative, SWIG_POINTER_EXCEPTION | 0);
21210 if (SWIG_arg_fail(1)) SWIG_fail;
21211 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21212 if (SWIG_arg_fail(2)) SWIG_fail;
21213 {
21214 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
21215 if (SWIG_arg_fail(3)) SWIG_fail;
21216 if (arg3 == NULL) {
21217 SWIG_null_ref("wxDC");
21218 }
21219 if (SWIG_arg_fail(3)) SWIG_fail;
21220 }
21221 {
21222 arg4 = &temp4;
21223 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
21224 }
21225 if (obj4) {
21226 {
32fe5131 21227 arg5 = static_cast<int >(SWIG_As_int(obj4));
8d38bd1d
RD
21228 if (SWIG_arg_fail(5)) SWIG_fail;
21229 }
21230 }
21231 {
21232 PyThreadState* __tstate = wxPyBeginAllowThreads();
21233 (arg1)->DrawSplitterBorder(arg2,*arg3,(wxRect const &)*arg4,arg5);
21234
21235 wxPyEndAllowThreads(__tstate);
21236 if (PyErr_Occurred()) SWIG_fail;
21237 }
21238 Py_INCREF(Py_None); resultobj = Py_None;
21239 return resultobj;
21240 fail:
21241 return NULL;
21242}
21243
21244
21245static PyObject *_wrap_RendererNative_DrawSplitterSash(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21246 PyObject *resultobj = NULL;
8d38bd1d
RD
21247 wxRendererNative *arg1 = (wxRendererNative *) 0 ;
21248 wxWindow *arg2 = (wxWindow *) 0 ;
21249 wxDC *arg3 = 0 ;
21250 wxSize *arg4 = 0 ;
21251 int arg5 ;
21252 wxOrientation arg6 ;
21253 int arg7 = (int) 0 ;
21254 wxSize temp4 ;
21255 PyObject * obj0 = 0 ;
21256 PyObject * obj1 = 0 ;
21257 PyObject * obj2 = 0 ;
21258 PyObject * obj3 = 0 ;
21259 PyObject * obj4 = 0 ;
21260 PyObject * obj5 = 0 ;
21261 PyObject * obj6 = 0 ;
21262 char *kwnames[] = {
21263 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
21264 };
21265
21266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererNative, SWIG_POINTER_EXCEPTION | 0);
21268 if (SWIG_arg_fail(1)) SWIG_fail;
21269 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21270 if (SWIG_arg_fail(2)) SWIG_fail;
21271 {
21272 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
21273 if (SWIG_arg_fail(3)) SWIG_fail;
21274 if (arg3 == NULL) {
21275 SWIG_null_ref("wxDC");
21276 }
21277 if (SWIG_arg_fail(3)) SWIG_fail;
21278 }
21279 {
21280 arg4 = &temp4;
21281 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21282 }
21283 {
32fe5131 21284 arg5 = static_cast<int >(SWIG_As_int(obj4));
8d38bd1d
RD
21285 if (SWIG_arg_fail(5)) SWIG_fail;
21286 }
21287 {
32fe5131 21288 arg6 = static_cast<wxOrientation >(SWIG_As_int(obj5));
8d38bd1d
RD
21289 if (SWIG_arg_fail(6)) SWIG_fail;
21290 }
21291 if (obj6) {
21292 {
32fe5131 21293 arg7 = static_cast<int >(SWIG_As_int(obj6));
8d38bd1d
RD
21294 if (SWIG_arg_fail(7)) SWIG_fail;
21295 }
21296 }
21297 {
21298 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21299 (arg1)->DrawSplitterSash(arg2,*arg3,(wxSize const &)*arg4,arg5,arg6,arg7);
8d38bd1d
RD
21300
21301 wxPyEndAllowThreads(__tstate);
21302 if (PyErr_Occurred()) SWIG_fail;
21303 }
21304 Py_INCREF(Py_None); resultobj = Py_None;
21305 return resultobj;
21306 fail:
21307 return NULL;
21308}
21309
21310
21311static PyObject *_wrap_RendererNative_DrawComboBoxDropButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21312 PyObject *resultobj = NULL;
8d38bd1d
RD
21313 wxRendererNative *arg1 = (wxRendererNative *) 0 ;
21314 wxWindow *arg2 = (wxWindow *) 0 ;
21315 wxDC *arg3 = 0 ;
21316 wxRect *arg4 = 0 ;
21317 int arg5 = (int) 0 ;
21318 wxRect temp4 ;
21319 PyObject * obj0 = 0 ;
21320 PyObject * obj1 = 0 ;
21321 PyObject * obj2 = 0 ;
21322 PyObject * obj3 = 0 ;
21323 PyObject * obj4 = 0 ;
21324 char *kwnames[] = {
21325 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21326 };
21327
21328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererNative, SWIG_POINTER_EXCEPTION | 0);
21330 if (SWIG_arg_fail(1)) SWIG_fail;
21331 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21332 if (SWIG_arg_fail(2)) SWIG_fail;
21333 {
21334 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
21335 if (SWIG_arg_fail(3)) SWIG_fail;
21336 if (arg3 == NULL) {
21337 SWIG_null_ref("wxDC");
21338 }
21339 if (SWIG_arg_fail(3)) SWIG_fail;
21340 }
21341 {
21342 arg4 = &temp4;
21343 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
21344 }
21345 if (obj4) {
21346 {
32fe5131 21347 arg5 = static_cast<int >(SWIG_As_int(obj4));
8d38bd1d
RD
21348 if (SWIG_arg_fail(5)) SWIG_fail;
21349 }
21350 }
21351 {
21352 PyThreadState* __tstate = wxPyBeginAllowThreads();
21353 (arg1)->DrawComboBoxDropButton(arg2,*arg3,(wxRect const &)*arg4,arg5);
21354
21355 wxPyEndAllowThreads(__tstate);
21356 if (PyErr_Occurred()) SWIG_fail;
21357 }
21358 Py_INCREF(Py_None); resultobj = Py_None;
21359 return resultobj;
21360 fail:
21361 return NULL;
21362}
21363
21364
21365static PyObject *_wrap_RendererNative_DrawDropArrow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21366 PyObject *resultobj = NULL;
8d38bd1d
RD
21367 wxRendererNative *arg1 = (wxRendererNative *) 0 ;
21368 wxWindow *arg2 = (wxWindow *) 0 ;
21369 wxDC *arg3 = 0 ;
21370 wxRect *arg4 = 0 ;
21371 int arg5 = (int) 0 ;
21372 wxRect temp4 ;
21373 PyObject * obj0 = 0 ;
21374 PyObject * obj1 = 0 ;
21375 PyObject * obj2 = 0 ;
21376 PyObject * obj3 = 0 ;
21377 PyObject * obj4 = 0 ;
21378 char *kwnames[] = {
21379 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21380 };
21381
21382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererNative, SWIG_POINTER_EXCEPTION | 0);
21384 if (SWIG_arg_fail(1)) SWIG_fail;
21385 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21386 if (SWIG_arg_fail(2)) SWIG_fail;
21387 {
21388 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
21389 if (SWIG_arg_fail(3)) SWIG_fail;
21390 if (arg3 == NULL) {
21391 SWIG_null_ref("wxDC");
21392 }
21393 if (SWIG_arg_fail(3)) SWIG_fail;
21394 }
21395 {
21396 arg4 = &temp4;
21397 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
21398 }
21399 if (obj4) {
21400 {
32fe5131 21401 arg5 = static_cast<int >(SWIG_As_int(obj4));
8d38bd1d
RD
21402 if (SWIG_arg_fail(5)) SWIG_fail;
21403 }
21404 }
21405 {
21406 PyThreadState* __tstate = wxPyBeginAllowThreads();
21407 (arg1)->DrawDropArrow(arg2,*arg3,(wxRect const &)*arg4,arg5);
21408
21409 wxPyEndAllowThreads(__tstate);
21410 if (PyErr_Occurred()) SWIG_fail;
21411 }
21412 Py_INCREF(Py_None); resultobj = Py_None;
21413 return resultobj;
21414 fail:
21415 return NULL;
21416}
21417
21418
21419static PyObject *_wrap_RendererNative_GetSplitterParams(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21420 PyObject *resultobj = NULL;
8d38bd1d
RD
21421 wxRendererNative *arg1 = (wxRendererNative *) 0 ;
21422 wxWindow *arg2 = (wxWindow *) 0 ;
21423 SwigValueWrapper<wxSplitterRenderParams > result;
21424 PyObject * obj0 = 0 ;
21425 PyObject * obj1 = 0 ;
21426 char *kwnames[] = {
21427 (char *) "self",(char *) "win", NULL
21428 };
21429
21430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RendererNative_GetSplitterParams",kwnames,&obj0,&obj1)) goto fail;
21431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererNative, SWIG_POINTER_EXCEPTION | 0);
21432 if (SWIG_arg_fail(1)) SWIG_fail;
21433 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21434 if (SWIG_arg_fail(2)) SWIG_fail;
21435 {
21436 PyThreadState* __tstate = wxPyBeginAllowThreads();
21437 result = (arg1)->GetSplitterParams((wxWindow const *)arg2);
21438
21439 wxPyEndAllowThreads(__tstate);
21440 if (PyErr_Occurred()) SWIG_fail;
21441 }
21442 {
21443 wxSplitterRenderParams * resultptr;
32fe5131 21444 resultptr = new wxSplitterRenderParams(static_cast<wxSplitterRenderParams & >(result));
8d38bd1d
RD
21445 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSplitterRenderParams, 1);
21446 }
21447 return resultobj;
21448 fail:
21449 return NULL;
21450}
21451
21452
21453static PyObject *_wrap_RendererNative_Get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21454 PyObject *resultobj = NULL;
8d38bd1d
RD
21455 wxRendererNative *result;
21456 char *kwnames[] = {
21457 NULL
21458 };
21459
21460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":RendererNative_Get",kwnames)) goto fail;
21461 {
21462 PyThreadState* __tstate = wxPyBeginAllowThreads();
21463 {
21464 wxRendererNative &_result_ref = wxRendererNative::Get();
21465 result = (wxRendererNative *) &_result_ref;
21466 }
21467
21468 wxPyEndAllowThreads(__tstate);
21469 if (PyErr_Occurred()) SWIG_fail;
21470 }
21471 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRendererNative, 0);
21472 return resultobj;
21473 fail:
21474 return NULL;
21475}
21476
21477
21478static PyObject *_wrap_RendererNative_GetGeneric(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21479 PyObject *resultobj = NULL;
8d38bd1d
RD
21480 wxRendererNative *result;
21481 char *kwnames[] = {
21482 NULL
21483 };
21484
21485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":RendererNative_GetGeneric",kwnames)) goto fail;
21486 {
21487 PyThreadState* __tstate = wxPyBeginAllowThreads();
21488 {
21489 wxRendererNative &_result_ref = wxRendererNative::GetGeneric();
21490 result = (wxRendererNative *) &_result_ref;
21491 }
21492
21493 wxPyEndAllowThreads(__tstate);
21494 if (PyErr_Occurred()) SWIG_fail;
21495 }
21496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRendererNative, 0);
21497 return resultobj;
21498 fail:
21499 return NULL;
21500}
21501
21502
21503static PyObject *_wrap_RendererNative_GetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21504 PyObject *resultobj = NULL;
8d38bd1d
RD
21505 wxRendererNative *result;
21506 char *kwnames[] = {
21507 NULL
21508 };
21509
21510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":RendererNative_GetDefault",kwnames)) goto fail;
21511 {
21512 PyThreadState* __tstate = wxPyBeginAllowThreads();
21513 {
21514 wxRendererNative &_result_ref = wxRendererNative::GetDefault();
21515 result = (wxRendererNative *) &_result_ref;
21516 }
21517
21518 wxPyEndAllowThreads(__tstate);
21519 if (PyErr_Occurred()) SWIG_fail;
21520 }
21521 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRendererNative, 0);
21522 return resultobj;
21523 fail:
21524 return NULL;
21525}
21526
21527
21528static PyObject *_wrap_RendererNative_Set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21529 PyObject *resultobj = NULL;
8d38bd1d
RD
21530 wxRendererNative *arg1 = (wxRendererNative *) 0 ;
21531 wxRendererNative *result;
21532 PyObject * obj0 = 0 ;
21533 char *kwnames[] = {
21534 (char *) "renderer", NULL
21535 };
21536
21537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RendererNative_Set",kwnames,&obj0)) goto fail;
21538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererNative, SWIG_POINTER_EXCEPTION | 0);
21539 if (SWIG_arg_fail(1)) SWIG_fail;
21540 {
21541 PyThreadState* __tstate = wxPyBeginAllowThreads();
21542 result = (wxRendererNative *)wxRendererNative::Set(arg1);
21543
21544 wxPyEndAllowThreads(__tstate);
21545 if (PyErr_Occurred()) SWIG_fail;
21546 }
21547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRendererNative, 0);
21548 return resultobj;
21549 fail:
21550 return NULL;
21551}
21552
21553
21554static PyObject *_wrap_RendererNative_GetVersion(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21555 PyObject *resultobj = NULL;
8d38bd1d
RD
21556 wxRendererNative *arg1 = (wxRendererNative *) 0 ;
21557 SwigValueWrapper<wxRendererVersion > result;
21558 PyObject * obj0 = 0 ;
21559 char *kwnames[] = {
21560 (char *) "self", NULL
21561 };
21562
21563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RendererNative_GetVersion",kwnames,&obj0)) goto fail;
21564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererNative, SWIG_POINTER_EXCEPTION | 0);
21565 if (SWIG_arg_fail(1)) SWIG_fail;
21566 {
21567 PyThreadState* __tstate = wxPyBeginAllowThreads();
21568 result = ((wxRendererNative const *)arg1)->GetVersion();
21569
21570 wxPyEndAllowThreads(__tstate);
21571 if (PyErr_Occurred()) SWIG_fail;
21572 }
21573 {
21574 wxRendererVersion * resultptr;
32fe5131 21575 resultptr = new wxRendererVersion(static_cast<wxRendererVersion & >(result));
8d38bd1d
RD
21576 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRendererVersion, 1);
21577 }
21578 return resultobj;
21579 fail:
21580 return NULL;
21581}
21582
21583
21584static PyObject * RendererNative_swigregister(PyObject *, PyObject *args) {
21585 PyObject *obj;
21586 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21587 SWIG_TypeClientData(SWIGTYPE_p_wxRendererNative, obj);
21588 Py_INCREF(obj);
21589 return Py_BuildValue((char *)"");
21590}
21591static PyMethodDef SwigMethods[] = {
21592 { (char *)"new_GDIObject", (PyCFunction) _wrap_new_GDIObject, METH_VARARGS | METH_KEYWORDS, NULL},
21593 { (char *)"delete_GDIObject", (PyCFunction) _wrap_delete_GDIObject, METH_VARARGS | METH_KEYWORDS, NULL},
21594 { (char *)"GDIObject_GetVisible", (PyCFunction) _wrap_GDIObject_GetVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21595 { (char *)"GDIObject_SetVisible", (PyCFunction) _wrap_GDIObject_SetVisible, METH_VARARGS | METH_KEYWORDS, NULL},
21596 { (char *)"GDIObject_IsNull", (PyCFunction) _wrap_GDIObject_IsNull, METH_VARARGS | METH_KEYWORDS, NULL},
21597 { (char *)"GDIObject_swigregister", GDIObject_swigregister, METH_VARARGS, NULL},
21598 { (char *)"new_Colour", (PyCFunction) _wrap_new_Colour, METH_VARARGS | METH_KEYWORDS, NULL},
21599 { (char *)"new_NamedColour", (PyCFunction) _wrap_new_NamedColour, METH_VARARGS | METH_KEYWORDS, NULL},
21600 { (char *)"new_ColourRGB", (PyCFunction) _wrap_new_ColourRGB, METH_VARARGS | METH_KEYWORDS, NULL},
21601 { (char *)"delete_Colour", (PyCFunction) _wrap_delete_Colour, METH_VARARGS | METH_KEYWORDS, NULL},
21602 { (char *)"Colour_Red", (PyCFunction) _wrap_Colour_Red, METH_VARARGS | METH_KEYWORDS, NULL},
21603 { (char *)"Colour_Green", (PyCFunction) _wrap_Colour_Green, METH_VARARGS | METH_KEYWORDS, NULL},
21604 { (char *)"Colour_Blue", (PyCFunction) _wrap_Colour_Blue, METH_VARARGS | METH_KEYWORDS, NULL},
21605 { (char *)"Colour_Ok", (PyCFunction) _wrap_Colour_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
21606 { (char *)"Colour_Set", (PyCFunction) _wrap_Colour_Set, METH_VARARGS | METH_KEYWORDS, NULL},
21607 { (char *)"Colour_SetRGB", (PyCFunction) _wrap_Colour_SetRGB, METH_VARARGS | METH_KEYWORDS, NULL},
21608 { (char *)"Colour_SetFromName", (PyCFunction) _wrap_Colour_SetFromName, METH_VARARGS | METH_KEYWORDS, NULL},
21609 { (char *)"Colour_GetPixel", (PyCFunction) _wrap_Colour_GetPixel, METH_VARARGS | METH_KEYWORDS, NULL},
21610 { (char *)"Colour___eq__", (PyCFunction) _wrap_Colour___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
21611 { (char *)"Colour___ne__", (PyCFunction) _wrap_Colour___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
21612 { (char *)"Colour_Get", (PyCFunction) _wrap_Colour_Get, METH_VARARGS | METH_KEYWORDS, NULL},
21613 { (char *)"Colour_GetRGB", (PyCFunction) _wrap_Colour_GetRGB, METH_VARARGS | METH_KEYWORDS, NULL},
21614 { (char *)"Colour_swigregister", Colour_swigregister, METH_VARARGS, NULL},
21615 { (char *)"new_Palette", (PyCFunction) _wrap_new_Palette, METH_VARARGS | METH_KEYWORDS, NULL},
21616 { (char *)"delete_Palette", (PyCFunction) _wrap_delete_Palette, METH_VARARGS | METH_KEYWORDS, NULL},
21617 { (char *)"Palette_GetPixel", (PyCFunction) _wrap_Palette_GetPixel, METH_VARARGS | METH_KEYWORDS, NULL},
21618 { (char *)"Palette_GetRGB", (PyCFunction) _wrap_Palette_GetRGB, METH_VARARGS | METH_KEYWORDS, NULL},
21619 { (char *)"Palette_GetColoursCount", (PyCFunction) _wrap_Palette_GetColoursCount, METH_VARARGS | METH_KEYWORDS, NULL},
21620 { (char *)"Palette_Ok", (PyCFunction) _wrap_Palette_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
21621 { (char *)"Palette_swigregister", Palette_swigregister, METH_VARARGS, NULL},
21622 { (char *)"new_Pen", (PyCFunction) _wrap_new_Pen, METH_VARARGS | METH_KEYWORDS, NULL},
21623 { (char *)"delete_Pen", (PyCFunction) _wrap_delete_Pen, METH_VARARGS | METH_KEYWORDS, NULL},
21624 { (char *)"Pen_GetCap", (PyCFunction) _wrap_Pen_GetCap, METH_VARARGS | METH_KEYWORDS, NULL},
21625 { (char *)"Pen_GetColour", (PyCFunction) _wrap_Pen_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
21626 { (char *)"Pen_GetJoin", (PyCFunction) _wrap_Pen_GetJoin, METH_VARARGS | METH_KEYWORDS, NULL},
21627 { (char *)"Pen_GetStyle", (PyCFunction) _wrap_Pen_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
21628 { (char *)"Pen_GetWidth", (PyCFunction) _wrap_Pen_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21629 { (char *)"Pen_Ok", (PyCFunction) _wrap_Pen_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
21630 { (char *)"Pen_SetCap", (PyCFunction) _wrap_Pen_SetCap, METH_VARARGS | METH_KEYWORDS, NULL},
21631 { (char *)"Pen_SetColour", (PyCFunction) _wrap_Pen_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
21632 { (char *)"Pen_SetJoin", (PyCFunction) _wrap_Pen_SetJoin, METH_VARARGS | METH_KEYWORDS, NULL},
21633 { (char *)"Pen_SetStyle", (PyCFunction) _wrap_Pen_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
21634 { (char *)"Pen_SetWidth", (PyCFunction) _wrap_Pen_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21635 { (char *)"Pen_SetDashes", (PyCFunction) _wrap_Pen_SetDashes, METH_VARARGS | METH_KEYWORDS, NULL},
21636 { (char *)"Pen_GetDashes", (PyCFunction) _wrap_Pen_GetDashes, METH_VARARGS | METH_KEYWORDS, NULL},
21637 { (char *)"Pen__SetDashes", (PyCFunction) _wrap_Pen__SetDashes, METH_VARARGS | METH_KEYWORDS, NULL},
21638 { (char *)"Pen_GetDashCount", (PyCFunction) _wrap_Pen_GetDashCount, METH_VARARGS | METH_KEYWORDS, NULL},
21639 { (char *)"Pen___eq__", (PyCFunction) _wrap_Pen___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
21640 { (char *)"Pen___ne__", (PyCFunction) _wrap_Pen___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
21641 { (char *)"Pen_swigregister", Pen_swigregister, METH_VARARGS, NULL},
21642 { (char *)"new_Brush", (PyCFunction) _wrap_new_Brush, METH_VARARGS | METH_KEYWORDS, NULL},
21643 { (char *)"new_BrushFromBitmap", (PyCFunction) _wrap_new_BrushFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
21644 { (char *)"delete_Brush", (PyCFunction) _wrap_delete_Brush, METH_VARARGS | METH_KEYWORDS, NULL},
21645 { (char *)"Brush_SetColour", (PyCFunction) _wrap_Brush_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
21646 { (char *)"Brush_SetStyle", (PyCFunction) _wrap_Brush_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
21647 { (char *)"Brush_SetStipple", (PyCFunction) _wrap_Brush_SetStipple, METH_VARARGS | METH_KEYWORDS, NULL},
21648 { (char *)"Brush_GetColour", (PyCFunction) _wrap_Brush_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
21649 { (char *)"Brush_GetStyle", (PyCFunction) _wrap_Brush_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
21650 { (char *)"Brush_GetStipple", (PyCFunction) _wrap_Brush_GetStipple, METH_VARARGS | METH_KEYWORDS, NULL},
21651 { (char *)"Brush_IsHatch", (PyCFunction) _wrap_Brush_IsHatch, METH_VARARGS | METH_KEYWORDS, NULL},
21652 { (char *)"Brush_Ok", (PyCFunction) _wrap_Brush_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
21653 { (char *)"Brush_swigregister", Brush_swigregister, METH_VARARGS, NULL},
21654 { (char *)"new_Bitmap", (PyCFunction) _wrap_new_Bitmap, METH_VARARGS | METH_KEYWORDS, NULL},
21655 { (char *)"delete_Bitmap", (PyCFunction) _wrap_delete_Bitmap, METH_VARARGS | METH_KEYWORDS, NULL},
21656 { (char *)"new_EmptyBitmap", (PyCFunction) _wrap_new_EmptyBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
21657 { (char *)"new_BitmapFromIcon", (PyCFunction) _wrap_new_BitmapFromIcon, METH_VARARGS | METH_KEYWORDS, NULL},
21658 { (char *)"new_BitmapFromImage", (PyCFunction) _wrap_new_BitmapFromImage, METH_VARARGS | METH_KEYWORDS, NULL},
21659 { (char *)"new_BitmapFromXPMData", (PyCFunction) _wrap_new_BitmapFromXPMData, METH_VARARGS | METH_KEYWORDS, NULL},
21660 { (char *)"new_BitmapFromBits", (PyCFunction) _wrap_new_BitmapFromBits, METH_VARARGS | METH_KEYWORDS, NULL},
21661 { (char *)"Bitmap_Ok", (PyCFunction) _wrap_Bitmap_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
21662 { (char *)"Bitmap_GetWidth", (PyCFunction) _wrap_Bitmap_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21663 { (char *)"Bitmap_GetHeight", (PyCFunction) _wrap_Bitmap_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
21664 { (char *)"Bitmap_GetDepth", (PyCFunction) _wrap_Bitmap_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
21665 { (char *)"Bitmap_GetSize", (PyCFunction) _wrap_Bitmap_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
21666 { (char *)"Bitmap_ConvertToImage", (PyCFunction) _wrap_Bitmap_ConvertToImage, METH_VARARGS | METH_KEYWORDS, NULL},
21667 { (char *)"Bitmap_GetMask", (PyCFunction) _wrap_Bitmap_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
21668 { (char *)"Bitmap_SetMask", (PyCFunction) _wrap_Bitmap_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
21669 { (char *)"Bitmap_SetMaskColour", (PyCFunction) _wrap_Bitmap_SetMaskColour, METH_VARARGS | METH_KEYWORDS, NULL},
21670 { (char *)"Bitmap_GetSubBitmap", (PyCFunction) _wrap_Bitmap_GetSubBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
21671 { (char *)"Bitmap_SaveFile", (PyCFunction) _wrap_Bitmap_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
21672 { (char *)"Bitmap_LoadFile", (PyCFunction) _wrap_Bitmap_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
21673 { (char *)"Bitmap_GetPalette", (PyCFunction) _wrap_Bitmap_GetPalette, METH_VARARGS | METH_KEYWORDS, NULL},
21674 { (char *)"Bitmap_CopyFromIcon", (PyCFunction) _wrap_Bitmap_CopyFromIcon, METH_VARARGS | METH_KEYWORDS, NULL},
21675 { (char *)"Bitmap_SetHeight", (PyCFunction) _wrap_Bitmap_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
21676 { (char *)"Bitmap_SetWidth", (PyCFunction) _wrap_Bitmap_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21677 { (char *)"Bitmap_SetDepth", (PyCFunction) _wrap_Bitmap_SetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
21678 { (char *)"Bitmap_SetSize", (PyCFunction) _wrap_Bitmap_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
21679 { (char *)"Bitmap___eq__", (PyCFunction) _wrap_Bitmap___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
21680 { (char *)"Bitmap___ne__", (PyCFunction) _wrap_Bitmap___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
21681 { (char *)"Bitmap_swigregister", Bitmap_swigregister, METH_VARARGS, NULL},
21682 { (char *)"new_Mask", (PyCFunction) _wrap_new_Mask, METH_VARARGS | METH_KEYWORDS, NULL},
21683 { (char *)"Mask_swigregister", Mask_swigregister, METH_VARARGS, NULL},
21684 { (char *)"new_Icon", (PyCFunction) _wrap_new_Icon, METH_VARARGS | METH_KEYWORDS, NULL},
21685 { (char *)"delete_Icon", (PyCFunction) _wrap_delete_Icon, METH_VARARGS | METH_KEYWORDS, NULL},
21686 { (char *)"new_EmptyIcon", (PyCFunction) _wrap_new_EmptyIcon, METH_VARARGS | METH_KEYWORDS, NULL},
21687 { (char *)"new_IconFromLocation", (PyCFunction) _wrap_new_IconFromLocation, METH_VARARGS | METH_KEYWORDS, NULL},
21688 { (char *)"new_IconFromBitmap", (PyCFunction) _wrap_new_IconFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
21689 { (char *)"new_IconFromXPMData", (PyCFunction) _wrap_new_IconFromXPMData, METH_VARARGS | METH_KEYWORDS, NULL},
21690 { (char *)"Icon_LoadFile", (PyCFunction) _wrap_Icon_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
21691 { (char *)"Icon_Ok", (PyCFunction) _wrap_Icon_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
21692 { (char *)"Icon_GetWidth", (PyCFunction) _wrap_Icon_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21693 { (char *)"Icon_GetHeight", (PyCFunction) _wrap_Icon_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
21694 { (char *)"Icon_GetDepth", (PyCFunction) _wrap_Icon_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
21695 { (char *)"Icon_SetWidth", (PyCFunction) _wrap_Icon_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21696 { (char *)"Icon_SetHeight", (PyCFunction) _wrap_Icon_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
21697 { (char *)"Icon_SetDepth", (PyCFunction) _wrap_Icon_SetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
21698 { (char *)"Icon_CopyFromBitmap", (PyCFunction) _wrap_Icon_CopyFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
21699 { (char *)"Icon_swigregister", Icon_swigregister, METH_VARARGS, NULL},
21700 { (char *)"new_IconLocation", (PyCFunction) _wrap_new_IconLocation, METH_VARARGS | METH_KEYWORDS, NULL},
21701 { (char *)"delete_IconLocation", (PyCFunction) _wrap_delete_IconLocation, METH_VARARGS | METH_KEYWORDS, NULL},
21702 { (char *)"IconLocation_IsOk", (PyCFunction) _wrap_IconLocation_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
21703 { (char *)"IconLocation_SetFileName", (PyCFunction) _wrap_IconLocation_SetFileName, METH_VARARGS | METH_KEYWORDS, NULL},
21704 { (char *)"IconLocation_GetFileName", (PyCFunction) _wrap_IconLocation_GetFileName, METH_VARARGS | METH_KEYWORDS, NULL},
21705 { (char *)"IconLocation_SetIndex", (PyCFunction) _wrap_IconLocation_SetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
21706 { (char *)"IconLocation_GetIndex", (PyCFunction) _wrap_IconLocation_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
21707 { (char *)"IconLocation_swigregister", IconLocation_swigregister, METH_VARARGS, NULL},
21708 { (char *)"new_IconBundle", (PyCFunction) _wrap_new_IconBundle, METH_VARARGS | METH_KEYWORDS, NULL},
21709 { (char *)"new_IconBundleFromFile", (PyCFunction) _wrap_new_IconBundleFromFile, METH_VARARGS | METH_KEYWORDS, NULL},
21710 { (char *)"new_IconBundleFromIcon", (PyCFunction) _wrap_new_IconBundleFromIcon, METH_VARARGS | METH_KEYWORDS, NULL},
21711 { (char *)"delete_IconBundle", (PyCFunction) _wrap_delete_IconBundle, METH_VARARGS | METH_KEYWORDS, NULL},
21712 { (char *)"IconBundle_AddIcon", (PyCFunction) _wrap_IconBundle_AddIcon, METH_VARARGS | METH_KEYWORDS, NULL},
21713 { (char *)"IconBundle_AddIconFromFile", (PyCFunction) _wrap_IconBundle_AddIconFromFile, METH_VARARGS | METH_KEYWORDS, NULL},
21714 { (char *)"IconBundle_GetIcon", (PyCFunction) _wrap_IconBundle_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
21715 { (char *)"IconBundle_swigregister", IconBundle_swigregister, METH_VARARGS, NULL},
21716 { (char *)"new_Cursor", (PyCFunction) _wrap_new_Cursor, METH_VARARGS | METH_KEYWORDS, NULL},
21717 { (char *)"delete_Cursor", (PyCFunction) _wrap_delete_Cursor, METH_VARARGS | METH_KEYWORDS, NULL},
21718 { (char *)"new_StockCursor", (PyCFunction) _wrap_new_StockCursor, METH_VARARGS | METH_KEYWORDS, NULL},
21719 { (char *)"new_CursorFromImage", (PyCFunction) _wrap_new_CursorFromImage, METH_VARARGS | METH_KEYWORDS, NULL},
21720 { (char *)"Cursor_Ok", (PyCFunction) _wrap_Cursor_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
21721 { (char *)"Cursor_swigregister", Cursor_swigregister, METH_VARARGS, NULL},
21722 { (char *)"new_Region", (PyCFunction) _wrap_new_Region, METH_VARARGS | METH_KEYWORDS, NULL},
21723 { (char *)"new_RegionFromBitmap", (PyCFunction) _wrap_new_RegionFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
21724 { (char *)"new_RegionFromBitmapColour", (PyCFunction) _wrap_new_RegionFromBitmapColour, METH_VARARGS | METH_KEYWORDS, NULL},
21725 { (char *)"new_RegionFromPoints", (PyCFunction) _wrap_new_RegionFromPoints, METH_VARARGS | METH_KEYWORDS, NULL},
21726 { (char *)"delete_Region", (PyCFunction) _wrap_delete_Region, METH_VARARGS | METH_KEYWORDS, NULL},
21727 { (char *)"Region_Clear", (PyCFunction) _wrap_Region_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
21728 { (char *)"Region_Offset", (PyCFunction) _wrap_Region_Offset, METH_VARARGS | METH_KEYWORDS, NULL},
21729 { (char *)"Region_Contains", (PyCFunction) _wrap_Region_Contains, METH_VARARGS | METH_KEYWORDS, NULL},
21730 { (char *)"Region_ContainsPoint", (PyCFunction) _wrap_Region_ContainsPoint, METH_VARARGS | METH_KEYWORDS, NULL},
21731 { (char *)"Region_ContainsRect", (PyCFunction) _wrap_Region_ContainsRect, METH_VARARGS | METH_KEYWORDS, NULL},
21732 { (char *)"Region_ContainsRectDim", (PyCFunction) _wrap_Region_ContainsRectDim, METH_VARARGS | METH_KEYWORDS, NULL},
21733 { (char *)"Region_GetBox", (PyCFunction) _wrap_Region_GetBox, METH_VARARGS | METH_KEYWORDS, NULL},
21734 { (char *)"Region_Intersect", (PyCFunction) _wrap_Region_Intersect, METH_VARARGS | METH_KEYWORDS, NULL},
21735 { (char *)"Region_IntersectRect", (PyCFunction) _wrap_Region_IntersectRect, METH_VARARGS | METH_KEYWORDS, NULL},
21736 { (char *)"Region_IntersectRegion", (PyCFunction) _wrap_Region_IntersectRegion, METH_VARARGS | METH_KEYWORDS, NULL},
21737 { (char *)"Region_IsEmpty", (PyCFunction) _wrap_Region_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL},
21738 { (char *)"Region_Union", (PyCFunction) _wrap_Region_Union, METH_VARARGS | METH_KEYWORDS, NULL},
21739 { (char *)"Region_UnionRect", (PyCFunction) _wrap_Region_UnionRect, METH_VARARGS | METH_KEYWORDS, NULL},
21740 { (char *)"Region_UnionRegion", (PyCFunction) _wrap_Region_UnionRegion, METH_VARARGS | METH_KEYWORDS, NULL},
21741 { (char *)"Region_Subtract", (PyCFunction) _wrap_Region_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
21742 { (char *)"Region_SubtractRect", (PyCFunction) _wrap_Region_SubtractRect, METH_VARARGS | METH_KEYWORDS, NULL},
21743 { (char *)"Region_SubtractRegion", (PyCFunction) _wrap_Region_SubtractRegion, METH_VARARGS | METH_KEYWORDS, NULL},
21744 { (char *)"Region_Xor", (PyCFunction) _wrap_Region_Xor, METH_VARARGS | METH_KEYWORDS, NULL},
21745 { (char *)"Region_XorRect", (PyCFunction) _wrap_Region_XorRect, METH_VARARGS | METH_KEYWORDS, NULL},
21746 { (char *)"Region_XorRegion", (PyCFunction) _wrap_Region_XorRegion, METH_VARARGS | METH_KEYWORDS, NULL},
21747 { (char *)"Region_ConvertToBitmap", (PyCFunction) _wrap_Region_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
21748 { (char *)"Region_UnionBitmap", (PyCFunction) _wrap_Region_UnionBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
21749 { (char *)"Region_UnionBitmapColour", (PyCFunction) _wrap_Region_UnionBitmapColour, METH_VARARGS | METH_KEYWORDS, NULL},
21750 { (char *)"Region_swigregister", Region_swigregister, METH_VARARGS, NULL},
21751 { (char *)"new_RegionIterator", (PyCFunction) _wrap_new_RegionIterator, METH_VARARGS | METH_KEYWORDS, NULL},
21752 { (char *)"delete_RegionIterator", (PyCFunction) _wrap_delete_RegionIterator, METH_VARARGS | METH_KEYWORDS, NULL},
21753 { (char *)"RegionIterator_GetX", (PyCFunction) _wrap_RegionIterator_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
21754 { (char *)"RegionIterator_GetY", (PyCFunction) _wrap_RegionIterator_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
21755 { (char *)"RegionIterator_GetW", (PyCFunction) _wrap_RegionIterator_GetW, METH_VARARGS | METH_KEYWORDS, NULL},
21756 { (char *)"RegionIterator_GetWidth", (PyCFunction) _wrap_RegionIterator_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21757 { (char *)"RegionIterator_GetH", (PyCFunction) _wrap_RegionIterator_GetH, METH_VARARGS | METH_KEYWORDS, NULL},
21758 { (char *)"RegionIterator_GetHeight", (PyCFunction) _wrap_RegionIterator_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
21759 { (char *)"RegionIterator_GetRect", (PyCFunction) _wrap_RegionIterator_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
21760 { (char *)"RegionIterator_HaveRects", (PyCFunction) _wrap_RegionIterator_HaveRects, METH_VARARGS | METH_KEYWORDS, NULL},
21761 { (char *)"RegionIterator_Reset", (PyCFunction) _wrap_RegionIterator_Reset, METH_VARARGS | METH_KEYWORDS, NULL},
21762 { (char *)"RegionIterator_Next", (PyCFunction) _wrap_RegionIterator_Next, METH_VARARGS | METH_KEYWORDS, NULL},
21763 { (char *)"RegionIterator___nonzero__", (PyCFunction) _wrap_RegionIterator___nonzero__, METH_VARARGS | METH_KEYWORDS, NULL},
21764 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister, METH_VARARGS, NULL},
21765 { (char *)"new_NativeFontInfo", (PyCFunction) _wrap_new_NativeFontInfo, METH_VARARGS | METH_KEYWORDS, NULL},
21766 { (char *)"delete_NativeFontInfo", (PyCFunction) _wrap_delete_NativeFontInfo, METH_VARARGS | METH_KEYWORDS, NULL},
21767 { (char *)"NativeFontInfo_Init", (PyCFunction) _wrap_NativeFontInfo_Init, METH_VARARGS | METH_KEYWORDS, NULL},
21768 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction) _wrap_NativeFontInfo_InitFromFont, METH_VARARGS | METH_KEYWORDS, NULL},
21769 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction) _wrap_NativeFontInfo_GetPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
21770 { (char *)"NativeFontInfo_GetStyle", (PyCFunction) _wrap_NativeFontInfo_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
21771 { (char *)"NativeFontInfo_GetWeight", (PyCFunction) _wrap_NativeFontInfo_GetWeight, METH_VARARGS | METH_KEYWORDS, NULL},
21772 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction) _wrap_NativeFontInfo_GetUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
21773 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction) _wrap_NativeFontInfo_GetFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
21774 { (char *)"NativeFontInfo_GetFamily", (PyCFunction) _wrap_NativeFontInfo_GetFamily, METH_VARARGS | METH_KEYWORDS, NULL},
21775 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction) _wrap_NativeFontInfo_GetEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
21776 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction) _wrap_NativeFontInfo_SetPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
21777 { (char *)"NativeFontInfo_SetStyle", (PyCFunction) _wrap_NativeFontInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
21778 { (char *)"NativeFontInfo_SetWeight", (PyCFunction) _wrap_NativeFontInfo_SetWeight, METH_VARARGS | METH_KEYWORDS, NULL},
21779 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction) _wrap_NativeFontInfo_SetUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
21780 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction) _wrap_NativeFontInfo_SetFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
21781 { (char *)"NativeFontInfo_SetFamily", (PyCFunction) _wrap_NativeFontInfo_SetFamily, METH_VARARGS | METH_KEYWORDS, NULL},
21782 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction) _wrap_NativeFontInfo_SetEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
21783 { (char *)"NativeFontInfo_FromString", (PyCFunction) _wrap_NativeFontInfo_FromString, METH_VARARGS | METH_KEYWORDS, NULL},
21784 { (char *)"NativeFontInfo_ToString", (PyCFunction) _wrap_NativeFontInfo_ToString, METH_VARARGS | METH_KEYWORDS, NULL},
21785 { (char *)"NativeFontInfo___str__", (PyCFunction) _wrap_NativeFontInfo___str__, METH_VARARGS | METH_KEYWORDS, NULL},
21786 { (char *)"NativeFontInfo_FromUserString", (PyCFunction) _wrap_NativeFontInfo_FromUserString, METH_VARARGS | METH_KEYWORDS, NULL},
21787 { (char *)"NativeFontInfo_ToUserString", (PyCFunction) _wrap_NativeFontInfo_ToUserString, METH_VARARGS | METH_KEYWORDS, NULL},
21788 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister, METH_VARARGS, NULL},
21789 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction) _wrap_NativeEncodingInfo_facename_set, METH_VARARGS | METH_KEYWORDS, NULL},
21790 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction) _wrap_NativeEncodingInfo_facename_get, METH_VARARGS | METH_KEYWORDS, NULL},
21791 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction) _wrap_NativeEncodingInfo_encoding_set, METH_VARARGS | METH_KEYWORDS, NULL},
21792 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction) _wrap_NativeEncodingInfo_encoding_get, METH_VARARGS | METH_KEYWORDS, NULL},
21793 { (char *)"new_NativeEncodingInfo", (PyCFunction) _wrap_new_NativeEncodingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
21794 { (char *)"delete_NativeEncodingInfo", (PyCFunction) _wrap_delete_NativeEncodingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
21795 { (char *)"NativeEncodingInfo_FromString", (PyCFunction) _wrap_NativeEncodingInfo_FromString, METH_VARARGS | METH_KEYWORDS, NULL},
21796 { (char *)"NativeEncodingInfo_ToString", (PyCFunction) _wrap_NativeEncodingInfo_ToString, METH_VARARGS | METH_KEYWORDS, NULL},
21797 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister, METH_VARARGS, NULL},
21798 { (char *)"GetNativeFontEncoding", (PyCFunction) _wrap_GetNativeFontEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
21799 { (char *)"TestFontEncoding", (PyCFunction) _wrap_TestFontEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
21800 { (char *)"new_FontMapper", (PyCFunction) _wrap_new_FontMapper, METH_VARARGS | METH_KEYWORDS, NULL},
21801 { (char *)"delete_FontMapper", (PyCFunction) _wrap_delete_FontMapper, METH_VARARGS | METH_KEYWORDS, NULL},
21802 { (char *)"FontMapper_Get", (PyCFunction) _wrap_FontMapper_Get, METH_VARARGS | METH_KEYWORDS, NULL},
21803 { (char *)"FontMapper_Set", (PyCFunction) _wrap_FontMapper_Set, METH_VARARGS | METH_KEYWORDS, NULL},
21804 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction) _wrap_FontMapper_CharsetToEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
21805 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction) _wrap_FontMapper_GetSupportedEncodingsCount, METH_VARARGS | METH_KEYWORDS, NULL},
21806 { (char *)"FontMapper_GetEncoding", (PyCFunction) _wrap_FontMapper_GetEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
21807 { (char *)"FontMapper_GetEncodingName", (PyCFunction) _wrap_FontMapper_GetEncodingName, METH_VARARGS | METH_KEYWORDS, NULL},
21808 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction) _wrap_FontMapper_GetEncodingDescription, METH_VARARGS | METH_KEYWORDS, NULL},
21809 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction) _wrap_FontMapper_GetEncodingFromName, METH_VARARGS | METH_KEYWORDS, NULL},
8d38bd1d
RD
21810 { (char *)"FontMapper_SetConfigPath", (PyCFunction) _wrap_FontMapper_SetConfigPath, METH_VARARGS | METH_KEYWORDS, NULL},
21811 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction) _wrap_FontMapper_GetDefaultConfigPath, METH_VARARGS | METH_KEYWORDS, NULL},
21812 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction) _wrap_FontMapper_GetAltForEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
21813 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction) _wrap_FontMapper_IsEncodingAvailable, METH_VARARGS | METH_KEYWORDS, NULL},
21814 { (char *)"FontMapper_SetDialogParent", (PyCFunction) _wrap_FontMapper_SetDialogParent, METH_VARARGS | METH_KEYWORDS, NULL},
21815 { (char *)"FontMapper_SetDialogTitle", (PyCFunction) _wrap_FontMapper_SetDialogTitle, METH_VARARGS | METH_KEYWORDS, NULL},
21816 { (char *)"FontMapper_swigregister", FontMapper_swigregister, METH_VARARGS, NULL},
21817 { (char *)"new_Font", (PyCFunction) _wrap_new_Font, METH_VARARGS | METH_KEYWORDS, NULL},
21818 { (char *)"delete_Font", (PyCFunction) _wrap_delete_Font, METH_VARARGS | METH_KEYWORDS, NULL},
21819 { (char *)"new_FontFromNativeInfo", (PyCFunction) _wrap_new_FontFromNativeInfo, METH_VARARGS | METH_KEYWORDS, NULL},
21820 { (char *)"new_FontFromNativeInfoString", (PyCFunction) _wrap_new_FontFromNativeInfoString, METH_VARARGS | METH_KEYWORDS, NULL},
21821 { (char *)"new_FFont", (PyCFunction) _wrap_new_FFont, METH_VARARGS | METH_KEYWORDS, NULL},
21822 { (char *)"new_FontFromPixelSize", (PyCFunction) _wrap_new_FontFromPixelSize, METH_VARARGS | METH_KEYWORDS, NULL},
21823 { (char *)"new_FFontFromPixelSize", (PyCFunction) _wrap_new_FFontFromPixelSize, METH_VARARGS | METH_KEYWORDS, NULL},
21824 { (char *)"Font_Ok", (PyCFunction) _wrap_Font_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
21825 { (char *)"Font___eq__", (PyCFunction) _wrap_Font___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
21826 { (char *)"Font___ne__", (PyCFunction) _wrap_Font___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
21827 { (char *)"Font_GetPointSize", (PyCFunction) _wrap_Font_GetPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
21828 { (char *)"Font_GetPixelSize", (PyCFunction) _wrap_Font_GetPixelSize, METH_VARARGS | METH_KEYWORDS, NULL},
21829 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction) _wrap_Font_IsUsingSizeInPixels, METH_VARARGS | METH_KEYWORDS, NULL},
21830 { (char *)"Font_GetFamily", (PyCFunction) _wrap_Font_GetFamily, METH_VARARGS | METH_KEYWORDS, NULL},
21831 { (char *)"Font_GetStyle", (PyCFunction) _wrap_Font_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
21832 { (char *)"Font_GetWeight", (PyCFunction) _wrap_Font_GetWeight, METH_VARARGS | METH_KEYWORDS, NULL},
21833 { (char *)"Font_GetUnderlined", (PyCFunction) _wrap_Font_GetUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
21834 { (char *)"Font_GetFaceName", (PyCFunction) _wrap_Font_GetFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
21835 { (char *)"Font_GetEncoding", (PyCFunction) _wrap_Font_GetEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
21836 { (char *)"Font_GetNativeFontInfo", (PyCFunction) _wrap_Font_GetNativeFontInfo, METH_VARARGS | METH_KEYWORDS, NULL},
21837 { (char *)"Font_IsFixedWidth", (PyCFunction) _wrap_Font_IsFixedWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21838 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction) _wrap_Font_GetNativeFontInfoDesc, METH_VARARGS | METH_KEYWORDS, NULL},
21839 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction) _wrap_Font_GetNativeFontInfoUserDesc, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
21840 { (char *)"Font_SetPointSize", (PyCFunction) _wrap_Font_SetPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
21841 { (char *)"Font_SetPixelSize", (PyCFunction) _wrap_Font_SetPixelSize, METH_VARARGS | METH_KEYWORDS, NULL},
21842 { (char *)"Font_SetFamily", (PyCFunction) _wrap_Font_SetFamily, METH_VARARGS | METH_KEYWORDS, NULL},
21843 { (char *)"Font_SetStyle", (PyCFunction) _wrap_Font_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
21844 { (char *)"Font_SetWeight", (PyCFunction) _wrap_Font_SetWeight, METH_VARARGS | METH_KEYWORDS, NULL},
21845 { (char *)"Font_SetFaceName", (PyCFunction) _wrap_Font_SetFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
21846 { (char *)"Font_SetUnderlined", (PyCFunction) _wrap_Font_SetUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
21847 { (char *)"Font_SetEncoding", (PyCFunction) _wrap_Font_SetEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
21848 { (char *)"Font_SetNativeFontInfo", (PyCFunction) _wrap_Font_SetNativeFontInfo, METH_VARARGS | METH_KEYWORDS, NULL},
21849 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction) _wrap_Font_SetNativeFontInfoFromString, METH_VARARGS | METH_KEYWORDS, NULL},
21850 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction) _wrap_Font_SetNativeFontInfoUserDesc, METH_VARARGS | METH_KEYWORDS, NULL},
21851 { (char *)"Font_GetFamilyString", (PyCFunction) _wrap_Font_GetFamilyString, METH_VARARGS | METH_KEYWORDS, NULL},
21852 { (char *)"Font_GetStyleString", (PyCFunction) _wrap_Font_GetStyleString, METH_VARARGS | METH_KEYWORDS, NULL},
21853 { (char *)"Font_GetWeightString", (PyCFunction) _wrap_Font_GetWeightString, METH_VARARGS | METH_KEYWORDS, NULL},
21854 { (char *)"Font_SetNoAntiAliasing", (PyCFunction) _wrap_Font_SetNoAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL},
21855 { (char *)"Font_GetNoAntiAliasing", (PyCFunction) _wrap_Font_GetNoAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL},
21856 { (char *)"Font_GetDefaultEncoding", (PyCFunction) _wrap_Font_GetDefaultEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
21857 { (char *)"Font_SetDefaultEncoding", (PyCFunction) _wrap_Font_SetDefaultEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
21858 { (char *)"Font_swigregister", Font_swigregister, METH_VARARGS, NULL},
21859 { (char *)"new_FontEnumerator", (PyCFunction) _wrap_new_FontEnumerator, METH_VARARGS | METH_KEYWORDS, NULL},
21860 { (char *)"delete_FontEnumerator", (PyCFunction) _wrap_delete_FontEnumerator, METH_VARARGS | METH_KEYWORDS, NULL},
21861 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction) _wrap_FontEnumerator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
21862 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction) _wrap_FontEnumerator_EnumerateFacenames, METH_VARARGS | METH_KEYWORDS, NULL},
21863 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction) _wrap_FontEnumerator_EnumerateEncodings, METH_VARARGS | METH_KEYWORDS, NULL},
21864 { (char *)"FontEnumerator_GetEncodings", (PyCFunction) _wrap_FontEnumerator_GetEncodings, METH_VARARGS | METH_KEYWORDS, NULL},
21865 { (char *)"FontEnumerator_GetFacenames", (PyCFunction) _wrap_FontEnumerator_GetFacenames, METH_VARARGS | METH_KEYWORDS, NULL},
21866 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister, METH_VARARGS, NULL},
21867 { (char *)"LanguageInfo_Language_set", (PyCFunction) _wrap_LanguageInfo_Language_set, METH_VARARGS | METH_KEYWORDS, NULL},
21868 { (char *)"LanguageInfo_Language_get", (PyCFunction) _wrap_LanguageInfo_Language_get, METH_VARARGS | METH_KEYWORDS, NULL},
21869 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction) _wrap_LanguageInfo_CanonicalName_set, METH_VARARGS | METH_KEYWORDS, NULL},
21870 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction) _wrap_LanguageInfo_CanonicalName_get, METH_VARARGS | METH_KEYWORDS, NULL},
21871 { (char *)"LanguageInfo_Description_set", (PyCFunction) _wrap_LanguageInfo_Description_set, METH_VARARGS | METH_KEYWORDS, NULL},
21872 { (char *)"LanguageInfo_Description_get", (PyCFunction) _wrap_LanguageInfo_Description_get, METH_VARARGS | METH_KEYWORDS, NULL},
21873 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister, METH_VARARGS, NULL},
21874 { (char *)"new_Locale", (PyCFunction) _wrap_new_Locale, METH_VARARGS | METH_KEYWORDS, NULL},
21875 { (char *)"delete_Locale", (PyCFunction) _wrap_delete_Locale, METH_VARARGS | METH_KEYWORDS, NULL},
21876 { (char *)"Locale_Init1", (PyCFunction) _wrap_Locale_Init1, METH_VARARGS | METH_KEYWORDS, NULL},
21877 { (char *)"Locale_Init2", (PyCFunction) _wrap_Locale_Init2, METH_VARARGS | METH_KEYWORDS, NULL},
21878 { (char *)"Locale_GetSystemLanguage", (PyCFunction) _wrap_Locale_GetSystemLanguage, METH_VARARGS | METH_KEYWORDS, NULL},
21879 { (char *)"Locale_GetSystemEncoding", (PyCFunction) _wrap_Locale_GetSystemEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
21880 { (char *)"Locale_GetSystemEncodingName", (PyCFunction) _wrap_Locale_GetSystemEncodingName, METH_VARARGS | METH_KEYWORDS, NULL},
21881 { (char *)"Locale_IsOk", (PyCFunction) _wrap_Locale_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
21882 { (char *)"Locale_GetLocale", (PyCFunction) _wrap_Locale_GetLocale, METH_VARARGS | METH_KEYWORDS, NULL},
21883 { (char *)"Locale_GetLanguage", (PyCFunction) _wrap_Locale_GetLanguage, METH_VARARGS | METH_KEYWORDS, NULL},
21884 { (char *)"Locale_GetSysName", (PyCFunction) _wrap_Locale_GetSysName, METH_VARARGS | METH_KEYWORDS, NULL},
21885 { (char *)"Locale_GetCanonicalName", (PyCFunction) _wrap_Locale_GetCanonicalName, METH_VARARGS | METH_KEYWORDS, NULL},
21886 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction) _wrap_Locale_AddCatalogLookupPathPrefix, METH_VARARGS | METH_KEYWORDS, NULL},
21887 { (char *)"Locale_AddCatalog", (PyCFunction) _wrap_Locale_AddCatalog, METH_VARARGS | METH_KEYWORDS, NULL},
21888 { (char *)"Locale_IsLoaded", (PyCFunction) _wrap_Locale_IsLoaded, METH_VARARGS | METH_KEYWORDS, NULL},
21889 { (char *)"Locale_GetLanguageInfo", (PyCFunction) _wrap_Locale_GetLanguageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
21890 { (char *)"Locale_GetLanguageName", (PyCFunction) _wrap_Locale_GetLanguageName, METH_VARARGS | METH_KEYWORDS, NULL},
21891 { (char *)"Locale_FindLanguageInfo", (PyCFunction) _wrap_Locale_FindLanguageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
21892 { (char *)"Locale_AddLanguage", (PyCFunction) _wrap_Locale_AddLanguage, METH_VARARGS | METH_KEYWORDS, NULL},
21893 { (char *)"Locale_GetString", (PyCFunction) _wrap_Locale_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
21894 { (char *)"Locale_GetName", (PyCFunction) _wrap_Locale_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
21895 { (char *)"Locale_swigregister", Locale_swigregister, METH_VARARGS, NULL},
21896 { (char *)"GetLocale", (PyCFunction) _wrap_GetLocale, METH_VARARGS | METH_KEYWORDS, NULL},
21897 { (char *)"GetTranslation", _wrap_GetTranslation, METH_VARARGS, NULL},
21898 { (char *)"new_EncodingConverter", (PyCFunction) _wrap_new_EncodingConverter, METH_VARARGS | METH_KEYWORDS, NULL},
21899 { (char *)"delete_EncodingConverter", (PyCFunction) _wrap_delete_EncodingConverter, METH_VARARGS | METH_KEYWORDS, NULL},
21900 { (char *)"EncodingConverter_Init", (PyCFunction) _wrap_EncodingConverter_Init, METH_VARARGS | METH_KEYWORDS, NULL},
21901 { (char *)"EncodingConverter_Convert", (PyCFunction) _wrap_EncodingConverter_Convert, METH_VARARGS | METH_KEYWORDS, NULL},
21902 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction) _wrap_EncodingConverter_GetPlatformEquivalents, METH_VARARGS | METH_KEYWORDS, NULL},
21903 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction) _wrap_EncodingConverter_GetAllEquivalents, METH_VARARGS | METH_KEYWORDS, NULL},
21904 { (char *)"EncodingConverter_CanConvert", (PyCFunction) _wrap_EncodingConverter_CanConvert, METH_VARARGS | METH_KEYWORDS, NULL},
21905 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister, METH_VARARGS, NULL},
21906 { (char *)"delete_DC", (PyCFunction) _wrap_delete_DC, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
21907 { (char *)"DC_FloodFill", (PyCFunction) _wrap_DC_FloodFill, METH_VARARGS | METH_KEYWORDS, NULL},
21908 { (char *)"DC_FloodFillPoint", (PyCFunction) _wrap_DC_FloodFillPoint, METH_VARARGS | METH_KEYWORDS, NULL},
b1fcee84
RD
21909 { (char *)"DC_GradientFillConcentric", (PyCFunction) _wrap_DC_GradientFillConcentric, METH_VARARGS | METH_KEYWORDS, NULL},
21910 { (char *)"DC_GradientFillLinear", (PyCFunction) _wrap_DC_GradientFillLinear, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
21911 { (char *)"DC_GetPixel", (PyCFunction) _wrap_DC_GetPixel, METH_VARARGS | METH_KEYWORDS, NULL},
21912 { (char *)"DC_GetPixelPoint", (PyCFunction) _wrap_DC_GetPixelPoint, METH_VARARGS | METH_KEYWORDS, NULL},
21913 { (char *)"DC_DrawLine", (PyCFunction) _wrap_DC_DrawLine, METH_VARARGS | METH_KEYWORDS, NULL},
21914 { (char *)"DC_DrawLinePoint", (PyCFunction) _wrap_DC_DrawLinePoint, METH_VARARGS | METH_KEYWORDS, NULL},
21915 { (char *)"DC_CrossHair", (PyCFunction) _wrap_DC_CrossHair, METH_VARARGS | METH_KEYWORDS, NULL},
21916 { (char *)"DC_CrossHairPoint", (PyCFunction) _wrap_DC_CrossHairPoint, METH_VARARGS | METH_KEYWORDS, NULL},
21917 { (char *)"DC_DrawArc", (PyCFunction) _wrap_DC_DrawArc, METH_VARARGS | METH_KEYWORDS, NULL},
21918 { (char *)"DC_DrawArcPoint", (PyCFunction) _wrap_DC_DrawArcPoint, METH_VARARGS | METH_KEYWORDS, NULL},
21919 { (char *)"DC_DrawCheckMark", (PyCFunction) _wrap_DC_DrawCheckMark, METH_VARARGS | METH_KEYWORDS, NULL},
21920 { (char *)"DC_DrawCheckMarkRect", (PyCFunction) _wrap_DC_DrawCheckMarkRect, METH_VARARGS | METH_KEYWORDS, NULL},
21921 { (char *)"DC_DrawEllipticArc", (PyCFunction) _wrap_DC_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS, NULL},
21922 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction) _wrap_DC_DrawEllipticArcPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
21923 { (char *)"DC_DrawPoint", (PyCFunction) _wrap_DC_DrawPoint, METH_VARARGS | METH_KEYWORDS, NULL},
21924 { (char *)"DC_DrawPointPoint", (PyCFunction) _wrap_DC_DrawPointPoint, METH_VARARGS | METH_KEYWORDS, NULL},
21925 { (char *)"DC_DrawRectangle", (PyCFunction) _wrap_DC_DrawRectangle, METH_VARARGS | METH_KEYWORDS, NULL},
21926 { (char *)"DC_DrawRectangleRect", (PyCFunction) _wrap_DC_DrawRectangleRect, METH_VARARGS | METH_KEYWORDS, NULL},
21927 { (char *)"DC_DrawRectanglePointSize", (PyCFunction) _wrap_DC_DrawRectanglePointSize, METH_VARARGS | METH_KEYWORDS, NULL},
21928 { (char *)"DC_DrawRoundedRectangle", (PyCFunction) _wrap_DC_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS, NULL},
21929 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction) _wrap_DC_DrawRoundedRectangleRect, METH_VARARGS | METH_KEYWORDS, NULL},
21930 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction) _wrap_DC_DrawRoundedRectanglePointSize, METH_VARARGS | METH_KEYWORDS, NULL},
21931 { (char *)"DC_DrawCircle", (PyCFunction) _wrap_DC_DrawCircle, METH_VARARGS | METH_KEYWORDS, NULL},
21932 { (char *)"DC_DrawCirclePoint", (PyCFunction) _wrap_DC_DrawCirclePoint, METH_VARARGS | METH_KEYWORDS, NULL},
21933 { (char *)"DC_DrawEllipse", (PyCFunction) _wrap_DC_DrawEllipse, METH_VARARGS | METH_KEYWORDS, NULL},
21934 { (char *)"DC_DrawEllipseRect", (PyCFunction) _wrap_DC_DrawEllipseRect, METH_VARARGS | METH_KEYWORDS, NULL},
21935 { (char *)"DC_DrawEllipsePointSize", (PyCFunction) _wrap_DC_DrawEllipsePointSize, METH_VARARGS | METH_KEYWORDS, NULL},
21936 { (char *)"DC_DrawIcon", (PyCFunction) _wrap_DC_DrawIcon, METH_VARARGS | METH_KEYWORDS, NULL},
21937 { (char *)"DC_DrawIconPoint", (PyCFunction) _wrap_DC_DrawIconPoint, METH_VARARGS | METH_KEYWORDS, NULL},
21938 { (char *)"DC_DrawBitmap", (PyCFunction) _wrap_DC_DrawBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
21939 { (char *)"DC_DrawBitmapPoint", (PyCFunction) _wrap_DC_DrawBitmapPoint, METH_VARARGS | METH_KEYWORDS, NULL},
21940 { (char *)"DC_DrawText", (PyCFunction) _wrap_DC_DrawText, METH_VARARGS | METH_KEYWORDS, NULL},
21941 { (char *)"DC_DrawTextPoint", (PyCFunction) _wrap_DC_DrawTextPoint, METH_VARARGS | METH_KEYWORDS, NULL},
21942 { (char *)"DC_DrawRotatedText", (PyCFunction) _wrap_DC_DrawRotatedText, METH_VARARGS | METH_KEYWORDS, NULL},
21943 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction) _wrap_DC_DrawRotatedTextPoint, METH_VARARGS | METH_KEYWORDS, NULL},
21944 { (char *)"DC_Blit", (PyCFunction) _wrap_DC_Blit, METH_VARARGS | METH_KEYWORDS, NULL},
21945 { (char *)"DC_BlitPointSize", (PyCFunction) _wrap_DC_BlitPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
21946 { (char *)"DC_SetClippingRegion", (PyCFunction) _wrap_DC_SetClippingRegion, METH_VARARGS | METH_KEYWORDS, NULL},
21947 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction) _wrap_DC_SetClippingRegionPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
21948 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction) _wrap_DC_SetClippingRegionAsRegion, METH_VARARGS | METH_KEYWORDS, NULL},
21949 { (char *)"DC_SetClippingRect", (PyCFunction) _wrap_DC_SetClippingRect, METH_VARARGS | METH_KEYWORDS, NULL},
21950 { (char *)"DC_DrawLines", (PyCFunction) _wrap_DC_DrawLines, METH_VARARGS | METH_KEYWORDS, NULL},
21951 { (char *)"DC_DrawPolygon", (PyCFunction) _wrap_DC_DrawPolygon, METH_VARARGS | METH_KEYWORDS, NULL},
21952 { (char *)"DC_DrawLabel", (PyCFunction) _wrap_DC_DrawLabel, METH_VARARGS | METH_KEYWORDS, NULL},
21953 { (char *)"DC_DrawImageLabel", (PyCFunction) _wrap_DC_DrawImageLabel, METH_VARARGS | METH_KEYWORDS, NULL},
21954 { (char *)"DC_DrawSpline", (PyCFunction) _wrap_DC_DrawSpline, METH_VARARGS | METH_KEYWORDS, NULL},
21955 { (char *)"DC_Clear", (PyCFunction) _wrap_DC_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
21956 { (char *)"DC_StartDoc", (PyCFunction) _wrap_DC_StartDoc, METH_VARARGS | METH_KEYWORDS, NULL},
21957 { (char *)"DC_EndDoc", (PyCFunction) _wrap_DC_EndDoc, METH_VARARGS | METH_KEYWORDS, NULL},
21958 { (char *)"DC_StartPage", (PyCFunction) _wrap_DC_StartPage, METH_VARARGS | METH_KEYWORDS, NULL},
21959 { (char *)"DC_EndPage", (PyCFunction) _wrap_DC_EndPage, METH_VARARGS | METH_KEYWORDS, NULL},
21960 { (char *)"DC_SetFont", (PyCFunction) _wrap_DC_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
21961 { (char *)"DC_SetPen", (PyCFunction) _wrap_DC_SetPen, METH_VARARGS | METH_KEYWORDS, NULL},
21962 { (char *)"DC_SetBrush", (PyCFunction) _wrap_DC_SetBrush, METH_VARARGS | METH_KEYWORDS, NULL},
21963 { (char *)"DC_SetBackground", (PyCFunction) _wrap_DC_SetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21964 { (char *)"DC_SetBackgroundMode", (PyCFunction) _wrap_DC_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS, NULL},
21965 { (char *)"DC_SetPalette", (PyCFunction) _wrap_DC_SetPalette, METH_VARARGS | METH_KEYWORDS, NULL},
21966 { (char *)"DC_DestroyClippingRegion", (PyCFunction) _wrap_DC_DestroyClippingRegion, METH_VARARGS | METH_KEYWORDS, NULL},
21967 { (char *)"DC_GetClippingBox", (PyCFunction) _wrap_DC_GetClippingBox, METH_VARARGS | METH_KEYWORDS, NULL},
21968 { (char *)"DC_GetClippingRect", (PyCFunction) _wrap_DC_GetClippingRect, METH_VARARGS | METH_KEYWORDS, NULL},
21969 { (char *)"DC_GetCharHeight", (PyCFunction) _wrap_DC_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL},
21970 { (char *)"DC_GetCharWidth", (PyCFunction) _wrap_DC_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL},
21971 { (char *)"DC_GetTextExtent", (PyCFunction) _wrap_DC_GetTextExtent, METH_VARARGS | METH_KEYWORDS, NULL},
21972 { (char *)"DC_GetFullTextExtent", (PyCFunction) _wrap_DC_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS, NULL},
21973 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction) _wrap_DC_GetMultiLineTextExtent, METH_VARARGS | METH_KEYWORDS, NULL},
21974 { (char *)"DC_GetPartialTextExtents", (PyCFunction) _wrap_DC_GetPartialTextExtents, METH_VARARGS | METH_KEYWORDS, NULL},
21975 { (char *)"DC_GetSize", (PyCFunction) _wrap_DC_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
21976 { (char *)"DC_GetSizeTuple", (PyCFunction) _wrap_DC_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL},
21977 { (char *)"DC_GetSizeMM", (PyCFunction) _wrap_DC_GetSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
21978 { (char *)"DC_GetSizeMMTuple", (PyCFunction) _wrap_DC_GetSizeMMTuple, METH_VARARGS | METH_KEYWORDS, NULL},
21979 { (char *)"DC_DeviceToLogicalX", (PyCFunction) _wrap_DC_DeviceToLogicalX, METH_VARARGS | METH_KEYWORDS, NULL},
21980 { (char *)"DC_DeviceToLogicalY", (PyCFunction) _wrap_DC_DeviceToLogicalY, METH_VARARGS | METH_KEYWORDS, NULL},
21981 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction) _wrap_DC_DeviceToLogicalXRel, METH_VARARGS | METH_KEYWORDS, NULL},
21982 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction) _wrap_DC_DeviceToLogicalYRel, METH_VARARGS | METH_KEYWORDS, NULL},
21983 { (char *)"DC_LogicalToDeviceX", (PyCFunction) _wrap_DC_LogicalToDeviceX, METH_VARARGS | METH_KEYWORDS, NULL},
21984 { (char *)"DC_LogicalToDeviceY", (PyCFunction) _wrap_DC_LogicalToDeviceY, METH_VARARGS | METH_KEYWORDS, NULL},
21985 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction) _wrap_DC_LogicalToDeviceXRel, METH_VARARGS | METH_KEYWORDS, NULL},
21986 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction) _wrap_DC_LogicalToDeviceYRel, METH_VARARGS | METH_KEYWORDS, NULL},
21987 { (char *)"DC_CanDrawBitmap", (PyCFunction) _wrap_DC_CanDrawBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
21988 { (char *)"DC_CanGetTextExtent", (PyCFunction) _wrap_DC_CanGetTextExtent, METH_VARARGS | METH_KEYWORDS, NULL},
21989 { (char *)"DC_GetDepth", (PyCFunction) _wrap_DC_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
21990 { (char *)"DC_GetPPI", (PyCFunction) _wrap_DC_GetPPI, METH_VARARGS | METH_KEYWORDS, NULL},
21991 { (char *)"DC_Ok", (PyCFunction) _wrap_DC_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
21992 { (char *)"DC_GetBackgroundMode", (PyCFunction) _wrap_DC_GetBackgroundMode, METH_VARARGS | METH_KEYWORDS, NULL},
21993 { (char *)"DC_GetBackground", (PyCFunction) _wrap_DC_GetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21994 { (char *)"DC_GetBrush", (PyCFunction) _wrap_DC_GetBrush, METH_VARARGS | METH_KEYWORDS, NULL},
21995 { (char *)"DC_GetFont", (PyCFunction) _wrap_DC_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
21996 { (char *)"DC_GetPen", (PyCFunction) _wrap_DC_GetPen, METH_VARARGS | METH_KEYWORDS, NULL},
21997 { (char *)"DC_GetTextBackground", (PyCFunction) _wrap_DC_GetTextBackground, METH_VARARGS | METH_KEYWORDS, NULL},
21998 { (char *)"DC_GetTextForeground", (PyCFunction) _wrap_DC_GetTextForeground, METH_VARARGS | METH_KEYWORDS, NULL},
21999 { (char *)"DC_SetTextForeground", (PyCFunction) _wrap_DC_SetTextForeground, METH_VARARGS | METH_KEYWORDS, NULL},
22000 { (char *)"DC_SetTextBackground", (PyCFunction) _wrap_DC_SetTextBackground, METH_VARARGS | METH_KEYWORDS, NULL},
22001 { (char *)"DC_GetMapMode", (PyCFunction) _wrap_DC_GetMapMode, METH_VARARGS | METH_KEYWORDS, NULL},
22002 { (char *)"DC_SetMapMode", (PyCFunction) _wrap_DC_SetMapMode, METH_VARARGS | METH_KEYWORDS, NULL},
22003 { (char *)"DC_GetUserScale", (PyCFunction) _wrap_DC_GetUserScale, METH_VARARGS | METH_KEYWORDS, NULL},
22004 { (char *)"DC_SetUserScale", (PyCFunction) _wrap_DC_SetUserScale, METH_VARARGS | METH_KEYWORDS, NULL},
22005 { (char *)"DC_GetLogicalScale", (PyCFunction) _wrap_DC_GetLogicalScale, METH_VARARGS | METH_KEYWORDS, NULL},
22006 { (char *)"DC_SetLogicalScale", (PyCFunction) _wrap_DC_SetLogicalScale, METH_VARARGS | METH_KEYWORDS, NULL},
22007 { (char *)"DC_GetLogicalOrigin", (PyCFunction) _wrap_DC_GetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
22008 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction) _wrap_DC_GetLogicalOriginTuple, METH_VARARGS | METH_KEYWORDS, NULL},
22009 { (char *)"DC_SetLogicalOrigin", (PyCFunction) _wrap_DC_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
22010 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction) _wrap_DC_SetLogicalOriginPoint, METH_VARARGS | METH_KEYWORDS, NULL},
22011 { (char *)"DC_GetDeviceOrigin", (PyCFunction) _wrap_DC_GetDeviceOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
22012 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction) _wrap_DC_GetDeviceOriginTuple, METH_VARARGS | METH_KEYWORDS, NULL},
22013 { (char *)"DC_SetDeviceOrigin", (PyCFunction) _wrap_DC_SetDeviceOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
22014 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction) _wrap_DC_SetDeviceOriginPoint, METH_VARARGS | METH_KEYWORDS, NULL},
22015 { (char *)"DC_SetAxisOrientation", (PyCFunction) _wrap_DC_SetAxisOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
22016 { (char *)"DC_GetLogicalFunction", (PyCFunction) _wrap_DC_GetLogicalFunction, METH_VARARGS | METH_KEYWORDS, NULL},
22017 { (char *)"DC_SetLogicalFunction", (PyCFunction) _wrap_DC_SetLogicalFunction, METH_VARARGS | METH_KEYWORDS, NULL},
22018 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction) _wrap_DC_ComputeScaleAndOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
22019 { (char *)"DC_CalcBoundingBox", (PyCFunction) _wrap_DC_CalcBoundingBox, METH_VARARGS | METH_KEYWORDS, NULL},
22020 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction) _wrap_DC_CalcBoundingBoxPoint, METH_VARARGS | METH_KEYWORDS, NULL},
22021 { (char *)"DC_ResetBoundingBox", (PyCFunction) _wrap_DC_ResetBoundingBox, METH_VARARGS | METH_KEYWORDS, NULL},
22022 { (char *)"DC_MinX", (PyCFunction) _wrap_DC_MinX, METH_VARARGS | METH_KEYWORDS, NULL},
22023 { (char *)"DC_MaxX", (PyCFunction) _wrap_DC_MaxX, METH_VARARGS | METH_KEYWORDS, NULL},
22024 { (char *)"DC_MinY", (PyCFunction) _wrap_DC_MinY, METH_VARARGS | METH_KEYWORDS, NULL},
22025 { (char *)"DC_MaxY", (PyCFunction) _wrap_DC_MaxY, METH_VARARGS | METH_KEYWORDS, NULL},
22026 { (char *)"DC_GetBoundingBox", (PyCFunction) _wrap_DC_GetBoundingBox, METH_VARARGS | METH_KEYWORDS, NULL},
22027 { (char *)"DC__DrawPointList", (PyCFunction) _wrap_DC__DrawPointList, METH_VARARGS | METH_KEYWORDS, NULL},
22028 { (char *)"DC__DrawLineList", (PyCFunction) _wrap_DC__DrawLineList, METH_VARARGS | METH_KEYWORDS, NULL},
22029 { (char *)"DC__DrawRectangleList", (PyCFunction) _wrap_DC__DrawRectangleList, METH_VARARGS | METH_KEYWORDS, NULL},
22030 { (char *)"DC__DrawEllipseList", (PyCFunction) _wrap_DC__DrawEllipseList, METH_VARARGS | METH_KEYWORDS, NULL},
22031 { (char *)"DC__DrawPolygonList", (PyCFunction) _wrap_DC__DrawPolygonList, METH_VARARGS | METH_KEYWORDS, NULL},
22032 { (char *)"DC__DrawTextList", (PyCFunction) _wrap_DC__DrawTextList, METH_VARARGS | METH_KEYWORDS, NULL},
22033 { (char *)"DC_swigregister", DC_swigregister, METH_VARARGS, NULL},
22034 { (char *)"new_MemoryDC", (PyCFunction) _wrap_new_MemoryDC, METH_VARARGS | METH_KEYWORDS, NULL},
22035 { (char *)"new_MemoryDCFromDC", (PyCFunction) _wrap_new_MemoryDCFromDC, METH_VARARGS | METH_KEYWORDS, NULL},
22036 { (char *)"MemoryDC_SelectObject", (PyCFunction) _wrap_MemoryDC_SelectObject, METH_VARARGS | METH_KEYWORDS, NULL},
22037 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister, METH_VARARGS, NULL},
22038 { (char *)"new_BufferedDC", _wrap_new_BufferedDC, METH_VARARGS, NULL},
22039 { (char *)"delete_BufferedDC", (PyCFunction) _wrap_delete_BufferedDC, METH_VARARGS | METH_KEYWORDS, NULL},
22040 { (char *)"BufferedDC_UnMask", (PyCFunction) _wrap_BufferedDC_UnMask, METH_VARARGS | METH_KEYWORDS, NULL},
22041 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister, METH_VARARGS, NULL},
22042 { (char *)"new_BufferedPaintDC", (PyCFunction) _wrap_new_BufferedPaintDC, METH_VARARGS | METH_KEYWORDS, NULL},
22043 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister, METH_VARARGS, NULL},
22044 { (char *)"new_ScreenDC", (PyCFunction) _wrap_new_ScreenDC, METH_VARARGS | METH_KEYWORDS, NULL},
22045 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction) _wrap_ScreenDC_StartDrawingOnTopWin, METH_VARARGS | METH_KEYWORDS, NULL},
22046 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction) _wrap_ScreenDC_StartDrawingOnTop, METH_VARARGS | METH_KEYWORDS, NULL},
22047 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction) _wrap_ScreenDC_EndDrawingOnTop, METH_VARARGS | METH_KEYWORDS, NULL},
22048 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister, METH_VARARGS, NULL},
22049 { (char *)"new_ClientDC", (PyCFunction) _wrap_new_ClientDC, METH_VARARGS | METH_KEYWORDS, NULL},
22050 { (char *)"ClientDC_swigregister", ClientDC_swigregister, METH_VARARGS, NULL},
22051 { (char *)"new_PaintDC", (PyCFunction) _wrap_new_PaintDC, METH_VARARGS | METH_KEYWORDS, NULL},
22052 { (char *)"PaintDC_swigregister", PaintDC_swigregister, METH_VARARGS, NULL},
22053 { (char *)"new_WindowDC", (PyCFunction) _wrap_new_WindowDC, METH_VARARGS | METH_KEYWORDS, NULL},
22054 { (char *)"WindowDC_swigregister", WindowDC_swigregister, METH_VARARGS, NULL},
22055 { (char *)"new_MirrorDC", (PyCFunction) _wrap_new_MirrorDC, METH_VARARGS | METH_KEYWORDS, NULL},
22056 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister, METH_VARARGS, NULL},
22057 { (char *)"new_PostScriptDC", (PyCFunction) _wrap_new_PostScriptDC, METH_VARARGS | METH_KEYWORDS, NULL},
22058 { (char *)"PostScriptDC_GetPrintData", (PyCFunction) _wrap_PostScriptDC_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
22059 { (char *)"PostScriptDC_SetPrintData", (PyCFunction) _wrap_PostScriptDC_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
22060 { (char *)"PostScriptDC_SetResolution", (PyCFunction) _wrap_PostScriptDC_SetResolution, METH_VARARGS | METH_KEYWORDS, NULL},
22061 { (char *)"PostScriptDC_GetResolution", (PyCFunction) _wrap_PostScriptDC_GetResolution, METH_VARARGS | METH_KEYWORDS, NULL},
22062 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister, METH_VARARGS, NULL},
22063 { (char *)"new_MetaFile", (PyCFunction) _wrap_new_MetaFile, METH_VARARGS | METH_KEYWORDS, NULL},
22064 { (char *)"MetaFile_swigregister", MetaFile_swigregister, METH_VARARGS, NULL},
22065 { (char *)"new_MetaFileDC", (PyCFunction) _wrap_new_MetaFileDC, METH_VARARGS | METH_KEYWORDS, NULL},
22066 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister, METH_VARARGS, NULL},
22067 { (char *)"new_PrinterDC", (PyCFunction) _wrap_new_PrinterDC, METH_VARARGS | METH_KEYWORDS, NULL},
22068 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister, METH_VARARGS, NULL},
22069 { (char *)"new_ImageList", (PyCFunction) _wrap_new_ImageList, METH_VARARGS | METH_KEYWORDS, NULL},
22070 { (char *)"delete_ImageList", (PyCFunction) _wrap_delete_ImageList, METH_VARARGS | METH_KEYWORDS, NULL},
22071 { (char *)"ImageList_Add", (PyCFunction) _wrap_ImageList_Add, METH_VARARGS | METH_KEYWORDS, NULL},
22072 { (char *)"ImageList_AddWithColourMask", (PyCFunction) _wrap_ImageList_AddWithColourMask, METH_VARARGS | METH_KEYWORDS, NULL},
22073 { (char *)"ImageList_AddIcon", (PyCFunction) _wrap_ImageList_AddIcon, METH_VARARGS | METH_KEYWORDS, NULL},
b9d6a5f3
RD
22074 { (char *)"ImageList_GetBitmap", (PyCFunction) _wrap_ImageList_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
22075 { (char *)"ImageList_GetIcon", (PyCFunction) _wrap_ImageList_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
22076 { (char *)"ImageList_Replace", (PyCFunction) _wrap_ImageList_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
22077 { (char *)"ImageList_Draw", (PyCFunction) _wrap_ImageList_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
22078 { (char *)"ImageList_GetImageCount", (PyCFunction) _wrap_ImageList_GetImageCount, METH_VARARGS | METH_KEYWORDS, NULL},
22079 { (char *)"ImageList_Remove", (PyCFunction) _wrap_ImageList_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
22080 { (char *)"ImageList_RemoveAll", (PyCFunction) _wrap_ImageList_RemoveAll, METH_VARARGS | METH_KEYWORDS, NULL},
22081 { (char *)"ImageList_GetSize", (PyCFunction) _wrap_ImageList_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
22082 { (char *)"ImageList_swigregister", ImageList_swigregister, METH_VARARGS, NULL},
22083 { (char *)"PenList_AddPen", (PyCFunction) _wrap_PenList_AddPen, METH_VARARGS | METH_KEYWORDS, NULL},
22084 { (char *)"PenList_FindOrCreatePen", (PyCFunction) _wrap_PenList_FindOrCreatePen, METH_VARARGS | METH_KEYWORDS, NULL},
22085 { (char *)"PenList_RemovePen", (PyCFunction) _wrap_PenList_RemovePen, METH_VARARGS | METH_KEYWORDS, NULL},
22086 { (char *)"PenList_GetCount", (PyCFunction) _wrap_PenList_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
22087 { (char *)"PenList_swigregister", PenList_swigregister, METH_VARARGS, NULL},
22088 { (char *)"BrushList_AddBrush", (PyCFunction) _wrap_BrushList_AddBrush, METH_VARARGS | METH_KEYWORDS, NULL},
22089 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction) _wrap_BrushList_FindOrCreateBrush, METH_VARARGS | METH_KEYWORDS, NULL},
22090 { (char *)"BrushList_RemoveBrush", (PyCFunction) _wrap_BrushList_RemoveBrush, METH_VARARGS | METH_KEYWORDS, NULL},
22091 { (char *)"BrushList_GetCount", (PyCFunction) _wrap_BrushList_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
22092 { (char *)"BrushList_swigregister", BrushList_swigregister, METH_VARARGS, NULL},
22093 { (char *)"new_ColourDatabase", (PyCFunction) _wrap_new_ColourDatabase, METH_VARARGS | METH_KEYWORDS, NULL},
22094 { (char *)"delete_ColourDatabase", (PyCFunction) _wrap_delete_ColourDatabase, METH_VARARGS | METH_KEYWORDS, NULL},
22095 { (char *)"ColourDatabase_Find", (PyCFunction) _wrap_ColourDatabase_Find, METH_VARARGS | METH_KEYWORDS, NULL},
22096 { (char *)"ColourDatabase_FindName", (PyCFunction) _wrap_ColourDatabase_FindName, METH_VARARGS | METH_KEYWORDS, NULL},
22097 { (char *)"ColourDatabase_AddColour", (PyCFunction) _wrap_ColourDatabase_AddColour, METH_VARARGS | METH_KEYWORDS, NULL},
22098 { (char *)"ColourDatabase_Append", (PyCFunction) _wrap_ColourDatabase_Append, METH_VARARGS | METH_KEYWORDS, NULL},
22099 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister, METH_VARARGS, NULL},
22100 { (char *)"FontList_AddFont", (PyCFunction) _wrap_FontList_AddFont, METH_VARARGS | METH_KEYWORDS, NULL},
22101 { (char *)"FontList_FindOrCreateFont", (PyCFunction) _wrap_FontList_FindOrCreateFont, METH_VARARGS | METH_KEYWORDS, NULL},
22102 { (char *)"FontList_RemoveFont", (PyCFunction) _wrap_FontList_RemoveFont, METH_VARARGS | METH_KEYWORDS, NULL},
22103 { (char *)"FontList_GetCount", (PyCFunction) _wrap_FontList_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
22104 { (char *)"FontList_swigregister", FontList_swigregister, METH_VARARGS, NULL},
22105 { (char *)"new_Effects", (PyCFunction) _wrap_new_Effects, METH_VARARGS | METH_KEYWORDS, NULL},
22106 { (char *)"Effects_GetHighlightColour", (PyCFunction) _wrap_Effects_GetHighlightColour, METH_VARARGS | METH_KEYWORDS, NULL},
22107 { (char *)"Effects_GetLightShadow", (PyCFunction) _wrap_Effects_GetLightShadow, METH_VARARGS | METH_KEYWORDS, NULL},
22108 { (char *)"Effects_GetFaceColour", (PyCFunction) _wrap_Effects_GetFaceColour, METH_VARARGS | METH_KEYWORDS, NULL},
22109 { (char *)"Effects_GetMediumShadow", (PyCFunction) _wrap_Effects_GetMediumShadow, METH_VARARGS | METH_KEYWORDS, NULL},
22110 { (char *)"Effects_GetDarkShadow", (PyCFunction) _wrap_Effects_GetDarkShadow, METH_VARARGS | METH_KEYWORDS, NULL},
22111 { (char *)"Effects_SetHighlightColour", (PyCFunction) _wrap_Effects_SetHighlightColour, METH_VARARGS | METH_KEYWORDS, NULL},
22112 { (char *)"Effects_SetLightShadow", (PyCFunction) _wrap_Effects_SetLightShadow, METH_VARARGS | METH_KEYWORDS, NULL},
22113 { (char *)"Effects_SetFaceColour", (PyCFunction) _wrap_Effects_SetFaceColour, METH_VARARGS | METH_KEYWORDS, NULL},
22114 { (char *)"Effects_SetMediumShadow", (PyCFunction) _wrap_Effects_SetMediumShadow, METH_VARARGS | METH_KEYWORDS, NULL},
22115 { (char *)"Effects_SetDarkShadow", (PyCFunction) _wrap_Effects_SetDarkShadow, METH_VARARGS | METH_KEYWORDS, NULL},
22116 { (char *)"Effects_Set", (PyCFunction) _wrap_Effects_Set, METH_VARARGS | METH_KEYWORDS, NULL},
22117 { (char *)"Effects_DrawSunkenEdge", (PyCFunction) _wrap_Effects_DrawSunkenEdge, METH_VARARGS | METH_KEYWORDS, NULL},
22118 { (char *)"Effects_TileBitmap", (PyCFunction) _wrap_Effects_TileBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
22119 { (char *)"Effects_swigregister", Effects_swigregister, METH_VARARGS, NULL},
8d38bd1d
RD
22120 { (char *)"new_SplitterRenderParams", (PyCFunction) _wrap_new_SplitterRenderParams, METH_VARARGS | METH_KEYWORDS, NULL},
22121 { (char *)"delete_SplitterRenderParams", (PyCFunction) _wrap_delete_SplitterRenderParams, METH_VARARGS | METH_KEYWORDS, NULL},
22122 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction) _wrap_SplitterRenderParams_widthSash_get, METH_VARARGS | METH_KEYWORDS, NULL},
22123 { (char *)"SplitterRenderParams_border_get", (PyCFunction) _wrap_SplitterRenderParams_border_get, METH_VARARGS | METH_KEYWORDS, NULL},
22124 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction) _wrap_SplitterRenderParams_isHotSensitive_get, METH_VARARGS | METH_KEYWORDS, NULL},
22125 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister, METH_VARARGS, NULL},
22126 { (char *)"new_RendererVersion", (PyCFunction) _wrap_new_RendererVersion, METH_VARARGS | METH_KEYWORDS, NULL},
22127 { (char *)"delete_RendererVersion", (PyCFunction) _wrap_delete_RendererVersion, METH_VARARGS | METH_KEYWORDS, NULL},
22128 { (char *)"RendererVersion_IsCompatible", (PyCFunction) _wrap_RendererVersion_IsCompatible, METH_VARARGS | METH_KEYWORDS, NULL},
22129 { (char *)"RendererVersion_version_get", (PyCFunction) _wrap_RendererVersion_version_get, METH_VARARGS | METH_KEYWORDS, NULL},
22130 { (char *)"RendererVersion_age_get", (PyCFunction) _wrap_RendererVersion_age_get, METH_VARARGS | METH_KEYWORDS, NULL},
22131 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister, METH_VARARGS, NULL},
22132 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction) _wrap_RendererNative_DrawHeaderButton, METH_VARARGS | METH_KEYWORDS, NULL},
22133 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction) _wrap_RendererNative_DrawTreeItemButton, METH_VARARGS | METH_KEYWORDS, NULL},
22134 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction) _wrap_RendererNative_DrawSplitterBorder, METH_VARARGS | METH_KEYWORDS, NULL},
22135 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction) _wrap_RendererNative_DrawSplitterSash, METH_VARARGS | METH_KEYWORDS, NULL},
22136 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction) _wrap_RendererNative_DrawComboBoxDropButton, METH_VARARGS | METH_KEYWORDS, NULL},
22137 { (char *)"RendererNative_DrawDropArrow", (PyCFunction) _wrap_RendererNative_DrawDropArrow, METH_VARARGS | METH_KEYWORDS, NULL},
22138 { (char *)"RendererNative_GetSplitterParams", (PyCFunction) _wrap_RendererNative_GetSplitterParams, METH_VARARGS | METH_KEYWORDS, NULL},
22139 { (char *)"RendererNative_Get", (PyCFunction) _wrap_RendererNative_Get, METH_VARARGS | METH_KEYWORDS, NULL},
22140 { (char *)"RendererNative_GetGeneric", (PyCFunction) _wrap_RendererNative_GetGeneric, METH_VARARGS | METH_KEYWORDS, NULL},
22141 { (char *)"RendererNative_GetDefault", (PyCFunction) _wrap_RendererNative_GetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
22142 { (char *)"RendererNative_Set", (PyCFunction) _wrap_RendererNative_Set, METH_VARARGS | METH_KEYWORDS, NULL},
22143 { (char *)"RendererNative_GetVersion", (PyCFunction) _wrap_RendererNative_GetVersion, METH_VARARGS | METH_KEYWORDS, NULL},
22144 { (char *)"RendererNative_swigregister", RendererNative_swigregister, METH_VARARGS, NULL},
c32bde28 22145 { NULL, NULL, 0, NULL }
d14a1e28
RD
22146};
22147
22148
22149/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
22150
22151static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x) {
22152 return (void *)((wxMemoryDC *) ((wxBufferedDC *) x));
22153}
22154static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x) {
22155 return (void *)((wxMemoryDC *) (wxBufferedDC *) ((wxBufferedPaintDC *) x));
22156}
093d3ff1
RD
22157static void *_p_wxIconTo_p_wxGDIObject(void *x) {
22158 return (void *)((wxGDIObject *) ((wxIcon *) x));
d14a1e28 22159}
093d3ff1
RD
22160static void *_p_wxPaletteTo_p_wxGDIObject(void *x) {
22161 return (void *)((wxGDIObject *) ((wxPalette *) x));
d14a1e28 22162}
093d3ff1
RD
22163static void *_p_wxPenTo_p_wxGDIObject(void *x) {
22164 return (void *)((wxGDIObject *) ((wxPen *) x));
22165}
22166static void *_p_wxFontTo_p_wxGDIObject(void *x) {
22167 return (void *)((wxGDIObject *) ((wxFont *) x));
22168}
22169static void *_p_wxCursorTo_p_wxGDIObject(void *x) {
22170 return (void *)((wxGDIObject *) ((wxCursor *) x));
22171}
22172static void *_p_wxBitmapTo_p_wxGDIObject(void *x) {
22173 return (void *)((wxGDIObject *) ((wxBitmap *) x));
22174}
22175static void *_p_wxRegionTo_p_wxGDIObject(void *x) {
22176 return (void *)((wxGDIObject *) ((wxRegion *) x));
22177}
22178static void *_p_wxBrushTo_p_wxGDIObject(void *x) {
22179 return (void *)((wxGDIObject *) ((wxBrush *) x));
22180}
22181static void *_p_wxBufferedDCTo_p_wxDC(void *x) {
22182 return (void *)((wxDC *) (wxMemoryDC *) ((wxBufferedDC *) x));
22183}
22184static void *_p_wxScreenDCTo_p_wxDC(void *x) {
22185 return (void *)((wxDC *) ((wxScreenDC *) x));
22186}
22187static void *_p_wxMirrorDCTo_p_wxDC(void *x) {
22188 return (void *)((wxDC *) ((wxMirrorDC *) x));
22189}
22190static void *_p_wxMemoryDCTo_p_wxDC(void *x) {
22191 return (void *)((wxDC *) ((wxMemoryDC *) x));
22192}
22193static void *_p_wxWindowDCTo_p_wxDC(void *x) {
22194 return (void *)((wxDC *) ((wxWindowDC *) x));
22195}
22196static void *_p_wxMetaFileDCTo_p_wxDC(void *x) {
22197 return (void *)((wxDC *) ((wxMetaFileDC *) x));
22198}
22199static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x) {
22200 return (void *)((wxDC *) (wxMemoryDC *)(wxBufferedDC *) ((wxBufferedPaintDC *) x));
22201}
22202static void *_p_wxClientDCTo_p_wxDC(void *x) {
22203 return (void *)((wxDC *) ((wxClientDC *) x));
22204}
22205static void *_p_wxPaintDCTo_p_wxDC(void *x) {
22206 return (void *)((wxDC *) ((wxPaintDC *) x));
22207}
22208static void *_p_wxPostScriptDCTo_p_wxDC(void *x) {
22209 return (void *)((wxDC *) ((wxPostScriptDC *) x));
22210}
22211static void *_p_wxPrinterDCTo_p_wxDC(void *x) {
22212 return (void *)((wxDC *) ((wxPrinterDC *) x));
22213}
22214static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x) {
22215 return (void *)((wxBufferedDC *) ((wxBufferedPaintDC *) x));
22216}
22217static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
22218 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
22219}
22220static void *_p_wxPenTo_p_wxObject(void *x) {
22221 return (void *)((wxObject *) (wxGDIObject *) ((wxPen *) x));
22222}
22223static void *_p_wxRegionIteratorTo_p_wxObject(void *x) {
d14a1e28
RD
22224 return (void *)((wxObject *) ((wxRegionIterator *) x));
22225}
22226static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
22227 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
22228}
22229static void *_p_wxSizerItemTo_p_wxObject(void *x) {
22230 return (void *)((wxObject *) ((wxSizerItem *) x));
22231}
22232static void *_p_wxColourDatabaseTo_p_wxObject(void *x) {
22233 return (void *)((wxObject *) ((wxColourDatabase *) x));
22234}
22235static void *_p_wxScrollEventTo_p_wxObject(void *x) {
22236 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
22237}
22238static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
22239 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
22240}
22241static void *_p_wxIconTo_p_wxObject(void *x) {
22242 return (void *)((wxObject *) (wxGDIObject *) ((wxIcon *) x));
22243}
22244static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
22245 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
22246}
22247static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
22248 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
22249}
22250static void *_p_wxSizerTo_p_wxObject(void *x) {
22251 return (void *)((wxObject *) ((wxSizer *) x));
22252}
22253static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
22254 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
22255}
22256static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
22257 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
22258}
22259static void *_p_wxPenListTo_p_wxObject(void *x) {
22260 return (void *)((wxObject *) ((wxPenList *) x));
22261}
22262static void *_p_wxEventTo_p_wxObject(void *x) {
22263 return (void *)((wxObject *) ((wxEvent *) x));
22264}
22265static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
22266 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
22267}
22268static void *_p_wxGridSizerTo_p_wxObject(void *x) {
22269 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
22270}
22271static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
22272 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
22273}
22274static void *_p_wxPaintEventTo_p_wxObject(void *x) {
22275 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
22276}
22277static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
22278 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
22279}
22280static void *_p_wxDCTo_p_wxObject(void *x) {
22281 return (void *)((wxObject *) ((wxDC *) x));
22282}
22283static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
22284 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
22285}
22286static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
22287 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
22288}
22289static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
22290 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
22291}
22292static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
22293 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
22294}
22295static void *_p_wxControlTo_p_wxObject(void *x) {
22296 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
22297}
22298static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
22299 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
22300}
22301static void *_p_wxClientDCTo_p_wxObject(void *x) {
22302 return (void *)((wxObject *) (wxDC *) ((wxClientDC *) x));
22303}
22304static void *_p_wxFSFileTo_p_wxObject(void *x) {
22305 return (void *)((wxObject *) ((wxFSFile *) x));
22306}
22307static void *_p_wxMemoryDCTo_p_wxObject(void *x) {
22308 return (void *)((wxObject *) (wxDC *) ((wxMemoryDC *) x));
22309}
22310static void *_p_wxRegionTo_p_wxObject(void *x) {
22311 return (void *)((wxObject *) (wxGDIObject *) ((wxRegion *) x));
22312}
22313static void *_p_wxPySizerTo_p_wxObject(void *x) {
22314 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
22315}
22316static void *_p_wxWindowDCTo_p_wxObject(void *x) {
22317 return (void *)((wxObject *) (wxDC *) ((wxWindowDC *) x));
22318}
22319static void *_p_wxGDIObjectTo_p_wxObject(void *x) {
22320 return (void *)((wxObject *) ((wxGDIObject *) x));
22321}
22322static void *_p_wxEffectsTo_p_wxObject(void *x) {
22323 return (void *)((wxObject *) ((wxEffects *) x));
22324}
22325static void *_p_wxPyEventTo_p_wxObject(void *x) {
22326 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
22327}
22328static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
22329 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
22330}
22331static void *_p_wxPostScriptDCTo_p_wxObject(void *x) {
22332 return (void *)((wxObject *) (wxDC *) ((wxPostScriptDC *) x));
22333}
22334static void *_p_wxShowEventTo_p_wxObject(void *x) {
22335 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
22336}
22337static void *_p_wxMenuItemTo_p_wxObject(void *x) {
22338 return (void *)((wxObject *) ((wxMenuItem *) x));
22339}
53aa7709
RD
22340static void *_p_wxDateEventTo_p_wxObject(void *x) {
22341 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
22342}
d14a1e28
RD
22343static void *_p_wxIdleEventTo_p_wxObject(void *x) {
22344 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
22345}
22346static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
22347 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
22348}
22349static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
22350 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
22351}
22352static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
22353 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
22354}
22355static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
22356 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
22357}
22358static void *_p_wxSizeEventTo_p_wxObject(void *x) {
22359 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
22360}
22361static void *_p_wxMoveEventTo_p_wxObject(void *x) {
22362 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
22363}
22364static void *_p_wxActivateEventTo_p_wxObject(void *x) {
22365 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
22366}
d14a1e28
RD
22367static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
22368 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
22369}
22370static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
22371 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
22372}
22373static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
22374 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
22375}
22376static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
22377 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
22378}
22379static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
22380 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
22381}
22382static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
22383 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
22384}
22385static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
22386 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
22387}
22388static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
22389 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
22390}
22391static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
22392 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
22393}
943e8dfd
RD
22394static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
22395 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
22396}
d14a1e28
RD
22397static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
22398 return (void *)((wxObject *) ((wxImageHandler *) x));
22399}
943e8dfd
RD
22400static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
22401 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
22402}
d14a1e28
RD
22403static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
22404 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
22405}
22406static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
22407 return (void *)((wxObject *) ((wxEvtHandler *) x));
22408}
22409static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x) {
22410 return (void *)((wxObject *) (wxDC *)(wxMemoryDC *)(wxBufferedDC *) ((wxBufferedPaintDC *) x));
22411}
22412static void *_p_wxPaintDCTo_p_wxObject(void *x) {
22413 return (void *)((wxObject *) (wxDC *) ((wxPaintDC *) x));
22414}
22415static void *_p_wxPrinterDCTo_p_wxObject(void *x) {
22416 return (void *)((wxObject *) (wxDC *) ((wxPrinterDC *) x));
22417}
22418static void *_p_wxScreenDCTo_p_wxObject(void *x) {
22419 return (void *)((wxObject *) (wxDC *) ((wxScreenDC *) x));
22420}
51b83b37
RD
22421static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
22422 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
22423}
1e0c8722
RD
22424static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
22425 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
22426}
d14a1e28
RD
22427static void *_p_wxImageTo_p_wxObject(void *x) {
22428 return (void *)((wxObject *) ((wxImage *) x));
22429}
22430static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
22431 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
22432}
d14a1e28
RD
22433static void *_p_wxPaletteTo_p_wxObject(void *x) {
22434 return (void *)((wxObject *) (wxGDIObject *) ((wxPalette *) x));
22435}
22436static void *_p_wxBufferedDCTo_p_wxObject(void *x) {
22437 return (void *)((wxObject *) (wxDC *)(wxMemoryDC *) ((wxBufferedDC *) x));
22438}
22439static void *_p_wxImageListTo_p_wxObject(void *x) {
22440 return (void *)((wxObject *) ((wxImageList *) x));
22441}
22442static void *_p_wxCursorTo_p_wxObject(void *x) {
22443 return (void *)((wxObject *) (wxGDIObject *) ((wxCursor *) x));
22444}
22445static void *_p_wxEncodingConverterTo_p_wxObject(void *x) {
22446 return (void *)((wxObject *) ((wxEncodingConverter *) x));
22447}
22448static void *_p_wxMirrorDCTo_p_wxObject(void *x) {
22449 return (void *)((wxObject *) (wxDC *) ((wxMirrorDC *) x));
22450}
22451static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
22452 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22453}
22454static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
22455 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
22456}
22457static void *_p_wxKeyEventTo_p_wxObject(void *x) {
22458 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
22459}
22460static void *_p_wxWindowTo_p_wxObject(void *x) {
22461 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
22462}
22463static void *_p_wxMenuTo_p_wxObject(void *x) {
22464 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
22465}
22466static void *_p_wxMenuBarTo_p_wxObject(void *x) {
22467 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
22468}
22469static void *_p_wxMetaFileDCTo_p_wxObject(void *x) {
22470 return (void *)((wxObject *) (wxDC *) ((wxMetaFileDC *) x));
22471}
22472static void *_p_wxBrushListTo_p_wxObject(void *x) {
22473 return (void *)((wxObject *) ((wxBrushList *) x));
22474}
d14a1e28
RD
22475static void *_p_wxFileSystemTo_p_wxObject(void *x) {
22476 return (void *)((wxObject *) ((wxFileSystem *) x));
22477}
22478static void *_p_wxBitmapTo_p_wxObject(void *x) {
22479 return (void *)((wxObject *) (wxGDIObject *) ((wxBitmap *) x));
22480}
22481static void *_p_wxMaskTo_p_wxObject(void *x) {
22482 return (void *)((wxObject *) ((wxMask *) x));
22483}
22484static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
22485 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
22486}
22487static void *_p_wxMenuEventTo_p_wxObject(void *x) {
22488 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
22489}
22490static void *_p_wxPyAppTo_p_wxObject(void *x) {
22491 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
22492}
22493static void *_p_wxCloseEventTo_p_wxObject(void *x) {
22494 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
22495}
22496static void *_p_wxMouseEventTo_p_wxObject(void *x) {
22497 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
22498}
22499static void *_p_wxEraseEventTo_p_wxObject(void *x) {
22500 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
22501}
22502static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
22503 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
22504}
22505static void *_p_wxCommandEventTo_p_wxObject(void *x) {
22506 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
22507}
22508static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
22509 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
22510}
22511static void *_p_wxFocusEventTo_p_wxObject(void *x) {
22512 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
22513}
22514static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
22515 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
22516}
22517static void *_p_wxFontTo_p_wxObject(void *x) {
22518 return (void *)((wxObject *) (wxGDIObject *) ((wxFont *) x));
22519}
22520static void *_p_wxBrushTo_p_wxObject(void *x) {
22521 return (void *)((wxObject *) (wxGDIObject *) ((wxBrush *) x));
22522}
22523static void *_p_wxMetaFileTo_p_wxObject(void *x) {
22524 return (void *)((wxObject *) ((wxMetaFile *) x));
22525}
22526static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
22527 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22528}
22529static void *_p_wxColourTo_p_wxObject(void *x) {
22530 return (void *)((wxObject *) ((wxColour *) x));
22531}
22532static void *_p_wxFontListTo_p_wxObject(void *x) {
22533 return (void *)((wxObject *) ((wxFontList *) x));
22534}
22535static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
22536 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
22537}
22538static void *_p_wxValidatorTo_p_wxObject(void *x) {
22539 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
22540}
093d3ff1
RD
22541static void *_p_wxControlTo_p_wxWindow(void *x) {
22542 return (void *)((wxWindow *) ((wxControl *) x));
e811c8ce 22543}
093d3ff1
RD
22544static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
22545 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
e811c8ce 22546}
093d3ff1
RD
22547static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22548 return (void *)((wxWindow *) ((wxMenuBar *) x));
e811c8ce 22549}
32fe5131
RD
22550static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
22551static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, 0};
22552static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
22553static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
22554static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
22555static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
22556static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
22557static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
22558static swig_type_info _swigt__p_wxBrush = {"_p_wxBrush", "wxBrush *", 0, 0, 0};
22559static swig_type_info _swigt__p_wxBrushList = {"_p_wxBrushList", "wxBrushList *", 0, 0, 0};
22560static swig_type_info _swigt__p_wxBufferedDC = {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, 0};
22561static swig_type_info _swigt__p_wxBufferedPaintDC = {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, 0};
22562static swig_type_info _swigt__p_wxClientDC = {"_p_wxClientDC", "wxClientDC *", 0, 0, 0};
22563static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
22564static swig_type_info _swigt__p_wxColourDatabase = {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, 0};
22565static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0};
22566static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
22567static swig_type_info _swigt__p_wxDash = {"_p_wxDash", "wxDash *", 0, 0, 0};
22568static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
22569static swig_type_info _swigt__p_wxEffects = {"_p_wxEffects", "wxEffects *", 0, 0, 0};
22570static swig_type_info _swigt__p_wxEncodingConverter = {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, 0};
22571static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
22572static swig_type_info _swigt__p_wxFontList = {"_p_wxFontList", "wxFontList *", 0, 0, 0};
22573static swig_type_info _swigt__p_wxFontMapper = {"_p_wxFontMapper", "wxFontMapper *", 0, 0, 0};
22574static swig_type_info _swigt__p_wxGDIObject = {"_p_wxGDIObject", "wxGDIObject *", 0, 0, 0};
22575static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
22576static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0};
22577static swig_type_info _swigt__p_wxIconLocation = {"_p_wxIconLocation", "wxIconLocation *", 0, 0, 0};
22578static swig_type_info _swigt__p_wxImage = {"_p_wxImage", "wxImage *", 0, 0, 0};
22579static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, 0};
22580static swig_type_info _swigt__p_wxLanguageInfo = {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, 0};
22581static swig_type_info _swigt__p_wxLocale = {"_p_wxLocale", "wxLocale *", 0, 0, 0};
22582static swig_type_info _swigt__p_wxMask = {"_p_wxMask", "wxMask *", 0, 0, 0};
22583static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0};
22584static swig_type_info _swigt__p_wxMetaFile = {"_p_wxMetaFile", "wxMetaFile *", 0, 0, 0};
22585static swig_type_info _swigt__p_wxMetaFileDC = {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, 0};
22586static swig_type_info _swigt__p_wxMirrorDC = {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, 0};
22587static swig_type_info _swigt__p_wxNativeEncodingInfo = {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, 0};
22588static swig_type_info _swigt__p_wxNativeFontInfo = {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, 0};
22589static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
22590static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
22591static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
22592static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
22593static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
22594static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
22595static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
22596static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
22597static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
22598static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
22599static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
22600static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
22601static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", 0, 0, 0, 0};
22602static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
22603static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
22604static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
22605static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
22606static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
22607static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
22608static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
22609static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
22610static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
22611static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0};
22612static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
22613static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
22614static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
22615static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
22616static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0};
22617static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
22618static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
22619static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
22620static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
22621static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
22622static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
22623static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
22624static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
22625static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
22626static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
22627static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
22628static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
22629static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
22630static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
22631static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
22632static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
22633static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
22634static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
22635static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
22636static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", 0, 0, 0, 0};
22637static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
22638static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
22639static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
22640static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
22641static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
22642static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
22643static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
22644static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
22645static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
22646static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
22647static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
22648static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
22649static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0};
22650static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
22651static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
22652static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
22653static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
22654static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0};
22655static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
22656static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
22657static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", 0, 0, 0, 0};
22658static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
22659static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
22660static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
22661static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
22662static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
22663static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
22664static swig_type_info _swigt__p_wxPaintDC = {"_p_wxPaintDC", "wxPaintDC *", 0, 0, 0};
22665static swig_type_info _swigt__p_wxPalette = {"_p_wxPalette", "wxPalette *", 0, 0, 0};
22666static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
22667static swig_type_info _swigt__p_wxPen = {"_p_wxPen", "wxPen *", 0, 0, 0};
22668static swig_type_info _swigt__p_wxPenList = {"_p_wxPenList", "wxPenList *", 0, 0, 0};
22669static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
22670static swig_type_info _swigt__p_wxPostScriptDC = {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, 0};
22671static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
22672static swig_type_info _swigt__p_wxPrinterDC = {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, 0};
22673static swig_type_info _swigt__p_wxPyFontEnumerator = {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, 0};
22674static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
22675static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, 0};
22676static swig_type_info _swigt__p_wxRegionIterator = {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, 0};
22677static swig_type_info _swigt__p_wxRendererNative = {"_p_wxRendererNative", "wxRendererNative *", 0, 0, 0};
22678static swig_type_info _swigt__p_wxRendererVersion = {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, 0};
22679static swig_type_info _swigt__p_wxScreenDC = {"_p_wxScreenDC", "wxScreenDC *", 0, 0, 0};
22680static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
22681static swig_type_info _swigt__p_wxSplitterRenderParams = {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, 0};
22682static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
22683static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
22684static swig_type_info _swigt__p_wxWindowDC = {"_p_wxWindowDC", "wxWindowDC *", 0, 0, 0};
22685static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
22686static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
22687static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
22688
22689static swig_type_info *swig_type_initial[] = {
22690 &_swigt__p_char,
22691 &_swigt__p_double,
22692 &_swigt__p_form_ops_t,
22693 &_swigt__p_int,
22694 &_swigt__p_unsigned_char,
22695 &_swigt__p_unsigned_int,
22696 &_swigt__p_unsigned_long,
22697 &_swigt__p_wxANIHandler,
22698 &_swigt__p_wxAcceleratorTable,
22699 &_swigt__p_wxActivateEvent,
22700 &_swigt__p_wxBMPHandler,
22701 &_swigt__p_wxBitmap,
22702 &_swigt__p_wxBoxSizer,
22703 &_swigt__p_wxBrush,
22704 &_swigt__p_wxBrushList,
22705 &_swigt__p_wxBufferedDC,
22706 &_swigt__p_wxBufferedPaintDC,
22707 &_swigt__p_wxCURHandler,
22708 &_swigt__p_wxChildFocusEvent,
22709 &_swigt__p_wxClientDC,
22710 &_swigt__p_wxCloseEvent,
22711 &_swigt__p_wxColour,
22712 &_swigt__p_wxColourDatabase,
22713 &_swigt__p_wxCommandEvent,
22714 &_swigt__p_wxContextMenuEvent,
22715 &_swigt__p_wxControl,
22716 &_swigt__p_wxControlWithItems,
22717 &_swigt__p_wxCursor,
22718 &_swigt__p_wxDC,
22719 &_swigt__p_wxDash,
22720 &_swigt__p_wxDateEvent,
22721 &_swigt__p_wxDisplayChangedEvent,
22722 &_swigt__p_wxDropFilesEvent,
22723 &_swigt__p_wxDuplexMode,
22724 &_swigt__p_wxEffects,
22725 &_swigt__p_wxEncodingConverter,
22726 &_swigt__p_wxEraseEvent,
22727 &_swigt__p_wxEvent,
22728 &_swigt__p_wxEvtHandler,
22729 &_swigt__p_wxFSFile,
22730 &_swigt__p_wxFileSystem,
22731 &_swigt__p_wxFlexGridSizer,
22732 &_swigt__p_wxFocusEvent,
22733 &_swigt__p_wxFont,
22734 &_swigt__p_wxFontList,
22735 &_swigt__p_wxFontMapper,
22736 &_swigt__p_wxGBSizerItem,
22737 &_swigt__p_wxGDIObject,
22738 &_swigt__p_wxGIFHandler,
22739 &_swigt__p_wxGridBagSizer,
22740 &_swigt__p_wxGridSizer,
22741 &_swigt__p_wxICOHandler,
22742 &_swigt__p_wxIcon,
22743 &_swigt__p_wxIconBundle,
22744 &_swigt__p_wxIconLocation,
22745 &_swigt__p_wxIconizeEvent,
22746 &_swigt__p_wxIdleEvent,
22747 &_swigt__p_wxImage,
22748 &_swigt__p_wxImageHandler,
22749 &_swigt__p_wxImageList,
22750 &_swigt__p_wxIndividualLayoutConstraint,
22751 &_swigt__p_wxInitDialogEvent,
22752 &_swigt__p_wxJPEGHandler,
22753 &_swigt__p_wxKeyEvent,
22754 &_swigt__p_wxLanguageInfo,
22755 &_swigt__p_wxLayoutConstraints,
22756 &_swigt__p_wxLocale,
22757 &_swigt__p_wxMask,
22758 &_swigt__p_wxMaximizeEvent,
22759 &_swigt__p_wxMemoryDC,
22760 &_swigt__p_wxMenu,
22761 &_swigt__p_wxMenuBar,
22762 &_swigt__p_wxMenuEvent,
22763 &_swigt__p_wxMenuItem,
22764 &_swigt__p_wxMetaFile,
22765 &_swigt__p_wxMetaFileDC,
22766 &_swigt__p_wxMirrorDC,
22767 &_swigt__p_wxMouseCaptureChangedEvent,
22768 &_swigt__p_wxMouseEvent,
22769 &_swigt__p_wxMoveEvent,
22770 &_swigt__p_wxNativeEncodingInfo,
22771 &_swigt__p_wxNativeFontInfo,
22772 &_swigt__p_wxNavigationKeyEvent,
22773 &_swigt__p_wxNcPaintEvent,
22774 &_swigt__p_wxNotifyEvent,
22775 &_swigt__p_wxObject,
22776 &_swigt__p_wxPCXHandler,
22777 &_swigt__p_wxPNGHandler,
22778 &_swigt__p_wxPNMHandler,
22779 &_swigt__p_wxPaintDC,
22780 &_swigt__p_wxPaintEvent,
22781 &_swigt__p_wxPalette,
22782 &_swigt__p_wxPaletteChangedEvent,
22783 &_swigt__p_wxPaperSize,
22784 &_swigt__p_wxPen,
22785 &_swigt__p_wxPenList,
22786 &_swigt__p_wxPoint,
22787 &_swigt__p_wxPostScriptDC,
22788 &_swigt__p_wxPrintData,
22789 &_swigt__p_wxPrinterDC,
22790 &_swigt__p_wxPyApp,
22791 &_swigt__p_wxPyCommandEvent,
22792 &_swigt__p_wxPyEvent,
22793 &_swigt__p_wxPyFontEnumerator,
22794 &_swigt__p_wxPyImageHandler,
22795 &_swigt__p_wxPySizer,
22796 &_swigt__p_wxPyValidator,
22797 &_swigt__p_wxQueryNewPaletteEvent,
22798 &_swigt__p_wxRect,
22799 &_swigt__p_wxRegion,
22800 &_swigt__p_wxRegionIterator,
22801 &_swigt__p_wxRendererNative,
22802 &_swigt__p_wxRendererVersion,
22803 &_swigt__p_wxScreenDC,
22804 &_swigt__p_wxScrollEvent,
22805 &_swigt__p_wxScrollWinEvent,
22806 &_swigt__p_wxSetCursorEvent,
22807 &_swigt__p_wxShowEvent,
22808 &_swigt__p_wxSize,
22809 &_swigt__p_wxSizeEvent,
22810 &_swigt__p_wxSizer,
22811 &_swigt__p_wxSizerItem,
22812 &_swigt__p_wxSplitterRenderParams,
22813 &_swigt__p_wxStaticBoxSizer,
22814 &_swigt__p_wxStdDialogButtonSizer,
22815 &_swigt__p_wxString,
22816 &_swigt__p_wxSysColourChangedEvent,
22817 &_swigt__p_wxTIFFHandler,
22818 &_swigt__p_wxUpdateUIEvent,
22819 &_swigt__p_wxValidator,
22820 &_swigt__p_wxWindow,
22821 &_swigt__p_wxWindowCreateEvent,
22822 &_swigt__p_wxWindowDC,
22823 &_swigt__p_wxWindowDestroyEvent,
22824 &_swigt__p_wxXPMHandler,
22825 &_swigt__ptrdiff_t,
22826 &_swigt__std__ptrdiff_t,
22827 &_swigt__unsigned_int,
22828};
22829
22830static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
22831static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
22832static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
22833static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
22834static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
22835static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
22836static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
22837static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
22838static swig_cast_info _swigc__p_wxBrush[] = { {&_swigt__p_wxBrush, 0, 0, 0},{0, 0, 0, 0}};
22839static swig_cast_info _swigc__p_wxBrushList[] = { {&_swigt__p_wxBrushList, 0, 0, 0},{0, 0, 0, 0}};
22840static 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}};
22841static swig_cast_info _swigc__p_wxBufferedPaintDC[] = { {&_swigt__p_wxBufferedPaintDC, 0, 0, 0},{0, 0, 0, 0}};
22842static swig_cast_info _swigc__p_wxClientDC[] = { {&_swigt__p_wxClientDC, 0, 0, 0},{0, 0, 0, 0}};
22843static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
22844static swig_cast_info _swigc__p_wxColourDatabase[] = { {&_swigt__p_wxColourDatabase, 0, 0, 0},{0, 0, 0, 0}};
22845static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
22846static 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}};
22847static swig_cast_info _swigc__p_wxDash[] = { {&_swigt__p_wxDash, 0, 0, 0},{0, 0, 0, 0}};
22848static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
22849static swig_cast_info _swigc__p_wxEffects[] = { {&_swigt__p_wxEffects, 0, 0, 0},{0, 0, 0, 0}};
22850static swig_cast_info _swigc__p_wxEncodingConverter[] = { {&_swigt__p_wxEncodingConverter, 0, 0, 0},{0, 0, 0, 0}};
22851static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
22852static swig_cast_info _swigc__p_wxFontList[] = { {&_swigt__p_wxFontList, 0, 0, 0},{0, 0, 0, 0}};
22853static swig_cast_info _swigc__p_wxFontMapper[] = { {&_swigt__p_wxFontMapper, 0, 0, 0},{0, 0, 0, 0}};
22854static 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}};
22855static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
22856static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
22857static swig_cast_info _swigc__p_wxIconLocation[] = { {&_swigt__p_wxIconLocation, 0, 0, 0},{0, 0, 0, 0}};
22858static swig_cast_info _swigc__p_wxImage[] = { {&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
22859static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
22860static swig_cast_info _swigc__p_wxLanguageInfo[] = { {&_swigt__p_wxLanguageInfo, 0, 0, 0},{0, 0, 0, 0}};
22861static swig_cast_info _swigc__p_wxLocale[] = { {&_swigt__p_wxLocale, 0, 0, 0},{0, 0, 0, 0}};
22862static swig_cast_info _swigc__p_wxMask[] = { {&_swigt__p_wxMask, 0, 0, 0},{0, 0, 0, 0}};
22863static 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}};
22864static swig_cast_info _swigc__p_wxMetaFile[] = { {&_swigt__p_wxMetaFile, 0, 0, 0},{0, 0, 0, 0}};
22865static swig_cast_info _swigc__p_wxMetaFileDC[] = { {&_swigt__p_wxMetaFileDC, 0, 0, 0},{0, 0, 0, 0}};
22866static swig_cast_info _swigc__p_wxMirrorDC[] = { {&_swigt__p_wxMirrorDC, 0, 0, 0},{0, 0, 0, 0}};
22867static swig_cast_info _swigc__p_wxNativeEncodingInfo[] = { {&_swigt__p_wxNativeEncodingInfo, 0, 0, 0},{0, 0, 0, 0}};
22868static swig_cast_info _swigc__p_wxNativeFontInfo[] = { {&_swigt__p_wxNativeFontInfo, 0, 0, 0},{0, 0, 0, 0}};
22869static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
22870static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
22871static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
22872static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
22873static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
22874static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
22875static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
22876static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
22877static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
22878static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
22879static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
22880static swig_cast_info _swigc__p_wxEvent[] = {{&_swigt__p_wxEvent, 0, 0, 0},{0, 0, 0, 0}};
22881static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
22882static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
22883static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
22884static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
22885static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
22886static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22887static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22888static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22889static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
22890static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
22891static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
22892static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
22893static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
22894static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
22895static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
22896static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
22897static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
22898static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
22899static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
22900static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
22901static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
22902static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
22903static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
22904static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
22905static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
22906static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
22907static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
22908static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
22909static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
22910static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
22911static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
22912static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
22913static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
22914static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
22915static swig_cast_info _swigc__p_wxEvtHandler[] = {{&_swigt__p_wxEvtHandler, 0, 0, 0},{0, 0, 0, 0}};
22916static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
22917static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
22918static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
22919static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
22920static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
22921static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
22922static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
22923static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
22924static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
22925static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
22926static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
22927static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
22928static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
22929static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
22930static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
22931static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
22932static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
22933static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
22934static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
22935static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
22936static swig_cast_info _swigc__p_wxCommandEvent[] = {{&_swigt__p_wxCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
22937static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
22938static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
22939static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
22940static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
22941static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
22942static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
22943static 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}};
22944static swig_cast_info _swigc__p_wxPaintDC[] = { {&_swigt__p_wxPaintDC, 0, 0, 0},{0, 0, 0, 0}};
22945static swig_cast_info _swigc__p_wxPalette[] = { {&_swigt__p_wxPalette, 0, 0, 0},{0, 0, 0, 0}};
22946static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
22947static swig_cast_info _swigc__p_wxPen[] = { {&_swigt__p_wxPen, 0, 0, 0},{0, 0, 0, 0}};
22948static swig_cast_info _swigc__p_wxPenList[] = { {&_swigt__p_wxPenList, 0, 0, 0},{0, 0, 0, 0}};
22949static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
22950static swig_cast_info _swigc__p_wxPostScriptDC[] = { {&_swigt__p_wxPostScriptDC, 0, 0, 0},{0, 0, 0, 0}};
22951static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
22952static swig_cast_info _swigc__p_wxPrinterDC[] = { {&_swigt__p_wxPrinterDC, 0, 0, 0},{0, 0, 0, 0}};
22953static swig_cast_info _swigc__p_wxPyFontEnumerator[] = { {&_swigt__p_wxPyFontEnumerator, 0, 0, 0},{0, 0, 0, 0}};
22954static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
22955static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
22956static swig_cast_info _swigc__p_wxRegionIterator[] = { {&_swigt__p_wxRegionIterator, 0, 0, 0},{0, 0, 0, 0}};
22957static swig_cast_info _swigc__p_wxRendererNative[] = { {&_swigt__p_wxRendererNative, 0, 0, 0},{0, 0, 0, 0}};
22958static swig_cast_info _swigc__p_wxRendererVersion[] = { {&_swigt__p_wxRendererVersion, 0, 0, 0},{0, 0, 0, 0}};
22959static swig_cast_info _swigc__p_wxScreenDC[] = { {&_swigt__p_wxScreenDC, 0, 0, 0},{0, 0, 0, 0}};
22960static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
22961static swig_cast_info _swigc__p_wxSplitterRenderParams[] = { {&_swigt__p_wxSplitterRenderParams, 0, 0, 0},{0, 0, 0, 0}};
22962static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
22963static 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}};
22964static swig_cast_info _swigc__p_wxWindowDC[] = { {&_swigt__p_wxWindowDC, 0, 0, 0},{0, 0, 0, 0}};
22965static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
22966static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
22967static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
22968
22969static swig_cast_info *swig_cast_initial[] = {
22970 _swigc__p_char,
22971 _swigc__p_double,
22972 _swigc__p_form_ops_t,
22973 _swigc__p_int,
22974 _swigc__p_unsigned_char,
22975 _swigc__p_unsigned_int,
22976 _swigc__p_unsigned_long,
22977 _swigc__p_wxANIHandler,
22978 _swigc__p_wxAcceleratorTable,
22979 _swigc__p_wxActivateEvent,
22980 _swigc__p_wxBMPHandler,
22981 _swigc__p_wxBitmap,
22982 _swigc__p_wxBoxSizer,
22983 _swigc__p_wxBrush,
22984 _swigc__p_wxBrushList,
22985 _swigc__p_wxBufferedDC,
22986 _swigc__p_wxBufferedPaintDC,
22987 _swigc__p_wxCURHandler,
22988 _swigc__p_wxChildFocusEvent,
22989 _swigc__p_wxClientDC,
22990 _swigc__p_wxCloseEvent,
22991 _swigc__p_wxColour,
22992 _swigc__p_wxColourDatabase,
22993 _swigc__p_wxCommandEvent,
22994 _swigc__p_wxContextMenuEvent,
22995 _swigc__p_wxControl,
22996 _swigc__p_wxControlWithItems,
22997 _swigc__p_wxCursor,
22998 _swigc__p_wxDC,
22999 _swigc__p_wxDash,
23000 _swigc__p_wxDateEvent,
23001 _swigc__p_wxDisplayChangedEvent,
23002 _swigc__p_wxDropFilesEvent,
23003 _swigc__p_wxDuplexMode,
23004 _swigc__p_wxEffects,
23005 _swigc__p_wxEncodingConverter,
23006 _swigc__p_wxEraseEvent,
23007 _swigc__p_wxEvent,
23008 _swigc__p_wxEvtHandler,
23009 _swigc__p_wxFSFile,
23010 _swigc__p_wxFileSystem,
23011 _swigc__p_wxFlexGridSizer,
23012 _swigc__p_wxFocusEvent,
23013 _swigc__p_wxFont,
23014 _swigc__p_wxFontList,
23015 _swigc__p_wxFontMapper,
23016 _swigc__p_wxGBSizerItem,
23017 _swigc__p_wxGDIObject,
23018 _swigc__p_wxGIFHandler,
23019 _swigc__p_wxGridBagSizer,
23020 _swigc__p_wxGridSizer,
23021 _swigc__p_wxICOHandler,
23022 _swigc__p_wxIcon,
23023 _swigc__p_wxIconBundle,
23024 _swigc__p_wxIconLocation,
23025 _swigc__p_wxIconizeEvent,
23026 _swigc__p_wxIdleEvent,
23027 _swigc__p_wxImage,
23028 _swigc__p_wxImageHandler,
23029 _swigc__p_wxImageList,
23030 _swigc__p_wxIndividualLayoutConstraint,
23031 _swigc__p_wxInitDialogEvent,
23032 _swigc__p_wxJPEGHandler,
23033 _swigc__p_wxKeyEvent,
23034 _swigc__p_wxLanguageInfo,
23035 _swigc__p_wxLayoutConstraints,
23036 _swigc__p_wxLocale,
23037 _swigc__p_wxMask,
23038 _swigc__p_wxMaximizeEvent,
23039 _swigc__p_wxMemoryDC,
23040 _swigc__p_wxMenu,
23041 _swigc__p_wxMenuBar,
23042 _swigc__p_wxMenuEvent,
23043 _swigc__p_wxMenuItem,
23044 _swigc__p_wxMetaFile,
23045 _swigc__p_wxMetaFileDC,
23046 _swigc__p_wxMirrorDC,
23047 _swigc__p_wxMouseCaptureChangedEvent,
23048 _swigc__p_wxMouseEvent,
23049 _swigc__p_wxMoveEvent,
23050 _swigc__p_wxNativeEncodingInfo,
23051 _swigc__p_wxNativeFontInfo,
23052 _swigc__p_wxNavigationKeyEvent,
23053 _swigc__p_wxNcPaintEvent,
23054 _swigc__p_wxNotifyEvent,
23055 _swigc__p_wxObject,
23056 _swigc__p_wxPCXHandler,
23057 _swigc__p_wxPNGHandler,
23058 _swigc__p_wxPNMHandler,
23059 _swigc__p_wxPaintDC,
23060 _swigc__p_wxPaintEvent,
23061 _swigc__p_wxPalette,
23062 _swigc__p_wxPaletteChangedEvent,
23063 _swigc__p_wxPaperSize,
23064 _swigc__p_wxPen,
23065 _swigc__p_wxPenList,
23066 _swigc__p_wxPoint,
23067 _swigc__p_wxPostScriptDC,
23068 _swigc__p_wxPrintData,
23069 _swigc__p_wxPrinterDC,
23070 _swigc__p_wxPyApp,
23071 _swigc__p_wxPyCommandEvent,
23072 _swigc__p_wxPyEvent,
23073 _swigc__p_wxPyFontEnumerator,
23074 _swigc__p_wxPyImageHandler,
23075 _swigc__p_wxPySizer,
23076 _swigc__p_wxPyValidator,
23077 _swigc__p_wxQueryNewPaletteEvent,
23078 _swigc__p_wxRect,
23079 _swigc__p_wxRegion,
23080 _swigc__p_wxRegionIterator,
23081 _swigc__p_wxRendererNative,
23082 _swigc__p_wxRendererVersion,
23083 _swigc__p_wxScreenDC,
23084 _swigc__p_wxScrollEvent,
23085 _swigc__p_wxScrollWinEvent,
23086 _swigc__p_wxSetCursorEvent,
23087 _swigc__p_wxShowEvent,
23088 _swigc__p_wxSize,
23089 _swigc__p_wxSizeEvent,
23090 _swigc__p_wxSizer,
23091 _swigc__p_wxSizerItem,
23092 _swigc__p_wxSplitterRenderParams,
23093 _swigc__p_wxStaticBoxSizer,
23094 _swigc__p_wxStdDialogButtonSizer,
23095 _swigc__p_wxString,
23096 _swigc__p_wxSysColourChangedEvent,
23097 _swigc__p_wxTIFFHandler,
23098 _swigc__p_wxUpdateUIEvent,
23099 _swigc__p_wxValidator,
23100 _swigc__p_wxWindow,
23101 _swigc__p_wxWindowCreateEvent,
23102 _swigc__p_wxWindowDC,
23103 _swigc__p_wxWindowDestroyEvent,
23104 _swigc__p_wxXPMHandler,
23105 _swigc__ptrdiff_t,
23106 _swigc__std__ptrdiff_t,
23107 _swigc__unsigned_int,
d14a1e28
RD
23108};
23109
23110
23111/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
23112
23113static swig_const_info swig_const_table[] = {
c32bde28 23114{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
23115
23116#ifdef __cplusplus
23117}
23118#endif
32fe5131
RD
23119/*************************************************************************
23120 * Type initialization:
23121 * This problem is tough by the requirement that no dynamic
23122 * memory is used. Also, since swig_type_info structures store pointers to
23123 * swig_cast_info structures and swig_cast_info structures store pointers back
23124 * to swig_type_info structures, we need some lookup code at initialization.
23125 * The idea is that swig generates all the structures that are needed.
23126 * The runtime then collects these partially filled structures.
23127 * The SWIG_InitializeModule function takes these initial arrays out of
23128 * swig_module, and does all the lookup, filling in the swig_module.types
23129 * array with the correct data and linking the correct swig_cast_info
23130 * structures together.
23131
23132 * The generated swig_type_info structures are assigned staticly to an initial
23133 * array. We just loop though that array, and handle each type individually.
23134 * First we lookup if this type has been already loaded, and if so, use the
23135 * loaded structure instead of the generated one. Then we have to fill in the
23136 * cast linked list. The cast data is initially stored in something like a
23137 * two-dimensional array. Each row corresponds to a type (there are the same
23138 * number of rows as there are in the swig_type_initial array). Each entry in
23139 * a column is one of the swig_cast_info structures for that type.
23140 * The cast_initial array is actually an array of arrays, because each row has
23141 * a variable number of columns. So to actually build the cast linked list,
23142 * we find the array of casts associated with the type, and loop through it
23143 * adding the casts to the list. The one last trick we need to do is making
23144 * sure the type pointer in the swig_cast_info struct is correct.
23145
23146 * First off, we lookup the cast->type name to see if it is already loaded.
23147 * There are three cases to handle:
23148 * 1) If the cast->type has already been loaded AND the type we are adding
23149 * casting info to has not been loaded (it is in this module), THEN we
23150 * replace the cast->type pointer with the type pointer that has already
23151 * been loaded.
23152 * 2) If BOTH types (the one we are adding casting info to, and the
23153 * cast->type) are loaded, THEN the cast info has already been loaded by
23154 * the previous module so we just ignore it.
23155 * 3) Finally, if cast->type has not already been loaded, then we add that
23156 * swig_cast_info to the linked list (because the cast->type) pointer will
23157 * be correct.
23158**/
23159
23160#ifdef __cplusplus
23161extern "C" {
23162#if 0
23163} /* c-mode */
23164#endif
23165#endif
23166
23167#if 0
23168#define SWIGRUNTIME_DEBUG
23169#endif
23170
23171SWIGRUNTIME void
23172SWIG_InitializeModule(void *clientdata) {
23173 size_t i;
23174 swig_module_info *module_head;
23175 static int init_run = 0;
23176
23177 clientdata = clientdata;
23178
23179 if (init_run) return;
23180 init_run = 1;
23181
23182 /* Initialize the swig_module */
23183 swig_module.type_initial = swig_type_initial;
23184 swig_module.cast_initial = swig_cast_initial;
23185
23186 /* Try and load any already created modules */
23187 module_head = SWIG_GetModule(clientdata);
23188 if (module_head) {
23189 swig_module.next = module_head->next;
23190 module_head->next = &swig_module;
23191 } else {
23192 /* This is the first module loaded */
23193 swig_module.next = &swig_module;
23194 SWIG_SetModule(clientdata, &swig_module);
23195 }
23196
23197 /* Now work on filling in swig_module.types */
23198#ifdef SWIGRUNTIME_DEBUG
23199 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
23200#endif
23201 for (i = 0; i < swig_module.size; ++i) {
23202 swig_type_info *type = 0;
23203 swig_type_info *ret;
23204 swig_cast_info *cast;
23205
23206#ifdef SWIGRUNTIME_DEBUG
23207 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
23208#endif
23209
23210 /* if there is another module already loaded */
23211 if (swig_module.next != &swig_module) {
23212 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
23213 }
23214 if (type) {
23215 /* Overwrite clientdata field */
23216#ifdef SWIGRUNTIME_DEBUG
23217 printf("SWIG_InitializeModule: found type %s\n", type->name);
23218#endif
23219 if (swig_module.type_initial[i]->clientdata) {
23220 type->clientdata = swig_module.type_initial[i]->clientdata;
23221#ifdef SWIGRUNTIME_DEBUG
23222 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
23223#endif
23224 }
23225 } else {
23226 type = swig_module.type_initial[i];
23227 }
23228
23229 /* Insert casting types */
23230 cast = swig_module.cast_initial[i];
23231 while (cast->type) {
23232 /* Don't need to add information already in the list */
23233 ret = 0;
23234#ifdef SWIGRUNTIME_DEBUG
23235 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
23236#endif
23237 if (swig_module.next != &swig_module) {
23238 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
23239#ifdef SWIGRUNTIME_DEBUG
23240 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
23241#endif
23242 }
23243 if (ret) {
23244 if (type == swig_module.type_initial[i]) {
23245#ifdef SWIGRUNTIME_DEBUG
23246 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
23247#endif
23248 cast->type = ret;
23249 ret = 0;
23250 } else {
23251 /* Check for casting already in the list */
23252 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
23253#ifdef SWIGRUNTIME_DEBUG
23254 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
23255#endif
23256 if (!ocast) ret = 0;
23257 }
23258 }
23259
23260 if (!ret) {
23261#ifdef SWIGRUNTIME_DEBUG
23262 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
23263#endif
23264 if (type->cast) {
23265 type->cast->prev = cast;
23266 cast->next = type->cast;
23267 }
23268 type->cast = cast;
23269 }
23270 cast++;
23271 }
23272 /* Set entry in modules->types array equal to the type */
23273 swig_module.types[i] = type;
23274 }
23275 swig_module.types[i] = 0;
23276
23277#ifdef SWIGRUNTIME_DEBUG
23278 printf("**** SWIG_InitializeModule: Cast List ******\n");
23279 for (i = 0; i < swig_module.size; ++i) {
23280 int j = 0;
23281 swig_cast_info *cast = swig_module.cast_initial[i];
23282 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
23283 while (cast->type) {
23284 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
23285 cast++;
23286 ++j;
23287 }
23288 printf("---- Total casts: %d\n",j);
23289 }
23290 printf("**** SWIG_InitializeModule: Cast List ******\n");
23291#endif
23292}
23293
23294/* This function will propagate the clientdata field of type to
23295* any new swig_type_info structures that have been added into the list
23296* of equivalent types. It is like calling
23297* SWIG_TypeClientData(type, clientdata) a second time.
23298*/
23299SWIGRUNTIME void
23300SWIG_PropagateClientData(void) {
23301 size_t i;
23302 swig_cast_info *equiv;
23303 static int init_run = 0;
23304
23305 if (init_run) return;
23306 init_run = 1;
23307
23308 for (i = 0; i < swig_module.size; i++) {
23309 if (swig_module.types[i]->clientdata) {
23310 equiv = swig_module.types[i]->cast;
23311 while (equiv) {
23312 if (!equiv->converter) {
23313 if (equiv->type && !equiv->type->clientdata)
23314 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
23315 }
23316 equiv = equiv->next;
23317 }
23318 }
23319 }
23320}
23321
23322#ifdef __cplusplus
23323#if 0
23324{
23325 /* c-mode */
23326#endif
23327}
23328#endif
23329
d14a1e28 23330
093d3ff1
RD
23331
23332#ifdef __cplusplus
23333extern "C" {
23334#endif
23335
23336 /* Python-specific SWIG API */
23337#define SWIG_newvarlink() SWIG_Python_newvarlink()
23338#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
23339#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
23340
23341 /* -----------------------------------------------------------------------------
23342 * global variable support code.
23343 * ----------------------------------------------------------------------------- */
23344
23345 typedef struct swig_globalvar {
23346 char *name; /* Name of global variable */
32fe5131 23347 PyObject *(*get_attr)(void); /* Return the current value */
093d3ff1
RD
23348 int (*set_attr)(PyObject *); /* Set the value */
23349 struct swig_globalvar *next;
23350 } swig_globalvar;
23351
23352 typedef struct swig_varlinkobject {
23353 PyObject_HEAD
23354 swig_globalvar *vars;
23355 } swig_varlinkobject;
23356
32fe5131 23357 SWIGINTERN PyObject *
093d3ff1
RD
23358 swig_varlink_repr(swig_varlinkobject *v) {
23359 v = v;
23360 return PyString_FromString("<Swig global variables>");
23361 }
23362
32fe5131 23363 SWIGINTERN int
093d3ff1
RD
23364 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
23365 swig_globalvar *var;
23366 flags = flags;
23367 fprintf(fp,"Swig global variables { ");
23368 for (var = v->vars; var; var=var->next) {
23369 fprintf(fp,"%s", var->name);
23370 if (var->next) fprintf(fp,", ");
23371 }
23372 fprintf(fp," }\n");
23373 return 0;
23374 }
23375
32fe5131 23376 SWIGINTERN PyObject *
093d3ff1
RD
23377 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
23378 swig_globalvar *var = v->vars;
23379 while (var) {
23380 if (strcmp(var->name,n) == 0) {
23381 return (*var->get_attr)();
23382 }
23383 var = var->next;
23384 }
23385 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
23386 return NULL;
23387 }
23388
32fe5131 23389 SWIGINTERN int
093d3ff1
RD
23390 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
23391 swig_globalvar *var = v->vars;
23392 while (var) {
23393 if (strcmp(var->name,n) == 0) {
23394 return (*var->set_attr)(p);
23395 }
23396 var = var->next;
23397 }
23398 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
23399 return 1;
23400 }
23401
32fe5131
RD
23402 SWIGINTERN PyTypeObject*
23403 swig_varlink_type(void) {
23404 static char varlink__doc__[] = "Swig var link object";
23405 static PyTypeObject varlink_type
23406#if !defined(__cplusplus)
23407 ;
23408 static int type_init = 0;
23409 if (!type_init) {
23410 PyTypeObject tmp
23411#endif
23412 = {
23413 PyObject_HEAD_INIT(&PyType_Type)
23414 0, /* Number of items in variable part (ob_size) */
23415 (char *)"swigvarlink", /* Type name (tp_name) */
23416 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
23417 0, /* Itemsize (tp_itemsize) */
23418 0, /* Deallocator (tp_dealloc) */
23419 (printfunc) swig_varlink_print, /* Print (tp_print) */
23420 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
23421 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
23422 0, /* tp_compare */
23423 (reprfunc) swig_varlink_repr, /* tp_repr */
23424 0, /* tp_as_number */
23425 0, /* tp_as_sequence */
23426 0, /* tp_as_mapping */
23427 0, /* tp_hash */
23428 0, /* tp_call */
23429 0, /* tp_str */
23430 0, /* tp_getattro */
23431 0, /* tp_setattro */
23432 0, /* tp_as_buffer */
23433 0, /* tp_flags */
23434 varlink__doc__, /* tp_doc */
093d3ff1 23435#if PY_VERSION_HEX >= 0x02000000
32fe5131
RD
23436 0, /* tp_traverse */
23437 0, /* tp_clear */
093d3ff1
RD
23438#endif
23439#if PY_VERSION_HEX >= 0x02010000
32fe5131
RD
23440 0, /* tp_richcompare */
23441 0, /* tp_weaklistoffset */
093d3ff1
RD
23442#endif
23443#if PY_VERSION_HEX >= 0x02020000
32fe5131 23444 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
093d3ff1
RD
23445#endif
23446#if PY_VERSION_HEX >= 0x02030000
32fe5131 23447 0, /* tp_del */
093d3ff1
RD
23448#endif
23449#ifdef COUNT_ALLOCS
32fe5131 23450 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 23451#endif
32fe5131
RD
23452 };
23453#if !defined(__cplusplus)
23454 varlink_type = tmp;
23455 type_init = 1;
23456 }
23457#endif
23458 return &varlink_type;
23459 }
093d3ff1
RD
23460
23461 /* Create a variable linking object for use later */
32fe5131 23462 SWIGINTERN PyObject *
093d3ff1 23463 SWIG_Python_newvarlink(void) {
32fe5131
RD
23464 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
23465 if (result) {
23466 result->vars = 0;
23467 }
093d3ff1
RD
23468 return ((PyObject*) result);
23469 }
23470
32fe5131 23471 SWIGINTERN void
093d3ff1 23472 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
32fe5131
RD
23473 swig_varlinkobject *v = (swig_varlinkobject *) p;
23474 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
23475 if (gv) {
23476 size_t size = strlen(name)+1;
23477 gv->name = (char *)malloc(size);
23478 if (gv->name) {
23479 strncpy(gv->name,name,size);
23480 gv->get_attr = get_attr;
23481 gv->set_attr = set_attr;
23482 gv->next = v->vars;
23483 }
23484 }
093d3ff1
RD
23485 v->vars = gv;
23486 }
23487
23488 /* -----------------------------------------------------------------------------
23489 * constants/methods manipulation
23490 * ----------------------------------------------------------------------------- */
23491
23492 /* Install Constants */
32fe5131 23493 SWIGINTERN void
093d3ff1
RD
23494 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
23495 PyObject *obj = 0;
23496 size_t i;
32fe5131 23497 for (i = 0; constants[i].type; ++i) {
093d3ff1
RD
23498 switch(constants[i].type) {
23499 case SWIG_PY_INT:
23500 obj = PyInt_FromLong(constants[i].lvalue);
23501 break;
23502 case SWIG_PY_FLOAT:
23503 obj = PyFloat_FromDouble(constants[i].dvalue);
23504 break;
23505 case SWIG_PY_STRING:
23506 if (constants[i].pvalue) {
23507 obj = PyString_FromString((char *) constants[i].pvalue);
23508 } else {
23509 Py_INCREF(Py_None);
23510 obj = Py_None;
23511 }
23512 break;
23513 case SWIG_PY_POINTER:
23514 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
23515 break;
23516 case SWIG_PY_BINARY:
23517 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
23518 break;
23519 default:
23520 obj = 0;
23521 break;
23522 }
23523 if (obj) {
23524 PyDict_SetItemString(d,constants[i].name,obj);
23525 Py_DECREF(obj);
23526 }
23527 }
23528 }
23529
23530 /* -----------------------------------------------------------------------------*/
23531 /* Fix SwigMethods to carry the callback ptrs when needed */
23532 /* -----------------------------------------------------------------------------*/
23533
32fe5131 23534 SWIGINTERN void
093d3ff1
RD
23535 SWIG_Python_FixMethods(PyMethodDef *methods,
23536 swig_const_info *const_table,
23537 swig_type_info **types,
23538 swig_type_info **types_initial) {
23539 size_t i;
23540 for (i = 0; methods[i].ml_name; ++i) {
23541 char *c = methods[i].ml_doc;
23542 if (c && (c = strstr(c, "swig_ptr: "))) {
23543 int j;
23544 swig_const_info *ci = 0;
23545 char *name = c + 10;
32fe5131 23546 for (j = 0; const_table[j].type; ++j) {
093d3ff1
RD
23547 if (strncmp(const_table[j].name, name,
23548 strlen(const_table[j].name)) == 0) {
23549 ci = &(const_table[j]);
23550 break;
23551 }
23552 }
23553 if (ci) {
23554 size_t shift = (ci->ptype) - types;
23555 swig_type_info *ty = types_initial[shift];
23556 size_t ldoc = (c - methods[i].ml_doc);
23557 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
23558 char *ndoc = (char*)malloc(ldoc + lptr + 10);
32fe5131
RD
23559 if (ndoc) {
23560 char *buff = ndoc;
23561 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
23562 if (ptr) {
23563 strncpy(buff, methods[i].ml_doc, ldoc);
23564 buff += ldoc;
23565 strncpy(buff, "swig_ptr: ", 10);
23566 buff += 10;
23567 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
23568 methods[i].ml_doc = ndoc;
23569 }
23570 }
093d3ff1
RD
23571 }
23572 }
23573 }
23574 }
23575
23576 /* -----------------------------------------------------------------------------*
23577 * Initialize type list
23578 * -----------------------------------------------------------------------------*/
23579
093d3ff1
RD
23580#ifdef __cplusplus
23581}
23582#endif
23583
23584/* -----------------------------------------------------------------------------*
23585 * Partial Init method
23586 * -----------------------------------------------------------------------------*/
23587
d14a1e28
RD
23588#ifdef __cplusplus
23589extern "C"
23590#endif
32fe5131 23591SWIGEXPORT void SWIG_init(void) {
d14a1e28 23592 static PyObject *SWIG_globals = 0;
d14a1e28 23593 PyObject *m, *d;
d14a1e28 23594 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
23595
23596 /* Fix SwigMethods to carry the callback ptrs when needed */
32fe5131 23597 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
093d3ff1 23598
d14a1e28
RD
23599 m = Py_InitModule((char *) SWIG_name, SwigMethods);
23600 d = PyModule_GetDict(m);
23601
32fe5131 23602 SWIG_InitializeModule(0);
d14a1e28
RD
23603 SWIG_InstallConstants(d,swig_const_table);
23604
093d3ff1 23605 {
32fe5131 23606 PyDict_SetItemString(d,"OutRegion", SWIG_From_int(static_cast<int >(wxOutRegion)));
093d3ff1
RD
23607 }
23608 {
32fe5131 23609 PyDict_SetItemString(d,"PartRegion", SWIG_From_int(static_cast<int >(wxPartRegion)));
093d3ff1
RD
23610 }
23611 {
32fe5131 23612 PyDict_SetItemString(d,"InRegion", SWIG_From_int(static_cast<int >(wxInRegion)));
093d3ff1
RD
23613 }
23614 {
32fe5131 23615 PyDict_SetItemString(d,"FONTFAMILY_DEFAULT", SWIG_From_int(static_cast<int >(wxFONTFAMILY_DEFAULT)));
093d3ff1
RD
23616 }
23617 {
32fe5131 23618 PyDict_SetItemString(d,"FONTFAMILY_DECORATIVE", SWIG_From_int(static_cast<int >(wxFONTFAMILY_DECORATIVE)));
093d3ff1
RD
23619 }
23620 {
32fe5131 23621 PyDict_SetItemString(d,"FONTFAMILY_ROMAN", SWIG_From_int(static_cast<int >(wxFONTFAMILY_ROMAN)));
093d3ff1
RD
23622 }
23623 {
32fe5131 23624 PyDict_SetItemString(d,"FONTFAMILY_SCRIPT", SWIG_From_int(static_cast<int >(wxFONTFAMILY_SCRIPT)));
093d3ff1
RD
23625 }
23626 {
32fe5131 23627 PyDict_SetItemString(d,"FONTFAMILY_SWISS", SWIG_From_int(static_cast<int >(wxFONTFAMILY_SWISS)));
093d3ff1
RD
23628 }
23629 {
32fe5131 23630 PyDict_SetItemString(d,"FONTFAMILY_MODERN", SWIG_From_int(static_cast<int >(wxFONTFAMILY_MODERN)));
093d3ff1
RD
23631 }
23632 {
32fe5131 23633 PyDict_SetItemString(d,"FONTFAMILY_TELETYPE", SWIG_From_int(static_cast<int >(wxFONTFAMILY_TELETYPE)));
093d3ff1
RD
23634 }
23635 {
32fe5131 23636 PyDict_SetItemString(d,"FONTFAMILY_MAX", SWIG_From_int(static_cast<int >(wxFONTFAMILY_MAX)));
093d3ff1
RD
23637 }
23638 {
32fe5131 23639 PyDict_SetItemString(d,"FONTFAMILY_UNKNOWN", SWIG_From_int(static_cast<int >(wxFONTFAMILY_UNKNOWN)));
093d3ff1
RD
23640 }
23641 {
32fe5131 23642 PyDict_SetItemString(d,"FONTSTYLE_NORMAL", SWIG_From_int(static_cast<int >(wxFONTSTYLE_NORMAL)));
093d3ff1
RD
23643 }
23644 {
32fe5131 23645 PyDict_SetItemString(d,"FONTSTYLE_ITALIC", SWIG_From_int(static_cast<int >(wxFONTSTYLE_ITALIC)));
093d3ff1
RD
23646 }
23647 {
32fe5131 23648 PyDict_SetItemString(d,"FONTSTYLE_SLANT", SWIG_From_int(static_cast<int >(wxFONTSTYLE_SLANT)));
093d3ff1
RD
23649 }
23650 {
32fe5131 23651 PyDict_SetItemString(d,"FONTSTYLE_MAX", SWIG_From_int(static_cast<int >(wxFONTSTYLE_MAX)));
093d3ff1
RD
23652 }
23653 {
32fe5131 23654 PyDict_SetItemString(d,"FONTWEIGHT_NORMAL", SWIG_From_int(static_cast<int >(wxFONTWEIGHT_NORMAL)));
093d3ff1
RD
23655 }
23656 {
32fe5131 23657 PyDict_SetItemString(d,"FONTWEIGHT_LIGHT", SWIG_From_int(static_cast<int >(wxFONTWEIGHT_LIGHT)));
093d3ff1
RD
23658 }
23659 {
32fe5131 23660 PyDict_SetItemString(d,"FONTWEIGHT_BOLD", SWIG_From_int(static_cast<int >(wxFONTWEIGHT_BOLD)));
093d3ff1
RD
23661 }
23662 {
32fe5131 23663 PyDict_SetItemString(d,"FONTWEIGHT_MAX", SWIG_From_int(static_cast<int >(wxFONTWEIGHT_MAX)));
093d3ff1
RD
23664 }
23665 {
32fe5131 23666 PyDict_SetItemString(d,"FONTFLAG_DEFAULT", SWIG_From_int(static_cast<int >(wxFONTFLAG_DEFAULT)));
093d3ff1
RD
23667 }
23668 {
32fe5131 23669 PyDict_SetItemString(d,"FONTFLAG_ITALIC", SWIG_From_int(static_cast<int >(wxFONTFLAG_ITALIC)));
093d3ff1
RD
23670 }
23671 {
32fe5131 23672 PyDict_SetItemString(d,"FONTFLAG_SLANT", SWIG_From_int(static_cast<int >(wxFONTFLAG_SLANT)));
093d3ff1
RD
23673 }
23674 {
32fe5131 23675 PyDict_SetItemString(d,"FONTFLAG_LIGHT", SWIG_From_int(static_cast<int >(wxFONTFLAG_LIGHT)));
093d3ff1
RD
23676 }
23677 {
32fe5131 23678 PyDict_SetItemString(d,"FONTFLAG_BOLD", SWIG_From_int(static_cast<int >(wxFONTFLAG_BOLD)));
093d3ff1
RD
23679 }
23680 {
32fe5131 23681 PyDict_SetItemString(d,"FONTFLAG_ANTIALIASED", SWIG_From_int(static_cast<int >(wxFONTFLAG_ANTIALIASED)));
093d3ff1
RD
23682 }
23683 {
32fe5131 23684 PyDict_SetItemString(d,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int(static_cast<int >(wxFONTFLAG_NOT_ANTIALIASED)));
093d3ff1
RD
23685 }
23686 {
32fe5131 23687 PyDict_SetItemString(d,"FONTFLAG_UNDERLINED", SWIG_From_int(static_cast<int >(wxFONTFLAG_UNDERLINED)));
093d3ff1
RD
23688 }
23689 {
32fe5131 23690 PyDict_SetItemString(d,"FONTFLAG_STRIKETHROUGH", SWIG_From_int(static_cast<int >(wxFONTFLAG_STRIKETHROUGH)));
093d3ff1
RD
23691 }
23692 {
32fe5131 23693 PyDict_SetItemString(d,"FONTFLAG_MASK", SWIG_From_int(static_cast<int >(wxFONTFLAG_MASK)));
093d3ff1
RD
23694 }
23695 {
32fe5131 23696 PyDict_SetItemString(d,"FONTENCODING_SYSTEM", SWIG_From_int(static_cast<int >(wxFONTENCODING_SYSTEM)));
093d3ff1
RD
23697 }
23698 {
32fe5131 23699 PyDict_SetItemString(d,"FONTENCODING_DEFAULT", SWIG_From_int(static_cast<int >(wxFONTENCODING_DEFAULT)));
093d3ff1
RD
23700 }
23701 {
32fe5131 23702 PyDict_SetItemString(d,"FONTENCODING_ISO8859_1", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_1)));
093d3ff1
RD
23703 }
23704 {
32fe5131 23705 PyDict_SetItemString(d,"FONTENCODING_ISO8859_2", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_2)));
093d3ff1
RD
23706 }
23707 {
32fe5131 23708 PyDict_SetItemString(d,"FONTENCODING_ISO8859_3", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_3)));
093d3ff1
RD
23709 }
23710 {
32fe5131 23711 PyDict_SetItemString(d,"FONTENCODING_ISO8859_4", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_4)));
093d3ff1
RD
23712 }
23713 {
32fe5131 23714 PyDict_SetItemString(d,"FONTENCODING_ISO8859_5", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_5)));
093d3ff1
RD
23715 }
23716 {
32fe5131 23717 PyDict_SetItemString(d,"FONTENCODING_ISO8859_6", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_6)));
093d3ff1
RD
23718 }
23719 {
32fe5131 23720 PyDict_SetItemString(d,"FONTENCODING_ISO8859_7", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_7)));
093d3ff1
RD
23721 }
23722 {
32fe5131 23723 PyDict_SetItemString(d,"FONTENCODING_ISO8859_8", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_8)));
093d3ff1
RD
23724 }
23725 {
32fe5131 23726 PyDict_SetItemString(d,"FONTENCODING_ISO8859_9", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_9)));
093d3ff1
RD
23727 }
23728 {
32fe5131 23729 PyDict_SetItemString(d,"FONTENCODING_ISO8859_10", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_10)));
093d3ff1
RD
23730 }
23731 {
32fe5131 23732 PyDict_SetItemString(d,"FONTENCODING_ISO8859_11", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_11)));
093d3ff1
RD
23733 }
23734 {
32fe5131 23735 PyDict_SetItemString(d,"FONTENCODING_ISO8859_12", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_12)));
093d3ff1
RD
23736 }
23737 {
32fe5131 23738 PyDict_SetItemString(d,"FONTENCODING_ISO8859_13", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_13)));
093d3ff1
RD
23739 }
23740 {
32fe5131 23741 PyDict_SetItemString(d,"FONTENCODING_ISO8859_14", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_14)));
093d3ff1
RD
23742 }
23743 {
32fe5131 23744 PyDict_SetItemString(d,"FONTENCODING_ISO8859_15", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_15)));
093d3ff1
RD
23745 }
23746 {
32fe5131 23747 PyDict_SetItemString(d,"FONTENCODING_ISO8859_MAX", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_MAX)));
093d3ff1
RD
23748 }
23749 {
32fe5131 23750 PyDict_SetItemString(d,"FONTENCODING_KOI8", SWIG_From_int(static_cast<int >(wxFONTENCODING_KOI8)));
093d3ff1
RD
23751 }
23752 {
32fe5131 23753 PyDict_SetItemString(d,"FONTENCODING_KOI8_U", SWIG_From_int(static_cast<int >(wxFONTENCODING_KOI8_U)));
093d3ff1
RD
23754 }
23755 {
32fe5131 23756 PyDict_SetItemString(d,"FONTENCODING_ALTERNATIVE", SWIG_From_int(static_cast<int >(wxFONTENCODING_ALTERNATIVE)));
093d3ff1
RD
23757 }
23758 {
32fe5131 23759 PyDict_SetItemString(d,"FONTENCODING_BULGARIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_BULGARIAN)));
093d3ff1
RD
23760 }
23761 {
32fe5131 23762 PyDict_SetItemString(d,"FONTENCODING_CP437", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP437)));
093d3ff1
RD
23763 }
23764 {
32fe5131 23765 PyDict_SetItemString(d,"FONTENCODING_CP850", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP850)));
093d3ff1
RD
23766 }
23767 {
32fe5131 23768 PyDict_SetItemString(d,"FONTENCODING_CP852", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP852)));
093d3ff1
RD
23769 }
23770 {
32fe5131 23771 PyDict_SetItemString(d,"FONTENCODING_CP855", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP855)));
093d3ff1
RD
23772 }
23773 {
32fe5131 23774 PyDict_SetItemString(d,"FONTENCODING_CP866", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP866)));
093d3ff1
RD
23775 }
23776 {
32fe5131 23777 PyDict_SetItemString(d,"FONTENCODING_CP874", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP874)));
093d3ff1
RD
23778 }
23779 {
32fe5131 23780 PyDict_SetItemString(d,"FONTENCODING_CP932", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP932)));
093d3ff1
RD
23781 }
23782 {
32fe5131 23783 PyDict_SetItemString(d,"FONTENCODING_CP936", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP936)));
093d3ff1
RD
23784 }
23785 {
32fe5131 23786 PyDict_SetItemString(d,"FONTENCODING_CP949", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP949)));
093d3ff1
RD
23787 }
23788 {
32fe5131 23789 PyDict_SetItemString(d,"FONTENCODING_CP950", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP950)));
093d3ff1
RD
23790 }
23791 {
32fe5131 23792 PyDict_SetItemString(d,"FONTENCODING_CP1250", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1250)));
093d3ff1
RD
23793 }
23794 {
32fe5131 23795 PyDict_SetItemString(d,"FONTENCODING_CP1251", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1251)));
093d3ff1
RD
23796 }
23797 {
32fe5131 23798 PyDict_SetItemString(d,"FONTENCODING_CP1252", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1252)));
093d3ff1
RD
23799 }
23800 {
32fe5131 23801 PyDict_SetItemString(d,"FONTENCODING_CP1253", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1253)));
093d3ff1
RD
23802 }
23803 {
32fe5131 23804 PyDict_SetItemString(d,"FONTENCODING_CP1254", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1254)));
093d3ff1
RD
23805 }
23806 {
32fe5131 23807 PyDict_SetItemString(d,"FONTENCODING_CP1255", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1255)));
093d3ff1
RD
23808 }
23809 {
32fe5131 23810 PyDict_SetItemString(d,"FONTENCODING_CP1256", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1256)));
093d3ff1
RD
23811 }
23812 {
32fe5131 23813 PyDict_SetItemString(d,"FONTENCODING_CP1257", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1257)));
093d3ff1
RD
23814 }
23815 {
32fe5131 23816 PyDict_SetItemString(d,"FONTENCODING_CP12_MAX", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP12_MAX)));
093d3ff1
RD
23817 }
23818 {
32fe5131 23819 PyDict_SetItemString(d,"FONTENCODING_UTF7", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF7)));
093d3ff1
RD
23820 }
23821 {
32fe5131 23822 PyDict_SetItemString(d,"FONTENCODING_UTF8", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF8)));
093d3ff1
RD
23823 }
23824 {
32fe5131 23825 PyDict_SetItemString(d,"FONTENCODING_EUC_JP", SWIG_From_int(static_cast<int >(wxFONTENCODING_EUC_JP)));
093d3ff1
RD
23826 }
23827 {
32fe5131 23828 PyDict_SetItemString(d,"FONTENCODING_UTF16BE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF16BE)));
093d3ff1
RD
23829 }
23830 {
32fe5131 23831 PyDict_SetItemString(d,"FONTENCODING_UTF16LE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF16LE)));
093d3ff1
RD
23832 }
23833 {
32fe5131 23834 PyDict_SetItemString(d,"FONTENCODING_UTF32BE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF32BE)));
093d3ff1
RD
23835 }
23836 {
32fe5131 23837 PyDict_SetItemString(d,"FONTENCODING_UTF32LE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF32LE)));
093d3ff1
RD
23838 }
23839 {
32fe5131 23840 PyDict_SetItemString(d,"FONTENCODING_MACROMAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACROMAN)));
093d3ff1
RD
23841 }
23842 {
32fe5131 23843 PyDict_SetItemString(d,"FONTENCODING_MACJAPANESE", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACJAPANESE)));
093d3ff1
RD
23844 }
23845 {
32fe5131 23846 PyDict_SetItemString(d,"FONTENCODING_MACCHINESETRAD", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCHINESETRAD)));
093d3ff1
RD
23847 }
23848 {
32fe5131 23849 PyDict_SetItemString(d,"FONTENCODING_MACKOREAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACKOREAN)));
093d3ff1
RD
23850 }
23851 {
32fe5131 23852 PyDict_SetItemString(d,"FONTENCODING_MACARABIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACARABIC)));
093d3ff1
RD
23853 }
23854 {
32fe5131 23855 PyDict_SetItemString(d,"FONTENCODING_MACHEBREW", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACHEBREW)));
093d3ff1
RD
23856 }
23857 {
32fe5131 23858 PyDict_SetItemString(d,"FONTENCODING_MACGREEK", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGREEK)));
093d3ff1
RD
23859 }
23860 {
32fe5131 23861 PyDict_SetItemString(d,"FONTENCODING_MACCYRILLIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCYRILLIC)));
093d3ff1
RD
23862 }
23863 {
32fe5131 23864 PyDict_SetItemString(d,"FONTENCODING_MACDEVANAGARI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACDEVANAGARI)));
093d3ff1
RD
23865 }
23866 {
32fe5131 23867 PyDict_SetItemString(d,"FONTENCODING_MACGURMUKHI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGURMUKHI)));
093d3ff1
RD
23868 }
23869 {
32fe5131 23870 PyDict_SetItemString(d,"FONTENCODING_MACGUJARATI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGUJARATI)));
093d3ff1
RD
23871 }
23872 {
32fe5131 23873 PyDict_SetItemString(d,"FONTENCODING_MACORIYA", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACORIYA)));
093d3ff1
RD
23874 }
23875 {
32fe5131 23876 PyDict_SetItemString(d,"FONTENCODING_MACBENGALI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACBENGALI)));
093d3ff1
RD
23877 }
23878 {
32fe5131 23879 PyDict_SetItemString(d,"FONTENCODING_MACTAMIL", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTAMIL)));
093d3ff1
RD
23880 }
23881 {
32fe5131 23882 PyDict_SetItemString(d,"FONTENCODING_MACTELUGU", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTELUGU)));
093d3ff1
RD
23883 }
23884 {
32fe5131 23885 PyDict_SetItemString(d,"FONTENCODING_MACKANNADA", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACKANNADA)));
093d3ff1
RD
23886 }
23887 {
32fe5131 23888 PyDict_SetItemString(d,"FONTENCODING_MACMALAJALAM", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACMALAJALAM)));
093d3ff1
RD
23889 }
23890 {
32fe5131 23891 PyDict_SetItemString(d,"FONTENCODING_MACSINHALESE", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACSINHALESE)));
093d3ff1
RD
23892 }
23893 {
32fe5131 23894 PyDict_SetItemString(d,"FONTENCODING_MACBURMESE", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACBURMESE)));
093d3ff1
RD
23895 }
23896 {
32fe5131 23897 PyDict_SetItemString(d,"FONTENCODING_MACKHMER", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACKHMER)));
093d3ff1
RD
23898 }
23899 {
32fe5131 23900 PyDict_SetItemString(d,"FONTENCODING_MACTHAI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTHAI)));
093d3ff1
RD
23901 }
23902 {
32fe5131 23903 PyDict_SetItemString(d,"FONTENCODING_MACLAOTIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACLAOTIAN)));
093d3ff1
RD
23904 }
23905 {
32fe5131 23906 PyDict_SetItemString(d,"FONTENCODING_MACGEORGIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGEORGIAN)));
093d3ff1
RD
23907 }
23908 {
32fe5131 23909 PyDict_SetItemString(d,"FONTENCODING_MACARMENIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACARMENIAN)));
093d3ff1
RD
23910 }
23911 {
32fe5131 23912 PyDict_SetItemString(d,"FONTENCODING_MACCHINESESIMP", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCHINESESIMP)));
093d3ff1
RD
23913 }
23914 {
32fe5131 23915 PyDict_SetItemString(d,"FONTENCODING_MACTIBETAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTIBETAN)));
093d3ff1
RD
23916 }
23917 {
32fe5131 23918 PyDict_SetItemString(d,"FONTENCODING_MACMONGOLIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACMONGOLIAN)));
093d3ff1
RD
23919 }
23920 {
32fe5131 23921 PyDict_SetItemString(d,"FONTENCODING_MACETHIOPIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACETHIOPIC)));
093d3ff1
RD
23922 }
23923 {
32fe5131 23924 PyDict_SetItemString(d,"FONTENCODING_MACCENTRALEUR", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCENTRALEUR)));
093d3ff1
RD
23925 }
23926 {
32fe5131 23927 PyDict_SetItemString(d,"FONTENCODING_MACVIATNAMESE", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACVIATNAMESE)));
093d3ff1
RD
23928 }
23929 {
32fe5131 23930 PyDict_SetItemString(d,"FONTENCODING_MACARABICEXT", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACARABICEXT)));
093d3ff1
RD
23931 }
23932 {
32fe5131 23933 PyDict_SetItemString(d,"FONTENCODING_MACSYMBOL", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACSYMBOL)));
093d3ff1
RD
23934 }
23935 {
32fe5131 23936 PyDict_SetItemString(d,"FONTENCODING_MACDINGBATS", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACDINGBATS)));
093d3ff1
RD
23937 }
23938 {
32fe5131 23939 PyDict_SetItemString(d,"FONTENCODING_MACTURKISH", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTURKISH)));
093d3ff1
RD
23940 }
23941 {
32fe5131 23942 PyDict_SetItemString(d,"FONTENCODING_MACCROATIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCROATIAN)));
093d3ff1
RD
23943 }
23944 {
32fe5131 23945 PyDict_SetItemString(d,"FONTENCODING_MACICELANDIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACICELANDIC)));
093d3ff1
RD
23946 }
23947 {
32fe5131 23948 PyDict_SetItemString(d,"FONTENCODING_MACROMANIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACROMANIAN)));
093d3ff1
RD
23949 }
23950 {
32fe5131 23951 PyDict_SetItemString(d,"FONTENCODING_MACCELTIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCELTIC)));
093d3ff1
RD
23952 }
23953 {
32fe5131 23954 PyDict_SetItemString(d,"FONTENCODING_MACGAELIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGAELIC)));
093d3ff1
RD
23955 }
23956 {
32fe5131 23957 PyDict_SetItemString(d,"FONTENCODING_MACKEYBOARD", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACKEYBOARD)));
093d3ff1
RD
23958 }
23959 {
32fe5131 23960 PyDict_SetItemString(d,"FONTENCODING_MACMIN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACMIN)));
093d3ff1
RD
23961 }
23962 {
32fe5131 23963 PyDict_SetItemString(d,"FONTENCODING_MACMAX", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACMAX)));
093d3ff1
RD
23964 }
23965 {
32fe5131 23966 PyDict_SetItemString(d,"FONTENCODING_MAX", SWIG_From_int(static_cast<int >(wxFONTENCODING_MAX)));
093d3ff1
RD
23967 }
23968 {
32fe5131 23969 PyDict_SetItemString(d,"FONTENCODING_UTF16", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF16)));
093d3ff1
RD
23970 }
23971 {
32fe5131 23972 PyDict_SetItemString(d,"FONTENCODING_UTF32", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF32)));
093d3ff1
RD
23973 }
23974 {
32fe5131 23975 PyDict_SetItemString(d,"FONTENCODING_UNICODE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UNICODE)));
093d3ff1
RD
23976 }
23977 {
32fe5131 23978 PyDict_SetItemString(d,"FONTENCODING_GB2312", SWIG_From_int(static_cast<int >(wxFONTENCODING_GB2312)));
093d3ff1
RD
23979 }
23980 {
32fe5131 23981 PyDict_SetItemString(d,"FONTENCODING_BIG5", SWIG_From_int(static_cast<int >(wxFONTENCODING_BIG5)));
093d3ff1
RD
23982 }
23983 {
32fe5131 23984 PyDict_SetItemString(d,"FONTENCODING_SHIFT_JIS", SWIG_From_int(static_cast<int >(wxFONTENCODING_SHIFT_JIS)));
093d3ff1
RD
23985 }
23986
23987 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
23988
23989 {
32fe5131 23990 PyDict_SetItemString(d,"LANGUAGE_DEFAULT", SWIG_From_int(static_cast<int >(wxLANGUAGE_DEFAULT)));
093d3ff1
RD
23991 }
23992 {
32fe5131 23993 PyDict_SetItemString(d,"LANGUAGE_UNKNOWN", SWIG_From_int(static_cast<int >(wxLANGUAGE_UNKNOWN)));
093d3ff1
RD
23994 }
23995 {
32fe5131 23996 PyDict_SetItemString(d,"LANGUAGE_ABKHAZIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ABKHAZIAN)));
093d3ff1
RD
23997 }
23998 {
32fe5131 23999 PyDict_SetItemString(d,"LANGUAGE_AFAR", SWIG_From_int(static_cast<int >(wxLANGUAGE_AFAR)));
093d3ff1
RD
24000 }
24001 {
32fe5131 24002 PyDict_SetItemString(d,"LANGUAGE_AFRIKAANS", SWIG_From_int(static_cast<int >(wxLANGUAGE_AFRIKAANS)));
093d3ff1
RD
24003 }
24004 {
32fe5131 24005 PyDict_SetItemString(d,"LANGUAGE_ALBANIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ALBANIAN)));
093d3ff1
RD
24006 }
24007 {
32fe5131 24008 PyDict_SetItemString(d,"LANGUAGE_AMHARIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_AMHARIC)));
093d3ff1
RD
24009 }
24010 {
32fe5131 24011 PyDict_SetItemString(d,"LANGUAGE_ARABIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC)));
093d3ff1
RD
24012 }
24013 {
32fe5131 24014 PyDict_SetItemString(d,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_ALGERIA)));
093d3ff1
RD
24015 }
24016 {
32fe5131 24017 PyDict_SetItemString(d,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_BAHRAIN)));
093d3ff1
RD
24018 }
24019 {
32fe5131 24020 PyDict_SetItemString(d,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_EGYPT)));
093d3ff1
RD
24021 }
24022 {
32fe5131 24023 PyDict_SetItemString(d,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_IRAQ)));
093d3ff1
RD
24024 }
24025 {
32fe5131 24026 PyDict_SetItemString(d,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_JORDAN)));
093d3ff1
RD
24027 }
24028 {
32fe5131 24029 PyDict_SetItemString(d,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_KUWAIT)));
093d3ff1
RD
24030 }
24031 {
32fe5131 24032 PyDict_SetItemString(d,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_LEBANON)));
093d3ff1
RD
24033 }
24034 {
32fe5131 24035 PyDict_SetItemString(d,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_LIBYA)));
093d3ff1
RD
24036 }
24037 {
32fe5131 24038 PyDict_SetItemString(d,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_MOROCCO)));
093d3ff1
RD
24039 }
24040 {
32fe5131 24041 PyDict_SetItemString(d,"LANGUAGE_ARABIC_OMAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_OMAN)));
093d3ff1
RD
24042 }
24043 {
32fe5131 24044 PyDict_SetItemString(d,"LANGUAGE_ARABIC_QATAR", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_QATAR)));
093d3ff1
RD
24045 }
24046 {
32fe5131 24047 PyDict_SetItemString(d,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA)));
093d3ff1
RD
24048 }
24049 {
32fe5131 24050 PyDict_SetItemString(d,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_SUDAN)));
093d3ff1
RD
24051 }
24052 {
32fe5131 24053 PyDict_SetItemString(d,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_SYRIA)));
093d3ff1
RD
24054 }
24055 {
32fe5131 24056 PyDict_SetItemString(d,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_TUNISIA)));
093d3ff1
RD
24057 }
24058 {
32fe5131 24059 PyDict_SetItemString(d,"LANGUAGE_ARABIC_UAE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_UAE)));
093d3ff1
RD
24060 }
24061 {
32fe5131 24062 PyDict_SetItemString(d,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_YEMEN)));
093d3ff1
RD
24063 }
24064 {
32fe5131 24065 PyDict_SetItemString(d,"LANGUAGE_ARMENIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARMENIAN)));
093d3ff1
RD
24066 }
24067 {
32fe5131 24068 PyDict_SetItemString(d,"LANGUAGE_ASSAMESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ASSAMESE)));
093d3ff1
RD
24069 }
24070 {
32fe5131 24071 PyDict_SetItemString(d,"LANGUAGE_AYMARA", SWIG_From_int(static_cast<int >(wxLANGUAGE_AYMARA)));
093d3ff1
RD
24072 }
24073 {
32fe5131 24074 PyDict_SetItemString(d,"LANGUAGE_AZERI", SWIG_From_int(static_cast<int >(wxLANGUAGE_AZERI)));
093d3ff1
RD
24075 }
24076 {
32fe5131 24077 PyDict_SetItemString(d,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_AZERI_CYRILLIC)));
093d3ff1
RD
24078 }
24079 {
32fe5131 24080 PyDict_SetItemString(d,"LANGUAGE_AZERI_LATIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_AZERI_LATIN)));
093d3ff1
RD
24081 }
24082 {
32fe5131 24083 PyDict_SetItemString(d,"LANGUAGE_BASHKIR", SWIG_From_int(static_cast<int >(wxLANGUAGE_BASHKIR)));
093d3ff1
RD
24084 }
24085 {
32fe5131 24086 PyDict_SetItemString(d,"LANGUAGE_BASQUE", SWIG_From_int(static_cast<int >(wxLANGUAGE_BASQUE)));
093d3ff1
RD
24087 }
24088 {
32fe5131 24089 PyDict_SetItemString(d,"LANGUAGE_BELARUSIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_BELARUSIAN)));
093d3ff1
RD
24090 }
24091 {
32fe5131 24092 PyDict_SetItemString(d,"LANGUAGE_BENGALI", SWIG_From_int(static_cast<int >(wxLANGUAGE_BENGALI)));
093d3ff1
RD
24093 }
24094 {
32fe5131 24095 PyDict_SetItemString(d,"LANGUAGE_BHUTANI", SWIG_From_int(static_cast<int >(wxLANGUAGE_BHUTANI)));
093d3ff1
RD
24096 }
24097 {
32fe5131 24098 PyDict_SetItemString(d,"LANGUAGE_BIHARI", SWIG_From_int(static_cast<int >(wxLANGUAGE_BIHARI)));
093d3ff1
RD
24099 }
24100 {
32fe5131 24101 PyDict_SetItemString(d,"LANGUAGE_BISLAMA", SWIG_From_int(static_cast<int >(wxLANGUAGE_BISLAMA)));
093d3ff1
RD
24102 }
24103 {
32fe5131 24104 PyDict_SetItemString(d,"LANGUAGE_BRETON", SWIG_From_int(static_cast<int >(wxLANGUAGE_BRETON)));
093d3ff1
RD
24105 }
24106 {
32fe5131 24107 PyDict_SetItemString(d,"LANGUAGE_BULGARIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_BULGARIAN)));
093d3ff1
RD
24108 }
24109 {
32fe5131 24110 PyDict_SetItemString(d,"LANGUAGE_BURMESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_BURMESE)));
093d3ff1
RD
24111 }
24112 {
32fe5131 24113 PyDict_SetItemString(d,"LANGUAGE_CAMBODIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CAMBODIAN)));
093d3ff1
RD
24114 }
24115 {
32fe5131 24116 PyDict_SetItemString(d,"LANGUAGE_CATALAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CATALAN)));
093d3ff1
RD
24117 }
24118 {
32fe5131 24119 PyDict_SetItemString(d,"LANGUAGE_CHINESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE)));
093d3ff1
RD
24120 }
24121 {
32fe5131 24122 PyDict_SetItemString(d,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_SIMPLIFIED)));
093d3ff1
RD
24123 }
24124 {
32fe5131 24125 PyDict_SetItemString(d,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_TRADITIONAL)));
093d3ff1
RD
24126 }
24127 {
32fe5131 24128 PyDict_SetItemString(d,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_HONGKONG)));
093d3ff1
RD
24129 }
24130 {
32fe5131 24131 PyDict_SetItemString(d,"LANGUAGE_CHINESE_MACAU", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_MACAU)));
093d3ff1
RD
24132 }
24133 {
32fe5131 24134 PyDict_SetItemString(d,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_SINGAPORE)));
093d3ff1
RD
24135 }
24136 {
32fe5131 24137 PyDict_SetItemString(d,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_TAIWAN)));
093d3ff1
RD
24138 }
24139 {
32fe5131 24140 PyDict_SetItemString(d,"LANGUAGE_CORSICAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CORSICAN)));
093d3ff1
RD
24141 }
24142 {
32fe5131 24143 PyDict_SetItemString(d,"LANGUAGE_CROATIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CROATIAN)));
093d3ff1
RD
24144 }
24145 {
32fe5131 24146 PyDict_SetItemString(d,"LANGUAGE_CZECH", SWIG_From_int(static_cast<int >(wxLANGUAGE_CZECH)));
093d3ff1
RD
24147 }
24148 {
32fe5131 24149 PyDict_SetItemString(d,"LANGUAGE_DANISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_DANISH)));
093d3ff1
RD
24150 }
24151 {
32fe5131 24152 PyDict_SetItemString(d,"LANGUAGE_DUTCH", SWIG_From_int(static_cast<int >(wxLANGUAGE_DUTCH)));
093d3ff1
RD
24153 }
24154 {
32fe5131 24155 PyDict_SetItemString(d,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_DUTCH_BELGIAN)));
093d3ff1
RD
24156 }
24157 {
32fe5131 24158 PyDict_SetItemString(d,"LANGUAGE_ENGLISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH)));
093d3ff1
RD
24159 }
24160 {
32fe5131 24161 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_UK", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_UK)));
093d3ff1
RD
24162 }
24163 {
32fe5131 24164 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_US", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_US)));
093d3ff1
RD
24165 }
24166 {
32fe5131 24167 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_AUSTRALIA)));
093d3ff1
RD
24168 }
24169 {
32fe5131 24170 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_BELIZE)));
093d3ff1
RD
24171 }
24172 {
32fe5131 24173 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_BOTSWANA)));
093d3ff1
RD
24174 }
24175 {
32fe5131 24176 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_CANADA)));
093d3ff1
RD
24177 }
24178 {
32fe5131 24179 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_CARIBBEAN)));
093d3ff1
RD
24180 }
24181 {
32fe5131 24182 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_DENMARK)));
093d3ff1
RD
24183 }
24184 {
32fe5131 24185 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_EIRE)));
093d3ff1
RD
24186 }
24187 {
32fe5131 24188 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_JAMAICA)));
093d3ff1
RD
24189 }
24190 {
32fe5131 24191 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND)));
093d3ff1
RD
24192 }
24193 {
32fe5131 24194 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_PHILIPPINES)));
093d3ff1
RD
24195 }
24196 {
32fe5131 24197 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA)));
093d3ff1
RD
24198 }
24199 {
32fe5131 24200 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_TRINIDAD)));
093d3ff1
RD
24201 }
24202 {
32fe5131 24203 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_ZIMBABWE)));
093d3ff1
RD
24204 }
24205 {
32fe5131 24206 PyDict_SetItemString(d,"LANGUAGE_ESPERANTO", SWIG_From_int(static_cast<int >(wxLANGUAGE_ESPERANTO)));
093d3ff1
RD
24207 }
24208 {
32fe5131 24209 PyDict_SetItemString(d,"LANGUAGE_ESTONIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ESTONIAN)));
093d3ff1
RD
24210 }
24211 {
32fe5131 24212 PyDict_SetItemString(d,"LANGUAGE_FAEROESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_FAEROESE)));
093d3ff1
RD
24213 }
24214 {
32fe5131 24215 PyDict_SetItemString(d,"LANGUAGE_FARSI", SWIG_From_int(static_cast<int >(wxLANGUAGE_FARSI)));
093d3ff1
RD
24216 }
24217 {
32fe5131 24218 PyDict_SetItemString(d,"LANGUAGE_FIJI", SWIG_From_int(static_cast<int >(wxLANGUAGE_FIJI)));
093d3ff1
RD
24219 }
24220 {
32fe5131 24221 PyDict_SetItemString(d,"LANGUAGE_FINNISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_FINNISH)));
093d3ff1
RD
24222 }
24223 {
32fe5131 24224 PyDict_SetItemString(d,"LANGUAGE_FRENCH", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH)));
093d3ff1
RD
24225 }
24226 {
32fe5131 24227 PyDict_SetItemString(d,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_BELGIAN)));
093d3ff1
RD
24228 }
24229 {
32fe5131 24230 PyDict_SetItemString(d,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_CANADIAN)));
093d3ff1
RD
24231 }
24232 {
32fe5131 24233 PyDict_SetItemString(d,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_LUXEMBOURG)));
093d3ff1
RD
24234 }
24235 {
32fe5131 24236 PyDict_SetItemString(d,"LANGUAGE_FRENCH_MONACO", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_MONACO)));
093d3ff1
RD
24237 }
24238 {
32fe5131 24239 PyDict_SetItemString(d,"LANGUAGE_FRENCH_SWISS", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_SWISS)));
093d3ff1
RD
24240 }
24241 {
32fe5131 24242 PyDict_SetItemString(d,"LANGUAGE_FRISIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRISIAN)));
093d3ff1
RD
24243 }
24244 {
32fe5131 24245 PyDict_SetItemString(d,"LANGUAGE_GALICIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GALICIAN)));
093d3ff1
RD
24246 }
24247 {
32fe5131 24248 PyDict_SetItemString(d,"LANGUAGE_GEORGIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GEORGIAN)));
093d3ff1
RD
24249 }
24250 {
32fe5131 24251 PyDict_SetItemString(d,"LANGUAGE_GERMAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN)));
093d3ff1
RD
24252 }
24253 {
32fe5131 24254 PyDict_SetItemString(d,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_AUSTRIAN)));
093d3ff1
RD
24255 }
24256 {
32fe5131 24257 PyDict_SetItemString(d,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_BELGIUM)));
093d3ff1
RD
24258 }
24259 {
32fe5131 24260 PyDict_SetItemString(d,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN)));
093d3ff1
RD
24261 }
24262 {
32fe5131 24263 PyDict_SetItemString(d,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_LUXEMBOURG)));
093d3ff1
RD
24264 }
24265 {
32fe5131 24266 PyDict_SetItemString(d,"LANGUAGE_GERMAN_SWISS", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_SWISS)));
093d3ff1
RD
24267 }
24268 {
32fe5131 24269 PyDict_SetItemString(d,"LANGUAGE_GREEK", SWIG_From_int(static_cast<int >(wxLANGUAGE_GREEK)));
093d3ff1
RD
24270 }
24271 {
32fe5131 24272 PyDict_SetItemString(d,"LANGUAGE_GREENLANDIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_GREENLANDIC)));
093d3ff1
RD
24273 }
24274 {
32fe5131 24275 PyDict_SetItemString(d,"LANGUAGE_GUARANI", SWIG_From_int(static_cast<int >(wxLANGUAGE_GUARANI)));
093d3ff1
RD
24276 }
24277 {
32fe5131 24278 PyDict_SetItemString(d,"LANGUAGE_GUJARATI", SWIG_From_int(static_cast<int >(wxLANGUAGE_GUJARATI)));
093d3ff1
RD
24279 }
24280 {
32fe5131 24281 PyDict_SetItemString(d,"LANGUAGE_HAUSA", SWIG_From_int(static_cast<int >(wxLANGUAGE_HAUSA)));
093d3ff1
RD
24282 }
24283 {
32fe5131 24284 PyDict_SetItemString(d,"LANGUAGE_HEBREW", SWIG_From_int(static_cast<int >(wxLANGUAGE_HEBREW)));
093d3ff1
RD
24285 }
24286 {
32fe5131 24287 PyDict_SetItemString(d,"LANGUAGE_HINDI", SWIG_From_int(static_cast<int >(wxLANGUAGE_HINDI)));
093d3ff1
RD
24288 }
24289 {
32fe5131 24290 PyDict_SetItemString(d,"LANGUAGE_HUNGARIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_HUNGARIAN)));
093d3ff1
RD
24291 }
24292 {
32fe5131 24293 PyDict_SetItemString(d,"LANGUAGE_ICELANDIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_ICELANDIC)));
093d3ff1
RD
24294 }
24295 {
32fe5131 24296 PyDict_SetItemString(d,"LANGUAGE_INDONESIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_INDONESIAN)));
093d3ff1
RD
24297 }
24298 {
32fe5131 24299 PyDict_SetItemString(d,"LANGUAGE_INTERLINGUA", SWIG_From_int(static_cast<int >(wxLANGUAGE_INTERLINGUA)));
093d3ff1
RD
24300 }
24301 {
32fe5131 24302 PyDict_SetItemString(d,"LANGUAGE_INTERLINGUE", SWIG_From_int(static_cast<int >(wxLANGUAGE_INTERLINGUE)));
093d3ff1
RD
24303 }
24304 {
32fe5131 24305 PyDict_SetItemString(d,"LANGUAGE_INUKTITUT", SWIG_From_int(static_cast<int >(wxLANGUAGE_INUKTITUT)));
093d3ff1
RD
24306 }
24307 {
32fe5131 24308 PyDict_SetItemString(d,"LANGUAGE_INUPIAK", SWIG_From_int(static_cast<int >(wxLANGUAGE_INUPIAK)));
093d3ff1
RD
24309 }
24310 {
32fe5131 24311 PyDict_SetItemString(d,"LANGUAGE_IRISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_IRISH)));
093d3ff1
RD
24312 }
24313 {
32fe5131 24314 PyDict_SetItemString(d,"LANGUAGE_ITALIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ITALIAN)));
093d3ff1
RD
24315 }
24316 {
32fe5131 24317 PyDict_SetItemString(d,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int(static_cast<int >(wxLANGUAGE_ITALIAN_SWISS)));
093d3ff1
RD
24318 }
24319 {
32fe5131 24320 PyDict_SetItemString(d,"LANGUAGE_JAPANESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_JAPANESE)));
093d3ff1
RD
24321 }
24322 {
32fe5131 24323 PyDict_SetItemString(d,"LANGUAGE_JAVANESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_JAVANESE)));
093d3ff1
RD
24324 }
24325 {
32fe5131 24326 PyDict_SetItemString(d,"LANGUAGE_KANNADA", SWIG_From_int(static_cast<int >(wxLANGUAGE_KANNADA)));
093d3ff1
RD
24327 }
24328 {
32fe5131 24329 PyDict_SetItemString(d,"LANGUAGE_KASHMIRI", SWIG_From_int(static_cast<int >(wxLANGUAGE_KASHMIRI)));
093d3ff1
RD
24330 }
24331 {
32fe5131 24332 PyDict_SetItemString(d,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_KASHMIRI_INDIA)));
093d3ff1
RD
24333 }
24334 {
32fe5131 24335 PyDict_SetItemString(d,"LANGUAGE_KAZAKH", SWIG_From_int(static_cast<int >(wxLANGUAGE_KAZAKH)));
093d3ff1
RD
24336 }
24337 {
32fe5131 24338 PyDict_SetItemString(d,"LANGUAGE_KERNEWEK", SWIG_From_int(static_cast<int >(wxLANGUAGE_KERNEWEK)));
093d3ff1
RD
24339 }
24340 {
32fe5131 24341 PyDict_SetItemString(d,"LANGUAGE_KINYARWANDA", SWIG_From_int(static_cast<int >(wxLANGUAGE_KINYARWANDA)));
093d3ff1
RD
24342 }
24343 {
32fe5131 24344 PyDict_SetItemString(d,"LANGUAGE_KIRGHIZ", SWIG_From_int(static_cast<int >(wxLANGUAGE_KIRGHIZ)));
093d3ff1
RD
24345 }
24346 {
32fe5131 24347 PyDict_SetItemString(d,"LANGUAGE_KIRUNDI", SWIG_From_int(static_cast<int >(wxLANGUAGE_KIRUNDI)));
093d3ff1
RD
24348 }
24349 {
32fe5131 24350 PyDict_SetItemString(d,"LANGUAGE_KONKANI", SWIG_From_int(static_cast<int >(wxLANGUAGE_KONKANI)));
093d3ff1
RD
24351 }
24352 {
32fe5131 24353 PyDict_SetItemString(d,"LANGUAGE_KOREAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_KOREAN)));
093d3ff1
RD
24354 }
24355 {
32fe5131 24356 PyDict_SetItemString(d,"LANGUAGE_KURDISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_KURDISH)));
093d3ff1
RD
24357 }
24358 {
32fe5131 24359 PyDict_SetItemString(d,"LANGUAGE_LAOTHIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_LAOTHIAN)));
093d3ff1
RD
24360 }
24361 {
32fe5131 24362 PyDict_SetItemString(d,"LANGUAGE_LATIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_LATIN)));
093d3ff1
RD
24363 }
24364 {
32fe5131 24365 PyDict_SetItemString(d,"LANGUAGE_LATVIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_LATVIAN)));
093d3ff1
RD
24366 }
24367 {
32fe5131 24368 PyDict_SetItemString(d,"LANGUAGE_LINGALA", SWIG_From_int(static_cast<int >(wxLANGUAGE_LINGALA)));
093d3ff1
RD
24369 }
24370 {
32fe5131 24371 PyDict_SetItemString(d,"LANGUAGE_LITHUANIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_LITHUANIAN)));
093d3ff1
RD
24372 }
24373 {
32fe5131 24374 PyDict_SetItemString(d,"LANGUAGE_MACEDONIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_MACEDONIAN)));
093d3ff1
RD
24375 }
24376 {
32fe5131 24377 PyDict_SetItemString(d,"LANGUAGE_MALAGASY", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAGASY)));
093d3ff1
RD
24378 }
24379 {
32fe5131 24380 PyDict_SetItemString(d,"LANGUAGE_MALAY", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAY)));
093d3ff1
RD
24381 }
24382 {
32fe5131 24383 PyDict_SetItemString(d,"LANGUAGE_MALAYALAM", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAYALAM)));
093d3ff1
RD
24384 }
24385 {
32fe5131 24386 PyDict_SetItemString(d,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM)));
093d3ff1
RD
24387 }
24388 {
32fe5131 24389 PyDict_SetItemString(d,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAY_MALAYSIA)));
093d3ff1
RD
24390 }
24391 {
32fe5131 24392 PyDict_SetItemString(d,"LANGUAGE_MALTESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALTESE)));
093d3ff1
RD
24393 }
24394 {
32fe5131 24395 PyDict_SetItemString(d,"LANGUAGE_MANIPURI", SWIG_From_int(static_cast<int >(wxLANGUAGE_MANIPURI)));
093d3ff1
RD
24396 }
24397 {
32fe5131 24398 PyDict_SetItemString(d,"LANGUAGE_MAORI", SWIG_From_int(static_cast<int >(wxLANGUAGE_MAORI)));
093d3ff1
RD
24399 }
24400 {
32fe5131 24401 PyDict_SetItemString(d,"LANGUAGE_MARATHI", SWIG_From_int(static_cast<int >(wxLANGUAGE_MARATHI)));
093d3ff1
RD
24402 }
24403 {
32fe5131 24404 PyDict_SetItemString(d,"LANGUAGE_MOLDAVIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_MOLDAVIAN)));
093d3ff1
RD
24405 }
24406 {
32fe5131 24407 PyDict_SetItemString(d,"LANGUAGE_MONGOLIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_MONGOLIAN)));
093d3ff1
RD
24408 }
24409 {
32fe5131 24410 PyDict_SetItemString(d,"LANGUAGE_NAURU", SWIG_From_int(static_cast<int >(wxLANGUAGE_NAURU)));
093d3ff1
RD
24411 }
24412 {
32fe5131 24413 PyDict_SetItemString(d,"LANGUAGE_NEPALI", SWIG_From_int(static_cast<int >(wxLANGUAGE_NEPALI)));
093d3ff1
RD
24414 }
24415 {
32fe5131 24416 PyDict_SetItemString(d,"LANGUAGE_NEPALI_INDIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_NEPALI_INDIA)));
093d3ff1
RD
24417 }
24418 {
32fe5131 24419 PyDict_SetItemString(d,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int(static_cast<int >(wxLANGUAGE_NORWEGIAN_BOKMAL)));
093d3ff1
RD
24420 }
24421 {
32fe5131 24422 PyDict_SetItemString(d,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int(static_cast<int >(wxLANGUAGE_NORWEGIAN_NYNORSK)));
093d3ff1
RD
24423 }
24424 {
32fe5131 24425 PyDict_SetItemString(d,"LANGUAGE_OCCITAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_OCCITAN)));
093d3ff1
RD
24426 }
24427 {
32fe5131 24428 PyDict_SetItemString(d,"LANGUAGE_ORIYA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ORIYA)));
093d3ff1
RD
24429 }
24430 {
32fe5131 24431 PyDict_SetItemString(d,"LANGUAGE_OROMO", SWIG_From_int(static_cast<int >(wxLANGUAGE_OROMO)));
093d3ff1
RD
24432 }
24433 {
32fe5131 24434 PyDict_SetItemString(d,"LANGUAGE_PASHTO", SWIG_From_int(static_cast<int >(wxLANGUAGE_PASHTO)));
093d3ff1
RD
24435 }
24436 {
32fe5131 24437 PyDict_SetItemString(d,"LANGUAGE_POLISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_POLISH)));
093d3ff1
RD
24438 }
24439 {
32fe5131 24440 PyDict_SetItemString(d,"LANGUAGE_PORTUGUESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_PORTUGUESE)));
093d3ff1
RD
24441 }
24442 {
32fe5131 24443 PyDict_SetItemString(d,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN)));
093d3ff1
RD
24444 }
24445 {
32fe5131 24446 PyDict_SetItemString(d,"LANGUAGE_PUNJABI", SWIG_From_int(static_cast<int >(wxLANGUAGE_PUNJABI)));
093d3ff1
RD
24447 }
24448 {
32fe5131 24449 PyDict_SetItemString(d,"LANGUAGE_QUECHUA", SWIG_From_int(static_cast<int >(wxLANGUAGE_QUECHUA)));
093d3ff1
RD
24450 }
24451 {
32fe5131 24452 PyDict_SetItemString(d,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int(static_cast<int >(wxLANGUAGE_RHAETO_ROMANCE)));
093d3ff1
RD
24453 }
24454 {
32fe5131 24455 PyDict_SetItemString(d,"LANGUAGE_ROMANIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ROMANIAN)));
093d3ff1
RD
24456 }
24457 {
32fe5131 24458 PyDict_SetItemString(d,"LANGUAGE_RUSSIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_RUSSIAN)));
093d3ff1
RD
24459 }
24460 {
32fe5131 24461 PyDict_SetItemString(d,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int(static_cast<int >(wxLANGUAGE_RUSSIAN_UKRAINE)));
093d3ff1
RD
24462 }
24463 {
32fe5131 24464 PyDict_SetItemString(d,"LANGUAGE_SAMOAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SAMOAN)));
093d3ff1
RD
24465 }
24466 {
32fe5131 24467 PyDict_SetItemString(d,"LANGUAGE_SANGHO", SWIG_From_int(static_cast<int >(wxLANGUAGE_SANGHO)));
093d3ff1
RD
24468 }
24469 {
32fe5131 24470 PyDict_SetItemString(d,"LANGUAGE_SANSKRIT", SWIG_From_int(static_cast<int >(wxLANGUAGE_SANSKRIT)));
093d3ff1
RD
24471 }
24472 {
32fe5131 24473 PyDict_SetItemString(d,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_SCOTS_GAELIC)));
093d3ff1
RD
24474 }
24475 {
32fe5131 24476 PyDict_SetItemString(d,"LANGUAGE_SERBIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SERBIAN)));
093d3ff1
RD
24477 }
24478 {
32fe5131 24479 PyDict_SetItemString(d,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_SERBIAN_CYRILLIC)));
093d3ff1
RD
24480 }
24481 {
32fe5131 24482 PyDict_SetItemString(d,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SERBIAN_LATIN)));
093d3ff1
RD
24483 }
24484 {
32fe5131 24485 PyDict_SetItemString(d,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SERBO_CROATIAN)));
093d3ff1
RD
24486 }
24487 {
32fe5131 24488 PyDict_SetItemString(d,"LANGUAGE_SESOTHO", SWIG_From_int(static_cast<int >(wxLANGUAGE_SESOTHO)));
093d3ff1
RD
24489 }
24490 {
32fe5131 24491 PyDict_SetItemString(d,"LANGUAGE_SETSWANA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SETSWANA)));
093d3ff1
RD
24492 }
24493 {
32fe5131 24494 PyDict_SetItemString(d,"LANGUAGE_SHONA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SHONA)));
093d3ff1
RD
24495 }
24496 {
32fe5131 24497 PyDict_SetItemString(d,"LANGUAGE_SINDHI", SWIG_From_int(static_cast<int >(wxLANGUAGE_SINDHI)));
093d3ff1
RD
24498 }
24499 {
32fe5131 24500 PyDict_SetItemString(d,"LANGUAGE_SINHALESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_SINHALESE)));
093d3ff1
RD
24501 }
24502 {
32fe5131 24503 PyDict_SetItemString(d,"LANGUAGE_SISWATI", SWIG_From_int(static_cast<int >(wxLANGUAGE_SISWATI)));
093d3ff1
RD
24504 }
24505 {
32fe5131 24506 PyDict_SetItemString(d,"LANGUAGE_SLOVAK", SWIG_From_int(static_cast<int >(wxLANGUAGE_SLOVAK)));
093d3ff1
RD
24507 }
24508 {
32fe5131 24509 PyDict_SetItemString(d,"LANGUAGE_SLOVENIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SLOVENIAN)));
093d3ff1
RD
24510 }
24511 {
32fe5131 24512 PyDict_SetItemString(d,"LANGUAGE_SOMALI", SWIG_From_int(static_cast<int >(wxLANGUAGE_SOMALI)));
093d3ff1
RD
24513 }
24514 {
32fe5131 24515 PyDict_SetItemString(d,"LANGUAGE_SPANISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH)));
093d3ff1
RD
24516 }
24517 {
32fe5131 24518 PyDict_SetItemString(d,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_ARGENTINA)));
093d3ff1
RD
24519 }
24520 {
32fe5131 24521 PyDict_SetItemString(d,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_BOLIVIA)));
093d3ff1
RD
24522 }
24523 {
32fe5131 24524 PyDict_SetItemString(d,"LANGUAGE_SPANISH_CHILE", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_CHILE)));
093d3ff1
RD
24525 }
24526 {
32fe5131 24527 PyDict_SetItemString(d,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_COLOMBIA)));
093d3ff1
RD
24528 }
24529 {
32fe5131 24530 PyDict_SetItemString(d,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_COSTA_RICA)));
093d3ff1
RD
24531 }
24532 {
32fe5131 24533 PyDict_SetItemString(d,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC)));
093d3ff1
RD
24534 }
24535 {
32fe5131 24536 PyDict_SetItemString(d,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_ECUADOR)));
093d3ff1
RD
24537 }
24538 {
32fe5131 24539 PyDict_SetItemString(d,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_EL_SALVADOR)));
093d3ff1
RD
24540 }
24541 {
32fe5131 24542 PyDict_SetItemString(d,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_GUATEMALA)));
093d3ff1
RD
24543 }
24544 {
32fe5131 24545 PyDict_SetItemString(d,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_HONDURAS)));
093d3ff1
RD
24546 }
24547 {
32fe5131 24548 PyDict_SetItemString(d,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_MEXICAN)));
093d3ff1
RD
24549 }
24550 {
32fe5131 24551 PyDict_SetItemString(d,"LANGUAGE_SPANISH_MODERN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_MODERN)));
093d3ff1
RD
24552 }
24553 {
32fe5131 24554 PyDict_SetItemString(d,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_NICARAGUA)));
093d3ff1
RD
24555 }
24556 {
32fe5131 24557 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_PANAMA)));
093d3ff1
RD
24558 }
24559 {
32fe5131 24560 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_PARAGUAY)));
093d3ff1
RD
24561 }
24562 {
32fe5131 24563 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PERU", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_PERU)));
093d3ff1
RD
24564 }
24565 {
32fe5131 24566 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_PUERTO_RICO)));
093d3ff1
RD
24567 }
24568 {
32fe5131 24569 PyDict_SetItemString(d,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_URUGUAY)));
093d3ff1
RD
24570 }
24571 {
32fe5131 24572 PyDict_SetItemString(d,"LANGUAGE_SPANISH_US", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_US)));
093d3ff1
RD
24573 }
24574 {
32fe5131 24575 PyDict_SetItemString(d,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_VENEZUELA)));
093d3ff1
RD
24576 }
24577 {
32fe5131 24578 PyDict_SetItemString(d,"LANGUAGE_SUNDANESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_SUNDANESE)));
093d3ff1
RD
24579 }
24580 {
32fe5131 24581 PyDict_SetItemString(d,"LANGUAGE_SWAHILI", SWIG_From_int(static_cast<int >(wxLANGUAGE_SWAHILI)));
093d3ff1
RD
24582 }
24583 {
32fe5131 24584 PyDict_SetItemString(d,"LANGUAGE_SWEDISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_SWEDISH)));
093d3ff1
RD
24585 }
24586 {
32fe5131 24587 PyDict_SetItemString(d,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int(static_cast<int >(wxLANGUAGE_SWEDISH_FINLAND)));
093d3ff1
RD
24588 }
24589 {
32fe5131 24590 PyDict_SetItemString(d,"LANGUAGE_TAGALOG", SWIG_From_int(static_cast<int >(wxLANGUAGE_TAGALOG)));
093d3ff1
RD
24591 }
24592 {
32fe5131 24593 PyDict_SetItemString(d,"LANGUAGE_TAJIK", SWIG_From_int(static_cast<int >(wxLANGUAGE_TAJIK)));
093d3ff1
RD
24594 }
24595 {
32fe5131 24596 PyDict_SetItemString(d,"LANGUAGE_TAMIL", SWIG_From_int(static_cast<int >(wxLANGUAGE_TAMIL)));
093d3ff1
RD
24597 }
24598 {
32fe5131 24599 PyDict_SetItemString(d,"LANGUAGE_TATAR", SWIG_From_int(static_cast<int >(wxLANGUAGE_TATAR)));
093d3ff1
RD
24600 }
24601 {
32fe5131 24602 PyDict_SetItemString(d,"LANGUAGE_TELUGU", SWIG_From_int(static_cast<int >(wxLANGUAGE_TELUGU)));
093d3ff1
RD
24603 }
24604 {
32fe5131 24605 PyDict_SetItemString(d,"LANGUAGE_THAI", SWIG_From_int(static_cast<int >(wxLANGUAGE_THAI)));
093d3ff1
RD
24606 }
24607 {
32fe5131 24608 PyDict_SetItemString(d,"LANGUAGE_TIBETAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_TIBETAN)));
093d3ff1
RD
24609 }
24610 {
32fe5131 24611 PyDict_SetItemString(d,"LANGUAGE_TIGRINYA", SWIG_From_int(static_cast<int >(wxLANGUAGE_TIGRINYA)));
093d3ff1
RD
24612 }
24613 {
32fe5131 24614 PyDict_SetItemString(d,"LANGUAGE_TONGA", SWIG_From_int(static_cast<int >(wxLANGUAGE_TONGA)));
093d3ff1
RD
24615 }
24616 {
32fe5131 24617 PyDict_SetItemString(d,"LANGUAGE_TSONGA", SWIG_From_int(static_cast<int >(wxLANGUAGE_TSONGA)));
093d3ff1
RD
24618 }
24619 {
32fe5131 24620 PyDict_SetItemString(d,"LANGUAGE_TURKISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_TURKISH)));
093d3ff1
RD
24621 }
24622 {
32fe5131 24623 PyDict_SetItemString(d,"LANGUAGE_TURKMEN", SWIG_From_int(static_cast<int >(wxLANGUAGE_TURKMEN)));
093d3ff1
RD
24624 }
24625 {
32fe5131 24626 PyDict_SetItemString(d,"LANGUAGE_TWI", SWIG_From_int(static_cast<int >(wxLANGUAGE_TWI)));
093d3ff1
RD
24627 }
24628 {
32fe5131 24629 PyDict_SetItemString(d,"LANGUAGE_UIGHUR", SWIG_From_int(static_cast<int >(wxLANGUAGE_UIGHUR)));
093d3ff1
RD
24630 }
24631 {
32fe5131 24632 PyDict_SetItemString(d,"LANGUAGE_UKRAINIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_UKRAINIAN)));
093d3ff1
RD
24633 }
24634 {
32fe5131 24635 PyDict_SetItemString(d,"LANGUAGE_URDU", SWIG_From_int(static_cast<int >(wxLANGUAGE_URDU)));
093d3ff1
RD
24636 }
24637 {
32fe5131 24638 PyDict_SetItemString(d,"LANGUAGE_URDU_INDIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_URDU_INDIA)));
093d3ff1
RD
24639 }
24640 {
32fe5131 24641 PyDict_SetItemString(d,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_URDU_PAKISTAN)));
093d3ff1
RD
24642 }
24643 {
32fe5131 24644 PyDict_SetItemString(d,"LANGUAGE_UZBEK", SWIG_From_int(static_cast<int >(wxLANGUAGE_UZBEK)));
093d3ff1
RD
24645 }
24646 {
32fe5131 24647 PyDict_SetItemString(d,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_UZBEK_CYRILLIC)));
093d3ff1
RD
24648 }
24649 {
32fe5131 24650 PyDict_SetItemString(d,"LANGUAGE_UZBEK_LATIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_UZBEK_LATIN)));
093d3ff1
RD
24651 }
24652 {
32fe5131 24653 PyDict_SetItemString(d,"LANGUAGE_VIETNAMESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_VIETNAMESE)));
093d3ff1
RD
24654 }
24655 {
32fe5131 24656 PyDict_SetItemString(d,"LANGUAGE_VOLAPUK", SWIG_From_int(static_cast<int >(wxLANGUAGE_VOLAPUK)));
093d3ff1
RD
24657 }
24658 {
32fe5131 24659 PyDict_SetItemString(d,"LANGUAGE_WELSH", SWIG_From_int(static_cast<int >(wxLANGUAGE_WELSH)));
093d3ff1
RD
24660 }
24661 {
32fe5131 24662 PyDict_SetItemString(d,"LANGUAGE_WOLOF", SWIG_From_int(static_cast<int >(wxLANGUAGE_WOLOF)));
093d3ff1
RD
24663 }
24664 {
32fe5131 24665 PyDict_SetItemString(d,"LANGUAGE_XHOSA", SWIG_From_int(static_cast<int >(wxLANGUAGE_XHOSA)));
093d3ff1
RD
24666 }
24667 {
32fe5131 24668 PyDict_SetItemString(d,"LANGUAGE_YIDDISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_YIDDISH)));
093d3ff1
RD
24669 }
24670 {
32fe5131 24671 PyDict_SetItemString(d,"LANGUAGE_YORUBA", SWIG_From_int(static_cast<int >(wxLANGUAGE_YORUBA)));
093d3ff1
RD
24672 }
24673 {
32fe5131 24674 PyDict_SetItemString(d,"LANGUAGE_ZHUANG", SWIG_From_int(static_cast<int >(wxLANGUAGE_ZHUANG)));
093d3ff1
RD
24675 }
24676 {
32fe5131 24677 PyDict_SetItemString(d,"LANGUAGE_ZULU", SWIG_From_int(static_cast<int >(wxLANGUAGE_ZULU)));
093d3ff1
RD
24678 }
24679 {
32fe5131 24680 PyDict_SetItemString(d,"LANGUAGE_USER_DEFINED", SWIG_From_int(static_cast<int >(wxLANGUAGE_USER_DEFINED)));
093d3ff1
RD
24681 }
24682 {
32fe5131 24683 PyDict_SetItemString(d,"LOCALE_CAT_NUMBER", SWIG_From_int(static_cast<int >(wxLOCALE_CAT_NUMBER)));
093d3ff1
RD
24684 }
24685 {
32fe5131 24686 PyDict_SetItemString(d,"LOCALE_CAT_DATE", SWIG_From_int(static_cast<int >(wxLOCALE_CAT_DATE)));
093d3ff1
RD
24687 }
24688 {
32fe5131 24689 PyDict_SetItemString(d,"LOCALE_CAT_MONEY", SWIG_From_int(static_cast<int >(wxLOCALE_CAT_MONEY)));
093d3ff1
RD
24690 }
24691 {
32fe5131 24692 PyDict_SetItemString(d,"LOCALE_CAT_MAX", SWIG_From_int(static_cast<int >(wxLOCALE_CAT_MAX)));
093d3ff1
RD
24693 }
24694 {
32fe5131 24695 PyDict_SetItemString(d,"LOCALE_THOUSANDS_SEP", SWIG_From_int(static_cast<int >(wxLOCALE_THOUSANDS_SEP)));
093d3ff1
RD
24696 }
24697 {
32fe5131 24698 PyDict_SetItemString(d,"LOCALE_DECIMAL_POINT", SWIG_From_int(static_cast<int >(wxLOCALE_DECIMAL_POINT)));
093d3ff1
RD
24699 }
24700 {
32fe5131 24701 PyDict_SetItemString(d,"LOCALE_LOAD_DEFAULT", SWIG_From_int(static_cast<int >(wxLOCALE_LOAD_DEFAULT)));
093d3ff1
RD
24702 }
24703 {
32fe5131 24704 PyDict_SetItemString(d,"LOCALE_CONV_ENCODING", SWIG_From_int(static_cast<int >(wxLOCALE_CONV_ENCODING)));
093d3ff1
RD
24705 }
24706 {
32fe5131 24707 PyDict_SetItemString(d,"CONVERT_STRICT", SWIG_From_int(static_cast<int >(wxCONVERT_STRICT)));
093d3ff1
RD
24708 }
24709 {
32fe5131 24710 PyDict_SetItemString(d,"CONVERT_SUBSTITUTE", SWIG_From_int(static_cast<int >(wxCONVERT_SUBSTITUTE)));
093d3ff1
RD
24711 }
24712 {
32fe5131 24713 PyDict_SetItemString(d,"PLATFORM_CURRENT", SWIG_From_int(static_cast<int >(wxPLATFORM_CURRENT)));
093d3ff1
RD
24714 }
24715 {
32fe5131 24716 PyDict_SetItemString(d,"PLATFORM_UNIX", SWIG_From_int(static_cast<int >(wxPLATFORM_UNIX)));
093d3ff1
RD
24717 }
24718 {
32fe5131 24719 PyDict_SetItemString(d,"PLATFORM_WINDOWS", SWIG_From_int(static_cast<int >(wxPLATFORM_WINDOWS)));
093d3ff1
RD
24720 }
24721 {
32fe5131 24722 PyDict_SetItemString(d,"PLATFORM_OS2", SWIG_From_int(static_cast<int >(wxPLATFORM_OS2)));
093d3ff1
RD
24723 }
24724 {
32fe5131 24725 PyDict_SetItemString(d,"PLATFORM_MAC", SWIG_From_int(static_cast<int >(wxPLATFORM_MAC)));
093d3ff1 24726 }
e2950dbb 24727 {
32fe5131 24728 PyDict_SetItemString(d,"BUFFER_VIRTUAL_AREA", SWIG_From_int(static_cast<int >(wxBUFFER_VIRTUAL_AREA)));
e2950dbb
RD
24729 }
24730 {
32fe5131 24731 PyDict_SetItemString(d,"BUFFER_CLIENT_AREA", SWIG_From_int(static_cast<int >(wxBUFFER_CLIENT_AREA)));
e2950dbb 24732 }
093d3ff1 24733 {
32fe5131 24734 PyDict_SetItemString(d,"IMAGELIST_DRAW_NORMAL", SWIG_From_int(static_cast<int >(wxIMAGELIST_DRAW_NORMAL)));
093d3ff1
RD
24735 }
24736 {
32fe5131 24737 PyDict_SetItemString(d,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int(static_cast<int >(wxIMAGELIST_DRAW_TRANSPARENT)));
093d3ff1
RD
24738 }
24739 {
32fe5131 24740 PyDict_SetItemString(d,"IMAGELIST_DRAW_SELECTED", SWIG_From_int(static_cast<int >(wxIMAGELIST_DRAW_SELECTED)));
093d3ff1
RD
24741 }
24742 {
32fe5131 24743 PyDict_SetItemString(d,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int(static_cast<int >(wxIMAGELIST_DRAW_FOCUSED)));
093d3ff1
RD
24744 }
24745 {
32fe5131 24746 PyDict_SetItemString(d,"IMAGE_LIST_NORMAL", SWIG_From_int(static_cast<int >(wxIMAGE_LIST_NORMAL)));
093d3ff1
RD
24747 }
24748 {
32fe5131 24749 PyDict_SetItemString(d,"IMAGE_LIST_SMALL", SWIG_From_int(static_cast<int >(wxIMAGE_LIST_SMALL)));
093d3ff1
RD
24750 }
24751 {
32fe5131 24752 PyDict_SetItemString(d,"IMAGE_LIST_STATE", SWIG_From_int(static_cast<int >(wxIMAGE_LIST_STATE)));
093d3ff1 24753 }
d14a1e28
RD
24754 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
24755 SWIG_addvarlink(SWIG_globals,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get, _wrap_NORMAL_FONT_set);
24756 SWIG_addvarlink(SWIG_globals,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get, _wrap_SMALL_FONT_set);
24757 SWIG_addvarlink(SWIG_globals,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get, _wrap_ITALIC_FONT_set);
24758 SWIG_addvarlink(SWIG_globals,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get, _wrap_SWISS_FONT_set);
24759 SWIG_addvarlink(SWIG_globals,(char*)"RED_PEN",_wrap_RED_PEN_get, _wrap_RED_PEN_set);
24760 SWIG_addvarlink(SWIG_globals,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get, _wrap_CYAN_PEN_set);
24761 SWIG_addvarlink(SWIG_globals,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get, _wrap_GREEN_PEN_set);
24762 SWIG_addvarlink(SWIG_globals,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get, _wrap_BLACK_PEN_set);
24763 SWIG_addvarlink(SWIG_globals,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get, _wrap_WHITE_PEN_set);
24764 SWIG_addvarlink(SWIG_globals,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get, _wrap_TRANSPARENT_PEN_set);
24765 SWIG_addvarlink(SWIG_globals,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get, _wrap_BLACK_DASHED_PEN_set);
24766 SWIG_addvarlink(SWIG_globals,(char*)"GREY_PEN",_wrap_GREY_PEN_get, _wrap_GREY_PEN_set);
24767 SWIG_addvarlink(SWIG_globals,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get, _wrap_MEDIUM_GREY_PEN_set);
24768 SWIG_addvarlink(SWIG_globals,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get, _wrap_LIGHT_GREY_PEN_set);
24769 SWIG_addvarlink(SWIG_globals,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get, _wrap_BLUE_BRUSH_set);
24770 SWIG_addvarlink(SWIG_globals,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get, _wrap_GREEN_BRUSH_set);
24771 SWIG_addvarlink(SWIG_globals,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get, _wrap_WHITE_BRUSH_set);
24772 SWIG_addvarlink(SWIG_globals,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get, _wrap_BLACK_BRUSH_set);
24773 SWIG_addvarlink(SWIG_globals,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get, _wrap_TRANSPARENT_BRUSH_set);
24774 SWIG_addvarlink(SWIG_globals,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get, _wrap_CYAN_BRUSH_set);
24775 SWIG_addvarlink(SWIG_globals,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get, _wrap_RED_BRUSH_set);
24776 SWIG_addvarlink(SWIG_globals,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get, _wrap_GREY_BRUSH_set);
24777 SWIG_addvarlink(SWIG_globals,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get, _wrap_MEDIUM_GREY_BRUSH_set);
24778 SWIG_addvarlink(SWIG_globals,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get, _wrap_LIGHT_GREY_BRUSH_set);
24779 SWIG_addvarlink(SWIG_globals,(char*)"BLACK",_wrap_BLACK_get, _wrap_BLACK_set);
24780 SWIG_addvarlink(SWIG_globals,(char*)"WHITE",_wrap_WHITE_get, _wrap_WHITE_set);
24781 SWIG_addvarlink(SWIG_globals,(char*)"RED",_wrap_RED_get, _wrap_RED_set);
24782 SWIG_addvarlink(SWIG_globals,(char*)"BLUE",_wrap_BLUE_get, _wrap_BLUE_set);
24783 SWIG_addvarlink(SWIG_globals,(char*)"GREEN",_wrap_GREEN_get, _wrap_GREEN_set);
24784 SWIG_addvarlink(SWIG_globals,(char*)"CYAN",_wrap_CYAN_get, _wrap_CYAN_set);
24785 SWIG_addvarlink(SWIG_globals,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get, _wrap_LIGHT_GREY_set);
24786 SWIG_addvarlink(SWIG_globals,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get, _wrap_STANDARD_CURSOR_set);
24787 SWIG_addvarlink(SWIG_globals,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get, _wrap_HOURGLASS_CURSOR_set);
24788 SWIG_addvarlink(SWIG_globals,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get, _wrap_CROSS_CURSOR_set);
24789 SWIG_addvarlink(SWIG_globals,(char*)"NullBitmap",_wrap_NullBitmap_get, _wrap_NullBitmap_set);
24790 SWIG_addvarlink(SWIG_globals,(char*)"NullIcon",_wrap_NullIcon_get, _wrap_NullIcon_set);
24791 SWIG_addvarlink(SWIG_globals,(char*)"NullCursor",_wrap_NullCursor_get, _wrap_NullCursor_set);
24792 SWIG_addvarlink(SWIG_globals,(char*)"NullPen",_wrap_NullPen_get, _wrap_NullPen_set);
24793 SWIG_addvarlink(SWIG_globals,(char*)"NullBrush",_wrap_NullBrush_get, _wrap_NullBrush_set);
24794 SWIG_addvarlink(SWIG_globals,(char*)"NullPalette",_wrap_NullPalette_get, _wrap_NullPalette_set);
24795 SWIG_addvarlink(SWIG_globals,(char*)"NullFont",_wrap_NullFont_get, _wrap_NullFont_set);
24796 SWIG_addvarlink(SWIG_globals,(char*)"NullColour",_wrap_NullColour_get, _wrap_NullColour_set);
24797 SWIG_addvarlink(SWIG_globals,(char*)"TheFontList",_wrap_TheFontList_get, _wrap_TheFontList_set);
24798 SWIG_addvarlink(SWIG_globals,(char*)"ThePenList",_wrap_ThePenList_get, _wrap_ThePenList_set);
24799 SWIG_addvarlink(SWIG_globals,(char*)"TheBrushList",_wrap_TheBrushList_get, _wrap_TheBrushList_set);
24800 SWIG_addvarlink(SWIG_globals,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get, _wrap_TheColourDatabase_set);
8d38bd1d 24801 {
32fe5131 24802 PyDict_SetItemString(d,"CONTROL_DISABLED", SWIG_From_int(static_cast<int >(wxCONTROL_DISABLED)));
8d38bd1d
RD
24803 }
24804 {
32fe5131 24805 PyDict_SetItemString(d,"CONTROL_FOCUSED", SWIG_From_int(static_cast<int >(wxCONTROL_FOCUSED)));
8d38bd1d
RD
24806 }
24807 {
32fe5131 24808 PyDict_SetItemString(d,"CONTROL_PRESSED", SWIG_From_int(static_cast<int >(wxCONTROL_PRESSED)));
8d38bd1d
RD
24809 }
24810 {
32fe5131 24811 PyDict_SetItemString(d,"CONTROL_ISDEFAULT", SWIG_From_int(static_cast<int >(wxCONTROL_ISDEFAULT)));
8d38bd1d
RD
24812 }
24813 {
32fe5131 24814 PyDict_SetItemString(d,"CONTROL_ISSUBMENU", SWIG_From_int(static_cast<int >(wxCONTROL_ISSUBMENU)));
8d38bd1d
RD
24815 }
24816 {
32fe5131 24817 PyDict_SetItemString(d,"CONTROL_EXPANDED", SWIG_From_int(static_cast<int >(wxCONTROL_EXPANDED)));
8d38bd1d
RD
24818 }
24819 {
32fe5131 24820 PyDict_SetItemString(d,"CONTROL_CURRENT", SWIG_From_int(static_cast<int >(wxCONTROL_CURRENT)));
8d38bd1d
RD
24821 }
24822 {
32fe5131 24823 PyDict_SetItemString(d,"CONTROL_SELECTED", SWIG_From_int(static_cast<int >(wxCONTROL_SELECTED)));
8d38bd1d
RD
24824 }
24825 {
32fe5131 24826 PyDict_SetItemString(d,"CONTROL_CHECKED", SWIG_From_int(static_cast<int >(wxCONTROL_CHECKED)));
8d38bd1d
RD
24827 }
24828 {
32fe5131 24829 PyDict_SetItemString(d,"CONTROL_CHECKABLE", SWIG_From_int(static_cast<int >(wxCONTROL_CHECKABLE)));
8d38bd1d
RD
24830 }
24831 {
32fe5131 24832 PyDict_SetItemString(d,"CONTROL_UNDETERMINED", SWIG_From_int(static_cast<int >(wxCONTROL_UNDETERMINED)));
8d38bd1d
RD
24833 }
24834 {
32fe5131 24835 PyDict_SetItemString(d,"CONTROL_FLAGS_MASK", SWIG_From_int(static_cast<int >(wxCONTROL_FLAGS_MASK)));
8d38bd1d
RD
24836 }
24837 {
32fe5131 24838 PyDict_SetItemString(d,"CONTROL_DIRTY", SWIG_From_int(static_cast<int >(wxCONTROL_DIRTY)));
8d38bd1d
RD
24839 }
24840 {
32fe5131 24841 PyDict_SetItemString(d,"RendererVersion_Current_Version", SWIG_From_int(static_cast<int >(wxRendererVersion::Current_Version)));
8d38bd1d
RD
24842 }
24843 {
32fe5131 24844 PyDict_SetItemString(d,"RendererVersion_Current_Age", SWIG_From_int(static_cast<int >(wxRendererVersion::Current_Age)));
8d38bd1d 24845 }
7722248d
RD
24846
24847 // Work around a chicken/egg problem in drawlist.cpp
24848 wxPyDrawList_SetAPIPtr();
24849
d14a1e28
RD
24850}
24851