]> 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;
7e63a440
RD
624 } else {
625 if (!PyTuple_Check(target)) {
626 o2 = target;
627 target = PyTuple_New(1);
628 PyTuple_SetItem(target, 0, o2);
629 }
d14a1e28
RD
630 o3 = PyTuple_New(1);
631 PyTuple_SetItem(o3, 0, o);
632
633 o2 = target;
634 target = PySequence_Concat(o2, o3);
635 Py_DECREF(o2);
636 Py_DECREF(o3);
637 }
638 return target;
7e63a440 639 }
d14a1e28 640
c32bde28 641
d14a1e28
RD
642PyObject *wxPen_GetDashes(wxPen *self){
643 wxDash* dashes;
644 int count = self->GetDashes(&dashes);
4f89f6a3 645 bool blocked = wxPyBeginBlockThreads();
d14a1e28 646 PyObject* retval = PyList_New(0);
1a10c483
RD
647 for (int x=0; x<count; x++) {
648 PyObject* pyint = PyInt_FromLong(dashes[x]);
649 PyList_Append(retval, pyint);
650 Py_DECREF(pyint);
651 }
4f89f6a3 652 wxPyEndBlockThreads(blocked);
d14a1e28
RD
653 return retval;
654 }
66c033b4
RD
655void wxPen__SetDashes(wxPen *self,PyObject *_self,PyObject *pyDashes){
656 bool blocked = wxPyBeginBlockThreads();
657 int size = PyList_Size(pyDashes);
658 wxDash* dashes = (wxDash*)byte_LIST_helper(pyDashes);
659
660 // black magic warning! The array of wxDashes needs to exist as
661 // long as the pen does because wxPen does not copy the array. So
662 // stick a copy in a Python string object and attach it to _self,
663 // and then call SetDashes with a pointer to that array. Then
664 // when the Python pen object is destroyed the array will be
665 // cleaned up too.
666 PyObject* strDashes = PyString_FromStringAndSize((char*)dashes, size*sizeof(wxDash));
667 PyObject_SetAttrString(_self, "_dashes", strDashes);
668
669 self->SetDashes(size, (wxDash*)PyString_AS_STRING(strDashes));
670 delete [] dashes;
671 Py_DECREF(strDashes);
672 wxPyEndBlockThreads(blocked);
673 }
ae8162c8
RD
674bool wxPen___eq__(wxPen *self,wxPen const *other){ return other ? (*self == *other) : false; }
675bool wxPen___ne__(wxPen *self,wxPen const *other){ return other ? (*self != *other) : true; }
d14a1e28 676
d14a1e28
RD
677#include <wx/image.h>
678
679 static char** ConvertListOfStrings(PyObject* listOfStrings) {
680 char** cArray = NULL;
681 int count;
682
683 if (!PyList_Check(listOfStrings)) {
684 PyErr_SetString(PyExc_TypeError, "Expected a list of strings.");
685 return NULL;
686 }
687 count = PyList_Size(listOfStrings);
688 cArray = new char*[count];
689
690 for(int x=0; x<count; x++) {
691 // TODO: Need some validation and error checking here
692 cArray[x] = PyString_AsString(PyList_GET_ITEM(listOfStrings, x));
693 }
694 return cArray;
695 }
696
697
698wxBitmap *new_wxBitmap(PyObject *listOfStrings){
699 char** cArray = NULL;
700 wxBitmap* bmp;
701
702 cArray = ConvertListOfStrings(listOfStrings);
703 if (! cArray)
704 return NULL;
705 bmp = new wxBitmap(cArray);
706 delete [] cArray;
707 return bmp;
708 }
709wxBitmap *new_wxBitmap(PyObject *bits,int width,int height,int depth){
710 char* buf;
711 int length;
712 PyString_AsStringAndSize(bits, &buf, &length);
713 return new wxBitmap(buf, width, height, depth);
714 }
b2df227b
RD
715wxSize wxBitmap_GetSize(wxBitmap *self){
716 wxSize size(self->GetWidth(), self->GetHeight());
717 return size;
718 }
d14a1e28
RD
719void wxBitmap_SetMaskColour(wxBitmap *self,wxColour const &colour){
720 wxMask *mask = new wxMask(*self, colour);
721 self->SetMask(mask);
722 }
b2df227b
RD
723void wxBitmap_SetSize(wxBitmap *self,wxSize const &size){
724 self->SetWidth(size.x);
725 self->SetHeight(size.y);
726 }
ae8162c8
RD
727bool wxBitmap___eq__(wxBitmap *self,wxBitmap const *other){ return other ? (*self == *other) : false; }
728bool wxBitmap___ne__(wxBitmap *self,wxBitmap const *other){ return other ? (*self != *other) : true; }
0482c494
RD
729wxMask *new_wxMask(wxBitmap const &bitmap,wxColour const &colour){
730 if ( !colour.Ok() )
731 return new wxMask(bitmap, *wxBLACK);
732 else
733 return new wxMask(bitmap, colour);
734 }
d14a1e28
RD
735
736#include <wx/iconbndl.h>
737
738wxIcon *new_wxIcon(wxBitmap const &bmp){
739 wxIcon* icon = new wxIcon();
740 icon->CopyFromBitmap(bmp);
741 return icon;
742 }
743wxIcon *new_wxIcon(PyObject *listOfStrings){
744 char** cArray = NULL;
745 wxIcon* icon;
746
747 cArray = ConvertListOfStrings(listOfStrings);
748 if (! cArray)
749 return NULL;
750 icon = new wxIcon(cArray);
751 delete [] cArray;
752 return icon;
753 }
754wxIconLocation *new_wxIconLocation(wxString const *filename,int num){
755
756
757
758 return new wxIconLocation(*filename);
759
760 }
761void wxIconLocation_SetIndex(wxIconLocation *self,int num){
762
763
764
765 // do nothing
766
767 }
768int wxIconLocation_GetIndex(wxIconLocation *self){
769
770
771
772 return -1;
773
774 }
994141e6 775
c32bde28
RD
776SWIGSTATICINLINE(long)
777SWIG_As_long(PyObject* obj)
994141e6 778{
c32bde28
RD
779 long v;
780 if (!SWIG_AsVal_long(obj, &v)) {
781 /*
782 this is needed to make valgrind/purify happier. the other
783 solution is throw an exception, but since this code should work
784 with plain C ....
785 */
786 memset((void*)&v, 0, sizeof(long));
15afbcd0 787 }
c32bde28
RD
788 return v;
789}
790
791
792SWIGSTATICINLINE(int)
793SWIG_Check_long(PyObject* obj)
794{
795 return SWIG_AsVal_long(obj, (long*)0);
994141e6
RD
796}
797
15afbcd0
RD
798wxCursor *new_wxCursor(wxString const *cursorName,long type,int hotSpotX,int hotSpotY){
799#ifdef __WXGTK__
ae8162c8 800 wxCHECK_MSG(false, NULL,
15afbcd0
RD
801 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
802#else
803 return new wxCursor(*cursorName, type, hotSpotX, hotSpotY);
804#endif
d14a1e28
RD
805 }
806
807
808void wxRegionIterator_Next(wxRegionIterator *self){
809 (*self) ++;
810 }
811bool wxRegionIterator___nonzero__(wxRegionIterator *self){
812 return self->operator bool();
813 }
814
815#include <wx/fontutil.h>
816#include <wx/fontmap.h>
817#include <wx/fontenum.h>
818
819wxString wxNativeFontInfo___str__(wxNativeFontInfo *self){
820 return self->ToString();
821 }
822
823 wxNativeEncodingInfo* wxGetNativeFontEncoding(wxFontEncoding encoding) {
824 static wxNativeEncodingInfo info;
825 if ( wxGetNativeFontEncoding(encoding, &info) )
826 return &info;
827 else
828 return NULL;
829 }
830
831PyObject *wxFontMapper_GetAltForEncoding(wxFontMapper *self,wxFontEncoding encoding,wxString const &facename,bool interactive){
832 wxFontEncoding alt_enc;
833 if (self->GetAltForEncoding(encoding, &alt_enc, facename, interactive))
834 return PyInt_FromLong(alt_enc);
835 else {
836 Py_INCREF(Py_None);
837 return Py_None;
838 }
839 }
840wxFont *new_wxFont(wxString const &info){
841 wxNativeFontInfo nfi;
842 nfi.FromString(info);
843 return new wxFont(nfi);
844 }
845wxFont *new_wxFont(int pointSize,wxFontFamily family,int flags,wxString const &face,wxFontEncoding encoding){
846 return wxFont::New(pointSize, family, flags, face, encoding);
847 }
b6294124
RD
848wxFont *new_wxFont(wxSize const &pixelSize,int family,int style,int weight,bool underlined,wxString const &face,wxFontEncoding encoding){
849 return wxFontBase::New(pixelSize, family,
850 style, weight, underlined,
851 face, encoding);
852 }
ae8162c8
RD
853bool wxFont___eq__(wxFont *self,wxFont const *other){ return other ? (*self == *other) : false; }
854bool wxFont___ne__(wxFont *self,wxFont const *other){ return other ? (*self != *other) : true; }
d14a1e28
RD
855
856class wxPyFontEnumerator : public wxFontEnumerator {
857public:
858 wxPyFontEnumerator() {}
859 ~wxPyFontEnumerator() {}
860
861 DEC_PYCALLBACK_BOOL_STRING(OnFacename);
862 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding);
863
864 PYPRIVATE;
865};
866
867IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator, wxFontEnumerator, OnFacename);
868IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator, wxFontEnumerator, OnFontEncoding);
869
870
871PyObject *wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator *self){
872 wxArrayString* arr = self->GetEncodings();
0dcf9a74
RD
873 if (arr)
874 return wxArrayString2PyList_helper(*arr);
875 else
876 return PyList_New(0);
d14a1e28
RD
877 }
878PyObject *wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator *self){
879 wxArrayString* arr = self->GetFacenames();
0dcf9a74
RD
880 if (arr)
881 return wxArrayString2PyList_helper(*arr);
882 else
883 return PyList_New(0);
d14a1e28
RD
884 }
885
886
41e2b43e
RD
887wxLocale *new_wxLocale(int language,int flags){
888 if (language == -1)
889 return new wxLocale();
890 else
891 return new wxLocale(language, flags);
892 }
d14a1e28
RD
893
894#include "wx/wxPython/pydrawxxx.h"
895
03e37cd5 896wxColour wxDC_GetPixel(wxDC *self,int x,int y){
d14a1e28
RD
897 wxColour col;
898 self->GetPixel(x, y, &col);
899 return col;
900 }
03e37cd5 901wxColour wxDC_GetPixelPoint(wxDC *self,wxPoint const &pt){
d14a1e28
RD
902 wxColour col;
903 self->GetPixel(pt, &col);
904 return col;
905 }
994141e6 906
c32bde28
RD
907// See my_fragments.i
908SWIGSTATICINLINE(int)
909SWIG_AsVal_double(PyObject *obj, double* val)
994141e6 910{
c32bde28
RD
911 if (PyNumber_Check(obj)) {
912 if (val) *val = PyFloat_AsDouble(obj);
913 return 1;
914 }
69223c70
RD
915 else {
916 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
917 obj->ob_type->tp_name);
918 PyErr_SetObject(PyExc_TypeError, errmsg);
919 Py_DECREF(errmsg);
69223c70 920 }
c32bde28 921 return 0;
15afbcd0
RD
922}
923
924
c32bde28
RD
925SWIGSTATICINLINE(double)
926SWIG_As_double(PyObject* obj)
15afbcd0 927{
c32bde28
RD
928 double v;
929 if (!SWIG_AsVal_double(obj, &v)) {
930 /*
931 this is needed to make valgrind/purify happier. the other
932 solution is throw an exception, but since this code should work
933 with plain C ....
934 */
935 memset((void*)&v, 0, sizeof(double));
15afbcd0 936 }
c32bde28
RD
937 return v;
938}
939
940
941SWIGSTATICINLINE(int)
942SWIG_Check_double(PyObject* obj)
943{
944 return SWIG_AsVal_double(obj, (double*)0);
994141e6
RD
945}
946
d14a1e28
RD
947wxRect wxDC_DrawImageLabel(wxDC *self,wxString const &text,wxBitmap const &image,wxRect const &rect,int alignment,int indexAccel){
948 wxRect rv;
949 self->DrawLabel(text, image, rect, alignment, indexAccel, &rv);
950 return rv;
951 }
c32bde28 952
d14a1e28
RD
953wxRect wxDC_GetClippingRect(wxDC *self){
954 wxRect rect;
955 self->GetClippingBox(rect);
956 return rect;
957 }
db914595
RD
958wxArrayInt wxDC_GetPartialTextExtents(wxDC *self,wxString const &text){
959 wxArrayInt widths;
960 self->GetPartialTextExtents(text, widths);
961 return widths;
962 }
c32bde28 963
03e37cd5
RD
964void wxDC_SetLogicalOriginPoint(wxDC *self,wxPoint const &point){
965 self->SetLogicalOrigin(point.x, point.y);
966 }
967void wxDC_SetDeviceOriginPoint(wxDC *self,wxPoint const &point){
968 self->SetDeviceOrigin(point.x, point.y);
969 }
970void wxDC_CalcBoundingBoxPoint(wxDC *self,wxPoint const &point){
971 self->CalcBoundingBox(point.x, point.y);
972 }
d14a1e28
RD
973PyObject *wxDC__DrawPointList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
974 return wxPyDrawXXXList(*self, wxPyDrawXXXPoint, pyCoords, pyPens, pyBrushes);
975 }
976PyObject *wxDC__DrawLineList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
977 return wxPyDrawXXXList(*self, wxPyDrawXXXLine, pyCoords, pyPens, pyBrushes);
978 }
979PyObject *wxDC__DrawRectangleList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
980 return wxPyDrawXXXList(*self, wxPyDrawXXXRectangle, pyCoords, pyPens, pyBrushes);
981 }
982PyObject *wxDC__DrawEllipseList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
983 return wxPyDrawXXXList(*self, wxPyDrawXXXEllipse, pyCoords, pyPens, pyBrushes);
984 }
985PyObject *wxDC__DrawPolygonList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
986 return wxPyDrawXXXList(*self, wxPyDrawXXXPolygon, pyCoords, pyPens, pyBrushes);
987 }
988PyObject *wxDC__DrawTextList(wxDC *self,PyObject *textList,PyObject *pyPoints,PyObject *foregroundList,PyObject *backgroundList){
989 return wxPyDrawTextList(*self, textList, pyPoints, foregroundList, backgroundList);
990 }
991
992static void wxDC_GetBoundingBox(wxDC* dc, int* x1, int* y1, int* x2, int* y2) {
993 *x1 = dc->MinX();
994 *y1 = dc->MinY();
995 *x2 = dc->MaxX();
996 *y2 = dc->MaxY();
997}
998
999
b88bce5f 1000#include <wx/dcbuffer.h>
b88bce5f 1001
b88bce5f 1002
d14a1e28
RD
1003#include <wx/dcps.h>
1004
1005
1006class wxMetaFile : public wxObject {
1007public:
1008 wxMetaFile(const wxString&)
39f61e25 1009 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
1010};
1011
1012class wxMetaFileDC : public wxClientDC {
1013public:
1014 wxMetaFileDC(const wxString&, int, int, const wxString&)
39f61e25 1015 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
1016};
1017
1018
1019
1020class wxPrinterDC : public wxClientDC {
1021public:
1022 wxPrinterDC(const wxPrintData&)
39f61e25 1023 { wxPyRaiseNotImplemented(); }
33b885b9 1024
d14a1e28 1025// wxPrinterDC(const wxString&, const wxString&, const wxString&, bool, int)
39f61e25 1026// { wxPyRaiseNotImplemented(); }
d14a1e28
RD
1027};
1028
1029
1030
1031void wxColourDatabase_Append(wxColourDatabase *self,wxString const &name,int red,int green,int blue){
1032 self->AddColour(name, wxColour(red, green, blue));
1033 }
1034
d14a1e28
RD
1035#include <wx/effects.h>
1036
1037#ifdef __cplusplus
1038extern "C" {
1039#endif
c32bde28 1040static PyObject *_wrap_new_GDIObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1041 PyObject *resultobj;
1042 wxGDIObject *result;
1043 char *kwnames[] = {
1044 NULL
1045 };
1046
1047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GDIObject",kwnames)) goto fail;
1048 {
e3b71cb8 1049 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1050 PyThreadState* __tstate = wxPyBeginAllowThreads();
1051 result = (wxGDIObject *)new wxGDIObject();
1052
1053 wxPyEndAllowThreads(__tstate);
110da5b0 1054 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1055 }
15afbcd0 1056 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGDIObject, 1);
d14a1e28
RD
1057 return resultobj;
1058 fail:
1059 return NULL;
1060}
1061
1062
c32bde28 1063static PyObject *_wrap_delete_GDIObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1064 PyObject *resultobj;
1065 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
1066 PyObject * obj0 = 0 ;
1067 char *kwnames[] = {
1068 (char *) "self", NULL
1069 };
1070
1071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GDIObject",kwnames,&obj0)) goto fail;
15afbcd0
RD
1072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGDIObject,
1073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1074 {
1075 PyThreadState* __tstate = wxPyBeginAllowThreads();
1076 delete arg1;
1077
1078 wxPyEndAllowThreads(__tstate);
1079 if (PyErr_Occurred()) SWIG_fail;
1080 }
1081 Py_INCREF(Py_None); resultobj = Py_None;
1082 return resultobj;
1083 fail:
1084 return NULL;
1085}
1086
1087
c32bde28 1088static PyObject *_wrap_GDIObject_GetVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1089 PyObject *resultobj;
1090 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
1091 bool result;
1092 PyObject * obj0 = 0 ;
1093 char *kwnames[] = {
1094 (char *) "self", NULL
1095 };
1096
1097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GDIObject_GetVisible",kwnames,&obj0)) goto fail;
15afbcd0
RD
1098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGDIObject,
1099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1100 {
1101 PyThreadState* __tstate = wxPyBeginAllowThreads();
1102 result = (bool)(arg1)->GetVisible();
1103
1104 wxPyEndAllowThreads(__tstate);
1105 if (PyErr_Occurred()) SWIG_fail;
1106 }
4f89f6a3
RD
1107 {
1108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1109 }
d14a1e28
RD
1110 return resultobj;
1111 fail:
1112 return NULL;
1113}
1114
1115
c32bde28 1116static PyObject *_wrap_GDIObject_SetVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1117 PyObject *resultobj;
1118 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
1119 bool arg2 ;
1120 PyObject * obj0 = 0 ;
1121 PyObject * obj1 = 0 ;
1122 char *kwnames[] = {
1123 (char *) "self",(char *) "visible", NULL
1124 };
1125
1126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GDIObject_SetVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGDIObject,
1128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1129 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 1130 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1131 {
1132 PyThreadState* __tstate = wxPyBeginAllowThreads();
1133 (arg1)->SetVisible(arg2);
1134
1135 wxPyEndAllowThreads(__tstate);
1136 if (PyErr_Occurred()) SWIG_fail;
1137 }
1138 Py_INCREF(Py_None); resultobj = Py_None;
1139 return resultobj;
1140 fail:
1141 return NULL;
1142}
1143
1144
c32bde28 1145static PyObject *_wrap_GDIObject_IsNull(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1146 PyObject *resultobj;
1147 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
1148 bool result;
1149 PyObject * obj0 = 0 ;
1150 char *kwnames[] = {
1151 (char *) "self", NULL
1152 };
1153
1154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GDIObject_IsNull",kwnames,&obj0)) goto fail;
15afbcd0
RD
1155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGDIObject,
1156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1157 {
1158 PyThreadState* __tstate = wxPyBeginAllowThreads();
1159 result = (bool)(arg1)->IsNull();
1160
1161 wxPyEndAllowThreads(__tstate);
1162 if (PyErr_Occurred()) SWIG_fail;
1163 }
4f89f6a3
RD
1164 {
1165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1166 }
d14a1e28
RD
1167 return resultobj;
1168 fail:
1169 return NULL;
1170}
1171
1172
c32bde28 1173static PyObject * GDIObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1174 PyObject *obj;
1175 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1176 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject, obj);
1177 Py_INCREF(obj);
1178 return Py_BuildValue((char *)"");
1179}
c32bde28 1180static PyObject *_wrap_new_Colour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 1181 PyObject *resultobj;
41e2b43e
RD
1182 byte arg1 = (byte) 0 ;
1183 byte arg2 = (byte) 0 ;
1184 byte arg3 = (byte) 0 ;
d14a1e28
RD
1185 wxColour *result;
1186 PyObject * obj0 = 0 ;
1187 PyObject * obj1 = 0 ;
1188 PyObject * obj2 = 0 ;
1189 char *kwnames[] = {
1190 (char *) "red",(char *) "green",(char *) "blue", NULL
1191 };
1192
1193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_Colour",kwnames,&obj0,&obj1,&obj2)) goto fail;
1194 if (obj0) {
c32bde28 1195 arg1 = (byte)SWIG_As_unsigned_SS_char(obj0);
15afbcd0 1196 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1197 }
1198 if (obj1) {
c32bde28 1199 arg2 = (byte)SWIG_As_unsigned_SS_char(obj1);
15afbcd0 1200 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1201 }
1202 if (obj2) {
c32bde28 1203 arg3 = (byte)SWIG_As_unsigned_SS_char(obj2);
15afbcd0 1204 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1205 }
1206 {
1207 PyThreadState* __tstate = wxPyBeginAllowThreads();
1208 result = (wxColour *)new wxColour(arg1,arg2,arg3);
1209
1210 wxPyEndAllowThreads(__tstate);
1211 if (PyErr_Occurred()) SWIG_fail;
1212 }
15afbcd0 1213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1214 return resultobj;
1215 fail:
1216 return NULL;
1217}
1218
1219
c32bde28 1220static PyObject *_wrap_new_NamedColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1221 PyObject *resultobj;
1222 wxString *arg1 = 0 ;
1223 wxColour *result;
ae8162c8 1224 bool temp1 = false ;
d14a1e28
RD
1225 PyObject * obj0 = 0 ;
1226 char *kwnames[] = {
1227 (char *) "colorName", NULL
1228 };
1229
1230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NamedColour",kwnames,&obj0)) goto fail;
1231 {
1232 arg1 = wxString_in_helper(obj0);
1233 if (arg1 == NULL) SWIG_fail;
ae8162c8 1234 temp1 = true;
d14a1e28
RD
1235 }
1236 {
eab6e45e 1237 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1238 PyThreadState* __tstate = wxPyBeginAllowThreads();
1239 result = (wxColour *)new wxColour((wxString const &)*arg1);
1240
1241 wxPyEndAllowThreads(__tstate);
1242 if (PyErr_Occurred()) SWIG_fail;
1243 }
15afbcd0 1244 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1245 {
1246 if (temp1)
1247 delete arg1;
1248 }
1249 return resultobj;
1250 fail:
1251 {
1252 if (temp1)
1253 delete arg1;
1254 }
1255 return NULL;
1256}
1257
1258
c32bde28 1259static PyObject *_wrap_new_ColourRGB(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1260 PyObject *resultobj;
1261 unsigned long arg1 ;
1262 wxColour *result;
1263 PyObject * obj0 = 0 ;
1264 char *kwnames[] = {
1265 (char *) "colRGB", NULL
1266 };
1267
1268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ColourRGB",kwnames,&obj0)) goto fail;
c32bde28 1269 arg1 = (unsigned long)SWIG_As_unsigned_SS_long(obj0);
15afbcd0 1270 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1271 {
1272 PyThreadState* __tstate = wxPyBeginAllowThreads();
1273 result = (wxColour *)new wxColour(arg1);
1274
1275 wxPyEndAllowThreads(__tstate);
1276 if (PyErr_Occurred()) SWIG_fail;
1277 }
15afbcd0 1278 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1279 return resultobj;
1280 fail:
1281 return NULL;
1282}
1283
1284
c32bde28 1285static PyObject *_wrap_delete_Colour(PyObject *, PyObject *args, PyObject *kwargs) {
b88bce5f
RD
1286 PyObject *resultobj;
1287 wxColour *arg1 = (wxColour *) 0 ;
1288 PyObject * obj0 = 0 ;
1289 char *kwnames[] = {
1290 (char *) "self", NULL
1291 };
1292
1293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Colour",kwnames,&obj0)) goto fail;
15afbcd0
RD
1294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b88bce5f
RD
1296 {
1297 PyThreadState* __tstate = wxPyBeginAllowThreads();
1298 delete arg1;
1299
1300 wxPyEndAllowThreads(__tstate);
1301 if (PyErr_Occurred()) SWIG_fail;
1302 }
1303 Py_INCREF(Py_None); resultobj = Py_None;
1304 return resultobj;
1305 fail:
1306 return NULL;
1307}
1308
1309
c32bde28 1310static PyObject *_wrap_Colour_Red(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1311 PyObject *resultobj;
1312 wxColour *arg1 = (wxColour *) 0 ;
41e2b43e 1313 byte result;
d14a1e28
RD
1314 PyObject * obj0 = 0 ;
1315 char *kwnames[] = {
1316 (char *) "self", NULL
1317 };
1318
1319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Red",kwnames,&obj0)) goto fail;
15afbcd0
RD
1320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1322 {
1323 PyThreadState* __tstate = wxPyBeginAllowThreads();
41e2b43e 1324 result = (byte)(arg1)->Red();
d14a1e28
RD
1325
1326 wxPyEndAllowThreads(__tstate);
1327 if (PyErr_Occurred()) SWIG_fail;
1328 }
c32bde28 1329 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d14a1e28
RD
1330 return resultobj;
1331 fail:
1332 return NULL;
1333}
1334
1335
c32bde28 1336static PyObject *_wrap_Colour_Green(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1337 PyObject *resultobj;
1338 wxColour *arg1 = (wxColour *) 0 ;
41e2b43e 1339 byte result;
d14a1e28
RD
1340 PyObject * obj0 = 0 ;
1341 char *kwnames[] = {
1342 (char *) "self", NULL
1343 };
1344
1345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Green",kwnames,&obj0)) goto fail;
15afbcd0
RD
1346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1348 {
1349 PyThreadState* __tstate = wxPyBeginAllowThreads();
41e2b43e 1350 result = (byte)(arg1)->Green();
d14a1e28
RD
1351
1352 wxPyEndAllowThreads(__tstate);
1353 if (PyErr_Occurred()) SWIG_fail;
1354 }
c32bde28 1355 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d14a1e28
RD
1356 return resultobj;
1357 fail:
1358 return NULL;
1359}
1360
1361
c32bde28 1362static PyObject *_wrap_Colour_Blue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1363 PyObject *resultobj;
1364 wxColour *arg1 = (wxColour *) 0 ;
41e2b43e 1365 byte result;
d14a1e28
RD
1366 PyObject * obj0 = 0 ;
1367 char *kwnames[] = {
1368 (char *) "self", NULL
1369 };
1370
1371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Blue",kwnames,&obj0)) goto fail;
15afbcd0
RD
1372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1374 {
1375 PyThreadState* __tstate = wxPyBeginAllowThreads();
41e2b43e 1376 result = (byte)(arg1)->Blue();
d14a1e28
RD
1377
1378 wxPyEndAllowThreads(__tstate);
1379 if (PyErr_Occurred()) SWIG_fail;
1380 }
c32bde28 1381 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d14a1e28
RD
1382 return resultobj;
1383 fail:
1384 return NULL;
1385}
1386
1387
c32bde28 1388static PyObject *_wrap_Colour_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1389 PyObject *resultobj;
1390 wxColour *arg1 = (wxColour *) 0 ;
1391 bool result;
1392 PyObject * obj0 = 0 ;
1393 char *kwnames[] = {
1394 (char *) "self", NULL
1395 };
1396
1397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
1398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1400 {
1401 PyThreadState* __tstate = wxPyBeginAllowThreads();
1402 result = (bool)(arg1)->Ok();
1403
1404 wxPyEndAllowThreads(__tstate);
1405 if (PyErr_Occurred()) SWIG_fail;
1406 }
4f89f6a3
RD
1407 {
1408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1409 }
d14a1e28
RD
1410 return resultobj;
1411 fail:
1412 return NULL;
1413}
1414
1415
c32bde28 1416static PyObject *_wrap_Colour_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1417 PyObject *resultobj;
1418 wxColour *arg1 = (wxColour *) 0 ;
41e2b43e
RD
1419 byte arg2 ;
1420 byte arg3 ;
1421 byte arg4 ;
d14a1e28
RD
1422 PyObject * obj0 = 0 ;
1423 PyObject * obj1 = 0 ;
1424 PyObject * obj2 = 0 ;
1425 PyObject * obj3 = 0 ;
1426 char *kwnames[] = {
1427 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1428 };
1429
1430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Colour_Set",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
1431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1433 arg2 = (byte)SWIG_As_unsigned_SS_char(obj1);
15afbcd0 1434 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1435 arg3 = (byte)SWIG_As_unsigned_SS_char(obj2);
15afbcd0 1436 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1437 arg4 = (byte)SWIG_As_unsigned_SS_char(obj3);
15afbcd0 1438 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1439 {
1440 PyThreadState* __tstate = wxPyBeginAllowThreads();
1441 (arg1)->Set(arg2,arg3,arg4);
1442
1443 wxPyEndAllowThreads(__tstate);
1444 if (PyErr_Occurred()) SWIG_fail;
1445 }
1446 Py_INCREF(Py_None); resultobj = Py_None;
1447 return resultobj;
1448 fail:
1449 return NULL;
1450}
1451
1452
c32bde28 1453static PyObject *_wrap_Colour_SetRGB(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1454 PyObject *resultobj;
1455 wxColour *arg1 = (wxColour *) 0 ;
1456 unsigned long arg2 ;
1457 PyObject * obj0 = 0 ;
1458 PyObject * obj1 = 0 ;
1459 char *kwnames[] = {
1460 (char *) "self",(char *) "colRGB", NULL
1461 };
1462
c9c7117a 1463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour_SetRGB",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1466 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 1467 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1468 {
1469 PyThreadState* __tstate = wxPyBeginAllowThreads();
1470 (arg1)->Set(arg2);
1471
1472 wxPyEndAllowThreads(__tstate);
1473 if (PyErr_Occurred()) SWIG_fail;
1474 }
1475 Py_INCREF(Py_None); resultobj = Py_None;
1476 return resultobj;
1477 fail:
1478 return NULL;
1479}
1480
1481
c32bde28 1482static PyObject *_wrap_Colour_SetFromName(PyObject *, PyObject *args, PyObject *kwargs) {
b88bce5f
RD
1483 PyObject *resultobj;
1484 wxColour *arg1 = (wxColour *) 0 ;
1485 wxString *arg2 = 0 ;
ae8162c8 1486 bool temp2 = false ;
b88bce5f
RD
1487 PyObject * obj0 = 0 ;
1488 PyObject * obj1 = 0 ;
1489 char *kwnames[] = {
1490 (char *) "self",(char *) "colourName", NULL
1491 };
1492
1493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour_SetFromName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b88bce5f
RD
1496 {
1497 arg2 = wxString_in_helper(obj1);
1498 if (arg2 == NULL) SWIG_fail;
ae8162c8 1499 temp2 = true;
b88bce5f
RD
1500 }
1501 {
1502 PyThreadState* __tstate = wxPyBeginAllowThreads();
1503 (arg1)->InitFromName((wxString const &)*arg2);
1504
1505 wxPyEndAllowThreads(__tstate);
1506 if (PyErr_Occurred()) SWIG_fail;
1507 }
1508 Py_INCREF(Py_None); resultobj = Py_None;
1509 {
1510 if (temp2)
1511 delete arg2;
1512 }
1513 return resultobj;
1514 fail:
1515 {
1516 if (temp2)
1517 delete arg2;
1518 }
1519 return NULL;
1520}
1521
1522
c32bde28 1523static PyObject *_wrap_Colour_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) {
b88bce5f
RD
1524 PyObject *resultobj;
1525 wxColour *arg1 = (wxColour *) 0 ;
1526 long result;
1527 PyObject * obj0 = 0 ;
1528 char *kwnames[] = {
1529 (char *) "self", NULL
1530 };
1531
1532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_GetPixel",kwnames,&obj0)) goto fail;
15afbcd0
RD
1533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b88bce5f
RD
1535 {
1536 PyThreadState* __tstate = wxPyBeginAllowThreads();
1537 result = (long)((wxColour const *)arg1)->GetPixel();
1538
1539 wxPyEndAllowThreads(__tstate);
1540 if (PyErr_Occurred()) SWIG_fail;
1541 }
c32bde28 1542 resultobj = SWIG_From_long((long)result);
b88bce5f
RD
1543 return resultobj;
1544 fail:
1545 return NULL;
1546}
1547
1548
c32bde28 1549static PyObject *_wrap_Colour___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1550 PyObject *resultobj;
1551 wxColour *arg1 = (wxColour *) 0 ;
1552 wxColour *arg2 = 0 ;
1553 bool result;
1554 wxColour temp2 ;
1555 PyObject * obj0 = 0 ;
1556 PyObject * obj1 = 0 ;
1557 char *kwnames[] = {
1558 (char *) "self",(char *) "colour", NULL
1559 };
1560
1561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1564 {
1565 arg2 = &temp2;
1566 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
1567 }
1568 {
1569 PyThreadState* __tstate = wxPyBeginAllowThreads();
1570 result = (bool)((wxColour const *)arg1)->operator ==((wxColour const &)*arg2);
1571
1572 wxPyEndAllowThreads(__tstate);
1573 if (PyErr_Occurred()) SWIG_fail;
1574 }
4f89f6a3
RD
1575 {
1576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1577 }
d14a1e28
RD
1578 return resultobj;
1579 fail:
1580 return NULL;
1581}
1582
1583
c32bde28 1584static PyObject *_wrap_Colour___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1585 PyObject *resultobj;
1586 wxColour *arg1 = (wxColour *) 0 ;
1587 wxColour *arg2 = 0 ;
1588 bool result;
1589 wxColour temp2 ;
1590 PyObject * obj0 = 0 ;
1591 PyObject * obj1 = 0 ;
1592 char *kwnames[] = {
1593 (char *) "self",(char *) "colour", NULL
1594 };
1595
1596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1599 {
1600 arg2 = &temp2;
1601 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
1602 }
1603 {
1604 PyThreadState* __tstate = wxPyBeginAllowThreads();
1605 result = (bool)((wxColour const *)arg1)->operator !=((wxColour const &)*arg2);
1606
1607 wxPyEndAllowThreads(__tstate);
1608 if (PyErr_Occurred()) SWIG_fail;
1609 }
4f89f6a3
RD
1610 {
1611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1612 }
d14a1e28
RD
1613 return resultobj;
1614 fail:
1615 return NULL;
1616}
1617
1618
c32bde28 1619static PyObject *_wrap_Colour_Get(PyObject *, PyObject *args, PyObject *kwargs) {
c9c7117a
RD
1620 PyObject *resultobj;
1621 wxColour *arg1 = (wxColour *) 0 ;
b88bce5f 1622 PyObject *result;
c9c7117a 1623 PyObject * obj0 = 0 ;
c9c7117a 1624 char *kwnames[] = {
b88bce5f 1625 (char *) "self", NULL
c9c7117a
RD
1626 };
1627
b88bce5f 1628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
1629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
1631 {
1632 PyThreadState* __tstate = wxPyBeginAllowThreads();
b88bce5f 1633 result = (PyObject *)wxColour_Get(arg1);
c9c7117a
RD
1634
1635 wxPyEndAllowThreads(__tstate);
1636 if (PyErr_Occurred()) SWIG_fail;
1637 }
b88bce5f 1638 resultobj = result;
c9c7117a
RD
1639 return resultobj;
1640 fail:
c9c7117a
RD
1641 return NULL;
1642}
1643
1644
c32bde28 1645static PyObject *_wrap_Colour_GetRGB(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1646 PyObject *resultobj;
1647 wxColour *arg1 = (wxColour *) 0 ;
b88bce5f 1648 unsigned long result;
d14a1e28
RD
1649 PyObject * obj0 = 0 ;
1650 char *kwnames[] = {
1651 (char *) "self", NULL
1652 };
1653
b88bce5f 1654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_GetRGB",kwnames,&obj0)) goto fail;
15afbcd0
RD
1655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1657 {
1658 PyThreadState* __tstate = wxPyBeginAllowThreads();
b88bce5f 1659 result = (unsigned long)wxColour_GetRGB(arg1);
d14a1e28
RD
1660
1661 wxPyEndAllowThreads(__tstate);
1662 if (PyErr_Occurred()) SWIG_fail;
1663 }
c32bde28 1664 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
1665 return resultobj;
1666 fail:
1667 return NULL;
1668}
1669
1670
c32bde28 1671static PyObject * Colour_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1672 PyObject *obj;
1673 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1674 SWIG_TypeClientData(SWIGTYPE_p_wxColour, obj);
1675 Py_INCREF(obj);
1676 return Py_BuildValue((char *)"");
1677}
c32bde28 1678static PyObject *_wrap_new_Palette(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1679 PyObject *resultobj;
1680 int arg1 ;
1681 unsigned char *arg2 = (unsigned char *) 0 ;
1682 unsigned char *arg3 = (unsigned char *) 0 ;
1683 unsigned char *arg4 = (unsigned char *) 0 ;
1684 wxPalette *result;
994141e6 1685 PyObject * obj0 = 0 ;
d14a1e28
RD
1686 PyObject * obj1 = 0 ;
1687 PyObject * obj2 = 0 ;
1688 PyObject * obj3 = 0 ;
1689 char *kwnames[] = {
1690 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1691 };
1692
994141e6 1693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_Palette",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
c32bde28 1694 arg1 = (int)SWIG_As_int(obj0);
15afbcd0
RD
1695 if (PyErr_Occurred()) SWIG_fail;
1696 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_char,
1697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1698 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_unsigned_char,
1699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1700 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_unsigned_char,
1701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 1702 {
e3b71cb8 1703 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1704 PyThreadState* __tstate = wxPyBeginAllowThreads();
1705 result = (wxPalette *)new wxPalette(arg1,(unsigned char const *)arg2,(unsigned char const *)arg3,(unsigned char const *)arg4);
1706
1707 wxPyEndAllowThreads(__tstate);
110da5b0 1708 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1709 }
15afbcd0 1710 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPalette, 1);
d14a1e28
RD
1711 return resultobj;
1712 fail:
1713 return NULL;
1714}
1715
1716
c32bde28 1717static PyObject *_wrap_delete_Palette(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1718 PyObject *resultobj;
1719 wxPalette *arg1 = (wxPalette *) 0 ;
1720 PyObject * obj0 = 0 ;
1721 char *kwnames[] = {
1722 (char *) "self", NULL
1723 };
1724
1725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Palette",kwnames,&obj0)) goto fail;
15afbcd0
RD
1726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPalette,
1727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1728 {
1729 PyThreadState* __tstate = wxPyBeginAllowThreads();
1730 delete arg1;
1731
1732 wxPyEndAllowThreads(__tstate);
1733 if (PyErr_Occurred()) SWIG_fail;
1734 }
1735 Py_INCREF(Py_None); resultobj = Py_None;
1736 return resultobj;
1737 fail:
1738 return NULL;
1739}
1740
1741
c32bde28 1742static PyObject *_wrap_Palette_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1743 PyObject *resultobj;
1744 wxPalette *arg1 = (wxPalette *) 0 ;
1745 byte arg2 ;
1746 byte arg3 ;
1747 byte arg4 ;
1748 int result;
1749 PyObject * obj0 = 0 ;
1750 PyObject * obj1 = 0 ;
1751 PyObject * obj2 = 0 ;
1752 PyObject * obj3 = 0 ;
1753 char *kwnames[] = {
1754 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1755 };
1756
1757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Palette_GetPixel",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
1758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPalette,
1759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1760 arg2 = (byte)SWIG_As_unsigned_SS_char(obj1);
15afbcd0 1761 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1762 arg3 = (byte)SWIG_As_unsigned_SS_char(obj2);
15afbcd0 1763 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1764 arg4 = (byte)SWIG_As_unsigned_SS_char(obj3);
15afbcd0 1765 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1766 {
1767 PyThreadState* __tstate = wxPyBeginAllowThreads();
1768 result = (int)(arg1)->GetPixel(arg2,arg3,arg4);
1769
1770 wxPyEndAllowThreads(__tstate);
1771 if (PyErr_Occurred()) SWIG_fail;
1772 }
c32bde28 1773 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
1774 return resultobj;
1775 fail:
1776 return NULL;
1777}
1778
1779
c32bde28 1780static PyObject *_wrap_Palette_GetRGB(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1781 PyObject *resultobj;
1782 wxPalette *arg1 = (wxPalette *) 0 ;
1783 int arg2 ;
1784 byte *arg3 = (byte *) 0 ;
1785 byte *arg4 = (byte *) 0 ;
1786 byte *arg5 = (byte *) 0 ;
1787 bool result;
1788 byte temp3 ;
c32bde28 1789 int res3 = 0 ;
d14a1e28 1790 byte temp4 ;
c32bde28 1791 int res4 = 0 ;
d14a1e28 1792 byte temp5 ;
c32bde28 1793 int res5 = 0 ;
d14a1e28 1794 PyObject * obj0 = 0 ;
994141e6 1795 PyObject * obj1 = 0 ;
d14a1e28
RD
1796 char *kwnames[] = {
1797 (char *) "self",(char *) "pixel", NULL
1798 };
1799
c32bde28
RD
1800 arg3 = &temp3; res3 = SWIG_NEWOBJ;
1801 arg4 = &temp4; res4 = SWIG_NEWOBJ;
1802 arg5 = &temp5; res5 = SWIG_NEWOBJ;
994141e6 1803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Palette_GetRGB",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPalette,
1805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1806 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 1807 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1808 {
1809 PyThreadState* __tstate = wxPyBeginAllowThreads();
1810 result = (bool)(arg1)->GetRGB(arg2,arg3,arg4,arg5);
1811
1812 wxPyEndAllowThreads(__tstate);
1813 if (PyErr_Occurred()) SWIG_fail;
1814 }
4f89f6a3
RD
1815 {
1816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1817 }
c32bde28
RD
1818 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
1819 SWIG_From_unsigned_SS_char((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_byte, 0)));
1820 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
1821 SWIG_From_unsigned_SS_char((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_byte, 0)));
1822 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
1823 SWIG_From_unsigned_SS_char((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_byte, 0)));
d14a1e28
RD
1824 return resultobj;
1825 fail:
1826 return NULL;
1827}
1828
1829
c32bde28 1830static PyObject *_wrap_Palette_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1831 PyObject *resultobj;
1832 wxPalette *arg1 = (wxPalette *) 0 ;
1833 bool result;
1834 PyObject * obj0 = 0 ;
1835 char *kwnames[] = {
1836 (char *) "self", NULL
1837 };
1838
1839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Palette_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
1840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPalette,
1841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1842 {
1843 PyThreadState* __tstate = wxPyBeginAllowThreads();
1844 result = (bool)(arg1)->Ok();
1845
1846 wxPyEndAllowThreads(__tstate);
1847 if (PyErr_Occurred()) SWIG_fail;
1848 }
4f89f6a3
RD
1849 {
1850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1851 }
d14a1e28
RD
1852 return resultobj;
1853 fail:
1854 return NULL;
1855}
1856
1857
c32bde28 1858static PyObject * Palette_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1859 PyObject *obj;
1860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1861 SWIG_TypeClientData(SWIGTYPE_p_wxPalette, obj);
1862 Py_INCREF(obj);
1863 return Py_BuildValue((char *)"");
1864}
c32bde28 1865static PyObject *_wrap_new_Pen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1866 PyObject *resultobj;
1867 wxColour *arg1 = 0 ;
1868 int arg2 = (int) 1 ;
1869 int arg3 = (int) wxSOLID ;
1870 wxPen *result;
1871 wxColour temp1 ;
1872 PyObject * obj0 = 0 ;
994141e6
RD
1873 PyObject * obj1 = 0 ;
1874 PyObject * obj2 = 0 ;
d14a1e28
RD
1875 char *kwnames[] = {
1876 (char *) "colour",(char *) "width",(char *) "style", NULL
1877 };
1878
994141e6 1879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Pen",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
1880 {
1881 arg1 = &temp1;
1882 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
1883 }
994141e6 1884 if (obj1) {
c32bde28 1885 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 1886 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
1887 }
1888 if (obj2) {
c32bde28 1889 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 1890 if (PyErr_Occurred()) SWIG_fail;
994141e6 1891 }
d14a1e28 1892 {
e3b71cb8 1893 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1894 PyThreadState* __tstate = wxPyBeginAllowThreads();
1895 result = (wxPen *)new wxPen(*arg1,arg2,arg3);
1896
1897 wxPyEndAllowThreads(__tstate);
110da5b0 1898 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1899 }
15afbcd0 1900 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 1);
d14a1e28
RD
1901 return resultobj;
1902 fail:
1903 return NULL;
1904}
1905
1906
c32bde28 1907static PyObject *_wrap_delete_Pen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1908 PyObject *resultobj;
1909 wxPen *arg1 = (wxPen *) 0 ;
1910 PyObject * obj0 = 0 ;
1911 char *kwnames[] = {
1912 (char *) "self", NULL
1913 };
1914
1915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Pen",kwnames,&obj0)) goto fail;
15afbcd0
RD
1916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1918 {
1919 PyThreadState* __tstate = wxPyBeginAllowThreads();
1920 delete arg1;
1921
1922 wxPyEndAllowThreads(__tstate);
1923 if (PyErr_Occurred()) SWIG_fail;
1924 }
1925 Py_INCREF(Py_None); resultobj = Py_None;
1926 return resultobj;
1927 fail:
1928 return NULL;
1929}
1930
1931
c32bde28 1932static PyObject *_wrap_Pen_GetCap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1933 PyObject *resultobj;
1934 wxPen *arg1 = (wxPen *) 0 ;
1935 int result;
1936 PyObject * obj0 = 0 ;
1937 char *kwnames[] = {
1938 (char *) "self", NULL
1939 };
1940
1941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetCap",kwnames,&obj0)) goto fail;
15afbcd0
RD
1942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1944 {
1945 PyThreadState* __tstate = wxPyBeginAllowThreads();
1946 result = (int)(arg1)->GetCap();
1947
1948 wxPyEndAllowThreads(__tstate);
1949 if (PyErr_Occurred()) SWIG_fail;
1950 }
c32bde28 1951 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
1952 return resultobj;
1953 fail:
1954 return NULL;
1955}
1956
1957
c32bde28 1958static PyObject *_wrap_Pen_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1959 PyObject *resultobj;
1960 wxPen *arg1 = (wxPen *) 0 ;
1961 wxColour result;
1962 PyObject * obj0 = 0 ;
1963 char *kwnames[] = {
1964 (char *) "self", NULL
1965 };
1966
1967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
1968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1970 {
1971 PyThreadState* __tstate = wxPyBeginAllowThreads();
1972 result = (arg1)->GetColour();
1973
1974 wxPyEndAllowThreads(__tstate);
1975 if (PyErr_Occurred()) SWIG_fail;
1976 }
1977 {
1978 wxColour * resultptr;
1979 resultptr = new wxColour((wxColour &) result);
15afbcd0 1980 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1981 }
1982 return resultobj;
1983 fail:
1984 return NULL;
1985}
1986
1987
c32bde28 1988static PyObject *_wrap_Pen_GetJoin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1989 PyObject *resultobj;
1990 wxPen *arg1 = (wxPen *) 0 ;
1991 int result;
1992 PyObject * obj0 = 0 ;
1993 char *kwnames[] = {
1994 (char *) "self", NULL
1995 };
1996
1997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetJoin",kwnames,&obj0)) goto fail;
15afbcd0
RD
1998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2000 {
2001 PyThreadState* __tstate = wxPyBeginAllowThreads();
2002 result = (int)(arg1)->GetJoin();
2003
2004 wxPyEndAllowThreads(__tstate);
2005 if (PyErr_Occurred()) SWIG_fail;
2006 }
c32bde28 2007 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2008 return resultobj;
2009 fail:
2010 return NULL;
2011}
2012
2013
c32bde28 2014static PyObject *_wrap_Pen_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2015 PyObject *resultobj;
2016 wxPen *arg1 = (wxPen *) 0 ;
2017 int result;
2018 PyObject * obj0 = 0 ;
2019 char *kwnames[] = {
2020 (char *) "self", NULL
2021 };
2022
2023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
2024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2026 {
2027 PyThreadState* __tstate = wxPyBeginAllowThreads();
2028 result = (int)(arg1)->GetStyle();
2029
2030 wxPyEndAllowThreads(__tstate);
2031 if (PyErr_Occurred()) SWIG_fail;
2032 }
c32bde28 2033 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2034 return resultobj;
2035 fail:
2036 return NULL;
2037}
2038
2039
c32bde28 2040static PyObject *_wrap_Pen_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2041 PyObject *resultobj;
2042 wxPen *arg1 = (wxPen *) 0 ;
2043 int result;
2044 PyObject * obj0 = 0 ;
2045 char *kwnames[] = {
2046 (char *) "self", NULL
2047 };
2048
2049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
2050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2052 {
2053 PyThreadState* __tstate = wxPyBeginAllowThreads();
2054 result = (int)(arg1)->GetWidth();
2055
2056 wxPyEndAllowThreads(__tstate);
2057 if (PyErr_Occurred()) SWIG_fail;
2058 }
c32bde28 2059 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2060 return resultobj;
2061 fail:
2062 return NULL;
2063}
2064
2065
c32bde28 2066static PyObject *_wrap_Pen_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2067 PyObject *resultobj;
2068 wxPen *arg1 = (wxPen *) 0 ;
2069 bool result;
2070 PyObject * obj0 = 0 ;
2071 char *kwnames[] = {
2072 (char *) "self", NULL
2073 };
2074
2075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
2076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2078 {
2079 PyThreadState* __tstate = wxPyBeginAllowThreads();
2080 result = (bool)(arg1)->Ok();
2081
2082 wxPyEndAllowThreads(__tstate);
2083 if (PyErr_Occurred()) SWIG_fail;
2084 }
4f89f6a3
RD
2085 {
2086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2087 }
d14a1e28
RD
2088 return resultobj;
2089 fail:
2090 return NULL;
2091}
2092
2093
c32bde28 2094static PyObject *_wrap_Pen_SetCap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2095 PyObject *resultobj;
2096 wxPen *arg1 = (wxPen *) 0 ;
2097 int arg2 ;
2098 PyObject * obj0 = 0 ;
994141e6 2099 PyObject * obj1 = 0 ;
d14a1e28
RD
2100 char *kwnames[] = {
2101 (char *) "self",(char *) "cap_style", NULL
2102 };
2103
994141e6 2104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetCap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2107 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2108 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2109 {
2110 PyThreadState* __tstate = wxPyBeginAllowThreads();
2111 (arg1)->SetCap(arg2);
2112
2113 wxPyEndAllowThreads(__tstate);
2114 if (PyErr_Occurred()) SWIG_fail;
2115 }
2116 Py_INCREF(Py_None); resultobj = Py_None;
2117 return resultobj;
2118 fail:
2119 return NULL;
2120}
2121
2122
c32bde28 2123static PyObject *_wrap_Pen_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2124 PyObject *resultobj;
2125 wxPen *arg1 = (wxPen *) 0 ;
2126 wxColour *arg2 = 0 ;
2127 wxColour temp2 ;
2128 PyObject * obj0 = 0 ;
2129 PyObject * obj1 = 0 ;
2130 char *kwnames[] = {
2131 (char *) "self",(char *) "colour", NULL
2132 };
2133
2134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2137 {
2138 arg2 = &temp2;
2139 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2140 }
2141 {
2142 PyThreadState* __tstate = wxPyBeginAllowThreads();
2143 (arg1)->SetColour(*arg2);
2144
2145 wxPyEndAllowThreads(__tstate);
2146 if (PyErr_Occurred()) SWIG_fail;
2147 }
2148 Py_INCREF(Py_None); resultobj = Py_None;
2149 return resultobj;
2150 fail:
2151 return NULL;
2152}
2153
2154
c32bde28 2155static PyObject *_wrap_Pen_SetJoin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2156 PyObject *resultobj;
2157 wxPen *arg1 = (wxPen *) 0 ;
2158 int arg2 ;
2159 PyObject * obj0 = 0 ;
994141e6 2160 PyObject * obj1 = 0 ;
d14a1e28
RD
2161 char *kwnames[] = {
2162 (char *) "self",(char *) "join_style", NULL
2163 };
2164
994141e6 2165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetJoin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2168 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2169 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2170 {
2171 PyThreadState* __tstate = wxPyBeginAllowThreads();
2172 (arg1)->SetJoin(arg2);
2173
2174 wxPyEndAllowThreads(__tstate);
2175 if (PyErr_Occurred()) SWIG_fail;
2176 }
2177 Py_INCREF(Py_None); resultobj = Py_None;
2178 return resultobj;
2179 fail:
2180 return NULL;
2181}
2182
2183
c32bde28 2184static PyObject *_wrap_Pen_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2185 PyObject *resultobj;
2186 wxPen *arg1 = (wxPen *) 0 ;
2187 int arg2 ;
2188 PyObject * obj0 = 0 ;
994141e6 2189 PyObject * obj1 = 0 ;
d14a1e28
RD
2190 char *kwnames[] = {
2191 (char *) "self",(char *) "style", NULL
2192 };
2193
994141e6 2194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2197 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2198 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2199 {
2200 PyThreadState* __tstate = wxPyBeginAllowThreads();
2201 (arg1)->SetStyle(arg2);
2202
2203 wxPyEndAllowThreads(__tstate);
2204 if (PyErr_Occurred()) SWIG_fail;
2205 }
2206 Py_INCREF(Py_None); resultobj = Py_None;
2207 return resultobj;
2208 fail:
2209 return NULL;
2210}
2211
2212
c32bde28 2213static PyObject *_wrap_Pen_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2214 PyObject *resultobj;
2215 wxPen *arg1 = (wxPen *) 0 ;
2216 int arg2 ;
2217 PyObject * obj0 = 0 ;
994141e6 2218 PyObject * obj1 = 0 ;
d14a1e28
RD
2219 char *kwnames[] = {
2220 (char *) "self",(char *) "width", NULL
2221 };
2222
994141e6 2223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2226 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2227 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2228 {
2229 PyThreadState* __tstate = wxPyBeginAllowThreads();
2230 (arg1)->SetWidth(arg2);
2231
2232 wxPyEndAllowThreads(__tstate);
2233 if (PyErr_Occurred()) SWIG_fail;
2234 }
2235 Py_INCREF(Py_None); resultobj = Py_None;
2236 return resultobj;
2237 fail:
2238 return NULL;
2239}
2240
2241
c32bde28 2242static PyObject *_wrap_Pen_SetDashes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2243 PyObject *resultobj;
2244 wxPen *arg1 = (wxPen *) 0 ;
2245 int arg2 ;
2246 wxDash *arg3 = (wxDash *) 0 ;
2247 PyObject * obj0 = 0 ;
2248 PyObject * obj1 = 0 ;
2249 char *kwnames[] = {
2250 (char *) "self",(char *) "dashes", NULL
2251 };
2252
2253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetDashes",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2256 {
2257 arg2 = PyList_Size(obj1);
2258 arg3 = (wxDash*)byte_LIST_helper(obj1);
2259 if (arg3 == NULL) SWIG_fail;
2260 }
2261 {
2262 PyThreadState* __tstate = wxPyBeginAllowThreads();
2263 (arg1)->SetDashes(arg2,arg3);
2264
2265 wxPyEndAllowThreads(__tstate);
2266 if (PyErr_Occurred()) SWIG_fail;
2267 }
2268 Py_INCREF(Py_None); resultobj = Py_None;
2269 {
2270 if (arg3) delete [] arg3;
2271 }
2272 return resultobj;
2273 fail:
2274 {
2275 if (arg3) delete [] arg3;
2276 }
2277 return NULL;
2278}
2279
2280
c32bde28 2281static PyObject *_wrap_Pen_GetDashes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2282 PyObject *resultobj;
2283 wxPen *arg1 = (wxPen *) 0 ;
2284 PyObject *result;
2285 PyObject * obj0 = 0 ;
2286 char *kwnames[] = {
2287 (char *) "self", NULL
2288 };
2289
2290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetDashes",kwnames,&obj0)) goto fail;
15afbcd0
RD
2291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2293 {
2294 PyThreadState* __tstate = wxPyBeginAllowThreads();
2295 result = (PyObject *)wxPen_GetDashes(arg1);
2296
2297 wxPyEndAllowThreads(__tstate);
2298 if (PyErr_Occurred()) SWIG_fail;
2299 }
2300 resultobj = result;
2301 return resultobj;
2302 fail:
2303 return NULL;
2304}
2305
2306
c32bde28 2307static PyObject *_wrap_Pen__SetDashes(PyObject *, PyObject *args, PyObject *kwargs) {
22faec7d
RD
2308 PyObject *resultobj;
2309 wxPen *arg1 = (wxPen *) 0 ;
66c033b4
RD
2310 PyObject *arg2 = (PyObject *) 0 ;
2311 PyObject *arg3 = (PyObject *) 0 ;
22faec7d
RD
2312 PyObject * obj0 = 0 ;
2313 PyObject * obj1 = 0 ;
66c033b4 2314 PyObject * obj2 = 0 ;
22faec7d 2315 char *kwnames[] = {
66c033b4 2316 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
22faec7d
RD
2317 };
2318
66c033b4 2319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Pen__SetDashes",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
66c033b4
RD
2322 arg2 = obj1;
2323 arg3 = obj2;
3adfb63b
RD
2324 {
2325 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 2326 wxPen__SetDashes(arg1,arg2,arg3);
3adfb63b
RD
2327
2328 wxPyEndAllowThreads(__tstate);
2329 if (PyErr_Occurred()) SWIG_fail;
2330 }
66c033b4 2331 Py_INCREF(Py_None); resultobj = Py_None;
3adfb63b
RD
2332 return resultobj;
2333 fail:
2334 return NULL;
2335}
2336
2337
c32bde28 2338static PyObject *_wrap_Pen_GetDashCount(PyObject *, PyObject *args, PyObject *kwargs) {
c9c7117a
RD
2339 PyObject *resultobj;
2340 wxPen *arg1 = (wxPen *) 0 ;
2341 int result;
2342 PyObject * obj0 = 0 ;
2343 char *kwnames[] = {
2344 (char *) "self", NULL
2345 };
2346
2347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetDashCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
2348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
2350 {
2351 PyThreadState* __tstate = wxPyBeginAllowThreads();
2352 result = (int)((wxPen const *)arg1)->GetDashCount();
2353
2354 wxPyEndAllowThreads(__tstate);
2355 if (PyErr_Occurred()) SWIG_fail;
2356 }
c32bde28 2357 resultobj = SWIG_From_int((int)result);
c9c7117a
RD
2358 return resultobj;
2359 fail:
2360 return NULL;
2361}
2362
2363
c32bde28 2364static PyObject *_wrap_Pen___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 2365 PyObject *resultobj;
66c033b4
RD
2366 wxPen *arg1 = (wxPen *) 0 ;
2367 wxPen *arg2 = (wxPen *) 0 ;
2368 bool result;
d14a1e28 2369 PyObject * obj0 = 0 ;
994141e6 2370 PyObject * obj1 = 0 ;
d14a1e28 2371 char *kwnames[] = {
66c033b4 2372 (char *) "self",(char *) "other", NULL
d14a1e28
RD
2373 };
2374
66c033b4
RD
2375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen___eq__",kwnames,&obj0,&obj1)) goto fail;
2376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2378 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPen,
2379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2380 {
2381 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 2382 result = (bool)wxPen___eq__(arg1,(wxPen const *)arg2);
d14a1e28
RD
2383
2384 wxPyEndAllowThreads(__tstate);
2385 if (PyErr_Occurred()) SWIG_fail;
2386 }
d14a1e28 2387 {
66c033b4 2388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28 2389 }
d14a1e28
RD
2390 return resultobj;
2391 fail:
2392 return NULL;
2393}
2394
2395
c32bde28 2396static PyObject *_wrap_Pen___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 2397 PyObject *resultobj;
66c033b4
RD
2398 wxPen *arg1 = (wxPen *) 0 ;
2399 wxPen *arg2 = (wxPen *) 0 ;
2400 bool result;
d14a1e28
RD
2401 PyObject * obj0 = 0 ;
2402 PyObject * obj1 = 0 ;
2403 char *kwnames[] = {
66c033b4 2404 (char *) "self",(char *) "other", NULL
d14a1e28
RD
2405 };
2406
66c033b4
RD
2407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen___ne__",kwnames,&obj0,&obj1)) goto fail;
2408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2410 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPen,
15afbcd0 2411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2412 {
2413 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 2414 result = (bool)wxPen___ne__(arg1,(wxPen const *)arg2);
d14a1e28
RD
2415
2416 wxPyEndAllowThreads(__tstate);
2417 if (PyErr_Occurred()) SWIG_fail;
2418 }
d14a1e28 2419 {
66c033b4 2420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2421 }
2422 return resultobj;
2423 fail:
d14a1e28
RD
2424 return NULL;
2425}
2426
2427
c32bde28 2428static PyObject * Pen_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2429 PyObject *obj;
2430 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
66c033b4 2431 SWIG_TypeClientData(SWIGTYPE_p_wxPen, obj);
d14a1e28
RD
2432 Py_INCREF(obj);
2433 return Py_BuildValue((char *)"");
2434}
c32bde28 2435static PyObject *_wrap_new_Brush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2436 PyObject *resultobj;
2437 wxColour *arg1 = 0 ;
2438 int arg2 = (int) wxSOLID ;
2439 wxBrush *result;
2440 wxColour temp1 ;
2441 PyObject * obj0 = 0 ;
994141e6 2442 PyObject * obj1 = 0 ;
d14a1e28
RD
2443 char *kwnames[] = {
2444 (char *) "colour",(char *) "style", NULL
2445 };
2446
994141e6 2447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Brush",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2448 {
2449 arg1 = &temp1;
2450 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
2451 }
994141e6 2452 if (obj1) {
c32bde28 2453 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2454 if (PyErr_Occurred()) SWIG_fail;
994141e6 2455 }
d14a1e28 2456 {
e3b71cb8 2457 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2458 PyThreadState* __tstate = wxPyBeginAllowThreads();
2459 result = (wxBrush *)new wxBrush((wxColour const &)*arg1,arg2);
2460
2461 wxPyEndAllowThreads(__tstate);
110da5b0 2462 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2463 }
15afbcd0 2464 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 1);
d14a1e28
RD
2465 return resultobj;
2466 fail:
2467 return NULL;
2468}
2469
2470
c32bde28 2471static PyObject *_wrap_delete_Brush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2472 PyObject *resultobj;
2473 wxBrush *arg1 = (wxBrush *) 0 ;
2474 PyObject * obj0 = 0 ;
2475 char *kwnames[] = {
2476 (char *) "self", NULL
2477 };
2478
2479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Brush",kwnames,&obj0)) goto fail;
15afbcd0
RD
2480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2482 {
2483 PyThreadState* __tstate = wxPyBeginAllowThreads();
2484 delete arg1;
2485
2486 wxPyEndAllowThreads(__tstate);
2487 if (PyErr_Occurred()) SWIG_fail;
2488 }
2489 Py_INCREF(Py_None); resultobj = Py_None;
2490 return resultobj;
2491 fail:
2492 return NULL;
2493}
2494
2495
c32bde28 2496static PyObject *_wrap_Brush_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2497 PyObject *resultobj;
2498 wxBrush *arg1 = (wxBrush *) 0 ;
2499 wxColour *arg2 = 0 ;
2500 wxColour temp2 ;
2501 PyObject * obj0 = 0 ;
2502 PyObject * obj1 = 0 ;
2503 char *kwnames[] = {
2504 (char *) "self",(char *) "col", NULL
2505 };
2506
2507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Brush_SetColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2510 {
2511 arg2 = &temp2;
2512 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2513 }
2514 {
2515 PyThreadState* __tstate = wxPyBeginAllowThreads();
2516 (arg1)->SetColour((wxColour const &)*arg2);
2517
2518 wxPyEndAllowThreads(__tstate);
2519 if (PyErr_Occurred()) SWIG_fail;
2520 }
2521 Py_INCREF(Py_None); resultobj = Py_None;
2522 return resultobj;
2523 fail:
2524 return NULL;
2525}
2526
2527
c32bde28 2528static PyObject *_wrap_Brush_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2529 PyObject *resultobj;
2530 wxBrush *arg1 = (wxBrush *) 0 ;
2531 int arg2 ;
2532 PyObject * obj0 = 0 ;
994141e6 2533 PyObject * obj1 = 0 ;
d14a1e28
RD
2534 char *kwnames[] = {
2535 (char *) "self",(char *) "style", NULL
2536 };
2537
994141e6 2538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Brush_SetStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2541 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2542 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2543 {
2544 PyThreadState* __tstate = wxPyBeginAllowThreads();
2545 (arg1)->SetStyle(arg2);
2546
2547 wxPyEndAllowThreads(__tstate);
2548 if (PyErr_Occurred()) SWIG_fail;
2549 }
2550 Py_INCREF(Py_None); resultobj = Py_None;
2551 return resultobj;
2552 fail:
2553 return NULL;
2554}
2555
2556
c32bde28 2557static PyObject *_wrap_Brush_SetStipple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2558 PyObject *resultobj;
2559 wxBrush *arg1 = (wxBrush *) 0 ;
2560 wxBitmap *arg2 = 0 ;
2561 PyObject * obj0 = 0 ;
2562 PyObject * obj1 = 0 ;
2563 char *kwnames[] = {
2564 (char *) "self",(char *) "stipple", NULL
2565 };
2566
2567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Brush_SetStipple",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2570 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
2571 SWIG_POINTER_EXCEPTION | 0)) == -1)
2572 SWIG_fail;
d14a1e28 2573 if (arg2 == NULL) {
15afbcd0
RD
2574 PyErr_SetString(PyExc_TypeError,"null reference");
2575 SWIG_fail;
d14a1e28
RD
2576 }
2577 {
2578 PyThreadState* __tstate = wxPyBeginAllowThreads();
2579 (arg1)->SetStipple((wxBitmap const &)*arg2);
2580
2581 wxPyEndAllowThreads(__tstate);
2582 if (PyErr_Occurred()) SWIG_fail;
2583 }
2584 Py_INCREF(Py_None); resultobj = Py_None;
2585 return resultobj;
2586 fail:
2587 return NULL;
2588}
2589
2590
c32bde28 2591static PyObject *_wrap_Brush_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2592 PyObject *resultobj;
2593 wxBrush *arg1 = (wxBrush *) 0 ;
2594 wxColour result;
2595 PyObject * obj0 = 0 ;
2596 char *kwnames[] = {
2597 (char *) "self", NULL
2598 };
2599
2600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_GetColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
2601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2603 {
2604 PyThreadState* __tstate = wxPyBeginAllowThreads();
2605 result = ((wxBrush const *)arg1)->GetColour();
2606
2607 wxPyEndAllowThreads(__tstate);
2608 if (PyErr_Occurred()) SWIG_fail;
2609 }
2610 {
2611 wxColour * resultptr;
2612 resultptr = new wxColour((wxColour &) result);
15afbcd0 2613 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
2614 }
2615 return resultobj;
2616 fail:
2617 return NULL;
2618}
2619
2620
c32bde28 2621static PyObject *_wrap_Brush_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2622 PyObject *resultobj;
2623 wxBrush *arg1 = (wxBrush *) 0 ;
2624 int result;
2625 PyObject * obj0 = 0 ;
2626 char *kwnames[] = {
2627 (char *) "self", NULL
2628 };
2629
2630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
2631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2633 {
2634 PyThreadState* __tstate = wxPyBeginAllowThreads();
2635 result = (int)((wxBrush const *)arg1)->GetStyle();
2636
2637 wxPyEndAllowThreads(__tstate);
2638 if (PyErr_Occurred()) SWIG_fail;
2639 }
c32bde28 2640 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2641 return resultobj;
2642 fail:
2643 return NULL;
2644}
2645
2646
c32bde28 2647static PyObject *_wrap_Brush_GetStipple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2648 PyObject *resultobj;
2649 wxBrush *arg1 = (wxBrush *) 0 ;
2650 wxBitmap *result;
2651 PyObject * obj0 = 0 ;
2652 char *kwnames[] = {
2653 (char *) "self", NULL
2654 };
2655
2656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_GetStipple",kwnames,&obj0)) goto fail;
15afbcd0
RD
2657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2659 {
2660 PyThreadState* __tstate = wxPyBeginAllowThreads();
2661 result = (wxBitmap *)((wxBrush const *)arg1)->GetStipple();
2662
2663 wxPyEndAllowThreads(__tstate);
2664 if (PyErr_Occurred()) SWIG_fail;
2665 }
15afbcd0 2666 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 0);
d14a1e28
RD
2667 return resultobj;
2668 fail:
2669 return NULL;
2670}
2671
2672
c32bde28 2673static PyObject *_wrap_Brush_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2674 PyObject *resultobj;
2675 wxBrush *arg1 = (wxBrush *) 0 ;
2676 bool result;
2677 PyObject * obj0 = 0 ;
2678 char *kwnames[] = {
2679 (char *) "self", NULL
2680 };
2681
2682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
2683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2685 {
2686 PyThreadState* __tstate = wxPyBeginAllowThreads();
2687 result = (bool)(arg1)->Ok();
2688
2689 wxPyEndAllowThreads(__tstate);
2690 if (PyErr_Occurred()) SWIG_fail;
2691 }
4f89f6a3
RD
2692 {
2693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2694 }
d14a1e28
RD
2695 return resultobj;
2696 fail:
2697 return NULL;
2698}
2699
2700
c32bde28 2701static PyObject * Brush_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2702 PyObject *obj;
2703 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2704 SWIG_TypeClientData(SWIGTYPE_p_wxBrush, obj);
2705 Py_INCREF(obj);
2706 return Py_BuildValue((char *)"");
2707}
c32bde28 2708static PyObject *_wrap_new_Bitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2709 PyObject *resultobj;
2710 wxString *arg1 = 0 ;
2711 int arg2 = (int) wxBITMAP_TYPE_ANY ;
2712 wxBitmap *result;
ae8162c8 2713 bool temp1 = false ;
d14a1e28 2714 PyObject * obj0 = 0 ;
994141e6 2715 PyObject * obj1 = 0 ;
d14a1e28
RD
2716 char *kwnames[] = {
2717 (char *) "name",(char *) "type", NULL
2718 };
2719
994141e6 2720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Bitmap",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2721 {
2722 arg1 = wxString_in_helper(obj0);
2723 if (arg1 == NULL) SWIG_fail;
ae8162c8 2724 temp1 = true;
d14a1e28 2725 }
994141e6 2726 if (obj1) {
c32bde28 2727 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2728 if (PyErr_Occurred()) SWIG_fail;
994141e6 2729 }
d14a1e28 2730 {
e3b71cb8 2731 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2732 PyThreadState* __tstate = wxPyBeginAllowThreads();
2733 result = (wxBitmap *)new wxBitmap((wxString const &)*arg1,(wxBitmapType )arg2);
2734
2735 wxPyEndAllowThreads(__tstate);
110da5b0 2736 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2737 }
15afbcd0 2738 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2739 {
2740 if (temp1)
2741 delete arg1;
2742 }
2743 return resultobj;
2744 fail:
2745 {
2746 if (temp1)
2747 delete arg1;
2748 }
2749 return NULL;
2750}
2751
2752
c32bde28 2753static PyObject *_wrap_delete_Bitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2754 PyObject *resultobj;
2755 wxBitmap *arg1 = (wxBitmap *) 0 ;
2756 PyObject * obj0 = 0 ;
2757 char *kwnames[] = {
2758 (char *) "self", NULL
2759 };
2760
2761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Bitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
2762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2764 {
2765 PyThreadState* __tstate = wxPyBeginAllowThreads();
2766 delete arg1;
2767
2768 wxPyEndAllowThreads(__tstate);
2769 if (PyErr_Occurred()) SWIG_fail;
2770 }
2771 Py_INCREF(Py_None); resultobj = Py_None;
2772 return resultobj;
2773 fail:
2774 return NULL;
2775}
2776
2777
c32bde28 2778static PyObject *_wrap_new_EmptyBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
66c033b4
RD
2779 PyObject *resultobj;
2780 int arg1 ;
2781 int arg2 ;
2782 int arg3 = (int) -1 ;
2783 wxBitmap *result;
2784 PyObject * obj0 = 0 ;
2785 PyObject * obj1 = 0 ;
2786 PyObject * obj2 = 0 ;
2787 char *kwnames[] = {
2788 (char *) "width",(char *) "height",(char *) "depth", NULL
2789 };
2790
2791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_EmptyBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
c32bde28 2792 arg1 = (int)SWIG_As_int(obj0);
66c033b4 2793 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2794 arg2 = (int)SWIG_As_int(obj1);
66c033b4
RD
2795 if (PyErr_Occurred()) SWIG_fail;
2796 if (obj2) {
c32bde28 2797 arg3 = (int)SWIG_As_int(obj2);
66c033b4
RD
2798 if (PyErr_Occurred()) SWIG_fail;
2799 }
2800 {
e3b71cb8 2801 if (!wxPyCheckForApp()) SWIG_fail;
66c033b4
RD
2802 PyThreadState* __tstate = wxPyBeginAllowThreads();
2803 result = (wxBitmap *)new wxBitmap(arg1,arg2,arg3);
2804
2805 wxPyEndAllowThreads(__tstate);
110da5b0 2806 if (PyErr_Occurred()) SWIG_fail;
66c033b4
RD
2807 }
2808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
2809 return resultobj;
2810 fail:
2811 return NULL;
2812}
2813
2814
c32bde28 2815static PyObject *_wrap_new_BitmapFromIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2816 PyObject *resultobj;
2817 wxIcon *arg1 = 0 ;
2818 wxBitmap *result;
2819 PyObject * obj0 = 0 ;
2820 char *kwnames[] = {
2821 (char *) "icon", NULL
2822 };
2823
2824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BitmapFromIcon",kwnames,&obj0)) goto fail;
15afbcd0
RD
2825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
2826 SWIG_POINTER_EXCEPTION | 0)) == -1)
2827 SWIG_fail;
d14a1e28 2828 if (arg1 == NULL) {
15afbcd0
RD
2829 PyErr_SetString(PyExc_TypeError,"null reference");
2830 SWIG_fail;
d14a1e28
RD
2831 }
2832 {
e3b71cb8 2833 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2834 PyThreadState* __tstate = wxPyBeginAllowThreads();
2835 result = (wxBitmap *)new wxBitmap((wxIcon const &)*arg1);
2836
2837 wxPyEndAllowThreads(__tstate);
110da5b0 2838 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2839 }
15afbcd0 2840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2841 return resultobj;
2842 fail:
2843 return NULL;
2844}
2845
2846
c32bde28 2847static PyObject *_wrap_new_BitmapFromImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2848 PyObject *resultobj;
2849 wxImage *arg1 = 0 ;
2850 int arg2 = (int) -1 ;
2851 wxBitmap *result;
2852 PyObject * obj0 = 0 ;
994141e6 2853 PyObject * obj1 = 0 ;
d14a1e28
RD
2854 char *kwnames[] = {
2855 (char *) "image",(char *) "depth", NULL
2856 };
2857
994141e6 2858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_BitmapFromImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
2860 SWIG_POINTER_EXCEPTION | 0)) == -1)
2861 SWIG_fail;
d14a1e28 2862 if (arg1 == NULL) {
15afbcd0
RD
2863 PyErr_SetString(PyExc_TypeError,"null reference");
2864 SWIG_fail;
d14a1e28 2865 }
994141e6 2866 if (obj1) {
c32bde28 2867 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2868 if (PyErr_Occurred()) SWIG_fail;
994141e6 2869 }
d14a1e28 2870 {
e3b71cb8 2871 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2872 PyThreadState* __tstate = wxPyBeginAllowThreads();
2873 result = (wxBitmap *)new wxBitmap((wxImage const &)*arg1,arg2);
2874
2875 wxPyEndAllowThreads(__tstate);
110da5b0 2876 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2877 }
15afbcd0 2878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2879 return resultobj;
2880 fail:
2881 return NULL;
2882}
2883
2884
c32bde28 2885static PyObject *_wrap_new_BitmapFromXPMData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2886 PyObject *resultobj;
2887 PyObject *arg1 = (PyObject *) 0 ;
2888 wxBitmap *result;
2889 PyObject * obj0 = 0 ;
2890 char *kwnames[] = {
2891 (char *) "listOfStrings", NULL
2892 };
2893
2894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BitmapFromXPMData",kwnames,&obj0)) goto fail;
2895 arg1 = obj0;
2896 {
e3b71cb8 2897 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2898 PyThreadState* __tstate = wxPyBeginAllowThreads();
2899 result = (wxBitmap *)new_wxBitmap(arg1);
2900
2901 wxPyEndAllowThreads(__tstate);
110da5b0 2902 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2903 }
15afbcd0 2904 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2905 return resultobj;
2906 fail:
2907 return NULL;
2908}
2909
2910
c32bde28 2911static PyObject *_wrap_new_BitmapFromBits(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2912 PyObject *resultobj;
2913 PyObject *arg1 = (PyObject *) 0 ;
2914 int arg2 ;
2915 int arg3 ;
2916 int arg4 = (int) 1 ;
2917 wxBitmap *result;
2918 PyObject * obj0 = 0 ;
994141e6
RD
2919 PyObject * obj1 = 0 ;
2920 PyObject * obj2 = 0 ;
2921 PyObject * obj3 = 0 ;
d14a1e28
RD
2922 char *kwnames[] = {
2923 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2924 };
2925
994141e6 2926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_BitmapFromBits",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 2927 arg1 = obj0;
c32bde28 2928 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2929 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2930 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 2931 if (PyErr_Occurred()) SWIG_fail;
994141e6 2932 if (obj3) {
c32bde28 2933 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 2934 if (PyErr_Occurred()) SWIG_fail;
994141e6 2935 }
d14a1e28 2936 {
e3b71cb8 2937 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2938 PyThreadState* __tstate = wxPyBeginAllowThreads();
2939 result = (wxBitmap *)new_wxBitmap(arg1,arg2,arg3,arg4);
2940
2941 wxPyEndAllowThreads(__tstate);
110da5b0 2942 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2943 }
15afbcd0 2944 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2945 return resultobj;
2946 fail:
2947 return NULL;
2948}
2949
2950
c32bde28 2951static PyObject *_wrap_Bitmap_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2952 PyObject *resultobj;
2953 wxBitmap *arg1 = (wxBitmap *) 0 ;
2954 bool result;
2955 PyObject * obj0 = 0 ;
2956 char *kwnames[] = {
2957 (char *) "self", NULL
2958 };
2959
2960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
2961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2963 {
2964 PyThreadState* __tstate = wxPyBeginAllowThreads();
2965 result = (bool)(arg1)->Ok();
2966
2967 wxPyEndAllowThreads(__tstate);
2968 if (PyErr_Occurred()) SWIG_fail;
2969 }
4f89f6a3
RD
2970 {
2971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2972 }
d14a1e28
RD
2973 return resultobj;
2974 fail:
2975 return NULL;
2976}
2977
2978
c32bde28 2979static PyObject *_wrap_Bitmap_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2980 PyObject *resultobj;
2981 wxBitmap *arg1 = (wxBitmap *) 0 ;
2982 int result;
2983 PyObject * obj0 = 0 ;
2984 char *kwnames[] = {
2985 (char *) "self", NULL
2986 };
2987
2988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
2989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2991 {
2992 PyThreadState* __tstate = wxPyBeginAllowThreads();
2993 result = (int)(arg1)->GetWidth();
2994
2995 wxPyEndAllowThreads(__tstate);
2996 if (PyErr_Occurred()) SWIG_fail;
2997 }
c32bde28 2998 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2999 return resultobj;
3000 fail:
3001 return NULL;
3002}
3003
3004
c32bde28 3005static PyObject *_wrap_Bitmap_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3006 PyObject *resultobj;
3007 wxBitmap *arg1 = (wxBitmap *) 0 ;
3008 int result;
3009 PyObject * obj0 = 0 ;
3010 char *kwnames[] = {
3011 (char *) "self", NULL
3012 };
3013
3014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
3015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3017 {
3018 PyThreadState* __tstate = wxPyBeginAllowThreads();
3019 result = (int)(arg1)->GetHeight();
3020
3021 wxPyEndAllowThreads(__tstate);
3022 if (PyErr_Occurred()) SWIG_fail;
3023 }
c32bde28 3024 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
3025 return resultobj;
3026 fail:
3027 return NULL;
3028}
3029
3030
c32bde28 3031static PyObject *_wrap_Bitmap_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3032 PyObject *resultobj;
3033 wxBitmap *arg1 = (wxBitmap *) 0 ;
3034 int result;
3035 PyObject * obj0 = 0 ;
3036 char *kwnames[] = {
3037 (char *) "self", NULL
3038 };
3039
3040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetDepth",kwnames,&obj0)) goto fail;
15afbcd0
RD
3041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3043 {
3044 PyThreadState* __tstate = wxPyBeginAllowThreads();
3045 result = (int)(arg1)->GetDepth();
3046
3047 wxPyEndAllowThreads(__tstate);
3048 if (PyErr_Occurred()) SWIG_fail;
3049 }
c32bde28 3050 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
3051 return resultobj;
3052 fail:
3053 return NULL;
3054}
3055
3056
c32bde28 3057static PyObject *_wrap_Bitmap_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
b2df227b
RD
3058 PyObject *resultobj;
3059 wxBitmap *arg1 = (wxBitmap *) 0 ;
3060 wxSize result;
3061 PyObject * obj0 = 0 ;
3062 char *kwnames[] = {
3063 (char *) "self", NULL
3064 };
3065
3066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetSize",kwnames,&obj0)) goto fail;
3067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3069 {
3070 PyThreadState* __tstate = wxPyBeginAllowThreads();
3071 result = wxBitmap_GetSize(arg1);
3072
3073 wxPyEndAllowThreads(__tstate);
3074 if (PyErr_Occurred()) SWIG_fail;
3075 }
3076 {
3077 wxSize * resultptr;
3078 resultptr = new wxSize((wxSize &) result);
3079 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
3080 }
3081 return resultobj;
3082 fail:
3083 return NULL;
3084}
3085
3086
c32bde28 3087static PyObject *_wrap_Bitmap_ConvertToImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3088 PyObject *resultobj;
3089 wxBitmap *arg1 = (wxBitmap *) 0 ;
3090 SwigValueWrapper< wxImage > result;
3091 PyObject * obj0 = 0 ;
3092 char *kwnames[] = {
3093 (char *) "self", NULL
3094 };
3095
3096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_ConvertToImage",kwnames,&obj0)) goto fail;
15afbcd0
RD
3097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3099 {
3100 PyThreadState* __tstate = wxPyBeginAllowThreads();
3101 result = ((wxBitmap const *)arg1)->ConvertToImage();
3102
3103 wxPyEndAllowThreads(__tstate);
3104 if (PyErr_Occurred()) SWIG_fail;
3105 }
3106 {
3107 wxImage * resultptr;
3108 resultptr = new wxImage((wxImage &) result);
15afbcd0 3109 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
3110 }
3111 return resultobj;
3112 fail:
3113 return NULL;
3114}
3115
3116
c32bde28 3117static PyObject *_wrap_Bitmap_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3118 PyObject *resultobj;
3119 wxBitmap *arg1 = (wxBitmap *) 0 ;
3120 wxMask *result;
3121 PyObject * obj0 = 0 ;
3122 char *kwnames[] = {
3123 (char *) "self", NULL
3124 };
3125
3126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
3127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3129 {
3130 PyThreadState* __tstate = wxPyBeginAllowThreads();
3131 result = (wxMask *)((wxBitmap const *)arg1)->GetMask();
3132
3133 wxPyEndAllowThreads(__tstate);
3134 if (PyErr_Occurred()) SWIG_fail;
3135 }
15afbcd0 3136 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMask, 0);
d14a1e28
RD
3137 return resultobj;
3138 fail:
3139 return NULL;
3140}
3141
3142
c32bde28 3143static PyObject *_wrap_Bitmap_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3144 PyObject *resultobj;
3145 wxBitmap *arg1 = (wxBitmap *) 0 ;
3146 wxMask *arg2 = (wxMask *) 0 ;
3147 PyObject * obj0 = 0 ;
3148 PyObject * obj1 = 0 ;
3149 char *kwnames[] = {
3150 (char *) "self",(char *) "mask", NULL
3151 };
3152
3153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3156 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMask,
3157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3158 {
3159 PyThreadState* __tstate = wxPyBeginAllowThreads();
3160 (arg1)->SetMask(arg2);
3161
3162 wxPyEndAllowThreads(__tstate);
3163 if (PyErr_Occurred()) SWIG_fail;
3164 }
3165 Py_INCREF(Py_None); resultobj = Py_None;
3166 return resultobj;
3167 fail:
3168 return NULL;
3169}
3170
3171
c32bde28 3172static PyObject *_wrap_Bitmap_SetMaskColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3173 PyObject *resultobj;
3174 wxBitmap *arg1 = (wxBitmap *) 0 ;
3175 wxColour *arg2 = 0 ;
3176 wxColour temp2 ;
3177 PyObject * obj0 = 0 ;
3178 PyObject * obj1 = 0 ;
3179 char *kwnames[] = {
3180 (char *) "self",(char *) "colour", NULL
3181 };
3182
3183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetMaskColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3186 {
3187 arg2 = &temp2;
3188 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3189 }
3190 {
3191 PyThreadState* __tstate = wxPyBeginAllowThreads();
3192 wxBitmap_SetMaskColour(arg1,(wxColour const &)*arg2);
3193
3194 wxPyEndAllowThreads(__tstate);
3195 if (PyErr_Occurred()) SWIG_fail;
3196 }
3197 Py_INCREF(Py_None); resultobj = Py_None;
3198 return resultobj;
3199 fail:
3200 return NULL;
3201}
3202
3203
c32bde28 3204static PyObject *_wrap_Bitmap_GetSubBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3205 PyObject *resultobj;
3206 wxBitmap *arg1 = (wxBitmap *) 0 ;
3207 wxRect *arg2 = 0 ;
3208 SwigValueWrapper< wxBitmap > result;
3209 wxRect temp2 ;
3210 PyObject * obj0 = 0 ;
3211 PyObject * obj1 = 0 ;
3212 char *kwnames[] = {
3213 (char *) "self",(char *) "rect", NULL
3214 };
3215
3216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_GetSubBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3219 {
3220 arg2 = &temp2;
3221 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3222 }
3223 {
3224 PyThreadState* __tstate = wxPyBeginAllowThreads();
3225 result = ((wxBitmap const *)arg1)->GetSubBitmap((wxRect const &)*arg2);
3226
3227 wxPyEndAllowThreads(__tstate);
3228 if (PyErr_Occurred()) SWIG_fail;
3229 }
3230 {
3231 wxBitmap * resultptr;
3232 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 3233 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
3234 }
3235 return resultobj;
3236 fail:
3237 return NULL;
3238}
3239
3240
c32bde28 3241static PyObject *_wrap_Bitmap_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3242 PyObject *resultobj;
3243 wxBitmap *arg1 = (wxBitmap *) 0 ;
3244 wxString *arg2 = 0 ;
3245 int arg3 ;
66c033b4 3246 wxPalette *arg4 = (wxPalette *) NULL ;
d14a1e28 3247 bool result;
ae8162c8 3248 bool temp2 = false ;
d14a1e28
RD
3249 PyObject * obj0 = 0 ;
3250 PyObject * obj1 = 0 ;
994141e6 3251 PyObject * obj2 = 0 ;
d14a1e28
RD
3252 PyObject * obj3 = 0 ;
3253 char *kwnames[] = {
3254 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3255 };
3256
994141e6 3257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Bitmap_SaveFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
3258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3260 {
3261 arg2 = wxString_in_helper(obj1);
3262 if (arg2 == NULL) SWIG_fail;
ae8162c8 3263 temp2 = true;
d14a1e28 3264 }
c32bde28 3265 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 3266 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3267 if (obj3) {
15afbcd0
RD
3268 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxPalette,
3269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3270 }
3271 {
3272 PyThreadState* __tstate = wxPyBeginAllowThreads();
3273 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxBitmapType )arg3,arg4);
3274
3275 wxPyEndAllowThreads(__tstate);
3276 if (PyErr_Occurred()) SWIG_fail;
3277 }
4f89f6a3
RD
3278 {
3279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3280 }
d14a1e28
RD
3281 {
3282 if (temp2)
3283 delete arg2;
3284 }
3285 return resultobj;
3286 fail:
3287 {
3288 if (temp2)
3289 delete arg2;
3290 }
3291 return NULL;
3292}
3293
3294
c32bde28 3295static PyObject *_wrap_Bitmap_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3296 PyObject *resultobj;
3297 wxBitmap *arg1 = (wxBitmap *) 0 ;
3298 wxString *arg2 = 0 ;
3299 int arg3 ;
3300 bool result;
ae8162c8 3301 bool temp2 = false ;
d14a1e28
RD
3302 PyObject * obj0 = 0 ;
3303 PyObject * obj1 = 0 ;
994141e6 3304 PyObject * obj2 = 0 ;
d14a1e28
RD
3305 char *kwnames[] = {
3306 (char *) "self",(char *) "name",(char *) "type", NULL
3307 };
3308
994141e6 3309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Bitmap_LoadFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3312 {
3313 arg2 = wxString_in_helper(obj1);
3314 if (arg2 == NULL) SWIG_fail;
ae8162c8 3315 temp2 = true;
d14a1e28 3316 }
c32bde28 3317 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 3318 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3319 {
3320 PyThreadState* __tstate = wxPyBeginAllowThreads();
3321 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxBitmapType )arg3);
3322
3323 wxPyEndAllowThreads(__tstate);
3324 if (PyErr_Occurred()) SWIG_fail;
3325 }
4f89f6a3
RD
3326 {
3327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3328 }
d14a1e28
RD
3329 {
3330 if (temp2)
3331 delete arg2;
3332 }
3333 return resultobj;
3334 fail:
3335 {
3336 if (temp2)
3337 delete arg2;
3338 }
3339 return NULL;
3340}
3341
3342
c32bde28 3343static PyObject *_wrap_Bitmap_CopyFromIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3344 PyObject *resultobj;
3345 wxBitmap *arg1 = (wxBitmap *) 0 ;
3346 wxIcon *arg2 = 0 ;
3347 bool result;
3348 PyObject * obj0 = 0 ;
3349 PyObject * obj1 = 0 ;
3350 char *kwnames[] = {
3351 (char *) "self",(char *) "icon", NULL
3352 };
3353
3354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_CopyFromIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3357 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
3358 SWIG_POINTER_EXCEPTION | 0)) == -1)
3359 SWIG_fail;
d14a1e28 3360 if (arg2 == NULL) {
15afbcd0
RD
3361 PyErr_SetString(PyExc_TypeError,"null reference");
3362 SWIG_fail;
d14a1e28
RD
3363 }
3364 {
3365 PyThreadState* __tstate = wxPyBeginAllowThreads();
3366 result = (bool)(arg1)->CopyFromIcon((wxIcon const &)*arg2);
3367
3368 wxPyEndAllowThreads(__tstate);
3369 if (PyErr_Occurred()) SWIG_fail;
3370 }
4f89f6a3
RD
3371 {
3372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3373 }
d14a1e28
RD
3374 return resultobj;
3375 fail:
3376 return NULL;
3377}
3378
3379
c32bde28 3380static PyObject *_wrap_Bitmap_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3381 PyObject *resultobj;
3382 wxBitmap *arg1 = (wxBitmap *) 0 ;
3383 int arg2 ;
3384 PyObject * obj0 = 0 ;
994141e6 3385 PyObject * obj1 = 0 ;
d14a1e28
RD
3386 char *kwnames[] = {
3387 (char *) "self",(char *) "height", NULL
3388 };
3389
994141e6 3390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3393 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3394 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3395 {
3396 PyThreadState* __tstate = wxPyBeginAllowThreads();
3397 (arg1)->SetHeight(arg2);
3398
3399 wxPyEndAllowThreads(__tstate);
3400 if (PyErr_Occurred()) SWIG_fail;
3401 }
3402 Py_INCREF(Py_None); resultobj = Py_None;
3403 return resultobj;
3404 fail:
3405 return NULL;
3406}
3407
3408
c32bde28 3409static PyObject *_wrap_Bitmap_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3410 PyObject *resultobj;
3411 wxBitmap *arg1 = (wxBitmap *) 0 ;
3412 int arg2 ;
3413 PyObject * obj0 = 0 ;
994141e6 3414 PyObject * obj1 = 0 ;
d14a1e28
RD
3415 char *kwnames[] = {
3416 (char *) "self",(char *) "width", NULL
3417 };
3418
994141e6 3419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3422 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3423 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3424 {
3425 PyThreadState* __tstate = wxPyBeginAllowThreads();
3426 (arg1)->SetWidth(arg2);
3427
3428 wxPyEndAllowThreads(__tstate);
3429 if (PyErr_Occurred()) SWIG_fail;
3430 }
3431 Py_INCREF(Py_None); resultobj = Py_None;
3432 return resultobj;
3433 fail:
3434 return NULL;
3435}
3436
3437
c32bde28 3438static PyObject *_wrap_Bitmap_SetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3439 PyObject *resultobj;
3440 wxBitmap *arg1 = (wxBitmap *) 0 ;
3441 int arg2 ;
3442 PyObject * obj0 = 0 ;
994141e6 3443 PyObject * obj1 = 0 ;
d14a1e28
RD
3444 char *kwnames[] = {
3445 (char *) "self",(char *) "depth", NULL
3446 };
3447
994141e6 3448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetDepth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3451 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3452 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3453 {
3454 PyThreadState* __tstate = wxPyBeginAllowThreads();
3455 (arg1)->SetDepth(arg2);
3456
3457 wxPyEndAllowThreads(__tstate);
3458 if (PyErr_Occurred()) SWIG_fail;
3459 }
3460 Py_INCREF(Py_None); resultobj = Py_None;
3461 return resultobj;
3462 fail:
3463 return NULL;
3464}
3465
3466
c32bde28 3467static PyObject *_wrap_Bitmap_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
b2df227b
RD
3468 PyObject *resultobj;
3469 wxBitmap *arg1 = (wxBitmap *) 0 ;
3470 wxSize *arg2 = 0 ;
3471 wxSize temp2 ;
3472 PyObject * obj0 = 0 ;
3473 PyObject * obj1 = 0 ;
3474 char *kwnames[] = {
3475 (char *) "self",(char *) "size", NULL
3476 };
3477
3478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetSize",kwnames,&obj0,&obj1)) goto fail;
3479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3481 {
3482 arg2 = &temp2;
3483 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3484 }
3485 {
3486 PyThreadState* __tstate = wxPyBeginAllowThreads();
3487 wxBitmap_SetSize(arg1,(wxSize const &)*arg2);
3488
3489 wxPyEndAllowThreads(__tstate);
3490 if (PyErr_Occurred()) SWIG_fail;
3491 }
3492 Py_INCREF(Py_None); resultobj = Py_None;
3493 return resultobj;
3494 fail:
3495 return NULL;
3496}
3497
3498
c32bde28 3499static PyObject *_wrap_Bitmap___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
3500 PyObject *resultobj;
3501 wxBitmap *arg1 = (wxBitmap *) 0 ;
3502 wxBitmap *arg2 = (wxBitmap *) 0 ;
3503 bool result;
3504 PyObject * obj0 = 0 ;
3505 PyObject * obj1 = 0 ;
3506 char *kwnames[] = {
3507 (char *) "self",(char *) "other", NULL
3508 };
3509
3510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap___eq__",kwnames,&obj0,&obj1)) goto fail;
3511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3513 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
3514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3515 {
3516 PyThreadState* __tstate = wxPyBeginAllowThreads();
3517 result = (bool)wxBitmap___eq__(arg1,(wxBitmap const *)arg2);
3518
3519 wxPyEndAllowThreads(__tstate);
3520 if (PyErr_Occurred()) SWIG_fail;
3521 }
4f89f6a3
RD
3522 {
3523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3524 }
4276dc52
RD
3525 return resultobj;
3526 fail:
3527 return NULL;
3528}
3529
3530
c32bde28 3531static PyObject *_wrap_Bitmap___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
3532 PyObject *resultobj;
3533 wxBitmap *arg1 = (wxBitmap *) 0 ;
3534 wxBitmap *arg2 = (wxBitmap *) 0 ;
3535 bool result;
3536 PyObject * obj0 = 0 ;
3537 PyObject * obj1 = 0 ;
3538 char *kwnames[] = {
3539 (char *) "self",(char *) "other", NULL
3540 };
3541
3542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap___ne__",kwnames,&obj0,&obj1)) goto fail;
3543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3545 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
3546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3547 {
3548 PyThreadState* __tstate = wxPyBeginAllowThreads();
3549 result = (bool)wxBitmap___ne__(arg1,(wxBitmap const *)arg2);
3550
3551 wxPyEndAllowThreads(__tstate);
3552 if (PyErr_Occurred()) SWIG_fail;
3553 }
4f89f6a3
RD
3554 {
3555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3556 }
4276dc52
RD
3557 return resultobj;
3558 fail:
3559 return NULL;
3560}
3561
3562
c32bde28 3563static PyObject * Bitmap_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3564 PyObject *obj;
3565 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3566 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap, obj);
3567 Py_INCREF(obj);
3568 return Py_BuildValue((char *)"");
3569}
c32bde28 3570static PyObject *_wrap_new_Mask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3571 PyObject *resultobj;
3572 wxBitmap *arg1 = 0 ;
0482c494
RD
3573 wxColour const &arg2_defvalue = wxNullColour ;
3574 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
d14a1e28
RD
3575 wxMask *result;
3576 wxColour temp2 ;
3577 PyObject * obj0 = 0 ;
3578 PyObject * obj1 = 0 ;
3579 char *kwnames[] = {
3580 (char *) "bitmap",(char *) "colour", NULL
3581 };
3582
0482c494 3583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Mask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3585 SWIG_POINTER_EXCEPTION | 0)) == -1)
3586 SWIG_fail;
d14a1e28 3587 if (arg1 == NULL) {
15afbcd0
RD
3588 PyErr_SetString(PyExc_TypeError,"null reference");
3589 SWIG_fail;
d14a1e28 3590 }
0482c494
RD
3591 if (obj1) {
3592 {
3593 arg2 = &temp2;
3594 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3595 }
d14a1e28
RD
3596 }
3597 {
e3b71cb8 3598 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 3599 PyThreadState* __tstate = wxPyBeginAllowThreads();
0482c494 3600 result = (wxMask *)new_wxMask((wxBitmap const &)*arg1,(wxColour const &)*arg2);
d14a1e28
RD
3601
3602 wxPyEndAllowThreads(__tstate);
110da5b0 3603 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3604 }
15afbcd0 3605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMask, 1);
d14a1e28
RD
3606 return resultobj;
3607 fail:
3608 return NULL;
3609}
3610
3611
c32bde28 3612static PyObject * Mask_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3613 PyObject *obj;
3614 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3615 SWIG_TypeClientData(SWIGTYPE_p_wxMask, obj);
3616 Py_INCREF(obj);
3617 return Py_BuildValue((char *)"");
3618}
c32bde28 3619static PyObject *_wrap_new_Icon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3620 PyObject *resultobj;
3621 wxString *arg1 = 0 ;
f87da722 3622 int arg2 ;
d14a1e28
RD
3623 int arg3 = (int) -1 ;
3624 int arg4 = (int) -1 ;
3625 wxIcon *result;
ae8162c8 3626 bool temp1 = false ;
d14a1e28 3627 PyObject * obj0 = 0 ;
994141e6
RD
3628 PyObject * obj1 = 0 ;
3629 PyObject * obj2 = 0 ;
3630 PyObject * obj3 = 0 ;
d14a1e28 3631 char *kwnames[] = {
f87da722 3632 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
d14a1e28
RD
3633 };
3634
994141e6 3635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_Icon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
3636 {
3637 arg1 = wxString_in_helper(obj0);
3638 if (arg1 == NULL) SWIG_fail;
ae8162c8 3639 temp1 = true;
d14a1e28 3640 }
c32bde28 3641 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3642 if (PyErr_Occurred()) SWIG_fail;
994141e6 3643 if (obj2) {
c32bde28 3644 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 3645 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3646 }
3647 if (obj3) {
c32bde28 3648 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 3649 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3650 }
3651 {
e3b71cb8 3652 if (!wxPyCheckForApp()) SWIG_fail;
994141e6
RD
3653 PyThreadState* __tstate = wxPyBeginAllowThreads();
3654 result = (wxIcon *)new wxIcon((wxString const &)*arg1,(wxBitmapType )arg2,arg3,arg4);
3655
3656 wxPyEndAllowThreads(__tstate);
110da5b0 3657 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3658 }
15afbcd0 3659 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
3660 {
3661 if (temp1)
3662 delete arg1;
3663 }
3664 return resultobj;
3665 fail:
3666 {
3667 if (temp1)
3668 delete arg1;
3669 }
3670 return NULL;
3671}
3672
3673
c32bde28 3674static PyObject *_wrap_delete_Icon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3675 PyObject *resultobj;
3676 wxIcon *arg1 = (wxIcon *) 0 ;
3677 PyObject * obj0 = 0 ;
3678 char *kwnames[] = {
3679 (char *) "self", NULL
3680 };
3681
3682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Icon",kwnames,&obj0)) goto fail;
15afbcd0
RD
3683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3685 {
3686 PyThreadState* __tstate = wxPyBeginAllowThreads();
3687 delete arg1;
3688
3689 wxPyEndAllowThreads(__tstate);
3690 if (PyErr_Occurred()) SWIG_fail;
3691 }
3692 Py_INCREF(Py_None); resultobj = Py_None;
3693 return resultobj;
3694 fail:
3695 return NULL;
3696}
3697
3698
c32bde28 3699static PyObject *_wrap_new_EmptyIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3700 PyObject *resultobj;
3701 wxIcon *result;
3702 char *kwnames[] = {
3703 NULL
3704 };
3705
3706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EmptyIcon",kwnames)) goto fail;
3707 {
e3b71cb8 3708 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3709 PyThreadState* __tstate = wxPyBeginAllowThreads();
3710 result = (wxIcon *)new wxIcon();
3711
3712 wxPyEndAllowThreads(__tstate);
110da5b0 3713 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3714 }
15afbcd0 3715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
3716 return resultobj;
3717 fail:
3718 return NULL;
3719}
3720
3721
c32bde28 3722static PyObject *_wrap_new_IconFromLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3723 PyObject *resultobj;
3724 wxIconLocation *arg1 = 0 ;
3725 wxIcon *result;
3726 PyObject * obj0 = 0 ;
3727 char *kwnames[] = {
3728 (char *) "loc", NULL
3729 };
3730
3731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconFromLocation",kwnames,&obj0)) goto fail;
15afbcd0
RD
3732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
3733 SWIG_POINTER_EXCEPTION | 0)) == -1)
3734 SWIG_fail;
d14a1e28 3735 if (arg1 == NULL) {
15afbcd0
RD
3736 PyErr_SetString(PyExc_TypeError,"null reference");
3737 SWIG_fail;
d14a1e28
RD
3738 }
3739 {
e3b71cb8 3740 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3741 PyThreadState* __tstate = wxPyBeginAllowThreads();
3742 result = (wxIcon *)new wxIcon((wxIconLocation const &)*arg1);
3743
3744 wxPyEndAllowThreads(__tstate);
110da5b0 3745 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3746 }
15afbcd0 3747 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
3748 return resultobj;
3749 fail:
3750 return NULL;
3751}
3752
3753
c32bde28 3754static PyObject *_wrap_new_IconFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3755 PyObject *resultobj;
3756 wxBitmap *arg1 = 0 ;
3757 wxIcon *result;
3758 PyObject * obj0 = 0 ;
3759 char *kwnames[] = {
3760 (char *) "bmp", NULL
3761 };
3762
3763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconFromBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
3764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3765 SWIG_POINTER_EXCEPTION | 0)) == -1)
3766 SWIG_fail;
d14a1e28 3767 if (arg1 == NULL) {
15afbcd0
RD
3768 PyErr_SetString(PyExc_TypeError,"null reference");
3769 SWIG_fail;
d14a1e28
RD
3770 }
3771 {
e3b71cb8 3772 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3773 PyThreadState* __tstate = wxPyBeginAllowThreads();
3774 result = (wxIcon *)new_wxIcon((wxBitmap const &)*arg1);
3775
3776 wxPyEndAllowThreads(__tstate);
110da5b0 3777 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3778 }
15afbcd0 3779 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
3780 return resultobj;
3781 fail:
3782 return NULL;
3783}
3784
3785
c32bde28 3786static PyObject *_wrap_new_IconFromXPMData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3787 PyObject *resultobj;
3788 PyObject *arg1 = (PyObject *) 0 ;
3789 wxIcon *result;
3790 PyObject * obj0 = 0 ;
3791 char *kwnames[] = {
3792 (char *) "listOfStrings", NULL
3793 };
3794
3795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconFromXPMData",kwnames,&obj0)) goto fail;
3796 arg1 = obj0;
3797 {
e3b71cb8 3798 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3799 PyThreadState* __tstate = wxPyBeginAllowThreads();
3800 result = (wxIcon *)new_wxIcon(arg1);
3801
3802 wxPyEndAllowThreads(__tstate);
110da5b0 3803 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3804 }
15afbcd0 3805 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
3806 return resultobj;
3807 fail:
3808 return NULL;
3809}
3810
3811
c32bde28 3812static PyObject *_wrap_Icon_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3813 PyObject *resultobj;
3814 wxIcon *arg1 = (wxIcon *) 0 ;
3815 wxString *arg2 = 0 ;
f87da722 3816 int arg3 ;
d14a1e28 3817 bool result;
ae8162c8 3818 bool temp2 = false ;
d14a1e28
RD
3819 PyObject * obj0 = 0 ;
3820 PyObject * obj1 = 0 ;
994141e6 3821 PyObject * obj2 = 0 ;
d14a1e28 3822 char *kwnames[] = {
f87da722 3823 (char *) "self",(char *) "name",(char *) "type", NULL
d14a1e28
RD
3824 };
3825
994141e6 3826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Icon_LoadFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3829 {
3830 arg2 = wxString_in_helper(obj1);
3831 if (arg2 == NULL) SWIG_fail;
ae8162c8 3832 temp2 = true;
d14a1e28 3833 }
c32bde28 3834 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 3835 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3836 {
3837 PyThreadState* __tstate = wxPyBeginAllowThreads();
f87da722 3838 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxBitmapType )arg3);
d14a1e28
RD
3839
3840 wxPyEndAllowThreads(__tstate);
3841 if (PyErr_Occurred()) SWIG_fail;
3842 }
4f89f6a3
RD
3843 {
3844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3845 }
d14a1e28
RD
3846 {
3847 if (temp2)
3848 delete arg2;
3849 }
3850 return resultobj;
3851 fail:
3852 {
3853 if (temp2)
3854 delete arg2;
3855 }
3856 return NULL;
3857}
3858
3859
c32bde28 3860static PyObject *_wrap_Icon_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3861 PyObject *resultobj;
3862 wxIcon *arg1 = (wxIcon *) 0 ;
3863 bool result;
3864 PyObject * obj0 = 0 ;
3865 char *kwnames[] = {
3866 (char *) "self", NULL
3867 };
3868
3869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
3870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3872 {
3873 PyThreadState* __tstate = wxPyBeginAllowThreads();
3874 result = (bool)(arg1)->Ok();
3875
3876 wxPyEndAllowThreads(__tstate);
3877 if (PyErr_Occurred()) SWIG_fail;
3878 }
4f89f6a3
RD
3879 {
3880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3881 }
d14a1e28
RD
3882 return resultobj;
3883 fail:
3884 return NULL;
3885}
3886
3887
c32bde28 3888static PyObject *_wrap_Icon_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3889 PyObject *resultobj;
3890 wxIcon *arg1 = (wxIcon *) 0 ;
3891 int result;
3892 PyObject * obj0 = 0 ;
3893 char *kwnames[] = {
3894 (char *) "self", NULL
3895 };
3896
3897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
3898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3900 {
3901 PyThreadState* __tstate = wxPyBeginAllowThreads();
3902 result = (int)(arg1)->GetWidth();
3903
3904 wxPyEndAllowThreads(__tstate);
3905 if (PyErr_Occurred()) SWIG_fail;
3906 }
c32bde28 3907 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
3908 return resultobj;
3909 fail:
3910 return NULL;
3911}
3912
3913
c32bde28 3914static PyObject *_wrap_Icon_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3915 PyObject *resultobj;
3916 wxIcon *arg1 = (wxIcon *) 0 ;
3917 int result;
3918 PyObject * obj0 = 0 ;
3919 char *kwnames[] = {
3920 (char *) "self", NULL
3921 };
3922
3923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
3924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3926 {
3927 PyThreadState* __tstate = wxPyBeginAllowThreads();
3928 result = (int)(arg1)->GetHeight();
3929
3930 wxPyEndAllowThreads(__tstate);
3931 if (PyErr_Occurred()) SWIG_fail;
3932 }
c32bde28 3933 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
3934 return resultobj;
3935 fail:
3936 return NULL;
3937}
3938
3939
c32bde28 3940static PyObject *_wrap_Icon_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3941 PyObject *resultobj;
3942 wxIcon *arg1 = (wxIcon *) 0 ;
3943 int result;
3944 PyObject * obj0 = 0 ;
3945 char *kwnames[] = {
3946 (char *) "self", NULL
3947 };
3948
3949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_GetDepth",kwnames,&obj0)) goto fail;
15afbcd0
RD
3950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3952 {
3953 PyThreadState* __tstate = wxPyBeginAllowThreads();
3954 result = (int)(arg1)->GetDepth();
3955
3956 wxPyEndAllowThreads(__tstate);
3957 if (PyErr_Occurred()) SWIG_fail;
3958 }
c32bde28 3959 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
3960 return resultobj;
3961 fail:
3962 return NULL;
3963}
3964
3965
c32bde28 3966static PyObject *_wrap_Icon_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3967 PyObject *resultobj;
3968 wxIcon *arg1 = (wxIcon *) 0 ;
3969 int arg2 ;
3970 PyObject * obj0 = 0 ;
994141e6 3971 PyObject * obj1 = 0 ;
d14a1e28
RD
3972 char *kwnames[] = {
3973 (char *) "self",(char *) "w", NULL
3974 };
3975
994141e6 3976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3979 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3980 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3981 {
3982 PyThreadState* __tstate = wxPyBeginAllowThreads();
3983 (arg1)->SetWidth(arg2);
3984
3985 wxPyEndAllowThreads(__tstate);
3986 if (PyErr_Occurred()) SWIG_fail;
3987 }
3988 Py_INCREF(Py_None); resultobj = Py_None;
3989 return resultobj;
3990 fail:
3991 return NULL;
3992}
3993
3994
c32bde28 3995static PyObject *_wrap_Icon_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3996 PyObject *resultobj;
3997 wxIcon *arg1 = (wxIcon *) 0 ;
3998 int arg2 ;
3999 PyObject * obj0 = 0 ;
994141e6 4000 PyObject * obj1 = 0 ;
d14a1e28
RD
4001 char *kwnames[] = {
4002 (char *) "self",(char *) "h", NULL
4003 };
4004
994141e6 4005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_SetHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
4007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4008 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4009 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4010 {
4011 PyThreadState* __tstate = wxPyBeginAllowThreads();
4012 (arg1)->SetHeight(arg2);
4013
4014 wxPyEndAllowThreads(__tstate);
4015 if (PyErr_Occurred()) SWIG_fail;
4016 }
4017 Py_INCREF(Py_None); resultobj = Py_None;
4018 return resultobj;
4019 fail:
4020 return NULL;
4021}
4022
4023
c32bde28 4024static PyObject *_wrap_Icon_SetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4025 PyObject *resultobj;
4026 wxIcon *arg1 = (wxIcon *) 0 ;
4027 int arg2 ;
4028 PyObject * obj0 = 0 ;
994141e6 4029 PyObject * obj1 = 0 ;
d14a1e28
RD
4030 char *kwnames[] = {
4031 (char *) "self",(char *) "d", NULL
4032 };
4033
994141e6 4034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_SetDepth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
4036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4037 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4038 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4039 {
4040 PyThreadState* __tstate = wxPyBeginAllowThreads();
4041 (arg1)->SetDepth(arg2);
4042
4043 wxPyEndAllowThreads(__tstate);
4044 if (PyErr_Occurred()) SWIG_fail;
4045 }
4046 Py_INCREF(Py_None); resultobj = Py_None;
4047 return resultobj;
4048 fail:
4049 return NULL;
4050}
4051
4052
c32bde28 4053static PyObject *_wrap_Icon_CopyFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4054 PyObject *resultobj;
4055 wxIcon *arg1 = (wxIcon *) 0 ;
4056 wxBitmap *arg2 = 0 ;
4057 PyObject * obj0 = 0 ;
4058 PyObject * obj1 = 0 ;
4059 char *kwnames[] = {
4060 (char *) "self",(char *) "bmp", NULL
4061 };
4062
4063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_CopyFromBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
4065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4066 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4067 SWIG_POINTER_EXCEPTION | 0)) == -1)
4068 SWIG_fail;
d14a1e28 4069 if (arg2 == NULL) {
15afbcd0
RD
4070 PyErr_SetString(PyExc_TypeError,"null reference");
4071 SWIG_fail;
d14a1e28
RD
4072 }
4073 {
4074 PyThreadState* __tstate = wxPyBeginAllowThreads();
4075 (arg1)->CopyFromBitmap((wxBitmap const &)*arg2);
4076
4077 wxPyEndAllowThreads(__tstate);
4078 if (PyErr_Occurred()) SWIG_fail;
4079 }
4080 Py_INCREF(Py_None); resultobj = Py_None;
4081 return resultobj;
4082 fail:
4083 return NULL;
4084}
4085
4086
c32bde28 4087static PyObject * Icon_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4088 PyObject *obj;
4089 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4090 SWIG_TypeClientData(SWIGTYPE_p_wxIcon, obj);
4091 Py_INCREF(obj);
4092 return Py_BuildValue((char *)"");
4093}
c32bde28 4094static PyObject *_wrap_new_IconLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4095 PyObject *resultobj;
4096 wxString *arg1 = (wxString *) &wxPyEmptyString ;
4097 int arg2 = (int) 0 ;
4098 wxIconLocation *result;
ae8162c8 4099 bool temp1 = false ;
d14a1e28 4100 PyObject * obj0 = 0 ;
994141e6 4101 PyObject * obj1 = 0 ;
d14a1e28
RD
4102 char *kwnames[] = {
4103 (char *) "filename",(char *) "num", NULL
4104 };
4105
994141e6 4106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconLocation",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 4107 if (obj0) {
7eae615b
RD
4108 {
4109 arg1 = wxString_in_helper(obj0);
4110 if (arg1 == NULL) SWIG_fail;
ae8162c8 4111 temp1 = true;
7eae615b 4112 }
d14a1e28 4113 }
994141e6 4114 if (obj1) {
c32bde28 4115 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4116 if (PyErr_Occurred()) SWIG_fail;
994141e6 4117 }
d14a1e28
RD
4118 {
4119 PyThreadState* __tstate = wxPyBeginAllowThreads();
4120 result = (wxIconLocation *)new_wxIconLocation((wxString const *)arg1,arg2);
4121
4122 wxPyEndAllowThreads(__tstate);
4123 if (PyErr_Occurred()) SWIG_fail;
4124 }
15afbcd0 4125 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconLocation, 1);
7eae615b
RD
4126 {
4127 if (temp1)
4128 delete arg1;
4129 }
d14a1e28
RD
4130 return resultobj;
4131 fail:
7eae615b
RD
4132 {
4133 if (temp1)
4134 delete arg1;
4135 }
d14a1e28
RD
4136 return NULL;
4137}
4138
4139
c32bde28 4140static PyObject *_wrap_delete_IconLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4141 PyObject *resultobj;
4142 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4143 PyObject * obj0 = 0 ;
4144 char *kwnames[] = {
4145 (char *) "self", NULL
4146 };
4147
4148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_IconLocation",kwnames,&obj0)) goto fail;
15afbcd0
RD
4149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4151 {
4152 PyThreadState* __tstate = wxPyBeginAllowThreads();
4153 delete arg1;
4154
4155 wxPyEndAllowThreads(__tstate);
4156 if (PyErr_Occurred()) SWIG_fail;
4157 }
4158 Py_INCREF(Py_None); resultobj = Py_None;
4159 return resultobj;
4160 fail:
4161 return NULL;
4162}
4163
4164
c32bde28 4165static PyObject *_wrap_IconLocation_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4166 PyObject *resultobj;
4167 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4168 bool result;
4169 PyObject * obj0 = 0 ;
4170 char *kwnames[] = {
4171 (char *) "self", NULL
4172 };
4173
4174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconLocation_IsOk",kwnames,&obj0)) goto fail;
15afbcd0
RD
4175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4177 {
4178 PyThreadState* __tstate = wxPyBeginAllowThreads();
4179 result = (bool)((wxIconLocation const *)arg1)->IsOk();
4180
4181 wxPyEndAllowThreads(__tstate);
4182 if (PyErr_Occurred()) SWIG_fail;
4183 }
4f89f6a3
RD
4184 {
4185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4186 }
d14a1e28
RD
4187 return resultobj;
4188 fail:
4189 return NULL;
4190}
4191
4192
c32bde28 4193static PyObject *_wrap_IconLocation_SetFileName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4194 PyObject *resultobj;
4195 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4196 wxString *arg2 = 0 ;
ae8162c8 4197 bool temp2 = false ;
d14a1e28
RD
4198 PyObject * obj0 = 0 ;
4199 PyObject * obj1 = 0 ;
4200 char *kwnames[] = {
4201 (char *) "self",(char *) "filename", NULL
4202 };
4203
4204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconLocation_SetFileName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4207 {
4208 arg2 = wxString_in_helper(obj1);
4209 if (arg2 == NULL) SWIG_fail;
ae8162c8 4210 temp2 = true;
d14a1e28
RD
4211 }
4212 {
4213 PyThreadState* __tstate = wxPyBeginAllowThreads();
4214 (arg1)->SetFileName((wxString const &)*arg2);
4215
4216 wxPyEndAllowThreads(__tstate);
4217 if (PyErr_Occurred()) SWIG_fail;
4218 }
4219 Py_INCREF(Py_None); resultobj = Py_None;
4220 {
4221 if (temp2)
4222 delete arg2;
4223 }
4224 return resultobj;
4225 fail:
4226 {
4227 if (temp2)
4228 delete arg2;
4229 }
4230 return NULL;
4231}
4232
4233
c32bde28 4234static PyObject *_wrap_IconLocation_GetFileName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4235 PyObject *resultobj;
4236 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4237 wxString *result;
4238 PyObject * obj0 = 0 ;
4239 char *kwnames[] = {
4240 (char *) "self", NULL
4241 };
4242
4243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconLocation_GetFileName",kwnames,&obj0)) goto fail;
15afbcd0
RD
4244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4246 {
4247 PyThreadState* __tstate = wxPyBeginAllowThreads();
4248 {
4249 wxString const &_result_ref = ((wxIconLocation const *)arg1)->GetFileName();
4250 result = (wxString *) &_result_ref;
4251 }
4252
4253 wxPyEndAllowThreads(__tstate);
4254 if (PyErr_Occurred()) SWIG_fail;
4255 }
cc6dd355
RD
4256 {
4257#if wxUSE_UNICODE
4258 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4259#else
4260 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4261#endif
4262 }
d14a1e28
RD
4263 return resultobj;
4264 fail:
4265 return NULL;
4266}
4267
4268
c32bde28 4269static PyObject *_wrap_IconLocation_SetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4270 PyObject *resultobj;
4271 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4272 int arg2 ;
4273 PyObject * obj0 = 0 ;
994141e6 4274 PyObject * obj1 = 0 ;
d14a1e28
RD
4275 char *kwnames[] = {
4276 (char *) "self",(char *) "num", NULL
4277 };
4278
994141e6 4279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconLocation_SetIndex",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4282 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4283 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4284 {
4285 PyThreadState* __tstate = wxPyBeginAllowThreads();
4286 wxIconLocation_SetIndex(arg1,arg2);
4287
4288 wxPyEndAllowThreads(__tstate);
4289 if (PyErr_Occurred()) SWIG_fail;
4290 }
4291 Py_INCREF(Py_None); resultobj = Py_None;
4292 return resultobj;
4293 fail:
4294 return NULL;
4295}
4296
4297
c32bde28 4298static PyObject *_wrap_IconLocation_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4299 PyObject *resultobj;
4300 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4301 int result;
4302 PyObject * obj0 = 0 ;
4303 char *kwnames[] = {
4304 (char *) "self", NULL
4305 };
4306
4307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconLocation_GetIndex",kwnames,&obj0)) goto fail;
15afbcd0
RD
4308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4310 {
4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
4312 result = (int)wxIconLocation_GetIndex(arg1);
4313
4314 wxPyEndAllowThreads(__tstate);
4315 if (PyErr_Occurred()) SWIG_fail;
4316 }
c32bde28 4317 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4318 return resultobj;
4319 fail:
4320 return NULL;
4321}
4322
4323
c32bde28 4324static PyObject * IconLocation_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4325 PyObject *obj;
4326 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4327 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation, obj);
4328 Py_INCREF(obj);
4329 return Py_BuildValue((char *)"");
4330}
c32bde28 4331static PyObject *_wrap_new_IconBundle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4332 PyObject *resultobj;
4333 wxIconBundle *result;
4334 char *kwnames[] = {
4335 NULL
4336 };
4337
4338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IconBundle",kwnames)) goto fail;
4339 {
4340 PyThreadState* __tstate = wxPyBeginAllowThreads();
4341 result = (wxIconBundle *)new wxIconBundle();
4342
4343 wxPyEndAllowThreads(__tstate);
4344 if (PyErr_Occurred()) SWIG_fail;
4345 }
15afbcd0 4346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconBundle, 1);
d14a1e28
RD
4347 return resultobj;
4348 fail:
4349 return NULL;
4350}
4351
4352
c32bde28 4353static PyObject *_wrap_new_IconBundleFromFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4354 PyObject *resultobj;
4355 wxString *arg1 = 0 ;
4356 long arg2 ;
4357 wxIconBundle *result;
ae8162c8 4358 bool temp1 = false ;
d14a1e28 4359 PyObject * obj0 = 0 ;
994141e6 4360 PyObject * obj1 = 0 ;
d14a1e28
RD
4361 char *kwnames[] = {
4362 (char *) "file",(char *) "type", NULL
4363 };
4364
994141e6 4365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_IconBundleFromFile",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
4366 {
4367 arg1 = wxString_in_helper(obj0);
4368 if (arg1 == NULL) SWIG_fail;
ae8162c8 4369 temp1 = true;
d14a1e28 4370 }
c32bde28 4371 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 4372 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4373 {
4374 PyThreadState* __tstate = wxPyBeginAllowThreads();
4375 result = (wxIconBundle *)new wxIconBundle((wxString const &)*arg1,arg2);
4376
4377 wxPyEndAllowThreads(__tstate);
4378 if (PyErr_Occurred()) SWIG_fail;
4379 }
15afbcd0 4380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconBundle, 1);
d14a1e28
RD
4381 {
4382 if (temp1)
4383 delete arg1;
4384 }
4385 return resultobj;
4386 fail:
4387 {
4388 if (temp1)
4389 delete arg1;
4390 }
4391 return NULL;
4392}
4393
4394
c32bde28 4395static PyObject *_wrap_new_IconBundleFromIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4396 PyObject *resultobj;
4397 wxIcon *arg1 = 0 ;
4398 wxIconBundle *result;
4399 PyObject * obj0 = 0 ;
4400 char *kwnames[] = {
4401 (char *) "icon", NULL
4402 };
4403
4404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconBundleFromIcon",kwnames,&obj0)) goto fail;
15afbcd0
RD
4405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
4406 SWIG_POINTER_EXCEPTION | 0)) == -1)
4407 SWIG_fail;
d14a1e28 4408 if (arg1 == NULL) {
15afbcd0
RD
4409 PyErr_SetString(PyExc_TypeError,"null reference");
4410 SWIG_fail;
d14a1e28
RD
4411 }
4412 {
4413 PyThreadState* __tstate = wxPyBeginAllowThreads();
4414 result = (wxIconBundle *)new wxIconBundle((wxIcon const &)*arg1);
4415
4416 wxPyEndAllowThreads(__tstate);
4417 if (PyErr_Occurred()) SWIG_fail;
4418 }
15afbcd0 4419 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconBundle, 1);
d14a1e28
RD
4420 return resultobj;
4421 fail:
4422 return NULL;
4423}
4424
4425
c32bde28 4426static PyObject *_wrap_delete_IconBundle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4427 PyObject *resultobj;
4428 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
4429 PyObject * obj0 = 0 ;
4430 char *kwnames[] = {
4431 (char *) "self", NULL
4432 };
4433
4434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_IconBundle",kwnames,&obj0)) goto fail;
15afbcd0
RD
4435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconBundle,
4436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4437 {
4438 PyThreadState* __tstate = wxPyBeginAllowThreads();
4439 delete arg1;
4440
4441 wxPyEndAllowThreads(__tstate);
4442 if (PyErr_Occurred()) SWIG_fail;
4443 }
4444 Py_INCREF(Py_None); resultobj = Py_None;
4445 return resultobj;
4446 fail:
4447 return NULL;
4448}
4449
4450
c32bde28 4451static PyObject *_wrap_IconBundle_AddIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4452 PyObject *resultobj;
4453 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
4454 wxIcon *arg2 = 0 ;
4455 PyObject * obj0 = 0 ;
4456 PyObject * obj1 = 0 ;
4457 char *kwnames[] = {
4458 (char *) "self",(char *) "icon", NULL
4459 };
4460
4461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconBundle_AddIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconBundle,
4463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4464 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
4465 SWIG_POINTER_EXCEPTION | 0)) == -1)
4466 SWIG_fail;
d14a1e28 4467 if (arg2 == NULL) {
15afbcd0
RD
4468 PyErr_SetString(PyExc_TypeError,"null reference");
4469 SWIG_fail;
d14a1e28
RD
4470 }
4471 {
4472 PyThreadState* __tstate = wxPyBeginAllowThreads();
4473 (arg1)->AddIcon((wxIcon const &)*arg2);
4474
4475 wxPyEndAllowThreads(__tstate);
4476 if (PyErr_Occurred()) SWIG_fail;
4477 }
4478 Py_INCREF(Py_None); resultobj = Py_None;
4479 return resultobj;
4480 fail:
4481 return NULL;
4482}
4483
4484
c32bde28 4485static PyObject *_wrap_IconBundle_AddIconFromFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4486 PyObject *resultobj;
4487 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
4488 wxString *arg2 = 0 ;
4489 long arg3 ;
ae8162c8 4490 bool temp2 = false ;
d14a1e28
RD
4491 PyObject * obj0 = 0 ;
4492 PyObject * obj1 = 0 ;
994141e6 4493 PyObject * obj2 = 0 ;
d14a1e28
RD
4494 char *kwnames[] = {
4495 (char *) "self",(char *) "file",(char *) "type", NULL
4496 };
4497
994141e6 4498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IconBundle_AddIconFromFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconBundle,
4500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4501 {
4502 arg2 = wxString_in_helper(obj1);
4503 if (arg2 == NULL) SWIG_fail;
ae8162c8 4504 temp2 = true;
d14a1e28 4505 }
c32bde28 4506 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 4507 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4508 {
4509 PyThreadState* __tstate = wxPyBeginAllowThreads();
4510 (arg1)->AddIcon((wxString const &)*arg2,arg3);
4511
4512 wxPyEndAllowThreads(__tstate);
4513 if (PyErr_Occurred()) SWIG_fail;
4514 }
4515 Py_INCREF(Py_None); resultobj = Py_None;
4516 {
4517 if (temp2)
4518 delete arg2;
4519 }
4520 return resultobj;
4521 fail:
4522 {
4523 if (temp2)
4524 delete arg2;
4525 }
4526 return NULL;
4527}
4528
4529
c32bde28 4530static PyObject *_wrap_IconBundle_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4531 PyObject *resultobj;
4532 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
4533 wxSize *arg2 = 0 ;
4534 wxIcon *result;
4535 wxSize temp2 ;
4536 PyObject * obj0 = 0 ;
4537 PyObject * obj1 = 0 ;
4538 char *kwnames[] = {
4539 (char *) "self",(char *) "size", NULL
4540 };
4541
4542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconBundle_GetIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconBundle,
4544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4545 {
4546 arg2 = &temp2;
4547 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4548 }
4549 {
4550 PyThreadState* __tstate = wxPyBeginAllowThreads();
4551 {
4552 wxIcon const &_result_ref = ((wxIconBundle const *)arg1)->GetIcon((wxSize const &)*arg2);
4553 result = (wxIcon *) &_result_ref;
4554 }
4555
4556 wxPyEndAllowThreads(__tstate);
4557 if (PyErr_Occurred()) SWIG_fail;
4558 }
4276dc52
RD
4559 {
4560 wxIcon* resultptr = new wxIcon(*result);
4561 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxIcon, 1);
4562 }
d14a1e28
RD
4563 return resultobj;
4564 fail:
4565 return NULL;
4566}
4567
4568
c32bde28 4569static PyObject * IconBundle_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4570 PyObject *obj;
4571 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4572 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle, obj);
4573 Py_INCREF(obj);
4574 return Py_BuildValue((char *)"");
4575}
c32bde28 4576static PyObject *_wrap_new_Cursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4577 PyObject *resultobj;
4578 wxString *arg1 = (wxString *) 0 ;
4579 long arg2 ;
4580 int arg3 = (int) 0 ;
4581 int arg4 = (int) 0 ;
4582 wxCursor *result;
ae8162c8 4583 bool temp1 = false ;
d14a1e28 4584 PyObject * obj0 = 0 ;
994141e6
RD
4585 PyObject * obj1 = 0 ;
4586 PyObject * obj2 = 0 ;
4587 PyObject * obj3 = 0 ;
d14a1e28 4588 char *kwnames[] = {
15afbcd0 4589 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
d14a1e28
RD
4590 };
4591
994141e6 4592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_Cursor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7eae615b
RD
4593 {
4594 arg1 = wxString_in_helper(obj0);
4595 if (arg1 == NULL) SWIG_fail;
ae8162c8 4596 temp1 = true;
7eae615b 4597 }
c32bde28 4598 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 4599 if (PyErr_Occurred()) SWIG_fail;
994141e6 4600 if (obj2) {
c32bde28 4601 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 4602 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4603 }
4604 if (obj3) {
c32bde28 4605 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 4606 if (PyErr_Occurred()) SWIG_fail;
994141e6 4607 }
d14a1e28 4608 {
e3b71cb8 4609 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4610 PyThreadState* __tstate = wxPyBeginAllowThreads();
4611 result = (wxCursor *)new_wxCursor((wxString const *)arg1,arg2,arg3,arg4);
4612
4613 wxPyEndAllowThreads(__tstate);
110da5b0 4614 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4615 }
15afbcd0 4616 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCursor, 1);
7eae615b
RD
4617 {
4618 if (temp1)
4619 delete arg1;
4620 }
d14a1e28
RD
4621 return resultobj;
4622 fail:
7eae615b
RD
4623 {
4624 if (temp1)
4625 delete arg1;
4626 }
d14a1e28
RD
4627 return NULL;
4628}
4629
4630
c32bde28 4631static PyObject *_wrap_delete_Cursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4632 PyObject *resultobj;
4633 wxCursor *arg1 = (wxCursor *) 0 ;
4634 PyObject * obj0 = 0 ;
4635 char *kwnames[] = {
4636 (char *) "self", NULL
4637 };
4638
4639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Cursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
4640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4642 {
4643 PyThreadState* __tstate = wxPyBeginAllowThreads();
4644 delete arg1;
4645
4646 wxPyEndAllowThreads(__tstate);
4647 if (PyErr_Occurred()) SWIG_fail;
4648 }
4649 Py_INCREF(Py_None); resultobj = Py_None;
4650 return resultobj;
4651 fail:
4652 return NULL;
4653}
4654
4655
c32bde28 4656static PyObject *_wrap_new_StockCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4657 PyObject *resultobj;
4658 int arg1 ;
4659 wxCursor *result;
994141e6 4660 PyObject * obj0 = 0 ;
d14a1e28
RD
4661 char *kwnames[] = {
4662 (char *) "id", NULL
4663 };
4664
994141e6 4665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_StockCursor",kwnames,&obj0)) goto fail;
c32bde28 4666 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 4667 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4668 {
e3b71cb8 4669 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4670 PyThreadState* __tstate = wxPyBeginAllowThreads();
4671 result = (wxCursor *)new wxCursor(arg1);
4672
4673 wxPyEndAllowThreads(__tstate);
110da5b0 4674 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4675 }
15afbcd0 4676 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCursor, 1);
d14a1e28
RD
4677 return resultobj;
4678 fail:
4679 return NULL;
4680}
4681
4682
c32bde28 4683static PyObject *_wrap_new_CursorFromImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4684 PyObject *resultobj;
4685 wxImage *arg1 = 0 ;
4686 wxCursor *result;
4687 PyObject * obj0 = 0 ;
4688 char *kwnames[] = {
4689 (char *) "image", NULL
4690 };
4691
4692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CursorFromImage",kwnames,&obj0)) goto fail;
15afbcd0
RD
4693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
4694 SWIG_POINTER_EXCEPTION | 0)) == -1)
4695 SWIG_fail;
d14a1e28 4696 if (arg1 == NULL) {
15afbcd0
RD
4697 PyErr_SetString(PyExc_TypeError,"null reference");
4698 SWIG_fail;
d14a1e28
RD
4699 }
4700 {
e3b71cb8 4701 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4702 PyThreadState* __tstate = wxPyBeginAllowThreads();
4703 result = (wxCursor *)new wxCursor((wxImage const &)*arg1);
4704
4705 wxPyEndAllowThreads(__tstate);
110da5b0 4706 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4707 }
15afbcd0 4708 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCursor, 1);
d14a1e28
RD
4709 return resultobj;
4710 fail:
4711 return NULL;
4712}
4713
4714
c32bde28 4715static PyObject *_wrap_Cursor_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4716 PyObject *resultobj;
4717 wxCursor *arg1 = (wxCursor *) 0 ;
4718 bool result;
4719 PyObject * obj0 = 0 ;
4720 char *kwnames[] = {
4721 (char *) "self", NULL
4722 };
4723
4724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Cursor_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
4725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4727 {
4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
4729 result = (bool)(arg1)->Ok();
4730
4731 wxPyEndAllowThreads(__tstate);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 }
4f89f6a3
RD
4734 {
4735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4736 }
d14a1e28
RD
4737 return resultobj;
4738 fail:
4739 return NULL;
4740}
4741
4742
c32bde28 4743static PyObject * Cursor_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4744 PyObject *obj;
4745 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4746 SWIG_TypeClientData(SWIGTYPE_p_wxCursor, obj);
4747 Py_INCREF(obj);
4748 return Py_BuildValue((char *)"");
4749}
c32bde28 4750static PyObject *_wrap_new_Region(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 4751 PyObject *resultobj;
e811c8ce
RD
4752 int arg1 = (int) 0 ;
4753 int arg2 = (int) 0 ;
4754 int arg3 = (int) 0 ;
4755 int arg4 = (int) 0 ;
d14a1e28 4756 wxRegion *result;
994141e6
RD
4757 PyObject * obj0 = 0 ;
4758 PyObject * obj1 = 0 ;
4759 PyObject * obj2 = 0 ;
4760 PyObject * obj3 = 0 ;
d14a1e28
RD
4761 char *kwnames[] = {
4762 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4763 };
4764
994141e6
RD
4765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Region",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4766 if (obj0) {
c32bde28 4767 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 4768 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4769 }
4770 if (obj1) {
c32bde28 4771 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4772 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4773 }
4774 if (obj2) {
c32bde28 4775 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 4776 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4777 }
4778 if (obj3) {
c32bde28 4779 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 4780 if (PyErr_Occurred()) SWIG_fail;
994141e6 4781 }
d14a1e28 4782 {
e3b71cb8 4783 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4784 PyThreadState* __tstate = wxPyBeginAllowThreads();
4785 result = (wxRegion *)new wxRegion(arg1,arg2,arg3,arg4);
4786
4787 wxPyEndAllowThreads(__tstate);
110da5b0 4788 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4789 }
15afbcd0 4790 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 1);
d14a1e28
RD
4791 return resultobj;
4792 fail:
4793 return NULL;
4794}
4795
4796
c32bde28 4797static PyObject *_wrap_new_RegionFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4798 PyObject *resultobj;
4799 wxBitmap *arg1 = 0 ;
e6ffcedd
RD
4800 wxRegion *result;
4801 PyObject * obj0 = 0 ;
4802 char *kwnames[] = {
4803 (char *) "bmp", NULL
4804 };
4805
4806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_RegionFromBitmap",kwnames,&obj0)) goto fail;
4807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4808 SWIG_POINTER_EXCEPTION | 0)) == -1)
4809 SWIG_fail;
4810 if (arg1 == NULL) {
4811 PyErr_SetString(PyExc_TypeError,"null reference");
4812 SWIG_fail;
4813 }
4814 {
4815 if (!wxPyCheckForApp()) SWIG_fail;
4816 PyThreadState* __tstate = wxPyBeginAllowThreads();
4817 result = (wxRegion *)new wxRegion((wxBitmap const &)*arg1);
4818
4819 wxPyEndAllowThreads(__tstate);
110da5b0 4820 if (PyErr_Occurred()) SWIG_fail;
e6ffcedd
RD
4821 }
4822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 1);
4823 return resultobj;
4824 fail:
4825 return NULL;
4826}
4827
4828
c32bde28 4829static PyObject *_wrap_new_RegionFromBitmapColour(PyObject *, PyObject *args, PyObject *kwargs) {
e6ffcedd
RD
4830 PyObject *resultobj;
4831 wxBitmap *arg1 = 0 ;
4832 wxColour *arg2 = 0 ;
d14a1e28
RD
4833 int arg3 = (int) 0 ;
4834 wxRegion *result;
4835 wxColour temp2 ;
4836 PyObject * obj0 = 0 ;
4837 PyObject * obj1 = 0 ;
994141e6 4838 PyObject * obj2 = 0 ;
d14a1e28
RD
4839 char *kwnames[] = {
4840 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4841 };
4842
e6ffcedd 4843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_RegionFromBitmapColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4845 SWIG_POINTER_EXCEPTION | 0)) == -1)
4846 SWIG_fail;
d14a1e28 4847 if (arg1 == NULL) {
15afbcd0
RD
4848 PyErr_SetString(PyExc_TypeError,"null reference");
4849 SWIG_fail;
d14a1e28 4850 }
e6ffcedd
RD
4851 {
4852 arg2 = &temp2;
4853 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d14a1e28 4854 }
994141e6 4855 if (obj2) {
c32bde28 4856 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 4857 if (PyErr_Occurred()) SWIG_fail;
994141e6 4858 }
d14a1e28 4859 {
e3b71cb8 4860 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4861 PyThreadState* __tstate = wxPyBeginAllowThreads();
4862 result = (wxRegion *)new wxRegion((wxBitmap const &)*arg1,(wxColour const &)*arg2,arg3);
4863
4864 wxPyEndAllowThreads(__tstate);
110da5b0 4865 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4866 }
15afbcd0 4867 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 1);
d14a1e28
RD
4868 return resultobj;
4869 fail:
4870 return NULL;
4871}
4872
4873
c32bde28 4874static PyObject *_wrap_new_RegionFromPoints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4875 PyObject *resultobj;
4876 int arg1 ;
4877 wxPoint *arg2 = (wxPoint *) 0 ;
4878 int arg3 = (int) wxWINDING_RULE ;
4879 wxRegion *result;
4880 PyObject * obj0 = 0 ;
994141e6 4881 PyObject * obj1 = 0 ;
d14a1e28
RD
4882 char *kwnames[] = {
4883 (char *) "points",(char *) "fillStyle", NULL
4884 };
4885
994141e6 4886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_RegionFromPoints",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
4887 {
4888 arg2 = wxPoint_LIST_helper(obj0, &arg1);
4889 if (arg2 == NULL) SWIG_fail;
4890 }
994141e6 4891 if (obj1) {
c32bde28 4892 arg3 = (int)SWIG_As_int(obj1);
15afbcd0 4893 if (PyErr_Occurred()) SWIG_fail;
994141e6 4894 }
d14a1e28 4895 {
e3b71cb8 4896 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4897 PyThreadState* __tstate = wxPyBeginAllowThreads();
4898 result = (wxRegion *)new wxRegion(arg1,arg2,arg3);
4899
4900 wxPyEndAllowThreads(__tstate);
110da5b0 4901 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4902 }
15afbcd0 4903 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 1);
d14a1e28
RD
4904 {
4905 if (arg2) delete [] arg2;
4906 }
4907 return resultobj;
4908 fail:
4909 {
4910 if (arg2) delete [] arg2;
4911 }
4912 return NULL;
4913}
4914
4915
c32bde28 4916static PyObject *_wrap_delete_Region(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4917 PyObject *resultobj;
4918 wxRegion *arg1 = (wxRegion *) 0 ;
4919 PyObject * obj0 = 0 ;
4920 char *kwnames[] = {
4921 (char *) "self", NULL
4922 };
4923
4924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Region",kwnames,&obj0)) goto fail;
15afbcd0
RD
4925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4927 {
4928 PyThreadState* __tstate = wxPyBeginAllowThreads();
4929 delete arg1;
4930
4931 wxPyEndAllowThreads(__tstate);
4932 if (PyErr_Occurred()) SWIG_fail;
4933 }
4934 Py_INCREF(Py_None); resultobj = Py_None;
4935 return resultobj;
4936 fail:
4937 return NULL;
4938}
4939
4940
c32bde28 4941static PyObject *_wrap_Region_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4942 PyObject *resultobj;
4943 wxRegion *arg1 = (wxRegion *) 0 ;
4944 PyObject * obj0 = 0 ;
4945 char *kwnames[] = {
4946 (char *) "self", NULL
4947 };
4948
4949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
4950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4952 {
4953 PyThreadState* __tstate = wxPyBeginAllowThreads();
4954 (arg1)->Clear();
4955
4956 wxPyEndAllowThreads(__tstate);
4957 if (PyErr_Occurred()) SWIG_fail;
4958 }
4959 Py_INCREF(Py_None); resultobj = Py_None;
4960 return resultobj;
4961 fail:
4962 return NULL;
4963}
4964
4965
c32bde28 4966static PyObject *_wrap_Region_Offset(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4967 PyObject *resultobj;
4968 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
4969 int arg2 ;
4970 int arg3 ;
d14a1e28
RD
4971 bool result;
4972 PyObject * obj0 = 0 ;
994141e6
RD
4973 PyObject * obj1 = 0 ;
4974 PyObject * obj2 = 0 ;
d14a1e28
RD
4975 char *kwnames[] = {
4976 (char *) "self",(char *) "x",(char *) "y", NULL
4977 };
4978
994141e6 4979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Region_Offset",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4982 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4983 if (PyErr_Occurred()) SWIG_fail;
c32bde28 4984 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 4985 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4986 {
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 result = (bool)(arg1)->Offset(arg2,arg3);
4989
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 }
4f89f6a3
RD
4993 {
4994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4995 }
d14a1e28
RD
4996 return resultobj;
4997 fail:
4998 return NULL;
4999}
5000
5001
c32bde28 5002static PyObject *_wrap_Region_Contains(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5003 PyObject *resultobj;
5004 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
5005 int arg2 ;
5006 int arg3 ;
d14a1e28
RD
5007 int result;
5008 PyObject * obj0 = 0 ;
994141e6
RD
5009 PyObject * obj1 = 0 ;
5010 PyObject * obj2 = 0 ;
d14a1e28
RD
5011 char *kwnames[] = {
5012 (char *) "self",(char *) "x",(char *) "y", NULL
5013 };
5014
994141e6 5015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Region_Contains",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5018 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5019 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5020 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5021 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5022 {
5023 PyThreadState* __tstate = wxPyBeginAllowThreads();
5024 result = (int)(arg1)->Contains(arg2,arg3);
5025
5026 wxPyEndAllowThreads(__tstate);
5027 if (PyErr_Occurred()) SWIG_fail;
5028 }
c32bde28 5029 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5030 return resultobj;
5031 fail:
5032 return NULL;
5033}
5034
5035
c32bde28 5036static PyObject *_wrap_Region_ContainsPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5037 PyObject *resultobj;
5038 wxRegion *arg1 = (wxRegion *) 0 ;
5039 wxPoint *arg2 = 0 ;
5040 int result;
5041 wxPoint temp2 ;
5042 PyObject * obj0 = 0 ;
5043 PyObject * obj1 = 0 ;
5044 char *kwnames[] = {
5045 (char *) "self",(char *) "pt", NULL
5046 };
5047
5048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_ContainsPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5051 {
5052 arg2 = &temp2;
5053 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5054 }
5055 {
5056 PyThreadState* __tstate = wxPyBeginAllowThreads();
5057 result = (int)(arg1)->Contains((wxPoint const &)*arg2);
5058
5059 wxPyEndAllowThreads(__tstate);
5060 if (PyErr_Occurred()) SWIG_fail;
5061 }
c32bde28 5062 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5063 return resultobj;
5064 fail:
5065 return NULL;
5066}
5067
5068
c32bde28 5069static PyObject *_wrap_Region_ContainsRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5070 PyObject *resultobj;
5071 wxRegion *arg1 = (wxRegion *) 0 ;
5072 wxRect *arg2 = 0 ;
5073 int result;
5074 wxRect temp2 ;
5075 PyObject * obj0 = 0 ;
5076 PyObject * obj1 = 0 ;
5077 char *kwnames[] = {
5078 (char *) "self",(char *) "rect", NULL
5079 };
5080
5081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_ContainsRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5084 {
5085 arg2 = &temp2;
5086 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5087 }
5088 {
5089 PyThreadState* __tstate = wxPyBeginAllowThreads();
5090 result = (int)(arg1)->Contains((wxRect const &)*arg2);
5091
5092 wxPyEndAllowThreads(__tstate);
5093 if (PyErr_Occurred()) SWIG_fail;
5094 }
c32bde28 5095 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5096 return resultobj;
5097 fail:
5098 return NULL;
5099}
5100
5101
c32bde28 5102static PyObject *_wrap_Region_ContainsRectDim(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5103 PyObject *resultobj;
5104 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
5105 int arg2 ;
5106 int arg3 ;
5107 int arg4 ;
5108 int arg5 ;
d14a1e28
RD
5109 int result;
5110 PyObject * obj0 = 0 ;
994141e6
RD
5111 PyObject * obj1 = 0 ;
5112 PyObject * obj2 = 0 ;
5113 PyObject * obj3 = 0 ;
5114 PyObject * obj4 = 0 ;
d14a1e28
RD
5115 char *kwnames[] = {
5116 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5117 };
5118
994141e6 5119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_ContainsRectDim",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
5120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5122 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5123 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5124 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5125 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5126 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 5127 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5128 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 5129 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5130 {
5131 PyThreadState* __tstate = wxPyBeginAllowThreads();
5132 result = (int)(arg1)->Contains(arg2,arg3,arg4,arg5);
5133
5134 wxPyEndAllowThreads(__tstate);
5135 if (PyErr_Occurred()) SWIG_fail;
5136 }
c32bde28 5137 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5138 return resultobj;
5139 fail:
5140 return NULL;
5141}
5142
5143
c32bde28 5144static PyObject *_wrap_Region_GetBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5145 PyObject *resultobj;
5146 wxRegion *arg1 = (wxRegion *) 0 ;
5147 wxRect result;
5148 PyObject * obj0 = 0 ;
5149 char *kwnames[] = {
5150 (char *) "self", NULL
5151 };
5152
5153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_GetBox",kwnames,&obj0)) goto fail;
15afbcd0
RD
5154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5156 {
5157 PyThreadState* __tstate = wxPyBeginAllowThreads();
5158 result = (arg1)->GetBox();
5159
5160 wxPyEndAllowThreads(__tstate);
5161 if (PyErr_Occurred()) SWIG_fail;
5162 }
5163 {
5164 wxRect * resultptr;
5165 resultptr = new wxRect((wxRect &) result);
15afbcd0 5166 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
5167 }
5168 return resultobj;
5169 fail:
5170 return NULL;
5171}
5172
5173
c32bde28 5174static PyObject *_wrap_Region_Intersect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5175 PyObject *resultobj;
5176 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
5177 int arg2 ;
5178 int arg3 ;
5179 int arg4 ;
5180 int arg5 ;
d14a1e28
RD
5181 bool result;
5182 PyObject * obj0 = 0 ;
994141e6
RD
5183 PyObject * obj1 = 0 ;
5184 PyObject * obj2 = 0 ;
5185 PyObject * obj3 = 0 ;
5186 PyObject * obj4 = 0 ;
d14a1e28
RD
5187 char *kwnames[] = {
5188 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5189 };
5190
994141e6 5191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Intersect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
5192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5194 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5195 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5196 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5197 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5198 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 5199 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5200 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 5201 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5202 {
5203 PyThreadState* __tstate = wxPyBeginAllowThreads();
5204 result = (bool)(arg1)->Intersect(arg2,arg3,arg4,arg5);
5205
5206 wxPyEndAllowThreads(__tstate);
5207 if (PyErr_Occurred()) SWIG_fail;
5208 }
4f89f6a3
RD
5209 {
5210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5211 }
d14a1e28
RD
5212 return resultobj;
5213 fail:
5214 return NULL;
5215}
5216
5217
c32bde28 5218static PyObject *_wrap_Region_IntersectRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5219 PyObject *resultobj;
5220 wxRegion *arg1 = (wxRegion *) 0 ;
5221 wxRect *arg2 = 0 ;
5222 bool result;
5223 wxRect temp2 ;
5224 PyObject * obj0 = 0 ;
5225 PyObject * obj1 = 0 ;
5226 char *kwnames[] = {
5227 (char *) "self",(char *) "rect", NULL
5228 };
5229
5230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_IntersectRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5233 {
5234 arg2 = &temp2;
5235 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5236 }
5237 {
5238 PyThreadState* __tstate = wxPyBeginAllowThreads();
5239 result = (bool)(arg1)->Intersect((wxRect const &)*arg2);
5240
5241 wxPyEndAllowThreads(__tstate);
5242 if (PyErr_Occurred()) SWIG_fail;
5243 }
4f89f6a3
RD
5244 {
5245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5246 }
d14a1e28
RD
5247 return resultobj;
5248 fail:
5249 return NULL;
5250}
5251
5252
c32bde28 5253static PyObject *_wrap_Region_IntersectRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5254 PyObject *resultobj;
5255 wxRegion *arg1 = (wxRegion *) 0 ;
5256 wxRegion *arg2 = 0 ;
5257 bool result;
5258 PyObject * obj0 = 0 ;
5259 PyObject * obj1 = 0 ;
5260 char *kwnames[] = {
5261 (char *) "self",(char *) "region", NULL
5262 };
5263
5264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_IntersectRegion",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5267 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
5268 SWIG_POINTER_EXCEPTION | 0)) == -1)
5269 SWIG_fail;
d14a1e28 5270 if (arg2 == NULL) {
15afbcd0
RD
5271 PyErr_SetString(PyExc_TypeError,"null reference");
5272 SWIG_fail;
d14a1e28
RD
5273 }
5274 {
5275 PyThreadState* __tstate = wxPyBeginAllowThreads();
5276 result = (bool)(arg1)->Intersect((wxRegion const &)*arg2);
5277
5278 wxPyEndAllowThreads(__tstate);
5279 if (PyErr_Occurred()) SWIG_fail;
5280 }
4f89f6a3
RD
5281 {
5282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5283 }
d14a1e28
RD
5284 return resultobj;
5285 fail:
5286 return NULL;
5287}
5288
5289
c32bde28 5290static PyObject *_wrap_Region_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5291 PyObject *resultobj;
5292 wxRegion *arg1 = (wxRegion *) 0 ;
5293 bool result;
5294 PyObject * obj0 = 0 ;
5295 char *kwnames[] = {
5296 (char *) "self", NULL
5297 };
5298
5299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_IsEmpty",kwnames,&obj0)) goto fail;
15afbcd0
RD
5300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5302 {
5303 PyThreadState* __tstate = wxPyBeginAllowThreads();
5304 result = (bool)(arg1)->IsEmpty();
5305
5306 wxPyEndAllowThreads(__tstate);
5307 if (PyErr_Occurred()) SWIG_fail;
5308 }
4f89f6a3
RD
5309 {
5310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5311 }
d14a1e28
RD
5312 return resultobj;
5313 fail:
5314 return NULL;
5315}
5316
5317
c32bde28 5318static PyObject *_wrap_Region_Union(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5319 PyObject *resultobj;
5320 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
5321 int arg2 ;
5322 int arg3 ;
5323 int arg4 ;
5324 int arg5 ;
d14a1e28
RD
5325 bool result;
5326 PyObject * obj0 = 0 ;
994141e6
RD
5327 PyObject * obj1 = 0 ;
5328 PyObject * obj2 = 0 ;
5329 PyObject * obj3 = 0 ;
5330 PyObject * obj4 = 0 ;
d14a1e28
RD
5331 char *kwnames[] = {
5332 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5333 };
5334
994141e6 5335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Union",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
5336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5338 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5339 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5340 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5341 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5342 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 5343 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5344 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 5345 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5346 {
5347 PyThreadState* __tstate = wxPyBeginAllowThreads();
5348 result = (bool)(arg1)->Union(arg2,arg3,arg4,arg5);
5349
5350 wxPyEndAllowThreads(__tstate);
5351 if (PyErr_Occurred()) SWIG_fail;
5352 }
4f89f6a3
RD
5353 {
5354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5355 }
d14a1e28
RD
5356 return resultobj;
5357 fail:
5358 return NULL;
5359}
5360
5361
c32bde28 5362static PyObject *_wrap_Region_UnionRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5363 PyObject *resultobj;
5364 wxRegion *arg1 = (wxRegion *) 0 ;
5365 wxRect *arg2 = 0 ;
5366 bool result;
5367 wxRect temp2 ;
5368 PyObject * obj0 = 0 ;
5369 PyObject * obj1 = 0 ;
5370 char *kwnames[] = {
5371 (char *) "self",(char *) "rect", NULL
5372 };
5373
5374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_UnionRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5377 {
5378 arg2 = &temp2;
5379 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5380 }
5381 {
5382 PyThreadState* __tstate = wxPyBeginAllowThreads();
5383 result = (bool)(arg1)->Union((wxRect const &)*arg2);
5384
5385 wxPyEndAllowThreads(__tstate);
5386 if (PyErr_Occurred()) SWIG_fail;
5387 }
4f89f6a3
RD
5388 {
5389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5390 }
d14a1e28
RD
5391 return resultobj;
5392 fail:
5393 return NULL;
5394}
5395
5396
c32bde28 5397static PyObject *_wrap_Region_UnionRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5398 PyObject *resultobj;
5399 wxRegion *arg1 = (wxRegion *) 0 ;
5400 wxRegion *arg2 = 0 ;
5401 bool result;
5402 PyObject * obj0 = 0 ;
5403 PyObject * obj1 = 0 ;
5404 char *kwnames[] = {
5405 (char *) "self",(char *) "region", NULL
5406 };
5407
5408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_UnionRegion",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5411 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
5412 SWIG_POINTER_EXCEPTION | 0)) == -1)
5413 SWIG_fail;
d14a1e28 5414 if (arg2 == NULL) {
15afbcd0
RD
5415 PyErr_SetString(PyExc_TypeError,"null reference");
5416 SWIG_fail;
d14a1e28
RD
5417 }
5418 {
5419 PyThreadState* __tstate = wxPyBeginAllowThreads();
5420 result = (bool)(arg1)->Union((wxRegion const &)*arg2);
5421
5422 wxPyEndAllowThreads(__tstate);
5423 if (PyErr_Occurred()) SWIG_fail;
5424 }
4f89f6a3
RD
5425 {
5426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5427 }
d14a1e28
RD
5428 return resultobj;
5429 fail:
5430 return NULL;
5431}
5432
5433
c32bde28 5434static PyObject *_wrap_Region_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5435 PyObject *resultobj;
5436 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
5437 int arg2 ;
5438 int arg3 ;
5439 int arg4 ;
5440 int arg5 ;
d14a1e28
RD
5441 bool result;
5442 PyObject * obj0 = 0 ;
994141e6
RD
5443 PyObject * obj1 = 0 ;
5444 PyObject * obj2 = 0 ;
5445 PyObject * obj3 = 0 ;
5446 PyObject * obj4 = 0 ;
d14a1e28
RD
5447 char *kwnames[] = {
5448 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5449 };
5450
994141e6 5451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Subtract",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
5452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5454 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5455 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5456 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5457 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5458 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 5459 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5460 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 5461 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5462 {
5463 PyThreadState* __tstate = wxPyBeginAllowThreads();
5464 result = (bool)(arg1)->Subtract(arg2,arg3,arg4,arg5);
5465
5466 wxPyEndAllowThreads(__tstate);
5467 if (PyErr_Occurred()) SWIG_fail;
5468 }
4f89f6a3
RD
5469 {
5470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5471 }
d14a1e28
RD
5472 return resultobj;
5473 fail:
5474 return NULL;
5475}
5476
5477
c32bde28 5478static PyObject *_wrap_Region_SubtractRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5479 PyObject *resultobj;
5480 wxRegion *arg1 = (wxRegion *) 0 ;
5481 wxRect *arg2 = 0 ;
5482 bool result;
5483 wxRect temp2 ;
5484 PyObject * obj0 = 0 ;
5485 PyObject * obj1 = 0 ;
5486 char *kwnames[] = {
5487 (char *) "self",(char *) "rect", NULL
5488 };
5489
5490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_SubtractRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5493 {
5494 arg2 = &temp2;
5495 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5496 }
5497 {
5498 PyThreadState* __tstate = wxPyBeginAllowThreads();
5499 result = (bool)(arg1)->Subtract((wxRect const &)*arg2);
5500
5501 wxPyEndAllowThreads(__tstate);
5502 if (PyErr_Occurred()) SWIG_fail;
5503 }
4f89f6a3
RD
5504 {
5505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5506 }
d14a1e28
RD
5507 return resultobj;
5508 fail:
5509 return NULL;
5510}
5511
5512
c32bde28 5513static PyObject *_wrap_Region_SubtractRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5514 PyObject *resultobj;
5515 wxRegion *arg1 = (wxRegion *) 0 ;
5516 wxRegion *arg2 = 0 ;
5517 bool result;
5518 PyObject * obj0 = 0 ;
5519 PyObject * obj1 = 0 ;
5520 char *kwnames[] = {
5521 (char *) "self",(char *) "region", NULL
5522 };
5523
5524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_SubtractRegion",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5527 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
5528 SWIG_POINTER_EXCEPTION | 0)) == -1)
5529 SWIG_fail;
d14a1e28 5530 if (arg2 == NULL) {
15afbcd0
RD
5531 PyErr_SetString(PyExc_TypeError,"null reference");
5532 SWIG_fail;
d14a1e28
RD
5533 }
5534 {
5535 PyThreadState* __tstate = wxPyBeginAllowThreads();
5536 result = (bool)(arg1)->Subtract((wxRegion const &)*arg2);
5537
5538 wxPyEndAllowThreads(__tstate);
5539 if (PyErr_Occurred()) SWIG_fail;
5540 }
4f89f6a3
RD
5541 {
5542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5543 }
d14a1e28
RD
5544 return resultobj;
5545 fail:
5546 return NULL;
5547}
5548
5549
c32bde28 5550static PyObject *_wrap_Region_Xor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5551 PyObject *resultobj;
5552 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
5553 int arg2 ;
5554 int arg3 ;
5555 int arg4 ;
5556 int arg5 ;
d14a1e28
RD
5557 bool result;
5558 PyObject * obj0 = 0 ;
994141e6
RD
5559 PyObject * obj1 = 0 ;
5560 PyObject * obj2 = 0 ;
5561 PyObject * obj3 = 0 ;
5562 PyObject * obj4 = 0 ;
d14a1e28
RD
5563 char *kwnames[] = {
5564 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5565 };
5566
994141e6 5567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Xor",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
5568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5570 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5571 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5572 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5573 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5574 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 5575 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5576 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 5577 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5578 {
5579 PyThreadState* __tstate = wxPyBeginAllowThreads();
5580 result = (bool)(arg1)->Xor(arg2,arg3,arg4,arg5);
5581
5582 wxPyEndAllowThreads(__tstate);
5583 if (PyErr_Occurred()) SWIG_fail;
5584 }
4f89f6a3
RD
5585 {
5586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5587 }
d14a1e28
RD
5588 return resultobj;
5589 fail:
5590 return NULL;
5591}
5592
5593
c32bde28 5594static PyObject *_wrap_Region_XorRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5595 PyObject *resultobj;
5596 wxRegion *arg1 = (wxRegion *) 0 ;
5597 wxRect *arg2 = 0 ;
5598 bool result;
5599 wxRect temp2 ;
5600 PyObject * obj0 = 0 ;
5601 PyObject * obj1 = 0 ;
5602 char *kwnames[] = {
5603 (char *) "self",(char *) "rect", NULL
5604 };
5605
5606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_XorRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5609 {
5610 arg2 = &temp2;
5611 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5612 }
5613 {
5614 PyThreadState* __tstate = wxPyBeginAllowThreads();
5615 result = (bool)(arg1)->Xor((wxRect const &)*arg2);
5616
5617 wxPyEndAllowThreads(__tstate);
5618 if (PyErr_Occurred()) SWIG_fail;
5619 }
4f89f6a3
RD
5620 {
5621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5622 }
d14a1e28
RD
5623 return resultobj;
5624 fail:
5625 return NULL;
5626}
5627
5628
c32bde28 5629static PyObject *_wrap_Region_XorRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5630 PyObject *resultobj;
5631 wxRegion *arg1 = (wxRegion *) 0 ;
5632 wxRegion *arg2 = 0 ;
5633 bool result;
5634 PyObject * obj0 = 0 ;
5635 PyObject * obj1 = 0 ;
5636 char *kwnames[] = {
5637 (char *) "self",(char *) "region", NULL
5638 };
5639
5640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_XorRegion",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5643 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
5644 SWIG_POINTER_EXCEPTION | 0)) == -1)
5645 SWIG_fail;
d14a1e28 5646 if (arg2 == NULL) {
15afbcd0
RD
5647 PyErr_SetString(PyExc_TypeError,"null reference");
5648 SWIG_fail;
d14a1e28
RD
5649 }
5650 {
5651 PyThreadState* __tstate = wxPyBeginAllowThreads();
5652 result = (bool)(arg1)->Xor((wxRegion const &)*arg2);
5653
5654 wxPyEndAllowThreads(__tstate);
5655 if (PyErr_Occurred()) SWIG_fail;
5656 }
4f89f6a3
RD
5657 {
5658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5659 }
d14a1e28
RD
5660 return resultobj;
5661 fail:
5662 return NULL;
5663}
5664
5665
c32bde28 5666static PyObject *_wrap_Region_ConvertToBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5667 PyObject *resultobj;
5668 wxRegion *arg1 = (wxRegion *) 0 ;
5669 SwigValueWrapper< wxBitmap > result;
5670 PyObject * obj0 = 0 ;
5671 char *kwnames[] = {
5672 (char *) "self", NULL
5673 };
5674
5675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_ConvertToBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
5676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5678 {
5679 PyThreadState* __tstate = wxPyBeginAllowThreads();
5680 result = (arg1)->ConvertToBitmap();
5681
5682 wxPyEndAllowThreads(__tstate);
5683 if (PyErr_Occurred()) SWIG_fail;
5684 }
5685 {
5686 wxBitmap * resultptr;
5687 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 5688 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
5689 }
5690 return resultobj;
5691 fail:
5692 return NULL;
5693}
5694
5695
c32bde28 5696static PyObject *_wrap_Region_UnionBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5697 PyObject *resultobj;
5698 wxRegion *arg1 = (wxRegion *) 0 ;
5699 wxBitmap *arg2 = 0 ;
e6ffcedd
RD
5700 bool result;
5701 PyObject * obj0 = 0 ;
5702 PyObject * obj1 = 0 ;
5703 char *kwnames[] = {
5704 (char *) "self",(char *) "bmp", NULL
5705 };
5706
5707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_UnionBitmap",kwnames,&obj0,&obj1)) goto fail;
5708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5710 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5711 SWIG_POINTER_EXCEPTION | 0)) == -1)
5712 SWIG_fail;
5713 if (arg2 == NULL) {
5714 PyErr_SetString(PyExc_TypeError,"null reference");
5715 SWIG_fail;
5716 }
5717 {
5718 PyThreadState* __tstate = wxPyBeginAllowThreads();
5719 result = (bool)(arg1)->Union((wxBitmap const &)*arg2);
5720
5721 wxPyEndAllowThreads(__tstate);
5722 if (PyErr_Occurred()) SWIG_fail;
5723 }
5724 {
5725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5726 }
5727 return resultobj;
5728 fail:
5729 return NULL;
5730}
5731
5732
c32bde28 5733static PyObject *_wrap_Region_UnionBitmapColour(PyObject *, PyObject *args, PyObject *kwargs) {
e6ffcedd
RD
5734 PyObject *resultobj;
5735 wxRegion *arg1 = (wxRegion *) 0 ;
5736 wxBitmap *arg2 = 0 ;
5737 wxColour *arg3 = 0 ;
d14a1e28
RD
5738 int arg4 = (int) 0 ;
5739 bool result;
5740 wxColour temp3 ;
5741 PyObject * obj0 = 0 ;
5742 PyObject * obj1 = 0 ;
5743 PyObject * obj2 = 0 ;
994141e6 5744 PyObject * obj3 = 0 ;
d14a1e28
RD
5745 char *kwnames[] = {
5746 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5747 };
5748
e6ffcedd 5749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Region_UnionBitmapColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5752 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5753 SWIG_POINTER_EXCEPTION | 0)) == -1)
5754 SWIG_fail;
d14a1e28 5755 if (arg2 == NULL) {
15afbcd0
RD
5756 PyErr_SetString(PyExc_TypeError,"null reference");
5757 SWIG_fail;
d14a1e28 5758 }
e6ffcedd
RD
5759 {
5760 arg3 = &temp3;
5761 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 5762 }
994141e6 5763 if (obj3) {
c32bde28 5764 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 5765 if (PyErr_Occurred()) SWIG_fail;
994141e6 5766 }
d14a1e28
RD
5767 {
5768 PyThreadState* __tstate = wxPyBeginAllowThreads();
5769 result = (bool)(arg1)->Union((wxBitmap const &)*arg2,(wxColour const &)*arg3,arg4);
5770
5771 wxPyEndAllowThreads(__tstate);
5772 if (PyErr_Occurred()) SWIG_fail;
5773 }
4f89f6a3
RD
5774 {
5775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5776 }
d14a1e28
RD
5777 return resultobj;
5778 fail:
5779 return NULL;
5780}
5781
5782
c32bde28 5783static PyObject * Region_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5784 PyObject *obj;
5785 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5786 SWIG_TypeClientData(SWIGTYPE_p_wxRegion, obj);
5787 Py_INCREF(obj);
5788 return Py_BuildValue((char *)"");
5789}
c32bde28 5790static PyObject *_wrap_new_RegionIterator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5791 PyObject *resultobj;
5792 wxRegion *arg1 = 0 ;
5793 wxRegionIterator *result;
5794 PyObject * obj0 = 0 ;
5795 char *kwnames[] = {
5796 (char *) "region", NULL
5797 };
5798
5799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_RegionIterator",kwnames,&obj0)) goto fail;
15afbcd0
RD
5800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5801 SWIG_POINTER_EXCEPTION | 0)) == -1)
5802 SWIG_fail;
d14a1e28 5803 if (arg1 == NULL) {
15afbcd0
RD
5804 PyErr_SetString(PyExc_TypeError,"null reference");
5805 SWIG_fail;
d14a1e28
RD
5806 }
5807 {
e3b71cb8 5808 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5809 PyThreadState* __tstate = wxPyBeginAllowThreads();
5810 result = (wxRegionIterator *)new wxRegionIterator((wxRegion const &)*arg1);
5811
5812 wxPyEndAllowThreads(__tstate);
110da5b0 5813 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5814 }
15afbcd0 5815 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegionIterator, 1);
d14a1e28
RD
5816 return resultobj;
5817 fail:
5818 return NULL;
5819}
5820
5821
c32bde28 5822static PyObject *_wrap_delete_RegionIterator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5823 PyObject *resultobj;
5824 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
5825 PyObject * obj0 = 0 ;
5826 char *kwnames[] = {
5827 (char *) "self", NULL
5828 };
5829
5830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RegionIterator",kwnames,&obj0)) goto fail;
15afbcd0
RD
5831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5833 {
5834 PyThreadState* __tstate = wxPyBeginAllowThreads();
5835 delete arg1;
5836
5837 wxPyEndAllowThreads(__tstate);
5838 if (PyErr_Occurred()) SWIG_fail;
5839 }
5840 Py_INCREF(Py_None); resultobj = Py_None;
5841 return resultobj;
5842 fail:
5843 return NULL;
5844}
5845
5846
c32bde28 5847static PyObject *_wrap_RegionIterator_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5848 PyObject *resultobj;
5849 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
e811c8ce 5850 int result;
d14a1e28
RD
5851 PyObject * obj0 = 0 ;
5852 char *kwnames[] = {
5853 (char *) "self", NULL
5854 };
5855
5856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
5857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5859 {
5860 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5861 result = (int)(arg1)->GetX();
d14a1e28
RD
5862
5863 wxPyEndAllowThreads(__tstate);
5864 if (PyErr_Occurred()) SWIG_fail;
5865 }
c32bde28 5866 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5867 return resultobj;
5868 fail:
5869 return NULL;
5870}
5871
5872
c32bde28 5873static PyObject *_wrap_RegionIterator_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5874 PyObject *resultobj;
5875 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
e811c8ce 5876 int result;
d14a1e28
RD
5877 PyObject * obj0 = 0 ;
5878 char *kwnames[] = {
5879 (char *) "self", NULL
5880 };
5881
5882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
5883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5885 {
5886 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5887 result = (int)(arg1)->GetY();
d14a1e28
RD
5888
5889 wxPyEndAllowThreads(__tstate);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
c32bde28 5892 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5893 return resultobj;
5894 fail:
5895 return NULL;
5896}
5897
5898
c32bde28 5899static PyObject *_wrap_RegionIterator_GetW(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5900 PyObject *resultobj;
5901 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
e811c8ce 5902 int result;
d14a1e28
RD
5903 PyObject * obj0 = 0 ;
5904 char *kwnames[] = {
5905 (char *) "self", NULL
5906 };
5907
5908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetW",kwnames,&obj0)) goto fail;
15afbcd0
RD
5909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5911 {
5912 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5913 result = (int)(arg1)->GetW();
d14a1e28
RD
5914
5915 wxPyEndAllowThreads(__tstate);
5916 if (PyErr_Occurred()) SWIG_fail;
5917 }
c32bde28 5918 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5919 return resultobj;
5920 fail:
5921 return NULL;
5922}
5923
5924
c32bde28 5925static PyObject *_wrap_RegionIterator_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5926 PyObject *resultobj;
5927 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
e811c8ce 5928 int result;
d14a1e28
RD
5929 PyObject * obj0 = 0 ;
5930 char *kwnames[] = {
5931 (char *) "self", NULL
5932 };
5933
5934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
5935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5937 {
5938 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5939 result = (int)(arg1)->GetWidth();
d14a1e28
RD
5940
5941 wxPyEndAllowThreads(__tstate);
5942 if (PyErr_Occurred()) SWIG_fail;
5943 }
c32bde28 5944 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5945 return resultobj;
5946 fail:
5947 return NULL;
5948}
5949
5950
c32bde28 5951static PyObject *_wrap_RegionIterator_GetH(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5952 PyObject *resultobj;
5953 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
e811c8ce 5954 int result;
d14a1e28
RD
5955 PyObject * obj0 = 0 ;
5956 char *kwnames[] = {
5957 (char *) "self", NULL
5958 };
5959
5960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetH",kwnames,&obj0)) goto fail;
15afbcd0
RD
5961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5963 {
5964 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5965 result = (int)(arg1)->GetH();
d14a1e28
RD
5966
5967 wxPyEndAllowThreads(__tstate);
5968 if (PyErr_Occurred()) SWIG_fail;
5969 }
c32bde28 5970 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5971 return resultobj;
5972 fail:
5973 return NULL;
5974}
5975
5976
c32bde28 5977static PyObject *_wrap_RegionIterator_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5978 PyObject *resultobj;
5979 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
e811c8ce 5980 int result;
d14a1e28
RD
5981 PyObject * obj0 = 0 ;
5982 char *kwnames[] = {
5983 (char *) "self", NULL
5984 };
5985
5986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
5987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5989 {
5990 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5991 result = (int)(arg1)->GetHeight();
d14a1e28
RD
5992
5993 wxPyEndAllowThreads(__tstate);
5994 if (PyErr_Occurred()) SWIG_fail;
5995 }
c32bde28 5996 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5997 return resultobj;
5998 fail:
5999 return NULL;
6000}
6001
6002
c32bde28 6003static PyObject *_wrap_RegionIterator_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6004 PyObject *resultobj;
6005 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
6006 wxRect result;
6007 PyObject * obj0 = 0 ;
6008 char *kwnames[] = {
6009 (char *) "self", NULL
6010 };
6011
6012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
6013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
6014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6015 {
6016 PyThreadState* __tstate = wxPyBeginAllowThreads();
6017 result = (arg1)->GetRect();
6018
6019 wxPyEndAllowThreads(__tstate);
6020 if (PyErr_Occurred()) SWIG_fail;
6021 }
6022 {
6023 wxRect * resultptr;
6024 resultptr = new wxRect((wxRect &) result);
15afbcd0 6025 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
6026 }
6027 return resultobj;
6028 fail:
6029 return NULL;
6030}
6031
6032
c32bde28 6033static PyObject *_wrap_RegionIterator_HaveRects(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6034 PyObject *resultobj;
6035 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
6036 bool result;
6037 PyObject * obj0 = 0 ;
6038 char *kwnames[] = {
6039 (char *) "self", NULL
6040 };
6041
6042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_HaveRects",kwnames,&obj0)) goto fail;
15afbcd0
RD
6043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
6044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6045 {
6046 PyThreadState* __tstate = wxPyBeginAllowThreads();
6047 result = (bool)(arg1)->HaveRects();
6048
6049 wxPyEndAllowThreads(__tstate);
6050 if (PyErr_Occurred()) SWIG_fail;
6051 }
4f89f6a3
RD
6052 {
6053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6054 }
d14a1e28
RD
6055 return resultobj;
6056 fail:
6057 return NULL;
6058}
6059
6060
c32bde28 6061static PyObject *_wrap_RegionIterator_Reset(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6062 PyObject *resultobj;
6063 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
6064 PyObject * obj0 = 0 ;
6065 char *kwnames[] = {
6066 (char *) "self", NULL
6067 };
6068
6069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_Reset",kwnames,&obj0)) goto fail;
15afbcd0
RD
6070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
6071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6072 {
6073 PyThreadState* __tstate = wxPyBeginAllowThreads();
6074 (arg1)->Reset();
6075
6076 wxPyEndAllowThreads(__tstate);
6077 if (PyErr_Occurred()) SWIG_fail;
6078 }
6079 Py_INCREF(Py_None); resultobj = Py_None;
6080 return resultobj;
6081 fail:
6082 return NULL;
6083}
6084
6085
c32bde28 6086static PyObject *_wrap_RegionIterator_Next(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6087 PyObject *resultobj;
6088 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
6089 PyObject * obj0 = 0 ;
6090 char *kwnames[] = {
6091 (char *) "self", NULL
6092 };
6093
6094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_Next",kwnames,&obj0)) goto fail;
15afbcd0
RD
6095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
6096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6097 {
6098 PyThreadState* __tstate = wxPyBeginAllowThreads();
6099 wxRegionIterator_Next(arg1);
6100
6101 wxPyEndAllowThreads(__tstate);
6102 if (PyErr_Occurred()) SWIG_fail;
6103 }
6104 Py_INCREF(Py_None); resultobj = Py_None;
6105 return resultobj;
6106 fail:
6107 return NULL;
6108}
6109
6110
c32bde28 6111static PyObject *_wrap_RegionIterator___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6112 PyObject *resultobj;
6113 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
6114 bool result;
6115 PyObject * obj0 = 0 ;
6116 char *kwnames[] = {
6117 (char *) "self", NULL
6118 };
6119
6120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator___nonzero__",kwnames,&obj0)) goto fail;
15afbcd0
RD
6121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
6122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6123 {
6124 PyThreadState* __tstate = wxPyBeginAllowThreads();
6125 result = (bool)wxRegionIterator___nonzero__(arg1);
6126
6127 wxPyEndAllowThreads(__tstate);
6128 if (PyErr_Occurred()) SWIG_fail;
6129 }
4f89f6a3
RD
6130 {
6131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6132 }
d14a1e28
RD
6133 return resultobj;
6134 fail:
6135 return NULL;
6136}
6137
6138
c32bde28 6139static PyObject * RegionIterator_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6140 PyObject *obj;
6141 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6142 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator, obj);
6143 Py_INCREF(obj);
6144 return Py_BuildValue((char *)"");
6145}
c32bde28 6146static PyObject *_wrap_new_NativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6147 PyObject *resultobj;
6148 wxNativeFontInfo *result;
6149 char *kwnames[] = {
6150 NULL
6151 };
6152
6153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NativeFontInfo",kwnames)) goto fail;
6154 {
6155 PyThreadState* __tstate = wxPyBeginAllowThreads();
6156 result = (wxNativeFontInfo *)new wxNativeFontInfo();
6157
6158 wxPyEndAllowThreads(__tstate);
6159 if (PyErr_Occurred()) SWIG_fail;
6160 }
15afbcd0 6161 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeFontInfo, 1);
d14a1e28
RD
6162 return resultobj;
6163 fail:
6164 return NULL;
6165}
6166
6167
c32bde28 6168static PyObject *_wrap_delete_NativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6169 PyObject *resultobj;
6170 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6171 PyObject * obj0 = 0 ;
6172 char *kwnames[] = {
6173 (char *) "self", NULL
6174 };
6175
6176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_NativeFontInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
6177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6179 {
6180 PyThreadState* __tstate = wxPyBeginAllowThreads();
6181 delete arg1;
6182
6183 wxPyEndAllowThreads(__tstate);
6184 if (PyErr_Occurred()) SWIG_fail;
6185 }
6186 Py_INCREF(Py_None); resultobj = Py_None;
6187 return resultobj;
6188 fail:
6189 return NULL;
6190}
6191
6192
c32bde28 6193static PyObject *_wrap_NativeFontInfo_Init(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6194 PyObject *resultobj;
6195 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6196 PyObject * obj0 = 0 ;
6197 char *kwnames[] = {
6198 (char *) "self", NULL
6199 };
6200
6201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_Init",kwnames,&obj0)) goto fail;
15afbcd0
RD
6202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6204 {
6205 PyThreadState* __tstate = wxPyBeginAllowThreads();
6206 (arg1)->Init();
6207
6208 wxPyEndAllowThreads(__tstate);
6209 if (PyErr_Occurred()) SWIG_fail;
6210 }
6211 Py_INCREF(Py_None); resultobj = Py_None;
6212 return resultobj;
6213 fail:
6214 return NULL;
6215}
6216
6217
c32bde28 6218static PyObject *_wrap_NativeFontInfo_InitFromFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6219 PyObject *resultobj;
6220 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6221 wxFont *arg2 = 0 ;
6222 PyObject * obj0 = 0 ;
6223 PyObject * obj1 = 0 ;
6224 char *kwnames[] = {
6225 (char *) "self",(char *) "font", NULL
6226 };
6227
6228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_InitFromFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6231 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
6232 SWIG_POINTER_EXCEPTION | 0)) == -1)
6233 SWIG_fail;
d14a1e28 6234 if (arg2 == NULL) {
15afbcd0
RD
6235 PyErr_SetString(PyExc_TypeError,"null reference");
6236 SWIG_fail;
d14a1e28
RD
6237 }
6238 {
6239 PyThreadState* __tstate = wxPyBeginAllowThreads();
6240 (arg1)->InitFromFont((wxFont const &)*arg2);
6241
6242 wxPyEndAllowThreads(__tstate);
6243 if (PyErr_Occurred()) SWIG_fail;
6244 }
6245 Py_INCREF(Py_None); resultobj = Py_None;
6246 return resultobj;
6247 fail:
6248 return NULL;
6249}
6250
6251
c32bde28 6252static PyObject *_wrap_NativeFontInfo_GetPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6253 PyObject *resultobj;
6254 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6255 int result;
6256 PyObject * obj0 = 0 ;
6257 char *kwnames[] = {
6258 (char *) "self", NULL
6259 };
6260
6261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetPointSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
6262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6264 {
6265 PyThreadState* __tstate = wxPyBeginAllowThreads();
6266 result = (int)((wxNativeFontInfo const *)arg1)->GetPointSize();
6267
6268 wxPyEndAllowThreads(__tstate);
6269 if (PyErr_Occurred()) SWIG_fail;
6270 }
c32bde28 6271 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6272 return resultobj;
6273 fail:
6274 return NULL;
6275}
6276
6277
c32bde28 6278static PyObject *_wrap_NativeFontInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6279 PyObject *resultobj;
6280 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6281 int result;
6282 PyObject * obj0 = 0 ;
6283 char *kwnames[] = {
6284 (char *) "self", NULL
6285 };
6286
6287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
6288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6290 {
6291 PyThreadState* __tstate = wxPyBeginAllowThreads();
6292 result = (int)((wxNativeFontInfo const *)arg1)->GetStyle();
6293
6294 wxPyEndAllowThreads(__tstate);
6295 if (PyErr_Occurred()) SWIG_fail;
6296 }
c32bde28 6297 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6298 return resultobj;
6299 fail:
6300 return NULL;
6301}
6302
6303
c32bde28 6304static PyObject *_wrap_NativeFontInfo_GetWeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6305 PyObject *resultobj;
6306 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6307 int result;
6308 PyObject * obj0 = 0 ;
6309 char *kwnames[] = {
6310 (char *) "self", NULL
6311 };
6312
6313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetWeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
6314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6316 {
6317 PyThreadState* __tstate = wxPyBeginAllowThreads();
6318 result = (int)((wxNativeFontInfo const *)arg1)->GetWeight();
6319
6320 wxPyEndAllowThreads(__tstate);
6321 if (PyErr_Occurred()) SWIG_fail;
6322 }
c32bde28 6323 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6324 return resultobj;
6325 fail:
6326 return NULL;
6327}
6328
6329
c32bde28 6330static PyObject *_wrap_NativeFontInfo_GetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6331 PyObject *resultobj;
6332 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6333 bool result;
6334 PyObject * obj0 = 0 ;
6335 char *kwnames[] = {
6336 (char *) "self", NULL
6337 };
6338
6339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetUnderlined",kwnames,&obj0)) goto fail;
15afbcd0
RD
6340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6342 {
6343 PyThreadState* __tstate = wxPyBeginAllowThreads();
6344 result = (bool)((wxNativeFontInfo const *)arg1)->GetUnderlined();
6345
6346 wxPyEndAllowThreads(__tstate);
6347 if (PyErr_Occurred()) SWIG_fail;
6348 }
4f89f6a3
RD
6349 {
6350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6351 }
d14a1e28
RD
6352 return resultobj;
6353 fail:
6354 return NULL;
6355}
6356
6357
c32bde28 6358static PyObject *_wrap_NativeFontInfo_GetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6359 PyObject *resultobj;
6360 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6361 wxString result;
6362 PyObject * obj0 = 0 ;
6363 char *kwnames[] = {
6364 (char *) "self", NULL
6365 };
6366
6367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetFaceName",kwnames,&obj0)) goto fail;
15afbcd0
RD
6368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6370 {
6371 PyThreadState* __tstate = wxPyBeginAllowThreads();
6372 result = ((wxNativeFontInfo const *)arg1)->GetFaceName();
6373
6374 wxPyEndAllowThreads(__tstate);
6375 if (PyErr_Occurred()) SWIG_fail;
6376 }
6377 {
6378#if wxUSE_UNICODE
6379 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6380#else
6381 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6382#endif
6383 }
6384 return resultobj;
6385 fail:
6386 return NULL;
6387}
6388
6389
c32bde28 6390static PyObject *_wrap_NativeFontInfo_GetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6391 PyObject *resultobj;
6392 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6393 int result;
6394 PyObject * obj0 = 0 ;
6395 char *kwnames[] = {
6396 (char *) "self", NULL
6397 };
6398
6399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetFamily",kwnames,&obj0)) goto fail;
15afbcd0
RD
6400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6402 {
6403 PyThreadState* __tstate = wxPyBeginAllowThreads();
6404 result = (int)((wxNativeFontInfo const *)arg1)->GetFamily();
6405
6406 wxPyEndAllowThreads(__tstate);
6407 if (PyErr_Occurred()) SWIG_fail;
6408 }
c32bde28 6409 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6410 return resultobj;
6411 fail:
6412 return NULL;
6413}
6414
6415
c32bde28 6416static PyObject *_wrap_NativeFontInfo_GetEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6417 PyObject *resultobj;
6418 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6419 int result;
6420 PyObject * obj0 = 0 ;
6421 char *kwnames[] = {
6422 (char *) "self", NULL
6423 };
6424
6425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetEncoding",kwnames,&obj0)) goto fail;
15afbcd0
RD
6426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6428 {
6429 PyThreadState* __tstate = wxPyBeginAllowThreads();
6430 result = (int)((wxNativeFontInfo const *)arg1)->GetEncoding();
6431
6432 wxPyEndAllowThreads(__tstate);
6433 if (PyErr_Occurred()) SWIG_fail;
6434 }
c32bde28 6435 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6436 return resultobj;
6437 fail:
6438 return NULL;
6439}
6440
6441
c32bde28 6442static PyObject *_wrap_NativeFontInfo_SetPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6443 PyObject *resultobj;
6444 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6445 int arg2 ;
6446 PyObject * obj0 = 0 ;
994141e6 6447 PyObject * obj1 = 0 ;
d14a1e28
RD
6448 char *kwnames[] = {
6449 (char *) "self",(char *) "pointsize", NULL
6450 };
6451
994141e6 6452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetPointSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6455 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6456 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6457 {
6458 PyThreadState* __tstate = wxPyBeginAllowThreads();
6459 (arg1)->SetPointSize(arg2);
6460
6461 wxPyEndAllowThreads(__tstate);
6462 if (PyErr_Occurred()) SWIG_fail;
6463 }
6464 Py_INCREF(Py_None); resultobj = Py_None;
6465 return resultobj;
6466 fail:
6467 return NULL;
6468}
6469
6470
c32bde28 6471static PyObject *_wrap_NativeFontInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6472 PyObject *resultobj;
6473 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6474 int arg2 ;
6475 PyObject * obj0 = 0 ;
994141e6 6476 PyObject * obj1 = 0 ;
d14a1e28
RD
6477 char *kwnames[] = {
6478 (char *) "self",(char *) "style", NULL
6479 };
6480
994141e6 6481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6484 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6485 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6486 {
6487 PyThreadState* __tstate = wxPyBeginAllowThreads();
6488 (arg1)->SetStyle((wxFontStyle )arg2);
6489
6490 wxPyEndAllowThreads(__tstate);
6491 if (PyErr_Occurred()) SWIG_fail;
6492 }
6493 Py_INCREF(Py_None); resultobj = Py_None;
6494 return resultobj;
6495 fail:
6496 return NULL;
6497}
6498
6499
c32bde28 6500static PyObject *_wrap_NativeFontInfo_SetWeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6501 PyObject *resultobj;
6502 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6503 int arg2 ;
6504 PyObject * obj0 = 0 ;
994141e6 6505 PyObject * obj1 = 0 ;
d14a1e28
RD
6506 char *kwnames[] = {
6507 (char *) "self",(char *) "weight", NULL
6508 };
6509
994141e6 6510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetWeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6513 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6514 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6515 {
6516 PyThreadState* __tstate = wxPyBeginAllowThreads();
6517 (arg1)->SetWeight((wxFontWeight )arg2);
6518
6519 wxPyEndAllowThreads(__tstate);
6520 if (PyErr_Occurred()) SWIG_fail;
6521 }
6522 Py_INCREF(Py_None); resultobj = Py_None;
6523 return resultobj;
6524 fail:
6525 return NULL;
6526}
6527
6528
c32bde28 6529static PyObject *_wrap_NativeFontInfo_SetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6530 PyObject *resultobj;
6531 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6532 bool arg2 ;
6533 PyObject * obj0 = 0 ;
6534 PyObject * obj1 = 0 ;
6535 char *kwnames[] = {
6536 (char *) "self",(char *) "underlined", NULL
6537 };
6538
6539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6542 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 6543 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6544 {
6545 PyThreadState* __tstate = wxPyBeginAllowThreads();
6546 (arg1)->SetUnderlined(arg2);
6547
6548 wxPyEndAllowThreads(__tstate);
6549 if (PyErr_Occurred()) SWIG_fail;
6550 }
6551 Py_INCREF(Py_None); resultobj = Py_None;
6552 return resultobj;
6553 fail:
6554 return NULL;
6555}
6556
6557
c32bde28 6558static PyObject *_wrap_NativeFontInfo_SetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6559 PyObject *resultobj;
6560 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6561 wxString arg2 ;
d14a1e28
RD
6562 PyObject * obj0 = 0 ;
6563 PyObject * obj1 = 0 ;
6564 char *kwnames[] = {
6565 (char *) "self",(char *) "facename", NULL
6566 };
6567
6568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetFaceName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
6571 {
6572 wxString* sptr = wxString_in_helper(obj1);
6573 if (sptr == NULL) SWIG_fail;
6574 arg2 = *sptr;
6575 delete sptr;
6576 }
d14a1e28
RD
6577 {
6578 PyThreadState* __tstate = wxPyBeginAllowThreads();
6579 (arg1)->SetFaceName(arg2);
6580
6581 wxPyEndAllowThreads(__tstate);
6582 if (PyErr_Occurred()) SWIG_fail;
6583 }
6584 Py_INCREF(Py_None); resultobj = Py_None;
6585 return resultobj;
6586 fail:
6587 return NULL;
6588}
6589
6590
c32bde28 6591static PyObject *_wrap_NativeFontInfo_SetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6592 PyObject *resultobj;
6593 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6594 int arg2 ;
6595 PyObject * obj0 = 0 ;
994141e6 6596 PyObject * obj1 = 0 ;
d14a1e28
RD
6597 char *kwnames[] = {
6598 (char *) "self",(char *) "family", NULL
6599 };
6600
994141e6 6601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetFamily",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6604 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6605 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6606 {
6607 PyThreadState* __tstate = wxPyBeginAllowThreads();
6608 (arg1)->SetFamily((wxFontFamily )arg2);
6609
6610 wxPyEndAllowThreads(__tstate);
6611 if (PyErr_Occurred()) SWIG_fail;
6612 }
6613 Py_INCREF(Py_None); resultobj = Py_None;
6614 return resultobj;
6615 fail:
6616 return NULL;
6617}
6618
6619
c32bde28 6620static PyObject *_wrap_NativeFontInfo_SetEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6621 PyObject *resultobj;
6622 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6623 int arg2 ;
6624 PyObject * obj0 = 0 ;
994141e6 6625 PyObject * obj1 = 0 ;
d14a1e28
RD
6626 char *kwnames[] = {
6627 (char *) "self",(char *) "encoding", NULL
6628 };
6629
994141e6 6630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetEncoding",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6633 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6634 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6635 {
6636 PyThreadState* __tstate = wxPyBeginAllowThreads();
6637 (arg1)->SetEncoding((wxFontEncoding )arg2);
6638
6639 wxPyEndAllowThreads(__tstate);
6640 if (PyErr_Occurred()) SWIG_fail;
6641 }
6642 Py_INCREF(Py_None); resultobj = Py_None;
6643 return resultobj;
6644 fail:
6645 return NULL;
6646}
6647
6648
c32bde28 6649static PyObject *_wrap_NativeFontInfo_FromString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6650 PyObject *resultobj;
6651 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6652 wxString *arg2 = 0 ;
6653 bool result;
ae8162c8 6654 bool temp2 = false ;
d14a1e28
RD
6655 PyObject * obj0 = 0 ;
6656 PyObject * obj1 = 0 ;
6657 char *kwnames[] = {
6658 (char *) "self",(char *) "s", NULL
6659 };
6660
6661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_FromString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6664 {
6665 arg2 = wxString_in_helper(obj1);
6666 if (arg2 == NULL) SWIG_fail;
ae8162c8 6667 temp2 = true;
d14a1e28
RD
6668 }
6669 {
6670 PyThreadState* __tstate = wxPyBeginAllowThreads();
6671 result = (bool)(arg1)->FromString((wxString const &)*arg2);
6672
6673 wxPyEndAllowThreads(__tstate);
6674 if (PyErr_Occurred()) SWIG_fail;
6675 }
4f89f6a3
RD
6676 {
6677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6678 }
d14a1e28
RD
6679 {
6680 if (temp2)
6681 delete arg2;
6682 }
6683 return resultobj;
6684 fail:
6685 {
6686 if (temp2)
6687 delete arg2;
6688 }
6689 return NULL;
6690}
6691
6692
c32bde28 6693static PyObject *_wrap_NativeFontInfo_ToString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6694 PyObject *resultobj;
6695 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6696 wxString result;
6697 PyObject * obj0 = 0 ;
6698 char *kwnames[] = {
6699 (char *) "self", NULL
6700 };
6701
6702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_ToString",kwnames,&obj0)) goto fail;
15afbcd0
RD
6703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6705 {
6706 PyThreadState* __tstate = wxPyBeginAllowThreads();
6707 result = ((wxNativeFontInfo const *)arg1)->ToString();
6708
6709 wxPyEndAllowThreads(__tstate);
6710 if (PyErr_Occurred()) SWIG_fail;
6711 }
6712 {
6713#if wxUSE_UNICODE
6714 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6715#else
6716 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6717#endif
6718 }
6719 return resultobj;
6720 fail:
6721 return NULL;
6722}
6723
6724
c32bde28 6725static PyObject *_wrap_NativeFontInfo___str__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6726 PyObject *resultobj;
6727 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6728 wxString result;
6729 PyObject * obj0 = 0 ;
6730 char *kwnames[] = {
6731 (char *) "self", NULL
6732 };
6733
6734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo___str__",kwnames,&obj0)) goto fail;
15afbcd0
RD
6735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6737 {
6738 PyThreadState* __tstate = wxPyBeginAllowThreads();
6739 result = wxNativeFontInfo___str__(arg1);
6740
6741 wxPyEndAllowThreads(__tstate);
6742 if (PyErr_Occurred()) SWIG_fail;
6743 }
6744 {
6745#if wxUSE_UNICODE
6746 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6747#else
6748 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6749#endif
6750 }
6751 return resultobj;
6752 fail:
6753 return NULL;
6754}
6755
6756
c32bde28 6757static PyObject *_wrap_NativeFontInfo_FromUserString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6758 PyObject *resultobj;
6759 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6760 wxString *arg2 = 0 ;
6761 bool result;
ae8162c8 6762 bool temp2 = false ;
d14a1e28
RD
6763 PyObject * obj0 = 0 ;
6764 PyObject * obj1 = 0 ;
6765 char *kwnames[] = {
6766 (char *) "self",(char *) "s", NULL
6767 };
6768
6769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_FromUserString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6772 {
6773 arg2 = wxString_in_helper(obj1);
6774 if (arg2 == NULL) SWIG_fail;
ae8162c8 6775 temp2 = true;
d14a1e28
RD
6776 }
6777 {
6778 PyThreadState* __tstate = wxPyBeginAllowThreads();
6779 result = (bool)(arg1)->FromUserString((wxString const &)*arg2);
6780
6781 wxPyEndAllowThreads(__tstate);
6782 if (PyErr_Occurred()) SWIG_fail;
6783 }
4f89f6a3
RD
6784 {
6785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6786 }
d14a1e28
RD
6787 {
6788 if (temp2)
6789 delete arg2;
6790 }
6791 return resultobj;
6792 fail:
6793 {
6794 if (temp2)
6795 delete arg2;
6796 }
6797 return NULL;
6798}
6799
6800
c32bde28 6801static PyObject *_wrap_NativeFontInfo_ToUserString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6802 PyObject *resultobj;
6803 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6804 wxString result;
6805 PyObject * obj0 = 0 ;
6806 char *kwnames[] = {
6807 (char *) "self", NULL
6808 };
6809
6810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_ToUserString",kwnames,&obj0)) goto fail;
15afbcd0
RD
6811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6813 {
6814 PyThreadState* __tstate = wxPyBeginAllowThreads();
6815 result = ((wxNativeFontInfo const *)arg1)->ToUserString();
6816
6817 wxPyEndAllowThreads(__tstate);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 }
6820 {
6821#if wxUSE_UNICODE
6822 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6823#else
6824 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6825#endif
6826 }
6827 return resultobj;
6828 fail:
6829 return NULL;
6830}
6831
6832
c32bde28 6833static PyObject * NativeFontInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6834 PyObject *obj;
6835 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6836 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo, obj);
6837 Py_INCREF(obj);
6838 return Py_BuildValue((char *)"");
6839}
c32bde28 6840static PyObject *_wrap_NativeEncodingInfo_facename_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6841 PyObject *resultobj;
6842 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
196addbf 6843 wxString *arg2 = (wxString *) 0 ;
ae8162c8 6844 bool temp2 = false ;
d14a1e28
RD
6845 PyObject * obj0 = 0 ;
6846 PyObject * obj1 = 0 ;
6847 char *kwnames[] = {
6848 (char *) "self",(char *) "facename", NULL
6849 };
6850
6851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeEncodingInfo_facename_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7eae615b
RD
6854 {
6855 arg2 = wxString_in_helper(obj1);
6856 if (arg2 == NULL) SWIG_fail;
ae8162c8 6857 temp2 = true;
7eae615b 6858 }
196addbf 6859 if (arg1) (arg1)->facename = *arg2;
d14a1e28
RD
6860
6861 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
6862 {
6863 if (temp2)
6864 delete arg2;
6865 }
d14a1e28
RD
6866 return resultobj;
6867 fail:
7eae615b
RD
6868 {
6869 if (temp2)
6870 delete arg2;
6871 }
d14a1e28
RD
6872 return NULL;
6873}
6874
6875
c32bde28 6876static PyObject *_wrap_NativeEncodingInfo_facename_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6877 PyObject *resultobj;
6878 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
196addbf 6879 wxString *result;
d14a1e28
RD
6880 PyObject * obj0 = 0 ;
6881 char *kwnames[] = {
6882 (char *) "self", NULL
6883 };
6884
6885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeEncodingInfo_facename_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
6886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
196addbf 6888 result = (wxString *)& ((arg1)->facename);
d14a1e28
RD
6889
6890 {
6891#if wxUSE_UNICODE
196addbf 6892 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 6893#else
196addbf 6894 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
6895#endif
6896 }
6897 return resultobj;
6898 fail:
6899 return NULL;
6900}
6901
6902
c32bde28 6903static PyObject *_wrap_NativeEncodingInfo_encoding_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6904 PyObject *resultobj;
6905 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
6906 int arg2 ;
6907 PyObject * obj0 = 0 ;
994141e6 6908 PyObject * obj1 = 0 ;
d14a1e28
RD
6909 char *kwnames[] = {
6910 (char *) "self",(char *) "encoding", NULL
6911 };
6912
994141e6 6913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6916 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6917 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6918 if (arg1) (arg1)->encoding = (wxFontEncoding )arg2;
6919
6920 Py_INCREF(Py_None); resultobj = Py_None;
6921 return resultobj;
6922 fail:
6923 return NULL;
6924}
6925
6926
c32bde28 6927static PyObject *_wrap_NativeEncodingInfo_encoding_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6928 PyObject *resultobj;
6929 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
6930 int result;
6931 PyObject * obj0 = 0 ;
6932 char *kwnames[] = {
6933 (char *) "self", NULL
6934 };
6935
6936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeEncodingInfo_encoding_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
6937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6939 result = (int) ((arg1)->encoding);
6940
c32bde28 6941 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6942 return resultobj;
6943 fail:
6944 return NULL;
6945}
6946
6947
c32bde28 6948static PyObject *_wrap_new_NativeEncodingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6949 PyObject *resultobj;
6950 wxNativeEncodingInfo *result;
6951 char *kwnames[] = {
6952 NULL
6953 };
6954
6955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NativeEncodingInfo",kwnames)) goto fail;
6956 {
6957 PyThreadState* __tstate = wxPyBeginAllowThreads();
6958 result = (wxNativeEncodingInfo *)new wxNativeEncodingInfo();
6959
6960 wxPyEndAllowThreads(__tstate);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 }
15afbcd0 6963 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeEncodingInfo, 1);
d14a1e28
RD
6964 return resultobj;
6965 fail:
6966 return NULL;
6967}
6968
6969
c32bde28 6970static PyObject *_wrap_delete_NativeEncodingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6971 PyObject *resultobj;
6972 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
6973 PyObject * obj0 = 0 ;
6974 char *kwnames[] = {
6975 (char *) "self", NULL
6976 };
6977
6978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_NativeEncodingInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
6979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6981 {
6982 PyThreadState* __tstate = wxPyBeginAllowThreads();
6983 delete arg1;
6984
6985 wxPyEndAllowThreads(__tstate);
6986 if (PyErr_Occurred()) SWIG_fail;
6987 }
6988 Py_INCREF(Py_None); resultobj = Py_None;
6989 return resultobj;
6990 fail:
6991 return NULL;
6992}
6993
6994
c32bde28 6995static PyObject *_wrap_NativeEncodingInfo_FromString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6996 PyObject *resultobj;
6997 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
6998 wxString *arg2 = 0 ;
6999 bool result;
ae8162c8 7000 bool temp2 = false ;
d14a1e28
RD
7001 PyObject * obj0 = 0 ;
7002 PyObject * obj1 = 0 ;
7003 char *kwnames[] = {
7004 (char *) "self",(char *) "s", NULL
7005 };
7006
7007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeEncodingInfo_FromString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
7009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7010 {
7011 arg2 = wxString_in_helper(obj1);
7012 if (arg2 == NULL) SWIG_fail;
ae8162c8 7013 temp2 = true;
d14a1e28
RD
7014 }
7015 {
7016 PyThreadState* __tstate = wxPyBeginAllowThreads();
7017 result = (bool)(arg1)->FromString((wxString const &)*arg2);
7018
7019 wxPyEndAllowThreads(__tstate);
7020 if (PyErr_Occurred()) SWIG_fail;
7021 }
4f89f6a3
RD
7022 {
7023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7024 }
d14a1e28
RD
7025 {
7026 if (temp2)
7027 delete arg2;
7028 }
7029 return resultobj;
7030 fail:
7031 {
7032 if (temp2)
7033 delete arg2;
7034 }
7035 return NULL;
7036}
7037
7038
c32bde28 7039static PyObject *_wrap_NativeEncodingInfo_ToString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7040 PyObject *resultobj;
7041 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
7042 wxString result;
7043 PyObject * obj0 = 0 ;
7044 char *kwnames[] = {
7045 (char *) "self", NULL
7046 };
7047
7048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeEncodingInfo_ToString",kwnames,&obj0)) goto fail;
15afbcd0
RD
7049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
7050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7051 {
7052 PyThreadState* __tstate = wxPyBeginAllowThreads();
7053 result = ((wxNativeEncodingInfo const *)arg1)->ToString();
7054
7055 wxPyEndAllowThreads(__tstate);
7056 if (PyErr_Occurred()) SWIG_fail;
7057 }
7058 {
7059#if wxUSE_UNICODE
7060 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7061#else
7062 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7063#endif
7064 }
7065 return resultobj;
7066 fail:
7067 return NULL;
7068}
7069
7070
c32bde28 7071static PyObject * NativeEncodingInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7072 PyObject *obj;
7073 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7074 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo, obj);
7075 Py_INCREF(obj);
7076 return Py_BuildValue((char *)"");
7077}
c32bde28 7078static PyObject *_wrap_GetNativeFontEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7079 PyObject *resultobj;
7080 int arg1 ;
7081 wxNativeEncodingInfo *result;
994141e6 7082 PyObject * obj0 = 0 ;
d14a1e28
RD
7083 char *kwnames[] = {
7084 (char *) "encoding", NULL
7085 };
7086
994141e6 7087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetNativeFontEncoding",kwnames,&obj0)) goto fail;
c32bde28 7088 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 7089 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
7090 {
7091 PyThreadState* __tstate = wxPyBeginAllowThreads();
7092 result = (wxNativeEncodingInfo *)wxGetNativeFontEncoding((wxFontEncoding )arg1);
d14a1e28
RD
7093
7094 wxPyEndAllowThreads(__tstate);
7095 if (PyErr_Occurred()) SWIG_fail;
7096 }
15afbcd0 7097 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeEncodingInfo, 0);
d14a1e28
RD
7098 return resultobj;
7099 fail:
7100 return NULL;
7101}
7102
7103
c32bde28 7104static PyObject *_wrap_TestFontEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7105 PyObject *resultobj;
7106 wxNativeEncodingInfo *arg1 = 0 ;
7107 bool result;
7108 PyObject * obj0 = 0 ;
7109 char *kwnames[] = {
7110 (char *) "info", NULL
7111 };
7112
7113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TestFontEncoding",kwnames,&obj0)) goto fail;
15afbcd0
RD
7114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
7115 SWIG_POINTER_EXCEPTION | 0)) == -1)
7116 SWIG_fail;
d14a1e28 7117 if (arg1 == NULL) {
15afbcd0
RD
7118 PyErr_SetString(PyExc_TypeError,"null reference");
7119 SWIG_fail;
d14a1e28
RD
7120 }
7121 {
7122 PyThreadState* __tstate = wxPyBeginAllowThreads();
7123 result = (bool)wxTestFontEncoding((wxNativeEncodingInfo const &)*arg1);
7124
7125 wxPyEndAllowThreads(__tstate);
7126 if (PyErr_Occurred()) SWIG_fail;
7127 }
4f89f6a3
RD
7128 {
7129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7130 }
d14a1e28
RD
7131 return resultobj;
7132 fail:
7133 return NULL;
7134}
7135
7136
c32bde28 7137static PyObject *_wrap_new_FontMapper(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7138 PyObject *resultobj;
7139 wxFontMapper *result;
7140 char *kwnames[] = {
7141 NULL
7142 };
7143
7144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontMapper",kwnames)) goto fail;
7145 {
7146 PyThreadState* __tstate = wxPyBeginAllowThreads();
7147 result = (wxFontMapper *)new wxFontMapper();
7148
7149 wxPyEndAllowThreads(__tstate);
7150 if (PyErr_Occurred()) SWIG_fail;
7151 }
15afbcd0 7152 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontMapper, 1);
d14a1e28
RD
7153 return resultobj;
7154 fail:
7155 return NULL;
7156}
7157
7158
c32bde28 7159static PyObject *_wrap_delete_FontMapper(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7160 PyObject *resultobj;
7161 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7162 PyObject * obj0 = 0 ;
7163 char *kwnames[] = {
7164 (char *) "self", NULL
7165 };
7166
7167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontMapper",kwnames,&obj0)) goto fail;
15afbcd0
RD
7168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7170 {
7171 PyThreadState* __tstate = wxPyBeginAllowThreads();
7172 delete arg1;
7173
7174 wxPyEndAllowThreads(__tstate);
7175 if (PyErr_Occurred()) SWIG_fail;
7176 }
7177 Py_INCREF(Py_None); resultobj = Py_None;
7178 return resultobj;
7179 fail:
7180 return NULL;
7181}
7182
7183
c32bde28 7184static PyObject *_wrap_FontMapper_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7185 PyObject *resultobj;
7186 wxFontMapper *result;
7187 char *kwnames[] = {
7188 NULL
7189 };
7190
7191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FontMapper_Get",kwnames)) goto fail;
7192 {
7193 PyThreadState* __tstate = wxPyBeginAllowThreads();
7194 result = (wxFontMapper *)wxFontMapper::Get();
7195
7196 wxPyEndAllowThreads(__tstate);
7197 if (PyErr_Occurred()) SWIG_fail;
7198 }
15afbcd0 7199 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontMapper, 0);
d14a1e28
RD
7200 return resultobj;
7201 fail:
7202 return NULL;
7203}
7204
7205
c32bde28 7206static PyObject *_wrap_FontMapper_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7207 PyObject *resultobj;
7208 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7209 wxFontMapper *result;
7210 PyObject * obj0 = 0 ;
7211 char *kwnames[] = {
7212 (char *) "mapper", NULL
7213 };
7214
7215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_Set",kwnames,&obj0)) goto fail;
15afbcd0
RD
7216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7218 {
7219 PyThreadState* __tstate = wxPyBeginAllowThreads();
7220 result = (wxFontMapper *)wxFontMapper::Set(arg1);
7221
7222 wxPyEndAllowThreads(__tstate);
7223 if (PyErr_Occurred()) SWIG_fail;
7224 }
15afbcd0 7225 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontMapper, 0);
d14a1e28
RD
7226 return resultobj;
7227 fail:
7228 return NULL;
7229}
7230
7231
c32bde28 7232static PyObject *_wrap_FontMapper_CharsetToEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7233 PyObject *resultobj;
7234 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7235 wxString *arg2 = 0 ;
ae8162c8 7236 bool arg3 = (bool) true ;
d14a1e28 7237 int result;
ae8162c8 7238 bool temp2 = false ;
d14a1e28
RD
7239 PyObject * obj0 = 0 ;
7240 PyObject * obj1 = 0 ;
7241 PyObject * obj2 = 0 ;
7242 char *kwnames[] = {
7243 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7244 };
7245
7246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7249 {
7250 arg2 = wxString_in_helper(obj1);
7251 if (arg2 == NULL) SWIG_fail;
ae8162c8 7252 temp2 = true;
d14a1e28
RD
7253 }
7254 if (obj2) {
c32bde28 7255 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 7256 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7257 }
7258 {
7259 PyThreadState* __tstate = wxPyBeginAllowThreads();
7260 result = (int)(arg1)->CharsetToEncoding((wxString const &)*arg2,arg3);
7261
7262 wxPyEndAllowThreads(__tstate);
7263 if (PyErr_Occurred()) SWIG_fail;
7264 }
c32bde28 7265 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7266 {
7267 if (temp2)
7268 delete arg2;
7269 }
7270 return resultobj;
7271 fail:
7272 {
7273 if (temp2)
7274 delete arg2;
7275 }
7276 return NULL;
7277}
7278
7279
c32bde28 7280static PyObject *_wrap_FontMapper_GetSupportedEncodingsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7281 PyObject *resultobj;
7282 size_t result;
7283 char *kwnames[] = {
7284 NULL
7285 };
7286
7287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames)) goto fail;
7288 {
7289 PyThreadState* __tstate = wxPyBeginAllowThreads();
7290 result = (size_t)wxFontMapper::GetSupportedEncodingsCount();
7291
7292 wxPyEndAllowThreads(__tstate);
7293 if (PyErr_Occurred()) SWIG_fail;
7294 }
c32bde28 7295 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
7296 return resultobj;
7297 fail:
7298 return NULL;
7299}
7300
7301
c32bde28 7302static PyObject *_wrap_FontMapper_GetEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7303 PyObject *resultobj;
7304 size_t arg1 ;
7305 int result;
7306 PyObject * obj0 = 0 ;
7307 char *kwnames[] = {
7308 (char *) "n", NULL
7309 };
7310
7311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncoding",kwnames,&obj0)) goto fail;
c32bde28 7312 arg1 = (size_t)SWIG_As_unsigned_SS_long(obj0);
15afbcd0 7313 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7314 {
7315 PyThreadState* __tstate = wxPyBeginAllowThreads();
7316 result = (int)wxFontMapper::GetEncoding(arg1);
7317
7318 wxPyEndAllowThreads(__tstate);
7319 if (PyErr_Occurred()) SWIG_fail;
7320 }
c32bde28 7321 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7322 return resultobj;
7323 fail:
7324 return NULL;
7325}
7326
7327
c32bde28 7328static PyObject *_wrap_FontMapper_GetEncodingName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7329 PyObject *resultobj;
7330 int arg1 ;
7331 wxString result;
994141e6 7332 PyObject * obj0 = 0 ;
d14a1e28
RD
7333 char *kwnames[] = {
7334 (char *) "encoding", NULL
7335 };
7336
994141e6 7337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncodingName",kwnames,&obj0)) goto fail;
c32bde28 7338 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 7339 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7340 {
7341 PyThreadState* __tstate = wxPyBeginAllowThreads();
7342 result = wxFontMapper::GetEncodingName((wxFontEncoding )arg1);
7343
7344 wxPyEndAllowThreads(__tstate);
7345 if (PyErr_Occurred()) SWIG_fail;
7346 }
7347 {
7348#if wxUSE_UNICODE
7349 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7350#else
7351 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7352#endif
7353 }
7354 return resultobj;
7355 fail:
7356 return NULL;
7357}
7358
7359
c32bde28 7360static PyObject *_wrap_FontMapper_GetEncodingDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7361 PyObject *resultobj;
7362 int arg1 ;
7363 wxString result;
994141e6 7364 PyObject * obj0 = 0 ;
d14a1e28
RD
7365 char *kwnames[] = {
7366 (char *) "encoding", NULL
7367 };
7368
994141e6 7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncodingDescription",kwnames,&obj0)) goto fail;
c32bde28 7370 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 7371 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7372 {
7373 PyThreadState* __tstate = wxPyBeginAllowThreads();
7374 result = wxFontMapper::GetEncodingDescription((wxFontEncoding )arg1);
7375
7376 wxPyEndAllowThreads(__tstate);
7377 if (PyErr_Occurred()) SWIG_fail;
7378 }
7379 {
7380#if wxUSE_UNICODE
7381 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7382#else
7383 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7384#endif
7385 }
7386 return resultobj;
7387 fail:
7388 return NULL;
7389}
7390
7391
c32bde28 7392static PyObject *_wrap_FontMapper_GetEncodingFromName(PyObject *, PyObject *args, PyObject *kwargs) {
b2df227b
RD
7393 PyObject *resultobj;
7394 wxString *arg1 = 0 ;
7395 int result;
ae8162c8 7396 bool temp1 = false ;
b2df227b
RD
7397 PyObject * obj0 = 0 ;
7398 char *kwnames[] = {
7399 (char *) "name", NULL
7400 };
7401
7402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncodingFromName",kwnames,&obj0)) goto fail;
7403 {
7404 arg1 = wxString_in_helper(obj0);
7405 if (arg1 == NULL) SWIG_fail;
ae8162c8 7406 temp1 = true;
b2df227b
RD
7407 }
7408 {
7409 PyThreadState* __tstate = wxPyBeginAllowThreads();
7410 result = (int)wxFontMapper::GetEncodingFromName((wxString const &)*arg1);
7411
7412 wxPyEndAllowThreads(__tstate);
7413 if (PyErr_Occurred()) SWIG_fail;
7414 }
c32bde28 7415 resultobj = SWIG_From_int((int)result);
b2df227b
RD
7416 {
7417 if (temp1)
7418 delete arg1;
7419 }
7420 return resultobj;
7421 fail:
7422 {
7423 if (temp1)
7424 delete arg1;
7425 }
7426 return NULL;
7427}
7428
7429
c32bde28 7430static PyObject *_wrap_FontMapper_SetConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7431 PyObject *resultobj;
7432 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7433 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
7434 PyObject * obj0 = 0 ;
7435 PyObject * obj1 = 0 ;
7436 char *kwnames[] = {
7437 (char *) "self",(char *) "config", NULL
7438 };
7439
7440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetConfig",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7443 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
7444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7445 {
7446 PyThreadState* __tstate = wxPyBeginAllowThreads();
7447 (arg1)->SetConfig(arg2);
7448
7449 wxPyEndAllowThreads(__tstate);
7450 if (PyErr_Occurred()) SWIG_fail;
7451 }
7452 Py_INCREF(Py_None); resultobj = Py_None;
7453 return resultobj;
7454 fail:
7455 return NULL;
7456}
7457
7458
c32bde28 7459static PyObject *_wrap_FontMapper_SetConfigPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7460 PyObject *resultobj;
7461 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7462 wxString *arg2 = 0 ;
ae8162c8 7463 bool temp2 = false ;
d14a1e28
RD
7464 PyObject * obj0 = 0 ;
7465 PyObject * obj1 = 0 ;
7466 char *kwnames[] = {
7467 (char *) "self",(char *) "prefix", NULL
7468 };
7469
7470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetConfigPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7473 {
7474 arg2 = wxString_in_helper(obj1);
7475 if (arg2 == NULL) SWIG_fail;
ae8162c8 7476 temp2 = true;
d14a1e28
RD
7477 }
7478 {
7479 PyThreadState* __tstate = wxPyBeginAllowThreads();
7480 (arg1)->SetConfigPath((wxString const &)*arg2);
7481
7482 wxPyEndAllowThreads(__tstate);
7483 if (PyErr_Occurred()) SWIG_fail;
7484 }
7485 Py_INCREF(Py_None); resultobj = Py_None;
7486 {
7487 if (temp2)
7488 delete arg2;
7489 }
7490 return resultobj;
7491 fail:
7492 {
7493 if (temp2)
7494 delete arg2;
7495 }
7496 return NULL;
7497}
7498
7499
c32bde28 7500static PyObject *_wrap_FontMapper_GetDefaultConfigPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7501 PyObject *resultobj;
7502 wxString result;
7503 char *kwnames[] = {
7504 NULL
7505 };
7506
7507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FontMapper_GetDefaultConfigPath",kwnames)) goto fail;
7508 {
7509 PyThreadState* __tstate = wxPyBeginAllowThreads();
7510 result = wxFontMapper::GetDefaultConfigPath();
7511
7512 wxPyEndAllowThreads(__tstate);
7513 if (PyErr_Occurred()) SWIG_fail;
7514 }
7515 {
7516#if wxUSE_UNICODE
7517 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7518#else
7519 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7520#endif
7521 }
7522 return resultobj;
7523 fail:
7524 return NULL;
7525}
7526
7527
c32bde28 7528static PyObject *_wrap_FontMapper_GetAltForEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7529 PyObject *resultobj;
7530 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7531 int arg2 ;
7532 wxString const &arg3_defvalue = wxPyEmptyString ;
7533 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8 7534 bool arg4 = (bool) true ;
d14a1e28 7535 PyObject *result;
ae8162c8 7536 bool temp3 = false ;
d14a1e28 7537 PyObject * obj0 = 0 ;
994141e6 7538 PyObject * obj1 = 0 ;
d14a1e28
RD
7539 PyObject * obj2 = 0 ;
7540 PyObject * obj3 = 0 ;
7541 char *kwnames[] = {
7542 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7543 };
7544
994141e6 7545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
7546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7548 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7549 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7550 if (obj2) {
7551 {
7552 arg3 = wxString_in_helper(obj2);
7553 if (arg3 == NULL) SWIG_fail;
ae8162c8 7554 temp3 = true;
d14a1e28
RD
7555 }
7556 }
7557 if (obj3) {
c32bde28 7558 arg4 = (bool)SWIG_As_bool(obj3);
15afbcd0 7559 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7560 }
7561 {
7562 PyThreadState* __tstate = wxPyBeginAllowThreads();
7563 result = (PyObject *)wxFontMapper_GetAltForEncoding(arg1,(wxFontEncoding )arg2,(wxString const &)*arg3,arg4);
7564
7565 wxPyEndAllowThreads(__tstate);
7566 if (PyErr_Occurred()) SWIG_fail;
7567 }
7568 resultobj = result;
7569 {
7570 if (temp3)
7571 delete arg3;
7572 }
7573 return resultobj;
7574 fail:
7575 {
7576 if (temp3)
7577 delete arg3;
7578 }
7579 return NULL;
7580}
7581
7582
c32bde28 7583static PyObject *_wrap_FontMapper_IsEncodingAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7584 PyObject *resultobj;
7585 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7586 int arg2 ;
7587 wxString const &arg3_defvalue = wxPyEmptyString ;
7588 wxString *arg3 = (wxString *) &arg3_defvalue ;
7589 bool result;
ae8162c8 7590 bool temp3 = false ;
d14a1e28 7591 PyObject * obj0 = 0 ;
994141e6 7592 PyObject * obj1 = 0 ;
d14a1e28
RD
7593 PyObject * obj2 = 0 ;
7594 char *kwnames[] = {
7595 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7596 };
7597
994141e6 7598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7601 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7602 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7603 if (obj2) {
7604 {
7605 arg3 = wxString_in_helper(obj2);
7606 if (arg3 == NULL) SWIG_fail;
ae8162c8 7607 temp3 = true;
d14a1e28
RD
7608 }
7609 }
7610 {
7611 PyThreadState* __tstate = wxPyBeginAllowThreads();
7612 result = (bool)(arg1)->IsEncodingAvailable((wxFontEncoding )arg2,(wxString const &)*arg3);
7613
7614 wxPyEndAllowThreads(__tstate);
7615 if (PyErr_Occurred()) SWIG_fail;
7616 }
4f89f6a3
RD
7617 {
7618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7619 }
d14a1e28
RD
7620 {
7621 if (temp3)
7622 delete arg3;
7623 }
7624 return resultobj;
7625 fail:
7626 {
7627 if (temp3)
7628 delete arg3;
7629 }
7630 return NULL;
7631}
7632
7633
c32bde28 7634static PyObject *_wrap_FontMapper_SetDialogParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7635 PyObject *resultobj;
7636 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7637 wxWindow *arg2 = (wxWindow *) 0 ;
7638 PyObject * obj0 = 0 ;
7639 PyObject * obj1 = 0 ;
7640 char *kwnames[] = {
7641 (char *) "self",(char *) "parent", NULL
7642 };
7643
7644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetDialogParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7647 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7649 {
7650 PyThreadState* __tstate = wxPyBeginAllowThreads();
7651 (arg1)->SetDialogParent(arg2);
7652
7653 wxPyEndAllowThreads(__tstate);
7654 if (PyErr_Occurred()) SWIG_fail;
7655 }
7656 Py_INCREF(Py_None); resultobj = Py_None;
7657 return resultobj;
7658 fail:
7659 return NULL;
7660}
7661
7662
c32bde28 7663static PyObject *_wrap_FontMapper_SetDialogTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7664 PyObject *resultobj;
7665 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7666 wxString *arg2 = 0 ;
ae8162c8 7667 bool temp2 = false ;
d14a1e28
RD
7668 PyObject * obj0 = 0 ;
7669 PyObject * obj1 = 0 ;
7670 char *kwnames[] = {
7671 (char *) "self",(char *) "title", NULL
7672 };
7673
7674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetDialogTitle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7677 {
7678 arg2 = wxString_in_helper(obj1);
7679 if (arg2 == NULL) SWIG_fail;
ae8162c8 7680 temp2 = true;
d14a1e28
RD
7681 }
7682 {
7683 PyThreadState* __tstate = wxPyBeginAllowThreads();
7684 (arg1)->SetDialogTitle((wxString const &)*arg2);
7685
7686 wxPyEndAllowThreads(__tstate);
7687 if (PyErr_Occurred()) SWIG_fail;
7688 }
7689 Py_INCREF(Py_None); resultobj = Py_None;
7690 {
7691 if (temp2)
7692 delete arg2;
7693 }
7694 return resultobj;
7695 fail:
7696 {
7697 if (temp2)
7698 delete arg2;
7699 }
7700 return NULL;
7701}
7702
7703
c32bde28 7704static PyObject * FontMapper_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7705 PyObject *obj;
7706 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7707 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper, obj);
7708 Py_INCREF(obj);
7709 return Py_BuildValue((char *)"");
7710}
c32bde28 7711static PyObject *_wrap_new_Font(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7712 PyObject *resultobj;
7713 int arg1 ;
7714 int arg2 ;
7715 int arg3 ;
7716 int arg4 ;
ae8162c8 7717 bool arg5 = (bool) false ;
d14a1e28
RD
7718 wxString const &arg6_defvalue = wxPyEmptyString ;
7719 wxString *arg6 = (wxString *) &arg6_defvalue ;
7720 int arg7 = (int) wxFONTENCODING_DEFAULT ;
7721 wxFont *result;
ae8162c8 7722 bool temp6 = false ;
994141e6
RD
7723 PyObject * obj0 = 0 ;
7724 PyObject * obj1 = 0 ;
7725 PyObject * obj2 = 0 ;
7726 PyObject * obj3 = 0 ;
d14a1e28
RD
7727 PyObject * obj4 = 0 ;
7728 PyObject * obj5 = 0 ;
994141e6 7729 PyObject * obj6 = 0 ;
d14a1e28
RD
7730 char *kwnames[] = {
7731 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7732 };
7733
994141e6 7734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:new_Font",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
c32bde28 7735 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 7736 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7737 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7738 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7739 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 7740 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7741 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 7742 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7743 if (obj4) {
c32bde28 7744 arg5 = (bool)SWIG_As_bool(obj4);
15afbcd0 7745 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7746 }
7747 if (obj5) {
7748 {
7749 arg6 = wxString_in_helper(obj5);
7750 if (arg6 == NULL) SWIG_fail;
ae8162c8 7751 temp6 = true;
d14a1e28
RD
7752 }
7753 }
994141e6 7754 if (obj6) {
c32bde28 7755 arg7 = (int)SWIG_As_int(obj6);
15afbcd0 7756 if (PyErr_Occurred()) SWIG_fail;
994141e6 7757 }
d14a1e28 7758 {
e3b71cb8 7759 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7760 PyThreadState* __tstate = wxPyBeginAllowThreads();
7761 result = (wxFont *)new wxFont(arg1,arg2,arg3,arg4,arg5,(wxString const &)*arg6,(wxFontEncoding )arg7);
7762
7763 wxPyEndAllowThreads(__tstate);
110da5b0 7764 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7765 }
15afbcd0 7766 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
7767 {
7768 if (temp6)
7769 delete arg6;
7770 }
7771 return resultobj;
7772 fail:
7773 {
7774 if (temp6)
7775 delete arg6;
7776 }
7777 return NULL;
7778}
7779
7780
c32bde28 7781static PyObject *_wrap_delete_Font(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7782 PyObject *resultobj;
7783 wxFont *arg1 = (wxFont *) 0 ;
7784 PyObject * obj0 = 0 ;
7785 char *kwnames[] = {
7786 (char *) "self", NULL
7787 };
7788
7789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Font",kwnames,&obj0)) goto fail;
15afbcd0
RD
7790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7792 {
7793 PyThreadState* __tstate = wxPyBeginAllowThreads();
7794 delete arg1;
7795
7796 wxPyEndAllowThreads(__tstate);
7797 if (PyErr_Occurred()) SWIG_fail;
7798 }
7799 Py_INCREF(Py_None); resultobj = Py_None;
7800 return resultobj;
7801 fail:
7802 return NULL;
7803}
7804
7805
c32bde28 7806static PyObject *_wrap_new_FontFromNativeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7807 PyObject *resultobj;
7808 wxNativeFontInfo *arg1 = 0 ;
7809 wxFont *result;
7810 PyObject * obj0 = 0 ;
7811 char *kwnames[] = {
7812 (char *) "info", NULL
7813 };
7814
7815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FontFromNativeInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
7816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
7817 SWIG_POINTER_EXCEPTION | 0)) == -1)
7818 SWIG_fail;
d14a1e28 7819 if (arg1 == NULL) {
15afbcd0
RD
7820 PyErr_SetString(PyExc_TypeError,"null reference");
7821 SWIG_fail;
d14a1e28
RD
7822 }
7823 {
e3b71cb8 7824 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7825 PyThreadState* __tstate = wxPyBeginAllowThreads();
7826 result = (wxFont *)new wxFont((wxNativeFontInfo const &)*arg1);
7827
7828 wxPyEndAllowThreads(__tstate);
110da5b0 7829 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7830 }
15afbcd0 7831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
7832 return resultobj;
7833 fail:
7834 return NULL;
7835}
7836
7837
c32bde28 7838static PyObject *_wrap_new_FontFromNativeInfoString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7839 PyObject *resultobj;
7840 wxString *arg1 = 0 ;
7841 wxFont *result;
ae8162c8 7842 bool temp1 = false ;
d14a1e28
RD
7843 PyObject * obj0 = 0 ;
7844 char *kwnames[] = {
7845 (char *) "info", NULL
7846 };
7847
7848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FontFromNativeInfoString",kwnames,&obj0)) goto fail;
7849 {
7850 arg1 = wxString_in_helper(obj0);
7851 if (arg1 == NULL) SWIG_fail;
ae8162c8 7852 temp1 = true;
d14a1e28
RD
7853 }
7854 {
e3b71cb8 7855 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7856 PyThreadState* __tstate = wxPyBeginAllowThreads();
7857 result = (wxFont *)new_wxFont((wxString const &)*arg1);
7858
7859 wxPyEndAllowThreads(__tstate);
110da5b0 7860 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7861 }
15afbcd0 7862 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
7863 {
7864 if (temp1)
7865 delete arg1;
7866 }
7867 return resultobj;
7868 fail:
7869 {
7870 if (temp1)
7871 delete arg1;
7872 }
7873 return NULL;
7874}
7875
7876
c32bde28 7877static PyObject *_wrap_new_Font2(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7878 PyObject *resultobj;
7879 int arg1 ;
7880 int arg2 ;
7881 int arg3 = (int) wxFONTFLAG_DEFAULT ;
7882 wxString const &arg4_defvalue = wxPyEmptyString ;
7883 wxString *arg4 = (wxString *) &arg4_defvalue ;
7884 int arg5 = (int) wxFONTENCODING_DEFAULT ;
7885 wxFont *result;
ae8162c8 7886 bool temp4 = false ;
994141e6
RD
7887 PyObject * obj0 = 0 ;
7888 PyObject * obj1 = 0 ;
7889 PyObject * obj2 = 0 ;
d14a1e28 7890 PyObject * obj3 = 0 ;
994141e6 7891 PyObject * obj4 = 0 ;
d14a1e28
RD
7892 char *kwnames[] = {
7893 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7894 };
7895
994141e6 7896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_Font2",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
c32bde28 7897 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 7898 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7899 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7900 if (PyErr_Occurred()) SWIG_fail;
994141e6 7901 if (obj2) {
c32bde28 7902 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 7903 if (PyErr_Occurred()) SWIG_fail;
994141e6 7904 }
d14a1e28
RD
7905 if (obj3) {
7906 {
7907 arg4 = wxString_in_helper(obj3);
7908 if (arg4 == NULL) SWIG_fail;
ae8162c8 7909 temp4 = true;
d14a1e28
RD
7910 }
7911 }
994141e6 7912 if (obj4) {
c32bde28 7913 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 7914 if (PyErr_Occurred()) SWIG_fail;
994141e6 7915 }
d14a1e28 7916 {
e3b71cb8 7917 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7918 PyThreadState* __tstate = wxPyBeginAllowThreads();
7919 result = (wxFont *)new_wxFont(arg1,(wxFontFamily )arg2,arg3,(wxString const &)*arg4,(wxFontEncoding )arg5);
7920
7921 wxPyEndAllowThreads(__tstate);
110da5b0 7922 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7923 }
15afbcd0 7924 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
7925 {
7926 if (temp4)
7927 delete arg4;
7928 }
7929 return resultobj;
7930 fail:
7931 {
7932 if (temp4)
7933 delete arg4;
7934 }
7935 return NULL;
7936}
7937
7938
b6294124
RD
7939static PyObject *_wrap_new_FontFromPixelSize(PyObject *, PyObject *args, PyObject *kwargs) {
7940 PyObject *resultobj;
7941 wxSize *arg1 = 0 ;
7942 int arg2 ;
7943 int arg3 ;
7944 int arg4 ;
7945 bool arg5 = (bool) false ;
7946 wxString const &arg6_defvalue = wxEmptyString ;
7947 wxString *arg6 = (wxString *) &arg6_defvalue ;
7948 int arg7 = (int) wxFONTENCODING_DEFAULT ;
7949 wxFont *result;
7950 wxSize temp1 ;
7951 bool temp6 = false ;
7952 PyObject * obj0 = 0 ;
7953 PyObject * obj1 = 0 ;
7954 PyObject * obj2 = 0 ;
7955 PyObject * obj3 = 0 ;
7956 PyObject * obj4 = 0 ;
7957 PyObject * obj5 = 0 ;
7958 PyObject * obj6 = 0 ;
7959 char *kwnames[] = {
7960 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
7961 };
7962
7963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7964 {
7965 arg1 = &temp1;
7966 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
7967 }
7968 arg2 = (int)SWIG_As_int(obj1);
7969 if (PyErr_Occurred()) SWIG_fail;
7970 arg3 = (int)SWIG_As_int(obj2);
7971 if (PyErr_Occurred()) SWIG_fail;
7972 arg4 = (int)SWIG_As_int(obj3);
7973 if (PyErr_Occurred()) SWIG_fail;
7974 if (obj4) {
7975 arg5 = (bool)SWIG_As_bool(obj4);
7976 if (PyErr_Occurred()) SWIG_fail;
7977 }
7978 if (obj5) {
7979 {
7980 arg6 = wxString_in_helper(obj5);
7981 if (arg6 == NULL) SWIG_fail;
7982 temp6 = true;
7983 }
7984 }
7985 if (obj6) {
7986 arg7 = (int)SWIG_As_int(obj6);
7987 if (PyErr_Occurred()) SWIG_fail;
7988 }
7989 {
7990 if (!wxPyCheckForApp()) SWIG_fail;
7991 PyThreadState* __tstate = wxPyBeginAllowThreads();
7992 result = (wxFont *)new_wxFont((wxSize const &)*arg1,arg2,arg3,arg4,arg5,(wxString const &)*arg6,(wxFontEncoding )arg7);
7993
7994 wxPyEndAllowThreads(__tstate);
7995 if (PyErr_Occurred()) SWIG_fail;
7996 }
7997 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
7998 {
7999 if (temp6)
8000 delete arg6;
8001 }
8002 return resultobj;
8003 fail:
8004 {
8005 if (temp6)
8006 delete arg6;
8007 }
8008 return NULL;
8009}
8010
8011
c32bde28 8012static PyObject *_wrap_Font_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8013 PyObject *resultobj;
8014 wxFont *arg1 = (wxFont *) 0 ;
8015 bool result;
8016 PyObject * obj0 = 0 ;
8017 char *kwnames[] = {
8018 (char *) "self", NULL
8019 };
8020
8021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
8022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8024 {
8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
8026 result = (bool)((wxFont const *)arg1)->Ok();
8027
8028 wxPyEndAllowThreads(__tstate);
8029 if (PyErr_Occurred()) SWIG_fail;
8030 }
4f89f6a3
RD
8031 {
8032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8033 }
d14a1e28
RD
8034 return resultobj;
8035 fail:
8036 return NULL;
8037}
8038
8039
c32bde28 8040static PyObject *_wrap_Font___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8041 PyObject *resultobj;
8042 wxFont *arg1 = (wxFont *) 0 ;
22faec7d 8043 wxFont *arg2 = (wxFont *) 0 ;
d14a1e28
RD
8044 bool result;
8045 PyObject * obj0 = 0 ;
8046 PyObject * obj1 = 0 ;
8047 char *kwnames[] = {
22faec7d 8048 (char *) "self",(char *) "other", NULL
d14a1e28
RD
8049 };
8050
8051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8054 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
8055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8056 {
8057 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 8058 result = (bool)wxFont___eq__(arg1,(wxFont const *)arg2);
d14a1e28
RD
8059
8060 wxPyEndAllowThreads(__tstate);
8061 if (PyErr_Occurred()) SWIG_fail;
8062 }
4f89f6a3
RD
8063 {
8064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8065 }
d14a1e28
RD
8066 return resultobj;
8067 fail:
8068 return NULL;
8069}
8070
8071
c32bde28 8072static PyObject *_wrap_Font___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8073 PyObject *resultobj;
8074 wxFont *arg1 = (wxFont *) 0 ;
22faec7d 8075 wxFont *arg2 = (wxFont *) 0 ;
d14a1e28
RD
8076 bool result;
8077 PyObject * obj0 = 0 ;
8078 PyObject * obj1 = 0 ;
8079 char *kwnames[] = {
22faec7d 8080 (char *) "self",(char *) "other", NULL
d14a1e28
RD
8081 };
8082
8083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8086 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
8087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8088 {
8089 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 8090 result = (bool)wxFont___ne__(arg1,(wxFont const *)arg2);
d14a1e28
RD
8091
8092 wxPyEndAllowThreads(__tstate);
8093 if (PyErr_Occurred()) SWIG_fail;
8094 }
4f89f6a3
RD
8095 {
8096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8097 }
d14a1e28
RD
8098 return resultobj;
8099 fail:
8100 return NULL;
8101}
8102
8103
c32bde28 8104static PyObject *_wrap_Font_GetPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8105 PyObject *resultobj;
8106 wxFont *arg1 = (wxFont *) 0 ;
8107 int result;
8108 PyObject * obj0 = 0 ;
8109 char *kwnames[] = {
8110 (char *) "self", NULL
8111 };
8112
8113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetPointSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
8114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8116 {
8117 PyThreadState* __tstate = wxPyBeginAllowThreads();
8118 result = (int)((wxFont const *)arg1)->GetPointSize();
8119
8120 wxPyEndAllowThreads(__tstate);
8121 if (PyErr_Occurred()) SWIG_fail;
8122 }
c32bde28 8123 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8124 return resultobj;
8125 fail:
8126 return NULL;
8127}
8128
8129
b6294124
RD
8130static PyObject *_wrap_Font_GetPixelSize(PyObject *, PyObject *args, PyObject *kwargs) {
8131 PyObject *resultobj;
8132 wxFont *arg1 = (wxFont *) 0 ;
8133 wxSize result;
8134 PyObject * obj0 = 0 ;
8135 char *kwnames[] = {
8136 (char *) "self", NULL
8137 };
8138
8139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetPixelSize",kwnames,&obj0)) goto fail;
8140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8142 {
8143 PyThreadState* __tstate = wxPyBeginAllowThreads();
8144 result = ((wxFont const *)arg1)->GetPixelSize();
8145
8146 wxPyEndAllowThreads(__tstate);
8147 if (PyErr_Occurred()) SWIG_fail;
8148 }
8149 {
8150 wxSize * resultptr;
8151 resultptr = new wxSize((wxSize &) result);
8152 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
8153 }
8154 return resultobj;
8155 fail:
8156 return NULL;
8157}
8158
8159
8160static PyObject *_wrap_Font_IsUsingSizeInPixels(PyObject *, PyObject *args, PyObject *kwargs) {
8161 PyObject *resultobj;
8162 wxFont *arg1 = (wxFont *) 0 ;
8163 bool result;
8164 PyObject * obj0 = 0 ;
8165 char *kwnames[] = {
8166 (char *) "self", NULL
8167 };
8168
8169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_IsUsingSizeInPixels",kwnames,&obj0)) goto fail;
8170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8172 {
8173 PyThreadState* __tstate = wxPyBeginAllowThreads();
8174 result = (bool)((wxFont const *)arg1)->IsUsingSizeInPixels();
8175
8176 wxPyEndAllowThreads(__tstate);
8177 if (PyErr_Occurred()) SWIG_fail;
8178 }
8179 {
8180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8181 }
8182 return resultobj;
8183 fail:
8184 return NULL;
8185}
8186
8187
c32bde28 8188static PyObject *_wrap_Font_GetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8189 PyObject *resultobj;
8190 wxFont *arg1 = (wxFont *) 0 ;
8191 int result;
8192 PyObject * obj0 = 0 ;
8193 char *kwnames[] = {
8194 (char *) "self", NULL
8195 };
8196
8197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetFamily",kwnames,&obj0)) goto fail;
15afbcd0
RD
8198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8200 {
8201 PyThreadState* __tstate = wxPyBeginAllowThreads();
8202 result = (int)((wxFont const *)arg1)->GetFamily();
8203
8204 wxPyEndAllowThreads(__tstate);
8205 if (PyErr_Occurred()) SWIG_fail;
8206 }
c32bde28 8207 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8208 return resultobj;
8209 fail:
8210 return NULL;
8211}
8212
8213
c32bde28 8214static PyObject *_wrap_Font_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8215 PyObject *resultobj;
8216 wxFont *arg1 = (wxFont *) 0 ;
8217 int result;
8218 PyObject * obj0 = 0 ;
8219 char *kwnames[] = {
8220 (char *) "self", NULL
8221 };
8222
8223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
8224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8226 {
8227 PyThreadState* __tstate = wxPyBeginAllowThreads();
8228 result = (int)((wxFont const *)arg1)->GetStyle();
8229
8230 wxPyEndAllowThreads(__tstate);
8231 if (PyErr_Occurred()) SWIG_fail;
8232 }
c32bde28 8233 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8234 return resultobj;
8235 fail:
8236 return NULL;
8237}
8238
8239
c32bde28 8240static PyObject *_wrap_Font_GetWeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8241 PyObject *resultobj;
8242 wxFont *arg1 = (wxFont *) 0 ;
8243 int result;
8244 PyObject * obj0 = 0 ;
8245 char *kwnames[] = {
8246 (char *) "self", NULL
8247 };
8248
8249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetWeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
8250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8252 {
8253 PyThreadState* __tstate = wxPyBeginAllowThreads();
8254 result = (int)((wxFont const *)arg1)->GetWeight();
8255
8256 wxPyEndAllowThreads(__tstate);
8257 if (PyErr_Occurred()) SWIG_fail;
8258 }
c32bde28 8259 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8260 return resultobj;
8261 fail:
8262 return NULL;
8263}
8264
8265
c32bde28 8266static PyObject *_wrap_Font_GetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8267 PyObject *resultobj;
8268 wxFont *arg1 = (wxFont *) 0 ;
8269 bool result;
8270 PyObject * obj0 = 0 ;
8271 char *kwnames[] = {
8272 (char *) "self", NULL
8273 };
8274
8275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetUnderlined",kwnames,&obj0)) goto fail;
15afbcd0
RD
8276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8278 {
8279 PyThreadState* __tstate = wxPyBeginAllowThreads();
8280 result = (bool)((wxFont const *)arg1)->GetUnderlined();
8281
8282 wxPyEndAllowThreads(__tstate);
8283 if (PyErr_Occurred()) SWIG_fail;
8284 }
4f89f6a3
RD
8285 {
8286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8287 }
d14a1e28
RD
8288 return resultobj;
8289 fail:
8290 return NULL;
8291}
8292
8293
c32bde28 8294static PyObject *_wrap_Font_GetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8295 PyObject *resultobj;
8296 wxFont *arg1 = (wxFont *) 0 ;
8297 wxString result;
8298 PyObject * obj0 = 0 ;
8299 char *kwnames[] = {
8300 (char *) "self", NULL
8301 };
8302
8303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetFaceName",kwnames,&obj0)) goto fail;
15afbcd0
RD
8304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8306 {
8307 PyThreadState* __tstate = wxPyBeginAllowThreads();
8308 result = ((wxFont const *)arg1)->GetFaceName();
8309
8310 wxPyEndAllowThreads(__tstate);
8311 if (PyErr_Occurred()) SWIG_fail;
8312 }
8313 {
8314#if wxUSE_UNICODE
8315 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8316#else
8317 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8318#endif
8319 }
8320 return resultobj;
8321 fail:
8322 return NULL;
8323}
8324
8325
c32bde28 8326static PyObject *_wrap_Font_GetEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8327 PyObject *resultobj;
8328 wxFont *arg1 = (wxFont *) 0 ;
8329 int result;
8330 PyObject * obj0 = 0 ;
8331 char *kwnames[] = {
8332 (char *) "self", NULL
8333 };
8334
8335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetEncoding",kwnames,&obj0)) goto fail;
15afbcd0
RD
8336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8338 {
8339 PyThreadState* __tstate = wxPyBeginAllowThreads();
8340 result = (int)((wxFont const *)arg1)->GetEncoding();
8341
8342 wxPyEndAllowThreads(__tstate);
8343 if (PyErr_Occurred()) SWIG_fail;
8344 }
c32bde28 8345 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8346 return resultobj;
8347 fail:
8348 return NULL;
8349}
8350
8351
c32bde28 8352static PyObject *_wrap_Font_GetNativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8353 PyObject *resultobj;
8354 wxFont *arg1 = (wxFont *) 0 ;
8355 wxNativeFontInfo *result;
8356 PyObject * obj0 = 0 ;
8357 char *kwnames[] = {
8358 (char *) "self", NULL
8359 };
8360
8361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNativeFontInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
8362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8364 {
8365 PyThreadState* __tstate = wxPyBeginAllowThreads();
8366 result = (wxNativeFontInfo *)((wxFont const *)arg1)->GetNativeFontInfo();
8367
8368 wxPyEndAllowThreads(__tstate);
8369 if (PyErr_Occurred()) SWIG_fail;
8370 }
15afbcd0 8371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeFontInfo, 0);
d14a1e28
RD
8372 return resultobj;
8373 fail:
8374 return NULL;
8375}
8376
8377
c32bde28 8378static PyObject *_wrap_Font_IsFixedWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8379 PyObject *resultobj;
8380 wxFont *arg1 = (wxFont *) 0 ;
8381 bool result;
8382 PyObject * obj0 = 0 ;
8383 char *kwnames[] = {
8384 (char *) "self", NULL
8385 };
8386
8387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_IsFixedWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
8388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8390 {
8391 PyThreadState* __tstate = wxPyBeginAllowThreads();
8392 result = (bool)((wxFont const *)arg1)->IsFixedWidth();
8393
8394 wxPyEndAllowThreads(__tstate);
8395 if (PyErr_Occurred()) SWIG_fail;
8396 }
4f89f6a3
RD
8397 {
8398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8399 }
d14a1e28
RD
8400 return resultobj;
8401 fail:
8402 return NULL;
8403}
8404
8405
c32bde28 8406static PyObject *_wrap_Font_GetNativeFontInfoDesc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8407 PyObject *resultobj;
8408 wxFont *arg1 = (wxFont *) 0 ;
8409 wxString result;
8410 PyObject * obj0 = 0 ;
8411 char *kwnames[] = {
8412 (char *) "self", NULL
8413 };
8414
8415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNativeFontInfoDesc",kwnames,&obj0)) goto fail;
15afbcd0
RD
8416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8418 {
8419 PyThreadState* __tstate = wxPyBeginAllowThreads();
8420 result = ((wxFont const *)arg1)->GetNativeFontInfoDesc();
8421
8422 wxPyEndAllowThreads(__tstate);
8423 if (PyErr_Occurred()) SWIG_fail;
8424 }
8425 {
8426#if wxUSE_UNICODE
8427 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8428#else
8429 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8430#endif
8431 }
8432 return resultobj;
8433 fail:
8434 return NULL;
8435}
8436
8437
c32bde28 8438static PyObject *_wrap_Font_GetNativeFontInfoUserDesc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8439 PyObject *resultobj;
8440 wxFont *arg1 = (wxFont *) 0 ;
8441 wxString result;
8442 PyObject * obj0 = 0 ;
8443 char *kwnames[] = {
8444 (char *) "self", NULL
8445 };
8446
8447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames,&obj0)) goto fail;
15afbcd0
RD
8448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8450 {
8451 PyThreadState* __tstate = wxPyBeginAllowThreads();
8452 result = ((wxFont const *)arg1)->GetNativeFontInfoUserDesc();
8453
8454 wxPyEndAllowThreads(__tstate);
8455 if (PyErr_Occurred()) SWIG_fail;
8456 }
8457 {
8458#if wxUSE_UNICODE
8459 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8460#else
8461 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8462#endif
8463 }
8464 return resultobj;
8465 fail:
8466 return NULL;
8467}
8468
8469
c32bde28 8470static PyObject *_wrap_Font_SetPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8471 PyObject *resultobj;
8472 wxFont *arg1 = (wxFont *) 0 ;
8473 int arg2 ;
8474 PyObject * obj0 = 0 ;
994141e6 8475 PyObject * obj1 = 0 ;
d14a1e28
RD
8476 char *kwnames[] = {
8477 (char *) "self",(char *) "pointSize", NULL
8478 };
8479
994141e6 8480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetPointSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8483 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8484 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8485 {
8486 PyThreadState* __tstate = wxPyBeginAllowThreads();
8487 (arg1)->SetPointSize(arg2);
8488
8489 wxPyEndAllowThreads(__tstate);
8490 if (PyErr_Occurred()) SWIG_fail;
8491 }
8492 Py_INCREF(Py_None); resultobj = Py_None;
8493 return resultobj;
8494 fail:
8495 return NULL;
8496}
8497
8498
b6294124
RD
8499static PyObject *_wrap_Font_SetPixelSize(PyObject *, PyObject *args, PyObject *kwargs) {
8500 PyObject *resultobj;
8501 wxFont *arg1 = (wxFont *) 0 ;
8502 wxSize *arg2 = 0 ;
8503 wxSize temp2 ;
8504 PyObject * obj0 = 0 ;
8505 PyObject * obj1 = 0 ;
8506 char *kwnames[] = {
8507 (char *) "self",(char *) "pixelSize", NULL
8508 };
8509
8510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetPixelSize",kwnames,&obj0,&obj1)) goto fail;
8511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8513 {
8514 arg2 = &temp2;
8515 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8516 }
8517 {
8518 PyThreadState* __tstate = wxPyBeginAllowThreads();
8519 (arg1)->SetPixelSize((wxSize const &)*arg2);
8520
8521 wxPyEndAllowThreads(__tstate);
8522 if (PyErr_Occurred()) SWIG_fail;
8523 }
8524 Py_INCREF(Py_None); resultobj = Py_None;
8525 return resultobj;
8526 fail:
8527 return NULL;
8528}
8529
8530
c32bde28 8531static PyObject *_wrap_Font_SetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8532 PyObject *resultobj;
8533 wxFont *arg1 = (wxFont *) 0 ;
8534 int arg2 ;
8535 PyObject * obj0 = 0 ;
994141e6 8536 PyObject * obj1 = 0 ;
d14a1e28
RD
8537 char *kwnames[] = {
8538 (char *) "self",(char *) "family", NULL
8539 };
8540
994141e6 8541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetFamily",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8544 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8545 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8546 {
8547 PyThreadState* __tstate = wxPyBeginAllowThreads();
8548 (arg1)->SetFamily(arg2);
8549
8550 wxPyEndAllowThreads(__tstate);
8551 if (PyErr_Occurred()) SWIG_fail;
8552 }
8553 Py_INCREF(Py_None); resultobj = Py_None;
8554 return resultobj;
8555 fail:
8556 return NULL;
8557}
8558
8559
c32bde28 8560static PyObject *_wrap_Font_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8561 PyObject *resultobj;
8562 wxFont *arg1 = (wxFont *) 0 ;
8563 int arg2 ;
8564 PyObject * obj0 = 0 ;
994141e6 8565 PyObject * obj1 = 0 ;
d14a1e28
RD
8566 char *kwnames[] = {
8567 (char *) "self",(char *) "style", NULL
8568 };
8569
994141e6 8570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8573 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8574 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8575 {
8576 PyThreadState* __tstate = wxPyBeginAllowThreads();
8577 (arg1)->SetStyle(arg2);
8578
8579 wxPyEndAllowThreads(__tstate);
8580 if (PyErr_Occurred()) SWIG_fail;
8581 }
8582 Py_INCREF(Py_None); resultobj = Py_None;
8583 return resultobj;
8584 fail:
8585 return NULL;
8586}
8587
8588
c32bde28 8589static PyObject *_wrap_Font_SetWeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8590 PyObject *resultobj;
8591 wxFont *arg1 = (wxFont *) 0 ;
8592 int arg2 ;
8593 PyObject * obj0 = 0 ;
994141e6 8594 PyObject * obj1 = 0 ;
d14a1e28
RD
8595 char *kwnames[] = {
8596 (char *) "self",(char *) "weight", NULL
8597 };
8598
994141e6 8599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetWeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8602 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8603 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8604 {
8605 PyThreadState* __tstate = wxPyBeginAllowThreads();
8606 (arg1)->SetWeight(arg2);
8607
8608 wxPyEndAllowThreads(__tstate);
8609 if (PyErr_Occurred()) SWIG_fail;
8610 }
8611 Py_INCREF(Py_None); resultobj = Py_None;
8612 return resultobj;
8613 fail:
8614 return NULL;
8615}
8616
8617
c32bde28 8618static PyObject *_wrap_Font_SetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8619 PyObject *resultobj;
8620 wxFont *arg1 = (wxFont *) 0 ;
8621 wxString *arg2 = 0 ;
ae8162c8 8622 bool temp2 = false ;
d14a1e28
RD
8623 PyObject * obj0 = 0 ;
8624 PyObject * obj1 = 0 ;
8625 char *kwnames[] = {
8626 (char *) "self",(char *) "faceName", NULL
8627 };
8628
8629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetFaceName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8632 {
8633 arg2 = wxString_in_helper(obj1);
8634 if (arg2 == NULL) SWIG_fail;
ae8162c8 8635 temp2 = true;
d14a1e28
RD
8636 }
8637 {
8638 PyThreadState* __tstate = wxPyBeginAllowThreads();
8639 (arg1)->SetFaceName((wxString const &)*arg2);
8640
8641 wxPyEndAllowThreads(__tstate);
8642 if (PyErr_Occurred()) SWIG_fail;
8643 }
8644 Py_INCREF(Py_None); resultobj = Py_None;
8645 {
8646 if (temp2)
8647 delete arg2;
8648 }
8649 return resultobj;
8650 fail:
8651 {
8652 if (temp2)
8653 delete arg2;
8654 }
8655 return NULL;
8656}
8657
8658
c32bde28 8659static PyObject *_wrap_Font_SetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8660 PyObject *resultobj;
8661 wxFont *arg1 = (wxFont *) 0 ;
8662 bool arg2 ;
8663 PyObject * obj0 = 0 ;
8664 PyObject * obj1 = 0 ;
8665 char *kwnames[] = {
8666 (char *) "self",(char *) "underlined", NULL
8667 };
8668
8669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetUnderlined",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8672 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 8673 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8674 {
8675 PyThreadState* __tstate = wxPyBeginAllowThreads();
8676 (arg1)->SetUnderlined(arg2);
8677
8678 wxPyEndAllowThreads(__tstate);
8679 if (PyErr_Occurred()) SWIG_fail;
8680 }
8681 Py_INCREF(Py_None); resultobj = Py_None;
8682 return resultobj;
8683 fail:
8684 return NULL;
8685}
8686
8687
c32bde28 8688static PyObject *_wrap_Font_SetEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8689 PyObject *resultobj;
8690 wxFont *arg1 = (wxFont *) 0 ;
8691 int arg2 ;
8692 PyObject * obj0 = 0 ;
994141e6 8693 PyObject * obj1 = 0 ;
d14a1e28
RD
8694 char *kwnames[] = {
8695 (char *) "self",(char *) "encoding", NULL
8696 };
8697
994141e6 8698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetEncoding",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8701 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8702 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8703 {
8704 PyThreadState* __tstate = wxPyBeginAllowThreads();
8705 (arg1)->SetEncoding((wxFontEncoding )arg2);
8706
8707 wxPyEndAllowThreads(__tstate);
8708 if (PyErr_Occurred()) SWIG_fail;
8709 }
8710 Py_INCREF(Py_None); resultobj = Py_None;
8711 return resultobj;
8712 fail:
8713 return NULL;
8714}
8715
8716
c32bde28 8717static PyObject *_wrap_Font_SetNativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8718 PyObject *resultobj;
8719 wxFont *arg1 = (wxFont *) 0 ;
8720 wxNativeFontInfo *arg2 = 0 ;
8721 PyObject * obj0 = 0 ;
8722 PyObject * obj1 = 0 ;
8723 char *kwnames[] = {
8724 (char *) "self",(char *) "info", NULL
8725 };
8726
8727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetNativeFontInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8730 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxNativeFontInfo,
8731 SWIG_POINTER_EXCEPTION | 0)) == -1)
8732 SWIG_fail;
d14a1e28 8733 if (arg2 == NULL) {
15afbcd0
RD
8734 PyErr_SetString(PyExc_TypeError,"null reference");
8735 SWIG_fail;
d14a1e28
RD
8736 }
8737 {
8738 PyThreadState* __tstate = wxPyBeginAllowThreads();
8739 (arg1)->SetNativeFontInfo((wxNativeFontInfo const &)*arg2);
8740
8741 wxPyEndAllowThreads(__tstate);
8742 if (PyErr_Occurred()) SWIG_fail;
8743 }
8744 Py_INCREF(Py_None); resultobj = Py_None;
8745 return resultobj;
8746 fail:
8747 return NULL;
8748}
8749
8750
c32bde28 8751static PyObject *_wrap_Font_SetNativeFontInfoFromString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8752 PyObject *resultobj;
8753 wxFont *arg1 = (wxFont *) 0 ;
8754 wxString *arg2 = 0 ;
ae8162c8 8755 bool temp2 = false ;
d14a1e28
RD
8756 PyObject * obj0 = 0 ;
8757 PyObject * obj1 = 0 ;
8758 char *kwnames[] = {
8759 (char *) "self",(char *) "info", NULL
8760 };
8761
8762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8765 {
8766 arg2 = wxString_in_helper(obj1);
8767 if (arg2 == NULL) SWIG_fail;
ae8162c8 8768 temp2 = true;
d14a1e28
RD
8769 }
8770 {
8771 PyThreadState* __tstate = wxPyBeginAllowThreads();
8772 (arg1)->SetNativeFontInfo((wxString const &)*arg2);
8773
8774 wxPyEndAllowThreads(__tstate);
8775 if (PyErr_Occurred()) SWIG_fail;
8776 }
8777 Py_INCREF(Py_None); resultobj = Py_None;
8778 {
8779 if (temp2)
8780 delete arg2;
8781 }
8782 return resultobj;
8783 fail:
8784 {
8785 if (temp2)
8786 delete arg2;
8787 }
8788 return NULL;
8789}
8790
8791
c32bde28 8792static PyObject *_wrap_Font_SetNativeFontInfoUserDesc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8793 PyObject *resultobj;
8794 wxFont *arg1 = (wxFont *) 0 ;
8795 wxString *arg2 = 0 ;
ae8162c8 8796 bool temp2 = false ;
d14a1e28
RD
8797 PyObject * obj0 = 0 ;
8798 PyObject * obj1 = 0 ;
8799 char *kwnames[] = {
8800 (char *) "self",(char *) "info", NULL
8801 };
8802
8803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8806 {
8807 arg2 = wxString_in_helper(obj1);
8808 if (arg2 == NULL) SWIG_fail;
ae8162c8 8809 temp2 = true;
d14a1e28
RD
8810 }
8811 {
8812 PyThreadState* __tstate = wxPyBeginAllowThreads();
8813 (arg1)->SetNativeFontInfoUserDesc((wxString const &)*arg2);
8814
8815 wxPyEndAllowThreads(__tstate);
8816 if (PyErr_Occurred()) SWIG_fail;
8817 }
8818 Py_INCREF(Py_None); resultobj = Py_None;
8819 {
8820 if (temp2)
8821 delete arg2;
8822 }
8823 return resultobj;
8824 fail:
8825 {
8826 if (temp2)
8827 delete arg2;
8828 }
8829 return NULL;
8830}
8831
8832
c32bde28 8833static PyObject *_wrap_Font_GetFamilyString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8834 PyObject *resultobj;
8835 wxFont *arg1 = (wxFont *) 0 ;
8836 wxString result;
8837 PyObject * obj0 = 0 ;
8838 char *kwnames[] = {
8839 (char *) "self", NULL
8840 };
8841
8842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetFamilyString",kwnames,&obj0)) goto fail;
15afbcd0
RD
8843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8845 {
8846 PyThreadState* __tstate = wxPyBeginAllowThreads();
8847 result = ((wxFont const *)arg1)->GetFamilyString();
8848
8849 wxPyEndAllowThreads(__tstate);
8850 if (PyErr_Occurred()) SWIG_fail;
8851 }
8852 {
8853#if wxUSE_UNICODE
8854 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8855#else
8856 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8857#endif
8858 }
8859 return resultobj;
8860 fail:
8861 return NULL;
8862}
8863
8864
c32bde28 8865static PyObject *_wrap_Font_GetStyleString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8866 PyObject *resultobj;
8867 wxFont *arg1 = (wxFont *) 0 ;
8868 wxString result;
8869 PyObject * obj0 = 0 ;
8870 char *kwnames[] = {
8871 (char *) "self", NULL
8872 };
8873
8874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetStyleString",kwnames,&obj0)) goto fail;
15afbcd0
RD
8875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8877 {
8878 PyThreadState* __tstate = wxPyBeginAllowThreads();
8879 result = ((wxFont const *)arg1)->GetStyleString();
8880
8881 wxPyEndAllowThreads(__tstate);
8882 if (PyErr_Occurred()) SWIG_fail;
8883 }
8884 {
8885#if wxUSE_UNICODE
8886 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8887#else
8888 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8889#endif
8890 }
8891 return resultobj;
8892 fail:
8893 return NULL;
8894}
8895
8896
c32bde28 8897static PyObject *_wrap_Font_GetWeightString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8898 PyObject *resultobj;
8899 wxFont *arg1 = (wxFont *) 0 ;
8900 wxString result;
8901 PyObject * obj0 = 0 ;
8902 char *kwnames[] = {
8903 (char *) "self", NULL
8904 };
8905
8906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetWeightString",kwnames,&obj0)) goto fail;
15afbcd0
RD
8907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8909 {
8910 PyThreadState* __tstate = wxPyBeginAllowThreads();
8911 result = ((wxFont const *)arg1)->GetWeightString();
8912
8913 wxPyEndAllowThreads(__tstate);
8914 if (PyErr_Occurred()) SWIG_fail;
8915 }
8916 {
8917#if wxUSE_UNICODE
8918 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8919#else
8920 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8921#endif
8922 }
8923 return resultobj;
8924 fail:
8925 return NULL;
8926}
8927
8928
c32bde28 8929static PyObject *_wrap_Font_SetNoAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8930 PyObject *resultobj;
8931 wxFont *arg1 = (wxFont *) 0 ;
ae8162c8 8932 bool arg2 = (bool) true ;
d14a1e28
RD
8933 PyObject * obj0 = 0 ;
8934 PyObject * obj1 = 0 ;
8935 char *kwnames[] = {
8936 (char *) "self",(char *) "no", NULL
8937 };
8938
8939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Font_SetNoAntiAliasing",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8942 if (obj1) {
c32bde28 8943 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 8944 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8945 }
8946 {
8947 PyThreadState* __tstate = wxPyBeginAllowThreads();
8948 (arg1)->SetNoAntiAliasing(arg2);
8949
8950 wxPyEndAllowThreads(__tstate);
8951 if (PyErr_Occurred()) SWIG_fail;
8952 }
8953 Py_INCREF(Py_None); resultobj = Py_None;
8954 return resultobj;
8955 fail:
8956 return NULL;
8957}
8958
8959
c32bde28 8960static PyObject *_wrap_Font_GetNoAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8961 PyObject *resultobj;
8962 wxFont *arg1 = (wxFont *) 0 ;
8963 bool result;
8964 PyObject * obj0 = 0 ;
8965 char *kwnames[] = {
8966 (char *) "self", NULL
8967 };
8968
8969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNoAntiAliasing",kwnames,&obj0)) goto fail;
15afbcd0
RD
8970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8972 {
8973 PyThreadState* __tstate = wxPyBeginAllowThreads();
0dcf9a74 8974 result = (bool)((wxFont const *)arg1)->GetNoAntiAliasing();
d14a1e28
RD
8975
8976 wxPyEndAllowThreads(__tstate);
8977 if (PyErr_Occurred()) SWIG_fail;
8978 }
4f89f6a3
RD
8979 {
8980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8981 }
d14a1e28
RD
8982 return resultobj;
8983 fail:
8984 return NULL;
8985}
8986
8987
c32bde28 8988static PyObject *_wrap_Font_GetDefaultEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8989 PyObject *resultobj;
8990 int result;
8991 char *kwnames[] = {
8992 NULL
8993 };
8994
8995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Font_GetDefaultEncoding",kwnames)) goto fail;
8996 {
e3b71cb8 8997 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8998 PyThreadState* __tstate = wxPyBeginAllowThreads();
8999 result = (int)wxFont::GetDefaultEncoding();
9000
9001 wxPyEndAllowThreads(__tstate);
110da5b0 9002 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9003 }
c32bde28 9004 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9005 return resultobj;
9006 fail:
9007 return NULL;
9008}
9009
9010
c32bde28 9011static PyObject *_wrap_Font_SetDefaultEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9012 PyObject *resultobj;
9013 int arg1 ;
994141e6 9014 PyObject * obj0 = 0 ;
d14a1e28
RD
9015 char *kwnames[] = {
9016 (char *) "encoding", NULL
9017 };
9018
994141e6 9019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_SetDefaultEncoding",kwnames,&obj0)) goto fail;
c32bde28 9020 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 9021 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9022 {
e3b71cb8 9023 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9024 PyThreadState* __tstate = wxPyBeginAllowThreads();
9025 wxFont::SetDefaultEncoding((wxFontEncoding )arg1);
9026
9027 wxPyEndAllowThreads(__tstate);
110da5b0 9028 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9029 }
9030 Py_INCREF(Py_None); resultobj = Py_None;
9031 return resultobj;
9032 fail:
9033 return NULL;
9034}
9035
9036
c32bde28 9037static PyObject * Font_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9038 PyObject *obj;
9039 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9040 SWIG_TypeClientData(SWIGTYPE_p_wxFont, obj);
9041 Py_INCREF(obj);
9042 return Py_BuildValue((char *)"");
9043}
c32bde28 9044static PyObject *_wrap_new_FontEnumerator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9045 PyObject *resultobj;
9046 wxPyFontEnumerator *result;
9047 char *kwnames[] = {
9048 NULL
9049 };
9050
9051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontEnumerator",kwnames)) goto fail;
9052 {
e3b71cb8 9053 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9054 PyThreadState* __tstate = wxPyBeginAllowThreads();
9055 result = (wxPyFontEnumerator *)new wxPyFontEnumerator();
9056
9057 wxPyEndAllowThreads(__tstate);
110da5b0 9058 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9059 }
15afbcd0 9060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFontEnumerator, 1);
d14a1e28
RD
9061 return resultobj;
9062 fail:
9063 return NULL;
9064}
9065
9066
c32bde28 9067static PyObject *_wrap_delete_FontEnumerator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9068 PyObject *resultobj;
9069 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
9070 PyObject * obj0 = 0 ;
9071 char *kwnames[] = {
9072 (char *) "self", NULL
9073 };
9074
9075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontEnumerator",kwnames,&obj0)) goto fail;
15afbcd0
RD
9076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
9077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9078 {
9079 PyThreadState* __tstate = wxPyBeginAllowThreads();
9080 delete arg1;
9081
9082 wxPyEndAllowThreads(__tstate);
9083 if (PyErr_Occurred()) SWIG_fail;
9084 }
9085 Py_INCREF(Py_None); resultobj = Py_None;
9086 return resultobj;
9087 fail:
9088 return NULL;
9089}
9090
9091
c32bde28 9092static PyObject *_wrap_FontEnumerator__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9093 PyObject *resultobj;
9094 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
9095 PyObject *arg2 = (PyObject *) 0 ;
9096 PyObject *arg3 = (PyObject *) 0 ;
9097 bool arg4 ;
9098 PyObject * obj0 = 0 ;
9099 PyObject * obj1 = 0 ;
9100 PyObject * obj2 = 0 ;
9101 PyObject * obj3 = 0 ;
9102 char *kwnames[] = {
9103 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9104 };
9105
9106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
9108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9109 arg2 = obj1;
9110 arg3 = obj2;
c32bde28 9111 arg4 = (bool)SWIG_As_bool(obj3);
15afbcd0 9112 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9113 {
9114 PyThreadState* __tstate = wxPyBeginAllowThreads();
9115 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
9116
9117 wxPyEndAllowThreads(__tstate);
9118 if (PyErr_Occurred()) SWIG_fail;
9119 }
9120 Py_INCREF(Py_None); resultobj = Py_None;
9121 return resultobj;
9122 fail:
9123 return NULL;
9124}
9125
9126
c32bde28 9127static PyObject *_wrap_FontEnumerator_EnumerateFacenames(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9128 PyObject *resultobj;
9129 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
9130 int arg2 = (int) wxFONTENCODING_SYSTEM ;
ae8162c8 9131 bool arg3 = (bool) false ;
d14a1e28
RD
9132 bool result;
9133 PyObject * obj0 = 0 ;
994141e6 9134 PyObject * obj1 = 0 ;
d14a1e28
RD
9135 PyObject * obj2 = 0 ;
9136 char *kwnames[] = {
9137 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
9138 };
9139
994141e6 9140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
9142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 9143 if (obj1) {
c32bde28 9144 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9145 if (PyErr_Occurred()) SWIG_fail;
994141e6 9146 }
d14a1e28 9147 if (obj2) {
c32bde28 9148 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 9149 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9150 }
9151 {
9152 PyThreadState* __tstate = wxPyBeginAllowThreads();
9153 result = (bool)(arg1)->EnumerateFacenames((wxFontEncoding )arg2,arg3);
9154
9155 wxPyEndAllowThreads(__tstate);
9156 if (PyErr_Occurred()) SWIG_fail;
9157 }
4f89f6a3
RD
9158 {
9159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9160 }
d14a1e28
RD
9161 return resultobj;
9162 fail:
9163 return NULL;
9164}
9165
9166
c32bde28 9167static PyObject *_wrap_FontEnumerator_EnumerateEncodings(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9168 PyObject *resultobj;
9169 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
9170 wxString const &arg2_defvalue = wxPyEmptyString ;
9171 wxString *arg2 = (wxString *) &arg2_defvalue ;
9172 bool result;
ae8162c8 9173 bool temp2 = false ;
d14a1e28
RD
9174 PyObject * obj0 = 0 ;
9175 PyObject * obj1 = 0 ;
9176 char *kwnames[] = {
9177 (char *) "self",(char *) "facename", NULL
9178 };
9179
9180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
9182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9183 if (obj1) {
9184 {
9185 arg2 = wxString_in_helper(obj1);
9186 if (arg2 == NULL) SWIG_fail;
ae8162c8 9187 temp2 = true;
d14a1e28
RD
9188 }
9189 }
9190 {
9191 PyThreadState* __tstate = wxPyBeginAllowThreads();
9192 result = (bool)(arg1)->EnumerateEncodings((wxString const &)*arg2);
9193
9194 wxPyEndAllowThreads(__tstate);
9195 if (PyErr_Occurred()) SWIG_fail;
9196 }
4f89f6a3
RD
9197 {
9198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9199 }
d14a1e28
RD
9200 {
9201 if (temp2)
9202 delete arg2;
9203 }
9204 return resultobj;
9205 fail:
9206 {
9207 if (temp2)
9208 delete arg2;
9209 }
9210 return NULL;
9211}
9212
9213
c32bde28 9214static PyObject *_wrap_FontEnumerator_GetEncodings(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9215 PyObject *resultobj;
9216 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
9217 PyObject *result;
9218 PyObject * obj0 = 0 ;
9219 char *kwnames[] = {
9220 (char *) "self", NULL
9221 };
9222
9223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontEnumerator_GetEncodings",kwnames,&obj0)) goto fail;
15afbcd0
RD
9224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
9225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9226 {
9227 PyThreadState* __tstate = wxPyBeginAllowThreads();
9228 result = (PyObject *)wxPyFontEnumerator_GetEncodings(arg1);
9229
9230 wxPyEndAllowThreads(__tstate);
9231 if (PyErr_Occurred()) SWIG_fail;
9232 }
9233 resultobj = result;
9234 return resultobj;
9235 fail:
9236 return NULL;
9237}
9238
9239
c32bde28 9240static PyObject *_wrap_FontEnumerator_GetFacenames(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9241 PyObject *resultobj;
9242 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
9243 PyObject *result;
9244 PyObject * obj0 = 0 ;
9245 char *kwnames[] = {
9246 (char *) "self", NULL
9247 };
9248
9249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontEnumerator_GetFacenames",kwnames,&obj0)) goto fail;
15afbcd0
RD
9250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
9251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9252 {
9253 PyThreadState* __tstate = wxPyBeginAllowThreads();
9254 result = (PyObject *)wxPyFontEnumerator_GetFacenames(arg1);
9255
9256 wxPyEndAllowThreads(__tstate);
9257 if (PyErr_Occurred()) SWIG_fail;
9258 }
9259 resultobj = result;
9260 return resultobj;
9261 fail:
9262 return NULL;
9263}
9264
9265
c32bde28 9266static PyObject * FontEnumerator_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9267 PyObject *obj;
9268 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9269 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator, obj);
9270 Py_INCREF(obj);
9271 return Py_BuildValue((char *)"");
9272}
c32bde28 9273static PyObject *_wrap_LanguageInfo_Language_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9274 PyObject *resultobj;
9275 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
9276 int arg2 ;
9277 PyObject * obj0 = 0 ;
994141e6 9278 PyObject * obj1 = 0 ;
d14a1e28
RD
9279 char *kwnames[] = {
9280 (char *) "self",(char *) "Language", NULL
9281 };
9282
994141e6 9283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LanguageInfo_Language_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
9285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9286 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9287 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9288 if (arg1) (arg1)->Language = arg2;
9289
9290 Py_INCREF(Py_None); resultobj = Py_None;
9291 return resultobj;
9292 fail:
9293 return NULL;
9294}
9295
9296
c32bde28 9297static PyObject *_wrap_LanguageInfo_Language_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9298 PyObject *resultobj;
9299 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
9300 int result;
9301 PyObject * obj0 = 0 ;
9302 char *kwnames[] = {
9303 (char *) "self", NULL
9304 };
9305
9306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LanguageInfo_Language_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
9307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
9308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9309 result = (int) ((arg1)->Language);
9310
c32bde28 9311 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9312 return resultobj;
9313 fail:
9314 return NULL;
9315}
9316
9317
c32bde28 9318static PyObject *_wrap_LanguageInfo_CanonicalName_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9319 PyObject *resultobj;
9320 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
196addbf 9321 wxString *arg2 = (wxString *) 0 ;
ae8162c8 9322 bool temp2 = false ;
d14a1e28
RD
9323 PyObject * obj0 = 0 ;
9324 PyObject * obj1 = 0 ;
9325 char *kwnames[] = {
9326 (char *) "self",(char *) "CanonicalName", NULL
9327 };
9328
9329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
9331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7eae615b
RD
9332 {
9333 arg2 = wxString_in_helper(obj1);
9334 if (arg2 == NULL) SWIG_fail;
ae8162c8 9335 temp2 = true;
7eae615b 9336 }
196addbf 9337 if (arg1) (arg1)->CanonicalName = *arg2;
d14a1e28
RD
9338
9339 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
9340 {
9341 if (temp2)
9342 delete arg2;
9343 }
d14a1e28
RD
9344 return resultobj;
9345 fail:
7eae615b
RD
9346 {
9347 if (temp2)
9348 delete arg2;
9349 }
d14a1e28
RD
9350 return NULL;
9351}
9352
9353
c32bde28 9354static PyObject *_wrap_LanguageInfo_CanonicalName_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9355 PyObject *resultobj;
9356 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
196addbf 9357 wxString *result;
d14a1e28
RD
9358 PyObject * obj0 = 0 ;
9359 char *kwnames[] = {
9360 (char *) "self", NULL
9361 };
9362
9363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LanguageInfo_CanonicalName_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
9364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
9365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
196addbf 9366 result = (wxString *)& ((arg1)->CanonicalName);
d14a1e28
RD
9367
9368 {
9369#if wxUSE_UNICODE
196addbf 9370 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 9371#else
196addbf 9372 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
9373#endif
9374 }
9375 return resultobj;
9376 fail:
9377 return NULL;
9378}
9379
9380
c32bde28 9381static PyObject *_wrap_LanguageInfo_Description_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9382 PyObject *resultobj;
9383 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
196addbf 9384 wxString *arg2 = (wxString *) 0 ;
ae8162c8 9385 bool temp2 = false ;
d14a1e28
RD
9386 PyObject * obj0 = 0 ;
9387 PyObject * obj1 = 0 ;
9388 char *kwnames[] = {
9389 (char *) "self",(char *) "Description", NULL
9390 };
9391
9392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LanguageInfo_Description_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
9394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7eae615b
RD
9395 {
9396 arg2 = wxString_in_helper(obj1);
9397 if (arg2 == NULL) SWIG_fail;
ae8162c8 9398 temp2 = true;
7eae615b 9399 }
196addbf 9400 if (arg1) (arg1)->Description = *arg2;
d14a1e28
RD
9401
9402 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
9403 {
9404 if (temp2)
9405 delete arg2;
9406 }
d14a1e28
RD
9407 return resultobj;
9408 fail:
7eae615b
RD
9409 {
9410 if (temp2)
9411 delete arg2;
9412 }
d14a1e28
RD
9413 return NULL;
9414}
9415
9416
c32bde28 9417static PyObject *_wrap_LanguageInfo_Description_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9418 PyObject *resultobj;
9419 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
196addbf 9420 wxString *result;
d14a1e28
RD
9421 PyObject * obj0 = 0 ;
9422 char *kwnames[] = {
9423 (char *) "self", NULL
9424 };
9425
9426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LanguageInfo_Description_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
9427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
9428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
196addbf 9429 result = (wxString *)& ((arg1)->Description);
d14a1e28
RD
9430
9431 {
9432#if wxUSE_UNICODE
196addbf 9433 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 9434#else
196addbf 9435 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
9436#endif
9437 }
9438 return resultobj;
9439 fail:
9440 return NULL;
9441}
9442
9443
c32bde28 9444static PyObject * LanguageInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9445 PyObject *obj;
9446 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9447 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo, obj);
9448 Py_INCREF(obj);
9449 return Py_BuildValue((char *)"");
9450}
c32bde28 9451static PyObject *_wrap_new_Locale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 9452 PyObject *resultobj;
41e2b43e 9453 int arg1 = (int) -1 ;
d14a1e28
RD
9454 int arg2 = (int) wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING ;
9455 wxLocale *result;
994141e6
RD
9456 PyObject * obj0 = 0 ;
9457 PyObject * obj1 = 0 ;
d14a1e28
RD
9458 char *kwnames[] = {
9459 (char *) "language",(char *) "flags", NULL
9460 };
9461
994141e6
RD
9462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Locale",kwnames,&obj0,&obj1)) goto fail;
9463 if (obj0) {
c32bde28 9464 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 9465 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9466 }
9467 if (obj1) {
c32bde28 9468 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9469 if (PyErr_Occurred()) SWIG_fail;
994141e6 9470 }
d14a1e28
RD
9471 {
9472 PyThreadState* __tstate = wxPyBeginAllowThreads();
41e2b43e 9473 result = (wxLocale *)new_wxLocale(arg1,arg2);
d14a1e28
RD
9474
9475 wxPyEndAllowThreads(__tstate);
9476 if (PyErr_Occurred()) SWIG_fail;
9477 }
15afbcd0 9478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLocale, 1);
d14a1e28
RD
9479 return resultobj;
9480 fail:
9481 return NULL;
9482}
9483
9484
c32bde28 9485static PyObject *_wrap_delete_Locale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9486 PyObject *resultobj;
9487 wxLocale *arg1 = (wxLocale *) 0 ;
9488 PyObject * obj0 = 0 ;
9489 char *kwnames[] = {
9490 (char *) "self", NULL
9491 };
9492
9493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Locale",kwnames,&obj0)) goto fail;
15afbcd0
RD
9494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9496 {
9497 PyThreadState* __tstate = wxPyBeginAllowThreads();
9498 delete arg1;
9499
9500 wxPyEndAllowThreads(__tstate);
9501 if (PyErr_Occurred()) SWIG_fail;
9502 }
9503 Py_INCREF(Py_None); resultobj = Py_None;
9504 return resultobj;
9505 fail:
9506 return NULL;
9507}
9508
9509
c32bde28 9510static PyObject *_wrap_Locale_Init1(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9511 PyObject *resultobj;
9512 wxLocale *arg1 = (wxLocale *) 0 ;
9513 wxString *arg2 = 0 ;
9514 wxString const &arg3_defvalue = wxPyEmptyString ;
9515 wxString *arg3 = (wxString *) &arg3_defvalue ;
9516 wxString const &arg4_defvalue = wxPyEmptyString ;
9517 wxString *arg4 = (wxString *) &arg4_defvalue ;
ae8162c8
RD
9518 bool arg5 = (bool) true ;
9519 bool arg6 = (bool) false ;
d14a1e28 9520 bool result;
ae8162c8
RD
9521 bool temp2 = false ;
9522 bool temp3 = false ;
9523 bool temp4 = false ;
d14a1e28
RD
9524 PyObject * obj0 = 0 ;
9525 PyObject * obj1 = 0 ;
9526 PyObject * obj2 = 0 ;
9527 PyObject * obj3 = 0 ;
9528 PyObject * obj4 = 0 ;
9529 PyObject * obj5 = 0 ;
9530 char *kwnames[] = {
9531 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9532 };
9533
9534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Locale_Init1",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
9535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9537 {
9538 arg2 = wxString_in_helper(obj1);
9539 if (arg2 == NULL) SWIG_fail;
ae8162c8 9540 temp2 = true;
d14a1e28
RD
9541 }
9542 if (obj2) {
9543 {
9544 arg3 = wxString_in_helper(obj2);
9545 if (arg3 == NULL) SWIG_fail;
ae8162c8 9546 temp3 = true;
d14a1e28
RD
9547 }
9548 }
9549 if (obj3) {
9550 {
9551 arg4 = wxString_in_helper(obj3);
9552 if (arg4 == NULL) SWIG_fail;
ae8162c8 9553 temp4 = true;
d14a1e28
RD
9554 }
9555 }
9556 if (obj4) {
c32bde28 9557 arg5 = (bool)SWIG_As_bool(obj4);
15afbcd0 9558 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9559 }
9560 if (obj5) {
c32bde28 9561 arg6 = (bool)SWIG_As_bool(obj5);
15afbcd0 9562 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9563 }
9564 {
9565 PyThreadState* __tstate = wxPyBeginAllowThreads();
9566 result = (bool)(arg1)->Init((wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6);
9567
9568 wxPyEndAllowThreads(__tstate);
9569 if (PyErr_Occurred()) SWIG_fail;
9570 }
4f89f6a3
RD
9571 {
9572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9573 }
d14a1e28
RD
9574 {
9575 if (temp2)
9576 delete arg2;
9577 }
9578 {
9579 if (temp3)
9580 delete arg3;
9581 }
9582 {
9583 if (temp4)
9584 delete arg4;
9585 }
9586 return resultobj;
9587 fail:
9588 {
9589 if (temp2)
9590 delete arg2;
9591 }
9592 {
9593 if (temp3)
9594 delete arg3;
9595 }
9596 {
9597 if (temp4)
9598 delete arg4;
9599 }
9600 return NULL;
9601}
9602
9603
c32bde28 9604static PyObject *_wrap_Locale_Init2(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9605 PyObject *resultobj;
9606 wxLocale *arg1 = (wxLocale *) 0 ;
9607 int arg2 = (int) wxLANGUAGE_DEFAULT ;
9608 int arg3 = (int) wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING ;
9609 bool result;
9610 PyObject * obj0 = 0 ;
994141e6
RD
9611 PyObject * obj1 = 0 ;
9612 PyObject * obj2 = 0 ;
d14a1e28
RD
9613 char *kwnames[] = {
9614 (char *) "self",(char *) "language",(char *) "flags", NULL
9615 };
9616
994141e6 9617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Locale_Init2",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 9620 if (obj1) {
c32bde28 9621 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9622 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9623 }
9624 if (obj2) {
c32bde28 9625 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9626 if (PyErr_Occurred()) SWIG_fail;
994141e6 9627 }
d14a1e28
RD
9628 {
9629 PyThreadState* __tstate = wxPyBeginAllowThreads();
9630 result = (bool)(arg1)->Init(arg2,arg3);
9631
9632 wxPyEndAllowThreads(__tstate);
9633 if (PyErr_Occurred()) SWIG_fail;
9634 }
4f89f6a3
RD
9635 {
9636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9637 }
d14a1e28
RD
9638 return resultobj;
9639 fail:
9640 return NULL;
9641}
9642
9643
c32bde28 9644static PyObject *_wrap_Locale_GetSystemLanguage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9645 PyObject *resultobj;
9646 int result;
9647 char *kwnames[] = {
9648 NULL
9649 };
9650
9651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Locale_GetSystemLanguage",kwnames)) goto fail;
9652 {
9653 PyThreadState* __tstate = wxPyBeginAllowThreads();
9654 result = (int)wxLocale::GetSystemLanguage();
9655
9656 wxPyEndAllowThreads(__tstate);
9657 if (PyErr_Occurred()) SWIG_fail;
9658 }
c32bde28 9659 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9660 return resultobj;
9661 fail:
9662 return NULL;
9663}
9664
9665
c32bde28 9666static PyObject *_wrap_Locale_GetSystemEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9667 PyObject *resultobj;
9668 int result;
9669 char *kwnames[] = {
9670 NULL
9671 };
9672
9673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Locale_GetSystemEncoding",kwnames)) goto fail;
9674 {
9675 PyThreadState* __tstate = wxPyBeginAllowThreads();
9676 result = (int)wxLocale::GetSystemEncoding();
9677
9678 wxPyEndAllowThreads(__tstate);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 }
c32bde28 9681 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9682 return resultobj;
9683 fail:
9684 return NULL;
9685}
9686
9687
c32bde28 9688static PyObject *_wrap_Locale_GetSystemEncodingName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9689 PyObject *resultobj;
9690 wxString result;
9691 char *kwnames[] = {
9692 NULL
9693 };
9694
9695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Locale_GetSystemEncodingName",kwnames)) goto fail;
9696 {
9697 PyThreadState* __tstate = wxPyBeginAllowThreads();
9698 result = wxLocale::GetSystemEncodingName();
9699
9700 wxPyEndAllowThreads(__tstate);
9701 if (PyErr_Occurred()) SWIG_fail;
9702 }
9703 {
9704#if wxUSE_UNICODE
9705 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9706#else
9707 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9708#endif
9709 }
9710 return resultobj;
9711 fail:
9712 return NULL;
9713}
9714
9715
c32bde28 9716static PyObject *_wrap_Locale_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9717 PyObject *resultobj;
9718 wxLocale *arg1 = (wxLocale *) 0 ;
9719 bool result;
9720 PyObject * obj0 = 0 ;
9721 char *kwnames[] = {
9722 (char *) "self", NULL
9723 };
9724
9725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_IsOk",kwnames,&obj0)) goto fail;
15afbcd0
RD
9726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9728 {
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 result = (bool)((wxLocale const *)arg1)->IsOk();
9731
9732 wxPyEndAllowThreads(__tstate);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 }
4f89f6a3
RD
9735 {
9736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9737 }
d14a1e28
RD
9738 return resultobj;
9739 fail:
9740 return NULL;
9741}
9742
9743
c32bde28 9744static PyObject *_wrap_Locale_GetLocale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9745 PyObject *resultobj;
9746 wxLocale *arg1 = (wxLocale *) 0 ;
9747 wxString result;
9748 PyObject * obj0 = 0 ;
9749 char *kwnames[] = {
9750 (char *) "self", NULL
9751 };
9752
9753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLocale",kwnames,&obj0)) goto fail;
15afbcd0
RD
9754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9756 {
9757 PyThreadState* __tstate = wxPyBeginAllowThreads();
9758 result = ((wxLocale const *)arg1)->GetLocale();
9759
9760 wxPyEndAllowThreads(__tstate);
9761 if (PyErr_Occurred()) SWIG_fail;
9762 }
9763 {
9764#if wxUSE_UNICODE
9765 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9766#else
9767 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9768#endif
9769 }
9770 return resultobj;
9771 fail:
9772 return NULL;
9773}
9774
9775
c32bde28 9776static PyObject *_wrap_Locale_GetLanguage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9777 PyObject *resultobj;
9778 wxLocale *arg1 = (wxLocale *) 0 ;
9779 int result;
9780 PyObject * obj0 = 0 ;
9781 char *kwnames[] = {
9782 (char *) "self", NULL
9783 };
9784
9785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLanguage",kwnames,&obj0)) goto fail;
15afbcd0
RD
9786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9788 {
9789 PyThreadState* __tstate = wxPyBeginAllowThreads();
9790 result = (int)((wxLocale const *)arg1)->GetLanguage();
9791
9792 wxPyEndAllowThreads(__tstate);
9793 if (PyErr_Occurred()) SWIG_fail;
9794 }
c32bde28 9795 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9796 return resultobj;
9797 fail:
9798 return NULL;
9799}
9800
9801
c32bde28 9802static PyObject *_wrap_Locale_GetSysName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9803 PyObject *resultobj;
9804 wxLocale *arg1 = (wxLocale *) 0 ;
9805 wxString result;
9806 PyObject * obj0 = 0 ;
9807 char *kwnames[] = {
9808 (char *) "self", NULL
9809 };
9810
9811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetSysName",kwnames,&obj0)) goto fail;
15afbcd0
RD
9812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9814 {
9815 PyThreadState* __tstate = wxPyBeginAllowThreads();
9816 result = ((wxLocale const *)arg1)->GetSysName();
9817
9818 wxPyEndAllowThreads(__tstate);
9819 if (PyErr_Occurred()) SWIG_fail;
9820 }
9821 {
9822#if wxUSE_UNICODE
9823 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9824#else
9825 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9826#endif
9827 }
9828 return resultobj;
9829 fail:
9830 return NULL;
9831}
9832
9833
c32bde28 9834static PyObject *_wrap_Locale_GetCanonicalName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9835 PyObject *resultobj;
9836 wxLocale *arg1 = (wxLocale *) 0 ;
9837 wxString result;
9838 PyObject * obj0 = 0 ;
9839 char *kwnames[] = {
9840 (char *) "self", NULL
9841 };
9842
9843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetCanonicalName",kwnames,&obj0)) goto fail;
15afbcd0
RD
9844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9846 {
9847 PyThreadState* __tstate = wxPyBeginAllowThreads();
9848 result = ((wxLocale const *)arg1)->GetCanonicalName();
9849
9850 wxPyEndAllowThreads(__tstate);
9851 if (PyErr_Occurred()) SWIG_fail;
9852 }
9853 {
9854#if wxUSE_UNICODE
9855 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9856#else
9857 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9858#endif
9859 }
9860 return resultobj;
9861 fail:
9862 return NULL;
9863}
9864
9865
c32bde28 9866static PyObject *_wrap_Locale_AddCatalogLookupPathPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9867 PyObject *resultobj;
9868 wxString *arg1 = 0 ;
ae8162c8 9869 bool temp1 = false ;
d14a1e28
RD
9870 PyObject * obj0 = 0 ;
9871 char *kwnames[] = {
9872 (char *) "prefix", NULL
9873 };
9874
9875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames,&obj0)) goto fail;
9876 {
9877 arg1 = wxString_in_helper(obj0);
9878 if (arg1 == NULL) SWIG_fail;
ae8162c8 9879 temp1 = true;
d14a1e28
RD
9880 }
9881 {
9882 PyThreadState* __tstate = wxPyBeginAllowThreads();
9883 wxLocale::AddCatalogLookupPathPrefix((wxString const &)*arg1);
9884
9885 wxPyEndAllowThreads(__tstate);
9886 if (PyErr_Occurred()) SWIG_fail;
9887 }
9888 Py_INCREF(Py_None); resultobj = Py_None;
9889 {
9890 if (temp1)
9891 delete arg1;
9892 }
9893 return resultobj;
9894 fail:
9895 {
9896 if (temp1)
9897 delete arg1;
9898 }
9899 return NULL;
9900}
9901
9902
c32bde28 9903static PyObject *_wrap_Locale_AddCatalog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9904 PyObject *resultobj;
9905 wxLocale *arg1 = (wxLocale *) 0 ;
9906 wxString *arg2 = 0 ;
9907 bool result;
ae8162c8 9908 bool temp2 = false ;
d14a1e28
RD
9909 PyObject * obj0 = 0 ;
9910 PyObject * obj1 = 0 ;
9911 char *kwnames[] = {
9912 (char *) "self",(char *) "szDomain", NULL
9913 };
9914
9915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Locale_AddCatalog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9918 {
9919 arg2 = wxString_in_helper(obj1);
9920 if (arg2 == NULL) SWIG_fail;
ae8162c8 9921 temp2 = true;
d14a1e28
RD
9922 }
9923 {
9924 PyThreadState* __tstate = wxPyBeginAllowThreads();
9925 result = (bool)(arg1)->AddCatalog((wxString const &)*arg2);
9926
9927 wxPyEndAllowThreads(__tstate);
9928 if (PyErr_Occurred()) SWIG_fail;
9929 }
4f89f6a3
RD
9930 {
9931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9932 }
d14a1e28
RD
9933 {
9934 if (temp2)
9935 delete arg2;
9936 }
9937 return resultobj;
9938 fail:
9939 {
9940 if (temp2)
9941 delete arg2;
9942 }
9943 return NULL;
9944}
9945
9946
c32bde28 9947static PyObject *_wrap_Locale_IsLoaded(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9948 PyObject *resultobj;
9949 wxLocale *arg1 = (wxLocale *) 0 ;
9950 wxString *arg2 = 0 ;
9951 bool result;
ae8162c8 9952 bool temp2 = false ;
d14a1e28
RD
9953 PyObject * obj0 = 0 ;
9954 PyObject * obj1 = 0 ;
9955 char *kwnames[] = {
9956 (char *) "self",(char *) "szDomain", NULL
9957 };
9958
9959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Locale_IsLoaded",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9962 {
9963 arg2 = wxString_in_helper(obj1);
9964 if (arg2 == NULL) SWIG_fail;
ae8162c8 9965 temp2 = true;
d14a1e28
RD
9966 }
9967 {
9968 PyThreadState* __tstate = wxPyBeginAllowThreads();
9969 result = (bool)((wxLocale const *)arg1)->IsLoaded((wxString const &)*arg2);
9970
9971 wxPyEndAllowThreads(__tstate);
9972 if (PyErr_Occurred()) SWIG_fail;
9973 }
4f89f6a3
RD
9974 {
9975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9976 }
d14a1e28
RD
9977 {
9978 if (temp2)
9979 delete arg2;
9980 }
9981 return resultobj;
9982 fail:
9983 {
9984 if (temp2)
9985 delete arg2;
9986 }
9987 return NULL;
9988}
9989
9990
c32bde28 9991static PyObject *_wrap_Locale_GetLanguageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9992 PyObject *resultobj;
9993 int arg1 ;
9994 wxLanguageInfo *result;
994141e6 9995 PyObject * obj0 = 0 ;
d14a1e28
RD
9996 char *kwnames[] = {
9997 (char *) "lang", NULL
9998 };
9999
994141e6 10000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLanguageInfo",kwnames,&obj0)) goto fail;
c32bde28 10001 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 10002 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10003 {
10004 PyThreadState* __tstate = wxPyBeginAllowThreads();
10005 result = (wxLanguageInfo *)wxLocale::GetLanguageInfo(arg1);
10006
10007 wxPyEndAllowThreads(__tstate);
10008 if (PyErr_Occurred()) SWIG_fail;
10009 }
15afbcd0 10010 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLanguageInfo, 0);
d14a1e28
RD
10011 return resultobj;
10012 fail:
10013 return NULL;
10014}
10015
10016
c32bde28 10017static PyObject *_wrap_Locale_GetLanguageName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10018 PyObject *resultobj;
10019 int arg1 ;
10020 wxString result;
994141e6 10021 PyObject * obj0 = 0 ;
d14a1e28
RD
10022 char *kwnames[] = {
10023 (char *) "lang", NULL
10024 };
10025
994141e6 10026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLanguageName",kwnames,&obj0)) goto fail;
c32bde28 10027 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 10028 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10029 {
10030 PyThreadState* __tstate = wxPyBeginAllowThreads();
10031 result = wxLocale::GetLanguageName(arg1);
10032
10033 wxPyEndAllowThreads(__tstate);
10034 if (PyErr_Occurred()) SWIG_fail;
10035 }
10036 {
10037#if wxUSE_UNICODE
10038 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10039#else
10040 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10041#endif
10042 }
10043 return resultobj;
10044 fail:
10045 return NULL;
10046}
10047
10048
c32bde28 10049static PyObject *_wrap_Locale_FindLanguageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10050 PyObject *resultobj;
10051 wxString *arg1 = 0 ;
10052 wxLanguageInfo *result;
ae8162c8 10053 bool temp1 = false ;
d14a1e28
RD
10054 PyObject * obj0 = 0 ;
10055 char *kwnames[] = {
10056 (char *) "locale", NULL
10057 };
10058
10059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_FindLanguageInfo",kwnames,&obj0)) goto fail;
10060 {
10061 arg1 = wxString_in_helper(obj0);
10062 if (arg1 == NULL) SWIG_fail;
ae8162c8 10063 temp1 = true;
d14a1e28
RD
10064 }
10065 {
10066 PyThreadState* __tstate = wxPyBeginAllowThreads();
10067 result = (wxLanguageInfo *)wxLocale::FindLanguageInfo((wxString const &)*arg1);
10068
10069 wxPyEndAllowThreads(__tstate);
10070 if (PyErr_Occurred()) SWIG_fail;
10071 }
15afbcd0 10072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLanguageInfo, 0);
d14a1e28
RD
10073 {
10074 if (temp1)
10075 delete arg1;
10076 }
10077 return resultobj;
10078 fail:
10079 {
10080 if (temp1)
10081 delete arg1;
10082 }
10083 return NULL;
10084}
10085
10086
c32bde28 10087static PyObject *_wrap_Locale_AddLanguage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10088 PyObject *resultobj;
10089 wxLanguageInfo *arg1 = 0 ;
10090 PyObject * obj0 = 0 ;
10091 char *kwnames[] = {
10092 (char *) "info", NULL
10093 };
10094
10095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_AddLanguage",kwnames,&obj0)) goto fail;
15afbcd0
RD
10096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
10097 SWIG_POINTER_EXCEPTION | 0)) == -1)
10098 SWIG_fail;
d14a1e28 10099 if (arg1 == NULL) {
15afbcd0
RD
10100 PyErr_SetString(PyExc_TypeError,"null reference");
10101 SWIG_fail;
d14a1e28
RD
10102 }
10103 {
10104 PyThreadState* __tstate = wxPyBeginAllowThreads();
10105 wxLocale::AddLanguage((wxLanguageInfo const &)*arg1);
10106
10107 wxPyEndAllowThreads(__tstate);
10108 if (PyErr_Occurred()) SWIG_fail;
10109 }
10110 Py_INCREF(Py_None); resultobj = Py_None;
10111 return resultobj;
10112 fail:
10113 return NULL;
10114}
10115
10116
c32bde28 10117static PyObject *_wrap_Locale_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10118 PyObject *resultobj;
10119 wxLocale *arg1 = (wxLocale *) 0 ;
10120 wxString *arg2 = 0 ;
10121 wxString const &arg3_defvalue = wxPyEmptyString ;
10122 wxString *arg3 = (wxString *) &arg3_defvalue ;
10123 wxString result;
ae8162c8
RD
10124 bool temp2 = false ;
10125 bool temp3 = false ;
d14a1e28
RD
10126 PyObject * obj0 = 0 ;
10127 PyObject * obj1 = 0 ;
10128 PyObject * obj2 = 0 ;
10129 char *kwnames[] = {
10130 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
10131 };
10132
10133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Locale_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
10135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10136 {
10137 arg2 = wxString_in_helper(obj1);
10138 if (arg2 == NULL) SWIG_fail;
ae8162c8 10139 temp2 = true;
d14a1e28
RD
10140 }
10141 if (obj2) {
10142 {
10143 arg3 = wxString_in_helper(obj2);
10144 if (arg3 == NULL) SWIG_fail;
ae8162c8 10145 temp3 = true;
d14a1e28
RD
10146 }
10147 }
10148 {
10149 PyThreadState* __tstate = wxPyBeginAllowThreads();
10150 result = ((wxLocale const *)arg1)->GetString((wxString const &)*arg2,(wxString const &)*arg3);
10151
10152 wxPyEndAllowThreads(__tstate);
10153 if (PyErr_Occurred()) SWIG_fail;
10154 }
10155 {
10156#if wxUSE_UNICODE
10157 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10158#else
10159 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10160#endif
10161 }
10162 {
10163 if (temp2)
10164 delete arg2;
10165 }
10166 {
10167 if (temp3)
10168 delete arg3;
10169 }
10170 return resultobj;
10171 fail:
10172 {
10173 if (temp2)
10174 delete arg2;
10175 }
10176 {
10177 if (temp3)
10178 delete arg3;
10179 }
10180 return NULL;
10181}
10182
10183
c32bde28 10184static PyObject *_wrap_Locale_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10185 PyObject *resultobj;
10186 wxLocale *arg1 = (wxLocale *) 0 ;
10187 wxString *result;
10188 PyObject * obj0 = 0 ;
10189 char *kwnames[] = {
10190 (char *) "self", NULL
10191 };
10192
10193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetName",kwnames,&obj0)) goto fail;
15afbcd0
RD
10194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
10195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10196 {
10197 PyThreadState* __tstate = wxPyBeginAllowThreads();
10198 {
10199 wxString const &_result_ref = ((wxLocale const *)arg1)->GetName();
10200 result = (wxString *) &_result_ref;
10201 }
10202
10203 wxPyEndAllowThreads(__tstate);
10204 if (PyErr_Occurred()) SWIG_fail;
10205 }
cc6dd355
RD
10206 {
10207#if wxUSE_UNICODE
10208 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10209#else
10210 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10211#endif
10212 }
d14a1e28
RD
10213 return resultobj;
10214 fail:
10215 return NULL;
10216}
10217
10218
c32bde28 10219static PyObject * Locale_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10220 PyObject *obj;
10221 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10222 SWIG_TypeClientData(SWIGTYPE_p_wxLocale, obj);
10223 Py_INCREF(obj);
10224 return Py_BuildValue((char *)"");
10225}
c32bde28 10226static PyObject *_wrap_GetLocale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10227 PyObject *resultobj;
10228 wxLocale *result;
10229 char *kwnames[] = {
10230 NULL
10231 };
10232
10233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocale",kwnames)) goto fail;
10234 {
10235 PyThreadState* __tstate = wxPyBeginAllowThreads();
10236 result = (wxLocale *)wxGetLocale();
10237
10238 wxPyEndAllowThreads(__tstate);
10239 if (PyErr_Occurred()) SWIG_fail;
10240 }
15afbcd0 10241 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLocale, 0);
d14a1e28
RD
10242 return resultobj;
10243 fail:
10244 return NULL;
10245}
10246
10247
c32bde28 10248static PyObject *_wrap_GetTranslation__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
10249 PyObject *resultobj;
10250 wxString *arg1 = 0 ;
10251 wxString result;
ae8162c8 10252 bool temp1 = false ;
d14a1e28
RD
10253 PyObject * obj0 = 0 ;
10254
10255 if(!PyArg_ParseTuple(args,(char *)"O:GetTranslation",&obj0)) goto fail;
10256 {
10257 arg1 = wxString_in_helper(obj0);
10258 if (arg1 == NULL) SWIG_fail;
ae8162c8 10259 temp1 = true;
d14a1e28
RD
10260 }
10261 {
10262 PyThreadState* __tstate = wxPyBeginAllowThreads();
10263 result = wxGetTranslation((wxString const &)*arg1);
10264
10265 wxPyEndAllowThreads(__tstate);
10266 if (PyErr_Occurred()) SWIG_fail;
10267 }
10268 {
10269#if wxUSE_UNICODE
10270 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10271#else
10272 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10273#endif
10274 }
10275 {
10276 if (temp1)
10277 delete arg1;
10278 }
10279 return resultobj;
10280 fail:
10281 {
10282 if (temp1)
10283 delete arg1;
10284 }
10285 return NULL;
10286}
10287
10288
c32bde28 10289static PyObject *_wrap_GetTranslation__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
10290 PyObject *resultobj;
10291 wxString *arg1 = 0 ;
10292 wxString *arg2 = 0 ;
10293 size_t arg3 ;
10294 wxString result;
ae8162c8
RD
10295 bool temp1 = false ;
10296 bool temp2 = false ;
d14a1e28
RD
10297 PyObject * obj0 = 0 ;
10298 PyObject * obj1 = 0 ;
10299 PyObject * obj2 = 0 ;
10300
10301 if(!PyArg_ParseTuple(args,(char *)"OOO:GetTranslation",&obj0,&obj1,&obj2)) goto fail;
10302 {
10303 arg1 = wxString_in_helper(obj0);
10304 if (arg1 == NULL) SWIG_fail;
ae8162c8 10305 temp1 = true;
d14a1e28
RD
10306 }
10307 {
10308 arg2 = wxString_in_helper(obj1);
10309 if (arg2 == NULL) SWIG_fail;
ae8162c8 10310 temp2 = true;
d14a1e28 10311 }
c32bde28 10312 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
15afbcd0 10313 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10314 {
10315 PyThreadState* __tstate = wxPyBeginAllowThreads();
10316 result = wxGetTranslation((wxString const &)*arg1,(wxString const &)*arg2,arg3);
10317
10318 wxPyEndAllowThreads(__tstate);
10319 if (PyErr_Occurred()) SWIG_fail;
10320 }
10321 {
10322#if wxUSE_UNICODE
10323 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10324#else
10325 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10326#endif
10327 }
10328 {
10329 if (temp1)
10330 delete arg1;
10331 }
10332 {
10333 if (temp2)
10334 delete arg2;
10335 }
10336 return resultobj;
10337 fail:
10338 {
10339 if (temp1)
10340 delete arg1;
10341 }
10342 {
10343 if (temp2)
10344 delete arg2;
10345 }
10346 return NULL;
10347}
10348
10349
10350static PyObject *_wrap_GetTranslation(PyObject *self, PyObject *args) {
10351 int argc;
10352 PyObject *argv[4];
10353 int ii;
10354
10355 argc = PyObject_Length(args);
10356 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
10357 argv[ii] = PyTuple_GetItem(args,ii);
10358 }
10359 if (argc == 1) {
10360 int _v;
10361 {
4d5c3d91 10362 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
d14a1e28
RD
10363 }
10364 if (_v) {
10365 return _wrap_GetTranslation__SWIG_0(self,args);
10366 }
10367 }
10368 if (argc == 3) {
10369 int _v;
10370 {
4d5c3d91 10371 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
d14a1e28
RD
10372 }
10373 if (_v) {
10374 {
4d5c3d91 10375 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
d14a1e28
RD
10376 }
10377 if (_v) {
c32bde28 10378 _v = SWIG_Check_unsigned_SS_long(argv[2]);
d14a1e28
RD
10379 if (_v) {
10380 return _wrap_GetTranslation__SWIG_1(self,args);
10381 }
10382 }
10383 }
10384 }
10385
10386 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GetTranslation'");
10387 return NULL;
10388}
10389
10390
c32bde28 10391static PyObject *_wrap_new_EncodingConverter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10392 PyObject *resultobj;
10393 wxEncodingConverter *result;
10394 char *kwnames[] = {
10395 NULL
10396 };
10397
10398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EncodingConverter",kwnames)) goto fail;
10399 {
10400 PyThreadState* __tstate = wxPyBeginAllowThreads();
10401 result = (wxEncodingConverter *)new wxEncodingConverter();
10402
10403 wxPyEndAllowThreads(__tstate);
10404 if (PyErr_Occurred()) SWIG_fail;
10405 }
15afbcd0 10406 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEncodingConverter, 1);
d14a1e28
RD
10407 return resultobj;
10408 fail:
10409 return NULL;
10410}
10411
10412
c32bde28 10413static PyObject *_wrap_delete_EncodingConverter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10414 PyObject *resultobj;
10415 wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ;
10416 PyObject * obj0 = 0 ;
10417 char *kwnames[] = {
10418 (char *) "self", NULL
10419 };
10420
10421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_EncodingConverter",kwnames,&obj0)) goto fail;
15afbcd0
RD
10422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEncodingConverter,
10423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10424 {
10425 PyThreadState* __tstate = wxPyBeginAllowThreads();
10426 delete arg1;
10427
10428 wxPyEndAllowThreads(__tstate);
10429 if (PyErr_Occurred()) SWIG_fail;
10430 }
10431 Py_INCREF(Py_None); resultobj = Py_None;
10432 return resultobj;
10433 fail:
10434 return NULL;
10435}
10436
10437
c32bde28 10438static PyObject *_wrap_EncodingConverter_Init(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10439 PyObject *resultobj;
10440 wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ;
10441 int arg2 ;
10442 int arg3 ;
10443 int arg4 = (int) wxCONVERT_STRICT ;
10444 bool result;
10445 PyObject * obj0 = 0 ;
994141e6
RD
10446 PyObject * obj1 = 0 ;
10447 PyObject * obj2 = 0 ;
10448 PyObject * obj3 = 0 ;
d14a1e28
RD
10449 char *kwnames[] = {
10450 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10451 };
10452
994141e6 10453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:EncodingConverter_Init",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEncodingConverter,
10455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10456 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10457 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10458 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10459 if (PyErr_Occurred()) SWIG_fail;
994141e6 10460 if (obj3) {
c32bde28 10461 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 10462 if (PyErr_Occurred()) SWIG_fail;
994141e6 10463 }
d14a1e28
RD
10464 {
10465 PyThreadState* __tstate = wxPyBeginAllowThreads();
10466 result = (bool)(arg1)->Init((wxFontEncoding )arg2,(wxFontEncoding )arg3,arg4);
10467
10468 wxPyEndAllowThreads(__tstate);
10469 if (PyErr_Occurred()) SWIG_fail;
10470 }
4f89f6a3
RD
10471 {
10472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10473 }
d14a1e28
RD
10474 return resultobj;
10475 fail:
10476 return NULL;
10477}
10478
10479
c32bde28 10480static PyObject *_wrap_EncodingConverter_Convert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10481 PyObject *resultobj;
10482 wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ;
10483 wxString *arg2 = 0 ;
10484 wxString result;
ae8162c8 10485 bool temp2 = false ;
d14a1e28
RD
10486 PyObject * obj0 = 0 ;
10487 PyObject * obj1 = 0 ;
10488 char *kwnames[] = {
10489 (char *) "self",(char *) "input", NULL
10490 };
10491
10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EncodingConverter_Convert",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEncodingConverter,
10494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10495 {
10496 arg2 = wxString_in_helper(obj1);
10497 if (arg2 == NULL) SWIG_fail;
ae8162c8 10498 temp2 = true;
d14a1e28
RD
10499 }
10500 {
10501 PyThreadState* __tstate = wxPyBeginAllowThreads();
10502 result = (arg1)->Convert((wxString const &)*arg2);
10503
10504 wxPyEndAllowThreads(__tstate);
10505 if (PyErr_Occurred()) SWIG_fail;
10506 }
10507 {
10508#if wxUSE_UNICODE
10509 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10510#else
10511 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10512#endif
10513 }
10514 {
10515 if (temp2)
10516 delete arg2;
10517 }
10518 return resultobj;
10519 fail:
10520 {
10521 if (temp2)
10522 delete arg2;
10523 }
10524 return NULL;
10525}
10526
10527
c32bde28 10528static PyObject *_wrap_EncodingConverter_GetPlatformEquivalents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10529 PyObject *resultobj;
10530 int arg1 ;
10531 int arg2 = (int) wxPLATFORM_CURRENT ;
10532 wxFontEncodingArray result;
994141e6
RD
10533 PyObject * obj0 = 0 ;
10534 PyObject * obj1 = 0 ;
d14a1e28
RD
10535 char *kwnames[] = {
10536 (char *) "enc",(char *) "platform", NULL
10537 };
10538
994141e6 10539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames,&obj0,&obj1)) goto fail;
c32bde28 10540 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 10541 if (PyErr_Occurred()) SWIG_fail;
994141e6 10542 if (obj1) {
c32bde28 10543 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10544 if (PyErr_Occurred()) SWIG_fail;
994141e6 10545 }
d14a1e28
RD
10546 {
10547 PyThreadState* __tstate = wxPyBeginAllowThreads();
10548 result = wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding )arg1,arg2);
10549
10550 wxPyEndAllowThreads(__tstate);
10551 if (PyErr_Occurred()) SWIG_fail;
10552 }
10553 {
10554 resultobj = PyList_New(0);
10555 for (size_t i=0; i < (&result)->GetCount(); i++) {
10556 PyObject* number = PyInt_FromLong((&result)->Item(i));
10557 PyList_Append(resultobj, number);
10558 Py_DECREF(number);
10559 }
10560 }
10561 return resultobj;
10562 fail:
10563 return NULL;
10564}
10565
10566
c32bde28 10567static PyObject *_wrap_EncodingConverter_GetAllEquivalents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10568 PyObject *resultobj;
10569 int arg1 ;
10570 wxFontEncodingArray result;
994141e6 10571 PyObject * obj0 = 0 ;
d14a1e28
RD
10572 char *kwnames[] = {
10573 (char *) "enc", NULL
10574 };
10575
994141e6 10576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames,&obj0)) goto fail;
c32bde28 10577 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 10578 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10579 {
10580 PyThreadState* __tstate = wxPyBeginAllowThreads();
10581 result = wxEncodingConverter::GetAllEquivalents((wxFontEncoding )arg1);
10582
10583 wxPyEndAllowThreads(__tstate);
10584 if (PyErr_Occurred()) SWIG_fail;
10585 }
10586 {
10587 resultobj = PyList_New(0);
10588 for (size_t i=0; i < (&result)->GetCount(); i++) {
10589 PyObject* number = PyInt_FromLong((&result)->Item(i));
10590 PyList_Append(resultobj, number);
10591 Py_DECREF(number);
10592 }
10593 }
10594 return resultobj;
10595 fail:
10596 return NULL;
10597}
10598
10599
c32bde28 10600static PyObject *_wrap_EncodingConverter_CanConvert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10601 PyObject *resultobj;
10602 int arg1 ;
10603 int arg2 ;
10604 bool result;
994141e6
RD
10605 PyObject * obj0 = 0 ;
10606 PyObject * obj1 = 0 ;
d14a1e28
RD
10607 char *kwnames[] = {
10608 (char *) "encIn",(char *) "encOut", NULL
10609 };
10610
994141e6 10611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EncodingConverter_CanConvert",kwnames,&obj0,&obj1)) goto fail;
c32bde28 10612 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 10613 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10614 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10615 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10616 {
10617 PyThreadState* __tstate = wxPyBeginAllowThreads();
10618 result = (bool)wxEncodingConverter::CanConvert((wxFontEncoding )arg1,(wxFontEncoding )arg2);
10619
10620 wxPyEndAllowThreads(__tstate);
10621 if (PyErr_Occurred()) SWIG_fail;
10622 }
4f89f6a3
RD
10623 {
10624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10625 }
d14a1e28
RD
10626 return resultobj;
10627 fail:
10628 return NULL;
10629}
10630
10631
c32bde28 10632static PyObject * EncodingConverter_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10633 PyObject *obj;
10634 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10635 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter, obj);
10636 Py_INCREF(obj);
10637 return Py_BuildValue((char *)"");
10638}
c32bde28 10639static PyObject *_wrap_delete_DC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10640 PyObject *resultobj;
10641 wxDC *arg1 = (wxDC *) 0 ;
10642 PyObject * obj0 = 0 ;
10643 char *kwnames[] = {
10644 (char *) "self", NULL
10645 };
10646
10647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DC",kwnames,&obj0)) goto fail;
15afbcd0
RD
10648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10650 {
10651 PyThreadState* __tstate = wxPyBeginAllowThreads();
10652 delete arg1;
10653
10654 wxPyEndAllowThreads(__tstate);
10655 if (PyErr_Occurred()) SWIG_fail;
10656 }
10657 Py_INCREF(Py_None); resultobj = Py_None;
10658 return resultobj;
10659 fail:
10660 return NULL;
10661}
10662
10663
c32bde28 10664static PyObject *_wrap_DC_BeginDrawing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10665 PyObject *resultobj;
10666 wxDC *arg1 = (wxDC *) 0 ;
10667 PyObject * obj0 = 0 ;
10668 char *kwnames[] = {
10669 (char *) "self", NULL
10670 };
10671
10672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_BeginDrawing",kwnames,&obj0)) goto fail;
15afbcd0
RD
10673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10675 {
10676 PyThreadState* __tstate = wxPyBeginAllowThreads();
10677 (arg1)->BeginDrawing();
10678
10679 wxPyEndAllowThreads(__tstate);
10680 if (PyErr_Occurred()) SWIG_fail;
10681 }
10682 Py_INCREF(Py_None); resultobj = Py_None;
10683 return resultobj;
10684 fail:
10685 return NULL;
10686}
10687
10688
c32bde28 10689static PyObject *_wrap_DC_EndDrawing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10690 PyObject *resultobj;
10691 wxDC *arg1 = (wxDC *) 0 ;
10692 PyObject * obj0 = 0 ;
10693 char *kwnames[] = {
10694 (char *) "self", NULL
10695 };
10696
10697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_EndDrawing",kwnames,&obj0)) goto fail;
15afbcd0
RD
10698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10700 {
10701 PyThreadState* __tstate = wxPyBeginAllowThreads();
10702 (arg1)->EndDrawing();
10703
10704 wxPyEndAllowThreads(__tstate);
10705 if (PyErr_Occurred()) SWIG_fail;
10706 }
10707 Py_INCREF(Py_None); resultobj = Py_None;
10708 return resultobj;
10709 fail:
10710 return NULL;
10711}
10712
10713
c32bde28 10714static PyObject *_wrap_DC_FloodFill(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10715 PyObject *resultobj;
10716 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10717 int arg2 ;
10718 int arg3 ;
d14a1e28
RD
10719 wxColour *arg4 = 0 ;
10720 int arg5 = (int) wxFLOOD_SURFACE ;
10721 bool result;
10722 wxColour temp4 ;
10723 PyObject * obj0 = 0 ;
994141e6
RD
10724 PyObject * obj1 = 0 ;
10725 PyObject * obj2 = 0 ;
d14a1e28 10726 PyObject * obj3 = 0 ;
994141e6 10727 PyObject * obj4 = 0 ;
d14a1e28
RD
10728 char *kwnames[] = {
10729 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10730 };
10731
03e37cd5 10732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:DC_FloodFill",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
10733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10735 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10736 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10737 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10738 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10739 {
10740 arg4 = &temp4;
10741 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
10742 }
994141e6 10743 if (obj4) {
c32bde28 10744 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 10745 if (PyErr_Occurred()) SWIG_fail;
994141e6 10746 }
d14a1e28
RD
10747 {
10748 PyThreadState* __tstate = wxPyBeginAllowThreads();
10749 result = (bool)(arg1)->FloodFill(arg2,arg3,(wxColour const &)*arg4,arg5);
10750
10751 wxPyEndAllowThreads(__tstate);
10752 if (PyErr_Occurred()) SWIG_fail;
10753 }
4f89f6a3
RD
10754 {
10755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10756 }
d14a1e28
RD
10757 return resultobj;
10758 fail:
10759 return NULL;
10760}
10761
10762
c32bde28 10763static PyObject *_wrap_DC_FloodFillPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10764 PyObject *resultobj;
10765 wxDC *arg1 = (wxDC *) 0 ;
10766 wxPoint *arg2 = 0 ;
10767 wxColour *arg3 = 0 ;
10768 int arg4 = (int) wxFLOOD_SURFACE ;
10769 bool result;
10770 wxPoint temp2 ;
10771 wxColour temp3 ;
10772 PyObject * obj0 = 0 ;
10773 PyObject * obj1 = 0 ;
10774 PyObject * obj2 = 0 ;
994141e6 10775 PyObject * obj3 = 0 ;
d14a1e28
RD
10776 char *kwnames[] = {
10777 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10778 };
10779
03e37cd5 10780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:DC_FloodFillPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10783 {
10784 arg2 = &temp2;
10785 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10786 }
10787 {
10788 arg3 = &temp3;
10789 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10790 }
994141e6 10791 if (obj3) {
c32bde28 10792 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 10793 if (PyErr_Occurred()) SWIG_fail;
994141e6 10794 }
d14a1e28
RD
10795 {
10796 PyThreadState* __tstate = wxPyBeginAllowThreads();
10797 result = (bool)(arg1)->FloodFill((wxPoint const &)*arg2,(wxColour const &)*arg3,arg4);
10798
10799 wxPyEndAllowThreads(__tstate);
10800 if (PyErr_Occurred()) SWIG_fail;
10801 }
4f89f6a3
RD
10802 {
10803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10804 }
d14a1e28
RD
10805 return resultobj;
10806 fail:
10807 return NULL;
10808}
10809
10810
c32bde28 10811static PyObject *_wrap_DC_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10812 PyObject *resultobj;
10813 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10814 int arg2 ;
10815 int arg3 ;
d14a1e28
RD
10816 wxColour result;
10817 PyObject * obj0 = 0 ;
994141e6
RD
10818 PyObject * obj1 = 0 ;
10819 PyObject * obj2 = 0 ;
d14a1e28
RD
10820 char *kwnames[] = {
10821 (char *) "self",(char *) "x",(char *) "y", NULL
10822 };
10823
03e37cd5 10824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_GetPixel",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10827 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10828 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10829 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10830 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10831 {
10832 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 10833 result = wxDC_GetPixel(arg1,arg2,arg3);
d14a1e28
RD
10834
10835 wxPyEndAllowThreads(__tstate);
10836 if (PyErr_Occurred()) SWIG_fail;
10837 }
10838 {
10839 wxColour * resultptr;
10840 resultptr = new wxColour((wxColour &) result);
15afbcd0 10841 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10842 }
10843 return resultobj;
10844 fail:
10845 return NULL;
10846}
10847
10848
c32bde28 10849static PyObject *_wrap_DC_GetPixelPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10850 PyObject *resultobj;
10851 wxDC *arg1 = (wxDC *) 0 ;
10852 wxPoint *arg2 = 0 ;
10853 wxColour result;
10854 wxPoint temp2 ;
10855 PyObject * obj0 = 0 ;
10856 PyObject * obj1 = 0 ;
10857 char *kwnames[] = {
10858 (char *) "self",(char *) "pt", NULL
10859 };
10860
03e37cd5 10861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_GetPixelPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10864 {
10865 arg2 = &temp2;
10866 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10867 }
10868 {
10869 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 10870 result = wxDC_GetPixelPoint(arg1,(wxPoint const &)*arg2);
d14a1e28
RD
10871
10872 wxPyEndAllowThreads(__tstate);
10873 if (PyErr_Occurred()) SWIG_fail;
10874 }
10875 {
10876 wxColour * resultptr;
10877 resultptr = new wxColour((wxColour &) result);
15afbcd0 10878 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10879 }
10880 return resultobj;
10881 fail:
10882 return NULL;
10883}
10884
10885
c32bde28 10886static PyObject *_wrap_DC_DrawLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10887 PyObject *resultobj;
10888 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10889 int arg2 ;
10890 int arg3 ;
10891 int arg4 ;
10892 int arg5 ;
d14a1e28 10893 PyObject * obj0 = 0 ;
994141e6
RD
10894 PyObject * obj1 = 0 ;
10895 PyObject * obj2 = 0 ;
10896 PyObject * obj3 = 0 ;
10897 PyObject * obj4 = 0 ;
d14a1e28
RD
10898 char *kwnames[] = {
10899 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10900 };
10901
03e37cd5 10902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
10903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10905 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10906 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10907 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10908 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10909 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 10910 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10911 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 10912 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10913 {
10914 PyThreadState* __tstate = wxPyBeginAllowThreads();
10915 (arg1)->DrawLine(arg2,arg3,arg4,arg5);
10916
10917 wxPyEndAllowThreads(__tstate);
10918 if (PyErr_Occurred()) SWIG_fail;
10919 }
10920 Py_INCREF(Py_None); resultobj = Py_None;
10921 return resultobj;
10922 fail:
10923 return NULL;
10924}
10925
10926
c32bde28 10927static PyObject *_wrap_DC_DrawLinePoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10928 PyObject *resultobj;
10929 wxDC *arg1 = (wxDC *) 0 ;
10930 wxPoint *arg2 = 0 ;
10931 wxPoint *arg3 = 0 ;
10932 wxPoint temp2 ;
10933 wxPoint temp3 ;
10934 PyObject * obj0 = 0 ;
10935 PyObject * obj1 = 0 ;
10936 PyObject * obj2 = 0 ;
10937 char *kwnames[] = {
10938 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10939 };
10940
03e37cd5 10941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawLinePoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10944 {
10945 arg2 = &temp2;
10946 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10947 }
10948 {
10949 arg3 = &temp3;
10950 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10951 }
10952 {
10953 PyThreadState* __tstate = wxPyBeginAllowThreads();
10954 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
10955
10956 wxPyEndAllowThreads(__tstate);
10957 if (PyErr_Occurred()) SWIG_fail;
10958 }
10959 Py_INCREF(Py_None); resultobj = Py_None;
10960 return resultobj;
10961 fail:
10962 return NULL;
10963}
10964
10965
c32bde28 10966static PyObject *_wrap_DC_CrossHair(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10967 PyObject *resultobj;
10968 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10969 int arg2 ;
10970 int arg3 ;
d14a1e28 10971 PyObject * obj0 = 0 ;
994141e6
RD
10972 PyObject * obj1 = 0 ;
10973 PyObject * obj2 = 0 ;
d14a1e28
RD
10974 char *kwnames[] = {
10975 (char *) "self",(char *) "x",(char *) "y", NULL
10976 };
10977
03e37cd5 10978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_CrossHair",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10981 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10982 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10983 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10984 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10985 {
10986 PyThreadState* __tstate = wxPyBeginAllowThreads();
10987 (arg1)->CrossHair(arg2,arg3);
10988
10989 wxPyEndAllowThreads(__tstate);
10990 if (PyErr_Occurred()) SWIG_fail;
10991 }
10992 Py_INCREF(Py_None); resultobj = Py_None;
10993 return resultobj;
10994 fail:
10995 return NULL;
10996}
10997
10998
c32bde28 10999static PyObject *_wrap_DC_CrossHairPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11000 PyObject *resultobj;
11001 wxDC *arg1 = (wxDC *) 0 ;
11002 wxPoint *arg2 = 0 ;
11003 wxPoint temp2 ;
11004 PyObject * obj0 = 0 ;
11005 PyObject * obj1 = 0 ;
11006 char *kwnames[] = {
11007 (char *) "self",(char *) "pt", NULL
11008 };
11009
03e37cd5 11010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_CrossHairPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11013 {
11014 arg2 = &temp2;
11015 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11016 }
11017 {
11018 PyThreadState* __tstate = wxPyBeginAllowThreads();
11019 (arg1)->CrossHair((wxPoint const &)*arg2);
11020
11021 wxPyEndAllowThreads(__tstate);
11022 if (PyErr_Occurred()) SWIG_fail;
11023 }
11024 Py_INCREF(Py_None); resultobj = Py_None;
11025 return resultobj;
11026 fail:
11027 return NULL;
11028}
11029
11030
c32bde28 11031static PyObject *_wrap_DC_DrawArc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11032 PyObject *resultobj;
11033 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
11034 int arg2 ;
11035 int arg3 ;
11036 int arg4 ;
11037 int arg5 ;
11038 int arg6 ;
11039 int arg7 ;
d14a1e28 11040 PyObject * obj0 = 0 ;
994141e6
RD
11041 PyObject * obj1 = 0 ;
11042 PyObject * obj2 = 0 ;
11043 PyObject * obj3 = 0 ;
11044 PyObject * obj4 = 0 ;
11045 PyObject * obj5 = 0 ;
11046 PyObject * obj6 = 0 ;
d14a1e28
RD
11047 char *kwnames[] = {
11048 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
11049 };
11050
03e37cd5 11051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:DC_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
11052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11054 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11055 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11056 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11057 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11058 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 11059 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11060 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 11061 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11062 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 11063 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11064 arg7 = (int)SWIG_As_int(obj6);
15afbcd0 11065 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11066 {
11067 PyThreadState* __tstate = wxPyBeginAllowThreads();
11068 (arg1)->DrawArc(arg2,arg3,arg4,arg5,arg6,arg7);
11069
11070 wxPyEndAllowThreads(__tstate);
11071 if (PyErr_Occurred()) SWIG_fail;
11072 }
11073 Py_INCREF(Py_None); resultobj = Py_None;
11074 return resultobj;
11075 fail:
11076 return NULL;
11077}
11078
11079
c32bde28 11080static PyObject *_wrap_DC_DrawArcPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11081 PyObject *resultobj;
11082 wxDC *arg1 = (wxDC *) 0 ;
11083 wxPoint *arg2 = 0 ;
11084 wxPoint *arg3 = 0 ;
11085 wxPoint *arg4 = 0 ;
11086 wxPoint temp2 ;
11087 wxPoint temp3 ;
11088 wxPoint temp4 ;
11089 PyObject * obj0 = 0 ;
11090 PyObject * obj1 = 0 ;
11091 PyObject * obj2 = 0 ;
11092 PyObject * obj3 = 0 ;
11093 char *kwnames[] = {
f5b96ee1 11094 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
d14a1e28
RD
11095 };
11096
03e37cd5 11097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawArcPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) 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 ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11107 }
11108 {
11109 arg4 = &temp4;
11110 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11111 }
11112 {
11113 PyThreadState* __tstate = wxPyBeginAllowThreads();
11114 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
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_DrawCheckMark(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11127 PyObject *resultobj;
11128 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
11129 int arg2 ;
11130 int arg3 ;
11131 int arg4 ;
11132 int arg5 ;
d14a1e28 11133 PyObject * obj0 = 0 ;
994141e6
RD
11134 PyObject * obj1 = 0 ;
11135 PyObject * obj2 = 0 ;
11136 PyObject * obj3 = 0 ;
11137 PyObject * obj4 = 0 ;
d14a1e28
RD
11138 char *kwnames[] = {
11139 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11140 };
11141
03e37cd5 11142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawCheckMark",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
11143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11145 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11146 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11147 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11148 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11149 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 11150 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11151 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 11152 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11153 {
11154 PyThreadState* __tstate = wxPyBeginAllowThreads();
11155 (arg1)->DrawCheckMark(arg2,arg3,arg4,arg5);
11156
11157 wxPyEndAllowThreads(__tstate);
11158 if (PyErr_Occurred()) SWIG_fail;
11159 }
11160 Py_INCREF(Py_None); resultobj = Py_None;
11161 return resultobj;
11162 fail:
11163 return NULL;
11164}
11165
11166
c32bde28 11167static PyObject *_wrap_DC_DrawCheckMarkRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11168 PyObject *resultobj;
11169 wxDC *arg1 = (wxDC *) 0 ;
11170 wxRect *arg2 = 0 ;
11171 wxRect temp2 ;
11172 PyObject * obj0 = 0 ;
11173 PyObject * obj1 = 0 ;
11174 char *kwnames[] = {
11175 (char *) "self",(char *) "rect", NULL
11176 };
11177
03e37cd5 11178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawCheckMarkRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11181 {
11182 arg2 = &temp2;
11183 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11184 }
11185 {
11186 PyThreadState* __tstate = wxPyBeginAllowThreads();
11187 (arg1)->DrawCheckMark((wxRect const &)*arg2);
11188
11189 wxPyEndAllowThreads(__tstate);
11190 if (PyErr_Occurred()) SWIG_fail;
11191 }
11192 Py_INCREF(Py_None); resultobj = Py_None;
11193 return resultobj;
11194 fail:
11195 return NULL;
11196}
11197
11198
c32bde28 11199static PyObject *_wrap_DC_DrawEllipticArc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11200 PyObject *resultobj;
11201 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
11202 int arg2 ;
11203 int arg3 ;
11204 int arg4 ;
11205 int arg5 ;
d14a1e28
RD
11206 double arg6 ;
11207 double arg7 ;
11208 PyObject * obj0 = 0 ;
994141e6
RD
11209 PyObject * obj1 = 0 ;
11210 PyObject * obj2 = 0 ;
11211 PyObject * obj3 = 0 ;
11212 PyObject * obj4 = 0 ;
11213 PyObject * obj5 = 0 ;
11214 PyObject * obj6 = 0 ;
d14a1e28 11215 char *kwnames[] = {
f5b96ee1 11216 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
d14a1e28
RD
11217 };
11218
03e37cd5 11219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
11220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11222 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11223 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11224 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11225 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11226 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 11227 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11228 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 11229 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11230 arg6 = (double)SWIG_As_double(obj5);
15afbcd0 11231 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11232 arg7 = (double)SWIG_As_double(obj6);
15afbcd0 11233 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11234 {
11235 PyThreadState* __tstate = wxPyBeginAllowThreads();
11236 (arg1)->DrawEllipticArc(arg2,arg3,arg4,arg5,arg6,arg7);
11237
11238 wxPyEndAllowThreads(__tstate);
11239 if (PyErr_Occurred()) SWIG_fail;
11240 }
11241 Py_INCREF(Py_None); resultobj = Py_None;
11242 return resultobj;
11243 fail:
11244 return NULL;
11245}
11246
11247
c32bde28 11248static PyObject *_wrap_DC_DrawEllipticArcPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11249 PyObject *resultobj;
11250 wxDC *arg1 = (wxDC *) 0 ;
11251 wxPoint *arg2 = 0 ;
11252 wxSize *arg3 = 0 ;
11253 double arg4 ;
11254 double arg5 ;
11255 wxPoint temp2 ;
11256 wxSize temp3 ;
11257 PyObject * obj0 = 0 ;
11258 PyObject * obj1 = 0 ;
11259 PyObject * obj2 = 0 ;
994141e6
RD
11260 PyObject * obj3 = 0 ;
11261 PyObject * obj4 = 0 ;
d14a1e28 11262 char *kwnames[] = {
f5b96ee1 11263 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
d14a1e28
RD
11264 };
11265
03e37cd5 11266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
11267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11269 {
11270 arg2 = &temp2;
11271 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11272 }
11273 {
11274 arg3 = &temp3;
11275 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
11276 }
c32bde28 11277 arg4 = (double)SWIG_As_double(obj3);
15afbcd0 11278 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11279 arg5 = (double)SWIG_As_double(obj4);
15afbcd0 11280 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11281 {
11282 PyThreadState* __tstate = wxPyBeginAllowThreads();
11283 (arg1)->DrawEllipticArc((wxPoint const &)*arg2,(wxSize const &)*arg3,arg4,arg5);
11284
11285 wxPyEndAllowThreads(__tstate);
11286 if (PyErr_Occurred()) SWIG_fail;
11287 }
11288 Py_INCREF(Py_None); resultobj = Py_None;
11289 return resultobj;
11290 fail:
11291 return NULL;
11292}
11293
11294
c32bde28 11295static PyObject *_wrap_DC_DrawPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11296 PyObject *resultobj;
11297 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
11298 int arg2 ;
11299 int arg3 ;
d14a1e28 11300 PyObject * obj0 = 0 ;
994141e6
RD
11301 PyObject * obj1 = 0 ;
11302 PyObject * obj2 = 0 ;
d14a1e28
RD
11303 char *kwnames[] = {
11304 (char *) "self",(char *) "x",(char *) "y", NULL
11305 };
11306
03e37cd5 11307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11310 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11311 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11312 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11313 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11314 {
11315 PyThreadState* __tstate = wxPyBeginAllowThreads();
11316 (arg1)->DrawPoint(arg2,arg3);
11317
11318 wxPyEndAllowThreads(__tstate);
11319 if (PyErr_Occurred()) SWIG_fail;
11320 }
11321 Py_INCREF(Py_None); resultobj = Py_None;
11322 return resultobj;
11323 fail:
11324 return NULL;
11325}
11326
11327
c32bde28 11328static PyObject *_wrap_DC_DrawPointPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11329 PyObject *resultobj;
11330 wxDC *arg1 = (wxDC *) 0 ;
11331 wxPoint *arg2 = 0 ;
11332 wxPoint temp2 ;
11333 PyObject * obj0 = 0 ;
11334 PyObject * obj1 = 0 ;
11335 char *kwnames[] = {
11336 (char *) "self",(char *) "pt", NULL
11337 };
11338
03e37cd5 11339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawPointPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11342 {
11343 arg2 = &temp2;
11344 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11345 }
11346 {
11347 PyThreadState* __tstate = wxPyBeginAllowThreads();
11348 (arg1)->DrawPoint((wxPoint const &)*arg2);
11349
11350 wxPyEndAllowThreads(__tstate);
11351 if (PyErr_Occurred()) SWIG_fail;
11352 }
11353 Py_INCREF(Py_None); resultobj = Py_None;
11354 return resultobj;
11355 fail:
11356 return NULL;
11357}
11358
11359
c32bde28 11360static PyObject *_wrap_DC_DrawRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11361 PyObject *resultobj;
11362 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
11363 int arg2 ;
11364 int arg3 ;
11365 int arg4 ;
11366 int arg5 ;
d14a1e28 11367 PyObject * obj0 = 0 ;
994141e6
RD
11368 PyObject * obj1 = 0 ;
11369 PyObject * obj2 = 0 ;
11370 PyObject * obj3 = 0 ;
11371 PyObject * obj4 = 0 ;
d14a1e28
RD
11372 char *kwnames[] = {
11373 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11374 };
11375
03e37cd5 11376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
11377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11379 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11380 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11381 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11382 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11383 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 11384 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11385 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 11386 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11387 {
11388 PyThreadState* __tstate = wxPyBeginAllowThreads();
11389 (arg1)->DrawRectangle(arg2,arg3,arg4,arg5);
11390
11391 wxPyEndAllowThreads(__tstate);
11392 if (PyErr_Occurred()) SWIG_fail;
11393 }
11394 Py_INCREF(Py_None); resultobj = Py_None;
11395 return resultobj;
11396 fail:
11397 return NULL;
11398}
11399
11400
c32bde28 11401static PyObject *_wrap_DC_DrawRectangleRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11402 PyObject *resultobj;
11403 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
11404 wxRect *arg2 = 0 ;
11405 wxRect temp2 ;
d14a1e28
RD
11406 PyObject * obj0 = 0 ;
11407 PyObject * obj1 = 0 ;
d14a1e28 11408 char *kwnames[] = {
03e37cd5 11409 (char *) "self",(char *) "rect", NULL
d14a1e28
RD
11410 };
11411
03e37cd5 11412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawRectangleRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11415 {
11416 arg2 = &temp2;
03e37cd5 11417 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
11418 }
11419 {
11420 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11421 (arg1)->DrawRectangle((wxRect const &)*arg2);
d14a1e28
RD
11422
11423 wxPyEndAllowThreads(__tstate);
11424 if (PyErr_Occurred()) SWIG_fail;
11425 }
11426 Py_INCREF(Py_None); resultobj = Py_None;
11427 return resultobj;
11428 fail:
11429 return NULL;
11430}
11431
11432
c32bde28 11433static PyObject *_wrap_DC_DrawRectanglePointSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11434 PyObject *resultobj;
11435 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
11436 wxPoint *arg2 = 0 ;
11437 wxSize *arg3 = 0 ;
11438 wxPoint temp2 ;
11439 wxSize temp3 ;
d14a1e28
RD
11440 PyObject * obj0 = 0 ;
11441 PyObject * obj1 = 0 ;
03e37cd5 11442 PyObject * obj2 = 0 ;
d14a1e28 11443 char *kwnames[] = {
03e37cd5 11444 (char *) "self",(char *) "pt",(char *) "sz", NULL
d14a1e28
RD
11445 };
11446
03e37cd5 11447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawRectanglePointSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11450 {
11451 arg2 = &temp2;
03e37cd5
RD
11452 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11453 }
11454 {
11455 arg3 = &temp3;
11456 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
d14a1e28
RD
11457 }
11458 {
11459 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11460 (arg1)->DrawRectangle((wxPoint const &)*arg2,(wxSize const &)*arg3);
d14a1e28
RD
11461
11462 wxPyEndAllowThreads(__tstate);
11463 if (PyErr_Occurred()) SWIG_fail;
11464 }
11465 Py_INCREF(Py_None); resultobj = Py_None;
11466 return resultobj;
11467 fail:
11468 return NULL;
11469}
11470
11471
c32bde28 11472static PyObject *_wrap_DC_DrawRoundedRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11473 PyObject *resultobj;
11474 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
11475 int arg2 ;
11476 int arg3 ;
11477 int arg4 ;
11478 int arg5 ;
d14a1e28
RD
11479 double arg6 ;
11480 PyObject * obj0 = 0 ;
994141e6
RD
11481 PyObject * obj1 = 0 ;
11482 PyObject * obj2 = 0 ;
11483 PyObject * obj3 = 0 ;
11484 PyObject * obj4 = 0 ;
11485 PyObject * obj5 = 0 ;
d14a1e28
RD
11486 char *kwnames[] = {
11487 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11488 };
11489
03e37cd5 11490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
11491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11493 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11494 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11495 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11496 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11497 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 11498 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11499 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 11500 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11501 arg6 = (double)SWIG_As_double(obj5);
15afbcd0 11502 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11503 {
11504 PyThreadState* __tstate = wxPyBeginAllowThreads();
11505 (arg1)->DrawRoundedRectangle(arg2,arg3,arg4,arg5,arg6);
11506
11507 wxPyEndAllowThreads(__tstate);
11508 if (PyErr_Occurred()) SWIG_fail;
11509 }
11510 Py_INCREF(Py_None); resultobj = Py_None;
11511 return resultobj;
11512 fail:
11513 return NULL;
11514}
11515
11516
c32bde28 11517static PyObject *_wrap_DC_DrawRoundedRectangleRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11518 PyObject *resultobj;
11519 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
11520 wxRect *arg2 = 0 ;
11521 double arg3 ;
11522 wxRect temp2 ;
d14a1e28
RD
11523 PyObject * obj0 = 0 ;
11524 PyObject * obj1 = 0 ;
11525 PyObject * obj2 = 0 ;
11526 char *kwnames[] = {
03e37cd5 11527 (char *) "self",(char *) "r",(char *) "radius", NULL
d14a1e28
RD
11528 };
11529
03e37cd5 11530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11533 {
11534 arg2 = &temp2;
03e37cd5 11535 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
d14a1e28 11536 }
c32bde28 11537 arg3 = (double)SWIG_As_double(obj2);
15afbcd0 11538 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11539 {
11540 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11541 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
d14a1e28
RD
11542
11543 wxPyEndAllowThreads(__tstate);
11544 if (PyErr_Occurred()) SWIG_fail;
11545 }
11546 Py_INCREF(Py_None); resultobj = Py_None;
11547 return resultobj;
11548 fail:
11549 return NULL;
11550}
11551
11552
c32bde28 11553static PyObject *_wrap_DC_DrawRoundedRectanglePointSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11554 PyObject *resultobj;
11555 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
11556 wxPoint *arg2 = 0 ;
11557 wxSize *arg3 = 0 ;
11558 double arg4 ;
11559 wxPoint temp2 ;
11560 wxSize temp3 ;
d14a1e28
RD
11561 PyObject * obj0 = 0 ;
11562 PyObject * obj1 = 0 ;
994141e6 11563 PyObject * obj2 = 0 ;
03e37cd5 11564 PyObject * obj3 = 0 ;
d14a1e28 11565 char *kwnames[] = {
03e37cd5 11566 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
d14a1e28
RD
11567 };
11568
03e37cd5 11569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11572 {
11573 arg2 = &temp2;
03e37cd5 11574 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
d14a1e28 11575 }
03e37cd5
RD
11576 {
11577 arg3 = &temp3;
11578 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
11579 }
c32bde28 11580 arg4 = (double)SWIG_As_double(obj3);
15afbcd0 11581 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11582 {
11583 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11584 (arg1)->DrawRoundedRectangle((wxPoint const &)*arg2,(wxSize const &)*arg3,arg4);
d14a1e28
RD
11585
11586 wxPyEndAllowThreads(__tstate);
11587 if (PyErr_Occurred()) SWIG_fail;
11588 }
11589 Py_INCREF(Py_None); resultobj = Py_None;
11590 return resultobj;
11591 fail:
11592 return NULL;
11593}
11594
11595
c32bde28 11596static PyObject *_wrap_DC_DrawCircle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11597 PyObject *resultobj;
11598 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
11599 int arg2 ;
11600 int arg3 ;
11601 int arg4 ;
d14a1e28 11602 PyObject * obj0 = 0 ;
994141e6
RD
11603 PyObject * obj1 = 0 ;
11604 PyObject * obj2 = 0 ;
11605 PyObject * obj3 = 0 ;
d14a1e28
RD
11606 char *kwnames[] = {
11607 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11608 };
11609
03e37cd5 11610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawCircle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11613 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11614 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11615 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11616 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11617 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 11618 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11619 {
11620 PyThreadState* __tstate = wxPyBeginAllowThreads();
11621 (arg1)->DrawCircle(arg2,arg3,arg4);
11622
11623 wxPyEndAllowThreads(__tstate);
11624 if (PyErr_Occurred()) SWIG_fail;
11625 }
11626 Py_INCREF(Py_None); resultobj = Py_None;
11627 return resultobj;
11628 fail:
11629 return NULL;
11630}
11631
11632
c32bde28 11633static PyObject *_wrap_DC_DrawCirclePoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11634 PyObject *resultobj;
11635 wxDC *arg1 = (wxDC *) 0 ;
11636 wxPoint *arg2 = 0 ;
e811c8ce 11637 int arg3 ;
d14a1e28
RD
11638 wxPoint temp2 ;
11639 PyObject * obj0 = 0 ;
11640 PyObject * obj1 = 0 ;
994141e6 11641 PyObject * obj2 = 0 ;
d14a1e28
RD
11642 char *kwnames[] = {
11643 (char *) "self",(char *) "pt",(char *) "radius", NULL
11644 };
11645
03e37cd5 11646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawCirclePoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11649 {
11650 arg2 = &temp2;
11651 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11652 }
c32bde28 11653 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11654 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11655 {
11656 PyThreadState* __tstate = wxPyBeginAllowThreads();
11657 (arg1)->DrawCircle((wxPoint const &)*arg2,arg3);
11658
11659 wxPyEndAllowThreads(__tstate);
11660 if (PyErr_Occurred()) SWIG_fail;
11661 }
11662 Py_INCREF(Py_None); resultobj = Py_None;
11663 return resultobj;
11664 fail:
11665 return NULL;
11666}
11667
11668
c32bde28 11669static PyObject *_wrap_DC_DrawEllipse(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11670 PyObject *resultobj;
11671 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
11672 int arg2 ;
11673 int arg3 ;
11674 int arg4 ;
11675 int arg5 ;
d14a1e28 11676 PyObject * obj0 = 0 ;
994141e6
RD
11677 PyObject * obj1 = 0 ;
11678 PyObject * obj2 = 0 ;
11679 PyObject * obj3 = 0 ;
11680 PyObject * obj4 = 0 ;
d14a1e28
RD
11681 char *kwnames[] = {
11682 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11683 };
11684
03e37cd5 11685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawEllipse",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
11686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11688 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11689 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11690 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11691 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11692 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 11693 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11694 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 11695 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11696 {
11697 PyThreadState* __tstate = wxPyBeginAllowThreads();
11698 (arg1)->DrawEllipse(arg2,arg3,arg4,arg5);
11699
11700 wxPyEndAllowThreads(__tstate);
11701 if (PyErr_Occurred()) SWIG_fail;
11702 }
11703 Py_INCREF(Py_None); resultobj = Py_None;
11704 return resultobj;
11705 fail:
11706 return NULL;
11707}
11708
11709
c32bde28 11710static PyObject *_wrap_DC_DrawEllipseRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11711 PyObject *resultobj;
11712 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
11713 wxRect *arg2 = 0 ;
11714 wxRect temp2 ;
d14a1e28
RD
11715 PyObject * obj0 = 0 ;
11716 PyObject * obj1 = 0 ;
d14a1e28 11717 char *kwnames[] = {
03e37cd5 11718 (char *) "self",(char *) "rect", NULL
d14a1e28
RD
11719 };
11720
03e37cd5 11721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawEllipseRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11724 {
11725 arg2 = &temp2;
03e37cd5 11726 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
11727 }
11728 {
11729 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11730 (arg1)->DrawEllipse((wxRect const &)*arg2);
d14a1e28
RD
11731
11732 wxPyEndAllowThreads(__tstate);
11733 if (PyErr_Occurred()) SWIG_fail;
11734 }
11735 Py_INCREF(Py_None); resultobj = Py_None;
11736 return resultobj;
11737 fail:
11738 return NULL;
11739}
11740
11741
c32bde28 11742static PyObject *_wrap_DC_DrawEllipsePointSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11743 PyObject *resultobj;
11744 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
11745 wxPoint *arg2 = 0 ;
11746 wxSize *arg3 = 0 ;
11747 wxPoint temp2 ;
11748 wxSize temp3 ;
d14a1e28
RD
11749 PyObject * obj0 = 0 ;
11750 PyObject * obj1 = 0 ;
03e37cd5 11751 PyObject * obj2 = 0 ;
d14a1e28 11752 char *kwnames[] = {
03e37cd5 11753 (char *) "self",(char *) "pt",(char *) "sz", NULL
d14a1e28
RD
11754 };
11755
03e37cd5 11756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawEllipsePointSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11759 {
11760 arg2 = &temp2;
03e37cd5
RD
11761 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11762 }
11763 {
11764 arg3 = &temp3;
11765 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
d14a1e28
RD
11766 }
11767 {
11768 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11769 (arg1)->DrawEllipse((wxPoint const &)*arg2,(wxSize const &)*arg3);
d14a1e28
RD
11770
11771 wxPyEndAllowThreads(__tstate);
11772 if (PyErr_Occurred()) SWIG_fail;
11773 }
11774 Py_INCREF(Py_None); resultobj = Py_None;
11775 return resultobj;
11776 fail:
11777 return NULL;
11778}
11779
11780
c32bde28 11781static PyObject *_wrap_DC_DrawIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11782 PyObject *resultobj;
11783 wxDC *arg1 = (wxDC *) 0 ;
11784 wxIcon *arg2 = 0 ;
e811c8ce
RD
11785 int arg3 ;
11786 int arg4 ;
d14a1e28
RD
11787 PyObject * obj0 = 0 ;
11788 PyObject * obj1 = 0 ;
994141e6
RD
11789 PyObject * obj2 = 0 ;
11790 PyObject * obj3 = 0 ;
d14a1e28
RD
11791 char *kwnames[] = {
11792 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11793 };
11794
03e37cd5 11795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawIcon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11799 SWIG_POINTER_EXCEPTION | 0)) == -1)
11800 SWIG_fail;
d14a1e28 11801 if (arg2 == NULL) {
15afbcd0
RD
11802 PyErr_SetString(PyExc_TypeError,"null reference");
11803 SWIG_fail;
994141e6 11804 }
c32bde28 11805 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11806 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11807 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 11808 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11809 {
11810 PyThreadState* __tstate = wxPyBeginAllowThreads();
11811 (arg1)->DrawIcon((wxIcon const &)*arg2,arg3,arg4);
11812
11813 wxPyEndAllowThreads(__tstate);
11814 if (PyErr_Occurred()) SWIG_fail;
11815 }
11816 Py_INCREF(Py_None); resultobj = Py_None;
11817 return resultobj;
11818 fail:
11819 return NULL;
11820}
11821
11822
c32bde28 11823static PyObject *_wrap_DC_DrawIconPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11824 PyObject *resultobj;
11825 wxDC *arg1 = (wxDC *) 0 ;
11826 wxIcon *arg2 = 0 ;
11827 wxPoint *arg3 = 0 ;
11828 wxPoint temp3 ;
11829 PyObject * obj0 = 0 ;
11830 PyObject * obj1 = 0 ;
11831 PyObject * obj2 = 0 ;
11832 char *kwnames[] = {
11833 (char *) "self",(char *) "icon",(char *) "pt", NULL
11834 };
11835
03e37cd5 11836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawIconPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11839 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11840 SWIG_POINTER_EXCEPTION | 0)) == -1)
11841 SWIG_fail;
d14a1e28 11842 if (arg2 == NULL) {
15afbcd0
RD
11843 PyErr_SetString(PyExc_TypeError,"null reference");
11844 SWIG_fail;
d14a1e28
RD
11845 }
11846 {
11847 arg3 = &temp3;
11848 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11849 }
11850 {
11851 PyThreadState* __tstate = wxPyBeginAllowThreads();
11852 (arg1)->DrawIcon((wxIcon const &)*arg2,(wxPoint const &)*arg3);
11853
11854 wxPyEndAllowThreads(__tstate);
11855 if (PyErr_Occurred()) SWIG_fail;
11856 }
11857 Py_INCREF(Py_None); resultobj = Py_None;
11858 return resultobj;
11859 fail:
11860 return NULL;
11861}
11862
11863
c32bde28 11864static PyObject *_wrap_DC_DrawBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11865 PyObject *resultobj;
11866 wxDC *arg1 = (wxDC *) 0 ;
11867 wxBitmap *arg2 = 0 ;
e811c8ce
RD
11868 int arg3 ;
11869 int arg4 ;
ae8162c8 11870 bool arg5 = (bool) false ;
d14a1e28
RD
11871 PyObject * obj0 = 0 ;
11872 PyObject * obj1 = 0 ;
994141e6
RD
11873 PyObject * obj2 = 0 ;
11874 PyObject * obj3 = 0 ;
d14a1e28
RD
11875 PyObject * obj4 = 0 ;
11876 char *kwnames[] = {
11877 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11878 };
11879
03e37cd5 11880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:DC_DrawBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
11881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11883 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
11884 SWIG_POINTER_EXCEPTION | 0)) == -1)
11885 SWIG_fail;
d14a1e28 11886 if (arg2 == NULL) {
15afbcd0
RD
11887 PyErr_SetString(PyExc_TypeError,"null reference");
11888 SWIG_fail;
994141e6 11889 }
c32bde28 11890 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11891 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11892 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 11893 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11894 if (obj4) {
c32bde28 11895 arg5 = (bool)SWIG_As_bool(obj4);
15afbcd0 11896 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11897 }
11898 {
11899 PyThreadState* __tstate = wxPyBeginAllowThreads();
11900 (arg1)->DrawBitmap((wxBitmap const &)*arg2,arg3,arg4,arg5);
11901
11902 wxPyEndAllowThreads(__tstate);
11903 if (PyErr_Occurred()) SWIG_fail;
11904 }
11905 Py_INCREF(Py_None); resultobj = Py_None;
11906 return resultobj;
11907 fail:
11908 return NULL;
11909}
11910
11911
c32bde28 11912static PyObject *_wrap_DC_DrawBitmapPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11913 PyObject *resultobj;
11914 wxDC *arg1 = (wxDC *) 0 ;
11915 wxBitmap *arg2 = 0 ;
11916 wxPoint *arg3 = 0 ;
ae8162c8 11917 bool arg4 = (bool) false ;
d14a1e28
RD
11918 wxPoint temp3 ;
11919 PyObject * obj0 = 0 ;
11920 PyObject * obj1 = 0 ;
11921 PyObject * obj2 = 0 ;
11922 PyObject * obj3 = 0 ;
11923 char *kwnames[] = {
11924 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11925 };
11926
03e37cd5 11927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11930 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
11931 SWIG_POINTER_EXCEPTION | 0)) == -1)
11932 SWIG_fail;
d14a1e28 11933 if (arg2 == NULL) {
15afbcd0
RD
11934 PyErr_SetString(PyExc_TypeError,"null reference");
11935 SWIG_fail;
d14a1e28
RD
11936 }
11937 {
11938 arg3 = &temp3;
11939 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11940 }
11941 if (obj3) {
c32bde28 11942 arg4 = (bool)SWIG_As_bool(obj3);
15afbcd0 11943 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11944 }
11945 {
11946 PyThreadState* __tstate = wxPyBeginAllowThreads();
11947 (arg1)->DrawBitmap((wxBitmap const &)*arg2,(wxPoint const &)*arg3,arg4);
11948
11949 wxPyEndAllowThreads(__tstate);
11950 if (PyErr_Occurred()) SWIG_fail;
11951 }
11952 Py_INCREF(Py_None); resultobj = Py_None;
11953 return resultobj;
11954 fail:
11955 return NULL;
11956}
11957
11958
c32bde28 11959static PyObject *_wrap_DC_DrawText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11960 PyObject *resultobj;
11961 wxDC *arg1 = (wxDC *) 0 ;
11962 wxString *arg2 = 0 ;
e811c8ce
RD
11963 int arg3 ;
11964 int arg4 ;
ae8162c8 11965 bool temp2 = false ;
d14a1e28
RD
11966 PyObject * obj0 = 0 ;
11967 PyObject * obj1 = 0 ;
994141e6
RD
11968 PyObject * obj2 = 0 ;
11969 PyObject * obj3 = 0 ;
d14a1e28
RD
11970 char *kwnames[] = {
11971 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11972 };
11973
03e37cd5 11974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11977 {
11978 arg2 = wxString_in_helper(obj1);
11979 if (arg2 == NULL) SWIG_fail;
ae8162c8 11980 temp2 = true;
d14a1e28 11981 }
c32bde28 11982 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11983 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11984 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 11985 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11986 {
11987 PyThreadState* __tstate = wxPyBeginAllowThreads();
11988 (arg1)->DrawText((wxString const &)*arg2,arg3,arg4);
11989
11990 wxPyEndAllowThreads(__tstate);
11991 if (PyErr_Occurred()) SWIG_fail;
11992 }
11993 Py_INCREF(Py_None); resultobj = Py_None;
11994 {
11995 if (temp2)
11996 delete arg2;
11997 }
11998 return resultobj;
11999 fail:
12000 {
12001 if (temp2)
12002 delete arg2;
12003 }
12004 return NULL;
12005}
12006
12007
c32bde28 12008static PyObject *_wrap_DC_DrawTextPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12009 PyObject *resultobj;
12010 wxDC *arg1 = (wxDC *) 0 ;
12011 wxString *arg2 = 0 ;
12012 wxPoint *arg3 = 0 ;
ae8162c8 12013 bool temp2 = false ;
d14a1e28
RD
12014 wxPoint temp3 ;
12015 PyObject * obj0 = 0 ;
12016 PyObject * obj1 = 0 ;
12017 PyObject * obj2 = 0 ;
12018 char *kwnames[] = {
12019 (char *) "self",(char *) "text",(char *) "pt", NULL
12020 };
12021
03e37cd5 12022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawTextPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12025 {
12026 arg2 = wxString_in_helper(obj1);
12027 if (arg2 == NULL) SWIG_fail;
ae8162c8 12028 temp2 = true;
d14a1e28
RD
12029 }
12030 {
12031 arg3 = &temp3;
12032 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12033 }
12034 {
12035 PyThreadState* __tstate = wxPyBeginAllowThreads();
12036 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
12037
12038 wxPyEndAllowThreads(__tstate);
12039 if (PyErr_Occurred()) SWIG_fail;
12040 }
12041 Py_INCREF(Py_None); resultobj = Py_None;
12042 {
12043 if (temp2)
12044 delete arg2;
12045 }
12046 return resultobj;
12047 fail:
12048 {
12049 if (temp2)
12050 delete arg2;
12051 }
12052 return NULL;
12053}
12054
12055
c32bde28 12056static PyObject *_wrap_DC_DrawRotatedText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12057 PyObject *resultobj;
12058 wxDC *arg1 = (wxDC *) 0 ;
12059 wxString *arg2 = 0 ;
e811c8ce
RD
12060 int arg3 ;
12061 int arg4 ;
d14a1e28 12062 double arg5 ;
ae8162c8 12063 bool temp2 = false ;
d14a1e28
RD
12064 PyObject * obj0 = 0 ;
12065 PyObject * obj1 = 0 ;
994141e6
RD
12066 PyObject * obj2 = 0 ;
12067 PyObject * obj3 = 0 ;
12068 PyObject * obj4 = 0 ;
d14a1e28
RD
12069 char *kwnames[] = {
12070 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
12071 };
12072
03e37cd5 12073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawRotatedText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
12074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12076 {
12077 arg2 = wxString_in_helper(obj1);
12078 if (arg2 == NULL) SWIG_fail;
ae8162c8 12079 temp2 = true;
d14a1e28 12080 }
c32bde28 12081 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 12082 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12083 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 12084 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12085 arg5 = (double)SWIG_As_double(obj4);
15afbcd0 12086 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12087 {
12088 PyThreadState* __tstate = wxPyBeginAllowThreads();
12089 (arg1)->DrawRotatedText((wxString const &)*arg2,arg3,arg4,arg5);
12090
12091 wxPyEndAllowThreads(__tstate);
12092 if (PyErr_Occurred()) SWIG_fail;
12093 }
12094 Py_INCREF(Py_None); resultobj = Py_None;
12095 {
12096 if (temp2)
12097 delete arg2;
12098 }
12099 return resultobj;
12100 fail:
12101 {
12102 if (temp2)
12103 delete arg2;
12104 }
12105 return NULL;
12106}
12107
12108
c32bde28 12109static PyObject *_wrap_DC_DrawRotatedTextPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12110 PyObject *resultobj;
12111 wxDC *arg1 = (wxDC *) 0 ;
12112 wxString *arg2 = 0 ;
12113 wxPoint *arg3 = 0 ;
12114 double arg4 ;
ae8162c8 12115 bool temp2 = false ;
d14a1e28
RD
12116 wxPoint temp3 ;
12117 PyObject * obj0 = 0 ;
12118 PyObject * obj1 = 0 ;
12119 PyObject * obj2 = 0 ;
994141e6 12120 PyObject * obj3 = 0 ;
d14a1e28
RD
12121 char *kwnames[] = {
12122 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
12123 };
12124
03e37cd5 12125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12128 {
12129 arg2 = wxString_in_helper(obj1);
12130 if (arg2 == NULL) SWIG_fail;
ae8162c8 12131 temp2 = true;
d14a1e28
RD
12132 }
12133 {
12134 arg3 = &temp3;
12135 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12136 }
c32bde28 12137 arg4 = (double)SWIG_As_double(obj3);
15afbcd0 12138 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12139 {
12140 PyThreadState* __tstate = wxPyBeginAllowThreads();
12141 (arg1)->DrawRotatedText((wxString const &)*arg2,(wxPoint const &)*arg3,arg4);
12142
12143 wxPyEndAllowThreads(__tstate);
12144 if (PyErr_Occurred()) SWIG_fail;
12145 }
12146 Py_INCREF(Py_None); resultobj = Py_None;
12147 {
12148 if (temp2)
12149 delete arg2;
12150 }
12151 return resultobj;
12152 fail:
12153 {
12154 if (temp2)
12155 delete arg2;
12156 }
12157 return NULL;
12158}
12159
12160
c32bde28 12161static PyObject *_wrap_DC_Blit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12162 PyObject *resultobj;
12163 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
12164 int arg2 ;
12165 int arg3 ;
12166 int arg4 ;
12167 int arg5 ;
d14a1e28 12168 wxDC *arg6 = (wxDC *) 0 ;
e811c8ce
RD
12169 int arg7 ;
12170 int arg8 ;
d14a1e28 12171 int arg9 = (int) wxCOPY ;
ae8162c8 12172 bool arg10 = (bool) false ;
e811c8ce
RD
12173 int arg11 = (int) -1 ;
12174 int arg12 = (int) -1 ;
d14a1e28
RD
12175 bool result;
12176 PyObject * obj0 = 0 ;
994141e6
RD
12177 PyObject * obj1 = 0 ;
12178 PyObject * obj2 = 0 ;
12179 PyObject * obj3 = 0 ;
12180 PyObject * obj4 = 0 ;
d14a1e28 12181 PyObject * obj5 = 0 ;
994141e6
RD
12182 PyObject * obj6 = 0 ;
12183 PyObject * obj7 = 0 ;
12184 PyObject * obj8 = 0 ;
d14a1e28 12185 PyObject * obj9 = 0 ;
994141e6
RD
12186 PyObject * obj10 = 0 ;
12187 PyObject * obj11 = 0 ;
d14a1e28
RD
12188 char *kwnames[] = {
12189 (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
12190 };
12191
03e37cd5 12192 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
12193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12195 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12196 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12197 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 12198 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12199 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 12200 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12201 arg5 = (int)SWIG_As_int(obj4);
15afbcd0
RD
12202 if (PyErr_Occurred()) SWIG_fail;
12203 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxDC,
12204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12205 arg7 = (int)SWIG_As_int(obj6);
15afbcd0 12206 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12207 arg8 = (int)SWIG_As_int(obj7);
15afbcd0 12208 if (PyErr_Occurred()) SWIG_fail;
994141e6 12209 if (obj8) {
c32bde28 12210 arg9 = (int)SWIG_As_int(obj8);
15afbcd0 12211 if (PyErr_Occurred()) SWIG_fail;
994141e6 12212 }
d14a1e28 12213 if (obj9) {
c32bde28 12214 arg10 = (bool)SWIG_As_bool(obj9);
15afbcd0 12215 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12216 }
12217 if (obj10) {
c32bde28 12218 arg11 = (int)SWIG_As_int(obj10);
15afbcd0 12219 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12220 }
12221 if (obj11) {
c32bde28 12222 arg12 = (int)SWIG_As_int(obj11);
15afbcd0 12223 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12224 }
12225 {
12226 PyThreadState* __tstate = wxPyBeginAllowThreads();
12227 result = (bool)(arg1)->Blit(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
12228
12229 wxPyEndAllowThreads(__tstate);
12230 if (PyErr_Occurred()) SWIG_fail;
12231 }
4f89f6a3
RD
12232 {
12233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12234 }
d14a1e28
RD
12235 return resultobj;
12236 fail:
12237 return NULL;
12238}
12239
12240
c32bde28 12241static PyObject *_wrap_DC_BlitPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12242 PyObject *resultobj;
12243 wxDC *arg1 = (wxDC *) 0 ;
12244 wxPoint *arg2 = 0 ;
12245 wxSize *arg3 = 0 ;
12246 wxDC *arg4 = (wxDC *) 0 ;
12247 wxPoint *arg5 = 0 ;
12248 int arg6 = (int) wxCOPY ;
ae8162c8 12249 bool arg7 = (bool) false ;
d14a1e28
RD
12250 wxPoint const &arg8_defvalue = wxDefaultPosition ;
12251 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
12252 bool result;
12253 wxPoint temp2 ;
12254 wxSize temp3 ;
12255 wxPoint temp5 ;
12256 wxPoint temp8 ;
12257 PyObject * obj0 = 0 ;
12258 PyObject * obj1 = 0 ;
12259 PyObject * obj2 = 0 ;
12260 PyObject * obj3 = 0 ;
12261 PyObject * obj4 = 0 ;
994141e6 12262 PyObject * obj5 = 0 ;
d14a1e28
RD
12263 PyObject * obj6 = 0 ;
12264 PyObject * obj7 = 0 ;
12265 char *kwnames[] = {
12266 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12267 };
12268
03e37cd5 12269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
12270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12272 {
12273 arg2 = &temp2;
12274 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12275 }
12276 {
12277 arg3 = &temp3;
12278 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
12279 }
15afbcd0
RD
12280 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDC,
12281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12282 {
12283 arg5 = &temp5;
12284 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12285 }
994141e6 12286 if (obj5) {
c32bde28 12287 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 12288 if (PyErr_Occurred()) SWIG_fail;
994141e6 12289 }
d14a1e28 12290 if (obj6) {
c32bde28 12291 arg7 = (bool)SWIG_As_bool(obj6);
15afbcd0 12292 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12293 }
12294 if (obj7) {
12295 {
12296 arg8 = &temp8;
12297 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
12298 }
12299 }
12300 {
12301 PyThreadState* __tstate = wxPyBeginAllowThreads();
12302 result = (bool)(arg1)->Blit((wxPoint const &)*arg2,(wxSize const &)*arg3,arg4,(wxPoint const &)*arg5,arg6,arg7,(wxPoint const &)*arg8);
12303
12304 wxPyEndAllowThreads(__tstate);
12305 if (PyErr_Occurred()) SWIG_fail;
12306 }
4f89f6a3
RD
12307 {
12308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12309 }
d14a1e28
RD
12310 return resultobj;
12311 fail:
12312 return NULL;
12313}
12314
12315
c32bde28 12316static PyObject *_wrap_DC_SetClippingRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12317 PyObject *resultobj;
12318 wxDC *arg1 = (wxDC *) 0 ;
12319 int arg2 ;
03e37cd5
RD
12320 int arg3 ;
12321 int arg4 ;
12322 int arg5 ;
d14a1e28
RD
12323 PyObject * obj0 = 0 ;
12324 PyObject * obj1 = 0 ;
994141e6
RD
12325 PyObject * obj2 = 0 ;
12326 PyObject * obj3 = 0 ;
03e37cd5 12327 PyObject * obj4 = 0 ;
d14a1e28 12328 char *kwnames[] = {
03e37cd5 12329 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
d14a1e28
RD
12330 };
12331
03e37cd5 12332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_SetClippingRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
12333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12335 arg2 = (int)SWIG_As_int(obj1);
03e37cd5 12336 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12337 arg3 = (int)SWIG_As_int(obj2);
03e37cd5 12338 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12339 arg4 = (int)SWIG_As_int(obj3);
03e37cd5 12340 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12341 arg5 = (int)SWIG_As_int(obj4);
03e37cd5 12342 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12343 {
12344 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 12345 (arg1)->SetClippingRegion(arg2,arg3,arg4,arg5);
d14a1e28
RD
12346
12347 wxPyEndAllowThreads(__tstate);
12348 if (PyErr_Occurred()) SWIG_fail;
12349 }
12350 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
12351 return resultobj;
12352 fail:
d14a1e28
RD
12353 return NULL;
12354}
12355
12356
c32bde28 12357static PyObject *_wrap_DC_SetClippingRegionPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12358 PyObject *resultobj;
12359 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
12360 wxPoint *arg2 = 0 ;
12361 wxSize *arg3 = 0 ;
12362 wxPoint temp2 ;
12363 wxSize temp3 ;
d14a1e28
RD
12364 PyObject * obj0 = 0 ;
12365 PyObject * obj1 = 0 ;
994141e6 12366 PyObject * obj2 = 0 ;
d14a1e28 12367 char *kwnames[] = {
03e37cd5 12368 (char *) "self",(char *) "pt",(char *) "sz", NULL
d14a1e28
RD
12369 };
12370
03e37cd5 12371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12374 {
03e37cd5
RD
12375 arg2 = &temp2;
12376 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
994141e6 12377 }
03e37cd5
RD
12378 {
12379 arg3 = &temp3;
12380 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
994141e6 12381 }
d14a1e28
RD
12382 {
12383 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 12384 (arg1)->SetClippingRegion((wxPoint const &)*arg2,(wxSize const &)*arg3);
d14a1e28
RD
12385
12386 wxPyEndAllowThreads(__tstate);
12387 if (PyErr_Occurred()) SWIG_fail;
12388 }
12389 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
12390 return resultobj;
12391 fail:
d14a1e28
RD
12392 return NULL;
12393}
12394
12395
c32bde28 12396static PyObject *_wrap_DC_SetClippingRegionAsRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12397 PyObject *resultobj;
12398 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5 12399 wxRegion *arg2 = 0 ;
d14a1e28
RD
12400 PyObject * obj0 = 0 ;
12401 PyObject * obj1 = 0 ;
d14a1e28 12402 char *kwnames[] = {
03e37cd5 12403 (char *) "self",(char *) "region", NULL
d14a1e28
RD
12404 };
12405
03e37cd5
RD
12406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames,&obj0,&obj1)) goto fail;
12407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12409 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
12410 SWIG_POINTER_EXCEPTION | 0)) == -1)
12411 SWIG_fail;
12412 if (arg2 == NULL) {
12413 PyErr_SetString(PyExc_TypeError,"null reference");
12414 SWIG_fail;
12415 }
12416 {
12417 PyThreadState* __tstate = wxPyBeginAllowThreads();
12418 (arg1)->SetClippingRegion((wxRegion const &)*arg2);
12419
12420 wxPyEndAllowThreads(__tstate);
12421 if (PyErr_Occurred()) SWIG_fail;
12422 }
12423 Py_INCREF(Py_None); resultobj = Py_None;
12424 return resultobj;
12425 fail:
12426 return NULL;
12427}
12428
12429
c32bde28 12430static PyObject *_wrap_DC_SetClippingRect(PyObject *, PyObject *args, PyObject *kwargs) {
03e37cd5
RD
12431 PyObject *resultobj;
12432 wxDC *arg1 = (wxDC *) 0 ;
12433 wxRect *arg2 = 0 ;
12434 wxRect temp2 ;
12435 PyObject * obj0 = 0 ;
12436 PyObject * obj1 = 0 ;
12437 char *kwnames[] = {
12438 (char *) "self",(char *) "rect", NULL
12439 };
12440
12441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
12442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12444 {
12445 arg2 = &temp2;
12446 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12447 }
12448 {
12449 PyThreadState* __tstate = wxPyBeginAllowThreads();
12450 (arg1)->SetClippingRegion((wxRect const &)*arg2);
12451
12452 wxPyEndAllowThreads(__tstate);
12453 if (PyErr_Occurred()) SWIG_fail;
12454 }
12455 Py_INCREF(Py_None); resultobj = Py_None;
12456 return resultobj;
12457 fail:
12458 return NULL;
12459}
12460
12461
c32bde28 12462static PyObject *_wrap_DC_DrawLines(PyObject *, PyObject *args, PyObject *kwargs) {
03e37cd5
RD
12463 PyObject *resultobj;
12464 wxDC *arg1 = (wxDC *) 0 ;
12465 int arg2 ;
12466 wxPoint *arg3 = (wxPoint *) 0 ;
12467 int arg4 = (int) 0 ;
12468 int arg5 = (int) 0 ;
12469 PyObject * obj0 = 0 ;
12470 PyObject * obj1 = 0 ;
12471 PyObject * obj2 = 0 ;
12472 PyObject * obj3 = 0 ;
12473 char *kwnames[] = {
12474 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12475 };
12476
12477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DC_DrawLines",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12480 {
12481 arg3 = wxPoint_LIST_helper(obj1, &arg2);
12482 if (arg3 == NULL) SWIG_fail;
12483 }
12484 if (obj2) {
c32bde28 12485 arg4 = (int)SWIG_As_int(obj2);
03e37cd5
RD
12486 if (PyErr_Occurred()) SWIG_fail;
12487 }
12488 if (obj3) {
c32bde28 12489 arg5 = (int)SWIG_As_int(obj3);
03e37cd5
RD
12490 if (PyErr_Occurred()) SWIG_fail;
12491 }
12492 {
12493 PyThreadState* __tstate = wxPyBeginAllowThreads();
12494 (arg1)->DrawLines(arg2,arg3,arg4,arg5);
12495
12496 wxPyEndAllowThreads(__tstate);
12497 if (PyErr_Occurred()) SWIG_fail;
12498 }
12499 Py_INCREF(Py_None); resultobj = Py_None;
12500 {
12501 if (arg3) delete [] arg3;
12502 }
12503 return resultobj;
12504 fail:
12505 {
12506 if (arg3) delete [] arg3;
12507 }
12508 return NULL;
12509}
12510
12511
c32bde28 12512static PyObject *_wrap_DC_DrawPolygon(PyObject *, PyObject *args, PyObject *kwargs) {
03e37cd5
RD
12513 PyObject *resultobj;
12514 wxDC *arg1 = (wxDC *) 0 ;
12515 int arg2 ;
12516 wxPoint *arg3 = (wxPoint *) 0 ;
12517 int arg4 = (int) 0 ;
12518 int arg5 = (int) 0 ;
12519 int arg6 = (int) wxODDEVEN_RULE ;
12520 PyObject * obj0 = 0 ;
12521 PyObject * obj1 = 0 ;
12522 PyObject * obj2 = 0 ;
12523 PyObject * obj3 = 0 ;
12524 PyObject * obj4 = 0 ;
12525 char *kwnames[] = {
12526 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12527 };
12528
12529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DC_DrawPolygon",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12532 {
12533 arg3 = wxPoint_LIST_helper(obj1, &arg2);
12534 if (arg3 == NULL) SWIG_fail;
12535 }
12536 if (obj2) {
c32bde28 12537 arg4 = (int)SWIG_As_int(obj2);
03e37cd5
RD
12538 if (PyErr_Occurred()) SWIG_fail;
12539 }
12540 if (obj3) {
c32bde28 12541 arg5 = (int)SWIG_As_int(obj3);
03e37cd5
RD
12542 if (PyErr_Occurred()) SWIG_fail;
12543 }
12544 if (obj4) {
c32bde28 12545 arg6 = (int)SWIG_As_int(obj4);
03e37cd5
RD
12546 if (PyErr_Occurred()) SWIG_fail;
12547 }
12548 {
12549 PyThreadState* __tstate = wxPyBeginAllowThreads();
12550 (arg1)->DrawPolygon(arg2,arg3,arg4,arg5,arg6);
12551
12552 wxPyEndAllowThreads(__tstate);
12553 if (PyErr_Occurred()) SWIG_fail;
12554 }
12555 Py_INCREF(Py_None); resultobj = Py_None;
12556 {
12557 if (arg3) delete [] arg3;
12558 }
12559 return resultobj;
12560 fail:
12561 {
12562 if (arg3) delete [] arg3;
12563 }
12564 return NULL;
12565}
12566
12567
c32bde28 12568static PyObject *_wrap_DC_DrawLabel(PyObject *, PyObject *args, PyObject *kwargs) {
03e37cd5
RD
12569 PyObject *resultobj;
12570 wxDC *arg1 = (wxDC *) 0 ;
12571 wxString *arg2 = 0 ;
12572 wxRect *arg3 = 0 ;
12573 int arg4 = (int) wxALIGN_LEFT|wxALIGN_TOP ;
12574 int arg5 = (int) -1 ;
ae8162c8 12575 bool temp2 = false ;
03e37cd5
RD
12576 wxRect temp3 ;
12577 PyObject * obj0 = 0 ;
12578 PyObject * obj1 = 0 ;
12579 PyObject * obj2 = 0 ;
12580 PyObject * obj3 = 0 ;
12581 PyObject * obj4 = 0 ;
12582 char *kwnames[] = {
12583 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12584 };
12585
12586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DC_DrawLabel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
12587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12589 {
12590 arg2 = wxString_in_helper(obj1);
12591 if (arg2 == NULL) SWIG_fail;
ae8162c8 12592 temp2 = true;
d14a1e28
RD
12593 }
12594 {
12595 arg3 = &temp3;
12596 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
12597 }
994141e6 12598 if (obj3) {
c32bde28 12599 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 12600 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12601 }
12602 if (obj4) {
c32bde28 12603 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 12604 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12605 }
12606 {
12607 PyThreadState* __tstate = wxPyBeginAllowThreads();
12608 (arg1)->DrawLabel((wxString const &)*arg2,(wxRect const &)*arg3,arg4,arg5);
d14a1e28
RD
12609
12610 wxPyEndAllowThreads(__tstate);
12611 if (PyErr_Occurred()) SWIG_fail;
12612 }
12613 Py_INCREF(Py_None); resultobj = Py_None;
12614 {
12615 if (temp2)
12616 delete arg2;
12617 }
12618 return resultobj;
12619 fail:
12620 {
12621 if (temp2)
12622 delete arg2;
12623 }
12624 return NULL;
12625}
12626
12627
c32bde28 12628static PyObject *_wrap_DC_DrawImageLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12629 PyObject *resultobj;
12630 wxDC *arg1 = (wxDC *) 0 ;
12631 wxString *arg2 = 0 ;
12632 wxBitmap *arg3 = 0 ;
12633 wxRect *arg4 = 0 ;
12634 int arg5 = (int) wxALIGN_LEFT|wxALIGN_TOP ;
12635 int arg6 = (int) -1 ;
12636 wxRect result;
ae8162c8 12637 bool temp2 = false ;
d14a1e28
RD
12638 wxRect temp4 ;
12639 PyObject * obj0 = 0 ;
12640 PyObject * obj1 = 0 ;
12641 PyObject * obj2 = 0 ;
12642 PyObject * obj3 = 0 ;
994141e6
RD
12643 PyObject * obj4 = 0 ;
12644 PyObject * obj5 = 0 ;
d14a1e28
RD
12645 char *kwnames[] = {
12646 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12647 };
12648
994141e6 12649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
12650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12652 {
12653 arg2 = wxString_in_helper(obj1);
12654 if (arg2 == NULL) SWIG_fail;
ae8162c8 12655 temp2 = true;
d14a1e28 12656 }
15afbcd0
RD
12657 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
12658 SWIG_POINTER_EXCEPTION | 0)) == -1)
12659 SWIG_fail;
d14a1e28 12660 if (arg3 == NULL) {
15afbcd0
RD
12661 PyErr_SetString(PyExc_TypeError,"null reference");
12662 SWIG_fail;
d14a1e28
RD
12663 }
12664 {
12665 arg4 = &temp4;
12666 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
12667 }
994141e6 12668 if (obj4) {
c32bde28 12669 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 12670 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12671 }
12672 if (obj5) {
c32bde28 12673 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 12674 if (PyErr_Occurred()) SWIG_fail;
994141e6 12675 }
d14a1e28
RD
12676 {
12677 PyThreadState* __tstate = wxPyBeginAllowThreads();
12678 result = wxDC_DrawImageLabel(arg1,(wxString const &)*arg2,(wxBitmap const &)*arg3,(wxRect const &)*arg4,arg5,arg6);
12679
12680 wxPyEndAllowThreads(__tstate);
12681 if (PyErr_Occurred()) SWIG_fail;
12682 }
12683 {
12684 wxRect * resultptr;
12685 resultptr = new wxRect((wxRect &) result);
15afbcd0 12686 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
12687 }
12688 {
12689 if (temp2)
12690 delete arg2;
12691 }
12692 return resultobj;
12693 fail:
12694 {
12695 if (temp2)
12696 delete arg2;
12697 }
12698 return NULL;
12699}
12700
12701
c32bde28 12702static PyObject *_wrap_DC_DrawSpline(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12703 PyObject *resultobj;
12704 wxDC *arg1 = (wxDC *) 0 ;
12705 int arg2 ;
12706 wxPoint *arg3 = (wxPoint *) 0 ;
12707 PyObject * obj0 = 0 ;
12708 PyObject * obj1 = 0 ;
12709 char *kwnames[] = {
12710 (char *) "self",(char *) "points", NULL
12711 };
12712
12713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawSpline",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12716 {
12717 arg3 = wxPoint_LIST_helper(obj1, &arg2);
12718 if (arg3 == NULL) SWIG_fail;
12719 }
12720 {
12721 PyThreadState* __tstate = wxPyBeginAllowThreads();
12722 (arg1)->DrawSpline(arg2,arg3);
12723
12724 wxPyEndAllowThreads(__tstate);
12725 if (PyErr_Occurred()) SWIG_fail;
12726 }
12727 Py_INCREF(Py_None); resultobj = Py_None;
12728 {
12729 if (arg3) delete [] arg3;
12730 }
12731 return resultobj;
12732 fail:
12733 {
12734 if (arg3) delete [] arg3;
12735 }
12736 return NULL;
12737}
12738
12739
c32bde28 12740static PyObject *_wrap_DC_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12741 PyObject *resultobj;
12742 wxDC *arg1 = (wxDC *) 0 ;
12743 PyObject * obj0 = 0 ;
12744 char *kwnames[] = {
12745 (char *) "self", NULL
12746 };
12747
12748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
12749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12751 {
12752 PyThreadState* __tstate = wxPyBeginAllowThreads();
12753 (arg1)->Clear();
12754
12755 wxPyEndAllowThreads(__tstate);
12756 if (PyErr_Occurred()) SWIG_fail;
12757 }
12758 Py_INCREF(Py_None); resultobj = Py_None;
12759 return resultobj;
12760 fail:
12761 return NULL;
12762}
12763
12764
c32bde28 12765static PyObject *_wrap_DC_StartDoc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12766 PyObject *resultobj;
12767 wxDC *arg1 = (wxDC *) 0 ;
12768 wxString *arg2 = 0 ;
12769 bool result;
ae8162c8 12770 bool temp2 = false ;
d14a1e28
RD
12771 PyObject * obj0 = 0 ;
12772 PyObject * obj1 = 0 ;
12773 char *kwnames[] = {
12774 (char *) "self",(char *) "message", NULL
12775 };
12776
12777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_StartDoc",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12780 {
12781 arg2 = wxString_in_helper(obj1);
12782 if (arg2 == NULL) SWIG_fail;
ae8162c8 12783 temp2 = true;
d14a1e28
RD
12784 }
12785 {
12786 PyThreadState* __tstate = wxPyBeginAllowThreads();
12787 result = (bool)(arg1)->StartDoc((wxString const &)*arg2);
12788
12789 wxPyEndAllowThreads(__tstate);
12790 if (PyErr_Occurred()) SWIG_fail;
12791 }
4f89f6a3
RD
12792 {
12793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12794 }
d14a1e28
RD
12795 {
12796 if (temp2)
12797 delete arg2;
12798 }
12799 return resultobj;
12800 fail:
12801 {
12802 if (temp2)
12803 delete arg2;
12804 }
12805 return NULL;
12806}
12807
12808
c32bde28 12809static PyObject *_wrap_DC_EndDoc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12810 PyObject *resultobj;
12811 wxDC *arg1 = (wxDC *) 0 ;
12812 PyObject * obj0 = 0 ;
12813 char *kwnames[] = {
12814 (char *) "self", NULL
12815 };
12816
12817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_EndDoc",kwnames,&obj0)) goto fail;
15afbcd0
RD
12818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12820 {
12821 PyThreadState* __tstate = wxPyBeginAllowThreads();
12822 (arg1)->EndDoc();
12823
12824 wxPyEndAllowThreads(__tstate);
12825 if (PyErr_Occurred()) SWIG_fail;
12826 }
12827 Py_INCREF(Py_None); resultobj = Py_None;
12828 return resultobj;
12829 fail:
12830 return NULL;
12831}
12832
12833
c32bde28 12834static PyObject *_wrap_DC_StartPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12835 PyObject *resultobj;
12836 wxDC *arg1 = (wxDC *) 0 ;
12837 PyObject * obj0 = 0 ;
12838 char *kwnames[] = {
12839 (char *) "self", NULL
12840 };
12841
12842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_StartPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
12843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12845 {
12846 PyThreadState* __tstate = wxPyBeginAllowThreads();
12847 (arg1)->StartPage();
12848
12849 wxPyEndAllowThreads(__tstate);
12850 if (PyErr_Occurred()) SWIG_fail;
12851 }
12852 Py_INCREF(Py_None); resultobj = Py_None;
12853 return resultobj;
12854 fail:
12855 return NULL;
12856}
12857
12858
c32bde28 12859static PyObject *_wrap_DC_EndPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12860 PyObject *resultobj;
12861 wxDC *arg1 = (wxDC *) 0 ;
12862 PyObject * obj0 = 0 ;
12863 char *kwnames[] = {
12864 (char *) "self", NULL
12865 };
12866
12867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_EndPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
12868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12870 {
12871 PyThreadState* __tstate = wxPyBeginAllowThreads();
12872 (arg1)->EndPage();
12873
12874 wxPyEndAllowThreads(__tstate);
12875 if (PyErr_Occurred()) SWIG_fail;
12876 }
12877 Py_INCREF(Py_None); resultobj = Py_None;
12878 return resultobj;
12879 fail:
12880 return NULL;
12881}
12882
12883
c32bde28 12884static PyObject *_wrap_DC_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12885 PyObject *resultobj;
12886 wxDC *arg1 = (wxDC *) 0 ;
12887 wxFont *arg2 = 0 ;
12888 PyObject * obj0 = 0 ;
12889 PyObject * obj1 = 0 ;
12890 char *kwnames[] = {
12891 (char *) "self",(char *) "font", NULL
12892 };
12893
12894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12897 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12898 SWIG_POINTER_EXCEPTION | 0)) == -1)
12899 SWIG_fail;
d14a1e28 12900 if (arg2 == NULL) {
15afbcd0
RD
12901 PyErr_SetString(PyExc_TypeError,"null reference");
12902 SWIG_fail;
d14a1e28
RD
12903 }
12904 {
12905 PyThreadState* __tstate = wxPyBeginAllowThreads();
12906 (arg1)->SetFont((wxFont const &)*arg2);
12907
12908 wxPyEndAllowThreads(__tstate);
12909 if (PyErr_Occurred()) SWIG_fail;
12910 }
12911 Py_INCREF(Py_None); resultobj = Py_None;
12912 return resultobj;
12913 fail:
12914 return NULL;
12915}
12916
12917
c32bde28 12918static PyObject *_wrap_DC_SetPen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12919 PyObject *resultobj;
12920 wxDC *arg1 = (wxDC *) 0 ;
12921 wxPen *arg2 = 0 ;
12922 PyObject * obj0 = 0 ;
12923 PyObject * obj1 = 0 ;
12924 char *kwnames[] = {
12925 (char *) "self",(char *) "pen", NULL
12926 };
12927
12928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetPen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12931 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPen,
12932 SWIG_POINTER_EXCEPTION | 0)) == -1)
12933 SWIG_fail;
d14a1e28 12934 if (arg2 == NULL) {
15afbcd0
RD
12935 PyErr_SetString(PyExc_TypeError,"null reference");
12936 SWIG_fail;
d14a1e28
RD
12937 }
12938 {
12939 PyThreadState* __tstate = wxPyBeginAllowThreads();
12940 (arg1)->SetPen((wxPen const &)*arg2);
12941
12942 wxPyEndAllowThreads(__tstate);
12943 if (PyErr_Occurred()) SWIG_fail;
12944 }
12945 Py_INCREF(Py_None); resultobj = Py_None;
12946 return resultobj;
12947 fail:
12948 return NULL;
12949}
12950
12951
c32bde28 12952static PyObject *_wrap_DC_SetBrush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12953 PyObject *resultobj;
12954 wxDC *arg1 = (wxDC *) 0 ;
12955 wxBrush *arg2 = 0 ;
12956 PyObject * obj0 = 0 ;
12957 PyObject * obj1 = 0 ;
12958 char *kwnames[] = {
12959 (char *) "self",(char *) "brush", NULL
12960 };
12961
12962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetBrush",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12965 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBrush,
12966 SWIG_POINTER_EXCEPTION | 0)) == -1)
12967 SWIG_fail;
d14a1e28 12968 if (arg2 == NULL) {
15afbcd0
RD
12969 PyErr_SetString(PyExc_TypeError,"null reference");
12970 SWIG_fail;
d14a1e28
RD
12971 }
12972 {
12973 PyThreadState* __tstate = wxPyBeginAllowThreads();
12974 (arg1)->SetBrush((wxBrush const &)*arg2);
12975
12976 wxPyEndAllowThreads(__tstate);
12977 if (PyErr_Occurred()) SWIG_fail;
12978 }
12979 Py_INCREF(Py_None); resultobj = Py_None;
12980 return resultobj;
12981 fail:
12982 return NULL;
12983}
12984
12985
c32bde28 12986static PyObject *_wrap_DC_SetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12987 PyObject *resultobj;
12988 wxDC *arg1 = (wxDC *) 0 ;
12989 wxBrush *arg2 = 0 ;
12990 PyObject * obj0 = 0 ;
12991 PyObject * obj1 = 0 ;
12992 char *kwnames[] = {
12993 (char *) "self",(char *) "brush", NULL
12994 };
12995
12996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetBackground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12999 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBrush,
13000 SWIG_POINTER_EXCEPTION | 0)) == -1)
13001 SWIG_fail;
d14a1e28 13002 if (arg2 == NULL) {
15afbcd0
RD
13003 PyErr_SetString(PyExc_TypeError,"null reference");
13004 SWIG_fail;
d14a1e28
RD
13005 }
13006 {
13007 PyThreadState* __tstate = wxPyBeginAllowThreads();
13008 (arg1)->SetBackground((wxBrush const &)*arg2);
13009
13010 wxPyEndAllowThreads(__tstate);
13011 if (PyErr_Occurred()) SWIG_fail;
13012 }
13013 Py_INCREF(Py_None); resultobj = Py_None;
13014 return resultobj;
13015 fail:
13016 return NULL;
13017}
13018
13019
c32bde28 13020static PyObject *_wrap_DC_SetBackgroundMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13021 PyObject *resultobj;
13022 wxDC *arg1 = (wxDC *) 0 ;
13023 int arg2 ;
13024 PyObject * obj0 = 0 ;
994141e6 13025 PyObject * obj1 = 0 ;
d14a1e28
RD
13026 char *kwnames[] = {
13027 (char *) "self",(char *) "mode", NULL
13028 };
13029
994141e6 13030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13033 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13034 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13035 {
13036 PyThreadState* __tstate = wxPyBeginAllowThreads();
13037 (arg1)->SetBackgroundMode(arg2);
13038
13039 wxPyEndAllowThreads(__tstate);
13040 if (PyErr_Occurred()) SWIG_fail;
13041 }
13042 Py_INCREF(Py_None); resultobj = Py_None;
13043 return resultobj;
13044 fail:
13045 return NULL;
13046}
13047
13048
c32bde28 13049static PyObject *_wrap_DC_SetPalette(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13050 PyObject *resultobj;
13051 wxDC *arg1 = (wxDC *) 0 ;
13052 wxPalette *arg2 = 0 ;
13053 PyObject * obj0 = 0 ;
13054 PyObject * obj1 = 0 ;
13055 char *kwnames[] = {
13056 (char *) "self",(char *) "palette", NULL
13057 };
13058
13059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetPalette",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13062 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPalette,
13063 SWIG_POINTER_EXCEPTION | 0)) == -1)
13064 SWIG_fail;
d14a1e28 13065 if (arg2 == NULL) {
15afbcd0
RD
13066 PyErr_SetString(PyExc_TypeError,"null reference");
13067 SWIG_fail;
d14a1e28
RD
13068 }
13069 {
13070 PyThreadState* __tstate = wxPyBeginAllowThreads();
13071 (arg1)->SetPalette((wxPalette const &)*arg2);
13072
13073 wxPyEndAllowThreads(__tstate);
13074 if (PyErr_Occurred()) SWIG_fail;
13075 }
13076 Py_INCREF(Py_None); resultobj = Py_None;
13077 return resultobj;
13078 fail:
13079 return NULL;
13080}
13081
13082
c32bde28 13083static PyObject *_wrap_DC_DestroyClippingRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13084 PyObject *resultobj;
13085 wxDC *arg1 = (wxDC *) 0 ;
13086 PyObject * obj0 = 0 ;
13087 char *kwnames[] = {
13088 (char *) "self", NULL
13089 };
13090
13091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_DestroyClippingRegion",kwnames,&obj0)) goto fail;
15afbcd0
RD
13092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13094 {
13095 PyThreadState* __tstate = wxPyBeginAllowThreads();
13096 (arg1)->DestroyClippingRegion();
13097
13098 wxPyEndAllowThreads(__tstate);
13099 if (PyErr_Occurred()) SWIG_fail;
13100 }
13101 Py_INCREF(Py_None); resultobj = Py_None;
13102 return resultobj;
13103 fail:
13104 return NULL;
13105}
13106
13107
c32bde28 13108static PyObject *_wrap_DC_GetClippingBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13109 PyObject *resultobj;
13110 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13111 int *arg2 = (int *) 0 ;
13112 int *arg3 = (int *) 0 ;
13113 int *arg4 = (int *) 0 ;
13114 int *arg5 = (int *) 0 ;
13115 int temp2 ;
c32bde28 13116 int res2 = 0 ;
e811c8ce 13117 int temp3 ;
c32bde28 13118 int res3 = 0 ;
e811c8ce 13119 int temp4 ;
c32bde28 13120 int res4 = 0 ;
e811c8ce 13121 int temp5 ;
c32bde28 13122 int res5 = 0 ;
d14a1e28
RD
13123 PyObject * obj0 = 0 ;
13124 char *kwnames[] = {
13125 (char *) "self", NULL
13126 };
13127
c32bde28
RD
13128 arg2 = &temp2; res2 = SWIG_NEWOBJ;
13129 arg3 = &temp3; res3 = SWIG_NEWOBJ;
13130 arg4 = &temp4; res4 = SWIG_NEWOBJ;
13131 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d14a1e28 13132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetClippingBox",kwnames,&obj0)) goto fail;
15afbcd0
RD
13133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13135 {
13136 PyThreadState* __tstate = wxPyBeginAllowThreads();
13137 ((wxDC const *)arg1)->GetClippingBox(arg2,arg3,arg4,arg5);
13138
13139 wxPyEndAllowThreads(__tstate);
13140 if (PyErr_Occurred()) SWIG_fail;
13141 }
13142 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
13143 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
13144 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
13145 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
13146 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
13147 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
13148 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
13149 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
13150 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
13151 return resultobj;
13152 fail:
13153 return NULL;
13154}
13155
13156
c32bde28 13157static PyObject *_wrap_DC_GetClippingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13158 PyObject *resultobj;
13159 wxDC *arg1 = (wxDC *) 0 ;
13160 wxRect result;
13161 PyObject * obj0 = 0 ;
13162 char *kwnames[] = {
13163 (char *) "self", NULL
13164 };
13165
13166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetClippingRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
13167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13169 {
13170 PyThreadState* __tstate = wxPyBeginAllowThreads();
13171 result = wxDC_GetClippingRect(arg1);
13172
13173 wxPyEndAllowThreads(__tstate);
13174 if (PyErr_Occurred()) SWIG_fail;
13175 }
13176 {
13177 wxRect * resultptr;
13178 resultptr = new wxRect((wxRect &) result);
15afbcd0 13179 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
13180 }
13181 return resultobj;
13182 fail:
13183 return NULL;
13184}
13185
13186
c32bde28 13187static PyObject *_wrap_DC_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13188 PyObject *resultobj;
13189 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce 13190 int result;
d14a1e28
RD
13191 PyObject * obj0 = 0 ;
13192 char *kwnames[] = {
13193 (char *) "self", NULL
13194 };
13195
13196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetCharHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
13197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13199 {
13200 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13201 result = (int)((wxDC const *)arg1)->GetCharHeight();
d14a1e28
RD
13202
13203 wxPyEndAllowThreads(__tstate);
13204 if (PyErr_Occurred()) SWIG_fail;
13205 }
c32bde28 13206 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13207 return resultobj;
13208 fail:
13209 return NULL;
13210}
13211
13212
c32bde28 13213static PyObject *_wrap_DC_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13214 PyObject *resultobj;
13215 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce 13216 int result;
d14a1e28
RD
13217 PyObject * obj0 = 0 ;
13218 char *kwnames[] = {
13219 (char *) "self", NULL
13220 };
13221
13222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetCharWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
13223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13225 {
13226 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13227 result = (int)((wxDC const *)arg1)->GetCharWidth();
d14a1e28
RD
13228
13229 wxPyEndAllowThreads(__tstate);
13230 if (PyErr_Occurred()) SWIG_fail;
13231 }
c32bde28 13232 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13233 return resultobj;
13234 fail:
13235 return NULL;
13236}
13237
13238
c32bde28 13239static PyObject *_wrap_DC_GetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13240 PyObject *resultobj;
13241 wxDC *arg1 = (wxDC *) 0 ;
13242 wxString *arg2 = 0 ;
e811c8ce
RD
13243 int *arg3 = (int *) 0 ;
13244 int *arg4 = (int *) 0 ;
ae8162c8 13245 bool temp2 = false ;
e811c8ce 13246 int temp3 ;
c32bde28 13247 int res3 = 0 ;
e811c8ce 13248 int temp4 ;
c32bde28 13249 int res4 = 0 ;
d14a1e28
RD
13250 PyObject * obj0 = 0 ;
13251 PyObject * obj1 = 0 ;
13252 char *kwnames[] = {
13253 (char *) "self",(char *) "string", NULL
13254 };
13255
c32bde28
RD
13256 arg3 = &temp3; res3 = SWIG_NEWOBJ;
13257 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d14a1e28 13258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13261 {
13262 arg2 = wxString_in_helper(obj1);
13263 if (arg2 == NULL) SWIG_fail;
ae8162c8 13264 temp2 = true;
d14a1e28
RD
13265 }
13266 {
13267 PyThreadState* __tstate = wxPyBeginAllowThreads();
13268 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
13269
13270 wxPyEndAllowThreads(__tstate);
13271 if (PyErr_Occurred()) SWIG_fail;
13272 }
13273 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
13274 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
13275 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
13276 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
13277 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
d14a1e28
RD
13278 {
13279 if (temp2)
13280 delete arg2;
13281 }
13282 return resultobj;
13283 fail:
13284 {
13285 if (temp2)
13286 delete arg2;
13287 }
13288 return NULL;
13289}
13290
13291
c32bde28 13292static PyObject *_wrap_DC_GetFullTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13293 PyObject *resultobj;
13294 wxDC *arg1 = (wxDC *) 0 ;
13295 wxString *arg2 = 0 ;
e811c8ce
RD
13296 int *arg3 = (int *) 0 ;
13297 int *arg4 = (int *) 0 ;
13298 int *arg5 = (int *) 0 ;
13299 int *arg6 = (int *) 0 ;
d14a1e28 13300 wxFont *arg7 = (wxFont *) NULL ;
ae8162c8 13301 bool temp2 = false ;
e811c8ce 13302 int temp3 ;
c32bde28 13303 int res3 = 0 ;
e811c8ce 13304 int temp4 ;
c32bde28 13305 int res4 = 0 ;
e811c8ce 13306 int temp5 ;
c32bde28 13307 int res5 = 0 ;
e811c8ce 13308 int temp6 ;
c32bde28 13309 int res6 = 0 ;
d14a1e28
RD
13310 PyObject * obj0 = 0 ;
13311 PyObject * obj1 = 0 ;
13312 PyObject * obj2 = 0 ;
13313 char *kwnames[] = {
13314 (char *) "self",(char *) "string",(char *) "font", NULL
13315 };
13316
c32bde28
RD
13317 arg3 = &temp3; res3 = SWIG_NEWOBJ;
13318 arg4 = &temp4; res4 = SWIG_NEWOBJ;
13319 arg5 = &temp5; res5 = SWIG_NEWOBJ;
13320 arg6 = &temp6; res6 = SWIG_NEWOBJ;
d14a1e28 13321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DC_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13324 {
13325 arg2 = wxString_in_helper(obj1);
13326 if (arg2 == NULL) SWIG_fail;
ae8162c8 13327 temp2 = true;
d14a1e28
RD
13328 }
13329 if (obj2) {
15afbcd0
RD
13330 if ((SWIG_ConvertPtr(obj2,(void **)(&arg7),SWIGTYPE_p_wxFont,
13331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13332 }
13333 {
13334 PyThreadState* __tstate = wxPyBeginAllowThreads();
13335 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7);
13336
13337 wxPyEndAllowThreads(__tstate);
13338 if (PyErr_Occurred()) SWIG_fail;
13339 }
13340 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
13341 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
13342 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
13343 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
13344 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
13345 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
13346 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
13347 resultobj = t_output_helper(resultobj, ((res6 == SWIG_NEWOBJ) ?
13348 SWIG_From_int((*arg6)) : SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_int, 0)));
d14a1e28
RD
13349 {
13350 if (temp2)
13351 delete arg2;
13352 }
13353 return resultobj;
13354 fail:
13355 {
13356 if (temp2)
13357 delete arg2;
13358 }
13359 return NULL;
13360}
13361
13362
c32bde28 13363static PyObject *_wrap_DC_GetMultiLineTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13364 PyObject *resultobj;
13365 wxDC *arg1 = (wxDC *) 0 ;
13366 wxString *arg2 = 0 ;
e811c8ce
RD
13367 int *arg3 = (int *) 0 ;
13368 int *arg4 = (int *) 0 ;
13369 int *arg5 = (int *) 0 ;
d14a1e28 13370 wxFont *arg6 = (wxFont *) NULL ;
ae8162c8 13371 bool temp2 = false ;
e811c8ce 13372 int temp3 ;
c32bde28 13373 int res3 = 0 ;
e811c8ce 13374 int temp4 ;
c32bde28 13375 int res4 = 0 ;
e811c8ce 13376 int temp5 ;
c32bde28 13377 int res5 = 0 ;
d14a1e28
RD
13378 PyObject * obj0 = 0 ;
13379 PyObject * obj1 = 0 ;
13380 PyObject * obj2 = 0 ;
13381 char *kwnames[] = {
13382 (char *) "self",(char *) "text",(char *) "font", NULL
13383 };
13384
c32bde28
RD
13385 arg3 = &temp3; res3 = SWIG_NEWOBJ;
13386 arg4 = &temp4; res4 = SWIG_NEWOBJ;
13387 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d14a1e28 13388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13391 {
13392 arg2 = wxString_in_helper(obj1);
13393 if (arg2 == NULL) SWIG_fail;
ae8162c8 13394 temp2 = true;
d14a1e28
RD
13395 }
13396 if (obj2) {
15afbcd0
RD
13397 if ((SWIG_ConvertPtr(obj2,(void **)(&arg6),SWIGTYPE_p_wxFont,
13398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13399 }
13400 {
13401 PyThreadState* __tstate = wxPyBeginAllowThreads();
13402 (arg1)->GetMultiLineTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6);
13403
13404 wxPyEndAllowThreads(__tstate);
13405 if (PyErr_Occurred()) SWIG_fail;
13406 }
13407 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
13408 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
13409 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
13410 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
13411 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
13412 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
13413 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
13414 {
13415 if (temp2)
13416 delete arg2;
13417 }
13418 return resultobj;
13419 fail:
13420 {
13421 if (temp2)
13422 delete arg2;
13423 }
13424 return NULL;
13425}
13426
13427
c32bde28 13428static PyObject *_wrap_DC_GetPartialTextExtents(PyObject *, PyObject *args, PyObject *kwargs) {
db914595
RD
13429 PyObject *resultobj;
13430 wxDC *arg1 = (wxDC *) 0 ;
13431 wxString *arg2 = 0 ;
13432 wxArrayInt result;
ae8162c8 13433 bool temp2 = false ;
db914595
RD
13434 PyObject * obj0 = 0 ;
13435 PyObject * obj1 = 0 ;
13436 char *kwnames[] = {
13437 (char *) "self",(char *) "text", NULL
13438 };
13439
13440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_GetPartialTextExtents",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
db914595
RD
13443 {
13444 arg2 = wxString_in_helper(obj1);
13445 if (arg2 == NULL) SWIG_fail;
ae8162c8 13446 temp2 = true;
db914595
RD
13447 }
13448 {
13449 PyThreadState* __tstate = wxPyBeginAllowThreads();
13450 result = wxDC_GetPartialTextExtents(arg1,(wxString const &)*arg2);
13451
13452 wxPyEndAllowThreads(__tstate);
13453 if (PyErr_Occurred()) SWIG_fail;
13454 }
13455 {
13456 resultobj = PyList_New(0);
13457 size_t idx;
13458 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
13459 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
13460 PyList_Append(resultobj, val);
13461 Py_DECREF(val);
13462 }
13463 }
13464 {
13465 if (temp2)
13466 delete arg2;
13467 }
13468 return resultobj;
13469 fail:
13470 {
13471 if (temp2)
13472 delete arg2;
13473 }
13474 return NULL;
13475}
13476
13477
c32bde28 13478static PyObject *_wrap_DC_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
322913ce
RD
13479 PyObject *resultobj;
13480 wxDC *arg1 = (wxDC *) 0 ;
13481 wxSize result;
13482 PyObject * obj0 = 0 ;
13483 char *kwnames[] = {
13484 (char *) "self", NULL
13485 };
13486
13487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
13488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
322913ce
RD
13490 {
13491 PyThreadState* __tstate = wxPyBeginAllowThreads();
13492 result = (arg1)->GetSize();
13493
13494 wxPyEndAllowThreads(__tstate);
13495 if (PyErr_Occurred()) SWIG_fail;
13496 }
13497 {
13498 wxSize * resultptr;
13499 resultptr = new wxSize((wxSize &) result);
15afbcd0 13500 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
322913ce
RD
13501 }
13502 return resultobj;
13503 fail:
13504 return NULL;
13505}
13506
13507
c32bde28 13508static PyObject *_wrap_DC_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13509 PyObject *resultobj;
13510 wxDC *arg1 = (wxDC *) 0 ;
13511 int *arg2 = (int *) 0 ;
13512 int *arg3 = (int *) 0 ;
13513 int temp2 ;
c32bde28 13514 int res2 = 0 ;
d14a1e28 13515 int temp3 ;
c32bde28 13516 int res3 = 0 ;
d14a1e28
RD
13517 PyObject * obj0 = 0 ;
13518 char *kwnames[] = {
13519 (char *) "self", NULL
13520 };
13521
c32bde28
RD
13522 arg2 = &temp2; res2 = SWIG_NEWOBJ;
13523 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 13524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
13525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13527 {
13528 PyThreadState* __tstate = wxPyBeginAllowThreads();
13529 (arg1)->GetSize(arg2,arg3);
13530
13531 wxPyEndAllowThreads(__tstate);
13532 if (PyErr_Occurred()) SWIG_fail;
13533 }
13534 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
13535 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
13536 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
13537 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
13538 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
13539 return resultobj;
13540 fail:
13541 return NULL;
13542}
13543
13544
c32bde28 13545static PyObject *_wrap_DC_GetSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13546 PyObject *resultobj;
13547 wxDC *arg1 = (wxDC *) 0 ;
13548 wxSize result;
13549 PyObject * obj0 = 0 ;
13550 char *kwnames[] = {
13551 (char *) "self", NULL
13552 };
13553
322913ce 13554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSizeMM",kwnames,&obj0)) goto fail;
15afbcd0
RD
13555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13557 {
13558 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 13559 result = ((wxDC const *)arg1)->GetSizeMM();
d14a1e28
RD
13560
13561 wxPyEndAllowThreads(__tstate);
13562 if (PyErr_Occurred()) SWIG_fail;
13563 }
13564 {
13565 wxSize * resultptr;
13566 resultptr = new wxSize((wxSize &) result);
15afbcd0 13567 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
13568 }
13569 return resultobj;
13570 fail:
13571 return NULL;
13572}
13573
13574
c32bde28 13575static PyObject *_wrap_DC_GetSizeMMTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13576 PyObject *resultobj;
13577 wxDC *arg1 = (wxDC *) 0 ;
13578 int *arg2 = (int *) 0 ;
13579 int *arg3 = (int *) 0 ;
13580 int temp2 ;
c32bde28 13581 int res2 = 0 ;
d14a1e28 13582 int temp3 ;
c32bde28 13583 int res3 = 0 ;
d14a1e28
RD
13584 PyObject * obj0 = 0 ;
13585 char *kwnames[] = {
13586 (char *) "self", NULL
13587 };
13588
c32bde28
RD
13589 arg2 = &temp2; res2 = SWIG_NEWOBJ;
13590 arg3 = &temp3; res3 = SWIG_NEWOBJ;
322913ce 13591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSizeMMTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
13592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13594 {
13595 PyThreadState* __tstate = wxPyBeginAllowThreads();
13596 ((wxDC const *)arg1)->GetSizeMM(arg2,arg3);
13597
13598 wxPyEndAllowThreads(__tstate);
13599 if (PyErr_Occurred()) SWIG_fail;
13600 }
13601 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
13602 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
13603 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
13604 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
13605 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
13606 return resultobj;
13607 fail:
13608 return NULL;
13609}
13610
13611
c32bde28 13612static PyObject *_wrap_DC_DeviceToLogicalX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13613 PyObject *resultobj;
13614 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13615 int arg2 ;
13616 int result;
d14a1e28 13617 PyObject * obj0 = 0 ;
994141e6 13618 PyObject * obj1 = 0 ;
d14a1e28
RD
13619 char *kwnames[] = {
13620 (char *) "self",(char *) "x", NULL
13621 };
13622
994141e6 13623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13626 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13627 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13628 {
13629 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13630 result = (int)((wxDC const *)arg1)->DeviceToLogicalX(arg2);
d14a1e28
RD
13631
13632 wxPyEndAllowThreads(__tstate);
13633 if (PyErr_Occurred()) SWIG_fail;
13634 }
c32bde28 13635 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13636 return resultobj;
13637 fail:
13638 return NULL;
13639}
13640
13641
c32bde28 13642static PyObject *_wrap_DC_DeviceToLogicalY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13643 PyObject *resultobj;
13644 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13645 int arg2 ;
13646 int result;
d14a1e28 13647 PyObject * obj0 = 0 ;
994141e6 13648 PyObject * obj1 = 0 ;
d14a1e28
RD
13649 char *kwnames[] = {
13650 (char *) "self",(char *) "y", NULL
13651 };
13652
994141e6 13653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13656 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13657 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13658 {
13659 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13660 result = (int)((wxDC const *)arg1)->DeviceToLogicalY(arg2);
d14a1e28
RD
13661
13662 wxPyEndAllowThreads(__tstate);
13663 if (PyErr_Occurred()) SWIG_fail;
13664 }
c32bde28 13665 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13666 return resultobj;
13667 fail:
13668 return NULL;
13669}
13670
13671
c32bde28 13672static PyObject *_wrap_DC_DeviceToLogicalXRel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13673 PyObject *resultobj;
13674 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13675 int arg2 ;
13676 int result;
d14a1e28 13677 PyObject * obj0 = 0 ;
994141e6 13678 PyObject * obj1 = 0 ;
d14a1e28
RD
13679 char *kwnames[] = {
13680 (char *) "self",(char *) "x", NULL
13681 };
13682
994141e6 13683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalXRel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13686 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13687 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13688 {
13689 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13690 result = (int)((wxDC const *)arg1)->DeviceToLogicalXRel(arg2);
d14a1e28
RD
13691
13692 wxPyEndAllowThreads(__tstate);
13693 if (PyErr_Occurred()) SWIG_fail;
13694 }
c32bde28 13695 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13696 return resultobj;
13697 fail:
13698 return NULL;
13699}
13700
13701
c32bde28 13702static PyObject *_wrap_DC_DeviceToLogicalYRel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13703 PyObject *resultobj;
13704 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13705 int arg2 ;
13706 int result;
d14a1e28 13707 PyObject * obj0 = 0 ;
994141e6 13708 PyObject * obj1 = 0 ;
d14a1e28
RD
13709 char *kwnames[] = {
13710 (char *) "self",(char *) "y", NULL
13711 };
13712
994141e6 13713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalYRel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13716 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13717 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13718 {
13719 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13720 result = (int)((wxDC const *)arg1)->DeviceToLogicalYRel(arg2);
d14a1e28
RD
13721
13722 wxPyEndAllowThreads(__tstate);
13723 if (PyErr_Occurred()) SWIG_fail;
13724 }
c32bde28 13725 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13726 return resultobj;
13727 fail:
13728 return NULL;
13729}
13730
13731
c32bde28 13732static PyObject *_wrap_DC_LogicalToDeviceX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13733 PyObject *resultobj;
13734 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13735 int arg2 ;
13736 int result;
d14a1e28 13737 PyObject * obj0 = 0 ;
994141e6 13738 PyObject * obj1 = 0 ;
d14a1e28
RD
13739 char *kwnames[] = {
13740 (char *) "self",(char *) "x", NULL
13741 };
13742
994141e6 13743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13746 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13747 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13748 {
13749 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13750 result = (int)((wxDC const *)arg1)->LogicalToDeviceX(arg2);
d14a1e28
RD
13751
13752 wxPyEndAllowThreads(__tstate);
13753 if (PyErr_Occurred()) SWIG_fail;
13754 }
c32bde28 13755 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13756 return resultobj;
13757 fail:
13758 return NULL;
13759}
13760
13761
c32bde28 13762static PyObject *_wrap_DC_LogicalToDeviceY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13763 PyObject *resultobj;
13764 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13765 int arg2 ;
13766 int result;
d14a1e28 13767 PyObject * obj0 = 0 ;
994141e6 13768 PyObject * obj1 = 0 ;
d14a1e28
RD
13769 char *kwnames[] = {
13770 (char *) "self",(char *) "y", NULL
13771 };
13772
994141e6 13773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13776 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13777 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13778 {
13779 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13780 result = (int)((wxDC const *)arg1)->LogicalToDeviceY(arg2);
d14a1e28
RD
13781
13782 wxPyEndAllowThreads(__tstate);
13783 if (PyErr_Occurred()) SWIG_fail;
13784 }
c32bde28 13785 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13786 return resultobj;
13787 fail:
13788 return NULL;
13789}
13790
13791
c32bde28 13792static PyObject *_wrap_DC_LogicalToDeviceXRel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13793 PyObject *resultobj;
13794 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13795 int arg2 ;
13796 int result;
d14a1e28 13797 PyObject * obj0 = 0 ;
994141e6 13798 PyObject * obj1 = 0 ;
d14a1e28
RD
13799 char *kwnames[] = {
13800 (char *) "self",(char *) "x", NULL
13801 };
13802
994141e6 13803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceXRel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13806 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13807 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13808 {
13809 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13810 result = (int)((wxDC const *)arg1)->LogicalToDeviceXRel(arg2);
d14a1e28
RD
13811
13812 wxPyEndAllowThreads(__tstate);
13813 if (PyErr_Occurred()) SWIG_fail;
13814 }
c32bde28 13815 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13816 return resultobj;
13817 fail:
13818 return NULL;
13819}
13820
13821
c32bde28 13822static PyObject *_wrap_DC_LogicalToDeviceYRel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13823 PyObject *resultobj;
13824 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13825 int arg2 ;
13826 int result;
d14a1e28 13827 PyObject * obj0 = 0 ;
994141e6 13828 PyObject * obj1 = 0 ;
d14a1e28
RD
13829 char *kwnames[] = {
13830 (char *) "self",(char *) "y", NULL
13831 };
13832
994141e6 13833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceYRel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13836 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13837 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13838 {
13839 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13840 result = (int)((wxDC const *)arg1)->LogicalToDeviceYRel(arg2);
d14a1e28
RD
13841
13842 wxPyEndAllowThreads(__tstate);
13843 if (PyErr_Occurred()) SWIG_fail;
13844 }
c32bde28 13845 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13846 return resultobj;
13847 fail:
13848 return NULL;
13849}
13850
13851
c32bde28 13852static PyObject *_wrap_DC_CanDrawBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13853 PyObject *resultobj;
13854 wxDC *arg1 = (wxDC *) 0 ;
13855 bool result;
13856 PyObject * obj0 = 0 ;
13857 char *kwnames[] = {
13858 (char *) "self", NULL
13859 };
13860
13861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_CanDrawBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
13862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13864 {
13865 PyThreadState* __tstate = wxPyBeginAllowThreads();
13866 result = (bool)((wxDC const *)arg1)->CanDrawBitmap();
13867
13868 wxPyEndAllowThreads(__tstate);
13869 if (PyErr_Occurred()) SWIG_fail;
13870 }
4f89f6a3
RD
13871 {
13872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13873 }
d14a1e28
RD
13874 return resultobj;
13875 fail:
13876 return NULL;
13877}
13878
13879
c32bde28 13880static PyObject *_wrap_DC_CanGetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13881 PyObject *resultobj;
13882 wxDC *arg1 = (wxDC *) 0 ;
13883 bool result;
13884 PyObject * obj0 = 0 ;
13885 char *kwnames[] = {
13886 (char *) "self", NULL
13887 };
13888
13889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_CanGetTextExtent",kwnames,&obj0)) goto fail;
15afbcd0
RD
13890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13892 {
13893 PyThreadState* __tstate = wxPyBeginAllowThreads();
13894 result = (bool)((wxDC const *)arg1)->CanGetTextExtent();
13895
13896 wxPyEndAllowThreads(__tstate);
13897 if (PyErr_Occurred()) SWIG_fail;
13898 }
4f89f6a3
RD
13899 {
13900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13901 }
d14a1e28
RD
13902 return resultobj;
13903 fail:
13904 return NULL;
13905}
13906
13907
c32bde28 13908static PyObject *_wrap_DC_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13909 PyObject *resultobj;
13910 wxDC *arg1 = (wxDC *) 0 ;
13911 int result;
13912 PyObject * obj0 = 0 ;
13913 char *kwnames[] = {
13914 (char *) "self", NULL
13915 };
13916
13917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetDepth",kwnames,&obj0)) goto fail;
15afbcd0
RD
13918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13920 {
13921 PyThreadState* __tstate = wxPyBeginAllowThreads();
13922 result = (int)((wxDC const *)arg1)->GetDepth();
13923
13924 wxPyEndAllowThreads(__tstate);
13925 if (PyErr_Occurred()) SWIG_fail;
13926 }
c32bde28 13927 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13928 return resultobj;
13929 fail:
13930 return NULL;
13931}
13932
13933
c32bde28 13934static PyObject *_wrap_DC_GetPPI(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13935 PyObject *resultobj;
13936 wxDC *arg1 = (wxDC *) 0 ;
13937 wxSize result;
13938 PyObject * obj0 = 0 ;
13939 char *kwnames[] = {
13940 (char *) "self", NULL
13941 };
13942
13943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetPPI",kwnames,&obj0)) goto fail;
15afbcd0
RD
13944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13946 {
13947 PyThreadState* __tstate = wxPyBeginAllowThreads();
13948 result = ((wxDC const *)arg1)->GetPPI();
13949
13950 wxPyEndAllowThreads(__tstate);
13951 if (PyErr_Occurred()) SWIG_fail;
13952 }
13953 {
13954 wxSize * resultptr;
13955 resultptr = new wxSize((wxSize &) result);
15afbcd0 13956 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
13957 }
13958 return resultobj;
13959 fail:
13960 return NULL;
13961}
13962
13963
c32bde28 13964static PyObject *_wrap_DC_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13965 PyObject *resultobj;
13966 wxDC *arg1 = (wxDC *) 0 ;
13967 bool result;
13968 PyObject * obj0 = 0 ;
13969 char *kwnames[] = {
13970 (char *) "self", NULL
13971 };
13972
13973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
13974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13976 {
13977 PyThreadState* __tstate = wxPyBeginAllowThreads();
13978 result = (bool)((wxDC const *)arg1)->Ok();
13979
13980 wxPyEndAllowThreads(__tstate);
13981 if (PyErr_Occurred()) SWIG_fail;
13982 }
4f89f6a3
RD
13983 {
13984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13985 }
d14a1e28
RD
13986 return resultobj;
13987 fail:
13988 return NULL;
13989}
13990
13991
c32bde28 13992static PyObject *_wrap_DC_GetBackgroundMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13993 PyObject *resultobj;
13994 wxDC *arg1 = (wxDC *) 0 ;
13995 int result;
13996 PyObject * obj0 = 0 ;
13997 char *kwnames[] = {
13998 (char *) "self", NULL
13999 };
14000
14001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBackgroundMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
14002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14004 {
14005 PyThreadState* __tstate = wxPyBeginAllowThreads();
14006 result = (int)((wxDC const *)arg1)->GetBackgroundMode();
14007
14008 wxPyEndAllowThreads(__tstate);
14009 if (PyErr_Occurred()) SWIG_fail;
14010 }
c32bde28 14011 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14012 return resultobj;
14013 fail:
14014 return NULL;
14015}
14016
14017
c32bde28 14018static PyObject *_wrap_DC_GetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14019 PyObject *resultobj;
14020 wxDC *arg1 = (wxDC *) 0 ;
14021 wxBrush *result;
14022 PyObject * obj0 = 0 ;
14023 char *kwnames[] = {
14024 (char *) "self", NULL
14025 };
14026
14027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBackground",kwnames,&obj0)) goto fail;
15afbcd0
RD
14028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14030 {
14031 PyThreadState* __tstate = wxPyBeginAllowThreads();
14032 {
14033 wxBrush const &_result_ref = ((wxDC const *)arg1)->GetBackground();
14034 result = (wxBrush *) &_result_ref;
14035 }
14036
14037 wxPyEndAllowThreads(__tstate);
14038 if (PyErr_Occurred()) SWIG_fail;
14039 }
4276dc52
RD
14040 {
14041 wxBrush* resultptr = new wxBrush(*result);
14042 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBrush, 1);
14043 }
d14a1e28
RD
14044 return resultobj;
14045 fail:
14046 return NULL;
14047}
14048
14049
c32bde28 14050static PyObject *_wrap_DC_GetBrush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14051 PyObject *resultobj;
14052 wxDC *arg1 = (wxDC *) 0 ;
14053 wxBrush *result;
14054 PyObject * obj0 = 0 ;
14055 char *kwnames[] = {
14056 (char *) "self", NULL
14057 };
14058
14059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBrush",kwnames,&obj0)) goto fail;
15afbcd0
RD
14060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14062 {
14063 PyThreadState* __tstate = wxPyBeginAllowThreads();
14064 {
14065 wxBrush const &_result_ref = ((wxDC const *)arg1)->GetBrush();
14066 result = (wxBrush *) &_result_ref;
14067 }
14068
14069 wxPyEndAllowThreads(__tstate);
14070 if (PyErr_Occurred()) SWIG_fail;
14071 }
4276dc52
RD
14072 {
14073 wxBrush* resultptr = new wxBrush(*result);
14074 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBrush, 1);
14075 }
d14a1e28
RD
14076 return resultobj;
14077 fail:
14078 return NULL;
14079}
14080
14081
c32bde28 14082static PyObject *_wrap_DC_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14083 PyObject *resultobj;
14084 wxDC *arg1 = (wxDC *) 0 ;
14085 wxFont *result;
14086 PyObject * obj0 = 0 ;
14087 char *kwnames[] = {
14088 (char *) "self", NULL
14089 };
14090
14091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
14092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14094 {
14095 PyThreadState* __tstate = wxPyBeginAllowThreads();
14096 {
14097 wxFont const &_result_ref = ((wxDC const *)arg1)->GetFont();
14098 result = (wxFont *) &_result_ref;
14099 }
14100
14101 wxPyEndAllowThreads(__tstate);
14102 if (PyErr_Occurred()) SWIG_fail;
14103 }
4276dc52
RD
14104 {
14105 wxFont* resultptr = new wxFont(*result);
14106 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
14107 }
d14a1e28
RD
14108 return resultobj;
14109 fail:
14110 return NULL;
14111}
14112
14113
c32bde28 14114static PyObject *_wrap_DC_GetPen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14115 PyObject *resultobj;
14116 wxDC *arg1 = (wxDC *) 0 ;
14117 wxPen *result;
14118 PyObject * obj0 = 0 ;
14119 char *kwnames[] = {
14120 (char *) "self", NULL
14121 };
14122
14123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetPen",kwnames,&obj0)) goto fail;
15afbcd0
RD
14124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14126 {
14127 PyThreadState* __tstate = wxPyBeginAllowThreads();
14128 {
14129 wxPen const &_result_ref = ((wxDC const *)arg1)->GetPen();
14130 result = (wxPen *) &_result_ref;
14131 }
14132
14133 wxPyEndAllowThreads(__tstate);
14134 if (PyErr_Occurred()) SWIG_fail;
14135 }
4276dc52
RD
14136 {
14137 wxPen* resultptr = new wxPen(*result);
14138 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxPen, 1);
14139 }
d14a1e28
RD
14140 return resultobj;
14141 fail:
14142 return NULL;
14143}
14144
14145
c32bde28 14146static PyObject *_wrap_DC_GetTextBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14147 PyObject *resultobj;
14148 wxDC *arg1 = (wxDC *) 0 ;
14149 wxColour *result;
14150 PyObject * obj0 = 0 ;
14151 char *kwnames[] = {
14152 (char *) "self", NULL
14153 };
14154
14155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetTextBackground",kwnames,&obj0)) goto fail;
15afbcd0
RD
14156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14158 {
14159 PyThreadState* __tstate = wxPyBeginAllowThreads();
14160 {
14161 wxColour const &_result_ref = ((wxDC const *)arg1)->GetTextBackground();
14162 result = (wxColour *) &_result_ref;
14163 }
14164
14165 wxPyEndAllowThreads(__tstate);
14166 if (PyErr_Occurred()) SWIG_fail;
14167 }
15afbcd0 14168 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
14169 return resultobj;
14170 fail:
14171 return NULL;
14172}
14173
14174
c32bde28 14175static PyObject *_wrap_DC_GetTextForeground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14176 PyObject *resultobj;
14177 wxDC *arg1 = (wxDC *) 0 ;
14178 wxColour *result;
14179 PyObject * obj0 = 0 ;
14180 char *kwnames[] = {
14181 (char *) "self", NULL
14182 };
14183
14184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetTextForeground",kwnames,&obj0)) goto fail;
15afbcd0
RD
14185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14187 {
14188 PyThreadState* __tstate = wxPyBeginAllowThreads();
14189 {
14190 wxColour const &_result_ref = ((wxDC const *)arg1)->GetTextForeground();
14191 result = (wxColour *) &_result_ref;
14192 }
14193
14194 wxPyEndAllowThreads(__tstate);
14195 if (PyErr_Occurred()) SWIG_fail;
14196 }
15afbcd0 14197 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
14198 return resultobj;
14199 fail:
14200 return NULL;
14201}
14202
14203
c32bde28 14204static PyObject *_wrap_DC_SetTextForeground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14205 PyObject *resultobj;
14206 wxDC *arg1 = (wxDC *) 0 ;
14207 wxColour *arg2 = 0 ;
14208 wxColour temp2 ;
14209 PyObject * obj0 = 0 ;
14210 PyObject * obj1 = 0 ;
14211 char *kwnames[] = {
14212 (char *) "self",(char *) "colour", NULL
14213 };
14214
14215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetTextForeground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14218 {
14219 arg2 = &temp2;
14220 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14221 }
14222 {
14223 PyThreadState* __tstate = wxPyBeginAllowThreads();
14224 (arg1)->SetTextForeground((wxColour const &)*arg2);
14225
14226 wxPyEndAllowThreads(__tstate);
14227 if (PyErr_Occurred()) SWIG_fail;
14228 }
14229 Py_INCREF(Py_None); resultobj = Py_None;
14230 return resultobj;
14231 fail:
14232 return NULL;
14233}
14234
14235
c32bde28 14236static PyObject *_wrap_DC_SetTextBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14237 PyObject *resultobj;
14238 wxDC *arg1 = (wxDC *) 0 ;
14239 wxColour *arg2 = 0 ;
14240 wxColour temp2 ;
14241 PyObject * obj0 = 0 ;
14242 PyObject * obj1 = 0 ;
14243 char *kwnames[] = {
14244 (char *) "self",(char *) "colour", NULL
14245 };
14246
14247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetTextBackground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14250 {
14251 arg2 = &temp2;
14252 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14253 }
14254 {
14255 PyThreadState* __tstate = wxPyBeginAllowThreads();
14256 (arg1)->SetTextBackground((wxColour const &)*arg2);
14257
14258 wxPyEndAllowThreads(__tstate);
14259 if (PyErr_Occurred()) SWIG_fail;
14260 }
14261 Py_INCREF(Py_None); resultobj = Py_None;
14262 return resultobj;
14263 fail:
14264 return NULL;
14265}
14266
14267
c32bde28 14268static PyObject *_wrap_DC_GetMapMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14269 PyObject *resultobj;
14270 wxDC *arg1 = (wxDC *) 0 ;
14271 int result;
14272 PyObject * obj0 = 0 ;
14273 char *kwnames[] = {
14274 (char *) "self", NULL
14275 };
14276
14277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetMapMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
14278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14280 {
14281 PyThreadState* __tstate = wxPyBeginAllowThreads();
14282 result = (int)((wxDC const *)arg1)->GetMapMode();
14283
14284 wxPyEndAllowThreads(__tstate);
14285 if (PyErr_Occurred()) SWIG_fail;
14286 }
c32bde28 14287 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14288 return resultobj;
14289 fail:
14290 return NULL;
14291}
14292
14293
c32bde28 14294static PyObject *_wrap_DC_SetMapMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14295 PyObject *resultobj;
14296 wxDC *arg1 = (wxDC *) 0 ;
14297 int arg2 ;
14298 PyObject * obj0 = 0 ;
994141e6 14299 PyObject * obj1 = 0 ;
d14a1e28
RD
14300 char *kwnames[] = {
14301 (char *) "self",(char *) "mode", NULL
14302 };
14303
994141e6 14304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetMapMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14307 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14308 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14309 {
14310 PyThreadState* __tstate = wxPyBeginAllowThreads();
14311 (arg1)->SetMapMode(arg2);
14312
14313 wxPyEndAllowThreads(__tstate);
14314 if (PyErr_Occurred()) SWIG_fail;
14315 }
14316 Py_INCREF(Py_None); resultobj = Py_None;
14317 return resultobj;
14318 fail:
14319 return NULL;
14320}
14321
14322
c32bde28 14323static PyObject *_wrap_DC_GetUserScale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14324 PyObject *resultobj;
14325 wxDC *arg1 = (wxDC *) 0 ;
14326 double *arg2 = (double *) 0 ;
14327 double *arg3 = (double *) 0 ;
14328 double temp2 ;
c32bde28 14329 int res2 = 0 ;
d14a1e28 14330 double temp3 ;
c32bde28 14331 int res3 = 0 ;
d14a1e28
RD
14332 PyObject * obj0 = 0 ;
14333 char *kwnames[] = {
14334 (char *) "self", NULL
14335 };
14336
c32bde28
RD
14337 arg2 = &temp2; res2 = SWIG_NEWOBJ;
14338 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 14339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetUserScale",kwnames,&obj0)) goto fail;
15afbcd0
RD
14340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14342 {
14343 PyThreadState* __tstate = wxPyBeginAllowThreads();
14344 ((wxDC const *)arg1)->GetUserScale(arg2,arg3);
14345
14346 wxPyEndAllowThreads(__tstate);
14347 if (PyErr_Occurred()) SWIG_fail;
14348 }
14349 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
14350 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
14351 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
14352 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
14353 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
d14a1e28
RD
14354 return resultobj;
14355 fail:
14356 return NULL;
14357}
14358
14359
c32bde28 14360static PyObject *_wrap_DC_SetUserScale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14361 PyObject *resultobj;
14362 wxDC *arg1 = (wxDC *) 0 ;
14363 double arg2 ;
14364 double arg3 ;
14365 PyObject * obj0 = 0 ;
994141e6
RD
14366 PyObject * obj1 = 0 ;
14367 PyObject * obj2 = 0 ;
d14a1e28
RD
14368 char *kwnames[] = {
14369 (char *) "self",(char *) "x",(char *) "y", NULL
14370 };
14371
994141e6 14372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetUserScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14375 arg2 = (double)SWIG_As_double(obj1);
15afbcd0 14376 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14377 arg3 = (double)SWIG_As_double(obj2);
15afbcd0 14378 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14379 {
14380 PyThreadState* __tstate = wxPyBeginAllowThreads();
14381 (arg1)->SetUserScale(arg2,arg3);
14382
14383 wxPyEndAllowThreads(__tstate);
14384 if (PyErr_Occurred()) SWIG_fail;
14385 }
14386 Py_INCREF(Py_None); resultobj = Py_None;
14387 return resultobj;
14388 fail:
14389 return NULL;
14390}
14391
14392
c32bde28 14393static PyObject *_wrap_DC_GetLogicalScale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14394 PyObject *resultobj;
14395 wxDC *arg1 = (wxDC *) 0 ;
14396 double *arg2 = (double *) 0 ;
14397 double *arg3 = (double *) 0 ;
14398 double temp2 ;
c32bde28 14399 int res2 = 0 ;
d14a1e28 14400 double temp3 ;
c32bde28 14401 int res3 = 0 ;
d14a1e28
RD
14402 PyObject * obj0 = 0 ;
14403 char *kwnames[] = {
14404 (char *) "self", NULL
14405 };
14406
c32bde28
RD
14407 arg2 = &temp2; res2 = SWIG_NEWOBJ;
14408 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 14409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalScale",kwnames,&obj0)) goto fail;
15afbcd0
RD
14410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14412 {
14413 PyThreadState* __tstate = wxPyBeginAllowThreads();
14414 (arg1)->GetLogicalScale(arg2,arg3);
14415
14416 wxPyEndAllowThreads(__tstate);
14417 if (PyErr_Occurred()) SWIG_fail;
14418 }
14419 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
14420 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
14421 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
14422 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
14423 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
d14a1e28
RD
14424 return resultobj;
14425 fail:
14426 return NULL;
14427}
14428
14429
c32bde28 14430static PyObject *_wrap_DC_SetLogicalScale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14431 PyObject *resultobj;
14432 wxDC *arg1 = (wxDC *) 0 ;
14433 double arg2 ;
14434 double arg3 ;
14435 PyObject * obj0 = 0 ;
994141e6
RD
14436 PyObject * obj1 = 0 ;
14437 PyObject * obj2 = 0 ;
d14a1e28
RD
14438 char *kwnames[] = {
14439 (char *) "self",(char *) "x",(char *) "y", NULL
14440 };
14441
994141e6 14442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetLogicalScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14445 arg2 = (double)SWIG_As_double(obj1);
15afbcd0 14446 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14447 arg3 = (double)SWIG_As_double(obj2);
15afbcd0 14448 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14449 {
14450 PyThreadState* __tstate = wxPyBeginAllowThreads();
14451 (arg1)->SetLogicalScale(arg2,arg3);
14452
14453 wxPyEndAllowThreads(__tstate);
14454 if (PyErr_Occurred()) SWIG_fail;
14455 }
14456 Py_INCREF(Py_None); resultobj = Py_None;
14457 return resultobj;
14458 fail:
14459 return NULL;
14460}
14461
14462
c32bde28 14463static PyObject *_wrap_DC_GetLogicalOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14464 PyObject *resultobj;
14465 wxDC *arg1 = (wxDC *) 0 ;
322913ce 14466 wxPoint result;
d14a1e28
RD
14467 PyObject * obj0 = 0 ;
14468 char *kwnames[] = {
14469 (char *) "self", NULL
14470 };
14471
322913ce 14472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalOrigin",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 result = ((wxDC const *)arg1)->GetLogicalOrigin();
d14a1e28
RD
14478
14479 wxPyEndAllowThreads(__tstate);
14480 if (PyErr_Occurred()) SWIG_fail;
14481 }
d14a1e28 14482 {
322913ce
RD
14483 wxPoint * resultptr;
14484 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14485 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14486 }
14487 return resultobj;
14488 fail:
14489 return NULL;
14490}
14491
14492
c32bde28 14493static PyObject *_wrap_DC_GetLogicalOriginTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14494 PyObject *resultobj;
14495 wxDC *arg1 = (wxDC *) 0 ;
322913ce
RD
14496 int *arg2 = (int *) 0 ;
14497 int *arg3 = (int *) 0 ;
14498 int temp2 ;
c32bde28 14499 int res2 = 0 ;
322913ce 14500 int temp3 ;
c32bde28 14501 int res3 = 0 ;
d14a1e28
RD
14502 PyObject * obj0 = 0 ;
14503 char *kwnames[] = {
14504 (char *) "self", NULL
14505 };
14506
c32bde28
RD
14507 arg2 = &temp2; res2 = SWIG_NEWOBJ;
14508 arg3 = &temp3; res3 = SWIG_NEWOBJ;
322913ce 14509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalOriginTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
14510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14512 {
14513 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 14514 ((wxDC const *)arg1)->GetLogicalOrigin(arg2,arg3);
d14a1e28
RD
14515
14516 wxPyEndAllowThreads(__tstate);
14517 if (PyErr_Occurred()) SWIG_fail;
14518 }
322913ce 14519 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
14520 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
14521 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
14522 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
14523 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
14524 return resultobj;
14525 fail:
14526 return NULL;
14527}
14528
14529
c32bde28 14530static PyObject *_wrap_DC_SetLogicalOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14531 PyObject *resultobj;
14532 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
14533 int arg2 ;
14534 int arg3 ;
d14a1e28 14535 PyObject * obj0 = 0 ;
994141e6
RD
14536 PyObject * obj1 = 0 ;
14537 PyObject * obj2 = 0 ;
d14a1e28
RD
14538 char *kwnames[] = {
14539 (char *) "self",(char *) "x",(char *) "y", NULL
14540 };
14541
994141e6 14542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14545 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14546 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14547 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 14548 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14549 {
14550 PyThreadState* __tstate = wxPyBeginAllowThreads();
14551 (arg1)->SetLogicalOrigin(arg2,arg3);
14552
14553 wxPyEndAllowThreads(__tstate);
14554 if (PyErr_Occurred()) SWIG_fail;
14555 }
14556 Py_INCREF(Py_None); resultobj = Py_None;
14557 return resultobj;
14558 fail:
14559 return NULL;
14560}
14561
14562
c32bde28 14563static PyObject *_wrap_DC_SetLogicalOriginPoint(PyObject *, PyObject *args, PyObject *kwargs) {
03e37cd5
RD
14564 PyObject *resultobj;
14565 wxDC *arg1 = (wxDC *) 0 ;
14566 wxPoint *arg2 = 0 ;
14567 wxPoint temp2 ;
14568 PyObject * obj0 = 0 ;
14569 PyObject * obj1 = 0 ;
14570 char *kwnames[] = {
14571 (char *) "self",(char *) "point", NULL
14572 };
14573
14574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetLogicalOriginPoint",kwnames,&obj0,&obj1)) goto fail;
14575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14577 {
14578 arg2 = &temp2;
14579 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14580 }
14581 {
14582 PyThreadState* __tstate = wxPyBeginAllowThreads();
14583 wxDC_SetLogicalOriginPoint(arg1,(wxPoint const &)*arg2);
14584
14585 wxPyEndAllowThreads(__tstate);
14586 if (PyErr_Occurred()) SWIG_fail;
14587 }
14588 Py_INCREF(Py_None); resultobj = Py_None;
14589 return resultobj;
14590 fail:
14591 return NULL;
14592}
14593
14594
c32bde28 14595static PyObject *_wrap_DC_GetDeviceOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14596 PyObject *resultobj;
14597 wxDC *arg1 = (wxDC *) 0 ;
322913ce 14598 wxPoint result;
d14a1e28
RD
14599 PyObject * obj0 = 0 ;
14600 char *kwnames[] = {
14601 (char *) "self", NULL
14602 };
14603
322913ce 14604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetDeviceOrigin",kwnames,&obj0)) goto fail;
15afbcd0
RD
14605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14607 {
14608 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 14609 result = ((wxDC const *)arg1)->GetDeviceOrigin();
d14a1e28
RD
14610
14611 wxPyEndAllowThreads(__tstate);
14612 if (PyErr_Occurred()) SWIG_fail;
14613 }
d14a1e28 14614 {
322913ce
RD
14615 wxPoint * resultptr;
14616 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14617 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14618 }
14619 return resultobj;
14620 fail:
14621 return NULL;
14622}
14623
14624
c32bde28 14625static PyObject *_wrap_DC_GetDeviceOriginTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14626 PyObject *resultobj;
14627 wxDC *arg1 = (wxDC *) 0 ;
322913ce
RD
14628 int *arg2 = (int *) 0 ;
14629 int *arg3 = (int *) 0 ;
14630 int temp2 ;
c32bde28 14631 int res2 = 0 ;
322913ce 14632 int temp3 ;
c32bde28 14633 int res3 = 0 ;
d14a1e28
RD
14634 PyObject * obj0 = 0 ;
14635 char *kwnames[] = {
14636 (char *) "self", NULL
14637 };
14638
c32bde28
RD
14639 arg2 = &temp2; res2 = SWIG_NEWOBJ;
14640 arg3 = &temp3; res3 = SWIG_NEWOBJ;
322913ce 14641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetDeviceOriginTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
14642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14644 {
14645 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 14646 ((wxDC const *)arg1)->GetDeviceOrigin(arg2,arg3);
d14a1e28
RD
14647
14648 wxPyEndAllowThreads(__tstate);
14649 if (PyErr_Occurred()) SWIG_fail;
14650 }
322913ce 14651 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
14652 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
14653 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
14654 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
14655 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
14656 return resultobj;
14657 fail:
14658 return NULL;
14659}
14660
14661
c32bde28 14662static PyObject *_wrap_DC_SetDeviceOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14663 PyObject *resultobj;
14664 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
14665 int arg2 ;
14666 int arg3 ;
d14a1e28 14667 PyObject * obj0 = 0 ;
994141e6
RD
14668 PyObject * obj1 = 0 ;
14669 PyObject * obj2 = 0 ;
d14a1e28
RD
14670 char *kwnames[] = {
14671 (char *) "self",(char *) "x",(char *) "y", NULL
14672 };
14673
994141e6 14674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetDeviceOrigin",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14677 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14678 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14679 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 14680 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14681 {
14682 PyThreadState* __tstate = wxPyBeginAllowThreads();
14683 (arg1)->SetDeviceOrigin(arg2,arg3);
14684
14685 wxPyEndAllowThreads(__tstate);
14686 if (PyErr_Occurred()) SWIG_fail;
14687 }
14688 Py_INCREF(Py_None); resultobj = Py_None;
14689 return resultobj;
14690 fail:
14691 return NULL;
14692}
14693
14694
c32bde28 14695static PyObject *_wrap_DC_SetDeviceOriginPoint(PyObject *, PyObject *args, PyObject *kwargs) {
03e37cd5
RD
14696 PyObject *resultobj;
14697 wxDC *arg1 = (wxDC *) 0 ;
14698 wxPoint *arg2 = 0 ;
14699 wxPoint temp2 ;
14700 PyObject * obj0 = 0 ;
14701 PyObject * obj1 = 0 ;
14702 char *kwnames[] = {
14703 (char *) "self",(char *) "point", NULL
14704 };
14705
14706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetDeviceOriginPoint",kwnames,&obj0,&obj1)) goto fail;
14707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14709 {
14710 arg2 = &temp2;
14711 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14712 }
14713 {
14714 PyThreadState* __tstate = wxPyBeginAllowThreads();
14715 wxDC_SetDeviceOriginPoint(arg1,(wxPoint const &)*arg2);
14716
14717 wxPyEndAllowThreads(__tstate);
14718 if (PyErr_Occurred()) SWIG_fail;
14719 }
14720 Py_INCREF(Py_None); resultobj = Py_None;
14721 return resultobj;
14722 fail:
14723 return NULL;
14724}
14725
14726
c32bde28 14727static PyObject *_wrap_DC_SetAxisOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14728 PyObject *resultobj;
14729 wxDC *arg1 = (wxDC *) 0 ;
14730 bool arg2 ;
14731 bool arg3 ;
14732 PyObject * obj0 = 0 ;
14733 PyObject * obj1 = 0 ;
14734 PyObject * obj2 = 0 ;
14735 char *kwnames[] = {
14736 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14737 };
14738
14739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetAxisOrientation",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14742 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 14743 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14744 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 14745 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14746 {
14747 PyThreadState* __tstate = wxPyBeginAllowThreads();
14748 (arg1)->SetAxisOrientation(arg2,arg3);
14749
14750 wxPyEndAllowThreads(__tstate);
14751 if (PyErr_Occurred()) SWIG_fail;
14752 }
14753 Py_INCREF(Py_None); resultobj = Py_None;
14754 return resultobj;
14755 fail:
14756 return NULL;
14757}
14758
14759
c32bde28 14760static PyObject *_wrap_DC_GetLogicalFunction(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14761 PyObject *resultobj;
14762 wxDC *arg1 = (wxDC *) 0 ;
14763 int result;
14764 PyObject * obj0 = 0 ;
14765 char *kwnames[] = {
14766 (char *) "self", NULL
14767 };
14768
14769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalFunction",kwnames,&obj0)) goto fail;
15afbcd0
RD
14770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14772 {
14773 PyThreadState* __tstate = wxPyBeginAllowThreads();
14774 result = (int)((wxDC const *)arg1)->GetLogicalFunction();
14775
14776 wxPyEndAllowThreads(__tstate);
14777 if (PyErr_Occurred()) SWIG_fail;
14778 }
c32bde28 14779 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14780 return resultobj;
14781 fail:
14782 return NULL;
14783}
14784
14785
c32bde28 14786static PyObject *_wrap_DC_SetLogicalFunction(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14787 PyObject *resultobj;
14788 wxDC *arg1 = (wxDC *) 0 ;
14789 int arg2 ;
14790 PyObject * obj0 = 0 ;
994141e6 14791 PyObject * obj1 = 0 ;
d14a1e28
RD
14792 char *kwnames[] = {
14793 (char *) "self",(char *) "function", NULL
14794 };
14795
994141e6 14796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetLogicalFunction",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14799 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14800 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14801 {
14802 PyThreadState* __tstate = wxPyBeginAllowThreads();
14803 (arg1)->SetLogicalFunction(arg2);
14804
14805 wxPyEndAllowThreads(__tstate);
14806 if (PyErr_Occurred()) SWIG_fail;
14807 }
14808 Py_INCREF(Py_None); resultobj = Py_None;
14809 return resultobj;
14810 fail:
14811 return NULL;
14812}
14813
14814
c32bde28 14815static PyObject *_wrap_DC_SetOptimization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14816 PyObject *resultobj;
14817 wxDC *arg1 = (wxDC *) 0 ;
14818 bool arg2 ;
14819 PyObject * obj0 = 0 ;
14820 PyObject * obj1 = 0 ;
14821 char *kwnames[] = {
f5b96ee1 14822 (char *) "self",(char *) "optimize", NULL
d14a1e28
RD
14823 };
14824
14825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetOptimization",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14828 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 14829 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14830 {
14831 PyThreadState* __tstate = wxPyBeginAllowThreads();
14832 (arg1)->SetOptimization(arg2);
14833
14834 wxPyEndAllowThreads(__tstate);
14835 if (PyErr_Occurred()) SWIG_fail;
14836 }
14837 Py_INCREF(Py_None); resultobj = Py_None;
14838 return resultobj;
14839 fail:
14840 return NULL;
14841}
14842
14843
c32bde28 14844static PyObject *_wrap_DC_GetOptimization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14845 PyObject *resultobj;
14846 wxDC *arg1 = (wxDC *) 0 ;
14847 bool result;
14848 PyObject * obj0 = 0 ;
14849 char *kwnames[] = {
14850 (char *) "self", NULL
14851 };
14852
14853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetOptimization",kwnames,&obj0)) goto fail;
15afbcd0
RD
14854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14856 {
14857 PyThreadState* __tstate = wxPyBeginAllowThreads();
14858 result = (bool)(arg1)->GetOptimization();
14859
14860 wxPyEndAllowThreads(__tstate);
14861 if (PyErr_Occurred()) SWIG_fail;
14862 }
4f89f6a3
RD
14863 {
14864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14865 }
d14a1e28
RD
14866 return resultobj;
14867 fail:
14868 return NULL;
14869}
14870
14871
c32bde28 14872static PyObject *_wrap_DC_CalcBoundingBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14873 PyObject *resultobj;
14874 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
14875 int arg2 ;
14876 int arg3 ;
d14a1e28 14877 PyObject * obj0 = 0 ;
994141e6
RD
14878 PyObject * obj1 = 0 ;
14879 PyObject * obj2 = 0 ;
d14a1e28
RD
14880 char *kwnames[] = {
14881 (char *) "self",(char *) "x",(char *) "y", NULL
14882 };
14883
994141e6 14884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_CalcBoundingBox",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14887 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14888 if (PyErr_Occurred()) SWIG_fail;
c32bde28 14889 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 14890 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14891 {
14892 PyThreadState* __tstate = wxPyBeginAllowThreads();
14893 (arg1)->CalcBoundingBox(arg2,arg3);
14894
14895 wxPyEndAllowThreads(__tstate);
14896 if (PyErr_Occurred()) SWIG_fail;
14897 }
14898 Py_INCREF(Py_None); resultobj = Py_None;
14899 return resultobj;
14900 fail:
14901 return NULL;
14902}
14903
14904
c32bde28 14905static PyObject *_wrap_DC_CalcBoundingBoxPoint(PyObject *, PyObject *args, PyObject *kwargs) {
03e37cd5
RD
14906 PyObject *resultobj;
14907 wxDC *arg1 = (wxDC *) 0 ;
14908 wxPoint *arg2 = 0 ;
14909 wxPoint temp2 ;
14910 PyObject * obj0 = 0 ;
14911 PyObject * obj1 = 0 ;
14912 char *kwnames[] = {
14913 (char *) "self",(char *) "point", NULL
14914 };
14915
14916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames,&obj0,&obj1)) goto fail;
14917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14919 {
14920 arg2 = &temp2;
14921 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14922 }
14923 {
14924 PyThreadState* __tstate = wxPyBeginAllowThreads();
14925 wxDC_CalcBoundingBoxPoint(arg1,(wxPoint const &)*arg2);
14926
14927 wxPyEndAllowThreads(__tstate);
14928 if (PyErr_Occurred()) SWIG_fail;
14929 }
14930 Py_INCREF(Py_None); resultobj = Py_None;
14931 return resultobj;
14932 fail:
14933 return NULL;
14934}
14935
14936
c32bde28 14937static PyObject *_wrap_DC_ResetBoundingBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14938 PyObject *resultobj;
14939 wxDC *arg1 = (wxDC *) 0 ;
14940 PyObject * obj0 = 0 ;
14941 char *kwnames[] = {
14942 (char *) "self", NULL
14943 };
14944
14945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_ResetBoundingBox",kwnames,&obj0)) goto fail;
15afbcd0
RD
14946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14948 {
14949 PyThreadState* __tstate = wxPyBeginAllowThreads();
14950 (arg1)->ResetBoundingBox();
14951
14952 wxPyEndAllowThreads(__tstate);
14953 if (PyErr_Occurred()) SWIG_fail;
14954 }
14955 Py_INCREF(Py_None); resultobj = Py_None;
14956 return resultobj;
14957 fail:
14958 return NULL;
14959}
14960
14961
c32bde28 14962static PyObject *_wrap_DC_MinX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14963 PyObject *resultobj;
14964 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce 14965 int result;
d14a1e28
RD
14966 PyObject * obj0 = 0 ;
14967 char *kwnames[] = {
14968 (char *) "self", NULL
14969 };
14970
14971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MinX",kwnames,&obj0)) goto fail;
15afbcd0
RD
14972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14974 {
14975 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14976 result = (int)((wxDC const *)arg1)->MinX();
d14a1e28
RD
14977
14978 wxPyEndAllowThreads(__tstate);
14979 if (PyErr_Occurred()) SWIG_fail;
14980 }
c32bde28 14981 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14982 return resultobj;
14983 fail:
14984 return NULL;
14985}
14986
14987
c32bde28 14988static PyObject *_wrap_DC_MaxX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14989 PyObject *resultobj;
14990 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce 14991 int result;
d14a1e28
RD
14992 PyObject * obj0 = 0 ;
14993 char *kwnames[] = {
14994 (char *) "self", NULL
14995 };
14996
14997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MaxX",kwnames,&obj0)) goto fail;
15afbcd0
RD
14998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15000 {
15001 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15002 result = (int)((wxDC const *)arg1)->MaxX();
d14a1e28
RD
15003
15004 wxPyEndAllowThreads(__tstate);
15005 if (PyErr_Occurred()) SWIG_fail;
15006 }
c32bde28 15007 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15008 return resultobj;
15009 fail:
15010 return NULL;
15011}
15012
15013
c32bde28 15014static PyObject *_wrap_DC_MinY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15015 PyObject *resultobj;
15016 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce 15017 int result;
d14a1e28
RD
15018 PyObject * obj0 = 0 ;
15019 char *kwnames[] = {
15020 (char *) "self", NULL
15021 };
15022
15023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MinY",kwnames,&obj0)) goto fail;
15afbcd0
RD
15024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15026 {
15027 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15028 result = (int)((wxDC const *)arg1)->MinY();
d14a1e28
RD
15029
15030 wxPyEndAllowThreads(__tstate);
15031 if (PyErr_Occurred()) SWIG_fail;
15032 }
c32bde28 15033 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15034 return resultobj;
15035 fail:
15036 return NULL;
15037}
15038
15039
c32bde28 15040static PyObject *_wrap_DC_MaxY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15041 PyObject *resultobj;
15042 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce 15043 int result;
d14a1e28
RD
15044 PyObject * obj0 = 0 ;
15045 char *kwnames[] = {
15046 (char *) "self", NULL
15047 };
15048
15049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MaxY",kwnames,&obj0)) goto fail;
15afbcd0
RD
15050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15052 {
15053 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15054 result = (int)((wxDC const *)arg1)->MaxY();
d14a1e28
RD
15055
15056 wxPyEndAllowThreads(__tstate);
15057 if (PyErr_Occurred()) SWIG_fail;
15058 }
c32bde28 15059 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15060 return resultobj;
15061 fail:
15062 return NULL;
15063}
15064
15065
c32bde28 15066static PyObject *_wrap_DC_GetBoundingBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15067 PyObject *resultobj;
15068 wxDC *arg1 = (wxDC *) 0 ;
15069 int *arg2 = (int *) 0 ;
15070 int *arg3 = (int *) 0 ;
15071 int *arg4 = (int *) 0 ;
15072 int *arg5 = (int *) 0 ;
15073 int temp2 ;
c32bde28 15074 int res2 = 0 ;
d14a1e28 15075 int temp3 ;
c32bde28 15076 int res3 = 0 ;
d14a1e28 15077 int temp4 ;
c32bde28 15078 int res4 = 0 ;
d14a1e28 15079 int temp5 ;
c32bde28 15080 int res5 = 0 ;
d14a1e28
RD
15081 PyObject * obj0 = 0 ;
15082 char *kwnames[] = {
15083 (char *) "self", NULL
15084 };
15085
c32bde28
RD
15086 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15087 arg3 = &temp3; res3 = SWIG_NEWOBJ;
15088 arg4 = &temp4; res4 = SWIG_NEWOBJ;
15089 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d14a1e28 15090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBoundingBox",kwnames,&obj0)) goto fail;
15afbcd0
RD
15091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15093 {
15094 PyThreadState* __tstate = wxPyBeginAllowThreads();
15095 wxDC_GetBoundingBox(arg1,arg2,arg3,arg4,arg5);
15096
15097 wxPyEndAllowThreads(__tstate);
15098 if (PyErr_Occurred()) SWIG_fail;
15099 }
15100 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
15101 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15102 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15103 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15104 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
15105 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
15106 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
15107 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
15108 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
15109 return resultobj;
15110 fail:
15111 return NULL;
15112}
15113
15114
c32bde28 15115static PyObject *_wrap_DC__DrawPointList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15116 PyObject *resultobj;
15117 wxDC *arg1 = (wxDC *) 0 ;
15118 PyObject *arg2 = (PyObject *) 0 ;
15119 PyObject *arg3 = (PyObject *) 0 ;
15120 PyObject *arg4 = (PyObject *) 0 ;
15121 PyObject *result;
15122 PyObject * obj0 = 0 ;
15123 PyObject * obj1 = 0 ;
15124 PyObject * obj2 = 0 ;
15125 PyObject * obj3 = 0 ;
15126 char *kwnames[] = {
15127 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15128 };
15129
15130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawPointList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
15131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15133 arg2 = obj1;
15134 arg3 = obj2;
15135 arg4 = obj3;
15136 {
15137 PyThreadState* __tstate = wxPyBeginAllowThreads();
15138 result = (PyObject *)wxDC__DrawPointList(arg1,arg2,arg3,arg4);
15139
15140 wxPyEndAllowThreads(__tstate);
15141 if (PyErr_Occurred()) SWIG_fail;
15142 }
15143 resultobj = result;
15144 return resultobj;
15145 fail:
15146 return NULL;
15147}
15148
15149
c32bde28 15150static PyObject *_wrap_DC__DrawLineList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15151 PyObject *resultobj;
15152 wxDC *arg1 = (wxDC *) 0 ;
15153 PyObject *arg2 = (PyObject *) 0 ;
15154 PyObject *arg3 = (PyObject *) 0 ;
15155 PyObject *arg4 = (PyObject *) 0 ;
15156 PyObject *result;
15157 PyObject * obj0 = 0 ;
15158 PyObject * obj1 = 0 ;
15159 PyObject * obj2 = 0 ;
15160 PyObject * obj3 = 0 ;
15161 char *kwnames[] = {
15162 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15163 };
15164
15165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawLineList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
15166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15168 arg2 = obj1;
15169 arg3 = obj2;
15170 arg4 = obj3;
15171 {
15172 PyThreadState* __tstate = wxPyBeginAllowThreads();
15173 result = (PyObject *)wxDC__DrawLineList(arg1,arg2,arg3,arg4);
15174
15175 wxPyEndAllowThreads(__tstate);
15176 if (PyErr_Occurred()) SWIG_fail;
15177 }
15178 resultobj = result;
15179 return resultobj;
15180 fail:
15181 return NULL;
15182}
15183
15184
c32bde28 15185static PyObject *_wrap_DC__DrawRectangleList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15186 PyObject *resultobj;
15187 wxDC *arg1 = (wxDC *) 0 ;
15188 PyObject *arg2 = (PyObject *) 0 ;
15189 PyObject *arg3 = (PyObject *) 0 ;
15190 PyObject *arg4 = (PyObject *) 0 ;
15191 PyObject *result;
15192 PyObject * obj0 = 0 ;
15193 PyObject * obj1 = 0 ;
15194 PyObject * obj2 = 0 ;
15195 PyObject * obj3 = 0 ;
15196 char *kwnames[] = {
15197 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15198 };
15199
15200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawRectangleList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
15201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15203 arg2 = obj1;
15204 arg3 = obj2;
15205 arg4 = obj3;
15206 {
15207 PyThreadState* __tstate = wxPyBeginAllowThreads();
15208 result = (PyObject *)wxDC__DrawRectangleList(arg1,arg2,arg3,arg4);
15209
15210 wxPyEndAllowThreads(__tstate);
15211 if (PyErr_Occurred()) SWIG_fail;
15212 }
15213 resultobj = result;
15214 return resultobj;
15215 fail:
15216 return NULL;
15217}
15218
15219
c32bde28 15220static PyObject *_wrap_DC__DrawEllipseList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15221 PyObject *resultobj;
15222 wxDC *arg1 = (wxDC *) 0 ;
15223 PyObject *arg2 = (PyObject *) 0 ;
15224 PyObject *arg3 = (PyObject *) 0 ;
15225 PyObject *arg4 = (PyObject *) 0 ;
15226 PyObject *result;
15227 PyObject * obj0 = 0 ;
15228 PyObject * obj1 = 0 ;
15229 PyObject * obj2 = 0 ;
15230 PyObject * obj3 = 0 ;
15231 char *kwnames[] = {
15232 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15233 };
15234
15235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawEllipseList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
15236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15238 arg2 = obj1;
15239 arg3 = obj2;
15240 arg4 = obj3;
15241 {
15242 PyThreadState* __tstate = wxPyBeginAllowThreads();
15243 result = (PyObject *)wxDC__DrawEllipseList(arg1,arg2,arg3,arg4);
15244
15245 wxPyEndAllowThreads(__tstate);
15246 if (PyErr_Occurred()) SWIG_fail;
15247 }
15248 resultobj = result;
15249 return resultobj;
15250 fail:
15251 return NULL;
15252}
15253
15254
c32bde28 15255static PyObject *_wrap_DC__DrawPolygonList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15256 PyObject *resultobj;
15257 wxDC *arg1 = (wxDC *) 0 ;
15258 PyObject *arg2 = (PyObject *) 0 ;
15259 PyObject *arg3 = (PyObject *) 0 ;
15260 PyObject *arg4 = (PyObject *) 0 ;
15261 PyObject *result;
15262 PyObject * obj0 = 0 ;
15263 PyObject * obj1 = 0 ;
15264 PyObject * obj2 = 0 ;
15265 PyObject * obj3 = 0 ;
15266 char *kwnames[] = {
15267 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15268 };
15269
15270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawPolygonList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
15271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15273 arg2 = obj1;
15274 arg3 = obj2;
15275 arg4 = obj3;
15276 {
15277 PyThreadState* __tstate = wxPyBeginAllowThreads();
15278 result = (PyObject *)wxDC__DrawPolygonList(arg1,arg2,arg3,arg4);
15279
15280 wxPyEndAllowThreads(__tstate);
15281 if (PyErr_Occurred()) SWIG_fail;
15282 }
15283 resultobj = result;
15284 return resultobj;
15285 fail:
15286 return NULL;
15287}
15288
15289
c32bde28 15290static PyObject *_wrap_DC__DrawTextList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15291 PyObject *resultobj;
15292 wxDC *arg1 = (wxDC *) 0 ;
15293 PyObject *arg2 = (PyObject *) 0 ;
15294 PyObject *arg3 = (PyObject *) 0 ;
15295 PyObject *arg4 = (PyObject *) 0 ;
15296 PyObject *arg5 = (PyObject *) 0 ;
15297 PyObject *result;
15298 PyObject * obj0 = 0 ;
15299 PyObject * obj1 = 0 ;
15300 PyObject * obj2 = 0 ;
15301 PyObject * obj3 = 0 ;
15302 PyObject * obj4 = 0 ;
15303 char *kwnames[] = {
15304 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15305 };
15306
15307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC__DrawTextList",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
15308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15310 arg2 = obj1;
15311 arg3 = obj2;
15312 arg4 = obj3;
15313 arg5 = obj4;
15314 {
15315 PyThreadState* __tstate = wxPyBeginAllowThreads();
15316 result = (PyObject *)wxDC__DrawTextList(arg1,arg2,arg3,arg4,arg5);
15317
15318 wxPyEndAllowThreads(__tstate);
15319 if (PyErr_Occurred()) SWIG_fail;
15320 }
15321 resultobj = result;
15322 return resultobj;
15323 fail:
15324 return NULL;
15325}
15326
15327
c32bde28 15328static PyObject * DC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15329 PyObject *obj;
15330 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15331 SWIG_TypeClientData(SWIGTYPE_p_wxDC, obj);
15332 Py_INCREF(obj);
15333 return Py_BuildValue((char *)"");
15334}
c32bde28 15335static PyObject *_wrap_new_MemoryDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15336 PyObject *resultobj;
15337 wxMemoryDC *result;
15338 char *kwnames[] = {
15339 NULL
15340 };
15341
15342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryDC",kwnames)) goto fail;
15343 {
e3b71cb8 15344 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15345 PyThreadState* __tstate = wxPyBeginAllowThreads();
15346 result = (wxMemoryDC *)new wxMemoryDC();
15347
15348 wxPyEndAllowThreads(__tstate);
110da5b0 15349 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15350 }
15afbcd0 15351 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryDC, 1);
d14a1e28
RD
15352 return resultobj;
15353 fail:
15354 return NULL;
15355}
15356
15357
c32bde28 15358static PyObject *_wrap_new_MemoryDCFromDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15359 PyObject *resultobj;
15360 wxDC *arg1 = (wxDC *) 0 ;
15361 wxMemoryDC *result;
15362 PyObject * obj0 = 0 ;
15363 char *kwnames[] = {
15364 (char *) "oldDC", NULL
15365 };
15366
15367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_MemoryDCFromDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
15368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15370 {
e3b71cb8 15371 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15372 PyThreadState* __tstate = wxPyBeginAllowThreads();
15373 result = (wxMemoryDC *)new wxMemoryDC(arg1);
15374
15375 wxPyEndAllowThreads(__tstate);
110da5b0 15376 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15377 }
15afbcd0 15378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryDC, 1);
d14a1e28
RD
15379 return resultobj;
15380 fail:
15381 return NULL;
15382}
15383
15384
c32bde28 15385static PyObject *_wrap_MemoryDC_SelectObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15386 PyObject *resultobj;
15387 wxMemoryDC *arg1 = (wxMemoryDC *) 0 ;
15388 wxBitmap *arg2 = 0 ;
15389 PyObject * obj0 = 0 ;
15390 PyObject * obj1 = 0 ;
15391 char *kwnames[] = {
15392 (char *) "self",(char *) "bitmap", NULL
15393 };
15394
15395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryDC_SelectObject",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryDC,
15397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15398 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15399 SWIG_POINTER_EXCEPTION | 0)) == -1)
15400 SWIG_fail;
d14a1e28 15401 if (arg2 == NULL) {
15afbcd0
RD
15402 PyErr_SetString(PyExc_TypeError,"null reference");
15403 SWIG_fail;
d14a1e28
RD
15404 }
15405 {
15406 PyThreadState* __tstate = wxPyBeginAllowThreads();
15407 (arg1)->SelectObject((wxBitmap const &)*arg2);
15408
15409 wxPyEndAllowThreads(__tstate);
15410 if (PyErr_Occurred()) SWIG_fail;
15411 }
15412 Py_INCREF(Py_None); resultobj = Py_None;
15413 return resultobj;
15414 fail:
15415 return NULL;
15416}
15417
15418
c32bde28 15419static PyObject * MemoryDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15420 PyObject *obj;
15421 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15422 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC, obj);
15423 Py_INCREF(obj);
15424 return Py_BuildValue((char *)"");
15425}
c32bde28 15426static PyObject *_wrap_new_BufferedDC__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
15427 PyObject *resultobj;
15428 wxDC *arg1 = (wxDC *) 0 ;
15429 wxBitmap *arg2 = 0 ;
15430 wxBufferedDC *result;
15431 PyObject * obj0 = 0 ;
15432 PyObject * obj1 = 0 ;
d14a1e28 15433
3adfb63b 15434 if(!PyArg_ParseTuple(args,(char *)"OO:new_BufferedDC",&obj0,&obj1)) goto fail;
15afbcd0
RD
15435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15437 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15438 SWIG_POINTER_EXCEPTION | 0)) == -1)
15439 SWIG_fail;
d14a1e28 15440 if (arg2 == NULL) {
15afbcd0
RD
15441 PyErr_SetString(PyExc_TypeError,"null reference");
15442 SWIG_fail;
d14a1e28
RD
15443 }
15444 {
e3b71cb8 15445 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15446 PyThreadState* __tstate = wxPyBeginAllowThreads();
15447 result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxBitmap const &)*arg2);
15448
15449 wxPyEndAllowThreads(__tstate);
110da5b0 15450 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15451 }
15afbcd0 15452 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedDC, 1);
d14a1e28
RD
15453 return resultobj;
15454 fail:
15455 return NULL;
15456}
15457
15458
c32bde28 15459static PyObject *_wrap_new_BufferedDC__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
15460 PyObject *resultobj;
15461 wxDC *arg1 = (wxDC *) 0 ;
15462 wxSize *arg2 = 0 ;
15463 wxBufferedDC *result;
15464 wxSize temp2 ;
15465 PyObject * obj0 = 0 ;
15466 PyObject * obj1 = 0 ;
3adfb63b 15467
e498079e 15468 if(!PyArg_ParseTuple(args,(char *)"OO:new_BufferedDC",&obj0,&obj1)) goto fail;
15afbcd0
RD
15469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3adfb63b
RD
15471 {
15472 arg2 = &temp2;
15473 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15474 }
3adfb63b 15475 {
e3b71cb8 15476 if (!wxPyCheckForApp()) SWIG_fail;
3adfb63b 15477 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 15478 result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxSize const &)*arg2);
3adfb63b
RD
15479
15480 wxPyEndAllowThreads(__tstate);
110da5b0 15481 if (PyErr_Occurred()) SWIG_fail;
3adfb63b 15482 }
15afbcd0 15483 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedDC, 1);
3adfb63b
RD
15484 return resultobj;
15485 fail:
15486 return NULL;
15487}
15488
15489
15490static PyObject *_wrap_new_BufferedDC(PyObject *self, PyObject *args) {
15491 int argc;
e498079e 15492 PyObject *argv[3];
3adfb63b
RD
15493 int ii;
15494
15495 argc = PyObject_Length(args);
e498079e 15496 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
3adfb63b
RD
15497 argv[ii] = PyTuple_GetItem(args,ii);
15498 }
15499 if (argc == 2) {
15500 int _v;
15501 {
15502 void *ptr;
15afbcd0 15503 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDC, 0) == -1) {
3adfb63b
RD
15504 _v = 0;
15505 PyErr_Clear();
15506 } else {
15507 _v = 1;
15508 }
15509 }
15510 if (_v) {
15511 {
15512 void *ptr;
15afbcd0 15513 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxBitmap, 0) == -1) {
3adfb63b
RD
15514 _v = 0;
15515 PyErr_Clear();
15516 } else {
15517 _v = 1;
15518 }
15519 }
15520 if (_v) {
15521 return _wrap_new_BufferedDC__SWIG_0(self,args);
15522 }
15523 }
15524 }
e498079e 15525 if (argc == 2) {
3adfb63b
RD
15526 int _v;
15527 {
15528 void *ptr;
15afbcd0 15529 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDC, 0) == -1) {
3adfb63b
RD
15530 _v = 0;
15531 PyErr_Clear();
15532 } else {
15533 _v = 1;
15534 }
15535 }
15536 if (_v) {
15537 {
15538 _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2);
15539 }
15540 if (_v) {
e498079e 15541 return _wrap_new_BufferedDC__SWIG_1(self,args);
3adfb63b
RD
15542 }
15543 }
15544 }
15545
15546 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BufferedDC'");
15547 return NULL;
15548}
15549
15550
c32bde28 15551static PyObject *_wrap_delete_BufferedDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15552 PyObject *resultobj;
15553 wxBufferedDC *arg1 = (wxBufferedDC *) 0 ;
15554 PyObject * obj0 = 0 ;
15555 char *kwnames[] = {
15556 (char *) "self", NULL
15557 };
15558
e498079e 15559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BufferedDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
15560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBufferedDC,
15561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15562 {
15563 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 15564 delete arg1;
d14a1e28
RD
15565
15566 wxPyEndAllowThreads(__tstate);
15567 if (PyErr_Occurred()) SWIG_fail;
15568 }
15569 Py_INCREF(Py_None); resultobj = Py_None;
15570 return resultobj;
15571 fail:
15572 return NULL;
15573}
15574
15575
c32bde28 15576static PyObject *_wrap_BufferedDC_UnMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 15577 PyObject *resultobj;
e498079e 15578 wxBufferedDC *arg1 = (wxBufferedDC *) 0 ;
3adfb63b 15579 PyObject * obj0 = 0 ;
e498079e
RD
15580 char *kwnames[] = {
15581 (char *) "self", NULL
15582 };
3adfb63b 15583
e498079e 15584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BufferedDC_UnMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
15585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBufferedDC,
15586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3adfb63b
RD
15587 {
15588 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 15589 (arg1)->UnMask();
3adfb63b
RD
15590
15591 wxPyEndAllowThreads(__tstate);
15592 if (PyErr_Occurred()) SWIG_fail;
15593 }
e498079e 15594 Py_INCREF(Py_None); resultobj = Py_None;
3adfb63b
RD
15595 return resultobj;
15596 fail:
15597 return NULL;
15598}
15599
15600
c32bde28 15601static PyObject * BufferedDC_swigregister(PyObject *, PyObject *args) {
e498079e
RD
15602 PyObject *obj;
15603 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15604 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC, obj);
15605 Py_INCREF(obj);
15606 return Py_BuildValue((char *)"");
15607}
c32bde28 15608static PyObject *_wrap_new_BufferedPaintDC(PyObject *, PyObject *args, PyObject *kwargs) {
3adfb63b
RD
15609 PyObject *resultobj;
15610 wxWindow *arg1 = (wxWindow *) 0 ;
e498079e
RD
15611 wxBitmap const &arg2_defvalue = wxNullBitmap ;
15612 wxBitmap *arg2 = (wxBitmap *) &arg2_defvalue ;
d14a1e28
RD
15613 wxBufferedPaintDC *result;
15614 PyObject * obj0 = 0 ;
15615 PyObject * obj1 = 0 ;
e498079e
RD
15616 char *kwnames[] = {
15617 (char *) "window",(char *) "buffer", NULL
15618 };
d14a1e28 15619
e498079e 15620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_BufferedPaintDC",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15623 if (obj1) {
15afbcd0
RD
15624 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15625 SWIG_POINTER_EXCEPTION | 0)) == -1)
15626 SWIG_fail;
e498079e 15627 if (arg2 == NULL) {
15afbcd0
RD
15628 PyErr_SetString(PyExc_TypeError,"null reference");
15629 SWIG_fail;
d14a1e28
RD
15630 }
15631 }
15632 {
e3b71cb8 15633 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 15634 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 15635 result = (wxBufferedPaintDC *)new wxBufferedPaintDC(arg1,(wxBitmap const &)*arg2);
d14a1e28
RD
15636
15637 wxPyEndAllowThreads(__tstate);
110da5b0 15638 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15639 }
15afbcd0 15640 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedPaintDC, 1);
d14a1e28
RD
15641 return resultobj;
15642 fail:
15643 return NULL;
15644}
15645
15646
c32bde28 15647static PyObject * BufferedPaintDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15648 PyObject *obj;
15649 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15650 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC, obj);
15651 Py_INCREF(obj);
15652 return Py_BuildValue((char *)"");
15653}
c32bde28 15654static PyObject *_wrap_new_ScreenDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15655 PyObject *resultobj;
15656 wxScreenDC *result;
15657 char *kwnames[] = {
15658 NULL
15659 };
15660
15661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ScreenDC",kwnames)) goto fail;
15662 {
e3b71cb8 15663 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15664 PyThreadState* __tstate = wxPyBeginAllowThreads();
15665 result = (wxScreenDC *)new wxScreenDC();
15666
15667 wxPyEndAllowThreads(__tstate);
110da5b0 15668 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15669 }
15afbcd0 15670 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScreenDC, 1);
d14a1e28
RD
15671 return resultobj;
15672 fail:
15673 return NULL;
15674}
15675
15676
c32bde28 15677static PyObject *_wrap_ScreenDC_StartDrawingOnTopWin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15678 PyObject *resultobj;
15679 wxScreenDC *arg1 = (wxScreenDC *) 0 ;
15680 wxWindow *arg2 = (wxWindow *) 0 ;
15681 bool result;
15682 PyObject * obj0 = 0 ;
15683 PyObject * obj1 = 0 ;
15684 char *kwnames[] = {
15685 (char *) "self",(char *) "window", NULL
15686 };
15687
15688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScreenDC,
15690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15691 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15693 {
15694 PyThreadState* __tstate = wxPyBeginAllowThreads();
15695 result = (bool)(arg1)->StartDrawingOnTop(arg2);
15696
15697 wxPyEndAllowThreads(__tstate);
15698 if (PyErr_Occurred()) SWIG_fail;
15699 }
4f89f6a3
RD
15700 {
15701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15702 }
d14a1e28
RD
15703 return resultobj;
15704 fail:
15705 return NULL;
15706}
15707
15708
c32bde28 15709static PyObject *_wrap_ScreenDC_StartDrawingOnTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15710 PyObject *resultobj;
15711 wxScreenDC *arg1 = (wxScreenDC *) 0 ;
15712 wxRect *arg2 = (wxRect *) NULL ;
15713 bool result;
15714 PyObject * obj0 = 0 ;
15715 PyObject * obj1 = 0 ;
15716 char *kwnames[] = {
15717 (char *) "self",(char *) "rect", NULL
15718 };
15719
15720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScreenDC,
15722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15723 if (obj1) {
15afbcd0
RD
15724 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
15725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15726 }
15727 {
15728 PyThreadState* __tstate = wxPyBeginAllowThreads();
15729 result = (bool)(arg1)->StartDrawingOnTop(arg2);
15730
15731 wxPyEndAllowThreads(__tstate);
15732 if (PyErr_Occurred()) SWIG_fail;
15733 }
4f89f6a3
RD
15734 {
15735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15736 }
d14a1e28
RD
15737 return resultobj;
15738 fail:
15739 return NULL;
15740}
15741
15742
c32bde28 15743static PyObject *_wrap_ScreenDC_EndDrawingOnTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15744 PyObject *resultobj;
15745 wxScreenDC *arg1 = (wxScreenDC *) 0 ;
15746 bool result;
15747 PyObject * obj0 = 0 ;
15748 char *kwnames[] = {
15749 (char *) "self", NULL
15750 };
15751
15752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames,&obj0)) goto fail;
15afbcd0
RD
15753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScreenDC,
15754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15755 {
15756 PyThreadState* __tstate = wxPyBeginAllowThreads();
15757 result = (bool)(arg1)->EndDrawingOnTop();
15758
15759 wxPyEndAllowThreads(__tstate);
15760 if (PyErr_Occurred()) SWIG_fail;
15761 }
4f89f6a3
RD
15762 {
15763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15764 }
d14a1e28
RD
15765 return resultobj;
15766 fail:
15767 return NULL;
15768}
15769
15770
c32bde28 15771static PyObject * ScreenDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15772 PyObject *obj;
15773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15774 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC, obj);
15775 Py_INCREF(obj);
15776 return Py_BuildValue((char *)"");
15777}
c32bde28 15778static PyObject *_wrap_new_ClientDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15779 PyObject *resultobj;
15780 wxWindow *arg1 = (wxWindow *) 0 ;
15781 wxClientDC *result;
15782 PyObject * obj0 = 0 ;
15783 char *kwnames[] = {
15784 (char *) "win", NULL
15785 };
15786
15787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ClientDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
15788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15790 {
e3b71cb8 15791 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15792 PyThreadState* __tstate = wxPyBeginAllowThreads();
15793 result = (wxClientDC *)new wxClientDC(arg1);
15794
15795 wxPyEndAllowThreads(__tstate);
110da5b0 15796 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15797 }
15afbcd0 15798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClientDC, 1);
d14a1e28
RD
15799 return resultobj;
15800 fail:
15801 return NULL;
15802}
15803
15804
c32bde28 15805static PyObject * ClientDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15806 PyObject *obj;
15807 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15808 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC, obj);
15809 Py_INCREF(obj);
15810 return Py_BuildValue((char *)"");
15811}
c32bde28 15812static PyObject *_wrap_new_PaintDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15813 PyObject *resultobj;
15814 wxWindow *arg1 = (wxWindow *) 0 ;
15815 wxPaintDC *result;
15816 PyObject * obj0 = 0 ;
15817 char *kwnames[] = {
15818 (char *) "win", NULL
15819 };
15820
15821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PaintDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
15822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15824 {
e3b71cb8 15825 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15826 PyThreadState* __tstate = wxPyBeginAllowThreads();
15827 result = (wxPaintDC *)new wxPaintDC(arg1);
15828
15829 wxPyEndAllowThreads(__tstate);
110da5b0 15830 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15831 }
15afbcd0 15832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintDC, 1);
d14a1e28
RD
15833 return resultobj;
15834 fail:
15835 return NULL;
15836}
15837
15838
c32bde28 15839static PyObject * PaintDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15840 PyObject *obj;
15841 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15842 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC, obj);
15843 Py_INCREF(obj);
15844 return Py_BuildValue((char *)"");
15845}
c32bde28 15846static PyObject *_wrap_new_WindowDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15847 PyObject *resultobj;
15848 wxWindow *arg1 = (wxWindow *) 0 ;
15849 wxWindowDC *result;
15850 PyObject * obj0 = 0 ;
15851 char *kwnames[] = {
15852 (char *) "win", NULL
15853 };
15854
15855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_WindowDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
15856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15858 {
e3b71cb8 15859 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15860 PyThreadState* __tstate = wxPyBeginAllowThreads();
15861 result = (wxWindowDC *)new wxWindowDC(arg1);
15862
15863 wxPyEndAllowThreads(__tstate);
110da5b0 15864 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15865 }
15afbcd0 15866 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDC, 1);
d14a1e28
RD
15867 return resultobj;
15868 fail:
15869 return NULL;
15870}
15871
15872
c32bde28 15873static PyObject * WindowDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15874 PyObject *obj;
15875 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15876 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC, obj);
15877 Py_INCREF(obj);
15878 return Py_BuildValue((char *)"");
15879}
c32bde28 15880static PyObject *_wrap_new_MirrorDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15881 PyObject *resultobj;
15882 wxDC *arg1 = 0 ;
15883 bool arg2 ;
15884 wxMirrorDC *result;
15885 PyObject * obj0 = 0 ;
15886 PyObject * obj1 = 0 ;
15887 char *kwnames[] = {
15888 (char *) "dc",(char *) "mirror", NULL
15889 };
15890
15891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_MirrorDC",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15893 SWIG_POINTER_EXCEPTION | 0)) == -1)
15894 SWIG_fail;
d14a1e28 15895 if (arg1 == NULL) {
15afbcd0
RD
15896 PyErr_SetString(PyExc_TypeError,"null reference");
15897 SWIG_fail;
a41e16b6 15898 }
c32bde28 15899 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 15900 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15901 {
e3b71cb8 15902 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15903 PyThreadState* __tstate = wxPyBeginAllowThreads();
15904 result = (wxMirrorDC *)new wxMirrorDC(*arg1,arg2);
15905
15906 wxPyEndAllowThreads(__tstate);
110da5b0 15907 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15908 }
15afbcd0 15909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMirrorDC, 1);
d14a1e28
RD
15910 return resultobj;
15911 fail:
15912 return NULL;
15913}
15914
15915
c32bde28 15916static PyObject * MirrorDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15917 PyObject *obj;
15918 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15919 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC, obj);
15920 Py_INCREF(obj);
15921 return Py_BuildValue((char *)"");
15922}
c32bde28 15923static PyObject *_wrap_new_PostScriptDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15924 PyObject *resultobj;
15925 wxPrintData *arg1 = 0 ;
15926 wxPostScriptDC *result;
15927 PyObject * obj0 = 0 ;
15928 char *kwnames[] = {
15929 (char *) "printData", NULL
15930 };
15931
15932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PostScriptDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
15933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
15934 SWIG_POINTER_EXCEPTION | 0)) == -1)
15935 SWIG_fail;
d14a1e28 15936 if (arg1 == NULL) {
15afbcd0
RD
15937 PyErr_SetString(PyExc_TypeError,"null reference");
15938 SWIG_fail;
d14a1e28
RD
15939 }
15940 {
e3b71cb8 15941 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15942 PyThreadState* __tstate = wxPyBeginAllowThreads();
15943 result = (wxPostScriptDC *)new wxPostScriptDC((wxPrintData const &)*arg1);
15944
15945 wxPyEndAllowThreads(__tstate);
110da5b0 15946 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15947 }
15afbcd0 15948 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPostScriptDC, 1);
d14a1e28
RD
15949 return resultobj;
15950 fail:
15951 return NULL;
15952}
15953
15954
c32bde28 15955static PyObject *_wrap_PostScriptDC_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15956 PyObject *resultobj;
15957 wxPostScriptDC *arg1 = (wxPostScriptDC *) 0 ;
15958 wxPrintData *result;
15959 PyObject * obj0 = 0 ;
15960 char *kwnames[] = {
15961 (char *) "self", NULL
15962 };
15963
15964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PostScriptDC_GetPrintData",kwnames,&obj0)) goto fail;
15afbcd0
RD
15965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPostScriptDC,
15966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15967 {
15968 PyThreadState* __tstate = wxPyBeginAllowThreads();
15969 {
15970 wxPrintData &_result_ref = (arg1)->GetPrintData();
15971 result = (wxPrintData *) &_result_ref;
15972 }
15973
15974 wxPyEndAllowThreads(__tstate);
15975 if (PyErr_Occurred()) SWIG_fail;
15976 }
15afbcd0 15977 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
15978 return resultobj;
15979 fail:
15980 return NULL;
15981}
15982
15983
c32bde28 15984static PyObject *_wrap_PostScriptDC_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15985 PyObject *resultobj;
15986 wxPostScriptDC *arg1 = (wxPostScriptDC *) 0 ;
15987 wxPrintData *arg2 = 0 ;
15988 PyObject * obj0 = 0 ;
15989 PyObject * obj1 = 0 ;
15990 char *kwnames[] = {
15991 (char *) "self",(char *) "data", NULL
15992 };
15993
15994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostScriptDC_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPostScriptDC,
15996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15997 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
15998 SWIG_POINTER_EXCEPTION | 0)) == -1)
15999 SWIG_fail;
d14a1e28 16000 if (arg2 == NULL) {
15afbcd0
RD
16001 PyErr_SetString(PyExc_TypeError,"null reference");
16002 SWIG_fail;
d14a1e28
RD
16003 }
16004 {
16005 PyThreadState* __tstate = wxPyBeginAllowThreads();
16006 (arg1)->SetPrintData((wxPrintData const &)*arg2);
16007
16008 wxPyEndAllowThreads(__tstate);
16009 if (PyErr_Occurred()) SWIG_fail;
16010 }
16011 Py_INCREF(Py_None); resultobj = Py_None;
16012 return resultobj;
16013 fail:
16014 return NULL;
16015}
16016
16017
c32bde28 16018static PyObject *_wrap_PostScriptDC_SetResolution(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16019 PyObject *resultobj;
16020 int arg1 ;
994141e6 16021 PyObject * obj0 = 0 ;
d14a1e28
RD
16022 char *kwnames[] = {
16023 (char *) "ppi", NULL
16024 };
16025
994141e6 16026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PostScriptDC_SetResolution",kwnames,&obj0)) goto fail;
c32bde28 16027 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 16028 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16029 {
16030 PyThreadState* __tstate = wxPyBeginAllowThreads();
16031 wxPostScriptDC::SetResolution(arg1);
16032
16033 wxPyEndAllowThreads(__tstate);
16034 if (PyErr_Occurred()) SWIG_fail;
16035 }
16036 Py_INCREF(Py_None); resultobj = Py_None;
16037 return resultobj;
16038 fail:
16039 return NULL;
16040}
16041
16042
c32bde28 16043static PyObject *_wrap_PostScriptDC_GetResolution(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16044 PyObject *resultobj;
16045 int result;
16046 char *kwnames[] = {
16047 NULL
16048 };
16049
16050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PostScriptDC_GetResolution",kwnames)) goto fail;
16051 {
16052 PyThreadState* __tstate = wxPyBeginAllowThreads();
16053 result = (int)wxPostScriptDC::GetResolution();
16054
16055 wxPyEndAllowThreads(__tstate);
16056 if (PyErr_Occurred()) SWIG_fail;
16057 }
c32bde28 16058 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16059 return resultobj;
16060 fail:
16061 return NULL;
16062}
16063
16064
c32bde28 16065static PyObject * PostScriptDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16066 PyObject *obj;
16067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16068 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC, obj);
16069 Py_INCREF(obj);
16070 return Py_BuildValue((char *)"");
16071}
c32bde28 16072static PyObject *_wrap_new_MetaFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16073 PyObject *resultobj;
16074 wxString const &arg1_defvalue = wxPyEmptyString ;
16075 wxString *arg1 = (wxString *) &arg1_defvalue ;
16076 wxMetaFile *result;
ae8162c8 16077 bool temp1 = false ;
d14a1e28
RD
16078 PyObject * obj0 = 0 ;
16079 char *kwnames[] = {
16080 (char *) "filename", NULL
16081 };
16082
16083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MetaFile",kwnames,&obj0)) goto fail;
16084 if (obj0) {
16085 {
16086 arg1 = wxString_in_helper(obj0);
16087 if (arg1 == NULL) SWIG_fail;
ae8162c8 16088 temp1 = true;
d14a1e28
RD
16089 }
16090 }
16091 {
e3b71cb8 16092 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16093 PyThreadState* __tstate = wxPyBeginAllowThreads();
16094 result = (wxMetaFile *)new wxMetaFile((wxString const &)*arg1);
16095
16096 wxPyEndAllowThreads(__tstate);
110da5b0 16097 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16098 }
15afbcd0 16099 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetaFile, 1);
d14a1e28
RD
16100 {
16101 if (temp1)
16102 delete arg1;
16103 }
16104 return resultobj;
16105 fail:
16106 {
16107 if (temp1)
16108 delete arg1;
16109 }
16110 return NULL;
16111}
16112
16113
c32bde28 16114static PyObject * MetaFile_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16115 PyObject *obj;
16116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16117 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile, obj);
16118 Py_INCREF(obj);
16119 return Py_BuildValue((char *)"");
16120}
c32bde28 16121static PyObject *_wrap_new_MetaFileDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16122 PyObject *resultobj;
16123 wxString const &arg1_defvalue = wxPyEmptyString ;
16124 wxString *arg1 = (wxString *) &arg1_defvalue ;
16125 int arg2 = (int) 0 ;
16126 int arg3 = (int) 0 ;
16127 wxString const &arg4_defvalue = wxPyEmptyString ;
16128 wxString *arg4 = (wxString *) &arg4_defvalue ;
16129 wxMetaFileDC *result;
ae8162c8
RD
16130 bool temp1 = false ;
16131 bool temp4 = false ;
d14a1e28 16132 PyObject * obj0 = 0 ;
994141e6
RD
16133 PyObject * obj1 = 0 ;
16134 PyObject * obj2 = 0 ;
d14a1e28
RD
16135 PyObject * obj3 = 0 ;
16136 char *kwnames[] = {
16137 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
16138 };
16139
994141e6 16140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_MetaFileDC",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
16141 if (obj0) {
16142 {
16143 arg1 = wxString_in_helper(obj0);
16144 if (arg1 == NULL) SWIG_fail;
ae8162c8 16145 temp1 = true;
d14a1e28
RD
16146 }
16147 }
994141e6 16148 if (obj1) {
c32bde28 16149 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 16150 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
16151 }
16152 if (obj2) {
c32bde28 16153 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 16154 if (PyErr_Occurred()) SWIG_fail;
994141e6 16155 }
d14a1e28
RD
16156 if (obj3) {
16157 {
16158 arg4 = wxString_in_helper(obj3);
16159 if (arg4 == NULL) SWIG_fail;
ae8162c8 16160 temp4 = true;
d14a1e28
RD
16161 }
16162 }
16163 {
e3b71cb8 16164 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16165 PyThreadState* __tstate = wxPyBeginAllowThreads();
16166 result = (wxMetaFileDC *)new wxMetaFileDC((wxString const &)*arg1,arg2,arg3,(wxString const &)*arg4);
16167
16168 wxPyEndAllowThreads(__tstate);
110da5b0 16169 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16170 }
15afbcd0 16171 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetaFileDC, 1);
d14a1e28
RD
16172 {
16173 if (temp1)
16174 delete arg1;
16175 }
16176 {
16177 if (temp4)
16178 delete arg4;
16179 }
16180 return resultobj;
16181 fail:
16182 {
16183 if (temp1)
16184 delete arg1;
16185 }
16186 {
16187 if (temp4)
16188 delete arg4;
16189 }
16190 return NULL;
16191}
16192
16193
c32bde28 16194static PyObject * MetaFileDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16195 PyObject *obj;
16196 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16197 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC, obj);
16198 Py_INCREF(obj);
16199 return Py_BuildValue((char *)"");
16200}
c32bde28 16201static PyObject *_wrap_new_PrinterDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16202 PyObject *resultobj;
16203 wxPrintData *arg1 = 0 ;
16204 wxPrinterDC *result;
16205 PyObject * obj0 = 0 ;
16206 char *kwnames[] = {
16207 (char *) "printData", NULL
16208 };
16209
16210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PrinterDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
16211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
16212 SWIG_POINTER_EXCEPTION | 0)) == -1)
16213 SWIG_fail;
d14a1e28 16214 if (arg1 == NULL) {
15afbcd0
RD
16215 PyErr_SetString(PyExc_TypeError,"null reference");
16216 SWIG_fail;
d14a1e28
RD
16217 }
16218 {
e3b71cb8 16219 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16220 PyThreadState* __tstate = wxPyBeginAllowThreads();
16221 result = (wxPrinterDC *)new wxPrinterDC((wxPrintData const &)*arg1);
16222
16223 wxPyEndAllowThreads(__tstate);
110da5b0 16224 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16225 }
15afbcd0 16226 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinterDC, 1);
d14a1e28
RD
16227 return resultobj;
16228 fail:
16229 return NULL;
16230}
16231
16232
c32bde28 16233static PyObject * PrinterDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16234 PyObject *obj;
16235 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16236 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC, obj);
16237 Py_INCREF(obj);
16238 return Py_BuildValue((char *)"");
16239}
c32bde28 16240static PyObject *_wrap_new_ImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16241 PyObject *resultobj;
16242 int arg1 ;
16243 int arg2 ;
ae8162c8 16244 int arg3 = (int) true ;
d14a1e28
RD
16245 int arg4 = (int) 1 ;
16246 wxImageList *result;
994141e6
RD
16247 PyObject * obj0 = 0 ;
16248 PyObject * obj1 = 0 ;
16249 PyObject * obj2 = 0 ;
16250 PyObject * obj3 = 0 ;
d14a1e28
RD
16251 char *kwnames[] = {
16252 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16253 };
16254
994141e6 16255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_ImageList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
c32bde28 16256 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 16257 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16258 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 16259 if (PyErr_Occurred()) SWIG_fail;
994141e6 16260 if (obj2) {
c32bde28 16261 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 16262 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
16263 }
16264 if (obj3) {
c32bde28 16265 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 16266 if (PyErr_Occurred()) SWIG_fail;
994141e6 16267 }
d14a1e28 16268 {
e3b71cb8 16269 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16270 PyThreadState* __tstate = wxPyBeginAllowThreads();
16271 result = (wxImageList *)new wxImageList(arg1,arg2,arg3,arg4);
16272
16273 wxPyEndAllowThreads(__tstate);
110da5b0 16274 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16275 }
16276 {
412d302d 16277 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
16278 }
16279 return resultobj;
16280 fail:
16281 return NULL;
16282}
16283
16284
c32bde28 16285static PyObject *_wrap_delete_ImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16286 PyObject *resultobj;
16287 wxImageList *arg1 = (wxImageList *) 0 ;
16288 PyObject * obj0 = 0 ;
16289 char *kwnames[] = {
16290 (char *) "self", NULL
16291 };
16292
16293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ImageList",kwnames,&obj0)) goto fail;
15afbcd0
RD
16294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16296 {
16297 PyThreadState* __tstate = wxPyBeginAllowThreads();
16298 delete arg1;
16299
16300 wxPyEndAllowThreads(__tstate);
16301 if (PyErr_Occurred()) SWIG_fail;
16302 }
16303 Py_INCREF(Py_None); resultobj = Py_None;
16304 return resultobj;
16305 fail:
16306 return NULL;
16307}
16308
16309
c32bde28 16310static PyObject *_wrap_ImageList_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16311 PyObject *resultobj;
16312 wxImageList *arg1 = (wxImageList *) 0 ;
16313 wxBitmap *arg2 = 0 ;
16314 wxBitmap const &arg3_defvalue = wxNullBitmap ;
16315 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
16316 int result;
16317 PyObject * obj0 = 0 ;
16318 PyObject * obj1 = 0 ;
16319 PyObject * obj2 = 0 ;
16320 char *kwnames[] = {
16321 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16322 };
16323
16324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ImageList_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16327 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16328 SWIG_POINTER_EXCEPTION | 0)) == -1)
16329 SWIG_fail;
d14a1e28 16330 if (arg2 == NULL) {
15afbcd0
RD
16331 PyErr_SetString(PyExc_TypeError,"null reference");
16332 SWIG_fail;
d14a1e28
RD
16333 }
16334 if (obj2) {
15afbcd0
RD
16335 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
16336 SWIG_POINTER_EXCEPTION | 0)) == -1)
16337 SWIG_fail;
d14a1e28 16338 if (arg3 == NULL) {
15afbcd0
RD
16339 PyErr_SetString(PyExc_TypeError,"null reference");
16340 SWIG_fail;
d14a1e28
RD
16341 }
16342 }
16343 {
16344 PyThreadState* __tstate = wxPyBeginAllowThreads();
16345 result = (int)(arg1)->Add((wxBitmap const &)*arg2,(wxBitmap const &)*arg3);
16346
16347 wxPyEndAllowThreads(__tstate);
16348 if (PyErr_Occurred()) SWIG_fail;
16349 }
c32bde28 16350 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16351 return resultobj;
16352 fail:
16353 return NULL;
16354}
16355
16356
c32bde28 16357static PyObject *_wrap_ImageList_AddWithColourMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16358 PyObject *resultobj;
16359 wxImageList *arg1 = (wxImageList *) 0 ;
16360 wxBitmap *arg2 = 0 ;
16361 wxColour *arg3 = 0 ;
16362 int result;
16363 wxColour temp3 ;
16364 PyObject * obj0 = 0 ;
16365 PyObject * obj1 = 0 ;
16366 PyObject * obj2 = 0 ;
16367 char *kwnames[] = {
16368 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16369 };
16370
16371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageList_AddWithColourMask",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16374 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16375 SWIG_POINTER_EXCEPTION | 0)) == -1)
16376 SWIG_fail;
d14a1e28 16377 if (arg2 == NULL) {
15afbcd0
RD
16378 PyErr_SetString(PyExc_TypeError,"null reference");
16379 SWIG_fail;
d14a1e28
RD
16380 }
16381 {
16382 arg3 = &temp3;
16383 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16384 }
16385 {
16386 PyThreadState* __tstate = wxPyBeginAllowThreads();
16387 result = (int)(arg1)->Add((wxBitmap const &)*arg2,(wxColour const &)*arg3);
16388
16389 wxPyEndAllowThreads(__tstate);
16390 if (PyErr_Occurred()) SWIG_fail;
16391 }
c32bde28 16392 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16393 return resultobj;
16394 fail:
16395 return NULL;
16396}
16397
16398
c32bde28 16399static PyObject *_wrap_ImageList_AddIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16400 PyObject *resultobj;
16401 wxImageList *arg1 = (wxImageList *) 0 ;
16402 wxIcon *arg2 = 0 ;
16403 int result;
16404 PyObject * obj0 = 0 ;
16405 PyObject * obj1 = 0 ;
16406 char *kwnames[] = {
16407 (char *) "self",(char *) "icon", NULL
16408 };
16409
16410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageList_AddIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16413 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
16414 SWIG_POINTER_EXCEPTION | 0)) == -1)
16415 SWIG_fail;
d14a1e28 16416 if (arg2 == NULL) {
15afbcd0
RD
16417 PyErr_SetString(PyExc_TypeError,"null reference");
16418 SWIG_fail;
d14a1e28
RD
16419 }
16420 {
16421 PyThreadState* __tstate = wxPyBeginAllowThreads();
16422 result = (int)(arg1)->Add((wxIcon const &)*arg2);
16423
16424 wxPyEndAllowThreads(__tstate);
16425 if (PyErr_Occurred()) SWIG_fail;
16426 }
c32bde28 16427 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16428 return resultobj;
16429 fail:
16430 return NULL;
16431}
16432
16433
c32bde28 16434static PyObject *_wrap_ImageList_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16435 PyObject *resultobj;
16436 wxImageList *arg1 = (wxImageList *) 0 ;
16437 int arg2 ;
16438 wxBitmap *arg3 = 0 ;
16439 bool result;
16440 PyObject * obj0 = 0 ;
994141e6 16441 PyObject * obj1 = 0 ;
d14a1e28
RD
16442 PyObject * obj2 = 0 ;
16443 char *kwnames[] = {
16444 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16445 };
16446
994141e6 16447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageList_Replace",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16450 arg2 = (int)SWIG_As_int(obj1);
15afbcd0
RD
16451 if (PyErr_Occurred()) SWIG_fail;
16452 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
16453 SWIG_POINTER_EXCEPTION | 0)) == -1)
16454 SWIG_fail;
d14a1e28 16455 if (arg3 == NULL) {
15afbcd0
RD
16456 PyErr_SetString(PyExc_TypeError,"null reference");
16457 SWIG_fail;
d14a1e28
RD
16458 }
16459 {
16460 PyThreadState* __tstate = wxPyBeginAllowThreads();
16461 result = (bool)(arg1)->Replace(arg2,(wxBitmap const &)*arg3);
16462
16463 wxPyEndAllowThreads(__tstate);
16464 if (PyErr_Occurred()) SWIG_fail;
16465 }
4f89f6a3
RD
16466 {
16467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16468 }
d14a1e28
RD
16469 return resultobj;
16470 fail:
16471 return NULL;
16472}
16473
16474
c32bde28 16475static PyObject *_wrap_ImageList_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16476 PyObject *resultobj;
16477 wxImageList *arg1 = (wxImageList *) 0 ;
16478 int arg2 ;
16479 wxDC *arg3 = 0 ;
16480 int arg4 ;
16481 int arg5 ;
16482 int arg6 = (int) wxIMAGELIST_DRAW_NORMAL ;
ae8162c8 16483 bool arg7 = (bool) (bool)false ;
d14a1e28
RD
16484 bool result;
16485 PyObject * obj0 = 0 ;
994141e6 16486 PyObject * obj1 = 0 ;
d14a1e28 16487 PyObject * obj2 = 0 ;
994141e6
RD
16488 PyObject * obj3 = 0 ;
16489 PyObject * obj4 = 0 ;
16490 PyObject * obj5 = 0 ;
d14a1e28
RD
16491 PyObject * obj6 = 0 ;
16492 char *kwnames[] = {
16493 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16494 };
16495
994141e6 16496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:ImageList_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
16497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16499 arg2 = (int)SWIG_As_int(obj1);
15afbcd0
RD
16500 if (PyErr_Occurred()) SWIG_fail;
16501 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
16502 SWIG_POINTER_EXCEPTION | 0)) == -1)
16503 SWIG_fail;
d14a1e28 16504 if (arg3 == NULL) {
15afbcd0
RD
16505 PyErr_SetString(PyExc_TypeError,"null reference");
16506 SWIG_fail;
994141e6 16507 }
c32bde28 16508 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 16509 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16510 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 16511 if (PyErr_Occurred()) SWIG_fail;
994141e6 16512 if (obj5) {
c32bde28 16513 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 16514 if (PyErr_Occurred()) SWIG_fail;
994141e6 16515 }
d14a1e28 16516 if (obj6) {
c32bde28 16517 arg7 = (bool)SWIG_As_bool(obj6);
15afbcd0 16518 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16519 }
16520 {
16521 PyThreadState* __tstate = wxPyBeginAllowThreads();
16522 result = (bool)(arg1)->Draw(arg2,*arg3,arg4,arg5,arg6,arg7);
16523
16524 wxPyEndAllowThreads(__tstate);
16525 if (PyErr_Occurred()) SWIG_fail;
16526 }
4f89f6a3
RD
16527 {
16528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16529 }
d14a1e28
RD
16530 return resultobj;
16531 fail:
16532 return NULL;
16533}
16534
16535
c32bde28 16536static PyObject *_wrap_ImageList_GetImageCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16537 PyObject *resultobj;
16538 wxImageList *arg1 = (wxImageList *) 0 ;
16539 int result;
16540 PyObject * obj0 = 0 ;
16541 char *kwnames[] = {
16542 (char *) "self", NULL
16543 };
16544
16545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageList_GetImageCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
16546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16548 {
16549 PyThreadState* __tstate = wxPyBeginAllowThreads();
16550 result = (int)(arg1)->GetImageCount();
16551
16552 wxPyEndAllowThreads(__tstate);
16553 if (PyErr_Occurred()) SWIG_fail;
16554 }
c32bde28 16555 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16556 return resultobj;
16557 fail:
16558 return NULL;
16559}
16560
16561
c32bde28 16562static PyObject *_wrap_ImageList_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16563 PyObject *resultobj;
16564 wxImageList *arg1 = (wxImageList *) 0 ;
16565 int arg2 ;
16566 bool result;
16567 PyObject * obj0 = 0 ;
994141e6 16568 PyObject * obj1 = 0 ;
d14a1e28
RD
16569 char *kwnames[] = {
16570 (char *) "self",(char *) "index", NULL
16571 };
16572
994141e6 16573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageList_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16576 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 16577 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16578 {
16579 PyThreadState* __tstate = wxPyBeginAllowThreads();
16580 result = (bool)(arg1)->Remove(arg2);
16581
16582 wxPyEndAllowThreads(__tstate);
16583 if (PyErr_Occurred()) SWIG_fail;
16584 }
4f89f6a3
RD
16585 {
16586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16587 }
d14a1e28
RD
16588 return resultobj;
16589 fail:
16590 return NULL;
16591}
16592
16593
c32bde28 16594static PyObject *_wrap_ImageList_RemoveAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16595 PyObject *resultobj;
16596 wxImageList *arg1 = (wxImageList *) 0 ;
16597 bool result;
16598 PyObject * obj0 = 0 ;
16599 char *kwnames[] = {
16600 (char *) "self", NULL
16601 };
16602
16603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageList_RemoveAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
16604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16606 {
16607 PyThreadState* __tstate = wxPyBeginAllowThreads();
16608 result = (bool)(arg1)->RemoveAll();
16609
16610 wxPyEndAllowThreads(__tstate);
16611 if (PyErr_Occurred()) SWIG_fail;
16612 }
4f89f6a3
RD
16613 {
16614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16615 }
d14a1e28
RD
16616 return resultobj;
16617 fail:
16618 return NULL;
16619}
16620
16621
c32bde28 16622static PyObject *_wrap_ImageList_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16623 PyObject *resultobj;
16624 wxImageList *arg1 = (wxImageList *) 0 ;
16625 int arg2 ;
16626 int *arg3 = 0 ;
16627 int *arg4 = 0 ;
16628 int temp3 ;
c32bde28 16629 int res3 = 0 ;
d14a1e28 16630 int temp4 ;
c32bde28 16631 int res4 = 0 ;
d14a1e28 16632 PyObject * obj0 = 0 ;
994141e6 16633 PyObject * obj1 = 0 ;
d14a1e28
RD
16634 char *kwnames[] = {
16635 (char *) "self",(char *) "index", NULL
16636 };
16637
c32bde28
RD
16638 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16639 arg4 = &temp4; res4 = SWIG_NEWOBJ;
994141e6 16640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageList_GetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16643 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 16644 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16645 {
16646 PyThreadState* __tstate = wxPyBeginAllowThreads();
16647 (arg1)->GetSize(arg2,*arg3,*arg4);
16648
16649 wxPyEndAllowThreads(__tstate);
16650 if (PyErr_Occurred()) SWIG_fail;
16651 }
16652 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16653 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16654 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16655 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
16656 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
d14a1e28
RD
16657 return resultobj;
16658 fail:
16659 return NULL;
16660}
16661
16662
c32bde28 16663static PyObject * ImageList_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16664 PyObject *obj;
16665 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16666 SWIG_TypeClientData(SWIGTYPE_p_wxImageList, obj);
16667 Py_INCREF(obj);
16668 return Py_BuildValue((char *)"");
16669}
c32bde28 16670static int _wrap_NORMAL_FONT_set(PyObject *) {
994141e6
RD
16671 PyErr_SetString(PyExc_TypeError,"Variable NORMAL_FONT is read-only.");
16672 return 1;
d14a1e28
RD
16673}
16674
16675
994141e6
RD
16676static PyObject *_wrap_NORMAL_FONT_get() {
16677 PyObject *pyobj;
d14a1e28 16678
15afbcd0 16679 pyobj = SWIG_NewPointerObj((void *)(wxNORMAL_FONT), SWIGTYPE_p_wxFont, 0);
994141e6 16680 return pyobj;
d14a1e28
RD
16681}
16682
16683
c32bde28 16684static int _wrap_SMALL_FONT_set(PyObject *) {
994141e6
RD
16685 PyErr_SetString(PyExc_TypeError,"Variable SMALL_FONT is read-only.");
16686 return 1;
d14a1e28
RD
16687}
16688
16689
994141e6
RD
16690static PyObject *_wrap_SMALL_FONT_get() {
16691 PyObject *pyobj;
d14a1e28 16692
15afbcd0 16693 pyobj = SWIG_NewPointerObj((void *)(wxSMALL_FONT), SWIGTYPE_p_wxFont, 0);
994141e6 16694 return pyobj;
d14a1e28
RD
16695}
16696
16697
c32bde28 16698static int _wrap_ITALIC_FONT_set(PyObject *) {
994141e6
RD
16699 PyErr_SetString(PyExc_TypeError,"Variable ITALIC_FONT is read-only.");
16700 return 1;
d14a1e28 16701}
994141e6
RD
16702
16703
16704static PyObject *_wrap_ITALIC_FONT_get() {
16705 PyObject *pyobj;
d14a1e28 16706
15afbcd0 16707 pyobj = SWIG_NewPointerObj((void *)(wxITALIC_FONT), SWIGTYPE_p_wxFont, 0);
994141e6 16708 return pyobj;
d14a1e28
RD
16709}
16710
16711
c32bde28 16712static int _wrap_SWISS_FONT_set(PyObject *) {
994141e6
RD
16713 PyErr_SetString(PyExc_TypeError,"Variable SWISS_FONT is read-only.");
16714 return 1;
d14a1e28
RD
16715}
16716
16717
994141e6
RD
16718static PyObject *_wrap_SWISS_FONT_get() {
16719 PyObject *pyobj;
d14a1e28 16720
15afbcd0 16721 pyobj = SWIG_NewPointerObj((void *)(wxSWISS_FONT), SWIGTYPE_p_wxFont, 0);
994141e6 16722 return pyobj;
d14a1e28
RD
16723}
16724
16725
c32bde28 16726static int _wrap_RED_PEN_set(PyObject *) {
994141e6
RD
16727 PyErr_SetString(PyExc_TypeError,"Variable RED_PEN is read-only.");
16728 return 1;
16729}
16730
16731
16732static PyObject *_wrap_RED_PEN_get() {
16733 PyObject *pyobj;
d14a1e28 16734
15afbcd0 16735 pyobj = SWIG_NewPointerObj((void *)(wxRED_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16736 return pyobj;
d14a1e28
RD
16737}
16738
16739
c32bde28 16740static int _wrap_CYAN_PEN_set(PyObject *) {
994141e6
RD
16741 PyErr_SetString(PyExc_TypeError,"Variable CYAN_PEN is read-only.");
16742 return 1;
d14a1e28 16743}
994141e6
RD
16744
16745
16746static PyObject *_wrap_CYAN_PEN_get() {
16747 PyObject *pyobj;
d14a1e28 16748
15afbcd0 16749 pyobj = SWIG_NewPointerObj((void *)(wxCYAN_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16750 return pyobj;
d14a1e28
RD
16751}
16752
16753
c32bde28 16754static int _wrap_GREEN_PEN_set(PyObject *) {
994141e6
RD
16755 PyErr_SetString(PyExc_TypeError,"Variable GREEN_PEN is read-only.");
16756 return 1;
16757}
16758
16759
16760static PyObject *_wrap_GREEN_PEN_get() {
16761 PyObject *pyobj;
d14a1e28 16762
15afbcd0 16763 pyobj = SWIG_NewPointerObj((void *)(wxGREEN_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16764 return pyobj;
d14a1e28
RD
16765}
16766
16767
c32bde28 16768static int _wrap_BLACK_PEN_set(PyObject *) {
994141e6
RD
16769 PyErr_SetString(PyExc_TypeError,"Variable BLACK_PEN is read-only.");
16770 return 1;
16771}
16772
16773
16774static PyObject *_wrap_BLACK_PEN_get() {
16775 PyObject *pyobj;
d14a1e28 16776
15afbcd0 16777 pyobj = SWIG_NewPointerObj((void *)(wxBLACK_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16778 return pyobj;
d14a1e28
RD
16779}
16780
16781
c32bde28 16782static int _wrap_WHITE_PEN_set(PyObject *) {
994141e6
RD
16783 PyErr_SetString(PyExc_TypeError,"Variable WHITE_PEN is read-only.");
16784 return 1;
d14a1e28
RD
16785}
16786
16787
994141e6
RD
16788static PyObject *_wrap_WHITE_PEN_get() {
16789 PyObject *pyobj;
d14a1e28 16790
15afbcd0 16791 pyobj = SWIG_NewPointerObj((void *)(wxWHITE_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16792 return pyobj;
d14a1e28
RD
16793}
16794
16795
c32bde28 16796static int _wrap_TRANSPARENT_PEN_set(PyObject *) {
994141e6
RD
16797 PyErr_SetString(PyExc_TypeError,"Variable TRANSPARENT_PEN is read-only.");
16798 return 1;
d14a1e28
RD
16799}
16800
16801
994141e6
RD
16802static PyObject *_wrap_TRANSPARENT_PEN_get() {
16803 PyObject *pyobj;
d14a1e28 16804
15afbcd0 16805 pyobj = SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16806 return pyobj;
d14a1e28
RD
16807}
16808
16809
c32bde28 16810static int _wrap_BLACK_DASHED_PEN_set(PyObject *) {
994141e6
RD
16811 PyErr_SetString(PyExc_TypeError,"Variable BLACK_DASHED_PEN is read-only.");
16812 return 1;
d14a1e28
RD
16813}
16814
16815
994141e6
RD
16816static PyObject *_wrap_BLACK_DASHED_PEN_get() {
16817 PyObject *pyobj;
d14a1e28 16818
15afbcd0 16819 pyobj = SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16820 return pyobj;
d14a1e28
RD
16821}
16822
16823
c32bde28 16824static int _wrap_GREY_PEN_set(PyObject *) {
994141e6
RD
16825 PyErr_SetString(PyExc_TypeError,"Variable GREY_PEN is read-only.");
16826 return 1;
d14a1e28
RD
16827}
16828
16829
994141e6
RD
16830static PyObject *_wrap_GREY_PEN_get() {
16831 PyObject *pyobj;
16832
15afbcd0 16833 pyobj = SWIG_NewPointerObj((void *)(wxGREY_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16834 return pyobj;
d14a1e28 16835}
994141e6
RD
16836
16837
c32bde28 16838static int _wrap_MEDIUM_GREY_PEN_set(PyObject *) {
994141e6 16839 PyErr_SetString(PyExc_TypeError,"Variable MEDIUM_GREY_PEN is read-only.");
d14a1e28
RD
16840 return 1;
16841}
16842
16843
994141e6 16844static PyObject *_wrap_MEDIUM_GREY_PEN_get() {
d14a1e28
RD
16845 PyObject *pyobj;
16846
15afbcd0 16847 pyobj = SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN), SWIGTYPE_p_wxPen, 0);
d14a1e28
RD
16848 return pyobj;
16849}
16850
16851
c32bde28 16852static int _wrap_LIGHT_GREY_PEN_set(PyObject *) {
994141e6 16853 PyErr_SetString(PyExc_TypeError,"Variable LIGHT_GREY_PEN is read-only.");
d14a1e28
RD
16854 return 1;
16855}
16856
16857
994141e6 16858static PyObject *_wrap_LIGHT_GREY_PEN_get() {
d14a1e28
RD
16859 PyObject *pyobj;
16860
15afbcd0 16861 pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN), SWIGTYPE_p_wxPen, 0);
d14a1e28
RD
16862 return pyobj;
16863}
16864
16865
c32bde28 16866static int _wrap_BLUE_BRUSH_set(PyObject *) {
994141e6 16867 PyErr_SetString(PyExc_TypeError,"Variable BLUE_BRUSH is read-only.");
d14a1e28
RD
16868 return 1;
16869}
16870
16871
994141e6 16872static PyObject *_wrap_BLUE_BRUSH_get() {
d14a1e28
RD
16873 PyObject *pyobj;
16874
15afbcd0 16875 pyobj = SWIG_NewPointerObj((void *)(wxBLUE_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16876 return pyobj;
16877}
16878
16879
c32bde28 16880static int _wrap_GREEN_BRUSH_set(PyObject *) {
994141e6 16881 PyErr_SetString(PyExc_TypeError,"Variable GREEN_BRUSH is read-only.");
d14a1e28
RD
16882 return 1;
16883}
16884
16885
994141e6 16886static PyObject *_wrap_GREEN_BRUSH_get() {
d14a1e28
RD
16887 PyObject *pyobj;
16888
15afbcd0 16889 pyobj = SWIG_NewPointerObj((void *)(wxGREEN_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16890 return pyobj;
16891}
16892
16893
c32bde28 16894static int _wrap_WHITE_BRUSH_set(PyObject *) {
994141e6 16895 PyErr_SetString(PyExc_TypeError,"Variable WHITE_BRUSH is read-only.");
d14a1e28
RD
16896 return 1;
16897}
16898
16899
994141e6 16900static PyObject *_wrap_WHITE_BRUSH_get() {
d14a1e28
RD
16901 PyObject *pyobj;
16902
15afbcd0 16903 pyobj = SWIG_NewPointerObj((void *)(wxWHITE_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16904 return pyobj;
16905}
16906
16907
c32bde28 16908static int _wrap_BLACK_BRUSH_set(PyObject *) {
994141e6 16909 PyErr_SetString(PyExc_TypeError,"Variable BLACK_BRUSH is read-only.");
d14a1e28
RD
16910 return 1;
16911}
16912
16913
994141e6 16914static PyObject *_wrap_BLACK_BRUSH_get() {
d14a1e28
RD
16915 PyObject *pyobj;
16916
15afbcd0 16917 pyobj = SWIG_NewPointerObj((void *)(wxBLACK_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16918 return pyobj;
16919}
16920
16921
c32bde28 16922static int _wrap_TRANSPARENT_BRUSH_set(PyObject *) {
994141e6 16923 PyErr_SetString(PyExc_TypeError,"Variable TRANSPARENT_BRUSH is read-only.");
d14a1e28
RD
16924 return 1;
16925}
16926
16927
994141e6 16928static PyObject *_wrap_TRANSPARENT_BRUSH_get() {
d14a1e28
RD
16929 PyObject *pyobj;
16930
15afbcd0 16931 pyobj = SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16932 return pyobj;
16933}
16934
16935
c32bde28 16936static int _wrap_CYAN_BRUSH_set(PyObject *) {
994141e6 16937 PyErr_SetString(PyExc_TypeError,"Variable CYAN_BRUSH is read-only.");
d14a1e28
RD
16938 return 1;
16939}
16940
16941
994141e6 16942static PyObject *_wrap_CYAN_BRUSH_get() {
d14a1e28
RD
16943 PyObject *pyobj;
16944
15afbcd0 16945 pyobj = SWIG_NewPointerObj((void *)(wxCYAN_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16946 return pyobj;
16947}
16948
16949
c32bde28 16950static int _wrap_RED_BRUSH_set(PyObject *) {
994141e6 16951 PyErr_SetString(PyExc_TypeError,"Variable RED_BRUSH is read-only.");
d14a1e28
RD
16952 return 1;
16953}
16954
16955
994141e6 16956static PyObject *_wrap_RED_BRUSH_get() {
d14a1e28
RD
16957 PyObject *pyobj;
16958
15afbcd0 16959 pyobj = SWIG_NewPointerObj((void *)(wxRED_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16960 return pyobj;
16961}
16962
16963
c32bde28 16964static int _wrap_GREY_BRUSH_set(PyObject *) {
994141e6 16965 PyErr_SetString(PyExc_TypeError,"Variable GREY_BRUSH is read-only.");
d14a1e28
RD
16966 return 1;
16967}
16968
16969
994141e6 16970static PyObject *_wrap_GREY_BRUSH_get() {
d14a1e28
RD
16971 PyObject *pyobj;
16972
15afbcd0 16973 pyobj = SWIG_NewPointerObj((void *)(wxGREY_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16974 return pyobj;
16975}
16976
16977
c32bde28 16978static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject *) {
994141e6 16979 PyErr_SetString(PyExc_TypeError,"Variable MEDIUM_GREY_BRUSH is read-only.");
d14a1e28
RD
16980 return 1;
16981}
16982
16983
994141e6 16984static PyObject *_wrap_MEDIUM_GREY_BRUSH_get() {
d14a1e28
RD
16985 PyObject *pyobj;
16986
15afbcd0 16987 pyobj = SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16988 return pyobj;
16989}
16990
16991
c32bde28 16992static int _wrap_LIGHT_GREY_BRUSH_set(PyObject *) {
994141e6 16993 PyErr_SetString(PyExc_TypeError,"Variable LIGHT_GREY_BRUSH is read-only.");
d14a1e28
RD
16994 return 1;
16995}
16996
16997
994141e6 16998static PyObject *_wrap_LIGHT_GREY_BRUSH_get() {
d14a1e28
RD
16999 PyObject *pyobj;
17000
15afbcd0 17001 pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
17002 return pyobj;
17003}
17004
17005
c32bde28 17006static int _wrap_BLACK_set(PyObject *) {
994141e6 17007 PyErr_SetString(PyExc_TypeError,"Variable BLACK is read-only.");
d14a1e28
RD
17008 return 1;
17009}
17010
17011
994141e6 17012static PyObject *_wrap_BLACK_get() {
d14a1e28
RD
17013 PyObject *pyobj;
17014
15afbcd0 17015 pyobj = SWIG_NewPointerObj((void *)(wxBLACK), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
17016 return pyobj;
17017}
17018
17019
c32bde28 17020static int _wrap_WHITE_set(PyObject *) {
994141e6 17021 PyErr_SetString(PyExc_TypeError,"Variable WHITE is read-only.");
d14a1e28
RD
17022 return 1;
17023}
17024
17025
994141e6 17026static PyObject *_wrap_WHITE_get() {
d14a1e28
RD
17027 PyObject *pyobj;
17028
15afbcd0 17029 pyobj = SWIG_NewPointerObj((void *)(wxWHITE), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
17030 return pyobj;
17031}
17032
17033
c32bde28 17034static int _wrap_RED_set(PyObject *) {
994141e6 17035 PyErr_SetString(PyExc_TypeError,"Variable RED is read-only.");
d14a1e28
RD
17036 return 1;
17037}
17038
17039
994141e6 17040static PyObject *_wrap_RED_get() {
d14a1e28
RD
17041 PyObject *pyobj;
17042
15afbcd0 17043 pyobj = SWIG_NewPointerObj((void *)(wxRED), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
17044 return pyobj;
17045}
17046
17047
c32bde28 17048static int _wrap_BLUE_set(PyObject *) {
994141e6 17049 PyErr_SetString(PyExc_TypeError,"Variable BLUE is read-only.");
d14a1e28
RD
17050 return 1;
17051}
17052
17053
994141e6 17054static PyObject *_wrap_BLUE_get() {
d14a1e28
RD
17055 PyObject *pyobj;
17056
15afbcd0 17057 pyobj = SWIG_NewPointerObj((void *)(wxBLUE), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
17058 return pyobj;
17059}
17060
17061
c32bde28 17062static int _wrap_GREEN_set(PyObject *) {
994141e6 17063 PyErr_SetString(PyExc_TypeError,"Variable GREEN is read-only.");
d14a1e28
RD
17064 return 1;
17065}
17066
17067
994141e6 17068static PyObject *_wrap_GREEN_get() {
d14a1e28
RD
17069 PyObject *pyobj;
17070
15afbcd0 17071 pyobj = SWIG_NewPointerObj((void *)(wxGREEN), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
17072 return pyobj;
17073}
17074
17075
c32bde28 17076static int _wrap_CYAN_set(PyObject *) {
994141e6 17077 PyErr_SetString(PyExc_TypeError,"Variable CYAN is read-only.");
d14a1e28
RD
17078 return 1;
17079}
17080
17081
994141e6 17082static PyObject *_wrap_CYAN_get() {
d14a1e28
RD
17083 PyObject *pyobj;
17084
15afbcd0 17085 pyobj = SWIG_NewPointerObj((void *)(wxCYAN), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
17086 return pyobj;
17087}
17088
17089
c32bde28 17090static int _wrap_LIGHT_GREY_set(PyObject *) {
994141e6 17091 PyErr_SetString(PyExc_TypeError,"Variable LIGHT_GREY is read-only.");
d14a1e28
RD
17092 return 1;
17093}
17094
17095
994141e6 17096static PyObject *_wrap_LIGHT_GREY_get() {
d14a1e28
RD
17097 PyObject *pyobj;
17098
15afbcd0 17099 pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
17100 return pyobj;
17101}
17102
17103
c32bde28 17104static int _wrap_STANDARD_CURSOR_set(PyObject *) {
994141e6 17105 PyErr_SetString(PyExc_TypeError,"Variable STANDARD_CURSOR is read-only.");
d14a1e28
RD
17106 return 1;
17107}
17108
17109
994141e6 17110static PyObject *_wrap_STANDARD_CURSOR_get() {
d14a1e28
RD
17111 PyObject *pyobj;
17112
15afbcd0 17113 pyobj = SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR), SWIGTYPE_p_wxCursor, 0);
d14a1e28
RD
17114 return pyobj;
17115}
17116
17117
c32bde28 17118static int _wrap_HOURGLASS_CURSOR_set(PyObject *) {
994141e6 17119 PyErr_SetString(PyExc_TypeError,"Variable HOURGLASS_CURSOR is read-only.");
d14a1e28
RD
17120 return 1;
17121}
17122
17123
994141e6 17124static PyObject *_wrap_HOURGLASS_CURSOR_get() {
d14a1e28
RD
17125 PyObject *pyobj;
17126
15afbcd0 17127 pyobj = SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR), SWIGTYPE_p_wxCursor, 0);
d14a1e28
RD
17128 return pyobj;
17129}
17130
17131
c32bde28 17132static int _wrap_CROSS_CURSOR_set(PyObject *) {
994141e6 17133 PyErr_SetString(PyExc_TypeError,"Variable CROSS_CURSOR is read-only.");
d14a1e28
RD
17134 return 1;
17135}
17136
17137
994141e6 17138static PyObject *_wrap_CROSS_CURSOR_get() {
d14a1e28
RD
17139 PyObject *pyobj;
17140
15afbcd0 17141 pyobj = SWIG_NewPointerObj((void *)(wxCROSS_CURSOR), SWIGTYPE_p_wxCursor, 0);
d14a1e28
RD
17142 return pyobj;
17143}
17144
17145
c32bde28 17146static int _wrap_NullBitmap_set(PyObject *) {
994141e6 17147 PyErr_SetString(PyExc_TypeError,"Variable NullBitmap is read-only.");
d14a1e28
RD
17148 return 1;
17149}
17150
17151
994141e6 17152static PyObject *_wrap_NullBitmap_get() {
d14a1e28
RD
17153 PyObject *pyobj;
17154
15afbcd0 17155 pyobj = SWIG_NewPointerObj((void *)(&wxNullBitmap), SWIGTYPE_p_wxBitmap, 0);
d14a1e28
RD
17156 return pyobj;
17157}
17158
17159
c32bde28 17160static int _wrap_NullIcon_set(PyObject *) {
994141e6 17161 PyErr_SetString(PyExc_TypeError,"Variable NullIcon is read-only.");
d14a1e28
RD
17162 return 1;
17163}
17164
17165
994141e6 17166static PyObject *_wrap_NullIcon_get() {
d14a1e28
RD
17167 PyObject *pyobj;
17168
15afbcd0 17169 pyobj = SWIG_NewPointerObj((void *)(&wxNullIcon), SWIGTYPE_p_wxIcon, 0);
d14a1e28
RD
17170 return pyobj;
17171}
17172
17173
c32bde28 17174static int _wrap_NullCursor_set(PyObject *) {
994141e6 17175 PyErr_SetString(PyExc_TypeError,"Variable NullCursor is read-only.");
d14a1e28
RD
17176 return 1;
17177}
17178
17179
994141e6 17180static PyObject *_wrap_NullCursor_get() {
d14a1e28
RD
17181 PyObject *pyobj;
17182
15afbcd0 17183 pyobj = SWIG_NewPointerObj((void *)(&wxNullCursor), SWIGTYPE_p_wxCursor, 0);
d14a1e28
RD
17184 return pyobj;
17185}
17186
17187
c32bde28 17188static int _wrap_NullPen_set(PyObject *) {
994141e6 17189 PyErr_SetString(PyExc_TypeError,"Variable NullPen is read-only.");
d14a1e28
RD
17190 return 1;
17191}
17192
17193
994141e6 17194static PyObject *_wrap_NullPen_get() {
d14a1e28
RD
17195 PyObject *pyobj;
17196
15afbcd0 17197 pyobj = SWIG_NewPointerObj((void *)(&wxNullPen), SWIGTYPE_p_wxPen, 0);
d14a1e28
RD
17198 return pyobj;
17199}
17200
17201
c32bde28 17202static int _wrap_NullBrush_set(PyObject *) {
994141e6 17203 PyErr_SetString(PyExc_TypeError,"Variable NullBrush is read-only.");
d14a1e28
RD
17204 return 1;
17205}
17206
17207
994141e6 17208static PyObject *_wrap_NullBrush_get() {
d14a1e28
RD
17209 PyObject *pyobj;
17210
15afbcd0 17211 pyobj = SWIG_NewPointerObj((void *)(&wxNullBrush), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
17212 return pyobj;
17213}
17214
17215
c32bde28 17216static int _wrap_NullPalette_set(PyObject *) {
994141e6 17217 PyErr_SetString(PyExc_TypeError,"Variable NullPalette is read-only.");
d14a1e28
RD
17218 return 1;
17219}
17220
17221
994141e6 17222static PyObject *_wrap_NullPalette_get() {
d14a1e28
RD
17223 PyObject *pyobj;
17224
15afbcd0 17225 pyobj = SWIG_NewPointerObj((void *)(&wxNullPalette), SWIGTYPE_p_wxPalette, 0);
d14a1e28
RD
17226 return pyobj;
17227}
17228
17229
c32bde28 17230static int _wrap_NullFont_set(PyObject *) {
994141e6 17231 PyErr_SetString(PyExc_TypeError,"Variable NullFont is read-only.");
d14a1e28
RD
17232 return 1;
17233}
17234
17235
994141e6 17236static PyObject *_wrap_NullFont_get() {
d14a1e28
RD
17237 PyObject *pyobj;
17238
15afbcd0 17239 pyobj = SWIG_NewPointerObj((void *)(&wxNullFont), SWIGTYPE_p_wxFont, 0);
d14a1e28
RD
17240 return pyobj;
17241}
17242
17243
c32bde28 17244static int _wrap_NullColour_set(PyObject *) {
994141e6 17245 PyErr_SetString(PyExc_TypeError,"Variable NullColour is read-only.");
d14a1e28
RD
17246 return 1;
17247}
17248
17249
994141e6 17250static PyObject *_wrap_NullColour_get() {
d14a1e28
RD
17251 PyObject *pyobj;
17252
15afbcd0 17253 pyobj = SWIG_NewPointerObj((void *)(&wxNullColour), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
17254 return pyobj;
17255}
17256
17257
c32bde28 17258static PyObject *_wrap_PenList_AddPen(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17259 PyObject *resultobj;
17260 wxPenList *arg1 = (wxPenList *) 0 ;
17261 wxPen *arg2 = (wxPen *) 0 ;
17262 PyObject * obj0 = 0 ;
17263 PyObject * obj1 = 0 ;
17264 char *kwnames[] = {
17265 (char *) "self",(char *) "pen", NULL
17266 };
17267
17268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PenList_AddPen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPenList,
17270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17271 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPen,
17272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17273 {
17274 PyThreadState* __tstate = wxPyBeginAllowThreads();
17275 (arg1)->AddPen(arg2);
17276
17277 wxPyEndAllowThreads(__tstate);
17278 if (PyErr_Occurred()) SWIG_fail;
17279 }
17280 Py_INCREF(Py_None); resultobj = Py_None;
17281 return resultobj;
17282 fail:
17283 return NULL;
d14a1e28
RD
17284}
17285
17286
c32bde28 17287static PyObject *_wrap_PenList_FindOrCreatePen(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17288 PyObject *resultobj;
17289 wxPenList *arg1 = (wxPenList *) 0 ;
17290 wxColour *arg2 = 0 ;
17291 int arg3 ;
17292 int arg4 ;
17293 wxPen *result;
17294 wxColour temp2 ;
17295 PyObject * obj0 = 0 ;
17296 PyObject * obj1 = 0 ;
17297 PyObject * obj2 = 0 ;
17298 PyObject * obj3 = 0 ;
17299 char *kwnames[] = {
17300 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17301 };
d14a1e28 17302
994141e6 17303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PenList_FindOrCreatePen",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
17304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPenList,
17305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17306 {
17307 arg2 = &temp2;
17308 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17309 }
c32bde28 17310 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 17311 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17312 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 17313 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17314 {
17315 PyThreadState* __tstate = wxPyBeginAllowThreads();
17316 result = (wxPen *)(arg1)->FindOrCreatePen((wxColour const &)*arg2,arg3,arg4);
17317
17318 wxPyEndAllowThreads(__tstate);
17319 if (PyErr_Occurred()) SWIG_fail;
17320 }
15afbcd0 17321 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
994141e6
RD
17322 return resultobj;
17323 fail:
17324 return NULL;
d14a1e28
RD
17325}
17326
17327
c32bde28 17328static PyObject *_wrap_PenList_RemovePen(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17329 PyObject *resultobj;
17330 wxPenList *arg1 = (wxPenList *) 0 ;
17331 wxPen *arg2 = (wxPen *) 0 ;
17332 PyObject * obj0 = 0 ;
17333 PyObject * obj1 = 0 ;
17334 char *kwnames[] = {
17335 (char *) "self",(char *) "pen", NULL
17336 };
17337
17338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PenList_RemovePen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPenList,
17340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17341 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPen,
17342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17343 {
17344 PyThreadState* __tstate = wxPyBeginAllowThreads();
17345 (arg1)->RemovePen(arg2);
17346
17347 wxPyEndAllowThreads(__tstate);
17348 if (PyErr_Occurred()) SWIG_fail;
17349 }
17350 Py_INCREF(Py_None); resultobj = Py_None;
17351 return resultobj;
17352 fail:
17353 return NULL;
d14a1e28
RD
17354}
17355
17356
c32bde28 17357static PyObject *_wrap_PenList_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17358 PyObject *resultobj;
17359 wxPenList *arg1 = (wxPenList *) 0 ;
17360 int result;
17361 PyObject * obj0 = 0 ;
17362 char *kwnames[] = {
17363 (char *) "self", NULL
17364 };
d14a1e28 17365
994141e6 17366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PenList_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
17367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPenList,
17368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17369 {
17370 PyThreadState* __tstate = wxPyBeginAllowThreads();
17371 result = (int)(arg1)->GetCount();
17372
17373 wxPyEndAllowThreads(__tstate);
17374 if (PyErr_Occurred()) SWIG_fail;
17375 }
c32bde28 17376 resultobj = SWIG_From_int((int)result);
994141e6
RD
17377 return resultobj;
17378 fail:
17379 return NULL;
d14a1e28
RD
17380}
17381
17382
c32bde28 17383static PyObject * PenList_swigregister(PyObject *, PyObject *args) {
994141e6
RD
17384 PyObject *obj;
17385 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17386 SWIG_TypeClientData(SWIGTYPE_p_wxPenList, obj);
17387 Py_INCREF(obj);
17388 return Py_BuildValue((char *)"");
17389}
c32bde28 17390static PyObject *_wrap_BrushList_AddBrush(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17391 PyObject *resultobj;
17392 wxBrushList *arg1 = (wxBrushList *) 0 ;
17393 wxBrush *arg2 = (wxBrush *) 0 ;
17394 PyObject * obj0 = 0 ;
17395 PyObject * obj1 = 0 ;
17396 char *kwnames[] = {
17397 (char *) "self",(char *) "brush", NULL
17398 };
17399
17400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BrushList_AddBrush",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrushList,
17402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17403 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBrush,
17404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17405 {
17406 PyThreadState* __tstate = wxPyBeginAllowThreads();
17407 (arg1)->AddBrush(arg2);
17408
17409 wxPyEndAllowThreads(__tstate);
17410 if (PyErr_Occurred()) SWIG_fail;
17411 }
17412 Py_INCREF(Py_None); resultobj = Py_None;
17413 return resultobj;
17414 fail:
17415 return NULL;
17416}
17417
17418
c32bde28 17419static PyObject *_wrap_BrushList_FindOrCreateBrush(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17420 PyObject *resultobj;
17421 wxBrushList *arg1 = (wxBrushList *) 0 ;
17422 wxColour *arg2 = 0 ;
17423 int arg3 ;
17424 wxBrush *result;
17425 wxColour temp2 ;
17426 PyObject * obj0 = 0 ;
17427 PyObject * obj1 = 0 ;
17428 PyObject * obj2 = 0 ;
17429 char *kwnames[] = {
17430 (char *) "self",(char *) "colour",(char *) "style", NULL
17431 };
17432
17433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrushList,
17435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17436 {
17437 arg2 = &temp2;
17438 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17439 }
c32bde28 17440 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 17441 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17442 {
17443 PyThreadState* __tstate = wxPyBeginAllowThreads();
17444 result = (wxBrush *)(arg1)->FindOrCreateBrush((wxColour const &)*arg2,arg3);
17445
17446 wxPyEndAllowThreads(__tstate);
17447 if (PyErr_Occurred()) SWIG_fail;
17448 }
15afbcd0 17449 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 0);
994141e6
RD
17450 return resultobj;
17451 fail:
17452 return NULL;
d14a1e28
RD
17453}
17454
17455
c32bde28 17456static PyObject *_wrap_BrushList_RemoveBrush(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17457 PyObject *resultobj;
17458 wxBrushList *arg1 = (wxBrushList *) 0 ;
17459 wxBrush *arg2 = (wxBrush *) 0 ;
17460 PyObject * obj0 = 0 ;
17461 PyObject * obj1 = 0 ;
17462 char *kwnames[] = {
17463 (char *) "self",(char *) "brush", NULL
17464 };
d14a1e28 17465
994141e6 17466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BrushList_RemoveBrush",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrushList,
17468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17469 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBrush,
17470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17471 {
17472 PyThreadState* __tstate = wxPyBeginAllowThreads();
17473 (arg1)->RemoveBrush(arg2);
17474
17475 wxPyEndAllowThreads(__tstate);
17476 if (PyErr_Occurred()) SWIG_fail;
17477 }
17478 Py_INCREF(Py_None); resultobj = Py_None;
17479 return resultobj;
17480 fail:
17481 return NULL;
d14a1e28
RD
17482}
17483
17484
c32bde28 17485static PyObject *_wrap_BrushList_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17486 PyObject *resultobj;
17487 wxBrushList *arg1 = (wxBrushList *) 0 ;
17488 int result;
17489 PyObject * obj0 = 0 ;
17490 char *kwnames[] = {
17491 (char *) "self", NULL
17492 };
d14a1e28 17493
994141e6 17494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BrushList_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
17495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrushList,
17496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17497 {
17498 PyThreadState* __tstate = wxPyBeginAllowThreads();
17499 result = (int)(arg1)->GetCount();
17500
17501 wxPyEndAllowThreads(__tstate);
17502 if (PyErr_Occurred()) SWIG_fail;
17503 }
c32bde28 17504 resultobj = SWIG_From_int((int)result);
994141e6
RD
17505 return resultobj;
17506 fail:
17507 return NULL;
d14a1e28
RD
17508}
17509
17510
c32bde28 17511static PyObject * BrushList_swigregister(PyObject *, PyObject *args) {
994141e6
RD
17512 PyObject *obj;
17513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17514 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList, obj);
17515 Py_INCREF(obj);
17516 return Py_BuildValue((char *)"");
d14a1e28 17517}
c32bde28 17518static PyObject *_wrap_new_ColourDatabase(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17519 PyObject *resultobj;
17520 wxColourDatabase *result;
17521 char *kwnames[] = {
17522 NULL
17523 };
d14a1e28 17524
994141e6
RD
17525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourDatabase",kwnames)) goto fail;
17526 {
e3b71cb8 17527 if (!wxPyCheckForApp()) SWIG_fail;
994141e6
RD
17528 PyThreadState* __tstate = wxPyBeginAllowThreads();
17529 result = (wxColourDatabase *)new wxColourDatabase();
17530
17531 wxPyEndAllowThreads(__tstate);
110da5b0 17532 if (PyErr_Occurred()) SWIG_fail;
994141e6 17533 }
15afbcd0 17534 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDatabase, 1);
994141e6
RD
17535 return resultobj;
17536 fail:
17537 return NULL;
d14a1e28
RD
17538}
17539
17540
c32bde28 17541static PyObject *_wrap_delete_ColourDatabase(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17542 PyObject *resultobj;
17543 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
17544 PyObject * obj0 = 0 ;
17545 char *kwnames[] = {
17546 (char *) "self", NULL
17547 };
d14a1e28 17548
994141e6 17549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourDatabase",kwnames,&obj0)) goto fail;
15afbcd0
RD
17550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDatabase,
17551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17552 {
17553 PyThreadState* __tstate = wxPyBeginAllowThreads();
17554 delete arg1;
17555
17556 wxPyEndAllowThreads(__tstate);
17557 if (PyErr_Occurred()) SWIG_fail;
17558 }
17559 Py_INCREF(Py_None); resultobj = Py_None;
17560 return resultobj;
17561 fail:
17562 return NULL;
d14a1e28
RD
17563}
17564
17565
c32bde28 17566static PyObject *_wrap_ColourDatabase_Find(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17567 PyObject *resultobj;
17568 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
17569 wxString *arg2 = 0 ;
17570 wxColour result;
ae8162c8 17571 bool temp2 = false ;
994141e6
RD
17572 PyObject * obj0 = 0 ;
17573 PyObject * obj1 = 0 ;
17574 char *kwnames[] = {
17575 (char *) "self",(char *) "name", NULL
17576 };
17577
17578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourDatabase_Find",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDatabase,
17580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17581 {
17582 arg2 = wxString_in_helper(obj1);
17583 if (arg2 == NULL) SWIG_fail;
ae8162c8 17584 temp2 = true;
994141e6
RD
17585 }
17586 {
17587 PyThreadState* __tstate = wxPyBeginAllowThreads();
17588 result = ((wxColourDatabase const *)arg1)->Find((wxString const &)*arg2);
17589
17590 wxPyEndAllowThreads(__tstate);
17591 if (PyErr_Occurred()) SWIG_fail;
17592 }
17593 {
17594 wxColour * resultptr;
17595 resultptr = new wxColour((wxColour &) result);
15afbcd0 17596 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
994141e6
RD
17597 }
17598 {
17599 if (temp2)
17600 delete arg2;
17601 }
17602 return resultobj;
17603 fail:
17604 {
17605 if (temp2)
17606 delete arg2;
17607 }
17608 return NULL;
d14a1e28
RD
17609}
17610
17611
c32bde28 17612static PyObject *_wrap_ColourDatabase_FindName(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17613 PyObject *resultobj;
17614 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
17615 wxColour *arg2 = 0 ;
17616 wxString result;
17617 wxColour temp2 ;
17618 PyObject * obj0 = 0 ;
17619 PyObject * obj1 = 0 ;
17620 char *kwnames[] = {
17621 (char *) "self",(char *) "colour", NULL
17622 };
d14a1e28 17623
994141e6 17624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourDatabase_FindName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDatabase,
17626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17627 {
17628 arg2 = &temp2;
17629 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17630 }
17631 {
17632 PyThreadState* __tstate = wxPyBeginAllowThreads();
17633 result = ((wxColourDatabase const *)arg1)->FindName((wxColour const &)*arg2);
17634
17635 wxPyEndAllowThreads(__tstate);
17636 if (PyErr_Occurred()) SWIG_fail;
17637 }
17638 {
17639#if wxUSE_UNICODE
17640 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17641#else
17642 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17643#endif
17644 }
17645 return resultobj;
17646 fail:
17647 return NULL;
d14a1e28
RD
17648}
17649
17650
c32bde28 17651static PyObject *_wrap_ColourDatabase_AddColour(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17652 PyObject *resultobj;
17653 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
17654 wxString *arg2 = 0 ;
17655 wxColour *arg3 = 0 ;
ae8162c8 17656 bool temp2 = false ;
994141e6
RD
17657 wxColour temp3 ;
17658 PyObject * obj0 = 0 ;
17659 PyObject * obj1 = 0 ;
17660 PyObject * obj2 = 0 ;
17661 char *kwnames[] = {
17662 (char *) "self",(char *) "name",(char *) "colour", NULL
17663 };
17664
17665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourDatabase_AddColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDatabase,
17667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17668 {
17669 arg2 = wxString_in_helper(obj1);
17670 if (arg2 == NULL) SWIG_fail;
ae8162c8 17671 temp2 = true;
994141e6
RD
17672 }
17673 {
17674 arg3 = &temp3;
17675 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
17676 }
17677 {
17678 PyThreadState* __tstate = wxPyBeginAllowThreads();
17679 (arg1)->AddColour((wxString const &)*arg2,(wxColour const &)*arg3);
17680
17681 wxPyEndAllowThreads(__tstate);
17682 if (PyErr_Occurred()) SWIG_fail;
17683 }
17684 Py_INCREF(Py_None); resultobj = Py_None;
17685 {
17686 if (temp2)
17687 delete arg2;
17688 }
17689 return resultobj;
17690 fail:
17691 {
17692 if (temp2)
17693 delete arg2;
17694 }
17695 return NULL;
d14a1e28
RD
17696}
17697
17698
c32bde28 17699static PyObject *_wrap_ColourDatabase_Append(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17700 PyObject *resultobj;
17701 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
17702 wxString *arg2 = 0 ;
17703 int arg3 ;
17704 int arg4 ;
17705 int arg5 ;
ae8162c8 17706 bool temp2 = false ;
994141e6
RD
17707 PyObject * obj0 = 0 ;
17708 PyObject * obj1 = 0 ;
17709 PyObject * obj2 = 0 ;
17710 PyObject * obj3 = 0 ;
17711 PyObject * obj4 = 0 ;
17712 char *kwnames[] = {
17713 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17714 };
d14a1e28 17715
994141e6 17716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:ColourDatabase_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
17717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDatabase,
17718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17719 {
17720 arg2 = wxString_in_helper(obj1);
17721 if (arg2 == NULL) SWIG_fail;
ae8162c8 17722 temp2 = true;
994141e6 17723 }
c32bde28 17724 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 17725 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17726 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 17727 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17728 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 17729 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17730 {
17731 PyThreadState* __tstate = wxPyBeginAllowThreads();
17732 wxColourDatabase_Append(arg1,(wxString const &)*arg2,arg3,arg4,arg5);
17733
17734 wxPyEndAllowThreads(__tstate);
17735 if (PyErr_Occurred()) SWIG_fail;
17736 }
17737 Py_INCREF(Py_None); resultobj = Py_None;
17738 {
17739 if (temp2)
17740 delete arg2;
17741 }
17742 return resultobj;
17743 fail:
17744 {
17745 if (temp2)
17746 delete arg2;
17747 }
17748 return NULL;
d14a1e28
RD
17749}
17750
17751
c32bde28 17752static PyObject * ColourDatabase_swigregister(PyObject *, PyObject *args) {
994141e6
RD
17753 PyObject *obj;
17754 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17755 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase, obj);
17756 Py_INCREF(obj);
17757 return Py_BuildValue((char *)"");
d14a1e28 17758}
c32bde28 17759static PyObject *_wrap_FontList_AddFont(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17760 PyObject *resultobj;
17761 wxFontList *arg1 = (wxFontList *) 0 ;
17762 wxFont *arg2 = (wxFont *) 0 ;
17763 PyObject * obj0 = 0 ;
17764 PyObject * obj1 = 0 ;
17765 char *kwnames[] = {
17766 (char *) "self",(char *) "font", NULL
17767 };
d14a1e28 17768
994141e6 17769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontList_AddFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontList,
17771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17772 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
17773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17774 {
17775 PyThreadState* __tstate = wxPyBeginAllowThreads();
17776 (arg1)->AddFont(arg2);
17777
17778 wxPyEndAllowThreads(__tstate);
17779 if (PyErr_Occurred()) SWIG_fail;
17780 }
17781 Py_INCREF(Py_None); resultobj = Py_None;
17782 return resultobj;
17783 fail:
17784 return NULL;
d14a1e28
RD
17785}
17786
17787
c32bde28 17788static PyObject *_wrap_FontList_FindOrCreateFont(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17789 PyObject *resultobj;
17790 wxFontList *arg1 = (wxFontList *) 0 ;
17791 int arg2 ;
17792 int arg3 ;
17793 int arg4 ;
17794 int arg5 ;
ae8162c8 17795 bool arg6 = (bool) false ;
994141e6
RD
17796 wxString const &arg7_defvalue = wxPyEmptyString ;
17797 wxString *arg7 = (wxString *) &arg7_defvalue ;
17798 int arg8 = (int) wxFONTENCODING_DEFAULT ;
17799 wxFont *result;
ae8162c8 17800 bool temp7 = false ;
994141e6
RD
17801 PyObject * obj0 = 0 ;
17802 PyObject * obj1 = 0 ;
17803 PyObject * obj2 = 0 ;
17804 PyObject * obj3 = 0 ;
17805 PyObject * obj4 = 0 ;
17806 PyObject * obj5 = 0 ;
17807 PyObject * obj6 = 0 ;
17808 PyObject * obj7 = 0 ;
17809 char *kwnames[] = {
17810 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17811 };
d14a1e28 17812
994141e6 17813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
17814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontList,
17815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17816 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 17817 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17818 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 17819 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17820 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 17821 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17822 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 17823 if (PyErr_Occurred()) SWIG_fail;
994141e6 17824 if (obj5) {
c32bde28 17825 arg6 = (bool)SWIG_As_bool(obj5);
15afbcd0 17826 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17827 }
17828 if (obj6) {
17829 {
17830 arg7 = wxString_in_helper(obj6);
17831 if (arg7 == NULL) SWIG_fail;
ae8162c8 17832 temp7 = true;
994141e6
RD
17833 }
17834 }
17835 if (obj7) {
c32bde28 17836 arg8 = (int)SWIG_As_int(obj7);
15afbcd0 17837 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17838 }
17839 {
17840 PyThreadState* __tstate = wxPyBeginAllowThreads();
17841 result = (wxFont *)(arg1)->FindOrCreateFont(arg2,arg3,arg4,arg5,arg6,(wxString const &)*arg7,(wxFontEncoding )arg8);
17842
17843 wxPyEndAllowThreads(__tstate);
17844 if (PyErr_Occurred()) SWIG_fail;
17845 }
15afbcd0 17846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
994141e6
RD
17847 {
17848 if (temp7)
17849 delete arg7;
17850 }
17851 return resultobj;
17852 fail:
17853 {
17854 if (temp7)
17855 delete arg7;
17856 }
17857 return NULL;
d14a1e28
RD
17858}
17859
17860
c32bde28 17861static PyObject *_wrap_FontList_RemoveFont(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17862 PyObject *resultobj;
17863 wxFontList *arg1 = (wxFontList *) 0 ;
17864 wxFont *arg2 = (wxFont *) 0 ;
17865 PyObject * obj0 = 0 ;
17866 PyObject * obj1 = 0 ;
17867 char *kwnames[] = {
17868 (char *) "self",(char *) "font", NULL
17869 };
d14a1e28 17870
994141e6 17871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontList_RemoveFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontList,
17873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17874 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
17875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17876 {
17877 PyThreadState* __tstate = wxPyBeginAllowThreads();
17878 (arg1)->RemoveFont(arg2);
17879
17880 wxPyEndAllowThreads(__tstate);
17881 if (PyErr_Occurred()) SWIG_fail;
17882 }
17883 Py_INCREF(Py_None); resultobj = Py_None;
17884 return resultobj;
17885 fail:
17886 return NULL;
d14a1e28
RD
17887}
17888
17889
c32bde28 17890static PyObject *_wrap_FontList_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
17891 PyObject *resultobj;
17892 wxFontList *arg1 = (wxFontList *) 0 ;
17893 int result;
17894 PyObject * obj0 = 0 ;
17895 char *kwnames[] = {
17896 (char *) "self", NULL
17897 };
d14a1e28 17898
994141e6 17899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontList_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
17900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontList,
17901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17902 {
17903 PyThreadState* __tstate = wxPyBeginAllowThreads();
17904 result = (int)(arg1)->GetCount();
17905
17906 wxPyEndAllowThreads(__tstate);
17907 if (PyErr_Occurred()) SWIG_fail;
17908 }
c32bde28 17909 resultobj = SWIG_From_int((int)result);
994141e6
RD
17910 return resultobj;
17911 fail:
17912 return NULL;
d14a1e28
RD
17913}
17914
17915
c32bde28 17916static PyObject * FontList_swigregister(PyObject *, PyObject *args) {
994141e6
RD
17917 PyObject *obj;
17918 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17919 SWIG_TypeClientData(SWIGTYPE_p_wxFontList, obj);
17920 Py_INCREF(obj);
17921 return Py_BuildValue((char *)"");
17922}
c32bde28 17923static int _wrap_TheFontList_set(PyObject *) {
d14a1e28
RD
17924 PyErr_SetString(PyExc_TypeError,"Variable TheFontList is read-only.");
17925 return 1;
17926}
17927
17928
17929static PyObject *_wrap_TheFontList_get() {
17930 PyObject *pyobj;
17931
15afbcd0 17932 pyobj = SWIG_NewPointerObj((void *)(wxTheFontList), SWIGTYPE_p_wxFontList, 0);
d14a1e28
RD
17933 return pyobj;
17934}
17935
17936
c32bde28 17937static int _wrap_ThePenList_set(PyObject *) {
d14a1e28
RD
17938 PyErr_SetString(PyExc_TypeError,"Variable ThePenList is read-only.");
17939 return 1;
17940}
17941
17942
17943static PyObject *_wrap_ThePenList_get() {
17944 PyObject *pyobj;
17945
15afbcd0 17946 pyobj = SWIG_NewPointerObj((void *)(wxThePenList), SWIGTYPE_p_wxPenList, 0);
d14a1e28
RD
17947 return pyobj;
17948}
17949
17950
c32bde28 17951static int _wrap_TheBrushList_set(PyObject *) {
d14a1e28
RD
17952 PyErr_SetString(PyExc_TypeError,"Variable TheBrushList is read-only.");
17953 return 1;
17954}
17955
17956
17957static PyObject *_wrap_TheBrushList_get() {
17958 PyObject *pyobj;
17959
15afbcd0 17960 pyobj = SWIG_NewPointerObj((void *)(wxTheBrushList), SWIGTYPE_p_wxBrushList, 0);
d14a1e28
RD
17961 return pyobj;
17962}
17963
17964
c32bde28 17965static int _wrap_TheColourDatabase_set(PyObject *) {
d14a1e28
RD
17966 PyErr_SetString(PyExc_TypeError,"Variable TheColourDatabase is read-only.");
17967 return 1;
17968}
17969
17970
17971static PyObject *_wrap_TheColourDatabase_get() {
17972 PyObject *pyobj;
17973
15afbcd0 17974 pyobj = SWIG_NewPointerObj((void *)(wxTheColourDatabase), SWIGTYPE_p_wxColourDatabase, 0);
d14a1e28
RD
17975 return pyobj;
17976}
17977
17978
c32bde28 17979static PyObject *_wrap_new_Effects(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17980 PyObject *resultobj;
e811c8ce 17981 wxEffects *result;
d14a1e28 17982 char *kwnames[] = {
e811c8ce 17983 NULL
d14a1e28
RD
17984 };
17985
e811c8ce 17986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Effects",kwnames)) goto fail;
d14a1e28
RD
17987 {
17988 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 17989 result = (wxEffects *)new wxEffects();
d14a1e28
RD
17990
17991 wxPyEndAllowThreads(__tstate);
17992 if (PyErr_Occurred()) SWIG_fail;
17993 }
15afbcd0 17994 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEffects, 1);
d14a1e28
RD
17995 return resultobj;
17996 fail:
17997 return NULL;
17998}
17999
18000
c32bde28 18001static PyObject *_wrap_Effects_GetHighlightColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 18002 PyObject *resultobj;
e811c8ce
RD
18003 wxEffects *arg1 = (wxEffects *) 0 ;
18004 wxColour result;
d14a1e28 18005 PyObject * obj0 = 0 ;
d14a1e28 18006 char *kwnames[] = {
e811c8ce 18007 (char *) "self", NULL
d14a1e28
RD
18008 };
18009
e811c8ce 18010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetHighlightColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
18011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
18012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18013 {
18014 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 18015 result = ((wxEffects const *)arg1)->GetHighlightColour();
d14a1e28
RD
18016
18017 wxPyEndAllowThreads(__tstate);
18018 if (PyErr_Occurred()) SWIG_fail;
18019 }
e811c8ce
RD
18020 {
18021 wxColour * resultptr;
18022 resultptr = new wxColour((wxColour &) result);
15afbcd0 18023 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
e811c8ce 18024 }
d14a1e28
RD
18025 return resultobj;
18026 fail:
18027 return NULL;
18028}
18029
18030
c32bde28 18031static PyObject *_wrap_Effects_GetLightShadow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 18032 PyObject *resultobj;
e811c8ce
RD
18033 wxEffects *arg1 = (wxEffects *) 0 ;
18034 wxColour result;
d14a1e28 18035 PyObject * obj0 = 0 ;
d14a1e28 18036 char *kwnames[] = {
e811c8ce 18037 (char *) "self", NULL
d14a1e28
RD
18038 };
18039
e811c8ce 18040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetLightShadow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
18042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18043 {
18044 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 18045 result = ((wxEffects const *)arg1)->GetLightShadow();
d14a1e28
RD
18046
18047 wxPyEndAllowThreads(__tstate);
18048 if (PyErr_Occurred()) SWIG_fail;
18049 }
d14a1e28 18050 {
e811c8ce
RD
18051 wxColour * resultptr;
18052 resultptr = new wxColour((wxColour &) result);
15afbcd0 18053 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
18054 }
18055 return resultobj;
18056 fail:
d14a1e28
RD
18057 return NULL;
18058}
18059
18060
c32bde28 18061static PyObject *_wrap_Effects_GetFaceColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 18062 PyObject *resultobj;
e811c8ce
RD
18063 wxEffects *arg1 = (wxEffects *) 0 ;
18064 wxColour result;
d14a1e28 18065 PyObject * obj0 = 0 ;
d14a1e28 18066 char *kwnames[] = {
e811c8ce 18067 (char *) "self", NULL
d14a1e28
RD
18068 };
18069
e811c8ce 18070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetFaceColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
18071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
18072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18073 {
18074 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 18075 result = ((wxEffects const *)arg1)->GetFaceColour();
d14a1e28
RD
18076
18077 wxPyEndAllowThreads(__tstate);
18078 if (PyErr_Occurred()) SWIG_fail;
18079 }
e811c8ce
RD
18080 {
18081 wxColour * resultptr;
18082 resultptr = new wxColour((wxColour &) result);
15afbcd0 18083 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
e811c8ce 18084 }
d14a1e28
RD
18085 return resultobj;
18086 fail:
18087 return NULL;
18088}
18089
18090
c32bde28 18091static PyObject *_wrap_Effects_GetMediumShadow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 18092 PyObject *resultobj;
e811c8ce
RD
18093 wxEffects *arg1 = (wxEffects *) 0 ;
18094 wxColour result;
d14a1e28
RD
18095 PyObject * obj0 = 0 ;
18096 char *kwnames[] = {
e811c8ce 18097 (char *) "self", NULL
d14a1e28
RD
18098 };
18099
18100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetMediumShadow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
18102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18103 {
18104 PyThreadState* __tstate = wxPyBeginAllowThreads();
18105 result = ((wxEffects const *)arg1)->GetMediumShadow();
18106
18107 wxPyEndAllowThreads(__tstate);
18108 if (PyErr_Occurred()) SWIG_fail;
18109 }
18110 {
18111 wxColour * resultptr;
18112 resultptr = new wxColour((wxColour &) result);
15afbcd0 18113 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
18114 }
18115 return resultobj;
18116 fail:
18117 return NULL;
18118}
18119
18120
c32bde28 18121static PyObject *_wrap_Effects_GetDarkShadow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18122 PyObject *resultobj;
18123 wxEffects *arg1 = (wxEffects *) 0 ;
18124 wxColour result;
18125 PyObject * obj0 = 0 ;
18126 char *kwnames[] = {
18127 (char *) "self", NULL
18128 };
18129
18130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetDarkShadow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
18132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18133 {
18134 PyThreadState* __tstate = wxPyBeginAllowThreads();
18135 result = ((wxEffects const *)arg1)->GetDarkShadow();
18136
18137 wxPyEndAllowThreads(__tstate);
18138 if (PyErr_Occurred()) SWIG_fail;
18139 }
18140 {
18141 wxColour * resultptr;
18142 resultptr = new wxColour((wxColour &) result);
15afbcd0 18143 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
18144 }
18145 return resultobj;
18146 fail:
18147 return NULL;
18148}
18149
18150
c32bde28 18151static PyObject *_wrap_Effects_SetHighlightColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18152 PyObject *resultobj;
18153 wxEffects *arg1 = (wxEffects *) 0 ;
18154 wxColour *arg2 = 0 ;
18155 wxColour temp2 ;
18156 PyObject * obj0 = 0 ;
18157 PyObject * obj1 = 0 ;
18158 char *kwnames[] = {
18159 (char *) "self",(char *) "c", NULL
18160 };
18161
18162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetHighlightColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
18164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18165 {
18166 arg2 = &temp2;
18167 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18168 }
18169 {
18170 PyThreadState* __tstate = wxPyBeginAllowThreads();
18171 (arg1)->SetHighlightColour((wxColour const &)*arg2);
18172
18173 wxPyEndAllowThreads(__tstate);
18174 if (PyErr_Occurred()) SWIG_fail;
18175 }
18176 Py_INCREF(Py_None); resultobj = Py_None;
18177 return resultobj;
18178 fail:
18179 return NULL;
18180}
18181
18182
c32bde28 18183static PyObject *_wrap_Effects_SetLightShadow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18184 PyObject *resultobj;
18185 wxEffects *arg1 = (wxEffects *) 0 ;
18186 wxColour *arg2 = 0 ;
18187 wxColour temp2 ;
18188 PyObject * obj0 = 0 ;
18189 PyObject * obj1 = 0 ;
18190 char *kwnames[] = {
18191 (char *) "self",(char *) "c", NULL
18192 };
18193
18194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetLightShadow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
18196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18197 {
18198 arg2 = &temp2;
18199 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18200 }
18201 {
18202 PyThreadState* __tstate = wxPyBeginAllowThreads();
18203 (arg1)->SetLightShadow((wxColour const &)*arg2);
18204
18205 wxPyEndAllowThreads(__tstate);
18206 if (PyErr_Occurred()) SWIG_fail;
18207 }
18208 Py_INCREF(Py_None); resultobj = Py_None;
18209 return resultobj;
18210 fail:
18211 return NULL;
18212}
18213
18214
c32bde28 18215static PyObject *_wrap_Effects_SetFaceColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18216 PyObject *resultobj;
18217 wxEffects *arg1 = (wxEffects *) 0 ;
18218 wxColour *arg2 = 0 ;
18219 wxColour temp2 ;
18220 PyObject * obj0 = 0 ;
18221 PyObject * obj1 = 0 ;
18222 char *kwnames[] = {
18223 (char *) "self",(char *) "c", NULL
18224 };
18225
18226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetFaceColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
18228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18229 {
18230 arg2 = &temp2;
18231 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18232 }
18233 {
18234 PyThreadState* __tstate = wxPyBeginAllowThreads();
18235 (arg1)->SetFaceColour((wxColour const &)*arg2);
18236
18237 wxPyEndAllowThreads(__tstate);
18238 if (PyErr_Occurred()) SWIG_fail;
18239 }
18240 Py_INCREF(Py_None); resultobj = Py_None;
18241 return resultobj;
18242 fail:
18243 return NULL;
18244}
18245
18246
c32bde28 18247static PyObject *_wrap_Effects_SetMediumShadow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18248 PyObject *resultobj;
18249 wxEffects *arg1 = (wxEffects *) 0 ;
18250 wxColour *arg2 = 0 ;
18251 wxColour temp2 ;
18252 PyObject * obj0 = 0 ;
18253 PyObject * obj1 = 0 ;
18254 char *kwnames[] = {
18255 (char *) "self",(char *) "c", NULL
18256 };
18257
18258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetMediumShadow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
18260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18261 {
18262 arg2 = &temp2;
18263 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18264 }
18265 {
18266 PyThreadState* __tstate = wxPyBeginAllowThreads();
18267 (arg1)->SetMediumShadow((wxColour const &)*arg2);
18268
18269 wxPyEndAllowThreads(__tstate);
18270 if (PyErr_Occurred()) SWIG_fail;
18271 }
18272 Py_INCREF(Py_None); resultobj = Py_None;
18273 return resultobj;
18274 fail:
18275 return NULL;
18276}
18277
18278
c32bde28 18279static PyObject *_wrap_Effects_SetDarkShadow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18280 PyObject *resultobj;
18281 wxEffects *arg1 = (wxEffects *) 0 ;
18282 wxColour *arg2 = 0 ;
18283 wxColour temp2 ;
18284 PyObject * obj0 = 0 ;
18285 PyObject * obj1 = 0 ;
18286 char *kwnames[] = {
18287 (char *) "self",(char *) "c", NULL
18288 };
18289
18290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetDarkShadow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
18292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18293 {
18294 arg2 = &temp2;
18295 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18296 }
18297 {
18298 PyThreadState* __tstate = wxPyBeginAllowThreads();
18299 (arg1)->SetDarkShadow((wxColour const &)*arg2);
18300
18301 wxPyEndAllowThreads(__tstate);
18302 if (PyErr_Occurred()) SWIG_fail;
18303 }
18304 Py_INCREF(Py_None); resultobj = Py_None;
18305 return resultobj;
18306 fail:
18307 return NULL;
18308}
18309
18310
c32bde28 18311static PyObject *_wrap_Effects_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18312 PyObject *resultobj;
18313 wxEffects *arg1 = (wxEffects *) 0 ;
18314 wxColour *arg2 = 0 ;
18315 wxColour *arg3 = 0 ;
18316 wxColour *arg4 = 0 ;
18317 wxColour *arg5 = 0 ;
18318 wxColour *arg6 = 0 ;
18319 wxColour temp2 ;
18320 wxColour temp3 ;
18321 wxColour temp4 ;
18322 wxColour temp5 ;
18323 wxColour temp6 ;
18324 PyObject * obj0 = 0 ;
18325 PyObject * obj1 = 0 ;
18326 PyObject * obj2 = 0 ;
18327 PyObject * obj3 = 0 ;
18328 PyObject * obj4 = 0 ;
18329 PyObject * obj5 = 0 ;
18330 char *kwnames[] = {
18331 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18332 };
18333
18334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Effects_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
18335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
18336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18337 {
18338 arg2 = &temp2;
18339 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18340 }
18341 {
18342 arg3 = &temp3;
18343 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
18344 }
18345 {
18346 arg4 = &temp4;
18347 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
18348 }
18349 {
18350 arg5 = &temp5;
18351 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
18352 }
18353 {
18354 arg6 = &temp6;
18355 if ( ! wxColour_helper(obj5, &arg6)) SWIG_fail;
18356 }
18357 {
18358 PyThreadState* __tstate = wxPyBeginAllowThreads();
18359 (arg1)->Set((wxColour const &)*arg2,(wxColour const &)*arg3,(wxColour const &)*arg4,(wxColour const &)*arg5,(wxColour const &)*arg6);
18360
18361 wxPyEndAllowThreads(__tstate);
18362 if (PyErr_Occurred()) SWIG_fail;
18363 }
18364 Py_INCREF(Py_None); resultobj = Py_None;
18365 return resultobj;
18366 fail:
18367 return NULL;
18368}
18369
18370
c32bde28 18371static PyObject *_wrap_Effects_DrawSunkenEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18372 PyObject *resultobj;
18373 wxEffects *arg1 = (wxEffects *) 0 ;
18374 wxDC *arg2 = 0 ;
18375 wxRect *arg3 = 0 ;
18376 int arg4 = (int) 1 ;
18377 wxRect temp3 ;
18378 PyObject * obj0 = 0 ;
18379 PyObject * obj1 = 0 ;
18380 PyObject * obj2 = 0 ;
994141e6 18381 PyObject * obj3 = 0 ;
d14a1e28
RD
18382 char *kwnames[] = {
18383 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18384 };
18385
994141e6 18386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
18387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
18388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18389 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18390 SWIG_POINTER_EXCEPTION | 0)) == -1)
18391 SWIG_fail;
d14a1e28 18392 if (arg2 == NULL) {
15afbcd0
RD
18393 PyErr_SetString(PyExc_TypeError,"null reference");
18394 SWIG_fail;
d14a1e28
RD
18395 }
18396 {
18397 arg3 = &temp3;
18398 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
18399 }
994141e6 18400 if (obj3) {
c32bde28 18401 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 18402 if (PyErr_Occurred()) SWIG_fail;
994141e6 18403 }
d14a1e28
RD
18404 {
18405 PyThreadState* __tstate = wxPyBeginAllowThreads();
18406 (arg1)->DrawSunkenEdge(*arg2,(wxRect const &)*arg3,arg4);
18407
18408 wxPyEndAllowThreads(__tstate);
18409 if (PyErr_Occurred()) SWIG_fail;
18410 }
18411 Py_INCREF(Py_None); resultobj = Py_None;
18412 return resultobj;
18413 fail:
18414 return NULL;
18415}
18416
18417
c32bde28 18418static PyObject *_wrap_Effects_TileBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18419 PyObject *resultobj;
18420 wxEffects *arg1 = (wxEffects *) 0 ;
18421 wxRect *arg2 = 0 ;
18422 wxDC *arg3 = 0 ;
18423 wxBitmap *arg4 = 0 ;
18424 bool result;
18425 wxRect temp2 ;
18426 PyObject * obj0 = 0 ;
18427 PyObject * obj1 = 0 ;
18428 PyObject * obj2 = 0 ;
18429 PyObject * obj3 = 0 ;
18430 char *kwnames[] = {
18431 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18432 };
18433
18434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Effects_TileBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
18435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
18436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18437 {
18438 arg2 = &temp2;
18439 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
18440 }
15afbcd0
RD
18441 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
18442 SWIG_POINTER_EXCEPTION | 0)) == -1)
18443 SWIG_fail;
d14a1e28 18444 if (arg3 == NULL) {
15afbcd0
RD
18445 PyErr_SetString(PyExc_TypeError,"null reference");
18446 SWIG_fail;
d14a1e28 18447 }
15afbcd0
RD
18448 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
18449 SWIG_POINTER_EXCEPTION | 0)) == -1)
18450 SWIG_fail;
d14a1e28 18451 if (arg4 == NULL) {
15afbcd0
RD
18452 PyErr_SetString(PyExc_TypeError,"null reference");
18453 SWIG_fail;
d14a1e28
RD
18454 }
18455 {
18456 PyThreadState* __tstate = wxPyBeginAllowThreads();
18457 result = (bool)(arg1)->TileBitmap((wxRect const &)*arg2,*arg3,*arg4);
18458
18459 wxPyEndAllowThreads(__tstate);
18460 if (PyErr_Occurred()) SWIG_fail;
18461 }
4f89f6a3
RD
18462 {
18463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18464 }
d14a1e28
RD
18465 return resultobj;
18466 fail:
18467 return NULL;
18468}
18469
18470
c32bde28 18471static PyObject * Effects_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18472 PyObject *obj;
18473 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18474 SWIG_TypeClientData(SWIGTYPE_p_wxEffects, obj);
18475 Py_INCREF(obj);
18476 return Py_BuildValue((char *)"");
18477}
18478static PyMethodDef SwigMethods[] = {
c32bde28
RD
18479 { (char *)"new_GDIObject", (PyCFunction) _wrap_new_GDIObject, METH_VARARGS | METH_KEYWORDS, NULL },
18480 { (char *)"delete_GDIObject", (PyCFunction) _wrap_delete_GDIObject, METH_VARARGS | METH_KEYWORDS, NULL },
18481 { (char *)"GDIObject_GetVisible", (PyCFunction) _wrap_GDIObject_GetVisible, METH_VARARGS | METH_KEYWORDS, NULL },
18482 { (char *)"GDIObject_SetVisible", (PyCFunction) _wrap_GDIObject_SetVisible, METH_VARARGS | METH_KEYWORDS, NULL },
18483 { (char *)"GDIObject_IsNull", (PyCFunction) _wrap_GDIObject_IsNull, METH_VARARGS | METH_KEYWORDS, NULL },
18484 { (char *)"GDIObject_swigregister", GDIObject_swigregister, METH_VARARGS, NULL },
18485 { (char *)"new_Colour", (PyCFunction) _wrap_new_Colour, METH_VARARGS | METH_KEYWORDS, NULL },
18486 { (char *)"new_NamedColour", (PyCFunction) _wrap_new_NamedColour, METH_VARARGS | METH_KEYWORDS, NULL },
18487 { (char *)"new_ColourRGB", (PyCFunction) _wrap_new_ColourRGB, METH_VARARGS | METH_KEYWORDS, NULL },
18488 { (char *)"delete_Colour", (PyCFunction) _wrap_delete_Colour, METH_VARARGS | METH_KEYWORDS, NULL },
18489 { (char *)"Colour_Red", (PyCFunction) _wrap_Colour_Red, METH_VARARGS | METH_KEYWORDS, NULL },
18490 { (char *)"Colour_Green", (PyCFunction) _wrap_Colour_Green, METH_VARARGS | METH_KEYWORDS, NULL },
18491 { (char *)"Colour_Blue", (PyCFunction) _wrap_Colour_Blue, METH_VARARGS | METH_KEYWORDS, NULL },
18492 { (char *)"Colour_Ok", (PyCFunction) _wrap_Colour_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18493 { (char *)"Colour_Set", (PyCFunction) _wrap_Colour_Set, METH_VARARGS | METH_KEYWORDS, NULL },
18494 { (char *)"Colour_SetRGB", (PyCFunction) _wrap_Colour_SetRGB, METH_VARARGS | METH_KEYWORDS, NULL },
18495 { (char *)"Colour_SetFromName", (PyCFunction) _wrap_Colour_SetFromName, METH_VARARGS | METH_KEYWORDS, NULL },
18496 { (char *)"Colour_GetPixel", (PyCFunction) _wrap_Colour_GetPixel, METH_VARARGS | METH_KEYWORDS, NULL },
18497 { (char *)"Colour___eq__", (PyCFunction) _wrap_Colour___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
18498 { (char *)"Colour___ne__", (PyCFunction) _wrap_Colour___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
18499 { (char *)"Colour_Get", (PyCFunction) _wrap_Colour_Get, METH_VARARGS | METH_KEYWORDS, NULL },
18500 { (char *)"Colour_GetRGB", (PyCFunction) _wrap_Colour_GetRGB, METH_VARARGS | METH_KEYWORDS, NULL },
18501 { (char *)"Colour_swigregister", Colour_swigregister, METH_VARARGS, NULL },
18502 { (char *)"new_Palette", (PyCFunction) _wrap_new_Palette, METH_VARARGS | METH_KEYWORDS, NULL },
18503 { (char *)"delete_Palette", (PyCFunction) _wrap_delete_Palette, METH_VARARGS | METH_KEYWORDS, NULL },
18504 { (char *)"Palette_GetPixel", (PyCFunction) _wrap_Palette_GetPixel, METH_VARARGS | METH_KEYWORDS, NULL },
18505 { (char *)"Palette_GetRGB", (PyCFunction) _wrap_Palette_GetRGB, METH_VARARGS | METH_KEYWORDS, NULL },
18506 { (char *)"Palette_Ok", (PyCFunction) _wrap_Palette_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18507 { (char *)"Palette_swigregister", Palette_swigregister, METH_VARARGS, NULL },
18508 { (char *)"new_Pen", (PyCFunction) _wrap_new_Pen, METH_VARARGS | METH_KEYWORDS, NULL },
18509 { (char *)"delete_Pen", (PyCFunction) _wrap_delete_Pen, METH_VARARGS | METH_KEYWORDS, NULL },
18510 { (char *)"Pen_GetCap", (PyCFunction) _wrap_Pen_GetCap, METH_VARARGS | METH_KEYWORDS, NULL },
18511 { (char *)"Pen_GetColour", (PyCFunction) _wrap_Pen_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
18512 { (char *)"Pen_GetJoin", (PyCFunction) _wrap_Pen_GetJoin, METH_VARARGS | METH_KEYWORDS, NULL },
18513 { (char *)"Pen_GetStyle", (PyCFunction) _wrap_Pen_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
18514 { (char *)"Pen_GetWidth", (PyCFunction) _wrap_Pen_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18515 { (char *)"Pen_Ok", (PyCFunction) _wrap_Pen_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18516 { (char *)"Pen_SetCap", (PyCFunction) _wrap_Pen_SetCap, METH_VARARGS | METH_KEYWORDS, NULL },
18517 { (char *)"Pen_SetColour", (PyCFunction) _wrap_Pen_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
18518 { (char *)"Pen_SetJoin", (PyCFunction) _wrap_Pen_SetJoin, METH_VARARGS | METH_KEYWORDS, NULL },
18519 { (char *)"Pen_SetStyle", (PyCFunction) _wrap_Pen_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
18520 { (char *)"Pen_SetWidth", (PyCFunction) _wrap_Pen_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18521 { (char *)"Pen_SetDashes", (PyCFunction) _wrap_Pen_SetDashes, METH_VARARGS | METH_KEYWORDS, NULL },
18522 { (char *)"Pen_GetDashes", (PyCFunction) _wrap_Pen_GetDashes, METH_VARARGS | METH_KEYWORDS, NULL },
18523 { (char *)"Pen__SetDashes", (PyCFunction) _wrap_Pen__SetDashes, METH_VARARGS | METH_KEYWORDS, NULL },
18524 { (char *)"Pen_GetDashCount", (PyCFunction) _wrap_Pen_GetDashCount, METH_VARARGS | METH_KEYWORDS, NULL },
18525 { (char *)"Pen___eq__", (PyCFunction) _wrap_Pen___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
18526 { (char *)"Pen___ne__", (PyCFunction) _wrap_Pen___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
18527 { (char *)"Pen_swigregister", Pen_swigregister, METH_VARARGS, NULL },
18528 { (char *)"new_Brush", (PyCFunction) _wrap_new_Brush, METH_VARARGS | METH_KEYWORDS, NULL },
18529 { (char *)"delete_Brush", (PyCFunction) _wrap_delete_Brush, METH_VARARGS | METH_KEYWORDS, NULL },
18530 { (char *)"Brush_SetColour", (PyCFunction) _wrap_Brush_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
18531 { (char *)"Brush_SetStyle", (PyCFunction) _wrap_Brush_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
18532 { (char *)"Brush_SetStipple", (PyCFunction) _wrap_Brush_SetStipple, METH_VARARGS | METH_KEYWORDS, NULL },
18533 { (char *)"Brush_GetColour", (PyCFunction) _wrap_Brush_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
18534 { (char *)"Brush_GetStyle", (PyCFunction) _wrap_Brush_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
18535 { (char *)"Brush_GetStipple", (PyCFunction) _wrap_Brush_GetStipple, METH_VARARGS | METH_KEYWORDS, NULL },
18536 { (char *)"Brush_Ok", (PyCFunction) _wrap_Brush_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18537 { (char *)"Brush_swigregister", Brush_swigregister, METH_VARARGS, NULL },
18538 { (char *)"new_Bitmap", (PyCFunction) _wrap_new_Bitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18539 { (char *)"delete_Bitmap", (PyCFunction) _wrap_delete_Bitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18540 { (char *)"new_EmptyBitmap", (PyCFunction) _wrap_new_EmptyBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18541 { (char *)"new_BitmapFromIcon", (PyCFunction) _wrap_new_BitmapFromIcon, METH_VARARGS | METH_KEYWORDS, NULL },
18542 { (char *)"new_BitmapFromImage", (PyCFunction) _wrap_new_BitmapFromImage, METH_VARARGS | METH_KEYWORDS, NULL },
18543 { (char *)"new_BitmapFromXPMData", (PyCFunction) _wrap_new_BitmapFromXPMData, METH_VARARGS | METH_KEYWORDS, NULL },
18544 { (char *)"new_BitmapFromBits", (PyCFunction) _wrap_new_BitmapFromBits, METH_VARARGS | METH_KEYWORDS, NULL },
18545 { (char *)"Bitmap_Ok", (PyCFunction) _wrap_Bitmap_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18546 { (char *)"Bitmap_GetWidth", (PyCFunction) _wrap_Bitmap_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18547 { (char *)"Bitmap_GetHeight", (PyCFunction) _wrap_Bitmap_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
18548 { (char *)"Bitmap_GetDepth", (PyCFunction) _wrap_Bitmap_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
18549 { (char *)"Bitmap_GetSize", (PyCFunction) _wrap_Bitmap_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
18550 { (char *)"Bitmap_ConvertToImage", (PyCFunction) _wrap_Bitmap_ConvertToImage, METH_VARARGS | METH_KEYWORDS, NULL },
18551 { (char *)"Bitmap_GetMask", (PyCFunction) _wrap_Bitmap_GetMask, METH_VARARGS | METH_KEYWORDS, NULL },
18552 { (char *)"Bitmap_SetMask", (PyCFunction) _wrap_Bitmap_SetMask, METH_VARARGS | METH_KEYWORDS, NULL },
18553 { (char *)"Bitmap_SetMaskColour", (PyCFunction) _wrap_Bitmap_SetMaskColour, METH_VARARGS | METH_KEYWORDS, NULL },
18554 { (char *)"Bitmap_GetSubBitmap", (PyCFunction) _wrap_Bitmap_GetSubBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18555 { (char *)"Bitmap_SaveFile", (PyCFunction) _wrap_Bitmap_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL },
18556 { (char *)"Bitmap_LoadFile", (PyCFunction) _wrap_Bitmap_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
18557 { (char *)"Bitmap_CopyFromIcon", (PyCFunction) _wrap_Bitmap_CopyFromIcon, METH_VARARGS | METH_KEYWORDS, NULL },
18558 { (char *)"Bitmap_SetHeight", (PyCFunction) _wrap_Bitmap_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
18559 { (char *)"Bitmap_SetWidth", (PyCFunction) _wrap_Bitmap_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18560 { (char *)"Bitmap_SetDepth", (PyCFunction) _wrap_Bitmap_SetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
18561 { (char *)"Bitmap_SetSize", (PyCFunction) _wrap_Bitmap_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
18562 { (char *)"Bitmap___eq__", (PyCFunction) _wrap_Bitmap___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
18563 { (char *)"Bitmap___ne__", (PyCFunction) _wrap_Bitmap___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
18564 { (char *)"Bitmap_swigregister", Bitmap_swigregister, METH_VARARGS, NULL },
18565 { (char *)"new_Mask", (PyCFunction) _wrap_new_Mask, METH_VARARGS | METH_KEYWORDS, NULL },
18566 { (char *)"Mask_swigregister", Mask_swigregister, METH_VARARGS, NULL },
18567 { (char *)"new_Icon", (PyCFunction) _wrap_new_Icon, METH_VARARGS | METH_KEYWORDS, NULL },
18568 { (char *)"delete_Icon", (PyCFunction) _wrap_delete_Icon, METH_VARARGS | METH_KEYWORDS, NULL },
18569 { (char *)"new_EmptyIcon", (PyCFunction) _wrap_new_EmptyIcon, METH_VARARGS | METH_KEYWORDS, NULL },
18570 { (char *)"new_IconFromLocation", (PyCFunction) _wrap_new_IconFromLocation, METH_VARARGS | METH_KEYWORDS, NULL },
18571 { (char *)"new_IconFromBitmap", (PyCFunction) _wrap_new_IconFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18572 { (char *)"new_IconFromXPMData", (PyCFunction) _wrap_new_IconFromXPMData, METH_VARARGS | METH_KEYWORDS, NULL },
18573 { (char *)"Icon_LoadFile", (PyCFunction) _wrap_Icon_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
18574 { (char *)"Icon_Ok", (PyCFunction) _wrap_Icon_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18575 { (char *)"Icon_GetWidth", (PyCFunction) _wrap_Icon_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18576 { (char *)"Icon_GetHeight", (PyCFunction) _wrap_Icon_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
18577 { (char *)"Icon_GetDepth", (PyCFunction) _wrap_Icon_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
18578 { (char *)"Icon_SetWidth", (PyCFunction) _wrap_Icon_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18579 { (char *)"Icon_SetHeight", (PyCFunction) _wrap_Icon_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
18580 { (char *)"Icon_SetDepth", (PyCFunction) _wrap_Icon_SetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
18581 { (char *)"Icon_CopyFromBitmap", (PyCFunction) _wrap_Icon_CopyFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18582 { (char *)"Icon_swigregister", Icon_swigregister, METH_VARARGS, NULL },
18583 { (char *)"new_IconLocation", (PyCFunction) _wrap_new_IconLocation, METH_VARARGS | METH_KEYWORDS, NULL },
18584 { (char *)"delete_IconLocation", (PyCFunction) _wrap_delete_IconLocation, METH_VARARGS | METH_KEYWORDS, NULL },
18585 { (char *)"IconLocation_IsOk", (PyCFunction) _wrap_IconLocation_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
18586 { (char *)"IconLocation_SetFileName", (PyCFunction) _wrap_IconLocation_SetFileName, METH_VARARGS | METH_KEYWORDS, NULL },
18587 { (char *)"IconLocation_GetFileName", (PyCFunction) _wrap_IconLocation_GetFileName, METH_VARARGS | METH_KEYWORDS, NULL },
18588 { (char *)"IconLocation_SetIndex", (PyCFunction) _wrap_IconLocation_SetIndex, METH_VARARGS | METH_KEYWORDS, NULL },
18589 { (char *)"IconLocation_GetIndex", (PyCFunction) _wrap_IconLocation_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL },
18590 { (char *)"IconLocation_swigregister", IconLocation_swigregister, METH_VARARGS, NULL },
18591 { (char *)"new_IconBundle", (PyCFunction) _wrap_new_IconBundle, METH_VARARGS | METH_KEYWORDS, NULL },
18592 { (char *)"new_IconBundleFromFile", (PyCFunction) _wrap_new_IconBundleFromFile, METH_VARARGS | METH_KEYWORDS, NULL },
18593 { (char *)"new_IconBundleFromIcon", (PyCFunction) _wrap_new_IconBundleFromIcon, METH_VARARGS | METH_KEYWORDS, NULL },
18594 { (char *)"delete_IconBundle", (PyCFunction) _wrap_delete_IconBundle, METH_VARARGS | METH_KEYWORDS, NULL },
18595 { (char *)"IconBundle_AddIcon", (PyCFunction) _wrap_IconBundle_AddIcon, METH_VARARGS | METH_KEYWORDS, NULL },
18596 { (char *)"IconBundle_AddIconFromFile", (PyCFunction) _wrap_IconBundle_AddIconFromFile, METH_VARARGS | METH_KEYWORDS, NULL },
18597 { (char *)"IconBundle_GetIcon", (PyCFunction) _wrap_IconBundle_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
18598 { (char *)"IconBundle_swigregister", IconBundle_swigregister, METH_VARARGS, NULL },
18599 { (char *)"new_Cursor", (PyCFunction) _wrap_new_Cursor, METH_VARARGS | METH_KEYWORDS, NULL },
18600 { (char *)"delete_Cursor", (PyCFunction) _wrap_delete_Cursor, METH_VARARGS | METH_KEYWORDS, NULL },
18601 { (char *)"new_StockCursor", (PyCFunction) _wrap_new_StockCursor, METH_VARARGS | METH_KEYWORDS, NULL },
18602 { (char *)"new_CursorFromImage", (PyCFunction) _wrap_new_CursorFromImage, METH_VARARGS | METH_KEYWORDS, NULL },
18603 { (char *)"Cursor_Ok", (PyCFunction) _wrap_Cursor_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18604 { (char *)"Cursor_swigregister", Cursor_swigregister, METH_VARARGS, NULL },
18605 { (char *)"new_Region", (PyCFunction) _wrap_new_Region, METH_VARARGS | METH_KEYWORDS, NULL },
18606 { (char *)"new_RegionFromBitmap", (PyCFunction) _wrap_new_RegionFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18607 { (char *)"new_RegionFromBitmapColour", (PyCFunction) _wrap_new_RegionFromBitmapColour, METH_VARARGS | METH_KEYWORDS, NULL },
18608 { (char *)"new_RegionFromPoints", (PyCFunction) _wrap_new_RegionFromPoints, METH_VARARGS | METH_KEYWORDS, NULL },
18609 { (char *)"delete_Region", (PyCFunction) _wrap_delete_Region, METH_VARARGS | METH_KEYWORDS, NULL },
18610 { (char *)"Region_Clear", (PyCFunction) _wrap_Region_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
18611 { (char *)"Region_Offset", (PyCFunction) _wrap_Region_Offset, METH_VARARGS | METH_KEYWORDS, NULL },
18612 { (char *)"Region_Contains", (PyCFunction) _wrap_Region_Contains, METH_VARARGS | METH_KEYWORDS, NULL },
18613 { (char *)"Region_ContainsPoint", (PyCFunction) _wrap_Region_ContainsPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18614 { (char *)"Region_ContainsRect", (PyCFunction) _wrap_Region_ContainsRect, METH_VARARGS | METH_KEYWORDS, NULL },
18615 { (char *)"Region_ContainsRectDim", (PyCFunction) _wrap_Region_ContainsRectDim, METH_VARARGS | METH_KEYWORDS, NULL },
18616 { (char *)"Region_GetBox", (PyCFunction) _wrap_Region_GetBox, METH_VARARGS | METH_KEYWORDS, NULL },
18617 { (char *)"Region_Intersect", (PyCFunction) _wrap_Region_Intersect, METH_VARARGS | METH_KEYWORDS, NULL },
18618 { (char *)"Region_IntersectRect", (PyCFunction) _wrap_Region_IntersectRect, METH_VARARGS | METH_KEYWORDS, NULL },
18619 { (char *)"Region_IntersectRegion", (PyCFunction) _wrap_Region_IntersectRegion, METH_VARARGS | METH_KEYWORDS, NULL },
18620 { (char *)"Region_IsEmpty", (PyCFunction) _wrap_Region_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL },
18621 { (char *)"Region_Union", (PyCFunction) _wrap_Region_Union, METH_VARARGS | METH_KEYWORDS, NULL },
18622 { (char *)"Region_UnionRect", (PyCFunction) _wrap_Region_UnionRect, METH_VARARGS | METH_KEYWORDS, NULL },
18623 { (char *)"Region_UnionRegion", (PyCFunction) _wrap_Region_UnionRegion, METH_VARARGS | METH_KEYWORDS, NULL },
18624 { (char *)"Region_Subtract", (PyCFunction) _wrap_Region_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
18625 { (char *)"Region_SubtractRect", (PyCFunction) _wrap_Region_SubtractRect, METH_VARARGS | METH_KEYWORDS, NULL },
18626 { (char *)"Region_SubtractRegion", (PyCFunction) _wrap_Region_SubtractRegion, METH_VARARGS | METH_KEYWORDS, NULL },
18627 { (char *)"Region_Xor", (PyCFunction) _wrap_Region_Xor, METH_VARARGS | METH_KEYWORDS, NULL },
18628 { (char *)"Region_XorRect", (PyCFunction) _wrap_Region_XorRect, METH_VARARGS | METH_KEYWORDS, NULL },
18629 { (char *)"Region_XorRegion", (PyCFunction) _wrap_Region_XorRegion, METH_VARARGS | METH_KEYWORDS, NULL },
18630 { (char *)"Region_ConvertToBitmap", (PyCFunction) _wrap_Region_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18631 { (char *)"Region_UnionBitmap", (PyCFunction) _wrap_Region_UnionBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18632 { (char *)"Region_UnionBitmapColour", (PyCFunction) _wrap_Region_UnionBitmapColour, METH_VARARGS | METH_KEYWORDS, NULL },
18633 { (char *)"Region_swigregister", Region_swigregister, METH_VARARGS, NULL },
18634 { (char *)"new_RegionIterator", (PyCFunction) _wrap_new_RegionIterator, METH_VARARGS | METH_KEYWORDS, NULL },
18635 { (char *)"delete_RegionIterator", (PyCFunction) _wrap_delete_RegionIterator, METH_VARARGS | METH_KEYWORDS, NULL },
18636 { (char *)"RegionIterator_GetX", (PyCFunction) _wrap_RegionIterator_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
18637 { (char *)"RegionIterator_GetY", (PyCFunction) _wrap_RegionIterator_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
18638 { (char *)"RegionIterator_GetW", (PyCFunction) _wrap_RegionIterator_GetW, METH_VARARGS | METH_KEYWORDS, NULL },
18639 { (char *)"RegionIterator_GetWidth", (PyCFunction) _wrap_RegionIterator_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18640 { (char *)"RegionIterator_GetH", (PyCFunction) _wrap_RegionIterator_GetH, METH_VARARGS | METH_KEYWORDS, NULL },
18641 { (char *)"RegionIterator_GetHeight", (PyCFunction) _wrap_RegionIterator_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
18642 { (char *)"RegionIterator_GetRect", (PyCFunction) _wrap_RegionIterator_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
18643 { (char *)"RegionIterator_HaveRects", (PyCFunction) _wrap_RegionIterator_HaveRects, METH_VARARGS | METH_KEYWORDS, NULL },
18644 { (char *)"RegionIterator_Reset", (PyCFunction) _wrap_RegionIterator_Reset, METH_VARARGS | METH_KEYWORDS, NULL },
18645 { (char *)"RegionIterator_Next", (PyCFunction) _wrap_RegionIterator_Next, METH_VARARGS | METH_KEYWORDS, NULL },
18646 { (char *)"RegionIterator___nonzero__", (PyCFunction) _wrap_RegionIterator___nonzero__, METH_VARARGS | METH_KEYWORDS, NULL },
18647 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister, METH_VARARGS, NULL },
18648 { (char *)"new_NativeFontInfo", (PyCFunction) _wrap_new_NativeFontInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18649 { (char *)"delete_NativeFontInfo", (PyCFunction) _wrap_delete_NativeFontInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18650 { (char *)"NativeFontInfo_Init", (PyCFunction) _wrap_NativeFontInfo_Init, METH_VARARGS | METH_KEYWORDS, NULL },
18651 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction) _wrap_NativeFontInfo_InitFromFont, METH_VARARGS | METH_KEYWORDS, NULL },
18652 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction) _wrap_NativeFontInfo_GetPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
18653 { (char *)"NativeFontInfo_GetStyle", (PyCFunction) _wrap_NativeFontInfo_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
18654 { (char *)"NativeFontInfo_GetWeight", (PyCFunction) _wrap_NativeFontInfo_GetWeight, METH_VARARGS | METH_KEYWORDS, NULL },
18655 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction) _wrap_NativeFontInfo_GetUnderlined, METH_VARARGS | METH_KEYWORDS, NULL },
18656 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction) _wrap_NativeFontInfo_GetFaceName, METH_VARARGS | METH_KEYWORDS, NULL },
18657 { (char *)"NativeFontInfo_GetFamily", (PyCFunction) _wrap_NativeFontInfo_GetFamily, METH_VARARGS | METH_KEYWORDS, NULL },
18658 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction) _wrap_NativeFontInfo_GetEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18659 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction) _wrap_NativeFontInfo_SetPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
18660 { (char *)"NativeFontInfo_SetStyle", (PyCFunction) _wrap_NativeFontInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
18661 { (char *)"NativeFontInfo_SetWeight", (PyCFunction) _wrap_NativeFontInfo_SetWeight, METH_VARARGS | METH_KEYWORDS, NULL },
18662 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction) _wrap_NativeFontInfo_SetUnderlined, METH_VARARGS | METH_KEYWORDS, NULL },
18663 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction) _wrap_NativeFontInfo_SetFaceName, METH_VARARGS | METH_KEYWORDS, NULL },
18664 { (char *)"NativeFontInfo_SetFamily", (PyCFunction) _wrap_NativeFontInfo_SetFamily, METH_VARARGS | METH_KEYWORDS, NULL },
18665 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction) _wrap_NativeFontInfo_SetEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18666 { (char *)"NativeFontInfo_FromString", (PyCFunction) _wrap_NativeFontInfo_FromString, METH_VARARGS | METH_KEYWORDS, NULL },
18667 { (char *)"NativeFontInfo_ToString", (PyCFunction) _wrap_NativeFontInfo_ToString, METH_VARARGS | METH_KEYWORDS, NULL },
18668 { (char *)"NativeFontInfo___str__", (PyCFunction) _wrap_NativeFontInfo___str__, METH_VARARGS | METH_KEYWORDS, NULL },
18669 { (char *)"NativeFontInfo_FromUserString", (PyCFunction) _wrap_NativeFontInfo_FromUserString, METH_VARARGS | METH_KEYWORDS, NULL },
18670 { (char *)"NativeFontInfo_ToUserString", (PyCFunction) _wrap_NativeFontInfo_ToUserString, METH_VARARGS | METH_KEYWORDS, NULL },
18671 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister, METH_VARARGS, NULL },
18672 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction) _wrap_NativeEncodingInfo_facename_set, METH_VARARGS | METH_KEYWORDS, NULL },
18673 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction) _wrap_NativeEncodingInfo_facename_get, METH_VARARGS | METH_KEYWORDS, NULL },
18674 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction) _wrap_NativeEncodingInfo_encoding_set, METH_VARARGS | METH_KEYWORDS, NULL },
18675 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction) _wrap_NativeEncodingInfo_encoding_get, METH_VARARGS | METH_KEYWORDS, NULL },
18676 { (char *)"new_NativeEncodingInfo", (PyCFunction) _wrap_new_NativeEncodingInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18677 { (char *)"delete_NativeEncodingInfo", (PyCFunction) _wrap_delete_NativeEncodingInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18678 { (char *)"NativeEncodingInfo_FromString", (PyCFunction) _wrap_NativeEncodingInfo_FromString, METH_VARARGS | METH_KEYWORDS, NULL },
18679 { (char *)"NativeEncodingInfo_ToString", (PyCFunction) _wrap_NativeEncodingInfo_ToString, METH_VARARGS | METH_KEYWORDS, NULL },
18680 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister, METH_VARARGS, NULL },
18681 { (char *)"GetNativeFontEncoding", (PyCFunction) _wrap_GetNativeFontEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18682 { (char *)"TestFontEncoding", (PyCFunction) _wrap_TestFontEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18683 { (char *)"new_FontMapper", (PyCFunction) _wrap_new_FontMapper, METH_VARARGS | METH_KEYWORDS, NULL },
18684 { (char *)"delete_FontMapper", (PyCFunction) _wrap_delete_FontMapper, METH_VARARGS | METH_KEYWORDS, NULL },
18685 { (char *)"FontMapper_Get", (PyCFunction) _wrap_FontMapper_Get, METH_VARARGS | METH_KEYWORDS, NULL },
18686 { (char *)"FontMapper_Set", (PyCFunction) _wrap_FontMapper_Set, METH_VARARGS | METH_KEYWORDS, NULL },
18687 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction) _wrap_FontMapper_CharsetToEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18688 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction) _wrap_FontMapper_GetSupportedEncodingsCount, METH_VARARGS | METH_KEYWORDS, NULL },
18689 { (char *)"FontMapper_GetEncoding", (PyCFunction) _wrap_FontMapper_GetEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18690 { (char *)"FontMapper_GetEncodingName", (PyCFunction) _wrap_FontMapper_GetEncodingName, METH_VARARGS | METH_KEYWORDS, NULL },
18691 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction) _wrap_FontMapper_GetEncodingDescription, METH_VARARGS | METH_KEYWORDS, NULL },
18692 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction) _wrap_FontMapper_GetEncodingFromName, METH_VARARGS | METH_KEYWORDS, NULL },
18693 { (char *)"FontMapper_SetConfig", (PyCFunction) _wrap_FontMapper_SetConfig, METH_VARARGS | METH_KEYWORDS, NULL },
18694 { (char *)"FontMapper_SetConfigPath", (PyCFunction) _wrap_FontMapper_SetConfigPath, METH_VARARGS | METH_KEYWORDS, NULL },
18695 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction) _wrap_FontMapper_GetDefaultConfigPath, METH_VARARGS | METH_KEYWORDS, NULL },
18696 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction) _wrap_FontMapper_GetAltForEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18697 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction) _wrap_FontMapper_IsEncodingAvailable, METH_VARARGS | METH_KEYWORDS, NULL },
18698 { (char *)"FontMapper_SetDialogParent", (PyCFunction) _wrap_FontMapper_SetDialogParent, METH_VARARGS | METH_KEYWORDS, NULL },
18699 { (char *)"FontMapper_SetDialogTitle", (PyCFunction) _wrap_FontMapper_SetDialogTitle, METH_VARARGS | METH_KEYWORDS, NULL },
18700 { (char *)"FontMapper_swigregister", FontMapper_swigregister, METH_VARARGS, NULL },
18701 { (char *)"new_Font", (PyCFunction) _wrap_new_Font, METH_VARARGS | METH_KEYWORDS, NULL },
18702 { (char *)"delete_Font", (PyCFunction) _wrap_delete_Font, METH_VARARGS | METH_KEYWORDS, NULL },
18703 { (char *)"new_FontFromNativeInfo", (PyCFunction) _wrap_new_FontFromNativeInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18704 { (char *)"new_FontFromNativeInfoString", (PyCFunction) _wrap_new_FontFromNativeInfoString, METH_VARARGS | METH_KEYWORDS, NULL },
18705 { (char *)"new_Font2", (PyCFunction) _wrap_new_Font2, METH_VARARGS | METH_KEYWORDS, NULL },
b6294124 18706 { (char *)"new_FontFromPixelSize", (PyCFunction) _wrap_new_FontFromPixelSize, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
18707 { (char *)"Font_Ok", (PyCFunction) _wrap_Font_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18708 { (char *)"Font___eq__", (PyCFunction) _wrap_Font___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
18709 { (char *)"Font___ne__", (PyCFunction) _wrap_Font___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
18710 { (char *)"Font_GetPointSize", (PyCFunction) _wrap_Font_GetPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
b6294124
RD
18711 { (char *)"Font_GetPixelSize", (PyCFunction) _wrap_Font_GetPixelSize, METH_VARARGS | METH_KEYWORDS, NULL },
18712 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction) _wrap_Font_IsUsingSizeInPixels, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
18713 { (char *)"Font_GetFamily", (PyCFunction) _wrap_Font_GetFamily, METH_VARARGS | METH_KEYWORDS, NULL },
18714 { (char *)"Font_GetStyle", (PyCFunction) _wrap_Font_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
18715 { (char *)"Font_GetWeight", (PyCFunction) _wrap_Font_GetWeight, METH_VARARGS | METH_KEYWORDS, NULL },
18716 { (char *)"Font_GetUnderlined", (PyCFunction) _wrap_Font_GetUnderlined, METH_VARARGS | METH_KEYWORDS, NULL },
18717 { (char *)"Font_GetFaceName", (PyCFunction) _wrap_Font_GetFaceName, METH_VARARGS | METH_KEYWORDS, NULL },
18718 { (char *)"Font_GetEncoding", (PyCFunction) _wrap_Font_GetEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18719 { (char *)"Font_GetNativeFontInfo", (PyCFunction) _wrap_Font_GetNativeFontInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18720 { (char *)"Font_IsFixedWidth", (PyCFunction) _wrap_Font_IsFixedWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18721 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction) _wrap_Font_GetNativeFontInfoDesc, METH_VARARGS | METH_KEYWORDS, NULL },
18722 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction) _wrap_Font_GetNativeFontInfoUserDesc, METH_VARARGS | METH_KEYWORDS, NULL },
18723 { (char *)"Font_SetPointSize", (PyCFunction) _wrap_Font_SetPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
b6294124 18724 { (char *)"Font_SetPixelSize", (PyCFunction) _wrap_Font_SetPixelSize, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
18725 { (char *)"Font_SetFamily", (PyCFunction) _wrap_Font_SetFamily, METH_VARARGS | METH_KEYWORDS, NULL },
18726 { (char *)"Font_SetStyle", (PyCFunction) _wrap_Font_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
18727 { (char *)"Font_SetWeight", (PyCFunction) _wrap_Font_SetWeight, METH_VARARGS | METH_KEYWORDS, NULL },
18728 { (char *)"Font_SetFaceName", (PyCFunction) _wrap_Font_SetFaceName, METH_VARARGS | METH_KEYWORDS, NULL },
18729 { (char *)"Font_SetUnderlined", (PyCFunction) _wrap_Font_SetUnderlined, METH_VARARGS | METH_KEYWORDS, NULL },
18730 { (char *)"Font_SetEncoding", (PyCFunction) _wrap_Font_SetEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18731 { (char *)"Font_SetNativeFontInfo", (PyCFunction) _wrap_Font_SetNativeFontInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18732 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction) _wrap_Font_SetNativeFontInfoFromString, METH_VARARGS | METH_KEYWORDS, NULL },
18733 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction) _wrap_Font_SetNativeFontInfoUserDesc, METH_VARARGS | METH_KEYWORDS, NULL },
18734 { (char *)"Font_GetFamilyString", (PyCFunction) _wrap_Font_GetFamilyString, METH_VARARGS | METH_KEYWORDS, NULL },
18735 { (char *)"Font_GetStyleString", (PyCFunction) _wrap_Font_GetStyleString, METH_VARARGS | METH_KEYWORDS, NULL },
18736 { (char *)"Font_GetWeightString", (PyCFunction) _wrap_Font_GetWeightString, METH_VARARGS | METH_KEYWORDS, NULL },
18737 { (char *)"Font_SetNoAntiAliasing", (PyCFunction) _wrap_Font_SetNoAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL },
18738 { (char *)"Font_GetNoAntiAliasing", (PyCFunction) _wrap_Font_GetNoAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL },
18739 { (char *)"Font_GetDefaultEncoding", (PyCFunction) _wrap_Font_GetDefaultEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18740 { (char *)"Font_SetDefaultEncoding", (PyCFunction) _wrap_Font_SetDefaultEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18741 { (char *)"Font_swigregister", Font_swigregister, METH_VARARGS, NULL },
18742 { (char *)"new_FontEnumerator", (PyCFunction) _wrap_new_FontEnumerator, METH_VARARGS | METH_KEYWORDS, NULL },
18743 { (char *)"delete_FontEnumerator", (PyCFunction) _wrap_delete_FontEnumerator, METH_VARARGS | METH_KEYWORDS, NULL },
18744 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction) _wrap_FontEnumerator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18745 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction) _wrap_FontEnumerator_EnumerateFacenames, METH_VARARGS | METH_KEYWORDS, NULL },
18746 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction) _wrap_FontEnumerator_EnumerateEncodings, METH_VARARGS | METH_KEYWORDS, NULL },
18747 { (char *)"FontEnumerator_GetEncodings", (PyCFunction) _wrap_FontEnumerator_GetEncodings, METH_VARARGS | METH_KEYWORDS, NULL },
18748 { (char *)"FontEnumerator_GetFacenames", (PyCFunction) _wrap_FontEnumerator_GetFacenames, METH_VARARGS | METH_KEYWORDS, NULL },
18749 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister, METH_VARARGS, NULL },
18750 { (char *)"LanguageInfo_Language_set", (PyCFunction) _wrap_LanguageInfo_Language_set, METH_VARARGS | METH_KEYWORDS, NULL },
18751 { (char *)"LanguageInfo_Language_get", (PyCFunction) _wrap_LanguageInfo_Language_get, METH_VARARGS | METH_KEYWORDS, NULL },
18752 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction) _wrap_LanguageInfo_CanonicalName_set, METH_VARARGS | METH_KEYWORDS, NULL },
18753 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction) _wrap_LanguageInfo_CanonicalName_get, METH_VARARGS | METH_KEYWORDS, NULL },
18754 { (char *)"LanguageInfo_Description_set", (PyCFunction) _wrap_LanguageInfo_Description_set, METH_VARARGS | METH_KEYWORDS, NULL },
18755 { (char *)"LanguageInfo_Description_get", (PyCFunction) _wrap_LanguageInfo_Description_get, METH_VARARGS | METH_KEYWORDS, NULL },
18756 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister, METH_VARARGS, NULL },
18757 { (char *)"new_Locale", (PyCFunction) _wrap_new_Locale, METH_VARARGS | METH_KEYWORDS, NULL },
18758 { (char *)"delete_Locale", (PyCFunction) _wrap_delete_Locale, METH_VARARGS | METH_KEYWORDS, NULL },
18759 { (char *)"Locale_Init1", (PyCFunction) _wrap_Locale_Init1, METH_VARARGS | METH_KEYWORDS, NULL },
18760 { (char *)"Locale_Init2", (PyCFunction) _wrap_Locale_Init2, METH_VARARGS | METH_KEYWORDS, NULL },
18761 { (char *)"Locale_GetSystemLanguage", (PyCFunction) _wrap_Locale_GetSystemLanguage, METH_VARARGS | METH_KEYWORDS, NULL },
18762 { (char *)"Locale_GetSystemEncoding", (PyCFunction) _wrap_Locale_GetSystemEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18763 { (char *)"Locale_GetSystemEncodingName", (PyCFunction) _wrap_Locale_GetSystemEncodingName, METH_VARARGS | METH_KEYWORDS, NULL },
18764 { (char *)"Locale_IsOk", (PyCFunction) _wrap_Locale_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
18765 { (char *)"Locale_GetLocale", (PyCFunction) _wrap_Locale_GetLocale, METH_VARARGS | METH_KEYWORDS, NULL },
18766 { (char *)"Locale_GetLanguage", (PyCFunction) _wrap_Locale_GetLanguage, METH_VARARGS | METH_KEYWORDS, NULL },
18767 { (char *)"Locale_GetSysName", (PyCFunction) _wrap_Locale_GetSysName, METH_VARARGS | METH_KEYWORDS, NULL },
18768 { (char *)"Locale_GetCanonicalName", (PyCFunction) _wrap_Locale_GetCanonicalName, METH_VARARGS | METH_KEYWORDS, NULL },
18769 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction) _wrap_Locale_AddCatalogLookupPathPrefix, METH_VARARGS | METH_KEYWORDS, NULL },
18770 { (char *)"Locale_AddCatalog", (PyCFunction) _wrap_Locale_AddCatalog, METH_VARARGS | METH_KEYWORDS, NULL },
18771 { (char *)"Locale_IsLoaded", (PyCFunction) _wrap_Locale_IsLoaded, METH_VARARGS | METH_KEYWORDS, NULL },
18772 { (char *)"Locale_GetLanguageInfo", (PyCFunction) _wrap_Locale_GetLanguageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18773 { (char *)"Locale_GetLanguageName", (PyCFunction) _wrap_Locale_GetLanguageName, METH_VARARGS | METH_KEYWORDS, NULL },
18774 { (char *)"Locale_FindLanguageInfo", (PyCFunction) _wrap_Locale_FindLanguageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18775 { (char *)"Locale_AddLanguage", (PyCFunction) _wrap_Locale_AddLanguage, METH_VARARGS | METH_KEYWORDS, NULL },
18776 { (char *)"Locale_GetString", (PyCFunction) _wrap_Locale_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
18777 { (char *)"Locale_GetName", (PyCFunction) _wrap_Locale_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
18778 { (char *)"Locale_swigregister", Locale_swigregister, METH_VARARGS, NULL },
18779 { (char *)"GetLocale", (PyCFunction) _wrap_GetLocale, METH_VARARGS | METH_KEYWORDS, NULL },
18780 { (char *)"GetTranslation", _wrap_GetTranslation, METH_VARARGS, NULL },
18781 { (char *)"new_EncodingConverter", (PyCFunction) _wrap_new_EncodingConverter, METH_VARARGS | METH_KEYWORDS, NULL },
18782 { (char *)"delete_EncodingConverter", (PyCFunction) _wrap_delete_EncodingConverter, METH_VARARGS | METH_KEYWORDS, NULL },
18783 { (char *)"EncodingConverter_Init", (PyCFunction) _wrap_EncodingConverter_Init, METH_VARARGS | METH_KEYWORDS, NULL },
18784 { (char *)"EncodingConverter_Convert", (PyCFunction) _wrap_EncodingConverter_Convert, METH_VARARGS | METH_KEYWORDS, NULL },
18785 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction) _wrap_EncodingConverter_GetPlatformEquivalents, METH_VARARGS | METH_KEYWORDS, NULL },
18786 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction) _wrap_EncodingConverter_GetAllEquivalents, METH_VARARGS | METH_KEYWORDS, NULL },
18787 { (char *)"EncodingConverter_CanConvert", (PyCFunction) _wrap_EncodingConverter_CanConvert, METH_VARARGS | METH_KEYWORDS, NULL },
18788 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister, METH_VARARGS, NULL },
18789 { (char *)"delete_DC", (PyCFunction) _wrap_delete_DC, METH_VARARGS | METH_KEYWORDS, NULL },
18790 { (char *)"DC_BeginDrawing", (PyCFunction) _wrap_DC_BeginDrawing, METH_VARARGS | METH_KEYWORDS, NULL },
18791 { (char *)"DC_EndDrawing", (PyCFunction) _wrap_DC_EndDrawing, METH_VARARGS | METH_KEYWORDS, NULL },
18792 { (char *)"DC_FloodFill", (PyCFunction) _wrap_DC_FloodFill, METH_VARARGS | METH_KEYWORDS, NULL },
18793 { (char *)"DC_FloodFillPoint", (PyCFunction) _wrap_DC_FloodFillPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18794 { (char *)"DC_GetPixel", (PyCFunction) _wrap_DC_GetPixel, METH_VARARGS | METH_KEYWORDS, NULL },
18795 { (char *)"DC_GetPixelPoint", (PyCFunction) _wrap_DC_GetPixelPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18796 { (char *)"DC_DrawLine", (PyCFunction) _wrap_DC_DrawLine, METH_VARARGS | METH_KEYWORDS, NULL },
18797 { (char *)"DC_DrawLinePoint", (PyCFunction) _wrap_DC_DrawLinePoint, METH_VARARGS | METH_KEYWORDS, NULL },
18798 { (char *)"DC_CrossHair", (PyCFunction) _wrap_DC_CrossHair, METH_VARARGS | METH_KEYWORDS, NULL },
18799 { (char *)"DC_CrossHairPoint", (PyCFunction) _wrap_DC_CrossHairPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18800 { (char *)"DC_DrawArc", (PyCFunction) _wrap_DC_DrawArc, METH_VARARGS | METH_KEYWORDS, NULL },
18801 { (char *)"DC_DrawArcPoint", (PyCFunction) _wrap_DC_DrawArcPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18802 { (char *)"DC_DrawCheckMark", (PyCFunction) _wrap_DC_DrawCheckMark, METH_VARARGS | METH_KEYWORDS, NULL },
18803 { (char *)"DC_DrawCheckMarkRect", (PyCFunction) _wrap_DC_DrawCheckMarkRect, METH_VARARGS | METH_KEYWORDS, NULL },
18804 { (char *)"DC_DrawEllipticArc", (PyCFunction) _wrap_DC_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS, NULL },
18805 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction) _wrap_DC_DrawEllipticArcPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
18806 { (char *)"DC_DrawPoint", (PyCFunction) _wrap_DC_DrawPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18807 { (char *)"DC_DrawPointPoint", (PyCFunction) _wrap_DC_DrawPointPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18808 { (char *)"DC_DrawRectangle", (PyCFunction) _wrap_DC_DrawRectangle, METH_VARARGS | METH_KEYWORDS, NULL },
18809 { (char *)"DC_DrawRectangleRect", (PyCFunction) _wrap_DC_DrawRectangleRect, METH_VARARGS | METH_KEYWORDS, NULL },
18810 { (char *)"DC_DrawRectanglePointSize", (PyCFunction) _wrap_DC_DrawRectanglePointSize, METH_VARARGS | METH_KEYWORDS, NULL },
18811 { (char *)"DC_DrawRoundedRectangle", (PyCFunction) _wrap_DC_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS, NULL },
18812 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction) _wrap_DC_DrawRoundedRectangleRect, METH_VARARGS | METH_KEYWORDS, NULL },
18813 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction) _wrap_DC_DrawRoundedRectanglePointSize, METH_VARARGS | METH_KEYWORDS, NULL },
18814 { (char *)"DC_DrawCircle", (PyCFunction) _wrap_DC_DrawCircle, METH_VARARGS | METH_KEYWORDS, NULL },
18815 { (char *)"DC_DrawCirclePoint", (PyCFunction) _wrap_DC_DrawCirclePoint, METH_VARARGS | METH_KEYWORDS, NULL },
18816 { (char *)"DC_DrawEllipse", (PyCFunction) _wrap_DC_DrawEllipse, METH_VARARGS | METH_KEYWORDS, NULL },
18817 { (char *)"DC_DrawEllipseRect", (PyCFunction) _wrap_DC_DrawEllipseRect, METH_VARARGS | METH_KEYWORDS, NULL },
18818 { (char *)"DC_DrawEllipsePointSize", (PyCFunction) _wrap_DC_DrawEllipsePointSize, METH_VARARGS | METH_KEYWORDS, NULL },
18819 { (char *)"DC_DrawIcon", (PyCFunction) _wrap_DC_DrawIcon, METH_VARARGS | METH_KEYWORDS, NULL },
18820 { (char *)"DC_DrawIconPoint", (PyCFunction) _wrap_DC_DrawIconPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18821 { (char *)"DC_DrawBitmap", (PyCFunction) _wrap_DC_DrawBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18822 { (char *)"DC_DrawBitmapPoint", (PyCFunction) _wrap_DC_DrawBitmapPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18823 { (char *)"DC_DrawText", (PyCFunction) _wrap_DC_DrawText, METH_VARARGS | METH_KEYWORDS, NULL },
18824 { (char *)"DC_DrawTextPoint", (PyCFunction) _wrap_DC_DrawTextPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18825 { (char *)"DC_DrawRotatedText", (PyCFunction) _wrap_DC_DrawRotatedText, METH_VARARGS | METH_KEYWORDS, NULL },
18826 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction) _wrap_DC_DrawRotatedTextPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18827 { (char *)"DC_Blit", (PyCFunction) _wrap_DC_Blit, METH_VARARGS | METH_KEYWORDS, NULL },
18828 { (char *)"DC_BlitPointSize", (PyCFunction) _wrap_DC_BlitPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
18829 { (char *)"DC_SetClippingRegion", (PyCFunction) _wrap_DC_SetClippingRegion, METH_VARARGS | METH_KEYWORDS, NULL },
18830 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction) _wrap_DC_SetClippingRegionPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
18831 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction) _wrap_DC_SetClippingRegionAsRegion, METH_VARARGS | METH_KEYWORDS, NULL },
18832 { (char *)"DC_SetClippingRect", (PyCFunction) _wrap_DC_SetClippingRect, METH_VARARGS | METH_KEYWORDS, NULL },
18833 { (char *)"DC_DrawLines", (PyCFunction) _wrap_DC_DrawLines, METH_VARARGS | METH_KEYWORDS, NULL },
18834 { (char *)"DC_DrawPolygon", (PyCFunction) _wrap_DC_DrawPolygon, METH_VARARGS | METH_KEYWORDS, NULL },
18835 { (char *)"DC_DrawLabel", (PyCFunction) _wrap_DC_DrawLabel, METH_VARARGS | METH_KEYWORDS, NULL },
18836 { (char *)"DC_DrawImageLabel", (PyCFunction) _wrap_DC_DrawImageLabel, METH_VARARGS | METH_KEYWORDS, NULL },
18837 { (char *)"DC_DrawSpline", (PyCFunction) _wrap_DC_DrawSpline, METH_VARARGS | METH_KEYWORDS, NULL },
18838 { (char *)"DC_Clear", (PyCFunction) _wrap_DC_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
18839 { (char *)"DC_StartDoc", (PyCFunction) _wrap_DC_StartDoc, METH_VARARGS | METH_KEYWORDS, NULL },
18840 { (char *)"DC_EndDoc", (PyCFunction) _wrap_DC_EndDoc, METH_VARARGS | METH_KEYWORDS, NULL },
18841 { (char *)"DC_StartPage", (PyCFunction) _wrap_DC_StartPage, METH_VARARGS | METH_KEYWORDS, NULL },
18842 { (char *)"DC_EndPage", (PyCFunction) _wrap_DC_EndPage, METH_VARARGS | METH_KEYWORDS, NULL },
18843 { (char *)"DC_SetFont", (PyCFunction) _wrap_DC_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
18844 { (char *)"DC_SetPen", (PyCFunction) _wrap_DC_SetPen, METH_VARARGS | METH_KEYWORDS, NULL },
18845 { (char *)"DC_SetBrush", (PyCFunction) _wrap_DC_SetBrush, METH_VARARGS | METH_KEYWORDS, NULL },
18846 { (char *)"DC_SetBackground", (PyCFunction) _wrap_DC_SetBackground, METH_VARARGS | METH_KEYWORDS, NULL },
18847 { (char *)"DC_SetBackgroundMode", (PyCFunction) _wrap_DC_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS, NULL },
18848 { (char *)"DC_SetPalette", (PyCFunction) _wrap_DC_SetPalette, METH_VARARGS | METH_KEYWORDS, NULL },
18849 { (char *)"DC_DestroyClippingRegion", (PyCFunction) _wrap_DC_DestroyClippingRegion, METH_VARARGS | METH_KEYWORDS, NULL },
18850 { (char *)"DC_GetClippingBox", (PyCFunction) _wrap_DC_GetClippingBox, METH_VARARGS | METH_KEYWORDS, NULL },
18851 { (char *)"DC_GetClippingRect", (PyCFunction) _wrap_DC_GetClippingRect, METH_VARARGS | METH_KEYWORDS, NULL },
18852 { (char *)"DC_GetCharHeight", (PyCFunction) _wrap_DC_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL },
18853 { (char *)"DC_GetCharWidth", (PyCFunction) _wrap_DC_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18854 { (char *)"DC_GetTextExtent", (PyCFunction) _wrap_DC_GetTextExtent, METH_VARARGS | METH_KEYWORDS, NULL },
18855 { (char *)"DC_GetFullTextExtent", (PyCFunction) _wrap_DC_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS, NULL },
18856 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction) _wrap_DC_GetMultiLineTextExtent, METH_VARARGS | METH_KEYWORDS, NULL },
18857 { (char *)"DC_GetPartialTextExtents", (PyCFunction) _wrap_DC_GetPartialTextExtents, METH_VARARGS | METH_KEYWORDS, NULL },
18858 { (char *)"DC_GetSize", (PyCFunction) _wrap_DC_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
18859 { (char *)"DC_GetSizeTuple", (PyCFunction) _wrap_DC_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
18860 { (char *)"DC_GetSizeMM", (PyCFunction) _wrap_DC_GetSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
18861 { (char *)"DC_GetSizeMMTuple", (PyCFunction) _wrap_DC_GetSizeMMTuple, METH_VARARGS | METH_KEYWORDS, NULL },
18862 { (char *)"DC_DeviceToLogicalX", (PyCFunction) _wrap_DC_DeviceToLogicalX, METH_VARARGS | METH_KEYWORDS, NULL },
18863 { (char *)"DC_DeviceToLogicalY", (PyCFunction) _wrap_DC_DeviceToLogicalY, METH_VARARGS | METH_KEYWORDS, NULL },
18864 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction) _wrap_DC_DeviceToLogicalXRel, METH_VARARGS | METH_KEYWORDS, NULL },
18865 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction) _wrap_DC_DeviceToLogicalYRel, METH_VARARGS | METH_KEYWORDS, NULL },
18866 { (char *)"DC_LogicalToDeviceX", (PyCFunction) _wrap_DC_LogicalToDeviceX, METH_VARARGS | METH_KEYWORDS, NULL },
18867 { (char *)"DC_LogicalToDeviceY", (PyCFunction) _wrap_DC_LogicalToDeviceY, METH_VARARGS | METH_KEYWORDS, NULL },
18868 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction) _wrap_DC_LogicalToDeviceXRel, METH_VARARGS | METH_KEYWORDS, NULL },
18869 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction) _wrap_DC_LogicalToDeviceYRel, METH_VARARGS | METH_KEYWORDS, NULL },
18870 { (char *)"DC_CanDrawBitmap", (PyCFunction) _wrap_DC_CanDrawBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18871 { (char *)"DC_CanGetTextExtent", (PyCFunction) _wrap_DC_CanGetTextExtent, METH_VARARGS | METH_KEYWORDS, NULL },
18872 { (char *)"DC_GetDepth", (PyCFunction) _wrap_DC_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
18873 { (char *)"DC_GetPPI", (PyCFunction) _wrap_DC_GetPPI, METH_VARARGS | METH_KEYWORDS, NULL },
18874 { (char *)"DC_Ok", (PyCFunction) _wrap_DC_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18875 { (char *)"DC_GetBackgroundMode", (PyCFunction) _wrap_DC_GetBackgroundMode, METH_VARARGS | METH_KEYWORDS, NULL },
18876 { (char *)"DC_GetBackground", (PyCFunction) _wrap_DC_GetBackground, METH_VARARGS | METH_KEYWORDS, NULL },
18877 { (char *)"DC_GetBrush", (PyCFunction) _wrap_DC_GetBrush, METH_VARARGS | METH_KEYWORDS, NULL },
18878 { (char *)"DC_GetFont", (PyCFunction) _wrap_DC_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
18879 { (char *)"DC_GetPen", (PyCFunction) _wrap_DC_GetPen, METH_VARARGS | METH_KEYWORDS, NULL },
18880 { (char *)"DC_GetTextBackground", (PyCFunction) _wrap_DC_GetTextBackground, METH_VARARGS | METH_KEYWORDS, NULL },
18881 { (char *)"DC_GetTextForeground", (PyCFunction) _wrap_DC_GetTextForeground, METH_VARARGS | METH_KEYWORDS, NULL },
18882 { (char *)"DC_SetTextForeground", (PyCFunction) _wrap_DC_SetTextForeground, METH_VARARGS | METH_KEYWORDS, NULL },
18883 { (char *)"DC_SetTextBackground", (PyCFunction) _wrap_DC_SetTextBackground, METH_VARARGS | METH_KEYWORDS, NULL },
18884 { (char *)"DC_GetMapMode", (PyCFunction) _wrap_DC_GetMapMode, METH_VARARGS | METH_KEYWORDS, NULL },
18885 { (char *)"DC_SetMapMode", (PyCFunction) _wrap_DC_SetMapMode, METH_VARARGS | METH_KEYWORDS, NULL },
18886 { (char *)"DC_GetUserScale", (PyCFunction) _wrap_DC_GetUserScale, METH_VARARGS | METH_KEYWORDS, NULL },
18887 { (char *)"DC_SetUserScale", (PyCFunction) _wrap_DC_SetUserScale, METH_VARARGS | METH_KEYWORDS, NULL },
18888 { (char *)"DC_GetLogicalScale", (PyCFunction) _wrap_DC_GetLogicalScale, METH_VARARGS | METH_KEYWORDS, NULL },
18889 { (char *)"DC_SetLogicalScale", (PyCFunction) _wrap_DC_SetLogicalScale, METH_VARARGS | METH_KEYWORDS, NULL },
18890 { (char *)"DC_GetLogicalOrigin", (PyCFunction) _wrap_DC_GetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
18891 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction) _wrap_DC_GetLogicalOriginTuple, METH_VARARGS | METH_KEYWORDS, NULL },
18892 { (char *)"DC_SetLogicalOrigin", (PyCFunction) _wrap_DC_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
18893 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction) _wrap_DC_SetLogicalOriginPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18894 { (char *)"DC_GetDeviceOrigin", (PyCFunction) _wrap_DC_GetDeviceOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
18895 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction) _wrap_DC_GetDeviceOriginTuple, METH_VARARGS | METH_KEYWORDS, NULL },
18896 { (char *)"DC_SetDeviceOrigin", (PyCFunction) _wrap_DC_SetDeviceOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
18897 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction) _wrap_DC_SetDeviceOriginPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18898 { (char *)"DC_SetAxisOrientation", (PyCFunction) _wrap_DC_SetAxisOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
18899 { (char *)"DC_GetLogicalFunction", (PyCFunction) _wrap_DC_GetLogicalFunction, METH_VARARGS | METH_KEYWORDS, NULL },
18900 { (char *)"DC_SetLogicalFunction", (PyCFunction) _wrap_DC_SetLogicalFunction, METH_VARARGS | METH_KEYWORDS, NULL },
18901 { (char *)"DC_SetOptimization", (PyCFunction) _wrap_DC_SetOptimization, METH_VARARGS | METH_KEYWORDS, NULL },
18902 { (char *)"DC_GetOptimization", (PyCFunction) _wrap_DC_GetOptimization, METH_VARARGS | METH_KEYWORDS, NULL },
18903 { (char *)"DC_CalcBoundingBox", (PyCFunction) _wrap_DC_CalcBoundingBox, METH_VARARGS | METH_KEYWORDS, NULL },
18904 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction) _wrap_DC_CalcBoundingBoxPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18905 { (char *)"DC_ResetBoundingBox", (PyCFunction) _wrap_DC_ResetBoundingBox, METH_VARARGS | METH_KEYWORDS, NULL },
18906 { (char *)"DC_MinX", (PyCFunction) _wrap_DC_MinX, METH_VARARGS | METH_KEYWORDS, NULL },
18907 { (char *)"DC_MaxX", (PyCFunction) _wrap_DC_MaxX, METH_VARARGS | METH_KEYWORDS, NULL },
18908 { (char *)"DC_MinY", (PyCFunction) _wrap_DC_MinY, METH_VARARGS | METH_KEYWORDS, NULL },
18909 { (char *)"DC_MaxY", (PyCFunction) _wrap_DC_MaxY, METH_VARARGS | METH_KEYWORDS, NULL },
18910 { (char *)"DC_GetBoundingBox", (PyCFunction) _wrap_DC_GetBoundingBox, METH_VARARGS | METH_KEYWORDS, NULL },
18911 { (char *)"DC__DrawPointList", (PyCFunction) _wrap_DC__DrawPointList, METH_VARARGS | METH_KEYWORDS, NULL },
18912 { (char *)"DC__DrawLineList", (PyCFunction) _wrap_DC__DrawLineList, METH_VARARGS | METH_KEYWORDS, NULL },
18913 { (char *)"DC__DrawRectangleList", (PyCFunction) _wrap_DC__DrawRectangleList, METH_VARARGS | METH_KEYWORDS, NULL },
18914 { (char *)"DC__DrawEllipseList", (PyCFunction) _wrap_DC__DrawEllipseList, METH_VARARGS | METH_KEYWORDS, NULL },
18915 { (char *)"DC__DrawPolygonList", (PyCFunction) _wrap_DC__DrawPolygonList, METH_VARARGS | METH_KEYWORDS, NULL },
18916 { (char *)"DC__DrawTextList", (PyCFunction) _wrap_DC__DrawTextList, METH_VARARGS | METH_KEYWORDS, NULL },
18917 { (char *)"DC_swigregister", DC_swigregister, METH_VARARGS, NULL },
18918 { (char *)"new_MemoryDC", (PyCFunction) _wrap_new_MemoryDC, METH_VARARGS | METH_KEYWORDS, NULL },
18919 { (char *)"new_MemoryDCFromDC", (PyCFunction) _wrap_new_MemoryDCFromDC, METH_VARARGS | METH_KEYWORDS, NULL },
18920 { (char *)"MemoryDC_SelectObject", (PyCFunction) _wrap_MemoryDC_SelectObject, METH_VARARGS | METH_KEYWORDS, NULL },
18921 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister, METH_VARARGS, NULL },
18922 { (char *)"new_BufferedDC", _wrap_new_BufferedDC, METH_VARARGS, NULL },
18923 { (char *)"delete_BufferedDC", (PyCFunction) _wrap_delete_BufferedDC, METH_VARARGS | METH_KEYWORDS, NULL },
18924 { (char *)"BufferedDC_UnMask", (PyCFunction) _wrap_BufferedDC_UnMask, METH_VARARGS | METH_KEYWORDS, NULL },
18925 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister, METH_VARARGS, NULL },
18926 { (char *)"new_BufferedPaintDC", (PyCFunction) _wrap_new_BufferedPaintDC, METH_VARARGS | METH_KEYWORDS, NULL },
18927 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister, METH_VARARGS, NULL },
18928 { (char *)"new_ScreenDC", (PyCFunction) _wrap_new_ScreenDC, METH_VARARGS | METH_KEYWORDS, NULL },
18929 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction) _wrap_ScreenDC_StartDrawingOnTopWin, METH_VARARGS | METH_KEYWORDS, NULL },
18930 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction) _wrap_ScreenDC_StartDrawingOnTop, METH_VARARGS | METH_KEYWORDS, NULL },
18931 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction) _wrap_ScreenDC_EndDrawingOnTop, METH_VARARGS | METH_KEYWORDS, NULL },
18932 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister, METH_VARARGS, NULL },
18933 { (char *)"new_ClientDC", (PyCFunction) _wrap_new_ClientDC, METH_VARARGS | METH_KEYWORDS, NULL },
18934 { (char *)"ClientDC_swigregister", ClientDC_swigregister, METH_VARARGS, NULL },
18935 { (char *)"new_PaintDC", (PyCFunction) _wrap_new_PaintDC, METH_VARARGS | METH_KEYWORDS, NULL },
18936 { (char *)"PaintDC_swigregister", PaintDC_swigregister, METH_VARARGS, NULL },
18937 { (char *)"new_WindowDC", (PyCFunction) _wrap_new_WindowDC, METH_VARARGS | METH_KEYWORDS, NULL },
18938 { (char *)"WindowDC_swigregister", WindowDC_swigregister, METH_VARARGS, NULL },
18939 { (char *)"new_MirrorDC", (PyCFunction) _wrap_new_MirrorDC, METH_VARARGS | METH_KEYWORDS, NULL },
18940 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister, METH_VARARGS, NULL },
18941 { (char *)"new_PostScriptDC", (PyCFunction) _wrap_new_PostScriptDC, METH_VARARGS | METH_KEYWORDS, NULL },
18942 { (char *)"PostScriptDC_GetPrintData", (PyCFunction) _wrap_PostScriptDC_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
18943 { (char *)"PostScriptDC_SetPrintData", (PyCFunction) _wrap_PostScriptDC_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
18944 { (char *)"PostScriptDC_SetResolution", (PyCFunction) _wrap_PostScriptDC_SetResolution, METH_VARARGS | METH_KEYWORDS, NULL },
18945 { (char *)"PostScriptDC_GetResolution", (PyCFunction) _wrap_PostScriptDC_GetResolution, METH_VARARGS | METH_KEYWORDS, NULL },
18946 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister, METH_VARARGS, NULL },
18947 { (char *)"new_MetaFile", (PyCFunction) _wrap_new_MetaFile, METH_VARARGS | METH_KEYWORDS, NULL },
18948 { (char *)"MetaFile_swigregister", MetaFile_swigregister, METH_VARARGS, NULL },
18949 { (char *)"new_MetaFileDC", (PyCFunction) _wrap_new_MetaFileDC, METH_VARARGS | METH_KEYWORDS, NULL },
18950 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister, METH_VARARGS, NULL },
18951 { (char *)"new_PrinterDC", (PyCFunction) _wrap_new_PrinterDC, METH_VARARGS | METH_KEYWORDS, NULL },
18952 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister, METH_VARARGS, NULL },
18953 { (char *)"new_ImageList", (PyCFunction) _wrap_new_ImageList, METH_VARARGS | METH_KEYWORDS, NULL },
18954 { (char *)"delete_ImageList", (PyCFunction) _wrap_delete_ImageList, METH_VARARGS | METH_KEYWORDS, NULL },
18955 { (char *)"ImageList_Add", (PyCFunction) _wrap_ImageList_Add, METH_VARARGS | METH_KEYWORDS, NULL },
18956 { (char *)"ImageList_AddWithColourMask", (PyCFunction) _wrap_ImageList_AddWithColourMask, METH_VARARGS | METH_KEYWORDS, NULL },
18957 { (char *)"ImageList_AddIcon", (PyCFunction) _wrap_ImageList_AddIcon, METH_VARARGS | METH_KEYWORDS, NULL },
18958 { (char *)"ImageList_Replace", (PyCFunction) _wrap_ImageList_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
18959 { (char *)"ImageList_Draw", (PyCFunction) _wrap_ImageList_Draw, METH_VARARGS | METH_KEYWORDS, NULL },
18960 { (char *)"ImageList_GetImageCount", (PyCFunction) _wrap_ImageList_GetImageCount, METH_VARARGS | METH_KEYWORDS, NULL },
18961 { (char *)"ImageList_Remove", (PyCFunction) _wrap_ImageList_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
18962 { (char *)"ImageList_RemoveAll", (PyCFunction) _wrap_ImageList_RemoveAll, METH_VARARGS | METH_KEYWORDS, NULL },
18963 { (char *)"ImageList_GetSize", (PyCFunction) _wrap_ImageList_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
18964 { (char *)"ImageList_swigregister", ImageList_swigregister, METH_VARARGS, NULL },
18965 { (char *)"PenList_AddPen", (PyCFunction) _wrap_PenList_AddPen, METH_VARARGS | METH_KEYWORDS, NULL },
18966 { (char *)"PenList_FindOrCreatePen", (PyCFunction) _wrap_PenList_FindOrCreatePen, METH_VARARGS | METH_KEYWORDS, NULL },
18967 { (char *)"PenList_RemovePen", (PyCFunction) _wrap_PenList_RemovePen, METH_VARARGS | METH_KEYWORDS, NULL },
18968 { (char *)"PenList_GetCount", (PyCFunction) _wrap_PenList_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
18969 { (char *)"PenList_swigregister", PenList_swigregister, METH_VARARGS, NULL },
18970 { (char *)"BrushList_AddBrush", (PyCFunction) _wrap_BrushList_AddBrush, METH_VARARGS | METH_KEYWORDS, NULL },
18971 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction) _wrap_BrushList_FindOrCreateBrush, METH_VARARGS | METH_KEYWORDS, NULL },
18972 { (char *)"BrushList_RemoveBrush", (PyCFunction) _wrap_BrushList_RemoveBrush, METH_VARARGS | METH_KEYWORDS, NULL },
18973 { (char *)"BrushList_GetCount", (PyCFunction) _wrap_BrushList_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
18974 { (char *)"BrushList_swigregister", BrushList_swigregister, METH_VARARGS, NULL },
18975 { (char *)"new_ColourDatabase", (PyCFunction) _wrap_new_ColourDatabase, METH_VARARGS | METH_KEYWORDS, NULL },
18976 { (char *)"delete_ColourDatabase", (PyCFunction) _wrap_delete_ColourDatabase, METH_VARARGS | METH_KEYWORDS, NULL },
18977 { (char *)"ColourDatabase_Find", (PyCFunction) _wrap_ColourDatabase_Find, METH_VARARGS | METH_KEYWORDS, NULL },
18978 { (char *)"ColourDatabase_FindName", (PyCFunction) _wrap_ColourDatabase_FindName, METH_VARARGS | METH_KEYWORDS, NULL },
18979 { (char *)"ColourDatabase_AddColour", (PyCFunction) _wrap_ColourDatabase_AddColour, METH_VARARGS | METH_KEYWORDS, NULL },
18980 { (char *)"ColourDatabase_Append", (PyCFunction) _wrap_ColourDatabase_Append, METH_VARARGS | METH_KEYWORDS, NULL },
18981 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister, METH_VARARGS, NULL },
18982 { (char *)"FontList_AddFont", (PyCFunction) _wrap_FontList_AddFont, METH_VARARGS | METH_KEYWORDS, NULL },
18983 { (char *)"FontList_FindOrCreateFont", (PyCFunction) _wrap_FontList_FindOrCreateFont, METH_VARARGS | METH_KEYWORDS, NULL },
18984 { (char *)"FontList_RemoveFont", (PyCFunction) _wrap_FontList_RemoveFont, METH_VARARGS | METH_KEYWORDS, NULL },
18985 { (char *)"FontList_GetCount", (PyCFunction) _wrap_FontList_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
18986 { (char *)"FontList_swigregister", FontList_swigregister, METH_VARARGS, NULL },
18987 { (char *)"new_Effects", (PyCFunction) _wrap_new_Effects, METH_VARARGS | METH_KEYWORDS, NULL },
18988 { (char *)"Effects_GetHighlightColour", (PyCFunction) _wrap_Effects_GetHighlightColour, METH_VARARGS | METH_KEYWORDS, NULL },
18989 { (char *)"Effects_GetLightShadow", (PyCFunction) _wrap_Effects_GetLightShadow, METH_VARARGS | METH_KEYWORDS, NULL },
18990 { (char *)"Effects_GetFaceColour", (PyCFunction) _wrap_Effects_GetFaceColour, METH_VARARGS | METH_KEYWORDS, NULL },
18991 { (char *)"Effects_GetMediumShadow", (PyCFunction) _wrap_Effects_GetMediumShadow, METH_VARARGS | METH_KEYWORDS, NULL },
18992 { (char *)"Effects_GetDarkShadow", (PyCFunction) _wrap_Effects_GetDarkShadow, METH_VARARGS | METH_KEYWORDS, NULL },
18993 { (char *)"Effects_SetHighlightColour", (PyCFunction) _wrap_Effects_SetHighlightColour, METH_VARARGS | METH_KEYWORDS, NULL },
18994 { (char *)"Effects_SetLightShadow", (PyCFunction) _wrap_Effects_SetLightShadow, METH_VARARGS | METH_KEYWORDS, NULL },
18995 { (char *)"Effects_SetFaceColour", (PyCFunction) _wrap_Effects_SetFaceColour, METH_VARARGS | METH_KEYWORDS, NULL },
18996 { (char *)"Effects_SetMediumShadow", (PyCFunction) _wrap_Effects_SetMediumShadow, METH_VARARGS | METH_KEYWORDS, NULL },
18997 { (char *)"Effects_SetDarkShadow", (PyCFunction) _wrap_Effects_SetDarkShadow, METH_VARARGS | METH_KEYWORDS, NULL },
18998 { (char *)"Effects_Set", (PyCFunction) _wrap_Effects_Set, METH_VARARGS | METH_KEYWORDS, NULL },
18999 { (char *)"Effects_DrawSunkenEdge", (PyCFunction) _wrap_Effects_DrawSunkenEdge, METH_VARARGS | METH_KEYWORDS, NULL },
19000 { (char *)"Effects_TileBitmap", (PyCFunction) _wrap_Effects_TileBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
19001 { (char *)"Effects_swigregister", Effects_swigregister, METH_VARARGS, NULL },
19002 { NULL, NULL, 0, NULL }
d14a1e28
RD
19003};
19004
19005
19006/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19007
e811c8ce
RD
19008static void *_p_wxControlTo_p_wxWindow(void *x) {
19009 return (void *)((wxWindow *) ((wxControl *) x));
19010}
19011static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
19012 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
19013}
19014static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
19015 return (void *)((wxWindow *) ((wxMenuBar *) x));
19016}
d14a1e28
RD
19017static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x) {
19018 return (void *)((wxMemoryDC *) ((wxBufferedDC *) x));
19019}
19020static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x) {
19021 return (void *)((wxMemoryDC *) (wxBufferedDC *) ((wxBufferedPaintDC *) x));
19022}
d14a1e28
RD
19023static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
19024 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
19025}
19026static void *_p_wxPenTo_p_wxObject(void *x) {
19027 return (void *)((wxObject *) (wxGDIObject *) ((wxPen *) x));
19028}
19029static void *_p_wxRegionIteratorTo_p_wxObject(void *x) {
19030 return (void *)((wxObject *) ((wxRegionIterator *) x));
19031}
19032static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
19033 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
19034}
19035static void *_p_wxSizerItemTo_p_wxObject(void *x) {
19036 return (void *)((wxObject *) ((wxSizerItem *) x));
19037}
19038static void *_p_wxColourDatabaseTo_p_wxObject(void *x) {
19039 return (void *)((wxObject *) ((wxColourDatabase *) x));
19040}
19041static void *_p_wxScrollEventTo_p_wxObject(void *x) {
19042 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
19043}
19044static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
19045 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
19046}
19047static void *_p_wxIconTo_p_wxObject(void *x) {
19048 return (void *)((wxObject *) (wxGDIObject *) ((wxIcon *) x));
19049}
19050static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
19051 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
19052}
19053static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
19054 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
19055}
19056static void *_p_wxSizerTo_p_wxObject(void *x) {
19057 return (void *)((wxObject *) ((wxSizer *) x));
19058}
19059static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
19060 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
19061}
19062static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
19063 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
19064}
19065static void *_p_wxPenListTo_p_wxObject(void *x) {
19066 return (void *)((wxObject *) ((wxPenList *) x));
19067}
19068static void *_p_wxEventTo_p_wxObject(void *x) {
19069 return (void *)((wxObject *) ((wxEvent *) x));
19070}
19071static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
19072 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
19073}
19074static void *_p_wxGridSizerTo_p_wxObject(void *x) {
19075 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
19076}
19077static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
19078 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
19079}
19080static void *_p_wxPaintEventTo_p_wxObject(void *x) {
19081 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
19082}
19083static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
19084 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
19085}
19086static void *_p_wxDCTo_p_wxObject(void *x) {
19087 return (void *)((wxObject *) ((wxDC *) x));
19088}
19089static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
19090 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
19091}
19092static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
19093 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
19094}
19095static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
19096 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
19097}
19098static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
19099 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
19100}
19101static void *_p_wxControlTo_p_wxObject(void *x) {
19102 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
19103}
19104static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
19105 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
19106}
19107static void *_p_wxClientDCTo_p_wxObject(void *x) {
19108 return (void *)((wxObject *) (wxDC *) ((wxClientDC *) x));
19109}
19110static void *_p_wxFSFileTo_p_wxObject(void *x) {
19111 return (void *)((wxObject *) ((wxFSFile *) x));
19112}
19113static void *_p_wxMemoryDCTo_p_wxObject(void *x) {
19114 return (void *)((wxObject *) (wxDC *) ((wxMemoryDC *) x));
19115}
19116static void *_p_wxRegionTo_p_wxObject(void *x) {
19117 return (void *)((wxObject *) (wxGDIObject *) ((wxRegion *) x));
19118}
19119static void *_p_wxPySizerTo_p_wxObject(void *x) {
19120 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
19121}
19122static void *_p_wxWindowDCTo_p_wxObject(void *x) {
19123 return (void *)((wxObject *) (wxDC *) ((wxWindowDC *) x));
19124}
19125static void *_p_wxGDIObjectTo_p_wxObject(void *x) {
19126 return (void *)((wxObject *) ((wxGDIObject *) x));
19127}
19128static void *_p_wxEffectsTo_p_wxObject(void *x) {
19129 return (void *)((wxObject *) ((wxEffects *) x));
19130}
19131static void *_p_wxPyEventTo_p_wxObject(void *x) {
19132 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
19133}
19134static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
19135 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
19136}
19137static void *_p_wxPostScriptDCTo_p_wxObject(void *x) {
19138 return (void *)((wxObject *) (wxDC *) ((wxPostScriptDC *) x));
19139}
19140static void *_p_wxShowEventTo_p_wxObject(void *x) {
19141 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
19142}
19143static void *_p_wxMenuItemTo_p_wxObject(void *x) {
19144 return (void *)((wxObject *) ((wxMenuItem *) x));
19145}
19146static void *_p_wxIdleEventTo_p_wxObject(void *x) {
19147 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
19148}
19149static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
19150 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
19151}
19152static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
19153 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
19154}
19155static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
19156 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
19157}
19158static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
19159 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
19160}
19161static void *_p_wxSizeEventTo_p_wxObject(void *x) {
19162 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
19163}
19164static void *_p_wxMoveEventTo_p_wxObject(void *x) {
19165 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
19166}
19167static void *_p_wxActivateEventTo_p_wxObject(void *x) {
19168 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
19169}
19170static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
19171 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
19172}
19173static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
19174 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
19175}
19176static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
19177 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
19178}
19179static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
19180 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
19181}
19182static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
19183 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
19184}
19185static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
19186 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
19187}
19188static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
19189 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
19190}
19191static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
19192 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
19193}
19194static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
19195 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
19196}
19197static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
19198 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
19199}
19200static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
19201 return (void *)((wxObject *) ((wxImageHandler *) x));
19202}
19203static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
19204 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
19205}
19206static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
19207 return (void *)((wxObject *) ((wxEvtHandler *) x));
19208}
19209static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x) {
19210 return (void *)((wxObject *) (wxDC *)(wxMemoryDC *)(wxBufferedDC *) ((wxBufferedPaintDC *) x));
19211}
19212static void *_p_wxPaintDCTo_p_wxObject(void *x) {
19213 return (void *)((wxObject *) (wxDC *) ((wxPaintDC *) x));
19214}
19215static void *_p_wxPrinterDCTo_p_wxObject(void *x) {
19216 return (void *)((wxObject *) (wxDC *) ((wxPrinterDC *) x));
19217}
19218static void *_p_wxScreenDCTo_p_wxObject(void *x) {
19219 return (void *)((wxObject *) (wxDC *) ((wxScreenDC *) x));
19220}
1e0c8722
RD
19221static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
19222 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
19223}
d14a1e28
RD
19224static void *_p_wxImageTo_p_wxObject(void *x) {
19225 return (void *)((wxObject *) ((wxImage *) x));
19226}
19227static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
19228 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
19229}
d14a1e28
RD
19230static void *_p_wxPaletteTo_p_wxObject(void *x) {
19231 return (void *)((wxObject *) (wxGDIObject *) ((wxPalette *) x));
19232}
19233static void *_p_wxBufferedDCTo_p_wxObject(void *x) {
19234 return (void *)((wxObject *) (wxDC *)(wxMemoryDC *) ((wxBufferedDC *) x));
19235}
19236static void *_p_wxImageListTo_p_wxObject(void *x) {
19237 return (void *)((wxObject *) ((wxImageList *) x));
19238}
19239static void *_p_wxCursorTo_p_wxObject(void *x) {
19240 return (void *)((wxObject *) (wxGDIObject *) ((wxCursor *) x));
19241}
19242static void *_p_wxEncodingConverterTo_p_wxObject(void *x) {
19243 return (void *)((wxObject *) ((wxEncodingConverter *) x));
19244}
19245static void *_p_wxMirrorDCTo_p_wxObject(void *x) {
19246 return (void *)((wxObject *) (wxDC *) ((wxMirrorDC *) x));
19247}
19248static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
19249 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
19250}
19251static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
19252 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
19253}
19254static void *_p_wxKeyEventTo_p_wxObject(void *x) {
19255 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
19256}
19257static void *_p_wxWindowTo_p_wxObject(void *x) {
19258 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
19259}
19260static void *_p_wxMenuTo_p_wxObject(void *x) {
19261 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
19262}
19263static void *_p_wxMenuBarTo_p_wxObject(void *x) {
19264 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
19265}
19266static void *_p_wxMetaFileDCTo_p_wxObject(void *x) {
19267 return (void *)((wxObject *) (wxDC *) ((wxMetaFileDC *) x));
19268}
19269static void *_p_wxBrushListTo_p_wxObject(void *x) {
19270 return (void *)((wxObject *) ((wxBrushList *) x));
19271}
d14a1e28
RD
19272static void *_p_wxFileSystemTo_p_wxObject(void *x) {
19273 return (void *)((wxObject *) ((wxFileSystem *) x));
19274}
19275static void *_p_wxBitmapTo_p_wxObject(void *x) {
19276 return (void *)((wxObject *) (wxGDIObject *) ((wxBitmap *) x));
19277}
19278static void *_p_wxMaskTo_p_wxObject(void *x) {
19279 return (void *)((wxObject *) ((wxMask *) x));
19280}
19281static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
19282 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
19283}
19284static void *_p_wxMenuEventTo_p_wxObject(void *x) {
19285 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
19286}
19287static void *_p_wxPyAppTo_p_wxObject(void *x) {
19288 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
19289}
19290static void *_p_wxCloseEventTo_p_wxObject(void *x) {
19291 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
19292}
19293static void *_p_wxMouseEventTo_p_wxObject(void *x) {
19294 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
19295}
19296static void *_p_wxEraseEventTo_p_wxObject(void *x) {
19297 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
19298}
19299static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
19300 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
19301}
19302static void *_p_wxCommandEventTo_p_wxObject(void *x) {
19303 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
19304}
19305static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
19306 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
19307}
19308static void *_p_wxFocusEventTo_p_wxObject(void *x) {
19309 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
19310}
19311static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
19312 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
19313}
19314static void *_p_wxFontTo_p_wxObject(void *x) {
19315 return (void *)((wxObject *) (wxGDIObject *) ((wxFont *) x));
19316}
19317static void *_p_wxBrushTo_p_wxObject(void *x) {
19318 return (void *)((wxObject *) (wxGDIObject *) ((wxBrush *) x));
19319}
19320static void *_p_wxMetaFileTo_p_wxObject(void *x) {
19321 return (void *)((wxObject *) ((wxMetaFile *) x));
19322}
19323static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
19324 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
19325}
19326static void *_p_wxColourTo_p_wxObject(void *x) {
19327 return (void *)((wxObject *) ((wxColour *) x));
19328}
19329static void *_p_wxFontListTo_p_wxObject(void *x) {
19330 return (void *)((wxObject *) ((wxFontList *) x));
19331}
19332static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
19333 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
19334}
19335static void *_p_wxValidatorTo_p_wxObject(void *x) {
19336 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
19337}
e811c8ce
RD
19338static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x) {
19339 return (void *)((wxBufferedDC *) ((wxBufferedPaintDC *) x));
d14a1e28 19340}
e811c8ce
RD
19341static void *_p_wxBufferedDCTo_p_wxDC(void *x) {
19342 return (void *)((wxDC *) (wxMemoryDC *) ((wxBufferedDC *) x));
d14a1e28 19343}
e811c8ce
RD
19344static void *_p_wxScreenDCTo_p_wxDC(void *x) {
19345 return (void *)((wxDC *) ((wxScreenDC *) x));
19346}
19347static void *_p_wxMirrorDCTo_p_wxDC(void *x) {
19348 return (void *)((wxDC *) ((wxMirrorDC *) x));
19349}
19350static void *_p_wxMemoryDCTo_p_wxDC(void *x) {
19351 return (void *)((wxDC *) ((wxMemoryDC *) x));
19352}
19353static void *_p_wxWindowDCTo_p_wxDC(void *x) {
19354 return (void *)((wxDC *) ((wxWindowDC *) x));
19355}
19356static void *_p_wxMetaFileDCTo_p_wxDC(void *x) {
19357 return (void *)((wxDC *) ((wxMetaFileDC *) x));
19358}
19359static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x) {
19360 return (void *)((wxDC *) (wxMemoryDC *)(wxBufferedDC *) ((wxBufferedPaintDC *) x));
19361}
19362static void *_p_wxClientDCTo_p_wxDC(void *x) {
19363 return (void *)((wxDC *) ((wxClientDC *) x));
19364}
19365static void *_p_wxPaintDCTo_p_wxDC(void *x) {
19366 return (void *)((wxDC *) ((wxPaintDC *) x));
19367}
19368static void *_p_wxPostScriptDCTo_p_wxDC(void *x) {
19369 return (void *)((wxDC *) ((wxPostScriptDC *) x));
19370}
19371static void *_p_wxPrinterDCTo_p_wxDC(void *x) {
19372 return (void *)((wxDC *) ((wxPrinterDC *) x));
19373}
e811c8ce
RD
19374static void *_p_wxIconTo_p_wxGDIObject(void *x) {
19375 return (void *)((wxGDIObject *) ((wxIcon *) x));
19376}
19377static void *_p_wxPaletteTo_p_wxGDIObject(void *x) {
19378 return (void *)((wxGDIObject *) ((wxPalette *) x));
19379}
19380static void *_p_wxPenTo_p_wxGDIObject(void *x) {
19381 return (void *)((wxGDIObject *) ((wxPen *) x));
19382}
19383static void *_p_wxFontTo_p_wxGDIObject(void *x) {
19384 return (void *)((wxGDIObject *) ((wxFont *) x));
19385}
19386static void *_p_wxCursorTo_p_wxGDIObject(void *x) {
19387 return (void *)((wxGDIObject *) ((wxCursor *) x));
19388}
19389static void *_p_wxBitmapTo_p_wxGDIObject(void *x) {
19390 return (void *)((wxGDIObject *) ((wxBitmap *) x));
19391}
19392static void *_p_wxRegionTo_p_wxGDIObject(void *x) {
19393 return (void *)((wxGDIObject *) ((wxRegion *) x));
19394}
19395static void *_p_wxBrushTo_p_wxGDIObject(void *x) {
19396 return (void *)((wxGDIObject *) ((wxBrush *) x));
19397}
15afbcd0
RD
19398static 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}};
19399static 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}};
19400static 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}};
19401static 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}};
19402static 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}};
19403static 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}};
19404static 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}};
19405static 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}};
19406static 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}};
19407static 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}};
19408static 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}};
19409static 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 19410static 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
19411static 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}};
19412static 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
19413static 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}};
19414static 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}};
19415static 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}};
19416static 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}};
19417static 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}};
19418static 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}};
19419static 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 19420static 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
19421static 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}};
19422static 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}};
19423static 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}};
19424static 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}};
19425static 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}};
19426static 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}};
19427static 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}};
19428static 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}};
19429static 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}};
19430static 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}};
19431static 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}};
19432static 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}};
19433static 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 19434static 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
19435static 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}};
19436static 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}};
19437static 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 19438static 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 19439static 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
19440static 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}};
19441static 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}};
19442static 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}};
19443static 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 19444static 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
19445static 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}};
19446static 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}};
19447static 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
19448static 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}};
19449static 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}};
19450static 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}};
19451static 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}};
19452static 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
19453
19454static swig_type_info *swig_types_initial[] = {
19455_swigt__p_wxPostScriptDC,
d14a1e28
RD
19456_swigt__p_wxBrush,
19457_swigt__p_wxColour,
d14a1e28
RD
19458_swigt__p_wxDC,
19459_swigt__p_wxMirrorDC,
19460_swigt__p_byte,
19461_swigt__p_wxPyFontEnumerator,
994141e6 19462_swigt__p_char,
d14a1e28
RD
19463_swigt__p_wxIconLocation,
19464_swigt__p_wxImage,
19465_swigt__p_wxMetaFileDC,
19466_swigt__p_wxMask,
b2df227b 19467_swigt__p_wxSize,
d14a1e28
RD
19468_swigt__p_wxFont,
19469_swigt__p_wxWindow,
d14a1e28
RD
19470_swigt__p_double,
19471_swigt__p_wxMemoryDC,
19472_swigt__p_wxFontMapper,
d14a1e28
RD
19473_swigt__p_wxEffects,
19474_swigt__p_wxNativeEncodingInfo,
19475_swigt__p_wxPalette,
19476_swigt__p_wxBitmap,
19477_swigt__p_wxObject,
19478_swigt__p_wxRegionIterator,
19479_swigt__p_wxRect,
19480_swigt__p_wxString,
19481_swigt__p_wxPrinterDC,
19482_swigt__p_wxIconBundle,
19483_swigt__p_wxPoint,
19484_swigt__p_wxDash,
19485_swigt__p_wxScreenDC,
19486_swigt__p_wxCursor,
19487_swigt__p_wxClientDC,
d14a1e28
RD
19488_swigt__p_wxBufferedDC,
19489_swigt__p_wxImageList,
19490_swigt__p_unsigned_char,
19491_swigt__p_wxGDIObject,
d14a1e28 19492_swigt__p_wxIcon,
994141e6 19493_swigt__p_wxLocale,
d14a1e28 19494_swigt__p_wxRegion,
b2df227b 19495_swigt__p_wxLanguageInfo,
66c033b4 19496_swigt__p_wxConfigBase,
d14a1e28
RD
19497_swigt__p_wxWindowDC,
19498_swigt__p_wxPrintData,
19499_swigt__p_wxBrushList,
19500_swigt__p_wxFontList,
19501_swigt__p_wxPen,
19502_swigt__p_wxBufferedPaintDC,
19503_swigt__p_wxPaintDC,
19504_swigt__p_wxPenList,
d14a1e28
RD
19505_swigt__p_int,
19506_swigt__p_wxMetaFile,
19507_swigt__p_wxNativeFontInfo,
19508_swigt__p_wxEncodingConverter,
19509_swigt__p_wxColourDatabase,
195100
19511};
19512
19513
19514/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19515
19516static swig_const_info swig_const_table[] = {
c32bde28 19517{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
19518
19519#ifdef __cplusplus
19520}
19521#endif
19522
19523#ifdef __cplusplus
19524extern "C"
19525#endif
19526SWIGEXPORT(void) SWIG_init(void) {
19527 static PyObject *SWIG_globals = 0;
19528 static int typeinit = 0;
19529 PyObject *m, *d;
19530 int i;
19531 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
19532 m = Py_InitModule((char *) SWIG_name, SwigMethods);
19533 d = PyModule_GetDict(m);
19534
19535 if (!typeinit) {
19536 for (i = 0; swig_types_initial[i]; i++) {
19537 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
19538 }
19539 typeinit = 1;
19540 }
19541 SWIG_InstallConstants(d,swig_const_table);
19542
c32bde28
RD
19543 PyDict_SetItemString(d,"OutRegion", SWIG_From_int((int)wxOutRegion));
19544 PyDict_SetItemString(d,"PartRegion", SWIG_From_int((int)wxPartRegion));
19545 PyDict_SetItemString(d,"InRegion", SWIG_From_int((int)wxInRegion));
19546 PyDict_SetItemString(d,"FONTFAMILY_DEFAULT", SWIG_From_int((int)wxFONTFAMILY_DEFAULT));
19547 PyDict_SetItemString(d,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)wxFONTFAMILY_DECORATIVE));
19548 PyDict_SetItemString(d,"FONTFAMILY_ROMAN", SWIG_From_int((int)wxFONTFAMILY_ROMAN));
19549 PyDict_SetItemString(d,"FONTFAMILY_SCRIPT", SWIG_From_int((int)wxFONTFAMILY_SCRIPT));
19550 PyDict_SetItemString(d,"FONTFAMILY_SWISS", SWIG_From_int((int)wxFONTFAMILY_SWISS));
19551 PyDict_SetItemString(d,"FONTFAMILY_MODERN", SWIG_From_int((int)wxFONTFAMILY_MODERN));
19552 PyDict_SetItemString(d,"FONTFAMILY_TELETYPE", SWIG_From_int((int)wxFONTFAMILY_TELETYPE));
19553 PyDict_SetItemString(d,"FONTFAMILY_MAX", SWIG_From_int((int)wxFONTFAMILY_MAX));
19554 PyDict_SetItemString(d,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)wxFONTFAMILY_UNKNOWN));
19555 PyDict_SetItemString(d,"FONTSTYLE_NORMAL", SWIG_From_int((int)wxFONTSTYLE_NORMAL));
19556 PyDict_SetItemString(d,"FONTSTYLE_ITALIC", SWIG_From_int((int)wxFONTSTYLE_ITALIC));
19557 PyDict_SetItemString(d,"FONTSTYLE_SLANT", SWIG_From_int((int)wxFONTSTYLE_SLANT));
19558 PyDict_SetItemString(d,"FONTSTYLE_MAX", SWIG_From_int((int)wxFONTSTYLE_MAX));
19559 PyDict_SetItemString(d,"FONTWEIGHT_NORMAL", SWIG_From_int((int)wxFONTWEIGHT_NORMAL));
19560 PyDict_SetItemString(d,"FONTWEIGHT_LIGHT", SWIG_From_int((int)wxFONTWEIGHT_LIGHT));
19561 PyDict_SetItemString(d,"FONTWEIGHT_BOLD", SWIG_From_int((int)wxFONTWEIGHT_BOLD));
19562 PyDict_SetItemString(d,"FONTWEIGHT_MAX", SWIG_From_int((int)wxFONTWEIGHT_MAX));
19563 PyDict_SetItemString(d,"FONTFLAG_DEFAULT", SWIG_From_int((int)wxFONTFLAG_DEFAULT));
19564 PyDict_SetItemString(d,"FONTFLAG_ITALIC", SWIG_From_int((int)wxFONTFLAG_ITALIC));
19565 PyDict_SetItemString(d,"FONTFLAG_SLANT", SWIG_From_int((int)wxFONTFLAG_SLANT));
19566 PyDict_SetItemString(d,"FONTFLAG_LIGHT", SWIG_From_int((int)wxFONTFLAG_LIGHT));
19567 PyDict_SetItemString(d,"FONTFLAG_BOLD", SWIG_From_int((int)wxFONTFLAG_BOLD));
19568 PyDict_SetItemString(d,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_ANTIALIASED));
19569 PyDict_SetItemString(d,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_NOT_ANTIALIASED));
19570 PyDict_SetItemString(d,"FONTFLAG_UNDERLINED", SWIG_From_int((int)wxFONTFLAG_UNDERLINED));
19571 PyDict_SetItemString(d,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)wxFONTFLAG_STRIKETHROUGH));
19572 PyDict_SetItemString(d,"FONTFLAG_MASK", SWIG_From_int((int)wxFONTFLAG_MASK));
19573 PyDict_SetItemString(d,"FONTENCODING_SYSTEM", SWIG_From_int((int)wxFONTENCODING_SYSTEM));
19574 PyDict_SetItemString(d,"FONTENCODING_DEFAULT", SWIG_From_int((int)wxFONTENCODING_DEFAULT));
19575 PyDict_SetItemString(d,"FONTENCODING_ISO8859_1", SWIG_From_int((int)wxFONTENCODING_ISO8859_1));
19576 PyDict_SetItemString(d,"FONTENCODING_ISO8859_2", SWIG_From_int((int)wxFONTENCODING_ISO8859_2));
19577 PyDict_SetItemString(d,"FONTENCODING_ISO8859_3", SWIG_From_int((int)wxFONTENCODING_ISO8859_3));
19578 PyDict_SetItemString(d,"FONTENCODING_ISO8859_4", SWIG_From_int((int)wxFONTENCODING_ISO8859_4));
19579 PyDict_SetItemString(d,"FONTENCODING_ISO8859_5", SWIG_From_int((int)wxFONTENCODING_ISO8859_5));
19580 PyDict_SetItemString(d,"FONTENCODING_ISO8859_6", SWIG_From_int((int)wxFONTENCODING_ISO8859_6));
19581 PyDict_SetItemString(d,"FONTENCODING_ISO8859_7", SWIG_From_int((int)wxFONTENCODING_ISO8859_7));
19582 PyDict_SetItemString(d,"FONTENCODING_ISO8859_8", SWIG_From_int((int)wxFONTENCODING_ISO8859_8));
19583 PyDict_SetItemString(d,"FONTENCODING_ISO8859_9", SWIG_From_int((int)wxFONTENCODING_ISO8859_9));
19584 PyDict_SetItemString(d,"FONTENCODING_ISO8859_10", SWIG_From_int((int)wxFONTENCODING_ISO8859_10));
19585 PyDict_SetItemString(d,"FONTENCODING_ISO8859_11", SWIG_From_int((int)wxFONTENCODING_ISO8859_11));
19586 PyDict_SetItemString(d,"FONTENCODING_ISO8859_12", SWIG_From_int((int)wxFONTENCODING_ISO8859_12));
19587 PyDict_SetItemString(d,"FONTENCODING_ISO8859_13", SWIG_From_int((int)wxFONTENCODING_ISO8859_13));
19588 PyDict_SetItemString(d,"FONTENCODING_ISO8859_14", SWIG_From_int((int)wxFONTENCODING_ISO8859_14));
19589 PyDict_SetItemString(d,"FONTENCODING_ISO8859_15", SWIG_From_int((int)wxFONTENCODING_ISO8859_15));
19590 PyDict_SetItemString(d,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)wxFONTENCODING_ISO8859_MAX));
19591 PyDict_SetItemString(d,"FONTENCODING_KOI8", SWIG_From_int((int)wxFONTENCODING_KOI8));
19592 PyDict_SetItemString(d,"FONTENCODING_KOI8_U", SWIG_From_int((int)wxFONTENCODING_KOI8_U));
19593 PyDict_SetItemString(d,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)wxFONTENCODING_ALTERNATIVE));
19594 PyDict_SetItemString(d,"FONTENCODING_BULGARIAN", SWIG_From_int((int)wxFONTENCODING_BULGARIAN));
19595 PyDict_SetItemString(d,"FONTENCODING_CP437", SWIG_From_int((int)wxFONTENCODING_CP437));
19596 PyDict_SetItemString(d,"FONTENCODING_CP850", SWIG_From_int((int)wxFONTENCODING_CP850));
19597 PyDict_SetItemString(d,"FONTENCODING_CP852", SWIG_From_int((int)wxFONTENCODING_CP852));
19598 PyDict_SetItemString(d,"FONTENCODING_CP855", SWIG_From_int((int)wxFONTENCODING_CP855));
19599 PyDict_SetItemString(d,"FONTENCODING_CP866", SWIG_From_int((int)wxFONTENCODING_CP866));
19600 PyDict_SetItemString(d,"FONTENCODING_CP874", SWIG_From_int((int)wxFONTENCODING_CP874));
19601 PyDict_SetItemString(d,"FONTENCODING_CP932", SWIG_From_int((int)wxFONTENCODING_CP932));
19602 PyDict_SetItemString(d,"FONTENCODING_CP936", SWIG_From_int((int)wxFONTENCODING_CP936));
19603 PyDict_SetItemString(d,"FONTENCODING_CP949", SWIG_From_int((int)wxFONTENCODING_CP949));
19604 PyDict_SetItemString(d,"FONTENCODING_CP950", SWIG_From_int((int)wxFONTENCODING_CP950));
19605 PyDict_SetItemString(d,"FONTENCODING_CP1250", SWIG_From_int((int)wxFONTENCODING_CP1250));
19606 PyDict_SetItemString(d,"FONTENCODING_CP1251", SWIG_From_int((int)wxFONTENCODING_CP1251));
19607 PyDict_SetItemString(d,"FONTENCODING_CP1252", SWIG_From_int((int)wxFONTENCODING_CP1252));
19608 PyDict_SetItemString(d,"FONTENCODING_CP1253", SWIG_From_int((int)wxFONTENCODING_CP1253));
19609 PyDict_SetItemString(d,"FONTENCODING_CP1254", SWIG_From_int((int)wxFONTENCODING_CP1254));
19610 PyDict_SetItemString(d,"FONTENCODING_CP1255", SWIG_From_int((int)wxFONTENCODING_CP1255));
19611 PyDict_SetItemString(d,"FONTENCODING_CP1256", SWIG_From_int((int)wxFONTENCODING_CP1256));
19612 PyDict_SetItemString(d,"FONTENCODING_CP1257", SWIG_From_int((int)wxFONTENCODING_CP1257));
19613 PyDict_SetItemString(d,"FONTENCODING_CP12_MAX", SWIG_From_int((int)wxFONTENCODING_CP12_MAX));
19614 PyDict_SetItemString(d,"FONTENCODING_UTF7", SWIG_From_int((int)wxFONTENCODING_UTF7));
19615 PyDict_SetItemString(d,"FONTENCODING_UTF8", SWIG_From_int((int)wxFONTENCODING_UTF8));
19616 PyDict_SetItemString(d,"FONTENCODING_EUC_JP", SWIG_From_int((int)wxFONTENCODING_EUC_JP));
19617 PyDict_SetItemString(d,"FONTENCODING_UTF16BE", SWIG_From_int((int)wxFONTENCODING_UTF16BE));
19618 PyDict_SetItemString(d,"FONTENCODING_UTF16LE", SWIG_From_int((int)wxFONTENCODING_UTF16LE));
19619 PyDict_SetItemString(d,"FONTENCODING_UTF32BE", SWIG_From_int((int)wxFONTENCODING_UTF32BE));
19620 PyDict_SetItemString(d,"FONTENCODING_UTF32LE", SWIG_From_int((int)wxFONTENCODING_UTF32LE));
19621 PyDict_SetItemString(d,"FONTENCODING_MACROMAN", SWIG_From_int((int)wxFONTENCODING_MACROMAN));
19622 PyDict_SetItemString(d,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)wxFONTENCODING_MACJAPANESE));
19623 PyDict_SetItemString(d,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)wxFONTENCODING_MACCHINESETRAD));
19624 PyDict_SetItemString(d,"FONTENCODING_MACKOREAN", SWIG_From_int((int)wxFONTENCODING_MACKOREAN));
19625 PyDict_SetItemString(d,"FONTENCODING_MACARABIC", SWIG_From_int((int)wxFONTENCODING_MACARABIC));
19626 PyDict_SetItemString(d,"FONTENCODING_MACHEBREW", SWIG_From_int((int)wxFONTENCODING_MACHEBREW));
19627 PyDict_SetItemString(d,"FONTENCODING_MACGREEK", SWIG_From_int((int)wxFONTENCODING_MACGREEK));
19628 PyDict_SetItemString(d,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)wxFONTENCODING_MACCYRILLIC));
19629 PyDict_SetItemString(d,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)wxFONTENCODING_MACDEVANAGARI));
19630 PyDict_SetItemString(d,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)wxFONTENCODING_MACGURMUKHI));
19631 PyDict_SetItemString(d,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)wxFONTENCODING_MACGUJARATI));
19632 PyDict_SetItemString(d,"FONTENCODING_MACORIYA", SWIG_From_int((int)wxFONTENCODING_MACORIYA));
19633 PyDict_SetItemString(d,"FONTENCODING_MACBENGALI", SWIG_From_int((int)wxFONTENCODING_MACBENGALI));
19634 PyDict_SetItemString(d,"FONTENCODING_MACTAMIL", SWIG_From_int((int)wxFONTENCODING_MACTAMIL));
19635 PyDict_SetItemString(d,"FONTENCODING_MACTELUGU", SWIG_From_int((int)wxFONTENCODING_MACTELUGU));
19636 PyDict_SetItemString(d,"FONTENCODING_MACKANNADA", SWIG_From_int((int)wxFONTENCODING_MACKANNADA));
19637 PyDict_SetItemString(d,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)wxFONTENCODING_MACMALAJALAM));
19638 PyDict_SetItemString(d,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)wxFONTENCODING_MACSINHALESE));
19639 PyDict_SetItemString(d,"FONTENCODING_MACBURMESE", SWIG_From_int((int)wxFONTENCODING_MACBURMESE));
19640 PyDict_SetItemString(d,"FONTENCODING_MACKHMER", SWIG_From_int((int)wxFONTENCODING_MACKHMER));
19641 PyDict_SetItemString(d,"FONTENCODING_MACTHAI", SWIG_From_int((int)wxFONTENCODING_MACTHAI));
19642 PyDict_SetItemString(d,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)wxFONTENCODING_MACLAOTIAN));
19643 PyDict_SetItemString(d,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)wxFONTENCODING_MACGEORGIAN));
19644 PyDict_SetItemString(d,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)wxFONTENCODING_MACARMENIAN));
19645 PyDict_SetItemString(d,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)wxFONTENCODING_MACCHINESESIMP));
19646 PyDict_SetItemString(d,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)wxFONTENCODING_MACTIBETAN));
19647 PyDict_SetItemString(d,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)wxFONTENCODING_MACMONGOLIAN));
19648 PyDict_SetItemString(d,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)wxFONTENCODING_MACETHIOPIC));
19649 PyDict_SetItemString(d,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)wxFONTENCODING_MACCENTRALEUR));
19650 PyDict_SetItemString(d,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)wxFONTENCODING_MACVIATNAMESE));
19651 PyDict_SetItemString(d,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)wxFONTENCODING_MACARABICEXT));
19652 PyDict_SetItemString(d,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)wxFONTENCODING_MACSYMBOL));
19653 PyDict_SetItemString(d,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)wxFONTENCODING_MACDINGBATS));
19654 PyDict_SetItemString(d,"FONTENCODING_MACTURKISH", SWIG_From_int((int)wxFONTENCODING_MACTURKISH));
19655 PyDict_SetItemString(d,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)wxFONTENCODING_MACCROATIAN));
19656 PyDict_SetItemString(d,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)wxFONTENCODING_MACICELANDIC));
19657 PyDict_SetItemString(d,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)wxFONTENCODING_MACROMANIAN));
19658 PyDict_SetItemString(d,"FONTENCODING_MACCELTIC", SWIG_From_int((int)wxFONTENCODING_MACCELTIC));
19659 PyDict_SetItemString(d,"FONTENCODING_MACGAELIC", SWIG_From_int((int)wxFONTENCODING_MACGAELIC));
19660 PyDict_SetItemString(d,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)wxFONTENCODING_MACKEYBOARD));
19661 PyDict_SetItemString(d,"FONTENCODING_MACMIN", SWIG_From_int((int)wxFONTENCODING_MACMIN));
19662 PyDict_SetItemString(d,"FONTENCODING_MACMAX", SWIG_From_int((int)wxFONTENCODING_MACMAX));
19663 PyDict_SetItemString(d,"FONTENCODING_MAX", SWIG_From_int((int)wxFONTENCODING_MAX));
19664 PyDict_SetItemString(d,"FONTENCODING_UTF16", SWIG_From_int((int)wxFONTENCODING_UTF16));
19665 PyDict_SetItemString(d,"FONTENCODING_UTF32", SWIG_From_int((int)wxFONTENCODING_UTF32));
19666 PyDict_SetItemString(d,"FONTENCODING_UNICODE", SWIG_From_int((int)wxFONTENCODING_UNICODE));
19667 PyDict_SetItemString(d,"FONTENCODING_GB2312", SWIG_From_int((int)wxFONTENCODING_GB2312));
19668 PyDict_SetItemString(d,"FONTENCODING_BIG5", SWIG_From_int((int)wxFONTENCODING_BIG5));
19669 PyDict_SetItemString(d,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)wxFONTENCODING_SHIFT_JIS));
d14a1e28
RD
19670
19671 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19672
c32bde28
RD
19673 PyDict_SetItemString(d,"LANGUAGE_DEFAULT", SWIG_From_int((int)wxLANGUAGE_DEFAULT));
19674 PyDict_SetItemString(d,"LANGUAGE_UNKNOWN", SWIG_From_int((int)wxLANGUAGE_UNKNOWN));
19675 PyDict_SetItemString(d,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)wxLANGUAGE_ABKHAZIAN));
19676 PyDict_SetItemString(d,"LANGUAGE_AFAR", SWIG_From_int((int)wxLANGUAGE_AFAR));
19677 PyDict_SetItemString(d,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)wxLANGUAGE_AFRIKAANS));
19678 PyDict_SetItemString(d,"LANGUAGE_ALBANIAN", SWIG_From_int((int)wxLANGUAGE_ALBANIAN));
19679 PyDict_SetItemString(d,"LANGUAGE_AMHARIC", SWIG_From_int((int)wxLANGUAGE_AMHARIC));
19680 PyDict_SetItemString(d,"LANGUAGE_ARABIC", SWIG_From_int((int)wxLANGUAGE_ARABIC));
19681 PyDict_SetItemString(d,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_ALGERIA));
19682 PyDict_SetItemString(d,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)wxLANGUAGE_ARABIC_BAHRAIN));
19683 PyDict_SetItemString(d,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)wxLANGUAGE_ARABIC_EGYPT));
19684 PyDict_SetItemString(d,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)wxLANGUAGE_ARABIC_IRAQ));
19685 PyDict_SetItemString(d,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_JORDAN));
19686 PyDict_SetItemString(d,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)wxLANGUAGE_ARABIC_KUWAIT));
19687 PyDict_SetItemString(d,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)wxLANGUAGE_ARABIC_LEBANON));
19688 PyDict_SetItemString(d,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)wxLANGUAGE_ARABIC_LIBYA));
19689 PyDict_SetItemString(d,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)wxLANGUAGE_ARABIC_MOROCCO));
19690 PyDict_SetItemString(d,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_OMAN));
19691 PyDict_SetItemString(d,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)wxLANGUAGE_ARABIC_QATAR));
19692 PyDict_SetItemString(d,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA));
19693 PyDict_SetItemString(d,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_SUDAN));
19694 PyDict_SetItemString(d,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SYRIA));
19695 PyDict_SetItemString(d,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_TUNISIA));
19696 PyDict_SetItemString(d,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)wxLANGUAGE_ARABIC_UAE));
19697 PyDict_SetItemString(d,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)wxLANGUAGE_ARABIC_YEMEN));
19698 PyDict_SetItemString(d,"LANGUAGE_ARMENIAN", SWIG_From_int((int)wxLANGUAGE_ARMENIAN));
19699 PyDict_SetItemString(d,"LANGUAGE_ASSAMESE", SWIG_From_int((int)wxLANGUAGE_ASSAMESE));
19700 PyDict_SetItemString(d,"LANGUAGE_AYMARA", SWIG_From_int((int)wxLANGUAGE_AYMARA));
19701 PyDict_SetItemString(d,"LANGUAGE_AZERI", SWIG_From_int((int)wxLANGUAGE_AZERI));
19702 PyDict_SetItemString(d,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_AZERI_CYRILLIC));
19703 PyDict_SetItemString(d,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)wxLANGUAGE_AZERI_LATIN));
19704 PyDict_SetItemString(d,"LANGUAGE_BASHKIR", SWIG_From_int((int)wxLANGUAGE_BASHKIR));
19705 PyDict_SetItemString(d,"LANGUAGE_BASQUE", SWIG_From_int((int)wxLANGUAGE_BASQUE));
19706 PyDict_SetItemString(d,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)wxLANGUAGE_BELARUSIAN));
19707 PyDict_SetItemString(d,"LANGUAGE_BENGALI", SWIG_From_int((int)wxLANGUAGE_BENGALI));
19708 PyDict_SetItemString(d,"LANGUAGE_BHUTANI", SWIG_From_int((int)wxLANGUAGE_BHUTANI));
19709 PyDict_SetItemString(d,"LANGUAGE_BIHARI", SWIG_From_int((int)wxLANGUAGE_BIHARI));
19710 PyDict_SetItemString(d,"LANGUAGE_BISLAMA", SWIG_From_int((int)wxLANGUAGE_BISLAMA));
19711 PyDict_SetItemString(d,"LANGUAGE_BRETON", SWIG_From_int((int)wxLANGUAGE_BRETON));
19712 PyDict_SetItemString(d,"LANGUAGE_BULGARIAN", SWIG_From_int((int)wxLANGUAGE_BULGARIAN));
19713 PyDict_SetItemString(d,"LANGUAGE_BURMESE", SWIG_From_int((int)wxLANGUAGE_BURMESE));
19714 PyDict_SetItemString(d,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)wxLANGUAGE_CAMBODIAN));
19715 PyDict_SetItemString(d,"LANGUAGE_CATALAN", SWIG_From_int((int)wxLANGUAGE_CATALAN));
19716 PyDict_SetItemString(d,"LANGUAGE_CHINESE", SWIG_From_int((int)wxLANGUAGE_CHINESE));
19717 PyDict_SetItemString(d,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)wxLANGUAGE_CHINESE_SIMPLIFIED));
19718 PyDict_SetItemString(d,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)wxLANGUAGE_CHINESE_TRADITIONAL));
19719 PyDict_SetItemString(d,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)wxLANGUAGE_CHINESE_HONGKONG));
19720 PyDict_SetItemString(d,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)wxLANGUAGE_CHINESE_MACAU));
19721 PyDict_SetItemString(d,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)wxLANGUAGE_CHINESE_SINGAPORE));
19722 PyDict_SetItemString(d,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)wxLANGUAGE_CHINESE_TAIWAN));
19723 PyDict_SetItemString(d,"LANGUAGE_CORSICAN", SWIG_From_int((int)wxLANGUAGE_CORSICAN));
19724 PyDict_SetItemString(d,"LANGUAGE_CROATIAN", SWIG_From_int((int)wxLANGUAGE_CROATIAN));
19725 PyDict_SetItemString(d,"LANGUAGE_CZECH", SWIG_From_int((int)wxLANGUAGE_CZECH));
19726 PyDict_SetItemString(d,"LANGUAGE_DANISH", SWIG_From_int((int)wxLANGUAGE_DANISH));
19727 PyDict_SetItemString(d,"LANGUAGE_DUTCH", SWIG_From_int((int)wxLANGUAGE_DUTCH));
19728 PyDict_SetItemString(d,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_DUTCH_BELGIAN));
19729 PyDict_SetItemString(d,"LANGUAGE_ENGLISH", SWIG_From_int((int)wxLANGUAGE_ENGLISH));
19730 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_UK));
19731 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)wxLANGUAGE_ENGLISH_US));
19732 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_AUSTRALIA));
19733 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BELIZE));
19734 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BOTSWANA));
19735 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CANADA));
19736 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CARIBBEAN));
19737 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_DENMARK));
19738 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_EIRE));
19739 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_JAMAICA));
19740 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND));
19741 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)wxLANGUAGE_ENGLISH_PHILIPPINES));
19742 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA));
19743 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)wxLANGUAGE_ENGLISH_TRINIDAD));
19744 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_ZIMBABWE));
19745 PyDict_SetItemString(d,"LANGUAGE_ESPERANTO", SWIG_From_int((int)wxLANGUAGE_ESPERANTO));
19746 PyDict_SetItemString(d,"LANGUAGE_ESTONIAN", SWIG_From_int((int)wxLANGUAGE_ESTONIAN));
19747 PyDict_SetItemString(d,"LANGUAGE_FAEROESE", SWIG_From_int((int)wxLANGUAGE_FAEROESE));
19748 PyDict_SetItemString(d,"LANGUAGE_FARSI", SWIG_From_int((int)wxLANGUAGE_FARSI));
19749 PyDict_SetItemString(d,"LANGUAGE_FIJI", SWIG_From_int((int)wxLANGUAGE_FIJI));
19750 PyDict_SetItemString(d,"LANGUAGE_FINNISH", SWIG_From_int((int)wxLANGUAGE_FINNISH));
19751 PyDict_SetItemString(d,"LANGUAGE_FRENCH", SWIG_From_int((int)wxLANGUAGE_FRENCH));
19752 PyDict_SetItemString(d,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_BELGIAN));
19753 PyDict_SetItemString(d,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_CANADIAN));
19754 PyDict_SetItemString(d,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_FRENCH_LUXEMBOURG));
19755 PyDict_SetItemString(d,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)wxLANGUAGE_FRENCH_MONACO));
19756 PyDict_SetItemString(d,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)wxLANGUAGE_FRENCH_SWISS));
19757 PyDict_SetItemString(d,"LANGUAGE_FRISIAN", SWIG_From_int((int)wxLANGUAGE_FRISIAN));
19758 PyDict_SetItemString(d,"LANGUAGE_GALICIAN", SWIG_From_int((int)wxLANGUAGE_GALICIAN));
19759 PyDict_SetItemString(d,"LANGUAGE_GEORGIAN", SWIG_From_int((int)wxLANGUAGE_GEORGIAN));
19760 PyDict_SetItemString(d,"LANGUAGE_GERMAN", SWIG_From_int((int)wxLANGUAGE_GERMAN));
19761 PyDict_SetItemString(d,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)wxLANGUAGE_GERMAN_AUSTRIAN));
19762 PyDict_SetItemString(d,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)wxLANGUAGE_GERMAN_BELGIUM));
19763 PyDict_SetItemString(d,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN));
19764 PyDict_SetItemString(d,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_GERMAN_LUXEMBOURG));
19765 PyDict_SetItemString(d,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)wxLANGUAGE_GERMAN_SWISS));
19766 PyDict_SetItemString(d,"LANGUAGE_GREEK", SWIG_From_int((int)wxLANGUAGE_GREEK));
19767 PyDict_SetItemString(d,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)wxLANGUAGE_GREENLANDIC));
19768 PyDict_SetItemString(d,"LANGUAGE_GUARANI", SWIG_From_int((int)wxLANGUAGE_GUARANI));
19769 PyDict_SetItemString(d,"LANGUAGE_GUJARATI", SWIG_From_int((int)wxLANGUAGE_GUJARATI));
19770 PyDict_SetItemString(d,"LANGUAGE_HAUSA", SWIG_From_int((int)wxLANGUAGE_HAUSA));
19771 PyDict_SetItemString(d,"LANGUAGE_HEBREW", SWIG_From_int((int)wxLANGUAGE_HEBREW));
19772 PyDict_SetItemString(d,"LANGUAGE_HINDI", SWIG_From_int((int)wxLANGUAGE_HINDI));
19773 PyDict_SetItemString(d,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)wxLANGUAGE_HUNGARIAN));
19774 PyDict_SetItemString(d,"LANGUAGE_ICELANDIC", SWIG_From_int((int)wxLANGUAGE_ICELANDIC));
19775 PyDict_SetItemString(d,"LANGUAGE_INDONESIAN", SWIG_From_int((int)wxLANGUAGE_INDONESIAN));
19776 PyDict_SetItemString(d,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)wxLANGUAGE_INTERLINGUA));
19777 PyDict_SetItemString(d,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)wxLANGUAGE_INTERLINGUE));
19778 PyDict_SetItemString(d,"LANGUAGE_INUKTITUT", SWIG_From_int((int)wxLANGUAGE_INUKTITUT));
19779 PyDict_SetItemString(d,"LANGUAGE_INUPIAK", SWIG_From_int((int)wxLANGUAGE_INUPIAK));
19780 PyDict_SetItemString(d,"LANGUAGE_IRISH", SWIG_From_int((int)wxLANGUAGE_IRISH));
19781 PyDict_SetItemString(d,"LANGUAGE_ITALIAN", SWIG_From_int((int)wxLANGUAGE_ITALIAN));
19782 PyDict_SetItemString(d,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)wxLANGUAGE_ITALIAN_SWISS));
19783 PyDict_SetItemString(d,"LANGUAGE_JAPANESE", SWIG_From_int((int)wxLANGUAGE_JAPANESE));
19784 PyDict_SetItemString(d,"LANGUAGE_JAVANESE", SWIG_From_int((int)wxLANGUAGE_JAVANESE));
19785 PyDict_SetItemString(d,"LANGUAGE_KANNADA", SWIG_From_int((int)wxLANGUAGE_KANNADA));
19786 PyDict_SetItemString(d,"LANGUAGE_KASHMIRI", SWIG_From_int((int)wxLANGUAGE_KASHMIRI));
19787 PyDict_SetItemString(d,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)wxLANGUAGE_KASHMIRI_INDIA));
19788 PyDict_SetItemString(d,"LANGUAGE_KAZAKH", SWIG_From_int((int)wxLANGUAGE_KAZAKH));
19789 PyDict_SetItemString(d,"LANGUAGE_KERNEWEK", SWIG_From_int((int)wxLANGUAGE_KERNEWEK));
19790 PyDict_SetItemString(d,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)wxLANGUAGE_KINYARWANDA));
19791 PyDict_SetItemString(d,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)wxLANGUAGE_KIRGHIZ));
19792 PyDict_SetItemString(d,"LANGUAGE_KIRUNDI", SWIG_From_int((int)wxLANGUAGE_KIRUNDI));
19793 PyDict_SetItemString(d,"LANGUAGE_KONKANI", SWIG_From_int((int)wxLANGUAGE_KONKANI));
19794 PyDict_SetItemString(d,"LANGUAGE_KOREAN", SWIG_From_int((int)wxLANGUAGE_KOREAN));
19795 PyDict_SetItemString(d,"LANGUAGE_KURDISH", SWIG_From_int((int)wxLANGUAGE_KURDISH));
19796 PyDict_SetItemString(d,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)wxLANGUAGE_LAOTHIAN));
19797 PyDict_SetItemString(d,"LANGUAGE_LATIN", SWIG_From_int((int)wxLANGUAGE_LATIN));
19798 PyDict_SetItemString(d,"LANGUAGE_LATVIAN", SWIG_From_int((int)wxLANGUAGE_LATVIAN));
19799 PyDict_SetItemString(d,"LANGUAGE_LINGALA", SWIG_From_int((int)wxLANGUAGE_LINGALA));
19800 PyDict_SetItemString(d,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)wxLANGUAGE_LITHUANIAN));
19801 PyDict_SetItemString(d,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)wxLANGUAGE_MACEDONIAN));
19802 PyDict_SetItemString(d,"LANGUAGE_MALAGASY", SWIG_From_int((int)wxLANGUAGE_MALAGASY));
19803 PyDict_SetItemString(d,"LANGUAGE_MALAY", SWIG_From_int((int)wxLANGUAGE_MALAY));
19804 PyDict_SetItemString(d,"LANGUAGE_MALAYALAM", SWIG_From_int((int)wxLANGUAGE_MALAYALAM));
19805 PyDict_SetItemString(d,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM));
19806 PyDict_SetItemString(d,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)wxLANGUAGE_MALAY_MALAYSIA));
19807 PyDict_SetItemString(d,"LANGUAGE_MALTESE", SWIG_From_int((int)wxLANGUAGE_MALTESE));
19808 PyDict_SetItemString(d,"LANGUAGE_MANIPURI", SWIG_From_int((int)wxLANGUAGE_MANIPURI));
19809 PyDict_SetItemString(d,"LANGUAGE_MAORI", SWIG_From_int((int)wxLANGUAGE_MAORI));
19810 PyDict_SetItemString(d,"LANGUAGE_MARATHI", SWIG_From_int((int)wxLANGUAGE_MARATHI));
19811 PyDict_SetItemString(d,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)wxLANGUAGE_MOLDAVIAN));
19812 PyDict_SetItemString(d,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)wxLANGUAGE_MONGOLIAN));
19813 PyDict_SetItemString(d,"LANGUAGE_NAURU", SWIG_From_int((int)wxLANGUAGE_NAURU));
19814 PyDict_SetItemString(d,"LANGUAGE_NEPALI", SWIG_From_int((int)wxLANGUAGE_NEPALI));
19815 PyDict_SetItemString(d,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)wxLANGUAGE_NEPALI_INDIA));
19816 PyDict_SetItemString(d,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_BOKMAL));
19817 PyDict_SetItemString(d,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_NYNORSK));
19818 PyDict_SetItemString(d,"LANGUAGE_OCCITAN", SWIG_From_int((int)wxLANGUAGE_OCCITAN));
19819 PyDict_SetItemString(d,"LANGUAGE_ORIYA", SWIG_From_int((int)wxLANGUAGE_ORIYA));
19820 PyDict_SetItemString(d,"LANGUAGE_OROMO", SWIG_From_int((int)wxLANGUAGE_OROMO));
19821 PyDict_SetItemString(d,"LANGUAGE_PASHTO", SWIG_From_int((int)wxLANGUAGE_PASHTO));
19822 PyDict_SetItemString(d,"LANGUAGE_POLISH", SWIG_From_int((int)wxLANGUAGE_POLISH));
19823 PyDict_SetItemString(d,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE));
19824 PyDict_SetItemString(d,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN));
19825 PyDict_SetItemString(d,"LANGUAGE_PUNJABI", SWIG_From_int((int)wxLANGUAGE_PUNJABI));
19826 PyDict_SetItemString(d,"LANGUAGE_QUECHUA", SWIG_From_int((int)wxLANGUAGE_QUECHUA));
19827 PyDict_SetItemString(d,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)wxLANGUAGE_RHAETO_ROMANCE));
19828 PyDict_SetItemString(d,"LANGUAGE_ROMANIAN", SWIG_From_int((int)wxLANGUAGE_ROMANIAN));
19829 PyDict_SetItemString(d,"LANGUAGE_RUSSIAN", SWIG_From_int((int)wxLANGUAGE_RUSSIAN));
19830 PyDict_SetItemString(d,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)wxLANGUAGE_RUSSIAN_UKRAINE));
19831 PyDict_SetItemString(d,"LANGUAGE_SAMOAN", SWIG_From_int((int)wxLANGUAGE_SAMOAN));
19832 PyDict_SetItemString(d,"LANGUAGE_SANGHO", SWIG_From_int((int)wxLANGUAGE_SANGHO));
19833 PyDict_SetItemString(d,"LANGUAGE_SANSKRIT", SWIG_From_int((int)wxLANGUAGE_SANSKRIT));
19834 PyDict_SetItemString(d,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)wxLANGUAGE_SCOTS_GAELIC));
19835 PyDict_SetItemString(d,"LANGUAGE_SERBIAN", SWIG_From_int((int)wxLANGUAGE_SERBIAN));
19836 PyDict_SetItemString(d,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_SERBIAN_CYRILLIC));
19837 PyDict_SetItemString(d,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)wxLANGUAGE_SERBIAN_LATIN));
19838 PyDict_SetItemString(d,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)wxLANGUAGE_SERBO_CROATIAN));
19839 PyDict_SetItemString(d,"LANGUAGE_SESOTHO", SWIG_From_int((int)wxLANGUAGE_SESOTHO));
19840 PyDict_SetItemString(d,"LANGUAGE_SETSWANA", SWIG_From_int((int)wxLANGUAGE_SETSWANA));
19841 PyDict_SetItemString(d,"LANGUAGE_SHONA", SWIG_From_int((int)wxLANGUAGE_SHONA));
19842 PyDict_SetItemString(d,"LANGUAGE_SINDHI", SWIG_From_int((int)wxLANGUAGE_SINDHI));
19843 PyDict_SetItemString(d,"LANGUAGE_SINHALESE", SWIG_From_int((int)wxLANGUAGE_SINHALESE));
19844 PyDict_SetItemString(d,"LANGUAGE_SISWATI", SWIG_From_int((int)wxLANGUAGE_SISWATI));
19845 PyDict_SetItemString(d,"LANGUAGE_SLOVAK", SWIG_From_int((int)wxLANGUAGE_SLOVAK));
19846 PyDict_SetItemString(d,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)wxLANGUAGE_SLOVENIAN));
19847 PyDict_SetItemString(d,"LANGUAGE_SOMALI", SWIG_From_int((int)wxLANGUAGE_SOMALI));
19848 PyDict_SetItemString(d,"LANGUAGE_SPANISH", SWIG_From_int((int)wxLANGUAGE_SPANISH));
19849 PyDict_SetItemString(d,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)wxLANGUAGE_SPANISH_ARGENTINA));
19850 PyDict_SetItemString(d,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_BOLIVIA));
19851 PyDict_SetItemString(d,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)wxLANGUAGE_SPANISH_CHILE));
19852 PyDict_SetItemString(d,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COLOMBIA));
19853 PyDict_SetItemString(d,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COSTA_RICA));
19854 PyDict_SetItemString(d,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC));
19855 PyDict_SetItemString(d,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_ECUADOR));
19856 PyDict_SetItemString(d,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_EL_SALVADOR));
19857 PyDict_SetItemString(d,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)wxLANGUAGE_SPANISH_GUATEMALA));
19858 PyDict_SetItemString(d,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)wxLANGUAGE_SPANISH_HONDURAS));
19859 PyDict_SetItemString(d,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MEXICAN));
19860 PyDict_SetItemString(d,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MODERN));
19861 PyDict_SetItemString(d,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)wxLANGUAGE_SPANISH_NICARAGUA));
19862 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)wxLANGUAGE_SPANISH_PANAMA));
19863 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_PARAGUAY));
19864 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)wxLANGUAGE_SPANISH_PERU));
19865 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)wxLANGUAGE_SPANISH_PUERTO_RICO));
19866 PyDict_SetItemString(d,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_URUGUAY));
19867 PyDict_SetItemString(d,"LANGUAGE_SPANISH_US", SWIG_From_int((int)wxLANGUAGE_SPANISH_US));
19868 PyDict_SetItemString(d,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)wxLANGUAGE_SPANISH_VENEZUELA));
19869 PyDict_SetItemString(d,"LANGUAGE_SUNDANESE", SWIG_From_int((int)wxLANGUAGE_SUNDANESE));
19870 PyDict_SetItemString(d,"LANGUAGE_SWAHILI", SWIG_From_int((int)wxLANGUAGE_SWAHILI));
19871 PyDict_SetItemString(d,"LANGUAGE_SWEDISH", SWIG_From_int((int)wxLANGUAGE_SWEDISH));
19872 PyDict_SetItemString(d,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)wxLANGUAGE_SWEDISH_FINLAND));
19873 PyDict_SetItemString(d,"LANGUAGE_TAGALOG", SWIG_From_int((int)wxLANGUAGE_TAGALOG));
19874 PyDict_SetItemString(d,"LANGUAGE_TAJIK", SWIG_From_int((int)wxLANGUAGE_TAJIK));
19875 PyDict_SetItemString(d,"LANGUAGE_TAMIL", SWIG_From_int((int)wxLANGUAGE_TAMIL));
19876 PyDict_SetItemString(d,"LANGUAGE_TATAR", SWIG_From_int((int)wxLANGUAGE_TATAR));
19877 PyDict_SetItemString(d,"LANGUAGE_TELUGU", SWIG_From_int((int)wxLANGUAGE_TELUGU));
19878 PyDict_SetItemString(d,"LANGUAGE_THAI", SWIG_From_int((int)wxLANGUAGE_THAI));
19879 PyDict_SetItemString(d,"LANGUAGE_TIBETAN", SWIG_From_int((int)wxLANGUAGE_TIBETAN));
19880 PyDict_SetItemString(d,"LANGUAGE_TIGRINYA", SWIG_From_int((int)wxLANGUAGE_TIGRINYA));
19881 PyDict_SetItemString(d,"LANGUAGE_TONGA", SWIG_From_int((int)wxLANGUAGE_TONGA));
19882 PyDict_SetItemString(d,"LANGUAGE_TSONGA", SWIG_From_int((int)wxLANGUAGE_TSONGA));
19883 PyDict_SetItemString(d,"LANGUAGE_TURKISH", SWIG_From_int((int)wxLANGUAGE_TURKISH));
19884 PyDict_SetItemString(d,"LANGUAGE_TURKMEN", SWIG_From_int((int)wxLANGUAGE_TURKMEN));
19885 PyDict_SetItemString(d,"LANGUAGE_TWI", SWIG_From_int((int)wxLANGUAGE_TWI));
19886 PyDict_SetItemString(d,"LANGUAGE_UIGHUR", SWIG_From_int((int)wxLANGUAGE_UIGHUR));
19887 PyDict_SetItemString(d,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)wxLANGUAGE_UKRAINIAN));
19888 PyDict_SetItemString(d,"LANGUAGE_URDU", SWIG_From_int((int)wxLANGUAGE_URDU));
19889 PyDict_SetItemString(d,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)wxLANGUAGE_URDU_INDIA));
19890 PyDict_SetItemString(d,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)wxLANGUAGE_URDU_PAKISTAN));
19891 PyDict_SetItemString(d,"LANGUAGE_UZBEK", SWIG_From_int((int)wxLANGUAGE_UZBEK));
19892 PyDict_SetItemString(d,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_UZBEK_CYRILLIC));
19893 PyDict_SetItemString(d,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)wxLANGUAGE_UZBEK_LATIN));
19894 PyDict_SetItemString(d,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)wxLANGUAGE_VIETNAMESE));
19895 PyDict_SetItemString(d,"LANGUAGE_VOLAPUK", SWIG_From_int((int)wxLANGUAGE_VOLAPUK));
19896 PyDict_SetItemString(d,"LANGUAGE_WELSH", SWIG_From_int((int)wxLANGUAGE_WELSH));
19897 PyDict_SetItemString(d,"LANGUAGE_WOLOF", SWIG_From_int((int)wxLANGUAGE_WOLOF));
19898 PyDict_SetItemString(d,"LANGUAGE_XHOSA", SWIG_From_int((int)wxLANGUAGE_XHOSA));
19899 PyDict_SetItemString(d,"LANGUAGE_YIDDISH", SWIG_From_int((int)wxLANGUAGE_YIDDISH));
19900 PyDict_SetItemString(d,"LANGUAGE_YORUBA", SWIG_From_int((int)wxLANGUAGE_YORUBA));
19901 PyDict_SetItemString(d,"LANGUAGE_ZHUANG", SWIG_From_int((int)wxLANGUAGE_ZHUANG));
19902 PyDict_SetItemString(d,"LANGUAGE_ZULU", SWIG_From_int((int)wxLANGUAGE_ZULU));
19903 PyDict_SetItemString(d,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)wxLANGUAGE_USER_DEFINED));
19904 PyDict_SetItemString(d,"LOCALE_CAT_NUMBER", SWIG_From_int((int)wxLOCALE_CAT_NUMBER));
19905 PyDict_SetItemString(d,"LOCALE_CAT_DATE", SWIG_From_int((int)wxLOCALE_CAT_DATE));
19906 PyDict_SetItemString(d,"LOCALE_CAT_MONEY", SWIG_From_int((int)wxLOCALE_CAT_MONEY));
19907 PyDict_SetItemString(d,"LOCALE_CAT_MAX", SWIG_From_int((int)wxLOCALE_CAT_MAX));
19908 PyDict_SetItemString(d,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)wxLOCALE_THOUSANDS_SEP));
19909 PyDict_SetItemString(d,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)wxLOCALE_DECIMAL_POINT));
19910 PyDict_SetItemString(d,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)wxLOCALE_LOAD_DEFAULT));
19911 PyDict_SetItemString(d,"LOCALE_CONV_ENCODING", SWIG_From_int((int)wxLOCALE_CONV_ENCODING));
19912 PyDict_SetItemString(d,"CONVERT_STRICT", SWIG_From_int((int)wxCONVERT_STRICT));
19913 PyDict_SetItemString(d,"CONVERT_SUBSTITUTE", SWIG_From_int((int)wxCONVERT_SUBSTITUTE));
19914 PyDict_SetItemString(d,"PLATFORM_CURRENT", SWIG_From_int((int)wxPLATFORM_CURRENT));
19915 PyDict_SetItemString(d,"PLATFORM_UNIX", SWIG_From_int((int)wxPLATFORM_UNIX));
19916 PyDict_SetItemString(d,"PLATFORM_WINDOWS", SWIG_From_int((int)wxPLATFORM_WINDOWS));
19917 PyDict_SetItemString(d,"PLATFORM_OS2", SWIG_From_int((int)wxPLATFORM_OS2));
19918 PyDict_SetItemString(d,"PLATFORM_MAC", SWIG_From_int((int)wxPLATFORM_MAC));
19919 PyDict_SetItemString(d,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)wxIMAGELIST_DRAW_NORMAL));
19920 PyDict_SetItemString(d,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)wxIMAGELIST_DRAW_TRANSPARENT));
19921 PyDict_SetItemString(d,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)wxIMAGELIST_DRAW_SELECTED));
19922 PyDict_SetItemString(d,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)wxIMAGELIST_DRAW_FOCUSED));
19923 PyDict_SetItemString(d,"IMAGE_LIST_NORMAL", SWIG_From_int((int)wxIMAGE_LIST_NORMAL));
19924 PyDict_SetItemString(d,"IMAGE_LIST_SMALL", SWIG_From_int((int)wxIMAGE_LIST_SMALL));
19925 PyDict_SetItemString(d,"IMAGE_LIST_STATE", SWIG_From_int((int)wxIMAGE_LIST_STATE));
d14a1e28
RD
19926 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
19927 SWIG_addvarlink(SWIG_globals,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get, _wrap_NORMAL_FONT_set);
19928 SWIG_addvarlink(SWIG_globals,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get, _wrap_SMALL_FONT_set);
19929 SWIG_addvarlink(SWIG_globals,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get, _wrap_ITALIC_FONT_set);
19930 SWIG_addvarlink(SWIG_globals,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get, _wrap_SWISS_FONT_set);
19931 SWIG_addvarlink(SWIG_globals,(char*)"RED_PEN",_wrap_RED_PEN_get, _wrap_RED_PEN_set);
19932 SWIG_addvarlink(SWIG_globals,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get, _wrap_CYAN_PEN_set);
19933 SWIG_addvarlink(SWIG_globals,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get, _wrap_GREEN_PEN_set);
19934 SWIG_addvarlink(SWIG_globals,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get, _wrap_BLACK_PEN_set);
19935 SWIG_addvarlink(SWIG_globals,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get, _wrap_WHITE_PEN_set);
19936 SWIG_addvarlink(SWIG_globals,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get, _wrap_TRANSPARENT_PEN_set);
19937 SWIG_addvarlink(SWIG_globals,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get, _wrap_BLACK_DASHED_PEN_set);
19938 SWIG_addvarlink(SWIG_globals,(char*)"GREY_PEN",_wrap_GREY_PEN_get, _wrap_GREY_PEN_set);
19939 SWIG_addvarlink(SWIG_globals,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get, _wrap_MEDIUM_GREY_PEN_set);
19940 SWIG_addvarlink(SWIG_globals,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get, _wrap_LIGHT_GREY_PEN_set);
19941 SWIG_addvarlink(SWIG_globals,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get, _wrap_BLUE_BRUSH_set);
19942 SWIG_addvarlink(SWIG_globals,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get, _wrap_GREEN_BRUSH_set);
19943 SWIG_addvarlink(SWIG_globals,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get, _wrap_WHITE_BRUSH_set);
19944 SWIG_addvarlink(SWIG_globals,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get, _wrap_BLACK_BRUSH_set);
19945 SWIG_addvarlink(SWIG_globals,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get, _wrap_TRANSPARENT_BRUSH_set);
19946 SWIG_addvarlink(SWIG_globals,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get, _wrap_CYAN_BRUSH_set);
19947 SWIG_addvarlink(SWIG_globals,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get, _wrap_RED_BRUSH_set);
19948 SWIG_addvarlink(SWIG_globals,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get, _wrap_GREY_BRUSH_set);
19949 SWIG_addvarlink(SWIG_globals,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get, _wrap_MEDIUM_GREY_BRUSH_set);
19950 SWIG_addvarlink(SWIG_globals,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get, _wrap_LIGHT_GREY_BRUSH_set);
19951 SWIG_addvarlink(SWIG_globals,(char*)"BLACK",_wrap_BLACK_get, _wrap_BLACK_set);
19952 SWIG_addvarlink(SWIG_globals,(char*)"WHITE",_wrap_WHITE_get, _wrap_WHITE_set);
19953 SWIG_addvarlink(SWIG_globals,(char*)"RED",_wrap_RED_get, _wrap_RED_set);
19954 SWIG_addvarlink(SWIG_globals,(char*)"BLUE",_wrap_BLUE_get, _wrap_BLUE_set);
19955 SWIG_addvarlink(SWIG_globals,(char*)"GREEN",_wrap_GREEN_get, _wrap_GREEN_set);
19956 SWIG_addvarlink(SWIG_globals,(char*)"CYAN",_wrap_CYAN_get, _wrap_CYAN_set);
19957 SWIG_addvarlink(SWIG_globals,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get, _wrap_LIGHT_GREY_set);
19958 SWIG_addvarlink(SWIG_globals,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get, _wrap_STANDARD_CURSOR_set);
19959 SWIG_addvarlink(SWIG_globals,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get, _wrap_HOURGLASS_CURSOR_set);
19960 SWIG_addvarlink(SWIG_globals,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get, _wrap_CROSS_CURSOR_set);
19961 SWIG_addvarlink(SWIG_globals,(char*)"NullBitmap",_wrap_NullBitmap_get, _wrap_NullBitmap_set);
19962 SWIG_addvarlink(SWIG_globals,(char*)"NullIcon",_wrap_NullIcon_get, _wrap_NullIcon_set);
19963 SWIG_addvarlink(SWIG_globals,(char*)"NullCursor",_wrap_NullCursor_get, _wrap_NullCursor_set);
19964 SWIG_addvarlink(SWIG_globals,(char*)"NullPen",_wrap_NullPen_get, _wrap_NullPen_set);
19965 SWIG_addvarlink(SWIG_globals,(char*)"NullBrush",_wrap_NullBrush_get, _wrap_NullBrush_set);
19966 SWIG_addvarlink(SWIG_globals,(char*)"NullPalette",_wrap_NullPalette_get, _wrap_NullPalette_set);
19967 SWIG_addvarlink(SWIG_globals,(char*)"NullFont",_wrap_NullFont_get, _wrap_NullFont_set);
19968 SWIG_addvarlink(SWIG_globals,(char*)"NullColour",_wrap_NullColour_get, _wrap_NullColour_set);
19969 SWIG_addvarlink(SWIG_globals,(char*)"TheFontList",_wrap_TheFontList_get, _wrap_TheFontList_set);
19970 SWIG_addvarlink(SWIG_globals,(char*)"ThePenList",_wrap_ThePenList_get, _wrap_ThePenList_set);
19971 SWIG_addvarlink(SWIG_globals,(char*)"TheBrushList",_wrap_TheBrushList_get, _wrap_TheBrushList_set);
19972 SWIG_addvarlink(SWIG_globals,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get, _wrap_TheColourDatabase_set);
7722248d
RD
19973
19974 // Work around a chicken/egg problem in drawlist.cpp
19975 wxPyDrawList_SetAPIPtr();
19976
d14a1e28
RD
19977}
19978