]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_gdi_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / gtk / _gdi_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
a41e16b6 3 * Version 1.3.22
d14a1e28
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
c32bde28 46#define SWIG_TypePrettyName SWIG_Python_TypePrettyName
d14a1e28
RD
47#define SWIG_TypeQuery SWIG_Python_TypeQuery
48#define SWIG_TypeClientData SWIG_Python_TypeClientData
c9c7117a
RD
49#define SWIG_PackData SWIG_Python_PackData
50#define SWIG_UnpackData SWIG_Python_UnpackData
51
d14a1e28
RD
52
53/***********************************************************************
54 * common.swg for wxPython
55 *
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 * anyway.
60 *
61 ************************************************************************/
62
63#include <string.h>
64
cc6dd355
RD
65#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66# if defined(_MSC_VER) || defined(__GNUC__)
67# if defined(STATIC_LINKED)
68# define SWIGEXPORT(a) a
69# define SWIGIMPORT(a) extern a
70# else
71# define SWIGEXPORT(a) __declspec(dllexport) a
72# define SWIGIMPORT(a) extern a
73# endif
74# else
75# if defined(__BORLANDC__)
76# define SWIGEXPORT(a) a _export
77# define SWIGIMPORT(a) a _export
78# else
79# define SWIGEXPORT(a) a
80# define SWIGIMPORT(a) a
81# endif
82# endif
d14a1e28 83#else
cc6dd355
RD
84# define SWIGEXPORT(a) a
85# define SWIGIMPORT(a) a
d14a1e28
RD
86#endif
87
88#ifdef SWIG_GLOBAL
cc6dd355 89# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 90#else
cc6dd355 91# define SWIGRUNTIME(a) static a
d14a1e28
RD
92#endif
93
d14a1e28
RD
94#ifdef __cplusplus
95extern "C" {
96#endif
97
98typedef void *(*swig_converter_func)(void *);
99typedef struct swig_type_info *(*swig_dycast_func)(void **);
100
101typedef struct swig_type_info {
cc6dd355 102 const char *name;
d14a1e28
RD
103 swig_converter_func converter;
104 const char *str;
cc6dd355 105 void *clientdata;
d14a1e28
RD
106 swig_dycast_func dcast;
107 struct swig_type_info *next;
108 struct swig_type_info *prev;
109} swig_type_info;
110
111
112SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
113SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
114SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
115SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
116SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
c32bde28 117SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
d14a1e28
RD
118SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
cc6dd355
RD
120SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
122
123
124#ifdef __cplusplus
125}
126#endif
127
c32bde28 128
d14a1e28
RD
129/***********************************************************************
130 * pyrun.swg for wxPython
131 *
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 * anyway.
136 *
137 ************************************************************************/
138
d14a1e28
RD
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143#define SWIG_PY_INT 1
144#define SWIG_PY_FLOAT 2
145#define SWIG_PY_STRING 3
146#define SWIG_PY_POINTER 4
147#define SWIG_PY_BINARY 5
148
149/* Flags for pointer conversion */
150
151#define SWIG_POINTER_EXCEPTION 0x1
152#define SWIG_POINTER_DISOWN 0x2
153
154/* Exception handling in wrappers */
155#define SWIG_fail goto fail
156
157/* Constant information structure */
158typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165} swig_const_info;
166
d14a1e28
RD
167/* Common SWIG API */
168#define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170#define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172#define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
a41e16b6 174
d14a1e28
RD
175/* Python-specific SWIG API */
176#define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178#define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
182#define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184#define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
994141e6 187typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 188
cc6dd355
RD
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 197
d14a1e28
RD
198
199/* Contract support */
200
9d1d5697 201#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 202
d14a1e28
RD
203#ifdef __cplusplus
204}
205#endif
206
207
c32bde28 208
d14a1e28
RD
209/* -------- TYPES TABLE (BEGIN) -------- */
210
211#define SWIGTYPE_p_wxPostScriptDC swig_types[0]
e811c8ce
RD
212#define SWIGTYPE_p_wxBrush swig_types[1]
213#define SWIGTYPE_p_wxColour swig_types[2]
214#define SWIGTYPE_p_wxDC swig_types[3]
215#define SWIGTYPE_p_wxMirrorDC swig_types[4]
216#define SWIGTYPE_p_byte swig_types[5]
217#define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
994141e6
RD
218#define SWIGTYPE_p_char swig_types[7]
219#define SWIGTYPE_p_wxIconLocation swig_types[8]
220#define SWIGTYPE_p_wxImage swig_types[9]
221#define SWIGTYPE_p_wxMetaFileDC swig_types[10]
222#define SWIGTYPE_p_wxMask swig_types[11]
b2df227b
RD
223#define SWIGTYPE_p_wxSize swig_types[12]
224#define SWIGTYPE_p_wxFont swig_types[13]
225#define SWIGTYPE_p_wxWindow swig_types[14]
994141e6
RD
226#define SWIGTYPE_p_double swig_types[15]
227#define SWIGTYPE_p_wxMemoryDC swig_types[16]
228#define SWIGTYPE_p_wxFontMapper swig_types[17]
229#define SWIGTYPE_p_wxEffects swig_types[18]
230#define SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]
231#define SWIGTYPE_p_wxPalette swig_types[20]
232#define SWIGTYPE_p_wxBitmap swig_types[21]
233#define SWIGTYPE_p_wxObject swig_types[22]
234#define SWIGTYPE_p_wxRegionIterator swig_types[23]
235#define SWIGTYPE_p_wxRect swig_types[24]
236#define SWIGTYPE_p_wxString swig_types[25]
237#define SWIGTYPE_p_wxPrinterDC swig_types[26]
238#define SWIGTYPE_p_wxIconBundle swig_types[27]
239#define SWIGTYPE_p_wxPoint swig_types[28]
240#define SWIGTYPE_p_wxDash swig_types[29]
241#define SWIGTYPE_p_wxScreenDC swig_types[30]
242#define SWIGTYPE_p_wxCursor swig_types[31]
243#define SWIGTYPE_p_wxClientDC swig_types[32]
244#define SWIGTYPE_p_wxBufferedDC swig_types[33]
245#define SWIGTYPE_p_wxImageList swig_types[34]
246#define SWIGTYPE_p_unsigned_char swig_types[35]
247#define SWIGTYPE_p_wxGDIObject swig_types[36]
e811c8ce 248#define SWIGTYPE_p_wxIcon swig_types[37]
994141e6
RD
249#define SWIGTYPE_p_wxLocale swig_types[38]
250#define SWIGTYPE_p_wxRegion swig_types[39]
66c033b4
RD
251#define SWIGTYPE_p_wxLanguageInfo swig_types[40]
252#define SWIGTYPE_p_wxConfigBase swig_types[41]
994141e6
RD
253#define SWIGTYPE_p_wxWindowDC swig_types[42]
254#define SWIGTYPE_p_wxPrintData swig_types[43]
255#define SWIGTYPE_p_wxBrushList swig_types[44]
256#define SWIGTYPE_p_wxFontList swig_types[45]
257#define SWIGTYPE_p_wxPen swig_types[46]
258#define SWIGTYPE_p_wxBufferedPaintDC swig_types[47]
259#define SWIGTYPE_p_wxPaintDC swig_types[48]
260#define SWIGTYPE_p_wxPenList swig_types[49]
66c033b4
RD
261#define SWIGTYPE_p_int swig_types[50]
262#define SWIGTYPE_p_wxMetaFile swig_types[51]
263#define SWIGTYPE_p_wxNativeFontInfo swig_types[52]
264#define SWIGTYPE_p_wxEncodingConverter swig_types[53]
265#define SWIGTYPE_p_wxColourDatabase swig_types[54]
266static swig_type_info *swig_types[56];
d14a1e28
RD
267
268/* -------- TYPES TABLE (END) -------- */
269
270
271/*-----------------------------------------------
54f9ee45 272 @(target):= _gdi_.so
d14a1e28 273 ------------------------------------------------*/
54f9ee45 274#define SWIG_init init_gdi_
d14a1e28 275
54f9ee45 276#define SWIG_name "_gdi_"
d14a1e28 277
c32bde28
RD
278/* Auxiliar swig macros that appear in the header */
279
280#define SWIG_OLDOBJ 1
281#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
282#define SWIG_PYSTR SWIG_NEWOBJ + 1
994141e6 283
994141e6 284#ifdef __cplusplus
15afbcd0 285#define SWIGSTATICINLINE(a) static inline a
994141e6 286#define SWIGSTATIC(a) static a
c32bde28
RD
287#define swig_new_array(size,Type) (new Type[(size)])
288#define swig_delete(cptr) delete cptr
15afbcd0 289#define swig_delete_array(cptr) delete[] cptr
c32bde28
RD
290#define swig_const_cast(a,Type) const_cast<Type >(a)
291#define swig_static_cast(a,Type) static_cast<Type >(a)
292#define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
293#define swig_new_copy(ptr,Type) (new Type(*ptr))
294#define swig_numeric_cast(a,Type) static_cast<Type >(a)
994141e6 295
15afbcd0
RD
296#else /* C case */
297
298#define SWIGSTATICINLINE(a) static a
299#define SWIGSTATIC(a) static a
c32bde28
RD
300#define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
301#define swig_delete(cptr) free((char*)cptr)
15afbcd0 302#define swig_delete_array(cptr) free((char*)cptr)
c32bde28
RD
303#define swig_const_cast(a,Type) (Type)(a)
304#define swig_static_cast(a,Type) (Type)(a)
305#define swig_reinterpret_cast(a,Type) (Type)(a)
306#define swig_numeric_cast(a,Type) (Type)(a)
307#define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
15afbcd0
RD
308
309#endif /* __cplusplus */
994141e6
RD
310
311
c32bde28
RD
312/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
313#define SWIG_From_signed_SS_char PyInt_FromLong
314/*@@*/
315/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
316#define SWIG_From_unsigned_SS_char PyInt_FromLong
317/*@@*/
318/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
319#define SWIG_From_short PyInt_FromLong
320/*@@*/
321/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
322#define SWIG_From_unsigned_SS_short PyInt_FromLong
323/*@@*/
324/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
325#define SWIG_From_int PyInt_FromLong
326/*@@*/
327/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
328#define SWIG_From_long PyInt_FromLong
329/*@@*/
330/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
331#define SWIG_From_float PyFloat_FromDouble
332/*@@*/
333/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
334#define SWIG_From_double PyFloat_FromDouble
335/*@@*/
994141e6
RD
336
337
d14a1e28
RD
338#include "wx/wxPython/wxPython.h"
339#include "wx/wxPython/pyclasses.h"
340
d14a1e28 341
b2dc1044 342 static const wxString wxPyEmptyString(wxEmptyString);
994141e6 343
c32bde28
RD
344#include <limits.h>
345
346
347SWIGSTATICINLINE(int)
348 SWIG_CheckLongInRange(long value, long min_value, long max_value,
349 const char *errmsg)
994141e6 350{
c32bde28
RD
351 if (value < min_value) {
352 if (errmsg) {
353 PyErr_Format(PyExc_OverflowError,
354 "value %ld is less than '%s' minimum %ld",
355 value, errmsg, min_value);
356 }
357 return 0;
358 } else if (value > max_value) {
359 if (errmsg) {
360 PyErr_Format(PyExc_OverflowError,
361 "value %ld is greater than '%s' maximum %ld",
362 value, errmsg, max_value);
363 }
364 return 0;
365 }
366 return 1;
994141e6
RD
367}
368
369
c32bde28 370// See my_fragments.i
15afbcd0 371SWIGSTATICINLINE(int)
c32bde28 372SWIG_AsVal_long(PyObject* obj, long* val)
15afbcd0 373{
c32bde28
RD
374 if (PyNumber_Check(obj)) {
375 if (val) *val = PyInt_AsLong(obj);
376 return 1;
377 }
378 else {
379 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
380 obj->ob_type->tp_name);
381 PyErr_SetObject(PyExc_TypeError, errmsg);
382 Py_DECREF(errmsg);
383 }
15afbcd0 384 return 0;
c32bde28
RD
385}
386
387
388#if INT_MAX != LONG_MAX
389SWIGSTATICINLINE(int)
390 SWIG_AsVal_int(PyObject *obj, int *val)
391{
392 const char* errmsg = val ? "int" : 0;
393 long v;
394 if (SWIG_AsVal_long(obj, &v)) {
395 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
396 if (val) *val = swig_numeric_cast(v, int);
397 return 1;
398 } else {
399 return 0;
400 }
15afbcd0 401 } else {
c32bde28
RD
402 PyErr_Clear();
403 }
404 if (val) {
405 PyErr_SetString(PyExc_TypeError, "an int is expected");
15afbcd0 406 }
c32bde28 407 return 0;
15afbcd0 408}
c32bde28
RD
409#else
410SWIGSTATICINLINE(int)
411 SWIG_AsVal_int(PyObject *obj, int *val)
412{
413 return SWIG_AsVal_long(obj,(long*)val);
414}
415#endif
15afbcd0
RD
416
417
c32bde28
RD
418SWIGSTATICINLINE(int)
419 SWIG_AsVal_bool(PyObject *obj, bool *val)
420{
421 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
422 if (obj == Py_True) {
423 if (val) *val = true;
424 return 1;
425 }
426 if (obj == Py_False) {
427 if (val) *val = false;
428 return 1;
429 }
430 int res = 0;
431 if (SWIG_AsVal_int(obj, &res)) {
432 if (val) *val = (bool)res;
433 return 1;
434 }
435 if (val) {
436 PyErr_SetString(PyExc_TypeError, "a bool is expected");
437 }
438 return 0;
439}
15afbcd0
RD
440
441
c32bde28
RD
442SWIGSTATICINLINE(bool)
443SWIG_As_bool(PyObject* obj)
15afbcd0 444{
c32bde28
RD
445 bool v;
446 if (!SWIG_AsVal_bool(obj, &v)) {
447 /*
448 this is needed to make valgrind/purify happier. the other
449 solution is throw an exception, but since this code should work
450 with plain C ....
451 */
452 memset((void*)&v, 0, sizeof(bool));
15afbcd0 453 }
c32bde28
RD
454 return v;
455}
456
457
458SWIGSTATICINLINE(int)
459SWIG_Check_bool(PyObject* obj)
460{
461 return SWIG_AsVal_bool(obj, (bool*)0);
15afbcd0
RD
462}
463
464
c32bde28
RD
465// See my_fragments.i
466SWIGSTATICINLINE(int)
467SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
69223c70 468{
c32bde28
RD
469 long v = 0;
470 if (SWIG_AsVal_long(obj, &v) && v < 0) {
471 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
69223c70
RD
472 return 0;
473 }
c32bde28
RD
474 else if (val)
475 *val = (unsigned long)v;
476 return 1;
69223c70
RD
477}
478
479
c32bde28
RD
480SWIGSTATICINLINE(int)
481 SWIG_CheckUnsignedLongInRange(unsigned long value,
482 unsigned long max_value,
483 const char *errmsg)
15afbcd0 484{
c32bde28
RD
485 if (value > max_value) {
486 if (errmsg) {
487 PyErr_Format(PyExc_OverflowError,
488 "value %ld is greater than '%s' minimum %ld",
489 value, errmsg, max_value);
15afbcd0 490 }
c32bde28 491 return 0;
15afbcd0 492 }
c32bde28
RD
493 return 1;
494 }
15afbcd0
RD
495
496
c32bde28
RD
497SWIGSTATICINLINE(int)
498 SWIG_AsVal_unsigned_SS_char(PyObject *obj, unsigned char *val)
994141e6 499{
c32bde28
RD
500 const char* errmsg = val ? "unsigned char" : 0;
501 unsigned long v;
502 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
503 if (SWIG_CheckUnsignedLongInRange(v, UCHAR_MAX,errmsg)) {
504 if (val) *val = swig_numeric_cast(v, unsigned char);
505 return 1;
506 } else {
507 return 0;
508 }
509 } else {
510 PyErr_Clear();
511 }
512 if (val) {
513 PyErr_SetString(PyExc_TypeError, "an unsigned char is expected");
514 }
515 return 0;
15afbcd0
RD
516}
517
518
c32bde28
RD
519SWIGSTATICINLINE(unsigned char)
520SWIG_As_unsigned_SS_char(PyObject* obj)
15afbcd0 521{
c32bde28
RD
522 unsigned char v;
523 if (!SWIG_AsVal_unsigned_SS_char(obj, &v)) {
524 /*
525 this is needed to make valgrind/purify happier. the other
526 solution is throw an exception, but since this code should work
527 with plain C ....
528 */
529 memset((void*)&v, 0, sizeof(unsigned char));
15afbcd0 530 }
c32bde28 531 return v;
15afbcd0
RD
532}
533
c32bde28 534
15afbcd0 535SWIGSTATICINLINE(int)
c32bde28 536SWIG_Check_unsigned_SS_char(PyObject* obj)
15afbcd0 537{
c32bde28
RD
538 return SWIG_AsVal_unsigned_SS_char(obj, (unsigned char*)0);
539}
540
541
542SWIGSTATICINLINE(unsigned long)
543SWIG_As_unsigned_SS_long(PyObject* obj)
544{
545 unsigned long v;
546 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
547 /*
548 this is needed to make valgrind/purify happier. the other
549 solution is throw an exception, but since this code should work
550 with plain C ....
551 */
552 memset((void*)&v, 0, sizeof(unsigned long));
15afbcd0 553 }
c32bde28
RD
554 return v;
555}
556
557
558SWIGSTATICINLINE(int)
559SWIG_Check_unsigned_SS_long(PyObject* obj)
560{
561 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
994141e6
RD
562}
563
d14a1e28
RD
564PyObject *wxColour_Get(wxColour *self){
565 PyObject* rv = PyTuple_New(3);
566 int red = -1;
567 int green = -1;
568 int blue = -1;
569 if (self->Ok()) {
570 red = self->Red();
571 green = self->Green();
572 blue = self->Blue();
573 }
574 PyTuple_SetItem(rv, 0, PyInt_FromLong(red));
575 PyTuple_SetItem(rv, 1, PyInt_FromLong(green));
576 PyTuple_SetItem(rv, 2, PyInt_FromLong(blue));
577 return rv;
578 }
b88bce5f
RD
579unsigned long wxColour_GetRGB(wxColour *self){
580 return self->Red() | (self->Green() << 8) | (self->Blue() << 16);
581 }
582
15afbcd0 583SWIGSTATICINLINE(PyObject* )
c32bde28 584 SWIG_From_unsigned_SS_long(unsigned long value)
15afbcd0
RD
585{
586 return (value > LONG_MAX) ?
587 PyLong_FromUnsignedLong(value)
c32bde28 588 : PyInt_FromLong(swig_numeric_cast(value,long));
15afbcd0
RD
589}
590
591
c32bde28
RD
592SWIGSTATICINLINE(int)
593SWIG_As_int(PyObject* obj)
15afbcd0 594{
c32bde28
RD
595 int v;
596 if (!SWIG_AsVal_int(obj, &v)) {
597 /*
598 this is needed to make valgrind/purify happier. the other
599 solution is throw an exception, but since this code should work
600 with plain C ....
601 */
602 memset((void*)&v, 0, sizeof(int));
15afbcd0 603 }
c32bde28 604 return v;
15afbcd0
RD
605}
606
c32bde28 607
15afbcd0 608SWIGSTATICINLINE(int)
c32bde28 609SWIG_Check_int(PyObject* obj)
15afbcd0 610{
c32bde28 611 return SWIG_AsVal_int(obj, (int*)0);
994141e6
RD
612}
613
614
c32bde28 615 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
d14a1e28
RD
616 PyObject* o2;
617 PyObject* o3;
c32bde28 618
d14a1e28
RD
619 if (!target) {
620 target = o;
621 } else if (target == Py_None) {
622 Py_DECREF(Py_None);
623 target = o;
624 } else {
c32bde28
RD
625 o2 = target;
626 target = PyTuple_New(1);
627 PyTuple_SetItem(target, 0, o2);
628
d14a1e28
RD
629 o3 = PyTuple_New(1);
630 PyTuple_SetItem(o3, 0, o);
631
632 o2 = target;
633 target = PySequence_Concat(o2, o3);
634 Py_DECREF(o2);
635 Py_DECREF(o3);
636 }
637 return target;
638}
639
c32bde28 640
d14a1e28
RD
641PyObject *wxPen_GetDashes(wxPen *self){
642 wxDash* dashes;
643 int count = self->GetDashes(&dashes);
4f89f6a3 644 bool blocked = wxPyBeginBlockThreads();
d14a1e28 645 PyObject* retval = PyList_New(0);
1a10c483
RD
646 for (int x=0; x<count; x++) {
647 PyObject* pyint = PyInt_FromLong(dashes[x]);
648 PyList_Append(retval, pyint);
649 Py_DECREF(pyint);
650 }
4f89f6a3 651 wxPyEndBlockThreads(blocked);
d14a1e28
RD
652 return retval;
653 }
66c033b4
RD
654void wxPen__SetDashes(wxPen *self,PyObject *_self,PyObject *pyDashes){
655 bool blocked = wxPyBeginBlockThreads();
656 int size = PyList_Size(pyDashes);
657 wxDash* dashes = (wxDash*)byte_LIST_helper(pyDashes);
658
659 // black magic warning! The array of wxDashes needs to exist as
660 // long as the pen does because wxPen does not copy the array. So
661 // stick a copy in a Python string object and attach it to _self,
662 // and then call SetDashes with a pointer to that array. Then
663 // when the Python pen object is destroyed the array will be
664 // cleaned up too.
665 PyObject* strDashes = PyString_FromStringAndSize((char*)dashes, size*sizeof(wxDash));
666 PyObject_SetAttrString(_self, "_dashes", strDashes);
667
668 self->SetDashes(size, (wxDash*)PyString_AS_STRING(strDashes));
669 delete [] dashes;
670 Py_DECREF(strDashes);
671 wxPyEndBlockThreads(blocked);
672 }
22faec7d
RD
673bool wxPen___eq__(wxPen *self,wxPen const *other){ return other ? (*self == *other) : False; }
674bool wxPen___ne__(wxPen *self,wxPen const *other){ return other ? (*self != *other) : True; }
d14a1e28 675
d14a1e28
RD
676#include <wx/image.h>
677
678 static char** ConvertListOfStrings(PyObject* listOfStrings) {
679 char** cArray = NULL;
680 int count;
681
682 if (!PyList_Check(listOfStrings)) {
683 PyErr_SetString(PyExc_TypeError, "Expected a list of strings.");
684 return NULL;
685 }
686 count = PyList_Size(listOfStrings);
687 cArray = new char*[count];
688
689 for(int x=0; x<count; x++) {
690 // TODO: Need some validation and error checking here
691 cArray[x] = PyString_AsString(PyList_GET_ITEM(listOfStrings, x));
692 }
693 return cArray;
694 }
695
696
697wxBitmap *new_wxBitmap(PyObject *listOfStrings){
698 char** cArray = NULL;
699 wxBitmap* bmp;
700
701 cArray = ConvertListOfStrings(listOfStrings);
702 if (! cArray)
703 return NULL;
704 bmp = new wxBitmap(cArray);
705 delete [] cArray;
706 return bmp;
707 }
708wxBitmap *new_wxBitmap(PyObject *bits,int width,int height,int depth){
709 char* buf;
710 int length;
711 PyString_AsStringAndSize(bits, &buf, &length);
712 return new wxBitmap(buf, width, height, depth);
713 }
b2df227b
RD
714wxSize wxBitmap_GetSize(wxBitmap *self){
715 wxSize size(self->GetWidth(), self->GetHeight());
716 return size;
717 }
d14a1e28
RD
718void wxBitmap_SetMaskColour(wxBitmap *self,wxColour const &colour){
719 wxMask *mask = new wxMask(*self, colour);
720 self->SetMask(mask);
721 }
b2df227b
RD
722void wxBitmap_SetSize(wxBitmap *self,wxSize const &size){
723 self->SetWidth(size.x);
724 self->SetHeight(size.y);
725 }
4276dc52
RD
726bool wxBitmap___eq__(wxBitmap *self,wxBitmap const *other){ return other ? (*self == *other) : False; }
727bool wxBitmap___ne__(wxBitmap *self,wxBitmap const *other){ return other ? (*self != *other) : True; }
0482c494
RD
728wxMask *new_wxMask(wxBitmap const &bitmap,wxColour const &colour){
729 if ( !colour.Ok() )
730 return new wxMask(bitmap, *wxBLACK);
731 else
732 return new wxMask(bitmap, colour);
733 }
d14a1e28
RD
734
735#include <wx/iconbndl.h>
736
737wxIcon *new_wxIcon(wxBitmap const &bmp){
738 wxIcon* icon = new wxIcon();
739 icon->CopyFromBitmap(bmp);
740 return icon;
741 }
742wxIcon *new_wxIcon(PyObject *listOfStrings){
743 char** cArray = NULL;
744 wxIcon* icon;
745
746 cArray = ConvertListOfStrings(listOfStrings);
747 if (! cArray)
748 return NULL;
749 icon = new wxIcon(cArray);
750 delete [] cArray;
751 return icon;
752 }
753wxIconLocation *new_wxIconLocation(wxString const *filename,int num){
754
755
756
757 return new wxIconLocation(*filename);
758
759 }
760void wxIconLocation_SetIndex(wxIconLocation *self,int num){
761
762
763
764 // do nothing
765
766 }
767int wxIconLocation_GetIndex(wxIconLocation *self){
768
769
770
771 return -1;
772
773 }
994141e6 774
c32bde28
RD
775SWIGSTATICINLINE(long)
776SWIG_As_long(PyObject* obj)
994141e6 777{
c32bde28
RD
778 long v;
779 if (!SWIG_AsVal_long(obj, &v)) {
780 /*
781 this is needed to make valgrind/purify happier. the other
782 solution is throw an exception, but since this code should work
783 with plain C ....
784 */
785 memset((void*)&v, 0, sizeof(long));
15afbcd0 786 }
c32bde28
RD
787 return v;
788}
789
790
791SWIGSTATICINLINE(int)
792SWIG_Check_long(PyObject* obj)
793{
794 return SWIG_AsVal_long(obj, (long*)0);
994141e6
RD
795}
796
15afbcd0
RD
797wxCursor *new_wxCursor(wxString const *cursorName,long type,int hotSpotX,int hotSpotY){
798#ifdef __WXGTK__
e811c8ce 799 wxCHECK_MSG(False, NULL,
15afbcd0
RD
800 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
801#else
802 return new wxCursor(*cursorName, type, hotSpotX, hotSpotY);
803#endif
d14a1e28
RD
804 }
805
806
807void wxRegionIterator_Next(wxRegionIterator *self){
808 (*self) ++;
809 }
810bool wxRegionIterator___nonzero__(wxRegionIterator *self){
811 return self->operator bool();
812 }
813
814#include <wx/fontutil.h>
815#include <wx/fontmap.h>
816#include <wx/fontenum.h>
817
818wxString wxNativeFontInfo___str__(wxNativeFontInfo *self){
819 return self->ToString();
820 }
821
822 wxNativeEncodingInfo* wxGetNativeFontEncoding(wxFontEncoding encoding) {
823 static wxNativeEncodingInfo info;
824 if ( wxGetNativeFontEncoding(encoding, &info) )
825 return &info;
826 else
827 return NULL;
828 }
829
830PyObject *wxFontMapper_GetAltForEncoding(wxFontMapper *self,wxFontEncoding encoding,wxString const &facename,bool interactive){
831 wxFontEncoding alt_enc;
832 if (self->GetAltForEncoding(encoding, &alt_enc, facename, interactive))
833 return PyInt_FromLong(alt_enc);
834 else {
835 Py_INCREF(Py_None);
836 return Py_None;
837 }
838 }
839wxFont *new_wxFont(wxString const &info){
840 wxNativeFontInfo nfi;
841 nfi.FromString(info);
842 return new wxFont(nfi);
843 }
844wxFont *new_wxFont(int pointSize,wxFontFamily family,int flags,wxString const &face,wxFontEncoding encoding){
845 return wxFont::New(pointSize, family, flags, face, encoding);
846 }
22faec7d
RD
847bool wxFont___eq__(wxFont *self,wxFont const *other){ return other ? (*self == *other) : False; }
848bool wxFont___ne__(wxFont *self,wxFont const *other){ return other ? (*self != *other) : True; }
d14a1e28
RD
849
850class wxPyFontEnumerator : public wxFontEnumerator {
851public:
852 wxPyFontEnumerator() {}
853 ~wxPyFontEnumerator() {}
854
855 DEC_PYCALLBACK_BOOL_STRING(OnFacename);
856 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding);
857
858 PYPRIVATE;
859};
860
861IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator, wxFontEnumerator, OnFacename);
862IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator, wxFontEnumerator, OnFontEncoding);
863
864
865PyObject *wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator *self){
866 wxArrayString* arr = self->GetEncodings();
0dcf9a74
RD
867 if (arr)
868 return wxArrayString2PyList_helper(*arr);
869 else
870 return PyList_New(0);
d14a1e28
RD
871 }
872PyObject *wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator *self){
873 wxArrayString* arr = self->GetFacenames();
0dcf9a74
RD
874 if (arr)
875 return wxArrayString2PyList_helper(*arr);
876 else
877 return PyList_New(0);
d14a1e28
RD
878 }
879
880
41e2b43e
RD
881wxLocale *new_wxLocale(int language,int flags){
882 if (language == -1)
883 return new wxLocale();
884 else
885 return new wxLocale(language, flags);
886 }
d14a1e28
RD
887
888#include "wx/wxPython/pydrawxxx.h"
889
03e37cd5 890wxColour wxDC_GetPixel(wxDC *self,int x,int y){
d14a1e28
RD
891 wxColour col;
892 self->GetPixel(x, y, &col);
893 return col;
894 }
03e37cd5 895wxColour wxDC_GetPixelPoint(wxDC *self,wxPoint const &pt){
d14a1e28
RD
896 wxColour col;
897 self->GetPixel(pt, &col);
898 return col;
899 }
994141e6 900
c32bde28
RD
901// See my_fragments.i
902SWIGSTATICINLINE(int)
903SWIG_AsVal_double(PyObject *obj, double* val)
994141e6 904{
c32bde28
RD
905 if (PyNumber_Check(obj)) {
906 if (val) *val = PyFloat_AsDouble(obj);
907 return 1;
908 }
69223c70
RD
909 else {
910 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
911 obj->ob_type->tp_name);
912 PyErr_SetObject(PyExc_TypeError, errmsg);
913 Py_DECREF(errmsg);
69223c70 914 }
c32bde28 915 return 0;
15afbcd0
RD
916}
917
918
c32bde28
RD
919SWIGSTATICINLINE(double)
920SWIG_As_double(PyObject* obj)
15afbcd0 921{
c32bde28
RD
922 double v;
923 if (!SWIG_AsVal_double(obj, &v)) {
924 /*
925 this is needed to make valgrind/purify happier. the other
926 solution is throw an exception, but since this code should work
927 with plain C ....
928 */
929 memset((void*)&v, 0, sizeof(double));
15afbcd0 930 }
c32bde28
RD
931 return v;
932}
933
934
935SWIGSTATICINLINE(int)
936SWIG_Check_double(PyObject* obj)
937{
938 return SWIG_AsVal_double(obj, (double*)0);
994141e6
RD
939}
940
d14a1e28
RD
941wxRect wxDC_DrawImageLabel(wxDC *self,wxString const &text,wxBitmap const &image,wxRect const &rect,int alignment,int indexAccel){
942 wxRect rv;
943 self->DrawLabel(text, image, rect, alignment, indexAccel, &rv);
944 return rv;
945 }
c32bde28 946
d14a1e28
RD
947wxRect wxDC_GetClippingRect(wxDC *self){
948 wxRect rect;
949 self->GetClippingBox(rect);
950 return rect;
951 }
db914595
RD
952wxArrayInt wxDC_GetPartialTextExtents(wxDC *self,wxString const &text){
953 wxArrayInt widths;
954 self->GetPartialTextExtents(text, widths);
955 return widths;
956 }
c32bde28 957
03e37cd5
RD
958void wxDC_SetLogicalOriginPoint(wxDC *self,wxPoint const &point){
959 self->SetLogicalOrigin(point.x, point.y);
960 }
961void wxDC_SetDeviceOriginPoint(wxDC *self,wxPoint const &point){
962 self->SetDeviceOrigin(point.x, point.y);
963 }
964void wxDC_CalcBoundingBoxPoint(wxDC *self,wxPoint const &point){
965 self->CalcBoundingBox(point.x, point.y);
966 }
d14a1e28
RD
967PyObject *wxDC__DrawPointList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
968 return wxPyDrawXXXList(*self, wxPyDrawXXXPoint, pyCoords, pyPens, pyBrushes);
969 }
970PyObject *wxDC__DrawLineList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
971 return wxPyDrawXXXList(*self, wxPyDrawXXXLine, pyCoords, pyPens, pyBrushes);
972 }
973PyObject *wxDC__DrawRectangleList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
974 return wxPyDrawXXXList(*self, wxPyDrawXXXRectangle, pyCoords, pyPens, pyBrushes);
975 }
976PyObject *wxDC__DrawEllipseList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
977 return wxPyDrawXXXList(*self, wxPyDrawXXXEllipse, pyCoords, pyPens, pyBrushes);
978 }
979PyObject *wxDC__DrawPolygonList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
980 return wxPyDrawXXXList(*self, wxPyDrawXXXPolygon, pyCoords, pyPens, pyBrushes);
981 }
982PyObject *wxDC__DrawTextList(wxDC *self,PyObject *textList,PyObject *pyPoints,PyObject *foregroundList,PyObject *backgroundList){
983 return wxPyDrawTextList(*self, textList, pyPoints, foregroundList, backgroundList);
984 }
985
986static void wxDC_GetBoundingBox(wxDC* dc, int* x1, int* y1, int* x2, int* y2) {
987 *x1 = dc->MinX();
988 *y1 = dc->MinY();
989 *x2 = dc->MaxX();
990 *y2 = dc->MaxY();
991}
992
993
b88bce5f 994#include <wx/dcbuffer.h>
b88bce5f 995
b88bce5f 996
d14a1e28
RD
997#include <wx/dcps.h>
998
999
1000class wxMetaFile : public wxObject {
1001public:
1002 wxMetaFile(const wxString&)
39f61e25 1003 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
1004};
1005
1006class wxMetaFileDC : public wxClientDC {
1007public:
1008 wxMetaFileDC(const wxString&, int, int, const wxString&)
39f61e25 1009 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
1010};
1011
1012
1013
1014class wxPrinterDC : public wxClientDC {
1015public:
1016 wxPrinterDC(const wxPrintData&)
39f61e25 1017 { wxPyRaiseNotImplemented(); }
33b885b9 1018
d14a1e28 1019// wxPrinterDC(const wxString&, const wxString&, const wxString&, bool, int)
39f61e25 1020// { wxPyRaiseNotImplemented(); }
d14a1e28
RD
1021};
1022
1023
1024
1025void wxColourDatabase_Append(wxColourDatabase *self,wxString const &name,int red,int green,int blue){
1026 self->AddColour(name, wxColour(red, green, blue));
1027 }
1028
d14a1e28
RD
1029#include <wx/effects.h>
1030
1031#ifdef __cplusplus
1032extern "C" {
1033#endif
c32bde28 1034static PyObject *_wrap_new_GDIObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1035 PyObject *resultobj;
1036 wxGDIObject *result;
1037 char *kwnames[] = {
1038 NULL
1039 };
1040
1041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GDIObject",kwnames)) goto fail;
1042 {
e3b71cb8 1043 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1044 PyThreadState* __tstate = wxPyBeginAllowThreads();
1045 result = (wxGDIObject *)new wxGDIObject();
1046
1047 wxPyEndAllowThreads(__tstate);
110da5b0 1048 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1049 }
15afbcd0 1050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGDIObject, 1);
d14a1e28
RD
1051 return resultobj;
1052 fail:
1053 return NULL;
1054}
1055
1056
c32bde28 1057static PyObject *_wrap_delete_GDIObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1058 PyObject *resultobj;
1059 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
1060 PyObject * obj0 = 0 ;
1061 char *kwnames[] = {
1062 (char *) "self", NULL
1063 };
1064
1065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GDIObject",kwnames,&obj0)) goto fail;
15afbcd0
RD
1066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGDIObject,
1067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1068 {
1069 PyThreadState* __tstate = wxPyBeginAllowThreads();
1070 delete arg1;
1071
1072 wxPyEndAllowThreads(__tstate);
1073 if (PyErr_Occurred()) SWIG_fail;
1074 }
1075 Py_INCREF(Py_None); resultobj = Py_None;
1076 return resultobj;
1077 fail:
1078 return NULL;
1079}
1080
1081
c32bde28 1082static PyObject *_wrap_GDIObject_GetVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1083 PyObject *resultobj;
1084 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
1085 bool result;
1086 PyObject * obj0 = 0 ;
1087 char *kwnames[] = {
1088 (char *) "self", NULL
1089 };
1090
1091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GDIObject_GetVisible",kwnames,&obj0)) goto fail;
15afbcd0
RD
1092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGDIObject,
1093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1094 {
1095 PyThreadState* __tstate = wxPyBeginAllowThreads();
1096 result = (bool)(arg1)->GetVisible();
1097
1098 wxPyEndAllowThreads(__tstate);
1099 if (PyErr_Occurred()) SWIG_fail;
1100 }
4f89f6a3
RD
1101 {
1102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1103 }
d14a1e28
RD
1104 return resultobj;
1105 fail:
1106 return NULL;
1107}
1108
1109
c32bde28 1110static PyObject *_wrap_GDIObject_SetVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1111 PyObject *resultobj;
1112 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
1113 bool arg2 ;
1114 PyObject * obj0 = 0 ;
1115 PyObject * obj1 = 0 ;
1116 char *kwnames[] = {
1117 (char *) "self",(char *) "visible", NULL
1118 };
1119
1120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GDIObject_SetVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGDIObject,
1122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1123 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 1124 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1125 {
1126 PyThreadState* __tstate = wxPyBeginAllowThreads();
1127 (arg1)->SetVisible(arg2);
1128
1129 wxPyEndAllowThreads(__tstate);
1130 if (PyErr_Occurred()) SWIG_fail;
1131 }
1132 Py_INCREF(Py_None); resultobj = Py_None;
1133 return resultobj;
1134 fail:
1135 return NULL;
1136}
1137
1138
c32bde28 1139static PyObject *_wrap_GDIObject_IsNull(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1140 PyObject *resultobj;
1141 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
1142 bool result;
1143 PyObject * obj0 = 0 ;
1144 char *kwnames[] = {
1145 (char *) "self", NULL
1146 };
1147
1148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GDIObject_IsNull",kwnames,&obj0)) goto fail;
15afbcd0
RD
1149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGDIObject,
1150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1151 {
1152 PyThreadState* __tstate = wxPyBeginAllowThreads();
1153 result = (bool)(arg1)->IsNull();
1154
1155 wxPyEndAllowThreads(__tstate);
1156 if (PyErr_Occurred()) SWIG_fail;
1157 }
4f89f6a3
RD
1158 {
1159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1160 }
d14a1e28
RD
1161 return resultobj;
1162 fail:
1163 return NULL;
1164}
1165
1166
c32bde28 1167static PyObject * GDIObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1168 PyObject *obj;
1169 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1170 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject, obj);
1171 Py_INCREF(obj);
1172 return Py_BuildValue((char *)"");
1173}
c32bde28 1174static PyObject *_wrap_new_Colour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 1175 PyObject *resultobj;
41e2b43e
RD
1176 byte arg1 = (byte) 0 ;
1177 byte arg2 = (byte) 0 ;
1178 byte arg3 = (byte) 0 ;
d14a1e28
RD
1179 wxColour *result;
1180 PyObject * obj0 = 0 ;
1181 PyObject * obj1 = 0 ;
1182 PyObject * obj2 = 0 ;
1183 char *kwnames[] = {
1184 (char *) "red",(char *) "green",(char *) "blue", NULL
1185 };
1186
1187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_Colour",kwnames,&obj0,&obj1,&obj2)) goto fail;
1188 if (obj0) {
c32bde28 1189 arg1 = (byte)SWIG_As_unsigned_SS_char(obj0);
15afbcd0 1190 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1191 }
1192 if (obj1) {
c32bde28 1193 arg2 = (byte)SWIG_As_unsigned_SS_char(obj1);
15afbcd0 1194 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1195 }
1196 if (obj2) {
c32bde28 1197 arg3 = (byte)SWIG_As_unsigned_SS_char(obj2);
15afbcd0 1198 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1199 }
1200 {
1201 PyThreadState* __tstate = wxPyBeginAllowThreads();
1202 result = (wxColour *)new wxColour(arg1,arg2,arg3);
1203
1204 wxPyEndAllowThreads(__tstate);
1205 if (PyErr_Occurred()) SWIG_fail;
1206 }
15afbcd0 1207 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1208 return resultobj;
1209 fail:
1210 return NULL;
1211}
1212
1213
c32bde28 1214static PyObject *_wrap_new_NamedColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1215 PyObject *resultobj;
1216 wxString *arg1 = 0 ;
1217 wxColour *result;
e811c8ce 1218 bool temp1 = False ;
d14a1e28
RD
1219 PyObject * obj0 = 0 ;
1220 char *kwnames[] = {
1221 (char *) "colorName", NULL
1222 };
1223
1224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NamedColour",kwnames,&obj0)) goto fail;
1225 {
1226 arg1 = wxString_in_helper(obj0);
1227 if (arg1 == NULL) SWIG_fail;
e811c8ce 1228 temp1 = True;
d14a1e28
RD
1229 }
1230 {
eab6e45e 1231 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1232 PyThreadState* __tstate = wxPyBeginAllowThreads();
1233 result = (wxColour *)new wxColour((wxString const &)*arg1);
1234
1235 wxPyEndAllowThreads(__tstate);
1236 if (PyErr_Occurred()) SWIG_fail;
1237 }
15afbcd0 1238 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1239 {
1240 if (temp1)
1241 delete arg1;
1242 }
1243 return resultobj;
1244 fail:
1245 {
1246 if (temp1)
1247 delete arg1;
1248 }
1249 return NULL;
1250}
1251
1252
c32bde28 1253static PyObject *_wrap_new_ColourRGB(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1254 PyObject *resultobj;
1255 unsigned long arg1 ;
1256 wxColour *result;
1257 PyObject * obj0 = 0 ;
1258 char *kwnames[] = {
1259 (char *) "colRGB", NULL
1260 };
1261
1262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ColourRGB",kwnames,&obj0)) goto fail;
c32bde28 1263 arg1 = (unsigned long)SWIG_As_unsigned_SS_long(obj0);
15afbcd0 1264 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1265 {
1266 PyThreadState* __tstate = wxPyBeginAllowThreads();
1267 result = (wxColour *)new wxColour(arg1);
1268
1269 wxPyEndAllowThreads(__tstate);
1270 if (PyErr_Occurred()) SWIG_fail;
1271 }
15afbcd0 1272 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1273 return resultobj;
1274 fail:
1275 return NULL;
1276}
1277
1278
c32bde28 1279static PyObject *_wrap_delete_Colour(PyObject *, PyObject *args, PyObject *kwargs) {
b88bce5f
RD
1280 PyObject *resultobj;
1281 wxColour *arg1 = (wxColour *) 0 ;
1282 PyObject * obj0 = 0 ;
1283 char *kwnames[] = {
1284 (char *) "self", NULL
1285 };
1286
1287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Colour",kwnames,&obj0)) goto fail;
15afbcd0
RD
1288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b88bce5f
RD
1290 {
1291 PyThreadState* __tstate = wxPyBeginAllowThreads();
1292 delete arg1;
1293
1294 wxPyEndAllowThreads(__tstate);
1295 if (PyErr_Occurred()) SWIG_fail;
1296 }
1297 Py_INCREF(Py_None); resultobj = Py_None;
1298 return resultobj;
1299 fail:
1300 return NULL;
1301}
1302
1303
c32bde28 1304static PyObject *_wrap_Colour_Red(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1305 PyObject *resultobj;
1306 wxColour *arg1 = (wxColour *) 0 ;
41e2b43e 1307 byte result;
d14a1e28
RD
1308 PyObject * obj0 = 0 ;
1309 char *kwnames[] = {
1310 (char *) "self", NULL
1311 };
1312
1313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Red",kwnames,&obj0)) goto fail;
15afbcd0
RD
1314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1316 {
1317 PyThreadState* __tstate = wxPyBeginAllowThreads();
41e2b43e 1318 result = (byte)(arg1)->Red();
d14a1e28
RD
1319
1320 wxPyEndAllowThreads(__tstate);
1321 if (PyErr_Occurred()) SWIG_fail;
1322 }
c32bde28 1323 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d14a1e28
RD
1324 return resultobj;
1325 fail:
1326 return NULL;
1327}
1328
1329
c32bde28 1330static PyObject *_wrap_Colour_Green(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1331 PyObject *resultobj;
1332 wxColour *arg1 = (wxColour *) 0 ;
41e2b43e 1333 byte result;
d14a1e28
RD
1334 PyObject * obj0 = 0 ;
1335 char *kwnames[] = {
1336 (char *) "self", NULL
1337 };
1338
1339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Green",kwnames,&obj0)) goto fail;
15afbcd0
RD
1340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1342 {
1343 PyThreadState* __tstate = wxPyBeginAllowThreads();
41e2b43e 1344 result = (byte)(arg1)->Green();
d14a1e28
RD
1345
1346 wxPyEndAllowThreads(__tstate);
1347 if (PyErr_Occurred()) SWIG_fail;
1348 }
c32bde28 1349 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d14a1e28
RD
1350 return resultobj;
1351 fail:
1352 return NULL;
1353}
1354
1355
c32bde28 1356static PyObject *_wrap_Colour_Blue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1357 PyObject *resultobj;
1358 wxColour *arg1 = (wxColour *) 0 ;
41e2b43e 1359 byte result;
d14a1e28
RD
1360 PyObject * obj0 = 0 ;
1361 char *kwnames[] = {
1362 (char *) "self", NULL
1363 };
1364
1365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Blue",kwnames,&obj0)) goto fail;
15afbcd0
RD
1366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1368 {
1369 PyThreadState* __tstate = wxPyBeginAllowThreads();
41e2b43e 1370 result = (byte)(arg1)->Blue();
d14a1e28
RD
1371
1372 wxPyEndAllowThreads(__tstate);
1373 if (PyErr_Occurred()) SWIG_fail;
1374 }
c32bde28 1375 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d14a1e28
RD
1376 return resultobj;
1377 fail:
1378 return NULL;
1379}
1380
1381
c32bde28 1382static PyObject *_wrap_Colour_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1383 PyObject *resultobj;
1384 wxColour *arg1 = (wxColour *) 0 ;
1385 bool result;
1386 PyObject * obj0 = 0 ;
1387 char *kwnames[] = {
1388 (char *) "self", NULL
1389 };
1390
1391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
1392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1394 {
1395 PyThreadState* __tstate = wxPyBeginAllowThreads();
1396 result = (bool)(arg1)->Ok();
1397
1398 wxPyEndAllowThreads(__tstate);
1399 if (PyErr_Occurred()) SWIG_fail;
1400 }
4f89f6a3
RD
1401 {
1402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1403 }
d14a1e28
RD
1404 return resultobj;
1405 fail:
1406 return NULL;
1407}
1408
1409
c32bde28 1410static PyObject *_wrap_Colour_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1411 PyObject *resultobj;
1412 wxColour *arg1 = (wxColour *) 0 ;
41e2b43e
RD
1413 byte arg2 ;
1414 byte arg3 ;
1415 byte arg4 ;
d14a1e28
RD
1416 PyObject * obj0 = 0 ;
1417 PyObject * obj1 = 0 ;
1418 PyObject * obj2 = 0 ;
1419 PyObject * obj3 = 0 ;
1420 char *kwnames[] = {
1421 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1422 };
1423
1424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Colour_Set",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
1425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1427 arg2 = (byte)SWIG_As_unsigned_SS_char(obj1);
15afbcd0 1428 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1429 arg3 = (byte)SWIG_As_unsigned_SS_char(obj2);
15afbcd0 1430 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1431 arg4 = (byte)SWIG_As_unsigned_SS_char(obj3);
15afbcd0 1432 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1433 {
1434 PyThreadState* __tstate = wxPyBeginAllowThreads();
1435 (arg1)->Set(arg2,arg3,arg4);
1436
1437 wxPyEndAllowThreads(__tstate);
1438 if (PyErr_Occurred()) SWIG_fail;
1439 }
1440 Py_INCREF(Py_None); resultobj = Py_None;
1441 return resultobj;
1442 fail:
1443 return NULL;
1444}
1445
1446
c32bde28 1447static PyObject *_wrap_Colour_SetRGB(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1448 PyObject *resultobj;
1449 wxColour *arg1 = (wxColour *) 0 ;
1450 unsigned long arg2 ;
1451 PyObject * obj0 = 0 ;
1452 PyObject * obj1 = 0 ;
1453 char *kwnames[] = {
1454 (char *) "self",(char *) "colRGB", NULL
1455 };
1456
c9c7117a 1457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour_SetRGB",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1460 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 1461 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1462 {
1463 PyThreadState* __tstate = wxPyBeginAllowThreads();
1464 (arg1)->Set(arg2);
1465
1466 wxPyEndAllowThreads(__tstate);
1467 if (PyErr_Occurred()) SWIG_fail;
1468 }
1469 Py_INCREF(Py_None); resultobj = Py_None;
1470 return resultobj;
1471 fail:
1472 return NULL;
1473}
1474
1475
c32bde28 1476static PyObject *_wrap_Colour_SetFromName(PyObject *, PyObject *args, PyObject *kwargs) {
b88bce5f
RD
1477 PyObject *resultobj;
1478 wxColour *arg1 = (wxColour *) 0 ;
1479 wxString *arg2 = 0 ;
1480 bool temp2 = False ;
1481 PyObject * obj0 = 0 ;
1482 PyObject * obj1 = 0 ;
1483 char *kwnames[] = {
1484 (char *) "self",(char *) "colourName", NULL
1485 };
1486
1487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour_SetFromName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b88bce5f
RD
1490 {
1491 arg2 = wxString_in_helper(obj1);
1492 if (arg2 == NULL) SWIG_fail;
1493 temp2 = True;
1494 }
1495 {
1496 PyThreadState* __tstate = wxPyBeginAllowThreads();
1497 (arg1)->InitFromName((wxString const &)*arg2);
1498
1499 wxPyEndAllowThreads(__tstate);
1500 if (PyErr_Occurred()) SWIG_fail;
1501 }
1502 Py_INCREF(Py_None); resultobj = Py_None;
1503 {
1504 if (temp2)
1505 delete arg2;
1506 }
1507 return resultobj;
1508 fail:
1509 {
1510 if (temp2)
1511 delete arg2;
1512 }
1513 return NULL;
1514}
1515
1516
c32bde28 1517static PyObject *_wrap_Colour_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) {
b88bce5f
RD
1518 PyObject *resultobj;
1519 wxColour *arg1 = (wxColour *) 0 ;
1520 long result;
1521 PyObject * obj0 = 0 ;
1522 char *kwnames[] = {
1523 (char *) "self", NULL
1524 };
1525
1526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_GetPixel",kwnames,&obj0)) goto fail;
15afbcd0
RD
1527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b88bce5f
RD
1529 {
1530 PyThreadState* __tstate = wxPyBeginAllowThreads();
1531 result = (long)((wxColour const *)arg1)->GetPixel();
1532
1533 wxPyEndAllowThreads(__tstate);
1534 if (PyErr_Occurred()) SWIG_fail;
1535 }
c32bde28 1536 resultobj = SWIG_From_long((long)result);
b88bce5f
RD
1537 return resultobj;
1538 fail:
1539 return NULL;
1540}
1541
1542
c32bde28 1543static PyObject *_wrap_Colour___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1544 PyObject *resultobj;
1545 wxColour *arg1 = (wxColour *) 0 ;
1546 wxColour *arg2 = 0 ;
1547 bool result;
1548 wxColour temp2 ;
1549 PyObject * obj0 = 0 ;
1550 PyObject * obj1 = 0 ;
1551 char *kwnames[] = {
1552 (char *) "self",(char *) "colour", NULL
1553 };
1554
1555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1558 {
1559 arg2 = &temp2;
1560 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
1561 }
1562 {
1563 PyThreadState* __tstate = wxPyBeginAllowThreads();
1564 result = (bool)((wxColour const *)arg1)->operator ==((wxColour const &)*arg2);
1565
1566 wxPyEndAllowThreads(__tstate);
1567 if (PyErr_Occurred()) SWIG_fail;
1568 }
4f89f6a3
RD
1569 {
1570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1571 }
d14a1e28
RD
1572 return resultobj;
1573 fail:
1574 return NULL;
1575}
1576
1577
c32bde28 1578static PyObject *_wrap_Colour___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1579 PyObject *resultobj;
1580 wxColour *arg1 = (wxColour *) 0 ;
1581 wxColour *arg2 = 0 ;
1582 bool result;
1583 wxColour temp2 ;
1584 PyObject * obj0 = 0 ;
1585 PyObject * obj1 = 0 ;
1586 char *kwnames[] = {
1587 (char *) "self",(char *) "colour", NULL
1588 };
1589
1590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1593 {
1594 arg2 = &temp2;
1595 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
1596 }
1597 {
1598 PyThreadState* __tstate = wxPyBeginAllowThreads();
1599 result = (bool)((wxColour const *)arg1)->operator !=((wxColour const &)*arg2);
1600
1601 wxPyEndAllowThreads(__tstate);
1602 if (PyErr_Occurred()) SWIG_fail;
1603 }
4f89f6a3
RD
1604 {
1605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1606 }
d14a1e28
RD
1607 return resultobj;
1608 fail:
1609 return NULL;
1610}
1611
1612
c32bde28 1613static PyObject *_wrap_Colour_Get(PyObject *, PyObject *args, PyObject *kwargs) {
c9c7117a
RD
1614 PyObject *resultobj;
1615 wxColour *arg1 = (wxColour *) 0 ;
b88bce5f 1616 PyObject *result;
c9c7117a 1617 PyObject * obj0 = 0 ;
c9c7117a 1618 char *kwnames[] = {
b88bce5f 1619 (char *) "self", NULL
c9c7117a
RD
1620 };
1621
b88bce5f 1622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
1623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
1625 {
1626 PyThreadState* __tstate = wxPyBeginAllowThreads();
b88bce5f 1627 result = (PyObject *)wxColour_Get(arg1);
c9c7117a
RD
1628
1629 wxPyEndAllowThreads(__tstate);
1630 if (PyErr_Occurred()) SWIG_fail;
1631 }
b88bce5f 1632 resultobj = result;
c9c7117a
RD
1633 return resultobj;
1634 fail:
c9c7117a
RD
1635 return NULL;
1636}
1637
1638
c32bde28 1639static PyObject *_wrap_Colour_GetRGB(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1640 PyObject *resultobj;
1641 wxColour *arg1 = (wxColour *) 0 ;
b88bce5f 1642 unsigned long result;
d14a1e28
RD
1643 PyObject * obj0 = 0 ;
1644 char *kwnames[] = {
1645 (char *) "self", NULL
1646 };
1647
b88bce5f 1648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_GetRGB",kwnames,&obj0)) goto fail;
15afbcd0
RD
1649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1651 {
1652 PyThreadState* __tstate = wxPyBeginAllowThreads();
b88bce5f 1653 result = (unsigned long)wxColour_GetRGB(arg1);
d14a1e28
RD
1654
1655 wxPyEndAllowThreads(__tstate);
1656 if (PyErr_Occurred()) SWIG_fail;
1657 }
c32bde28 1658 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
1659 return resultobj;
1660 fail:
1661 return NULL;
1662}
1663
1664
c32bde28 1665static PyObject * Colour_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1666 PyObject *obj;
1667 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1668 SWIG_TypeClientData(SWIGTYPE_p_wxColour, obj);
1669 Py_INCREF(obj);
1670 return Py_BuildValue((char *)"");
1671}
c32bde28 1672static PyObject *_wrap_new_Palette(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1673 PyObject *resultobj;
1674 int arg1 ;
1675 unsigned char *arg2 = (unsigned char *) 0 ;
1676 unsigned char *arg3 = (unsigned char *) 0 ;
1677 unsigned char *arg4 = (unsigned char *) 0 ;
1678 wxPalette *result;
994141e6 1679 PyObject * obj0 = 0 ;
d14a1e28
RD
1680 PyObject * obj1 = 0 ;
1681 PyObject * obj2 = 0 ;
1682 PyObject * obj3 = 0 ;
1683 char *kwnames[] = {
1684 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1685 };
1686
994141e6 1687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_Palette",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
c32bde28 1688 arg1 = (int)SWIG_As_int(obj0);
15afbcd0
RD
1689 if (PyErr_Occurred()) SWIG_fail;
1690 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_char,
1691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1692 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_unsigned_char,
1693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1694 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_unsigned_char,
1695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 1696 {
e3b71cb8 1697 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1698 PyThreadState* __tstate = wxPyBeginAllowThreads();
1699 result = (wxPalette *)new wxPalette(arg1,(unsigned char const *)arg2,(unsigned char const *)arg3,(unsigned char const *)arg4);
1700
1701 wxPyEndAllowThreads(__tstate);
110da5b0 1702 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1703 }
15afbcd0 1704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPalette, 1);
d14a1e28
RD
1705 return resultobj;
1706 fail:
1707 return NULL;
1708}
1709
1710
c32bde28 1711static PyObject *_wrap_delete_Palette(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1712 PyObject *resultobj;
1713 wxPalette *arg1 = (wxPalette *) 0 ;
1714 PyObject * obj0 = 0 ;
1715 char *kwnames[] = {
1716 (char *) "self", NULL
1717 };
1718
1719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Palette",kwnames,&obj0)) goto fail;
15afbcd0
RD
1720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPalette,
1721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1722 {
1723 PyThreadState* __tstate = wxPyBeginAllowThreads();
1724 delete arg1;
1725
1726 wxPyEndAllowThreads(__tstate);
1727 if (PyErr_Occurred()) SWIG_fail;
1728 }
1729 Py_INCREF(Py_None); resultobj = Py_None;
1730 return resultobj;
1731 fail:
1732 return NULL;
1733}
1734
1735
c32bde28 1736static PyObject *_wrap_Palette_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1737 PyObject *resultobj;
1738 wxPalette *arg1 = (wxPalette *) 0 ;
1739 byte arg2 ;
1740 byte arg3 ;
1741 byte arg4 ;
1742 int result;
1743 PyObject * obj0 = 0 ;
1744 PyObject * obj1 = 0 ;
1745 PyObject * obj2 = 0 ;
1746 PyObject * obj3 = 0 ;
1747 char *kwnames[] = {
1748 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1749 };
1750
1751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Palette_GetPixel",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
1752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPalette,
1753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1754 arg2 = (byte)SWIG_As_unsigned_SS_char(obj1);
15afbcd0 1755 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1756 arg3 = (byte)SWIG_As_unsigned_SS_char(obj2);
15afbcd0 1757 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1758 arg4 = (byte)SWIG_As_unsigned_SS_char(obj3);
15afbcd0 1759 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1760 {
1761 PyThreadState* __tstate = wxPyBeginAllowThreads();
1762 result = (int)(arg1)->GetPixel(arg2,arg3,arg4);
1763
1764 wxPyEndAllowThreads(__tstate);
1765 if (PyErr_Occurred()) SWIG_fail;
1766 }
c32bde28 1767 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
1768 return resultobj;
1769 fail:
1770 return NULL;
1771}
1772
1773
c32bde28 1774static PyObject *_wrap_Palette_GetRGB(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1775 PyObject *resultobj;
1776 wxPalette *arg1 = (wxPalette *) 0 ;
1777 int arg2 ;
1778 byte *arg3 = (byte *) 0 ;
1779 byte *arg4 = (byte *) 0 ;
1780 byte *arg5 = (byte *) 0 ;
1781 bool result;
1782 byte temp3 ;
c32bde28 1783 int res3 = 0 ;
d14a1e28 1784 byte temp4 ;
c32bde28 1785 int res4 = 0 ;
d14a1e28 1786 byte temp5 ;
c32bde28 1787 int res5 = 0 ;
d14a1e28 1788 PyObject * obj0 = 0 ;
994141e6 1789 PyObject * obj1 = 0 ;
d14a1e28
RD
1790 char *kwnames[] = {
1791 (char *) "self",(char *) "pixel", NULL
1792 };
1793
c32bde28
RD
1794 arg3 = &temp3; res3 = SWIG_NEWOBJ;
1795 arg4 = &temp4; res4 = SWIG_NEWOBJ;
1796 arg5 = &temp5; res5 = SWIG_NEWOBJ;
994141e6 1797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Palette_GetRGB",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPalette,
1799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1800 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 1801 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1802 {
1803 PyThreadState* __tstate = wxPyBeginAllowThreads();
1804 result = (bool)(arg1)->GetRGB(arg2,arg3,arg4,arg5);
1805
1806 wxPyEndAllowThreads(__tstate);
1807 if (PyErr_Occurred()) SWIG_fail;
1808 }
4f89f6a3
RD
1809 {
1810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1811 }
c32bde28
RD
1812 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
1813 SWIG_From_unsigned_SS_char((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_byte, 0)));
1814 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
1815 SWIG_From_unsigned_SS_char((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_byte, 0)));
1816 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
1817 SWIG_From_unsigned_SS_char((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_byte, 0)));
d14a1e28
RD
1818 return resultobj;
1819 fail:
1820 return NULL;
1821}
1822
1823
c32bde28 1824static PyObject *_wrap_Palette_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1825 PyObject *resultobj;
1826 wxPalette *arg1 = (wxPalette *) 0 ;
1827 bool result;
1828 PyObject * obj0 = 0 ;
1829 char *kwnames[] = {
1830 (char *) "self", NULL
1831 };
1832
1833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Palette_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
1834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPalette,
1835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1836 {
1837 PyThreadState* __tstate = wxPyBeginAllowThreads();
1838 result = (bool)(arg1)->Ok();
1839
1840 wxPyEndAllowThreads(__tstate);
1841 if (PyErr_Occurred()) SWIG_fail;
1842 }
4f89f6a3
RD
1843 {
1844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1845 }
d14a1e28
RD
1846 return resultobj;
1847 fail:
1848 return NULL;
1849}
1850
1851
c32bde28 1852static PyObject * Palette_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1853 PyObject *obj;
1854 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1855 SWIG_TypeClientData(SWIGTYPE_p_wxPalette, obj);
1856 Py_INCREF(obj);
1857 return Py_BuildValue((char *)"");
1858}
c32bde28 1859static PyObject *_wrap_new_Pen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1860 PyObject *resultobj;
1861 wxColour *arg1 = 0 ;
1862 int arg2 = (int) 1 ;
1863 int arg3 = (int) wxSOLID ;
1864 wxPen *result;
1865 wxColour temp1 ;
1866 PyObject * obj0 = 0 ;
994141e6
RD
1867 PyObject * obj1 = 0 ;
1868 PyObject * obj2 = 0 ;
d14a1e28
RD
1869 char *kwnames[] = {
1870 (char *) "colour",(char *) "width",(char *) "style", NULL
1871 };
1872
994141e6 1873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Pen",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
1874 {
1875 arg1 = &temp1;
1876 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
1877 }
994141e6 1878 if (obj1) {
c32bde28 1879 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 1880 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
1881 }
1882 if (obj2) {
c32bde28 1883 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 1884 if (PyErr_Occurred()) SWIG_fail;
994141e6 1885 }
d14a1e28 1886 {
e3b71cb8 1887 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1888 PyThreadState* __tstate = wxPyBeginAllowThreads();
1889 result = (wxPen *)new wxPen(*arg1,arg2,arg3);
1890
1891 wxPyEndAllowThreads(__tstate);
110da5b0 1892 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1893 }
15afbcd0 1894 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 1);
d14a1e28
RD
1895 return resultobj;
1896 fail:
1897 return NULL;
1898}
1899
1900
c32bde28 1901static PyObject *_wrap_delete_Pen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1902 PyObject *resultobj;
1903 wxPen *arg1 = (wxPen *) 0 ;
1904 PyObject * obj0 = 0 ;
1905 char *kwnames[] = {
1906 (char *) "self", NULL
1907 };
1908
1909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Pen",kwnames,&obj0)) goto fail;
15afbcd0
RD
1910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1912 {
1913 PyThreadState* __tstate = wxPyBeginAllowThreads();
1914 delete arg1;
1915
1916 wxPyEndAllowThreads(__tstate);
1917 if (PyErr_Occurred()) SWIG_fail;
1918 }
1919 Py_INCREF(Py_None); resultobj = Py_None;
1920 return resultobj;
1921 fail:
1922 return NULL;
1923}
1924
1925
c32bde28 1926static PyObject *_wrap_Pen_GetCap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1927 PyObject *resultobj;
1928 wxPen *arg1 = (wxPen *) 0 ;
1929 int result;
1930 PyObject * obj0 = 0 ;
1931 char *kwnames[] = {
1932 (char *) "self", NULL
1933 };
1934
1935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetCap",kwnames,&obj0)) goto fail;
15afbcd0
RD
1936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1938 {
1939 PyThreadState* __tstate = wxPyBeginAllowThreads();
1940 result = (int)(arg1)->GetCap();
1941
1942 wxPyEndAllowThreads(__tstate);
1943 if (PyErr_Occurred()) SWIG_fail;
1944 }
c32bde28 1945 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
1946 return resultobj;
1947 fail:
1948 return NULL;
1949}
1950
1951
c32bde28 1952static PyObject *_wrap_Pen_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1953 PyObject *resultobj;
1954 wxPen *arg1 = (wxPen *) 0 ;
1955 wxColour result;
1956 PyObject * obj0 = 0 ;
1957 char *kwnames[] = {
1958 (char *) "self", NULL
1959 };
1960
1961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
1962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1964 {
1965 PyThreadState* __tstate = wxPyBeginAllowThreads();
1966 result = (arg1)->GetColour();
1967
1968 wxPyEndAllowThreads(__tstate);
1969 if (PyErr_Occurred()) SWIG_fail;
1970 }
1971 {
1972 wxColour * resultptr;
1973 resultptr = new wxColour((wxColour &) result);
15afbcd0 1974 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1975 }
1976 return resultobj;
1977 fail:
1978 return NULL;
1979}
1980
1981
c32bde28 1982static PyObject *_wrap_Pen_GetJoin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1983 PyObject *resultobj;
1984 wxPen *arg1 = (wxPen *) 0 ;
1985 int result;
1986 PyObject * obj0 = 0 ;
1987 char *kwnames[] = {
1988 (char *) "self", NULL
1989 };
1990
1991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetJoin",kwnames,&obj0)) goto fail;
15afbcd0
RD
1992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1994 {
1995 PyThreadState* __tstate = wxPyBeginAllowThreads();
1996 result = (int)(arg1)->GetJoin();
1997
1998 wxPyEndAllowThreads(__tstate);
1999 if (PyErr_Occurred()) SWIG_fail;
2000 }
c32bde28 2001 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2002 return resultobj;
2003 fail:
2004 return NULL;
2005}
2006
2007
c32bde28 2008static PyObject *_wrap_Pen_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2009 PyObject *resultobj;
2010 wxPen *arg1 = (wxPen *) 0 ;
2011 int result;
2012 PyObject * obj0 = 0 ;
2013 char *kwnames[] = {
2014 (char *) "self", NULL
2015 };
2016
2017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
2018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2020 {
2021 PyThreadState* __tstate = wxPyBeginAllowThreads();
2022 result = (int)(arg1)->GetStyle();
2023
2024 wxPyEndAllowThreads(__tstate);
2025 if (PyErr_Occurred()) SWIG_fail;
2026 }
c32bde28 2027 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2028 return resultobj;
2029 fail:
2030 return NULL;
2031}
2032
2033
c32bde28 2034static PyObject *_wrap_Pen_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2035 PyObject *resultobj;
2036 wxPen *arg1 = (wxPen *) 0 ;
2037 int result;
2038 PyObject * obj0 = 0 ;
2039 char *kwnames[] = {
2040 (char *) "self", NULL
2041 };
2042
2043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
2044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2046 {
2047 PyThreadState* __tstate = wxPyBeginAllowThreads();
2048 result = (int)(arg1)->GetWidth();
2049
2050 wxPyEndAllowThreads(__tstate);
2051 if (PyErr_Occurred()) SWIG_fail;
2052 }
c32bde28 2053 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2054 return resultobj;
2055 fail:
2056 return NULL;
2057}
2058
2059
c32bde28 2060static PyObject *_wrap_Pen_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2061 PyObject *resultobj;
2062 wxPen *arg1 = (wxPen *) 0 ;
2063 bool result;
2064 PyObject * obj0 = 0 ;
2065 char *kwnames[] = {
2066 (char *) "self", NULL
2067 };
2068
2069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
2070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2072 {
2073 PyThreadState* __tstate = wxPyBeginAllowThreads();
2074 result = (bool)(arg1)->Ok();
2075
2076 wxPyEndAllowThreads(__tstate);
2077 if (PyErr_Occurred()) SWIG_fail;
2078 }
4f89f6a3
RD
2079 {
2080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2081 }
d14a1e28
RD
2082 return resultobj;
2083 fail:
2084 return NULL;
2085}
2086
2087
c32bde28 2088static PyObject *_wrap_Pen_SetCap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2089 PyObject *resultobj;
2090 wxPen *arg1 = (wxPen *) 0 ;
2091 int arg2 ;
2092 PyObject * obj0 = 0 ;
994141e6 2093 PyObject * obj1 = 0 ;
d14a1e28
RD
2094 char *kwnames[] = {
2095 (char *) "self",(char *) "cap_style", NULL
2096 };
2097
994141e6 2098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetCap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2101 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2102 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2103 {
2104 PyThreadState* __tstate = wxPyBeginAllowThreads();
2105 (arg1)->SetCap(arg2);
2106
2107 wxPyEndAllowThreads(__tstate);
2108 if (PyErr_Occurred()) SWIG_fail;
2109 }
2110 Py_INCREF(Py_None); resultobj = Py_None;
2111 return resultobj;
2112 fail:
2113 return NULL;
2114}
2115
2116
c32bde28 2117static PyObject *_wrap_Pen_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2118 PyObject *resultobj;
2119 wxPen *arg1 = (wxPen *) 0 ;
2120 wxColour *arg2 = 0 ;
2121 wxColour temp2 ;
2122 PyObject * obj0 = 0 ;
2123 PyObject * obj1 = 0 ;
2124 char *kwnames[] = {
2125 (char *) "self",(char *) "colour", NULL
2126 };
2127
2128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2131 {
2132 arg2 = &temp2;
2133 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2134 }
2135 {
2136 PyThreadState* __tstate = wxPyBeginAllowThreads();
2137 (arg1)->SetColour(*arg2);
2138
2139 wxPyEndAllowThreads(__tstate);
2140 if (PyErr_Occurred()) SWIG_fail;
2141 }
2142 Py_INCREF(Py_None); resultobj = Py_None;
2143 return resultobj;
2144 fail:
2145 return NULL;
2146}
2147
2148
c32bde28 2149static PyObject *_wrap_Pen_SetJoin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2150 PyObject *resultobj;
2151 wxPen *arg1 = (wxPen *) 0 ;
2152 int arg2 ;
2153 PyObject * obj0 = 0 ;
994141e6 2154 PyObject * obj1 = 0 ;
d14a1e28
RD
2155 char *kwnames[] = {
2156 (char *) "self",(char *) "join_style", NULL
2157 };
2158
994141e6 2159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetJoin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2162 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2163 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2164 {
2165 PyThreadState* __tstate = wxPyBeginAllowThreads();
2166 (arg1)->SetJoin(arg2);
2167
2168 wxPyEndAllowThreads(__tstate);
2169 if (PyErr_Occurred()) SWIG_fail;
2170 }
2171 Py_INCREF(Py_None); resultobj = Py_None;
2172 return resultobj;
2173 fail:
2174 return NULL;
2175}
2176
2177
c32bde28 2178static PyObject *_wrap_Pen_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2179 PyObject *resultobj;
2180 wxPen *arg1 = (wxPen *) 0 ;
2181 int arg2 ;
2182 PyObject * obj0 = 0 ;
994141e6 2183 PyObject * obj1 = 0 ;
d14a1e28
RD
2184 char *kwnames[] = {
2185 (char *) "self",(char *) "style", NULL
2186 };
2187
994141e6 2188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2191 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2192 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2193 {
2194 PyThreadState* __tstate = wxPyBeginAllowThreads();
2195 (arg1)->SetStyle(arg2);
2196
2197 wxPyEndAllowThreads(__tstate);
2198 if (PyErr_Occurred()) SWIG_fail;
2199 }
2200 Py_INCREF(Py_None); resultobj = Py_None;
2201 return resultobj;
2202 fail:
2203 return NULL;
2204}
2205
2206
c32bde28 2207static PyObject *_wrap_Pen_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2208 PyObject *resultobj;
2209 wxPen *arg1 = (wxPen *) 0 ;
2210 int arg2 ;
2211 PyObject * obj0 = 0 ;
994141e6 2212 PyObject * obj1 = 0 ;
d14a1e28
RD
2213 char *kwnames[] = {
2214 (char *) "self",(char *) "width", NULL
2215 };
2216
994141e6 2217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2220 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2221 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2222 {
2223 PyThreadState* __tstate = wxPyBeginAllowThreads();
2224 (arg1)->SetWidth(arg2);
2225
2226 wxPyEndAllowThreads(__tstate);
2227 if (PyErr_Occurred()) SWIG_fail;
2228 }
2229 Py_INCREF(Py_None); resultobj = Py_None;
2230 return resultobj;
2231 fail:
2232 return NULL;
2233}
2234
2235
c32bde28 2236static PyObject *_wrap_Pen_SetDashes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2237 PyObject *resultobj;
2238 wxPen *arg1 = (wxPen *) 0 ;
2239 int arg2 ;
2240 wxDash *arg3 = (wxDash *) 0 ;
2241 PyObject * obj0 = 0 ;
2242 PyObject * obj1 = 0 ;
2243 char *kwnames[] = {
2244 (char *) "self",(char *) "dashes", NULL
2245 };
2246
2247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetDashes",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2250 {
2251 arg2 = PyList_Size(obj1);
2252 arg3 = (wxDash*)byte_LIST_helper(obj1);
2253 if (arg3 == NULL) SWIG_fail;
2254 }
2255 {
2256 PyThreadState* __tstate = wxPyBeginAllowThreads();
2257 (arg1)->SetDashes(arg2,arg3);
2258
2259 wxPyEndAllowThreads(__tstate);
2260 if (PyErr_Occurred()) SWIG_fail;
2261 }
2262 Py_INCREF(Py_None); resultobj = Py_None;
2263 {
2264 if (arg3) delete [] arg3;
2265 }
2266 return resultobj;
2267 fail:
2268 {
2269 if (arg3) delete [] arg3;
2270 }
2271 return NULL;
2272}
2273
2274
c32bde28 2275static PyObject *_wrap_Pen_GetDashes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2276 PyObject *resultobj;
2277 wxPen *arg1 = (wxPen *) 0 ;
2278 PyObject *result;
2279 PyObject * obj0 = 0 ;
2280 char *kwnames[] = {
2281 (char *) "self", NULL
2282 };
2283
2284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetDashes",kwnames,&obj0)) goto fail;
15afbcd0
RD
2285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2287 {
2288 PyThreadState* __tstate = wxPyBeginAllowThreads();
2289 result = (PyObject *)wxPen_GetDashes(arg1);
2290
2291 wxPyEndAllowThreads(__tstate);
2292 if (PyErr_Occurred()) SWIG_fail;
2293 }
2294 resultobj = result;
2295 return resultobj;
2296 fail:
2297 return NULL;
2298}
2299
2300
c32bde28 2301static PyObject *_wrap_Pen__SetDashes(PyObject *, PyObject *args, PyObject *kwargs) {
22faec7d
RD
2302 PyObject *resultobj;
2303 wxPen *arg1 = (wxPen *) 0 ;
66c033b4
RD
2304 PyObject *arg2 = (PyObject *) 0 ;
2305 PyObject *arg3 = (PyObject *) 0 ;
22faec7d
RD
2306 PyObject * obj0 = 0 ;
2307 PyObject * obj1 = 0 ;
66c033b4 2308 PyObject * obj2 = 0 ;
22faec7d 2309 char *kwnames[] = {
66c033b4 2310 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
22faec7d
RD
2311 };
2312
66c033b4 2313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Pen__SetDashes",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
66c033b4
RD
2316 arg2 = obj1;
2317 arg3 = obj2;
3adfb63b
RD
2318 {
2319 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 2320 wxPen__SetDashes(arg1,arg2,arg3);
3adfb63b
RD
2321
2322 wxPyEndAllowThreads(__tstate);
2323 if (PyErr_Occurred()) SWIG_fail;
2324 }
66c033b4 2325 Py_INCREF(Py_None); resultobj = Py_None;
3adfb63b
RD
2326 return resultobj;
2327 fail:
2328 return NULL;
2329}
2330
2331
c32bde28 2332static PyObject *_wrap_Pen_GetDashCount(PyObject *, PyObject *args, PyObject *kwargs) {
c9c7117a
RD
2333 PyObject *resultobj;
2334 wxPen *arg1 = (wxPen *) 0 ;
2335 int result;
2336 PyObject * obj0 = 0 ;
2337 char *kwnames[] = {
2338 (char *) "self", NULL
2339 };
2340
2341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetDashCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
2342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
2344 {
2345 PyThreadState* __tstate = wxPyBeginAllowThreads();
2346 result = (int)((wxPen const *)arg1)->GetDashCount();
2347
2348 wxPyEndAllowThreads(__tstate);
2349 if (PyErr_Occurred()) SWIG_fail;
2350 }
c32bde28 2351 resultobj = SWIG_From_int((int)result);
c9c7117a
RD
2352 return resultobj;
2353 fail:
2354 return NULL;
2355}
2356
2357
c32bde28 2358static PyObject *_wrap_Pen___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 2359 PyObject *resultobj;
66c033b4
RD
2360 wxPen *arg1 = (wxPen *) 0 ;
2361 wxPen *arg2 = (wxPen *) 0 ;
2362 bool result;
d14a1e28 2363 PyObject * obj0 = 0 ;
994141e6 2364 PyObject * obj1 = 0 ;
d14a1e28 2365 char *kwnames[] = {
66c033b4 2366 (char *) "self",(char *) "other", NULL
d14a1e28
RD
2367 };
2368
66c033b4
RD
2369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen___eq__",kwnames,&obj0,&obj1)) goto fail;
2370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2372 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPen,
2373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2374 {
2375 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 2376 result = (bool)wxPen___eq__(arg1,(wxPen const *)arg2);
d14a1e28
RD
2377
2378 wxPyEndAllowThreads(__tstate);
2379 if (PyErr_Occurred()) SWIG_fail;
2380 }
d14a1e28 2381 {
66c033b4 2382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28 2383 }
d14a1e28
RD
2384 return resultobj;
2385 fail:
2386 return NULL;
2387}
2388
2389
c32bde28 2390static PyObject *_wrap_Pen___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 2391 PyObject *resultobj;
66c033b4
RD
2392 wxPen *arg1 = (wxPen *) 0 ;
2393 wxPen *arg2 = (wxPen *) 0 ;
2394 bool result;
d14a1e28
RD
2395 PyObject * obj0 = 0 ;
2396 PyObject * obj1 = 0 ;
2397 char *kwnames[] = {
66c033b4 2398 (char *) "self",(char *) "other", NULL
d14a1e28
RD
2399 };
2400
66c033b4
RD
2401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen___ne__",kwnames,&obj0,&obj1)) goto fail;
2402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2404 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPen,
15afbcd0 2405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2406 {
2407 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 2408 result = (bool)wxPen___ne__(arg1,(wxPen const *)arg2);
d14a1e28
RD
2409
2410 wxPyEndAllowThreads(__tstate);
2411 if (PyErr_Occurred()) SWIG_fail;
2412 }
d14a1e28 2413 {
66c033b4 2414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2415 }
2416 return resultobj;
2417 fail:
d14a1e28
RD
2418 return NULL;
2419}
2420
2421
c32bde28 2422static PyObject * Pen_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2423 PyObject *obj;
2424 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
66c033b4 2425 SWIG_TypeClientData(SWIGTYPE_p_wxPen, obj);
d14a1e28
RD
2426 Py_INCREF(obj);
2427 return Py_BuildValue((char *)"");
2428}
c32bde28 2429static PyObject *_wrap_new_Brush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2430 PyObject *resultobj;
2431 wxColour *arg1 = 0 ;
2432 int arg2 = (int) wxSOLID ;
2433 wxBrush *result;
2434 wxColour temp1 ;
2435 PyObject * obj0 = 0 ;
994141e6 2436 PyObject * obj1 = 0 ;
d14a1e28
RD
2437 char *kwnames[] = {
2438 (char *) "colour",(char *) "style", NULL
2439 };
2440
994141e6 2441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Brush",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2442 {
2443 arg1 = &temp1;
2444 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
2445 }
994141e6 2446 if (obj1) {
c32bde28 2447 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2448 if (PyErr_Occurred()) SWIG_fail;
994141e6 2449 }
d14a1e28 2450 {
e3b71cb8 2451 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2452 PyThreadState* __tstate = wxPyBeginAllowThreads();
2453 result = (wxBrush *)new wxBrush((wxColour const &)*arg1,arg2);
2454
2455 wxPyEndAllowThreads(__tstate);
110da5b0 2456 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2457 }
15afbcd0 2458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 1);
d14a1e28
RD
2459 return resultobj;
2460 fail:
2461 return NULL;
2462}
2463
2464
c32bde28 2465static PyObject *_wrap_delete_Brush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2466 PyObject *resultobj;
2467 wxBrush *arg1 = (wxBrush *) 0 ;
2468 PyObject * obj0 = 0 ;
2469 char *kwnames[] = {
2470 (char *) "self", NULL
2471 };
2472
2473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Brush",kwnames,&obj0)) goto fail;
15afbcd0
RD
2474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2476 {
2477 PyThreadState* __tstate = wxPyBeginAllowThreads();
2478 delete arg1;
2479
2480 wxPyEndAllowThreads(__tstate);
2481 if (PyErr_Occurred()) SWIG_fail;
2482 }
2483 Py_INCREF(Py_None); resultobj = Py_None;
2484 return resultobj;
2485 fail:
2486 return NULL;
2487}
2488
2489
c32bde28 2490static PyObject *_wrap_Brush_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2491 PyObject *resultobj;
2492 wxBrush *arg1 = (wxBrush *) 0 ;
2493 wxColour *arg2 = 0 ;
2494 wxColour temp2 ;
2495 PyObject * obj0 = 0 ;
2496 PyObject * obj1 = 0 ;
2497 char *kwnames[] = {
2498 (char *) "self",(char *) "col", NULL
2499 };
2500
2501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Brush_SetColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2504 {
2505 arg2 = &temp2;
2506 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2507 }
2508 {
2509 PyThreadState* __tstate = wxPyBeginAllowThreads();
2510 (arg1)->SetColour((wxColour const &)*arg2);
2511
2512 wxPyEndAllowThreads(__tstate);
2513 if (PyErr_Occurred()) SWIG_fail;
2514 }
2515 Py_INCREF(Py_None); resultobj = Py_None;
2516 return resultobj;
2517 fail:
2518 return NULL;
2519}
2520
2521
c32bde28 2522static PyObject *_wrap_Brush_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2523 PyObject *resultobj;
2524 wxBrush *arg1 = (wxBrush *) 0 ;
2525 int arg2 ;
2526 PyObject * obj0 = 0 ;
994141e6 2527 PyObject * obj1 = 0 ;
d14a1e28
RD
2528 char *kwnames[] = {
2529 (char *) "self",(char *) "style", NULL
2530 };
2531
994141e6 2532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Brush_SetStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2535 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2536 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2537 {
2538 PyThreadState* __tstate = wxPyBeginAllowThreads();
2539 (arg1)->SetStyle(arg2);
2540
2541 wxPyEndAllowThreads(__tstate);
2542 if (PyErr_Occurred()) SWIG_fail;
2543 }
2544 Py_INCREF(Py_None); resultobj = Py_None;
2545 return resultobj;
2546 fail:
2547 return NULL;
2548}
2549
2550
c32bde28 2551static PyObject *_wrap_Brush_SetStipple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2552 PyObject *resultobj;
2553 wxBrush *arg1 = (wxBrush *) 0 ;
2554 wxBitmap *arg2 = 0 ;
2555 PyObject * obj0 = 0 ;
2556 PyObject * obj1 = 0 ;
2557 char *kwnames[] = {
2558 (char *) "self",(char *) "stipple", NULL
2559 };
2560
2561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Brush_SetStipple",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
2565 SWIG_POINTER_EXCEPTION | 0)) == -1)
2566 SWIG_fail;
d14a1e28 2567 if (arg2 == NULL) {
15afbcd0
RD
2568 PyErr_SetString(PyExc_TypeError,"null reference");
2569 SWIG_fail;
d14a1e28
RD
2570 }
2571 {
2572 PyThreadState* __tstate = wxPyBeginAllowThreads();
2573 (arg1)->SetStipple((wxBitmap const &)*arg2);
2574
2575 wxPyEndAllowThreads(__tstate);
2576 if (PyErr_Occurred()) SWIG_fail;
2577 }
2578 Py_INCREF(Py_None); resultobj = Py_None;
2579 return resultobj;
2580 fail:
2581 return NULL;
2582}
2583
2584
c32bde28 2585static PyObject *_wrap_Brush_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2586 PyObject *resultobj;
2587 wxBrush *arg1 = (wxBrush *) 0 ;
2588 wxColour result;
2589 PyObject * obj0 = 0 ;
2590 char *kwnames[] = {
2591 (char *) "self", NULL
2592 };
2593
2594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_GetColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
2595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2597 {
2598 PyThreadState* __tstate = wxPyBeginAllowThreads();
2599 result = ((wxBrush const *)arg1)->GetColour();
2600
2601 wxPyEndAllowThreads(__tstate);
2602 if (PyErr_Occurred()) SWIG_fail;
2603 }
2604 {
2605 wxColour * resultptr;
2606 resultptr = new wxColour((wxColour &) result);
15afbcd0 2607 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
2608 }
2609 return resultobj;
2610 fail:
2611 return NULL;
2612}
2613
2614
c32bde28 2615static PyObject *_wrap_Brush_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2616 PyObject *resultobj;
2617 wxBrush *arg1 = (wxBrush *) 0 ;
2618 int result;
2619 PyObject * obj0 = 0 ;
2620 char *kwnames[] = {
2621 (char *) "self", NULL
2622 };
2623
2624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
2625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2627 {
2628 PyThreadState* __tstate = wxPyBeginAllowThreads();
2629 result = (int)((wxBrush const *)arg1)->GetStyle();
2630
2631 wxPyEndAllowThreads(__tstate);
2632 if (PyErr_Occurred()) SWIG_fail;
2633 }
c32bde28 2634 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2635 return resultobj;
2636 fail:
2637 return NULL;
2638}
2639
2640
c32bde28 2641static PyObject *_wrap_Brush_GetStipple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2642 PyObject *resultobj;
2643 wxBrush *arg1 = (wxBrush *) 0 ;
2644 wxBitmap *result;
2645 PyObject * obj0 = 0 ;
2646 char *kwnames[] = {
2647 (char *) "self", NULL
2648 };
2649
2650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_GetStipple",kwnames,&obj0)) goto fail;
15afbcd0
RD
2651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2653 {
2654 PyThreadState* __tstate = wxPyBeginAllowThreads();
2655 result = (wxBitmap *)((wxBrush const *)arg1)->GetStipple();
2656
2657 wxPyEndAllowThreads(__tstate);
2658 if (PyErr_Occurred()) SWIG_fail;
2659 }
15afbcd0 2660 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 0);
d14a1e28
RD
2661 return resultobj;
2662 fail:
2663 return NULL;
2664}
2665
2666
c32bde28 2667static PyObject *_wrap_Brush_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2668 PyObject *resultobj;
2669 wxBrush *arg1 = (wxBrush *) 0 ;
2670 bool result;
2671 PyObject * obj0 = 0 ;
2672 char *kwnames[] = {
2673 (char *) "self", NULL
2674 };
2675
2676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
2677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2679 {
2680 PyThreadState* __tstate = wxPyBeginAllowThreads();
2681 result = (bool)(arg1)->Ok();
2682
2683 wxPyEndAllowThreads(__tstate);
2684 if (PyErr_Occurred()) SWIG_fail;
2685 }
4f89f6a3
RD
2686 {
2687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2688 }
d14a1e28
RD
2689 return resultobj;
2690 fail:
2691 return NULL;
2692}
2693
2694
c32bde28 2695static PyObject * Brush_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2696 PyObject *obj;
2697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2698 SWIG_TypeClientData(SWIGTYPE_p_wxBrush, obj);
2699 Py_INCREF(obj);
2700 return Py_BuildValue((char *)"");
2701}
c32bde28 2702static PyObject *_wrap_new_Bitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2703 PyObject *resultobj;
2704 wxString *arg1 = 0 ;
2705 int arg2 = (int) wxBITMAP_TYPE_ANY ;
2706 wxBitmap *result;
e811c8ce 2707 bool temp1 = False ;
d14a1e28 2708 PyObject * obj0 = 0 ;
994141e6 2709 PyObject * obj1 = 0 ;
d14a1e28
RD
2710 char *kwnames[] = {
2711 (char *) "name",(char *) "type", NULL
2712 };
2713
994141e6 2714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Bitmap",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2715 {
2716 arg1 = wxString_in_helper(obj0);
2717 if (arg1 == NULL) SWIG_fail;
e811c8ce 2718 temp1 = True;
d14a1e28 2719 }
994141e6 2720 if (obj1) {
c32bde28 2721 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2722 if (PyErr_Occurred()) SWIG_fail;
994141e6 2723 }
d14a1e28 2724 {
e3b71cb8 2725 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2726 PyThreadState* __tstate = wxPyBeginAllowThreads();
2727 result = (wxBitmap *)new wxBitmap((wxString const &)*arg1,(wxBitmapType )arg2);
2728
2729 wxPyEndAllowThreads(__tstate);
110da5b0 2730 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2731 }
15afbcd0 2732 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2733 {
2734 if (temp1)
2735 delete arg1;
2736 }
2737 return resultobj;
2738 fail:
2739 {
2740 if (temp1)
2741 delete arg1;
2742 }
2743 return NULL;
2744}
2745
2746
c32bde28 2747static PyObject *_wrap_delete_Bitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2748 PyObject *resultobj;
2749 wxBitmap *arg1 = (wxBitmap *) 0 ;
2750 PyObject * obj0 = 0 ;
2751 char *kwnames[] = {
2752 (char *) "self", NULL
2753 };
2754
2755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Bitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
2756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2758 {
2759 PyThreadState* __tstate = wxPyBeginAllowThreads();
2760 delete arg1;
2761
2762 wxPyEndAllowThreads(__tstate);
2763 if (PyErr_Occurred()) SWIG_fail;
2764 }
2765 Py_INCREF(Py_None); resultobj = Py_None;
2766 return resultobj;
2767 fail:
2768 return NULL;
2769}
2770
2771
c32bde28 2772static PyObject *_wrap_new_EmptyBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
66c033b4
RD
2773 PyObject *resultobj;
2774 int arg1 ;
2775 int arg2 ;
2776 int arg3 = (int) -1 ;
2777 wxBitmap *result;
2778 PyObject * obj0 = 0 ;
2779 PyObject * obj1 = 0 ;
2780 PyObject * obj2 = 0 ;
2781 char *kwnames[] = {
2782 (char *) "width",(char *) "height",(char *) "depth", NULL
2783 };
2784
2785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_EmptyBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
c32bde28 2786 arg1 = (int)SWIG_As_int(obj0);
66c033b4 2787 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2788 arg2 = (int)SWIG_As_int(obj1);
66c033b4
RD
2789 if (PyErr_Occurred()) SWIG_fail;
2790 if (obj2) {
c32bde28 2791 arg3 = (int)SWIG_As_int(obj2);
66c033b4
RD
2792 if (PyErr_Occurred()) SWIG_fail;
2793 }
2794 {
e3b71cb8 2795 if (!wxPyCheckForApp()) SWIG_fail;
66c033b4
RD
2796 PyThreadState* __tstate = wxPyBeginAllowThreads();
2797 result = (wxBitmap *)new wxBitmap(arg1,arg2,arg3);
2798
2799 wxPyEndAllowThreads(__tstate);
110da5b0 2800 if (PyErr_Occurred()) SWIG_fail;
66c033b4
RD
2801 }
2802 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
2803 return resultobj;
2804 fail:
2805 return NULL;
2806}
2807
2808
c32bde28 2809static PyObject *_wrap_new_BitmapFromIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2810 PyObject *resultobj;
2811 wxIcon *arg1 = 0 ;
2812 wxBitmap *result;
2813 PyObject * obj0 = 0 ;
2814 char *kwnames[] = {
2815 (char *) "icon", NULL
2816 };
2817
2818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BitmapFromIcon",kwnames,&obj0)) goto fail;
15afbcd0
RD
2819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
2820 SWIG_POINTER_EXCEPTION | 0)) == -1)
2821 SWIG_fail;
d14a1e28 2822 if (arg1 == NULL) {
15afbcd0
RD
2823 PyErr_SetString(PyExc_TypeError,"null reference");
2824 SWIG_fail;
d14a1e28
RD
2825 }
2826 {
e3b71cb8 2827 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2828 PyThreadState* __tstate = wxPyBeginAllowThreads();
2829 result = (wxBitmap *)new wxBitmap((wxIcon const &)*arg1);
2830
2831 wxPyEndAllowThreads(__tstate);
110da5b0 2832 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2833 }
15afbcd0 2834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2835 return resultobj;
2836 fail:
2837 return NULL;
2838}
2839
2840
c32bde28 2841static PyObject *_wrap_new_BitmapFromImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2842 PyObject *resultobj;
2843 wxImage *arg1 = 0 ;
2844 int arg2 = (int) -1 ;
2845 wxBitmap *result;
2846 PyObject * obj0 = 0 ;
994141e6 2847 PyObject * obj1 = 0 ;
d14a1e28
RD
2848 char *kwnames[] = {
2849 (char *) "image",(char *) "depth", NULL
2850 };
2851
994141e6 2852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_BitmapFromImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
2854 SWIG_POINTER_EXCEPTION | 0)) == -1)
2855 SWIG_fail;
d14a1e28 2856 if (arg1 == NULL) {
15afbcd0
RD
2857 PyErr_SetString(PyExc_TypeError,"null reference");
2858 SWIG_fail;
d14a1e28 2859 }
994141e6 2860 if (obj1) {
c32bde28 2861 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2862 if (PyErr_Occurred()) SWIG_fail;
994141e6 2863 }
d14a1e28 2864 {
e3b71cb8 2865 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2866 PyThreadState* __tstate = wxPyBeginAllowThreads();
2867 result = (wxBitmap *)new wxBitmap((wxImage const &)*arg1,arg2);
2868
2869 wxPyEndAllowThreads(__tstate);
110da5b0 2870 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2871 }
15afbcd0 2872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2873 return resultobj;
2874 fail:
2875 return NULL;
2876}
2877
2878
c32bde28 2879static PyObject *_wrap_new_BitmapFromXPMData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2880 PyObject *resultobj;
2881 PyObject *arg1 = (PyObject *) 0 ;
2882 wxBitmap *result;
2883 PyObject * obj0 = 0 ;
2884 char *kwnames[] = {
2885 (char *) "listOfStrings", NULL
2886 };
2887
2888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BitmapFromXPMData",kwnames,&obj0)) goto fail;
2889 arg1 = obj0;
2890 {
e3b71cb8 2891 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2892 PyThreadState* __tstate = wxPyBeginAllowThreads();
2893 result = (wxBitmap *)new_wxBitmap(arg1);
2894
2895 wxPyEndAllowThreads(__tstate);
110da5b0 2896 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2897 }
15afbcd0 2898 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2899 return resultobj;
2900 fail:
2901 return NULL;
2902}
2903
2904
c32bde28 2905static PyObject *_wrap_new_BitmapFromBits(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2906 PyObject *resultobj;
2907 PyObject *arg1 = (PyObject *) 0 ;
2908 int arg2 ;
2909 int arg3 ;
2910 int arg4 = (int) 1 ;
2911 wxBitmap *result;
2912 PyObject * obj0 = 0 ;
994141e6
RD
2913 PyObject * obj1 = 0 ;
2914 PyObject * obj2 = 0 ;
2915 PyObject * obj3 = 0 ;
d14a1e28
RD
2916 char *kwnames[] = {
2917 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2918 };
2919
994141e6 2920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_BitmapFromBits",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 2921 arg1 = obj0;
c32bde28 2922 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2923 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2924 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 2925 if (PyErr_Occurred()) SWIG_fail;
994141e6 2926 if (obj3) {
c32bde28 2927 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 2928 if (PyErr_Occurred()) SWIG_fail;
994141e6 2929 }
d14a1e28 2930 {
e3b71cb8 2931 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2932 PyThreadState* __tstate = wxPyBeginAllowThreads();
2933 result = (wxBitmap *)new_wxBitmap(arg1,arg2,arg3,arg4);
2934
2935 wxPyEndAllowThreads(__tstate);
110da5b0 2936 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2937 }
15afbcd0 2938 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2939 return resultobj;
2940 fail:
2941 return NULL;
2942}
2943
2944
c32bde28 2945static PyObject *_wrap_Bitmap_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2946 PyObject *resultobj;
2947 wxBitmap *arg1 = (wxBitmap *) 0 ;
2948 bool result;
2949 PyObject * obj0 = 0 ;
2950 char *kwnames[] = {
2951 (char *) "self", NULL
2952 };
2953
2954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
2955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2957 {
2958 PyThreadState* __tstate = wxPyBeginAllowThreads();
2959 result = (bool)(arg1)->Ok();
2960
2961 wxPyEndAllowThreads(__tstate);
2962 if (PyErr_Occurred()) SWIG_fail;
2963 }
4f89f6a3
RD
2964 {
2965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2966 }
d14a1e28
RD
2967 return resultobj;
2968 fail:
2969 return NULL;
2970}
2971
2972
c32bde28 2973static PyObject *_wrap_Bitmap_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2974 PyObject *resultobj;
2975 wxBitmap *arg1 = (wxBitmap *) 0 ;
2976 int result;
2977 PyObject * obj0 = 0 ;
2978 char *kwnames[] = {
2979 (char *) "self", NULL
2980 };
2981
2982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
2983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2985 {
2986 PyThreadState* __tstate = wxPyBeginAllowThreads();
2987 result = (int)(arg1)->GetWidth();
2988
2989 wxPyEndAllowThreads(__tstate);
2990 if (PyErr_Occurred()) SWIG_fail;
2991 }
c32bde28 2992 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2993 return resultobj;
2994 fail:
2995 return NULL;
2996}
2997
2998
c32bde28 2999static PyObject *_wrap_Bitmap_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3000 PyObject *resultobj;
3001 wxBitmap *arg1 = (wxBitmap *) 0 ;
3002 int result;
3003 PyObject * obj0 = 0 ;
3004 char *kwnames[] = {
3005 (char *) "self", NULL
3006 };
3007
3008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
3009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3011 {
3012 PyThreadState* __tstate = wxPyBeginAllowThreads();
3013 result = (int)(arg1)->GetHeight();
3014
3015 wxPyEndAllowThreads(__tstate);
3016 if (PyErr_Occurred()) SWIG_fail;
3017 }
c32bde28 3018 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
3019 return resultobj;
3020 fail:
3021 return NULL;
3022}
3023
3024
c32bde28 3025static PyObject *_wrap_Bitmap_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3026 PyObject *resultobj;
3027 wxBitmap *arg1 = (wxBitmap *) 0 ;
3028 int result;
3029 PyObject * obj0 = 0 ;
3030 char *kwnames[] = {
3031 (char *) "self", NULL
3032 };
3033
3034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetDepth",kwnames,&obj0)) goto fail;
15afbcd0
RD
3035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3037 {
3038 PyThreadState* __tstate = wxPyBeginAllowThreads();
3039 result = (int)(arg1)->GetDepth();
3040
3041 wxPyEndAllowThreads(__tstate);
3042 if (PyErr_Occurred()) SWIG_fail;
3043 }
c32bde28 3044 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
3045 return resultobj;
3046 fail:
3047 return NULL;
3048}
3049
3050
c32bde28 3051static PyObject *_wrap_Bitmap_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
b2df227b
RD
3052 PyObject *resultobj;
3053 wxBitmap *arg1 = (wxBitmap *) 0 ;
3054 wxSize result;
3055 PyObject * obj0 = 0 ;
3056 char *kwnames[] = {
3057 (char *) "self", NULL
3058 };
3059
3060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetSize",kwnames,&obj0)) goto fail;
3061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3063 {
3064 PyThreadState* __tstate = wxPyBeginAllowThreads();
3065 result = wxBitmap_GetSize(arg1);
3066
3067 wxPyEndAllowThreads(__tstate);
3068 if (PyErr_Occurred()) SWIG_fail;
3069 }
3070 {
3071 wxSize * resultptr;
3072 resultptr = new wxSize((wxSize &) result);
3073 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
3074 }
3075 return resultobj;
3076 fail:
3077 return NULL;
3078}
3079
3080
c32bde28 3081static PyObject *_wrap_Bitmap_ConvertToImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3082 PyObject *resultobj;
3083 wxBitmap *arg1 = (wxBitmap *) 0 ;
3084 SwigValueWrapper< wxImage > result;
3085 PyObject * obj0 = 0 ;
3086 char *kwnames[] = {
3087 (char *) "self", NULL
3088 };
3089
3090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_ConvertToImage",kwnames,&obj0)) goto fail;
15afbcd0
RD
3091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3093 {
3094 PyThreadState* __tstate = wxPyBeginAllowThreads();
3095 result = ((wxBitmap const *)arg1)->ConvertToImage();
3096
3097 wxPyEndAllowThreads(__tstate);
3098 if (PyErr_Occurred()) SWIG_fail;
3099 }
3100 {
3101 wxImage * resultptr;
3102 resultptr = new wxImage((wxImage &) result);
15afbcd0 3103 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
3104 }
3105 return resultobj;
3106 fail:
3107 return NULL;
3108}
3109
3110
c32bde28 3111static PyObject *_wrap_Bitmap_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3112 PyObject *resultobj;
3113 wxBitmap *arg1 = (wxBitmap *) 0 ;
3114 wxMask *result;
3115 PyObject * obj0 = 0 ;
3116 char *kwnames[] = {
3117 (char *) "self", NULL
3118 };
3119
3120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
3121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3123 {
3124 PyThreadState* __tstate = wxPyBeginAllowThreads();
3125 result = (wxMask *)((wxBitmap const *)arg1)->GetMask();
3126
3127 wxPyEndAllowThreads(__tstate);
3128 if (PyErr_Occurred()) SWIG_fail;
3129 }
15afbcd0 3130 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMask, 0);
d14a1e28
RD
3131 return resultobj;
3132 fail:
3133 return NULL;
3134}
3135
3136
c32bde28 3137static PyObject *_wrap_Bitmap_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3138 PyObject *resultobj;
3139 wxBitmap *arg1 = (wxBitmap *) 0 ;
3140 wxMask *arg2 = (wxMask *) 0 ;
3141 PyObject * obj0 = 0 ;
3142 PyObject * obj1 = 0 ;
3143 char *kwnames[] = {
3144 (char *) "self",(char *) "mask", NULL
3145 };
3146
3147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3150 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMask,
3151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3152 {
3153 PyThreadState* __tstate = wxPyBeginAllowThreads();
3154 (arg1)->SetMask(arg2);
3155
3156 wxPyEndAllowThreads(__tstate);
3157 if (PyErr_Occurred()) SWIG_fail;
3158 }
3159 Py_INCREF(Py_None); resultobj = Py_None;
3160 return resultobj;
3161 fail:
3162 return NULL;
3163}
3164
3165
c32bde28 3166static PyObject *_wrap_Bitmap_SetMaskColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3167 PyObject *resultobj;
3168 wxBitmap *arg1 = (wxBitmap *) 0 ;
3169 wxColour *arg2 = 0 ;
3170 wxColour temp2 ;
3171 PyObject * obj0 = 0 ;
3172 PyObject * obj1 = 0 ;
3173 char *kwnames[] = {
3174 (char *) "self",(char *) "colour", NULL
3175 };
3176
3177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetMaskColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3180 {
3181 arg2 = &temp2;
3182 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3183 }
3184 {
3185 PyThreadState* __tstate = wxPyBeginAllowThreads();
3186 wxBitmap_SetMaskColour(arg1,(wxColour const &)*arg2);
3187
3188 wxPyEndAllowThreads(__tstate);
3189 if (PyErr_Occurred()) SWIG_fail;
3190 }
3191 Py_INCREF(Py_None); resultobj = Py_None;
3192 return resultobj;
3193 fail:
3194 return NULL;
3195}
3196
3197
c32bde28 3198static PyObject *_wrap_Bitmap_GetSubBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3199 PyObject *resultobj;
3200 wxBitmap *arg1 = (wxBitmap *) 0 ;
3201 wxRect *arg2 = 0 ;
3202 SwigValueWrapper< wxBitmap > result;
3203 wxRect temp2 ;
3204 PyObject * obj0 = 0 ;
3205 PyObject * obj1 = 0 ;
3206 char *kwnames[] = {
3207 (char *) "self",(char *) "rect", NULL
3208 };
3209
3210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_GetSubBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3213 {
3214 arg2 = &temp2;
3215 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3216 }
3217 {
3218 PyThreadState* __tstate = wxPyBeginAllowThreads();
3219 result = ((wxBitmap const *)arg1)->GetSubBitmap((wxRect const &)*arg2);
3220
3221 wxPyEndAllowThreads(__tstate);
3222 if (PyErr_Occurred()) SWIG_fail;
3223 }
3224 {
3225 wxBitmap * resultptr;
3226 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 3227 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
3228 }
3229 return resultobj;
3230 fail:
3231 return NULL;
3232}
3233
3234
c32bde28 3235static PyObject *_wrap_Bitmap_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3236 PyObject *resultobj;
3237 wxBitmap *arg1 = (wxBitmap *) 0 ;
3238 wxString *arg2 = 0 ;
3239 int arg3 ;
66c033b4 3240 wxPalette *arg4 = (wxPalette *) NULL ;
d14a1e28 3241 bool result;
e811c8ce 3242 bool temp2 = False ;
d14a1e28
RD
3243 PyObject * obj0 = 0 ;
3244 PyObject * obj1 = 0 ;
994141e6 3245 PyObject * obj2 = 0 ;
d14a1e28
RD
3246 PyObject * obj3 = 0 ;
3247 char *kwnames[] = {
3248 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3249 };
3250
994141e6 3251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Bitmap_SaveFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
3252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3254 {
3255 arg2 = wxString_in_helper(obj1);
3256 if (arg2 == NULL) SWIG_fail;
e811c8ce 3257 temp2 = True;
d14a1e28 3258 }
c32bde28 3259 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 3260 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3261 if (obj3) {
15afbcd0
RD
3262 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxPalette,
3263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3264 }
3265 {
3266 PyThreadState* __tstate = wxPyBeginAllowThreads();
3267 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxBitmapType )arg3,arg4);
3268
3269 wxPyEndAllowThreads(__tstate);
3270 if (PyErr_Occurred()) SWIG_fail;
3271 }
4f89f6a3
RD
3272 {
3273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3274 }
d14a1e28
RD
3275 {
3276 if (temp2)
3277 delete arg2;
3278 }
3279 return resultobj;
3280 fail:
3281 {
3282 if (temp2)
3283 delete arg2;
3284 }
3285 return NULL;
3286}
3287
3288
c32bde28 3289static PyObject *_wrap_Bitmap_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3290 PyObject *resultobj;
3291 wxBitmap *arg1 = (wxBitmap *) 0 ;
3292 wxString *arg2 = 0 ;
3293 int arg3 ;
3294 bool result;
e811c8ce 3295 bool temp2 = False ;
d14a1e28
RD
3296 PyObject * obj0 = 0 ;
3297 PyObject * obj1 = 0 ;
994141e6 3298 PyObject * obj2 = 0 ;
d14a1e28
RD
3299 char *kwnames[] = {
3300 (char *) "self",(char *) "name",(char *) "type", NULL
3301 };
3302
994141e6 3303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Bitmap_LoadFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3306 {
3307 arg2 = wxString_in_helper(obj1);
3308 if (arg2 == NULL) SWIG_fail;
e811c8ce 3309 temp2 = True;
d14a1e28 3310 }
c32bde28 3311 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 3312 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3313 {
3314 PyThreadState* __tstate = wxPyBeginAllowThreads();
3315 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxBitmapType )arg3);
3316
3317 wxPyEndAllowThreads(__tstate);
3318 if (PyErr_Occurred()) SWIG_fail;
3319 }
4f89f6a3
RD
3320 {
3321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3322 }
d14a1e28
RD
3323 {
3324 if (temp2)
3325 delete arg2;
3326 }
3327 return resultobj;
3328 fail:
3329 {
3330 if (temp2)
3331 delete arg2;
3332 }
3333 return NULL;
3334}
3335
3336
c32bde28 3337static PyObject *_wrap_Bitmap_CopyFromIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3338 PyObject *resultobj;
3339 wxBitmap *arg1 = (wxBitmap *) 0 ;
3340 wxIcon *arg2 = 0 ;
3341 bool result;
3342 PyObject * obj0 = 0 ;
3343 PyObject * obj1 = 0 ;
3344 char *kwnames[] = {
3345 (char *) "self",(char *) "icon", NULL
3346 };
3347
3348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_CopyFromIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3351 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
3352 SWIG_POINTER_EXCEPTION | 0)) == -1)
3353 SWIG_fail;
d14a1e28 3354 if (arg2 == NULL) {
15afbcd0
RD
3355 PyErr_SetString(PyExc_TypeError,"null reference");
3356 SWIG_fail;
d14a1e28
RD
3357 }
3358 {
3359 PyThreadState* __tstate = wxPyBeginAllowThreads();
3360 result = (bool)(arg1)->CopyFromIcon((wxIcon const &)*arg2);
3361
3362 wxPyEndAllowThreads(__tstate);
3363 if (PyErr_Occurred()) SWIG_fail;
3364 }
4f89f6a3
RD
3365 {
3366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3367 }
d14a1e28
RD
3368 return resultobj;
3369 fail:
3370 return NULL;
3371}
3372
3373
c32bde28 3374static PyObject *_wrap_Bitmap_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3375 PyObject *resultobj;
3376 wxBitmap *arg1 = (wxBitmap *) 0 ;
3377 int arg2 ;
3378 PyObject * obj0 = 0 ;
994141e6 3379 PyObject * obj1 = 0 ;
d14a1e28
RD
3380 char *kwnames[] = {
3381 (char *) "self",(char *) "height", NULL
3382 };
3383
994141e6 3384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3387 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3388 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3389 {
3390 PyThreadState* __tstate = wxPyBeginAllowThreads();
3391 (arg1)->SetHeight(arg2);
3392
3393 wxPyEndAllowThreads(__tstate);
3394 if (PyErr_Occurred()) SWIG_fail;
3395 }
3396 Py_INCREF(Py_None); resultobj = Py_None;
3397 return resultobj;
3398 fail:
3399 return NULL;
3400}
3401
3402
c32bde28 3403static PyObject *_wrap_Bitmap_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3404 PyObject *resultobj;
3405 wxBitmap *arg1 = (wxBitmap *) 0 ;
3406 int arg2 ;
3407 PyObject * obj0 = 0 ;
994141e6 3408 PyObject * obj1 = 0 ;
d14a1e28
RD
3409 char *kwnames[] = {
3410 (char *) "self",(char *) "width", NULL
3411 };
3412
994141e6 3413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3416 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3417 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3418 {
3419 PyThreadState* __tstate = wxPyBeginAllowThreads();
3420 (arg1)->SetWidth(arg2);
3421
3422 wxPyEndAllowThreads(__tstate);
3423 if (PyErr_Occurred()) SWIG_fail;
3424 }
3425 Py_INCREF(Py_None); resultobj = Py_None;
3426 return resultobj;
3427 fail:
3428 return NULL;
3429}
3430
3431
c32bde28 3432static PyObject *_wrap_Bitmap_SetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3433 PyObject *resultobj;
3434 wxBitmap *arg1 = (wxBitmap *) 0 ;
3435 int arg2 ;
3436 PyObject * obj0 = 0 ;
994141e6 3437 PyObject * obj1 = 0 ;
d14a1e28
RD
3438 char *kwnames[] = {
3439 (char *) "self",(char *) "depth", NULL
3440 };
3441
994141e6 3442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetDepth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3445 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3446 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3447 {
3448 PyThreadState* __tstate = wxPyBeginAllowThreads();
3449 (arg1)->SetDepth(arg2);
3450
3451 wxPyEndAllowThreads(__tstate);
3452 if (PyErr_Occurred()) SWIG_fail;
3453 }
3454 Py_INCREF(Py_None); resultobj = Py_None;
3455 return resultobj;
3456 fail:
3457 return NULL;
3458}
3459
3460
c32bde28 3461static PyObject *_wrap_Bitmap_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
b2df227b
RD
3462 PyObject *resultobj;
3463 wxBitmap *arg1 = (wxBitmap *) 0 ;
3464 wxSize *arg2 = 0 ;
3465 wxSize temp2 ;
3466 PyObject * obj0 = 0 ;
3467 PyObject * obj1 = 0 ;
3468 char *kwnames[] = {
3469 (char *) "self",(char *) "size", NULL
3470 };
3471
3472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetSize",kwnames,&obj0,&obj1)) goto fail;
3473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3475 {
3476 arg2 = &temp2;
3477 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3478 }
3479 {
3480 PyThreadState* __tstate = wxPyBeginAllowThreads();
3481 wxBitmap_SetSize(arg1,(wxSize const &)*arg2);
3482
3483 wxPyEndAllowThreads(__tstate);
3484 if (PyErr_Occurred()) SWIG_fail;
3485 }
3486 Py_INCREF(Py_None); resultobj = Py_None;
3487 return resultobj;
3488 fail:
3489 return NULL;
3490}
3491
3492
c32bde28 3493static PyObject *_wrap_Bitmap___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
3494 PyObject *resultobj;
3495 wxBitmap *arg1 = (wxBitmap *) 0 ;
3496 wxBitmap *arg2 = (wxBitmap *) 0 ;
3497 bool result;
3498 PyObject * obj0 = 0 ;
3499 PyObject * obj1 = 0 ;
3500 char *kwnames[] = {
3501 (char *) "self",(char *) "other", NULL
3502 };
3503
3504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap___eq__",kwnames,&obj0,&obj1)) goto fail;
3505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3507 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
3508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3509 {
3510 PyThreadState* __tstate = wxPyBeginAllowThreads();
3511 result = (bool)wxBitmap___eq__(arg1,(wxBitmap const *)arg2);
3512
3513 wxPyEndAllowThreads(__tstate);
3514 if (PyErr_Occurred()) SWIG_fail;
3515 }
4f89f6a3
RD
3516 {
3517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3518 }
4276dc52
RD
3519 return resultobj;
3520 fail:
3521 return NULL;
3522}
3523
3524
c32bde28 3525static PyObject *_wrap_Bitmap___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
3526 PyObject *resultobj;
3527 wxBitmap *arg1 = (wxBitmap *) 0 ;
3528 wxBitmap *arg2 = (wxBitmap *) 0 ;
3529 bool result;
3530 PyObject * obj0 = 0 ;
3531 PyObject * obj1 = 0 ;
3532 char *kwnames[] = {
3533 (char *) "self",(char *) "other", NULL
3534 };
3535
3536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap___ne__",kwnames,&obj0,&obj1)) goto fail;
3537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3539 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
3540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3541 {
3542 PyThreadState* __tstate = wxPyBeginAllowThreads();
3543 result = (bool)wxBitmap___ne__(arg1,(wxBitmap const *)arg2);
3544
3545 wxPyEndAllowThreads(__tstate);
3546 if (PyErr_Occurred()) SWIG_fail;
3547 }
4f89f6a3
RD
3548 {
3549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3550 }
4276dc52
RD
3551 return resultobj;
3552 fail:
3553 return NULL;
3554}
3555
3556
c32bde28 3557static PyObject * Bitmap_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3558 PyObject *obj;
3559 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3560 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap, obj);
3561 Py_INCREF(obj);
3562 return Py_BuildValue((char *)"");
3563}
c32bde28 3564static PyObject *_wrap_new_Mask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3565 PyObject *resultobj;
3566 wxBitmap *arg1 = 0 ;
0482c494
RD
3567 wxColour const &arg2_defvalue = wxNullColour ;
3568 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
d14a1e28
RD
3569 wxMask *result;
3570 wxColour temp2 ;
3571 PyObject * obj0 = 0 ;
3572 PyObject * obj1 = 0 ;
3573 char *kwnames[] = {
3574 (char *) "bitmap",(char *) "colour", NULL
3575 };
3576
0482c494 3577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Mask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3579 SWIG_POINTER_EXCEPTION | 0)) == -1)
3580 SWIG_fail;
d14a1e28 3581 if (arg1 == NULL) {
15afbcd0
RD
3582 PyErr_SetString(PyExc_TypeError,"null reference");
3583 SWIG_fail;
d14a1e28 3584 }
0482c494
RD
3585 if (obj1) {
3586 {
3587 arg2 = &temp2;
3588 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3589 }
d14a1e28
RD
3590 }
3591 {
e3b71cb8 3592 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 3593 PyThreadState* __tstate = wxPyBeginAllowThreads();
0482c494 3594 result = (wxMask *)new_wxMask((wxBitmap const &)*arg1,(wxColour const &)*arg2);
d14a1e28
RD
3595
3596 wxPyEndAllowThreads(__tstate);
110da5b0 3597 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3598 }
15afbcd0 3599 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMask, 1);
d14a1e28
RD
3600 return resultobj;
3601 fail:
3602 return NULL;
3603}
3604
3605
c32bde28 3606static PyObject * Mask_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3607 PyObject *obj;
3608 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3609 SWIG_TypeClientData(SWIGTYPE_p_wxMask, obj);
3610 Py_INCREF(obj);
3611 return Py_BuildValue((char *)"");
3612}
c32bde28 3613static PyObject *_wrap_new_Icon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3614 PyObject *resultobj;
3615 wxString *arg1 = 0 ;
f87da722 3616 int arg2 ;
d14a1e28
RD
3617 int arg3 = (int) -1 ;
3618 int arg4 = (int) -1 ;
3619 wxIcon *result;
e811c8ce 3620 bool temp1 = False ;
d14a1e28 3621 PyObject * obj0 = 0 ;
994141e6
RD
3622 PyObject * obj1 = 0 ;
3623 PyObject * obj2 = 0 ;
3624 PyObject * obj3 = 0 ;
d14a1e28 3625 char *kwnames[] = {
f87da722 3626 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
d14a1e28
RD
3627 };
3628
994141e6 3629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_Icon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
3630 {
3631 arg1 = wxString_in_helper(obj0);
3632 if (arg1 == NULL) SWIG_fail;
e811c8ce 3633 temp1 = True;
d14a1e28 3634 }
c32bde28 3635 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3636 if (PyErr_Occurred()) SWIG_fail;
994141e6 3637 if (obj2) {
c32bde28 3638 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 3639 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3640 }
3641 if (obj3) {
c32bde28 3642 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 3643 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3644 }
3645 {
e3b71cb8 3646 if (!wxPyCheckForApp()) SWIG_fail;
994141e6
RD
3647 PyThreadState* __tstate = wxPyBeginAllowThreads();
3648 result = (wxIcon *)new wxIcon((wxString const &)*arg1,(wxBitmapType )arg2,arg3,arg4);
3649
3650 wxPyEndAllowThreads(__tstate);
110da5b0 3651 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3652 }
15afbcd0 3653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
3654 {
3655 if (temp1)
3656 delete arg1;
3657 }
3658 return resultobj;
3659 fail:
3660 {
3661 if (temp1)
3662 delete arg1;
3663 }
3664 return NULL;
3665}
3666
3667
c32bde28 3668static PyObject *_wrap_delete_Icon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3669 PyObject *resultobj;
3670 wxIcon *arg1 = (wxIcon *) 0 ;
3671 PyObject * obj0 = 0 ;
3672 char *kwnames[] = {
3673 (char *) "self", NULL
3674 };
3675
3676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Icon",kwnames,&obj0)) goto fail;
15afbcd0
RD
3677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3679 {
3680 PyThreadState* __tstate = wxPyBeginAllowThreads();
3681 delete arg1;
3682
3683 wxPyEndAllowThreads(__tstate);
3684 if (PyErr_Occurred()) SWIG_fail;
3685 }
3686 Py_INCREF(Py_None); resultobj = Py_None;
3687 return resultobj;
3688 fail:
3689 return NULL;
3690}
3691
3692
c32bde28 3693static PyObject *_wrap_new_EmptyIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3694 PyObject *resultobj;
3695 wxIcon *result;
3696 char *kwnames[] = {
3697 NULL
3698 };
3699
3700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EmptyIcon",kwnames)) goto fail;
3701 {
e3b71cb8 3702 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3703 PyThreadState* __tstate = wxPyBeginAllowThreads();
3704 result = (wxIcon *)new wxIcon();
3705
3706 wxPyEndAllowThreads(__tstate);
110da5b0 3707 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3708 }
15afbcd0 3709 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
3710 return resultobj;
3711 fail:
3712 return NULL;
3713}
3714
3715
c32bde28 3716static PyObject *_wrap_new_IconFromLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3717 PyObject *resultobj;
3718 wxIconLocation *arg1 = 0 ;
3719 wxIcon *result;
3720 PyObject * obj0 = 0 ;
3721 char *kwnames[] = {
3722 (char *) "loc", NULL
3723 };
3724
3725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconFromLocation",kwnames,&obj0)) goto fail;
15afbcd0
RD
3726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
3727 SWIG_POINTER_EXCEPTION | 0)) == -1)
3728 SWIG_fail;
d14a1e28 3729 if (arg1 == NULL) {
15afbcd0
RD
3730 PyErr_SetString(PyExc_TypeError,"null reference");
3731 SWIG_fail;
d14a1e28
RD
3732 }
3733 {
e3b71cb8 3734 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3735 PyThreadState* __tstate = wxPyBeginAllowThreads();
3736 result = (wxIcon *)new wxIcon((wxIconLocation const &)*arg1);
3737
3738 wxPyEndAllowThreads(__tstate);
110da5b0 3739 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3740 }
15afbcd0 3741 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
3742 return resultobj;
3743 fail:
3744 return NULL;
3745}
3746
3747
c32bde28 3748static PyObject *_wrap_new_IconFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3749 PyObject *resultobj;
3750 wxBitmap *arg1 = 0 ;
3751 wxIcon *result;
3752 PyObject * obj0 = 0 ;
3753 char *kwnames[] = {
3754 (char *) "bmp", NULL
3755 };
3756
3757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconFromBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
3758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3759 SWIG_POINTER_EXCEPTION | 0)) == -1)
3760 SWIG_fail;
d14a1e28 3761 if (arg1 == NULL) {
15afbcd0
RD
3762 PyErr_SetString(PyExc_TypeError,"null reference");
3763 SWIG_fail;
d14a1e28
RD
3764 }
3765 {
e3b71cb8 3766 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3767 PyThreadState* __tstate = wxPyBeginAllowThreads();
3768 result = (wxIcon *)new_wxIcon((wxBitmap const &)*arg1);
3769
3770 wxPyEndAllowThreads(__tstate);
110da5b0 3771 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3772 }
15afbcd0 3773 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
3774 return resultobj;
3775 fail:
3776 return NULL;
3777}
3778
3779
c32bde28 3780static PyObject *_wrap_new_IconFromXPMData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3781 PyObject *resultobj;
3782 PyObject *arg1 = (PyObject *) 0 ;
3783 wxIcon *result;
3784 PyObject * obj0 = 0 ;
3785 char *kwnames[] = {
3786 (char *) "listOfStrings", NULL
3787 };
3788
3789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconFromXPMData",kwnames,&obj0)) goto fail;
3790 arg1 = obj0;
3791 {
e3b71cb8 3792 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3793 PyThreadState* __tstate = wxPyBeginAllowThreads();
3794 result = (wxIcon *)new_wxIcon(arg1);
3795
3796 wxPyEndAllowThreads(__tstate);
110da5b0 3797 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3798 }
15afbcd0 3799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
3800 return resultobj;
3801 fail:
3802 return NULL;
3803}
3804
3805
c32bde28 3806static PyObject *_wrap_Icon_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3807 PyObject *resultobj;
3808 wxIcon *arg1 = (wxIcon *) 0 ;
3809 wxString *arg2 = 0 ;
f87da722 3810 int arg3 ;
d14a1e28 3811 bool result;
e811c8ce 3812 bool temp2 = False ;
d14a1e28
RD
3813 PyObject * obj0 = 0 ;
3814 PyObject * obj1 = 0 ;
994141e6 3815 PyObject * obj2 = 0 ;
d14a1e28 3816 char *kwnames[] = {
f87da722 3817 (char *) "self",(char *) "name",(char *) "type", NULL
d14a1e28
RD
3818 };
3819
994141e6 3820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Icon_LoadFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3823 {
3824 arg2 = wxString_in_helper(obj1);
3825 if (arg2 == NULL) SWIG_fail;
e811c8ce 3826 temp2 = True;
d14a1e28 3827 }
c32bde28 3828 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 3829 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3830 {
3831 PyThreadState* __tstate = wxPyBeginAllowThreads();
f87da722 3832 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxBitmapType )arg3);
d14a1e28
RD
3833
3834 wxPyEndAllowThreads(__tstate);
3835 if (PyErr_Occurred()) SWIG_fail;
3836 }
4f89f6a3
RD
3837 {
3838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3839 }
d14a1e28
RD
3840 {
3841 if (temp2)
3842 delete arg2;
3843 }
3844 return resultobj;
3845 fail:
3846 {
3847 if (temp2)
3848 delete arg2;
3849 }
3850 return NULL;
3851}
3852
3853
c32bde28 3854static PyObject *_wrap_Icon_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3855 PyObject *resultobj;
3856 wxIcon *arg1 = (wxIcon *) 0 ;
3857 bool result;
3858 PyObject * obj0 = 0 ;
3859 char *kwnames[] = {
3860 (char *) "self", NULL
3861 };
3862
3863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
3864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3866 {
3867 PyThreadState* __tstate = wxPyBeginAllowThreads();
3868 result = (bool)(arg1)->Ok();
3869
3870 wxPyEndAllowThreads(__tstate);
3871 if (PyErr_Occurred()) SWIG_fail;
3872 }
4f89f6a3
RD
3873 {
3874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3875 }
d14a1e28
RD
3876 return resultobj;
3877 fail:
3878 return NULL;
3879}
3880
3881
c32bde28 3882static PyObject *_wrap_Icon_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3883 PyObject *resultobj;
3884 wxIcon *arg1 = (wxIcon *) 0 ;
3885 int result;
3886 PyObject * obj0 = 0 ;
3887 char *kwnames[] = {
3888 (char *) "self", NULL
3889 };
3890
3891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
3892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3894 {
3895 PyThreadState* __tstate = wxPyBeginAllowThreads();
3896 result = (int)(arg1)->GetWidth();
3897
3898 wxPyEndAllowThreads(__tstate);
3899 if (PyErr_Occurred()) SWIG_fail;
3900 }
c32bde28 3901 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
3902 return resultobj;
3903 fail:
3904 return NULL;
3905}
3906
3907
c32bde28 3908static PyObject *_wrap_Icon_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3909 PyObject *resultobj;
3910 wxIcon *arg1 = (wxIcon *) 0 ;
3911 int result;
3912 PyObject * obj0 = 0 ;
3913 char *kwnames[] = {
3914 (char *) "self", NULL
3915 };
3916
3917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
3918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3920 {
3921 PyThreadState* __tstate = wxPyBeginAllowThreads();
3922 result = (int)(arg1)->GetHeight();
3923
3924 wxPyEndAllowThreads(__tstate);
3925 if (PyErr_Occurred()) SWIG_fail;
3926 }
c32bde28 3927 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
3928 return resultobj;
3929 fail:
3930 return NULL;
3931}
3932
3933
c32bde28 3934static PyObject *_wrap_Icon_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3935 PyObject *resultobj;
3936 wxIcon *arg1 = (wxIcon *) 0 ;
3937 int result;
3938 PyObject * obj0 = 0 ;
3939 char *kwnames[] = {
3940 (char *) "self", NULL
3941 };
3942
3943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_GetDepth",kwnames,&obj0)) goto fail;
15afbcd0
RD
3944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3946 {
3947 PyThreadState* __tstate = wxPyBeginAllowThreads();
3948 result = (int)(arg1)->GetDepth();
3949
3950 wxPyEndAllowThreads(__tstate);
3951 if (PyErr_Occurred()) SWIG_fail;
3952 }
c32bde28 3953 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
3954 return resultobj;
3955 fail:
3956 return NULL;
3957}
3958
3959
c32bde28 3960static PyObject *_wrap_Icon_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3961 PyObject *resultobj;
3962 wxIcon *arg1 = (wxIcon *) 0 ;
3963 int arg2 ;
3964 PyObject * obj0 = 0 ;
994141e6 3965 PyObject * obj1 = 0 ;
d14a1e28
RD
3966 char *kwnames[] = {
3967 (char *) "self",(char *) "w", NULL
3968 };
3969
994141e6 3970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3973 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3974 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3975 {
3976 PyThreadState* __tstate = wxPyBeginAllowThreads();
3977 (arg1)->SetWidth(arg2);
3978
3979 wxPyEndAllowThreads(__tstate);
3980 if (PyErr_Occurred()) SWIG_fail;
3981 }
3982 Py_INCREF(Py_None); resultobj = Py_None;
3983 return resultobj;
3984 fail:
3985 return NULL;
3986}
3987
3988
c32bde28 3989static PyObject *_wrap_Icon_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3990 PyObject *resultobj;
3991 wxIcon *arg1 = (wxIcon *) 0 ;
3992 int arg2 ;
3993 PyObject * obj0 = 0 ;
994141e6 3994 PyObject * obj1 = 0 ;
d14a1e28
RD
3995 char *kwnames[] = {
3996 (char *) "self",(char *) "h", NULL
3997 };
3998
994141e6 3999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_SetHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
4001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4002 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4003 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4004 {
4005 PyThreadState* __tstate = wxPyBeginAllowThreads();
4006 (arg1)->SetHeight(arg2);
4007
4008 wxPyEndAllowThreads(__tstate);
4009 if (PyErr_Occurred()) SWIG_fail;
4010 }
4011 Py_INCREF(Py_None); resultobj = Py_None;
4012 return resultobj;
4013 fail:
4014 return NULL;
4015}
4016
4017
c32bde28 4018static PyObject *_wrap_Icon_SetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4019 PyObject *resultobj;
4020 wxIcon *arg1 = (wxIcon *) 0 ;
4021 int arg2 ;
4022 PyObject * obj0 = 0 ;
994141e6 4023 PyObject * obj1 = 0 ;
d14a1e28
RD
4024 char *kwnames[] = {
4025 (char *) "self",(char *) "d", NULL
4026 };
4027
994141e6 4028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_SetDepth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
4030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4031 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4032 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4033 {
4034 PyThreadState* __tstate = wxPyBeginAllowThreads();
4035 (arg1)->SetDepth(arg2);
4036
4037 wxPyEndAllowThreads(__tstate);
4038 if (PyErr_Occurred()) SWIG_fail;
4039 }
4040 Py_INCREF(Py_None); resultobj = Py_None;
4041 return resultobj;
4042 fail:
4043 return NULL;
4044}
4045
4046
c32bde28 4047static PyObject *_wrap_Icon_CopyFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4048 PyObject *resultobj;
4049 wxIcon *arg1 = (wxIcon *) 0 ;
4050 wxBitmap *arg2 = 0 ;
4051 PyObject * obj0 = 0 ;
4052 PyObject * obj1 = 0 ;
4053 char *kwnames[] = {
4054 (char *) "self",(char *) "bmp", NULL
4055 };
4056
4057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_CopyFromBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
4059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4060 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4061 SWIG_POINTER_EXCEPTION | 0)) == -1)
4062 SWIG_fail;
d14a1e28 4063 if (arg2 == NULL) {
15afbcd0
RD
4064 PyErr_SetString(PyExc_TypeError,"null reference");
4065 SWIG_fail;
d14a1e28
RD
4066 }
4067 {
4068 PyThreadState* __tstate = wxPyBeginAllowThreads();
4069 (arg1)->CopyFromBitmap((wxBitmap const &)*arg2);
4070
4071 wxPyEndAllowThreads(__tstate);
4072 if (PyErr_Occurred()) SWIG_fail;
4073 }
4074 Py_INCREF(Py_None); resultobj = Py_None;
4075 return resultobj;
4076 fail:
4077 return NULL;
4078}
4079
4080
c32bde28 4081static PyObject * Icon_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4082 PyObject *obj;
4083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4084 SWIG_TypeClientData(SWIGTYPE_p_wxIcon, obj);
4085 Py_INCREF(obj);
4086 return Py_BuildValue((char *)"");
4087}
c32bde28 4088static PyObject *_wrap_new_IconLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4089 PyObject *resultobj;
4090 wxString *arg1 = (wxString *) &wxPyEmptyString ;
4091 int arg2 = (int) 0 ;
4092 wxIconLocation *result;
7eae615b 4093 bool temp1 = False ;
d14a1e28 4094 PyObject * obj0 = 0 ;
994141e6 4095 PyObject * obj1 = 0 ;
d14a1e28
RD
4096 char *kwnames[] = {
4097 (char *) "filename",(char *) "num", NULL
4098 };
4099
994141e6 4100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconLocation",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 4101 if (obj0) {
7eae615b
RD
4102 {
4103 arg1 = wxString_in_helper(obj0);
4104 if (arg1 == NULL) SWIG_fail;
4105 temp1 = True;
4106 }
d14a1e28 4107 }
994141e6 4108 if (obj1) {
c32bde28 4109 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4110 if (PyErr_Occurred()) SWIG_fail;
994141e6 4111 }
d14a1e28
RD
4112 {
4113 PyThreadState* __tstate = wxPyBeginAllowThreads();
4114 result = (wxIconLocation *)new_wxIconLocation((wxString const *)arg1,arg2);
4115
4116 wxPyEndAllowThreads(__tstate);
4117 if (PyErr_Occurred()) SWIG_fail;
4118 }
15afbcd0 4119 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconLocation, 1);
7eae615b
RD
4120 {
4121 if (temp1)
4122 delete arg1;
4123 }
d14a1e28
RD
4124 return resultobj;
4125 fail:
7eae615b
RD
4126 {
4127 if (temp1)
4128 delete arg1;
4129 }
d14a1e28
RD
4130 return NULL;
4131}
4132
4133
c32bde28 4134static PyObject *_wrap_delete_IconLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4135 PyObject *resultobj;
4136 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4137 PyObject * obj0 = 0 ;
4138 char *kwnames[] = {
4139 (char *) "self", NULL
4140 };
4141
4142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_IconLocation",kwnames,&obj0)) goto fail;
15afbcd0
RD
4143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4145 {
4146 PyThreadState* __tstate = wxPyBeginAllowThreads();
4147 delete arg1;
4148
4149 wxPyEndAllowThreads(__tstate);
4150 if (PyErr_Occurred()) SWIG_fail;
4151 }
4152 Py_INCREF(Py_None); resultobj = Py_None;
4153 return resultobj;
4154 fail:
4155 return NULL;
4156}
4157
4158
c32bde28 4159static PyObject *_wrap_IconLocation_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4160 PyObject *resultobj;
4161 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4162 bool result;
4163 PyObject * obj0 = 0 ;
4164 char *kwnames[] = {
4165 (char *) "self", NULL
4166 };
4167
4168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconLocation_IsOk",kwnames,&obj0)) goto fail;
15afbcd0
RD
4169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4171 {
4172 PyThreadState* __tstate = wxPyBeginAllowThreads();
4173 result = (bool)((wxIconLocation const *)arg1)->IsOk();
4174
4175 wxPyEndAllowThreads(__tstate);
4176 if (PyErr_Occurred()) SWIG_fail;
4177 }
4f89f6a3
RD
4178 {
4179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4180 }
d14a1e28
RD
4181 return resultobj;
4182 fail:
4183 return NULL;
4184}
4185
4186
c32bde28 4187static PyObject *_wrap_IconLocation_SetFileName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4188 PyObject *resultobj;
4189 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4190 wxString *arg2 = 0 ;
e811c8ce 4191 bool temp2 = False ;
d14a1e28
RD
4192 PyObject * obj0 = 0 ;
4193 PyObject * obj1 = 0 ;
4194 char *kwnames[] = {
4195 (char *) "self",(char *) "filename", NULL
4196 };
4197
4198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconLocation_SetFileName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4201 {
4202 arg2 = wxString_in_helper(obj1);
4203 if (arg2 == NULL) SWIG_fail;
e811c8ce 4204 temp2 = True;
d14a1e28
RD
4205 }
4206 {
4207 PyThreadState* __tstate = wxPyBeginAllowThreads();
4208 (arg1)->SetFileName((wxString const &)*arg2);
4209
4210 wxPyEndAllowThreads(__tstate);
4211 if (PyErr_Occurred()) SWIG_fail;
4212 }
4213 Py_INCREF(Py_None); resultobj = Py_None;
4214 {
4215 if (temp2)
4216 delete arg2;
4217 }
4218 return resultobj;
4219 fail:
4220 {
4221 if (temp2)
4222 delete arg2;
4223 }
4224 return NULL;
4225}
4226
4227
c32bde28 4228static PyObject *_wrap_IconLocation_GetFileName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4229 PyObject *resultobj;
4230 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4231 wxString *result;
4232 PyObject * obj0 = 0 ;
4233 char *kwnames[] = {
4234 (char *) "self", NULL
4235 };
4236
4237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconLocation_GetFileName",kwnames,&obj0)) goto fail;
15afbcd0
RD
4238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4240 {
4241 PyThreadState* __tstate = wxPyBeginAllowThreads();
4242 {
4243 wxString const &_result_ref = ((wxIconLocation const *)arg1)->GetFileName();
4244 result = (wxString *) &_result_ref;
4245 }
4246
4247 wxPyEndAllowThreads(__tstate);
4248 if (PyErr_Occurred()) SWIG_fail;
4249 }
cc6dd355
RD
4250 {
4251#if wxUSE_UNICODE
4252 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4253#else
4254 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4255#endif
4256 }
d14a1e28
RD
4257 return resultobj;
4258 fail:
4259 return NULL;
4260}
4261
4262
c32bde28 4263static PyObject *_wrap_IconLocation_SetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4264 PyObject *resultobj;
4265 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4266 int arg2 ;
4267 PyObject * obj0 = 0 ;
994141e6 4268 PyObject * obj1 = 0 ;
d14a1e28
RD
4269 char *kwnames[] = {
4270 (char *) "self",(char *) "num", NULL
4271 };
4272
994141e6 4273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconLocation_SetIndex",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4276 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4277 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4278 {
4279 PyThreadState* __tstate = wxPyBeginAllowThreads();
4280 wxIconLocation_SetIndex(arg1,arg2);
4281
4282 wxPyEndAllowThreads(__tstate);
4283 if (PyErr_Occurred()) SWIG_fail;
4284 }
4285 Py_INCREF(Py_None); resultobj = Py_None;
4286 return resultobj;
4287 fail:
4288 return NULL;
4289}
4290
4291
c32bde28 4292static PyObject *_wrap_IconLocation_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4293 PyObject *resultobj;
4294 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4295 int result;
4296 PyObject * obj0 = 0 ;
4297 char *kwnames[] = {
4298 (char *) "self", NULL
4299 };
4300
4301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconLocation_GetIndex",kwnames,&obj0)) goto fail;
15afbcd0
RD
4302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4304 {
4305 PyThreadState* __tstate = wxPyBeginAllowThreads();
4306 result = (int)wxIconLocation_GetIndex(arg1);
4307
4308 wxPyEndAllowThreads(__tstate);
4309 if (PyErr_Occurred()) SWIG_fail;
4310 }
c32bde28 4311 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4312 return resultobj;
4313 fail:
4314 return NULL;
4315}
4316
4317
c32bde28 4318static PyObject * IconLocation_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4319 PyObject *obj;
4320 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4321 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation, obj);
4322 Py_INCREF(obj);
4323 return Py_BuildValue((char *)"");
4324}
c32bde28 4325static PyObject *_wrap_new_IconBundle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4326 PyObject *resultobj;
4327 wxIconBundle *result;
4328 char *kwnames[] = {
4329 NULL
4330 };
4331
4332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IconBundle",kwnames)) goto fail;
4333 {
4334 PyThreadState* __tstate = wxPyBeginAllowThreads();
4335 result = (wxIconBundle *)new wxIconBundle();
4336
4337 wxPyEndAllowThreads(__tstate);
4338 if (PyErr_Occurred()) SWIG_fail;
4339 }
15afbcd0 4340 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconBundle, 1);
d14a1e28
RD
4341 return resultobj;
4342 fail:
4343 return NULL;
4344}
4345
4346
c32bde28 4347static PyObject *_wrap_new_IconBundleFromFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4348 PyObject *resultobj;
4349 wxString *arg1 = 0 ;
4350 long arg2 ;
4351 wxIconBundle *result;
e811c8ce 4352 bool temp1 = False ;
d14a1e28 4353 PyObject * obj0 = 0 ;
994141e6 4354 PyObject * obj1 = 0 ;
d14a1e28
RD
4355 char *kwnames[] = {
4356 (char *) "file",(char *) "type", NULL
4357 };
4358
994141e6 4359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_IconBundleFromFile",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
4360 {
4361 arg1 = wxString_in_helper(obj0);
4362 if (arg1 == NULL) SWIG_fail;
e811c8ce 4363 temp1 = True;
d14a1e28 4364 }
c32bde28 4365 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 4366 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4367 {
4368 PyThreadState* __tstate = wxPyBeginAllowThreads();
4369 result = (wxIconBundle *)new wxIconBundle((wxString const &)*arg1,arg2);
4370
4371 wxPyEndAllowThreads(__tstate);
4372 if (PyErr_Occurred()) SWIG_fail;
4373 }
15afbcd0 4374 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconBundle, 1);
d14a1e28
RD
4375 {
4376 if (temp1)
4377 delete arg1;
4378 }
4379 return resultobj;
4380 fail:
4381 {
4382 if (temp1)
4383 delete arg1;
4384 }
4385 return NULL;
4386}
4387
4388
c32bde28 4389static PyObject *_wrap_new_IconBundleFromIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4390 PyObject *resultobj;
4391 wxIcon *arg1 = 0 ;
4392 wxIconBundle *result;
4393 PyObject * obj0 = 0 ;
4394 char *kwnames[] = {
4395 (char *) "icon", NULL
4396 };
4397
4398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconBundleFromIcon",kwnames,&obj0)) goto fail;
15afbcd0
RD
4399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
4400 SWIG_POINTER_EXCEPTION | 0)) == -1)
4401 SWIG_fail;
d14a1e28 4402 if (arg1 == NULL) {
15afbcd0
RD
4403 PyErr_SetString(PyExc_TypeError,"null reference");
4404 SWIG_fail;
d14a1e28
RD
4405 }
4406 {
4407 PyThreadState* __tstate = wxPyBeginAllowThreads();
4408 result = (wxIconBundle *)new wxIconBundle((wxIcon const &)*arg1);
4409
4410 wxPyEndAllowThreads(__tstate);
4411 if (PyErr_Occurred()) SWIG_fail;
4412 }
15afbcd0 4413 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconBundle, 1);
d14a1e28
RD
4414 return resultobj;
4415 fail:
4416 return NULL;
4417}
4418
4419
c32bde28 4420static PyObject *_wrap_delete_IconBundle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4421 PyObject *resultobj;
4422 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
4423 PyObject * obj0 = 0 ;
4424 char *kwnames[] = {
4425 (char *) "self", NULL
4426 };
4427
4428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_IconBundle",kwnames,&obj0)) goto fail;
15afbcd0
RD
4429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconBundle,
4430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4431 {
4432 PyThreadState* __tstate = wxPyBeginAllowThreads();
4433 delete arg1;
4434
4435 wxPyEndAllowThreads(__tstate);
4436 if (PyErr_Occurred()) SWIG_fail;
4437 }
4438 Py_INCREF(Py_None); resultobj = Py_None;
4439 return resultobj;
4440 fail:
4441 return NULL;
4442}
4443
4444
c32bde28 4445static PyObject *_wrap_IconBundle_AddIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4446 PyObject *resultobj;
4447 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
4448 wxIcon *arg2 = 0 ;
4449 PyObject * obj0 = 0 ;
4450 PyObject * obj1 = 0 ;
4451 char *kwnames[] = {
4452 (char *) "self",(char *) "icon", NULL
4453 };
4454
4455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconBundle_AddIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconBundle,
4457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4458 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
4459 SWIG_POINTER_EXCEPTION | 0)) == -1)
4460 SWIG_fail;
d14a1e28 4461 if (arg2 == NULL) {
15afbcd0
RD
4462 PyErr_SetString(PyExc_TypeError,"null reference");
4463 SWIG_fail;
d14a1e28
RD
4464 }
4465 {
4466 PyThreadState* __tstate = wxPyBeginAllowThreads();
4467 (arg1)->AddIcon((wxIcon const &)*arg2);
4468
4469 wxPyEndAllowThreads(__tstate);
4470 if (PyErr_Occurred()) SWIG_fail;
4471 }
4472 Py_INCREF(Py_None); resultobj = Py_None;
4473 return resultobj;
4474 fail:
4475 return NULL;
4476}
4477
4478
c32bde28 4479static PyObject *_wrap_IconBundle_AddIconFromFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4480 PyObject *resultobj;
4481 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
4482 wxString *arg2 = 0 ;
4483 long arg3 ;
e811c8ce 4484 bool temp2 = False ;
d14a1e28
RD
4485 PyObject * obj0 = 0 ;
4486 PyObject * obj1 = 0 ;
994141e6 4487 PyObject * obj2 = 0 ;
d14a1e28
RD
4488 char *kwnames[] = {
4489 (char *) "self",(char *) "file",(char *) "type", NULL
4490 };
4491
994141e6 4492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IconBundle_AddIconFromFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconBundle,
4494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4495 {
4496 arg2 = wxString_in_helper(obj1);
4497 if (arg2 == NULL) SWIG_fail;
e811c8ce 4498 temp2 = True;
d14a1e28 4499 }
c32bde28 4500 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 4501 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4502 {
4503 PyThreadState* __tstate = wxPyBeginAllowThreads();
4504 (arg1)->AddIcon((wxString const &)*arg2,arg3);
4505
4506 wxPyEndAllowThreads(__tstate);
4507 if (PyErr_Occurred()) SWIG_fail;
4508 }
4509 Py_INCREF(Py_None); resultobj = Py_None;
4510 {
4511 if (temp2)
4512 delete arg2;
4513 }
4514 return resultobj;
4515 fail:
4516 {
4517 if (temp2)
4518 delete arg2;
4519 }
4520 return NULL;
4521}
4522
4523
c32bde28 4524static PyObject *_wrap_IconBundle_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4525 PyObject *resultobj;
4526 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
4527 wxSize *arg2 = 0 ;
4528 wxIcon *result;
4529 wxSize temp2 ;
4530 PyObject * obj0 = 0 ;
4531 PyObject * obj1 = 0 ;
4532 char *kwnames[] = {
4533 (char *) "self",(char *) "size", NULL
4534 };
4535
4536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconBundle_GetIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconBundle,
4538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4539 {
4540 arg2 = &temp2;
4541 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4542 }
4543 {
4544 PyThreadState* __tstate = wxPyBeginAllowThreads();
4545 {
4546 wxIcon const &_result_ref = ((wxIconBundle const *)arg1)->GetIcon((wxSize const &)*arg2);
4547 result = (wxIcon *) &_result_ref;
4548 }
4549
4550 wxPyEndAllowThreads(__tstate);
4551 if (PyErr_Occurred()) SWIG_fail;
4552 }
4276dc52
RD
4553 {
4554 wxIcon* resultptr = new wxIcon(*result);
4555 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxIcon, 1);
4556 }
d14a1e28
RD
4557 return resultobj;
4558 fail:
4559 return NULL;
4560}
4561
4562
c32bde28 4563static PyObject * IconBundle_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4564 PyObject *obj;
4565 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4566 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle, obj);
4567 Py_INCREF(obj);
4568 return Py_BuildValue((char *)"");
4569}
c32bde28 4570static PyObject *_wrap_new_Cursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4571 PyObject *resultobj;
4572 wxString *arg1 = (wxString *) 0 ;
4573 long arg2 ;
4574 int arg3 = (int) 0 ;
4575 int arg4 = (int) 0 ;
4576 wxCursor *result;
7eae615b 4577 bool temp1 = False ;
d14a1e28 4578 PyObject * obj0 = 0 ;
994141e6
RD
4579 PyObject * obj1 = 0 ;
4580 PyObject * obj2 = 0 ;
4581 PyObject * obj3 = 0 ;
d14a1e28 4582 char *kwnames[] = {
15afbcd0 4583 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
d14a1e28
RD
4584 };
4585
994141e6 4586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_Cursor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7eae615b
RD
4587 {
4588 arg1 = wxString_in_helper(obj0);
4589 if (arg1 == NULL) SWIG_fail;
4590 temp1 = True;
4591 }
c32bde28 4592 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 4593 if (PyErr_Occurred()) SWIG_fail;
994141e6 4594 if (obj2) {
c32bde28 4595 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 4596 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4597 }
4598 if (obj3) {
c32bde28 4599 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 4600 if (PyErr_Occurred()) SWIG_fail;
994141e6 4601 }
d14a1e28 4602 {
e3b71cb8 4603 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4604 PyThreadState* __tstate = wxPyBeginAllowThreads();
4605 result = (wxCursor *)new_wxCursor((wxString const *)arg1,arg2,arg3,arg4);
4606
4607 wxPyEndAllowThreads(__tstate);
110da5b0 4608 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4609 }
15afbcd0 4610 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCursor, 1);
7eae615b
RD
4611 {
4612 if (temp1)
4613 delete arg1;
4614 }
d14a1e28
RD
4615 return resultobj;
4616 fail:
7eae615b
RD
4617 {
4618 if (temp1)
4619 delete arg1;
4620 }
d14a1e28
RD
4621 return NULL;
4622}
4623
4624
c32bde28 4625static PyObject *_wrap_delete_Cursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4626 PyObject *resultobj;
4627 wxCursor *arg1 = (wxCursor *) 0 ;
4628 PyObject * obj0 = 0 ;
4629 char *kwnames[] = {
4630 (char *) "self", NULL
4631 };
4632
4633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Cursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
4634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4636 {
4637 PyThreadState* __tstate = wxPyBeginAllowThreads();
4638 delete arg1;
4639
4640 wxPyEndAllowThreads(__tstate);
4641 if (PyErr_Occurred()) SWIG_fail;
4642 }
4643 Py_INCREF(Py_None); resultobj = Py_None;
4644 return resultobj;
4645 fail:
4646 return NULL;
4647}
4648
4649
c32bde28 4650static PyObject *_wrap_new_StockCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4651 PyObject *resultobj;
4652 int arg1 ;
4653 wxCursor *result;
994141e6 4654 PyObject * obj0 = 0 ;
d14a1e28
RD
4655 char *kwnames[] = {
4656 (char *) "id", NULL
4657 };
4658
994141e6 4659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_StockCursor",kwnames,&obj0)) goto fail;
c32bde28 4660 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 4661 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4662 {
e3b71cb8 4663 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4664 PyThreadState* __tstate = wxPyBeginAllowThreads();
4665 result = (wxCursor *)new wxCursor(arg1);
4666
4667 wxPyEndAllowThreads(__tstate);
110da5b0 4668 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4669 }
15afbcd0 4670 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCursor, 1);
d14a1e28
RD
4671 return resultobj;
4672 fail:
4673 return NULL;
4674}
4675
4676
c32bde28 4677static PyObject *_wrap_new_CursorFromImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4678 PyObject *resultobj;
4679 wxImage *arg1 = 0 ;
4680 wxCursor *result;
4681 PyObject * obj0 = 0 ;
4682 char *kwnames[] = {
4683 (char *) "image", NULL
4684 };
4685
4686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CursorFromImage",kwnames,&obj0)) goto fail;
15afbcd0
RD
4687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
4688 SWIG_POINTER_EXCEPTION | 0)) == -1)
4689 SWIG_fail;
d14a1e28 4690 if (arg1 == NULL) {
15afbcd0
RD
4691 PyErr_SetString(PyExc_TypeError,"null reference");
4692 SWIG_fail;
d14a1e28
RD
4693 }
4694 {
e3b71cb8 4695 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4696 PyThreadState* __tstate = wxPyBeginAllowThreads();
4697 result = (wxCursor *)new wxCursor((wxImage const &)*arg1);
4698
4699 wxPyEndAllowThreads(__tstate);
110da5b0 4700 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4701 }
15afbcd0 4702 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCursor, 1);
d14a1e28
RD
4703 return resultobj;
4704 fail:
4705 return NULL;
4706}
4707
4708
c32bde28 4709static PyObject *_wrap_Cursor_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4710 PyObject *resultobj;
4711 wxCursor *arg1 = (wxCursor *) 0 ;
4712 bool result;
4713 PyObject * obj0 = 0 ;
4714 char *kwnames[] = {
4715 (char *) "self", NULL
4716 };
4717
4718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Cursor_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
4719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4721 {
4722 PyThreadState* __tstate = wxPyBeginAllowThreads();
4723 result = (bool)(arg1)->Ok();
4724
4725 wxPyEndAllowThreads(__tstate);
4726 if (PyErr_Occurred()) SWIG_fail;
4727 }
4f89f6a3
RD
4728 {
4729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4730 }
d14a1e28
RD
4731 return resultobj;
4732 fail:
4733 return NULL;
4734}
4735
4736
c32bde28 4737static PyObject * Cursor_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4738 PyObject *obj;
4739 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4740 SWIG_TypeClientData(SWIGTYPE_p_wxCursor, obj);
4741 Py_INCREF(obj);
4742 return Py_BuildValue((char *)"");
4743}
c32bde28 4744static PyObject *_wrap_new_Region(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 4745 PyObject *resultobj;
e811c8ce
RD
4746 int arg1 = (int) 0 ;
4747 int arg2 = (int) 0 ;
4748 int arg3 = (int) 0 ;
4749 int arg4 = (int) 0 ;
d14a1e28 4750 wxRegion *result;
994141e6
RD
4751 PyObject * obj0 = 0 ;
4752 PyObject * obj1 = 0 ;
4753 PyObject * obj2 = 0 ;
4754 PyObject * obj3 = 0 ;
d14a1e28
RD
4755 char *kwnames[] = {
4756 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4757 };
4758
994141e6
RD
4759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Region",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4760 if (obj0) {
c32bde28 4761 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 4762 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4763 }
4764 if (obj1) {
c32bde28 4765 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4766 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4767 }
4768 if (obj2) {
c32bde28 4769 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 4770 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4771 }
4772 if (obj3) {
c32bde28 4773 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 4774 if (PyErr_Occurred()) SWIG_fail;
994141e6 4775 }
d14a1e28 4776 {
e3b71cb8 4777 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4778 PyThreadState* __tstate = wxPyBeginAllowThreads();
4779 result = (wxRegion *)new wxRegion(arg1,arg2,arg3,arg4);
4780
4781 wxPyEndAllowThreads(__tstate);
110da5b0 4782 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4783 }
15afbcd0 4784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 1);
d14a1e28
RD
4785 return resultobj;
4786 fail:
4787 return NULL;
4788}
4789
4790
c32bde28 4791static PyObject *_wrap_new_RegionFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4792 PyObject *resultobj;
4793 wxBitmap *arg1 = 0 ;
e6ffcedd
RD
4794 wxRegion *result;
4795 PyObject * obj0 = 0 ;
4796 char *kwnames[] = {
4797 (char *) "bmp", NULL
4798 };
4799
4800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_RegionFromBitmap",kwnames,&obj0)) goto fail;
4801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4802 SWIG_POINTER_EXCEPTION | 0)) == -1)
4803 SWIG_fail;
4804 if (arg1 == NULL) {
4805 PyErr_SetString(PyExc_TypeError,"null reference");
4806 SWIG_fail;
4807 }
4808 {
4809 if (!wxPyCheckForApp()) SWIG_fail;
4810 PyThreadState* __tstate = wxPyBeginAllowThreads();
4811 result = (wxRegion *)new wxRegion((wxBitmap const &)*arg1);
4812
4813 wxPyEndAllowThreads(__tstate);
110da5b0 4814 if (PyErr_Occurred()) SWIG_fail;
e6ffcedd
RD
4815 }
4816 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 1);
4817 return resultobj;
4818 fail:
4819 return NULL;
4820}
4821
4822
c32bde28 4823static PyObject *_wrap_new_RegionFromBitmapColour(PyObject *, PyObject *args, PyObject *kwargs) {
e6ffcedd
RD
4824 PyObject *resultobj;
4825 wxBitmap *arg1 = 0 ;
4826 wxColour *arg2 = 0 ;
d14a1e28
RD
4827 int arg3 = (int) 0 ;
4828 wxRegion *result;
4829 wxColour temp2 ;
4830 PyObject * obj0 = 0 ;
4831 PyObject * obj1 = 0 ;
994141e6 4832 PyObject * obj2 = 0 ;
d14a1e28
RD
4833 char *kwnames[] = {
4834 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4835 };
4836
e6ffcedd 4837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_RegionFromBitmapColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4839 SWIG_POINTER_EXCEPTION | 0)) == -1)
4840 SWIG_fail;
d14a1e28 4841 if (arg1 == NULL) {
15afbcd0
RD
4842 PyErr_SetString(PyExc_TypeError,"null reference");
4843 SWIG_fail;
d14a1e28 4844 }
e6ffcedd
RD
4845 {
4846 arg2 = &temp2;
4847 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d14a1e28 4848 }
994141e6 4849 if (obj2) {
c32bde28 4850 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 4851 if (PyErr_Occurred()) SWIG_fail;
994141e6 4852 }
d14a1e28 4853 {
e3b71cb8 4854 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4855 PyThreadState* __tstate = wxPyBeginAllowThreads();
4856 result = (wxRegion *)new wxRegion((wxBitmap const &)*arg1,(wxColour const &)*arg2,arg3);
4857
4858 wxPyEndAllowThreads(__tstate);
110da5b0 4859 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4860 }
15afbcd0 4861 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 1);
d14a1e28
RD
4862 return resultobj;
4863 fail:
4864 return NULL;
4865}
4866
4867
c32bde28 4868static PyObject *_wrap_new_RegionFromPoints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4869 PyObject *resultobj;
4870 int arg1 ;
4871 wxPoint *arg2 = (wxPoint *) 0 ;
4872 int arg3 = (int) wxWINDING_RULE ;
4873 wxRegion *result;
4874 PyObject * obj0 = 0 ;
994141e6 4875 PyObject * obj1 = 0 ;
d14a1e28
RD
4876 char *kwnames[] = {
4877 (char *) "points",(char *) "fillStyle", NULL
4878 };
4879
994141e6 4880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_RegionFromPoints",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
4881 {
4882 arg2 = wxPoint_LIST_helper(obj0, &arg1);
4883 if (arg2 == NULL) SWIG_fail;
4884 }
994141e6 4885 if (obj1) {
c32bde28 4886 arg3 = (int)SWIG_As_int(obj1);
15afbcd0 4887 if (PyErr_Occurred()) SWIG_fail;
994141e6 4888 }
d14a1e28 4889 {
e3b71cb8 4890 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4891 PyThreadState* __tstate = wxPyBeginAllowThreads();
4892 result = (wxRegion *)new wxRegion(arg1,arg2,arg3);
4893
4894 wxPyEndAllowThreads(__tstate);
110da5b0 4895 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4896 }
15afbcd0 4897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 1);
d14a1e28
RD
4898 {
4899 if (arg2) delete [] arg2;
4900 }
4901 return resultobj;
4902 fail:
4903 {
4904 if (arg2) delete [] arg2;
4905 }
4906 return NULL;
4907}
4908
4909
c32bde28 4910static PyObject *_wrap_delete_Region(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4911 PyObject *resultobj;
4912 wxRegion *arg1 = (wxRegion *) 0 ;
4913 PyObject * obj0 = 0 ;
4914 char *kwnames[] = {
4915 (char *) "self", NULL
4916 };
4917
4918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Region",kwnames,&obj0)) goto fail;
15afbcd0
RD
4919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4921 {
4922 PyThreadState* __tstate = wxPyBeginAllowThreads();
4923 delete arg1;
4924
4925 wxPyEndAllowThreads(__tstate);
4926 if (PyErr_Occurred()) SWIG_fail;
4927 }
4928 Py_INCREF(Py_None); resultobj = Py_None;
4929 return resultobj;
4930 fail:
4931 return NULL;
4932}
4933
4934
c32bde28 4935static PyObject *_wrap_Region_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4936 PyObject *resultobj;
4937 wxRegion *arg1 = (wxRegion *) 0 ;
4938 PyObject * obj0 = 0 ;
4939 char *kwnames[] = {
4940 (char *) "self", NULL
4941 };
4942
4943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
4944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4946 {
4947 PyThreadState* __tstate = wxPyBeginAllowThreads();
4948 (arg1)->Clear();
4949
4950 wxPyEndAllowThreads(__tstate);
4951 if (PyErr_Occurred()) SWIG_fail;
4952 }
4953 Py_INCREF(Py_None); resultobj = Py_None;
4954 return resultobj;
4955 fail:
4956 return NULL;
4957}
4958
4959
c32bde28 4960static PyObject *_wrap_Region_Offset(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4961 PyObject *resultobj;
4962 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
4963 int arg2 ;
4964 int arg3 ;
d14a1e28
RD
4965 bool result;
4966 PyObject * obj0 = 0 ;
994141e6
RD
4967 PyObject * obj1 = 0 ;
4968 PyObject * obj2 = 0 ;
d14a1e28
RD
4969 char *kwnames[] = {
4970 (char *) "self",(char *) "x",(char *) "y", NULL
4971 };
4972
994141e6 4973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Region_Offset",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4976 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4977 if (PyErr_Occurred()) SWIG_fail;
c32bde28 4978 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 4979 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4980 {
4981 PyThreadState* __tstate = wxPyBeginAllowThreads();
4982 result = (bool)(arg1)->Offset(arg2,arg3);
4983
4984 wxPyEndAllowThreads(__tstate);
4985 if (PyErr_Occurred()) SWIG_fail;
4986 }
4f89f6a3
RD
4987 {
4988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4989 }
d14a1e28
RD
4990 return resultobj;
4991 fail:
4992 return NULL;
4993}
4994
4995
c32bde28 4996static PyObject *_wrap_Region_Contains(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4997 PyObject *resultobj;
4998 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
4999 int arg2 ;
5000 int arg3 ;
d14a1e28
RD
5001 int result;
5002 PyObject * obj0 = 0 ;
994141e6
RD
5003 PyObject * obj1 = 0 ;
5004 PyObject * obj2 = 0 ;
d14a1e28
RD
5005 char *kwnames[] = {
5006 (char *) "self",(char *) "x",(char *) "y", NULL
5007 };
5008
994141e6 5009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Region_Contains",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5012 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5013 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5014 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5015 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5016 {
5017 PyThreadState* __tstate = wxPyBeginAllowThreads();
5018 result = (int)(arg1)->Contains(arg2,arg3);
5019
5020 wxPyEndAllowThreads(__tstate);
5021 if (PyErr_Occurred()) SWIG_fail;
5022 }
c32bde28 5023 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5024 return resultobj;
5025 fail:
5026 return NULL;
5027}
5028
5029
c32bde28 5030static PyObject *_wrap_Region_ContainsPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5031 PyObject *resultobj;
5032 wxRegion *arg1 = (wxRegion *) 0 ;
5033 wxPoint *arg2 = 0 ;
5034 int result;
5035 wxPoint temp2 ;
5036 PyObject * obj0 = 0 ;
5037 PyObject * obj1 = 0 ;
5038 char *kwnames[] = {
5039 (char *) "self",(char *) "pt", NULL
5040 };
5041
5042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_ContainsPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5045 {
5046 arg2 = &temp2;
5047 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5048 }
5049 {
5050 PyThreadState* __tstate = wxPyBeginAllowThreads();
5051 result = (int)(arg1)->Contains((wxPoint const &)*arg2);
5052
5053 wxPyEndAllowThreads(__tstate);
5054 if (PyErr_Occurred()) SWIG_fail;
5055 }
c32bde28 5056 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5057 return resultobj;
5058 fail:
5059 return NULL;
5060}
5061
5062
c32bde28 5063static PyObject *_wrap_Region_ContainsRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5064 PyObject *resultobj;
5065 wxRegion *arg1 = (wxRegion *) 0 ;
5066 wxRect *arg2 = 0 ;
5067 int result;
5068 wxRect temp2 ;
5069 PyObject * obj0 = 0 ;
5070 PyObject * obj1 = 0 ;
5071 char *kwnames[] = {
5072 (char *) "self",(char *) "rect", NULL
5073 };
5074
5075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_ContainsRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5078 {
5079 arg2 = &temp2;
5080 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5081 }
5082 {
5083 PyThreadState* __tstate = wxPyBeginAllowThreads();
5084 result = (int)(arg1)->Contains((wxRect const &)*arg2);
5085
5086 wxPyEndAllowThreads(__tstate);
5087 if (PyErr_Occurred()) SWIG_fail;
5088 }
c32bde28 5089 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5090 return resultobj;
5091 fail:
5092 return NULL;
5093}
5094
5095
c32bde28 5096static PyObject *_wrap_Region_ContainsRectDim(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5097 PyObject *resultobj;
5098 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
5099 int arg2 ;
5100 int arg3 ;
5101 int arg4 ;
5102 int arg5 ;
d14a1e28
RD
5103 int result;
5104 PyObject * obj0 = 0 ;
994141e6
RD
5105 PyObject * obj1 = 0 ;
5106 PyObject * obj2 = 0 ;
5107 PyObject * obj3 = 0 ;
5108 PyObject * obj4 = 0 ;
d14a1e28
RD
5109 char *kwnames[] = {
5110 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5111 };
5112
994141e6 5113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_ContainsRectDim",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
5114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5116 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5117 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5118 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5119 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5120 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 5121 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5122 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 5123 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5124 {
5125 PyThreadState* __tstate = wxPyBeginAllowThreads();
5126 result = (int)(arg1)->Contains(arg2,arg3,arg4,arg5);
5127
5128 wxPyEndAllowThreads(__tstate);
5129 if (PyErr_Occurred()) SWIG_fail;
5130 }
c32bde28 5131 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5132 return resultobj;
5133 fail:
5134 return NULL;
5135}
5136
5137
c32bde28 5138static PyObject *_wrap_Region_GetBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5139 PyObject *resultobj;
5140 wxRegion *arg1 = (wxRegion *) 0 ;
5141 wxRect result;
5142 PyObject * obj0 = 0 ;
5143 char *kwnames[] = {
5144 (char *) "self", NULL
5145 };
5146
5147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_GetBox",kwnames,&obj0)) goto fail;
15afbcd0
RD
5148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5150 {
5151 PyThreadState* __tstate = wxPyBeginAllowThreads();
5152 result = (arg1)->GetBox();
5153
5154 wxPyEndAllowThreads(__tstate);
5155 if (PyErr_Occurred()) SWIG_fail;
5156 }
5157 {
5158 wxRect * resultptr;
5159 resultptr = new wxRect((wxRect &) result);
15afbcd0 5160 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
5161 }
5162 return resultobj;
5163 fail:
5164 return NULL;
5165}
5166
5167
c32bde28 5168static PyObject *_wrap_Region_Intersect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5169 PyObject *resultobj;
5170 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
5171 int arg2 ;
5172 int arg3 ;
5173 int arg4 ;
5174 int arg5 ;
d14a1e28
RD
5175 bool result;
5176 PyObject * obj0 = 0 ;
994141e6
RD
5177 PyObject * obj1 = 0 ;
5178 PyObject * obj2 = 0 ;
5179 PyObject * obj3 = 0 ;
5180 PyObject * obj4 = 0 ;
d14a1e28
RD
5181 char *kwnames[] = {
5182 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5183 };
5184
994141e6 5185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Intersect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
5186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5188 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5189 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5190 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5191 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5192 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 5193 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5194 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 5195 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5196 {
5197 PyThreadState* __tstate = wxPyBeginAllowThreads();
5198 result = (bool)(arg1)->Intersect(arg2,arg3,arg4,arg5);
5199
5200 wxPyEndAllowThreads(__tstate);
5201 if (PyErr_Occurred()) SWIG_fail;
5202 }
4f89f6a3
RD
5203 {
5204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5205 }
d14a1e28
RD
5206 return resultobj;
5207 fail:
5208 return NULL;
5209}
5210
5211
c32bde28 5212static PyObject *_wrap_Region_IntersectRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5213 PyObject *resultobj;
5214 wxRegion *arg1 = (wxRegion *) 0 ;
5215 wxRect *arg2 = 0 ;
5216 bool result;
5217 wxRect temp2 ;
5218 PyObject * obj0 = 0 ;
5219 PyObject * obj1 = 0 ;
5220 char *kwnames[] = {
5221 (char *) "self",(char *) "rect", NULL
5222 };
5223
5224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_IntersectRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5227 {
5228 arg2 = &temp2;
5229 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5230 }
5231 {
5232 PyThreadState* __tstate = wxPyBeginAllowThreads();
5233 result = (bool)(arg1)->Intersect((wxRect const &)*arg2);
5234
5235 wxPyEndAllowThreads(__tstate);
5236 if (PyErr_Occurred()) SWIG_fail;
5237 }
4f89f6a3
RD
5238 {
5239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5240 }
d14a1e28
RD
5241 return resultobj;
5242 fail:
5243 return NULL;
5244}
5245
5246
c32bde28 5247static PyObject *_wrap_Region_IntersectRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5248 PyObject *resultobj;
5249 wxRegion *arg1 = (wxRegion *) 0 ;
5250 wxRegion *arg2 = 0 ;
5251 bool result;
5252 PyObject * obj0 = 0 ;
5253 PyObject * obj1 = 0 ;
5254 char *kwnames[] = {
5255 (char *) "self",(char *) "region", NULL
5256 };
5257
5258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_IntersectRegion",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5261 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
5262 SWIG_POINTER_EXCEPTION | 0)) == -1)
5263 SWIG_fail;
d14a1e28 5264 if (arg2 == NULL) {
15afbcd0
RD
5265 PyErr_SetString(PyExc_TypeError,"null reference");
5266 SWIG_fail;
d14a1e28
RD
5267 }
5268 {
5269 PyThreadState* __tstate = wxPyBeginAllowThreads();
5270 result = (bool)(arg1)->Intersect((wxRegion const &)*arg2);
5271
5272 wxPyEndAllowThreads(__tstate);
5273 if (PyErr_Occurred()) SWIG_fail;
5274 }
4f89f6a3
RD
5275 {
5276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5277 }
d14a1e28
RD
5278 return resultobj;
5279 fail:
5280 return NULL;
5281}
5282
5283
c32bde28 5284static PyObject *_wrap_Region_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5285 PyObject *resultobj;
5286 wxRegion *arg1 = (wxRegion *) 0 ;
5287 bool result;
5288 PyObject * obj0 = 0 ;
5289 char *kwnames[] = {
5290 (char *) "self", NULL
5291 };
5292
5293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_IsEmpty",kwnames,&obj0)) goto fail;
15afbcd0
RD
5294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5296 {
5297 PyThreadState* __tstate = wxPyBeginAllowThreads();
5298 result = (bool)(arg1)->IsEmpty();
5299
5300 wxPyEndAllowThreads(__tstate);
5301 if (PyErr_Occurred()) SWIG_fail;
5302 }
4f89f6a3
RD
5303 {
5304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5305 }
d14a1e28
RD
5306 return resultobj;
5307 fail:
5308 return NULL;
5309}
5310
5311
c32bde28 5312static PyObject *_wrap_Region_Union(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5313 PyObject *resultobj;
5314 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
5315 int arg2 ;
5316 int arg3 ;
5317 int arg4 ;
5318 int arg5 ;
d14a1e28
RD
5319 bool result;
5320 PyObject * obj0 = 0 ;
994141e6
RD
5321 PyObject * obj1 = 0 ;
5322 PyObject * obj2 = 0 ;
5323 PyObject * obj3 = 0 ;
5324 PyObject * obj4 = 0 ;
d14a1e28
RD
5325 char *kwnames[] = {
5326 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5327 };
5328
994141e6 5329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Union",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
5330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5332 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5333 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5334 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5335 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5336 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 5337 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5338 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 5339 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5340 {
5341 PyThreadState* __tstate = wxPyBeginAllowThreads();
5342 result = (bool)(arg1)->Union(arg2,arg3,arg4,arg5);
5343
5344 wxPyEndAllowThreads(__tstate);
5345 if (PyErr_Occurred()) SWIG_fail;
5346 }
4f89f6a3
RD
5347 {
5348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5349 }
d14a1e28
RD
5350 return resultobj;
5351 fail:
5352 return NULL;
5353}
5354
5355
c32bde28 5356static PyObject *_wrap_Region_UnionRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5357 PyObject *resultobj;
5358 wxRegion *arg1 = (wxRegion *) 0 ;
5359 wxRect *arg2 = 0 ;
5360 bool result;
5361 wxRect temp2 ;
5362 PyObject * obj0 = 0 ;
5363 PyObject * obj1 = 0 ;
5364 char *kwnames[] = {
5365 (char *) "self",(char *) "rect", NULL
5366 };
5367
5368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_UnionRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5371 {
5372 arg2 = &temp2;
5373 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5374 }
5375 {
5376 PyThreadState* __tstate = wxPyBeginAllowThreads();
5377 result = (bool)(arg1)->Union((wxRect const &)*arg2);
5378
5379 wxPyEndAllowThreads(__tstate);
5380 if (PyErr_Occurred()) SWIG_fail;
5381 }
4f89f6a3
RD
5382 {
5383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5384 }
d14a1e28
RD
5385 return resultobj;
5386 fail:
5387 return NULL;
5388}
5389
5390
c32bde28 5391static PyObject *_wrap_Region_UnionRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5392 PyObject *resultobj;
5393 wxRegion *arg1 = (wxRegion *) 0 ;
5394 wxRegion *arg2 = 0 ;
5395 bool result;
5396 PyObject * obj0 = 0 ;
5397 PyObject * obj1 = 0 ;
5398 char *kwnames[] = {
5399 (char *) "self",(char *) "region", NULL
5400 };
5401
5402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_UnionRegion",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5405 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
5406 SWIG_POINTER_EXCEPTION | 0)) == -1)
5407 SWIG_fail;
d14a1e28 5408 if (arg2 == NULL) {
15afbcd0
RD
5409 PyErr_SetString(PyExc_TypeError,"null reference");
5410 SWIG_fail;
d14a1e28
RD
5411 }
5412 {
5413 PyThreadState* __tstate = wxPyBeginAllowThreads();
5414 result = (bool)(arg1)->Union((wxRegion const &)*arg2);
5415
5416 wxPyEndAllowThreads(__tstate);
5417 if (PyErr_Occurred()) SWIG_fail;
5418 }
4f89f6a3
RD
5419 {
5420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5421 }
d14a1e28
RD
5422 return resultobj;
5423 fail:
5424 return NULL;
5425}
5426
5427
c32bde28 5428static PyObject *_wrap_Region_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5429 PyObject *resultobj;
5430 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
5431 int arg2 ;
5432 int arg3 ;
5433 int arg4 ;
5434 int arg5 ;
d14a1e28
RD
5435 bool result;
5436 PyObject * obj0 = 0 ;
994141e6
RD
5437 PyObject * obj1 = 0 ;
5438 PyObject * obj2 = 0 ;
5439 PyObject * obj3 = 0 ;
5440 PyObject * obj4 = 0 ;
d14a1e28
RD
5441 char *kwnames[] = {
5442 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5443 };
5444
994141e6 5445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Subtract",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
5446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5448 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5449 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5450 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5451 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5452 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 5453 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5454 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 5455 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5456 {
5457 PyThreadState* __tstate = wxPyBeginAllowThreads();
5458 result = (bool)(arg1)->Subtract(arg2,arg3,arg4,arg5);
5459
5460 wxPyEndAllowThreads(__tstate);
5461 if (PyErr_Occurred()) SWIG_fail;
5462 }
4f89f6a3
RD
5463 {
5464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5465 }
d14a1e28
RD
5466 return resultobj;
5467 fail:
5468 return NULL;
5469}
5470
5471
c32bde28 5472static PyObject *_wrap_Region_SubtractRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5473 PyObject *resultobj;
5474 wxRegion *arg1 = (wxRegion *) 0 ;
5475 wxRect *arg2 = 0 ;
5476 bool result;
5477 wxRect temp2 ;
5478 PyObject * obj0 = 0 ;
5479 PyObject * obj1 = 0 ;
5480 char *kwnames[] = {
5481 (char *) "self",(char *) "rect", NULL
5482 };
5483
5484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_SubtractRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5487 {
5488 arg2 = &temp2;
5489 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5490 }
5491 {
5492 PyThreadState* __tstate = wxPyBeginAllowThreads();
5493 result = (bool)(arg1)->Subtract((wxRect const &)*arg2);
5494
5495 wxPyEndAllowThreads(__tstate);
5496 if (PyErr_Occurred()) SWIG_fail;
5497 }
4f89f6a3
RD
5498 {
5499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5500 }
d14a1e28
RD
5501 return resultobj;
5502 fail:
5503 return NULL;
5504}
5505
5506
c32bde28 5507static PyObject *_wrap_Region_SubtractRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5508 PyObject *resultobj;
5509 wxRegion *arg1 = (wxRegion *) 0 ;
5510 wxRegion *arg2 = 0 ;
5511 bool result;
5512 PyObject * obj0 = 0 ;
5513 PyObject * obj1 = 0 ;
5514 char *kwnames[] = {
5515 (char *) "self",(char *) "region", NULL
5516 };
5517
5518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_SubtractRegion",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5521 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
5522 SWIG_POINTER_EXCEPTION | 0)) == -1)
5523 SWIG_fail;
d14a1e28 5524 if (arg2 == NULL) {
15afbcd0
RD
5525 PyErr_SetString(PyExc_TypeError,"null reference");
5526 SWIG_fail;
d14a1e28
RD
5527 }
5528 {
5529 PyThreadState* __tstate = wxPyBeginAllowThreads();
5530 result = (bool)(arg1)->Subtract((wxRegion const &)*arg2);
5531
5532 wxPyEndAllowThreads(__tstate);
5533 if (PyErr_Occurred()) SWIG_fail;
5534 }
4f89f6a3
RD
5535 {
5536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5537 }
d14a1e28
RD
5538 return resultobj;
5539 fail:
5540 return NULL;
5541}
5542
5543
c32bde28 5544static PyObject *_wrap_Region_Xor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5545 PyObject *resultobj;
5546 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
5547 int arg2 ;
5548 int arg3 ;
5549 int arg4 ;
5550 int arg5 ;
d14a1e28
RD
5551 bool result;
5552 PyObject * obj0 = 0 ;
994141e6
RD
5553 PyObject * obj1 = 0 ;
5554 PyObject * obj2 = 0 ;
5555 PyObject * obj3 = 0 ;
5556 PyObject * obj4 = 0 ;
d14a1e28
RD
5557 char *kwnames[] = {
5558 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5559 };
5560
994141e6 5561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Xor",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
5562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5564 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5565 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5566 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5567 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5568 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 5569 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5570 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 5571 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5572 {
5573 PyThreadState* __tstate = wxPyBeginAllowThreads();
5574 result = (bool)(arg1)->Xor(arg2,arg3,arg4,arg5);
5575
5576 wxPyEndAllowThreads(__tstate);
5577 if (PyErr_Occurred()) SWIG_fail;
5578 }
4f89f6a3
RD
5579 {
5580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5581 }
d14a1e28
RD
5582 return resultobj;
5583 fail:
5584 return NULL;
5585}
5586
5587
c32bde28 5588static PyObject *_wrap_Region_XorRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5589 PyObject *resultobj;
5590 wxRegion *arg1 = (wxRegion *) 0 ;
5591 wxRect *arg2 = 0 ;
5592 bool result;
5593 wxRect temp2 ;
5594 PyObject * obj0 = 0 ;
5595 PyObject * obj1 = 0 ;
5596 char *kwnames[] = {
5597 (char *) "self",(char *) "rect", NULL
5598 };
5599
5600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_XorRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5603 {
5604 arg2 = &temp2;
5605 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5606 }
5607 {
5608 PyThreadState* __tstate = wxPyBeginAllowThreads();
5609 result = (bool)(arg1)->Xor((wxRect const &)*arg2);
5610
5611 wxPyEndAllowThreads(__tstate);
5612 if (PyErr_Occurred()) SWIG_fail;
5613 }
4f89f6a3
RD
5614 {
5615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5616 }
d14a1e28
RD
5617 return resultobj;
5618 fail:
5619 return NULL;
5620}
5621
5622
c32bde28 5623static PyObject *_wrap_Region_XorRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5624 PyObject *resultobj;
5625 wxRegion *arg1 = (wxRegion *) 0 ;
5626 wxRegion *arg2 = 0 ;
5627 bool result;
5628 PyObject * obj0 = 0 ;
5629 PyObject * obj1 = 0 ;
5630 char *kwnames[] = {
5631 (char *) "self",(char *) "region", NULL
5632 };
5633
5634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_XorRegion",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5637 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
5638 SWIG_POINTER_EXCEPTION | 0)) == -1)
5639 SWIG_fail;
d14a1e28 5640 if (arg2 == NULL) {
15afbcd0
RD
5641 PyErr_SetString(PyExc_TypeError,"null reference");
5642 SWIG_fail;
d14a1e28
RD
5643 }
5644 {
5645 PyThreadState* __tstate = wxPyBeginAllowThreads();
5646 result = (bool)(arg1)->Xor((wxRegion const &)*arg2);
5647
5648 wxPyEndAllowThreads(__tstate);
5649 if (PyErr_Occurred()) SWIG_fail;
5650 }
4f89f6a3
RD
5651 {
5652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5653 }
d14a1e28
RD
5654 return resultobj;
5655 fail:
5656 return NULL;
5657}
5658
5659
c32bde28 5660static PyObject *_wrap_Region_ConvertToBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5661 PyObject *resultobj;
5662 wxRegion *arg1 = (wxRegion *) 0 ;
5663 SwigValueWrapper< wxBitmap > result;
5664 PyObject * obj0 = 0 ;
5665 char *kwnames[] = {
5666 (char *) "self", NULL
5667 };
5668
5669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_ConvertToBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
5670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5672 {
5673 PyThreadState* __tstate = wxPyBeginAllowThreads();
5674 result = (arg1)->ConvertToBitmap();
5675
5676 wxPyEndAllowThreads(__tstate);
5677 if (PyErr_Occurred()) SWIG_fail;
5678 }
5679 {
5680 wxBitmap * resultptr;
5681 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 5682 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
5683 }
5684 return resultobj;
5685 fail:
5686 return NULL;
5687}
5688
5689
c32bde28 5690static PyObject *_wrap_Region_UnionBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5691 PyObject *resultobj;
5692 wxRegion *arg1 = (wxRegion *) 0 ;
5693 wxBitmap *arg2 = 0 ;
e6ffcedd
RD
5694 bool result;
5695 PyObject * obj0 = 0 ;
5696 PyObject * obj1 = 0 ;
5697 char *kwnames[] = {
5698 (char *) "self",(char *) "bmp", NULL
5699 };
5700
5701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_UnionBitmap",kwnames,&obj0,&obj1)) goto fail;
5702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5704 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5705 SWIG_POINTER_EXCEPTION | 0)) == -1)
5706 SWIG_fail;
5707 if (arg2 == NULL) {
5708 PyErr_SetString(PyExc_TypeError,"null reference");
5709 SWIG_fail;
5710 }
5711 {
5712 PyThreadState* __tstate = wxPyBeginAllowThreads();
5713 result = (bool)(arg1)->Union((wxBitmap const &)*arg2);
5714
5715 wxPyEndAllowThreads(__tstate);
5716 if (PyErr_Occurred()) SWIG_fail;
5717 }
5718 {
5719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5720 }
5721 return resultobj;
5722 fail:
5723 return NULL;
5724}
5725
5726
c32bde28 5727static PyObject *_wrap_Region_UnionBitmapColour(PyObject *, PyObject *args, PyObject *kwargs) {
e6ffcedd
RD
5728 PyObject *resultobj;
5729 wxRegion *arg1 = (wxRegion *) 0 ;
5730 wxBitmap *arg2 = 0 ;
5731 wxColour *arg3 = 0 ;
d14a1e28
RD
5732 int arg4 = (int) 0 ;
5733 bool result;
5734 wxColour temp3 ;
5735 PyObject * obj0 = 0 ;
5736 PyObject * obj1 = 0 ;
5737 PyObject * obj2 = 0 ;
994141e6 5738 PyObject * obj3 = 0 ;
d14a1e28
RD
5739 char *kwnames[] = {
5740 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5741 };
5742
e6ffcedd 5743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Region_UnionBitmapColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5746 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5747 SWIG_POINTER_EXCEPTION | 0)) == -1)
5748 SWIG_fail;
d14a1e28 5749 if (arg2 == NULL) {
15afbcd0
RD
5750 PyErr_SetString(PyExc_TypeError,"null reference");
5751 SWIG_fail;
d14a1e28 5752 }
e6ffcedd
RD
5753 {
5754 arg3 = &temp3;
5755 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 5756 }
994141e6 5757 if (obj3) {
c32bde28 5758 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 5759 if (PyErr_Occurred()) SWIG_fail;
994141e6 5760 }
d14a1e28
RD
5761 {
5762 PyThreadState* __tstate = wxPyBeginAllowThreads();
5763 result = (bool)(arg1)->Union((wxBitmap const &)*arg2,(wxColour const &)*arg3,arg4);
5764
5765 wxPyEndAllowThreads(__tstate);
5766 if (PyErr_Occurred()) SWIG_fail;
5767 }
4f89f6a3
RD
5768 {
5769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5770 }
d14a1e28
RD
5771 return resultobj;
5772 fail:
5773 return NULL;
5774}
5775
5776
c32bde28 5777static PyObject * Region_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5778 PyObject *obj;
5779 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5780 SWIG_TypeClientData(SWIGTYPE_p_wxRegion, obj);
5781 Py_INCREF(obj);
5782 return Py_BuildValue((char *)"");
5783}
c32bde28 5784static PyObject *_wrap_new_RegionIterator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5785 PyObject *resultobj;
5786 wxRegion *arg1 = 0 ;
5787 wxRegionIterator *result;
5788 PyObject * obj0 = 0 ;
5789 char *kwnames[] = {
5790 (char *) "region", NULL
5791 };
5792
5793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_RegionIterator",kwnames,&obj0)) goto fail;
15afbcd0
RD
5794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5795 SWIG_POINTER_EXCEPTION | 0)) == -1)
5796 SWIG_fail;
d14a1e28 5797 if (arg1 == NULL) {
15afbcd0
RD
5798 PyErr_SetString(PyExc_TypeError,"null reference");
5799 SWIG_fail;
d14a1e28
RD
5800 }
5801 {
e3b71cb8 5802 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5803 PyThreadState* __tstate = wxPyBeginAllowThreads();
5804 result = (wxRegionIterator *)new wxRegionIterator((wxRegion const &)*arg1);
5805
5806 wxPyEndAllowThreads(__tstate);
110da5b0 5807 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5808 }
15afbcd0 5809 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegionIterator, 1);
d14a1e28
RD
5810 return resultobj;
5811 fail:
5812 return NULL;
5813}
5814
5815
c32bde28 5816static PyObject *_wrap_delete_RegionIterator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5817 PyObject *resultobj;
5818 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
5819 PyObject * obj0 = 0 ;
5820 char *kwnames[] = {
5821 (char *) "self", NULL
5822 };
5823
5824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RegionIterator",kwnames,&obj0)) goto fail;
15afbcd0
RD
5825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5827 {
5828 PyThreadState* __tstate = wxPyBeginAllowThreads();
5829 delete arg1;
5830
5831 wxPyEndAllowThreads(__tstate);
5832 if (PyErr_Occurred()) SWIG_fail;
5833 }
5834 Py_INCREF(Py_None); resultobj = Py_None;
5835 return resultobj;
5836 fail:
5837 return NULL;
5838}
5839
5840
c32bde28 5841static PyObject *_wrap_RegionIterator_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5842 PyObject *resultobj;
5843 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
e811c8ce 5844 int result;
d14a1e28
RD
5845 PyObject * obj0 = 0 ;
5846 char *kwnames[] = {
5847 (char *) "self", NULL
5848 };
5849
5850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
5851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5853 {
5854 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5855 result = (int)(arg1)->GetX();
d14a1e28
RD
5856
5857 wxPyEndAllowThreads(__tstate);
5858 if (PyErr_Occurred()) SWIG_fail;
5859 }
c32bde28 5860 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5861 return resultobj;
5862 fail:
5863 return NULL;
5864}
5865
5866
c32bde28 5867static PyObject *_wrap_RegionIterator_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5868 PyObject *resultobj;
5869 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
e811c8ce 5870 int result;
d14a1e28
RD
5871 PyObject * obj0 = 0 ;
5872 char *kwnames[] = {
5873 (char *) "self", NULL
5874 };
5875
5876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
5877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5879 {
5880 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5881 result = (int)(arg1)->GetY();
d14a1e28
RD
5882
5883 wxPyEndAllowThreads(__tstate);
5884 if (PyErr_Occurred()) SWIG_fail;
5885 }
c32bde28 5886 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5887 return resultobj;
5888 fail:
5889 return NULL;
5890}
5891
5892
c32bde28 5893static PyObject *_wrap_RegionIterator_GetW(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5894 PyObject *resultobj;
5895 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
e811c8ce 5896 int result;
d14a1e28
RD
5897 PyObject * obj0 = 0 ;
5898 char *kwnames[] = {
5899 (char *) "self", NULL
5900 };
5901
5902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetW",kwnames,&obj0)) goto fail;
15afbcd0
RD
5903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5905 {
5906 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5907 result = (int)(arg1)->GetW();
d14a1e28
RD
5908
5909 wxPyEndAllowThreads(__tstate);
5910 if (PyErr_Occurred()) SWIG_fail;
5911 }
c32bde28 5912 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5913 return resultobj;
5914 fail:
5915 return NULL;
5916}
5917
5918
c32bde28 5919static PyObject *_wrap_RegionIterator_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5920 PyObject *resultobj;
5921 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
e811c8ce 5922 int result;
d14a1e28
RD
5923 PyObject * obj0 = 0 ;
5924 char *kwnames[] = {
5925 (char *) "self", NULL
5926 };
5927
5928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
5929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5931 {
5932 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5933 result = (int)(arg1)->GetWidth();
d14a1e28
RD
5934
5935 wxPyEndAllowThreads(__tstate);
5936 if (PyErr_Occurred()) SWIG_fail;
5937 }
c32bde28 5938 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5939 return resultobj;
5940 fail:
5941 return NULL;
5942}
5943
5944
c32bde28 5945static PyObject *_wrap_RegionIterator_GetH(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5946 PyObject *resultobj;
5947 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
e811c8ce 5948 int result;
d14a1e28
RD
5949 PyObject * obj0 = 0 ;
5950 char *kwnames[] = {
5951 (char *) "self", NULL
5952 };
5953
5954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetH",kwnames,&obj0)) goto fail;
15afbcd0
RD
5955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5957 {
5958 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5959 result = (int)(arg1)->GetH();
d14a1e28
RD
5960
5961 wxPyEndAllowThreads(__tstate);
5962 if (PyErr_Occurred()) SWIG_fail;
5963 }
c32bde28 5964 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5965 return resultobj;
5966 fail:
5967 return NULL;
5968}
5969
5970
c32bde28 5971static PyObject *_wrap_RegionIterator_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5972 PyObject *resultobj;
5973 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
e811c8ce 5974 int result;
d14a1e28
RD
5975 PyObject * obj0 = 0 ;
5976 char *kwnames[] = {
5977 (char *) "self", NULL
5978 };
5979
5980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
5981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5983 {
5984 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5985 result = (int)(arg1)->GetHeight();
d14a1e28
RD
5986
5987 wxPyEndAllowThreads(__tstate);
5988 if (PyErr_Occurred()) SWIG_fail;
5989 }
c32bde28 5990 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5991 return resultobj;
5992 fail:
5993 return NULL;
5994}
5995
5996
c32bde28 5997static PyObject *_wrap_RegionIterator_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5998 PyObject *resultobj;
5999 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
6000 wxRect result;
6001 PyObject * obj0 = 0 ;
6002 char *kwnames[] = {
6003 (char *) "self", NULL
6004 };
6005
6006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
6007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
6008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6009 {
6010 PyThreadState* __tstate = wxPyBeginAllowThreads();
6011 result = (arg1)->GetRect();
6012
6013 wxPyEndAllowThreads(__tstate);
6014 if (PyErr_Occurred()) SWIG_fail;
6015 }
6016 {
6017 wxRect * resultptr;
6018 resultptr = new wxRect((wxRect &) result);
15afbcd0 6019 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
6020 }
6021 return resultobj;
6022 fail:
6023 return NULL;
6024}
6025
6026
c32bde28 6027static PyObject *_wrap_RegionIterator_HaveRects(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6028 PyObject *resultobj;
6029 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
6030 bool result;
6031 PyObject * obj0 = 0 ;
6032 char *kwnames[] = {
6033 (char *) "self", NULL
6034 };
6035
6036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_HaveRects",kwnames,&obj0)) goto fail;
15afbcd0
RD
6037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
6038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6039 {
6040 PyThreadState* __tstate = wxPyBeginAllowThreads();
6041 result = (bool)(arg1)->HaveRects();
6042
6043 wxPyEndAllowThreads(__tstate);
6044 if (PyErr_Occurred()) SWIG_fail;
6045 }
4f89f6a3
RD
6046 {
6047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6048 }
d14a1e28
RD
6049 return resultobj;
6050 fail:
6051 return NULL;
6052}
6053
6054
c32bde28 6055static PyObject *_wrap_RegionIterator_Reset(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6056 PyObject *resultobj;
6057 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
6058 PyObject * obj0 = 0 ;
6059 char *kwnames[] = {
6060 (char *) "self", NULL
6061 };
6062
6063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_Reset",kwnames,&obj0)) goto fail;
15afbcd0
RD
6064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
6065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6066 {
6067 PyThreadState* __tstate = wxPyBeginAllowThreads();
6068 (arg1)->Reset();
6069
6070 wxPyEndAllowThreads(__tstate);
6071 if (PyErr_Occurred()) SWIG_fail;
6072 }
6073 Py_INCREF(Py_None); resultobj = Py_None;
6074 return resultobj;
6075 fail:
6076 return NULL;
6077}
6078
6079
c32bde28 6080static PyObject *_wrap_RegionIterator_Next(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6081 PyObject *resultobj;
6082 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
6083 PyObject * obj0 = 0 ;
6084 char *kwnames[] = {
6085 (char *) "self", NULL
6086 };
6087
6088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_Next",kwnames,&obj0)) goto fail;
15afbcd0
RD
6089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
6090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6091 {
6092 PyThreadState* __tstate = wxPyBeginAllowThreads();
6093 wxRegionIterator_Next(arg1);
6094
6095 wxPyEndAllowThreads(__tstate);
6096 if (PyErr_Occurred()) SWIG_fail;
6097 }
6098 Py_INCREF(Py_None); resultobj = Py_None;
6099 return resultobj;
6100 fail:
6101 return NULL;
6102}
6103
6104
c32bde28 6105static PyObject *_wrap_RegionIterator___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6106 PyObject *resultobj;
6107 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
6108 bool result;
6109 PyObject * obj0 = 0 ;
6110 char *kwnames[] = {
6111 (char *) "self", NULL
6112 };
6113
6114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator___nonzero__",kwnames,&obj0)) goto fail;
15afbcd0
RD
6115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
6116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6117 {
6118 PyThreadState* __tstate = wxPyBeginAllowThreads();
6119 result = (bool)wxRegionIterator___nonzero__(arg1);
6120
6121 wxPyEndAllowThreads(__tstate);
6122 if (PyErr_Occurred()) SWIG_fail;
6123 }
4f89f6a3
RD
6124 {
6125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6126 }
d14a1e28
RD
6127 return resultobj;
6128 fail:
6129 return NULL;
6130}
6131
6132
c32bde28 6133static PyObject * RegionIterator_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6134 PyObject *obj;
6135 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6136 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator, obj);
6137 Py_INCREF(obj);
6138 return Py_BuildValue((char *)"");
6139}
c32bde28 6140static PyObject *_wrap_new_NativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6141 PyObject *resultobj;
6142 wxNativeFontInfo *result;
6143 char *kwnames[] = {
6144 NULL
6145 };
6146
6147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NativeFontInfo",kwnames)) goto fail;
6148 {
6149 PyThreadState* __tstate = wxPyBeginAllowThreads();
6150 result = (wxNativeFontInfo *)new wxNativeFontInfo();
6151
6152 wxPyEndAllowThreads(__tstate);
6153 if (PyErr_Occurred()) SWIG_fail;
6154 }
15afbcd0 6155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeFontInfo, 1);
d14a1e28
RD
6156 return resultobj;
6157 fail:
6158 return NULL;
6159}
6160
6161
c32bde28 6162static PyObject *_wrap_delete_NativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6163 PyObject *resultobj;
6164 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6165 PyObject * obj0 = 0 ;
6166 char *kwnames[] = {
6167 (char *) "self", NULL
6168 };
6169
6170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_NativeFontInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
6171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6173 {
6174 PyThreadState* __tstate = wxPyBeginAllowThreads();
6175 delete arg1;
6176
6177 wxPyEndAllowThreads(__tstate);
6178 if (PyErr_Occurred()) SWIG_fail;
6179 }
6180 Py_INCREF(Py_None); resultobj = Py_None;
6181 return resultobj;
6182 fail:
6183 return NULL;
6184}
6185
6186
c32bde28 6187static PyObject *_wrap_NativeFontInfo_Init(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6188 PyObject *resultobj;
6189 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6190 PyObject * obj0 = 0 ;
6191 char *kwnames[] = {
6192 (char *) "self", NULL
6193 };
6194
6195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_Init",kwnames,&obj0)) goto fail;
15afbcd0
RD
6196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6198 {
6199 PyThreadState* __tstate = wxPyBeginAllowThreads();
6200 (arg1)->Init();
6201
6202 wxPyEndAllowThreads(__tstate);
6203 if (PyErr_Occurred()) SWIG_fail;
6204 }
6205 Py_INCREF(Py_None); resultobj = Py_None;
6206 return resultobj;
6207 fail:
6208 return NULL;
6209}
6210
6211
c32bde28 6212static PyObject *_wrap_NativeFontInfo_InitFromFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6213 PyObject *resultobj;
6214 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6215 wxFont *arg2 = 0 ;
6216 PyObject * obj0 = 0 ;
6217 PyObject * obj1 = 0 ;
6218 char *kwnames[] = {
6219 (char *) "self",(char *) "font", NULL
6220 };
6221
6222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_InitFromFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6225 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
6226 SWIG_POINTER_EXCEPTION | 0)) == -1)
6227 SWIG_fail;
d14a1e28 6228 if (arg2 == NULL) {
15afbcd0
RD
6229 PyErr_SetString(PyExc_TypeError,"null reference");
6230 SWIG_fail;
d14a1e28
RD
6231 }
6232 {
6233 PyThreadState* __tstate = wxPyBeginAllowThreads();
6234 (arg1)->InitFromFont((wxFont const &)*arg2);
6235
6236 wxPyEndAllowThreads(__tstate);
6237 if (PyErr_Occurred()) SWIG_fail;
6238 }
6239 Py_INCREF(Py_None); resultobj = Py_None;
6240 return resultobj;
6241 fail:
6242 return NULL;
6243}
6244
6245
c32bde28 6246static PyObject *_wrap_NativeFontInfo_GetPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6247 PyObject *resultobj;
6248 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6249 int result;
6250 PyObject * obj0 = 0 ;
6251 char *kwnames[] = {
6252 (char *) "self", NULL
6253 };
6254
6255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetPointSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
6256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6258 {
6259 PyThreadState* __tstate = wxPyBeginAllowThreads();
6260 result = (int)((wxNativeFontInfo const *)arg1)->GetPointSize();
6261
6262 wxPyEndAllowThreads(__tstate);
6263 if (PyErr_Occurred()) SWIG_fail;
6264 }
c32bde28 6265 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6266 return resultobj;
6267 fail:
6268 return NULL;
6269}
6270
6271
c32bde28 6272static PyObject *_wrap_NativeFontInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6273 PyObject *resultobj;
6274 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6275 int result;
6276 PyObject * obj0 = 0 ;
6277 char *kwnames[] = {
6278 (char *) "self", NULL
6279 };
6280
6281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
6282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6284 {
6285 PyThreadState* __tstate = wxPyBeginAllowThreads();
6286 result = (int)((wxNativeFontInfo const *)arg1)->GetStyle();
6287
6288 wxPyEndAllowThreads(__tstate);
6289 if (PyErr_Occurred()) SWIG_fail;
6290 }
c32bde28 6291 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6292 return resultobj;
6293 fail:
6294 return NULL;
6295}
6296
6297
c32bde28 6298static PyObject *_wrap_NativeFontInfo_GetWeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6299 PyObject *resultobj;
6300 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6301 int result;
6302 PyObject * obj0 = 0 ;
6303 char *kwnames[] = {
6304 (char *) "self", NULL
6305 };
6306
6307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetWeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
6308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6310 {
6311 PyThreadState* __tstate = wxPyBeginAllowThreads();
6312 result = (int)((wxNativeFontInfo const *)arg1)->GetWeight();
6313
6314 wxPyEndAllowThreads(__tstate);
6315 if (PyErr_Occurred()) SWIG_fail;
6316 }
c32bde28 6317 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6318 return resultobj;
6319 fail:
6320 return NULL;
6321}
6322
6323
c32bde28 6324static PyObject *_wrap_NativeFontInfo_GetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6325 PyObject *resultobj;
6326 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6327 bool result;
6328 PyObject * obj0 = 0 ;
6329 char *kwnames[] = {
6330 (char *) "self", NULL
6331 };
6332
6333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetUnderlined",kwnames,&obj0)) goto fail;
15afbcd0
RD
6334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6336 {
6337 PyThreadState* __tstate = wxPyBeginAllowThreads();
6338 result = (bool)((wxNativeFontInfo const *)arg1)->GetUnderlined();
6339
6340 wxPyEndAllowThreads(__tstate);
6341 if (PyErr_Occurred()) SWIG_fail;
6342 }
4f89f6a3
RD
6343 {
6344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6345 }
d14a1e28
RD
6346 return resultobj;
6347 fail:
6348 return NULL;
6349}
6350
6351
c32bde28 6352static PyObject *_wrap_NativeFontInfo_GetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6353 PyObject *resultobj;
6354 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6355 wxString result;
6356 PyObject * obj0 = 0 ;
6357 char *kwnames[] = {
6358 (char *) "self", NULL
6359 };
6360
6361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetFaceName",kwnames,&obj0)) goto fail;
15afbcd0
RD
6362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6364 {
6365 PyThreadState* __tstate = wxPyBeginAllowThreads();
6366 result = ((wxNativeFontInfo const *)arg1)->GetFaceName();
6367
6368 wxPyEndAllowThreads(__tstate);
6369 if (PyErr_Occurred()) SWIG_fail;
6370 }
6371 {
6372#if wxUSE_UNICODE
6373 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6374#else
6375 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6376#endif
6377 }
6378 return resultobj;
6379 fail:
6380 return NULL;
6381}
6382
6383
c32bde28 6384static PyObject *_wrap_NativeFontInfo_GetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6385 PyObject *resultobj;
6386 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6387 int result;
6388 PyObject * obj0 = 0 ;
6389 char *kwnames[] = {
6390 (char *) "self", NULL
6391 };
6392
6393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetFamily",kwnames,&obj0)) goto fail;
15afbcd0
RD
6394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6396 {
6397 PyThreadState* __tstate = wxPyBeginAllowThreads();
6398 result = (int)((wxNativeFontInfo const *)arg1)->GetFamily();
6399
6400 wxPyEndAllowThreads(__tstate);
6401 if (PyErr_Occurred()) SWIG_fail;
6402 }
c32bde28 6403 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6404 return resultobj;
6405 fail:
6406 return NULL;
6407}
6408
6409
c32bde28 6410static PyObject *_wrap_NativeFontInfo_GetEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6411 PyObject *resultobj;
6412 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6413 int result;
6414 PyObject * obj0 = 0 ;
6415 char *kwnames[] = {
6416 (char *) "self", NULL
6417 };
6418
6419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetEncoding",kwnames,&obj0)) goto fail;
15afbcd0
RD
6420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6422 {
6423 PyThreadState* __tstate = wxPyBeginAllowThreads();
6424 result = (int)((wxNativeFontInfo const *)arg1)->GetEncoding();
6425
6426 wxPyEndAllowThreads(__tstate);
6427 if (PyErr_Occurred()) SWIG_fail;
6428 }
c32bde28 6429 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6430 return resultobj;
6431 fail:
6432 return NULL;
6433}
6434
6435
c32bde28 6436static PyObject *_wrap_NativeFontInfo_SetPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6437 PyObject *resultobj;
6438 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6439 int arg2 ;
6440 PyObject * obj0 = 0 ;
994141e6 6441 PyObject * obj1 = 0 ;
d14a1e28
RD
6442 char *kwnames[] = {
6443 (char *) "self",(char *) "pointsize", NULL
6444 };
6445
994141e6 6446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetPointSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6449 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6450 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6451 {
6452 PyThreadState* __tstate = wxPyBeginAllowThreads();
6453 (arg1)->SetPointSize(arg2);
6454
6455 wxPyEndAllowThreads(__tstate);
6456 if (PyErr_Occurred()) SWIG_fail;
6457 }
6458 Py_INCREF(Py_None); resultobj = Py_None;
6459 return resultobj;
6460 fail:
6461 return NULL;
6462}
6463
6464
c32bde28 6465static PyObject *_wrap_NativeFontInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6466 PyObject *resultobj;
6467 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6468 int arg2 ;
6469 PyObject * obj0 = 0 ;
994141e6 6470 PyObject * obj1 = 0 ;
d14a1e28
RD
6471 char *kwnames[] = {
6472 (char *) "self",(char *) "style", NULL
6473 };
6474
994141e6 6475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6478 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6479 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6480 {
6481 PyThreadState* __tstate = wxPyBeginAllowThreads();
6482 (arg1)->SetStyle((wxFontStyle )arg2);
6483
6484 wxPyEndAllowThreads(__tstate);
6485 if (PyErr_Occurred()) SWIG_fail;
6486 }
6487 Py_INCREF(Py_None); resultobj = Py_None;
6488 return resultobj;
6489 fail:
6490 return NULL;
6491}
6492
6493
c32bde28 6494static PyObject *_wrap_NativeFontInfo_SetWeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6495 PyObject *resultobj;
6496 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6497 int arg2 ;
6498 PyObject * obj0 = 0 ;
994141e6 6499 PyObject * obj1 = 0 ;
d14a1e28
RD
6500 char *kwnames[] = {
6501 (char *) "self",(char *) "weight", NULL
6502 };
6503
994141e6 6504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetWeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6507 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6508 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6509 {
6510 PyThreadState* __tstate = wxPyBeginAllowThreads();
6511 (arg1)->SetWeight((wxFontWeight )arg2);
6512
6513 wxPyEndAllowThreads(__tstate);
6514 if (PyErr_Occurred()) SWIG_fail;
6515 }
6516 Py_INCREF(Py_None); resultobj = Py_None;
6517 return resultobj;
6518 fail:
6519 return NULL;
6520}
6521
6522
c32bde28 6523static PyObject *_wrap_NativeFontInfo_SetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6524 PyObject *resultobj;
6525 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6526 bool arg2 ;
6527 PyObject * obj0 = 0 ;
6528 PyObject * obj1 = 0 ;
6529 char *kwnames[] = {
6530 (char *) "self",(char *) "underlined", NULL
6531 };
6532
6533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6536 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 6537 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6538 {
6539 PyThreadState* __tstate = wxPyBeginAllowThreads();
6540 (arg1)->SetUnderlined(arg2);
6541
6542 wxPyEndAllowThreads(__tstate);
6543 if (PyErr_Occurred()) SWIG_fail;
6544 }
6545 Py_INCREF(Py_None); resultobj = Py_None;
6546 return resultobj;
6547 fail:
6548 return NULL;
6549}
6550
6551
c32bde28 6552static PyObject *_wrap_NativeFontInfo_SetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6553 PyObject *resultobj;
6554 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6555 wxString arg2 ;
d14a1e28
RD
6556 PyObject * obj0 = 0 ;
6557 PyObject * obj1 = 0 ;
6558 char *kwnames[] = {
6559 (char *) "self",(char *) "facename", NULL
6560 };
6561
6562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetFaceName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
6565 {
6566 wxString* sptr = wxString_in_helper(obj1);
6567 if (sptr == NULL) SWIG_fail;
6568 arg2 = *sptr;
6569 delete sptr;
6570 }
d14a1e28
RD
6571 {
6572 PyThreadState* __tstate = wxPyBeginAllowThreads();
6573 (arg1)->SetFaceName(arg2);
6574
6575 wxPyEndAllowThreads(__tstate);
6576 if (PyErr_Occurred()) SWIG_fail;
6577 }
6578 Py_INCREF(Py_None); resultobj = Py_None;
6579 return resultobj;
6580 fail:
6581 return NULL;
6582}
6583
6584
c32bde28 6585static PyObject *_wrap_NativeFontInfo_SetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6586 PyObject *resultobj;
6587 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6588 int arg2 ;
6589 PyObject * obj0 = 0 ;
994141e6 6590 PyObject * obj1 = 0 ;
d14a1e28
RD
6591 char *kwnames[] = {
6592 (char *) "self",(char *) "family", NULL
6593 };
6594
994141e6 6595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetFamily",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6598 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6599 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6600 {
6601 PyThreadState* __tstate = wxPyBeginAllowThreads();
6602 (arg1)->SetFamily((wxFontFamily )arg2);
6603
6604 wxPyEndAllowThreads(__tstate);
6605 if (PyErr_Occurred()) SWIG_fail;
6606 }
6607 Py_INCREF(Py_None); resultobj = Py_None;
6608 return resultobj;
6609 fail:
6610 return NULL;
6611}
6612
6613
c32bde28 6614static PyObject *_wrap_NativeFontInfo_SetEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6615 PyObject *resultobj;
6616 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6617 int arg2 ;
6618 PyObject * obj0 = 0 ;
994141e6 6619 PyObject * obj1 = 0 ;
d14a1e28
RD
6620 char *kwnames[] = {
6621 (char *) "self",(char *) "encoding", NULL
6622 };
6623
994141e6 6624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetEncoding",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6627 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6628 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6629 {
6630 PyThreadState* __tstate = wxPyBeginAllowThreads();
6631 (arg1)->SetEncoding((wxFontEncoding )arg2);
6632
6633 wxPyEndAllowThreads(__tstate);
6634 if (PyErr_Occurred()) SWIG_fail;
6635 }
6636 Py_INCREF(Py_None); resultobj = Py_None;
6637 return resultobj;
6638 fail:
6639 return NULL;
6640}
6641
6642
c32bde28 6643static PyObject *_wrap_NativeFontInfo_FromString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6644 PyObject *resultobj;
6645 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6646 wxString *arg2 = 0 ;
6647 bool result;
e811c8ce 6648 bool temp2 = False ;
d14a1e28
RD
6649 PyObject * obj0 = 0 ;
6650 PyObject * obj1 = 0 ;
6651 char *kwnames[] = {
6652 (char *) "self",(char *) "s", NULL
6653 };
6654
6655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_FromString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6658 {
6659 arg2 = wxString_in_helper(obj1);
6660 if (arg2 == NULL) SWIG_fail;
e811c8ce 6661 temp2 = True;
d14a1e28
RD
6662 }
6663 {
6664 PyThreadState* __tstate = wxPyBeginAllowThreads();
6665 result = (bool)(arg1)->FromString((wxString const &)*arg2);
6666
6667 wxPyEndAllowThreads(__tstate);
6668 if (PyErr_Occurred()) SWIG_fail;
6669 }
4f89f6a3
RD
6670 {
6671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6672 }
d14a1e28
RD
6673 {
6674 if (temp2)
6675 delete arg2;
6676 }
6677 return resultobj;
6678 fail:
6679 {
6680 if (temp2)
6681 delete arg2;
6682 }
6683 return NULL;
6684}
6685
6686
c32bde28 6687static PyObject *_wrap_NativeFontInfo_ToString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6688 PyObject *resultobj;
6689 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6690 wxString result;
6691 PyObject * obj0 = 0 ;
6692 char *kwnames[] = {
6693 (char *) "self", NULL
6694 };
6695
6696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_ToString",kwnames,&obj0)) goto fail;
15afbcd0
RD
6697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6699 {
6700 PyThreadState* __tstate = wxPyBeginAllowThreads();
6701 result = ((wxNativeFontInfo const *)arg1)->ToString();
6702
6703 wxPyEndAllowThreads(__tstate);
6704 if (PyErr_Occurred()) SWIG_fail;
6705 }
6706 {
6707#if wxUSE_UNICODE
6708 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6709#else
6710 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6711#endif
6712 }
6713 return resultobj;
6714 fail:
6715 return NULL;
6716}
6717
6718
c32bde28 6719static PyObject *_wrap_NativeFontInfo___str__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6720 PyObject *resultobj;
6721 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6722 wxString result;
6723 PyObject * obj0 = 0 ;
6724 char *kwnames[] = {
6725 (char *) "self", NULL
6726 };
6727
6728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo___str__",kwnames,&obj0)) goto fail;
15afbcd0
RD
6729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6731 {
6732 PyThreadState* __tstate = wxPyBeginAllowThreads();
6733 result = wxNativeFontInfo___str__(arg1);
6734
6735 wxPyEndAllowThreads(__tstate);
6736 if (PyErr_Occurred()) SWIG_fail;
6737 }
6738 {
6739#if wxUSE_UNICODE
6740 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6741#else
6742 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6743#endif
6744 }
6745 return resultobj;
6746 fail:
6747 return NULL;
6748}
6749
6750
c32bde28 6751static PyObject *_wrap_NativeFontInfo_FromUserString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6752 PyObject *resultobj;
6753 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6754 wxString *arg2 = 0 ;
6755 bool result;
e811c8ce 6756 bool temp2 = False ;
d14a1e28
RD
6757 PyObject * obj0 = 0 ;
6758 PyObject * obj1 = 0 ;
6759 char *kwnames[] = {
6760 (char *) "self",(char *) "s", NULL
6761 };
6762
6763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_FromUserString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6766 {
6767 arg2 = wxString_in_helper(obj1);
6768 if (arg2 == NULL) SWIG_fail;
e811c8ce 6769 temp2 = True;
d14a1e28
RD
6770 }
6771 {
6772 PyThreadState* __tstate = wxPyBeginAllowThreads();
6773 result = (bool)(arg1)->FromUserString((wxString const &)*arg2);
6774
6775 wxPyEndAllowThreads(__tstate);
6776 if (PyErr_Occurred()) SWIG_fail;
6777 }
4f89f6a3
RD
6778 {
6779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6780 }
d14a1e28
RD
6781 {
6782 if (temp2)
6783 delete arg2;
6784 }
6785 return resultobj;
6786 fail:
6787 {
6788 if (temp2)
6789 delete arg2;
6790 }
6791 return NULL;
6792}
6793
6794
c32bde28 6795static PyObject *_wrap_NativeFontInfo_ToUserString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6796 PyObject *resultobj;
6797 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6798 wxString result;
6799 PyObject * obj0 = 0 ;
6800 char *kwnames[] = {
6801 (char *) "self", NULL
6802 };
6803
6804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_ToUserString",kwnames,&obj0)) goto fail;
15afbcd0
RD
6805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6807 {
6808 PyThreadState* __tstate = wxPyBeginAllowThreads();
6809 result = ((wxNativeFontInfo const *)arg1)->ToUserString();
6810
6811 wxPyEndAllowThreads(__tstate);
6812 if (PyErr_Occurred()) SWIG_fail;
6813 }
6814 {
6815#if wxUSE_UNICODE
6816 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6817#else
6818 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6819#endif
6820 }
6821 return resultobj;
6822 fail:
6823 return NULL;
6824}
6825
6826
c32bde28 6827static PyObject * NativeFontInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6828 PyObject *obj;
6829 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6830 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo, obj);
6831 Py_INCREF(obj);
6832 return Py_BuildValue((char *)"");
6833}
c32bde28 6834static PyObject *_wrap_NativeEncodingInfo_facename_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6835 PyObject *resultobj;
6836 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
196addbf 6837 wxString *arg2 = (wxString *) 0 ;
7eae615b 6838 bool temp2 = False ;
d14a1e28
RD
6839 PyObject * obj0 = 0 ;
6840 PyObject * obj1 = 0 ;
6841 char *kwnames[] = {
6842 (char *) "self",(char *) "facename", NULL
6843 };
6844
6845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeEncodingInfo_facename_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7eae615b
RD
6848 {
6849 arg2 = wxString_in_helper(obj1);
6850 if (arg2 == NULL) SWIG_fail;
6851 temp2 = True;
6852 }
196addbf 6853 if (arg1) (arg1)->facename = *arg2;
d14a1e28
RD
6854
6855 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
6856 {
6857 if (temp2)
6858 delete arg2;
6859 }
d14a1e28
RD
6860 return resultobj;
6861 fail:
7eae615b
RD
6862 {
6863 if (temp2)
6864 delete arg2;
6865 }
d14a1e28
RD
6866 return NULL;
6867}
6868
6869
c32bde28 6870static PyObject *_wrap_NativeEncodingInfo_facename_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6871 PyObject *resultobj;
6872 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
196addbf 6873 wxString *result;
d14a1e28
RD
6874 PyObject * obj0 = 0 ;
6875 char *kwnames[] = {
6876 (char *) "self", NULL
6877 };
6878
6879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeEncodingInfo_facename_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
6880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
196addbf 6882 result = (wxString *)& ((arg1)->facename);
d14a1e28
RD
6883
6884 {
6885#if wxUSE_UNICODE
196addbf 6886 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 6887#else
196addbf 6888 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
6889#endif
6890 }
6891 return resultobj;
6892 fail:
6893 return NULL;
6894}
6895
6896
c32bde28 6897static PyObject *_wrap_NativeEncodingInfo_encoding_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6898 PyObject *resultobj;
6899 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
6900 int arg2 ;
6901 PyObject * obj0 = 0 ;
994141e6 6902 PyObject * obj1 = 0 ;
d14a1e28
RD
6903 char *kwnames[] = {
6904 (char *) "self",(char *) "encoding", NULL
6905 };
6906
994141e6 6907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6910 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6911 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6912 if (arg1) (arg1)->encoding = (wxFontEncoding )arg2;
6913
6914 Py_INCREF(Py_None); resultobj = Py_None;
6915 return resultobj;
6916 fail:
6917 return NULL;
6918}
6919
6920
c32bde28 6921static PyObject *_wrap_NativeEncodingInfo_encoding_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6922 PyObject *resultobj;
6923 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
6924 int result;
6925 PyObject * obj0 = 0 ;
6926 char *kwnames[] = {
6927 (char *) "self", NULL
6928 };
6929
6930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeEncodingInfo_encoding_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
6931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6933 result = (int) ((arg1)->encoding);
6934
c32bde28 6935 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6936 return resultobj;
6937 fail:
6938 return NULL;
6939}
6940
6941
c32bde28 6942static PyObject *_wrap_new_NativeEncodingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6943 PyObject *resultobj;
6944 wxNativeEncodingInfo *result;
6945 char *kwnames[] = {
6946 NULL
6947 };
6948
6949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NativeEncodingInfo",kwnames)) goto fail;
6950 {
6951 PyThreadState* __tstate = wxPyBeginAllowThreads();
6952 result = (wxNativeEncodingInfo *)new wxNativeEncodingInfo();
6953
6954 wxPyEndAllowThreads(__tstate);
6955 if (PyErr_Occurred()) SWIG_fail;
6956 }
15afbcd0 6957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeEncodingInfo, 1);
d14a1e28
RD
6958 return resultobj;
6959 fail:
6960 return NULL;
6961}
6962
6963
c32bde28 6964static PyObject *_wrap_delete_NativeEncodingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6965 PyObject *resultobj;
6966 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
6967 PyObject * obj0 = 0 ;
6968 char *kwnames[] = {
6969 (char *) "self", NULL
6970 };
6971
6972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_NativeEncodingInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
6973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6975 {
6976 PyThreadState* __tstate = wxPyBeginAllowThreads();
6977 delete arg1;
6978
6979 wxPyEndAllowThreads(__tstate);
6980 if (PyErr_Occurred()) SWIG_fail;
6981 }
6982 Py_INCREF(Py_None); resultobj = Py_None;
6983 return resultobj;
6984 fail:
6985 return NULL;
6986}
6987
6988
c32bde28 6989static PyObject *_wrap_NativeEncodingInfo_FromString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6990 PyObject *resultobj;
6991 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
6992 wxString *arg2 = 0 ;
6993 bool result;
e811c8ce 6994 bool temp2 = False ;
d14a1e28
RD
6995 PyObject * obj0 = 0 ;
6996 PyObject * obj1 = 0 ;
6997 char *kwnames[] = {
6998 (char *) "self",(char *) "s", NULL
6999 };
7000
7001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeEncodingInfo_FromString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
7003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7004 {
7005 arg2 = wxString_in_helper(obj1);
7006 if (arg2 == NULL) SWIG_fail;
e811c8ce 7007 temp2 = True;
d14a1e28
RD
7008 }
7009 {
7010 PyThreadState* __tstate = wxPyBeginAllowThreads();
7011 result = (bool)(arg1)->FromString((wxString const &)*arg2);
7012
7013 wxPyEndAllowThreads(__tstate);
7014 if (PyErr_Occurred()) SWIG_fail;
7015 }
4f89f6a3
RD
7016 {
7017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7018 }
d14a1e28
RD
7019 {
7020 if (temp2)
7021 delete arg2;
7022 }
7023 return resultobj;
7024 fail:
7025 {
7026 if (temp2)
7027 delete arg2;
7028 }
7029 return NULL;
7030}
7031
7032
c32bde28 7033static PyObject *_wrap_NativeEncodingInfo_ToString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7034 PyObject *resultobj;
7035 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
7036 wxString result;
7037 PyObject * obj0 = 0 ;
7038 char *kwnames[] = {
7039 (char *) "self", NULL
7040 };
7041
7042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeEncodingInfo_ToString",kwnames,&obj0)) goto fail;
15afbcd0
RD
7043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
7044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7045 {
7046 PyThreadState* __tstate = wxPyBeginAllowThreads();
7047 result = ((wxNativeEncodingInfo const *)arg1)->ToString();
7048
7049 wxPyEndAllowThreads(__tstate);
7050 if (PyErr_Occurred()) SWIG_fail;
7051 }
7052 {
7053#if wxUSE_UNICODE
7054 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7055#else
7056 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7057#endif
7058 }
7059 return resultobj;
7060 fail:
7061 return NULL;
7062}
7063
7064
c32bde28 7065static PyObject * NativeEncodingInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7066 PyObject *obj;
7067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7068 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo, obj);
7069 Py_INCREF(obj);
7070 return Py_BuildValue((char *)"");
7071}
c32bde28 7072static PyObject *_wrap_GetNativeFontEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7073 PyObject *resultobj;
7074 int arg1 ;
7075 wxNativeEncodingInfo *result;
994141e6 7076 PyObject * obj0 = 0 ;
d14a1e28
RD
7077 char *kwnames[] = {
7078 (char *) "encoding", NULL
7079 };
7080
994141e6 7081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetNativeFontEncoding",kwnames,&obj0)) goto fail;
c32bde28 7082 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 7083 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
7084 {
7085 PyThreadState* __tstate = wxPyBeginAllowThreads();
7086 result = (wxNativeEncodingInfo *)wxGetNativeFontEncoding((wxFontEncoding )arg1);
d14a1e28
RD
7087
7088 wxPyEndAllowThreads(__tstate);
7089 if (PyErr_Occurred()) SWIG_fail;
7090 }
15afbcd0 7091 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeEncodingInfo, 0);
d14a1e28
RD
7092 return resultobj;
7093 fail:
7094 return NULL;
7095}
7096
7097
c32bde28 7098static PyObject *_wrap_TestFontEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7099 PyObject *resultobj;
7100 wxNativeEncodingInfo *arg1 = 0 ;
7101 bool result;
7102 PyObject * obj0 = 0 ;
7103 char *kwnames[] = {
7104 (char *) "info", NULL
7105 };
7106
7107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TestFontEncoding",kwnames,&obj0)) goto fail;
15afbcd0
RD
7108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
7109 SWIG_POINTER_EXCEPTION | 0)) == -1)
7110 SWIG_fail;
d14a1e28 7111 if (arg1 == NULL) {
15afbcd0
RD
7112 PyErr_SetString(PyExc_TypeError,"null reference");
7113 SWIG_fail;
d14a1e28
RD
7114 }
7115 {
7116 PyThreadState* __tstate = wxPyBeginAllowThreads();
7117 result = (bool)wxTestFontEncoding((wxNativeEncodingInfo const &)*arg1);
7118
7119 wxPyEndAllowThreads(__tstate);
7120 if (PyErr_Occurred()) SWIG_fail;
7121 }
4f89f6a3
RD
7122 {
7123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7124 }
d14a1e28
RD
7125 return resultobj;
7126 fail:
7127 return NULL;
7128}
7129
7130
c32bde28 7131static PyObject *_wrap_new_FontMapper(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7132 PyObject *resultobj;
7133 wxFontMapper *result;
7134 char *kwnames[] = {
7135 NULL
7136 };
7137
7138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontMapper",kwnames)) goto fail;
7139 {
7140 PyThreadState* __tstate = wxPyBeginAllowThreads();
7141 result = (wxFontMapper *)new wxFontMapper();
7142
7143 wxPyEndAllowThreads(__tstate);
7144 if (PyErr_Occurred()) SWIG_fail;
7145 }
15afbcd0 7146 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontMapper, 1);
d14a1e28
RD
7147 return resultobj;
7148 fail:
7149 return NULL;
7150}
7151
7152
c32bde28 7153static PyObject *_wrap_delete_FontMapper(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7154 PyObject *resultobj;
7155 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7156 PyObject * obj0 = 0 ;
7157 char *kwnames[] = {
7158 (char *) "self", NULL
7159 };
7160
7161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontMapper",kwnames,&obj0)) goto fail;
15afbcd0
RD
7162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7164 {
7165 PyThreadState* __tstate = wxPyBeginAllowThreads();
7166 delete arg1;
7167
7168 wxPyEndAllowThreads(__tstate);
7169 if (PyErr_Occurred()) SWIG_fail;
7170 }
7171 Py_INCREF(Py_None); resultobj = Py_None;
7172 return resultobj;
7173 fail:
7174 return NULL;
7175}
7176
7177
c32bde28 7178static PyObject *_wrap_FontMapper_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7179 PyObject *resultobj;
7180 wxFontMapper *result;
7181 char *kwnames[] = {
7182 NULL
7183 };
7184
7185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FontMapper_Get",kwnames)) goto fail;
7186 {
7187 PyThreadState* __tstate = wxPyBeginAllowThreads();
7188 result = (wxFontMapper *)wxFontMapper::Get();
7189
7190 wxPyEndAllowThreads(__tstate);
7191 if (PyErr_Occurred()) SWIG_fail;
7192 }
15afbcd0 7193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontMapper, 0);
d14a1e28
RD
7194 return resultobj;
7195 fail:
7196 return NULL;
7197}
7198
7199
c32bde28 7200static PyObject *_wrap_FontMapper_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7201 PyObject *resultobj;
7202 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7203 wxFontMapper *result;
7204 PyObject * obj0 = 0 ;
7205 char *kwnames[] = {
7206 (char *) "mapper", NULL
7207 };
7208
7209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_Set",kwnames,&obj0)) goto fail;
15afbcd0
RD
7210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7212 {
7213 PyThreadState* __tstate = wxPyBeginAllowThreads();
7214 result = (wxFontMapper *)wxFontMapper::Set(arg1);
7215
7216 wxPyEndAllowThreads(__tstate);
7217 if (PyErr_Occurred()) SWIG_fail;
7218 }
15afbcd0 7219 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontMapper, 0);
d14a1e28
RD
7220 return resultobj;
7221 fail:
7222 return NULL;
7223}
7224
7225
c32bde28 7226static PyObject *_wrap_FontMapper_CharsetToEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7227 PyObject *resultobj;
7228 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7229 wxString *arg2 = 0 ;
e811c8ce 7230 bool arg3 = (bool) True ;
d14a1e28 7231 int result;
e811c8ce 7232 bool temp2 = False ;
d14a1e28
RD
7233 PyObject * obj0 = 0 ;
7234 PyObject * obj1 = 0 ;
7235 PyObject * obj2 = 0 ;
7236 char *kwnames[] = {
7237 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7238 };
7239
7240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7243 {
7244 arg2 = wxString_in_helper(obj1);
7245 if (arg2 == NULL) SWIG_fail;
e811c8ce 7246 temp2 = True;
d14a1e28
RD
7247 }
7248 if (obj2) {
c32bde28 7249 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 7250 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7251 }
7252 {
7253 PyThreadState* __tstate = wxPyBeginAllowThreads();
7254 result = (int)(arg1)->CharsetToEncoding((wxString const &)*arg2,arg3);
7255
7256 wxPyEndAllowThreads(__tstate);
7257 if (PyErr_Occurred()) SWIG_fail;
7258 }
c32bde28 7259 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7260 {
7261 if (temp2)
7262 delete arg2;
7263 }
7264 return resultobj;
7265 fail:
7266 {
7267 if (temp2)
7268 delete arg2;
7269 }
7270 return NULL;
7271}
7272
7273
c32bde28 7274static PyObject *_wrap_FontMapper_GetSupportedEncodingsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7275 PyObject *resultobj;
7276 size_t result;
7277 char *kwnames[] = {
7278 NULL
7279 };
7280
7281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames)) goto fail;
7282 {
7283 PyThreadState* __tstate = wxPyBeginAllowThreads();
7284 result = (size_t)wxFontMapper::GetSupportedEncodingsCount();
7285
7286 wxPyEndAllowThreads(__tstate);
7287 if (PyErr_Occurred()) SWIG_fail;
7288 }
c32bde28 7289 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
7290 return resultobj;
7291 fail:
7292 return NULL;
7293}
7294
7295
c32bde28 7296static PyObject *_wrap_FontMapper_GetEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7297 PyObject *resultobj;
7298 size_t arg1 ;
7299 int result;
7300 PyObject * obj0 = 0 ;
7301 char *kwnames[] = {
7302 (char *) "n", NULL
7303 };
7304
7305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncoding",kwnames,&obj0)) goto fail;
c32bde28 7306 arg1 = (size_t)SWIG_As_unsigned_SS_long(obj0);
15afbcd0 7307 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7308 {
7309 PyThreadState* __tstate = wxPyBeginAllowThreads();
7310 result = (int)wxFontMapper::GetEncoding(arg1);
7311
7312 wxPyEndAllowThreads(__tstate);
7313 if (PyErr_Occurred()) SWIG_fail;
7314 }
c32bde28 7315 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7316 return resultobj;
7317 fail:
7318 return NULL;
7319}
7320
7321
c32bde28 7322static PyObject *_wrap_FontMapper_GetEncodingName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7323 PyObject *resultobj;
7324 int arg1 ;
7325 wxString result;
994141e6 7326 PyObject * obj0 = 0 ;
d14a1e28
RD
7327 char *kwnames[] = {
7328 (char *) "encoding", NULL
7329 };
7330
994141e6 7331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncodingName",kwnames,&obj0)) goto fail;
c32bde28 7332 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 7333 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7334 {
7335 PyThreadState* __tstate = wxPyBeginAllowThreads();
7336 result = wxFontMapper::GetEncodingName((wxFontEncoding )arg1);
7337
7338 wxPyEndAllowThreads(__tstate);
7339 if (PyErr_Occurred()) SWIG_fail;
7340 }
7341 {
7342#if wxUSE_UNICODE
7343 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7344#else
7345 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7346#endif
7347 }
7348 return resultobj;
7349 fail:
7350 return NULL;
7351}
7352
7353
c32bde28 7354static PyObject *_wrap_FontMapper_GetEncodingDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7355 PyObject *resultobj;
7356 int arg1 ;
7357 wxString result;
994141e6 7358 PyObject * obj0 = 0 ;
d14a1e28
RD
7359 char *kwnames[] = {
7360 (char *) "encoding", NULL
7361 };
7362
994141e6 7363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncodingDescription",kwnames,&obj0)) goto fail;
c32bde28 7364 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 7365 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7366 {
7367 PyThreadState* __tstate = wxPyBeginAllowThreads();
7368 result = wxFontMapper::GetEncodingDescription((wxFontEncoding )arg1);
7369
7370 wxPyEndAllowThreads(__tstate);
7371 if (PyErr_Occurred()) SWIG_fail;
7372 }
7373 {
7374#if wxUSE_UNICODE
7375 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7376#else
7377 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7378#endif
7379 }
7380 return resultobj;
7381 fail:
7382 return NULL;
7383}
7384
7385
c32bde28 7386static PyObject *_wrap_FontMapper_GetEncodingFromName(PyObject *, PyObject *args, PyObject *kwargs) {
b2df227b
RD
7387 PyObject *resultobj;
7388 wxString *arg1 = 0 ;
7389 int result;
7390 bool temp1 = False ;
7391 PyObject * obj0 = 0 ;
7392 char *kwnames[] = {
7393 (char *) "name", NULL
7394 };
7395
7396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncodingFromName",kwnames,&obj0)) goto fail;
7397 {
7398 arg1 = wxString_in_helper(obj0);
7399 if (arg1 == NULL) SWIG_fail;
7400 temp1 = True;
7401 }
7402 {
7403 PyThreadState* __tstate = wxPyBeginAllowThreads();
7404 result = (int)wxFontMapper::GetEncodingFromName((wxString const &)*arg1);
7405
7406 wxPyEndAllowThreads(__tstate);
7407 if (PyErr_Occurred()) SWIG_fail;
7408 }
c32bde28 7409 resultobj = SWIG_From_int((int)result);
b2df227b
RD
7410 {
7411 if (temp1)
7412 delete arg1;
7413 }
7414 return resultobj;
7415 fail:
7416 {
7417 if (temp1)
7418 delete arg1;
7419 }
7420 return NULL;
7421}
7422
7423
c32bde28 7424static PyObject *_wrap_FontMapper_SetConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7425 PyObject *resultobj;
7426 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7427 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
7428 PyObject * obj0 = 0 ;
7429 PyObject * obj1 = 0 ;
7430 char *kwnames[] = {
7431 (char *) "self",(char *) "config", NULL
7432 };
7433
7434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetConfig",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7437 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
7438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7439 {
7440 PyThreadState* __tstate = wxPyBeginAllowThreads();
7441 (arg1)->SetConfig(arg2);
7442
7443 wxPyEndAllowThreads(__tstate);
7444 if (PyErr_Occurred()) SWIG_fail;
7445 }
7446 Py_INCREF(Py_None); resultobj = Py_None;
7447 return resultobj;
7448 fail:
7449 return NULL;
7450}
7451
7452
c32bde28 7453static PyObject *_wrap_FontMapper_SetConfigPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7454 PyObject *resultobj;
7455 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7456 wxString *arg2 = 0 ;
e811c8ce 7457 bool temp2 = False ;
d14a1e28
RD
7458 PyObject * obj0 = 0 ;
7459 PyObject * obj1 = 0 ;
7460 char *kwnames[] = {
7461 (char *) "self",(char *) "prefix", NULL
7462 };
7463
7464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetConfigPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7467 {
7468 arg2 = wxString_in_helper(obj1);
7469 if (arg2 == NULL) SWIG_fail;
e811c8ce 7470 temp2 = True;
d14a1e28
RD
7471 }
7472 {
7473 PyThreadState* __tstate = wxPyBeginAllowThreads();
7474 (arg1)->SetConfigPath((wxString const &)*arg2);
7475
7476 wxPyEndAllowThreads(__tstate);
7477 if (PyErr_Occurred()) SWIG_fail;
7478 }
7479 Py_INCREF(Py_None); resultobj = Py_None;
7480 {
7481 if (temp2)
7482 delete arg2;
7483 }
7484 return resultobj;
7485 fail:
7486 {
7487 if (temp2)
7488 delete arg2;
7489 }
7490 return NULL;
7491}
7492
7493
c32bde28 7494static PyObject *_wrap_FontMapper_GetDefaultConfigPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7495 PyObject *resultobj;
7496 wxString result;
7497 char *kwnames[] = {
7498 NULL
7499 };
7500
7501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FontMapper_GetDefaultConfigPath",kwnames)) goto fail;
7502 {
7503 PyThreadState* __tstate = wxPyBeginAllowThreads();
7504 result = wxFontMapper::GetDefaultConfigPath();
7505
7506 wxPyEndAllowThreads(__tstate);
7507 if (PyErr_Occurred()) SWIG_fail;
7508 }
7509 {
7510#if wxUSE_UNICODE
7511 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7512#else
7513 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7514#endif
7515 }
7516 return resultobj;
7517 fail:
7518 return NULL;
7519}
7520
7521
c32bde28 7522static PyObject *_wrap_FontMapper_GetAltForEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7523 PyObject *resultobj;
7524 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7525 int arg2 ;
7526 wxString const &arg3_defvalue = wxPyEmptyString ;
7527 wxString *arg3 = (wxString *) &arg3_defvalue ;
e811c8ce 7528 bool arg4 = (bool) True ;
d14a1e28 7529 PyObject *result;
e811c8ce 7530 bool temp3 = False ;
d14a1e28 7531 PyObject * obj0 = 0 ;
994141e6 7532 PyObject * obj1 = 0 ;
d14a1e28
RD
7533 PyObject * obj2 = 0 ;
7534 PyObject * obj3 = 0 ;
7535 char *kwnames[] = {
7536 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7537 };
7538
994141e6 7539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
7540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7542 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7543 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7544 if (obj2) {
7545 {
7546 arg3 = wxString_in_helper(obj2);
7547 if (arg3 == NULL) SWIG_fail;
e811c8ce 7548 temp3 = True;
d14a1e28
RD
7549 }
7550 }
7551 if (obj3) {
c32bde28 7552 arg4 = (bool)SWIG_As_bool(obj3);
15afbcd0 7553 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7554 }
7555 {
7556 PyThreadState* __tstate = wxPyBeginAllowThreads();
7557 result = (PyObject *)wxFontMapper_GetAltForEncoding(arg1,(wxFontEncoding )arg2,(wxString const &)*arg3,arg4);
7558
7559 wxPyEndAllowThreads(__tstate);
7560 if (PyErr_Occurred()) SWIG_fail;
7561 }
7562 resultobj = result;
7563 {
7564 if (temp3)
7565 delete arg3;
7566 }
7567 return resultobj;
7568 fail:
7569 {
7570 if (temp3)
7571 delete arg3;
7572 }
7573 return NULL;
7574}
7575
7576
c32bde28 7577static PyObject *_wrap_FontMapper_IsEncodingAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7578 PyObject *resultobj;
7579 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7580 int arg2 ;
7581 wxString const &arg3_defvalue = wxPyEmptyString ;
7582 wxString *arg3 = (wxString *) &arg3_defvalue ;
7583 bool result;
e811c8ce 7584 bool temp3 = False ;
d14a1e28 7585 PyObject * obj0 = 0 ;
994141e6 7586 PyObject * obj1 = 0 ;
d14a1e28
RD
7587 PyObject * obj2 = 0 ;
7588 char *kwnames[] = {
7589 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7590 };
7591
994141e6 7592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7595 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7596 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7597 if (obj2) {
7598 {
7599 arg3 = wxString_in_helper(obj2);
7600 if (arg3 == NULL) SWIG_fail;
e811c8ce 7601 temp3 = True;
d14a1e28
RD
7602 }
7603 }
7604 {
7605 PyThreadState* __tstate = wxPyBeginAllowThreads();
7606 result = (bool)(arg1)->IsEncodingAvailable((wxFontEncoding )arg2,(wxString const &)*arg3);
7607
7608 wxPyEndAllowThreads(__tstate);
7609 if (PyErr_Occurred()) SWIG_fail;
7610 }
4f89f6a3
RD
7611 {
7612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7613 }
d14a1e28
RD
7614 {
7615 if (temp3)
7616 delete arg3;
7617 }
7618 return resultobj;
7619 fail:
7620 {
7621 if (temp3)
7622 delete arg3;
7623 }
7624 return NULL;
7625}
7626
7627
c32bde28 7628static PyObject *_wrap_FontMapper_SetDialogParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7629 PyObject *resultobj;
7630 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7631 wxWindow *arg2 = (wxWindow *) 0 ;
7632 PyObject * obj0 = 0 ;
7633 PyObject * obj1 = 0 ;
7634 char *kwnames[] = {
7635 (char *) "self",(char *) "parent", NULL
7636 };
7637
7638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetDialogParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7641 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7643 {
7644 PyThreadState* __tstate = wxPyBeginAllowThreads();
7645 (arg1)->SetDialogParent(arg2);
7646
7647 wxPyEndAllowThreads(__tstate);
7648 if (PyErr_Occurred()) SWIG_fail;
7649 }
7650 Py_INCREF(Py_None); resultobj = Py_None;
7651 return resultobj;
7652 fail:
7653 return NULL;
7654}
7655
7656
c32bde28 7657static PyObject *_wrap_FontMapper_SetDialogTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7658 PyObject *resultobj;
7659 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7660 wxString *arg2 = 0 ;
e811c8ce 7661 bool temp2 = False ;
d14a1e28
RD
7662 PyObject * obj0 = 0 ;
7663 PyObject * obj1 = 0 ;
7664 char *kwnames[] = {
7665 (char *) "self",(char *) "title", NULL
7666 };
7667
7668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetDialogTitle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7671 {
7672 arg2 = wxString_in_helper(obj1);
7673 if (arg2 == NULL) SWIG_fail;
e811c8ce 7674 temp2 = True;
d14a1e28
RD
7675 }
7676 {
7677 PyThreadState* __tstate = wxPyBeginAllowThreads();
7678 (arg1)->SetDialogTitle((wxString const &)*arg2);
7679
7680 wxPyEndAllowThreads(__tstate);
7681 if (PyErr_Occurred()) SWIG_fail;
7682 }
7683 Py_INCREF(Py_None); resultobj = Py_None;
7684 {
7685 if (temp2)
7686 delete arg2;
7687 }
7688 return resultobj;
7689 fail:
7690 {
7691 if (temp2)
7692 delete arg2;
7693 }
7694 return NULL;
7695}
7696
7697
c32bde28 7698static PyObject * FontMapper_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7699 PyObject *obj;
7700 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7701 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper, obj);
7702 Py_INCREF(obj);
7703 return Py_BuildValue((char *)"");
7704}
c32bde28 7705static PyObject *_wrap_new_Font(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7706 PyObject *resultobj;
7707 int arg1 ;
7708 int arg2 ;
7709 int arg3 ;
7710 int arg4 ;
e811c8ce 7711 bool arg5 = (bool) False ;
d14a1e28
RD
7712 wxString const &arg6_defvalue = wxPyEmptyString ;
7713 wxString *arg6 = (wxString *) &arg6_defvalue ;
7714 int arg7 = (int) wxFONTENCODING_DEFAULT ;
7715 wxFont *result;
e811c8ce 7716 bool temp6 = False ;
994141e6
RD
7717 PyObject * obj0 = 0 ;
7718 PyObject * obj1 = 0 ;
7719 PyObject * obj2 = 0 ;
7720 PyObject * obj3 = 0 ;
d14a1e28
RD
7721 PyObject * obj4 = 0 ;
7722 PyObject * obj5 = 0 ;
994141e6 7723 PyObject * obj6 = 0 ;
d14a1e28
RD
7724 char *kwnames[] = {
7725 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7726 };
7727
994141e6 7728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:new_Font",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
c32bde28 7729 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 7730 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7731 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7732 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7733 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 7734 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7735 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 7736 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7737 if (obj4) {
c32bde28 7738 arg5 = (bool)SWIG_As_bool(obj4);
15afbcd0 7739 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7740 }
7741 if (obj5) {
7742 {
7743 arg6 = wxString_in_helper(obj5);
7744 if (arg6 == NULL) SWIG_fail;
e811c8ce 7745 temp6 = True;
d14a1e28
RD
7746 }
7747 }
994141e6 7748 if (obj6) {
c32bde28 7749 arg7 = (int)SWIG_As_int(obj6);
15afbcd0 7750 if (PyErr_Occurred()) SWIG_fail;
994141e6 7751 }
d14a1e28 7752 {
e3b71cb8 7753 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7754 PyThreadState* __tstate = wxPyBeginAllowThreads();
7755 result = (wxFont *)new wxFont(arg1,arg2,arg3,arg4,arg5,(wxString const &)*arg6,(wxFontEncoding )arg7);
7756
7757 wxPyEndAllowThreads(__tstate);
110da5b0 7758 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7759 }
15afbcd0 7760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
7761 {
7762 if (temp6)
7763 delete arg6;
7764 }
7765 return resultobj;
7766 fail:
7767 {
7768 if (temp6)
7769 delete arg6;
7770 }
7771 return NULL;
7772}
7773
7774
c32bde28 7775static PyObject *_wrap_delete_Font(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7776 PyObject *resultobj;
7777 wxFont *arg1 = (wxFont *) 0 ;
7778 PyObject * obj0 = 0 ;
7779 char *kwnames[] = {
7780 (char *) "self", NULL
7781 };
7782
7783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Font",kwnames,&obj0)) goto fail;
15afbcd0
RD
7784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7786 {
7787 PyThreadState* __tstate = wxPyBeginAllowThreads();
7788 delete arg1;
7789
7790 wxPyEndAllowThreads(__tstate);
7791 if (PyErr_Occurred()) SWIG_fail;
7792 }
7793 Py_INCREF(Py_None); resultobj = Py_None;
7794 return resultobj;
7795 fail:
7796 return NULL;
7797}
7798
7799
c32bde28 7800static PyObject *_wrap_new_FontFromNativeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7801 PyObject *resultobj;
7802 wxNativeFontInfo *arg1 = 0 ;
7803 wxFont *result;
7804 PyObject * obj0 = 0 ;
7805 char *kwnames[] = {
7806 (char *) "info", NULL
7807 };
7808
7809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FontFromNativeInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
7810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
7811 SWIG_POINTER_EXCEPTION | 0)) == -1)
7812 SWIG_fail;
d14a1e28 7813 if (arg1 == NULL) {
15afbcd0
RD
7814 PyErr_SetString(PyExc_TypeError,"null reference");
7815 SWIG_fail;
d14a1e28
RD
7816 }
7817 {
e3b71cb8 7818 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7819 PyThreadState* __tstate = wxPyBeginAllowThreads();
7820 result = (wxFont *)new wxFont((wxNativeFontInfo const &)*arg1);
7821
7822 wxPyEndAllowThreads(__tstate);
110da5b0 7823 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7824 }
15afbcd0 7825 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
7826 return resultobj;
7827 fail:
7828 return NULL;
7829}
7830
7831
c32bde28 7832static PyObject *_wrap_new_FontFromNativeInfoString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7833 PyObject *resultobj;
7834 wxString *arg1 = 0 ;
7835 wxFont *result;
e811c8ce 7836 bool temp1 = False ;
d14a1e28
RD
7837 PyObject * obj0 = 0 ;
7838 char *kwnames[] = {
7839 (char *) "info", NULL
7840 };
7841
7842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FontFromNativeInfoString",kwnames,&obj0)) goto fail;
7843 {
7844 arg1 = wxString_in_helper(obj0);
7845 if (arg1 == NULL) SWIG_fail;
e811c8ce 7846 temp1 = True;
d14a1e28
RD
7847 }
7848 {
e3b71cb8 7849 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7850 PyThreadState* __tstate = wxPyBeginAllowThreads();
7851 result = (wxFont *)new_wxFont((wxString const &)*arg1);
7852
7853 wxPyEndAllowThreads(__tstate);
110da5b0 7854 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7855 }
15afbcd0 7856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
7857 {
7858 if (temp1)
7859 delete arg1;
7860 }
7861 return resultobj;
7862 fail:
7863 {
7864 if (temp1)
7865 delete arg1;
7866 }
7867 return NULL;
7868}
7869
7870
c32bde28 7871static PyObject *_wrap_new_Font2(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7872 PyObject *resultobj;
7873 int arg1 ;
7874 int arg2 ;
7875 int arg3 = (int) wxFONTFLAG_DEFAULT ;
7876 wxString const &arg4_defvalue = wxPyEmptyString ;
7877 wxString *arg4 = (wxString *) &arg4_defvalue ;
7878 int arg5 = (int) wxFONTENCODING_DEFAULT ;
7879 wxFont *result;
e811c8ce 7880 bool temp4 = False ;
994141e6
RD
7881 PyObject * obj0 = 0 ;
7882 PyObject * obj1 = 0 ;
7883 PyObject * obj2 = 0 ;
d14a1e28 7884 PyObject * obj3 = 0 ;
994141e6 7885 PyObject * obj4 = 0 ;
d14a1e28
RD
7886 char *kwnames[] = {
7887 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7888 };
7889
994141e6 7890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_Font2",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
c32bde28 7891 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 7892 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7893 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7894 if (PyErr_Occurred()) SWIG_fail;
994141e6 7895 if (obj2) {
c32bde28 7896 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 7897 if (PyErr_Occurred()) SWIG_fail;
994141e6 7898 }
d14a1e28
RD
7899 if (obj3) {
7900 {
7901 arg4 = wxString_in_helper(obj3);
7902 if (arg4 == NULL) SWIG_fail;
e811c8ce 7903 temp4 = True;
d14a1e28
RD
7904 }
7905 }
994141e6 7906 if (obj4) {
c32bde28 7907 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 7908 if (PyErr_Occurred()) SWIG_fail;
994141e6 7909 }
d14a1e28 7910 {
e3b71cb8 7911 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7912 PyThreadState* __tstate = wxPyBeginAllowThreads();
7913 result = (wxFont *)new_wxFont(arg1,(wxFontFamily )arg2,arg3,(wxString const &)*arg4,(wxFontEncoding )arg5);
7914
7915 wxPyEndAllowThreads(__tstate);
110da5b0 7916 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7917 }
15afbcd0 7918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
7919 {
7920 if (temp4)
7921 delete arg4;
7922 }
7923 return resultobj;
7924 fail:
7925 {
7926 if (temp4)
7927 delete arg4;
7928 }
7929 return NULL;
7930}
7931
7932
c32bde28 7933static PyObject *_wrap_Font_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7934 PyObject *resultobj;
7935 wxFont *arg1 = (wxFont *) 0 ;
7936 bool result;
7937 PyObject * obj0 = 0 ;
7938 char *kwnames[] = {
7939 (char *) "self", NULL
7940 };
7941
7942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
7943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7945 {
7946 PyThreadState* __tstate = wxPyBeginAllowThreads();
7947 result = (bool)((wxFont const *)arg1)->Ok();
7948
7949 wxPyEndAllowThreads(__tstate);
7950 if (PyErr_Occurred()) SWIG_fail;
7951 }
4f89f6a3
RD
7952 {
7953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7954 }
d14a1e28
RD
7955 return resultobj;
7956 fail:
7957 return NULL;
7958}
7959
7960
c32bde28 7961static PyObject *_wrap_Font___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7962 PyObject *resultobj;
7963 wxFont *arg1 = (wxFont *) 0 ;
22faec7d 7964 wxFont *arg2 = (wxFont *) 0 ;
d14a1e28
RD
7965 bool result;
7966 PyObject * obj0 = 0 ;
7967 PyObject * obj1 = 0 ;
7968 char *kwnames[] = {
22faec7d 7969 (char *) "self",(char *) "other", NULL
d14a1e28
RD
7970 };
7971
7972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7975 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
7976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7977 {
7978 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 7979 result = (bool)wxFont___eq__(arg1,(wxFont const *)arg2);
d14a1e28
RD
7980
7981 wxPyEndAllowThreads(__tstate);
7982 if (PyErr_Occurred()) SWIG_fail;
7983 }
4f89f6a3
RD
7984 {
7985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7986 }
d14a1e28
RD
7987 return resultobj;
7988 fail:
7989 return NULL;
7990}
7991
7992
c32bde28 7993static PyObject *_wrap_Font___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7994 PyObject *resultobj;
7995 wxFont *arg1 = (wxFont *) 0 ;
22faec7d 7996 wxFont *arg2 = (wxFont *) 0 ;
d14a1e28
RD
7997 bool result;
7998 PyObject * obj0 = 0 ;
7999 PyObject * obj1 = 0 ;
8000 char *kwnames[] = {
22faec7d 8001 (char *) "self",(char *) "other", NULL
d14a1e28
RD
8002 };
8003
8004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8007 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
8008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8009 {
8010 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 8011 result = (bool)wxFont___ne__(arg1,(wxFont const *)arg2);
d14a1e28
RD
8012
8013 wxPyEndAllowThreads(__tstate);
8014 if (PyErr_Occurred()) SWIG_fail;
8015 }
4f89f6a3
RD
8016 {
8017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8018 }
d14a1e28
RD
8019 return resultobj;
8020 fail:
8021 return NULL;
8022}
8023
8024
c32bde28 8025static PyObject *_wrap_Font_GetPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8026 PyObject *resultobj;
8027 wxFont *arg1 = (wxFont *) 0 ;
8028 int result;
8029 PyObject * obj0 = 0 ;
8030 char *kwnames[] = {
8031 (char *) "self", NULL
8032 };
8033
8034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetPointSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
8035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8037 {
8038 PyThreadState* __tstate = wxPyBeginAllowThreads();
8039 result = (int)((wxFont const *)arg1)->GetPointSize();
8040
8041 wxPyEndAllowThreads(__tstate);
8042 if (PyErr_Occurred()) SWIG_fail;
8043 }
c32bde28 8044 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8045 return resultobj;
8046 fail:
8047 return NULL;
8048}
8049
8050
c32bde28 8051static PyObject *_wrap_Font_GetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8052 PyObject *resultobj;
8053 wxFont *arg1 = (wxFont *) 0 ;
8054 int result;
8055 PyObject * obj0 = 0 ;
8056 char *kwnames[] = {
8057 (char *) "self", NULL
8058 };
8059
8060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetFamily",kwnames,&obj0)) goto fail;
15afbcd0
RD
8061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8063 {
8064 PyThreadState* __tstate = wxPyBeginAllowThreads();
8065 result = (int)((wxFont const *)arg1)->GetFamily();
8066
8067 wxPyEndAllowThreads(__tstate);
8068 if (PyErr_Occurred()) SWIG_fail;
8069 }
c32bde28 8070 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8071 return resultobj;
8072 fail:
8073 return NULL;
8074}
8075
8076
c32bde28 8077static PyObject *_wrap_Font_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8078 PyObject *resultobj;
8079 wxFont *arg1 = (wxFont *) 0 ;
8080 int result;
8081 PyObject * obj0 = 0 ;
8082 char *kwnames[] = {
8083 (char *) "self", NULL
8084 };
8085
8086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
8087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8089 {
8090 PyThreadState* __tstate = wxPyBeginAllowThreads();
8091 result = (int)((wxFont const *)arg1)->GetStyle();
8092
8093 wxPyEndAllowThreads(__tstate);
8094 if (PyErr_Occurred()) SWIG_fail;
8095 }
c32bde28 8096 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8097 return resultobj;
8098 fail:
8099 return NULL;
8100}
8101
8102
c32bde28 8103static PyObject *_wrap_Font_GetWeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8104 PyObject *resultobj;
8105 wxFont *arg1 = (wxFont *) 0 ;
8106 int result;
8107 PyObject * obj0 = 0 ;
8108 char *kwnames[] = {
8109 (char *) "self", NULL
8110 };
8111
8112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetWeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
8113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8115 {
8116 PyThreadState* __tstate = wxPyBeginAllowThreads();
8117 result = (int)((wxFont const *)arg1)->GetWeight();
8118
8119 wxPyEndAllowThreads(__tstate);
8120 if (PyErr_Occurred()) SWIG_fail;
8121 }
c32bde28 8122 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8123 return resultobj;
8124 fail:
8125 return NULL;
8126}
8127
8128
c32bde28 8129static PyObject *_wrap_Font_GetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8130 PyObject *resultobj;
8131 wxFont *arg1 = (wxFont *) 0 ;
8132 bool result;
8133 PyObject * obj0 = 0 ;
8134 char *kwnames[] = {
8135 (char *) "self", NULL
8136 };
8137
8138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetUnderlined",kwnames,&obj0)) goto fail;
15afbcd0
RD
8139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8141 {
8142 PyThreadState* __tstate = wxPyBeginAllowThreads();
8143 result = (bool)((wxFont const *)arg1)->GetUnderlined();
8144
8145 wxPyEndAllowThreads(__tstate);
8146 if (PyErr_Occurred()) SWIG_fail;
8147 }
4f89f6a3
RD
8148 {
8149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8150 }
d14a1e28
RD
8151 return resultobj;
8152 fail:
8153 return NULL;
8154}
8155
8156
c32bde28 8157static PyObject *_wrap_Font_GetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8158 PyObject *resultobj;
8159 wxFont *arg1 = (wxFont *) 0 ;
8160 wxString result;
8161 PyObject * obj0 = 0 ;
8162 char *kwnames[] = {
8163 (char *) "self", NULL
8164 };
8165
8166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetFaceName",kwnames,&obj0)) goto fail;
15afbcd0
RD
8167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8169 {
8170 PyThreadState* __tstate = wxPyBeginAllowThreads();
8171 result = ((wxFont const *)arg1)->GetFaceName();
8172
8173 wxPyEndAllowThreads(__tstate);
8174 if (PyErr_Occurred()) SWIG_fail;
8175 }
8176 {
8177#if wxUSE_UNICODE
8178 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8179#else
8180 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8181#endif
8182 }
8183 return resultobj;
8184 fail:
8185 return NULL;
8186}
8187
8188
c32bde28 8189static PyObject *_wrap_Font_GetEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8190 PyObject *resultobj;
8191 wxFont *arg1 = (wxFont *) 0 ;
8192 int result;
8193 PyObject * obj0 = 0 ;
8194 char *kwnames[] = {
8195 (char *) "self", NULL
8196 };
8197
8198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetEncoding",kwnames,&obj0)) goto fail;
15afbcd0
RD
8199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8201 {
8202 PyThreadState* __tstate = wxPyBeginAllowThreads();
8203 result = (int)((wxFont const *)arg1)->GetEncoding();
8204
8205 wxPyEndAllowThreads(__tstate);
8206 if (PyErr_Occurred()) SWIG_fail;
8207 }
c32bde28 8208 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8209 return resultobj;
8210 fail:
8211 return NULL;
8212}
8213
8214
c32bde28 8215static PyObject *_wrap_Font_GetNativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8216 PyObject *resultobj;
8217 wxFont *arg1 = (wxFont *) 0 ;
8218 wxNativeFontInfo *result;
8219 PyObject * obj0 = 0 ;
8220 char *kwnames[] = {
8221 (char *) "self", NULL
8222 };
8223
8224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNativeFontInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
8225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8227 {
8228 PyThreadState* __tstate = wxPyBeginAllowThreads();
8229 result = (wxNativeFontInfo *)((wxFont const *)arg1)->GetNativeFontInfo();
8230
8231 wxPyEndAllowThreads(__tstate);
8232 if (PyErr_Occurred()) SWIG_fail;
8233 }
15afbcd0 8234 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeFontInfo, 0);
d14a1e28
RD
8235 return resultobj;
8236 fail:
8237 return NULL;
8238}
8239
8240
c32bde28 8241static PyObject *_wrap_Font_IsFixedWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8242 PyObject *resultobj;
8243 wxFont *arg1 = (wxFont *) 0 ;
8244 bool result;
8245 PyObject * obj0 = 0 ;
8246 char *kwnames[] = {
8247 (char *) "self", NULL
8248 };
8249
8250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_IsFixedWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
8251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8253 {
8254 PyThreadState* __tstate = wxPyBeginAllowThreads();
8255 result = (bool)((wxFont const *)arg1)->IsFixedWidth();
8256
8257 wxPyEndAllowThreads(__tstate);
8258 if (PyErr_Occurred()) SWIG_fail;
8259 }
4f89f6a3
RD
8260 {
8261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8262 }
d14a1e28
RD
8263 return resultobj;
8264 fail:
8265 return NULL;
8266}
8267
8268
c32bde28 8269static PyObject *_wrap_Font_GetNativeFontInfoDesc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8270 PyObject *resultobj;
8271 wxFont *arg1 = (wxFont *) 0 ;
8272 wxString result;
8273 PyObject * obj0 = 0 ;
8274 char *kwnames[] = {
8275 (char *) "self", NULL
8276 };
8277
8278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNativeFontInfoDesc",kwnames,&obj0)) goto fail;
15afbcd0
RD
8279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8281 {
8282 PyThreadState* __tstate = wxPyBeginAllowThreads();
8283 result = ((wxFont const *)arg1)->GetNativeFontInfoDesc();
8284
8285 wxPyEndAllowThreads(__tstate);
8286 if (PyErr_Occurred()) SWIG_fail;
8287 }
8288 {
8289#if wxUSE_UNICODE
8290 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8291#else
8292 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8293#endif
8294 }
8295 return resultobj;
8296 fail:
8297 return NULL;
8298}
8299
8300
c32bde28 8301static PyObject *_wrap_Font_GetNativeFontInfoUserDesc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8302 PyObject *resultobj;
8303 wxFont *arg1 = (wxFont *) 0 ;
8304 wxString result;
8305 PyObject * obj0 = 0 ;
8306 char *kwnames[] = {
8307 (char *) "self", NULL
8308 };
8309
8310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames,&obj0)) goto fail;
15afbcd0
RD
8311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8313 {
8314 PyThreadState* __tstate = wxPyBeginAllowThreads();
8315 result = ((wxFont const *)arg1)->GetNativeFontInfoUserDesc();
8316
8317 wxPyEndAllowThreads(__tstate);
8318 if (PyErr_Occurred()) SWIG_fail;
8319 }
8320 {
8321#if wxUSE_UNICODE
8322 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8323#else
8324 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8325#endif
8326 }
8327 return resultobj;
8328 fail:
8329 return NULL;
8330}
8331
8332
c32bde28 8333static PyObject *_wrap_Font_SetPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8334 PyObject *resultobj;
8335 wxFont *arg1 = (wxFont *) 0 ;
8336 int arg2 ;
8337 PyObject * obj0 = 0 ;
994141e6 8338 PyObject * obj1 = 0 ;
d14a1e28
RD
8339 char *kwnames[] = {
8340 (char *) "self",(char *) "pointSize", NULL
8341 };
8342
994141e6 8343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetPointSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8346 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8347 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8348 {
8349 PyThreadState* __tstate = wxPyBeginAllowThreads();
8350 (arg1)->SetPointSize(arg2);
8351
8352 wxPyEndAllowThreads(__tstate);
8353 if (PyErr_Occurred()) SWIG_fail;
8354 }
8355 Py_INCREF(Py_None); resultobj = Py_None;
8356 return resultobj;
8357 fail:
8358 return NULL;
8359}
8360
8361
c32bde28 8362static PyObject *_wrap_Font_SetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8363 PyObject *resultobj;
8364 wxFont *arg1 = (wxFont *) 0 ;
8365 int arg2 ;
8366 PyObject * obj0 = 0 ;
994141e6 8367 PyObject * obj1 = 0 ;
d14a1e28
RD
8368 char *kwnames[] = {
8369 (char *) "self",(char *) "family", NULL
8370 };
8371
994141e6 8372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetFamily",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8375 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8376 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8377 {
8378 PyThreadState* __tstate = wxPyBeginAllowThreads();
8379 (arg1)->SetFamily(arg2);
8380
8381 wxPyEndAllowThreads(__tstate);
8382 if (PyErr_Occurred()) SWIG_fail;
8383 }
8384 Py_INCREF(Py_None); resultobj = Py_None;
8385 return resultobj;
8386 fail:
8387 return NULL;
8388}
8389
8390
c32bde28 8391static PyObject *_wrap_Font_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8392 PyObject *resultobj;
8393 wxFont *arg1 = (wxFont *) 0 ;
8394 int arg2 ;
8395 PyObject * obj0 = 0 ;
994141e6 8396 PyObject * obj1 = 0 ;
d14a1e28
RD
8397 char *kwnames[] = {
8398 (char *) "self",(char *) "style", NULL
8399 };
8400
994141e6 8401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8404 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8405 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8406 {
8407 PyThreadState* __tstate = wxPyBeginAllowThreads();
8408 (arg1)->SetStyle(arg2);
8409
8410 wxPyEndAllowThreads(__tstate);
8411 if (PyErr_Occurred()) SWIG_fail;
8412 }
8413 Py_INCREF(Py_None); resultobj = Py_None;
8414 return resultobj;
8415 fail:
8416 return NULL;
8417}
8418
8419
c32bde28 8420static PyObject *_wrap_Font_SetWeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8421 PyObject *resultobj;
8422 wxFont *arg1 = (wxFont *) 0 ;
8423 int arg2 ;
8424 PyObject * obj0 = 0 ;
994141e6 8425 PyObject * obj1 = 0 ;
d14a1e28
RD
8426 char *kwnames[] = {
8427 (char *) "self",(char *) "weight", NULL
8428 };
8429
994141e6 8430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetWeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8433 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8434 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8435 {
8436 PyThreadState* __tstate = wxPyBeginAllowThreads();
8437 (arg1)->SetWeight(arg2);
8438
8439 wxPyEndAllowThreads(__tstate);
8440 if (PyErr_Occurred()) SWIG_fail;
8441 }
8442 Py_INCREF(Py_None); resultobj = Py_None;
8443 return resultobj;
8444 fail:
8445 return NULL;
8446}
8447
8448
c32bde28 8449static PyObject *_wrap_Font_SetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8450 PyObject *resultobj;
8451 wxFont *arg1 = (wxFont *) 0 ;
8452 wxString *arg2 = 0 ;
e811c8ce 8453 bool temp2 = False ;
d14a1e28
RD
8454 PyObject * obj0 = 0 ;
8455 PyObject * obj1 = 0 ;
8456 char *kwnames[] = {
8457 (char *) "self",(char *) "faceName", NULL
8458 };
8459
8460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetFaceName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8463 {
8464 arg2 = wxString_in_helper(obj1);
8465 if (arg2 == NULL) SWIG_fail;
e811c8ce 8466 temp2 = True;
d14a1e28
RD
8467 }
8468 {
8469 PyThreadState* __tstate = wxPyBeginAllowThreads();
8470 (arg1)->SetFaceName((wxString const &)*arg2);
8471
8472 wxPyEndAllowThreads(__tstate);
8473 if (PyErr_Occurred()) SWIG_fail;
8474 }
8475 Py_INCREF(Py_None); resultobj = Py_None;
8476 {
8477 if (temp2)
8478 delete arg2;
8479 }
8480 return resultobj;
8481 fail:
8482 {
8483 if (temp2)
8484 delete arg2;
8485 }
8486 return NULL;
8487}
8488
8489
c32bde28 8490static PyObject *_wrap_Font_SetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8491 PyObject *resultobj;
8492 wxFont *arg1 = (wxFont *) 0 ;
8493 bool arg2 ;
8494 PyObject * obj0 = 0 ;
8495 PyObject * obj1 = 0 ;
8496 char *kwnames[] = {
8497 (char *) "self",(char *) "underlined", NULL
8498 };
8499
8500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetUnderlined",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8503 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 8504 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8505 {
8506 PyThreadState* __tstate = wxPyBeginAllowThreads();
8507 (arg1)->SetUnderlined(arg2);
8508
8509 wxPyEndAllowThreads(__tstate);
8510 if (PyErr_Occurred()) SWIG_fail;
8511 }
8512 Py_INCREF(Py_None); resultobj = Py_None;
8513 return resultobj;
8514 fail:
8515 return NULL;
8516}
8517
8518
c32bde28 8519static PyObject *_wrap_Font_SetEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8520 PyObject *resultobj;
8521 wxFont *arg1 = (wxFont *) 0 ;
8522 int arg2 ;
8523 PyObject * obj0 = 0 ;
994141e6 8524 PyObject * obj1 = 0 ;
d14a1e28
RD
8525 char *kwnames[] = {
8526 (char *) "self",(char *) "encoding", NULL
8527 };
8528
994141e6 8529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetEncoding",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8532 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8533 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8534 {
8535 PyThreadState* __tstate = wxPyBeginAllowThreads();
8536 (arg1)->SetEncoding((wxFontEncoding )arg2);
8537
8538 wxPyEndAllowThreads(__tstate);
8539 if (PyErr_Occurred()) SWIG_fail;
8540 }
8541 Py_INCREF(Py_None); resultobj = Py_None;
8542 return resultobj;
8543 fail:
8544 return NULL;
8545}
8546
8547
c32bde28 8548static PyObject *_wrap_Font_SetNativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8549 PyObject *resultobj;
8550 wxFont *arg1 = (wxFont *) 0 ;
8551 wxNativeFontInfo *arg2 = 0 ;
8552 PyObject * obj0 = 0 ;
8553 PyObject * obj1 = 0 ;
8554 char *kwnames[] = {
8555 (char *) "self",(char *) "info", NULL
8556 };
8557
8558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetNativeFontInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8561 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxNativeFontInfo,
8562 SWIG_POINTER_EXCEPTION | 0)) == -1)
8563 SWIG_fail;
d14a1e28 8564 if (arg2 == NULL) {
15afbcd0
RD
8565 PyErr_SetString(PyExc_TypeError,"null reference");
8566 SWIG_fail;
d14a1e28
RD
8567 }
8568 {
8569 PyThreadState* __tstate = wxPyBeginAllowThreads();
8570 (arg1)->SetNativeFontInfo((wxNativeFontInfo const &)*arg2);
8571
8572 wxPyEndAllowThreads(__tstate);
8573 if (PyErr_Occurred()) SWIG_fail;
8574 }
8575 Py_INCREF(Py_None); resultobj = Py_None;
8576 return resultobj;
8577 fail:
8578 return NULL;
8579}
8580
8581
c32bde28 8582static PyObject *_wrap_Font_SetNativeFontInfoFromString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8583 PyObject *resultobj;
8584 wxFont *arg1 = (wxFont *) 0 ;
8585 wxString *arg2 = 0 ;
e811c8ce 8586 bool temp2 = False ;
d14a1e28
RD
8587 PyObject * obj0 = 0 ;
8588 PyObject * obj1 = 0 ;
8589 char *kwnames[] = {
8590 (char *) "self",(char *) "info", NULL
8591 };
8592
8593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8596 {
8597 arg2 = wxString_in_helper(obj1);
8598 if (arg2 == NULL) SWIG_fail;
e811c8ce 8599 temp2 = True;
d14a1e28
RD
8600 }
8601 {
8602 PyThreadState* __tstate = wxPyBeginAllowThreads();
8603 (arg1)->SetNativeFontInfo((wxString const &)*arg2);
8604
8605 wxPyEndAllowThreads(__tstate);
8606 if (PyErr_Occurred()) SWIG_fail;
8607 }
8608 Py_INCREF(Py_None); resultobj = Py_None;
8609 {
8610 if (temp2)
8611 delete arg2;
8612 }
8613 return resultobj;
8614 fail:
8615 {
8616 if (temp2)
8617 delete arg2;
8618 }
8619 return NULL;
8620}
8621
8622
c32bde28 8623static PyObject *_wrap_Font_SetNativeFontInfoUserDesc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8624 PyObject *resultobj;
8625 wxFont *arg1 = (wxFont *) 0 ;
8626 wxString *arg2 = 0 ;
e811c8ce 8627 bool temp2 = False ;
d14a1e28
RD
8628 PyObject * obj0 = 0 ;
8629 PyObject * obj1 = 0 ;
8630 char *kwnames[] = {
8631 (char *) "self",(char *) "info", NULL
8632 };
8633
8634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8637 {
8638 arg2 = wxString_in_helper(obj1);
8639 if (arg2 == NULL) SWIG_fail;
e811c8ce 8640 temp2 = True;
d14a1e28
RD
8641 }
8642 {
8643 PyThreadState* __tstate = wxPyBeginAllowThreads();
8644 (arg1)->SetNativeFontInfoUserDesc((wxString const &)*arg2);
8645
8646 wxPyEndAllowThreads(__tstate);
8647 if (PyErr_Occurred()) SWIG_fail;
8648 }
8649 Py_INCREF(Py_None); resultobj = Py_None;
8650 {
8651 if (temp2)
8652 delete arg2;
8653 }
8654 return resultobj;
8655 fail:
8656 {
8657 if (temp2)
8658 delete arg2;
8659 }
8660 return NULL;
8661}
8662
8663
c32bde28 8664static PyObject *_wrap_Font_GetFamilyString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8665 PyObject *resultobj;
8666 wxFont *arg1 = (wxFont *) 0 ;
8667 wxString result;
8668 PyObject * obj0 = 0 ;
8669 char *kwnames[] = {
8670 (char *) "self", NULL
8671 };
8672
8673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetFamilyString",kwnames,&obj0)) goto fail;
15afbcd0
RD
8674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8676 {
8677 PyThreadState* __tstate = wxPyBeginAllowThreads();
8678 result = ((wxFont const *)arg1)->GetFamilyString();
8679
8680 wxPyEndAllowThreads(__tstate);
8681 if (PyErr_Occurred()) SWIG_fail;
8682 }
8683 {
8684#if wxUSE_UNICODE
8685 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8686#else
8687 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8688#endif
8689 }
8690 return resultobj;
8691 fail:
8692 return NULL;
8693}
8694
8695
c32bde28 8696static PyObject *_wrap_Font_GetStyleString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8697 PyObject *resultobj;
8698 wxFont *arg1 = (wxFont *) 0 ;
8699 wxString result;
8700 PyObject * obj0 = 0 ;
8701 char *kwnames[] = {
8702 (char *) "self", NULL
8703 };
8704
8705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetStyleString",kwnames,&obj0)) goto fail;
15afbcd0
RD
8706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8708 {
8709 PyThreadState* __tstate = wxPyBeginAllowThreads();
8710 result = ((wxFont const *)arg1)->GetStyleString();
8711
8712 wxPyEndAllowThreads(__tstate);
8713 if (PyErr_Occurred()) SWIG_fail;
8714 }
8715 {
8716#if wxUSE_UNICODE
8717 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8718#else
8719 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8720#endif
8721 }
8722 return resultobj;
8723 fail:
8724 return NULL;
8725}
8726
8727
c32bde28 8728static PyObject *_wrap_Font_GetWeightString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8729 PyObject *resultobj;
8730 wxFont *arg1 = (wxFont *) 0 ;
8731 wxString result;
8732 PyObject * obj0 = 0 ;
8733 char *kwnames[] = {
8734 (char *) "self", NULL
8735 };
8736
8737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetWeightString",kwnames,&obj0)) goto fail;
15afbcd0
RD
8738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8740 {
8741 PyThreadState* __tstate = wxPyBeginAllowThreads();
8742 result = ((wxFont const *)arg1)->GetWeightString();
8743
8744 wxPyEndAllowThreads(__tstate);
8745 if (PyErr_Occurred()) SWIG_fail;
8746 }
8747 {
8748#if wxUSE_UNICODE
8749 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8750#else
8751 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8752#endif
8753 }
8754 return resultobj;
8755 fail:
8756 return NULL;
8757}
8758
8759
c32bde28 8760static PyObject *_wrap_Font_SetNoAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8761 PyObject *resultobj;
8762 wxFont *arg1 = (wxFont *) 0 ;
e811c8ce 8763 bool arg2 = (bool) True ;
d14a1e28
RD
8764 PyObject * obj0 = 0 ;
8765 PyObject * obj1 = 0 ;
8766 char *kwnames[] = {
8767 (char *) "self",(char *) "no", NULL
8768 };
8769
8770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Font_SetNoAntiAliasing",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8773 if (obj1) {
c32bde28 8774 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 8775 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8776 }
8777 {
8778 PyThreadState* __tstate = wxPyBeginAllowThreads();
8779 (arg1)->SetNoAntiAliasing(arg2);
8780
8781 wxPyEndAllowThreads(__tstate);
8782 if (PyErr_Occurred()) SWIG_fail;
8783 }
8784 Py_INCREF(Py_None); resultobj = Py_None;
8785 return resultobj;
8786 fail:
8787 return NULL;
8788}
8789
8790
c32bde28 8791static PyObject *_wrap_Font_GetNoAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8792 PyObject *resultobj;
8793 wxFont *arg1 = (wxFont *) 0 ;
8794 bool result;
8795 PyObject * obj0 = 0 ;
8796 char *kwnames[] = {
8797 (char *) "self", NULL
8798 };
8799
8800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNoAntiAliasing",kwnames,&obj0)) goto fail;
15afbcd0
RD
8801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8803 {
8804 PyThreadState* __tstate = wxPyBeginAllowThreads();
0dcf9a74 8805 result = (bool)((wxFont const *)arg1)->GetNoAntiAliasing();
d14a1e28
RD
8806
8807 wxPyEndAllowThreads(__tstate);
8808 if (PyErr_Occurred()) SWIG_fail;
8809 }
4f89f6a3
RD
8810 {
8811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8812 }
d14a1e28
RD
8813 return resultobj;
8814 fail:
8815 return NULL;
8816}
8817
8818
c32bde28 8819static PyObject *_wrap_Font_GetDefaultEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8820 PyObject *resultobj;
8821 int result;
8822 char *kwnames[] = {
8823 NULL
8824 };
8825
8826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Font_GetDefaultEncoding",kwnames)) goto fail;
8827 {
e3b71cb8 8828 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8829 PyThreadState* __tstate = wxPyBeginAllowThreads();
8830 result = (int)wxFont::GetDefaultEncoding();
8831
8832 wxPyEndAllowThreads(__tstate);
110da5b0 8833 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8834 }
c32bde28 8835 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8836 return resultobj;
8837 fail:
8838 return NULL;
8839}
8840
8841
c32bde28 8842static PyObject *_wrap_Font_SetDefaultEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8843 PyObject *resultobj;
8844 int arg1 ;
994141e6 8845 PyObject * obj0 = 0 ;
d14a1e28
RD
8846 char *kwnames[] = {
8847 (char *) "encoding", NULL
8848 };
8849
994141e6 8850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_SetDefaultEncoding",kwnames,&obj0)) goto fail;
c32bde28 8851 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 8852 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8853 {
e3b71cb8 8854 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8855 PyThreadState* __tstate = wxPyBeginAllowThreads();
8856 wxFont::SetDefaultEncoding((wxFontEncoding )arg1);
8857
8858 wxPyEndAllowThreads(__tstate);
110da5b0 8859 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8860 }
8861 Py_INCREF(Py_None); resultobj = Py_None;
8862 return resultobj;
8863 fail:
8864 return NULL;
8865}
8866
8867
c32bde28 8868static PyObject * Font_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8869 PyObject *obj;
8870 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8871 SWIG_TypeClientData(SWIGTYPE_p_wxFont, obj);
8872 Py_INCREF(obj);
8873 return Py_BuildValue((char *)"");
8874}
c32bde28 8875static PyObject *_wrap_new_FontEnumerator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8876 PyObject *resultobj;
8877 wxPyFontEnumerator *result;
8878 char *kwnames[] = {
8879 NULL
8880 };
8881
8882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontEnumerator",kwnames)) goto fail;
8883 {
e3b71cb8 8884 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8885 PyThreadState* __tstate = wxPyBeginAllowThreads();
8886 result = (wxPyFontEnumerator *)new wxPyFontEnumerator();
8887
8888 wxPyEndAllowThreads(__tstate);
110da5b0 8889 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8890 }
15afbcd0 8891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFontEnumerator, 1);
d14a1e28
RD
8892 return resultobj;
8893 fail:
8894 return NULL;
8895}
8896
8897
c32bde28 8898static PyObject *_wrap_delete_FontEnumerator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8899 PyObject *resultobj;
8900 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
8901 PyObject * obj0 = 0 ;
8902 char *kwnames[] = {
8903 (char *) "self", NULL
8904 };
8905
8906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontEnumerator",kwnames,&obj0)) goto fail;
15afbcd0
RD
8907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
8908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8909 {
8910 PyThreadState* __tstate = wxPyBeginAllowThreads();
8911 delete arg1;
8912
8913 wxPyEndAllowThreads(__tstate);
8914 if (PyErr_Occurred()) SWIG_fail;
8915 }
8916 Py_INCREF(Py_None); resultobj = Py_None;
8917 return resultobj;
8918 fail:
8919 return NULL;
8920}
8921
8922
c32bde28 8923static PyObject *_wrap_FontEnumerator__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8924 PyObject *resultobj;
8925 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
8926 PyObject *arg2 = (PyObject *) 0 ;
8927 PyObject *arg3 = (PyObject *) 0 ;
8928 bool arg4 ;
8929 PyObject * obj0 = 0 ;
8930 PyObject * obj1 = 0 ;
8931 PyObject * obj2 = 0 ;
8932 PyObject * obj3 = 0 ;
8933 char *kwnames[] = {
8934 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8935 };
8936
8937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
8939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8940 arg2 = obj1;
8941 arg3 = obj2;
c32bde28 8942 arg4 = (bool)SWIG_As_bool(obj3);
15afbcd0 8943 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8944 {
8945 PyThreadState* __tstate = wxPyBeginAllowThreads();
8946 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
8947
8948 wxPyEndAllowThreads(__tstate);
8949 if (PyErr_Occurred()) SWIG_fail;
8950 }
8951 Py_INCREF(Py_None); resultobj = Py_None;
8952 return resultobj;
8953 fail:
8954 return NULL;
8955}
8956
8957
c32bde28 8958static PyObject *_wrap_FontEnumerator_EnumerateFacenames(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8959 PyObject *resultobj;
8960 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
8961 int arg2 = (int) wxFONTENCODING_SYSTEM ;
e811c8ce 8962 bool arg3 = (bool) False ;
d14a1e28
RD
8963 bool result;
8964 PyObject * obj0 = 0 ;
994141e6 8965 PyObject * obj1 = 0 ;
d14a1e28
RD
8966 PyObject * obj2 = 0 ;
8967 char *kwnames[] = {
8968 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8969 };
8970
994141e6 8971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
8973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8974 if (obj1) {
c32bde28 8975 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8976 if (PyErr_Occurred()) SWIG_fail;
994141e6 8977 }
d14a1e28 8978 if (obj2) {
c32bde28 8979 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 8980 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8981 }
8982 {
8983 PyThreadState* __tstate = wxPyBeginAllowThreads();
8984 result = (bool)(arg1)->EnumerateFacenames((wxFontEncoding )arg2,arg3);
8985
8986 wxPyEndAllowThreads(__tstate);
8987 if (PyErr_Occurred()) SWIG_fail;
8988 }
4f89f6a3
RD
8989 {
8990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8991 }
d14a1e28
RD
8992 return resultobj;
8993 fail:
8994 return NULL;
8995}
8996
8997
c32bde28 8998static PyObject *_wrap_FontEnumerator_EnumerateEncodings(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8999 PyObject *resultobj;
9000 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
9001 wxString const &arg2_defvalue = wxPyEmptyString ;
9002 wxString *arg2 = (wxString *) &arg2_defvalue ;
9003 bool result;
e811c8ce 9004 bool temp2 = False ;
d14a1e28
RD
9005 PyObject * obj0 = 0 ;
9006 PyObject * obj1 = 0 ;
9007 char *kwnames[] = {
9008 (char *) "self",(char *) "facename", NULL
9009 };
9010
9011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
9013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9014 if (obj1) {
9015 {
9016 arg2 = wxString_in_helper(obj1);
9017 if (arg2 == NULL) SWIG_fail;
e811c8ce 9018 temp2 = True;
d14a1e28
RD
9019 }
9020 }
9021 {
9022 PyThreadState* __tstate = wxPyBeginAllowThreads();
9023 result = (bool)(arg1)->EnumerateEncodings((wxString const &)*arg2);
9024
9025 wxPyEndAllowThreads(__tstate);
9026 if (PyErr_Occurred()) SWIG_fail;
9027 }
4f89f6a3
RD
9028 {
9029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9030 }
d14a1e28
RD
9031 {
9032 if (temp2)
9033 delete arg2;
9034 }
9035 return resultobj;
9036 fail:
9037 {
9038 if (temp2)
9039 delete arg2;
9040 }
9041 return NULL;
9042}
9043
9044
c32bde28 9045static PyObject *_wrap_FontEnumerator_GetEncodings(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9046 PyObject *resultobj;
9047 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
9048 PyObject *result;
9049 PyObject * obj0 = 0 ;
9050 char *kwnames[] = {
9051 (char *) "self", NULL
9052 };
9053
9054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontEnumerator_GetEncodings",kwnames,&obj0)) goto fail;
15afbcd0
RD
9055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
9056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9057 {
9058 PyThreadState* __tstate = wxPyBeginAllowThreads();
9059 result = (PyObject *)wxPyFontEnumerator_GetEncodings(arg1);
9060
9061 wxPyEndAllowThreads(__tstate);
9062 if (PyErr_Occurred()) SWIG_fail;
9063 }
9064 resultobj = result;
9065 return resultobj;
9066 fail:
9067 return NULL;
9068}
9069
9070
c32bde28 9071static PyObject *_wrap_FontEnumerator_GetFacenames(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9072 PyObject *resultobj;
9073 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
9074 PyObject *result;
9075 PyObject * obj0 = 0 ;
9076 char *kwnames[] = {
9077 (char *) "self", NULL
9078 };
9079
9080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontEnumerator_GetFacenames",kwnames,&obj0)) goto fail;
15afbcd0
RD
9081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
9082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9083 {
9084 PyThreadState* __tstate = wxPyBeginAllowThreads();
9085 result = (PyObject *)wxPyFontEnumerator_GetFacenames(arg1);
9086
9087 wxPyEndAllowThreads(__tstate);
9088 if (PyErr_Occurred()) SWIG_fail;
9089 }
9090 resultobj = result;
9091 return resultobj;
9092 fail:
9093 return NULL;
9094}
9095
9096
c32bde28 9097static PyObject * FontEnumerator_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9098 PyObject *obj;
9099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9100 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator, obj);
9101 Py_INCREF(obj);
9102 return Py_BuildValue((char *)"");
9103}
c32bde28 9104static PyObject *_wrap_LanguageInfo_Language_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9105 PyObject *resultobj;
9106 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
9107 int arg2 ;
9108 PyObject * obj0 = 0 ;
994141e6 9109 PyObject * obj1 = 0 ;
d14a1e28
RD
9110 char *kwnames[] = {
9111 (char *) "self",(char *) "Language", NULL
9112 };
9113
994141e6 9114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LanguageInfo_Language_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
9116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9117 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9118 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9119 if (arg1) (arg1)->Language = arg2;
9120
9121 Py_INCREF(Py_None); resultobj = Py_None;
9122 return resultobj;
9123 fail:
9124 return NULL;
9125}
9126
9127
c32bde28 9128static PyObject *_wrap_LanguageInfo_Language_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9129 PyObject *resultobj;
9130 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
9131 int result;
9132 PyObject * obj0 = 0 ;
9133 char *kwnames[] = {
9134 (char *) "self", NULL
9135 };
9136
9137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LanguageInfo_Language_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
9138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
9139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9140 result = (int) ((arg1)->Language);
9141
c32bde28 9142 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9143 return resultobj;
9144 fail:
9145 return NULL;
9146}
9147
9148
c32bde28 9149static PyObject *_wrap_LanguageInfo_CanonicalName_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9150 PyObject *resultobj;
9151 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
196addbf 9152 wxString *arg2 = (wxString *) 0 ;
7eae615b 9153 bool temp2 = False ;
d14a1e28
RD
9154 PyObject * obj0 = 0 ;
9155 PyObject * obj1 = 0 ;
9156 char *kwnames[] = {
9157 (char *) "self",(char *) "CanonicalName", NULL
9158 };
9159
9160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
9162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7eae615b
RD
9163 {
9164 arg2 = wxString_in_helper(obj1);
9165 if (arg2 == NULL) SWIG_fail;
9166 temp2 = True;
9167 }
196addbf 9168 if (arg1) (arg1)->CanonicalName = *arg2;
d14a1e28
RD
9169
9170 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
9171 {
9172 if (temp2)
9173 delete arg2;
9174 }
d14a1e28
RD
9175 return resultobj;
9176 fail:
7eae615b
RD
9177 {
9178 if (temp2)
9179 delete arg2;
9180 }
d14a1e28
RD
9181 return NULL;
9182}
9183
9184
c32bde28 9185static PyObject *_wrap_LanguageInfo_CanonicalName_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9186 PyObject *resultobj;
9187 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
196addbf 9188 wxString *result;
d14a1e28
RD
9189 PyObject * obj0 = 0 ;
9190 char *kwnames[] = {
9191 (char *) "self", NULL
9192 };
9193
9194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LanguageInfo_CanonicalName_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
9195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
9196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
196addbf 9197 result = (wxString *)& ((arg1)->CanonicalName);
d14a1e28
RD
9198
9199 {
9200#if wxUSE_UNICODE
196addbf 9201 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 9202#else
196addbf 9203 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
9204#endif
9205 }
9206 return resultobj;
9207 fail:
9208 return NULL;
9209}
9210
9211
c32bde28 9212static PyObject *_wrap_LanguageInfo_Description_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9213 PyObject *resultobj;
9214 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
196addbf 9215 wxString *arg2 = (wxString *) 0 ;
7eae615b 9216 bool temp2 = False ;
d14a1e28
RD
9217 PyObject * obj0 = 0 ;
9218 PyObject * obj1 = 0 ;
9219 char *kwnames[] = {
9220 (char *) "self",(char *) "Description", NULL
9221 };
9222
9223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LanguageInfo_Description_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
9225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7eae615b
RD
9226 {
9227 arg2 = wxString_in_helper(obj1);
9228 if (arg2 == NULL) SWIG_fail;
9229 temp2 = True;
9230 }
196addbf 9231 if (arg1) (arg1)->Description = *arg2;
d14a1e28
RD
9232
9233 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
9234 {
9235 if (temp2)
9236 delete arg2;
9237 }
d14a1e28
RD
9238 return resultobj;
9239 fail:
7eae615b
RD
9240 {
9241 if (temp2)
9242 delete arg2;
9243 }
d14a1e28
RD
9244 return NULL;
9245}
9246
9247
c32bde28 9248static PyObject *_wrap_LanguageInfo_Description_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9249 PyObject *resultobj;
9250 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
196addbf 9251 wxString *result;
d14a1e28
RD
9252 PyObject * obj0 = 0 ;
9253 char *kwnames[] = {
9254 (char *) "self", NULL
9255 };
9256
9257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LanguageInfo_Description_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
9258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
9259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
196addbf 9260 result = (wxString *)& ((arg1)->Description);
d14a1e28
RD
9261
9262 {
9263#if wxUSE_UNICODE
196addbf 9264 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 9265#else
196addbf 9266 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
9267#endif
9268 }
9269 return resultobj;
9270 fail:
9271 return NULL;
9272}
9273
9274
c32bde28 9275static PyObject * LanguageInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9276 PyObject *obj;
9277 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9278 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo, obj);
9279 Py_INCREF(obj);
9280 return Py_BuildValue((char *)"");
9281}
c32bde28 9282static PyObject *_wrap_new_Locale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 9283 PyObject *resultobj;
41e2b43e 9284 int arg1 = (int) -1 ;
d14a1e28
RD
9285 int arg2 = (int) wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING ;
9286 wxLocale *result;
994141e6
RD
9287 PyObject * obj0 = 0 ;
9288 PyObject * obj1 = 0 ;
d14a1e28
RD
9289 char *kwnames[] = {
9290 (char *) "language",(char *) "flags", NULL
9291 };
9292
994141e6
RD
9293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Locale",kwnames,&obj0,&obj1)) goto fail;
9294 if (obj0) {
c32bde28 9295 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 9296 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9297 }
9298 if (obj1) {
c32bde28 9299 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9300 if (PyErr_Occurred()) SWIG_fail;
994141e6 9301 }
d14a1e28
RD
9302 {
9303 PyThreadState* __tstate = wxPyBeginAllowThreads();
41e2b43e 9304 result = (wxLocale *)new_wxLocale(arg1,arg2);
d14a1e28
RD
9305
9306 wxPyEndAllowThreads(__tstate);
9307 if (PyErr_Occurred()) SWIG_fail;
9308 }
15afbcd0 9309 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLocale, 1);
d14a1e28
RD
9310 return resultobj;
9311 fail:
9312 return NULL;
9313}
9314
9315
c32bde28 9316static PyObject *_wrap_delete_Locale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9317 PyObject *resultobj;
9318 wxLocale *arg1 = (wxLocale *) 0 ;
9319 PyObject * obj0 = 0 ;
9320 char *kwnames[] = {
9321 (char *) "self", NULL
9322 };
9323
9324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Locale",kwnames,&obj0)) goto fail;
15afbcd0
RD
9325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9327 {
9328 PyThreadState* __tstate = wxPyBeginAllowThreads();
9329 delete arg1;
9330
9331 wxPyEndAllowThreads(__tstate);
9332 if (PyErr_Occurred()) SWIG_fail;
9333 }
9334 Py_INCREF(Py_None); resultobj = Py_None;
9335 return resultobj;
9336 fail:
9337 return NULL;
9338}
9339
9340
c32bde28 9341static PyObject *_wrap_Locale_Init1(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9342 PyObject *resultobj;
9343 wxLocale *arg1 = (wxLocale *) 0 ;
9344 wxString *arg2 = 0 ;
9345 wxString const &arg3_defvalue = wxPyEmptyString ;
9346 wxString *arg3 = (wxString *) &arg3_defvalue ;
9347 wxString const &arg4_defvalue = wxPyEmptyString ;
9348 wxString *arg4 = (wxString *) &arg4_defvalue ;
e811c8ce
RD
9349 bool arg5 = (bool) True ;
9350 bool arg6 = (bool) False ;
d14a1e28 9351 bool result;
e811c8ce
RD
9352 bool temp2 = False ;
9353 bool temp3 = False ;
9354 bool temp4 = False ;
d14a1e28
RD
9355 PyObject * obj0 = 0 ;
9356 PyObject * obj1 = 0 ;
9357 PyObject * obj2 = 0 ;
9358 PyObject * obj3 = 0 ;
9359 PyObject * obj4 = 0 ;
9360 PyObject * obj5 = 0 ;
9361 char *kwnames[] = {
9362 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9363 };
9364
9365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Locale_Init1",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
9366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9368 {
9369 arg2 = wxString_in_helper(obj1);
9370 if (arg2 == NULL) SWIG_fail;
e811c8ce 9371 temp2 = True;
d14a1e28
RD
9372 }
9373 if (obj2) {
9374 {
9375 arg3 = wxString_in_helper(obj2);
9376 if (arg3 == NULL) SWIG_fail;
e811c8ce 9377 temp3 = True;
d14a1e28
RD
9378 }
9379 }
9380 if (obj3) {
9381 {
9382 arg4 = wxString_in_helper(obj3);
9383 if (arg4 == NULL) SWIG_fail;
e811c8ce 9384 temp4 = True;
d14a1e28
RD
9385 }
9386 }
9387 if (obj4) {
c32bde28 9388 arg5 = (bool)SWIG_As_bool(obj4);
15afbcd0 9389 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9390 }
9391 if (obj5) {
c32bde28 9392 arg6 = (bool)SWIG_As_bool(obj5);
15afbcd0 9393 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9394 }
9395 {
9396 PyThreadState* __tstate = wxPyBeginAllowThreads();
9397 result = (bool)(arg1)->Init((wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6);
9398
9399 wxPyEndAllowThreads(__tstate);
9400 if (PyErr_Occurred()) SWIG_fail;
9401 }
4f89f6a3
RD
9402 {
9403 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9404 }
d14a1e28
RD
9405 {
9406 if (temp2)
9407 delete arg2;
9408 }
9409 {
9410 if (temp3)
9411 delete arg3;
9412 }
9413 {
9414 if (temp4)
9415 delete arg4;
9416 }
9417 return resultobj;
9418 fail:
9419 {
9420 if (temp2)
9421 delete arg2;
9422 }
9423 {
9424 if (temp3)
9425 delete arg3;
9426 }
9427 {
9428 if (temp4)
9429 delete arg4;
9430 }
9431 return NULL;
9432}
9433
9434
c32bde28 9435static PyObject *_wrap_Locale_Init2(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9436 PyObject *resultobj;
9437 wxLocale *arg1 = (wxLocale *) 0 ;
9438 int arg2 = (int) wxLANGUAGE_DEFAULT ;
9439 int arg3 = (int) wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING ;
9440 bool result;
9441 PyObject * obj0 = 0 ;
994141e6
RD
9442 PyObject * obj1 = 0 ;
9443 PyObject * obj2 = 0 ;
d14a1e28
RD
9444 char *kwnames[] = {
9445 (char *) "self",(char *) "language",(char *) "flags", NULL
9446 };
9447
994141e6 9448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Locale_Init2",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 9451 if (obj1) {
c32bde28 9452 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9453 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9454 }
9455 if (obj2) {
c32bde28 9456 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9457 if (PyErr_Occurred()) SWIG_fail;
994141e6 9458 }
d14a1e28
RD
9459 {
9460 PyThreadState* __tstate = wxPyBeginAllowThreads();
9461 result = (bool)(arg1)->Init(arg2,arg3);
9462
9463 wxPyEndAllowThreads(__tstate);
9464 if (PyErr_Occurred()) SWIG_fail;
9465 }
4f89f6a3
RD
9466 {
9467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9468 }
d14a1e28
RD
9469 return resultobj;
9470 fail:
9471 return NULL;
9472}
9473
9474
c32bde28 9475static PyObject *_wrap_Locale_GetSystemLanguage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9476 PyObject *resultobj;
9477 int result;
9478 char *kwnames[] = {
9479 NULL
9480 };
9481
9482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Locale_GetSystemLanguage",kwnames)) goto fail;
9483 {
9484 PyThreadState* __tstate = wxPyBeginAllowThreads();
9485 result = (int)wxLocale::GetSystemLanguage();
9486
9487 wxPyEndAllowThreads(__tstate);
9488 if (PyErr_Occurred()) SWIG_fail;
9489 }
c32bde28 9490 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9491 return resultobj;
9492 fail:
9493 return NULL;
9494}
9495
9496
c32bde28 9497static PyObject *_wrap_Locale_GetSystemEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9498 PyObject *resultobj;
9499 int result;
9500 char *kwnames[] = {
9501 NULL
9502 };
9503
9504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Locale_GetSystemEncoding",kwnames)) goto fail;
9505 {
9506 PyThreadState* __tstate = wxPyBeginAllowThreads();
9507 result = (int)wxLocale::GetSystemEncoding();
9508
9509 wxPyEndAllowThreads(__tstate);
9510 if (PyErr_Occurred()) SWIG_fail;
9511 }
c32bde28 9512 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9513 return resultobj;
9514 fail:
9515 return NULL;
9516}
9517
9518
c32bde28 9519static PyObject *_wrap_Locale_GetSystemEncodingName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9520 PyObject *resultobj;
9521 wxString result;
9522 char *kwnames[] = {
9523 NULL
9524 };
9525
9526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Locale_GetSystemEncodingName",kwnames)) goto fail;
9527 {
9528 PyThreadState* __tstate = wxPyBeginAllowThreads();
9529 result = wxLocale::GetSystemEncodingName();
9530
9531 wxPyEndAllowThreads(__tstate);
9532 if (PyErr_Occurred()) SWIG_fail;
9533 }
9534 {
9535#if wxUSE_UNICODE
9536 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9537#else
9538 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9539#endif
9540 }
9541 return resultobj;
9542 fail:
9543 return NULL;
9544}
9545
9546
c32bde28 9547static PyObject *_wrap_Locale_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9548 PyObject *resultobj;
9549 wxLocale *arg1 = (wxLocale *) 0 ;
9550 bool result;
9551 PyObject * obj0 = 0 ;
9552 char *kwnames[] = {
9553 (char *) "self", NULL
9554 };
9555
9556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_IsOk",kwnames,&obj0)) goto fail;
15afbcd0
RD
9557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9559 {
9560 PyThreadState* __tstate = wxPyBeginAllowThreads();
9561 result = (bool)((wxLocale const *)arg1)->IsOk();
9562
9563 wxPyEndAllowThreads(__tstate);
9564 if (PyErr_Occurred()) SWIG_fail;
9565 }
4f89f6a3
RD
9566 {
9567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9568 }
d14a1e28
RD
9569 return resultobj;
9570 fail:
9571 return NULL;
9572}
9573
9574
c32bde28 9575static PyObject *_wrap_Locale_GetLocale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9576 PyObject *resultobj;
9577 wxLocale *arg1 = (wxLocale *) 0 ;
9578 wxString result;
9579 PyObject * obj0 = 0 ;
9580 char *kwnames[] = {
9581 (char *) "self", NULL
9582 };
9583
9584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLocale",kwnames,&obj0)) goto fail;
15afbcd0
RD
9585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9587 {
9588 PyThreadState* __tstate = wxPyBeginAllowThreads();
9589 result = ((wxLocale const *)arg1)->GetLocale();
9590
9591 wxPyEndAllowThreads(__tstate);
9592 if (PyErr_Occurred()) SWIG_fail;
9593 }
9594 {
9595#if wxUSE_UNICODE
9596 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9597#else
9598 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9599#endif
9600 }
9601 return resultobj;
9602 fail:
9603 return NULL;
9604}
9605
9606
c32bde28 9607static PyObject *_wrap_Locale_GetLanguage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9608 PyObject *resultobj;
9609 wxLocale *arg1 = (wxLocale *) 0 ;
9610 int result;
9611 PyObject * obj0 = 0 ;
9612 char *kwnames[] = {
9613 (char *) "self", NULL
9614 };
9615
9616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLanguage",kwnames,&obj0)) goto fail;
15afbcd0
RD
9617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9619 {
9620 PyThreadState* __tstate = wxPyBeginAllowThreads();
9621 result = (int)((wxLocale const *)arg1)->GetLanguage();
9622
9623 wxPyEndAllowThreads(__tstate);
9624 if (PyErr_Occurred()) SWIG_fail;
9625 }
c32bde28 9626 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9627 return resultobj;
9628 fail:
9629 return NULL;
9630}
9631
9632
c32bde28 9633static PyObject *_wrap_Locale_GetSysName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9634 PyObject *resultobj;
9635 wxLocale *arg1 = (wxLocale *) 0 ;
9636 wxString result;
9637 PyObject * obj0 = 0 ;
9638 char *kwnames[] = {
9639 (char *) "self", NULL
9640 };
9641
9642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetSysName",kwnames,&obj0)) goto fail;
15afbcd0
RD
9643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9645 {
9646 PyThreadState* __tstate = wxPyBeginAllowThreads();
9647 result = ((wxLocale const *)arg1)->GetSysName();
9648
9649 wxPyEndAllowThreads(__tstate);
9650 if (PyErr_Occurred()) SWIG_fail;
9651 }
9652 {
9653#if wxUSE_UNICODE
9654 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9655#else
9656 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9657#endif
9658 }
9659 return resultobj;
9660 fail:
9661 return NULL;
9662}
9663
9664
c32bde28 9665static PyObject *_wrap_Locale_GetCanonicalName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9666 PyObject *resultobj;
9667 wxLocale *arg1 = (wxLocale *) 0 ;
9668 wxString result;
9669 PyObject * obj0 = 0 ;
9670 char *kwnames[] = {
9671 (char *) "self", NULL
9672 };
9673
9674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetCanonicalName",kwnames,&obj0)) goto fail;
15afbcd0
RD
9675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9677 {
9678 PyThreadState* __tstate = wxPyBeginAllowThreads();
9679 result = ((wxLocale const *)arg1)->GetCanonicalName();
9680
9681 wxPyEndAllowThreads(__tstate);
9682 if (PyErr_Occurred()) SWIG_fail;
9683 }
9684 {
9685#if wxUSE_UNICODE
9686 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9687#else
9688 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9689#endif
9690 }
9691 return resultobj;
9692 fail:
9693 return NULL;
9694}
9695
9696
c32bde28 9697static PyObject *_wrap_Locale_AddCatalogLookupPathPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9698 PyObject *resultobj;
9699 wxString *arg1 = 0 ;
e811c8ce 9700 bool temp1 = False ;
d14a1e28
RD
9701 PyObject * obj0 = 0 ;
9702 char *kwnames[] = {
9703 (char *) "prefix", NULL
9704 };
9705
9706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames,&obj0)) goto fail;
9707 {
9708 arg1 = wxString_in_helper(obj0);
9709 if (arg1 == NULL) SWIG_fail;
e811c8ce 9710 temp1 = True;
d14a1e28
RD
9711 }
9712 {
9713 PyThreadState* __tstate = wxPyBeginAllowThreads();
9714 wxLocale::AddCatalogLookupPathPrefix((wxString const &)*arg1);
9715
9716 wxPyEndAllowThreads(__tstate);
9717 if (PyErr_Occurred()) SWIG_fail;
9718 }
9719 Py_INCREF(Py_None); resultobj = Py_None;
9720 {
9721 if (temp1)
9722 delete arg1;
9723 }
9724 return resultobj;
9725 fail:
9726 {
9727 if (temp1)
9728 delete arg1;
9729 }
9730 return NULL;
9731}
9732
9733
c32bde28 9734static PyObject *_wrap_Locale_AddCatalog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9735 PyObject *resultobj;
9736 wxLocale *arg1 = (wxLocale *) 0 ;
9737 wxString *arg2 = 0 ;
9738 bool result;
e811c8ce 9739 bool temp2 = False ;
d14a1e28
RD
9740 PyObject * obj0 = 0 ;
9741 PyObject * obj1 = 0 ;
9742 char *kwnames[] = {
9743 (char *) "self",(char *) "szDomain", NULL
9744 };
9745
9746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Locale_AddCatalog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9749 {
9750 arg2 = wxString_in_helper(obj1);
9751 if (arg2 == NULL) SWIG_fail;
e811c8ce 9752 temp2 = True;
d14a1e28
RD
9753 }
9754 {
9755 PyThreadState* __tstate = wxPyBeginAllowThreads();
9756 result = (bool)(arg1)->AddCatalog((wxString const &)*arg2);
9757
9758 wxPyEndAllowThreads(__tstate);
9759 if (PyErr_Occurred()) SWIG_fail;
9760 }
4f89f6a3
RD
9761 {
9762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9763 }
d14a1e28
RD
9764 {
9765 if (temp2)
9766 delete arg2;
9767 }
9768 return resultobj;
9769 fail:
9770 {
9771 if (temp2)
9772 delete arg2;
9773 }
9774 return NULL;
9775}
9776
9777
c32bde28 9778static PyObject *_wrap_Locale_IsLoaded(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9779 PyObject *resultobj;
9780 wxLocale *arg1 = (wxLocale *) 0 ;
9781 wxString *arg2 = 0 ;
9782 bool result;
e811c8ce 9783 bool temp2 = False ;
d14a1e28
RD
9784 PyObject * obj0 = 0 ;
9785 PyObject * obj1 = 0 ;
9786 char *kwnames[] = {
9787 (char *) "self",(char *) "szDomain", NULL
9788 };
9789
9790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Locale_IsLoaded",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9793 {
9794 arg2 = wxString_in_helper(obj1);
9795 if (arg2 == NULL) SWIG_fail;
e811c8ce 9796 temp2 = True;
d14a1e28
RD
9797 }
9798 {
9799 PyThreadState* __tstate = wxPyBeginAllowThreads();
9800 result = (bool)((wxLocale const *)arg1)->IsLoaded((wxString const &)*arg2);
9801
9802 wxPyEndAllowThreads(__tstate);
9803 if (PyErr_Occurred()) SWIG_fail;
9804 }
4f89f6a3
RD
9805 {
9806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9807 }
d14a1e28
RD
9808 {
9809 if (temp2)
9810 delete arg2;
9811 }
9812 return resultobj;
9813 fail:
9814 {
9815 if (temp2)
9816 delete arg2;
9817 }
9818 return NULL;
9819}
9820
9821
c32bde28 9822static PyObject *_wrap_Locale_GetLanguageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9823 PyObject *resultobj;
9824 int arg1 ;
9825 wxLanguageInfo *result;
994141e6 9826 PyObject * obj0 = 0 ;
d14a1e28
RD
9827 char *kwnames[] = {
9828 (char *) "lang", NULL
9829 };
9830
994141e6 9831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLanguageInfo",kwnames,&obj0)) goto fail;
c32bde28 9832 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 9833 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9834 {
9835 PyThreadState* __tstate = wxPyBeginAllowThreads();
9836 result = (wxLanguageInfo *)wxLocale::GetLanguageInfo(arg1);
9837
9838 wxPyEndAllowThreads(__tstate);
9839 if (PyErr_Occurred()) SWIG_fail;
9840 }
15afbcd0 9841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLanguageInfo, 0);
d14a1e28
RD
9842 return resultobj;
9843 fail:
9844 return NULL;
9845}
9846
9847
c32bde28 9848static PyObject *_wrap_Locale_GetLanguageName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9849 PyObject *resultobj;
9850 int arg1 ;
9851 wxString result;
994141e6 9852 PyObject * obj0 = 0 ;
d14a1e28
RD
9853 char *kwnames[] = {
9854 (char *) "lang", NULL
9855 };
9856
994141e6 9857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLanguageName",kwnames,&obj0)) goto fail;
c32bde28 9858 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 9859 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9860 {
9861 PyThreadState* __tstate = wxPyBeginAllowThreads();
9862 result = wxLocale::GetLanguageName(arg1);
9863
9864 wxPyEndAllowThreads(__tstate);
9865 if (PyErr_Occurred()) SWIG_fail;
9866 }
9867 {
9868#if wxUSE_UNICODE
9869 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9870#else
9871 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9872#endif
9873 }
9874 return resultobj;
9875 fail:
9876 return NULL;
9877}
9878
9879
c32bde28 9880static PyObject *_wrap_Locale_FindLanguageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9881 PyObject *resultobj;
9882 wxString *arg1 = 0 ;
9883 wxLanguageInfo *result;
e811c8ce 9884 bool temp1 = False ;
d14a1e28
RD
9885 PyObject * obj0 = 0 ;
9886 char *kwnames[] = {
9887 (char *) "locale", NULL
9888 };
9889
9890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_FindLanguageInfo",kwnames,&obj0)) goto fail;
9891 {
9892 arg1 = wxString_in_helper(obj0);
9893 if (arg1 == NULL) SWIG_fail;
e811c8ce 9894 temp1 = True;
d14a1e28
RD
9895 }
9896 {
9897 PyThreadState* __tstate = wxPyBeginAllowThreads();
9898 result = (wxLanguageInfo *)wxLocale::FindLanguageInfo((wxString const &)*arg1);
9899
9900 wxPyEndAllowThreads(__tstate);
9901 if (PyErr_Occurred()) SWIG_fail;
9902 }
15afbcd0 9903 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLanguageInfo, 0);
d14a1e28
RD
9904 {
9905 if (temp1)
9906 delete arg1;
9907 }
9908 return resultobj;
9909 fail:
9910 {
9911 if (temp1)
9912 delete arg1;
9913 }
9914 return NULL;
9915}
9916
9917
c32bde28 9918static PyObject *_wrap_Locale_AddLanguage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9919 PyObject *resultobj;
9920 wxLanguageInfo *arg1 = 0 ;
9921 PyObject * obj0 = 0 ;
9922 char *kwnames[] = {
9923 (char *) "info", NULL
9924 };
9925
9926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_AddLanguage",kwnames,&obj0)) goto fail;
15afbcd0
RD
9927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
9928 SWIG_POINTER_EXCEPTION | 0)) == -1)
9929 SWIG_fail;
d14a1e28 9930 if (arg1 == NULL) {
15afbcd0
RD
9931 PyErr_SetString(PyExc_TypeError,"null reference");
9932 SWIG_fail;
d14a1e28
RD
9933 }
9934 {
9935 PyThreadState* __tstate = wxPyBeginAllowThreads();
9936 wxLocale::AddLanguage((wxLanguageInfo const &)*arg1);
9937
9938 wxPyEndAllowThreads(__tstate);
9939 if (PyErr_Occurred()) SWIG_fail;
9940 }
9941 Py_INCREF(Py_None); resultobj = Py_None;
9942 return resultobj;
9943 fail:
9944 return NULL;
9945}
9946
9947
c32bde28 9948static PyObject *_wrap_Locale_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9949 PyObject *resultobj;
9950 wxLocale *arg1 = (wxLocale *) 0 ;
9951 wxString *arg2 = 0 ;
9952 wxString const &arg3_defvalue = wxPyEmptyString ;
9953 wxString *arg3 = (wxString *) &arg3_defvalue ;
9954 wxString result;
e811c8ce
RD
9955 bool temp2 = False ;
9956 bool temp3 = False ;
d14a1e28
RD
9957 PyObject * obj0 = 0 ;
9958 PyObject * obj1 = 0 ;
9959 PyObject * obj2 = 0 ;
9960 char *kwnames[] = {
9961 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9962 };
9963
9964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Locale_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9967 {
9968 arg2 = wxString_in_helper(obj1);
9969 if (arg2 == NULL) SWIG_fail;
e811c8ce 9970 temp2 = True;
d14a1e28
RD
9971 }
9972 if (obj2) {
9973 {
9974 arg3 = wxString_in_helper(obj2);
9975 if (arg3 == NULL) SWIG_fail;
e811c8ce 9976 temp3 = True;
d14a1e28
RD
9977 }
9978 }
9979 {
9980 PyThreadState* __tstate = wxPyBeginAllowThreads();
9981 result = ((wxLocale const *)arg1)->GetString((wxString const &)*arg2,(wxString const &)*arg3);
9982
9983 wxPyEndAllowThreads(__tstate);
9984 if (PyErr_Occurred()) SWIG_fail;
9985 }
9986 {
9987#if wxUSE_UNICODE
9988 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9989#else
9990 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9991#endif
9992 }
9993 {
9994 if (temp2)
9995 delete arg2;
9996 }
9997 {
9998 if (temp3)
9999 delete arg3;
10000 }
10001 return resultobj;
10002 fail:
10003 {
10004 if (temp2)
10005 delete arg2;
10006 }
10007 {
10008 if (temp3)
10009 delete arg3;
10010 }
10011 return NULL;
10012}
10013
10014
c32bde28 10015static PyObject *_wrap_Locale_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10016 PyObject *resultobj;
10017 wxLocale *arg1 = (wxLocale *) 0 ;
10018 wxString *result;
10019 PyObject * obj0 = 0 ;
10020 char *kwnames[] = {
10021 (char *) "self", NULL
10022 };
10023
10024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetName",kwnames,&obj0)) goto fail;
15afbcd0
RD
10025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
10026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10027 {
10028 PyThreadState* __tstate = wxPyBeginAllowThreads();
10029 {
10030 wxString const &_result_ref = ((wxLocale const *)arg1)->GetName();
10031 result = (wxString *) &_result_ref;
10032 }
10033
10034 wxPyEndAllowThreads(__tstate);
10035 if (PyErr_Occurred()) SWIG_fail;
10036 }
cc6dd355
RD
10037 {
10038#if wxUSE_UNICODE
10039 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10040#else
10041 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10042#endif
10043 }
d14a1e28
RD
10044 return resultobj;
10045 fail:
10046 return NULL;
10047}
10048
10049
c32bde28 10050static PyObject * Locale_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10051 PyObject *obj;
10052 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10053 SWIG_TypeClientData(SWIGTYPE_p_wxLocale, obj);
10054 Py_INCREF(obj);
10055 return Py_BuildValue((char *)"");
10056}
c32bde28 10057static PyObject *_wrap_GetLocale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10058 PyObject *resultobj;
10059 wxLocale *result;
10060 char *kwnames[] = {
10061 NULL
10062 };
10063
10064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocale",kwnames)) goto fail;
10065 {
10066 PyThreadState* __tstate = wxPyBeginAllowThreads();
10067 result = (wxLocale *)wxGetLocale();
10068
10069 wxPyEndAllowThreads(__tstate);
10070 if (PyErr_Occurred()) SWIG_fail;
10071 }
15afbcd0 10072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLocale, 0);
d14a1e28
RD
10073 return resultobj;
10074 fail:
10075 return NULL;
10076}
10077
10078
c32bde28 10079static PyObject *_wrap_GetTranslation__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
10080 PyObject *resultobj;
10081 wxString *arg1 = 0 ;
10082 wxString result;
e811c8ce 10083 bool temp1 = False ;
d14a1e28
RD
10084 PyObject * obj0 = 0 ;
10085
10086 if(!PyArg_ParseTuple(args,(char *)"O:GetTranslation",&obj0)) goto fail;
10087 {
10088 arg1 = wxString_in_helper(obj0);
10089 if (arg1 == NULL) SWIG_fail;
e811c8ce 10090 temp1 = True;
d14a1e28
RD
10091 }
10092 {
10093 PyThreadState* __tstate = wxPyBeginAllowThreads();
10094 result = wxGetTranslation((wxString const &)*arg1);
10095
10096 wxPyEndAllowThreads(__tstate);
10097 if (PyErr_Occurred()) SWIG_fail;
10098 }
10099 {
10100#if wxUSE_UNICODE
10101 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10102#else
10103 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10104#endif
10105 }
10106 {
10107 if (temp1)
10108 delete arg1;
10109 }
10110 return resultobj;
10111 fail:
10112 {
10113 if (temp1)
10114 delete arg1;
10115 }
10116 return NULL;
10117}
10118
10119
c32bde28 10120static PyObject *_wrap_GetTranslation__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
10121 PyObject *resultobj;
10122 wxString *arg1 = 0 ;
10123 wxString *arg2 = 0 ;
10124 size_t arg3 ;
10125 wxString result;
e811c8ce
RD
10126 bool temp1 = False ;
10127 bool temp2 = False ;
d14a1e28
RD
10128 PyObject * obj0 = 0 ;
10129 PyObject * obj1 = 0 ;
10130 PyObject * obj2 = 0 ;
10131
10132 if(!PyArg_ParseTuple(args,(char *)"OOO:GetTranslation",&obj0,&obj1,&obj2)) goto fail;
10133 {
10134 arg1 = wxString_in_helper(obj0);
10135 if (arg1 == NULL) SWIG_fail;
e811c8ce 10136 temp1 = True;
d14a1e28
RD
10137 }
10138 {
10139 arg2 = wxString_in_helper(obj1);
10140 if (arg2 == NULL) SWIG_fail;
e811c8ce 10141 temp2 = True;
d14a1e28 10142 }
c32bde28 10143 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
15afbcd0 10144 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10145 {
10146 PyThreadState* __tstate = wxPyBeginAllowThreads();
10147 result = wxGetTranslation((wxString const &)*arg1,(wxString const &)*arg2,arg3);
10148
10149 wxPyEndAllowThreads(__tstate);
10150 if (PyErr_Occurred()) SWIG_fail;
10151 }
10152 {
10153#if wxUSE_UNICODE
10154 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10155#else
10156 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10157#endif
10158 }
10159 {
10160 if (temp1)
10161 delete arg1;
10162 }
10163 {
10164 if (temp2)
10165 delete arg2;
10166 }
10167 return resultobj;
10168 fail:
10169 {
10170 if (temp1)
10171 delete arg1;
10172 }
10173 {
10174 if (temp2)
10175 delete arg2;
10176 }
10177 return NULL;
10178}
10179
10180
10181static PyObject *_wrap_GetTranslation(PyObject *self, PyObject *args) {
10182 int argc;
10183 PyObject *argv[4];
10184 int ii;
10185
10186 argc = PyObject_Length(args);
10187 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
10188 argv[ii] = PyTuple_GetItem(args,ii);
10189 }
10190 if (argc == 1) {
10191 int _v;
10192 {
4d5c3d91 10193 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
d14a1e28
RD
10194 }
10195 if (_v) {
10196 return _wrap_GetTranslation__SWIG_0(self,args);
10197 }
10198 }
10199 if (argc == 3) {
10200 int _v;
10201 {
4d5c3d91 10202 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
d14a1e28
RD
10203 }
10204 if (_v) {
10205 {
4d5c3d91 10206 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
d14a1e28
RD
10207 }
10208 if (_v) {
c32bde28 10209 _v = SWIG_Check_unsigned_SS_long(argv[2]);
d14a1e28
RD
10210 if (_v) {
10211 return _wrap_GetTranslation__SWIG_1(self,args);
10212 }
10213 }
10214 }
10215 }
10216
10217 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GetTranslation'");
10218 return NULL;
10219}
10220
10221
c32bde28 10222static PyObject *_wrap_new_EncodingConverter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10223 PyObject *resultobj;
10224 wxEncodingConverter *result;
10225 char *kwnames[] = {
10226 NULL
10227 };
10228
10229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EncodingConverter",kwnames)) goto fail;
10230 {
10231 PyThreadState* __tstate = wxPyBeginAllowThreads();
10232 result = (wxEncodingConverter *)new wxEncodingConverter();
10233
10234 wxPyEndAllowThreads(__tstate);
10235 if (PyErr_Occurred()) SWIG_fail;
10236 }
15afbcd0 10237 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEncodingConverter, 1);
d14a1e28
RD
10238 return resultobj;
10239 fail:
10240 return NULL;
10241}
10242
10243
c32bde28 10244static PyObject *_wrap_delete_EncodingConverter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10245 PyObject *resultobj;
10246 wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ;
10247 PyObject * obj0 = 0 ;
10248 char *kwnames[] = {
10249 (char *) "self", NULL
10250 };
10251
10252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_EncodingConverter",kwnames,&obj0)) goto fail;
15afbcd0
RD
10253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEncodingConverter,
10254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10255 {
10256 PyThreadState* __tstate = wxPyBeginAllowThreads();
10257 delete arg1;
10258
10259 wxPyEndAllowThreads(__tstate);
10260 if (PyErr_Occurred()) SWIG_fail;
10261 }
10262 Py_INCREF(Py_None); resultobj = Py_None;
10263 return resultobj;
10264 fail:
10265 return NULL;
10266}
10267
10268
c32bde28 10269static PyObject *_wrap_EncodingConverter_Init(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10270 PyObject *resultobj;
10271 wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ;
10272 int arg2 ;
10273 int arg3 ;
10274 int arg4 = (int) wxCONVERT_STRICT ;
10275 bool result;
10276 PyObject * obj0 = 0 ;
994141e6
RD
10277 PyObject * obj1 = 0 ;
10278 PyObject * obj2 = 0 ;
10279 PyObject * obj3 = 0 ;
d14a1e28
RD
10280 char *kwnames[] = {
10281 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10282 };
10283
994141e6 10284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:EncodingConverter_Init",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEncodingConverter,
10286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10287 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10288 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10289 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10290 if (PyErr_Occurred()) SWIG_fail;
994141e6 10291 if (obj3) {
c32bde28 10292 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 10293 if (PyErr_Occurred()) SWIG_fail;
994141e6 10294 }
d14a1e28
RD
10295 {
10296 PyThreadState* __tstate = wxPyBeginAllowThreads();
10297 result = (bool)(arg1)->Init((wxFontEncoding )arg2,(wxFontEncoding )arg3,arg4);
10298
10299 wxPyEndAllowThreads(__tstate);
10300 if (PyErr_Occurred()) SWIG_fail;
10301 }
4f89f6a3
RD
10302 {
10303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10304 }
d14a1e28
RD
10305 return resultobj;
10306 fail:
10307 return NULL;
10308}
10309
10310
c32bde28 10311static PyObject *_wrap_EncodingConverter_Convert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10312 PyObject *resultobj;
10313 wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ;
10314 wxString *arg2 = 0 ;
10315 wxString result;
e811c8ce 10316 bool temp2 = False ;
d14a1e28
RD
10317 PyObject * obj0 = 0 ;
10318 PyObject * obj1 = 0 ;
10319 char *kwnames[] = {
10320 (char *) "self",(char *) "input", NULL
10321 };
10322
10323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EncodingConverter_Convert",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEncodingConverter,
10325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10326 {
10327 arg2 = wxString_in_helper(obj1);
10328 if (arg2 == NULL) SWIG_fail;
e811c8ce 10329 temp2 = True;
d14a1e28
RD
10330 }
10331 {
10332 PyThreadState* __tstate = wxPyBeginAllowThreads();
10333 result = (arg1)->Convert((wxString const &)*arg2);
10334
10335 wxPyEndAllowThreads(__tstate);
10336 if (PyErr_Occurred()) SWIG_fail;
10337 }
10338 {
10339#if wxUSE_UNICODE
10340 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10341#else
10342 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10343#endif
10344 }
10345 {
10346 if (temp2)
10347 delete arg2;
10348 }
10349 return resultobj;
10350 fail:
10351 {
10352 if (temp2)
10353 delete arg2;
10354 }
10355 return NULL;
10356}
10357
10358
c32bde28 10359static PyObject *_wrap_EncodingConverter_GetPlatformEquivalents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10360 PyObject *resultobj;
10361 int arg1 ;
10362 int arg2 = (int) wxPLATFORM_CURRENT ;
10363 wxFontEncodingArray result;
994141e6
RD
10364 PyObject * obj0 = 0 ;
10365 PyObject * obj1 = 0 ;
d14a1e28
RD
10366 char *kwnames[] = {
10367 (char *) "enc",(char *) "platform", NULL
10368 };
10369
994141e6 10370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames,&obj0,&obj1)) goto fail;
c32bde28 10371 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 10372 if (PyErr_Occurred()) SWIG_fail;
994141e6 10373 if (obj1) {
c32bde28 10374 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10375 if (PyErr_Occurred()) SWIG_fail;
994141e6 10376 }
d14a1e28
RD
10377 {
10378 PyThreadState* __tstate = wxPyBeginAllowThreads();
10379 result = wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding )arg1,arg2);
10380
10381 wxPyEndAllowThreads(__tstate);
10382 if (PyErr_Occurred()) SWIG_fail;
10383 }
10384 {
10385 resultobj = PyList_New(0);
10386 for (size_t i=0; i < (&result)->GetCount(); i++) {
10387 PyObject* number = PyInt_FromLong((&result)->Item(i));
10388 PyList_Append(resultobj, number);
10389 Py_DECREF(number);
10390 }
10391 }
10392 return resultobj;
10393 fail:
10394 return NULL;
10395}
10396
10397
c32bde28 10398static PyObject *_wrap_EncodingConverter_GetAllEquivalents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10399 PyObject *resultobj;
10400 int arg1 ;
10401 wxFontEncodingArray result;
994141e6 10402 PyObject * obj0 = 0 ;
d14a1e28
RD
10403 char *kwnames[] = {
10404 (char *) "enc", NULL
10405 };
10406
994141e6 10407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames,&obj0)) goto fail;
c32bde28 10408 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 10409 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10410 {
10411 PyThreadState* __tstate = wxPyBeginAllowThreads();
10412 result = wxEncodingConverter::GetAllEquivalents((wxFontEncoding )arg1);
10413
10414 wxPyEndAllowThreads(__tstate);
10415 if (PyErr_Occurred()) SWIG_fail;
10416 }
10417 {
10418 resultobj = PyList_New(0);
10419 for (size_t i=0; i < (&result)->GetCount(); i++) {
10420 PyObject* number = PyInt_FromLong((&result)->Item(i));
10421 PyList_Append(resultobj, number);
10422 Py_DECREF(number);
10423 }
10424 }
10425 return resultobj;
10426 fail:
10427 return NULL;
10428}
10429
10430
c32bde28 10431static PyObject *_wrap_EncodingConverter_CanConvert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10432 PyObject *resultobj;
10433 int arg1 ;
10434 int arg2 ;
10435 bool result;
994141e6
RD
10436 PyObject * obj0 = 0 ;
10437 PyObject * obj1 = 0 ;
d14a1e28
RD
10438 char *kwnames[] = {
10439 (char *) "encIn",(char *) "encOut", NULL
10440 };
10441
994141e6 10442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EncodingConverter_CanConvert",kwnames,&obj0,&obj1)) goto fail;
c32bde28 10443 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 10444 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10445 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10446 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10447 {
10448 PyThreadState* __tstate = wxPyBeginAllowThreads();
10449 result = (bool)wxEncodingConverter::CanConvert((wxFontEncoding )arg1,(wxFontEncoding )arg2);
10450
10451 wxPyEndAllowThreads(__tstate);
10452 if (PyErr_Occurred()) SWIG_fail;
10453 }
4f89f6a3
RD
10454 {
10455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10456 }
d14a1e28
RD
10457 return resultobj;
10458 fail:
10459 return NULL;
10460}
10461
10462
c32bde28 10463static PyObject * EncodingConverter_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10464 PyObject *obj;
10465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10466 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter, obj);
10467 Py_INCREF(obj);
10468 return Py_BuildValue((char *)"");
10469}
c32bde28 10470static PyObject *_wrap_delete_DC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10471 PyObject *resultobj;
10472 wxDC *arg1 = (wxDC *) 0 ;
10473 PyObject * obj0 = 0 ;
10474 char *kwnames[] = {
10475 (char *) "self", NULL
10476 };
10477
10478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DC",kwnames,&obj0)) goto fail;
15afbcd0
RD
10479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10481 {
10482 PyThreadState* __tstate = wxPyBeginAllowThreads();
10483 delete arg1;
10484
10485 wxPyEndAllowThreads(__tstate);
10486 if (PyErr_Occurred()) SWIG_fail;
10487 }
10488 Py_INCREF(Py_None); resultobj = Py_None;
10489 return resultobj;
10490 fail:
10491 return NULL;
10492}
10493
10494
c32bde28 10495static PyObject *_wrap_DC_BeginDrawing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10496 PyObject *resultobj;
10497 wxDC *arg1 = (wxDC *) 0 ;
10498 PyObject * obj0 = 0 ;
10499 char *kwnames[] = {
10500 (char *) "self", NULL
10501 };
10502
10503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_BeginDrawing",kwnames,&obj0)) goto fail;
15afbcd0
RD
10504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10506 {
10507 PyThreadState* __tstate = wxPyBeginAllowThreads();
10508 (arg1)->BeginDrawing();
10509
10510 wxPyEndAllowThreads(__tstate);
10511 if (PyErr_Occurred()) SWIG_fail;
10512 }
10513 Py_INCREF(Py_None); resultobj = Py_None;
10514 return resultobj;
10515 fail:
10516 return NULL;
10517}
10518
10519
c32bde28 10520static PyObject *_wrap_DC_EndDrawing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10521 PyObject *resultobj;
10522 wxDC *arg1 = (wxDC *) 0 ;
10523 PyObject * obj0 = 0 ;
10524 char *kwnames[] = {
10525 (char *) "self", NULL
10526 };
10527
10528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_EndDrawing",kwnames,&obj0)) goto fail;
15afbcd0
RD
10529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10531 {
10532 PyThreadState* __tstate = wxPyBeginAllowThreads();
10533 (arg1)->EndDrawing();
10534
10535 wxPyEndAllowThreads(__tstate);
10536 if (PyErr_Occurred()) SWIG_fail;
10537 }
10538 Py_INCREF(Py_None); resultobj = Py_None;
10539 return resultobj;
10540 fail:
10541 return NULL;
10542}
10543
10544
c32bde28 10545static PyObject *_wrap_DC_FloodFill(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10546 PyObject *resultobj;
10547 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10548 int arg2 ;
10549 int arg3 ;
d14a1e28
RD
10550 wxColour *arg4 = 0 ;
10551 int arg5 = (int) wxFLOOD_SURFACE ;
10552 bool result;
10553 wxColour temp4 ;
10554 PyObject * obj0 = 0 ;
994141e6
RD
10555 PyObject * obj1 = 0 ;
10556 PyObject * obj2 = 0 ;
d14a1e28 10557 PyObject * obj3 = 0 ;
994141e6 10558 PyObject * obj4 = 0 ;
d14a1e28
RD
10559 char *kwnames[] = {
10560 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10561 };
10562
03e37cd5 10563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:DC_FloodFill",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
10564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10566 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10567 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10568 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10569 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10570 {
10571 arg4 = &temp4;
10572 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
10573 }
994141e6 10574 if (obj4) {
c32bde28 10575 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 10576 if (PyErr_Occurred()) SWIG_fail;
994141e6 10577 }
d14a1e28
RD
10578 {
10579 PyThreadState* __tstate = wxPyBeginAllowThreads();
10580 result = (bool)(arg1)->FloodFill(arg2,arg3,(wxColour const &)*arg4,arg5);
10581
10582 wxPyEndAllowThreads(__tstate);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 }
4f89f6a3
RD
10585 {
10586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10587 }
d14a1e28
RD
10588 return resultobj;
10589 fail:
10590 return NULL;
10591}
10592
10593
c32bde28 10594static PyObject *_wrap_DC_FloodFillPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10595 PyObject *resultobj;
10596 wxDC *arg1 = (wxDC *) 0 ;
10597 wxPoint *arg2 = 0 ;
10598 wxColour *arg3 = 0 ;
10599 int arg4 = (int) wxFLOOD_SURFACE ;
10600 bool result;
10601 wxPoint temp2 ;
10602 wxColour temp3 ;
10603 PyObject * obj0 = 0 ;
10604 PyObject * obj1 = 0 ;
10605 PyObject * obj2 = 0 ;
994141e6 10606 PyObject * obj3 = 0 ;
d14a1e28
RD
10607 char *kwnames[] = {
10608 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10609 };
10610
03e37cd5 10611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:DC_FloodFillPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10614 {
10615 arg2 = &temp2;
10616 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10617 }
10618 {
10619 arg3 = &temp3;
10620 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10621 }
994141e6 10622 if (obj3) {
c32bde28 10623 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 10624 if (PyErr_Occurred()) SWIG_fail;
994141e6 10625 }
d14a1e28
RD
10626 {
10627 PyThreadState* __tstate = wxPyBeginAllowThreads();
10628 result = (bool)(arg1)->FloodFill((wxPoint const &)*arg2,(wxColour const &)*arg3,arg4);
10629
10630 wxPyEndAllowThreads(__tstate);
10631 if (PyErr_Occurred()) SWIG_fail;
10632 }
4f89f6a3
RD
10633 {
10634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10635 }
d14a1e28
RD
10636 return resultobj;
10637 fail:
10638 return NULL;
10639}
10640
10641
c32bde28 10642static PyObject *_wrap_DC_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10643 PyObject *resultobj;
10644 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10645 int arg2 ;
10646 int arg3 ;
d14a1e28
RD
10647 wxColour result;
10648 PyObject * obj0 = 0 ;
994141e6
RD
10649 PyObject * obj1 = 0 ;
10650 PyObject * obj2 = 0 ;
d14a1e28
RD
10651 char *kwnames[] = {
10652 (char *) "self",(char *) "x",(char *) "y", NULL
10653 };
10654
03e37cd5 10655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_GetPixel",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10658 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10659 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10660 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10661 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10662 {
10663 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 10664 result = wxDC_GetPixel(arg1,arg2,arg3);
d14a1e28
RD
10665
10666 wxPyEndAllowThreads(__tstate);
10667 if (PyErr_Occurred()) SWIG_fail;
10668 }
10669 {
10670 wxColour * resultptr;
10671 resultptr = new wxColour((wxColour &) result);
15afbcd0 10672 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10673 }
10674 return resultobj;
10675 fail:
10676 return NULL;
10677}
10678
10679
c32bde28 10680static PyObject *_wrap_DC_GetPixelPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10681 PyObject *resultobj;
10682 wxDC *arg1 = (wxDC *) 0 ;
10683 wxPoint *arg2 = 0 ;
10684 wxColour result;
10685 wxPoint temp2 ;
10686 PyObject * obj0 = 0 ;
10687 PyObject * obj1 = 0 ;
10688 char *kwnames[] = {
10689 (char *) "self",(char *) "pt", NULL
10690 };
10691
03e37cd5 10692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_GetPixelPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10695 {
10696 arg2 = &temp2;
10697 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10698 }
10699 {
10700 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 10701 result = wxDC_GetPixelPoint(arg1,(wxPoint const &)*arg2);
d14a1e28
RD
10702
10703 wxPyEndAllowThreads(__tstate);
10704 if (PyErr_Occurred()) SWIG_fail;
10705 }
10706 {
10707 wxColour * resultptr;
10708 resultptr = new wxColour((wxColour &) result);
15afbcd0 10709 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10710 }
10711 return resultobj;
10712 fail:
10713 return NULL;
10714}
10715
10716
c32bde28 10717static PyObject *_wrap_DC_DrawLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10718 PyObject *resultobj;
10719 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10720 int arg2 ;
10721 int arg3 ;
10722 int arg4 ;
10723 int arg5 ;
d14a1e28 10724 PyObject * obj0 = 0 ;
994141e6
RD
10725 PyObject * obj1 = 0 ;
10726 PyObject * obj2 = 0 ;
10727 PyObject * obj3 = 0 ;
10728 PyObject * obj4 = 0 ;
d14a1e28
RD
10729 char *kwnames[] = {
10730 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10731 };
10732
03e37cd5 10733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
10734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10736 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10737 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10738 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10739 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10740 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 10741 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10742 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 10743 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10744 {
10745 PyThreadState* __tstate = wxPyBeginAllowThreads();
10746 (arg1)->DrawLine(arg2,arg3,arg4,arg5);
10747
10748 wxPyEndAllowThreads(__tstate);
10749 if (PyErr_Occurred()) SWIG_fail;
10750 }
10751 Py_INCREF(Py_None); resultobj = Py_None;
10752 return resultobj;
10753 fail:
10754 return NULL;
10755}
10756
10757
c32bde28 10758static PyObject *_wrap_DC_DrawLinePoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10759 PyObject *resultobj;
10760 wxDC *arg1 = (wxDC *) 0 ;
10761 wxPoint *arg2 = 0 ;
10762 wxPoint *arg3 = 0 ;
10763 wxPoint temp2 ;
10764 wxPoint temp3 ;
10765 PyObject * obj0 = 0 ;
10766 PyObject * obj1 = 0 ;
10767 PyObject * obj2 = 0 ;
10768 char *kwnames[] = {
10769 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10770 };
10771
03e37cd5 10772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawLinePoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10775 {
10776 arg2 = &temp2;
10777 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10778 }
10779 {
10780 arg3 = &temp3;
10781 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10782 }
10783 {
10784 PyThreadState* __tstate = wxPyBeginAllowThreads();
10785 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
10786
10787 wxPyEndAllowThreads(__tstate);
10788 if (PyErr_Occurred()) SWIG_fail;
10789 }
10790 Py_INCREF(Py_None); resultobj = Py_None;
10791 return resultobj;
10792 fail:
10793 return NULL;
10794}
10795
10796
c32bde28 10797static PyObject *_wrap_DC_CrossHair(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10798 PyObject *resultobj;
10799 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10800 int arg2 ;
10801 int arg3 ;
d14a1e28 10802 PyObject * obj0 = 0 ;
994141e6
RD
10803 PyObject * obj1 = 0 ;
10804 PyObject * obj2 = 0 ;
d14a1e28
RD
10805 char *kwnames[] = {
10806 (char *) "self",(char *) "x",(char *) "y", NULL
10807 };
10808
03e37cd5 10809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_CrossHair",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10812 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10813 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10814 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10815 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10816 {
10817 PyThreadState* __tstate = wxPyBeginAllowThreads();
10818 (arg1)->CrossHair(arg2,arg3);
10819
10820 wxPyEndAllowThreads(__tstate);
10821 if (PyErr_Occurred()) SWIG_fail;
10822 }
10823 Py_INCREF(Py_None); resultobj = Py_None;
10824 return resultobj;
10825 fail:
10826 return NULL;
10827}
10828
10829
c32bde28 10830static PyObject *_wrap_DC_CrossHairPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10831 PyObject *resultobj;
10832 wxDC *arg1 = (wxDC *) 0 ;
10833 wxPoint *arg2 = 0 ;
10834 wxPoint temp2 ;
10835 PyObject * obj0 = 0 ;
10836 PyObject * obj1 = 0 ;
10837 char *kwnames[] = {
10838 (char *) "self",(char *) "pt", NULL
10839 };
10840
03e37cd5 10841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_CrossHairPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10844 {
10845 arg2 = &temp2;
10846 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10847 }
10848 {
10849 PyThreadState* __tstate = wxPyBeginAllowThreads();
10850 (arg1)->CrossHair((wxPoint const &)*arg2);
10851
10852 wxPyEndAllowThreads(__tstate);
10853 if (PyErr_Occurred()) SWIG_fail;
10854 }
10855 Py_INCREF(Py_None); resultobj = Py_None;
10856 return resultobj;
10857 fail:
10858 return NULL;
10859}
10860
10861
c32bde28 10862static PyObject *_wrap_DC_DrawArc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10863 PyObject *resultobj;
10864 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10865 int arg2 ;
10866 int arg3 ;
10867 int arg4 ;
10868 int arg5 ;
10869 int arg6 ;
10870 int arg7 ;
d14a1e28 10871 PyObject * obj0 = 0 ;
994141e6
RD
10872 PyObject * obj1 = 0 ;
10873 PyObject * obj2 = 0 ;
10874 PyObject * obj3 = 0 ;
10875 PyObject * obj4 = 0 ;
10876 PyObject * obj5 = 0 ;
10877 PyObject * obj6 = 0 ;
d14a1e28
RD
10878 char *kwnames[] = {
10879 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10880 };
10881
03e37cd5 10882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:DC_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
10883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10885 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10886 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10887 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10888 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10889 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 10890 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10891 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 10892 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10893 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 10894 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10895 arg7 = (int)SWIG_As_int(obj6);
15afbcd0 10896 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10897 {
10898 PyThreadState* __tstate = wxPyBeginAllowThreads();
10899 (arg1)->DrawArc(arg2,arg3,arg4,arg5,arg6,arg7);
10900
10901 wxPyEndAllowThreads(__tstate);
10902 if (PyErr_Occurred()) SWIG_fail;
10903 }
10904 Py_INCREF(Py_None); resultobj = Py_None;
10905 return resultobj;
10906 fail:
10907 return NULL;
10908}
10909
10910
c32bde28 10911static PyObject *_wrap_DC_DrawArcPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10912 PyObject *resultobj;
10913 wxDC *arg1 = (wxDC *) 0 ;
10914 wxPoint *arg2 = 0 ;
10915 wxPoint *arg3 = 0 ;
10916 wxPoint *arg4 = 0 ;
10917 wxPoint temp2 ;
10918 wxPoint temp3 ;
10919 wxPoint temp4 ;
10920 PyObject * obj0 = 0 ;
10921 PyObject * obj1 = 0 ;
10922 PyObject * obj2 = 0 ;
10923 PyObject * obj3 = 0 ;
10924 char *kwnames[] = {
f5b96ee1 10925 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
d14a1e28
RD
10926 };
10927
03e37cd5 10928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawArcPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10931 {
10932 arg2 = &temp2;
10933 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10934 }
10935 {
10936 arg3 = &temp3;
10937 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10938 }
10939 {
10940 arg4 = &temp4;
10941 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10942 }
10943 {
10944 PyThreadState* __tstate = wxPyBeginAllowThreads();
10945 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
10946
10947 wxPyEndAllowThreads(__tstate);
10948 if (PyErr_Occurred()) SWIG_fail;
10949 }
10950 Py_INCREF(Py_None); resultobj = Py_None;
10951 return resultobj;
10952 fail:
10953 return NULL;
10954}
10955
10956
c32bde28 10957static PyObject *_wrap_DC_DrawCheckMark(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10958 PyObject *resultobj;
10959 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10960 int arg2 ;
10961 int arg3 ;
10962 int arg4 ;
10963 int arg5 ;
d14a1e28 10964 PyObject * obj0 = 0 ;
994141e6
RD
10965 PyObject * obj1 = 0 ;
10966 PyObject * obj2 = 0 ;
10967 PyObject * obj3 = 0 ;
10968 PyObject * obj4 = 0 ;
d14a1e28
RD
10969 char *kwnames[] = {
10970 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10971 };
10972
03e37cd5 10973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawCheckMark",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
10974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10976 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10977 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10978 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10979 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10980 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 10981 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10982 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 10983 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10984 {
10985 PyThreadState* __tstate = wxPyBeginAllowThreads();
10986 (arg1)->DrawCheckMark(arg2,arg3,arg4,arg5);
10987
10988 wxPyEndAllowThreads(__tstate);
10989 if (PyErr_Occurred()) SWIG_fail;
10990 }
10991 Py_INCREF(Py_None); resultobj = Py_None;
10992 return resultobj;
10993 fail:
10994 return NULL;
10995}
10996
10997
c32bde28 10998static PyObject *_wrap_DC_DrawCheckMarkRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10999 PyObject *resultobj;
11000 wxDC *arg1 = (wxDC *) 0 ;
11001 wxRect *arg2 = 0 ;
11002 wxRect temp2 ;
11003 PyObject * obj0 = 0 ;
11004 PyObject * obj1 = 0 ;
11005 char *kwnames[] = {
11006 (char *) "self",(char *) "rect", NULL
11007 };
11008
03e37cd5 11009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawCheckMarkRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11012 {
11013 arg2 = &temp2;
11014 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11015 }
11016 {
11017 PyThreadState* __tstate = wxPyBeginAllowThreads();
11018 (arg1)->DrawCheckMark((wxRect const &)*arg2);
11019
11020 wxPyEndAllowThreads(__tstate);
11021 if (PyErr_Occurred()) SWIG_fail;
11022 }
11023 Py_INCREF(Py_None); resultobj = Py_None;
11024 return resultobj;
11025 fail:
11026 return NULL;
11027}
11028
11029
c32bde28 11030static PyObject *_wrap_DC_DrawEllipticArc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11031 PyObject *resultobj;
11032 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
11033 int arg2 ;
11034 int arg3 ;
11035 int arg4 ;
11036 int arg5 ;
d14a1e28
RD
11037 double arg6 ;
11038 double arg7 ;
11039 PyObject * obj0 = 0 ;
994141e6
RD
11040 PyObject * obj1 = 0 ;
11041 PyObject * obj2 = 0 ;
11042 PyObject * obj3 = 0 ;
11043 PyObject * obj4 = 0 ;
11044 PyObject * obj5 = 0 ;
11045 PyObject * obj6 = 0 ;
d14a1e28 11046 char *kwnames[] = {
f5b96ee1 11047 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
d14a1e28
RD
11048 };
11049
03e37cd5 11050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
11051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11053 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11054 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11055 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11056 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11057 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 11058 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11059 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 11060 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11061 arg6 = (double)SWIG_As_double(obj5);
15afbcd0 11062 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11063 arg7 = (double)SWIG_As_double(obj6);
15afbcd0 11064 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11065 {
11066 PyThreadState* __tstate = wxPyBeginAllowThreads();
11067 (arg1)->DrawEllipticArc(arg2,arg3,arg4,arg5,arg6,arg7);
11068
11069 wxPyEndAllowThreads(__tstate);
11070 if (PyErr_Occurred()) SWIG_fail;
11071 }
11072 Py_INCREF(Py_None); resultobj = Py_None;
11073 return resultobj;
11074 fail:
11075 return NULL;
11076}
11077
11078
c32bde28 11079static PyObject *_wrap_DC_DrawEllipticArcPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11080 PyObject *resultobj;
11081 wxDC *arg1 = (wxDC *) 0 ;
11082 wxPoint *arg2 = 0 ;
11083 wxSize *arg3 = 0 ;
11084 double arg4 ;
11085 double arg5 ;
11086 wxPoint temp2 ;
11087 wxSize temp3 ;
11088 PyObject * obj0 = 0 ;
11089 PyObject * obj1 = 0 ;
11090 PyObject * obj2 = 0 ;
994141e6
RD
11091 PyObject * obj3 = 0 ;
11092 PyObject * obj4 = 0 ;
d14a1e28 11093 char *kwnames[] = {
f5b96ee1 11094 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
d14a1e28
RD
11095 };
11096
03e37cd5 11097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
11098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11100 {
11101 arg2 = &temp2;
11102 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11103 }
11104 {
11105 arg3 = &temp3;
11106 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
11107 }
c32bde28 11108 arg4 = (double)SWIG_As_double(obj3);
15afbcd0 11109 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11110 arg5 = (double)SWIG_As_double(obj4);
15afbcd0 11111 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11112 {
11113 PyThreadState* __tstate = wxPyBeginAllowThreads();
11114 (arg1)->DrawEllipticArc((wxPoint const &)*arg2,(wxSize const &)*arg3,arg4,arg5);
11115
11116 wxPyEndAllowThreads(__tstate);
11117 if (PyErr_Occurred()) SWIG_fail;
11118 }
11119 Py_INCREF(Py_None); resultobj = Py_None;
11120 return resultobj;
11121 fail:
11122 return NULL;
11123}
11124
11125
c32bde28 11126static PyObject *_wrap_DC_DrawPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11127 PyObject *resultobj;
11128 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
11129 int arg2 ;
11130 int arg3 ;
d14a1e28 11131 PyObject * obj0 = 0 ;
994141e6
RD
11132 PyObject * obj1 = 0 ;
11133 PyObject * obj2 = 0 ;
d14a1e28
RD
11134 char *kwnames[] = {
11135 (char *) "self",(char *) "x",(char *) "y", NULL
11136 };
11137
03e37cd5 11138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11141 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11142 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11143 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11144 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11145 {
11146 PyThreadState* __tstate = wxPyBeginAllowThreads();
11147 (arg1)->DrawPoint(arg2,arg3);
11148
11149 wxPyEndAllowThreads(__tstate);
11150 if (PyErr_Occurred()) SWIG_fail;
11151 }
11152 Py_INCREF(Py_None); resultobj = Py_None;
11153 return resultobj;
11154 fail:
11155 return NULL;
11156}
11157
11158
c32bde28 11159static PyObject *_wrap_DC_DrawPointPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11160 PyObject *resultobj;
11161 wxDC *arg1 = (wxDC *) 0 ;
11162 wxPoint *arg2 = 0 ;
11163 wxPoint temp2 ;
11164 PyObject * obj0 = 0 ;
11165 PyObject * obj1 = 0 ;
11166 char *kwnames[] = {
11167 (char *) "self",(char *) "pt", NULL
11168 };
11169
03e37cd5 11170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawPointPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11173 {
11174 arg2 = &temp2;
11175 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11176 }
11177 {
11178 PyThreadState* __tstate = wxPyBeginAllowThreads();
11179 (arg1)->DrawPoint((wxPoint const &)*arg2);
11180
11181 wxPyEndAllowThreads(__tstate);
11182 if (PyErr_Occurred()) SWIG_fail;
11183 }
11184 Py_INCREF(Py_None); resultobj = Py_None;
11185 return resultobj;
11186 fail:
11187 return NULL;
11188}
11189
11190
c32bde28 11191static PyObject *_wrap_DC_DrawRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11192 PyObject *resultobj;
11193 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
11194 int arg2 ;
11195 int arg3 ;
11196 int arg4 ;
11197 int arg5 ;
d14a1e28 11198 PyObject * obj0 = 0 ;
994141e6
RD
11199 PyObject * obj1 = 0 ;
11200 PyObject * obj2 = 0 ;
11201 PyObject * obj3 = 0 ;
11202 PyObject * obj4 = 0 ;
d14a1e28
RD
11203 char *kwnames[] = {
11204 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11205 };
11206
03e37cd5 11207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
11208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11210 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11211 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11212 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11213 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11214 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 11215 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11216 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 11217 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11218 {
11219 PyThreadState* __tstate = wxPyBeginAllowThreads();
11220 (arg1)->DrawRectangle(arg2,arg3,arg4,arg5);
11221
11222 wxPyEndAllowThreads(__tstate);
11223 if (PyErr_Occurred()) SWIG_fail;
11224 }
11225 Py_INCREF(Py_None); resultobj = Py_None;
11226 return resultobj;
11227 fail:
11228 return NULL;
11229}
11230
11231
c32bde28 11232static PyObject *_wrap_DC_DrawRectangleRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11233 PyObject *resultobj;
11234 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
11235 wxRect *arg2 = 0 ;
11236 wxRect temp2 ;
d14a1e28
RD
11237 PyObject * obj0 = 0 ;
11238 PyObject * obj1 = 0 ;
d14a1e28 11239 char *kwnames[] = {
03e37cd5 11240 (char *) "self",(char *) "rect", NULL
d14a1e28
RD
11241 };
11242
03e37cd5 11243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawRectangleRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11246 {
11247 arg2 = &temp2;
03e37cd5 11248 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
11249 }
11250 {
11251 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11252 (arg1)->DrawRectangle((wxRect const &)*arg2);
d14a1e28
RD
11253
11254 wxPyEndAllowThreads(__tstate);
11255 if (PyErr_Occurred()) SWIG_fail;
11256 }
11257 Py_INCREF(Py_None); resultobj = Py_None;
11258 return resultobj;
11259 fail:
11260 return NULL;
11261}
11262
11263
c32bde28 11264static PyObject *_wrap_DC_DrawRectanglePointSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11265 PyObject *resultobj;
11266 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
11267 wxPoint *arg2 = 0 ;
11268 wxSize *arg3 = 0 ;
11269 wxPoint temp2 ;
11270 wxSize temp3 ;
d14a1e28
RD
11271 PyObject * obj0 = 0 ;
11272 PyObject * obj1 = 0 ;
03e37cd5 11273 PyObject * obj2 = 0 ;
d14a1e28 11274 char *kwnames[] = {
03e37cd5 11275 (char *) "self",(char *) "pt",(char *) "sz", NULL
d14a1e28
RD
11276 };
11277
03e37cd5 11278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawRectanglePointSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11281 {
11282 arg2 = &temp2;
03e37cd5
RD
11283 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11284 }
11285 {
11286 arg3 = &temp3;
11287 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
d14a1e28
RD
11288 }
11289 {
11290 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11291 (arg1)->DrawRectangle((wxPoint const &)*arg2,(wxSize const &)*arg3);
d14a1e28
RD
11292
11293 wxPyEndAllowThreads(__tstate);
11294 if (PyErr_Occurred()) SWIG_fail;
11295 }
11296 Py_INCREF(Py_None); resultobj = Py_None;
11297 return resultobj;
11298 fail:
11299 return NULL;
11300}
11301
11302
c32bde28 11303static PyObject *_wrap_DC_DrawRoundedRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11304 PyObject *resultobj;
11305 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
11306 int arg2 ;
11307 int arg3 ;
11308 int arg4 ;
11309 int arg5 ;
d14a1e28
RD
11310 double arg6 ;
11311 PyObject * obj0 = 0 ;
994141e6
RD
11312 PyObject * obj1 = 0 ;
11313 PyObject * obj2 = 0 ;
11314 PyObject * obj3 = 0 ;
11315 PyObject * obj4 = 0 ;
11316 PyObject * obj5 = 0 ;
d14a1e28
RD
11317 char *kwnames[] = {
11318 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11319 };
11320
03e37cd5 11321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
11322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11324 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11325 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11326 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11327 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11328 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 11329 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11330 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 11331 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11332 arg6 = (double)SWIG_As_double(obj5);
15afbcd0 11333 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11334 {
11335 PyThreadState* __tstate = wxPyBeginAllowThreads();
11336 (arg1)->DrawRoundedRectangle(arg2,arg3,arg4,arg5,arg6);
11337
11338 wxPyEndAllowThreads(__tstate);
11339 if (PyErr_Occurred()) SWIG_fail;
11340 }
11341 Py_INCREF(Py_None); resultobj = Py_None;
11342 return resultobj;
11343 fail:
11344 return NULL;
11345}
11346
11347
c32bde28 11348static PyObject *_wrap_DC_DrawRoundedRectangleRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11349 PyObject *resultobj;
11350 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
11351 wxRect *arg2 = 0 ;
11352 double arg3 ;
11353 wxRect temp2 ;
d14a1e28
RD
11354 PyObject * obj0 = 0 ;
11355 PyObject * obj1 = 0 ;
11356 PyObject * obj2 = 0 ;
11357 char *kwnames[] = {
03e37cd5 11358 (char *) "self",(char *) "r",(char *) "radius", NULL
d14a1e28
RD
11359 };
11360
03e37cd5 11361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11364 {
11365 arg2 = &temp2;
03e37cd5 11366 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
d14a1e28 11367 }
c32bde28 11368 arg3 = (double)SWIG_As_double(obj2);
15afbcd0 11369 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11370 {
11371 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11372 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
d14a1e28
RD
11373
11374 wxPyEndAllowThreads(__tstate);
11375 if (PyErr_Occurred()) SWIG_fail;
11376 }
11377 Py_INCREF(Py_None); resultobj = Py_None;
11378 return resultobj;
11379 fail:
11380 return NULL;
11381}
11382
11383
c32bde28 11384static PyObject *_wrap_DC_DrawRoundedRectanglePointSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11385 PyObject *resultobj;
11386 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
11387 wxPoint *arg2 = 0 ;
11388 wxSize *arg3 = 0 ;
11389 double arg4 ;
11390 wxPoint temp2 ;
11391 wxSize temp3 ;
d14a1e28
RD
11392 PyObject * obj0 = 0 ;
11393 PyObject * obj1 = 0 ;
994141e6 11394 PyObject * obj2 = 0 ;
03e37cd5 11395 PyObject * obj3 = 0 ;
d14a1e28 11396 char *kwnames[] = {
03e37cd5 11397 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
d14a1e28
RD
11398 };
11399
03e37cd5 11400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11403 {
11404 arg2 = &temp2;
03e37cd5 11405 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
d14a1e28 11406 }
03e37cd5
RD
11407 {
11408 arg3 = &temp3;
11409 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
11410 }
c32bde28 11411 arg4 = (double)SWIG_As_double(obj3);
15afbcd0 11412 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11413 {
11414 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11415 (arg1)->DrawRoundedRectangle((wxPoint const &)*arg2,(wxSize const &)*arg3,arg4);
d14a1e28
RD
11416
11417 wxPyEndAllowThreads(__tstate);
11418 if (PyErr_Occurred()) SWIG_fail;
11419 }
11420 Py_INCREF(Py_None); resultobj = Py_None;
11421 return resultobj;
11422 fail:
11423 return NULL;
11424}
11425
11426
c32bde28 11427static PyObject *_wrap_DC_DrawCircle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11428 PyObject *resultobj;
11429 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
11430 int arg2 ;
11431 int arg3 ;
11432 int arg4 ;
d14a1e28 11433 PyObject * obj0 = 0 ;
994141e6
RD
11434 PyObject * obj1 = 0 ;
11435 PyObject * obj2 = 0 ;
11436 PyObject * obj3 = 0 ;
d14a1e28
RD
11437 char *kwnames[] = {
11438 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11439 };
11440
03e37cd5 11441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawCircle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11444 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11445 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11446 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11447 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11448 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 11449 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11450 {
11451 PyThreadState* __tstate = wxPyBeginAllowThreads();
11452 (arg1)->DrawCircle(arg2,arg3,arg4);
11453
11454 wxPyEndAllowThreads(__tstate);
11455 if (PyErr_Occurred()) SWIG_fail;
11456 }
11457 Py_INCREF(Py_None); resultobj = Py_None;
11458 return resultobj;
11459 fail:
11460 return NULL;
11461}
11462
11463
c32bde28 11464static PyObject *_wrap_DC_DrawCirclePoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11465 PyObject *resultobj;
11466 wxDC *arg1 = (wxDC *) 0 ;
11467 wxPoint *arg2 = 0 ;
e811c8ce 11468 int arg3 ;
d14a1e28
RD
11469 wxPoint temp2 ;
11470 PyObject * obj0 = 0 ;
11471 PyObject * obj1 = 0 ;
994141e6 11472 PyObject * obj2 = 0 ;
d14a1e28
RD
11473 char *kwnames[] = {
11474 (char *) "self",(char *) "pt",(char *) "radius", NULL
11475 };
11476
03e37cd5 11477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawCirclePoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11480 {
11481 arg2 = &temp2;
11482 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11483 }
c32bde28 11484 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11485 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11486 {
11487 PyThreadState* __tstate = wxPyBeginAllowThreads();
11488 (arg1)->DrawCircle((wxPoint const &)*arg2,arg3);
11489
11490 wxPyEndAllowThreads(__tstate);
11491 if (PyErr_Occurred()) SWIG_fail;
11492 }
11493 Py_INCREF(Py_None); resultobj = Py_None;
11494 return resultobj;
11495 fail:
11496 return NULL;
11497}
11498
11499
c32bde28 11500static PyObject *_wrap_DC_DrawEllipse(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11501 PyObject *resultobj;
11502 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
11503 int arg2 ;
11504 int arg3 ;
11505 int arg4 ;
11506 int arg5 ;
d14a1e28 11507 PyObject * obj0 = 0 ;
994141e6
RD
11508 PyObject * obj1 = 0 ;
11509 PyObject * obj2 = 0 ;
11510 PyObject * obj3 = 0 ;
11511 PyObject * obj4 = 0 ;
d14a1e28
RD
11512 char *kwnames[] = {
11513 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11514 };
11515
03e37cd5 11516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawEllipse",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
11517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11519 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11520 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11521 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11522 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11523 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 11524 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11525 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 11526 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11527 {
11528 PyThreadState* __tstate = wxPyBeginAllowThreads();
11529 (arg1)->DrawEllipse(arg2,arg3,arg4,arg5);
11530
11531 wxPyEndAllowThreads(__tstate);
11532 if (PyErr_Occurred()) SWIG_fail;
11533 }
11534 Py_INCREF(Py_None); resultobj = Py_None;
11535 return resultobj;
11536 fail:
11537 return NULL;
11538}
11539
11540
c32bde28 11541static PyObject *_wrap_DC_DrawEllipseRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11542 PyObject *resultobj;
11543 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
11544 wxRect *arg2 = 0 ;
11545 wxRect temp2 ;
d14a1e28
RD
11546 PyObject * obj0 = 0 ;
11547 PyObject * obj1 = 0 ;
d14a1e28 11548 char *kwnames[] = {
03e37cd5 11549 (char *) "self",(char *) "rect", NULL
d14a1e28
RD
11550 };
11551
03e37cd5 11552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawEllipseRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11555 {
11556 arg2 = &temp2;
03e37cd5 11557 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
11558 }
11559 {
11560 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11561 (arg1)->DrawEllipse((wxRect const &)*arg2);
d14a1e28
RD
11562
11563 wxPyEndAllowThreads(__tstate);
11564 if (PyErr_Occurred()) SWIG_fail;
11565 }
11566 Py_INCREF(Py_None); resultobj = Py_None;
11567 return resultobj;
11568 fail:
11569 return NULL;
11570}
11571
11572
c32bde28 11573static PyObject *_wrap_DC_DrawEllipsePointSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11574 PyObject *resultobj;
11575 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
11576 wxPoint *arg2 = 0 ;
11577 wxSize *arg3 = 0 ;
11578 wxPoint temp2 ;
11579 wxSize temp3 ;
d14a1e28
RD
11580 PyObject * obj0 = 0 ;
11581 PyObject * obj1 = 0 ;
03e37cd5 11582 PyObject * obj2 = 0 ;
d14a1e28 11583 char *kwnames[] = {
03e37cd5 11584 (char *) "self",(char *) "pt",(char *) "sz", NULL
d14a1e28
RD
11585 };
11586
03e37cd5 11587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawEllipsePointSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11590 {
11591 arg2 = &temp2;
03e37cd5
RD
11592 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11593 }
11594 {
11595 arg3 = &temp3;
11596 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
d14a1e28
RD
11597 }
11598 {
11599 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11600 (arg1)->DrawEllipse((wxPoint const &)*arg2,(wxSize const &)*arg3);
d14a1e28
RD
11601
11602 wxPyEndAllowThreads(__tstate);
11603 if (PyErr_Occurred()) SWIG_fail;
11604 }
11605 Py_INCREF(Py_None); resultobj = Py_None;
11606 return resultobj;
11607 fail:
11608 return NULL;
11609}
11610
11611
c32bde28 11612static PyObject *_wrap_DC_DrawIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11613 PyObject *resultobj;
11614 wxDC *arg1 = (wxDC *) 0 ;
11615 wxIcon *arg2 = 0 ;
e811c8ce
RD
11616 int arg3 ;
11617 int arg4 ;
d14a1e28
RD
11618 PyObject * obj0 = 0 ;
11619 PyObject * obj1 = 0 ;
994141e6
RD
11620 PyObject * obj2 = 0 ;
11621 PyObject * obj3 = 0 ;
d14a1e28
RD
11622 char *kwnames[] = {
11623 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11624 };
11625
03e37cd5 11626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawIcon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11629 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11630 SWIG_POINTER_EXCEPTION | 0)) == -1)
11631 SWIG_fail;
d14a1e28 11632 if (arg2 == NULL) {
15afbcd0
RD
11633 PyErr_SetString(PyExc_TypeError,"null reference");
11634 SWIG_fail;
994141e6 11635 }
c32bde28 11636 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11637 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11638 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 11639 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11640 {
11641 PyThreadState* __tstate = wxPyBeginAllowThreads();
11642 (arg1)->DrawIcon((wxIcon const &)*arg2,arg3,arg4);
11643
11644 wxPyEndAllowThreads(__tstate);
11645 if (PyErr_Occurred()) SWIG_fail;
11646 }
11647 Py_INCREF(Py_None); resultobj = Py_None;
11648 return resultobj;
11649 fail:
11650 return NULL;
11651}
11652
11653
c32bde28 11654static PyObject *_wrap_DC_DrawIconPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11655 PyObject *resultobj;
11656 wxDC *arg1 = (wxDC *) 0 ;
11657 wxIcon *arg2 = 0 ;
11658 wxPoint *arg3 = 0 ;
11659 wxPoint temp3 ;
11660 PyObject * obj0 = 0 ;
11661 PyObject * obj1 = 0 ;
11662 PyObject * obj2 = 0 ;
11663 char *kwnames[] = {
11664 (char *) "self",(char *) "icon",(char *) "pt", NULL
11665 };
11666
03e37cd5 11667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawIconPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11670 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11671 SWIG_POINTER_EXCEPTION | 0)) == -1)
11672 SWIG_fail;
d14a1e28 11673 if (arg2 == NULL) {
15afbcd0
RD
11674 PyErr_SetString(PyExc_TypeError,"null reference");
11675 SWIG_fail;
d14a1e28
RD
11676 }
11677 {
11678 arg3 = &temp3;
11679 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11680 }
11681 {
11682 PyThreadState* __tstate = wxPyBeginAllowThreads();
11683 (arg1)->DrawIcon((wxIcon const &)*arg2,(wxPoint const &)*arg3);
11684
11685 wxPyEndAllowThreads(__tstate);
11686 if (PyErr_Occurred()) SWIG_fail;
11687 }
11688 Py_INCREF(Py_None); resultobj = Py_None;
11689 return resultobj;
11690 fail:
11691 return NULL;
11692}
11693
11694
c32bde28 11695static PyObject *_wrap_DC_DrawBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11696 PyObject *resultobj;
11697 wxDC *arg1 = (wxDC *) 0 ;
11698 wxBitmap *arg2 = 0 ;
e811c8ce
RD
11699 int arg3 ;
11700 int arg4 ;
11701 bool arg5 = (bool) False ;
d14a1e28
RD
11702 PyObject * obj0 = 0 ;
11703 PyObject * obj1 = 0 ;
994141e6
RD
11704 PyObject * obj2 = 0 ;
11705 PyObject * obj3 = 0 ;
d14a1e28
RD
11706 PyObject * obj4 = 0 ;
11707 char *kwnames[] = {
11708 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11709 };
11710
03e37cd5 11711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:DC_DrawBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
11712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11714 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
11715 SWIG_POINTER_EXCEPTION | 0)) == -1)
11716 SWIG_fail;
d14a1e28 11717 if (arg2 == NULL) {
15afbcd0
RD
11718 PyErr_SetString(PyExc_TypeError,"null reference");
11719 SWIG_fail;
994141e6 11720 }
c32bde28 11721 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11722 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11723 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 11724 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11725 if (obj4) {
c32bde28 11726 arg5 = (bool)SWIG_As_bool(obj4);
15afbcd0 11727 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11728 }
11729 {
11730 PyThreadState* __tstate = wxPyBeginAllowThreads();
11731 (arg1)->DrawBitmap((wxBitmap const &)*arg2,arg3,arg4,arg5);
11732
11733 wxPyEndAllowThreads(__tstate);
11734 if (PyErr_Occurred()) SWIG_fail;
11735 }
11736 Py_INCREF(Py_None); resultobj = Py_None;
11737 return resultobj;
11738 fail:
11739 return NULL;
11740}
11741
11742
c32bde28 11743static PyObject *_wrap_DC_DrawBitmapPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11744 PyObject *resultobj;
11745 wxDC *arg1 = (wxDC *) 0 ;
11746 wxBitmap *arg2 = 0 ;
11747 wxPoint *arg3 = 0 ;
e811c8ce 11748 bool arg4 = (bool) False ;
d14a1e28
RD
11749 wxPoint temp3 ;
11750 PyObject * obj0 = 0 ;
11751 PyObject * obj1 = 0 ;
11752 PyObject * obj2 = 0 ;
11753 PyObject * obj3 = 0 ;
11754 char *kwnames[] = {
11755 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11756 };
11757
03e37cd5 11758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11761 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
11762 SWIG_POINTER_EXCEPTION | 0)) == -1)
11763 SWIG_fail;
d14a1e28 11764 if (arg2 == NULL) {
15afbcd0
RD
11765 PyErr_SetString(PyExc_TypeError,"null reference");
11766 SWIG_fail;
d14a1e28
RD
11767 }
11768 {
11769 arg3 = &temp3;
11770 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11771 }
11772 if (obj3) {
c32bde28 11773 arg4 = (bool)SWIG_As_bool(obj3);
15afbcd0 11774 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11775 }
11776 {
11777 PyThreadState* __tstate = wxPyBeginAllowThreads();
11778 (arg1)->DrawBitmap((wxBitmap const &)*arg2,(wxPoint const &)*arg3,arg4);
11779
11780 wxPyEndAllowThreads(__tstate);
11781 if (PyErr_Occurred()) SWIG_fail;
11782 }
11783 Py_INCREF(Py_None); resultobj = Py_None;
11784 return resultobj;
11785 fail:
11786 return NULL;
11787}
11788
11789
c32bde28 11790static PyObject *_wrap_DC_DrawText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11791 PyObject *resultobj;
11792 wxDC *arg1 = (wxDC *) 0 ;
11793 wxString *arg2 = 0 ;
e811c8ce
RD
11794 int arg3 ;
11795 int arg4 ;
11796 bool temp2 = False ;
d14a1e28
RD
11797 PyObject * obj0 = 0 ;
11798 PyObject * obj1 = 0 ;
994141e6
RD
11799 PyObject * obj2 = 0 ;
11800 PyObject * obj3 = 0 ;
d14a1e28
RD
11801 char *kwnames[] = {
11802 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11803 };
11804
03e37cd5 11805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11808 {
11809 arg2 = wxString_in_helper(obj1);
11810 if (arg2 == NULL) SWIG_fail;
e811c8ce 11811 temp2 = True;
d14a1e28 11812 }
c32bde28 11813 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11814 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11815 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 11816 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11817 {
11818 PyThreadState* __tstate = wxPyBeginAllowThreads();
11819 (arg1)->DrawText((wxString const &)*arg2,arg3,arg4);
11820
11821 wxPyEndAllowThreads(__tstate);
11822 if (PyErr_Occurred()) SWIG_fail;
11823 }
11824 Py_INCREF(Py_None); resultobj = Py_None;
11825 {
11826 if (temp2)
11827 delete arg2;
11828 }
11829 return resultobj;
11830 fail:
11831 {
11832 if (temp2)
11833 delete arg2;
11834 }
11835 return NULL;
11836}
11837
11838
c32bde28 11839static PyObject *_wrap_DC_DrawTextPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11840 PyObject *resultobj;
11841 wxDC *arg1 = (wxDC *) 0 ;
11842 wxString *arg2 = 0 ;
11843 wxPoint *arg3 = 0 ;
e811c8ce 11844 bool temp2 = False ;
d14a1e28
RD
11845 wxPoint temp3 ;
11846 PyObject * obj0 = 0 ;
11847 PyObject * obj1 = 0 ;
11848 PyObject * obj2 = 0 ;
11849 char *kwnames[] = {
11850 (char *) "self",(char *) "text",(char *) "pt", NULL
11851 };
11852
03e37cd5 11853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawTextPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11856 {
11857 arg2 = wxString_in_helper(obj1);
11858 if (arg2 == NULL) SWIG_fail;
e811c8ce 11859 temp2 = True;
d14a1e28
RD
11860 }
11861 {
11862 arg3 = &temp3;
11863 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11864 }
11865 {
11866 PyThreadState* __tstate = wxPyBeginAllowThreads();
11867 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
11868
11869 wxPyEndAllowThreads(__tstate);
11870 if (PyErr_Occurred()) SWIG_fail;
11871 }
11872 Py_INCREF(Py_None); resultobj = Py_None;
11873 {
11874 if (temp2)
11875 delete arg2;
11876 }
11877 return resultobj;
11878 fail:
11879 {
11880 if (temp2)
11881 delete arg2;
11882 }
11883 return NULL;
11884}
11885
11886
c32bde28 11887static PyObject *_wrap_DC_DrawRotatedText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11888 PyObject *resultobj;
11889 wxDC *arg1 = (wxDC *) 0 ;
11890 wxString *arg2 = 0 ;
e811c8ce
RD
11891 int arg3 ;
11892 int arg4 ;
d14a1e28 11893 double arg5 ;
e811c8ce 11894 bool temp2 = False ;
d14a1e28
RD
11895 PyObject * obj0 = 0 ;
11896 PyObject * obj1 = 0 ;
994141e6
RD
11897 PyObject * obj2 = 0 ;
11898 PyObject * obj3 = 0 ;
11899 PyObject * obj4 = 0 ;
d14a1e28
RD
11900 char *kwnames[] = {
11901 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11902 };
11903
03e37cd5 11904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawRotatedText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
11905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11907 {
11908 arg2 = wxString_in_helper(obj1);
11909 if (arg2 == NULL) SWIG_fail;
e811c8ce 11910 temp2 = True;
d14a1e28 11911 }
c32bde28 11912 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11913 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11914 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 11915 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11916 arg5 = (double)SWIG_As_double(obj4);
15afbcd0 11917 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11918 {
11919 PyThreadState* __tstate = wxPyBeginAllowThreads();
11920 (arg1)->DrawRotatedText((wxString const &)*arg2,arg3,arg4,arg5);
11921
11922 wxPyEndAllowThreads(__tstate);
11923 if (PyErr_Occurred()) SWIG_fail;
11924 }
11925 Py_INCREF(Py_None); resultobj = Py_None;
11926 {
11927 if (temp2)
11928 delete arg2;
11929 }
11930 return resultobj;
11931 fail:
11932 {
11933 if (temp2)
11934 delete arg2;
11935 }
11936 return NULL;
11937}
11938
11939
c32bde28 11940static PyObject *_wrap_DC_DrawRotatedTextPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11941 PyObject *resultobj;
11942 wxDC *arg1 = (wxDC *) 0 ;
11943 wxString *arg2 = 0 ;
11944 wxPoint *arg3 = 0 ;
11945 double arg4 ;
e811c8ce 11946 bool temp2 = False ;
d14a1e28
RD
11947 wxPoint temp3 ;
11948 PyObject * obj0 = 0 ;
11949 PyObject * obj1 = 0 ;
11950 PyObject * obj2 = 0 ;
994141e6 11951 PyObject * obj3 = 0 ;
d14a1e28
RD
11952 char *kwnames[] = {
11953 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11954 };
11955
03e37cd5 11956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11959 {
11960 arg2 = wxString_in_helper(obj1);
11961 if (arg2 == NULL) SWIG_fail;
e811c8ce 11962 temp2 = True;
d14a1e28
RD
11963 }
11964 {
11965 arg3 = &temp3;
11966 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11967 }
c32bde28 11968 arg4 = (double)SWIG_As_double(obj3);
15afbcd0 11969 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11970 {
11971 PyThreadState* __tstate = wxPyBeginAllowThreads();
11972 (arg1)->DrawRotatedText((wxString const &)*arg2,(wxPoint const &)*arg3,arg4);
11973
11974 wxPyEndAllowThreads(__tstate);
11975 if (PyErr_Occurred()) SWIG_fail;
11976 }
11977 Py_INCREF(Py_None); resultobj = Py_None;
11978 {
11979 if (temp2)
11980 delete arg2;
11981 }
11982 return resultobj;
11983 fail:
11984 {
11985 if (temp2)
11986 delete arg2;
11987 }
11988 return NULL;
11989}
11990
11991
c32bde28 11992static PyObject *_wrap_DC_Blit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11993 PyObject *resultobj;
11994 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
11995 int arg2 ;
11996 int arg3 ;
11997 int arg4 ;
11998 int arg5 ;
d14a1e28 11999 wxDC *arg6 = (wxDC *) 0 ;
e811c8ce
RD
12000 int arg7 ;
12001 int arg8 ;
d14a1e28 12002 int arg9 = (int) wxCOPY ;
e811c8ce
RD
12003 bool arg10 = (bool) False ;
12004 int arg11 = (int) -1 ;
12005 int arg12 = (int) -1 ;
d14a1e28
RD
12006 bool result;
12007 PyObject * obj0 = 0 ;
994141e6
RD
12008 PyObject * obj1 = 0 ;
12009 PyObject * obj2 = 0 ;
12010 PyObject * obj3 = 0 ;
12011 PyObject * obj4 = 0 ;
d14a1e28 12012 PyObject * obj5 = 0 ;
994141e6
RD
12013 PyObject * obj6 = 0 ;
12014 PyObject * obj7 = 0 ;
12015 PyObject * obj8 = 0 ;
d14a1e28 12016 PyObject * obj9 = 0 ;
994141e6
RD
12017 PyObject * obj10 = 0 ;
12018 PyObject * obj11 = 0 ;
d14a1e28
RD
12019 char *kwnames[] = {
12020 (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
12021 };
12022
03e37cd5 12023 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;
15afbcd0
RD
12024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12026 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12027 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12028 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 12029 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12030 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 12031 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12032 arg5 = (int)SWIG_As_int(obj4);
15afbcd0
RD
12033 if (PyErr_Occurred()) SWIG_fail;
12034 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxDC,
12035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12036 arg7 = (int)SWIG_As_int(obj6);
15afbcd0 12037 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12038 arg8 = (int)SWIG_As_int(obj7);
15afbcd0 12039 if (PyErr_Occurred()) SWIG_fail;
994141e6 12040 if (obj8) {
c32bde28 12041 arg9 = (int)SWIG_As_int(obj8);
15afbcd0 12042 if (PyErr_Occurred()) SWIG_fail;
994141e6 12043 }
d14a1e28 12044 if (obj9) {
c32bde28 12045 arg10 = (bool)SWIG_As_bool(obj9);
15afbcd0 12046 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12047 }
12048 if (obj10) {
c32bde28 12049 arg11 = (int)SWIG_As_int(obj10);
15afbcd0 12050 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12051 }
12052 if (obj11) {
c32bde28 12053 arg12 = (int)SWIG_As_int(obj11);
15afbcd0 12054 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12055 }
12056 {
12057 PyThreadState* __tstate = wxPyBeginAllowThreads();
12058 result = (bool)(arg1)->Blit(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
12059
12060 wxPyEndAllowThreads(__tstate);
12061 if (PyErr_Occurred()) SWIG_fail;
12062 }
4f89f6a3
RD
12063 {
12064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12065 }
d14a1e28
RD
12066 return resultobj;
12067 fail:
12068 return NULL;
12069}
12070
12071
c32bde28 12072static PyObject *_wrap_DC_BlitPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12073 PyObject *resultobj;
12074 wxDC *arg1 = (wxDC *) 0 ;
12075 wxPoint *arg2 = 0 ;
12076 wxSize *arg3 = 0 ;
12077 wxDC *arg4 = (wxDC *) 0 ;
12078 wxPoint *arg5 = 0 ;
12079 int arg6 = (int) wxCOPY ;
e811c8ce 12080 bool arg7 = (bool) False ;
d14a1e28
RD
12081 wxPoint const &arg8_defvalue = wxDefaultPosition ;
12082 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
12083 bool result;
12084 wxPoint temp2 ;
12085 wxSize temp3 ;
12086 wxPoint temp5 ;
12087 wxPoint temp8 ;
12088 PyObject * obj0 = 0 ;
12089 PyObject * obj1 = 0 ;
12090 PyObject * obj2 = 0 ;
12091 PyObject * obj3 = 0 ;
12092 PyObject * obj4 = 0 ;
994141e6 12093 PyObject * obj5 = 0 ;
d14a1e28
RD
12094 PyObject * obj6 = 0 ;
12095 PyObject * obj7 = 0 ;
12096 char *kwnames[] = {
12097 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12098 };
12099
03e37cd5 12100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
12101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12103 {
12104 arg2 = &temp2;
12105 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12106 }
12107 {
12108 arg3 = &temp3;
12109 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
12110 }
15afbcd0
RD
12111 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDC,
12112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12113 {
12114 arg5 = &temp5;
12115 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12116 }
994141e6 12117 if (obj5) {
c32bde28 12118 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 12119 if (PyErr_Occurred()) SWIG_fail;
994141e6 12120 }
d14a1e28 12121 if (obj6) {
c32bde28 12122 arg7 = (bool)SWIG_As_bool(obj6);
15afbcd0 12123 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12124 }
12125 if (obj7) {
12126 {
12127 arg8 = &temp8;
12128 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
12129 }
12130 }
12131 {
12132 PyThreadState* __tstate = wxPyBeginAllowThreads();
12133 result = (bool)(arg1)->Blit((wxPoint const &)*arg2,(wxSize const &)*arg3,arg4,(wxPoint const &)*arg5,arg6,arg7,(wxPoint const &)*arg8);
12134
12135 wxPyEndAllowThreads(__tstate);
12136 if (PyErr_Occurred()) SWIG_fail;
12137 }
4f89f6a3
RD
12138 {
12139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12140 }
d14a1e28
RD
12141 return resultobj;
12142 fail:
12143 return NULL;
12144}
12145
12146
c32bde28 12147static PyObject *_wrap_DC_SetClippingRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12148 PyObject *resultobj;
12149 wxDC *arg1 = (wxDC *) 0 ;
12150 int arg2 ;
03e37cd5
RD
12151 int arg3 ;
12152 int arg4 ;
12153 int arg5 ;
d14a1e28
RD
12154 PyObject * obj0 = 0 ;
12155 PyObject * obj1 = 0 ;
994141e6
RD
12156 PyObject * obj2 = 0 ;
12157 PyObject * obj3 = 0 ;
03e37cd5 12158 PyObject * obj4 = 0 ;
d14a1e28 12159 char *kwnames[] = {
03e37cd5 12160 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
d14a1e28
RD
12161 };
12162
03e37cd5 12163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_SetClippingRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
12164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12166 arg2 = (int)SWIG_As_int(obj1);
03e37cd5 12167 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12168 arg3 = (int)SWIG_As_int(obj2);
03e37cd5 12169 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12170 arg4 = (int)SWIG_As_int(obj3);
03e37cd5 12171 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12172 arg5 = (int)SWIG_As_int(obj4);
03e37cd5 12173 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12174 {
12175 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 12176 (arg1)->SetClippingRegion(arg2,arg3,arg4,arg5);
d14a1e28
RD
12177
12178 wxPyEndAllowThreads(__tstate);
12179 if (PyErr_Occurred()) SWIG_fail;
12180 }
12181 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
12182 return resultobj;
12183 fail:
d14a1e28
RD
12184 return NULL;
12185}
12186
12187
c32bde28 12188static PyObject *_wrap_DC_SetClippingRegionPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12189 PyObject *resultobj;
12190 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
12191 wxPoint *arg2 = 0 ;
12192 wxSize *arg3 = 0 ;
12193 wxPoint temp2 ;
12194 wxSize temp3 ;
d14a1e28
RD
12195 PyObject * obj0 = 0 ;
12196 PyObject * obj1 = 0 ;
994141e6 12197 PyObject * obj2 = 0 ;
d14a1e28 12198 char *kwnames[] = {
03e37cd5 12199 (char *) "self",(char *) "pt",(char *) "sz", NULL
d14a1e28
RD
12200 };
12201
03e37cd5 12202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12205 {
03e37cd5
RD
12206 arg2 = &temp2;
12207 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
994141e6 12208 }
03e37cd5
RD
12209 {
12210 arg3 = &temp3;
12211 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
994141e6 12212 }
d14a1e28
RD
12213 {
12214 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 12215 (arg1)->SetClippingRegion((wxPoint const &)*arg2,(wxSize const &)*arg3);
d14a1e28
RD
12216
12217 wxPyEndAllowThreads(__tstate);
12218 if (PyErr_Occurred()) SWIG_fail;
12219 }
12220 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
12221 return resultobj;
12222 fail:
d14a1e28
RD
12223 return NULL;
12224}
12225
12226
c32bde28 12227static PyObject *_wrap_DC_SetClippingRegionAsRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12228 PyObject *resultobj;
12229 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5 12230 wxRegion *arg2 = 0 ;
d14a1e28
RD
12231 PyObject * obj0 = 0 ;
12232 PyObject * obj1 = 0 ;
d14a1e28 12233 char *kwnames[] = {
03e37cd5 12234 (char *) "self",(char *) "region", NULL
d14a1e28
RD
12235 };
12236
03e37cd5
RD
12237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames,&obj0,&obj1)) goto fail;
12238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12240 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
12241 SWIG_POINTER_EXCEPTION | 0)) == -1)
12242 SWIG_fail;
12243 if (arg2 == NULL) {
12244 PyErr_SetString(PyExc_TypeError,"null reference");
12245 SWIG_fail;
12246 }
12247 {
12248 PyThreadState* __tstate = wxPyBeginAllowThreads();
12249 (arg1)->SetClippingRegion((wxRegion const &)*arg2);
12250
12251 wxPyEndAllowThreads(__tstate);
12252 if (PyErr_Occurred()) SWIG_fail;
12253 }
12254 Py_INCREF(Py_None); resultobj = Py_None;
12255 return resultobj;
12256 fail:
12257 return NULL;
12258}
12259
12260
c32bde28 12261static PyObject *_wrap_DC_SetClippingRect(PyObject *, PyObject *args, PyObject *kwargs) {
03e37cd5
RD
12262 PyObject *resultobj;
12263 wxDC *arg1 = (wxDC *) 0 ;
12264 wxRect *arg2 = 0 ;
12265 wxRect temp2 ;
12266 PyObject * obj0 = 0 ;
12267 PyObject * obj1 = 0 ;
12268 char *kwnames[] = {
12269 (char *) "self",(char *) "rect", NULL
12270 };
12271
12272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
12273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12275 {
12276 arg2 = &temp2;
12277 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12278 }
12279 {
12280 PyThreadState* __tstate = wxPyBeginAllowThreads();
12281 (arg1)->SetClippingRegion((wxRect const &)*arg2);
12282
12283 wxPyEndAllowThreads(__tstate);
12284 if (PyErr_Occurred()) SWIG_fail;
12285 }
12286 Py_INCREF(Py_None); resultobj = Py_None;
12287 return resultobj;
12288 fail:
12289 return NULL;
12290}
12291
12292
c32bde28 12293static PyObject *_wrap_DC_DrawLines(PyObject *, PyObject *args, PyObject *kwargs) {
03e37cd5
RD
12294 PyObject *resultobj;
12295 wxDC *arg1 = (wxDC *) 0 ;
12296 int arg2 ;
12297 wxPoint *arg3 = (wxPoint *) 0 ;
12298 int arg4 = (int) 0 ;
12299 int arg5 = (int) 0 ;
12300 PyObject * obj0 = 0 ;
12301 PyObject * obj1 = 0 ;
12302 PyObject * obj2 = 0 ;
12303 PyObject * obj3 = 0 ;
12304 char *kwnames[] = {
12305 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12306 };
12307
12308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DC_DrawLines",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12311 {
12312 arg3 = wxPoint_LIST_helper(obj1, &arg2);
12313 if (arg3 == NULL) SWIG_fail;
12314 }
12315 if (obj2) {
c32bde28 12316 arg4 = (int)SWIG_As_int(obj2);
03e37cd5
RD
12317 if (PyErr_Occurred()) SWIG_fail;
12318 }
12319 if (obj3) {
c32bde28 12320 arg5 = (int)SWIG_As_int(obj3);
03e37cd5
RD
12321 if (PyErr_Occurred()) SWIG_fail;
12322 }
12323 {
12324 PyThreadState* __tstate = wxPyBeginAllowThreads();
12325 (arg1)->DrawLines(arg2,arg3,arg4,arg5);
12326
12327 wxPyEndAllowThreads(__tstate);
12328 if (PyErr_Occurred()) SWIG_fail;
12329 }
12330 Py_INCREF(Py_None); resultobj = Py_None;
12331 {
12332 if (arg3) delete [] arg3;
12333 }
12334 return resultobj;
12335 fail:
12336 {
12337 if (arg3) delete [] arg3;
12338 }
12339 return NULL;
12340}
12341
12342
c32bde28 12343static PyObject *_wrap_DC_DrawPolygon(PyObject *, PyObject *args, PyObject *kwargs) {
03e37cd5
RD
12344 PyObject *resultobj;
12345 wxDC *arg1 = (wxDC *) 0 ;
12346 int arg2 ;
12347 wxPoint *arg3 = (wxPoint *) 0 ;
12348 int arg4 = (int) 0 ;
12349 int arg5 = (int) 0 ;
12350 int arg6 = (int) wxODDEVEN_RULE ;
12351 PyObject * obj0 = 0 ;
12352 PyObject * obj1 = 0 ;
12353 PyObject * obj2 = 0 ;
12354 PyObject * obj3 = 0 ;
12355 PyObject * obj4 = 0 ;
12356 char *kwnames[] = {
12357 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12358 };
12359
12360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DC_DrawPolygon",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12363 {
12364 arg3 = wxPoint_LIST_helper(obj1, &arg2);
12365 if (arg3 == NULL) SWIG_fail;
12366 }
12367 if (obj2) {
c32bde28 12368 arg4 = (int)SWIG_As_int(obj2);
03e37cd5
RD
12369 if (PyErr_Occurred()) SWIG_fail;
12370 }
12371 if (obj3) {
c32bde28 12372 arg5 = (int)SWIG_As_int(obj3);
03e37cd5
RD
12373 if (PyErr_Occurred()) SWIG_fail;
12374 }
12375 if (obj4) {
c32bde28 12376 arg6 = (int)SWIG_As_int(obj4);
03e37cd5
RD
12377 if (PyErr_Occurred()) SWIG_fail;
12378 }
12379 {
12380 PyThreadState* __tstate = wxPyBeginAllowThreads();
12381 (arg1)->DrawPolygon(arg2,arg3,arg4,arg5,arg6);
12382
12383 wxPyEndAllowThreads(__tstate);
12384 if (PyErr_Occurred()) SWIG_fail;
12385 }
12386 Py_INCREF(Py_None); resultobj = Py_None;
12387 {
12388 if (arg3) delete [] arg3;
12389 }
12390 return resultobj;
12391 fail:
12392 {
12393 if (arg3) delete [] arg3;
12394 }
12395 return NULL;
12396}
12397
12398
c32bde28 12399static PyObject *_wrap_DC_DrawLabel(PyObject *, PyObject *args, PyObject *kwargs) {
03e37cd5
RD
12400 PyObject *resultobj;
12401 wxDC *arg1 = (wxDC *) 0 ;
12402 wxString *arg2 = 0 ;
12403 wxRect *arg3 = 0 ;
12404 int arg4 = (int) wxALIGN_LEFT|wxALIGN_TOP ;
12405 int arg5 = (int) -1 ;
12406 bool temp2 = False ;
12407 wxRect temp3 ;
12408 PyObject * obj0 = 0 ;
12409 PyObject * obj1 = 0 ;
12410 PyObject * obj2 = 0 ;
12411 PyObject * obj3 = 0 ;
12412 PyObject * obj4 = 0 ;
12413 char *kwnames[] = {
12414 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12415 };
12416
12417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DC_DrawLabel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
12418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12420 {
12421 arg2 = wxString_in_helper(obj1);
12422 if (arg2 == NULL) SWIG_fail;
e811c8ce 12423 temp2 = True;
d14a1e28
RD
12424 }
12425 {
12426 arg3 = &temp3;
12427 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
12428 }
994141e6 12429 if (obj3) {
c32bde28 12430 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 12431 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12432 }
12433 if (obj4) {
c32bde28 12434 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 12435 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12436 }
12437 {
12438 PyThreadState* __tstate = wxPyBeginAllowThreads();
12439 (arg1)->DrawLabel((wxString const &)*arg2,(wxRect const &)*arg3,arg4,arg5);
d14a1e28
RD
12440
12441 wxPyEndAllowThreads(__tstate);
12442 if (PyErr_Occurred()) SWIG_fail;
12443 }
12444 Py_INCREF(Py_None); resultobj = Py_None;
12445 {
12446 if (temp2)
12447 delete arg2;
12448 }
12449 return resultobj;
12450 fail:
12451 {
12452 if (temp2)
12453 delete arg2;
12454 }
12455 return NULL;
12456}
12457
12458
c32bde28 12459static PyObject *_wrap_DC_DrawImageLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12460 PyObject *resultobj;
12461 wxDC *arg1 = (wxDC *) 0 ;
12462 wxString *arg2 = 0 ;
12463 wxBitmap *arg3 = 0 ;
12464 wxRect *arg4 = 0 ;
12465 int arg5 = (int) wxALIGN_LEFT|wxALIGN_TOP ;
12466 int arg6 = (int) -1 ;
12467 wxRect result;
e811c8ce 12468 bool temp2 = False ;
d14a1e28
RD
12469 wxRect temp4 ;
12470 PyObject * obj0 = 0 ;
12471 PyObject * obj1 = 0 ;
12472 PyObject * obj2 = 0 ;
12473 PyObject * obj3 = 0 ;
994141e6
RD
12474 PyObject * obj4 = 0 ;
12475 PyObject * obj5 = 0 ;
d14a1e28
RD
12476 char *kwnames[] = {
12477 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12478 };
12479
994141e6 12480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
12481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12483 {
12484 arg2 = wxString_in_helper(obj1);
12485 if (arg2 == NULL) SWIG_fail;
e811c8ce 12486 temp2 = True;
d14a1e28 12487 }
15afbcd0
RD
12488 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
12489 SWIG_POINTER_EXCEPTION | 0)) == -1)
12490 SWIG_fail;
d14a1e28 12491 if (arg3 == NULL) {
15afbcd0
RD
12492 PyErr_SetString(PyExc_TypeError,"null reference");
12493 SWIG_fail;
d14a1e28
RD
12494 }
12495 {
12496 arg4 = &temp4;
12497 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
12498 }
994141e6 12499 if (obj4) {
c32bde28 12500 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 12501 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12502 }
12503 if (obj5) {
c32bde28 12504 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 12505 if (PyErr_Occurred()) SWIG_fail;
994141e6 12506 }
d14a1e28
RD
12507 {
12508 PyThreadState* __tstate = wxPyBeginAllowThreads();
12509 result = wxDC_DrawImageLabel(arg1,(wxString const &)*arg2,(wxBitmap const &)*arg3,(wxRect const &)*arg4,arg5,arg6);
12510
12511 wxPyEndAllowThreads(__tstate);
12512 if (PyErr_Occurred()) SWIG_fail;
12513 }
12514 {
12515 wxRect * resultptr;
12516 resultptr = new wxRect((wxRect &) result);
15afbcd0 12517 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
12518 }
12519 {
12520 if (temp2)
12521 delete arg2;
12522 }
12523 return resultobj;
12524 fail:
12525 {
12526 if (temp2)
12527 delete arg2;
12528 }
12529 return NULL;
12530}
12531
12532
c32bde28 12533static PyObject *_wrap_DC_DrawSpline(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12534 PyObject *resultobj;
12535 wxDC *arg1 = (wxDC *) 0 ;
12536 int arg2 ;
12537 wxPoint *arg3 = (wxPoint *) 0 ;
12538 PyObject * obj0 = 0 ;
12539 PyObject * obj1 = 0 ;
12540 char *kwnames[] = {
12541 (char *) "self",(char *) "points", NULL
12542 };
12543
12544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawSpline",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12547 {
12548 arg3 = wxPoint_LIST_helper(obj1, &arg2);
12549 if (arg3 == NULL) SWIG_fail;
12550 }
12551 {
12552 PyThreadState* __tstate = wxPyBeginAllowThreads();
12553 (arg1)->DrawSpline(arg2,arg3);
12554
12555 wxPyEndAllowThreads(__tstate);
12556 if (PyErr_Occurred()) SWIG_fail;
12557 }
12558 Py_INCREF(Py_None); resultobj = Py_None;
12559 {
12560 if (arg3) delete [] arg3;
12561 }
12562 return resultobj;
12563 fail:
12564 {
12565 if (arg3) delete [] arg3;
12566 }
12567 return NULL;
12568}
12569
12570
c32bde28 12571static PyObject *_wrap_DC_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12572 PyObject *resultobj;
12573 wxDC *arg1 = (wxDC *) 0 ;
12574 PyObject * obj0 = 0 ;
12575 char *kwnames[] = {
12576 (char *) "self", NULL
12577 };
12578
12579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
12580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12582 {
12583 PyThreadState* __tstate = wxPyBeginAllowThreads();
12584 (arg1)->Clear();
12585
12586 wxPyEndAllowThreads(__tstate);
12587 if (PyErr_Occurred()) SWIG_fail;
12588 }
12589 Py_INCREF(Py_None); resultobj = Py_None;
12590 return resultobj;
12591 fail:
12592 return NULL;
12593}
12594
12595
c32bde28 12596static PyObject *_wrap_DC_StartDoc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12597 PyObject *resultobj;
12598 wxDC *arg1 = (wxDC *) 0 ;
12599 wxString *arg2 = 0 ;
12600 bool result;
e811c8ce 12601 bool temp2 = False ;
d14a1e28
RD
12602 PyObject * obj0 = 0 ;
12603 PyObject * obj1 = 0 ;
12604 char *kwnames[] = {
12605 (char *) "self",(char *) "message", NULL
12606 };
12607
12608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_StartDoc",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12611 {
12612 arg2 = wxString_in_helper(obj1);
12613 if (arg2 == NULL) SWIG_fail;
e811c8ce 12614 temp2 = True;
d14a1e28
RD
12615 }
12616 {
12617 PyThreadState* __tstate = wxPyBeginAllowThreads();
12618 result = (bool)(arg1)->StartDoc((wxString const &)*arg2);
12619
12620 wxPyEndAllowThreads(__tstate);
12621 if (PyErr_Occurred()) SWIG_fail;
12622 }
4f89f6a3
RD
12623 {
12624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12625 }
d14a1e28
RD
12626 {
12627 if (temp2)
12628 delete arg2;
12629 }
12630 return resultobj;
12631 fail:
12632 {
12633 if (temp2)
12634 delete arg2;
12635 }
12636 return NULL;
12637}
12638
12639
c32bde28 12640static PyObject *_wrap_DC_EndDoc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12641 PyObject *resultobj;
12642 wxDC *arg1 = (wxDC *) 0 ;
12643 PyObject * obj0 = 0 ;
12644 char *kwnames[] = {
12645 (char *) "self", NULL
12646 };
12647
12648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_EndDoc",kwnames,&obj0)) goto fail;
15afbcd0
RD
12649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12651 {
12652 PyThreadState* __tstate = wxPyBeginAllowThreads();
12653 (arg1)->EndDoc();
12654
12655 wxPyEndAllowThreads(__tstate);
12656 if (PyErr_Occurred()) SWIG_fail;
12657 }
12658 Py_INCREF(Py_None); resultobj = Py_None;
12659 return resultobj;
12660 fail:
12661 return NULL;
12662}
12663
12664
c32bde28 12665static PyObject *_wrap_DC_StartPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12666 PyObject *resultobj;
12667 wxDC *arg1 = (wxDC *) 0 ;
12668 PyObject * obj0 = 0 ;
12669 char *kwnames[] = {
12670 (char *) "self", NULL
12671 };
12672
12673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_StartPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
12674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12676 {
12677 PyThreadState* __tstate = wxPyBeginAllowThreads();
12678 (arg1)->StartPage();
12679
12680 wxPyEndAllowThreads(__tstate);
12681 if (PyErr_Occurred()) SWIG_fail;
12682 }
12683 Py_INCREF(Py_None); resultobj = Py_None;
12684 return resultobj;
12685 fail:
12686 return NULL;
12687}
12688
12689
c32bde28 12690static PyObject *_wrap_DC_EndPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12691 PyObject *resultobj;
12692 wxDC *arg1 = (wxDC *) 0 ;
12693 PyObject * obj0 = 0 ;
12694 char *kwnames[] = {
12695 (char *) "self", NULL
12696 };
12697
12698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_EndPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
12699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12701 {
12702 PyThreadState* __tstate = wxPyBeginAllowThreads();
12703 (arg1)->EndPage();
12704
12705 wxPyEndAllowThreads(__tstate);
12706 if (PyErr_Occurred()) SWIG_fail;
12707 }
12708 Py_INCREF(Py_None); resultobj = Py_None;
12709 return resultobj;
12710 fail:
12711 return NULL;
12712}
12713
12714
c32bde28 12715static PyObject *_wrap_DC_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12716 PyObject *resultobj;
12717 wxDC *arg1 = (wxDC *) 0 ;
12718 wxFont *arg2 = 0 ;
12719 PyObject * obj0 = 0 ;
12720 PyObject * obj1 = 0 ;
12721 char *kwnames[] = {
12722 (char *) "self",(char *) "font", NULL
12723 };
12724
12725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12728 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12729 SWIG_POINTER_EXCEPTION | 0)) == -1)
12730 SWIG_fail;
d14a1e28 12731 if (arg2 == NULL) {
15afbcd0
RD
12732 PyErr_SetString(PyExc_TypeError,"null reference");
12733 SWIG_fail;
d14a1e28
RD
12734 }
12735 {
12736 PyThreadState* __tstate = wxPyBeginAllowThreads();
12737 (arg1)->SetFont((wxFont const &)*arg2);
12738
12739 wxPyEndAllowThreads(__tstate);
12740 if (PyErr_Occurred()) SWIG_fail;
12741 }
12742 Py_INCREF(Py_None); resultobj = Py_None;
12743 return resultobj;
12744 fail:
12745 return NULL;
12746}
12747
12748
c32bde28 12749static PyObject *_wrap_DC_SetPen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12750 PyObject *resultobj;
12751 wxDC *arg1 = (wxDC *) 0 ;
12752 wxPen *arg2 = 0 ;
12753 PyObject * obj0 = 0 ;
12754 PyObject * obj1 = 0 ;
12755 char *kwnames[] = {
12756 (char *) "self",(char *) "pen", NULL
12757 };
12758
12759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetPen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12762 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPen,
12763 SWIG_POINTER_EXCEPTION | 0)) == -1)
12764 SWIG_fail;
d14a1e28 12765 if (arg2 == NULL) {
15afbcd0
RD
12766 PyErr_SetString(PyExc_TypeError,"null reference");
12767 SWIG_fail;
d14a1e28
RD
12768 }
12769 {
12770 PyThreadState* __tstate = wxPyBeginAllowThreads();
12771 (arg1)->SetPen((wxPen const &)*arg2);
12772
12773 wxPyEndAllowThreads(__tstate);
12774 if (PyErr_Occurred()) SWIG_fail;
12775 }
12776 Py_INCREF(Py_None); resultobj = Py_None;
12777 return resultobj;
12778 fail:
12779 return NULL;
12780}
12781
12782
c32bde28 12783static PyObject *_wrap_DC_SetBrush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12784 PyObject *resultobj;
12785 wxDC *arg1 = (wxDC *) 0 ;
12786 wxBrush *arg2 = 0 ;
12787 PyObject * obj0 = 0 ;
12788 PyObject * obj1 = 0 ;
12789 char *kwnames[] = {
12790 (char *) "self",(char *) "brush", NULL
12791 };
12792
12793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetBrush",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12796 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBrush,
12797 SWIG_POINTER_EXCEPTION | 0)) == -1)
12798 SWIG_fail;
d14a1e28 12799 if (arg2 == NULL) {
15afbcd0
RD
12800 PyErr_SetString(PyExc_TypeError,"null reference");
12801 SWIG_fail;
d14a1e28
RD
12802 }
12803 {
12804 PyThreadState* __tstate = wxPyBeginAllowThreads();
12805 (arg1)->SetBrush((wxBrush const &)*arg2);
12806
12807 wxPyEndAllowThreads(__tstate);
12808 if (PyErr_Occurred()) SWIG_fail;
12809 }
12810 Py_INCREF(Py_None); resultobj = Py_None;
12811 return resultobj;
12812 fail:
12813 return NULL;
12814}
12815
12816
c32bde28 12817static PyObject *_wrap_DC_SetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12818 PyObject *resultobj;
12819 wxDC *arg1 = (wxDC *) 0 ;
12820 wxBrush *arg2 = 0 ;
12821 PyObject * obj0 = 0 ;
12822 PyObject * obj1 = 0 ;
12823 char *kwnames[] = {
12824 (char *) "self",(char *) "brush", NULL
12825 };
12826
12827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetBackground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12830 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBrush,
12831 SWIG_POINTER_EXCEPTION | 0)) == -1)
12832 SWIG_fail;
d14a1e28 12833 if (arg2 == NULL) {
15afbcd0
RD
12834 PyErr_SetString(PyExc_TypeError,"null reference");
12835 SWIG_fail;
d14a1e28
RD
12836 }
12837 {
12838 PyThreadState* __tstate = wxPyBeginAllowThreads();
12839 (arg1)->SetBackground((wxBrush const &)*arg2);
12840
12841 wxPyEndAllowThreads(__tstate);
12842 if (PyErr_Occurred()) SWIG_fail;
12843 }
12844 Py_INCREF(Py_None); resultobj = Py_None;
12845 return resultobj;
12846 fail:
12847 return NULL;
12848}
12849
12850
c32bde28 12851static PyObject *_wrap_DC_SetBackgroundMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12852 PyObject *resultobj;
12853 wxDC *arg1 = (wxDC *) 0 ;
12854 int arg2 ;
12855 PyObject * obj0 = 0 ;
994141e6 12856 PyObject * obj1 = 0 ;
d14a1e28
RD
12857 char *kwnames[] = {
12858 (char *) "self",(char *) "mode", NULL
12859 };
12860
994141e6 12861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12864 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12865 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12866 {
12867 PyThreadState* __tstate = wxPyBeginAllowThreads();
12868 (arg1)->SetBackgroundMode(arg2);
12869
12870 wxPyEndAllowThreads(__tstate);
12871 if (PyErr_Occurred()) SWIG_fail;
12872 }
12873 Py_INCREF(Py_None); resultobj = Py_None;
12874 return resultobj;
12875 fail:
12876 return NULL;
12877}
12878
12879
c32bde28 12880static PyObject *_wrap_DC_SetPalette(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12881 PyObject *resultobj;
12882 wxDC *arg1 = (wxDC *) 0 ;
12883 wxPalette *arg2 = 0 ;
12884 PyObject * obj0 = 0 ;
12885 PyObject * obj1 = 0 ;
12886 char *kwnames[] = {
12887 (char *) "self",(char *) "palette", NULL
12888 };
12889
12890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetPalette",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12893 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPalette,
12894 SWIG_POINTER_EXCEPTION | 0)) == -1)
12895 SWIG_fail;
d14a1e28 12896 if (arg2 == NULL) {
15afbcd0
RD
12897 PyErr_SetString(PyExc_TypeError,"null reference");
12898 SWIG_fail;
d14a1e28
RD
12899 }
12900 {
12901 PyThreadState* __tstate = wxPyBeginAllowThreads();
12902 (arg1)->SetPalette((wxPalette const &)*arg2);
12903
12904 wxPyEndAllowThreads(__tstate);
12905 if (PyErr_Occurred()) SWIG_fail;
12906 }
12907 Py_INCREF(Py_None); resultobj = Py_None;
12908 return resultobj;
12909 fail:
12910 return NULL;
12911}
12912
12913
c32bde28 12914static PyObject *_wrap_DC_DestroyClippingRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12915 PyObject *resultobj;
12916 wxDC *arg1 = (wxDC *) 0 ;
12917 PyObject * obj0 = 0 ;
12918 char *kwnames[] = {
12919 (char *) "self", NULL
12920 };
12921
12922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_DestroyClippingRegion",kwnames,&obj0)) goto fail;
15afbcd0
RD
12923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12925 {
12926 PyThreadState* __tstate = wxPyBeginAllowThreads();
12927 (arg1)->DestroyClippingRegion();
12928
12929 wxPyEndAllowThreads(__tstate);
12930 if (PyErr_Occurred()) SWIG_fail;
12931 }
12932 Py_INCREF(Py_None); resultobj = Py_None;
12933 return resultobj;
12934 fail:
12935 return NULL;
12936}
12937
12938
c32bde28 12939static PyObject *_wrap_DC_GetClippingBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12940 PyObject *resultobj;
12941 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
12942 int *arg2 = (int *) 0 ;
12943 int *arg3 = (int *) 0 ;
12944 int *arg4 = (int *) 0 ;
12945 int *arg5 = (int *) 0 ;
12946 int temp2 ;
c32bde28 12947 int res2 = 0 ;
e811c8ce 12948 int temp3 ;
c32bde28 12949 int res3 = 0 ;
e811c8ce 12950 int temp4 ;
c32bde28 12951 int res4 = 0 ;
e811c8ce 12952 int temp5 ;
c32bde28 12953 int res5 = 0 ;
d14a1e28
RD
12954 PyObject * obj0 = 0 ;
12955 char *kwnames[] = {
12956 (char *) "self", NULL
12957 };
12958
c32bde28
RD
12959 arg2 = &temp2; res2 = SWIG_NEWOBJ;
12960 arg3 = &temp3; res3 = SWIG_NEWOBJ;
12961 arg4 = &temp4; res4 = SWIG_NEWOBJ;
12962 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d14a1e28 12963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetClippingBox",kwnames,&obj0)) goto fail;
15afbcd0
RD
12964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12966 {
12967 PyThreadState* __tstate = wxPyBeginAllowThreads();
12968 ((wxDC const *)arg1)->GetClippingBox(arg2,arg3,arg4,arg5);
12969
12970 wxPyEndAllowThreads(__tstate);
12971 if (PyErr_Occurred()) SWIG_fail;
12972 }
12973 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
12974 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
12975 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
12976 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
12977 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
12978 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
12979 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
12980 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
12981 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
12982 return resultobj;
12983 fail:
12984 return NULL;
12985}
12986
12987
c32bde28 12988static PyObject *_wrap_DC_GetClippingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12989 PyObject *resultobj;
12990 wxDC *arg1 = (wxDC *) 0 ;
12991 wxRect result;
12992 PyObject * obj0 = 0 ;
12993 char *kwnames[] = {
12994 (char *) "self", NULL
12995 };
12996
12997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetClippingRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
12998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13000 {
13001 PyThreadState* __tstate = wxPyBeginAllowThreads();
13002 result = wxDC_GetClippingRect(arg1);
13003
13004 wxPyEndAllowThreads(__tstate);
13005 if (PyErr_Occurred()) SWIG_fail;
13006 }
13007 {
13008 wxRect * resultptr;
13009 resultptr = new wxRect((wxRect &) result);
15afbcd0 13010 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
13011 }
13012 return resultobj;
13013 fail:
13014 return NULL;
13015}
13016
13017
c32bde28 13018static PyObject *_wrap_DC_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13019 PyObject *resultobj;
13020 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce 13021 int result;
d14a1e28
RD
13022 PyObject * obj0 = 0 ;
13023 char *kwnames[] = {
13024 (char *) "self", NULL
13025 };
13026
13027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetCharHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
13028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13030 {
13031 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13032 result = (int)((wxDC const *)arg1)->GetCharHeight();
d14a1e28
RD
13033
13034 wxPyEndAllowThreads(__tstate);
13035 if (PyErr_Occurred()) SWIG_fail;
13036 }
c32bde28 13037 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13038 return resultobj;
13039 fail:
13040 return NULL;
13041}
13042
13043
c32bde28 13044static PyObject *_wrap_DC_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13045 PyObject *resultobj;
13046 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce 13047 int result;
d14a1e28
RD
13048 PyObject * obj0 = 0 ;
13049 char *kwnames[] = {
13050 (char *) "self", NULL
13051 };
13052
13053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetCharWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
13054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13056 {
13057 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13058 result = (int)((wxDC const *)arg1)->GetCharWidth();
d14a1e28
RD
13059
13060 wxPyEndAllowThreads(__tstate);
13061 if (PyErr_Occurred()) SWIG_fail;
13062 }
c32bde28 13063 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13064 return resultobj;
13065 fail:
13066 return NULL;
13067}
13068
13069
c32bde28 13070static PyObject *_wrap_DC_GetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13071 PyObject *resultobj;
13072 wxDC *arg1 = (wxDC *) 0 ;
13073 wxString *arg2 = 0 ;
e811c8ce
RD
13074 int *arg3 = (int *) 0 ;
13075 int *arg4 = (int *) 0 ;
13076 bool temp2 = False ;
13077 int temp3 ;
c32bde28 13078 int res3 = 0 ;
e811c8ce 13079 int temp4 ;
c32bde28 13080 int res4 = 0 ;
d14a1e28
RD
13081 PyObject * obj0 = 0 ;
13082 PyObject * obj1 = 0 ;
13083 char *kwnames[] = {
13084 (char *) "self",(char *) "string", NULL
13085 };
13086
c32bde28
RD
13087 arg3 = &temp3; res3 = SWIG_NEWOBJ;
13088 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d14a1e28 13089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13092 {
13093 arg2 = wxString_in_helper(obj1);
13094 if (arg2 == NULL) SWIG_fail;
e811c8ce 13095 temp2 = True;
d14a1e28
RD
13096 }
13097 {
13098 PyThreadState* __tstate = wxPyBeginAllowThreads();
13099 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
13100
13101 wxPyEndAllowThreads(__tstate);
13102 if (PyErr_Occurred()) SWIG_fail;
13103 }
13104 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
13105 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
13106 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
13107 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
13108 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
d14a1e28
RD
13109 {
13110 if (temp2)
13111 delete arg2;
13112 }
13113 return resultobj;
13114 fail:
13115 {
13116 if (temp2)
13117 delete arg2;
13118 }
13119 return NULL;
13120}
13121
13122
c32bde28 13123static PyObject *_wrap_DC_GetFullTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13124 PyObject *resultobj;
13125 wxDC *arg1 = (wxDC *) 0 ;
13126 wxString *arg2 = 0 ;
e811c8ce
RD
13127 int *arg3 = (int *) 0 ;
13128 int *arg4 = (int *) 0 ;
13129 int *arg5 = (int *) 0 ;
13130 int *arg6 = (int *) 0 ;
d14a1e28 13131 wxFont *arg7 = (wxFont *) NULL ;
e811c8ce
RD
13132 bool temp2 = False ;
13133 int temp3 ;
c32bde28 13134 int res3 = 0 ;
e811c8ce 13135 int temp4 ;
c32bde28 13136 int res4 = 0 ;
e811c8ce 13137 int temp5 ;
c32bde28 13138 int res5 = 0 ;
e811c8ce 13139 int temp6 ;
c32bde28 13140 int res6 = 0 ;
d14a1e28
RD
13141 PyObject * obj0 = 0 ;
13142 PyObject * obj1 = 0 ;
13143 PyObject * obj2 = 0 ;
13144 char *kwnames[] = {
13145 (char *) "self",(char *) "string",(char *) "font", NULL
13146 };
13147
c32bde28
RD
13148 arg3 = &temp3; res3 = SWIG_NEWOBJ;
13149 arg4 = &temp4; res4 = SWIG_NEWOBJ;
13150 arg5 = &temp5; res5 = SWIG_NEWOBJ;
13151 arg6 = &temp6; res6 = SWIG_NEWOBJ;
d14a1e28 13152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DC_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13155 {
13156 arg2 = wxString_in_helper(obj1);
13157 if (arg2 == NULL) SWIG_fail;
e811c8ce 13158 temp2 = True;
d14a1e28
RD
13159 }
13160 if (obj2) {
15afbcd0
RD
13161 if ((SWIG_ConvertPtr(obj2,(void **)(&arg7),SWIGTYPE_p_wxFont,
13162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13163 }
13164 {
13165 PyThreadState* __tstate = wxPyBeginAllowThreads();
13166 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7);
13167
13168 wxPyEndAllowThreads(__tstate);
13169 if (PyErr_Occurred()) SWIG_fail;
13170 }
13171 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
13172 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
13173 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
13174 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
13175 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
13176 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
13177 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
13178 resultobj = t_output_helper(resultobj, ((res6 == SWIG_NEWOBJ) ?
13179 SWIG_From_int((*arg6)) : SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_int, 0)));
d14a1e28
RD
13180 {
13181 if (temp2)
13182 delete arg2;
13183 }
13184 return resultobj;
13185 fail:
13186 {
13187 if (temp2)
13188 delete arg2;
13189 }
13190 return NULL;
13191}
13192
13193
c32bde28 13194static PyObject *_wrap_DC_GetMultiLineTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13195 PyObject *resultobj;
13196 wxDC *arg1 = (wxDC *) 0 ;
13197 wxString *arg2 = 0 ;
e811c8ce
RD
13198 int *arg3 = (int *) 0 ;
13199 int *arg4 = (int *) 0 ;
13200 int *arg5 = (int *) 0 ;
d14a1e28 13201 wxFont *arg6 = (wxFont *) NULL ;
e811c8ce
RD
13202 bool temp2 = False ;
13203 int temp3 ;
c32bde28 13204 int res3 = 0 ;
e811c8ce 13205 int temp4 ;
c32bde28 13206 int res4 = 0 ;
e811c8ce 13207 int temp5 ;
c32bde28 13208 int res5 = 0 ;
d14a1e28
RD
13209 PyObject * obj0 = 0 ;
13210 PyObject * obj1 = 0 ;
13211 PyObject * obj2 = 0 ;
13212 char *kwnames[] = {
13213 (char *) "self",(char *) "text",(char *) "font", NULL
13214 };
13215
c32bde28
RD
13216 arg3 = &temp3; res3 = SWIG_NEWOBJ;
13217 arg4 = &temp4; res4 = SWIG_NEWOBJ;
13218 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d14a1e28 13219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13222 {
13223 arg2 = wxString_in_helper(obj1);
13224 if (arg2 == NULL) SWIG_fail;
e811c8ce 13225 temp2 = True;
d14a1e28
RD
13226 }
13227 if (obj2) {
15afbcd0
RD
13228 if ((SWIG_ConvertPtr(obj2,(void **)(&arg6),SWIGTYPE_p_wxFont,
13229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13230 }
13231 {
13232 PyThreadState* __tstate = wxPyBeginAllowThreads();
13233 (arg1)->GetMultiLineTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6);
13234
13235 wxPyEndAllowThreads(__tstate);
13236 if (PyErr_Occurred()) SWIG_fail;
13237 }
13238 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
13239 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
13240 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
13241 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
13242 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
13243 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
13244 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
13245 {
13246 if (temp2)
13247 delete arg2;
13248 }
13249 return resultobj;
13250 fail:
13251 {
13252 if (temp2)
13253 delete arg2;
13254 }
13255 return NULL;
13256}
13257
13258
c32bde28 13259static PyObject *_wrap_DC_GetPartialTextExtents(PyObject *, PyObject *args, PyObject *kwargs) {
db914595
RD
13260 PyObject *resultobj;
13261 wxDC *arg1 = (wxDC *) 0 ;
13262 wxString *arg2 = 0 ;
13263 wxArrayInt result;
13264 bool temp2 = False ;
13265 PyObject * obj0 = 0 ;
13266 PyObject * obj1 = 0 ;
13267 char *kwnames[] = {
13268 (char *) "self",(char *) "text", NULL
13269 };
13270
13271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_GetPartialTextExtents",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
db914595
RD
13274 {
13275 arg2 = wxString_in_helper(obj1);
13276 if (arg2 == NULL) SWIG_fail;
13277 temp2 = True;
13278 }
13279 {
13280 PyThreadState* __tstate = wxPyBeginAllowThreads();
13281 result = wxDC_GetPartialTextExtents(arg1,(wxString const &)*arg2);
13282
13283 wxPyEndAllowThreads(__tstate);
13284 if (PyErr_Occurred()) SWIG_fail;
13285 }
13286 {
13287 resultobj = PyList_New(0);
13288 size_t idx;
13289 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
13290 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
13291 PyList_Append(resultobj, val);
13292 Py_DECREF(val);
13293 }
13294 }
13295 {
13296 if (temp2)
13297 delete arg2;
13298 }
13299 return resultobj;
13300 fail:
13301 {
13302 if (temp2)
13303 delete arg2;
13304 }
13305 return NULL;
13306}
13307
13308
c32bde28 13309static PyObject *_wrap_DC_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
322913ce
RD
13310 PyObject *resultobj;
13311 wxDC *arg1 = (wxDC *) 0 ;
13312 wxSize result;
13313 PyObject * obj0 = 0 ;
13314 char *kwnames[] = {
13315 (char *) "self", NULL
13316 };
13317
13318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
13319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
322913ce
RD
13321 {
13322 PyThreadState* __tstate = wxPyBeginAllowThreads();
13323 result = (arg1)->GetSize();
13324
13325 wxPyEndAllowThreads(__tstate);
13326 if (PyErr_Occurred()) SWIG_fail;
13327 }
13328 {
13329 wxSize * resultptr;
13330 resultptr = new wxSize((wxSize &) result);
15afbcd0 13331 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
322913ce
RD
13332 }
13333 return resultobj;
13334 fail:
13335 return NULL;
13336}
13337
13338
c32bde28 13339static PyObject *_wrap_DC_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13340 PyObject *resultobj;
13341 wxDC *arg1 = (wxDC *) 0 ;
13342 int *arg2 = (int *) 0 ;
13343 int *arg3 = (int *) 0 ;
13344 int temp2 ;
c32bde28 13345 int res2 = 0 ;
d14a1e28 13346 int temp3 ;
c32bde28 13347 int res3 = 0 ;
d14a1e28
RD
13348 PyObject * obj0 = 0 ;
13349 char *kwnames[] = {
13350 (char *) "self", NULL
13351 };
13352
c32bde28
RD
13353 arg2 = &temp2; res2 = SWIG_NEWOBJ;
13354 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 13355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
13356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13358 {
13359 PyThreadState* __tstate = wxPyBeginAllowThreads();
13360 (arg1)->GetSize(arg2,arg3);
13361
13362 wxPyEndAllowThreads(__tstate);
13363 if (PyErr_Occurred()) SWIG_fail;
13364 }
13365 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
13366 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
13367 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
13368 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
13369 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
13370 return resultobj;
13371 fail:
13372 return NULL;
13373}
13374
13375
c32bde28 13376static PyObject *_wrap_DC_GetSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13377 PyObject *resultobj;
13378 wxDC *arg1 = (wxDC *) 0 ;
13379 wxSize result;
13380 PyObject * obj0 = 0 ;
13381 char *kwnames[] = {
13382 (char *) "self", NULL
13383 };
13384
322913ce 13385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSizeMM",kwnames,&obj0)) goto fail;
15afbcd0
RD
13386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13388 {
13389 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 13390 result = ((wxDC const *)arg1)->GetSizeMM();
d14a1e28
RD
13391
13392 wxPyEndAllowThreads(__tstate);
13393 if (PyErr_Occurred()) SWIG_fail;
13394 }
13395 {
13396 wxSize * resultptr;
13397 resultptr = new wxSize((wxSize &) result);
15afbcd0 13398 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
13399 }
13400 return resultobj;
13401 fail:
13402 return NULL;
13403}
13404
13405
c32bde28 13406static PyObject *_wrap_DC_GetSizeMMTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13407 PyObject *resultobj;
13408 wxDC *arg1 = (wxDC *) 0 ;
13409 int *arg2 = (int *) 0 ;
13410 int *arg3 = (int *) 0 ;
13411 int temp2 ;
c32bde28 13412 int res2 = 0 ;
d14a1e28 13413 int temp3 ;
c32bde28 13414 int res3 = 0 ;
d14a1e28
RD
13415 PyObject * obj0 = 0 ;
13416 char *kwnames[] = {
13417 (char *) "self", NULL
13418 };
13419
c32bde28
RD
13420 arg2 = &temp2; res2 = SWIG_NEWOBJ;
13421 arg3 = &temp3; res3 = SWIG_NEWOBJ;
322913ce 13422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSizeMMTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
13423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13425 {
13426 PyThreadState* __tstate = wxPyBeginAllowThreads();
13427 ((wxDC const *)arg1)->GetSizeMM(arg2,arg3);
13428
13429 wxPyEndAllowThreads(__tstate);
13430 if (PyErr_Occurred()) SWIG_fail;
13431 }
13432 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
13433 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
13434 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
13435 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
13436 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
13437 return resultobj;
13438 fail:
13439 return NULL;
13440}
13441
13442
c32bde28 13443static PyObject *_wrap_DC_DeviceToLogicalX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13444 PyObject *resultobj;
13445 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13446 int arg2 ;
13447 int result;
d14a1e28 13448 PyObject * obj0 = 0 ;
994141e6 13449 PyObject * obj1 = 0 ;
d14a1e28
RD
13450 char *kwnames[] = {
13451 (char *) "self",(char *) "x", NULL
13452 };
13453
994141e6 13454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13457 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13458 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13459 {
13460 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13461 result = (int)((wxDC const *)arg1)->DeviceToLogicalX(arg2);
d14a1e28
RD
13462
13463 wxPyEndAllowThreads(__tstate);
13464 if (PyErr_Occurred()) SWIG_fail;
13465 }
c32bde28 13466 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13467 return resultobj;
13468 fail:
13469 return NULL;
13470}
13471
13472
c32bde28 13473static PyObject *_wrap_DC_DeviceToLogicalY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13474 PyObject *resultobj;
13475 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13476 int arg2 ;
13477 int result;
d14a1e28 13478 PyObject * obj0 = 0 ;
994141e6 13479 PyObject * obj1 = 0 ;
d14a1e28
RD
13480 char *kwnames[] = {
13481 (char *) "self",(char *) "y", NULL
13482 };
13483
994141e6 13484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13487 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13488 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13489 {
13490 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13491 result = (int)((wxDC const *)arg1)->DeviceToLogicalY(arg2);
d14a1e28
RD
13492
13493 wxPyEndAllowThreads(__tstate);
13494 if (PyErr_Occurred()) SWIG_fail;
13495 }
c32bde28 13496 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13497 return resultobj;
13498 fail:
13499 return NULL;
13500}
13501
13502
c32bde28 13503static PyObject *_wrap_DC_DeviceToLogicalXRel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13504 PyObject *resultobj;
13505 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13506 int arg2 ;
13507 int result;
d14a1e28 13508 PyObject * obj0 = 0 ;
994141e6 13509 PyObject * obj1 = 0 ;
d14a1e28
RD
13510 char *kwnames[] = {
13511 (char *) "self",(char *) "x", NULL
13512 };
13513
994141e6 13514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalXRel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13517 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13518 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13519 {
13520 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13521 result = (int)((wxDC const *)arg1)->DeviceToLogicalXRel(arg2);
d14a1e28
RD
13522
13523 wxPyEndAllowThreads(__tstate);
13524 if (PyErr_Occurred()) SWIG_fail;
13525 }
c32bde28 13526 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13527 return resultobj;
13528 fail:
13529 return NULL;
13530}
13531
13532
c32bde28 13533static PyObject *_wrap_DC_DeviceToLogicalYRel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13534 PyObject *resultobj;
13535 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13536 int arg2 ;
13537 int result;
d14a1e28 13538 PyObject * obj0 = 0 ;
994141e6 13539 PyObject * obj1 = 0 ;
d14a1e28
RD
13540 char *kwnames[] = {
13541 (char *) "self",(char *) "y", NULL
13542 };
13543
994141e6 13544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalYRel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13547 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13548 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13549 {
13550 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13551 result = (int)((wxDC const *)arg1)->DeviceToLogicalYRel(arg2);
d14a1e28
RD
13552
13553 wxPyEndAllowThreads(__tstate);
13554 if (PyErr_Occurred()) SWIG_fail;
13555 }
c32bde28 13556 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13557 return resultobj;
13558 fail:
13559 return NULL;
13560}
13561
13562
c32bde28 13563static PyObject *_wrap_DC_LogicalToDeviceX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13564 PyObject *resultobj;
13565 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13566 int arg2 ;
13567 int result;
d14a1e28 13568 PyObject * obj0 = 0 ;
994141e6 13569 PyObject * obj1 = 0 ;
d14a1e28
RD
13570 char *kwnames[] = {
13571 (char *) "self",(char *) "x", NULL
13572 };
13573
994141e6 13574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13577 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13578 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13579 {
13580 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13581 result = (int)((wxDC const *)arg1)->LogicalToDeviceX(arg2);
d14a1e28
RD
13582
13583 wxPyEndAllowThreads(__tstate);
13584 if (PyErr_Occurred()) SWIG_fail;
13585 }
c32bde28 13586 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13587 return resultobj;
13588 fail:
13589 return NULL;
13590}
13591
13592
c32bde28 13593static PyObject *_wrap_DC_LogicalToDeviceY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13594 PyObject *resultobj;
13595 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13596 int arg2 ;
13597 int result;
d14a1e28 13598 PyObject * obj0 = 0 ;
994141e6 13599 PyObject * obj1 = 0 ;
d14a1e28
RD
13600 char *kwnames[] = {
13601 (char *) "self",(char *) "y", NULL
13602 };
13603
994141e6 13604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13607 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13608 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13609 {
13610 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13611 result = (int)((wxDC const *)arg1)->LogicalToDeviceY(arg2);
d14a1e28
RD
13612
13613 wxPyEndAllowThreads(__tstate);
13614 if (PyErr_Occurred()) SWIG_fail;
13615 }
c32bde28 13616 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13617 return resultobj;
13618 fail:
13619 return NULL;
13620}
13621
13622
c32bde28 13623static PyObject *_wrap_DC_LogicalToDeviceXRel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13624 PyObject *resultobj;
13625 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13626 int arg2 ;
13627 int result;
d14a1e28 13628 PyObject * obj0 = 0 ;
994141e6 13629 PyObject * obj1 = 0 ;
d14a1e28
RD
13630 char *kwnames[] = {
13631 (char *) "self",(char *) "x", NULL
13632 };
13633
994141e6 13634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceXRel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13637 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13638 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13639 {
13640 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13641 result = (int)((wxDC const *)arg1)->LogicalToDeviceXRel(arg2);
d14a1e28
RD
13642
13643 wxPyEndAllowThreads(__tstate);
13644 if (PyErr_Occurred()) SWIG_fail;
13645 }
c32bde28 13646 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13647 return resultobj;
13648 fail:
13649 return NULL;
13650}
13651
13652
c32bde28 13653static PyObject *_wrap_DC_LogicalToDeviceYRel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13654 PyObject *resultobj;
13655 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13656 int arg2 ;
13657 int result;
d14a1e28 13658 PyObject * obj0 = 0 ;
994141e6 13659 PyObject * obj1 = 0 ;
d14a1e28
RD
13660 char *kwnames[] = {
13661 (char *) "self",(char *) "y", NULL
13662 };
13663
994141e6 13664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceYRel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13667 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13668 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13669 {
13670 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13671 result = (int)((wxDC const *)arg1)->LogicalToDeviceYRel(arg2);
d14a1e28
RD
13672
13673 wxPyEndAllowThreads(__tstate);
13674 if (PyErr_Occurred()) SWIG_fail;
13675 }
c32bde28 13676 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13677 return resultobj;
13678 fail:
13679 return NULL;
13680}
13681
13682
c32bde28 13683static PyObject *_wrap_DC_CanDrawBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13684 PyObject *resultobj;
13685 wxDC *arg1 = (wxDC *) 0 ;
13686 bool result;
13687 PyObject * obj0 = 0 ;
13688 char *kwnames[] = {
13689 (char *) "self", NULL
13690 };
13691
13692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_CanDrawBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
13693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13695 {
13696 PyThreadState* __tstate = wxPyBeginAllowThreads();
13697 result = (bool)((wxDC const *)arg1)->CanDrawBitmap();
13698
13699 wxPyEndAllowThreads(__tstate);
13700 if (PyErr_Occurred()) SWIG_fail;
13701 }
4f89f6a3
RD
13702 {
13703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13704 }
d14a1e28
RD
13705 return resultobj;
13706 fail:
13707 return NULL;
13708}
13709
13710
c32bde28 13711static PyObject *_wrap_DC_CanGetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13712 PyObject *resultobj;
13713 wxDC *arg1 = (wxDC *) 0 ;
13714 bool result;
13715 PyObject * obj0 = 0 ;
13716 char *kwnames[] = {
13717 (char *) "self", NULL
13718 };
13719
13720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_CanGetTextExtent",kwnames,&obj0)) goto fail;
15afbcd0
RD
13721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13723 {
13724 PyThreadState* __tstate = wxPyBeginAllowThreads();
13725 result = (bool)((wxDC const *)arg1)->CanGetTextExtent();
13726
13727 wxPyEndAllowThreads(__tstate);
13728 if (PyErr_Occurred()) SWIG_fail;
13729 }
4f89f6a3
RD
13730 {
13731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13732 }
d14a1e28
RD
13733 return resultobj;
13734 fail:
13735 return NULL;
13736}
13737
13738
c32bde28 13739static PyObject *_wrap_DC_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13740 PyObject *resultobj;
13741 wxDC *arg1 = (wxDC *) 0 ;
13742 int result;
13743 PyObject * obj0 = 0 ;
13744 char *kwnames[] = {
13745 (char *) "self", NULL
13746 };
13747
13748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetDepth",kwnames,&obj0)) goto fail;
15afbcd0
RD
13749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13751 {
13752 PyThreadState* __tstate = wxPyBeginAllowThreads();
13753 result = (int)((wxDC const *)arg1)->GetDepth();
13754
13755 wxPyEndAllowThreads(__tstate);
13756 if (PyErr_Occurred()) SWIG_fail;
13757 }
c32bde28 13758 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13759 return resultobj;
13760 fail:
13761 return NULL;
13762}
13763
13764
c32bde28 13765static PyObject *_wrap_DC_GetPPI(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13766 PyObject *resultobj;
13767 wxDC *arg1 = (wxDC *) 0 ;
13768 wxSize result;
13769 PyObject * obj0 = 0 ;
13770 char *kwnames[] = {
13771 (char *) "self", NULL
13772 };
13773
13774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetPPI",kwnames,&obj0)) goto fail;
15afbcd0
RD
13775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13777 {
13778 PyThreadState* __tstate = wxPyBeginAllowThreads();
13779 result = ((wxDC const *)arg1)->GetPPI();
13780
13781 wxPyEndAllowThreads(__tstate);
13782 if (PyErr_Occurred()) SWIG_fail;
13783 }
13784 {
13785 wxSize * resultptr;
13786 resultptr = new wxSize((wxSize &) result);
15afbcd0 13787 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
13788 }
13789 return resultobj;
13790 fail:
13791 return NULL;
13792}
13793
13794
c32bde28 13795static PyObject *_wrap_DC_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13796 PyObject *resultobj;
13797 wxDC *arg1 = (wxDC *) 0 ;
13798 bool result;
13799 PyObject * obj0 = 0 ;
13800 char *kwnames[] = {
13801 (char *) "self", NULL
13802 };
13803
13804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
13805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13807 {
13808 PyThreadState* __tstate = wxPyBeginAllowThreads();
13809 result = (bool)((wxDC const *)arg1)->Ok();
13810
13811 wxPyEndAllowThreads(__tstate);
13812 if (PyErr_Occurred()) SWIG_fail;
13813 }
4f89f6a3
RD
13814 {
13815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13816 }
d14a1e28
RD
13817 return resultobj;
13818 fail:
13819 return NULL;
13820}
13821
13822
c32bde28 13823static PyObject *_wrap_DC_GetBackgroundMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13824 PyObject *resultobj;
13825 wxDC *arg1 = (wxDC *) 0 ;
13826 int result;
13827 PyObject * obj0 = 0 ;
13828 char *kwnames[] = {
13829 (char *) "self", NULL
13830 };
13831
13832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBackgroundMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
13833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13835 {
13836 PyThreadState* __tstate = wxPyBeginAllowThreads();
13837 result = (int)((wxDC const *)arg1)->GetBackgroundMode();
13838
13839 wxPyEndAllowThreads(__tstate);
13840 if (PyErr_Occurred()) SWIG_fail;
13841 }
c32bde28 13842 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13843 return resultobj;
13844 fail:
13845 return NULL;
13846}
13847
13848
c32bde28 13849static PyObject *_wrap_DC_GetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13850 PyObject *resultobj;
13851 wxDC *arg1 = (wxDC *) 0 ;
13852 wxBrush *result;
13853 PyObject * obj0 = 0 ;
13854 char *kwnames[] = {
13855 (char *) "self", NULL
13856 };
13857
13858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBackground",kwnames,&obj0)) goto fail;
15afbcd0
RD
13859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13861 {
13862 PyThreadState* __tstate = wxPyBeginAllowThreads();
13863 {
13864 wxBrush const &_result_ref = ((wxDC const *)arg1)->GetBackground();
13865 result = (wxBrush *) &_result_ref;
13866 }
13867
13868 wxPyEndAllowThreads(__tstate);
13869 if (PyErr_Occurred()) SWIG_fail;
13870 }
4276dc52
RD
13871 {
13872 wxBrush* resultptr = new wxBrush(*result);
13873 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBrush, 1);
13874 }
d14a1e28
RD
13875 return resultobj;
13876 fail:
13877 return NULL;
13878}
13879
13880
c32bde28 13881static PyObject *_wrap_DC_GetBrush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13882 PyObject *resultobj;
13883 wxDC *arg1 = (wxDC *) 0 ;
13884 wxBrush *result;
13885 PyObject * obj0 = 0 ;
13886 char *kwnames[] = {
13887 (char *) "self", NULL
13888 };
13889
13890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBrush",kwnames,&obj0)) goto fail;
15afbcd0
RD
13891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13893 {
13894 PyThreadState* __tstate = wxPyBeginAllowThreads();
13895 {
13896 wxBrush const &_result_ref = ((wxDC const *)arg1)->GetBrush();
13897 result = (wxBrush *) &_result_ref;
13898 }
13899
13900 wxPyEndAllowThreads(__tstate);
13901 if (PyErr_Occurred()) SWIG_fail;
13902 }
4276dc52
RD
13903 {
13904 wxBrush* resultptr = new wxBrush(*result);
13905 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBrush, 1);
13906 }
d14a1e28
RD
13907 return resultobj;
13908 fail:
13909 return NULL;
13910}
13911
13912
c32bde28 13913static PyObject *_wrap_DC_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13914 PyObject *resultobj;
13915 wxDC *arg1 = (wxDC *) 0 ;
13916 wxFont *result;
13917 PyObject * obj0 = 0 ;
13918 char *kwnames[] = {
13919 (char *) "self", NULL
13920 };
13921
13922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
13923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13925 {
13926 PyThreadState* __tstate = wxPyBeginAllowThreads();
13927 {
13928 wxFont const &_result_ref = ((wxDC const *)arg1)->GetFont();
13929 result = (wxFont *) &_result_ref;
13930 }
13931
13932 wxPyEndAllowThreads(__tstate);
13933 if (PyErr_Occurred()) SWIG_fail;
13934 }
4276dc52
RD
13935 {
13936 wxFont* resultptr = new wxFont(*result);
13937 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
13938 }
d14a1e28
RD
13939 return resultobj;
13940 fail:
13941 return NULL;
13942}
13943
13944
c32bde28 13945static PyObject *_wrap_DC_GetPen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13946 PyObject *resultobj;
13947 wxDC *arg1 = (wxDC *) 0 ;
13948 wxPen *result;
13949 PyObject * obj0 = 0 ;
13950 char *kwnames[] = {
13951 (char *) "self", NULL
13952 };
13953
13954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetPen",kwnames,&obj0)) goto fail;
15afbcd0
RD
13955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13957 {
13958 PyThreadState* __tstate = wxPyBeginAllowThreads();
13959 {
13960 wxPen const &_result_ref = ((wxDC const *)arg1)->GetPen();
13961 result = (wxPen *) &_result_ref;
13962 }
13963
13964 wxPyEndAllowThreads(__tstate);
13965 if (PyErr_Occurred()) SWIG_fail;
13966 }
4276dc52
RD
13967 {
13968 wxPen* resultptr = new wxPen(*result);
13969 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxPen, 1);
13970 }
d14a1e28
RD
13971 return resultobj;
13972 fail:
13973 return NULL;
13974}
13975
13976
c32bde28 13977static PyObject *_wrap_DC_GetTextBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13978 PyObject *resultobj;
13979 wxDC *arg1 = (wxDC *) 0 ;
13980 wxColour *result;
13981 PyObject * obj0 = 0 ;
13982 char *kwnames[] = {
13983 (char *) "self", NULL
13984 };
13985
13986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetTextBackground",kwnames,&obj0)) goto fail;
15afbcd0
RD
13987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13989 {
13990 PyThreadState* __tstate = wxPyBeginAllowThreads();
13991 {
13992 wxColour const &_result_ref = ((wxDC const *)arg1)->GetTextBackground();
13993 result = (wxColour *) &_result_ref;
13994 }
13995
13996 wxPyEndAllowThreads(__tstate);
13997 if (PyErr_Occurred()) SWIG_fail;
13998 }
15afbcd0 13999 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
14000 return resultobj;
14001 fail:
14002 return NULL;
14003}
14004
14005
c32bde28 14006static PyObject *_wrap_DC_GetTextForeground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14007 PyObject *resultobj;
14008 wxDC *arg1 = (wxDC *) 0 ;
14009 wxColour *result;
14010 PyObject * obj0 = 0 ;
14011 char *kwnames[] = {
14012 (char *) "self", NULL
14013 };
14014
14015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetTextForeground",kwnames,&obj0)) goto fail;
15afbcd0
RD
14016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14018 {
14019 PyThreadState* __tstate = wxPyBeginAllowThreads();
14020 {
14021 wxColour const &_result_ref = ((wxDC const *)arg1)->GetTextForeground();
14022 result = (wxColour *) &_result_ref;
14023 }
14024
14025 wxPyEndAllowThreads(__tstate);
14026 if (PyErr_Occurred()) SWIG_fail;
14027 }
15afbcd0 14028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
14029 return resultobj;
14030 fail:
14031 return NULL;
14032}
14033
14034
c32bde28 14035static PyObject *_wrap_DC_SetTextForeground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14036 PyObject *resultobj;
14037 wxDC *arg1 = (wxDC *) 0 ;
14038 wxColour *arg2 = 0 ;
14039 wxColour temp2 ;
14040 PyObject * obj0 = 0 ;
14041 PyObject * obj1 = 0 ;
14042 char *kwnames[] = {
14043 (char *) "self",(char *) "colour", NULL
14044 };
14045
14046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetTextForeground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14049 {
14050 arg2 = &temp2;
14051 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14052 }
14053 {
14054 PyThreadState* __tstate = wxPyBeginAllowThreads();
14055 (arg1)->SetTextForeground((wxColour const &)*arg2);
14056
14057 wxPyEndAllowThreads(__tstate);
14058 if (PyErr_Occurred()) SWIG_fail;
14059 }
14060 Py_INCREF(Py_None); resultobj = Py_None;
14061 return resultobj;
14062 fail:
14063 return NULL;
14064}
14065
14066
c32bde28 14067static PyObject *_wrap_DC_SetTextBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14068 PyObject *resultobj;
14069 wxDC *arg1 = (wxDC *) 0 ;
14070 wxColour *arg2 = 0 ;
14071 wxColour temp2 ;
14072 PyObject * obj0 = 0 ;
14073 PyObject * obj1 = 0 ;
14074 char *kwnames[] = {
14075 (char *) "self",(char *) "colour", NULL
14076 };
14077
14078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetTextBackground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14081 {
14082 arg2 = &temp2;
14083 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14084 }
14085 {
14086 PyThreadState* __tstate = wxPyBeginAllowThreads();
14087 (arg1)->SetTextBackground((wxColour const &)*arg2);
14088
14089 wxPyEndAllowThreads(__tstate);
14090 if (PyErr_Occurred()) SWIG_fail;
14091 }
14092 Py_INCREF(Py_None); resultobj = Py_None;
14093 return resultobj;
14094 fail:
14095 return NULL;
14096}
14097
14098
c32bde28 14099static PyObject *_wrap_DC_GetMapMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14100 PyObject *resultobj;
14101 wxDC *arg1 = (wxDC *) 0 ;
14102 int result;
14103 PyObject * obj0 = 0 ;
14104 char *kwnames[] = {
14105 (char *) "self", NULL
14106 };
14107
14108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetMapMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
14109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14111 {
14112 PyThreadState* __tstate = wxPyBeginAllowThreads();
14113 result = (int)((wxDC const *)arg1)->GetMapMode();
14114
14115 wxPyEndAllowThreads(__tstate);
14116 if (PyErr_Occurred()) SWIG_fail;
14117 }
c32bde28 14118 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14119 return resultobj;
14120 fail:
14121 return NULL;
14122}
14123
14124
c32bde28 14125static PyObject *_wrap_DC_SetMapMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14126 PyObject *resultobj;
14127 wxDC *arg1 = (wxDC *) 0 ;
14128 int arg2 ;
14129 PyObject * obj0 = 0 ;
994141e6 14130 PyObject * obj1 = 0 ;
d14a1e28
RD
14131 char *kwnames[] = {
14132 (char *) "self",(char *) "mode", NULL
14133 };
14134
994141e6 14135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetMapMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14138 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14139 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14140 {
14141 PyThreadState* __tstate = wxPyBeginAllowThreads();
14142 (arg1)->SetMapMode(arg2);
14143
14144 wxPyEndAllowThreads(__tstate);
14145 if (PyErr_Occurred()) SWIG_fail;
14146 }
14147 Py_INCREF(Py_None); resultobj = Py_None;
14148 return resultobj;
14149 fail:
14150 return NULL;
14151}
14152
14153
c32bde28 14154static PyObject *_wrap_DC_GetUserScale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14155 PyObject *resultobj;
14156 wxDC *arg1 = (wxDC *) 0 ;
14157 double *arg2 = (double *) 0 ;
14158 double *arg3 = (double *) 0 ;
14159 double temp2 ;
c32bde28 14160 int res2 = 0 ;
d14a1e28 14161 double temp3 ;
c32bde28 14162 int res3 = 0 ;
d14a1e28
RD
14163 PyObject * obj0 = 0 ;
14164 char *kwnames[] = {
14165 (char *) "self", NULL
14166 };
14167
c32bde28
RD
14168 arg2 = &temp2; res2 = SWIG_NEWOBJ;
14169 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 14170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetUserScale",kwnames,&obj0)) goto fail;
15afbcd0
RD
14171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14173 {
14174 PyThreadState* __tstate = wxPyBeginAllowThreads();
14175 ((wxDC const *)arg1)->GetUserScale(arg2,arg3);
14176
14177 wxPyEndAllowThreads(__tstate);
14178 if (PyErr_Occurred()) SWIG_fail;
14179 }
14180 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
14181 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
14182 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
14183 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
14184 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
d14a1e28
RD
14185 return resultobj;
14186 fail:
14187 return NULL;
14188}
14189
14190
c32bde28 14191static PyObject *_wrap_DC_SetUserScale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14192 PyObject *resultobj;
14193 wxDC *arg1 = (wxDC *) 0 ;
14194 double arg2 ;
14195 double arg3 ;
14196 PyObject * obj0 = 0 ;
994141e6
RD
14197 PyObject * obj1 = 0 ;
14198 PyObject * obj2 = 0 ;
d14a1e28
RD
14199 char *kwnames[] = {
14200 (char *) "self",(char *) "x",(char *) "y", NULL
14201 };
14202
994141e6 14203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetUserScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14206 arg2 = (double)SWIG_As_double(obj1);
15afbcd0 14207 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14208 arg3 = (double)SWIG_As_double(obj2);
15afbcd0 14209 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14210 {
14211 PyThreadState* __tstate = wxPyBeginAllowThreads();
14212 (arg1)->SetUserScale(arg2,arg3);
14213
14214 wxPyEndAllowThreads(__tstate);
14215 if (PyErr_Occurred()) SWIG_fail;
14216 }
14217 Py_INCREF(Py_None); resultobj = Py_None;
14218 return resultobj;
14219 fail:
14220 return NULL;
14221}
14222
14223
c32bde28 14224static PyObject *_wrap_DC_GetLogicalScale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14225 PyObject *resultobj;
14226 wxDC *arg1 = (wxDC *) 0 ;
14227 double *arg2 = (double *) 0 ;
14228 double *arg3 = (double *) 0 ;
14229 double temp2 ;
c32bde28 14230 int res2 = 0 ;
d14a1e28 14231 double temp3 ;
c32bde28 14232 int res3 = 0 ;
d14a1e28
RD
14233 PyObject * obj0 = 0 ;
14234 char *kwnames[] = {
14235 (char *) "self", NULL
14236 };
14237
c32bde28
RD
14238 arg2 = &temp2; res2 = SWIG_NEWOBJ;
14239 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 14240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalScale",kwnames,&obj0)) goto fail;
15afbcd0
RD
14241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14243 {
14244 PyThreadState* __tstate = wxPyBeginAllowThreads();
14245 (arg1)->GetLogicalScale(arg2,arg3);
14246
14247 wxPyEndAllowThreads(__tstate);
14248 if (PyErr_Occurred()) SWIG_fail;
14249 }
14250 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
14251 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
14252 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
14253 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
14254 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
d14a1e28
RD
14255 return resultobj;
14256 fail:
14257 return NULL;
14258}
14259
14260
c32bde28 14261static PyObject *_wrap_DC_SetLogicalScale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14262 PyObject *resultobj;
14263 wxDC *arg1 = (wxDC *) 0 ;
14264 double arg2 ;
14265 double arg3 ;
14266 PyObject * obj0 = 0 ;
994141e6
RD
14267 PyObject * obj1 = 0 ;
14268 PyObject * obj2 = 0 ;
d14a1e28
RD
14269 char *kwnames[] = {
14270 (char *) "self",(char *) "x",(char *) "y", NULL
14271 };
14272
994141e6 14273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetLogicalScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14276 arg2 = (double)SWIG_As_double(obj1);
15afbcd0 14277 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14278 arg3 = (double)SWIG_As_double(obj2);
15afbcd0 14279 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14280 {
14281 PyThreadState* __tstate = wxPyBeginAllowThreads();
14282 (arg1)->SetLogicalScale(arg2,arg3);
14283
14284 wxPyEndAllowThreads(__tstate);
14285 if (PyErr_Occurred()) SWIG_fail;
14286 }
14287 Py_INCREF(Py_None); resultobj = Py_None;
14288 return resultobj;
14289 fail:
14290 return NULL;
14291}
14292
14293
c32bde28 14294static PyObject *_wrap_DC_GetLogicalOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14295 PyObject *resultobj;
14296 wxDC *arg1 = (wxDC *) 0 ;
322913ce 14297 wxPoint result;
d14a1e28
RD
14298 PyObject * obj0 = 0 ;
14299 char *kwnames[] = {
14300 (char *) "self", NULL
14301 };
14302
322913ce 14303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalOrigin",kwnames,&obj0)) goto fail;
15afbcd0
RD
14304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14306 {
14307 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 14308 result = ((wxDC const *)arg1)->GetLogicalOrigin();
d14a1e28
RD
14309
14310 wxPyEndAllowThreads(__tstate);
14311 if (PyErr_Occurred()) SWIG_fail;
14312 }
d14a1e28 14313 {
322913ce
RD
14314 wxPoint * resultptr;
14315 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14316 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14317 }
14318 return resultobj;
14319 fail:
14320 return NULL;
14321}
14322
14323
c32bde28 14324static PyObject *_wrap_DC_GetLogicalOriginTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14325 PyObject *resultobj;
14326 wxDC *arg1 = (wxDC *) 0 ;
322913ce
RD
14327 int *arg2 = (int *) 0 ;
14328 int *arg3 = (int *) 0 ;
14329 int temp2 ;
c32bde28 14330 int res2 = 0 ;
322913ce 14331 int temp3 ;
c32bde28 14332 int res3 = 0 ;
d14a1e28
RD
14333 PyObject * obj0 = 0 ;
14334 char *kwnames[] = {
14335 (char *) "self", NULL
14336 };
14337
c32bde28
RD
14338 arg2 = &temp2; res2 = SWIG_NEWOBJ;
14339 arg3 = &temp3; res3 = SWIG_NEWOBJ;
322913ce 14340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalOriginTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
14341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14343 {
14344 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 14345 ((wxDC const *)arg1)->GetLogicalOrigin(arg2,arg3);
d14a1e28
RD
14346
14347 wxPyEndAllowThreads(__tstate);
14348 if (PyErr_Occurred()) SWIG_fail;
14349 }
322913ce 14350 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
14351 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
14352 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
14353 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
14354 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
14355 return resultobj;
14356 fail:
14357 return NULL;
14358}
14359
14360
c32bde28 14361static PyObject *_wrap_DC_SetLogicalOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14362 PyObject *resultobj;
14363 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
14364 int arg2 ;
14365 int arg3 ;
d14a1e28 14366 PyObject * obj0 = 0 ;
994141e6
RD
14367 PyObject * obj1 = 0 ;
14368 PyObject * obj2 = 0 ;
d14a1e28
RD
14369 char *kwnames[] = {
14370 (char *) "self",(char *) "x",(char *) "y", NULL
14371 };
14372
994141e6 14373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14376 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14377 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14378 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 14379 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14380 {
14381 PyThreadState* __tstate = wxPyBeginAllowThreads();
14382 (arg1)->SetLogicalOrigin(arg2,arg3);
14383
14384 wxPyEndAllowThreads(__tstate);
14385 if (PyErr_Occurred()) SWIG_fail;
14386 }
14387 Py_INCREF(Py_None); resultobj = Py_None;
14388 return resultobj;
14389 fail:
14390 return NULL;
14391}
14392
14393
c32bde28 14394static PyObject *_wrap_DC_SetLogicalOriginPoint(PyObject *, PyObject *args, PyObject *kwargs) {
03e37cd5
RD
14395 PyObject *resultobj;
14396 wxDC *arg1 = (wxDC *) 0 ;
14397 wxPoint *arg2 = 0 ;
14398 wxPoint temp2 ;
14399 PyObject * obj0 = 0 ;
14400 PyObject * obj1 = 0 ;
14401 char *kwnames[] = {
14402 (char *) "self",(char *) "point", NULL
14403 };
14404
14405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetLogicalOriginPoint",kwnames,&obj0,&obj1)) goto fail;
14406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14408 {
14409 arg2 = &temp2;
14410 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14411 }
14412 {
14413 PyThreadState* __tstate = wxPyBeginAllowThreads();
14414 wxDC_SetLogicalOriginPoint(arg1,(wxPoint const &)*arg2);
14415
14416 wxPyEndAllowThreads(__tstate);
14417 if (PyErr_Occurred()) SWIG_fail;
14418 }
14419 Py_INCREF(Py_None); resultobj = Py_None;
14420 return resultobj;
14421 fail:
14422 return NULL;
14423}
14424
14425
c32bde28 14426static PyObject *_wrap_DC_GetDeviceOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14427 PyObject *resultobj;
14428 wxDC *arg1 = (wxDC *) 0 ;
322913ce 14429 wxPoint result;
d14a1e28
RD
14430 PyObject * obj0 = 0 ;
14431 char *kwnames[] = {
14432 (char *) "self", NULL
14433 };
14434
322913ce 14435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetDeviceOrigin",kwnames,&obj0)) goto fail;
15afbcd0
RD
14436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14438 {
14439 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 14440 result = ((wxDC const *)arg1)->GetDeviceOrigin();
d14a1e28
RD
14441
14442 wxPyEndAllowThreads(__tstate);
14443 if (PyErr_Occurred()) SWIG_fail;
14444 }
d14a1e28 14445 {
322913ce
RD
14446 wxPoint * resultptr;
14447 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14448 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14449 }
14450 return resultobj;
14451 fail:
14452 return NULL;
14453}
14454
14455
c32bde28 14456static PyObject *_wrap_DC_GetDeviceOriginTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14457 PyObject *resultobj;
14458 wxDC *arg1 = (wxDC *) 0 ;
322913ce
RD
14459 int *arg2 = (int *) 0 ;
14460 int *arg3 = (int *) 0 ;
14461 int temp2 ;
c32bde28 14462 int res2 = 0 ;
322913ce 14463 int temp3 ;
c32bde28 14464 int res3 = 0 ;
d14a1e28
RD
14465 PyObject * obj0 = 0 ;
14466 char *kwnames[] = {
14467 (char *) "self", NULL
14468 };
14469
c32bde28
RD
14470 arg2 = &temp2; res2 = SWIG_NEWOBJ;
14471 arg3 = &temp3; res3 = SWIG_NEWOBJ;
322913ce 14472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetDeviceOriginTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
14473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14475 {
14476 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 14477 ((wxDC const *)arg1)->GetDeviceOrigin(arg2,arg3);
d14a1e28
RD
14478
14479 wxPyEndAllowThreads(__tstate);
14480 if (PyErr_Occurred()) SWIG_fail;
14481 }
322913ce 14482 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
14483 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
14484 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
14485 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
14486 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
14487 return resultobj;
14488 fail:
14489 return NULL;
14490}
14491
14492
c32bde28 14493static PyObject *_wrap_DC_SetDeviceOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14494 PyObject *resultobj;
14495 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
14496 int arg2 ;
14497 int arg3 ;
d14a1e28 14498 PyObject * obj0 = 0 ;
994141e6
RD
14499 PyObject * obj1 = 0 ;
14500 PyObject * obj2 = 0 ;
d14a1e28
RD
14501 char *kwnames[] = {
14502 (char *) "self",(char *) "x",(char *) "y", NULL
14503 };
14504
994141e6 14505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetDeviceOrigin",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14508 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14509 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14510 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 14511 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14512 {
14513 PyThreadState* __tstate = wxPyBeginAllowThreads();
14514 (arg1)->SetDeviceOrigin(arg2,arg3);
14515
14516 wxPyEndAllowThreads(__tstate);
14517 if (PyErr_Occurred()) SWIG_fail;
14518 }
14519 Py_INCREF(Py_None); resultobj = Py_None;
14520 return resultobj;
14521 fail:
14522 return NULL;
14523}
14524
14525
c32bde28 14526static PyObject *_wrap_DC_SetDeviceOriginPoint(PyObject *, PyObject *args, PyObject *kwargs) {
03e37cd5
RD
14527 PyObject *resultobj;
14528 wxDC *arg1 = (wxDC *) 0 ;
14529 wxPoint *arg2 = 0 ;
14530 wxPoint temp2 ;
14531 PyObject * obj0 = 0 ;
14532 PyObject * obj1 = 0 ;
14533 char *kwnames[] = {
14534 (char *) "self",(char *) "point", NULL
14535 };
14536
14537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetDeviceOriginPoint",kwnames,&obj0,&obj1)) goto fail;
14538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14540 {
14541 arg2 = &temp2;
14542 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14543 }
14544 {
14545 PyThreadState* __tstate = wxPyBeginAllowThreads();
14546 wxDC_SetDeviceOriginPoint(arg1,(wxPoint const &)*arg2);
14547
14548 wxPyEndAllowThreads(__tstate);
14549 if (PyErr_Occurred()) SWIG_fail;
14550 }
14551 Py_INCREF(Py_None); resultobj = Py_None;
14552 return resultobj;
14553 fail:
14554 return NULL;
14555}
14556
14557
c32bde28 14558static PyObject *_wrap_DC_SetAxisOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14559 PyObject *resultobj;
14560 wxDC *arg1 = (wxDC *) 0 ;
14561 bool arg2 ;
14562 bool arg3 ;
14563 PyObject * obj0 = 0 ;
14564 PyObject * obj1 = 0 ;
14565 PyObject * obj2 = 0 ;
14566 char *kwnames[] = {
14567 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14568 };
14569
14570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetAxisOrientation",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14573 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 14574 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14575 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 14576 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14577 {
14578 PyThreadState* __tstate = wxPyBeginAllowThreads();
14579 (arg1)->SetAxisOrientation(arg2,arg3);
14580
14581 wxPyEndAllowThreads(__tstate);
14582 if (PyErr_Occurred()) SWIG_fail;
14583 }
14584 Py_INCREF(Py_None); resultobj = Py_None;
14585 return resultobj;
14586 fail:
14587 return NULL;
14588}
14589
14590
c32bde28 14591static PyObject *_wrap_DC_GetLogicalFunction(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14592 PyObject *resultobj;
14593 wxDC *arg1 = (wxDC *) 0 ;
14594 int result;
14595 PyObject * obj0 = 0 ;
14596 char *kwnames[] = {
14597 (char *) "self", NULL
14598 };
14599
14600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalFunction",kwnames,&obj0)) goto fail;
15afbcd0
RD
14601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14603 {
14604 PyThreadState* __tstate = wxPyBeginAllowThreads();
14605 result = (int)((wxDC const *)arg1)->GetLogicalFunction();
14606
14607 wxPyEndAllowThreads(__tstate);
14608 if (PyErr_Occurred()) SWIG_fail;
14609 }
c32bde28 14610 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14611 return resultobj;
14612 fail:
14613 return NULL;
14614}
14615
14616
c32bde28 14617static PyObject *_wrap_DC_SetLogicalFunction(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14618 PyObject *resultobj;
14619 wxDC *arg1 = (wxDC *) 0 ;
14620 int arg2 ;
14621 PyObject * obj0 = 0 ;
994141e6 14622 PyObject * obj1 = 0 ;
d14a1e28
RD
14623 char *kwnames[] = {
14624 (char *) "self",(char *) "function", NULL
14625 };
14626
994141e6 14627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetLogicalFunction",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14630 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14631 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14632 {
14633 PyThreadState* __tstate = wxPyBeginAllowThreads();
14634 (arg1)->SetLogicalFunction(arg2);
14635
14636 wxPyEndAllowThreads(__tstate);
14637 if (PyErr_Occurred()) SWIG_fail;
14638 }
14639 Py_INCREF(Py_None); resultobj = Py_None;
14640 return resultobj;
14641 fail:
14642 return NULL;
14643}
14644
14645
c32bde28 14646static PyObject *_wrap_DC_SetOptimization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14647 PyObject *resultobj;
14648 wxDC *arg1 = (wxDC *) 0 ;
14649 bool arg2 ;
14650 PyObject * obj0 = 0 ;
14651 PyObject * obj1 = 0 ;
14652 char *kwnames[] = {
f5b96ee1 14653 (char *) "self",(char *) "optimize", NULL
d14a1e28
RD
14654 };
14655
14656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetOptimization",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14659 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 14660 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14661 {
14662 PyThreadState* __tstate = wxPyBeginAllowThreads();
14663 (arg1)->SetOptimization(arg2);
14664
14665 wxPyEndAllowThreads(__tstate);
14666 if (PyErr_Occurred()) SWIG_fail;
14667 }
14668 Py_INCREF(Py_None); resultobj = Py_None;
14669 return resultobj;
14670 fail:
14671 return NULL;
14672}
14673
14674
c32bde28 14675static PyObject *_wrap_DC_GetOptimization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14676 PyObject *resultobj;
14677 wxDC *arg1 = (wxDC *) 0 ;
14678 bool result;
14679 PyObject * obj0 = 0 ;
14680 char *kwnames[] = {
14681 (char *) "self", NULL
14682 };
14683
14684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetOptimization",kwnames,&obj0)) goto fail;
15afbcd0
RD
14685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14687 {
14688 PyThreadState* __tstate = wxPyBeginAllowThreads();
14689 result = (bool)(arg1)->GetOptimization();
14690
14691 wxPyEndAllowThreads(__tstate);
14692 if (PyErr_Occurred()) SWIG_fail;
14693 }
4f89f6a3
RD
14694 {
14695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14696 }
d14a1e28
RD
14697 return resultobj;
14698 fail:
14699 return NULL;
14700}
14701
14702
c32bde28 14703static PyObject *_wrap_DC_CalcBoundingBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14704 PyObject *resultobj;
14705 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
14706 int arg2 ;
14707 int arg3 ;
d14a1e28 14708 PyObject * obj0 = 0 ;
994141e6
RD
14709 PyObject * obj1 = 0 ;
14710 PyObject * obj2 = 0 ;
d14a1e28
RD
14711 char *kwnames[] = {
14712 (char *) "self",(char *) "x",(char *) "y", NULL
14713 };
14714
994141e6 14715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_CalcBoundingBox",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14718 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14719 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14720 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 14721 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14722 {
14723 PyThreadState* __tstate = wxPyBeginAllowThreads();
14724 (arg1)->CalcBoundingBox(arg2,arg3);
14725
14726 wxPyEndAllowThreads(__tstate);
14727 if (PyErr_Occurred()) SWIG_fail;
14728 }
14729 Py_INCREF(Py_None); resultobj = Py_None;
14730 return resultobj;
14731 fail:
14732 return NULL;
14733}
14734
14735
c32bde28 14736static PyObject *_wrap_DC_CalcBoundingBoxPoint(PyObject *, PyObject *args, PyObject *kwargs) {
03e37cd5
RD
14737 PyObject *resultobj;
14738 wxDC *arg1 = (wxDC *) 0 ;
14739 wxPoint *arg2 = 0 ;
14740 wxPoint temp2 ;
14741 PyObject * obj0 = 0 ;
14742 PyObject * obj1 = 0 ;
14743 char *kwnames[] = {
14744 (char *) "self",(char *) "point", NULL
14745 };
14746
14747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames,&obj0,&obj1)) goto fail;
14748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14750 {
14751 arg2 = &temp2;
14752 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14753 }
14754 {
14755 PyThreadState* __tstate = wxPyBeginAllowThreads();
14756 wxDC_CalcBoundingBoxPoint(arg1,(wxPoint const &)*arg2);
14757
14758 wxPyEndAllowThreads(__tstate);
14759 if (PyErr_Occurred()) SWIG_fail;
14760 }
14761 Py_INCREF(Py_None); resultobj = Py_None;
14762 return resultobj;
14763 fail:
14764 return NULL;
14765}
14766
14767
c32bde28 14768static PyObject *_wrap_DC_ResetBoundingBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14769 PyObject *resultobj;
14770 wxDC *arg1 = (wxDC *) 0 ;
14771 PyObject * obj0 = 0 ;
14772 char *kwnames[] = {
14773 (char *) "self", NULL
14774 };
14775
14776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_ResetBoundingBox",kwnames,&obj0)) goto fail;
15afbcd0
RD
14777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14779 {
14780 PyThreadState* __tstate = wxPyBeginAllowThreads();
14781 (arg1)->ResetBoundingBox();
14782
14783 wxPyEndAllowThreads(__tstate);
14784 if (PyErr_Occurred()) SWIG_fail;
14785 }
14786 Py_INCREF(Py_None); resultobj = Py_None;
14787 return resultobj;
14788 fail:
14789 return NULL;
14790}
14791
14792
c32bde28 14793static PyObject *_wrap_DC_MinX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14794 PyObject *resultobj;
14795 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce 14796 int result;
d14a1e28
RD
14797 PyObject * obj0 = 0 ;
14798 char *kwnames[] = {
14799 (char *) "self", NULL
14800 };
14801
14802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MinX",kwnames,&obj0)) goto fail;
15afbcd0
RD
14803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14805 {
14806 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14807 result = (int)((wxDC const *)arg1)->MinX();
d14a1e28
RD
14808
14809 wxPyEndAllowThreads(__tstate);
14810 if (PyErr_Occurred()) SWIG_fail;
14811 }
c32bde28 14812 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14813 return resultobj;
14814 fail:
14815 return NULL;
14816}
14817
14818
c32bde28 14819static PyObject *_wrap_DC_MaxX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14820 PyObject *resultobj;
14821 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce 14822 int result;
d14a1e28
RD
14823 PyObject * obj0 = 0 ;
14824 char *kwnames[] = {
14825 (char *) "self", NULL
14826 };
14827
14828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MaxX",kwnames,&obj0)) goto fail;
15afbcd0
RD
14829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14831 {
14832 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14833 result = (int)((wxDC const *)arg1)->MaxX();
d14a1e28
RD
14834
14835 wxPyEndAllowThreads(__tstate);
14836 if (PyErr_Occurred()) SWIG_fail;
14837 }
c32bde28 14838 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14839 return resultobj;
14840 fail:
14841 return NULL;
14842}
14843
14844
c32bde28 14845static PyObject *_wrap_DC_MinY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14846 PyObject *resultobj;
14847 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce 14848 int result;
d14a1e28
RD
14849 PyObject * obj0 = 0 ;
14850 char *kwnames[] = {
14851 (char *) "self", NULL
14852 };
14853
14854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MinY",kwnames,&obj0)) goto fail;
15afbcd0
RD
14855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14857 {
14858 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14859 result = (int)((wxDC const *)arg1)->MinY();
d14a1e28
RD
14860
14861 wxPyEndAllowThreads(__tstate);
14862 if (PyErr_Occurred()) SWIG_fail;
14863 }
c32bde28 14864 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14865 return resultobj;
14866 fail:
14867 return NULL;
14868}
14869
14870
c32bde28 14871static PyObject *_wrap_DC_MaxY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14872 PyObject *resultobj;
14873 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce 14874 int result;
d14a1e28
RD
14875 PyObject * obj0 = 0 ;
14876 char *kwnames[] = {
14877 (char *) "self", NULL
14878 };
14879
14880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MaxY",kwnames,&obj0)) goto fail;
15afbcd0
RD
14881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14883 {
14884 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14885 result = (int)((wxDC const *)arg1)->MaxY();
d14a1e28
RD
14886
14887 wxPyEndAllowThreads(__tstate);
14888 if (PyErr_Occurred()) SWIG_fail;
14889 }
c32bde28 14890 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14891 return resultobj;
14892 fail:
14893 return NULL;
14894}
14895
14896
c32bde28 14897static PyObject *_wrap_DC_GetBoundingBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14898 PyObject *resultobj;
14899 wxDC *arg1 = (wxDC *) 0 ;
14900 int *arg2 = (int *) 0 ;
14901 int *arg3 = (int *) 0 ;
14902 int *arg4 = (int *) 0 ;
14903 int *arg5 = (int *) 0 ;
14904 int temp2 ;
c32bde28 14905 int res2 = 0 ;
d14a1e28 14906 int temp3 ;
c32bde28 14907 int res3 = 0 ;
d14a1e28 14908 int temp4 ;
c32bde28 14909 int res4 = 0 ;
d14a1e28 14910 int temp5 ;
c32bde28 14911 int res5 = 0 ;
d14a1e28
RD
14912 PyObject * obj0 = 0 ;
14913 char *kwnames[] = {
14914 (char *) "self", NULL
14915 };
14916
c32bde28
RD
14917 arg2 = &temp2; res2 = SWIG_NEWOBJ;
14918 arg3 = &temp3; res3 = SWIG_NEWOBJ;
14919 arg4 = &temp4; res4 = SWIG_NEWOBJ;
14920 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d14a1e28 14921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBoundingBox",kwnames,&obj0)) goto fail;
15afbcd0
RD
14922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14924 {
14925 PyThreadState* __tstate = wxPyBeginAllowThreads();
14926 wxDC_GetBoundingBox(arg1,arg2,arg3,arg4,arg5);
14927
14928 wxPyEndAllowThreads(__tstate);
14929 if (PyErr_Occurred()) SWIG_fail;
14930 }
14931 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
14932 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
14933 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
14934 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
14935 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
14936 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
14937 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
14938 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
14939 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
14940 return resultobj;
14941 fail:
14942 return NULL;
14943}
14944
14945
c32bde28 14946static PyObject *_wrap_DC__DrawPointList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14947 PyObject *resultobj;
14948 wxDC *arg1 = (wxDC *) 0 ;
14949 PyObject *arg2 = (PyObject *) 0 ;
14950 PyObject *arg3 = (PyObject *) 0 ;
14951 PyObject *arg4 = (PyObject *) 0 ;
14952 PyObject *result;
14953 PyObject * obj0 = 0 ;
14954 PyObject * obj1 = 0 ;
14955 PyObject * obj2 = 0 ;
14956 PyObject * obj3 = 0 ;
14957 char *kwnames[] = {
14958 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14959 };
14960
14961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawPointList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
14962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14964 arg2 = obj1;
14965 arg3 = obj2;
14966 arg4 = obj3;
14967 {
14968 PyThreadState* __tstate = wxPyBeginAllowThreads();
14969 result = (PyObject *)wxDC__DrawPointList(arg1,arg2,arg3,arg4);
14970
14971 wxPyEndAllowThreads(__tstate);
14972 if (PyErr_Occurred()) SWIG_fail;
14973 }
14974 resultobj = result;
14975 return resultobj;
14976 fail:
14977 return NULL;
14978}
14979
14980
c32bde28 14981static PyObject *_wrap_DC__DrawLineList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14982 PyObject *resultobj;
14983 wxDC *arg1 = (wxDC *) 0 ;
14984 PyObject *arg2 = (PyObject *) 0 ;
14985 PyObject *arg3 = (PyObject *) 0 ;
14986 PyObject *arg4 = (PyObject *) 0 ;
14987 PyObject *result;
14988 PyObject * obj0 = 0 ;
14989 PyObject * obj1 = 0 ;
14990 PyObject * obj2 = 0 ;
14991 PyObject * obj3 = 0 ;
14992 char *kwnames[] = {
14993 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14994 };
14995
14996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawLineList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
14997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14999 arg2 = obj1;
15000 arg3 = obj2;
15001 arg4 = obj3;
15002 {
15003 PyThreadState* __tstate = wxPyBeginAllowThreads();
15004 result = (PyObject *)wxDC__DrawLineList(arg1,arg2,arg3,arg4);
15005
15006 wxPyEndAllowThreads(__tstate);
15007 if (PyErr_Occurred()) SWIG_fail;
15008 }
15009 resultobj = result;
15010 return resultobj;
15011 fail:
15012 return NULL;
15013}
15014
15015
c32bde28 15016static PyObject *_wrap_DC__DrawRectangleList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15017 PyObject *resultobj;
15018 wxDC *arg1 = (wxDC *) 0 ;
15019 PyObject *arg2 = (PyObject *) 0 ;
15020 PyObject *arg3 = (PyObject *) 0 ;
15021 PyObject *arg4 = (PyObject *) 0 ;
15022 PyObject *result;
15023 PyObject * obj0 = 0 ;
15024 PyObject * obj1 = 0 ;
15025 PyObject * obj2 = 0 ;
15026 PyObject * obj3 = 0 ;
15027 char *kwnames[] = {
15028 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15029 };
15030
15031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawRectangleList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
15032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15034 arg2 = obj1;
15035 arg3 = obj2;
15036 arg4 = obj3;
15037 {
15038 PyThreadState* __tstate = wxPyBeginAllowThreads();
15039 result = (PyObject *)wxDC__DrawRectangleList(arg1,arg2,arg3,arg4);
15040
15041 wxPyEndAllowThreads(__tstate);
15042 if (PyErr_Occurred()) SWIG_fail;
15043 }
15044 resultobj = result;
15045 return resultobj;
15046 fail:
15047 return NULL;
15048}
15049
15050
c32bde28 15051static PyObject *_wrap_DC__DrawEllipseList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15052 PyObject *resultobj;
15053 wxDC *arg1 = (wxDC *) 0 ;
15054 PyObject *arg2 = (PyObject *) 0 ;
15055 PyObject *arg3 = (PyObject *) 0 ;
15056 PyObject *arg4 = (PyObject *) 0 ;
15057 PyObject *result;
15058 PyObject * obj0 = 0 ;
15059 PyObject * obj1 = 0 ;
15060 PyObject * obj2 = 0 ;
15061 PyObject * obj3 = 0 ;
15062 char *kwnames[] = {
15063 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15064 };
15065
15066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawEllipseList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
15067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15069 arg2 = obj1;
15070 arg3 = obj2;
15071 arg4 = obj3;
15072 {
15073 PyThreadState* __tstate = wxPyBeginAllowThreads();
15074 result = (PyObject *)wxDC__DrawEllipseList(arg1,arg2,arg3,arg4);
15075
15076 wxPyEndAllowThreads(__tstate);
15077 if (PyErr_Occurred()) SWIG_fail;
15078 }
15079 resultobj = result;
15080 return resultobj;
15081 fail:
15082 return NULL;
15083}
15084
15085
c32bde28 15086static PyObject *_wrap_DC__DrawPolygonList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15087 PyObject *resultobj;
15088 wxDC *arg1 = (wxDC *) 0 ;
15089 PyObject *arg2 = (PyObject *) 0 ;
15090 PyObject *arg3 = (PyObject *) 0 ;
15091 PyObject *arg4 = (PyObject *) 0 ;
15092 PyObject *result;
15093 PyObject * obj0 = 0 ;
15094 PyObject * obj1 = 0 ;
15095 PyObject * obj2 = 0 ;
15096 PyObject * obj3 = 0 ;
15097 char *kwnames[] = {
15098 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15099 };
15100
15101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawPolygonList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
15102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15104 arg2 = obj1;
15105 arg3 = obj2;
15106 arg4 = obj3;
15107 {
15108 PyThreadState* __tstate = wxPyBeginAllowThreads();
15109 result = (PyObject *)wxDC__DrawPolygonList(arg1,arg2,arg3,arg4);
15110
15111 wxPyEndAllowThreads(__tstate);
15112 if (PyErr_Occurred()) SWIG_fail;
15113 }
15114 resultobj = result;
15115 return resultobj;
15116 fail:
15117 return NULL;
15118}
15119
15120
c32bde28 15121static PyObject *_wrap_DC__DrawTextList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15122 PyObject *resultobj;
15123 wxDC *arg1 = (wxDC *) 0 ;
15124 PyObject *arg2 = (PyObject *) 0 ;
15125 PyObject *arg3 = (PyObject *) 0 ;
15126 PyObject *arg4 = (PyObject *) 0 ;
15127 PyObject *arg5 = (PyObject *) 0 ;
15128 PyObject *result;
15129 PyObject * obj0 = 0 ;
15130 PyObject * obj1 = 0 ;
15131 PyObject * obj2 = 0 ;
15132 PyObject * obj3 = 0 ;
15133 PyObject * obj4 = 0 ;
15134 char *kwnames[] = {
15135 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15136 };
15137
15138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC__DrawTextList",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
15139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15141 arg2 = obj1;
15142 arg3 = obj2;
15143 arg4 = obj3;
15144 arg5 = obj4;
15145 {
15146 PyThreadState* __tstate = wxPyBeginAllowThreads();
15147 result = (PyObject *)wxDC__DrawTextList(arg1,arg2,arg3,arg4,arg5);
15148
15149 wxPyEndAllowThreads(__tstate);
15150 if (PyErr_Occurred()) SWIG_fail;
15151 }
15152 resultobj = result;
15153 return resultobj;
15154 fail:
15155 return NULL;
15156}
15157
15158
c32bde28 15159static PyObject * DC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15160 PyObject *obj;
15161 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15162 SWIG_TypeClientData(SWIGTYPE_p_wxDC, obj);
15163 Py_INCREF(obj);
15164 return Py_BuildValue((char *)"");
15165}
c32bde28 15166static PyObject *_wrap_new_MemoryDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15167 PyObject *resultobj;
15168 wxMemoryDC *result;
15169 char *kwnames[] = {
15170 NULL
15171 };
15172
15173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryDC",kwnames)) goto fail;
15174 {
e3b71cb8 15175 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15176 PyThreadState* __tstate = wxPyBeginAllowThreads();
15177 result = (wxMemoryDC *)new wxMemoryDC();
15178
15179 wxPyEndAllowThreads(__tstate);
110da5b0 15180 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15181 }
15afbcd0 15182 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryDC, 1);
d14a1e28
RD
15183 return resultobj;
15184 fail:
15185 return NULL;
15186}
15187
15188
c32bde28 15189static PyObject *_wrap_new_MemoryDCFromDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15190 PyObject *resultobj;
15191 wxDC *arg1 = (wxDC *) 0 ;
15192 wxMemoryDC *result;
15193 PyObject * obj0 = 0 ;
15194 char *kwnames[] = {
15195 (char *) "oldDC", NULL
15196 };
15197
15198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_MemoryDCFromDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
15199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15201 {
e3b71cb8 15202 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15203 PyThreadState* __tstate = wxPyBeginAllowThreads();
15204 result = (wxMemoryDC *)new wxMemoryDC(arg1);
15205
15206 wxPyEndAllowThreads(__tstate);
110da5b0 15207 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15208 }
15afbcd0 15209 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryDC, 1);
d14a1e28
RD
15210 return resultobj;
15211 fail:
15212 return NULL;
15213}
15214
15215
c32bde28 15216static PyObject *_wrap_MemoryDC_SelectObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15217 PyObject *resultobj;
15218 wxMemoryDC *arg1 = (wxMemoryDC *) 0 ;
15219 wxBitmap *arg2 = 0 ;
15220 PyObject * obj0 = 0 ;
15221 PyObject * obj1 = 0 ;
15222 char *kwnames[] = {
15223 (char *) "self",(char *) "bitmap", NULL
15224 };
15225
15226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryDC_SelectObject",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryDC,
15228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15229 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15230 SWIG_POINTER_EXCEPTION | 0)) == -1)
15231 SWIG_fail;
d14a1e28 15232 if (arg2 == NULL) {
15afbcd0
RD
15233 PyErr_SetString(PyExc_TypeError,"null reference");
15234 SWIG_fail;
d14a1e28
RD
15235 }
15236 {
15237 PyThreadState* __tstate = wxPyBeginAllowThreads();
15238 (arg1)->SelectObject((wxBitmap const &)*arg2);
15239
15240 wxPyEndAllowThreads(__tstate);
15241 if (PyErr_Occurred()) SWIG_fail;
15242 }
15243 Py_INCREF(Py_None); resultobj = Py_None;
15244 return resultobj;
15245 fail:
15246 return NULL;
15247}
15248
15249
c32bde28 15250static PyObject * MemoryDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15251 PyObject *obj;
15252 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15253 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC, obj);
15254 Py_INCREF(obj);
15255 return Py_BuildValue((char *)"");
15256}
c32bde28 15257static PyObject *_wrap_new_BufferedDC__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
15258 PyObject *resultobj;
15259 wxDC *arg1 = (wxDC *) 0 ;
15260 wxBitmap *arg2 = 0 ;
15261 wxBufferedDC *result;
15262 PyObject * obj0 = 0 ;
15263 PyObject * obj1 = 0 ;
d14a1e28 15264
3adfb63b 15265 if(!PyArg_ParseTuple(args,(char *)"OO:new_BufferedDC",&obj0,&obj1)) goto fail;
15afbcd0
RD
15266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15268 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15269 SWIG_POINTER_EXCEPTION | 0)) == -1)
15270 SWIG_fail;
d14a1e28 15271 if (arg2 == NULL) {
15afbcd0
RD
15272 PyErr_SetString(PyExc_TypeError,"null reference");
15273 SWIG_fail;
d14a1e28
RD
15274 }
15275 {
e3b71cb8 15276 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15277 PyThreadState* __tstate = wxPyBeginAllowThreads();
15278 result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxBitmap const &)*arg2);
15279
15280 wxPyEndAllowThreads(__tstate);
110da5b0 15281 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15282 }
15afbcd0 15283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedDC, 1);
d14a1e28
RD
15284 return resultobj;
15285 fail:
15286 return NULL;
15287}
15288
15289
c32bde28 15290static PyObject *_wrap_new_BufferedDC__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
15291 PyObject *resultobj;
15292 wxDC *arg1 = (wxDC *) 0 ;
15293 wxSize *arg2 = 0 ;
15294 wxBufferedDC *result;
15295 wxSize temp2 ;
15296 PyObject * obj0 = 0 ;
15297 PyObject * obj1 = 0 ;
3adfb63b 15298
e498079e 15299 if(!PyArg_ParseTuple(args,(char *)"OO:new_BufferedDC",&obj0,&obj1)) goto fail;
15afbcd0
RD
15300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3adfb63b
RD
15302 {
15303 arg2 = &temp2;
15304 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15305 }
3adfb63b 15306 {
e3b71cb8 15307 if (!wxPyCheckForApp()) SWIG_fail;
3adfb63b 15308 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 15309 result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxSize const &)*arg2);
3adfb63b
RD
15310
15311 wxPyEndAllowThreads(__tstate);
110da5b0 15312 if (PyErr_Occurred()) SWIG_fail;
3adfb63b 15313 }
15afbcd0 15314 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedDC, 1);
3adfb63b
RD
15315 return resultobj;
15316 fail:
15317 return NULL;
15318}
15319
15320
15321static PyObject *_wrap_new_BufferedDC(PyObject *self, PyObject *args) {
15322 int argc;
e498079e 15323 PyObject *argv[3];
3adfb63b
RD
15324 int ii;
15325
15326 argc = PyObject_Length(args);
e498079e 15327 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
3adfb63b
RD
15328 argv[ii] = PyTuple_GetItem(args,ii);
15329 }
15330 if (argc == 2) {
15331 int _v;
15332 {
15333 void *ptr;
15afbcd0 15334 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDC, 0) == -1) {
3adfb63b
RD
15335 _v = 0;
15336 PyErr_Clear();
15337 } else {
15338 _v = 1;
15339 }
15340 }
15341 if (_v) {
15342 {
15343 void *ptr;
15afbcd0 15344 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxBitmap, 0) == -1) {
3adfb63b
RD
15345 _v = 0;
15346 PyErr_Clear();
15347 } else {
15348 _v = 1;
15349 }
15350 }
15351 if (_v) {
15352 return _wrap_new_BufferedDC__SWIG_0(self,args);
15353 }
15354 }
15355 }
e498079e 15356 if (argc == 2) {
3adfb63b
RD
15357 int _v;
15358 {
15359 void *ptr;
15afbcd0 15360 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDC, 0) == -1) {
3adfb63b
RD
15361 _v = 0;
15362 PyErr_Clear();
15363 } else {
15364 _v = 1;
15365 }
15366 }
15367 if (_v) {
15368 {
15369 _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2);
15370 }
15371 if (_v) {
e498079e 15372 return _wrap_new_BufferedDC__SWIG_1(self,args);
3adfb63b
RD
15373 }
15374 }
15375 }
15376
15377 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BufferedDC'");
15378 return NULL;
15379}
15380
15381
c32bde28 15382static PyObject *_wrap_delete_BufferedDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15383 PyObject *resultobj;
15384 wxBufferedDC *arg1 = (wxBufferedDC *) 0 ;
15385 PyObject * obj0 = 0 ;
15386 char *kwnames[] = {
15387 (char *) "self", NULL
15388 };
15389
e498079e 15390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BufferedDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
15391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBufferedDC,
15392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15393 {
15394 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 15395 delete arg1;
d14a1e28
RD
15396
15397 wxPyEndAllowThreads(__tstate);
15398 if (PyErr_Occurred()) SWIG_fail;
15399 }
15400 Py_INCREF(Py_None); resultobj = Py_None;
15401 return resultobj;
15402 fail:
15403 return NULL;
15404}
15405
15406
c32bde28 15407static PyObject *_wrap_BufferedDC_UnMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 15408 PyObject *resultobj;
e498079e 15409 wxBufferedDC *arg1 = (wxBufferedDC *) 0 ;
3adfb63b 15410 PyObject * obj0 = 0 ;
e498079e
RD
15411 char *kwnames[] = {
15412 (char *) "self", NULL
15413 };
3adfb63b 15414
e498079e 15415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BufferedDC_UnMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
15416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBufferedDC,
15417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3adfb63b
RD
15418 {
15419 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 15420 (arg1)->UnMask();
3adfb63b
RD
15421
15422 wxPyEndAllowThreads(__tstate);
15423 if (PyErr_Occurred()) SWIG_fail;
15424 }
e498079e 15425 Py_INCREF(Py_None); resultobj = Py_None;
3adfb63b
RD
15426 return resultobj;
15427 fail:
15428 return NULL;
15429}
15430
15431
c32bde28 15432static PyObject * BufferedDC_swigregister(PyObject *, PyObject *args) {
e498079e
RD
15433 PyObject *obj;
15434 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15435 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC, obj);
15436 Py_INCREF(obj);
15437 return Py_BuildValue((char *)"");
15438}
c32bde28 15439static PyObject *_wrap_new_BufferedPaintDC(PyObject *, PyObject *args, PyObject *kwargs) {
3adfb63b
RD
15440 PyObject *resultobj;
15441 wxWindow *arg1 = (wxWindow *) 0 ;
e498079e
RD
15442 wxBitmap const &arg2_defvalue = wxNullBitmap ;
15443 wxBitmap *arg2 = (wxBitmap *) &arg2_defvalue ;
d14a1e28
RD
15444 wxBufferedPaintDC *result;
15445 PyObject * obj0 = 0 ;
15446 PyObject * obj1 = 0 ;
e498079e
RD
15447 char *kwnames[] = {
15448 (char *) "window",(char *) "buffer", NULL
15449 };
d14a1e28 15450
e498079e 15451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_BufferedPaintDC",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15454 if (obj1) {
15afbcd0
RD
15455 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15456 SWIG_POINTER_EXCEPTION | 0)) == -1)
15457 SWIG_fail;
e498079e 15458 if (arg2 == NULL) {
15afbcd0
RD
15459 PyErr_SetString(PyExc_TypeError,"null reference");
15460 SWIG_fail;
d14a1e28
RD
15461 }
15462 }
15463 {
e3b71cb8 15464 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 15465 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 15466 result = (wxBufferedPaintDC *)new wxBufferedPaintDC(arg1,(wxBitmap const &)*arg2);
d14a1e28
RD
15467
15468 wxPyEndAllowThreads(__tstate);
110da5b0 15469 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15470 }
15afbcd0 15471 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedPaintDC, 1);
d14a1e28
RD
15472 return resultobj;
15473 fail:
15474 return NULL;
15475}
15476
15477
c32bde28 15478static PyObject * BufferedPaintDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15479 PyObject *obj;
15480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15481 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC, obj);
15482 Py_INCREF(obj);
15483 return Py_BuildValue((char *)"");
15484}
c32bde28 15485static PyObject *_wrap_new_ScreenDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15486 PyObject *resultobj;
15487 wxScreenDC *result;
15488 char *kwnames[] = {
15489 NULL
15490 };
15491
15492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ScreenDC",kwnames)) goto fail;
15493 {
e3b71cb8 15494 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15495 PyThreadState* __tstate = wxPyBeginAllowThreads();
15496 result = (wxScreenDC *)new wxScreenDC();
15497
15498 wxPyEndAllowThreads(__tstate);
110da5b0 15499 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15500 }
15afbcd0 15501 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScreenDC, 1);
d14a1e28
RD
15502 return resultobj;
15503 fail:
15504 return NULL;
15505}
15506
15507
c32bde28 15508static PyObject *_wrap_ScreenDC_StartDrawingOnTopWin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15509 PyObject *resultobj;
15510 wxScreenDC *arg1 = (wxScreenDC *) 0 ;
15511 wxWindow *arg2 = (wxWindow *) 0 ;
15512 bool result;
15513 PyObject * obj0 = 0 ;
15514 PyObject * obj1 = 0 ;
15515 char *kwnames[] = {
15516 (char *) "self",(char *) "window", NULL
15517 };
15518
15519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScreenDC,
15521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15522 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15524 {
15525 PyThreadState* __tstate = wxPyBeginAllowThreads();
15526 result = (bool)(arg1)->StartDrawingOnTop(arg2);
15527
15528 wxPyEndAllowThreads(__tstate);
15529 if (PyErr_Occurred()) SWIG_fail;
15530 }
4f89f6a3
RD
15531 {
15532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15533 }
d14a1e28
RD
15534 return resultobj;
15535 fail:
15536 return NULL;
15537}
15538
15539
c32bde28 15540static PyObject *_wrap_ScreenDC_StartDrawingOnTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15541 PyObject *resultobj;
15542 wxScreenDC *arg1 = (wxScreenDC *) 0 ;
15543 wxRect *arg2 = (wxRect *) NULL ;
15544 bool result;
15545 PyObject * obj0 = 0 ;
15546 PyObject * obj1 = 0 ;
15547 char *kwnames[] = {
15548 (char *) "self",(char *) "rect", NULL
15549 };
15550
15551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScreenDC,
15553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15554 if (obj1) {
15afbcd0
RD
15555 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
15556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15557 }
15558 {
15559 PyThreadState* __tstate = wxPyBeginAllowThreads();
15560 result = (bool)(arg1)->StartDrawingOnTop(arg2);
15561
15562 wxPyEndAllowThreads(__tstate);
15563 if (PyErr_Occurred()) SWIG_fail;
15564 }
4f89f6a3
RD
15565 {
15566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15567 }
d14a1e28
RD
15568 return resultobj;
15569 fail:
15570 return NULL;
15571}
15572
15573
c32bde28 15574static PyObject *_wrap_ScreenDC_EndDrawingOnTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15575 PyObject *resultobj;
15576 wxScreenDC *arg1 = (wxScreenDC *) 0 ;
15577 bool result;
15578 PyObject * obj0 = 0 ;
15579 char *kwnames[] = {
15580 (char *) "self", NULL
15581 };
15582
15583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames,&obj0)) goto fail;
15afbcd0
RD
15584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScreenDC,
15585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15586 {
15587 PyThreadState* __tstate = wxPyBeginAllowThreads();
15588 result = (bool)(arg1)->EndDrawingOnTop();
15589
15590 wxPyEndAllowThreads(__tstate);
15591 if (PyErr_Occurred()) SWIG_fail;
15592 }
4f89f6a3
RD
15593 {
15594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15595 }
d14a1e28
RD
15596 return resultobj;
15597 fail:
15598 return NULL;
15599}
15600
15601
c32bde28 15602static PyObject * ScreenDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15603 PyObject *obj;
15604 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15605 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC, obj);
15606 Py_INCREF(obj);
15607 return Py_BuildValue((char *)"");
15608}
c32bde28 15609static PyObject *_wrap_new_ClientDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15610 PyObject *resultobj;
15611 wxWindow *arg1 = (wxWindow *) 0 ;
15612 wxClientDC *result;
15613 PyObject * obj0 = 0 ;
15614 char *kwnames[] = {
15615 (char *) "win", NULL
15616 };
15617
15618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ClientDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
15619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15621 {
e3b71cb8 15622 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15623 PyThreadState* __tstate = wxPyBeginAllowThreads();
15624 result = (wxClientDC *)new wxClientDC(arg1);
15625
15626 wxPyEndAllowThreads(__tstate);
110da5b0 15627 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15628 }
15afbcd0 15629 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClientDC, 1);
d14a1e28
RD
15630 return resultobj;
15631 fail:
15632 return NULL;
15633}
15634
15635
c32bde28 15636static PyObject * ClientDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15637 PyObject *obj;
15638 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15639 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC, obj);
15640 Py_INCREF(obj);
15641 return Py_BuildValue((char *)"");
15642}
c32bde28 15643static PyObject *_wrap_new_PaintDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15644 PyObject *resultobj;
15645 wxWindow *arg1 = (wxWindow *) 0 ;
15646 wxPaintDC *result;
15647 PyObject * obj0 = 0 ;
15648 char *kwnames[] = {
15649 (char *) "win", NULL
15650 };
15651
15652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PaintDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
15653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15655 {
e3b71cb8 15656 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15657 PyThreadState* __tstate = wxPyBeginAllowThreads();
15658 result = (wxPaintDC *)new wxPaintDC(arg1);
15659
15660 wxPyEndAllowThreads(__tstate);
110da5b0 15661 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15662 }
15afbcd0 15663 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintDC, 1);
d14a1e28
RD
15664 return resultobj;
15665 fail:
15666 return NULL;
15667}
15668
15669
c32bde28 15670static PyObject * PaintDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15671 PyObject *obj;
15672 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15673 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC, obj);
15674 Py_INCREF(obj);
15675 return Py_BuildValue((char *)"");
15676}
c32bde28 15677static PyObject *_wrap_new_WindowDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15678 PyObject *resultobj;
15679 wxWindow *arg1 = (wxWindow *) 0 ;
15680 wxWindowDC *result;
15681 PyObject * obj0 = 0 ;
15682 char *kwnames[] = {
15683 (char *) "win", NULL
15684 };
15685
15686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_WindowDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
15687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15689 {
e3b71cb8 15690 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15691 PyThreadState* __tstate = wxPyBeginAllowThreads();
15692 result = (wxWindowDC *)new wxWindowDC(arg1);
15693
15694 wxPyEndAllowThreads(__tstate);
110da5b0 15695 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15696 }
15afbcd0 15697 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDC, 1);
d14a1e28
RD
15698 return resultobj;
15699 fail:
15700 return NULL;
15701}
15702
15703
c32bde28 15704static PyObject * WindowDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15705 PyObject *obj;
15706 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15707 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC, obj);
15708 Py_INCREF(obj);
15709 return Py_BuildValue((char *)"");
15710}
c32bde28 15711static PyObject *_wrap_new_MirrorDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15712 PyObject *resultobj;
15713 wxDC *arg1 = 0 ;
15714 bool arg2 ;
15715 wxMirrorDC *result;
15716 PyObject * obj0 = 0 ;
15717 PyObject * obj1 = 0 ;
15718 char *kwnames[] = {
15719 (char *) "dc",(char *) "mirror", NULL
15720 };
15721
15722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_MirrorDC",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15724 SWIG_POINTER_EXCEPTION | 0)) == -1)
15725 SWIG_fail;
d14a1e28 15726 if (arg1 == NULL) {
15afbcd0
RD
15727 PyErr_SetString(PyExc_TypeError,"null reference");
15728 SWIG_fail;
a41e16b6 15729 }
c32bde28 15730 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 15731 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15732 {
e3b71cb8 15733 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15734 PyThreadState* __tstate = wxPyBeginAllowThreads();
15735 result = (wxMirrorDC *)new wxMirrorDC(*arg1,arg2);
15736
15737 wxPyEndAllowThreads(__tstate);
110da5b0 15738 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15739 }
15afbcd0 15740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMirrorDC, 1);
d14a1e28
RD
15741 return resultobj;
15742 fail:
15743 return NULL;
15744}
15745
15746
c32bde28 15747static PyObject * MirrorDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15748 PyObject *obj;
15749 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15750 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC, obj);
15751 Py_INCREF(obj);
15752 return Py_BuildValue((char *)"");
15753}
c32bde28 15754static PyObject *_wrap_new_PostScriptDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15755 PyObject *resultobj;
15756 wxPrintData *arg1 = 0 ;
15757 wxPostScriptDC *result;
15758 PyObject * obj0 = 0 ;
15759 char *kwnames[] = {
15760 (char *) "printData", NULL
15761 };
15762
15763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PostScriptDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
15764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
15765 SWIG_POINTER_EXCEPTION | 0)) == -1)
15766 SWIG_fail;
d14a1e28 15767 if (arg1 == NULL) {
15afbcd0
RD
15768 PyErr_SetString(PyExc_TypeError,"null reference");
15769 SWIG_fail;
d14a1e28
RD
15770 }
15771 {
e3b71cb8 15772 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15773 PyThreadState* __tstate = wxPyBeginAllowThreads();
15774 result = (wxPostScriptDC *)new wxPostScriptDC((wxPrintData const &)*arg1);
15775
15776 wxPyEndAllowThreads(__tstate);
110da5b0 15777 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15778 }
15afbcd0 15779 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPostScriptDC, 1);
d14a1e28
RD
15780 return resultobj;
15781 fail:
15782 return NULL;
15783}
15784
15785
c32bde28 15786static PyObject *_wrap_PostScriptDC_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15787 PyObject *resultobj;
15788 wxPostScriptDC *arg1 = (wxPostScriptDC *) 0 ;
15789 wxPrintData *result;
15790 PyObject * obj0 = 0 ;
15791 char *kwnames[] = {
15792 (char *) "self", NULL
15793 };
15794
15795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PostScriptDC_GetPrintData",kwnames,&obj0)) goto fail;
15afbcd0
RD
15796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPostScriptDC,
15797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15798 {
15799 PyThreadState* __tstate = wxPyBeginAllowThreads();
15800 {
15801 wxPrintData &_result_ref = (arg1)->GetPrintData();
15802 result = (wxPrintData *) &_result_ref;
15803 }
15804
15805 wxPyEndAllowThreads(__tstate);
15806 if (PyErr_Occurred()) SWIG_fail;
15807 }
15afbcd0 15808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
15809 return resultobj;
15810 fail:
15811 return NULL;
15812}
15813
15814
c32bde28 15815static PyObject *_wrap_PostScriptDC_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15816 PyObject *resultobj;
15817 wxPostScriptDC *arg1 = (wxPostScriptDC *) 0 ;
15818 wxPrintData *arg2 = 0 ;
15819 PyObject * obj0 = 0 ;
15820 PyObject * obj1 = 0 ;
15821 char *kwnames[] = {
15822 (char *) "self",(char *) "data", NULL
15823 };
15824
15825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostScriptDC_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPostScriptDC,
15827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15828 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
15829 SWIG_POINTER_EXCEPTION | 0)) == -1)
15830 SWIG_fail;
d14a1e28 15831 if (arg2 == NULL) {
15afbcd0
RD
15832 PyErr_SetString(PyExc_TypeError,"null reference");
15833 SWIG_fail;
d14a1e28
RD
15834 }
15835 {
15836 PyThreadState* __tstate = wxPyBeginAllowThreads();
15837 (arg1)->SetPrintData((wxPrintData const &)*arg2);
15838
15839 wxPyEndAllowThreads(__tstate);
15840 if (PyErr_Occurred()) SWIG_fail;
15841 }
15842 Py_INCREF(Py_None); resultobj = Py_None;
15843 return resultobj;
15844 fail:
15845 return NULL;
15846}
15847
15848
c32bde28 15849static PyObject *_wrap_PostScriptDC_SetResolution(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15850 PyObject *resultobj;
15851 int arg1 ;
994141e6 15852 PyObject * obj0 = 0 ;
d14a1e28
RD
15853 char *kwnames[] = {
15854 (char *) "ppi", NULL
15855 };
15856
994141e6 15857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PostScriptDC_SetResolution",kwnames,&obj0)) goto fail;
c32bde28 15858 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 15859 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15860 {
15861 PyThreadState* __tstate = wxPyBeginAllowThreads();
15862 wxPostScriptDC::SetResolution(arg1);
15863
15864 wxPyEndAllowThreads(__tstate);
15865 if (PyErr_Occurred()) SWIG_fail;
15866 }
15867 Py_INCREF(Py_None); resultobj = Py_None;
15868 return resultobj;
15869 fail:
15870 return NULL;
15871}
15872
15873
c32bde28 15874static PyObject *_wrap_PostScriptDC_GetResolution(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15875 PyObject *resultobj;
15876 int result;
15877 char *kwnames[] = {
15878 NULL
15879 };
15880
15881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PostScriptDC_GetResolution",kwnames)) goto fail;
15882 {
15883 PyThreadState* __tstate = wxPyBeginAllowThreads();
15884 result = (int)wxPostScriptDC::GetResolution();
15885
15886 wxPyEndAllowThreads(__tstate);
15887 if (PyErr_Occurred()) SWIG_fail;
15888 }
c32bde28 15889 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15890 return resultobj;
15891 fail:
15892 return NULL;
15893}
15894
15895
c32bde28 15896static PyObject * PostScriptDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15897 PyObject *obj;
15898 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15899 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC, obj);
15900 Py_INCREF(obj);
15901 return Py_BuildValue((char *)"");
15902}
c32bde28 15903static PyObject *_wrap_new_MetaFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15904 PyObject *resultobj;
15905 wxString const &arg1_defvalue = wxPyEmptyString ;
15906 wxString *arg1 = (wxString *) &arg1_defvalue ;
15907 wxMetaFile *result;
e811c8ce 15908 bool temp1 = False ;
d14a1e28
RD
15909 PyObject * obj0 = 0 ;
15910 char *kwnames[] = {
15911 (char *) "filename", NULL
15912 };
15913
15914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MetaFile",kwnames,&obj0)) goto fail;
15915 if (obj0) {
15916 {
15917 arg1 = wxString_in_helper(obj0);
15918 if (arg1 == NULL) SWIG_fail;
e811c8ce 15919 temp1 = True;
d14a1e28
RD
15920 }
15921 }
15922 {
e3b71cb8 15923 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15924 PyThreadState* __tstate = wxPyBeginAllowThreads();
15925 result = (wxMetaFile *)new wxMetaFile((wxString const &)*arg1);
15926
15927 wxPyEndAllowThreads(__tstate);
110da5b0 15928 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15929 }
15afbcd0 15930 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetaFile, 1);
d14a1e28
RD
15931 {
15932 if (temp1)
15933 delete arg1;
15934 }
15935 return resultobj;
15936 fail:
15937 {
15938 if (temp1)
15939 delete arg1;
15940 }
15941 return NULL;
15942}
15943
15944
c32bde28 15945static PyObject * MetaFile_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15946 PyObject *obj;
15947 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15948 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile, obj);
15949 Py_INCREF(obj);
15950 return Py_BuildValue((char *)"");
15951}
c32bde28 15952static PyObject *_wrap_new_MetaFileDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15953 PyObject *resultobj;
15954 wxString const &arg1_defvalue = wxPyEmptyString ;
15955 wxString *arg1 = (wxString *) &arg1_defvalue ;
15956 int arg2 = (int) 0 ;
15957 int arg3 = (int) 0 ;
15958 wxString const &arg4_defvalue = wxPyEmptyString ;
15959 wxString *arg4 = (wxString *) &arg4_defvalue ;
15960 wxMetaFileDC *result;
e811c8ce
RD
15961 bool temp1 = False ;
15962 bool temp4 = False ;
d14a1e28 15963 PyObject * obj0 = 0 ;
994141e6
RD
15964 PyObject * obj1 = 0 ;
15965 PyObject * obj2 = 0 ;
d14a1e28
RD
15966 PyObject * obj3 = 0 ;
15967 char *kwnames[] = {
15968 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15969 };
15970
994141e6 15971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_MetaFileDC",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
15972 if (obj0) {
15973 {
15974 arg1 = wxString_in_helper(obj0);
15975 if (arg1 == NULL) SWIG_fail;
e811c8ce 15976 temp1 = True;
d14a1e28
RD
15977 }
15978 }
994141e6 15979 if (obj1) {
c32bde28 15980 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15981 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15982 }
15983 if (obj2) {
c32bde28 15984 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 15985 if (PyErr_Occurred()) SWIG_fail;
994141e6 15986 }
d14a1e28
RD
15987 if (obj3) {
15988 {
15989 arg4 = wxString_in_helper(obj3);
15990 if (arg4 == NULL) SWIG_fail;
e811c8ce 15991 temp4 = True;
d14a1e28
RD
15992 }
15993 }
15994 {
e3b71cb8 15995 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15996 PyThreadState* __tstate = wxPyBeginAllowThreads();
15997 result = (wxMetaFileDC *)new wxMetaFileDC((wxString const &)*arg1,arg2,arg3,(wxString const &)*arg4);
15998
15999 wxPyEndAllowThreads(__tstate);
110da5b0 16000 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16001 }
15afbcd0 16002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetaFileDC, 1);
d14a1e28
RD
16003 {
16004 if (temp1)
16005 delete arg1;
16006 }
16007 {
16008 if (temp4)
16009 delete arg4;
16010 }
16011 return resultobj;
16012 fail:
16013 {
16014 if (temp1)
16015 delete arg1;
16016 }
16017 {
16018 if (temp4)
16019 delete arg4;
16020 }
16021 return NULL;
16022}
16023
16024
c32bde28 16025static PyObject * MetaFileDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16026 PyObject *obj;
16027 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16028 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC, obj);
16029 Py_INCREF(obj);
16030 return Py_BuildValue((char *)"");
16031}
c32bde28 16032static PyObject *_wrap_new_PrinterDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16033 PyObject *resultobj;
16034 wxPrintData *arg1 = 0 ;
16035 wxPrinterDC *result;
16036 PyObject * obj0 = 0 ;
16037 char *kwnames[] = {
16038 (char *) "printData", NULL
16039 };
16040
16041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PrinterDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
16042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16043 SWIG_POINTER_EXCEPTION | 0)) == -1)
16044 SWIG_fail;
d14a1e28 16045 if (arg1 == NULL) {
15afbcd0
RD
16046 PyErr_SetString(PyExc_TypeError,"null reference");
16047 SWIG_fail;
d14a1e28
RD
16048 }
16049 {
e3b71cb8 16050 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16051 PyThreadState* __tstate = wxPyBeginAllowThreads();
16052 result = (wxPrinterDC *)new wxPrinterDC((wxPrintData const &)*arg1);
16053
16054 wxPyEndAllowThreads(__tstate);
110da5b0 16055 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16056 }
15afbcd0 16057 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinterDC, 1);
d14a1e28
RD
16058 return resultobj;
16059 fail:
16060 return NULL;
16061}
16062
16063
c32bde28 16064static PyObject * PrinterDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16065 PyObject *obj;
16066 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16067 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC, obj);
16068 Py_INCREF(obj);
16069 return Py_BuildValue((char *)"");
16070}
c32bde28 16071static PyObject *_wrap_new_ImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16072 PyObject *resultobj;
16073 int arg1 ;
16074 int arg2 ;
e811c8ce 16075 int arg3 = (int) True ;
d14a1e28
RD
16076 int arg4 = (int) 1 ;
16077 wxImageList *result;
994141e6
RD
16078 PyObject * obj0 = 0 ;
16079 PyObject * obj1 = 0 ;
16080 PyObject * obj2 = 0 ;
16081 PyObject * obj3 = 0 ;
d14a1e28
RD
16082 char *kwnames[] = {
16083 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16084 };
16085
994141e6 16086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_ImageList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
c32bde28 16087 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 16088 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16089 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 16090 if (PyErr_Occurred()) SWIG_fail;
994141e6 16091 if (obj2) {
c32bde28 16092 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 16093 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
16094 }
16095 if (obj3) {
c32bde28 16096 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 16097 if (PyErr_Occurred()) SWIG_fail;
994141e6 16098 }
d14a1e28 16099 {
e3b71cb8 16100 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16101 PyThreadState* __tstate = wxPyBeginAllowThreads();
16102 result = (wxImageList *)new wxImageList(arg1,arg2,arg3,arg4);
16103
16104 wxPyEndAllowThreads(__tstate);
110da5b0 16105 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16106 }
16107 {
412d302d 16108 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
16109 }
16110 return resultobj;
16111 fail:
16112 return NULL;
16113}
16114
16115
c32bde28 16116static PyObject *_wrap_delete_ImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16117 PyObject *resultobj;
16118 wxImageList *arg1 = (wxImageList *) 0 ;
16119 PyObject * obj0 = 0 ;
16120 char *kwnames[] = {
16121 (char *) "self", NULL
16122 };
16123
16124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ImageList",kwnames,&obj0)) goto fail;
15afbcd0
RD
16125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16127 {
16128 PyThreadState* __tstate = wxPyBeginAllowThreads();
16129 delete arg1;
16130
16131 wxPyEndAllowThreads(__tstate);
16132 if (PyErr_Occurred()) SWIG_fail;
16133 }
16134 Py_INCREF(Py_None); resultobj = Py_None;
16135 return resultobj;
16136 fail:
16137 return NULL;
16138}
16139
16140
c32bde28 16141static PyObject *_wrap_ImageList_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16142 PyObject *resultobj;
16143 wxImageList *arg1 = (wxImageList *) 0 ;
16144 wxBitmap *arg2 = 0 ;
16145 wxBitmap const &arg3_defvalue = wxNullBitmap ;
16146 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
16147 int result;
16148 PyObject * obj0 = 0 ;
16149 PyObject * obj1 = 0 ;
16150 PyObject * obj2 = 0 ;
16151 char *kwnames[] = {
16152 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16153 };
16154
16155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ImageList_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16158 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16159 SWIG_POINTER_EXCEPTION | 0)) == -1)
16160 SWIG_fail;
d14a1e28 16161 if (arg2 == NULL) {
15afbcd0
RD
16162 PyErr_SetString(PyExc_TypeError,"null reference");
16163 SWIG_fail;
d14a1e28
RD
16164 }
16165 if (obj2) {
15afbcd0
RD
16166 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
16167 SWIG_POINTER_EXCEPTION | 0)) == -1)
16168 SWIG_fail;
d14a1e28 16169 if (arg3 == NULL) {
15afbcd0
RD
16170 PyErr_SetString(PyExc_TypeError,"null reference");
16171 SWIG_fail;
d14a1e28
RD
16172 }
16173 }
16174 {
16175 PyThreadState* __tstate = wxPyBeginAllowThreads();
16176 result = (int)(arg1)->Add((wxBitmap const &)*arg2,(wxBitmap const &)*arg3);
16177
16178 wxPyEndAllowThreads(__tstate);
16179 if (PyErr_Occurred()) SWIG_fail;
16180 }
c32bde28 16181 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16182 return resultobj;
16183 fail:
16184 return NULL;
16185}
16186
16187
c32bde28 16188static PyObject *_wrap_ImageList_AddWithColourMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16189 PyObject *resultobj;
16190 wxImageList *arg1 = (wxImageList *) 0 ;
16191 wxBitmap *arg2 = 0 ;
16192 wxColour *arg3 = 0 ;
16193 int result;
16194 wxColour temp3 ;
16195 PyObject * obj0 = 0 ;
16196 PyObject * obj1 = 0 ;
16197 PyObject * obj2 = 0 ;
16198 char *kwnames[] = {
16199 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16200 };
16201
16202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageList_AddWithColourMask",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16205 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16206 SWIG_POINTER_EXCEPTION | 0)) == -1)
16207 SWIG_fail;
d14a1e28 16208 if (arg2 == NULL) {
15afbcd0
RD
16209 PyErr_SetString(PyExc_TypeError,"null reference");
16210 SWIG_fail;
d14a1e28
RD
16211 }
16212 {
16213 arg3 = &temp3;
16214 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16215 }
16216 {
16217 PyThreadState* __tstate = wxPyBeginAllowThreads();
16218 result = (int)(arg1)->Add((wxBitmap const &)*arg2,(wxColour const &)*arg3);
16219
16220 wxPyEndAllowThreads(__tstate);
16221 if (PyErr_Occurred()) SWIG_fail;
16222 }
c32bde28 16223 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16224 return resultobj;
16225 fail:
16226 return NULL;
16227}
16228
16229
c32bde28 16230static PyObject *_wrap_ImageList_AddIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16231 PyObject *resultobj;
16232 wxImageList *arg1 = (wxImageList *) 0 ;
16233 wxIcon *arg2 = 0 ;
16234 int result;
16235 PyObject * obj0 = 0 ;
16236 PyObject * obj1 = 0 ;
16237 char *kwnames[] = {
16238 (char *) "self",(char *) "icon", NULL
16239 };
16240
16241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageList_AddIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16244 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
16245 SWIG_POINTER_EXCEPTION | 0)) == -1)
16246 SWIG_fail;
d14a1e28 16247 if (arg2 == NULL) {
15afbcd0
RD
16248 PyErr_SetString(PyExc_TypeError,"null reference");
16249 SWIG_fail;
d14a1e28
RD
16250 }
16251 {
16252 PyThreadState* __tstate = wxPyBeginAllowThreads();
16253 result = (int)(arg1)->Add((wxIcon const &)*arg2);
16254
16255 wxPyEndAllowThreads(__tstate);
16256 if (PyErr_Occurred()) SWIG_fail;
16257 }
c32bde28 16258 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16259 return resultobj;
16260 fail:
16261 return NULL;
16262}
16263
16264
c32bde28 16265static PyObject *_wrap_ImageList_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16266 PyObject *resultobj;
16267 wxImageList *arg1 = (wxImageList *) 0 ;
16268 int arg2 ;
16269 wxBitmap *arg3 = 0 ;
16270 bool result;
16271 PyObject * obj0 = 0 ;
994141e6 16272 PyObject * obj1 = 0 ;
d14a1e28
RD
16273 PyObject * obj2 = 0 ;
16274 char *kwnames[] = {
16275 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16276 };
16277
994141e6 16278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageList_Replace",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16281 arg2 = (int)SWIG_As_int(obj1);
15afbcd0
RD
16282 if (PyErr_Occurred()) SWIG_fail;
16283 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
16284 SWIG_POINTER_EXCEPTION | 0)) == -1)
16285 SWIG_fail;
d14a1e28 16286 if (arg3 == NULL) {
15afbcd0
RD
16287 PyErr_SetString(PyExc_TypeError,"null reference");
16288 SWIG_fail;
d14a1e28
RD
16289 }
16290 {
16291 PyThreadState* __tstate = wxPyBeginAllowThreads();
16292 result = (bool)(arg1)->Replace(arg2,(wxBitmap const &)*arg3);
16293
16294 wxPyEndAllowThreads(__tstate);
16295 if (PyErr_Occurred()) SWIG_fail;
16296 }
4f89f6a3
RD
16297 {
16298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16299 }
d14a1e28
RD
16300 return resultobj;
16301 fail:
16302 return NULL;
16303}
16304
16305
c32bde28 16306static PyObject *_wrap_ImageList_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16307 PyObject *resultobj;
16308 wxImageList *arg1 = (wxImageList *) 0 ;
16309 int arg2 ;
16310 wxDC *arg3 = 0 ;
16311 int arg4 ;
16312 int arg5 ;
16313 int arg6 = (int) wxIMAGELIST_DRAW_NORMAL ;
e811c8ce 16314 bool arg7 = (bool) (bool)False ;
d14a1e28
RD
16315 bool result;
16316 PyObject * obj0 = 0 ;
994141e6 16317 PyObject * obj1 = 0 ;
d14a1e28 16318 PyObject * obj2 = 0 ;
994141e6
RD
16319 PyObject * obj3 = 0 ;
16320 PyObject * obj4 = 0 ;
16321 PyObject * obj5 = 0 ;
d14a1e28
RD
16322 PyObject * obj6 = 0 ;
16323 char *kwnames[] = {
16324 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16325 };
16326
994141e6 16327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:ImageList_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
16328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16330 arg2 = (int)SWIG_As_int(obj1);
15afbcd0
RD
16331 if (PyErr_Occurred()) SWIG_fail;
16332 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
16333 SWIG_POINTER_EXCEPTION | 0)) == -1)
16334 SWIG_fail;
d14a1e28 16335 if (arg3 == NULL) {
15afbcd0
RD
16336 PyErr_SetString(PyExc_TypeError,"null reference");
16337 SWIG_fail;
994141e6 16338 }
c32bde28 16339 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 16340 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16341 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 16342 if (PyErr_Occurred()) SWIG_fail;
994141e6 16343 if (obj5) {
c32bde28 16344 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 16345 if (PyErr_Occurred()) SWIG_fail;
994141e6 16346 }
d14a1e28 16347 if (obj6) {
c32bde28 16348 arg7 = (bool)SWIG_As_bool(obj6);
15afbcd0 16349 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16350 }
16351 {
16352 PyThreadState* __tstate = wxPyBeginAllowThreads();
16353 result = (bool)(arg1)->Draw(arg2,*arg3,arg4,arg5,arg6,arg7);
16354
16355 wxPyEndAllowThreads(__tstate);
16356 if (PyErr_Occurred()) SWIG_fail;
16357 }
4f89f6a3
RD
16358 {
16359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16360 }
d14a1e28
RD
16361 return resultobj;
16362 fail:
16363 return NULL;
16364}
16365
16366
c32bde28 16367static PyObject *_wrap_ImageList_GetImageCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16368 PyObject *resultobj;
16369 wxImageList *arg1 = (wxImageList *) 0 ;
16370 int result;
16371 PyObject * obj0 = 0 ;
16372 char *kwnames[] = {
16373 (char *) "self", NULL
16374 };
16375
16376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageList_GetImageCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
16377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16379 {
16380 PyThreadState* __tstate = wxPyBeginAllowThreads();
16381 result = (int)(arg1)->GetImageCount();
16382
16383 wxPyEndAllowThreads(__tstate);
16384 if (PyErr_Occurred()) SWIG_fail;
16385 }
c32bde28 16386 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16387 return resultobj;
16388 fail:
16389 return NULL;
16390}
16391
16392
c32bde28 16393static PyObject *_wrap_ImageList_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16394 PyObject *resultobj;
16395 wxImageList *arg1 = (wxImageList *) 0 ;
16396 int arg2 ;
16397 bool result;
16398 PyObject * obj0 = 0 ;
994141e6 16399 PyObject * obj1 = 0 ;
d14a1e28
RD
16400 char *kwnames[] = {
16401 (char *) "self",(char *) "index", NULL
16402 };
16403
994141e6 16404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageList_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16407 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 16408 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16409 {
16410 PyThreadState* __tstate = wxPyBeginAllowThreads();
16411 result = (bool)(arg1)->Remove(arg2);
16412
16413 wxPyEndAllowThreads(__tstate);
16414 if (PyErr_Occurred()) SWIG_fail;
16415 }
4f89f6a3
RD
16416 {
16417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16418 }
d14a1e28
RD
16419 return resultobj;
16420 fail:
16421 return NULL;
16422}
16423
16424
c32bde28 16425static PyObject *_wrap_ImageList_RemoveAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16426 PyObject *resultobj;
16427 wxImageList *arg1 = (wxImageList *) 0 ;
16428 bool result;
16429 PyObject * obj0 = 0 ;
16430 char *kwnames[] = {
16431 (char *) "self", NULL
16432 };
16433
16434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageList_RemoveAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
16435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16437 {
16438 PyThreadState* __tstate = wxPyBeginAllowThreads();
16439 result = (bool)(arg1)->RemoveAll();
16440
16441 wxPyEndAllowThreads(__tstate);
16442 if (PyErr_Occurred()) SWIG_fail;
16443 }
4f89f6a3
RD
16444 {
16445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16446 }
d14a1e28
RD
16447 return resultobj;
16448 fail:
16449 return NULL;
16450}
16451
16452
c32bde28 16453static PyObject *_wrap_ImageList_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16454 PyObject *resultobj;
16455 wxImageList *arg1 = (wxImageList *) 0 ;
16456 int arg2 ;
16457 int *arg3 = 0 ;
16458 int *arg4 = 0 ;
16459 int temp3 ;
c32bde28 16460 int res3 = 0 ;
d14a1e28 16461 int temp4 ;
c32bde28 16462 int res4 = 0 ;
d14a1e28 16463 PyObject * obj0 = 0 ;
994141e6 16464 PyObject * obj1 = 0 ;
d14a1e28
RD
16465 char *kwnames[] = {
16466 (char *) "self",(char *) "index", NULL
16467 };
16468
c32bde28
RD
16469 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16470 arg4 = &temp4; res4 = SWIG_NEWOBJ;
994141e6 16471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageList_GetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16474 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 16475 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16476 {
16477 PyThreadState* __tstate = wxPyBeginAllowThreads();
16478 (arg1)->GetSize(arg2,*arg3,*arg4);
16479
16480 wxPyEndAllowThreads(__tstate);
16481 if (PyErr_Occurred()) SWIG_fail;
16482 }
16483 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16484 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16485 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16486 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
16487 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
d14a1e28
RD
16488 return resultobj;
16489 fail:
16490 return NULL;
16491}
16492
16493
c32bde28 16494static PyObject * ImageList_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16495 PyObject *obj;
16496 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16497 SWIG_TypeClientData(SWIGTYPE_p_wxImageList, obj);
16498 Py_INCREF(obj);
16499 return Py_BuildValue((char *)"");
16500}
c32bde28 16501static int _wrap_NORMAL_FONT_set(PyObject *) {
994141e6
RD
16502 PyErr_SetString(PyExc_TypeError,"Variable NORMAL_FONT is read-only.");
16503 return 1;
d14a1e28
RD
16504}
16505
16506
994141e6
RD
16507static PyObject *_wrap_NORMAL_FONT_get() {
16508 PyObject *pyobj;
d14a1e28 16509
15afbcd0 16510 pyobj = SWIG_NewPointerObj((void *)(wxNORMAL_FONT), SWIGTYPE_p_wxFont, 0);
994141e6 16511 return pyobj;
d14a1e28
RD
16512}
16513
16514
c32bde28 16515static int _wrap_SMALL_FONT_set(PyObject *) {
994141e6
RD
16516 PyErr_SetString(PyExc_TypeError,"Variable SMALL_FONT is read-only.");
16517 return 1;
d14a1e28
RD
16518}
16519
16520
994141e6
RD
16521static PyObject *_wrap_SMALL_FONT_get() {
16522 PyObject *pyobj;
d14a1e28 16523
15afbcd0 16524 pyobj = SWIG_NewPointerObj((void *)(wxSMALL_FONT), SWIGTYPE_p_wxFont, 0);
994141e6 16525 return pyobj;
d14a1e28
RD
16526}
16527
16528
c32bde28 16529static int _wrap_ITALIC_FONT_set(PyObject *) {
994141e6
RD
16530 PyErr_SetString(PyExc_TypeError,"Variable ITALIC_FONT is read-only.");
16531 return 1;
d14a1e28 16532}
994141e6
RD
16533
16534
16535static PyObject *_wrap_ITALIC_FONT_get() {
16536 PyObject *pyobj;
d14a1e28 16537
15afbcd0 16538 pyobj = SWIG_NewPointerObj((void *)(wxITALIC_FONT), SWIGTYPE_p_wxFont, 0);
994141e6 16539 return pyobj;
d14a1e28
RD
16540}
16541
16542
c32bde28 16543static int _wrap_SWISS_FONT_set(PyObject *) {
994141e6
RD
16544 PyErr_SetString(PyExc_TypeError,"Variable SWISS_FONT is read-only.");
16545 return 1;
d14a1e28
RD
16546}
16547
16548
994141e6
RD
16549static PyObject *_wrap_SWISS_FONT_get() {
16550 PyObject *pyobj;
d14a1e28 16551
15afbcd0 16552 pyobj = SWIG_NewPointerObj((void *)(wxSWISS_FONT), SWIGTYPE_p_wxFont, 0);
994141e6 16553 return pyobj;
d14a1e28
RD
16554}
16555
16556
c32bde28 16557static int _wrap_RED_PEN_set(PyObject *) {
994141e6
RD
16558 PyErr_SetString(PyExc_TypeError,"Variable RED_PEN is read-only.");
16559 return 1;
16560}
16561
16562
16563static PyObject *_wrap_RED_PEN_get() {
16564 PyObject *pyobj;
d14a1e28 16565
15afbcd0 16566 pyobj = SWIG_NewPointerObj((void *)(wxRED_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16567 return pyobj;
d14a1e28
RD
16568}
16569
16570
c32bde28 16571static int _wrap_CYAN_PEN_set(PyObject *) {
994141e6
RD
16572 PyErr_SetString(PyExc_TypeError,"Variable CYAN_PEN is read-only.");
16573 return 1;
d14a1e28 16574}
994141e6
RD
16575
16576
16577static PyObject *_wrap_CYAN_PEN_get() {
16578 PyObject *pyobj;
d14a1e28 16579
15afbcd0 16580 pyobj = SWIG_NewPointerObj((void *)(wxCYAN_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16581 return pyobj;
d14a1e28
RD
16582}
16583
16584
c32bde28 16585static int _wrap_GREEN_PEN_set(PyObject *) {
994141e6
RD
16586 PyErr_SetString(PyExc_TypeError,"Variable GREEN_PEN is read-only.");
16587 return 1;
16588}
16589
16590
16591static PyObject *_wrap_GREEN_PEN_get() {
16592 PyObject *pyobj;
d14a1e28 16593
15afbcd0 16594 pyobj = SWIG_NewPointerObj((void *)(wxGREEN_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16595 return pyobj;
d14a1e28
RD
16596}
16597
16598
c32bde28 16599static int _wrap_BLACK_PEN_set(PyObject *) {
994141e6
RD
16600 PyErr_SetString(PyExc_TypeError,"Variable BLACK_PEN is read-only.");
16601 return 1;
16602}
16603
16604
16605static PyObject *_wrap_BLACK_PEN_get() {
16606 PyObject *pyobj;
d14a1e28 16607
15afbcd0 16608 pyobj = SWIG_NewPointerObj((void *)(wxBLACK_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16609 return pyobj;
d14a1e28
RD
16610}
16611
16612
c32bde28 16613static int _wrap_WHITE_PEN_set(PyObject *) {
994141e6
RD
16614 PyErr_SetString(PyExc_TypeError,"Variable WHITE_PEN is read-only.");
16615 return 1;
d14a1e28
RD
16616}
16617
16618
994141e6
RD
16619static PyObject *_wrap_WHITE_PEN_get() {
16620 PyObject *pyobj;
d14a1e28 16621
15afbcd0 16622 pyobj = SWIG_NewPointerObj((void *)(wxWHITE_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16623 return pyobj;
d14a1e28
RD
16624}
16625
16626
c32bde28 16627static int _wrap_TRANSPARENT_PEN_set(PyObject *) {
994141e6
RD
16628 PyErr_SetString(PyExc_TypeError,"Variable TRANSPARENT_PEN is read-only.");
16629 return 1;
d14a1e28
RD
16630}
16631
16632
994141e6
RD
16633static PyObject *_wrap_TRANSPARENT_PEN_get() {
16634 PyObject *pyobj;
d14a1e28 16635
15afbcd0 16636 pyobj = SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16637 return pyobj;
d14a1e28
RD
16638}
16639
16640
c32bde28 16641static int _wrap_BLACK_DASHED_PEN_set(PyObject *) {
994141e6
RD
16642 PyErr_SetString(PyExc_TypeError,"Variable BLACK_DASHED_PEN is read-only.");
16643 return 1;
d14a1e28
RD
16644}
16645
16646
994141e6
RD
16647static PyObject *_wrap_BLACK_DASHED_PEN_get() {
16648 PyObject *pyobj;
d14a1e28 16649
15afbcd0 16650 pyobj = SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16651 return pyobj;
d14a1e28
RD
16652}
16653
16654
c32bde28 16655static int _wrap_GREY_PEN_set(PyObject *) {
994141e6
RD
16656 PyErr_SetString(PyExc_TypeError,"Variable GREY_PEN is read-only.");
16657 return 1;
d14a1e28
RD
16658}
16659
16660
994141e6
RD
16661static PyObject *_wrap_GREY_PEN_get() {
16662 PyObject *pyobj;
16663
15afbcd0 16664 pyobj = SWIG_NewPointerObj((void *)(wxGREY_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16665 return pyobj;
d14a1e28 16666}
994141e6
RD
16667
16668
c32bde28 16669static int _wrap_MEDIUM_GREY_PEN_set(PyObject *) {
994141e6 16670 PyErr_SetString(PyExc_TypeError,"Variable MEDIUM_GREY_PEN is read-only.");
d14a1e28
RD
16671 return 1;
16672}
16673
16674
994141e6 16675static PyObject *_wrap_MEDIUM_GREY_PEN_get() {
d14a1e28
RD
16676 PyObject *pyobj;
16677
15afbcd0 16678 pyobj = SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN), SWIGTYPE_p_wxPen, 0);
d14a1e28
RD
16679 return pyobj;
16680}
16681
16682
c32bde28 16683static int _wrap_LIGHT_GREY_PEN_set(PyObject *) {
994141e6 16684 PyErr_SetString(PyExc_TypeError,"Variable LIGHT_GREY_PEN is read-only.");
d14a1e28
RD
16685 return 1;
16686}
16687
16688
994141e6 16689static PyObject *_wrap_LIGHT_GREY_PEN_get() {
d14a1e28
RD
16690 PyObject *pyobj;
16691
15afbcd0 16692 pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN), SWIGTYPE_p_wxPen, 0);
d14a1e28
RD
16693 return pyobj;
16694}
16695
16696
c32bde28 16697static int _wrap_BLUE_BRUSH_set(PyObject *) {
994141e6 16698 PyErr_SetString(PyExc_TypeError,"Variable BLUE_BRUSH is read-only.");
d14a1e28
RD
16699 return 1;
16700}
16701
16702
994141e6 16703static PyObject *_wrap_BLUE_BRUSH_get() {
d14a1e28
RD
16704 PyObject *pyobj;
16705
15afbcd0 16706 pyobj = SWIG_NewPointerObj((void *)(wxBLUE_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16707 return pyobj;
16708}
16709
16710
c32bde28 16711static int _wrap_GREEN_BRUSH_set(PyObject *) {
994141e6 16712 PyErr_SetString(PyExc_TypeError,"Variable GREEN_BRUSH is read-only.");
d14a1e28
RD
16713 return 1;
16714}
16715
16716
994141e6 16717static PyObject *_wrap_GREEN_BRUSH_get() {
d14a1e28
RD
16718 PyObject *pyobj;
16719
15afbcd0 16720 pyobj = SWIG_NewPointerObj((void *)(wxGREEN_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16721 return pyobj;
16722}
16723
16724
c32bde28 16725static int _wrap_WHITE_BRUSH_set(PyObject *) {
994141e6 16726 PyErr_SetString(PyExc_TypeError,"Variable WHITE_BRUSH is read-only.");
d14a1e28
RD
16727 return 1;
16728}
16729
16730
994141e6 16731static PyObject *_wrap_WHITE_BRUSH_get() {
d14a1e28
RD
16732 PyObject *pyobj;
16733
15afbcd0 16734 pyobj = SWIG_NewPointerObj((void *)(wxWHITE_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16735 return pyobj;
16736}
16737
16738
c32bde28 16739static int _wrap_BLACK_BRUSH_set(PyObject *) {
994141e6 16740 PyErr_SetString(PyExc_TypeError,"Variable BLACK_BRUSH is read-only.");
d14a1e28
RD
16741 return 1;
16742}
16743
16744
994141e6 16745static PyObject *_wrap_BLACK_BRUSH_get() {
d14a1e28
RD
16746 PyObject *pyobj;
16747
15afbcd0 16748 pyobj = SWIG_NewPointerObj((void *)(wxBLACK_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16749 return pyobj;
16750}
16751
16752
c32bde28 16753static int _wrap_TRANSPARENT_BRUSH_set(PyObject *) {
994141e6 16754 PyErr_SetString(PyExc_TypeError,"Variable TRANSPARENT_BRUSH is read-only.");
d14a1e28
RD
16755 return 1;
16756}
16757
16758
994141e6 16759static PyObject *_wrap_TRANSPARENT_BRUSH_get() {
d14a1e28
RD
16760 PyObject *pyobj;
16761
15afbcd0 16762 pyobj = SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16763 return pyobj;
16764}
16765
16766
c32bde28 16767static int _wrap_CYAN_BRUSH_set(PyObject *) {
994141e6 16768 PyErr_SetString(PyExc_TypeError,"Variable CYAN_BRUSH is read-only.");
d14a1e28
RD
16769 return 1;
16770}
16771
16772
994141e6 16773static PyObject *_wrap_CYAN_BRUSH_get() {
d14a1e28
RD
16774 PyObject *pyobj;
16775
15afbcd0 16776 pyobj = SWIG_NewPointerObj((void *)(wxCYAN_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16777 return pyobj;
16778}
16779
16780
c32bde28 16781static int _wrap_RED_BRUSH_set(PyObject *) {
994141e6 16782 PyErr_SetString(PyExc_TypeError,"Variable RED_BRUSH is read-only.");
d14a1e28
RD
16783 return 1;
16784}
16785
16786
994141e6 16787static PyObject *_wrap_RED_BRUSH_get() {
d14a1e28
RD
16788 PyObject *pyobj;
16789
15afbcd0 16790 pyobj = SWIG_NewPointerObj((void *)(wxRED_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16791 return pyobj;
16792}
16793
16794
c32bde28 16795static int _wrap_GREY_BRUSH_set(PyObject *) {
994141e6 16796 PyErr_SetString(PyExc_TypeError,"Variable GREY_BRUSH is read-only.");
d14a1e28
RD
16797 return 1;
16798}
16799
16800
994141e6 16801static PyObject *_wrap_GREY_BRUSH_get() {
d14a1e28
RD
16802 PyObject *pyobj;
16803
15afbcd0 16804 pyobj = SWIG_NewPointerObj((void *)(wxGREY_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16805 return pyobj;
16806}
16807
16808
c32bde28 16809static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject *) {
994141e6 16810 PyErr_SetString(PyExc_TypeError,"Variable MEDIUM_GREY_BRUSH is read-only.");
d14a1e28
RD
16811 return 1;
16812}
16813
16814
994141e6 16815static PyObject *_wrap_MEDIUM_GREY_BRUSH_get() {
d14a1e28
RD
16816 PyObject *pyobj;
16817
15afbcd0 16818 pyobj = SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16819 return pyobj;
16820}
16821
16822
c32bde28 16823static int _wrap_LIGHT_GREY_BRUSH_set(PyObject *) {
994141e6 16824 PyErr_SetString(PyExc_TypeError,"Variable LIGHT_GREY_BRUSH is read-only.");
d14a1e28
RD
16825 return 1;
16826}
16827
16828
994141e6 16829static PyObject *_wrap_LIGHT_GREY_BRUSH_get() {
d14a1e28
RD
16830 PyObject *pyobj;
16831
15afbcd0 16832 pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16833 return pyobj;
16834}
16835
16836
c32bde28 16837static int _wrap_BLACK_set(PyObject *) {
994141e6 16838 PyErr_SetString(PyExc_TypeError,"Variable BLACK is read-only.");
d14a1e28
RD
16839 return 1;
16840}
16841
16842
994141e6 16843static PyObject *_wrap_BLACK_get() {
d14a1e28
RD
16844 PyObject *pyobj;
16845
15afbcd0 16846 pyobj = SWIG_NewPointerObj((void *)(wxBLACK), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16847 return pyobj;
16848}
16849
16850
c32bde28 16851static int _wrap_WHITE_set(PyObject *) {
994141e6 16852 PyErr_SetString(PyExc_TypeError,"Variable WHITE is read-only.");
d14a1e28
RD
16853 return 1;
16854}
16855
16856
994141e6 16857static PyObject *_wrap_WHITE_get() {
d14a1e28
RD
16858 PyObject *pyobj;
16859
15afbcd0 16860 pyobj = SWIG_NewPointerObj((void *)(wxWHITE), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16861 return pyobj;
16862}
16863
16864
c32bde28 16865static int _wrap_RED_set(PyObject *) {
994141e6 16866 PyErr_SetString(PyExc_TypeError,"Variable RED is read-only.");
d14a1e28
RD
16867 return 1;
16868}
16869
16870
994141e6 16871static PyObject *_wrap_RED_get() {
d14a1e28
RD
16872 PyObject *pyobj;
16873
15afbcd0 16874 pyobj = SWIG_NewPointerObj((void *)(wxRED), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16875 return pyobj;
16876}
16877
16878
c32bde28 16879static int _wrap_BLUE_set(PyObject *) {
994141e6 16880 PyErr_SetString(PyExc_TypeError,"Variable BLUE is read-only.");
d14a1e28
RD
16881 return 1;
16882}
16883
16884
994141e6 16885static PyObject *_wrap_BLUE_get() {
d14a1e28
RD
16886 PyObject *pyobj;
16887
15afbcd0 16888 pyobj = SWIG_NewPointerObj((void *)(wxBLUE), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16889 return pyobj;
16890}
16891
16892
c32bde28 16893static int _wrap_GREEN_set(PyObject *) {
994141e6 16894 PyErr_SetString(PyExc_TypeError,"Variable GREEN is read-only.");
d14a1e28
RD
16895 return 1;
16896}
16897
16898
994141e6 16899static PyObject *_wrap_GREEN_get() {
d14a1e28
RD
16900 PyObject *pyobj;
16901
15afbcd0 16902 pyobj = SWIG_NewPointerObj((void *)(wxGREEN), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16903 return pyobj;
16904}
16905
16906
c32bde28 16907static int _wrap_CYAN_set(PyObject *) {
994141e6 16908 PyErr_SetString(PyExc_TypeError,"Variable CYAN is read-only.");
d14a1e28
RD
16909 return 1;
16910}
16911
16912
994141e6 16913static PyObject *_wrap_CYAN_get() {
d14a1e28
RD
16914 PyObject *pyobj;
16915
15afbcd0 16916 pyobj = SWIG_NewPointerObj((void *)(wxCYAN), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16917 return pyobj;
16918}
16919
16920
c32bde28 16921static int _wrap_LIGHT_GREY_set(PyObject *) {
994141e6 16922 PyErr_SetString(PyExc_TypeError,"Variable LIGHT_GREY is read-only.");
d14a1e28
RD
16923 return 1;
16924}
16925
16926
994141e6 16927static PyObject *_wrap_LIGHT_GREY_get() {
d14a1e28
RD
16928 PyObject *pyobj;
16929
15afbcd0 16930 pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16931 return pyobj;
16932}
16933
16934
c32bde28 16935static int _wrap_STANDARD_CURSOR_set(PyObject *) {
994141e6 16936 PyErr_SetString(PyExc_TypeError,"Variable STANDARD_CURSOR is read-only.");
d14a1e28
RD
16937 return 1;
16938}
16939
16940
994141e6 16941static PyObject *_wrap_STANDARD_CURSOR_get() {
d14a1e28
RD
16942 PyObject *pyobj;
16943
15afbcd0 16944 pyobj = SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR), SWIGTYPE_p_wxCursor, 0);
d14a1e28
RD
16945 return pyobj;
16946}
16947
16948
c32bde28 16949static int _wrap_HOURGLASS_CURSOR_set(PyObject *) {
994141e6 16950 PyErr_SetString(PyExc_TypeError,"Variable HOURGLASS_CURSOR is read-only.");
d14a1e28
RD
16951 return 1;
16952}
16953
16954
994141e6 16955static PyObject *_wrap_HOURGLASS_CURSOR_get() {
d14a1e28
RD
16956 PyObject *pyobj;
16957
15afbcd0 16958 pyobj = SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR), SWIGTYPE_p_wxCursor, 0);
d14a1e28
RD
16959 return pyobj;
16960}
16961
16962
c32bde28 16963static int _wrap_CROSS_CURSOR_set(PyObject *) {
994141e6 16964 PyErr_SetString(PyExc_TypeError,"Variable CROSS_CURSOR is read-only.");
d14a1e28
RD
16965 return 1;
16966}
16967
16968
994141e6 16969static PyObject *_wrap_CROSS_CURSOR_get() {
d14a1e28
RD
16970 PyObject *pyobj;
16971
15afbcd0 16972 pyobj = SWIG_NewPointerObj((void *)(wxCROSS_CURSOR), SWIGTYPE_p_wxCursor, 0);
d14a1e28
RD
16973 return pyobj;
16974}
16975
16976
c32bde28 16977static int _wrap_NullBitmap_set(PyObject *) {
994141e6 16978 PyErr_SetString(PyExc_TypeError,"Variable NullBitmap is read-only.");
d14a1e28
RD
16979 return 1;
16980}
16981
16982
994141e6 16983static PyObject *_wrap_NullBitmap_get() {
d14a1e28
RD
16984 PyObject *pyobj;
16985
15afbcd0 16986 pyobj = SWIG_NewPointerObj((void *)(&wxNullBitmap), SWIGTYPE_p_wxBitmap, 0);
d14a1e28
RD
16987 return pyobj;
16988}
16989
16990
c32bde28 16991static int _wrap_NullIcon_set(PyObject *) {
994141e6 16992 PyErr_SetString(PyExc_TypeError,"Variable NullIcon is read-only.");
d14a1e28
RD
16993 return 1;
16994}
16995
16996
994141e6 16997static PyObject *_wrap_NullIcon_get() {
d14a1e28
RD
16998 PyObject *pyobj;
16999
15afbcd0 17000 pyobj = SWIG_NewPointerObj((void *)(&wxNullIcon), SWIGTYPE_p_wxIcon, 0);
d14a1e28
RD
17001 return pyobj;
17002}
17003
17004
c32bde28 17005static int _wrap_NullCursor_set(PyObject *) {
994141e6 17006 PyErr_SetString(PyExc_TypeError,"Variable NullCursor is read-only.");
d14a1e28
RD
17007 return 1;
17008}
17009
17010
994141e6 17011static PyObject *_wrap_NullCursor_get() {
d14a1e28
RD
17012 PyObject *pyobj;
17013
15afbcd0 17014 pyobj = SWIG_NewPointerObj((void *)(&wxNullCursor), SWIGTYPE_p_wxCursor, 0);
d14a1e28
RD
17015 return pyobj;
17016}
17017
17018
c32bde28 17019static int _wrap_NullPen_set(PyObject *) {
994141e6 17020 PyErr_SetString(PyExc_TypeError,"Variable NullPen is read-only.");
d14a1e28
RD
17021 return 1;
17022}
17023
17024
994141e6 17025static PyObject *_wrap_NullPen_get() {
d14a1e28
RD
17026 PyObject *pyobj;
17027
15afbcd0 17028 pyobj = SWIG_NewPointerObj((void *)(&wxNullPen), SWIGTYPE_p_wxPen, 0);
d14a1e28
RD
17029 return pyobj;
17030}
17031
17032
c32bde28 17033static int _wrap_NullBrush_set(PyObject *) {
994141e6 17034 PyErr_SetString(PyExc_TypeError,"Variable NullBrush is read-only.");
d14a1e28
RD
17035 return 1;
17036}
17037
17038
994141e6 17039static PyObject *_wrap_NullBrush_get() {
d14a1e28
RD
17040 PyObject *pyobj;
17041
15afbcd0 17042 pyobj = SWIG_NewPointerObj((void *)(&wxNullBrush), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
17043 return pyobj;
17044}
17045
17046
c32bde28 17047static int _wrap_NullPalette_set(PyObject *) {
994141e6 17048 PyErr_SetString(PyExc_TypeError,"Variable NullPalette is read-only.");
d14a1e28
RD
17049 return 1;
17050}
17051
17052
994141e6 17053static PyObject *_wrap_NullPalette_get() {
d14a1e28
RD
17054 PyObject *pyobj;
17055
15afbcd0 17056 pyobj = SWIG_NewPointerObj((void *)(&wxNullPalette), SWIGTYPE_p_wxPalette, 0);
d14a1e28
RD
17057 return pyobj;
17058}
17059
17060
c32bde28 17061static int _wrap_NullFont_set(PyObject *) {
994141e6 17062 PyErr_SetString(PyExc_TypeError,"Variable NullFont is read-only.");
d14a1e28
RD
17063 return 1;
17064}
17065
17066
994141e6 17067static PyObject *_wrap_NullFont_get() {
d14a1e28
RD
17068 PyObject *pyobj;
17069
15afbcd0 17070 pyobj = SWIG_NewPointerObj((void *)(&wxNullFont), SWIGTYPE_p_wxFont, 0);
d14a1e28
RD
17071 return pyobj;
17072}
17073
17074
c32bde28 17075static int _wrap_NullColour_set(PyObject *) {
994141e6 17076 PyErr_SetString(PyExc_TypeError,"Variable NullColour is read-only.");
d14a1e28
RD
17077 return 1;
17078}
17079
17080
994141e6 17081static PyObject *_wrap_NullColour_get() {
d14a1e28
RD
17082 PyObject *pyobj;
17083
15afbcd0 17084 pyobj = SWIG_NewPointerObj((void *)(&wxNullColour), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
17085 return pyobj;
17086}
17087
17088
c32bde28 17089static PyObject *_wrap_PenList_AddPen(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17090 PyObject *resultobj;
17091 wxPenList *arg1 = (wxPenList *) 0 ;
17092 wxPen *arg2 = (wxPen *) 0 ;
17093 PyObject * obj0 = 0 ;
17094 PyObject * obj1 = 0 ;
17095 char *kwnames[] = {
17096 (char *) "self",(char *) "pen", NULL
17097 };
17098
17099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PenList_AddPen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPenList,
17101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17102 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPen,
17103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17104 {
17105 PyThreadState* __tstate = wxPyBeginAllowThreads();
17106 (arg1)->AddPen(arg2);
17107
17108 wxPyEndAllowThreads(__tstate);
17109 if (PyErr_Occurred()) SWIG_fail;
17110 }
17111 Py_INCREF(Py_None); resultobj = Py_None;
17112 return resultobj;
17113 fail:
17114 return NULL;
d14a1e28
RD
17115}
17116
17117
c32bde28 17118static PyObject *_wrap_PenList_FindOrCreatePen(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17119 PyObject *resultobj;
17120 wxPenList *arg1 = (wxPenList *) 0 ;
17121 wxColour *arg2 = 0 ;
17122 int arg3 ;
17123 int arg4 ;
17124 wxPen *result;
17125 wxColour temp2 ;
17126 PyObject * obj0 = 0 ;
17127 PyObject * obj1 = 0 ;
17128 PyObject * obj2 = 0 ;
17129 PyObject * obj3 = 0 ;
17130 char *kwnames[] = {
17131 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17132 };
d14a1e28 17133
994141e6 17134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PenList_FindOrCreatePen",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
17135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPenList,
17136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17137 {
17138 arg2 = &temp2;
17139 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17140 }
c32bde28 17141 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 17142 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17143 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 17144 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17145 {
17146 PyThreadState* __tstate = wxPyBeginAllowThreads();
17147 result = (wxPen *)(arg1)->FindOrCreatePen((wxColour const &)*arg2,arg3,arg4);
17148
17149 wxPyEndAllowThreads(__tstate);
17150 if (PyErr_Occurred()) SWIG_fail;
17151 }
15afbcd0 17152 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
994141e6
RD
17153 return resultobj;
17154 fail:
17155 return NULL;
d14a1e28
RD
17156}
17157
17158
c32bde28 17159static PyObject *_wrap_PenList_RemovePen(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17160 PyObject *resultobj;
17161 wxPenList *arg1 = (wxPenList *) 0 ;
17162 wxPen *arg2 = (wxPen *) 0 ;
17163 PyObject * obj0 = 0 ;
17164 PyObject * obj1 = 0 ;
17165 char *kwnames[] = {
17166 (char *) "self",(char *) "pen", NULL
17167 };
17168
17169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PenList_RemovePen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPenList,
17171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17172 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPen,
17173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17174 {
17175 PyThreadState* __tstate = wxPyBeginAllowThreads();
17176 (arg1)->RemovePen(arg2);
17177
17178 wxPyEndAllowThreads(__tstate);
17179 if (PyErr_Occurred()) SWIG_fail;
17180 }
17181 Py_INCREF(Py_None); resultobj = Py_None;
17182 return resultobj;
17183 fail:
17184 return NULL;
d14a1e28
RD
17185}
17186
17187
c32bde28 17188static PyObject *_wrap_PenList_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17189 PyObject *resultobj;
17190 wxPenList *arg1 = (wxPenList *) 0 ;
17191 int result;
17192 PyObject * obj0 = 0 ;
17193 char *kwnames[] = {
17194 (char *) "self", NULL
17195 };
d14a1e28 17196
994141e6 17197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PenList_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
17198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPenList,
17199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17200 {
17201 PyThreadState* __tstate = wxPyBeginAllowThreads();
17202 result = (int)(arg1)->GetCount();
17203
17204 wxPyEndAllowThreads(__tstate);
17205 if (PyErr_Occurred()) SWIG_fail;
17206 }
c32bde28 17207 resultobj = SWIG_From_int((int)result);
994141e6
RD
17208 return resultobj;
17209 fail:
17210 return NULL;
d14a1e28
RD
17211}
17212
17213
c32bde28 17214static PyObject * PenList_swigregister(PyObject *, PyObject *args) {
994141e6
RD
17215 PyObject *obj;
17216 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17217 SWIG_TypeClientData(SWIGTYPE_p_wxPenList, obj);
17218 Py_INCREF(obj);
17219 return Py_BuildValue((char *)"");
17220}
c32bde28 17221static PyObject *_wrap_BrushList_AddBrush(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17222 PyObject *resultobj;
17223 wxBrushList *arg1 = (wxBrushList *) 0 ;
17224 wxBrush *arg2 = (wxBrush *) 0 ;
17225 PyObject * obj0 = 0 ;
17226 PyObject * obj1 = 0 ;
17227 char *kwnames[] = {
17228 (char *) "self",(char *) "brush", NULL
17229 };
17230
17231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BrushList_AddBrush",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrushList,
17233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17234 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBrush,
17235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17236 {
17237 PyThreadState* __tstate = wxPyBeginAllowThreads();
17238 (arg1)->AddBrush(arg2);
17239
17240 wxPyEndAllowThreads(__tstate);
17241 if (PyErr_Occurred()) SWIG_fail;
17242 }
17243 Py_INCREF(Py_None); resultobj = Py_None;
17244 return resultobj;
17245 fail:
17246 return NULL;
17247}
17248
17249
c32bde28 17250static PyObject *_wrap_BrushList_FindOrCreateBrush(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17251 PyObject *resultobj;
17252 wxBrushList *arg1 = (wxBrushList *) 0 ;
17253 wxColour *arg2 = 0 ;
17254 int arg3 ;
17255 wxBrush *result;
17256 wxColour temp2 ;
17257 PyObject * obj0 = 0 ;
17258 PyObject * obj1 = 0 ;
17259 PyObject * obj2 = 0 ;
17260 char *kwnames[] = {
17261 (char *) "self",(char *) "colour",(char *) "style", NULL
17262 };
17263
17264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrushList,
17266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17267 {
17268 arg2 = &temp2;
17269 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17270 }
c32bde28 17271 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 17272 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17273 {
17274 PyThreadState* __tstate = wxPyBeginAllowThreads();
17275 result = (wxBrush *)(arg1)->FindOrCreateBrush((wxColour const &)*arg2,arg3);
17276
17277 wxPyEndAllowThreads(__tstate);
17278 if (PyErr_Occurred()) SWIG_fail;
17279 }
15afbcd0 17280 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 0);
994141e6
RD
17281 return resultobj;
17282 fail:
17283 return NULL;
d14a1e28
RD
17284}
17285
17286
c32bde28 17287static PyObject *_wrap_BrushList_RemoveBrush(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17288 PyObject *resultobj;
17289 wxBrushList *arg1 = (wxBrushList *) 0 ;
17290 wxBrush *arg2 = (wxBrush *) 0 ;
17291 PyObject * obj0 = 0 ;
17292 PyObject * obj1 = 0 ;
17293 char *kwnames[] = {
17294 (char *) "self",(char *) "brush", NULL
17295 };
d14a1e28 17296
994141e6 17297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BrushList_RemoveBrush",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrushList,
17299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17300 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBrush,
17301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17302 {
17303 PyThreadState* __tstate = wxPyBeginAllowThreads();
17304 (arg1)->RemoveBrush(arg2);
17305
17306 wxPyEndAllowThreads(__tstate);
17307 if (PyErr_Occurred()) SWIG_fail;
17308 }
17309 Py_INCREF(Py_None); resultobj = Py_None;
17310 return resultobj;
17311 fail:
17312 return NULL;
d14a1e28
RD
17313}
17314
17315
c32bde28 17316static PyObject *_wrap_BrushList_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17317 PyObject *resultobj;
17318 wxBrushList *arg1 = (wxBrushList *) 0 ;
17319 int result;
17320 PyObject * obj0 = 0 ;
17321 char *kwnames[] = {
17322 (char *) "self", NULL
17323 };
d14a1e28 17324
994141e6 17325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BrushList_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
17326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrushList,
17327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17328 {
17329 PyThreadState* __tstate = wxPyBeginAllowThreads();
17330 result = (int)(arg1)->GetCount();
17331
17332 wxPyEndAllowThreads(__tstate);
17333 if (PyErr_Occurred()) SWIG_fail;
17334 }
c32bde28 17335 resultobj = SWIG_From_int((int)result);
994141e6
RD
17336 return resultobj;
17337 fail:
17338 return NULL;
d14a1e28
RD
17339}
17340
17341
c32bde28 17342static PyObject * BrushList_swigregister(PyObject *, PyObject *args) {
994141e6
RD
17343 PyObject *obj;
17344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17345 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList, obj);
17346 Py_INCREF(obj);
17347 return Py_BuildValue((char *)"");
d14a1e28 17348}
c32bde28 17349static PyObject *_wrap_new_ColourDatabase(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17350 PyObject *resultobj;
17351 wxColourDatabase *result;
17352 char *kwnames[] = {
17353 NULL
17354 };
d14a1e28 17355
994141e6
RD
17356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourDatabase",kwnames)) goto fail;
17357 {
e3b71cb8 17358 if (!wxPyCheckForApp()) SWIG_fail;
994141e6
RD
17359 PyThreadState* __tstate = wxPyBeginAllowThreads();
17360 result = (wxColourDatabase *)new wxColourDatabase();
17361
17362 wxPyEndAllowThreads(__tstate);
110da5b0 17363 if (PyErr_Occurred()) SWIG_fail;
994141e6 17364 }
15afbcd0 17365 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDatabase, 1);
994141e6
RD
17366 return resultobj;
17367 fail:
17368 return NULL;
d14a1e28
RD
17369}
17370
17371
c32bde28 17372static PyObject *_wrap_delete_ColourDatabase(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17373 PyObject *resultobj;
17374 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
17375 PyObject * obj0 = 0 ;
17376 char *kwnames[] = {
17377 (char *) "self", NULL
17378 };
d14a1e28 17379
994141e6 17380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourDatabase",kwnames,&obj0)) goto fail;
15afbcd0
RD
17381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDatabase,
17382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17383 {
17384 PyThreadState* __tstate = wxPyBeginAllowThreads();
17385 delete arg1;
17386
17387 wxPyEndAllowThreads(__tstate);
17388 if (PyErr_Occurred()) SWIG_fail;
17389 }
17390 Py_INCREF(Py_None); resultobj = Py_None;
17391 return resultobj;
17392 fail:
17393 return NULL;
d14a1e28
RD
17394}
17395
17396
c32bde28 17397static PyObject *_wrap_ColourDatabase_Find(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17398 PyObject *resultobj;
17399 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
17400 wxString *arg2 = 0 ;
17401 wxColour result;
17402 bool temp2 = False ;
17403 PyObject * obj0 = 0 ;
17404 PyObject * obj1 = 0 ;
17405 char *kwnames[] = {
17406 (char *) "self",(char *) "name", NULL
17407 };
17408
17409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourDatabase_Find",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDatabase,
17411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17412 {
17413 arg2 = wxString_in_helper(obj1);
17414 if (arg2 == NULL) SWIG_fail;
17415 temp2 = True;
17416 }
17417 {
17418 PyThreadState* __tstate = wxPyBeginAllowThreads();
17419 result = ((wxColourDatabase const *)arg1)->Find((wxString const &)*arg2);
17420
17421 wxPyEndAllowThreads(__tstate);
17422 if (PyErr_Occurred()) SWIG_fail;
17423 }
17424 {
17425 wxColour * resultptr;
17426 resultptr = new wxColour((wxColour &) result);
15afbcd0 17427 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
994141e6
RD
17428 }
17429 {
17430 if (temp2)
17431 delete arg2;
17432 }
17433 return resultobj;
17434 fail:
17435 {
17436 if (temp2)
17437 delete arg2;
17438 }
17439 return NULL;
d14a1e28
RD
17440}
17441
17442
c32bde28 17443static PyObject *_wrap_ColourDatabase_FindName(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17444 PyObject *resultobj;
17445 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
17446 wxColour *arg2 = 0 ;
17447 wxString result;
17448 wxColour temp2 ;
17449 PyObject * obj0 = 0 ;
17450 PyObject * obj1 = 0 ;
17451 char *kwnames[] = {
17452 (char *) "self",(char *) "colour", NULL
17453 };
d14a1e28 17454
994141e6 17455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourDatabase_FindName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDatabase,
17457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17458 {
17459 arg2 = &temp2;
17460 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17461 }
17462 {
17463 PyThreadState* __tstate = wxPyBeginAllowThreads();
17464 result = ((wxColourDatabase const *)arg1)->FindName((wxColour const &)*arg2);
17465
17466 wxPyEndAllowThreads(__tstate);
17467 if (PyErr_Occurred()) SWIG_fail;
17468 }
17469 {
17470#if wxUSE_UNICODE
17471 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17472#else
17473 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17474#endif
17475 }
17476 return resultobj;
17477 fail:
17478 return NULL;
d14a1e28
RD
17479}
17480
17481
c32bde28 17482static PyObject *_wrap_ColourDatabase_AddColour(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17483 PyObject *resultobj;
17484 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
17485 wxString *arg2 = 0 ;
17486 wxColour *arg3 = 0 ;
17487 bool temp2 = False ;
17488 wxColour temp3 ;
17489 PyObject * obj0 = 0 ;
17490 PyObject * obj1 = 0 ;
17491 PyObject * obj2 = 0 ;
17492 char *kwnames[] = {
17493 (char *) "self",(char *) "name",(char *) "colour", NULL
17494 };
17495
17496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourDatabase_AddColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDatabase,
17498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17499 {
17500 arg2 = wxString_in_helper(obj1);
17501 if (arg2 == NULL) SWIG_fail;
17502 temp2 = True;
17503 }
17504 {
17505 arg3 = &temp3;
17506 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
17507 }
17508 {
17509 PyThreadState* __tstate = wxPyBeginAllowThreads();
17510 (arg1)->AddColour((wxString const &)*arg2,(wxColour const &)*arg3);
17511
17512 wxPyEndAllowThreads(__tstate);
17513 if (PyErr_Occurred()) SWIG_fail;
17514 }
17515 Py_INCREF(Py_None); resultobj = Py_None;
17516 {
17517 if (temp2)
17518 delete arg2;
17519 }
17520 return resultobj;
17521 fail:
17522 {
17523 if (temp2)
17524 delete arg2;
17525 }
17526 return NULL;
d14a1e28
RD
17527}
17528
17529
c32bde28 17530static PyObject *_wrap_ColourDatabase_Append(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17531 PyObject *resultobj;
17532 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
17533 wxString *arg2 = 0 ;
17534 int arg3 ;
17535 int arg4 ;
17536 int arg5 ;
17537 bool temp2 = False ;
17538 PyObject * obj0 = 0 ;
17539 PyObject * obj1 = 0 ;
17540 PyObject * obj2 = 0 ;
17541 PyObject * obj3 = 0 ;
17542 PyObject * obj4 = 0 ;
17543 char *kwnames[] = {
17544 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17545 };
d14a1e28 17546
994141e6 17547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:ColourDatabase_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
17548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDatabase,
17549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17550 {
17551 arg2 = wxString_in_helper(obj1);
17552 if (arg2 == NULL) SWIG_fail;
17553 temp2 = True;
17554 }
c32bde28 17555 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 17556 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17557 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 17558 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17559 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 17560 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17561 {
17562 PyThreadState* __tstate = wxPyBeginAllowThreads();
17563 wxColourDatabase_Append(arg1,(wxString const &)*arg2,arg3,arg4,arg5);
17564
17565 wxPyEndAllowThreads(__tstate);
17566 if (PyErr_Occurred()) SWIG_fail;
17567 }
17568 Py_INCREF(Py_None); resultobj = Py_None;
17569 {
17570 if (temp2)
17571 delete arg2;
17572 }
17573 return resultobj;
17574 fail:
17575 {
17576 if (temp2)
17577 delete arg2;
17578 }
17579 return NULL;
d14a1e28
RD
17580}
17581
17582
c32bde28 17583static PyObject * ColourDatabase_swigregister(PyObject *, PyObject *args) {
994141e6
RD
17584 PyObject *obj;
17585 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17586 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase, obj);
17587 Py_INCREF(obj);
17588 return Py_BuildValue((char *)"");
d14a1e28 17589}
c32bde28 17590static PyObject *_wrap_FontList_AddFont(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17591 PyObject *resultobj;
17592 wxFontList *arg1 = (wxFontList *) 0 ;
17593 wxFont *arg2 = (wxFont *) 0 ;
17594 PyObject * obj0 = 0 ;
17595 PyObject * obj1 = 0 ;
17596 char *kwnames[] = {
17597 (char *) "self",(char *) "font", NULL
17598 };
d14a1e28 17599
994141e6 17600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontList_AddFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontList,
17602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17603 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
17604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17605 {
17606 PyThreadState* __tstate = wxPyBeginAllowThreads();
17607 (arg1)->AddFont(arg2);
17608
17609 wxPyEndAllowThreads(__tstate);
17610 if (PyErr_Occurred()) SWIG_fail;
17611 }
17612 Py_INCREF(Py_None); resultobj = Py_None;
17613 return resultobj;
17614 fail:
17615 return NULL;
d14a1e28
RD
17616}
17617
17618
c32bde28 17619static PyObject *_wrap_FontList_FindOrCreateFont(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17620 PyObject *resultobj;
17621 wxFontList *arg1 = (wxFontList *) 0 ;
17622 int arg2 ;
17623 int arg3 ;
17624 int arg4 ;
17625 int arg5 ;
17626 bool arg6 = (bool) False ;
17627 wxString const &arg7_defvalue = wxPyEmptyString ;
17628 wxString *arg7 = (wxString *) &arg7_defvalue ;
17629 int arg8 = (int) wxFONTENCODING_DEFAULT ;
17630 wxFont *result;
17631 bool temp7 = False ;
17632 PyObject * obj0 = 0 ;
17633 PyObject * obj1 = 0 ;
17634 PyObject * obj2 = 0 ;
17635 PyObject * obj3 = 0 ;
17636 PyObject * obj4 = 0 ;
17637 PyObject * obj5 = 0 ;
17638 PyObject * obj6 = 0 ;
17639 PyObject * obj7 = 0 ;
17640 char *kwnames[] = {
17641 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17642 };
d14a1e28 17643
994141e6 17644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
17645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontList,
17646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17647 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 17648 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17649 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 17650 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17651 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 17652 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17653 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 17654 if (PyErr_Occurred()) SWIG_fail;
994141e6 17655 if (obj5) {
c32bde28 17656 arg6 = (bool)SWIG_As_bool(obj5);
15afbcd0 17657 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17658 }
17659 if (obj6) {
17660 {
17661 arg7 = wxString_in_helper(obj6);
17662 if (arg7 == NULL) SWIG_fail;
17663 temp7 = True;
17664 }
17665 }
17666 if (obj7) {
c32bde28 17667 arg8 = (int)SWIG_As_int(obj7);
15afbcd0 17668 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17669 }
17670 {
17671 PyThreadState* __tstate = wxPyBeginAllowThreads();
17672 result = (wxFont *)(arg1)->FindOrCreateFont(arg2,arg3,arg4,arg5,arg6,(wxString const &)*arg7,(wxFontEncoding )arg8);
17673
17674 wxPyEndAllowThreads(__tstate);
17675 if (PyErr_Occurred()) SWIG_fail;
17676 }
15afbcd0 17677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
994141e6
RD
17678 {
17679 if (temp7)
17680 delete arg7;
17681 }
17682 return resultobj;
17683 fail:
17684 {
17685 if (temp7)
17686 delete arg7;
17687 }
17688 return NULL;
d14a1e28
RD
17689}
17690
17691
c32bde28 17692static PyObject *_wrap_FontList_RemoveFont(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17693 PyObject *resultobj;
17694 wxFontList *arg1 = (wxFontList *) 0 ;
17695 wxFont *arg2 = (wxFont *) 0 ;
17696 PyObject * obj0 = 0 ;
17697 PyObject * obj1 = 0 ;
17698 char *kwnames[] = {
17699 (char *) "self",(char *) "font", NULL
17700 };
d14a1e28 17701
994141e6 17702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontList_RemoveFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontList,
17704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17705 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
17706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17707 {
17708 PyThreadState* __tstate = wxPyBeginAllowThreads();
17709 (arg1)->RemoveFont(arg2);
17710
17711 wxPyEndAllowThreads(__tstate);
17712 if (PyErr_Occurred()) SWIG_fail;
17713 }
17714 Py_INCREF(Py_None); resultobj = Py_None;
17715 return resultobj;
17716 fail:
17717 return NULL;
d14a1e28
RD
17718}
17719
17720
c32bde28 17721static PyObject *_wrap_FontList_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17722 PyObject *resultobj;
17723 wxFontList *arg1 = (wxFontList *) 0 ;
17724 int result;
17725 PyObject * obj0 = 0 ;
17726 char *kwnames[] = {
17727 (char *) "self", NULL
17728 };
d14a1e28 17729
994141e6 17730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontList_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
17731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontList,
17732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17733 {
17734 PyThreadState* __tstate = wxPyBeginAllowThreads();
17735 result = (int)(arg1)->GetCount();
17736
17737 wxPyEndAllowThreads(__tstate);
17738 if (PyErr_Occurred()) SWIG_fail;
17739 }
c32bde28 17740 resultobj = SWIG_From_int((int)result);
994141e6
RD
17741 return resultobj;
17742 fail:
17743 return NULL;
d14a1e28
RD
17744}
17745
17746
c32bde28 17747static PyObject * FontList_swigregister(PyObject *, PyObject *args) {
994141e6
RD
17748 PyObject *obj;
17749 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17750 SWIG_TypeClientData(SWIGTYPE_p_wxFontList, obj);
17751 Py_INCREF(obj);
17752 return Py_BuildValue((char *)"");
17753}
c32bde28 17754static int _wrap_TheFontList_set(PyObject *) {
d14a1e28
RD
17755 PyErr_SetString(PyExc_TypeError,"Variable TheFontList is read-only.");
17756 return 1;
17757}
17758
17759
17760static PyObject *_wrap_TheFontList_get() {
17761 PyObject *pyobj;
17762
15afbcd0 17763 pyobj = SWIG_NewPointerObj((void *)(wxTheFontList), SWIGTYPE_p_wxFontList, 0);
d14a1e28
RD
17764 return pyobj;
17765}
17766
17767
c32bde28 17768static int _wrap_ThePenList_set(PyObject *) {
d14a1e28
RD
17769 PyErr_SetString(PyExc_TypeError,"Variable ThePenList is read-only.");
17770 return 1;
17771}
17772
17773
17774static PyObject *_wrap_ThePenList_get() {
17775 PyObject *pyobj;
17776
15afbcd0 17777 pyobj = SWIG_NewPointerObj((void *)(wxThePenList), SWIGTYPE_p_wxPenList, 0);
d14a1e28
RD
17778 return pyobj;
17779}
17780
17781
c32bde28 17782static int _wrap_TheBrushList_set(PyObject *) {
d14a1e28
RD
17783 PyErr_SetString(PyExc_TypeError,"Variable TheBrushList is read-only.");
17784 return 1;
17785}
17786
17787
17788static PyObject *_wrap_TheBrushList_get() {
17789 PyObject *pyobj;
17790
15afbcd0 17791 pyobj = SWIG_NewPointerObj((void *)(wxTheBrushList), SWIGTYPE_p_wxBrushList, 0);
d14a1e28
RD
17792 return pyobj;
17793}
17794
17795
c32bde28 17796static int _wrap_TheColourDatabase_set(PyObject *) {
d14a1e28
RD
17797 PyErr_SetString(PyExc_TypeError,"Variable TheColourDatabase is read-only.");
17798 return 1;
17799}
17800
17801
17802static PyObject *_wrap_TheColourDatabase_get() {
17803 PyObject *pyobj;
17804
15afbcd0 17805 pyobj = SWIG_NewPointerObj((void *)(wxTheColourDatabase), SWIGTYPE_p_wxColourDatabase, 0);
d14a1e28
RD
17806 return pyobj;
17807}
17808
17809
c32bde28 17810static PyObject *_wrap_new_Effects(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17811 PyObject *resultobj;
e811c8ce 17812 wxEffects *result;
d14a1e28 17813 char *kwnames[] = {
e811c8ce 17814 NULL
d14a1e28
RD
17815 };
17816
e811c8ce 17817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Effects",kwnames)) goto fail;
d14a1e28
RD
17818 {
17819 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 17820 result = (wxEffects *)new wxEffects();
d14a1e28
RD
17821
17822 wxPyEndAllowThreads(__tstate);
17823 if (PyErr_Occurred()) SWIG_fail;
17824 }
15afbcd0 17825 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEffects, 1);
d14a1e28
RD
17826 return resultobj;
17827 fail:
17828 return NULL;
17829}
17830
17831
c32bde28 17832static PyObject *_wrap_Effects_GetHighlightColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17833 PyObject *resultobj;
e811c8ce
RD
17834 wxEffects *arg1 = (wxEffects *) 0 ;
17835 wxColour result;
d14a1e28 17836 PyObject * obj0 = 0 ;
d14a1e28 17837 char *kwnames[] = {
e811c8ce 17838 (char *) "self", NULL
d14a1e28
RD
17839 };
17840
e811c8ce 17841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetHighlightColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
17842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17844 {
17845 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 17846 result = ((wxEffects const *)arg1)->GetHighlightColour();
d14a1e28
RD
17847
17848 wxPyEndAllowThreads(__tstate);
17849 if (PyErr_Occurred()) SWIG_fail;
17850 }
e811c8ce
RD
17851 {
17852 wxColour * resultptr;
17853 resultptr = new wxColour((wxColour &) result);
15afbcd0 17854 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
e811c8ce 17855 }
d14a1e28
RD
17856 return resultobj;
17857 fail:
17858 return NULL;
17859}
17860
17861
c32bde28 17862static PyObject *_wrap_Effects_GetLightShadow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17863 PyObject *resultobj;
e811c8ce
RD
17864 wxEffects *arg1 = (wxEffects *) 0 ;
17865 wxColour result;
d14a1e28 17866 PyObject * obj0 = 0 ;
d14a1e28 17867 char *kwnames[] = {
e811c8ce 17868 (char *) "self", NULL
d14a1e28
RD
17869 };
17870
e811c8ce 17871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetLightShadow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17874 {
17875 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 17876 result = ((wxEffects const *)arg1)->GetLightShadow();
d14a1e28
RD
17877
17878 wxPyEndAllowThreads(__tstate);
17879 if (PyErr_Occurred()) SWIG_fail;
17880 }
d14a1e28 17881 {
e811c8ce
RD
17882 wxColour * resultptr;
17883 resultptr = new wxColour((wxColour &) result);
15afbcd0 17884 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
17885 }
17886 return resultobj;
17887 fail:
d14a1e28
RD
17888 return NULL;
17889}
17890
17891
c32bde28 17892static PyObject *_wrap_Effects_GetFaceColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17893 PyObject *resultobj;
e811c8ce
RD
17894 wxEffects *arg1 = (wxEffects *) 0 ;
17895 wxColour result;
d14a1e28 17896 PyObject * obj0 = 0 ;
d14a1e28 17897 char *kwnames[] = {
e811c8ce 17898 (char *) "self", NULL
d14a1e28
RD
17899 };
17900
e811c8ce 17901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetFaceColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
17902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17904 {
17905 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 17906 result = ((wxEffects const *)arg1)->GetFaceColour();
d14a1e28
RD
17907
17908 wxPyEndAllowThreads(__tstate);
17909 if (PyErr_Occurred()) SWIG_fail;
17910 }
e811c8ce
RD
17911 {
17912 wxColour * resultptr;
17913 resultptr = new wxColour((wxColour &) result);
15afbcd0 17914 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
e811c8ce 17915 }
d14a1e28
RD
17916 return resultobj;
17917 fail:
17918 return NULL;
17919}
17920
17921
c32bde28 17922static PyObject *_wrap_Effects_GetMediumShadow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17923 PyObject *resultobj;
e811c8ce
RD
17924 wxEffects *arg1 = (wxEffects *) 0 ;
17925 wxColour result;
d14a1e28
RD
17926 PyObject * obj0 = 0 ;
17927 char *kwnames[] = {
e811c8ce 17928 (char *) "self", NULL
d14a1e28
RD
17929 };
17930
17931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetMediumShadow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17934 {
17935 PyThreadState* __tstate = wxPyBeginAllowThreads();
17936 result = ((wxEffects const *)arg1)->GetMediumShadow();
17937
17938 wxPyEndAllowThreads(__tstate);
17939 if (PyErr_Occurred()) SWIG_fail;
17940 }
17941 {
17942 wxColour * resultptr;
17943 resultptr = new wxColour((wxColour &) result);
15afbcd0 17944 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
17945 }
17946 return resultobj;
17947 fail:
17948 return NULL;
17949}
17950
17951
c32bde28 17952static PyObject *_wrap_Effects_GetDarkShadow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17953 PyObject *resultobj;
17954 wxEffects *arg1 = (wxEffects *) 0 ;
17955 wxColour result;
17956 PyObject * obj0 = 0 ;
17957 char *kwnames[] = {
17958 (char *) "self", NULL
17959 };
17960
17961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetDarkShadow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17964 {
17965 PyThreadState* __tstate = wxPyBeginAllowThreads();
17966 result = ((wxEffects const *)arg1)->GetDarkShadow();
17967
17968 wxPyEndAllowThreads(__tstate);
17969 if (PyErr_Occurred()) SWIG_fail;
17970 }
17971 {
17972 wxColour * resultptr;
17973 resultptr = new wxColour((wxColour &) result);
15afbcd0 17974 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
17975 }
17976 return resultobj;
17977 fail:
17978 return NULL;
17979}
17980
17981
c32bde28 17982static PyObject *_wrap_Effects_SetHighlightColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17983 PyObject *resultobj;
17984 wxEffects *arg1 = (wxEffects *) 0 ;
17985 wxColour *arg2 = 0 ;
17986 wxColour temp2 ;
17987 PyObject * obj0 = 0 ;
17988 PyObject * obj1 = 0 ;
17989 char *kwnames[] = {
17990 (char *) "self",(char *) "c", NULL
17991 };
17992
17993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetHighlightColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17996 {
17997 arg2 = &temp2;
17998 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17999 }
18000 {
18001 PyThreadState* __tstate = wxPyBeginAllowThreads();
18002 (arg1)->SetHighlightColour((wxColour const &)*arg2);
18003
18004 wxPyEndAllowThreads(__tstate);
18005 if (PyErr_Occurred()) SWIG_fail;
18006 }
18007 Py_INCREF(Py_None); resultobj = Py_None;
18008 return resultobj;
18009 fail:
18010 return NULL;
18011}
18012
18013
c32bde28 18014static PyObject *_wrap_Effects_SetLightShadow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18015 PyObject *resultobj;
18016 wxEffects *arg1 = (wxEffects *) 0 ;
18017 wxColour *arg2 = 0 ;
18018 wxColour temp2 ;
18019 PyObject * obj0 = 0 ;
18020 PyObject * obj1 = 0 ;
18021 char *kwnames[] = {
18022 (char *) "self",(char *) "c", NULL
18023 };
18024
18025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetLightShadow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
18027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18028 {
18029 arg2 = &temp2;
18030 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18031 }
18032 {
18033 PyThreadState* __tstate = wxPyBeginAllowThreads();
18034 (arg1)->SetLightShadow((wxColour const &)*arg2);
18035
18036 wxPyEndAllowThreads(__tstate);
18037 if (PyErr_Occurred()) SWIG_fail;
18038 }
18039 Py_INCREF(Py_None); resultobj = Py_None;
18040 return resultobj;
18041 fail:
18042 return NULL;
18043}
18044
18045
c32bde28 18046static PyObject *_wrap_Effects_SetFaceColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18047 PyObject *resultobj;
18048 wxEffects *arg1 = (wxEffects *) 0 ;
18049 wxColour *arg2 = 0 ;
18050 wxColour temp2 ;
18051 PyObject * obj0 = 0 ;
18052 PyObject * obj1 = 0 ;
18053 char *kwnames[] = {
18054 (char *) "self",(char *) "c", NULL
18055 };
18056
18057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetFaceColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
18059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18060 {
18061 arg2 = &temp2;
18062 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18063 }
18064 {
18065 PyThreadState* __tstate = wxPyBeginAllowThreads();
18066 (arg1)->SetFaceColour((wxColour const &)*arg2);
18067
18068 wxPyEndAllowThreads(__tstate);
18069 if (PyErr_Occurred()) SWIG_fail;
18070 }
18071 Py_INCREF(Py_None); resultobj = Py_None;
18072 return resultobj;
18073 fail:
18074 return NULL;
18075}
18076
18077
c32bde28 18078static PyObject *_wrap_Effects_SetMediumShadow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18079 PyObject *resultobj;
18080 wxEffects *arg1 = (wxEffects *) 0 ;
18081 wxColour *arg2 = 0 ;
18082 wxColour temp2 ;
18083 PyObject * obj0 = 0 ;
18084 PyObject * obj1 = 0 ;
18085 char *kwnames[] = {
18086 (char *) "self",(char *) "c", NULL
18087 };
18088
18089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetMediumShadow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
18091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18092 {
18093 arg2 = &temp2;
18094 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18095 }
18096 {
18097 PyThreadState* __tstate = wxPyBeginAllowThreads();
18098 (arg1)->SetMediumShadow((wxColour const &)*arg2);
18099
18100 wxPyEndAllowThreads(__tstate);
18101 if (PyErr_Occurred()) SWIG_fail;
18102 }
18103 Py_INCREF(Py_None); resultobj = Py_None;
18104 return resultobj;
18105 fail:
18106 return NULL;
18107}
18108
18109
c32bde28 18110static PyObject *_wrap_Effects_SetDarkShadow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18111 PyObject *resultobj;
18112 wxEffects *arg1 = (wxEffects *) 0 ;
18113 wxColour *arg2 = 0 ;
18114 wxColour temp2 ;
18115 PyObject * obj0 = 0 ;
18116 PyObject * obj1 = 0 ;
18117 char *kwnames[] = {
18118 (char *) "self",(char *) "c", NULL
18119 };
18120
18121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetDarkShadow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
18123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18124 {
18125 arg2 = &temp2;
18126 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18127 }
18128 {
18129 PyThreadState* __tstate = wxPyBeginAllowThreads();
18130 (arg1)->SetDarkShadow((wxColour const &)*arg2);
18131
18132 wxPyEndAllowThreads(__tstate);
18133 if (PyErr_Occurred()) SWIG_fail;
18134 }
18135 Py_INCREF(Py_None); resultobj = Py_None;
18136 return resultobj;
18137 fail:
18138 return NULL;
18139}
18140
18141
c32bde28 18142static PyObject *_wrap_Effects_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18143 PyObject *resultobj;
18144 wxEffects *arg1 = (wxEffects *) 0 ;
18145 wxColour *arg2 = 0 ;
18146 wxColour *arg3 = 0 ;
18147 wxColour *arg4 = 0 ;
18148 wxColour *arg5 = 0 ;
18149 wxColour *arg6 = 0 ;
18150 wxColour temp2 ;
18151 wxColour temp3 ;
18152 wxColour temp4 ;
18153 wxColour temp5 ;
18154 wxColour temp6 ;
18155 PyObject * obj0 = 0 ;
18156 PyObject * obj1 = 0 ;
18157 PyObject * obj2 = 0 ;
18158 PyObject * obj3 = 0 ;
18159 PyObject * obj4 = 0 ;
18160 PyObject * obj5 = 0 ;
18161 char *kwnames[] = {
18162 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18163 };
18164
18165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Effects_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
18166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
18167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18168 {
18169 arg2 = &temp2;
18170 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18171 }
18172 {
18173 arg3 = &temp3;
18174 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
18175 }
18176 {
18177 arg4 = &temp4;
18178 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
18179 }
18180 {
18181 arg5 = &temp5;
18182 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
18183 }
18184 {
18185 arg6 = &temp6;
18186 if ( ! wxColour_helper(obj5, &arg6)) SWIG_fail;
18187 }
18188 {
18189 PyThreadState* __tstate = wxPyBeginAllowThreads();
18190 (arg1)->Set((wxColour const &)*arg2,(wxColour const &)*arg3,(wxColour const &)*arg4,(wxColour const &)*arg5,(wxColour const &)*arg6);
18191
18192 wxPyEndAllowThreads(__tstate);
18193 if (PyErr_Occurred()) SWIG_fail;
18194 }
18195 Py_INCREF(Py_None); resultobj = Py_None;
18196 return resultobj;
18197 fail:
18198 return NULL;
18199}
18200
18201
c32bde28 18202static PyObject *_wrap_Effects_DrawSunkenEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18203 PyObject *resultobj;
18204 wxEffects *arg1 = (wxEffects *) 0 ;
18205 wxDC *arg2 = 0 ;
18206 wxRect *arg3 = 0 ;
18207 int arg4 = (int) 1 ;
18208 wxRect temp3 ;
18209 PyObject * obj0 = 0 ;
18210 PyObject * obj1 = 0 ;
18211 PyObject * obj2 = 0 ;
994141e6 18212 PyObject * obj3 = 0 ;
d14a1e28
RD
18213 char *kwnames[] = {
18214 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18215 };
18216
994141e6 18217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
18218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
18219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18220 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18221 SWIG_POINTER_EXCEPTION | 0)) == -1)
18222 SWIG_fail;
d14a1e28 18223 if (arg2 == NULL) {
15afbcd0
RD
18224 PyErr_SetString(PyExc_TypeError,"null reference");
18225 SWIG_fail;
d14a1e28
RD
18226 }
18227 {
18228 arg3 = &temp3;
18229 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
18230 }
994141e6 18231 if (obj3) {
c32bde28 18232 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 18233 if (PyErr_Occurred()) SWIG_fail;
994141e6 18234 }
d14a1e28
RD
18235 {
18236 PyThreadState* __tstate = wxPyBeginAllowThreads();
18237 (arg1)->DrawSunkenEdge(*arg2,(wxRect const &)*arg3,arg4);
18238
18239 wxPyEndAllowThreads(__tstate);
18240 if (PyErr_Occurred()) SWIG_fail;
18241 }
18242 Py_INCREF(Py_None); resultobj = Py_None;
18243 return resultobj;
18244 fail:
18245 return NULL;
18246}
18247
18248
c32bde28 18249static PyObject *_wrap_Effects_TileBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18250 PyObject *resultobj;
18251 wxEffects *arg1 = (wxEffects *) 0 ;
18252 wxRect *arg2 = 0 ;
18253 wxDC *arg3 = 0 ;
18254 wxBitmap *arg4 = 0 ;
18255 bool result;
18256 wxRect temp2 ;
18257 PyObject * obj0 = 0 ;
18258 PyObject * obj1 = 0 ;
18259 PyObject * obj2 = 0 ;
18260 PyObject * obj3 = 0 ;
18261 char *kwnames[] = {
18262 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18263 };
18264
18265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Effects_TileBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
18266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
18267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18268 {
18269 arg2 = &temp2;
18270 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
18271 }
15afbcd0
RD
18272 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
18273 SWIG_POINTER_EXCEPTION | 0)) == -1)
18274 SWIG_fail;
d14a1e28 18275 if (arg3 == NULL) {
15afbcd0
RD
18276 PyErr_SetString(PyExc_TypeError,"null reference");
18277 SWIG_fail;
d14a1e28 18278 }
15afbcd0
RD
18279 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
18280 SWIG_POINTER_EXCEPTION | 0)) == -1)
18281 SWIG_fail;
d14a1e28 18282 if (arg4 == NULL) {
15afbcd0
RD
18283 PyErr_SetString(PyExc_TypeError,"null reference");
18284 SWIG_fail;
d14a1e28
RD
18285 }
18286 {
18287 PyThreadState* __tstate = wxPyBeginAllowThreads();
18288 result = (bool)(arg1)->TileBitmap((wxRect const &)*arg2,*arg3,*arg4);
18289
18290 wxPyEndAllowThreads(__tstate);
18291 if (PyErr_Occurred()) SWIG_fail;
18292 }
4f89f6a3
RD
18293 {
18294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18295 }
d14a1e28
RD
18296 return resultobj;
18297 fail:
18298 return NULL;
18299}
18300
18301
c32bde28 18302static PyObject * Effects_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18303 PyObject *obj;
18304 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18305 SWIG_TypeClientData(SWIGTYPE_p_wxEffects, obj);
18306 Py_INCREF(obj);
18307 return Py_BuildValue((char *)"");
18308}
18309static PyMethodDef SwigMethods[] = {
c32bde28
RD
18310 { (char *)"new_GDIObject", (PyCFunction) _wrap_new_GDIObject, METH_VARARGS | METH_KEYWORDS, NULL },
18311 { (char *)"delete_GDIObject", (PyCFunction) _wrap_delete_GDIObject, METH_VARARGS | METH_KEYWORDS, NULL },
18312 { (char *)"GDIObject_GetVisible", (PyCFunction) _wrap_GDIObject_GetVisible, METH_VARARGS | METH_KEYWORDS, NULL },
18313 { (char *)"GDIObject_SetVisible", (PyCFunction) _wrap_GDIObject_SetVisible, METH_VARARGS | METH_KEYWORDS, NULL },
18314 { (char *)"GDIObject_IsNull", (PyCFunction) _wrap_GDIObject_IsNull, METH_VARARGS | METH_KEYWORDS, NULL },
18315 { (char *)"GDIObject_swigregister", GDIObject_swigregister, METH_VARARGS, NULL },
18316 { (char *)"new_Colour", (PyCFunction) _wrap_new_Colour, METH_VARARGS | METH_KEYWORDS, NULL },
18317 { (char *)"new_NamedColour", (PyCFunction) _wrap_new_NamedColour, METH_VARARGS | METH_KEYWORDS, NULL },
18318 { (char *)"new_ColourRGB", (PyCFunction) _wrap_new_ColourRGB, METH_VARARGS | METH_KEYWORDS, NULL },
18319 { (char *)"delete_Colour", (PyCFunction) _wrap_delete_Colour, METH_VARARGS | METH_KEYWORDS, NULL },
18320 { (char *)"Colour_Red", (PyCFunction) _wrap_Colour_Red, METH_VARARGS | METH_KEYWORDS, NULL },
18321 { (char *)"Colour_Green", (PyCFunction) _wrap_Colour_Green, METH_VARARGS | METH_KEYWORDS, NULL },
18322 { (char *)"Colour_Blue", (PyCFunction) _wrap_Colour_Blue, METH_VARARGS | METH_KEYWORDS, NULL },
18323 { (char *)"Colour_Ok", (PyCFunction) _wrap_Colour_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18324 { (char *)"Colour_Set", (PyCFunction) _wrap_Colour_Set, METH_VARARGS | METH_KEYWORDS, NULL },
18325 { (char *)"Colour_SetRGB", (PyCFunction) _wrap_Colour_SetRGB, METH_VARARGS | METH_KEYWORDS, NULL },
18326 { (char *)"Colour_SetFromName", (PyCFunction) _wrap_Colour_SetFromName, METH_VARARGS | METH_KEYWORDS, NULL },
18327 { (char *)"Colour_GetPixel", (PyCFunction) _wrap_Colour_GetPixel, METH_VARARGS | METH_KEYWORDS, NULL },
18328 { (char *)"Colour___eq__", (PyCFunction) _wrap_Colour___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
18329 { (char *)"Colour___ne__", (PyCFunction) _wrap_Colour___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
18330 { (char *)"Colour_Get", (PyCFunction) _wrap_Colour_Get, METH_VARARGS | METH_KEYWORDS, NULL },
18331 { (char *)"Colour_GetRGB", (PyCFunction) _wrap_Colour_GetRGB, METH_VARARGS | METH_KEYWORDS, NULL },
18332 { (char *)"Colour_swigregister", Colour_swigregister, METH_VARARGS, NULL },
18333 { (char *)"new_Palette", (PyCFunction) _wrap_new_Palette, METH_VARARGS | METH_KEYWORDS, NULL },
18334 { (char *)"delete_Palette", (PyCFunction) _wrap_delete_Palette, METH_VARARGS | METH_KEYWORDS, NULL },
18335 { (char *)"Palette_GetPixel", (PyCFunction) _wrap_Palette_GetPixel, METH_VARARGS | METH_KEYWORDS, NULL },
18336 { (char *)"Palette_GetRGB", (PyCFunction) _wrap_Palette_GetRGB, METH_VARARGS | METH_KEYWORDS, NULL },
18337 { (char *)"Palette_Ok", (PyCFunction) _wrap_Palette_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18338 { (char *)"Palette_swigregister", Palette_swigregister, METH_VARARGS, NULL },
18339 { (char *)"new_Pen", (PyCFunction) _wrap_new_Pen, METH_VARARGS | METH_KEYWORDS, NULL },
18340 { (char *)"delete_Pen", (PyCFunction) _wrap_delete_Pen, METH_VARARGS | METH_KEYWORDS, NULL },
18341 { (char *)"Pen_GetCap", (PyCFunction) _wrap_Pen_GetCap, METH_VARARGS | METH_KEYWORDS, NULL },
18342 { (char *)"Pen_GetColour", (PyCFunction) _wrap_Pen_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
18343 { (char *)"Pen_GetJoin", (PyCFunction) _wrap_Pen_GetJoin, METH_VARARGS | METH_KEYWORDS, NULL },
18344 { (char *)"Pen_GetStyle", (PyCFunction) _wrap_Pen_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
18345 { (char *)"Pen_GetWidth", (PyCFunction) _wrap_Pen_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18346 { (char *)"Pen_Ok", (PyCFunction) _wrap_Pen_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18347 { (char *)"Pen_SetCap", (PyCFunction) _wrap_Pen_SetCap, METH_VARARGS | METH_KEYWORDS, NULL },
18348 { (char *)"Pen_SetColour", (PyCFunction) _wrap_Pen_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
18349 { (char *)"Pen_SetJoin", (PyCFunction) _wrap_Pen_SetJoin, METH_VARARGS | METH_KEYWORDS, NULL },
18350 { (char *)"Pen_SetStyle", (PyCFunction) _wrap_Pen_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
18351 { (char *)"Pen_SetWidth", (PyCFunction) _wrap_Pen_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18352 { (char *)"Pen_SetDashes", (PyCFunction) _wrap_Pen_SetDashes, METH_VARARGS | METH_KEYWORDS, NULL },
18353 { (char *)"Pen_GetDashes", (PyCFunction) _wrap_Pen_GetDashes, METH_VARARGS | METH_KEYWORDS, NULL },
18354 { (char *)"Pen__SetDashes", (PyCFunction) _wrap_Pen__SetDashes, METH_VARARGS | METH_KEYWORDS, NULL },
18355 { (char *)"Pen_GetDashCount", (PyCFunction) _wrap_Pen_GetDashCount, METH_VARARGS | METH_KEYWORDS, NULL },
18356 { (char *)"Pen___eq__", (PyCFunction) _wrap_Pen___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
18357 { (char *)"Pen___ne__", (PyCFunction) _wrap_Pen___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
18358 { (char *)"Pen_swigregister", Pen_swigregister, METH_VARARGS, NULL },
18359 { (char *)"new_Brush", (PyCFunction) _wrap_new_Brush, METH_VARARGS | METH_KEYWORDS, NULL },
18360 { (char *)"delete_Brush", (PyCFunction) _wrap_delete_Brush, METH_VARARGS | METH_KEYWORDS, NULL },
18361 { (char *)"Brush_SetColour", (PyCFunction) _wrap_Brush_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
18362 { (char *)"Brush_SetStyle", (PyCFunction) _wrap_Brush_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
18363 { (char *)"Brush_SetStipple", (PyCFunction) _wrap_Brush_SetStipple, METH_VARARGS | METH_KEYWORDS, NULL },
18364 { (char *)"Brush_GetColour", (PyCFunction) _wrap_Brush_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
18365 { (char *)"Brush_GetStyle", (PyCFunction) _wrap_Brush_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
18366 { (char *)"Brush_GetStipple", (PyCFunction) _wrap_Brush_GetStipple, METH_VARARGS | METH_KEYWORDS, NULL },
18367 { (char *)"Brush_Ok", (PyCFunction) _wrap_Brush_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18368 { (char *)"Brush_swigregister", Brush_swigregister, METH_VARARGS, NULL },
18369 { (char *)"new_Bitmap", (PyCFunction) _wrap_new_Bitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18370 { (char *)"delete_Bitmap", (PyCFunction) _wrap_delete_Bitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18371 { (char *)"new_EmptyBitmap", (PyCFunction) _wrap_new_EmptyBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18372 { (char *)"new_BitmapFromIcon", (PyCFunction) _wrap_new_BitmapFromIcon, METH_VARARGS | METH_KEYWORDS, NULL },
18373 { (char *)"new_BitmapFromImage", (PyCFunction) _wrap_new_BitmapFromImage, METH_VARARGS | METH_KEYWORDS, NULL },
18374 { (char *)"new_BitmapFromXPMData", (PyCFunction) _wrap_new_BitmapFromXPMData, METH_VARARGS | METH_KEYWORDS, NULL },
18375 { (char *)"new_BitmapFromBits", (PyCFunction) _wrap_new_BitmapFromBits, METH_VARARGS | METH_KEYWORDS, NULL },
18376 { (char *)"Bitmap_Ok", (PyCFunction) _wrap_Bitmap_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18377 { (char *)"Bitmap_GetWidth", (PyCFunction) _wrap_Bitmap_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18378 { (char *)"Bitmap_GetHeight", (PyCFunction) _wrap_Bitmap_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
18379 { (char *)"Bitmap_GetDepth", (PyCFunction) _wrap_Bitmap_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
18380 { (char *)"Bitmap_GetSize", (PyCFunction) _wrap_Bitmap_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
18381 { (char *)"Bitmap_ConvertToImage", (PyCFunction) _wrap_Bitmap_ConvertToImage, METH_VARARGS | METH_KEYWORDS, NULL },
18382 { (char *)"Bitmap_GetMask", (PyCFunction) _wrap_Bitmap_GetMask, METH_VARARGS | METH_KEYWORDS, NULL },
18383 { (char *)"Bitmap_SetMask", (PyCFunction) _wrap_Bitmap_SetMask, METH_VARARGS | METH_KEYWORDS, NULL },
18384 { (char *)"Bitmap_SetMaskColour", (PyCFunction) _wrap_Bitmap_SetMaskColour, METH_VARARGS | METH_KEYWORDS, NULL },
18385 { (char *)"Bitmap_GetSubBitmap", (PyCFunction) _wrap_Bitmap_GetSubBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18386 { (char *)"Bitmap_SaveFile", (PyCFunction) _wrap_Bitmap_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL },
18387 { (char *)"Bitmap_LoadFile", (PyCFunction) _wrap_Bitmap_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
18388 { (char *)"Bitmap_CopyFromIcon", (PyCFunction) _wrap_Bitmap_CopyFromIcon, METH_VARARGS | METH_KEYWORDS, NULL },
18389 { (char *)"Bitmap_SetHeight", (PyCFunction) _wrap_Bitmap_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
18390 { (char *)"Bitmap_SetWidth", (PyCFunction) _wrap_Bitmap_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18391 { (char *)"Bitmap_SetDepth", (PyCFunction) _wrap_Bitmap_SetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
18392 { (char *)"Bitmap_SetSize", (PyCFunction) _wrap_Bitmap_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
18393 { (char *)"Bitmap___eq__", (PyCFunction) _wrap_Bitmap___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
18394 { (char *)"Bitmap___ne__", (PyCFunction) _wrap_Bitmap___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
18395 { (char *)"Bitmap_swigregister", Bitmap_swigregister, METH_VARARGS, NULL },
18396 { (char *)"new_Mask", (PyCFunction) _wrap_new_Mask, METH_VARARGS | METH_KEYWORDS, NULL },
18397 { (char *)"Mask_swigregister", Mask_swigregister, METH_VARARGS, NULL },
18398 { (char *)"new_Icon", (PyCFunction) _wrap_new_Icon, METH_VARARGS | METH_KEYWORDS, NULL },
18399 { (char *)"delete_Icon", (PyCFunction) _wrap_delete_Icon, METH_VARARGS | METH_KEYWORDS, NULL },
18400 { (char *)"new_EmptyIcon", (PyCFunction) _wrap_new_EmptyIcon, METH_VARARGS | METH_KEYWORDS, NULL },
18401 { (char *)"new_IconFromLocation", (PyCFunction) _wrap_new_IconFromLocation, METH_VARARGS | METH_KEYWORDS, NULL },
18402 { (char *)"new_IconFromBitmap", (PyCFunction) _wrap_new_IconFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18403 { (char *)"new_IconFromXPMData", (PyCFunction) _wrap_new_IconFromXPMData, METH_VARARGS | METH_KEYWORDS, NULL },
18404 { (char *)"Icon_LoadFile", (PyCFunction) _wrap_Icon_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
18405 { (char *)"Icon_Ok", (PyCFunction) _wrap_Icon_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18406 { (char *)"Icon_GetWidth", (PyCFunction) _wrap_Icon_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18407 { (char *)"Icon_GetHeight", (PyCFunction) _wrap_Icon_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
18408 { (char *)"Icon_GetDepth", (PyCFunction) _wrap_Icon_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
18409 { (char *)"Icon_SetWidth", (PyCFunction) _wrap_Icon_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18410 { (char *)"Icon_SetHeight", (PyCFunction) _wrap_Icon_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
18411 { (char *)"Icon_SetDepth", (PyCFunction) _wrap_Icon_SetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
18412 { (char *)"Icon_CopyFromBitmap", (PyCFunction) _wrap_Icon_CopyFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18413 { (char *)"Icon_swigregister", Icon_swigregister, METH_VARARGS, NULL },
18414 { (char *)"new_IconLocation", (PyCFunction) _wrap_new_IconLocation, METH_VARARGS | METH_KEYWORDS, NULL },
18415 { (char *)"delete_IconLocation", (PyCFunction) _wrap_delete_IconLocation, METH_VARARGS | METH_KEYWORDS, NULL },
18416 { (char *)"IconLocation_IsOk", (PyCFunction) _wrap_IconLocation_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
18417 { (char *)"IconLocation_SetFileName", (PyCFunction) _wrap_IconLocation_SetFileName, METH_VARARGS | METH_KEYWORDS, NULL },
18418 { (char *)"IconLocation_GetFileName", (PyCFunction) _wrap_IconLocation_GetFileName, METH_VARARGS | METH_KEYWORDS, NULL },
18419 { (char *)"IconLocation_SetIndex", (PyCFunction) _wrap_IconLocation_SetIndex, METH_VARARGS | METH_KEYWORDS, NULL },
18420 { (char *)"IconLocation_GetIndex", (PyCFunction) _wrap_IconLocation_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL },
18421 { (char *)"IconLocation_swigregister", IconLocation_swigregister, METH_VARARGS, NULL },
18422 { (char *)"new_IconBundle", (PyCFunction) _wrap_new_IconBundle, METH_VARARGS | METH_KEYWORDS, NULL },
18423 { (char *)"new_IconBundleFromFile", (PyCFunction) _wrap_new_IconBundleFromFile, METH_VARARGS | METH_KEYWORDS, NULL },
18424 { (char *)"new_IconBundleFromIcon", (PyCFunction) _wrap_new_IconBundleFromIcon, METH_VARARGS | METH_KEYWORDS, NULL },
18425 { (char *)"delete_IconBundle", (PyCFunction) _wrap_delete_IconBundle, METH_VARARGS | METH_KEYWORDS, NULL },
18426 { (char *)"IconBundle_AddIcon", (PyCFunction) _wrap_IconBundle_AddIcon, METH_VARARGS | METH_KEYWORDS, NULL },
18427 { (char *)"IconBundle_AddIconFromFile", (PyCFunction) _wrap_IconBundle_AddIconFromFile, METH_VARARGS | METH_KEYWORDS, NULL },
18428 { (char *)"IconBundle_GetIcon", (PyCFunction) _wrap_IconBundle_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
18429 { (char *)"IconBundle_swigregister", IconBundle_swigregister, METH_VARARGS, NULL },
18430 { (char *)"new_Cursor", (PyCFunction) _wrap_new_Cursor, METH_VARARGS | METH_KEYWORDS, NULL },
18431 { (char *)"delete_Cursor", (PyCFunction) _wrap_delete_Cursor, METH_VARARGS | METH_KEYWORDS, NULL },
18432 { (char *)"new_StockCursor", (PyCFunction) _wrap_new_StockCursor, METH_VARARGS | METH_KEYWORDS, NULL },
18433 { (char *)"new_CursorFromImage", (PyCFunction) _wrap_new_CursorFromImage, METH_VARARGS | METH_KEYWORDS, NULL },
18434 { (char *)"Cursor_Ok", (PyCFunction) _wrap_Cursor_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18435 { (char *)"Cursor_swigregister", Cursor_swigregister, METH_VARARGS, NULL },
18436 { (char *)"new_Region", (PyCFunction) _wrap_new_Region, METH_VARARGS | METH_KEYWORDS, NULL },
18437 { (char *)"new_RegionFromBitmap", (PyCFunction) _wrap_new_RegionFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18438 { (char *)"new_RegionFromBitmapColour", (PyCFunction) _wrap_new_RegionFromBitmapColour, METH_VARARGS | METH_KEYWORDS, NULL },
18439 { (char *)"new_RegionFromPoints", (PyCFunction) _wrap_new_RegionFromPoints, METH_VARARGS | METH_KEYWORDS, NULL },
18440 { (char *)"delete_Region", (PyCFunction) _wrap_delete_Region, METH_VARARGS | METH_KEYWORDS, NULL },
18441 { (char *)"Region_Clear", (PyCFunction) _wrap_Region_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
18442 { (char *)"Region_Offset", (PyCFunction) _wrap_Region_Offset, METH_VARARGS | METH_KEYWORDS, NULL },
18443 { (char *)"Region_Contains", (PyCFunction) _wrap_Region_Contains, METH_VARARGS | METH_KEYWORDS, NULL },
18444 { (char *)"Region_ContainsPoint", (PyCFunction) _wrap_Region_ContainsPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18445 { (char *)"Region_ContainsRect", (PyCFunction) _wrap_Region_ContainsRect, METH_VARARGS | METH_KEYWORDS, NULL },
18446 { (char *)"Region_ContainsRectDim", (PyCFunction) _wrap_Region_ContainsRectDim, METH_VARARGS | METH_KEYWORDS, NULL },
18447 { (char *)"Region_GetBox", (PyCFunction) _wrap_Region_GetBox, METH_VARARGS | METH_KEYWORDS, NULL },
18448 { (char *)"Region_Intersect", (PyCFunction) _wrap_Region_Intersect, METH_VARARGS | METH_KEYWORDS, NULL },
18449 { (char *)"Region_IntersectRect", (PyCFunction) _wrap_Region_IntersectRect, METH_VARARGS | METH_KEYWORDS, NULL },
18450 { (char *)"Region_IntersectRegion", (PyCFunction) _wrap_Region_IntersectRegion, METH_VARARGS | METH_KEYWORDS, NULL },
18451 { (char *)"Region_IsEmpty", (PyCFunction) _wrap_Region_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL },
18452 { (char *)"Region_Union", (PyCFunction) _wrap_Region_Union, METH_VARARGS | METH_KEYWORDS, NULL },
18453 { (char *)"Region_UnionRect", (PyCFunction) _wrap_Region_UnionRect, METH_VARARGS | METH_KEYWORDS, NULL },
18454 { (char *)"Region_UnionRegion", (PyCFunction) _wrap_Region_UnionRegion, METH_VARARGS | METH_KEYWORDS, NULL },
18455 { (char *)"Region_Subtract", (PyCFunction) _wrap_Region_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
18456 { (char *)"Region_SubtractRect", (PyCFunction) _wrap_Region_SubtractRect, METH_VARARGS | METH_KEYWORDS, NULL },
18457 { (char *)"Region_SubtractRegion", (PyCFunction) _wrap_Region_SubtractRegion, METH_VARARGS | METH_KEYWORDS, NULL },
18458 { (char *)"Region_Xor", (PyCFunction) _wrap_Region_Xor, METH_VARARGS | METH_KEYWORDS, NULL },
18459 { (char *)"Region_XorRect", (PyCFunction) _wrap_Region_XorRect, METH_VARARGS | METH_KEYWORDS, NULL },
18460 { (char *)"Region_XorRegion", (PyCFunction) _wrap_Region_XorRegion, METH_VARARGS | METH_KEYWORDS, NULL },
18461 { (char *)"Region_ConvertToBitmap", (PyCFunction) _wrap_Region_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18462 { (char *)"Region_UnionBitmap", (PyCFunction) _wrap_Region_UnionBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18463 { (char *)"Region_UnionBitmapColour", (PyCFunction) _wrap_Region_UnionBitmapColour, METH_VARARGS | METH_KEYWORDS, NULL },
18464 { (char *)"Region_swigregister", Region_swigregister, METH_VARARGS, NULL },
18465 { (char *)"new_RegionIterator", (PyCFunction) _wrap_new_RegionIterator, METH_VARARGS | METH_KEYWORDS, NULL },
18466 { (char *)"delete_RegionIterator", (PyCFunction) _wrap_delete_RegionIterator, METH_VARARGS | METH_KEYWORDS, NULL },
18467 { (char *)"RegionIterator_GetX", (PyCFunction) _wrap_RegionIterator_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
18468 { (char *)"RegionIterator_GetY", (PyCFunction) _wrap_RegionIterator_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
18469 { (char *)"RegionIterator_GetW", (PyCFunction) _wrap_RegionIterator_GetW, METH_VARARGS | METH_KEYWORDS, NULL },
18470 { (char *)"RegionIterator_GetWidth", (PyCFunction) _wrap_RegionIterator_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18471 { (char *)"RegionIterator_GetH", (PyCFunction) _wrap_RegionIterator_GetH, METH_VARARGS | METH_KEYWORDS, NULL },
18472 { (char *)"RegionIterator_GetHeight", (PyCFunction) _wrap_RegionIterator_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
18473 { (char *)"RegionIterator_GetRect", (PyCFunction) _wrap_RegionIterator_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
18474 { (char *)"RegionIterator_HaveRects", (PyCFunction) _wrap_RegionIterator_HaveRects, METH_VARARGS | METH_KEYWORDS, NULL },
18475 { (char *)"RegionIterator_Reset", (PyCFunction) _wrap_RegionIterator_Reset, METH_VARARGS | METH_KEYWORDS, NULL },
18476 { (char *)"RegionIterator_Next", (PyCFunction) _wrap_RegionIterator_Next, METH_VARARGS | METH_KEYWORDS, NULL },
18477 { (char *)"RegionIterator___nonzero__", (PyCFunction) _wrap_RegionIterator___nonzero__, METH_VARARGS | METH_KEYWORDS, NULL },
18478 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister, METH_VARARGS, NULL },
18479 { (char *)"new_NativeFontInfo", (PyCFunction) _wrap_new_NativeFontInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18480 { (char *)"delete_NativeFontInfo", (PyCFunction) _wrap_delete_NativeFontInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18481 { (char *)"NativeFontInfo_Init", (PyCFunction) _wrap_NativeFontInfo_Init, METH_VARARGS | METH_KEYWORDS, NULL },
18482 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction) _wrap_NativeFontInfo_InitFromFont, METH_VARARGS | METH_KEYWORDS, NULL },
18483 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction) _wrap_NativeFontInfo_GetPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
18484 { (char *)"NativeFontInfo_GetStyle", (PyCFunction) _wrap_NativeFontInfo_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
18485 { (char *)"NativeFontInfo_GetWeight", (PyCFunction) _wrap_NativeFontInfo_GetWeight, METH_VARARGS | METH_KEYWORDS, NULL },
18486 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction) _wrap_NativeFontInfo_GetUnderlined, METH_VARARGS | METH_KEYWORDS, NULL },
18487 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction) _wrap_NativeFontInfo_GetFaceName, METH_VARARGS | METH_KEYWORDS, NULL },
18488 { (char *)"NativeFontInfo_GetFamily", (PyCFunction) _wrap_NativeFontInfo_GetFamily, METH_VARARGS | METH_KEYWORDS, NULL },
18489 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction) _wrap_NativeFontInfo_GetEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18490 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction) _wrap_NativeFontInfo_SetPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
18491 { (char *)"NativeFontInfo_SetStyle", (PyCFunction) _wrap_NativeFontInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
18492 { (char *)"NativeFontInfo_SetWeight", (PyCFunction) _wrap_NativeFontInfo_SetWeight, METH_VARARGS | METH_KEYWORDS, NULL },
18493 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction) _wrap_NativeFontInfo_SetUnderlined, METH_VARARGS | METH_KEYWORDS, NULL },
18494 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction) _wrap_NativeFontInfo_SetFaceName, METH_VARARGS | METH_KEYWORDS, NULL },
18495 { (char *)"NativeFontInfo_SetFamily", (PyCFunction) _wrap_NativeFontInfo_SetFamily, METH_VARARGS | METH_KEYWORDS, NULL },
18496 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction) _wrap_NativeFontInfo_SetEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18497 { (char *)"NativeFontInfo_FromString", (PyCFunction) _wrap_NativeFontInfo_FromString, METH_VARARGS | METH_KEYWORDS, NULL },
18498 { (char *)"NativeFontInfo_ToString", (PyCFunction) _wrap_NativeFontInfo_ToString, METH_VARARGS | METH_KEYWORDS, NULL },
18499 { (char *)"NativeFontInfo___str__", (PyCFunction) _wrap_NativeFontInfo___str__, METH_VARARGS | METH_KEYWORDS, NULL },
18500 { (char *)"NativeFontInfo_FromUserString", (PyCFunction) _wrap_NativeFontInfo_FromUserString, METH_VARARGS | METH_KEYWORDS, NULL },
18501 { (char *)"NativeFontInfo_ToUserString", (PyCFunction) _wrap_NativeFontInfo_ToUserString, METH_VARARGS | METH_KEYWORDS, NULL },
18502 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister, METH_VARARGS, NULL },
18503 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction) _wrap_NativeEncodingInfo_facename_set, METH_VARARGS | METH_KEYWORDS, NULL },
18504 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction) _wrap_NativeEncodingInfo_facename_get, METH_VARARGS | METH_KEYWORDS, NULL },
18505 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction) _wrap_NativeEncodingInfo_encoding_set, METH_VARARGS | METH_KEYWORDS, NULL },
18506 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction) _wrap_NativeEncodingInfo_encoding_get, METH_VARARGS | METH_KEYWORDS, NULL },
18507 { (char *)"new_NativeEncodingInfo", (PyCFunction) _wrap_new_NativeEncodingInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18508 { (char *)"delete_NativeEncodingInfo", (PyCFunction) _wrap_delete_NativeEncodingInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18509 { (char *)"NativeEncodingInfo_FromString", (PyCFunction) _wrap_NativeEncodingInfo_FromString, METH_VARARGS | METH_KEYWORDS, NULL },
18510 { (char *)"NativeEncodingInfo_ToString", (PyCFunction) _wrap_NativeEncodingInfo_ToString, METH_VARARGS | METH_KEYWORDS, NULL },
18511 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister, METH_VARARGS, NULL },
18512 { (char *)"GetNativeFontEncoding", (PyCFunction) _wrap_GetNativeFontEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18513 { (char *)"TestFontEncoding", (PyCFunction) _wrap_TestFontEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18514 { (char *)"new_FontMapper", (PyCFunction) _wrap_new_FontMapper, METH_VARARGS | METH_KEYWORDS, NULL },
18515 { (char *)"delete_FontMapper", (PyCFunction) _wrap_delete_FontMapper, METH_VARARGS | METH_KEYWORDS, NULL },
18516 { (char *)"FontMapper_Get", (PyCFunction) _wrap_FontMapper_Get, METH_VARARGS | METH_KEYWORDS, NULL },
18517 { (char *)"FontMapper_Set", (PyCFunction) _wrap_FontMapper_Set, METH_VARARGS | METH_KEYWORDS, NULL },
18518 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction) _wrap_FontMapper_CharsetToEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18519 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction) _wrap_FontMapper_GetSupportedEncodingsCount, METH_VARARGS | METH_KEYWORDS, NULL },
18520 { (char *)"FontMapper_GetEncoding", (PyCFunction) _wrap_FontMapper_GetEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18521 { (char *)"FontMapper_GetEncodingName", (PyCFunction) _wrap_FontMapper_GetEncodingName, METH_VARARGS | METH_KEYWORDS, NULL },
18522 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction) _wrap_FontMapper_GetEncodingDescription, METH_VARARGS | METH_KEYWORDS, NULL },
18523 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction) _wrap_FontMapper_GetEncodingFromName, METH_VARARGS | METH_KEYWORDS, NULL },
18524 { (char *)"FontMapper_SetConfig", (PyCFunction) _wrap_FontMapper_SetConfig, METH_VARARGS | METH_KEYWORDS, NULL },
18525 { (char *)"FontMapper_SetConfigPath", (PyCFunction) _wrap_FontMapper_SetConfigPath, METH_VARARGS | METH_KEYWORDS, NULL },
18526 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction) _wrap_FontMapper_GetDefaultConfigPath, METH_VARARGS | METH_KEYWORDS, NULL },
18527 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction) _wrap_FontMapper_GetAltForEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18528 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction) _wrap_FontMapper_IsEncodingAvailable, METH_VARARGS | METH_KEYWORDS, NULL },
18529 { (char *)"FontMapper_SetDialogParent", (PyCFunction) _wrap_FontMapper_SetDialogParent, METH_VARARGS | METH_KEYWORDS, NULL },
18530 { (char *)"FontMapper_SetDialogTitle", (PyCFunction) _wrap_FontMapper_SetDialogTitle, METH_VARARGS | METH_KEYWORDS, NULL },
18531 { (char *)"FontMapper_swigregister", FontMapper_swigregister, METH_VARARGS, NULL },
18532 { (char *)"new_Font", (PyCFunction) _wrap_new_Font, METH_VARARGS | METH_KEYWORDS, NULL },
18533 { (char *)"delete_Font", (PyCFunction) _wrap_delete_Font, METH_VARARGS | METH_KEYWORDS, NULL },
18534 { (char *)"new_FontFromNativeInfo", (PyCFunction) _wrap_new_FontFromNativeInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18535 { (char *)"new_FontFromNativeInfoString", (PyCFunction) _wrap_new_FontFromNativeInfoString, METH_VARARGS | METH_KEYWORDS, NULL },
18536 { (char *)"new_Font2", (PyCFunction) _wrap_new_Font2, METH_VARARGS | METH_KEYWORDS, NULL },
18537 { (char *)"Font_Ok", (PyCFunction) _wrap_Font_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18538 { (char *)"Font___eq__", (PyCFunction) _wrap_Font___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
18539 { (char *)"Font___ne__", (PyCFunction) _wrap_Font___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
18540 { (char *)"Font_GetPointSize", (PyCFunction) _wrap_Font_GetPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
18541 { (char *)"Font_GetFamily", (PyCFunction) _wrap_Font_GetFamily, METH_VARARGS | METH_KEYWORDS, NULL },
18542 { (char *)"Font_GetStyle", (PyCFunction) _wrap_Font_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
18543 { (char *)"Font_GetWeight", (PyCFunction) _wrap_Font_GetWeight, METH_VARARGS | METH_KEYWORDS, NULL },
18544 { (char *)"Font_GetUnderlined", (PyCFunction) _wrap_Font_GetUnderlined, METH_VARARGS | METH_KEYWORDS, NULL },
18545 { (char *)"Font_GetFaceName", (PyCFunction) _wrap_Font_GetFaceName, METH_VARARGS | METH_KEYWORDS, NULL },
18546 { (char *)"Font_GetEncoding", (PyCFunction) _wrap_Font_GetEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18547 { (char *)"Font_GetNativeFontInfo", (PyCFunction) _wrap_Font_GetNativeFontInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18548 { (char *)"Font_IsFixedWidth", (PyCFunction) _wrap_Font_IsFixedWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18549 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction) _wrap_Font_GetNativeFontInfoDesc, METH_VARARGS | METH_KEYWORDS, NULL },
18550 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction) _wrap_Font_GetNativeFontInfoUserDesc, METH_VARARGS | METH_KEYWORDS, NULL },
18551 { (char *)"Font_SetPointSize", (PyCFunction) _wrap_Font_SetPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
18552 { (char *)"Font_SetFamily", (PyCFunction) _wrap_Font_SetFamily, METH_VARARGS | METH_KEYWORDS, NULL },
18553 { (char *)"Font_SetStyle", (PyCFunction) _wrap_Font_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
18554 { (char *)"Font_SetWeight", (PyCFunction) _wrap_Font_SetWeight, METH_VARARGS | METH_KEYWORDS, NULL },
18555 { (char *)"Font_SetFaceName", (PyCFunction) _wrap_Font_SetFaceName, METH_VARARGS | METH_KEYWORDS, NULL },
18556 { (char *)"Font_SetUnderlined", (PyCFunction) _wrap_Font_SetUnderlined, METH_VARARGS | METH_KEYWORDS, NULL },
18557 { (char *)"Font_SetEncoding", (PyCFunction) _wrap_Font_SetEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18558 { (char *)"Font_SetNativeFontInfo", (PyCFunction) _wrap_Font_SetNativeFontInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18559 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction) _wrap_Font_SetNativeFontInfoFromString, METH_VARARGS | METH_KEYWORDS, NULL },
18560 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction) _wrap_Font_SetNativeFontInfoUserDesc, METH_VARARGS | METH_KEYWORDS, NULL },
18561 { (char *)"Font_GetFamilyString", (PyCFunction) _wrap_Font_GetFamilyString, METH_VARARGS | METH_KEYWORDS, NULL },
18562 { (char *)"Font_GetStyleString", (PyCFunction) _wrap_Font_GetStyleString, METH_VARARGS | METH_KEYWORDS, NULL },
18563 { (char *)"Font_GetWeightString", (PyCFunction) _wrap_Font_GetWeightString, METH_VARARGS | METH_KEYWORDS, NULL },
18564 { (char *)"Font_SetNoAntiAliasing", (PyCFunction) _wrap_Font_SetNoAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL },
18565 { (char *)"Font_GetNoAntiAliasing", (PyCFunction) _wrap_Font_GetNoAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL },
18566 { (char *)"Font_GetDefaultEncoding", (PyCFunction) _wrap_Font_GetDefaultEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18567 { (char *)"Font_SetDefaultEncoding", (PyCFunction) _wrap_Font_SetDefaultEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18568 { (char *)"Font_swigregister", Font_swigregister, METH_VARARGS, NULL },
18569 { (char *)"new_FontEnumerator", (PyCFunction) _wrap_new_FontEnumerator, METH_VARARGS | METH_KEYWORDS, NULL },
18570 { (char *)"delete_FontEnumerator", (PyCFunction) _wrap_delete_FontEnumerator, METH_VARARGS | METH_KEYWORDS, NULL },
18571 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction) _wrap_FontEnumerator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18572 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction) _wrap_FontEnumerator_EnumerateFacenames, METH_VARARGS | METH_KEYWORDS, NULL },
18573 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction) _wrap_FontEnumerator_EnumerateEncodings, METH_VARARGS | METH_KEYWORDS, NULL },
18574 { (char *)"FontEnumerator_GetEncodings", (PyCFunction) _wrap_FontEnumerator_GetEncodings, METH_VARARGS | METH_KEYWORDS, NULL },
18575 { (char *)"FontEnumerator_GetFacenames", (PyCFunction) _wrap_FontEnumerator_GetFacenames, METH_VARARGS | METH_KEYWORDS, NULL },
18576 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister, METH_VARARGS, NULL },
18577 { (char *)"LanguageInfo_Language_set", (PyCFunction) _wrap_LanguageInfo_Language_set, METH_VARARGS | METH_KEYWORDS, NULL },
18578 { (char *)"LanguageInfo_Language_get", (PyCFunction) _wrap_LanguageInfo_Language_get, METH_VARARGS | METH_KEYWORDS, NULL },
18579 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction) _wrap_LanguageInfo_CanonicalName_set, METH_VARARGS | METH_KEYWORDS, NULL },
18580 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction) _wrap_LanguageInfo_CanonicalName_get, METH_VARARGS | METH_KEYWORDS, NULL },
18581 { (char *)"LanguageInfo_Description_set", (PyCFunction) _wrap_LanguageInfo_Description_set, METH_VARARGS | METH_KEYWORDS, NULL },
18582 { (char *)"LanguageInfo_Description_get", (PyCFunction) _wrap_LanguageInfo_Description_get, METH_VARARGS | METH_KEYWORDS, NULL },
18583 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister, METH_VARARGS, NULL },
18584 { (char *)"new_Locale", (PyCFunction) _wrap_new_Locale, METH_VARARGS | METH_KEYWORDS, NULL },
18585 { (char *)"delete_Locale", (PyCFunction) _wrap_delete_Locale, METH_VARARGS | METH_KEYWORDS, NULL },
18586 { (char *)"Locale_Init1", (PyCFunction) _wrap_Locale_Init1, METH_VARARGS | METH_KEYWORDS, NULL },
18587 { (char *)"Locale_Init2", (PyCFunction) _wrap_Locale_Init2, METH_VARARGS | METH_KEYWORDS, NULL },
18588 { (char *)"Locale_GetSystemLanguage", (PyCFunction) _wrap_Locale_GetSystemLanguage, METH_VARARGS | METH_KEYWORDS, NULL },
18589 { (char *)"Locale_GetSystemEncoding", (PyCFunction) _wrap_Locale_GetSystemEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18590 { (char *)"Locale_GetSystemEncodingName", (PyCFunction) _wrap_Locale_GetSystemEncodingName, METH_VARARGS | METH_KEYWORDS, NULL },
18591 { (char *)"Locale_IsOk", (PyCFunction) _wrap_Locale_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
18592 { (char *)"Locale_GetLocale", (PyCFunction) _wrap_Locale_GetLocale, METH_VARARGS | METH_KEYWORDS, NULL },
18593 { (char *)"Locale_GetLanguage", (PyCFunction) _wrap_Locale_GetLanguage, METH_VARARGS | METH_KEYWORDS, NULL },
18594 { (char *)"Locale_GetSysName", (PyCFunction) _wrap_Locale_GetSysName, METH_VARARGS | METH_KEYWORDS, NULL },
18595 { (char *)"Locale_GetCanonicalName", (PyCFunction) _wrap_Locale_GetCanonicalName, METH_VARARGS | METH_KEYWORDS, NULL },
18596 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction) _wrap_Locale_AddCatalogLookupPathPrefix, METH_VARARGS | METH_KEYWORDS, NULL },
18597 { (char *)"Locale_AddCatalog", (PyCFunction) _wrap_Locale_AddCatalog, METH_VARARGS | METH_KEYWORDS, NULL },
18598 { (char *)"Locale_IsLoaded", (PyCFunction) _wrap_Locale_IsLoaded, METH_VARARGS | METH_KEYWORDS, NULL },
18599 { (char *)"Locale_GetLanguageInfo", (PyCFunction) _wrap_Locale_GetLanguageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18600 { (char *)"Locale_GetLanguageName", (PyCFunction) _wrap_Locale_GetLanguageName, METH_VARARGS | METH_KEYWORDS, NULL },
18601 { (char *)"Locale_FindLanguageInfo", (PyCFunction) _wrap_Locale_FindLanguageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18602 { (char *)"Locale_AddLanguage", (PyCFunction) _wrap_Locale_AddLanguage, METH_VARARGS | METH_KEYWORDS, NULL },
18603 { (char *)"Locale_GetString", (PyCFunction) _wrap_Locale_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
18604 { (char *)"Locale_GetName", (PyCFunction) _wrap_Locale_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
18605 { (char *)"Locale_swigregister", Locale_swigregister, METH_VARARGS, NULL },
18606 { (char *)"GetLocale", (PyCFunction) _wrap_GetLocale, METH_VARARGS | METH_KEYWORDS, NULL },
18607 { (char *)"GetTranslation", _wrap_GetTranslation, METH_VARARGS, NULL },
18608 { (char *)"new_EncodingConverter", (PyCFunction) _wrap_new_EncodingConverter, METH_VARARGS | METH_KEYWORDS, NULL },
18609 { (char *)"delete_EncodingConverter", (PyCFunction) _wrap_delete_EncodingConverter, METH_VARARGS | METH_KEYWORDS, NULL },
18610 { (char *)"EncodingConverter_Init", (PyCFunction) _wrap_EncodingConverter_Init, METH_VARARGS | METH_KEYWORDS, NULL },
18611 { (char *)"EncodingConverter_Convert", (PyCFunction) _wrap_EncodingConverter_Convert, METH_VARARGS | METH_KEYWORDS, NULL },
18612 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction) _wrap_EncodingConverter_GetPlatformEquivalents, METH_VARARGS | METH_KEYWORDS, NULL },
18613 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction) _wrap_EncodingConverter_GetAllEquivalents, METH_VARARGS | METH_KEYWORDS, NULL },
18614 { (char *)"EncodingConverter_CanConvert", (PyCFunction) _wrap_EncodingConverter_CanConvert, METH_VARARGS | METH_KEYWORDS, NULL },
18615 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister, METH_VARARGS, NULL },
18616 { (char *)"delete_DC", (PyCFunction) _wrap_delete_DC, METH_VARARGS | METH_KEYWORDS, NULL },
18617 { (char *)"DC_BeginDrawing", (PyCFunction) _wrap_DC_BeginDrawing, METH_VARARGS | METH_KEYWORDS, NULL },
18618 { (char *)"DC_EndDrawing", (PyCFunction) _wrap_DC_EndDrawing, METH_VARARGS | METH_KEYWORDS, NULL },
18619 { (char *)"DC_FloodFill", (PyCFunction) _wrap_DC_FloodFill, METH_VARARGS | METH_KEYWORDS, NULL },
18620 { (char *)"DC_FloodFillPoint", (PyCFunction) _wrap_DC_FloodFillPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18621 { (char *)"DC_GetPixel", (PyCFunction) _wrap_DC_GetPixel, METH_VARARGS | METH_KEYWORDS, NULL },
18622 { (char *)"DC_GetPixelPoint", (PyCFunction) _wrap_DC_GetPixelPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18623 { (char *)"DC_DrawLine", (PyCFunction) _wrap_DC_DrawLine, METH_VARARGS | METH_KEYWORDS, NULL },
18624 { (char *)"DC_DrawLinePoint", (PyCFunction) _wrap_DC_DrawLinePoint, METH_VARARGS | METH_KEYWORDS, NULL },
18625 { (char *)"DC_CrossHair", (PyCFunction) _wrap_DC_CrossHair, METH_VARARGS | METH_KEYWORDS, NULL },
18626 { (char *)"DC_CrossHairPoint", (PyCFunction) _wrap_DC_CrossHairPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18627 { (char *)"DC_DrawArc", (PyCFunction) _wrap_DC_DrawArc, METH_VARARGS | METH_KEYWORDS, NULL },
18628 { (char *)"DC_DrawArcPoint", (PyCFunction) _wrap_DC_DrawArcPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18629 { (char *)"DC_DrawCheckMark", (PyCFunction) _wrap_DC_DrawCheckMark, METH_VARARGS | METH_KEYWORDS, NULL },
18630 { (char *)"DC_DrawCheckMarkRect", (PyCFunction) _wrap_DC_DrawCheckMarkRect, METH_VARARGS | METH_KEYWORDS, NULL },
18631 { (char *)"DC_DrawEllipticArc", (PyCFunction) _wrap_DC_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS, NULL },
18632 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction) _wrap_DC_DrawEllipticArcPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
18633 { (char *)"DC_DrawPoint", (PyCFunction) _wrap_DC_DrawPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18634 { (char *)"DC_DrawPointPoint", (PyCFunction) _wrap_DC_DrawPointPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18635 { (char *)"DC_DrawRectangle", (PyCFunction) _wrap_DC_DrawRectangle, METH_VARARGS | METH_KEYWORDS, NULL },
18636 { (char *)"DC_DrawRectangleRect", (PyCFunction) _wrap_DC_DrawRectangleRect, METH_VARARGS | METH_KEYWORDS, NULL },
18637 { (char *)"DC_DrawRectanglePointSize", (PyCFunction) _wrap_DC_DrawRectanglePointSize, METH_VARARGS | METH_KEYWORDS, NULL },
18638 { (char *)"DC_DrawRoundedRectangle", (PyCFunction) _wrap_DC_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS, NULL },
18639 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction) _wrap_DC_DrawRoundedRectangleRect, METH_VARARGS | METH_KEYWORDS, NULL },
18640 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction) _wrap_DC_DrawRoundedRectanglePointSize, METH_VARARGS | METH_KEYWORDS, NULL },
18641 { (char *)"DC_DrawCircle", (PyCFunction) _wrap_DC_DrawCircle, METH_VARARGS | METH_KEYWORDS, NULL },
18642 { (char *)"DC_DrawCirclePoint", (PyCFunction) _wrap_DC_DrawCirclePoint, METH_VARARGS | METH_KEYWORDS, NULL },
18643 { (char *)"DC_DrawEllipse", (PyCFunction) _wrap_DC_DrawEllipse, METH_VARARGS | METH_KEYWORDS, NULL },
18644 { (char *)"DC_DrawEllipseRect", (PyCFunction) _wrap_DC_DrawEllipseRect, METH_VARARGS | METH_KEYWORDS, NULL },
18645 { (char *)"DC_DrawEllipsePointSize", (PyCFunction) _wrap_DC_DrawEllipsePointSize, METH_VARARGS | METH_KEYWORDS, NULL },
18646 { (char *)"DC_DrawIcon", (PyCFunction) _wrap_DC_DrawIcon, METH_VARARGS | METH_KEYWORDS, NULL },
18647 { (char *)"DC_DrawIconPoint", (PyCFunction) _wrap_DC_DrawIconPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18648 { (char *)"DC_DrawBitmap", (PyCFunction) _wrap_DC_DrawBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18649 { (char *)"DC_DrawBitmapPoint", (PyCFunction) _wrap_DC_DrawBitmapPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18650 { (char *)"DC_DrawText", (PyCFunction) _wrap_DC_DrawText, METH_VARARGS | METH_KEYWORDS, NULL },
18651 { (char *)"DC_DrawTextPoint", (PyCFunction) _wrap_DC_DrawTextPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18652 { (char *)"DC_DrawRotatedText", (PyCFunction) _wrap_DC_DrawRotatedText, METH_VARARGS | METH_KEYWORDS, NULL },
18653 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction) _wrap_DC_DrawRotatedTextPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18654 { (char *)"DC_Blit", (PyCFunction) _wrap_DC_Blit, METH_VARARGS | METH_KEYWORDS, NULL },
18655 { (char *)"DC_BlitPointSize", (PyCFunction) _wrap_DC_BlitPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
18656 { (char *)"DC_SetClippingRegion", (PyCFunction) _wrap_DC_SetClippingRegion, METH_VARARGS | METH_KEYWORDS, NULL },
18657 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction) _wrap_DC_SetClippingRegionPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
18658 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction) _wrap_DC_SetClippingRegionAsRegion, METH_VARARGS | METH_KEYWORDS, NULL },
18659 { (char *)"DC_SetClippingRect", (PyCFunction) _wrap_DC_SetClippingRect, METH_VARARGS | METH_KEYWORDS, NULL },
18660 { (char *)"DC_DrawLines", (PyCFunction) _wrap_DC_DrawLines, METH_VARARGS | METH_KEYWORDS, NULL },
18661 { (char *)"DC_DrawPolygon", (PyCFunction) _wrap_DC_DrawPolygon, METH_VARARGS | METH_KEYWORDS, NULL },
18662 { (char *)"DC_DrawLabel", (PyCFunction) _wrap_DC_DrawLabel, METH_VARARGS | METH_KEYWORDS, NULL },
18663 { (char *)"DC_DrawImageLabel", (PyCFunction) _wrap_DC_DrawImageLabel, METH_VARARGS | METH_KEYWORDS, NULL },
18664 { (char *)"DC_DrawSpline", (PyCFunction) _wrap_DC_DrawSpline, METH_VARARGS | METH_KEYWORDS, NULL },
18665 { (char *)"DC_Clear", (PyCFunction) _wrap_DC_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
18666 { (char *)"DC_StartDoc", (PyCFunction) _wrap_DC_StartDoc, METH_VARARGS | METH_KEYWORDS, NULL },
18667 { (char *)"DC_EndDoc", (PyCFunction) _wrap_DC_EndDoc, METH_VARARGS | METH_KEYWORDS, NULL },
18668 { (char *)"DC_StartPage", (PyCFunction) _wrap_DC_StartPage, METH_VARARGS | METH_KEYWORDS, NULL },
18669 { (char *)"DC_EndPage", (PyCFunction) _wrap_DC_EndPage, METH_VARARGS | METH_KEYWORDS, NULL },
18670 { (char *)"DC_SetFont", (PyCFunction) _wrap_DC_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
18671 { (char *)"DC_SetPen", (PyCFunction) _wrap_DC_SetPen, METH_VARARGS | METH_KEYWORDS, NULL },
18672 { (char *)"DC_SetBrush", (PyCFunction) _wrap_DC_SetBrush, METH_VARARGS | METH_KEYWORDS, NULL },
18673 { (char *)"DC_SetBackground", (PyCFunction) _wrap_DC_SetBackground, METH_VARARGS | METH_KEYWORDS, NULL },
18674 { (char *)"DC_SetBackgroundMode", (PyCFunction) _wrap_DC_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS, NULL },
18675 { (char *)"DC_SetPalette", (PyCFunction) _wrap_DC_SetPalette, METH_VARARGS | METH_KEYWORDS, NULL },
18676 { (char *)"DC_DestroyClippingRegion", (PyCFunction) _wrap_DC_DestroyClippingRegion, METH_VARARGS | METH_KEYWORDS, NULL },
18677 { (char *)"DC_GetClippingBox", (PyCFunction) _wrap_DC_GetClippingBox, METH_VARARGS | METH_KEYWORDS, NULL },
18678 { (char *)"DC_GetClippingRect", (PyCFunction) _wrap_DC_GetClippingRect, METH_VARARGS | METH_KEYWORDS, NULL },
18679 { (char *)"DC_GetCharHeight", (PyCFunction) _wrap_DC_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL },
18680 { (char *)"DC_GetCharWidth", (PyCFunction) _wrap_DC_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18681 { (char *)"DC_GetTextExtent", (PyCFunction) _wrap_DC_GetTextExtent, METH_VARARGS | METH_KEYWORDS, NULL },
18682 { (char *)"DC_GetFullTextExtent", (PyCFunction) _wrap_DC_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS, NULL },
18683 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction) _wrap_DC_GetMultiLineTextExtent, METH_VARARGS | METH_KEYWORDS, NULL },
18684 { (char *)"DC_GetPartialTextExtents", (PyCFunction) _wrap_DC_GetPartialTextExtents, METH_VARARGS | METH_KEYWORDS, NULL },
18685 { (char *)"DC_GetSize", (PyCFunction) _wrap_DC_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
18686 { (char *)"DC_GetSizeTuple", (PyCFunction) _wrap_DC_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
18687 { (char *)"DC_GetSizeMM", (PyCFunction) _wrap_DC_GetSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
18688 { (char *)"DC_GetSizeMMTuple", (PyCFunction) _wrap_DC_GetSizeMMTuple, METH_VARARGS | METH_KEYWORDS, NULL },
18689 { (char *)"DC_DeviceToLogicalX", (PyCFunction) _wrap_DC_DeviceToLogicalX, METH_VARARGS | METH_KEYWORDS, NULL },
18690 { (char *)"DC_DeviceToLogicalY", (PyCFunction) _wrap_DC_DeviceToLogicalY, METH_VARARGS | METH_KEYWORDS, NULL },
18691 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction) _wrap_DC_DeviceToLogicalXRel, METH_VARARGS | METH_KEYWORDS, NULL },
18692 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction) _wrap_DC_DeviceToLogicalYRel, METH_VARARGS | METH_KEYWORDS, NULL },
18693 { (char *)"DC_LogicalToDeviceX", (PyCFunction) _wrap_DC_LogicalToDeviceX, METH_VARARGS | METH_KEYWORDS, NULL },
18694 { (char *)"DC_LogicalToDeviceY", (PyCFunction) _wrap_DC_LogicalToDeviceY, METH_VARARGS | METH_KEYWORDS, NULL },
18695 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction) _wrap_DC_LogicalToDeviceXRel, METH_VARARGS | METH_KEYWORDS, NULL },
18696 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction) _wrap_DC_LogicalToDeviceYRel, METH_VARARGS | METH_KEYWORDS, NULL },
18697 { (char *)"DC_CanDrawBitmap", (PyCFunction) _wrap_DC_CanDrawBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18698 { (char *)"DC_CanGetTextExtent", (PyCFunction) _wrap_DC_CanGetTextExtent, METH_VARARGS | METH_KEYWORDS, NULL },
18699 { (char *)"DC_GetDepth", (PyCFunction) _wrap_DC_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
18700 { (char *)"DC_GetPPI", (PyCFunction) _wrap_DC_GetPPI, METH_VARARGS | METH_KEYWORDS, NULL },
18701 { (char *)"DC_Ok", (PyCFunction) _wrap_DC_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18702 { (char *)"DC_GetBackgroundMode", (PyCFunction) _wrap_DC_GetBackgroundMode, METH_VARARGS | METH_KEYWORDS, NULL },
18703 { (char *)"DC_GetBackground", (PyCFunction) _wrap_DC_GetBackground, METH_VARARGS | METH_KEYWORDS, NULL },
18704 { (char *)"DC_GetBrush", (PyCFunction) _wrap_DC_GetBrush, METH_VARARGS | METH_KEYWORDS, NULL },
18705 { (char *)"DC_GetFont", (PyCFunction) _wrap_DC_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
18706 { (char *)"DC_GetPen", (PyCFunction) _wrap_DC_GetPen, METH_VARARGS | METH_KEYWORDS, NULL },
18707 { (char *)"DC_GetTextBackground", (PyCFunction) _wrap_DC_GetTextBackground, METH_VARARGS | METH_KEYWORDS, NULL },
18708 { (char *)"DC_GetTextForeground", (PyCFunction) _wrap_DC_GetTextForeground, METH_VARARGS | METH_KEYWORDS, NULL },
18709 { (char *)"DC_SetTextForeground", (PyCFunction) _wrap_DC_SetTextForeground, METH_VARARGS | METH_KEYWORDS, NULL },
18710 { (char *)"DC_SetTextBackground", (PyCFunction) _wrap_DC_SetTextBackground, METH_VARARGS | METH_KEYWORDS, NULL },
18711 { (char *)"DC_GetMapMode", (PyCFunction) _wrap_DC_GetMapMode, METH_VARARGS | METH_KEYWORDS, NULL },
18712 { (char *)"DC_SetMapMode", (PyCFunction) _wrap_DC_SetMapMode, METH_VARARGS | METH_KEYWORDS, NULL },
18713 { (char *)"DC_GetUserScale", (PyCFunction) _wrap_DC_GetUserScale, METH_VARARGS | METH_KEYWORDS, NULL },
18714 { (char *)"DC_SetUserScale", (PyCFunction) _wrap_DC_SetUserScale, METH_VARARGS | METH_KEYWORDS, NULL },
18715 { (char *)"DC_GetLogicalScale", (PyCFunction) _wrap_DC_GetLogicalScale, METH_VARARGS | METH_KEYWORDS, NULL },
18716 { (char *)"DC_SetLogicalScale", (PyCFunction) _wrap_DC_SetLogicalScale, METH_VARARGS | METH_KEYWORDS, NULL },
18717 { (char *)"DC_GetLogicalOrigin", (PyCFunction) _wrap_DC_GetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
18718 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction) _wrap_DC_GetLogicalOriginTuple, METH_VARARGS | METH_KEYWORDS, NULL },
18719 { (char *)"DC_SetLogicalOrigin", (PyCFunction) _wrap_DC_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
18720 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction) _wrap_DC_SetLogicalOriginPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18721 { (char *)"DC_GetDeviceOrigin", (PyCFunction) _wrap_DC_GetDeviceOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
18722 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction) _wrap_DC_GetDeviceOriginTuple, METH_VARARGS | METH_KEYWORDS, NULL },
18723 { (char *)"DC_SetDeviceOrigin", (PyCFunction) _wrap_DC_SetDeviceOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
18724 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction) _wrap_DC_SetDeviceOriginPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18725 { (char *)"DC_SetAxisOrientation", (PyCFunction) _wrap_DC_SetAxisOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
18726 { (char *)"DC_GetLogicalFunction", (PyCFunction) _wrap_DC_GetLogicalFunction, METH_VARARGS | METH_KEYWORDS, NULL },
18727 { (char *)"DC_SetLogicalFunction", (PyCFunction) _wrap_DC_SetLogicalFunction, METH_VARARGS | METH_KEYWORDS, NULL },
18728 { (char *)"DC_SetOptimization", (PyCFunction) _wrap_DC_SetOptimization, METH_VARARGS | METH_KEYWORDS, NULL },
18729 { (char *)"DC_GetOptimization", (PyCFunction) _wrap_DC_GetOptimization, METH_VARARGS | METH_KEYWORDS, NULL },
18730 { (char *)"DC_CalcBoundingBox", (PyCFunction) _wrap_DC_CalcBoundingBox, METH_VARARGS | METH_KEYWORDS, NULL },
18731 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction) _wrap_DC_CalcBoundingBoxPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18732 { (char *)"DC_ResetBoundingBox", (PyCFunction) _wrap_DC_ResetBoundingBox, METH_VARARGS | METH_KEYWORDS, NULL },
18733 { (char *)"DC_MinX", (PyCFunction) _wrap_DC_MinX, METH_VARARGS | METH_KEYWORDS, NULL },
18734 { (char *)"DC_MaxX", (PyCFunction) _wrap_DC_MaxX, METH_VARARGS | METH_KEYWORDS, NULL },
18735 { (char *)"DC_MinY", (PyCFunction) _wrap_DC_MinY, METH_VARARGS | METH_KEYWORDS, NULL },
18736 { (char *)"DC_MaxY", (PyCFunction) _wrap_DC_MaxY, METH_VARARGS | METH_KEYWORDS, NULL },
18737 { (char *)"DC_GetBoundingBox", (PyCFunction) _wrap_DC_GetBoundingBox, METH_VARARGS | METH_KEYWORDS, NULL },
18738 { (char *)"DC__DrawPointList", (PyCFunction) _wrap_DC__DrawPointList, METH_VARARGS | METH_KEYWORDS, NULL },
18739 { (char *)"DC__DrawLineList", (PyCFunction) _wrap_DC__DrawLineList, METH_VARARGS | METH_KEYWORDS, NULL },
18740 { (char *)"DC__DrawRectangleList", (PyCFunction) _wrap_DC__DrawRectangleList, METH_VARARGS | METH_KEYWORDS, NULL },
18741 { (char *)"DC__DrawEllipseList", (PyCFunction) _wrap_DC__DrawEllipseList, METH_VARARGS | METH_KEYWORDS, NULL },
18742 { (char *)"DC__DrawPolygonList", (PyCFunction) _wrap_DC__DrawPolygonList, METH_VARARGS | METH_KEYWORDS, NULL },
18743 { (char *)"DC__DrawTextList", (PyCFunction) _wrap_DC__DrawTextList, METH_VARARGS | METH_KEYWORDS, NULL },
18744 { (char *)"DC_swigregister", DC_swigregister, METH_VARARGS, NULL },
18745 { (char *)"new_MemoryDC", (PyCFunction) _wrap_new_MemoryDC, METH_VARARGS | METH_KEYWORDS, NULL },
18746 { (char *)"new_MemoryDCFromDC", (PyCFunction) _wrap_new_MemoryDCFromDC, METH_VARARGS | METH_KEYWORDS, NULL },
18747 { (char *)"MemoryDC_SelectObject", (PyCFunction) _wrap_MemoryDC_SelectObject, METH_VARARGS | METH_KEYWORDS, NULL },
18748 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister, METH_VARARGS, NULL },
18749 { (char *)"new_BufferedDC", _wrap_new_BufferedDC, METH_VARARGS, NULL },
18750 { (char *)"delete_BufferedDC", (PyCFunction) _wrap_delete_BufferedDC, METH_VARARGS | METH_KEYWORDS, NULL },
18751 { (char *)"BufferedDC_UnMask", (PyCFunction) _wrap_BufferedDC_UnMask, METH_VARARGS | METH_KEYWORDS, NULL },
18752 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister, METH_VARARGS, NULL },
18753 { (char *)"new_BufferedPaintDC", (PyCFunction) _wrap_new_BufferedPaintDC, METH_VARARGS | METH_KEYWORDS, NULL },
18754 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister, METH_VARARGS, NULL },
18755 { (char *)"new_ScreenDC", (PyCFunction) _wrap_new_ScreenDC, METH_VARARGS | METH_KEYWORDS, NULL },
18756 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction) _wrap_ScreenDC_StartDrawingOnTopWin, METH_VARARGS | METH_KEYWORDS, NULL },
18757 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction) _wrap_ScreenDC_StartDrawingOnTop, METH_VARARGS | METH_KEYWORDS, NULL },
18758 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction) _wrap_ScreenDC_EndDrawingOnTop, METH_VARARGS | METH_KEYWORDS, NULL },
18759 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister, METH_VARARGS, NULL },
18760 { (char *)"new_ClientDC", (PyCFunction) _wrap_new_ClientDC, METH_VARARGS | METH_KEYWORDS, NULL },
18761 { (char *)"ClientDC_swigregister", ClientDC_swigregister, METH_VARARGS, NULL },
18762 { (char *)"new_PaintDC", (PyCFunction) _wrap_new_PaintDC, METH_VARARGS | METH_KEYWORDS, NULL },
18763 { (char *)"PaintDC_swigregister", PaintDC_swigregister, METH_VARARGS, NULL },
18764 { (char *)"new_WindowDC", (PyCFunction) _wrap_new_WindowDC, METH_VARARGS | METH_KEYWORDS, NULL },
18765 { (char *)"WindowDC_swigregister", WindowDC_swigregister, METH_VARARGS, NULL },
18766 { (char *)"new_MirrorDC", (PyCFunction) _wrap_new_MirrorDC, METH_VARARGS | METH_KEYWORDS, NULL },
18767 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister, METH_VARARGS, NULL },
18768 { (char *)"new_PostScriptDC", (PyCFunction) _wrap_new_PostScriptDC, METH_VARARGS | METH_KEYWORDS, NULL },
18769 { (char *)"PostScriptDC_GetPrintData", (PyCFunction) _wrap_PostScriptDC_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
18770 { (char *)"PostScriptDC_SetPrintData", (PyCFunction) _wrap_PostScriptDC_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
18771 { (char *)"PostScriptDC_SetResolution", (PyCFunction) _wrap_PostScriptDC_SetResolution, METH_VARARGS | METH_KEYWORDS, NULL },
18772 { (char *)"PostScriptDC_GetResolution", (PyCFunction) _wrap_PostScriptDC_GetResolution, METH_VARARGS | METH_KEYWORDS, NULL },
18773 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister, METH_VARARGS, NULL },
18774 { (char *)"new_MetaFile", (PyCFunction) _wrap_new_MetaFile, METH_VARARGS | METH_KEYWORDS, NULL },
18775 { (char *)"MetaFile_swigregister", MetaFile_swigregister, METH_VARARGS, NULL },
18776 { (char *)"new_MetaFileDC", (PyCFunction) _wrap_new_MetaFileDC, METH_VARARGS | METH_KEYWORDS, NULL },
18777 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister, METH_VARARGS, NULL },
18778 { (char *)"new_PrinterDC", (PyCFunction) _wrap_new_PrinterDC, METH_VARARGS | METH_KEYWORDS, NULL },
18779 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister, METH_VARARGS, NULL },
18780 { (char *)"new_ImageList", (PyCFunction) _wrap_new_ImageList, METH_VARARGS | METH_KEYWORDS, NULL },
18781 { (char *)"delete_ImageList", (PyCFunction) _wrap_delete_ImageList, METH_VARARGS | METH_KEYWORDS, NULL },
18782 { (char *)"ImageList_Add", (PyCFunction) _wrap_ImageList_Add, METH_VARARGS | METH_KEYWORDS, NULL },
18783 { (char *)"ImageList_AddWithColourMask", (PyCFunction) _wrap_ImageList_AddWithColourMask, METH_VARARGS | METH_KEYWORDS, NULL },
18784 { (char *)"ImageList_AddIcon", (PyCFunction) _wrap_ImageList_AddIcon, METH_VARARGS | METH_KEYWORDS, NULL },
18785 { (char *)"ImageList_Replace", (PyCFunction) _wrap_ImageList_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
18786 { (char *)"ImageList_Draw", (PyCFunction) _wrap_ImageList_Draw, METH_VARARGS | METH_KEYWORDS, NULL },
18787 { (char *)"ImageList_GetImageCount", (PyCFunction) _wrap_ImageList_GetImageCount, METH_VARARGS | METH_KEYWORDS, NULL },
18788 { (char *)"ImageList_Remove", (PyCFunction) _wrap_ImageList_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
18789 { (char *)"ImageList_RemoveAll", (PyCFunction) _wrap_ImageList_RemoveAll, METH_VARARGS | METH_KEYWORDS, NULL },
18790 { (char *)"ImageList_GetSize", (PyCFunction) _wrap_ImageList_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
18791 { (char *)"ImageList_swigregister", ImageList_swigregister, METH_VARARGS, NULL },
18792 { (char *)"PenList_AddPen", (PyCFunction) _wrap_PenList_AddPen, METH_VARARGS | METH_KEYWORDS, NULL },
18793 { (char *)"PenList_FindOrCreatePen", (PyCFunction) _wrap_PenList_FindOrCreatePen, METH_VARARGS | METH_KEYWORDS, NULL },
18794 { (char *)"PenList_RemovePen", (PyCFunction) _wrap_PenList_RemovePen, METH_VARARGS | METH_KEYWORDS, NULL },
18795 { (char *)"PenList_GetCount", (PyCFunction) _wrap_PenList_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
18796 { (char *)"PenList_swigregister", PenList_swigregister, METH_VARARGS, NULL },
18797 { (char *)"BrushList_AddBrush", (PyCFunction) _wrap_BrushList_AddBrush, METH_VARARGS | METH_KEYWORDS, NULL },
18798 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction) _wrap_BrushList_FindOrCreateBrush, METH_VARARGS | METH_KEYWORDS, NULL },
18799 { (char *)"BrushList_RemoveBrush", (PyCFunction) _wrap_BrushList_RemoveBrush, METH_VARARGS | METH_KEYWORDS, NULL },
18800 { (char *)"BrushList_GetCount", (PyCFunction) _wrap_BrushList_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
18801 { (char *)"BrushList_swigregister", BrushList_swigregister, METH_VARARGS, NULL },
18802 { (char *)"new_ColourDatabase", (PyCFunction) _wrap_new_ColourDatabase, METH_VARARGS | METH_KEYWORDS, NULL },
18803 { (char *)"delete_ColourDatabase", (PyCFunction) _wrap_delete_ColourDatabase, METH_VARARGS | METH_KEYWORDS, NULL },
18804 { (char *)"ColourDatabase_Find", (PyCFunction) _wrap_ColourDatabase_Find, METH_VARARGS | METH_KEYWORDS, NULL },
18805 { (char *)"ColourDatabase_FindName", (PyCFunction) _wrap_ColourDatabase_FindName, METH_VARARGS | METH_KEYWORDS, NULL },
18806 { (char *)"ColourDatabase_AddColour", (PyCFunction) _wrap_ColourDatabase_AddColour, METH_VARARGS | METH_KEYWORDS, NULL },
18807 { (char *)"ColourDatabase_Append", (PyCFunction) _wrap_ColourDatabase_Append, METH_VARARGS | METH_KEYWORDS, NULL },
18808 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister, METH_VARARGS, NULL },
18809 { (char *)"FontList_AddFont", (PyCFunction) _wrap_FontList_AddFont, METH_VARARGS | METH_KEYWORDS, NULL },
18810 { (char *)"FontList_FindOrCreateFont", (PyCFunction) _wrap_FontList_FindOrCreateFont, METH_VARARGS | METH_KEYWORDS, NULL },
18811 { (char *)"FontList_RemoveFont", (PyCFunction) _wrap_FontList_RemoveFont, METH_VARARGS | METH_KEYWORDS, NULL },
18812 { (char *)"FontList_GetCount", (PyCFunction) _wrap_FontList_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
18813 { (char *)"FontList_swigregister", FontList_swigregister, METH_VARARGS, NULL },
18814 { (char *)"new_Effects", (PyCFunction) _wrap_new_Effects, METH_VARARGS | METH_KEYWORDS, NULL },
18815 { (char *)"Effects_GetHighlightColour", (PyCFunction) _wrap_Effects_GetHighlightColour, METH_VARARGS | METH_KEYWORDS, NULL },
18816 { (char *)"Effects_GetLightShadow", (PyCFunction) _wrap_Effects_GetLightShadow, METH_VARARGS | METH_KEYWORDS, NULL },
18817 { (char *)"Effects_GetFaceColour", (PyCFunction) _wrap_Effects_GetFaceColour, METH_VARARGS | METH_KEYWORDS, NULL },
18818 { (char *)"Effects_GetMediumShadow", (PyCFunction) _wrap_Effects_GetMediumShadow, METH_VARARGS | METH_KEYWORDS, NULL },
18819 { (char *)"Effects_GetDarkShadow", (PyCFunction) _wrap_Effects_GetDarkShadow, METH_VARARGS | METH_KEYWORDS, NULL },
18820 { (char *)"Effects_SetHighlightColour", (PyCFunction) _wrap_Effects_SetHighlightColour, METH_VARARGS | METH_KEYWORDS, NULL },
18821 { (char *)"Effects_SetLightShadow", (PyCFunction) _wrap_Effects_SetLightShadow, METH_VARARGS | METH_KEYWORDS, NULL },
18822 { (char *)"Effects_SetFaceColour", (PyCFunction) _wrap_Effects_SetFaceColour, METH_VARARGS | METH_KEYWORDS, NULL },
18823 { (char *)"Effects_SetMediumShadow", (PyCFunction) _wrap_Effects_SetMediumShadow, METH_VARARGS | METH_KEYWORDS, NULL },
18824 { (char *)"Effects_SetDarkShadow", (PyCFunction) _wrap_Effects_SetDarkShadow, METH_VARARGS | METH_KEYWORDS, NULL },
18825 { (char *)"Effects_Set", (PyCFunction) _wrap_Effects_Set, METH_VARARGS | METH_KEYWORDS, NULL },
18826 { (char *)"Effects_DrawSunkenEdge", (PyCFunction) _wrap_Effects_DrawSunkenEdge, METH_VARARGS | METH_KEYWORDS, NULL },
18827 { (char *)"Effects_TileBitmap", (PyCFunction) _wrap_Effects_TileBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18828 { (char *)"Effects_swigregister", Effects_swigregister, METH_VARARGS, NULL },
18829 { NULL, NULL, 0, NULL }
d14a1e28
RD
18830};
18831
18832
18833/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18834
e811c8ce
RD
18835static void *_p_wxControlTo_p_wxWindow(void *x) {
18836 return (void *)((wxWindow *) ((wxControl *) x));
18837}
18838static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
18839 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
18840}
18841static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
18842 return (void *)((wxWindow *) ((wxMenuBar *) x));
18843}
d14a1e28
RD
18844static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x) {
18845 return (void *)((wxMemoryDC *) ((wxBufferedDC *) x));
18846}
18847static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x) {
18848 return (void *)((wxMemoryDC *) (wxBufferedDC *) ((wxBufferedPaintDC *) x));
18849}
d14a1e28
RD
18850static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
18851 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
18852}
18853static void *_p_wxPenTo_p_wxObject(void *x) {
18854 return (void *)((wxObject *) (wxGDIObject *) ((wxPen *) x));
18855}
18856static void *_p_wxRegionIteratorTo_p_wxObject(void *x) {
18857 return (void *)((wxObject *) ((wxRegionIterator *) x));
18858}
18859static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
18860 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
18861}
18862static void *_p_wxSizerItemTo_p_wxObject(void *x) {
18863 return (void *)((wxObject *) ((wxSizerItem *) x));
18864}
18865static void *_p_wxColourDatabaseTo_p_wxObject(void *x) {
18866 return (void *)((wxObject *) ((wxColourDatabase *) x));
18867}
18868static void *_p_wxScrollEventTo_p_wxObject(void *x) {
18869 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
18870}
18871static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
18872 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
18873}
18874static void *_p_wxIconTo_p_wxObject(void *x) {
18875 return (void *)((wxObject *) (wxGDIObject *) ((wxIcon *) x));
18876}
18877static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
18878 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
18879}
18880static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
18881 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
18882}
18883static void *_p_wxSizerTo_p_wxObject(void *x) {
18884 return (void *)((wxObject *) ((wxSizer *) x));
18885}
18886static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
18887 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
18888}
18889static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
18890 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
18891}
18892static void *_p_wxPenListTo_p_wxObject(void *x) {
18893 return (void *)((wxObject *) ((wxPenList *) x));
18894}
18895static void *_p_wxEventTo_p_wxObject(void *x) {
18896 return (void *)((wxObject *) ((wxEvent *) x));
18897}
18898static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
18899 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
18900}
18901static void *_p_wxGridSizerTo_p_wxObject(void *x) {
18902 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
18903}
18904static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
18905 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
18906}
18907static void *_p_wxPaintEventTo_p_wxObject(void *x) {
18908 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
18909}
18910static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
18911 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
18912}
18913static void *_p_wxDCTo_p_wxObject(void *x) {
18914 return (void *)((wxObject *) ((wxDC *) x));
18915}
18916static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
18917 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
18918}
18919static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
18920 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
18921}
18922static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
18923 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
18924}
18925static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
18926 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
18927}
18928static void *_p_wxControlTo_p_wxObject(void *x) {
18929 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
18930}
18931static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
18932 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
18933}
18934static void *_p_wxClientDCTo_p_wxObject(void *x) {
18935 return (void *)((wxObject *) (wxDC *) ((wxClientDC *) x));
18936}
18937static void *_p_wxFSFileTo_p_wxObject(void *x) {
18938 return (void *)((wxObject *) ((wxFSFile *) x));
18939}
18940static void *_p_wxMemoryDCTo_p_wxObject(void *x) {
18941 return (void *)((wxObject *) (wxDC *) ((wxMemoryDC *) x));
18942}
18943static void *_p_wxRegionTo_p_wxObject(void *x) {
18944 return (void *)((wxObject *) (wxGDIObject *) ((wxRegion *) x));
18945}
18946static void *_p_wxPySizerTo_p_wxObject(void *x) {
18947 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
18948}
18949static void *_p_wxWindowDCTo_p_wxObject(void *x) {
18950 return (void *)((wxObject *) (wxDC *) ((wxWindowDC *) x));
18951}
18952static void *_p_wxGDIObjectTo_p_wxObject(void *x) {
18953 return (void *)((wxObject *) ((wxGDIObject *) x));
18954}
18955static void *_p_wxEffectsTo_p_wxObject(void *x) {
18956 return (void *)((wxObject *) ((wxEffects *) x));
18957}
18958static void *_p_wxPyEventTo_p_wxObject(void *x) {
18959 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
18960}
18961static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
18962 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
18963}
18964static void *_p_wxPostScriptDCTo_p_wxObject(void *x) {
18965 return (void *)((wxObject *) (wxDC *) ((wxPostScriptDC *) x));
18966}
18967static void *_p_wxShowEventTo_p_wxObject(void *x) {
18968 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
18969}
18970static void *_p_wxMenuItemTo_p_wxObject(void *x) {
18971 return (void *)((wxObject *) ((wxMenuItem *) x));
18972}
18973static void *_p_wxIdleEventTo_p_wxObject(void *x) {
18974 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
18975}
18976static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
18977 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
18978}
18979static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
18980 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
18981}
18982static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
18983 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
18984}
18985static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
18986 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
18987}
18988static void *_p_wxSizeEventTo_p_wxObject(void *x) {
18989 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
18990}
18991static void *_p_wxMoveEventTo_p_wxObject(void *x) {
18992 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
18993}
18994static void *_p_wxActivateEventTo_p_wxObject(void *x) {
18995 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
18996}
18997static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
18998 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
18999}
19000static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
19001 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
19002}
19003static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
19004 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
19005}
19006static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
19007 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
19008}
19009static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
19010 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
19011}
19012static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
19013 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
19014}
19015static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
19016 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
19017}
19018static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
19019 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
19020}
19021static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
19022 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
19023}
19024static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
19025 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
19026}
19027static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
19028 return (void *)((wxObject *) ((wxImageHandler *) x));
19029}
19030static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
19031 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
19032}
19033static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
19034 return (void *)((wxObject *) ((wxEvtHandler *) x));
19035}
19036static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x) {
19037 return (void *)((wxObject *) (wxDC *)(wxMemoryDC *)(wxBufferedDC *) ((wxBufferedPaintDC *) x));
19038}
19039static void *_p_wxPaintDCTo_p_wxObject(void *x) {
19040 return (void *)((wxObject *) (wxDC *) ((wxPaintDC *) x));
19041}
19042static void *_p_wxPrinterDCTo_p_wxObject(void *x) {
19043 return (void *)((wxObject *) (wxDC *) ((wxPrinterDC *) x));
19044}
19045static void *_p_wxScreenDCTo_p_wxObject(void *x) {
19046 return (void *)((wxObject *) (wxDC *) ((wxScreenDC *) x));
19047}
1e0c8722
RD
19048static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
19049 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
19050}
d14a1e28
RD
19051static void *_p_wxImageTo_p_wxObject(void *x) {
19052 return (void *)((wxObject *) ((wxImage *) x));
19053}
19054static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
19055 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
19056}
d14a1e28
RD
19057static void *_p_wxPaletteTo_p_wxObject(void *x) {
19058 return (void *)((wxObject *) (wxGDIObject *) ((wxPalette *) x));
19059}
19060static void *_p_wxBufferedDCTo_p_wxObject(void *x) {
19061 return (void *)((wxObject *) (wxDC *)(wxMemoryDC *) ((wxBufferedDC *) x));
19062}
19063static void *_p_wxImageListTo_p_wxObject(void *x) {
19064 return (void *)((wxObject *) ((wxImageList *) x));
19065}
19066static void *_p_wxCursorTo_p_wxObject(void *x) {
19067 return (void *)((wxObject *) (wxGDIObject *) ((wxCursor *) x));
19068}
19069static void *_p_wxEncodingConverterTo_p_wxObject(void *x) {
19070 return (void *)((wxObject *) ((wxEncodingConverter *) x));
19071}
19072static void *_p_wxMirrorDCTo_p_wxObject(void *x) {
19073 return (void *)((wxObject *) (wxDC *) ((wxMirrorDC *) x));
19074}
19075static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
19076 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
19077}
19078static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
19079 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
19080}
19081static void *_p_wxKeyEventTo_p_wxObject(void *x) {
19082 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
19083}
19084static void *_p_wxWindowTo_p_wxObject(void *x) {
19085 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
19086}
19087static void *_p_wxMenuTo_p_wxObject(void *x) {
19088 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
19089}
19090static void *_p_wxMenuBarTo_p_wxObject(void *x) {
19091 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
19092}
19093static void *_p_wxMetaFileDCTo_p_wxObject(void *x) {
19094 return (void *)((wxObject *) (wxDC *) ((wxMetaFileDC *) x));
19095}
19096static void *_p_wxBrushListTo_p_wxObject(void *x) {
19097 return (void *)((wxObject *) ((wxBrushList *) x));
19098}
d14a1e28
RD
19099static void *_p_wxFileSystemTo_p_wxObject(void *x) {
19100 return (void *)((wxObject *) ((wxFileSystem *) x));
19101}
19102static void *_p_wxBitmapTo_p_wxObject(void *x) {
19103 return (void *)((wxObject *) (wxGDIObject *) ((wxBitmap *) x));
19104}
19105static void *_p_wxMaskTo_p_wxObject(void *x) {
19106 return (void *)((wxObject *) ((wxMask *) x));
19107}
19108static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
19109 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
19110}
19111static void *_p_wxMenuEventTo_p_wxObject(void *x) {
19112 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
19113}
19114static void *_p_wxPyAppTo_p_wxObject(void *x) {
19115 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
19116}
19117static void *_p_wxCloseEventTo_p_wxObject(void *x) {
19118 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
19119}
19120static void *_p_wxMouseEventTo_p_wxObject(void *x) {
19121 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
19122}
19123static void *_p_wxEraseEventTo_p_wxObject(void *x) {
19124 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
19125}
19126static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
19127 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
19128}
19129static void *_p_wxCommandEventTo_p_wxObject(void *x) {
19130 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
19131}
19132static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
19133 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
19134}
19135static void *_p_wxFocusEventTo_p_wxObject(void *x) {
19136 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
19137}
19138static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
19139 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
19140}
19141static void *_p_wxFontTo_p_wxObject(void *x) {
19142 return (void *)((wxObject *) (wxGDIObject *) ((wxFont *) x));
19143}
19144static void *_p_wxBrushTo_p_wxObject(void *x) {
19145 return (void *)((wxObject *) (wxGDIObject *) ((wxBrush *) x));
19146}
19147static void *_p_wxMetaFileTo_p_wxObject(void *x) {
19148 return (void *)((wxObject *) ((wxMetaFile *) x));
19149}
19150static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
19151 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
19152}
19153static void *_p_wxColourTo_p_wxObject(void *x) {
19154 return (void *)((wxObject *) ((wxColour *) x));
19155}
19156static void *_p_wxFontListTo_p_wxObject(void *x) {
19157 return (void *)((wxObject *) ((wxFontList *) x));
19158}
19159static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
19160 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
19161}
19162static void *_p_wxValidatorTo_p_wxObject(void *x) {
19163 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
19164}
e811c8ce
RD
19165static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x) {
19166 return (void *)((wxBufferedDC *) ((wxBufferedPaintDC *) x));
d14a1e28 19167}
e811c8ce
RD
19168static void *_p_wxBufferedDCTo_p_wxDC(void *x) {
19169 return (void *)((wxDC *) (wxMemoryDC *) ((wxBufferedDC *) x));
d14a1e28 19170}
e811c8ce
RD
19171static void *_p_wxScreenDCTo_p_wxDC(void *x) {
19172 return (void *)((wxDC *) ((wxScreenDC *) x));
19173}
19174static void *_p_wxMirrorDCTo_p_wxDC(void *x) {
19175 return (void *)((wxDC *) ((wxMirrorDC *) x));
19176}
19177static void *_p_wxMemoryDCTo_p_wxDC(void *x) {
19178 return (void *)((wxDC *) ((wxMemoryDC *) x));
19179}
19180static void *_p_wxWindowDCTo_p_wxDC(void *x) {
19181 return (void *)((wxDC *) ((wxWindowDC *) x));
19182}
19183static void *_p_wxMetaFileDCTo_p_wxDC(void *x) {
19184 return (void *)((wxDC *) ((wxMetaFileDC *) x));
19185}
19186static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x) {
19187 return (void *)((wxDC *) (wxMemoryDC *)(wxBufferedDC *) ((wxBufferedPaintDC *) x));
19188}
19189static void *_p_wxClientDCTo_p_wxDC(void *x) {
19190 return (void *)((wxDC *) ((wxClientDC *) x));
19191}
19192static void *_p_wxPaintDCTo_p_wxDC(void *x) {
19193 return (void *)((wxDC *) ((wxPaintDC *) x));
19194}
19195static void *_p_wxPostScriptDCTo_p_wxDC(void *x) {
19196 return (void *)((wxDC *) ((wxPostScriptDC *) x));
19197}
19198static void *_p_wxPrinterDCTo_p_wxDC(void *x) {
19199 return (void *)((wxDC *) ((wxPrinterDC *) x));
19200}
e811c8ce
RD
19201static void *_p_wxIconTo_p_wxGDIObject(void *x) {
19202 return (void *)((wxGDIObject *) ((wxIcon *) x));
19203}
19204static void *_p_wxPaletteTo_p_wxGDIObject(void *x) {
19205 return (void *)((wxGDIObject *) ((wxPalette *) x));
19206}
19207static void *_p_wxPenTo_p_wxGDIObject(void *x) {
19208 return (void *)((wxGDIObject *) ((wxPen *) x));
19209}
19210static void *_p_wxFontTo_p_wxGDIObject(void *x) {
19211 return (void *)((wxGDIObject *) ((wxFont *) x));
19212}
19213static void *_p_wxCursorTo_p_wxGDIObject(void *x) {
19214 return (void *)((wxGDIObject *) ((wxCursor *) x));
19215}
19216static void *_p_wxBitmapTo_p_wxGDIObject(void *x) {
19217 return (void *)((wxGDIObject *) ((wxBitmap *) x));
19218}
19219static void *_p_wxRegionTo_p_wxGDIObject(void *x) {
19220 return (void *)((wxGDIObject *) ((wxRegion *) x));
19221}
19222static void *_p_wxBrushTo_p_wxGDIObject(void *x) {
19223 return (void *)((wxGDIObject *) ((wxBrush *) x));
19224}
15afbcd0
RD
19225static swig_type_info _swigt__p_wxPostScriptDC[] = {{"_p_wxPostScriptDC", 0, "wxPostScriptDC *", 0, 0, 0, 0},{"_p_wxPostScriptDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19226static swig_type_info _swigt__p_wxBrush[] = {{"_p_wxBrush", 0, "wxBrush *", 0, 0, 0, 0},{"_p_wxBrush", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19227static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19228static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxClientDC", _p_wxClientDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxDC, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19229static swig_type_info _swigt__p_wxMirrorDC[] = {{"_p_wxMirrorDC", 0, "wxMirrorDC *", 0, 0, 0, 0},{"_p_wxMirrorDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19230static swig_type_info _swigt__p_byte[] = {{"_p_byte", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{"_p_byte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19231static swig_type_info _swigt__p_wxPyFontEnumerator[] = {{"_p_wxPyFontEnumerator", 0, "wxPyFontEnumerator *", 0, 0, 0, 0},{"_p_wxPyFontEnumerator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19232static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19233static swig_type_info _swigt__p_wxIconLocation[] = {{"_p_wxIconLocation", 0, "wxIconLocation *", 0, 0, 0, 0},{"_p_wxIconLocation", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19234static swig_type_info _swigt__p_wxImage[] = {{"_p_wxImage", 0, "wxImage *", 0, 0, 0, 0},{"_p_wxImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19235static swig_type_info _swigt__p_wxMetaFileDC[] = {{"_p_wxMetaFileDC", 0, "wxMetaFileDC *", 0, 0, 0, 0},{"_p_wxMetaFileDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19236static swig_type_info _swigt__p_wxMask[] = {{"_p_wxMask", 0, "wxMask *", 0, 0, 0, 0},{"_p_wxMask", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
b2df227b 19237static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
19238static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19239static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
19240static swig_type_info _swigt__p_double[] = {{"_p_double", 0, "double *", 0, 0, 0, 0},{"_p_double", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19241static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxMemoryDC, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", 0, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxMemoryDC, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19242static swig_type_info _swigt__p_wxFontMapper[] = {{"_p_wxFontMapper", 0, "wxFontMapper *", 0, 0, 0, 0},{"_p_wxFontMapper", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19243static swig_type_info _swigt__p_wxEffects[] = {{"_p_wxEffects", 0, "wxEffects *", 0, 0, 0, 0},{"_p_wxEffects", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19244static swig_type_info _swigt__p_wxNativeEncodingInfo[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0, 0, 0, 0},{"_p_wxNativeEncodingInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19245static swig_type_info _swigt__p_wxPalette[] = {{"_p_wxPalette", 0, "wxPalette *", 0, 0, 0, 0},{"_p_wxPalette", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19246static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
66c033b4 19247static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRegionIterator", _p_wxRegionIteratorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPen", _p_wxPenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDatabase", _p_wxColourDatabaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPenList", _p_wxPenListTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMask", _p_wxMaskTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFont", _p_wxFontTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClientDC", _p_wxClientDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRegion", _p_wxRegionTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDC", _p_wxDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIcon", _p_wxIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGDIObject", _p_wxGDIObjectTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEffects", _p_wxEffectsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPalette", _p_wxPaletteTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageList", _p_wxImageListTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCursor", _p_wxCursorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEncodingConverter", _p_wxEncodingConverterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBrushList", _p_wxBrushListTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmap", _p_wxBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBrush", _p_wxBrushTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMetaFile", _p_wxMetaFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColour", _p_wxColourTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontList", _p_wxFontListTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
19248static swig_type_info _swigt__p_wxRegionIterator[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0, 0, 0, 0},{"_p_wxRegionIterator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19249static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19250static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19251static swig_type_info _swigt__p_wxPrinterDC[] = {{"_p_wxPrinterDC", 0, "wxPrinterDC *", 0, 0, 0, 0},{"_p_wxPrinterDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19252static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0, 0, 0, 0},{"_p_wxIconBundle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19253static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19254static swig_type_info _swigt__p_wxDash[] = {{"_p_wxDash", 0, "wxDash *", 0, 0, 0, 0},{"_p_wxDash", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19255static swig_type_info _swigt__p_wxScreenDC[] = {{"_p_wxScreenDC", 0, "wxScreenDC *", 0, 0, 0, 0},{"_p_wxScreenDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19256static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19257static swig_type_info _swigt__p_wxClientDC[] = {{"_p_wxClientDC", 0, "wxClientDC *", 0, 0, 0, 0},{"_p_wxClientDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19258static swig_type_info _swigt__p_wxBufferedDC[] = {{"_p_wxBufferedDC", 0, "wxBufferedDC *", 0, 0, 0, 0},{"_p_wxBufferedDC", 0, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxBufferedDC, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19259static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19260static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{"_p_byte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
66c033b4 19261static swig_type_info _swigt__p_wxGDIObject[] = {{"_p_wxGDIObject", 0, "wxGDIObject *", 0, 0, 0, 0},{"_p_wxIcon", _p_wxIconTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxPen", _p_wxPenTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxFont", _p_wxFontTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxPalette", _p_wxPaletteTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxGDIObject", 0, 0, 0, 0, 0, 0},{"_p_wxCursor", _p_wxCursorTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxBitmap", _p_wxBitmapTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxRegion", _p_wxRegionTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxBrush", _p_wxBrushTo_p_wxGDIObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
19262static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19263static swig_type_info _swigt__p_wxLocale[] = {{"_p_wxLocale", 0, "wxLocale *", 0, 0, 0, 0},{"_p_wxLocale", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19264static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
b2df227b 19265static swig_type_info _swigt__p_wxLanguageInfo[] = {{"_p_wxLanguageInfo", 0, "wxLanguageInfo *", 0, 0, 0, 0},{"_p_wxLanguageInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
66c033b4 19266static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
19267static swig_type_info _swigt__p_wxWindowDC[] = {{"_p_wxWindowDC", 0, "wxWindowDC *", 0, 0, 0, 0},{"_p_wxWindowDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19268static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19269static swig_type_info _swigt__p_wxBrushList[] = {{"_p_wxBrushList", 0, "wxBrushList *", 0, 0, 0, 0},{"_p_wxBrushList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19270static swig_type_info _swigt__p_wxFontList[] = {{"_p_wxFontList", 0, "wxFontList *", 0, 0, 0, 0},{"_p_wxFontList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
66c033b4 19271static swig_type_info _swigt__p_wxPen[] = {{"_p_wxPen", 0, "wxPen *", 0, 0, 0, 0},{"_p_wxPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
19272static swig_type_info _swigt__p_wxBufferedPaintDC[] = {{"_p_wxBufferedPaintDC", 0, "wxBufferedPaintDC *", 0, 0, 0, 0},{"_p_wxBufferedPaintDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19273static swig_type_info _swigt__p_wxPaintDC[] = {{"_p_wxPaintDC", 0, "wxPaintDC *", 0, 0, 0, 0},{"_p_wxPaintDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19274static swig_type_info _swigt__p_wxPenList[] = {{"_p_wxPenList", 0, "wxPenList *", 0, 0, 0, 0},{"_p_wxPenList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
19275static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19276static swig_type_info _swigt__p_wxMetaFile[] = {{"_p_wxMetaFile", 0, "wxMetaFile *", 0, 0, 0, 0},{"_p_wxMetaFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19277static swig_type_info _swigt__p_wxNativeFontInfo[] = {{"_p_wxNativeFontInfo", 0, "wxNativeFontInfo *", 0, 0, 0, 0},{"_p_wxNativeFontInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19278static swig_type_info _swigt__p_wxEncodingConverter[] = {{"_p_wxEncodingConverter", 0, "wxEncodingConverter *", 0, 0, 0, 0},{"_p_wxEncodingConverter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19279static swig_type_info _swigt__p_wxColourDatabase[] = {{"_p_wxColourDatabase", 0, "wxColourDatabase *", 0, 0, 0, 0},{"_p_wxColourDatabase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d14a1e28
RD
19280
19281static swig_type_info *swig_types_initial[] = {
19282_swigt__p_wxPostScriptDC,
d14a1e28
RD
19283_swigt__p_wxBrush,
19284_swigt__p_wxColour,
d14a1e28
RD
19285_swigt__p_wxDC,
19286_swigt__p_wxMirrorDC,
19287_swigt__p_byte,
19288_swigt__p_wxPyFontEnumerator,
994141e6 19289_swigt__p_char,
d14a1e28
RD
19290_swigt__p_wxIconLocation,
19291_swigt__p_wxImage,
19292_swigt__p_wxMetaFileDC,
19293_swigt__p_wxMask,
b2df227b 19294_swigt__p_wxSize,
d14a1e28
RD
19295_swigt__p_wxFont,
19296_swigt__p_wxWindow,
d14a1e28
RD
19297_swigt__p_double,
19298_swigt__p_wxMemoryDC,
19299_swigt__p_wxFontMapper,
d14a1e28
RD
19300_swigt__p_wxEffects,
19301_swigt__p_wxNativeEncodingInfo,
19302_swigt__p_wxPalette,
19303_swigt__p_wxBitmap,
19304_swigt__p_wxObject,
19305_swigt__p_wxRegionIterator,
19306_swigt__p_wxRect,
19307_swigt__p_wxString,
19308_swigt__p_wxPrinterDC,
19309_swigt__p_wxIconBundle,
19310_swigt__p_wxPoint,
19311_swigt__p_wxDash,
19312_swigt__p_wxScreenDC,
19313_swigt__p_wxCursor,
19314_swigt__p_wxClientDC,
d14a1e28
RD
19315_swigt__p_wxBufferedDC,
19316_swigt__p_wxImageList,
19317_swigt__p_unsigned_char,
19318_swigt__p_wxGDIObject,
d14a1e28 19319_swigt__p_wxIcon,
994141e6 19320_swigt__p_wxLocale,
d14a1e28 19321_swigt__p_wxRegion,
b2df227b 19322_swigt__p_wxLanguageInfo,
66c033b4 19323_swigt__p_wxConfigBase,
d14a1e28
RD
19324_swigt__p_wxWindowDC,
19325_swigt__p_wxPrintData,
19326_swigt__p_wxBrushList,
19327_swigt__p_wxFontList,
19328_swigt__p_wxPen,
19329_swigt__p_wxBufferedPaintDC,
19330_swigt__p_wxPaintDC,
19331_swigt__p_wxPenList,
d14a1e28
RD
19332_swigt__p_int,
19333_swigt__p_wxMetaFile,
19334_swigt__p_wxNativeFontInfo,
19335_swigt__p_wxEncodingConverter,
19336_swigt__p_wxColourDatabase,
193370
19338};
19339
19340
19341/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19342
19343static swig_const_info swig_const_table[] = {
c32bde28 19344{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
19345
19346#ifdef __cplusplus
19347}
19348#endif
19349
19350#ifdef __cplusplus
19351extern "C"
19352#endif
19353SWIGEXPORT(void) SWIG_init(void) {
19354 static PyObject *SWIG_globals = 0;
19355 static int typeinit = 0;
19356 PyObject *m, *d;
19357 int i;
19358 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
19359 m = Py_InitModule((char *) SWIG_name, SwigMethods);
19360 d = PyModule_GetDict(m);
19361
19362 if (!typeinit) {
19363 for (i = 0; swig_types_initial[i]; i++) {
19364 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
19365 }
19366 typeinit = 1;
19367 }
19368 SWIG_InstallConstants(d,swig_const_table);
19369
c32bde28
RD
19370 PyDict_SetItemString(d,"OutRegion", SWIG_From_int((int)wxOutRegion));
19371 PyDict_SetItemString(d,"PartRegion", SWIG_From_int((int)wxPartRegion));
19372 PyDict_SetItemString(d,"InRegion", SWIG_From_int((int)wxInRegion));
19373 PyDict_SetItemString(d,"FONTFAMILY_DEFAULT", SWIG_From_int((int)wxFONTFAMILY_DEFAULT));
19374 PyDict_SetItemString(d,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)wxFONTFAMILY_DECORATIVE));
19375 PyDict_SetItemString(d,"FONTFAMILY_ROMAN", SWIG_From_int((int)wxFONTFAMILY_ROMAN));
19376 PyDict_SetItemString(d,"FONTFAMILY_SCRIPT", SWIG_From_int((int)wxFONTFAMILY_SCRIPT));
19377 PyDict_SetItemString(d,"FONTFAMILY_SWISS", SWIG_From_int((int)wxFONTFAMILY_SWISS));
19378 PyDict_SetItemString(d,"FONTFAMILY_MODERN", SWIG_From_int((int)wxFONTFAMILY_MODERN));
19379 PyDict_SetItemString(d,"FONTFAMILY_TELETYPE", SWIG_From_int((int)wxFONTFAMILY_TELETYPE));
19380 PyDict_SetItemString(d,"FONTFAMILY_MAX", SWIG_From_int((int)wxFONTFAMILY_MAX));
19381 PyDict_SetItemString(d,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)wxFONTFAMILY_UNKNOWN));
19382 PyDict_SetItemString(d,"FONTSTYLE_NORMAL", SWIG_From_int((int)wxFONTSTYLE_NORMAL));
19383 PyDict_SetItemString(d,"FONTSTYLE_ITALIC", SWIG_From_int((int)wxFONTSTYLE_ITALIC));
19384 PyDict_SetItemString(d,"FONTSTYLE_SLANT", SWIG_From_int((int)wxFONTSTYLE_SLANT));
19385 PyDict_SetItemString(d,"FONTSTYLE_MAX", SWIG_From_int((int)wxFONTSTYLE_MAX));
19386 PyDict_SetItemString(d,"FONTWEIGHT_NORMAL", SWIG_From_int((int)wxFONTWEIGHT_NORMAL));
19387 PyDict_SetItemString(d,"FONTWEIGHT_LIGHT", SWIG_From_int((int)wxFONTWEIGHT_LIGHT));
19388 PyDict_SetItemString(d,"FONTWEIGHT_BOLD", SWIG_From_int((int)wxFONTWEIGHT_BOLD));
19389 PyDict_SetItemString(d,"FONTWEIGHT_MAX", SWIG_From_int((int)wxFONTWEIGHT_MAX));
19390 PyDict_SetItemString(d,"FONTFLAG_DEFAULT", SWIG_From_int((int)wxFONTFLAG_DEFAULT));
19391 PyDict_SetItemString(d,"FONTFLAG_ITALIC", SWIG_From_int((int)wxFONTFLAG_ITALIC));
19392 PyDict_SetItemString(d,"FONTFLAG_SLANT", SWIG_From_int((int)wxFONTFLAG_SLANT));
19393 PyDict_SetItemString(d,"FONTFLAG_LIGHT", SWIG_From_int((int)wxFONTFLAG_LIGHT));
19394 PyDict_SetItemString(d,"FONTFLAG_BOLD", SWIG_From_int((int)wxFONTFLAG_BOLD));
19395 PyDict_SetItemString(d,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_ANTIALIASED));
19396 PyDict_SetItemString(d,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_NOT_ANTIALIASED));
19397 PyDict_SetItemString(d,"FONTFLAG_UNDERLINED", SWIG_From_int((int)wxFONTFLAG_UNDERLINED));
19398 PyDict_SetItemString(d,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)wxFONTFLAG_STRIKETHROUGH));
19399 PyDict_SetItemString(d,"FONTFLAG_MASK", SWIG_From_int((int)wxFONTFLAG_MASK));
19400 PyDict_SetItemString(d,"FONTENCODING_SYSTEM", SWIG_From_int((int)wxFONTENCODING_SYSTEM));
19401 PyDict_SetItemString(d,"FONTENCODING_DEFAULT", SWIG_From_int((int)wxFONTENCODING_DEFAULT));
19402 PyDict_SetItemString(d,"FONTENCODING_ISO8859_1", SWIG_From_int((int)wxFONTENCODING_ISO8859_1));
19403 PyDict_SetItemString(d,"FONTENCODING_ISO8859_2", SWIG_From_int((int)wxFONTENCODING_ISO8859_2));
19404 PyDict_SetItemString(d,"FONTENCODING_ISO8859_3", SWIG_From_int((int)wxFONTENCODING_ISO8859_3));
19405 PyDict_SetItemString(d,"FONTENCODING_ISO8859_4", SWIG_From_int((int)wxFONTENCODING_ISO8859_4));
19406 PyDict_SetItemString(d,"FONTENCODING_ISO8859_5", SWIG_From_int((int)wxFONTENCODING_ISO8859_5));
19407 PyDict_SetItemString(d,"FONTENCODING_ISO8859_6", SWIG_From_int((int)wxFONTENCODING_ISO8859_6));
19408 PyDict_SetItemString(d,"FONTENCODING_ISO8859_7", SWIG_From_int((int)wxFONTENCODING_ISO8859_7));
19409 PyDict_SetItemString(d,"FONTENCODING_ISO8859_8", SWIG_From_int((int)wxFONTENCODING_ISO8859_8));
19410 PyDict_SetItemString(d,"FONTENCODING_ISO8859_9", SWIG_From_int((int)wxFONTENCODING_ISO8859_9));
19411 PyDict_SetItemString(d,"FONTENCODING_ISO8859_10", SWIG_From_int((int)wxFONTENCODING_ISO8859_10));
19412 PyDict_SetItemString(d,"FONTENCODING_ISO8859_11", SWIG_From_int((int)wxFONTENCODING_ISO8859_11));
19413 PyDict_SetItemString(d,"FONTENCODING_ISO8859_12", SWIG_From_int((int)wxFONTENCODING_ISO8859_12));
19414 PyDict_SetItemString(d,"FONTENCODING_ISO8859_13", SWIG_From_int((int)wxFONTENCODING_ISO8859_13));
19415 PyDict_SetItemString(d,"FONTENCODING_ISO8859_14", SWIG_From_int((int)wxFONTENCODING_ISO8859_14));
19416 PyDict_SetItemString(d,"FONTENCODING_ISO8859_15", SWIG_From_int((int)wxFONTENCODING_ISO8859_15));
19417 PyDict_SetItemString(d,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)wxFONTENCODING_ISO8859_MAX));
19418 PyDict_SetItemString(d,"FONTENCODING_KOI8", SWIG_From_int((int)wxFONTENCODING_KOI8));
19419 PyDict_SetItemString(d,"FONTENCODING_KOI8_U", SWIG_From_int((int)wxFONTENCODING_KOI8_U));
19420 PyDict_SetItemString(d,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)wxFONTENCODING_ALTERNATIVE));
19421 PyDict_SetItemString(d,"FONTENCODING_BULGARIAN", SWIG_From_int((int)wxFONTENCODING_BULGARIAN));
19422 PyDict_SetItemString(d,"FONTENCODING_CP437", SWIG_From_int((int)wxFONTENCODING_CP437));
19423 PyDict_SetItemString(d,"FONTENCODING_CP850", SWIG_From_int((int)wxFONTENCODING_CP850));
19424 PyDict_SetItemString(d,"FONTENCODING_CP852", SWIG_From_int((int)wxFONTENCODING_CP852));
19425 PyDict_SetItemString(d,"FONTENCODING_CP855", SWIG_From_int((int)wxFONTENCODING_CP855));
19426 PyDict_SetItemString(d,"FONTENCODING_CP866", SWIG_From_int((int)wxFONTENCODING_CP866));
19427 PyDict_SetItemString(d,"FONTENCODING_CP874", SWIG_From_int((int)wxFONTENCODING_CP874));
19428 PyDict_SetItemString(d,"FONTENCODING_CP932", SWIG_From_int((int)wxFONTENCODING_CP932));
19429 PyDict_SetItemString(d,"FONTENCODING_CP936", SWIG_From_int((int)wxFONTENCODING_CP936));
19430 PyDict_SetItemString(d,"FONTENCODING_CP949", SWIG_From_int((int)wxFONTENCODING_CP949));
19431 PyDict_SetItemString(d,"FONTENCODING_CP950", SWIG_From_int((int)wxFONTENCODING_CP950));
19432 PyDict_SetItemString(d,"FONTENCODING_CP1250", SWIG_From_int((int)wxFONTENCODING_CP1250));
19433 PyDict_SetItemString(d,"FONTENCODING_CP1251", SWIG_From_int((int)wxFONTENCODING_CP1251));
19434 PyDict_SetItemString(d,"FONTENCODING_CP1252", SWIG_From_int((int)wxFONTENCODING_CP1252));
19435 PyDict_SetItemString(d,"FONTENCODING_CP1253", SWIG_From_int((int)wxFONTENCODING_CP1253));
19436 PyDict_SetItemString(d,"FONTENCODING_CP1254", SWIG_From_int((int)wxFONTENCODING_CP1254));
19437 PyDict_SetItemString(d,"FONTENCODING_CP1255", SWIG_From_int((int)wxFONTENCODING_CP1255));
19438 PyDict_SetItemString(d,"FONTENCODING_CP1256", SWIG_From_int((int)wxFONTENCODING_CP1256));
19439 PyDict_SetItemString(d,"FONTENCODING_CP1257", SWIG_From_int((int)wxFONTENCODING_CP1257));
19440 PyDict_SetItemString(d,"FONTENCODING_CP12_MAX", SWIG_From_int((int)wxFONTENCODING_CP12_MAX));
19441 PyDict_SetItemString(d,"FONTENCODING_UTF7", SWIG_From_int((int)wxFONTENCODING_UTF7));
19442 PyDict_SetItemString(d,"FONTENCODING_UTF8", SWIG_From_int((int)wxFONTENCODING_UTF8));
19443 PyDict_SetItemString(d,"FONTENCODING_EUC_JP", SWIG_From_int((int)wxFONTENCODING_EUC_JP));
19444 PyDict_SetItemString(d,"FONTENCODING_UTF16BE", SWIG_From_int((int)wxFONTENCODING_UTF16BE));
19445 PyDict_SetItemString(d,"FONTENCODING_UTF16LE", SWIG_From_int((int)wxFONTENCODING_UTF16LE));
19446 PyDict_SetItemString(d,"FONTENCODING_UTF32BE", SWIG_From_int((int)wxFONTENCODING_UTF32BE));
19447 PyDict_SetItemString(d,"FONTENCODING_UTF32LE", SWIG_From_int((int)wxFONTENCODING_UTF32LE));
19448 PyDict_SetItemString(d,"FONTENCODING_MACROMAN", SWIG_From_int((int)wxFONTENCODING_MACROMAN));
19449 PyDict_SetItemString(d,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)wxFONTENCODING_MACJAPANESE));
19450 PyDict_SetItemString(d,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)wxFONTENCODING_MACCHINESETRAD));
19451 PyDict_SetItemString(d,"FONTENCODING_MACKOREAN", SWIG_From_int((int)wxFONTENCODING_MACKOREAN));
19452 PyDict_SetItemString(d,"FONTENCODING_MACARABIC", SWIG_From_int((int)wxFONTENCODING_MACARABIC));
19453 PyDict_SetItemString(d,"FONTENCODING_MACHEBREW", SWIG_From_int((int)wxFONTENCODING_MACHEBREW));
19454 PyDict_SetItemString(d,"FONTENCODING_MACGREEK", SWIG_From_int((int)wxFONTENCODING_MACGREEK));
19455 PyDict_SetItemString(d,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)wxFONTENCODING_MACCYRILLIC));
19456 PyDict_SetItemString(d,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)wxFONTENCODING_MACDEVANAGARI));
19457 PyDict_SetItemString(d,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)wxFONTENCODING_MACGURMUKHI));
19458 PyDict_SetItemString(d,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)wxFONTENCODING_MACGUJARATI));
19459 PyDict_SetItemString(d,"FONTENCODING_MACORIYA", SWIG_From_int((int)wxFONTENCODING_MACORIYA));
19460 PyDict_SetItemString(d,"FONTENCODING_MACBENGALI", SWIG_From_int((int)wxFONTENCODING_MACBENGALI));
19461 PyDict_SetItemString(d,"FONTENCODING_MACTAMIL", SWIG_From_int((int)wxFONTENCODING_MACTAMIL));
19462 PyDict_SetItemString(d,"FONTENCODING_MACTELUGU", SWIG_From_int((int)wxFONTENCODING_MACTELUGU));
19463 PyDict_SetItemString(d,"FONTENCODING_MACKANNADA", SWIG_From_int((int)wxFONTENCODING_MACKANNADA));
19464 PyDict_SetItemString(d,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)wxFONTENCODING_MACMALAJALAM));
19465 PyDict_SetItemString(d,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)wxFONTENCODING_MACSINHALESE));
19466 PyDict_SetItemString(d,"FONTENCODING_MACBURMESE", SWIG_From_int((int)wxFONTENCODING_MACBURMESE));
19467 PyDict_SetItemString(d,"FONTENCODING_MACKHMER", SWIG_From_int((int)wxFONTENCODING_MACKHMER));
19468 PyDict_SetItemString(d,"FONTENCODING_MACTHAI", SWIG_From_int((int)wxFONTENCODING_MACTHAI));
19469 PyDict_SetItemString(d,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)wxFONTENCODING_MACLAOTIAN));
19470 PyDict_SetItemString(d,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)wxFONTENCODING_MACGEORGIAN));
19471 PyDict_SetItemString(d,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)wxFONTENCODING_MACARMENIAN));
19472 PyDict_SetItemString(d,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)wxFONTENCODING_MACCHINESESIMP));
19473 PyDict_SetItemString(d,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)wxFONTENCODING_MACTIBETAN));
19474 PyDict_SetItemString(d,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)wxFONTENCODING_MACMONGOLIAN));
19475 PyDict_SetItemString(d,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)wxFONTENCODING_MACETHIOPIC));
19476 PyDict_SetItemString(d,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)wxFONTENCODING_MACCENTRALEUR));
19477 PyDict_SetItemString(d,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)wxFONTENCODING_MACVIATNAMESE));
19478 PyDict_SetItemString(d,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)wxFONTENCODING_MACARABICEXT));
19479 PyDict_SetItemString(d,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)wxFONTENCODING_MACSYMBOL));
19480 PyDict_SetItemString(d,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)wxFONTENCODING_MACDINGBATS));
19481 PyDict_SetItemString(d,"FONTENCODING_MACTURKISH", SWIG_From_int((int)wxFONTENCODING_MACTURKISH));
19482 PyDict_SetItemString(d,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)wxFONTENCODING_MACCROATIAN));
19483 PyDict_SetItemString(d,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)wxFONTENCODING_MACICELANDIC));
19484 PyDict_SetItemString(d,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)wxFONTENCODING_MACROMANIAN));
19485 PyDict_SetItemString(d,"FONTENCODING_MACCELTIC", SWIG_From_int((int)wxFONTENCODING_MACCELTIC));
19486 PyDict_SetItemString(d,"FONTENCODING_MACGAELIC", SWIG_From_int((int)wxFONTENCODING_MACGAELIC));
19487 PyDict_SetItemString(d,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)wxFONTENCODING_MACKEYBOARD));
19488 PyDict_SetItemString(d,"FONTENCODING_MACMIN", SWIG_From_int((int)wxFONTENCODING_MACMIN));
19489 PyDict_SetItemString(d,"FONTENCODING_MACMAX", SWIG_From_int((int)wxFONTENCODING_MACMAX));
19490 PyDict_SetItemString(d,"FONTENCODING_MAX", SWIG_From_int((int)wxFONTENCODING_MAX));
19491 PyDict_SetItemString(d,"FONTENCODING_UTF16", SWIG_From_int((int)wxFONTENCODING_UTF16));
19492 PyDict_SetItemString(d,"FONTENCODING_UTF32", SWIG_From_int((int)wxFONTENCODING_UTF32));
19493 PyDict_SetItemString(d,"FONTENCODING_UNICODE", SWIG_From_int((int)wxFONTENCODING_UNICODE));
19494 PyDict_SetItemString(d,"FONTENCODING_GB2312", SWIG_From_int((int)wxFONTENCODING_GB2312));
19495 PyDict_SetItemString(d,"FONTENCODING_BIG5", SWIG_From_int((int)wxFONTENCODING_BIG5));
19496 PyDict_SetItemString(d,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)wxFONTENCODING_SHIFT_JIS));
d14a1e28
RD
19497
19498 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19499
c32bde28
RD
19500 PyDict_SetItemString(d,"LANGUAGE_DEFAULT", SWIG_From_int((int)wxLANGUAGE_DEFAULT));
19501 PyDict_SetItemString(d,"LANGUAGE_UNKNOWN", SWIG_From_int((int)wxLANGUAGE_UNKNOWN));
19502 PyDict_SetItemString(d,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)wxLANGUAGE_ABKHAZIAN));
19503 PyDict_SetItemString(d,"LANGUAGE_AFAR", SWIG_From_int((int)wxLANGUAGE_AFAR));
19504 PyDict_SetItemString(d,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)wxLANGUAGE_AFRIKAANS));
19505 PyDict_SetItemString(d,"LANGUAGE_ALBANIAN", SWIG_From_int((int)wxLANGUAGE_ALBANIAN));
19506 PyDict_SetItemString(d,"LANGUAGE_AMHARIC", SWIG_From_int((int)wxLANGUAGE_AMHARIC));
19507 PyDict_SetItemString(d,"LANGUAGE_ARABIC", SWIG_From_int((int)wxLANGUAGE_ARABIC));
19508 PyDict_SetItemString(d,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_ALGERIA));
19509 PyDict_SetItemString(d,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)wxLANGUAGE_ARABIC_BAHRAIN));
19510 PyDict_SetItemString(d,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)wxLANGUAGE_ARABIC_EGYPT));
19511 PyDict_SetItemString(d,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)wxLANGUAGE_ARABIC_IRAQ));
19512 PyDict_SetItemString(d,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_JORDAN));
19513 PyDict_SetItemString(d,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)wxLANGUAGE_ARABIC_KUWAIT));
19514 PyDict_SetItemString(d,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)wxLANGUAGE_ARABIC_LEBANON));
19515 PyDict_SetItemString(d,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)wxLANGUAGE_ARABIC_LIBYA));
19516 PyDict_SetItemString(d,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)wxLANGUAGE_ARABIC_MOROCCO));
19517 PyDict_SetItemString(d,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_OMAN));
19518 PyDict_SetItemString(d,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)wxLANGUAGE_ARABIC_QATAR));
19519 PyDict_SetItemString(d,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA));
19520 PyDict_SetItemString(d,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_SUDAN));
19521 PyDict_SetItemString(d,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SYRIA));
19522 PyDict_SetItemString(d,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_TUNISIA));
19523 PyDict_SetItemString(d,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)wxLANGUAGE_ARABIC_UAE));
19524 PyDict_SetItemString(d,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)wxLANGUAGE_ARABIC_YEMEN));
19525 PyDict_SetItemString(d,"LANGUAGE_ARMENIAN", SWIG_From_int((int)wxLANGUAGE_ARMENIAN));
19526 PyDict_SetItemString(d,"LANGUAGE_ASSAMESE", SWIG_From_int((int)wxLANGUAGE_ASSAMESE));
19527 PyDict_SetItemString(d,"LANGUAGE_AYMARA", SWIG_From_int((int)wxLANGUAGE_AYMARA));
19528 PyDict_SetItemString(d,"LANGUAGE_AZERI", SWIG_From_int((int)wxLANGUAGE_AZERI));
19529 PyDict_SetItemString(d,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_AZERI_CYRILLIC));
19530 PyDict_SetItemString(d,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)wxLANGUAGE_AZERI_LATIN));
19531 PyDict_SetItemString(d,"LANGUAGE_BASHKIR", SWIG_From_int((int)wxLANGUAGE_BASHKIR));
19532 PyDict_SetItemString(d,"LANGUAGE_BASQUE", SWIG_From_int((int)wxLANGUAGE_BASQUE));
19533 PyDict_SetItemString(d,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)wxLANGUAGE_BELARUSIAN));
19534 PyDict_SetItemString(d,"LANGUAGE_BENGALI", SWIG_From_int((int)wxLANGUAGE_BENGALI));
19535 PyDict_SetItemString(d,"LANGUAGE_BHUTANI", SWIG_From_int((int)wxLANGUAGE_BHUTANI));
19536 PyDict_SetItemString(d,"LANGUAGE_BIHARI", SWIG_From_int((int)wxLANGUAGE_BIHARI));
19537 PyDict_SetItemString(d,"LANGUAGE_BISLAMA", SWIG_From_int((int)wxLANGUAGE_BISLAMA));
19538 PyDict_SetItemString(d,"LANGUAGE_BRETON", SWIG_From_int((int)wxLANGUAGE_BRETON));
19539 PyDict_SetItemString(d,"LANGUAGE_BULGARIAN", SWIG_From_int((int)wxLANGUAGE_BULGARIAN));
19540 PyDict_SetItemString(d,"LANGUAGE_BURMESE", SWIG_From_int((int)wxLANGUAGE_BURMESE));
19541 PyDict_SetItemString(d,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)wxLANGUAGE_CAMBODIAN));
19542 PyDict_SetItemString(d,"LANGUAGE_CATALAN", SWIG_From_int((int)wxLANGUAGE_CATALAN));
19543 PyDict_SetItemString(d,"LANGUAGE_CHINESE", SWIG_From_int((int)wxLANGUAGE_CHINESE));
19544 PyDict_SetItemString(d,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)wxLANGUAGE_CHINESE_SIMPLIFIED));
19545 PyDict_SetItemString(d,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)wxLANGUAGE_CHINESE_TRADITIONAL));
19546 PyDict_SetItemString(d,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)wxLANGUAGE_CHINESE_HONGKONG));
19547 PyDict_SetItemString(d,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)wxLANGUAGE_CHINESE_MACAU));
19548 PyDict_SetItemString(d,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)wxLANGUAGE_CHINESE_SINGAPORE));
19549 PyDict_SetItemString(d,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)wxLANGUAGE_CHINESE_TAIWAN));
19550 PyDict_SetItemString(d,"LANGUAGE_CORSICAN", SWIG_From_int((int)wxLANGUAGE_CORSICAN));
19551 PyDict_SetItemString(d,"LANGUAGE_CROATIAN", SWIG_From_int((int)wxLANGUAGE_CROATIAN));
19552 PyDict_SetItemString(d,"LANGUAGE_CZECH", SWIG_From_int((int)wxLANGUAGE_CZECH));
19553 PyDict_SetItemString(d,"LANGUAGE_DANISH", SWIG_From_int((int)wxLANGUAGE_DANISH));
19554 PyDict_SetItemString(d,"LANGUAGE_DUTCH", SWIG_From_int((int)wxLANGUAGE_DUTCH));
19555 PyDict_SetItemString(d,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_DUTCH_BELGIAN));
19556 PyDict_SetItemString(d,"LANGUAGE_ENGLISH", SWIG_From_int((int)wxLANGUAGE_ENGLISH));
19557 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_UK));
19558 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)wxLANGUAGE_ENGLISH_US));
19559 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_AUSTRALIA));
19560 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BELIZE));
19561 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BOTSWANA));
19562 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CANADA));
19563 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CARIBBEAN));
19564 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_DENMARK));
19565 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_EIRE));
19566 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_JAMAICA));
19567 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND));
19568 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)wxLANGUAGE_ENGLISH_PHILIPPINES));
19569 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA));
19570 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)wxLANGUAGE_ENGLISH_TRINIDAD));
19571 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_ZIMBABWE));
19572 PyDict_SetItemString(d,"LANGUAGE_ESPERANTO", SWIG_From_int((int)wxLANGUAGE_ESPERANTO));
19573 PyDict_SetItemString(d,"LANGUAGE_ESTONIAN", SWIG_From_int((int)wxLANGUAGE_ESTONIAN));
19574 PyDict_SetItemString(d,"LANGUAGE_FAEROESE", SWIG_From_int((int)wxLANGUAGE_FAEROESE));
19575 PyDict_SetItemString(d,"LANGUAGE_FARSI", SWIG_From_int((int)wxLANGUAGE_FARSI));
19576 PyDict_SetItemString(d,"LANGUAGE_FIJI", SWIG_From_int((int)wxLANGUAGE_FIJI));
19577 PyDict_SetItemString(d,"LANGUAGE_FINNISH", SWIG_From_int((int)wxLANGUAGE_FINNISH));
19578 PyDict_SetItemString(d,"LANGUAGE_FRENCH", SWIG_From_int((int)wxLANGUAGE_FRENCH));
19579 PyDict_SetItemString(d,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_BELGIAN));
19580 PyDict_SetItemString(d,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_CANADIAN));
19581 PyDict_SetItemString(d,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_FRENCH_LUXEMBOURG));
19582 PyDict_SetItemString(d,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)wxLANGUAGE_FRENCH_MONACO));
19583 PyDict_SetItemString(d,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)wxLANGUAGE_FRENCH_SWISS));
19584 PyDict_SetItemString(d,"LANGUAGE_FRISIAN", SWIG_From_int((int)wxLANGUAGE_FRISIAN));
19585 PyDict_SetItemString(d,"LANGUAGE_GALICIAN", SWIG_From_int((int)wxLANGUAGE_GALICIAN));
19586 PyDict_SetItemString(d,"LANGUAGE_GEORGIAN", SWIG_From_int((int)wxLANGUAGE_GEORGIAN));
19587 PyDict_SetItemString(d,"LANGUAGE_GERMAN", SWIG_From_int((int)wxLANGUAGE_GERMAN));
19588 PyDict_SetItemString(d,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)wxLANGUAGE_GERMAN_AUSTRIAN));
19589 PyDict_SetItemString(d,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)wxLANGUAGE_GERMAN_BELGIUM));
19590 PyDict_SetItemString(d,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN));
19591 PyDict_SetItemString(d,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_GERMAN_LUXEMBOURG));
19592 PyDict_SetItemString(d,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)wxLANGUAGE_GERMAN_SWISS));
19593 PyDict_SetItemString(d,"LANGUAGE_GREEK", SWIG_From_int((int)wxLANGUAGE_GREEK));
19594 PyDict_SetItemString(d,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)wxLANGUAGE_GREENLANDIC));
19595 PyDict_SetItemString(d,"LANGUAGE_GUARANI", SWIG_From_int((int)wxLANGUAGE_GUARANI));
19596 PyDict_SetItemString(d,"LANGUAGE_GUJARATI", SWIG_From_int((int)wxLANGUAGE_GUJARATI));
19597 PyDict_SetItemString(d,"LANGUAGE_HAUSA", SWIG_From_int((int)wxLANGUAGE_HAUSA));
19598 PyDict_SetItemString(d,"LANGUAGE_HEBREW", SWIG_From_int((int)wxLANGUAGE_HEBREW));
19599 PyDict_SetItemString(d,"LANGUAGE_HINDI", SWIG_From_int((int)wxLANGUAGE_HINDI));
19600 PyDict_SetItemString(d,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)wxLANGUAGE_HUNGARIAN));
19601 PyDict_SetItemString(d,"LANGUAGE_ICELANDIC", SWIG_From_int((int)wxLANGUAGE_ICELANDIC));
19602 PyDict_SetItemString(d,"LANGUAGE_INDONESIAN", SWIG_From_int((int)wxLANGUAGE_INDONESIAN));
19603 PyDict_SetItemString(d,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)wxLANGUAGE_INTERLINGUA));
19604 PyDict_SetItemString(d,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)wxLANGUAGE_INTERLINGUE));
19605 PyDict_SetItemString(d,"LANGUAGE_INUKTITUT", SWIG_From_int((int)wxLANGUAGE_INUKTITUT));
19606 PyDict_SetItemString(d,"LANGUAGE_INUPIAK", SWIG_From_int((int)wxLANGUAGE_INUPIAK));
19607 PyDict_SetItemString(d,"LANGUAGE_IRISH", SWIG_From_int((int)wxLANGUAGE_IRISH));
19608 PyDict_SetItemString(d,"LANGUAGE_ITALIAN", SWIG_From_int((int)wxLANGUAGE_ITALIAN));
19609 PyDict_SetItemString(d,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)wxLANGUAGE_ITALIAN_SWISS));
19610 PyDict_SetItemString(d,"LANGUAGE_JAPANESE", SWIG_From_int((int)wxLANGUAGE_JAPANESE));
19611 PyDict_SetItemString(d,"LANGUAGE_JAVANESE", SWIG_From_int((int)wxLANGUAGE_JAVANESE));
19612 PyDict_SetItemString(d,"LANGUAGE_KANNADA", SWIG_From_int((int)wxLANGUAGE_KANNADA));
19613 PyDict_SetItemString(d,"LANGUAGE_KASHMIRI", SWIG_From_int((int)wxLANGUAGE_KASHMIRI));
19614 PyDict_SetItemString(d,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)wxLANGUAGE_KASHMIRI_INDIA));
19615 PyDict_SetItemString(d,"LANGUAGE_KAZAKH", SWIG_From_int((int)wxLANGUAGE_KAZAKH));
19616 PyDict_SetItemString(d,"LANGUAGE_KERNEWEK", SWIG_From_int((int)wxLANGUAGE_KERNEWEK));
19617 PyDict_SetItemString(d,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)wxLANGUAGE_KINYARWANDA));
19618 PyDict_SetItemString(d,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)wxLANGUAGE_KIRGHIZ));
19619 PyDict_SetItemString(d,"LANGUAGE_KIRUNDI", SWIG_From_int((int)wxLANGUAGE_KIRUNDI));
19620 PyDict_SetItemString(d,"LANGUAGE_KONKANI", SWIG_From_int((int)wxLANGUAGE_KONKANI));
19621 PyDict_SetItemString(d,"LANGUAGE_KOREAN", SWIG_From_int((int)wxLANGUAGE_KOREAN));
19622 PyDict_SetItemString(d,"LANGUAGE_KURDISH", SWIG_From_int((int)wxLANGUAGE_KURDISH));
19623 PyDict_SetItemString(d,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)wxLANGUAGE_LAOTHIAN));
19624 PyDict_SetItemString(d,"LANGUAGE_LATIN", SWIG_From_int((int)wxLANGUAGE_LATIN));
19625 PyDict_SetItemString(d,"LANGUAGE_LATVIAN", SWIG_From_int((int)wxLANGUAGE_LATVIAN));
19626 PyDict_SetItemString(d,"LANGUAGE_LINGALA", SWIG_From_int((int)wxLANGUAGE_LINGALA));
19627 PyDict_SetItemString(d,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)wxLANGUAGE_LITHUANIAN));
19628 PyDict_SetItemString(d,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)wxLANGUAGE_MACEDONIAN));
19629 PyDict_SetItemString(d,"LANGUAGE_MALAGASY", SWIG_From_int((int)wxLANGUAGE_MALAGASY));
19630 PyDict_SetItemString(d,"LANGUAGE_MALAY", SWIG_From_int((int)wxLANGUAGE_MALAY));
19631 PyDict_SetItemString(d,"LANGUAGE_MALAYALAM", SWIG_From_int((int)wxLANGUAGE_MALAYALAM));
19632 PyDict_SetItemString(d,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM));
19633 PyDict_SetItemString(d,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)wxLANGUAGE_MALAY_MALAYSIA));
19634 PyDict_SetItemString(d,"LANGUAGE_MALTESE", SWIG_From_int((int)wxLANGUAGE_MALTESE));
19635 PyDict_SetItemString(d,"LANGUAGE_MANIPURI", SWIG_From_int((int)wxLANGUAGE_MANIPURI));
19636 PyDict_SetItemString(d,"LANGUAGE_MAORI", SWIG_From_int((int)wxLANGUAGE_MAORI));
19637 PyDict_SetItemString(d,"LANGUAGE_MARATHI", SWIG_From_int((int)wxLANGUAGE_MARATHI));
19638 PyDict_SetItemString(d,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)wxLANGUAGE_MOLDAVIAN));
19639 PyDict_SetItemString(d,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)wxLANGUAGE_MONGOLIAN));
19640 PyDict_SetItemString(d,"LANGUAGE_NAURU", SWIG_From_int((int)wxLANGUAGE_NAURU));
19641 PyDict_SetItemString(d,"LANGUAGE_NEPALI", SWIG_From_int((int)wxLANGUAGE_NEPALI));
19642 PyDict_SetItemString(d,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)wxLANGUAGE_NEPALI_INDIA));
19643 PyDict_SetItemString(d,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_BOKMAL));
19644 PyDict_SetItemString(d,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_NYNORSK));
19645 PyDict_SetItemString(d,"LANGUAGE_OCCITAN", SWIG_From_int((int)wxLANGUAGE_OCCITAN));
19646 PyDict_SetItemString(d,"LANGUAGE_ORIYA", SWIG_From_int((int)wxLANGUAGE_ORIYA));
19647 PyDict_SetItemString(d,"LANGUAGE_OROMO", SWIG_From_int((int)wxLANGUAGE_OROMO));
19648 PyDict_SetItemString(d,"LANGUAGE_PASHTO", SWIG_From_int((int)wxLANGUAGE_PASHTO));
19649 PyDict_SetItemString(d,"LANGUAGE_POLISH", SWIG_From_int((int)wxLANGUAGE_POLISH));
19650 PyDict_SetItemString(d,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE));
19651 PyDict_SetItemString(d,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN));
19652 PyDict_SetItemString(d,"LANGUAGE_PUNJABI", SWIG_From_int((int)wxLANGUAGE_PUNJABI));
19653 PyDict_SetItemString(d,"LANGUAGE_QUECHUA", SWIG_From_int((int)wxLANGUAGE_QUECHUA));
19654 PyDict_SetItemString(d,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)wxLANGUAGE_RHAETO_ROMANCE));
19655 PyDict_SetItemString(d,"LANGUAGE_ROMANIAN", SWIG_From_int((int)wxLANGUAGE_ROMANIAN));
19656 PyDict_SetItemString(d,"LANGUAGE_RUSSIAN", SWIG_From_int((int)wxLANGUAGE_RUSSIAN));
19657 PyDict_SetItemString(d,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)wxLANGUAGE_RUSSIAN_UKRAINE));
19658 PyDict_SetItemString(d,"LANGUAGE_SAMOAN", SWIG_From_int((int)wxLANGUAGE_SAMOAN));
19659 PyDict_SetItemString(d,"LANGUAGE_SANGHO", SWIG_From_int((int)wxLANGUAGE_SANGHO));
19660 PyDict_SetItemString(d,"LANGUAGE_SANSKRIT", SWIG_From_int((int)wxLANGUAGE_SANSKRIT));
19661 PyDict_SetItemString(d,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)wxLANGUAGE_SCOTS_GAELIC));
19662 PyDict_SetItemString(d,"LANGUAGE_SERBIAN", SWIG_From_int((int)wxLANGUAGE_SERBIAN));
19663 PyDict_SetItemString(d,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_SERBIAN_CYRILLIC));
19664 PyDict_SetItemString(d,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)wxLANGUAGE_SERBIAN_LATIN));
19665 PyDict_SetItemString(d,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)wxLANGUAGE_SERBO_CROATIAN));
19666 PyDict_SetItemString(d,"LANGUAGE_SESOTHO", SWIG_From_int((int)wxLANGUAGE_SESOTHO));
19667 PyDict_SetItemString(d,"LANGUAGE_SETSWANA", SWIG_From_int((int)wxLANGUAGE_SETSWANA));
19668 PyDict_SetItemString(d,"LANGUAGE_SHONA", SWIG_From_int((int)wxLANGUAGE_SHONA));
19669 PyDict_SetItemString(d,"LANGUAGE_SINDHI", SWIG_From_int((int)wxLANGUAGE_SINDHI));
19670 PyDict_SetItemString(d,"LANGUAGE_SINHALESE", SWIG_From_int((int)wxLANGUAGE_SINHALESE));
19671 PyDict_SetItemString(d,"LANGUAGE_SISWATI", SWIG_From_int((int)wxLANGUAGE_SISWATI));
19672 PyDict_SetItemString(d,"LANGUAGE_SLOVAK", SWIG_From_int((int)wxLANGUAGE_SLOVAK));
19673 PyDict_SetItemString(d,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)wxLANGUAGE_SLOVENIAN));
19674 PyDict_SetItemString(d,"LANGUAGE_SOMALI", SWIG_From_int((int)wxLANGUAGE_SOMALI));
19675 PyDict_SetItemString(d,"LANGUAGE_SPANISH", SWIG_From_int((int)wxLANGUAGE_SPANISH));
19676 PyDict_SetItemString(d,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)wxLANGUAGE_SPANISH_ARGENTINA));
19677 PyDict_SetItemString(d,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_BOLIVIA));
19678 PyDict_SetItemString(d,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)wxLANGUAGE_SPANISH_CHILE));
19679 PyDict_SetItemString(d,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COLOMBIA));
19680 PyDict_SetItemString(d,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COSTA_RICA));
19681 PyDict_SetItemString(d,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC));
19682 PyDict_SetItemString(d,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_ECUADOR));
19683 PyDict_SetItemString(d,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_EL_SALVADOR));
19684 PyDict_SetItemString(d,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)wxLANGUAGE_SPANISH_GUATEMALA));
19685 PyDict_SetItemString(d,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)wxLANGUAGE_SPANISH_HONDURAS));
19686 PyDict_SetItemString(d,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MEXICAN));
19687 PyDict_SetItemString(d,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MODERN));
19688 PyDict_SetItemString(d,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)wxLANGUAGE_SPANISH_NICARAGUA));
19689 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)wxLANGUAGE_SPANISH_PANAMA));
19690 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_PARAGUAY));
19691 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)wxLANGUAGE_SPANISH_PERU));
19692 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)wxLANGUAGE_SPANISH_PUERTO_RICO));
19693 PyDict_SetItemString(d,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_URUGUAY));
19694 PyDict_SetItemString(d,"LANGUAGE_SPANISH_US", SWIG_From_int((int)wxLANGUAGE_SPANISH_US));
19695 PyDict_SetItemString(d,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)wxLANGUAGE_SPANISH_VENEZUELA));
19696 PyDict_SetItemString(d,"LANGUAGE_SUNDANESE", SWIG_From_int((int)wxLANGUAGE_SUNDANESE));
19697 PyDict_SetItemString(d,"LANGUAGE_SWAHILI", SWIG_From_int((int)wxLANGUAGE_SWAHILI));
19698 PyDict_SetItemString(d,"LANGUAGE_SWEDISH", SWIG_From_int((int)wxLANGUAGE_SWEDISH));
19699 PyDict_SetItemString(d,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)wxLANGUAGE_SWEDISH_FINLAND));
19700 PyDict_SetItemString(d,"LANGUAGE_TAGALOG", SWIG_From_int((int)wxLANGUAGE_TAGALOG));
19701 PyDict_SetItemString(d,"LANGUAGE_TAJIK", SWIG_From_int((int)wxLANGUAGE_TAJIK));
19702 PyDict_SetItemString(d,"LANGUAGE_TAMIL", SWIG_From_int((int)wxLANGUAGE_TAMIL));
19703 PyDict_SetItemString(d,"LANGUAGE_TATAR", SWIG_From_int((int)wxLANGUAGE_TATAR));
19704 PyDict_SetItemString(d,"LANGUAGE_TELUGU", SWIG_From_int((int)wxLANGUAGE_TELUGU));
19705 PyDict_SetItemString(d,"LANGUAGE_THAI", SWIG_From_int((int)wxLANGUAGE_THAI));
19706 PyDict_SetItemString(d,"LANGUAGE_TIBETAN", SWIG_From_int((int)wxLANGUAGE_TIBETAN));
19707 PyDict_SetItemString(d,"LANGUAGE_TIGRINYA", SWIG_From_int((int)wxLANGUAGE_TIGRINYA));
19708 PyDict_SetItemString(d,"LANGUAGE_TONGA", SWIG_From_int((int)wxLANGUAGE_TONGA));
19709 PyDict_SetItemString(d,"LANGUAGE_TSONGA", SWIG_From_int((int)wxLANGUAGE_TSONGA));
19710 PyDict_SetItemString(d,"LANGUAGE_TURKISH", SWIG_From_int((int)wxLANGUAGE_TURKISH));
19711 PyDict_SetItemString(d,"LANGUAGE_TURKMEN", SWIG_From_int((int)wxLANGUAGE_TURKMEN));
19712 PyDict_SetItemString(d,"LANGUAGE_TWI", SWIG_From_int((int)wxLANGUAGE_TWI));
19713 PyDict_SetItemString(d,"LANGUAGE_UIGHUR", SWIG_From_int((int)wxLANGUAGE_UIGHUR));
19714 PyDict_SetItemString(d,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)wxLANGUAGE_UKRAINIAN));
19715 PyDict_SetItemString(d,"LANGUAGE_URDU", SWIG_From_int((int)wxLANGUAGE_URDU));
19716 PyDict_SetItemString(d,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)wxLANGUAGE_URDU_INDIA));
19717 PyDict_SetItemString(d,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)wxLANGUAGE_URDU_PAKISTAN));
19718 PyDict_SetItemString(d,"LANGUAGE_UZBEK", SWIG_From_int((int)wxLANGUAGE_UZBEK));
19719 PyDict_SetItemString(d,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_UZBEK_CYRILLIC));
19720 PyDict_SetItemString(d,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)wxLANGUAGE_UZBEK_LATIN));
19721 PyDict_SetItemString(d,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)wxLANGUAGE_VIETNAMESE));
19722 PyDict_SetItemString(d,"LANGUAGE_VOLAPUK", SWIG_From_int((int)wxLANGUAGE_VOLAPUK));
19723 PyDict_SetItemString(d,"LANGUAGE_WELSH", SWIG_From_int((int)wxLANGUAGE_WELSH));
19724 PyDict_SetItemString(d,"LANGUAGE_WOLOF", SWIG_From_int((int)wxLANGUAGE_WOLOF));
19725 PyDict_SetItemString(d,"LANGUAGE_XHOSA", SWIG_From_int((int)wxLANGUAGE_XHOSA));
19726 PyDict_SetItemString(d,"LANGUAGE_YIDDISH", SWIG_From_int((int)wxLANGUAGE_YIDDISH));
19727 PyDict_SetItemString(d,"LANGUAGE_YORUBA", SWIG_From_int((int)wxLANGUAGE_YORUBA));
19728 PyDict_SetItemString(d,"LANGUAGE_ZHUANG", SWIG_From_int((int)wxLANGUAGE_ZHUANG));
19729 PyDict_SetItemString(d,"LANGUAGE_ZULU", SWIG_From_int((int)wxLANGUAGE_ZULU));
19730 PyDict_SetItemString(d,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)wxLANGUAGE_USER_DEFINED));
19731 PyDict_SetItemString(d,"LOCALE_CAT_NUMBER", SWIG_From_int((int)wxLOCALE_CAT_NUMBER));
19732 PyDict_SetItemString(d,"LOCALE_CAT_DATE", SWIG_From_int((int)wxLOCALE_CAT_DATE));
19733 PyDict_SetItemString(d,"LOCALE_CAT_MONEY", SWIG_From_int((int)wxLOCALE_CAT_MONEY));
19734 PyDict_SetItemString(d,"LOCALE_CAT_MAX", SWIG_From_int((int)wxLOCALE_CAT_MAX));
19735 PyDict_SetItemString(d,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)wxLOCALE_THOUSANDS_SEP));
19736 PyDict_SetItemString(d,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)wxLOCALE_DECIMAL_POINT));
19737 PyDict_SetItemString(d,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)wxLOCALE_LOAD_DEFAULT));
19738 PyDict_SetItemString(d,"LOCALE_CONV_ENCODING", SWIG_From_int((int)wxLOCALE_CONV_ENCODING));
19739 PyDict_SetItemString(d,"CONVERT_STRICT", SWIG_From_int((int)wxCONVERT_STRICT));
19740 PyDict_SetItemString(d,"CONVERT_SUBSTITUTE", SWIG_From_int((int)wxCONVERT_SUBSTITUTE));
19741 PyDict_SetItemString(d,"PLATFORM_CURRENT", SWIG_From_int((int)wxPLATFORM_CURRENT));
19742 PyDict_SetItemString(d,"PLATFORM_UNIX", SWIG_From_int((int)wxPLATFORM_UNIX));
19743 PyDict_SetItemString(d,"PLATFORM_WINDOWS", SWIG_From_int((int)wxPLATFORM_WINDOWS));
19744 PyDict_SetItemString(d,"PLATFORM_OS2", SWIG_From_int((int)wxPLATFORM_OS2));
19745 PyDict_SetItemString(d,"PLATFORM_MAC", SWIG_From_int((int)wxPLATFORM_MAC));
19746 PyDict_SetItemString(d,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)wxIMAGELIST_DRAW_NORMAL));
19747 PyDict_SetItemString(d,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)wxIMAGELIST_DRAW_TRANSPARENT));
19748 PyDict_SetItemString(d,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)wxIMAGELIST_DRAW_SELECTED));
19749 PyDict_SetItemString(d,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)wxIMAGELIST_DRAW_FOCUSED));
19750 PyDict_SetItemString(d,"IMAGE_LIST_NORMAL", SWIG_From_int((int)wxIMAGE_LIST_NORMAL));
19751 PyDict_SetItemString(d,"IMAGE_LIST_SMALL", SWIG_From_int((int)wxIMAGE_LIST_SMALL));
19752 PyDict_SetItemString(d,"IMAGE_LIST_STATE", SWIG_From_int((int)wxIMAGE_LIST_STATE));
d14a1e28
RD
19753 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
19754 SWIG_addvarlink(SWIG_globals,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get, _wrap_NORMAL_FONT_set);
19755 SWIG_addvarlink(SWIG_globals,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get, _wrap_SMALL_FONT_set);
19756 SWIG_addvarlink(SWIG_globals,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get, _wrap_ITALIC_FONT_set);
19757 SWIG_addvarlink(SWIG_globals,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get, _wrap_SWISS_FONT_set);
19758 SWIG_addvarlink(SWIG_globals,(char*)"RED_PEN",_wrap_RED_PEN_get, _wrap_RED_PEN_set);
19759 SWIG_addvarlink(SWIG_globals,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get, _wrap_CYAN_PEN_set);
19760 SWIG_addvarlink(SWIG_globals,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get, _wrap_GREEN_PEN_set);
19761 SWIG_addvarlink(SWIG_globals,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get, _wrap_BLACK_PEN_set);
19762 SWIG_addvarlink(SWIG_globals,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get, _wrap_WHITE_PEN_set);
19763 SWIG_addvarlink(SWIG_globals,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get, _wrap_TRANSPARENT_PEN_set);
19764 SWIG_addvarlink(SWIG_globals,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get, _wrap_BLACK_DASHED_PEN_set);
19765 SWIG_addvarlink(SWIG_globals,(char*)"GREY_PEN",_wrap_GREY_PEN_get, _wrap_GREY_PEN_set);
19766 SWIG_addvarlink(SWIG_globals,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get, _wrap_MEDIUM_GREY_PEN_set);
19767 SWIG_addvarlink(SWIG_globals,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get, _wrap_LIGHT_GREY_PEN_set);
19768 SWIG_addvarlink(SWIG_globals,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get, _wrap_BLUE_BRUSH_set);
19769 SWIG_addvarlink(SWIG_globals,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get, _wrap_GREEN_BRUSH_set);
19770 SWIG_addvarlink(SWIG_globals,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get, _wrap_WHITE_BRUSH_set);
19771 SWIG_addvarlink(SWIG_globals,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get, _wrap_BLACK_BRUSH_set);
19772 SWIG_addvarlink(SWIG_globals,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get, _wrap_TRANSPARENT_BRUSH_set);
19773 SWIG_addvarlink(SWIG_globals,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get, _wrap_CYAN_BRUSH_set);
19774 SWIG_addvarlink(SWIG_globals,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get, _wrap_RED_BRUSH_set);
19775 SWIG_addvarlink(SWIG_globals,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get, _wrap_GREY_BRUSH_set);
19776 SWIG_addvarlink(SWIG_globals,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get, _wrap_MEDIUM_GREY_BRUSH_set);
19777 SWIG_addvarlink(SWIG_globals,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get, _wrap_LIGHT_GREY_BRUSH_set);
19778 SWIG_addvarlink(SWIG_globals,(char*)"BLACK",_wrap_BLACK_get, _wrap_BLACK_set);
19779 SWIG_addvarlink(SWIG_globals,(char*)"WHITE",_wrap_WHITE_get, _wrap_WHITE_set);
19780 SWIG_addvarlink(SWIG_globals,(char*)"RED",_wrap_RED_get, _wrap_RED_set);
19781 SWIG_addvarlink(SWIG_globals,(char*)"BLUE",_wrap_BLUE_get, _wrap_BLUE_set);
19782 SWIG_addvarlink(SWIG_globals,(char*)"GREEN",_wrap_GREEN_get, _wrap_GREEN_set);
19783 SWIG_addvarlink(SWIG_globals,(char*)"CYAN",_wrap_CYAN_get, _wrap_CYAN_set);
19784 SWIG_addvarlink(SWIG_globals,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get, _wrap_LIGHT_GREY_set);
19785 SWIG_addvarlink(SWIG_globals,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get, _wrap_STANDARD_CURSOR_set);
19786 SWIG_addvarlink(SWIG_globals,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get, _wrap_HOURGLASS_CURSOR_set);
19787 SWIG_addvarlink(SWIG_globals,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get, _wrap_CROSS_CURSOR_set);
19788 SWIG_addvarlink(SWIG_globals,(char*)"NullBitmap",_wrap_NullBitmap_get, _wrap_NullBitmap_set);
19789 SWIG_addvarlink(SWIG_globals,(char*)"NullIcon",_wrap_NullIcon_get, _wrap_NullIcon_set);
19790 SWIG_addvarlink(SWIG_globals,(char*)"NullCursor",_wrap_NullCursor_get, _wrap_NullCursor_set);
19791 SWIG_addvarlink(SWIG_globals,(char*)"NullPen",_wrap_NullPen_get, _wrap_NullPen_set);
19792 SWIG_addvarlink(SWIG_globals,(char*)"NullBrush",_wrap_NullBrush_get, _wrap_NullBrush_set);
19793 SWIG_addvarlink(SWIG_globals,(char*)"NullPalette",_wrap_NullPalette_get, _wrap_NullPalette_set);
19794 SWIG_addvarlink(SWIG_globals,(char*)"NullFont",_wrap_NullFont_get, _wrap_NullFont_set);
19795 SWIG_addvarlink(SWIG_globals,(char*)"NullColour",_wrap_NullColour_get, _wrap_NullColour_set);
19796 SWIG_addvarlink(SWIG_globals,(char*)"TheFontList",_wrap_TheFontList_get, _wrap_TheFontList_set);
19797 SWIG_addvarlink(SWIG_globals,(char*)"ThePenList",_wrap_ThePenList_get, _wrap_ThePenList_set);
19798 SWIG_addvarlink(SWIG_globals,(char*)"TheBrushList",_wrap_TheBrushList_get, _wrap_TheBrushList_set);
19799 SWIG_addvarlink(SWIG_globals,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get, _wrap_TheColourDatabase_set);
7722248d
RD
19800
19801 // Work around a chicken/egg problem in drawlist.cpp
19802 wxPyDrawList_SetAPIPtr();
19803
d14a1e28
RD
19804}
19805