]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_gdi_wrap.cpp
log wxChoice events in the same format as wxComboBox ones to make it simpler to compa...
[wxWidgets.git] / wxPython / src / msw / _gdi_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
7449af73 3 * Version 1.3.27
d55e5bfc
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
d55e5bfc
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};
d55e5bfc
RD
27#endif
28
7449af73
RD
29/***********************************************************************
30 *
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 *
34 ************************************************************************/
d55e5bfc 35
7449af73
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
7449af73 41# define SWIGTEMPLATEDISAMBIGUATOR
093d3ff1
RD
42# endif
43#endif
d55e5bfc 44
7449af73
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
d55e5bfc 96
093d3ff1 97#include <Python.h>
d55e5bfc
RD
98
99/***********************************************************************
093d3ff1 100 * swigrun.swg
d55e5bfc 101 *
093d3ff1
RD
102 * This file contains generic CAPI SWIG runtime support for pointer
103 * type checking.
d55e5bfc
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 */
7449af73 109#define SWIG_RUNTIME_VERSION "2"
d55e5bfc 110
093d3ff1
RD
111/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112#ifdef SWIG_TYPE_TABLE
7449af73
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)
d55e5bfc 116#else
7449af73 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*/
7449af73 128
093d3ff1 129#ifndef SWIGRUNTIME
7449af73 130# define SWIGRUNTIME SWIGINTERN
093d3ff1 131#endif
7449af73 132
093d3ff1 133#ifndef SWIGRUNTIMEINLINE
7449af73 134# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
135#endif
136
7449af73
RD
137#include <string.h>
138
d55e5bfc
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
7449af73 146/* Structure to store inforomation on one type */
d55e5bfc 147typedef struct swig_type_info {
7449af73
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 */
d55e5bfc
RD
153} swig_type_info;
154
7449af73
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;
7449af73 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>|...
7449af73 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 }
7449af73 207 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
093d3ff1
RD
208 if (*ne) ++ne;
209 }
210 return equiv;
211}
212
213/*
7449af73
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*/
7449af73
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 }
7449af73
RD
226 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
227 if (*ne) ++ne;
093d3ff1 228 }
7449af73 229 return equiv;
093d3ff1
RD
230}
231
7449af73
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*/
7449af73 258SWIGRUNTIME swig_cast_info *
093d3ff1 259SWIG_TypeCheck(const char *c, swig_type_info *ty) {
7449af73
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 *
7449af73 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
7449af73
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;
7449af73
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 }
7449af73
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 }
7449af73
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 }
7449af73
RD
414
415 /* neither found a match */
416 return 0;
093d3ff1
RD
417}
418
7449af73 419
093d3ff1
RD
420/*
421 Pack binary data into a string
422*/
423SWIGRUNTIME char *
424SWIG_PackData(char *c, void *ptr, size_t sz) {
7449af73
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) {
7449af73 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;
7449af73 442 register const unsigned char *eu = u + sz;
093d3ff1 443 for (; u != eu; ++u) {
7449af73 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}
d55e5bfc 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}
d55e5bfc
RD
518
519#ifdef __cplusplus
520}
521#endif
522
093d3ff1
RD
523/* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
d55e5bfc 526
093d3ff1
RD
527#ifdef __cplusplus
528extern "C" {
529#endif
c32bde28 530
093d3ff1
RD
531/* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
d55e5bfc 534
093d3ff1 535#ifndef SWIGINTERN
7449af73 536# define SWIGINTERN static SWIGUNUSED
093d3ff1 537#endif
d55e5bfc 538
7449af73
RD
539#ifndef SWIGINTERNINLINE
540# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
093d3ff1 541#endif
d55e5bfc 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 * ----------------------------------------------------------------------------- */
d55e5bfc 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;
d55e5bfc 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
d55e5bfc
RD
587
588#ifdef __cplusplus
093d3ff1
RD
589}
590#endif
d55e5bfc 591
d55e5bfc 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 ************************************************************************/
d55e5bfc 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)
9d7dfdff 607
d55e5bfc 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)
d55e5bfc 612
7449af73
RD
613/* Runtime API */
614#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
d55e5bfc 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
d55e5bfc 628
093d3ff1
RD
629/* Flags for pointer conversion */
630#define SWIG_POINTER_EXCEPTION 0x1
631#define SWIG_POINTER_DISOWN 0x2
d55e5bfc 632
d55e5bfc 633
7449af73
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
d55e5bfc 649
7449af73
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 * ----------------------------------------------------------------------------- */
d55e5bfc 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];
7449af73 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;
d55e5bfc 690 } else {
093d3ff1 691 return 1;
d55e5bfc
RD
692 }
693}
9d7dfdff 694
093d3ff1
RD
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}
d55e5bfc 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}
d55e5bfc 710
093d3ff1
RD
711SWIGRUNTIME PyObject *
712PySwigObject_long(PySwigObject *v)
d55e5bfc 713{
7449af73
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{
7449af73 736 return PySwigObject_format("%o",v);
d55e5bfc
RD
737}
738
093d3ff1
RD
739SWIGRUNTIME PyObject *
740PySwigObject_hex(PySwigObject *v)
d55e5bfc 741{
7449af73 742 return PySwigObject_format("%x",v);
d55e5bfc
RD
743}
744
093d3ff1
RD
745SWIGRUNTIME int
746PySwigObject_compare(PySwigObject *v, PySwigObject *w)
d55e5bfc 747{
093d3ff1
RD
748 int c = strcmp(v->desc, w->desc);
749 if (c) {
7449af73 750 return (c > 0) ? 1 : -1;
093d3ff1
RD
751 } else {
752 void *i = v->ptr;
753 void *j = w->ptr;
7449af73 754 return (i < j) ? -1 : ((i > j) ? 1 : 0);
d55e5bfc 755 }
093d3ff1 756}
d55e5bfc 757
093d3ff1
RD
758SWIGRUNTIME void
759PySwigObject_dealloc(PySwigObject *self)
760{
7449af73 761 PyObject_Del(self);
093d3ff1 762}
d55e5bfc 763
093d3ff1 764SWIGRUNTIME PyTypeObject*
7449af73
RD
765PySwigObject_type(void) {
766 static char pyswigobject_type__doc__[] =
093d3ff1 767 "Swig object carries a C/C++ instance pointer";
9d7dfdff 768
093d3ff1
RD
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*/
7449af73 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 */
7449af73
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
7449af73
RD
800 static PyTypeObject pyswigobject_type
801#if !defined(__cplusplus)
802 ;
803 static int type_init = 0;
093d3ff1 804 if (!type_init) {
7449af73
RD
805 PyTypeObject tmp
806#endif
807 = {
093d3ff1
RD
808 PyObject_HEAD_INIT(&PyType_Type)
809 0, /*ob_size*/
7449af73 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 */
7449af73
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 };
7449af73
RD
847#if !defined(__cplusplus)
848 pyswigobject_type = tmp;
093d3ff1 849 type_init = 1;
c32bde28 850 }
7449af73
RD
851#endif
852 return &pyswigobject_type;
d55e5bfc
RD
853}
854
093d3ff1
RD
855SWIGRUNTIME PyObject *
856PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
857{
7449af73
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}
d55e5bfc 865
093d3ff1
RD
866SWIGRUNTIMEINLINE void *
867PySwigObject_AsVoidPtr(PyObject *self)
d55e5bfc 868{
093d3ff1 869 return ((PySwigObject *)self)->ptr;
d55e5bfc
RD
870}
871
093d3ff1
RD
872SWIGRUNTIMEINLINE const char *
873PySwigObject_GetDesc(PyObject *self)
d55e5bfc 874{
093d3ff1 875 return ((PySwigObject *)self)->desc;
c32bde28
RD
876}
877
093d3ff1
RD
878SWIGRUNTIMEINLINE int
879PySwigObject_Check(PyObject *op) {
7449af73 880 return ((op)->ob_type == PySwigObject_type())
093d3ff1
RD
881 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
882}
c32bde28 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)
c32bde28 897{
093d3ff1 898 char result[SWIG_BUFFER_SIZE];
7449af73 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);
d55e5bfc 904 }
093d3ff1
RD
905 fputs(v->desc,fp);
906 fputs(">", fp);
907 return 0;
c32bde28 908}
9d7dfdff 909
093d3ff1
RD
910SWIGRUNTIME PyObject *
911PySwigPacked_repr(PySwigPacked *v)
c32bde28 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 }
d55e5bfc
RD
919}
920
093d3ff1
RD
921SWIGRUNTIME PyObject *
922PySwigPacked_str(PySwigPacked *v)
d55e5bfc 923{
093d3ff1
RD
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 {
7449af73 928 return PyString_FromString(v->desc);
093d3ff1 929 }
d55e5bfc
RD
930}
931
093d3ff1
RD
932SWIGRUNTIME int
933PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
d55e5bfc 934{
093d3ff1
RD
935 int c = strcmp(v->desc, w->desc);
936 if (c) {
7449af73 937 return (c > 0) ? 1 : -1;
093d3ff1
RD
938 } else {
939 size_t i = v->size;
940 size_t j = w->size;
7449af73 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);
d55e5bfc 943 }
d55e5bfc
RD
944}
945
093d3ff1
RD
946SWIGRUNTIME void
947PySwigPacked_dealloc(PySwigPacked *self)
d55e5bfc 948{
093d3ff1 949 free(self->pack);
7449af73 950 PyObject_Del(self);
d55e5bfc
RD
951}
952
093d3ff1 953SWIGRUNTIME PyTypeObject*
7449af73
RD
954PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__[] =
093d3ff1 956 "Swig object carries a C/C++ instance pointer";
7449af73
RD
957 static PyTypeObject pyswigpacked_type
958#if !defined(__cplusplus)
959 ;
960 static int type_init = 0;
093d3ff1 961 if (!type_init) {
7449af73
RD
962 PyTypeObject tmp
963#endif
964 = {
093d3ff1
RD
965 PyObject_HEAD_INIT(&PyType_Type)
966 0, /*ob_size*/
7449af73 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 */
7449af73
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 };
7449af73
RD
1004#if !defined(__cplusplus)
1005 pyswigpacked_type = tmp;
093d3ff1
RD
1006 type_init = 1;
1007 }
7449af73
RD
1008#endif
1009 return &pyswigpacked_type;
093d3ff1
RD
1010}
1011
1012SWIGRUNTIME PyObject *
1013PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1014{
7449af73 1015 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
093d3ff1
RD
1016 if (self == NULL) {
1017 return NULL;
1018 } else {
1019 void *pack = malloc(size);
7449af73
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;
7e63a440 1028 }
093d3ff1 1029}
d55e5bfc 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}
c32bde28 1039
093d3ff1
RD
1040SWIGRUNTIMEINLINE const char *
1041PySwigPacked_GetDesc(PyObject *self)
1042{
1043 return ((PySwigPacked *)self)->desc;
1044}
c24da6d6 1045
093d3ff1
RD
1046SWIGRUNTIMEINLINE int
1047PySwigPacked_Check(PyObject *op) {
7449af73 1048 return ((op)->ob_type == PySwigPacked_type())
093d3ff1
RD
1049 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1050}
d55e5bfc 1051
093d3ff1
RD
1052#else
1053/* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
d55e5bfc 1056
093d3ff1
RD
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)
d55e5bfc 1061
093d3ff1 1062#endif
d55e5bfc 1063
093d3ff1 1064#endif
d55e5bfc 1065
093d3ff1
RD
1066/* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
d55e5bfc 1069
093d3ff1
RD
1070SWIGRUNTIME void
1071SWIG_Python_TypeError(const char *type, PyObject *obj)
1072{
1073 if (type) {
1074#if defined(SWIG_COBJECT_TYPES)
7449af73 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 }
7449af73 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");
1103 }
1104}
d55e5bfc 1105
093d3ff1
RD
1106SWIGRUNTIMEINLINE void
1107SWIG_Python_NullRef(const char *type)
d55e5bfc 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");
d55e5bfc 1113 }
c32bde28
RD
1114}
1115
093d3ff1
RD
1116SWIGRUNTIME int
1117SWIG_Python_AddErrMesg(const char* mesg, int infront)
c32bde28 1118{
093d3ff1
RD
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 }
d55e5bfc
RD
1139}
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];
7449af73 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}
d55e5bfc 1153
d55e5bfc 1154
093d3ff1
RD
1155/* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
d55e5bfc 1158
093d3ff1
RD
1159/* Convert a pointer value */
1160SWIGRUNTIME int
1161SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
7449af73 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;
9d7dfdff 1168
093d3ff1
RD
1169 if (!obj) return 0;
1170 if (obj == Py_None) {
1171 *ptr = 0;
1172 return 0;
1173 }
d55e5bfc 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 }
7449af73 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
d55e5bfc 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;
d55e5bfc 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) {
7449af73 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}
d55e5bfc 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);
1259 }
1260 }
1261 return result;
1262}
d55e5bfc 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) {
7449af73 1267 swig_cast_info *tc;
093d3ff1 1268 const char *c = 0;
d55e5bfc 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;
7449af73 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;
d55e5bfc 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 }
1293 }
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;
7449af73
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;
1335}
1336
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;
1354}
d55e5bfc 1355
093d3ff1
RD
1356/* -----------------------------------------------------------------------------*
1357 * Get type list
1358 * -----------------------------------------------------------------------------*/
d55e5bfc 1359
093d3ff1
RD
1360#ifdef SWIG_LINK_RUNTIME
1361void *SWIG_ReturnGlobalTypeList(void *);
1362#endif
d55e5bfc 1363
7449af73
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);
d55e5bfc 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 }
d55e5bfc 1378#endif
7449af73
RD
1379 }
1380 return (swig_module_info *) type_pointer;
093d3ff1 1381}
d55e5bfc 1382
7449af73
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}
7449af73 1413#endif
d55e5bfc 1414
7449af73
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}
d55e5bfc 1426
093d3ff1
RD
1427#ifdef __cplusplus
1428}
1429#endif
d55e5bfc 1430
5e483524 1431
093d3ff1 1432/* -------- TYPES TABLE (BEGIN) -------- */
d55e5bfc 1433
7449af73
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)
d55e5bfc 1576
093d3ff1 1577/* -------- TYPES TABLE (END) -------- */
d55e5bfc 1578
d55e5bfc 1579
093d3ff1
RD
1580/*-----------------------------------------------
1581 @(target):= _gdi_.so
1582 ------------------------------------------------*/
1583#define SWIG_init init_gdi_
d55e5bfc 1584
093d3ff1 1585#define SWIG_name "_gdi_"
d55e5bfc 1586
093d3ff1
RD
1587#include "wx/wxPython/wxPython.h"
1588#include "wx/wxPython/pyclasses.h"
1589
d55e5bfc 1590
093d3ff1 1591 static const wxString wxPyEmptyString(wxEmptyString);
d55e5bfc 1592
093d3ff1 1593#include <limits.h>
d55e5bfc
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}
d55e5bfc 1617
d55e5bfc 1618
093d3ff1
RD
1619SWIGINTERN int
1620SWIG_AsVal_long(PyObject* obj, long* val)
d55e5bfc 1621{
c32bde28 1622 if (PyNumber_Check(obj)) {
093d3ff1 1623 if (val) *val = PyInt_AsLong(obj);
c32bde28
RD
1624 return 1;
1625 }
d55e5bfc 1626 else {
7e08d4ef 1627 SWIG_Python_TypeError("number", obj);
d55e5bfc 1628 }
c32bde28 1629 return 0;
d55e5bfc
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)) {
7449af73 1641 if (val) *val = static_cast<int >(v);
093d3ff1
RD
1642 return 1;
1643 } else {
1644 return 0;
1645 }
1646 } else {
1647 PyErr_Clear();
1648 }
1649 if (val) {
1650 SWIG_type_error(errmsg, obj);
1651 }
1652 return 0;
1653}
1654#else
7449af73 1655SWIGINTERNINLINE int
093d3ff1 1656 SWIG_AsVal_int(PyObject *obj, int *val)
d55e5bfc 1657{
093d3ff1
RD
1658 return SWIG_AsVal_long(obj,(long*)val);
1659}
1660#endif
1661
1662
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}
1686
1687
7449af73 1688SWIGINTERNINLINE bool
093d3ff1
RD
1689SWIG_As_bool(PyObject* obj)
1690{
1691 bool v;
1692 if (!SWIG_AsVal_bool(obj, &v)) {
c32bde28 1693 /*
093d3ff1 1694 this is needed to make valgrind/purify happier.
c32bde28 1695 */
093d3ff1 1696 memset((void*)&v, 0, sizeof(bool));
d55e5bfc 1697 }
c32bde28
RD
1698 return v;
1699}
1700
1701
7449af73 1702SWIGINTERNINLINE int
093d3ff1 1703SWIG_Check_bool(PyObject* obj)
c32bde28 1704{
093d3ff1 1705 return SWIG_AsVal_bool(obj, (bool*)0);
d55e5bfc
RD
1706}
1707
c32bde28 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}
c32bde28 1720
d55e5bfc 1721
7449af73 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 }
1737
1738
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)) {
7449af73 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;
d55e5bfc
RD
1758}
1759
1760
7449af73 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}
d55e5bfc 1773
093d3ff1 1774
7449af73 1775SWIGINTERNINLINE int
093d3ff1
RD
1776SWIG_Check_unsigned_SS_char(PyObject* obj)
1777{
1778 return SWIG_AsVal_unsigned_SS_char(obj, (unsigned char*)0);
1779}
d55e5bfc 1780
d55e5bfc 1781
7449af73 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}
d55e5bfc 1794
093d3ff1 1795
7449af73 1796SWIGINTERNINLINE int
093d3ff1
RD
1797SWIG_Check_unsigned_SS_long(PyObject* obj)
1798{
1799 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1800}
d55e5bfc
RD
1801
1802
7e08d4ef 1803 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
1804#define SWIG_From_unsigned_SS_char PyInt_FromLong
1805/*@@*/
d55e5bfc 1806
d55e5bfc 1807
7e08d4ef 1808 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
1809#define SWIG_From_long PyInt_FromLong
1810/*@@*/
d55e5bfc 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 }
1830
7449af73 1831SWIGINTERNINLINE PyObject*
093d3ff1
RD
1832 SWIG_From_unsigned_SS_long(unsigned long value)
1833{
1834 return (value > LONG_MAX) ?
1835 PyLong_FromUnsignedLong(value)
7449af73 1836 : PyInt_FromLong(static_cast<long >(value));
d55e5bfc
RD
1837}
1838
1839
7449af73 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;
d55e5bfc
RD
1851}
1852
093d3ff1 1853
7449af73 1854SWIGINTERNINLINE int
093d3ff1
RD
1855SWIG_Check_int(PyObject* obj)
1856{
1857 return SWIG_AsVal_int(obj, (int*)0);
d55e5bfc
RD
1858}
1859
1860
7e08d4ef 1861 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
1862#define SWIG_From_int PyInt_FromLong
1863/*@@*/
d55e5bfc
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 }
d55e5bfc
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);
d55e5bfc 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; }
d55e5bfc 1926
093d3ff1 1927#include <wx/image.h>
d55e5bfc 1928
093d3ff1
RD
1929 static char** ConvertListOfStrings(PyObject* listOfStrings) {
1930 char** cArray = NULL;
1931 int count;
d55e5bfc 1932
093d3ff1
RD
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];
d55e5bfc 1939
093d3ff1
RD
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;
d55e5bfc 1945 }
d55e5bfc
RD
1946
1947
093d3ff1
RD
1948static wxBitmap *new_wxBitmap(PyObject *listOfStrings){
1949 char** cArray = NULL;
1950 wxBitmap* bmp;
d55e5bfc 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 }
d55e5bfc 1965
7449af73 1966SWIGINTERNINLINE long
093d3ff1
RD
1967SWIG_As_long(PyObject* obj)
1968{
1969 long v;
1970 if (!SWIG_AsVal_long(obj, &v)) {
1971 /*
1972 this is needed to make valgrind/purify happier.
1973 */
1974 memset((void*)&v, 0, sizeof(long));
1975 }
1976 return v;
d55e5bfc
RD
1977}
1978
093d3ff1 1979
7449af73 1980SWIGINTERNINLINE int
093d3ff1
RD
1981SWIG_Check_long(PyObject* obj)
1982{
1983 return SWIG_AsVal_long(obj, (long*)0);
1984}
d55e5bfc 1985
093d3ff1
RD
1986static void wxBitmap_SetHandle(wxBitmap *self,long handle){ self->SetHandle((WXHANDLE)handle); }
1987static wxSize wxBitmap_GetSize(wxBitmap *self){
1988 wxSize size(self->GetWidth(), self->GetHeight());
1989 return size;
1990 }
1991static void wxBitmap_SetMaskColour(wxBitmap *self,wxColour const &colour){
1992 wxMask *mask = new wxMask(*self, colour);
1993 self->SetMask(mask);
1994 }
1995static void wxBitmap_SetSize(wxBitmap *self,wxSize const &size){
1996 self->SetWidth(size.x);
1997 self->SetHeight(size.y);
1998 }
1999static bool wxBitmap___eq__(wxBitmap *self,wxBitmap const *other){ return other ? (*self == *other) : false; }
2000static bool wxBitmap___ne__(wxBitmap *self,wxBitmap const *other){ return other ? (*self != *other) : true; }
2001static wxMask *new_wxMask(wxBitmap const &bitmap,wxColour const &colour=wxNullColour){
2002 if ( !colour.Ok() )
2003 return new wxMask(bitmap, *wxBLACK);
2004 else
2005 return new wxMask(bitmap, colour);
2006 }
d55e5bfc 2007
093d3ff1 2008#include <wx/iconbndl.h>
d55e5bfc 2009
093d3ff1
RD
2010static wxIcon *new_wxIcon(wxBitmap const &bmp){
2011 wxIcon* icon = new wxIcon();
2012 icon->CopyFromBitmap(bmp);
2013 return icon;
2014 }
2015static wxIcon *new_wxIcon(PyObject *listOfStrings){
2016 char** cArray = NULL;
2017 wxIcon* icon;
d55e5bfc 2018
093d3ff1
RD
2019 cArray = ConvertListOfStrings(listOfStrings);
2020 if (! cArray)
2021 return NULL;
2022 icon = new wxIcon(cArray);
2023 delete [] cArray;
2024 return icon;
2025 }
2026static void wxIcon_SetHandle(wxIcon *self,long handle){ self->SetHandle((WXHANDLE)handle); }
2027static wxIconLocation *new_wxIconLocation(wxString const *filename=&wxPyEmptyString,int num=0){
d55e5bfc 2028
093d3ff1 2029 return new wxIconLocation(*filename, num);
d55e5bfc
RD
2030
2031
d55e5bfc 2032
093d3ff1
RD
2033 }
2034static void wxIconLocation_SetIndex(wxIconLocation *self,int num){
d55e5bfc 2035
093d3ff1 2036 self->SetIndex(num);
d55e5bfc
RD
2037
2038
d55e5bfc 2039
093d3ff1
RD
2040 }
2041static int wxIconLocation_GetIndex(wxIconLocation *self){
d55e5bfc 2042
093d3ff1 2043 return self->GetIndex();
d55e5bfc
RD
2044
2045
d55e5bfc 2046
093d3ff1 2047 }
fef4c27a 2048static wxCursor *new_wxCursor(wxString const &cursorName,long type,int hotSpotX=0,int hotSpotY=0){
093d3ff1 2049#ifdef __WXGTK__
fef4c27a
RD
2050 wxImage img(cursorName, type);
2051 img.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X, hotSpotX);
2052 img.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y, hotSpotY);
2053 return new wxCursor(img);
093d3ff1 2054#else
fef4c27a 2055 return new wxCursor(cursorName, type, hotSpotX, hotSpotY);
093d3ff1
RD
2056#endif
2057 }
2058static void wxCursor_SetHandle(wxCursor *self,long handle){ self->SetHandle((WXHANDLE)handle); }
d55e5bfc 2059
093d3ff1
RD
2060
2061static void wxRegionIterator_Next(wxRegionIterator *self){
2062 (*self) ++;
2063 }
2064static bool wxRegionIterator___nonzero__(wxRegionIterator *self){
2065 return self->operator bool();
2066 }
2067
2068#include <wx/fontutil.h>
2069#include <wx/fontmap.h>
2070#include <wx/fontenum.h>
2071
2072static wxString wxNativeFontInfo___str__(wxNativeFontInfo *self){
2073 return self->ToString();
2074 }
2075
2076 wxNativeEncodingInfo* wxGetNativeFontEncoding(wxFontEncoding encoding)
2077 { wxPyRaiseNotImplemented(); return NULL; }
2078
2079 bool wxTestFontEncoding(const wxNativeEncodingInfo& info)
2080 { wxPyRaiseNotImplemented(); return false; }
2081
2082static PyObject *wxFontMapper_GetAltForEncoding(wxFontMapper *self,wxFontEncoding encoding,wxString const &facename=wxPyEmptyString,bool interactive=true){
2083 wxFontEncoding alt_enc;
2084 if (self->GetAltForEncoding(encoding, &alt_enc, facename, interactive))
2085 return PyInt_FromLong(alt_enc);
2086 else {
2087 Py_INCREF(Py_None);
2088 return Py_None;
2089 }
2090 }
2091static wxFont *new_wxFont(wxString const &info){
a97cefba
RD
2092 wxNativeFontInfo nfi;
2093 nfi.FromString(info);
2094 return new wxFont(nfi);
2095 }
093d3ff1 2096static wxFont *new_wxFont(int pointSize,wxFontFamily family,int flags=wxFONTFLAG_DEFAULT,wxString const &face=wxPyEmptyString,wxFontEncoding encoding=wxFONTENCODING_DEFAULT){
a97cefba
RD
2097 return wxFont::New(pointSize, family, flags, face, encoding);
2098 }
093d3ff1 2099static 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
2100 return wxFontBase::New(pixelSize, family,
2101 style, weight, underlined,
2102 face, encoding);
2103 }
2104static wxFont *new_wxFont(wxSize const &pixelSize,wxFontFamily family,int flags=wxFONTFLAG_DEFAULT,wxString const &face=wxEmptyString,wxFontEncoding encoding=wxFONTENCODING_DEFAULT){
2105 return wxFontBase::New(pixelSize, family, flags, face, encoding);
2106 }
093d3ff1
RD
2107static bool wxFont___eq__(wxFont *self,wxFont const *other){ return other ? (*self == *other) : false; }
2108static bool wxFont___ne__(wxFont *self,wxFont const *other){ return other ? (*self != *other) : true; }
2109
2110class wxPyFontEnumerator : public wxFontEnumerator {
2111public:
2112 wxPyFontEnumerator() {}
2113 ~wxPyFontEnumerator() {}
2114
2115 DEC_PYCALLBACK_BOOL_STRING(OnFacename);
2116 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding);
2117
2118 PYPRIVATE;
2119};
2120
2121IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator, wxFontEnumerator, OnFacename);
2122IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator, wxFontEnumerator, OnFontEncoding);
2123
2124
2125static PyObject *wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator *self){
2126 wxArrayString* arr = self->GetEncodings();
2127 if (arr)
2128 return wxArrayString2PyList_helper(*arr);
2129 else
2130 return PyList_New(0);
2131 }
2132static PyObject *wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator *self){
2133 wxArrayString* arr = self->GetFacenames();
2134 if (arr)
2135 return wxArrayString2PyList_helper(*arr);
2136 else
2137 return PyList_New(0);
2138 }
2139
2140#include <locale.h>
2141
2142static wxLocale *new_wxLocale(int language=-1,int flags=wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING){
2143 wxLocale* loc;
2144 if (language == -1)
2145 loc = new wxLocale();
2146 else
2147 loc = new wxLocale(language, flags);
2148 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2149 // for the floating point conversions and such to work right.
2150#if PY_VERSION_HEX < 0x02040000
2151 setlocale(LC_NUMERIC, "C");
2152#endif
2153 return loc;
2154 }
2155static bool wxLocale_Init1(wxLocale *self,wxString const &szName,wxString const &szShort=wxPyEmptyString,wxString const &szLocale=wxPyEmptyString,bool bLoadDefault=true,bool bConvertEncoding=false){
2156 bool rc = self->Init(szName, szShort, szLocale, bLoadDefault, bConvertEncoding);
2157 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2158 // for the floating point conversions and such to work right.
2159#if PY_VERSION_HEX < 0x02040000
2160 setlocale(LC_NUMERIC, "C");
2161#endif
2162 return rc;
2163 }
2164static bool wxLocale_Init2(wxLocale *self,int language=wxLANGUAGE_DEFAULT,int flags=wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING){
2165 bool rc = self->Init(language, flags);
2166 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
2167 // for the floating point conversions and such to work right.
2168#if PY_VERSION_HEX < 0x02040000
2169 setlocale(LC_NUMERIC, "C");
2170#endif
2171 return rc;
2172 }
2173
2174#include "wx/wxPython/pydrawxxx.h"
2175
2176static wxColour wxDC_GetPixel(wxDC *self,int x,int y){
2177 wxColour col;
2178 self->GetPixel(x, y, &col);
2179 return col;
2180 }
2181static wxColour wxDC_GetPixelPoint(wxDC *self,wxPoint const &pt){
2182 wxColour col;
2183 self->GetPixel(pt, &col);
2184 return col;
2185 }
2186
2187SWIGINTERN int
2188SWIG_AsVal_double(PyObject *obj, double* val)
2189{
2190 if (PyNumber_Check(obj)) {
2191 if (val) *val = PyFloat_AsDouble(obj);
2192 return 1;
d55e5bfc 2193 }
093d3ff1 2194 else {
7e08d4ef 2195 SWIG_Python_TypeError("number", obj);
093d3ff1
RD
2196 }
2197 return 0;
d55e5bfc
RD
2198}
2199
2200
7449af73 2201SWIGINTERNINLINE double
093d3ff1
RD
2202SWIG_As_double(PyObject* obj)
2203{
2204 double v;
2205 if (!SWIG_AsVal_double(obj, &v)) {
2206 /*
2207 this is needed to make valgrind/purify happier.
2208 */
2209 memset((void*)&v, 0, sizeof(double));
2210 }
2211 return v;
2212}
2213
2214
7449af73 2215SWIGINTERNINLINE int
093d3ff1
RD
2216SWIG_Check_double(PyObject* obj)
2217{
2218 return SWIG_AsVal_double(obj, (double*)0);
2219}
2220
2221static wxRect wxDC_DrawImageLabel(wxDC *self,wxString const &text,wxBitmap const &image,wxRect const &rect,int alignment=wxALIGN_LEFT|wxALIGN_TOP,int indexAccel=-1){
2222 wxRect rv;
2223 self->DrawLabel(text, image, rect, alignment, indexAccel, &rv);
2224 return rv;
2225 }
2226
2227static wxRect wxDC_GetClippingRect(wxDC *self){
2228 wxRect rect;
2229 self->GetClippingBox(rect);
2230 return rect;
2231 }
2232static wxArrayInt wxDC_GetPartialTextExtents(wxDC *self,wxString const &text){
2233 wxArrayInt widths;
2234 self->GetPartialTextExtents(text, widths);
2235 return widths;
2236 }
2237
7e08d4ef 2238 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
2239#define SWIG_From_double PyFloat_FromDouble
2240/*@@*/
2241
2242
2243static void wxDC_SetLogicalOriginPoint(wxDC *self,wxPoint const &point){
2244 self->SetLogicalOrigin(point.x, point.y);
2245 }
2246static void wxDC_SetDeviceOriginPoint(wxDC *self,wxPoint const &point){
2247 self->SetDeviceOrigin(point.x, point.y);
2248 }
2249static void wxDC_CalcBoundingBoxPoint(wxDC *self,wxPoint const &point){
2250 self->CalcBoundingBox(point.x, point.y);
2251 }
2252static PyObject *wxDC__DrawPointList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
2253 return wxPyDrawXXXList(*self, wxPyDrawXXXPoint, pyCoords, pyPens, pyBrushes);
2254 }
2255static PyObject *wxDC__DrawLineList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
2256 return wxPyDrawXXXList(*self, wxPyDrawXXXLine, pyCoords, pyPens, pyBrushes);
2257 }
2258static PyObject *wxDC__DrawRectangleList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
2259 return wxPyDrawXXXList(*self, wxPyDrawXXXRectangle, pyCoords, pyPens, pyBrushes);
2260 }
2261static PyObject *wxDC__DrawEllipseList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
2262 return wxPyDrawXXXList(*self, wxPyDrawXXXEllipse, pyCoords, pyPens, pyBrushes);
2263 }
2264static PyObject *wxDC__DrawPolygonList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
2265 return wxPyDrawXXXList(*self, wxPyDrawXXXPolygon, pyCoords, pyPens, pyBrushes);
2266 }
2267static PyObject *wxDC__DrawTextList(wxDC *self,PyObject *textList,PyObject *pyPoints,PyObject *foregroundList,PyObject *backgroundList){
2268 return wxPyDrawTextList(*self, textList, pyPoints, foregroundList, backgroundList);
2269 }
2270
2271static void wxDC_GetBoundingBox(wxDC* dc, int* x1, int* y1, int* x2, int* y2) {
2272 *x1 = dc->MinX();
2273 *y1 = dc->MinY();
2274 *x2 = dc->MaxX();
2275 *y2 = dc->MaxY();
2276}
2277
2278
2279#include <wx/dcbuffer.h>
2280
2281
2282#include <wx/dcps.h>
2283
2284
2285#include <wx/metafile.h>
2286
2287
2288
2289static void wxColourDatabase_Append(wxColourDatabase *self,wxString const &name,int red,int green,int blue){
2290 self->AddColour(name, wxColour(red, green, blue));
2291 }
2292
2293#include <wx/effects.h>
2294
be9b1dca
RD
2295
2296#include "wx/renderer.h"
2297
2298
7449af73 2299SWIGINTERNINLINE PyObject*
be9b1dca
RD
2300 SWIG_From_bool(bool value)
2301{
2302 PyObject *obj = value ? Py_True : Py_False;
2303 Py_INCREF(obj);
2304 return obj;
2305}
2306
093d3ff1
RD
2307#ifdef __cplusplus
2308extern "C" {
2309#endif
2310static PyObject *_wrap_new_GDIObject(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2311 PyObject *resultobj = NULL;
093d3ff1 2312 wxGDIObject *result;
d55e5bfc 2313 char *kwnames[] = {
093d3ff1 2314 NULL
d55e5bfc
RD
2315 };
2316
093d3ff1 2317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GDIObject",kwnames)) goto fail;
d55e5bfc 2318 {
093d3ff1 2319 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 2320 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2321 result = (wxGDIObject *)new wxGDIObject();
d55e5bfc
RD
2322
2323 wxPyEndAllowThreads(__tstate);
2324 if (PyErr_Occurred()) SWIG_fail;
2325 }
093d3ff1 2326 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGDIObject, 1);
d55e5bfc
RD
2327 return resultobj;
2328 fail:
2329 return NULL;
2330}
2331
2332
093d3ff1 2333static PyObject *_wrap_delete_GDIObject(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2334 PyObject *resultobj = NULL;
093d3ff1 2335 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
d55e5bfc
RD
2336 PyObject * obj0 = 0 ;
2337 char *kwnames[] = {
2338 (char *) "self", NULL
2339 };
2340
093d3ff1
RD
2341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GDIObject",kwnames,&obj0)) goto fail;
2342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGDIObject, SWIG_POINTER_EXCEPTION | 0);
2343 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2344 {
2345 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2346 delete arg1;
d55e5bfc
RD
2347
2348 wxPyEndAllowThreads(__tstate);
2349 if (PyErr_Occurred()) SWIG_fail;
2350 }
093d3ff1 2351 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
2352 return resultobj;
2353 fail:
2354 return NULL;
2355}
2356
2357
093d3ff1 2358static PyObject *_wrap_GDIObject_GetVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2359 PyObject *resultobj = NULL;
093d3ff1
RD
2360 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
2361 bool result;
d55e5bfc 2362 PyObject * obj0 = 0 ;
d55e5bfc 2363 char *kwnames[] = {
093d3ff1 2364 (char *) "self", NULL
d55e5bfc
RD
2365 };
2366
093d3ff1
RD
2367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GDIObject_GetVisible",kwnames,&obj0)) goto fail;
2368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGDIObject, SWIG_POINTER_EXCEPTION | 0);
2369 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2370 {
2371 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2372 result = (bool)(arg1)->GetVisible();
d55e5bfc
RD
2373
2374 wxPyEndAllowThreads(__tstate);
110da5b0 2375 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2376 }
093d3ff1
RD
2377 {
2378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2379 }
d55e5bfc
RD
2380 return resultobj;
2381 fail:
2382 return NULL;
2383}
2384
2385
093d3ff1 2386static PyObject *_wrap_GDIObject_SetVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2387 PyObject *resultobj = NULL;
093d3ff1
RD
2388 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
2389 bool arg2 ;
d55e5bfc 2390 PyObject * obj0 = 0 ;
093d3ff1 2391 PyObject * obj1 = 0 ;
d55e5bfc 2392 char *kwnames[] = {
093d3ff1 2393 (char *) "self",(char *) "visible", NULL
d55e5bfc
RD
2394 };
2395
093d3ff1
RD
2396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GDIObject_SetVisible",kwnames,&obj0,&obj1)) goto fail;
2397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGDIObject, SWIG_POINTER_EXCEPTION | 0);
2398 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 2399 {
7449af73 2400 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1 2401 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 2402 }
d55e5bfc
RD
2403 {
2404 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2405 (arg1)->SetVisible(arg2);
d55e5bfc
RD
2406
2407 wxPyEndAllowThreads(__tstate);
2408 if (PyErr_Occurred()) SWIG_fail;
2409 }
093d3ff1 2410 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
2411 return resultobj;
2412 fail:
2413 return NULL;
2414}
2415
2416
093d3ff1 2417static PyObject *_wrap_GDIObject_IsNull(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2418 PyObject *resultobj = NULL;
093d3ff1 2419 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
d55e5bfc 2420 bool result;
d55e5bfc 2421 PyObject * obj0 = 0 ;
d55e5bfc 2422 char *kwnames[] = {
093d3ff1 2423 (char *) "self", NULL
d55e5bfc
RD
2424 };
2425
093d3ff1
RD
2426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GDIObject_IsNull",kwnames,&obj0)) goto fail;
2427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGDIObject, SWIG_POINTER_EXCEPTION | 0);
2428 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2429 {
2430 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2431 result = (bool)(arg1)->IsNull();
d55e5bfc
RD
2432
2433 wxPyEndAllowThreads(__tstate);
2434 if (PyErr_Occurred()) SWIG_fail;
2435 }
2436 {
2437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2438 }
d55e5bfc
RD
2439 return resultobj;
2440 fail:
2441 return NULL;
2442}
2443
2444
093d3ff1
RD
2445static PyObject * GDIObject_swigregister(PyObject *, PyObject *args) {
2446 PyObject *obj;
2447 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2448 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject, obj);
2449 Py_INCREF(obj);
2450 return Py_BuildValue((char *)"");
2451}
2452static PyObject *_wrap_new_Colour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2453 PyObject *resultobj = NULL;
093d3ff1
RD
2454 byte arg1 = (byte) 0 ;
2455 byte arg2 = (byte) 0 ;
2456 byte arg3 = (byte) 0 ;
2457 wxColour *result;
b519803b 2458 PyObject * obj0 = 0 ;
093d3ff1
RD
2459 PyObject * obj1 = 0 ;
2460 PyObject * obj2 = 0 ;
b519803b 2461 char *kwnames[] = {
093d3ff1 2462 (char *) "red",(char *) "green",(char *) "blue", NULL
b519803b
RD
2463 };
2464
093d3ff1
RD
2465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_Colour",kwnames,&obj0,&obj1,&obj2)) goto fail;
2466 if (obj0) {
2467 {
7449af73 2468 arg1 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj0));
093d3ff1
RD
2469 if (SWIG_arg_fail(1)) SWIG_fail;
2470 }
2471 }
2472 if (obj1) {
2473 {
7449af73 2474 arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
093d3ff1
RD
2475 if (SWIG_arg_fail(2)) SWIG_fail;
2476 }
2477 }
2478 if (obj2) {
2479 {
7449af73 2480 arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
093d3ff1
RD
2481 if (SWIG_arg_fail(3)) SWIG_fail;
2482 }
2483 }
b519803b
RD
2484 {
2485 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2486 result = (wxColour *)new wxColour(arg1,arg2,arg3);
b519803b
RD
2487
2488 wxPyEndAllowThreads(__tstate);
2489 if (PyErr_Occurred()) SWIG_fail;
2490 }
093d3ff1 2491 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 1);
b519803b
RD
2492 return resultobj;
2493 fail:
2494 return NULL;
2495}
2496
2497
093d3ff1 2498static PyObject *_wrap_new_NamedColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2499 PyObject *resultobj = NULL;
093d3ff1
RD
2500 wxString *arg1 = 0 ;
2501 wxColour *result;
2502 bool temp1 = false ;
d55e5bfc
RD
2503 PyObject * obj0 = 0 ;
2504 char *kwnames[] = {
093d3ff1 2505 (char *) "colorName", NULL
d55e5bfc
RD
2506 };
2507
093d3ff1
RD
2508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NamedColour",kwnames,&obj0)) goto fail;
2509 {
2510 arg1 = wxString_in_helper(obj0);
2511 if (arg1 == NULL) SWIG_fail;
2512 temp1 = true;
2513 }
d55e5bfc 2514 {
093d3ff1 2515 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 2516 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2517 result = (wxColour *)new wxColour((wxString const &)*arg1);
d55e5bfc
RD
2518
2519 wxPyEndAllowThreads(__tstate);
2520 if (PyErr_Occurred()) SWIG_fail;
2521 }
093d3ff1 2522 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 1);
d55e5bfc 2523 {
093d3ff1
RD
2524 if (temp1)
2525 delete arg1;
d55e5bfc
RD
2526 }
2527 return resultobj;
2528 fail:
093d3ff1
RD
2529 {
2530 if (temp1)
2531 delete arg1;
2532 }
d55e5bfc
RD
2533 return NULL;
2534}
2535
2536
093d3ff1 2537static PyObject *_wrap_new_ColourRGB(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2538 PyObject *resultobj = NULL;
093d3ff1
RD
2539 unsigned long arg1 ;
2540 wxColour *result;
d55e5bfc 2541 PyObject * obj0 = 0 ;
d55e5bfc 2542 char *kwnames[] = {
093d3ff1 2543 (char *) "colRGB", NULL
d55e5bfc
RD
2544 };
2545
093d3ff1 2546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ColourRGB",kwnames,&obj0)) goto fail;
d55e5bfc 2547 {
7449af73 2548 arg1 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0));
093d3ff1 2549 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2550 }
2551 {
2552 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2553 result = (wxColour *)new wxColour(arg1);
d55e5bfc
RD
2554
2555 wxPyEndAllowThreads(__tstate);
110da5b0 2556 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2557 }
093d3ff1 2558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 1);
d55e5bfc
RD
2559 return resultobj;
2560 fail:
2561 return NULL;
2562}
2563
2564
093d3ff1 2565static PyObject *_wrap_delete_Colour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2566 PyObject *resultobj = NULL;
093d3ff1 2567 wxColour *arg1 = (wxColour *) 0 ;
d55e5bfc
RD
2568 PyObject * obj0 = 0 ;
2569 char *kwnames[] = {
2570 (char *) "self", NULL
2571 };
2572
093d3ff1
RD
2573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Colour",kwnames,&obj0)) goto fail;
2574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2575 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2576 {
2577 PyThreadState* __tstate = wxPyBeginAllowThreads();
2578 delete arg1;
2579
2580 wxPyEndAllowThreads(__tstate);
2581 if (PyErr_Occurred()) SWIG_fail;
2582 }
2583 Py_INCREF(Py_None); resultobj = Py_None;
2584 return resultobj;
2585 fail:
2586 return NULL;
2587}
2588
2589
093d3ff1 2590static PyObject *_wrap_Colour_Red(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2591 PyObject *resultobj = NULL;
093d3ff1
RD
2592 wxColour *arg1 = (wxColour *) 0 ;
2593 byte result;
d55e5bfc
RD
2594 PyObject * obj0 = 0 ;
2595 char *kwnames[] = {
2596 (char *) "self", NULL
2597 };
2598
093d3ff1
RD
2599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Red",kwnames,&obj0)) goto fail;
2600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2601 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2602 {
2603 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2604 result = (byte)(arg1)->Red();
d55e5bfc
RD
2605
2606 wxPyEndAllowThreads(__tstate);
2607 if (PyErr_Occurred()) SWIG_fail;
2608 }
093d3ff1 2609 {
7449af73 2610 resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
093d3ff1 2611 }
d55e5bfc
RD
2612 return resultobj;
2613 fail:
2614 return NULL;
2615}
2616
2617
093d3ff1 2618static PyObject *_wrap_Colour_Green(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2619 PyObject *resultobj = NULL;
093d3ff1
RD
2620 wxColour *arg1 = (wxColour *) 0 ;
2621 byte result;
d55e5bfc
RD
2622 PyObject * obj0 = 0 ;
2623 char *kwnames[] = {
2624 (char *) "self", NULL
2625 };
2626
093d3ff1
RD
2627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Green",kwnames,&obj0)) goto fail;
2628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2629 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2630 {
2631 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2632 result = (byte)(arg1)->Green();
d55e5bfc
RD
2633
2634 wxPyEndAllowThreads(__tstate);
2635 if (PyErr_Occurred()) SWIG_fail;
2636 }
2637 {
7449af73 2638 resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
d55e5bfc
RD
2639 }
2640 return resultobj;
2641 fail:
2642 return NULL;
2643}
2644
2645
093d3ff1 2646static PyObject *_wrap_Colour_Blue(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2647 PyObject *resultobj = NULL;
093d3ff1
RD
2648 wxColour *arg1 = (wxColour *) 0 ;
2649 byte result;
d55e5bfc
RD
2650 PyObject * obj0 = 0 ;
2651 char *kwnames[] = {
2652 (char *) "self", NULL
2653 };
2654
093d3ff1
RD
2655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Blue",kwnames,&obj0)) goto fail;
2656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2657 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2658 {
2659 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2660 result = (byte)(arg1)->Blue();
d55e5bfc
RD
2661
2662 wxPyEndAllowThreads(__tstate);
2663 if (PyErr_Occurred()) SWIG_fail;
2664 }
093d3ff1 2665 {
7449af73 2666 resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
093d3ff1 2667 }
d55e5bfc
RD
2668 return resultobj;
2669 fail:
2670 return NULL;
2671}
2672
2673
093d3ff1 2674static PyObject *_wrap_Colour_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2675 PyObject *resultobj = NULL;
093d3ff1
RD
2676 wxColour *arg1 = (wxColour *) 0 ;
2677 bool result;
d55e5bfc
RD
2678 PyObject * obj0 = 0 ;
2679 char *kwnames[] = {
2680 (char *) "self", NULL
2681 };
2682
093d3ff1
RD
2683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Ok",kwnames,&obj0)) goto fail;
2684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2685 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2686 {
2687 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2688 result = (bool)(arg1)->Ok();
d55e5bfc
RD
2689
2690 wxPyEndAllowThreads(__tstate);
2691 if (PyErr_Occurred()) SWIG_fail;
2692 }
093d3ff1
RD
2693 {
2694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2695 }
d55e5bfc
RD
2696 return resultobj;
2697 fail:
2698 return NULL;
2699}
2700
2701
093d3ff1 2702static PyObject *_wrap_Colour_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2703 PyObject *resultobj = NULL;
093d3ff1
RD
2704 wxColour *arg1 = (wxColour *) 0 ;
2705 byte arg2 ;
2706 byte arg3 ;
2707 byte arg4 ;
d55e5bfc 2708 PyObject * obj0 = 0 ;
093d3ff1
RD
2709 PyObject * obj1 = 0 ;
2710 PyObject * obj2 = 0 ;
2711 PyObject * obj3 = 0 ;
d55e5bfc 2712 char *kwnames[] = {
093d3ff1 2713 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
d55e5bfc
RD
2714 };
2715
093d3ff1
RD
2716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Colour_Set",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2718 if (SWIG_arg_fail(1)) SWIG_fail;
2719 {
7449af73 2720 arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
093d3ff1
RD
2721 if (SWIG_arg_fail(2)) SWIG_fail;
2722 }
2723 {
7449af73 2724 arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
093d3ff1
RD
2725 if (SWIG_arg_fail(3)) SWIG_fail;
2726 }
2727 {
7449af73 2728 arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
093d3ff1
RD
2729 if (SWIG_arg_fail(4)) SWIG_fail;
2730 }
d55e5bfc
RD
2731 {
2732 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2733 (arg1)->Set(arg2,arg3,arg4);
d55e5bfc
RD
2734
2735 wxPyEndAllowThreads(__tstate);
2736 if (PyErr_Occurred()) SWIG_fail;
2737 }
093d3ff1 2738 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
2739 return resultobj;
2740 fail:
2741 return NULL;
2742}
2743
2744
093d3ff1 2745static PyObject *_wrap_Colour_SetRGB(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2746 PyObject *resultobj = NULL;
093d3ff1
RD
2747 wxColour *arg1 = (wxColour *) 0 ;
2748 unsigned long arg2 ;
d55e5bfc 2749 PyObject * obj0 = 0 ;
093d3ff1 2750 PyObject * obj1 = 0 ;
d55e5bfc 2751 char *kwnames[] = {
093d3ff1 2752 (char *) "self",(char *) "colRGB", NULL
d55e5bfc
RD
2753 };
2754
093d3ff1
RD
2755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour_SetRGB",kwnames,&obj0,&obj1)) goto fail;
2756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2757 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 2758 {
7449af73 2759 arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
2760 if (SWIG_arg_fail(2)) SWIG_fail;
2761 }
2762 {
2763 PyThreadState* __tstate = wxPyBeginAllowThreads();
2764 (arg1)->Set(arg2);
d55e5bfc
RD
2765
2766 wxPyEndAllowThreads(__tstate);
2767 if (PyErr_Occurred()) SWIG_fail;
2768 }
093d3ff1 2769 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
2770 return resultobj;
2771 fail:
2772 return NULL;
2773}
2774
2775
093d3ff1 2776static PyObject *_wrap_Colour_SetFromName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2777 PyObject *resultobj = NULL;
093d3ff1
RD
2778 wxColour *arg1 = (wxColour *) 0 ;
2779 wxString *arg2 = 0 ;
2780 bool temp2 = false ;
d55e5bfc
RD
2781 PyObject * obj0 = 0 ;
2782 PyObject * obj1 = 0 ;
2783 char *kwnames[] = {
093d3ff1 2784 (char *) "self",(char *) "colourName", NULL
d55e5bfc
RD
2785 };
2786
093d3ff1
RD
2787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour_SetFromName",kwnames,&obj0,&obj1)) goto fail;
2788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2789 if (SWIG_arg_fail(1)) SWIG_fail;
2790 {
2791 arg2 = wxString_in_helper(obj1);
2792 if (arg2 == NULL) SWIG_fail;
2793 temp2 = true;
2794 }
d55e5bfc
RD
2795 {
2796 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2797 (arg1)->InitFromName((wxString const &)*arg2);
d55e5bfc
RD
2798
2799 wxPyEndAllowThreads(__tstate);
2800 if (PyErr_Occurred()) SWIG_fail;
2801 }
2802 Py_INCREF(Py_None); resultobj = Py_None;
093d3ff1
RD
2803 {
2804 if (temp2)
2805 delete arg2;
2806 }
2807 return resultobj;
2808 fail:
2809 {
2810 if (temp2)
2811 delete arg2;
2812 }
2813 return NULL;
2814}
2815
2816
2817static PyObject *_wrap_Colour_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2818 PyObject *resultobj = NULL;
093d3ff1
RD
2819 wxColour *arg1 = (wxColour *) 0 ;
2820 long result;
2821 PyObject * obj0 = 0 ;
2822 char *kwnames[] = {
2823 (char *) "self", NULL
2824 };
2825
2826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_GetPixel",kwnames,&obj0)) goto fail;
2827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2828 if (SWIG_arg_fail(1)) SWIG_fail;
2829 {
2830 PyThreadState* __tstate = wxPyBeginAllowThreads();
2831 result = (long)((wxColour const *)arg1)->GetPixel();
2832
2833 wxPyEndAllowThreads(__tstate);
2834 if (PyErr_Occurred()) SWIG_fail;
2835 }
2836 {
7449af73 2837 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 2838 }
d55e5bfc
RD
2839 return resultobj;
2840 fail:
2841 return NULL;
2842}
2843
2844
093d3ff1 2845static PyObject *_wrap_Colour___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2846 PyObject *resultobj = NULL;
093d3ff1 2847 wxColour *arg1 = (wxColour *) 0 ;
d55e5bfc 2848 wxColour *arg2 = 0 ;
093d3ff1 2849 bool result;
d55e5bfc
RD
2850 wxColour temp2 ;
2851 PyObject * obj0 = 0 ;
2852 PyObject * obj1 = 0 ;
2853 char *kwnames[] = {
2854 (char *) "self",(char *) "colour", NULL
2855 };
2856
093d3ff1
RD
2857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour___eq__",kwnames,&obj0,&obj1)) goto fail;
2858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2859 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2860 {
2861 arg2 = &temp2;
2862 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2863 }
2864 {
2865 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2866 result = (bool)((wxColour const *)arg1)->operator ==((wxColour const &)*arg2);
d55e5bfc
RD
2867
2868 wxPyEndAllowThreads(__tstate);
2869 if (PyErr_Occurred()) SWIG_fail;
2870 }
093d3ff1
RD
2871 {
2872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2873 }
d55e5bfc
RD
2874 return resultobj;
2875 fail:
2876 return NULL;
2877}
2878
2879
093d3ff1 2880static PyObject *_wrap_Colour___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2881 PyObject *resultobj = NULL;
093d3ff1
RD
2882 wxColour *arg1 = (wxColour *) 0 ;
2883 wxColour *arg2 = 0 ;
2884 bool result;
2885 wxColour temp2 ;
d55e5bfc
RD
2886 PyObject * obj0 = 0 ;
2887 PyObject * obj1 = 0 ;
2888 char *kwnames[] = {
093d3ff1 2889 (char *) "self",(char *) "colour", NULL
d55e5bfc
RD
2890 };
2891
093d3ff1
RD
2892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour___ne__",kwnames,&obj0,&obj1)) goto fail;
2893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2894 if (SWIG_arg_fail(1)) SWIG_fail;
2895 {
2896 arg2 = &temp2;
2897 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2898 }
d55e5bfc
RD
2899 {
2900 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2901 result = (bool)((wxColour const *)arg1)->operator !=((wxColour const &)*arg2);
d55e5bfc
RD
2902
2903 wxPyEndAllowThreads(__tstate);
2904 if (PyErr_Occurred()) SWIG_fail;
2905 }
093d3ff1
RD
2906 {
2907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2908 }
d55e5bfc
RD
2909 return resultobj;
2910 fail:
2911 return NULL;
2912}
2913
2914
093d3ff1 2915static PyObject *_wrap_Colour_Get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2916 PyObject *resultobj = NULL;
093d3ff1
RD
2917 wxColour *arg1 = (wxColour *) 0 ;
2918 PyObject *result;
d55e5bfc 2919 PyObject * obj0 = 0 ;
d55e5bfc 2920 char *kwnames[] = {
093d3ff1 2921 (char *) "self", NULL
d55e5bfc
RD
2922 };
2923
093d3ff1
RD
2924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Get",kwnames,&obj0)) goto fail;
2925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2926 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2927 {
2928 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2929 result = (PyObject *)wxColour_Get(arg1);
d55e5bfc
RD
2930
2931 wxPyEndAllowThreads(__tstate);
2932 if (PyErr_Occurred()) SWIG_fail;
2933 }
093d3ff1 2934 resultobj = result;
d55e5bfc
RD
2935 return resultobj;
2936 fail:
2937 return NULL;
2938}
2939
2940
093d3ff1 2941static PyObject *_wrap_Colour_GetRGB(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2942 PyObject *resultobj = NULL;
093d3ff1
RD
2943 wxColour *arg1 = (wxColour *) 0 ;
2944 unsigned long result;
d55e5bfc 2945 PyObject * obj0 = 0 ;
d55e5bfc 2946 char *kwnames[] = {
093d3ff1 2947 (char *) "self", NULL
d55e5bfc
RD
2948 };
2949
093d3ff1
RD
2950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_GetRGB",kwnames,&obj0)) goto fail;
2951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
2952 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2953 {
2954 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2955 result = (unsigned long)wxColour_GetRGB(arg1);
d55e5bfc
RD
2956
2957 wxPyEndAllowThreads(__tstate);
2958 if (PyErr_Occurred()) SWIG_fail;
2959 }
093d3ff1 2960 {
7449af73 2961 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 2962 }
d55e5bfc
RD
2963 return resultobj;
2964 fail:
2965 return NULL;
2966}
2967
2968
093d3ff1
RD
2969static PyObject * Colour_swigregister(PyObject *, PyObject *args) {
2970 PyObject *obj;
2971 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2972 SWIG_TypeClientData(SWIGTYPE_p_wxColour, obj);
2973 Py_INCREF(obj);
2974 return Py_BuildValue((char *)"");
2975}
2976static PyObject *_wrap_new_Palette(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 2977 PyObject *resultobj = NULL;
093d3ff1
RD
2978 int arg1 ;
2979 unsigned char *arg2 = (unsigned char *) 0 ;
2980 unsigned char *arg3 = (unsigned char *) 0 ;
2981 unsigned char *arg4 = (unsigned char *) 0 ;
2982 wxPalette *result;
d55e5bfc
RD
2983 PyObject * obj0 = 0 ;
2984 PyObject * obj1 = 0 ;
093d3ff1
RD
2985 PyObject * obj2 = 0 ;
2986 PyObject * obj3 = 0 ;
d55e5bfc 2987 char *kwnames[] = {
093d3ff1 2988 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
d55e5bfc
RD
2989 };
2990
093d3ff1 2991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_Palette",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc 2992 {
7449af73 2993 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1 2994 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 2995 }
093d3ff1
RD
2996 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_unsigned_char, SWIG_POINTER_EXCEPTION | 0);
2997 if (SWIG_arg_fail(2)) SWIG_fail;
2998 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_unsigned_char, SWIG_POINTER_EXCEPTION | 0);
2999 if (SWIG_arg_fail(3)) SWIG_fail;
3000 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_unsigned_char, SWIG_POINTER_EXCEPTION | 0);
3001 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc 3002 {
093d3ff1 3003 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 3004 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3005 result = (wxPalette *)new wxPalette(arg1,(unsigned char const *)arg2,(unsigned char const *)arg3,(unsigned char const *)arg4);
d55e5bfc
RD
3006
3007 wxPyEndAllowThreads(__tstate);
3008 if (PyErr_Occurred()) SWIG_fail;
3009 }
093d3ff1 3010 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPalette, 1);
d55e5bfc
RD
3011 return resultobj;
3012 fail:
d55e5bfc
RD
3013 return NULL;
3014}
3015
3016
093d3ff1 3017static PyObject *_wrap_delete_Palette(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3018 PyObject *resultobj = NULL;
093d3ff1 3019 wxPalette *arg1 = (wxPalette *) 0 ;
d55e5bfc
RD
3020 PyObject * obj0 = 0 ;
3021 char *kwnames[] = {
3022 (char *) "self", NULL
3023 };
3024
093d3ff1
RD
3025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Palette",kwnames,&obj0)) goto fail;
3026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPalette, SWIG_POINTER_EXCEPTION | 0);
3027 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3028 {
3029 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3030 delete arg1;
d55e5bfc
RD
3031
3032 wxPyEndAllowThreads(__tstate);
3033 if (PyErr_Occurred()) SWIG_fail;
3034 }
093d3ff1 3035 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
3036 return resultobj;
3037 fail:
3038 return NULL;
3039}
3040
3041
093d3ff1 3042static PyObject *_wrap_Palette_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3043 PyObject *resultobj = NULL;
093d3ff1
RD
3044 wxPalette *arg1 = (wxPalette *) 0 ;
3045 byte arg2 ;
3046 byte arg3 ;
3047 byte arg4 ;
3048 int result;
d55e5bfc
RD
3049 PyObject * obj0 = 0 ;
3050 PyObject * obj1 = 0 ;
c24da6d6 3051 PyObject * obj2 = 0 ;
093d3ff1 3052 PyObject * obj3 = 0 ;
d55e5bfc 3053 char *kwnames[] = {
093d3ff1 3054 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
d55e5bfc
RD
3055 };
3056
093d3ff1
RD
3057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Palette_GetPixel",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPalette, SWIG_POINTER_EXCEPTION | 0);
3059 if (SWIG_arg_fail(1)) SWIG_fail;
3060 {
7449af73 3061 arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
093d3ff1
RD
3062 if (SWIG_arg_fail(2)) SWIG_fail;
3063 }
3064 {
7449af73 3065 arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
093d3ff1
RD
3066 if (SWIG_arg_fail(3)) SWIG_fail;
3067 }
3068 {
7449af73 3069 arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
093d3ff1
RD
3070 if (SWIG_arg_fail(4)) SWIG_fail;
3071 }
d55e5bfc
RD
3072 {
3073 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3074 result = (int)(arg1)->GetPixel(arg2,arg3,arg4);
d55e5bfc
RD
3075
3076 wxPyEndAllowThreads(__tstate);
3077 if (PyErr_Occurred()) SWIG_fail;
3078 }
093d3ff1 3079 {
7449af73 3080 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 3081 }
d55e5bfc
RD
3082 return resultobj;
3083 fail:
3084 return NULL;
3085}
3086
3087
093d3ff1 3088static PyObject *_wrap_Palette_GetRGB(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3089 PyObject *resultobj = NULL;
093d3ff1
RD
3090 wxPalette *arg1 = (wxPalette *) 0 ;
3091 int arg2 ;
3092 byte *arg3 = (byte *) 0 ;
3093 byte *arg4 = (byte *) 0 ;
3094 byte *arg5 = (byte *) 0 ;
3095 bool result;
3096 byte temp3 ;
3097 int res3 = 0 ;
3098 byte temp4 ;
3099 int res4 = 0 ;
3100 byte temp5 ;
3101 int res5 = 0 ;
d55e5bfc 3102 PyObject * obj0 = 0 ;
093d3ff1 3103 PyObject * obj1 = 0 ;
d55e5bfc 3104 char *kwnames[] = {
093d3ff1 3105 (char *) "self",(char *) "pixel", NULL
d55e5bfc
RD
3106 };
3107
093d3ff1
RD
3108 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3109 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3110 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Palette_GetRGB",kwnames,&obj0,&obj1)) goto fail;
3112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPalette, SWIG_POINTER_EXCEPTION | 0);
3113 if (SWIG_arg_fail(1)) SWIG_fail;
3114 {
7449af73 3115 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3116 if (SWIG_arg_fail(2)) SWIG_fail;
3117 }
d55e5bfc
RD
3118 {
3119 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3120 result = (bool)(arg1)->GetRGB(arg2,arg3,arg4,arg5);
d55e5bfc
RD
3121
3122 wxPyEndAllowThreads(__tstate);
3123 if (PyErr_Occurred()) SWIG_fail;
3124 }
093d3ff1
RD
3125 {
3126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3127 }
3128 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3129 SWIG_From_unsigned_SS_char((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_char, 0)));
3130 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3131 SWIG_From_unsigned_SS_char((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_unsigned_char, 0)));
3132 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3133 SWIG_From_unsigned_SS_char((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_unsigned_char, 0)));
d55e5bfc
RD
3134 return resultobj;
3135 fail:
3136 return NULL;
3137}
3138
3139
093d3ff1 3140static PyObject *_wrap_Palette_GetColoursCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3141 PyObject *resultobj = NULL;
093d3ff1
RD
3142 wxPalette *arg1 = (wxPalette *) 0 ;
3143 int result;
d55e5bfc
RD
3144 PyObject * obj0 = 0 ;
3145 char *kwnames[] = {
3146 (char *) "self", NULL
3147 };
3148
093d3ff1
RD
3149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Palette_GetColoursCount",kwnames,&obj0)) goto fail;
3150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPalette, SWIG_POINTER_EXCEPTION | 0);
3151 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3152 {
3153 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3154 result = (int)((wxPalette const *)arg1)->GetColoursCount();
d55e5bfc
RD
3155
3156 wxPyEndAllowThreads(__tstate);
3157 if (PyErr_Occurred()) SWIG_fail;
3158 }
093d3ff1 3159 {
7449af73 3160 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 3161 }
d55e5bfc
RD
3162 return resultobj;
3163 fail:
3164 return NULL;
3165}
3166
3167
093d3ff1 3168static PyObject *_wrap_Palette_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3169 PyObject *resultobj = NULL;
093d3ff1
RD
3170 wxPalette *arg1 = (wxPalette *) 0 ;
3171 bool result;
d55e5bfc 3172 PyObject * obj0 = 0 ;
d55e5bfc 3173 char *kwnames[] = {
093d3ff1 3174 (char *) "self", NULL
d55e5bfc
RD
3175 };
3176
093d3ff1
RD
3177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Palette_Ok",kwnames,&obj0)) goto fail;
3178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPalette, SWIG_POINTER_EXCEPTION | 0);
3179 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3180 {
3181 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3182 result = (bool)(arg1)->Ok();
d55e5bfc
RD
3183
3184 wxPyEndAllowThreads(__tstate);
3185 if (PyErr_Occurred()) SWIG_fail;
3186 }
d55e5bfc 3187 {
c24da6d6 3188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
3189 }
3190 return resultobj;
3191 fail:
d55e5bfc
RD
3192 return NULL;
3193}
3194
3195
093d3ff1 3196static PyObject * Palette_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3197 PyObject *obj;
3198 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
093d3ff1 3199 SWIG_TypeClientData(SWIGTYPE_p_wxPalette, obj);
d55e5bfc
RD
3200 Py_INCREF(obj);
3201 return Py_BuildValue((char *)"");
3202}
093d3ff1 3203static PyObject *_wrap_new_Pen(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3204 PyObject *resultobj = NULL;
d55e5bfc 3205 wxColour *arg1 = 0 ;
093d3ff1
RD
3206 int arg2 = (int) 1 ;
3207 int arg3 = (int) wxSOLID ;
3208 wxPen *result;
d55e5bfc
RD
3209 wxColour temp1 ;
3210 PyObject * obj0 = 0 ;
3211 PyObject * obj1 = 0 ;
093d3ff1 3212 PyObject * obj2 = 0 ;
d55e5bfc 3213 char *kwnames[] = {
093d3ff1 3214 (char *) "colour",(char *) "width",(char *) "style", NULL
d55e5bfc
RD
3215 };
3216
093d3ff1 3217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Pen",kwnames,&obj0,&obj1,&obj2)) goto fail;
d55e5bfc
RD
3218 {
3219 arg1 = &temp1;
3220 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
3221 }
3222 if (obj1) {
093d3ff1 3223 {
7449af73 3224 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3225 if (SWIG_arg_fail(2)) SWIG_fail;
3226 }
3227 }
3228 if (obj2) {
3229 {
7449af73 3230 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
3231 if (SWIG_arg_fail(3)) SWIG_fail;
3232 }
d55e5bfc
RD
3233 }
3234 {
0439c23b 3235 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 3236 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3237 result = (wxPen *)new wxPen(*arg1,arg2,arg3);
d55e5bfc
RD
3238
3239 wxPyEndAllowThreads(__tstate);
110da5b0 3240 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 3241 }
093d3ff1 3242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 1);
d55e5bfc
RD
3243 return resultobj;
3244 fail:
3245 return NULL;
3246}
3247
3248
093d3ff1 3249static PyObject *_wrap_delete_Pen(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3250 PyObject *resultobj = NULL;
093d3ff1 3251 wxPen *arg1 = (wxPen *) 0 ;
d55e5bfc
RD
3252 PyObject * obj0 = 0 ;
3253 char *kwnames[] = {
3254 (char *) "self", NULL
3255 };
3256
093d3ff1
RD
3257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Pen",kwnames,&obj0)) goto fail;
3258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3259 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3260 {
3261 PyThreadState* __tstate = wxPyBeginAllowThreads();
3262 delete arg1;
3263
3264 wxPyEndAllowThreads(__tstate);
3265 if (PyErr_Occurred()) SWIG_fail;
3266 }
3267 Py_INCREF(Py_None); resultobj = Py_None;
3268 return resultobj;
3269 fail:
3270 return NULL;
3271}
3272
3273
093d3ff1 3274static PyObject *_wrap_Pen_GetCap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3275 PyObject *resultobj = NULL;
093d3ff1
RD
3276 wxPen *arg1 = (wxPen *) 0 ;
3277 int result;
d55e5bfc 3278 PyObject * obj0 = 0 ;
d55e5bfc 3279 char *kwnames[] = {
093d3ff1 3280 (char *) "self", NULL
d55e5bfc
RD
3281 };
3282
093d3ff1
RD
3283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetCap",kwnames,&obj0)) goto fail;
3284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3285 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3286 {
3287 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3288 result = (int)(arg1)->GetCap();
d55e5bfc
RD
3289
3290 wxPyEndAllowThreads(__tstate);
3291 if (PyErr_Occurred()) SWIG_fail;
3292 }
093d3ff1 3293 {
7449af73 3294 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 3295 }
d55e5bfc
RD
3296 return resultobj;
3297 fail:
3298 return NULL;
3299}
3300
3301
093d3ff1 3302static PyObject *_wrap_Pen_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3303 PyObject *resultobj = NULL;
093d3ff1
RD
3304 wxPen *arg1 = (wxPen *) 0 ;
3305 wxColour result;
d55e5bfc 3306 PyObject * obj0 = 0 ;
d55e5bfc 3307 char *kwnames[] = {
093d3ff1 3308 (char *) "self", NULL
d55e5bfc
RD
3309 };
3310
093d3ff1
RD
3311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetColour",kwnames,&obj0)) goto fail;
3312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3313 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3314 {
3315 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3316 result = (arg1)->GetColour();
d55e5bfc
RD
3317
3318 wxPyEndAllowThreads(__tstate);
3319 if (PyErr_Occurred()) SWIG_fail;
3320 }
093d3ff1
RD
3321 {
3322 wxColour * resultptr;
7449af73 3323 resultptr = new wxColour(static_cast<wxColour & >(result));
093d3ff1
RD
3324 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3325 }
d55e5bfc
RD
3326 return resultobj;
3327 fail:
3328 return NULL;
3329}
3330
3331
093d3ff1 3332static PyObject *_wrap_Pen_GetJoin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3333 PyObject *resultobj = NULL;
093d3ff1
RD
3334 wxPen *arg1 = (wxPen *) 0 ;
3335 int result;
d55e5bfc 3336 PyObject * obj0 = 0 ;
d55e5bfc 3337 char *kwnames[] = {
093d3ff1 3338 (char *) "self", NULL
d55e5bfc
RD
3339 };
3340
093d3ff1
RD
3341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetJoin",kwnames,&obj0)) goto fail;
3342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3343 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3344 {
3345 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3346 result = (int)(arg1)->GetJoin();
d55e5bfc
RD
3347
3348 wxPyEndAllowThreads(__tstate);
3349 if (PyErr_Occurred()) SWIG_fail;
3350 }
093d3ff1 3351 {
7449af73 3352 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 3353 }
d55e5bfc
RD
3354 return resultobj;
3355 fail:
3356 return NULL;
3357}
3358
3359
093d3ff1 3360static PyObject *_wrap_Pen_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3361 PyObject *resultobj = NULL;
093d3ff1
RD
3362 wxPen *arg1 = (wxPen *) 0 ;
3363 int result;
d55e5bfc
RD
3364 PyObject * obj0 = 0 ;
3365 char *kwnames[] = {
3366 (char *) "self", NULL
3367 };
3368
093d3ff1
RD
3369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetStyle",kwnames,&obj0)) goto fail;
3370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3371 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3372 {
3373 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3374 result = (int)(arg1)->GetStyle();
d55e5bfc
RD
3375
3376 wxPyEndAllowThreads(__tstate);
3377 if (PyErr_Occurred()) SWIG_fail;
3378 }
3379 {
7449af73 3380 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc
RD
3381 }
3382 return resultobj;
3383 fail:
3384 return NULL;
3385}
3386
3387
093d3ff1 3388static PyObject *_wrap_Pen_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3389 PyObject *resultobj = NULL;
093d3ff1 3390 wxPen *arg1 = (wxPen *) 0 ;
d55e5bfc
RD
3391 int result;
3392 PyObject * obj0 = 0 ;
3393 char *kwnames[] = {
3394 (char *) "self", NULL
3395 };
3396
093d3ff1
RD
3397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetWidth",kwnames,&obj0)) goto fail;
3398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3399 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3400 {
3401 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3402 result = (int)(arg1)->GetWidth();
d55e5bfc
RD
3403
3404 wxPyEndAllowThreads(__tstate);
3405 if (PyErr_Occurred()) SWIG_fail;
3406 }
093d3ff1 3407 {
7449af73 3408 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 3409 }
d55e5bfc
RD
3410 return resultobj;
3411 fail:
3412 return NULL;
3413}
3414
3415
093d3ff1 3416static PyObject *_wrap_Pen_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3417 PyObject *resultobj = NULL;
093d3ff1
RD
3418 wxPen *arg1 = (wxPen *) 0 ;
3419 bool result;
d55e5bfc
RD
3420 PyObject * obj0 = 0 ;
3421 char *kwnames[] = {
3422 (char *) "self", NULL
3423 };
3424
093d3ff1
RD
3425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_Ok",kwnames,&obj0)) goto fail;
3426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3427 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3428 {
3429 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3430 result = (bool)(arg1)->Ok();
d55e5bfc
RD
3431
3432 wxPyEndAllowThreads(__tstate);
3433 if (PyErr_Occurred()) SWIG_fail;
3434 }
093d3ff1
RD
3435 {
3436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3437 }
d55e5bfc
RD
3438 return resultobj;
3439 fail:
3440 return NULL;
3441}
3442
3443
093d3ff1 3444static PyObject *_wrap_Pen_SetCap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3445 PyObject *resultobj = NULL;
093d3ff1
RD
3446 wxPen *arg1 = (wxPen *) 0 ;
3447 int arg2 ;
f78cc896 3448 PyObject * obj0 = 0 ;
093d3ff1 3449 PyObject * obj1 = 0 ;
f78cc896 3450 char *kwnames[] = {
093d3ff1 3451 (char *) "self",(char *) "cap_style", NULL
f78cc896
RD
3452 };
3453
093d3ff1
RD
3454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetCap",kwnames,&obj0,&obj1)) goto fail;
3455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3456 if (SWIG_arg_fail(1)) SWIG_fail;
3457 {
7449af73 3458 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3459 if (SWIG_arg_fail(2)) SWIG_fail;
3460 }
f78cc896
RD
3461 {
3462 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3463 (arg1)->SetCap(arg2);
f78cc896
RD
3464
3465 wxPyEndAllowThreads(__tstate);
3466 if (PyErr_Occurred()) SWIG_fail;
3467 }
093d3ff1 3468 Py_INCREF(Py_None); resultobj = Py_None;
f78cc896
RD
3469 return resultobj;
3470 fail:
3471 return NULL;
3472}
3473
3474
093d3ff1 3475static PyObject *_wrap_Pen_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3476 PyObject *resultobj = NULL;
093d3ff1
RD
3477 wxPen *arg1 = (wxPen *) 0 ;
3478 wxColour *arg2 = 0 ;
3479 wxColour temp2 ;
d55e5bfc 3480 PyObject * obj0 = 0 ;
093d3ff1 3481 PyObject * obj1 = 0 ;
d55e5bfc 3482 char *kwnames[] = {
093d3ff1 3483 (char *) "self",(char *) "colour", NULL
d55e5bfc
RD
3484 };
3485
093d3ff1
RD
3486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetColour",kwnames,&obj0,&obj1)) goto fail;
3487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3488 if (SWIG_arg_fail(1)) SWIG_fail;
3489 {
3490 arg2 = &temp2;
3491 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3492 }
d55e5bfc
RD
3493 {
3494 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3495 (arg1)->SetColour(*arg2);
d55e5bfc
RD
3496
3497 wxPyEndAllowThreads(__tstate);
3498 if (PyErr_Occurred()) SWIG_fail;
3499 }
093d3ff1 3500 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
3501 return resultobj;
3502 fail:
3503 return NULL;
3504}
3505
3506
093d3ff1 3507static PyObject *_wrap_Pen_SetJoin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3508 PyObject *resultobj = NULL;
093d3ff1
RD
3509 wxPen *arg1 = (wxPen *) 0 ;
3510 int arg2 ;
d55e5bfc
RD
3511 PyObject * obj0 = 0 ;
3512 PyObject * obj1 = 0 ;
3513 char *kwnames[] = {
093d3ff1 3514 (char *) "self",(char *) "join_style", NULL
d55e5bfc
RD
3515 };
3516
093d3ff1
RD
3517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetJoin",kwnames,&obj0,&obj1)) goto fail;
3518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3519 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 3520 {
7449af73 3521 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 3522 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3523 }
3524 {
3525 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3526 (arg1)->SetJoin(arg2);
d55e5bfc
RD
3527
3528 wxPyEndAllowThreads(__tstate);
110da5b0 3529 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 3530 }
093d3ff1 3531 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
3532 return resultobj;
3533 fail:
d55e5bfc
RD
3534 return NULL;
3535}
3536
3537
093d3ff1 3538static PyObject *_wrap_Pen_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3539 PyObject *resultobj = NULL;
093d3ff1
RD
3540 wxPen *arg1 = (wxPen *) 0 ;
3541 int arg2 ;
d55e5bfc 3542 PyObject * obj0 = 0 ;
093d3ff1 3543 PyObject * obj1 = 0 ;
d55e5bfc 3544 char *kwnames[] = {
093d3ff1 3545 (char *) "self",(char *) "style", NULL
d55e5bfc
RD
3546 };
3547
093d3ff1
RD
3548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetStyle",kwnames,&obj0,&obj1)) goto fail;
3549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3550 if (SWIG_arg_fail(1)) SWIG_fail;
3551 {
7449af73 3552 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3553 if (SWIG_arg_fail(2)) SWIG_fail;
3554 }
d55e5bfc
RD
3555 {
3556 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3557 (arg1)->SetStyle(arg2);
d55e5bfc
RD
3558
3559 wxPyEndAllowThreads(__tstate);
3560 if (PyErr_Occurred()) SWIG_fail;
3561 }
3562 Py_INCREF(Py_None); resultobj = Py_None;
3563 return resultobj;
3564 fail:
3565 return NULL;
3566}
3567
3568
093d3ff1 3569static PyObject *_wrap_Pen_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3570 PyObject *resultobj = NULL;
093d3ff1 3571 wxPen *arg1 = (wxPen *) 0 ;
c24da6d6 3572 int arg2 ;
c24da6d6
RD
3573 PyObject * obj0 = 0 ;
3574 PyObject * obj1 = 0 ;
c24da6d6 3575 char *kwnames[] = {
093d3ff1 3576 (char *) "self",(char *) "width", NULL
c24da6d6
RD
3577 };
3578
093d3ff1
RD
3579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetWidth",kwnames,&obj0,&obj1)) goto fail;
3580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3581 if (SWIG_arg_fail(1)) SWIG_fail;
3582 {
7449af73 3583 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 3584 if (SWIG_arg_fail(2)) SWIG_fail;
c24da6d6
RD
3585 }
3586 {
3587 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3588 (arg1)->SetWidth(arg2);
c24da6d6
RD
3589
3590 wxPyEndAllowThreads(__tstate);
110da5b0 3591 if (PyErr_Occurred()) SWIG_fail;
c24da6d6 3592 }
093d3ff1 3593 Py_INCREF(Py_None); resultobj = Py_None;
c24da6d6
RD
3594 return resultobj;
3595 fail:
3596 return NULL;
3597}
3598
3599
093d3ff1 3600static PyObject *_wrap_Pen_SetDashes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3601 PyObject *resultobj = NULL;
093d3ff1
RD
3602 wxPen *arg1 = (wxPen *) 0 ;
3603 int arg2 ;
3604 wxDash *arg3 = (wxDash *) 0 ;
d55e5bfc 3605 PyObject * obj0 = 0 ;
093d3ff1 3606 PyObject * obj1 = 0 ;
d55e5bfc 3607 char *kwnames[] = {
093d3ff1 3608 (char *) "self",(char *) "dashes", NULL
d55e5bfc
RD
3609 };
3610
093d3ff1
RD
3611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetDashes",kwnames,&obj0,&obj1)) goto fail;
3612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3613 if (SWIG_arg_fail(1)) SWIG_fail;
3614 {
3615 arg2 = PyList_Size(obj1);
3616 arg3 = (wxDash*)byte_LIST_helper(obj1);
3617 if (arg3 == NULL) SWIG_fail;
d55e5bfc
RD
3618 }
3619 {
3620 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3621 (arg1)->SetDashes(arg2,arg3);
d55e5bfc
RD
3622
3623 wxPyEndAllowThreads(__tstate);
110da5b0 3624 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 3625 }
093d3ff1
RD
3626 Py_INCREF(Py_None); resultobj = Py_None;
3627 {
3628 if (arg3) delete [] arg3;
3629 }
d55e5bfc
RD
3630 return resultobj;
3631 fail:
093d3ff1
RD
3632 {
3633 if (arg3) delete [] arg3;
3634 }
d55e5bfc
RD
3635 return NULL;
3636}
3637
3638
093d3ff1 3639static PyObject *_wrap_Pen_GetDashes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3640 PyObject *resultobj = NULL;
093d3ff1
RD
3641 wxPen *arg1 = (wxPen *) 0 ;
3642 PyObject *result;
d55e5bfc 3643 PyObject * obj0 = 0 ;
d55e5bfc 3644 char *kwnames[] = {
093d3ff1 3645 (char *) "self", NULL
d55e5bfc
RD
3646 };
3647
093d3ff1
RD
3648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetDashes",kwnames,&obj0)) goto fail;
3649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3650 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3651 {
3652 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3653 result = (PyObject *)wxPen_GetDashes(arg1);
d55e5bfc
RD
3654
3655 wxPyEndAllowThreads(__tstate);
110da5b0 3656 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 3657 }
093d3ff1 3658 resultobj = result;
d55e5bfc
RD
3659 return resultobj;
3660 fail:
3661 return NULL;
3662}
3663
3664
093d3ff1 3665static PyObject *_wrap_Pen__SetDashes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3666 PyObject *resultobj = NULL;
093d3ff1
RD
3667 wxPen *arg1 = (wxPen *) 0 ;
3668 PyObject *arg2 = (PyObject *) 0 ;
3669 PyObject *arg3 = (PyObject *) 0 ;
d55e5bfc 3670 PyObject * obj0 = 0 ;
093d3ff1
RD
3671 PyObject * obj1 = 0 ;
3672 PyObject * obj2 = 0 ;
d55e5bfc 3673 char *kwnames[] = {
093d3ff1 3674 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
d55e5bfc
RD
3675 };
3676
093d3ff1
RD
3677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Pen__SetDashes",kwnames,&obj0,&obj1,&obj2)) goto fail;
3678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3679 if (SWIG_arg_fail(1)) SWIG_fail;
3680 arg2 = obj1;
3681 arg3 = obj2;
d55e5bfc
RD
3682 {
3683 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3684 wxPen__SetDashes(arg1,arg2,arg3);
d55e5bfc
RD
3685
3686 wxPyEndAllowThreads(__tstate);
110da5b0 3687 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 3688 }
093d3ff1 3689 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
3690 return resultobj;
3691 fail:
3692 return NULL;
3693}
3694
3695
093d3ff1 3696static PyObject *_wrap_Pen_GetDashCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3697 PyObject *resultobj = NULL;
093d3ff1
RD
3698 wxPen *arg1 = (wxPen *) 0 ;
3699 int result;
d55e5bfc 3700 PyObject * obj0 = 0 ;
d55e5bfc 3701 char *kwnames[] = {
093d3ff1 3702 (char *) "self", NULL
d55e5bfc
RD
3703 };
3704
093d3ff1
RD
3705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetDashCount",kwnames,&obj0)) goto fail;
3706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3707 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3708 {
3709 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3710 result = (int)((wxPen const *)arg1)->GetDashCount();
d55e5bfc
RD
3711
3712 wxPyEndAllowThreads(__tstate);
110da5b0 3713 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 3714 }
093d3ff1 3715 {
7449af73 3716 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 3717 }
d55e5bfc
RD
3718 return resultobj;
3719 fail:
3720 return NULL;
3721}
3722
3723
093d3ff1 3724static PyObject *_wrap_Pen_GetStipple(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3725 PyObject *resultobj = NULL;
093d3ff1
RD
3726 wxPen *arg1 = (wxPen *) 0 ;
3727 wxBitmap *result;
d55e5bfc 3728 PyObject * obj0 = 0 ;
c24da6d6
RD
3729 char *kwnames[] = {
3730 (char *) "self", NULL
3731 };
d55e5bfc 3732
093d3ff1
RD
3733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetStipple",kwnames,&obj0)) goto fail;
3734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3735 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 3736 {
c24da6d6 3737 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3738 result = (wxBitmap *)(arg1)->GetStipple();
c24da6d6
RD
3739
3740 wxPyEndAllowThreads(__tstate);
d55e5bfc
RD
3741 if (PyErr_Occurred()) SWIG_fail;
3742 }
093d3ff1 3743 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 0);
c24da6d6
RD
3744 return resultobj;
3745 fail:
3746 return NULL;
3747}
3748
3749
093d3ff1 3750static PyObject *_wrap_Pen_SetStipple(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3751 PyObject *resultobj = NULL;
093d3ff1
RD
3752 wxPen *arg1 = (wxPen *) 0 ;
3753 wxBitmap *arg2 = 0 ;
c24da6d6
RD
3754 PyObject * obj0 = 0 ;
3755 PyObject * obj1 = 0 ;
3756 char *kwnames[] = {
093d3ff1 3757 (char *) "self",(char *) "stipple", NULL
c24da6d6
RD
3758 };
3759
093d3ff1
RD
3760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetStipple",kwnames,&obj0,&obj1)) goto fail;
3761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3762 if (SWIG_arg_fail(1)) SWIG_fail;
3763 {
3764 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3765 if (SWIG_arg_fail(2)) SWIG_fail;
3766 if (arg2 == NULL) {
3767 SWIG_null_ref("wxBitmap");
3768 }
3769 if (SWIG_arg_fail(2)) SWIG_fail;
3770 }
d55e5bfc
RD
3771 {
3772 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3773 (arg1)->SetStipple(*arg2);
d55e5bfc
RD
3774
3775 wxPyEndAllowThreads(__tstate);
3776 if (PyErr_Occurred()) SWIG_fail;
3777 }
c24da6d6 3778 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
3779 return resultobj;
3780 fail:
3781 return NULL;
3782}
3783
3784
093d3ff1 3785static PyObject *_wrap_Pen___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3786 PyObject *resultobj = NULL;
093d3ff1
RD
3787 wxPen *arg1 = (wxPen *) 0 ;
3788 wxPen *arg2 = (wxPen *) 0 ;
d55e5bfc
RD
3789 bool result;
3790 PyObject * obj0 = 0 ;
093d3ff1 3791 PyObject * obj1 = 0 ;
d55e5bfc 3792 char *kwnames[] = {
093d3ff1 3793 (char *) "self",(char *) "other", NULL
d55e5bfc
RD
3794 };
3795
093d3ff1
RD
3796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen___eq__",kwnames,&obj0,&obj1)) goto fail;
3797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3798 if (SWIG_arg_fail(1)) SWIG_fail;
3799 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3800 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3801 {
3802 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3803 result = (bool)wxPen___eq__(arg1,(wxPen const *)arg2);
d55e5bfc
RD
3804
3805 wxPyEndAllowThreads(__tstate);
3806 if (PyErr_Occurred()) SWIG_fail;
3807 }
3808 {
3809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3810 }
3811 return resultobj;
3812 fail:
3813 return NULL;
3814}
3815
3816
093d3ff1 3817static PyObject *_wrap_Pen___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3818 PyObject *resultobj = NULL;
093d3ff1
RD
3819 wxPen *arg1 = (wxPen *) 0 ;
3820 wxPen *arg2 = (wxPen *) 0 ;
3821 bool result;
d55e5bfc 3822 PyObject * obj0 = 0 ;
093d3ff1 3823 PyObject * obj1 = 0 ;
d55e5bfc 3824 char *kwnames[] = {
093d3ff1 3825 (char *) "self",(char *) "other", NULL
d55e5bfc
RD
3826 };
3827
093d3ff1
RD
3828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen___ne__",kwnames,&obj0,&obj1)) goto fail;
3829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3830 if (SWIG_arg_fail(1)) SWIG_fail;
3831 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
3832 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3833 {
3834 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3835 result = (bool)wxPen___ne__(arg1,(wxPen const *)arg2);
d55e5bfc
RD
3836
3837 wxPyEndAllowThreads(__tstate);
3838 if (PyErr_Occurred()) SWIG_fail;
3839 }
093d3ff1
RD
3840 {
3841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3842 }
d55e5bfc
RD
3843 return resultobj;
3844 fail:
3845 return NULL;
3846}
3847
3848
093d3ff1
RD
3849static PyObject * Pen_swigregister(PyObject *, PyObject *args) {
3850 PyObject *obj;
3851 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3852 SWIG_TypeClientData(SWIGTYPE_p_wxPen, obj);
3853 Py_INCREF(obj);
3854 return Py_BuildValue((char *)"");
3855}
3856static PyObject *_wrap_new_Brush(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3857 PyObject *resultobj = NULL;
093d3ff1
RD
3858 wxColour *arg1 = 0 ;
3859 int arg2 = (int) wxSOLID ;
3860 wxBrush *result;
3861 wxColour temp1 ;
d55e5bfc 3862 PyObject * obj0 = 0 ;
093d3ff1 3863 PyObject * obj1 = 0 ;
d55e5bfc 3864 char *kwnames[] = {
093d3ff1 3865 (char *) "colour",(char *) "style", NULL
d55e5bfc
RD
3866 };
3867
093d3ff1
RD
3868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Brush",kwnames,&obj0,&obj1)) goto fail;
3869 {
3870 arg1 = &temp1;
3871 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
3872 }
3873 if (obj1) {
3874 {
7449af73 3875 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3876 if (SWIG_arg_fail(2)) SWIG_fail;
3877 }
3878 }
d55e5bfc 3879 {
093d3ff1 3880 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 3881 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3882 result = (wxBrush *)new wxBrush((wxColour const &)*arg1,arg2);
d55e5bfc
RD
3883
3884 wxPyEndAllowThreads(__tstate);
3885 if (PyErr_Occurred()) SWIG_fail;
3886 }
093d3ff1 3887 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 1);
d55e5bfc
RD
3888 return resultobj;
3889 fail:
3890 return NULL;
3891}
3892
3893
d04418a7 3894static PyObject *_wrap_new_BrushFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3895 PyObject *resultobj = NULL;
d04418a7
RD
3896 wxBitmap *arg1 = 0 ;
3897 wxBrush *result;
3898 PyObject * obj0 = 0 ;
3899 char *kwnames[] = {
3900 (char *) "stippleBitmap", NULL
3901 };
3902
3903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BrushFromBitmap",kwnames,&obj0)) goto fail;
3904 {
3905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3906 if (SWIG_arg_fail(1)) SWIG_fail;
3907 if (arg1 == NULL) {
3908 SWIG_null_ref("wxBitmap");
3909 }
3910 if (SWIG_arg_fail(1)) SWIG_fail;
3911 }
3912 {
3913 if (!wxPyCheckForApp()) SWIG_fail;
3914 PyThreadState* __tstate = wxPyBeginAllowThreads();
3915 result = (wxBrush *)new wxBrush((wxBitmap const &)*arg1);
3916
3917 wxPyEndAllowThreads(__tstate);
3918 if (PyErr_Occurred()) SWIG_fail;
3919 }
3920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 1);
3921 return resultobj;
3922 fail:
3923 return NULL;
3924}
3925
3926
093d3ff1 3927static PyObject *_wrap_delete_Brush(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3928 PyObject *resultobj = NULL;
093d3ff1 3929 wxBrush *arg1 = (wxBrush *) 0 ;
d55e5bfc
RD
3930 PyObject * obj0 = 0 ;
3931 char *kwnames[] = {
3932 (char *) "self", NULL
3933 };
3934
093d3ff1
RD
3935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Brush",kwnames,&obj0)) goto fail;
3936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
3937 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3938 {
3939 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3940 delete arg1;
d55e5bfc
RD
3941
3942 wxPyEndAllowThreads(__tstate);
3943 if (PyErr_Occurred()) SWIG_fail;
3944 }
093d3ff1 3945 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
3946 return resultobj;
3947 fail:
3948 return NULL;
3949}
3950
3951
093d3ff1 3952static PyObject *_wrap_Brush_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3953 PyObject *resultobj = NULL;
093d3ff1
RD
3954 wxBrush *arg1 = (wxBrush *) 0 ;
3955 wxColour *arg2 = 0 ;
3956 wxColour temp2 ;
d55e5bfc 3957 PyObject * obj0 = 0 ;
093d3ff1 3958 PyObject * obj1 = 0 ;
d55e5bfc 3959 char *kwnames[] = {
093d3ff1 3960 (char *) "self",(char *) "col", NULL
d55e5bfc
RD
3961 };
3962
093d3ff1
RD
3963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Brush_SetColour",kwnames,&obj0,&obj1)) goto fail;
3964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
3965 if (SWIG_arg_fail(1)) SWIG_fail;
3966 {
3967 arg2 = &temp2;
3968 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3969 }
d55e5bfc
RD
3970 {
3971 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3972 (arg1)->SetColour((wxColour const &)*arg2);
d55e5bfc
RD
3973
3974 wxPyEndAllowThreads(__tstate);
3975 if (PyErr_Occurred()) SWIG_fail;
3976 }
093d3ff1 3977 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
3978 return resultobj;
3979 fail:
3980 return NULL;
3981}
3982
3983
093d3ff1 3984static PyObject *_wrap_Brush_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3985 PyObject *resultobj = NULL;
093d3ff1
RD
3986 wxBrush *arg1 = (wxBrush *) 0 ;
3987 int arg2 ;
d55e5bfc 3988 PyObject * obj0 = 0 ;
093d3ff1 3989 PyObject * obj1 = 0 ;
d55e5bfc 3990 char *kwnames[] = {
093d3ff1 3991 (char *) "self",(char *) "style", NULL
d55e5bfc
RD
3992 };
3993
093d3ff1
RD
3994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Brush_SetStyle",kwnames,&obj0,&obj1)) goto fail;
3995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
3996 if (SWIG_arg_fail(1)) SWIG_fail;
3997 {
7449af73 3998 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3999 if (SWIG_arg_fail(2)) SWIG_fail;
4000 }
d55e5bfc
RD
4001 {
4002 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4003 (arg1)->SetStyle(arg2);
d55e5bfc
RD
4004
4005 wxPyEndAllowThreads(__tstate);
4006 if (PyErr_Occurred()) SWIG_fail;
4007 }
093d3ff1
RD
4008 Py_INCREF(Py_None); resultobj = Py_None;
4009 return resultobj;
4010 fail:
4011 return NULL;
4012}
4013
4014
4015static PyObject *_wrap_Brush_SetStipple(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4016 PyObject *resultobj = NULL;
093d3ff1
RD
4017 wxBrush *arg1 = (wxBrush *) 0 ;
4018 wxBitmap *arg2 = 0 ;
4019 PyObject * obj0 = 0 ;
4020 PyObject * obj1 = 0 ;
4021 char *kwnames[] = {
4022 (char *) "self",(char *) "stipple", NULL
4023 };
4024
4025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Brush_SetStipple",kwnames,&obj0,&obj1)) goto fail;
4026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
4027 if (SWIG_arg_fail(1)) SWIG_fail;
4028 {
4029 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4030 if (SWIG_arg_fail(2)) SWIG_fail;
4031 if (arg2 == NULL) {
4032 SWIG_null_ref("wxBitmap");
4033 }
4034 if (SWIG_arg_fail(2)) SWIG_fail;
4035 }
d55e5bfc 4036 {
093d3ff1
RD
4037 PyThreadState* __tstate = wxPyBeginAllowThreads();
4038 (arg1)->SetStipple((wxBitmap const &)*arg2);
4039
4040 wxPyEndAllowThreads(__tstate);
4041 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4042 }
093d3ff1 4043 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
4044 return resultobj;
4045 fail:
4046 return NULL;
4047}
4048
4049
093d3ff1 4050static PyObject *_wrap_Brush_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4051 PyObject *resultobj = NULL;
093d3ff1
RD
4052 wxBrush *arg1 = (wxBrush *) 0 ;
4053 wxColour result;
d55e5bfc
RD
4054 PyObject * obj0 = 0 ;
4055 char *kwnames[] = {
4056 (char *) "self", NULL
4057 };
4058
093d3ff1
RD
4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_GetColour",kwnames,&obj0)) goto fail;
4060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
4061 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4062 {
4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4064 result = ((wxBrush const *)arg1)->GetColour();
d55e5bfc
RD
4065
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) SWIG_fail;
4068 }
093d3ff1
RD
4069 {
4070 wxColour * resultptr;
7449af73 4071 resultptr = new wxColour(static_cast<wxColour & >(result));
093d3ff1
RD
4072 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
4073 }
d55e5bfc
RD
4074 return resultobj;
4075 fail:
4076 return NULL;
4077}
4078
4079
093d3ff1 4080static PyObject *_wrap_Brush_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4081 PyObject *resultobj = NULL;
093d3ff1
RD
4082 wxBrush *arg1 = (wxBrush *) 0 ;
4083 int result;
d55e5bfc 4084 PyObject * obj0 = 0 ;
d55e5bfc 4085 char *kwnames[] = {
093d3ff1 4086 (char *) "self", NULL
d55e5bfc
RD
4087 };
4088
093d3ff1
RD
4089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_GetStyle",kwnames,&obj0)) goto fail;
4090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
4091 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4092 {
4093 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4094 result = (int)((wxBrush const *)arg1)->GetStyle();
d55e5bfc
RD
4095
4096 wxPyEndAllowThreads(__tstate);
4097 if (PyErr_Occurred()) SWIG_fail;
4098 }
093d3ff1 4099 {
7449af73 4100 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 4101 }
d55e5bfc
RD
4102 return resultobj;
4103 fail:
4104 return NULL;
4105}
4106
4107
093d3ff1 4108static PyObject *_wrap_Brush_GetStipple(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4109 PyObject *resultobj = NULL;
093d3ff1
RD
4110 wxBrush *arg1 = (wxBrush *) 0 ;
4111 wxBitmap *result;
d55e5bfc 4112 PyObject * obj0 = 0 ;
d55e5bfc 4113 char *kwnames[] = {
093d3ff1 4114 (char *) "self", NULL
d55e5bfc
RD
4115 };
4116
093d3ff1
RD
4117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_GetStipple",kwnames,&obj0)) goto fail;
4118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
4119 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4120 {
4121 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4122 result = (wxBitmap *)((wxBrush const *)arg1)->GetStipple();
d55e5bfc
RD
4123
4124 wxPyEndAllowThreads(__tstate);
4125 if (PyErr_Occurred()) SWIG_fail;
4126 }
093d3ff1 4127 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 0);
d55e5bfc
RD
4128 return resultobj;
4129 fail:
4130 return NULL;
4131}
4132
4133
093d3ff1 4134static PyObject *_wrap_Brush_IsHatch(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4135 PyObject *resultobj = NULL;
093d3ff1
RD
4136 wxBrush *arg1 = (wxBrush *) 0 ;
4137 bool result;
d55e5bfc 4138 PyObject * obj0 = 0 ;
d55e5bfc 4139 char *kwnames[] = {
093d3ff1 4140 (char *) "self", NULL
d55e5bfc
RD
4141 };
4142
093d3ff1
RD
4143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_IsHatch",kwnames,&obj0)) goto fail;
4144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
4145 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4146 {
4147 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4148 result = (bool)((wxBrush const *)arg1)->IsHatch();
d55e5bfc
RD
4149
4150 wxPyEndAllowThreads(__tstate);
4151 if (PyErr_Occurred()) SWIG_fail;
4152 }
4153 {
093d3ff1 4154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
4155 }
4156 return resultobj;
4157 fail:
4158 return NULL;
4159}
4160
4161
093d3ff1 4162static PyObject *_wrap_Brush_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4163 PyObject *resultobj = NULL;
093d3ff1 4164 wxBrush *arg1 = (wxBrush *) 0 ;
d55e5bfc 4165 bool result;
d55e5bfc 4166 PyObject * obj0 = 0 ;
d55e5bfc 4167 char *kwnames[] = {
093d3ff1 4168 (char *) "self", NULL
d55e5bfc
RD
4169 };
4170
093d3ff1
RD
4171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_Ok",kwnames,&obj0)) goto fail;
4172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
4173 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4174 {
4175 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4176 result = (bool)(arg1)->Ok();
d55e5bfc
RD
4177
4178 wxPyEndAllowThreads(__tstate);
4179 if (PyErr_Occurred()) SWIG_fail;
4180 }
4181 {
4182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4183 }
d55e5bfc
RD
4184 return resultobj;
4185 fail:
d55e5bfc
RD
4186 return NULL;
4187}
4188
4189
093d3ff1
RD
4190static PyObject * Brush_swigregister(PyObject *, PyObject *args) {
4191 PyObject *obj;
4192 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4193 SWIG_TypeClientData(SWIGTYPE_p_wxBrush, obj);
4194 Py_INCREF(obj);
4195 return Py_BuildValue((char *)"");
4196}
4197static PyObject *_wrap_new_Bitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4198 PyObject *resultobj = NULL;
093d3ff1
RD
4199 wxString *arg1 = 0 ;
4200 wxBitmapType arg2 = (wxBitmapType) wxBITMAP_TYPE_ANY ;
4201 wxBitmap *result;
4202 bool temp1 = false ;
d55e5bfc
RD
4203 PyObject * obj0 = 0 ;
4204 PyObject * obj1 = 0 ;
d55e5bfc 4205 char *kwnames[] = {
093d3ff1 4206 (char *) "name",(char *) "type", NULL
d55e5bfc
RD
4207 };
4208
093d3ff1 4209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Bitmap",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc 4210 {
093d3ff1
RD
4211 arg1 = wxString_in_helper(obj0);
4212 if (arg1 == NULL) SWIG_fail;
4213 temp1 = true;
4214 }
4215 if (obj1) {
4216 {
7449af73 4217 arg2 = static_cast<wxBitmapType >(SWIG_As_int(obj1));
093d3ff1
RD
4218 if (SWIG_arg_fail(2)) SWIG_fail;
4219 }
d55e5bfc 4220 }
d55e5bfc 4221 {
093d3ff1 4222 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4223 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 4224 result = (wxBitmap *)new wxBitmap((wxString const &)*arg1,arg2);
d55e5bfc
RD
4225
4226 wxPyEndAllowThreads(__tstate);
4227 if (PyErr_Occurred()) SWIG_fail;
4228 }
093d3ff1 4229 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d55e5bfc 4230 {
093d3ff1
RD
4231 if (temp1)
4232 delete arg1;
d55e5bfc
RD
4233 }
4234 return resultobj;
4235 fail:
4236 {
093d3ff1
RD
4237 if (temp1)
4238 delete arg1;
d55e5bfc
RD
4239 }
4240 return NULL;
4241}
4242
4243
093d3ff1 4244static PyObject *_wrap_delete_Bitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4245 PyObject *resultobj = NULL;
c1cb24a4 4246 wxBitmap *arg1 = (wxBitmap *) 0 ;
c1cb24a4
RD
4247 PyObject * obj0 = 0 ;
4248 char *kwnames[] = {
4249 (char *) "self", NULL
4250 };
4251
093d3ff1
RD
4252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Bitmap",kwnames,&obj0)) goto fail;
4253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4254 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
4255 {
4256 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4257 delete arg1;
c1cb24a4
RD
4258
4259 wxPyEndAllowThreads(__tstate);
4260 if (PyErr_Occurred()) SWIG_fail;
4261 }
093d3ff1 4262 Py_INCREF(Py_None); resultobj = Py_None;
c1cb24a4
RD
4263 return resultobj;
4264 fail:
4265 return NULL;
4266}
4267
4268
093d3ff1 4269static PyObject *_wrap_new_EmptyBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4270 PyObject *resultobj = NULL;
093d3ff1
RD
4271 int arg1 ;
4272 int arg2 ;
4273 int arg3 = (int) -1 ;
4274 wxBitmap *result;
c1cb24a4
RD
4275 PyObject * obj0 = 0 ;
4276 PyObject * obj1 = 0 ;
093d3ff1 4277 PyObject * obj2 = 0 ;
c1cb24a4 4278 char *kwnames[] = {
093d3ff1 4279 (char *) "width",(char *) "height",(char *) "depth", NULL
c1cb24a4
RD
4280 };
4281
093d3ff1
RD
4282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_EmptyBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
4283 {
7449af73 4284 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
4285 if (SWIG_arg_fail(1)) SWIG_fail;
4286 }
4287 {
7449af73 4288 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
4289 if (SWIG_arg_fail(2)) SWIG_fail;
4290 }
4291 if (obj2) {
4292 {
7449af73 4293 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
4294 if (SWIG_arg_fail(3)) SWIG_fail;
4295 }
c1cb24a4
RD
4296 }
4297 {
093d3ff1 4298 if (!wxPyCheckForApp()) SWIG_fail;
c1cb24a4 4299 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4300 result = (wxBitmap *)new wxBitmap(arg1,arg2,arg3);
c1cb24a4
RD
4301
4302 wxPyEndAllowThreads(__tstate);
4303 if (PyErr_Occurred()) SWIG_fail;
4304 }
093d3ff1 4305 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
c1cb24a4
RD
4306 return resultobj;
4307 fail:
4308 return NULL;
4309}
4310
4311
093d3ff1 4312static PyObject *_wrap_new_BitmapFromIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4313 PyObject *resultobj = NULL;
093d3ff1
RD
4314 wxIcon *arg1 = 0 ;
4315 wxBitmap *result;
d55e5bfc 4316 PyObject * obj0 = 0 ;
d55e5bfc 4317 char *kwnames[] = {
093d3ff1 4318 (char *) "icon", NULL
d55e5bfc
RD
4319 };
4320
093d3ff1
RD
4321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BitmapFromIcon",kwnames,&obj0)) goto fail;
4322 {
4323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4324 if (SWIG_arg_fail(1)) SWIG_fail;
4325 if (arg1 == NULL) {
4326 SWIG_null_ref("wxIcon");
4327 }
4328 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4329 }
4330 {
093d3ff1 4331 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4332 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4333 result = (wxBitmap *)new wxBitmap((wxIcon const &)*arg1);
d55e5bfc
RD
4334
4335 wxPyEndAllowThreads(__tstate);
4336 if (PyErr_Occurred()) SWIG_fail;
4337 }
093d3ff1 4338 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d55e5bfc
RD
4339 return resultobj;
4340 fail:
4341 return NULL;
4342}
4343
4344
093d3ff1 4345static PyObject *_wrap_new_BitmapFromImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4346 PyObject *resultobj = NULL;
093d3ff1
RD
4347 wxImage *arg1 = 0 ;
4348 int arg2 = (int) -1 ;
4349 wxBitmap *result;
4350 PyObject * obj0 = 0 ;
d55e5bfc
RD
4351 PyObject * obj1 = 0 ;
4352 char *kwnames[] = {
093d3ff1 4353 (char *) "image",(char *) "depth", NULL
d55e5bfc
RD
4354 };
4355
093d3ff1 4356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_BitmapFromImage",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc 4357 {
093d3ff1
RD
4358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
4359 if (SWIG_arg_fail(1)) SWIG_fail;
4360 if (arg1 == NULL) {
4361 SWIG_null_ref("wxImage");
4362 }
4363 if (SWIG_arg_fail(1)) SWIG_fail;
4364 }
4365 if (obj1) {
4366 {
7449af73 4367 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
4368 if (SWIG_arg_fail(2)) SWIG_fail;
4369 }
4370 }
4371 {
4372 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4373 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4374 result = (wxBitmap *)new wxBitmap((wxImage const &)*arg1,arg2);
d55e5bfc
RD
4375
4376 wxPyEndAllowThreads(__tstate);
4377 if (PyErr_Occurred()) SWIG_fail;
4378 }
093d3ff1 4379 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d55e5bfc
RD
4380 return resultobj;
4381 fail:
4382 return NULL;
4383}
4384
4385
093d3ff1 4386static PyObject *_wrap_new_BitmapFromXPMData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4387 PyObject *resultobj = NULL;
093d3ff1
RD
4388 PyObject *arg1 = (PyObject *) 0 ;
4389 wxBitmap *result;
d55e5bfc 4390 PyObject * obj0 = 0 ;
d55e5bfc 4391 char *kwnames[] = {
093d3ff1 4392 (char *) "listOfStrings", NULL
d55e5bfc
RD
4393 };
4394
093d3ff1
RD
4395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BitmapFromXPMData",kwnames,&obj0)) goto fail;
4396 arg1 = obj0;
d55e5bfc 4397 {
093d3ff1 4398 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4399 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4400 result = (wxBitmap *)new_wxBitmap(arg1);
d55e5bfc
RD
4401
4402 wxPyEndAllowThreads(__tstate);
4403 if (PyErr_Occurred()) SWIG_fail;
4404 }
093d3ff1 4405 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d55e5bfc
RD
4406 return resultobj;
4407 fail:
4408 return NULL;
4409}
4410
4411
093d3ff1 4412static PyObject *_wrap_new_BitmapFromBits(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4413 PyObject *resultobj = NULL;
093d3ff1 4414 PyObject *arg1 = (PyObject *) 0 ;
d55e5bfc 4415 int arg2 ;
093d3ff1
RD
4416 int arg3 ;
4417 int arg4 = (int) 1 ;
4418 wxBitmap *result;
d55e5bfc
RD
4419 PyObject * obj0 = 0 ;
4420 PyObject * obj1 = 0 ;
093d3ff1
RD
4421 PyObject * obj2 = 0 ;
4422 PyObject * obj3 = 0 ;
d55e5bfc 4423 char *kwnames[] = {
093d3ff1 4424 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
d55e5bfc
RD
4425 };
4426
093d3ff1
RD
4427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_BitmapFromBits",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4428 arg1 = obj0;
4429 {
7449af73 4430 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
4431 if (SWIG_arg_fail(2)) SWIG_fail;
4432 }
4433 {
7449af73 4434 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
4435 if (SWIG_arg_fail(3)) SWIG_fail;
4436 }
4437 if (obj3) {
4438 {
7449af73 4439 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
4440 if (SWIG_arg_fail(4)) SWIG_fail;
4441 }
4442 }
d55e5bfc 4443 {
093d3ff1 4444 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4445 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4446 result = (wxBitmap *)new_wxBitmap(arg1,arg2,arg3,arg4);
d55e5bfc
RD
4447
4448 wxPyEndAllowThreads(__tstate);
4449 if (PyErr_Occurred()) SWIG_fail;
4450 }
093d3ff1 4451 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d55e5bfc
RD
4452 return resultobj;
4453 fail:
4454 return NULL;
4455}
4456
4457
093d3ff1 4458static PyObject *_wrap_Bitmap_GetHandle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4459 PyObject *resultobj = NULL;
d55e5bfc 4460 wxBitmap *arg1 = (wxBitmap *) 0 ;
093d3ff1 4461 long result;
d55e5bfc 4462 PyObject * obj0 = 0 ;
d55e5bfc 4463 char *kwnames[] = {
093d3ff1 4464 (char *) "self", NULL
d55e5bfc
RD
4465 };
4466
093d3ff1
RD
4467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetHandle",kwnames,&obj0)) goto fail;
4468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4469 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4470 {
4471 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4472 result = (long)(arg1)->GetHandle();
d55e5bfc
RD
4473
4474 wxPyEndAllowThreads(__tstate);
4475 if (PyErr_Occurred()) SWIG_fail;
4476 }
093d3ff1 4477 {
7449af73 4478 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 4479 }
d55e5bfc
RD
4480 return resultobj;
4481 fail:
4482 return NULL;
4483}
4484
4485
093d3ff1 4486static PyObject *_wrap_Bitmap_SetHandle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4487 PyObject *resultobj = NULL;
d55e5bfc 4488 wxBitmap *arg1 = (wxBitmap *) 0 ;
093d3ff1 4489 long arg2 ;
d55e5bfc
RD
4490 PyObject * obj0 = 0 ;
4491 PyObject * obj1 = 0 ;
4492 char *kwnames[] = {
093d3ff1 4493 (char *) "self",(char *) "handle", NULL
d55e5bfc
RD
4494 };
4495
093d3ff1
RD
4496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetHandle",kwnames,&obj0,&obj1)) goto fail;
4497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4498 if (SWIG_arg_fail(1)) SWIG_fail;
4499 {
7449af73 4500 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1 4501 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4502 }
4503 {
4504 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4505 wxBitmap_SetHandle(arg1,arg2);
d55e5bfc
RD
4506
4507 wxPyEndAllowThreads(__tstate);
4508 if (PyErr_Occurred()) SWIG_fail;
4509 }
093d3ff1 4510 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
4511 return resultobj;
4512 fail:
4513 return NULL;
4514}
4515
4516
093d3ff1 4517static PyObject *_wrap_Bitmap_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4518 PyObject *resultobj = NULL;
d55e5bfc 4519 wxBitmap *arg1 = (wxBitmap *) 0 ;
093d3ff1 4520 bool result;
d55e5bfc
RD
4521 PyObject * obj0 = 0 ;
4522 char *kwnames[] = {
4523 (char *) "self", NULL
4524 };
4525
093d3ff1
RD
4526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_Ok",kwnames,&obj0)) goto fail;
4527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4528 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4529 {
4530 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4531 result = (bool)(arg1)->Ok();
d55e5bfc
RD
4532
4533 wxPyEndAllowThreads(__tstate);
4534 if (PyErr_Occurred()) SWIG_fail;
4535 }
093d3ff1
RD
4536 {
4537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4538 }
d55e5bfc
RD
4539 return resultobj;
4540 fail:
4541 return NULL;
4542}
4543
4544
093d3ff1 4545static PyObject *_wrap_Bitmap_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4546 PyObject *resultobj = NULL;
d55e5bfc 4547 wxBitmap *arg1 = (wxBitmap *) 0 ;
093d3ff1 4548 int result;
d55e5bfc 4549 PyObject * obj0 = 0 ;
d55e5bfc 4550 char *kwnames[] = {
093d3ff1 4551 (char *) "self", NULL
d55e5bfc
RD
4552 };
4553
093d3ff1
RD
4554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetWidth",kwnames,&obj0)) goto fail;
4555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4556 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4557 {
4558 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4559 result = (int)(arg1)->GetWidth();
d55e5bfc
RD
4560
4561 wxPyEndAllowThreads(__tstate);
4562 if (PyErr_Occurred()) SWIG_fail;
4563 }
093d3ff1 4564 {
7449af73 4565 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 4566 }
d55e5bfc
RD
4567 return resultobj;
4568 fail:
4569 return NULL;
4570}
4571
4572
093d3ff1 4573static PyObject *_wrap_Bitmap_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4574 PyObject *resultobj = NULL;
d55e5bfc 4575 wxBitmap *arg1 = (wxBitmap *) 0 ;
093d3ff1 4576 int result;
d55e5bfc 4577 PyObject * obj0 = 0 ;
d55e5bfc 4578 char *kwnames[] = {
093d3ff1 4579 (char *) "self", NULL
d55e5bfc
RD
4580 };
4581
093d3ff1
RD
4582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetHeight",kwnames,&obj0)) goto fail;
4583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4584 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4585 {
4586 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4587 result = (int)(arg1)->GetHeight();
d55e5bfc
RD
4588
4589 wxPyEndAllowThreads(__tstate);
4590 if (PyErr_Occurred()) SWIG_fail;
4591 }
4592 {
7449af73 4593 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc
RD
4594 }
4595 return resultobj;
4596 fail:
4597 return NULL;
4598}
4599
4600
093d3ff1 4601static PyObject *_wrap_Bitmap_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4602 PyObject *resultobj = NULL;
d55e5bfc 4603 wxBitmap *arg1 = (wxBitmap *) 0 ;
093d3ff1 4604 int result;
d55e5bfc 4605 PyObject * obj0 = 0 ;
d55e5bfc 4606 char *kwnames[] = {
093d3ff1 4607 (char *) "self", NULL
d55e5bfc
RD
4608 };
4609
093d3ff1
RD
4610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetDepth",kwnames,&obj0)) goto fail;
4611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4612 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4613 {
4614 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4615 result = (int)(arg1)->GetDepth();
d55e5bfc
RD
4616
4617 wxPyEndAllowThreads(__tstate);
4618 if (PyErr_Occurred()) SWIG_fail;
4619 }
4620 {
7449af73 4621 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc
RD
4622 }
4623 return resultobj;
4624 fail:
4625 return NULL;
4626}
4627
4628
093d3ff1 4629static PyObject *_wrap_Bitmap_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4630 PyObject *resultobj = NULL;
093d3ff1
RD
4631 wxBitmap *arg1 = (wxBitmap *) 0 ;
4632 wxSize result;
d55e5bfc 4633 PyObject * obj0 = 0 ;
d55e5bfc 4634 char *kwnames[] = {
093d3ff1 4635 (char *) "self", NULL
d55e5bfc
RD
4636 };
4637
093d3ff1
RD
4638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetSize",kwnames,&obj0)) goto fail;
4639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4640 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4641 {
4642 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4643 result = wxBitmap_GetSize(arg1);
d55e5bfc
RD
4644
4645 wxPyEndAllowThreads(__tstate);
110da5b0 4646 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4647 }
093d3ff1
RD
4648 {
4649 wxSize * resultptr;
7449af73 4650 resultptr = new wxSize(static_cast<wxSize & >(result));
093d3ff1
RD
4651 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4652 }
d55e5bfc
RD
4653 return resultobj;
4654 fail:
4655 return NULL;
4656}
4657
4658
093d3ff1 4659static PyObject *_wrap_Bitmap_ConvertToImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4660 PyObject *resultobj = NULL;
093d3ff1
RD
4661 wxBitmap *arg1 = (wxBitmap *) 0 ;
4662 SwigValueWrapper<wxImage > result;
d55e5bfc 4663 PyObject * obj0 = 0 ;
d55e5bfc 4664 char *kwnames[] = {
093d3ff1 4665 (char *) "self", NULL
d55e5bfc
RD
4666 };
4667
093d3ff1
RD
4668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_ConvertToImage",kwnames,&obj0)) goto fail;
4669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4670 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4671 {
4672 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4673 result = ((wxBitmap const *)arg1)->ConvertToImage();
d55e5bfc
RD
4674
4675 wxPyEndAllowThreads(__tstate);
110da5b0 4676 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4677 }
d55e5bfc 4678 {
093d3ff1 4679 wxImage * resultptr;
7449af73 4680 resultptr = new wxImage(static_cast<wxImage & >(result));
093d3ff1 4681 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d55e5bfc
RD
4682 }
4683 return resultobj;
4684 fail:
d55e5bfc
RD
4685 return NULL;
4686}
4687
4688
093d3ff1 4689static PyObject *_wrap_Bitmap_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4690 PyObject *resultobj = NULL;
093d3ff1
RD
4691 wxBitmap *arg1 = (wxBitmap *) 0 ;
4692 wxMask *result;
d55e5bfc
RD
4693 PyObject * obj0 = 0 ;
4694 char *kwnames[] = {
4695 (char *) "self", NULL
4696 };
4697
093d3ff1
RD
4698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetMask",kwnames,&obj0)) goto fail;
4699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4700 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4701 {
4702 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4703 result = (wxMask *)((wxBitmap const *)arg1)->GetMask();
d55e5bfc
RD
4704
4705 wxPyEndAllowThreads(__tstate);
4706 if (PyErr_Occurred()) SWIG_fail;
4707 }
093d3ff1 4708 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMask, 0);
d55e5bfc
RD
4709 return resultobj;
4710 fail:
4711 return NULL;
4712}
4713
4714
093d3ff1 4715static PyObject *_wrap_Bitmap_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4716 PyObject *resultobj = NULL;
093d3ff1
RD
4717 wxBitmap *arg1 = (wxBitmap *) 0 ;
4718 wxMask *arg2 = (wxMask *) 0 ;
4719 PyObject * obj0 = 0 ;
4720 PyObject * obj1 = 0 ;
d55e5bfc 4721 char *kwnames[] = {
093d3ff1 4722 (char *) "self",(char *) "mask", NULL
d55e5bfc
RD
4723 };
4724
093d3ff1
RD
4725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetMask",kwnames,&obj0,&obj1)) goto fail;
4726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4727 if (SWIG_arg_fail(1)) SWIG_fail;
4728 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMask, SWIG_POINTER_EXCEPTION | 0);
4729 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4730 {
4731 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4732 (arg1)->SetMask(arg2);
d55e5bfc
RD
4733
4734 wxPyEndAllowThreads(__tstate);
110da5b0 4735 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4736 }
093d3ff1 4737 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
4738 return resultobj;
4739 fail:
4740 return NULL;
4741}
4742
4743
093d3ff1 4744static PyObject *_wrap_Bitmap_SetMaskColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4745 PyObject *resultobj = NULL;
093d3ff1
RD
4746 wxBitmap *arg1 = (wxBitmap *) 0 ;
4747 wxColour *arg2 = 0 ;
4748 wxColour temp2 ;
d55e5bfc 4749 PyObject * obj0 = 0 ;
093d3ff1 4750 PyObject * obj1 = 0 ;
d55e5bfc 4751 char *kwnames[] = {
093d3ff1 4752 (char *) "self",(char *) "colour", NULL
d55e5bfc
RD
4753 };
4754
093d3ff1
RD
4755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetMaskColour",kwnames,&obj0,&obj1)) goto fail;
4756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4757 if (SWIG_arg_fail(1)) SWIG_fail;
4758 {
4759 arg2 = &temp2;
4760 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc
RD
4761 }
4762 {
4763 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4764 wxBitmap_SetMaskColour(arg1,(wxColour const &)*arg2);
d55e5bfc
RD
4765
4766 wxPyEndAllowThreads(__tstate);
110da5b0 4767 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4768 }
093d3ff1 4769 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
4770 return resultobj;
4771 fail:
4772 return NULL;
4773}
4774
4775
093d3ff1 4776static PyObject *_wrap_Bitmap_GetSubBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4777 PyObject *resultobj = NULL;
093d3ff1
RD
4778 wxBitmap *arg1 = (wxBitmap *) 0 ;
4779 wxRect *arg2 = 0 ;
4780 SwigValueWrapper<wxBitmap > result;
4781 wxRect temp2 ;
d55e5bfc 4782 PyObject * obj0 = 0 ;
093d3ff1 4783 PyObject * obj1 = 0 ;
d55e5bfc 4784 char *kwnames[] = {
093d3ff1 4785 (char *) "self",(char *) "rect", NULL
d55e5bfc
RD
4786 };
4787
093d3ff1
RD
4788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_GetSubBitmap",kwnames,&obj0,&obj1)) goto fail;
4789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4790 if (SWIG_arg_fail(1)) SWIG_fail;
4791 {
4792 arg2 = &temp2;
4793 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc
RD
4794 }
4795 {
4796 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4797 result = ((wxBitmap const *)arg1)->GetSubBitmap((wxRect const &)*arg2);
d55e5bfc
RD
4798
4799 wxPyEndAllowThreads(__tstate);
110da5b0 4800 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4801 }
093d3ff1
RD
4802 {
4803 wxBitmap * resultptr;
7449af73 4804 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
093d3ff1
RD
4805 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4806 }
d55e5bfc
RD
4807 return resultobj;
4808 fail:
4809 return NULL;
4810}
4811
4812
093d3ff1 4813static PyObject *_wrap_Bitmap_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4814 PyObject *resultobj = NULL;
093d3ff1
RD
4815 wxBitmap *arg1 = (wxBitmap *) 0 ;
4816 wxString *arg2 = 0 ;
4817 wxBitmapType arg3 ;
4818 wxPalette *arg4 = (wxPalette *) NULL ;
4819 bool result;
4820 bool temp2 = false ;
d55e5bfc 4821 PyObject * obj0 = 0 ;
093d3ff1
RD
4822 PyObject * obj1 = 0 ;
4823 PyObject * obj2 = 0 ;
4824 PyObject * obj3 = 0 ;
d55e5bfc 4825 char *kwnames[] = {
093d3ff1 4826 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
d55e5bfc
RD
4827 };
4828
093d3ff1
RD
4829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Bitmap_SaveFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4831 if (SWIG_arg_fail(1)) SWIG_fail;
4832 {
4833 arg2 = wxString_in_helper(obj1);
4834 if (arg2 == NULL) SWIG_fail;
4835 temp2 = true;
4836 }
4837 {
7449af73 4838 arg3 = static_cast<wxBitmapType >(SWIG_As_int(obj2));
093d3ff1
RD
4839 if (SWIG_arg_fail(3)) SWIG_fail;
4840 }
4841 if (obj3) {
4842 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxPalette, SWIG_POINTER_EXCEPTION | 0);
4843 if (SWIG_arg_fail(4)) SWIG_fail;
4844 }
d55e5bfc
RD
4845 {
4846 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 4847 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3,arg4);
d55e5bfc
RD
4848
4849 wxPyEndAllowThreads(__tstate);
110da5b0 4850 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4851 }
093d3ff1
RD
4852 {
4853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4854 }
4855 {
4856 if (temp2)
4857 delete arg2;
4858 }
d55e5bfc
RD
4859 return resultobj;
4860 fail:
093d3ff1
RD
4861 {
4862 if (temp2)
4863 delete arg2;
4864 }
d55e5bfc
RD
4865 return NULL;
4866}
4867
4868
093d3ff1 4869static PyObject *_wrap_Bitmap_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4870 PyObject *resultobj = NULL;
093d3ff1 4871 wxBitmap *arg1 = (wxBitmap *) 0 ;
d55e5bfc 4872 wxString *arg2 = 0 ;
093d3ff1 4873 wxBitmapType arg3 ;
d55e5bfc 4874 bool result;
ae8162c8 4875 bool temp2 = false ;
d55e5bfc
RD
4876 PyObject * obj0 = 0 ;
4877 PyObject * obj1 = 0 ;
4878 PyObject * obj2 = 0 ;
4879 char *kwnames[] = {
4880 (char *) "self",(char *) "name",(char *) "type", NULL
4881 };
4882
093d3ff1
RD
4883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Bitmap_LoadFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
4884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4885 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4886 {
4887 arg2 = wxString_in_helper(obj1);
4888 if (arg2 == NULL) SWIG_fail;
ae8162c8 4889 temp2 = true;
d55e5bfc 4890 }
093d3ff1 4891 {
7449af73 4892 arg3 = static_cast<wxBitmapType >(SWIG_As_int(obj2));
093d3ff1
RD
4893 if (SWIG_arg_fail(3)) SWIG_fail;
4894 }
d55e5bfc
RD
4895 {
4896 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 4897 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3);
d55e5bfc
RD
4898
4899 wxPyEndAllowThreads(__tstate);
4900 if (PyErr_Occurred()) SWIG_fail;
4901 }
4902 {
4903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4904 }
4905 {
4906 if (temp2)
4907 delete arg2;
4908 }
4909 return resultobj;
4910 fail:
4911 {
4912 if (temp2)
4913 delete arg2;
4914 }
4915 return NULL;
4916}
4917
4918
093d3ff1 4919static PyObject *_wrap_Bitmap_GetPalette(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4920 PyObject *resultobj = NULL;
093d3ff1
RD
4921 wxBitmap *arg1 = (wxBitmap *) 0 ;
4922 wxPalette *result;
d55e5bfc
RD
4923 PyObject * obj0 = 0 ;
4924 char *kwnames[] = {
4925 (char *) "self", NULL
4926 };
4927
093d3ff1
RD
4928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetPalette",kwnames,&obj0)) goto fail;
4929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4930 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4931 {
4932 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4933 result = (wxPalette *)((wxBitmap const *)arg1)->GetPalette();
d55e5bfc
RD
4934
4935 wxPyEndAllowThreads(__tstate);
4936 if (PyErr_Occurred()) SWIG_fail;
4937 }
093d3ff1 4938 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPalette, 0);
d55e5bfc
RD
4939 return resultobj;
4940 fail:
4941 return NULL;
4942}
4943
4944
093d3ff1 4945static PyObject *_wrap_Bitmap_SetPalette(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4946 PyObject *resultobj = NULL;
093d3ff1
RD
4947 wxBitmap *arg1 = (wxBitmap *) 0 ;
4948 wxPalette *arg2 = 0 ;
d55e5bfc
RD
4949 PyObject * obj0 = 0 ;
4950 PyObject * obj1 = 0 ;
4951 char *kwnames[] = {
093d3ff1 4952 (char *) "self",(char *) "palette", NULL
d55e5bfc
RD
4953 };
4954
093d3ff1
RD
4955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetPalette",kwnames,&obj0,&obj1)) goto fail;
4956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4957 if (SWIG_arg_fail(1)) SWIG_fail;
4958 {
4959 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPalette, SWIG_POINTER_EXCEPTION | 0);
4960 if (SWIG_arg_fail(2)) SWIG_fail;
4961 if (arg2 == NULL) {
4962 SWIG_null_ref("wxPalette");
4963 }
4964 if (SWIG_arg_fail(2)) SWIG_fail;
4965 }
d55e5bfc
RD
4966 {
4967 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4968 (arg1)->SetPalette((wxPalette const &)*arg2);
d55e5bfc
RD
4969
4970 wxPyEndAllowThreads(__tstate);
4971 if (PyErr_Occurred()) SWIG_fail;
4972 }
4973 Py_INCREF(Py_None); resultobj = Py_None;
4974 return resultobj;
4975 fail:
4976 return NULL;
4977}
4978
4979
093d3ff1 4980static PyObject *_wrap_Bitmap_CopyFromIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4981 PyObject *resultobj = NULL;
093d3ff1
RD
4982 wxBitmap *arg1 = (wxBitmap *) 0 ;
4983 wxIcon *arg2 = 0 ;
d55e5bfc
RD
4984 bool result;
4985 PyObject * obj0 = 0 ;
093d3ff1 4986 PyObject * obj1 = 0 ;
d55e5bfc 4987 char *kwnames[] = {
093d3ff1 4988 (char *) "self",(char *) "icon", NULL
d55e5bfc
RD
4989 };
4990
093d3ff1
RD
4991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_CopyFromIcon",kwnames,&obj0,&obj1)) goto fail;
4992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
4993 if (SWIG_arg_fail(1)) SWIG_fail;
4994 {
4995 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4996 if (SWIG_arg_fail(2)) SWIG_fail;
4997 if (arg2 == NULL) {
4998 SWIG_null_ref("wxIcon");
4999 }
5000 if (SWIG_arg_fail(2)) SWIG_fail;
5001 }
d55e5bfc
RD
5002 {
5003 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5004 result = (bool)(arg1)->CopyFromIcon((wxIcon const &)*arg2);
d55e5bfc
RD
5005
5006 wxPyEndAllowThreads(__tstate);
5007 if (PyErr_Occurred()) SWIG_fail;
5008 }
5009 {
5010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5011 }
5012 return resultobj;
5013 fail:
5014 return NULL;
5015}
5016
5017
093d3ff1 5018static PyObject *_wrap_Bitmap_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5019 PyObject *resultobj = NULL;
093d3ff1
RD
5020 wxBitmap *arg1 = (wxBitmap *) 0 ;
5021 int arg2 ;
d55e5bfc 5022 PyObject * obj0 = 0 ;
093d3ff1 5023 PyObject * obj1 = 0 ;
d55e5bfc 5024 char *kwnames[] = {
093d3ff1 5025 (char *) "self",(char *) "height", NULL
d55e5bfc
RD
5026 };
5027
093d3ff1
RD
5028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetHeight",kwnames,&obj0,&obj1)) goto fail;
5029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
5030 if (SWIG_arg_fail(1)) SWIG_fail;
5031 {
7449af73 5032 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5033 if (SWIG_arg_fail(2)) SWIG_fail;
5034 }
d55e5bfc
RD
5035 {
5036 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5037 (arg1)->SetHeight(arg2);
d55e5bfc
RD
5038
5039 wxPyEndAllowThreads(__tstate);
5040 if (PyErr_Occurred()) SWIG_fail;
5041 }
093d3ff1 5042 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
5043 return resultobj;
5044 fail:
5045 return NULL;
5046}
5047
5048
093d3ff1 5049static PyObject *_wrap_Bitmap_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5050 PyObject *resultobj = NULL;
093d3ff1
RD
5051 wxBitmap *arg1 = (wxBitmap *) 0 ;
5052 int arg2 ;
d55e5bfc 5053 PyObject * obj0 = 0 ;
093d3ff1 5054 PyObject * obj1 = 0 ;
d55e5bfc 5055 char *kwnames[] = {
093d3ff1 5056 (char *) "self",(char *) "width", NULL
d55e5bfc
RD
5057 };
5058
093d3ff1
RD
5059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetWidth",kwnames,&obj0,&obj1)) goto fail;
5060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
5061 if (SWIG_arg_fail(1)) SWIG_fail;
5062 {
7449af73 5063 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5064 if (SWIG_arg_fail(2)) SWIG_fail;
5065 }
d55e5bfc
RD
5066 {
5067 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5068 (arg1)->SetWidth(arg2);
d55e5bfc
RD
5069
5070 wxPyEndAllowThreads(__tstate);
5071 if (PyErr_Occurred()) SWIG_fail;
5072 }
093d3ff1 5073 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
5074 return resultobj;
5075 fail:
5076 return NULL;
5077}
5078
5079
093d3ff1 5080static PyObject *_wrap_Bitmap_SetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5081 PyObject *resultobj = NULL;
093d3ff1
RD
5082 wxBitmap *arg1 = (wxBitmap *) 0 ;
5083 int arg2 ;
d55e5bfc 5084 PyObject * obj0 = 0 ;
093d3ff1 5085 PyObject * obj1 = 0 ;
d55e5bfc 5086 char *kwnames[] = {
093d3ff1 5087 (char *) "self",(char *) "depth", NULL
d55e5bfc
RD
5088 };
5089
093d3ff1
RD
5090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetDepth",kwnames,&obj0,&obj1)) goto fail;
5091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
5092 if (SWIG_arg_fail(1)) SWIG_fail;
5093 {
7449af73 5094 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5095 if (SWIG_arg_fail(2)) SWIG_fail;
5096 }
d55e5bfc
RD
5097 {
5098 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5099 (arg1)->SetDepth(arg2);
d55e5bfc
RD
5100
5101 wxPyEndAllowThreads(__tstate);
5102 if (PyErr_Occurred()) SWIG_fail;
5103 }
093d3ff1 5104 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
5105 return resultobj;
5106 fail:
5107 return NULL;
5108}
5109
5110
093d3ff1 5111static PyObject *_wrap_Bitmap_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5112 PyObject *resultobj = NULL;
093d3ff1
RD
5113 wxBitmap *arg1 = (wxBitmap *) 0 ;
5114 wxSize *arg2 = 0 ;
5115 wxSize temp2 ;
d55e5bfc
RD
5116 PyObject * obj0 = 0 ;
5117 PyObject * obj1 = 0 ;
5118 char *kwnames[] = {
093d3ff1 5119 (char *) "self",(char *) "size", NULL
d55e5bfc
RD
5120 };
5121
093d3ff1
RD
5122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetSize",kwnames,&obj0,&obj1)) goto fail;
5123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
5124 if (SWIG_arg_fail(1)) SWIG_fail;
5125 {
5126 arg2 = &temp2;
5127 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
5128 }
d55e5bfc
RD
5129 {
5130 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5131 wxBitmap_SetSize(arg1,(wxSize const &)*arg2);
d55e5bfc
RD
5132
5133 wxPyEndAllowThreads(__tstate);
5134 if (PyErr_Occurred()) SWIG_fail;
5135 }
5136 Py_INCREF(Py_None); resultobj = Py_None;
5137 return resultobj;
5138 fail:
5139 return NULL;
5140}
5141
5142
093d3ff1 5143static PyObject *_wrap_Bitmap_CopyFromCursor(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5144 PyObject *resultobj = NULL;
093d3ff1
RD
5145 wxBitmap *arg1 = (wxBitmap *) 0 ;
5146 wxCursor *arg2 = 0 ;
5147 bool result;
d55e5bfc
RD
5148 PyObject * obj0 = 0 ;
5149 PyObject * obj1 = 0 ;
5150 char *kwnames[] = {
093d3ff1 5151 (char *) "self",(char *) "cursor", NULL
d55e5bfc
RD
5152 };
5153
093d3ff1
RD
5154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_CopyFromCursor",kwnames,&obj0,&obj1)) goto fail;
5155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
5156 if (SWIG_arg_fail(1)) SWIG_fail;
5157 {
5158 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
5159 if (SWIG_arg_fail(2)) SWIG_fail;
5160 if (arg2 == NULL) {
5161 SWIG_null_ref("wxCursor");
5162 }
5163 if (SWIG_arg_fail(2)) SWIG_fail;
5164 }
d55e5bfc
RD
5165 {
5166 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5167 result = (bool)(arg1)->CopyFromCursor((wxCursor const &)*arg2);
d55e5bfc
RD
5168
5169 wxPyEndAllowThreads(__tstate);
5170 if (PyErr_Occurred()) SWIG_fail;
5171 }
093d3ff1
RD
5172 {
5173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5174 }
d55e5bfc
RD
5175 return resultobj;
5176 fail:
5177 return NULL;
5178}
5179
5180
093d3ff1 5181static PyObject *_wrap_Bitmap___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5182 PyObject *resultobj = NULL;
093d3ff1
RD
5183 wxBitmap *arg1 = (wxBitmap *) 0 ;
5184 wxBitmap *arg2 = (wxBitmap *) 0 ;
5185 bool result;
d55e5bfc
RD
5186 PyObject * obj0 = 0 ;
5187 PyObject * obj1 = 0 ;
5188 char *kwnames[] = {
093d3ff1 5189 (char *) "self",(char *) "other", NULL
d55e5bfc
RD
5190 };
5191
093d3ff1
RD
5192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap___eq__",kwnames,&obj0,&obj1)) goto fail;
5193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
5194 if (SWIG_arg_fail(1)) SWIG_fail;
5195 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
5196 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5197 {
5198 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5199 result = (bool)wxBitmap___eq__(arg1,(wxBitmap const *)arg2);
d55e5bfc
RD
5200
5201 wxPyEndAllowThreads(__tstate);
5202 if (PyErr_Occurred()) SWIG_fail;
5203 }
093d3ff1
RD
5204 {
5205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5206 }
d55e5bfc
RD
5207 return resultobj;
5208 fail:
5209 return NULL;
5210}
5211
5212
093d3ff1 5213static PyObject *_wrap_Bitmap___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5214 PyObject *resultobj = NULL;
093d3ff1
RD
5215 wxBitmap *arg1 = (wxBitmap *) 0 ;
5216 wxBitmap *arg2 = (wxBitmap *) 0 ;
5217 bool result;
d55e5bfc
RD
5218 PyObject * obj0 = 0 ;
5219 PyObject * obj1 = 0 ;
5220 char *kwnames[] = {
093d3ff1 5221 (char *) "self",(char *) "other", NULL
d55e5bfc
RD
5222 };
5223
093d3ff1
RD
5224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap___ne__",kwnames,&obj0,&obj1)) goto fail;
5225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
5226 if (SWIG_arg_fail(1)) SWIG_fail;
5227 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
5228 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5229 {
5230 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5231 result = (bool)wxBitmap___ne__(arg1,(wxBitmap const *)arg2);
d55e5bfc
RD
5232
5233 wxPyEndAllowThreads(__tstate);
5234 if (PyErr_Occurred()) SWIG_fail;
5235 }
d55e5bfc 5236 {
093d3ff1 5237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
5238 }
5239 return resultobj;
5240 fail:
d55e5bfc
RD
5241 return NULL;
5242}
5243
5244
093d3ff1
RD
5245static PyObject * Bitmap_swigregister(PyObject *, PyObject *args) {
5246 PyObject *obj;
5247 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5248 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap, obj);
5249 Py_INCREF(obj);
5250 return Py_BuildValue((char *)"");
5251}
5252static PyObject *_wrap_new_Mask(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5253 PyObject *resultobj = NULL;
093d3ff1
RD
5254 wxBitmap *arg1 = 0 ;
5255 wxColour const &arg2_defvalue = wxNullColour ;
5256 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5257 wxMask *result;
5258 wxColour temp2 ;
d55e5bfc 5259 PyObject * obj0 = 0 ;
093d3ff1 5260 PyObject * obj1 = 0 ;
d55e5bfc 5261 char *kwnames[] = {
093d3ff1 5262 (char *) "bitmap",(char *) "colour", NULL
d55e5bfc
RD
5263 };
5264
093d3ff1
RD
5265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Mask",kwnames,&obj0,&obj1)) goto fail;
5266 {
5267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
5268 if (SWIG_arg_fail(1)) SWIG_fail;
5269 if (arg1 == NULL) {
5270 SWIG_null_ref("wxBitmap");
5271 }
5272 if (SWIG_arg_fail(1)) SWIG_fail;
5273 }
5274 if (obj1) {
5275 {
5276 arg2 = &temp2;
5277 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5278 }
5279 }
d55e5bfc 5280 {
093d3ff1 5281 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5282 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5283 result = (wxMask *)new_wxMask((wxBitmap const &)*arg1,(wxColour const &)*arg2);
d55e5bfc
RD
5284
5285 wxPyEndAllowThreads(__tstate);
5286 if (PyErr_Occurred()) SWIG_fail;
5287 }
093d3ff1 5288 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMask, 1);
d55e5bfc
RD
5289 return resultobj;
5290 fail:
5291 return NULL;
5292}
5293
5294
093d3ff1
RD
5295static PyObject * Mask_swigregister(PyObject *, PyObject *args) {
5296 PyObject *obj;
5297 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5298 SWIG_TypeClientData(SWIGTYPE_p_wxMask, obj);
5299 Py_INCREF(obj);
5300 return Py_BuildValue((char *)"");
5301}
5302static PyObject *_wrap_new_Icon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5303 PyObject *resultobj = NULL;
093d3ff1
RD
5304 wxString *arg1 = 0 ;
5305 wxBitmapType arg2 ;
5306 int arg3 = (int) -1 ;
5307 int arg4 = (int) -1 ;
5308 wxIcon *result;
5309 bool temp1 = false ;
d55e5bfc 5310 PyObject * obj0 = 0 ;
093d3ff1
RD
5311 PyObject * obj1 = 0 ;
5312 PyObject * obj2 = 0 ;
5313 PyObject * obj3 = 0 ;
d55e5bfc 5314 char *kwnames[] = {
093d3ff1 5315 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
d55e5bfc
RD
5316 };
5317
093d3ff1
RD
5318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_Icon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5319 {
5320 arg1 = wxString_in_helper(obj0);
5321 if (arg1 == NULL) SWIG_fail;
5322 temp1 = true;
5323 }
5324 {
7449af73 5325 arg2 = static_cast<wxBitmapType >(SWIG_As_int(obj1));
093d3ff1
RD
5326 if (SWIG_arg_fail(2)) SWIG_fail;
5327 }
5328 if (obj2) {
5329 {
7449af73 5330 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
5331 if (SWIG_arg_fail(3)) SWIG_fail;
5332 }
5333 }
5334 if (obj3) {
5335 {
7449af73 5336 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
5337 if (SWIG_arg_fail(4)) SWIG_fail;
5338 }
5339 }
d55e5bfc 5340 {
093d3ff1 5341 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5342 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 5343 result = (wxIcon *)new wxIcon((wxString const &)*arg1,arg2,arg3,arg4);
d55e5bfc
RD
5344
5345 wxPyEndAllowThreads(__tstate);
5346 if (PyErr_Occurred()) SWIG_fail;
5347 }
093d3ff1 5348 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d55e5bfc 5349 {
093d3ff1
RD
5350 if (temp1)
5351 delete arg1;
d55e5bfc
RD
5352 }
5353 return resultobj;
5354 fail:
093d3ff1
RD
5355 {
5356 if (temp1)
5357 delete arg1;
5358 }
d55e5bfc
RD
5359 return NULL;
5360}
5361
5362
093d3ff1 5363static PyObject *_wrap_delete_Icon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5364 PyObject *resultobj = NULL;
093d3ff1 5365 wxIcon *arg1 = (wxIcon *) 0 ;
d55e5bfc 5366 PyObject * obj0 = 0 ;
d55e5bfc 5367 char *kwnames[] = {
093d3ff1 5368 (char *) "self", NULL
d55e5bfc
RD
5369 };
5370
093d3ff1
RD
5371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Icon",kwnames,&obj0)) goto fail;
5372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
5373 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5374 {
5375 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5376 delete arg1;
d55e5bfc
RD
5377
5378 wxPyEndAllowThreads(__tstate);
5379 if (PyErr_Occurred()) SWIG_fail;
5380 }
5381 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
5382 return resultobj;
5383 fail:
d55e5bfc
RD
5384 return NULL;
5385}
5386
5387
093d3ff1 5388static PyObject *_wrap_new_EmptyIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5389 PyObject *resultobj = NULL;
093d3ff1 5390 wxIcon *result;
d55e5bfc 5391 char *kwnames[] = {
093d3ff1 5392 NULL
d55e5bfc
RD
5393 };
5394
093d3ff1 5395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EmptyIcon",kwnames)) goto fail;
d55e5bfc 5396 {
093d3ff1 5397 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5398 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5399 result = (wxIcon *)new wxIcon();
d55e5bfc
RD
5400
5401 wxPyEndAllowThreads(__tstate);
5402 if (PyErr_Occurred()) SWIG_fail;
5403 }
093d3ff1 5404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d55e5bfc
RD
5405 return resultobj;
5406 fail:
5407 return NULL;
5408}
5409
5410
093d3ff1 5411static PyObject *_wrap_new_IconFromLocation(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5412 PyObject *resultobj = NULL;
093d3ff1
RD
5413 wxIconLocation *arg1 = 0 ;
5414 wxIcon *result;
d55e5bfc 5415 PyObject * obj0 = 0 ;
d55e5bfc 5416 char *kwnames[] = {
093d3ff1 5417 (char *) "loc", NULL
d55e5bfc
RD
5418 };
5419
093d3ff1
RD
5420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconFromLocation",kwnames,&obj0)) goto fail;
5421 {
5422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconLocation, SWIG_POINTER_EXCEPTION | 0);
5423 if (SWIG_arg_fail(1)) SWIG_fail;
5424 if (arg1 == NULL) {
5425 SWIG_null_ref("wxIconLocation");
5426 }
5427 if (SWIG_arg_fail(1)) SWIG_fail;
5428 }
d55e5bfc 5429 {
093d3ff1 5430 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5431 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5432 result = (wxIcon *)new wxIcon((wxIconLocation const &)*arg1);
d55e5bfc
RD
5433
5434 wxPyEndAllowThreads(__tstate);
5435 if (PyErr_Occurred()) SWIG_fail;
5436 }
093d3ff1 5437 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d55e5bfc
RD
5438 return resultobj;
5439 fail:
5440 return NULL;
5441}
5442
5443
093d3ff1 5444static PyObject *_wrap_new_IconFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5445 PyObject *resultobj = NULL;
093d3ff1
RD
5446 wxBitmap *arg1 = 0 ;
5447 wxIcon *result;
d55e5bfc
RD
5448 PyObject * obj0 = 0 ;
5449 char *kwnames[] = {
093d3ff1 5450 (char *) "bmp", NULL
d55e5bfc
RD
5451 };
5452
093d3ff1 5453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconFromBitmap",kwnames,&obj0)) goto fail;
d55e5bfc 5454 {
093d3ff1
RD
5455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
5456 if (SWIG_arg_fail(1)) SWIG_fail;
5457 if (arg1 == NULL) {
5458 SWIG_null_ref("wxBitmap");
5459 }
5460 if (SWIG_arg_fail(1)) SWIG_fail;
5461 }
5462 {
5463 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5464 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5465 result = (wxIcon *)new_wxIcon((wxBitmap const &)*arg1);
d55e5bfc
RD
5466
5467 wxPyEndAllowThreads(__tstate);
5468 if (PyErr_Occurred()) SWIG_fail;
5469 }
093d3ff1 5470 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d55e5bfc
RD
5471 return resultobj;
5472 fail:
5473 return NULL;
5474}
5475
5476
093d3ff1 5477static PyObject *_wrap_new_IconFromXPMData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5478 PyObject *resultobj = NULL;
093d3ff1
RD
5479 PyObject *arg1 = (PyObject *) 0 ;
5480 wxIcon *result;
5481 PyObject * obj0 = 0 ;
d55e5bfc 5482 char *kwnames[] = {
093d3ff1 5483 (char *) "listOfStrings", NULL
d55e5bfc
RD
5484 };
5485
093d3ff1
RD
5486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconFromXPMData",kwnames,&obj0)) goto fail;
5487 arg1 = obj0;
d55e5bfc 5488 {
093d3ff1 5489 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5490 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5491 result = (wxIcon *)new_wxIcon(arg1);
d55e5bfc
RD
5492
5493 wxPyEndAllowThreads(__tstate);
5494 if (PyErr_Occurred()) SWIG_fail;
5495 }
093d3ff1 5496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d55e5bfc
RD
5497 return resultobj;
5498 fail:
5499 return NULL;
5500}
5501
5502
093d3ff1 5503static PyObject *_wrap_Icon_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5504 PyObject *resultobj = NULL;
093d3ff1
RD
5505 wxIcon *arg1 = (wxIcon *) 0 ;
5506 wxString *arg2 = 0 ;
5507 wxBitmapType arg3 ;
5508 bool result;
5509 bool temp2 = false ;
d55e5bfc
RD
5510 PyObject * obj0 = 0 ;
5511 PyObject * obj1 = 0 ;
093d3ff1 5512 PyObject * obj2 = 0 ;
d55e5bfc 5513 char *kwnames[] = {
093d3ff1 5514 (char *) "self",(char *) "name",(char *) "type", NULL
d55e5bfc
RD
5515 };
5516
093d3ff1
RD
5517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Icon_LoadFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
5518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
5519 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5520 {
093d3ff1
RD
5521 arg2 = wxString_in_helper(obj1);
5522 if (arg2 == NULL) SWIG_fail;
5523 temp2 = true;
5524 }
5525 {
7449af73 5526 arg3 = static_cast<wxBitmapType >(SWIG_As_int(obj2));
093d3ff1 5527 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 5528 }
d55e5bfc
RD
5529 {
5530 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 5531 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3);
d55e5bfc
RD
5532
5533 wxPyEndAllowThreads(__tstate);
5534 if (PyErr_Occurred()) SWIG_fail;
5535 }
d55e5bfc 5536 {
093d3ff1
RD
5537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5538 }
5539 {
5540 if (temp2)
5541 delete arg2;
d55e5bfc
RD
5542 }
5543 return resultobj;
5544 fail:
5545 {
093d3ff1
RD
5546 if (temp2)
5547 delete arg2;
d55e5bfc
RD
5548 }
5549 return NULL;
5550}
5551
5552
093d3ff1 5553static PyObject *_wrap_Icon_GetHandle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5554 PyObject *resultobj = NULL;
093d3ff1
RD
5555 wxIcon *arg1 = (wxIcon *) 0 ;
5556 long result;
d55e5bfc
RD
5557 PyObject * obj0 = 0 ;
5558 char *kwnames[] = {
093d3ff1 5559 (char *) "self", NULL
d55e5bfc
RD
5560 };
5561
093d3ff1
RD
5562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_GetHandle",kwnames,&obj0)) goto fail;
5563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
5564 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5565 {
5566 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5567 result = (long)(arg1)->GetHandle();
d55e5bfc
RD
5568
5569 wxPyEndAllowThreads(__tstate);
5570 if (PyErr_Occurred()) SWIG_fail;
5571 }
093d3ff1 5572 {
7449af73 5573 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 5574 }
d55e5bfc
RD
5575 return resultobj;
5576 fail:
5577 return NULL;
5578}
5579
5580
093d3ff1 5581static PyObject *_wrap_Icon_SetHandle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5582 PyObject *resultobj = NULL;
093d3ff1
RD
5583 wxIcon *arg1 = (wxIcon *) 0 ;
5584 long arg2 ;
d55e5bfc 5585 PyObject * obj0 = 0 ;
093d3ff1 5586 PyObject * obj1 = 0 ;
d55e5bfc 5587 char *kwnames[] = {
093d3ff1 5588 (char *) "self",(char *) "handle", NULL
d55e5bfc
RD
5589 };
5590
093d3ff1
RD
5591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_SetHandle",kwnames,&obj0,&obj1)) goto fail;
5592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
5593 if (SWIG_arg_fail(1)) SWIG_fail;
5594 {
7449af73 5595 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
5596 if (SWIG_arg_fail(2)) SWIG_fail;
5597 }
d55e5bfc
RD
5598 {
5599 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5600 wxIcon_SetHandle(arg1,arg2);
d55e5bfc
RD
5601
5602 wxPyEndAllowThreads(__tstate);
5603 if (PyErr_Occurred()) SWIG_fail;
5604 }
5605 Py_INCREF(Py_None); resultobj = Py_None;
5606 return resultobj;
5607 fail:
5608 return NULL;
5609}
5610
5611
093d3ff1 5612static PyObject *_wrap_Icon_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5613 PyObject *resultobj = NULL;
093d3ff1
RD
5614 wxIcon *arg1 = (wxIcon *) 0 ;
5615 bool result;
d55e5bfc 5616 PyObject * obj0 = 0 ;
d55e5bfc 5617 char *kwnames[] = {
093d3ff1 5618 (char *) "self", NULL
d55e5bfc
RD
5619 };
5620
093d3ff1
RD
5621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_Ok",kwnames,&obj0)) goto fail;
5622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
5623 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5624 {
5625 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5626 result = (bool)(arg1)->Ok();
d55e5bfc
RD
5627
5628 wxPyEndAllowThreads(__tstate);
5629 if (PyErr_Occurred()) SWIG_fail;
5630 }
093d3ff1
RD
5631 {
5632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5633 }
d55e5bfc
RD
5634 return resultobj;
5635 fail:
5636 return NULL;
5637}
5638
5639
093d3ff1 5640static PyObject *_wrap_Icon_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5641 PyObject *resultobj = NULL;
093d3ff1
RD
5642 wxIcon *arg1 = (wxIcon *) 0 ;
5643 int result;
d55e5bfc 5644 PyObject * obj0 = 0 ;
d55e5bfc 5645 char *kwnames[] = {
093d3ff1 5646 (char *) "self", NULL
d55e5bfc
RD
5647 };
5648
093d3ff1
RD
5649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_GetWidth",kwnames,&obj0)) goto fail;
5650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
5651 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5652 {
5653 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5654 result = (int)(arg1)->GetWidth();
d55e5bfc
RD
5655
5656 wxPyEndAllowThreads(__tstate);
5657 if (PyErr_Occurred()) SWIG_fail;
5658 }
d55e5bfc 5659 {
7449af73 5660 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc
RD
5661 }
5662 return resultobj;
5663 fail:
d55e5bfc
RD
5664 return NULL;
5665}
5666
5667
093d3ff1 5668static PyObject *_wrap_Icon_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5669 PyObject *resultobj = NULL;
093d3ff1
RD
5670 wxIcon *arg1 = (wxIcon *) 0 ;
5671 int result;
d55e5bfc 5672 PyObject * obj0 = 0 ;
d55e5bfc 5673 char *kwnames[] = {
093d3ff1 5674 (char *) "self", NULL
d55e5bfc
RD
5675 };
5676
093d3ff1
RD
5677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_GetHeight",kwnames,&obj0)) goto fail;
5678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
5679 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5680 {
5681 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5682 result = (int)(arg1)->GetHeight();
d55e5bfc
RD
5683
5684 wxPyEndAllowThreads(__tstate);
5685 if (PyErr_Occurred()) SWIG_fail;
5686 }
5687 {
7449af73 5688 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc
RD
5689 }
5690 return resultobj;
5691 fail:
5692 return NULL;
5693}
5694
5695
093d3ff1 5696static PyObject *_wrap_Icon_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5697 PyObject *resultobj = NULL;
093d3ff1
RD
5698 wxIcon *arg1 = (wxIcon *) 0 ;
5699 int result;
d55e5bfc 5700 PyObject * obj0 = 0 ;
d55e5bfc 5701 char *kwnames[] = {
093d3ff1 5702 (char *) "self", NULL
d55e5bfc
RD
5703 };
5704
093d3ff1
RD
5705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_GetDepth",kwnames,&obj0)) goto fail;
5706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
5707 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5708 {
5709 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5710 result = (int)(arg1)->GetDepth();
d55e5bfc
RD
5711
5712 wxPyEndAllowThreads(__tstate);
110da5b0 5713 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5714 }
d55e5bfc 5715 {
7449af73 5716 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc
RD
5717 }
5718 return resultobj;
5719 fail:
d55e5bfc
RD
5720 return NULL;
5721}
5722
5723
093d3ff1 5724static PyObject *_wrap_Icon_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5725 PyObject *resultobj = NULL;
093d3ff1
RD
5726 wxIcon *arg1 = (wxIcon *) 0 ;
5727 int arg2 ;
d55e5bfc 5728 PyObject * obj0 = 0 ;
093d3ff1 5729 PyObject * obj1 = 0 ;
d55e5bfc 5730 char *kwnames[] = {
093d3ff1 5731 (char *) "self",(char *) "w", NULL
d55e5bfc
RD
5732 };
5733
093d3ff1
RD
5734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_SetWidth",kwnames,&obj0,&obj1)) goto fail;
5735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
5736 if (SWIG_arg_fail(1)) SWIG_fail;
5737 {
7449af73 5738 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5739 if (SWIG_arg_fail(2)) SWIG_fail;
5740 }
d55e5bfc
RD
5741 {
5742 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5743 (arg1)->SetWidth(arg2);
d55e5bfc
RD
5744
5745 wxPyEndAllowThreads(__tstate);
5746 if (PyErr_Occurred()) SWIG_fail;
5747 }
5748 Py_INCREF(Py_None); resultobj = Py_None;
5749 return resultobj;
5750 fail:
5751 return NULL;
5752}
5753
5754
093d3ff1 5755static PyObject *_wrap_Icon_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5756 PyObject *resultobj = NULL;
093d3ff1
RD
5757 wxIcon *arg1 = (wxIcon *) 0 ;
5758 int arg2 ;
d55e5bfc 5759 PyObject * obj0 = 0 ;
093d3ff1 5760 PyObject * obj1 = 0 ;
d55e5bfc 5761 char *kwnames[] = {
093d3ff1 5762 (char *) "self",(char *) "h", NULL
d55e5bfc
RD
5763 };
5764
093d3ff1
RD
5765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_SetHeight",kwnames,&obj0,&obj1)) goto fail;
5766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
5767 if (SWIG_arg_fail(1)) SWIG_fail;
5768 {
7449af73 5769 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5770 if (SWIG_arg_fail(2)) SWIG_fail;
5771 }
d55e5bfc
RD
5772 {
5773 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5774 (arg1)->SetHeight(arg2);
d55e5bfc
RD
5775
5776 wxPyEndAllowThreads(__tstate);
110da5b0 5777 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5778 }
093d3ff1 5779 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
5780 return resultobj;
5781 fail:
5782 return NULL;
5783}
5784
5785
093d3ff1 5786static PyObject *_wrap_Icon_SetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5787 PyObject *resultobj = NULL;
093d3ff1
RD
5788 wxIcon *arg1 = (wxIcon *) 0 ;
5789 int arg2 ;
d55e5bfc 5790 PyObject * obj0 = 0 ;
093d3ff1 5791 PyObject * obj1 = 0 ;
d55e5bfc 5792 char *kwnames[] = {
093d3ff1 5793 (char *) "self",(char *) "d", NULL
d55e5bfc
RD
5794 };
5795
093d3ff1
RD
5796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_SetDepth",kwnames,&obj0,&obj1)) goto fail;
5797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
5798 if (SWIG_arg_fail(1)) SWIG_fail;
5799 {
7449af73 5800 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 5801 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5802 }
5803 {
5804 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5805 (arg1)->SetDepth(arg2);
d55e5bfc
RD
5806
5807 wxPyEndAllowThreads(__tstate);
110da5b0 5808 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5809 }
093d3ff1 5810 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
5811 return resultobj;
5812 fail:
5813 return NULL;
5814}
5815
5816
093d3ff1 5817static PyObject *_wrap_Icon_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5818 PyObject *resultobj = NULL;
093d3ff1
RD
5819 wxIcon *arg1 = (wxIcon *) 0 ;
5820 wxSize *arg2 = 0 ;
5821 wxSize temp2 ;
d55e5bfc 5822 PyObject * obj0 = 0 ;
093d3ff1 5823 PyObject * obj1 = 0 ;
d55e5bfc 5824 char *kwnames[] = {
093d3ff1 5825 (char *) "self",(char *) "size", NULL
d55e5bfc
RD
5826 };
5827
093d3ff1
RD
5828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_SetSize",kwnames,&obj0,&obj1)) goto fail;
5829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
5830 if (SWIG_arg_fail(1)) SWIG_fail;
5831 {
5832 arg2 = &temp2;
5833 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
5834 }
d55e5bfc
RD
5835 {
5836 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5837 (arg1)->SetSize((wxSize const &)*arg2);
d55e5bfc
RD
5838
5839 wxPyEndAllowThreads(__tstate);
5840 if (PyErr_Occurred()) SWIG_fail;
5841 }
093d3ff1 5842 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
5843 return resultobj;
5844 fail:
5845 return NULL;
5846}
5847
5848
093d3ff1 5849static PyObject *_wrap_Icon_CopyFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5850 PyObject *resultobj = NULL;
093d3ff1
RD
5851 wxIcon *arg1 = (wxIcon *) 0 ;
5852 wxBitmap *arg2 = 0 ;
d55e5bfc
RD
5853 PyObject * obj0 = 0 ;
5854 PyObject * obj1 = 0 ;
5855 char *kwnames[] = {
093d3ff1 5856 (char *) "self",(char *) "bmp", NULL
d55e5bfc
RD
5857 };
5858
093d3ff1
RD
5859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_CopyFromBitmap",kwnames,&obj0,&obj1)) goto fail;
5860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
5861 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5862 {
093d3ff1
RD
5863 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
5864 if (SWIG_arg_fail(2)) SWIG_fail;
5865 if (arg2 == NULL) {
5866 SWIG_null_ref("wxBitmap");
5867 }
5868 if (SWIG_arg_fail(2)) SWIG_fail;
5869 }
5870 {
5871 PyThreadState* __tstate = wxPyBeginAllowThreads();
5872 (arg1)->CopyFromBitmap((wxBitmap const &)*arg2);
d55e5bfc
RD
5873
5874 wxPyEndAllowThreads(__tstate);
5875 if (PyErr_Occurred()) SWIG_fail;
5876 }
5877 Py_INCREF(Py_None); resultobj = Py_None;
5878 return resultobj;
5879 fail:
5880 return NULL;
5881}
5882
5883
093d3ff1
RD
5884static PyObject * Icon_swigregister(PyObject *, PyObject *args) {
5885 PyObject *obj;
5886 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5887 SWIG_TypeClientData(SWIGTYPE_p_wxIcon, obj);
5888 Py_INCREF(obj);
5889 return Py_BuildValue((char *)"");
5890}
5891static PyObject *_wrap_new_IconLocation(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5892 PyObject *resultobj = NULL;
093d3ff1
RD
5893 wxString *arg1 = (wxString *) &wxPyEmptyString ;
5894 int arg2 = (int) 0 ;
5895 wxIconLocation *result;
5896 bool temp1 = false ;
d55e5bfc 5897 PyObject * obj0 = 0 ;
093d3ff1 5898 PyObject * obj1 = 0 ;
d55e5bfc 5899 char *kwnames[] = {
093d3ff1 5900 (char *) "filename",(char *) "num", NULL
d55e5bfc
RD
5901 };
5902
093d3ff1
RD
5903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconLocation",kwnames,&obj0,&obj1)) goto fail;
5904 if (obj0) {
5905 {
5906 arg1 = wxString_in_helper(obj0);
5907 if (arg1 == NULL) SWIG_fail;
5908 temp1 = true;
5909 }
5910 }
5911 if (obj1) {
5912 {
7449af73 5913 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5914 if (SWIG_arg_fail(2)) SWIG_fail;
5915 }
5916 }
d55e5bfc
RD
5917 {
5918 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5919 result = (wxIconLocation *)new_wxIconLocation((wxString const *)arg1,arg2);
d55e5bfc
RD
5920
5921 wxPyEndAllowThreads(__tstate);
5922 if (PyErr_Occurred()) SWIG_fail;
5923 }
093d3ff1 5924 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconLocation, 1);
d55e5bfc 5925 {
093d3ff1
RD
5926 if (temp1)
5927 delete arg1;
d55e5bfc
RD
5928 }
5929 return resultobj;
5930 fail:
093d3ff1
RD
5931 {
5932 if (temp1)
5933 delete arg1;
5934 }
d55e5bfc
RD
5935 return NULL;
5936}
5937
5938
093d3ff1 5939static PyObject *_wrap_delete_IconLocation(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5940 PyObject *resultobj = NULL;
093d3ff1 5941 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
d55e5bfc
RD
5942 PyObject * obj0 = 0 ;
5943 char *kwnames[] = {
5944 (char *) "self", NULL
5945 };
5946
093d3ff1
RD
5947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_IconLocation",kwnames,&obj0)) goto fail;
5948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconLocation, SWIG_POINTER_EXCEPTION | 0);
5949 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5950 {
5951 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5952 delete arg1;
d55e5bfc
RD
5953
5954 wxPyEndAllowThreads(__tstate);
5955 if (PyErr_Occurred()) SWIG_fail;
5956 }
093d3ff1 5957 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
5958 return resultobj;
5959 fail:
5960 return NULL;
5961}
5962
5963
093d3ff1 5964static PyObject *_wrap_IconLocation_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5965 PyObject *resultobj = NULL;
093d3ff1
RD
5966 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
5967 bool result;
d55e5bfc
RD
5968 PyObject * obj0 = 0 ;
5969 char *kwnames[] = {
5970 (char *) "self", NULL
5971 };
5972
093d3ff1
RD
5973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconLocation_IsOk",kwnames,&obj0)) goto fail;
5974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconLocation, SWIG_POINTER_EXCEPTION | 0);
5975 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5976 {
5977 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5978 result = (bool)((wxIconLocation const *)arg1)->IsOk();
d55e5bfc
RD
5979
5980 wxPyEndAllowThreads(__tstate);
5981 if (PyErr_Occurred()) SWIG_fail;
5982 }
093d3ff1
RD
5983 {
5984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5985 }
d55e5bfc
RD
5986 return resultobj;
5987 fail:
5988 return NULL;
5989}
5990
5991
093d3ff1 5992static PyObject *_wrap_IconLocation_SetFileName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5993 PyObject *resultobj = NULL;
093d3ff1
RD
5994 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
5995 wxString *arg2 = 0 ;
5996 bool temp2 = false ;
d55e5bfc 5997 PyObject * obj0 = 0 ;
093d3ff1 5998 PyObject * obj1 = 0 ;
d55e5bfc 5999 char *kwnames[] = {
093d3ff1 6000 (char *) "self",(char *) "filename", NULL
d55e5bfc
RD
6001 };
6002
093d3ff1
RD
6003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconLocation_SetFileName",kwnames,&obj0,&obj1)) goto fail;
6004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconLocation, SWIG_POINTER_EXCEPTION | 0);
6005 if (SWIG_arg_fail(1)) SWIG_fail;
6006 {
6007 arg2 = wxString_in_helper(obj1);
6008 if (arg2 == NULL) SWIG_fail;
6009 temp2 = true;
6010 }
d55e5bfc
RD
6011 {
6012 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6013 (arg1)->SetFileName((wxString const &)*arg2);
d55e5bfc
RD
6014
6015 wxPyEndAllowThreads(__tstate);
6016 if (PyErr_Occurred()) SWIG_fail;
6017 }
093d3ff1
RD
6018 Py_INCREF(Py_None); resultobj = Py_None;
6019 {
6020 if (temp2)
6021 delete arg2;
6022 }
d55e5bfc
RD
6023 return resultobj;
6024 fail:
093d3ff1
RD
6025 {
6026 if (temp2)
6027 delete arg2;
6028 }
d55e5bfc
RD
6029 return NULL;
6030}
6031
6032
093d3ff1 6033static PyObject *_wrap_IconLocation_GetFileName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6034 PyObject *resultobj = NULL;
093d3ff1
RD
6035 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
6036 wxString *result;
d55e5bfc 6037 PyObject * obj0 = 0 ;
d55e5bfc 6038 char *kwnames[] = {
093d3ff1 6039 (char *) "self", NULL
d55e5bfc
RD
6040 };
6041
093d3ff1
RD
6042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconLocation_GetFileName",kwnames,&obj0)) goto fail;
6043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconLocation, SWIG_POINTER_EXCEPTION | 0);
6044 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6045 {
6046 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1
RD
6047 {
6048 wxString const &_result_ref = ((wxIconLocation const *)arg1)->GetFileName();
6049 result = (wxString *) &_result_ref;
6050 }
d55e5bfc
RD
6051
6052 wxPyEndAllowThreads(__tstate);
6053 if (PyErr_Occurred()) SWIG_fail;
6054 }
093d3ff1
RD
6055 {
6056#if wxUSE_UNICODE
6057 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6058#else
6059 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6060#endif
6061 }
d55e5bfc
RD
6062 return resultobj;
6063 fail:
6064 return NULL;
6065}
6066
6067
093d3ff1 6068static PyObject *_wrap_IconLocation_SetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6069 PyObject *resultobj = NULL;
093d3ff1 6070 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
d55e5bfc
RD
6071 int arg2 ;
6072 PyObject * obj0 = 0 ;
6073 PyObject * obj1 = 0 ;
6074 char *kwnames[] = {
093d3ff1 6075 (char *) "self",(char *) "num", NULL
d55e5bfc
RD
6076 };
6077
093d3ff1
RD
6078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconLocation_SetIndex",kwnames,&obj0,&obj1)) goto fail;
6079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconLocation, SWIG_POINTER_EXCEPTION | 0);
6080 if (SWIG_arg_fail(1)) SWIG_fail;
6081 {
7449af73 6082 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6083 if (SWIG_arg_fail(2)) SWIG_fail;
6084 }
d55e5bfc
RD
6085 {
6086 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6087 wxIconLocation_SetIndex(arg1,arg2);
d55e5bfc
RD
6088
6089 wxPyEndAllowThreads(__tstate);
6090 if (PyErr_Occurred()) SWIG_fail;
6091 }
6092 Py_INCREF(Py_None); resultobj = Py_None;
6093 return resultobj;
6094 fail:
6095 return NULL;
6096}
6097
6098
093d3ff1 6099static PyObject *_wrap_IconLocation_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6100 PyObject *resultobj = NULL;
093d3ff1
RD
6101 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
6102 int result;
d55e5bfc 6103 PyObject * obj0 = 0 ;
d55e5bfc 6104 char *kwnames[] = {
093d3ff1 6105 (char *) "self", NULL
d55e5bfc
RD
6106 };
6107
093d3ff1
RD
6108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconLocation_GetIndex",kwnames,&obj0)) goto fail;
6109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconLocation, SWIG_POINTER_EXCEPTION | 0);
6110 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6111 {
6112 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6113 result = (int)wxIconLocation_GetIndex(arg1);
d55e5bfc
RD
6114
6115 wxPyEndAllowThreads(__tstate);
6116 if (PyErr_Occurred()) SWIG_fail;
6117 }
093d3ff1 6118 {
7449af73 6119 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 6120 }
d55e5bfc
RD
6121 return resultobj;
6122 fail:
6123 return NULL;
6124}
6125
6126
093d3ff1
RD
6127static PyObject * IconLocation_swigregister(PyObject *, PyObject *args) {
6128 PyObject *obj;
6129 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6130 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation, obj);
6131 Py_INCREF(obj);
6132 return Py_BuildValue((char *)"");
6133}
6134static PyObject *_wrap_new_IconBundle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6135 PyObject *resultobj = NULL;
093d3ff1 6136 wxIconBundle *result;
d55e5bfc 6137 char *kwnames[] = {
093d3ff1 6138 NULL
d55e5bfc
RD
6139 };
6140
093d3ff1 6141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IconBundle",kwnames)) goto fail;
d55e5bfc
RD
6142 {
6143 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6144 result = (wxIconBundle *)new wxIconBundle();
d55e5bfc
RD
6145
6146 wxPyEndAllowThreads(__tstate);
6147 if (PyErr_Occurred()) SWIG_fail;
6148 }
093d3ff1 6149 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconBundle, 1);
d55e5bfc
RD
6150 return resultobj;
6151 fail:
6152 return NULL;
6153}
6154
6155
093d3ff1 6156static PyObject *_wrap_new_IconBundleFromFile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6157 PyObject *resultobj = NULL;
093d3ff1
RD
6158 wxString *arg1 = 0 ;
6159 long arg2 ;
6160 wxIconBundle *result;
6161 bool temp1 = false ;
d55e5bfc
RD
6162 PyObject * obj0 = 0 ;
6163 PyObject * obj1 = 0 ;
d55e5bfc 6164 char *kwnames[] = {
093d3ff1 6165 (char *) "file",(char *) "type", NULL
d55e5bfc
RD
6166 };
6167
093d3ff1
RD
6168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_IconBundleFromFile",kwnames,&obj0,&obj1)) goto fail;
6169 {
6170 arg1 = wxString_in_helper(obj0);
6171 if (arg1 == NULL) SWIG_fail;
6172 temp1 = true;
d55e5bfc 6173 }
093d3ff1 6174 {
7449af73 6175 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1 6176 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
6177 }
6178 {
6179 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6180 result = (wxIconBundle *)new wxIconBundle((wxString const &)*arg1,arg2);
d55e5bfc
RD
6181
6182 wxPyEndAllowThreads(__tstate);
110da5b0 6183 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6184 }
093d3ff1
RD
6185 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconBundle, 1);
6186 {
6187 if (temp1)
6188 delete arg1;
6189 }
d55e5bfc
RD
6190 return resultobj;
6191 fail:
093d3ff1
RD
6192 {
6193 if (temp1)
6194 delete arg1;
6195 }
d55e5bfc
RD
6196 return NULL;
6197}
6198
6199
093d3ff1 6200static PyObject *_wrap_new_IconBundleFromIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6201 PyObject *resultobj = NULL;
093d3ff1
RD
6202 wxIcon *arg1 = 0 ;
6203 wxIconBundle *result;
a2569024
RD
6204 PyObject * obj0 = 0 ;
6205 char *kwnames[] = {
093d3ff1 6206 (char *) "icon", NULL
a2569024
RD
6207 };
6208
093d3ff1
RD
6209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconBundleFromIcon",kwnames,&obj0)) goto fail;
6210 {
6211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
6212 if (SWIG_arg_fail(1)) SWIG_fail;
6213 if (arg1 == NULL) {
6214 SWIG_null_ref("wxIcon");
6215 }
6216 if (SWIG_arg_fail(1)) SWIG_fail;
a2569024
RD
6217 }
6218 {
a2569024 6219 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6220 result = (wxIconBundle *)new wxIconBundle((wxIcon const &)*arg1);
a2569024
RD
6221
6222 wxPyEndAllowThreads(__tstate);
110da5b0 6223 if (PyErr_Occurred()) SWIG_fail;
a2569024 6224 }
093d3ff1 6225 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconBundle, 1);
a2569024
RD
6226 return resultobj;
6227 fail:
6228 return NULL;
6229}
6230
6231
093d3ff1 6232static PyObject *_wrap_delete_IconBundle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6233 PyObject *resultobj = NULL;
093d3ff1 6234 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
d55e5bfc 6235 PyObject * obj0 = 0 ;
d55e5bfc 6236 char *kwnames[] = {
093d3ff1 6237 (char *) "self", NULL
d55e5bfc
RD
6238 };
6239
093d3ff1
RD
6240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_IconBundle",kwnames,&obj0)) goto fail;
6241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
6242 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6243 {
6244 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6245 delete arg1;
d55e5bfc
RD
6246
6247 wxPyEndAllowThreads(__tstate);
110da5b0 6248 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6249 }
093d3ff1 6250 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
6251 return resultobj;
6252 fail:
6253 return NULL;
6254}
6255
6256
093d3ff1 6257static PyObject *_wrap_IconBundle_AddIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6258 PyObject *resultobj = NULL;
093d3ff1
RD
6259 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
6260 wxIcon *arg2 = 0 ;
d55e5bfc
RD
6261 PyObject * obj0 = 0 ;
6262 PyObject * obj1 = 0 ;
6263 char *kwnames[] = {
093d3ff1 6264 (char *) "self",(char *) "icon", NULL
d55e5bfc
RD
6265 };
6266
093d3ff1
RD
6267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconBundle_AddIcon",kwnames,&obj0,&obj1)) goto fail;
6268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
6269 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6270 {
093d3ff1
RD
6271 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
6272 if (SWIG_arg_fail(2)) SWIG_fail;
6273 if (arg2 == NULL) {
6274 SWIG_null_ref("wxIcon");
6275 }
6276 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
6277 }
6278 {
6279 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6280 (arg1)->AddIcon((wxIcon const &)*arg2);
d55e5bfc
RD
6281
6282 wxPyEndAllowThreads(__tstate);
110da5b0 6283 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6284 }
093d3ff1 6285 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
6286 return resultobj;
6287 fail:
d55e5bfc
RD
6288 return NULL;
6289}
6290
6291
093d3ff1 6292static PyObject *_wrap_IconBundle_AddIconFromFile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6293 PyObject *resultobj = NULL;
093d3ff1
RD
6294 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
6295 wxString *arg2 = 0 ;
6296 long arg3 ;
6297 bool temp2 = false ;
d55e5bfc 6298 PyObject * obj0 = 0 ;
093d3ff1
RD
6299 PyObject * obj1 = 0 ;
6300 PyObject * obj2 = 0 ;
d55e5bfc 6301 char *kwnames[] = {
093d3ff1 6302 (char *) "self",(char *) "file",(char *) "type", NULL
d55e5bfc
RD
6303 };
6304
093d3ff1
RD
6305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IconBundle_AddIconFromFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
6307 if (SWIG_arg_fail(1)) SWIG_fail;
6308 {
6309 arg2 = wxString_in_helper(obj1);
6310 if (arg2 == NULL) SWIG_fail;
6311 temp2 = true;
6312 }
6313 {
7449af73 6314 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
6315 if (SWIG_arg_fail(3)) SWIG_fail;
6316 }
d55e5bfc
RD
6317 {
6318 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6319 (arg1)->AddIcon((wxString const &)*arg2,arg3);
d55e5bfc
RD
6320
6321 wxPyEndAllowThreads(__tstate);
6322 if (PyErr_Occurred()) SWIG_fail;
6323 }
6324 Py_INCREF(Py_None); resultobj = Py_None;
093d3ff1
RD
6325 {
6326 if (temp2)
6327 delete arg2;
6328 }
d55e5bfc
RD
6329 return resultobj;
6330 fail:
093d3ff1
RD
6331 {
6332 if (temp2)
6333 delete arg2;
6334 }
d55e5bfc
RD
6335 return NULL;
6336}
6337
6338
093d3ff1 6339static PyObject *_wrap_IconBundle_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6340 PyObject *resultobj = NULL;
093d3ff1
RD
6341 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
6342 wxSize *arg2 = 0 ;
6343 wxIcon *result;
6344 wxSize temp2 ;
d55e5bfc 6345 PyObject * obj0 = 0 ;
093d3ff1 6346 PyObject * obj1 = 0 ;
d55e5bfc 6347 char *kwnames[] = {
093d3ff1 6348 (char *) "self",(char *) "size", NULL
d55e5bfc
RD
6349 };
6350
093d3ff1
RD
6351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconBundle_GetIcon",kwnames,&obj0,&obj1)) goto fail;
6352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
6353 if (SWIG_arg_fail(1)) SWIG_fail;
6354 {
6355 arg2 = &temp2;
6356 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6357 }
d55e5bfc
RD
6358 {
6359 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1
RD
6360 {
6361 wxIcon const &_result_ref = ((wxIconBundle const *)arg1)->GetIcon((wxSize const &)*arg2);
6362 result = (wxIcon *) &_result_ref;
6363 }
d55e5bfc
RD
6364
6365 wxPyEndAllowThreads(__tstate);
6366 if (PyErr_Occurred()) SWIG_fail;
6367 }
093d3ff1
RD
6368 {
6369 wxIcon* resultptr = new wxIcon(*result);
6370 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxIcon, 1);
6371 }
d55e5bfc
RD
6372 return resultobj;
6373 fail:
6374 return NULL;
6375}
6376
6377
093d3ff1
RD
6378static PyObject * IconBundle_swigregister(PyObject *, PyObject *args) {
6379 PyObject *obj;
6380 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6381 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle, obj);
6382 Py_INCREF(obj);
6383 return Py_BuildValue((char *)"");
6384}
6385static PyObject *_wrap_new_Cursor(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6386 PyObject *resultobj = NULL;
fef4c27a 6387 wxString *arg1 = 0 ;
093d3ff1
RD
6388 long arg2 ;
6389 int arg3 = (int) 0 ;
6390 int arg4 = (int) 0 ;
6391 wxCursor *result;
6392 bool temp1 = false ;
d55e5bfc
RD
6393 PyObject * obj0 = 0 ;
6394 PyObject * obj1 = 0 ;
6395 PyObject * obj2 = 0 ;
093d3ff1 6396 PyObject * obj3 = 0 ;
d55e5bfc 6397 char *kwnames[] = {
093d3ff1 6398 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
d55e5bfc
RD
6399 };
6400
093d3ff1
RD
6401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_Cursor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6402 {
6403 arg1 = wxString_in_helper(obj0);
6404 if (arg1 == NULL) SWIG_fail;
6405 temp1 = true;
6406 }
6407 {
7449af73 6408 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
6409 if (SWIG_arg_fail(2)) SWIG_fail;
6410 }
6411 if (obj2) {
6412 {
7449af73 6413 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
6414 if (SWIG_arg_fail(3)) SWIG_fail;
6415 }
6416 }
6417 if (obj3) {
6418 {
7449af73 6419 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
6420 if (SWIG_arg_fail(4)) SWIG_fail;
6421 }
6422 }
d55e5bfc 6423 {
093d3ff1 6424 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 6425 PyThreadState* __tstate = wxPyBeginAllowThreads();
fef4c27a 6426 result = (wxCursor *)new_wxCursor((wxString const &)*arg1,arg2,arg3,arg4);
d55e5bfc
RD
6427
6428 wxPyEndAllowThreads(__tstate);
6429 if (PyErr_Occurred()) SWIG_fail;
6430 }
093d3ff1 6431 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCursor, 1);
d55e5bfc 6432 {
093d3ff1
RD
6433 if (temp1)
6434 delete arg1;
d55e5bfc
RD
6435 }
6436 return resultobj;
6437 fail:
093d3ff1
RD
6438 {
6439 if (temp1)
6440 delete arg1;
6441 }
d55e5bfc
RD
6442 return NULL;
6443}
6444
6445
093d3ff1 6446static PyObject *_wrap_delete_Cursor(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6447 PyObject *resultobj = NULL;
093d3ff1 6448 wxCursor *arg1 = (wxCursor *) 0 ;
d55e5bfc 6449 PyObject * obj0 = 0 ;
d55e5bfc 6450 char *kwnames[] = {
093d3ff1 6451 (char *) "self", NULL
d55e5bfc
RD
6452 };
6453
093d3ff1
RD
6454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Cursor",kwnames,&obj0)) goto fail;
6455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
6456 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6457 {
6458 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6459 delete arg1;
d55e5bfc
RD
6460
6461 wxPyEndAllowThreads(__tstate);
6462 if (PyErr_Occurred()) SWIG_fail;
6463 }
093d3ff1 6464 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
6465 return resultobj;
6466 fail:
6467 return NULL;
6468}
6469
6470
093d3ff1 6471static PyObject *_wrap_new_StockCursor(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6472 PyObject *resultobj = NULL;
093d3ff1
RD
6473 int arg1 ;
6474 wxCursor *result;
d55e5bfc 6475 PyObject * obj0 = 0 ;
d55e5bfc 6476 char *kwnames[] = {
093d3ff1 6477 (char *) "id", NULL
d55e5bfc
RD
6478 };
6479
093d3ff1 6480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_StockCursor",kwnames,&obj0)) goto fail;
d55e5bfc 6481 {
7449af73 6482 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1 6483 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6484 }
6485 {
093d3ff1 6486 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 6487 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6488 result = (wxCursor *)new wxCursor(arg1);
d55e5bfc
RD
6489
6490 wxPyEndAllowThreads(__tstate);
6491 if (PyErr_Occurred()) SWIG_fail;
6492 }
093d3ff1 6493 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCursor, 1);
d55e5bfc
RD
6494 return resultobj;
6495 fail:
6496 return NULL;
6497}
6498
6499
093d3ff1 6500static PyObject *_wrap_new_CursorFromImage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6501 PyObject *resultobj = NULL;
093d3ff1
RD
6502 wxImage *arg1 = 0 ;
6503 wxCursor *result;
d55e5bfc 6504 PyObject * obj0 = 0 ;
d55e5bfc 6505 char *kwnames[] = {
093d3ff1 6506 (char *) "image", NULL
d55e5bfc
RD
6507 };
6508
093d3ff1 6509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CursorFromImage",kwnames,&obj0)) goto fail;
d55e5bfc 6510 {
093d3ff1
RD
6511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
6512 if (SWIG_arg_fail(1)) SWIG_fail;
6513 if (arg1 == NULL) {
6514 SWIG_null_ref("wxImage");
6515 }
6516 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6517 }
6518 {
093d3ff1 6519 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 6520 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6521 result = (wxCursor *)new wxCursor((wxImage const &)*arg1);
d55e5bfc
RD
6522
6523 wxPyEndAllowThreads(__tstate);
6524 if (PyErr_Occurred()) SWIG_fail;
6525 }
093d3ff1 6526 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCursor, 1);
d55e5bfc
RD
6527 return resultobj;
6528 fail:
6529 return NULL;
6530}
6531
6532
093d3ff1 6533static PyObject *_wrap_Cursor_GetHandle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6534 PyObject *resultobj = NULL;
093d3ff1
RD
6535 wxCursor *arg1 = (wxCursor *) 0 ;
6536 long result;
d55e5bfc 6537 PyObject * obj0 = 0 ;
d55e5bfc 6538 char *kwnames[] = {
093d3ff1 6539 (char *) "self", NULL
d55e5bfc
RD
6540 };
6541
093d3ff1
RD
6542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Cursor_GetHandle",kwnames,&obj0)) goto fail;
6543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
6544 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6545 {
6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6547 result = (long)(arg1)->GetHandle();
d55e5bfc
RD
6548
6549 wxPyEndAllowThreads(__tstate);
6550 if (PyErr_Occurred()) SWIG_fail;
6551 }
093d3ff1 6552 {
7449af73 6553 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 6554 }
d55e5bfc
RD
6555 return resultobj;
6556 fail:
6557 return NULL;
6558}
6559
6560
093d3ff1 6561static PyObject *_wrap_Cursor_SetHandle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6562 PyObject *resultobj = NULL;
093d3ff1
RD
6563 wxCursor *arg1 = (wxCursor *) 0 ;
6564 long arg2 ;
d55e5bfc 6565 PyObject * obj0 = 0 ;
093d3ff1 6566 PyObject * obj1 = 0 ;
d55e5bfc 6567 char *kwnames[] = {
093d3ff1 6568 (char *) "self",(char *) "handle", NULL
d55e5bfc
RD
6569 };
6570
093d3ff1
RD
6571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Cursor_SetHandle",kwnames,&obj0,&obj1)) goto fail;
6572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
6573 if (SWIG_arg_fail(1)) SWIG_fail;
6574 {
7449af73 6575 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
6576 if (SWIG_arg_fail(2)) SWIG_fail;
6577 }
d55e5bfc
RD
6578 {
6579 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6580 wxCursor_SetHandle(arg1,arg2);
d55e5bfc
RD
6581
6582 wxPyEndAllowThreads(__tstate);
6583 if (PyErr_Occurred()) SWIG_fail;
6584 }
093d3ff1 6585 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
6586 return resultobj;
6587 fail:
6588 return NULL;
6589}
6590
6591
093d3ff1 6592static PyObject *_wrap_Cursor_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6593 PyObject *resultobj = NULL;
093d3ff1 6594 wxCursor *arg1 = (wxCursor *) 0 ;
d55e5bfc
RD
6595 bool result;
6596 PyObject * obj0 = 0 ;
d55e5bfc 6597 char *kwnames[] = {
093d3ff1 6598 (char *) "self", NULL
d55e5bfc
RD
6599 };
6600
093d3ff1
RD
6601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Cursor_Ok",kwnames,&obj0)) goto fail;
6602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
6603 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6604 {
6605 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6606 result = (bool)(arg1)->Ok();
d55e5bfc
RD
6607
6608 wxPyEndAllowThreads(__tstate);
6609 if (PyErr_Occurred()) SWIG_fail;
6610 }
6611 {
6612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6613 }
6614 return resultobj;
6615 fail:
6616 return NULL;
6617}
6618
6619
093d3ff1 6620static PyObject *_wrap_Cursor_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6621 PyObject *resultobj = NULL;
093d3ff1
RD
6622 wxCursor *arg1 = (wxCursor *) 0 ;
6623 int result;
d55e5bfc 6624 PyObject * obj0 = 0 ;
d55e5bfc 6625 char *kwnames[] = {
093d3ff1 6626 (char *) "self", NULL
d55e5bfc
RD
6627 };
6628
093d3ff1
RD
6629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Cursor_GetWidth",kwnames,&obj0)) goto fail;
6630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
6631 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6632 {
6633 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6634 result = (int)(arg1)->GetWidth();
d55e5bfc
RD
6635
6636 wxPyEndAllowThreads(__tstate);
6637 if (PyErr_Occurred()) SWIG_fail;
6638 }
6639 {
7449af73 6640 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc
RD
6641 }
6642 return resultobj;
6643 fail:
6644 return NULL;
6645}
6646
6647
093d3ff1 6648static PyObject *_wrap_Cursor_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6649 PyObject *resultobj = NULL;
093d3ff1
RD
6650 wxCursor *arg1 = (wxCursor *) 0 ;
6651 int result;
d55e5bfc 6652 PyObject * obj0 = 0 ;
d55e5bfc 6653 char *kwnames[] = {
093d3ff1 6654 (char *) "self", NULL
d55e5bfc
RD
6655 };
6656
093d3ff1
RD
6657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Cursor_GetHeight",kwnames,&obj0)) goto fail;
6658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
6659 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6660 {
6661 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6662 result = (int)(arg1)->GetHeight();
d55e5bfc
RD
6663
6664 wxPyEndAllowThreads(__tstate);
6665 if (PyErr_Occurred()) SWIG_fail;
6666 }
6667 {
7449af73 6668 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc
RD
6669 }
6670 return resultobj;
6671 fail:
6672 return NULL;
6673}
6674
6675
093d3ff1 6676static PyObject *_wrap_Cursor_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6677 PyObject *resultobj = NULL;
093d3ff1
RD
6678 wxCursor *arg1 = (wxCursor *) 0 ;
6679 int result;
d55e5bfc
RD
6680 PyObject * obj0 = 0 ;
6681 char *kwnames[] = {
6682 (char *) "self", NULL
6683 };
6684
093d3ff1
RD
6685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Cursor_GetDepth",kwnames,&obj0)) goto fail;
6686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
6687 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6688 {
6689 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6690 result = (int)(arg1)->GetDepth();
d55e5bfc
RD
6691
6692 wxPyEndAllowThreads(__tstate);
6693 if (PyErr_Occurred()) SWIG_fail;
6694 }
6695 {
7449af73 6696 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc
RD
6697 }
6698 return resultobj;
6699 fail:
6700 return NULL;
6701}
6702
6703
093d3ff1 6704static PyObject *_wrap_Cursor_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6705 PyObject *resultobj = NULL;
093d3ff1 6706 wxCursor *arg1 = (wxCursor *) 0 ;
d55e5bfc 6707 int arg2 ;
d55e5bfc
RD
6708 PyObject * obj0 = 0 ;
6709 PyObject * obj1 = 0 ;
d55e5bfc 6710 char *kwnames[] = {
093d3ff1 6711 (char *) "self",(char *) "w", NULL
d55e5bfc
RD
6712 };
6713
093d3ff1
RD
6714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Cursor_SetWidth",kwnames,&obj0,&obj1)) goto fail;
6715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
6716 if (SWIG_arg_fail(1)) SWIG_fail;
6717 {
7449af73 6718 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6719 if (SWIG_arg_fail(2)) SWIG_fail;
6720 }
d55e5bfc
RD
6721 {
6722 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6723 (arg1)->SetWidth(arg2);
d55e5bfc
RD
6724
6725 wxPyEndAllowThreads(__tstate);
6726 if (PyErr_Occurred()) SWIG_fail;
6727 }
093d3ff1 6728 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
6729 return resultobj;
6730 fail:
6731 return NULL;
6732}
6733
6734
093d3ff1 6735static PyObject *_wrap_Cursor_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6736 PyObject *resultobj = NULL;
093d3ff1
RD
6737 wxCursor *arg1 = (wxCursor *) 0 ;
6738 int arg2 ;
d55e5bfc
RD
6739 PyObject * obj0 = 0 ;
6740 PyObject * obj1 = 0 ;
6741 char *kwnames[] = {
093d3ff1 6742 (char *) "self",(char *) "h", NULL
d55e5bfc
RD
6743 };
6744
093d3ff1
RD
6745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Cursor_SetHeight",kwnames,&obj0,&obj1)) goto fail;
6746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
6747 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6748 {
7449af73 6749 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 6750 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
6751 }
6752 {
6753 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6754 (arg1)->SetHeight(arg2);
d55e5bfc
RD
6755
6756 wxPyEndAllowThreads(__tstate);
6757 if (PyErr_Occurred()) SWIG_fail;
6758 }
093d3ff1 6759 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
6760 return resultobj;
6761 fail:
6762 return NULL;
6763}
6764
6765
093d3ff1 6766static PyObject *_wrap_Cursor_SetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6767 PyObject *resultobj = NULL;
093d3ff1
RD
6768 wxCursor *arg1 = (wxCursor *) 0 ;
6769 int arg2 ;
d55e5bfc
RD
6770 PyObject * obj0 = 0 ;
6771 PyObject * obj1 = 0 ;
6772 char *kwnames[] = {
093d3ff1 6773 (char *) "self",(char *) "d", NULL
d55e5bfc
RD
6774 };
6775
093d3ff1
RD
6776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Cursor_SetDepth",kwnames,&obj0,&obj1)) goto fail;
6777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
6778 if (SWIG_arg_fail(1)) SWIG_fail;
6779 {
7449af73 6780 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 6781 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
6782 }
6783 {
6784 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6785 (arg1)->SetDepth(arg2);
d55e5bfc
RD
6786
6787 wxPyEndAllowThreads(__tstate);
6788 if (PyErr_Occurred()) SWIG_fail;
6789 }
093d3ff1 6790 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
6791 return resultobj;
6792 fail:
6793 return NULL;
6794}
6795
6796
093d3ff1 6797static PyObject *_wrap_Cursor_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6798 PyObject *resultobj = NULL;
093d3ff1
RD
6799 wxCursor *arg1 = (wxCursor *) 0 ;
6800 wxSize *arg2 = 0 ;
6801 wxSize temp2 ;
d55e5bfc
RD
6802 PyObject * obj0 = 0 ;
6803 PyObject * obj1 = 0 ;
d55e5bfc 6804 char *kwnames[] = {
093d3ff1 6805 (char *) "self",(char *) "size", NULL
d55e5bfc
RD
6806 };
6807
093d3ff1
RD
6808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Cursor_SetSize",kwnames,&obj0,&obj1)) goto fail;
6809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
6810 if (SWIG_arg_fail(1)) SWIG_fail;
6811 {
6812 arg2 = &temp2;
6813 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6814 }
d55e5bfc
RD
6815 {
6816 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6817 (arg1)->SetSize((wxSize const &)*arg2);
d55e5bfc
RD
6818
6819 wxPyEndAllowThreads(__tstate);
6820 if (PyErr_Occurred()) SWIG_fail;
6821 }
093d3ff1 6822 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
6823 return resultobj;
6824 fail:
6825 return NULL;
6826}
6827
6828
093d3ff1
RD
6829static PyObject * Cursor_swigregister(PyObject *, PyObject *args) {
6830 PyObject *obj;
6831 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6832 SWIG_TypeClientData(SWIGTYPE_p_wxCursor, obj);
6833 Py_INCREF(obj);
6834 return Py_BuildValue((char *)"");
6835}
6836static PyObject *_wrap_new_Region(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6837 PyObject *resultobj = NULL;
093d3ff1
RD
6838 int arg1 = (int) 0 ;
6839 int arg2 = (int) 0 ;
6840 int arg3 = (int) 0 ;
6841 int arg4 = (int) 0 ;
6842 wxRegion *result;
d55e5bfc
RD
6843 PyObject * obj0 = 0 ;
6844 PyObject * obj1 = 0 ;
093d3ff1
RD
6845 PyObject * obj2 = 0 ;
6846 PyObject * obj3 = 0 ;
d55e5bfc 6847 char *kwnames[] = {
093d3ff1 6848 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
d55e5bfc
RD
6849 };
6850
093d3ff1
RD
6851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Region",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6852 if (obj0) {
6853 {
7449af73 6854 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
6855 if (SWIG_arg_fail(1)) SWIG_fail;
6856 }
6857 }
6858 if (obj1) {
6859 {
7449af73 6860 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6861 if (SWIG_arg_fail(2)) SWIG_fail;
6862 }
6863 }
6864 if (obj2) {
6865 {
7449af73 6866 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
6867 if (SWIG_arg_fail(3)) SWIG_fail;
6868 }
6869 }
6870 if (obj3) {
6871 {
7449af73 6872 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
6873 if (SWIG_arg_fail(4)) SWIG_fail;
6874 }
d55e5bfc
RD
6875 }
6876 {
093d3ff1 6877 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 6878 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6879 result = (wxRegion *)new wxRegion(arg1,arg2,arg3,arg4);
d55e5bfc
RD
6880
6881 wxPyEndAllowThreads(__tstate);
6882 if (PyErr_Occurred()) SWIG_fail;
6883 }
093d3ff1 6884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 1);
d55e5bfc
RD
6885 return resultobj;
6886 fail:
6887 return NULL;
6888}
6889
6890
093d3ff1 6891static PyObject *_wrap_new_RegionFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6892 PyObject *resultobj = NULL;
093d3ff1
RD
6893 wxBitmap *arg1 = 0 ;
6894 wxRegion *result;
d55e5bfc 6895 PyObject * obj0 = 0 ;
d55e5bfc 6896 char *kwnames[] = {
093d3ff1 6897 (char *) "bmp", NULL
d55e5bfc
RD
6898 };
6899
093d3ff1
RD
6900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_RegionFromBitmap",kwnames,&obj0)) goto fail;
6901 {
6902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6903 if (SWIG_arg_fail(1)) SWIG_fail;
6904 if (arg1 == NULL) {
6905 SWIG_null_ref("wxBitmap");
6906 }
6907 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6908 }
6909 {
093d3ff1 6910 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 6911 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6912 result = (wxRegion *)new wxRegion((wxBitmap const &)*arg1);
d55e5bfc
RD
6913
6914 wxPyEndAllowThreads(__tstate);
6915 if (PyErr_Occurred()) SWIG_fail;
6916 }
093d3ff1 6917 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 1);
d55e5bfc
RD
6918 return resultobj;
6919 fail:
6920 return NULL;
6921}
6922
6923
093d3ff1 6924static PyObject *_wrap_new_RegionFromBitmapColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6925 PyObject *resultobj = NULL;
093d3ff1
RD
6926 wxBitmap *arg1 = 0 ;
6927 wxColour *arg2 = 0 ;
6928 int arg3 = (int) 0 ;
6929 wxRegion *result;
6930 wxColour temp2 ;
d55e5bfc
RD
6931 PyObject * obj0 = 0 ;
6932 PyObject * obj1 = 0 ;
6933 PyObject * obj2 = 0 ;
d55e5bfc 6934 char *kwnames[] = {
093d3ff1 6935 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
d55e5bfc
RD
6936 };
6937
093d3ff1
RD
6938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_RegionFromBitmapColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6939 {
6940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6941 if (SWIG_arg_fail(1)) SWIG_fail;
6942 if (arg1 == NULL) {
6943 SWIG_null_ref("wxBitmap");
6944 }
6945 if (SWIG_arg_fail(1)) SWIG_fail;
6946 }
6947 {
6948 arg2 = &temp2;
6949 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6950 }
6951 if (obj2) {
6952 {
7449af73 6953 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
6954 if (SWIG_arg_fail(3)) SWIG_fail;
6955 }
6956 }
d55e5bfc 6957 {
093d3ff1 6958 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 6959 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6960 result = (wxRegion *)new wxRegion((wxBitmap const &)*arg1,(wxColour const &)*arg2,arg3);
d55e5bfc
RD
6961
6962 wxPyEndAllowThreads(__tstate);
6963 if (PyErr_Occurred()) SWIG_fail;
6964 }
093d3ff1 6965 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 1);
d55e5bfc
RD
6966 return resultobj;
6967 fail:
6968 return NULL;
6969}
6970
6971
093d3ff1 6972static PyObject *_wrap_new_RegionFromPoints(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6973 PyObject *resultobj = NULL;
093d3ff1
RD
6974 int arg1 ;
6975 wxPoint *arg2 = (wxPoint *) 0 ;
6976 int arg3 = (int) wxWINDING_RULE ;
6977 wxRegion *result;
d55e5bfc
RD
6978 PyObject * obj0 = 0 ;
6979 PyObject * obj1 = 0 ;
6980 char *kwnames[] = {
093d3ff1 6981 (char *) "points",(char *) "fillStyle", NULL
d55e5bfc
RD
6982 };
6983
093d3ff1 6984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_RegionFromPoints",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc 6985 {
093d3ff1
RD
6986 arg2 = wxPoint_LIST_helper(obj0, &arg1);
6987 if (arg2 == NULL) SWIG_fail;
6988 }
6989 if (obj1) {
6990 {
7449af73 6991 arg3 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6992 if (SWIG_arg_fail(3)) SWIG_fail;
6993 }
d55e5bfc
RD
6994 }
6995 {
093d3ff1 6996 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 6997 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 6998 result = (wxRegion *)new wxRegion(arg1,arg2,arg3);
d55e5bfc
RD
6999
7000 wxPyEndAllowThreads(__tstate);
7001 if (PyErr_Occurred()) SWIG_fail;
7002 }
093d3ff1 7003 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 1);
d55e5bfc 7004 {
093d3ff1 7005 if (arg2) delete [] arg2;
d55e5bfc
RD
7006 }
7007 return resultobj;
7008 fail:
093d3ff1
RD
7009 {
7010 if (arg2) delete [] arg2;
7011 }
d55e5bfc
RD
7012 return NULL;
7013}
7014
7015
093d3ff1 7016static PyObject *_wrap_delete_Region(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7017 PyObject *resultobj = NULL;
d55e5bfc 7018 wxRegion *arg1 = (wxRegion *) 0 ;
d55e5bfc 7019 PyObject * obj0 = 0 ;
d55e5bfc 7020 char *kwnames[] = {
093d3ff1 7021 (char *) "self", NULL
d55e5bfc
RD
7022 };
7023
093d3ff1
RD
7024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Region",kwnames,&obj0)) goto fail;
7025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7026 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7027 {
7028 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7029 delete arg1;
d55e5bfc
RD
7030
7031 wxPyEndAllowThreads(__tstate);
7032 if (PyErr_Occurred()) SWIG_fail;
7033 }
093d3ff1 7034 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
7035 return resultobj;
7036 fail:
7037 return NULL;
7038}
7039
7040
093d3ff1 7041static PyObject *_wrap_Region_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7042 PyObject *resultobj = NULL;
d55e5bfc 7043 wxRegion *arg1 = (wxRegion *) 0 ;
d55e5bfc
RD
7044 PyObject * obj0 = 0 ;
7045 char *kwnames[] = {
7046 (char *) "self", NULL
7047 };
7048
093d3ff1
RD
7049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_Clear",kwnames,&obj0)) goto fail;
7050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7051 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7052 {
7053 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7054 (arg1)->Clear();
d55e5bfc
RD
7055
7056 wxPyEndAllowThreads(__tstate);
7057 if (PyErr_Occurred()) SWIG_fail;
7058 }
093d3ff1 7059 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
7060 return resultobj;
7061 fail:
7062 return NULL;
7063}
7064
7065
093d3ff1 7066static PyObject *_wrap_Region_Offset(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7067 PyObject *resultobj = NULL;
d55e5bfc 7068 wxRegion *arg1 = (wxRegion *) 0 ;
093d3ff1
RD
7069 int arg2 ;
7070 int arg3 ;
a2569024
RD
7071 bool result;
7072 PyObject * obj0 = 0 ;
7073 PyObject * obj1 = 0 ;
093d3ff1 7074 PyObject * obj2 = 0 ;
a2569024 7075 char *kwnames[] = {
093d3ff1 7076 (char *) "self",(char *) "x",(char *) "y", NULL
a2569024
RD
7077 };
7078
093d3ff1
RD
7079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Region_Offset",kwnames,&obj0,&obj1,&obj2)) goto fail;
7080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7081 if (SWIG_arg_fail(1)) SWIG_fail;
7082 {
7449af73 7083 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7084 if (SWIG_arg_fail(2)) SWIG_fail;
7085 }
7086 {
7449af73 7087 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1 7088 if (SWIG_arg_fail(3)) SWIG_fail;
a2569024
RD
7089 }
7090 {
7091 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7092 result = (bool)(arg1)->Offset(arg2,arg3);
a2569024
RD
7093
7094 wxPyEndAllowThreads(__tstate);
7095 if (PyErr_Occurred()) SWIG_fail;
7096 }
7097 {
7098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7099 }
7100 return resultobj;
7101 fail:
7102 return NULL;
7103}
7104
7105
093d3ff1 7106static PyObject *_wrap_Region_Contains(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7107 PyObject *resultobj = NULL;
a2569024 7108 wxRegion *arg1 = (wxRegion *) 0 ;
093d3ff1
RD
7109 int arg2 ;
7110 int arg3 ;
7111 wxRegionContain result;
d55e5bfc
RD
7112 PyObject * obj0 = 0 ;
7113 PyObject * obj1 = 0 ;
7114 PyObject * obj2 = 0 ;
d55e5bfc 7115 char *kwnames[] = {
093d3ff1 7116 (char *) "self",(char *) "x",(char *) "y", NULL
d55e5bfc
RD
7117 };
7118
093d3ff1
RD
7119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Region_Contains",kwnames,&obj0,&obj1,&obj2)) goto fail;
7120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7121 if (SWIG_arg_fail(1)) SWIG_fail;
a2569024 7122 {
7449af73 7123 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 7124 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 7125 }
093d3ff1 7126 {
7449af73 7127 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1 7128 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
7129 }
7130 {
7131 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7132 result = (wxRegionContain)(arg1)->Contains(arg2,arg3);
d55e5bfc
RD
7133
7134 wxPyEndAllowThreads(__tstate);
7135 if (PyErr_Occurred()) SWIG_fail;
7136 }
093d3ff1 7137 resultobj = SWIG_From_int((result));
d55e5bfc
RD
7138 return resultobj;
7139 fail:
7140 return NULL;
7141}
7142
7143
093d3ff1 7144static PyObject *_wrap_Region_ContainsPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7145 PyObject *resultobj = NULL;
093d3ff1
RD
7146 wxRegion *arg1 = (wxRegion *) 0 ;
7147 wxPoint *arg2 = 0 ;
7148 wxRegionContain result;
7149 wxPoint temp2 ;
d55e5bfc 7150 PyObject * obj0 = 0 ;
093d3ff1 7151 PyObject * obj1 = 0 ;
d55e5bfc 7152 char *kwnames[] = {
093d3ff1 7153 (char *) "self",(char *) "pt", NULL
d55e5bfc
RD
7154 };
7155
093d3ff1
RD
7156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_ContainsPoint",kwnames,&obj0,&obj1)) goto fail;
7157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7158 if (SWIG_arg_fail(1)) SWIG_fail;
7159 {
7160 arg2 = &temp2;
7161 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc
RD
7162 }
7163 {
7164 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7165 result = (wxRegionContain)(arg1)->Contains((wxPoint const &)*arg2);
d55e5bfc
RD
7166
7167 wxPyEndAllowThreads(__tstate);
110da5b0 7168 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 7169 }
093d3ff1 7170 resultobj = SWIG_From_int((result));
d55e5bfc
RD
7171 return resultobj;
7172 fail:
7173 return NULL;
7174}
7175
7176
093d3ff1 7177static PyObject *_wrap_Region_ContainsRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7178 PyObject *resultobj = NULL;
093d3ff1
RD
7179 wxRegion *arg1 = (wxRegion *) 0 ;
7180 wxRect *arg2 = 0 ;
7181 wxRegionContain result;
7182 wxRect temp2 ;
d55e5bfc 7183 PyObject * obj0 = 0 ;
093d3ff1 7184 PyObject * obj1 = 0 ;
d55e5bfc 7185 char *kwnames[] = {
093d3ff1 7186 (char *) "self",(char *) "rect", NULL
d55e5bfc
RD
7187 };
7188
093d3ff1
RD
7189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_ContainsRect",kwnames,&obj0,&obj1)) goto fail;
7190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7191 if (SWIG_arg_fail(1)) SWIG_fail;
7192 {
7193 arg2 = &temp2;
7194 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7195 }
d55e5bfc
RD
7196 {
7197 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7198 result = (wxRegionContain)(arg1)->Contains((wxRect const &)*arg2);
d55e5bfc
RD
7199
7200 wxPyEndAllowThreads(__tstate);
7201 if (PyErr_Occurred()) SWIG_fail;
7202 }
093d3ff1 7203 resultobj = SWIG_From_int((result));
d55e5bfc
RD
7204 return resultobj;
7205 fail:
7206 return NULL;
7207}
7208
7209
093d3ff1 7210static PyObject *_wrap_Region_ContainsRectDim(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7211 PyObject *resultobj = NULL;
093d3ff1
RD
7212 wxRegion *arg1 = (wxRegion *) 0 ;
7213 int arg2 ;
7214 int arg3 ;
7215 int arg4 ;
7216 int arg5 ;
7217 wxRegionContain result;
d55e5bfc 7218 PyObject * obj0 = 0 ;
093d3ff1
RD
7219 PyObject * obj1 = 0 ;
7220 PyObject * obj2 = 0 ;
7221 PyObject * obj3 = 0 ;
7222 PyObject * obj4 = 0 ;
d55e5bfc 7223 char *kwnames[] = {
093d3ff1 7224 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
d55e5bfc
RD
7225 };
7226
093d3ff1
RD
7227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_ContainsRectDim",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7229 if (SWIG_arg_fail(1)) SWIG_fail;
7230 {
7449af73 7231 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7232 if (SWIG_arg_fail(2)) SWIG_fail;
7233 }
7234 {
7449af73 7235 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7236 if (SWIG_arg_fail(3)) SWIG_fail;
7237 }
7238 {
7449af73 7239 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
7240 if (SWIG_arg_fail(4)) SWIG_fail;
7241 }
7242 {
7449af73 7243 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
7244 if (SWIG_arg_fail(5)) SWIG_fail;
7245 }
d55e5bfc
RD
7246 {
7247 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7248 result = (wxRegionContain)(arg1)->Contains(arg2,arg3,arg4,arg5);
d55e5bfc
RD
7249
7250 wxPyEndAllowThreads(__tstate);
7251 if (PyErr_Occurred()) SWIG_fail;
7252 }
093d3ff1 7253 resultobj = SWIG_From_int((result));
d55e5bfc
RD
7254 return resultobj;
7255 fail:
7256 return NULL;
7257}
7258
7259
093d3ff1 7260static PyObject *_wrap_Region_GetBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7261 PyObject *resultobj = NULL;
093d3ff1
RD
7262 wxRegion *arg1 = (wxRegion *) 0 ;
7263 wxRect result;
d55e5bfc
RD
7264 PyObject * obj0 = 0 ;
7265 char *kwnames[] = {
7266 (char *) "self", NULL
7267 };
7268
093d3ff1
RD
7269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_GetBox",kwnames,&obj0)) goto fail;
7270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7271 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7272 {
7273 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7274 result = (arg1)->GetBox();
d55e5bfc
RD
7275
7276 wxPyEndAllowThreads(__tstate);
7277 if (PyErr_Occurred()) SWIG_fail;
7278 }
093d3ff1
RD
7279 {
7280 wxRect * resultptr;
7449af73 7281 resultptr = new wxRect(static_cast<wxRect & >(result));
093d3ff1
RD
7282 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7283 }
d55e5bfc
RD
7284 return resultobj;
7285 fail:
7286 return NULL;
7287}
7288
7289
093d3ff1 7290static PyObject *_wrap_Region_Intersect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7291 PyObject *resultobj = NULL;
093d3ff1
RD
7292 wxRegion *arg1 = (wxRegion *) 0 ;
7293 int arg2 ;
7294 int arg3 ;
7295 int arg4 ;
7296 int arg5 ;
7297 bool result;
d55e5bfc 7298 PyObject * obj0 = 0 ;
093d3ff1
RD
7299 PyObject * obj1 = 0 ;
7300 PyObject * obj2 = 0 ;
7301 PyObject * obj3 = 0 ;
7302 PyObject * obj4 = 0 ;
d55e5bfc 7303 char *kwnames[] = {
093d3ff1 7304 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
d55e5bfc
RD
7305 };
7306
093d3ff1
RD
7307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Intersect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7309 if (SWIG_arg_fail(1)) SWIG_fail;
7310 {
7449af73 7311 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7312 if (SWIG_arg_fail(2)) SWIG_fail;
7313 }
7314 {
7449af73 7315 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7316 if (SWIG_arg_fail(3)) SWIG_fail;
7317 }
7318 {
7449af73 7319 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
7320 if (SWIG_arg_fail(4)) SWIG_fail;
7321 }
7322 {
7449af73 7323 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
7324 if (SWIG_arg_fail(5)) SWIG_fail;
7325 }
d55e5bfc
RD
7326 {
7327 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7328 result = (bool)(arg1)->Intersect(arg2,arg3,arg4,arg5);
d55e5bfc
RD
7329
7330 wxPyEndAllowThreads(__tstate);
7331 if (PyErr_Occurred()) SWIG_fail;
7332 }
093d3ff1
RD
7333 {
7334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7335 }
d55e5bfc
RD
7336 return resultobj;
7337 fail:
7338 return NULL;
7339}
7340
7341
093d3ff1 7342static PyObject *_wrap_Region_IntersectRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7343 PyObject *resultobj = NULL;
093d3ff1
RD
7344 wxRegion *arg1 = (wxRegion *) 0 ;
7345 wxRect *arg2 = 0 ;
7346 bool result;
7347 wxRect temp2 ;
d55e5bfc 7348 PyObject * obj0 = 0 ;
093d3ff1 7349 PyObject * obj1 = 0 ;
d55e5bfc 7350 char *kwnames[] = {
093d3ff1 7351 (char *) "self",(char *) "rect", NULL
d55e5bfc
RD
7352 };
7353
093d3ff1
RD
7354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_IntersectRect",kwnames,&obj0,&obj1)) goto fail;
7355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7356 if (SWIG_arg_fail(1)) SWIG_fail;
7357 {
7358 arg2 = &temp2;
7359 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7360 }
d55e5bfc
RD
7361 {
7362 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7363 result = (bool)(arg1)->Intersect((wxRect const &)*arg2);
d55e5bfc
RD
7364
7365 wxPyEndAllowThreads(__tstate);
7366 if (PyErr_Occurred()) SWIG_fail;
7367 }
093d3ff1
RD
7368 {
7369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7370 }
d55e5bfc
RD
7371 return resultobj;
7372 fail:
7373 return NULL;
7374}
7375
7376
093d3ff1 7377static PyObject *_wrap_Region_IntersectRegion(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7378 PyObject *resultobj = NULL;
093d3ff1
RD
7379 wxRegion *arg1 = (wxRegion *) 0 ;
7380 wxRegion *arg2 = 0 ;
7381 bool result;
d55e5bfc 7382 PyObject * obj0 = 0 ;
093d3ff1 7383 PyObject * obj1 = 0 ;
d55e5bfc 7384 char *kwnames[] = {
093d3ff1 7385 (char *) "self",(char *) "region", NULL
d55e5bfc
RD
7386 };
7387
093d3ff1
RD
7388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_IntersectRegion",kwnames,&obj0,&obj1)) goto fail;
7389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7390 if (SWIG_arg_fail(1)) SWIG_fail;
7391 {
7392 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7393 if (SWIG_arg_fail(2)) SWIG_fail;
7394 if (arg2 == NULL) {
7395 SWIG_null_ref("wxRegion");
7396 }
7397 if (SWIG_arg_fail(2)) SWIG_fail;
7398 }
d55e5bfc
RD
7399 {
7400 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7401 result = (bool)(arg1)->Intersect((wxRegion const &)*arg2);
d55e5bfc
RD
7402
7403 wxPyEndAllowThreads(__tstate);
7404 if (PyErr_Occurred()) SWIG_fail;
7405 }
093d3ff1
RD
7406 {
7407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7408 }
d55e5bfc
RD
7409 return resultobj;
7410 fail:
7411 return NULL;
7412}
7413
7414
093d3ff1 7415static PyObject *_wrap_Region_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7416 PyObject *resultobj = NULL;
093d3ff1
RD
7417 wxRegion *arg1 = (wxRegion *) 0 ;
7418 bool result;
d55e5bfc
RD
7419 PyObject * obj0 = 0 ;
7420 char *kwnames[] = {
7421 (char *) "self", NULL
7422 };
7423
093d3ff1
RD
7424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_IsEmpty",kwnames,&obj0)) goto fail;
7425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7426 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7427 {
7428 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7429 result = (bool)(arg1)->IsEmpty();
d55e5bfc
RD
7430
7431 wxPyEndAllowThreads(__tstate);
7432 if (PyErr_Occurred()) SWIG_fail;
7433 }
093d3ff1
RD
7434 {
7435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7436 }
d55e5bfc
RD
7437 return resultobj;
7438 fail:
7439 return NULL;
7440}
7441
7442
093d3ff1 7443static PyObject *_wrap_Region_Union(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7444 PyObject *resultobj = NULL;
093d3ff1
RD
7445 wxRegion *arg1 = (wxRegion *) 0 ;
7446 int arg2 ;
7447 int arg3 ;
7448 int arg4 ;
7449 int arg5 ;
7450 bool result;
d55e5bfc 7451 PyObject * obj0 = 0 ;
093d3ff1
RD
7452 PyObject * obj1 = 0 ;
7453 PyObject * obj2 = 0 ;
7454 PyObject * obj3 = 0 ;
7455 PyObject * obj4 = 0 ;
d55e5bfc 7456 char *kwnames[] = {
093d3ff1 7457 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
d55e5bfc
RD
7458 };
7459
093d3ff1
RD
7460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Union",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7462 if (SWIG_arg_fail(1)) SWIG_fail;
7463 {
7449af73 7464 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7465 if (SWIG_arg_fail(2)) SWIG_fail;
7466 }
7467 {
7449af73 7468 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7469 if (SWIG_arg_fail(3)) SWIG_fail;
7470 }
7471 {
7449af73 7472 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
7473 if (SWIG_arg_fail(4)) SWIG_fail;
7474 }
7475 {
7449af73 7476 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
7477 if (SWIG_arg_fail(5)) SWIG_fail;
7478 }
d55e5bfc
RD
7479 {
7480 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7481 result = (bool)(arg1)->Union(arg2,arg3,arg4,arg5);
d55e5bfc
RD
7482
7483 wxPyEndAllowThreads(__tstate);
7484 if (PyErr_Occurred()) SWIG_fail;
7485 }
7486 {
093d3ff1 7487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
7488 }
7489 return resultobj;
7490 fail:
7491 return NULL;
7492}
7493
7494
093d3ff1 7495static PyObject *_wrap_Region_UnionRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7496 PyObject *resultobj = NULL;
093d3ff1
RD
7497 wxRegion *arg1 = (wxRegion *) 0 ;
7498 wxRect *arg2 = 0 ;
d55e5bfc 7499 bool result;
093d3ff1 7500 wxRect temp2 ;
d55e5bfc 7501 PyObject * obj0 = 0 ;
093d3ff1 7502 PyObject * obj1 = 0 ;
d55e5bfc 7503 char *kwnames[] = {
093d3ff1 7504 (char *) "self",(char *) "rect", NULL
d55e5bfc
RD
7505 };
7506
093d3ff1
RD
7507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_UnionRect",kwnames,&obj0,&obj1)) goto fail;
7508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7509 if (SWIG_arg_fail(1)) SWIG_fail;
7510 {
7511 arg2 = &temp2;
7512 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7513 }
d55e5bfc
RD
7514 {
7515 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7516 result = (bool)(arg1)->Union((wxRect const &)*arg2);
d55e5bfc
RD
7517
7518 wxPyEndAllowThreads(__tstate);
7519 if (PyErr_Occurred()) SWIG_fail;
7520 }
7521 {
7522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7523 }
7524 return resultobj;
7525 fail:
7526 return NULL;
7527}
7528
7529
093d3ff1 7530static PyObject *_wrap_Region_UnionRegion(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7531 PyObject *resultobj = NULL;
093d3ff1
RD
7532 wxRegion *arg1 = (wxRegion *) 0 ;
7533 wxRegion *arg2 = 0 ;
7534 bool result;
d55e5bfc 7535 PyObject * obj0 = 0 ;
093d3ff1 7536 PyObject * obj1 = 0 ;
d55e5bfc 7537 char *kwnames[] = {
093d3ff1 7538 (char *) "self",(char *) "region", NULL
d55e5bfc
RD
7539 };
7540
093d3ff1
RD
7541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_UnionRegion",kwnames,&obj0,&obj1)) goto fail;
7542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7543 if (SWIG_arg_fail(1)) SWIG_fail;
7544 {
7545 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7546 if (SWIG_arg_fail(2)) SWIG_fail;
7547 if (arg2 == NULL) {
7548 SWIG_null_ref("wxRegion");
7549 }
7550 if (SWIG_arg_fail(2)) SWIG_fail;
7551 }
d55e5bfc
RD
7552 {
7553 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7554 result = (bool)(arg1)->Union((wxRegion const &)*arg2);
d55e5bfc
RD
7555
7556 wxPyEndAllowThreads(__tstate);
7557 if (PyErr_Occurred()) SWIG_fail;
7558 }
093d3ff1
RD
7559 {
7560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7561 }
d55e5bfc
RD
7562 return resultobj;
7563 fail:
7564 return NULL;
7565}
7566
7567
093d3ff1 7568static PyObject *_wrap_Region_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7569 PyObject *resultobj = NULL;
093d3ff1
RD
7570 wxRegion *arg1 = (wxRegion *) 0 ;
7571 int arg2 ;
7572 int arg3 ;
7573 int arg4 ;
7574 int arg5 ;
7575 bool result;
d55e5bfc 7576 PyObject * obj0 = 0 ;
093d3ff1
RD
7577 PyObject * obj1 = 0 ;
7578 PyObject * obj2 = 0 ;
7579 PyObject * obj3 = 0 ;
7580 PyObject * obj4 = 0 ;
d55e5bfc 7581 char *kwnames[] = {
093d3ff1 7582 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
d55e5bfc
RD
7583 };
7584
093d3ff1
RD
7585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Subtract",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7587 if (SWIG_arg_fail(1)) SWIG_fail;
7588 {
7449af73 7589 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7590 if (SWIG_arg_fail(2)) SWIG_fail;
7591 }
7592 {
7449af73 7593 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7594 if (SWIG_arg_fail(3)) SWIG_fail;
7595 }
7596 {
7449af73 7597 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
7598 if (SWIG_arg_fail(4)) SWIG_fail;
7599 }
7600 {
7449af73 7601 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
7602 if (SWIG_arg_fail(5)) SWIG_fail;
7603 }
d55e5bfc
RD
7604 {
7605 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7606 result = (bool)(arg1)->Subtract(arg2,arg3,arg4,arg5);
d55e5bfc
RD
7607
7608 wxPyEndAllowThreads(__tstate);
7609 if (PyErr_Occurred()) SWIG_fail;
7610 }
093d3ff1
RD
7611 {
7612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7613 }
d55e5bfc
RD
7614 return resultobj;
7615 fail:
7616 return NULL;
7617}
7618
7619
093d3ff1 7620static PyObject *_wrap_Region_SubtractRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7621 PyObject *resultobj = NULL;
093d3ff1
RD
7622 wxRegion *arg1 = (wxRegion *) 0 ;
7623 wxRect *arg2 = 0 ;
d55e5bfc 7624 bool result;
093d3ff1 7625 wxRect temp2 ;
d55e5bfc 7626 PyObject * obj0 = 0 ;
093d3ff1 7627 PyObject * obj1 = 0 ;
d55e5bfc 7628 char *kwnames[] = {
093d3ff1 7629 (char *) "self",(char *) "rect", NULL
d55e5bfc
RD
7630 };
7631
093d3ff1
RD
7632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_SubtractRect",kwnames,&obj0,&obj1)) goto fail;
7633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7634 if (SWIG_arg_fail(1)) SWIG_fail;
7635 {
7636 arg2 = &temp2;
7637 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7638 }
d55e5bfc
RD
7639 {
7640 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7641 result = (bool)(arg1)->Subtract((wxRect const &)*arg2);
d55e5bfc
RD
7642
7643 wxPyEndAllowThreads(__tstate);
7644 if (PyErr_Occurred()) SWIG_fail;
7645 }
7646 {
7647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7648 }
7649 return resultobj;
7650 fail:
7651 return NULL;
7652}
7653
7654
093d3ff1 7655static PyObject *_wrap_Region_SubtractRegion(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7656 PyObject *resultobj = NULL;
093d3ff1
RD
7657 wxRegion *arg1 = (wxRegion *) 0 ;
7658 wxRegion *arg2 = 0 ;
7659 bool result;
7660 PyObject * obj0 = 0 ;
7661 PyObject * obj1 = 0 ;
d55e5bfc 7662 char *kwnames[] = {
093d3ff1 7663 (char *) "self",(char *) "region", NULL
d55e5bfc
RD
7664 };
7665
093d3ff1
RD
7666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_SubtractRegion",kwnames,&obj0,&obj1)) goto fail;
7667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7668 if (SWIG_arg_fail(1)) SWIG_fail;
7669 {
7670 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7671 if (SWIG_arg_fail(2)) SWIG_fail;
7672 if (arg2 == NULL) {
7673 SWIG_null_ref("wxRegion");
7674 }
7675 if (SWIG_arg_fail(2)) SWIG_fail;
7676 }
d55e5bfc
RD
7677 {
7678 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7679 result = (bool)(arg1)->Subtract((wxRegion const &)*arg2);
d55e5bfc
RD
7680
7681 wxPyEndAllowThreads(__tstate);
7682 if (PyErr_Occurred()) SWIG_fail;
7683 }
093d3ff1
RD
7684 {
7685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7686 }
d55e5bfc
RD
7687 return resultobj;
7688 fail:
7689 return NULL;
7690}
7691
7692
093d3ff1 7693static PyObject *_wrap_Region_Xor(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7694 PyObject *resultobj = NULL;
093d3ff1
RD
7695 wxRegion *arg1 = (wxRegion *) 0 ;
7696 int arg2 ;
7697 int arg3 ;
7698 int arg4 ;
7699 int arg5 ;
7700 bool result;
d55e5bfc 7701 PyObject * obj0 = 0 ;
093d3ff1
RD
7702 PyObject * obj1 = 0 ;
7703 PyObject * obj2 = 0 ;
7704 PyObject * obj3 = 0 ;
7705 PyObject * obj4 = 0 ;
d55e5bfc 7706 char *kwnames[] = {
093d3ff1 7707 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
d55e5bfc
RD
7708 };
7709
093d3ff1
RD
7710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Xor",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7712 if (SWIG_arg_fail(1)) SWIG_fail;
7713 {
7449af73 7714 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7715 if (SWIG_arg_fail(2)) SWIG_fail;
7716 }
7717 {
7449af73 7718 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7719 if (SWIG_arg_fail(3)) SWIG_fail;
7720 }
7721 {
7449af73 7722 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
7723 if (SWIG_arg_fail(4)) SWIG_fail;
7724 }
7725 {
7449af73 7726 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
7727 if (SWIG_arg_fail(5)) SWIG_fail;
7728 }
d55e5bfc
RD
7729 {
7730 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7731 result = (bool)(arg1)->Xor(arg2,arg3,arg4,arg5);
d55e5bfc
RD
7732
7733 wxPyEndAllowThreads(__tstate);
7734 if (PyErr_Occurred()) SWIG_fail;
7735 }
093d3ff1
RD
7736 {
7737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7738 }
d55e5bfc
RD
7739 return resultobj;
7740 fail:
7741 return NULL;
7742}
7743
7744
093d3ff1 7745static PyObject *_wrap_Region_XorRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7746 PyObject *resultobj = NULL;
093d3ff1
RD
7747 wxRegion *arg1 = (wxRegion *) 0 ;
7748 wxRect *arg2 = 0 ;
7749 bool result;
7750 wxRect temp2 ;
d55e5bfc 7751 PyObject * obj0 = 0 ;
093d3ff1 7752 PyObject * obj1 = 0 ;
d55e5bfc 7753 char *kwnames[] = {
093d3ff1 7754 (char *) "self",(char *) "rect", NULL
d55e5bfc
RD
7755 };
7756
093d3ff1
RD
7757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_XorRect",kwnames,&obj0,&obj1)) goto fail;
7758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7759 if (SWIG_arg_fail(1)) SWIG_fail;
7760 {
7761 arg2 = &temp2;
7762 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7763 }
d55e5bfc
RD
7764 {
7765 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7766 result = (bool)(arg1)->Xor((wxRect const &)*arg2);
d55e5bfc
RD
7767
7768 wxPyEndAllowThreads(__tstate);
7769 if (PyErr_Occurred()) SWIG_fail;
7770 }
093d3ff1
RD
7771 {
7772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7773 }
d55e5bfc
RD
7774 return resultobj;
7775 fail:
7776 return NULL;
7777}
7778
7779
093d3ff1 7780static PyObject *_wrap_Region_XorRegion(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7781 PyObject *resultobj = NULL;
093d3ff1
RD
7782 wxRegion *arg1 = (wxRegion *) 0 ;
7783 wxRegion *arg2 = 0 ;
7784 bool result;
d55e5bfc
RD
7785 PyObject * obj0 = 0 ;
7786 PyObject * obj1 = 0 ;
7787 char *kwnames[] = {
093d3ff1 7788 (char *) "self",(char *) "region", NULL
d55e5bfc
RD
7789 };
7790
093d3ff1
RD
7791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_XorRegion",kwnames,&obj0,&obj1)) goto fail;
7792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7793 if (SWIG_arg_fail(1)) SWIG_fail;
7794 {
7795 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7796 if (SWIG_arg_fail(2)) SWIG_fail;
7797 if (arg2 == NULL) {
7798 SWIG_null_ref("wxRegion");
7799 }
7800 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7801 }
7802 {
7803 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7804 result = (bool)(arg1)->Xor((wxRegion const &)*arg2);
d55e5bfc
RD
7805
7806 wxPyEndAllowThreads(__tstate);
7807 if (PyErr_Occurred()) SWIG_fail;
7808 }
093d3ff1
RD
7809 {
7810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7811 }
d55e5bfc
RD
7812 return resultobj;
7813 fail:
7814 return NULL;
7815}
7816
7817
093d3ff1 7818static PyObject *_wrap_Region_ConvertToBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7819 PyObject *resultobj = NULL;
093d3ff1
RD
7820 wxRegion *arg1 = (wxRegion *) 0 ;
7821 SwigValueWrapper<wxBitmap > result;
d55e5bfc
RD
7822 PyObject * obj0 = 0 ;
7823 char *kwnames[] = {
7824 (char *) "self", NULL
7825 };
7826
093d3ff1
RD
7827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_ConvertToBitmap",kwnames,&obj0)) goto fail;
7828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7829 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7830 {
7831 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7832 result = (arg1)->ConvertToBitmap();
d55e5bfc
RD
7833
7834 wxPyEndAllowThreads(__tstate);
7835 if (PyErr_Occurred()) SWIG_fail;
7836 }
093d3ff1
RD
7837 {
7838 wxBitmap * resultptr;
7449af73 7839 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
093d3ff1
RD
7840 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
7841 }
d55e5bfc
RD
7842 return resultobj;
7843 fail:
7844 return NULL;
7845}
7846
7847
093d3ff1 7848static PyObject *_wrap_Region_UnionBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7849 PyObject *resultobj = NULL;
093d3ff1
RD
7850 wxRegion *arg1 = (wxRegion *) 0 ;
7851 wxBitmap *arg2 = 0 ;
7852 bool result;
5e483524 7853 PyObject * obj0 = 0 ;
093d3ff1 7854 PyObject * obj1 = 0 ;
5e483524 7855 char *kwnames[] = {
093d3ff1 7856 (char *) "self",(char *) "bmp", NULL
5e483524
RD
7857 };
7858
093d3ff1
RD
7859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_UnionBitmap",kwnames,&obj0,&obj1)) goto fail;
7860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7861 if (SWIG_arg_fail(1)) SWIG_fail;
7862 {
7863 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7864 if (SWIG_arg_fail(2)) SWIG_fail;
7865 if (arg2 == NULL) {
7866 SWIG_null_ref("wxBitmap");
7867 }
7868 if (SWIG_arg_fail(2)) SWIG_fail;
7869 }
5e483524
RD
7870 {
7871 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7872 result = (bool)(arg1)->Union((wxBitmap const &)*arg2);
5e483524
RD
7873
7874 wxPyEndAllowThreads(__tstate);
7875 if (PyErr_Occurred()) SWIG_fail;
7876 }
7877 {
093d3ff1 7878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5e483524
RD
7879 }
7880 return resultobj;
7881 fail:
7882 return NULL;
7883}
7884
7885
093d3ff1 7886static PyObject *_wrap_Region_UnionBitmapColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7887 PyObject *resultobj = NULL;
093d3ff1
RD
7888 wxRegion *arg1 = (wxRegion *) 0 ;
7889 wxBitmap *arg2 = 0 ;
7890 wxColour *arg3 = 0 ;
7891 int arg4 = (int) 0 ;
7892 bool result;
7893 wxColour temp3 ;
d55e5bfc 7894 PyObject * obj0 = 0 ;
093d3ff1
RD
7895 PyObject * obj1 = 0 ;
7896 PyObject * obj2 = 0 ;
7897 PyObject * obj3 = 0 ;
d55e5bfc 7898 char *kwnames[] = {
093d3ff1 7899 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
d55e5bfc
RD
7900 };
7901
093d3ff1
RD
7902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Region_UnionBitmapColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7904 if (SWIG_arg_fail(1)) SWIG_fail;
7905 {
7906 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7907 if (SWIG_arg_fail(2)) SWIG_fail;
7908 if (arg2 == NULL) {
7909 SWIG_null_ref("wxBitmap");
7910 }
7911 if (SWIG_arg_fail(2)) SWIG_fail;
7912 }
7913 {
7914 arg3 = &temp3;
7915 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7916 }
7917 if (obj3) {
7918 {
7449af73 7919 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
7920 if (SWIG_arg_fail(4)) SWIG_fail;
7921 }
7922 }
d55e5bfc
RD
7923 {
7924 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7925 result = (bool)(arg1)->Union((wxBitmap const &)*arg2,(wxColour const &)*arg3,arg4);
d55e5bfc
RD
7926
7927 wxPyEndAllowThreads(__tstate);
7928 if (PyErr_Occurred()) SWIG_fail;
7929 }
093d3ff1
RD
7930 {
7931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7932 }
d55e5bfc
RD
7933 return resultobj;
7934 fail:
7935 return NULL;
7936}
7937
7938
093d3ff1
RD
7939static PyObject * Region_swigregister(PyObject *, PyObject *args) {
7940 PyObject *obj;
7941 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7942 SWIG_TypeClientData(SWIGTYPE_p_wxRegion, obj);
7943 Py_INCREF(obj);
7944 return Py_BuildValue((char *)"");
7945}
7946static PyObject *_wrap_new_RegionIterator(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7947 PyObject *resultobj = NULL;
093d3ff1
RD
7948 wxRegion *arg1 = 0 ;
7949 wxRegionIterator *result;
d55e5bfc
RD
7950 PyObject * obj0 = 0 ;
7951 char *kwnames[] = {
093d3ff1 7952 (char *) "region", NULL
d55e5bfc
RD
7953 };
7954
093d3ff1 7955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_RegionIterator",kwnames,&obj0)) goto fail;
d55e5bfc 7956 {
093d3ff1
RD
7957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
7958 if (SWIG_arg_fail(1)) SWIG_fail;
7959 if (arg1 == NULL) {
7960 SWIG_null_ref("wxRegion");
7961 }
7962 if (SWIG_arg_fail(1)) SWIG_fail;
7963 }
7964 {
7965 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 7966 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7967 result = (wxRegionIterator *)new wxRegionIterator((wxRegion const &)*arg1);
d55e5bfc
RD
7968
7969 wxPyEndAllowThreads(__tstate);
7970 if (PyErr_Occurred()) SWIG_fail;
7971 }
093d3ff1 7972 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegionIterator, 1);
d55e5bfc
RD
7973 return resultobj;
7974 fail:
7975 return NULL;
7976}
7977
7978
093d3ff1 7979static PyObject *_wrap_delete_RegionIterator(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7980 PyObject *resultobj = NULL;
093d3ff1 7981 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
d55e5bfc
RD
7982 PyObject * obj0 = 0 ;
7983 char *kwnames[] = {
7984 (char *) "self", NULL
7985 };
7986
093d3ff1
RD
7987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RegionIterator",kwnames,&obj0)) goto fail;
7988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegionIterator, SWIG_POINTER_EXCEPTION | 0);
7989 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7990 {
7991 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7992 delete arg1;
d55e5bfc
RD
7993
7994 wxPyEndAllowThreads(__tstate);
7995 if (PyErr_Occurred()) SWIG_fail;
7996 }
093d3ff1 7997 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
7998 return resultobj;
7999 fail:
8000 return NULL;
8001}
8002
8003
093d3ff1 8004static PyObject *_wrap_RegionIterator_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8005 PyObject *resultobj = NULL;
093d3ff1
RD
8006 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
8007 int result;
d55e5bfc
RD
8008 PyObject * obj0 = 0 ;
8009 char *kwnames[] = {
8010 (char *) "self", NULL
8011 };
8012
093d3ff1
RD
8013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetX",kwnames,&obj0)) goto fail;
8014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegionIterator, SWIG_POINTER_EXCEPTION | 0);
8015 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8016 {
8017 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8018 result = (int)(arg1)->GetX();
d55e5bfc
RD
8019
8020 wxPyEndAllowThreads(__tstate);
8021 if (PyErr_Occurred()) SWIG_fail;
8022 }
8023 {
7449af73 8024 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc
RD
8025 }
8026 return resultobj;
8027 fail:
8028 return NULL;
8029}
8030
8031
093d3ff1 8032static PyObject *_wrap_RegionIterator_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8033 PyObject *resultobj = NULL;
093d3ff1 8034 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
d55e5bfc
RD
8035 int result;
8036 PyObject * obj0 = 0 ;
8037 char *kwnames[] = {
8038 (char *) "self", NULL
8039 };
8040
093d3ff1
RD
8041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetY",kwnames,&obj0)) goto fail;
8042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegionIterator, SWIG_POINTER_EXCEPTION | 0);
8043 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8044 {
8045 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8046 result = (int)(arg1)->GetY();
d55e5bfc
RD
8047
8048 wxPyEndAllowThreads(__tstate);
8049 if (PyErr_Occurred()) SWIG_fail;
8050 }
093d3ff1 8051 {
7449af73 8052 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8053 }
d55e5bfc
RD
8054 return resultobj;
8055 fail:
8056 return NULL;
8057}
8058
8059
093d3ff1 8060static PyObject *_wrap_RegionIterator_GetW(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8061 PyObject *resultobj = NULL;
093d3ff1 8062 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
d55e5bfc
RD
8063 int result;
8064 PyObject * obj0 = 0 ;
8065 char *kwnames[] = {
8066 (char *) "self", NULL
8067 };
8068
093d3ff1
RD
8069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetW",kwnames,&obj0)) goto fail;
8070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegionIterator, SWIG_POINTER_EXCEPTION | 0);
8071 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8072 {
8073 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8074 result = (int)(arg1)->GetW();
d55e5bfc
RD
8075
8076 wxPyEndAllowThreads(__tstate);
8077 if (PyErr_Occurred()) SWIG_fail;
8078 }
093d3ff1 8079 {
7449af73 8080 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8081 }
d55e5bfc
RD
8082 return resultobj;
8083 fail:
8084 return NULL;
8085}
8086
8087
093d3ff1 8088static PyObject *_wrap_RegionIterator_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8089 PyObject *resultobj = NULL;
093d3ff1
RD
8090 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
8091 int result;
d55e5bfc 8092 PyObject * obj0 = 0 ;
d55e5bfc 8093 char *kwnames[] = {
093d3ff1 8094 (char *) "self", NULL
d55e5bfc
RD
8095 };
8096
093d3ff1
RD
8097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetWidth",kwnames,&obj0)) goto fail;
8098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegionIterator, SWIG_POINTER_EXCEPTION | 0);
8099 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8100 {
8101 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8102 result = (int)(arg1)->GetWidth();
d55e5bfc
RD
8103
8104 wxPyEndAllowThreads(__tstate);
8105 if (PyErr_Occurred()) SWIG_fail;
8106 }
093d3ff1 8107 {
7449af73 8108 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8109 }
d55e5bfc
RD
8110 return resultobj;
8111 fail:
8112 return NULL;
8113}
8114
8115
093d3ff1 8116static PyObject *_wrap_RegionIterator_GetH(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8117 PyObject *resultobj = NULL;
093d3ff1
RD
8118 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
8119 int result;
5e483524 8120 PyObject * obj0 = 0 ;
5e483524 8121 char *kwnames[] = {
093d3ff1 8122 (char *) "self", NULL
5e483524
RD
8123 };
8124
093d3ff1
RD
8125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetH",kwnames,&obj0)) goto fail;
8126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegionIterator, SWIG_POINTER_EXCEPTION | 0);
8127 if (SWIG_arg_fail(1)) SWIG_fail;
5e483524
RD
8128 {
8129 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8130 result = (int)(arg1)->GetH();
5e483524
RD
8131
8132 wxPyEndAllowThreads(__tstate);
8133 if (PyErr_Occurred()) SWIG_fail;
8134 }
093d3ff1 8135 {
7449af73 8136 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8137 }
5e483524
RD
8138 return resultobj;
8139 fail:
8140 return NULL;
8141}
8142
8143
093d3ff1 8144static PyObject *_wrap_RegionIterator_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8145 PyObject *resultobj = NULL;
093d3ff1
RD
8146 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
8147 int result;
d55e5bfc 8148 PyObject * obj0 = 0 ;
d55e5bfc 8149 char *kwnames[] = {
093d3ff1 8150 (char *) "self", NULL
d55e5bfc
RD
8151 };
8152
093d3ff1
RD
8153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetHeight",kwnames,&obj0)) goto fail;
8154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegionIterator, SWIG_POINTER_EXCEPTION | 0);
8155 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8156 {
8157 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8158 result = (int)(arg1)->GetHeight();
d55e5bfc
RD
8159
8160 wxPyEndAllowThreads(__tstate);
8161 if (PyErr_Occurred()) SWIG_fail;
8162 }
093d3ff1 8163 {
7449af73 8164 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8165 }
d55e5bfc
RD
8166 return resultobj;
8167 fail:
8168 return NULL;
8169}
8170
8171
093d3ff1 8172static PyObject *_wrap_RegionIterator_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8173 PyObject *resultobj = NULL;
093d3ff1
RD
8174 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
8175 wxRect result;
d55e5bfc 8176 PyObject * obj0 = 0 ;
d55e5bfc 8177 char *kwnames[] = {
093d3ff1 8178 (char *) "self", NULL
d55e5bfc
RD
8179 };
8180
093d3ff1
RD
8181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetRect",kwnames,&obj0)) goto fail;
8182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegionIterator, SWIG_POINTER_EXCEPTION | 0);
8183 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8184 {
8185 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8186 result = (arg1)->GetRect();
d55e5bfc
RD
8187
8188 wxPyEndAllowThreads(__tstate);
8189 if (PyErr_Occurred()) SWIG_fail;
8190 }
093d3ff1
RD
8191 {
8192 wxRect * resultptr;
7449af73 8193 resultptr = new wxRect(static_cast<wxRect & >(result));
093d3ff1
RD
8194 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8195 }
d55e5bfc
RD
8196 return resultobj;
8197 fail:
8198 return NULL;
8199}
8200
8201
093d3ff1 8202static PyObject *_wrap_RegionIterator_HaveRects(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8203 PyObject *resultobj = NULL;
093d3ff1
RD
8204 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
8205 bool result;
d55e5bfc 8206 PyObject * obj0 = 0 ;
d55e5bfc 8207 char *kwnames[] = {
093d3ff1 8208 (char *) "self", NULL
d55e5bfc
RD
8209 };
8210
093d3ff1
RD
8211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_HaveRects",kwnames,&obj0)) goto fail;
8212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegionIterator, SWIG_POINTER_EXCEPTION | 0);
8213 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8214 {
8215 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8216 result = (bool)(arg1)->HaveRects();
d55e5bfc
RD
8217
8218 wxPyEndAllowThreads(__tstate);
8219 if (PyErr_Occurred()) SWIG_fail;
8220 }
093d3ff1
RD
8221 {
8222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8223 }
d55e5bfc
RD
8224 return resultobj;
8225 fail:
8226 return NULL;
8227}
8228
8229
093d3ff1 8230static PyObject *_wrap_RegionIterator_Reset(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8231 PyObject *resultobj = NULL;
093d3ff1 8232 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
d55e5bfc 8233 PyObject * obj0 = 0 ;
d55e5bfc 8234 char *kwnames[] = {
093d3ff1 8235 (char *) "self", NULL
d55e5bfc
RD
8236 };
8237
093d3ff1
RD
8238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_Reset",kwnames,&obj0)) goto fail;
8239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegionIterator, SWIG_POINTER_EXCEPTION | 0);
8240 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8241 {
8242 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8243 (arg1)->Reset();
d55e5bfc
RD
8244
8245 wxPyEndAllowThreads(__tstate);
8246 if (PyErr_Occurred()) SWIG_fail;
8247 }
8248 Py_INCREF(Py_None); resultobj = Py_None;
8249 return resultobj;
8250 fail:
8251 return NULL;
8252}
8253
8254
093d3ff1 8255static PyObject *_wrap_RegionIterator_Next(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8256 PyObject *resultobj = NULL;
093d3ff1 8257 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
d55e5bfc 8258 PyObject * obj0 = 0 ;
d55e5bfc 8259 char *kwnames[] = {
093d3ff1 8260 (char *) "self", NULL
d55e5bfc
RD
8261 };
8262
093d3ff1
RD
8263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_Next",kwnames,&obj0)) goto fail;
8264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegionIterator, SWIG_POINTER_EXCEPTION | 0);
8265 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8266 {
8267 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8268 wxRegionIterator_Next(arg1);
d55e5bfc
RD
8269
8270 wxPyEndAllowThreads(__tstate);
8271 if (PyErr_Occurred()) SWIG_fail;
8272 }
8273 Py_INCREF(Py_None); resultobj = Py_None;
8274 return resultobj;
8275 fail:
8276 return NULL;
8277}
8278
8279
093d3ff1 8280static PyObject *_wrap_RegionIterator___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8281 PyObject *resultobj = NULL;
093d3ff1
RD
8282 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
8283 bool result;
d55e5bfc 8284 PyObject * obj0 = 0 ;
d55e5bfc 8285 char *kwnames[] = {
093d3ff1 8286 (char *) "self", NULL
d55e5bfc
RD
8287 };
8288
093d3ff1
RD
8289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator___nonzero__",kwnames,&obj0)) goto fail;
8290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegionIterator, SWIG_POINTER_EXCEPTION | 0);
8291 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8292 {
8293 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8294 result = (bool)wxRegionIterator___nonzero__(arg1);
d55e5bfc
RD
8295
8296 wxPyEndAllowThreads(__tstate);
8297 if (PyErr_Occurred()) SWIG_fail;
8298 }
093d3ff1
RD
8299 {
8300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8301 }
d55e5bfc
RD
8302 return resultobj;
8303 fail:
8304 return NULL;
8305}
8306
8307
093d3ff1
RD
8308static PyObject * RegionIterator_swigregister(PyObject *, PyObject *args) {
8309 PyObject *obj;
8310 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8311 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator, obj);
8312 Py_INCREF(obj);
8313 return Py_BuildValue((char *)"");
8314}
8315static PyObject *_wrap_new_NativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8316 PyObject *resultobj = NULL;
093d3ff1 8317 wxNativeFontInfo *result;
d55e5bfc 8318 char *kwnames[] = {
093d3ff1 8319 NULL
d55e5bfc
RD
8320 };
8321
093d3ff1 8322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NativeFontInfo",kwnames)) goto fail;
d55e5bfc
RD
8323 {
8324 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8325 result = (wxNativeFontInfo *)new wxNativeFontInfo();
d55e5bfc
RD
8326
8327 wxPyEndAllowThreads(__tstate);
8328 if (PyErr_Occurred()) SWIG_fail;
8329 }
093d3ff1 8330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeFontInfo, 1);
d55e5bfc
RD
8331 return resultobj;
8332 fail:
d55e5bfc
RD
8333 return NULL;
8334}
8335
8336
093d3ff1 8337static PyObject *_wrap_delete_NativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8338 PyObject *resultobj = NULL;
d55e5bfc 8339 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
d55e5bfc
RD
8340 PyObject * obj0 = 0 ;
8341 char *kwnames[] = {
8342 (char *) "self", NULL
8343 };
8344
093d3ff1
RD
8345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_NativeFontInfo",kwnames,&obj0)) goto fail;
8346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8347 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8348 {
8349 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8350 delete arg1;
d55e5bfc
RD
8351
8352 wxPyEndAllowThreads(__tstate);
8353 if (PyErr_Occurred()) SWIG_fail;
8354 }
093d3ff1 8355 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
8356 return resultobj;
8357 fail:
8358 return NULL;
8359}
8360
8361
093d3ff1 8362static PyObject *_wrap_NativeFontInfo_Init(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8363 PyObject *resultobj = NULL;
d55e5bfc 8364 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
d55e5bfc
RD
8365 PyObject * obj0 = 0 ;
8366 char *kwnames[] = {
8367 (char *) "self", NULL
8368 };
8369
093d3ff1
RD
8370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_Init",kwnames,&obj0)) goto fail;
8371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8372 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8373 {
8374 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8375 (arg1)->Init();
d55e5bfc
RD
8376
8377 wxPyEndAllowThreads(__tstate);
8378 if (PyErr_Occurred()) SWIG_fail;
8379 }
093d3ff1 8380 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
8381 return resultobj;
8382 fail:
8383 return NULL;
8384}
8385
8386
093d3ff1 8387static PyObject *_wrap_NativeFontInfo_InitFromFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8388 PyObject *resultobj = NULL;
d55e5bfc 8389 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
093d3ff1 8390 wxFont *arg2 = 0 ;
d55e5bfc
RD
8391 PyObject * obj0 = 0 ;
8392 PyObject * obj1 = 0 ;
8393 char *kwnames[] = {
093d3ff1 8394 (char *) "self",(char *) "font", NULL
d55e5bfc
RD
8395 };
8396
093d3ff1
RD
8397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_InitFromFont",kwnames,&obj0,&obj1)) goto fail;
8398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8399 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 8400 {
093d3ff1
RD
8401 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8402 if (SWIG_arg_fail(2)) SWIG_fail;
8403 if (arg2 == NULL) {
8404 SWIG_null_ref("wxFont");
8405 }
8406 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8407 }
8408 {
8409 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8410 (arg1)->InitFromFont((wxFont const &)*arg2);
d55e5bfc
RD
8411
8412 wxPyEndAllowThreads(__tstate);
8413 if (PyErr_Occurred()) SWIG_fail;
8414 }
093d3ff1 8415 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
8416 return resultobj;
8417 fail:
d55e5bfc
RD
8418 return NULL;
8419}
8420
8421
093d3ff1 8422static PyObject *_wrap_NativeFontInfo_GetPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8423 PyObject *resultobj = NULL;
d55e5bfc 8424 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
093d3ff1 8425 int result;
d55e5bfc
RD
8426 PyObject * obj0 = 0 ;
8427 char *kwnames[] = {
8428 (char *) "self", NULL
8429 };
8430
093d3ff1
RD
8431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetPointSize",kwnames,&obj0)) goto fail;
8432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8433 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8434 {
8435 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8436 result = (int)((wxNativeFontInfo const *)arg1)->GetPointSize();
d55e5bfc
RD
8437
8438 wxPyEndAllowThreads(__tstate);
8439 if (PyErr_Occurred()) SWIG_fail;
8440 }
8441 {
7449af73 8442 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc
RD
8443 }
8444 return resultobj;
8445 fail:
8446 return NULL;
8447}
8448
8449
093d3ff1 8450static PyObject *_wrap_NativeFontInfo_GetPixelSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8451 PyObject *resultobj = NULL;
093d3ff1
RD
8452 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8453 wxSize result;
d55e5bfc 8454 PyObject * obj0 = 0 ;
d55e5bfc 8455 char *kwnames[] = {
093d3ff1 8456 (char *) "self", NULL
d55e5bfc
RD
8457 };
8458
093d3ff1
RD
8459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetPixelSize",kwnames,&obj0)) goto fail;
8460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8461 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 8462 {
093d3ff1
RD
8463 PyThreadState* __tstate = wxPyBeginAllowThreads();
8464 result = ((wxNativeFontInfo const *)arg1)->GetPixelSize();
8465
8466 wxPyEndAllowThreads(__tstate);
8467 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 8468 }
d55e5bfc 8469 {
093d3ff1 8470 wxSize * resultptr;
7449af73 8471 resultptr = new wxSize(static_cast<wxSize & >(result));
093d3ff1 8472 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d55e5bfc
RD
8473 }
8474 return resultobj;
8475 fail:
d55e5bfc
RD
8476 return NULL;
8477}
8478
8479
093d3ff1 8480static PyObject *_wrap_NativeFontInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8481 PyObject *resultobj = NULL;
093d3ff1
RD
8482 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8483 wxFontStyle result;
d55e5bfc
RD
8484 PyObject * obj0 = 0 ;
8485 char *kwnames[] = {
8486 (char *) "self", NULL
8487 };
8488
093d3ff1
RD
8489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetStyle",kwnames,&obj0)) goto fail;
8490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8491 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 8492 {
093d3ff1
RD
8493 PyThreadState* __tstate = wxPyBeginAllowThreads();
8494 result = (wxFontStyle)((wxNativeFontInfo const *)arg1)->GetStyle();
8495
8496 wxPyEndAllowThreads(__tstate);
8497 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 8498 }
093d3ff1 8499 resultobj = SWIG_From_int((result));
d55e5bfc
RD
8500 return resultobj;
8501 fail:
8502 return NULL;
8503}
8504
8505
093d3ff1 8506static PyObject *_wrap_NativeFontInfo_GetWeight(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8507 PyObject *resultobj = NULL;
093d3ff1
RD
8508 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8509 wxFontWeight result;
d55e5bfc 8510 PyObject * obj0 = 0 ;
d55e5bfc 8511 char *kwnames[] = {
093d3ff1 8512 (char *) "self", NULL
d55e5bfc
RD
8513 };
8514
093d3ff1
RD
8515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetWeight",kwnames,&obj0)) goto fail;
8516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8517 if (SWIG_arg_fail(1)) SWIG_fail;
8518 {
8519 PyThreadState* __tstate = wxPyBeginAllowThreads();
8520 result = (wxFontWeight)((wxNativeFontInfo const *)arg1)->GetWeight();
8521
8522 wxPyEndAllowThreads(__tstate);
8523 if (PyErr_Occurred()) SWIG_fail;
8524 }
8525 resultobj = SWIG_From_int((result));
d55e5bfc
RD
8526 return resultobj;
8527 fail:
8528 return NULL;
8529}
8530
8531
093d3ff1 8532static PyObject *_wrap_NativeFontInfo_GetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8533 PyObject *resultobj = NULL;
093d3ff1
RD
8534 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8535 bool result;
d55e5bfc
RD
8536 PyObject * obj0 = 0 ;
8537 char *kwnames[] = {
8538 (char *) "self", NULL
8539 };
8540
093d3ff1
RD
8541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetUnderlined",kwnames,&obj0)) goto fail;
8542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8543 if (SWIG_arg_fail(1)) SWIG_fail;
8544 {
8545 PyThreadState* __tstate = wxPyBeginAllowThreads();
8546 result = (bool)((wxNativeFontInfo const *)arg1)->GetUnderlined();
8547
8548 wxPyEndAllowThreads(__tstate);
8549 if (PyErr_Occurred()) SWIG_fail;
8550 }
8551 {
8552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8553 }
d55e5bfc
RD
8554 return resultobj;
8555 fail:
8556 return NULL;
8557}
8558
8559
093d3ff1 8560static PyObject *_wrap_NativeFontInfo_GetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8561 PyObject *resultobj = NULL;
093d3ff1
RD
8562 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8563 wxString result;
8564 PyObject * obj0 = 0 ;
d55e5bfc 8565 char *kwnames[] = {
093d3ff1 8566 (char *) "self", NULL
d55e5bfc
RD
8567 };
8568
093d3ff1
RD
8569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetFaceName",kwnames,&obj0)) goto fail;
8570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8571 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8572 {
8573 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8574 result = ((wxNativeFontInfo const *)arg1)->GetFaceName();
d55e5bfc
RD
8575
8576 wxPyEndAllowThreads(__tstate);
8577 if (PyErr_Occurred()) SWIG_fail;
8578 }
093d3ff1
RD
8579 {
8580#if wxUSE_UNICODE
8581 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8582#else
8583 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8584#endif
8585 }
d55e5bfc
RD
8586 return resultobj;
8587 fail:
8588 return NULL;
8589}
8590
8591
093d3ff1 8592static PyObject *_wrap_NativeFontInfo_GetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8593 PyObject *resultobj = NULL;
093d3ff1
RD
8594 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8595 wxFontFamily result;
d55e5bfc
RD
8596 PyObject * obj0 = 0 ;
8597 char *kwnames[] = {
8598 (char *) "self", NULL
8599 };
8600
093d3ff1
RD
8601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetFamily",kwnames,&obj0)) goto fail;
8602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8603 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8604 {
8605 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8606 result = (wxFontFamily)((wxNativeFontInfo const *)arg1)->GetFamily();
d55e5bfc
RD
8607
8608 wxPyEndAllowThreads(__tstate);
8609 if (PyErr_Occurred()) SWIG_fail;
8610 }
093d3ff1 8611 resultobj = SWIG_From_int((result));
d55e5bfc
RD
8612 return resultobj;
8613 fail:
8614 return NULL;
8615}
8616
8617
093d3ff1 8618static PyObject *_wrap_NativeFontInfo_GetEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8619 PyObject *resultobj = NULL;
093d3ff1
RD
8620 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8621 wxFontEncoding result;
d55e5bfc 8622 PyObject * obj0 = 0 ;
d55e5bfc 8623 char *kwnames[] = {
093d3ff1 8624 (char *) "self", NULL
d55e5bfc
RD
8625 };
8626
093d3ff1
RD
8627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetEncoding",kwnames,&obj0)) goto fail;
8628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8629 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8630 {
8631 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8632 result = (wxFontEncoding)((wxNativeFontInfo const *)arg1)->GetEncoding();
d55e5bfc
RD
8633
8634 wxPyEndAllowThreads(__tstate);
8635 if (PyErr_Occurred()) SWIG_fail;
8636 }
093d3ff1 8637 resultobj = SWIG_From_int((result));
d55e5bfc
RD
8638 return resultobj;
8639 fail:
d55e5bfc
RD
8640 return NULL;
8641}
8642
8643
093d3ff1 8644static PyObject *_wrap_NativeFontInfo_SetPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8645 PyObject *resultobj = NULL;
093d3ff1
RD
8646 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8647 int arg2 ;
d55e5bfc 8648 PyObject * obj0 = 0 ;
093d3ff1 8649 PyObject * obj1 = 0 ;
d55e5bfc 8650 char *kwnames[] = {
093d3ff1 8651 (char *) "self",(char *) "pointsize", NULL
d55e5bfc
RD
8652 };
8653
093d3ff1
RD
8654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetPointSize",kwnames,&obj0,&obj1)) goto fail;
8655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8656 if (SWIG_arg_fail(1)) SWIG_fail;
8657 {
7449af73 8658 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8659 if (SWIG_arg_fail(2)) SWIG_fail;
8660 }
d55e5bfc
RD
8661 {
8662 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8663 (arg1)->SetPointSize(arg2);
d55e5bfc
RD
8664
8665 wxPyEndAllowThreads(__tstate);
8666 if (PyErr_Occurred()) SWIG_fail;
8667 }
093d3ff1 8668 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
8669 return resultobj;
8670 fail:
8671 return NULL;
8672}
8673
8674
093d3ff1 8675static PyObject *_wrap_NativeFontInfo_SetPixelSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8676 PyObject *resultobj = NULL;
093d3ff1
RD
8677 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8678 wxSize *arg2 = 0 ;
8679 wxSize temp2 ;
d55e5bfc 8680 PyObject * obj0 = 0 ;
093d3ff1 8681 PyObject * obj1 = 0 ;
d55e5bfc 8682 char *kwnames[] = {
093d3ff1 8683 (char *) "self",(char *) "pixelSize", NULL
d55e5bfc
RD
8684 };
8685
093d3ff1
RD
8686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames,&obj0,&obj1)) goto fail;
8687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8688 if (SWIG_arg_fail(1)) SWIG_fail;
8689 {
8690 arg2 = &temp2;
8691 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8692 }
d55e5bfc
RD
8693 {
8694 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8695 (arg1)->SetPixelSize((wxSize const &)*arg2);
d55e5bfc
RD
8696
8697 wxPyEndAllowThreads(__tstate);
8698 if (PyErr_Occurred()) SWIG_fail;
8699 }
093d3ff1 8700 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
8701 return resultobj;
8702 fail:
8703 return NULL;
8704}
8705
8706
093d3ff1 8707static PyObject *_wrap_NativeFontInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8708 PyObject *resultobj = NULL;
093d3ff1
RD
8709 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8710 wxFontStyle arg2 ;
d55e5bfc 8711 PyObject * obj0 = 0 ;
093d3ff1 8712 PyObject * obj1 = 0 ;
d55e5bfc 8713 char *kwnames[] = {
093d3ff1 8714 (char *) "self",(char *) "style", NULL
d55e5bfc
RD
8715 };
8716
093d3ff1
RD
8717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
8718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8719 if (SWIG_arg_fail(1)) SWIG_fail;
8720 {
7449af73 8721 arg2 = static_cast<wxFontStyle >(SWIG_As_int(obj1));
093d3ff1 8722 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8723 }
8724 {
8725 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 8726 (arg1)->SetStyle(arg2);
d55e5bfc
RD
8727
8728 wxPyEndAllowThreads(__tstate);
8729 if (PyErr_Occurred()) SWIG_fail;
8730 }
093d3ff1
RD
8731 Py_INCREF(Py_None); resultobj = Py_None;
8732 return resultobj;
8733 fail:
8734 return NULL;
8735}
8736
8737
8738static PyObject *_wrap_NativeFontInfo_SetWeight(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8739 PyObject *resultobj = NULL;
093d3ff1
RD
8740 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8741 wxFontWeight arg2 ;
8742 PyObject * obj0 = 0 ;
8743 PyObject * obj1 = 0 ;
8744 char *kwnames[] = {
8745 (char *) "self",(char *) "weight", NULL
8746 };
8747
8748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetWeight",kwnames,&obj0,&obj1)) goto fail;
8749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8750 if (SWIG_arg_fail(1)) SWIG_fail;
8751 {
7449af73 8752 arg2 = static_cast<wxFontWeight >(SWIG_As_int(obj1));
093d3ff1
RD
8753 if (SWIG_arg_fail(2)) SWIG_fail;
8754 }
d55e5bfc 8755 {
093d3ff1 8756 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 8757 (arg1)->SetWeight(arg2);
093d3ff1
RD
8758
8759 wxPyEndAllowThreads(__tstate);
8760 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 8761 }
093d3ff1 8762 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
8763 return resultobj;
8764 fail:
8765 return NULL;
8766}
8767
8768
093d3ff1 8769static PyObject *_wrap_NativeFontInfo_SetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8770 PyObject *resultobj = NULL;
093d3ff1
RD
8771 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8772 bool arg2 ;
8773 PyObject * obj0 = 0 ;
8774 PyObject * obj1 = 0 ;
d55e5bfc 8775 char *kwnames[] = {
093d3ff1 8776 (char *) "self",(char *) "underlined", NULL
d55e5bfc
RD
8777 };
8778
093d3ff1
RD
8779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames,&obj0,&obj1)) goto fail;
8780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8781 if (SWIG_arg_fail(1)) SWIG_fail;
8782 {
7449af73 8783 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
8784 if (SWIG_arg_fail(2)) SWIG_fail;
8785 }
d55e5bfc
RD
8786 {
8787 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8788 (arg1)->SetUnderlined(arg2);
d55e5bfc
RD
8789
8790 wxPyEndAllowThreads(__tstate);
8791 if (PyErr_Occurred()) SWIG_fail;
8792 }
093d3ff1 8793 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
8794 return resultobj;
8795 fail:
8796 return NULL;
8797}
8798
8799
093d3ff1 8800static PyObject *_wrap_NativeFontInfo_SetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8801 PyObject *resultobj = NULL;
093d3ff1
RD
8802 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8803 wxString arg2 ;
d55e5bfc 8804 PyObject * obj0 = 0 ;
093d3ff1 8805 PyObject * obj1 = 0 ;
d55e5bfc 8806 char *kwnames[] = {
093d3ff1 8807 (char *) "self",(char *) "facename", NULL
d55e5bfc
RD
8808 };
8809
093d3ff1
RD
8810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetFaceName",kwnames,&obj0,&obj1)) goto fail;
8811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8812 if (SWIG_arg_fail(1)) SWIG_fail;
8813 {
8814 wxString* sptr = wxString_in_helper(obj1);
8815 if (sptr == NULL) SWIG_fail;
8816 arg2 = *sptr;
8817 delete sptr;
8818 }
d55e5bfc
RD
8819 {
8820 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8821 (arg1)->SetFaceName(arg2);
d55e5bfc
RD
8822
8823 wxPyEndAllowThreads(__tstate);
8824 if (PyErr_Occurred()) SWIG_fail;
8825 }
8826 Py_INCREF(Py_None); resultobj = Py_None;
8827 return resultobj;
8828 fail:
8829 return NULL;
8830}
8831
8832
093d3ff1 8833static PyObject *_wrap_NativeFontInfo_SetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8834 PyObject *resultobj = NULL;
093d3ff1
RD
8835 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8836 wxFontFamily arg2 ;
8837 PyObject * obj0 = 0 ;
8838 PyObject * obj1 = 0 ;
d55e5bfc 8839 char *kwnames[] = {
093d3ff1 8840 (char *) "self",(char *) "family", NULL
d55e5bfc
RD
8841 };
8842
093d3ff1
RD
8843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetFamily",kwnames,&obj0,&obj1)) goto fail;
8844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8845 if (SWIG_arg_fail(1)) SWIG_fail;
8846 {
7449af73 8847 arg2 = static_cast<wxFontFamily >(SWIG_As_int(obj1));
093d3ff1
RD
8848 if (SWIG_arg_fail(2)) SWIG_fail;
8849 }
d55e5bfc
RD
8850 {
8851 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 8852 (arg1)->SetFamily(arg2);
d55e5bfc
RD
8853
8854 wxPyEndAllowThreads(__tstate);
8855 if (PyErr_Occurred()) SWIG_fail;
8856 }
093d3ff1 8857 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
8858 return resultobj;
8859 fail:
8860 return NULL;
8861}
8862
8863
093d3ff1 8864static PyObject *_wrap_NativeFontInfo_SetEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8865 PyObject *resultobj = NULL;
093d3ff1
RD
8866 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8867 wxFontEncoding arg2 ;
d55e5bfc 8868 PyObject * obj0 = 0 ;
093d3ff1 8869 PyObject * obj1 = 0 ;
d55e5bfc 8870 char *kwnames[] = {
093d3ff1 8871 (char *) "self",(char *) "encoding", NULL
d55e5bfc
RD
8872 };
8873
093d3ff1
RD
8874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetEncoding",kwnames,&obj0,&obj1)) goto fail;
8875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8876 if (SWIG_arg_fail(1)) SWIG_fail;
8877 {
7449af73 8878 arg2 = static_cast<wxFontEncoding >(SWIG_As_int(obj1));
093d3ff1
RD
8879 if (SWIG_arg_fail(2)) SWIG_fail;
8880 }
d55e5bfc
RD
8881 {
8882 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 8883 (arg1)->SetEncoding(arg2);
d55e5bfc
RD
8884
8885 wxPyEndAllowThreads(__tstate);
8886 if (PyErr_Occurred()) SWIG_fail;
8887 }
093d3ff1 8888 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
8889 return resultobj;
8890 fail:
8891 return NULL;
8892}
8893
8894
093d3ff1 8895static PyObject *_wrap_NativeFontInfo_FromString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8896 PyObject *resultobj = NULL;
093d3ff1 8897 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
d55e5bfc 8898 wxString *arg2 = 0 ;
093d3ff1 8899 bool result;
ae8162c8 8900 bool temp2 = false ;
d55e5bfc
RD
8901 PyObject * obj0 = 0 ;
8902 PyObject * obj1 = 0 ;
d55e5bfc 8903 char *kwnames[] = {
093d3ff1 8904 (char *) "self",(char *) "s", NULL
d55e5bfc
RD
8905 };
8906
093d3ff1
RD
8907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_FromString",kwnames,&obj0,&obj1)) goto fail;
8908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8909 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8910 {
8911 arg2 = wxString_in_helper(obj1);
8912 if (arg2 == NULL) SWIG_fail;
ae8162c8 8913 temp2 = true;
d55e5bfc 8914 }
d55e5bfc
RD
8915 {
8916 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8917 result = (bool)(arg1)->FromString((wxString const &)*arg2);
d55e5bfc
RD
8918
8919 wxPyEndAllowThreads(__tstate);
8920 if (PyErr_Occurred()) SWIG_fail;
8921 }
093d3ff1
RD
8922 {
8923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8924 }
d55e5bfc
RD
8925 {
8926 if (temp2)
8927 delete arg2;
8928 }
8929 return resultobj;
8930 fail:
8931 {
8932 if (temp2)
8933 delete arg2;
8934 }
8935 return NULL;
8936}
8937
8938
093d3ff1 8939static PyObject *_wrap_NativeFontInfo_ToString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8940 PyObject *resultobj = NULL;
093d3ff1
RD
8941 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8942 wxString result;
8943 PyObject * obj0 = 0 ;
d55e5bfc 8944 char *kwnames[] = {
093d3ff1 8945 (char *) "self", NULL
d55e5bfc
RD
8946 };
8947
093d3ff1
RD
8948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_ToString",kwnames,&obj0)) goto fail;
8949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8950 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8951 {
8952 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8953 result = ((wxNativeFontInfo const *)arg1)->ToString();
d55e5bfc
RD
8954
8955 wxPyEndAllowThreads(__tstate);
8956 if (PyErr_Occurred()) SWIG_fail;
8957 }
093d3ff1
RD
8958 {
8959#if wxUSE_UNICODE
8960 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8961#else
8962 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8963#endif
8964 }
d55e5bfc
RD
8965 return resultobj;
8966 fail:
8967 return NULL;
8968}
8969
8970
093d3ff1 8971static PyObject *_wrap_NativeFontInfo___str__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8972 PyObject *resultobj = NULL;
093d3ff1
RD
8973 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
8974 wxString result;
d55e5bfc
RD
8975 PyObject * obj0 = 0 ;
8976 char *kwnames[] = {
093d3ff1 8977 (char *) "self", NULL
d55e5bfc
RD
8978 };
8979
093d3ff1
RD
8980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo___str__",kwnames,&obj0)) goto fail;
8981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
8982 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8983 {
8984 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 8985 result = wxNativeFontInfo___str__(arg1);
d55e5bfc
RD
8986
8987 wxPyEndAllowThreads(__tstate);
8988 if (PyErr_Occurred()) SWIG_fail;
8989 }
093d3ff1
RD
8990 {
8991#if wxUSE_UNICODE
8992 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8993#else
8994 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8995#endif
8996 }
d55e5bfc
RD
8997 return resultobj;
8998 fail:
8999 return NULL;
9000}
9001
9002
093d3ff1 9003static PyObject *_wrap_NativeFontInfo_FromUserString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9004 PyObject *resultobj = NULL;
093d3ff1
RD
9005 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
9006 wxString *arg2 = 0 ;
9007 bool result;
9008 bool temp2 = false ;
d55e5bfc 9009 PyObject * obj0 = 0 ;
093d3ff1 9010 PyObject * obj1 = 0 ;
d55e5bfc 9011 char *kwnames[] = {
093d3ff1 9012 (char *) "self",(char *) "s", NULL
d55e5bfc
RD
9013 };
9014
093d3ff1
RD
9015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_FromUserString",kwnames,&obj0,&obj1)) goto fail;
9016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
9017 if (SWIG_arg_fail(1)) SWIG_fail;
9018 {
9019 arg2 = wxString_in_helper(obj1);
9020 if (arg2 == NULL) SWIG_fail;
9021 temp2 = true;
9022 }
d55e5bfc
RD
9023 {
9024 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9025 result = (bool)(arg1)->FromUserString((wxString const &)*arg2);
d55e5bfc
RD
9026
9027 wxPyEndAllowThreads(__tstate);
9028 if (PyErr_Occurred()) SWIG_fail;
9029 }
9030 {
093d3ff1
RD
9031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9032 }
9033 {
9034 if (temp2)
9035 delete arg2;
d55e5bfc
RD
9036 }
9037 return resultobj;
9038 fail:
093d3ff1
RD
9039 {
9040 if (temp2)
9041 delete arg2;
9042 }
d55e5bfc
RD
9043 return NULL;
9044}
9045
9046
093d3ff1 9047static PyObject *_wrap_NativeFontInfo_ToUserString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9048 PyObject *resultobj = NULL;
093d3ff1 9049 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
d55e5bfc
RD
9050 wxString result;
9051 PyObject * obj0 = 0 ;
9052 char *kwnames[] = {
093d3ff1 9053 (char *) "self", NULL
d55e5bfc
RD
9054 };
9055
093d3ff1
RD
9056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_ToUserString",kwnames,&obj0)) goto fail;
9057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
9058 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9059 {
9060 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9061 result = ((wxNativeFontInfo const *)arg1)->ToUserString();
d55e5bfc
RD
9062
9063 wxPyEndAllowThreads(__tstate);
9064 if (PyErr_Occurred()) SWIG_fail;
9065 }
9066 {
9067#if wxUSE_UNICODE
9068 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9069#else
9070 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9071#endif
9072 }
9073 return resultobj;
9074 fail:
9075 return NULL;
9076}
9077
9078
093d3ff1
RD
9079static PyObject * NativeFontInfo_swigregister(PyObject *, PyObject *args) {
9080 PyObject *obj;
9081 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9082 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo, obj);
9083 Py_INCREF(obj);
9084 return Py_BuildValue((char *)"");
9085}
9086static PyObject *_wrap_NativeEncodingInfo_facename_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9087 PyObject *resultobj = NULL;
093d3ff1
RD
9088 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
9089 wxString *arg2 = (wxString *) 0 ;
9090 bool temp2 = false ;
d55e5bfc 9091 PyObject * obj0 = 0 ;
093d3ff1 9092 PyObject * obj1 = 0 ;
d55e5bfc 9093 char *kwnames[] = {
093d3ff1 9094 (char *) "self",(char *) "facename", NULL
d55e5bfc
RD
9095 };
9096
093d3ff1
RD
9097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeEncodingInfo_facename_set",kwnames,&obj0,&obj1)) goto fail;
9098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeEncodingInfo, SWIG_POINTER_EXCEPTION | 0);
9099 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 9100 {
093d3ff1
RD
9101 arg2 = wxString_in_helper(obj1);
9102 if (arg2 == NULL) SWIG_fail;
9103 temp2 = true;
d55e5bfc 9104 }
093d3ff1
RD
9105 if (arg1) (arg1)->facename = *arg2;
9106
9107 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc 9108 {
093d3ff1
RD
9109 if (temp2)
9110 delete arg2;
d55e5bfc 9111 }
093d3ff1
RD
9112 return resultobj;
9113 fail:
d55e5bfc 9114 {
093d3ff1
RD
9115 if (temp2)
9116 delete arg2;
9117 }
9118 return NULL;
9119}
9120
9121
9122static PyObject *_wrap_NativeEncodingInfo_facename_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9123 PyObject *resultobj = NULL;
093d3ff1
RD
9124 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
9125 wxString *result;
9126 PyObject * obj0 = 0 ;
9127 char *kwnames[] = {
9128 (char *) "self", NULL
9129 };
9130
9131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeEncodingInfo_facename_get",kwnames,&obj0)) goto fail;
9132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeEncodingInfo, SWIG_POINTER_EXCEPTION | 0);
9133 if (SWIG_arg_fail(1)) SWIG_fail;
9134 result = (wxString *)& ((arg1)->facename);
9135
9136 {
9137#if wxUSE_UNICODE
9138 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
9139#else
9140 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
9141#endif
9142 }
9143 return resultobj;
9144 fail:
9145 return NULL;
9146}
9147
9148
9149static PyObject *_wrap_NativeEncodingInfo_encoding_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9150 PyObject *resultobj = NULL;
093d3ff1
RD
9151 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
9152 wxFontEncoding arg2 ;
9153 PyObject * obj0 = 0 ;
9154 PyObject * obj1 = 0 ;
9155 char *kwnames[] = {
9156 (char *) "self",(char *) "encoding", NULL
9157 };
9158
9159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames,&obj0,&obj1)) goto fail;
9160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeEncodingInfo, SWIG_POINTER_EXCEPTION | 0);
9161 if (SWIG_arg_fail(1)) SWIG_fail;
9162 {
7449af73 9163 arg2 = static_cast<wxFontEncoding >(SWIG_As_int(obj1));
093d3ff1 9164 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 9165 }
7449af73 9166 if (arg1) (arg1)->encoding = arg2;
093d3ff1
RD
9167
9168 Py_INCREF(Py_None); resultobj = Py_None;
9169 return resultobj;
9170 fail:
9171 return NULL;
9172}
9173
9174
9175static PyObject *_wrap_NativeEncodingInfo_encoding_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9176 PyObject *resultobj = NULL;
093d3ff1
RD
9177 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
9178 wxFontEncoding result;
9179 PyObject * obj0 = 0 ;
9180 char *kwnames[] = {
9181 (char *) "self", NULL
9182 };
9183
9184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeEncodingInfo_encoding_get",kwnames,&obj0)) goto fail;
9185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeEncodingInfo, SWIG_POINTER_EXCEPTION | 0);
9186 if (SWIG_arg_fail(1)) SWIG_fail;
9187 result = (wxFontEncoding) ((arg1)->encoding);
9188
9189 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9190 return resultobj;
9191 fail:
093d3ff1
RD
9192 return NULL;
9193}
9194
9195
9196static PyObject *_wrap_new_NativeEncodingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9197 PyObject *resultobj = NULL;
093d3ff1
RD
9198 wxNativeEncodingInfo *result;
9199 char *kwnames[] = {
9200 NULL
9201 };
9202
9203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NativeEncodingInfo",kwnames)) goto fail;
d55e5bfc 9204 {
093d3ff1
RD
9205 PyThreadState* __tstate = wxPyBeginAllowThreads();
9206 result = (wxNativeEncodingInfo *)new wxNativeEncodingInfo();
9207
9208 wxPyEndAllowThreads(__tstate);
9209 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 9210 }
093d3ff1
RD
9211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeEncodingInfo, 1);
9212 return resultobj;
9213 fail:
d55e5bfc
RD
9214 return NULL;
9215}
9216
9217
093d3ff1 9218static PyObject *_wrap_delete_NativeEncodingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9219 PyObject *resultobj = NULL;
093d3ff1 9220 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
d55e5bfc 9221 PyObject * obj0 = 0 ;
d55e5bfc 9222 char *kwnames[] = {
093d3ff1 9223 (char *) "self", NULL
d55e5bfc
RD
9224 };
9225
093d3ff1
RD
9226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_NativeEncodingInfo",kwnames,&obj0)) goto fail;
9227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeEncodingInfo, SWIG_POINTER_EXCEPTION | 0);
9228 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9229 {
9230 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9231 delete arg1;
d55e5bfc
RD
9232
9233 wxPyEndAllowThreads(__tstate);
9234 if (PyErr_Occurred()) SWIG_fail;
9235 }
9236 Py_INCREF(Py_None); resultobj = Py_None;
9237 return resultobj;
9238 fail:
9239 return NULL;
9240}
9241
9242
093d3ff1 9243static PyObject *_wrap_NativeEncodingInfo_FromString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9244 PyObject *resultobj = NULL;
093d3ff1 9245 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
d55e5bfc 9246 wxString *arg2 = 0 ;
093d3ff1 9247 bool result;
ae8162c8 9248 bool temp2 = false ;
d55e5bfc
RD
9249 PyObject * obj0 = 0 ;
9250 PyObject * obj1 = 0 ;
9251 char *kwnames[] = {
093d3ff1 9252 (char *) "self",(char *) "s", NULL
d55e5bfc
RD
9253 };
9254
093d3ff1
RD
9255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeEncodingInfo_FromString",kwnames,&obj0,&obj1)) goto fail;
9256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeEncodingInfo, SWIG_POINTER_EXCEPTION | 0);
9257 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9258 {
9259 arg2 = wxString_in_helper(obj1);
9260 if (arg2 == NULL) SWIG_fail;
ae8162c8 9261 temp2 = true;
d55e5bfc
RD
9262 }
9263 {
9264 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9265 result = (bool)(arg1)->FromString((wxString const &)*arg2);
d55e5bfc
RD
9266
9267 wxPyEndAllowThreads(__tstate);
9268 if (PyErr_Occurred()) SWIG_fail;
9269 }
093d3ff1
RD
9270 {
9271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9272 }
d55e5bfc
RD
9273 {
9274 if (temp2)
9275 delete arg2;
9276 }
9277 return resultobj;
9278 fail:
9279 {
9280 if (temp2)
9281 delete arg2;
9282 }
9283 return NULL;
9284}
9285
9286
093d3ff1 9287static PyObject *_wrap_NativeEncodingInfo_ToString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9288 PyObject *resultobj = NULL;
093d3ff1 9289 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
d55e5bfc 9290 wxString result;
093d3ff1 9291 PyObject * obj0 = 0 ;
d55e5bfc 9292 char *kwnames[] = {
093d3ff1 9293 (char *) "self", NULL
d55e5bfc
RD
9294 };
9295
093d3ff1
RD
9296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeEncodingInfo_ToString",kwnames,&obj0)) goto fail;
9297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeEncodingInfo, SWIG_POINTER_EXCEPTION | 0);
9298 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9299 {
9300 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9301 result = ((wxNativeEncodingInfo const *)arg1)->ToString();
d55e5bfc
RD
9302
9303 wxPyEndAllowThreads(__tstate);
9304 if (PyErr_Occurred()) SWIG_fail;
9305 }
9306 {
9307#if wxUSE_UNICODE
9308 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9309#else
9310 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9311#endif
9312 }
9313 return resultobj;
9314 fail:
9315 return NULL;
9316}
9317
9318
093d3ff1
RD
9319static PyObject * NativeEncodingInfo_swigregister(PyObject *, PyObject *args) {
9320 PyObject *obj;
9321 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9322 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo, obj);
9323 Py_INCREF(obj);
9324 return Py_BuildValue((char *)"");
9325}
9326static PyObject *_wrap_GetNativeFontEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9327 PyObject *resultobj = NULL;
093d3ff1
RD
9328 wxFontEncoding arg1 ;
9329 wxNativeEncodingInfo *result;
d55e5bfc 9330 PyObject * obj0 = 0 ;
d55e5bfc 9331 char *kwnames[] = {
093d3ff1 9332 (char *) "encoding", NULL
d55e5bfc
RD
9333 };
9334
093d3ff1
RD
9335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetNativeFontEncoding",kwnames,&obj0)) goto fail;
9336 {
7449af73 9337 arg1 = static_cast<wxFontEncoding >(SWIG_As_int(obj0));
093d3ff1 9338 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9339 }
9340 {
9341 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 9342 result = (wxNativeEncodingInfo *)wxGetNativeFontEncoding(arg1);
d55e5bfc
RD
9343
9344 wxPyEndAllowThreads(__tstate);
9345 if (PyErr_Occurred()) SWIG_fail;
9346 }
093d3ff1 9347 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeEncodingInfo, 0);
d55e5bfc
RD
9348 return resultobj;
9349 fail:
d55e5bfc
RD
9350 return NULL;
9351}
9352
9353
093d3ff1 9354static PyObject *_wrap_TestFontEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9355 PyObject *resultobj = NULL;
093d3ff1 9356 wxNativeEncodingInfo *arg1 = 0 ;
d55e5bfc 9357 bool result;
d55e5bfc 9358 PyObject * obj0 = 0 ;
d55e5bfc 9359 char *kwnames[] = {
093d3ff1 9360 (char *) "info", NULL
d55e5bfc
RD
9361 };
9362
093d3ff1
RD
9363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TestFontEncoding",kwnames,&obj0)) goto fail;
9364 {
9365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeEncodingInfo, SWIG_POINTER_EXCEPTION | 0);
9366 if (SWIG_arg_fail(1)) SWIG_fail;
9367 if (arg1 == NULL) {
9368 SWIG_null_ref("wxNativeEncodingInfo");
d55e5bfc 9369 }
093d3ff1 9370 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9371 }
9372 {
9373 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9374 result = (bool)wxTestFontEncoding((wxNativeEncodingInfo const &)*arg1);
d55e5bfc
RD
9375
9376 wxPyEndAllowThreads(__tstate);
9377 if (PyErr_Occurred()) SWIG_fail;
9378 }
9379 {
9380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9381 }
d55e5bfc
RD
9382 return resultobj;
9383 fail:
d55e5bfc
RD
9384 return NULL;
9385}
9386
9387
093d3ff1 9388static PyObject *_wrap_new_FontMapper(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9389 PyObject *resultobj = NULL;
093d3ff1 9390 wxFontMapper *result;
d55e5bfc 9391 char *kwnames[] = {
093d3ff1 9392 NULL
d55e5bfc
RD
9393 };
9394
093d3ff1 9395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontMapper",kwnames)) goto fail;
d55e5bfc
RD
9396 {
9397 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9398 result = (wxFontMapper *)new wxFontMapper();
d55e5bfc
RD
9399
9400 wxPyEndAllowThreads(__tstate);
9401 if (PyErr_Occurred()) SWIG_fail;
9402 }
093d3ff1 9403 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontMapper, 1);
d55e5bfc
RD
9404 return resultobj;
9405 fail:
9406 return NULL;
9407}
9408
9409
093d3ff1 9410static PyObject *_wrap_delete_FontMapper(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9411 PyObject *resultobj = NULL;
d55e5bfc 9412 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
d55e5bfc 9413 PyObject * obj0 = 0 ;
d55e5bfc 9414 char *kwnames[] = {
093d3ff1 9415 (char *) "self", NULL
d55e5bfc
RD
9416 };
9417
093d3ff1
RD
9418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontMapper",kwnames,&obj0)) goto fail;
9419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontMapper, SWIG_POINTER_EXCEPTION | 0);
9420 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9421 {
9422 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9423 delete arg1;
d55e5bfc
RD
9424
9425 wxPyEndAllowThreads(__tstate);
9426 if (PyErr_Occurred()) SWIG_fail;
9427 }
9428 Py_INCREF(Py_None); resultobj = Py_None;
093d3ff1
RD
9429 return resultobj;
9430 fail:
9431 return NULL;
9432}
9433
9434
9435static PyObject *_wrap_FontMapper_Get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9436 PyObject *resultobj = NULL;
093d3ff1
RD
9437 wxFontMapper *result;
9438 char *kwnames[] = {
9439 NULL
9440 };
9441
9442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FontMapper_Get",kwnames)) goto fail;
d55e5bfc 9443 {
093d3ff1
RD
9444 PyThreadState* __tstate = wxPyBeginAllowThreads();
9445 result = (wxFontMapper *)wxFontMapper::Get();
9446
9447 wxPyEndAllowThreads(__tstate);
9448 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 9449 }
093d3ff1 9450 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontMapper, 0);
d55e5bfc
RD
9451 return resultobj;
9452 fail:
093d3ff1
RD
9453 return NULL;
9454}
9455
9456
9457static PyObject *_wrap_FontMapper_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9458 PyObject *resultobj = NULL;
093d3ff1
RD
9459 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
9460 wxFontMapper *result;
9461 PyObject * obj0 = 0 ;
9462 char *kwnames[] = {
9463 (char *) "mapper", NULL
9464 };
9465
9466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_Set",kwnames,&obj0)) goto fail;
9467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontMapper, SWIG_POINTER_EXCEPTION | 0);
9468 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 9469 {
093d3ff1
RD
9470 PyThreadState* __tstate = wxPyBeginAllowThreads();
9471 result = (wxFontMapper *)wxFontMapper::Set(arg1);
9472
9473 wxPyEndAllowThreads(__tstate);
9474 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 9475 }
093d3ff1
RD
9476 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontMapper, 0);
9477 return resultobj;
9478 fail:
d55e5bfc
RD
9479 return NULL;
9480}
9481
9482
093d3ff1 9483static PyObject *_wrap_FontMapper_CharsetToEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9484 PyObject *resultobj = NULL;
093d3ff1
RD
9485 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
9486 wxString *arg2 = 0 ;
9487 bool arg3 = (bool) true ;
9488 wxFontEncoding result;
9489 bool temp2 = false ;
d55e5bfc
RD
9490 PyObject * obj0 = 0 ;
9491 PyObject * obj1 = 0 ;
9492 PyObject * obj2 = 0 ;
d55e5bfc 9493 char *kwnames[] = {
093d3ff1 9494 (char *) "self",(char *) "charset",(char *) "interactive", NULL
d55e5bfc
RD
9495 };
9496
093d3ff1
RD
9497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames,&obj0,&obj1,&obj2)) goto fail;
9498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontMapper, SWIG_POINTER_EXCEPTION | 0);
9499 if (SWIG_arg_fail(1)) SWIG_fail;
9500 {
9501 arg2 = wxString_in_helper(obj1);
9502 if (arg2 == NULL) SWIG_fail;
9503 temp2 = true;
d55e5bfc 9504 }
093d3ff1 9505 if (obj2) {
d55e5bfc 9506 {
7449af73 9507 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1 9508 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
9509 }
9510 }
d55e5bfc
RD
9511 {
9512 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9513 result = (wxFontEncoding)(arg1)->CharsetToEncoding((wxString const &)*arg2,arg3);
d55e5bfc
RD
9514
9515 wxPyEndAllowThreads(__tstate);
110da5b0 9516 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 9517 }
093d3ff1 9518 resultobj = SWIG_From_int((result));
d55e5bfc 9519 {
093d3ff1
RD
9520 if (temp2)
9521 delete arg2;
d55e5bfc
RD
9522 }
9523 return resultobj;
9524 fail:
9525 {
093d3ff1
RD
9526 if (temp2)
9527 delete arg2;
d55e5bfc
RD
9528 }
9529 return NULL;
9530}
9531
9532
093d3ff1 9533static PyObject *_wrap_FontMapper_GetSupportedEncodingsCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9534 PyObject *resultobj = NULL;
093d3ff1 9535 size_t result;
d55e5bfc 9536 char *kwnames[] = {
093d3ff1 9537 NULL
d55e5bfc
RD
9538 };
9539
093d3ff1 9540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames)) goto fail;
d55e5bfc
RD
9541 {
9542 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9543 result = (size_t)wxFontMapper::GetSupportedEncodingsCount();
d55e5bfc
RD
9544
9545 wxPyEndAllowThreads(__tstate);
9546 if (PyErr_Occurred()) SWIG_fail;
9547 }
093d3ff1 9548 {
7449af73 9549 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 9550 }
d55e5bfc
RD
9551 return resultobj;
9552 fail:
9553 return NULL;
9554}
9555
9556
093d3ff1 9557static PyObject *_wrap_FontMapper_GetEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9558 PyObject *resultobj = NULL;
093d3ff1
RD
9559 size_t arg1 ;
9560 wxFontEncoding result;
d55e5bfc
RD
9561 PyObject * obj0 = 0 ;
9562 char *kwnames[] = {
093d3ff1 9563 (char *) "n", NULL
d55e5bfc
RD
9564 };
9565
093d3ff1
RD
9566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncoding",kwnames,&obj0)) goto fail;
9567 {
7449af73 9568 arg1 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0));
093d3ff1 9569 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9570 }
9571 {
9572 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9573 result = (wxFontEncoding)wxFontMapper::GetEncoding(arg1);
d55e5bfc
RD
9574
9575 wxPyEndAllowThreads(__tstate);
110da5b0 9576 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 9577 }
093d3ff1 9578 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9579 return resultobj;
9580 fail:
9581 return NULL;
9582}
9583
9584
093d3ff1 9585static PyObject *_wrap_FontMapper_GetEncodingName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9586 PyObject *resultobj = NULL;
093d3ff1
RD
9587 wxFontEncoding arg1 ;
9588 wxString result;
d55e5bfc
RD
9589 PyObject * obj0 = 0 ;
9590 char *kwnames[] = {
093d3ff1 9591 (char *) "encoding", NULL
d55e5bfc
RD
9592 };
9593
093d3ff1 9594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncodingName",kwnames,&obj0)) goto fail;
d55e5bfc 9595 {
7449af73 9596 arg1 = static_cast<wxFontEncoding >(SWIG_As_int(obj0));
093d3ff1 9597 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9598 }
9599 {
9600 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 9601 result = wxFontMapper::GetEncodingName(arg1);
d55e5bfc
RD
9602
9603 wxPyEndAllowThreads(__tstate);
110da5b0 9604 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 9605 }
d55e5bfc 9606 {
093d3ff1
RD
9607#if wxUSE_UNICODE
9608 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9609#else
9610 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9611#endif
d55e5bfc
RD
9612 }
9613 return resultobj;
9614 fail:
d55e5bfc
RD
9615 return NULL;
9616}
9617
9618
093d3ff1 9619static PyObject *_wrap_FontMapper_GetEncodingDescription(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9620 PyObject *resultobj = NULL;
093d3ff1
RD
9621 wxFontEncoding arg1 ;
9622 wxString result;
d55e5bfc 9623 PyObject * obj0 = 0 ;
d55e5bfc 9624 char *kwnames[] = {
093d3ff1 9625 (char *) "encoding", NULL
d55e5bfc
RD
9626 };
9627
093d3ff1
RD
9628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncodingDescription",kwnames,&obj0)) goto fail;
9629 {
7449af73 9630 arg1 = static_cast<wxFontEncoding >(SWIG_As_int(obj0));
093d3ff1 9631 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9632 }
9633 {
9634 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 9635 result = wxFontMapper::GetEncodingDescription(arg1);
d55e5bfc
RD
9636
9637 wxPyEndAllowThreads(__tstate);
110da5b0 9638 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 9639 }
d55e5bfc 9640 {
093d3ff1
RD
9641#if wxUSE_UNICODE
9642 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9643#else
9644 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9645#endif
d55e5bfc
RD
9646 }
9647 return resultobj;
9648 fail:
d55e5bfc
RD
9649 return NULL;
9650}
9651
9652
093d3ff1 9653static PyObject *_wrap_FontMapper_GetEncodingFromName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9654 PyObject *resultobj = NULL;
093d3ff1
RD
9655 wxString *arg1 = 0 ;
9656 wxFontEncoding result;
9657 bool temp1 = false ;
5e483524 9658 PyObject * obj0 = 0 ;
5e483524 9659 char *kwnames[] = {
093d3ff1 9660 (char *) "name", NULL
5e483524
RD
9661 };
9662
093d3ff1 9663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncodingFromName",kwnames,&obj0)) goto fail;
5e483524 9664 {
093d3ff1
RD
9665 arg1 = wxString_in_helper(obj0);
9666 if (arg1 == NULL) SWIG_fail;
9667 temp1 = true;
5e483524
RD
9668 }
9669 {
5e483524 9670 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9671 result = (wxFontEncoding)wxFontMapper::GetEncodingFromName((wxString const &)*arg1);
5e483524
RD
9672
9673 wxPyEndAllowThreads(__tstate);
9674 if (PyErr_Occurred()) SWIG_fail;
9675 }
093d3ff1 9676 resultobj = SWIG_From_int((result));
5e483524 9677 {
093d3ff1
RD
9678 if (temp1)
9679 delete arg1;
5e483524
RD
9680 }
9681 return resultobj;
9682 fail:
9683 {
093d3ff1
RD
9684 if (temp1)
9685 delete arg1;
5e483524
RD
9686 }
9687 return NULL;
9688}
9689
9690
093d3ff1 9691static PyObject *_wrap_FontMapper_SetConfigPath(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9692 PyObject *resultobj = NULL;
093d3ff1
RD
9693 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
9694 wxString *arg2 = 0 ;
9695 bool temp2 = false ;
d55e5bfc
RD
9696 PyObject * obj0 = 0 ;
9697 PyObject * obj1 = 0 ;
9698 char *kwnames[] = {
093d3ff1 9699 (char *) "self",(char *) "prefix", NULL
d55e5bfc
RD
9700 };
9701
093d3ff1
RD
9702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetConfigPath",kwnames,&obj0,&obj1)) goto fail;
9703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontMapper, SWIG_POINTER_EXCEPTION | 0);
9704 if (SWIG_arg_fail(1)) SWIG_fail;
9705 {
9706 arg2 = wxString_in_helper(obj1);
9707 if (arg2 == NULL) SWIG_fail;
9708 temp2 = true;
9709 }
d55e5bfc
RD
9710 {
9711 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9712 (arg1)->SetConfigPath((wxString const &)*arg2);
d55e5bfc
RD
9713
9714 wxPyEndAllowThreads(__tstate);
9715 if (PyErr_Occurred()) SWIG_fail;
9716 }
093d3ff1 9717 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc 9718 {
093d3ff1
RD
9719 if (temp2)
9720 delete arg2;
d55e5bfc
RD
9721 }
9722 return resultobj;
9723 fail:
093d3ff1
RD
9724 {
9725 if (temp2)
9726 delete arg2;
9727 }
d55e5bfc
RD
9728 return NULL;
9729}
9730
9731
093d3ff1 9732static PyObject *_wrap_FontMapper_GetDefaultConfigPath(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9733 PyObject *resultobj = NULL;
093d3ff1 9734 wxString result;
d55e5bfc 9735 char *kwnames[] = {
093d3ff1 9736 NULL
d55e5bfc
RD
9737 };
9738
093d3ff1 9739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FontMapper_GetDefaultConfigPath",kwnames)) goto fail;
d55e5bfc
RD
9740 {
9741 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9742 result = wxFontMapper::GetDefaultConfigPath();
d55e5bfc
RD
9743
9744 wxPyEndAllowThreads(__tstate);
9745 if (PyErr_Occurred()) SWIG_fail;
9746 }
9747 {
093d3ff1
RD
9748#if wxUSE_UNICODE
9749 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9750#else
9751 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9752#endif
d55e5bfc
RD
9753 }
9754 return resultobj;
9755 fail:
9756 return NULL;
9757}
9758
9759
093d3ff1 9760static PyObject *_wrap_FontMapper_GetAltForEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9761 PyObject *resultobj = NULL;
093d3ff1
RD
9762 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
9763 wxFontEncoding arg2 ;
9764 wxString const &arg3_defvalue = wxPyEmptyString ;
9765 wxString *arg3 = (wxString *) &arg3_defvalue ;
9766 bool arg4 = (bool) true ;
9767 PyObject *result;
9768 bool temp3 = false ;
d55e5bfc 9769 PyObject * obj0 = 0 ;
093d3ff1
RD
9770 PyObject * obj1 = 0 ;
9771 PyObject * obj2 = 0 ;
9772 PyObject * obj3 = 0 ;
d55e5bfc 9773 char *kwnames[] = {
093d3ff1 9774 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
d55e5bfc
RD
9775 };
9776
093d3ff1
RD
9777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontMapper, SWIG_POINTER_EXCEPTION | 0);
9779 if (SWIG_arg_fail(1)) SWIG_fail;
9780 {
7449af73 9781 arg2 = static_cast<wxFontEncoding >(SWIG_As_int(obj1));
093d3ff1
RD
9782 if (SWIG_arg_fail(2)) SWIG_fail;
9783 }
9784 if (obj2) {
9785 {
9786 arg3 = wxString_in_helper(obj2);
9787 if (arg3 == NULL) SWIG_fail;
9788 temp3 = true;
9789 }
9790 }
9791 if (obj3) {
9792 {
7449af73 9793 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
9794 if (SWIG_arg_fail(4)) SWIG_fail;
9795 }
9796 }
d55e5bfc
RD
9797 {
9798 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 9799 result = (PyObject *)wxFontMapper_GetAltForEncoding(arg1,arg2,(wxString const &)*arg3,arg4);
d55e5bfc
RD
9800
9801 wxPyEndAllowThreads(__tstate);
9802 if (PyErr_Occurred()) SWIG_fail;
9803 }
093d3ff1
RD
9804 resultobj = result;
9805 {
9806 if (temp3)
9807 delete arg3;
9808 }
d55e5bfc
RD
9809 return resultobj;
9810 fail:
093d3ff1
RD
9811 {
9812 if (temp3)
9813 delete arg3;
9814 }
d55e5bfc
RD
9815 return NULL;
9816}
9817
9818
093d3ff1 9819static PyObject *_wrap_FontMapper_IsEncodingAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9820 PyObject *resultobj = NULL;
093d3ff1
RD
9821 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
9822 wxFontEncoding arg2 ;
9823 wxString const &arg3_defvalue = wxPyEmptyString ;
9824 wxString *arg3 = (wxString *) &arg3_defvalue ;
9825 bool result;
9826 bool temp3 = false ;
5e483524 9827 PyObject * obj0 = 0 ;
093d3ff1
RD
9828 PyObject * obj1 = 0 ;
9829 PyObject * obj2 = 0 ;
5e483524 9830 char *kwnames[] = {
093d3ff1 9831 (char *) "self",(char *) "encoding",(char *) "facename", NULL
5e483524
RD
9832 };
9833
093d3ff1
RD
9834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames,&obj0,&obj1,&obj2)) goto fail;
9835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontMapper, SWIG_POINTER_EXCEPTION | 0);
9836 if (SWIG_arg_fail(1)) SWIG_fail;
9837 {
7449af73 9838 arg2 = static_cast<wxFontEncoding >(SWIG_As_int(obj1));
093d3ff1
RD
9839 if (SWIG_arg_fail(2)) SWIG_fail;
9840 }
9841 if (obj2) {
9842 {
9843 arg3 = wxString_in_helper(obj2);
9844 if (arg3 == NULL) SWIG_fail;
9845 temp3 = true;
9846 }
9847 }
5e483524
RD
9848 {
9849 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 9850 result = (bool)(arg1)->IsEncodingAvailable(arg2,(wxString const &)*arg3);
5e483524
RD
9851
9852 wxPyEndAllowThreads(__tstate);
9853 if (PyErr_Occurred()) SWIG_fail;
9854 }
9855 {
093d3ff1
RD
9856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9857 }
9858 {
9859 if (temp3)
9860 delete arg3;
5e483524
RD
9861 }
9862 return resultobj;
9863 fail:
093d3ff1
RD
9864 {
9865 if (temp3)
9866 delete arg3;
9867 }
5e483524
RD
9868 return NULL;
9869}
9870
9871
093d3ff1 9872static PyObject *_wrap_FontMapper_SetDialogParent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9873 PyObject *resultobj = NULL;
093d3ff1
RD
9874 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
9875 wxWindow *arg2 = (wxWindow *) 0 ;
5e483524 9876 PyObject * obj0 = 0 ;
093d3ff1 9877 PyObject * obj1 = 0 ;
5e483524 9878 char *kwnames[] = {
093d3ff1 9879 (char *) "self",(char *) "parent", NULL
5e483524
RD
9880 };
9881
093d3ff1
RD
9882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetDialogParent",kwnames,&obj0,&obj1)) goto fail;
9883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontMapper, SWIG_POINTER_EXCEPTION | 0);
9884 if (SWIG_arg_fail(1)) SWIG_fail;
9885 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9886 if (SWIG_arg_fail(2)) SWIG_fail;
5e483524
RD
9887 {
9888 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9889 (arg1)->SetDialogParent(arg2);
5e483524
RD
9890
9891 wxPyEndAllowThreads(__tstate);
9892 if (PyErr_Occurred()) SWIG_fail;
9893 }
093d3ff1 9894 Py_INCREF(Py_None); resultobj = Py_None;
5e483524
RD
9895 return resultobj;
9896 fail:
9897 return NULL;
9898}
9899
9900
093d3ff1 9901static PyObject *_wrap_FontMapper_SetDialogTitle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9902 PyObject *resultobj = NULL;
093d3ff1
RD
9903 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
9904 wxString *arg2 = 0 ;
9905 bool temp2 = false ;
d55e5bfc 9906 PyObject * obj0 = 0 ;
093d3ff1 9907 PyObject * obj1 = 0 ;
d55e5bfc 9908 char *kwnames[] = {
093d3ff1 9909 (char *) "self",(char *) "title", NULL
d55e5bfc
RD
9910 };
9911
093d3ff1
RD
9912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetDialogTitle",kwnames,&obj0,&obj1)) goto fail;
9913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontMapper, SWIG_POINTER_EXCEPTION | 0);
9914 if (SWIG_arg_fail(1)) SWIG_fail;
9915 {
9916 arg2 = wxString_in_helper(obj1);
9917 if (arg2 == NULL) SWIG_fail;
9918 temp2 = true;
9919 }
d55e5bfc
RD
9920 {
9921 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9922 (arg1)->SetDialogTitle((wxString const &)*arg2);
d55e5bfc
RD
9923
9924 wxPyEndAllowThreads(__tstate);
9925 if (PyErr_Occurred()) SWIG_fail;
9926 }
093d3ff1
RD
9927 Py_INCREF(Py_None); resultobj = Py_None;
9928 {
9929 if (temp2)
9930 delete arg2;
9931 }
d55e5bfc
RD
9932 return resultobj;
9933 fail:
093d3ff1
RD
9934 {
9935 if (temp2)
9936 delete arg2;
9937 }
d55e5bfc
RD
9938 return NULL;
9939}
9940
9941
093d3ff1
RD
9942static PyObject * FontMapper_swigregister(PyObject *, PyObject *args) {
9943 PyObject *obj;
9944 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9945 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper, obj);
9946 Py_INCREF(obj);
9947 return Py_BuildValue((char *)"");
9948}
9949static PyObject *_wrap_new_Font(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9950 PyObject *resultobj = NULL;
093d3ff1
RD
9951 int arg1 ;
9952 int arg2 ;
9953 int arg3 ;
9954 int arg4 ;
9955 bool arg5 = (bool) false ;
9956 wxString const &arg6_defvalue = wxPyEmptyString ;
9957 wxString *arg6 = (wxString *) &arg6_defvalue ;
9958 wxFontEncoding arg7 = (wxFontEncoding) wxFONTENCODING_DEFAULT ;
9959 wxFont *result;
9960 bool temp6 = false ;
d55e5bfc 9961 PyObject * obj0 = 0 ;
093d3ff1
RD
9962 PyObject * obj1 = 0 ;
9963 PyObject * obj2 = 0 ;
9964 PyObject * obj3 = 0 ;
9965 PyObject * obj4 = 0 ;
9966 PyObject * obj5 = 0 ;
9967 PyObject * obj6 = 0 ;
d55e5bfc 9968 char *kwnames[] = {
093d3ff1 9969 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
d55e5bfc
RD
9970 };
9971
093d3ff1
RD
9972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:new_Font",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9973 {
7449af73 9974 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
9975 if (SWIG_arg_fail(1)) SWIG_fail;
9976 }
9977 {
7449af73 9978 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9979 if (SWIG_arg_fail(2)) SWIG_fail;
9980 }
9981 {
7449af73 9982 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
9983 if (SWIG_arg_fail(3)) SWIG_fail;
9984 }
9985 {
7449af73 9986 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
9987 if (SWIG_arg_fail(4)) SWIG_fail;
9988 }
9989 if (obj4) {
9990 {
7449af73 9991 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
093d3ff1
RD
9992 if (SWIG_arg_fail(5)) SWIG_fail;
9993 }
9994 }
9995 if (obj5) {
9996 {
9997 arg6 = wxString_in_helper(obj5);
9998 if (arg6 == NULL) SWIG_fail;
9999 temp6 = true;
10000 }
10001 }
10002 if (obj6) {
10003 {
7449af73 10004 arg7 = static_cast<wxFontEncoding >(SWIG_As_int(obj6));
093d3ff1
RD
10005 if (SWIG_arg_fail(7)) SWIG_fail;
10006 }
10007 }
d55e5bfc 10008 {
093d3ff1 10009 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 10010 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 10011 result = (wxFont *)new wxFont(arg1,arg2,arg3,arg4,arg5,(wxString const &)*arg6,arg7);
d55e5bfc
RD
10012
10013 wxPyEndAllowThreads(__tstate);
10014 if (PyErr_Occurred()) SWIG_fail;
10015 }
093d3ff1
RD
10016 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
10017 {
10018 if (temp6)
10019 delete arg6;
10020 }
d55e5bfc
RD
10021 return resultobj;
10022 fail:
093d3ff1
RD
10023 {
10024 if (temp6)
10025 delete arg6;
10026 }
d55e5bfc
RD
10027 return NULL;
10028}
10029
10030
093d3ff1 10031static PyObject *_wrap_delete_Font(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10032 PyObject *resultobj = NULL;
d55e5bfc 10033 wxFont *arg1 = (wxFont *) 0 ;
d55e5bfc
RD
10034 PyObject * obj0 = 0 ;
10035 char *kwnames[] = {
10036 (char *) "self", NULL
10037 };
10038
093d3ff1
RD
10039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Font",kwnames,&obj0)) goto fail;
10040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10041 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10042 {
10043 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10044 delete arg1;
d55e5bfc
RD
10045
10046 wxPyEndAllowThreads(__tstate);
10047 if (PyErr_Occurred()) SWIG_fail;
10048 }
093d3ff1 10049 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
10050 return resultobj;
10051 fail:
10052 return NULL;
10053}
10054
10055
093d3ff1 10056static PyObject *_wrap_new_FontFromNativeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10057 PyObject *resultobj = NULL;
093d3ff1
RD
10058 wxNativeFontInfo *arg1 = 0 ;
10059 wxFont *result;
d55e5bfc
RD
10060 PyObject * obj0 = 0 ;
10061 char *kwnames[] = {
093d3ff1 10062 (char *) "info", NULL
d55e5bfc
RD
10063 };
10064
093d3ff1
RD
10065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FontFromNativeInfo",kwnames,&obj0)) goto fail;
10066 {
10067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
10068 if (SWIG_arg_fail(1)) SWIG_fail;
10069 if (arg1 == NULL) {
10070 SWIG_null_ref("wxNativeFontInfo");
10071 }
10072 if (SWIG_arg_fail(1)) SWIG_fail;
10073 }
d55e5bfc 10074 {
093d3ff1 10075 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 10076 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10077 result = (wxFont *)new wxFont((wxNativeFontInfo const &)*arg1);
d55e5bfc
RD
10078
10079 wxPyEndAllowThreads(__tstate);
10080 if (PyErr_Occurred()) SWIG_fail;
10081 }
093d3ff1 10082 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d55e5bfc
RD
10083 return resultobj;
10084 fail:
10085 return NULL;
10086}
10087
10088
093d3ff1 10089static PyObject *_wrap_new_FontFromNativeInfoString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10090 PyObject *resultobj = NULL;
093d3ff1
RD
10091 wxString *arg1 = 0 ;
10092 wxFont *result;
10093 bool temp1 = false ;
d55e5bfc
RD
10094 PyObject * obj0 = 0 ;
10095 char *kwnames[] = {
093d3ff1 10096 (char *) "info", NULL
d55e5bfc
RD
10097 };
10098
093d3ff1
RD
10099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FontFromNativeInfoString",kwnames,&obj0)) goto fail;
10100 {
10101 arg1 = wxString_in_helper(obj0);
10102 if (arg1 == NULL) SWIG_fail;
10103 temp1 = true;
10104 }
d55e5bfc 10105 {
093d3ff1 10106 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 10107 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10108 result = (wxFont *)new_wxFont((wxString const &)*arg1);
d55e5bfc
RD
10109
10110 wxPyEndAllowThreads(__tstate);
10111 if (PyErr_Occurred()) SWIG_fail;
10112 }
093d3ff1 10113 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d55e5bfc 10114 {
093d3ff1
RD
10115 if (temp1)
10116 delete arg1;
d55e5bfc
RD
10117 }
10118 return resultobj;
10119 fail:
093d3ff1
RD
10120 {
10121 if (temp1)
10122 delete arg1;
10123 }
d55e5bfc
RD
10124 return NULL;
10125}
10126
10127
a97cefba 10128static PyObject *_wrap_new_FFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10129 PyObject *resultobj = NULL;
093d3ff1
RD
10130 int arg1 ;
10131 wxFontFamily arg2 ;
10132 int arg3 = (int) wxFONTFLAG_DEFAULT ;
10133 wxString const &arg4_defvalue = wxPyEmptyString ;
10134 wxString *arg4 = (wxString *) &arg4_defvalue ;
10135 wxFontEncoding arg5 = (wxFontEncoding) wxFONTENCODING_DEFAULT ;
10136 wxFont *result;
10137 bool temp4 = false ;
d55e5bfc 10138 PyObject * obj0 = 0 ;
093d3ff1
RD
10139 PyObject * obj1 = 0 ;
10140 PyObject * obj2 = 0 ;
10141 PyObject * obj3 = 0 ;
10142 PyObject * obj4 = 0 ;
d55e5bfc 10143 char *kwnames[] = {
093d3ff1 10144 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
d55e5bfc
RD
10145 };
10146
a97cefba 10147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_FFont",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1 10148 {
7449af73 10149 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
10150 if (SWIG_arg_fail(1)) SWIG_fail;
10151 }
10152 {
7449af73 10153 arg2 = static_cast<wxFontFamily >(SWIG_As_int(obj1));
093d3ff1
RD
10154 if (SWIG_arg_fail(2)) SWIG_fail;
10155 }
10156 if (obj2) {
10157 {
7449af73 10158 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
10159 if (SWIG_arg_fail(3)) SWIG_fail;
10160 }
10161 }
10162 if (obj3) {
10163 {
10164 arg4 = wxString_in_helper(obj3);
10165 if (arg4 == NULL) SWIG_fail;
10166 temp4 = true;
10167 }
10168 }
10169 if (obj4) {
10170 {
7449af73 10171 arg5 = static_cast<wxFontEncoding >(SWIG_As_int(obj4));
093d3ff1
RD
10172 if (SWIG_arg_fail(5)) SWIG_fail;
10173 }
10174 }
d55e5bfc 10175 {
093d3ff1 10176 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 10177 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 10178 result = (wxFont *)new_wxFont(arg1,arg2,arg3,(wxString const &)*arg4,arg5);
d55e5bfc
RD
10179
10180 wxPyEndAllowThreads(__tstate);
10181 if (PyErr_Occurred()) SWIG_fail;
10182 }
093d3ff1
RD
10183 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
10184 {
10185 if (temp4)
10186 delete arg4;
10187 }
d55e5bfc
RD
10188 return resultobj;
10189 fail:
093d3ff1
RD
10190 {
10191 if (temp4)
10192 delete arg4;
10193 }
d55e5bfc
RD
10194 return NULL;
10195}
10196
10197
093d3ff1 10198static PyObject *_wrap_new_FontFromPixelSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10199 PyObject *resultobj = NULL;
093d3ff1
RD
10200 wxSize *arg1 = 0 ;
10201 int arg2 ;
10202 int arg3 ;
10203 int arg4 ;
10204 bool arg5 = (bool) false ;
10205 wxString const &arg6_defvalue = wxEmptyString ;
10206 wxString *arg6 = (wxString *) &arg6_defvalue ;
10207 wxFontEncoding arg7 = (wxFontEncoding) wxFONTENCODING_DEFAULT ;
10208 wxFont *result;
10209 wxSize temp1 ;
10210 bool temp6 = false ;
d55e5bfc 10211 PyObject * obj0 = 0 ;
093d3ff1
RD
10212 PyObject * obj1 = 0 ;
10213 PyObject * obj2 = 0 ;
10214 PyObject * obj3 = 0 ;
10215 PyObject * obj4 = 0 ;
10216 PyObject * obj5 = 0 ;
10217 PyObject * obj6 = 0 ;
d55e5bfc 10218 char *kwnames[] = {
093d3ff1 10219 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
d55e5bfc
RD
10220 };
10221
093d3ff1
RD
10222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10223 {
10224 arg1 = &temp1;
10225 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
10226 }
10227 {
7449af73 10228 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
10229 if (SWIG_arg_fail(2)) SWIG_fail;
10230 }
10231 {
7449af73 10232 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
10233 if (SWIG_arg_fail(3)) SWIG_fail;
10234 }
10235 {
7449af73 10236 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
10237 if (SWIG_arg_fail(4)) SWIG_fail;
10238 }
10239 if (obj4) {
10240 {
7449af73 10241 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
093d3ff1
RD
10242 if (SWIG_arg_fail(5)) SWIG_fail;
10243 }
10244 }
10245 if (obj5) {
10246 {
10247 arg6 = wxString_in_helper(obj5);
10248 if (arg6 == NULL) SWIG_fail;
10249 temp6 = true;
10250 }
10251 }
10252 if (obj6) {
10253 {
7449af73 10254 arg7 = static_cast<wxFontEncoding >(SWIG_As_int(obj6));
093d3ff1
RD
10255 if (SWIG_arg_fail(7)) SWIG_fail;
10256 }
10257 }
d55e5bfc 10258 {
093d3ff1 10259 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 10260 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 10261 result = (wxFont *)new_wxFont((wxSize const &)*arg1,arg2,arg3,arg4,arg5,(wxString const &)*arg6,arg7);
d55e5bfc
RD
10262
10263 wxPyEndAllowThreads(__tstate);
10264 if (PyErr_Occurred()) SWIG_fail;
10265 }
093d3ff1
RD
10266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
10267 {
10268 if (temp6)
10269 delete arg6;
10270 }
d55e5bfc
RD
10271 return resultobj;
10272 fail:
093d3ff1
RD
10273 {
10274 if (temp6)
10275 delete arg6;
10276 }
d55e5bfc
RD
10277 return NULL;
10278}
10279
10280
a97cefba 10281static PyObject *_wrap_new_FFontFromPixelSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10282 PyObject *resultobj = NULL;
a97cefba
RD
10283 wxSize *arg1 = 0 ;
10284 wxFontFamily arg2 ;
10285 int arg3 = (int) wxFONTFLAG_DEFAULT ;
10286 wxString const &arg4_defvalue = wxEmptyString ;
10287 wxString *arg4 = (wxString *) &arg4_defvalue ;
10288 wxFontEncoding arg5 = (wxFontEncoding) wxFONTENCODING_DEFAULT ;
10289 wxFont *result;
10290 wxSize temp1 ;
10291 bool temp4 = false ;
10292 PyObject * obj0 = 0 ;
10293 PyObject * obj1 = 0 ;
10294 PyObject * obj2 = 0 ;
10295 PyObject * obj3 = 0 ;
10296 PyObject * obj4 = 0 ;
10297 char *kwnames[] = {
10298 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
10299 };
10300
10301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
10302 {
10303 arg1 = &temp1;
10304 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
10305 }
10306 {
7449af73 10307 arg2 = static_cast<wxFontFamily >(SWIG_As_int(obj1));
a97cefba
RD
10308 if (SWIG_arg_fail(2)) SWIG_fail;
10309 }
10310 if (obj2) {
10311 {
7449af73 10312 arg3 = static_cast<int >(SWIG_As_int(obj2));
a97cefba
RD
10313 if (SWIG_arg_fail(3)) SWIG_fail;
10314 }
10315 }
10316 if (obj3) {
10317 {
10318 arg4 = wxString_in_helper(obj3);
10319 if (arg4 == NULL) SWIG_fail;
10320 temp4 = true;
10321 }
10322 }
10323 if (obj4) {
10324 {
7449af73 10325 arg5 = static_cast<wxFontEncoding >(SWIG_As_int(obj4));
a97cefba
RD
10326 if (SWIG_arg_fail(5)) SWIG_fail;
10327 }
10328 }
10329 {
10330 if (!wxPyCheckForApp()) SWIG_fail;
10331 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 10332 result = (wxFont *)new_wxFont((wxSize const &)*arg1,arg2,arg3,(wxString const &)*arg4,arg5);
a97cefba
RD
10333
10334 wxPyEndAllowThreads(__tstate);
10335 if (PyErr_Occurred()) SWIG_fail;
10336 }
10337 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
10338 {
10339 if (temp4)
10340 delete arg4;
10341 }
10342 return resultobj;
10343 fail:
10344 {
10345 if (temp4)
10346 delete arg4;
10347 }
10348 return NULL;
10349}
10350
10351
093d3ff1 10352static PyObject *_wrap_Font_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10353 PyObject *resultobj = NULL;
d55e5bfc
RD
10354 wxFont *arg1 = (wxFont *) 0 ;
10355 bool result;
10356 PyObject * obj0 = 0 ;
10357 char *kwnames[] = {
10358 (char *) "self", NULL
10359 };
10360
093d3ff1
RD
10361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_Ok",kwnames,&obj0)) goto fail;
10362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10363 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10364 {
10365 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10366 result = (bool)((wxFont const *)arg1)->Ok();
d55e5bfc
RD
10367
10368 wxPyEndAllowThreads(__tstate);
10369 if (PyErr_Occurred()) SWIG_fail;
10370 }
10371 {
10372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10373 }
10374 return resultobj;
10375 fail:
10376 return NULL;
10377}
10378
10379
093d3ff1 10380static PyObject *_wrap_Font___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10381 PyObject *resultobj = NULL;
d55e5bfc 10382 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1
RD
10383 wxFont *arg2 = (wxFont *) 0 ;
10384 bool result;
d55e5bfc 10385 PyObject * obj0 = 0 ;
093d3ff1 10386 PyObject * obj1 = 0 ;
d55e5bfc 10387 char *kwnames[] = {
093d3ff1 10388 (char *) "self",(char *) "other", NULL
d55e5bfc
RD
10389 };
10390
093d3ff1
RD
10391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font___eq__",kwnames,&obj0,&obj1)) goto fail;
10392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10393 if (SWIG_arg_fail(1)) SWIG_fail;
10394 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10395 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
10396 {
10397 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10398 result = (bool)wxFont___eq__(arg1,(wxFont const *)arg2);
d55e5bfc
RD
10399
10400 wxPyEndAllowThreads(__tstate);
10401 if (PyErr_Occurred()) SWIG_fail;
10402 }
10403 {
093d3ff1 10404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
10405 }
10406 return resultobj;
10407 fail:
10408 return NULL;
10409}
10410
10411
093d3ff1 10412static PyObject *_wrap_Font___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10413 PyObject *resultobj = NULL;
d55e5bfc 10414 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1
RD
10415 wxFont *arg2 = (wxFont *) 0 ;
10416 bool result;
d55e5bfc 10417 PyObject * obj0 = 0 ;
093d3ff1 10418 PyObject * obj1 = 0 ;
d55e5bfc 10419 char *kwnames[] = {
093d3ff1 10420 (char *) "self",(char *) "other", NULL
d55e5bfc
RD
10421 };
10422
093d3ff1
RD
10423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font___ne__",kwnames,&obj0,&obj1)) goto fail;
10424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10425 if (SWIG_arg_fail(1)) SWIG_fail;
10426 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10427 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
10428 {
10429 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10430 result = (bool)wxFont___ne__(arg1,(wxFont const *)arg2);
d55e5bfc
RD
10431
10432 wxPyEndAllowThreads(__tstate);
10433 if (PyErr_Occurred()) SWIG_fail;
10434 }
10435 {
093d3ff1 10436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
10437 }
10438 return resultobj;
10439 fail:
10440 return NULL;
10441}
10442
10443
093d3ff1 10444static PyObject *_wrap_Font_GetPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10445 PyObject *resultobj = NULL;
d55e5bfc 10446 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 10447 int result;
d55e5bfc 10448 PyObject * obj0 = 0 ;
d55e5bfc 10449 char *kwnames[] = {
093d3ff1 10450 (char *) "self", NULL
d55e5bfc
RD
10451 };
10452
093d3ff1
RD
10453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetPointSize",kwnames,&obj0)) goto fail;
10454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10455 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10456 {
10457 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10458 result = (int)((wxFont const *)arg1)->GetPointSize();
d55e5bfc
RD
10459
10460 wxPyEndAllowThreads(__tstate);
10461 if (PyErr_Occurred()) SWIG_fail;
10462 }
093d3ff1 10463 {
7449af73 10464 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 10465 }
d55e5bfc
RD
10466 return resultobj;
10467 fail:
10468 return NULL;
10469}
10470
10471
093d3ff1 10472static PyObject *_wrap_Font_GetPixelSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10473 PyObject *resultobj = NULL;
5e483524 10474 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 10475 wxSize result;
5e483524 10476 PyObject * obj0 = 0 ;
5e483524 10477 char *kwnames[] = {
093d3ff1 10478 (char *) "self", NULL
5e483524
RD
10479 };
10480
093d3ff1
RD
10481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetPixelSize",kwnames,&obj0)) goto fail;
10482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10483 if (SWIG_arg_fail(1)) SWIG_fail;
5e483524
RD
10484 {
10485 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10486 result = ((wxFont const *)arg1)->GetPixelSize();
5e483524
RD
10487
10488 wxPyEndAllowThreads(__tstate);
10489 if (PyErr_Occurred()) SWIG_fail;
10490 }
093d3ff1
RD
10491 {
10492 wxSize * resultptr;
7449af73 10493 resultptr = new wxSize(static_cast<wxSize & >(result));
093d3ff1
RD
10494 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
10495 }
5e483524
RD
10496 return resultobj;
10497 fail:
10498 return NULL;
10499}
10500
10501
093d3ff1 10502static PyObject *_wrap_Font_IsUsingSizeInPixels(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10503 PyObject *resultobj = NULL;
d55e5bfc 10504 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 10505 bool result;
d55e5bfc 10506 PyObject * obj0 = 0 ;
d55e5bfc 10507 char *kwnames[] = {
093d3ff1 10508 (char *) "self", NULL
d55e5bfc
RD
10509 };
10510
093d3ff1
RD
10511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_IsUsingSizeInPixels",kwnames,&obj0)) goto fail;
10512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10513 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10514 {
10515 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10516 result = (bool)((wxFont const *)arg1)->IsUsingSizeInPixels();
d55e5bfc
RD
10517
10518 wxPyEndAllowThreads(__tstate);
10519 if (PyErr_Occurred()) SWIG_fail;
10520 }
093d3ff1
RD
10521 {
10522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10523 }
d55e5bfc
RD
10524 return resultobj;
10525 fail:
10526 return NULL;
10527}
10528
10529
093d3ff1 10530static PyObject *_wrap_Font_GetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10531 PyObject *resultobj = NULL;
d55e5bfc 10532 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 10533 int result;
d55e5bfc 10534 PyObject * obj0 = 0 ;
d55e5bfc 10535 char *kwnames[] = {
093d3ff1 10536 (char *) "self", NULL
d55e5bfc
RD
10537 };
10538
093d3ff1
RD
10539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetFamily",kwnames,&obj0)) goto fail;
10540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10541 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10542 {
10543 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10544 result = (int)((wxFont const *)arg1)->GetFamily();
d55e5bfc
RD
10545
10546 wxPyEndAllowThreads(__tstate);
10547 if (PyErr_Occurred()) SWIG_fail;
10548 }
093d3ff1 10549 {
7449af73 10550 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 10551 }
d55e5bfc
RD
10552 return resultobj;
10553 fail:
10554 return NULL;
10555}
10556
10557
093d3ff1 10558static PyObject *_wrap_Font_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10559 PyObject *resultobj = NULL;
d55e5bfc 10560 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 10561 int result;
d55e5bfc 10562 PyObject * obj0 = 0 ;
d55e5bfc 10563 char *kwnames[] = {
093d3ff1 10564 (char *) "self", NULL
d55e5bfc
RD
10565 };
10566
093d3ff1
RD
10567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetStyle",kwnames,&obj0)) goto fail;
10568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10569 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10570 {
10571 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10572 result = (int)((wxFont const *)arg1)->GetStyle();
d55e5bfc
RD
10573
10574 wxPyEndAllowThreads(__tstate);
10575 if (PyErr_Occurred()) SWIG_fail;
10576 }
093d3ff1 10577 {
7449af73 10578 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 10579 }
d55e5bfc
RD
10580 return resultobj;
10581 fail:
10582 return NULL;
10583}
10584
10585
093d3ff1 10586static PyObject *_wrap_Font_GetWeight(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10587 PyObject *resultobj = NULL;
d55e5bfc 10588 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 10589 int result;
d55e5bfc 10590 PyObject * obj0 = 0 ;
d55e5bfc 10591 char *kwnames[] = {
093d3ff1 10592 (char *) "self", NULL
d55e5bfc
RD
10593 };
10594
093d3ff1
RD
10595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetWeight",kwnames,&obj0)) goto fail;
10596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10597 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10598 {
10599 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10600 result = (int)((wxFont const *)arg1)->GetWeight();
d55e5bfc
RD
10601
10602 wxPyEndAllowThreads(__tstate);
10603 if (PyErr_Occurred()) SWIG_fail;
10604 }
d55e5bfc 10605 {
7449af73 10606 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc
RD
10607 }
10608 return resultobj;
10609 fail:
d55e5bfc
RD
10610 return NULL;
10611}
10612
10613
093d3ff1 10614static PyObject *_wrap_Font_GetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10615 PyObject *resultobj = NULL;
d55e5bfc 10616 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 10617 bool result;
d55e5bfc 10618 PyObject * obj0 = 0 ;
d55e5bfc 10619 char *kwnames[] = {
093d3ff1 10620 (char *) "self", NULL
d55e5bfc
RD
10621 };
10622
093d3ff1
RD
10623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetUnderlined",kwnames,&obj0)) goto fail;
10624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10625 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10626 {
10627 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10628 result = (bool)((wxFont const *)arg1)->GetUnderlined();
d55e5bfc
RD
10629
10630 wxPyEndAllowThreads(__tstate);
10631 if (PyErr_Occurred()) SWIG_fail;
10632 }
093d3ff1
RD
10633 {
10634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10635 }
d55e5bfc
RD
10636 return resultobj;
10637 fail:
10638 return NULL;
10639}
10640
10641
093d3ff1 10642static PyObject *_wrap_Font_GetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10643 PyObject *resultobj = NULL;
d55e5bfc 10644 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 10645 wxString result;
d55e5bfc 10646 PyObject * obj0 = 0 ;
d55e5bfc 10647 char *kwnames[] = {
093d3ff1 10648 (char *) "self", NULL
d55e5bfc
RD
10649 };
10650
093d3ff1
RD
10651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetFaceName",kwnames,&obj0)) goto fail;
10652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10653 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10654 {
10655 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10656 result = ((wxFont const *)arg1)->GetFaceName();
d55e5bfc
RD
10657
10658 wxPyEndAllowThreads(__tstate);
10659 if (PyErr_Occurred()) SWIG_fail;
10660 }
093d3ff1
RD
10661 {
10662#if wxUSE_UNICODE
10663 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10664#else
10665 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10666#endif
10667 }
d55e5bfc
RD
10668 return resultobj;
10669 fail:
10670 return NULL;
10671}
10672
10673
093d3ff1 10674static PyObject *_wrap_Font_GetEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10675 PyObject *resultobj = NULL;
d55e5bfc 10676 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 10677 wxFontEncoding result;
d55e5bfc 10678 PyObject * obj0 = 0 ;
d55e5bfc 10679 char *kwnames[] = {
093d3ff1 10680 (char *) "self", NULL
d55e5bfc
RD
10681 };
10682
093d3ff1
RD
10683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetEncoding",kwnames,&obj0)) goto fail;
10684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10685 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10686 {
10687 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10688 result = (wxFontEncoding)((wxFont const *)arg1)->GetEncoding();
d55e5bfc
RD
10689
10690 wxPyEndAllowThreads(__tstate);
10691 if (PyErr_Occurred()) SWIG_fail;
10692 }
093d3ff1 10693 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10694 return resultobj;
10695 fail:
10696 return NULL;
10697}
10698
10699
093d3ff1 10700static PyObject *_wrap_Font_GetNativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10701 PyObject *resultobj = NULL;
d55e5bfc 10702 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 10703 wxNativeFontInfo *result;
d55e5bfc 10704 PyObject * obj0 = 0 ;
d55e5bfc 10705 char *kwnames[] = {
093d3ff1 10706 (char *) "self", NULL
d55e5bfc
RD
10707 };
10708
093d3ff1
RD
10709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNativeFontInfo",kwnames,&obj0)) goto fail;
10710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10711 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10712 {
10713 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10714 result = (wxNativeFontInfo *)((wxFont const *)arg1)->GetNativeFontInfo();
d55e5bfc
RD
10715
10716 wxPyEndAllowThreads(__tstate);
10717 if (PyErr_Occurred()) SWIG_fail;
10718 }
093d3ff1 10719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeFontInfo, 0);
d55e5bfc
RD
10720 return resultobj;
10721 fail:
d55e5bfc
RD
10722 return NULL;
10723}
10724
10725
093d3ff1 10726static PyObject *_wrap_Font_IsFixedWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10727 PyObject *resultobj = NULL;
d55e5bfc 10728 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 10729 bool result;
d55e5bfc 10730 PyObject * obj0 = 0 ;
d55e5bfc 10731 char *kwnames[] = {
093d3ff1 10732 (char *) "self", NULL
d55e5bfc
RD
10733 };
10734
093d3ff1
RD
10735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_IsFixedWidth",kwnames,&obj0)) goto fail;
10736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10737 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10738 {
10739 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10740 result = (bool)((wxFont const *)arg1)->IsFixedWidth();
d55e5bfc
RD
10741
10742 wxPyEndAllowThreads(__tstate);
10743 if (PyErr_Occurred()) SWIG_fail;
10744 }
d55e5bfc 10745 {
093d3ff1 10746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
10747 }
10748 return resultobj;
10749 fail:
d55e5bfc
RD
10750 return NULL;
10751}
10752
10753
093d3ff1 10754static PyObject *_wrap_Font_GetNativeFontInfoDesc(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10755 PyObject *resultobj = NULL;
d55e5bfc
RD
10756 wxFont *arg1 = (wxFont *) 0 ;
10757 wxString result;
10758 PyObject * obj0 = 0 ;
10759 char *kwnames[] = {
10760 (char *) "self", NULL
10761 };
10762
093d3ff1
RD
10763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNativeFontInfoDesc",kwnames,&obj0)) goto fail;
10764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10765 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10766 {
10767 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10768 result = ((wxFont const *)arg1)->GetNativeFontInfoDesc();
d55e5bfc
RD
10769
10770 wxPyEndAllowThreads(__tstate);
10771 if (PyErr_Occurred()) SWIG_fail;
10772 }
10773 {
10774#if wxUSE_UNICODE
10775 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10776#else
10777 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10778#endif
10779 }
10780 return resultobj;
10781 fail:
10782 return NULL;
10783}
10784
10785
093d3ff1 10786static PyObject *_wrap_Font_GetNativeFontInfoUserDesc(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10787 PyObject *resultobj = NULL;
d55e5bfc
RD
10788 wxFont *arg1 = (wxFont *) 0 ;
10789 wxString result;
10790 PyObject * obj0 = 0 ;
10791 char *kwnames[] = {
10792 (char *) "self", NULL
10793 };
10794
093d3ff1
RD
10795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames,&obj0)) goto fail;
10796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10797 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10798 {
10799 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10800 result = ((wxFont const *)arg1)->GetNativeFontInfoUserDesc();
d55e5bfc
RD
10801
10802 wxPyEndAllowThreads(__tstate);
10803 if (PyErr_Occurred()) SWIG_fail;
10804 }
10805 {
10806#if wxUSE_UNICODE
10807 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10808#else
10809 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10810#endif
10811 }
10812 return resultobj;
10813 fail:
10814 return NULL;
10815}
10816
10817
093d3ff1 10818static PyObject *_wrap_Font_SetPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10819 PyObject *resultobj = NULL;
d55e5bfc 10820 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 10821 int arg2 ;
d55e5bfc 10822 PyObject * obj0 = 0 ;
093d3ff1 10823 PyObject * obj1 = 0 ;
d55e5bfc 10824 char *kwnames[] = {
093d3ff1 10825 (char *) "self",(char *) "pointSize", NULL
d55e5bfc
RD
10826 };
10827
093d3ff1
RD
10828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetPointSize",kwnames,&obj0,&obj1)) goto fail;
10829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10830 if (SWIG_arg_fail(1)) SWIG_fail;
10831 {
7449af73 10832 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
10833 if (SWIG_arg_fail(2)) SWIG_fail;
10834 }
d55e5bfc
RD
10835 {
10836 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10837 (arg1)->SetPointSize(arg2);
d55e5bfc
RD
10838
10839 wxPyEndAllowThreads(__tstate);
10840 if (PyErr_Occurred()) SWIG_fail;
10841 }
093d3ff1 10842 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
10843 return resultobj;
10844 fail:
10845 return NULL;
10846}
10847
10848
093d3ff1 10849static PyObject *_wrap_Font_SetPixelSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10850 PyObject *resultobj = NULL;
d55e5bfc 10851 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1
RD
10852 wxSize *arg2 = 0 ;
10853 wxSize temp2 ;
d55e5bfc
RD
10854 PyObject * obj0 = 0 ;
10855 PyObject * obj1 = 0 ;
10856 char *kwnames[] = {
093d3ff1 10857 (char *) "self",(char *) "pixelSize", NULL
d55e5bfc
RD
10858 };
10859
093d3ff1
RD
10860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetPixelSize",kwnames,&obj0,&obj1)) goto fail;
10861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10862 if (SWIG_arg_fail(1)) SWIG_fail;
10863 {
10864 arg2 = &temp2;
10865 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc
RD
10866 }
10867 {
10868 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10869 (arg1)->SetPixelSize((wxSize const &)*arg2);
d55e5bfc
RD
10870
10871 wxPyEndAllowThreads(__tstate);
10872 if (PyErr_Occurred()) SWIG_fail;
10873 }
10874 Py_INCREF(Py_None); resultobj = Py_None;
10875 return resultobj;
10876 fail:
10877 return NULL;
10878}
10879
10880
093d3ff1 10881static PyObject *_wrap_Font_SetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10882 PyObject *resultobj = NULL;
d55e5bfc 10883 wxFont *arg1 = (wxFont *) 0 ;
093d3ff1 10884 int arg2 ;
d55e5bfc 10885 PyObject * obj0 = 0 ;
093d3ff1 10886 PyObject * obj1 = 0 ;
d55e5bfc 10887 char *kwnames[] = {
093d3ff1 10888 (char *) "self",(char *) "family", NULL
d55e5bfc
RD
10889 };
10890
093d3ff1
RD
10891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetFamily",kwnames,&obj0,&obj1)) goto fail;
10892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10893 if (SWIG_arg_fail(1)) SWIG_fail;
10894 {
7449af73 10895 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
10896 if (SWIG_arg_fail(2)) SWIG_fail;
10897 }
d55e5bfc
RD
10898 {
10899 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10900 (arg1)->SetFamily(arg2);
d55e5bfc
RD
10901
10902 wxPyEndAllowThreads(__tstate);
10903 if (PyErr_Occurred()) SWIG_fail;
10904 }
093d3ff1 10905 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
10906 return resultobj;
10907 fail:
10908 return NULL;
10909}
10910
10911
093d3ff1 10912static PyObject *_wrap_Font_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10913 PyObject *resultobj = NULL;
093d3ff1
RD
10914 wxFont *arg1 = (wxFont *) 0 ;
10915 int arg2 ;
10916 PyObject * obj0 = 0 ;
10917 PyObject * obj1 = 0 ;
d55e5bfc 10918 char *kwnames[] = {
093d3ff1 10919 (char *) "self",(char *) "style", NULL
d55e5bfc
RD
10920 };
10921
093d3ff1
RD
10922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetStyle",kwnames,&obj0,&obj1)) goto fail;
10923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10924 if (SWIG_arg_fail(1)) SWIG_fail;
10925 {
7449af73 10926 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
10927 if (SWIG_arg_fail(2)) SWIG_fail;
10928 }
d55e5bfc
RD
10929 {
10930 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10931 (arg1)->SetStyle(arg2);
d55e5bfc
RD
10932
10933 wxPyEndAllowThreads(__tstate);
110da5b0 10934 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 10935 }
093d3ff1 10936 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
10937 return resultobj;
10938 fail:
10939 return NULL;
10940}
10941
10942
093d3ff1 10943static PyObject *_wrap_Font_SetWeight(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10944 PyObject *resultobj = NULL;
093d3ff1
RD
10945 wxFont *arg1 = (wxFont *) 0 ;
10946 int arg2 ;
d55e5bfc 10947 PyObject * obj0 = 0 ;
093d3ff1 10948 PyObject * obj1 = 0 ;
d55e5bfc 10949 char *kwnames[] = {
093d3ff1 10950 (char *) "self",(char *) "weight", NULL
d55e5bfc
RD
10951 };
10952
093d3ff1
RD
10953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetWeight",kwnames,&obj0,&obj1)) goto fail;
10954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10955 if (SWIG_arg_fail(1)) SWIG_fail;
10956 {
7449af73 10957 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
10958 if (SWIG_arg_fail(2)) SWIG_fail;
10959 }
d55e5bfc
RD
10960 {
10961 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10962 (arg1)->SetWeight(arg2);
d55e5bfc
RD
10963
10964 wxPyEndAllowThreads(__tstate);
110da5b0 10965 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10966 }
10967 Py_INCREF(Py_None); resultobj = Py_None;
10968 return resultobj;
10969 fail:
10970 return NULL;
10971}
10972
10973
093d3ff1 10974static PyObject *_wrap_Font_SetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10975 PyObject *resultobj = NULL;
093d3ff1
RD
10976 wxFont *arg1 = (wxFont *) 0 ;
10977 wxString *arg2 = 0 ;
10978 bool temp2 = false ;
10979 PyObject * obj0 = 0 ;
10980 PyObject * obj1 = 0 ;
d55e5bfc 10981 char *kwnames[] = {
093d3ff1 10982 (char *) "self",(char *) "faceName", NULL
d55e5bfc
RD
10983 };
10984
093d3ff1
RD
10985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetFaceName",kwnames,&obj0,&obj1)) goto fail;
10986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
10987 if (SWIG_arg_fail(1)) SWIG_fail;
10988 {
10989 arg2 = wxString_in_helper(obj1);
10990 if (arg2 == NULL) SWIG_fail;
10991 temp2 = true;
10992 }
d55e5bfc
RD
10993 {
10994 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10995 (arg1)->SetFaceName((wxString const &)*arg2);
d55e5bfc
RD
10996
10997 wxPyEndAllowThreads(__tstate);
110da5b0 10998 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 10999 }
093d3ff1
RD
11000 Py_INCREF(Py_None); resultobj = Py_None;
11001 {
11002 if (temp2)
11003 delete arg2;
11004 }
d55e5bfc
RD
11005 return resultobj;
11006 fail:
093d3ff1
RD
11007 {
11008 if (temp2)
11009 delete arg2;
11010 }
d55e5bfc
RD
11011 return NULL;
11012}
11013
11014
093d3ff1 11015static PyObject *_wrap_Font_SetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11016 PyObject *resultobj = NULL;
093d3ff1
RD
11017 wxFont *arg1 = (wxFont *) 0 ;
11018 bool arg2 ;
d55e5bfc 11019 PyObject * obj0 = 0 ;
093d3ff1 11020 PyObject * obj1 = 0 ;
d55e5bfc 11021 char *kwnames[] = {
093d3ff1 11022 (char *) "self",(char *) "underlined", NULL
d55e5bfc
RD
11023 };
11024
093d3ff1
RD
11025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetUnderlined",kwnames,&obj0,&obj1)) goto fail;
11026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
11027 if (SWIG_arg_fail(1)) SWIG_fail;
11028 {
7449af73 11029 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
11030 if (SWIG_arg_fail(2)) SWIG_fail;
11031 }
d55e5bfc
RD
11032 {
11033 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11034 (arg1)->SetUnderlined(arg2);
d55e5bfc
RD
11035
11036 wxPyEndAllowThreads(__tstate);
11037 if (PyErr_Occurred()) SWIG_fail;
11038 }
11039 Py_INCREF(Py_None); resultobj = Py_None;
11040 return resultobj;
11041 fail:
11042 return NULL;
11043}
11044
11045
093d3ff1 11046static PyObject *_wrap_Font_SetEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11047 PyObject *resultobj = NULL;
093d3ff1
RD
11048 wxFont *arg1 = (wxFont *) 0 ;
11049 wxFontEncoding arg2 ;
d55e5bfc
RD
11050 PyObject * obj0 = 0 ;
11051 PyObject * obj1 = 0 ;
d55e5bfc 11052 char *kwnames[] = {
093d3ff1 11053 (char *) "self",(char *) "encoding", NULL
d55e5bfc
RD
11054 };
11055
093d3ff1
RD
11056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetEncoding",kwnames,&obj0,&obj1)) goto fail;
11057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
11058 if (SWIG_arg_fail(1)) SWIG_fail;
11059 {
7449af73 11060 arg2 = static_cast<wxFontEncoding >(SWIG_As_int(obj1));
093d3ff1
RD
11061 if (SWIG_arg_fail(2)) SWIG_fail;
11062 }
d55e5bfc
RD
11063 {
11064 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 11065 (arg1)->SetEncoding(arg2);
d55e5bfc
RD
11066
11067 wxPyEndAllowThreads(__tstate);
11068 if (PyErr_Occurred()) SWIG_fail;
11069 }
11070 Py_INCREF(Py_None); resultobj = Py_None;
11071 return resultobj;
11072 fail:
11073 return NULL;
11074}
11075
11076
093d3ff1 11077static PyObject *_wrap_Font_SetNativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11078 PyObject *resultobj = NULL;
093d3ff1
RD
11079 wxFont *arg1 = (wxFont *) 0 ;
11080 wxNativeFontInfo *arg2 = 0 ;
d55e5bfc
RD
11081 PyObject * obj0 = 0 ;
11082 PyObject * obj1 = 0 ;
d55e5bfc 11083 char *kwnames[] = {
093d3ff1 11084 (char *) "self",(char *) "info", NULL
d55e5bfc
RD
11085 };
11086
093d3ff1
RD
11087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetNativeFontInfo",kwnames,&obj0,&obj1)) goto fail;
11088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
11089 if (SWIG_arg_fail(1)) SWIG_fail;
11090 {
11091 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0);
11092 if (SWIG_arg_fail(2)) SWIG_fail;
11093 if (arg2 == NULL) {
11094 SWIG_null_ref("wxNativeFontInfo");
11095 }
11096 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
11097 }
11098 {
11099 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11100 (arg1)->SetNativeFontInfo((wxNativeFontInfo const &)*arg2);
d55e5bfc
RD
11101
11102 wxPyEndAllowThreads(__tstate);
11103 if (PyErr_Occurred()) SWIG_fail;
11104 }
093d3ff1 11105 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
11106 return resultobj;
11107 fail:
11108 return NULL;
11109}
11110
11111
093d3ff1 11112static PyObject *_wrap_Font_SetNativeFontInfoFromString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11113 PyObject *resultobj = NULL;
093d3ff1
RD
11114 wxFont *arg1 = (wxFont *) 0 ;
11115 wxString *arg2 = 0 ;
ae8162c8 11116 bool temp2 = false ;
d55e5bfc
RD
11117 PyObject * obj0 = 0 ;
11118 PyObject * obj1 = 0 ;
11119 char *kwnames[] = {
093d3ff1 11120 (char *) "self",(char *) "info", NULL
d55e5bfc
RD
11121 };
11122
093d3ff1
RD
11123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames,&obj0,&obj1)) goto fail;
11124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
11125 if (SWIG_arg_fail(1)) SWIG_fail;
11126 {
11127 arg2 = wxString_in_helper(obj1);
11128 if (arg2 == NULL) SWIG_fail;
11129 temp2 = true;
d55e5bfc
RD
11130 }
11131 {
11132 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11133 (arg1)->SetNativeFontInfo((wxString const &)*arg2);
d55e5bfc
RD
11134
11135 wxPyEndAllowThreads(__tstate);
11136 if (PyErr_Occurred()) SWIG_fail;
11137 }
093d3ff1 11138 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
11139 {
11140 if (temp2)
11141 delete arg2;
11142 }
11143 return resultobj;
11144 fail:
11145 {
11146 if (temp2)
11147 delete arg2;
11148 }
11149 return NULL;
11150}
11151
11152
093d3ff1 11153static PyObject *_wrap_Font_SetNativeFontInfoUserDesc(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11154 PyObject *resultobj = NULL;
093d3ff1
RD
11155 wxFont *arg1 = (wxFont *) 0 ;
11156 wxString *arg2 = 0 ;
11157 bool temp2 = false ;
d55e5bfc 11158 PyObject * obj0 = 0 ;
093d3ff1 11159 PyObject * obj1 = 0 ;
d55e5bfc 11160 char *kwnames[] = {
093d3ff1 11161 (char *) "self",(char *) "info", NULL
d55e5bfc
RD
11162 };
11163
093d3ff1
RD
11164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames,&obj0,&obj1)) goto fail;
11165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
11166 if (SWIG_arg_fail(1)) SWIG_fail;
11167 {
11168 arg2 = wxString_in_helper(obj1);
11169 if (arg2 == NULL) SWIG_fail;
11170 temp2 = true;
11171 }
d55e5bfc
RD
11172 {
11173 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11174 (arg1)->SetNativeFontInfoUserDesc((wxString const &)*arg2);
d55e5bfc
RD
11175
11176 wxPyEndAllowThreads(__tstate);
11177 if (PyErr_Occurred()) SWIG_fail;
11178 }
093d3ff1
RD
11179 Py_INCREF(Py_None); resultobj = Py_None;
11180 {
11181 if (temp2)
11182 delete arg2;
11183 }
d55e5bfc
RD
11184 return resultobj;
11185 fail:
093d3ff1
RD
11186 {
11187 if (temp2)
11188 delete arg2;
11189 }
d55e5bfc
RD
11190 return NULL;
11191}
11192
11193
093d3ff1 11194static PyObject *_wrap_Font_GetFamilyString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11195 PyObject *resultobj = NULL;
093d3ff1
RD
11196 wxFont *arg1 = (wxFont *) 0 ;
11197 wxString result;
d55e5bfc
RD
11198 PyObject * obj0 = 0 ;
11199 char *kwnames[] = {
11200 (char *) "self", NULL
11201 };
11202
093d3ff1
RD
11203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetFamilyString",kwnames,&obj0)) goto fail;
11204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
11205 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11206 {
11207 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11208 result = ((wxFont const *)arg1)->GetFamilyString();
d55e5bfc
RD
11209
11210 wxPyEndAllowThreads(__tstate);
11211 if (PyErr_Occurred()) SWIG_fail;
11212 }
093d3ff1
RD
11213 {
11214#if wxUSE_UNICODE
11215 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11216#else
11217 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11218#endif
11219 }
d55e5bfc
RD
11220 return resultobj;
11221 fail:
11222 return NULL;
11223}
11224
11225
093d3ff1 11226static PyObject *_wrap_Font_GetStyleString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11227 PyObject *resultobj = NULL;
093d3ff1
RD
11228 wxFont *arg1 = (wxFont *) 0 ;
11229 wxString result;
d55e5bfc 11230 PyObject * obj0 = 0 ;
d55e5bfc 11231 char *kwnames[] = {
093d3ff1 11232 (char *) "self", NULL
d55e5bfc
RD
11233 };
11234
093d3ff1
RD
11235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetStyleString",kwnames,&obj0)) goto fail;
11236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
11237 if (SWIG_arg_fail(1)) SWIG_fail;
11238 {
11239 PyThreadState* __tstate = wxPyBeginAllowThreads();
11240 result = ((wxFont const *)arg1)->GetStyleString();
11241
11242 wxPyEndAllowThreads(__tstate);
11243 if (PyErr_Occurred()) SWIG_fail;
11244 }
11245 {
11246#if wxUSE_UNICODE
11247 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11248#else
11249 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11250#endif
11251 }
d55e5bfc
RD
11252 return resultobj;
11253 fail:
11254 return NULL;
11255}
11256
11257
093d3ff1 11258static PyObject *_wrap_Font_GetWeightString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11259 PyObject *resultobj = NULL;
093d3ff1
RD
11260 wxFont *arg1 = (wxFont *) 0 ;
11261 wxString result;
d55e5bfc
RD
11262 PyObject * obj0 = 0 ;
11263 char *kwnames[] = {
11264 (char *) "self", NULL
11265 };
11266
093d3ff1
RD
11267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetWeightString",kwnames,&obj0)) goto fail;
11268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
11269 if (SWIG_arg_fail(1)) SWIG_fail;
11270 {
11271 PyThreadState* __tstate = wxPyBeginAllowThreads();
11272 result = ((wxFont const *)arg1)->GetWeightString();
11273
11274 wxPyEndAllowThreads(__tstate);
11275 if (PyErr_Occurred()) SWIG_fail;
11276 }
11277 {
11278#if wxUSE_UNICODE
11279 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11280#else
11281 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11282#endif
11283 }
d55e5bfc
RD
11284 return resultobj;
11285 fail:
11286 return NULL;
11287}
11288
11289
093d3ff1 11290static PyObject *_wrap_Font_SetNoAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11291 PyObject *resultobj = NULL;
093d3ff1
RD
11292 wxFont *arg1 = (wxFont *) 0 ;
11293 bool arg2 = (bool) true ;
d55e5bfc
RD
11294 PyObject * obj0 = 0 ;
11295 PyObject * obj1 = 0 ;
11296 char *kwnames[] = {
093d3ff1 11297 (char *) "self",(char *) "no", NULL
d55e5bfc
RD
11298 };
11299
093d3ff1
RD
11300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Font_SetNoAntiAliasing",kwnames,&obj0,&obj1)) goto fail;
11301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
11302 if (SWIG_arg_fail(1)) SWIG_fail;
11303 if (obj1) {
11304 {
7449af73 11305 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
11306 if (SWIG_arg_fail(2)) SWIG_fail;
11307 }
d55e5bfc 11308 }
d55e5bfc 11309 {
093d3ff1
RD
11310 PyThreadState* __tstate = wxPyBeginAllowThreads();
11311 (arg1)->SetNoAntiAliasing(arg2);
11312
11313 wxPyEndAllowThreads(__tstate);
11314 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 11315 }
093d3ff1 11316 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
11317 return resultobj;
11318 fail:
d55e5bfc
RD
11319 return NULL;
11320}
11321
11322
093d3ff1 11323static PyObject *_wrap_Font_GetNoAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11324 PyObject *resultobj = NULL;
093d3ff1
RD
11325 wxFont *arg1 = (wxFont *) 0 ;
11326 bool result;
d55e5bfc
RD
11327 PyObject * obj0 = 0 ;
11328 char *kwnames[] = {
11329 (char *) "self", NULL
11330 };
11331
093d3ff1
RD
11332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNoAntiAliasing",kwnames,&obj0)) goto fail;
11333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
11334 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11335 {
093d3ff1
RD
11336 PyThreadState* __tstate = wxPyBeginAllowThreads();
11337 result = (bool)((wxFont const *)arg1)->GetNoAntiAliasing();
11338
11339 wxPyEndAllowThreads(__tstate);
11340 if (PyErr_Occurred()) SWIG_fail;
11341 }
11342 {
11343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
11344 }
11345 return resultobj;
11346 fail:
11347 return NULL;
11348}
11349
11350
093d3ff1 11351static PyObject *_wrap_Font_GetDefaultEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11352 PyObject *resultobj = NULL;
093d3ff1 11353 wxFontEncoding result;
d55e5bfc 11354 char *kwnames[] = {
093d3ff1 11355 NULL
d55e5bfc
RD
11356 };
11357
093d3ff1 11358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Font_GetDefaultEncoding",kwnames)) goto fail;
d55e5bfc 11359 {
093d3ff1
RD
11360 if (!wxPyCheckForApp()) SWIG_fail;
11361 PyThreadState* __tstate = wxPyBeginAllowThreads();
11362 result = (wxFontEncoding)wxFont::GetDefaultEncoding();
11363
11364 wxPyEndAllowThreads(__tstate);
11365 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 11366 }
093d3ff1 11367 resultobj = SWIG_From_int((result));
d55e5bfc
RD
11368 return resultobj;
11369 fail:
d55e5bfc
RD
11370 return NULL;
11371}
11372
11373
093d3ff1 11374static PyObject *_wrap_Font_SetDefaultEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11375 PyObject *resultobj = NULL;
093d3ff1 11376 wxFontEncoding arg1 ;
d55e5bfc
RD
11377 PyObject * obj0 = 0 ;
11378 char *kwnames[] = {
093d3ff1 11379 (char *) "encoding", NULL
d55e5bfc
RD
11380 };
11381
093d3ff1 11382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_SetDefaultEncoding",kwnames,&obj0)) goto fail;
d55e5bfc 11383 {
7449af73 11384 arg1 = static_cast<wxFontEncoding >(SWIG_As_int(obj0));
093d3ff1
RD
11385 if (SWIG_arg_fail(1)) SWIG_fail;
11386 }
11387 {
11388 if (!wxPyCheckForApp()) SWIG_fail;
11389 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 11390 wxFont::SetDefaultEncoding(arg1);
093d3ff1
RD
11391
11392 wxPyEndAllowThreads(__tstate);
11393 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 11394 }
093d3ff1 11395 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
11396 return resultobj;
11397 fail:
11398 return NULL;
11399}
11400
11401
093d3ff1 11402static PyObject * Font_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11403 PyObject *obj;
11404 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
093d3ff1 11405 SWIG_TypeClientData(SWIGTYPE_p_wxFont, obj);
d55e5bfc
RD
11406 Py_INCREF(obj);
11407 return Py_BuildValue((char *)"");
11408}
093d3ff1 11409static PyObject *_wrap_new_FontEnumerator(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11410 PyObject *resultobj = NULL;
093d3ff1 11411 wxPyFontEnumerator *result;
d55e5bfc 11412 char *kwnames[] = {
093d3ff1 11413 NULL
d55e5bfc
RD
11414 };
11415
093d3ff1 11416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontEnumerator",kwnames)) goto fail;
d55e5bfc 11417 {
093d3ff1 11418 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 11419 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11420 result = (wxPyFontEnumerator *)new wxPyFontEnumerator();
d55e5bfc
RD
11421
11422 wxPyEndAllowThreads(__tstate);
11423 if (PyErr_Occurred()) SWIG_fail;
11424 }
093d3ff1 11425 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFontEnumerator, 1);
d55e5bfc
RD
11426 return resultobj;
11427 fail:
11428 return NULL;
11429}
11430
11431
093d3ff1 11432static PyObject *_wrap_delete_FontEnumerator(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11433 PyObject *resultobj = NULL;
093d3ff1 11434 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
d55e5bfc
RD
11435 PyObject * obj0 = 0 ;
11436 char *kwnames[] = {
11437 (char *) "self", NULL
11438 };
11439
093d3ff1
RD
11440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontEnumerator",kwnames,&obj0)) goto fail;
11441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFontEnumerator, SWIG_POINTER_EXCEPTION | 0);
11442 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11443 {
11444 PyThreadState* __tstate = wxPyBeginAllowThreads();
11445 delete arg1;
11446
11447 wxPyEndAllowThreads(__tstate);
11448 if (PyErr_Occurred()) SWIG_fail;
11449 }
11450 Py_INCREF(Py_None); resultobj = Py_None;
11451 return resultobj;
11452 fail:
11453 return NULL;
11454}
11455
11456
093d3ff1 11457static PyObject *_wrap_FontEnumerator__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11458 PyObject *resultobj = NULL;
093d3ff1
RD
11459 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
11460 PyObject *arg2 = (PyObject *) 0 ;
11461 PyObject *arg3 = (PyObject *) 0 ;
11462 bool arg4 ;
d55e5bfc
RD
11463 PyObject * obj0 = 0 ;
11464 PyObject * obj1 = 0 ;
11465 PyObject * obj2 = 0 ;
11466 PyObject * obj3 = 0 ;
d55e5bfc 11467 char *kwnames[] = {
093d3ff1 11468 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
d55e5bfc
RD
11469 };
11470
093d3ff1
RD
11471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFontEnumerator, SWIG_POINTER_EXCEPTION | 0);
11473 if (SWIG_arg_fail(1)) SWIG_fail;
11474 arg2 = obj1;
11475 arg3 = obj2;
d55e5bfc 11476 {
7449af73 11477 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1 11478 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
11479 }
11480 {
11481 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11482 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
d55e5bfc
RD
11483
11484 wxPyEndAllowThreads(__tstate);
11485 if (PyErr_Occurred()) SWIG_fail;
11486 }
093d3ff1 11487 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
11488 return resultobj;
11489 fail:
d55e5bfc
RD
11490 return NULL;
11491}
11492
11493
093d3ff1 11494static PyObject *_wrap_FontEnumerator_EnumerateFacenames(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11495 PyObject *resultobj = NULL;
093d3ff1
RD
11496 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
11497 wxFontEncoding arg2 = (wxFontEncoding) wxFONTENCODING_SYSTEM ;
11498 bool arg3 = (bool) false ;
d55e5bfc
RD
11499 bool result;
11500 PyObject * obj0 = 0 ;
11501 PyObject * obj1 = 0 ;
11502 PyObject * obj2 = 0 ;
11503 char *kwnames[] = {
093d3ff1 11504 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
d55e5bfc
RD
11505 };
11506
093d3ff1
RD
11507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames,&obj0,&obj1,&obj2)) goto fail;
11508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFontEnumerator, SWIG_POINTER_EXCEPTION | 0);
11509 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11510 if (obj1) {
093d3ff1 11511 {
7449af73 11512 arg2 = static_cast<wxFontEncoding >(SWIG_As_int(obj1));
093d3ff1
RD
11513 if (SWIG_arg_fail(2)) SWIG_fail;
11514 }
d55e5bfc
RD
11515 }
11516 if (obj2) {
093d3ff1 11517 {
7449af73 11518 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
11519 if (SWIG_arg_fail(3)) SWIG_fail;
11520 }
d55e5bfc
RD
11521 }
11522 {
11523 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 11524 result = (bool)(arg1)->EnumerateFacenames(arg2,arg3);
d55e5bfc
RD
11525
11526 wxPyEndAllowThreads(__tstate);
11527 if (PyErr_Occurred()) SWIG_fail;
11528 }
11529 {
11530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11531 }
11532 return resultobj;
11533 fail:
11534 return NULL;
11535}
11536
11537
093d3ff1 11538static PyObject *_wrap_FontEnumerator_EnumerateEncodings(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11539 PyObject *resultobj = NULL;
093d3ff1
RD
11540 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
11541 wxString const &arg2_defvalue = wxPyEmptyString ;
11542 wxString *arg2 = (wxString *) &arg2_defvalue ;
11543 bool result;
11544 bool temp2 = false ;
11545 PyObject * obj0 = 0 ;
11546 PyObject * obj1 = 0 ;
d55e5bfc 11547 char *kwnames[] = {
093d3ff1 11548 (char *) "self",(char *) "facename", NULL
d55e5bfc
RD
11549 };
11550
093d3ff1
RD
11551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames,&obj0,&obj1)) goto fail;
11552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFontEnumerator, SWIG_POINTER_EXCEPTION | 0);
11553 if (SWIG_arg_fail(1)) SWIG_fail;
11554 if (obj1) {
11555 {
11556 arg2 = wxString_in_helper(obj1);
11557 if (arg2 == NULL) SWIG_fail;
11558 temp2 = true;
11559 }
11560 }
d55e5bfc
RD
11561 {
11562 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11563 result = (bool)(arg1)->EnumerateEncodings((wxString const &)*arg2);
d55e5bfc
RD
11564
11565 wxPyEndAllowThreads(__tstate);
11566 if (PyErr_Occurred()) SWIG_fail;
11567 }
093d3ff1
RD
11568 {
11569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11570 }
11571 {
11572 if (temp2)
11573 delete arg2;
11574 }
d55e5bfc
RD
11575 return resultobj;
11576 fail:
093d3ff1
RD
11577 {
11578 if (temp2)
11579 delete arg2;
11580 }
d55e5bfc
RD
11581 return NULL;
11582}
11583
11584
093d3ff1 11585static PyObject *_wrap_FontEnumerator_GetEncodings(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11586 PyObject *resultobj = NULL;
093d3ff1
RD
11587 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
11588 PyObject *result;
11589 PyObject * obj0 = 0 ;
d55e5bfc 11590 char *kwnames[] = {
093d3ff1 11591 (char *) "self", NULL
d55e5bfc
RD
11592 };
11593
093d3ff1
RD
11594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontEnumerator_GetEncodings",kwnames,&obj0)) goto fail;
11595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFontEnumerator, SWIG_POINTER_EXCEPTION | 0);
11596 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11597 {
11598 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11599 result = (PyObject *)wxPyFontEnumerator_GetEncodings(arg1);
d55e5bfc
RD
11600
11601 wxPyEndAllowThreads(__tstate);
11602 if (PyErr_Occurred()) SWIG_fail;
11603 }
093d3ff1 11604 resultobj = result;
d55e5bfc
RD
11605 return resultobj;
11606 fail:
11607 return NULL;
11608}
11609
11610
093d3ff1 11611static PyObject *_wrap_FontEnumerator_GetFacenames(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11612 PyObject *resultobj = NULL;
093d3ff1
RD
11613 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
11614 PyObject *result;
11615 PyObject * obj0 = 0 ;
11616 char *kwnames[] = {
11617 (char *) "self", NULL
d55e5bfc
RD
11618 };
11619
093d3ff1
RD
11620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontEnumerator_GetFacenames",kwnames,&obj0)) goto fail;
11621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFontEnumerator, SWIG_POINTER_EXCEPTION | 0);
11622 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11623 {
11624 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11625 result = (PyObject *)wxPyFontEnumerator_GetFacenames(arg1);
d55e5bfc
RD
11626
11627 wxPyEndAllowThreads(__tstate);
11628 if (PyErr_Occurred()) SWIG_fail;
11629 }
093d3ff1
RD
11630 resultobj = result;
11631 return resultobj;
11632 fail:
11633 return NULL;
11634}
11635
11636
11637static PyObject * FontEnumerator_swigregister(PyObject *, PyObject *args) {
11638 PyObject *obj;
11639 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11640 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator, obj);
11641 Py_INCREF(obj);
11642 return Py_BuildValue((char *)"");
11643}
11644static PyObject *_wrap_LanguageInfo_Language_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11645 PyObject *resultobj = NULL;
093d3ff1
RD
11646 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
11647 int arg2 ;
11648 PyObject * obj0 = 0 ;
11649 PyObject * obj1 = 0 ;
11650 char *kwnames[] = {
11651 (char *) "self",(char *) "Language", NULL
11652 };
11653
11654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LanguageInfo_Language_set",kwnames,&obj0,&obj1)) goto fail;
11655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLanguageInfo, SWIG_POINTER_EXCEPTION | 0);
11656 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11657 {
7449af73 11658 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 11659 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 11660 }
093d3ff1
RD
11661 if (arg1) (arg1)->Language = arg2;
11662
11663 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
11664 return resultobj;
11665 fail:
11666 return NULL;
11667}
11668
11669
093d3ff1 11670static PyObject *_wrap_LanguageInfo_Language_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11671 PyObject *resultobj = NULL;
093d3ff1
RD
11672 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
11673 int result;
d55e5bfc
RD
11674 PyObject * obj0 = 0 ;
11675 char *kwnames[] = {
11676 (char *) "self", NULL
11677 };
11678
093d3ff1
RD
11679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LanguageInfo_Language_get",kwnames,&obj0)) goto fail;
11680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLanguageInfo, SWIG_POINTER_EXCEPTION | 0);
11681 if (SWIG_arg_fail(1)) SWIG_fail;
11682 result = (int) ((arg1)->Language);
11683
d55e5bfc 11684 {
7449af73 11685 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc
RD
11686 }
11687 return resultobj;
11688 fail:
11689 return NULL;
11690}
11691
11692
093d3ff1 11693static PyObject *_wrap_LanguageInfo_CanonicalName_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11694 PyObject *resultobj = NULL;
093d3ff1
RD
11695 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
11696 wxString *arg2 = (wxString *) 0 ;
11697 bool temp2 = false ;
d55e5bfc 11698 PyObject * obj0 = 0 ;
093d3ff1 11699 PyObject * obj1 = 0 ;
d55e5bfc 11700 char *kwnames[] = {
093d3ff1 11701 (char *) "self",(char *) "CanonicalName", NULL
d55e5bfc
RD
11702 };
11703
093d3ff1
RD
11704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames,&obj0,&obj1)) goto fail;
11705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLanguageInfo, SWIG_POINTER_EXCEPTION | 0);
11706 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11707 {
093d3ff1
RD
11708 arg2 = wxString_in_helper(obj1);
11709 if (arg2 == NULL) SWIG_fail;
11710 temp2 = true;
d55e5bfc 11711 }
093d3ff1
RD
11712 if (arg1) (arg1)->CanonicalName = *arg2;
11713
11714 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc 11715 {
093d3ff1
RD
11716 if (temp2)
11717 delete arg2;
d55e5bfc
RD
11718 }
11719 return resultobj;
11720 fail:
093d3ff1
RD
11721 {
11722 if (temp2)
11723 delete arg2;
11724 }
d55e5bfc
RD
11725 return NULL;
11726}
11727
11728
093d3ff1 11729static PyObject *_wrap_LanguageInfo_CanonicalName_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11730 PyObject *resultobj = NULL;
093d3ff1
RD
11731 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
11732 wxString *result;
d55e5bfc
RD
11733 PyObject * obj0 = 0 ;
11734 char *kwnames[] = {
11735 (char *) "self", NULL
11736 };
11737
093d3ff1
RD
11738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LanguageInfo_CanonicalName_get",kwnames,&obj0)) goto fail;
11739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLanguageInfo, SWIG_POINTER_EXCEPTION | 0);
11740 if (SWIG_arg_fail(1)) SWIG_fail;
11741 result = (wxString *)& ((arg1)->CanonicalName);
11742
d55e5bfc 11743 {
093d3ff1
RD
11744#if wxUSE_UNICODE
11745 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11746#else
11747 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11748#endif
d55e5bfc 11749 }
d55e5bfc
RD
11750 return resultobj;
11751 fail:
11752 return NULL;
11753}
11754
11755
093d3ff1 11756static PyObject *_wrap_LanguageInfo_Description_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11757 PyObject *resultobj = NULL;
093d3ff1
RD
11758 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
11759 wxString *arg2 = (wxString *) 0 ;
11760 bool temp2 = false ;
d55e5bfc 11761 PyObject * obj0 = 0 ;
093d3ff1 11762 PyObject * obj1 = 0 ;
d55e5bfc 11763 char *kwnames[] = {
093d3ff1 11764 (char *) "self",(char *) "Description", NULL
d55e5bfc
RD
11765 };
11766
093d3ff1
RD
11767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LanguageInfo_Description_set",kwnames,&obj0,&obj1)) goto fail;
11768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLanguageInfo, SWIG_POINTER_EXCEPTION | 0);
11769 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11770 {
093d3ff1
RD
11771 arg2 = wxString_in_helper(obj1);
11772 if (arg2 == NULL) SWIG_fail;
11773 temp2 = true;
d55e5bfc 11774 }
093d3ff1
RD
11775 if (arg1) (arg1)->Description = *arg2;
11776
11777 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc 11778 {
093d3ff1
RD
11779 if (temp2)
11780 delete arg2;
d55e5bfc
RD
11781 }
11782 return resultobj;
11783 fail:
093d3ff1
RD
11784 {
11785 if (temp2)
11786 delete arg2;
11787 }
d55e5bfc
RD
11788 return NULL;
11789}
11790
11791
093d3ff1 11792static PyObject *_wrap_LanguageInfo_Description_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11793 PyObject *resultobj = NULL;
093d3ff1
RD
11794 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
11795 wxString *result;
d55e5bfc
RD
11796 PyObject * obj0 = 0 ;
11797 char *kwnames[] = {
11798 (char *) "self", NULL
11799 };
11800
093d3ff1
RD
11801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LanguageInfo_Description_get",kwnames,&obj0)) goto fail;
11802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLanguageInfo, SWIG_POINTER_EXCEPTION | 0);
11803 if (SWIG_arg_fail(1)) SWIG_fail;
11804 result = (wxString *)& ((arg1)->Description);
11805
d55e5bfc
RD
11806 {
11807#if wxUSE_UNICODE
093d3ff1 11808 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d55e5bfc 11809#else
093d3ff1 11810 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d55e5bfc
RD
11811#endif
11812 }
11813 return resultobj;
11814 fail:
11815 return NULL;
11816}
11817
11818
093d3ff1
RD
11819static PyObject * LanguageInfo_swigregister(PyObject *, PyObject *args) {
11820 PyObject *obj;
11821 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11822 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo, obj);
11823 Py_INCREF(obj);
11824 return Py_BuildValue((char *)"");
11825}
11826static PyObject *_wrap_new_Locale(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11827 PyObject *resultobj = NULL;
093d3ff1
RD
11828 int arg1 = (int) -1 ;
11829 int arg2 = (int) wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING ;
11830 wxLocale *result;
d55e5bfc 11831 PyObject * obj0 = 0 ;
093d3ff1 11832 PyObject * obj1 = 0 ;
d55e5bfc 11833 char *kwnames[] = {
093d3ff1 11834 (char *) "language",(char *) "flags", NULL
d55e5bfc
RD
11835 };
11836
093d3ff1
RD
11837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Locale",kwnames,&obj0,&obj1)) goto fail;
11838 if (obj0) {
11839 {
7449af73 11840 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
11841 if (SWIG_arg_fail(1)) SWIG_fail;
11842 }
11843 }
11844 if (obj1) {
11845 {
7449af73 11846 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11847 if (SWIG_arg_fail(2)) SWIG_fail;
11848 }
d55e5bfc
RD
11849 }
11850 {
11851 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11852 result = (wxLocale *)new_wxLocale(arg1,arg2);
d55e5bfc
RD
11853
11854 wxPyEndAllowThreads(__tstate);
11855 if (PyErr_Occurred()) SWIG_fail;
11856 }
093d3ff1 11857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLocale, 1);
d55e5bfc
RD
11858 return resultobj;
11859 fail:
d55e5bfc
RD
11860 return NULL;
11861}
11862
11863
093d3ff1 11864static PyObject *_wrap_delete_Locale(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11865 PyObject *resultobj = NULL;
d55e5bfc 11866 wxLocale *arg1 = (wxLocale *) 0 ;
d55e5bfc 11867 PyObject * obj0 = 0 ;
d55e5bfc 11868 char *kwnames[] = {
093d3ff1 11869 (char *) "self", NULL
d55e5bfc
RD
11870 };
11871
093d3ff1
RD
11872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Locale",kwnames,&obj0)) goto fail;
11873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLocale, SWIG_POINTER_EXCEPTION | 0);
11874 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11875 {
11876 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11877 delete arg1;
d55e5bfc
RD
11878
11879 wxPyEndAllowThreads(__tstate);
11880 if (PyErr_Occurred()) SWIG_fail;
11881 }
093d3ff1 11882 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
11883 return resultobj;
11884 fail:
d55e5bfc
RD
11885 return NULL;
11886}
11887
11888
093d3ff1 11889static PyObject *_wrap_Locale_Init1(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11890 PyObject *resultobj = NULL;
d55e5bfc
RD
11891 wxLocale *arg1 = (wxLocale *) 0 ;
11892 wxString *arg2 = 0 ;
093d3ff1
RD
11893 wxString const &arg3_defvalue = wxPyEmptyString ;
11894 wxString *arg3 = (wxString *) &arg3_defvalue ;
11895 wxString const &arg4_defvalue = wxPyEmptyString ;
11896 wxString *arg4 = (wxString *) &arg4_defvalue ;
11897 bool arg5 = (bool) true ;
11898 bool arg6 = (bool) false ;
d55e5bfc 11899 bool result;
ae8162c8 11900 bool temp2 = false ;
093d3ff1
RD
11901 bool temp3 = false ;
11902 bool temp4 = false ;
d55e5bfc
RD
11903 PyObject * obj0 = 0 ;
11904 PyObject * obj1 = 0 ;
093d3ff1
RD
11905 PyObject * obj2 = 0 ;
11906 PyObject * obj3 = 0 ;
11907 PyObject * obj4 = 0 ;
11908 PyObject * obj5 = 0 ;
d55e5bfc 11909 char *kwnames[] = {
093d3ff1 11910 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
d55e5bfc
RD
11911 };
11912
093d3ff1
RD
11913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Locale_Init1",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLocale, SWIG_POINTER_EXCEPTION | 0);
11915 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11916 {
11917 arg2 = wxString_in_helper(obj1);
11918 if (arg2 == NULL) SWIG_fail;
ae8162c8 11919 temp2 = true;
d55e5bfc 11920 }
093d3ff1
RD
11921 if (obj2) {
11922 {
11923 arg3 = wxString_in_helper(obj2);
11924 if (arg3 == NULL) SWIG_fail;
11925 temp3 = true;
11926 }
11927 }
11928 if (obj3) {
11929 {
11930 arg4 = wxString_in_helper(obj3);
11931 if (arg4 == NULL) SWIG_fail;
11932 temp4 = true;
11933 }
11934 }
11935 if (obj4) {
11936 {
7449af73 11937 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
093d3ff1
RD
11938 if (SWIG_arg_fail(5)) SWIG_fail;
11939 }
11940 }
11941 if (obj5) {
11942 {
7449af73 11943 arg6 = static_cast<bool >(SWIG_As_bool(obj5));
093d3ff1
RD
11944 if (SWIG_arg_fail(6)) SWIG_fail;
11945 }
11946 }
d55e5bfc
RD
11947 {
11948 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11949 result = (bool)wxLocale_Init1(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6);
d55e5bfc
RD
11950
11951 wxPyEndAllowThreads(__tstate);
11952 if (PyErr_Occurred()) SWIG_fail;
11953 }
11954 {
11955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11956 }
11957 {
11958 if (temp2)
11959 delete arg2;
11960 }
093d3ff1
RD
11961 {
11962 if (temp3)
11963 delete arg3;
11964 }
11965 {
11966 if (temp4)
11967 delete arg4;
11968 }
d55e5bfc
RD
11969 return resultobj;
11970 fail:
11971 {
11972 if (temp2)
11973 delete arg2;
11974 }
093d3ff1
RD
11975 {
11976 if (temp3)
11977 delete arg3;
11978 }
11979 {
11980 if (temp4)
11981 delete arg4;
11982 }
d55e5bfc
RD
11983 return NULL;
11984}
11985
11986
093d3ff1 11987static PyObject *_wrap_Locale_Init2(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11988 PyObject *resultobj = NULL;
093d3ff1
RD
11989 wxLocale *arg1 = (wxLocale *) 0 ;
11990 int arg2 = (int) wxLANGUAGE_DEFAULT ;
11991 int arg3 = (int) wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING ;
11992 bool result;
d55e5bfc 11993 PyObject * obj0 = 0 ;
093d3ff1
RD
11994 PyObject * obj1 = 0 ;
11995 PyObject * obj2 = 0 ;
d55e5bfc 11996 char *kwnames[] = {
093d3ff1 11997 (char *) "self",(char *) "language",(char *) "flags", NULL
d55e5bfc
RD
11998 };
11999
093d3ff1
RD
12000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Locale_Init2",kwnames,&obj0,&obj1,&obj2)) goto fail;
12001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLocale, SWIG_POINTER_EXCEPTION | 0);
12002 if (SWIG_arg_fail(1)) SWIG_fail;
12003 if (obj1) {
12004 {
7449af73 12005 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12006 if (SWIG_arg_fail(2)) SWIG_fail;
12007 }
12008 }
12009 if (obj2) {
12010 {
7449af73 12011 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12012 if (SWIG_arg_fail(3)) SWIG_fail;
12013 }
12014 }
d55e5bfc
RD
12015 {
12016 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12017 result = (bool)wxLocale_Init2(arg1,arg2,arg3);
d55e5bfc
RD
12018
12019 wxPyEndAllowThreads(__tstate);
12020 if (PyErr_Occurred()) SWIG_fail;
12021 }
093d3ff1
RD
12022 {
12023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12024 }
d55e5bfc
RD
12025 return resultobj;
12026 fail:
12027 return NULL;
12028}
12029
12030
093d3ff1 12031static PyObject *_wrap_Locale_GetSystemLanguage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12032 PyObject *resultobj = NULL;
093d3ff1 12033 int result;
d55e5bfc 12034 char *kwnames[] = {
093d3ff1 12035 NULL
d55e5bfc
RD
12036 };
12037
093d3ff1 12038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Locale_GetSystemLanguage",kwnames)) goto fail;
d55e5bfc
RD
12039 {
12040 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12041 result = (int)wxLocale::GetSystemLanguage();
d55e5bfc
RD
12042
12043 wxPyEndAllowThreads(__tstate);
12044 if (PyErr_Occurred()) SWIG_fail;
12045 }
12046 {
7449af73 12047 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc
RD
12048 }
12049 return resultobj;
12050 fail:
12051 return NULL;
12052}
12053
12054
093d3ff1 12055static PyObject *_wrap_Locale_GetSystemEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12056 PyObject *resultobj = NULL;
093d3ff1 12057 wxFontEncoding result;
d55e5bfc 12058 char *kwnames[] = {
093d3ff1 12059 NULL
d55e5bfc
RD
12060 };
12061
093d3ff1 12062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Locale_GetSystemEncoding",kwnames)) goto fail;
d55e5bfc 12063 {
093d3ff1
RD
12064 PyThreadState* __tstate = wxPyBeginAllowThreads();
12065 result = (wxFontEncoding)wxLocale::GetSystemEncoding();
12066
12067 wxPyEndAllowThreads(__tstate);
12068 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 12069 }
093d3ff1
RD
12070 resultobj = SWIG_From_int((result));
12071 return resultobj;
12072 fail:
12073 return NULL;
12074}
12075
12076
12077static PyObject *_wrap_Locale_GetSystemEncodingName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12078 PyObject *resultobj = NULL;
093d3ff1
RD
12079 wxString result;
12080 char *kwnames[] = {
12081 NULL
12082 };
12083
12084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Locale_GetSystemEncodingName",kwnames)) goto fail;
d55e5bfc
RD
12085 {
12086 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12087 result = wxLocale::GetSystemEncodingName();
d55e5bfc
RD
12088
12089 wxPyEndAllowThreads(__tstate);
12090 if (PyErr_Occurred()) SWIG_fail;
12091 }
d55e5bfc 12092 {
093d3ff1
RD
12093#if wxUSE_UNICODE
12094 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12095#else
12096 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12097#endif
d55e5bfc
RD
12098 }
12099 return resultobj;
12100 fail:
d55e5bfc
RD
12101 return NULL;
12102}
12103
12104
093d3ff1 12105static PyObject *_wrap_Locale_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12106 PyObject *resultobj = NULL;
093d3ff1
RD
12107 wxLocale *arg1 = (wxLocale *) 0 ;
12108 bool result;
d55e5bfc
RD
12109 PyObject * obj0 = 0 ;
12110 char *kwnames[] = {
093d3ff1 12111 (char *) "self", NULL
d55e5bfc
RD
12112 };
12113
093d3ff1
RD
12114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_IsOk",kwnames,&obj0)) goto fail;
12115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLocale, SWIG_POINTER_EXCEPTION | 0);
12116 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12117 {
12118 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12119 result = (bool)((wxLocale const *)arg1)->IsOk();
d55e5bfc
RD
12120
12121 wxPyEndAllowThreads(__tstate);
12122 if (PyErr_Occurred()) SWIG_fail;
12123 }
093d3ff1
RD
12124 {
12125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12126 }
d55e5bfc
RD
12127 return resultobj;
12128 fail:
12129 return NULL;
12130}
12131
12132
093d3ff1 12133static PyObject *_wrap_Locale_GetLocale(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12134 PyObject *resultobj = NULL;
d55e5bfc 12135 wxLocale *arg1 = (wxLocale *) 0 ;
d55e5bfc 12136 wxString result;
d55e5bfc 12137 PyObject * obj0 = 0 ;
d55e5bfc 12138 char *kwnames[] = {
093d3ff1 12139 (char *) "self", NULL
d55e5bfc
RD
12140 };
12141
093d3ff1
RD
12142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLocale",kwnames,&obj0)) goto fail;
12143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLocale, SWIG_POINTER_EXCEPTION | 0);
12144 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12145 {
12146 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12147 result = ((wxLocale const *)arg1)->GetLocale();
d55e5bfc
RD
12148
12149 wxPyEndAllowThreads(__tstate);
12150 if (PyErr_Occurred()) SWIG_fail;
12151 }
12152 {
12153#if wxUSE_UNICODE
12154 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12155#else
12156 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12157#endif
12158 }
d55e5bfc
RD
12159 return resultobj;
12160 fail:
d55e5bfc
RD
12161 return NULL;
12162}
12163
12164
093d3ff1 12165static PyObject *_wrap_Locale_GetLanguage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12166 PyObject *resultobj = NULL;
d55e5bfc 12167 wxLocale *arg1 = (wxLocale *) 0 ;
093d3ff1 12168 int result;
d55e5bfc
RD
12169 PyObject * obj0 = 0 ;
12170 char *kwnames[] = {
12171 (char *) "self", NULL
12172 };
12173
093d3ff1
RD
12174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLanguage",kwnames,&obj0)) goto fail;
12175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLocale, SWIG_POINTER_EXCEPTION | 0);
12176 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12177 {
12178 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12179 result = (int)((wxLocale const *)arg1)->GetLanguage();
d55e5bfc
RD
12180
12181 wxPyEndAllowThreads(__tstate);
12182 if (PyErr_Occurred()) SWIG_fail;
12183 }
12184 {
7449af73 12185 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc
RD
12186 }
12187 return resultobj;
12188 fail:
12189 return NULL;
12190}
12191
12192
093d3ff1 12193static PyObject *_wrap_Locale_GetSysName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12194 PyObject *resultobj = NULL;
093d3ff1
RD
12195 wxLocale *arg1 = (wxLocale *) 0 ;
12196 wxString result;
12197 PyObject * obj0 = 0 ;
d55e5bfc 12198 char *kwnames[] = {
093d3ff1 12199 (char *) "self", NULL
d55e5bfc
RD
12200 };
12201
093d3ff1
RD
12202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetSysName",kwnames,&obj0)) goto fail;
12203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLocale, SWIG_POINTER_EXCEPTION | 0);
12204 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12205 {
12206 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12207 result = ((wxLocale const *)arg1)->GetSysName();
d55e5bfc
RD
12208
12209 wxPyEndAllowThreads(__tstate);
12210 if (PyErr_Occurred()) SWIG_fail;
12211 }
093d3ff1
RD
12212 {
12213#if wxUSE_UNICODE
12214 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12215#else
12216 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12217#endif
12218 }
d55e5bfc
RD
12219 return resultobj;
12220 fail:
12221 return NULL;
12222}
12223
12224
093d3ff1 12225static PyObject *_wrap_Locale_GetCanonicalName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12226 PyObject *resultobj = NULL;
093d3ff1 12227 wxLocale *arg1 = (wxLocale *) 0 ;
d55e5bfc 12228 wxString result;
d55e5bfc 12229 PyObject * obj0 = 0 ;
093d3ff1
RD
12230 char *kwnames[] = {
12231 (char *) "self", NULL
12232 };
d55e5bfc 12233
093d3ff1
RD
12234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetCanonicalName",kwnames,&obj0)) goto fail;
12235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLocale, SWIG_POINTER_EXCEPTION | 0);
12236 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12237 {
12238 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12239 result = ((wxLocale const *)arg1)->GetCanonicalName();
d55e5bfc
RD
12240
12241 wxPyEndAllowThreads(__tstate);
12242 if (PyErr_Occurred()) SWIG_fail;
12243 }
12244 {
12245#if wxUSE_UNICODE
12246 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12247#else
12248 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12249#endif
12250 }
d55e5bfc
RD
12251 return resultobj;
12252 fail:
d55e5bfc
RD
12253 return NULL;
12254}
12255
12256
093d3ff1 12257static PyObject *_wrap_Locale_AddCatalogLookupPathPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12258 PyObject *resultobj = NULL;
d55e5bfc 12259 wxString *arg1 = 0 ;
ae8162c8 12260 bool temp1 = false ;
d55e5bfc 12261 PyObject * obj0 = 0 ;
093d3ff1
RD
12262 char *kwnames[] = {
12263 (char *) "prefix", NULL
12264 };
d55e5bfc 12265
093d3ff1 12266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames,&obj0)) goto fail;
d55e5bfc
RD
12267 {
12268 arg1 = wxString_in_helper(obj0);
12269 if (arg1 == NULL) SWIG_fail;
ae8162c8 12270 temp1 = true;
d55e5bfc 12271 }
d55e5bfc
RD
12272 {
12273 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12274 wxLocale::AddCatalogLookupPathPrefix((wxString const &)*arg1);
d55e5bfc
RD
12275
12276 wxPyEndAllowThreads(__tstate);
12277 if (PyErr_Occurred()) SWIG_fail;
12278 }
093d3ff1 12279 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
12280 {
12281 if (temp1)
12282 delete arg1;
12283 }
d55e5bfc
RD
12284 return resultobj;
12285 fail:
12286 {
12287 if (temp1)
12288 delete arg1;
12289 }
d55e5bfc
RD
12290 return NULL;
12291}
12292
12293
093d3ff1 12294static PyObject *_wrap_Locale_AddCatalog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12295 PyObject *resultobj = NULL;
093d3ff1
RD
12296 wxLocale *arg1 = (wxLocale *) 0 ;
12297 wxString *arg2 = 0 ;
d55e5bfc 12298 bool result;
093d3ff1 12299 bool temp2 = false ;
d55e5bfc
RD
12300 PyObject * obj0 = 0 ;
12301 PyObject * obj1 = 0 ;
d55e5bfc 12302 char *kwnames[] = {
093d3ff1 12303 (char *) "self",(char *) "szDomain", NULL
d55e5bfc
RD
12304 };
12305
093d3ff1
RD
12306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Locale_AddCatalog",kwnames,&obj0,&obj1)) goto fail;
12307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLocale, SWIG_POINTER_EXCEPTION | 0);
12308 if (SWIG_arg_fail(1)) SWIG_fail;
12309 {
12310 arg2 = wxString_in_helper(obj1);
12311 if (arg2 == NULL) SWIG_fail;
12312 temp2 = true;
d55e5bfc
RD
12313 }
12314 {
12315 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12316 result = (bool)(arg1)->AddCatalog((wxString const &)*arg2);
d55e5bfc
RD
12317
12318 wxPyEndAllowThreads(__tstate);
12319 if (PyErr_Occurred()) SWIG_fail;
12320 }
12321 {
12322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12323 }
093d3ff1
RD
12324 {
12325 if (temp2)
12326 delete arg2;
12327 }
d55e5bfc
RD
12328 return resultobj;
12329 fail:
093d3ff1
RD
12330 {
12331 if (temp2)
12332 delete arg2;
12333 }
d55e5bfc
RD
12334 return NULL;
12335}
12336
12337
093d3ff1 12338static PyObject *_wrap_Locale_IsLoaded(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12339 PyObject *resultobj = NULL;
093d3ff1 12340 wxLocale *arg1 = (wxLocale *) 0 ;
d55e5bfc 12341 wxString *arg2 = 0 ;
093d3ff1 12342 bool result;
ae8162c8 12343 bool temp2 = false ;
d55e5bfc
RD
12344 PyObject * obj0 = 0 ;
12345 PyObject * obj1 = 0 ;
12346 char *kwnames[] = {
093d3ff1 12347 (char *) "self",(char *) "szDomain", NULL
d55e5bfc
RD
12348 };
12349
093d3ff1
RD
12350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Locale_IsLoaded",kwnames,&obj0,&obj1)) goto fail;
12351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLocale, SWIG_POINTER_EXCEPTION | 0);
12352 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12353 {
12354 arg2 = wxString_in_helper(obj1);
12355 if (arg2 == NULL) SWIG_fail;
ae8162c8 12356 temp2 = true;
d55e5bfc
RD
12357 }
12358 {
12359 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12360 result = (bool)((wxLocale const *)arg1)->IsLoaded((wxString const &)*arg2);
d55e5bfc
RD
12361
12362 wxPyEndAllowThreads(__tstate);
12363 if (PyErr_Occurred()) SWIG_fail;
12364 }
12365 {
093d3ff1 12366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
12367 }
12368 {
12369 if (temp2)
12370 delete arg2;
12371 }
12372 return resultobj;
12373 fail:
12374 {
12375 if (temp2)
12376 delete arg2;
12377 }
12378 return NULL;
12379}
12380
12381
093d3ff1 12382static PyObject *_wrap_Locale_GetLanguageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12383 PyObject *resultobj = NULL;
d55e5bfc 12384 int arg1 ;
093d3ff1 12385 wxLanguageInfo *result;
d55e5bfc 12386 PyObject * obj0 = 0 ;
d55e5bfc 12387 char *kwnames[] = {
093d3ff1 12388 (char *) "lang", NULL
d55e5bfc
RD
12389 };
12390
093d3ff1
RD
12391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLanguageInfo",kwnames,&obj0)) goto fail;
12392 {
7449af73 12393 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1 12394 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12395 }
12396 {
12397 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12398 result = (wxLanguageInfo *)wxLocale::GetLanguageInfo(arg1);
d55e5bfc
RD
12399
12400 wxPyEndAllowThreads(__tstate);
12401 if (PyErr_Occurred()) SWIG_fail;
12402 }
093d3ff1 12403 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLanguageInfo, 0);
d55e5bfc
RD
12404 return resultobj;
12405 fail:
12406 return NULL;
12407}
12408
12409
093d3ff1 12410static PyObject *_wrap_Locale_GetLanguageName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12411 PyObject *resultobj = NULL;
d55e5bfc 12412 int arg1 ;
093d3ff1 12413 wxString result;
d55e5bfc
RD
12414 PyObject * obj0 = 0 ;
12415 char *kwnames[] = {
093d3ff1 12416 (char *) "lang", NULL
d55e5bfc
RD
12417 };
12418
093d3ff1
RD
12419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLanguageName",kwnames,&obj0)) goto fail;
12420 {
7449af73 12421 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
12422 if (SWIG_arg_fail(1)) SWIG_fail;
12423 }
d55e5bfc
RD
12424 {
12425 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12426 result = wxLocale::GetLanguageName(arg1);
d55e5bfc
RD
12427
12428 wxPyEndAllowThreads(__tstate);
12429 if (PyErr_Occurred()) SWIG_fail;
12430 }
12431 {
093d3ff1
RD
12432#if wxUSE_UNICODE
12433 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12434#else
12435 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12436#endif
d55e5bfc
RD
12437 }
12438 return resultobj;
12439 fail:
12440 return NULL;
12441}
12442
12443
093d3ff1 12444static PyObject *_wrap_Locale_FindLanguageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12445 PyObject *resultobj = NULL;
093d3ff1
RD
12446 wxString *arg1 = 0 ;
12447 wxLanguageInfo *result;
12448 bool temp1 = false ;
d55e5bfc 12449 PyObject * obj0 = 0 ;
d55e5bfc 12450 char *kwnames[] = {
093d3ff1 12451 (char *) "locale", NULL
d55e5bfc
RD
12452 };
12453
093d3ff1
RD
12454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_FindLanguageInfo",kwnames,&obj0)) goto fail;
12455 {
12456 arg1 = wxString_in_helper(obj0);
12457 if (arg1 == NULL) SWIG_fail;
12458 temp1 = true;
12459 }
d55e5bfc
RD
12460 {
12461 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12462 result = (wxLanguageInfo *)wxLocale::FindLanguageInfo((wxString const &)*arg1);
d55e5bfc
RD
12463
12464 wxPyEndAllowThreads(__tstate);
12465 if (PyErr_Occurred()) SWIG_fail;
12466 }
093d3ff1 12467 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLanguageInfo, 0);
d55e5bfc 12468 {
093d3ff1
RD
12469 if (temp1)
12470 delete arg1;
d55e5bfc
RD
12471 }
12472 return resultobj;
12473 fail:
093d3ff1
RD
12474 {
12475 if (temp1)
12476 delete arg1;
12477 }
d55e5bfc
RD
12478 return NULL;
12479}
12480
12481
093d3ff1 12482static PyObject *_wrap_Locale_AddLanguage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12483 PyObject *resultobj = NULL;
093d3ff1 12484 wxLanguageInfo *arg1 = 0 ;
d55e5bfc
RD
12485 PyObject * obj0 = 0 ;
12486 char *kwnames[] = {
093d3ff1 12487 (char *) "info", NULL
d55e5bfc
RD
12488 };
12489
093d3ff1
RD
12490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_AddLanguage",kwnames,&obj0)) goto fail;
12491 {
12492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLanguageInfo, SWIG_POINTER_EXCEPTION | 0);
12493 if (SWIG_arg_fail(1)) SWIG_fail;
12494 if (arg1 == NULL) {
12495 SWIG_null_ref("wxLanguageInfo");
12496 }
12497 if (SWIG_arg_fail(1)) SWIG_fail;
12498 }
d55e5bfc
RD
12499 {
12500 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12501 wxLocale::AddLanguage((wxLanguageInfo const &)*arg1);
d55e5bfc
RD
12502
12503 wxPyEndAllowThreads(__tstate);
12504 if (PyErr_Occurred()) SWIG_fail;
12505 }
12506 Py_INCREF(Py_None); resultobj = Py_None;
12507 return resultobj;
12508 fail:
12509 return NULL;
12510}
12511
12512
093d3ff1 12513static PyObject *_wrap_Locale_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12514 PyObject *resultobj = NULL;
093d3ff1
RD
12515 wxLocale *arg1 = (wxLocale *) 0 ;
12516 wxString *arg2 = 0 ;
12517 wxString const &arg3_defvalue = wxPyEmptyString ;
12518 wxString *arg3 = (wxString *) &arg3_defvalue ;
12519 wxString result;
12520 bool temp2 = false ;
12521 bool temp3 = false ;
d55e5bfc 12522 PyObject * obj0 = 0 ;
093d3ff1
RD
12523 PyObject * obj1 = 0 ;
12524 PyObject * obj2 = 0 ;
d55e5bfc 12525 char *kwnames[] = {
093d3ff1 12526 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
d55e5bfc
RD
12527 };
12528
093d3ff1
RD
12529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Locale_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
12530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLocale, SWIG_POINTER_EXCEPTION | 0);
12531 if (SWIG_arg_fail(1)) SWIG_fail;
12532 {
12533 arg2 = wxString_in_helper(obj1);
12534 if (arg2 == NULL) SWIG_fail;
12535 temp2 = true;
12536 }
12537 if (obj2) {
12538 {
12539 arg3 = wxString_in_helper(obj2);
12540 if (arg3 == NULL) SWIG_fail;
12541 temp3 = true;
12542 }
12543 }
d55e5bfc
RD
12544 {
12545 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12546 result = ((wxLocale const *)arg1)->GetString((wxString const &)*arg2,(wxString const &)*arg3);
d55e5bfc
RD
12547
12548 wxPyEndAllowThreads(__tstate);
12549 if (PyErr_Occurred()) SWIG_fail;
12550 }
093d3ff1
RD
12551 {
12552#if wxUSE_UNICODE
12553 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12554#else
12555 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12556#endif
12557 }
12558 {
12559 if (temp2)
12560 delete arg2;
12561 }
12562 {
12563 if (temp3)
12564 delete arg3;
12565 }
d55e5bfc
RD
12566 return resultobj;
12567 fail:
093d3ff1
RD
12568 {
12569 if (temp2)
12570 delete arg2;
12571 }
12572 {
12573 if (temp3)
12574 delete arg3;
12575 }
d55e5bfc
RD
12576 return NULL;
12577}
12578
12579
093d3ff1 12580static PyObject *_wrap_Locale_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12581 PyObject *resultobj = NULL;
093d3ff1
RD
12582 wxLocale *arg1 = (wxLocale *) 0 ;
12583 wxString *result;
d55e5bfc
RD
12584 PyObject * obj0 = 0 ;
12585 char *kwnames[] = {
12586 (char *) "self", NULL
12587 };
12588
093d3ff1
RD
12589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetName",kwnames,&obj0)) goto fail;
12590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLocale, SWIG_POINTER_EXCEPTION | 0);
12591 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12592 {
12593 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1
RD
12594 {
12595 wxString const &_result_ref = ((wxLocale const *)arg1)->GetName();
12596 result = (wxString *) &_result_ref;
12597 }
d55e5bfc
RD
12598
12599 wxPyEndAllowThreads(__tstate);
12600 if (PyErr_Occurred()) SWIG_fail;
12601 }
093d3ff1
RD
12602 {
12603#if wxUSE_UNICODE
12604 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12605#else
12606 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12607#endif
12608 }
d55e5bfc
RD
12609 return resultobj;
12610 fail:
12611 return NULL;
12612}
12613
12614
093d3ff1
RD
12615static PyObject * Locale_swigregister(PyObject *, PyObject *args) {
12616 PyObject *obj;
12617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12618 SWIG_TypeClientData(SWIGTYPE_p_wxLocale, obj);
12619 Py_INCREF(obj);
12620 return Py_BuildValue((char *)"");
12621}
12622static PyObject *_wrap_GetLocale(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12623 PyObject *resultobj = NULL;
093d3ff1 12624 wxLocale *result;
d55e5bfc 12625 char *kwnames[] = {
093d3ff1 12626 NULL
d55e5bfc
RD
12627 };
12628
093d3ff1 12629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocale",kwnames)) goto fail;
d55e5bfc
RD
12630 {
12631 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12632 result = (wxLocale *)wxGetLocale();
d55e5bfc
RD
12633
12634 wxPyEndAllowThreads(__tstate);
12635 if (PyErr_Occurred()) SWIG_fail;
12636 }
093d3ff1 12637 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLocale, 0);
d55e5bfc
RD
12638 return resultobj;
12639 fail:
12640 return NULL;
12641}
12642
12643
093d3ff1 12644static PyObject *_wrap_GetTranslation__SWIG_0(PyObject *, PyObject *args) {
7449af73 12645 PyObject *resultobj = NULL;
093d3ff1
RD
12646 wxString *arg1 = 0 ;
12647 wxString result;
12648 bool temp1 = false ;
d55e5bfc 12649 PyObject * obj0 = 0 ;
d55e5bfc 12650
093d3ff1 12651 if(!PyArg_ParseTuple(args,(char *)"O:GetTranslation",&obj0)) goto fail;
d55e5bfc 12652 {
093d3ff1
RD
12653 arg1 = wxString_in_helper(obj0);
12654 if (arg1 == NULL) SWIG_fail;
12655 temp1 = true;
d55e5bfc
RD
12656 }
12657 {
12658 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12659 result = wxGetTranslation((wxString const &)*arg1);
d55e5bfc
RD
12660
12661 wxPyEndAllowThreads(__tstate);
12662 if (PyErr_Occurred()) SWIG_fail;
12663 }
12664 {
093d3ff1
RD
12665#if wxUSE_UNICODE
12666 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12667#else
12668 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12669#endif
12670 }
12671 {
12672 if (temp1)
12673 delete arg1;
d55e5bfc
RD
12674 }
12675 return resultobj;
12676 fail:
093d3ff1
RD
12677 {
12678 if (temp1)
12679 delete arg1;
12680 }
d55e5bfc
RD
12681 return NULL;
12682}
12683
12684
093d3ff1 12685static PyObject *_wrap_GetTranslation__SWIG_1(PyObject *, PyObject *args) {
7449af73 12686 PyObject *resultobj = NULL;
093d3ff1
RD
12687 wxString *arg1 = 0 ;
12688 wxString *arg2 = 0 ;
12689 size_t arg3 ;
12690 wxString result;
12691 bool temp1 = false ;
12692 bool temp2 = false ;
d55e5bfc
RD
12693 PyObject * obj0 = 0 ;
12694 PyObject * obj1 = 0 ;
12695 PyObject * obj2 = 0 ;
d55e5bfc 12696
093d3ff1 12697 if(!PyArg_ParseTuple(args,(char *)"OOO:GetTranslation",&obj0,&obj1,&obj2)) goto fail;
d55e5bfc 12698 {
093d3ff1
RD
12699 arg1 = wxString_in_helper(obj0);
12700 if (arg1 == NULL) SWIG_fail;
12701 temp1 = true;
d55e5bfc
RD
12702 }
12703 {
093d3ff1
RD
12704 arg2 = wxString_in_helper(obj1);
12705 if (arg2 == NULL) SWIG_fail;
12706 temp2 = true;
d55e5bfc 12707 }
d55e5bfc 12708 {
7449af73 12709 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
093d3ff1 12710 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
12711 }
12712 {
12713 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12714 result = wxGetTranslation((wxString const &)*arg1,(wxString const &)*arg2,arg3);
d55e5bfc
RD
12715
12716 wxPyEndAllowThreads(__tstate);
12717 if (PyErr_Occurred()) SWIG_fail;
12718 }
12719 {
093d3ff1
RD
12720#if wxUSE_UNICODE
12721 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12722#else
12723 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12724#endif
12725 }
12726 {
12727 if (temp1)
12728 delete arg1;
12729 }
12730 {
12731 if (temp2)
12732 delete arg2;
d55e5bfc
RD
12733 }
12734 return resultobj;
12735 fail:
093d3ff1
RD
12736 {
12737 if (temp1)
12738 delete arg1;
12739 }
12740 {
12741 if (temp2)
12742 delete arg2;
12743 }
d55e5bfc
RD
12744 return NULL;
12745}
12746
12747
093d3ff1
RD
12748static PyObject *_wrap_GetTranslation(PyObject *self, PyObject *args) {
12749 int argc;
12750 PyObject *argv[4];
12751 int ii;
d55e5bfc 12752
093d3ff1
RD
12753 argc = PyObject_Length(args);
12754 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
12755 argv[ii] = PyTuple_GetItem(args,ii);
d55e5bfc 12756 }
093d3ff1
RD
12757 if (argc == 1) {
12758 int _v;
12759 {
12760 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
12761 }
12762 if (_v) {
12763 return _wrap_GetTranslation__SWIG_0(self,args);
12764 }
12765 }
12766 if (argc == 3) {
12767 int _v;
12768 {
12769 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
12770 }
12771 if (_v) {
12772 {
12773 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
12774 }
12775 if (_v) {
12776 _v = SWIG_Check_unsigned_SS_long(argv[2]);
12777 if (_v) {
12778 return _wrap_GetTranslation__SWIG_1(self,args);
12779 }
12780 }
12781 }
12782 }
12783
12784 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'GetTranslation'");
d55e5bfc
RD
12785 return NULL;
12786}
12787
12788
093d3ff1 12789static PyObject *_wrap_new_EncodingConverter(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12790 PyObject *resultobj = NULL;
093d3ff1 12791 wxEncodingConverter *result;
d55e5bfc 12792 char *kwnames[] = {
093d3ff1 12793 NULL
d55e5bfc
RD
12794 };
12795
093d3ff1 12796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EncodingConverter",kwnames)) goto fail;
d55e5bfc
RD
12797 {
12798 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12799 result = (wxEncodingConverter *)new wxEncodingConverter();
d55e5bfc
RD
12800
12801 wxPyEndAllowThreads(__tstate);
12802 if (PyErr_Occurred()) SWIG_fail;
12803 }
093d3ff1 12804 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEncodingConverter, 1);
d55e5bfc
RD
12805 return resultobj;
12806 fail:
12807 return NULL;
12808}
12809
12810
093d3ff1 12811static PyObject *_wrap_delete_EncodingConverter(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12812 PyObject *resultobj = NULL;
093d3ff1 12813 wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ;
d55e5bfc 12814 PyObject * obj0 = 0 ;
d55e5bfc 12815 char *kwnames[] = {
093d3ff1 12816 (char *) "self", NULL
d55e5bfc
RD
12817 };
12818
093d3ff1
RD
12819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_EncodingConverter",kwnames,&obj0)) goto fail;
12820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEncodingConverter, SWIG_POINTER_EXCEPTION | 0);
12821 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12822 {
12823 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12824 delete arg1;
d55e5bfc
RD
12825
12826 wxPyEndAllowThreads(__tstate);
12827 if (PyErr_Occurred()) SWIG_fail;
12828 }
12829 Py_INCREF(Py_None); resultobj = Py_None;
12830 return resultobj;
12831 fail:
12832 return NULL;
12833}
12834
12835
093d3ff1 12836static PyObject *_wrap_EncodingConverter_Init(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12837 PyObject *resultobj = NULL;
093d3ff1
RD
12838 wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ;
12839 wxFontEncoding arg2 ;
12840 wxFontEncoding arg3 ;
12841 int arg4 = (int) wxCONVERT_STRICT ;
12842 bool result;
d55e5bfc
RD
12843 PyObject * obj0 = 0 ;
12844 PyObject * obj1 = 0 ;
093d3ff1
RD
12845 PyObject * obj2 = 0 ;
12846 PyObject * obj3 = 0 ;
d55e5bfc 12847 char *kwnames[] = {
093d3ff1 12848 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
d55e5bfc
RD
12849 };
12850
093d3ff1
RD
12851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:EncodingConverter_Init",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEncodingConverter, SWIG_POINTER_EXCEPTION | 0);
12853 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12854 {
7449af73 12855 arg2 = static_cast<wxFontEncoding >(SWIG_As_int(obj1));
093d3ff1
RD
12856 if (SWIG_arg_fail(2)) SWIG_fail;
12857 }
12858 {
7449af73 12859 arg3 = static_cast<wxFontEncoding >(SWIG_As_int(obj2));
093d3ff1
RD
12860 if (SWIG_arg_fail(3)) SWIG_fail;
12861 }
12862 if (obj3) {
12863 {
7449af73 12864 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
12865 if (SWIG_arg_fail(4)) SWIG_fail;
12866 }
d55e5bfc
RD
12867 }
12868 {
12869 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 12870 result = (bool)(arg1)->Init(arg2,arg3,arg4);
d55e5bfc
RD
12871
12872 wxPyEndAllowThreads(__tstate);
12873 if (PyErr_Occurred()) SWIG_fail;
12874 }
093d3ff1
RD
12875 {
12876 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12877 }
d55e5bfc
RD
12878 return resultobj;
12879 fail:
12880 return NULL;
12881}
12882
12883
093d3ff1 12884static PyObject *_wrap_EncodingConverter_Convert(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12885 PyObject *resultobj = NULL;
093d3ff1
RD
12886 wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ;
12887 wxString *arg2 = 0 ;
12888 wxString result;
12889 bool temp2 = false ;
d55e5bfc
RD
12890 PyObject * obj0 = 0 ;
12891 PyObject * obj1 = 0 ;
d55e5bfc 12892 char *kwnames[] = {
093d3ff1 12893 (char *) "self",(char *) "input", NULL
d55e5bfc
RD
12894 };
12895
093d3ff1
RD
12896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EncodingConverter_Convert",kwnames,&obj0,&obj1)) goto fail;
12897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEncodingConverter, SWIG_POINTER_EXCEPTION | 0);
12898 if (SWIG_arg_fail(1)) SWIG_fail;
12899 {
12900 arg2 = wxString_in_helper(obj1);
12901 if (arg2 == NULL) SWIG_fail;
12902 temp2 = true;
12903 }
d55e5bfc
RD
12904 {
12905 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12906 result = (arg1)->Convert((wxString const &)*arg2);
d55e5bfc
RD
12907
12908 wxPyEndAllowThreads(__tstate);
12909 if (PyErr_Occurred()) SWIG_fail;
12910 }
093d3ff1
RD
12911 {
12912#if wxUSE_UNICODE
12913 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12914#else
12915 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12916#endif
12917 }
12918 {
12919 if (temp2)
12920 delete arg2;
12921 }
d55e5bfc
RD
12922 return resultobj;
12923 fail:
093d3ff1
RD
12924 {
12925 if (temp2)
12926 delete arg2;
12927 }
d55e5bfc
RD
12928 return NULL;
12929}
12930
12931
093d3ff1 12932static PyObject *_wrap_EncodingConverter_GetPlatformEquivalents(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12933 PyObject *resultobj = NULL;
093d3ff1
RD
12934 wxFontEncoding arg1 ;
12935 int arg2 = (int) wxPLATFORM_CURRENT ;
12936 wxFontEncodingArray result;
d55e5bfc
RD
12937 PyObject * obj0 = 0 ;
12938 PyObject * obj1 = 0 ;
d55e5bfc 12939 char *kwnames[] = {
093d3ff1 12940 (char *) "enc",(char *) "platform", NULL
d55e5bfc
RD
12941 };
12942
093d3ff1 12943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc 12944 {
7449af73 12945 arg1 = static_cast<wxFontEncoding >(SWIG_As_int(obj0));
093d3ff1 12946 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12947 }
093d3ff1
RD
12948 if (obj1) {
12949 {
7449af73 12950 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12951 if (SWIG_arg_fail(2)) SWIG_fail;
12952 }
d55e5bfc
RD
12953 }
12954 {
12955 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 12956 result = wxEncodingConverter::GetPlatformEquivalents(arg1,arg2);
d55e5bfc
RD
12957
12958 wxPyEndAllowThreads(__tstate);
12959 if (PyErr_Occurred()) SWIG_fail;
12960 }
093d3ff1
RD
12961 {
12962 resultobj = PyList_New(0);
12963 for (size_t i=0; i < (&result)->GetCount(); i++) {
12964 PyObject* number = PyInt_FromLong((&result)->Item(i));
12965 PyList_Append(resultobj, number);
12966 Py_DECREF(number);
12967 }
12968 }
d55e5bfc
RD
12969 return resultobj;
12970 fail:
12971 return NULL;
12972}
12973
12974
093d3ff1 12975static PyObject *_wrap_EncodingConverter_GetAllEquivalents(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12976 PyObject *resultobj = NULL;
093d3ff1
RD
12977 wxFontEncoding arg1 ;
12978 wxFontEncodingArray result;
d55e5bfc 12979 PyObject * obj0 = 0 ;
d55e5bfc 12980 char *kwnames[] = {
093d3ff1 12981 (char *) "enc", NULL
d55e5bfc
RD
12982 };
12983
093d3ff1
RD
12984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames,&obj0)) goto fail;
12985 {
7449af73 12986 arg1 = static_cast<wxFontEncoding >(SWIG_As_int(obj0));
093d3ff1
RD
12987 if (SWIG_arg_fail(1)) SWIG_fail;
12988 }
d55e5bfc
RD
12989 {
12990 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 12991 result = wxEncodingConverter::GetAllEquivalents(arg1);
d55e5bfc
RD
12992
12993 wxPyEndAllowThreads(__tstate);
12994 if (PyErr_Occurred()) SWIG_fail;
12995 }
093d3ff1
RD
12996 {
12997 resultobj = PyList_New(0);
12998 for (size_t i=0; i < (&result)->GetCount(); i++) {
12999 PyObject* number = PyInt_FromLong((&result)->Item(i));
13000 PyList_Append(resultobj, number);
13001 Py_DECREF(number);
13002 }
13003 }
d55e5bfc
RD
13004 return resultobj;
13005 fail:
13006 return NULL;
13007}
13008
13009
093d3ff1 13010static PyObject *_wrap_EncodingConverter_CanConvert(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13011 PyObject *resultobj = NULL;
093d3ff1
RD
13012 wxFontEncoding arg1 ;
13013 wxFontEncoding arg2 ;
13014 bool result;
d55e5bfc
RD
13015 PyObject * obj0 = 0 ;
13016 PyObject * obj1 = 0 ;
13017 char *kwnames[] = {
093d3ff1 13018 (char *) "encIn",(char *) "encOut", NULL
d55e5bfc
RD
13019 };
13020
093d3ff1 13021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EncodingConverter_CanConvert",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc 13022 {
7449af73 13023 arg1 = static_cast<wxFontEncoding >(SWIG_As_int(obj0));
093d3ff1
RD
13024 if (SWIG_arg_fail(1)) SWIG_fail;
13025 }
13026 {
7449af73 13027 arg2 = static_cast<wxFontEncoding >(SWIG_As_int(obj1));
093d3ff1 13028 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13029 }
13030 {
13031 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 13032 result = (bool)wxEncodingConverter::CanConvert(arg1,arg2);
d55e5bfc
RD
13033
13034 wxPyEndAllowThreads(__tstate);
13035 if (PyErr_Occurred()) SWIG_fail;
13036 }
093d3ff1
RD
13037 {
13038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13039 }
d55e5bfc
RD
13040 return resultobj;
13041 fail:
13042 return NULL;
13043}
13044
13045
093d3ff1
RD
13046static PyObject * EncodingConverter_swigregister(PyObject *, PyObject *args) {
13047 PyObject *obj;
13048 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13049 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter, obj);
13050 Py_INCREF(obj);
13051 return Py_BuildValue((char *)"");
13052}
13053static PyObject *_wrap_delete_DC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13054 PyObject *resultobj = NULL;
d55e5bfc 13055 wxDC *arg1 = (wxDC *) 0 ;
d55e5bfc 13056 PyObject * obj0 = 0 ;
d55e5bfc 13057 char *kwnames[] = {
093d3ff1 13058 (char *) "self", NULL
d55e5bfc
RD
13059 };
13060
093d3ff1
RD
13061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DC",kwnames,&obj0)) goto fail;
13062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13063 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13064 {
13065 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13066 delete arg1;
d55e5bfc
RD
13067
13068 wxPyEndAllowThreads(__tstate);
13069 if (PyErr_Occurred()) SWIG_fail;
13070 }
13071 Py_INCREF(Py_None); resultobj = Py_None;
13072 return resultobj;
13073 fail:
13074 return NULL;
13075}
13076
13077
093d3ff1 13078static PyObject *_wrap_DC_FloodFill(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13079 PyObject *resultobj = NULL;
d55e5bfc 13080 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13081 int arg2 ;
13082 int arg3 ;
13083 wxColour *arg4 = 0 ;
13084 int arg5 = (int) wxFLOOD_SURFACE ;
13085 bool result;
13086 wxColour temp4 ;
d55e5bfc
RD
13087 PyObject * obj0 = 0 ;
13088 PyObject * obj1 = 0 ;
093d3ff1
RD
13089 PyObject * obj2 = 0 ;
13090 PyObject * obj3 = 0 ;
13091 PyObject * obj4 = 0 ;
d55e5bfc 13092 char *kwnames[] = {
093d3ff1 13093 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
d55e5bfc
RD
13094 };
13095
093d3ff1
RD
13096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:DC_FloodFill",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13098 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13099 {
7449af73 13100 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13101 if (SWIG_arg_fail(2)) SWIG_fail;
13102 }
13103 {
7449af73 13104 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13105 if (SWIG_arg_fail(3)) SWIG_fail;
13106 }
13107 {
13108 arg4 = &temp4;
13109 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
13110 }
13111 if (obj4) {
13112 {
7449af73 13113 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
13114 if (SWIG_arg_fail(5)) SWIG_fail;
13115 }
d55e5bfc
RD
13116 }
13117 {
13118 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13119 result = (bool)(arg1)->FloodFill(arg2,arg3,(wxColour const &)*arg4,arg5);
d55e5bfc
RD
13120
13121 wxPyEndAllowThreads(__tstate);
13122 if (PyErr_Occurred()) SWIG_fail;
13123 }
093d3ff1
RD
13124 {
13125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13126 }
d55e5bfc
RD
13127 return resultobj;
13128 fail:
13129 return NULL;
13130}
13131
13132
093d3ff1 13133static PyObject *_wrap_DC_FloodFillPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13134 PyObject *resultobj = NULL;
d55e5bfc 13135 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13136 wxPoint *arg2 = 0 ;
13137 wxColour *arg3 = 0 ;
13138 int arg4 = (int) wxFLOOD_SURFACE ;
13139 bool result;
13140 wxPoint temp2 ;
13141 wxColour temp3 ;
d55e5bfc
RD
13142 PyObject * obj0 = 0 ;
13143 PyObject * obj1 = 0 ;
13144 PyObject * obj2 = 0 ;
13145 PyObject * obj3 = 0 ;
d55e5bfc 13146 char *kwnames[] = {
093d3ff1 13147 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
d55e5bfc
RD
13148 };
13149
093d3ff1
RD
13150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:DC_FloodFillPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13152 if (SWIG_arg_fail(1)) SWIG_fail;
13153 {
13154 arg2 = &temp2;
13155 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13156 }
13157 {
13158 arg3 = &temp3;
13159 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13160 }
13161 if (obj3) {
13162 {
7449af73 13163 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
13164 if (SWIG_arg_fail(4)) SWIG_fail;
13165 }
13166 }
d55e5bfc
RD
13167 {
13168 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13169 result = (bool)(arg1)->FloodFill((wxPoint const &)*arg2,(wxColour const &)*arg3,arg4);
d55e5bfc
RD
13170
13171 wxPyEndAllowThreads(__tstate);
13172 if (PyErr_Occurred()) SWIG_fail;
13173 }
093d3ff1
RD
13174 {
13175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13176 }
d55e5bfc
RD
13177 return resultobj;
13178 fail:
13179 return NULL;
13180}
13181
13182
b1fcee84
RD
13183static PyObject *_wrap_DC_GradientFillConcentric(PyObject *, PyObject *args, PyObject *kwargs) {
13184 PyObject *resultobj = NULL;
13185 wxDC *arg1 = (wxDC *) 0 ;
13186 wxRect *arg2 = 0 ;
13187 wxColour *arg3 = 0 ;
13188 wxColour *arg4 = 0 ;
13189 wxPoint *arg5 = 0 ;
13190 wxRect temp2 ;
13191 wxColour temp3 ;
13192 wxColour temp4 ;
13193 wxPoint temp5 ;
13194 PyObject * obj0 = 0 ;
13195 PyObject * obj1 = 0 ;
13196 PyObject * obj2 = 0 ;
13197 PyObject * obj3 = 0 ;
13198 PyObject * obj4 = 0 ;
13199 char *kwnames[] = {
13200 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
13201 };
13202
13203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_GradientFillConcentric",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13205 if (SWIG_arg_fail(1)) SWIG_fail;
13206 {
13207 arg2 = &temp2;
13208 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13209 }
13210 {
13211 arg3 = &temp3;
13212 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13213 }
13214 {
13215 arg4 = &temp4;
13216 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
13217 }
13218 {
13219 arg5 = &temp5;
13220 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13221 }
13222 {
13223 PyThreadState* __tstate = wxPyBeginAllowThreads();
13224 (arg1)->GradientFillConcentric((wxRect const &)*arg2,(wxColour const &)*arg3,(wxColour const &)*arg4,(wxPoint const &)*arg5);
13225
13226 wxPyEndAllowThreads(__tstate);
13227 if (PyErr_Occurred()) SWIG_fail;
13228 }
13229 Py_INCREF(Py_None); resultobj = Py_None;
13230 return resultobj;
13231 fail:
13232 return NULL;
13233}
13234
13235
13236static PyObject *_wrap_DC_GradientFillLinear(PyObject *, PyObject *args, PyObject *kwargs) {
13237 PyObject *resultobj = NULL;
13238 wxDC *arg1 = (wxDC *) 0 ;
13239 wxRect *arg2 = 0 ;
13240 wxColour *arg3 = 0 ;
13241 wxColour *arg4 = 0 ;
13242 wxDirection arg5 = (wxDirection) wxEAST ;
13243 wxRect temp2 ;
13244 wxColour temp3 ;
13245 wxColour temp4 ;
13246 PyObject * obj0 = 0 ;
13247 PyObject * obj1 = 0 ;
13248 PyObject * obj2 = 0 ;
13249 PyObject * obj3 = 0 ;
13250 PyObject * obj4 = 0 ;
13251 char *kwnames[] = {
13252 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
13253 };
13254
13255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:DC_GradientFillLinear",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13257 if (SWIG_arg_fail(1)) SWIG_fail;
13258 {
13259 arg2 = &temp2;
13260 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13261 }
13262 {
13263 arg3 = &temp3;
13264 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13265 }
13266 {
13267 arg4 = &temp4;
13268 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
13269 }
13270 if (obj4) {
13271 {
13272 arg5 = static_cast<wxDirection >(SWIG_As_int(obj4));
13273 if (SWIG_arg_fail(5)) SWIG_fail;
13274 }
13275 }
13276 {
13277 PyThreadState* __tstate = wxPyBeginAllowThreads();
13278 (arg1)->GradientFillLinear((wxRect const &)*arg2,(wxColour const &)*arg3,(wxColour const &)*arg4,arg5);
13279
13280 wxPyEndAllowThreads(__tstate);
13281 if (PyErr_Occurred()) SWIG_fail;
13282 }
13283 Py_INCREF(Py_None); resultobj = Py_None;
13284 return resultobj;
13285 fail:
13286 return NULL;
13287}
13288
13289
093d3ff1 13290static PyObject *_wrap_DC_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13291 PyObject *resultobj = NULL;
d55e5bfc 13292 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13293 int arg2 ;
13294 int arg3 ;
13295 wxColour result;
d55e5bfc
RD
13296 PyObject * obj0 = 0 ;
13297 PyObject * obj1 = 0 ;
093d3ff1 13298 PyObject * obj2 = 0 ;
d55e5bfc 13299 char *kwnames[] = {
093d3ff1 13300 (char *) "self",(char *) "x",(char *) "y", NULL
d55e5bfc
RD
13301 };
13302
093d3ff1
RD
13303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_GetPixel",kwnames,&obj0,&obj1,&obj2)) goto fail;
13304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13305 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13306 {
7449af73 13307 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13308 if (SWIG_arg_fail(2)) SWIG_fail;
13309 }
13310 {
7449af73 13311 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1 13312 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
13313 }
13314 {
13315 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13316 result = wxDC_GetPixel(arg1,arg2,arg3);
d55e5bfc
RD
13317
13318 wxPyEndAllowThreads(__tstate);
13319 if (PyErr_Occurred()) SWIG_fail;
13320 }
093d3ff1
RD
13321 {
13322 wxColour * resultptr;
7449af73 13323 resultptr = new wxColour(static_cast<wxColour & >(result));
093d3ff1
RD
13324 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13325 }
d55e5bfc
RD
13326 return resultobj;
13327 fail:
13328 return NULL;
13329}
13330
13331
093d3ff1 13332static PyObject *_wrap_DC_GetPixelPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13333 PyObject *resultobj = NULL;
d55e5bfc 13334 wxDC *arg1 = (wxDC *) 0 ;
c24da6d6 13335 wxPoint *arg2 = 0 ;
093d3ff1 13336 wxColour result;
c24da6d6 13337 wxPoint temp2 ;
d55e5bfc
RD
13338 PyObject * obj0 = 0 ;
13339 PyObject * obj1 = 0 ;
13340 char *kwnames[] = {
093d3ff1 13341 (char *) "self",(char *) "pt", NULL
d55e5bfc
RD
13342 };
13343
093d3ff1
RD
13344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_GetPixelPoint",kwnames,&obj0,&obj1)) goto fail;
13345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13346 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13347 {
13348 arg2 = &temp2;
c24da6d6
RD
13349 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13350 }
d55e5bfc
RD
13351 {
13352 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13353 result = wxDC_GetPixelPoint(arg1,(wxPoint const &)*arg2);
d55e5bfc
RD
13354
13355 wxPyEndAllowThreads(__tstate);
13356 if (PyErr_Occurred()) SWIG_fail;
13357 }
093d3ff1
RD
13358 {
13359 wxColour * resultptr;
7449af73 13360 resultptr = new wxColour(static_cast<wxColour & >(result));
093d3ff1
RD
13361 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13362 }
d55e5bfc
RD
13363 return resultobj;
13364 fail:
13365 return NULL;
13366}
13367
13368
093d3ff1 13369static PyObject *_wrap_DC_DrawLine(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13370 PyObject *resultobj = NULL;
d55e5bfc
RD
13371 wxDC *arg1 = (wxDC *) 0 ;
13372 int arg2 ;
13373 int arg3 ;
13374 int arg4 ;
13375 int arg5 ;
d55e5bfc
RD
13376 PyObject * obj0 = 0 ;
13377 PyObject * obj1 = 0 ;
13378 PyObject * obj2 = 0 ;
13379 PyObject * obj3 = 0 ;
13380 PyObject * obj4 = 0 ;
d55e5bfc 13381 char *kwnames[] = {
093d3ff1 13382 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
d55e5bfc
RD
13383 };
13384
093d3ff1
RD
13385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13387 if (SWIG_arg_fail(1)) SWIG_fail;
13388 {
7449af73 13389 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13390 if (SWIG_arg_fail(2)) SWIG_fail;
13391 }
13392 {
7449af73 13393 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13394 if (SWIG_arg_fail(3)) SWIG_fail;
13395 }
13396 {
7449af73 13397 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
13398 if (SWIG_arg_fail(4)) SWIG_fail;
13399 }
13400 {
7449af73 13401 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
13402 if (SWIG_arg_fail(5)) SWIG_fail;
13403 }
d55e5bfc
RD
13404 {
13405 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13406 (arg1)->DrawLine(arg2,arg3,arg4,arg5);
d55e5bfc
RD
13407
13408 wxPyEndAllowThreads(__tstate);
13409 if (PyErr_Occurred()) SWIG_fail;
13410 }
13411 Py_INCREF(Py_None); resultobj = Py_None;
13412 return resultobj;
13413 fail:
13414 return NULL;
13415}
13416
13417
093d3ff1 13418static PyObject *_wrap_DC_DrawLinePoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13419 PyObject *resultobj = NULL;
d55e5bfc 13420 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13421 wxPoint *arg2 = 0 ;
13422 wxPoint *arg3 = 0 ;
13423 wxPoint temp2 ;
13424 wxPoint temp3 ;
d55e5bfc
RD
13425 PyObject * obj0 = 0 ;
13426 PyObject * obj1 = 0 ;
13427 PyObject * obj2 = 0 ;
d55e5bfc 13428 char *kwnames[] = {
093d3ff1 13429 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
d55e5bfc
RD
13430 };
13431
093d3ff1
RD
13432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawLinePoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
13433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13434 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13435 {
13436 arg2 = &temp2;
093d3ff1
RD
13437 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13438 }
13439 {
13440 arg3 = &temp3;
13441 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 13442 }
d55e5bfc
RD
13443 {
13444 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13445 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
d55e5bfc
RD
13446
13447 wxPyEndAllowThreads(__tstate);
13448 if (PyErr_Occurred()) SWIG_fail;
13449 }
13450 Py_INCREF(Py_None); resultobj = Py_None;
13451 return resultobj;
13452 fail:
13453 return NULL;
13454}
13455
13456
093d3ff1 13457static PyObject *_wrap_DC_CrossHair(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13458 PyObject *resultobj = NULL;
d55e5bfc 13459 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13460 int arg2 ;
13461 int arg3 ;
d55e5bfc
RD
13462 PyObject * obj0 = 0 ;
13463 PyObject * obj1 = 0 ;
13464 PyObject * obj2 = 0 ;
13465 char *kwnames[] = {
093d3ff1 13466 (char *) "self",(char *) "x",(char *) "y", NULL
d55e5bfc
RD
13467 };
13468
093d3ff1
RD
13469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_CrossHair",kwnames,&obj0,&obj1,&obj2)) goto fail;
13470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13471 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13472 {
7449af73 13473 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 13474 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 13475 }
c24da6d6 13476 {
7449af73 13477 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1 13478 if (SWIG_arg_fail(3)) SWIG_fail;
c24da6d6 13479 }
d55e5bfc
RD
13480 {
13481 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13482 (arg1)->CrossHair(arg2,arg3);
d55e5bfc
RD
13483
13484 wxPyEndAllowThreads(__tstate);
13485 if (PyErr_Occurred()) SWIG_fail;
13486 }
13487 Py_INCREF(Py_None); resultobj = Py_None;
13488 return resultobj;
13489 fail:
13490 return NULL;
13491}
13492
13493
093d3ff1 13494static PyObject *_wrap_DC_CrossHairPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13495 PyObject *resultobj = NULL;
d55e5bfc 13496 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13497 wxPoint *arg2 = 0 ;
13498 wxPoint temp2 ;
d55e5bfc
RD
13499 PyObject * obj0 = 0 ;
13500 PyObject * obj1 = 0 ;
d55e5bfc 13501 char *kwnames[] = {
093d3ff1 13502 (char *) "self",(char *) "pt", NULL
d55e5bfc
RD
13503 };
13504
093d3ff1
RD
13505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_CrossHairPoint",kwnames,&obj0,&obj1)) goto fail;
13506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13507 if (SWIG_arg_fail(1)) SWIG_fail;
13508 {
13509 arg2 = &temp2;
13510 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13511 }
d55e5bfc
RD
13512 {
13513 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13514 (arg1)->CrossHair((wxPoint const &)*arg2);
d55e5bfc
RD
13515
13516 wxPyEndAllowThreads(__tstate);
13517 if (PyErr_Occurred()) SWIG_fail;
13518 }
13519 Py_INCREF(Py_None); resultobj = Py_None;
13520 return resultobj;
13521 fail:
13522 return NULL;
13523}
13524
13525
093d3ff1 13526static PyObject *_wrap_DC_DrawArc(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13527 PyObject *resultobj = NULL;
d55e5bfc 13528 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 13529 int arg2 ;
d55e5bfc 13530 int arg3 ;
093d3ff1
RD
13531 int arg4 ;
13532 int arg5 ;
13533 int arg6 ;
13534 int arg7 ;
13535 PyObject * obj0 = 0 ;
13536 PyObject * obj1 = 0 ;
13537 PyObject * obj2 = 0 ;
13538 PyObject * obj3 = 0 ;
13539 PyObject * obj4 = 0 ;
13540 PyObject * obj5 = 0 ;
13541 PyObject * obj6 = 0 ;
13542 char *kwnames[] = {
13543 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
13544 };
13545
13546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:DC_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13548 if (SWIG_arg_fail(1)) SWIG_fail;
13549 {
7449af73 13550 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13551 if (SWIG_arg_fail(2)) SWIG_fail;
13552 }
13553 {
7449af73 13554 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13555 if (SWIG_arg_fail(3)) SWIG_fail;
13556 }
13557 {
7449af73 13558 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
13559 if (SWIG_arg_fail(4)) SWIG_fail;
13560 }
13561 {
7449af73 13562 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
13563 if (SWIG_arg_fail(5)) SWIG_fail;
13564 }
13565 {
7449af73 13566 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
13567 if (SWIG_arg_fail(6)) SWIG_fail;
13568 }
13569 {
7449af73 13570 arg7 = static_cast<int >(SWIG_As_int(obj6));
093d3ff1
RD
13571 if (SWIG_arg_fail(7)) SWIG_fail;
13572 }
13573 {
13574 PyThreadState* __tstate = wxPyBeginAllowThreads();
13575 (arg1)->DrawArc(arg2,arg3,arg4,arg5,arg6,arg7);
13576
13577 wxPyEndAllowThreads(__tstate);
13578 if (PyErr_Occurred()) SWIG_fail;
13579 }
13580 Py_INCREF(Py_None); resultobj = Py_None;
13581 return resultobj;
13582 fail:
13583 return NULL;
13584}
13585
13586
13587static PyObject *_wrap_DC_DrawArcPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13588 PyObject *resultobj = NULL;
093d3ff1
RD
13589 wxDC *arg1 = (wxDC *) 0 ;
13590 wxPoint *arg2 = 0 ;
13591 wxPoint *arg3 = 0 ;
13592 wxPoint *arg4 = 0 ;
d55e5bfc 13593 wxPoint temp2 ;
093d3ff1
RD
13594 wxPoint temp3 ;
13595 wxPoint temp4 ;
d55e5bfc
RD
13596 PyObject * obj0 = 0 ;
13597 PyObject * obj1 = 0 ;
13598 PyObject * obj2 = 0 ;
093d3ff1 13599 PyObject * obj3 = 0 ;
d55e5bfc 13600 char *kwnames[] = {
093d3ff1 13601 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
d55e5bfc
RD
13602 };
13603
093d3ff1
RD
13604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawArcPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13606 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13607 {
13608 arg2 = &temp2;
13609 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13610 }
093d3ff1
RD
13611 {
13612 arg3 = &temp3;
13613 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13614 }
13615 {
13616 arg4 = &temp4;
13617 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13618 }
d55e5bfc
RD
13619 {
13620 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13621 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
d55e5bfc
RD
13622
13623 wxPyEndAllowThreads(__tstate);
13624 if (PyErr_Occurred()) SWIG_fail;
13625 }
13626 Py_INCREF(Py_None); resultobj = Py_None;
13627 return resultobj;
13628 fail:
13629 return NULL;
13630}
13631
13632
093d3ff1 13633static PyObject *_wrap_DC_DrawCheckMark(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13634 PyObject *resultobj = NULL;
d55e5bfc
RD
13635 wxDC *arg1 = (wxDC *) 0 ;
13636 int arg2 ;
13637 int arg3 ;
13638 int arg4 ;
13639 int arg5 ;
13640 PyObject * obj0 = 0 ;
13641 PyObject * obj1 = 0 ;
13642 PyObject * obj2 = 0 ;
13643 PyObject * obj3 = 0 ;
13644 PyObject * obj4 = 0 ;
13645 char *kwnames[] = {
13646 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13647 };
13648
093d3ff1
RD
13649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawCheckMark",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13651 if (SWIG_arg_fail(1)) SWIG_fail;
13652 {
7449af73 13653 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13654 if (SWIG_arg_fail(2)) SWIG_fail;
13655 }
13656 {
7449af73 13657 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13658 if (SWIG_arg_fail(3)) SWIG_fail;
13659 }
13660 {
7449af73 13661 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
13662 if (SWIG_arg_fail(4)) SWIG_fail;
13663 }
13664 {
7449af73 13665 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
13666 if (SWIG_arg_fail(5)) SWIG_fail;
13667 }
d55e5bfc
RD
13668 {
13669 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13670 (arg1)->DrawCheckMark(arg2,arg3,arg4,arg5);
d55e5bfc
RD
13671
13672 wxPyEndAllowThreads(__tstate);
13673 if (PyErr_Occurred()) SWIG_fail;
13674 }
13675 Py_INCREF(Py_None); resultobj = Py_None;
13676 return resultobj;
13677 fail:
13678 return NULL;
13679}
13680
13681
093d3ff1 13682static PyObject *_wrap_DC_DrawCheckMarkRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13683 PyObject *resultobj = NULL;
d55e5bfc 13684 wxDC *arg1 = (wxDC *) 0 ;
c24da6d6
RD
13685 wxRect *arg2 = 0 ;
13686 wxRect temp2 ;
d55e5bfc
RD
13687 PyObject * obj0 = 0 ;
13688 PyObject * obj1 = 0 ;
d55e5bfc 13689 char *kwnames[] = {
c24da6d6 13690 (char *) "self",(char *) "rect", NULL
d55e5bfc
RD
13691 };
13692
093d3ff1
RD
13693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawCheckMarkRect",kwnames,&obj0,&obj1)) goto fail;
13694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13695 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13696 {
13697 arg2 = &temp2;
c24da6d6 13698 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc
RD
13699 }
13700 {
13701 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13702 (arg1)->DrawCheckMark((wxRect const &)*arg2);
d55e5bfc
RD
13703
13704 wxPyEndAllowThreads(__tstate);
13705 if (PyErr_Occurred()) SWIG_fail;
13706 }
13707 Py_INCREF(Py_None); resultobj = Py_None;
13708 return resultobj;
13709 fail:
13710 return NULL;
13711}
13712
13713
093d3ff1 13714static PyObject *_wrap_DC_DrawEllipticArc(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13715 PyObject *resultobj = NULL;
d55e5bfc 13716 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13717 int arg2 ;
13718 int arg3 ;
13719 int arg4 ;
13720 int arg5 ;
13721 double arg6 ;
13722 double arg7 ;
d55e5bfc
RD
13723 PyObject * obj0 = 0 ;
13724 PyObject * obj1 = 0 ;
c24da6d6 13725 PyObject * obj2 = 0 ;
093d3ff1
RD
13726 PyObject * obj3 = 0 ;
13727 PyObject * obj4 = 0 ;
13728 PyObject * obj5 = 0 ;
13729 PyObject * obj6 = 0 ;
d55e5bfc 13730 char *kwnames[] = {
093d3ff1 13731 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
d55e5bfc
RD
13732 };
13733
093d3ff1
RD
13734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13736 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13737 {
7449af73 13738 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 13739 if (SWIG_arg_fail(2)) SWIG_fail;
c24da6d6
RD
13740 }
13741 {
7449af73 13742 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13743 if (SWIG_arg_fail(3)) SWIG_fail;
13744 }
13745 {
7449af73 13746 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
13747 if (SWIG_arg_fail(4)) SWIG_fail;
13748 }
13749 {
7449af73 13750 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
13751 if (SWIG_arg_fail(5)) SWIG_fail;
13752 }
13753 {
7449af73 13754 arg6 = static_cast<double >(SWIG_As_double(obj5));
093d3ff1
RD
13755 if (SWIG_arg_fail(6)) SWIG_fail;
13756 }
13757 {
7449af73 13758 arg7 = static_cast<double >(SWIG_As_double(obj6));
093d3ff1 13759 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
13760 }
13761 {
13762 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13763 (arg1)->DrawEllipticArc(arg2,arg3,arg4,arg5,arg6,arg7);
d55e5bfc
RD
13764
13765 wxPyEndAllowThreads(__tstate);
13766 if (PyErr_Occurred()) SWIG_fail;
13767 }
13768 Py_INCREF(Py_None); resultobj = Py_None;
13769 return resultobj;
13770 fail:
13771 return NULL;
13772}
13773
13774
093d3ff1 13775static PyObject *_wrap_DC_DrawEllipticArcPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13776 PyObject *resultobj = NULL;
d55e5bfc 13777 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13778 wxPoint *arg2 = 0 ;
13779 wxSize *arg3 = 0 ;
13780 double arg4 ;
13781 double arg5 ;
13782 wxPoint temp2 ;
13783 wxSize temp3 ;
d55e5bfc
RD
13784 PyObject * obj0 = 0 ;
13785 PyObject * obj1 = 0 ;
13786 PyObject * obj2 = 0 ;
13787 PyObject * obj3 = 0 ;
093d3ff1 13788 PyObject * obj4 = 0 ;
d55e5bfc 13789 char *kwnames[] = {
093d3ff1 13790 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
d55e5bfc
RD
13791 };
13792
093d3ff1
RD
13793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13795 if (SWIG_arg_fail(1)) SWIG_fail;
13796 {
13797 arg2 = &temp2;
13798 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13799 }
13800 {
13801 arg3 = &temp3;
13802 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13803 }
13804 {
7449af73 13805 arg4 = static_cast<double >(SWIG_As_double(obj3));
093d3ff1
RD
13806 if (SWIG_arg_fail(4)) SWIG_fail;
13807 }
13808 {
7449af73 13809 arg5 = static_cast<double >(SWIG_As_double(obj4));
093d3ff1 13810 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc 13811 }
d55e5bfc
RD
13812 {
13813 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13814 (arg1)->DrawEllipticArc((wxPoint const &)*arg2,(wxSize const &)*arg3,arg4,arg5);
d55e5bfc
RD
13815
13816 wxPyEndAllowThreads(__tstate);
13817 if (PyErr_Occurred()) SWIG_fail;
13818 }
13819 Py_INCREF(Py_None); resultobj = Py_None;
13820 return resultobj;
13821 fail:
13822 return NULL;
13823}
13824
13825
093d3ff1 13826static PyObject *_wrap_DC_DrawPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13827 PyObject *resultobj = NULL;
d55e5bfc 13828 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13829 int arg2 ;
13830 int arg3 ;
d55e5bfc
RD
13831 PyObject * obj0 = 0 ;
13832 PyObject * obj1 = 0 ;
13833 PyObject * obj2 = 0 ;
13834 char *kwnames[] = {
093d3ff1 13835 (char *) "self",(char *) "x",(char *) "y", NULL
d55e5bfc
RD
13836 };
13837
093d3ff1
RD
13838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
13839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13840 if (SWIG_arg_fail(1)) SWIG_fail;
13841 {
7449af73 13842 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 13843 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13844 }
13845 {
7449af73 13846 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1 13847 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
13848 }
13849 {
13850 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13851 (arg1)->DrawPoint(arg2,arg3);
d55e5bfc
RD
13852
13853 wxPyEndAllowThreads(__tstate);
13854 if (PyErr_Occurred()) SWIG_fail;
13855 }
13856 Py_INCREF(Py_None); resultobj = Py_None;
13857 return resultobj;
13858 fail:
13859 return NULL;
13860}
13861
13862
093d3ff1 13863static PyObject *_wrap_DC_DrawPointPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13864 PyObject *resultobj = NULL;
d55e5bfc 13865 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13866 wxPoint *arg2 = 0 ;
13867 wxPoint temp2 ;
d55e5bfc
RD
13868 PyObject * obj0 = 0 ;
13869 PyObject * obj1 = 0 ;
d55e5bfc 13870 char *kwnames[] = {
093d3ff1 13871 (char *) "self",(char *) "pt", NULL
d55e5bfc
RD
13872 };
13873
093d3ff1
RD
13874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawPointPoint",kwnames,&obj0,&obj1)) goto fail;
13875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13876 if (SWIG_arg_fail(1)) SWIG_fail;
13877 {
13878 arg2 = &temp2;
13879 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc
RD
13880 }
13881 {
13882 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13883 (arg1)->DrawPoint((wxPoint const &)*arg2);
d55e5bfc
RD
13884
13885 wxPyEndAllowThreads(__tstate);
13886 if (PyErr_Occurred()) SWIG_fail;
13887 }
13888 Py_INCREF(Py_None); resultobj = Py_None;
13889 return resultobj;
13890 fail:
13891 return NULL;
13892}
13893
13894
093d3ff1 13895static PyObject *_wrap_DC_DrawRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13896 PyObject *resultobj = NULL;
d55e5bfc 13897 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13898 int arg2 ;
13899 int arg3 ;
13900 int arg4 ;
13901 int arg5 ;
d55e5bfc
RD
13902 PyObject * obj0 = 0 ;
13903 PyObject * obj1 = 0 ;
13904 PyObject * obj2 = 0 ;
13905 PyObject * obj3 = 0 ;
093d3ff1 13906 PyObject * obj4 = 0 ;
d55e5bfc 13907 char *kwnames[] = {
093d3ff1 13908 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
d55e5bfc
RD
13909 };
13910
093d3ff1
RD
13911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13913 if (SWIG_arg_fail(1)) SWIG_fail;
13914 {
7449af73 13915 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 13916 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13917 }
13918 {
7449af73 13919 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1 13920 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 13921 }
093d3ff1 13922 {
7449af73 13923 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
13924 if (SWIG_arg_fail(4)) SWIG_fail;
13925 }
13926 {
7449af73 13927 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1 13928 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
13929 }
13930 {
13931 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13932 (arg1)->DrawRectangle(arg2,arg3,arg4,arg5);
d55e5bfc
RD
13933
13934 wxPyEndAllowThreads(__tstate);
13935 if (PyErr_Occurred()) SWIG_fail;
13936 }
13937 Py_INCREF(Py_None); resultobj = Py_None;
13938 return resultobj;
13939 fail:
13940 return NULL;
13941}
13942
13943
093d3ff1 13944static PyObject *_wrap_DC_DrawRectangleRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13945 PyObject *resultobj = NULL;
d55e5bfc 13946 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13947 wxRect *arg2 = 0 ;
13948 wxRect temp2 ;
d55e5bfc
RD
13949 PyObject * obj0 = 0 ;
13950 PyObject * obj1 = 0 ;
d55e5bfc 13951 char *kwnames[] = {
093d3ff1 13952 (char *) "self",(char *) "rect", NULL
d55e5bfc
RD
13953 };
13954
093d3ff1
RD
13955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawRectangleRect",kwnames,&obj0,&obj1)) goto fail;
13956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13957 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13958 {
093d3ff1
RD
13959 arg2 = &temp2;
13960 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 13961 }
d55e5bfc
RD
13962 {
13963 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13964 (arg1)->DrawRectangle((wxRect const &)*arg2);
d55e5bfc
RD
13965
13966 wxPyEndAllowThreads(__tstate);
13967 if (PyErr_Occurred()) SWIG_fail;
13968 }
13969 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
13970 return resultobj;
13971 fail:
d55e5bfc
RD
13972 return NULL;
13973}
13974
13975
093d3ff1 13976static PyObject *_wrap_DC_DrawRectanglePointSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13977 PyObject *resultobj = NULL;
d55e5bfc 13978 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
13979 wxPoint *arg2 = 0 ;
13980 wxSize *arg3 = 0 ;
13981 wxPoint temp2 ;
13982 wxSize temp3 ;
d55e5bfc
RD
13983 PyObject * obj0 = 0 ;
13984 PyObject * obj1 = 0 ;
13985 PyObject * obj2 = 0 ;
13986 char *kwnames[] = {
093d3ff1 13987 (char *) "self",(char *) "pt",(char *) "sz", NULL
d55e5bfc
RD
13988 };
13989
093d3ff1
RD
13990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawRectanglePointSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13992 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13993 {
093d3ff1
RD
13994 arg2 = &temp2;
13995 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc
RD
13996 }
13997 {
13998 arg3 = &temp3;
093d3ff1 13999 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc
RD
14000 }
14001 {
14002 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14003 (arg1)->DrawRectangle((wxPoint const &)*arg2,(wxSize const &)*arg3);
d55e5bfc
RD
14004
14005 wxPyEndAllowThreads(__tstate);
14006 if (PyErr_Occurred()) SWIG_fail;
14007 }
14008 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
14009 return resultobj;
14010 fail:
d55e5bfc
RD
14011 return NULL;
14012}
14013
14014
093d3ff1 14015static PyObject *_wrap_DC_DrawRoundedRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14016 PyObject *resultobj = NULL;
d55e5bfc 14017 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 14018 int arg2 ;
d55e5bfc
RD
14019 int arg3 ;
14020 int arg4 ;
093d3ff1
RD
14021 int arg5 ;
14022 double arg6 ;
d55e5bfc
RD
14023 PyObject * obj0 = 0 ;
14024 PyObject * obj1 = 0 ;
14025 PyObject * obj2 = 0 ;
14026 PyObject * obj3 = 0 ;
14027 PyObject * obj4 = 0 ;
093d3ff1 14028 PyObject * obj5 = 0 ;
d55e5bfc 14029 char *kwnames[] = {
093d3ff1 14030 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
d55e5bfc
RD
14031 };
14032
093d3ff1
RD
14033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14035 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 14036 {
7449af73 14037 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 14038 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 14039 }
d55e5bfc 14040 {
7449af73 14041 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1 14042 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 14043 }
d55e5bfc 14044 {
7449af73 14045 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1 14046 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc 14047 }
d55e5bfc 14048 {
7449af73 14049 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1 14050 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
14051 }
14052 {
7449af73 14053 arg6 = static_cast<double >(SWIG_As_double(obj5));
093d3ff1 14054 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc 14055 }
d55e5bfc
RD
14056 {
14057 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14058 (arg1)->DrawRoundedRectangle(arg2,arg3,arg4,arg5,arg6);
d55e5bfc
RD
14059
14060 wxPyEndAllowThreads(__tstate);
14061 if (PyErr_Occurred()) SWIG_fail;
14062 }
14063 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
14064 return resultobj;
14065 fail:
d55e5bfc
RD
14066 return NULL;
14067}
14068
14069
093d3ff1 14070static PyObject *_wrap_DC_DrawRoundedRectangleRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14071 PyObject *resultobj = NULL;
d55e5bfc 14072 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
14073 wxRect *arg2 = 0 ;
14074 double arg3 ;
14075 wxRect temp2 ;
d55e5bfc
RD
14076 PyObject * obj0 = 0 ;
14077 PyObject * obj1 = 0 ;
14078 PyObject * obj2 = 0 ;
d55e5bfc 14079 char *kwnames[] = {
093d3ff1 14080 (char *) "self",(char *) "r",(char *) "radius", NULL
d55e5bfc
RD
14081 };
14082
093d3ff1
RD
14083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
14084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14085 if (SWIG_arg_fail(1)) SWIG_fail;
14086 {
14087 arg2 = &temp2;
14088 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 14089 }
093d3ff1 14090 {
7449af73 14091 arg3 = static_cast<double >(SWIG_As_double(obj2));
093d3ff1 14092 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
14093 }
14094 {
14095 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14096 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
d55e5bfc
RD
14097
14098 wxPyEndAllowThreads(__tstate);
14099 if (PyErr_Occurred()) SWIG_fail;
14100 }
093d3ff1 14101 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
14102 return resultobj;
14103 fail:
14104 return NULL;
14105}
14106
14107
093d3ff1 14108static PyObject *_wrap_DC_DrawRoundedRectanglePointSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14109 PyObject *resultobj = NULL;
d55e5bfc
RD
14110 wxDC *arg1 = (wxDC *) 0 ;
14111 wxPoint *arg2 = 0 ;
14112 wxSize *arg3 = 0 ;
093d3ff1 14113 double arg4 ;
d55e5bfc
RD
14114 wxPoint temp2 ;
14115 wxSize temp3 ;
d55e5bfc
RD
14116 PyObject * obj0 = 0 ;
14117 PyObject * obj1 = 0 ;
14118 PyObject * obj2 = 0 ;
14119 PyObject * obj3 = 0 ;
d55e5bfc 14120 char *kwnames[] = {
093d3ff1 14121 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
d55e5bfc
RD
14122 };
14123
093d3ff1
RD
14124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14126 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14127 {
14128 arg2 = &temp2;
14129 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14130 }
14131 {
14132 arg3 = &temp3;
14133 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14134 }
d55e5bfc 14135 {
7449af73 14136 arg4 = static_cast<double >(SWIG_As_double(obj3));
093d3ff1 14137 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
14138 }
14139 {
14140 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14141 (arg1)->DrawRoundedRectangle((wxPoint const &)*arg2,(wxSize const &)*arg3,arg4);
c24da6d6
RD
14142
14143 wxPyEndAllowThreads(__tstate);
14144 if (PyErr_Occurred()) SWIG_fail;
14145 }
093d3ff1 14146 Py_INCREF(Py_None); resultobj = Py_None;
c24da6d6
RD
14147 return resultobj;
14148 fail:
14149 return NULL;
14150}
14151
14152
093d3ff1 14153static PyObject *_wrap_DC_DrawCircle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14154 PyObject *resultobj = NULL;
c24da6d6
RD
14155 wxDC *arg1 = (wxDC *) 0 ;
14156 int arg2 ;
14157 int arg3 ;
14158 int arg4 ;
c24da6d6
RD
14159 PyObject * obj0 = 0 ;
14160 PyObject * obj1 = 0 ;
14161 PyObject * obj2 = 0 ;
14162 PyObject * obj3 = 0 ;
c24da6d6 14163 char *kwnames[] = {
093d3ff1 14164 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
c24da6d6
RD
14165 };
14166
093d3ff1
RD
14167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawCircle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14169 if (SWIG_arg_fail(1)) SWIG_fail;
14170 {
7449af73 14171 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14172 if (SWIG_arg_fail(2)) SWIG_fail;
14173 }
14174 {
7449af73 14175 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
14176 if (SWIG_arg_fail(3)) SWIG_fail;
14177 }
14178 {
7449af73 14179 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
14180 if (SWIG_arg_fail(4)) SWIG_fail;
14181 }
c24da6d6
RD
14182 {
14183 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14184 (arg1)->DrawCircle(arg2,arg3,arg4);
c24da6d6
RD
14185
14186 wxPyEndAllowThreads(__tstate);
14187 if (PyErr_Occurred()) SWIG_fail;
14188 }
14189 Py_INCREF(Py_None); resultobj = Py_None;
14190 return resultobj;
14191 fail:
14192 return NULL;
14193}
14194
14195
093d3ff1 14196static PyObject *_wrap_DC_DrawCirclePoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14197 PyObject *resultobj = NULL;
c24da6d6
RD
14198 wxDC *arg1 = (wxDC *) 0 ;
14199 wxPoint *arg2 = 0 ;
093d3ff1 14200 int arg3 ;
c24da6d6 14201 wxPoint temp2 ;
c24da6d6
RD
14202 PyObject * obj0 = 0 ;
14203 PyObject * obj1 = 0 ;
14204 PyObject * obj2 = 0 ;
14205 char *kwnames[] = {
093d3ff1 14206 (char *) "self",(char *) "pt",(char *) "radius", NULL
c24da6d6
RD
14207 };
14208
093d3ff1
RD
14209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawCirclePoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
14210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14211 if (SWIG_arg_fail(1)) SWIG_fail;
c24da6d6
RD
14212 {
14213 arg2 = &temp2;
14214 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14215 }
14216 {
7449af73 14217 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1 14218 if (SWIG_arg_fail(3)) SWIG_fail;
c24da6d6
RD
14219 }
14220 {
14221 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14222 (arg1)->DrawCircle((wxPoint const &)*arg2,arg3);
c24da6d6
RD
14223
14224 wxPyEndAllowThreads(__tstate);
14225 if (PyErr_Occurred()) SWIG_fail;
14226 }
14227 Py_INCREF(Py_None); resultobj = Py_None;
14228 return resultobj;
14229 fail:
14230 return NULL;
14231}
14232
14233
093d3ff1 14234static PyObject *_wrap_DC_DrawEllipse(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14235 PyObject *resultobj = NULL;
c24da6d6 14236 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
14237 int arg2 ;
14238 int arg3 ;
14239 int arg4 ;
14240 int arg5 ;
c24da6d6
RD
14241 PyObject * obj0 = 0 ;
14242 PyObject * obj1 = 0 ;
093d3ff1
RD
14243 PyObject * obj2 = 0 ;
14244 PyObject * obj3 = 0 ;
14245 PyObject * obj4 = 0 ;
c24da6d6 14246 char *kwnames[] = {
093d3ff1 14247 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
c24da6d6
RD
14248 };
14249
093d3ff1
RD
14250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawEllipse",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14252 if (SWIG_arg_fail(1)) SWIG_fail;
14253 {
7449af73 14254 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14255 if (SWIG_arg_fail(2)) SWIG_fail;
14256 }
14257 {
7449af73 14258 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
14259 if (SWIG_arg_fail(3)) SWIG_fail;
14260 }
14261 {
7449af73 14262 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
14263 if (SWIG_arg_fail(4)) SWIG_fail;
14264 }
14265 {
7449af73 14266 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1 14267 if (SWIG_arg_fail(5)) SWIG_fail;
c24da6d6
RD
14268 }
14269 {
14270 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14271 (arg1)->DrawEllipse(arg2,arg3,arg4,arg5);
c24da6d6
RD
14272
14273 wxPyEndAllowThreads(__tstate);
14274 if (PyErr_Occurred()) SWIG_fail;
14275 }
14276 Py_INCREF(Py_None); resultobj = Py_None;
14277 return resultobj;
14278 fail:
14279 return NULL;
14280}
14281
14282
093d3ff1 14283static PyObject *_wrap_DC_DrawEllipseRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14284 PyObject *resultobj = NULL;
c24da6d6
RD
14285 wxDC *arg1 = (wxDC *) 0 ;
14286 wxRect *arg2 = 0 ;
14287 wxRect temp2 ;
14288 PyObject * obj0 = 0 ;
14289 PyObject * obj1 = 0 ;
14290 char *kwnames[] = {
14291 (char *) "self",(char *) "rect", NULL
14292 };
14293
093d3ff1
RD
14294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawEllipseRect",kwnames,&obj0,&obj1)) goto fail;
14295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14296 if (SWIG_arg_fail(1)) SWIG_fail;
c24da6d6
RD
14297 {
14298 arg2 = &temp2;
14299 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
14300 }
14301 {
14302 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14303 (arg1)->DrawEllipse((wxRect const &)*arg2);
d55e5bfc
RD
14304
14305 wxPyEndAllowThreads(__tstate);
14306 if (PyErr_Occurred()) SWIG_fail;
14307 }
c24da6d6 14308 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
14309 return resultobj;
14310 fail:
14311 return NULL;
14312}
14313
14314
093d3ff1 14315static PyObject *_wrap_DC_DrawEllipsePointSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14316 PyObject *resultobj = NULL;
d55e5bfc 14317 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
14318 wxPoint *arg2 = 0 ;
14319 wxSize *arg3 = 0 ;
14320 wxPoint temp2 ;
14321 wxSize temp3 ;
d55e5bfc
RD
14322 PyObject * obj0 = 0 ;
14323 PyObject * obj1 = 0 ;
14324 PyObject * obj2 = 0 ;
d55e5bfc 14325 char *kwnames[] = {
093d3ff1 14326 (char *) "self",(char *) "pt",(char *) "sz", NULL
d55e5bfc
RD
14327 };
14328
093d3ff1
RD
14329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawEllipsePointSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14331 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 14332 {
093d3ff1
RD
14333 arg2 = &temp2;
14334 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 14335 }
093d3ff1
RD
14336 {
14337 arg3 = &temp3;
14338 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc
RD
14339 }
14340 {
14341 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14342 (arg1)->DrawEllipse((wxPoint const &)*arg2,(wxSize const &)*arg3);
d55e5bfc
RD
14343
14344 wxPyEndAllowThreads(__tstate);
14345 if (PyErr_Occurred()) SWIG_fail;
14346 }
14347 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
14348 return resultobj;
14349 fail:
d55e5bfc
RD
14350 return NULL;
14351}
14352
14353
093d3ff1 14354static PyObject *_wrap_DC_DrawIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14355 PyObject *resultobj = NULL;
d55e5bfc 14356 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
14357 wxIcon *arg2 = 0 ;
14358 int arg3 ;
14359 int arg4 ;
d55e5bfc
RD
14360 PyObject * obj0 = 0 ;
14361 PyObject * obj1 = 0 ;
14362 PyObject * obj2 = 0 ;
14363 PyObject * obj3 = 0 ;
d55e5bfc 14364 char *kwnames[] = {
093d3ff1 14365 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
d55e5bfc
RD
14366 };
14367
093d3ff1
RD
14368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawIcon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14370 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 14371 {
093d3ff1
RD
14372 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
14373 if (SWIG_arg_fail(2)) SWIG_fail;
14374 if (arg2 == NULL) {
14375 SWIG_null_ref("wxIcon");
14376 }
14377 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 14378 }
093d3ff1 14379 {
7449af73 14380 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1 14381 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 14382 }
093d3ff1 14383 {
7449af73 14384 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1 14385 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
14386 }
14387 {
14388 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14389 (arg1)->DrawIcon((wxIcon const &)*arg2,arg3,arg4);
d55e5bfc
RD
14390
14391 wxPyEndAllowThreads(__tstate);
14392 if (PyErr_Occurred()) SWIG_fail;
14393 }
14394 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
14395 return resultobj;
14396 fail:
d55e5bfc
RD
14397 return NULL;
14398}
14399
14400
093d3ff1 14401static PyObject *_wrap_DC_DrawIconPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14402 PyObject *resultobj = NULL;
d55e5bfc 14403 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
14404 wxIcon *arg2 = 0 ;
14405 wxPoint *arg3 = 0 ;
14406 wxPoint temp3 ;
d55e5bfc
RD
14407 PyObject * obj0 = 0 ;
14408 PyObject * obj1 = 0 ;
14409 PyObject * obj2 = 0 ;
d55e5bfc 14410 char *kwnames[] = {
093d3ff1 14411 (char *) "self",(char *) "icon",(char *) "pt", NULL
d55e5bfc
RD
14412 };
14413
093d3ff1
RD
14414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawIconPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
14415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14416 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 14417 {
093d3ff1
RD
14418 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
14419 if (SWIG_arg_fail(2)) SWIG_fail;
14420 if (arg2 == NULL) {
14421 SWIG_null_ref("wxIcon");
14422 }
14423 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
14424 }
14425 {
14426 arg3 = &temp3;
093d3ff1 14427 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc
RD
14428 }
14429 {
14430 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14431 (arg1)->DrawIcon((wxIcon const &)*arg2,(wxPoint const &)*arg3);
d55e5bfc
RD
14432
14433 wxPyEndAllowThreads(__tstate);
14434 if (PyErr_Occurred()) SWIG_fail;
14435 }
14436 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
14437 return resultobj;
14438 fail:
d55e5bfc
RD
14439 return NULL;
14440}
14441
14442
093d3ff1 14443static PyObject *_wrap_DC_DrawBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14444 PyObject *resultobj = NULL;
d55e5bfc 14445 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
14446 wxBitmap *arg2 = 0 ;
14447 int arg3 ;
14448 int arg4 ;
14449 bool arg5 = (bool) false ;
d55e5bfc
RD
14450 PyObject * obj0 = 0 ;
14451 PyObject * obj1 = 0 ;
14452 PyObject * obj2 = 0 ;
14453 PyObject * obj3 = 0 ;
14454 PyObject * obj4 = 0 ;
d55e5bfc 14455 char *kwnames[] = {
093d3ff1 14456 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
d55e5bfc
RD
14457 };
14458
093d3ff1
RD
14459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:DC_DrawBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14461 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 14462 {
093d3ff1
RD
14463 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
14464 if (SWIG_arg_fail(2)) SWIG_fail;
14465 if (arg2 == NULL) {
14466 SWIG_null_ref("wxBitmap");
14467 }
14468 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 14469 }
093d3ff1 14470 {
7449af73 14471 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1 14472 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
14473 }
14474 {
7449af73 14475 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1 14476 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
14477 }
14478 if (obj4) {
093d3ff1 14479 {
7449af73 14480 arg5 = static_cast<bool >(SWIG_As_bool(obj4));
093d3ff1
RD
14481 if (SWIG_arg_fail(5)) SWIG_fail;
14482 }
d55e5bfc
RD
14483 }
14484 {
14485 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14486 (arg1)->DrawBitmap((wxBitmap const &)*arg2,arg3,arg4,arg5);
d55e5bfc
RD
14487
14488 wxPyEndAllowThreads(__tstate);
14489 if (PyErr_Occurred()) SWIG_fail;
14490 }
093d3ff1 14491 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
14492 return resultobj;
14493 fail:
d55e5bfc
RD
14494 return NULL;
14495}
14496
14497
093d3ff1 14498static PyObject *_wrap_DC_DrawBitmapPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14499 PyObject *resultobj = NULL;
d55e5bfc 14500 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
14501 wxBitmap *arg2 = 0 ;
14502 wxPoint *arg3 = 0 ;
14503 bool arg4 = (bool) false ;
14504 wxPoint temp3 ;
d55e5bfc
RD
14505 PyObject * obj0 = 0 ;
14506 PyObject * obj1 = 0 ;
093d3ff1
RD
14507 PyObject * obj2 = 0 ;
14508 PyObject * obj3 = 0 ;
d55e5bfc 14509 char *kwnames[] = {
093d3ff1 14510 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
d55e5bfc
RD
14511 };
14512
093d3ff1
RD
14513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14515 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 14516 {
093d3ff1
RD
14517 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
14518 if (SWIG_arg_fail(2)) SWIG_fail;
14519 if (arg2 == NULL) {
14520 SWIG_null_ref("wxBitmap");
14521 }
14522 if (SWIG_arg_fail(2)) SWIG_fail;
14523 }
14524 {
14525 arg3 = &temp3;
14526 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14527 }
14528 if (obj3) {
14529 {
7449af73 14530 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
14531 if (SWIG_arg_fail(4)) SWIG_fail;
14532 }
d55e5bfc
RD
14533 }
14534 {
14535 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14536 (arg1)->DrawBitmap((wxBitmap const &)*arg2,(wxPoint const &)*arg3,arg4);
d55e5bfc
RD
14537
14538 wxPyEndAllowThreads(__tstate);
14539 if (PyErr_Occurred()) SWIG_fail;
14540 }
14541 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
14542 return resultobj;
14543 fail:
d55e5bfc
RD
14544 return NULL;
14545}
14546
14547
093d3ff1 14548static PyObject *_wrap_DC_DrawText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14549 PyObject *resultobj = NULL;
d55e5bfc 14550 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
14551 wxString *arg2 = 0 ;
14552 int arg3 ;
14553 int arg4 ;
14554 bool temp2 = false ;
d55e5bfc 14555 PyObject * obj0 = 0 ;
093d3ff1
RD
14556 PyObject * obj1 = 0 ;
14557 PyObject * obj2 = 0 ;
14558 PyObject * obj3 = 0 ;
d55e5bfc 14559 char *kwnames[] = {
093d3ff1 14560 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
d55e5bfc
RD
14561 };
14562
093d3ff1
RD
14563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14565 if (SWIG_arg_fail(1)) SWIG_fail;
14566 {
14567 arg2 = wxString_in_helper(obj1);
14568 if (arg2 == NULL) SWIG_fail;
14569 temp2 = true;
14570 }
14571 {
7449af73 14572 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
14573 if (SWIG_arg_fail(3)) SWIG_fail;
14574 }
14575 {
7449af73 14576 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
14577 if (SWIG_arg_fail(4)) SWIG_fail;
14578 }
d55e5bfc
RD
14579 {
14580 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14581 (arg1)->DrawText((wxString const &)*arg2,arg3,arg4);
d55e5bfc
RD
14582
14583 wxPyEndAllowThreads(__tstate);
14584 if (PyErr_Occurred()) SWIG_fail;
14585 }
14586 Py_INCREF(Py_None); resultobj = Py_None;
093d3ff1
RD
14587 {
14588 if (temp2)
14589 delete arg2;
14590 }
d55e5bfc
RD
14591 return resultobj;
14592 fail:
093d3ff1
RD
14593 {
14594 if (temp2)
14595 delete arg2;
14596 }
d55e5bfc
RD
14597 return NULL;
14598}
14599
14600
093d3ff1 14601static PyObject *_wrap_DC_DrawTextPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14602 PyObject *resultobj = NULL;
d55e5bfc
RD
14603 wxDC *arg1 = (wxDC *) 0 ;
14604 wxString *arg2 = 0 ;
093d3ff1 14605 wxPoint *arg3 = 0 ;
ae8162c8 14606 bool temp2 = false ;
093d3ff1 14607 wxPoint temp3 ;
d55e5bfc
RD
14608 PyObject * obj0 = 0 ;
14609 PyObject * obj1 = 0 ;
093d3ff1 14610 PyObject * obj2 = 0 ;
d55e5bfc 14611 char *kwnames[] = {
093d3ff1 14612 (char *) "self",(char *) "text",(char *) "pt", NULL
d55e5bfc
RD
14613 };
14614
093d3ff1
RD
14615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawTextPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
14616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14617 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14618 {
14619 arg2 = wxString_in_helper(obj1);
14620 if (arg2 == NULL) SWIG_fail;
ae8162c8 14621 temp2 = true;
d55e5bfc 14622 }
093d3ff1
RD
14623 {
14624 arg3 = &temp3;
14625 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14626 }
d55e5bfc
RD
14627 {
14628 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14629 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
d55e5bfc
RD
14630
14631 wxPyEndAllowThreads(__tstate);
14632 if (PyErr_Occurred()) SWIG_fail;
14633 }
093d3ff1 14634 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
14635 {
14636 if (temp2)
14637 delete arg2;
14638 }
14639 return resultobj;
14640 fail:
14641 {
14642 if (temp2)
14643 delete arg2;
14644 }
14645 return NULL;
14646}
14647
14648
093d3ff1 14649static PyObject *_wrap_DC_DrawRotatedText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14650 PyObject *resultobj = NULL;
d55e5bfc 14651 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
14652 wxString *arg2 = 0 ;
14653 int arg3 ;
14654 int arg4 ;
14655 double arg5 ;
14656 bool temp2 = false ;
d55e5bfc 14657 PyObject * obj0 = 0 ;
093d3ff1
RD
14658 PyObject * obj1 = 0 ;
14659 PyObject * obj2 = 0 ;
14660 PyObject * obj3 = 0 ;
14661 PyObject * obj4 = 0 ;
d55e5bfc 14662 char *kwnames[] = {
093d3ff1 14663 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
d55e5bfc
RD
14664 };
14665
093d3ff1
RD
14666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawRotatedText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14668 if (SWIG_arg_fail(1)) SWIG_fail;
14669 {
14670 arg2 = wxString_in_helper(obj1);
14671 if (arg2 == NULL) SWIG_fail;
14672 temp2 = true;
14673 }
14674 {
7449af73 14675 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
14676 if (SWIG_arg_fail(3)) SWIG_fail;
14677 }
14678 {
7449af73 14679 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
14680 if (SWIG_arg_fail(4)) SWIG_fail;
14681 }
14682 {
7449af73 14683 arg5 = static_cast<double >(SWIG_As_double(obj4));
093d3ff1
RD
14684 if (SWIG_arg_fail(5)) SWIG_fail;
14685 }
d55e5bfc
RD
14686 {
14687 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14688 (arg1)->DrawRotatedText((wxString const &)*arg2,arg3,arg4,arg5);
d55e5bfc
RD
14689
14690 wxPyEndAllowThreads(__tstate);
14691 if (PyErr_Occurred()) SWIG_fail;
14692 }
14693 Py_INCREF(Py_None); resultobj = Py_None;
093d3ff1
RD
14694 {
14695 if (temp2)
14696 delete arg2;
14697 }
d55e5bfc
RD
14698 return resultobj;
14699 fail:
d55e5bfc 14700 {
093d3ff1
RD
14701 if (temp2)
14702 delete arg2;
d55e5bfc 14703 }
d55e5bfc
RD
14704 return NULL;
14705}
14706
14707
093d3ff1 14708static PyObject *_wrap_DC_DrawRotatedTextPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14709 PyObject *resultobj = NULL;
d55e5bfc 14710 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
14711 wxString *arg2 = 0 ;
14712 wxPoint *arg3 = 0 ;
14713 double arg4 ;
14714 bool temp2 = false ;
14715 wxPoint temp3 ;
d55e5bfc 14716 PyObject * obj0 = 0 ;
093d3ff1
RD
14717 PyObject * obj1 = 0 ;
14718 PyObject * obj2 = 0 ;
14719 PyObject * obj3 = 0 ;
d55e5bfc 14720 char *kwnames[] = {
093d3ff1 14721 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
d55e5bfc
RD
14722 };
14723
093d3ff1
RD
14724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14726 if (SWIG_arg_fail(1)) SWIG_fail;
14727 {
14728 arg2 = wxString_in_helper(obj1);
14729 if (arg2 == NULL) SWIG_fail;
14730 temp2 = true;
14731 }
14732 {
14733 arg3 = &temp3;
14734 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14735 }
14736 {
7449af73 14737 arg4 = static_cast<double >(SWIG_As_double(obj3));
093d3ff1
RD
14738 if (SWIG_arg_fail(4)) SWIG_fail;
14739 }
d55e5bfc
RD
14740 {
14741 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14742 (arg1)->DrawRotatedText((wxString const &)*arg2,(wxPoint const &)*arg3,arg4);
d55e5bfc
RD
14743
14744 wxPyEndAllowThreads(__tstate);
14745 if (PyErr_Occurred()) SWIG_fail;
14746 }
14747 Py_INCREF(Py_None); resultobj = Py_None;
093d3ff1
RD
14748 {
14749 if (temp2)
14750 delete arg2;
14751 }
d55e5bfc
RD
14752 return resultobj;
14753 fail:
093d3ff1
RD
14754 {
14755 if (temp2)
14756 delete arg2;
14757 }
d55e5bfc
RD
14758 return NULL;
14759}
14760
14761
093d3ff1 14762static PyObject *_wrap_DC_Blit(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14763 PyObject *resultobj = NULL;
d55e5bfc 14764 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
14765 int arg2 ;
14766 int arg3 ;
14767 int arg4 ;
14768 int arg5 ;
14769 wxDC *arg6 = (wxDC *) 0 ;
14770 int arg7 ;
14771 int arg8 ;
14772 int arg9 = (int) wxCOPY ;
14773 bool arg10 = (bool) false ;
14774 int arg11 = (int) -1 ;
14775 int arg12 = (int) -1 ;
14776 bool result;
d55e5bfc
RD
14777 PyObject * obj0 = 0 ;
14778 PyObject * obj1 = 0 ;
093d3ff1
RD
14779 PyObject * obj2 = 0 ;
14780 PyObject * obj3 = 0 ;
14781 PyObject * obj4 = 0 ;
14782 PyObject * obj5 = 0 ;
14783 PyObject * obj6 = 0 ;
14784 PyObject * obj7 = 0 ;
14785 PyObject * obj8 = 0 ;
14786 PyObject * obj9 = 0 ;
14787 PyObject * obj10 = 0 ;
14788 PyObject * obj11 = 0 ;
d55e5bfc 14789 char *kwnames[] = {
093d3ff1 14790 (char *) "self",(char *) "xdest",(char *) "ydest",(char *) "width",(char *) "height",(char *) "source",(char *) "xsrc",(char *) "ysrc",(char *) "rop",(char *) "useMask",(char *) "xsrcMask",(char *) "ysrcMask", NULL
d55e5bfc
RD
14791 };
14792
093d3ff1
RD
14793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO|OOOO:DC_Blit",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11)) goto fail;
14794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14795 if (SWIG_arg_fail(1)) SWIG_fail;
14796 {
7449af73 14797 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14798 if (SWIG_arg_fail(2)) SWIG_fail;
14799 }
14800 {
7449af73 14801 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
14802 if (SWIG_arg_fail(3)) SWIG_fail;
14803 }
14804 {
7449af73 14805 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
14806 if (SWIG_arg_fail(4)) SWIG_fail;
14807 }
14808 {
7449af73 14809 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
14810 if (SWIG_arg_fail(5)) SWIG_fail;
14811 }
14812 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14813 if (SWIG_arg_fail(6)) SWIG_fail;
14814 {
7449af73 14815 arg7 = static_cast<int >(SWIG_As_int(obj6));
093d3ff1
RD
14816 if (SWIG_arg_fail(7)) SWIG_fail;
14817 }
14818 {
7449af73 14819 arg8 = static_cast<int >(SWIG_As_int(obj7));
093d3ff1
RD
14820 if (SWIG_arg_fail(8)) SWIG_fail;
14821 }
14822 if (obj8) {
14823 {
7449af73 14824 arg9 = static_cast<int >(SWIG_As_int(obj8));
093d3ff1
RD
14825 if (SWIG_arg_fail(9)) SWIG_fail;
14826 }
14827 }
14828 if (obj9) {
14829 {
7449af73 14830 arg10 = static_cast<bool >(SWIG_As_bool(obj9));
093d3ff1
RD
14831 if (SWIG_arg_fail(10)) SWIG_fail;
14832 }
14833 }
14834 if (obj10) {
14835 {
7449af73 14836 arg11 = static_cast<int >(SWIG_As_int(obj10));
093d3ff1
RD
14837 if (SWIG_arg_fail(11)) SWIG_fail;
14838 }
14839 }
14840 if (obj11) {
14841 {
7449af73 14842 arg12 = static_cast<int >(SWIG_As_int(obj11));
093d3ff1
RD
14843 if (SWIG_arg_fail(12)) SWIG_fail;
14844 }
d55e5bfc
RD
14845 }
14846 {
14847 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14848 result = (bool)(arg1)->Blit(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
d55e5bfc
RD
14849
14850 wxPyEndAllowThreads(__tstate);
14851 if (PyErr_Occurred()) SWIG_fail;
14852 }
093d3ff1
RD
14853 {
14854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14855 }
d55e5bfc
RD
14856 return resultobj;
14857 fail:
14858 return NULL;
14859}
14860
14861
093d3ff1 14862static PyObject *_wrap_DC_BlitPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14863 PyObject *resultobj = NULL;
d55e5bfc 14864 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
14865 wxPoint *arg2 = 0 ;
14866 wxSize *arg3 = 0 ;
14867 wxDC *arg4 = (wxDC *) 0 ;
14868 wxPoint *arg5 = 0 ;
14869 int arg6 = (int) wxCOPY ;
14870 bool arg7 = (bool) false ;
14871 wxPoint const &arg8_defvalue = wxDefaultPosition ;
14872 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
14873 bool result;
14874 wxPoint temp2 ;
14875 wxSize temp3 ;
14876 wxPoint temp5 ;
14877 wxPoint temp8 ;
d55e5bfc
RD
14878 PyObject * obj0 = 0 ;
14879 PyObject * obj1 = 0 ;
093d3ff1
RD
14880 PyObject * obj2 = 0 ;
14881 PyObject * obj3 = 0 ;
14882 PyObject * obj4 = 0 ;
14883 PyObject * obj5 = 0 ;
14884 PyObject * obj6 = 0 ;
14885 PyObject * obj7 = 0 ;
d55e5bfc 14886 char *kwnames[] = {
093d3ff1 14887 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
d55e5bfc
RD
14888 };
14889
093d3ff1
RD
14890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14892 if (SWIG_arg_fail(1)) SWIG_fail;
14893 {
14894 arg2 = &temp2;
14895 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14896 }
14897 {
14898 arg3 = &temp3;
14899 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14900 }
14901 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14902 if (SWIG_arg_fail(4)) SWIG_fail;
14903 {
14904 arg5 = &temp5;
14905 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14906 }
14907 if (obj5) {
14908 {
7449af73 14909 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
14910 if (SWIG_arg_fail(6)) SWIG_fail;
14911 }
14912 }
14913 if (obj6) {
14914 {
7449af73 14915 arg7 = static_cast<bool >(SWIG_As_bool(obj6));
093d3ff1
RD
14916 if (SWIG_arg_fail(7)) SWIG_fail;
14917 }
14918 }
14919 if (obj7) {
14920 {
14921 arg8 = &temp8;
14922 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
14923 }
d55e5bfc
RD
14924 }
14925 {
14926 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14927 result = (bool)(arg1)->Blit((wxPoint const &)*arg2,(wxSize const &)*arg3,arg4,(wxPoint const &)*arg5,arg6,arg7,(wxPoint const &)*arg8);
d55e5bfc
RD
14928
14929 wxPyEndAllowThreads(__tstate);
14930 if (PyErr_Occurred()) SWIG_fail;
14931 }
093d3ff1
RD
14932 {
14933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14934 }
d55e5bfc
RD
14935 return resultobj;
14936 fail:
14937 return NULL;
14938}
14939
14940
093d3ff1 14941static PyObject *_wrap_DC_SetClippingRegion(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14942 PyObject *resultobj = NULL;
d55e5bfc 14943 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
14944 int arg2 ;
14945 int arg3 ;
14946 int arg4 ;
14947 int arg5 ;
d55e5bfc
RD
14948 PyObject * obj0 = 0 ;
14949 PyObject * obj1 = 0 ;
093d3ff1
RD
14950 PyObject * obj2 = 0 ;
14951 PyObject * obj3 = 0 ;
14952 PyObject * obj4 = 0 ;
d55e5bfc 14953 char *kwnames[] = {
093d3ff1 14954 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
d55e5bfc
RD
14955 };
14956
093d3ff1
RD
14957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_SetClippingRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14959 if (SWIG_arg_fail(1)) SWIG_fail;
14960 {
7449af73 14961 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14962 if (SWIG_arg_fail(2)) SWIG_fail;
14963 }
14964 {
7449af73 14965 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
14966 if (SWIG_arg_fail(3)) SWIG_fail;
14967 }
14968 {
7449af73 14969 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
14970 if (SWIG_arg_fail(4)) SWIG_fail;
14971 }
14972 {
7449af73 14973 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1 14974 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
14975 }
14976 {
14977 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14978 (arg1)->SetClippingRegion(arg2,arg3,arg4,arg5);
d55e5bfc
RD
14979
14980 wxPyEndAllowThreads(__tstate);
14981 if (PyErr_Occurred()) SWIG_fail;
14982 }
14983 Py_INCREF(Py_None); resultobj = Py_None;
14984 return resultobj;
14985 fail:
14986 return NULL;
14987}
14988
14989
093d3ff1 14990static PyObject *_wrap_DC_SetClippingRegionPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14991 PyObject *resultobj = NULL;
d55e5bfc 14992 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
14993 wxPoint *arg2 = 0 ;
14994 wxSize *arg3 = 0 ;
14995 wxPoint temp2 ;
14996 wxSize temp3 ;
d55e5bfc
RD
14997 PyObject * obj0 = 0 ;
14998 PyObject * obj1 = 0 ;
093d3ff1 14999 PyObject * obj2 = 0 ;
d55e5bfc 15000 char *kwnames[] = {
093d3ff1 15001 (char *) "self",(char *) "pt",(char *) "sz", NULL
d55e5bfc
RD
15002 };
15003
093d3ff1
RD
15004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15006 if (SWIG_arg_fail(1)) SWIG_fail;
15007 {
15008 arg2 = &temp2;
15009 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15010 }
15011 {
15012 arg3 = &temp3;
15013 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc
RD
15014 }
15015 {
15016 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15017 (arg1)->SetClippingRegion((wxPoint const &)*arg2,(wxSize const &)*arg3);
d55e5bfc
RD
15018
15019 wxPyEndAllowThreads(__tstate);
15020 if (PyErr_Occurred()) SWIG_fail;
15021 }
15022 Py_INCREF(Py_None); resultobj = Py_None;
15023 return resultobj;
15024 fail:
15025 return NULL;
15026}
15027
15028
093d3ff1 15029static PyObject *_wrap_DC_SetClippingRegionAsRegion(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15030 PyObject *resultobj = NULL;
d55e5bfc 15031 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 15032 wxRegion *arg2 = 0 ;
d55e5bfc
RD
15033 PyObject * obj0 = 0 ;
15034 PyObject * obj1 = 0 ;
15035 char *kwnames[] = {
093d3ff1 15036 (char *) "self",(char *) "region", NULL
d55e5bfc
RD
15037 };
15038
093d3ff1
RD
15039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames,&obj0,&obj1)) goto fail;
15040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15041 if (SWIG_arg_fail(1)) SWIG_fail;
15042 {
15043 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
15044 if (SWIG_arg_fail(2)) SWIG_fail;
15045 if (arg2 == NULL) {
15046 SWIG_null_ref("wxRegion");
15047 }
15048 if (SWIG_arg_fail(2)) SWIG_fail;
15049 }
d55e5bfc
RD
15050 {
15051 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15052 (arg1)->SetClippingRegion((wxRegion const &)*arg2);
d55e5bfc
RD
15053
15054 wxPyEndAllowThreads(__tstate);
15055 if (PyErr_Occurred()) SWIG_fail;
15056 }
15057 Py_INCREF(Py_None); resultobj = Py_None;
15058 return resultobj;
15059 fail:
15060 return NULL;
15061}
15062
15063
093d3ff1 15064static PyObject *_wrap_DC_SetClippingRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15065 PyObject *resultobj = NULL;
d55e5bfc 15066 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
15067 wxRect *arg2 = 0 ;
15068 wxRect temp2 ;
d55e5bfc
RD
15069 PyObject * obj0 = 0 ;
15070 PyObject * obj1 = 0 ;
15071 char *kwnames[] = {
093d3ff1 15072 (char *) "self",(char *) "rect", NULL
d55e5bfc
RD
15073 };
15074
093d3ff1
RD
15075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
15076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15077 if (SWIG_arg_fail(1)) SWIG_fail;
15078 {
15079 arg2 = &temp2;
15080 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc
RD
15081 }
15082 {
15083 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15084 (arg1)->SetClippingRegion((wxRect const &)*arg2);
d55e5bfc
RD
15085
15086 wxPyEndAllowThreads(__tstate);
15087 if (PyErr_Occurred()) SWIG_fail;
15088 }
15089 Py_INCREF(Py_None); resultobj = Py_None;
15090 return resultobj;
15091 fail:
15092 return NULL;
15093}
15094
15095
093d3ff1 15096static PyObject *_wrap_DC_DrawLines(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15097 PyObject *resultobj = NULL;
d55e5bfc 15098 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
15099 int arg2 ;
15100 wxPoint *arg3 = (wxPoint *) 0 ;
15101 int arg4 = (int) 0 ;
15102 int arg5 = (int) 0 ;
d55e5bfc 15103 PyObject * obj0 = 0 ;
093d3ff1
RD
15104 PyObject * obj1 = 0 ;
15105 PyObject * obj2 = 0 ;
15106 PyObject * obj3 = 0 ;
d55e5bfc 15107 char *kwnames[] = {
093d3ff1 15108 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
d55e5bfc
RD
15109 };
15110
093d3ff1
RD
15111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DC_DrawLines",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15113 if (SWIG_arg_fail(1)) SWIG_fail;
15114 {
15115 arg3 = wxPoint_LIST_helper(obj1, &arg2);
15116 if (arg3 == NULL) SWIG_fail;
15117 }
15118 if (obj2) {
15119 {
7449af73 15120 arg4 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
15121 if (SWIG_arg_fail(4)) SWIG_fail;
15122 }
15123 }
15124 if (obj3) {
15125 {
7449af73 15126 arg5 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
15127 if (SWIG_arg_fail(5)) SWIG_fail;
15128 }
15129 }
d55e5bfc
RD
15130 {
15131 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15132 (arg1)->DrawLines(arg2,arg3,arg4,arg5);
d55e5bfc
RD
15133
15134 wxPyEndAllowThreads(__tstate);
15135 if (PyErr_Occurred()) SWIG_fail;
15136 }
15137 Py_INCREF(Py_None); resultobj = Py_None;
093d3ff1
RD
15138 {
15139 if (arg3) delete [] arg3;
15140 }
d55e5bfc
RD
15141 return resultobj;
15142 fail:
093d3ff1
RD
15143 {
15144 if (arg3) delete [] arg3;
15145 }
d55e5bfc
RD
15146 return NULL;
15147}
15148
15149
093d3ff1 15150static PyObject *_wrap_DC_DrawPolygon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15151 PyObject *resultobj = NULL;
d55e5bfc 15152 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
15153 int arg2 ;
15154 wxPoint *arg3 = (wxPoint *) 0 ;
15155 int arg4 = (int) 0 ;
15156 int arg5 = (int) 0 ;
15157 int arg6 = (int) wxODDEVEN_RULE ;
d55e5bfc 15158 PyObject * obj0 = 0 ;
093d3ff1
RD
15159 PyObject * obj1 = 0 ;
15160 PyObject * obj2 = 0 ;
15161 PyObject * obj3 = 0 ;
15162 PyObject * obj4 = 0 ;
d55e5bfc 15163 char *kwnames[] = {
093d3ff1 15164 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
d55e5bfc
RD
15165 };
15166
093d3ff1
RD
15167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DC_DrawPolygon",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15169 if (SWIG_arg_fail(1)) SWIG_fail;
15170 {
15171 arg3 = wxPoint_LIST_helper(obj1, &arg2);
15172 if (arg3 == NULL) SWIG_fail;
15173 }
15174 if (obj2) {
15175 {
7449af73 15176 arg4 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
15177 if (SWIG_arg_fail(4)) SWIG_fail;
15178 }
15179 }
15180 if (obj3) {
15181 {
7449af73 15182 arg5 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
15183 if (SWIG_arg_fail(5)) SWIG_fail;
15184 }
15185 }
15186 if (obj4) {
15187 {
7449af73 15188 arg6 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
15189 if (SWIG_arg_fail(6)) SWIG_fail;
15190 }
15191 }
d55e5bfc
RD
15192 {
15193 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15194 (arg1)->DrawPolygon(arg2,arg3,arg4,arg5,arg6);
d55e5bfc
RD
15195
15196 wxPyEndAllowThreads(__tstate);
15197 if (PyErr_Occurred()) SWIG_fail;
15198 }
15199 Py_INCREF(Py_None); resultobj = Py_None;
093d3ff1
RD
15200 {
15201 if (arg3) delete [] arg3;
15202 }
d55e5bfc
RD
15203 return resultobj;
15204 fail:
093d3ff1
RD
15205 {
15206 if (arg3) delete [] arg3;
15207 }
d55e5bfc
RD
15208 return NULL;
15209}
15210
15211
093d3ff1 15212static PyObject *_wrap_DC_DrawLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15213 PyObject *resultobj = NULL;
093d3ff1
RD
15214 wxDC *arg1 = (wxDC *) 0 ;
15215 wxString *arg2 = 0 ;
15216 wxRect *arg3 = 0 ;
15217 int arg4 = (int) wxALIGN_LEFT|wxALIGN_TOP ;
15218 int arg5 = (int) -1 ;
15219 bool temp2 = false ;
15220 wxRect temp3 ;
15221 PyObject * obj0 = 0 ;
15222 PyObject * obj1 = 0 ;
15223 PyObject * obj2 = 0 ;
15224 PyObject * obj3 = 0 ;
15225 PyObject * obj4 = 0 ;
15226 char *kwnames[] = {
15227 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
15228 };
15229
15230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DC_DrawLabel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15232 if (SWIG_arg_fail(1)) SWIG_fail;
15233 {
15234 arg2 = wxString_in_helper(obj1);
15235 if (arg2 == NULL) SWIG_fail;
15236 temp2 = true;
15237 }
15238 {
15239 arg3 = &temp3;
15240 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15241 }
15242 if (obj3) {
15243 {
7449af73 15244 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
15245 if (SWIG_arg_fail(4)) SWIG_fail;
15246 }
15247 }
15248 if (obj4) {
15249 {
7449af73 15250 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
15251 if (SWIG_arg_fail(5)) SWIG_fail;
15252 }
15253 }
15254 {
15255 PyThreadState* __tstate = wxPyBeginAllowThreads();
15256 (arg1)->DrawLabel((wxString const &)*arg2,(wxRect const &)*arg3,arg4,arg5);
15257
15258 wxPyEndAllowThreads(__tstate);
15259 if (PyErr_Occurred()) SWIG_fail;
15260 }
15261 Py_INCREF(Py_None); resultobj = Py_None;
15262 {
15263 if (temp2)
15264 delete arg2;
15265 }
15266 return resultobj;
15267 fail:
15268 {
15269 if (temp2)
15270 delete arg2;
15271 }
15272 return NULL;
15273}
15274
15275
15276static PyObject *_wrap_DC_DrawImageLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15277 PyObject *resultobj = NULL;
d55e5bfc 15278 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
15279 wxString *arg2 = 0 ;
15280 wxBitmap *arg3 = 0 ;
15281 wxRect *arg4 = 0 ;
15282 int arg5 = (int) wxALIGN_LEFT|wxALIGN_TOP ;
15283 int arg6 = (int) -1 ;
d55e5bfc 15284 wxRect result;
093d3ff1
RD
15285 bool temp2 = false ;
15286 wxRect temp4 ;
d55e5bfc 15287 PyObject * obj0 = 0 ;
093d3ff1
RD
15288 PyObject * obj1 = 0 ;
15289 PyObject * obj2 = 0 ;
15290 PyObject * obj3 = 0 ;
15291 PyObject * obj4 = 0 ;
15292 PyObject * obj5 = 0 ;
d55e5bfc 15293 char *kwnames[] = {
093d3ff1 15294 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
d55e5bfc
RD
15295 };
15296
093d3ff1
RD
15297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15299 if (SWIG_arg_fail(1)) SWIG_fail;
15300 {
15301 arg2 = wxString_in_helper(obj1);
15302 if (arg2 == NULL) SWIG_fail;
15303 temp2 = true;
15304 }
15305 {
15306 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
15307 if (SWIG_arg_fail(3)) SWIG_fail;
15308 if (arg3 == NULL) {
15309 SWIG_null_ref("wxBitmap");
15310 }
15311 if (SWIG_arg_fail(3)) SWIG_fail;
15312 }
15313 {
15314 arg4 = &temp4;
15315 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
15316 }
15317 if (obj4) {
15318 {
7449af73 15319 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
15320 if (SWIG_arg_fail(5)) SWIG_fail;
15321 }
15322 }
15323 if (obj5) {
15324 {
7449af73 15325 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
15326 if (SWIG_arg_fail(6)) SWIG_fail;
15327 }
15328 }
d55e5bfc
RD
15329 {
15330 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15331 result = wxDC_DrawImageLabel(arg1,(wxString const &)*arg2,(wxBitmap const &)*arg3,(wxRect const &)*arg4,arg5,arg6);
d55e5bfc
RD
15332
15333 wxPyEndAllowThreads(__tstate);
15334 if (PyErr_Occurred()) SWIG_fail;
15335 }
15336 {
15337 wxRect * resultptr;
7449af73 15338 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
15339 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
15340 }
093d3ff1
RD
15341 {
15342 if (temp2)
15343 delete arg2;
15344 }
d55e5bfc
RD
15345 return resultobj;
15346 fail:
093d3ff1
RD
15347 {
15348 if (temp2)
15349 delete arg2;
15350 }
d55e5bfc
RD
15351 return NULL;
15352}
15353
15354
093d3ff1 15355static PyObject *_wrap_DC_DrawSpline(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15356 PyObject *resultobj = NULL;
d55e5bfc 15357 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
15358 int arg2 ;
15359 wxPoint *arg3 = (wxPoint *) 0 ;
d55e5bfc 15360 PyObject * obj0 = 0 ;
093d3ff1 15361 PyObject * obj1 = 0 ;
d55e5bfc 15362 char *kwnames[] = {
093d3ff1 15363 (char *) "self",(char *) "points", NULL
d55e5bfc
RD
15364 };
15365
093d3ff1
RD
15366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawSpline",kwnames,&obj0,&obj1)) goto fail;
15367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15368 if (SWIG_arg_fail(1)) SWIG_fail;
15369 {
15370 arg3 = wxPoint_LIST_helper(obj1, &arg2);
15371 if (arg3 == NULL) SWIG_fail;
15372 }
d55e5bfc
RD
15373 {
15374 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15375 (arg1)->DrawSpline(arg2,arg3);
d55e5bfc
RD
15376
15377 wxPyEndAllowThreads(__tstate);
15378 if (PyErr_Occurred()) SWIG_fail;
15379 }
093d3ff1
RD
15380 Py_INCREF(Py_None); resultobj = Py_None;
15381 {
15382 if (arg3) delete [] arg3;
15383 }
d55e5bfc
RD
15384 return resultobj;
15385 fail:
093d3ff1
RD
15386 {
15387 if (arg3) delete [] arg3;
15388 }
d55e5bfc
RD
15389 return NULL;
15390}
15391
15392
093d3ff1 15393static PyObject *_wrap_DC_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15394 PyObject *resultobj = NULL;
d55e5bfc 15395 wxDC *arg1 = (wxDC *) 0 ;
d55e5bfc
RD
15396 PyObject * obj0 = 0 ;
15397 char *kwnames[] = {
15398 (char *) "self", NULL
15399 };
15400
093d3ff1
RD
15401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_Clear",kwnames,&obj0)) goto fail;
15402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15403 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15404 {
15405 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15406 (arg1)->Clear();
d55e5bfc
RD
15407
15408 wxPyEndAllowThreads(__tstate);
15409 if (PyErr_Occurred()) SWIG_fail;
15410 }
093d3ff1 15411 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
15412 return resultobj;
15413 fail:
15414 return NULL;
15415}
15416
15417
093d3ff1 15418static PyObject *_wrap_DC_StartDoc(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15419 PyObject *resultobj = NULL;
d55e5bfc
RD
15420 wxDC *arg1 = (wxDC *) 0 ;
15421 wxString *arg2 = 0 ;
093d3ff1 15422 bool result;
ae8162c8 15423 bool temp2 = false ;
d55e5bfc
RD
15424 PyObject * obj0 = 0 ;
15425 PyObject * obj1 = 0 ;
15426 char *kwnames[] = {
093d3ff1 15427 (char *) "self",(char *) "message", NULL
d55e5bfc
RD
15428 };
15429
093d3ff1
RD
15430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_StartDoc",kwnames,&obj0,&obj1)) goto fail;
15431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15432 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15433 {
15434 arg2 = wxString_in_helper(obj1);
15435 if (arg2 == NULL) SWIG_fail;
ae8162c8 15436 temp2 = true;
d55e5bfc
RD
15437 }
15438 {
15439 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15440 result = (bool)(arg1)->StartDoc((wxString const &)*arg2);
d55e5bfc
RD
15441
15442 wxPyEndAllowThreads(__tstate);
15443 if (PyErr_Occurred()) SWIG_fail;
15444 }
093d3ff1
RD
15445 {
15446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15447 }
d55e5bfc
RD
15448 {
15449 if (temp2)
15450 delete arg2;
15451 }
15452 return resultobj;
15453 fail:
15454 {
15455 if (temp2)
15456 delete arg2;
15457 }
15458 return NULL;
15459}
15460
15461
093d3ff1 15462static PyObject *_wrap_DC_EndDoc(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15463 PyObject *resultobj = NULL;
d55e5bfc 15464 wxDC *arg1 = (wxDC *) 0 ;
d55e5bfc 15465 PyObject * obj0 = 0 ;
d55e5bfc 15466 char *kwnames[] = {
093d3ff1 15467 (char *) "self", NULL
d55e5bfc
RD
15468 };
15469
093d3ff1
RD
15470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_EndDoc",kwnames,&obj0)) goto fail;
15471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15472 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15473 {
15474 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15475 (arg1)->EndDoc();
d55e5bfc
RD
15476
15477 wxPyEndAllowThreads(__tstate);
15478 if (PyErr_Occurred()) SWIG_fail;
15479 }
15480 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
15481 return resultobj;
15482 fail:
d55e5bfc
RD
15483 return NULL;
15484}
15485
15486
093d3ff1 15487static PyObject *_wrap_DC_StartPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15488 PyObject *resultobj = NULL;
d55e5bfc 15489 wxDC *arg1 = (wxDC *) 0 ;
d55e5bfc 15490 PyObject * obj0 = 0 ;
d55e5bfc 15491 char *kwnames[] = {
093d3ff1 15492 (char *) "self", NULL
d55e5bfc
RD
15493 };
15494
093d3ff1
RD
15495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_StartPage",kwnames,&obj0)) goto fail;
15496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15497 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15498 {
15499 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15500 (arg1)->StartPage();
d55e5bfc
RD
15501
15502 wxPyEndAllowThreads(__tstate);
15503 if (PyErr_Occurred()) SWIG_fail;
15504 }
15505 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
15506 return resultobj;
15507 fail:
d55e5bfc
RD
15508 return NULL;
15509}
15510
15511
093d3ff1 15512static PyObject *_wrap_DC_EndPage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15513 PyObject *resultobj = NULL;
d55e5bfc 15514 wxDC *arg1 = (wxDC *) 0 ;
d55e5bfc 15515 PyObject * obj0 = 0 ;
d55e5bfc 15516 char *kwnames[] = {
093d3ff1 15517 (char *) "self", NULL
d55e5bfc
RD
15518 };
15519
093d3ff1
RD
15520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_EndPage",kwnames,&obj0)) goto fail;
15521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15522 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15523 {
15524 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15525 (arg1)->EndPage();
d55e5bfc
RD
15526
15527 wxPyEndAllowThreads(__tstate);
15528 if (PyErr_Occurred()) SWIG_fail;
15529 }
093d3ff1 15530 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
15531 return resultobj;
15532 fail:
d55e5bfc
RD
15533 return NULL;
15534}
15535
15536
093d3ff1 15537static PyObject *_wrap_DC_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15538 PyObject *resultobj = NULL;
d55e5bfc 15539 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 15540 wxFont *arg2 = 0 ;
d55e5bfc 15541 PyObject * obj0 = 0 ;
093d3ff1 15542 PyObject * obj1 = 0 ;
d55e5bfc 15543 char *kwnames[] = {
093d3ff1 15544 (char *) "self",(char *) "font", NULL
d55e5bfc
RD
15545 };
15546
093d3ff1
RD
15547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetFont",kwnames,&obj0,&obj1)) goto fail;
15548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15549 if (SWIG_arg_fail(1)) SWIG_fail;
15550 {
15551 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15552 if (SWIG_arg_fail(2)) SWIG_fail;
15553 if (arg2 == NULL) {
15554 SWIG_null_ref("wxFont");
15555 }
15556 if (SWIG_arg_fail(2)) SWIG_fail;
15557 }
d55e5bfc
RD
15558 {
15559 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15560 (arg1)->SetFont((wxFont const &)*arg2);
d55e5bfc
RD
15561
15562 wxPyEndAllowThreads(__tstate);
15563 if (PyErr_Occurred()) SWIG_fail;
15564 }
093d3ff1 15565 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
15566 return resultobj;
15567 fail:
15568 return NULL;
15569}
15570
15571
093d3ff1 15572static PyObject *_wrap_DC_SetPen(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15573 PyObject *resultobj = NULL;
d55e5bfc 15574 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 15575 wxPen *arg2 = 0 ;
d55e5bfc 15576 PyObject * obj0 = 0 ;
093d3ff1 15577 PyObject * obj1 = 0 ;
d55e5bfc 15578 char *kwnames[] = {
093d3ff1 15579 (char *) "self",(char *) "pen", NULL
d55e5bfc
RD
15580 };
15581
093d3ff1
RD
15582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetPen",kwnames,&obj0,&obj1)) goto fail;
15583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15584 if (SWIG_arg_fail(1)) SWIG_fail;
15585 {
15586 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
15587 if (SWIG_arg_fail(2)) SWIG_fail;
15588 if (arg2 == NULL) {
15589 SWIG_null_ref("wxPen");
15590 }
15591 if (SWIG_arg_fail(2)) SWIG_fail;
15592 }
d55e5bfc
RD
15593 {
15594 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15595 (arg1)->SetPen((wxPen const &)*arg2);
d55e5bfc
RD
15596
15597 wxPyEndAllowThreads(__tstate);
15598 if (PyErr_Occurred()) SWIG_fail;
15599 }
15600 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
15601 return resultobj;
15602 fail:
15603 return NULL;
15604}
15605
15606
093d3ff1 15607static PyObject *_wrap_DC_SetBrush(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15608 PyObject *resultobj = NULL;
d55e5bfc 15609 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 15610 wxBrush *arg2 = 0 ;
d55e5bfc 15611 PyObject * obj0 = 0 ;
093d3ff1 15612 PyObject * obj1 = 0 ;
d55e5bfc 15613 char *kwnames[] = {
093d3ff1 15614 (char *) "self",(char *) "brush", NULL
d55e5bfc
RD
15615 };
15616
093d3ff1
RD
15617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetBrush",kwnames,&obj0,&obj1)) goto fail;
15618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15619 if (SWIG_arg_fail(1)) SWIG_fail;
15620 {
15621 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
15622 if (SWIG_arg_fail(2)) SWIG_fail;
15623 if (arg2 == NULL) {
15624 SWIG_null_ref("wxBrush");
15625 }
15626 if (SWIG_arg_fail(2)) SWIG_fail;
15627 }
d55e5bfc
RD
15628 {
15629 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15630 (arg1)->SetBrush((wxBrush const &)*arg2);
d55e5bfc
RD
15631
15632 wxPyEndAllowThreads(__tstate);
15633 if (PyErr_Occurred()) SWIG_fail;
15634 }
093d3ff1 15635 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
15636 return resultobj;
15637 fail:
15638 return NULL;
15639}
15640
15641
093d3ff1 15642static PyObject *_wrap_DC_SetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15643 PyObject *resultobj = NULL;
d55e5bfc 15644 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 15645 wxBrush *arg2 = 0 ;
d55e5bfc 15646 PyObject * obj0 = 0 ;
093d3ff1 15647 PyObject * obj1 = 0 ;
d55e5bfc 15648 char *kwnames[] = {
093d3ff1 15649 (char *) "self",(char *) "brush", NULL
d55e5bfc
RD
15650 };
15651
093d3ff1
RD
15652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetBackground",kwnames,&obj0,&obj1)) goto fail;
15653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15654 if (SWIG_arg_fail(1)) SWIG_fail;
15655 {
15656 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
15657 if (SWIG_arg_fail(2)) SWIG_fail;
15658 if (arg2 == NULL) {
15659 SWIG_null_ref("wxBrush");
15660 }
15661 if (SWIG_arg_fail(2)) SWIG_fail;
15662 }
d55e5bfc
RD
15663 {
15664 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15665 (arg1)->SetBackground((wxBrush const &)*arg2);
d55e5bfc
RD
15666
15667 wxPyEndAllowThreads(__tstate);
15668 if (PyErr_Occurred()) SWIG_fail;
15669 }
15670 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
15671 return resultobj;
15672 fail:
15673 return NULL;
15674}
15675
15676
093d3ff1 15677static PyObject *_wrap_DC_SetBackgroundMode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15678 PyObject *resultobj = NULL;
d55e5bfc
RD
15679 wxDC *arg1 = (wxDC *) 0 ;
15680 int arg2 ;
d55e5bfc
RD
15681 PyObject * obj0 = 0 ;
15682 PyObject * obj1 = 0 ;
15683 char *kwnames[] = {
093d3ff1 15684 (char *) "self",(char *) "mode", NULL
d55e5bfc
RD
15685 };
15686
093d3ff1
RD
15687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
15688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15689 if (SWIG_arg_fail(1)) SWIG_fail;
15690 {
7449af73 15691 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15692 if (SWIG_arg_fail(2)) SWIG_fail;
15693 }
d55e5bfc
RD
15694 {
15695 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15696 (arg1)->SetBackgroundMode(arg2);
d55e5bfc
RD
15697
15698 wxPyEndAllowThreads(__tstate);
15699 if (PyErr_Occurred()) SWIG_fail;
15700 }
093d3ff1 15701 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
15702 return resultobj;
15703 fail:
15704 return NULL;
15705}
15706
15707
093d3ff1 15708static PyObject *_wrap_DC_SetPalette(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15709 PyObject *resultobj = NULL;
d55e5bfc 15710 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 15711 wxPalette *arg2 = 0 ;
d55e5bfc
RD
15712 PyObject * obj0 = 0 ;
15713 PyObject * obj1 = 0 ;
15714 char *kwnames[] = {
093d3ff1 15715 (char *) "self",(char *) "palette", NULL
d55e5bfc
RD
15716 };
15717
093d3ff1
RD
15718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetPalette",kwnames,&obj0,&obj1)) goto fail;
15719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15720 if (SWIG_arg_fail(1)) SWIG_fail;
15721 {
15722 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPalette, SWIG_POINTER_EXCEPTION | 0);
15723 if (SWIG_arg_fail(2)) SWIG_fail;
15724 if (arg2 == NULL) {
15725 SWIG_null_ref("wxPalette");
15726 }
15727 if (SWIG_arg_fail(2)) SWIG_fail;
15728 }
d55e5bfc
RD
15729 {
15730 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15731 (arg1)->SetPalette((wxPalette const &)*arg2);
d55e5bfc
RD
15732
15733 wxPyEndAllowThreads(__tstate);
15734 if (PyErr_Occurred()) SWIG_fail;
15735 }
093d3ff1 15736 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
15737 return resultobj;
15738 fail:
15739 return NULL;
15740}
15741
15742
093d3ff1 15743static PyObject *_wrap_DC_DestroyClippingRegion(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15744 PyObject *resultobj = NULL;
d55e5bfc 15745 wxDC *arg1 = (wxDC *) 0 ;
d55e5bfc 15746 PyObject * obj0 = 0 ;
d55e5bfc 15747 char *kwnames[] = {
093d3ff1 15748 (char *) "self", NULL
d55e5bfc
RD
15749 };
15750
093d3ff1
RD
15751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_DestroyClippingRegion",kwnames,&obj0)) goto fail;
15752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15753 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15754 {
15755 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15756 (arg1)->DestroyClippingRegion();
d55e5bfc
RD
15757
15758 wxPyEndAllowThreads(__tstate);
15759 if (PyErr_Occurred()) SWIG_fail;
15760 }
093d3ff1 15761 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
15762 return resultobj;
15763 fail:
15764 return NULL;
15765}
15766
15767
093d3ff1 15768static PyObject *_wrap_DC_GetClippingBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15769 PyObject *resultobj = NULL;
d55e5bfc 15770 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
15771 int *arg2 = (int *) 0 ;
15772 int *arg3 = (int *) 0 ;
15773 int *arg4 = (int *) 0 ;
15774 int *arg5 = (int *) 0 ;
15775 int temp2 ;
15776 int res2 = 0 ;
15777 int temp3 ;
15778 int res3 = 0 ;
15779 int temp4 ;
15780 int res4 = 0 ;
15781 int temp5 ;
15782 int res5 = 0 ;
d55e5bfc 15783 PyObject * obj0 = 0 ;
d55e5bfc 15784 char *kwnames[] = {
093d3ff1 15785 (char *) "self", NULL
d55e5bfc
RD
15786 };
15787
093d3ff1
RD
15788 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15789 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15790 arg4 = &temp4; res4 = SWIG_NEWOBJ;
15791 arg5 = &temp5; res5 = SWIG_NEWOBJ;
15792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetClippingBox",kwnames,&obj0)) goto fail;
15793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15794 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15795 {
15796 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15797 ((wxDC const *)arg1)->GetClippingBox(arg2,arg3,arg4,arg5);
d55e5bfc
RD
15798
15799 wxPyEndAllowThreads(__tstate);
15800 if (PyErr_Occurred()) SWIG_fail;
15801 }
093d3ff1
RD
15802 Py_INCREF(Py_None); resultobj = Py_None;
15803 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15804 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15805 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15806 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
15807 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
15808 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
15809 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
15810 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
15811 return resultobj;
15812 fail:
15813 return NULL;
15814}
15815
15816
093d3ff1 15817static PyObject *_wrap_DC_GetClippingRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15818 PyObject *resultobj = NULL;
d55e5bfc 15819 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 15820 wxRect result;
d55e5bfc 15821 PyObject * obj0 = 0 ;
d55e5bfc 15822 char *kwnames[] = {
093d3ff1 15823 (char *) "self", NULL
d55e5bfc
RD
15824 };
15825
093d3ff1
RD
15826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetClippingRect",kwnames,&obj0)) goto fail;
15827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15828 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15829 {
15830 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15831 result = wxDC_GetClippingRect(arg1);
d55e5bfc
RD
15832
15833 wxPyEndAllowThreads(__tstate);
15834 if (PyErr_Occurred()) SWIG_fail;
15835 }
093d3ff1
RD
15836 {
15837 wxRect * resultptr;
7449af73 15838 resultptr = new wxRect(static_cast<wxRect & >(result));
093d3ff1
RD
15839 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
15840 }
d55e5bfc
RD
15841 return resultobj;
15842 fail:
15843 return NULL;
15844}
15845
15846
093d3ff1 15847static PyObject *_wrap_DC_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15848 PyObject *resultobj = NULL;
d55e5bfc 15849 wxDC *arg1 = (wxDC *) 0 ;
d55e5bfc
RD
15850 int result;
15851 PyObject * obj0 = 0 ;
d55e5bfc 15852 char *kwnames[] = {
093d3ff1 15853 (char *) "self", NULL
d55e5bfc
RD
15854 };
15855
093d3ff1
RD
15856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetCharHeight",kwnames,&obj0)) goto fail;
15857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15858 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15859 {
15860 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15861 result = (int)((wxDC const *)arg1)->GetCharHeight();
d55e5bfc
RD
15862
15863 wxPyEndAllowThreads(__tstate);
15864 if (PyErr_Occurred()) SWIG_fail;
15865 }
093d3ff1 15866 {
7449af73 15867 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15868 }
d55e5bfc
RD
15869 return resultobj;
15870 fail:
15871 return NULL;
15872}
15873
15874
093d3ff1 15875static PyObject *_wrap_DC_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15876 PyObject *resultobj = NULL;
d55e5bfc 15877 wxDC *arg1 = (wxDC *) 0 ;
d55e5bfc
RD
15878 int result;
15879 PyObject * obj0 = 0 ;
d55e5bfc 15880 char *kwnames[] = {
093d3ff1 15881 (char *) "self", NULL
d55e5bfc
RD
15882 };
15883
093d3ff1
RD
15884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetCharWidth",kwnames,&obj0)) goto fail;
15885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15886 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15887 {
15888 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15889 result = (int)((wxDC const *)arg1)->GetCharWidth();
d55e5bfc
RD
15890
15891 wxPyEndAllowThreads(__tstate);
15892 if (PyErr_Occurred()) SWIG_fail;
15893 }
093d3ff1 15894 {
7449af73 15895 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15896 }
d55e5bfc
RD
15897 return resultobj;
15898 fail:
15899 return NULL;
15900}
15901
15902
093d3ff1 15903static PyObject *_wrap_DC_GetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15904 PyObject *resultobj = NULL;
d55e5bfc 15905 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
15906 wxString *arg2 = 0 ;
15907 int *arg3 = (int *) 0 ;
15908 int *arg4 = (int *) 0 ;
15909 bool temp2 = false ;
15910 int temp3 ;
15911 int res3 = 0 ;
15912 int temp4 ;
15913 int res4 = 0 ;
d55e5bfc
RD
15914 PyObject * obj0 = 0 ;
15915 PyObject * obj1 = 0 ;
15916 char *kwnames[] = {
093d3ff1 15917 (char *) "self",(char *) "string", NULL
d55e5bfc
RD
15918 };
15919
093d3ff1
RD
15920 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15921 arg4 = &temp4; res4 = SWIG_NEWOBJ;
15922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
15923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15924 if (SWIG_arg_fail(1)) SWIG_fail;
15925 {
15926 arg2 = wxString_in_helper(obj1);
15927 if (arg2 == NULL) SWIG_fail;
15928 temp2 = true;
15929 }
d55e5bfc
RD
15930 {
15931 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15932 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
d55e5bfc
RD
15933
15934 wxPyEndAllowThreads(__tstate);
15935 if (PyErr_Occurred()) SWIG_fail;
15936 }
093d3ff1
RD
15937 Py_INCREF(Py_None); resultobj = Py_None;
15938 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15939 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
15940 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
15941 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
15942 {
15943 if (temp2)
15944 delete arg2;
15945 }
d55e5bfc
RD
15946 return resultobj;
15947 fail:
093d3ff1
RD
15948 {
15949 if (temp2)
15950 delete arg2;
15951 }
d55e5bfc
RD
15952 return NULL;
15953}
15954
15955
093d3ff1 15956static PyObject *_wrap_DC_GetFullTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15957 PyObject *resultobj = NULL;
d55e5bfc 15958 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
15959 wxString *arg2 = 0 ;
15960 int *arg3 = (int *) 0 ;
15961 int *arg4 = (int *) 0 ;
15962 int *arg5 = (int *) 0 ;
15963 int *arg6 = (int *) 0 ;
15964 wxFont *arg7 = (wxFont *) NULL ;
15965 bool temp2 = false ;
15966 int temp3 ;
15967 int res3 = 0 ;
15968 int temp4 ;
15969 int res4 = 0 ;
15970 int temp5 ;
15971 int res5 = 0 ;
15972 int temp6 ;
15973 int res6 = 0 ;
d55e5bfc 15974 PyObject * obj0 = 0 ;
093d3ff1
RD
15975 PyObject * obj1 = 0 ;
15976 PyObject * obj2 = 0 ;
d55e5bfc 15977 char *kwnames[] = {
093d3ff1 15978 (char *) "self",(char *) "string",(char *) "font", NULL
d55e5bfc
RD
15979 };
15980
093d3ff1
RD
15981 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15982 arg4 = &temp4; res4 = SWIG_NEWOBJ;
15983 arg5 = &temp5; res5 = SWIG_NEWOBJ;
15984 arg6 = &temp6; res6 = SWIG_NEWOBJ;
15985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DC_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
15986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15987 if (SWIG_arg_fail(1)) SWIG_fail;
15988 {
15989 arg2 = wxString_in_helper(obj1);
15990 if (arg2 == NULL) SWIG_fail;
15991 temp2 = true;
15992 }
15993 if (obj2) {
15994 SWIG_Python_ConvertPtr(obj2, (void **)&arg7, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15995 if (SWIG_arg_fail(7)) SWIG_fail;
15996 }
d55e5bfc
RD
15997 {
15998 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15999 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7);
d55e5bfc
RD
16000
16001 wxPyEndAllowThreads(__tstate);
16002 if (PyErr_Occurred()) SWIG_fail;
16003 }
093d3ff1
RD
16004 Py_INCREF(Py_None); resultobj = Py_None;
16005 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16006 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16007 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
16008 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
16009 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
16010 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
16011 resultobj = t_output_helper(resultobj, ((res6 == SWIG_NEWOBJ) ?
16012 SWIG_From_int((*arg6)) : SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_int, 0)));
d55e5bfc 16013 {
093d3ff1
RD
16014 if (temp2)
16015 delete arg2;
d55e5bfc
RD
16016 }
16017 return resultobj;
16018 fail:
093d3ff1
RD
16019 {
16020 if (temp2)
16021 delete arg2;
16022 }
d55e5bfc
RD
16023 return NULL;
16024}
16025
16026
093d3ff1 16027static PyObject *_wrap_DC_GetMultiLineTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16028 PyObject *resultobj = NULL;
d55e5bfc 16029 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
16030 wxString *arg2 = 0 ;
16031 int *arg3 = (int *) 0 ;
16032 int *arg4 = (int *) 0 ;
16033 int *arg5 = (int *) 0 ;
16034 wxFont *arg6 = (wxFont *) NULL ;
16035 bool temp2 = false ;
16036 int temp3 ;
16037 int res3 = 0 ;
16038 int temp4 ;
16039 int res4 = 0 ;
16040 int temp5 ;
16041 int res5 = 0 ;
d55e5bfc 16042 PyObject * obj0 = 0 ;
093d3ff1
RD
16043 PyObject * obj1 = 0 ;
16044 PyObject * obj2 = 0 ;
d55e5bfc 16045 char *kwnames[] = {
093d3ff1 16046 (char *) "self",(char *) "text",(char *) "font", NULL
d55e5bfc
RD
16047 };
16048
093d3ff1
RD
16049 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16050 arg4 = &temp4; res4 = SWIG_NEWOBJ;
16051 arg5 = &temp5; res5 = SWIG_NEWOBJ;
16052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
16053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16054 if (SWIG_arg_fail(1)) SWIG_fail;
16055 {
16056 arg2 = wxString_in_helper(obj1);
16057 if (arg2 == NULL) SWIG_fail;
16058 temp2 = true;
16059 }
16060 if (obj2) {
16061 SWIG_Python_ConvertPtr(obj2, (void **)&arg6, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
16062 if (SWIG_arg_fail(6)) SWIG_fail;
16063 }
d55e5bfc
RD
16064 {
16065 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16066 (arg1)->GetMultiLineTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6);
d55e5bfc
RD
16067
16068 wxPyEndAllowThreads(__tstate);
16069 if (PyErr_Occurred()) SWIG_fail;
16070 }
093d3ff1
RD
16071 Py_INCREF(Py_None); resultobj = Py_None;
16072 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16073 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16074 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
16075 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
16076 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
16077 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc 16078 {
093d3ff1
RD
16079 if (temp2)
16080 delete arg2;
d55e5bfc
RD
16081 }
16082 return resultobj;
16083 fail:
093d3ff1
RD
16084 {
16085 if (temp2)
16086 delete arg2;
16087 }
d55e5bfc
RD
16088 return NULL;
16089}
16090
16091
093d3ff1 16092static PyObject *_wrap_DC_GetPartialTextExtents(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16093 PyObject *resultobj = NULL;
d55e5bfc 16094 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
16095 wxString *arg2 = 0 ;
16096 wxArrayInt result;
16097 bool temp2 = false ;
d55e5bfc 16098 PyObject * obj0 = 0 ;
093d3ff1 16099 PyObject * obj1 = 0 ;
d55e5bfc 16100 char *kwnames[] = {
093d3ff1 16101 (char *) "self",(char *) "text", NULL
d55e5bfc
RD
16102 };
16103
093d3ff1
RD
16104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_GetPartialTextExtents",kwnames,&obj0,&obj1)) goto fail;
16105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16106 if (SWIG_arg_fail(1)) SWIG_fail;
16107 {
16108 arg2 = wxString_in_helper(obj1);
16109 if (arg2 == NULL) SWIG_fail;
16110 temp2 = true;
16111 }
d55e5bfc
RD
16112 {
16113 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16114 result = wxDC_GetPartialTextExtents(arg1,(wxString const &)*arg2);
d55e5bfc
RD
16115
16116 wxPyEndAllowThreads(__tstate);
16117 if (PyErr_Occurred()) SWIG_fail;
16118 }
093d3ff1
RD
16119 {
16120 resultobj = PyList_New(0);
16121 size_t idx;
16122 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
16123 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
16124 PyList_Append(resultobj, val);
16125 Py_DECREF(val);
16126 }
16127 }
16128 {
16129 if (temp2)
16130 delete arg2;
16131 }
d55e5bfc
RD
16132 return resultobj;
16133 fail:
093d3ff1
RD
16134 {
16135 if (temp2)
16136 delete arg2;
16137 }
d55e5bfc
RD
16138 return NULL;
16139}
16140
16141
093d3ff1 16142static PyObject *_wrap_DC_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16143 PyObject *resultobj = NULL;
d55e5bfc
RD
16144 wxDC *arg1 = (wxDC *) 0 ;
16145 wxSize result;
16146 PyObject * obj0 = 0 ;
16147 char *kwnames[] = {
16148 (char *) "self", NULL
16149 };
16150
093d3ff1
RD
16151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSize",kwnames,&obj0)) goto fail;
16152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16153 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16154 {
16155 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16156 result = (arg1)->GetSize();
d55e5bfc
RD
16157
16158 wxPyEndAllowThreads(__tstate);
16159 if (PyErr_Occurred()) SWIG_fail;
16160 }
16161 {
16162 wxSize * resultptr;
7449af73 16163 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
16164 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16165 }
16166 return resultobj;
16167 fail:
16168 return NULL;
16169}
16170
16171
093d3ff1 16172static PyObject *_wrap_DC_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16173 PyObject *resultobj = NULL;
d55e5bfc 16174 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
16175 int *arg2 = (int *) 0 ;
16176 int *arg3 = (int *) 0 ;
16177 int temp2 ;
16178 int res2 = 0 ;
16179 int temp3 ;
16180 int res3 = 0 ;
d55e5bfc
RD
16181 PyObject * obj0 = 0 ;
16182 char *kwnames[] = {
16183 (char *) "self", NULL
16184 };
16185
093d3ff1
RD
16186 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16187 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSizeTuple",kwnames,&obj0)) goto fail;
16189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16190 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16191 {
16192 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16193 (arg1)->GetSize(arg2,arg3);
d55e5bfc
RD
16194
16195 wxPyEndAllowThreads(__tstate);
16196 if (PyErr_Occurred()) SWIG_fail;
16197 }
093d3ff1
RD
16198 Py_INCREF(Py_None); resultobj = Py_None;
16199 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16200 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16201 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16202 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
16203 return resultobj;
16204 fail:
16205 return NULL;
16206}
16207
16208
093d3ff1 16209static PyObject *_wrap_DC_GetSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16210 PyObject *resultobj = NULL;
d55e5bfc 16211 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16212 wxSize result;
d55e5bfc
RD
16213 PyObject * obj0 = 0 ;
16214 char *kwnames[] = {
16215 (char *) "self", NULL
16216 };
16217
093d3ff1
RD
16218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSizeMM",kwnames,&obj0)) goto fail;
16219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16220 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16221 {
16222 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16223 result = ((wxDC const *)arg1)->GetSizeMM();
d55e5bfc
RD
16224
16225 wxPyEndAllowThreads(__tstate);
16226 if (PyErr_Occurred()) SWIG_fail;
16227 }
093d3ff1
RD
16228 {
16229 wxSize * resultptr;
7449af73 16230 resultptr = new wxSize(static_cast<wxSize & >(result));
093d3ff1
RD
16231 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16232 }
d55e5bfc
RD
16233 return resultobj;
16234 fail:
16235 return NULL;
16236}
16237
16238
093d3ff1 16239static PyObject *_wrap_DC_GetSizeMMTuple(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16240 PyObject *resultobj = NULL;
d55e5bfc 16241 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
16242 int *arg2 = (int *) 0 ;
16243 int *arg3 = (int *) 0 ;
16244 int temp2 ;
16245 int res2 = 0 ;
16246 int temp3 ;
16247 int res3 = 0 ;
d55e5bfc
RD
16248 PyObject * obj0 = 0 ;
16249 char *kwnames[] = {
16250 (char *) "self", NULL
16251 };
16252
093d3ff1
RD
16253 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16254 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSizeMMTuple",kwnames,&obj0)) goto fail;
16256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16257 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16258 {
16259 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16260 ((wxDC const *)arg1)->GetSizeMM(arg2,arg3);
d55e5bfc
RD
16261
16262 wxPyEndAllowThreads(__tstate);
16263 if (PyErr_Occurred()) SWIG_fail;
16264 }
093d3ff1
RD
16265 Py_INCREF(Py_None); resultobj = Py_None;
16266 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16267 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16268 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16269 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
16270 return resultobj;
16271 fail:
16272 return NULL;
16273}
16274
16275
093d3ff1 16276static PyObject *_wrap_DC_DeviceToLogicalX(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16277 PyObject *resultobj = NULL;
d55e5bfc 16278 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
16279 int arg2 ;
16280 int result;
d55e5bfc 16281 PyObject * obj0 = 0 ;
093d3ff1 16282 PyObject * obj1 = 0 ;
d55e5bfc 16283 char *kwnames[] = {
093d3ff1 16284 (char *) "self",(char *) "x", NULL
d55e5bfc
RD
16285 };
16286
093d3ff1
RD
16287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalX",kwnames,&obj0,&obj1)) goto fail;
16288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16289 if (SWIG_arg_fail(1)) SWIG_fail;
16290 {
7449af73 16291 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16292 if (SWIG_arg_fail(2)) SWIG_fail;
16293 }
d55e5bfc
RD
16294 {
16295 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16296 result = (int)((wxDC const *)arg1)->DeviceToLogicalX(arg2);
d55e5bfc
RD
16297
16298 wxPyEndAllowThreads(__tstate);
16299 if (PyErr_Occurred()) SWIG_fail;
16300 }
16301 {
7449af73 16302 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc
RD
16303 }
16304 return resultobj;
16305 fail:
16306 return NULL;
16307}
16308
16309
093d3ff1 16310static PyObject *_wrap_DC_DeviceToLogicalY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16311 PyObject *resultobj = NULL;
d55e5bfc 16312 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
16313 int arg2 ;
16314 int result;
d55e5bfc 16315 PyObject * obj0 = 0 ;
093d3ff1 16316 PyObject * obj1 = 0 ;
d55e5bfc 16317 char *kwnames[] = {
093d3ff1 16318 (char *) "self",(char *) "y", NULL
d55e5bfc
RD
16319 };
16320
093d3ff1
RD
16321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalY",kwnames,&obj0,&obj1)) goto fail;
16322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16323 if (SWIG_arg_fail(1)) SWIG_fail;
16324 {
7449af73 16325 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16326 if (SWIG_arg_fail(2)) SWIG_fail;
16327 }
d55e5bfc
RD
16328 {
16329 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16330 result = (int)((wxDC const *)arg1)->DeviceToLogicalY(arg2);
d55e5bfc
RD
16331
16332 wxPyEndAllowThreads(__tstate);
16333 if (PyErr_Occurred()) SWIG_fail;
16334 }
16335 {
7449af73 16336 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc
RD
16337 }
16338 return resultobj;
16339 fail:
16340 return NULL;
16341}
16342
16343
093d3ff1 16344static PyObject *_wrap_DC_DeviceToLogicalXRel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16345 PyObject *resultobj = NULL;
d55e5bfc 16346 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
16347 int arg2 ;
16348 int result;
d55e5bfc 16349 PyObject * obj0 = 0 ;
093d3ff1 16350 PyObject * obj1 = 0 ;
d55e5bfc 16351 char *kwnames[] = {
093d3ff1 16352 (char *) "self",(char *) "x", NULL
d55e5bfc
RD
16353 };
16354
093d3ff1
RD
16355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalXRel",kwnames,&obj0,&obj1)) goto fail;
16356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16357 if (SWIG_arg_fail(1)) SWIG_fail;
16358 {
7449af73 16359 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16360 if (SWIG_arg_fail(2)) SWIG_fail;
16361 }
d55e5bfc
RD
16362 {
16363 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16364 result = (int)((wxDC const *)arg1)->DeviceToLogicalXRel(arg2);
d55e5bfc
RD
16365
16366 wxPyEndAllowThreads(__tstate);
16367 if (PyErr_Occurred()) SWIG_fail;
16368 }
16369 {
7449af73 16370 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc
RD
16371 }
16372 return resultobj;
16373 fail:
16374 return NULL;
16375}
16376
16377
093d3ff1 16378static PyObject *_wrap_DC_DeviceToLogicalYRel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16379 PyObject *resultobj = NULL;
d55e5bfc 16380 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
16381 int arg2 ;
16382 int result;
d55e5bfc 16383 PyObject * obj0 = 0 ;
093d3ff1 16384 PyObject * obj1 = 0 ;
d55e5bfc 16385 char *kwnames[] = {
093d3ff1 16386 (char *) "self",(char *) "y", NULL
d55e5bfc
RD
16387 };
16388
093d3ff1
RD
16389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalYRel",kwnames,&obj0,&obj1)) goto fail;
16390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16391 if (SWIG_arg_fail(1)) SWIG_fail;
16392 {
7449af73 16393 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16394 if (SWIG_arg_fail(2)) SWIG_fail;
16395 }
d55e5bfc
RD
16396 {
16397 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16398 result = (int)((wxDC const *)arg1)->DeviceToLogicalYRel(arg2);
d55e5bfc
RD
16399
16400 wxPyEndAllowThreads(__tstate);
16401 if (PyErr_Occurred()) SWIG_fail;
16402 }
093d3ff1 16403 {
7449af73 16404 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 16405 }
d55e5bfc
RD
16406 return resultobj;
16407 fail:
16408 return NULL;
16409}
16410
16411
093d3ff1 16412static PyObject *_wrap_DC_LogicalToDeviceX(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16413 PyObject *resultobj = NULL;
d55e5bfc 16414 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
16415 int arg2 ;
16416 int result;
d55e5bfc 16417 PyObject * obj0 = 0 ;
093d3ff1 16418 PyObject * obj1 = 0 ;
d55e5bfc 16419 char *kwnames[] = {
093d3ff1 16420 (char *) "self",(char *) "x", NULL
d55e5bfc
RD
16421 };
16422
093d3ff1
RD
16423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceX",kwnames,&obj0,&obj1)) goto fail;
16424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16425 if (SWIG_arg_fail(1)) SWIG_fail;
16426 {
7449af73 16427 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16428 if (SWIG_arg_fail(2)) SWIG_fail;
16429 }
d55e5bfc
RD
16430 {
16431 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16432 result = (int)((wxDC const *)arg1)->LogicalToDeviceX(arg2);
d55e5bfc
RD
16433
16434 wxPyEndAllowThreads(__tstate);
16435 if (PyErr_Occurred()) SWIG_fail;
16436 }
093d3ff1 16437 {
7449af73 16438 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 16439 }
d55e5bfc
RD
16440 return resultobj;
16441 fail:
16442 return NULL;
16443}
16444
16445
093d3ff1 16446static PyObject *_wrap_DC_LogicalToDeviceY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16447 PyObject *resultobj = NULL;
d55e5bfc 16448 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
16449 int arg2 ;
16450 int result;
d55e5bfc
RD
16451 PyObject * obj0 = 0 ;
16452 PyObject * obj1 = 0 ;
16453 char *kwnames[] = {
093d3ff1 16454 (char *) "self",(char *) "y", NULL
d55e5bfc
RD
16455 };
16456
093d3ff1
RD
16457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceY",kwnames,&obj0,&obj1)) goto fail;
16458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16459 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 16460 {
7449af73 16461 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 16462 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16463 }
16464 {
16465 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16466 result = (int)((wxDC const *)arg1)->LogicalToDeviceY(arg2);
d55e5bfc
RD
16467
16468 wxPyEndAllowThreads(__tstate);
16469 if (PyErr_Occurred()) SWIG_fail;
16470 }
093d3ff1 16471 {
7449af73 16472 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 16473 }
d55e5bfc
RD
16474 return resultobj;
16475 fail:
16476 return NULL;
16477}
16478
16479
093d3ff1 16480static PyObject *_wrap_DC_LogicalToDeviceXRel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16481 PyObject *resultobj = NULL;
d55e5bfc 16482 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
16483 int arg2 ;
16484 int result;
d55e5bfc
RD
16485 PyObject * obj0 = 0 ;
16486 PyObject * obj1 = 0 ;
16487 char *kwnames[] = {
093d3ff1 16488 (char *) "self",(char *) "x", NULL
d55e5bfc
RD
16489 };
16490
093d3ff1
RD
16491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceXRel",kwnames,&obj0,&obj1)) goto fail;
16492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16493 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 16494 {
7449af73 16495 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 16496 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16497 }
16498 {
16499 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16500 result = (int)((wxDC const *)arg1)->LogicalToDeviceXRel(arg2);
d55e5bfc
RD
16501
16502 wxPyEndAllowThreads(__tstate);
16503 if (PyErr_Occurred()) SWIG_fail;
16504 }
093d3ff1 16505 {
7449af73 16506 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 16507 }
d55e5bfc
RD
16508 return resultobj;
16509 fail:
16510 return NULL;
16511}
16512
16513
093d3ff1 16514static PyObject *_wrap_DC_LogicalToDeviceYRel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16515 PyObject *resultobj = NULL;
d55e5bfc 16516 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16517 int arg2 ;
d55e5bfc
RD
16518 int result;
16519 PyObject * obj0 = 0 ;
093d3ff1 16520 PyObject * obj1 = 0 ;
d55e5bfc 16521 char *kwnames[] = {
093d3ff1 16522 (char *) "self",(char *) "y", NULL
d55e5bfc
RD
16523 };
16524
093d3ff1
RD
16525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceYRel",kwnames,&obj0,&obj1)) goto fail;
16526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16527 if (SWIG_arg_fail(1)) SWIG_fail;
16528 {
7449af73 16529 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16530 if (SWIG_arg_fail(2)) SWIG_fail;
16531 }
d55e5bfc
RD
16532 {
16533 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16534 result = (int)((wxDC const *)arg1)->LogicalToDeviceYRel(arg2);
d55e5bfc
RD
16535
16536 wxPyEndAllowThreads(__tstate);
16537 if (PyErr_Occurred()) SWIG_fail;
16538 }
093d3ff1 16539 {
7449af73 16540 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 16541 }
d55e5bfc
RD
16542 return resultobj;
16543 fail:
16544 return NULL;
16545}
16546
16547
093d3ff1 16548static PyObject *_wrap_DC_CanDrawBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16549 PyObject *resultobj = NULL;
d55e5bfc 16550 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16551 bool result;
d55e5bfc 16552 PyObject * obj0 = 0 ;
d55e5bfc 16553 char *kwnames[] = {
093d3ff1 16554 (char *) "self", NULL
d55e5bfc
RD
16555 };
16556
093d3ff1
RD
16557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_CanDrawBitmap",kwnames,&obj0)) goto fail;
16558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16559 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16560 {
16561 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16562 result = (bool)((wxDC const *)arg1)->CanDrawBitmap();
d55e5bfc
RD
16563
16564 wxPyEndAllowThreads(__tstate);
16565 if (PyErr_Occurred()) SWIG_fail;
16566 }
093d3ff1
RD
16567 {
16568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16569 }
d55e5bfc
RD
16570 return resultobj;
16571 fail:
16572 return NULL;
16573}
16574
16575
093d3ff1 16576static PyObject *_wrap_DC_CanGetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16577 PyObject *resultobj = NULL;
d55e5bfc 16578 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16579 bool result;
d55e5bfc
RD
16580 PyObject * obj0 = 0 ;
16581 char *kwnames[] = {
16582 (char *) "self", NULL
16583 };
16584
093d3ff1
RD
16585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_CanGetTextExtent",kwnames,&obj0)) goto fail;
16586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16587 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16588 {
16589 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16590 result = (bool)((wxDC const *)arg1)->CanGetTextExtent();
d55e5bfc
RD
16591
16592 wxPyEndAllowThreads(__tstate);
16593 if (PyErr_Occurred()) SWIG_fail;
16594 }
093d3ff1
RD
16595 {
16596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16597 }
d55e5bfc
RD
16598 return resultobj;
16599 fail:
16600 return NULL;
16601}
16602
16603
093d3ff1 16604static PyObject *_wrap_DC_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16605 PyObject *resultobj = NULL;
d55e5bfc 16606 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16607 int result;
d55e5bfc 16608 PyObject * obj0 = 0 ;
d55e5bfc 16609 char *kwnames[] = {
093d3ff1 16610 (char *) "self", NULL
d55e5bfc
RD
16611 };
16612
093d3ff1
RD
16613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetDepth",kwnames,&obj0)) goto fail;
16614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16615 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16616 {
16617 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16618 result = (int)((wxDC const *)arg1)->GetDepth();
d55e5bfc
RD
16619
16620 wxPyEndAllowThreads(__tstate);
16621 if (PyErr_Occurred()) SWIG_fail;
16622 }
093d3ff1 16623 {
7449af73 16624 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 16625 }
d55e5bfc
RD
16626 return resultobj;
16627 fail:
16628 return NULL;
16629}
16630
16631
093d3ff1 16632static PyObject *_wrap_DC_GetPPI(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16633 PyObject *resultobj = NULL;
d55e5bfc 16634 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16635 wxSize result;
d55e5bfc
RD
16636 PyObject * obj0 = 0 ;
16637 char *kwnames[] = {
16638 (char *) "self", NULL
16639 };
16640
093d3ff1
RD
16641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetPPI",kwnames,&obj0)) goto fail;
16642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16643 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16644 {
16645 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16646 result = ((wxDC const *)arg1)->GetPPI();
d55e5bfc
RD
16647
16648 wxPyEndAllowThreads(__tstate);
16649 if (PyErr_Occurred()) SWIG_fail;
16650 }
093d3ff1
RD
16651 {
16652 wxSize * resultptr;
7449af73 16653 resultptr = new wxSize(static_cast<wxSize & >(result));
093d3ff1
RD
16654 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16655 }
d55e5bfc
RD
16656 return resultobj;
16657 fail:
16658 return NULL;
16659}
16660
16661
093d3ff1 16662static PyObject *_wrap_DC_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16663 PyObject *resultobj = NULL;
d55e5bfc 16664 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16665 bool result;
d55e5bfc 16666 PyObject * obj0 = 0 ;
d55e5bfc 16667 char *kwnames[] = {
093d3ff1 16668 (char *) "self", NULL
d55e5bfc
RD
16669 };
16670
093d3ff1
RD
16671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_Ok",kwnames,&obj0)) goto fail;
16672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16673 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16674 {
16675 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16676 result = (bool)((wxDC const *)arg1)->Ok();
d55e5bfc
RD
16677
16678 wxPyEndAllowThreads(__tstate);
16679 if (PyErr_Occurred()) SWIG_fail;
16680 }
093d3ff1
RD
16681 {
16682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16683 }
d55e5bfc
RD
16684 return resultobj;
16685 fail:
16686 return NULL;
16687}
16688
16689
093d3ff1 16690static PyObject *_wrap_DC_GetBackgroundMode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16691 PyObject *resultobj = NULL;
d55e5bfc 16692 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16693 int result;
d55e5bfc
RD
16694 PyObject * obj0 = 0 ;
16695 char *kwnames[] = {
16696 (char *) "self", NULL
16697 };
16698
093d3ff1
RD
16699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBackgroundMode",kwnames,&obj0)) goto fail;
16700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16701 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16702 {
16703 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16704 result = (int)((wxDC const *)arg1)->GetBackgroundMode();
d55e5bfc
RD
16705
16706 wxPyEndAllowThreads(__tstate);
16707 if (PyErr_Occurred()) SWIG_fail;
16708 }
16709 {
7449af73 16710 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc
RD
16711 }
16712 return resultobj;
16713 fail:
16714 return NULL;
16715}
16716
16717
093d3ff1 16718static PyObject *_wrap_DC_GetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16719 PyObject *resultobj = NULL;
d55e5bfc 16720 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16721 wxBrush *result;
d55e5bfc
RD
16722 PyObject * obj0 = 0 ;
16723 char *kwnames[] = {
16724 (char *) "self", NULL
16725 };
16726
093d3ff1
RD
16727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBackground",kwnames,&obj0)) goto fail;
16728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16729 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16730 {
16731 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1
RD
16732 {
16733 wxBrush const &_result_ref = ((wxDC const *)arg1)->GetBackground();
16734 result = (wxBrush *) &_result_ref;
16735 }
d55e5bfc
RD
16736
16737 wxPyEndAllowThreads(__tstate);
16738 if (PyErr_Occurred()) SWIG_fail;
16739 }
093d3ff1
RD
16740 {
16741 wxBrush* resultptr = new wxBrush(*result);
16742 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBrush, 1);
16743 }
d55e5bfc
RD
16744 return resultobj;
16745 fail:
16746 return NULL;
16747}
16748
16749
093d3ff1 16750static PyObject *_wrap_DC_GetBrush(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16751 PyObject *resultobj = NULL;
d55e5bfc 16752 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16753 wxBrush *result;
d55e5bfc 16754 PyObject * obj0 = 0 ;
d55e5bfc 16755 char *kwnames[] = {
093d3ff1 16756 (char *) "self", NULL
d55e5bfc
RD
16757 };
16758
093d3ff1
RD
16759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBrush",kwnames,&obj0)) goto fail;
16760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16761 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16762 {
16763 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1
RD
16764 {
16765 wxBrush const &_result_ref = ((wxDC const *)arg1)->GetBrush();
16766 result = (wxBrush *) &_result_ref;
16767 }
d55e5bfc
RD
16768
16769 wxPyEndAllowThreads(__tstate);
16770 if (PyErr_Occurred()) SWIG_fail;
16771 }
093d3ff1
RD
16772 {
16773 wxBrush* resultptr = new wxBrush(*result);
16774 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBrush, 1);
16775 }
d55e5bfc
RD
16776 return resultobj;
16777 fail:
16778 return NULL;
16779}
16780
16781
093d3ff1 16782static PyObject *_wrap_DC_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16783 PyObject *resultobj = NULL;
c24da6d6 16784 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16785 wxFont *result;
c24da6d6 16786 PyObject * obj0 = 0 ;
c24da6d6 16787 char *kwnames[] = {
093d3ff1 16788 (char *) "self", NULL
c24da6d6
RD
16789 };
16790
093d3ff1
RD
16791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetFont",kwnames,&obj0)) goto fail;
16792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16793 if (SWIG_arg_fail(1)) SWIG_fail;
c24da6d6
RD
16794 {
16795 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1
RD
16796 {
16797 wxFont const &_result_ref = ((wxDC const *)arg1)->GetFont();
16798 result = (wxFont *) &_result_ref;
16799 }
c24da6d6
RD
16800
16801 wxPyEndAllowThreads(__tstate);
16802 if (PyErr_Occurred()) SWIG_fail;
16803 }
093d3ff1
RD
16804 {
16805 wxFont* resultptr = new wxFont(*result);
16806 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
16807 }
c24da6d6
RD
16808 return resultobj;
16809 fail:
16810 return NULL;
16811}
16812
16813
093d3ff1 16814static PyObject *_wrap_DC_GetPen(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16815 PyObject *resultobj = NULL;
d55e5bfc 16816 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16817 wxPen *result;
d55e5bfc
RD
16818 PyObject * obj0 = 0 ;
16819 char *kwnames[] = {
16820 (char *) "self", NULL
16821 };
16822
093d3ff1
RD
16823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetPen",kwnames,&obj0)) goto fail;
16824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16825 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16826 {
16827 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1
RD
16828 {
16829 wxPen const &_result_ref = ((wxDC const *)arg1)->GetPen();
16830 result = (wxPen *) &_result_ref;
16831 }
d55e5bfc
RD
16832
16833 wxPyEndAllowThreads(__tstate);
16834 if (PyErr_Occurred()) SWIG_fail;
16835 }
16836 {
093d3ff1
RD
16837 wxPen* resultptr = new wxPen(*result);
16838 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxPen, 1);
d55e5bfc
RD
16839 }
16840 return resultobj;
16841 fail:
16842 return NULL;
16843}
16844
16845
093d3ff1 16846static PyObject *_wrap_DC_GetTextBackground(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16847 PyObject *resultobj = NULL;
d55e5bfc 16848 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16849 wxColour *result;
d55e5bfc
RD
16850 PyObject * obj0 = 0 ;
16851 char *kwnames[] = {
16852 (char *) "self", NULL
16853 };
16854
093d3ff1
RD
16855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetTextBackground",kwnames,&obj0)) goto fail;
16856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16857 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16858 {
16859 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1
RD
16860 {
16861 wxColour const &_result_ref = ((wxDC const *)arg1)->GetTextBackground();
16862 result = (wxColour *) &_result_ref;
16863 }
d55e5bfc
RD
16864
16865 wxPyEndAllowThreads(__tstate);
16866 if (PyErr_Occurred()) SWIG_fail;
16867 }
093d3ff1 16868 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d55e5bfc
RD
16869 return resultobj;
16870 fail:
16871 return NULL;
16872}
16873
16874
093d3ff1 16875static PyObject *_wrap_DC_GetTextForeground(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16876 PyObject *resultobj = NULL;
d55e5bfc 16877 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 16878 wxColour *result;
d55e5bfc 16879 PyObject * obj0 = 0 ;
d55e5bfc 16880 char *kwnames[] = {
093d3ff1 16881 (char *) "self", NULL
d55e5bfc
RD
16882 };
16883
093d3ff1
RD
16884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetTextForeground",kwnames,&obj0)) goto fail;
16885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16886 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16887 {
16888 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1
RD
16889 {
16890 wxColour const &_result_ref = ((wxDC const *)arg1)->GetTextForeground();
16891 result = (wxColour *) &_result_ref;
16892 }
d55e5bfc
RD
16893
16894 wxPyEndAllowThreads(__tstate);
16895 if (PyErr_Occurred()) SWIG_fail;
16896 }
093d3ff1 16897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d55e5bfc
RD
16898 return resultobj;
16899 fail:
16900 return NULL;
16901}
16902
16903
093d3ff1 16904static PyObject *_wrap_DC_SetTextForeground(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16905 PyObject *resultobj = NULL;
c24da6d6 16906 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
16907 wxColour *arg2 = 0 ;
16908 wxColour temp2 ;
c24da6d6
RD
16909 PyObject * obj0 = 0 ;
16910 PyObject * obj1 = 0 ;
16911 char *kwnames[] = {
093d3ff1 16912 (char *) "self",(char *) "colour", NULL
c24da6d6
RD
16913 };
16914
093d3ff1
RD
16915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetTextForeground",kwnames,&obj0,&obj1)) goto fail;
16916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16917 if (SWIG_arg_fail(1)) SWIG_fail;
c24da6d6
RD
16918 {
16919 arg2 = &temp2;
093d3ff1 16920 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
c24da6d6
RD
16921 }
16922 {
16923 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16924 (arg1)->SetTextForeground((wxColour const &)*arg2);
c24da6d6
RD
16925
16926 wxPyEndAllowThreads(__tstate);
16927 if (PyErr_Occurred()) SWIG_fail;
16928 }
16929 Py_INCREF(Py_None); resultobj = Py_None;
16930 return resultobj;
16931 fail:
16932 return NULL;
16933}
16934
16935
093d3ff1 16936static PyObject *_wrap_DC_SetTextBackground(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16937 PyObject *resultobj = NULL;
d55e5bfc 16938 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
16939 wxColour *arg2 = 0 ;
16940 wxColour temp2 ;
d55e5bfc
RD
16941 PyObject * obj0 = 0 ;
16942 PyObject * obj1 = 0 ;
d55e5bfc 16943 char *kwnames[] = {
093d3ff1 16944 (char *) "self",(char *) "colour", NULL
d55e5bfc
RD
16945 };
16946
093d3ff1
RD
16947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetTextBackground",kwnames,&obj0,&obj1)) goto fail;
16948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16949 if (SWIG_arg_fail(1)) SWIG_fail;
16950 {
16951 arg2 = &temp2;
16952 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16953 }
d55e5bfc
RD
16954 {
16955 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16956 (arg1)->SetTextBackground((wxColour const &)*arg2);
d55e5bfc
RD
16957
16958 wxPyEndAllowThreads(__tstate);
16959 if (PyErr_Occurred()) SWIG_fail;
16960 }
16961 Py_INCREF(Py_None); resultobj = Py_None;
16962 return resultobj;
16963 fail:
16964 return NULL;
16965}
16966
16967
093d3ff1 16968static PyObject *_wrap_DC_GetMapMode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16969 PyObject *resultobj = NULL;
d55e5bfc
RD
16970 wxDC *arg1 = (wxDC *) 0 ;
16971 int result;
16972 PyObject * obj0 = 0 ;
16973 char *kwnames[] = {
16974 (char *) "self", NULL
16975 };
16976
093d3ff1
RD
16977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetMapMode",kwnames,&obj0)) goto fail;
16978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16979 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16980 {
16981 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 16982 result = (int)((wxDC const *)arg1)->GetMapMode();
d55e5bfc
RD
16983
16984 wxPyEndAllowThreads(__tstate);
16985 if (PyErr_Occurred()) SWIG_fail;
16986 }
093d3ff1 16987 {
7449af73 16988 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 16989 }
d55e5bfc
RD
16990 return resultobj;
16991 fail:
16992 return NULL;
16993}
16994
16995
093d3ff1 16996static PyObject *_wrap_DC_SetMapMode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16997 PyObject *resultobj = NULL;
d55e5bfc
RD
16998 wxDC *arg1 = (wxDC *) 0 ;
16999 int arg2 ;
17000 PyObject * obj0 = 0 ;
17001 PyObject * obj1 = 0 ;
17002 char *kwnames[] = {
093d3ff1 17003 (char *) "self",(char *) "mode", NULL
d55e5bfc
RD
17004 };
17005
093d3ff1
RD
17006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetMapMode",kwnames,&obj0,&obj1)) goto fail;
17007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17008 if (SWIG_arg_fail(1)) SWIG_fail;
17009 {
7449af73 17010 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17011 if (SWIG_arg_fail(2)) SWIG_fail;
17012 }
d55e5bfc
RD
17013 {
17014 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17015 (arg1)->SetMapMode(arg2);
d55e5bfc
RD
17016
17017 wxPyEndAllowThreads(__tstate);
17018 if (PyErr_Occurred()) SWIG_fail;
17019 }
17020 Py_INCREF(Py_None); resultobj = Py_None;
17021 return resultobj;
17022 fail:
17023 return NULL;
17024}
17025
17026
093d3ff1 17027static PyObject *_wrap_DC_GetUserScale(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17028 PyObject *resultobj = NULL;
5cbf236d 17029 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
17030 double *arg2 = (double *) 0 ;
17031 double *arg3 = (double *) 0 ;
17032 double temp2 ;
17033 int res2 = 0 ;
17034 double temp3 ;
17035 int res3 = 0 ;
5cbf236d
RD
17036 PyObject * obj0 = 0 ;
17037 char *kwnames[] = {
17038 (char *) "self", NULL
17039 };
17040
093d3ff1
RD
17041 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17042 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetUserScale",kwnames,&obj0)) goto fail;
17044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17045 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
17046 {
17047 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17048 ((wxDC const *)arg1)->GetUserScale(arg2,arg3);
5cbf236d
RD
17049
17050 wxPyEndAllowThreads(__tstate);
17051 if (PyErr_Occurred()) SWIG_fail;
17052 }
17053 Py_INCREF(Py_None); resultobj = Py_None;
093d3ff1
RD
17054 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17055 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
17056 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17057 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
5cbf236d
RD
17058 return resultobj;
17059 fail:
17060 return NULL;
17061}
17062
17063
093d3ff1 17064static PyObject *_wrap_DC_SetUserScale(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17065 PyObject *resultobj = NULL;
d55e5bfc 17066 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
17067 double arg2 ;
17068 double arg3 ;
d55e5bfc
RD
17069 PyObject * obj0 = 0 ;
17070 PyObject * obj1 = 0 ;
17071 PyObject * obj2 = 0 ;
17072 char *kwnames[] = {
17073 (char *) "self",(char *) "x",(char *) "y", NULL
17074 };
17075
093d3ff1
RD
17076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetUserScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
17077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17078 if (SWIG_arg_fail(1)) SWIG_fail;
17079 {
7449af73 17080 arg2 = static_cast<double >(SWIG_As_double(obj1));
093d3ff1
RD
17081 if (SWIG_arg_fail(2)) SWIG_fail;
17082 }
17083 {
7449af73 17084 arg3 = static_cast<double >(SWIG_As_double(obj2));
093d3ff1
RD
17085 if (SWIG_arg_fail(3)) SWIG_fail;
17086 }
d55e5bfc
RD
17087 {
17088 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17089 (arg1)->SetUserScale(arg2,arg3);
d55e5bfc
RD
17090
17091 wxPyEndAllowThreads(__tstate);
17092 if (PyErr_Occurred()) SWIG_fail;
17093 }
17094 Py_INCREF(Py_None); resultobj = Py_None;
17095 return resultobj;
17096 fail:
17097 return NULL;
17098}
17099
17100
093d3ff1 17101static PyObject *_wrap_DC_GetLogicalScale(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17102 PyObject *resultobj = NULL;
c24da6d6 17103 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
17104 double *arg2 = (double *) 0 ;
17105 double *arg3 = (double *) 0 ;
17106 double temp2 ;
17107 int res2 = 0 ;
17108 double temp3 ;
17109 int res3 = 0 ;
17110 PyObject * obj0 = 0 ;
17111 char *kwnames[] = {
17112 (char *) "self", NULL
17113 };
17114
17115 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17116 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalScale",kwnames,&obj0)) goto fail;
17118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17119 if (SWIG_arg_fail(1)) SWIG_fail;
17120 {
17121 PyThreadState* __tstate = wxPyBeginAllowThreads();
17122 (arg1)->GetLogicalScale(arg2,arg3);
17123
17124 wxPyEndAllowThreads(__tstate);
17125 if (PyErr_Occurred()) SWIG_fail;
17126 }
17127 Py_INCREF(Py_None); resultobj = Py_None;
17128 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17129 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
17130 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17131 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
17132 return resultobj;
17133 fail:
17134 return NULL;
17135}
17136
17137
17138static PyObject *_wrap_DC_SetLogicalScale(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17139 PyObject *resultobj = NULL;
093d3ff1
RD
17140 wxDC *arg1 = (wxDC *) 0 ;
17141 double arg2 ;
17142 double arg3 ;
c24da6d6
RD
17143 PyObject * obj0 = 0 ;
17144 PyObject * obj1 = 0 ;
093d3ff1 17145 PyObject * obj2 = 0 ;
c24da6d6 17146 char *kwnames[] = {
093d3ff1 17147 (char *) "self",(char *) "x",(char *) "y", NULL
c24da6d6
RD
17148 };
17149
093d3ff1
RD
17150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetLogicalScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
17151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17152 if (SWIG_arg_fail(1)) SWIG_fail;
c24da6d6 17153 {
7449af73 17154 arg2 = static_cast<double >(SWIG_As_double(obj1));
093d3ff1
RD
17155 if (SWIG_arg_fail(2)) SWIG_fail;
17156 }
17157 {
7449af73 17158 arg3 = static_cast<double >(SWIG_As_double(obj2));
093d3ff1 17159 if (SWIG_arg_fail(3)) SWIG_fail;
c24da6d6
RD
17160 }
17161 {
17162 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17163 (arg1)->SetLogicalScale(arg2,arg3);
c24da6d6
RD
17164
17165 wxPyEndAllowThreads(__tstate);
17166 if (PyErr_Occurred()) SWIG_fail;
17167 }
17168 Py_INCREF(Py_None); resultobj = Py_None;
17169 return resultobj;
17170 fail:
17171 return NULL;
17172}
17173
17174
093d3ff1 17175static PyObject *_wrap_DC_GetLogicalOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17176 PyObject *resultobj = NULL;
d55e5bfc 17177 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 17178 wxPoint result;
d55e5bfc
RD
17179 PyObject * obj0 = 0 ;
17180 char *kwnames[] = {
17181 (char *) "self", NULL
17182 };
17183
093d3ff1
RD
17184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalOrigin",kwnames,&obj0)) goto fail;
17185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17186 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17187 {
17188 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17189 result = ((wxDC const *)arg1)->GetLogicalOrigin();
d55e5bfc
RD
17190
17191 wxPyEndAllowThreads(__tstate);
17192 if (PyErr_Occurred()) SWIG_fail;
17193 }
093d3ff1
RD
17194 {
17195 wxPoint * resultptr;
7449af73 17196 resultptr = new wxPoint(static_cast<wxPoint & >(result));
093d3ff1
RD
17197 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
17198 }
d55e5bfc
RD
17199 return resultobj;
17200 fail:
17201 return NULL;
17202}
17203
17204
093d3ff1 17205static PyObject *_wrap_DC_GetLogicalOriginTuple(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17206 PyObject *resultobj = NULL;
d55e5bfc 17207 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
17208 int *arg2 = (int *) 0 ;
17209 int *arg3 = (int *) 0 ;
17210 int temp2 ;
17211 int res2 = 0 ;
17212 int temp3 ;
17213 int res3 = 0 ;
d55e5bfc
RD
17214 PyObject * obj0 = 0 ;
17215 char *kwnames[] = {
17216 (char *) "self", NULL
17217 };
17218
093d3ff1
RD
17219 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17220 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalOriginTuple",kwnames,&obj0)) goto fail;
17222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17223 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17224 {
17225 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17226 ((wxDC const *)arg1)->GetLogicalOrigin(arg2,arg3);
d55e5bfc
RD
17227
17228 wxPyEndAllowThreads(__tstate);
17229 if (PyErr_Occurred()) SWIG_fail;
17230 }
093d3ff1
RD
17231 Py_INCREF(Py_None); resultobj = Py_None;
17232 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17233 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17234 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17235 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
17236 return resultobj;
17237 fail:
17238 return NULL;
17239}
17240
17241
093d3ff1 17242static PyObject *_wrap_DC_SetLogicalOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17243 PyObject *resultobj = NULL;
d55e5bfc 17244 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
17245 int arg2 ;
17246 int arg3 ;
d55e5bfc 17247 PyObject * obj0 = 0 ;
093d3ff1
RD
17248 PyObject * obj1 = 0 ;
17249 PyObject * obj2 = 0 ;
d55e5bfc 17250 char *kwnames[] = {
093d3ff1 17251 (char *) "self",(char *) "x",(char *) "y", NULL
d55e5bfc
RD
17252 };
17253
093d3ff1
RD
17254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) goto fail;
17255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17256 if (SWIG_arg_fail(1)) SWIG_fail;
17257 {
7449af73 17258 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17259 if (SWIG_arg_fail(2)) SWIG_fail;
17260 }
17261 {
7449af73 17262 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
17263 if (SWIG_arg_fail(3)) SWIG_fail;
17264 }
d55e5bfc
RD
17265 {
17266 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17267 (arg1)->SetLogicalOrigin(arg2,arg3);
d55e5bfc
RD
17268
17269 wxPyEndAllowThreads(__tstate);
17270 if (PyErr_Occurred()) SWIG_fail;
17271 }
093d3ff1 17272 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
17273 return resultobj;
17274 fail:
17275 return NULL;
17276}
17277
17278
093d3ff1 17279static PyObject *_wrap_DC_SetLogicalOriginPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17280 PyObject *resultobj = NULL;
d55e5bfc 17281 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
17282 wxPoint *arg2 = 0 ;
17283 wxPoint temp2 ;
d55e5bfc 17284 PyObject * obj0 = 0 ;
093d3ff1 17285 PyObject * obj1 = 0 ;
d55e5bfc 17286 char *kwnames[] = {
093d3ff1 17287 (char *) "self",(char *) "point", NULL
d55e5bfc
RD
17288 };
17289
093d3ff1
RD
17290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetLogicalOriginPoint",kwnames,&obj0,&obj1)) goto fail;
17291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17292 if (SWIG_arg_fail(1)) SWIG_fail;
17293 {
17294 arg2 = &temp2;
17295 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17296 }
d55e5bfc
RD
17297 {
17298 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17299 wxDC_SetLogicalOriginPoint(arg1,(wxPoint const &)*arg2);
d55e5bfc
RD
17300
17301 wxPyEndAllowThreads(__tstate);
17302 if (PyErr_Occurred()) SWIG_fail;
17303 }
093d3ff1 17304 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
17305 return resultobj;
17306 fail:
17307 return NULL;
17308}
17309
17310
093d3ff1 17311static PyObject *_wrap_DC_GetDeviceOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17312 PyObject *resultobj = NULL;
d55e5bfc 17313 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 17314 wxPoint result;
d55e5bfc
RD
17315 PyObject * obj0 = 0 ;
17316 char *kwnames[] = {
17317 (char *) "self", NULL
17318 };
17319
093d3ff1
RD
17320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetDeviceOrigin",kwnames,&obj0)) goto fail;
17321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17322 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17323 {
17324 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17325 result = ((wxDC const *)arg1)->GetDeviceOrigin();
d55e5bfc
RD
17326
17327 wxPyEndAllowThreads(__tstate);
17328 if (PyErr_Occurred()) SWIG_fail;
17329 }
093d3ff1
RD
17330 {
17331 wxPoint * resultptr;
7449af73 17332 resultptr = new wxPoint(static_cast<wxPoint & >(result));
093d3ff1
RD
17333 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
17334 }
d55e5bfc
RD
17335 return resultobj;
17336 fail:
17337 return NULL;
17338}
17339
17340
093d3ff1 17341static PyObject *_wrap_DC_GetDeviceOriginTuple(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17342 PyObject *resultobj = NULL;
d55e5bfc
RD
17343 wxDC *arg1 = (wxDC *) 0 ;
17344 int *arg2 = (int *) 0 ;
17345 int *arg3 = (int *) 0 ;
d55e5bfc 17346 int temp2 ;
c32bde28 17347 int res2 = 0 ;
d55e5bfc 17348 int temp3 ;
c32bde28 17349 int res3 = 0 ;
d55e5bfc
RD
17350 PyObject * obj0 = 0 ;
17351 char *kwnames[] = {
17352 (char *) "self", NULL
17353 };
17354
c32bde28
RD
17355 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17356 arg3 = &temp3; res3 = SWIG_NEWOBJ;
093d3ff1
RD
17357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetDeviceOriginTuple",kwnames,&obj0)) goto fail;
17358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17359 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17360 {
17361 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17362 ((wxDC const *)arg1)->GetDeviceOrigin(arg2,arg3);
d55e5bfc
RD
17363
17364 wxPyEndAllowThreads(__tstate);
17365 if (PyErr_Occurred()) SWIG_fail;
17366 }
17367 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
17368 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17369 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17370 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17371 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
17372 return resultobj;
17373 fail:
17374 return NULL;
17375}
17376
17377
093d3ff1 17378static PyObject *_wrap_DC_SetDeviceOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17379 PyObject *resultobj = NULL;
0439c23b 17380 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
17381 int arg2 ;
17382 int arg3 ;
0439c23b 17383 PyObject * obj0 = 0 ;
093d3ff1
RD
17384 PyObject * obj1 = 0 ;
17385 PyObject * obj2 = 0 ;
0439c23b 17386 char *kwnames[] = {
093d3ff1 17387 (char *) "self",(char *) "x",(char *) "y", NULL
0439c23b
RD
17388 };
17389
093d3ff1
RD
17390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetDeviceOrigin",kwnames,&obj0,&obj1,&obj2)) goto fail;
17391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17392 if (SWIG_arg_fail(1)) SWIG_fail;
17393 {
7449af73 17394 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17395 if (SWIG_arg_fail(2)) SWIG_fail;
17396 }
17397 {
7449af73 17398 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
17399 if (SWIG_arg_fail(3)) SWIG_fail;
17400 }
0439c23b
RD
17401 {
17402 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17403 (arg1)->SetDeviceOrigin(arg2,arg3);
0439c23b
RD
17404
17405 wxPyEndAllowThreads(__tstate);
17406 if (PyErr_Occurred()) SWIG_fail;
17407 }
093d3ff1 17408 Py_INCREF(Py_None); resultobj = Py_None;
0439c23b
RD
17409 return resultobj;
17410 fail:
17411 return NULL;
17412}
17413
17414
093d3ff1 17415static PyObject *_wrap_DC_SetDeviceOriginPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17416 PyObject *resultobj = NULL;
d55e5bfc 17417 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
17418 wxPoint *arg2 = 0 ;
17419 wxPoint temp2 ;
d55e5bfc
RD
17420 PyObject * obj0 = 0 ;
17421 PyObject * obj1 = 0 ;
d55e5bfc 17422 char *kwnames[] = {
093d3ff1 17423 (char *) "self",(char *) "point", NULL
d55e5bfc
RD
17424 };
17425
093d3ff1
RD
17426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetDeviceOriginPoint",kwnames,&obj0,&obj1)) goto fail;
17427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17428 if (SWIG_arg_fail(1)) SWIG_fail;
17429 {
17430 arg2 = &temp2;
17431 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17432 }
d55e5bfc
RD
17433 {
17434 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17435 wxDC_SetDeviceOriginPoint(arg1,(wxPoint const &)*arg2);
d55e5bfc
RD
17436
17437 wxPyEndAllowThreads(__tstate);
17438 if (PyErr_Occurred()) SWIG_fail;
17439 }
093d3ff1 17440 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
17441 return resultobj;
17442 fail:
17443 return NULL;
17444}
17445
17446
093d3ff1 17447static PyObject *_wrap_DC_SetAxisOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17448 PyObject *resultobj = NULL;
d55e5bfc 17449 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
17450 bool arg2 ;
17451 bool arg3 ;
d55e5bfc
RD
17452 PyObject * obj0 = 0 ;
17453 PyObject * obj1 = 0 ;
17454 PyObject * obj2 = 0 ;
d55e5bfc 17455 char *kwnames[] = {
093d3ff1 17456 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
d55e5bfc
RD
17457 };
17458
093d3ff1
RD
17459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetAxisOrientation",kwnames,&obj0,&obj1,&obj2)) goto fail;
17460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17461 if (SWIG_arg_fail(1)) SWIG_fail;
17462 {
7449af73 17463 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
17464 if (SWIG_arg_fail(2)) SWIG_fail;
17465 }
17466 {
7449af73 17467 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
17468 if (SWIG_arg_fail(3)) SWIG_fail;
17469 }
d55e5bfc
RD
17470 {
17471 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17472 (arg1)->SetAxisOrientation(arg2,arg3);
d55e5bfc
RD
17473
17474 wxPyEndAllowThreads(__tstate);
17475 if (PyErr_Occurred()) SWIG_fail;
17476 }
093d3ff1 17477 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
17478 return resultobj;
17479 fail:
17480 return NULL;
17481}
17482
17483
093d3ff1 17484static PyObject *_wrap_DC_GetLogicalFunction(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17485 PyObject *resultobj = NULL;
d55e5bfc 17486 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 17487 int result;
d55e5bfc 17488 PyObject * obj0 = 0 ;
d55e5bfc 17489 char *kwnames[] = {
093d3ff1 17490 (char *) "self", NULL
d55e5bfc
RD
17491 };
17492
093d3ff1
RD
17493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalFunction",kwnames,&obj0)) goto fail;
17494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17495 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17496 {
17497 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17498 result = (int)((wxDC const *)arg1)->GetLogicalFunction();
d55e5bfc
RD
17499
17500 wxPyEndAllowThreads(__tstate);
17501 if (PyErr_Occurred()) SWIG_fail;
17502 }
093d3ff1 17503 {
7449af73 17504 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17505 }
d55e5bfc
RD
17506 return resultobj;
17507 fail:
17508 return NULL;
17509}
17510
17511
093d3ff1 17512static PyObject *_wrap_DC_SetLogicalFunction(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17513 PyObject *resultobj = NULL;
d55e5bfc 17514 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 17515 int arg2 ;
d55e5bfc
RD
17516 PyObject * obj0 = 0 ;
17517 PyObject * obj1 = 0 ;
d55e5bfc 17518 char *kwnames[] = {
093d3ff1 17519 (char *) "self",(char *) "function", NULL
d55e5bfc
RD
17520 };
17521
093d3ff1
RD
17522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetLogicalFunction",kwnames,&obj0,&obj1)) goto fail;
17523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17524 if (SWIG_arg_fail(1)) SWIG_fail;
17525 {
7449af73 17526 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17527 if (SWIG_arg_fail(2)) SWIG_fail;
17528 }
d55e5bfc
RD
17529 {
17530 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17531 (arg1)->SetLogicalFunction(arg2);
d55e5bfc
RD
17532
17533 wxPyEndAllowThreads(__tstate);
17534 if (PyErr_Occurred()) SWIG_fail;
17535 }
093d3ff1 17536 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
17537 return resultobj;
17538 fail:
17539 return NULL;
17540}
17541
17542
093d3ff1 17543static PyObject *_wrap_DC_ComputeScaleAndOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17544 PyObject *resultobj = NULL;
d55e5bfc 17545 wxDC *arg1 = (wxDC *) 0 ;
d55e5bfc 17546 PyObject * obj0 = 0 ;
d55e5bfc 17547 char *kwnames[] = {
093d3ff1 17548 (char *) "self", NULL
d55e5bfc
RD
17549 };
17550
093d3ff1
RD
17551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_ComputeScaleAndOrigin",kwnames,&obj0)) goto fail;
17552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17553 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17554 {
17555 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17556 (arg1)->ComputeScaleAndOrigin();
d55e5bfc
RD
17557
17558 wxPyEndAllowThreads(__tstate);
17559 if (PyErr_Occurred()) SWIG_fail;
17560 }
093d3ff1 17561 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
17562 return resultobj;
17563 fail:
17564 return NULL;
17565}
17566
17567
093d3ff1 17568static PyObject *_wrap_DC_CalcBoundingBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17569 PyObject *resultobj = NULL;
d55e5bfc 17570 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1
RD
17571 int arg2 ;
17572 int arg3 ;
d55e5bfc
RD
17573 PyObject * obj0 = 0 ;
17574 PyObject * obj1 = 0 ;
17575 PyObject * obj2 = 0 ;
d55e5bfc 17576 char *kwnames[] = {
093d3ff1 17577 (char *) "self",(char *) "x",(char *) "y", NULL
d55e5bfc
RD
17578 };
17579
093d3ff1
RD
17580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_CalcBoundingBox",kwnames,&obj0,&obj1,&obj2)) goto fail;
17581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17582 if (SWIG_arg_fail(1)) SWIG_fail;
17583 {
7449af73 17584 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17585 if (SWIG_arg_fail(2)) SWIG_fail;
17586 }
17587 {
7449af73 17588 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
17589 if (SWIG_arg_fail(3)) SWIG_fail;
17590 }
d55e5bfc
RD
17591 {
17592 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17593 (arg1)->CalcBoundingBox(arg2,arg3);
d55e5bfc
RD
17594
17595 wxPyEndAllowThreads(__tstate);
17596 if (PyErr_Occurred()) SWIG_fail;
17597 }
093d3ff1 17598 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
17599 return resultobj;
17600 fail:
17601 return NULL;
17602}
17603
17604
093d3ff1 17605static PyObject *_wrap_DC_CalcBoundingBoxPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17606 PyObject *resultobj = NULL;
093d3ff1
RD
17607 wxDC *arg1 = (wxDC *) 0 ;
17608 wxPoint *arg2 = 0 ;
17609 wxPoint temp2 ;
17610 PyObject * obj0 = 0 ;
17611 PyObject * obj1 = 0 ;
d55e5bfc 17612 char *kwnames[] = {
093d3ff1 17613 (char *) "self",(char *) "point", NULL
d55e5bfc
RD
17614 };
17615
093d3ff1
RD
17616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames,&obj0,&obj1)) goto fail;
17617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17618 if (SWIG_arg_fail(1)) SWIG_fail;
17619 {
17620 arg2 = &temp2;
17621 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17622 }
d55e5bfc
RD
17623 {
17624 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17625 wxDC_CalcBoundingBoxPoint(arg1,(wxPoint const &)*arg2);
d55e5bfc
RD
17626
17627 wxPyEndAllowThreads(__tstate);
110da5b0 17628 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17629 }
093d3ff1 17630 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
17631 return resultobj;
17632 fail:
17633 return NULL;
17634}
17635
17636
093d3ff1 17637static PyObject *_wrap_DC_ResetBoundingBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17638 PyObject *resultobj = NULL;
d55e5bfc 17639 wxDC *arg1 = (wxDC *) 0 ;
d55e5bfc
RD
17640 PyObject * obj0 = 0 ;
17641 char *kwnames[] = {
093d3ff1 17642 (char *) "self", NULL
d55e5bfc
RD
17643 };
17644
093d3ff1
RD
17645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_ResetBoundingBox",kwnames,&obj0)) goto fail;
17646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17647 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17648 {
17649 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17650 (arg1)->ResetBoundingBox();
d55e5bfc
RD
17651
17652 wxPyEndAllowThreads(__tstate);
110da5b0 17653 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17654 }
093d3ff1 17655 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
17656 return resultobj;
17657 fail:
17658 return NULL;
17659}
17660
17661
093d3ff1 17662static PyObject *_wrap_DC_MinX(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17663 PyObject *resultobj = NULL;
093d3ff1
RD
17664 wxDC *arg1 = (wxDC *) 0 ;
17665 int result;
d55e5bfc 17666 PyObject * obj0 = 0 ;
d55e5bfc 17667 char *kwnames[] = {
093d3ff1 17668 (char *) "self", NULL
d55e5bfc
RD
17669 };
17670
093d3ff1
RD
17671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MinX",kwnames,&obj0)) goto fail;
17672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17673 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17674 {
17675 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17676 result = (int)((wxDC const *)arg1)->MinX();
d55e5bfc
RD
17677
17678 wxPyEndAllowThreads(__tstate);
17679 if (PyErr_Occurred()) SWIG_fail;
17680 }
093d3ff1 17681 {
7449af73 17682 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17683 }
d55e5bfc
RD
17684 return resultobj;
17685 fail:
17686 return NULL;
17687}
17688
17689
093d3ff1 17690static PyObject *_wrap_DC_MaxX(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17691 PyObject *resultobj = NULL;
d55e5bfc 17692 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 17693 int result;
d55e5bfc 17694 PyObject * obj0 = 0 ;
093d3ff1
RD
17695 char *kwnames[] = {
17696 (char *) "self", NULL
17697 };
d55e5bfc 17698
093d3ff1
RD
17699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MaxX",kwnames,&obj0)) goto fail;
17700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17701 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17702 {
17703 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17704 result = (int)((wxDC const *)arg1)->MaxX();
d55e5bfc
RD
17705
17706 wxPyEndAllowThreads(__tstate);
110da5b0 17707 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17708 }
093d3ff1 17709 {
7449af73 17710 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17711 }
d55e5bfc
RD
17712 return resultobj;
17713 fail:
17714 return NULL;
17715}
17716
17717
093d3ff1 17718static PyObject *_wrap_DC_MinY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17719 PyObject *resultobj = NULL;
d55e5bfc 17720 wxDC *arg1 = (wxDC *) 0 ;
093d3ff1 17721 int result;
d55e5bfc 17722 PyObject * obj0 = 0 ;
093d3ff1
RD
17723 char *kwnames[] = {
17724 (char *) "self", NULL
17725 };
d55e5bfc 17726
093d3ff1
RD
17727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MinY",kwnames,&obj0)) goto fail;
17728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17729 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17730 {
17731 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17732 result = (int)((wxDC const *)arg1)->MinY();
d55e5bfc
RD
17733
17734 wxPyEndAllowThreads(__tstate);
110da5b0 17735 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17736 }
093d3ff1 17737 {
7449af73 17738 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17739 }
d55e5bfc
RD
17740 return resultobj;
17741 fail:
17742 return NULL;
17743}
17744
17745
093d3ff1 17746static PyObject *_wrap_DC_MaxY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17747 PyObject *resultobj = NULL;
093d3ff1
RD
17748 wxDC *arg1 = (wxDC *) 0 ;
17749 int result;
d55e5bfc
RD
17750 PyObject * obj0 = 0 ;
17751 char *kwnames[] = {
17752 (char *) "self", NULL
17753 };
17754
093d3ff1
RD
17755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MaxY",kwnames,&obj0)) goto fail;
17756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17757 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17758 {
17759 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17760 result = (int)((wxDC const *)arg1)->MaxY();
d55e5bfc
RD
17761
17762 wxPyEndAllowThreads(__tstate);
17763 if (PyErr_Occurred()) SWIG_fail;
17764 }
093d3ff1 17765 {
7449af73 17766 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17767 }
d55e5bfc
RD
17768 return resultobj;
17769 fail:
17770 return NULL;
17771}
17772
17773
093d3ff1 17774static PyObject *_wrap_DC_GetBoundingBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17775 PyObject *resultobj = NULL;
093d3ff1
RD
17776 wxDC *arg1 = (wxDC *) 0 ;
17777 int *arg2 = (int *) 0 ;
17778 int *arg3 = (int *) 0 ;
17779 int *arg4 = (int *) 0 ;
17780 int *arg5 = (int *) 0 ;
17781 int temp2 ;
17782 int res2 = 0 ;
17783 int temp3 ;
17784 int res3 = 0 ;
17785 int temp4 ;
17786 int res4 = 0 ;
17787 int temp5 ;
17788 int res5 = 0 ;
d55e5bfc
RD
17789 PyObject * obj0 = 0 ;
17790 char *kwnames[] = {
17791 (char *) "self", NULL
17792 };
17793
093d3ff1
RD
17794 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17795 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17796 arg4 = &temp4; res4 = SWIG_NEWOBJ;
17797 arg5 = &temp5; res5 = SWIG_NEWOBJ;
17798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBoundingBox",kwnames,&obj0)) goto fail;
17799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17800 if (SWIG_arg_fail(1)) SWIG_fail;
17801 {
17802 PyThreadState* __tstate = wxPyBeginAllowThreads();
17803 wxDC_GetBoundingBox(arg1,arg2,arg3,arg4,arg5);
d55e5bfc
RD
17804
17805 wxPyEndAllowThreads(__tstate);
17806 if (PyErr_Occurred()) SWIG_fail;
17807 }
17808 Py_INCREF(Py_None); resultobj = Py_None;
093d3ff1
RD
17809 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17810 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17811 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17812 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17813 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
17814 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
17815 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
17816 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
17817 return resultobj;
17818 fail:
17819 return NULL;
17820}
17821
17822
093d3ff1 17823static PyObject *_wrap_DC_GetHDC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17824 PyObject *resultobj = NULL;
093d3ff1
RD
17825 wxDC *arg1 = (wxDC *) 0 ;
17826 long result;
d55e5bfc 17827 PyObject * obj0 = 0 ;
d55e5bfc 17828 char *kwnames[] = {
093d3ff1 17829 (char *) "self", NULL
d55e5bfc
RD
17830 };
17831
093d3ff1
RD
17832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetHDC",kwnames,&obj0)) goto fail;
17833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17834 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17835 {
17836 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17837 result = (long)(arg1)->GetHDC();
d55e5bfc
RD
17838
17839 wxPyEndAllowThreads(__tstate);
110da5b0 17840 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17841 }
093d3ff1 17842 {
7449af73 17843 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 17844 }
d55e5bfc
RD
17845 return resultobj;
17846 fail:
17847 return NULL;
17848}
17849
17850
093d3ff1 17851static PyObject *_wrap_DC__DrawPointList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17852 PyObject *resultobj = NULL;
093d3ff1
RD
17853 wxDC *arg1 = (wxDC *) 0 ;
17854 PyObject *arg2 = (PyObject *) 0 ;
17855 PyObject *arg3 = (PyObject *) 0 ;
17856 PyObject *arg4 = (PyObject *) 0 ;
17857 PyObject *result;
17858 PyObject * obj0 = 0 ;
17859 PyObject * obj1 = 0 ;
17860 PyObject * obj2 = 0 ;
17861 PyObject * obj3 = 0 ;
d55e5bfc 17862 char *kwnames[] = {
093d3ff1 17863 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
d55e5bfc
RD
17864 };
17865
093d3ff1
RD
17866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawPointList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17868 if (SWIG_arg_fail(1)) SWIG_fail;
17869 arg2 = obj1;
17870 arg3 = obj2;
17871 arg4 = obj3;
d55e5bfc
RD
17872 {
17873 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17874 result = (PyObject *)wxDC__DrawPointList(arg1,arg2,arg3,arg4);
d55e5bfc
RD
17875
17876 wxPyEndAllowThreads(__tstate);
110da5b0 17877 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17878 }
093d3ff1 17879 resultobj = result;
d55e5bfc
RD
17880 return resultobj;
17881 fail:
17882 return NULL;
17883}
17884
17885
093d3ff1 17886static PyObject *_wrap_DC__DrawLineList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17887 PyObject *resultobj = NULL;
093d3ff1
RD
17888 wxDC *arg1 = (wxDC *) 0 ;
17889 PyObject *arg2 = (PyObject *) 0 ;
17890 PyObject *arg3 = (PyObject *) 0 ;
17891 PyObject *arg4 = (PyObject *) 0 ;
17892 PyObject *result;
d55e5bfc
RD
17893 PyObject * obj0 = 0 ;
17894 PyObject * obj1 = 0 ;
093d3ff1
RD
17895 PyObject * obj2 = 0 ;
17896 PyObject * obj3 = 0 ;
d55e5bfc 17897 char *kwnames[] = {
093d3ff1 17898 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
d55e5bfc
RD
17899 };
17900
093d3ff1
RD
17901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawLineList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17903 if (SWIG_arg_fail(1)) SWIG_fail;
17904 arg2 = obj1;
17905 arg3 = obj2;
17906 arg4 = obj3;
d55e5bfc
RD
17907 {
17908 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17909 result = (PyObject *)wxDC__DrawLineList(arg1,arg2,arg3,arg4);
d55e5bfc
RD
17910
17911 wxPyEndAllowThreads(__tstate);
17912 if (PyErr_Occurred()) SWIG_fail;
17913 }
093d3ff1 17914 resultobj = result;
d55e5bfc
RD
17915 return resultobj;
17916 fail:
17917 return NULL;
17918}
17919
17920
093d3ff1 17921static PyObject *_wrap_DC__DrawRectangleList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17922 PyObject *resultobj = NULL;
093d3ff1
RD
17923 wxDC *arg1 = (wxDC *) 0 ;
17924 PyObject *arg2 = (PyObject *) 0 ;
17925 PyObject *arg3 = (PyObject *) 0 ;
17926 PyObject *arg4 = (PyObject *) 0 ;
17927 PyObject *result;
d55e5bfc
RD
17928 PyObject * obj0 = 0 ;
17929 PyObject * obj1 = 0 ;
093d3ff1
RD
17930 PyObject * obj2 = 0 ;
17931 PyObject * obj3 = 0 ;
d55e5bfc 17932 char *kwnames[] = {
093d3ff1 17933 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
d55e5bfc
RD
17934 };
17935
093d3ff1
RD
17936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawRectangleList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17938 if (SWIG_arg_fail(1)) SWIG_fail;
17939 arg2 = obj1;
17940 arg3 = obj2;
17941 arg4 = obj3;
d55e5bfc
RD
17942 {
17943 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17944 result = (PyObject *)wxDC__DrawRectangleList(arg1,arg2,arg3,arg4);
d55e5bfc
RD
17945
17946 wxPyEndAllowThreads(__tstate);
17947 if (PyErr_Occurred()) SWIG_fail;
17948 }
093d3ff1 17949 resultobj = result;
d55e5bfc
RD
17950 return resultobj;
17951 fail:
17952 return NULL;
17953}
17954
17955
093d3ff1 17956static PyObject *_wrap_DC__DrawEllipseList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17957 PyObject *resultobj = NULL;
093d3ff1
RD
17958 wxDC *arg1 = (wxDC *) 0 ;
17959 PyObject *arg2 = (PyObject *) 0 ;
17960 PyObject *arg3 = (PyObject *) 0 ;
17961 PyObject *arg4 = (PyObject *) 0 ;
17962 PyObject *result;
d55e5bfc 17963 PyObject * obj0 = 0 ;
093d3ff1
RD
17964 PyObject * obj1 = 0 ;
17965 PyObject * obj2 = 0 ;
17966 PyObject * obj3 = 0 ;
d55e5bfc 17967 char *kwnames[] = {
093d3ff1 17968 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
d55e5bfc
RD
17969 };
17970
093d3ff1
RD
17971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawEllipseList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17973 if (SWIG_arg_fail(1)) SWIG_fail;
17974 arg2 = obj1;
17975 arg3 = obj2;
17976 arg4 = obj3;
d55e5bfc
RD
17977 {
17978 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17979 result = (PyObject *)wxDC__DrawEllipseList(arg1,arg2,arg3,arg4);
d55e5bfc
RD
17980
17981 wxPyEndAllowThreads(__tstate);
17982 if (PyErr_Occurred()) SWIG_fail;
17983 }
093d3ff1 17984 resultobj = result;
d55e5bfc
RD
17985 return resultobj;
17986 fail:
17987 return NULL;
17988}
17989
17990
093d3ff1 17991static PyObject *_wrap_DC__DrawPolygonList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17992 PyObject *resultobj = NULL;
093d3ff1
RD
17993 wxDC *arg1 = (wxDC *) 0 ;
17994 PyObject *arg2 = (PyObject *) 0 ;
17995 PyObject *arg3 = (PyObject *) 0 ;
17996 PyObject *arg4 = (PyObject *) 0 ;
17997 PyObject *result;
d55e5bfc 17998 PyObject * obj0 = 0 ;
093d3ff1
RD
17999 PyObject * obj1 = 0 ;
18000 PyObject * obj2 = 0 ;
18001 PyObject * obj3 = 0 ;
d55e5bfc 18002 char *kwnames[] = {
093d3ff1 18003 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
d55e5bfc
RD
18004 };
18005
093d3ff1
RD
18006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawPolygonList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18008 if (SWIG_arg_fail(1)) SWIG_fail;
18009 arg2 = obj1;
18010 arg3 = obj2;
18011 arg4 = obj3;
d55e5bfc
RD
18012 {
18013 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18014 result = (PyObject *)wxDC__DrawPolygonList(arg1,arg2,arg3,arg4);
d55e5bfc
RD
18015
18016 wxPyEndAllowThreads(__tstate);
110da5b0 18017 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 18018 }
093d3ff1 18019 resultobj = result;
d55e5bfc
RD
18020 return resultobj;
18021 fail:
18022 return NULL;
18023}
18024
18025
093d3ff1 18026static PyObject *_wrap_DC__DrawTextList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18027 PyObject *resultobj = NULL;
093d3ff1
RD
18028 wxDC *arg1 = (wxDC *) 0 ;
18029 PyObject *arg2 = (PyObject *) 0 ;
18030 PyObject *arg3 = (PyObject *) 0 ;
18031 PyObject *arg4 = (PyObject *) 0 ;
18032 PyObject *arg5 = (PyObject *) 0 ;
18033 PyObject *result;
d55e5bfc 18034 PyObject * obj0 = 0 ;
093d3ff1
RD
18035 PyObject * obj1 = 0 ;
18036 PyObject * obj2 = 0 ;
18037 PyObject * obj3 = 0 ;
18038 PyObject * obj4 = 0 ;
d55e5bfc 18039 char *kwnames[] = {
093d3ff1 18040 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
d55e5bfc
RD
18041 };
18042
093d3ff1
RD
18043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC__DrawTextList",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18045 if (SWIG_arg_fail(1)) SWIG_fail;
18046 arg2 = obj1;
18047 arg3 = obj2;
18048 arg4 = obj3;
18049 arg5 = obj4;
d55e5bfc
RD
18050 {
18051 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18052 result = (PyObject *)wxDC__DrawTextList(arg1,arg2,arg3,arg4,arg5);
d55e5bfc
RD
18053
18054 wxPyEndAllowThreads(__tstate);
110da5b0 18055 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 18056 }
093d3ff1 18057 resultobj = result;
d55e5bfc
RD
18058 return resultobj;
18059 fail:
18060 return NULL;
18061}
18062
18063
093d3ff1 18064static PyObject * DC_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18065 PyObject *obj;
18066 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
093d3ff1 18067 SWIG_TypeClientData(SWIGTYPE_p_wxDC, obj);
d55e5bfc
RD
18068 Py_INCREF(obj);
18069 return Py_BuildValue((char *)"");
18070}
093d3ff1 18071static PyObject *_wrap_new_MemoryDC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18072 PyObject *resultobj = NULL;
093d3ff1 18073 wxMemoryDC *result;
d55e5bfc 18074 char *kwnames[] = {
093d3ff1 18075 NULL
d55e5bfc
RD
18076 };
18077
093d3ff1 18078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryDC",kwnames)) goto fail;
d55e5bfc 18079 {
0439c23b 18080 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 18081 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18082 result = (wxMemoryDC *)new wxMemoryDC();
d55e5bfc
RD
18083
18084 wxPyEndAllowThreads(__tstate);
110da5b0 18085 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 18086 }
093d3ff1 18087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryDC, 1);
d55e5bfc
RD
18088 return resultobj;
18089 fail:
18090 return NULL;
18091}
18092
18093
093d3ff1 18094static PyObject *_wrap_new_MemoryDCFromDC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18095 PyObject *resultobj = NULL;
093d3ff1
RD
18096 wxDC *arg1 = (wxDC *) 0 ;
18097 wxMemoryDC *result;
d55e5bfc 18098 PyObject * obj0 = 0 ;
d55e5bfc 18099 char *kwnames[] = {
093d3ff1 18100 (char *) "oldDC", NULL
d55e5bfc
RD
18101 };
18102
093d3ff1
RD
18103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_MemoryDCFromDC",kwnames,&obj0)) goto fail;
18104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18105 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 18106 {
0439c23b 18107 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 18108 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18109 result = (wxMemoryDC *)new wxMemoryDC(arg1);
d55e5bfc
RD
18110
18111 wxPyEndAllowThreads(__tstate);
110da5b0 18112 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 18113 }
093d3ff1 18114 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryDC, 1);
d55e5bfc
RD
18115 return resultobj;
18116 fail:
18117 return NULL;
18118}
18119
18120
093d3ff1 18121static PyObject *_wrap_MemoryDC_SelectObject(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18122 PyObject *resultobj = NULL;
093d3ff1
RD
18123 wxMemoryDC *arg1 = (wxMemoryDC *) 0 ;
18124 wxBitmap *arg2 = 0 ;
d55e5bfc 18125 PyObject * obj0 = 0 ;
093d3ff1 18126 PyObject * obj1 = 0 ;
d55e5bfc 18127 char *kwnames[] = {
093d3ff1 18128 (char *) "self",(char *) "bitmap", NULL
d55e5bfc
RD
18129 };
18130
093d3ff1
RD
18131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryDC_SelectObject",kwnames,&obj0,&obj1)) goto fail;
18132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
18133 if (SWIG_arg_fail(1)) SWIG_fail;
18134 {
18135 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
18136 if (SWIG_arg_fail(2)) SWIG_fail;
18137 if (arg2 == NULL) {
18138 SWIG_null_ref("wxBitmap");
18139 }
18140 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
18141 }
18142 {
18143 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18144 (arg1)->SelectObject((wxBitmap const &)*arg2);
d55e5bfc
RD
18145
18146 wxPyEndAllowThreads(__tstate);
110da5b0 18147 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 18148 }
093d3ff1 18149 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
18150 return resultobj;
18151 fail:
18152 return NULL;
18153}
18154
18155
093d3ff1
RD
18156static PyObject * MemoryDC_swigregister(PyObject *, PyObject *args) {
18157 PyObject *obj;
18158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18159 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC, obj);
18160 Py_INCREF(obj);
18161 return Py_BuildValue((char *)"");
18162}
18163static PyObject *_wrap_new_BufferedDC__SWIG_0(PyObject *, PyObject *args) {
7449af73 18164 PyObject *resultobj = NULL;
093d3ff1 18165 wxDC *arg1 = (wxDC *) 0 ;
6932ae68
RD
18166 wxBitmap const &arg2_defvalue = wxNullBitmap ;
18167 wxBitmap *arg2 = (wxBitmap *) &arg2_defvalue ;
e2950dbb 18168 int arg3 = (int) wxBUFFER_CLIENT_AREA ;
093d3ff1 18169 wxBufferedDC *result;
d55e5bfc 18170 PyObject * obj0 = 0 ;
093d3ff1 18171 PyObject * obj1 = 0 ;
e2950dbb 18172 PyObject * obj2 = 0 ;
d55e5bfc 18173
6932ae68 18174 if(!PyArg_ParseTuple(args,(char *)"O|OO:new_BufferedDC",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18176 if (SWIG_arg_fail(1)) SWIG_fail;
6932ae68
RD
18177 if (obj1) {
18178 {
18179 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
18180 if (SWIG_arg_fail(2)) SWIG_fail;
18181 if (arg2 == NULL) {
18182 SWIG_null_ref("wxBitmap");
18183 }
18184 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 18185 }
093d3ff1 18186 }
e2950dbb
RD
18187 if (obj2) {
18188 {
7449af73 18189 arg3 = static_cast<int >(SWIG_As_int(obj2));
e2950dbb
RD
18190 if (SWIG_arg_fail(3)) SWIG_fail;
18191 }
18192 }
093d3ff1
RD
18193 {
18194 if (!wxPyCheckForApp()) SWIG_fail;
18195 PyThreadState* __tstate = wxPyBeginAllowThreads();
e2950dbb 18196 result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxBitmap const &)*arg2,arg3);
d55e5bfc
RD
18197
18198 wxPyEndAllowThreads(__tstate);
18199 if (PyErr_Occurred()) SWIG_fail;
18200 }
093d3ff1 18201 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedDC, 1);
d55e5bfc
RD
18202 return resultobj;
18203 fail:
18204 return NULL;
18205}
18206
18207
093d3ff1 18208static PyObject *_wrap_new_BufferedDC__SWIG_1(PyObject *, PyObject *args) {
7449af73 18209 PyObject *resultobj = NULL;
093d3ff1
RD
18210 wxDC *arg1 = (wxDC *) 0 ;
18211 wxSize *arg2 = 0 ;
e2950dbb 18212 int arg3 = (int) wxBUFFER_CLIENT_AREA ;
093d3ff1
RD
18213 wxBufferedDC *result;
18214 wxSize temp2 ;
d55e5bfc
RD
18215 PyObject * obj0 = 0 ;
18216 PyObject * obj1 = 0 ;
e2950dbb 18217 PyObject * obj2 = 0 ;
d55e5bfc 18218
e2950dbb 18219 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_BufferedDC",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18221 if (SWIG_arg_fail(1)) SWIG_fail;
18222 {
18223 arg2 = &temp2;
18224 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 18225 }
e2950dbb
RD
18226 if (obj2) {
18227 {
7449af73 18228 arg3 = static_cast<int >(SWIG_As_int(obj2));
e2950dbb
RD
18229 if (SWIG_arg_fail(3)) SWIG_fail;
18230 }
18231 }
d55e5bfc 18232 {
093d3ff1 18233 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 18234 PyThreadState* __tstate = wxPyBeginAllowThreads();
e2950dbb 18235 result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxSize const &)*arg2,arg3);
d55e5bfc
RD
18236
18237 wxPyEndAllowThreads(__tstate);
18238 if (PyErr_Occurred()) SWIG_fail;
18239 }
093d3ff1 18240 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedDC, 1);
d55e5bfc
RD
18241 return resultobj;
18242 fail:
18243 return NULL;
18244}
18245
18246
093d3ff1
RD
18247static PyObject *_wrap_new_BufferedDC(PyObject *self, PyObject *args) {
18248 int argc;
e2950dbb 18249 PyObject *argv[4];
093d3ff1
RD
18250 int ii;
18251
18252 argc = PyObject_Length(args);
e2950dbb 18253 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
093d3ff1
RD
18254 argv[ii] = PyTuple_GetItem(args,ii);
18255 }
6932ae68 18256 if ((argc >= 1) && (argc <= 3)) {
093d3ff1
RD
18257 int _v;
18258 {
18259 void *ptr;
18260 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDC, 0) == -1) {
18261 _v = 0;
18262 PyErr_Clear();
18263 } else {
18264 _v = 1;
18265 }
18266 }
18267 if (_v) {
6932ae68
RD
18268 if (argc <= 1) {
18269 return _wrap_new_BufferedDC__SWIG_0(self,args);
18270 }
093d3ff1
RD
18271 {
18272 void *ptr = 0;
18273 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxBitmap, 0) == -1) {
18274 _v = 0;
18275 PyErr_Clear();
18276 } else {
18277 _v = (ptr != 0);
18278 }
18279 }
18280 if (_v) {
e2950dbb
RD
18281 if (argc <= 2) {
18282 return _wrap_new_BufferedDC__SWIG_0(self,args);
18283 }
18284 _v = SWIG_Check_int(argv[2]);
18285 if (_v) {
18286 return _wrap_new_BufferedDC__SWIG_0(self,args);
18287 }
093d3ff1
RD
18288 }
18289 }
18290 }
e2950dbb 18291 if ((argc >= 2) && (argc <= 3)) {
093d3ff1
RD
18292 int _v;
18293 {
18294 void *ptr;
18295 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDC, 0) == -1) {
18296 _v = 0;
18297 PyErr_Clear();
18298 } else {
18299 _v = 1;
18300 }
18301 }
18302 if (_v) {
18303 {
18304 _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2);
18305 }
18306 if (_v) {
e2950dbb
RD
18307 if (argc <= 2) {
18308 return _wrap_new_BufferedDC__SWIG_1(self,args);
18309 }
18310 _v = SWIG_Check_int(argv[2]);
18311 if (_v) {
18312 return _wrap_new_BufferedDC__SWIG_1(self,args);
18313 }
093d3ff1
RD
18314 }
18315 }
18316 }
18317
18318 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_BufferedDC'");
18319 return NULL;
18320}
18321
18322
18323static PyObject *_wrap_delete_BufferedDC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18324 PyObject *resultobj = NULL;
093d3ff1 18325 wxBufferedDC *arg1 = (wxBufferedDC *) 0 ;
d55e5bfc
RD
18326 PyObject * obj0 = 0 ;
18327 char *kwnames[] = {
093d3ff1 18328 (char *) "self", NULL
d55e5bfc
RD
18329 };
18330
093d3ff1
RD
18331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BufferedDC",kwnames,&obj0)) goto fail;
18332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBufferedDC, SWIG_POINTER_EXCEPTION | 0);
18333 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18334 {
18335 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18336 delete arg1;
d55e5bfc
RD
18337
18338 wxPyEndAllowThreads(__tstate);
18339 if (PyErr_Occurred()) SWIG_fail;
18340 }
18341 Py_INCREF(Py_None); resultobj = Py_None;
18342 return resultobj;
18343 fail:
18344 return NULL;
18345}
18346
18347
093d3ff1 18348static PyObject *_wrap_BufferedDC_UnMask(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18349 PyObject *resultobj = NULL;
093d3ff1
RD
18350 wxBufferedDC *arg1 = (wxBufferedDC *) 0 ;
18351 PyObject * obj0 = 0 ;
d55e5bfc 18352 char *kwnames[] = {
093d3ff1 18353 (char *) "self", NULL
d55e5bfc
RD
18354 };
18355
093d3ff1
RD
18356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BufferedDC_UnMask",kwnames,&obj0)) goto fail;
18357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBufferedDC, SWIG_POINTER_EXCEPTION | 0);
18358 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18359 {
18360 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18361 (arg1)->UnMask();
d55e5bfc
RD
18362
18363 wxPyEndAllowThreads(__tstate);
18364 if (PyErr_Occurred()) SWIG_fail;
18365 }
093d3ff1 18366 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
18367 return resultobj;
18368 fail:
18369 return NULL;
18370}
18371
18372
093d3ff1 18373static PyObject * BufferedDC_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18374 PyObject *obj;
18375 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
093d3ff1 18376 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC, obj);
d55e5bfc
RD
18377 Py_INCREF(obj);
18378 return Py_BuildValue((char *)"");
18379}
093d3ff1 18380static PyObject *_wrap_new_BufferedPaintDC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18381 PyObject *resultobj = NULL;
093d3ff1
RD
18382 wxWindow *arg1 = (wxWindow *) 0 ;
18383 wxBitmap const &arg2_defvalue = wxNullBitmap ;
18384 wxBitmap *arg2 = (wxBitmap *) &arg2_defvalue ;
e2950dbb 18385 int arg3 = (int) wxBUFFER_CLIENT_AREA ;
093d3ff1 18386 wxBufferedPaintDC *result;
d55e5bfc 18387 PyObject * obj0 = 0 ;
093d3ff1 18388 PyObject * obj1 = 0 ;
e2950dbb 18389 PyObject * obj2 = 0 ;
d55e5bfc 18390 char *kwnames[] = {
e2950dbb 18391 (char *) "window",(char *) "buffer",(char *) "style", NULL
d55e5bfc
RD
18392 };
18393
e2950dbb 18394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_BufferedPaintDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18396 if (SWIG_arg_fail(1)) SWIG_fail;
18397 if (obj1) {
d55e5bfc 18398 {
093d3ff1
RD
18399 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
18400 if (SWIG_arg_fail(2)) SWIG_fail;
18401 if (arg2 == NULL) {
18402 SWIG_null_ref("wxBitmap");
18403 }
18404 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
18405 }
18406 }
e2950dbb
RD
18407 if (obj2) {
18408 {
7449af73 18409 arg3 = static_cast<int >(SWIG_As_int(obj2));
e2950dbb
RD
18410 if (SWIG_arg_fail(3)) SWIG_fail;
18411 }
18412 }
d55e5bfc 18413 {
0439c23b 18414 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 18415 PyThreadState* __tstate = wxPyBeginAllowThreads();
e2950dbb 18416 result = (wxBufferedPaintDC *)new wxBufferedPaintDC(arg1,(wxBitmap const &)*arg2,arg3);
d55e5bfc
RD
18417
18418 wxPyEndAllowThreads(__tstate);
110da5b0 18419 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 18420 }
093d3ff1 18421 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedPaintDC, 1);
d55e5bfc
RD
18422 return resultobj;
18423 fail:
d55e5bfc
RD
18424 return NULL;
18425}
18426
18427
093d3ff1
RD
18428static PyObject * BufferedPaintDC_swigregister(PyObject *, PyObject *args) {
18429 PyObject *obj;
18430 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18431 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC, obj);
18432 Py_INCREF(obj);
18433 return Py_BuildValue((char *)"");
18434}
18435static PyObject *_wrap_new_ScreenDC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18436 PyObject *resultobj = NULL;
093d3ff1 18437 wxScreenDC *result;
d55e5bfc 18438 char *kwnames[] = {
093d3ff1 18439 NULL
d55e5bfc
RD
18440 };
18441
093d3ff1 18442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ScreenDC",kwnames)) goto fail;
d55e5bfc 18443 {
093d3ff1 18444 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 18445 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18446 result = (wxScreenDC *)new wxScreenDC();
d55e5bfc
RD
18447
18448 wxPyEndAllowThreads(__tstate);
18449 if (PyErr_Occurred()) SWIG_fail;
18450 }
093d3ff1 18451 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScreenDC, 1);
d55e5bfc
RD
18452 return resultobj;
18453 fail:
18454 return NULL;
18455}
18456
18457
093d3ff1 18458static PyObject *_wrap_ScreenDC_StartDrawingOnTopWin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18459 PyObject *resultobj = NULL;
093d3ff1
RD
18460 wxScreenDC *arg1 = (wxScreenDC *) 0 ;
18461 wxWindow *arg2 = (wxWindow *) 0 ;
d55e5bfc
RD
18462 bool result;
18463 PyObject * obj0 = 0 ;
093d3ff1 18464 PyObject * obj1 = 0 ;
d55e5bfc 18465 char *kwnames[] = {
093d3ff1 18466 (char *) "self",(char *) "window", NULL
d55e5bfc
RD
18467 };
18468
093d3ff1
RD
18469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames,&obj0,&obj1)) goto fail;
18470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScreenDC, SWIG_POINTER_EXCEPTION | 0);
18471 if (SWIG_arg_fail(1)) SWIG_fail;
18472 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18473 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
18474 {
18475 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18476 result = (bool)(arg1)->StartDrawingOnTop(arg2);
d55e5bfc
RD
18477
18478 wxPyEndAllowThreads(__tstate);
18479 if (PyErr_Occurred()) SWIG_fail;
18480 }
18481 {
18482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18483 }
18484 return resultobj;
18485 fail:
18486 return NULL;
18487}
18488
18489
093d3ff1 18490static PyObject *_wrap_ScreenDC_StartDrawingOnTop(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18491 PyObject *resultobj = NULL;
093d3ff1
RD
18492 wxScreenDC *arg1 = (wxScreenDC *) 0 ;
18493 wxRect *arg2 = (wxRect *) NULL ;
d55e5bfc
RD
18494 bool result;
18495 PyObject * obj0 = 0 ;
18496 PyObject * obj1 = 0 ;
d55e5bfc 18497 char *kwnames[] = {
093d3ff1 18498 (char *) "self",(char *) "rect", NULL
d55e5bfc
RD
18499 };
18500
093d3ff1
RD
18501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames,&obj0,&obj1)) goto fail;
18502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScreenDC, SWIG_POINTER_EXCEPTION | 0);
18503 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 18504 if (obj1) {
093d3ff1
RD
18505 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
18506 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
18507 }
18508 {
18509 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18510 result = (bool)(arg1)->StartDrawingOnTop(arg2);
d55e5bfc
RD
18511
18512 wxPyEndAllowThreads(__tstate);
18513 if (PyErr_Occurred()) SWIG_fail;
18514 }
18515 {
18516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18517 }
18518 return resultobj;
18519 fail:
18520 return NULL;
18521}
18522
18523
093d3ff1 18524static PyObject *_wrap_ScreenDC_EndDrawingOnTop(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18525 PyObject *resultobj = NULL;
093d3ff1
RD
18526 wxScreenDC *arg1 = (wxScreenDC *) 0 ;
18527 bool result;
d55e5bfc
RD
18528 PyObject * obj0 = 0 ;
18529 char *kwnames[] = {
18530 (char *) "self", NULL
18531 };
18532
093d3ff1
RD
18533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames,&obj0)) goto fail;
18534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScreenDC, SWIG_POINTER_EXCEPTION | 0);
18535 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18536 {
18537 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18538 result = (bool)(arg1)->EndDrawingOnTop();
d55e5bfc
RD
18539
18540 wxPyEndAllowThreads(__tstate);
18541 if (PyErr_Occurred()) SWIG_fail;
18542 }
18543 {
093d3ff1 18544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
18545 }
18546 return resultobj;
18547 fail:
18548 return NULL;
18549}
18550
18551
093d3ff1
RD
18552static PyObject * ScreenDC_swigregister(PyObject *, PyObject *args) {
18553 PyObject *obj;
18554 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18555 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC, obj);
18556 Py_INCREF(obj);
18557 return Py_BuildValue((char *)"");
18558}
18559static PyObject *_wrap_new_ClientDC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18560 PyObject *resultobj = NULL;
093d3ff1
RD
18561 wxWindow *arg1 = (wxWindow *) 0 ;
18562 wxClientDC *result;
d55e5bfc
RD
18563 PyObject * obj0 = 0 ;
18564 char *kwnames[] = {
093d3ff1 18565 (char *) "win", NULL
d55e5bfc
RD
18566 };
18567
093d3ff1
RD
18568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ClientDC",kwnames,&obj0)) goto fail;
18569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18570 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 18571 {
093d3ff1 18572 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 18573 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18574 result = (wxClientDC *)new wxClientDC(arg1);
d55e5bfc
RD
18575
18576 wxPyEndAllowThreads(__tstate);
18577 if (PyErr_Occurred()) SWIG_fail;
18578 }
093d3ff1 18579 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClientDC, 1);
d55e5bfc
RD
18580 return resultobj;
18581 fail:
18582 return NULL;
18583}
18584
18585
093d3ff1
RD
18586static PyObject * ClientDC_swigregister(PyObject *, PyObject *args) {
18587 PyObject *obj;
18588 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18589 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC, obj);
18590 Py_INCREF(obj);
18591 return Py_BuildValue((char *)"");
18592}
18593static PyObject *_wrap_new_PaintDC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18594 PyObject *resultobj = NULL;
093d3ff1
RD
18595 wxWindow *arg1 = (wxWindow *) 0 ;
18596 wxPaintDC *result;
d55e5bfc
RD
18597 PyObject * obj0 = 0 ;
18598 char *kwnames[] = {
093d3ff1 18599 (char *) "win", NULL
d55e5bfc
RD
18600 };
18601
093d3ff1
RD
18602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PaintDC",kwnames,&obj0)) goto fail;
18603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18604 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 18605 {
093d3ff1 18606 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 18607 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18608 result = (wxPaintDC *)new wxPaintDC(arg1);
d55e5bfc
RD
18609
18610 wxPyEndAllowThreads(__tstate);
18611 if (PyErr_Occurred()) SWIG_fail;
18612 }
093d3ff1 18613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintDC, 1);
d55e5bfc
RD
18614 return resultobj;
18615 fail:
18616 return NULL;
18617}
18618
18619
093d3ff1
RD
18620static PyObject * PaintDC_swigregister(PyObject *, PyObject *args) {
18621 PyObject *obj;
18622 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18623 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC, obj);
18624 Py_INCREF(obj);
18625 return Py_BuildValue((char *)"");
18626}
18627static PyObject *_wrap_new_WindowDC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18628 PyObject *resultobj = NULL;
093d3ff1
RD
18629 wxWindow *arg1 = (wxWindow *) 0 ;
18630 wxWindowDC *result;
d55e5bfc
RD
18631 PyObject * obj0 = 0 ;
18632 char *kwnames[] = {
093d3ff1 18633 (char *) "win", NULL
d55e5bfc
RD
18634 };
18635
093d3ff1
RD
18636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_WindowDC",kwnames,&obj0)) goto fail;
18637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18638 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 18639 {
093d3ff1 18640 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 18641 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18642 result = (wxWindowDC *)new wxWindowDC(arg1);
d55e5bfc
RD
18643
18644 wxPyEndAllowThreads(__tstate);
18645 if (PyErr_Occurred()) SWIG_fail;
18646 }
093d3ff1 18647 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDC, 1);
d55e5bfc
RD
18648 return resultobj;
18649 fail:
18650 return NULL;
18651}
18652
18653
093d3ff1 18654static PyObject * WindowDC_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18655 PyObject *obj;
18656 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
093d3ff1 18657 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC, obj);
d55e5bfc
RD
18658 Py_INCREF(obj);
18659 return Py_BuildValue((char *)"");
18660}
093d3ff1 18661static PyObject *_wrap_new_MirrorDC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18662 PyObject *resultobj = NULL;
093d3ff1
RD
18663 wxDC *arg1 = 0 ;
18664 bool arg2 ;
18665 wxMirrorDC *result;
d55e5bfc
RD
18666 PyObject * obj0 = 0 ;
18667 PyObject * obj1 = 0 ;
d55e5bfc 18668 char *kwnames[] = {
093d3ff1 18669 (char *) "dc",(char *) "mirror", NULL
d55e5bfc
RD
18670 };
18671
093d3ff1
RD
18672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_MirrorDC",kwnames,&obj0,&obj1)) goto fail;
18673 {
18674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18675 if (SWIG_arg_fail(1)) SWIG_fail;
18676 if (arg1 == NULL) {
18677 SWIG_null_ref("wxDC");
d55e5bfc 18678 }
093d3ff1 18679 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 18680 }
093d3ff1 18681 {
7449af73 18682 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1 18683 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
18684 }
18685 {
0439c23b 18686 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 18687 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18688 result = (wxMirrorDC *)new wxMirrorDC(*arg1,arg2);
d55e5bfc
RD
18689
18690 wxPyEndAllowThreads(__tstate);
110da5b0 18691 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 18692 }
093d3ff1 18693 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMirrorDC, 1);
d55e5bfc
RD
18694 return resultobj;
18695 fail:
d55e5bfc
RD
18696 return NULL;
18697}
18698
18699
093d3ff1
RD
18700static PyObject * MirrorDC_swigregister(PyObject *, PyObject *args) {
18701 PyObject *obj;
18702 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18703 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC, obj);
18704 Py_INCREF(obj);
18705 return Py_BuildValue((char *)"");
18706}
18707static PyObject *_wrap_new_PostScriptDC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18708 PyObject *resultobj = NULL;
093d3ff1
RD
18709 wxPrintData *arg1 = 0 ;
18710 wxPostScriptDC *result;
d55e5bfc
RD
18711 PyObject * obj0 = 0 ;
18712 char *kwnames[] = {
093d3ff1 18713 (char *) "printData", NULL
d55e5bfc
RD
18714 };
18715
093d3ff1
RD
18716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PostScriptDC",kwnames,&obj0)) goto fail;
18717 {
18718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
18719 if (SWIG_arg_fail(1)) SWIG_fail;
18720 if (arg1 == NULL) {
18721 SWIG_null_ref("wxPrintData");
18722 }
18723 if (SWIG_arg_fail(1)) SWIG_fail;
18724 }
d55e5bfc 18725 {
093d3ff1 18726 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 18727 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18728 result = (wxPostScriptDC *)new wxPostScriptDC((wxPrintData const &)*arg1);
d55e5bfc
RD
18729
18730 wxPyEndAllowThreads(__tstate);
18731 if (PyErr_Occurred()) SWIG_fail;
18732 }
093d3ff1 18733 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPostScriptDC, 1);
d55e5bfc
RD
18734 return resultobj;
18735 fail:
18736 return NULL;
18737}
18738
18739
093d3ff1 18740static PyObject *_wrap_PostScriptDC_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18741 PyObject *resultobj = NULL;
093d3ff1
RD
18742 wxPostScriptDC *arg1 = (wxPostScriptDC *) 0 ;
18743 wxPrintData *result;
d55e5bfc
RD
18744 PyObject * obj0 = 0 ;
18745 char *kwnames[] = {
093d3ff1 18746 (char *) "self", NULL
d55e5bfc
RD
18747 };
18748
093d3ff1
RD
18749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PostScriptDC_GetPrintData",kwnames,&obj0)) goto fail;
18750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPostScriptDC, SWIG_POINTER_EXCEPTION | 0);
18751 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18752 {
18753 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1
RD
18754 {
18755 wxPrintData &_result_ref = (arg1)->GetPrintData();
18756 result = (wxPrintData *) &_result_ref;
18757 }
d55e5bfc
RD
18758
18759 wxPyEndAllowThreads(__tstate);
110da5b0 18760 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 18761 }
093d3ff1 18762 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d55e5bfc
RD
18763 return resultobj;
18764 fail:
18765 return NULL;
18766}
18767
18768
093d3ff1 18769static PyObject *_wrap_PostScriptDC_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18770 PyObject *resultobj = NULL;
093d3ff1
RD
18771 wxPostScriptDC *arg1 = (wxPostScriptDC *) 0 ;
18772 wxPrintData *arg2 = 0 ;
d55e5bfc
RD
18773 PyObject * obj0 = 0 ;
18774 PyObject * obj1 = 0 ;
d55e5bfc 18775 char *kwnames[] = {
093d3ff1 18776 (char *) "self",(char *) "data", NULL
d55e5bfc
RD
18777 };
18778
093d3ff1
RD
18779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostScriptDC_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
18780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPostScriptDC, SWIG_POINTER_EXCEPTION | 0);
18781 if (SWIG_arg_fail(1)) SWIG_fail;
18782 {
18783 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
18784 if (SWIG_arg_fail(2)) SWIG_fail;
18785 if (arg2 == NULL) {
18786 SWIG_null_ref("wxPrintData");
18787 }
18788 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
18789 }
18790 {
18791 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18792 (arg1)->SetPrintData((wxPrintData const &)*arg2);
d55e5bfc
RD
18793
18794 wxPyEndAllowThreads(__tstate);
110da5b0 18795 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 18796 }
093d3ff1 18797 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
18798 return resultobj;
18799 fail:
18800 return NULL;
18801}
18802
18803
093d3ff1 18804static PyObject *_wrap_PostScriptDC_SetResolution(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18805 PyObject *resultobj = NULL;
093d3ff1 18806 int arg1 ;
d55e5bfc
RD
18807 PyObject * obj0 = 0 ;
18808 char *kwnames[] = {
093d3ff1 18809 (char *) "ppi", NULL
d55e5bfc
RD
18810 };
18811
093d3ff1
RD
18812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PostScriptDC_SetResolution",kwnames,&obj0)) goto fail;
18813 {
7449af73 18814 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
18815 if (SWIG_arg_fail(1)) SWIG_fail;
18816 }
d55e5bfc
RD
18817 {
18818 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18819 wxPostScriptDC::SetResolution(arg1);
d55e5bfc
RD
18820
18821 wxPyEndAllowThreads(__tstate);
18822 if (PyErr_Occurred()) SWIG_fail;
18823 }
18824 Py_INCREF(Py_None); resultobj = Py_None;
18825 return resultobj;
18826 fail:
18827 return NULL;
18828}
18829
18830
093d3ff1 18831static PyObject *_wrap_PostScriptDC_GetResolution(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18832 PyObject *resultobj = NULL;
d55e5bfc 18833 int result;
d55e5bfc 18834 char *kwnames[] = {
093d3ff1 18835 NULL
d55e5bfc
RD
18836 };
18837
093d3ff1 18838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PostScriptDC_GetResolution",kwnames)) goto fail;
d55e5bfc
RD
18839 {
18840 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18841 result = (int)wxPostScriptDC::GetResolution();
d55e5bfc
RD
18842
18843 wxPyEndAllowThreads(__tstate);
18844 if (PyErr_Occurred()) SWIG_fail;
18845 }
093d3ff1 18846 {
7449af73 18847 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 18848 }
d55e5bfc
RD
18849 return resultobj;
18850 fail:
18851 return NULL;
18852}
18853
18854
093d3ff1
RD
18855static PyObject * PostScriptDC_swigregister(PyObject *, PyObject *args) {
18856 PyObject *obj;
18857 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18858 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC, obj);
18859 Py_INCREF(obj);
18860 return Py_BuildValue((char *)"");
18861}
18862static PyObject *_wrap_new_MetaFile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18863 PyObject *resultobj = NULL;
093d3ff1
RD
18864 wxString const &arg1_defvalue = wxPyEmptyString ;
18865 wxString *arg1 = (wxString *) &arg1_defvalue ;
18866 wxMetaFile *result;
18867 bool temp1 = false ;
d55e5bfc 18868 PyObject * obj0 = 0 ;
d55e5bfc 18869 char *kwnames[] = {
093d3ff1 18870 (char *) "filename", NULL
d55e5bfc
RD
18871 };
18872
093d3ff1
RD
18873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MetaFile",kwnames,&obj0)) goto fail;
18874 if (obj0) {
18875 {
18876 arg1 = wxString_in_helper(obj0);
18877 if (arg1 == NULL) SWIG_fail;
18878 temp1 = true;
18879 }
d55e5bfc
RD
18880 }
18881 {
093d3ff1 18882 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 18883 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18884 result = (wxMetaFile *)new wxMetaFile((wxString const &)*arg1);
d55e5bfc
RD
18885
18886 wxPyEndAllowThreads(__tstate);
18887 if (PyErr_Occurred()) SWIG_fail;
18888 }
093d3ff1
RD
18889 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetaFile, 1);
18890 {
18891 if (temp1)
18892 delete arg1;
18893 }
d55e5bfc
RD
18894 return resultobj;
18895 fail:
093d3ff1
RD
18896 {
18897 if (temp1)
18898 delete arg1;
18899 }
d55e5bfc
RD
18900 return NULL;
18901}
18902
18903
093d3ff1 18904static PyObject *_wrap_delete_MetaFile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18905 PyObject *resultobj = NULL;
093d3ff1 18906 wxMetaFile *arg1 = (wxMetaFile *) 0 ;
d55e5bfc 18907 PyObject * obj0 = 0 ;
d55e5bfc 18908 char *kwnames[] = {
093d3ff1 18909 (char *) "self", NULL
d55e5bfc
RD
18910 };
18911
093d3ff1
RD
18912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MetaFile",kwnames,&obj0)) goto fail;
18913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMetaFile, SWIG_POINTER_EXCEPTION | 0);
18914 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18915 {
18916 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18917 delete arg1;
d55e5bfc
RD
18918
18919 wxPyEndAllowThreads(__tstate);
18920 if (PyErr_Occurred()) SWIG_fail;
18921 }
093d3ff1 18922 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
18923 return resultobj;
18924 fail:
18925 return NULL;
18926}
18927
18928
093d3ff1 18929static PyObject *_wrap_MetaFile_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18930 PyObject *resultobj = NULL;
093d3ff1 18931 wxMetaFile *arg1 = (wxMetaFile *) 0 ;
d55e5bfc
RD
18932 bool result;
18933 PyObject * obj0 = 0 ;
d55e5bfc 18934 char *kwnames[] = {
093d3ff1 18935 (char *) "self", NULL
d55e5bfc
RD
18936 };
18937
093d3ff1
RD
18938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetaFile_Ok",kwnames,&obj0)) goto fail;
18939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMetaFile, SWIG_POINTER_EXCEPTION | 0);
18940 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18941 {
18942 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18943 result = (bool)(arg1)->Ok();
d55e5bfc
RD
18944
18945 wxPyEndAllowThreads(__tstate);
18946 if (PyErr_Occurred()) SWIG_fail;
18947 }
18948 {
18949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18950 }
18951 return resultobj;
18952 fail:
18953 return NULL;
18954}
18955
18956
093d3ff1 18957static PyObject *_wrap_MetaFile_SetClipboard(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18958 PyObject *resultobj = NULL;
093d3ff1
RD
18959 wxMetaFile *arg1 = (wxMetaFile *) 0 ;
18960 int arg2 = (int) 0 ;
18961 int arg3 = (int) 0 ;
d55e5bfc
RD
18962 bool result;
18963 PyObject * obj0 = 0 ;
18964 PyObject * obj1 = 0 ;
18965 PyObject * obj2 = 0 ;
d55e5bfc 18966 char *kwnames[] = {
093d3ff1 18967 (char *) "self",(char *) "width",(char *) "height", NULL
d55e5bfc
RD
18968 };
18969
093d3ff1
RD
18970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MetaFile_SetClipboard",kwnames,&obj0,&obj1,&obj2)) goto fail;
18971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMetaFile, SWIG_POINTER_EXCEPTION | 0);
18972 if (SWIG_arg_fail(1)) SWIG_fail;
18973 if (obj1) {
18974 {
7449af73 18975 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
18976 if (SWIG_arg_fail(2)) SWIG_fail;
18977 }
d55e5bfc 18978 }
093d3ff1
RD
18979 if (obj2) {
18980 {
7449af73 18981 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
18982 if (SWIG_arg_fail(3)) SWIG_fail;
18983 }
d55e5bfc
RD
18984 }
18985 {
18986 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18987 result = (bool)(arg1)->SetClipboard(arg2,arg3);
d55e5bfc
RD
18988
18989 wxPyEndAllowThreads(__tstate);
18990 if (PyErr_Occurred()) SWIG_fail;
18991 }
18992 {
18993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18994 }
18995 return resultobj;
18996 fail:
18997 return NULL;
18998}
18999
19000
093d3ff1 19001static PyObject *_wrap_MetaFile_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19002 PyObject *resultobj = NULL;
093d3ff1
RD
19003 wxMetaFile *arg1 = (wxMetaFile *) 0 ;
19004 wxSize result;
d55e5bfc
RD
19005 PyObject * obj0 = 0 ;
19006 char *kwnames[] = {
19007 (char *) "self", NULL
19008 };
19009
093d3ff1
RD
19010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetaFile_GetSize",kwnames,&obj0)) goto fail;
19011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMetaFile, SWIG_POINTER_EXCEPTION | 0);
19012 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19013 {
19014 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 19015 result = (arg1)->GetSize();
d55e5bfc
RD
19016
19017 wxPyEndAllowThreads(__tstate);
19018 if (PyErr_Occurred()) SWIG_fail;
19019 }
093d3ff1
RD
19020 {
19021 wxSize * resultptr;
7449af73 19022 resultptr = new wxSize(static_cast<wxSize & >(result));
093d3ff1
RD
19023 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19024 }
d55e5bfc
RD
19025 return resultobj;
19026 fail:
19027 return NULL;
19028}
19029
19030
093d3ff1 19031static PyObject *_wrap_MetaFile_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19032 PyObject *resultobj = NULL;
093d3ff1
RD
19033 wxMetaFile *arg1 = (wxMetaFile *) 0 ;
19034 int result;
d55e5bfc 19035 PyObject * obj0 = 0 ;
d55e5bfc 19036 char *kwnames[] = {
093d3ff1 19037 (char *) "self", NULL
d55e5bfc
RD
19038 };
19039
093d3ff1
RD
19040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetaFile_GetWidth",kwnames,&obj0)) goto fail;
19041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMetaFile, SWIG_POINTER_EXCEPTION | 0);
19042 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19043 {
19044 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 19045 result = (int)(arg1)->GetWidth();
d55e5bfc
RD
19046
19047 wxPyEndAllowThreads(__tstate);
19048 if (PyErr_Occurred()) SWIG_fail;
19049 }
19050 {
7449af73 19051 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc
RD
19052 }
19053 return resultobj;
19054 fail:
19055 return NULL;
19056}
19057
19058
093d3ff1 19059static PyObject *_wrap_MetaFile_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19060 PyObject *resultobj = NULL;
093d3ff1
RD
19061 wxMetaFile *arg1 = (wxMetaFile *) 0 ;
19062 int result;
d55e5bfc
RD
19063 PyObject * obj0 = 0 ;
19064 char *kwnames[] = {
19065 (char *) "self", NULL
19066 };
19067
093d3ff1
RD
19068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetaFile_GetHeight",kwnames,&obj0)) goto fail;
19069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMetaFile, SWIG_POINTER_EXCEPTION | 0);
19070 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19071 {
19072 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 19073 result = (int)(arg1)->GetHeight();
d55e5bfc
RD
19074
19075 wxPyEndAllowThreads(__tstate);
19076 if (PyErr_Occurred()) SWIG_fail;
19077 }
19078 {
7449af73 19079 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc
RD
19080 }
19081 return resultobj;
19082 fail:
19083 return NULL;
19084}
19085
19086
093d3ff1 19087static PyObject *_wrap_MetaFile_GetFileName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19088 PyObject *resultobj = NULL;
093d3ff1
RD
19089 wxMetaFile *arg1 = (wxMetaFile *) 0 ;
19090 wxString *result;
d55e5bfc 19091 PyObject * obj0 = 0 ;
d55e5bfc 19092 char *kwnames[] = {
093d3ff1 19093 (char *) "self", NULL
d55e5bfc
RD
19094 };
19095
093d3ff1
RD
19096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetaFile_GetFileName",kwnames,&obj0)) goto fail;
19097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMetaFile, SWIG_POINTER_EXCEPTION | 0);
19098 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19099 {
19100 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1
RD
19101 {
19102 wxString const &_result_ref = ((wxMetaFile const *)arg1)->GetFileName();
19103 result = (wxString *) &_result_ref;
19104 }
d55e5bfc
RD
19105
19106 wxPyEndAllowThreads(__tstate);
19107 if (PyErr_Occurred()) SWIG_fail;
19108 }
093d3ff1
RD
19109 {
19110#if wxUSE_UNICODE
19111 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19112#else
19113 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19114#endif
19115 }
d55e5bfc
RD
19116 return resultobj;
19117 fail:
19118 return NULL;
19119}
19120
19121
093d3ff1 19122static PyObject * MetaFile_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19123 PyObject *obj;
19124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
093d3ff1 19125 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile, obj);
d55e5bfc
RD
19126 Py_INCREF(obj);
19127 return Py_BuildValue((char *)"");
19128}
093d3ff1 19129static PyObject *_wrap_new_MetaFileDC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19130 PyObject *resultobj = NULL;
093d3ff1
RD
19131 wxString const &arg1_defvalue = wxPyEmptyString ;
19132 wxString *arg1 = (wxString *) &arg1_defvalue ;
19133 int arg2 = (int) 0 ;
19134 int arg3 = (int) 0 ;
19135 wxString const &arg4_defvalue = wxPyEmptyString ;
19136 wxString *arg4 = (wxString *) &arg4_defvalue ;
19137 wxMetaFileDC *result;
19138 bool temp1 = false ;
19139 bool temp4 = false ;
19140 PyObject * obj0 = 0 ;
19141 PyObject * obj1 = 0 ;
19142 PyObject * obj2 = 0 ;
19143 PyObject * obj3 = 0 ;
19144 char *kwnames[] = {
19145 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
19146 };
d55e5bfc 19147
093d3ff1
RD
19148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_MetaFileDC",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19149 if (obj0) {
19150 {
19151 arg1 = wxString_in_helper(obj0);
19152 if (arg1 == NULL) SWIG_fail;
19153 temp1 = true;
19154 }
19155 }
19156 if (obj1) {
19157 {
7449af73 19158 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
19159 if (SWIG_arg_fail(2)) SWIG_fail;
19160 }
19161 }
19162 if (obj2) {
19163 {
7449af73 19164 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
19165 if (SWIG_arg_fail(3)) SWIG_fail;
19166 }
19167 }
19168 if (obj3) {
19169 {
19170 arg4 = wxString_in_helper(obj3);
19171 if (arg4 == NULL) SWIG_fail;
19172 temp4 = true;
19173 }
19174 }
19175 {
19176 if (!wxPyCheckForApp()) SWIG_fail;
19177 PyThreadState* __tstate = wxPyBeginAllowThreads();
19178 result = (wxMetaFileDC *)new wxMetaFileDC((wxString const &)*arg1,arg2,arg3,(wxString const &)*arg4);
19179
19180 wxPyEndAllowThreads(__tstate);
19181 if (PyErr_Occurred()) SWIG_fail;
19182 }
19183 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetaFileDC, 1);
19184 {
19185 if (temp1)
19186 delete arg1;
19187 }
19188 {
19189 if (temp4)
19190 delete arg4;
19191 }
19192 return resultobj;
19193 fail:
19194 {
19195 if (temp1)
19196 delete arg1;
19197 }
19198 {
19199 if (temp4)
19200 delete arg4;
19201 }
19202 return NULL;
d55e5bfc
RD
19203}
19204
19205
093d3ff1 19206static PyObject *_wrap_MetaFileDC_Close(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19207 PyObject *resultobj = NULL;
093d3ff1
RD
19208 wxMetaFileDC *arg1 = (wxMetaFileDC *) 0 ;
19209 wxMetaFile *result;
19210 PyObject * obj0 = 0 ;
19211 char *kwnames[] = {
19212 (char *) "self", NULL
19213 };
d55e5bfc 19214
093d3ff1
RD
19215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetaFileDC_Close",kwnames,&obj0)) goto fail;
19216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMetaFileDC, SWIG_POINTER_EXCEPTION | 0);
19217 if (SWIG_arg_fail(1)) SWIG_fail;
19218 {
19219 PyThreadState* __tstate = wxPyBeginAllowThreads();
19220 result = (wxMetaFile *)(arg1)->Close();
19221
19222 wxPyEndAllowThreads(__tstate);
19223 if (PyErr_Occurred()) SWIG_fail;
19224 }
19225 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetaFile, 0);
19226 return resultobj;
19227 fail:
19228 return NULL;
d55e5bfc
RD
19229}
19230
19231
093d3ff1
RD
19232static PyObject * MetaFileDC_swigregister(PyObject *, PyObject *args) {
19233 PyObject *obj;
19234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19235 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC, obj);
19236 Py_INCREF(obj);
19237 return Py_BuildValue((char *)"");
d55e5bfc 19238}
093d3ff1 19239static PyObject *_wrap_new_PrinterDC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19240 PyObject *resultobj = NULL;
093d3ff1
RD
19241 wxPrintData *arg1 = 0 ;
19242 wxPrinterDC *result;
19243 PyObject * obj0 = 0 ;
19244 char *kwnames[] = {
19245 (char *) "printData", NULL
19246 };
d55e5bfc 19247
093d3ff1
RD
19248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PrinterDC",kwnames,&obj0)) goto fail;
19249 {
19250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
19251 if (SWIG_arg_fail(1)) SWIG_fail;
19252 if (arg1 == NULL) {
19253 SWIG_null_ref("wxPrintData");
19254 }
19255 if (SWIG_arg_fail(1)) SWIG_fail;
19256 }
19257 {
19258 if (!wxPyCheckForApp()) SWIG_fail;
19259 PyThreadState* __tstate = wxPyBeginAllowThreads();
19260 result = (wxPrinterDC *)new wxPrinterDC((wxPrintData const &)*arg1);
19261
19262 wxPyEndAllowThreads(__tstate);
19263 if (PyErr_Occurred()) SWIG_fail;
19264 }
19265 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinterDC, 1);
19266 return resultobj;
19267 fail:
19268 return NULL;
d55e5bfc
RD
19269}
19270
19271
093d3ff1
RD
19272static PyObject * PrinterDC_swigregister(PyObject *, PyObject *args) {
19273 PyObject *obj;
19274 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19275 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC, obj);
19276 Py_INCREF(obj);
19277 return Py_BuildValue((char *)"");
d55e5bfc 19278}
093d3ff1 19279static PyObject *_wrap_new_ImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19280 PyObject *resultobj = NULL;
093d3ff1
RD
19281 int arg1 ;
19282 int arg2 ;
19283 int arg3 = (int) true ;
19284 int arg4 = (int) 1 ;
19285 wxImageList *result;
19286 PyObject * obj0 = 0 ;
19287 PyObject * obj1 = 0 ;
19288 PyObject * obj2 = 0 ;
19289 PyObject * obj3 = 0 ;
19290 char *kwnames[] = {
19291 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
19292 };
d55e5bfc 19293
093d3ff1
RD
19294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_ImageList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19295 {
7449af73 19296 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
19297 if (SWIG_arg_fail(1)) SWIG_fail;
19298 }
19299 {
7449af73 19300 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
19301 if (SWIG_arg_fail(2)) SWIG_fail;
19302 }
19303 if (obj2) {
19304 {
7449af73 19305 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
19306 if (SWIG_arg_fail(3)) SWIG_fail;
19307 }
19308 }
19309 if (obj3) {
19310 {
7449af73 19311 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
19312 if (SWIG_arg_fail(4)) SWIG_fail;
19313 }
19314 }
19315 {
19316 if (!wxPyCheckForApp()) SWIG_fail;
19317 PyThreadState* __tstate = wxPyBeginAllowThreads();
19318 result = (wxImageList *)new wxImageList(arg1,arg2,arg3,arg4);
19319
19320 wxPyEndAllowThreads(__tstate);
19321 if (PyErr_Occurred()) SWIG_fail;
19322 }
19323 {
7e08d4ef 19324 resultobj = wxPyMake_wxObject(result, (bool)1);
093d3ff1
RD
19325 }
19326 return resultobj;
19327 fail:
19328 return NULL;
d55e5bfc
RD
19329}
19330
19331
093d3ff1 19332static PyObject *_wrap_delete_ImageList(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19333 PyObject *resultobj = NULL;
093d3ff1
RD
19334 wxImageList *arg1 = (wxImageList *) 0 ;
19335 PyObject * obj0 = 0 ;
19336 char *kwnames[] = {
19337 (char *) "self", NULL
19338 };
d55e5bfc 19339
093d3ff1
RD
19340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ImageList",kwnames,&obj0)) goto fail;
19341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
19342 if (SWIG_arg_fail(1)) SWIG_fail;
19343 {
19344 PyThreadState* __tstate = wxPyBeginAllowThreads();
19345 delete arg1;
19346
19347 wxPyEndAllowThreads(__tstate);
19348 if (PyErr_Occurred()) SWIG_fail;
19349 }
19350 Py_INCREF(Py_None); resultobj = Py_None;
19351 return resultobj;
19352 fail:
19353 return NULL;
d55e5bfc
RD
19354}
19355
19356
093d3ff1 19357static PyObject *_wrap_ImageList_Add(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19358 PyObject *resultobj = NULL;
093d3ff1
RD
19359 wxImageList *arg1 = (wxImageList *) 0 ;
19360 wxBitmap *arg2 = 0 ;
19361 wxBitmap const &arg3_defvalue = wxNullBitmap ;
19362 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
19363 int result;
19364 PyObject * obj0 = 0 ;
19365 PyObject * obj1 = 0 ;
19366 PyObject * obj2 = 0 ;
19367 char *kwnames[] = {
19368 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
19369 };
d55e5bfc 19370
093d3ff1
RD
19371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ImageList_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
19372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
19373 if (SWIG_arg_fail(1)) SWIG_fail;
19374 {
19375 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19376 if (SWIG_arg_fail(2)) SWIG_fail;
19377 if (arg2 == NULL) {
19378 SWIG_null_ref("wxBitmap");
19379 }
19380 if (SWIG_arg_fail(2)) SWIG_fail;
19381 }
19382 if (obj2) {
19383 {
19384 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19385 if (SWIG_arg_fail(3)) SWIG_fail;
19386 if (arg3 == NULL) {
19387 SWIG_null_ref("wxBitmap");
19388 }
19389 if (SWIG_arg_fail(3)) SWIG_fail;
19390 }
19391 }
19392 {
19393 PyThreadState* __tstate = wxPyBeginAllowThreads();
19394 result = (int)(arg1)->Add((wxBitmap const &)*arg2,(wxBitmap const &)*arg3);
19395
19396 wxPyEndAllowThreads(__tstate);
19397 if (PyErr_Occurred()) SWIG_fail;
19398 }
19399 {
7449af73 19400 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1
RD
19401 }
19402 return resultobj;
19403 fail:
19404 return NULL;
d55e5bfc
RD
19405}
19406
19407
093d3ff1 19408static PyObject *_wrap_ImageList_AddWithColourMask(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19409 PyObject *resultobj = NULL;
093d3ff1
RD
19410 wxImageList *arg1 = (wxImageList *) 0 ;
19411 wxBitmap *arg2 = 0 ;
19412 wxColour *arg3 = 0 ;
19413 int result;
19414 wxColour temp3 ;
19415 PyObject * obj0 = 0 ;
19416 PyObject * obj1 = 0 ;
19417 PyObject * obj2 = 0 ;
19418 char *kwnames[] = {
19419 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
19420 };
d55e5bfc 19421
093d3ff1
RD
19422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageList_AddWithColourMask",kwnames,&obj0,&obj1,&obj2)) goto fail;
19423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
19424 if (SWIG_arg_fail(1)) SWIG_fail;
19425 {
19426 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19427 if (SWIG_arg_fail(2)) SWIG_fail;
19428 if (arg2 == NULL) {
19429 SWIG_null_ref("wxBitmap");
19430 }
19431 if (SWIG_arg_fail(2)) SWIG_fail;
19432 }
19433 {
19434 arg3 = &temp3;
19435 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19436 }
19437 {
19438 PyThreadState* __tstate = wxPyBeginAllowThreads();
19439 result = (int)(arg1)->Add((wxBitmap const &)*arg2,(wxColour const &)*arg3);
19440
19441 wxPyEndAllowThreads(__tstate);
19442 if (PyErr_Occurred()) SWIG_fail;
19443 }
19444 {
7449af73 19445 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1
RD
19446 }
19447 return resultobj;
19448 fail:
19449 return NULL;
d55e5bfc
RD
19450}
19451
19452
093d3ff1 19453static PyObject *_wrap_ImageList_AddIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19454 PyObject *resultobj = NULL;
093d3ff1
RD
19455 wxImageList *arg1 = (wxImageList *) 0 ;
19456 wxIcon *arg2 = 0 ;
19457 int result;
19458 PyObject * obj0 = 0 ;
19459 PyObject * obj1 = 0 ;
19460 char *kwnames[] = {
19461 (char *) "self",(char *) "icon", NULL
19462 };
d55e5bfc 19463
093d3ff1
RD
19464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageList_AddIcon",kwnames,&obj0,&obj1)) goto fail;
19465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
19466 if (SWIG_arg_fail(1)) SWIG_fail;
19467 {
19468 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
19469 if (SWIG_arg_fail(2)) SWIG_fail;
19470 if (arg2 == NULL) {
19471 SWIG_null_ref("wxIcon");
19472 }
19473 if (SWIG_arg_fail(2)) SWIG_fail;
19474 }
19475 {
19476 PyThreadState* __tstate = wxPyBeginAllowThreads();
19477 result = (int)(arg1)->Add((wxIcon const &)*arg2);
19478
19479 wxPyEndAllowThreads(__tstate);
19480 if (PyErr_Occurred()) SWIG_fail;
19481 }
19482 {
7449af73 19483 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1
RD
19484 }
19485 return resultobj;
19486 fail:
19487 return NULL;
d55e5bfc
RD
19488}
19489
19490
b9d6a5f3 19491static PyObject *_wrap_ImageList_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19492 PyObject *resultobj = NULL;
b9d6a5f3
RD
19493 wxImageList *arg1 = (wxImageList *) 0 ;
19494 int arg2 ;
19495 SwigValueWrapper<wxBitmap > result;
19496 PyObject * obj0 = 0 ;
19497 PyObject * obj1 = 0 ;
19498 char *kwnames[] = {
19499 (char *) "self",(char *) "index", NULL
19500 };
19501
19502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageList_GetBitmap",kwnames,&obj0,&obj1)) goto fail;
19503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
19504 if (SWIG_arg_fail(1)) SWIG_fail;
19505 {
7449af73 19506 arg2 = static_cast<int >(SWIG_As_int(obj1));
b9d6a5f3
RD
19507 if (SWIG_arg_fail(2)) SWIG_fail;
19508 }
19509 {
19510 PyThreadState* __tstate = wxPyBeginAllowThreads();
19511 result = ((wxImageList const *)arg1)->GetBitmap(arg2);
19512
19513 wxPyEndAllowThreads(__tstate);
19514 if (PyErr_Occurred()) SWIG_fail;
19515 }
19516 {
19517 wxBitmap * resultptr;
7449af73 19518 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
b9d6a5f3
RD
19519 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
19520 }
19521 return resultobj;
19522 fail:
19523 return NULL;
19524}
19525
19526
19527static PyObject *_wrap_ImageList_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19528 PyObject *resultobj = NULL;
b9d6a5f3
RD
19529 wxImageList *arg1 = (wxImageList *) 0 ;
19530 int arg2 ;
19531 wxIcon result;
19532 PyObject * obj0 = 0 ;
19533 PyObject * obj1 = 0 ;
19534 char *kwnames[] = {
19535 (char *) "self",(char *) "index", NULL
19536 };
19537
19538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageList_GetIcon",kwnames,&obj0,&obj1)) goto fail;
19539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
19540 if (SWIG_arg_fail(1)) SWIG_fail;
19541 {
7449af73 19542 arg2 = static_cast<int >(SWIG_As_int(obj1));
b9d6a5f3
RD
19543 if (SWIG_arg_fail(2)) SWIG_fail;
19544 }
19545 {
19546 PyThreadState* __tstate = wxPyBeginAllowThreads();
19547 result = ((wxImageList const *)arg1)->GetIcon(arg2);
19548
19549 wxPyEndAllowThreads(__tstate);
19550 if (PyErr_Occurred()) SWIG_fail;
19551 }
19552 {
19553 wxIcon * resultptr;
7449af73 19554 resultptr = new wxIcon(static_cast<wxIcon & >(result));
b9d6a5f3
RD
19555 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
19556 }
19557 return resultobj;
19558 fail:
19559 return NULL;
19560}
19561
19562
093d3ff1 19563static PyObject *_wrap_ImageList_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19564 PyObject *resultobj = NULL;
093d3ff1
RD
19565 wxImageList *arg1 = (wxImageList *) 0 ;
19566 int arg2 ;
19567 wxBitmap *arg3 = 0 ;
19568 wxBitmap const &arg4_defvalue = wxNullBitmap ;
19569 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
19570 bool result;
19571 PyObject * obj0 = 0 ;
19572 PyObject * obj1 = 0 ;
19573 PyObject * obj2 = 0 ;
19574 PyObject * obj3 = 0 ;
19575 char *kwnames[] = {
19576 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
19577 };
d55e5bfc 19578
093d3ff1
RD
19579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ImageList_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
19581 if (SWIG_arg_fail(1)) SWIG_fail;
19582 {
7449af73 19583 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
19584 if (SWIG_arg_fail(2)) SWIG_fail;
19585 }
19586 {
19587 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19588 if (SWIG_arg_fail(3)) SWIG_fail;
19589 if (arg3 == NULL) {
19590 SWIG_null_ref("wxBitmap");
19591 }
19592 if (SWIG_arg_fail(3)) SWIG_fail;
19593 }
19594 if (obj3) {
19595 {
19596 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19597 if (SWIG_arg_fail(4)) SWIG_fail;
19598 if (arg4 == NULL) {
19599 SWIG_null_ref("wxBitmap");
19600 }
19601 if (SWIG_arg_fail(4)) SWIG_fail;
19602 }
19603 }
19604 {
19605 PyThreadState* __tstate = wxPyBeginAllowThreads();
19606 result = (bool)(arg1)->Replace(arg2,(wxBitmap const &)*arg3,(wxBitmap const &)*arg4);
19607
19608 wxPyEndAllowThreads(__tstate);
19609 if (PyErr_Occurred()) SWIG_fail;
19610 }
19611 {
19612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19613 }
19614 return resultobj;
19615 fail:
19616 return NULL;
d55e5bfc
RD
19617}
19618
19619
093d3ff1 19620static PyObject *_wrap_ImageList_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19621 PyObject *resultobj = NULL;
093d3ff1
RD
19622 wxImageList *arg1 = (wxImageList *) 0 ;
19623 int arg2 ;
19624 wxDC *arg3 = 0 ;
19625 int arg4 ;
19626 int arg5 ;
19627 int arg6 = (int) wxIMAGELIST_DRAW_NORMAL ;
19628 bool arg7 = (bool) (bool)false ;
19629 bool result;
19630 PyObject * obj0 = 0 ;
19631 PyObject * obj1 = 0 ;
19632 PyObject * obj2 = 0 ;
19633 PyObject * obj3 = 0 ;
19634 PyObject * obj4 = 0 ;
19635 PyObject * obj5 = 0 ;
19636 PyObject * obj6 = 0 ;
19637 char *kwnames[] = {
19638 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
19639 };
19640
19641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:ImageList_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
19643 if (SWIG_arg_fail(1)) SWIG_fail;
19644 {
7449af73 19645 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
19646 if (SWIG_arg_fail(2)) SWIG_fail;
19647 }
19648 {
19649 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
19650 if (SWIG_arg_fail(3)) SWIG_fail;
19651 if (arg3 == NULL) {
19652 SWIG_null_ref("wxDC");
19653 }
19654 if (SWIG_arg_fail(3)) SWIG_fail;
19655 }
19656 {
7449af73 19657 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
19658 if (SWIG_arg_fail(4)) SWIG_fail;
19659 }
19660 {
7449af73 19661 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
19662 if (SWIG_arg_fail(5)) SWIG_fail;
19663 }
19664 if (obj5) {
19665 {
7449af73 19666 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
19667 if (SWIG_arg_fail(6)) SWIG_fail;
19668 }
19669 }
19670 if (obj6) {
19671 {
7449af73 19672 arg7 = static_cast<bool const >(SWIG_As_bool(obj6));
093d3ff1
RD
19673 if (SWIG_arg_fail(7)) SWIG_fail;
19674 }
19675 }
19676 {
19677 PyThreadState* __tstate = wxPyBeginAllowThreads();
19678 result = (bool)(arg1)->Draw(arg2,*arg3,arg4,arg5,arg6,arg7);
19679
19680 wxPyEndAllowThreads(__tstate);
19681 if (PyErr_Occurred()) SWIG_fail;
19682 }
19683 {
19684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19685 }
19686 return resultobj;
19687 fail:
19688 return NULL;
d55e5bfc
RD
19689}
19690
19691
093d3ff1 19692static PyObject *_wrap_ImageList_GetImageCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19693 PyObject *resultobj = NULL;
093d3ff1
RD
19694 wxImageList *arg1 = (wxImageList *) 0 ;
19695 int result;
19696 PyObject * obj0 = 0 ;
19697 char *kwnames[] = {
19698 (char *) "self", NULL
19699 };
d55e5bfc 19700
093d3ff1
RD
19701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageList_GetImageCount",kwnames,&obj0)) goto fail;
19702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
19703 if (SWIG_arg_fail(1)) SWIG_fail;
19704 {
19705 PyThreadState* __tstate = wxPyBeginAllowThreads();
19706 result = (int)(arg1)->GetImageCount();
19707
19708 wxPyEndAllowThreads(__tstate);
19709 if (PyErr_Occurred()) SWIG_fail;
19710 }
19711 {
7449af73 19712 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1
RD
19713 }
19714 return resultobj;
19715 fail:
19716 return NULL;
d55e5bfc
RD
19717}
19718
19719
093d3ff1 19720static PyObject *_wrap_ImageList_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19721 PyObject *resultobj = NULL;
093d3ff1
RD
19722 wxImageList *arg1 = (wxImageList *) 0 ;
19723 int arg2 ;
19724 bool result;
19725 PyObject * obj0 = 0 ;
19726 PyObject * obj1 = 0 ;
19727 char *kwnames[] = {
19728 (char *) "self",(char *) "index", NULL
19729 };
19730
19731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageList_Remove",kwnames,&obj0,&obj1)) goto fail;
19732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
19733 if (SWIG_arg_fail(1)) SWIG_fail;
19734 {
7449af73 19735 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
19736 if (SWIG_arg_fail(2)) SWIG_fail;
19737 }
19738 {
19739 PyThreadState* __tstate = wxPyBeginAllowThreads();
19740 result = (bool)(arg1)->Remove(arg2);
19741
19742 wxPyEndAllowThreads(__tstate);
19743 if (PyErr_Occurred()) SWIG_fail;
19744 }
19745 {
19746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19747 }
19748 return resultobj;
19749 fail:
19750 return NULL;
d55e5bfc
RD
19751}
19752
19753
093d3ff1 19754static PyObject *_wrap_ImageList_RemoveAll(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19755 PyObject *resultobj = NULL;
093d3ff1
RD
19756 wxImageList *arg1 = (wxImageList *) 0 ;
19757 bool result;
19758 PyObject * obj0 = 0 ;
19759 char *kwnames[] = {
19760 (char *) "self", NULL
19761 };
d55e5bfc 19762
093d3ff1
RD
19763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageList_RemoveAll",kwnames,&obj0)) goto fail;
19764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
19765 if (SWIG_arg_fail(1)) SWIG_fail;
19766 {
19767 PyThreadState* __tstate = wxPyBeginAllowThreads();
19768 result = (bool)(arg1)->RemoveAll();
19769
19770 wxPyEndAllowThreads(__tstate);
19771 if (PyErr_Occurred()) SWIG_fail;
19772 }
19773 {
19774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19775 }
19776 return resultobj;
19777 fail:
19778 return NULL;
19779}
19780
19781
19782static PyObject *_wrap_ImageList_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19783 PyObject *resultobj = NULL;
093d3ff1
RD
19784 wxImageList *arg1 = (wxImageList *) 0 ;
19785 int arg2 ;
19786 int *arg3 = 0 ;
19787 int *arg4 = 0 ;
19788 int temp3 ;
19789 int res3 = 0 ;
19790 int temp4 ;
19791 int res4 = 0 ;
19792 PyObject * obj0 = 0 ;
19793 PyObject * obj1 = 0 ;
19794 char *kwnames[] = {
19795 (char *) "self",(char *) "index", NULL
19796 };
19797
19798 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19799 arg4 = &temp4; res4 = SWIG_NEWOBJ;
19800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageList_GetSize",kwnames,&obj0,&obj1)) goto fail;
19801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
19802 if (SWIG_arg_fail(1)) SWIG_fail;
19803 {
7449af73 19804 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
19805 if (SWIG_arg_fail(2)) SWIG_fail;
19806 }
19807 {
19808 PyThreadState* __tstate = wxPyBeginAllowThreads();
19809 (arg1)->GetSize(arg2,*arg3,*arg4);
19810
19811 wxPyEndAllowThreads(__tstate);
19812 if (PyErr_Occurred()) SWIG_fail;
19813 }
19814 Py_INCREF(Py_None); resultobj = Py_None;
19815 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19816 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19817 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
19818 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
19819 return resultobj;
19820 fail:
19821 return NULL;
19822}
19823
19824
19825static PyObject * ImageList_swigregister(PyObject *, PyObject *args) {
19826 PyObject *obj;
19827 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19828 SWIG_TypeClientData(SWIGTYPE_p_wxImageList, obj);
19829 Py_INCREF(obj);
19830 return Py_BuildValue((char *)"");
19831}
19832static int _wrap_NORMAL_FONT_set(PyObject *) {
19833 PyErr_SetString(PyExc_TypeError,"Variable NORMAL_FONT is read-only.");
19834 return 1;
19835}
19836
19837
19838static PyObject *_wrap_NORMAL_FONT_get(void) {
7449af73 19839 PyObject *pyobj = NULL;
093d3ff1
RD
19840
19841 pyobj = SWIG_NewPointerObj((void *)(wxNORMAL_FONT), SWIGTYPE_p_wxFont, 0);
19842 return pyobj;
19843}
19844
19845
19846static int _wrap_SMALL_FONT_set(PyObject *) {
19847 PyErr_SetString(PyExc_TypeError,"Variable SMALL_FONT is read-only.");
19848 return 1;
19849}
19850
19851
19852static PyObject *_wrap_SMALL_FONT_get(void) {
7449af73 19853 PyObject *pyobj = NULL;
093d3ff1
RD
19854
19855 pyobj = SWIG_NewPointerObj((void *)(wxSMALL_FONT), SWIGTYPE_p_wxFont, 0);
19856 return pyobj;
19857}
19858
19859
19860static int _wrap_ITALIC_FONT_set(PyObject *) {
19861 PyErr_SetString(PyExc_TypeError,"Variable ITALIC_FONT is read-only.");
19862 return 1;
19863}
19864
19865
19866static PyObject *_wrap_ITALIC_FONT_get(void) {
7449af73 19867 PyObject *pyobj = NULL;
093d3ff1
RD
19868
19869 pyobj = SWIG_NewPointerObj((void *)(wxITALIC_FONT), SWIGTYPE_p_wxFont, 0);
19870 return pyobj;
19871}
19872
19873
19874static int _wrap_SWISS_FONT_set(PyObject *) {
19875 PyErr_SetString(PyExc_TypeError,"Variable SWISS_FONT is read-only.");
19876 return 1;
19877}
19878
19879
19880static PyObject *_wrap_SWISS_FONT_get(void) {
7449af73 19881 PyObject *pyobj = NULL;
093d3ff1
RD
19882
19883 pyobj = SWIG_NewPointerObj((void *)(wxSWISS_FONT), SWIGTYPE_p_wxFont, 0);
19884 return pyobj;
19885}
19886
19887
19888static int _wrap_RED_PEN_set(PyObject *) {
19889 PyErr_SetString(PyExc_TypeError,"Variable RED_PEN is read-only.");
19890 return 1;
19891}
19892
19893
19894static PyObject *_wrap_RED_PEN_get(void) {
7449af73 19895 PyObject *pyobj = NULL;
093d3ff1
RD
19896
19897 pyobj = SWIG_NewPointerObj((void *)(wxRED_PEN), SWIGTYPE_p_wxPen, 0);
19898 return pyobj;
19899}
19900
19901
19902static int _wrap_CYAN_PEN_set(PyObject *) {
19903 PyErr_SetString(PyExc_TypeError,"Variable CYAN_PEN is read-only.");
19904 return 1;
19905}
19906
19907
19908static PyObject *_wrap_CYAN_PEN_get(void) {
7449af73 19909 PyObject *pyobj = NULL;
093d3ff1
RD
19910
19911 pyobj = SWIG_NewPointerObj((void *)(wxCYAN_PEN), SWIGTYPE_p_wxPen, 0);
19912 return pyobj;
19913}
19914
19915
19916static int _wrap_GREEN_PEN_set(PyObject *) {
19917 PyErr_SetString(PyExc_TypeError,"Variable GREEN_PEN is read-only.");
19918 return 1;
19919}
19920
19921
19922static PyObject *_wrap_GREEN_PEN_get(void) {
7449af73 19923 PyObject *pyobj = NULL;
093d3ff1
RD
19924
19925 pyobj = SWIG_NewPointerObj((void *)(wxGREEN_PEN), SWIGTYPE_p_wxPen, 0);
19926 return pyobj;
19927}
19928
19929
19930static int _wrap_BLACK_PEN_set(PyObject *) {
19931 PyErr_SetString(PyExc_TypeError,"Variable BLACK_PEN is read-only.");
19932 return 1;
19933}
19934
19935
19936static PyObject *_wrap_BLACK_PEN_get(void) {
7449af73 19937 PyObject *pyobj = NULL;
093d3ff1
RD
19938
19939 pyobj = SWIG_NewPointerObj((void *)(wxBLACK_PEN), SWIGTYPE_p_wxPen, 0);
19940 return pyobj;
19941}
19942
19943
19944static int _wrap_WHITE_PEN_set(PyObject *) {
19945 PyErr_SetString(PyExc_TypeError,"Variable WHITE_PEN is read-only.");
19946 return 1;
19947}
19948
19949
19950static PyObject *_wrap_WHITE_PEN_get(void) {
7449af73 19951 PyObject *pyobj = NULL;
093d3ff1
RD
19952
19953 pyobj = SWIG_NewPointerObj((void *)(wxWHITE_PEN), SWIGTYPE_p_wxPen, 0);
19954 return pyobj;
19955}
19956
19957
19958static int _wrap_TRANSPARENT_PEN_set(PyObject *) {
19959 PyErr_SetString(PyExc_TypeError,"Variable TRANSPARENT_PEN is read-only.");
19960 return 1;
19961}
19962
19963
19964static PyObject *_wrap_TRANSPARENT_PEN_get(void) {
7449af73 19965 PyObject *pyobj = NULL;
093d3ff1
RD
19966
19967 pyobj = SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN), SWIGTYPE_p_wxPen, 0);
19968 return pyobj;
19969}
19970
19971
19972static int _wrap_BLACK_DASHED_PEN_set(PyObject *) {
19973 PyErr_SetString(PyExc_TypeError,"Variable BLACK_DASHED_PEN is read-only.");
19974 return 1;
19975}
19976
19977
19978static PyObject *_wrap_BLACK_DASHED_PEN_get(void) {
7449af73 19979 PyObject *pyobj = NULL;
093d3ff1
RD
19980
19981 pyobj = SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN), SWIGTYPE_p_wxPen, 0);
19982 return pyobj;
19983}
19984
19985
19986static int _wrap_GREY_PEN_set(PyObject *) {
19987 PyErr_SetString(PyExc_TypeError,"Variable GREY_PEN is read-only.");
19988 return 1;
19989}
19990
19991
19992static PyObject *_wrap_GREY_PEN_get(void) {
7449af73 19993 PyObject *pyobj = NULL;
093d3ff1
RD
19994
19995 pyobj = SWIG_NewPointerObj((void *)(wxGREY_PEN), SWIGTYPE_p_wxPen, 0);
19996 return pyobj;
19997}
19998
19999
20000static int _wrap_MEDIUM_GREY_PEN_set(PyObject *) {
20001 PyErr_SetString(PyExc_TypeError,"Variable MEDIUM_GREY_PEN is read-only.");
20002 return 1;
20003}
20004
20005
20006static PyObject *_wrap_MEDIUM_GREY_PEN_get(void) {
7449af73 20007 PyObject *pyobj = NULL;
093d3ff1
RD
20008
20009 pyobj = SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN), SWIGTYPE_p_wxPen, 0);
20010 return pyobj;
d55e5bfc
RD
20011}
20012
20013
c32bde28 20014static int _wrap_LIGHT_GREY_PEN_set(PyObject *) {
d55e5bfc
RD
20015 PyErr_SetString(PyExc_TypeError,"Variable LIGHT_GREY_PEN is read-only.");
20016 return 1;
20017}
20018
20019
093d3ff1 20020static PyObject *_wrap_LIGHT_GREY_PEN_get(void) {
7449af73 20021 PyObject *pyobj = NULL;
d55e5bfc
RD
20022
20023 pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN), SWIGTYPE_p_wxPen, 0);
20024 return pyobj;
20025}
20026
20027
c32bde28 20028static int _wrap_BLUE_BRUSH_set(PyObject *) {
d55e5bfc
RD
20029 PyErr_SetString(PyExc_TypeError,"Variable BLUE_BRUSH is read-only.");
20030 return 1;
20031}
20032
20033
093d3ff1 20034static PyObject *_wrap_BLUE_BRUSH_get(void) {
7449af73 20035 PyObject *pyobj = NULL;
d55e5bfc
RD
20036
20037 pyobj = SWIG_NewPointerObj((void *)(wxBLUE_BRUSH), SWIGTYPE_p_wxBrush, 0);
20038 return pyobj;
20039}
20040
20041
c32bde28 20042static int _wrap_GREEN_BRUSH_set(PyObject *) {
d55e5bfc
RD
20043 PyErr_SetString(PyExc_TypeError,"Variable GREEN_BRUSH is read-only.");
20044 return 1;
20045}
20046
20047
093d3ff1 20048static PyObject *_wrap_GREEN_BRUSH_get(void) {
7449af73 20049 PyObject *pyobj = NULL;
d55e5bfc
RD
20050
20051 pyobj = SWIG_NewPointerObj((void *)(wxGREEN_BRUSH), SWIGTYPE_p_wxBrush, 0);
20052 return pyobj;
20053}
20054
20055
c32bde28 20056static int _wrap_WHITE_BRUSH_set(PyObject *) {
d55e5bfc
RD
20057 PyErr_SetString(PyExc_TypeError,"Variable WHITE_BRUSH is read-only.");
20058 return 1;
20059}
20060
20061
093d3ff1 20062static PyObject *_wrap_WHITE_BRUSH_get(void) {
7449af73 20063 PyObject *pyobj = NULL;
d55e5bfc
RD
20064
20065 pyobj = SWIG_NewPointerObj((void *)(wxWHITE_BRUSH), SWIGTYPE_p_wxBrush, 0);
20066 return pyobj;
20067}
20068
20069
c32bde28 20070static int _wrap_BLACK_BRUSH_set(PyObject *) {
d55e5bfc
RD
20071 PyErr_SetString(PyExc_TypeError,"Variable BLACK_BRUSH is read-only.");
20072 return 1;
20073}
20074
20075
093d3ff1 20076static PyObject *_wrap_BLACK_BRUSH_get(void) {
7449af73 20077 PyObject *pyobj = NULL;
d55e5bfc
RD
20078
20079 pyobj = SWIG_NewPointerObj((void *)(wxBLACK_BRUSH), SWIGTYPE_p_wxBrush, 0);
20080 return pyobj;
20081}
20082
20083
c32bde28 20084static int _wrap_TRANSPARENT_BRUSH_set(PyObject *) {
d55e5bfc
RD
20085 PyErr_SetString(PyExc_TypeError,"Variable TRANSPARENT_BRUSH is read-only.");
20086 return 1;
20087}
20088
20089
093d3ff1 20090static PyObject *_wrap_TRANSPARENT_BRUSH_get(void) {
7449af73 20091 PyObject *pyobj = NULL;
d55e5bfc
RD
20092
20093 pyobj = SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH), SWIGTYPE_p_wxBrush, 0);
20094 return pyobj;
20095}
20096
20097
c32bde28 20098static int _wrap_CYAN_BRUSH_set(PyObject *) {
d55e5bfc
RD
20099 PyErr_SetString(PyExc_TypeError,"Variable CYAN_BRUSH is read-only.");
20100 return 1;
20101}
20102
20103
093d3ff1 20104static PyObject *_wrap_CYAN_BRUSH_get(void) {
7449af73 20105 PyObject *pyobj = NULL;
d55e5bfc
RD
20106
20107 pyobj = SWIG_NewPointerObj((void *)(wxCYAN_BRUSH), SWIGTYPE_p_wxBrush, 0);
20108 return pyobj;
20109}
20110
20111
c32bde28 20112static int _wrap_RED_BRUSH_set(PyObject *) {
d55e5bfc
RD
20113 PyErr_SetString(PyExc_TypeError,"Variable RED_BRUSH is read-only.");
20114 return 1;
20115}
20116
20117
093d3ff1 20118static PyObject *_wrap_RED_BRUSH_get(void) {
7449af73 20119 PyObject *pyobj = NULL;
d55e5bfc
RD
20120
20121 pyobj = SWIG_NewPointerObj((void *)(wxRED_BRUSH), SWIGTYPE_p_wxBrush, 0);
20122 return pyobj;
20123}
20124
20125
c32bde28 20126static int _wrap_GREY_BRUSH_set(PyObject *) {
d55e5bfc
RD
20127 PyErr_SetString(PyExc_TypeError,"Variable GREY_BRUSH is read-only.");
20128 return 1;
20129}
20130
20131
093d3ff1 20132static PyObject *_wrap_GREY_BRUSH_get(void) {
7449af73 20133 PyObject *pyobj = NULL;
d55e5bfc
RD
20134
20135 pyobj = SWIG_NewPointerObj((void *)(wxGREY_BRUSH), SWIGTYPE_p_wxBrush, 0);
20136 return pyobj;
20137}
20138
20139
c32bde28 20140static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject *) {
d55e5bfc
RD
20141 PyErr_SetString(PyExc_TypeError,"Variable MEDIUM_GREY_BRUSH is read-only.");
20142 return 1;
20143}
20144
20145
093d3ff1 20146static PyObject *_wrap_MEDIUM_GREY_BRUSH_get(void) {
7449af73 20147 PyObject *pyobj = NULL;
d55e5bfc
RD
20148
20149 pyobj = SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH), SWIGTYPE_p_wxBrush, 0);
20150 return pyobj;
20151}
20152
20153
c32bde28 20154static int _wrap_LIGHT_GREY_BRUSH_set(PyObject *) {
d55e5bfc
RD
20155 PyErr_SetString(PyExc_TypeError,"Variable LIGHT_GREY_BRUSH is read-only.");
20156 return 1;
20157}
20158
20159
093d3ff1 20160static PyObject *_wrap_LIGHT_GREY_BRUSH_get(void) {
7449af73 20161 PyObject *pyobj = NULL;
d55e5bfc
RD
20162
20163 pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH), SWIGTYPE_p_wxBrush, 0);
20164 return pyobj;
20165}
20166
20167
c32bde28 20168static int _wrap_BLACK_set(PyObject *) {
d55e5bfc
RD
20169 PyErr_SetString(PyExc_TypeError,"Variable BLACK is read-only.");
20170 return 1;
20171}
20172
20173
093d3ff1 20174static PyObject *_wrap_BLACK_get(void) {
7449af73 20175 PyObject *pyobj = NULL;
d55e5bfc
RD
20176
20177 pyobj = SWIG_NewPointerObj((void *)(wxBLACK), SWIGTYPE_p_wxColour, 0);
20178 return pyobj;
20179}
20180
20181
c32bde28 20182static int _wrap_WHITE_set(PyObject *) {
d55e5bfc
RD
20183 PyErr_SetString(PyExc_TypeError,"Variable WHITE is read-only.");
20184 return 1;
20185}
20186
20187
093d3ff1 20188static PyObject *_wrap_WHITE_get(void) {
7449af73 20189 PyObject *pyobj = NULL;
d55e5bfc
RD
20190
20191 pyobj = SWIG_NewPointerObj((void *)(wxWHITE), SWIGTYPE_p_wxColour, 0);
20192 return pyobj;
20193}
20194
20195
c32bde28 20196static int _wrap_RED_set(PyObject *) {
d55e5bfc
RD
20197 PyErr_SetString(PyExc_TypeError,"Variable RED is read-only.");
20198 return 1;
20199}
20200
20201
093d3ff1 20202static PyObject *_wrap_RED_get(void) {
7449af73 20203 PyObject *pyobj = NULL;
d55e5bfc
RD
20204
20205 pyobj = SWIG_NewPointerObj((void *)(wxRED), SWIGTYPE_p_wxColour, 0);
20206 return pyobj;
20207}
20208
20209
c32bde28 20210static int _wrap_BLUE_set(PyObject *) {
d55e5bfc
RD
20211 PyErr_SetString(PyExc_TypeError,"Variable BLUE is read-only.");
20212 return 1;
20213}
20214
20215
093d3ff1 20216static PyObject *_wrap_BLUE_get(void) {
7449af73 20217 PyObject *pyobj = NULL;
d55e5bfc
RD
20218
20219 pyobj = SWIG_NewPointerObj((void *)(wxBLUE), SWIGTYPE_p_wxColour, 0);
20220 return pyobj;
20221}
20222
20223
c32bde28 20224static int _wrap_GREEN_set(PyObject *) {
d55e5bfc
RD
20225 PyErr_SetString(PyExc_TypeError,"Variable GREEN is read-only.");
20226 return 1;
20227}
20228
20229
093d3ff1 20230static PyObject *_wrap_GREEN_get(void) {
7449af73 20231 PyObject *pyobj = NULL;
d55e5bfc
RD
20232
20233 pyobj = SWIG_NewPointerObj((void *)(wxGREEN), SWIGTYPE_p_wxColour, 0);
20234 return pyobj;
20235}
20236
20237
c32bde28 20238static int _wrap_CYAN_set(PyObject *) {
d55e5bfc
RD
20239 PyErr_SetString(PyExc_TypeError,"Variable CYAN is read-only.");
20240 return 1;
20241}
20242
20243
093d3ff1 20244static PyObject *_wrap_CYAN_get(void) {
7449af73 20245 PyObject *pyobj = NULL;
d55e5bfc
RD
20246
20247 pyobj = SWIG_NewPointerObj((void *)(wxCYAN), SWIGTYPE_p_wxColour, 0);
20248 return pyobj;
20249}
20250
20251
c32bde28 20252static int _wrap_LIGHT_GREY_set(PyObject *) {
d55e5bfc
RD
20253 PyErr_SetString(PyExc_TypeError,"Variable LIGHT_GREY is read-only.");
20254 return 1;
20255}
20256
20257
093d3ff1 20258static PyObject *_wrap_LIGHT_GREY_get(void) {
7449af73 20259 PyObject *pyobj = NULL;
d55e5bfc
RD
20260
20261 pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY), SWIGTYPE_p_wxColour, 0);
20262 return pyobj;
20263}
20264
20265
c32bde28 20266static int _wrap_STANDARD_CURSOR_set(PyObject *) {
d55e5bfc
RD
20267 PyErr_SetString(PyExc_TypeError,"Variable STANDARD_CURSOR is read-only.");
20268 return 1;
20269}
20270
20271
093d3ff1 20272static PyObject *_wrap_STANDARD_CURSOR_get(void) {
7449af73 20273 PyObject *pyobj = NULL;
d55e5bfc
RD
20274
20275 pyobj = SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR), SWIGTYPE_p_wxCursor, 0);
20276 return pyobj;
20277}
20278
20279
c32bde28 20280static int _wrap_HOURGLASS_CURSOR_set(PyObject *) {
d55e5bfc
RD
20281 PyErr_SetString(PyExc_TypeError,"Variable HOURGLASS_CURSOR is read-only.");
20282 return 1;
20283}
20284
20285
093d3ff1 20286static PyObject *_wrap_HOURGLASS_CURSOR_get(void) {
7449af73 20287 PyObject *pyobj = NULL;
d55e5bfc
RD
20288
20289 pyobj = SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR), SWIGTYPE_p_wxCursor, 0);
20290 return pyobj;
20291}
20292
20293
c32bde28 20294static int _wrap_CROSS_CURSOR_set(PyObject *) {
d55e5bfc
RD
20295 PyErr_SetString(PyExc_TypeError,"Variable CROSS_CURSOR is read-only.");
20296 return 1;
20297}
20298
20299
093d3ff1 20300static PyObject *_wrap_CROSS_CURSOR_get(void) {
7449af73 20301 PyObject *pyobj = NULL;
d55e5bfc
RD
20302
20303 pyobj = SWIG_NewPointerObj((void *)(wxCROSS_CURSOR), SWIGTYPE_p_wxCursor, 0);
20304 return pyobj;
20305}
20306
20307
c32bde28 20308static int _wrap_NullBitmap_set(PyObject *) {
d55e5bfc
RD
20309 PyErr_SetString(PyExc_TypeError,"Variable NullBitmap is read-only.");
20310 return 1;
20311}
20312
20313
093d3ff1 20314static PyObject *_wrap_NullBitmap_get(void) {
7449af73 20315 PyObject *pyobj = NULL;
d55e5bfc
RD
20316
20317 pyobj = SWIG_NewPointerObj((void *)(&wxNullBitmap), SWIGTYPE_p_wxBitmap, 0);
20318 return pyobj;
20319}
20320
20321
c32bde28 20322static int _wrap_NullIcon_set(PyObject *) {
d55e5bfc
RD
20323 PyErr_SetString(PyExc_TypeError,"Variable NullIcon is read-only.");
20324 return 1;
20325}
20326
20327
093d3ff1 20328static PyObject *_wrap_NullIcon_get(void) {
7449af73 20329 PyObject *pyobj = NULL;
d55e5bfc
RD
20330
20331 pyobj = SWIG_NewPointerObj((void *)(&wxNullIcon), SWIGTYPE_p_wxIcon, 0);
20332 return pyobj;
20333}
20334
20335
c32bde28 20336static int _wrap_NullCursor_set(PyObject *) {
d55e5bfc
RD
20337 PyErr_SetString(PyExc_TypeError,"Variable NullCursor is read-only.");
20338 return 1;
20339}
20340
20341
093d3ff1 20342static PyObject *_wrap_NullCursor_get(void) {
7449af73 20343 PyObject *pyobj = NULL;
d55e5bfc
RD
20344
20345 pyobj = SWIG_NewPointerObj((void *)(&wxNullCursor), SWIGTYPE_p_wxCursor, 0);
20346 return pyobj;
20347}
20348
20349
c32bde28 20350static int _wrap_NullPen_set(PyObject *) {
d55e5bfc
RD
20351 PyErr_SetString(PyExc_TypeError,"Variable NullPen is read-only.");
20352 return 1;
20353}
20354
20355
093d3ff1 20356static PyObject *_wrap_NullPen_get(void) {
7449af73 20357 PyObject *pyobj = NULL;
d55e5bfc
RD
20358
20359 pyobj = SWIG_NewPointerObj((void *)(&wxNullPen), SWIGTYPE_p_wxPen, 0);
20360 return pyobj;
20361}
20362
20363
c32bde28 20364static int _wrap_NullBrush_set(PyObject *) {
d55e5bfc
RD
20365 PyErr_SetString(PyExc_TypeError,"Variable NullBrush is read-only.");
20366 return 1;
20367}
20368
20369
093d3ff1 20370static PyObject *_wrap_NullBrush_get(void) {
7449af73 20371 PyObject *pyobj = NULL;
d55e5bfc
RD
20372
20373 pyobj = SWIG_NewPointerObj((void *)(&wxNullBrush), SWIGTYPE_p_wxBrush, 0);
20374 return pyobj;
20375}
20376
20377
c32bde28 20378static int _wrap_NullPalette_set(PyObject *) {
d55e5bfc
RD
20379 PyErr_SetString(PyExc_TypeError,"Variable NullPalette is read-only.");
20380 return 1;
20381}
20382
20383
093d3ff1 20384static PyObject *_wrap_NullPalette_get(void) {
7449af73 20385 PyObject *pyobj = NULL;
d55e5bfc
RD
20386
20387 pyobj = SWIG_NewPointerObj((void *)(&wxNullPalette), SWIGTYPE_p_wxPalette, 0);
20388 return pyobj;
20389}
20390
20391
c32bde28 20392static int _wrap_NullFont_set(PyObject *) {
d55e5bfc
RD
20393 PyErr_SetString(PyExc_TypeError,"Variable NullFont is read-only.");
20394 return 1;
20395}
20396
20397
093d3ff1 20398static PyObject *_wrap_NullFont_get(void) {
7449af73 20399 PyObject *pyobj = NULL;
d55e5bfc
RD
20400
20401 pyobj = SWIG_NewPointerObj((void *)(&wxNullFont), SWIGTYPE_p_wxFont, 0);
20402 return pyobj;
20403}
20404
20405
c32bde28 20406static int _wrap_NullColour_set(PyObject *) {
d55e5bfc
RD
20407 PyErr_SetString(PyExc_TypeError,"Variable NullColour is read-only.");
20408 return 1;
20409}
20410
20411
093d3ff1 20412static PyObject *_wrap_NullColour_get(void) {
7449af73 20413 PyObject *pyobj = NULL;
d55e5bfc
RD
20414
20415 pyobj = SWIG_NewPointerObj((void *)(&wxNullColour), SWIGTYPE_p_wxColour, 0);
20416 return pyobj;
20417}
20418
20419
c32bde28 20420static PyObject *_wrap_PenList_AddPen(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20421 PyObject *resultobj = NULL;
d55e5bfc
RD
20422 wxPenList *arg1 = (wxPenList *) 0 ;
20423 wxPen *arg2 = (wxPen *) 0 ;
20424 PyObject * obj0 = 0 ;
20425 PyObject * obj1 = 0 ;
20426 char *kwnames[] = {
20427 (char *) "self",(char *) "pen", NULL
20428 };
20429
20430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PenList_AddPen",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPenList, SWIG_POINTER_EXCEPTION | 0);
20432 if (SWIG_arg_fail(1)) SWIG_fail;
20433 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
20434 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20435 {
20436 PyThreadState* __tstate = wxPyBeginAllowThreads();
20437 (arg1)->AddPen(arg2);
20438
20439 wxPyEndAllowThreads(__tstate);
20440 if (PyErr_Occurred()) SWIG_fail;
20441 }
20442 Py_INCREF(Py_None); resultobj = Py_None;
20443 return resultobj;
20444 fail:
20445 return NULL;
20446}
20447
20448
c32bde28 20449static PyObject *_wrap_PenList_FindOrCreatePen(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20450 PyObject *resultobj = NULL;
d55e5bfc
RD
20451 wxPenList *arg1 = (wxPenList *) 0 ;
20452 wxColour *arg2 = 0 ;
20453 int arg3 ;
20454 int arg4 ;
20455 wxPen *result;
20456 wxColour temp2 ;
20457 PyObject * obj0 = 0 ;
20458 PyObject * obj1 = 0 ;
20459 PyObject * obj2 = 0 ;
20460 PyObject * obj3 = 0 ;
20461 char *kwnames[] = {
20462 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
20463 };
20464
20465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PenList_FindOrCreatePen",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
20466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPenList, SWIG_POINTER_EXCEPTION | 0);
20467 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20468 {
20469 arg2 = &temp2;
20470 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20471 }
093d3ff1 20472 {
7449af73 20473 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
20474 if (SWIG_arg_fail(3)) SWIG_fail;
20475 }
20476 {
7449af73 20477 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
20478 if (SWIG_arg_fail(4)) SWIG_fail;
20479 }
d55e5bfc
RD
20480 {
20481 PyThreadState* __tstate = wxPyBeginAllowThreads();
20482 result = (wxPen *)(arg1)->FindOrCreatePen((wxColour const &)*arg2,arg3,arg4);
20483
20484 wxPyEndAllowThreads(__tstate);
20485 if (PyErr_Occurred()) SWIG_fail;
20486 }
20487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
20488 return resultobj;
20489 fail:
20490 return NULL;
20491}
20492
20493
c32bde28 20494static PyObject *_wrap_PenList_RemovePen(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20495 PyObject *resultobj = NULL;
d55e5bfc
RD
20496 wxPenList *arg1 = (wxPenList *) 0 ;
20497 wxPen *arg2 = (wxPen *) 0 ;
20498 PyObject * obj0 = 0 ;
20499 PyObject * obj1 = 0 ;
20500 char *kwnames[] = {
20501 (char *) "self",(char *) "pen", NULL
20502 };
20503
20504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PenList_RemovePen",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPenList, SWIG_POINTER_EXCEPTION | 0);
20506 if (SWIG_arg_fail(1)) SWIG_fail;
20507 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0);
20508 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20509 {
20510 PyThreadState* __tstate = wxPyBeginAllowThreads();
20511 (arg1)->RemovePen(arg2);
20512
20513 wxPyEndAllowThreads(__tstate);
20514 if (PyErr_Occurred()) SWIG_fail;
20515 }
20516 Py_INCREF(Py_None); resultobj = Py_None;
20517 return resultobj;
20518 fail:
20519 return NULL;
20520}
20521
20522
c32bde28 20523static PyObject *_wrap_PenList_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20524 PyObject *resultobj = NULL;
d55e5bfc
RD
20525 wxPenList *arg1 = (wxPenList *) 0 ;
20526 int result;
20527 PyObject * obj0 = 0 ;
20528 char *kwnames[] = {
20529 (char *) "self", NULL
20530 };
20531
20532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PenList_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
20533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPenList, SWIG_POINTER_EXCEPTION | 0);
20534 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20535 {
20536 PyThreadState* __tstate = wxPyBeginAllowThreads();
20537 result = (int)(arg1)->GetCount();
20538
20539 wxPyEndAllowThreads(__tstate);
20540 if (PyErr_Occurred()) SWIG_fail;
20541 }
093d3ff1 20542 {
7449af73 20543 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 20544 }
d55e5bfc
RD
20545 return resultobj;
20546 fail:
20547 return NULL;
20548}
20549
20550
c32bde28 20551static PyObject * PenList_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20552 PyObject *obj;
20553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20554 SWIG_TypeClientData(SWIGTYPE_p_wxPenList, obj);
20555 Py_INCREF(obj);
20556 return Py_BuildValue((char *)"");
20557}
c32bde28 20558static PyObject *_wrap_BrushList_AddBrush(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20559 PyObject *resultobj = NULL;
d55e5bfc
RD
20560 wxBrushList *arg1 = (wxBrushList *) 0 ;
20561 wxBrush *arg2 = (wxBrush *) 0 ;
20562 PyObject * obj0 = 0 ;
20563 PyObject * obj1 = 0 ;
20564 char *kwnames[] = {
20565 (char *) "self",(char *) "brush", NULL
20566 };
20567
20568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BrushList_AddBrush",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrushList, SWIG_POINTER_EXCEPTION | 0);
20570 if (SWIG_arg_fail(1)) SWIG_fail;
20571 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
20572 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20573 {
20574 PyThreadState* __tstate = wxPyBeginAllowThreads();
20575 (arg1)->AddBrush(arg2);
20576
20577 wxPyEndAllowThreads(__tstate);
20578 if (PyErr_Occurred()) SWIG_fail;
20579 }
20580 Py_INCREF(Py_None); resultobj = Py_None;
20581 return resultobj;
20582 fail:
20583 return NULL;
20584}
20585
20586
c32bde28 20587static PyObject *_wrap_BrushList_FindOrCreateBrush(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20588 PyObject *resultobj = NULL;
d55e5bfc
RD
20589 wxBrushList *arg1 = (wxBrushList *) 0 ;
20590 wxColour *arg2 = 0 ;
ea939623 20591 int arg3 = (int) wxSOLID ;
d55e5bfc
RD
20592 wxBrush *result;
20593 wxColour temp2 ;
20594 PyObject * obj0 = 0 ;
20595 PyObject * obj1 = 0 ;
20596 PyObject * obj2 = 0 ;
20597 char *kwnames[] = {
20598 (char *) "self",(char *) "colour",(char *) "style", NULL
20599 };
20600
ea939623 20601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrushList, SWIG_POINTER_EXCEPTION | 0);
20603 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20604 {
20605 arg2 = &temp2;
20606 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20607 }
ea939623
RD
20608 if (obj2) {
20609 {
7449af73 20610 arg3 = static_cast<int >(SWIG_As_int(obj2));
ea939623
RD
20611 if (SWIG_arg_fail(3)) SWIG_fail;
20612 }
093d3ff1 20613 }
d55e5bfc
RD
20614 {
20615 PyThreadState* __tstate = wxPyBeginAllowThreads();
20616 result = (wxBrush *)(arg1)->FindOrCreateBrush((wxColour const &)*arg2,arg3);
20617
20618 wxPyEndAllowThreads(__tstate);
20619 if (PyErr_Occurred()) SWIG_fail;
20620 }
20621 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 0);
20622 return resultobj;
20623 fail:
20624 return NULL;
20625}
20626
20627
c32bde28 20628static PyObject *_wrap_BrushList_RemoveBrush(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20629 PyObject *resultobj = NULL;
d55e5bfc
RD
20630 wxBrushList *arg1 = (wxBrushList *) 0 ;
20631 wxBrush *arg2 = (wxBrush *) 0 ;
20632 PyObject * obj0 = 0 ;
20633 PyObject * obj1 = 0 ;
20634 char *kwnames[] = {
20635 (char *) "self",(char *) "brush", NULL
20636 };
20637
20638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BrushList_RemoveBrush",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrushList, SWIG_POINTER_EXCEPTION | 0);
20640 if (SWIG_arg_fail(1)) SWIG_fail;
20641 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0);
20642 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20643 {
20644 PyThreadState* __tstate = wxPyBeginAllowThreads();
20645 (arg1)->RemoveBrush(arg2);
20646
20647 wxPyEndAllowThreads(__tstate);
20648 if (PyErr_Occurred()) SWIG_fail;
20649 }
20650 Py_INCREF(Py_None); resultobj = Py_None;
20651 return resultobj;
20652 fail:
20653 return NULL;
20654}
20655
20656
c32bde28 20657static PyObject *_wrap_BrushList_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20658 PyObject *resultobj = NULL;
d55e5bfc
RD
20659 wxBrushList *arg1 = (wxBrushList *) 0 ;
20660 int result;
20661 PyObject * obj0 = 0 ;
20662 char *kwnames[] = {
20663 (char *) "self", NULL
20664 };
20665
20666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BrushList_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
20667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrushList, SWIG_POINTER_EXCEPTION | 0);
20668 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20669 {
20670 PyThreadState* __tstate = wxPyBeginAllowThreads();
20671 result = (int)(arg1)->GetCount();
20672
20673 wxPyEndAllowThreads(__tstate);
20674 if (PyErr_Occurred()) SWIG_fail;
20675 }
093d3ff1 20676 {
7449af73 20677 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 20678 }
d55e5bfc
RD
20679 return resultobj;
20680 fail:
20681 return NULL;
20682}
20683
20684
c32bde28 20685static PyObject * BrushList_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20686 PyObject *obj;
20687 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20688 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList, obj);
20689 Py_INCREF(obj);
20690 return Py_BuildValue((char *)"");
20691}
c32bde28 20692static PyObject *_wrap_new_ColourDatabase(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20693 PyObject *resultobj = NULL;
d55e5bfc
RD
20694 wxColourDatabase *result;
20695 char *kwnames[] = {
20696 NULL
20697 };
20698
20699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourDatabase",kwnames)) goto fail;
20700 {
0439c23b 20701 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
20702 PyThreadState* __tstate = wxPyBeginAllowThreads();
20703 result = (wxColourDatabase *)new wxColourDatabase();
20704
20705 wxPyEndAllowThreads(__tstate);
110da5b0 20706 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
20707 }
20708 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDatabase, 1);
20709 return resultobj;
20710 fail:
20711 return NULL;
20712}
20713
20714
c32bde28 20715static PyObject *_wrap_delete_ColourDatabase(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20716 PyObject *resultobj = NULL;
d55e5bfc
RD
20717 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
20718 PyObject * obj0 = 0 ;
20719 char *kwnames[] = {
20720 (char *) "self", NULL
20721 };
20722
20723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourDatabase",kwnames,&obj0)) goto fail;
093d3ff1
RD
20724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDatabase, SWIG_POINTER_EXCEPTION | 0);
20725 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20726 {
20727 PyThreadState* __tstate = wxPyBeginAllowThreads();
20728 delete arg1;
20729
20730 wxPyEndAllowThreads(__tstate);
20731 if (PyErr_Occurred()) SWIG_fail;
20732 }
20733 Py_INCREF(Py_None); resultobj = Py_None;
20734 return resultobj;
20735 fail:
20736 return NULL;
20737}
20738
20739
c32bde28 20740static PyObject *_wrap_ColourDatabase_Find(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20741 PyObject *resultobj = NULL;
d55e5bfc
RD
20742 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
20743 wxString *arg2 = 0 ;
20744 wxColour result;
ae8162c8 20745 bool temp2 = false ;
d55e5bfc
RD
20746 PyObject * obj0 = 0 ;
20747 PyObject * obj1 = 0 ;
20748 char *kwnames[] = {
20749 (char *) "self",(char *) "name", NULL
20750 };
20751
20752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourDatabase_Find",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDatabase, SWIG_POINTER_EXCEPTION | 0);
20754 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20755 {
20756 arg2 = wxString_in_helper(obj1);
20757 if (arg2 == NULL) SWIG_fail;
ae8162c8 20758 temp2 = true;
d55e5bfc
RD
20759 }
20760 {
20761 PyThreadState* __tstate = wxPyBeginAllowThreads();
20762 result = ((wxColourDatabase const *)arg1)->Find((wxString const &)*arg2);
20763
20764 wxPyEndAllowThreads(__tstate);
20765 if (PyErr_Occurred()) SWIG_fail;
20766 }
20767 {
20768 wxColour * resultptr;
7449af73 20769 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
20770 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
20771 }
20772 {
20773 if (temp2)
20774 delete arg2;
20775 }
20776 return resultobj;
20777 fail:
20778 {
20779 if (temp2)
20780 delete arg2;
20781 }
20782 return NULL;
20783}
20784
20785
c32bde28 20786static PyObject *_wrap_ColourDatabase_FindName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20787 PyObject *resultobj = NULL;
d55e5bfc
RD
20788 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
20789 wxColour *arg2 = 0 ;
20790 wxString result;
20791 wxColour temp2 ;
20792 PyObject * obj0 = 0 ;
20793 PyObject * obj1 = 0 ;
20794 char *kwnames[] = {
20795 (char *) "self",(char *) "colour", NULL
20796 };
20797
20798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourDatabase_FindName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDatabase, SWIG_POINTER_EXCEPTION | 0);
20800 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20801 {
20802 arg2 = &temp2;
20803 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20804 }
20805 {
20806 PyThreadState* __tstate = wxPyBeginAllowThreads();
20807 result = ((wxColourDatabase const *)arg1)->FindName((wxColour const &)*arg2);
20808
20809 wxPyEndAllowThreads(__tstate);
20810 if (PyErr_Occurred()) SWIG_fail;
20811 }
20812 {
20813#if wxUSE_UNICODE
20814 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20815#else
20816 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20817#endif
20818 }
20819 return resultobj;
20820 fail:
20821 return NULL;
20822}
20823
20824
c32bde28 20825static PyObject *_wrap_ColourDatabase_AddColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20826 PyObject *resultobj = NULL;
d55e5bfc
RD
20827 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
20828 wxString *arg2 = 0 ;
20829 wxColour *arg3 = 0 ;
ae8162c8 20830 bool temp2 = false ;
d55e5bfc
RD
20831 wxColour temp3 ;
20832 PyObject * obj0 = 0 ;
20833 PyObject * obj1 = 0 ;
20834 PyObject * obj2 = 0 ;
20835 char *kwnames[] = {
20836 (char *) "self",(char *) "name",(char *) "colour", NULL
20837 };
20838
20839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourDatabase_AddColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDatabase, SWIG_POINTER_EXCEPTION | 0);
20841 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20842 {
20843 arg2 = wxString_in_helper(obj1);
20844 if (arg2 == NULL) SWIG_fail;
ae8162c8 20845 temp2 = true;
d55e5bfc
RD
20846 }
20847 {
20848 arg3 = &temp3;
20849 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
20850 }
20851 {
20852 PyThreadState* __tstate = wxPyBeginAllowThreads();
20853 (arg1)->AddColour((wxString const &)*arg2,(wxColour const &)*arg3);
20854
20855 wxPyEndAllowThreads(__tstate);
20856 if (PyErr_Occurred()) SWIG_fail;
20857 }
20858 Py_INCREF(Py_None); resultobj = Py_None;
20859 {
20860 if (temp2)
20861 delete arg2;
20862 }
20863 return resultobj;
20864 fail:
20865 {
20866 if (temp2)
20867 delete arg2;
20868 }
20869 return NULL;
20870}
20871
20872
c32bde28 20873static PyObject *_wrap_ColourDatabase_Append(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20874 PyObject *resultobj = NULL;
d55e5bfc
RD
20875 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
20876 wxString *arg2 = 0 ;
20877 int arg3 ;
20878 int arg4 ;
20879 int arg5 ;
ae8162c8 20880 bool temp2 = false ;
d55e5bfc
RD
20881 PyObject * obj0 = 0 ;
20882 PyObject * obj1 = 0 ;
20883 PyObject * obj2 = 0 ;
20884 PyObject * obj3 = 0 ;
20885 PyObject * obj4 = 0 ;
20886 char *kwnames[] = {
20887 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
20888 };
20889
20890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:ColourDatabase_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
20891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDatabase, SWIG_POINTER_EXCEPTION | 0);
20892 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20893 {
20894 arg2 = wxString_in_helper(obj1);
20895 if (arg2 == NULL) SWIG_fail;
ae8162c8 20896 temp2 = true;
d55e5bfc 20897 }
093d3ff1 20898 {
7449af73 20899 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
20900 if (SWIG_arg_fail(3)) SWIG_fail;
20901 }
20902 {
7449af73 20903 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
20904 if (SWIG_arg_fail(4)) SWIG_fail;
20905 }
20906 {
7449af73 20907 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
20908 if (SWIG_arg_fail(5)) SWIG_fail;
20909 }
d55e5bfc
RD
20910 {
20911 PyThreadState* __tstate = wxPyBeginAllowThreads();
20912 wxColourDatabase_Append(arg1,(wxString const &)*arg2,arg3,arg4,arg5);
20913
20914 wxPyEndAllowThreads(__tstate);
20915 if (PyErr_Occurred()) SWIG_fail;
20916 }
20917 Py_INCREF(Py_None); resultobj = Py_None;
20918 {
20919 if (temp2)
20920 delete arg2;
20921 }
20922 return resultobj;
20923 fail:
20924 {
20925 if (temp2)
20926 delete arg2;
20927 }
20928 return NULL;
20929}
20930
20931
c32bde28 20932static PyObject * ColourDatabase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20933 PyObject *obj;
20934 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20935 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase, obj);
20936 Py_INCREF(obj);
20937 return Py_BuildValue((char *)"");
20938}
c32bde28 20939static PyObject *_wrap_FontList_AddFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20940 PyObject *resultobj = NULL;
d55e5bfc
RD
20941 wxFontList *arg1 = (wxFontList *) 0 ;
20942 wxFont *arg2 = (wxFont *) 0 ;
20943 PyObject * obj0 = 0 ;
20944 PyObject * obj1 = 0 ;
20945 char *kwnames[] = {
20946 (char *) "self",(char *) "font", NULL
20947 };
20948
20949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontList_AddFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontList, SWIG_POINTER_EXCEPTION | 0);
20951 if (SWIG_arg_fail(1)) SWIG_fail;
20952 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
20953 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20954 {
20955 PyThreadState* __tstate = wxPyBeginAllowThreads();
20956 (arg1)->AddFont(arg2);
20957
20958 wxPyEndAllowThreads(__tstate);
20959 if (PyErr_Occurred()) SWIG_fail;
20960 }
20961 Py_INCREF(Py_None); resultobj = Py_None;
20962 return resultobj;
20963 fail:
20964 return NULL;
20965}
20966
20967
c32bde28 20968static PyObject *_wrap_FontList_FindOrCreateFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20969 PyObject *resultobj = NULL;
d55e5bfc
RD
20970 wxFontList *arg1 = (wxFontList *) 0 ;
20971 int arg2 ;
20972 int arg3 ;
20973 int arg4 ;
20974 int arg5 ;
ae8162c8 20975 bool arg6 = (bool) false ;
d55e5bfc
RD
20976 wxString const &arg7_defvalue = wxPyEmptyString ;
20977 wxString *arg7 = (wxString *) &arg7_defvalue ;
093d3ff1 20978 wxFontEncoding arg8 = (wxFontEncoding) wxFONTENCODING_DEFAULT ;
d55e5bfc 20979 wxFont *result;
ae8162c8 20980 bool temp7 = false ;
d55e5bfc
RD
20981 PyObject * obj0 = 0 ;
20982 PyObject * obj1 = 0 ;
20983 PyObject * obj2 = 0 ;
20984 PyObject * obj3 = 0 ;
20985 PyObject * obj4 = 0 ;
20986 PyObject * obj5 = 0 ;
20987 PyObject * obj6 = 0 ;
20988 PyObject * obj7 = 0 ;
20989 char *kwnames[] = {
20990 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
20991 };
20992
20993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
20994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontList, SWIG_POINTER_EXCEPTION | 0);
20995 if (SWIG_arg_fail(1)) SWIG_fail;
20996 {
7449af73 20997 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
20998 if (SWIG_arg_fail(2)) SWIG_fail;
20999 }
21000 {
7449af73 21001 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
21002 if (SWIG_arg_fail(3)) SWIG_fail;
21003 }
21004 {
7449af73 21005 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
21006 if (SWIG_arg_fail(4)) SWIG_fail;
21007 }
21008 {
7449af73 21009 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
21010 if (SWIG_arg_fail(5)) SWIG_fail;
21011 }
d55e5bfc 21012 if (obj5) {
093d3ff1 21013 {
7449af73 21014 arg6 = static_cast<bool >(SWIG_As_bool(obj5));
093d3ff1
RD
21015 if (SWIG_arg_fail(6)) SWIG_fail;
21016 }
d55e5bfc
RD
21017 }
21018 if (obj6) {
21019 {
21020 arg7 = wxString_in_helper(obj6);
21021 if (arg7 == NULL) SWIG_fail;
ae8162c8 21022 temp7 = true;
d55e5bfc
RD
21023 }
21024 }
21025 if (obj7) {
093d3ff1 21026 {
7449af73 21027 arg8 = static_cast<wxFontEncoding >(SWIG_As_int(obj7));
093d3ff1
RD
21028 if (SWIG_arg_fail(8)) SWIG_fail;
21029 }
d55e5bfc
RD
21030 }
21031 {
21032 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 21033 result = (wxFont *)(arg1)->FindOrCreateFont(arg2,arg3,arg4,arg5,arg6,(wxString const &)*arg7,arg8);
d55e5bfc
RD
21034
21035 wxPyEndAllowThreads(__tstate);
21036 if (PyErr_Occurred()) SWIG_fail;
21037 }
21038 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
21039 {
21040 if (temp7)
21041 delete arg7;
21042 }
21043 return resultobj;
21044 fail:
21045 {
21046 if (temp7)
21047 delete arg7;
21048 }
21049 return NULL;
21050}
21051
21052
c32bde28 21053static PyObject *_wrap_FontList_RemoveFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21054 PyObject *resultobj = NULL;
d55e5bfc
RD
21055 wxFontList *arg1 = (wxFontList *) 0 ;
21056 wxFont *arg2 = (wxFont *) 0 ;
21057 PyObject * obj0 = 0 ;
21058 PyObject * obj1 = 0 ;
21059 char *kwnames[] = {
21060 (char *) "self",(char *) "font", NULL
21061 };
21062
21063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontList_RemoveFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontList, SWIG_POINTER_EXCEPTION | 0);
21065 if (SWIG_arg_fail(1)) SWIG_fail;
21066 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21067 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
21068 {
21069 PyThreadState* __tstate = wxPyBeginAllowThreads();
21070 (arg1)->RemoveFont(arg2);
21071
21072 wxPyEndAllowThreads(__tstate);
21073 if (PyErr_Occurred()) SWIG_fail;
21074 }
21075 Py_INCREF(Py_None); resultobj = Py_None;
21076 return resultobj;
21077 fail:
21078 return NULL;
21079}
21080
21081
c32bde28 21082static PyObject *_wrap_FontList_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21083 PyObject *resultobj = NULL;
d55e5bfc
RD
21084 wxFontList *arg1 = (wxFontList *) 0 ;
21085 int result;
21086 PyObject * obj0 = 0 ;
21087 char *kwnames[] = {
21088 (char *) "self", NULL
21089 };
21090
21091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontList_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
21092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontList, SWIG_POINTER_EXCEPTION | 0);
21093 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21094 {
21095 PyThreadState* __tstate = wxPyBeginAllowThreads();
21096 result = (int)(arg1)->GetCount();
21097
21098 wxPyEndAllowThreads(__tstate);
21099 if (PyErr_Occurred()) SWIG_fail;
21100 }
093d3ff1 21101 {
7449af73 21102 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 21103 }
d55e5bfc
RD
21104 return resultobj;
21105 fail:
21106 return NULL;
21107}
21108
21109
c32bde28 21110static PyObject * FontList_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21111 PyObject *obj;
21112 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21113 SWIG_TypeClientData(SWIGTYPE_p_wxFontList, obj);
21114 Py_INCREF(obj);
21115 return Py_BuildValue((char *)"");
21116}
c32bde28 21117static int _wrap_TheFontList_set(PyObject *) {
d55e5bfc
RD
21118 PyErr_SetString(PyExc_TypeError,"Variable TheFontList is read-only.");
21119 return 1;
21120}
21121
21122
093d3ff1 21123static PyObject *_wrap_TheFontList_get(void) {
7449af73 21124 PyObject *pyobj = NULL;
d55e5bfc
RD
21125
21126 pyobj = SWIG_NewPointerObj((void *)(wxTheFontList), SWIGTYPE_p_wxFontList, 0);
21127 return pyobj;
21128}
21129
21130
c32bde28 21131static int _wrap_ThePenList_set(PyObject *) {
d55e5bfc
RD
21132 PyErr_SetString(PyExc_TypeError,"Variable ThePenList is read-only.");
21133 return 1;
21134}
21135
21136
093d3ff1 21137static PyObject *_wrap_ThePenList_get(void) {
7449af73 21138 PyObject *pyobj = NULL;
d55e5bfc
RD
21139
21140 pyobj = SWIG_NewPointerObj((void *)(wxThePenList), SWIGTYPE_p_wxPenList, 0);
21141 return pyobj;
21142}
21143
21144
c32bde28 21145static int _wrap_TheBrushList_set(PyObject *) {
d55e5bfc
RD
21146 PyErr_SetString(PyExc_TypeError,"Variable TheBrushList is read-only.");
21147 return 1;
21148}
21149
21150
093d3ff1 21151static PyObject *_wrap_TheBrushList_get(void) {
7449af73 21152 PyObject *pyobj = NULL;
d55e5bfc
RD
21153
21154 pyobj = SWIG_NewPointerObj((void *)(wxTheBrushList), SWIGTYPE_p_wxBrushList, 0);
21155 return pyobj;
21156}
21157
21158
c32bde28 21159static int _wrap_TheColourDatabase_set(PyObject *) {
d55e5bfc
RD
21160 PyErr_SetString(PyExc_TypeError,"Variable TheColourDatabase is read-only.");
21161 return 1;
21162}
21163
21164
093d3ff1 21165static PyObject *_wrap_TheColourDatabase_get(void) {
7449af73 21166 PyObject *pyobj = NULL;
d55e5bfc
RD
21167
21168 pyobj = SWIG_NewPointerObj((void *)(wxTheColourDatabase), SWIGTYPE_p_wxColourDatabase, 0);
21169 return pyobj;
21170}
21171
21172
c32bde28 21173static PyObject *_wrap_new_Effects(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21174 PyObject *resultobj = NULL;
d55e5bfc
RD
21175 wxEffects *result;
21176 char *kwnames[] = {
21177 NULL
21178 };
21179
21180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Effects",kwnames)) goto fail;
21181 {
21182 PyThreadState* __tstate = wxPyBeginAllowThreads();
21183 result = (wxEffects *)new wxEffects();
21184
21185 wxPyEndAllowThreads(__tstate);
21186 if (PyErr_Occurred()) SWIG_fail;
21187 }
21188 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEffects, 1);
21189 return resultobj;
21190 fail:
21191 return NULL;
21192}
21193
21194
c32bde28 21195static PyObject *_wrap_Effects_GetHighlightColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21196 PyObject *resultobj = NULL;
d55e5bfc
RD
21197 wxEffects *arg1 = (wxEffects *) 0 ;
21198 wxColour result;
21199 PyObject * obj0 = 0 ;
21200 char *kwnames[] = {
21201 (char *) "self", NULL
21202 };
21203
21204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetHighlightColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
21206 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21207 {
21208 PyThreadState* __tstate = wxPyBeginAllowThreads();
21209 result = ((wxEffects const *)arg1)->GetHighlightColour();
21210
21211 wxPyEndAllowThreads(__tstate);
21212 if (PyErr_Occurred()) SWIG_fail;
21213 }
21214 {
21215 wxColour * resultptr;
7449af73 21216 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
21217 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21218 }
21219 return resultobj;
21220 fail:
21221 return NULL;
21222}
21223
21224
c32bde28 21225static PyObject *_wrap_Effects_GetLightShadow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21226 PyObject *resultobj = NULL;
d55e5bfc
RD
21227 wxEffects *arg1 = (wxEffects *) 0 ;
21228 wxColour result;
21229 PyObject * obj0 = 0 ;
21230 char *kwnames[] = {
21231 (char *) "self", NULL
21232 };
21233
21234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetLightShadow",kwnames,&obj0)) goto fail;
093d3ff1
RD
21235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
21236 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21237 {
21238 PyThreadState* __tstate = wxPyBeginAllowThreads();
21239 result = ((wxEffects const *)arg1)->GetLightShadow();
21240
21241 wxPyEndAllowThreads(__tstate);
21242 if (PyErr_Occurred()) SWIG_fail;
21243 }
21244 {
21245 wxColour * resultptr;
7449af73 21246 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
21247 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21248 }
21249 return resultobj;
21250 fail:
21251 return NULL;
21252}
21253
21254
c32bde28 21255static PyObject *_wrap_Effects_GetFaceColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21256 PyObject *resultobj = NULL;
d55e5bfc
RD
21257 wxEffects *arg1 = (wxEffects *) 0 ;
21258 wxColour result;
21259 PyObject * obj0 = 0 ;
21260 char *kwnames[] = {
21261 (char *) "self", NULL
21262 };
21263
21264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetFaceColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
21266 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21267 {
21268 PyThreadState* __tstate = wxPyBeginAllowThreads();
21269 result = ((wxEffects const *)arg1)->GetFaceColour();
21270
21271 wxPyEndAllowThreads(__tstate);
21272 if (PyErr_Occurred()) SWIG_fail;
21273 }
21274 {
21275 wxColour * resultptr;
7449af73 21276 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
21277 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21278 }
21279 return resultobj;
21280 fail:
21281 return NULL;
21282}
21283
21284
c32bde28 21285static PyObject *_wrap_Effects_GetMediumShadow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21286 PyObject *resultobj = NULL;
d55e5bfc
RD
21287 wxEffects *arg1 = (wxEffects *) 0 ;
21288 wxColour result;
21289 PyObject * obj0 = 0 ;
21290 char *kwnames[] = {
21291 (char *) "self", NULL
21292 };
21293
21294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetMediumShadow",kwnames,&obj0)) goto fail;
093d3ff1
RD
21295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
21296 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21297 {
21298 PyThreadState* __tstate = wxPyBeginAllowThreads();
21299 result = ((wxEffects const *)arg1)->GetMediumShadow();
21300
21301 wxPyEndAllowThreads(__tstate);
21302 if (PyErr_Occurred()) SWIG_fail;
21303 }
21304 {
21305 wxColour * resultptr;
7449af73 21306 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
21307 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21308 }
21309 return resultobj;
21310 fail:
21311 return NULL;
21312}
21313
21314
c32bde28 21315static PyObject *_wrap_Effects_GetDarkShadow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21316 PyObject *resultobj = NULL;
d55e5bfc
RD
21317 wxEffects *arg1 = (wxEffects *) 0 ;
21318 wxColour result;
21319 PyObject * obj0 = 0 ;
21320 char *kwnames[] = {
21321 (char *) "self", NULL
21322 };
21323
21324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetDarkShadow",kwnames,&obj0)) goto fail;
093d3ff1
RD
21325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
21326 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21327 {
21328 PyThreadState* __tstate = wxPyBeginAllowThreads();
21329 result = ((wxEffects const *)arg1)->GetDarkShadow();
21330
21331 wxPyEndAllowThreads(__tstate);
21332 if (PyErr_Occurred()) SWIG_fail;
21333 }
21334 {
21335 wxColour * resultptr;
7449af73 21336 resultptr = new wxColour(static_cast<wxColour & >(result));
d55e5bfc
RD
21337 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21338 }
21339 return resultobj;
21340 fail:
21341 return NULL;
21342}
21343
21344
c32bde28 21345static PyObject *_wrap_Effects_SetHighlightColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21346 PyObject *resultobj = NULL;
d55e5bfc
RD
21347 wxEffects *arg1 = (wxEffects *) 0 ;
21348 wxColour *arg2 = 0 ;
21349 wxColour temp2 ;
21350 PyObject * obj0 = 0 ;
21351 PyObject * obj1 = 0 ;
21352 char *kwnames[] = {
21353 (char *) "self",(char *) "c", NULL
21354 };
21355
21356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetHighlightColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
21358 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21359 {
21360 arg2 = &temp2;
21361 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21362 }
21363 {
21364 PyThreadState* __tstate = wxPyBeginAllowThreads();
21365 (arg1)->SetHighlightColour((wxColour const &)*arg2);
21366
21367 wxPyEndAllowThreads(__tstate);
21368 if (PyErr_Occurred()) SWIG_fail;
21369 }
21370 Py_INCREF(Py_None); resultobj = Py_None;
21371 return resultobj;
21372 fail:
21373 return NULL;
21374}
21375
21376
c32bde28 21377static PyObject *_wrap_Effects_SetLightShadow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21378 PyObject *resultobj = NULL;
d55e5bfc
RD
21379 wxEffects *arg1 = (wxEffects *) 0 ;
21380 wxColour *arg2 = 0 ;
21381 wxColour temp2 ;
21382 PyObject * obj0 = 0 ;
21383 PyObject * obj1 = 0 ;
21384 char *kwnames[] = {
21385 (char *) "self",(char *) "c", NULL
21386 };
21387
21388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetLightShadow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
21390 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21391 {
21392 arg2 = &temp2;
21393 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21394 }
21395 {
21396 PyThreadState* __tstate = wxPyBeginAllowThreads();
21397 (arg1)->SetLightShadow((wxColour const &)*arg2);
21398
21399 wxPyEndAllowThreads(__tstate);
21400 if (PyErr_Occurred()) SWIG_fail;
21401 }
21402 Py_INCREF(Py_None); resultobj = Py_None;
21403 return resultobj;
21404 fail:
21405 return NULL;
21406}
21407
21408
c32bde28 21409static PyObject *_wrap_Effects_SetFaceColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21410 PyObject *resultobj = NULL;
d55e5bfc
RD
21411 wxEffects *arg1 = (wxEffects *) 0 ;
21412 wxColour *arg2 = 0 ;
21413 wxColour temp2 ;
21414 PyObject * obj0 = 0 ;
21415 PyObject * obj1 = 0 ;
21416 char *kwnames[] = {
21417 (char *) "self",(char *) "c", NULL
21418 };
21419
21420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetFaceColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
21422 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21423 {
21424 arg2 = &temp2;
21425 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21426 }
21427 {
21428 PyThreadState* __tstate = wxPyBeginAllowThreads();
21429 (arg1)->SetFaceColour((wxColour const &)*arg2);
21430
21431 wxPyEndAllowThreads(__tstate);
21432 if (PyErr_Occurred()) SWIG_fail;
21433 }
21434 Py_INCREF(Py_None); resultobj = Py_None;
21435 return resultobj;
21436 fail:
21437 return NULL;
21438}
21439
21440
c32bde28 21441static PyObject *_wrap_Effects_SetMediumShadow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21442 PyObject *resultobj = NULL;
d55e5bfc
RD
21443 wxEffects *arg1 = (wxEffects *) 0 ;
21444 wxColour *arg2 = 0 ;
21445 wxColour temp2 ;
21446 PyObject * obj0 = 0 ;
21447 PyObject * obj1 = 0 ;
21448 char *kwnames[] = {
21449 (char *) "self",(char *) "c", NULL
21450 };
21451
21452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetMediumShadow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
21454 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21455 {
21456 arg2 = &temp2;
21457 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21458 }
21459 {
21460 PyThreadState* __tstate = wxPyBeginAllowThreads();
21461 (arg1)->SetMediumShadow((wxColour const &)*arg2);
21462
21463 wxPyEndAllowThreads(__tstate);
21464 if (PyErr_Occurred()) SWIG_fail;
21465 }
21466 Py_INCREF(Py_None); resultobj = Py_None;
21467 return resultobj;
21468 fail:
21469 return NULL;
21470}
21471
21472
c32bde28 21473static PyObject *_wrap_Effects_SetDarkShadow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21474 PyObject *resultobj = NULL;
d55e5bfc
RD
21475 wxEffects *arg1 = (wxEffects *) 0 ;
21476 wxColour *arg2 = 0 ;
21477 wxColour temp2 ;
21478 PyObject * obj0 = 0 ;
21479 PyObject * obj1 = 0 ;
21480 char *kwnames[] = {
21481 (char *) "self",(char *) "c", NULL
21482 };
21483
21484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetDarkShadow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
21486 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21487 {
21488 arg2 = &temp2;
21489 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21490 }
21491 {
21492 PyThreadState* __tstate = wxPyBeginAllowThreads();
21493 (arg1)->SetDarkShadow((wxColour const &)*arg2);
21494
21495 wxPyEndAllowThreads(__tstate);
21496 if (PyErr_Occurred()) SWIG_fail;
21497 }
21498 Py_INCREF(Py_None); resultobj = Py_None;
21499 return resultobj;
21500 fail:
21501 return NULL;
21502}
21503
21504
c32bde28 21505static PyObject *_wrap_Effects_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21506 PyObject *resultobj = NULL;
d55e5bfc
RD
21507 wxEffects *arg1 = (wxEffects *) 0 ;
21508 wxColour *arg2 = 0 ;
21509 wxColour *arg3 = 0 ;
21510 wxColour *arg4 = 0 ;
21511 wxColour *arg5 = 0 ;
21512 wxColour *arg6 = 0 ;
21513 wxColour temp2 ;
21514 wxColour temp3 ;
21515 wxColour temp4 ;
21516 wxColour temp5 ;
21517 wxColour temp6 ;
21518 PyObject * obj0 = 0 ;
21519 PyObject * obj1 = 0 ;
21520 PyObject * obj2 = 0 ;
21521 PyObject * obj3 = 0 ;
21522 PyObject * obj4 = 0 ;
21523 PyObject * obj5 = 0 ;
21524 char *kwnames[] = {
21525 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
21526 };
21527
21528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Effects_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
21529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
21530 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21531 {
21532 arg2 = &temp2;
21533 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21534 }
21535 {
21536 arg3 = &temp3;
21537 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21538 }
21539 {
21540 arg4 = &temp4;
21541 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
21542 }
21543 {
21544 arg5 = &temp5;
21545 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
21546 }
21547 {
21548 arg6 = &temp6;
21549 if ( ! wxColour_helper(obj5, &arg6)) SWIG_fail;
21550 }
21551 {
21552 PyThreadState* __tstate = wxPyBeginAllowThreads();
21553 (arg1)->Set((wxColour const &)*arg2,(wxColour const &)*arg3,(wxColour const &)*arg4,(wxColour const &)*arg5,(wxColour const &)*arg6);
21554
21555 wxPyEndAllowThreads(__tstate);
21556 if (PyErr_Occurred()) SWIG_fail;
21557 }
21558 Py_INCREF(Py_None); resultobj = Py_None;
21559 return resultobj;
21560 fail:
21561 return NULL;
21562}
21563
21564
c32bde28 21565static PyObject *_wrap_Effects_DrawSunkenEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21566 PyObject *resultobj = NULL;
d55e5bfc
RD
21567 wxEffects *arg1 = (wxEffects *) 0 ;
21568 wxDC *arg2 = 0 ;
21569 wxRect *arg3 = 0 ;
21570 int arg4 = (int) 1 ;
21571 wxRect temp3 ;
21572 PyObject * obj0 = 0 ;
21573 PyObject * obj1 = 0 ;
21574 PyObject * obj2 = 0 ;
21575 PyObject * obj3 = 0 ;
21576 char *kwnames[] = {
21577 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
21578 };
21579
21580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
21581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
21582 if (SWIG_arg_fail(1)) SWIG_fail;
21583 {
21584 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
21585 if (SWIG_arg_fail(2)) SWIG_fail;
21586 if (arg2 == NULL) {
21587 SWIG_null_ref("wxDC");
21588 }
21589 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
21590 }
21591 {
21592 arg3 = &temp3;
21593 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
21594 }
21595 if (obj3) {
093d3ff1 21596 {
7449af73 21597 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
21598 if (SWIG_arg_fail(4)) SWIG_fail;
21599 }
d55e5bfc
RD
21600 }
21601 {
21602 PyThreadState* __tstate = wxPyBeginAllowThreads();
21603 (arg1)->DrawSunkenEdge(*arg2,(wxRect const &)*arg3,arg4);
21604
21605 wxPyEndAllowThreads(__tstate);
21606 if (PyErr_Occurred()) SWIG_fail;
21607 }
21608 Py_INCREF(Py_None); resultobj = Py_None;
21609 return resultobj;
21610 fail:
21611 return NULL;
21612}
21613
21614
c32bde28 21615static PyObject *_wrap_Effects_TileBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21616 PyObject *resultobj = NULL;
d55e5bfc
RD
21617 wxEffects *arg1 = (wxEffects *) 0 ;
21618 wxRect *arg2 = 0 ;
21619 wxDC *arg3 = 0 ;
21620 wxBitmap *arg4 = 0 ;
21621 bool result;
21622 wxRect temp2 ;
21623 PyObject * obj0 = 0 ;
21624 PyObject * obj1 = 0 ;
21625 PyObject * obj2 = 0 ;
21626 PyObject * obj3 = 0 ;
21627 char *kwnames[] = {
21628 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
21629 };
21630
21631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Effects_TileBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
21632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEffects, SWIG_POINTER_EXCEPTION | 0);
21633 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21634 {
21635 arg2 = &temp2;
21636 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
21637 }
d55e5bfc 21638 {
093d3ff1
RD
21639 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
21640 if (SWIG_arg_fail(3)) SWIG_fail;
21641 if (arg3 == NULL) {
21642 SWIG_null_ref("wxDC");
21643 }
21644 if (SWIG_arg_fail(3)) SWIG_fail;
21645 }
21646 {
21647 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
21648 if (SWIG_arg_fail(4)) SWIG_fail;
21649 if (arg4 == NULL) {
21650 SWIG_null_ref("wxBitmap");
21651 }
21652 if (SWIG_arg_fail(4)) SWIG_fail;
21653 }
21654 {
21655 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc
RD
21656 result = (bool)(arg1)->TileBitmap((wxRect const &)*arg2,*arg3,*arg4);
21657
21658 wxPyEndAllowThreads(__tstate);
21659 if (PyErr_Occurred()) SWIG_fail;
21660 }
21661 {
21662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21663 }
21664 return resultobj;
21665 fail:
21666 return NULL;
21667}
21668
21669
c32bde28 21670static PyObject * Effects_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21671 PyObject *obj;
21672 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21673 SWIG_TypeClientData(SWIGTYPE_p_wxEffects, obj);
21674 Py_INCREF(obj);
21675 return Py_BuildValue((char *)"");
21676}
be9b1dca 21677static PyObject *_wrap_new_SplitterRenderParams(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21678 PyObject *resultobj = NULL;
be9b1dca
RD
21679 int arg1 ;
21680 int arg2 ;
21681 bool arg3 ;
21682 wxSplitterRenderParams *result;
21683 PyObject * obj0 = 0 ;
21684 PyObject * obj1 = 0 ;
21685 PyObject * obj2 = 0 ;
21686 char *kwnames[] = {
21687 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
21688 };
21689
21690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_SplitterRenderParams",kwnames,&obj0,&obj1,&obj2)) goto fail;
21691 {
7449af73 21692 arg1 = static_cast<int >(SWIG_As_int(obj0));
be9b1dca
RD
21693 if (SWIG_arg_fail(1)) SWIG_fail;
21694 }
21695 {
7449af73 21696 arg2 = static_cast<int >(SWIG_As_int(obj1));
be9b1dca
RD
21697 if (SWIG_arg_fail(2)) SWIG_fail;
21698 }
21699 {
7449af73 21700 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
be9b1dca
RD
21701 if (SWIG_arg_fail(3)) SWIG_fail;
21702 }
21703 {
21704 PyThreadState* __tstate = wxPyBeginAllowThreads();
21705 result = (wxSplitterRenderParams *)new wxSplitterRenderParams(arg1,arg2,arg3);
21706
21707 wxPyEndAllowThreads(__tstate);
21708 if (PyErr_Occurred()) SWIG_fail;
21709 }
21710 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterRenderParams, 1);
21711 return resultobj;
21712 fail:
21713 return NULL;
21714}
21715
21716
21717static PyObject *_wrap_delete_SplitterRenderParams(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21718 PyObject *resultobj = NULL;
be9b1dca
RD
21719 wxSplitterRenderParams *arg1 = (wxSplitterRenderParams *) 0 ;
21720 PyObject * obj0 = 0 ;
21721 char *kwnames[] = {
21722 (char *) "self", NULL
21723 };
21724
21725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SplitterRenderParams",kwnames,&obj0)) goto fail;
21726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterRenderParams, SWIG_POINTER_EXCEPTION | 0);
21727 if (SWIG_arg_fail(1)) SWIG_fail;
21728 {
21729 PyThreadState* __tstate = wxPyBeginAllowThreads();
21730 delete arg1;
21731
21732 wxPyEndAllowThreads(__tstate);
21733 if (PyErr_Occurred()) SWIG_fail;
21734 }
21735 Py_INCREF(Py_None); resultobj = Py_None;
21736 return resultobj;
21737 fail:
21738 return NULL;
21739}
21740
21741
21742static PyObject *_wrap_SplitterRenderParams_widthSash_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21743 PyObject *resultobj = NULL;
be9b1dca
RD
21744 wxSplitterRenderParams *arg1 = (wxSplitterRenderParams *) 0 ;
21745 int result;
21746 PyObject * obj0 = 0 ;
21747 char *kwnames[] = {
21748 (char *) "self", NULL
21749 };
21750
21751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterRenderParams_widthSash_get",kwnames,&obj0)) goto fail;
21752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterRenderParams, SWIG_POINTER_EXCEPTION | 0);
21753 if (SWIG_arg_fail(1)) SWIG_fail;
21754 result = (int)(int) ((arg1)->widthSash);
21755
21756 {
7449af73 21757 resultobj = SWIG_From_int(static_cast<int >(result));
be9b1dca
RD
21758 }
21759 return resultobj;
21760 fail:
21761 return NULL;
21762}
21763
21764
21765static PyObject *_wrap_SplitterRenderParams_border_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21766 PyObject *resultobj = NULL;
be9b1dca
RD
21767 wxSplitterRenderParams *arg1 = (wxSplitterRenderParams *) 0 ;
21768 int result;
21769 PyObject * obj0 = 0 ;
21770 char *kwnames[] = {
21771 (char *) "self", NULL
21772 };
21773
21774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterRenderParams_border_get",kwnames,&obj0)) goto fail;
21775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterRenderParams, SWIG_POINTER_EXCEPTION | 0);
21776 if (SWIG_arg_fail(1)) SWIG_fail;
21777 result = (int)(int) ((arg1)->border);
21778
21779 {
7449af73 21780 resultobj = SWIG_From_int(static_cast<int >(result));
be9b1dca
RD
21781 }
21782 return resultobj;
21783 fail:
21784 return NULL;
21785}
21786
21787
21788static PyObject *_wrap_SplitterRenderParams_isHotSensitive_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21789 PyObject *resultobj = NULL;
be9b1dca
RD
21790 wxSplitterRenderParams *arg1 = (wxSplitterRenderParams *) 0 ;
21791 bool result;
21792 PyObject * obj0 = 0 ;
21793 char *kwnames[] = {
21794 (char *) "self", NULL
21795 };
21796
21797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterRenderParams_isHotSensitive_get",kwnames,&obj0)) goto fail;
21798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterRenderParams, SWIG_POINTER_EXCEPTION | 0);
21799 if (SWIG_arg_fail(1)) SWIG_fail;
21800 result = (bool)(bool) ((arg1)->isHotSensitive);
21801
21802 {
7449af73 21803 resultobj = SWIG_From_bool(static_cast<bool >(result));
be9b1dca
RD
21804 }
21805 return resultobj;
21806 fail:
21807 return NULL;
21808}
21809
21810
21811static PyObject * SplitterRenderParams_swigregister(PyObject *, PyObject *args) {
21812 PyObject *obj;
21813 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21814 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterRenderParams, obj);
21815 Py_INCREF(obj);
21816 return Py_BuildValue((char *)"");
21817}
21818static PyObject *_wrap_new_RendererVersion(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21819 PyObject *resultobj = NULL;
be9b1dca
RD
21820 int arg1 ;
21821 int arg2 ;
21822 wxRendererVersion *result;
21823 PyObject * obj0 = 0 ;
21824 PyObject * obj1 = 0 ;
21825 char *kwnames[] = {
21826 (char *) "version_",(char *) "age_", NULL
21827 };
21828
21829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RendererVersion",kwnames,&obj0,&obj1)) goto fail;
21830 {
7449af73 21831 arg1 = static_cast<int >(SWIG_As_int(obj0));
be9b1dca
RD
21832 if (SWIG_arg_fail(1)) SWIG_fail;
21833 }
21834 {
7449af73 21835 arg2 = static_cast<int >(SWIG_As_int(obj1));
be9b1dca
RD
21836 if (SWIG_arg_fail(2)) SWIG_fail;
21837 }
21838 {
21839 PyThreadState* __tstate = wxPyBeginAllowThreads();
21840 result = (wxRendererVersion *)new wxRendererVersion(arg1,arg2);
21841
21842 wxPyEndAllowThreads(__tstate);
21843 if (PyErr_Occurred()) SWIG_fail;
21844 }
21845 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRendererVersion, 1);
21846 return resultobj;
21847 fail:
21848 return NULL;
21849}
21850
21851
21852static PyObject *_wrap_delete_RendererVersion(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21853 PyObject *resultobj = NULL;
be9b1dca
RD
21854 wxRendererVersion *arg1 = (wxRendererVersion *) 0 ;
21855 PyObject * obj0 = 0 ;
21856 char *kwnames[] = {
21857 (char *) "self", NULL
21858 };
21859
21860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RendererVersion",kwnames,&obj0)) goto fail;
21861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererVersion, SWIG_POINTER_EXCEPTION | 0);
21862 if (SWIG_arg_fail(1)) SWIG_fail;
21863 {
21864 PyThreadState* __tstate = wxPyBeginAllowThreads();
21865 delete arg1;
21866
21867 wxPyEndAllowThreads(__tstate);
21868 if (PyErr_Occurred()) SWIG_fail;
21869 }
21870 Py_INCREF(Py_None); resultobj = Py_None;
21871 return resultobj;
21872 fail:
21873 return NULL;
21874}
21875
21876
21877static PyObject *_wrap_RendererVersion_IsCompatible(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21878 PyObject *resultobj = NULL;
be9b1dca
RD
21879 wxRendererVersion *arg1 = 0 ;
21880 bool result;
21881 PyObject * obj0 = 0 ;
21882 char *kwnames[] = {
21883 (char *) "ver", NULL
21884 };
21885
21886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RendererVersion_IsCompatible",kwnames,&obj0)) goto fail;
21887 {
21888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererVersion, SWIG_POINTER_EXCEPTION | 0);
21889 if (SWIG_arg_fail(1)) SWIG_fail;
21890 if (arg1 == NULL) {
21891 SWIG_null_ref("wxRendererVersion");
21892 }
21893 if (SWIG_arg_fail(1)) SWIG_fail;
21894 }
21895 {
21896 PyThreadState* __tstate = wxPyBeginAllowThreads();
21897 result = (bool)wxRendererVersion::IsCompatible((wxRendererVersion const &)*arg1);
21898
21899 wxPyEndAllowThreads(__tstate);
21900 if (PyErr_Occurred()) SWIG_fail;
21901 }
21902 {
21903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21904 }
21905 return resultobj;
21906 fail:
21907 return NULL;
21908}
21909
21910
21911static PyObject *_wrap_RendererVersion_version_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21912 PyObject *resultobj = NULL;
be9b1dca
RD
21913 wxRendererVersion *arg1 = (wxRendererVersion *) 0 ;
21914 int result;
21915 PyObject * obj0 = 0 ;
21916 char *kwnames[] = {
21917 (char *) "self", NULL
21918 };
21919
21920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RendererVersion_version_get",kwnames,&obj0)) goto fail;
21921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererVersion, SWIG_POINTER_EXCEPTION | 0);
21922 if (SWIG_arg_fail(1)) SWIG_fail;
21923 result = (int)(int) ((arg1)->version);
21924
21925 {
7449af73 21926 resultobj = SWIG_From_int(static_cast<int >(result));
be9b1dca
RD
21927 }
21928 return resultobj;
21929 fail:
21930 return NULL;
21931}
21932
21933
21934static PyObject *_wrap_RendererVersion_age_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21935 PyObject *resultobj = NULL;
be9b1dca
RD
21936 wxRendererVersion *arg1 = (wxRendererVersion *) 0 ;
21937 int result;
21938 PyObject * obj0 = 0 ;
21939 char *kwnames[] = {
21940 (char *) "self", NULL
21941 };
21942
21943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RendererVersion_age_get",kwnames,&obj0)) goto fail;
21944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererVersion, SWIG_POINTER_EXCEPTION | 0);
21945 if (SWIG_arg_fail(1)) SWIG_fail;
21946 result = (int)(int) ((arg1)->age);
21947
21948 {
7449af73 21949 resultobj = SWIG_From_int(static_cast<int >(result));
be9b1dca
RD
21950 }
21951 return resultobj;
21952 fail:
21953 return NULL;
21954}
21955
21956
21957static PyObject * RendererVersion_swigregister(PyObject *, PyObject *args) {
21958 PyObject *obj;
21959 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21960 SWIG_TypeClientData(SWIGTYPE_p_wxRendererVersion, obj);
21961 Py_INCREF(obj);
21962 return Py_BuildValue((char *)"");
21963}
21964static PyObject *_wrap_RendererNative_DrawHeaderButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21965 PyObject *resultobj = NULL;
be9b1dca
RD
21966 wxRendererNative *arg1 = (wxRendererNative *) 0 ;
21967 wxWindow *arg2 = (wxWindow *) 0 ;
21968 wxDC *arg3 = 0 ;
21969 wxRect *arg4 = 0 ;
21970 int arg5 = (int) 0 ;
21971 wxRect temp4 ;
21972 PyObject * obj0 = 0 ;
21973 PyObject * obj1 = 0 ;
21974 PyObject * obj2 = 0 ;
21975 PyObject * obj3 = 0 ;
21976 PyObject * obj4 = 0 ;
21977 char *kwnames[] = {
21978 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
21979 };
21980
21981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererNative, SWIG_POINTER_EXCEPTION | 0);
21983 if (SWIG_arg_fail(1)) SWIG_fail;
21984 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21985 if (SWIG_arg_fail(2)) SWIG_fail;
21986 {
21987 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
21988 if (SWIG_arg_fail(3)) SWIG_fail;
21989 if (arg3 == NULL) {
21990 SWIG_null_ref("wxDC");
21991 }
21992 if (SWIG_arg_fail(3)) SWIG_fail;
21993 }
21994 {
21995 arg4 = &temp4;
21996 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
21997 }
21998 if (obj4) {
21999 {
7449af73 22000 arg5 = static_cast<int >(SWIG_As_int(obj4));
be9b1dca
RD
22001 if (SWIG_arg_fail(5)) SWIG_fail;
22002 }
22003 }
22004 {
22005 PyThreadState* __tstate = wxPyBeginAllowThreads();
22006 (arg1)->DrawHeaderButton(arg2,*arg3,(wxRect const &)*arg4,arg5);
22007
22008 wxPyEndAllowThreads(__tstate);
22009 if (PyErr_Occurred()) SWIG_fail;
22010 }
22011 Py_INCREF(Py_None); resultobj = Py_None;
22012 return resultobj;
22013 fail:
22014 return NULL;
22015}
22016
22017
22018static PyObject *_wrap_RendererNative_DrawTreeItemButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22019 PyObject *resultobj = NULL;
be9b1dca
RD
22020 wxRendererNative *arg1 = (wxRendererNative *) 0 ;
22021 wxWindow *arg2 = (wxWindow *) 0 ;
22022 wxDC *arg3 = 0 ;
22023 wxRect *arg4 = 0 ;
22024 int arg5 = (int) 0 ;
22025 wxRect temp4 ;
22026 PyObject * obj0 = 0 ;
22027 PyObject * obj1 = 0 ;
22028 PyObject * obj2 = 0 ;
22029 PyObject * obj3 = 0 ;
22030 PyObject * obj4 = 0 ;
22031 char *kwnames[] = {
22032 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
22033 };
22034
22035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererNative, SWIG_POINTER_EXCEPTION | 0);
22037 if (SWIG_arg_fail(1)) SWIG_fail;
22038 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22039 if (SWIG_arg_fail(2)) SWIG_fail;
22040 {
22041 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
22042 if (SWIG_arg_fail(3)) SWIG_fail;
22043 if (arg3 == NULL) {
22044 SWIG_null_ref("wxDC");
22045 }
22046 if (SWIG_arg_fail(3)) SWIG_fail;
22047 }
22048 {
22049 arg4 = &temp4;
22050 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
22051 }
22052 if (obj4) {
22053 {
7449af73 22054 arg5 = static_cast<int >(SWIG_As_int(obj4));
be9b1dca
RD
22055 if (SWIG_arg_fail(5)) SWIG_fail;
22056 }
22057 }
22058 {
22059 PyThreadState* __tstate = wxPyBeginAllowThreads();
22060 (arg1)->DrawTreeItemButton(arg2,*arg3,(wxRect const &)*arg4,arg5);
22061
22062 wxPyEndAllowThreads(__tstate);
22063 if (PyErr_Occurred()) SWIG_fail;
22064 }
22065 Py_INCREF(Py_None); resultobj = Py_None;
22066 return resultobj;
22067 fail:
22068 return NULL;
22069}
22070
22071
22072static PyObject *_wrap_RendererNative_DrawSplitterBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22073 PyObject *resultobj = NULL;
be9b1dca
RD
22074 wxRendererNative *arg1 = (wxRendererNative *) 0 ;
22075 wxWindow *arg2 = (wxWindow *) 0 ;
22076 wxDC *arg3 = 0 ;
22077 wxRect *arg4 = 0 ;
22078 int arg5 = (int) 0 ;
22079 wxRect temp4 ;
22080 PyObject * obj0 = 0 ;
22081 PyObject * obj1 = 0 ;
22082 PyObject * obj2 = 0 ;
22083 PyObject * obj3 = 0 ;
22084 PyObject * obj4 = 0 ;
22085 char *kwnames[] = {
22086 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
22087 };
22088
22089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererNative, SWIG_POINTER_EXCEPTION | 0);
22091 if (SWIG_arg_fail(1)) SWIG_fail;
22092 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22093 if (SWIG_arg_fail(2)) SWIG_fail;
22094 {
22095 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
22096 if (SWIG_arg_fail(3)) SWIG_fail;
22097 if (arg3 == NULL) {
22098 SWIG_null_ref("wxDC");
22099 }
22100 if (SWIG_arg_fail(3)) SWIG_fail;
22101 }
22102 {
22103 arg4 = &temp4;
22104 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
22105 }
22106 if (obj4) {
22107 {
7449af73 22108 arg5 = static_cast<int >(SWIG_As_int(obj4));
be9b1dca
RD
22109 if (SWIG_arg_fail(5)) SWIG_fail;
22110 }
22111 }
22112 {
22113 PyThreadState* __tstate = wxPyBeginAllowThreads();
22114 (arg1)->DrawSplitterBorder(arg2,*arg3,(wxRect const &)*arg4,arg5);
22115
22116 wxPyEndAllowThreads(__tstate);
22117 if (PyErr_Occurred()) SWIG_fail;
22118 }
22119 Py_INCREF(Py_None); resultobj = Py_None;
22120 return resultobj;
22121 fail:
22122 return NULL;
22123}
22124
22125
22126static PyObject *_wrap_RendererNative_DrawSplitterSash(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22127 PyObject *resultobj = NULL;
be9b1dca
RD
22128 wxRendererNative *arg1 = (wxRendererNative *) 0 ;
22129 wxWindow *arg2 = (wxWindow *) 0 ;
22130 wxDC *arg3 = 0 ;
22131 wxSize *arg4 = 0 ;
22132 int arg5 ;
22133 wxOrientation arg6 ;
22134 int arg7 = (int) 0 ;
22135 wxSize temp4 ;
22136 PyObject * obj0 = 0 ;
22137 PyObject * obj1 = 0 ;
22138 PyObject * obj2 = 0 ;
22139 PyObject * obj3 = 0 ;
22140 PyObject * obj4 = 0 ;
22141 PyObject * obj5 = 0 ;
22142 PyObject * obj6 = 0 ;
22143 char *kwnames[] = {
22144 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
22145 };
22146
22147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererNative, SWIG_POINTER_EXCEPTION | 0);
22149 if (SWIG_arg_fail(1)) SWIG_fail;
22150 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22151 if (SWIG_arg_fail(2)) SWIG_fail;
22152 {
22153 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
22154 if (SWIG_arg_fail(3)) SWIG_fail;
22155 if (arg3 == NULL) {
22156 SWIG_null_ref("wxDC");
22157 }
22158 if (SWIG_arg_fail(3)) SWIG_fail;
22159 }
22160 {
22161 arg4 = &temp4;
22162 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22163 }
22164 {
7449af73 22165 arg5 = static_cast<int >(SWIG_As_int(obj4));
be9b1dca
RD
22166 if (SWIG_arg_fail(5)) SWIG_fail;
22167 }
22168 {
7449af73 22169 arg6 = static_cast<wxOrientation >(SWIG_As_int(obj5));
be9b1dca
RD
22170 if (SWIG_arg_fail(6)) SWIG_fail;
22171 }
22172 if (obj6) {
22173 {
7449af73 22174 arg7 = static_cast<int >(SWIG_As_int(obj6));
be9b1dca
RD
22175 if (SWIG_arg_fail(7)) SWIG_fail;
22176 }
22177 }
22178 {
22179 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 22180 (arg1)->DrawSplitterSash(arg2,*arg3,(wxSize const &)*arg4,arg5,arg6,arg7);
be9b1dca
RD
22181
22182 wxPyEndAllowThreads(__tstate);
22183 if (PyErr_Occurred()) SWIG_fail;
22184 }
22185 Py_INCREF(Py_None); resultobj = Py_None;
22186 return resultobj;
22187 fail:
22188 return NULL;
22189}
22190
22191
22192static PyObject *_wrap_RendererNative_DrawComboBoxDropButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22193 PyObject *resultobj = NULL;
be9b1dca
RD
22194 wxRendererNative *arg1 = (wxRendererNative *) 0 ;
22195 wxWindow *arg2 = (wxWindow *) 0 ;
22196 wxDC *arg3 = 0 ;
22197 wxRect *arg4 = 0 ;
22198 int arg5 = (int) 0 ;
22199 wxRect temp4 ;
22200 PyObject * obj0 = 0 ;
22201 PyObject * obj1 = 0 ;
22202 PyObject * obj2 = 0 ;
22203 PyObject * obj3 = 0 ;
22204 PyObject * obj4 = 0 ;
22205 char *kwnames[] = {
22206 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
22207 };
22208
22209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererNative, SWIG_POINTER_EXCEPTION | 0);
22211 if (SWIG_arg_fail(1)) SWIG_fail;
22212 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22213 if (SWIG_arg_fail(2)) SWIG_fail;
22214 {
22215 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
22216 if (SWIG_arg_fail(3)) SWIG_fail;
22217 if (arg3 == NULL) {
22218 SWIG_null_ref("wxDC");
22219 }
22220 if (SWIG_arg_fail(3)) SWIG_fail;
22221 }
22222 {
22223 arg4 = &temp4;
22224 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
22225 }
22226 if (obj4) {
22227 {
7449af73 22228 arg5 = static_cast<int >(SWIG_As_int(obj4));
be9b1dca
RD
22229 if (SWIG_arg_fail(5)) SWIG_fail;
22230 }
22231 }
22232 {
22233 PyThreadState* __tstate = wxPyBeginAllowThreads();
22234 (arg1)->DrawComboBoxDropButton(arg2,*arg3,(wxRect const &)*arg4,arg5);
22235
22236 wxPyEndAllowThreads(__tstate);
22237 if (PyErr_Occurred()) SWIG_fail;
22238 }
22239 Py_INCREF(Py_None); resultobj = Py_None;
22240 return resultobj;
22241 fail:
22242 return NULL;
22243}
22244
22245
22246static PyObject *_wrap_RendererNative_DrawDropArrow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22247 PyObject *resultobj = NULL;
be9b1dca
RD
22248 wxRendererNative *arg1 = (wxRendererNative *) 0 ;
22249 wxWindow *arg2 = (wxWindow *) 0 ;
22250 wxDC *arg3 = 0 ;
22251 wxRect *arg4 = 0 ;
22252 int arg5 = (int) 0 ;
22253 wxRect temp4 ;
22254 PyObject * obj0 = 0 ;
22255 PyObject * obj1 = 0 ;
22256 PyObject * obj2 = 0 ;
22257 PyObject * obj3 = 0 ;
22258 PyObject * obj4 = 0 ;
22259 char *kwnames[] = {
22260 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
22261 };
22262
22263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererNative, SWIG_POINTER_EXCEPTION | 0);
22265 if (SWIG_arg_fail(1)) SWIG_fail;
22266 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22267 if (SWIG_arg_fail(2)) SWIG_fail;
22268 {
22269 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
22270 if (SWIG_arg_fail(3)) SWIG_fail;
22271 if (arg3 == NULL) {
22272 SWIG_null_ref("wxDC");
22273 }
22274 if (SWIG_arg_fail(3)) SWIG_fail;
22275 }
22276 {
22277 arg4 = &temp4;
22278 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
22279 }
22280 if (obj4) {
22281 {
7449af73 22282 arg5 = static_cast<int >(SWIG_As_int(obj4));
be9b1dca
RD
22283 if (SWIG_arg_fail(5)) SWIG_fail;
22284 }
22285 }
22286 {
22287 PyThreadState* __tstate = wxPyBeginAllowThreads();
22288 (arg1)->DrawDropArrow(arg2,*arg3,(wxRect const &)*arg4,arg5);
22289
22290 wxPyEndAllowThreads(__tstate);
22291 if (PyErr_Occurred()) SWIG_fail;
22292 }
22293 Py_INCREF(Py_None); resultobj = Py_None;
22294 return resultobj;
22295 fail:
22296 return NULL;
22297}
22298
22299
22300static PyObject *_wrap_RendererNative_GetSplitterParams(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22301 PyObject *resultobj = NULL;
be9b1dca
RD
22302 wxRendererNative *arg1 = (wxRendererNative *) 0 ;
22303 wxWindow *arg2 = (wxWindow *) 0 ;
22304 SwigValueWrapper<wxSplitterRenderParams > result;
22305 PyObject * obj0 = 0 ;
22306 PyObject * obj1 = 0 ;
22307 char *kwnames[] = {
22308 (char *) "self",(char *) "win", NULL
22309 };
22310
22311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RendererNative_GetSplitterParams",kwnames,&obj0,&obj1)) goto fail;
22312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererNative, SWIG_POINTER_EXCEPTION | 0);
22313 if (SWIG_arg_fail(1)) SWIG_fail;
22314 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22315 if (SWIG_arg_fail(2)) SWIG_fail;
22316 {
22317 PyThreadState* __tstate = wxPyBeginAllowThreads();
22318 result = (arg1)->GetSplitterParams((wxWindow const *)arg2);
22319
22320 wxPyEndAllowThreads(__tstate);
22321 if (PyErr_Occurred()) SWIG_fail;
22322 }
22323 {
22324 wxSplitterRenderParams * resultptr;
7449af73 22325 resultptr = new wxSplitterRenderParams(static_cast<wxSplitterRenderParams & >(result));
be9b1dca
RD
22326 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSplitterRenderParams, 1);
22327 }
22328 return resultobj;
22329 fail:
22330 return NULL;
22331}
22332
22333
22334static PyObject *_wrap_RendererNative_Get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22335 PyObject *resultobj = NULL;
be9b1dca
RD
22336 wxRendererNative *result;
22337 char *kwnames[] = {
22338 NULL
22339 };
22340
22341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":RendererNative_Get",kwnames)) goto fail;
22342 {
22343 PyThreadState* __tstate = wxPyBeginAllowThreads();
22344 {
22345 wxRendererNative &_result_ref = wxRendererNative::Get();
22346 result = (wxRendererNative *) &_result_ref;
22347 }
22348
22349 wxPyEndAllowThreads(__tstate);
22350 if (PyErr_Occurred()) SWIG_fail;
22351 }
22352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRendererNative, 0);
22353 return resultobj;
22354 fail:
22355 return NULL;
22356}
22357
22358
22359static PyObject *_wrap_RendererNative_GetGeneric(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22360 PyObject *resultobj = NULL;
be9b1dca
RD
22361 wxRendererNative *result;
22362 char *kwnames[] = {
22363 NULL
22364 };
22365
22366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":RendererNative_GetGeneric",kwnames)) goto fail;
22367 {
22368 PyThreadState* __tstate = wxPyBeginAllowThreads();
22369 {
22370 wxRendererNative &_result_ref = wxRendererNative::GetGeneric();
22371 result = (wxRendererNative *) &_result_ref;
22372 }
22373
22374 wxPyEndAllowThreads(__tstate);
22375 if (PyErr_Occurred()) SWIG_fail;
22376 }
22377 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRendererNative, 0);
22378 return resultobj;
22379 fail:
22380 return NULL;
22381}
22382
22383
22384static PyObject *_wrap_RendererNative_GetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22385 PyObject *resultobj = NULL;
be9b1dca
RD
22386 wxRendererNative *result;
22387 char *kwnames[] = {
22388 NULL
22389 };
22390
22391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":RendererNative_GetDefault",kwnames)) goto fail;
22392 {
22393 PyThreadState* __tstate = wxPyBeginAllowThreads();
22394 {
22395 wxRendererNative &_result_ref = wxRendererNative::GetDefault();
22396 result = (wxRendererNative *) &_result_ref;
22397 }
22398
22399 wxPyEndAllowThreads(__tstate);
22400 if (PyErr_Occurred()) SWIG_fail;
22401 }
22402 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRendererNative, 0);
22403 return resultobj;
22404 fail:
22405 return NULL;
22406}
22407
22408
22409static PyObject *_wrap_RendererNative_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22410 PyObject *resultobj = NULL;
be9b1dca
RD
22411 wxRendererNative *arg1 = (wxRendererNative *) 0 ;
22412 wxRendererNative *result;
22413 PyObject * obj0 = 0 ;
22414 char *kwnames[] = {
22415 (char *) "renderer", NULL
22416 };
22417
22418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RendererNative_Set",kwnames,&obj0)) goto fail;
22419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererNative, SWIG_POINTER_EXCEPTION | 0);
22420 if (SWIG_arg_fail(1)) SWIG_fail;
22421 {
22422 PyThreadState* __tstate = wxPyBeginAllowThreads();
22423 result = (wxRendererNative *)wxRendererNative::Set(arg1);
22424
22425 wxPyEndAllowThreads(__tstate);
22426 if (PyErr_Occurred()) SWIG_fail;
22427 }
22428 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRendererNative, 0);
22429 return resultobj;
22430 fail:
22431 return NULL;
22432}
22433
22434
22435static PyObject *_wrap_RendererNative_GetVersion(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22436 PyObject *resultobj = NULL;
be9b1dca
RD
22437 wxRendererNative *arg1 = (wxRendererNative *) 0 ;
22438 SwigValueWrapper<wxRendererVersion > result;
22439 PyObject * obj0 = 0 ;
22440 char *kwnames[] = {
22441 (char *) "self", NULL
22442 };
22443
22444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RendererNative_GetVersion",kwnames,&obj0)) goto fail;
22445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRendererNative, SWIG_POINTER_EXCEPTION | 0);
22446 if (SWIG_arg_fail(1)) SWIG_fail;
22447 {
22448 PyThreadState* __tstate = wxPyBeginAllowThreads();
22449 result = ((wxRendererNative const *)arg1)->GetVersion();
22450
22451 wxPyEndAllowThreads(__tstate);
22452 if (PyErr_Occurred()) SWIG_fail;
22453 }
22454 {
22455 wxRendererVersion * resultptr;
7449af73 22456 resultptr = new wxRendererVersion(static_cast<wxRendererVersion & >(result));
be9b1dca
RD
22457 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRendererVersion, 1);
22458 }
22459 return resultobj;
22460 fail:
22461 return NULL;
22462}
22463
22464
22465static PyObject * RendererNative_swigregister(PyObject *, PyObject *args) {
22466 PyObject *obj;
22467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22468 SWIG_TypeClientData(SWIGTYPE_p_wxRendererNative, obj);
22469 Py_INCREF(obj);
22470 return Py_BuildValue((char *)"");
22471}
22472static PyMethodDef SwigMethods[] = {
22473 { (char *)"new_GDIObject", (PyCFunction) _wrap_new_GDIObject, METH_VARARGS | METH_KEYWORDS, NULL},
22474 { (char *)"delete_GDIObject", (PyCFunction) _wrap_delete_GDIObject, METH_VARARGS | METH_KEYWORDS, NULL},
22475 { (char *)"GDIObject_GetVisible", (PyCFunction) _wrap_GDIObject_GetVisible, METH_VARARGS | METH_KEYWORDS, NULL},
22476 { (char *)"GDIObject_SetVisible", (PyCFunction) _wrap_GDIObject_SetVisible, METH_VARARGS | METH_KEYWORDS, NULL},
22477 { (char *)"GDIObject_IsNull", (PyCFunction) _wrap_GDIObject_IsNull, METH_VARARGS | METH_KEYWORDS, NULL},
22478 { (char *)"GDIObject_swigregister", GDIObject_swigregister, METH_VARARGS, NULL},
22479 { (char *)"new_Colour", (PyCFunction) _wrap_new_Colour, METH_VARARGS | METH_KEYWORDS, NULL},
22480 { (char *)"new_NamedColour", (PyCFunction) _wrap_new_NamedColour, METH_VARARGS | METH_KEYWORDS, NULL},
22481 { (char *)"new_ColourRGB", (PyCFunction) _wrap_new_ColourRGB, METH_VARARGS | METH_KEYWORDS, NULL},
22482 { (char *)"delete_Colour", (PyCFunction) _wrap_delete_Colour, METH_VARARGS | METH_KEYWORDS, NULL},
22483 { (char *)"Colour_Red", (PyCFunction) _wrap_Colour_Red, METH_VARARGS | METH_KEYWORDS, NULL},
22484 { (char *)"Colour_Green", (PyCFunction) _wrap_Colour_Green, METH_VARARGS | METH_KEYWORDS, NULL},
22485 { (char *)"Colour_Blue", (PyCFunction) _wrap_Colour_Blue, METH_VARARGS | METH_KEYWORDS, NULL},
22486 { (char *)"Colour_Ok", (PyCFunction) _wrap_Colour_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
22487 { (char *)"Colour_Set", (PyCFunction) _wrap_Colour_Set, METH_VARARGS | METH_KEYWORDS, NULL},
22488 { (char *)"Colour_SetRGB", (PyCFunction) _wrap_Colour_SetRGB, METH_VARARGS | METH_KEYWORDS, NULL},
22489 { (char *)"Colour_SetFromName", (PyCFunction) _wrap_Colour_SetFromName, METH_VARARGS | METH_KEYWORDS, NULL},
22490 { (char *)"Colour_GetPixel", (PyCFunction) _wrap_Colour_GetPixel, METH_VARARGS | METH_KEYWORDS, NULL},
22491 { (char *)"Colour___eq__", (PyCFunction) _wrap_Colour___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
22492 { (char *)"Colour___ne__", (PyCFunction) _wrap_Colour___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
22493 { (char *)"Colour_Get", (PyCFunction) _wrap_Colour_Get, METH_VARARGS | METH_KEYWORDS, NULL},
22494 { (char *)"Colour_GetRGB", (PyCFunction) _wrap_Colour_GetRGB, METH_VARARGS | METH_KEYWORDS, NULL},
22495 { (char *)"Colour_swigregister", Colour_swigregister, METH_VARARGS, NULL},
22496 { (char *)"new_Palette", (PyCFunction) _wrap_new_Palette, METH_VARARGS | METH_KEYWORDS, NULL},
22497 { (char *)"delete_Palette", (PyCFunction) _wrap_delete_Palette, METH_VARARGS | METH_KEYWORDS, NULL},
22498 { (char *)"Palette_GetPixel", (PyCFunction) _wrap_Palette_GetPixel, METH_VARARGS | METH_KEYWORDS, NULL},
22499 { (char *)"Palette_GetRGB", (PyCFunction) _wrap_Palette_GetRGB, METH_VARARGS | METH_KEYWORDS, NULL},
22500 { (char *)"Palette_GetColoursCount", (PyCFunction) _wrap_Palette_GetColoursCount, METH_VARARGS | METH_KEYWORDS, NULL},
22501 { (char *)"Palette_Ok", (PyCFunction) _wrap_Palette_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
22502 { (char *)"Palette_swigregister", Palette_swigregister, METH_VARARGS, NULL},
22503 { (char *)"new_Pen", (PyCFunction) _wrap_new_Pen, METH_VARARGS | METH_KEYWORDS, NULL},
22504 { (char *)"delete_Pen", (PyCFunction) _wrap_delete_Pen, METH_VARARGS | METH_KEYWORDS, NULL},
22505 { (char *)"Pen_GetCap", (PyCFunction) _wrap_Pen_GetCap, METH_VARARGS | METH_KEYWORDS, NULL},
22506 { (char *)"Pen_GetColour", (PyCFunction) _wrap_Pen_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
22507 { (char *)"Pen_GetJoin", (PyCFunction) _wrap_Pen_GetJoin, METH_VARARGS | METH_KEYWORDS, NULL},
22508 { (char *)"Pen_GetStyle", (PyCFunction) _wrap_Pen_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
22509 { (char *)"Pen_GetWidth", (PyCFunction) _wrap_Pen_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
22510 { (char *)"Pen_Ok", (PyCFunction) _wrap_Pen_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
22511 { (char *)"Pen_SetCap", (PyCFunction) _wrap_Pen_SetCap, METH_VARARGS | METH_KEYWORDS, NULL},
22512 { (char *)"Pen_SetColour", (PyCFunction) _wrap_Pen_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
22513 { (char *)"Pen_SetJoin", (PyCFunction) _wrap_Pen_SetJoin, METH_VARARGS | METH_KEYWORDS, NULL},
22514 { (char *)"Pen_SetStyle", (PyCFunction) _wrap_Pen_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
22515 { (char *)"Pen_SetWidth", (PyCFunction) _wrap_Pen_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
22516 { (char *)"Pen_SetDashes", (PyCFunction) _wrap_Pen_SetDashes, METH_VARARGS | METH_KEYWORDS, NULL},
22517 { (char *)"Pen_GetDashes", (PyCFunction) _wrap_Pen_GetDashes, METH_VARARGS | METH_KEYWORDS, NULL},
22518 { (char *)"Pen__SetDashes", (PyCFunction) _wrap_Pen__SetDashes, METH_VARARGS | METH_KEYWORDS, NULL},
22519 { (char *)"Pen_GetDashCount", (PyCFunction) _wrap_Pen_GetDashCount, METH_VARARGS | METH_KEYWORDS, NULL},
22520 { (char *)"Pen_GetStipple", (PyCFunction) _wrap_Pen_GetStipple, METH_VARARGS | METH_KEYWORDS, NULL},
22521 { (char *)"Pen_SetStipple", (PyCFunction) _wrap_Pen_SetStipple, METH_VARARGS | METH_KEYWORDS, NULL},
22522 { (char *)"Pen___eq__", (PyCFunction) _wrap_Pen___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
22523 { (char *)"Pen___ne__", (PyCFunction) _wrap_Pen___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
22524 { (char *)"Pen_swigregister", Pen_swigregister, METH_VARARGS, NULL},
22525 { (char *)"new_Brush", (PyCFunction) _wrap_new_Brush, METH_VARARGS | METH_KEYWORDS, NULL},
22526 { (char *)"new_BrushFromBitmap", (PyCFunction) _wrap_new_BrushFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
22527 { (char *)"delete_Brush", (PyCFunction) _wrap_delete_Brush, METH_VARARGS | METH_KEYWORDS, NULL},
22528 { (char *)"Brush_SetColour", (PyCFunction) _wrap_Brush_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
22529 { (char *)"Brush_SetStyle", (PyCFunction) _wrap_Brush_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
22530 { (char *)"Brush_SetStipple", (PyCFunction) _wrap_Brush_SetStipple, METH_VARARGS | METH_KEYWORDS, NULL},
22531 { (char *)"Brush_GetColour", (PyCFunction) _wrap_Brush_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
22532 { (char *)"Brush_GetStyle", (PyCFunction) _wrap_Brush_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
22533 { (char *)"Brush_GetStipple", (PyCFunction) _wrap_Brush_GetStipple, METH_VARARGS | METH_KEYWORDS, NULL},
22534 { (char *)"Brush_IsHatch", (PyCFunction) _wrap_Brush_IsHatch, METH_VARARGS | METH_KEYWORDS, NULL},
22535 { (char *)"Brush_Ok", (PyCFunction) _wrap_Brush_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
22536 { (char *)"Brush_swigregister", Brush_swigregister, METH_VARARGS, NULL},
22537 { (char *)"new_Bitmap", (PyCFunction) _wrap_new_Bitmap, METH_VARARGS | METH_KEYWORDS, NULL},
22538 { (char *)"delete_Bitmap", (PyCFunction) _wrap_delete_Bitmap, METH_VARARGS | METH_KEYWORDS, NULL},
22539 { (char *)"new_EmptyBitmap", (PyCFunction) _wrap_new_EmptyBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
22540 { (char *)"new_BitmapFromIcon", (PyCFunction) _wrap_new_BitmapFromIcon, METH_VARARGS | METH_KEYWORDS, NULL},
22541 { (char *)"new_BitmapFromImage", (PyCFunction) _wrap_new_BitmapFromImage, METH_VARARGS | METH_KEYWORDS, NULL},
22542 { (char *)"new_BitmapFromXPMData", (PyCFunction) _wrap_new_BitmapFromXPMData, METH_VARARGS | METH_KEYWORDS, NULL},
22543 { (char *)"new_BitmapFromBits", (PyCFunction) _wrap_new_BitmapFromBits, METH_VARARGS | METH_KEYWORDS, NULL},
22544 { (char *)"Bitmap_GetHandle", (PyCFunction) _wrap_Bitmap_GetHandle, METH_VARARGS | METH_KEYWORDS, NULL},
22545 { (char *)"Bitmap_SetHandle", (PyCFunction) _wrap_Bitmap_SetHandle, METH_VARARGS | METH_KEYWORDS, NULL},
22546 { (char *)"Bitmap_Ok", (PyCFunction) _wrap_Bitmap_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
22547 { (char *)"Bitmap_GetWidth", (PyCFunction) _wrap_Bitmap_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
22548 { (char *)"Bitmap_GetHeight", (PyCFunction) _wrap_Bitmap_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
22549 { (char *)"Bitmap_GetDepth", (PyCFunction) _wrap_Bitmap_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
22550 { (char *)"Bitmap_GetSize", (PyCFunction) _wrap_Bitmap_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
22551 { (char *)"Bitmap_ConvertToImage", (PyCFunction) _wrap_Bitmap_ConvertToImage, METH_VARARGS | METH_KEYWORDS, NULL},
22552 { (char *)"Bitmap_GetMask", (PyCFunction) _wrap_Bitmap_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
22553 { (char *)"Bitmap_SetMask", (PyCFunction) _wrap_Bitmap_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
22554 { (char *)"Bitmap_SetMaskColour", (PyCFunction) _wrap_Bitmap_SetMaskColour, METH_VARARGS | METH_KEYWORDS, NULL},
22555 { (char *)"Bitmap_GetSubBitmap", (PyCFunction) _wrap_Bitmap_GetSubBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
22556 { (char *)"Bitmap_SaveFile", (PyCFunction) _wrap_Bitmap_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
22557 { (char *)"Bitmap_LoadFile", (PyCFunction) _wrap_Bitmap_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
22558 { (char *)"Bitmap_GetPalette", (PyCFunction) _wrap_Bitmap_GetPalette, METH_VARARGS | METH_KEYWORDS, NULL},
22559 { (char *)"Bitmap_SetPalette", (PyCFunction) _wrap_Bitmap_SetPalette, METH_VARARGS | METH_KEYWORDS, NULL},
22560 { (char *)"Bitmap_CopyFromIcon", (PyCFunction) _wrap_Bitmap_CopyFromIcon, METH_VARARGS | METH_KEYWORDS, NULL},
22561 { (char *)"Bitmap_SetHeight", (PyCFunction) _wrap_Bitmap_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
22562 { (char *)"Bitmap_SetWidth", (PyCFunction) _wrap_Bitmap_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
22563 { (char *)"Bitmap_SetDepth", (PyCFunction) _wrap_Bitmap_SetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
22564 { (char *)"Bitmap_SetSize", (PyCFunction) _wrap_Bitmap_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
22565 { (char *)"Bitmap_CopyFromCursor", (PyCFunction) _wrap_Bitmap_CopyFromCursor, METH_VARARGS | METH_KEYWORDS, NULL},
be9b1dca
RD
22566 { (char *)"Bitmap___eq__", (PyCFunction) _wrap_Bitmap___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
22567 { (char *)"Bitmap___ne__", (PyCFunction) _wrap_Bitmap___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
22568 { (char *)"Bitmap_swigregister", Bitmap_swigregister, METH_VARARGS, NULL},
22569 { (char *)"new_Mask", (PyCFunction) _wrap_new_Mask, METH_VARARGS | METH_KEYWORDS, NULL},
22570 { (char *)"Mask_swigregister", Mask_swigregister, METH_VARARGS, NULL},
22571 { (char *)"new_Icon", (PyCFunction) _wrap_new_Icon, METH_VARARGS | METH_KEYWORDS, NULL},
22572 { (char *)"delete_Icon", (PyCFunction) _wrap_delete_Icon, METH_VARARGS | METH_KEYWORDS, NULL},
22573 { (char *)"new_EmptyIcon", (PyCFunction) _wrap_new_EmptyIcon, METH_VARARGS | METH_KEYWORDS, NULL},
22574 { (char *)"new_IconFromLocation", (PyCFunction) _wrap_new_IconFromLocation, METH_VARARGS | METH_KEYWORDS, NULL},
22575 { (char *)"new_IconFromBitmap", (PyCFunction) _wrap_new_IconFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
22576 { (char *)"new_IconFromXPMData", (PyCFunction) _wrap_new_IconFromXPMData, METH_VARARGS | METH_KEYWORDS, NULL},
22577 { (char *)"Icon_LoadFile", (PyCFunction) _wrap_Icon_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
22578 { (char *)"Icon_GetHandle", (PyCFunction) _wrap_Icon_GetHandle, METH_VARARGS | METH_KEYWORDS, NULL},
22579 { (char *)"Icon_SetHandle", (PyCFunction) _wrap_Icon_SetHandle, METH_VARARGS | METH_KEYWORDS, NULL},
22580 { (char *)"Icon_Ok", (PyCFunction) _wrap_Icon_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
22581 { (char *)"Icon_GetWidth", (PyCFunction) _wrap_Icon_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
22582 { (char *)"Icon_GetHeight", (PyCFunction) _wrap_Icon_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
22583 { (char *)"Icon_GetDepth", (PyCFunction) _wrap_Icon_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
22584 { (char *)"Icon_SetWidth", (PyCFunction) _wrap_Icon_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
22585 { (char *)"Icon_SetHeight", (PyCFunction) _wrap_Icon_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
22586 { (char *)"Icon_SetDepth", (PyCFunction) _wrap_Icon_SetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
22587 { (char *)"Icon_SetSize", (PyCFunction) _wrap_Icon_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
22588 { (char *)"Icon_CopyFromBitmap", (PyCFunction) _wrap_Icon_CopyFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
22589 { (char *)"Icon_swigregister", Icon_swigregister, METH_VARARGS, NULL},
22590 { (char *)"new_IconLocation", (PyCFunction) _wrap_new_IconLocation, METH_VARARGS | METH_KEYWORDS, NULL},
22591 { (char *)"delete_IconLocation", (PyCFunction) _wrap_delete_IconLocation, METH_VARARGS | METH_KEYWORDS, NULL},
22592 { (char *)"IconLocation_IsOk", (PyCFunction) _wrap_IconLocation_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
22593 { (char *)"IconLocation_SetFileName", (PyCFunction) _wrap_IconLocation_SetFileName, METH_VARARGS | METH_KEYWORDS, NULL},
22594 { (char *)"IconLocation_GetFileName", (PyCFunction) _wrap_IconLocation_GetFileName, METH_VARARGS | METH_KEYWORDS, NULL},
22595 { (char *)"IconLocation_SetIndex", (PyCFunction) _wrap_IconLocation_SetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
22596 { (char *)"IconLocation_GetIndex", (PyCFunction) _wrap_IconLocation_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
22597 { (char *)"IconLocation_swigregister", IconLocation_swigregister, METH_VARARGS, NULL},
22598 { (char *)"new_IconBundle", (PyCFunction) _wrap_new_IconBundle, METH_VARARGS | METH_KEYWORDS, NULL},
22599 { (char *)"new_IconBundleFromFile", (PyCFunction) _wrap_new_IconBundleFromFile, METH_VARARGS | METH_KEYWORDS, NULL},
22600 { (char *)"new_IconBundleFromIcon", (PyCFunction) _wrap_new_IconBundleFromIcon, METH_VARARGS | METH_KEYWORDS, NULL},
22601 { (char *)"delete_IconBundle", (PyCFunction) _wrap_delete_IconBundle, METH_VARARGS | METH_KEYWORDS, NULL},
22602 { (char *)"IconBundle_AddIcon", (PyCFunction) _wrap_IconBundle_AddIcon, METH_VARARGS | METH_KEYWORDS, NULL},
22603 { (char *)"IconBundle_AddIconFromFile", (PyCFunction) _wrap_IconBundle_AddIconFromFile, METH_VARARGS | METH_KEYWORDS, NULL},
22604 { (char *)"IconBundle_GetIcon", (PyCFunction) _wrap_IconBundle_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
22605 { (char *)"IconBundle_swigregister", IconBundle_swigregister, METH_VARARGS, NULL},
22606 { (char *)"new_Cursor", (PyCFunction) _wrap_new_Cursor, METH_VARARGS | METH_KEYWORDS, NULL},
22607 { (char *)"delete_Cursor", (PyCFunction) _wrap_delete_Cursor, METH_VARARGS | METH_KEYWORDS, NULL},
22608 { (char *)"new_StockCursor", (PyCFunction) _wrap_new_StockCursor, METH_VARARGS | METH_KEYWORDS, NULL},
22609 { (char *)"new_CursorFromImage", (PyCFunction) _wrap_new_CursorFromImage, METH_VARARGS | METH_KEYWORDS, NULL},
22610 { (char *)"Cursor_GetHandle", (PyCFunction) _wrap_Cursor_GetHandle, METH_VARARGS | METH_KEYWORDS, NULL},
22611 { (char *)"Cursor_SetHandle", (PyCFunction) _wrap_Cursor_SetHandle, METH_VARARGS | METH_KEYWORDS, NULL},
22612 { (char *)"Cursor_Ok", (PyCFunction) _wrap_Cursor_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
22613 { (char *)"Cursor_GetWidth", (PyCFunction) _wrap_Cursor_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
22614 { (char *)"Cursor_GetHeight", (PyCFunction) _wrap_Cursor_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
22615 { (char *)"Cursor_GetDepth", (PyCFunction) _wrap_Cursor_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
22616 { (char *)"Cursor_SetWidth", (PyCFunction) _wrap_Cursor_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
22617 { (char *)"Cursor_SetHeight", (PyCFunction) _wrap_Cursor_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
22618 { (char *)"Cursor_SetDepth", (PyCFunction) _wrap_Cursor_SetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
22619 { (char *)"Cursor_SetSize", (PyCFunction) _wrap_Cursor_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
22620 { (char *)"Cursor_swigregister", Cursor_swigregister, METH_VARARGS, NULL},
22621 { (char *)"new_Region", (PyCFunction) _wrap_new_Region, METH_VARARGS | METH_KEYWORDS, NULL},
22622 { (char *)"new_RegionFromBitmap", (PyCFunction) _wrap_new_RegionFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
22623 { (char *)"new_RegionFromBitmapColour", (PyCFunction) _wrap_new_RegionFromBitmapColour, METH_VARARGS | METH_KEYWORDS, NULL},
22624 { (char *)"new_RegionFromPoints", (PyCFunction) _wrap_new_RegionFromPoints, METH_VARARGS | METH_KEYWORDS, NULL},
22625 { (char *)"delete_Region", (PyCFunction) _wrap_delete_Region, METH_VARARGS | METH_KEYWORDS, NULL},
22626 { (char *)"Region_Clear", (PyCFunction) _wrap_Region_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
22627 { (char *)"Region_Offset", (PyCFunction) _wrap_Region_Offset, METH_VARARGS | METH_KEYWORDS, NULL},
22628 { (char *)"Region_Contains", (PyCFunction) _wrap_Region_Contains, METH_VARARGS | METH_KEYWORDS, NULL},
22629 { (char *)"Region_ContainsPoint", (PyCFunction) _wrap_Region_ContainsPoint, METH_VARARGS | METH_KEYWORDS, NULL},
22630 { (char *)"Region_ContainsRect", (PyCFunction) _wrap_Region_ContainsRect, METH_VARARGS | METH_KEYWORDS, NULL},
22631 { (char *)"Region_ContainsRectDim", (PyCFunction) _wrap_Region_ContainsRectDim, METH_VARARGS | METH_KEYWORDS, NULL},
22632 { (char *)"Region_GetBox", (PyCFunction) _wrap_Region_GetBox, METH_VARARGS | METH_KEYWORDS, NULL},
22633 { (char *)"Region_Intersect", (PyCFunction) _wrap_Region_Intersect, METH_VARARGS | METH_KEYWORDS, NULL},
22634 { (char *)"Region_IntersectRect", (PyCFunction) _wrap_Region_IntersectRect, METH_VARARGS | METH_KEYWORDS, NULL},
22635 { (char *)"Region_IntersectRegion", (PyCFunction) _wrap_Region_IntersectRegion, METH_VARARGS | METH_KEYWORDS, NULL},
22636 { (char *)"Region_IsEmpty", (PyCFunction) _wrap_Region_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL},
22637 { (char *)"Region_Union", (PyCFunction) _wrap_Region_Union, METH_VARARGS | METH_KEYWORDS, NULL},
22638 { (char *)"Region_UnionRect", (PyCFunction) _wrap_Region_UnionRect, METH_VARARGS | METH_KEYWORDS, NULL},
22639 { (char *)"Region_UnionRegion", (PyCFunction) _wrap_Region_UnionRegion, METH_VARARGS | METH_KEYWORDS, NULL},
22640 { (char *)"Region_Subtract", (PyCFunction) _wrap_Region_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
22641 { (char *)"Region_SubtractRect", (PyCFunction) _wrap_Region_SubtractRect, METH_VARARGS | METH_KEYWORDS, NULL},
22642 { (char *)"Region_SubtractRegion", (PyCFunction) _wrap_Region_SubtractRegion, METH_VARARGS | METH_KEYWORDS, NULL},
22643 { (char *)"Region_Xor", (PyCFunction) _wrap_Region_Xor, METH_VARARGS | METH_KEYWORDS, NULL},
22644 { (char *)"Region_XorRect", (PyCFunction) _wrap_Region_XorRect, METH_VARARGS | METH_KEYWORDS, NULL},
22645 { (char *)"Region_XorRegion", (PyCFunction) _wrap_Region_XorRegion, METH_VARARGS | METH_KEYWORDS, NULL},
22646 { (char *)"Region_ConvertToBitmap", (PyCFunction) _wrap_Region_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
22647 { (char *)"Region_UnionBitmap", (PyCFunction) _wrap_Region_UnionBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
22648 { (char *)"Region_UnionBitmapColour", (PyCFunction) _wrap_Region_UnionBitmapColour, METH_VARARGS | METH_KEYWORDS, NULL},
22649 { (char *)"Region_swigregister", Region_swigregister, METH_VARARGS, NULL},
22650 { (char *)"new_RegionIterator", (PyCFunction) _wrap_new_RegionIterator, METH_VARARGS | METH_KEYWORDS, NULL},
22651 { (char *)"delete_RegionIterator", (PyCFunction) _wrap_delete_RegionIterator, METH_VARARGS | METH_KEYWORDS, NULL},
22652 { (char *)"RegionIterator_GetX", (PyCFunction) _wrap_RegionIterator_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
22653 { (char *)"RegionIterator_GetY", (PyCFunction) _wrap_RegionIterator_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
22654 { (char *)"RegionIterator_GetW", (PyCFunction) _wrap_RegionIterator_GetW, METH_VARARGS | METH_KEYWORDS, NULL},
22655 { (char *)"RegionIterator_GetWidth", (PyCFunction) _wrap_RegionIterator_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
22656 { (char *)"RegionIterator_GetH", (PyCFunction) _wrap_RegionIterator_GetH, METH_VARARGS | METH_KEYWORDS, NULL},
22657 { (char *)"RegionIterator_GetHeight", (PyCFunction) _wrap_RegionIterator_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
22658 { (char *)"RegionIterator_GetRect", (PyCFunction) _wrap_RegionIterator_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
22659 { (char *)"RegionIterator_HaveRects", (PyCFunction) _wrap_RegionIterator_HaveRects, METH_VARARGS | METH_KEYWORDS, NULL},
22660 { (char *)"RegionIterator_Reset", (PyCFunction) _wrap_RegionIterator_Reset, METH_VARARGS | METH_KEYWORDS, NULL},
22661 { (char *)"RegionIterator_Next", (PyCFunction) _wrap_RegionIterator_Next, METH_VARARGS | METH_KEYWORDS, NULL},
22662 { (char *)"RegionIterator___nonzero__", (PyCFunction) _wrap_RegionIterator___nonzero__, METH_VARARGS | METH_KEYWORDS, NULL},
22663 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister, METH_VARARGS, NULL},
22664 { (char *)"new_NativeFontInfo", (PyCFunction) _wrap_new_NativeFontInfo, METH_VARARGS | METH_KEYWORDS, NULL},
22665 { (char *)"delete_NativeFontInfo", (PyCFunction) _wrap_delete_NativeFontInfo, METH_VARARGS | METH_KEYWORDS, NULL},
22666 { (char *)"NativeFontInfo_Init", (PyCFunction) _wrap_NativeFontInfo_Init, METH_VARARGS | METH_KEYWORDS, NULL},
22667 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction) _wrap_NativeFontInfo_InitFromFont, METH_VARARGS | METH_KEYWORDS, NULL},
22668 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction) _wrap_NativeFontInfo_GetPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
22669 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction) _wrap_NativeFontInfo_GetPixelSize, METH_VARARGS | METH_KEYWORDS, NULL},
22670 { (char *)"NativeFontInfo_GetStyle", (PyCFunction) _wrap_NativeFontInfo_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
22671 { (char *)"NativeFontInfo_GetWeight", (PyCFunction) _wrap_NativeFontInfo_GetWeight, METH_VARARGS | METH_KEYWORDS, NULL},
22672 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction) _wrap_NativeFontInfo_GetUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
22673 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction) _wrap_NativeFontInfo_GetFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
22674 { (char *)"NativeFontInfo_GetFamily", (PyCFunction) _wrap_NativeFontInfo_GetFamily, METH_VARARGS | METH_KEYWORDS, NULL},
22675 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction) _wrap_NativeFontInfo_GetEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
22676 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction) _wrap_NativeFontInfo_SetPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
22677 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction) _wrap_NativeFontInfo_SetPixelSize, METH_VARARGS | METH_KEYWORDS, NULL},
22678 { (char *)"NativeFontInfo_SetStyle", (PyCFunction) _wrap_NativeFontInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
22679 { (char *)"NativeFontInfo_SetWeight", (PyCFunction) _wrap_NativeFontInfo_SetWeight, METH_VARARGS | METH_KEYWORDS, NULL},
22680 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction) _wrap_NativeFontInfo_SetUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
22681 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction) _wrap_NativeFontInfo_SetFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
22682 { (char *)"NativeFontInfo_SetFamily", (PyCFunction) _wrap_NativeFontInfo_SetFamily, METH_VARARGS | METH_KEYWORDS, NULL},
22683 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction) _wrap_NativeFontInfo_SetEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
22684 { (char *)"NativeFontInfo_FromString", (PyCFunction) _wrap_NativeFontInfo_FromString, METH_VARARGS | METH_KEYWORDS, NULL},
22685 { (char *)"NativeFontInfo_ToString", (PyCFunction) _wrap_NativeFontInfo_ToString, METH_VARARGS | METH_KEYWORDS, NULL},
22686 { (char *)"NativeFontInfo___str__", (PyCFunction) _wrap_NativeFontInfo___str__, METH_VARARGS | METH_KEYWORDS, NULL},
22687 { (char *)"NativeFontInfo_FromUserString", (PyCFunction) _wrap_NativeFontInfo_FromUserString, METH_VARARGS | METH_KEYWORDS, NULL},
22688 { (char *)"NativeFontInfo_ToUserString", (PyCFunction) _wrap_NativeFontInfo_ToUserString, METH_VARARGS | METH_KEYWORDS, NULL},
22689 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister, METH_VARARGS, NULL},
22690 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction) _wrap_NativeEncodingInfo_facename_set, METH_VARARGS | METH_KEYWORDS, NULL},
22691 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction) _wrap_NativeEncodingInfo_facename_get, METH_VARARGS | METH_KEYWORDS, NULL},
22692 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction) _wrap_NativeEncodingInfo_encoding_set, METH_VARARGS | METH_KEYWORDS, NULL},
22693 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction) _wrap_NativeEncodingInfo_encoding_get, METH_VARARGS | METH_KEYWORDS, NULL},
22694 { (char *)"new_NativeEncodingInfo", (PyCFunction) _wrap_new_NativeEncodingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
22695 { (char *)"delete_NativeEncodingInfo", (PyCFunction) _wrap_delete_NativeEncodingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
22696 { (char *)"NativeEncodingInfo_FromString", (PyCFunction) _wrap_NativeEncodingInfo_FromString, METH_VARARGS | METH_KEYWORDS, NULL},
22697 { (char *)"NativeEncodingInfo_ToString", (PyCFunction) _wrap_NativeEncodingInfo_ToString, METH_VARARGS | METH_KEYWORDS, NULL},
22698 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister, METH_VARARGS, NULL},
22699 { (char *)"GetNativeFontEncoding", (PyCFunction) _wrap_GetNativeFontEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
22700 { (char *)"TestFontEncoding", (PyCFunction) _wrap_TestFontEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
22701 { (char *)"new_FontMapper", (PyCFunction) _wrap_new_FontMapper, METH_VARARGS | METH_KEYWORDS, NULL},
22702 { (char *)"delete_FontMapper", (PyCFunction) _wrap_delete_FontMapper, METH_VARARGS | METH_KEYWORDS, NULL},
22703 { (char *)"FontMapper_Get", (PyCFunction) _wrap_FontMapper_Get, METH_VARARGS | METH_KEYWORDS, NULL},
22704 { (char *)"FontMapper_Set", (PyCFunction) _wrap_FontMapper_Set, METH_VARARGS | METH_KEYWORDS, NULL},
22705 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction) _wrap_FontMapper_CharsetToEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
22706 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction) _wrap_FontMapper_GetSupportedEncodingsCount, METH_VARARGS | METH_KEYWORDS, NULL},
22707 { (char *)"FontMapper_GetEncoding", (PyCFunction) _wrap_FontMapper_GetEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
22708 { (char *)"FontMapper_GetEncodingName", (PyCFunction) _wrap_FontMapper_GetEncodingName, METH_VARARGS | METH_KEYWORDS, NULL},
22709 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction) _wrap_FontMapper_GetEncodingDescription, METH_VARARGS | METH_KEYWORDS, NULL},
22710 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction) _wrap_FontMapper_GetEncodingFromName, METH_VARARGS | METH_KEYWORDS, NULL},
be9b1dca
RD
22711 { (char *)"FontMapper_SetConfigPath", (PyCFunction) _wrap_FontMapper_SetConfigPath, METH_VARARGS | METH_KEYWORDS, NULL},
22712 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction) _wrap_FontMapper_GetDefaultConfigPath, METH_VARARGS | METH_KEYWORDS, NULL},
22713 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction) _wrap_FontMapper_GetAltForEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
22714 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction) _wrap_FontMapper_IsEncodingAvailable, METH_VARARGS | METH_KEYWORDS, NULL},
22715 { (char *)"FontMapper_SetDialogParent", (PyCFunction) _wrap_FontMapper_SetDialogParent, METH_VARARGS | METH_KEYWORDS, NULL},
22716 { (char *)"FontMapper_SetDialogTitle", (PyCFunction) _wrap_FontMapper_SetDialogTitle, METH_VARARGS | METH_KEYWORDS, NULL},
22717 { (char *)"FontMapper_swigregister", FontMapper_swigregister, METH_VARARGS, NULL},
22718 { (char *)"new_Font", (PyCFunction) _wrap_new_Font, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
22719 { (char *)"delete_Font", (PyCFunction) _wrap_delete_Font, METH_VARARGS | METH_KEYWORDS, NULL},
22720 { (char *)"new_FontFromNativeInfo", (PyCFunction) _wrap_new_FontFromNativeInfo, METH_VARARGS | METH_KEYWORDS, NULL},
22721 { (char *)"new_FontFromNativeInfoString", (PyCFunction) _wrap_new_FontFromNativeInfoString, METH_VARARGS | METH_KEYWORDS, NULL},
a97cefba 22722 { (char *)"new_FFont", (PyCFunction) _wrap_new_FFont, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 22723 { (char *)"new_FontFromPixelSize", (PyCFunction) _wrap_new_FontFromPixelSize, METH_VARARGS | METH_KEYWORDS, NULL},
a97cefba 22724 { (char *)"new_FFontFromPixelSize", (PyCFunction) _wrap_new_FFontFromPixelSize, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
22725 { (char *)"Font_Ok", (PyCFunction) _wrap_Font_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
22726 { (char *)"Font___eq__", (PyCFunction) _wrap_Font___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
22727 { (char *)"Font___ne__", (PyCFunction) _wrap_Font___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
22728 { (char *)"Font_GetPointSize", (PyCFunction) _wrap_Font_GetPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
22729 { (char *)"Font_GetPixelSize", (PyCFunction) _wrap_Font_GetPixelSize, METH_VARARGS | METH_KEYWORDS, NULL},
22730 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction) _wrap_Font_IsUsingSizeInPixels, METH_VARARGS | METH_KEYWORDS, NULL},
22731 { (char *)"Font_GetFamily", (PyCFunction) _wrap_Font_GetFamily, METH_VARARGS | METH_KEYWORDS, NULL},
22732 { (char *)"Font_GetStyle", (PyCFunction) _wrap_Font_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
22733 { (char *)"Font_GetWeight", (PyCFunction) _wrap_Font_GetWeight, METH_VARARGS | METH_KEYWORDS, NULL},
22734 { (char *)"Font_GetUnderlined", (PyCFunction) _wrap_Font_GetUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
22735 { (char *)"Font_GetFaceName", (PyCFunction) _wrap_Font_GetFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
22736 { (char *)"Font_GetEncoding", (PyCFunction) _wrap_Font_GetEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
22737 { (char *)"Font_GetNativeFontInfo", (PyCFunction) _wrap_Font_GetNativeFontInfo, METH_VARARGS | METH_KEYWORDS, NULL},
22738 { (char *)"Font_IsFixedWidth", (PyCFunction) _wrap_Font_IsFixedWidth, METH_VARARGS | METH_KEYWORDS, NULL},
22739 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction) _wrap_Font_GetNativeFontInfoDesc, METH_VARARGS | METH_KEYWORDS, NULL},
22740 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction) _wrap_Font_GetNativeFontInfoUserDesc, METH_VARARGS | METH_KEYWORDS, NULL},
22741 { (char *)"Font_SetPointSize", (PyCFunction) _wrap_Font_SetPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
22742 { (char *)"Font_SetPixelSize", (PyCFunction) _wrap_Font_SetPixelSize, METH_VARARGS | METH_KEYWORDS, NULL},
22743 { (char *)"Font_SetFamily", (PyCFunction) _wrap_Font_SetFamily, METH_VARARGS | METH_KEYWORDS, NULL},
22744 { (char *)"Font_SetStyle", (PyCFunction) _wrap_Font_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
22745 { (char *)"Font_SetWeight", (PyCFunction) _wrap_Font_SetWeight, METH_VARARGS | METH_KEYWORDS, NULL},
22746 { (char *)"Font_SetFaceName", (PyCFunction) _wrap_Font_SetFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
22747 { (char *)"Font_SetUnderlined", (PyCFunction) _wrap_Font_SetUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
22748 { (char *)"Font_SetEncoding", (PyCFunction) _wrap_Font_SetEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
22749 { (char *)"Font_SetNativeFontInfo", (PyCFunction) _wrap_Font_SetNativeFontInfo, METH_VARARGS | METH_KEYWORDS, NULL},
22750 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction) _wrap_Font_SetNativeFontInfoFromString, METH_VARARGS | METH_KEYWORDS, NULL},
22751 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction) _wrap_Font_SetNativeFontInfoUserDesc, METH_VARARGS | METH_KEYWORDS, NULL},
22752 { (char *)"Font_GetFamilyString", (PyCFunction) _wrap_Font_GetFamilyString, METH_VARARGS | METH_KEYWORDS, NULL},
22753 { (char *)"Font_GetStyleString", (PyCFunction) _wrap_Font_GetStyleString, METH_VARARGS | METH_KEYWORDS, NULL},
22754 { (char *)"Font_GetWeightString", (PyCFunction) _wrap_Font_GetWeightString, METH_VARARGS | METH_KEYWORDS, NULL},
22755 { (char *)"Font_SetNoAntiAliasing", (PyCFunction) _wrap_Font_SetNoAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL},
22756 { (char *)"Font_GetNoAntiAliasing", (PyCFunction) _wrap_Font_GetNoAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL},
22757 { (char *)"Font_GetDefaultEncoding", (PyCFunction) _wrap_Font_GetDefaultEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
22758 { (char *)"Font_SetDefaultEncoding", (PyCFunction) _wrap_Font_SetDefaultEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
22759 { (char *)"Font_swigregister", Font_swigregister, METH_VARARGS, NULL},
22760 { (char *)"new_FontEnumerator", (PyCFunction) _wrap_new_FontEnumerator, METH_VARARGS | METH_KEYWORDS, NULL},
22761 { (char *)"delete_FontEnumerator", (PyCFunction) _wrap_delete_FontEnumerator, METH_VARARGS | METH_KEYWORDS, NULL},
22762 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction) _wrap_FontEnumerator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
22763 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction) _wrap_FontEnumerator_EnumerateFacenames, METH_VARARGS | METH_KEYWORDS, NULL},
22764 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction) _wrap_FontEnumerator_EnumerateEncodings, METH_VARARGS | METH_KEYWORDS, NULL},
22765 { (char *)"FontEnumerator_GetEncodings", (PyCFunction) _wrap_FontEnumerator_GetEncodings, METH_VARARGS | METH_KEYWORDS, NULL},
22766 { (char *)"FontEnumerator_GetFacenames", (PyCFunction) _wrap_FontEnumerator_GetFacenames, METH_VARARGS | METH_KEYWORDS, NULL},
22767 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister, METH_VARARGS, NULL},
22768 { (char *)"LanguageInfo_Language_set", (PyCFunction) _wrap_LanguageInfo_Language_set, METH_VARARGS | METH_KEYWORDS, NULL},
22769 { (char *)"LanguageInfo_Language_get", (PyCFunction) _wrap_LanguageInfo_Language_get, METH_VARARGS | METH_KEYWORDS, NULL},
22770 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction) _wrap_LanguageInfo_CanonicalName_set, METH_VARARGS | METH_KEYWORDS, NULL},
22771 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction) _wrap_LanguageInfo_CanonicalName_get, METH_VARARGS | METH_KEYWORDS, NULL},
22772 { (char *)"LanguageInfo_Description_set", (PyCFunction) _wrap_LanguageInfo_Description_set, METH_VARARGS | METH_KEYWORDS, NULL},
22773 { (char *)"LanguageInfo_Description_get", (PyCFunction) _wrap_LanguageInfo_Description_get, METH_VARARGS | METH_KEYWORDS, NULL},
22774 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister, METH_VARARGS, NULL},
22775 { (char *)"new_Locale", (PyCFunction) _wrap_new_Locale, METH_VARARGS | METH_KEYWORDS, NULL},
22776 { (char *)"delete_Locale", (PyCFunction) _wrap_delete_Locale, METH_VARARGS | METH_KEYWORDS, NULL},
22777 { (char *)"Locale_Init1", (PyCFunction) _wrap_Locale_Init1, METH_VARARGS | METH_KEYWORDS, NULL},
22778 { (char *)"Locale_Init2", (PyCFunction) _wrap_Locale_Init2, METH_VARARGS | METH_KEYWORDS, NULL},
22779 { (char *)"Locale_GetSystemLanguage", (PyCFunction) _wrap_Locale_GetSystemLanguage, METH_VARARGS | METH_KEYWORDS, NULL},
22780 { (char *)"Locale_GetSystemEncoding", (PyCFunction) _wrap_Locale_GetSystemEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
22781 { (char *)"Locale_GetSystemEncodingName", (PyCFunction) _wrap_Locale_GetSystemEncodingName, METH_VARARGS | METH_KEYWORDS, NULL},
22782 { (char *)"Locale_IsOk", (PyCFunction) _wrap_Locale_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
22783 { (char *)"Locale_GetLocale", (PyCFunction) _wrap_Locale_GetLocale, METH_VARARGS | METH_KEYWORDS, NULL},
22784 { (char *)"Locale_GetLanguage", (PyCFunction) _wrap_Locale_GetLanguage, METH_VARARGS | METH_KEYWORDS, NULL},
22785 { (char *)"Locale_GetSysName", (PyCFunction) _wrap_Locale_GetSysName, METH_VARARGS | METH_KEYWORDS, NULL},
22786 { (char *)"Locale_GetCanonicalName", (PyCFunction) _wrap_Locale_GetCanonicalName, METH_VARARGS | METH_KEYWORDS, NULL},
22787 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction) _wrap_Locale_AddCatalogLookupPathPrefix, METH_VARARGS | METH_KEYWORDS, NULL},
22788 { (char *)"Locale_AddCatalog", (PyCFunction) _wrap_Locale_AddCatalog, METH_VARARGS | METH_KEYWORDS, NULL},
22789 { (char *)"Locale_IsLoaded", (PyCFunction) _wrap_Locale_IsLoaded, METH_VARARGS | METH_KEYWORDS, NULL},
22790 { (char *)"Locale_GetLanguageInfo", (PyCFunction) _wrap_Locale_GetLanguageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
22791 { (char *)"Locale_GetLanguageName", (PyCFunction) _wrap_Locale_GetLanguageName, METH_VARARGS | METH_KEYWORDS, NULL},
22792 { (char *)"Locale_FindLanguageInfo", (PyCFunction) _wrap_Locale_FindLanguageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
22793 { (char *)"Locale_AddLanguage", (PyCFunction) _wrap_Locale_AddLanguage, METH_VARARGS | METH_KEYWORDS, NULL},
22794 { (char *)"Locale_GetString", (PyCFunction) _wrap_Locale_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
22795 { (char *)"Locale_GetName", (PyCFunction) _wrap_Locale_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
22796 { (char *)"Locale_swigregister", Locale_swigregister, METH_VARARGS, NULL},
22797 { (char *)"GetLocale", (PyCFunction) _wrap_GetLocale, METH_VARARGS | METH_KEYWORDS, NULL},
22798 { (char *)"GetTranslation", _wrap_GetTranslation, METH_VARARGS, NULL},
22799 { (char *)"new_EncodingConverter", (PyCFunction) _wrap_new_EncodingConverter, METH_VARARGS | METH_KEYWORDS, NULL},
22800 { (char *)"delete_EncodingConverter", (PyCFunction) _wrap_delete_EncodingConverter, METH_VARARGS | METH_KEYWORDS, NULL},
22801 { (char *)"EncodingConverter_Init", (PyCFunction) _wrap_EncodingConverter_Init, METH_VARARGS | METH_KEYWORDS, NULL},
22802 { (char *)"EncodingConverter_Convert", (PyCFunction) _wrap_EncodingConverter_Convert, METH_VARARGS | METH_KEYWORDS, NULL},
22803 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction) _wrap_EncodingConverter_GetPlatformEquivalents, METH_VARARGS | METH_KEYWORDS, NULL},
22804 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction) _wrap_EncodingConverter_GetAllEquivalents, METH_VARARGS | METH_KEYWORDS, NULL},
22805 { (char *)"EncodingConverter_CanConvert", (PyCFunction) _wrap_EncodingConverter_CanConvert, METH_VARARGS | METH_KEYWORDS, NULL},
22806 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister, METH_VARARGS, NULL},
22807 { (char *)"delete_DC", (PyCFunction) _wrap_delete_DC, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
22808 { (char *)"DC_FloodFill", (PyCFunction) _wrap_DC_FloodFill, METH_VARARGS | METH_KEYWORDS, NULL},
22809 { (char *)"DC_FloodFillPoint", (PyCFunction) _wrap_DC_FloodFillPoint, METH_VARARGS | METH_KEYWORDS, NULL},
b1fcee84
RD
22810 { (char *)"DC_GradientFillConcentric", (PyCFunction) _wrap_DC_GradientFillConcentric, METH_VARARGS | METH_KEYWORDS, NULL},
22811 { (char *)"DC_GradientFillLinear", (PyCFunction) _wrap_DC_GradientFillLinear, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
22812 { (char *)"DC_GetPixel", (PyCFunction) _wrap_DC_GetPixel, METH_VARARGS | METH_KEYWORDS, NULL},
22813 { (char *)"DC_GetPixelPoint", (PyCFunction) _wrap_DC_GetPixelPoint, METH_VARARGS | METH_KEYWORDS, NULL},
22814 { (char *)"DC_DrawLine", (PyCFunction) _wrap_DC_DrawLine, METH_VARARGS | METH_KEYWORDS, NULL},
22815 { (char *)"DC_DrawLinePoint", (PyCFunction) _wrap_DC_DrawLinePoint, METH_VARARGS | METH_KEYWORDS, NULL},
22816 { (char *)"DC_CrossHair", (PyCFunction) _wrap_DC_CrossHair, METH_VARARGS | METH_KEYWORDS, NULL},
22817 { (char *)"DC_CrossHairPoint", (PyCFunction) _wrap_DC_CrossHairPoint, METH_VARARGS | METH_KEYWORDS, NULL},
22818 { (char *)"DC_DrawArc", (PyCFunction) _wrap_DC_DrawArc, METH_VARARGS | METH_KEYWORDS, NULL},
22819 { (char *)"DC_DrawArcPoint", (PyCFunction) _wrap_DC_DrawArcPoint, METH_VARARGS | METH_KEYWORDS, NULL},
22820 { (char *)"DC_DrawCheckMark", (PyCFunction) _wrap_DC_DrawCheckMark, METH_VARARGS | METH_KEYWORDS, NULL},
22821 { (char *)"DC_DrawCheckMarkRect", (PyCFunction) _wrap_DC_DrawCheckMarkRect, METH_VARARGS | METH_KEYWORDS, NULL},
22822 { (char *)"DC_DrawEllipticArc", (PyCFunction) _wrap_DC_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS, NULL},
22823 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction) _wrap_DC_DrawEllipticArcPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
22824 { (char *)"DC_DrawPoint", (PyCFunction) _wrap_DC_DrawPoint, METH_VARARGS | METH_KEYWORDS, NULL},
22825 { (char *)"DC_DrawPointPoint", (PyCFunction) _wrap_DC_DrawPointPoint, METH_VARARGS | METH_KEYWORDS, NULL},
22826 { (char *)"DC_DrawRectangle", (PyCFunction) _wrap_DC_DrawRectangle, METH_VARARGS | METH_KEYWORDS, NULL},
22827 { (char *)"DC_DrawRectangleRect", (PyCFunction) _wrap_DC_DrawRectangleRect, METH_VARARGS | METH_KEYWORDS, NULL},
22828 { (char *)"DC_DrawRectanglePointSize", (PyCFunction) _wrap_DC_DrawRectanglePointSize, METH_VARARGS | METH_KEYWORDS, NULL},
22829 { (char *)"DC_DrawRoundedRectangle", (PyCFunction) _wrap_DC_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS, NULL},
22830 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction) _wrap_DC_DrawRoundedRectangleRect, METH_VARARGS | METH_KEYWORDS, NULL},
22831 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction) _wrap_DC_DrawRoundedRectanglePointSize, METH_VARARGS | METH_KEYWORDS, NULL},
22832 { (char *)"DC_DrawCircle", (PyCFunction) _wrap_DC_DrawCircle, METH_VARARGS | METH_KEYWORDS, NULL},
22833 { (char *)"DC_DrawCirclePoint", (PyCFunction) _wrap_DC_DrawCirclePoint, METH_VARARGS | METH_KEYWORDS, NULL},
22834 { (char *)"DC_DrawEllipse", (PyCFunction) _wrap_DC_DrawEllipse, METH_VARARGS | METH_KEYWORDS, NULL},
22835 { (char *)"DC_DrawEllipseRect", (PyCFunction) _wrap_DC_DrawEllipseRect, METH_VARARGS | METH_KEYWORDS, NULL},
22836 { (char *)"DC_DrawEllipsePointSize", (PyCFunction) _wrap_DC_DrawEllipsePointSize, METH_VARARGS | METH_KEYWORDS, NULL},
22837 { (char *)"DC_DrawIcon", (PyCFunction) _wrap_DC_DrawIcon, METH_VARARGS | METH_KEYWORDS, NULL},
22838 { (char *)"DC_DrawIconPoint", (PyCFunction) _wrap_DC_DrawIconPoint, METH_VARARGS | METH_KEYWORDS, NULL},
22839 { (char *)"DC_DrawBitmap", (PyCFunction) _wrap_DC_DrawBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
22840 { (char *)"DC_DrawBitmapPoint", (PyCFunction) _wrap_DC_DrawBitmapPoint, METH_VARARGS | METH_KEYWORDS, NULL},
22841 { (char *)"DC_DrawText", (PyCFunction) _wrap_DC_DrawText, METH_VARARGS | METH_KEYWORDS, NULL},
22842 { (char *)"DC_DrawTextPoint", (PyCFunction) _wrap_DC_DrawTextPoint, METH_VARARGS | METH_KEYWORDS, NULL},
22843 { (char *)"DC_DrawRotatedText", (PyCFunction) _wrap_DC_DrawRotatedText, METH_VARARGS | METH_KEYWORDS, NULL},
22844 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction) _wrap_DC_DrawRotatedTextPoint, METH_VARARGS | METH_KEYWORDS, NULL},
22845 { (char *)"DC_Blit", (PyCFunction) _wrap_DC_Blit, METH_VARARGS | METH_KEYWORDS, NULL},
22846 { (char *)"DC_BlitPointSize", (PyCFunction) _wrap_DC_BlitPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
22847 { (char *)"DC_SetClippingRegion", (PyCFunction) _wrap_DC_SetClippingRegion, METH_VARARGS | METH_KEYWORDS, NULL},
22848 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction) _wrap_DC_SetClippingRegionPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
22849 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction) _wrap_DC_SetClippingRegionAsRegion, METH_VARARGS | METH_KEYWORDS, NULL},
22850 { (char *)"DC_SetClippingRect", (PyCFunction) _wrap_DC_SetClippingRect, METH_VARARGS | METH_KEYWORDS, NULL},
22851 { (char *)"DC_DrawLines", (PyCFunction) _wrap_DC_DrawLines, METH_VARARGS | METH_KEYWORDS, NULL},
22852 { (char *)"DC_DrawPolygon", (PyCFunction) _wrap_DC_DrawPolygon, METH_VARARGS | METH_KEYWORDS, NULL},
22853 { (char *)"DC_DrawLabel", (PyCFunction) _wrap_DC_DrawLabel, METH_VARARGS | METH_KEYWORDS, NULL},
22854 { (char *)"DC_DrawImageLabel", (PyCFunction) _wrap_DC_DrawImageLabel, METH_VARARGS | METH_KEYWORDS, NULL},
22855 { (char *)"DC_DrawSpline", (PyCFunction) _wrap_DC_DrawSpline, METH_VARARGS | METH_KEYWORDS, NULL},
22856 { (char *)"DC_Clear", (PyCFunction) _wrap_DC_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
22857 { (char *)"DC_StartDoc", (PyCFunction) _wrap_DC_StartDoc, METH_VARARGS | METH_KEYWORDS, NULL},
22858 { (char *)"DC_EndDoc", (PyCFunction) _wrap_DC_EndDoc, METH_VARARGS | METH_KEYWORDS, NULL},
22859 { (char *)"DC_StartPage", (PyCFunction) _wrap_DC_StartPage, METH_VARARGS | METH_KEYWORDS, NULL},
22860 { (char *)"DC_EndPage", (PyCFunction) _wrap_DC_EndPage, METH_VARARGS | METH_KEYWORDS, NULL},
22861 { (char *)"DC_SetFont", (PyCFunction) _wrap_DC_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
22862 { (char *)"DC_SetPen", (PyCFunction) _wrap_DC_SetPen, METH_VARARGS | METH_KEYWORDS, NULL},
22863 { (char *)"DC_SetBrush", (PyCFunction) _wrap_DC_SetBrush, METH_VARARGS | METH_KEYWORDS, NULL},
22864 { (char *)"DC_SetBackground", (PyCFunction) _wrap_DC_SetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
22865 { (char *)"DC_SetBackgroundMode", (PyCFunction) _wrap_DC_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS, NULL},
22866 { (char *)"DC_SetPalette", (PyCFunction) _wrap_DC_SetPalette, METH_VARARGS | METH_KEYWORDS, NULL},
22867 { (char *)"DC_DestroyClippingRegion", (PyCFunction) _wrap_DC_DestroyClippingRegion, METH_VARARGS | METH_KEYWORDS, NULL},
22868 { (char *)"DC_GetClippingBox", (PyCFunction) _wrap_DC_GetClippingBox, METH_VARARGS | METH_KEYWORDS, NULL},
22869 { (char *)"DC_GetClippingRect", (PyCFunction) _wrap_DC_GetClippingRect, METH_VARARGS | METH_KEYWORDS, NULL},
22870 { (char *)"DC_GetCharHeight", (PyCFunction) _wrap_DC_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL},
22871 { (char *)"DC_GetCharWidth", (PyCFunction) _wrap_DC_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL},
22872 { (char *)"DC_GetTextExtent", (PyCFunction) _wrap_DC_GetTextExtent, METH_VARARGS | METH_KEYWORDS, NULL},
22873 { (char *)"DC_GetFullTextExtent", (PyCFunction) _wrap_DC_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS, NULL},
22874 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction) _wrap_DC_GetMultiLineTextExtent, METH_VARARGS | METH_KEYWORDS, NULL},
22875 { (char *)"DC_GetPartialTextExtents", (PyCFunction) _wrap_DC_GetPartialTextExtents, METH_VARARGS | METH_KEYWORDS, NULL},
22876 { (char *)"DC_GetSize", (PyCFunction) _wrap_DC_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
22877 { (char *)"DC_GetSizeTuple", (PyCFunction) _wrap_DC_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL},
22878 { (char *)"DC_GetSizeMM", (PyCFunction) _wrap_DC_GetSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
22879 { (char *)"DC_GetSizeMMTuple", (PyCFunction) _wrap_DC_GetSizeMMTuple, METH_VARARGS | METH_KEYWORDS, NULL},
22880 { (char *)"DC_DeviceToLogicalX", (PyCFunction) _wrap_DC_DeviceToLogicalX, METH_VARARGS | METH_KEYWORDS, NULL},
22881 { (char *)"DC_DeviceToLogicalY", (PyCFunction) _wrap_DC_DeviceToLogicalY, METH_VARARGS | METH_KEYWORDS, NULL},
22882 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction) _wrap_DC_DeviceToLogicalXRel, METH_VARARGS | METH_KEYWORDS, NULL},
22883 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction) _wrap_DC_DeviceToLogicalYRel, METH_VARARGS | METH_KEYWORDS, NULL},
22884 { (char *)"DC_LogicalToDeviceX", (PyCFunction) _wrap_DC_LogicalToDeviceX, METH_VARARGS | METH_KEYWORDS, NULL},
22885 { (char *)"DC_LogicalToDeviceY", (PyCFunction) _wrap_DC_LogicalToDeviceY, METH_VARARGS | METH_KEYWORDS, NULL},
22886 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction) _wrap_DC_LogicalToDeviceXRel, METH_VARARGS | METH_KEYWORDS, NULL},
22887 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction) _wrap_DC_LogicalToDeviceYRel, METH_VARARGS | METH_KEYWORDS, NULL},
22888 { (char *)"DC_CanDrawBitmap", (PyCFunction) _wrap_DC_CanDrawBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
22889 { (char *)"DC_CanGetTextExtent", (PyCFunction) _wrap_DC_CanGetTextExtent, METH_VARARGS | METH_KEYWORDS, NULL},
22890 { (char *)"DC_GetDepth", (PyCFunction) _wrap_DC_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
22891 { (char *)"DC_GetPPI", (PyCFunction) _wrap_DC_GetPPI, METH_VARARGS | METH_KEYWORDS, NULL},
22892 { (char *)"DC_Ok", (PyCFunction) _wrap_DC_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
22893 { (char *)"DC_GetBackgroundMode", (PyCFunction) _wrap_DC_GetBackgroundMode, METH_VARARGS | METH_KEYWORDS, NULL},
22894 { (char *)"DC_GetBackground", (PyCFunction) _wrap_DC_GetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
22895 { (char *)"DC_GetBrush", (PyCFunction) _wrap_DC_GetBrush, METH_VARARGS | METH_KEYWORDS, NULL},
22896 { (char *)"DC_GetFont", (PyCFunction) _wrap_DC_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
22897 { (char *)"DC_GetPen", (PyCFunction) _wrap_DC_GetPen, METH_VARARGS | METH_KEYWORDS, NULL},
22898 { (char *)"DC_GetTextBackground", (PyCFunction) _wrap_DC_GetTextBackground, METH_VARARGS | METH_KEYWORDS, NULL},
22899 { (char *)"DC_GetTextForeground", (PyCFunction) _wrap_DC_GetTextForeground, METH_VARARGS | METH_KEYWORDS, NULL},
22900 { (char *)"DC_SetTextForeground", (PyCFunction) _wrap_DC_SetTextForeground, METH_VARARGS | METH_KEYWORDS, NULL},
22901 { (char *)"DC_SetTextBackground", (PyCFunction) _wrap_DC_SetTextBackground, METH_VARARGS | METH_KEYWORDS, NULL},
22902 { (char *)"DC_GetMapMode", (PyCFunction) _wrap_DC_GetMapMode, METH_VARARGS | METH_KEYWORDS, NULL},
22903 { (char *)"DC_SetMapMode", (PyCFunction) _wrap_DC_SetMapMode, METH_VARARGS | METH_KEYWORDS, NULL},
22904 { (char *)"DC_GetUserScale", (PyCFunction) _wrap_DC_GetUserScale, METH_VARARGS | METH_KEYWORDS, NULL},
22905 { (char *)"DC_SetUserScale", (PyCFunction) _wrap_DC_SetUserScale, METH_VARARGS | METH_KEYWORDS, NULL},
22906 { (char *)"DC_GetLogicalScale", (PyCFunction) _wrap_DC_GetLogicalScale, METH_VARARGS | METH_KEYWORDS, NULL},
22907 { (char *)"DC_SetLogicalScale", (PyCFunction) _wrap_DC_SetLogicalScale, METH_VARARGS | METH_KEYWORDS, NULL},
22908 { (char *)"DC_GetLogicalOrigin", (PyCFunction) _wrap_DC_GetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
22909 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction) _wrap_DC_GetLogicalOriginTuple, METH_VARARGS | METH_KEYWORDS, NULL},
22910 { (char *)"DC_SetLogicalOrigin", (PyCFunction) _wrap_DC_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
22911 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction) _wrap_DC_SetLogicalOriginPoint, METH_VARARGS | METH_KEYWORDS, NULL},
22912 { (char *)"DC_GetDeviceOrigin", (PyCFunction) _wrap_DC_GetDeviceOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
22913 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction) _wrap_DC_GetDeviceOriginTuple, METH_VARARGS | METH_KEYWORDS, NULL},
22914 { (char *)"DC_SetDeviceOrigin", (PyCFunction) _wrap_DC_SetDeviceOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
22915 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction) _wrap_DC_SetDeviceOriginPoint, METH_VARARGS | METH_KEYWORDS, NULL},
22916 { (char *)"DC_SetAxisOrientation", (PyCFunction) _wrap_DC_SetAxisOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
22917 { (char *)"DC_GetLogicalFunction", (PyCFunction) _wrap_DC_GetLogicalFunction, METH_VARARGS | METH_KEYWORDS, NULL},
22918 { (char *)"DC_SetLogicalFunction", (PyCFunction) _wrap_DC_SetLogicalFunction, METH_VARARGS | METH_KEYWORDS, NULL},
22919 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction) _wrap_DC_ComputeScaleAndOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
22920 { (char *)"DC_CalcBoundingBox", (PyCFunction) _wrap_DC_CalcBoundingBox, METH_VARARGS | METH_KEYWORDS, NULL},
22921 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction) _wrap_DC_CalcBoundingBoxPoint, METH_VARARGS | METH_KEYWORDS, NULL},
22922 { (char *)"DC_ResetBoundingBox", (PyCFunction) _wrap_DC_ResetBoundingBox, METH_VARARGS | METH_KEYWORDS, NULL},
22923 { (char *)"DC_MinX", (PyCFunction) _wrap_DC_MinX, METH_VARARGS | METH_KEYWORDS, NULL},
22924 { (char *)"DC_MaxX", (PyCFunction) _wrap_DC_MaxX, METH_VARARGS | METH_KEYWORDS, NULL},
22925 { (char *)"DC_MinY", (PyCFunction) _wrap_DC_MinY, METH_VARARGS | METH_KEYWORDS, NULL},
22926 { (char *)"DC_MaxY", (PyCFunction) _wrap_DC_MaxY, METH_VARARGS | METH_KEYWORDS, NULL},
22927 { (char *)"DC_GetBoundingBox", (PyCFunction) _wrap_DC_GetBoundingBox, METH_VARARGS | METH_KEYWORDS, NULL},
22928 { (char *)"DC_GetHDC", (PyCFunction) _wrap_DC_GetHDC, METH_VARARGS | METH_KEYWORDS, NULL},
22929 { (char *)"DC__DrawPointList", (PyCFunction) _wrap_DC__DrawPointList, METH_VARARGS | METH_KEYWORDS, NULL},
22930 { (char *)"DC__DrawLineList", (PyCFunction) _wrap_DC__DrawLineList, METH_VARARGS | METH_KEYWORDS, NULL},
22931 { (char *)"DC__DrawRectangleList", (PyCFunction) _wrap_DC__DrawRectangleList, METH_VARARGS | METH_KEYWORDS, NULL},
22932 { (char *)"DC__DrawEllipseList", (PyCFunction) _wrap_DC__DrawEllipseList, METH_VARARGS | METH_KEYWORDS, NULL},
22933 { (char *)"DC__DrawPolygonList", (PyCFunction) _wrap_DC__DrawPolygonList, METH_VARARGS | METH_KEYWORDS, NULL},
22934 { (char *)"DC__DrawTextList", (PyCFunction) _wrap_DC__DrawTextList, METH_VARARGS | METH_KEYWORDS, NULL},
22935 { (char *)"DC_swigregister", DC_swigregister, METH_VARARGS, NULL},
22936 { (char *)"new_MemoryDC", (PyCFunction) _wrap_new_MemoryDC, METH_VARARGS | METH_KEYWORDS, NULL},
22937 { (char *)"new_MemoryDCFromDC", (PyCFunction) _wrap_new_MemoryDCFromDC, METH_VARARGS | METH_KEYWORDS, NULL},
22938 { (char *)"MemoryDC_SelectObject", (PyCFunction) _wrap_MemoryDC_SelectObject, METH_VARARGS | METH_KEYWORDS, NULL},
22939 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister, METH_VARARGS, NULL},
22940 { (char *)"new_BufferedDC", _wrap_new_BufferedDC, METH_VARARGS, NULL},
22941 { (char *)"delete_BufferedDC", (PyCFunction) _wrap_delete_BufferedDC, METH_VARARGS | METH_KEYWORDS, NULL},
22942 { (char *)"BufferedDC_UnMask", (PyCFunction) _wrap_BufferedDC_UnMask, METH_VARARGS | METH_KEYWORDS, NULL},
22943 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister, METH_VARARGS, NULL},
22944 { (char *)"new_BufferedPaintDC", (PyCFunction) _wrap_new_BufferedPaintDC, METH_VARARGS | METH_KEYWORDS, NULL},
22945 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister, METH_VARARGS, NULL},
22946 { (char *)"new_ScreenDC", (PyCFunction) _wrap_new_ScreenDC, METH_VARARGS | METH_KEYWORDS, NULL},
22947 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction) _wrap_ScreenDC_StartDrawingOnTopWin, METH_VARARGS | METH_KEYWORDS, NULL},
22948 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction) _wrap_ScreenDC_StartDrawingOnTop, METH_VARARGS | METH_KEYWORDS, NULL},
22949 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction) _wrap_ScreenDC_EndDrawingOnTop, METH_VARARGS | METH_KEYWORDS, NULL},
22950 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister, METH_VARARGS, NULL},
22951 { (char *)"new_ClientDC", (PyCFunction) _wrap_new_ClientDC, METH_VARARGS | METH_KEYWORDS, NULL},
22952 { (char *)"ClientDC_swigregister", ClientDC_swigregister, METH_VARARGS, NULL},
22953 { (char *)"new_PaintDC", (PyCFunction) _wrap_new_PaintDC, METH_VARARGS | METH_KEYWORDS, NULL},
22954 { (char *)"PaintDC_swigregister", PaintDC_swigregister, METH_VARARGS, NULL},
22955 { (char *)"new_WindowDC", (PyCFunction) _wrap_new_WindowDC, METH_VARARGS | METH_KEYWORDS, NULL},
22956 { (char *)"WindowDC_swigregister", WindowDC_swigregister, METH_VARARGS, NULL},
22957 { (char *)"new_MirrorDC", (PyCFunction) _wrap_new_MirrorDC, METH_VARARGS | METH_KEYWORDS, NULL},
22958 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister, METH_VARARGS, NULL},
22959 { (char *)"new_PostScriptDC", (PyCFunction) _wrap_new_PostScriptDC, METH_VARARGS | METH_KEYWORDS, NULL},
22960 { (char *)"PostScriptDC_GetPrintData", (PyCFunction) _wrap_PostScriptDC_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
22961 { (char *)"PostScriptDC_SetPrintData", (PyCFunction) _wrap_PostScriptDC_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
22962 { (char *)"PostScriptDC_SetResolution", (PyCFunction) _wrap_PostScriptDC_SetResolution, METH_VARARGS | METH_KEYWORDS, NULL},
22963 { (char *)"PostScriptDC_GetResolution", (PyCFunction) _wrap_PostScriptDC_GetResolution, METH_VARARGS | METH_KEYWORDS, NULL},
22964 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister, METH_VARARGS, NULL},
22965 { (char *)"new_MetaFile", (PyCFunction) _wrap_new_MetaFile, METH_VARARGS | METH_KEYWORDS, NULL},
22966 { (char *)"delete_MetaFile", (PyCFunction) _wrap_delete_MetaFile, METH_VARARGS | METH_KEYWORDS, NULL},
22967 { (char *)"MetaFile_Ok", (PyCFunction) _wrap_MetaFile_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
22968 { (char *)"MetaFile_SetClipboard", (PyCFunction) _wrap_MetaFile_SetClipboard, METH_VARARGS | METH_KEYWORDS, NULL},
22969 { (char *)"MetaFile_GetSize", (PyCFunction) _wrap_MetaFile_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
22970 { (char *)"MetaFile_GetWidth", (PyCFunction) _wrap_MetaFile_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
22971 { (char *)"MetaFile_GetHeight", (PyCFunction) _wrap_MetaFile_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
22972 { (char *)"MetaFile_GetFileName", (PyCFunction) _wrap_MetaFile_GetFileName, METH_VARARGS | METH_KEYWORDS, NULL},
22973 { (char *)"MetaFile_swigregister", MetaFile_swigregister, METH_VARARGS, NULL},
22974 { (char *)"new_MetaFileDC", (PyCFunction) _wrap_new_MetaFileDC, METH_VARARGS | METH_KEYWORDS, NULL},
22975 { (char *)"MetaFileDC_Close", (PyCFunction) _wrap_MetaFileDC_Close, METH_VARARGS | METH_KEYWORDS, NULL},
22976 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister, METH_VARARGS, NULL},
22977 { (char *)"new_PrinterDC", (PyCFunction) _wrap_new_PrinterDC, METH_VARARGS | METH_KEYWORDS, NULL},
22978 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister, METH_VARARGS, NULL},
22979 { (char *)"new_ImageList", (PyCFunction) _wrap_new_ImageList, METH_VARARGS | METH_KEYWORDS, NULL},
22980 { (char *)"delete_ImageList", (PyCFunction) _wrap_delete_ImageList, METH_VARARGS | METH_KEYWORDS, NULL},
22981 { (char *)"ImageList_Add", (PyCFunction) _wrap_ImageList_Add, METH_VARARGS | METH_KEYWORDS, NULL},
22982 { (char *)"ImageList_AddWithColourMask", (PyCFunction) _wrap_ImageList_AddWithColourMask, METH_VARARGS | METH_KEYWORDS, NULL},
22983 { (char *)"ImageList_AddIcon", (PyCFunction) _wrap_ImageList_AddIcon, METH_VARARGS | METH_KEYWORDS, NULL},
b9d6a5f3
RD
22984 { (char *)"ImageList_GetBitmap", (PyCFunction) _wrap_ImageList_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
22985 { (char *)"ImageList_GetIcon", (PyCFunction) _wrap_ImageList_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
22986 { (char *)"ImageList_Replace", (PyCFunction) _wrap_ImageList_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
22987 { (char *)"ImageList_Draw", (PyCFunction) _wrap_ImageList_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
22988 { (char *)"ImageList_GetImageCount", (PyCFunction) _wrap_ImageList_GetImageCount, METH_VARARGS | METH_KEYWORDS, NULL},
22989 { (char *)"ImageList_Remove", (PyCFunction) _wrap_ImageList_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
22990 { (char *)"ImageList_RemoveAll", (PyCFunction) _wrap_ImageList_RemoveAll, METH_VARARGS | METH_KEYWORDS, NULL},
22991 { (char *)"ImageList_GetSize", (PyCFunction) _wrap_ImageList_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
22992 { (char *)"ImageList_swigregister", ImageList_swigregister, METH_VARARGS, NULL},
22993 { (char *)"PenList_AddPen", (PyCFunction) _wrap_PenList_AddPen, METH_VARARGS | METH_KEYWORDS, NULL},
22994 { (char *)"PenList_FindOrCreatePen", (PyCFunction) _wrap_PenList_FindOrCreatePen, METH_VARARGS | METH_KEYWORDS, NULL},
22995 { (char *)"PenList_RemovePen", (PyCFunction) _wrap_PenList_RemovePen, METH_VARARGS | METH_KEYWORDS, NULL},
22996 { (char *)"PenList_GetCount", (PyCFunction) _wrap_PenList_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
22997 { (char *)"PenList_swigregister", PenList_swigregister, METH_VARARGS, NULL},
22998 { (char *)"BrushList_AddBrush", (PyCFunction) _wrap_BrushList_AddBrush, METH_VARARGS | METH_KEYWORDS, NULL},
22999 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction) _wrap_BrushList_FindOrCreateBrush, METH_VARARGS | METH_KEYWORDS, NULL},
23000 { (char *)"BrushList_RemoveBrush", (PyCFunction) _wrap_BrushList_RemoveBrush, METH_VARARGS | METH_KEYWORDS, NULL},
23001 { (char *)"BrushList_GetCount", (PyCFunction) _wrap_BrushList_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
23002 { (char *)"BrushList_swigregister", BrushList_swigregister, METH_VARARGS, NULL},
23003 { (char *)"new_ColourDatabase", (PyCFunction) _wrap_new_ColourDatabase, METH_VARARGS | METH_KEYWORDS, NULL},
23004 { (char *)"delete_ColourDatabase", (PyCFunction) _wrap_delete_ColourDatabase, METH_VARARGS | METH_KEYWORDS, NULL},
23005 { (char *)"ColourDatabase_Find", (PyCFunction) _wrap_ColourDatabase_Find, METH_VARARGS | METH_KEYWORDS, NULL},
23006 { (char *)"ColourDatabase_FindName", (PyCFunction) _wrap_ColourDatabase_FindName, METH_VARARGS | METH_KEYWORDS, NULL},
23007 { (char *)"ColourDatabase_AddColour", (PyCFunction) _wrap_ColourDatabase_AddColour, METH_VARARGS | METH_KEYWORDS, NULL},
23008 { (char *)"ColourDatabase_Append", (PyCFunction) _wrap_ColourDatabase_Append, METH_VARARGS | METH_KEYWORDS, NULL},
23009 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister, METH_VARARGS, NULL},
23010 { (char *)"FontList_AddFont", (PyCFunction) _wrap_FontList_AddFont, METH_VARARGS | METH_KEYWORDS, NULL},
23011 { (char *)"FontList_FindOrCreateFont", (PyCFunction) _wrap_FontList_FindOrCreateFont, METH_VARARGS | METH_KEYWORDS, NULL},
23012 { (char *)"FontList_RemoveFont", (PyCFunction) _wrap_FontList_RemoveFont, METH_VARARGS | METH_KEYWORDS, NULL},
23013 { (char *)"FontList_GetCount", (PyCFunction) _wrap_FontList_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
23014 { (char *)"FontList_swigregister", FontList_swigregister, METH_VARARGS, NULL},
23015 { (char *)"new_Effects", (PyCFunction) _wrap_new_Effects, METH_VARARGS | METH_KEYWORDS, NULL},
23016 { (char *)"Effects_GetHighlightColour", (PyCFunction) _wrap_Effects_GetHighlightColour, METH_VARARGS | METH_KEYWORDS, NULL},
23017 { (char *)"Effects_GetLightShadow", (PyCFunction) _wrap_Effects_GetLightShadow, METH_VARARGS | METH_KEYWORDS, NULL},
23018 { (char *)"Effects_GetFaceColour", (PyCFunction) _wrap_Effects_GetFaceColour, METH_VARARGS | METH_KEYWORDS, NULL},
23019 { (char *)"Effects_GetMediumShadow", (PyCFunction) _wrap_Effects_GetMediumShadow, METH_VARARGS | METH_KEYWORDS, NULL},
23020 { (char *)"Effects_GetDarkShadow", (PyCFunction) _wrap_Effects_GetDarkShadow, METH_VARARGS | METH_KEYWORDS, NULL},
23021 { (char *)"Effects_SetHighlightColour", (PyCFunction) _wrap_Effects_SetHighlightColour, METH_VARARGS | METH_KEYWORDS, NULL},
23022 { (char *)"Effects_SetLightShadow", (PyCFunction) _wrap_Effects_SetLightShadow, METH_VARARGS | METH_KEYWORDS, NULL},
23023 { (char *)"Effects_SetFaceColour", (PyCFunction) _wrap_Effects_SetFaceColour, METH_VARARGS | METH_KEYWORDS, NULL},
23024 { (char *)"Effects_SetMediumShadow", (PyCFunction) _wrap_Effects_SetMediumShadow, METH_VARARGS | METH_KEYWORDS, NULL},
23025 { (char *)"Effects_SetDarkShadow", (PyCFunction) _wrap_Effects_SetDarkShadow, METH_VARARGS | METH_KEYWORDS, NULL},
23026 { (char *)"Effects_Set", (PyCFunction) _wrap_Effects_Set, METH_VARARGS | METH_KEYWORDS, NULL},
23027 { (char *)"Effects_DrawSunkenEdge", (PyCFunction) _wrap_Effects_DrawSunkenEdge, METH_VARARGS | METH_KEYWORDS, NULL},
23028 { (char *)"Effects_TileBitmap", (PyCFunction) _wrap_Effects_TileBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
23029 { (char *)"Effects_swigregister", Effects_swigregister, METH_VARARGS, NULL},
be9b1dca
RD
23030 { (char *)"new_SplitterRenderParams", (PyCFunction) _wrap_new_SplitterRenderParams, METH_VARARGS | METH_KEYWORDS, NULL},
23031 { (char *)"delete_SplitterRenderParams", (PyCFunction) _wrap_delete_SplitterRenderParams, METH_VARARGS | METH_KEYWORDS, NULL},
23032 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction) _wrap_SplitterRenderParams_widthSash_get, METH_VARARGS | METH_KEYWORDS, NULL},
23033 { (char *)"SplitterRenderParams_border_get", (PyCFunction) _wrap_SplitterRenderParams_border_get, METH_VARARGS | METH_KEYWORDS, NULL},
23034 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction) _wrap_SplitterRenderParams_isHotSensitive_get, METH_VARARGS | METH_KEYWORDS, NULL},
23035 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister, METH_VARARGS, NULL},
23036 { (char *)"new_RendererVersion", (PyCFunction) _wrap_new_RendererVersion, METH_VARARGS | METH_KEYWORDS, NULL},
23037 { (char *)"delete_RendererVersion", (PyCFunction) _wrap_delete_RendererVersion, METH_VARARGS | METH_KEYWORDS, NULL},
23038 { (char *)"RendererVersion_IsCompatible", (PyCFunction) _wrap_RendererVersion_IsCompatible, METH_VARARGS | METH_KEYWORDS, NULL},
23039 { (char *)"RendererVersion_version_get", (PyCFunction) _wrap_RendererVersion_version_get, METH_VARARGS | METH_KEYWORDS, NULL},
23040 { (char *)"RendererVersion_age_get", (PyCFunction) _wrap_RendererVersion_age_get, METH_VARARGS | METH_KEYWORDS, NULL},
23041 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister, METH_VARARGS, NULL},
23042 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction) _wrap_RendererNative_DrawHeaderButton, METH_VARARGS | METH_KEYWORDS, NULL},
23043 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction) _wrap_RendererNative_DrawTreeItemButton, METH_VARARGS | METH_KEYWORDS, NULL},
23044 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction) _wrap_RendererNative_DrawSplitterBorder, METH_VARARGS | METH_KEYWORDS, NULL},
23045 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction) _wrap_RendererNative_DrawSplitterSash, METH_VARARGS | METH_KEYWORDS, NULL},
23046 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction) _wrap_RendererNative_DrawComboBoxDropButton, METH_VARARGS | METH_KEYWORDS, NULL},
23047 { (char *)"RendererNative_DrawDropArrow", (PyCFunction) _wrap_RendererNative_DrawDropArrow, METH_VARARGS | METH_KEYWORDS, NULL},
23048 { (char *)"RendererNative_GetSplitterParams", (PyCFunction) _wrap_RendererNative_GetSplitterParams, METH_VARARGS | METH_KEYWORDS, NULL},
23049 { (char *)"RendererNative_Get", (PyCFunction) _wrap_RendererNative_Get, METH_VARARGS | METH_KEYWORDS, NULL},
23050 { (char *)"RendererNative_GetGeneric", (PyCFunction) _wrap_RendererNative_GetGeneric, METH_VARARGS | METH_KEYWORDS, NULL},
23051 { (char *)"RendererNative_GetDefault", (PyCFunction) _wrap_RendererNative_GetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
23052 { (char *)"RendererNative_Set", (PyCFunction) _wrap_RendererNative_Set, METH_VARARGS | METH_KEYWORDS, NULL},
23053 { (char *)"RendererNative_GetVersion", (PyCFunction) _wrap_RendererNative_GetVersion, METH_VARARGS | METH_KEYWORDS, NULL},
23054 { (char *)"RendererNative_swigregister", RendererNative_swigregister, METH_VARARGS, NULL},
c32bde28 23055 { NULL, NULL, 0, NULL }
d55e5bfc
RD
23056};
23057
23058
23059/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23060
d55e5bfc
RD
23061static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x) {
23062 return (void *)((wxMemoryDC *) ((wxBufferedDC *) x));
23063}
23064static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x) {
23065 return (void *)((wxMemoryDC *) (wxBufferedDC *) ((wxBufferedPaintDC *) x));
23066}
093d3ff1
RD
23067static void *_p_wxIconTo_p_wxGDIObject(void *x) {
23068 return (void *)((wxGDIObject *) ((wxIcon *) x));
23069}
23070static void *_p_wxPaletteTo_p_wxGDIObject(void *x) {
23071 return (void *)((wxGDIObject *) ((wxPalette *) x));
23072}
23073static void *_p_wxPenTo_p_wxGDIObject(void *x) {
23074 return (void *)((wxGDIObject *) ((wxPen *) x));
23075}
23076static void *_p_wxFontTo_p_wxGDIObject(void *x) {
23077 return (void *)((wxGDIObject *) ((wxFont *) x));
23078}
23079static void *_p_wxCursorTo_p_wxGDIObject(void *x) {
23080 return (void *)((wxGDIObject *) ((wxCursor *) x));
23081}
23082static void *_p_wxBitmapTo_p_wxGDIObject(void *x) {
23083 return (void *)((wxGDIObject *) ((wxBitmap *) x));
23084}
23085static void *_p_wxRegionTo_p_wxGDIObject(void *x) {
23086 return (void *)((wxGDIObject *) ((wxRegion *) x));
23087}
23088static void *_p_wxBrushTo_p_wxGDIObject(void *x) {
23089 return (void *)((wxGDIObject *) ((wxBrush *) x));
23090}
23091static void *_p_wxBufferedDCTo_p_wxDC(void *x) {
23092 return (void *)((wxDC *) (wxMemoryDC *) ((wxBufferedDC *) x));
23093}
23094static void *_p_wxScreenDCTo_p_wxDC(void *x) {
23095 return (void *)((wxDC *) ((wxScreenDC *) x));
23096}
23097static void *_p_wxMirrorDCTo_p_wxDC(void *x) {
23098 return (void *)((wxDC *) ((wxMirrorDC *) x));
23099}
23100static void *_p_wxMemoryDCTo_p_wxDC(void *x) {
23101 return (void *)((wxDC *) ((wxMemoryDC *) x));
23102}
23103static void *_p_wxWindowDCTo_p_wxDC(void *x) {
23104 return (void *)((wxDC *) ((wxWindowDC *) x));
23105}
23106static void *_p_wxMetaFileDCTo_p_wxDC(void *x) {
23107 return (void *)((wxDC *) ((wxMetaFileDC *) x));
23108}
23109static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x) {
23110 return (void *)((wxDC *) (wxMemoryDC *)(wxBufferedDC *) ((wxBufferedPaintDC *) x));
23111}
23112static void *_p_wxClientDCTo_p_wxDC(void *x) {
23113 return (void *)((wxDC *) ((wxClientDC *) x));
23114}
23115static void *_p_wxPaintDCTo_p_wxDC(void *x) {
23116 return (void *)((wxDC *) ((wxPaintDC *) x));
23117}
23118static void *_p_wxPostScriptDCTo_p_wxDC(void *x) {
23119 return (void *)((wxDC *) ((wxPostScriptDC *) x));
23120}
23121static void *_p_wxPrinterDCTo_p_wxDC(void *x) {
23122 return (void *)((wxDC *) ((wxPrinterDC *) x));
23123}
23124static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x) {
23125 return (void *)((wxBufferedDC *) ((wxBufferedPaintDC *) x));
23126}
d55e5bfc
RD
23127static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
23128 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
23129}
23130static void *_p_wxPenTo_p_wxObject(void *x) {
23131 return (void *)((wxObject *) (wxGDIObject *) ((wxPen *) x));
23132}
23133static void *_p_wxRegionIteratorTo_p_wxObject(void *x) {
23134 return (void *)((wxObject *) ((wxRegionIterator *) x));
23135}
23136static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
23137 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
23138}
23139static void *_p_wxSizerItemTo_p_wxObject(void *x) {
23140 return (void *)((wxObject *) ((wxSizerItem *) x));
23141}
23142static void *_p_wxColourDatabaseTo_p_wxObject(void *x) {
23143 return (void *)((wxObject *) ((wxColourDatabase *) x));
23144}
23145static void *_p_wxScrollEventTo_p_wxObject(void *x) {
23146 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
23147}
23148static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
23149 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
23150}
23151static void *_p_wxIconTo_p_wxObject(void *x) {
23152 return (void *)((wxObject *) (wxGDIObject *) ((wxIcon *) x));
23153}
23154static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
23155 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
23156}
23157static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
23158 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
23159}
23160static void *_p_wxSizerTo_p_wxObject(void *x) {
23161 return (void *)((wxObject *) ((wxSizer *) x));
23162}
23163static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
23164 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
23165}
23166static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
23167 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
23168}
23169static void *_p_wxPenListTo_p_wxObject(void *x) {
23170 return (void *)((wxObject *) ((wxPenList *) x));
23171}
23172static void *_p_wxEventTo_p_wxObject(void *x) {
23173 return (void *)((wxObject *) ((wxEvent *) x));
23174}
23175static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
23176 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
23177}
23178static void *_p_wxGridSizerTo_p_wxObject(void *x) {
23179 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
23180}
23181static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
23182 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
23183}
23184static void *_p_wxPaintEventTo_p_wxObject(void *x) {
23185 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
23186}
23187static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
23188 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
23189}
23190static void *_p_wxDCTo_p_wxObject(void *x) {
23191 return (void *)((wxObject *) ((wxDC *) x));
23192}
23193static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
23194 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
23195}
23196static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
23197 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
23198}
23199static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
23200 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
23201}
23202static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
23203 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
23204}
23205static void *_p_wxControlTo_p_wxObject(void *x) {
23206 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
23207}
23208static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
23209 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
23210}
23211static void *_p_wxClientDCTo_p_wxObject(void *x) {
23212 return (void *)((wxObject *) (wxDC *) ((wxClientDC *) x));
23213}
23214static void *_p_wxFSFileTo_p_wxObject(void *x) {
23215 return (void *)((wxObject *) ((wxFSFile *) x));
23216}
23217static void *_p_wxMemoryDCTo_p_wxObject(void *x) {
23218 return (void *)((wxObject *) (wxDC *) ((wxMemoryDC *) x));
23219}
23220static void *_p_wxRegionTo_p_wxObject(void *x) {
23221 return (void *)((wxObject *) (wxGDIObject *) ((wxRegion *) x));
23222}
23223static void *_p_wxPySizerTo_p_wxObject(void *x) {
23224 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
23225}
23226static void *_p_wxWindowDCTo_p_wxObject(void *x) {
23227 return (void *)((wxObject *) (wxDC *) ((wxWindowDC *) x));
23228}
23229static void *_p_wxGDIObjectTo_p_wxObject(void *x) {
23230 return (void *)((wxObject *) ((wxGDIObject *) x));
23231}
23232static void *_p_wxEffectsTo_p_wxObject(void *x) {
23233 return (void *)((wxObject *) ((wxEffects *) x));
23234}
23235static void *_p_wxPyEventTo_p_wxObject(void *x) {
23236 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
23237}
23238static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
23239 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
23240}
23241static void *_p_wxPostScriptDCTo_p_wxObject(void *x) {
23242 return (void *)((wxObject *) (wxDC *) ((wxPostScriptDC *) x));
23243}
23244static void *_p_wxShowEventTo_p_wxObject(void *x) {
23245 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
23246}
23247static void *_p_wxMenuItemTo_p_wxObject(void *x) {
23248 return (void *)((wxObject *) ((wxMenuItem *) x));
23249}
53aa7709
RD
23250static void *_p_wxDateEventTo_p_wxObject(void *x) {
23251 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
23252}
d55e5bfc
RD
23253static void *_p_wxIdleEventTo_p_wxObject(void *x) {
23254 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
23255}
23256static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
23257 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
23258}
23259static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
23260 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
23261}
23262static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
23263 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
23264}
23265static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
23266 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
23267}
23268static void *_p_wxSizeEventTo_p_wxObject(void *x) {
23269 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
23270}
23271static void *_p_wxMoveEventTo_p_wxObject(void *x) {
23272 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
23273}
23274static void *_p_wxActivateEventTo_p_wxObject(void *x) {
23275 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
23276}
d55e5bfc
RD
23277static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
23278 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
23279}
23280static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
23281 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
23282}
23283static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
23284 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
23285}
23286static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
23287 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
23288}
23289static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
23290 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
23291}
23292static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
23293 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
23294}
23295static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
23296 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
23297}
23298static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
23299 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
23300}
23301static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
23302 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
23303}
9d7dfdff
RD
23304static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
23305 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
23306}
d55e5bfc
RD
23307static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
23308 return (void *)((wxObject *) ((wxImageHandler *) x));
23309}
9d7dfdff
RD
23310static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
23311 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
23312}
d55e5bfc
RD
23313static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
23314 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
23315}
23316static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
23317 return (void *)((wxObject *) ((wxEvtHandler *) x));
23318}
23319static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x) {
23320 return (void *)((wxObject *) (wxDC *)(wxMemoryDC *)(wxBufferedDC *) ((wxBufferedPaintDC *) x));
23321}
23322static void *_p_wxPaintDCTo_p_wxObject(void *x) {
23323 return (void *)((wxObject *) (wxDC *) ((wxPaintDC *) x));
23324}
23325static void *_p_wxPrinterDCTo_p_wxObject(void *x) {
23326 return (void *)((wxObject *) (wxDC *) ((wxPrinterDC *) x));
23327}
23328static void *_p_wxScreenDCTo_p_wxObject(void *x) {
23329 return (void *)((wxObject *) (wxDC *) ((wxScreenDC *) x));
23330}
51b83b37
RD
23331static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
23332 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
23333}
d55e5bfc
RD
23334static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
23335 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
23336}
23337static void *_p_wxImageTo_p_wxObject(void *x) {
23338 return (void *)((wxObject *) ((wxImage *) x));
23339}
23340static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
23341 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
23342}
23343static void *_p_wxPaletteTo_p_wxObject(void *x) {
23344 return (void *)((wxObject *) (wxGDIObject *) ((wxPalette *) x));
23345}
23346static void *_p_wxBufferedDCTo_p_wxObject(void *x) {
23347 return (void *)((wxObject *) (wxDC *)(wxMemoryDC *) ((wxBufferedDC *) x));
23348}
23349static void *_p_wxImageListTo_p_wxObject(void *x) {
23350 return (void *)((wxObject *) ((wxImageList *) x));
23351}
23352static void *_p_wxCursorTo_p_wxObject(void *x) {
23353 return (void *)((wxObject *) (wxGDIObject *) ((wxCursor *) x));
23354}
23355static void *_p_wxEncodingConverterTo_p_wxObject(void *x) {
23356 return (void *)((wxObject *) ((wxEncodingConverter *) x));
23357}
23358static void *_p_wxMirrorDCTo_p_wxObject(void *x) {
23359 return (void *)((wxObject *) (wxDC *) ((wxMirrorDC *) x));
23360}
23361static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
23362 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
23363}
23364static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
23365 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
23366}
23367static void *_p_wxKeyEventTo_p_wxObject(void *x) {
23368 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
23369}
23370static void *_p_wxWindowTo_p_wxObject(void *x) {
23371 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
23372}
23373static void *_p_wxMenuTo_p_wxObject(void *x) {
23374 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
23375}
23376static void *_p_wxMenuBarTo_p_wxObject(void *x) {
23377 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
23378}
23379static void *_p_wxMetaFileDCTo_p_wxObject(void *x) {
23380 return (void *)((wxObject *) (wxDC *) ((wxMetaFileDC *) x));
23381}
23382static void *_p_wxBrushListTo_p_wxObject(void *x) {
23383 return (void *)((wxObject *) ((wxBrushList *) x));
23384}
d55e5bfc
RD
23385static void *_p_wxFileSystemTo_p_wxObject(void *x) {
23386 return (void *)((wxObject *) ((wxFileSystem *) x));
23387}
23388static void *_p_wxBitmapTo_p_wxObject(void *x) {
23389 return (void *)((wxObject *) (wxGDIObject *) ((wxBitmap *) x));
23390}
23391static void *_p_wxMaskTo_p_wxObject(void *x) {
23392 return (void *)((wxObject *) ((wxMask *) x));
23393}
23394static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
23395 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
23396}
23397static void *_p_wxMenuEventTo_p_wxObject(void *x) {
23398 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
23399}
23400static void *_p_wxPyAppTo_p_wxObject(void *x) {
23401 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
23402}
23403static void *_p_wxCloseEventTo_p_wxObject(void *x) {
23404 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
23405}
23406static void *_p_wxMouseEventTo_p_wxObject(void *x) {
23407 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
23408}
23409static void *_p_wxEraseEventTo_p_wxObject(void *x) {
23410 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
23411}
23412static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
23413 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
23414}
23415static void *_p_wxCommandEventTo_p_wxObject(void *x) {
23416 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
23417}
23418static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
23419 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
23420}
23421static void *_p_wxFocusEventTo_p_wxObject(void *x) {
23422 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
23423}
23424static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
23425 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
23426}
23427static void *_p_wxFontTo_p_wxObject(void *x) {
23428 return (void *)((wxObject *) (wxGDIObject *) ((wxFont *) x));
23429}
23430static void *_p_wxBrushTo_p_wxObject(void *x) {
23431 return (void *)((wxObject *) (wxGDIObject *) ((wxBrush *) x));
23432}
23433static void *_p_wxMetaFileTo_p_wxObject(void *x) {
23434 return (void *)((wxObject *) ((wxMetaFile *) x));
23435}
23436static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
23437 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
23438}
23439static void *_p_wxColourTo_p_wxObject(void *x) {
23440 return (void *)((wxObject *) ((wxColour *) x));
23441}
23442static void *_p_wxFontListTo_p_wxObject(void *x) {
23443 return (void *)((wxObject *) ((wxFontList *) x));
23444}
23445static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
23446 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
23447}
23448static void *_p_wxValidatorTo_p_wxObject(void *x) {
23449 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
23450}
093d3ff1
RD
23451static void *_p_wxControlTo_p_wxWindow(void *x) {
23452 return (void *)((wxWindow *) ((wxControl *) x));
d55e5bfc 23453}
093d3ff1
RD
23454static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
23455 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
d55e5bfc 23456}
093d3ff1
RD
23457static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
23458 return (void *)((wxWindow *) ((wxMenuBar *) x));
d55e5bfc 23459}
7449af73
RD
23460static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
23461static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, 0};
23462static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
23463static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
23464static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
23465static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
23466static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
23467static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
23468static swig_type_info _swigt__p_wxBrush = {"_p_wxBrush", "wxBrush *", 0, 0, 0};
23469static swig_type_info _swigt__p_wxBrushList = {"_p_wxBrushList", "wxBrushList *", 0, 0, 0};
23470static swig_type_info _swigt__p_wxBufferedDC = {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, 0};
23471static swig_type_info _swigt__p_wxBufferedPaintDC = {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, 0};
23472static swig_type_info _swigt__p_wxClientDC = {"_p_wxClientDC", "wxClientDC *", 0, 0, 0};
23473static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
23474static swig_type_info _swigt__p_wxColourDatabase = {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, 0};
23475static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0};
23476static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
23477static swig_type_info _swigt__p_wxDash = {"_p_wxDash", "wxDash *", 0, 0, 0};
23478static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
23479static swig_type_info _swigt__p_wxEffects = {"_p_wxEffects", "wxEffects *", 0, 0, 0};
23480static swig_type_info _swigt__p_wxEncodingConverter = {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, 0};
23481static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
23482static swig_type_info _swigt__p_wxFontList = {"_p_wxFontList", "wxFontList *", 0, 0, 0};
23483static swig_type_info _swigt__p_wxFontMapper = {"_p_wxFontMapper", "wxFontMapper *", 0, 0, 0};
23484static swig_type_info _swigt__p_wxGDIObject = {"_p_wxGDIObject", "wxGDIObject *", 0, 0, 0};
23485static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
23486static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0};
23487static swig_type_info _swigt__p_wxIconLocation = {"_p_wxIconLocation", "wxIconLocation *", 0, 0, 0};
23488static swig_type_info _swigt__p_wxImage = {"_p_wxImage", "wxImage *", 0, 0, 0};
23489static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, 0};
23490static swig_type_info _swigt__p_wxLanguageInfo = {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, 0};
23491static swig_type_info _swigt__p_wxLocale = {"_p_wxLocale", "wxLocale *", 0, 0, 0};
23492static swig_type_info _swigt__p_wxMask = {"_p_wxMask", "wxMask *", 0, 0, 0};
23493static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0};
23494static swig_type_info _swigt__p_wxMetaFile = {"_p_wxMetaFile", "wxMetaFile *", 0, 0, 0};
23495static swig_type_info _swigt__p_wxMetaFileDC = {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, 0};
23496static swig_type_info _swigt__p_wxMirrorDC = {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, 0};
23497static swig_type_info _swigt__p_wxNativeEncodingInfo = {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, 0};
23498static swig_type_info _swigt__p_wxNativeFontInfo = {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, 0};
23499static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
23500static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
23501static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
23502static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
23503static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
23504static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
23505static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
23506static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
23507static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
23508static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
23509static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
23510static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
23511static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", 0, 0, 0, 0};
23512static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
23513static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
23514static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
23515static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
23516static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
23517static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
23518static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
23519static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
23520static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
23521static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0};
23522static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
23523static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
23524static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
23525static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
23526static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0};
23527static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
23528static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
23529static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
23530static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
23531static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
23532static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
23533static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
23534static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
23535static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
23536static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
23537static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
23538static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
23539static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
23540static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
23541static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
23542static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
23543static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
23544static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
23545static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
23546static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", 0, 0, 0, 0};
23547static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
23548static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
23549static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
23550static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
23551static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
23552static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
23553static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
23554static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
23555static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
23556static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
23557static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
23558static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
23559static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0};
23560static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
23561static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
23562static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
23563static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
23564static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0};
23565static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
23566static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
23567static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", 0, 0, 0, 0};
23568static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
23569static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
23570static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
23571static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
23572static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
23573static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
23574static swig_type_info _swigt__p_wxPaintDC = {"_p_wxPaintDC", "wxPaintDC *", 0, 0, 0};
23575static swig_type_info _swigt__p_wxPalette = {"_p_wxPalette", "wxPalette *", 0, 0, 0};
23576static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
23577static swig_type_info _swigt__p_wxPen = {"_p_wxPen", "wxPen *", 0, 0, 0};
23578static swig_type_info _swigt__p_wxPenList = {"_p_wxPenList", "wxPenList *", 0, 0, 0};
23579static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
23580static swig_type_info _swigt__p_wxPostScriptDC = {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, 0};
23581static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
23582static swig_type_info _swigt__p_wxPrinterDC = {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, 0};
23583static swig_type_info _swigt__p_wxPyFontEnumerator = {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, 0};
23584static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
23585static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, 0};
23586static swig_type_info _swigt__p_wxRegionIterator = {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, 0};
23587static swig_type_info _swigt__p_wxRendererNative = {"_p_wxRendererNative", "wxRendererNative *", 0, 0, 0};
23588static swig_type_info _swigt__p_wxRendererVersion = {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, 0};
23589static swig_type_info _swigt__p_wxScreenDC = {"_p_wxScreenDC", "wxScreenDC *", 0, 0, 0};
23590static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
23591static swig_type_info _swigt__p_wxSplitterRenderParams = {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, 0};
23592static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
23593static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
23594static swig_type_info _swigt__p_wxWindowDC = {"_p_wxWindowDC", "wxWindowDC *", 0, 0, 0};
23595static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
23596static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
23597static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
23598
23599static swig_type_info *swig_type_initial[] = {
23600 &_swigt__p_char,
23601 &_swigt__p_double,
23602 &_swigt__p_form_ops_t,
23603 &_swigt__p_int,
23604 &_swigt__p_unsigned_char,
23605 &_swigt__p_unsigned_int,
23606 &_swigt__p_unsigned_long,
23607 &_swigt__p_wxANIHandler,
23608 &_swigt__p_wxAcceleratorTable,
23609 &_swigt__p_wxActivateEvent,
23610 &_swigt__p_wxBMPHandler,
23611 &_swigt__p_wxBitmap,
23612 &_swigt__p_wxBoxSizer,
23613 &_swigt__p_wxBrush,
23614 &_swigt__p_wxBrushList,
23615 &_swigt__p_wxBufferedDC,
23616 &_swigt__p_wxBufferedPaintDC,
23617 &_swigt__p_wxCURHandler,
23618 &_swigt__p_wxChildFocusEvent,
23619 &_swigt__p_wxClientDC,
23620 &_swigt__p_wxCloseEvent,
23621 &_swigt__p_wxColour,
23622 &_swigt__p_wxColourDatabase,
23623 &_swigt__p_wxCommandEvent,
23624 &_swigt__p_wxContextMenuEvent,
23625 &_swigt__p_wxControl,
23626 &_swigt__p_wxControlWithItems,
23627 &_swigt__p_wxCursor,
23628 &_swigt__p_wxDC,
23629 &_swigt__p_wxDash,
23630 &_swigt__p_wxDateEvent,
23631 &_swigt__p_wxDisplayChangedEvent,
23632 &_swigt__p_wxDropFilesEvent,
23633 &_swigt__p_wxDuplexMode,
23634 &_swigt__p_wxEffects,
23635 &_swigt__p_wxEncodingConverter,
23636 &_swigt__p_wxEraseEvent,
23637 &_swigt__p_wxEvent,
23638 &_swigt__p_wxEvtHandler,
23639 &_swigt__p_wxFSFile,
23640 &_swigt__p_wxFileSystem,
23641 &_swigt__p_wxFlexGridSizer,
23642 &_swigt__p_wxFocusEvent,
23643 &_swigt__p_wxFont,
23644 &_swigt__p_wxFontList,
23645 &_swigt__p_wxFontMapper,
23646 &_swigt__p_wxGBSizerItem,
23647 &_swigt__p_wxGDIObject,
23648 &_swigt__p_wxGIFHandler,
23649 &_swigt__p_wxGridBagSizer,
23650 &_swigt__p_wxGridSizer,
23651 &_swigt__p_wxICOHandler,
23652 &_swigt__p_wxIcon,
23653 &_swigt__p_wxIconBundle,
23654 &_swigt__p_wxIconLocation,
23655 &_swigt__p_wxIconizeEvent,
23656 &_swigt__p_wxIdleEvent,
23657 &_swigt__p_wxImage,
23658 &_swigt__p_wxImageHandler,
23659 &_swigt__p_wxImageList,
23660 &_swigt__p_wxIndividualLayoutConstraint,
23661 &_swigt__p_wxInitDialogEvent,
23662 &_swigt__p_wxJPEGHandler,
23663 &_swigt__p_wxKeyEvent,
23664 &_swigt__p_wxLanguageInfo,
23665 &_swigt__p_wxLayoutConstraints,
23666 &_swigt__p_wxLocale,
23667 &_swigt__p_wxMask,
23668 &_swigt__p_wxMaximizeEvent,
23669 &_swigt__p_wxMemoryDC,
23670 &_swigt__p_wxMenu,
23671 &_swigt__p_wxMenuBar,
23672 &_swigt__p_wxMenuEvent,
23673 &_swigt__p_wxMenuItem,
23674 &_swigt__p_wxMetaFile,
23675 &_swigt__p_wxMetaFileDC,
23676 &_swigt__p_wxMirrorDC,
23677 &_swigt__p_wxMouseCaptureChangedEvent,
23678 &_swigt__p_wxMouseEvent,
23679 &_swigt__p_wxMoveEvent,
23680 &_swigt__p_wxNativeEncodingInfo,
23681 &_swigt__p_wxNativeFontInfo,
23682 &_swigt__p_wxNavigationKeyEvent,
23683 &_swigt__p_wxNcPaintEvent,
23684 &_swigt__p_wxNotifyEvent,
23685 &_swigt__p_wxObject,
23686 &_swigt__p_wxPCXHandler,
23687 &_swigt__p_wxPNGHandler,
23688 &_swigt__p_wxPNMHandler,
23689 &_swigt__p_wxPaintDC,
23690 &_swigt__p_wxPaintEvent,
23691 &_swigt__p_wxPalette,
23692 &_swigt__p_wxPaletteChangedEvent,
23693 &_swigt__p_wxPaperSize,
23694 &_swigt__p_wxPen,
23695 &_swigt__p_wxPenList,
23696 &_swigt__p_wxPoint,
23697 &_swigt__p_wxPostScriptDC,
23698 &_swigt__p_wxPrintData,
23699 &_swigt__p_wxPrinterDC,
23700 &_swigt__p_wxPyApp,
23701 &_swigt__p_wxPyCommandEvent,
23702 &_swigt__p_wxPyEvent,
23703 &_swigt__p_wxPyFontEnumerator,
23704 &_swigt__p_wxPyImageHandler,
23705 &_swigt__p_wxPySizer,
23706 &_swigt__p_wxPyValidator,
23707 &_swigt__p_wxQueryNewPaletteEvent,
23708 &_swigt__p_wxRect,
23709 &_swigt__p_wxRegion,
23710 &_swigt__p_wxRegionIterator,
23711 &_swigt__p_wxRendererNative,
23712 &_swigt__p_wxRendererVersion,
23713 &_swigt__p_wxScreenDC,
23714 &_swigt__p_wxScrollEvent,
23715 &_swigt__p_wxScrollWinEvent,
23716 &_swigt__p_wxSetCursorEvent,
23717 &_swigt__p_wxShowEvent,
23718 &_swigt__p_wxSize,
23719 &_swigt__p_wxSizeEvent,
23720 &_swigt__p_wxSizer,
23721 &_swigt__p_wxSizerItem,
23722 &_swigt__p_wxSplitterRenderParams,
23723 &_swigt__p_wxStaticBoxSizer,
23724 &_swigt__p_wxStdDialogButtonSizer,
23725 &_swigt__p_wxString,
23726 &_swigt__p_wxSysColourChangedEvent,
23727 &_swigt__p_wxTIFFHandler,
23728 &_swigt__p_wxUpdateUIEvent,
23729 &_swigt__p_wxValidator,
23730 &_swigt__p_wxWindow,
23731 &_swigt__p_wxWindowCreateEvent,
23732 &_swigt__p_wxWindowDC,
23733 &_swigt__p_wxWindowDestroyEvent,
23734 &_swigt__p_wxXPMHandler,
23735 &_swigt__ptrdiff_t,
23736 &_swigt__std__ptrdiff_t,
23737 &_swigt__unsigned_int,
23738};
23739
23740static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
23741static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
23742static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
23743static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
23744static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
23745static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
23746static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
23747static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
23748static swig_cast_info _swigc__p_wxBrush[] = { {&_swigt__p_wxBrush, 0, 0, 0},{0, 0, 0, 0}};
23749static swig_cast_info _swigc__p_wxBrushList[] = { {&_swigt__p_wxBrushList, 0, 0, 0},{0, 0, 0, 0}};
23750static 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}};
23751static swig_cast_info _swigc__p_wxBufferedPaintDC[] = { {&_swigt__p_wxBufferedPaintDC, 0, 0, 0},{0, 0, 0, 0}};
23752static swig_cast_info _swigc__p_wxClientDC[] = { {&_swigt__p_wxClientDC, 0, 0, 0},{0, 0, 0, 0}};
23753static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
23754static swig_cast_info _swigc__p_wxColourDatabase[] = { {&_swigt__p_wxColourDatabase, 0, 0, 0},{0, 0, 0, 0}};
23755static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
23756static 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}};
23757static swig_cast_info _swigc__p_wxDash[] = { {&_swigt__p_wxDash, 0, 0, 0},{0, 0, 0, 0}};
23758static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
23759static swig_cast_info _swigc__p_wxEffects[] = { {&_swigt__p_wxEffects, 0, 0, 0},{0, 0, 0, 0}};
23760static swig_cast_info _swigc__p_wxEncodingConverter[] = { {&_swigt__p_wxEncodingConverter, 0, 0, 0},{0, 0, 0, 0}};
23761static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
23762static swig_cast_info _swigc__p_wxFontList[] = { {&_swigt__p_wxFontList, 0, 0, 0},{0, 0, 0, 0}};
23763static swig_cast_info _swigc__p_wxFontMapper[] = { {&_swigt__p_wxFontMapper, 0, 0, 0},{0, 0, 0, 0}};
23764static 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}};
23765static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
23766static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
23767static swig_cast_info _swigc__p_wxIconLocation[] = { {&_swigt__p_wxIconLocation, 0, 0, 0},{0, 0, 0, 0}};
23768static swig_cast_info _swigc__p_wxImage[] = { {&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
23769static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
23770static swig_cast_info _swigc__p_wxLanguageInfo[] = { {&_swigt__p_wxLanguageInfo, 0, 0, 0},{0, 0, 0, 0}};
23771static swig_cast_info _swigc__p_wxLocale[] = { {&_swigt__p_wxLocale, 0, 0, 0},{0, 0, 0, 0}};
23772static swig_cast_info _swigc__p_wxMask[] = { {&_swigt__p_wxMask, 0, 0, 0},{0, 0, 0, 0}};
23773static 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}};
23774static swig_cast_info _swigc__p_wxMetaFile[] = { {&_swigt__p_wxMetaFile, 0, 0, 0},{0, 0, 0, 0}};
23775static swig_cast_info _swigc__p_wxMetaFileDC[] = { {&_swigt__p_wxMetaFileDC, 0, 0, 0},{0, 0, 0, 0}};
23776static swig_cast_info _swigc__p_wxMirrorDC[] = { {&_swigt__p_wxMirrorDC, 0, 0, 0},{0, 0, 0, 0}};
23777static swig_cast_info _swigc__p_wxNativeEncodingInfo[] = { {&_swigt__p_wxNativeEncodingInfo, 0, 0, 0},{0, 0, 0, 0}};
23778static swig_cast_info _swigc__p_wxNativeFontInfo[] = { {&_swigt__p_wxNativeFontInfo, 0, 0, 0},{0, 0, 0, 0}};
23779static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
23780static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
23781static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
23782static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
23783static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
23784static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
23785static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
23786static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
23787static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
23788static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
23789static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
23790static swig_cast_info _swigc__p_wxEvent[] = {{&_swigt__p_wxEvent, 0, 0, 0},{0, 0, 0, 0}};
23791static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
23792static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
23793static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
23794static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
23795static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
23796static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
23797static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
23798static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
23799static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
23800static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
23801static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
23802static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
23803static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
23804static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
23805static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
23806static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
23807static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
23808static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
23809static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
23810static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
23811static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
23812static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
23813static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
23814static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
23815static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
23816static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
23817static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
23818static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
23819static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
23820static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
23821static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
23822static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
23823static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
23824static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
23825static swig_cast_info _swigc__p_wxEvtHandler[] = {{&_swigt__p_wxEvtHandler, 0, 0, 0},{0, 0, 0, 0}};
23826static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
23827static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
23828static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
23829static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
23830static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
23831static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
23832static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
23833static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
23834static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
23835static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
23836static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
23837static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
23838static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
23839static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
23840static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
23841static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
23842static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
23843static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
23844static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
23845static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
23846static swig_cast_info _swigc__p_wxCommandEvent[] = {{&_swigt__p_wxCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
23847static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
23848static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
23849static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
23850static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
23851static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
23852static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
23853static 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}};
23854static swig_cast_info _swigc__p_wxPaintDC[] = { {&_swigt__p_wxPaintDC, 0, 0, 0},{0, 0, 0, 0}};
23855static swig_cast_info _swigc__p_wxPalette[] = { {&_swigt__p_wxPalette, 0, 0, 0},{0, 0, 0, 0}};
23856static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
23857static swig_cast_info _swigc__p_wxPen[] = { {&_swigt__p_wxPen, 0, 0, 0},{0, 0, 0, 0}};
23858static swig_cast_info _swigc__p_wxPenList[] = { {&_swigt__p_wxPenList, 0, 0, 0},{0, 0, 0, 0}};
23859static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
23860static swig_cast_info _swigc__p_wxPostScriptDC[] = { {&_swigt__p_wxPostScriptDC, 0, 0, 0},{0, 0, 0, 0}};
23861static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
23862static swig_cast_info _swigc__p_wxPrinterDC[] = { {&_swigt__p_wxPrinterDC, 0, 0, 0},{0, 0, 0, 0}};
23863static swig_cast_info _swigc__p_wxPyFontEnumerator[] = { {&_swigt__p_wxPyFontEnumerator, 0, 0, 0},{0, 0, 0, 0}};
23864static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
23865static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
23866static swig_cast_info _swigc__p_wxRegionIterator[] = { {&_swigt__p_wxRegionIterator, 0, 0, 0},{0, 0, 0, 0}};
23867static swig_cast_info _swigc__p_wxRendererNative[] = { {&_swigt__p_wxRendererNative, 0, 0, 0},{0, 0, 0, 0}};
23868static swig_cast_info _swigc__p_wxRendererVersion[] = { {&_swigt__p_wxRendererVersion, 0, 0, 0},{0, 0, 0, 0}};
23869static swig_cast_info _swigc__p_wxScreenDC[] = { {&_swigt__p_wxScreenDC, 0, 0, 0},{0, 0, 0, 0}};
23870static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
23871static swig_cast_info _swigc__p_wxSplitterRenderParams[] = { {&_swigt__p_wxSplitterRenderParams, 0, 0, 0},{0, 0, 0, 0}};
23872static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
23873static 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}};
23874static swig_cast_info _swigc__p_wxWindowDC[] = { {&_swigt__p_wxWindowDC, 0, 0, 0},{0, 0, 0, 0}};
23875static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
23876static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
23877static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
23878
23879static swig_cast_info *swig_cast_initial[] = {
23880 _swigc__p_char,
23881 _swigc__p_double,
23882 _swigc__p_form_ops_t,
23883 _swigc__p_int,
23884 _swigc__p_unsigned_char,
23885 _swigc__p_unsigned_int,
23886 _swigc__p_unsigned_long,
23887 _swigc__p_wxANIHandler,
23888 _swigc__p_wxAcceleratorTable,
23889 _swigc__p_wxActivateEvent,
23890 _swigc__p_wxBMPHandler,
23891 _swigc__p_wxBitmap,
23892 _swigc__p_wxBoxSizer,
23893 _swigc__p_wxBrush,
23894 _swigc__p_wxBrushList,
23895 _swigc__p_wxBufferedDC,
23896 _swigc__p_wxBufferedPaintDC,
23897 _swigc__p_wxCURHandler,
23898 _swigc__p_wxChildFocusEvent,
23899 _swigc__p_wxClientDC,
23900 _swigc__p_wxCloseEvent,
23901 _swigc__p_wxColour,
23902 _swigc__p_wxColourDatabase,
23903 _swigc__p_wxCommandEvent,
23904 _swigc__p_wxContextMenuEvent,
23905 _swigc__p_wxControl,
23906 _swigc__p_wxControlWithItems,
23907 _swigc__p_wxCursor,
23908 _swigc__p_wxDC,
23909 _swigc__p_wxDash,
23910 _swigc__p_wxDateEvent,
23911 _swigc__p_wxDisplayChangedEvent,
23912 _swigc__p_wxDropFilesEvent,
23913 _swigc__p_wxDuplexMode,
23914 _swigc__p_wxEffects,
23915 _swigc__p_wxEncodingConverter,
23916 _swigc__p_wxEraseEvent,
23917 _swigc__p_wxEvent,
23918 _swigc__p_wxEvtHandler,
23919 _swigc__p_wxFSFile,
23920 _swigc__p_wxFileSystem,
23921 _swigc__p_wxFlexGridSizer,
23922 _swigc__p_wxFocusEvent,
23923 _swigc__p_wxFont,
23924 _swigc__p_wxFontList,
23925 _swigc__p_wxFontMapper,
23926 _swigc__p_wxGBSizerItem,
23927 _swigc__p_wxGDIObject,
23928 _swigc__p_wxGIFHandler,
23929 _swigc__p_wxGridBagSizer,
23930 _swigc__p_wxGridSizer,
23931 _swigc__p_wxICOHandler,
23932 _swigc__p_wxIcon,
23933 _swigc__p_wxIconBundle,
23934 _swigc__p_wxIconLocation,
23935 _swigc__p_wxIconizeEvent,
23936 _swigc__p_wxIdleEvent,
23937 _swigc__p_wxImage,
23938 _swigc__p_wxImageHandler,
23939 _swigc__p_wxImageList,
23940 _swigc__p_wxIndividualLayoutConstraint,
23941 _swigc__p_wxInitDialogEvent,
23942 _swigc__p_wxJPEGHandler,
23943 _swigc__p_wxKeyEvent,
23944 _swigc__p_wxLanguageInfo,
23945 _swigc__p_wxLayoutConstraints,
23946 _swigc__p_wxLocale,
23947 _swigc__p_wxMask,
23948 _swigc__p_wxMaximizeEvent,
23949 _swigc__p_wxMemoryDC,
23950 _swigc__p_wxMenu,
23951 _swigc__p_wxMenuBar,
23952 _swigc__p_wxMenuEvent,
23953 _swigc__p_wxMenuItem,
23954 _swigc__p_wxMetaFile,
23955 _swigc__p_wxMetaFileDC,
23956 _swigc__p_wxMirrorDC,
23957 _swigc__p_wxMouseCaptureChangedEvent,
23958 _swigc__p_wxMouseEvent,
23959 _swigc__p_wxMoveEvent,
23960 _swigc__p_wxNativeEncodingInfo,
23961 _swigc__p_wxNativeFontInfo,
23962 _swigc__p_wxNavigationKeyEvent,
23963 _swigc__p_wxNcPaintEvent,
23964 _swigc__p_wxNotifyEvent,
23965 _swigc__p_wxObject,
23966 _swigc__p_wxPCXHandler,
23967 _swigc__p_wxPNGHandler,
23968 _swigc__p_wxPNMHandler,
23969 _swigc__p_wxPaintDC,
23970 _swigc__p_wxPaintEvent,
23971 _swigc__p_wxPalette,
23972 _swigc__p_wxPaletteChangedEvent,
23973 _swigc__p_wxPaperSize,
23974 _swigc__p_wxPen,
23975 _swigc__p_wxPenList,
23976 _swigc__p_wxPoint,
23977 _swigc__p_wxPostScriptDC,
23978 _swigc__p_wxPrintData,
23979 _swigc__p_wxPrinterDC,
23980 _swigc__p_wxPyApp,
23981 _swigc__p_wxPyCommandEvent,
23982 _swigc__p_wxPyEvent,
23983 _swigc__p_wxPyFontEnumerator,
23984 _swigc__p_wxPyImageHandler,
23985 _swigc__p_wxPySizer,
23986 _swigc__p_wxPyValidator,
23987 _swigc__p_wxQueryNewPaletteEvent,
23988 _swigc__p_wxRect,
23989 _swigc__p_wxRegion,
23990 _swigc__p_wxRegionIterator,
23991 _swigc__p_wxRendererNative,
23992 _swigc__p_wxRendererVersion,
23993 _swigc__p_wxScreenDC,
23994 _swigc__p_wxScrollEvent,
23995 _swigc__p_wxScrollWinEvent,
23996 _swigc__p_wxSetCursorEvent,
23997 _swigc__p_wxShowEvent,
23998 _swigc__p_wxSize,
23999 _swigc__p_wxSizeEvent,
24000 _swigc__p_wxSizer,
24001 _swigc__p_wxSizerItem,
24002 _swigc__p_wxSplitterRenderParams,
24003 _swigc__p_wxStaticBoxSizer,
24004 _swigc__p_wxStdDialogButtonSizer,
24005 _swigc__p_wxString,
24006 _swigc__p_wxSysColourChangedEvent,
24007 _swigc__p_wxTIFFHandler,
24008 _swigc__p_wxUpdateUIEvent,
24009 _swigc__p_wxValidator,
24010 _swigc__p_wxWindow,
24011 _swigc__p_wxWindowCreateEvent,
24012 _swigc__p_wxWindowDC,
24013 _swigc__p_wxWindowDestroyEvent,
24014 _swigc__p_wxXPMHandler,
24015 _swigc__ptrdiff_t,
24016 _swigc__std__ptrdiff_t,
24017 _swigc__unsigned_int,
d55e5bfc
RD
24018};
24019
24020
24021/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
24022
24023static swig_const_info swig_const_table[] = {
c32bde28 24024{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
24025
24026#ifdef __cplusplus
24027}
24028#endif
7449af73
RD
24029/*************************************************************************
24030 * Type initialization:
24031 * This problem is tough by the requirement that no dynamic
24032 * memory is used. Also, since swig_type_info structures store pointers to
24033 * swig_cast_info structures and swig_cast_info structures store pointers back
24034 * to swig_type_info structures, we need some lookup code at initialization.
24035 * The idea is that swig generates all the structures that are needed.
24036 * The runtime then collects these partially filled structures.
24037 * The SWIG_InitializeModule function takes these initial arrays out of
24038 * swig_module, and does all the lookup, filling in the swig_module.types
24039 * array with the correct data and linking the correct swig_cast_info
24040 * structures together.
24041
24042 * The generated swig_type_info structures are assigned staticly to an initial
24043 * array. We just loop though that array, and handle each type individually.
24044 * First we lookup if this type has been already loaded, and if so, use the
24045 * loaded structure instead of the generated one. Then we have to fill in the
24046 * cast linked list. The cast data is initially stored in something like a
24047 * two-dimensional array. Each row corresponds to a type (there are the same
24048 * number of rows as there are in the swig_type_initial array). Each entry in
24049 * a column is one of the swig_cast_info structures for that type.
24050 * The cast_initial array is actually an array of arrays, because each row has
24051 * a variable number of columns. So to actually build the cast linked list,
24052 * we find the array of casts associated with the type, and loop through it
24053 * adding the casts to the list. The one last trick we need to do is making
24054 * sure the type pointer in the swig_cast_info struct is correct.
24055
24056 * First off, we lookup the cast->type name to see if it is already loaded.
24057 * There are three cases to handle:
24058 * 1) If the cast->type has already been loaded AND the type we are adding
24059 * casting info to has not been loaded (it is in this module), THEN we
24060 * replace the cast->type pointer with the type pointer that has already
24061 * been loaded.
24062 * 2) If BOTH types (the one we are adding casting info to, and the
24063 * cast->type) are loaded, THEN the cast info has already been loaded by
24064 * the previous module so we just ignore it.
24065 * 3) Finally, if cast->type has not already been loaded, then we add that
24066 * swig_cast_info to the linked list (because the cast->type) pointer will
24067 * be correct.
24068**/
24069
24070#ifdef __cplusplus
24071extern "C" {
24072#if 0
24073} /* c-mode */
24074#endif
24075#endif
24076
24077#if 0
24078#define SWIGRUNTIME_DEBUG
24079#endif
24080
24081SWIGRUNTIME void
24082SWIG_InitializeModule(void *clientdata) {
24083 size_t i;
24084 swig_module_info *module_head;
24085 static int init_run = 0;
24086
24087 clientdata = clientdata;
24088
24089 if (init_run) return;
24090 init_run = 1;
24091
24092 /* Initialize the swig_module */
24093 swig_module.type_initial = swig_type_initial;
24094 swig_module.cast_initial = swig_cast_initial;
24095
24096 /* Try and load any already created modules */
24097 module_head = SWIG_GetModule(clientdata);
24098 if (module_head) {
24099 swig_module.next = module_head->next;
24100 module_head->next = &swig_module;
24101 } else {
24102 /* This is the first module loaded */
24103 swig_module.next = &swig_module;
24104 SWIG_SetModule(clientdata, &swig_module);
24105 }
24106
24107 /* Now work on filling in swig_module.types */
24108#ifdef SWIGRUNTIME_DEBUG
24109 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
24110#endif
24111 for (i = 0; i < swig_module.size; ++i) {
24112 swig_type_info *type = 0;
24113 swig_type_info *ret;
24114 swig_cast_info *cast;
24115
24116#ifdef SWIGRUNTIME_DEBUG
24117 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
24118#endif
24119
24120 /* if there is another module already loaded */
24121 if (swig_module.next != &swig_module) {
24122 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
24123 }
24124 if (type) {
24125 /* Overwrite clientdata field */
24126#ifdef SWIGRUNTIME_DEBUG
24127 printf("SWIG_InitializeModule: found type %s\n", type->name);
24128#endif
24129 if (swig_module.type_initial[i]->clientdata) {
24130 type->clientdata = swig_module.type_initial[i]->clientdata;
24131#ifdef SWIGRUNTIME_DEBUG
24132 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
24133#endif
24134 }
24135 } else {
24136 type = swig_module.type_initial[i];
24137 }
24138
24139 /* Insert casting types */
24140 cast = swig_module.cast_initial[i];
24141 while (cast->type) {
24142 /* Don't need to add information already in the list */
24143 ret = 0;
24144#ifdef SWIGRUNTIME_DEBUG
24145 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
24146#endif
24147 if (swig_module.next != &swig_module) {
24148 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
24149#ifdef SWIGRUNTIME_DEBUG
24150 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
24151#endif
24152 }
24153 if (ret) {
24154 if (type == swig_module.type_initial[i]) {
24155#ifdef SWIGRUNTIME_DEBUG
24156 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
24157#endif
24158 cast->type = ret;
24159 ret = 0;
24160 } else {
24161 /* Check for casting already in the list */
24162 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
24163#ifdef SWIGRUNTIME_DEBUG
24164 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
24165#endif
24166 if (!ocast) ret = 0;
24167 }
24168 }
24169
24170 if (!ret) {
24171#ifdef SWIGRUNTIME_DEBUG
24172 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
24173#endif
24174 if (type->cast) {
24175 type->cast->prev = cast;
24176 cast->next = type->cast;
24177 }
24178 type->cast = cast;
24179 }
24180 cast++;
24181 }
24182 /* Set entry in modules->types array equal to the type */
24183 swig_module.types[i] = type;
24184 }
24185 swig_module.types[i] = 0;
24186
24187#ifdef SWIGRUNTIME_DEBUG
24188 printf("**** SWIG_InitializeModule: Cast List ******\n");
24189 for (i = 0; i < swig_module.size; ++i) {
24190 int j = 0;
24191 swig_cast_info *cast = swig_module.cast_initial[i];
24192 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
24193 while (cast->type) {
24194 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
24195 cast++;
24196 ++j;
24197 }
24198 printf("---- Total casts: %d\n",j);
24199 }
24200 printf("**** SWIG_InitializeModule: Cast List ******\n");
24201#endif
24202}
24203
24204/* This function will propagate the clientdata field of type to
24205* any new swig_type_info structures that have been added into the list
24206* of equivalent types. It is like calling
24207* SWIG_TypeClientData(type, clientdata) a second time.
24208*/
24209SWIGRUNTIME void
24210SWIG_PropagateClientData(void) {
24211 size_t i;
24212 swig_cast_info *equiv;
24213 static int init_run = 0;
24214
24215 if (init_run) return;
24216 init_run = 1;
24217
24218 for (i = 0; i < swig_module.size; i++) {
24219 if (swig_module.types[i]->clientdata) {
24220 equiv = swig_module.types[i]->cast;
24221 while (equiv) {
24222 if (!equiv->converter) {
24223 if (equiv->type && !equiv->type->clientdata)
24224 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
24225 }
24226 equiv = equiv->next;
24227 }
24228 }
24229 }
24230}
24231
24232#ifdef __cplusplus
24233#if 0
24234{
24235 /* c-mode */
24236#endif
24237}
24238#endif
24239
d55e5bfc 24240
093d3ff1
RD
24241
24242#ifdef __cplusplus
24243extern "C" {
24244#endif
24245
24246 /* Python-specific SWIG API */
24247#define SWIG_newvarlink() SWIG_Python_newvarlink()
24248#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
24249#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
24250
24251 /* -----------------------------------------------------------------------------
24252 * global variable support code.
24253 * ----------------------------------------------------------------------------- */
24254
24255 typedef struct swig_globalvar {
24256 char *name; /* Name of global variable */
7449af73 24257 PyObject *(*get_attr)(void); /* Return the current value */
093d3ff1
RD
24258 int (*set_attr)(PyObject *); /* Set the value */
24259 struct swig_globalvar *next;
24260 } swig_globalvar;
24261
24262 typedef struct swig_varlinkobject {
24263 PyObject_HEAD
24264 swig_globalvar *vars;
24265 } swig_varlinkobject;
24266
7449af73 24267 SWIGINTERN PyObject *
093d3ff1
RD
24268 swig_varlink_repr(swig_varlinkobject *v) {
24269 v = v;
24270 return PyString_FromString("<Swig global variables>");
24271 }
24272
7449af73 24273 SWIGINTERN int
093d3ff1
RD
24274 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
24275 swig_globalvar *var;
24276 flags = flags;
24277 fprintf(fp,"Swig global variables { ");
24278 for (var = v->vars; var; var=var->next) {
24279 fprintf(fp,"%s", var->name);
24280 if (var->next) fprintf(fp,", ");
24281 }
24282 fprintf(fp," }\n");
24283 return 0;
24284 }
24285
7449af73 24286 SWIGINTERN PyObject *
093d3ff1
RD
24287 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
24288 swig_globalvar *var = v->vars;
24289 while (var) {
24290 if (strcmp(var->name,n) == 0) {
24291 return (*var->get_attr)();
24292 }
24293 var = var->next;
24294 }
24295 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
24296 return NULL;
24297 }
24298
7449af73 24299 SWIGINTERN int
093d3ff1
RD
24300 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
24301 swig_globalvar *var = v->vars;
24302 while (var) {
24303 if (strcmp(var->name,n) == 0) {
24304 return (*var->set_attr)(p);
24305 }
24306 var = var->next;
24307 }
24308 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
24309 return 1;
24310 }
24311
7449af73
RD
24312 SWIGINTERN PyTypeObject*
24313 swig_varlink_type(void) {
24314 static char varlink__doc__[] = "Swig var link object";
24315 static PyTypeObject varlink_type
24316#if !defined(__cplusplus)
24317 ;
24318 static int type_init = 0;
24319 if (!type_init) {
24320 PyTypeObject tmp
24321#endif
24322 = {
24323 PyObject_HEAD_INIT(&PyType_Type)
24324 0, /* Number of items in variable part (ob_size) */
24325 (char *)"swigvarlink", /* Type name (tp_name) */
24326 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
24327 0, /* Itemsize (tp_itemsize) */
24328 0, /* Deallocator (tp_dealloc) */
24329 (printfunc) swig_varlink_print, /* Print (tp_print) */
24330 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
24331 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
24332 0, /* tp_compare */
24333 (reprfunc) swig_varlink_repr, /* tp_repr */
24334 0, /* tp_as_number */
24335 0, /* tp_as_sequence */
24336 0, /* tp_as_mapping */
24337 0, /* tp_hash */
24338 0, /* tp_call */
24339 0, /* tp_str */
24340 0, /* tp_getattro */
24341 0, /* tp_setattro */
24342 0, /* tp_as_buffer */
24343 0, /* tp_flags */
24344 varlink__doc__, /* tp_doc */
093d3ff1 24345#if PY_VERSION_HEX >= 0x02000000
7449af73
RD
24346 0, /* tp_traverse */
24347 0, /* tp_clear */
093d3ff1
RD
24348#endif
24349#if PY_VERSION_HEX >= 0x02010000
7449af73
RD
24350 0, /* tp_richcompare */
24351 0, /* tp_weaklistoffset */
093d3ff1
RD
24352#endif
24353#if PY_VERSION_HEX >= 0x02020000
7449af73 24354 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
093d3ff1
RD
24355#endif
24356#if PY_VERSION_HEX >= 0x02030000
7449af73 24357 0, /* tp_del */
093d3ff1
RD
24358#endif
24359#ifdef COUNT_ALLOCS
7449af73 24360 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 24361#endif
7449af73
RD
24362 };
24363#if !defined(__cplusplus)
24364 varlink_type = tmp;
24365 type_init = 1;
24366 }
24367#endif
24368 return &varlink_type;
24369 }
093d3ff1
RD
24370
24371 /* Create a variable linking object for use later */
7449af73 24372 SWIGINTERN PyObject *
093d3ff1 24373 SWIG_Python_newvarlink(void) {
7449af73
RD
24374 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
24375 if (result) {
24376 result->vars = 0;
24377 }
093d3ff1
RD
24378 return ((PyObject*) result);
24379 }
24380
7449af73 24381 SWIGINTERN void
093d3ff1 24382 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
7449af73
RD
24383 swig_varlinkobject *v = (swig_varlinkobject *) p;
24384 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
24385 if (gv) {
24386 size_t size = strlen(name)+1;
24387 gv->name = (char *)malloc(size);
24388 if (gv->name) {
24389 strncpy(gv->name,name,size);
24390 gv->get_attr = get_attr;
24391 gv->set_attr = set_attr;
24392 gv->next = v->vars;
24393 }
24394 }
093d3ff1
RD
24395 v->vars = gv;
24396 }
24397
24398 /* -----------------------------------------------------------------------------
24399 * constants/methods manipulation
24400 * ----------------------------------------------------------------------------- */
24401
24402 /* Install Constants */
7449af73 24403 SWIGINTERN void
093d3ff1
RD
24404 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
24405 PyObject *obj = 0;
24406 size_t i;
7449af73 24407 for (i = 0; constants[i].type; ++i) {
093d3ff1
RD
24408 switch(constants[i].type) {
24409 case SWIG_PY_INT:
24410 obj = PyInt_FromLong(constants[i].lvalue);
24411 break;
24412 case SWIG_PY_FLOAT:
24413 obj = PyFloat_FromDouble(constants[i].dvalue);
24414 break;
24415 case SWIG_PY_STRING:
24416 if (constants[i].pvalue) {
24417 obj = PyString_FromString((char *) constants[i].pvalue);
24418 } else {
24419 Py_INCREF(Py_None);
24420 obj = Py_None;
24421 }
24422 break;
24423 case SWIG_PY_POINTER:
24424 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
24425 break;
24426 case SWIG_PY_BINARY:
24427 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
24428 break;
24429 default:
24430 obj = 0;
24431 break;
24432 }
24433 if (obj) {
24434 PyDict_SetItemString(d,constants[i].name,obj);
24435 Py_DECREF(obj);
24436 }
24437 }
24438 }
24439
24440 /* -----------------------------------------------------------------------------*/
24441 /* Fix SwigMethods to carry the callback ptrs when needed */
24442 /* -----------------------------------------------------------------------------*/
24443
7449af73 24444 SWIGINTERN void
093d3ff1
RD
24445 SWIG_Python_FixMethods(PyMethodDef *methods,
24446 swig_const_info *const_table,
24447 swig_type_info **types,
24448 swig_type_info **types_initial) {
24449 size_t i;
24450 for (i = 0; methods[i].ml_name; ++i) {
24451 char *c = methods[i].ml_doc;
24452 if (c && (c = strstr(c, "swig_ptr: "))) {
24453 int j;
24454 swig_const_info *ci = 0;
24455 char *name = c + 10;
7449af73 24456 for (j = 0; const_table[j].type; ++j) {
093d3ff1
RD
24457 if (strncmp(const_table[j].name, name,
24458 strlen(const_table[j].name)) == 0) {
24459 ci = &(const_table[j]);
24460 break;
24461 }
24462 }
24463 if (ci) {
24464 size_t shift = (ci->ptype) - types;
24465 swig_type_info *ty = types_initial[shift];
24466 size_t ldoc = (c - methods[i].ml_doc);
24467 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
24468 char *ndoc = (char*)malloc(ldoc + lptr + 10);
7449af73
RD
24469 if (ndoc) {
24470 char *buff = ndoc;
24471 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
24472 if (ptr) {
24473 strncpy(buff, methods[i].ml_doc, ldoc);
24474 buff += ldoc;
24475 strncpy(buff, "swig_ptr: ", 10);
24476 buff += 10;
24477 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
24478 methods[i].ml_doc = ndoc;
24479 }
24480 }
093d3ff1
RD
24481 }
24482 }
24483 }
24484 }
24485
24486 /* -----------------------------------------------------------------------------*
24487 * Initialize type list
24488 * -----------------------------------------------------------------------------*/
24489
093d3ff1
RD
24490#ifdef __cplusplus
24491}
24492#endif
24493
24494/* -----------------------------------------------------------------------------*
24495 * Partial Init method
24496 * -----------------------------------------------------------------------------*/
24497
d55e5bfc
RD
24498#ifdef __cplusplus
24499extern "C"
24500#endif
7449af73 24501SWIGEXPORT void SWIG_init(void) {
d55e5bfc 24502 static PyObject *SWIG_globals = 0;
d55e5bfc 24503 PyObject *m, *d;
d55e5bfc 24504 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
24505
24506 /* Fix SwigMethods to carry the callback ptrs when needed */
7449af73 24507 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
093d3ff1 24508
d55e5bfc
RD
24509 m = Py_InitModule((char *) SWIG_name, SwigMethods);
24510 d = PyModule_GetDict(m);
24511
7449af73 24512 SWIG_InitializeModule(0);
d55e5bfc
RD
24513 SWIG_InstallConstants(d,swig_const_table);
24514
093d3ff1 24515 {
7449af73 24516 PyDict_SetItemString(d,"OutRegion", SWIG_From_int(static_cast<int >(wxOutRegion)));
093d3ff1
RD
24517 }
24518 {
7449af73 24519 PyDict_SetItemString(d,"PartRegion", SWIG_From_int(static_cast<int >(wxPartRegion)));
093d3ff1
RD
24520 }
24521 {
7449af73 24522 PyDict_SetItemString(d,"InRegion", SWIG_From_int(static_cast<int >(wxInRegion)));
093d3ff1
RD
24523 }
24524 {
7449af73 24525 PyDict_SetItemString(d,"FONTFAMILY_DEFAULT", SWIG_From_int(static_cast<int >(wxFONTFAMILY_DEFAULT)));
093d3ff1
RD
24526 }
24527 {
7449af73 24528 PyDict_SetItemString(d,"FONTFAMILY_DECORATIVE", SWIG_From_int(static_cast<int >(wxFONTFAMILY_DECORATIVE)));
093d3ff1
RD
24529 }
24530 {
7449af73 24531 PyDict_SetItemString(d,"FONTFAMILY_ROMAN", SWIG_From_int(static_cast<int >(wxFONTFAMILY_ROMAN)));
093d3ff1
RD
24532 }
24533 {
7449af73 24534 PyDict_SetItemString(d,"FONTFAMILY_SCRIPT", SWIG_From_int(static_cast<int >(wxFONTFAMILY_SCRIPT)));
093d3ff1
RD
24535 }
24536 {
7449af73 24537 PyDict_SetItemString(d,"FONTFAMILY_SWISS", SWIG_From_int(static_cast<int >(wxFONTFAMILY_SWISS)));
093d3ff1
RD
24538 }
24539 {
7449af73 24540 PyDict_SetItemString(d,"FONTFAMILY_MODERN", SWIG_From_int(static_cast<int >(wxFONTFAMILY_MODERN)));
093d3ff1
RD
24541 }
24542 {
7449af73 24543 PyDict_SetItemString(d,"FONTFAMILY_TELETYPE", SWIG_From_int(static_cast<int >(wxFONTFAMILY_TELETYPE)));
093d3ff1
RD
24544 }
24545 {
7449af73 24546 PyDict_SetItemString(d,"FONTFAMILY_MAX", SWIG_From_int(static_cast<int >(wxFONTFAMILY_MAX)));
093d3ff1
RD
24547 }
24548 {
7449af73 24549 PyDict_SetItemString(d,"FONTFAMILY_UNKNOWN", SWIG_From_int(static_cast<int >(wxFONTFAMILY_UNKNOWN)));
093d3ff1
RD
24550 }
24551 {
7449af73 24552 PyDict_SetItemString(d,"FONTSTYLE_NORMAL", SWIG_From_int(static_cast<int >(wxFONTSTYLE_NORMAL)));
093d3ff1
RD
24553 }
24554 {
7449af73 24555 PyDict_SetItemString(d,"FONTSTYLE_ITALIC", SWIG_From_int(static_cast<int >(wxFONTSTYLE_ITALIC)));
093d3ff1
RD
24556 }
24557 {
7449af73 24558 PyDict_SetItemString(d,"FONTSTYLE_SLANT", SWIG_From_int(static_cast<int >(wxFONTSTYLE_SLANT)));
093d3ff1
RD
24559 }
24560 {
7449af73 24561 PyDict_SetItemString(d,"FONTSTYLE_MAX", SWIG_From_int(static_cast<int >(wxFONTSTYLE_MAX)));
093d3ff1
RD
24562 }
24563 {
7449af73 24564 PyDict_SetItemString(d,"FONTWEIGHT_NORMAL", SWIG_From_int(static_cast<int >(wxFONTWEIGHT_NORMAL)));
093d3ff1
RD
24565 }
24566 {
7449af73 24567 PyDict_SetItemString(d,"FONTWEIGHT_LIGHT", SWIG_From_int(static_cast<int >(wxFONTWEIGHT_LIGHT)));
093d3ff1
RD
24568 }
24569 {
7449af73 24570 PyDict_SetItemString(d,"FONTWEIGHT_BOLD", SWIG_From_int(static_cast<int >(wxFONTWEIGHT_BOLD)));
093d3ff1
RD
24571 }
24572 {
7449af73 24573 PyDict_SetItemString(d,"FONTWEIGHT_MAX", SWIG_From_int(static_cast<int >(wxFONTWEIGHT_MAX)));
093d3ff1
RD
24574 }
24575 {
7449af73 24576 PyDict_SetItemString(d,"FONTFLAG_DEFAULT", SWIG_From_int(static_cast<int >(wxFONTFLAG_DEFAULT)));
093d3ff1
RD
24577 }
24578 {
7449af73 24579 PyDict_SetItemString(d,"FONTFLAG_ITALIC", SWIG_From_int(static_cast<int >(wxFONTFLAG_ITALIC)));
093d3ff1
RD
24580 }
24581 {
7449af73 24582 PyDict_SetItemString(d,"FONTFLAG_SLANT", SWIG_From_int(static_cast<int >(wxFONTFLAG_SLANT)));
093d3ff1
RD
24583 }
24584 {
7449af73 24585 PyDict_SetItemString(d,"FONTFLAG_LIGHT", SWIG_From_int(static_cast<int >(wxFONTFLAG_LIGHT)));
093d3ff1
RD
24586 }
24587 {
7449af73 24588 PyDict_SetItemString(d,"FONTFLAG_BOLD", SWIG_From_int(static_cast<int >(wxFONTFLAG_BOLD)));
093d3ff1
RD
24589 }
24590 {
7449af73 24591 PyDict_SetItemString(d,"FONTFLAG_ANTIALIASED", SWIG_From_int(static_cast<int >(wxFONTFLAG_ANTIALIASED)));
093d3ff1
RD
24592 }
24593 {
7449af73 24594 PyDict_SetItemString(d,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int(static_cast<int >(wxFONTFLAG_NOT_ANTIALIASED)));
093d3ff1
RD
24595 }
24596 {
7449af73 24597 PyDict_SetItemString(d,"FONTFLAG_UNDERLINED", SWIG_From_int(static_cast<int >(wxFONTFLAG_UNDERLINED)));
093d3ff1
RD
24598 }
24599 {
7449af73 24600 PyDict_SetItemString(d,"FONTFLAG_STRIKETHROUGH", SWIG_From_int(static_cast<int >(wxFONTFLAG_STRIKETHROUGH)));
093d3ff1
RD
24601 }
24602 {
7449af73 24603 PyDict_SetItemString(d,"FONTFLAG_MASK", SWIG_From_int(static_cast<int >(wxFONTFLAG_MASK)));
093d3ff1
RD
24604 }
24605 {
7449af73 24606 PyDict_SetItemString(d,"FONTENCODING_SYSTEM", SWIG_From_int(static_cast<int >(wxFONTENCODING_SYSTEM)));
093d3ff1
RD
24607 }
24608 {
7449af73 24609 PyDict_SetItemString(d,"FONTENCODING_DEFAULT", SWIG_From_int(static_cast<int >(wxFONTENCODING_DEFAULT)));
093d3ff1
RD
24610 }
24611 {
7449af73 24612 PyDict_SetItemString(d,"FONTENCODING_ISO8859_1", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_1)));
093d3ff1
RD
24613 }
24614 {
7449af73 24615 PyDict_SetItemString(d,"FONTENCODING_ISO8859_2", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_2)));
093d3ff1
RD
24616 }
24617 {
7449af73 24618 PyDict_SetItemString(d,"FONTENCODING_ISO8859_3", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_3)));
093d3ff1
RD
24619 }
24620 {
7449af73 24621 PyDict_SetItemString(d,"FONTENCODING_ISO8859_4", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_4)));
093d3ff1
RD
24622 }
24623 {
7449af73 24624 PyDict_SetItemString(d,"FONTENCODING_ISO8859_5", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_5)));
093d3ff1
RD
24625 }
24626 {
7449af73 24627 PyDict_SetItemString(d,"FONTENCODING_ISO8859_6", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_6)));
093d3ff1
RD
24628 }
24629 {
7449af73 24630 PyDict_SetItemString(d,"FONTENCODING_ISO8859_7", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_7)));
093d3ff1
RD
24631 }
24632 {
7449af73 24633 PyDict_SetItemString(d,"FONTENCODING_ISO8859_8", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_8)));
093d3ff1
RD
24634 }
24635 {
7449af73 24636 PyDict_SetItemString(d,"FONTENCODING_ISO8859_9", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_9)));
093d3ff1
RD
24637 }
24638 {
7449af73 24639 PyDict_SetItemString(d,"FONTENCODING_ISO8859_10", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_10)));
093d3ff1
RD
24640 }
24641 {
7449af73 24642 PyDict_SetItemString(d,"FONTENCODING_ISO8859_11", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_11)));
093d3ff1
RD
24643 }
24644 {
7449af73 24645 PyDict_SetItemString(d,"FONTENCODING_ISO8859_12", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_12)));
093d3ff1
RD
24646 }
24647 {
7449af73 24648 PyDict_SetItemString(d,"FONTENCODING_ISO8859_13", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_13)));
093d3ff1
RD
24649 }
24650 {
7449af73 24651 PyDict_SetItemString(d,"FONTENCODING_ISO8859_14", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_14)));
093d3ff1
RD
24652 }
24653 {
7449af73 24654 PyDict_SetItemString(d,"FONTENCODING_ISO8859_15", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_15)));
093d3ff1
RD
24655 }
24656 {
7449af73 24657 PyDict_SetItemString(d,"FONTENCODING_ISO8859_MAX", SWIG_From_int(static_cast<int >(wxFONTENCODING_ISO8859_MAX)));
093d3ff1
RD
24658 }
24659 {
7449af73 24660 PyDict_SetItemString(d,"FONTENCODING_KOI8", SWIG_From_int(static_cast<int >(wxFONTENCODING_KOI8)));
093d3ff1
RD
24661 }
24662 {
7449af73 24663 PyDict_SetItemString(d,"FONTENCODING_KOI8_U", SWIG_From_int(static_cast<int >(wxFONTENCODING_KOI8_U)));
093d3ff1
RD
24664 }
24665 {
7449af73 24666 PyDict_SetItemString(d,"FONTENCODING_ALTERNATIVE", SWIG_From_int(static_cast<int >(wxFONTENCODING_ALTERNATIVE)));
093d3ff1
RD
24667 }
24668 {
7449af73 24669 PyDict_SetItemString(d,"FONTENCODING_BULGARIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_BULGARIAN)));
093d3ff1
RD
24670 }
24671 {
7449af73 24672 PyDict_SetItemString(d,"FONTENCODING_CP437", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP437)));
093d3ff1
RD
24673 }
24674 {
7449af73 24675 PyDict_SetItemString(d,"FONTENCODING_CP850", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP850)));
093d3ff1
RD
24676 }
24677 {
7449af73 24678 PyDict_SetItemString(d,"FONTENCODING_CP852", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP852)));
093d3ff1
RD
24679 }
24680 {
7449af73 24681 PyDict_SetItemString(d,"FONTENCODING_CP855", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP855)));
093d3ff1
RD
24682 }
24683 {
7449af73 24684 PyDict_SetItemString(d,"FONTENCODING_CP866", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP866)));
093d3ff1
RD
24685 }
24686 {
7449af73 24687 PyDict_SetItemString(d,"FONTENCODING_CP874", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP874)));
093d3ff1
RD
24688 }
24689 {
7449af73 24690 PyDict_SetItemString(d,"FONTENCODING_CP932", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP932)));
093d3ff1
RD
24691 }
24692 {
7449af73 24693 PyDict_SetItemString(d,"FONTENCODING_CP936", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP936)));
093d3ff1
RD
24694 }
24695 {
7449af73 24696 PyDict_SetItemString(d,"FONTENCODING_CP949", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP949)));
093d3ff1
RD
24697 }
24698 {
7449af73 24699 PyDict_SetItemString(d,"FONTENCODING_CP950", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP950)));
093d3ff1
RD
24700 }
24701 {
7449af73 24702 PyDict_SetItemString(d,"FONTENCODING_CP1250", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1250)));
093d3ff1
RD
24703 }
24704 {
7449af73 24705 PyDict_SetItemString(d,"FONTENCODING_CP1251", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1251)));
093d3ff1
RD
24706 }
24707 {
7449af73 24708 PyDict_SetItemString(d,"FONTENCODING_CP1252", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1252)));
093d3ff1
RD
24709 }
24710 {
7449af73 24711 PyDict_SetItemString(d,"FONTENCODING_CP1253", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1253)));
093d3ff1
RD
24712 }
24713 {
7449af73 24714 PyDict_SetItemString(d,"FONTENCODING_CP1254", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1254)));
093d3ff1
RD
24715 }
24716 {
7449af73 24717 PyDict_SetItemString(d,"FONTENCODING_CP1255", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1255)));
093d3ff1
RD
24718 }
24719 {
7449af73 24720 PyDict_SetItemString(d,"FONTENCODING_CP1256", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1256)));
093d3ff1
RD
24721 }
24722 {
7449af73 24723 PyDict_SetItemString(d,"FONTENCODING_CP1257", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP1257)));
093d3ff1
RD
24724 }
24725 {
7449af73 24726 PyDict_SetItemString(d,"FONTENCODING_CP12_MAX", SWIG_From_int(static_cast<int >(wxFONTENCODING_CP12_MAX)));
093d3ff1
RD
24727 }
24728 {
7449af73 24729 PyDict_SetItemString(d,"FONTENCODING_UTF7", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF7)));
093d3ff1
RD
24730 }
24731 {
7449af73 24732 PyDict_SetItemString(d,"FONTENCODING_UTF8", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF8)));
093d3ff1
RD
24733 }
24734 {
7449af73 24735 PyDict_SetItemString(d,"FONTENCODING_EUC_JP", SWIG_From_int(static_cast<int >(wxFONTENCODING_EUC_JP)));
093d3ff1
RD
24736 }
24737 {
7449af73 24738 PyDict_SetItemString(d,"FONTENCODING_UTF16BE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF16BE)));
093d3ff1
RD
24739 }
24740 {
7449af73 24741 PyDict_SetItemString(d,"FONTENCODING_UTF16LE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF16LE)));
093d3ff1
RD
24742 }
24743 {
7449af73 24744 PyDict_SetItemString(d,"FONTENCODING_UTF32BE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF32BE)));
093d3ff1
RD
24745 }
24746 {
7449af73 24747 PyDict_SetItemString(d,"FONTENCODING_UTF32LE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF32LE)));
093d3ff1
RD
24748 }
24749 {
7449af73 24750 PyDict_SetItemString(d,"FONTENCODING_MACROMAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACROMAN)));
093d3ff1
RD
24751 }
24752 {
7449af73 24753 PyDict_SetItemString(d,"FONTENCODING_MACJAPANESE", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACJAPANESE)));
093d3ff1
RD
24754 }
24755 {
7449af73 24756 PyDict_SetItemString(d,"FONTENCODING_MACCHINESETRAD", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCHINESETRAD)));
093d3ff1
RD
24757 }
24758 {
7449af73 24759 PyDict_SetItemString(d,"FONTENCODING_MACKOREAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACKOREAN)));
093d3ff1
RD
24760 }
24761 {
7449af73 24762 PyDict_SetItemString(d,"FONTENCODING_MACARABIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACARABIC)));
093d3ff1
RD
24763 }
24764 {
7449af73 24765 PyDict_SetItemString(d,"FONTENCODING_MACHEBREW", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACHEBREW)));
093d3ff1
RD
24766 }
24767 {
7449af73 24768 PyDict_SetItemString(d,"FONTENCODING_MACGREEK", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGREEK)));
093d3ff1
RD
24769 }
24770 {
7449af73 24771 PyDict_SetItemString(d,"FONTENCODING_MACCYRILLIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCYRILLIC)));
093d3ff1
RD
24772 }
24773 {
7449af73 24774 PyDict_SetItemString(d,"FONTENCODING_MACDEVANAGARI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACDEVANAGARI)));
093d3ff1
RD
24775 }
24776 {
7449af73 24777 PyDict_SetItemString(d,"FONTENCODING_MACGURMUKHI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGURMUKHI)));
093d3ff1
RD
24778 }
24779 {
7449af73 24780 PyDict_SetItemString(d,"FONTENCODING_MACGUJARATI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGUJARATI)));
093d3ff1
RD
24781 }
24782 {
7449af73 24783 PyDict_SetItemString(d,"FONTENCODING_MACORIYA", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACORIYA)));
093d3ff1
RD
24784 }
24785 {
7449af73 24786 PyDict_SetItemString(d,"FONTENCODING_MACBENGALI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACBENGALI)));
093d3ff1
RD
24787 }
24788 {
7449af73 24789 PyDict_SetItemString(d,"FONTENCODING_MACTAMIL", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTAMIL)));
093d3ff1
RD
24790 }
24791 {
7449af73 24792 PyDict_SetItemString(d,"FONTENCODING_MACTELUGU", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTELUGU)));
093d3ff1
RD
24793 }
24794 {
7449af73 24795 PyDict_SetItemString(d,"FONTENCODING_MACKANNADA", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACKANNADA)));
093d3ff1
RD
24796 }
24797 {
7449af73 24798 PyDict_SetItemString(d,"FONTENCODING_MACMALAJALAM", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACMALAJALAM)));
093d3ff1
RD
24799 }
24800 {
7449af73 24801 PyDict_SetItemString(d,"FONTENCODING_MACSINHALESE", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACSINHALESE)));
093d3ff1
RD
24802 }
24803 {
7449af73 24804 PyDict_SetItemString(d,"FONTENCODING_MACBURMESE", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACBURMESE)));
093d3ff1
RD
24805 }
24806 {
7449af73 24807 PyDict_SetItemString(d,"FONTENCODING_MACKHMER", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACKHMER)));
093d3ff1
RD
24808 }
24809 {
7449af73 24810 PyDict_SetItemString(d,"FONTENCODING_MACTHAI", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTHAI)));
093d3ff1
RD
24811 }
24812 {
7449af73 24813 PyDict_SetItemString(d,"FONTENCODING_MACLAOTIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACLAOTIAN)));
093d3ff1
RD
24814 }
24815 {
7449af73 24816 PyDict_SetItemString(d,"FONTENCODING_MACGEORGIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGEORGIAN)));
093d3ff1
RD
24817 }
24818 {
7449af73 24819 PyDict_SetItemString(d,"FONTENCODING_MACARMENIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACARMENIAN)));
093d3ff1
RD
24820 }
24821 {
7449af73 24822 PyDict_SetItemString(d,"FONTENCODING_MACCHINESESIMP", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCHINESESIMP)));
093d3ff1
RD
24823 }
24824 {
7449af73 24825 PyDict_SetItemString(d,"FONTENCODING_MACTIBETAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTIBETAN)));
093d3ff1
RD
24826 }
24827 {
7449af73 24828 PyDict_SetItemString(d,"FONTENCODING_MACMONGOLIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACMONGOLIAN)));
093d3ff1
RD
24829 }
24830 {
7449af73 24831 PyDict_SetItemString(d,"FONTENCODING_MACETHIOPIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACETHIOPIC)));
093d3ff1
RD
24832 }
24833 {
7449af73 24834 PyDict_SetItemString(d,"FONTENCODING_MACCENTRALEUR", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCENTRALEUR)));
093d3ff1
RD
24835 }
24836 {
7449af73 24837 PyDict_SetItemString(d,"FONTENCODING_MACVIATNAMESE", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACVIATNAMESE)));
093d3ff1
RD
24838 }
24839 {
7449af73 24840 PyDict_SetItemString(d,"FONTENCODING_MACARABICEXT", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACARABICEXT)));
093d3ff1
RD
24841 }
24842 {
7449af73 24843 PyDict_SetItemString(d,"FONTENCODING_MACSYMBOL", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACSYMBOL)));
093d3ff1
RD
24844 }
24845 {
7449af73 24846 PyDict_SetItemString(d,"FONTENCODING_MACDINGBATS", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACDINGBATS)));
093d3ff1
RD
24847 }
24848 {
7449af73 24849 PyDict_SetItemString(d,"FONTENCODING_MACTURKISH", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACTURKISH)));
093d3ff1
RD
24850 }
24851 {
7449af73 24852 PyDict_SetItemString(d,"FONTENCODING_MACCROATIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCROATIAN)));
093d3ff1
RD
24853 }
24854 {
7449af73 24855 PyDict_SetItemString(d,"FONTENCODING_MACICELANDIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACICELANDIC)));
093d3ff1
RD
24856 }
24857 {
7449af73 24858 PyDict_SetItemString(d,"FONTENCODING_MACROMANIAN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACROMANIAN)));
093d3ff1
RD
24859 }
24860 {
7449af73 24861 PyDict_SetItemString(d,"FONTENCODING_MACCELTIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACCELTIC)));
093d3ff1
RD
24862 }
24863 {
7449af73 24864 PyDict_SetItemString(d,"FONTENCODING_MACGAELIC", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACGAELIC)));
093d3ff1
RD
24865 }
24866 {
7449af73 24867 PyDict_SetItemString(d,"FONTENCODING_MACKEYBOARD", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACKEYBOARD)));
093d3ff1
RD
24868 }
24869 {
7449af73 24870 PyDict_SetItemString(d,"FONTENCODING_MACMIN", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACMIN)));
093d3ff1
RD
24871 }
24872 {
7449af73 24873 PyDict_SetItemString(d,"FONTENCODING_MACMAX", SWIG_From_int(static_cast<int >(wxFONTENCODING_MACMAX)));
093d3ff1
RD
24874 }
24875 {
7449af73 24876 PyDict_SetItemString(d,"FONTENCODING_MAX", SWIG_From_int(static_cast<int >(wxFONTENCODING_MAX)));
093d3ff1
RD
24877 }
24878 {
7449af73 24879 PyDict_SetItemString(d,"FONTENCODING_UTF16", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF16)));
093d3ff1
RD
24880 }
24881 {
7449af73 24882 PyDict_SetItemString(d,"FONTENCODING_UTF32", SWIG_From_int(static_cast<int >(wxFONTENCODING_UTF32)));
093d3ff1
RD
24883 }
24884 {
7449af73 24885 PyDict_SetItemString(d,"FONTENCODING_UNICODE", SWIG_From_int(static_cast<int >(wxFONTENCODING_UNICODE)));
093d3ff1
RD
24886 }
24887 {
7449af73 24888 PyDict_SetItemString(d,"FONTENCODING_GB2312", SWIG_From_int(static_cast<int >(wxFONTENCODING_GB2312)));
093d3ff1
RD
24889 }
24890 {
7449af73 24891 PyDict_SetItemString(d,"FONTENCODING_BIG5", SWIG_From_int(static_cast<int >(wxFONTENCODING_BIG5)));
093d3ff1
RD
24892 }
24893 {
7449af73 24894 PyDict_SetItemString(d,"FONTENCODING_SHIFT_JIS", SWIG_From_int(static_cast<int >(wxFONTENCODING_SHIFT_JIS)));
093d3ff1
RD
24895 }
24896
24897 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
24898
24899 {
7449af73 24900 PyDict_SetItemString(d,"LANGUAGE_DEFAULT", SWIG_From_int(static_cast<int >(wxLANGUAGE_DEFAULT)));
093d3ff1
RD
24901 }
24902 {
7449af73 24903 PyDict_SetItemString(d,"LANGUAGE_UNKNOWN", SWIG_From_int(static_cast<int >(wxLANGUAGE_UNKNOWN)));
093d3ff1
RD
24904 }
24905 {
7449af73 24906 PyDict_SetItemString(d,"LANGUAGE_ABKHAZIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ABKHAZIAN)));
093d3ff1
RD
24907 }
24908 {
7449af73 24909 PyDict_SetItemString(d,"LANGUAGE_AFAR", SWIG_From_int(static_cast<int >(wxLANGUAGE_AFAR)));
093d3ff1
RD
24910 }
24911 {
7449af73 24912 PyDict_SetItemString(d,"LANGUAGE_AFRIKAANS", SWIG_From_int(static_cast<int >(wxLANGUAGE_AFRIKAANS)));
093d3ff1
RD
24913 }
24914 {
7449af73 24915 PyDict_SetItemString(d,"LANGUAGE_ALBANIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ALBANIAN)));
093d3ff1
RD
24916 }
24917 {
7449af73 24918 PyDict_SetItemString(d,"LANGUAGE_AMHARIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_AMHARIC)));
093d3ff1
RD
24919 }
24920 {
7449af73 24921 PyDict_SetItemString(d,"LANGUAGE_ARABIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC)));
093d3ff1
RD
24922 }
24923 {
7449af73 24924 PyDict_SetItemString(d,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_ALGERIA)));
093d3ff1
RD
24925 }
24926 {
7449af73 24927 PyDict_SetItemString(d,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_BAHRAIN)));
093d3ff1
RD
24928 }
24929 {
7449af73 24930 PyDict_SetItemString(d,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_EGYPT)));
093d3ff1
RD
24931 }
24932 {
7449af73 24933 PyDict_SetItemString(d,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_IRAQ)));
093d3ff1
RD
24934 }
24935 {
7449af73 24936 PyDict_SetItemString(d,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_JORDAN)));
093d3ff1
RD
24937 }
24938 {
7449af73 24939 PyDict_SetItemString(d,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_KUWAIT)));
093d3ff1
RD
24940 }
24941 {
7449af73 24942 PyDict_SetItemString(d,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_LEBANON)));
093d3ff1
RD
24943 }
24944 {
7449af73 24945 PyDict_SetItemString(d,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_LIBYA)));
093d3ff1
RD
24946 }
24947 {
7449af73 24948 PyDict_SetItemString(d,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_MOROCCO)));
093d3ff1
RD
24949 }
24950 {
7449af73 24951 PyDict_SetItemString(d,"LANGUAGE_ARABIC_OMAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_OMAN)));
093d3ff1
RD
24952 }
24953 {
7449af73 24954 PyDict_SetItemString(d,"LANGUAGE_ARABIC_QATAR", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_QATAR)));
093d3ff1
RD
24955 }
24956 {
7449af73 24957 PyDict_SetItemString(d,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA)));
093d3ff1
RD
24958 }
24959 {
7449af73 24960 PyDict_SetItemString(d,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_SUDAN)));
093d3ff1
RD
24961 }
24962 {
7449af73 24963 PyDict_SetItemString(d,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_SYRIA)));
093d3ff1
RD
24964 }
24965 {
7449af73 24966 PyDict_SetItemString(d,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_TUNISIA)));
093d3ff1
RD
24967 }
24968 {
7449af73 24969 PyDict_SetItemString(d,"LANGUAGE_ARABIC_UAE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_UAE)));
093d3ff1
RD
24970 }
24971 {
7449af73 24972 PyDict_SetItemString(d,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARABIC_YEMEN)));
093d3ff1
RD
24973 }
24974 {
7449af73 24975 PyDict_SetItemString(d,"LANGUAGE_ARMENIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ARMENIAN)));
093d3ff1
RD
24976 }
24977 {
7449af73 24978 PyDict_SetItemString(d,"LANGUAGE_ASSAMESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ASSAMESE)));
093d3ff1
RD
24979 }
24980 {
7449af73 24981 PyDict_SetItemString(d,"LANGUAGE_AYMARA", SWIG_From_int(static_cast<int >(wxLANGUAGE_AYMARA)));
093d3ff1
RD
24982 }
24983 {
7449af73 24984 PyDict_SetItemString(d,"LANGUAGE_AZERI", SWIG_From_int(static_cast<int >(wxLANGUAGE_AZERI)));
093d3ff1
RD
24985 }
24986 {
7449af73 24987 PyDict_SetItemString(d,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_AZERI_CYRILLIC)));
093d3ff1
RD
24988 }
24989 {
7449af73 24990 PyDict_SetItemString(d,"LANGUAGE_AZERI_LATIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_AZERI_LATIN)));
093d3ff1
RD
24991 }
24992 {
7449af73 24993 PyDict_SetItemString(d,"LANGUAGE_BASHKIR", SWIG_From_int(static_cast<int >(wxLANGUAGE_BASHKIR)));
093d3ff1
RD
24994 }
24995 {
7449af73 24996 PyDict_SetItemString(d,"LANGUAGE_BASQUE", SWIG_From_int(static_cast<int >(wxLANGUAGE_BASQUE)));
093d3ff1
RD
24997 }
24998 {
7449af73 24999 PyDict_SetItemString(d,"LANGUAGE_BELARUSIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_BELARUSIAN)));
093d3ff1
RD
25000 }
25001 {
7449af73 25002 PyDict_SetItemString(d,"LANGUAGE_BENGALI", SWIG_From_int(static_cast<int >(wxLANGUAGE_BENGALI)));
093d3ff1
RD
25003 }
25004 {
7449af73 25005 PyDict_SetItemString(d,"LANGUAGE_BHUTANI", SWIG_From_int(static_cast<int >(wxLANGUAGE_BHUTANI)));
093d3ff1
RD
25006 }
25007 {
7449af73 25008 PyDict_SetItemString(d,"LANGUAGE_BIHARI", SWIG_From_int(static_cast<int >(wxLANGUAGE_BIHARI)));
093d3ff1
RD
25009 }
25010 {
7449af73 25011 PyDict_SetItemString(d,"LANGUAGE_BISLAMA", SWIG_From_int(static_cast<int >(wxLANGUAGE_BISLAMA)));
093d3ff1
RD
25012 }
25013 {
7449af73 25014 PyDict_SetItemString(d,"LANGUAGE_BRETON", SWIG_From_int(static_cast<int >(wxLANGUAGE_BRETON)));
093d3ff1
RD
25015 }
25016 {
7449af73 25017 PyDict_SetItemString(d,"LANGUAGE_BULGARIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_BULGARIAN)));
093d3ff1
RD
25018 }
25019 {
7449af73 25020 PyDict_SetItemString(d,"LANGUAGE_BURMESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_BURMESE)));
093d3ff1
RD
25021 }
25022 {
7449af73 25023 PyDict_SetItemString(d,"LANGUAGE_CAMBODIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CAMBODIAN)));
093d3ff1
RD
25024 }
25025 {
7449af73 25026 PyDict_SetItemString(d,"LANGUAGE_CATALAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CATALAN)));
093d3ff1
RD
25027 }
25028 {
7449af73 25029 PyDict_SetItemString(d,"LANGUAGE_CHINESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE)));
093d3ff1
RD
25030 }
25031 {
7449af73 25032 PyDict_SetItemString(d,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_SIMPLIFIED)));
093d3ff1
RD
25033 }
25034 {
7449af73 25035 PyDict_SetItemString(d,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_TRADITIONAL)));
093d3ff1
RD
25036 }
25037 {
7449af73 25038 PyDict_SetItemString(d,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_HONGKONG)));
093d3ff1
RD
25039 }
25040 {
7449af73 25041 PyDict_SetItemString(d,"LANGUAGE_CHINESE_MACAU", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_MACAU)));
093d3ff1
RD
25042 }
25043 {
7449af73 25044 PyDict_SetItemString(d,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_SINGAPORE)));
093d3ff1
RD
25045 }
25046 {
7449af73 25047 PyDict_SetItemString(d,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CHINESE_TAIWAN)));
093d3ff1
RD
25048 }
25049 {
7449af73 25050 PyDict_SetItemString(d,"LANGUAGE_CORSICAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CORSICAN)));
093d3ff1
RD
25051 }
25052 {
7449af73 25053 PyDict_SetItemString(d,"LANGUAGE_CROATIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_CROATIAN)));
093d3ff1
RD
25054 }
25055 {
7449af73 25056 PyDict_SetItemString(d,"LANGUAGE_CZECH", SWIG_From_int(static_cast<int >(wxLANGUAGE_CZECH)));
093d3ff1
RD
25057 }
25058 {
7449af73 25059 PyDict_SetItemString(d,"LANGUAGE_DANISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_DANISH)));
093d3ff1
RD
25060 }
25061 {
7449af73 25062 PyDict_SetItemString(d,"LANGUAGE_DUTCH", SWIG_From_int(static_cast<int >(wxLANGUAGE_DUTCH)));
093d3ff1
RD
25063 }
25064 {
7449af73 25065 PyDict_SetItemString(d,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_DUTCH_BELGIAN)));
093d3ff1
RD
25066 }
25067 {
7449af73 25068 PyDict_SetItemString(d,"LANGUAGE_ENGLISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH)));
093d3ff1
RD
25069 }
25070 {
7449af73 25071 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_UK", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_UK)));
093d3ff1
RD
25072 }
25073 {
7449af73 25074 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_US", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_US)));
093d3ff1
RD
25075 }
25076 {
7449af73 25077 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_AUSTRALIA)));
093d3ff1
RD
25078 }
25079 {
7449af73 25080 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_BELIZE)));
093d3ff1
RD
25081 }
25082 {
7449af73 25083 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_BOTSWANA)));
093d3ff1
RD
25084 }
25085 {
7449af73 25086 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_CANADA)));
093d3ff1
RD
25087 }
25088 {
7449af73 25089 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_CARIBBEAN)));
093d3ff1
RD
25090 }
25091 {
7449af73 25092 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_DENMARK)));
093d3ff1
RD
25093 }
25094 {
7449af73 25095 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_EIRE)));
093d3ff1
RD
25096 }
25097 {
7449af73 25098 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_JAMAICA)));
093d3ff1
RD
25099 }
25100 {
7449af73 25101 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND)));
093d3ff1
RD
25102 }
25103 {
7449af73 25104 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_PHILIPPINES)));
093d3ff1
RD
25105 }
25106 {
7449af73 25107 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA)));
093d3ff1
RD
25108 }
25109 {
7449af73 25110 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_TRINIDAD)));
093d3ff1
RD
25111 }
25112 {
7449af73 25113 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int(static_cast<int >(wxLANGUAGE_ENGLISH_ZIMBABWE)));
093d3ff1
RD
25114 }
25115 {
7449af73 25116 PyDict_SetItemString(d,"LANGUAGE_ESPERANTO", SWIG_From_int(static_cast<int >(wxLANGUAGE_ESPERANTO)));
093d3ff1
RD
25117 }
25118 {
7449af73 25119 PyDict_SetItemString(d,"LANGUAGE_ESTONIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ESTONIAN)));
093d3ff1
RD
25120 }
25121 {
7449af73 25122 PyDict_SetItemString(d,"LANGUAGE_FAEROESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_FAEROESE)));
093d3ff1
RD
25123 }
25124 {
7449af73 25125 PyDict_SetItemString(d,"LANGUAGE_FARSI", SWIG_From_int(static_cast<int >(wxLANGUAGE_FARSI)));
093d3ff1
RD
25126 }
25127 {
7449af73 25128 PyDict_SetItemString(d,"LANGUAGE_FIJI", SWIG_From_int(static_cast<int >(wxLANGUAGE_FIJI)));
093d3ff1
RD
25129 }
25130 {
7449af73 25131 PyDict_SetItemString(d,"LANGUAGE_FINNISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_FINNISH)));
093d3ff1
RD
25132 }
25133 {
7449af73 25134 PyDict_SetItemString(d,"LANGUAGE_FRENCH", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH)));
093d3ff1
RD
25135 }
25136 {
7449af73 25137 PyDict_SetItemString(d,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_BELGIAN)));
093d3ff1
RD
25138 }
25139 {
7449af73 25140 PyDict_SetItemString(d,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_CANADIAN)));
093d3ff1
RD
25141 }
25142 {
7449af73 25143 PyDict_SetItemString(d,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_LUXEMBOURG)));
093d3ff1
RD
25144 }
25145 {
7449af73 25146 PyDict_SetItemString(d,"LANGUAGE_FRENCH_MONACO", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_MONACO)));
093d3ff1
RD
25147 }
25148 {
7449af73 25149 PyDict_SetItemString(d,"LANGUAGE_FRENCH_SWISS", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRENCH_SWISS)));
093d3ff1
RD
25150 }
25151 {
7449af73 25152 PyDict_SetItemString(d,"LANGUAGE_FRISIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_FRISIAN)));
093d3ff1
RD
25153 }
25154 {
7449af73 25155 PyDict_SetItemString(d,"LANGUAGE_GALICIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GALICIAN)));
093d3ff1
RD
25156 }
25157 {
7449af73 25158 PyDict_SetItemString(d,"LANGUAGE_GEORGIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GEORGIAN)));
093d3ff1
RD
25159 }
25160 {
7449af73 25161 PyDict_SetItemString(d,"LANGUAGE_GERMAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN)));
093d3ff1
RD
25162 }
25163 {
7449af73 25164 PyDict_SetItemString(d,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_AUSTRIAN)));
093d3ff1
RD
25165 }
25166 {
7449af73 25167 PyDict_SetItemString(d,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_BELGIUM)));
093d3ff1
RD
25168 }
25169 {
7449af73 25170 PyDict_SetItemString(d,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN)));
093d3ff1
RD
25171 }
25172 {
7449af73 25173 PyDict_SetItemString(d,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_LUXEMBOURG)));
093d3ff1
RD
25174 }
25175 {
7449af73 25176 PyDict_SetItemString(d,"LANGUAGE_GERMAN_SWISS", SWIG_From_int(static_cast<int >(wxLANGUAGE_GERMAN_SWISS)));
093d3ff1
RD
25177 }
25178 {
7449af73 25179 PyDict_SetItemString(d,"LANGUAGE_GREEK", SWIG_From_int(static_cast<int >(wxLANGUAGE_GREEK)));
093d3ff1
RD
25180 }
25181 {
7449af73 25182 PyDict_SetItemString(d,"LANGUAGE_GREENLANDIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_GREENLANDIC)));
093d3ff1
RD
25183 }
25184 {
7449af73 25185 PyDict_SetItemString(d,"LANGUAGE_GUARANI", SWIG_From_int(static_cast<int >(wxLANGUAGE_GUARANI)));
093d3ff1
RD
25186 }
25187 {
7449af73 25188 PyDict_SetItemString(d,"LANGUAGE_GUJARATI", SWIG_From_int(static_cast<int >(wxLANGUAGE_GUJARATI)));
093d3ff1
RD
25189 }
25190 {
7449af73 25191 PyDict_SetItemString(d,"LANGUAGE_HAUSA", SWIG_From_int(static_cast<int >(wxLANGUAGE_HAUSA)));
093d3ff1
RD
25192 }
25193 {
7449af73 25194 PyDict_SetItemString(d,"LANGUAGE_HEBREW", SWIG_From_int(static_cast<int >(wxLANGUAGE_HEBREW)));
093d3ff1
RD
25195 }
25196 {
7449af73 25197 PyDict_SetItemString(d,"LANGUAGE_HINDI", SWIG_From_int(static_cast<int >(wxLANGUAGE_HINDI)));
093d3ff1
RD
25198 }
25199 {
7449af73 25200 PyDict_SetItemString(d,"LANGUAGE_HUNGARIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_HUNGARIAN)));
093d3ff1
RD
25201 }
25202 {
7449af73 25203 PyDict_SetItemString(d,"LANGUAGE_ICELANDIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_ICELANDIC)));
093d3ff1
RD
25204 }
25205 {
7449af73 25206 PyDict_SetItemString(d,"LANGUAGE_INDONESIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_INDONESIAN)));
093d3ff1
RD
25207 }
25208 {
7449af73 25209 PyDict_SetItemString(d,"LANGUAGE_INTERLINGUA", SWIG_From_int(static_cast<int >(wxLANGUAGE_INTERLINGUA)));
093d3ff1
RD
25210 }
25211 {
7449af73 25212 PyDict_SetItemString(d,"LANGUAGE_INTERLINGUE", SWIG_From_int(static_cast<int >(wxLANGUAGE_INTERLINGUE)));
093d3ff1
RD
25213 }
25214 {
7449af73 25215 PyDict_SetItemString(d,"LANGUAGE_INUKTITUT", SWIG_From_int(static_cast<int >(wxLANGUAGE_INUKTITUT)));
093d3ff1
RD
25216 }
25217 {
7449af73 25218 PyDict_SetItemString(d,"LANGUAGE_INUPIAK", SWIG_From_int(static_cast<int >(wxLANGUAGE_INUPIAK)));
093d3ff1
RD
25219 }
25220 {
7449af73 25221 PyDict_SetItemString(d,"LANGUAGE_IRISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_IRISH)));
093d3ff1
RD
25222 }
25223 {
7449af73 25224 PyDict_SetItemString(d,"LANGUAGE_ITALIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ITALIAN)));
093d3ff1
RD
25225 }
25226 {
7449af73 25227 PyDict_SetItemString(d,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int(static_cast<int >(wxLANGUAGE_ITALIAN_SWISS)));
093d3ff1
RD
25228 }
25229 {
7449af73 25230 PyDict_SetItemString(d,"LANGUAGE_JAPANESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_JAPANESE)));
093d3ff1
RD
25231 }
25232 {
7449af73 25233 PyDict_SetItemString(d,"LANGUAGE_JAVANESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_JAVANESE)));
093d3ff1
RD
25234 }
25235 {
7449af73 25236 PyDict_SetItemString(d,"LANGUAGE_KANNADA", SWIG_From_int(static_cast<int >(wxLANGUAGE_KANNADA)));
093d3ff1
RD
25237 }
25238 {
7449af73 25239 PyDict_SetItemString(d,"LANGUAGE_KASHMIRI", SWIG_From_int(static_cast<int >(wxLANGUAGE_KASHMIRI)));
093d3ff1
RD
25240 }
25241 {
7449af73 25242 PyDict_SetItemString(d,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_KASHMIRI_INDIA)));
093d3ff1
RD
25243 }
25244 {
7449af73 25245 PyDict_SetItemString(d,"LANGUAGE_KAZAKH", SWIG_From_int(static_cast<int >(wxLANGUAGE_KAZAKH)));
093d3ff1
RD
25246 }
25247 {
7449af73 25248 PyDict_SetItemString(d,"LANGUAGE_KERNEWEK", SWIG_From_int(static_cast<int >(wxLANGUAGE_KERNEWEK)));
093d3ff1
RD
25249 }
25250 {
7449af73 25251 PyDict_SetItemString(d,"LANGUAGE_KINYARWANDA", SWIG_From_int(static_cast<int >(wxLANGUAGE_KINYARWANDA)));
093d3ff1
RD
25252 }
25253 {
7449af73 25254 PyDict_SetItemString(d,"LANGUAGE_KIRGHIZ", SWIG_From_int(static_cast<int >(wxLANGUAGE_KIRGHIZ)));
093d3ff1
RD
25255 }
25256 {
7449af73 25257 PyDict_SetItemString(d,"LANGUAGE_KIRUNDI", SWIG_From_int(static_cast<int >(wxLANGUAGE_KIRUNDI)));
093d3ff1
RD
25258 }
25259 {
7449af73 25260 PyDict_SetItemString(d,"LANGUAGE_KONKANI", SWIG_From_int(static_cast<int >(wxLANGUAGE_KONKANI)));
093d3ff1
RD
25261 }
25262 {
7449af73 25263 PyDict_SetItemString(d,"LANGUAGE_KOREAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_KOREAN)));
093d3ff1
RD
25264 }
25265 {
7449af73 25266 PyDict_SetItemString(d,"LANGUAGE_KURDISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_KURDISH)));
093d3ff1
RD
25267 }
25268 {
7449af73 25269 PyDict_SetItemString(d,"LANGUAGE_LAOTHIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_LAOTHIAN)));
093d3ff1
RD
25270 }
25271 {
7449af73 25272 PyDict_SetItemString(d,"LANGUAGE_LATIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_LATIN)));
093d3ff1
RD
25273 }
25274 {
7449af73 25275 PyDict_SetItemString(d,"LANGUAGE_LATVIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_LATVIAN)));
093d3ff1
RD
25276 }
25277 {
7449af73 25278 PyDict_SetItemString(d,"LANGUAGE_LINGALA", SWIG_From_int(static_cast<int >(wxLANGUAGE_LINGALA)));
093d3ff1
RD
25279 }
25280 {
7449af73 25281 PyDict_SetItemString(d,"LANGUAGE_LITHUANIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_LITHUANIAN)));
093d3ff1
RD
25282 }
25283 {
7449af73 25284 PyDict_SetItemString(d,"LANGUAGE_MACEDONIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_MACEDONIAN)));
093d3ff1
RD
25285 }
25286 {
7449af73 25287 PyDict_SetItemString(d,"LANGUAGE_MALAGASY", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAGASY)));
093d3ff1
RD
25288 }
25289 {
7449af73 25290 PyDict_SetItemString(d,"LANGUAGE_MALAY", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAY)));
093d3ff1
RD
25291 }
25292 {
7449af73 25293 PyDict_SetItemString(d,"LANGUAGE_MALAYALAM", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAYALAM)));
093d3ff1
RD
25294 }
25295 {
7449af73 25296 PyDict_SetItemString(d,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM)));
093d3ff1
RD
25297 }
25298 {
7449af73 25299 PyDict_SetItemString(d,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALAY_MALAYSIA)));
093d3ff1
RD
25300 }
25301 {
7449af73 25302 PyDict_SetItemString(d,"LANGUAGE_MALTESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_MALTESE)));
093d3ff1
RD
25303 }
25304 {
7449af73 25305 PyDict_SetItemString(d,"LANGUAGE_MANIPURI", SWIG_From_int(static_cast<int >(wxLANGUAGE_MANIPURI)));
093d3ff1
RD
25306 }
25307 {
7449af73 25308 PyDict_SetItemString(d,"LANGUAGE_MAORI", SWIG_From_int(static_cast<int >(wxLANGUAGE_MAORI)));
093d3ff1
RD
25309 }
25310 {
7449af73 25311 PyDict_SetItemString(d,"LANGUAGE_MARATHI", SWIG_From_int(static_cast<int >(wxLANGUAGE_MARATHI)));
093d3ff1
RD
25312 }
25313 {
7449af73 25314 PyDict_SetItemString(d,"LANGUAGE_MOLDAVIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_MOLDAVIAN)));
093d3ff1
RD
25315 }
25316 {
7449af73 25317 PyDict_SetItemString(d,"LANGUAGE_MONGOLIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_MONGOLIAN)));
093d3ff1
RD
25318 }
25319 {
7449af73 25320 PyDict_SetItemString(d,"LANGUAGE_NAURU", SWIG_From_int(static_cast<int >(wxLANGUAGE_NAURU)));
093d3ff1
RD
25321 }
25322 {
7449af73 25323 PyDict_SetItemString(d,"LANGUAGE_NEPALI", SWIG_From_int(static_cast<int >(wxLANGUAGE_NEPALI)));
093d3ff1
RD
25324 }
25325 {
7449af73 25326 PyDict_SetItemString(d,"LANGUAGE_NEPALI_INDIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_NEPALI_INDIA)));
093d3ff1
RD
25327 }
25328 {
7449af73 25329 PyDict_SetItemString(d,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int(static_cast<int >(wxLANGUAGE_NORWEGIAN_BOKMAL)));
093d3ff1
RD
25330 }
25331 {
7449af73 25332 PyDict_SetItemString(d,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int(static_cast<int >(wxLANGUAGE_NORWEGIAN_NYNORSK)));
093d3ff1
RD
25333 }
25334 {
7449af73 25335 PyDict_SetItemString(d,"LANGUAGE_OCCITAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_OCCITAN)));
093d3ff1
RD
25336 }
25337 {
7449af73 25338 PyDict_SetItemString(d,"LANGUAGE_ORIYA", SWIG_From_int(static_cast<int >(wxLANGUAGE_ORIYA)));
093d3ff1
RD
25339 }
25340 {
7449af73 25341 PyDict_SetItemString(d,"LANGUAGE_OROMO", SWIG_From_int(static_cast<int >(wxLANGUAGE_OROMO)));
093d3ff1
RD
25342 }
25343 {
7449af73 25344 PyDict_SetItemString(d,"LANGUAGE_PASHTO", SWIG_From_int(static_cast<int >(wxLANGUAGE_PASHTO)));
093d3ff1
RD
25345 }
25346 {
7449af73 25347 PyDict_SetItemString(d,"LANGUAGE_POLISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_POLISH)));
093d3ff1
RD
25348 }
25349 {
7449af73 25350 PyDict_SetItemString(d,"LANGUAGE_PORTUGUESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_PORTUGUESE)));
093d3ff1
RD
25351 }
25352 {
7449af73 25353 PyDict_SetItemString(d,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN)));
093d3ff1
RD
25354 }
25355 {
7449af73 25356 PyDict_SetItemString(d,"LANGUAGE_PUNJABI", SWIG_From_int(static_cast<int >(wxLANGUAGE_PUNJABI)));
093d3ff1
RD
25357 }
25358 {
7449af73 25359 PyDict_SetItemString(d,"LANGUAGE_QUECHUA", SWIG_From_int(static_cast<int >(wxLANGUAGE_QUECHUA)));
093d3ff1
RD
25360 }
25361 {
7449af73 25362 PyDict_SetItemString(d,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int(static_cast<int >(wxLANGUAGE_RHAETO_ROMANCE)));
093d3ff1
RD
25363 }
25364 {
7449af73 25365 PyDict_SetItemString(d,"LANGUAGE_ROMANIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_ROMANIAN)));
093d3ff1
RD
25366 }
25367 {
7449af73 25368 PyDict_SetItemString(d,"LANGUAGE_RUSSIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_RUSSIAN)));
093d3ff1
RD
25369 }
25370 {
7449af73 25371 PyDict_SetItemString(d,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int(static_cast<int >(wxLANGUAGE_RUSSIAN_UKRAINE)));
093d3ff1
RD
25372 }
25373 {
7449af73 25374 PyDict_SetItemString(d,"LANGUAGE_SAMOAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SAMOAN)));
093d3ff1
RD
25375 }
25376 {
7449af73 25377 PyDict_SetItemString(d,"LANGUAGE_SANGHO", SWIG_From_int(static_cast<int >(wxLANGUAGE_SANGHO)));
093d3ff1
RD
25378 }
25379 {
7449af73 25380 PyDict_SetItemString(d,"LANGUAGE_SANSKRIT", SWIG_From_int(static_cast<int >(wxLANGUAGE_SANSKRIT)));
093d3ff1
RD
25381 }
25382 {
7449af73 25383 PyDict_SetItemString(d,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_SCOTS_GAELIC)));
093d3ff1
RD
25384 }
25385 {
7449af73 25386 PyDict_SetItemString(d,"LANGUAGE_SERBIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SERBIAN)));
093d3ff1
RD
25387 }
25388 {
7449af73 25389 PyDict_SetItemString(d,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_SERBIAN_CYRILLIC)));
093d3ff1
RD
25390 }
25391 {
7449af73 25392 PyDict_SetItemString(d,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SERBIAN_LATIN)));
093d3ff1
RD
25393 }
25394 {
7449af73 25395 PyDict_SetItemString(d,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SERBO_CROATIAN)));
093d3ff1
RD
25396 }
25397 {
7449af73 25398 PyDict_SetItemString(d,"LANGUAGE_SESOTHO", SWIG_From_int(static_cast<int >(wxLANGUAGE_SESOTHO)));
093d3ff1
RD
25399 }
25400 {
7449af73 25401 PyDict_SetItemString(d,"LANGUAGE_SETSWANA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SETSWANA)));
093d3ff1
RD
25402 }
25403 {
7449af73 25404 PyDict_SetItemString(d,"LANGUAGE_SHONA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SHONA)));
093d3ff1
RD
25405 }
25406 {
7449af73 25407 PyDict_SetItemString(d,"LANGUAGE_SINDHI", SWIG_From_int(static_cast<int >(wxLANGUAGE_SINDHI)));
093d3ff1
RD
25408 }
25409 {
7449af73 25410 PyDict_SetItemString(d,"LANGUAGE_SINHALESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_SINHALESE)));
093d3ff1
RD
25411 }
25412 {
7449af73 25413 PyDict_SetItemString(d,"LANGUAGE_SISWATI", SWIG_From_int(static_cast<int >(wxLANGUAGE_SISWATI)));
093d3ff1
RD
25414 }
25415 {
7449af73 25416 PyDict_SetItemString(d,"LANGUAGE_SLOVAK", SWIG_From_int(static_cast<int >(wxLANGUAGE_SLOVAK)));
093d3ff1
RD
25417 }
25418 {
7449af73 25419 PyDict_SetItemString(d,"LANGUAGE_SLOVENIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SLOVENIAN)));
093d3ff1
RD
25420 }
25421 {
7449af73 25422 PyDict_SetItemString(d,"LANGUAGE_SOMALI", SWIG_From_int(static_cast<int >(wxLANGUAGE_SOMALI)));
093d3ff1
RD
25423 }
25424 {
7449af73 25425 PyDict_SetItemString(d,"LANGUAGE_SPANISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH)));
093d3ff1
RD
25426 }
25427 {
7449af73 25428 PyDict_SetItemString(d,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_ARGENTINA)));
093d3ff1
RD
25429 }
25430 {
7449af73 25431 PyDict_SetItemString(d,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_BOLIVIA)));
093d3ff1
RD
25432 }
25433 {
7449af73 25434 PyDict_SetItemString(d,"LANGUAGE_SPANISH_CHILE", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_CHILE)));
093d3ff1
RD
25435 }
25436 {
7449af73 25437 PyDict_SetItemString(d,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_COLOMBIA)));
093d3ff1
RD
25438 }
25439 {
7449af73 25440 PyDict_SetItemString(d,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_COSTA_RICA)));
093d3ff1
RD
25441 }
25442 {
7449af73 25443 PyDict_SetItemString(d,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC)));
093d3ff1
RD
25444 }
25445 {
7449af73 25446 PyDict_SetItemString(d,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_ECUADOR)));
093d3ff1
RD
25447 }
25448 {
7449af73 25449 PyDict_SetItemString(d,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_EL_SALVADOR)));
093d3ff1
RD
25450 }
25451 {
7449af73 25452 PyDict_SetItemString(d,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_GUATEMALA)));
093d3ff1
RD
25453 }
25454 {
7449af73 25455 PyDict_SetItemString(d,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_HONDURAS)));
093d3ff1
RD
25456 }
25457 {
7449af73 25458 PyDict_SetItemString(d,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_MEXICAN)));
093d3ff1
RD
25459 }
25460 {
7449af73 25461 PyDict_SetItemString(d,"LANGUAGE_SPANISH_MODERN", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_MODERN)));
093d3ff1
RD
25462 }
25463 {
7449af73 25464 PyDict_SetItemString(d,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_NICARAGUA)));
093d3ff1
RD
25465 }
25466 {
7449af73 25467 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_PANAMA)));
093d3ff1
RD
25468 }
25469 {
7449af73 25470 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_PARAGUAY)));
093d3ff1
RD
25471 }
25472 {
7449af73 25473 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PERU", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_PERU)));
093d3ff1
RD
25474 }
25475 {
7449af73 25476 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_PUERTO_RICO)));
093d3ff1
RD
25477 }
25478 {
7449af73 25479 PyDict_SetItemString(d,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_URUGUAY)));
093d3ff1
RD
25480 }
25481 {
7449af73 25482 PyDict_SetItemString(d,"LANGUAGE_SPANISH_US", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_US)));
093d3ff1
RD
25483 }
25484 {
7449af73 25485 PyDict_SetItemString(d,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int(static_cast<int >(wxLANGUAGE_SPANISH_VENEZUELA)));
093d3ff1
RD
25486 }
25487 {
7449af73 25488 PyDict_SetItemString(d,"LANGUAGE_SUNDANESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_SUNDANESE)));
093d3ff1
RD
25489 }
25490 {
7449af73 25491 PyDict_SetItemString(d,"LANGUAGE_SWAHILI", SWIG_From_int(static_cast<int >(wxLANGUAGE_SWAHILI)));
093d3ff1
RD
25492 }
25493 {
7449af73 25494 PyDict_SetItemString(d,"LANGUAGE_SWEDISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_SWEDISH)));
093d3ff1
RD
25495 }
25496 {
7449af73 25497 PyDict_SetItemString(d,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int(static_cast<int >(wxLANGUAGE_SWEDISH_FINLAND)));
093d3ff1
RD
25498 }
25499 {
7449af73 25500 PyDict_SetItemString(d,"LANGUAGE_TAGALOG", SWIG_From_int(static_cast<int >(wxLANGUAGE_TAGALOG)));
093d3ff1
RD
25501 }
25502 {
7449af73 25503 PyDict_SetItemString(d,"LANGUAGE_TAJIK", SWIG_From_int(static_cast<int >(wxLANGUAGE_TAJIK)));
093d3ff1
RD
25504 }
25505 {
7449af73 25506 PyDict_SetItemString(d,"LANGUAGE_TAMIL", SWIG_From_int(static_cast<int >(wxLANGUAGE_TAMIL)));
093d3ff1
RD
25507 }
25508 {
7449af73 25509 PyDict_SetItemString(d,"LANGUAGE_TATAR", SWIG_From_int(static_cast<int >(wxLANGUAGE_TATAR)));
093d3ff1
RD
25510 }
25511 {
7449af73 25512 PyDict_SetItemString(d,"LANGUAGE_TELUGU", SWIG_From_int(static_cast<int >(wxLANGUAGE_TELUGU)));
093d3ff1
RD
25513 }
25514 {
7449af73 25515 PyDict_SetItemString(d,"LANGUAGE_THAI", SWIG_From_int(static_cast<int >(wxLANGUAGE_THAI)));
093d3ff1
RD
25516 }
25517 {
7449af73 25518 PyDict_SetItemString(d,"LANGUAGE_TIBETAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_TIBETAN)));
093d3ff1
RD
25519 }
25520 {
7449af73 25521 PyDict_SetItemString(d,"LANGUAGE_TIGRINYA", SWIG_From_int(static_cast<int >(wxLANGUAGE_TIGRINYA)));
093d3ff1
RD
25522 }
25523 {
7449af73 25524 PyDict_SetItemString(d,"LANGUAGE_TONGA", SWIG_From_int(static_cast<int >(wxLANGUAGE_TONGA)));
093d3ff1
RD
25525 }
25526 {
7449af73 25527 PyDict_SetItemString(d,"LANGUAGE_TSONGA", SWIG_From_int(static_cast<int >(wxLANGUAGE_TSONGA)));
093d3ff1
RD
25528 }
25529 {
7449af73 25530 PyDict_SetItemString(d,"LANGUAGE_TURKISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_TURKISH)));
093d3ff1
RD
25531 }
25532 {
7449af73 25533 PyDict_SetItemString(d,"LANGUAGE_TURKMEN", SWIG_From_int(static_cast<int >(wxLANGUAGE_TURKMEN)));
093d3ff1
RD
25534 }
25535 {
7449af73 25536 PyDict_SetItemString(d,"LANGUAGE_TWI", SWIG_From_int(static_cast<int >(wxLANGUAGE_TWI)));
093d3ff1
RD
25537 }
25538 {
7449af73 25539 PyDict_SetItemString(d,"LANGUAGE_UIGHUR", SWIG_From_int(static_cast<int >(wxLANGUAGE_UIGHUR)));
093d3ff1
RD
25540 }
25541 {
7449af73 25542 PyDict_SetItemString(d,"LANGUAGE_UKRAINIAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_UKRAINIAN)));
093d3ff1
RD
25543 }
25544 {
7449af73 25545 PyDict_SetItemString(d,"LANGUAGE_URDU", SWIG_From_int(static_cast<int >(wxLANGUAGE_URDU)));
093d3ff1
RD
25546 }
25547 {
7449af73 25548 PyDict_SetItemString(d,"LANGUAGE_URDU_INDIA", SWIG_From_int(static_cast<int >(wxLANGUAGE_URDU_INDIA)));
093d3ff1
RD
25549 }
25550 {
7449af73 25551 PyDict_SetItemString(d,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int(static_cast<int >(wxLANGUAGE_URDU_PAKISTAN)));
093d3ff1
RD
25552 }
25553 {
7449af73 25554 PyDict_SetItemString(d,"LANGUAGE_UZBEK", SWIG_From_int(static_cast<int >(wxLANGUAGE_UZBEK)));
093d3ff1
RD
25555 }
25556 {
7449af73 25557 PyDict_SetItemString(d,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int(static_cast<int >(wxLANGUAGE_UZBEK_CYRILLIC)));
093d3ff1
RD
25558 }
25559 {
7449af73 25560 PyDict_SetItemString(d,"LANGUAGE_UZBEK_LATIN", SWIG_From_int(static_cast<int >(wxLANGUAGE_UZBEK_LATIN)));
093d3ff1
RD
25561 }
25562 {
7449af73 25563 PyDict_SetItemString(d,"LANGUAGE_VIETNAMESE", SWIG_From_int(static_cast<int >(wxLANGUAGE_VIETNAMESE)));
093d3ff1
RD
25564 }
25565 {
7449af73 25566 PyDict_SetItemString(d,"LANGUAGE_VOLAPUK", SWIG_From_int(static_cast<int >(wxLANGUAGE_VOLAPUK)));
093d3ff1
RD
25567 }
25568 {
7449af73 25569 PyDict_SetItemString(d,"LANGUAGE_WELSH", SWIG_From_int(static_cast<int >(wxLANGUAGE_WELSH)));
093d3ff1
RD
25570 }
25571 {
7449af73 25572 PyDict_SetItemString(d,"LANGUAGE_WOLOF", SWIG_From_int(static_cast<int >(wxLANGUAGE_WOLOF)));
093d3ff1
RD
25573 }
25574 {
7449af73 25575 PyDict_SetItemString(d,"LANGUAGE_XHOSA", SWIG_From_int(static_cast<int >(wxLANGUAGE_XHOSA)));
093d3ff1
RD
25576 }
25577 {
7449af73 25578 PyDict_SetItemString(d,"LANGUAGE_YIDDISH", SWIG_From_int(static_cast<int >(wxLANGUAGE_YIDDISH)));
093d3ff1
RD
25579 }
25580 {
7449af73 25581 PyDict_SetItemString(d,"LANGUAGE_YORUBA", SWIG_From_int(static_cast<int >(wxLANGUAGE_YORUBA)));
093d3ff1
RD
25582 }
25583 {
7449af73 25584 PyDict_SetItemString(d,"LANGUAGE_ZHUANG", SWIG_From_int(static_cast<int >(wxLANGUAGE_ZHUANG)));
093d3ff1
RD
25585 }
25586 {
7449af73 25587 PyDict_SetItemString(d,"LANGUAGE_ZULU", SWIG_From_int(static_cast<int >(wxLANGUAGE_ZULU)));
093d3ff1
RD
25588 }
25589 {
7449af73 25590 PyDict_SetItemString(d,"LANGUAGE_USER_DEFINED", SWIG_From_int(static_cast<int >(wxLANGUAGE_USER_DEFINED)));
093d3ff1
RD
25591 }
25592 {
7449af73 25593 PyDict_SetItemString(d,"LOCALE_CAT_NUMBER", SWIG_From_int(static_cast<int >(wxLOCALE_CAT_NUMBER)));
093d3ff1
RD
25594 }
25595 {
7449af73 25596 PyDict_SetItemString(d,"LOCALE_CAT_DATE", SWIG_From_int(static_cast<int >(wxLOCALE_CAT_DATE)));
093d3ff1
RD
25597 }
25598 {
7449af73 25599 PyDict_SetItemString(d,"LOCALE_CAT_MONEY", SWIG_From_int(static_cast<int >(wxLOCALE_CAT_MONEY)));
093d3ff1
RD
25600 }
25601 {
7449af73 25602 PyDict_SetItemString(d,"LOCALE_CAT_MAX", SWIG_From_int(static_cast<int >(wxLOCALE_CAT_MAX)));
093d3ff1
RD
25603 }
25604 {
7449af73 25605 PyDict_SetItemString(d,"LOCALE_THOUSANDS_SEP", SWIG_From_int(static_cast<int >(wxLOCALE_THOUSANDS_SEP)));
093d3ff1
RD
25606 }
25607 {
7449af73 25608 PyDict_SetItemString(d,"LOCALE_DECIMAL_POINT", SWIG_From_int(static_cast<int >(wxLOCALE_DECIMAL_POINT)));
093d3ff1
RD
25609 }
25610 {
7449af73 25611 PyDict_SetItemString(d,"LOCALE_LOAD_DEFAULT", SWIG_From_int(static_cast<int >(wxLOCALE_LOAD_DEFAULT)));
093d3ff1
RD
25612 }
25613 {
7449af73 25614 PyDict_SetItemString(d,"LOCALE_CONV_ENCODING", SWIG_From_int(static_cast<int >(wxLOCALE_CONV_ENCODING)));
093d3ff1
RD
25615 }
25616 {
7449af73 25617 PyDict_SetItemString(d,"CONVERT_STRICT", SWIG_From_int(static_cast<int >(wxCONVERT_STRICT)));
093d3ff1
RD
25618 }
25619 {
7449af73 25620 PyDict_SetItemString(d,"CONVERT_SUBSTITUTE", SWIG_From_int(static_cast<int >(wxCONVERT_SUBSTITUTE)));
093d3ff1
RD
25621 }
25622 {
7449af73 25623 PyDict_SetItemString(d,"PLATFORM_CURRENT", SWIG_From_int(static_cast<int >(wxPLATFORM_CURRENT)));
093d3ff1
RD
25624 }
25625 {
7449af73 25626 PyDict_SetItemString(d,"PLATFORM_UNIX", SWIG_From_int(static_cast<int >(wxPLATFORM_UNIX)));
093d3ff1
RD
25627 }
25628 {
7449af73 25629 PyDict_SetItemString(d,"PLATFORM_WINDOWS", SWIG_From_int(static_cast<int >(wxPLATFORM_WINDOWS)));
093d3ff1
RD
25630 }
25631 {
7449af73 25632 PyDict_SetItemString(d,"PLATFORM_OS2", SWIG_From_int(static_cast<int >(wxPLATFORM_OS2)));
093d3ff1
RD
25633 }
25634 {
7449af73 25635 PyDict_SetItemString(d,"PLATFORM_MAC", SWIG_From_int(static_cast<int >(wxPLATFORM_MAC)));
093d3ff1 25636 }
e2950dbb 25637 {
7449af73 25638 PyDict_SetItemString(d,"BUFFER_VIRTUAL_AREA", SWIG_From_int(static_cast<int >(wxBUFFER_VIRTUAL_AREA)));
e2950dbb
RD
25639 }
25640 {
7449af73 25641 PyDict_SetItemString(d,"BUFFER_CLIENT_AREA", SWIG_From_int(static_cast<int >(wxBUFFER_CLIENT_AREA)));
e2950dbb 25642 }
093d3ff1 25643 {
7449af73 25644 PyDict_SetItemString(d,"IMAGELIST_DRAW_NORMAL", SWIG_From_int(static_cast<int >(wxIMAGELIST_DRAW_NORMAL)));
093d3ff1
RD
25645 }
25646 {
7449af73 25647 PyDict_SetItemString(d,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int(static_cast<int >(wxIMAGELIST_DRAW_TRANSPARENT)));
093d3ff1
RD
25648 }
25649 {
7449af73 25650 PyDict_SetItemString(d,"IMAGELIST_DRAW_SELECTED", SWIG_From_int(static_cast<int >(wxIMAGELIST_DRAW_SELECTED)));
093d3ff1
RD
25651 }
25652 {
7449af73 25653 PyDict_SetItemString(d,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int(static_cast<int >(wxIMAGELIST_DRAW_FOCUSED)));
093d3ff1
RD
25654 }
25655 {
7449af73 25656 PyDict_SetItemString(d,"IMAGE_LIST_NORMAL", SWIG_From_int(static_cast<int >(wxIMAGE_LIST_NORMAL)));
093d3ff1
RD
25657 }
25658 {
7449af73 25659 PyDict_SetItemString(d,"IMAGE_LIST_SMALL", SWIG_From_int(static_cast<int >(wxIMAGE_LIST_SMALL)));
093d3ff1
RD
25660 }
25661 {
7449af73 25662 PyDict_SetItemString(d,"IMAGE_LIST_STATE", SWIG_From_int(static_cast<int >(wxIMAGE_LIST_STATE)));
093d3ff1 25663 }
d55e5bfc
RD
25664 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
25665 SWIG_addvarlink(SWIG_globals,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get, _wrap_NORMAL_FONT_set);
25666 SWIG_addvarlink(SWIG_globals,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get, _wrap_SMALL_FONT_set);
25667 SWIG_addvarlink(SWIG_globals,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get, _wrap_ITALIC_FONT_set);
25668 SWIG_addvarlink(SWIG_globals,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get, _wrap_SWISS_FONT_set);
25669 SWIG_addvarlink(SWIG_globals,(char*)"RED_PEN",_wrap_RED_PEN_get, _wrap_RED_PEN_set);
25670 SWIG_addvarlink(SWIG_globals,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get, _wrap_CYAN_PEN_set);
25671 SWIG_addvarlink(SWIG_globals,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get, _wrap_GREEN_PEN_set);
25672 SWIG_addvarlink(SWIG_globals,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get, _wrap_BLACK_PEN_set);
25673 SWIG_addvarlink(SWIG_globals,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get, _wrap_WHITE_PEN_set);
25674 SWIG_addvarlink(SWIG_globals,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get, _wrap_TRANSPARENT_PEN_set);
25675 SWIG_addvarlink(SWIG_globals,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get, _wrap_BLACK_DASHED_PEN_set);
25676 SWIG_addvarlink(SWIG_globals,(char*)"GREY_PEN",_wrap_GREY_PEN_get, _wrap_GREY_PEN_set);
25677 SWIG_addvarlink(SWIG_globals,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get, _wrap_MEDIUM_GREY_PEN_set);
25678 SWIG_addvarlink(SWIG_globals,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get, _wrap_LIGHT_GREY_PEN_set);
25679 SWIG_addvarlink(SWIG_globals,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get, _wrap_BLUE_BRUSH_set);
25680 SWIG_addvarlink(SWIG_globals,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get, _wrap_GREEN_BRUSH_set);
25681 SWIG_addvarlink(SWIG_globals,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get, _wrap_WHITE_BRUSH_set);
25682 SWIG_addvarlink(SWIG_globals,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get, _wrap_BLACK_BRUSH_set);
25683 SWIG_addvarlink(SWIG_globals,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get, _wrap_TRANSPARENT_BRUSH_set);
25684 SWIG_addvarlink(SWIG_globals,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get, _wrap_CYAN_BRUSH_set);
25685 SWIG_addvarlink(SWIG_globals,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get, _wrap_RED_BRUSH_set);
25686 SWIG_addvarlink(SWIG_globals,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get, _wrap_GREY_BRUSH_set);
25687 SWIG_addvarlink(SWIG_globals,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get, _wrap_MEDIUM_GREY_BRUSH_set);
25688 SWIG_addvarlink(SWIG_globals,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get, _wrap_LIGHT_GREY_BRUSH_set);
25689 SWIG_addvarlink(SWIG_globals,(char*)"BLACK",_wrap_BLACK_get, _wrap_BLACK_set);
25690 SWIG_addvarlink(SWIG_globals,(char*)"WHITE",_wrap_WHITE_get, _wrap_WHITE_set);
25691 SWIG_addvarlink(SWIG_globals,(char*)"RED",_wrap_RED_get, _wrap_RED_set);
25692 SWIG_addvarlink(SWIG_globals,(char*)"BLUE",_wrap_BLUE_get, _wrap_BLUE_set);
25693 SWIG_addvarlink(SWIG_globals,(char*)"GREEN",_wrap_GREEN_get, _wrap_GREEN_set);
25694 SWIG_addvarlink(SWIG_globals,(char*)"CYAN",_wrap_CYAN_get, _wrap_CYAN_set);
25695 SWIG_addvarlink(SWIG_globals,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get, _wrap_LIGHT_GREY_set);
25696 SWIG_addvarlink(SWIG_globals,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get, _wrap_STANDARD_CURSOR_set);
25697 SWIG_addvarlink(SWIG_globals,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get, _wrap_HOURGLASS_CURSOR_set);
25698 SWIG_addvarlink(SWIG_globals,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get, _wrap_CROSS_CURSOR_set);
25699 SWIG_addvarlink(SWIG_globals,(char*)"NullBitmap",_wrap_NullBitmap_get, _wrap_NullBitmap_set);
25700 SWIG_addvarlink(SWIG_globals,(char*)"NullIcon",_wrap_NullIcon_get, _wrap_NullIcon_set);
25701 SWIG_addvarlink(SWIG_globals,(char*)"NullCursor",_wrap_NullCursor_get, _wrap_NullCursor_set);
25702 SWIG_addvarlink(SWIG_globals,(char*)"NullPen",_wrap_NullPen_get, _wrap_NullPen_set);
25703 SWIG_addvarlink(SWIG_globals,(char*)"NullBrush",_wrap_NullBrush_get, _wrap_NullBrush_set);
25704 SWIG_addvarlink(SWIG_globals,(char*)"NullPalette",_wrap_NullPalette_get, _wrap_NullPalette_set);
25705 SWIG_addvarlink(SWIG_globals,(char*)"NullFont",_wrap_NullFont_get, _wrap_NullFont_set);
25706 SWIG_addvarlink(SWIG_globals,(char*)"NullColour",_wrap_NullColour_get, _wrap_NullColour_set);
25707 SWIG_addvarlink(SWIG_globals,(char*)"TheFontList",_wrap_TheFontList_get, _wrap_TheFontList_set);
25708 SWIG_addvarlink(SWIG_globals,(char*)"ThePenList",_wrap_ThePenList_get, _wrap_ThePenList_set);
25709 SWIG_addvarlink(SWIG_globals,(char*)"TheBrushList",_wrap_TheBrushList_get, _wrap_TheBrushList_set);
25710 SWIG_addvarlink(SWIG_globals,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get, _wrap_TheColourDatabase_set);
be9b1dca 25711 {
7449af73 25712 PyDict_SetItemString(d,"CONTROL_DISABLED", SWIG_From_int(static_cast<int >(wxCONTROL_DISABLED)));
be9b1dca
RD
25713 }
25714 {
7449af73 25715 PyDict_SetItemString(d,"CONTROL_FOCUSED", SWIG_From_int(static_cast<int >(wxCONTROL_FOCUSED)));
be9b1dca
RD
25716 }
25717 {
7449af73 25718 PyDict_SetItemString(d,"CONTROL_PRESSED", SWIG_From_int(static_cast<int >(wxCONTROL_PRESSED)));
be9b1dca
RD
25719 }
25720 {
7449af73 25721 PyDict_SetItemString(d,"CONTROL_ISDEFAULT", SWIG_From_int(static_cast<int >(wxCONTROL_ISDEFAULT)));
be9b1dca
RD
25722 }
25723 {
7449af73 25724 PyDict_SetItemString(d,"CONTROL_ISSUBMENU", SWIG_From_int(static_cast<int >(wxCONTROL_ISSUBMENU)));
be9b1dca
RD
25725 }
25726 {
7449af73 25727 PyDict_SetItemString(d,"CONTROL_EXPANDED", SWIG_From_int(static_cast<int >(wxCONTROL_EXPANDED)));
be9b1dca
RD
25728 }
25729 {
7449af73 25730 PyDict_SetItemString(d,"CONTROL_CURRENT", SWIG_From_int(static_cast<int >(wxCONTROL_CURRENT)));
be9b1dca
RD
25731 }
25732 {
7449af73 25733 PyDict_SetItemString(d,"CONTROL_SELECTED", SWIG_From_int(static_cast<int >(wxCONTROL_SELECTED)));
be9b1dca
RD
25734 }
25735 {
7449af73 25736 PyDict_SetItemString(d,"CONTROL_CHECKED", SWIG_From_int(static_cast<int >(wxCONTROL_CHECKED)));
be9b1dca
RD
25737 }
25738 {
7449af73 25739 PyDict_SetItemString(d,"CONTROL_CHECKABLE", SWIG_From_int(static_cast<int >(wxCONTROL_CHECKABLE)));
be9b1dca
RD
25740 }
25741 {
7449af73 25742 PyDict_SetItemString(d,"CONTROL_UNDETERMINED", SWIG_From_int(static_cast<int >(wxCONTROL_UNDETERMINED)));
be9b1dca
RD
25743 }
25744 {
7449af73 25745 PyDict_SetItemString(d,"CONTROL_FLAGS_MASK", SWIG_From_int(static_cast<int >(wxCONTROL_FLAGS_MASK)));
be9b1dca
RD
25746 }
25747 {
7449af73 25748 PyDict_SetItemString(d,"CONTROL_DIRTY", SWIG_From_int(static_cast<int >(wxCONTROL_DIRTY)));
be9b1dca
RD
25749 }
25750 {
7449af73 25751 PyDict_SetItemString(d,"RendererVersion_Current_Version", SWIG_From_int(static_cast<int >(wxRendererVersion::Current_Version)));
be9b1dca
RD
25752 }
25753 {
7449af73 25754 PyDict_SetItemString(d,"RendererVersion_Current_Age", SWIG_From_int(static_cast<int >(wxRendererVersion::Current_Age)));
be9b1dca 25755 }
d55e5bfc
RD
25756
25757 // Work around a chicken/egg problem in drawlist.cpp
25758 wxPyDrawList_SetAPIPtr();
25759
25760}
25761