]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/gdi_wrap.cpp
Fixed multiline static texts
[wxWidgets.git] / wxPython / src / mac / gdi_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
2dbef272 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
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
9fd4be55
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
d14a1e28
RD
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
0f774bef
RD
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
d14a1e28 82#else
0f774bef
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
0f774bef 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
0f774bef 90# define SWIGRUNTIME(a) static a
d14a1e28
RD
91#endif
92
d14a1e28
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
0f774bef 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
0f774bef 104 void *clientdata;
d14a1e28
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
0f774bef
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
120
121
122#ifdef __cplusplus
123}
124#endif
125
126/***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
d14a1e28
RD
136#include "Python.h"
137
138#ifdef __cplusplus
139extern "C" {
140#endif
141
142#define SWIG_PY_INT 1
143#define SWIG_PY_FLOAT 2
144#define SWIG_PY_STRING 3
145#define SWIG_PY_POINTER 4
146#define SWIG_PY_BINARY 5
147
148/* Flags for pointer conversion */
149
150#define SWIG_POINTER_EXCEPTION 0x1
151#define SWIG_POINTER_DISOWN 0x2
152
153/* Exception handling in wrappers */
154#define SWIG_fail goto fail
155
156/* Constant information structure */
157typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164} swig_const_info;
165
d14a1e28
RD
166/* Common SWIG API */
167#define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169#define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171#define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
2dbef272 173
d14a1e28
RD
174/* Python-specific SWIG API */
175#define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177#define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
181#define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183#define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
8edf1c75 186typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 187
0f774bef
RD
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 196
d14a1e28
RD
197
198/* Contract support */
199
423f194a 200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 201
d14a1e28
RD
202#ifdef __cplusplus
203}
204#endif
205
206
d14a1e28
RD
207/* -------- TYPES TABLE (BEGIN) -------- */
208
209#define SWIGTYPE_p_wxPostScriptDC swig_types[0]
423f194a
RD
210#define SWIGTYPE_p_wxBrush swig_types[1]
211#define SWIGTYPE_p_wxColour swig_types[2]
212#define SWIGTYPE_p_wxDC swig_types[3]
213#define SWIGTYPE_p_wxMirrorDC swig_types[4]
214#define SWIGTYPE_p_byte swig_types[5]
215#define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
8edf1c75
RD
216#define SWIGTYPE_p_char swig_types[7]
217#define SWIGTYPE_p_wxIconLocation swig_types[8]
218#define SWIGTYPE_p_wxImage swig_types[9]
219#define SWIGTYPE_p_wxMetaFileDC swig_types[10]
220#define SWIGTYPE_p_wxMask swig_types[11]
221#define SWIGTYPE_p_wxFont swig_types[12]
222#define SWIGTYPE_p_wxWindow swig_types[13]
223#define SWIGTYPE_p_wxSize swig_types[14]
224#define SWIGTYPE_p_double swig_types[15]
225#define SWIGTYPE_p_wxMemoryDC swig_types[16]
226#define SWIGTYPE_p_wxFontMapper swig_types[17]
227#define SWIGTYPE_p_wxEffects swig_types[18]
228#define SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]
229#define SWIGTYPE_p_wxPalette swig_types[20]
230#define SWIGTYPE_p_wxBitmap swig_types[21]
231#define SWIGTYPE_p_wxObject swig_types[22]
232#define SWIGTYPE_p_wxRegionIterator swig_types[23]
233#define SWIGTYPE_p_wxRect swig_types[24]
234#define SWIGTYPE_p_wxString swig_types[25]
235#define SWIGTYPE_p_wxPrinterDC swig_types[26]
236#define SWIGTYPE_p_wxIconBundle swig_types[27]
237#define SWIGTYPE_p_wxPoint swig_types[28]
238#define SWIGTYPE_p_wxDash swig_types[29]
239#define SWIGTYPE_p_wxScreenDC swig_types[30]
240#define SWIGTYPE_p_wxCursor swig_types[31]
241#define SWIGTYPE_p_wxClientDC swig_types[32]
242#define SWIGTYPE_p_wxBufferedDC swig_types[33]
243#define SWIGTYPE_p_wxImageList swig_types[34]
244#define SWIGTYPE_p_unsigned_char swig_types[35]
245#define SWIGTYPE_p_wxGDIObject swig_types[36]
423f194a 246#define SWIGTYPE_p_wxIcon swig_types[37]
8edf1c75
RD
247#define SWIGTYPE_p_wxLocale swig_types[38]
248#define SWIGTYPE_p_wxRegion swig_types[39]
249#define SWIGTYPE_p_wxLanguageInfo swig_types[40]
250#define SWIGTYPE_p_wxConfigBase swig_types[41]
251#define SWIGTYPE_p_wxWindowDC swig_types[42]
252#define SWIGTYPE_p_wxPrintData swig_types[43]
253#define SWIGTYPE_p_wxBrushList swig_types[44]
254#define SWIGTYPE_p_wxFontList swig_types[45]
255#define SWIGTYPE_p_wxPen swig_types[46]
256#define SWIGTYPE_p_wxBufferedPaintDC swig_types[47]
257#define SWIGTYPE_p_wxPaintDC swig_types[48]
258#define SWIGTYPE_p_wxPenList swig_types[49]
259#define SWIGTYPE_p_wxPyPen swig_types[50]
260#define SWIGTYPE_p_int swig_types[51]
261#define SWIGTYPE_p_wxMetaFile swig_types[52]
262#define SWIGTYPE_p_wxNativeFontInfo swig_types[53]
263#define SWIGTYPE_p_wxEncodingConverter swig_types[54]
264#define SWIGTYPE_p_wxColourDatabase swig_types[55]
265static swig_type_info *swig_types[57];
d14a1e28
RD
266
267/* -------- TYPES TABLE (END) -------- */
268
269
270/*-----------------------------------------------
271 @(target):= _gdi.so
272 ------------------------------------------------*/
273#define SWIG_init init_gdi
274
275#define SWIG_name "_gdi"
276
2f4c0a16 277/* Auxiliar swig macros */
8edf1c75 278
8edf1c75 279#ifdef __cplusplus
2f4c0a16 280#define SWIGSTATICINLINE(a) static inline a
8edf1c75 281#define SWIGSTATIC(a) static a
2f4c0a16
RD
282#define swig_new_array(type, size) (new type[(size)])
283#define swig_delete_array(cptr) delete[] cptr
284#define swig_const_cast(type,a) const_cast<type>(a)
285#define swig_static_cast(type,a) static_cast<type>(a)
286#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
8edf1c75 287
8edf1c75 288#ifdef HAVE_NUMERIC_CAST
2f4c0a16 289#define swig_numeric_cast(type,a) numeric_cast<type>(a)
8edf1c75 290#else
2f4c0a16 291#define swig_numeric_cast(type,a) static_cast<type>(a)
8edf1c75
RD
292#endif
293
2f4c0a16
RD
294#else /* C case */
295
296#define SWIGSTATICINLINE(a) static a
297#define SWIGSTATIC(a) static a
298#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
299#define swig_delete_array(cptr) free((char*)cptr)
300#define swig_const_cast(type,a) (type)(a)
301#define swig_static_cast(type,a) (type)(a)
302#define swig_reinterpret_cast(type,a) (type)(a)
303#define swig_numeric_cast(type,a) (type)(a)
304
305#endif /* __cplusplus */
8edf1c75
RD
306
307
2f4c0a16
RD
308#define SWIG_FromSignedChar PyInt_FromLong
309#define SWIG_FromUnsignedChar PyInt_FromLong
310#define SWIG_FromShort PyInt_FromLong
311#define SWIG_FromUnsignedShort PyInt_FromLong
312#define SWIG_FromInt PyInt_FromLong
313#define SWIG_FromLong PyInt_FromLong
314#define SWIG_FromFloat PyFloat_FromDouble
315#define SWIG_FromDouble PyFloat_FromDouble
316#define SWIG_FromFloat PyFloat_FromDouble
317#define SWIG_FromDouble PyFloat_FromDouble
8edf1c75
RD
318
319
d14a1e28
RD
320#include "wx/wxPython/wxPython.h"
321#include "wx/wxPython/pyclasses.h"
322
d14a1e28 323
cbd72d4f 324 static const wxString wxPyEmptyString(wxEmptyString);
8edf1c75 325
2f4c0a16
RD
326SWIGSTATICINLINE(bool)
327SWIG_AsBool(PyObject *obj)
8edf1c75
RD
328{
329 return PyObject_IsTrue(obj) ? true : false;
330}
331
332
2f4c0a16
RD
333SWIGSTATICINLINE(int)
334SWIG_CheckBool(PyObject* obj)
335{
336 SWIG_AsBool(obj);
337 if (PyErr_Occurred()) {
338 PyErr_Clear();
339 return 0;
340 } else {
341 return 1;
342 }
343}
344
345
346#include <limits.h>
347
348
349SWIGSTATICINLINE(unsigned long)
350SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
351 unsigned long max_value)
352{
353 if (!PyErr_Occurred()) {
354 if (value > max_value) {
355 PyObject *err =
356 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
357 value, type, max_value);
358 PyErr_SetObject(PyExc_OverflowError, err);
359 Py_DECREF(err);
360 }
361 }
362 return value;
363}
364
365
366SWIGSTATICINLINE(unsigned long)
367SWIG_AsUnsignedLong(PyObject * obj)
368{
369 if (PyLong_Check(obj)) {
370 return PyLong_AsUnsignedLong(obj);
371 } else {
372 long i = PyInt_AsLong(obj);
373 if ( !PyErr_Occurred() && (i < 0)) {
374 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
375 }
376 return i;
377 }
378}
379
380
381SWIGSTATICINLINE(unsigned char)
382SWIG_AsUnsignedChar(PyObject *obj)
8edf1c75 383{
2f4c0a16
RD
384 return swig_numeric_cast(unsigned char,
385 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
386 "unsigned char", UCHAR_MAX));
387}
388
389
390SWIGSTATICINLINE(int)
391SWIG_CheckUnsignedChar(PyObject* obj)
392{
393 SWIG_AsUnsignedChar(obj);
394 if (PyErr_Occurred()) {
395 PyErr_Clear();
396 return 0;
397 } else {
398 return 1;
399 }
400}
401
402
403SWIGSTATICINLINE(int)
404SWIG_CheckUnsignedLong(PyObject* obj)
405{
406 SWIG_AsUnsignedLong(obj);
407 if (PyErr_Occurred()) {
408 PyErr_Clear();
409 return 0;
410 } else {
411 return 1;
412 }
8edf1c75
RD
413}
414
d14a1e28
RD
415PyObject *wxColour_Get(wxColour *self){
416 PyObject* rv = PyTuple_New(3);
417 int red = -1;
418 int green = -1;
419 int blue = -1;
420 if (self->Ok()) {
421 red = self->Red();
422 green = self->Green();
423 blue = self->Blue();
424 }
425 PyTuple_SetItem(rv, 0, PyInt_FromLong(red));
426 PyTuple_SetItem(rv, 1, PyInt_FromLong(green));
427 PyTuple_SetItem(rv, 2, PyInt_FromLong(blue));
428 return rv;
429 }
38f59159
RD
430unsigned long wxColour_GetRGB(wxColour *self){
431 return self->Red() | (self->Green() << 8) | (self->Blue() << 16);
432 }
433
2f4c0a16
RD
434SWIGSTATICINLINE(PyObject* )
435SWIG_FromUnsignedLong(unsigned long value)
436{
437 return (value > LONG_MAX) ?
438 PyLong_FromUnsignedLong(value)
439 : PyInt_FromLong(swig_numeric_cast(long,value));
440}
441
442
443SWIGSTATICINLINE(long)
444SWIG_CheckLongInRange(long value, const char* type,
445 long min_value, long max_value)
446{
447 if (!PyErr_Occurred()) {
448 if (value < min_value) {
449 PyObject *err =
450 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
451 value, type, min_value);
452
453 PyErr_SetObject(PyExc_OverflowError, err);
454 Py_DECREF(err);
455 } else if (value > max_value) {
456 PyObject *err =
457 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
458 value, type, max_value);
459 PyErr_SetObject(PyExc_OverflowError, err);
460 Py_DECREF(err);
461 }
462 }
463 return value;
464}
465
466
467SWIGSTATICINLINE(long)
468SWIG_AsLong(PyObject * obj)
38f59159 469{
2f4c0a16 470 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
38f59159
RD
471}
472
d14a1e28 473
2f4c0a16
RD
474#if INT_MAX != LONG_MAX
475SWIGSTATICINLINE(int)
476SWIG_AsInt(PyObject *obj)
8edf1c75 477{
2f4c0a16
RD
478 return swig_numeric_cast(int,
479 SWIG_CheckLongInRange(SWIG_AsLong(obj),
480 "int", INT_MIN, INT_MAX));
481}
482#else
483#define SWIG_AsInt SWIG_AsLong
484#endif
485
486
487SWIGSTATICINLINE(int)
488SWIG_CheckInt(PyObject* obj)
489{
490 SWIG_AsInt(obj);
491 if (PyErr_Occurred()) {
492 PyErr_Clear();
493 return 0;
494 } else {
495 return 1;
496 }
8edf1c75
RD
497}
498
499
d14a1e28
RD
500static PyObject* t_output_helper(PyObject* target, PyObject* o) {
501 PyObject* o2;
502 PyObject* o3;
503
504 if (!target) {
505 target = o;
506 } else if (target == Py_None) {
507 Py_DECREF(Py_None);
508 target = o;
509 } else {
510 if (!PyTuple_Check(target)) {
511 o2 = target;
512 target = PyTuple_New(1);
513 PyTuple_SetItem(target, 0, o2);
514 }
515 o3 = PyTuple_New(1);
516 PyTuple_SetItem(o3, 0, o);
517
518 o2 = target;
519 target = PySequence_Concat(o2, o3);
520 Py_DECREF(o2);
521 Py_DECREF(o3);
522 }
523 return target;
524}
525
526PyObject *wxPen_GetDashes(wxPen *self){
527 wxDash* dashes;
528 int count = self->GetDashes(&dashes);
529 wxPyBeginBlockThreads();
530 PyObject* retval = PyList_New(0);
531 for (int x=0; x<count; x++)
532 PyList_Append(retval, PyInt_FromLong(dashes[x]));
533 wxPyEndBlockThreads();
534 return retval;
535 }
38f59159
RD
536bool wxPen___eq__(wxPen *self,wxPen const *other){ return other ? (*self == *other) : False; }
537bool wxPen___ne__(wxPen *self,wxPen const *other){ return other ? (*self != *other) : True; }
d14a1e28
RD
538
539wxPyPen::~wxPyPen()
540{
541 if (m_dash)
542 delete [] m_dash;
543}
544
545void wxPyPen::SetDashes(int nb_dashes, const wxDash *dash)
546{
547 if (m_dash)
548 delete [] m_dash;
549 m_dash = new wxDash[nb_dashes];
550 for (int i=0; i<nb_dashes; i++) {
551 m_dash[i] = dash[i];
552 }
553 wxPen::SetDashes(nb_dashes, m_dash);
554}
555
556
2f4c0a16
RD
557SWIGSTATICINLINE(short)
558SWIG_AsShort(PyObject *obj)
8edf1c75 559{
2f4c0a16
RD
560 return swig_numeric_cast(short,
561 SWIG_CheckLongInRange(SWIG_AsLong(obj),
562 "short", SHRT_MIN, SHRT_MAX));
563}
564
565
566SWIGSTATICINLINE(int)
567SWIG_CheckShort(PyObject* obj)
568{
569 SWIG_AsShort(obj);
570 if (PyErr_Occurred()) {
571 PyErr_Clear();
572 return 0;
573 } else {
574 return 1;
575 }
8edf1c75
RD
576}
577
578
d14a1e28
RD
579#include <wx/image.h>
580
581 static char** ConvertListOfStrings(PyObject* listOfStrings) {
582 char** cArray = NULL;
583 int count;
584
585 if (!PyList_Check(listOfStrings)) {
586 PyErr_SetString(PyExc_TypeError, "Expected a list of strings.");
587 return NULL;
588 }
589 count = PyList_Size(listOfStrings);
590 cArray = new char*[count];
591
592 for(int x=0; x<count; x++) {
593 // TODO: Need some validation and error checking here
594 cArray[x] = PyString_AsString(PyList_GET_ITEM(listOfStrings, x));
595 }
596 return cArray;
597 }
598
599
600wxBitmap *new_wxBitmap(PyObject *listOfStrings){
601 char** cArray = NULL;
602 wxBitmap* bmp;
603
604 cArray = ConvertListOfStrings(listOfStrings);
605 if (! cArray)
606 return NULL;
607 bmp = new wxBitmap(cArray);
608 delete [] cArray;
609 return bmp;
610 }
611wxBitmap *new_wxBitmap(PyObject *bits,int width,int height,int depth){
612 char* buf;
613 int length;
614 PyString_AsStringAndSize(bits, &buf, &length);
615 return new wxBitmap(buf, width, height, depth);
616 }
617void wxBitmap_SetMaskColour(wxBitmap *self,wxColour const &colour){
618 wxMask *mask = new wxMask(*self, colour);
619 self->SetMask(mask);
620 }
ce7284bd
RD
621bool wxBitmap___eq__(wxBitmap *self,wxBitmap const *other){ return other ? (*self == *other) : False; }
622bool wxBitmap___ne__(wxBitmap *self,wxBitmap const *other){ return other ? (*self != *other) : True; }
0ffb2aa6
RD
623wxMask *new_wxMask(wxBitmap const &bitmap,wxColour const &colour){
624 if ( !colour.Ok() )
625 return new wxMask(bitmap, *wxBLACK);
626 else
627 return new wxMask(bitmap, colour);
628 }
d14a1e28
RD
629
630#include <wx/iconbndl.h>
631
632wxIcon *new_wxIcon(wxBitmap const &bmp){
633 wxIcon* icon = new wxIcon();
634 icon->CopyFromBitmap(bmp);
635 return icon;
636 }
637wxIcon *new_wxIcon(PyObject *listOfStrings){
638 char** cArray = NULL;
639 wxIcon* icon;
640
641 cArray = ConvertListOfStrings(listOfStrings);
642 if (! cArray)
643 return NULL;
644 icon = new wxIcon(cArray);
645 delete [] cArray;
646 return icon;
647 }
648wxIconLocation *new_wxIconLocation(wxString const *filename,int num){
649
650
651
652 return new wxIconLocation(*filename);
653
654 }
655void wxIconLocation_SetIndex(wxIconLocation *self,int num){
656
657
658
659 // do nothing
660
661 }
662int wxIconLocation_GetIndex(wxIconLocation *self){
663
664
665
666 return -1;
667
668 }
8edf1c75 669
2f4c0a16
RD
670SWIGSTATICINLINE(int)
671SWIG_CheckLong(PyObject* obj)
8edf1c75 672{
2f4c0a16
RD
673 SWIG_AsLong(obj);
674 if (PyErr_Occurred()) {
675 PyErr_Clear();
676 return 0;
677 } else {
678 return 1;
679 }
8edf1c75
RD
680}
681
2f4c0a16
RD
682wxCursor *new_wxCursor(wxString const *cursorName,long type,int hotSpotX,int hotSpotY){
683#ifdef __WXGTK__
684 wxCHECK_MSG(False, NULL,
685 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
686#else
687 return new wxCursor(*cursorName, type, hotSpotX, hotSpotY);
688#endif
d14a1e28
RD
689 }
690
691
692wxRegion *new_wxRegion(int points,wxPoint *points_array,int fillStyle){
cbd72d4f 693 wxPyRaiseNotImplemented();
d14a1e28
RD
694 return NULL;
695 }
696void wxRegionIterator_Next(wxRegionIterator *self){
697 (*self) ++;
698 }
699bool wxRegionIterator___nonzero__(wxRegionIterator *self){
700 return self->operator bool();
701 }
702
703#include <wx/fontutil.h>
704#include <wx/fontmap.h>
705#include <wx/fontenum.h>
706
707wxString wxNativeFontInfo___str__(wxNativeFontInfo *self){
708 return self->ToString();
709 }
710
711 wxNativeEncodingInfo* wxGetNativeFontEncoding(wxFontEncoding encoding) {
712 static wxNativeEncodingInfo info;
713 if ( wxGetNativeFontEncoding(encoding, &info) )
714 return &info;
715 else
716 return NULL;
717 }
718
719PyObject *wxFontMapper_GetAltForEncoding(wxFontMapper *self,wxFontEncoding encoding,wxString const &facename,bool interactive){
720 wxFontEncoding alt_enc;
721 if (self->GetAltForEncoding(encoding, &alt_enc, facename, interactive))
722 return PyInt_FromLong(alt_enc);
723 else {
724 Py_INCREF(Py_None);
725 return Py_None;
726 }
727 }
728wxFont *new_wxFont(wxString const &info){
729 wxNativeFontInfo nfi;
730 nfi.FromString(info);
731 return new wxFont(nfi);
732 }
733wxFont *new_wxFont(int pointSize,wxFontFamily family,int flags,wxString const &face,wxFontEncoding encoding){
734 return wxFont::New(pointSize, family, flags, face, encoding);
735 }
38f59159
RD
736bool wxFont___eq__(wxFont *self,wxFont const *other){ return other ? (*self == *other) : False; }
737bool wxFont___ne__(wxFont *self,wxFont const *other){ return other ? (*self != *other) : True; }
d14a1e28
RD
738
739class wxPyFontEnumerator : public wxFontEnumerator {
740public:
741 wxPyFontEnumerator() {}
742 ~wxPyFontEnumerator() {}
743
744 DEC_PYCALLBACK_BOOL_STRING(OnFacename);
745 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding);
746
747 PYPRIVATE;
748};
749
750IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator, wxFontEnumerator, OnFacename);
751IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator, wxFontEnumerator, OnFontEncoding);
752
753
754PyObject *wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator *self){
755 wxArrayString* arr = self->GetEncodings();
756 return wxArrayString2PyList_helper(*arr);
757 }
758PyObject *wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator *self){
759 wxArrayString* arr = self->GetFacenames();
760 return wxArrayString2PyList_helper(*arr);
761 }
762
763
764
765#include "wx/wxPython/pydrawxxx.h"
766
423f194a 767wxColour wxDC_GetPixelXY(wxDC *self,int x,int y){
d14a1e28
RD
768 wxColour col;
769 self->GetPixel(x, y, &col);
770 return col;
771 }
772wxColour wxDC_GetPixel(wxDC *self,wxPoint const &pt){
773 wxColour col;
774 self->GetPixel(pt, &col);
775 return col;
776 }
8edf1c75 777
2f4c0a16
RD
778SWIGSTATICINLINE(double)
779SWIG_AsDouble(PyObject *obj)
8edf1c75 780{
2f4c0a16 781 double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
8edf1c75 782#if HAVE_LONG_LONG
2f4c0a16 783 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
8edf1c75 784#else
2f4c0a16 785 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
8edf1c75
RD
786#endif
787 if (PyErr_Occurred()) {
788 PyErr_Clear();
789 PyErr_SetString(PyExc_TypeError, "a double is expected");
790 }
2f4c0a16
RD
791 return val;
792}
793
794
795SWIGSTATICINLINE(int)
796SWIG_CheckDouble(PyObject* obj)
797{
798 SWIG_AsDouble(obj);
799 if (PyErr_Occurred()) {
800 PyErr_Clear();
801 return 0;
802 } else {
803 return 1;
804 }
8edf1c75
RD
805}
806
d14a1e28
RD
807wxRect wxDC_DrawImageLabel(wxDC *self,wxString const &text,wxBitmap const &image,wxRect const &rect,int alignment,int indexAccel){
808 wxRect rv;
809 self->DrawLabel(text, image, rect, alignment, indexAccel, &rv);
810 return rv;
811 }
812wxRect wxDC_GetClippingRect(wxDC *self){
813 wxRect rect;
814 self->GetClippingBox(rect);
815 return rect;
816 }
0ffb2aa6
RD
817wxArrayInt wxDC_GetPartialTextExtents(wxDC *self,wxString const &text){
818 wxArrayInt widths;
819 self->GetPartialTextExtents(text, widths);
820 return widths;
821 }
d14a1e28
RD
822PyObject *wxDC__DrawPointList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
823 return wxPyDrawXXXList(*self, wxPyDrawXXXPoint, pyCoords, pyPens, pyBrushes);
824 }
825PyObject *wxDC__DrawLineList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
826 return wxPyDrawXXXList(*self, wxPyDrawXXXLine, pyCoords, pyPens, pyBrushes);
827 }
828PyObject *wxDC__DrawRectangleList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
829 return wxPyDrawXXXList(*self, wxPyDrawXXXRectangle, pyCoords, pyPens, pyBrushes);
830 }
831PyObject *wxDC__DrawEllipseList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
832 return wxPyDrawXXXList(*self, wxPyDrawXXXEllipse, pyCoords, pyPens, pyBrushes);
833 }
834PyObject *wxDC__DrawPolygonList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
835 return wxPyDrawXXXList(*self, wxPyDrawXXXPolygon, pyCoords, pyPens, pyBrushes);
836 }
837PyObject *wxDC__DrawTextList(wxDC *self,PyObject *textList,PyObject *pyPoints,PyObject *foregroundList,PyObject *backgroundList){
838 return wxPyDrawTextList(*self, textList, pyPoints, foregroundList, backgroundList);
839 }
840
841static void wxDC_GetBoundingBox(wxDC* dc, int* x1, int* y1, int* x2, int* y2) {
842 *x1 = dc->MinX();
843 *y1 = dc->MinY();
844 *x2 = dc->MaxX();
845 *y2 = dc->MaxY();
846}
847
848
38f59159 849//-=-=-=-=-=-=-=-=-=-=-
2f4c0a16
RD
850
851#if 1
852// Use the standard wxBufferedDC
38f59159 853#include <wx/dcbuffer.h>
38f59159 854
2f4c0a16 855#else
38f59159 856
2f4c0a16 857// Or, temporarily put a set of classes here similar to the old buffered DC
38f59159
RD
858// classes until the real ones can be fixed to work "correctly" again.
859
860class wxBufferedDC : public wxMemoryDC
861{
862private:
863 wxDC *m_dc;
864 wxBitmap m_buffer;
865
866public:
867
868 wxBufferedDC() : m_dc( 0 ) {}
869
870 wxBufferedDC( wxDC *dc, const wxBitmap &buffer )
871 : m_dc( dc ), m_buffer( buffer )
872 {
873 SelectObject( m_buffer );
874 }
875
876 wxBufferedDC( wxDC *dc, const wxSize &area )
877 : m_dc( dc ), m_buffer( area.GetWidth(), area.GetHeight() )
878 {
879 SelectObject( m_buffer );
880 }
881
882 ~wxBufferedDC() {
883 if( m_dc != 0 )
884 UnMask();
885 }
886
887
888 void Init( wxDC *dc, const wxBitmap &buffer ) {
889 wxASSERT_MSG( m_dc == 0 && m_buffer == wxNullBitmap,
890 _T("wxBufferedDC already initialised") );
891 m_dc = dc;
892 m_buffer = buffer;
893 SelectObject( m_buffer );
894 }
895
896 void Init( wxDC *dc, const wxSize &area ) {
897 wxASSERT_MSG( m_dc == 0 && m_buffer == wxNullBitmap,
898 _T("wxBufferedDC already initialised") );
899 m_dc = dc;
900 m_buffer = wxBitmap( area.GetWidth(), area.GetHeight() );
901 SelectObject( m_buffer );
902 }
903
904 void UnMask() {
905 wxASSERT_MSG( m_dc != 0, _T("No low level DC associated with buffer (anymore)") );
906 m_dc->Blit( 0, 0, m_buffer.GetWidth(), m_buffer.GetHeight(), this, 0, 0 );
907 m_dc = 0;
908 }
909};
910
911
912class wxBufferedPaintDC : public wxBufferedDC
913{
914private:
915 wxPaintDC m_paintdc;
916
917public:
918 wxBufferedPaintDC( wxWindow *window, const wxBitmap &buffer = wxNullBitmap )
919 : m_paintdc( window )
920 {
921 window->PrepareDC( m_paintdc );
922
923 if( buffer != wxNullBitmap )
924 Init( &m_paintdc, buffer );
925 else
926 Init( &m_paintdc, window->GetClientSize() );
927 }
928
929 ~wxBufferedPaintDC() {
930 UnMask();
931 }
932};
933
934#endif
935//-=-=-=-=-=-=-=-=-=-=-
936
937
d14a1e28
RD
938#include <wx/dcps.h>
939
940
ce7284bd 941#include <wx/metafile.h>
d14a1e28
RD
942
943
944
945void wxColourDatabase_Append(wxColourDatabase *self,wxString const &name,int red,int green,int blue){
946 self->AddColour(name, wxColour(red, green, blue));
947 }
948
d14a1e28
RD
949#include <wx/effects.h>
950
951#ifdef __cplusplus
952extern "C" {
953#endif
2f4c0a16 954static PyObject *_wrap_new_GDIObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
955 PyObject *resultobj;
956 wxGDIObject *result;
957 char *kwnames[] = {
958 NULL
959 };
960
961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GDIObject",kwnames)) goto fail;
962 {
963 PyThreadState* __tstate = wxPyBeginAllowThreads();
964 result = (wxGDIObject *)new wxGDIObject();
965
966 wxPyEndAllowThreads(__tstate);
967 if (PyErr_Occurred()) SWIG_fail;
968 }
2f4c0a16 969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGDIObject, 1);
d14a1e28
RD
970 return resultobj;
971 fail:
972 return NULL;
973}
974
975
2f4c0a16 976static PyObject *_wrap_delete_GDIObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
977 PyObject *resultobj;
978 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
979 PyObject * obj0 = 0 ;
980 char *kwnames[] = {
981 (char *) "self", NULL
982 };
983
984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GDIObject",kwnames,&obj0)) goto fail;
2f4c0a16
RD
985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGDIObject,
986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
987 {
988 PyThreadState* __tstate = wxPyBeginAllowThreads();
989 delete arg1;
990
991 wxPyEndAllowThreads(__tstate);
992 if (PyErr_Occurred()) SWIG_fail;
993 }
994 Py_INCREF(Py_None); resultobj = Py_None;
995 return resultobj;
996 fail:
997 return NULL;
998}
999
1000
2f4c0a16 1001static PyObject *_wrap_GDIObject_GetVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1002 PyObject *resultobj;
1003 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
1004 bool result;
1005 PyObject * obj0 = 0 ;
1006 char *kwnames[] = {
1007 (char *) "self", NULL
1008 };
1009
1010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GDIObject_GetVisible",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGDIObject,
1012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1013 {
1014 PyThreadState* __tstate = wxPyBeginAllowThreads();
1015 result = (bool)(arg1)->GetVisible();
1016
1017 wxPyEndAllowThreads(__tstate);
1018 if (PyErr_Occurred()) SWIG_fail;
1019 }
02a34c4c 1020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1021 return resultobj;
1022 fail:
1023 return NULL;
1024}
1025
1026
2f4c0a16 1027static PyObject *_wrap_GDIObject_SetVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1028 PyObject *resultobj;
1029 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
1030 bool arg2 ;
1031 PyObject * obj0 = 0 ;
1032 PyObject * obj1 = 0 ;
1033 char *kwnames[] = {
1034 (char *) "self",(char *) "visible", NULL
1035 };
1036
1037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GDIObject_SetVisible",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGDIObject,
1039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1040 arg2 = (bool) SWIG_AsBool(obj1);
1041 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1042 {
1043 PyThreadState* __tstate = wxPyBeginAllowThreads();
1044 (arg1)->SetVisible(arg2);
1045
1046 wxPyEndAllowThreads(__tstate);
1047 if (PyErr_Occurred()) SWIG_fail;
1048 }
1049 Py_INCREF(Py_None); resultobj = Py_None;
1050 return resultobj;
1051 fail:
1052 return NULL;
1053}
1054
1055
2f4c0a16 1056static PyObject *_wrap_GDIObject_IsNull(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1057 PyObject *resultobj;
1058 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
1059 bool result;
1060 PyObject * obj0 = 0 ;
1061 char *kwnames[] = {
1062 (char *) "self", NULL
1063 };
1064
1065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GDIObject_IsNull",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGDIObject,
1067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1068 {
1069 PyThreadState* __tstate = wxPyBeginAllowThreads();
1070 result = (bool)(arg1)->IsNull();
1071
1072 wxPyEndAllowThreads(__tstate);
1073 if (PyErr_Occurred()) SWIG_fail;
1074 }
02a34c4c 1075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1076 return resultobj;
1077 fail:
1078 return NULL;
1079}
1080
1081
2f4c0a16 1082static PyObject * GDIObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1083 PyObject *obj;
1084 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1085 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject, obj);
1086 Py_INCREF(obj);
1087 return Py_BuildValue((char *)"");
1088}
2f4c0a16 1089static PyObject *_wrap_new_Colour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1090 PyObject *resultobj;
1091 unsigned char arg1 = (unsigned char) 0 ;
1092 unsigned char arg2 = (unsigned char) 0 ;
1093 unsigned char arg3 = (unsigned char) 0 ;
1094 wxColour *result;
1095 PyObject * obj0 = 0 ;
1096 PyObject * obj1 = 0 ;
1097 PyObject * obj2 = 0 ;
1098 char *kwnames[] = {
1099 (char *) "red",(char *) "green",(char *) "blue", NULL
1100 };
1101
1102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_Colour",kwnames,&obj0,&obj1,&obj2)) goto fail;
1103 if (obj0) {
2f4c0a16
RD
1104 arg1 = (unsigned char) SWIG_AsUnsignedChar(obj0);
1105 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1106 }
1107 if (obj1) {
2f4c0a16
RD
1108 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
1109 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1110 }
1111 if (obj2) {
2f4c0a16
RD
1112 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
1113 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1114 }
1115 {
1116 PyThreadState* __tstate = wxPyBeginAllowThreads();
1117 result = (wxColour *)new wxColour(arg1,arg2,arg3);
1118
1119 wxPyEndAllowThreads(__tstate);
1120 if (PyErr_Occurred()) SWIG_fail;
1121 }
2f4c0a16 1122 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1123 return resultobj;
1124 fail:
1125 return NULL;
1126}
1127
1128
2f4c0a16 1129static PyObject *_wrap_new_NamedColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1130 PyObject *resultobj;
1131 wxString *arg1 = 0 ;
1132 wxColour *result;
423f194a 1133 bool temp1 = False ;
d14a1e28
RD
1134 PyObject * obj0 = 0 ;
1135 char *kwnames[] = {
1136 (char *) "colorName", NULL
1137 };
1138
1139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NamedColour",kwnames,&obj0)) goto fail;
1140 {
1141 arg1 = wxString_in_helper(obj0);
1142 if (arg1 == NULL) SWIG_fail;
423f194a 1143 temp1 = True;
d14a1e28
RD
1144 }
1145 {
1146 PyThreadState* __tstate = wxPyBeginAllowThreads();
1147 result = (wxColour *)new wxColour((wxString const &)*arg1);
1148
1149 wxPyEndAllowThreads(__tstate);
1150 if (PyErr_Occurred()) SWIG_fail;
1151 }
2f4c0a16 1152 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1153 {
1154 if (temp1)
1155 delete arg1;
1156 }
1157 return resultobj;
1158 fail:
1159 {
1160 if (temp1)
1161 delete arg1;
1162 }
1163 return NULL;
1164}
1165
1166
2f4c0a16 1167static PyObject *_wrap_new_ColourRGB(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1168 PyObject *resultobj;
1169 unsigned long arg1 ;
1170 wxColour *result;
1171 PyObject * obj0 = 0 ;
1172 char *kwnames[] = {
1173 (char *) "colRGB", NULL
1174 };
1175
1176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ColourRGB",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1177 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
1178 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1179 {
1180 PyThreadState* __tstate = wxPyBeginAllowThreads();
1181 result = (wxColour *)new wxColour(arg1);
1182
1183 wxPyEndAllowThreads(__tstate);
1184 if (PyErr_Occurred()) SWIG_fail;
1185 }
2f4c0a16 1186 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1187 return resultobj;
1188 fail:
1189 return NULL;
1190}
1191
1192
2f4c0a16 1193static PyObject *_wrap_delete_Colour(PyObject *, PyObject *args, PyObject *kwargs) {
38f59159
RD
1194 PyObject *resultobj;
1195 wxColour *arg1 = (wxColour *) 0 ;
1196 PyObject * obj0 = 0 ;
1197 char *kwnames[] = {
1198 (char *) "self", NULL
1199 };
1200
1201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Colour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38f59159
RD
1204 {
1205 PyThreadState* __tstate = wxPyBeginAllowThreads();
1206 delete arg1;
1207
1208 wxPyEndAllowThreads(__tstate);
1209 if (PyErr_Occurred()) SWIG_fail;
1210 }
1211 Py_INCREF(Py_None); resultobj = Py_None;
1212 return resultobj;
1213 fail:
1214 return NULL;
1215}
1216
1217
2f4c0a16 1218static PyObject *_wrap_Colour_Red(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1219 PyObject *resultobj;
1220 wxColour *arg1 = (wxColour *) 0 ;
1221 unsigned char result;
1222 PyObject * obj0 = 0 ;
1223 char *kwnames[] = {
1224 (char *) "self", NULL
1225 };
1226
1227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Red",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1230 {
1231 PyThreadState* __tstate = wxPyBeginAllowThreads();
1232 result = (unsigned char)(arg1)->Red();
1233
1234 wxPyEndAllowThreads(__tstate);
1235 if (PyErr_Occurred()) SWIG_fail;
1236 }
2f4c0a16 1237 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
1238 return resultobj;
1239 fail:
1240 return NULL;
1241}
1242
1243
2f4c0a16 1244static PyObject *_wrap_Colour_Green(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1245 PyObject *resultobj;
1246 wxColour *arg1 = (wxColour *) 0 ;
1247 unsigned char result;
1248 PyObject * obj0 = 0 ;
1249 char *kwnames[] = {
1250 (char *) "self", NULL
1251 };
1252
1253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Green",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1256 {
1257 PyThreadState* __tstate = wxPyBeginAllowThreads();
1258 result = (unsigned char)(arg1)->Green();
1259
1260 wxPyEndAllowThreads(__tstate);
1261 if (PyErr_Occurred()) SWIG_fail;
1262 }
2f4c0a16 1263 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
1264 return resultobj;
1265 fail:
1266 return NULL;
1267}
1268
1269
2f4c0a16 1270static PyObject *_wrap_Colour_Blue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1271 PyObject *resultobj;
1272 wxColour *arg1 = (wxColour *) 0 ;
1273 unsigned char result;
1274 PyObject * obj0 = 0 ;
1275 char *kwnames[] = {
1276 (char *) "self", NULL
1277 };
1278
1279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Blue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1282 {
1283 PyThreadState* __tstate = wxPyBeginAllowThreads();
1284 result = (unsigned char)(arg1)->Blue();
1285
1286 wxPyEndAllowThreads(__tstate);
1287 if (PyErr_Occurred()) SWIG_fail;
1288 }
2f4c0a16 1289 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
1290 return resultobj;
1291 fail:
1292 return NULL;
1293}
1294
1295
2f4c0a16 1296static PyObject *_wrap_Colour_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1297 PyObject *resultobj;
1298 wxColour *arg1 = (wxColour *) 0 ;
1299 bool result;
1300 PyObject * obj0 = 0 ;
1301 char *kwnames[] = {
1302 (char *) "self", NULL
1303 };
1304
1305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Ok",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1308 {
1309 PyThreadState* __tstate = wxPyBeginAllowThreads();
1310 result = (bool)(arg1)->Ok();
1311
1312 wxPyEndAllowThreads(__tstate);
1313 if (PyErr_Occurred()) SWIG_fail;
1314 }
02a34c4c 1315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1316 return resultobj;
1317 fail:
1318 return NULL;
1319}
1320
1321
2f4c0a16 1322static PyObject *_wrap_Colour_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1323 PyObject *resultobj;
1324 wxColour *arg1 = (wxColour *) 0 ;
1325 unsigned char arg2 ;
1326 unsigned char arg3 ;
1327 unsigned char arg4 ;
1328 PyObject * obj0 = 0 ;
1329 PyObject * obj1 = 0 ;
1330 PyObject * obj2 = 0 ;
1331 PyObject * obj3 = 0 ;
1332 char *kwnames[] = {
1333 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1334 };
1335
1336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Colour_Set",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
1337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1339 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
1340 if (PyErr_Occurred()) SWIG_fail;
1341 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
1342 if (PyErr_Occurred()) SWIG_fail;
1343 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
1344 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1345 {
1346 PyThreadState* __tstate = wxPyBeginAllowThreads();
1347 (arg1)->Set(arg2,arg3,arg4);
1348
1349 wxPyEndAllowThreads(__tstate);
1350 if (PyErr_Occurred()) SWIG_fail;
1351 }
1352 Py_INCREF(Py_None); resultobj = Py_None;
1353 return resultobj;
1354 fail:
1355 return NULL;
1356}
1357
1358
2f4c0a16 1359static PyObject *_wrap_Colour_SetRGB(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1360 PyObject *resultobj;
1361 wxColour *arg1 = (wxColour *) 0 ;
1362 unsigned long arg2 ;
1363 PyObject * obj0 = 0 ;
1364 PyObject * obj1 = 0 ;
1365 char *kwnames[] = {
1366 (char *) "self",(char *) "colRGB", NULL
1367 };
1368
9fd4be55 1369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour_SetRGB",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1372 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
1373 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1374 {
1375 PyThreadState* __tstate = wxPyBeginAllowThreads();
1376 (arg1)->Set(arg2);
1377
1378 wxPyEndAllowThreads(__tstate);
1379 if (PyErr_Occurred()) SWIG_fail;
1380 }
1381 Py_INCREF(Py_None); resultobj = Py_None;
1382 return resultobj;
1383 fail:
1384 return NULL;
1385}
1386
1387
2f4c0a16 1388static PyObject *_wrap_Colour_SetFromName(PyObject *, PyObject *args, PyObject *kwargs) {
38f59159
RD
1389 PyObject *resultobj;
1390 wxColour *arg1 = (wxColour *) 0 ;
1391 wxString *arg2 = 0 ;
1392 bool temp2 = False ;
1393 PyObject * obj0 = 0 ;
1394 PyObject * obj1 = 0 ;
1395 char *kwnames[] = {
1396 (char *) "self",(char *) "colourName", NULL
1397 };
1398
1399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour_SetFromName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38f59159
RD
1402 {
1403 arg2 = wxString_in_helper(obj1);
1404 if (arg2 == NULL) SWIG_fail;
1405 temp2 = True;
1406 }
1407 {
1408 PyThreadState* __tstate = wxPyBeginAllowThreads();
1409 (arg1)->InitFromName((wxString const &)*arg2);
1410
1411 wxPyEndAllowThreads(__tstate);
1412 if (PyErr_Occurred()) SWIG_fail;
1413 }
1414 Py_INCREF(Py_None); resultobj = Py_None;
1415 {
1416 if (temp2)
1417 delete arg2;
1418 }
1419 return resultobj;
1420 fail:
1421 {
1422 if (temp2)
1423 delete arg2;
1424 }
1425 return NULL;
1426}
1427
1428
2f4c0a16 1429static PyObject *_wrap_Colour_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) {
38f59159
RD
1430 PyObject *resultobj;
1431 wxColour *arg1 = (wxColour *) 0 ;
1432 long result;
1433 PyObject * obj0 = 0 ;
1434 char *kwnames[] = {
1435 (char *) "self", NULL
1436 };
1437
1438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_GetPixel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38f59159
RD
1441 {
1442 PyThreadState* __tstate = wxPyBeginAllowThreads();
1443 result = (long)((wxColour const *)arg1)->GetPixel();
1444
1445 wxPyEndAllowThreads(__tstate);
1446 if (PyErr_Occurred()) SWIG_fail;
1447 }
2f4c0a16 1448 resultobj = SWIG_FromLong((long)result);
38f59159
RD
1449 return resultobj;
1450 fail:
1451 return NULL;
1452}
1453
1454
2f4c0a16 1455static PyObject *_wrap_Colour___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1456 PyObject *resultobj;
1457 wxColour *arg1 = (wxColour *) 0 ;
1458 wxColour *arg2 = 0 ;
1459 bool result;
1460 wxColour temp2 ;
1461 PyObject * obj0 = 0 ;
1462 PyObject * obj1 = 0 ;
1463 char *kwnames[] = {
1464 (char *) "self",(char *) "colour", NULL
1465 };
1466
1467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1470 {
1471 arg2 = &temp2;
1472 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
1473 }
1474 {
1475 PyThreadState* __tstate = wxPyBeginAllowThreads();
1476 result = (bool)((wxColour const *)arg1)->operator ==((wxColour const &)*arg2);
1477
1478 wxPyEndAllowThreads(__tstate);
1479 if (PyErr_Occurred()) SWIG_fail;
1480 }
02a34c4c 1481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1482 return resultobj;
1483 fail:
1484 return NULL;
1485}
1486
1487
2f4c0a16 1488static PyObject *_wrap_Colour___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1489 PyObject *resultobj;
1490 wxColour *arg1 = (wxColour *) 0 ;
1491 wxColour *arg2 = 0 ;
1492 bool result;
1493 wxColour temp2 ;
1494 PyObject * obj0 = 0 ;
1495 PyObject * obj1 = 0 ;
1496 char *kwnames[] = {
1497 (char *) "self",(char *) "colour", NULL
1498 };
1499
1500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1503 {
1504 arg2 = &temp2;
1505 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
1506 }
1507 {
1508 PyThreadState* __tstate = wxPyBeginAllowThreads();
1509 result = (bool)((wxColour const *)arg1)->operator !=((wxColour const &)*arg2);
1510
1511 wxPyEndAllowThreads(__tstate);
1512 if (PyErr_Occurred()) SWIG_fail;
1513 }
02a34c4c 1514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1515 return resultobj;
1516 fail:
1517 return NULL;
1518}
1519
1520
2f4c0a16 1521static PyObject *_wrap_Colour_Get(PyObject *, PyObject *args, PyObject *kwargs) {
9fd4be55
RD
1522 PyObject *resultobj;
1523 wxColour *arg1 = (wxColour *) 0 ;
38f59159 1524 PyObject *result;
9fd4be55 1525 PyObject * obj0 = 0 ;
9fd4be55 1526 char *kwnames[] = {
38f59159 1527 (char *) "self", NULL
9fd4be55
RD
1528 };
1529
38f59159 1530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9fd4be55
RD
1533 {
1534 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 1535 result = (PyObject *)wxColour_Get(arg1);
9fd4be55
RD
1536
1537 wxPyEndAllowThreads(__tstate);
1538 if (PyErr_Occurred()) SWIG_fail;
1539 }
38f59159 1540 resultobj = result;
9fd4be55
RD
1541 return resultobj;
1542 fail:
9fd4be55
RD
1543 return NULL;
1544}
1545
1546
2f4c0a16 1547static PyObject *_wrap_Colour_GetRGB(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1548 PyObject *resultobj;
1549 wxColour *arg1 = (wxColour *) 0 ;
38f59159 1550 unsigned long result;
d14a1e28
RD
1551 PyObject * obj0 = 0 ;
1552 char *kwnames[] = {
1553 (char *) "self", NULL
1554 };
1555
38f59159 1556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_GetRGB",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1559 {
1560 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 1561 result = (unsigned long)wxColour_GetRGB(arg1);
d14a1e28
RD
1562
1563 wxPyEndAllowThreads(__tstate);
1564 if (PyErr_Occurred()) SWIG_fail;
1565 }
2f4c0a16 1566 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
1567 return resultobj;
1568 fail:
1569 return NULL;
1570}
1571
1572
2f4c0a16 1573static PyObject * Colour_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1574 PyObject *obj;
1575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1576 SWIG_TypeClientData(SWIGTYPE_p_wxColour, obj);
1577 Py_INCREF(obj);
1578 return Py_BuildValue((char *)"");
1579}
2f4c0a16 1580static PyObject *_wrap_new_Palette(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1581 PyObject *resultobj;
1582 int arg1 ;
1583 unsigned char *arg2 = (unsigned char *) 0 ;
1584 unsigned char *arg3 = (unsigned char *) 0 ;
1585 unsigned char *arg4 = (unsigned char *) 0 ;
1586 wxPalette *result;
8edf1c75 1587 PyObject * obj0 = 0 ;
d14a1e28
RD
1588 PyObject * obj1 = 0 ;
1589 PyObject * obj2 = 0 ;
1590 PyObject * obj3 = 0 ;
1591 char *kwnames[] = {
1592 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1593 };
1594
8edf1c75 1595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_Palette",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
1596 arg1 = (int) SWIG_AsInt(obj0);
1597 if (PyErr_Occurred()) SWIG_fail;
1598 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_char,
1599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1600 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_unsigned_char,
1601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1602 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_unsigned_char,
1603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1604 {
1605 PyThreadState* __tstate = wxPyBeginAllowThreads();
1606 result = (wxPalette *)new wxPalette(arg1,(unsigned char const *)arg2,(unsigned char const *)arg3,(unsigned char const *)arg4);
1607
1608 wxPyEndAllowThreads(__tstate);
1609 if (PyErr_Occurred()) SWIG_fail;
1610 }
2f4c0a16 1611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPalette, 1);
d14a1e28
RD
1612 return resultobj;
1613 fail:
1614 return NULL;
1615}
1616
1617
2f4c0a16 1618static PyObject *_wrap_delete_Palette(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1619 PyObject *resultobj;
1620 wxPalette *arg1 = (wxPalette *) 0 ;
1621 PyObject * obj0 = 0 ;
1622 char *kwnames[] = {
1623 (char *) "self", NULL
1624 };
1625
1626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Palette",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPalette,
1628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1629 {
1630 PyThreadState* __tstate = wxPyBeginAllowThreads();
1631 delete arg1;
1632
1633 wxPyEndAllowThreads(__tstate);
1634 if (PyErr_Occurred()) SWIG_fail;
1635 }
1636 Py_INCREF(Py_None); resultobj = Py_None;
1637 return resultobj;
1638 fail:
1639 return NULL;
1640}
1641
1642
2f4c0a16 1643static PyObject *_wrap_Palette_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1644 PyObject *resultobj;
1645 wxPalette *arg1 = (wxPalette *) 0 ;
1646 byte arg2 ;
1647 byte arg3 ;
1648 byte arg4 ;
1649 int result;
1650 PyObject * obj0 = 0 ;
1651 PyObject * obj1 = 0 ;
1652 PyObject * obj2 = 0 ;
1653 PyObject * obj3 = 0 ;
1654 char *kwnames[] = {
1655 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1656 };
1657
1658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Palette_GetPixel",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
1659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPalette,
1660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1661 arg2 = (byte) SWIG_AsUnsignedChar(obj1);
1662 if (PyErr_Occurred()) SWIG_fail;
1663 arg3 = (byte) SWIG_AsUnsignedChar(obj2);
1664 if (PyErr_Occurred()) SWIG_fail;
1665 arg4 = (byte) SWIG_AsUnsignedChar(obj3);
1666 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1667 {
1668 PyThreadState* __tstate = wxPyBeginAllowThreads();
1669 result = (int)(arg1)->GetPixel(arg2,arg3,arg4);
1670
1671 wxPyEndAllowThreads(__tstate);
1672 if (PyErr_Occurred()) SWIG_fail;
1673 }
2f4c0a16 1674 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1675 return resultobj;
1676 fail:
1677 return NULL;
1678}
1679
1680
2f4c0a16 1681static PyObject *_wrap_Palette_GetRGB(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1682 PyObject *resultobj;
1683 wxPalette *arg1 = (wxPalette *) 0 ;
1684 int arg2 ;
1685 byte *arg3 = (byte *) 0 ;
1686 byte *arg4 = (byte *) 0 ;
1687 byte *arg5 = (byte *) 0 ;
1688 bool result;
1689 byte temp3 ;
1690 byte temp4 ;
1691 byte temp5 ;
1692 PyObject * obj0 = 0 ;
8edf1c75 1693 PyObject * obj1 = 0 ;
d14a1e28
RD
1694 char *kwnames[] = {
1695 (char *) "self",(char *) "pixel", NULL
1696 };
1697
1698 arg3 = &temp3;
1699 arg4 = &temp4;
1700 arg5 = &temp5;
8edf1c75 1701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Palette_GetRGB",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPalette,
1703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1704 arg2 = (int) SWIG_AsInt(obj1);
1705 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1706 {
1707 PyThreadState* __tstate = wxPyBeginAllowThreads();
1708 result = (bool)(arg1)->GetRGB(arg2,arg3,arg4,arg5);
1709
1710 wxPyEndAllowThreads(__tstate);
1711 if (PyErr_Occurred()) SWIG_fail;
1712 }
02a34c4c 1713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1714 {
1715 PyObject *o = PyInt_FromLong((long) (*arg3));
1716 resultobj = t_output_helper(resultobj,o);
1717 }
1718 {
1719 PyObject *o = PyInt_FromLong((long) (*arg4));
1720 resultobj = t_output_helper(resultobj,o);
1721 }
1722 {
1723 PyObject *o = PyInt_FromLong((long) (*arg5));
1724 resultobj = t_output_helper(resultobj,o);
1725 }
1726 return resultobj;
1727 fail:
1728 return NULL;
1729}
1730
1731
2f4c0a16 1732static PyObject *_wrap_Palette_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1733 PyObject *resultobj;
1734 wxPalette *arg1 = (wxPalette *) 0 ;
1735 bool result;
1736 PyObject * obj0 = 0 ;
1737 char *kwnames[] = {
1738 (char *) "self", NULL
1739 };
1740
1741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Palette_Ok",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPalette,
1743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1744 {
1745 PyThreadState* __tstate = wxPyBeginAllowThreads();
1746 result = (bool)(arg1)->Ok();
1747
1748 wxPyEndAllowThreads(__tstate);
1749 if (PyErr_Occurred()) SWIG_fail;
1750 }
02a34c4c 1751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1752 return resultobj;
1753 fail:
1754 return NULL;
1755}
1756
1757
2f4c0a16 1758static PyObject * Palette_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1759 PyObject *obj;
1760 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1761 SWIG_TypeClientData(SWIGTYPE_p_wxPalette, obj);
1762 Py_INCREF(obj);
1763 return Py_BuildValue((char *)"");
1764}
2f4c0a16 1765static PyObject *_wrap_new_Pen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1766 PyObject *resultobj;
1767 wxColour *arg1 = 0 ;
1768 int arg2 = (int) 1 ;
1769 int arg3 = (int) wxSOLID ;
1770 wxPen *result;
1771 wxColour temp1 ;
1772 PyObject * obj0 = 0 ;
8edf1c75
RD
1773 PyObject * obj1 = 0 ;
1774 PyObject * obj2 = 0 ;
d14a1e28
RD
1775 char *kwnames[] = {
1776 (char *) "colour",(char *) "width",(char *) "style", NULL
1777 };
1778
8edf1c75 1779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Pen",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
1780 {
1781 arg1 = &temp1;
1782 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
1783 }
8edf1c75 1784 if (obj1) {
2f4c0a16
RD
1785 arg2 = (int) SWIG_AsInt(obj1);
1786 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
1787 }
1788 if (obj2) {
2f4c0a16
RD
1789 arg3 = (int) SWIG_AsInt(obj2);
1790 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 1791 }
d14a1e28
RD
1792 {
1793 PyThreadState* __tstate = wxPyBeginAllowThreads();
1794 result = (wxPen *)new wxPen(*arg1,arg2,arg3);
1795
1796 wxPyEndAllowThreads(__tstate);
1797 if (PyErr_Occurred()) SWIG_fail;
1798 }
2f4c0a16 1799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 1);
d14a1e28
RD
1800 return resultobj;
1801 fail:
1802 return NULL;
1803}
1804
1805
2f4c0a16 1806static PyObject *_wrap_delete_Pen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1807 PyObject *resultobj;
1808 wxPen *arg1 = (wxPen *) 0 ;
1809 PyObject * obj0 = 0 ;
1810 char *kwnames[] = {
1811 (char *) "self", NULL
1812 };
1813
1814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Pen",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1817 {
1818 PyThreadState* __tstate = wxPyBeginAllowThreads();
1819 delete arg1;
1820
1821 wxPyEndAllowThreads(__tstate);
1822 if (PyErr_Occurred()) SWIG_fail;
1823 }
1824 Py_INCREF(Py_None); resultobj = Py_None;
1825 return resultobj;
1826 fail:
1827 return NULL;
1828}
1829
1830
2f4c0a16 1831static PyObject *_wrap_Pen_GetCap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1832 PyObject *resultobj;
1833 wxPen *arg1 = (wxPen *) 0 ;
1834 int result;
1835 PyObject * obj0 = 0 ;
1836 char *kwnames[] = {
1837 (char *) "self", NULL
1838 };
1839
1840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetCap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1843 {
1844 PyThreadState* __tstate = wxPyBeginAllowThreads();
1845 result = (int)(arg1)->GetCap();
1846
1847 wxPyEndAllowThreads(__tstate);
1848 if (PyErr_Occurred()) SWIG_fail;
1849 }
2f4c0a16 1850 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1851 return resultobj;
1852 fail:
1853 return NULL;
1854}
1855
1856
2f4c0a16 1857static PyObject *_wrap_Pen_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1858 PyObject *resultobj;
1859 wxPen *arg1 = (wxPen *) 0 ;
1860 wxColour result;
1861 PyObject * obj0 = 0 ;
1862 char *kwnames[] = {
1863 (char *) "self", NULL
1864 };
1865
1866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1869 {
1870 PyThreadState* __tstate = wxPyBeginAllowThreads();
1871 result = (arg1)->GetColour();
1872
1873 wxPyEndAllowThreads(__tstate);
1874 if (PyErr_Occurred()) SWIG_fail;
1875 }
1876 {
1877 wxColour * resultptr;
1878 resultptr = new wxColour((wxColour &) result);
2f4c0a16 1879 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1880 }
1881 return resultobj;
1882 fail:
1883 return NULL;
1884}
1885
1886
2f4c0a16 1887static PyObject *_wrap_Pen_GetJoin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1888 PyObject *resultobj;
1889 wxPen *arg1 = (wxPen *) 0 ;
1890 int result;
1891 PyObject * obj0 = 0 ;
1892 char *kwnames[] = {
1893 (char *) "self", NULL
1894 };
1895
1896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetJoin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1899 {
1900 PyThreadState* __tstate = wxPyBeginAllowThreads();
1901 result = (int)(arg1)->GetJoin();
1902
1903 wxPyEndAllowThreads(__tstate);
1904 if (PyErr_Occurred()) SWIG_fail;
1905 }
2f4c0a16 1906 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1907 return resultobj;
1908 fail:
1909 return NULL;
1910}
1911
1912
2f4c0a16 1913static PyObject *_wrap_Pen_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1914 PyObject *resultobj;
1915 wxPen *arg1 = (wxPen *) 0 ;
1916 int result;
1917 PyObject * obj0 = 0 ;
1918 char *kwnames[] = {
1919 (char *) "self", NULL
1920 };
1921
1922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetStyle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1925 {
1926 PyThreadState* __tstate = wxPyBeginAllowThreads();
1927 result = (int)(arg1)->GetStyle();
1928
1929 wxPyEndAllowThreads(__tstate);
1930 if (PyErr_Occurred()) SWIG_fail;
1931 }
2f4c0a16 1932 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1933 return resultobj;
1934 fail:
1935 return NULL;
1936}
1937
1938
2f4c0a16 1939static PyObject *_wrap_Pen_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1940 PyObject *resultobj;
1941 wxPen *arg1 = (wxPen *) 0 ;
1942 int result;
1943 PyObject * obj0 = 0 ;
1944 char *kwnames[] = {
1945 (char *) "self", NULL
1946 };
1947
1948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1951 {
1952 PyThreadState* __tstate = wxPyBeginAllowThreads();
1953 result = (int)(arg1)->GetWidth();
1954
1955 wxPyEndAllowThreads(__tstate);
1956 if (PyErr_Occurred()) SWIG_fail;
1957 }
2f4c0a16 1958 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1959 return resultobj;
1960 fail:
1961 return NULL;
1962}
1963
1964
2f4c0a16 1965static PyObject *_wrap_Pen_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1966 PyObject *resultobj;
1967 wxPen *arg1 = (wxPen *) 0 ;
1968 bool result;
1969 PyObject * obj0 = 0 ;
1970 char *kwnames[] = {
1971 (char *) "self", NULL
1972 };
1973
1974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_Ok",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1977 {
1978 PyThreadState* __tstate = wxPyBeginAllowThreads();
1979 result = (bool)(arg1)->Ok();
1980
1981 wxPyEndAllowThreads(__tstate);
1982 if (PyErr_Occurred()) SWIG_fail;
1983 }
02a34c4c 1984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1985 return resultobj;
1986 fail:
1987 return NULL;
1988}
1989
1990
2f4c0a16 1991static PyObject *_wrap_Pen_SetCap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1992 PyObject *resultobj;
1993 wxPen *arg1 = (wxPen *) 0 ;
1994 int arg2 ;
1995 PyObject * obj0 = 0 ;
8edf1c75 1996 PyObject * obj1 = 0 ;
d14a1e28
RD
1997 char *kwnames[] = {
1998 (char *) "self",(char *) "cap_style", NULL
1999 };
2000
8edf1c75 2001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetCap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2004 arg2 = (int) SWIG_AsInt(obj1);
2005 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2006 {
2007 PyThreadState* __tstate = wxPyBeginAllowThreads();
2008 (arg1)->SetCap(arg2);
2009
2010 wxPyEndAllowThreads(__tstate);
2011 if (PyErr_Occurred()) SWIG_fail;
2012 }
2013 Py_INCREF(Py_None); resultobj = Py_None;
2014 return resultobj;
2015 fail:
2016 return NULL;
2017}
2018
2019
2f4c0a16 2020static PyObject *_wrap_Pen_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2021 PyObject *resultobj;
2022 wxPen *arg1 = (wxPen *) 0 ;
2023 wxColour *arg2 = 0 ;
2024 wxColour temp2 ;
2025 PyObject * obj0 = 0 ;
2026 PyObject * obj1 = 0 ;
2027 char *kwnames[] = {
2028 (char *) "self",(char *) "colour", NULL
2029 };
2030
2031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2034 {
2035 arg2 = &temp2;
2036 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2037 }
2038 {
2039 PyThreadState* __tstate = wxPyBeginAllowThreads();
2040 (arg1)->SetColour(*arg2);
2041
2042 wxPyEndAllowThreads(__tstate);
2043 if (PyErr_Occurred()) SWIG_fail;
2044 }
2045 Py_INCREF(Py_None); resultobj = Py_None;
2046 return resultobj;
2047 fail:
2048 return NULL;
2049}
2050
2051
2f4c0a16 2052static PyObject *_wrap_Pen_SetJoin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2053 PyObject *resultobj;
2054 wxPen *arg1 = (wxPen *) 0 ;
2055 int arg2 ;
2056 PyObject * obj0 = 0 ;
8edf1c75 2057 PyObject * obj1 = 0 ;
d14a1e28
RD
2058 char *kwnames[] = {
2059 (char *) "self",(char *) "join_style", NULL
2060 };
2061
8edf1c75 2062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetJoin",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2065 arg2 = (int) SWIG_AsInt(obj1);
2066 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2067 {
2068 PyThreadState* __tstate = wxPyBeginAllowThreads();
2069 (arg1)->SetJoin(arg2);
2070
2071 wxPyEndAllowThreads(__tstate);
2072 if (PyErr_Occurred()) SWIG_fail;
2073 }
2074 Py_INCREF(Py_None); resultobj = Py_None;
2075 return resultobj;
2076 fail:
2077 return NULL;
2078}
2079
2080
2f4c0a16 2081static PyObject *_wrap_Pen_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2082 PyObject *resultobj;
2083 wxPen *arg1 = (wxPen *) 0 ;
2084 int arg2 ;
2085 PyObject * obj0 = 0 ;
8edf1c75 2086 PyObject * obj1 = 0 ;
d14a1e28
RD
2087 char *kwnames[] = {
2088 (char *) "self",(char *) "style", NULL
2089 };
2090
8edf1c75 2091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetStyle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2094 arg2 = (int) SWIG_AsInt(obj1);
2095 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2096 {
2097 PyThreadState* __tstate = wxPyBeginAllowThreads();
2098 (arg1)->SetStyle(arg2);
2099
2100 wxPyEndAllowThreads(__tstate);
2101 if (PyErr_Occurred()) SWIG_fail;
2102 }
2103 Py_INCREF(Py_None); resultobj = Py_None;
2104 return resultobj;
2105 fail:
2106 return NULL;
2107}
2108
2109
2f4c0a16 2110static PyObject *_wrap_Pen_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2111 PyObject *resultobj;
2112 wxPen *arg1 = (wxPen *) 0 ;
2113 int arg2 ;
2114 PyObject * obj0 = 0 ;
8edf1c75 2115 PyObject * obj1 = 0 ;
d14a1e28
RD
2116 char *kwnames[] = {
2117 (char *) "self",(char *) "width", NULL
2118 };
2119
8edf1c75 2120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2123 arg2 = (int) SWIG_AsInt(obj1);
2124 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2125 {
2126 PyThreadState* __tstate = wxPyBeginAllowThreads();
2127 (arg1)->SetWidth(arg2);
2128
2129 wxPyEndAllowThreads(__tstate);
2130 if (PyErr_Occurred()) SWIG_fail;
2131 }
2132 Py_INCREF(Py_None); resultobj = Py_None;
2133 return resultobj;
2134 fail:
2135 return NULL;
2136}
2137
2138
2f4c0a16 2139static PyObject *_wrap_Pen_SetDashes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2140 PyObject *resultobj;
2141 wxPen *arg1 = (wxPen *) 0 ;
2142 int arg2 ;
2143 wxDash *arg3 = (wxDash *) 0 ;
2144 PyObject * obj0 = 0 ;
2145 PyObject * obj1 = 0 ;
2146 char *kwnames[] = {
2147 (char *) "self",(char *) "dashes", NULL
2148 };
2149
2150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetDashes",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2153 {
2154 arg2 = PyList_Size(obj1);
2155 arg3 = (wxDash*)byte_LIST_helper(obj1);
2156 if (arg3 == NULL) SWIG_fail;
2157 }
2158 {
2159 PyThreadState* __tstate = wxPyBeginAllowThreads();
2160 (arg1)->SetDashes(arg2,arg3);
2161
2162 wxPyEndAllowThreads(__tstate);
2163 if (PyErr_Occurred()) SWIG_fail;
2164 }
2165 Py_INCREF(Py_None); resultobj = Py_None;
2166 {
2167 if (arg3) delete [] arg3;
2168 }
2169 return resultobj;
2170 fail:
2171 {
2172 if (arg3) delete [] arg3;
2173 }
2174 return NULL;
2175}
2176
2177
2f4c0a16 2178static PyObject *_wrap_Pen_GetDashes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2179 PyObject *resultobj;
2180 wxPen *arg1 = (wxPen *) 0 ;
2181 PyObject *result;
2182 PyObject * obj0 = 0 ;
2183 char *kwnames[] = {
2184 (char *) "self", NULL
2185 };
2186
2187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetDashes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2190 {
2191 PyThreadState* __tstate = wxPyBeginAllowThreads();
2192 result = (PyObject *)wxPen_GetDashes(arg1);
2193
2194 wxPyEndAllowThreads(__tstate);
2195 if (PyErr_Occurred()) SWIG_fail;
2196 }
2197 resultobj = result;
2198 return resultobj;
2199 fail:
2200 return NULL;
2201}
2202
2203
2f4c0a16 2204static PyObject *_wrap_Pen___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
0ffb2aa6
RD
2205 PyObject *resultobj;
2206 wxPen *arg1 = (wxPen *) 0 ;
38f59159 2207 wxPen *arg2 = (wxPen *) 0 ;
0ffb2aa6
RD
2208 bool result;
2209 PyObject * obj0 = 0 ;
2210 PyObject * obj1 = 0 ;
2211 char *kwnames[] = {
38f59159 2212 (char *) "self",(char *) "other", NULL
0ffb2aa6
RD
2213 };
2214
2215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2218 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPen,
2219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38f59159
RD
2220 {
2221 PyThreadState* __tstate = wxPyBeginAllowThreads();
2222 result = (bool)wxPen___eq__(arg1,(wxPen const *)arg2);
2223
2224 wxPyEndAllowThreads(__tstate);
2225 if (PyErr_Occurred()) SWIG_fail;
0ffb2aa6 2226 }
38f59159
RD
2227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2228 return resultobj;
2229 fail:
2230 return NULL;
2231}
2232
2233
2f4c0a16 2234static PyObject *_wrap_Pen___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
38f59159
RD
2235 PyObject *resultobj;
2236 wxPen *arg1 = (wxPen *) 0 ;
2237 wxPen *arg2 = (wxPen *) 0 ;
2238 bool result;
2239 PyObject * obj0 = 0 ;
2240 PyObject * obj1 = 0 ;
2241 char *kwnames[] = {
2242 (char *) "self",(char *) "other", NULL
2243 };
2244
2245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2248 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPen,
2249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
0ffb2aa6
RD
2250 {
2251 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 2252 result = (bool)wxPen___ne__(arg1,(wxPen const *)arg2);
0ffb2aa6
RD
2253
2254 wxPyEndAllowThreads(__tstate);
2255 if (PyErr_Occurred()) SWIG_fail;
2256 }
2257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2258 return resultobj;
2259 fail:
2260 return NULL;
2261}
2262
2263
2f4c0a16 2264static PyObject * Pen_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2265 PyObject *obj;
2266 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2267 SWIG_TypeClientData(SWIGTYPE_p_wxPen, obj);
2268 Py_INCREF(obj);
2269 return Py_BuildValue((char *)"");
2270}
2f4c0a16 2271static PyObject *_wrap_new_PyPen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2272 PyObject *resultobj;
2273 wxColour *arg1 = 0 ;
2274 int arg2 = (int) 1 ;
2275 int arg3 = (int) wxSOLID ;
2276 wxPyPen *result;
2277 wxColour temp1 ;
2278 PyObject * obj0 = 0 ;
8edf1c75
RD
2279 PyObject * obj1 = 0 ;
2280 PyObject * obj2 = 0 ;
d14a1e28
RD
2281 char *kwnames[] = {
2282 (char *) "colour",(char *) "width",(char *) "style", NULL
2283 };
2284
8edf1c75 2285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_PyPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
2286 {
2287 arg1 = &temp1;
2288 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
2289 }
8edf1c75 2290 if (obj1) {
2f4c0a16
RD
2291 arg2 = (int) SWIG_AsInt(obj1);
2292 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2293 }
2294 if (obj2) {
2f4c0a16
RD
2295 arg3 = (int) SWIG_AsInt(obj2);
2296 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2297 }
d14a1e28
RD
2298 {
2299 PyThreadState* __tstate = wxPyBeginAllowThreads();
2300 result = (wxPyPen *)new wxPyPen(*arg1,arg2,arg3);
2301
2302 wxPyEndAllowThreads(__tstate);
2303 if (PyErr_Occurred()) SWIG_fail;
2304 }
2f4c0a16 2305 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPen, 1);
d14a1e28
RD
2306 return resultobj;
2307 fail:
2308 return NULL;
2309}
2310
2311
2f4c0a16 2312static PyObject *_wrap_delete_PyPen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2313 PyObject *resultobj;
2314 wxPyPen *arg1 = (wxPyPen *) 0 ;
2315 PyObject * obj0 = 0 ;
2316 char *kwnames[] = {
2317 (char *) "self", NULL
2318 };
2319
2320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyPen",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPen,
2322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2323 {
2324 PyThreadState* __tstate = wxPyBeginAllowThreads();
2325 delete arg1;
2326
2327 wxPyEndAllowThreads(__tstate);
2328 if (PyErr_Occurred()) SWIG_fail;
2329 }
2330 Py_INCREF(Py_None); resultobj = Py_None;
2331 return resultobj;
2332 fail:
2333 return NULL;
2334}
2335
2336
2f4c0a16 2337static PyObject *_wrap_PyPen_SetDashes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2338 PyObject *resultobj;
2339 wxPyPen *arg1 = (wxPyPen *) 0 ;
2340 int arg2 ;
2341 wxDash *arg3 = (wxDash *) 0 ;
2342 PyObject * obj0 = 0 ;
2343 PyObject * obj1 = 0 ;
2344 char *kwnames[] = {
2345 (char *) "self",(char *) "dashes", NULL
2346 };
2347
2348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPen_SetDashes",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPen,
2350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2351 {
2352 arg2 = PyList_Size(obj1);
2353 arg3 = (wxDash*)byte_LIST_helper(obj1);
2354 if (arg3 == NULL) SWIG_fail;
2355 }
2356 {
2357 PyThreadState* __tstate = wxPyBeginAllowThreads();
2358 (arg1)->SetDashes(arg2,arg3);
2359
2360 wxPyEndAllowThreads(__tstate);
2361 if (PyErr_Occurred()) SWIG_fail;
2362 }
2363 Py_INCREF(Py_None); resultobj = Py_None;
2364 {
2365 if (arg3) delete [] arg3;
2366 }
2367 return resultobj;
2368 fail:
2369 {
2370 if (arg3) delete [] arg3;
2371 }
2372 return NULL;
2373}
2374
2375
2f4c0a16 2376static PyObject * PyPen_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2377 PyObject *obj;
2378 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2379 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen, obj);
2380 Py_INCREF(obj);
2381 return Py_BuildValue((char *)"");
2382}
2f4c0a16 2383static PyObject *_wrap_new_Brush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2384 PyObject *resultobj;
2385 wxColour *arg1 = 0 ;
2386 int arg2 = (int) wxSOLID ;
2387 wxBrush *result;
2388 wxColour temp1 ;
2389 PyObject * obj0 = 0 ;
8edf1c75 2390 PyObject * obj1 = 0 ;
d14a1e28
RD
2391 char *kwnames[] = {
2392 (char *) "colour",(char *) "style", NULL
2393 };
2394
8edf1c75 2395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Brush",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2396 {
2397 arg1 = &temp1;
2398 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
2399 }
8edf1c75 2400 if (obj1) {
2f4c0a16
RD
2401 arg2 = (int) SWIG_AsInt(obj1);
2402 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2403 }
d14a1e28
RD
2404 {
2405 PyThreadState* __tstate = wxPyBeginAllowThreads();
2406 result = (wxBrush *)new wxBrush((wxColour const &)*arg1,arg2);
2407
2408 wxPyEndAllowThreads(__tstate);
2409 if (PyErr_Occurred()) SWIG_fail;
2410 }
2f4c0a16 2411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 1);
d14a1e28
RD
2412 return resultobj;
2413 fail:
2414 return NULL;
2415}
2416
2417
2f4c0a16 2418static PyObject *_wrap_delete_Brush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2419 PyObject *resultobj;
2420 wxBrush *arg1 = (wxBrush *) 0 ;
2421 PyObject * obj0 = 0 ;
2422 char *kwnames[] = {
2423 (char *) "self", NULL
2424 };
2425
2426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Brush",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2429 {
2430 PyThreadState* __tstate = wxPyBeginAllowThreads();
2431 delete arg1;
2432
2433 wxPyEndAllowThreads(__tstate);
2434 if (PyErr_Occurred()) SWIG_fail;
2435 }
2436 Py_INCREF(Py_None); resultobj = Py_None;
2437 return resultobj;
2438 fail:
2439 return NULL;
2440}
2441
2442
2f4c0a16 2443static PyObject *_wrap_Brush_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2444 PyObject *resultobj;
2445 wxBrush *arg1 = (wxBrush *) 0 ;
2446 wxColour *arg2 = 0 ;
2447 wxColour temp2 ;
2448 PyObject * obj0 = 0 ;
2449 PyObject * obj1 = 0 ;
2450 char *kwnames[] = {
2451 (char *) "self",(char *) "col", NULL
2452 };
2453
2454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Brush_SetColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2457 {
2458 arg2 = &temp2;
2459 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2460 }
2461 {
2462 PyThreadState* __tstate = wxPyBeginAllowThreads();
2463 (arg1)->SetColour((wxColour const &)*arg2);
2464
2465 wxPyEndAllowThreads(__tstate);
2466 if (PyErr_Occurred()) SWIG_fail;
2467 }
2468 Py_INCREF(Py_None); resultobj = Py_None;
2469 return resultobj;
2470 fail:
2471 return NULL;
2472}
2473
2474
2f4c0a16 2475static PyObject *_wrap_Brush_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2476 PyObject *resultobj;
2477 wxBrush *arg1 = (wxBrush *) 0 ;
2478 int arg2 ;
2479 PyObject * obj0 = 0 ;
8edf1c75 2480 PyObject * obj1 = 0 ;
d14a1e28
RD
2481 char *kwnames[] = {
2482 (char *) "self",(char *) "style", NULL
2483 };
2484
8edf1c75 2485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Brush_SetStyle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2488 arg2 = (int) SWIG_AsInt(obj1);
2489 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2490 {
2491 PyThreadState* __tstate = wxPyBeginAllowThreads();
2492 (arg1)->SetStyle(arg2);
2493
2494 wxPyEndAllowThreads(__tstate);
2495 if (PyErr_Occurred()) SWIG_fail;
2496 }
2497 Py_INCREF(Py_None); resultobj = Py_None;
2498 return resultobj;
2499 fail:
2500 return NULL;
2501}
2502
2503
2f4c0a16 2504static PyObject *_wrap_Brush_SetStipple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2505 PyObject *resultobj;
2506 wxBrush *arg1 = (wxBrush *) 0 ;
2507 wxBitmap *arg2 = 0 ;
2508 PyObject * obj0 = 0 ;
2509 PyObject * obj1 = 0 ;
2510 char *kwnames[] = {
2511 (char *) "self",(char *) "stipple", NULL
2512 };
2513
2514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Brush_SetStipple",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2517 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
2518 SWIG_POINTER_EXCEPTION | 0)) == -1)
2519 SWIG_fail;
d14a1e28 2520 if (arg2 == NULL) {
2f4c0a16
RD
2521 PyErr_SetString(PyExc_TypeError,"null reference");
2522 SWIG_fail;
d14a1e28
RD
2523 }
2524 {
2525 PyThreadState* __tstate = wxPyBeginAllowThreads();
2526 (arg1)->SetStipple((wxBitmap const &)*arg2);
2527
2528 wxPyEndAllowThreads(__tstate);
2529 if (PyErr_Occurred()) SWIG_fail;
2530 }
2531 Py_INCREF(Py_None); resultobj = Py_None;
2532 return resultobj;
2533 fail:
2534 return NULL;
2535}
2536
2537
2f4c0a16 2538static PyObject *_wrap_Brush_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2539 PyObject *resultobj;
2540 wxBrush *arg1 = (wxBrush *) 0 ;
2541 wxColour result;
2542 PyObject * obj0 = 0 ;
2543 char *kwnames[] = {
2544 (char *) "self", NULL
2545 };
2546
2547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_GetColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2550 {
2551 PyThreadState* __tstate = wxPyBeginAllowThreads();
2552 result = ((wxBrush const *)arg1)->GetColour();
2553
2554 wxPyEndAllowThreads(__tstate);
2555 if (PyErr_Occurred()) SWIG_fail;
2556 }
2557 {
2558 wxColour * resultptr;
2559 resultptr = new wxColour((wxColour &) result);
2f4c0a16 2560 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
2561 }
2562 return resultobj;
2563 fail:
2564 return NULL;
2565}
2566
2567
2f4c0a16 2568static PyObject *_wrap_Brush_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2569 PyObject *resultobj;
2570 wxBrush *arg1 = (wxBrush *) 0 ;
2571 int result;
2572 PyObject * obj0 = 0 ;
2573 char *kwnames[] = {
2574 (char *) "self", NULL
2575 };
2576
2577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_GetStyle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2580 {
2581 PyThreadState* __tstate = wxPyBeginAllowThreads();
2582 result = (int)((wxBrush const *)arg1)->GetStyle();
2583
2584 wxPyEndAllowThreads(__tstate);
2585 if (PyErr_Occurred()) SWIG_fail;
2586 }
2f4c0a16 2587 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2588 return resultobj;
2589 fail:
2590 return NULL;
2591}
2592
2593
2f4c0a16 2594static PyObject *_wrap_Brush_GetStipple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2595 PyObject *resultobj;
2596 wxBrush *arg1 = (wxBrush *) 0 ;
2597 wxBitmap *result;
2598 PyObject * obj0 = 0 ;
2599 char *kwnames[] = {
2600 (char *) "self", NULL
2601 };
2602
2603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_GetStipple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2606 {
2607 PyThreadState* __tstate = wxPyBeginAllowThreads();
2608 result = (wxBitmap *)((wxBrush const *)arg1)->GetStipple();
2609
2610 wxPyEndAllowThreads(__tstate);
2611 if (PyErr_Occurred()) SWIG_fail;
2612 }
2f4c0a16 2613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 0);
d14a1e28
RD
2614 return resultobj;
2615 fail:
2616 return NULL;
2617}
2618
2619
2f4c0a16 2620static PyObject *_wrap_Brush_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2621 PyObject *resultobj;
2622 wxBrush *arg1 = (wxBrush *) 0 ;
2623 bool result;
2624 PyObject * obj0 = 0 ;
2625 char *kwnames[] = {
2626 (char *) "self", NULL
2627 };
2628
2629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_Ok",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2632 {
2633 PyThreadState* __tstate = wxPyBeginAllowThreads();
2634 result = (bool)(arg1)->Ok();
2635
2636 wxPyEndAllowThreads(__tstate);
2637 if (PyErr_Occurred()) SWIG_fail;
2638 }
02a34c4c 2639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2640 return resultobj;
2641 fail:
2642 return NULL;
2643}
2644
2645
2f4c0a16 2646static PyObject *_wrap_Brush_GetMacTheme(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2647 PyObject *resultobj;
2648 wxBrush *arg1 = (wxBrush *) 0 ;
2649 short result;
2650 PyObject * obj0 = 0 ;
2651 char *kwnames[] = {
2652 (char *) "self", NULL
2653 };
2654
2655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_GetMacTheme",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2658 {
2659 PyThreadState* __tstate = wxPyBeginAllowThreads();
2660 result = (short)(arg1)->GetMacTheme();
2661
2662 wxPyEndAllowThreads(__tstate);
2663 if (PyErr_Occurred()) SWIG_fail;
2664 }
2f4c0a16 2665 resultobj = SWIG_FromShort((short)result);
d14a1e28
RD
2666 return resultobj;
2667 fail:
2668 return NULL;
2669}
2670
2671
2f4c0a16 2672static PyObject *_wrap_Brush_SetMacTheme(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2673 PyObject *resultobj;
2674 wxBrush *arg1 = (wxBrush *) 0 ;
2675 short arg2 ;
2676 PyObject * obj0 = 0 ;
8edf1c75 2677 PyObject * obj1 = 0 ;
d14a1e28
RD
2678 char *kwnames[] = {
2679 (char *) "self",(char *) "macThemeBrush", NULL
2680 };
2681
8edf1c75 2682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Brush_SetMacTheme",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2685 arg2 = (short) SWIG_AsShort(obj1);
2686 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2687 {
2688 PyThreadState* __tstate = wxPyBeginAllowThreads();
2689 (arg1)->SetMacTheme(arg2);
2690
2691 wxPyEndAllowThreads(__tstate);
2692 if (PyErr_Occurred()) SWIG_fail;
2693 }
2694 Py_INCREF(Py_None); resultobj = Py_None;
2695 return resultobj;
2696 fail:
2697 return NULL;
2698}
2699
2700
2f4c0a16 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}
2f4c0a16 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;
423f194a 2713 bool temp1 = False ;
d14a1e28 2714 PyObject * obj0 = 0 ;
8edf1c75 2715 PyObject * obj1 = 0 ;
d14a1e28
RD
2716 char *kwnames[] = {
2717 (char *) "name",(char *) "type", NULL
2718 };
2719
8edf1c75 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;
423f194a 2724 temp1 = True;
d14a1e28 2725 }
8edf1c75 2726 if (obj1) {
2f4c0a16
RD
2727 arg2 = (wxBitmapType) SWIG_AsInt(obj1);
2728 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2729 }
d14a1e28
RD
2730 {
2731 PyThreadState* __tstate = wxPyBeginAllowThreads();
2732 result = (wxBitmap *)new wxBitmap((wxString const &)*arg1,(wxBitmapType )arg2);
2733
2734 wxPyEndAllowThreads(__tstate);
2735 if (PyErr_Occurred()) SWIG_fail;
2736 }
2f4c0a16 2737 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2738 {
2739 if (temp1)
2740 delete arg1;
2741 }
2742 return resultobj;
2743 fail:
2744 {
2745 if (temp1)
2746 delete arg1;
2747 }
2748 return NULL;
2749}
2750
2751
2f4c0a16 2752static PyObject *_wrap_delete_Bitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2753 PyObject *resultobj;
2754 wxBitmap *arg1 = (wxBitmap *) 0 ;
2755 PyObject * obj0 = 0 ;
2756 char *kwnames[] = {
2757 (char *) "self", NULL
2758 };
2759
2760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Bitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2763 {
2764 PyThreadState* __tstate = wxPyBeginAllowThreads();
2765 delete arg1;
2766
2767 wxPyEndAllowThreads(__tstate);
2768 if (PyErr_Occurred()) SWIG_fail;
2769 }
2770 Py_INCREF(Py_None); resultobj = Py_None;
2771 return resultobj;
2772 fail:
2773 return NULL;
2774}
2775
2776
2f4c0a16 2777static PyObject *_wrap_new_EmptyBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2778 PyObject *resultobj;
2779 int arg1 ;
2780 int arg2 ;
2781 int arg3 = (int) -1 ;
2782 wxBitmap *result;
8edf1c75
RD
2783 PyObject * obj0 = 0 ;
2784 PyObject * obj1 = 0 ;
2785 PyObject * obj2 = 0 ;
d14a1e28
RD
2786 char *kwnames[] = {
2787 (char *) "width",(char *) "height",(char *) "depth", NULL
2788 };
2789
8edf1c75 2790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_EmptyBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
2791 arg1 = (int) SWIG_AsInt(obj0);
2792 if (PyErr_Occurred()) SWIG_fail;
2793 arg2 = (int) SWIG_AsInt(obj1);
2794 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2795 if (obj2) {
2f4c0a16
RD
2796 arg3 = (int) SWIG_AsInt(obj2);
2797 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2798 }
d14a1e28
RD
2799 {
2800 PyThreadState* __tstate = wxPyBeginAllowThreads();
2801 result = (wxBitmap *)new wxBitmap(arg1,arg2,arg3);
2802
2803 wxPyEndAllowThreads(__tstate);
2804 if (PyErr_Occurred()) SWIG_fail;
2805 }
2f4c0a16 2806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2807 return resultobj;
2808 fail:
2809 return NULL;
2810}
2811
2812
2f4c0a16 2813static PyObject *_wrap_new_BitmapFromIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2814 PyObject *resultobj;
2815 wxIcon *arg1 = 0 ;
2816 wxBitmap *result;
2817 PyObject * obj0 = 0 ;
2818 char *kwnames[] = {
2819 (char *) "icon", NULL
2820 };
2821
2822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BitmapFromIcon",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
2824 SWIG_POINTER_EXCEPTION | 0)) == -1)
2825 SWIG_fail;
d14a1e28 2826 if (arg1 == NULL) {
2f4c0a16
RD
2827 PyErr_SetString(PyExc_TypeError,"null reference");
2828 SWIG_fail;
d14a1e28
RD
2829 }
2830 {
2831 PyThreadState* __tstate = wxPyBeginAllowThreads();
2832 result = (wxBitmap *)new wxBitmap((wxIcon const &)*arg1);
2833
2834 wxPyEndAllowThreads(__tstate);
2835 if (PyErr_Occurred()) SWIG_fail;
2836 }
2f4c0a16 2837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2838 return resultobj;
2839 fail:
2840 return NULL;
2841}
2842
2843
2f4c0a16 2844static PyObject *_wrap_new_BitmapFromImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2845 PyObject *resultobj;
2846 wxImage *arg1 = 0 ;
2847 int arg2 = (int) -1 ;
2848 wxBitmap *result;
2849 PyObject * obj0 = 0 ;
8edf1c75 2850 PyObject * obj1 = 0 ;
d14a1e28
RD
2851 char *kwnames[] = {
2852 (char *) "image",(char *) "depth", NULL
2853 };
2854
8edf1c75 2855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_BitmapFromImage",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
2857 SWIG_POINTER_EXCEPTION | 0)) == -1)
2858 SWIG_fail;
d14a1e28 2859 if (arg1 == NULL) {
2f4c0a16
RD
2860 PyErr_SetString(PyExc_TypeError,"null reference");
2861 SWIG_fail;
d14a1e28 2862 }
8edf1c75 2863 if (obj1) {
2f4c0a16
RD
2864 arg2 = (int) SWIG_AsInt(obj1);
2865 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2866 }
d14a1e28
RD
2867 {
2868 PyThreadState* __tstate = wxPyBeginAllowThreads();
2869 result = (wxBitmap *)new wxBitmap((wxImage const &)*arg1,arg2);
2870
2871 wxPyEndAllowThreads(__tstate);
2872 if (PyErr_Occurred()) SWIG_fail;
2873 }
2f4c0a16 2874 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2875 return resultobj;
2876 fail:
2877 return NULL;
2878}
2879
2880
2f4c0a16 2881static PyObject *_wrap_new_BitmapFromXPMData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2882 PyObject *resultobj;
2883 PyObject *arg1 = (PyObject *) 0 ;
2884 wxBitmap *result;
2885 PyObject * obj0 = 0 ;
2886 char *kwnames[] = {
2887 (char *) "listOfStrings", NULL
2888 };
2889
2890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BitmapFromXPMData",kwnames,&obj0)) goto fail;
2891 arg1 = obj0;
2892 {
2893 PyThreadState* __tstate = wxPyBeginAllowThreads();
2894 result = (wxBitmap *)new_wxBitmap(arg1);
2895
2896 wxPyEndAllowThreads(__tstate);
2897 if (PyErr_Occurred()) SWIG_fail;
2898 }
2f4c0a16 2899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2900 return resultobj;
2901 fail:
2902 return NULL;
2903}
2904
2905
2f4c0a16 2906static PyObject *_wrap_new_BitmapFromBits(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2907 PyObject *resultobj;
2908 PyObject *arg1 = (PyObject *) 0 ;
2909 int arg2 ;
2910 int arg3 ;
2911 int arg4 = (int) 1 ;
2912 wxBitmap *result;
2913 PyObject * obj0 = 0 ;
8edf1c75
RD
2914 PyObject * obj1 = 0 ;
2915 PyObject * obj2 = 0 ;
2916 PyObject * obj3 = 0 ;
d14a1e28
RD
2917 char *kwnames[] = {
2918 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2919 };
2920
8edf1c75 2921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_BitmapFromBits",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 2922 arg1 = obj0;
2f4c0a16
RD
2923 arg2 = (int) SWIG_AsInt(obj1);
2924 if (PyErr_Occurred()) SWIG_fail;
2925 arg3 = (int) SWIG_AsInt(obj2);
2926 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2927 if (obj3) {
2f4c0a16
RD
2928 arg4 = (int) SWIG_AsInt(obj3);
2929 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2930 }
d14a1e28
RD
2931 {
2932 PyThreadState* __tstate = wxPyBeginAllowThreads();
2933 result = (wxBitmap *)new_wxBitmap(arg1,arg2,arg3,arg4);
2934
2935 wxPyEndAllowThreads(__tstate);
2936 if (PyErr_Occurred()) SWIG_fail;
2937 }
2f4c0a16 2938 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2939 return resultobj;
2940 fail:
2941 return NULL;
2942}
2943
2944
2f4c0a16 2945static PyObject *_wrap_Bitmap_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2946 PyObject *resultobj;
2947 wxBitmap *arg1 = (wxBitmap *) 0 ;
2948 bool result;
2949 PyObject * obj0 = 0 ;
2950 char *kwnames[] = {
2951 (char *) "self", NULL
2952 };
2953
2954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_Ok",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2957 {
2958 PyThreadState* __tstate = wxPyBeginAllowThreads();
2959 result = (bool)(arg1)->Ok();
2960
2961 wxPyEndAllowThreads(__tstate);
2962 if (PyErr_Occurred()) SWIG_fail;
2963 }
02a34c4c 2964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2965 return resultobj;
2966 fail:
2967 return NULL;
2968}
2969
2970
2f4c0a16 2971static PyObject *_wrap_Bitmap_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2972 PyObject *resultobj;
2973 wxBitmap *arg1 = (wxBitmap *) 0 ;
2974 int result;
2975 PyObject * obj0 = 0 ;
2976 char *kwnames[] = {
2977 (char *) "self", NULL
2978 };
2979
2980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2983 {
2984 PyThreadState* __tstate = wxPyBeginAllowThreads();
2985 result = (int)(arg1)->GetWidth();
2986
2987 wxPyEndAllowThreads(__tstate);
2988 if (PyErr_Occurred()) SWIG_fail;
2989 }
2f4c0a16 2990 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2991 return resultobj;
2992 fail:
2993 return NULL;
2994}
2995
2996
2f4c0a16 2997static PyObject *_wrap_Bitmap_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2998 PyObject *resultobj;
2999 wxBitmap *arg1 = (wxBitmap *) 0 ;
3000 int result;
3001 PyObject * obj0 = 0 ;
3002 char *kwnames[] = {
3003 (char *) "self", NULL
3004 };
3005
3006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3009 {
3010 PyThreadState* __tstate = wxPyBeginAllowThreads();
3011 result = (int)(arg1)->GetHeight();
3012
3013 wxPyEndAllowThreads(__tstate);
3014 if (PyErr_Occurred()) SWIG_fail;
3015 }
2f4c0a16 3016 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3017 return resultobj;
3018 fail:
3019 return NULL;
3020}
3021
3022
2f4c0a16 3023static PyObject *_wrap_Bitmap_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3024 PyObject *resultobj;
3025 wxBitmap *arg1 = (wxBitmap *) 0 ;
3026 int result;
3027 PyObject * obj0 = 0 ;
3028 char *kwnames[] = {
3029 (char *) "self", NULL
3030 };
3031
3032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetDepth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3035 {
3036 PyThreadState* __tstate = wxPyBeginAllowThreads();
3037 result = (int)(arg1)->GetDepth();
3038
3039 wxPyEndAllowThreads(__tstate);
3040 if (PyErr_Occurred()) SWIG_fail;
3041 }
2f4c0a16 3042 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3043 return resultobj;
3044 fail:
3045 return NULL;
3046}
3047
3048
2f4c0a16 3049static PyObject *_wrap_Bitmap_ConvertToImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3050 PyObject *resultobj;
3051 wxBitmap *arg1 = (wxBitmap *) 0 ;
3052 SwigValueWrapper< wxImage > result;
3053 PyObject * obj0 = 0 ;
3054 char *kwnames[] = {
3055 (char *) "self", NULL
3056 };
3057
3058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_ConvertToImage",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3061 {
3062 PyThreadState* __tstate = wxPyBeginAllowThreads();
3063 result = ((wxBitmap const *)arg1)->ConvertToImage();
3064
3065 wxPyEndAllowThreads(__tstate);
3066 if (PyErr_Occurred()) SWIG_fail;
3067 }
3068 {
3069 wxImage * resultptr;
3070 resultptr = new wxImage((wxImage &) result);
2f4c0a16 3071 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
3072 }
3073 return resultobj;
3074 fail:
3075 return NULL;
3076}
3077
3078
2f4c0a16 3079static PyObject *_wrap_Bitmap_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3080 PyObject *resultobj;
3081 wxBitmap *arg1 = (wxBitmap *) 0 ;
3082 wxMask *result;
3083 PyObject * obj0 = 0 ;
3084 char *kwnames[] = {
3085 (char *) "self", NULL
3086 };
3087
3088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetMask",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3091 {
3092 PyThreadState* __tstate = wxPyBeginAllowThreads();
3093 result = (wxMask *)((wxBitmap const *)arg1)->GetMask();
3094
3095 wxPyEndAllowThreads(__tstate);
3096 if (PyErr_Occurred()) SWIG_fail;
3097 }
2f4c0a16 3098 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMask, 0);
d14a1e28
RD
3099 return resultobj;
3100 fail:
3101 return NULL;
3102}
3103
3104
2f4c0a16 3105static PyObject *_wrap_Bitmap_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3106 PyObject *resultobj;
3107 wxBitmap *arg1 = (wxBitmap *) 0 ;
3108 wxMask *arg2 = (wxMask *) 0 ;
3109 PyObject * obj0 = 0 ;
3110 PyObject * obj1 = 0 ;
3111 char *kwnames[] = {
3112 (char *) "self",(char *) "mask", NULL
3113 };
3114
3115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetMask",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3118 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMask,
3119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3120 {
3121 PyThreadState* __tstate = wxPyBeginAllowThreads();
3122 (arg1)->SetMask(arg2);
3123
3124 wxPyEndAllowThreads(__tstate);
3125 if (PyErr_Occurred()) SWIG_fail;
3126 }
3127 Py_INCREF(Py_None); resultobj = Py_None;
3128 return resultobj;
3129 fail:
3130 return NULL;
3131}
3132
3133
2f4c0a16 3134static PyObject *_wrap_Bitmap_SetMaskColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3135 PyObject *resultobj;
3136 wxBitmap *arg1 = (wxBitmap *) 0 ;
3137 wxColour *arg2 = 0 ;
3138 wxColour temp2 ;
3139 PyObject * obj0 = 0 ;
3140 PyObject * obj1 = 0 ;
3141 char *kwnames[] = {
3142 (char *) "self",(char *) "colour", NULL
3143 };
3144
3145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetMaskColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3148 {
3149 arg2 = &temp2;
3150 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3151 }
3152 {
3153 PyThreadState* __tstate = wxPyBeginAllowThreads();
3154 wxBitmap_SetMaskColour(arg1,(wxColour const &)*arg2);
3155
3156 wxPyEndAllowThreads(__tstate);
3157 if (PyErr_Occurred()) SWIG_fail;
3158 }
3159 Py_INCREF(Py_None); resultobj = Py_None;
3160 return resultobj;
3161 fail:
3162 return NULL;
3163}
3164
3165
2f4c0a16 3166static PyObject *_wrap_Bitmap_GetSubBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3167 PyObject *resultobj;
3168 wxBitmap *arg1 = (wxBitmap *) 0 ;
3169 wxRect *arg2 = 0 ;
3170 SwigValueWrapper< wxBitmap > result;
3171 wxRect temp2 ;
3172 PyObject * obj0 = 0 ;
3173 PyObject * obj1 = 0 ;
3174 char *kwnames[] = {
3175 (char *) "self",(char *) "rect", NULL
3176 };
3177
3178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_GetSubBitmap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3181 {
3182 arg2 = &temp2;
3183 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3184 }
3185 {
3186 PyThreadState* __tstate = wxPyBeginAllowThreads();
3187 result = ((wxBitmap const *)arg1)->GetSubBitmap((wxRect const &)*arg2);
3188
3189 wxPyEndAllowThreads(__tstate);
3190 if (PyErr_Occurred()) SWIG_fail;
3191 }
3192 {
3193 wxBitmap * resultptr;
3194 resultptr = new wxBitmap((wxBitmap &) result);
2f4c0a16 3195 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
3196 }
3197 return resultobj;
3198 fail:
3199 return NULL;
3200}
3201
3202
2f4c0a16 3203static PyObject *_wrap_Bitmap_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3204 PyObject *resultobj;
3205 wxBitmap *arg1 = (wxBitmap *) 0 ;
3206 wxString *arg2 = 0 ;
3207 int arg3 ;
3208 wxPalette *arg4 = (wxPalette *) (wxPalette *) NULL ;
3209 bool result;
423f194a 3210 bool temp2 = False ;
d14a1e28
RD
3211 PyObject * obj0 = 0 ;
3212 PyObject * obj1 = 0 ;
8edf1c75 3213 PyObject * obj2 = 0 ;
d14a1e28
RD
3214 PyObject * obj3 = 0 ;
3215 char *kwnames[] = {
3216 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3217 };
3218
8edf1c75 3219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Bitmap_SaveFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
3220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3222 {
3223 arg2 = wxString_in_helper(obj1);
3224 if (arg2 == NULL) SWIG_fail;
423f194a 3225 temp2 = True;
d14a1e28 3226 }
2f4c0a16
RD
3227 arg3 = (wxBitmapType) SWIG_AsInt(obj2);
3228 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3229 if (obj3) {
2f4c0a16
RD
3230 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxPalette,
3231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3232 }
3233 {
3234 PyThreadState* __tstate = wxPyBeginAllowThreads();
3235 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxBitmapType )arg3,arg4);
3236
3237 wxPyEndAllowThreads(__tstate);
3238 if (PyErr_Occurred()) SWIG_fail;
3239 }
02a34c4c 3240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
3241 {
3242 if (temp2)
3243 delete arg2;
3244 }
3245 return resultobj;
3246 fail:
3247 {
3248 if (temp2)
3249 delete arg2;
3250 }
3251 return NULL;
3252}
3253
3254
2f4c0a16 3255static PyObject *_wrap_Bitmap_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3256 PyObject *resultobj;
3257 wxBitmap *arg1 = (wxBitmap *) 0 ;
3258 wxString *arg2 = 0 ;
3259 int arg3 ;
3260 bool result;
423f194a 3261 bool temp2 = False ;
d14a1e28
RD
3262 PyObject * obj0 = 0 ;
3263 PyObject * obj1 = 0 ;
8edf1c75 3264 PyObject * obj2 = 0 ;
d14a1e28
RD
3265 char *kwnames[] = {
3266 (char *) "self",(char *) "name",(char *) "type", NULL
3267 };
3268
8edf1c75 3269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Bitmap_LoadFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3272 {
3273 arg2 = wxString_in_helper(obj1);
3274 if (arg2 == NULL) SWIG_fail;
423f194a 3275 temp2 = True;
d14a1e28 3276 }
2f4c0a16
RD
3277 arg3 = (wxBitmapType) SWIG_AsInt(obj2);
3278 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3279 {
3280 PyThreadState* __tstate = wxPyBeginAllowThreads();
3281 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxBitmapType )arg3);
3282
3283 wxPyEndAllowThreads(__tstate);
3284 if (PyErr_Occurred()) SWIG_fail;
3285 }
02a34c4c 3286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
3287 {
3288 if (temp2)
3289 delete arg2;
3290 }
3291 return resultobj;
3292 fail:
3293 {
3294 if (temp2)
3295 delete arg2;
3296 }
3297 return NULL;
3298}
3299
3300
2f4c0a16 3301static PyObject *_wrap_Bitmap_CopyFromIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3302 PyObject *resultobj;
3303 wxBitmap *arg1 = (wxBitmap *) 0 ;
3304 wxIcon *arg2 = 0 ;
3305 bool result;
3306 PyObject * obj0 = 0 ;
3307 PyObject * obj1 = 0 ;
3308 char *kwnames[] = {
3309 (char *) "self",(char *) "icon", NULL
3310 };
3311
3312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_CopyFromIcon",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
3316 SWIG_POINTER_EXCEPTION | 0)) == -1)
3317 SWIG_fail;
d14a1e28 3318 if (arg2 == NULL) {
2f4c0a16
RD
3319 PyErr_SetString(PyExc_TypeError,"null reference");
3320 SWIG_fail;
d14a1e28
RD
3321 }
3322 {
3323 PyThreadState* __tstate = wxPyBeginAllowThreads();
3324 result = (bool)(arg1)->CopyFromIcon((wxIcon const &)*arg2);
3325
3326 wxPyEndAllowThreads(__tstate);
3327 if (PyErr_Occurred()) SWIG_fail;
3328 }
02a34c4c 3329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
3330 return resultobj;
3331 fail:
3332 return NULL;
3333}
3334
3335
2f4c0a16 3336static PyObject *_wrap_Bitmap_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3337 PyObject *resultobj;
3338 wxBitmap *arg1 = (wxBitmap *) 0 ;
3339 int arg2 ;
3340 PyObject * obj0 = 0 ;
8edf1c75 3341 PyObject * obj1 = 0 ;
d14a1e28
RD
3342 char *kwnames[] = {
3343 (char *) "self",(char *) "height", NULL
3344 };
3345
8edf1c75 3346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetHeight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3349 arg2 = (int) SWIG_AsInt(obj1);
3350 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3351 {
3352 PyThreadState* __tstate = wxPyBeginAllowThreads();
3353 (arg1)->SetHeight(arg2);
3354
3355 wxPyEndAllowThreads(__tstate);
3356 if (PyErr_Occurred()) SWIG_fail;
3357 }
3358 Py_INCREF(Py_None); resultobj = Py_None;
3359 return resultobj;
3360 fail:
3361 return NULL;
3362}
3363
3364
2f4c0a16 3365static PyObject *_wrap_Bitmap_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3366 PyObject *resultobj;
3367 wxBitmap *arg1 = (wxBitmap *) 0 ;
3368 int arg2 ;
3369 PyObject * obj0 = 0 ;
8edf1c75 3370 PyObject * obj1 = 0 ;
d14a1e28
RD
3371 char *kwnames[] = {
3372 (char *) "self",(char *) "width", NULL
3373 };
3374
8edf1c75 3375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3378 arg2 = (int) SWIG_AsInt(obj1);
3379 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3380 {
3381 PyThreadState* __tstate = wxPyBeginAllowThreads();
3382 (arg1)->SetWidth(arg2);
3383
3384 wxPyEndAllowThreads(__tstate);
3385 if (PyErr_Occurred()) SWIG_fail;
3386 }
3387 Py_INCREF(Py_None); resultobj = Py_None;
3388 return resultobj;
3389 fail:
3390 return NULL;
3391}
3392
3393
2f4c0a16 3394static PyObject *_wrap_Bitmap_SetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3395 PyObject *resultobj;
3396 wxBitmap *arg1 = (wxBitmap *) 0 ;
3397 int arg2 ;
3398 PyObject * obj0 = 0 ;
8edf1c75 3399 PyObject * obj1 = 0 ;
d14a1e28
RD
3400 char *kwnames[] = {
3401 (char *) "self",(char *) "depth", NULL
3402 };
3403
8edf1c75 3404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetDepth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3407 arg2 = (int) SWIG_AsInt(obj1);
3408 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3409 {
3410 PyThreadState* __tstate = wxPyBeginAllowThreads();
3411 (arg1)->SetDepth(arg2);
3412
3413 wxPyEndAllowThreads(__tstate);
3414 if (PyErr_Occurred()) SWIG_fail;
3415 }
3416 Py_INCREF(Py_None); resultobj = Py_None;
3417 return resultobj;
3418 fail:
3419 return NULL;
3420}
3421
3422
ce7284bd
RD
3423static PyObject *_wrap_Bitmap___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
3424 PyObject *resultobj;
3425 wxBitmap *arg1 = (wxBitmap *) 0 ;
3426 wxBitmap *arg2 = (wxBitmap *) 0 ;
3427 bool result;
3428 PyObject * obj0 = 0 ;
3429 PyObject * obj1 = 0 ;
3430 char *kwnames[] = {
3431 (char *) "self",(char *) "other", NULL
3432 };
3433
3434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap___eq__",kwnames,&obj0,&obj1)) goto fail;
3435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3437 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
3438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3439 {
3440 PyThreadState* __tstate = wxPyBeginAllowThreads();
3441 result = (bool)wxBitmap___eq__(arg1,(wxBitmap const *)arg2);
3442
3443 wxPyEndAllowThreads(__tstate);
3444 if (PyErr_Occurred()) SWIG_fail;
3445 }
3446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3447 return resultobj;
3448 fail:
3449 return NULL;
3450}
3451
3452
3453static PyObject *_wrap_Bitmap___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
3454 PyObject *resultobj;
3455 wxBitmap *arg1 = (wxBitmap *) 0 ;
3456 wxBitmap *arg2 = (wxBitmap *) 0 ;
3457 bool result;
3458 PyObject * obj0 = 0 ;
3459 PyObject * obj1 = 0 ;
3460 char *kwnames[] = {
3461 (char *) "self",(char *) "other", NULL
3462 };
3463
3464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap___ne__",kwnames,&obj0,&obj1)) goto fail;
3465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3467 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
3468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3469 {
3470 PyThreadState* __tstate = wxPyBeginAllowThreads();
3471 result = (bool)wxBitmap___ne__(arg1,(wxBitmap const *)arg2);
3472
3473 wxPyEndAllowThreads(__tstate);
3474 if (PyErr_Occurred()) SWIG_fail;
3475 }
3476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3477 return resultobj;
3478 fail:
3479 return NULL;
3480}
3481
3482
2f4c0a16 3483static PyObject * Bitmap_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3484 PyObject *obj;
3485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3486 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap, obj);
3487 Py_INCREF(obj);
3488 return Py_BuildValue((char *)"");
3489}
2f4c0a16 3490static PyObject *_wrap_new_Mask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3491 PyObject *resultobj;
3492 wxBitmap *arg1 = 0 ;
0ffb2aa6
RD
3493 wxColour const &arg2_defvalue = wxNullColour ;
3494 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
d14a1e28
RD
3495 wxMask *result;
3496 wxColour temp2 ;
3497 PyObject * obj0 = 0 ;
3498 PyObject * obj1 = 0 ;
3499 char *kwnames[] = {
3500 (char *) "bitmap",(char *) "colour", NULL
3501 };
3502
0ffb2aa6 3503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Mask",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3505 SWIG_POINTER_EXCEPTION | 0)) == -1)
3506 SWIG_fail;
d14a1e28 3507 if (arg1 == NULL) {
2f4c0a16
RD
3508 PyErr_SetString(PyExc_TypeError,"null reference");
3509 SWIG_fail;
d14a1e28 3510 }
0ffb2aa6
RD
3511 if (obj1) {
3512 {
3513 arg2 = &temp2;
3514 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3515 }
d14a1e28
RD
3516 }
3517 {
3518 PyThreadState* __tstate = wxPyBeginAllowThreads();
0ffb2aa6 3519 result = (wxMask *)new_wxMask((wxBitmap const &)*arg1,(wxColour const &)*arg2);
d14a1e28
RD
3520
3521 wxPyEndAllowThreads(__tstate);
3522 if (PyErr_Occurred()) SWIG_fail;
3523 }
2f4c0a16 3524 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMask, 1);
d14a1e28
RD
3525 return resultobj;
3526 fail:
3527 return NULL;
3528}
3529
3530
2f4c0a16 3531static PyObject * Mask_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3532 PyObject *obj;
3533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3534 SWIG_TypeClientData(SWIGTYPE_p_wxMask, obj);
3535 Py_INCREF(obj);
3536 return Py_BuildValue((char *)"");
3537}
2f4c0a16 3538static PyObject *_wrap_new_Icon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3539 PyObject *resultobj;
3540 wxString *arg1 = 0 ;
d896a793 3541 int arg2 ;
d14a1e28
RD
3542 int arg3 = (int) -1 ;
3543 int arg4 = (int) -1 ;
3544 wxIcon *result;
423f194a 3545 bool temp1 = False ;
d14a1e28 3546 PyObject * obj0 = 0 ;
8edf1c75
RD
3547 PyObject * obj1 = 0 ;
3548 PyObject * obj2 = 0 ;
3549 PyObject * obj3 = 0 ;
d14a1e28 3550 char *kwnames[] = {
d896a793 3551 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
d14a1e28
RD
3552 };
3553
8edf1c75 3554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_Icon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
3555 {
3556 arg1 = wxString_in_helper(obj0);
3557 if (arg1 == NULL) SWIG_fail;
423f194a 3558 temp1 = True;
d14a1e28 3559 }
2f4c0a16
RD
3560 arg2 = (wxBitmapType) SWIG_AsInt(obj1);
3561 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3562 if (obj2) {
2f4c0a16
RD
3563 arg3 = (int) SWIG_AsInt(obj2);
3564 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3565 }
3566 if (obj3) {
2f4c0a16
RD
3567 arg4 = (int) SWIG_AsInt(obj3);
3568 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3569 }
d14a1e28
RD
3570 {
3571 PyThreadState* __tstate = wxPyBeginAllowThreads();
d896a793 3572 result = (wxIcon *)new wxIcon((wxString const &)*arg1,(wxBitmapType )arg2,arg3,arg4);
d14a1e28
RD
3573
3574 wxPyEndAllowThreads(__tstate);
3575 if (PyErr_Occurred()) SWIG_fail;
3576 }
2f4c0a16 3577 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
3578 {
3579 if (temp1)
3580 delete arg1;
3581 }
3582 return resultobj;
3583 fail:
3584 {
3585 if (temp1)
3586 delete arg1;
3587 }
3588 return NULL;
3589}
3590
3591
2f4c0a16 3592static PyObject *_wrap_delete_Icon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3593 PyObject *resultobj;
3594 wxIcon *arg1 = (wxIcon *) 0 ;
3595 PyObject * obj0 = 0 ;
3596 char *kwnames[] = {
3597 (char *) "self", NULL
3598 };
3599
3600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Icon",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3603 {
3604 PyThreadState* __tstate = wxPyBeginAllowThreads();
3605 delete arg1;
3606
3607 wxPyEndAllowThreads(__tstate);
3608 if (PyErr_Occurred()) SWIG_fail;
3609 }
3610 Py_INCREF(Py_None); resultobj = Py_None;
3611 return resultobj;
3612 fail:
3613 return NULL;
3614}
3615
3616
2f4c0a16 3617static PyObject *_wrap_new_EmptyIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3618 PyObject *resultobj;
3619 wxIcon *result;
3620 char *kwnames[] = {
3621 NULL
3622 };
3623
3624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EmptyIcon",kwnames)) goto fail;
3625 {
3626 PyThreadState* __tstate = wxPyBeginAllowThreads();
3627 result = (wxIcon *)new wxIcon();
3628
3629 wxPyEndAllowThreads(__tstate);
3630 if (PyErr_Occurred()) SWIG_fail;
3631 }
2f4c0a16 3632 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
3633 return resultobj;
3634 fail:
3635 return NULL;
3636}
3637
3638
2f4c0a16 3639static PyObject *_wrap_new_IconFromLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3640 PyObject *resultobj;
3641 wxIconLocation *arg1 = 0 ;
3642 wxIcon *result;
3643 PyObject * obj0 = 0 ;
3644 char *kwnames[] = {
3645 (char *) "loc", NULL
3646 };
3647
3648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconFromLocation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
3650 SWIG_POINTER_EXCEPTION | 0)) == -1)
3651 SWIG_fail;
d14a1e28 3652 if (arg1 == NULL) {
2f4c0a16
RD
3653 PyErr_SetString(PyExc_TypeError,"null reference");
3654 SWIG_fail;
d14a1e28
RD
3655 }
3656 {
3657 PyThreadState* __tstate = wxPyBeginAllowThreads();
3658 result = (wxIcon *)new wxIcon((wxIconLocation const &)*arg1);
3659
3660 wxPyEndAllowThreads(__tstate);
3661 if (PyErr_Occurred()) SWIG_fail;
3662 }
2f4c0a16 3663 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
3664 return resultobj;
3665 fail:
3666 return NULL;
3667}
3668
3669
2f4c0a16 3670static PyObject *_wrap_new_IconFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3671 PyObject *resultobj;
3672 wxBitmap *arg1 = 0 ;
3673 wxIcon *result;
3674 PyObject * obj0 = 0 ;
3675 char *kwnames[] = {
3676 (char *) "bmp", NULL
3677 };
3678
3679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconFromBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3681 SWIG_POINTER_EXCEPTION | 0)) == -1)
3682 SWIG_fail;
d14a1e28 3683 if (arg1 == NULL) {
2f4c0a16
RD
3684 PyErr_SetString(PyExc_TypeError,"null reference");
3685 SWIG_fail;
d14a1e28
RD
3686 }
3687 {
3688 PyThreadState* __tstate = wxPyBeginAllowThreads();
3689 result = (wxIcon *)new_wxIcon((wxBitmap const &)*arg1);
3690
3691 wxPyEndAllowThreads(__tstate);
3692 if (PyErr_Occurred()) SWIG_fail;
3693 }
2f4c0a16 3694 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
3695 return resultobj;
3696 fail:
3697 return NULL;
3698}
3699
3700
2f4c0a16 3701static PyObject *_wrap_new_IconFromXPMData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3702 PyObject *resultobj;
3703 PyObject *arg1 = (PyObject *) 0 ;
3704 wxIcon *result;
3705 PyObject * obj0 = 0 ;
3706 char *kwnames[] = {
3707 (char *) "listOfStrings", NULL
3708 };
3709
3710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconFromXPMData",kwnames,&obj0)) goto fail;
3711 arg1 = obj0;
3712 {
3713 PyThreadState* __tstate = wxPyBeginAllowThreads();
3714 result = (wxIcon *)new_wxIcon(arg1);
3715
3716 wxPyEndAllowThreads(__tstate);
3717 if (PyErr_Occurred()) SWIG_fail;
3718 }
2f4c0a16 3719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
3720 return resultobj;
3721 fail:
3722 return NULL;
3723}
3724
3725
2f4c0a16 3726static PyObject *_wrap_Icon_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3727 PyObject *resultobj;
3728 wxIcon *arg1 = (wxIcon *) 0 ;
3729 bool result;
3730 PyObject * obj0 = 0 ;
3731 char *kwnames[] = {
3732 (char *) "self", NULL
3733 };
3734
3735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_Ok",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3738 {
3739 PyThreadState* __tstate = wxPyBeginAllowThreads();
3740 result = (bool)(arg1)->Ok();
3741
3742 wxPyEndAllowThreads(__tstate);
3743 if (PyErr_Occurred()) SWIG_fail;
3744 }
02a34c4c 3745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
3746 return resultobj;
3747 fail:
3748 return NULL;
3749}
3750
3751
2f4c0a16 3752static PyObject *_wrap_Icon_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3753 PyObject *resultobj;
3754 wxIcon *arg1 = (wxIcon *) 0 ;
3755 int result;
3756 PyObject * obj0 = 0 ;
3757 char *kwnames[] = {
3758 (char *) "self", NULL
3759 };
3760
3761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_GetWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3764 {
3765 PyThreadState* __tstate = wxPyBeginAllowThreads();
3766 result = (int)(arg1)->GetWidth();
3767
3768 wxPyEndAllowThreads(__tstate);
3769 if (PyErr_Occurred()) SWIG_fail;
3770 }
2f4c0a16 3771 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3772 return resultobj;
3773 fail:
3774 return NULL;
3775}
3776
3777
2f4c0a16 3778static PyObject *_wrap_Icon_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3779 PyObject *resultobj;
3780 wxIcon *arg1 = (wxIcon *) 0 ;
3781 int result;
3782 PyObject * obj0 = 0 ;
3783 char *kwnames[] = {
3784 (char *) "self", NULL
3785 };
3786
3787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_GetHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3790 {
3791 PyThreadState* __tstate = wxPyBeginAllowThreads();
3792 result = (int)(arg1)->GetHeight();
3793
3794 wxPyEndAllowThreads(__tstate);
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
2f4c0a16 3797 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3798 return resultobj;
3799 fail:
3800 return NULL;
3801}
3802
3803
2f4c0a16 3804static PyObject *_wrap_Icon_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3805 PyObject *resultobj;
3806 wxIcon *arg1 = (wxIcon *) 0 ;
3807 int result;
3808 PyObject * obj0 = 0 ;
3809 char *kwnames[] = {
3810 (char *) "self", NULL
3811 };
3812
3813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_GetDepth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3816 {
3817 PyThreadState* __tstate = wxPyBeginAllowThreads();
3818 result = (int)(arg1)->GetDepth();
3819
3820 wxPyEndAllowThreads(__tstate);
3821 if (PyErr_Occurred()) SWIG_fail;
3822 }
2f4c0a16 3823 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3824 return resultobj;
3825 fail:
3826 return NULL;
3827}
3828
3829
2f4c0a16 3830static PyObject *_wrap_Icon_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3831 PyObject *resultobj;
3832 wxIcon *arg1 = (wxIcon *) 0 ;
3833 int arg2 ;
3834 PyObject * obj0 = 0 ;
8edf1c75 3835 PyObject * obj1 = 0 ;
d14a1e28
RD
3836 char *kwnames[] = {
3837 (char *) "self",(char *) "w", NULL
3838 };
3839
8edf1c75 3840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_SetWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3843 arg2 = (int) SWIG_AsInt(obj1);
3844 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3845 {
3846 PyThreadState* __tstate = wxPyBeginAllowThreads();
3847 (arg1)->SetWidth(arg2);
3848
3849 wxPyEndAllowThreads(__tstate);
3850 if (PyErr_Occurred()) SWIG_fail;
3851 }
3852 Py_INCREF(Py_None); resultobj = Py_None;
3853 return resultobj;
3854 fail:
3855 return NULL;
3856}
3857
3858
2f4c0a16 3859static PyObject *_wrap_Icon_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3860 PyObject *resultobj;
3861 wxIcon *arg1 = (wxIcon *) 0 ;
3862 int arg2 ;
3863 PyObject * obj0 = 0 ;
8edf1c75 3864 PyObject * obj1 = 0 ;
d14a1e28
RD
3865 char *kwnames[] = {
3866 (char *) "self",(char *) "h", NULL
3867 };
3868
8edf1c75 3869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_SetHeight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3872 arg2 = (int) SWIG_AsInt(obj1);
3873 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3874 {
3875 PyThreadState* __tstate = wxPyBeginAllowThreads();
3876 (arg1)->SetHeight(arg2);
3877
3878 wxPyEndAllowThreads(__tstate);
3879 if (PyErr_Occurred()) SWIG_fail;
3880 }
3881 Py_INCREF(Py_None); resultobj = Py_None;
3882 return resultobj;
3883 fail:
3884 return NULL;
3885}
3886
3887
2f4c0a16 3888static PyObject *_wrap_Icon_SetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3889 PyObject *resultobj;
3890 wxIcon *arg1 = (wxIcon *) 0 ;
3891 int arg2 ;
3892 PyObject * obj0 = 0 ;
8edf1c75 3893 PyObject * obj1 = 0 ;
d14a1e28
RD
3894 char *kwnames[] = {
3895 (char *) "self",(char *) "d", NULL
3896 };
3897
8edf1c75 3898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_SetDepth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3901 arg2 = (int) SWIG_AsInt(obj1);
3902 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3903 {
3904 PyThreadState* __tstate = wxPyBeginAllowThreads();
3905 (arg1)->SetDepth(arg2);
3906
3907 wxPyEndAllowThreads(__tstate);
3908 if (PyErr_Occurred()) SWIG_fail;
3909 }
3910 Py_INCREF(Py_None); resultobj = Py_None;
3911 return resultobj;
3912 fail:
3913 return NULL;
3914}
3915
3916
2f4c0a16 3917static PyObject *_wrap_Icon_CopyFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3918 PyObject *resultobj;
3919 wxIcon *arg1 = (wxIcon *) 0 ;
3920 wxBitmap *arg2 = 0 ;
3921 PyObject * obj0 = 0 ;
3922 PyObject * obj1 = 0 ;
3923 char *kwnames[] = {
3924 (char *) "self",(char *) "bmp", NULL
3925 };
3926
3927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_CopyFromBitmap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3930 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
3931 SWIG_POINTER_EXCEPTION | 0)) == -1)
3932 SWIG_fail;
d14a1e28 3933 if (arg2 == NULL) {
2f4c0a16
RD
3934 PyErr_SetString(PyExc_TypeError,"null reference");
3935 SWIG_fail;
d14a1e28
RD
3936 }
3937 {
3938 PyThreadState* __tstate = wxPyBeginAllowThreads();
3939 (arg1)->CopyFromBitmap((wxBitmap const &)*arg2);
3940
3941 wxPyEndAllowThreads(__tstate);
3942 if (PyErr_Occurred()) SWIG_fail;
3943 }
3944 Py_INCREF(Py_None); resultobj = Py_None;
3945 return resultobj;
3946 fail:
3947 return NULL;
3948}
3949
3950
2f4c0a16 3951static PyObject * Icon_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3952 PyObject *obj;
3953 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3954 SWIG_TypeClientData(SWIGTYPE_p_wxIcon, obj);
3955 Py_INCREF(obj);
3956 return Py_BuildValue((char *)"");
3957}
2f4c0a16 3958static PyObject *_wrap_new_IconLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3959 PyObject *resultobj;
3960 wxString *arg1 = (wxString *) &wxPyEmptyString ;
3961 int arg2 = (int) 0 ;
3962 wxIconLocation *result;
dae0faa6 3963 bool temp1 = False ;
d14a1e28 3964 PyObject * obj0 = 0 ;
8edf1c75 3965 PyObject * obj1 = 0 ;
d14a1e28
RD
3966 char *kwnames[] = {
3967 (char *) "filename",(char *) "num", NULL
3968 };
3969
8edf1c75 3970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconLocation",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 3971 if (obj0) {
dae0faa6
RD
3972 {
3973 arg1 = wxString_in_helper(obj0);
3974 if (arg1 == NULL) SWIG_fail;
3975 temp1 = True;
3976 }
d14a1e28 3977 }
8edf1c75 3978 if (obj1) {
2f4c0a16
RD
3979 arg2 = (int) SWIG_AsInt(obj1);
3980 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3981 }
d14a1e28
RD
3982 {
3983 PyThreadState* __tstate = wxPyBeginAllowThreads();
3984 result = (wxIconLocation *)new_wxIconLocation((wxString const *)arg1,arg2);
3985
3986 wxPyEndAllowThreads(__tstate);
3987 if (PyErr_Occurred()) SWIG_fail;
3988 }
2f4c0a16 3989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconLocation, 1);
dae0faa6
RD
3990 {
3991 if (temp1)
3992 delete arg1;
3993 }
d14a1e28
RD
3994 return resultobj;
3995 fail:
dae0faa6
RD
3996 {
3997 if (temp1)
3998 delete arg1;
3999 }
d14a1e28
RD
4000 return NULL;
4001}
4002
4003
2f4c0a16 4004static PyObject *_wrap_delete_IconLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4005 PyObject *resultobj;
4006 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4007 PyObject * obj0 = 0 ;
4008 char *kwnames[] = {
4009 (char *) "self", NULL
4010 };
4011
4012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_IconLocation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4015 {
4016 PyThreadState* __tstate = wxPyBeginAllowThreads();
4017 delete arg1;
4018
4019 wxPyEndAllowThreads(__tstate);
4020 if (PyErr_Occurred()) SWIG_fail;
4021 }
4022 Py_INCREF(Py_None); resultobj = Py_None;
4023 return resultobj;
4024 fail:
4025 return NULL;
4026}
4027
4028
2f4c0a16 4029static PyObject *_wrap_IconLocation_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4030 PyObject *resultobj;
4031 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4032 bool result;
4033 PyObject * obj0 = 0 ;
4034 char *kwnames[] = {
4035 (char *) "self", NULL
4036 };
4037
4038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconLocation_IsOk",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4041 {
4042 PyThreadState* __tstate = wxPyBeginAllowThreads();
4043 result = (bool)((wxIconLocation const *)arg1)->IsOk();
4044
4045 wxPyEndAllowThreads(__tstate);
4046 if (PyErr_Occurred()) SWIG_fail;
4047 }
02a34c4c 4048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4049 return resultobj;
4050 fail:
4051 return NULL;
4052}
4053
4054
2f4c0a16 4055static PyObject *_wrap_IconLocation_SetFileName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4056 PyObject *resultobj;
4057 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4058 wxString *arg2 = 0 ;
423f194a 4059 bool temp2 = False ;
d14a1e28
RD
4060 PyObject * obj0 = 0 ;
4061 PyObject * obj1 = 0 ;
4062 char *kwnames[] = {
4063 (char *) "self",(char *) "filename", NULL
4064 };
4065
4066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconLocation_SetFileName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4069 {
4070 arg2 = wxString_in_helper(obj1);
4071 if (arg2 == NULL) SWIG_fail;
423f194a 4072 temp2 = True;
d14a1e28
RD
4073 }
4074 {
4075 PyThreadState* __tstate = wxPyBeginAllowThreads();
4076 (arg1)->SetFileName((wxString const &)*arg2);
4077
4078 wxPyEndAllowThreads(__tstate);
4079 if (PyErr_Occurred()) SWIG_fail;
4080 }
4081 Py_INCREF(Py_None); resultobj = Py_None;
4082 {
4083 if (temp2)
4084 delete arg2;
4085 }
4086 return resultobj;
4087 fail:
4088 {
4089 if (temp2)
4090 delete arg2;
4091 }
4092 return NULL;
4093}
4094
4095
2f4c0a16 4096static PyObject *_wrap_IconLocation_GetFileName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4097 PyObject *resultobj;
4098 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4099 wxString *result;
4100 PyObject * obj0 = 0 ;
4101 char *kwnames[] = {
4102 (char *) "self", NULL
4103 };
4104
4105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconLocation_GetFileName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4108 {
4109 PyThreadState* __tstate = wxPyBeginAllowThreads();
4110 {
4111 wxString const &_result_ref = ((wxIconLocation const *)arg1)->GetFileName();
4112 result = (wxString *) &_result_ref;
4113 }
4114
4115 wxPyEndAllowThreads(__tstate);
4116 if (PyErr_Occurred()) SWIG_fail;
4117 }
0f774bef
RD
4118 {
4119#if wxUSE_UNICODE
4120 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4121#else
4122 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4123#endif
4124 }
d14a1e28
RD
4125 return resultobj;
4126 fail:
4127 return NULL;
4128}
4129
4130
2f4c0a16 4131static PyObject *_wrap_IconLocation_SetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4132 PyObject *resultobj;
4133 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4134 int arg2 ;
4135 PyObject * obj0 = 0 ;
8edf1c75 4136 PyObject * obj1 = 0 ;
d14a1e28
RD
4137 char *kwnames[] = {
4138 (char *) "self",(char *) "num", NULL
4139 };
4140
8edf1c75 4141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconLocation_SetIndex",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4144 arg2 = (int) SWIG_AsInt(obj1);
4145 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4146 {
4147 PyThreadState* __tstate = wxPyBeginAllowThreads();
4148 wxIconLocation_SetIndex(arg1,arg2);
4149
4150 wxPyEndAllowThreads(__tstate);
4151 if (PyErr_Occurred()) SWIG_fail;
4152 }
4153 Py_INCREF(Py_None); resultobj = Py_None;
4154 return resultobj;
4155 fail:
4156 return NULL;
4157}
4158
4159
2f4c0a16 4160static PyObject *_wrap_IconLocation_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4161 PyObject *resultobj;
4162 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4163 int result;
4164 PyObject * obj0 = 0 ;
4165 char *kwnames[] = {
4166 (char *) "self", NULL
4167 };
4168
4169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconLocation_GetIndex",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4172 {
4173 PyThreadState* __tstate = wxPyBeginAllowThreads();
4174 result = (int)wxIconLocation_GetIndex(arg1);
4175
4176 wxPyEndAllowThreads(__tstate);
4177 if (PyErr_Occurred()) SWIG_fail;
4178 }
2f4c0a16 4179 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4180 return resultobj;
4181 fail:
4182 return NULL;
4183}
4184
4185
2f4c0a16 4186static PyObject * IconLocation_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4187 PyObject *obj;
4188 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4189 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation, obj);
4190 Py_INCREF(obj);
4191 return Py_BuildValue((char *)"");
4192}
2f4c0a16 4193static PyObject *_wrap_new_IconBundle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4194 PyObject *resultobj;
4195 wxIconBundle *result;
4196 char *kwnames[] = {
4197 NULL
4198 };
4199
4200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IconBundle",kwnames)) goto fail;
4201 {
4202 PyThreadState* __tstate = wxPyBeginAllowThreads();
4203 result = (wxIconBundle *)new wxIconBundle();
4204
4205 wxPyEndAllowThreads(__tstate);
4206 if (PyErr_Occurred()) SWIG_fail;
4207 }
2f4c0a16 4208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconBundle, 1);
d14a1e28
RD
4209 return resultobj;
4210 fail:
4211 return NULL;
4212}
4213
4214
2f4c0a16 4215static PyObject *_wrap_new_IconBundleFromFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4216 PyObject *resultobj;
4217 wxString *arg1 = 0 ;
4218 long arg2 ;
4219 wxIconBundle *result;
423f194a 4220 bool temp1 = False ;
d14a1e28 4221 PyObject * obj0 = 0 ;
8edf1c75 4222 PyObject * obj1 = 0 ;
d14a1e28
RD
4223 char *kwnames[] = {
4224 (char *) "file",(char *) "type", NULL
4225 };
4226
8edf1c75 4227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_IconBundleFromFile",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
4228 {
4229 arg1 = wxString_in_helper(obj0);
4230 if (arg1 == NULL) SWIG_fail;
423f194a 4231 temp1 = True;
d14a1e28 4232 }
2f4c0a16
RD
4233 arg2 = (long) SWIG_AsLong(obj1);
4234 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4235 {
4236 PyThreadState* __tstate = wxPyBeginAllowThreads();
4237 result = (wxIconBundle *)new wxIconBundle((wxString const &)*arg1,arg2);
4238
4239 wxPyEndAllowThreads(__tstate);
4240 if (PyErr_Occurred()) SWIG_fail;
4241 }
2f4c0a16 4242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconBundle, 1);
d14a1e28
RD
4243 {
4244 if (temp1)
4245 delete arg1;
4246 }
4247 return resultobj;
4248 fail:
4249 {
4250 if (temp1)
4251 delete arg1;
4252 }
4253 return NULL;
4254}
4255
4256
2f4c0a16 4257static PyObject *_wrap_new_IconBundleFromIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4258 PyObject *resultobj;
4259 wxIcon *arg1 = 0 ;
4260 wxIconBundle *result;
4261 PyObject * obj0 = 0 ;
4262 char *kwnames[] = {
4263 (char *) "icon", NULL
4264 };
4265
4266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconBundleFromIcon",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
4268 SWIG_POINTER_EXCEPTION | 0)) == -1)
4269 SWIG_fail;
d14a1e28 4270 if (arg1 == NULL) {
2f4c0a16
RD
4271 PyErr_SetString(PyExc_TypeError,"null reference");
4272 SWIG_fail;
d14a1e28
RD
4273 }
4274 {
4275 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276 result = (wxIconBundle *)new wxIconBundle((wxIcon const &)*arg1);
4277
4278 wxPyEndAllowThreads(__tstate);
4279 if (PyErr_Occurred()) SWIG_fail;
4280 }
2f4c0a16 4281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconBundle, 1);
d14a1e28
RD
4282 return resultobj;
4283 fail:
4284 return NULL;
4285}
4286
4287
2f4c0a16 4288static PyObject *_wrap_delete_IconBundle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4289 PyObject *resultobj;
4290 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
4291 PyObject * obj0 = 0 ;
4292 char *kwnames[] = {
4293 (char *) "self", NULL
4294 };
4295
4296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_IconBundle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconBundle,
4298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4299 {
4300 PyThreadState* __tstate = wxPyBeginAllowThreads();
4301 delete arg1;
4302
4303 wxPyEndAllowThreads(__tstate);
4304 if (PyErr_Occurred()) SWIG_fail;
4305 }
4306 Py_INCREF(Py_None); resultobj = Py_None;
4307 return resultobj;
4308 fail:
4309 return NULL;
4310}
4311
4312
2f4c0a16 4313static PyObject *_wrap_IconBundle_AddIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4314 PyObject *resultobj;
4315 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
4316 wxIcon *arg2 = 0 ;
4317 PyObject * obj0 = 0 ;
4318 PyObject * obj1 = 0 ;
4319 char *kwnames[] = {
4320 (char *) "self",(char *) "icon", NULL
4321 };
4322
4323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconBundle_AddIcon",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconBundle,
4325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4326 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
4327 SWIG_POINTER_EXCEPTION | 0)) == -1)
4328 SWIG_fail;
d14a1e28 4329 if (arg2 == NULL) {
2f4c0a16
RD
4330 PyErr_SetString(PyExc_TypeError,"null reference");
4331 SWIG_fail;
d14a1e28
RD
4332 }
4333 {
4334 PyThreadState* __tstate = wxPyBeginAllowThreads();
4335 (arg1)->AddIcon((wxIcon const &)*arg2);
4336
4337 wxPyEndAllowThreads(__tstate);
4338 if (PyErr_Occurred()) SWIG_fail;
4339 }
4340 Py_INCREF(Py_None); resultobj = Py_None;
4341 return resultobj;
4342 fail:
4343 return NULL;
4344}
4345
4346
2f4c0a16 4347static PyObject *_wrap_IconBundle_AddIconFromFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4348 PyObject *resultobj;
4349 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
4350 wxString *arg2 = 0 ;
4351 long arg3 ;
423f194a 4352 bool temp2 = False ;
d14a1e28
RD
4353 PyObject * obj0 = 0 ;
4354 PyObject * obj1 = 0 ;
8edf1c75 4355 PyObject * obj2 = 0 ;
d14a1e28
RD
4356 char *kwnames[] = {
4357 (char *) "self",(char *) "file",(char *) "type", NULL
4358 };
4359
8edf1c75 4360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IconBundle_AddIconFromFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconBundle,
4362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4363 {
4364 arg2 = wxString_in_helper(obj1);
4365 if (arg2 == NULL) SWIG_fail;
423f194a 4366 temp2 = True;
d14a1e28 4367 }
2f4c0a16
RD
4368 arg3 = (long) SWIG_AsLong(obj2);
4369 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4370 {
4371 PyThreadState* __tstate = wxPyBeginAllowThreads();
4372 (arg1)->AddIcon((wxString const &)*arg2,arg3);
4373
4374 wxPyEndAllowThreads(__tstate);
4375 if (PyErr_Occurred()) SWIG_fail;
4376 }
4377 Py_INCREF(Py_None); resultobj = Py_None;
4378 {
4379 if (temp2)
4380 delete arg2;
4381 }
4382 return resultobj;
4383 fail:
4384 {
4385 if (temp2)
4386 delete arg2;
4387 }
4388 return NULL;
4389}
4390
4391
2f4c0a16 4392static PyObject *_wrap_IconBundle_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4393 PyObject *resultobj;
4394 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
4395 wxSize *arg2 = 0 ;
4396 wxIcon *result;
4397 wxSize temp2 ;
4398 PyObject * obj0 = 0 ;
4399 PyObject * obj1 = 0 ;
4400 char *kwnames[] = {
4401 (char *) "self",(char *) "size", NULL
4402 };
4403
4404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconBundle_GetIcon",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconBundle,
4406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4407 {
4408 arg2 = &temp2;
4409 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4410 }
4411 {
4412 PyThreadState* __tstate = wxPyBeginAllowThreads();
4413 {
4414 wxIcon const &_result_ref = ((wxIconBundle const *)arg1)->GetIcon((wxSize const &)*arg2);
4415 result = (wxIcon *) &_result_ref;
4416 }
4417
4418 wxPyEndAllowThreads(__tstate);
4419 if (PyErr_Occurred()) SWIG_fail;
4420 }
ce7284bd
RD
4421 {
4422 wxIcon* resultptr = new wxIcon(*result);
4423 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxIcon, 1);
4424 }
d14a1e28
RD
4425 return resultobj;
4426 fail:
4427 return NULL;
4428}
4429
4430
2f4c0a16 4431static PyObject * IconBundle_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4432 PyObject *obj;
4433 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4434 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle, obj);
4435 Py_INCREF(obj);
4436 return Py_BuildValue((char *)"");
4437}
2f4c0a16 4438static PyObject *_wrap_new_Cursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4439 PyObject *resultobj;
4440 wxString *arg1 = (wxString *) 0 ;
4441 long arg2 ;
4442 int arg3 = (int) 0 ;
4443 int arg4 = (int) 0 ;
4444 wxCursor *result;
dae0faa6 4445 bool temp1 = False ;
d14a1e28 4446 PyObject * obj0 = 0 ;
8edf1c75
RD
4447 PyObject * obj1 = 0 ;
4448 PyObject * obj2 = 0 ;
4449 PyObject * obj3 = 0 ;
d14a1e28 4450 char *kwnames[] = {
2f4c0a16 4451 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
d14a1e28
RD
4452 };
4453
8edf1c75 4454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_Cursor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
dae0faa6
RD
4455 {
4456 arg1 = wxString_in_helper(obj0);
4457 if (arg1 == NULL) SWIG_fail;
4458 temp1 = True;
4459 }
2f4c0a16
RD
4460 arg2 = (long) SWIG_AsLong(obj1);
4461 if (PyErr_Occurred()) SWIG_fail;
4462 if (obj2) {
4463 arg3 = (int) SWIG_AsInt(obj2);
8edf1c75
RD
4464 if (PyErr_Occurred()) SWIG_fail;
4465 }
8edf1c75 4466 if (obj3) {
2f4c0a16
RD
4467 arg4 = (int) SWIG_AsInt(obj3);
4468 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4469 }
d14a1e28
RD
4470 {
4471 PyThreadState* __tstate = wxPyBeginAllowThreads();
4472 result = (wxCursor *)new_wxCursor((wxString const *)arg1,arg2,arg3,arg4);
4473
4474 wxPyEndAllowThreads(__tstate);
4475 if (PyErr_Occurred()) SWIG_fail;
4476 }
2f4c0a16 4477 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCursor, 1);
dae0faa6
RD
4478 {
4479 if (temp1)
4480 delete arg1;
4481 }
d14a1e28
RD
4482 return resultobj;
4483 fail:
dae0faa6
RD
4484 {
4485 if (temp1)
4486 delete arg1;
4487 }
d14a1e28
RD
4488 return NULL;
4489}
4490
4491
2f4c0a16 4492static PyObject *_wrap_delete_Cursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4493 PyObject *resultobj;
4494 wxCursor *arg1 = (wxCursor *) 0 ;
4495 PyObject * obj0 = 0 ;
4496 char *kwnames[] = {
4497 (char *) "self", NULL
4498 };
4499
4500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Cursor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4503 {
4504 PyThreadState* __tstate = wxPyBeginAllowThreads();
4505 delete arg1;
4506
4507 wxPyEndAllowThreads(__tstate);
4508 if (PyErr_Occurred()) SWIG_fail;
4509 }
4510 Py_INCREF(Py_None); resultobj = Py_None;
4511 return resultobj;
4512 fail:
4513 return NULL;
4514}
4515
4516
2f4c0a16 4517static PyObject *_wrap_new_StockCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4518 PyObject *resultobj;
4519 int arg1 ;
4520 wxCursor *result;
8edf1c75 4521 PyObject * obj0 = 0 ;
d14a1e28
RD
4522 char *kwnames[] = {
4523 (char *) "id", NULL
4524 };
4525
8edf1c75 4526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_StockCursor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4527 arg1 = (int) SWIG_AsInt(obj0);
4528 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4529 {
4530 PyThreadState* __tstate = wxPyBeginAllowThreads();
4531 result = (wxCursor *)new wxCursor(arg1);
4532
4533 wxPyEndAllowThreads(__tstate);
4534 if (PyErr_Occurred()) SWIG_fail;
4535 }
2f4c0a16 4536 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCursor, 1);
d14a1e28
RD
4537 return resultobj;
4538 fail:
4539 return NULL;
4540}
4541
4542
2f4c0a16 4543static PyObject *_wrap_new_CursorFromImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4544 PyObject *resultobj;
4545 wxImage *arg1 = 0 ;
4546 wxCursor *result;
4547 PyObject * obj0 = 0 ;
4548 char *kwnames[] = {
4549 (char *) "image", NULL
4550 };
4551
4552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CursorFromImage",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
4554 SWIG_POINTER_EXCEPTION | 0)) == -1)
4555 SWIG_fail;
d14a1e28 4556 if (arg1 == NULL) {
2f4c0a16
RD
4557 PyErr_SetString(PyExc_TypeError,"null reference");
4558 SWIG_fail;
d14a1e28
RD
4559 }
4560 {
4561 PyThreadState* __tstate = wxPyBeginAllowThreads();
4562 result = (wxCursor *)new wxCursor((wxImage const &)*arg1);
4563
4564 wxPyEndAllowThreads(__tstate);
4565 if (PyErr_Occurred()) SWIG_fail;
4566 }
2f4c0a16 4567 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCursor, 1);
d14a1e28
RD
4568 return resultobj;
4569 fail:
4570 return NULL;
4571}
4572
4573
2f4c0a16 4574static PyObject *_wrap_Cursor_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4575 PyObject *resultobj;
4576 wxCursor *arg1 = (wxCursor *) 0 ;
4577 bool result;
4578 PyObject * obj0 = 0 ;
4579 char *kwnames[] = {
4580 (char *) "self", NULL
4581 };
4582
4583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Cursor_Ok",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4586 {
4587 PyThreadState* __tstate = wxPyBeginAllowThreads();
4588 result = (bool)(arg1)->Ok();
4589
4590 wxPyEndAllowThreads(__tstate);
4591 if (PyErr_Occurred()) SWIG_fail;
4592 }
02a34c4c 4593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4594 return resultobj;
4595 fail:
4596 return NULL;
4597}
4598
4599
2f4c0a16 4600static PyObject * Cursor_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4601 PyObject *obj;
4602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4603 SWIG_TypeClientData(SWIGTYPE_p_wxCursor, obj);
4604 Py_INCREF(obj);
4605 return Py_BuildValue((char *)"");
4606}
2f4c0a16 4607static PyObject *_wrap_new_Region(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 4608 PyObject *resultobj;
423f194a
RD
4609 int arg1 = (int) 0 ;
4610 int arg2 = (int) 0 ;
4611 int arg3 = (int) 0 ;
4612 int arg4 = (int) 0 ;
d14a1e28 4613 wxRegion *result;
8edf1c75
RD
4614 PyObject * obj0 = 0 ;
4615 PyObject * obj1 = 0 ;
4616 PyObject * obj2 = 0 ;
4617 PyObject * obj3 = 0 ;
d14a1e28
RD
4618 char *kwnames[] = {
4619 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4620 };
4621
8edf1c75
RD
4622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Region",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4623 if (obj0) {
2f4c0a16
RD
4624 arg1 = (int) SWIG_AsInt(obj0);
4625 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
4626 }
4627 if (obj1) {
2f4c0a16
RD
4628 arg2 = (int) SWIG_AsInt(obj1);
4629 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
4630 }
4631 if (obj2) {
2f4c0a16
RD
4632 arg3 = (int) SWIG_AsInt(obj2);
4633 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
4634 }
4635 if (obj3) {
2f4c0a16
RD
4636 arg4 = (int) SWIG_AsInt(obj3);
4637 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4638 }
d14a1e28
RD
4639 {
4640 PyThreadState* __tstate = wxPyBeginAllowThreads();
4641 result = (wxRegion *)new wxRegion(arg1,arg2,arg3,arg4);
4642
4643 wxPyEndAllowThreads(__tstate);
4644 if (PyErr_Occurred()) SWIG_fail;
4645 }
2f4c0a16 4646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 1);
d14a1e28
RD
4647 return resultobj;
4648 fail:
4649 return NULL;
4650}
4651
4652
2f4c0a16 4653static PyObject *_wrap_new_RegionFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4654 PyObject *resultobj;
4655 wxBitmap *arg1 = 0 ;
4656 wxColour const &arg2_defvalue = wxNullColour ;
4657 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
4658 int arg3 = (int) 0 ;
4659 wxRegion *result;
4660 wxColour temp2 ;
4661 PyObject * obj0 = 0 ;
4662 PyObject * obj1 = 0 ;
8edf1c75 4663 PyObject * obj2 = 0 ;
d14a1e28
RD
4664 char *kwnames[] = {
4665 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4666 };
4667
8edf1c75 4668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_RegionFromBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4670 SWIG_POINTER_EXCEPTION | 0)) == -1)
4671 SWIG_fail;
d14a1e28 4672 if (arg1 == NULL) {
2f4c0a16
RD
4673 PyErr_SetString(PyExc_TypeError,"null reference");
4674 SWIG_fail;
d14a1e28
RD
4675 }
4676 if (obj1) {
4677 {
4678 arg2 = &temp2;
4679 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4680 }
4681 }
8edf1c75 4682 if (obj2) {
2f4c0a16
RD
4683 arg3 = (int) SWIG_AsInt(obj2);
4684 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4685 }
d14a1e28
RD
4686 {
4687 PyThreadState* __tstate = wxPyBeginAllowThreads();
4688 result = (wxRegion *)new wxRegion((wxBitmap const &)*arg1,(wxColour const &)*arg2,arg3);
4689
4690 wxPyEndAllowThreads(__tstate);
4691 if (PyErr_Occurred()) SWIG_fail;
4692 }
2f4c0a16 4693 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 1);
d14a1e28
RD
4694 return resultobj;
4695 fail:
4696 return NULL;
4697}
4698
4699
2f4c0a16 4700static PyObject *_wrap_new_RegionFromPoints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4701 PyObject *resultobj;
4702 int arg1 ;
4703 wxPoint *arg2 = (wxPoint *) 0 ;
4704 int arg3 = (int) wxWINDING_RULE ;
4705 wxRegion *result;
4706 PyObject * obj0 = 0 ;
8edf1c75 4707 PyObject * obj1 = 0 ;
d14a1e28
RD
4708 char *kwnames[] = {
4709 (char *) "points",(char *) "fillStyle", NULL
4710 };
4711
8edf1c75 4712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_RegionFromPoints",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
4713 {
4714 arg2 = wxPoint_LIST_helper(obj0, &arg1);
4715 if (arg2 == NULL) SWIG_fail;
4716 }
8edf1c75 4717 if (obj1) {
2f4c0a16
RD
4718 arg3 = (int) SWIG_AsInt(obj1);
4719 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4720 }
d14a1e28
RD
4721 {
4722 PyThreadState* __tstate = wxPyBeginAllowThreads();
4723 result = (wxRegion *)new_wxRegion(arg1,arg2,arg3);
4724
4725 wxPyEndAllowThreads(__tstate);
4726 if (PyErr_Occurred()) SWIG_fail;
4727 }
2f4c0a16 4728 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 1);
d14a1e28
RD
4729 {
4730 if (arg2) delete [] arg2;
4731 }
4732 return resultobj;
4733 fail:
4734 {
4735 if (arg2) delete [] arg2;
4736 }
4737 return NULL;
4738}
4739
4740
2f4c0a16 4741static PyObject *_wrap_delete_Region(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4742 PyObject *resultobj;
4743 wxRegion *arg1 = (wxRegion *) 0 ;
4744 PyObject * obj0 = 0 ;
4745 char *kwnames[] = {
4746 (char *) "self", NULL
4747 };
4748
4749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Region",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4752 {
4753 PyThreadState* __tstate = wxPyBeginAllowThreads();
4754 delete arg1;
4755
4756 wxPyEndAllowThreads(__tstate);
4757 if (PyErr_Occurred()) SWIG_fail;
4758 }
4759 Py_INCREF(Py_None); resultobj = Py_None;
4760 return resultobj;
4761 fail:
4762 return NULL;
4763}
4764
4765
2f4c0a16 4766static PyObject *_wrap_Region_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4767 PyObject *resultobj;
4768 wxRegion *arg1 = (wxRegion *) 0 ;
4769 PyObject * obj0 = 0 ;
4770 char *kwnames[] = {
4771 (char *) "self", NULL
4772 };
4773
4774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_Clear",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4777 {
4778 PyThreadState* __tstate = wxPyBeginAllowThreads();
4779 (arg1)->Clear();
4780
4781 wxPyEndAllowThreads(__tstate);
4782 if (PyErr_Occurred()) SWIG_fail;
4783 }
4784 Py_INCREF(Py_None); resultobj = Py_None;
4785 return resultobj;
4786 fail:
4787 return NULL;
4788}
4789
4790
2f4c0a16 4791static PyObject *_wrap_Region_Contains(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4792 PyObject *resultobj;
4793 wxRegion *arg1 = (wxRegion *) 0 ;
423f194a
RD
4794 int arg2 ;
4795 int arg3 ;
d14a1e28
RD
4796 int result;
4797 PyObject * obj0 = 0 ;
8edf1c75
RD
4798 PyObject * obj1 = 0 ;
4799 PyObject * obj2 = 0 ;
d14a1e28
RD
4800 char *kwnames[] = {
4801 (char *) "self",(char *) "x",(char *) "y", NULL
4802 };
4803
8edf1c75 4804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Region_Contains",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4807 arg2 = (int) SWIG_AsInt(obj1);
4808 if (PyErr_Occurred()) SWIG_fail;
4809 arg3 = (int) SWIG_AsInt(obj2);
4810 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4811 {
4812 PyThreadState* __tstate = wxPyBeginAllowThreads();
4813 result = (int)(arg1)->Contains(arg2,arg3);
4814
4815 wxPyEndAllowThreads(__tstate);
4816 if (PyErr_Occurred()) SWIG_fail;
4817 }
2f4c0a16 4818 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4819 return resultobj;
4820 fail:
4821 return NULL;
4822}
4823
4824
2f4c0a16 4825static PyObject *_wrap_Region_ContainsPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4826 PyObject *resultobj;
4827 wxRegion *arg1 = (wxRegion *) 0 ;
4828 wxPoint *arg2 = 0 ;
4829 int result;
4830 wxPoint temp2 ;
4831 PyObject * obj0 = 0 ;
4832 PyObject * obj1 = 0 ;
4833 char *kwnames[] = {
4834 (char *) "self",(char *) "pt", NULL
4835 };
4836
4837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_ContainsPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4840 {
4841 arg2 = &temp2;
4842 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4843 }
4844 {
4845 PyThreadState* __tstate = wxPyBeginAllowThreads();
4846 result = (int)(arg1)->Contains((wxPoint const &)*arg2);
4847
4848 wxPyEndAllowThreads(__tstate);
4849 if (PyErr_Occurred()) SWIG_fail;
4850 }
2f4c0a16 4851 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4852 return resultobj;
4853 fail:
4854 return NULL;
4855}
4856
4857
2f4c0a16 4858static PyObject *_wrap_Region_ContainsRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4859 PyObject *resultobj;
4860 wxRegion *arg1 = (wxRegion *) 0 ;
4861 wxRect *arg2 = 0 ;
4862 int result;
4863 wxRect temp2 ;
4864 PyObject * obj0 = 0 ;
4865 PyObject * obj1 = 0 ;
4866 char *kwnames[] = {
4867 (char *) "self",(char *) "rect", NULL
4868 };
4869
4870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_ContainsRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4873 {
4874 arg2 = &temp2;
4875 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4876 }
4877 {
4878 PyThreadState* __tstate = wxPyBeginAllowThreads();
4879 result = (int)(arg1)->Contains((wxRect const &)*arg2);
4880
4881 wxPyEndAllowThreads(__tstate);
4882 if (PyErr_Occurred()) SWIG_fail;
4883 }
2f4c0a16 4884 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4885 return resultobj;
4886 fail:
4887 return NULL;
4888}
4889
4890
2f4c0a16 4891static PyObject *_wrap_Region_ContainsRectDim(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4892 PyObject *resultobj;
4893 wxRegion *arg1 = (wxRegion *) 0 ;
423f194a
RD
4894 int arg2 ;
4895 int arg3 ;
4896 int arg4 ;
4897 int arg5 ;
d14a1e28
RD
4898 int result;
4899 PyObject * obj0 = 0 ;
8edf1c75
RD
4900 PyObject * obj1 = 0 ;
4901 PyObject * obj2 = 0 ;
4902 PyObject * obj3 = 0 ;
4903 PyObject * obj4 = 0 ;
d14a1e28
RD
4904 char *kwnames[] = {
4905 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4906 };
4907
8edf1c75 4908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_ContainsRectDim",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
4909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4911 arg2 = (int) SWIG_AsInt(obj1);
4912 if (PyErr_Occurred()) SWIG_fail;
4913 arg3 = (int) SWIG_AsInt(obj2);
4914 if (PyErr_Occurred()) SWIG_fail;
4915 arg4 = (int) SWIG_AsInt(obj3);
4916 if (PyErr_Occurred()) SWIG_fail;
4917 arg5 = (int) SWIG_AsInt(obj4);
4918 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4919 {
4920 PyThreadState* __tstate = wxPyBeginAllowThreads();
4921 result = (int)(arg1)->Contains(arg2,arg3,arg4,arg5);
4922
4923 wxPyEndAllowThreads(__tstate);
4924 if (PyErr_Occurred()) SWIG_fail;
4925 }
2f4c0a16 4926 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4927 return resultobj;
4928 fail:
4929 return NULL;
4930}
4931
4932
2f4c0a16 4933static PyObject *_wrap_Region_GetBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4934 PyObject *resultobj;
4935 wxRegion *arg1 = (wxRegion *) 0 ;
4936 wxRect result;
4937 PyObject * obj0 = 0 ;
4938 char *kwnames[] = {
4939 (char *) "self", NULL
4940 };
4941
4942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_GetBox",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4945 {
4946 PyThreadState* __tstate = wxPyBeginAllowThreads();
4947 result = (arg1)->GetBox();
4948
4949 wxPyEndAllowThreads(__tstate);
4950 if (PyErr_Occurred()) SWIG_fail;
4951 }
4952 {
4953 wxRect * resultptr;
4954 resultptr = new wxRect((wxRect &) result);
2f4c0a16 4955 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
4956 }
4957 return resultobj;
4958 fail:
4959 return NULL;
4960}
4961
4962
2f4c0a16 4963static PyObject *_wrap_Region_Intersect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4964 PyObject *resultobj;
4965 wxRegion *arg1 = (wxRegion *) 0 ;
423f194a
RD
4966 int arg2 ;
4967 int arg3 ;
4968 int arg4 ;
4969 int arg5 ;
d14a1e28
RD
4970 bool result;
4971 PyObject * obj0 = 0 ;
8edf1c75
RD
4972 PyObject * obj1 = 0 ;
4973 PyObject * obj2 = 0 ;
4974 PyObject * obj3 = 0 ;
4975 PyObject * obj4 = 0 ;
d14a1e28
RD
4976 char *kwnames[] = {
4977 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4978 };
4979
8edf1c75 4980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Intersect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
4981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4983 arg2 = (int) SWIG_AsInt(obj1);
4984 if (PyErr_Occurred()) SWIG_fail;
4985 arg3 = (int) SWIG_AsInt(obj2);
4986 if (PyErr_Occurred()) SWIG_fail;
4987 arg4 = (int) SWIG_AsInt(obj3);
4988 if (PyErr_Occurred()) SWIG_fail;
4989 arg5 = (int) SWIG_AsInt(obj4);
4990 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4991 {
4992 PyThreadState* __tstate = wxPyBeginAllowThreads();
4993 result = (bool)(arg1)->Intersect(arg2,arg3,arg4,arg5);
4994
4995 wxPyEndAllowThreads(__tstate);
4996 if (PyErr_Occurred()) SWIG_fail;
4997 }
02a34c4c 4998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4999 return resultobj;
5000 fail:
5001 return NULL;
5002}
5003
5004
2f4c0a16 5005static PyObject *_wrap_Region_IntersectRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5006 PyObject *resultobj;
5007 wxRegion *arg1 = (wxRegion *) 0 ;
5008 wxRect *arg2 = 0 ;
5009 bool result;
5010 wxRect temp2 ;
5011 PyObject * obj0 = 0 ;
5012 PyObject * obj1 = 0 ;
5013 char *kwnames[] = {
5014 (char *) "self",(char *) "rect", NULL
5015 };
5016
5017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_IntersectRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5020 {
5021 arg2 = &temp2;
5022 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5023 }
5024 {
5025 PyThreadState* __tstate = wxPyBeginAllowThreads();
5026 result = (bool)(arg1)->Intersect((wxRect const &)*arg2);
5027
5028 wxPyEndAllowThreads(__tstate);
5029 if (PyErr_Occurred()) SWIG_fail;
5030 }
02a34c4c 5031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5032 return resultobj;
5033 fail:
5034 return NULL;
5035}
5036
5037
2f4c0a16 5038static PyObject *_wrap_Region_IntersectRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5039 PyObject *resultobj;
5040 wxRegion *arg1 = (wxRegion *) 0 ;
5041 wxRegion *arg2 = 0 ;
5042 bool result;
5043 PyObject * obj0 = 0 ;
5044 PyObject * obj1 = 0 ;
5045 char *kwnames[] = {
5046 (char *) "self",(char *) "region", NULL
5047 };
5048
5049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_IntersectRegion",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5052 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
5053 SWIG_POINTER_EXCEPTION | 0)) == -1)
5054 SWIG_fail;
d14a1e28 5055 if (arg2 == NULL) {
2f4c0a16
RD
5056 PyErr_SetString(PyExc_TypeError,"null reference");
5057 SWIG_fail;
d14a1e28
RD
5058 }
5059 {
5060 PyThreadState* __tstate = wxPyBeginAllowThreads();
5061 result = (bool)(arg1)->Intersect((wxRegion const &)*arg2);
5062
5063 wxPyEndAllowThreads(__tstate);
5064 if (PyErr_Occurred()) SWIG_fail;
5065 }
02a34c4c 5066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5067 return resultobj;
5068 fail:
5069 return NULL;
5070}
5071
5072
2f4c0a16 5073static PyObject *_wrap_Region_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5074 PyObject *resultobj;
5075 wxRegion *arg1 = (wxRegion *) 0 ;
5076 bool result;
5077 PyObject * obj0 = 0 ;
5078 char *kwnames[] = {
5079 (char *) "self", NULL
5080 };
5081
5082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_IsEmpty",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5085 {
5086 PyThreadState* __tstate = wxPyBeginAllowThreads();
5087 result = (bool)(arg1)->IsEmpty();
5088
5089 wxPyEndAllowThreads(__tstate);
5090 if (PyErr_Occurred()) SWIG_fail;
5091 }
02a34c4c 5092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5093 return resultobj;
5094 fail:
5095 return NULL;
5096}
5097
5098
2f4c0a16 5099static PyObject *_wrap_Region_Union(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5100 PyObject *resultobj;
5101 wxRegion *arg1 = (wxRegion *) 0 ;
423f194a
RD
5102 int arg2 ;
5103 int arg3 ;
5104 int arg4 ;
5105 int arg5 ;
d14a1e28
RD
5106 bool result;
5107 PyObject * obj0 = 0 ;
8edf1c75
RD
5108 PyObject * obj1 = 0 ;
5109 PyObject * obj2 = 0 ;
5110 PyObject * obj3 = 0 ;
5111 PyObject * obj4 = 0 ;
d14a1e28
RD
5112 char *kwnames[] = {
5113 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5114 };
5115
8edf1c75 5116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Union",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
5117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5119 arg2 = (int) SWIG_AsInt(obj1);
5120 if (PyErr_Occurred()) SWIG_fail;
5121 arg3 = (int) SWIG_AsInt(obj2);
5122 if (PyErr_Occurred()) SWIG_fail;
5123 arg4 = (int) SWIG_AsInt(obj3);
5124 if (PyErr_Occurred()) SWIG_fail;
5125 arg5 = (int) SWIG_AsInt(obj4);
5126 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5127 {
5128 PyThreadState* __tstate = wxPyBeginAllowThreads();
5129 result = (bool)(arg1)->Union(arg2,arg3,arg4,arg5);
5130
5131 wxPyEndAllowThreads(__tstate);
5132 if (PyErr_Occurred()) SWIG_fail;
5133 }
02a34c4c 5134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5135 return resultobj;
5136 fail:
5137 return NULL;
5138}
5139
5140
2f4c0a16 5141static PyObject *_wrap_Region_UnionRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5142 PyObject *resultobj;
5143 wxRegion *arg1 = (wxRegion *) 0 ;
5144 wxRect *arg2 = 0 ;
5145 bool result;
5146 wxRect temp2 ;
5147 PyObject * obj0 = 0 ;
5148 PyObject * obj1 = 0 ;
5149 char *kwnames[] = {
5150 (char *) "self",(char *) "rect", NULL
5151 };
5152
5153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_UnionRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5156 {
5157 arg2 = &temp2;
5158 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5159 }
5160 {
5161 PyThreadState* __tstate = wxPyBeginAllowThreads();
5162 result = (bool)(arg1)->Union((wxRect const &)*arg2);
5163
5164 wxPyEndAllowThreads(__tstate);
5165 if (PyErr_Occurred()) SWIG_fail;
5166 }
02a34c4c 5167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5168 return resultobj;
5169 fail:
5170 return NULL;
5171}
5172
5173
2f4c0a16 5174static PyObject *_wrap_Region_UnionRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5175 PyObject *resultobj;
5176 wxRegion *arg1 = (wxRegion *) 0 ;
5177 wxRegion *arg2 = 0 ;
5178 bool result;
5179 PyObject * obj0 = 0 ;
5180 PyObject * obj1 = 0 ;
5181 char *kwnames[] = {
5182 (char *) "self",(char *) "region", NULL
5183 };
5184
5185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_UnionRegion",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5188 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
5189 SWIG_POINTER_EXCEPTION | 0)) == -1)
5190 SWIG_fail;
d14a1e28 5191 if (arg2 == NULL) {
2f4c0a16
RD
5192 PyErr_SetString(PyExc_TypeError,"null reference");
5193 SWIG_fail;
d14a1e28
RD
5194 }
5195 {
5196 PyThreadState* __tstate = wxPyBeginAllowThreads();
5197 result = (bool)(arg1)->Union((wxRegion const &)*arg2);
5198
5199 wxPyEndAllowThreads(__tstate);
5200 if (PyErr_Occurred()) SWIG_fail;
5201 }
02a34c4c 5202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5203 return resultobj;
5204 fail:
5205 return NULL;
5206}
5207
5208
2f4c0a16 5209static PyObject *_wrap_Region_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5210 PyObject *resultobj;
5211 wxRegion *arg1 = (wxRegion *) 0 ;
423f194a
RD
5212 int arg2 ;
5213 int arg3 ;
5214 int arg4 ;
5215 int arg5 ;
d14a1e28
RD
5216 bool result;
5217 PyObject * obj0 = 0 ;
8edf1c75
RD
5218 PyObject * obj1 = 0 ;
5219 PyObject * obj2 = 0 ;
5220 PyObject * obj3 = 0 ;
5221 PyObject * obj4 = 0 ;
d14a1e28
RD
5222 char *kwnames[] = {
5223 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5224 };
5225
8edf1c75 5226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Subtract",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
5227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5229 arg2 = (int) SWIG_AsInt(obj1);
5230 if (PyErr_Occurred()) SWIG_fail;
5231 arg3 = (int) SWIG_AsInt(obj2);
5232 if (PyErr_Occurred()) SWIG_fail;
5233 arg4 = (int) SWIG_AsInt(obj3);
5234 if (PyErr_Occurred()) SWIG_fail;
5235 arg5 = (int) SWIG_AsInt(obj4);
5236 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5237 {
5238 PyThreadState* __tstate = wxPyBeginAllowThreads();
5239 result = (bool)(arg1)->Subtract(arg2,arg3,arg4,arg5);
5240
5241 wxPyEndAllowThreads(__tstate);
5242 if (PyErr_Occurred()) SWIG_fail;
5243 }
02a34c4c 5244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5245 return resultobj;
5246 fail:
5247 return NULL;
5248}
5249
5250
2f4c0a16 5251static PyObject *_wrap_Region_SubtractRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5252 PyObject *resultobj;
5253 wxRegion *arg1 = (wxRegion *) 0 ;
5254 wxRect *arg2 = 0 ;
5255 bool result;
5256 wxRect temp2 ;
5257 PyObject * obj0 = 0 ;
5258 PyObject * obj1 = 0 ;
5259 char *kwnames[] = {
5260 (char *) "self",(char *) "rect", NULL
5261 };
5262
5263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_SubtractRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5266 {
5267 arg2 = &temp2;
5268 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5269 }
5270 {
5271 PyThreadState* __tstate = wxPyBeginAllowThreads();
5272 result = (bool)(arg1)->Subtract((wxRect const &)*arg2);
5273
5274 wxPyEndAllowThreads(__tstate);
5275 if (PyErr_Occurred()) SWIG_fail;
5276 }
02a34c4c 5277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5278 return resultobj;
5279 fail:
5280 return NULL;
5281}
5282
5283
2f4c0a16 5284static PyObject *_wrap_Region_SubtractRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5285 PyObject *resultobj;
5286 wxRegion *arg1 = (wxRegion *) 0 ;
5287 wxRegion *arg2 = 0 ;
5288 bool result;
5289 PyObject * obj0 = 0 ;
5290 PyObject * obj1 = 0 ;
5291 char *kwnames[] = {
5292 (char *) "self",(char *) "region", NULL
5293 };
5294
5295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_SubtractRegion",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5298 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
5299 SWIG_POINTER_EXCEPTION | 0)) == -1)
5300 SWIG_fail;
d14a1e28 5301 if (arg2 == NULL) {
2f4c0a16
RD
5302 PyErr_SetString(PyExc_TypeError,"null reference");
5303 SWIG_fail;
d14a1e28
RD
5304 }
5305 {
5306 PyThreadState* __tstate = wxPyBeginAllowThreads();
5307 result = (bool)(arg1)->Subtract((wxRegion const &)*arg2);
5308
5309 wxPyEndAllowThreads(__tstate);
5310 if (PyErr_Occurred()) SWIG_fail;
5311 }
02a34c4c 5312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5313 return resultobj;
5314 fail:
5315 return NULL;
5316}
5317
5318
2f4c0a16 5319static PyObject *_wrap_Region_Xor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5320 PyObject *resultobj;
5321 wxRegion *arg1 = (wxRegion *) 0 ;
423f194a
RD
5322 int arg2 ;
5323 int arg3 ;
5324 int arg4 ;
5325 int arg5 ;
d14a1e28
RD
5326 bool result;
5327 PyObject * obj0 = 0 ;
8edf1c75
RD
5328 PyObject * obj1 = 0 ;
5329 PyObject * obj2 = 0 ;
5330 PyObject * obj3 = 0 ;
5331 PyObject * obj4 = 0 ;
d14a1e28
RD
5332 char *kwnames[] = {
5333 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5334 };
5335
8edf1c75 5336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Xor",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
5337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5339 arg2 = (int) SWIG_AsInt(obj1);
5340 if (PyErr_Occurred()) SWIG_fail;
5341 arg3 = (int) SWIG_AsInt(obj2);
5342 if (PyErr_Occurred()) SWIG_fail;
5343 arg4 = (int) SWIG_AsInt(obj3);
5344 if (PyErr_Occurred()) SWIG_fail;
5345 arg5 = (int) SWIG_AsInt(obj4);
5346 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5347 {
5348 PyThreadState* __tstate = wxPyBeginAllowThreads();
5349 result = (bool)(arg1)->Xor(arg2,arg3,arg4,arg5);
5350
5351 wxPyEndAllowThreads(__tstate);
5352 if (PyErr_Occurred()) SWIG_fail;
5353 }
02a34c4c 5354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5355 return resultobj;
5356 fail:
5357 return NULL;
5358}
5359
5360
2f4c0a16 5361static PyObject *_wrap_Region_XorRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5362 PyObject *resultobj;
5363 wxRegion *arg1 = (wxRegion *) 0 ;
5364 wxRect *arg2 = 0 ;
5365 bool result;
5366 wxRect temp2 ;
5367 PyObject * obj0 = 0 ;
5368 PyObject * obj1 = 0 ;
5369 char *kwnames[] = {
5370 (char *) "self",(char *) "rect", NULL
5371 };
5372
5373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_XorRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5376 {
5377 arg2 = &temp2;
5378 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5379 }
5380 {
5381 PyThreadState* __tstate = wxPyBeginAllowThreads();
5382 result = (bool)(arg1)->Xor((wxRect const &)*arg2);
5383
5384 wxPyEndAllowThreads(__tstate);
5385 if (PyErr_Occurred()) SWIG_fail;
5386 }
02a34c4c 5387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5388 return resultobj;
5389 fail:
5390 return NULL;
5391}
5392
5393
2f4c0a16 5394static PyObject *_wrap_Region_XorRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5395 PyObject *resultobj;
5396 wxRegion *arg1 = (wxRegion *) 0 ;
5397 wxRegion *arg2 = 0 ;
5398 bool result;
5399 PyObject * obj0 = 0 ;
5400 PyObject * obj1 = 0 ;
5401 char *kwnames[] = {
5402 (char *) "self",(char *) "region", NULL
5403 };
5404
5405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_XorRegion",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5408 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
5409 SWIG_POINTER_EXCEPTION | 0)) == -1)
5410 SWIG_fail;
d14a1e28 5411 if (arg2 == NULL) {
2f4c0a16
RD
5412 PyErr_SetString(PyExc_TypeError,"null reference");
5413 SWIG_fail;
d14a1e28
RD
5414 }
5415 {
5416 PyThreadState* __tstate = wxPyBeginAllowThreads();
5417 result = (bool)(arg1)->Xor((wxRegion const &)*arg2);
5418
5419 wxPyEndAllowThreads(__tstate);
5420 if (PyErr_Occurred()) SWIG_fail;
5421 }
02a34c4c 5422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5423 return resultobj;
5424 fail:
5425 return NULL;
5426}
5427
5428
2f4c0a16 5429static PyObject *_wrap_Region_ConvertToBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5430 PyObject *resultobj;
5431 wxRegion *arg1 = (wxRegion *) 0 ;
5432 SwigValueWrapper< wxBitmap > result;
5433 PyObject * obj0 = 0 ;
5434 char *kwnames[] = {
5435 (char *) "self", NULL
5436 };
5437
5438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_ConvertToBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5441 {
5442 PyThreadState* __tstate = wxPyBeginAllowThreads();
5443 result = (arg1)->ConvertToBitmap();
5444
5445 wxPyEndAllowThreads(__tstate);
5446 if (PyErr_Occurred()) SWIG_fail;
5447 }
5448 {
5449 wxBitmap * resultptr;
5450 resultptr = new wxBitmap((wxBitmap &) result);
2f4c0a16 5451 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
5452 }
5453 return resultobj;
5454 fail:
5455 return NULL;
5456}
5457
5458
2f4c0a16 5459static PyObject *_wrap_Region_UnionBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5460 PyObject *resultobj;
5461 wxRegion *arg1 = (wxRegion *) 0 ;
5462 wxBitmap *arg2 = 0 ;
5463 wxColour const &arg3_defvalue = wxNullColour ;
5464 wxColour *arg3 = (wxColour *) &arg3_defvalue ;
5465 int arg4 = (int) 0 ;
5466 bool result;
5467 wxColour temp3 ;
5468 PyObject * obj0 = 0 ;
5469 PyObject * obj1 = 0 ;
5470 PyObject * obj2 = 0 ;
8edf1c75 5471 PyObject * obj3 = 0 ;
d14a1e28
RD
5472 char *kwnames[] = {
5473 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5474 };
5475
8edf1c75 5476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Region_UnionBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5479 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5480 SWIG_POINTER_EXCEPTION | 0)) == -1)
5481 SWIG_fail;
d14a1e28 5482 if (arg2 == NULL) {
2f4c0a16
RD
5483 PyErr_SetString(PyExc_TypeError,"null reference");
5484 SWIG_fail;
d14a1e28
RD
5485 }
5486 if (obj2) {
5487 {
5488 arg3 = &temp3;
5489 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5490 }
5491 }
8edf1c75 5492 if (obj3) {
2f4c0a16
RD
5493 arg4 = (int) SWIG_AsInt(obj3);
5494 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5495 }
d14a1e28
RD
5496 {
5497 PyThreadState* __tstate = wxPyBeginAllowThreads();
5498 result = (bool)(arg1)->Union((wxBitmap const &)*arg2,(wxColour const &)*arg3,arg4);
5499
5500 wxPyEndAllowThreads(__tstate);
5501 if (PyErr_Occurred()) SWIG_fail;
5502 }
02a34c4c 5503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5504 return resultobj;
5505 fail:
5506 return NULL;
5507}
5508
5509
2f4c0a16 5510static PyObject * Region_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5511 PyObject *obj;
5512 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5513 SWIG_TypeClientData(SWIGTYPE_p_wxRegion, obj);
5514 Py_INCREF(obj);
5515 return Py_BuildValue((char *)"");
5516}
2f4c0a16 5517static PyObject *_wrap_new_RegionIterator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5518 PyObject *resultobj;
5519 wxRegion *arg1 = 0 ;
5520 wxRegionIterator *result;
5521 PyObject * obj0 = 0 ;
5522 char *kwnames[] = {
5523 (char *) "region", NULL
5524 };
5525
5526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_RegionIterator",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5528 SWIG_POINTER_EXCEPTION | 0)) == -1)
5529 SWIG_fail;
d14a1e28 5530 if (arg1 == NULL) {
2f4c0a16
RD
5531 PyErr_SetString(PyExc_TypeError,"null reference");
5532 SWIG_fail;
d14a1e28
RD
5533 }
5534 {
5535 PyThreadState* __tstate = wxPyBeginAllowThreads();
5536 result = (wxRegionIterator *)new wxRegionIterator((wxRegion const &)*arg1);
5537
5538 wxPyEndAllowThreads(__tstate);
5539 if (PyErr_Occurred()) SWIG_fail;
5540 }
2f4c0a16 5541 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegionIterator, 1);
d14a1e28
RD
5542 return resultobj;
5543 fail:
5544 return NULL;
5545}
5546
5547
2f4c0a16 5548static PyObject *_wrap_delete_RegionIterator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5549 PyObject *resultobj;
5550 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
5551 PyObject * obj0 = 0 ;
5552 char *kwnames[] = {
5553 (char *) "self", NULL
5554 };
5555
5556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RegionIterator",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5559 {
5560 PyThreadState* __tstate = wxPyBeginAllowThreads();
5561 delete arg1;
5562
5563 wxPyEndAllowThreads(__tstate);
5564 if (PyErr_Occurred()) SWIG_fail;
5565 }
5566 Py_INCREF(Py_None); resultobj = Py_None;
5567 return resultobj;
5568 fail:
5569 return NULL;
5570}
5571
5572
2f4c0a16 5573static PyObject *_wrap_RegionIterator_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5574 PyObject *resultobj;
5575 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
423f194a 5576 int result;
d14a1e28
RD
5577 PyObject * obj0 = 0 ;
5578 char *kwnames[] = {
5579 (char *) "self", NULL
5580 };
5581
5582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetX",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5585 {
5586 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 5587 result = (int)(arg1)->GetX();
d14a1e28
RD
5588
5589 wxPyEndAllowThreads(__tstate);
5590 if (PyErr_Occurred()) SWIG_fail;
5591 }
2f4c0a16 5592 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5593 return resultobj;
5594 fail:
5595 return NULL;
5596}
5597
5598
2f4c0a16 5599static PyObject *_wrap_RegionIterator_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5600 PyObject *resultobj;
5601 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
423f194a 5602 int result;
d14a1e28
RD
5603 PyObject * obj0 = 0 ;
5604 char *kwnames[] = {
5605 (char *) "self", NULL
5606 };
5607
5608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetY",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5611 {
5612 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 5613 result = (int)(arg1)->GetY();
d14a1e28
RD
5614
5615 wxPyEndAllowThreads(__tstate);
5616 if (PyErr_Occurred()) SWIG_fail;
5617 }
2f4c0a16 5618 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5619 return resultobj;
5620 fail:
5621 return NULL;
5622}
5623
5624
2f4c0a16 5625static PyObject *_wrap_RegionIterator_GetW(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5626 PyObject *resultobj;
5627 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
423f194a 5628 int result;
d14a1e28
RD
5629 PyObject * obj0 = 0 ;
5630 char *kwnames[] = {
5631 (char *) "self", NULL
5632 };
5633
5634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetW",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5637 {
5638 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 5639 result = (int)(arg1)->GetW();
d14a1e28
RD
5640
5641 wxPyEndAllowThreads(__tstate);
5642 if (PyErr_Occurred()) SWIG_fail;
5643 }
2f4c0a16 5644 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5645 return resultobj;
5646 fail:
5647 return NULL;
5648}
5649
5650
2f4c0a16 5651static PyObject *_wrap_RegionIterator_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5652 PyObject *resultobj;
5653 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
423f194a 5654 int result;
d14a1e28
RD
5655 PyObject * obj0 = 0 ;
5656 char *kwnames[] = {
5657 (char *) "self", NULL
5658 };
5659
5660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5663 {
5664 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 5665 result = (int)(arg1)->GetWidth();
d14a1e28
RD
5666
5667 wxPyEndAllowThreads(__tstate);
5668 if (PyErr_Occurred()) SWIG_fail;
5669 }
2f4c0a16 5670 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5671 return resultobj;
5672 fail:
5673 return NULL;
5674}
5675
5676
2f4c0a16 5677static PyObject *_wrap_RegionIterator_GetH(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5678 PyObject *resultobj;
5679 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
423f194a 5680 int result;
d14a1e28
RD
5681 PyObject * obj0 = 0 ;
5682 char *kwnames[] = {
5683 (char *) "self", NULL
5684 };
5685
5686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetH",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5689 {
5690 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 5691 result = (int)(arg1)->GetH();
d14a1e28
RD
5692
5693 wxPyEndAllowThreads(__tstate);
5694 if (PyErr_Occurred()) SWIG_fail;
5695 }
2f4c0a16 5696 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5697 return resultobj;
5698 fail:
5699 return NULL;
5700}
5701
5702
2f4c0a16 5703static PyObject *_wrap_RegionIterator_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5704 PyObject *resultobj;
5705 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
423f194a 5706 int result;
d14a1e28
RD
5707 PyObject * obj0 = 0 ;
5708 char *kwnames[] = {
5709 (char *) "self", NULL
5710 };
5711
5712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5715 {
5716 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 5717 result = (int)(arg1)->GetHeight();
d14a1e28
RD
5718
5719 wxPyEndAllowThreads(__tstate);
5720 if (PyErr_Occurred()) SWIG_fail;
5721 }
2f4c0a16 5722 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5723 return resultobj;
5724 fail:
5725 return NULL;
5726}
5727
5728
2f4c0a16 5729static PyObject *_wrap_RegionIterator_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5730 PyObject *resultobj;
5731 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
5732 wxRect result;
5733 PyObject * obj0 = 0 ;
5734 char *kwnames[] = {
5735 (char *) "self", NULL
5736 };
5737
5738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5741 {
5742 PyThreadState* __tstate = wxPyBeginAllowThreads();
5743 result = (arg1)->GetRect();
5744
5745 wxPyEndAllowThreads(__tstate);
5746 if (PyErr_Occurred()) SWIG_fail;
5747 }
5748 {
5749 wxRect * resultptr;
5750 resultptr = new wxRect((wxRect &) result);
2f4c0a16 5751 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
5752 }
5753 return resultobj;
5754 fail:
5755 return NULL;
5756}
5757
5758
2f4c0a16 5759static PyObject *_wrap_RegionIterator_HaveRects(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5760 PyObject *resultobj;
5761 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
5762 bool result;
5763 PyObject * obj0 = 0 ;
5764 char *kwnames[] = {
5765 (char *) "self", NULL
5766 };
5767
5768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_HaveRects",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5771 {
5772 PyThreadState* __tstate = wxPyBeginAllowThreads();
5773 result = (bool)(arg1)->HaveRects();
5774
5775 wxPyEndAllowThreads(__tstate);
5776 if (PyErr_Occurred()) SWIG_fail;
5777 }
02a34c4c 5778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5779 return resultobj;
5780 fail:
5781 return NULL;
5782}
5783
5784
2f4c0a16 5785static PyObject *_wrap_RegionIterator_Reset(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5786 PyObject *resultobj;
5787 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
5788 PyObject * obj0 = 0 ;
5789 char *kwnames[] = {
5790 (char *) "self", NULL
5791 };
5792
5793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_Reset",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5796 {
5797 PyThreadState* __tstate = wxPyBeginAllowThreads();
5798 (arg1)->Reset();
5799
5800 wxPyEndAllowThreads(__tstate);
5801 if (PyErr_Occurred()) SWIG_fail;
5802 }
5803 Py_INCREF(Py_None); resultobj = Py_None;
5804 return resultobj;
5805 fail:
5806 return NULL;
5807}
5808
5809
2f4c0a16 5810static PyObject *_wrap_RegionIterator_Next(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5811 PyObject *resultobj;
5812 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
5813 PyObject * obj0 = 0 ;
5814 char *kwnames[] = {
5815 (char *) "self", NULL
5816 };
5817
5818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_Next",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5821 {
5822 PyThreadState* __tstate = wxPyBeginAllowThreads();
5823 wxRegionIterator_Next(arg1);
5824
5825 wxPyEndAllowThreads(__tstate);
5826 if (PyErr_Occurred()) SWIG_fail;
5827 }
5828 Py_INCREF(Py_None); resultobj = Py_None;
5829 return resultobj;
5830 fail:
5831 return NULL;
5832}
5833
5834
2f4c0a16 5835static PyObject *_wrap_RegionIterator___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5836 PyObject *resultobj;
5837 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
5838 bool result;
5839 PyObject * obj0 = 0 ;
5840 char *kwnames[] = {
5841 (char *) "self", NULL
5842 };
5843
5844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator___nonzero__",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5847 {
5848 PyThreadState* __tstate = wxPyBeginAllowThreads();
5849 result = (bool)wxRegionIterator___nonzero__(arg1);
5850
5851 wxPyEndAllowThreads(__tstate);
5852 if (PyErr_Occurred()) SWIG_fail;
5853 }
02a34c4c 5854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5855 return resultobj;
5856 fail:
5857 return NULL;
5858}
5859
5860
2f4c0a16 5861static PyObject * RegionIterator_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5862 PyObject *obj;
5863 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5864 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator, obj);
5865 Py_INCREF(obj);
5866 return Py_BuildValue((char *)"");
5867}
2f4c0a16 5868static PyObject *_wrap_new_NativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5869 PyObject *resultobj;
5870 wxNativeFontInfo *result;
5871 char *kwnames[] = {
5872 NULL
5873 };
5874
5875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NativeFontInfo",kwnames)) goto fail;
5876 {
5877 PyThreadState* __tstate = wxPyBeginAllowThreads();
5878 result = (wxNativeFontInfo *)new wxNativeFontInfo();
5879
5880 wxPyEndAllowThreads(__tstate);
5881 if (PyErr_Occurred()) SWIG_fail;
5882 }
2f4c0a16 5883 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeFontInfo, 1);
d14a1e28
RD
5884 return resultobj;
5885 fail:
5886 return NULL;
5887}
5888
5889
2f4c0a16 5890static PyObject *_wrap_delete_NativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5891 PyObject *resultobj;
5892 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
5893 PyObject * obj0 = 0 ;
5894 char *kwnames[] = {
5895 (char *) "self", NULL
5896 };
5897
5898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_NativeFontInfo",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
5900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5901 {
5902 PyThreadState* __tstate = wxPyBeginAllowThreads();
5903 delete arg1;
5904
5905 wxPyEndAllowThreads(__tstate);
5906 if (PyErr_Occurred()) SWIG_fail;
5907 }
5908 Py_INCREF(Py_None); resultobj = Py_None;
5909 return resultobj;
5910 fail:
5911 return NULL;
5912}
5913
5914
2f4c0a16 5915static PyObject *_wrap_NativeFontInfo_Init(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5916 PyObject *resultobj;
5917 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
5918 PyObject * obj0 = 0 ;
5919 char *kwnames[] = {
5920 (char *) "self", NULL
5921 };
5922
5923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_Init",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
5925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5926 {
5927 PyThreadState* __tstate = wxPyBeginAllowThreads();
5928 (arg1)->Init();
5929
5930 wxPyEndAllowThreads(__tstate);
5931 if (PyErr_Occurred()) SWIG_fail;
5932 }
5933 Py_INCREF(Py_None); resultobj = Py_None;
5934 return resultobj;
5935 fail:
5936 return NULL;
5937}
5938
5939
2f4c0a16 5940static PyObject *_wrap_NativeFontInfo_InitFromFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5941 PyObject *resultobj;
5942 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
5943 wxFont *arg2 = 0 ;
5944 PyObject * obj0 = 0 ;
5945 PyObject * obj1 = 0 ;
5946 char *kwnames[] = {
5947 (char *) "self",(char *) "font", NULL
5948 };
5949
5950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_InitFromFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
5952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5953 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
5954 SWIG_POINTER_EXCEPTION | 0)) == -1)
5955 SWIG_fail;
d14a1e28 5956 if (arg2 == NULL) {
2f4c0a16
RD
5957 PyErr_SetString(PyExc_TypeError,"null reference");
5958 SWIG_fail;
d14a1e28
RD
5959 }
5960 {
5961 PyThreadState* __tstate = wxPyBeginAllowThreads();
5962 (arg1)->InitFromFont((wxFont const &)*arg2);
5963
5964 wxPyEndAllowThreads(__tstate);
5965 if (PyErr_Occurred()) SWIG_fail;
5966 }
5967 Py_INCREF(Py_None); resultobj = Py_None;
5968 return resultobj;
5969 fail:
5970 return NULL;
5971}
5972
5973
2f4c0a16 5974static PyObject *_wrap_NativeFontInfo_GetPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5975 PyObject *resultobj;
5976 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
5977 int result;
5978 PyObject * obj0 = 0 ;
5979 char *kwnames[] = {
5980 (char *) "self", NULL
5981 };
5982
5983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetPointSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
5985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5986 {
5987 PyThreadState* __tstate = wxPyBeginAllowThreads();
5988 result = (int)((wxNativeFontInfo const *)arg1)->GetPointSize();
5989
5990 wxPyEndAllowThreads(__tstate);
5991 if (PyErr_Occurred()) SWIG_fail;
5992 }
2f4c0a16 5993 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5994 return resultobj;
5995 fail:
5996 return NULL;
5997}
5998
5999
2f4c0a16 6000static PyObject *_wrap_NativeFontInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6001 PyObject *resultobj;
6002 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6003 int result;
6004 PyObject * obj0 = 0 ;
6005 char *kwnames[] = {
6006 (char *) "self", NULL
6007 };
6008
6009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetStyle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6012 {
6013 PyThreadState* __tstate = wxPyBeginAllowThreads();
6014 result = (int)((wxNativeFontInfo const *)arg1)->GetStyle();
6015
6016 wxPyEndAllowThreads(__tstate);
6017 if (PyErr_Occurred()) SWIG_fail;
6018 }
2f4c0a16 6019 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6020 return resultobj;
6021 fail:
6022 return NULL;
6023}
6024
6025
2f4c0a16 6026static PyObject *_wrap_NativeFontInfo_GetWeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6027 PyObject *resultobj;
6028 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6029 int result;
6030 PyObject * obj0 = 0 ;
6031 char *kwnames[] = {
6032 (char *) "self", NULL
6033 };
6034
6035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetWeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6038 {
6039 PyThreadState* __tstate = wxPyBeginAllowThreads();
6040 result = (int)((wxNativeFontInfo const *)arg1)->GetWeight();
6041
6042 wxPyEndAllowThreads(__tstate);
6043 if (PyErr_Occurred()) SWIG_fail;
6044 }
2f4c0a16 6045 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6046 return resultobj;
6047 fail:
6048 return NULL;
6049}
6050
6051
2f4c0a16 6052static PyObject *_wrap_NativeFontInfo_GetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6053 PyObject *resultobj;
6054 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6055 bool result;
6056 PyObject * obj0 = 0 ;
6057 char *kwnames[] = {
6058 (char *) "self", NULL
6059 };
6060
6061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetUnderlined",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6064 {
6065 PyThreadState* __tstate = wxPyBeginAllowThreads();
6066 result = (bool)((wxNativeFontInfo const *)arg1)->GetUnderlined();
6067
6068 wxPyEndAllowThreads(__tstate);
6069 if (PyErr_Occurred()) SWIG_fail;
6070 }
02a34c4c 6071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6072 return resultobj;
6073 fail:
6074 return NULL;
6075}
6076
6077
2f4c0a16 6078static PyObject *_wrap_NativeFontInfo_GetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6079 PyObject *resultobj;
6080 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6081 wxString result;
6082 PyObject * obj0 = 0 ;
6083 char *kwnames[] = {
6084 (char *) "self", NULL
6085 };
6086
6087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetFaceName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6090 {
6091 PyThreadState* __tstate = wxPyBeginAllowThreads();
6092 result = ((wxNativeFontInfo const *)arg1)->GetFaceName();
6093
6094 wxPyEndAllowThreads(__tstate);
6095 if (PyErr_Occurred()) SWIG_fail;
6096 }
6097 {
6098#if wxUSE_UNICODE
6099 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6100#else
6101 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6102#endif
6103 }
6104 return resultobj;
6105 fail:
6106 return NULL;
6107}
6108
6109
2f4c0a16 6110static PyObject *_wrap_NativeFontInfo_GetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6111 PyObject *resultobj;
6112 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6113 int result;
6114 PyObject * obj0 = 0 ;
6115 char *kwnames[] = {
6116 (char *) "self", NULL
6117 };
6118
6119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetFamily",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6122 {
6123 PyThreadState* __tstate = wxPyBeginAllowThreads();
6124 result = (int)((wxNativeFontInfo const *)arg1)->GetFamily();
6125
6126 wxPyEndAllowThreads(__tstate);
6127 if (PyErr_Occurred()) SWIG_fail;
6128 }
2f4c0a16 6129 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6130 return resultobj;
6131 fail:
6132 return NULL;
6133}
6134
6135
2f4c0a16 6136static PyObject *_wrap_NativeFontInfo_GetEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6137 PyObject *resultobj;
6138 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6139 int result;
6140 PyObject * obj0 = 0 ;
6141 char *kwnames[] = {
6142 (char *) "self", NULL
6143 };
6144
6145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetEncoding",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6148 {
6149 PyThreadState* __tstate = wxPyBeginAllowThreads();
6150 result = (int)((wxNativeFontInfo const *)arg1)->GetEncoding();
6151
6152 wxPyEndAllowThreads(__tstate);
6153 if (PyErr_Occurred()) SWIG_fail;
6154 }
2f4c0a16 6155 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6156 return resultobj;
6157 fail:
6158 return NULL;
6159}
6160
6161
2f4c0a16 6162static PyObject *_wrap_NativeFontInfo_SetPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6163 PyObject *resultobj;
6164 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6165 int arg2 ;
6166 PyObject * obj0 = 0 ;
8edf1c75 6167 PyObject * obj1 = 0 ;
d14a1e28
RD
6168 char *kwnames[] = {
6169 (char *) "self",(char *) "pointsize", NULL
6170 };
6171
8edf1c75 6172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetPointSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6175 arg2 = (int) SWIG_AsInt(obj1);
6176 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6177 {
6178 PyThreadState* __tstate = wxPyBeginAllowThreads();
6179 (arg1)->SetPointSize(arg2);
6180
6181 wxPyEndAllowThreads(__tstate);
6182 if (PyErr_Occurred()) SWIG_fail;
6183 }
6184 Py_INCREF(Py_None); resultobj = Py_None;
6185 return resultobj;
6186 fail:
6187 return NULL;
6188}
6189
6190
2f4c0a16 6191static PyObject *_wrap_NativeFontInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6192 PyObject *resultobj;
6193 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6194 int arg2 ;
6195 PyObject * obj0 = 0 ;
8edf1c75 6196 PyObject * obj1 = 0 ;
d14a1e28
RD
6197 char *kwnames[] = {
6198 (char *) "self",(char *) "style", NULL
6199 };
6200
8edf1c75 6201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6204 arg2 = (wxFontStyle) SWIG_AsInt(obj1);
6205 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6206 {
6207 PyThreadState* __tstate = wxPyBeginAllowThreads();
6208 (arg1)->SetStyle((wxFontStyle )arg2);
6209
6210 wxPyEndAllowThreads(__tstate);
6211 if (PyErr_Occurred()) SWIG_fail;
6212 }
6213 Py_INCREF(Py_None); resultobj = Py_None;
6214 return resultobj;
6215 fail:
6216 return NULL;
6217}
6218
6219
2f4c0a16 6220static PyObject *_wrap_NativeFontInfo_SetWeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6221 PyObject *resultobj;
6222 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6223 int arg2 ;
6224 PyObject * obj0 = 0 ;
8edf1c75 6225 PyObject * obj1 = 0 ;
d14a1e28
RD
6226 char *kwnames[] = {
6227 (char *) "self",(char *) "weight", NULL
6228 };
6229
8edf1c75 6230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetWeight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6233 arg2 = (wxFontWeight) SWIG_AsInt(obj1);
6234 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6235 {
6236 PyThreadState* __tstate = wxPyBeginAllowThreads();
6237 (arg1)->SetWeight((wxFontWeight )arg2);
6238
6239 wxPyEndAllowThreads(__tstate);
6240 if (PyErr_Occurred()) SWIG_fail;
6241 }
6242 Py_INCREF(Py_None); resultobj = Py_None;
6243 return resultobj;
6244 fail:
6245 return NULL;
6246}
6247
6248
2f4c0a16 6249static PyObject *_wrap_NativeFontInfo_SetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6250 PyObject *resultobj;
6251 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6252 bool arg2 ;
6253 PyObject * obj0 = 0 ;
6254 PyObject * obj1 = 0 ;
6255 char *kwnames[] = {
6256 (char *) "self",(char *) "underlined", NULL
6257 };
6258
6259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6262 arg2 = (bool) SWIG_AsBool(obj1);
6263 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6264 {
6265 PyThreadState* __tstate = wxPyBeginAllowThreads();
6266 (arg1)->SetUnderlined(arg2);
6267
6268 wxPyEndAllowThreads(__tstate);
6269 if (PyErr_Occurred()) SWIG_fail;
6270 }
6271 Py_INCREF(Py_None); resultobj = Py_None;
6272 return resultobj;
6273 fail:
6274 return NULL;
6275}
6276
6277
2f4c0a16 6278static PyObject *_wrap_NativeFontInfo_SetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6279 PyObject *resultobj;
6280 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6281 wxString arg2 ;
d14a1e28
RD
6282 PyObject * obj0 = 0 ;
6283 PyObject * obj1 = 0 ;
6284 char *kwnames[] = {
6285 (char *) "self",(char *) "facename", NULL
6286 };
6287
6288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetFaceName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
6291 {
6292 wxString* sptr = wxString_in_helper(obj1);
6293 if (sptr == NULL) SWIG_fail;
6294 arg2 = *sptr;
6295 delete sptr;
6296 }
d14a1e28
RD
6297 {
6298 PyThreadState* __tstate = wxPyBeginAllowThreads();
6299 (arg1)->SetFaceName(arg2);
6300
6301 wxPyEndAllowThreads(__tstate);
6302 if (PyErr_Occurred()) SWIG_fail;
6303 }
6304 Py_INCREF(Py_None); resultobj = Py_None;
6305 return resultobj;
6306 fail:
6307 return NULL;
6308}
6309
6310
2f4c0a16 6311static PyObject *_wrap_NativeFontInfo_SetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6312 PyObject *resultobj;
6313 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6314 int arg2 ;
6315 PyObject * obj0 = 0 ;
8edf1c75 6316 PyObject * obj1 = 0 ;
d14a1e28
RD
6317 char *kwnames[] = {
6318 (char *) "self",(char *) "family", NULL
6319 };
6320
8edf1c75 6321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetFamily",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6324 arg2 = (wxFontFamily) SWIG_AsInt(obj1);
6325 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6326 {
6327 PyThreadState* __tstate = wxPyBeginAllowThreads();
6328 (arg1)->SetFamily((wxFontFamily )arg2);
6329
6330 wxPyEndAllowThreads(__tstate);
6331 if (PyErr_Occurred()) SWIG_fail;
6332 }
6333 Py_INCREF(Py_None); resultobj = Py_None;
6334 return resultobj;
6335 fail:
6336 return NULL;
6337}
6338
6339
2f4c0a16 6340static PyObject *_wrap_NativeFontInfo_SetEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6341 PyObject *resultobj;
6342 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6343 int arg2 ;
6344 PyObject * obj0 = 0 ;
8edf1c75 6345 PyObject * obj1 = 0 ;
d14a1e28
RD
6346 char *kwnames[] = {
6347 (char *) "self",(char *) "encoding", NULL
6348 };
6349
8edf1c75 6350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetEncoding",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6353 arg2 = (wxFontEncoding) SWIG_AsInt(obj1);
6354 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6355 {
6356 PyThreadState* __tstate = wxPyBeginAllowThreads();
6357 (arg1)->SetEncoding((wxFontEncoding )arg2);
6358
6359 wxPyEndAllowThreads(__tstate);
6360 if (PyErr_Occurred()) SWIG_fail;
6361 }
6362 Py_INCREF(Py_None); resultobj = Py_None;
6363 return resultobj;
6364 fail:
6365 return NULL;
6366}
6367
6368
2f4c0a16 6369static PyObject *_wrap_NativeFontInfo_FromString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6370 PyObject *resultobj;
6371 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6372 wxString *arg2 = 0 ;
6373 bool result;
423f194a 6374 bool temp2 = False ;
d14a1e28
RD
6375 PyObject * obj0 = 0 ;
6376 PyObject * obj1 = 0 ;
6377 char *kwnames[] = {
6378 (char *) "self",(char *) "s", NULL
6379 };
6380
6381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_FromString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6384 {
6385 arg2 = wxString_in_helper(obj1);
6386 if (arg2 == NULL) SWIG_fail;
423f194a 6387 temp2 = True;
d14a1e28
RD
6388 }
6389 {
6390 PyThreadState* __tstate = wxPyBeginAllowThreads();
6391 result = (bool)(arg1)->FromString((wxString const &)*arg2);
6392
6393 wxPyEndAllowThreads(__tstate);
6394 if (PyErr_Occurred()) SWIG_fail;
6395 }
02a34c4c 6396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6397 {
6398 if (temp2)
6399 delete arg2;
6400 }
6401 return resultobj;
6402 fail:
6403 {
6404 if (temp2)
6405 delete arg2;
6406 }
6407 return NULL;
6408}
6409
6410
2f4c0a16 6411static PyObject *_wrap_NativeFontInfo_ToString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6412 PyObject *resultobj;
6413 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6414 wxString result;
6415 PyObject * obj0 = 0 ;
6416 char *kwnames[] = {
6417 (char *) "self", NULL
6418 };
6419
6420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_ToString",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6423 {
6424 PyThreadState* __tstate = wxPyBeginAllowThreads();
6425 result = ((wxNativeFontInfo const *)arg1)->ToString();
6426
6427 wxPyEndAllowThreads(__tstate);
6428 if (PyErr_Occurred()) SWIG_fail;
6429 }
6430 {
6431#if wxUSE_UNICODE
6432 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6433#else
6434 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6435#endif
6436 }
6437 return resultobj;
6438 fail:
6439 return NULL;
6440}
6441
6442
2f4c0a16 6443static PyObject *_wrap_NativeFontInfo___str__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6444 PyObject *resultobj;
6445 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6446 wxString result;
6447 PyObject * obj0 = 0 ;
6448 char *kwnames[] = {
6449 (char *) "self", NULL
6450 };
6451
6452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo___str__",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6455 {
6456 PyThreadState* __tstate = wxPyBeginAllowThreads();
6457 result = wxNativeFontInfo___str__(arg1);
6458
6459 wxPyEndAllowThreads(__tstate);
6460 if (PyErr_Occurred()) SWIG_fail;
6461 }
6462 {
6463#if wxUSE_UNICODE
6464 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6465#else
6466 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6467#endif
6468 }
6469 return resultobj;
6470 fail:
6471 return NULL;
6472}
6473
6474
2f4c0a16 6475static PyObject *_wrap_NativeFontInfo_FromUserString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6476 PyObject *resultobj;
6477 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6478 wxString *arg2 = 0 ;
6479 bool result;
423f194a 6480 bool temp2 = False ;
d14a1e28
RD
6481 PyObject * obj0 = 0 ;
6482 PyObject * obj1 = 0 ;
6483 char *kwnames[] = {
6484 (char *) "self",(char *) "s", NULL
6485 };
6486
6487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_FromUserString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6490 {
6491 arg2 = wxString_in_helper(obj1);
6492 if (arg2 == NULL) SWIG_fail;
423f194a 6493 temp2 = True;
d14a1e28
RD
6494 }
6495 {
6496 PyThreadState* __tstate = wxPyBeginAllowThreads();
6497 result = (bool)(arg1)->FromUserString((wxString const &)*arg2);
6498
6499 wxPyEndAllowThreads(__tstate);
6500 if (PyErr_Occurred()) SWIG_fail;
6501 }
02a34c4c 6502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6503 {
6504 if (temp2)
6505 delete arg2;
6506 }
6507 return resultobj;
6508 fail:
6509 {
6510 if (temp2)
6511 delete arg2;
6512 }
6513 return NULL;
6514}
6515
6516
2f4c0a16 6517static PyObject *_wrap_NativeFontInfo_ToUserString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6518 PyObject *resultobj;
6519 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6520 wxString result;
6521 PyObject * obj0 = 0 ;
6522 char *kwnames[] = {
6523 (char *) "self", NULL
6524 };
6525
6526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_ToUserString",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6529 {
6530 PyThreadState* __tstate = wxPyBeginAllowThreads();
6531 result = ((wxNativeFontInfo const *)arg1)->ToUserString();
6532
6533 wxPyEndAllowThreads(__tstate);
6534 if (PyErr_Occurred()) SWIG_fail;
6535 }
6536 {
6537#if wxUSE_UNICODE
6538 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6539#else
6540 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6541#endif
6542 }
6543 return resultobj;
6544 fail:
6545 return NULL;
6546}
6547
6548
2f4c0a16 6549static PyObject * NativeFontInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6550 PyObject *obj;
6551 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6552 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo, obj);
6553 Py_INCREF(obj);
6554 return Py_BuildValue((char *)"");
6555}
2f4c0a16 6556static PyObject *_wrap_NativeEncodingInfo_facename_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6557 PyObject *resultobj;
6558 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
cbd72d4f 6559 wxString *arg2 = (wxString *) 0 ;
dae0faa6 6560 bool temp2 = False ;
d14a1e28
RD
6561 PyObject * obj0 = 0 ;
6562 PyObject * obj1 = 0 ;
6563 char *kwnames[] = {
6564 (char *) "self",(char *) "facename", NULL
6565 };
6566
6567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeEncodingInfo_facename_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
dae0faa6
RD
6570 {
6571 arg2 = wxString_in_helper(obj1);
6572 if (arg2 == NULL) SWIG_fail;
6573 temp2 = True;
6574 }
cbd72d4f 6575 if (arg1) (arg1)->facename = *arg2;
d14a1e28
RD
6576
6577 Py_INCREF(Py_None); resultobj = Py_None;
dae0faa6
RD
6578 {
6579 if (temp2)
6580 delete arg2;
6581 }
d14a1e28
RD
6582 return resultobj;
6583 fail:
dae0faa6
RD
6584 {
6585 if (temp2)
6586 delete arg2;
6587 }
d14a1e28
RD
6588 return NULL;
6589}
6590
6591
2f4c0a16 6592static PyObject *_wrap_NativeEncodingInfo_facename_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6593 PyObject *resultobj;
6594 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
cbd72d4f 6595 wxString *result;
d14a1e28
RD
6596 PyObject * obj0 = 0 ;
6597 char *kwnames[] = {
6598 (char *) "self", NULL
6599 };
6600
6601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeEncodingInfo_facename_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
cbd72d4f 6604 result = (wxString *)& ((arg1)->facename);
d14a1e28
RD
6605
6606 {
6607#if wxUSE_UNICODE
cbd72d4f 6608 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 6609#else
cbd72d4f 6610 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
6611#endif
6612 }
6613 return resultobj;
6614 fail:
6615 return NULL;
6616}
6617
6618
2f4c0a16 6619static PyObject *_wrap_NativeEncodingInfo_encoding_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6620 PyObject *resultobj;
6621 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
6622 int arg2 ;
6623 PyObject * obj0 = 0 ;
8edf1c75 6624 PyObject * obj1 = 0 ;
d14a1e28
RD
6625 char *kwnames[] = {
6626 (char *) "self",(char *) "encoding", NULL
6627 };
6628
8edf1c75 6629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6632 arg2 = (wxFontEncoding) SWIG_AsInt(obj1);
6633 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6634 if (arg1) (arg1)->encoding = (wxFontEncoding )arg2;
6635
6636 Py_INCREF(Py_None); resultobj = Py_None;
6637 return resultobj;
6638 fail:
6639 return NULL;
6640}
6641
6642
2f4c0a16 6643static PyObject *_wrap_NativeEncodingInfo_encoding_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6644 PyObject *resultobj;
6645 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
6646 int result;
6647 PyObject * obj0 = 0 ;
6648 char *kwnames[] = {
6649 (char *) "self", NULL
6650 };
6651
6652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeEncodingInfo_encoding_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6655 result = (int) ((arg1)->encoding);
6656
2f4c0a16 6657 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6658 return resultobj;
6659 fail:
6660 return NULL;
6661}
6662
6663
2f4c0a16 6664static PyObject *_wrap_new_NativeEncodingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6665 PyObject *resultobj;
6666 wxNativeEncodingInfo *result;
6667 char *kwnames[] = {
6668 NULL
6669 };
6670
6671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NativeEncodingInfo",kwnames)) goto fail;
6672 {
6673 PyThreadState* __tstate = wxPyBeginAllowThreads();
6674 result = (wxNativeEncodingInfo *)new wxNativeEncodingInfo();
6675
6676 wxPyEndAllowThreads(__tstate);
6677 if (PyErr_Occurred()) SWIG_fail;
6678 }
2f4c0a16 6679 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeEncodingInfo, 1);
d14a1e28
RD
6680 return resultobj;
6681 fail:
6682 return NULL;
6683}
6684
6685
2f4c0a16 6686static PyObject *_wrap_delete_NativeEncodingInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6687 PyObject *resultobj;
6688 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
6689 PyObject * obj0 = 0 ;
6690 char *kwnames[] = {
6691 (char *) "self", NULL
6692 };
6693
6694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_NativeEncodingInfo",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6697 {
6698 PyThreadState* __tstate = wxPyBeginAllowThreads();
6699 delete arg1;
6700
6701 wxPyEndAllowThreads(__tstate);
6702 if (PyErr_Occurred()) SWIG_fail;
6703 }
6704 Py_INCREF(Py_None); resultobj = Py_None;
6705 return resultobj;
6706 fail:
6707 return NULL;
6708}
6709
6710
2f4c0a16 6711static PyObject *_wrap_NativeEncodingInfo_FromString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6712 PyObject *resultobj;
6713 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
6714 wxString *arg2 = 0 ;
6715 bool result;
423f194a 6716 bool temp2 = False ;
d14a1e28
RD
6717 PyObject * obj0 = 0 ;
6718 PyObject * obj1 = 0 ;
6719 char *kwnames[] = {
6720 (char *) "self",(char *) "s", NULL
6721 };
6722
6723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeEncodingInfo_FromString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6726 {
6727 arg2 = wxString_in_helper(obj1);
6728 if (arg2 == NULL) SWIG_fail;
423f194a 6729 temp2 = True;
d14a1e28
RD
6730 }
6731 {
6732 PyThreadState* __tstate = wxPyBeginAllowThreads();
6733 result = (bool)(arg1)->FromString((wxString const &)*arg2);
6734
6735 wxPyEndAllowThreads(__tstate);
6736 if (PyErr_Occurred()) SWIG_fail;
6737 }
02a34c4c 6738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6739 {
6740 if (temp2)
6741 delete arg2;
6742 }
6743 return resultobj;
6744 fail:
6745 {
6746 if (temp2)
6747 delete arg2;
6748 }
6749 return NULL;
6750}
6751
6752
2f4c0a16 6753static PyObject *_wrap_NativeEncodingInfo_ToString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6754 PyObject *resultobj;
6755 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
6756 wxString result;
6757 PyObject * obj0 = 0 ;
6758 char *kwnames[] = {
6759 (char *) "self", NULL
6760 };
6761
6762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeEncodingInfo_ToString",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6765 {
6766 PyThreadState* __tstate = wxPyBeginAllowThreads();
6767 result = ((wxNativeEncodingInfo const *)arg1)->ToString();
6768
6769 wxPyEndAllowThreads(__tstate);
6770 if (PyErr_Occurred()) SWIG_fail;
6771 }
6772 {
6773#if wxUSE_UNICODE
6774 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6775#else
6776 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6777#endif
6778 }
6779 return resultobj;
6780 fail:
6781 return NULL;
6782}
6783
6784
2f4c0a16 6785static PyObject * NativeEncodingInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6786 PyObject *obj;
6787 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6788 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo, obj);
6789 Py_INCREF(obj);
6790 return Py_BuildValue((char *)"");
6791}
2f4c0a16 6792static PyObject *_wrap_GetNativeFontEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6793 PyObject *resultobj;
6794 int arg1 ;
6795 wxNativeEncodingInfo *result;
8edf1c75 6796 PyObject * obj0 = 0 ;
d14a1e28
RD
6797 char *kwnames[] = {
6798 (char *) "encoding", NULL
6799 };
6800
8edf1c75 6801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetNativeFontEncoding",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6802 arg1 = (wxFontEncoding) SWIG_AsInt(obj0);
6803 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6804 {
6805 PyThreadState* __tstate = wxPyBeginAllowThreads();
6806 result = (wxNativeEncodingInfo *)wxGetNativeFontEncoding((wxFontEncoding )arg1);
6807
6808 wxPyEndAllowThreads(__tstate);
6809 if (PyErr_Occurred()) SWIG_fail;
6810 }
2f4c0a16 6811 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeEncodingInfo, 0);
d14a1e28
RD
6812 return resultobj;
6813 fail:
6814 return NULL;
6815}
6816
6817
2f4c0a16 6818static PyObject *_wrap_TestFontEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6819 PyObject *resultobj;
6820 wxNativeEncodingInfo *arg1 = 0 ;
6821 bool result;
6822 PyObject * obj0 = 0 ;
6823 char *kwnames[] = {
6824 (char *) "info", NULL
6825 };
6826
6827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TestFontEncoding",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6829 SWIG_POINTER_EXCEPTION | 0)) == -1)
6830 SWIG_fail;
d14a1e28 6831 if (arg1 == NULL) {
2f4c0a16
RD
6832 PyErr_SetString(PyExc_TypeError,"null reference");
6833 SWIG_fail;
d14a1e28
RD
6834 }
6835 {
6836 PyThreadState* __tstate = wxPyBeginAllowThreads();
6837 result = (bool)wxTestFontEncoding((wxNativeEncodingInfo const &)*arg1);
6838
6839 wxPyEndAllowThreads(__tstate);
6840 if (PyErr_Occurred()) SWIG_fail;
6841 }
02a34c4c 6842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6843 return resultobj;
6844 fail:
6845 return NULL;
6846}
6847
6848
2f4c0a16 6849static PyObject *_wrap_new_FontMapper(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6850 PyObject *resultobj;
6851 wxFontMapper *result;
6852 char *kwnames[] = {
6853 NULL
6854 };
6855
6856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontMapper",kwnames)) goto fail;
6857 {
6858 PyThreadState* __tstate = wxPyBeginAllowThreads();
6859 result = (wxFontMapper *)new wxFontMapper();
6860
6861 wxPyEndAllowThreads(__tstate);
6862 if (PyErr_Occurred()) SWIG_fail;
6863 }
2f4c0a16 6864 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontMapper, 1);
d14a1e28
RD
6865 return resultobj;
6866 fail:
6867 return NULL;
6868}
6869
6870
2f4c0a16 6871static PyObject *_wrap_delete_FontMapper(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6872 PyObject *resultobj;
6873 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
6874 PyObject * obj0 = 0 ;
6875 char *kwnames[] = {
6876 (char *) "self", NULL
6877 };
6878
6879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontMapper",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
6881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6882 {
6883 PyThreadState* __tstate = wxPyBeginAllowThreads();
6884 delete arg1;
6885
6886 wxPyEndAllowThreads(__tstate);
6887 if (PyErr_Occurred()) SWIG_fail;
6888 }
6889 Py_INCREF(Py_None); resultobj = Py_None;
6890 return resultobj;
6891 fail:
6892 return NULL;
6893}
6894
6895
2f4c0a16 6896static PyObject *_wrap_FontMapper_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6897 PyObject *resultobj;
6898 wxFontMapper *result;
6899 char *kwnames[] = {
6900 NULL
6901 };
6902
6903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FontMapper_Get",kwnames)) goto fail;
6904 {
6905 PyThreadState* __tstate = wxPyBeginAllowThreads();
6906 result = (wxFontMapper *)wxFontMapper::Get();
6907
6908 wxPyEndAllowThreads(__tstate);
6909 if (PyErr_Occurred()) SWIG_fail;
6910 }
2f4c0a16 6911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontMapper, 0);
d14a1e28
RD
6912 return resultobj;
6913 fail:
6914 return NULL;
6915}
6916
6917
2f4c0a16 6918static PyObject *_wrap_FontMapper_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6919 PyObject *resultobj;
6920 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
6921 wxFontMapper *result;
6922 PyObject * obj0 = 0 ;
6923 char *kwnames[] = {
6924 (char *) "mapper", NULL
6925 };
6926
6927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_Set",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
6929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6930 {
6931 PyThreadState* __tstate = wxPyBeginAllowThreads();
6932 result = (wxFontMapper *)wxFontMapper::Set(arg1);
6933
6934 wxPyEndAllowThreads(__tstate);
6935 if (PyErr_Occurred()) SWIG_fail;
6936 }
2f4c0a16 6937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontMapper, 0);
d14a1e28
RD
6938 return resultobj;
6939 fail:
6940 return NULL;
6941}
6942
6943
2f4c0a16 6944static PyObject *_wrap_FontMapper_CharsetToEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6945 PyObject *resultobj;
6946 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
6947 wxString *arg2 = 0 ;
423f194a 6948 bool arg3 = (bool) True ;
d14a1e28 6949 int result;
423f194a 6950 bool temp2 = False ;
d14a1e28
RD
6951 PyObject * obj0 = 0 ;
6952 PyObject * obj1 = 0 ;
6953 PyObject * obj2 = 0 ;
6954 char *kwnames[] = {
6955 (char *) "self",(char *) "charset",(char *) "interactive", NULL
6956 };
6957
6958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
6960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6961 {
6962 arg2 = wxString_in_helper(obj1);
6963 if (arg2 == NULL) SWIG_fail;
423f194a 6964 temp2 = True;
d14a1e28
RD
6965 }
6966 if (obj2) {
2f4c0a16
RD
6967 arg3 = (bool) SWIG_AsBool(obj2);
6968 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6969 }
6970 {
6971 PyThreadState* __tstate = wxPyBeginAllowThreads();
6972 result = (int)(arg1)->CharsetToEncoding((wxString const &)*arg2,arg3);
6973
6974 wxPyEndAllowThreads(__tstate);
6975 if (PyErr_Occurred()) SWIG_fail;
6976 }
2f4c0a16 6977 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6978 {
6979 if (temp2)
6980 delete arg2;
6981 }
6982 return resultobj;
6983 fail:
6984 {
6985 if (temp2)
6986 delete arg2;
6987 }
6988 return NULL;
6989}
6990
6991
2f4c0a16 6992static PyObject *_wrap_FontMapper_GetSupportedEncodingsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6993 PyObject *resultobj;
6994 size_t result;
6995 char *kwnames[] = {
6996 NULL
6997 };
6998
6999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames)) goto fail;
7000 {
7001 PyThreadState* __tstate = wxPyBeginAllowThreads();
7002 result = (size_t)wxFontMapper::GetSupportedEncodingsCount();
7003
7004 wxPyEndAllowThreads(__tstate);
7005 if (PyErr_Occurred()) SWIG_fail;
7006 }
2f4c0a16 7007 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
7008 return resultobj;
7009 fail:
7010 return NULL;
7011}
7012
7013
2f4c0a16 7014static PyObject *_wrap_FontMapper_GetEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7015 PyObject *resultobj;
7016 size_t arg1 ;
7017 int result;
7018 PyObject * obj0 = 0 ;
7019 char *kwnames[] = {
7020 (char *) "n", NULL
7021 };
7022
7023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncoding",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7024 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
7025 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7026 {
7027 PyThreadState* __tstate = wxPyBeginAllowThreads();
7028 result = (int)wxFontMapper::GetEncoding(arg1);
7029
7030 wxPyEndAllowThreads(__tstate);
7031 if (PyErr_Occurred()) SWIG_fail;
7032 }
2f4c0a16 7033 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7034 return resultobj;
7035 fail:
7036 return NULL;
7037}
7038
7039
2f4c0a16 7040static PyObject *_wrap_FontMapper_GetEncodingName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7041 PyObject *resultobj;
7042 int arg1 ;
7043 wxString result;
8edf1c75 7044 PyObject * obj0 = 0 ;
d14a1e28
RD
7045 char *kwnames[] = {
7046 (char *) "encoding", NULL
7047 };
7048
8edf1c75 7049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncodingName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7050 arg1 = (wxFontEncoding) SWIG_AsInt(obj0);
7051 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7052 {
7053 PyThreadState* __tstate = wxPyBeginAllowThreads();
7054 result = wxFontMapper::GetEncodingName((wxFontEncoding )arg1);
7055
7056 wxPyEndAllowThreads(__tstate);
7057 if (PyErr_Occurred()) SWIG_fail;
7058 }
7059 {
7060#if wxUSE_UNICODE
7061 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7062#else
7063 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7064#endif
7065 }
7066 return resultobj;
7067 fail:
7068 return NULL;
7069}
7070
7071
2f4c0a16 7072static PyObject *_wrap_FontMapper_GetEncodingDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7073 PyObject *resultobj;
7074 int arg1 ;
7075 wxString result;
8edf1c75 7076 PyObject * obj0 = 0 ;
d14a1e28
RD
7077 char *kwnames[] = {
7078 (char *) "encoding", NULL
7079 };
7080
8edf1c75 7081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncodingDescription",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7082 arg1 = (wxFontEncoding) SWIG_AsInt(obj0);
7083 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7084 {
7085 PyThreadState* __tstate = wxPyBeginAllowThreads();
7086 result = wxFontMapper::GetEncodingDescription((wxFontEncoding )arg1);
7087
7088 wxPyEndAllowThreads(__tstate);
7089 if (PyErr_Occurred()) SWIG_fail;
7090 }
7091 {
7092#if wxUSE_UNICODE
7093 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7094#else
7095 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7096#endif
7097 }
7098 return resultobj;
7099 fail:
7100 return NULL;
7101}
7102
7103
2f4c0a16 7104static PyObject *_wrap_FontMapper_SetConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7105 PyObject *resultobj;
7106 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7107 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
7108 PyObject * obj0 = 0 ;
7109 PyObject * obj1 = 0 ;
7110 char *kwnames[] = {
7111 (char *) "self",(char *) "config", NULL
7112 };
7113
7114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetConfig",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7117 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
7118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7119 {
7120 PyThreadState* __tstate = wxPyBeginAllowThreads();
7121 (arg1)->SetConfig(arg2);
7122
7123 wxPyEndAllowThreads(__tstate);
7124 if (PyErr_Occurred()) SWIG_fail;
7125 }
7126 Py_INCREF(Py_None); resultobj = Py_None;
7127 return resultobj;
7128 fail:
7129 return NULL;
7130}
7131
7132
2f4c0a16 7133static PyObject *_wrap_FontMapper_SetConfigPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7134 PyObject *resultobj;
7135 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7136 wxString *arg2 = 0 ;
423f194a 7137 bool temp2 = False ;
d14a1e28
RD
7138 PyObject * obj0 = 0 ;
7139 PyObject * obj1 = 0 ;
7140 char *kwnames[] = {
7141 (char *) "self",(char *) "prefix", NULL
7142 };
7143
7144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetConfigPath",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7147 {
7148 arg2 = wxString_in_helper(obj1);
7149 if (arg2 == NULL) SWIG_fail;
423f194a 7150 temp2 = True;
d14a1e28
RD
7151 }
7152 {
7153 PyThreadState* __tstate = wxPyBeginAllowThreads();
7154 (arg1)->SetConfigPath((wxString const &)*arg2);
7155
7156 wxPyEndAllowThreads(__tstate);
7157 if (PyErr_Occurred()) SWIG_fail;
7158 }
7159 Py_INCREF(Py_None); resultobj = Py_None;
7160 {
7161 if (temp2)
7162 delete arg2;
7163 }
7164 return resultobj;
7165 fail:
7166 {
7167 if (temp2)
7168 delete arg2;
7169 }
7170 return NULL;
7171}
7172
7173
2f4c0a16 7174static PyObject *_wrap_FontMapper_GetDefaultConfigPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7175 PyObject *resultobj;
7176 wxString result;
7177 char *kwnames[] = {
7178 NULL
7179 };
7180
7181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FontMapper_GetDefaultConfigPath",kwnames)) goto fail;
7182 {
7183 PyThreadState* __tstate = wxPyBeginAllowThreads();
7184 result = wxFontMapper::GetDefaultConfigPath();
7185
7186 wxPyEndAllowThreads(__tstate);
7187 if (PyErr_Occurred()) SWIG_fail;
7188 }
7189 {
7190#if wxUSE_UNICODE
7191 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7192#else
7193 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7194#endif
7195 }
7196 return resultobj;
7197 fail:
7198 return NULL;
7199}
7200
7201
2f4c0a16 7202static PyObject *_wrap_FontMapper_GetAltForEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7203 PyObject *resultobj;
7204 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7205 int arg2 ;
7206 wxString const &arg3_defvalue = wxPyEmptyString ;
7207 wxString *arg3 = (wxString *) &arg3_defvalue ;
423f194a 7208 bool arg4 = (bool) True ;
d14a1e28 7209 PyObject *result;
423f194a 7210 bool temp3 = False ;
d14a1e28 7211 PyObject * obj0 = 0 ;
8edf1c75 7212 PyObject * obj1 = 0 ;
d14a1e28
RD
7213 PyObject * obj2 = 0 ;
7214 PyObject * obj3 = 0 ;
7215 char *kwnames[] = {
7216 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7217 };
7218
8edf1c75 7219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
7220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7222 arg2 = (wxFontEncoding) SWIG_AsInt(obj1);
7223 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7224 if (obj2) {
7225 {
7226 arg3 = wxString_in_helper(obj2);
7227 if (arg3 == NULL) SWIG_fail;
423f194a 7228 temp3 = True;
d14a1e28
RD
7229 }
7230 }
7231 if (obj3) {
2f4c0a16
RD
7232 arg4 = (bool) SWIG_AsBool(obj3);
7233 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7234 }
7235 {
7236 PyThreadState* __tstate = wxPyBeginAllowThreads();
7237 result = (PyObject *)wxFontMapper_GetAltForEncoding(arg1,(wxFontEncoding )arg2,(wxString const &)*arg3,arg4);
7238
7239 wxPyEndAllowThreads(__tstate);
7240 if (PyErr_Occurred()) SWIG_fail;
7241 }
7242 resultobj = result;
7243 {
7244 if (temp3)
7245 delete arg3;
7246 }
7247 return resultobj;
7248 fail:
7249 {
7250 if (temp3)
7251 delete arg3;
7252 }
7253 return NULL;
7254}
7255
7256
2f4c0a16 7257static PyObject *_wrap_FontMapper_IsEncodingAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7258 PyObject *resultobj;
7259 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7260 int arg2 ;
7261 wxString const &arg3_defvalue = wxPyEmptyString ;
7262 wxString *arg3 = (wxString *) &arg3_defvalue ;
7263 bool result;
423f194a 7264 bool temp3 = False ;
d14a1e28 7265 PyObject * obj0 = 0 ;
8edf1c75 7266 PyObject * obj1 = 0 ;
d14a1e28
RD
7267 PyObject * obj2 = 0 ;
7268 char *kwnames[] = {
7269 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7270 };
7271
8edf1c75 7272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7275 arg2 = (wxFontEncoding) SWIG_AsInt(obj1);
7276 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7277 if (obj2) {
7278 {
7279 arg3 = wxString_in_helper(obj2);
7280 if (arg3 == NULL) SWIG_fail;
423f194a 7281 temp3 = True;
d14a1e28
RD
7282 }
7283 }
7284 {
7285 PyThreadState* __tstate = wxPyBeginAllowThreads();
7286 result = (bool)(arg1)->IsEncodingAvailable((wxFontEncoding )arg2,(wxString const &)*arg3);
7287
7288 wxPyEndAllowThreads(__tstate);
7289 if (PyErr_Occurred()) SWIG_fail;
7290 }
02a34c4c 7291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7292 {
7293 if (temp3)
7294 delete arg3;
7295 }
7296 return resultobj;
7297 fail:
7298 {
7299 if (temp3)
7300 delete arg3;
7301 }
7302 return NULL;
7303}
7304
7305
2f4c0a16 7306static PyObject *_wrap_FontMapper_SetDialogParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7307 PyObject *resultobj;
7308 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7309 wxWindow *arg2 = (wxWindow *) 0 ;
7310 PyObject * obj0 = 0 ;
7311 PyObject * obj1 = 0 ;
7312 char *kwnames[] = {
7313 (char *) "self",(char *) "parent", NULL
7314 };
7315
7316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetDialogParent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7319 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7321 {
7322 PyThreadState* __tstate = wxPyBeginAllowThreads();
7323 (arg1)->SetDialogParent(arg2);
7324
7325 wxPyEndAllowThreads(__tstate);
7326 if (PyErr_Occurred()) SWIG_fail;
7327 }
7328 Py_INCREF(Py_None); resultobj = Py_None;
7329 return resultobj;
7330 fail:
7331 return NULL;
7332}
7333
7334
2f4c0a16 7335static PyObject *_wrap_FontMapper_SetDialogTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7336 PyObject *resultobj;
7337 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7338 wxString *arg2 = 0 ;
423f194a 7339 bool temp2 = False ;
d14a1e28
RD
7340 PyObject * obj0 = 0 ;
7341 PyObject * obj1 = 0 ;
7342 char *kwnames[] = {
7343 (char *) "self",(char *) "title", NULL
7344 };
7345
7346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetDialogTitle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7349 {
7350 arg2 = wxString_in_helper(obj1);
7351 if (arg2 == NULL) SWIG_fail;
423f194a 7352 temp2 = True;
d14a1e28
RD
7353 }
7354 {
7355 PyThreadState* __tstate = wxPyBeginAllowThreads();
7356 (arg1)->SetDialogTitle((wxString const &)*arg2);
7357
7358 wxPyEndAllowThreads(__tstate);
7359 if (PyErr_Occurred()) SWIG_fail;
7360 }
7361 Py_INCREF(Py_None); resultobj = Py_None;
7362 {
7363 if (temp2)
7364 delete arg2;
7365 }
7366 return resultobj;
7367 fail:
7368 {
7369 if (temp2)
7370 delete arg2;
7371 }
7372 return NULL;
7373}
7374
7375
2f4c0a16 7376static PyObject * FontMapper_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7377 PyObject *obj;
7378 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7379 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper, obj);
7380 Py_INCREF(obj);
7381 return Py_BuildValue((char *)"");
7382}
2f4c0a16 7383static PyObject *_wrap_new_Font(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7384 PyObject *resultobj;
7385 int arg1 ;
7386 int arg2 ;
7387 int arg3 ;
7388 int arg4 ;
423f194a 7389 bool arg5 = (bool) False ;
d14a1e28
RD
7390 wxString const &arg6_defvalue = wxPyEmptyString ;
7391 wxString *arg6 = (wxString *) &arg6_defvalue ;
7392 int arg7 = (int) wxFONTENCODING_DEFAULT ;
7393 wxFont *result;
423f194a 7394 bool temp6 = False ;
8edf1c75
RD
7395 PyObject * obj0 = 0 ;
7396 PyObject * obj1 = 0 ;
7397 PyObject * obj2 = 0 ;
7398 PyObject * obj3 = 0 ;
d14a1e28
RD
7399 PyObject * obj4 = 0 ;
7400 PyObject * obj5 = 0 ;
8edf1c75 7401 PyObject * obj6 = 0 ;
d14a1e28
RD
7402 char *kwnames[] = {
7403 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7404 };
7405
8edf1c75 7406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:new_Font",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
7407 arg1 = (int) SWIG_AsInt(obj0);
7408 if (PyErr_Occurred()) SWIG_fail;
7409 arg2 = (int) SWIG_AsInt(obj1);
7410 if (PyErr_Occurred()) SWIG_fail;
7411 arg3 = (int) SWIG_AsInt(obj2);
7412 if (PyErr_Occurred()) SWIG_fail;
7413 arg4 = (int) SWIG_AsInt(obj3);
7414 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7415 if (obj4) {
2f4c0a16
RD
7416 arg5 = (bool) SWIG_AsBool(obj4);
7417 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7418 }
7419 if (obj5) {
7420 {
7421 arg6 = wxString_in_helper(obj5);
7422 if (arg6 == NULL) SWIG_fail;
423f194a 7423 temp6 = True;
d14a1e28
RD
7424 }
7425 }
8edf1c75 7426 if (obj6) {
2f4c0a16
RD
7427 arg7 = (wxFontEncoding) SWIG_AsInt(obj6);
7428 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7429 }
d14a1e28
RD
7430 {
7431 PyThreadState* __tstate = wxPyBeginAllowThreads();
7432 result = (wxFont *)new wxFont(arg1,arg2,arg3,arg4,arg5,(wxString const &)*arg6,(wxFontEncoding )arg7);
7433
7434 wxPyEndAllowThreads(__tstate);
7435 if (PyErr_Occurred()) SWIG_fail;
7436 }
2f4c0a16 7437 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
7438 {
7439 if (temp6)
7440 delete arg6;
7441 }
7442 return resultobj;
7443 fail:
7444 {
7445 if (temp6)
7446 delete arg6;
7447 }
7448 return NULL;
7449}
7450
7451
2f4c0a16 7452static PyObject *_wrap_delete_Font(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7453 PyObject *resultobj;
7454 wxFont *arg1 = (wxFont *) 0 ;
7455 PyObject * obj0 = 0 ;
7456 char *kwnames[] = {
7457 (char *) "self", NULL
7458 };
7459
7460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Font",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7463 {
7464 PyThreadState* __tstate = wxPyBeginAllowThreads();
7465 delete arg1;
7466
7467 wxPyEndAllowThreads(__tstate);
7468 if (PyErr_Occurred()) SWIG_fail;
7469 }
7470 Py_INCREF(Py_None); resultobj = Py_None;
7471 return resultobj;
7472 fail:
7473 return NULL;
7474}
7475
7476
2f4c0a16 7477static PyObject *_wrap_new_FontFromNativeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7478 PyObject *resultobj;
7479 wxNativeFontInfo *arg1 = 0 ;
7480 wxFont *result;
7481 PyObject * obj0 = 0 ;
7482 char *kwnames[] = {
7483 (char *) "info", NULL
7484 };
7485
7486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FontFromNativeInfo",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
7488 SWIG_POINTER_EXCEPTION | 0)) == -1)
7489 SWIG_fail;
d14a1e28 7490 if (arg1 == NULL) {
2f4c0a16
RD
7491 PyErr_SetString(PyExc_TypeError,"null reference");
7492 SWIG_fail;
d14a1e28
RD
7493 }
7494 {
7495 PyThreadState* __tstate = wxPyBeginAllowThreads();
7496 result = (wxFont *)new wxFont((wxNativeFontInfo const &)*arg1);
7497
7498 wxPyEndAllowThreads(__tstate);
7499 if (PyErr_Occurred()) SWIG_fail;
7500 }
2f4c0a16 7501 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
7502 return resultobj;
7503 fail:
7504 return NULL;
7505}
7506
7507
2f4c0a16 7508static PyObject *_wrap_new_FontFromNativeInfoString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7509 PyObject *resultobj;
7510 wxString *arg1 = 0 ;
7511 wxFont *result;
423f194a 7512 bool temp1 = False ;
d14a1e28
RD
7513 PyObject * obj0 = 0 ;
7514 char *kwnames[] = {
7515 (char *) "info", NULL
7516 };
7517
7518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FontFromNativeInfoString",kwnames,&obj0)) goto fail;
7519 {
7520 arg1 = wxString_in_helper(obj0);
7521 if (arg1 == NULL) SWIG_fail;
423f194a 7522 temp1 = True;
d14a1e28
RD
7523 }
7524 {
7525 PyThreadState* __tstate = wxPyBeginAllowThreads();
7526 result = (wxFont *)new_wxFont((wxString const &)*arg1);
7527
7528 wxPyEndAllowThreads(__tstate);
7529 if (PyErr_Occurred()) SWIG_fail;
7530 }
2f4c0a16 7531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
7532 {
7533 if (temp1)
7534 delete arg1;
7535 }
7536 return resultobj;
7537 fail:
7538 {
7539 if (temp1)
7540 delete arg1;
7541 }
7542 return NULL;
7543}
7544
7545
2f4c0a16 7546static PyObject *_wrap_new_Font2(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7547 PyObject *resultobj;
7548 int arg1 ;
7549 int arg2 ;
7550 int arg3 = (int) wxFONTFLAG_DEFAULT ;
7551 wxString const &arg4_defvalue = wxPyEmptyString ;
7552 wxString *arg4 = (wxString *) &arg4_defvalue ;
7553 int arg5 = (int) wxFONTENCODING_DEFAULT ;
7554 wxFont *result;
423f194a 7555 bool temp4 = False ;
8edf1c75
RD
7556 PyObject * obj0 = 0 ;
7557 PyObject * obj1 = 0 ;
7558 PyObject * obj2 = 0 ;
d14a1e28 7559 PyObject * obj3 = 0 ;
8edf1c75 7560 PyObject * obj4 = 0 ;
d14a1e28
RD
7561 char *kwnames[] = {
7562 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7563 };
7564
8edf1c75 7565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_Font2",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
7566 arg1 = (int) SWIG_AsInt(obj0);
7567 if (PyErr_Occurred()) SWIG_fail;
7568 arg2 = (wxFontFamily) SWIG_AsInt(obj1);
7569 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7570 if (obj2) {
2f4c0a16
RD
7571 arg3 = (int) SWIG_AsInt(obj2);
7572 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7573 }
d14a1e28
RD
7574 if (obj3) {
7575 {
7576 arg4 = wxString_in_helper(obj3);
7577 if (arg4 == NULL) SWIG_fail;
423f194a 7578 temp4 = True;
d14a1e28
RD
7579 }
7580 }
8edf1c75 7581 if (obj4) {
2f4c0a16
RD
7582 arg5 = (wxFontEncoding) SWIG_AsInt(obj4);
7583 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7584 }
d14a1e28
RD
7585 {
7586 PyThreadState* __tstate = wxPyBeginAllowThreads();
7587 result = (wxFont *)new_wxFont(arg1,(wxFontFamily )arg2,arg3,(wxString const &)*arg4,(wxFontEncoding )arg5);
7588
7589 wxPyEndAllowThreads(__tstate);
7590 if (PyErr_Occurred()) SWIG_fail;
7591 }
2f4c0a16 7592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
7593 {
7594 if (temp4)
7595 delete arg4;
7596 }
7597 return resultobj;
7598 fail:
7599 {
7600 if (temp4)
7601 delete arg4;
7602 }
7603 return NULL;
7604}
7605
7606
2f4c0a16 7607static PyObject *_wrap_Font_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7608 PyObject *resultobj;
7609 wxFont *arg1 = (wxFont *) 0 ;
7610 bool result;
7611 PyObject * obj0 = 0 ;
7612 char *kwnames[] = {
7613 (char *) "self", NULL
7614 };
7615
7616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_Ok",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7619 {
7620 PyThreadState* __tstate = wxPyBeginAllowThreads();
7621 result = (bool)((wxFont const *)arg1)->Ok();
7622
7623 wxPyEndAllowThreads(__tstate);
7624 if (PyErr_Occurred()) SWIG_fail;
7625 }
02a34c4c 7626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7627 return resultobj;
7628 fail:
7629 return NULL;
7630}
7631
7632
2f4c0a16 7633static PyObject *_wrap_Font___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7634 PyObject *resultobj;
7635 wxFont *arg1 = (wxFont *) 0 ;
38f59159 7636 wxFont *arg2 = (wxFont *) 0 ;
d14a1e28
RD
7637 bool result;
7638 PyObject * obj0 = 0 ;
7639 PyObject * obj1 = 0 ;
7640 char *kwnames[] = {
38f59159 7641 (char *) "self",(char *) "other", NULL
d14a1e28
RD
7642 };
7643
7644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7647 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
7648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7649 {
7650 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 7651 result = (bool)wxFont___eq__(arg1,(wxFont const *)arg2);
d14a1e28
RD
7652
7653 wxPyEndAllowThreads(__tstate);
7654 if (PyErr_Occurred()) SWIG_fail;
7655 }
02a34c4c 7656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7657 return resultobj;
7658 fail:
7659 return NULL;
7660}
7661
7662
2f4c0a16 7663static PyObject *_wrap_Font___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7664 PyObject *resultobj;
7665 wxFont *arg1 = (wxFont *) 0 ;
38f59159 7666 wxFont *arg2 = (wxFont *) 0 ;
d14a1e28
RD
7667 bool result;
7668 PyObject * obj0 = 0 ;
7669 PyObject * obj1 = 0 ;
7670 char *kwnames[] = {
38f59159 7671 (char *) "self",(char *) "other", NULL
d14a1e28
RD
7672 };
7673
7674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7677 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
7678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7679 {
7680 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 7681 result = (bool)wxFont___ne__(arg1,(wxFont const *)arg2);
d14a1e28
RD
7682
7683 wxPyEndAllowThreads(__tstate);
7684 if (PyErr_Occurred()) SWIG_fail;
7685 }
02a34c4c 7686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7687 return resultobj;
7688 fail:
7689 return NULL;
7690}
7691
7692
2f4c0a16 7693static PyObject *_wrap_Font_GetPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7694 PyObject *resultobj;
7695 wxFont *arg1 = (wxFont *) 0 ;
7696 int result;
7697 PyObject * obj0 = 0 ;
7698 char *kwnames[] = {
7699 (char *) "self", NULL
7700 };
7701
7702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetPointSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7705 {
7706 PyThreadState* __tstate = wxPyBeginAllowThreads();
7707 result = (int)((wxFont const *)arg1)->GetPointSize();
7708
7709 wxPyEndAllowThreads(__tstate);
7710 if (PyErr_Occurred()) SWIG_fail;
7711 }
2f4c0a16 7712 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7713 return resultobj;
7714 fail:
7715 return NULL;
7716}
7717
7718
2f4c0a16 7719static PyObject *_wrap_Font_GetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7720 PyObject *resultobj;
7721 wxFont *arg1 = (wxFont *) 0 ;
7722 int result;
7723 PyObject * obj0 = 0 ;
7724 char *kwnames[] = {
7725 (char *) "self", NULL
7726 };
7727
7728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetFamily",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7731 {
7732 PyThreadState* __tstate = wxPyBeginAllowThreads();
7733 result = (int)((wxFont const *)arg1)->GetFamily();
7734
7735 wxPyEndAllowThreads(__tstate);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 }
2f4c0a16 7738 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7739 return resultobj;
7740 fail:
7741 return NULL;
7742}
7743
7744
2f4c0a16 7745static PyObject *_wrap_Font_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7746 PyObject *resultobj;
7747 wxFont *arg1 = (wxFont *) 0 ;
7748 int result;
7749 PyObject * obj0 = 0 ;
7750 char *kwnames[] = {
7751 (char *) "self", NULL
7752 };
7753
7754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetStyle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7757 {
7758 PyThreadState* __tstate = wxPyBeginAllowThreads();
7759 result = (int)((wxFont const *)arg1)->GetStyle();
7760
7761 wxPyEndAllowThreads(__tstate);
7762 if (PyErr_Occurred()) SWIG_fail;
7763 }
2f4c0a16 7764 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7765 return resultobj;
7766 fail:
7767 return NULL;
7768}
7769
7770
2f4c0a16 7771static PyObject *_wrap_Font_GetWeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7772 PyObject *resultobj;
7773 wxFont *arg1 = (wxFont *) 0 ;
7774 int result;
7775 PyObject * obj0 = 0 ;
7776 char *kwnames[] = {
7777 (char *) "self", NULL
7778 };
7779
7780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetWeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7783 {
7784 PyThreadState* __tstate = wxPyBeginAllowThreads();
7785 result = (int)((wxFont const *)arg1)->GetWeight();
7786
7787 wxPyEndAllowThreads(__tstate);
7788 if (PyErr_Occurred()) SWIG_fail;
7789 }
2f4c0a16 7790 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7791 return resultobj;
7792 fail:
7793 return NULL;
7794}
7795
7796
2f4c0a16 7797static PyObject *_wrap_Font_GetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7798 PyObject *resultobj;
7799 wxFont *arg1 = (wxFont *) 0 ;
7800 bool result;
7801 PyObject * obj0 = 0 ;
7802 char *kwnames[] = {
7803 (char *) "self", NULL
7804 };
7805
7806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetUnderlined",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7809 {
7810 PyThreadState* __tstate = wxPyBeginAllowThreads();
7811 result = (bool)((wxFont const *)arg1)->GetUnderlined();
7812
7813 wxPyEndAllowThreads(__tstate);
7814 if (PyErr_Occurred()) SWIG_fail;
7815 }
02a34c4c 7816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7817 return resultobj;
7818 fail:
7819 return NULL;
7820}
7821
7822
2f4c0a16 7823static PyObject *_wrap_Font_GetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7824 PyObject *resultobj;
7825 wxFont *arg1 = (wxFont *) 0 ;
7826 wxString result;
7827 PyObject * obj0 = 0 ;
7828 char *kwnames[] = {
7829 (char *) "self", NULL
7830 };
7831
7832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetFaceName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7835 {
7836 PyThreadState* __tstate = wxPyBeginAllowThreads();
7837 result = ((wxFont const *)arg1)->GetFaceName();
7838
7839 wxPyEndAllowThreads(__tstate);
7840 if (PyErr_Occurred()) SWIG_fail;
7841 }
7842 {
7843#if wxUSE_UNICODE
7844 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7845#else
7846 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7847#endif
7848 }
7849 return resultobj;
7850 fail:
7851 return NULL;
7852}
7853
7854
2f4c0a16 7855static PyObject *_wrap_Font_GetEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7856 PyObject *resultobj;
7857 wxFont *arg1 = (wxFont *) 0 ;
7858 int result;
7859 PyObject * obj0 = 0 ;
7860 char *kwnames[] = {
7861 (char *) "self", NULL
7862 };
7863
7864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetEncoding",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7867 {
7868 PyThreadState* __tstate = wxPyBeginAllowThreads();
7869 result = (int)((wxFont const *)arg1)->GetEncoding();
7870
7871 wxPyEndAllowThreads(__tstate);
7872 if (PyErr_Occurred()) SWIG_fail;
7873 }
2f4c0a16 7874 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7875 return resultobj;
7876 fail:
7877 return NULL;
7878}
7879
7880
2f4c0a16 7881static PyObject *_wrap_Font_GetNativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7882 PyObject *resultobj;
7883 wxFont *arg1 = (wxFont *) 0 ;
7884 wxNativeFontInfo *result;
7885 PyObject * obj0 = 0 ;
7886 char *kwnames[] = {
7887 (char *) "self", NULL
7888 };
7889
7890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNativeFontInfo",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7893 {
7894 PyThreadState* __tstate = wxPyBeginAllowThreads();
7895 result = (wxNativeFontInfo *)((wxFont const *)arg1)->GetNativeFontInfo();
7896
7897 wxPyEndAllowThreads(__tstate);
7898 if (PyErr_Occurred()) SWIG_fail;
7899 }
2f4c0a16 7900 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeFontInfo, 0);
d14a1e28
RD
7901 return resultobj;
7902 fail:
7903 return NULL;
7904}
7905
7906
2f4c0a16 7907static PyObject *_wrap_Font_IsFixedWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7908 PyObject *resultobj;
7909 wxFont *arg1 = (wxFont *) 0 ;
7910 bool result;
7911 PyObject * obj0 = 0 ;
7912 char *kwnames[] = {
7913 (char *) "self", NULL
7914 };
7915
7916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_IsFixedWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7919 {
7920 PyThreadState* __tstate = wxPyBeginAllowThreads();
7921 result = (bool)((wxFont const *)arg1)->IsFixedWidth();
7922
7923 wxPyEndAllowThreads(__tstate);
7924 if (PyErr_Occurred()) SWIG_fail;
7925 }
02a34c4c 7926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7927 return resultobj;
7928 fail:
7929 return NULL;
7930}
7931
7932
2f4c0a16 7933static PyObject *_wrap_Font_GetNativeFontInfoDesc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7934 PyObject *resultobj;
7935 wxFont *arg1 = (wxFont *) 0 ;
7936 wxString result;
7937 PyObject * obj0 = 0 ;
7938 char *kwnames[] = {
7939 (char *) "self", NULL
7940 };
7941
7942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNativeFontInfoDesc",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7945 {
7946 PyThreadState* __tstate = wxPyBeginAllowThreads();
7947 result = ((wxFont const *)arg1)->GetNativeFontInfoDesc();
7948
7949 wxPyEndAllowThreads(__tstate);
7950 if (PyErr_Occurred()) SWIG_fail;
7951 }
7952 {
7953#if wxUSE_UNICODE
7954 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7955#else
7956 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7957#endif
7958 }
7959 return resultobj;
7960 fail:
7961 return NULL;
7962}
7963
7964
2f4c0a16 7965static PyObject *_wrap_Font_GetNativeFontInfoUserDesc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7966 PyObject *resultobj;
7967 wxFont *arg1 = (wxFont *) 0 ;
7968 wxString result;
7969 PyObject * obj0 = 0 ;
7970 char *kwnames[] = {
7971 (char *) "self", NULL
7972 };
7973
7974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7977 {
7978 PyThreadState* __tstate = wxPyBeginAllowThreads();
7979 result = ((wxFont const *)arg1)->GetNativeFontInfoUserDesc();
7980
7981 wxPyEndAllowThreads(__tstate);
7982 if (PyErr_Occurred()) SWIG_fail;
7983 }
7984 {
7985#if wxUSE_UNICODE
7986 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7987#else
7988 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7989#endif
7990 }
7991 return resultobj;
7992 fail:
7993 return NULL;
7994}
7995
7996
2f4c0a16 7997static PyObject *_wrap_Font_SetPointSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7998 PyObject *resultobj;
7999 wxFont *arg1 = (wxFont *) 0 ;
8000 int arg2 ;
8001 PyObject * obj0 = 0 ;
8edf1c75 8002 PyObject * obj1 = 0 ;
d14a1e28
RD
8003 char *kwnames[] = {
8004 (char *) "self",(char *) "pointSize", NULL
8005 };
8006
8edf1c75 8007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetPointSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8010 arg2 = (int) SWIG_AsInt(obj1);
8011 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8012 {
8013 PyThreadState* __tstate = wxPyBeginAllowThreads();
8014 (arg1)->SetPointSize(arg2);
8015
8016 wxPyEndAllowThreads(__tstate);
8017 if (PyErr_Occurred()) SWIG_fail;
8018 }
8019 Py_INCREF(Py_None); resultobj = Py_None;
8020 return resultobj;
8021 fail:
8022 return NULL;
8023}
8024
8025
2f4c0a16 8026static PyObject *_wrap_Font_SetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8027 PyObject *resultobj;
8028 wxFont *arg1 = (wxFont *) 0 ;
8029 int arg2 ;
8030 PyObject * obj0 = 0 ;
8edf1c75 8031 PyObject * obj1 = 0 ;
d14a1e28
RD
8032 char *kwnames[] = {
8033 (char *) "self",(char *) "family", NULL
8034 };
8035
8edf1c75 8036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetFamily",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8039 arg2 = (int) SWIG_AsInt(obj1);
8040 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8041 {
8042 PyThreadState* __tstate = wxPyBeginAllowThreads();
8043 (arg1)->SetFamily(arg2);
8044
8045 wxPyEndAllowThreads(__tstate);
8046 if (PyErr_Occurred()) SWIG_fail;
8047 }
8048 Py_INCREF(Py_None); resultobj = Py_None;
8049 return resultobj;
8050 fail:
8051 return NULL;
8052}
8053
8054
2f4c0a16 8055static PyObject *_wrap_Font_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8056 PyObject *resultobj;
8057 wxFont *arg1 = (wxFont *) 0 ;
8058 int arg2 ;
8059 PyObject * obj0 = 0 ;
8edf1c75 8060 PyObject * obj1 = 0 ;
d14a1e28
RD
8061 char *kwnames[] = {
8062 (char *) "self",(char *) "style", NULL
8063 };
8064
8edf1c75 8065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetStyle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8068 arg2 = (int) SWIG_AsInt(obj1);
8069 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8070 {
8071 PyThreadState* __tstate = wxPyBeginAllowThreads();
8072 (arg1)->SetStyle(arg2);
8073
8074 wxPyEndAllowThreads(__tstate);
8075 if (PyErr_Occurred()) SWIG_fail;
8076 }
8077 Py_INCREF(Py_None); resultobj = Py_None;
8078 return resultobj;
8079 fail:
8080 return NULL;
8081}
8082
8083
2f4c0a16 8084static PyObject *_wrap_Font_SetWeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8085 PyObject *resultobj;
8086 wxFont *arg1 = (wxFont *) 0 ;
8087 int arg2 ;
8088 PyObject * obj0 = 0 ;
8edf1c75 8089 PyObject * obj1 = 0 ;
d14a1e28
RD
8090 char *kwnames[] = {
8091 (char *) "self",(char *) "weight", NULL
8092 };
8093
8edf1c75 8094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetWeight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8097 arg2 = (int) SWIG_AsInt(obj1);
8098 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8099 {
8100 PyThreadState* __tstate = wxPyBeginAllowThreads();
8101 (arg1)->SetWeight(arg2);
8102
8103 wxPyEndAllowThreads(__tstate);
8104 if (PyErr_Occurred()) SWIG_fail;
8105 }
8106 Py_INCREF(Py_None); resultobj = Py_None;
8107 return resultobj;
8108 fail:
8109 return NULL;
8110}
8111
8112
2f4c0a16 8113static PyObject *_wrap_Font_SetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8114 PyObject *resultobj;
8115 wxFont *arg1 = (wxFont *) 0 ;
8116 wxString *arg2 = 0 ;
423f194a 8117 bool temp2 = False ;
d14a1e28
RD
8118 PyObject * obj0 = 0 ;
8119 PyObject * obj1 = 0 ;
8120 char *kwnames[] = {
8121 (char *) "self",(char *) "faceName", NULL
8122 };
8123
8124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetFaceName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8127 {
8128 arg2 = wxString_in_helper(obj1);
8129 if (arg2 == NULL) SWIG_fail;
423f194a 8130 temp2 = True;
d14a1e28
RD
8131 }
8132 {
8133 PyThreadState* __tstate = wxPyBeginAllowThreads();
8134 (arg1)->SetFaceName((wxString const &)*arg2);
8135
8136 wxPyEndAllowThreads(__tstate);
8137 if (PyErr_Occurred()) SWIG_fail;
8138 }
8139 Py_INCREF(Py_None); resultobj = Py_None;
8140 {
8141 if (temp2)
8142 delete arg2;
8143 }
8144 return resultobj;
8145 fail:
8146 {
8147 if (temp2)
8148 delete arg2;
8149 }
8150 return NULL;
8151}
8152
8153
2f4c0a16 8154static PyObject *_wrap_Font_SetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8155 PyObject *resultobj;
8156 wxFont *arg1 = (wxFont *) 0 ;
8157 bool arg2 ;
8158 PyObject * obj0 = 0 ;
8159 PyObject * obj1 = 0 ;
8160 char *kwnames[] = {
8161 (char *) "self",(char *) "underlined", NULL
8162 };
8163
8164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetUnderlined",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8167 arg2 = (bool) SWIG_AsBool(obj1);
8168 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8169 {
8170 PyThreadState* __tstate = wxPyBeginAllowThreads();
8171 (arg1)->SetUnderlined(arg2);
8172
8173 wxPyEndAllowThreads(__tstate);
8174 if (PyErr_Occurred()) SWIG_fail;
8175 }
8176 Py_INCREF(Py_None); resultobj = Py_None;
8177 return resultobj;
8178 fail:
8179 return NULL;
8180}
8181
8182
2f4c0a16 8183static PyObject *_wrap_Font_SetEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8184 PyObject *resultobj;
8185 wxFont *arg1 = (wxFont *) 0 ;
8186 int arg2 ;
8187 PyObject * obj0 = 0 ;
8edf1c75 8188 PyObject * obj1 = 0 ;
d14a1e28
RD
8189 char *kwnames[] = {
8190 (char *) "self",(char *) "encoding", NULL
8191 };
8192
8edf1c75 8193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetEncoding",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8196 arg2 = (wxFontEncoding) SWIG_AsInt(obj1);
8197 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8198 {
8199 PyThreadState* __tstate = wxPyBeginAllowThreads();
8200 (arg1)->SetEncoding((wxFontEncoding )arg2);
8201
8202 wxPyEndAllowThreads(__tstate);
8203 if (PyErr_Occurred()) SWIG_fail;
8204 }
8205 Py_INCREF(Py_None); resultobj = Py_None;
8206 return resultobj;
8207 fail:
8208 return NULL;
8209}
8210
8211
2f4c0a16 8212static PyObject *_wrap_Font_SetNativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8213 PyObject *resultobj;
8214 wxFont *arg1 = (wxFont *) 0 ;
8215 wxNativeFontInfo *arg2 = 0 ;
8216 PyObject * obj0 = 0 ;
8217 PyObject * obj1 = 0 ;
8218 char *kwnames[] = {
8219 (char *) "self",(char *) "info", NULL
8220 };
8221
8222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetNativeFontInfo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8225 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxNativeFontInfo,
8226 SWIG_POINTER_EXCEPTION | 0)) == -1)
8227 SWIG_fail;
d14a1e28 8228 if (arg2 == NULL) {
2f4c0a16
RD
8229 PyErr_SetString(PyExc_TypeError,"null reference");
8230 SWIG_fail;
d14a1e28
RD
8231 }
8232 {
8233 PyThreadState* __tstate = wxPyBeginAllowThreads();
8234 (arg1)->SetNativeFontInfo((wxNativeFontInfo const &)*arg2);
8235
8236 wxPyEndAllowThreads(__tstate);
8237 if (PyErr_Occurred()) SWIG_fail;
8238 }
8239 Py_INCREF(Py_None); resultobj = Py_None;
8240 return resultobj;
8241 fail:
8242 return NULL;
8243}
8244
8245
2f4c0a16 8246static PyObject *_wrap_Font_SetNativeFontInfoFromString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8247 PyObject *resultobj;
8248 wxFont *arg1 = (wxFont *) 0 ;
8249 wxString *arg2 = 0 ;
423f194a 8250 bool temp2 = False ;
d14a1e28
RD
8251 PyObject * obj0 = 0 ;
8252 PyObject * obj1 = 0 ;
8253 char *kwnames[] = {
8254 (char *) "self",(char *) "info", NULL
8255 };
8256
8257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8260 {
8261 arg2 = wxString_in_helper(obj1);
8262 if (arg2 == NULL) SWIG_fail;
423f194a 8263 temp2 = True;
d14a1e28
RD
8264 }
8265 {
8266 PyThreadState* __tstate = wxPyBeginAllowThreads();
8267 (arg1)->SetNativeFontInfo((wxString const &)*arg2);
8268
8269 wxPyEndAllowThreads(__tstate);
8270 if (PyErr_Occurred()) SWIG_fail;
8271 }
8272 Py_INCREF(Py_None); resultobj = Py_None;
8273 {
8274 if (temp2)
8275 delete arg2;
8276 }
8277 return resultobj;
8278 fail:
8279 {
8280 if (temp2)
8281 delete arg2;
8282 }
8283 return NULL;
8284}
8285
8286
2f4c0a16 8287static PyObject *_wrap_Font_SetNativeFontInfoUserDesc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8288 PyObject *resultobj;
8289 wxFont *arg1 = (wxFont *) 0 ;
8290 wxString *arg2 = 0 ;
423f194a 8291 bool temp2 = False ;
d14a1e28
RD
8292 PyObject * obj0 = 0 ;
8293 PyObject * obj1 = 0 ;
8294 char *kwnames[] = {
8295 (char *) "self",(char *) "info", NULL
8296 };
8297
8298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8301 {
8302 arg2 = wxString_in_helper(obj1);
8303 if (arg2 == NULL) SWIG_fail;
423f194a 8304 temp2 = True;
d14a1e28
RD
8305 }
8306 {
8307 PyThreadState* __tstate = wxPyBeginAllowThreads();
8308 (arg1)->SetNativeFontInfoUserDesc((wxString const &)*arg2);
8309
8310 wxPyEndAllowThreads(__tstate);
8311 if (PyErr_Occurred()) SWIG_fail;
8312 }
8313 Py_INCREF(Py_None); resultobj = Py_None;
8314 {
8315 if (temp2)
8316 delete arg2;
8317 }
8318 return resultobj;
8319 fail:
8320 {
8321 if (temp2)
8322 delete arg2;
8323 }
8324 return NULL;
8325}
8326
8327
2f4c0a16 8328static PyObject *_wrap_Font_GetFamilyString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8329 PyObject *resultobj;
8330 wxFont *arg1 = (wxFont *) 0 ;
8331 wxString result;
8332 PyObject * obj0 = 0 ;
8333 char *kwnames[] = {
8334 (char *) "self", NULL
8335 };
8336
8337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetFamilyString",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8340 {
8341 PyThreadState* __tstate = wxPyBeginAllowThreads();
8342 result = ((wxFont const *)arg1)->GetFamilyString();
8343
8344 wxPyEndAllowThreads(__tstate);
8345 if (PyErr_Occurred()) SWIG_fail;
8346 }
8347 {
8348#if wxUSE_UNICODE
8349 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8350#else
8351 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8352#endif
8353 }
8354 return resultobj;
8355 fail:
8356 return NULL;
8357}
8358
8359
2f4c0a16 8360static PyObject *_wrap_Font_GetStyleString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8361 PyObject *resultobj;
8362 wxFont *arg1 = (wxFont *) 0 ;
8363 wxString result;
8364 PyObject * obj0 = 0 ;
8365 char *kwnames[] = {
8366 (char *) "self", NULL
8367 };
8368
8369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetStyleString",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8372 {
8373 PyThreadState* __tstate = wxPyBeginAllowThreads();
8374 result = ((wxFont const *)arg1)->GetStyleString();
8375
8376 wxPyEndAllowThreads(__tstate);
8377 if (PyErr_Occurred()) SWIG_fail;
8378 }
8379 {
8380#if wxUSE_UNICODE
8381 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8382#else
8383 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8384#endif
8385 }
8386 return resultobj;
8387 fail:
8388 return NULL;
8389}
8390
8391
2f4c0a16 8392static PyObject *_wrap_Font_GetWeightString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8393 PyObject *resultobj;
8394 wxFont *arg1 = (wxFont *) 0 ;
8395 wxString result;
8396 PyObject * obj0 = 0 ;
8397 char *kwnames[] = {
8398 (char *) "self", NULL
8399 };
8400
8401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetWeightString",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8404 {
8405 PyThreadState* __tstate = wxPyBeginAllowThreads();
8406 result = ((wxFont const *)arg1)->GetWeightString();
8407
8408 wxPyEndAllowThreads(__tstate);
8409 if (PyErr_Occurred()) SWIG_fail;
8410 }
8411 {
8412#if wxUSE_UNICODE
8413 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8414#else
8415 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8416#endif
8417 }
8418 return resultobj;
8419 fail:
8420 return NULL;
8421}
8422
8423
2f4c0a16 8424static PyObject *_wrap_Font_SetNoAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8425 PyObject *resultobj;
8426 wxFont *arg1 = (wxFont *) 0 ;
423f194a 8427 bool arg2 = (bool) True ;
d14a1e28
RD
8428 PyObject * obj0 = 0 ;
8429 PyObject * obj1 = 0 ;
8430 char *kwnames[] = {
8431 (char *) "self",(char *) "no", NULL
8432 };
8433
8434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Font_SetNoAntiAliasing",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8437 if (obj1) {
2f4c0a16
RD
8438 arg2 = (bool) SWIG_AsBool(obj1);
8439 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8440 }
8441 {
8442 PyThreadState* __tstate = wxPyBeginAllowThreads();
8443 (arg1)->SetNoAntiAliasing(arg2);
8444
8445 wxPyEndAllowThreads(__tstate);
8446 if (PyErr_Occurred()) SWIG_fail;
8447 }
8448 Py_INCREF(Py_None); resultobj = Py_None;
8449 return resultobj;
8450 fail:
8451 return NULL;
8452}
8453
8454
2f4c0a16 8455static PyObject *_wrap_Font_GetNoAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8456 PyObject *resultobj;
8457 wxFont *arg1 = (wxFont *) 0 ;
8458 bool result;
8459 PyObject * obj0 = 0 ;
8460 char *kwnames[] = {
8461 (char *) "self", NULL
8462 };
8463
8464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNoAntiAliasing",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8467 {
8468 PyThreadState* __tstate = wxPyBeginAllowThreads();
8469 result = (bool)(arg1)->GetNoAntiAliasing();
8470
8471 wxPyEndAllowThreads(__tstate);
8472 if (PyErr_Occurred()) SWIG_fail;
8473 }
02a34c4c 8474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8475 return resultobj;
8476 fail:
8477 return NULL;
8478}
8479
8480
2f4c0a16 8481static PyObject *_wrap_Font_GetDefaultEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8482 PyObject *resultobj;
8483 int result;
8484 char *kwnames[] = {
8485 NULL
8486 };
8487
8488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Font_GetDefaultEncoding",kwnames)) goto fail;
8489 {
8490 PyThreadState* __tstate = wxPyBeginAllowThreads();
8491 result = (int)wxFont::GetDefaultEncoding();
8492
8493 wxPyEndAllowThreads(__tstate);
8494 if (PyErr_Occurred()) SWIG_fail;
8495 }
2f4c0a16 8496 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8497 return resultobj;
8498 fail:
8499 return NULL;
8500}
8501
8502
2f4c0a16 8503static PyObject *_wrap_Font_SetDefaultEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8504 PyObject *resultobj;
8505 int arg1 ;
8edf1c75 8506 PyObject * obj0 = 0 ;
d14a1e28
RD
8507 char *kwnames[] = {
8508 (char *) "encoding", NULL
8509 };
8510
8edf1c75 8511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_SetDefaultEncoding",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8512 arg1 = (wxFontEncoding) SWIG_AsInt(obj0);
8513 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8514 {
8515 PyThreadState* __tstate = wxPyBeginAllowThreads();
8516 wxFont::SetDefaultEncoding((wxFontEncoding )arg1);
8517
8518 wxPyEndAllowThreads(__tstate);
8519 if (PyErr_Occurred()) SWIG_fail;
8520 }
8521 Py_INCREF(Py_None); resultobj = Py_None;
8522 return resultobj;
8523 fail:
8524 return NULL;
8525}
8526
8527
2f4c0a16 8528static PyObject * Font_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8529 PyObject *obj;
8530 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8531 SWIG_TypeClientData(SWIGTYPE_p_wxFont, obj);
8532 Py_INCREF(obj);
8533 return Py_BuildValue((char *)"");
8534}
2f4c0a16 8535static PyObject *_wrap_new_FontEnumerator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8536 PyObject *resultobj;
8537 wxPyFontEnumerator *result;
8538 char *kwnames[] = {
8539 NULL
8540 };
8541
8542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontEnumerator",kwnames)) goto fail;
8543 {
8544 PyThreadState* __tstate = wxPyBeginAllowThreads();
8545 result = (wxPyFontEnumerator *)new wxPyFontEnumerator();
8546
8547 wxPyEndAllowThreads(__tstate);
8548 if (PyErr_Occurred()) SWIG_fail;
8549 }
2f4c0a16 8550 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFontEnumerator, 1);
d14a1e28
RD
8551 return resultobj;
8552 fail:
8553 return NULL;
8554}
8555
8556
2f4c0a16 8557static PyObject *_wrap_delete_FontEnumerator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8558 PyObject *resultobj;
8559 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
8560 PyObject * obj0 = 0 ;
8561 char *kwnames[] = {
8562 (char *) "self", NULL
8563 };
8564
8565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontEnumerator",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
8567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8568 {
8569 PyThreadState* __tstate = wxPyBeginAllowThreads();
8570 delete arg1;
8571
8572 wxPyEndAllowThreads(__tstate);
8573 if (PyErr_Occurred()) SWIG_fail;
8574 }
8575 Py_INCREF(Py_None); resultobj = Py_None;
8576 return resultobj;
8577 fail:
8578 return NULL;
8579}
8580
8581
2f4c0a16 8582static PyObject *_wrap_FontEnumerator__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8583 PyObject *resultobj;
8584 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
8585 PyObject *arg2 = (PyObject *) 0 ;
8586 PyObject *arg3 = (PyObject *) 0 ;
8587 bool arg4 ;
8588 PyObject * obj0 = 0 ;
8589 PyObject * obj1 = 0 ;
8590 PyObject * obj2 = 0 ;
8591 PyObject * obj3 = 0 ;
8592 char *kwnames[] = {
8593 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8594 };
8595
8596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
8597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
8598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8599 arg2 = obj1;
8600 arg3 = obj2;
2f4c0a16
RD
8601 arg4 = (bool) SWIG_AsBool(obj3);
8602 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8603 {
8604 PyThreadState* __tstate = wxPyBeginAllowThreads();
8605 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
8606
8607 wxPyEndAllowThreads(__tstate);
8608 if (PyErr_Occurred()) SWIG_fail;
8609 }
8610 Py_INCREF(Py_None); resultobj = Py_None;
8611 return resultobj;
8612 fail:
8613 return NULL;
8614}
8615
8616
2f4c0a16 8617static PyObject *_wrap_FontEnumerator_EnumerateFacenames(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8618 PyObject *resultobj;
8619 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
8620 int arg2 = (int) wxFONTENCODING_SYSTEM ;
423f194a 8621 bool arg3 = (bool) False ;
d14a1e28
RD
8622 bool result;
8623 PyObject * obj0 = 0 ;
8edf1c75 8624 PyObject * obj1 = 0 ;
d14a1e28
RD
8625 PyObject * obj2 = 0 ;
8626 char *kwnames[] = {
8627 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8628 };
8629
8edf1c75 8630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
8632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 8633 if (obj1) {
2f4c0a16
RD
8634 arg2 = (wxFontEncoding) SWIG_AsInt(obj1);
8635 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8636 }
d14a1e28 8637 if (obj2) {
2f4c0a16
RD
8638 arg3 = (bool) SWIG_AsBool(obj2);
8639 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8640 }
8641 {
8642 PyThreadState* __tstate = wxPyBeginAllowThreads();
8643 result = (bool)(arg1)->EnumerateFacenames((wxFontEncoding )arg2,arg3);
8644
8645 wxPyEndAllowThreads(__tstate);
8646 if (PyErr_Occurred()) SWIG_fail;
8647 }
02a34c4c 8648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8649 return resultobj;
8650 fail:
8651 return NULL;
8652}
8653
8654
2f4c0a16 8655static PyObject *_wrap_FontEnumerator_EnumerateEncodings(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8656 PyObject *resultobj;
8657 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
8658 wxString const &arg2_defvalue = wxPyEmptyString ;
8659 wxString *arg2 = (wxString *) &arg2_defvalue ;
8660 bool result;
423f194a 8661 bool temp2 = False ;
d14a1e28
RD
8662 PyObject * obj0 = 0 ;
8663 PyObject * obj1 = 0 ;
8664 char *kwnames[] = {
8665 (char *) "self",(char *) "facename", NULL
8666 };
8667
8668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
8670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8671 if (obj1) {
8672 {
8673 arg2 = wxString_in_helper(obj1);
8674 if (arg2 == NULL) SWIG_fail;
423f194a 8675 temp2 = True;
d14a1e28
RD
8676 }
8677 }
8678 {
8679 PyThreadState* __tstate = wxPyBeginAllowThreads();
8680 result = (bool)(arg1)->EnumerateEncodings((wxString const &)*arg2);
8681
8682 wxPyEndAllowThreads(__tstate);
8683 if (PyErr_Occurred()) SWIG_fail;
8684 }
02a34c4c 8685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8686 {
8687 if (temp2)
8688 delete arg2;
8689 }
8690 return resultobj;
8691 fail:
8692 {
8693 if (temp2)
8694 delete arg2;
8695 }
8696 return NULL;
8697}
8698
8699
2f4c0a16 8700static PyObject *_wrap_FontEnumerator_GetEncodings(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8701 PyObject *resultobj;
8702 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
8703 PyObject *result;
8704 PyObject * obj0 = 0 ;
8705 char *kwnames[] = {
8706 (char *) "self", NULL
8707 };
8708
8709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontEnumerator_GetEncodings",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
8711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8712 {
8713 PyThreadState* __tstate = wxPyBeginAllowThreads();
8714 result = (PyObject *)wxPyFontEnumerator_GetEncodings(arg1);
8715
8716 wxPyEndAllowThreads(__tstate);
8717 if (PyErr_Occurred()) SWIG_fail;
8718 }
8719 resultobj = result;
8720 return resultobj;
8721 fail:
8722 return NULL;
8723}
8724
8725
2f4c0a16 8726static PyObject *_wrap_FontEnumerator_GetFacenames(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8727 PyObject *resultobj;
8728 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
8729 PyObject *result;
8730 PyObject * obj0 = 0 ;
8731 char *kwnames[] = {
8732 (char *) "self", NULL
8733 };
8734
8735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontEnumerator_GetFacenames",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
8737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8738 {
8739 PyThreadState* __tstate = wxPyBeginAllowThreads();
8740 result = (PyObject *)wxPyFontEnumerator_GetFacenames(arg1);
8741
8742 wxPyEndAllowThreads(__tstate);
8743 if (PyErr_Occurred()) SWIG_fail;
8744 }
8745 resultobj = result;
8746 return resultobj;
8747 fail:
8748 return NULL;
8749}
8750
8751
2f4c0a16 8752static PyObject * FontEnumerator_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8753 PyObject *obj;
8754 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8755 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator, obj);
8756 Py_INCREF(obj);
8757 return Py_BuildValue((char *)"");
8758}
2f4c0a16 8759static PyObject *_wrap_LanguageInfo_Language_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8760 PyObject *resultobj;
8761 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
8762 int arg2 ;
8763 PyObject * obj0 = 0 ;
8edf1c75 8764 PyObject * obj1 = 0 ;
d14a1e28
RD
8765 char *kwnames[] = {
8766 (char *) "self",(char *) "Language", NULL
8767 };
8768
8edf1c75 8769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LanguageInfo_Language_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
8771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8772 arg2 = (int) SWIG_AsInt(obj1);
8773 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8774 if (arg1) (arg1)->Language = arg2;
8775
8776 Py_INCREF(Py_None); resultobj = Py_None;
8777 return resultobj;
8778 fail:
8779 return NULL;
8780}
8781
8782
2f4c0a16 8783static PyObject *_wrap_LanguageInfo_Language_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8784 PyObject *resultobj;
8785 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
8786 int result;
8787 PyObject * obj0 = 0 ;
8788 char *kwnames[] = {
8789 (char *) "self", NULL
8790 };
8791
8792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LanguageInfo_Language_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
8794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8795 result = (int) ((arg1)->Language);
8796
2f4c0a16 8797 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8798 return resultobj;
8799 fail:
8800 return NULL;
8801}
8802
8803
2f4c0a16 8804static PyObject *_wrap_LanguageInfo_CanonicalName_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8805 PyObject *resultobj;
8806 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
cbd72d4f 8807 wxString *arg2 = (wxString *) 0 ;
dae0faa6 8808 bool temp2 = False ;
d14a1e28
RD
8809 PyObject * obj0 = 0 ;
8810 PyObject * obj1 = 0 ;
8811 char *kwnames[] = {
8812 (char *) "self",(char *) "CanonicalName", NULL
8813 };
8814
8815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
8817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
dae0faa6
RD
8818 {
8819 arg2 = wxString_in_helper(obj1);
8820 if (arg2 == NULL) SWIG_fail;
8821 temp2 = True;
8822 }
cbd72d4f 8823 if (arg1) (arg1)->CanonicalName = *arg2;
d14a1e28
RD
8824
8825 Py_INCREF(Py_None); resultobj = Py_None;
dae0faa6
RD
8826 {
8827 if (temp2)
8828 delete arg2;
8829 }
d14a1e28
RD
8830 return resultobj;
8831 fail:
dae0faa6
RD
8832 {
8833 if (temp2)
8834 delete arg2;
8835 }
d14a1e28
RD
8836 return NULL;
8837}
8838
8839
2f4c0a16 8840static PyObject *_wrap_LanguageInfo_CanonicalName_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8841 PyObject *resultobj;
8842 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
cbd72d4f 8843 wxString *result;
d14a1e28
RD
8844 PyObject * obj0 = 0 ;
8845 char *kwnames[] = {
8846 (char *) "self", NULL
8847 };
8848
8849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LanguageInfo_CanonicalName_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
8851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
cbd72d4f 8852 result = (wxString *)& ((arg1)->CanonicalName);
d14a1e28
RD
8853
8854 {
8855#if wxUSE_UNICODE
cbd72d4f 8856 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 8857#else
cbd72d4f 8858 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
8859#endif
8860 }
8861 return resultobj;
8862 fail:
8863 return NULL;
8864}
8865
8866
2f4c0a16 8867static PyObject *_wrap_LanguageInfo_Description_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8868 PyObject *resultobj;
8869 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
cbd72d4f 8870 wxString *arg2 = (wxString *) 0 ;
dae0faa6 8871 bool temp2 = False ;
d14a1e28
RD
8872 PyObject * obj0 = 0 ;
8873 PyObject * obj1 = 0 ;
8874 char *kwnames[] = {
8875 (char *) "self",(char *) "Description", NULL
8876 };
8877
8878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LanguageInfo_Description_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
8880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
dae0faa6
RD
8881 {
8882 arg2 = wxString_in_helper(obj1);
8883 if (arg2 == NULL) SWIG_fail;
8884 temp2 = True;
8885 }
cbd72d4f 8886 if (arg1) (arg1)->Description = *arg2;
d14a1e28
RD
8887
8888 Py_INCREF(Py_None); resultobj = Py_None;
dae0faa6
RD
8889 {
8890 if (temp2)
8891 delete arg2;
8892 }
d14a1e28
RD
8893 return resultobj;
8894 fail:
dae0faa6
RD
8895 {
8896 if (temp2)
8897 delete arg2;
8898 }
d14a1e28
RD
8899 return NULL;
8900}
8901
8902
2f4c0a16 8903static PyObject *_wrap_LanguageInfo_Description_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8904 PyObject *resultobj;
8905 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
cbd72d4f 8906 wxString *result;
d14a1e28
RD
8907 PyObject * obj0 = 0 ;
8908 char *kwnames[] = {
8909 (char *) "self", NULL
8910 };
8911
8912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LanguageInfo_Description_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
8914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
cbd72d4f 8915 result = (wxString *)& ((arg1)->Description);
d14a1e28
RD
8916
8917 {
8918#if wxUSE_UNICODE
cbd72d4f 8919 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 8920#else
cbd72d4f 8921 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
8922#endif
8923 }
8924 return resultobj;
8925 fail:
8926 return NULL;
8927}
8928
8929
2f4c0a16 8930static PyObject * LanguageInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8931 PyObject *obj;
8932 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8933 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo, obj);
8934 Py_INCREF(obj);
8935 return Py_BuildValue((char *)"");
8936}
2f4c0a16 8937static PyObject *_wrap_new_Locale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8938 PyObject *resultobj;
8939 int arg1 = (int) wxLANGUAGE_DEFAULT ;
8940 int arg2 = (int) wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING ;
8941 wxLocale *result;
8edf1c75
RD
8942 PyObject * obj0 = 0 ;
8943 PyObject * obj1 = 0 ;
d14a1e28
RD
8944 char *kwnames[] = {
8945 (char *) "language",(char *) "flags", NULL
8946 };
8947
8edf1c75
RD
8948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Locale",kwnames,&obj0,&obj1)) goto fail;
8949 if (obj0) {
2f4c0a16
RD
8950 arg1 = (int) SWIG_AsInt(obj0);
8951 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8952 }
8953 if (obj1) {
2f4c0a16
RD
8954 arg2 = (int) SWIG_AsInt(obj1);
8955 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8956 }
d14a1e28
RD
8957 {
8958 PyThreadState* __tstate = wxPyBeginAllowThreads();
8959 result = (wxLocale *)new wxLocale(arg1,arg2);
8960
8961 wxPyEndAllowThreads(__tstate);
8962 if (PyErr_Occurred()) SWIG_fail;
8963 }
2f4c0a16 8964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLocale, 1);
d14a1e28
RD
8965 return resultobj;
8966 fail:
8967 return NULL;
8968}
8969
8970
2f4c0a16 8971static PyObject *_wrap_delete_Locale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8972 PyObject *resultobj;
8973 wxLocale *arg1 = (wxLocale *) 0 ;
8974 PyObject * obj0 = 0 ;
8975 char *kwnames[] = {
8976 (char *) "self", NULL
8977 };
8978
8979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Locale",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
8981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8982 {
8983 PyThreadState* __tstate = wxPyBeginAllowThreads();
8984 delete arg1;
8985
8986 wxPyEndAllowThreads(__tstate);
8987 if (PyErr_Occurred()) SWIG_fail;
8988 }
8989 Py_INCREF(Py_None); resultobj = Py_None;
8990 return resultobj;
8991 fail:
8992 return NULL;
8993}
8994
8995
2f4c0a16 8996static PyObject *_wrap_Locale_Init1(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8997 PyObject *resultobj;
8998 wxLocale *arg1 = (wxLocale *) 0 ;
8999 wxString *arg2 = 0 ;
9000 wxString const &arg3_defvalue = wxPyEmptyString ;
9001 wxString *arg3 = (wxString *) &arg3_defvalue ;
9002 wxString const &arg4_defvalue = wxPyEmptyString ;
9003 wxString *arg4 = (wxString *) &arg4_defvalue ;
423f194a
RD
9004 bool arg5 = (bool) True ;
9005 bool arg6 = (bool) False ;
d14a1e28 9006 bool result;
423f194a
RD
9007 bool temp2 = False ;
9008 bool temp3 = False ;
9009 bool temp4 = False ;
d14a1e28
RD
9010 PyObject * obj0 = 0 ;
9011 PyObject * obj1 = 0 ;
9012 PyObject * obj2 = 0 ;
9013 PyObject * obj3 = 0 ;
9014 PyObject * obj4 = 0 ;
9015 PyObject * obj5 = 0 ;
9016 char *kwnames[] = {
9017 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9018 };
9019
9020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Locale_Init1",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
9021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9023 {
9024 arg2 = wxString_in_helper(obj1);
9025 if (arg2 == NULL) SWIG_fail;
423f194a 9026 temp2 = True;
d14a1e28
RD
9027 }
9028 if (obj2) {
9029 {
9030 arg3 = wxString_in_helper(obj2);
9031 if (arg3 == NULL) SWIG_fail;
423f194a 9032 temp3 = True;
d14a1e28
RD
9033 }
9034 }
9035 if (obj3) {
9036 {
9037 arg4 = wxString_in_helper(obj3);
9038 if (arg4 == NULL) SWIG_fail;
423f194a 9039 temp4 = True;
d14a1e28
RD
9040 }
9041 }
9042 if (obj4) {
2f4c0a16
RD
9043 arg5 = (bool) SWIG_AsBool(obj4);
9044 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9045 }
9046 if (obj5) {
2f4c0a16
RD
9047 arg6 = (bool) SWIG_AsBool(obj5);
9048 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9049 }
9050 {
9051 PyThreadState* __tstate = wxPyBeginAllowThreads();
9052 result = (bool)(arg1)->Init((wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6);
9053
9054 wxPyEndAllowThreads(__tstate);
9055 if (PyErr_Occurred()) SWIG_fail;
9056 }
02a34c4c 9057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9058 {
9059 if (temp2)
9060 delete arg2;
9061 }
9062 {
9063 if (temp3)
9064 delete arg3;
9065 }
9066 {
9067 if (temp4)
9068 delete arg4;
9069 }
9070 return resultobj;
9071 fail:
9072 {
9073 if (temp2)
9074 delete arg2;
9075 }
9076 {
9077 if (temp3)
9078 delete arg3;
9079 }
9080 {
9081 if (temp4)
9082 delete arg4;
9083 }
9084 return NULL;
9085}
9086
9087
2f4c0a16 9088static PyObject *_wrap_Locale_Init2(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9089 PyObject *resultobj;
9090 wxLocale *arg1 = (wxLocale *) 0 ;
9091 int arg2 = (int) wxLANGUAGE_DEFAULT ;
9092 int arg3 = (int) wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING ;
9093 bool result;
9094 PyObject * obj0 = 0 ;
8edf1c75
RD
9095 PyObject * obj1 = 0 ;
9096 PyObject * obj2 = 0 ;
d14a1e28
RD
9097 char *kwnames[] = {
9098 (char *) "self",(char *) "language",(char *) "flags", NULL
9099 };
9100
8edf1c75 9101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Locale_Init2",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 9104 if (obj1) {
2f4c0a16
RD
9105 arg2 = (int) SWIG_AsInt(obj1);
9106 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
9107 }
9108 if (obj2) {
2f4c0a16
RD
9109 arg3 = (int) SWIG_AsInt(obj2);
9110 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9111 }
d14a1e28
RD
9112 {
9113 PyThreadState* __tstate = wxPyBeginAllowThreads();
9114 result = (bool)(arg1)->Init(arg2,arg3);
9115
9116 wxPyEndAllowThreads(__tstate);
9117 if (PyErr_Occurred()) SWIG_fail;
9118 }
02a34c4c 9119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9120 return resultobj;
9121 fail:
9122 return NULL;
9123}
9124
9125
2f4c0a16 9126static PyObject *_wrap_Locale_GetSystemLanguage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9127 PyObject *resultobj;
9128 int result;
9129 char *kwnames[] = {
9130 NULL
9131 };
9132
9133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Locale_GetSystemLanguage",kwnames)) goto fail;
9134 {
9135 PyThreadState* __tstate = wxPyBeginAllowThreads();
9136 result = (int)wxLocale::GetSystemLanguage();
9137
9138 wxPyEndAllowThreads(__tstate);
9139 if (PyErr_Occurred()) SWIG_fail;
9140 }
2f4c0a16 9141 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9142 return resultobj;
9143 fail:
9144 return NULL;
9145}
9146
9147
2f4c0a16 9148static PyObject *_wrap_Locale_GetSystemEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9149 PyObject *resultobj;
9150 int result;
9151 char *kwnames[] = {
9152 NULL
9153 };
9154
9155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Locale_GetSystemEncoding",kwnames)) goto fail;
9156 {
9157 PyThreadState* __tstate = wxPyBeginAllowThreads();
9158 result = (int)wxLocale::GetSystemEncoding();
9159
9160 wxPyEndAllowThreads(__tstate);
9161 if (PyErr_Occurred()) SWIG_fail;
9162 }
2f4c0a16 9163 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9164 return resultobj;
9165 fail:
9166 return NULL;
9167}
9168
9169
2f4c0a16 9170static PyObject *_wrap_Locale_GetSystemEncodingName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9171 PyObject *resultobj;
9172 wxString result;
9173 char *kwnames[] = {
9174 NULL
9175 };
9176
9177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Locale_GetSystemEncodingName",kwnames)) goto fail;
9178 {
9179 PyThreadState* __tstate = wxPyBeginAllowThreads();
9180 result = wxLocale::GetSystemEncodingName();
9181
9182 wxPyEndAllowThreads(__tstate);
9183 if (PyErr_Occurred()) SWIG_fail;
9184 }
9185 {
9186#if wxUSE_UNICODE
9187 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9188#else
9189 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9190#endif
9191 }
9192 return resultobj;
9193 fail:
9194 return NULL;
9195}
9196
9197
2f4c0a16 9198static PyObject *_wrap_Locale_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9199 PyObject *resultobj;
9200 wxLocale *arg1 = (wxLocale *) 0 ;
9201 bool result;
9202 PyObject * obj0 = 0 ;
9203 char *kwnames[] = {
9204 (char *) "self", NULL
9205 };
9206
9207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_IsOk",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9210 {
9211 PyThreadState* __tstate = wxPyBeginAllowThreads();
9212 result = (bool)((wxLocale const *)arg1)->IsOk();
9213
9214 wxPyEndAllowThreads(__tstate);
9215 if (PyErr_Occurred()) SWIG_fail;
9216 }
02a34c4c 9217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9218 return resultobj;
9219 fail:
9220 return NULL;
9221}
9222
9223
2f4c0a16 9224static PyObject *_wrap_Locale_GetLocale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9225 PyObject *resultobj;
9226 wxLocale *arg1 = (wxLocale *) 0 ;
9227 wxString result;
9228 PyObject * obj0 = 0 ;
9229 char *kwnames[] = {
9230 (char *) "self", NULL
9231 };
9232
9233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLocale",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9236 {
9237 PyThreadState* __tstate = wxPyBeginAllowThreads();
9238 result = ((wxLocale const *)arg1)->GetLocale();
9239
9240 wxPyEndAllowThreads(__tstate);
9241 if (PyErr_Occurred()) SWIG_fail;
9242 }
9243 {
9244#if wxUSE_UNICODE
9245 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9246#else
9247 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9248#endif
9249 }
9250 return resultobj;
9251 fail:
9252 return NULL;
9253}
9254
9255
2f4c0a16 9256static PyObject *_wrap_Locale_GetLanguage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9257 PyObject *resultobj;
9258 wxLocale *arg1 = (wxLocale *) 0 ;
9259 int result;
9260 PyObject * obj0 = 0 ;
9261 char *kwnames[] = {
9262 (char *) "self", NULL
9263 };
9264
9265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLanguage",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9268 {
9269 PyThreadState* __tstate = wxPyBeginAllowThreads();
9270 result = (int)((wxLocale const *)arg1)->GetLanguage();
9271
9272 wxPyEndAllowThreads(__tstate);
9273 if (PyErr_Occurred()) SWIG_fail;
9274 }
2f4c0a16 9275 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9276 return resultobj;
9277 fail:
9278 return NULL;
9279}
9280
9281
2f4c0a16 9282static PyObject *_wrap_Locale_GetSysName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9283 PyObject *resultobj;
9284 wxLocale *arg1 = (wxLocale *) 0 ;
9285 wxString result;
9286 PyObject * obj0 = 0 ;
9287 char *kwnames[] = {
9288 (char *) "self", NULL
9289 };
9290
9291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetSysName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9294 {
9295 PyThreadState* __tstate = wxPyBeginAllowThreads();
9296 result = ((wxLocale const *)arg1)->GetSysName();
9297
9298 wxPyEndAllowThreads(__tstate);
9299 if (PyErr_Occurred()) SWIG_fail;
9300 }
9301 {
9302#if wxUSE_UNICODE
9303 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9304#else
9305 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9306#endif
9307 }
9308 return resultobj;
9309 fail:
9310 return NULL;
9311}
9312
9313
2f4c0a16 9314static PyObject *_wrap_Locale_GetCanonicalName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9315 PyObject *resultobj;
9316 wxLocale *arg1 = (wxLocale *) 0 ;
9317 wxString result;
9318 PyObject * obj0 = 0 ;
9319 char *kwnames[] = {
9320 (char *) "self", NULL
9321 };
9322
9323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetCanonicalName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9326 {
9327 PyThreadState* __tstate = wxPyBeginAllowThreads();
9328 result = ((wxLocale const *)arg1)->GetCanonicalName();
9329
9330 wxPyEndAllowThreads(__tstate);
9331 if (PyErr_Occurred()) SWIG_fail;
9332 }
9333 {
9334#if wxUSE_UNICODE
9335 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9336#else
9337 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9338#endif
9339 }
9340 return resultobj;
9341 fail:
9342 return NULL;
9343}
9344
9345
2f4c0a16 9346static PyObject *_wrap_Locale_AddCatalogLookupPathPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9347 PyObject *resultobj;
9348 wxString *arg1 = 0 ;
423f194a 9349 bool temp1 = False ;
d14a1e28
RD
9350 PyObject * obj0 = 0 ;
9351 char *kwnames[] = {
9352 (char *) "prefix", NULL
9353 };
9354
9355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames,&obj0)) goto fail;
9356 {
9357 arg1 = wxString_in_helper(obj0);
9358 if (arg1 == NULL) SWIG_fail;
423f194a 9359 temp1 = True;
d14a1e28
RD
9360 }
9361 {
9362 PyThreadState* __tstate = wxPyBeginAllowThreads();
9363 wxLocale::AddCatalogLookupPathPrefix((wxString const &)*arg1);
9364
9365 wxPyEndAllowThreads(__tstate);
9366 if (PyErr_Occurred()) SWIG_fail;
9367 }
9368 Py_INCREF(Py_None); resultobj = Py_None;
9369 {
9370 if (temp1)
9371 delete arg1;
9372 }
9373 return resultobj;
9374 fail:
9375 {
9376 if (temp1)
9377 delete arg1;
9378 }
9379 return NULL;
9380}
9381
9382
2f4c0a16 9383static PyObject *_wrap_Locale_AddCatalog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9384 PyObject *resultobj;
9385 wxLocale *arg1 = (wxLocale *) 0 ;
9386 wxString *arg2 = 0 ;
9387 bool result;
423f194a 9388 bool temp2 = False ;
d14a1e28
RD
9389 PyObject * obj0 = 0 ;
9390 PyObject * obj1 = 0 ;
9391 char *kwnames[] = {
9392 (char *) "self",(char *) "szDomain", NULL
9393 };
9394
9395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Locale_AddCatalog",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9398 {
9399 arg2 = wxString_in_helper(obj1);
9400 if (arg2 == NULL) SWIG_fail;
423f194a 9401 temp2 = True;
d14a1e28
RD
9402 }
9403 {
9404 PyThreadState* __tstate = wxPyBeginAllowThreads();
9405 result = (bool)(arg1)->AddCatalog((wxString const &)*arg2);
9406
9407 wxPyEndAllowThreads(__tstate);
9408 if (PyErr_Occurred()) SWIG_fail;
9409 }
02a34c4c 9410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9411 {
9412 if (temp2)
9413 delete arg2;
9414 }
9415 return resultobj;
9416 fail:
9417 {
9418 if (temp2)
9419 delete arg2;
9420 }
9421 return NULL;
9422}
9423
9424
2f4c0a16 9425static PyObject *_wrap_Locale_IsLoaded(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9426 PyObject *resultobj;
9427 wxLocale *arg1 = (wxLocale *) 0 ;
9428 wxString *arg2 = 0 ;
9429 bool result;
423f194a 9430 bool temp2 = False ;
d14a1e28
RD
9431 PyObject * obj0 = 0 ;
9432 PyObject * obj1 = 0 ;
9433 char *kwnames[] = {
9434 (char *) "self",(char *) "szDomain", NULL
9435 };
9436
9437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Locale_IsLoaded",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9440 {
9441 arg2 = wxString_in_helper(obj1);
9442 if (arg2 == NULL) SWIG_fail;
423f194a 9443 temp2 = True;
d14a1e28
RD
9444 }
9445 {
9446 PyThreadState* __tstate = wxPyBeginAllowThreads();
9447 result = (bool)((wxLocale const *)arg1)->IsLoaded((wxString const &)*arg2);
9448
9449 wxPyEndAllowThreads(__tstate);
9450 if (PyErr_Occurred()) SWIG_fail;
9451 }
02a34c4c 9452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9453 {
9454 if (temp2)
9455 delete arg2;
9456 }
9457 return resultobj;
9458 fail:
9459 {
9460 if (temp2)
9461 delete arg2;
9462 }
9463 return NULL;
9464}
9465
9466
2f4c0a16 9467static PyObject *_wrap_Locale_GetLanguageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9468 PyObject *resultobj;
9469 int arg1 ;
9470 wxLanguageInfo *result;
8edf1c75 9471 PyObject * obj0 = 0 ;
d14a1e28
RD
9472 char *kwnames[] = {
9473 (char *) "lang", NULL
9474 };
9475
8edf1c75 9476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLanguageInfo",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9477 arg1 = (int) SWIG_AsInt(obj0);
9478 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9479 {
9480 PyThreadState* __tstate = wxPyBeginAllowThreads();
9481 result = (wxLanguageInfo *)wxLocale::GetLanguageInfo(arg1);
9482
9483 wxPyEndAllowThreads(__tstate);
9484 if (PyErr_Occurred()) SWIG_fail;
9485 }
2f4c0a16 9486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLanguageInfo, 0);
d14a1e28
RD
9487 return resultobj;
9488 fail:
9489 return NULL;
9490}
9491
9492
2f4c0a16 9493static PyObject *_wrap_Locale_GetLanguageName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9494 PyObject *resultobj;
9495 int arg1 ;
9496 wxString result;
8edf1c75 9497 PyObject * obj0 = 0 ;
d14a1e28
RD
9498 char *kwnames[] = {
9499 (char *) "lang", NULL
9500 };
9501
8edf1c75 9502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLanguageName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9503 arg1 = (int) SWIG_AsInt(obj0);
9504 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9505 {
9506 PyThreadState* __tstate = wxPyBeginAllowThreads();
9507 result = wxLocale::GetLanguageName(arg1);
9508
9509 wxPyEndAllowThreads(__tstate);
9510 if (PyErr_Occurred()) SWIG_fail;
9511 }
9512 {
9513#if wxUSE_UNICODE
9514 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9515#else
9516 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9517#endif
9518 }
9519 return resultobj;
9520 fail:
9521 return NULL;
9522}
9523
9524
2f4c0a16 9525static PyObject *_wrap_Locale_FindLanguageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9526 PyObject *resultobj;
9527 wxString *arg1 = 0 ;
9528 wxLanguageInfo *result;
423f194a 9529 bool temp1 = False ;
d14a1e28
RD
9530 PyObject * obj0 = 0 ;
9531 char *kwnames[] = {
9532 (char *) "locale", NULL
9533 };
9534
9535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_FindLanguageInfo",kwnames,&obj0)) goto fail;
9536 {
9537 arg1 = wxString_in_helper(obj0);
9538 if (arg1 == NULL) SWIG_fail;
423f194a 9539 temp1 = True;
d14a1e28
RD
9540 }
9541 {
9542 PyThreadState* __tstate = wxPyBeginAllowThreads();
9543 result = (wxLanguageInfo *)wxLocale::FindLanguageInfo((wxString const &)*arg1);
9544
9545 wxPyEndAllowThreads(__tstate);
9546 if (PyErr_Occurred()) SWIG_fail;
9547 }
2f4c0a16 9548 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLanguageInfo, 0);
d14a1e28
RD
9549 {
9550 if (temp1)
9551 delete arg1;
9552 }
9553 return resultobj;
9554 fail:
9555 {
9556 if (temp1)
9557 delete arg1;
9558 }
9559 return NULL;
9560}
9561
9562
2f4c0a16 9563static PyObject *_wrap_Locale_AddLanguage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9564 PyObject *resultobj;
9565 wxLanguageInfo *arg1 = 0 ;
9566 PyObject * obj0 = 0 ;
9567 char *kwnames[] = {
9568 (char *) "info", NULL
9569 };
9570
9571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_AddLanguage",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
9573 SWIG_POINTER_EXCEPTION | 0)) == -1)
9574 SWIG_fail;
d14a1e28 9575 if (arg1 == NULL) {
2f4c0a16
RD
9576 PyErr_SetString(PyExc_TypeError,"null reference");
9577 SWIG_fail;
d14a1e28
RD
9578 }
9579 {
9580 PyThreadState* __tstate = wxPyBeginAllowThreads();
9581 wxLocale::AddLanguage((wxLanguageInfo const &)*arg1);
9582
9583 wxPyEndAllowThreads(__tstate);
9584 if (PyErr_Occurred()) SWIG_fail;
9585 }
9586 Py_INCREF(Py_None); resultobj = Py_None;
9587 return resultobj;
9588 fail:
9589 return NULL;
9590}
9591
9592
2f4c0a16 9593static PyObject *_wrap_Locale_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9594 PyObject *resultobj;
9595 wxLocale *arg1 = (wxLocale *) 0 ;
9596 wxString *arg2 = 0 ;
9597 wxString const &arg3_defvalue = wxPyEmptyString ;
9598 wxString *arg3 = (wxString *) &arg3_defvalue ;
9599 wxString result;
423f194a
RD
9600 bool temp2 = False ;
9601 bool temp3 = False ;
d14a1e28
RD
9602 PyObject * obj0 = 0 ;
9603 PyObject * obj1 = 0 ;
9604 PyObject * obj2 = 0 ;
9605 char *kwnames[] = {
9606 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9607 };
9608
9609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Locale_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9612 {
9613 arg2 = wxString_in_helper(obj1);
9614 if (arg2 == NULL) SWIG_fail;
423f194a 9615 temp2 = True;
d14a1e28
RD
9616 }
9617 if (obj2) {
9618 {
9619 arg3 = wxString_in_helper(obj2);
9620 if (arg3 == NULL) SWIG_fail;
423f194a 9621 temp3 = True;
d14a1e28
RD
9622 }
9623 }
9624 {
9625 PyThreadState* __tstate = wxPyBeginAllowThreads();
9626 result = ((wxLocale const *)arg1)->GetString((wxString const &)*arg2,(wxString const &)*arg3);
9627
9628 wxPyEndAllowThreads(__tstate);
9629 if (PyErr_Occurred()) SWIG_fail;
9630 }
9631 {
9632#if wxUSE_UNICODE
9633 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9634#else
9635 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9636#endif
9637 }
9638 {
9639 if (temp2)
9640 delete arg2;
9641 }
9642 {
9643 if (temp3)
9644 delete arg3;
9645 }
9646 return resultobj;
9647 fail:
9648 {
9649 if (temp2)
9650 delete arg2;
9651 }
9652 {
9653 if (temp3)
9654 delete arg3;
9655 }
9656 return NULL;
9657}
9658
9659
2f4c0a16 9660static PyObject *_wrap_Locale_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9661 PyObject *resultobj;
9662 wxLocale *arg1 = (wxLocale *) 0 ;
9663 wxString *result;
9664 PyObject * obj0 = 0 ;
9665 char *kwnames[] = {
9666 (char *) "self", NULL
9667 };
9668
9669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9672 {
9673 PyThreadState* __tstate = wxPyBeginAllowThreads();
9674 {
9675 wxString const &_result_ref = ((wxLocale const *)arg1)->GetName();
9676 result = (wxString *) &_result_ref;
9677 }
9678
9679 wxPyEndAllowThreads(__tstate);
9680 if (PyErr_Occurred()) SWIG_fail;
9681 }
0f774bef
RD
9682 {
9683#if wxUSE_UNICODE
9684 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
9685#else
9686 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
9687#endif
9688 }
d14a1e28
RD
9689 return resultobj;
9690 fail:
9691 return NULL;
9692}
9693
9694
2f4c0a16 9695static PyObject * Locale_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9696 PyObject *obj;
9697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9698 SWIG_TypeClientData(SWIGTYPE_p_wxLocale, obj);
9699 Py_INCREF(obj);
9700 return Py_BuildValue((char *)"");
9701}
2f4c0a16 9702static PyObject *_wrap_GetLocale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9703 PyObject *resultobj;
9704 wxLocale *result;
9705 char *kwnames[] = {
9706 NULL
9707 };
9708
9709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocale",kwnames)) goto fail;
9710 {
9711 PyThreadState* __tstate = wxPyBeginAllowThreads();
9712 result = (wxLocale *)wxGetLocale();
9713
9714 wxPyEndAllowThreads(__tstate);
9715 if (PyErr_Occurred()) SWIG_fail;
9716 }
2f4c0a16 9717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLocale, 0);
d14a1e28
RD
9718 return resultobj;
9719 fail:
9720 return NULL;
9721}
9722
9723
2f4c0a16 9724static PyObject *_wrap_GetTranslation__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
9725 PyObject *resultobj;
9726 wxString *arg1 = 0 ;
9727 wxString result;
423f194a 9728 bool temp1 = False ;
d14a1e28
RD
9729 PyObject * obj0 = 0 ;
9730
9731 if(!PyArg_ParseTuple(args,(char *)"O:GetTranslation",&obj0)) goto fail;
9732 {
9733 arg1 = wxString_in_helper(obj0);
9734 if (arg1 == NULL) SWIG_fail;
423f194a 9735 temp1 = True;
d14a1e28
RD
9736 }
9737 {
9738 PyThreadState* __tstate = wxPyBeginAllowThreads();
9739 result = wxGetTranslation((wxString const &)*arg1);
9740
9741 wxPyEndAllowThreads(__tstate);
9742 if (PyErr_Occurred()) SWIG_fail;
9743 }
9744 {
9745#if wxUSE_UNICODE
9746 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9747#else
9748 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9749#endif
9750 }
9751 {
9752 if (temp1)
9753 delete arg1;
9754 }
9755 return resultobj;
9756 fail:
9757 {
9758 if (temp1)
9759 delete arg1;
9760 }
9761 return NULL;
9762}
9763
9764
2f4c0a16 9765static PyObject *_wrap_GetTranslation__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
9766 PyObject *resultobj;
9767 wxString *arg1 = 0 ;
9768 wxString *arg2 = 0 ;
9769 size_t arg3 ;
9770 wxString result;
423f194a
RD
9771 bool temp1 = False ;
9772 bool temp2 = False ;
d14a1e28
RD
9773 PyObject * obj0 = 0 ;
9774 PyObject * obj1 = 0 ;
9775 PyObject * obj2 = 0 ;
9776
9777 if(!PyArg_ParseTuple(args,(char *)"OOO:GetTranslation",&obj0,&obj1,&obj2)) goto fail;
9778 {
9779 arg1 = wxString_in_helper(obj0);
9780 if (arg1 == NULL) SWIG_fail;
423f194a 9781 temp1 = True;
d14a1e28
RD
9782 }
9783 {
9784 arg2 = wxString_in_helper(obj1);
9785 if (arg2 == NULL) SWIG_fail;
423f194a 9786 temp2 = True;
d14a1e28 9787 }
2f4c0a16
RD
9788 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9789 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9790 {
9791 PyThreadState* __tstate = wxPyBeginAllowThreads();
9792 result = wxGetTranslation((wxString const &)*arg1,(wxString const &)*arg2,arg3);
9793
9794 wxPyEndAllowThreads(__tstate);
9795 if (PyErr_Occurred()) SWIG_fail;
9796 }
9797 {
9798#if wxUSE_UNICODE
9799 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9800#else
9801 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9802#endif
9803 }
9804 {
9805 if (temp1)
9806 delete arg1;
9807 }
9808 {
9809 if (temp2)
9810 delete arg2;
9811 }
9812 return resultobj;
9813 fail:
9814 {
9815 if (temp1)
9816 delete arg1;
9817 }
9818 {
9819 if (temp2)
9820 delete arg2;
9821 }
9822 return NULL;
9823}
9824
9825
9826static PyObject *_wrap_GetTranslation(PyObject *self, PyObject *args) {
9827 int argc;
9828 PyObject *argv[4];
9829 int ii;
9830
9831 argc = PyObject_Length(args);
9832 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
9833 argv[ii] = PyTuple_GetItem(args,ii);
9834 }
9835 if (argc == 1) {
9836 int _v;
9837 {
02a34c4c 9838 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
d14a1e28
RD
9839 }
9840 if (_v) {
9841 return _wrap_GetTranslation__SWIG_0(self,args);
9842 }
9843 }
9844 if (argc == 3) {
9845 int _v;
9846 {
02a34c4c 9847 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
d14a1e28
RD
9848 }
9849 if (_v) {
9850 {
02a34c4c 9851 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
d14a1e28
RD
9852 }
9853 if (_v) {
2f4c0a16 9854 _v = SWIG_CheckUnsignedLong(argv[2]);
d14a1e28
RD
9855 if (_v) {
9856 return _wrap_GetTranslation__SWIG_1(self,args);
9857 }
9858 }
9859 }
9860 }
9861
9862 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GetTranslation'");
9863 return NULL;
9864}
9865
9866
2f4c0a16 9867static PyObject *_wrap_new_EncodingConverter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9868 PyObject *resultobj;
9869 wxEncodingConverter *result;
9870 char *kwnames[] = {
9871 NULL
9872 };
9873
9874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EncodingConverter",kwnames)) goto fail;
9875 {
9876 PyThreadState* __tstate = wxPyBeginAllowThreads();
9877 result = (wxEncodingConverter *)new wxEncodingConverter();
9878
9879 wxPyEndAllowThreads(__tstate);
9880 if (PyErr_Occurred()) SWIG_fail;
9881 }
2f4c0a16 9882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEncodingConverter, 1);
d14a1e28
RD
9883 return resultobj;
9884 fail:
9885 return NULL;
9886}
9887
9888
2f4c0a16 9889static PyObject *_wrap_delete_EncodingConverter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9890 PyObject *resultobj;
9891 wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ;
9892 PyObject * obj0 = 0 ;
9893 char *kwnames[] = {
9894 (char *) "self", NULL
9895 };
9896
9897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_EncodingConverter",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEncodingConverter,
9899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9900 {
9901 PyThreadState* __tstate = wxPyBeginAllowThreads();
9902 delete arg1;
9903
9904 wxPyEndAllowThreads(__tstate);
9905 if (PyErr_Occurred()) SWIG_fail;
9906 }
9907 Py_INCREF(Py_None); resultobj = Py_None;
9908 return resultobj;
9909 fail:
9910 return NULL;
9911}
9912
9913
2f4c0a16 9914static PyObject *_wrap_EncodingConverter_Init(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9915 PyObject *resultobj;
9916 wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ;
9917 int arg2 ;
9918 int arg3 ;
9919 int arg4 = (int) wxCONVERT_STRICT ;
9920 bool result;
9921 PyObject * obj0 = 0 ;
8edf1c75
RD
9922 PyObject * obj1 = 0 ;
9923 PyObject * obj2 = 0 ;
9924 PyObject * obj3 = 0 ;
d14a1e28
RD
9925 char *kwnames[] = {
9926 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
9927 };
9928
8edf1c75 9929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:EncodingConverter_Init",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEncodingConverter,
9931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9932 arg2 = (wxFontEncoding) SWIG_AsInt(obj1);
9933 if (PyErr_Occurred()) SWIG_fail;
9934 arg3 = (wxFontEncoding) SWIG_AsInt(obj2);
9935 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9936 if (obj3) {
2f4c0a16
RD
9937 arg4 = (int) SWIG_AsInt(obj3);
9938 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9939 }
d14a1e28
RD
9940 {
9941 PyThreadState* __tstate = wxPyBeginAllowThreads();
9942 result = (bool)(arg1)->Init((wxFontEncoding )arg2,(wxFontEncoding )arg3,arg4);
9943
9944 wxPyEndAllowThreads(__tstate);
9945 if (PyErr_Occurred()) SWIG_fail;
9946 }
02a34c4c 9947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9948 return resultobj;
9949 fail:
9950 return NULL;
9951}
9952
9953
2f4c0a16 9954static PyObject *_wrap_EncodingConverter_Convert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9955 PyObject *resultobj;
9956 wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ;
9957 wxString *arg2 = 0 ;
9958 wxString result;
423f194a 9959 bool temp2 = False ;
d14a1e28
RD
9960 PyObject * obj0 = 0 ;
9961 PyObject * obj1 = 0 ;
9962 char *kwnames[] = {
9963 (char *) "self",(char *) "input", NULL
9964 };
9965
9966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EncodingConverter_Convert",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEncodingConverter,
9968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9969 {
9970 arg2 = wxString_in_helper(obj1);
9971 if (arg2 == NULL) SWIG_fail;
423f194a 9972 temp2 = True;
d14a1e28
RD
9973 }
9974 {
9975 PyThreadState* __tstate = wxPyBeginAllowThreads();
9976 result = (arg1)->Convert((wxString const &)*arg2);
9977
9978 wxPyEndAllowThreads(__tstate);
9979 if (PyErr_Occurred()) SWIG_fail;
9980 }
9981 {
9982#if wxUSE_UNICODE
9983 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9984#else
9985 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9986#endif
9987 }
9988 {
9989 if (temp2)
9990 delete arg2;
9991 }
9992 return resultobj;
9993 fail:
9994 {
9995 if (temp2)
9996 delete arg2;
9997 }
9998 return NULL;
9999}
10000
10001
2f4c0a16 10002static PyObject *_wrap_EncodingConverter_GetPlatformEquivalents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10003 PyObject *resultobj;
10004 int arg1 ;
10005 int arg2 = (int) wxPLATFORM_CURRENT ;
10006 wxFontEncodingArray result;
8edf1c75
RD
10007 PyObject * obj0 = 0 ;
10008 PyObject * obj1 = 0 ;
d14a1e28
RD
10009 char *kwnames[] = {
10010 (char *) "enc",(char *) "platform", NULL
10011 };
10012
8edf1c75 10013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10014 arg1 = (wxFontEncoding) SWIG_AsInt(obj0);
10015 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10016 if (obj1) {
2f4c0a16
RD
10017 arg2 = (int) SWIG_AsInt(obj1);
10018 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10019 }
d14a1e28
RD
10020 {
10021 PyThreadState* __tstate = wxPyBeginAllowThreads();
10022 result = wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding )arg1,arg2);
10023
10024 wxPyEndAllowThreads(__tstate);
10025 if (PyErr_Occurred()) SWIG_fail;
10026 }
10027 {
10028 resultobj = PyList_New(0);
10029 for (size_t i=0; i < (&result)->GetCount(); i++) {
10030 PyObject* number = PyInt_FromLong((&result)->Item(i));
10031 PyList_Append(resultobj, number);
10032 Py_DECREF(number);
10033 }
10034 }
10035 return resultobj;
10036 fail:
10037 return NULL;
10038}
10039
10040
2f4c0a16 10041static PyObject *_wrap_EncodingConverter_GetAllEquivalents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10042 PyObject *resultobj;
10043 int arg1 ;
10044 wxFontEncodingArray result;
8edf1c75 10045 PyObject * obj0 = 0 ;
d14a1e28
RD
10046 char *kwnames[] = {
10047 (char *) "enc", NULL
10048 };
10049
8edf1c75 10050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10051 arg1 = (wxFontEncoding) SWIG_AsInt(obj0);
10052 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10053 {
10054 PyThreadState* __tstate = wxPyBeginAllowThreads();
10055 result = wxEncodingConverter::GetAllEquivalents((wxFontEncoding )arg1);
10056
10057 wxPyEndAllowThreads(__tstate);
10058 if (PyErr_Occurred()) SWIG_fail;
10059 }
10060 {
10061 resultobj = PyList_New(0);
10062 for (size_t i=0; i < (&result)->GetCount(); i++) {
10063 PyObject* number = PyInt_FromLong((&result)->Item(i));
10064 PyList_Append(resultobj, number);
10065 Py_DECREF(number);
10066 }
10067 }
10068 return resultobj;
10069 fail:
10070 return NULL;
10071}
10072
10073
2f4c0a16 10074static PyObject *_wrap_EncodingConverter_CanConvert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10075 PyObject *resultobj;
10076 int arg1 ;
10077 int arg2 ;
10078 bool result;
8edf1c75
RD
10079 PyObject * obj0 = 0 ;
10080 PyObject * obj1 = 0 ;
d14a1e28
RD
10081 char *kwnames[] = {
10082 (char *) "encIn",(char *) "encOut", NULL
10083 };
10084
8edf1c75 10085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EncodingConverter_CanConvert",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10086 arg1 = (wxFontEncoding) SWIG_AsInt(obj0);
10087 if (PyErr_Occurred()) SWIG_fail;
10088 arg2 = (wxFontEncoding) SWIG_AsInt(obj1);
10089 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10090 {
10091 PyThreadState* __tstate = wxPyBeginAllowThreads();
10092 result = (bool)wxEncodingConverter::CanConvert((wxFontEncoding )arg1,(wxFontEncoding )arg2);
10093
10094 wxPyEndAllowThreads(__tstate);
10095 if (PyErr_Occurred()) SWIG_fail;
10096 }
02a34c4c 10097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10098 return resultobj;
10099 fail:
10100 return NULL;
10101}
10102
10103
2f4c0a16 10104static PyObject * EncodingConverter_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10105 PyObject *obj;
10106 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10107 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter, obj);
10108 Py_INCREF(obj);
10109 return Py_BuildValue((char *)"");
10110}
2f4c0a16 10111static PyObject *_wrap_delete_DC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10112 PyObject *resultobj;
10113 wxDC *arg1 = (wxDC *) 0 ;
10114 PyObject * obj0 = 0 ;
10115 char *kwnames[] = {
10116 (char *) "self", NULL
10117 };
10118
10119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DC",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10122 {
10123 PyThreadState* __tstate = wxPyBeginAllowThreads();
10124 delete arg1;
10125
10126 wxPyEndAllowThreads(__tstate);
10127 if (PyErr_Occurred()) SWIG_fail;
10128 }
10129 Py_INCREF(Py_None); resultobj = Py_None;
10130 return resultobj;
10131 fail:
10132 return NULL;
10133}
10134
10135
2f4c0a16 10136static PyObject *_wrap_DC_BeginDrawing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10137 PyObject *resultobj;
10138 wxDC *arg1 = (wxDC *) 0 ;
10139 PyObject * obj0 = 0 ;
10140 char *kwnames[] = {
10141 (char *) "self", NULL
10142 };
10143
10144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_BeginDrawing",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10147 {
10148 PyThreadState* __tstate = wxPyBeginAllowThreads();
10149 (arg1)->BeginDrawing();
10150
10151 wxPyEndAllowThreads(__tstate);
10152 if (PyErr_Occurred()) SWIG_fail;
10153 }
10154 Py_INCREF(Py_None); resultobj = Py_None;
10155 return resultobj;
10156 fail:
10157 return NULL;
10158}
10159
10160
2f4c0a16 10161static PyObject *_wrap_DC_EndDrawing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10162 PyObject *resultobj;
10163 wxDC *arg1 = (wxDC *) 0 ;
10164 PyObject * obj0 = 0 ;
10165 char *kwnames[] = {
10166 (char *) "self", NULL
10167 };
10168
10169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_EndDrawing",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10172 {
10173 PyThreadState* __tstate = wxPyBeginAllowThreads();
10174 (arg1)->EndDrawing();
10175
10176 wxPyEndAllowThreads(__tstate);
10177 if (PyErr_Occurred()) SWIG_fail;
10178 }
10179 Py_INCREF(Py_None); resultobj = Py_None;
10180 return resultobj;
10181 fail:
10182 return NULL;
10183}
10184
10185
2f4c0a16 10186static PyObject *_wrap_DC_FloodFillXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10187 PyObject *resultobj;
10188 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
10189 int arg2 ;
10190 int arg3 ;
d14a1e28
RD
10191 wxColour *arg4 = 0 ;
10192 int arg5 = (int) wxFLOOD_SURFACE ;
10193 bool result;
10194 wxColour temp4 ;
10195 PyObject * obj0 = 0 ;
8edf1c75
RD
10196 PyObject * obj1 = 0 ;
10197 PyObject * obj2 = 0 ;
d14a1e28 10198 PyObject * obj3 = 0 ;
8edf1c75 10199 PyObject * obj4 = 0 ;
d14a1e28
RD
10200 char *kwnames[] = {
10201 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10202 };
10203
8edf1c75 10204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:DC_FloodFillXY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
10205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10207 arg2 = (int) SWIG_AsInt(obj1);
10208 if (PyErr_Occurred()) SWIG_fail;
10209 arg3 = (int) SWIG_AsInt(obj2);
10210 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10211 {
10212 arg4 = &temp4;
10213 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
10214 }
8edf1c75 10215 if (obj4) {
2f4c0a16
RD
10216 arg5 = (int) SWIG_AsInt(obj4);
10217 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10218 }
d14a1e28
RD
10219 {
10220 PyThreadState* __tstate = wxPyBeginAllowThreads();
10221 result = (bool)(arg1)->FloodFill(arg2,arg3,(wxColour const &)*arg4,arg5);
10222
10223 wxPyEndAllowThreads(__tstate);
10224 if (PyErr_Occurred()) SWIG_fail;
10225 }
02a34c4c 10226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10227 return resultobj;
10228 fail:
10229 return NULL;
10230}
10231
10232
2f4c0a16 10233static PyObject *_wrap_DC_FloodFill(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10234 PyObject *resultobj;
10235 wxDC *arg1 = (wxDC *) 0 ;
10236 wxPoint *arg2 = 0 ;
10237 wxColour *arg3 = 0 ;
10238 int arg4 = (int) wxFLOOD_SURFACE ;
10239 bool result;
10240 wxPoint temp2 ;
10241 wxColour temp3 ;
10242 PyObject * obj0 = 0 ;
10243 PyObject * obj1 = 0 ;
10244 PyObject * obj2 = 0 ;
8edf1c75 10245 PyObject * obj3 = 0 ;
d14a1e28
RD
10246 char *kwnames[] = {
10247 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10248 };
10249
8edf1c75 10250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:DC_FloodFill",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
10251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10253 {
10254 arg2 = &temp2;
10255 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10256 }
10257 {
10258 arg3 = &temp3;
10259 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10260 }
8edf1c75 10261 if (obj3) {
2f4c0a16
RD
10262 arg4 = (int) SWIG_AsInt(obj3);
10263 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10264 }
d14a1e28
RD
10265 {
10266 PyThreadState* __tstate = wxPyBeginAllowThreads();
10267 result = (bool)(arg1)->FloodFill((wxPoint const &)*arg2,(wxColour const &)*arg3,arg4);
10268
10269 wxPyEndAllowThreads(__tstate);
10270 if (PyErr_Occurred()) SWIG_fail;
10271 }
02a34c4c 10272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10273 return resultobj;
10274 fail:
10275 return NULL;
10276}
10277
10278
2f4c0a16 10279static PyObject *_wrap_DC_GetPixelXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10280 PyObject *resultobj;
10281 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
10282 int arg2 ;
10283 int arg3 ;
d14a1e28
RD
10284 wxColour result;
10285 PyObject * obj0 = 0 ;
8edf1c75
RD
10286 PyObject * obj1 = 0 ;
10287 PyObject * obj2 = 0 ;
d14a1e28
RD
10288 char *kwnames[] = {
10289 (char *) "self",(char *) "x",(char *) "y", NULL
10290 };
10291
8edf1c75 10292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_GetPixelXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10295 arg2 = (int) SWIG_AsInt(obj1);
10296 if (PyErr_Occurred()) SWIG_fail;
10297 arg3 = (int) SWIG_AsInt(obj2);
10298 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10299 {
10300 PyThreadState* __tstate = wxPyBeginAllowThreads();
10301 result = wxDC_GetPixelXY(arg1,arg2,arg3);
10302
10303 wxPyEndAllowThreads(__tstate);
10304 if (PyErr_Occurred()) SWIG_fail;
10305 }
10306 {
10307 wxColour * resultptr;
10308 resultptr = new wxColour((wxColour &) result);
2f4c0a16 10309 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10310 }
10311 return resultobj;
10312 fail:
10313 return NULL;
10314}
10315
10316
2f4c0a16 10317static PyObject *_wrap_DC_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10318 PyObject *resultobj;
10319 wxDC *arg1 = (wxDC *) 0 ;
10320 wxPoint *arg2 = 0 ;
10321 wxColour result;
10322 wxPoint temp2 ;
10323 PyObject * obj0 = 0 ;
10324 PyObject * obj1 = 0 ;
10325 char *kwnames[] = {
10326 (char *) "self",(char *) "pt", NULL
10327 };
10328
10329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_GetPixel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10332 {
10333 arg2 = &temp2;
10334 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10335 }
10336 {
10337 PyThreadState* __tstate = wxPyBeginAllowThreads();
10338 result = wxDC_GetPixel(arg1,(wxPoint const &)*arg2);
10339
10340 wxPyEndAllowThreads(__tstate);
10341 if (PyErr_Occurred()) SWIG_fail;
10342 }
10343 {
10344 wxColour * resultptr;
10345 resultptr = new wxColour((wxColour &) result);
2f4c0a16 10346 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10347 }
10348 return resultobj;
10349 fail:
10350 return NULL;
10351}
10352
10353
2f4c0a16 10354static PyObject *_wrap_DC_DrawLineXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10355 PyObject *resultobj;
10356 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
10357 int arg2 ;
10358 int arg3 ;
10359 int arg4 ;
10360 int arg5 ;
d14a1e28 10361 PyObject * obj0 = 0 ;
8edf1c75
RD
10362 PyObject * obj1 = 0 ;
10363 PyObject * obj2 = 0 ;
10364 PyObject * obj3 = 0 ;
10365 PyObject * obj4 = 0 ;
d14a1e28
RD
10366 char *kwnames[] = {
10367 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10368 };
10369
8edf1c75 10370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawLineXY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
10371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10373 arg2 = (int) SWIG_AsInt(obj1);
10374 if (PyErr_Occurred()) SWIG_fail;
10375 arg3 = (int) SWIG_AsInt(obj2);
10376 if (PyErr_Occurred()) SWIG_fail;
10377 arg4 = (int) SWIG_AsInt(obj3);
10378 if (PyErr_Occurred()) SWIG_fail;
10379 arg5 = (int) SWIG_AsInt(obj4);
10380 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10381 {
10382 PyThreadState* __tstate = wxPyBeginAllowThreads();
10383 (arg1)->DrawLine(arg2,arg3,arg4,arg5);
10384
10385 wxPyEndAllowThreads(__tstate);
10386 if (PyErr_Occurred()) SWIG_fail;
10387 }
10388 Py_INCREF(Py_None); resultobj = Py_None;
10389 return resultobj;
10390 fail:
10391 return NULL;
10392}
10393
10394
2f4c0a16 10395static PyObject *_wrap_DC_DrawLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10396 PyObject *resultobj;
10397 wxDC *arg1 = (wxDC *) 0 ;
10398 wxPoint *arg2 = 0 ;
10399 wxPoint *arg3 = 0 ;
10400 wxPoint temp2 ;
10401 wxPoint temp3 ;
10402 PyObject * obj0 = 0 ;
10403 PyObject * obj1 = 0 ;
10404 PyObject * obj2 = 0 ;
10405 char *kwnames[] = {
10406 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10407 };
10408
10409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10412 {
10413 arg2 = &temp2;
10414 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10415 }
10416 {
10417 arg3 = &temp3;
10418 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10419 }
10420 {
10421 PyThreadState* __tstate = wxPyBeginAllowThreads();
10422 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
10423
10424 wxPyEndAllowThreads(__tstate);
10425 if (PyErr_Occurred()) SWIG_fail;
10426 }
10427 Py_INCREF(Py_None); resultobj = Py_None;
10428 return resultobj;
10429 fail:
10430 return NULL;
10431}
10432
10433
2f4c0a16 10434static PyObject *_wrap_DC_CrossHairXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10435 PyObject *resultobj;
10436 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
10437 int arg2 ;
10438 int arg3 ;
d14a1e28 10439 PyObject * obj0 = 0 ;
8edf1c75
RD
10440 PyObject * obj1 = 0 ;
10441 PyObject * obj2 = 0 ;
d14a1e28
RD
10442 char *kwnames[] = {
10443 (char *) "self",(char *) "x",(char *) "y", NULL
10444 };
10445
8edf1c75 10446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_CrossHairXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10449 arg2 = (int) SWIG_AsInt(obj1);
10450 if (PyErr_Occurred()) SWIG_fail;
10451 arg3 = (int) SWIG_AsInt(obj2);
10452 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10453 {
10454 PyThreadState* __tstate = wxPyBeginAllowThreads();
10455 (arg1)->CrossHair(arg2,arg3);
10456
10457 wxPyEndAllowThreads(__tstate);
10458 if (PyErr_Occurred()) SWIG_fail;
10459 }
10460 Py_INCREF(Py_None); resultobj = Py_None;
10461 return resultobj;
10462 fail:
10463 return NULL;
10464}
10465
10466
2f4c0a16 10467static PyObject *_wrap_DC_CrossHair(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10468 PyObject *resultobj;
10469 wxDC *arg1 = (wxDC *) 0 ;
10470 wxPoint *arg2 = 0 ;
10471 wxPoint temp2 ;
10472 PyObject * obj0 = 0 ;
10473 PyObject * obj1 = 0 ;
10474 char *kwnames[] = {
10475 (char *) "self",(char *) "pt", NULL
10476 };
10477
10478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_CrossHair",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10481 {
10482 arg2 = &temp2;
10483 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10484 }
10485 {
10486 PyThreadState* __tstate = wxPyBeginAllowThreads();
10487 (arg1)->CrossHair((wxPoint const &)*arg2);
10488
10489 wxPyEndAllowThreads(__tstate);
10490 if (PyErr_Occurred()) SWIG_fail;
10491 }
10492 Py_INCREF(Py_None); resultobj = Py_None;
10493 return resultobj;
10494 fail:
10495 return NULL;
10496}
10497
10498
2f4c0a16 10499static PyObject *_wrap_DC_DrawArcXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10500 PyObject *resultobj;
10501 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
10502 int arg2 ;
10503 int arg3 ;
10504 int arg4 ;
10505 int arg5 ;
10506 int arg6 ;
10507 int arg7 ;
d14a1e28 10508 PyObject * obj0 = 0 ;
8edf1c75
RD
10509 PyObject * obj1 = 0 ;
10510 PyObject * obj2 = 0 ;
10511 PyObject * obj3 = 0 ;
10512 PyObject * obj4 = 0 ;
10513 PyObject * obj5 = 0 ;
10514 PyObject * obj6 = 0 ;
d14a1e28
RD
10515 char *kwnames[] = {
10516 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10517 };
10518
8edf1c75 10519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:DC_DrawArcXY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
10520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10522 arg2 = (int) SWIG_AsInt(obj1);
10523 if (PyErr_Occurred()) SWIG_fail;
10524 arg3 = (int) SWIG_AsInt(obj2);
10525 if (PyErr_Occurred()) SWIG_fail;
10526 arg4 = (int) SWIG_AsInt(obj3);
10527 if (PyErr_Occurred()) SWIG_fail;
10528 arg5 = (int) SWIG_AsInt(obj4);
10529 if (PyErr_Occurred()) SWIG_fail;
10530 arg6 = (int) SWIG_AsInt(obj5);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 arg7 = (int) SWIG_AsInt(obj6);
10533 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10534 {
10535 PyThreadState* __tstate = wxPyBeginAllowThreads();
10536 (arg1)->DrawArc(arg2,arg3,arg4,arg5,arg6,arg7);
10537
10538 wxPyEndAllowThreads(__tstate);
10539 if (PyErr_Occurred()) SWIG_fail;
10540 }
10541 Py_INCREF(Py_None); resultobj = Py_None;
10542 return resultobj;
10543 fail:
10544 return NULL;
10545}
10546
10547
2f4c0a16 10548static PyObject *_wrap_DC_DrawArc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10549 PyObject *resultobj;
10550 wxDC *arg1 = (wxDC *) 0 ;
10551 wxPoint *arg2 = 0 ;
10552 wxPoint *arg3 = 0 ;
10553 wxPoint *arg4 = 0 ;
10554 wxPoint temp2 ;
10555 wxPoint temp3 ;
10556 wxPoint temp4 ;
10557 PyObject * obj0 = 0 ;
10558 PyObject * obj1 = 0 ;
10559 PyObject * obj2 = 0 ;
10560 PyObject * obj3 = 0 ;
10561 char *kwnames[] = {
10562 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10563 };
10564
10565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
10566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10568 {
10569 arg2 = &temp2;
10570 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10571 }
10572 {
10573 arg3 = &temp3;
10574 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10575 }
10576 {
10577 arg4 = &temp4;
10578 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10579 }
10580 {
10581 PyThreadState* __tstate = wxPyBeginAllowThreads();
10582 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
10583
10584 wxPyEndAllowThreads(__tstate);
10585 if (PyErr_Occurred()) SWIG_fail;
10586 }
10587 Py_INCREF(Py_None); resultobj = Py_None;
10588 return resultobj;
10589 fail:
10590 return NULL;
10591}
10592
10593
2f4c0a16 10594static PyObject *_wrap_DC_DrawCheckMarkXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10595 PyObject *resultobj;
10596 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
10597 int arg2 ;
10598 int arg3 ;
10599 int arg4 ;
10600 int arg5 ;
d14a1e28 10601 PyObject * obj0 = 0 ;
8edf1c75
RD
10602 PyObject * obj1 = 0 ;
10603 PyObject * obj2 = 0 ;
10604 PyObject * obj3 = 0 ;
10605 PyObject * obj4 = 0 ;
d14a1e28
RD
10606 char *kwnames[] = {
10607 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10608 };
10609
8edf1c75 10610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawCheckMarkXY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
10611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10613 arg2 = (int) SWIG_AsInt(obj1);
10614 if (PyErr_Occurred()) SWIG_fail;
10615 arg3 = (int) SWIG_AsInt(obj2);
10616 if (PyErr_Occurred()) SWIG_fail;
10617 arg4 = (int) SWIG_AsInt(obj3);
10618 if (PyErr_Occurred()) SWIG_fail;
10619 arg5 = (int) SWIG_AsInt(obj4);
10620 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10621 {
10622 PyThreadState* __tstate = wxPyBeginAllowThreads();
10623 (arg1)->DrawCheckMark(arg2,arg3,arg4,arg5);
10624
10625 wxPyEndAllowThreads(__tstate);
10626 if (PyErr_Occurred()) SWIG_fail;
10627 }
10628 Py_INCREF(Py_None); resultobj = Py_None;
10629 return resultobj;
10630 fail:
10631 return NULL;
10632}
10633
10634
2f4c0a16 10635static PyObject *_wrap_DC_DrawCheckMark(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10636 PyObject *resultobj;
10637 wxDC *arg1 = (wxDC *) 0 ;
10638 wxRect *arg2 = 0 ;
10639 wxRect temp2 ;
10640 PyObject * obj0 = 0 ;
10641 PyObject * obj1 = 0 ;
10642 char *kwnames[] = {
10643 (char *) "self",(char *) "rect", NULL
10644 };
10645
10646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawCheckMark",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10649 {
10650 arg2 = &temp2;
10651 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10652 }
10653 {
10654 PyThreadState* __tstate = wxPyBeginAllowThreads();
10655 (arg1)->DrawCheckMark((wxRect const &)*arg2);
10656
10657 wxPyEndAllowThreads(__tstate);
10658 if (PyErr_Occurred()) SWIG_fail;
10659 }
10660 Py_INCREF(Py_None); resultobj = Py_None;
10661 return resultobj;
10662 fail:
10663 return NULL;
10664}
10665
10666
2f4c0a16 10667static PyObject *_wrap_DC_DrawEllipticArcXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10668 PyObject *resultobj;
10669 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
10670 int arg2 ;
10671 int arg3 ;
10672 int arg4 ;
10673 int arg5 ;
d14a1e28
RD
10674 double arg6 ;
10675 double arg7 ;
10676 PyObject * obj0 = 0 ;
8edf1c75
RD
10677 PyObject * obj1 = 0 ;
10678 PyObject * obj2 = 0 ;
10679 PyObject * obj3 = 0 ;
10680 PyObject * obj4 = 0 ;
10681 PyObject * obj5 = 0 ;
10682 PyObject * obj6 = 0 ;
d14a1e28
RD
10683 char *kwnames[] = {
10684 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10685 };
10686
8edf1c75 10687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:DC_DrawEllipticArcXY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
10688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10690 arg2 = (int) SWIG_AsInt(obj1);
10691 if (PyErr_Occurred()) SWIG_fail;
10692 arg3 = (int) SWIG_AsInt(obj2);
10693 if (PyErr_Occurred()) SWIG_fail;
10694 arg4 = (int) SWIG_AsInt(obj3);
10695 if (PyErr_Occurred()) SWIG_fail;
10696 arg5 = (int) SWIG_AsInt(obj4);
10697 if (PyErr_Occurred()) SWIG_fail;
10698 arg6 = (double) SWIG_AsDouble(obj5);
10699 if (PyErr_Occurred()) SWIG_fail;
10700 arg7 = (double) SWIG_AsDouble(obj6);
10701 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
10702 {
10703 PyThreadState* __tstate = wxPyBeginAllowThreads();
10704 (arg1)->DrawEllipticArc(arg2,arg3,arg4,arg5,arg6,arg7);
10705
10706 wxPyEndAllowThreads(__tstate);
10707 if (PyErr_Occurred()) SWIG_fail;
10708 }
10709 Py_INCREF(Py_None); resultobj = Py_None;
10710 return resultobj;
10711 fail:
10712 return NULL;
10713}
10714
d14a1e28 10715
2f4c0a16 10716static PyObject *_wrap_DC_DrawEllipticArc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10717 PyObject *resultobj;
10718 wxDC *arg1 = (wxDC *) 0 ;
10719 wxPoint *arg2 = 0 ;
10720 wxSize *arg3 = 0 ;
10721 double arg4 ;
10722 double arg5 ;
10723 wxPoint temp2 ;
10724 wxSize temp3 ;
10725 PyObject * obj0 = 0 ;
10726 PyObject * obj1 = 0 ;
10727 PyObject * obj2 = 0 ;
8edf1c75
RD
10728 PyObject * obj3 = 0 ;
10729 PyObject * obj4 = 0 ;
d14a1e28
RD
10730 char *kwnames[] = {
10731 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10732 };
10733
8edf1c75 10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
10735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10737 {
10738 arg2 = &temp2;
10739 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10740 }
10741 {
10742 arg3 = &temp3;
10743 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
10744 }
2f4c0a16
RD
10745 arg4 = (double) SWIG_AsDouble(obj3);
10746 if (PyErr_Occurred()) SWIG_fail;
10747 arg5 = (double) SWIG_AsDouble(obj4);
10748 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10749 {
10750 PyThreadState* __tstate = wxPyBeginAllowThreads();
10751 (arg1)->DrawEllipticArc((wxPoint const &)*arg2,(wxSize const &)*arg3,arg4,arg5);
10752
10753 wxPyEndAllowThreads(__tstate);
10754 if (PyErr_Occurred()) SWIG_fail;
10755 }
10756 Py_INCREF(Py_None); resultobj = Py_None;
10757 return resultobj;
10758 fail:
10759 return NULL;
10760}
10761
10762
2f4c0a16 10763static PyObject *_wrap_DC_DrawPointXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10764 PyObject *resultobj;
10765 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
10766 int arg2 ;
10767 int arg3 ;
d14a1e28 10768 PyObject * obj0 = 0 ;
8edf1c75
RD
10769 PyObject * obj1 = 0 ;
10770 PyObject * obj2 = 0 ;
d14a1e28
RD
10771 char *kwnames[] = {
10772 (char *) "self",(char *) "x",(char *) "y", NULL
10773 };
10774
8edf1c75 10775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawPointXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10778 arg2 = (int) SWIG_AsInt(obj1);
10779 if (PyErr_Occurred()) SWIG_fail;
10780 arg3 = (int) SWIG_AsInt(obj2);
10781 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10782 {
10783 PyThreadState* __tstate = wxPyBeginAllowThreads();
10784 (arg1)->DrawPoint(arg2,arg3);
10785
10786 wxPyEndAllowThreads(__tstate);
10787 if (PyErr_Occurred()) SWIG_fail;
10788 }
10789 Py_INCREF(Py_None); resultobj = Py_None;
10790 return resultobj;
10791 fail:
10792 return NULL;
10793}
10794
10795
2f4c0a16 10796static PyObject *_wrap_DC_DrawPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10797 PyObject *resultobj;
10798 wxDC *arg1 = (wxDC *) 0 ;
10799 wxPoint *arg2 = 0 ;
10800 wxPoint temp2 ;
10801 PyObject * obj0 = 0 ;
10802 PyObject * obj1 = 0 ;
10803 char *kwnames[] = {
10804 (char *) "self",(char *) "pt", NULL
10805 };
10806
10807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10810 {
10811 arg2 = &temp2;
10812 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10813 }
10814 {
10815 PyThreadState* __tstate = wxPyBeginAllowThreads();
10816 (arg1)->DrawPoint((wxPoint const &)*arg2);
10817
10818 wxPyEndAllowThreads(__tstate);
10819 if (PyErr_Occurred()) SWIG_fail;
10820 }
10821 Py_INCREF(Py_None); resultobj = Py_None;
10822 return resultobj;
10823 fail:
10824 return NULL;
10825}
10826
10827
2f4c0a16 10828static PyObject *_wrap_DC_DrawRectangleXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10829 PyObject *resultobj;
10830 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
10831 int arg2 ;
10832 int arg3 ;
10833 int arg4 ;
10834 int arg5 ;
d14a1e28 10835 PyObject * obj0 = 0 ;
8edf1c75
RD
10836 PyObject * obj1 = 0 ;
10837 PyObject * obj2 = 0 ;
10838 PyObject * obj3 = 0 ;
10839 PyObject * obj4 = 0 ;
d14a1e28
RD
10840 char *kwnames[] = {
10841 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10842 };
10843
8edf1c75 10844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawRectangleXY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
10845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10847 arg2 = (int) SWIG_AsInt(obj1);
10848 if (PyErr_Occurred()) SWIG_fail;
10849 arg3 = (int) SWIG_AsInt(obj2);
10850 if (PyErr_Occurred()) SWIG_fail;
10851 arg4 = (int) SWIG_AsInt(obj3);
10852 if (PyErr_Occurred()) SWIG_fail;
10853 arg5 = (int) SWIG_AsInt(obj4);
10854 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10855 {
10856 PyThreadState* __tstate = wxPyBeginAllowThreads();
10857 (arg1)->DrawRectangle(arg2,arg3,arg4,arg5);
10858
10859 wxPyEndAllowThreads(__tstate);
10860 if (PyErr_Occurred()) SWIG_fail;
10861 }
10862 Py_INCREF(Py_None); resultobj = Py_None;
10863 return resultobj;
10864 fail:
10865 return NULL;
10866}
10867
10868
2f4c0a16 10869static PyObject *_wrap_DC_DrawRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10870 PyObject *resultobj;
10871 wxDC *arg1 = (wxDC *) 0 ;
10872 wxPoint *arg2 = 0 ;
10873 wxSize *arg3 = 0 ;
10874 wxPoint temp2 ;
10875 wxSize temp3 ;
10876 PyObject * obj0 = 0 ;
10877 PyObject * obj1 = 0 ;
10878 PyObject * obj2 = 0 ;
10879 char *kwnames[] = {
10880 (char *) "self",(char *) "pt",(char *) "sz", NULL
10881 };
10882
10883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawRectangle",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10886 {
10887 arg2 = &temp2;
10888 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10889 }
10890 {
10891 arg3 = &temp3;
10892 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
10893 }
10894 {
10895 PyThreadState* __tstate = wxPyBeginAllowThreads();
10896 (arg1)->DrawRectangle((wxPoint const &)*arg2,(wxSize const &)*arg3);
10897
10898 wxPyEndAllowThreads(__tstate);
10899 if (PyErr_Occurred()) SWIG_fail;
10900 }
10901 Py_INCREF(Py_None); resultobj = Py_None;
10902 return resultobj;
10903 fail:
10904 return NULL;
10905}
10906
10907
2f4c0a16 10908static PyObject *_wrap_DC_DrawRectangleRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10909 PyObject *resultobj;
10910 wxDC *arg1 = (wxDC *) 0 ;
10911 wxRect *arg2 = 0 ;
10912 wxRect temp2 ;
10913 PyObject * obj0 = 0 ;
10914 PyObject * obj1 = 0 ;
10915 char *kwnames[] = {
10916 (char *) "self",(char *) "rect", NULL
10917 };
10918
10919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawRectangleRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10922 {
10923 arg2 = &temp2;
10924 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10925 }
10926 {
10927 PyThreadState* __tstate = wxPyBeginAllowThreads();
10928 (arg1)->DrawRectangle((wxRect const &)*arg2);
10929
10930 wxPyEndAllowThreads(__tstate);
10931 if (PyErr_Occurred()) SWIG_fail;
10932 }
10933 Py_INCREF(Py_None); resultobj = Py_None;
10934 return resultobj;
10935 fail:
10936 return NULL;
10937}
10938
10939
2f4c0a16 10940static PyObject *_wrap_DC_DrawRoundedRectangleXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10941 PyObject *resultobj;
10942 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
10943 int arg2 ;
10944 int arg3 ;
10945 int arg4 ;
10946 int arg5 ;
d14a1e28
RD
10947 double arg6 ;
10948 PyObject * obj0 = 0 ;
8edf1c75
RD
10949 PyObject * obj1 = 0 ;
10950 PyObject * obj2 = 0 ;
10951 PyObject * obj3 = 0 ;
10952 PyObject * obj4 = 0 ;
10953 PyObject * obj5 = 0 ;
d14a1e28
RD
10954 char *kwnames[] = {
10955 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
10956 };
10957
8edf1c75 10958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:DC_DrawRoundedRectangleXY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
10959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10961 arg2 = (int) SWIG_AsInt(obj1);
10962 if (PyErr_Occurred()) SWIG_fail;
10963 arg3 = (int) SWIG_AsInt(obj2);
10964 if (PyErr_Occurred()) SWIG_fail;
10965 arg4 = (int) SWIG_AsInt(obj3);
10966 if (PyErr_Occurred()) SWIG_fail;
10967 arg5 = (int) SWIG_AsInt(obj4);
10968 if (PyErr_Occurred()) SWIG_fail;
10969 arg6 = (double) SWIG_AsDouble(obj5);
10970 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10971 {
10972 PyThreadState* __tstate = wxPyBeginAllowThreads();
10973 (arg1)->DrawRoundedRectangle(arg2,arg3,arg4,arg5,arg6);
10974
10975 wxPyEndAllowThreads(__tstate);
10976 if (PyErr_Occurred()) SWIG_fail;
10977 }
10978 Py_INCREF(Py_None); resultobj = Py_None;
10979 return resultobj;
10980 fail:
10981 return NULL;
10982}
10983
10984
2f4c0a16 10985static PyObject *_wrap_DC_DrawRoundedRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10986 PyObject *resultobj;
10987 wxDC *arg1 = (wxDC *) 0 ;
10988 wxPoint *arg2 = 0 ;
10989 wxSize *arg3 = 0 ;
10990 double arg4 ;
10991 wxPoint temp2 ;
10992 wxSize temp3 ;
10993 PyObject * obj0 = 0 ;
10994 PyObject * obj1 = 0 ;
10995 PyObject * obj2 = 0 ;
8edf1c75 10996 PyObject * obj3 = 0 ;
d14a1e28
RD
10997 char *kwnames[] = {
10998 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
10999 };
11000
8edf1c75 11001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
11002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11004 {
11005 arg2 = &temp2;
11006 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11007 }
11008 {
11009 arg3 = &temp3;
11010 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
11011 }
2f4c0a16
RD
11012 arg4 = (double) SWIG_AsDouble(obj3);
11013 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11014 {
11015 PyThreadState* __tstate = wxPyBeginAllowThreads();
11016 (arg1)->DrawRoundedRectangle((wxPoint const &)*arg2,(wxSize const &)*arg3,arg4);
11017
11018 wxPyEndAllowThreads(__tstate);
11019 if (PyErr_Occurred()) SWIG_fail;
11020 }
11021 Py_INCREF(Py_None); resultobj = Py_None;
11022 return resultobj;
11023 fail:
11024 return NULL;
11025}
11026
11027
2f4c0a16 11028static PyObject *_wrap_DC_DrawRoundedRectangleRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11029 PyObject *resultobj;
11030 wxDC *arg1 = (wxDC *) 0 ;
11031 wxRect *arg2 = 0 ;
11032 double arg3 ;
11033 wxRect temp2 ;
11034 PyObject * obj0 = 0 ;
11035 PyObject * obj1 = 0 ;
8edf1c75 11036 PyObject * obj2 = 0 ;
d14a1e28
RD
11037 char *kwnames[] = {
11038 (char *) "self",(char *) "r",(char *) "radius", NULL
11039 };
11040
8edf1c75 11041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11044 {
11045 arg2 = &temp2;
11046 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11047 }
2f4c0a16
RD
11048 arg3 = (double) SWIG_AsDouble(obj2);
11049 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11050 {
11051 PyThreadState* __tstate = wxPyBeginAllowThreads();
11052 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
11053
11054 wxPyEndAllowThreads(__tstate);
11055 if (PyErr_Occurred()) SWIG_fail;
11056 }
11057 Py_INCREF(Py_None); resultobj = Py_None;
11058 return resultobj;
11059 fail:
11060 return NULL;
11061}
11062
11063
2f4c0a16 11064static PyObject *_wrap_DC_DrawCircleXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11065 PyObject *resultobj;
11066 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
11067 int arg2 ;
11068 int arg3 ;
11069 int arg4 ;
d14a1e28 11070 PyObject * obj0 = 0 ;
8edf1c75
RD
11071 PyObject * obj1 = 0 ;
11072 PyObject * obj2 = 0 ;
11073 PyObject * obj3 = 0 ;
d14a1e28
RD
11074 char *kwnames[] = {
11075 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11076 };
11077
8edf1c75 11078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawCircleXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
11079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11081 arg2 = (int) SWIG_AsInt(obj1);
11082 if (PyErr_Occurred()) SWIG_fail;
11083 arg3 = (int) SWIG_AsInt(obj2);
11084 if (PyErr_Occurred()) SWIG_fail;
11085 arg4 = (int) SWIG_AsInt(obj3);
11086 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11087 {
11088 PyThreadState* __tstate = wxPyBeginAllowThreads();
11089 (arg1)->DrawCircle(arg2,arg3,arg4);
11090
11091 wxPyEndAllowThreads(__tstate);
11092 if (PyErr_Occurred()) SWIG_fail;
11093 }
11094 Py_INCREF(Py_None); resultobj = Py_None;
11095 return resultobj;
11096 fail:
11097 return NULL;
11098}
11099
11100
2f4c0a16 11101static PyObject *_wrap_DC_DrawCircle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11102 PyObject *resultobj;
11103 wxDC *arg1 = (wxDC *) 0 ;
11104 wxPoint *arg2 = 0 ;
423f194a 11105 int arg3 ;
d14a1e28
RD
11106 wxPoint temp2 ;
11107 PyObject * obj0 = 0 ;
11108 PyObject * obj1 = 0 ;
8edf1c75 11109 PyObject * obj2 = 0 ;
d14a1e28
RD
11110 char *kwnames[] = {
11111 (char *) "self",(char *) "pt",(char *) "radius", NULL
11112 };
11113
8edf1c75 11114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawCircle",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11117 {
11118 arg2 = &temp2;
11119 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11120 }
2f4c0a16
RD
11121 arg3 = (int) SWIG_AsInt(obj2);
11122 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11123 {
11124 PyThreadState* __tstate = wxPyBeginAllowThreads();
11125 (arg1)->DrawCircle((wxPoint const &)*arg2,arg3);
11126
11127 wxPyEndAllowThreads(__tstate);
11128 if (PyErr_Occurred()) SWIG_fail;
11129 }
11130 Py_INCREF(Py_None); resultobj = Py_None;
11131 return resultobj;
11132 fail:
11133 return NULL;
11134}
11135
11136
2f4c0a16 11137static PyObject *_wrap_DC_DrawEllipseXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11138 PyObject *resultobj;
11139 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
11140 int arg2 ;
11141 int arg3 ;
11142 int arg4 ;
11143 int arg5 ;
d14a1e28 11144 PyObject * obj0 = 0 ;
8edf1c75
RD
11145 PyObject * obj1 = 0 ;
11146 PyObject * obj2 = 0 ;
11147 PyObject * obj3 = 0 ;
11148 PyObject * obj4 = 0 ;
d14a1e28
RD
11149 char *kwnames[] = {
11150 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11151 };
11152
8edf1c75 11153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawEllipseXY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11156 arg2 = (int) SWIG_AsInt(obj1);
11157 if (PyErr_Occurred()) SWIG_fail;
11158 arg3 = (int) SWIG_AsInt(obj2);
11159 if (PyErr_Occurred()) SWIG_fail;
11160 arg4 = (int) SWIG_AsInt(obj3);
11161 if (PyErr_Occurred()) SWIG_fail;
11162 arg5 = (int) SWIG_AsInt(obj4);
11163 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11164 {
11165 PyThreadState* __tstate = wxPyBeginAllowThreads();
11166 (arg1)->DrawEllipse(arg2,arg3,arg4,arg5);
11167
11168 wxPyEndAllowThreads(__tstate);
11169 if (PyErr_Occurred()) SWIG_fail;
11170 }
11171 Py_INCREF(Py_None); resultobj = Py_None;
11172 return resultobj;
11173 fail:
11174 return NULL;
11175}
11176
11177
2f4c0a16 11178static PyObject *_wrap_DC_DrawEllipse(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11179 PyObject *resultobj;
11180 wxDC *arg1 = (wxDC *) 0 ;
11181 wxPoint *arg2 = 0 ;
11182 wxSize *arg3 = 0 ;
11183 wxPoint temp2 ;
11184 wxSize temp3 ;
11185 PyObject * obj0 = 0 ;
11186 PyObject * obj1 = 0 ;
11187 PyObject * obj2 = 0 ;
11188 char *kwnames[] = {
11189 (char *) "self",(char *) "pt",(char *) "sz", NULL
11190 };
11191
11192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawEllipse",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11195 {
11196 arg2 = &temp2;
11197 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11198 }
11199 {
11200 arg3 = &temp3;
11201 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
11202 }
11203 {
11204 PyThreadState* __tstate = wxPyBeginAllowThreads();
11205 (arg1)->DrawEllipse((wxPoint const &)*arg2,(wxSize const &)*arg3);
11206
11207 wxPyEndAllowThreads(__tstate);
11208 if (PyErr_Occurred()) SWIG_fail;
11209 }
11210 Py_INCREF(Py_None); resultobj = Py_None;
11211 return resultobj;
11212 fail:
11213 return NULL;
11214}
11215
11216
2f4c0a16 11217static PyObject *_wrap_DC_DrawEllipseRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11218 PyObject *resultobj;
11219 wxDC *arg1 = (wxDC *) 0 ;
11220 wxRect *arg2 = 0 ;
11221 wxRect temp2 ;
11222 PyObject * obj0 = 0 ;
11223 PyObject * obj1 = 0 ;
11224 char *kwnames[] = {
11225 (char *) "self",(char *) "rect", NULL
11226 };
11227
11228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawEllipseRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11231 {
11232 arg2 = &temp2;
11233 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11234 }
11235 {
11236 PyThreadState* __tstate = wxPyBeginAllowThreads();
11237 (arg1)->DrawEllipse((wxRect const &)*arg2);
11238
11239 wxPyEndAllowThreads(__tstate);
11240 if (PyErr_Occurred()) SWIG_fail;
11241 }
11242 Py_INCREF(Py_None); resultobj = Py_None;
11243 return resultobj;
11244 fail:
11245 return NULL;
11246}
11247
11248
2f4c0a16 11249static PyObject *_wrap_DC_DrawIconXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11250 PyObject *resultobj;
11251 wxDC *arg1 = (wxDC *) 0 ;
11252 wxIcon *arg2 = 0 ;
423f194a
RD
11253 int arg3 ;
11254 int arg4 ;
d14a1e28
RD
11255 PyObject * obj0 = 0 ;
11256 PyObject * obj1 = 0 ;
8edf1c75
RD
11257 PyObject * obj2 = 0 ;
11258 PyObject * obj3 = 0 ;
d14a1e28
RD
11259 char *kwnames[] = {
11260 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11261 };
11262
8edf1c75 11263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawIconXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
11264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11266 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11267 SWIG_POINTER_EXCEPTION | 0)) == -1)
11268 SWIG_fail;
d14a1e28 11269 if (arg2 == NULL) {
2f4c0a16
RD
11270 PyErr_SetString(PyExc_TypeError,"null reference");
11271 SWIG_fail;
8edf1c75 11272 }
2f4c0a16
RD
11273 arg3 = (int) SWIG_AsInt(obj2);
11274 if (PyErr_Occurred()) SWIG_fail;
11275 arg4 = (int) SWIG_AsInt(obj3);
11276 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11277 {
11278 PyThreadState* __tstate = wxPyBeginAllowThreads();
11279 (arg1)->DrawIcon((wxIcon const &)*arg2,arg3,arg4);
11280
11281 wxPyEndAllowThreads(__tstate);
11282 if (PyErr_Occurred()) SWIG_fail;
11283 }
11284 Py_INCREF(Py_None); resultobj = Py_None;
11285 return resultobj;
11286 fail:
11287 return NULL;
11288}
11289
11290
2f4c0a16 11291static PyObject *_wrap_DC_DrawIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11292 PyObject *resultobj;
11293 wxDC *arg1 = (wxDC *) 0 ;
11294 wxIcon *arg2 = 0 ;
11295 wxPoint *arg3 = 0 ;
11296 wxPoint temp3 ;
11297 PyObject * obj0 = 0 ;
11298 PyObject * obj1 = 0 ;
11299 PyObject * obj2 = 0 ;
11300 char *kwnames[] = {
11301 (char *) "self",(char *) "icon",(char *) "pt", NULL
11302 };
11303
11304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11307 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11308 SWIG_POINTER_EXCEPTION | 0)) == -1)
11309 SWIG_fail;
d14a1e28 11310 if (arg2 == NULL) {
2f4c0a16
RD
11311 PyErr_SetString(PyExc_TypeError,"null reference");
11312 SWIG_fail;
d14a1e28
RD
11313 }
11314 {
11315 arg3 = &temp3;
11316 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11317 }
11318 {
11319 PyThreadState* __tstate = wxPyBeginAllowThreads();
11320 (arg1)->DrawIcon((wxIcon const &)*arg2,(wxPoint const &)*arg3);
11321
11322 wxPyEndAllowThreads(__tstate);
11323 if (PyErr_Occurred()) SWIG_fail;
11324 }
11325 Py_INCREF(Py_None); resultobj = Py_None;
11326 return resultobj;
11327 fail:
11328 return NULL;
11329}
11330
11331
2f4c0a16 11332static PyObject *_wrap_DC_DrawBitmapXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11333 PyObject *resultobj;
11334 wxDC *arg1 = (wxDC *) 0 ;
11335 wxBitmap *arg2 = 0 ;
423f194a
RD
11336 int arg3 ;
11337 int arg4 ;
11338 bool arg5 = (bool) False ;
d14a1e28
RD
11339 PyObject * obj0 = 0 ;
11340 PyObject * obj1 = 0 ;
8edf1c75
RD
11341 PyObject * obj2 = 0 ;
11342 PyObject * obj3 = 0 ;
d14a1e28
RD
11343 PyObject * obj4 = 0 ;
11344 char *kwnames[] = {
11345 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11346 };
11347
8edf1c75 11348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:DC_DrawBitmapXY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11351 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
11352 SWIG_POINTER_EXCEPTION | 0)) == -1)
11353 SWIG_fail;
d14a1e28 11354 if (arg2 == NULL) {
2f4c0a16
RD
11355 PyErr_SetString(PyExc_TypeError,"null reference");
11356 SWIG_fail;
8edf1c75 11357 }
2f4c0a16
RD
11358 arg3 = (int) SWIG_AsInt(obj2);
11359 if (PyErr_Occurred()) SWIG_fail;
11360 arg4 = (int) SWIG_AsInt(obj3);
11361 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11362 if (obj4) {
2f4c0a16
RD
11363 arg5 = (bool) SWIG_AsBool(obj4);
11364 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11365 }
11366 {
11367 PyThreadState* __tstate = wxPyBeginAllowThreads();
11368 (arg1)->DrawBitmap((wxBitmap const &)*arg2,arg3,arg4,arg5);
11369
11370 wxPyEndAllowThreads(__tstate);
11371 if (PyErr_Occurred()) SWIG_fail;
11372 }
11373 Py_INCREF(Py_None); resultobj = Py_None;
11374 return resultobj;
11375 fail:
11376 return NULL;
11377}
11378
11379
2f4c0a16 11380static PyObject *_wrap_DC_DrawBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11381 PyObject *resultobj;
11382 wxDC *arg1 = (wxDC *) 0 ;
11383 wxBitmap *arg2 = 0 ;
11384 wxPoint *arg3 = 0 ;
423f194a 11385 bool arg4 = (bool) False ;
d14a1e28
RD
11386 wxPoint temp3 ;
11387 PyObject * obj0 = 0 ;
11388 PyObject * obj1 = 0 ;
11389 PyObject * obj2 = 0 ;
11390 PyObject * obj3 = 0 ;
11391 char *kwnames[] = {
11392 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11393 };
11394
11395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:DC_DrawBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
11396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11398 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
11399 SWIG_POINTER_EXCEPTION | 0)) == -1)
11400 SWIG_fail;
d14a1e28 11401 if (arg2 == NULL) {
2f4c0a16
RD
11402 PyErr_SetString(PyExc_TypeError,"null reference");
11403 SWIG_fail;
d14a1e28
RD
11404 }
11405 {
11406 arg3 = &temp3;
11407 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11408 }
11409 if (obj3) {
2f4c0a16
RD
11410 arg4 = (bool) SWIG_AsBool(obj3);
11411 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11412 }
11413 {
11414 PyThreadState* __tstate = wxPyBeginAllowThreads();
11415 (arg1)->DrawBitmap((wxBitmap const &)*arg2,(wxPoint const &)*arg3,arg4);
11416
11417 wxPyEndAllowThreads(__tstate);
11418 if (PyErr_Occurred()) SWIG_fail;
11419 }
11420 Py_INCREF(Py_None); resultobj = Py_None;
11421 return resultobj;
11422 fail:
11423 return NULL;
11424}
11425
11426
2f4c0a16 11427static PyObject *_wrap_DC_DrawTextXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11428 PyObject *resultobj;
11429 wxDC *arg1 = (wxDC *) 0 ;
11430 wxString *arg2 = 0 ;
423f194a
RD
11431 int arg3 ;
11432 int arg4 ;
11433 bool temp2 = False ;
d14a1e28
RD
11434 PyObject * obj0 = 0 ;
11435 PyObject * obj1 = 0 ;
8edf1c75
RD
11436 PyObject * obj2 = 0 ;
11437 PyObject * obj3 = 0 ;
d14a1e28
RD
11438 char *kwnames[] = {
11439 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11440 };
11441
8edf1c75 11442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawTextXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
11443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11445 {
11446 arg2 = wxString_in_helper(obj1);
11447 if (arg2 == NULL) SWIG_fail;
423f194a 11448 temp2 = True;
d14a1e28 11449 }
2f4c0a16
RD
11450 arg3 = (int) SWIG_AsInt(obj2);
11451 if (PyErr_Occurred()) SWIG_fail;
11452 arg4 = (int) SWIG_AsInt(obj3);
11453 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11454 {
11455 PyThreadState* __tstate = wxPyBeginAllowThreads();
11456 (arg1)->DrawText((wxString const &)*arg2,arg3,arg4);
11457
11458 wxPyEndAllowThreads(__tstate);
11459 if (PyErr_Occurred()) SWIG_fail;
11460 }
11461 Py_INCREF(Py_None); resultobj = Py_None;
11462 {
11463 if (temp2)
11464 delete arg2;
11465 }
11466 return resultobj;
11467 fail:
11468 {
11469 if (temp2)
11470 delete arg2;
11471 }
11472 return NULL;
11473}
11474
11475
2f4c0a16 11476static PyObject *_wrap_DC_DrawText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11477 PyObject *resultobj;
11478 wxDC *arg1 = (wxDC *) 0 ;
11479 wxString *arg2 = 0 ;
11480 wxPoint *arg3 = 0 ;
423f194a 11481 bool temp2 = False ;
d14a1e28
RD
11482 wxPoint temp3 ;
11483 PyObject * obj0 = 0 ;
11484 PyObject * obj1 = 0 ;
11485 PyObject * obj2 = 0 ;
11486 char *kwnames[] = {
11487 (char *) "self",(char *) "text",(char *) "pt", NULL
11488 };
11489
11490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11493 {
11494 arg2 = wxString_in_helper(obj1);
11495 if (arg2 == NULL) SWIG_fail;
423f194a 11496 temp2 = True;
d14a1e28
RD
11497 }
11498 {
11499 arg3 = &temp3;
11500 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11501 }
11502 {
11503 PyThreadState* __tstate = wxPyBeginAllowThreads();
11504 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
11505
11506 wxPyEndAllowThreads(__tstate);
11507 if (PyErr_Occurred()) SWIG_fail;
11508 }
11509 Py_INCREF(Py_None); resultobj = Py_None;
11510 {
11511 if (temp2)
11512 delete arg2;
11513 }
11514 return resultobj;
11515 fail:
11516 {
11517 if (temp2)
11518 delete arg2;
11519 }
11520 return NULL;
11521}
11522
11523
2f4c0a16 11524static PyObject *_wrap_DC_DrawRotatedTextXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11525 PyObject *resultobj;
11526 wxDC *arg1 = (wxDC *) 0 ;
11527 wxString *arg2 = 0 ;
423f194a
RD
11528 int arg3 ;
11529 int arg4 ;
d14a1e28 11530 double arg5 ;
423f194a 11531 bool temp2 = False ;
d14a1e28
RD
11532 PyObject * obj0 = 0 ;
11533 PyObject * obj1 = 0 ;
8edf1c75
RD
11534 PyObject * obj2 = 0 ;
11535 PyObject * obj3 = 0 ;
11536 PyObject * obj4 = 0 ;
d14a1e28
RD
11537 char *kwnames[] = {
11538 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11539 };
11540
8edf1c75 11541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawRotatedTextXY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11544 {
11545 arg2 = wxString_in_helper(obj1);
11546 if (arg2 == NULL) SWIG_fail;
423f194a 11547 temp2 = True;
d14a1e28 11548 }
2f4c0a16
RD
11549 arg3 = (int) SWIG_AsInt(obj2);
11550 if (PyErr_Occurred()) SWIG_fail;
11551 arg4 = (int) SWIG_AsInt(obj3);
11552 if (PyErr_Occurred()) SWIG_fail;
11553 arg5 = (double) SWIG_AsDouble(obj4);
11554 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11555 {
11556 PyThreadState* __tstate = wxPyBeginAllowThreads();
11557 (arg1)->DrawRotatedText((wxString const &)*arg2,arg3,arg4,arg5);
11558
11559 wxPyEndAllowThreads(__tstate);
11560 if (PyErr_Occurred()) SWIG_fail;
11561 }
11562 Py_INCREF(Py_None); resultobj = Py_None;
11563 {
11564 if (temp2)
11565 delete arg2;
11566 }
11567 return resultobj;
11568 fail:
11569 {
11570 if (temp2)
11571 delete arg2;
11572 }
11573 return NULL;
11574}
11575
11576
2f4c0a16 11577static PyObject *_wrap_DC_DrawRotatedText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11578 PyObject *resultobj;
11579 wxDC *arg1 = (wxDC *) 0 ;
11580 wxString *arg2 = 0 ;
11581 wxPoint *arg3 = 0 ;
11582 double arg4 ;
423f194a 11583 bool temp2 = False ;
d14a1e28
RD
11584 wxPoint temp3 ;
11585 PyObject * obj0 = 0 ;
11586 PyObject * obj1 = 0 ;
11587 PyObject * obj2 = 0 ;
8edf1c75 11588 PyObject * obj3 = 0 ;
d14a1e28
RD
11589 char *kwnames[] = {
11590 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11591 };
11592
8edf1c75 11593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawRotatedText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
11594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11596 {
11597 arg2 = wxString_in_helper(obj1);
11598 if (arg2 == NULL) SWIG_fail;
423f194a 11599 temp2 = True;
d14a1e28
RD
11600 }
11601 {
11602 arg3 = &temp3;
11603 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11604 }
2f4c0a16
RD
11605 arg4 = (double) SWIG_AsDouble(obj3);
11606 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11607 {
11608 PyThreadState* __tstate = wxPyBeginAllowThreads();
11609 (arg1)->DrawRotatedText((wxString const &)*arg2,(wxPoint const &)*arg3,arg4);
11610
11611 wxPyEndAllowThreads(__tstate);
11612 if (PyErr_Occurred()) SWIG_fail;
11613 }
11614 Py_INCREF(Py_None); resultobj = Py_None;
11615 {
11616 if (temp2)
11617 delete arg2;
11618 }
11619 return resultobj;
11620 fail:
11621 {
11622 if (temp2)
11623 delete arg2;
11624 }
11625 return NULL;
11626}
11627
11628
2f4c0a16 11629static PyObject *_wrap_DC_BlitXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11630 PyObject *resultobj;
11631 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
11632 int arg2 ;
11633 int arg3 ;
11634 int arg4 ;
11635 int arg5 ;
d14a1e28 11636 wxDC *arg6 = (wxDC *) 0 ;
423f194a
RD
11637 int arg7 ;
11638 int arg8 ;
d14a1e28 11639 int arg9 = (int) wxCOPY ;
423f194a
RD
11640 bool arg10 = (bool) False ;
11641 int arg11 = (int) -1 ;
11642 int arg12 = (int) -1 ;
d14a1e28
RD
11643 bool result;
11644 PyObject * obj0 = 0 ;
8edf1c75
RD
11645 PyObject * obj1 = 0 ;
11646 PyObject * obj2 = 0 ;
11647 PyObject * obj3 = 0 ;
11648 PyObject * obj4 = 0 ;
d14a1e28 11649 PyObject * obj5 = 0 ;
8edf1c75
RD
11650 PyObject * obj6 = 0 ;
11651 PyObject * obj7 = 0 ;
11652 PyObject * obj8 = 0 ;
d14a1e28 11653 PyObject * obj9 = 0 ;
8edf1c75
RD
11654 PyObject * obj10 = 0 ;
11655 PyObject * obj11 = 0 ;
d14a1e28
RD
11656 char *kwnames[] = {
11657 (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
11658 };
11659
8edf1c75 11660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO|OOOO:DC_BlitXY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11)) goto fail;
2f4c0a16
RD
11661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11663 arg2 = (int) SWIG_AsInt(obj1);
11664 if (PyErr_Occurred()) SWIG_fail;
11665 arg3 = (int) SWIG_AsInt(obj2);
11666 if (PyErr_Occurred()) SWIG_fail;
11667 arg4 = (int) SWIG_AsInt(obj3);
11668 if (PyErr_Occurred()) SWIG_fail;
11669 arg5 = (int) SWIG_AsInt(obj4);
11670 if (PyErr_Occurred()) SWIG_fail;
11671 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxDC,
11672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11673 arg7 = (int) SWIG_AsInt(obj6);
11674 if (PyErr_Occurred()) SWIG_fail;
11675 arg8 = (int) SWIG_AsInt(obj7);
11676 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11677 if (obj8) {
2f4c0a16
RD
11678 arg9 = (int) SWIG_AsInt(obj8);
11679 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11680 }
d14a1e28 11681 if (obj9) {
2f4c0a16
RD
11682 arg10 = (bool) SWIG_AsBool(obj9);
11683 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11684 }
11685 if (obj10) {
2f4c0a16
RD
11686 arg11 = (int) SWIG_AsInt(obj10);
11687 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11688 }
11689 if (obj11) {
2f4c0a16
RD
11690 arg12 = (int) SWIG_AsInt(obj11);
11691 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11692 }
11693 {
11694 PyThreadState* __tstate = wxPyBeginAllowThreads();
11695 result = (bool)(arg1)->Blit(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
11696
11697 wxPyEndAllowThreads(__tstate);
11698 if (PyErr_Occurred()) SWIG_fail;
11699 }
02a34c4c 11700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11701 return resultobj;
11702 fail:
11703 return NULL;
11704}
11705
11706
2f4c0a16 11707static PyObject *_wrap_DC_Blit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11708 PyObject *resultobj;
11709 wxDC *arg1 = (wxDC *) 0 ;
11710 wxPoint *arg2 = 0 ;
11711 wxSize *arg3 = 0 ;
11712 wxDC *arg4 = (wxDC *) 0 ;
11713 wxPoint *arg5 = 0 ;
11714 int arg6 = (int) wxCOPY ;
423f194a 11715 bool arg7 = (bool) False ;
d14a1e28
RD
11716 wxPoint const &arg8_defvalue = wxDefaultPosition ;
11717 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
11718 bool result;
11719 wxPoint temp2 ;
11720 wxSize temp3 ;
11721 wxPoint temp5 ;
11722 wxPoint temp8 ;
11723 PyObject * obj0 = 0 ;
11724 PyObject * obj1 = 0 ;
11725 PyObject * obj2 = 0 ;
11726 PyObject * obj3 = 0 ;
11727 PyObject * obj4 = 0 ;
8edf1c75 11728 PyObject * obj5 = 0 ;
d14a1e28
RD
11729 PyObject * obj6 = 0 ;
11730 PyObject * obj7 = 0 ;
11731 char *kwnames[] = {
11732 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11733 };
11734
8edf1c75 11735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:DC_Blit",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
11736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11738 {
11739 arg2 = &temp2;
11740 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11741 }
11742 {
11743 arg3 = &temp3;
11744 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
11745 }
2f4c0a16
RD
11746 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDC,
11747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11748 {
11749 arg5 = &temp5;
11750 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11751 }
8edf1c75 11752 if (obj5) {
2f4c0a16
RD
11753 arg6 = (int) SWIG_AsInt(obj5);
11754 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11755 }
d14a1e28 11756 if (obj6) {
2f4c0a16
RD
11757 arg7 = (bool) SWIG_AsBool(obj6);
11758 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11759 }
11760 if (obj7) {
11761 {
11762 arg8 = &temp8;
11763 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
11764 }
11765 }
11766 {
11767 PyThreadState* __tstate = wxPyBeginAllowThreads();
11768 result = (bool)(arg1)->Blit((wxPoint const &)*arg2,(wxSize const &)*arg3,arg4,(wxPoint const &)*arg5,arg6,arg7,(wxPoint const &)*arg8);
11769
11770 wxPyEndAllowThreads(__tstate);
11771 if (PyErr_Occurred()) SWIG_fail;
11772 }
02a34c4c 11773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11774 return resultobj;
11775 fail:
11776 return NULL;
11777}
11778
11779
2f4c0a16 11780static PyObject *_wrap_DC_DrawLines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11781 PyObject *resultobj;
11782 wxDC *arg1 = (wxDC *) 0 ;
11783 int arg2 ;
11784 wxPoint *arg3 = (wxPoint *) 0 ;
423f194a
RD
11785 int arg4 = (int) 0 ;
11786 int arg5 = (int) 0 ;
d14a1e28
RD
11787 PyObject * obj0 = 0 ;
11788 PyObject * obj1 = 0 ;
8edf1c75
RD
11789 PyObject * obj2 = 0 ;
11790 PyObject * obj3 = 0 ;
d14a1e28
RD
11791 char *kwnames[] = {
11792 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
11793 };
11794
8edf1c75 11795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DC_DrawLines",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
11796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11798 {
11799 arg3 = wxPoint_LIST_helper(obj1, &arg2);
11800 if (arg3 == NULL) SWIG_fail;
11801 }
8edf1c75 11802 if (obj2) {
2f4c0a16
RD
11803 arg4 = (int) SWIG_AsInt(obj2);
11804 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11805 }
11806 if (obj3) {
2f4c0a16
RD
11807 arg5 = (int) SWIG_AsInt(obj3);
11808 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11809 }
d14a1e28
RD
11810 {
11811 PyThreadState* __tstate = wxPyBeginAllowThreads();
11812 (arg1)->DrawLines(arg2,arg3,arg4,arg5);
11813
11814 wxPyEndAllowThreads(__tstate);
11815 if (PyErr_Occurred()) SWIG_fail;
11816 }
11817 Py_INCREF(Py_None); resultobj = Py_None;
11818 {
11819 if (arg3) delete [] arg3;
11820 }
11821 return resultobj;
11822 fail:
11823 {
11824 if (arg3) delete [] arg3;
11825 }
11826 return NULL;
11827}
11828
11829
2f4c0a16 11830static PyObject *_wrap_DC_DrawPolygon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11831 PyObject *resultobj;
11832 wxDC *arg1 = (wxDC *) 0 ;
11833 int arg2 ;
11834 wxPoint *arg3 = (wxPoint *) 0 ;
423f194a
RD
11835 int arg4 = (int) 0 ;
11836 int arg5 = (int) 0 ;
d14a1e28
RD
11837 int arg6 = (int) wxODDEVEN_RULE ;
11838 PyObject * obj0 = 0 ;
11839 PyObject * obj1 = 0 ;
8edf1c75
RD
11840 PyObject * obj2 = 0 ;
11841 PyObject * obj3 = 0 ;
11842 PyObject * obj4 = 0 ;
d14a1e28
RD
11843 char *kwnames[] = {
11844 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
11845 };
11846
8edf1c75 11847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DC_DrawPolygon",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11850 {
11851 arg3 = wxPoint_LIST_helper(obj1, &arg2);
11852 if (arg3 == NULL) SWIG_fail;
11853 }
8edf1c75 11854 if (obj2) {
2f4c0a16
RD
11855 arg4 = (int) SWIG_AsInt(obj2);
11856 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11857 }
11858 if (obj3) {
2f4c0a16
RD
11859 arg5 = (int) SWIG_AsInt(obj3);
11860 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11861 }
11862 if (obj4) {
2f4c0a16
RD
11863 arg6 = (int) SWIG_AsInt(obj4);
11864 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11865 }
d14a1e28
RD
11866 {
11867 PyThreadState* __tstate = wxPyBeginAllowThreads();
11868 (arg1)->DrawPolygon(arg2,arg3,arg4,arg5,arg6);
11869
11870 wxPyEndAllowThreads(__tstate);
11871 if (PyErr_Occurred()) SWIG_fail;
11872 }
11873 Py_INCREF(Py_None); resultobj = Py_None;
11874 {
11875 if (arg3) delete [] arg3;
11876 }
11877 return resultobj;
11878 fail:
11879 {
11880 if (arg3) delete [] arg3;
11881 }
11882 return NULL;
11883}
11884
11885
2f4c0a16 11886static PyObject *_wrap_DC_DrawLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11887 PyObject *resultobj;
11888 wxDC *arg1 = (wxDC *) 0 ;
11889 wxString *arg2 = 0 ;
11890 wxRect *arg3 = 0 ;
11891 int arg4 = (int) wxALIGN_LEFT|wxALIGN_TOP ;
11892 int arg5 = (int) -1 ;
423f194a 11893 bool temp2 = False ;
d14a1e28
RD
11894 wxRect temp3 ;
11895 PyObject * obj0 = 0 ;
11896 PyObject * obj1 = 0 ;
11897 PyObject * obj2 = 0 ;
8edf1c75
RD
11898 PyObject * obj3 = 0 ;
11899 PyObject * obj4 = 0 ;
d14a1e28
RD
11900 char *kwnames[] = {
11901 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
11902 };
11903
8edf1c75 11904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DC_DrawLabel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11907 {
11908 arg2 = wxString_in_helper(obj1);
11909 if (arg2 == NULL) SWIG_fail;
423f194a 11910 temp2 = True;
d14a1e28
RD
11911 }
11912 {
11913 arg3 = &temp3;
11914 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
11915 }
8edf1c75 11916 if (obj3) {
2f4c0a16
RD
11917 arg4 = (int) SWIG_AsInt(obj3);
11918 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11919 }
11920 if (obj4) {
2f4c0a16
RD
11921 arg5 = (int) SWIG_AsInt(obj4);
11922 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11923 }
d14a1e28
RD
11924 {
11925 PyThreadState* __tstate = wxPyBeginAllowThreads();
11926 (arg1)->DrawLabel((wxString const &)*arg2,(wxRect const &)*arg3,arg4,arg5);
11927
11928 wxPyEndAllowThreads(__tstate);
11929 if (PyErr_Occurred()) SWIG_fail;
11930 }
11931 Py_INCREF(Py_None); resultobj = Py_None;
11932 {
11933 if (temp2)
11934 delete arg2;
11935 }
11936 return resultobj;
11937 fail:
11938 {
11939 if (temp2)
11940 delete arg2;
11941 }
11942 return NULL;
11943}
11944
11945
2f4c0a16 11946static PyObject *_wrap_DC_DrawImageLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11947 PyObject *resultobj;
11948 wxDC *arg1 = (wxDC *) 0 ;
11949 wxString *arg2 = 0 ;
11950 wxBitmap *arg3 = 0 ;
11951 wxRect *arg4 = 0 ;
11952 int arg5 = (int) wxALIGN_LEFT|wxALIGN_TOP ;
11953 int arg6 = (int) -1 ;
11954 wxRect result;
423f194a 11955 bool temp2 = False ;
d14a1e28
RD
11956 wxRect temp4 ;
11957 PyObject * obj0 = 0 ;
11958 PyObject * obj1 = 0 ;
11959 PyObject * obj2 = 0 ;
11960 PyObject * obj3 = 0 ;
8edf1c75
RD
11961 PyObject * obj4 = 0 ;
11962 PyObject * obj5 = 0 ;
d14a1e28
RD
11963 char *kwnames[] = {
11964 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
11965 };
11966
8edf1c75 11967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
11968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11970 {
11971 arg2 = wxString_in_helper(obj1);
11972 if (arg2 == NULL) SWIG_fail;
423f194a 11973 temp2 = True;
d14a1e28 11974 }
2f4c0a16
RD
11975 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
11976 SWIG_POINTER_EXCEPTION | 0)) == -1)
11977 SWIG_fail;
d14a1e28 11978 if (arg3 == NULL) {
2f4c0a16
RD
11979 PyErr_SetString(PyExc_TypeError,"null reference");
11980 SWIG_fail;
d14a1e28
RD
11981 }
11982 {
11983 arg4 = &temp4;
11984 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
11985 }
8edf1c75 11986 if (obj4) {
2f4c0a16
RD
11987 arg5 = (int) SWIG_AsInt(obj4);
11988 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11989 }
11990 if (obj5) {
2f4c0a16
RD
11991 arg6 = (int) SWIG_AsInt(obj5);
11992 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11993 }
d14a1e28
RD
11994 {
11995 PyThreadState* __tstate = wxPyBeginAllowThreads();
11996 result = wxDC_DrawImageLabel(arg1,(wxString const &)*arg2,(wxBitmap const &)*arg3,(wxRect const &)*arg4,arg5,arg6);
11997
11998 wxPyEndAllowThreads(__tstate);
11999 if (PyErr_Occurred()) SWIG_fail;
12000 }
12001 {
12002 wxRect * resultptr;
12003 resultptr = new wxRect((wxRect &) result);
2f4c0a16 12004 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
12005 }
12006 {
12007 if (temp2)
12008 delete arg2;
12009 }
12010 return resultobj;
12011 fail:
12012 {
12013 if (temp2)
12014 delete arg2;
12015 }
12016 return NULL;
12017}
12018
12019
2f4c0a16 12020static PyObject *_wrap_DC_DrawSpline(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12021 PyObject *resultobj;
12022 wxDC *arg1 = (wxDC *) 0 ;
12023 int arg2 ;
12024 wxPoint *arg3 = (wxPoint *) 0 ;
12025 PyObject * obj0 = 0 ;
12026 PyObject * obj1 = 0 ;
12027 char *kwnames[] = {
12028 (char *) "self",(char *) "points", NULL
12029 };
12030
12031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawSpline",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12034 {
12035 arg3 = wxPoint_LIST_helper(obj1, &arg2);
12036 if (arg3 == NULL) SWIG_fail;
12037 }
12038 {
12039 PyThreadState* __tstate = wxPyBeginAllowThreads();
12040 (arg1)->DrawSpline(arg2,arg3);
12041
12042 wxPyEndAllowThreads(__tstate);
12043 if (PyErr_Occurred()) SWIG_fail;
12044 }
12045 Py_INCREF(Py_None); resultobj = Py_None;
12046 {
12047 if (arg3) delete [] arg3;
12048 }
12049 return resultobj;
12050 fail:
12051 {
12052 if (arg3) delete [] arg3;
12053 }
12054 return NULL;
12055}
12056
12057
2f4c0a16 12058static PyObject *_wrap_DC_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12059 PyObject *resultobj;
12060 wxDC *arg1 = (wxDC *) 0 ;
12061 PyObject * obj0 = 0 ;
12062 char *kwnames[] = {
12063 (char *) "self", NULL
12064 };
12065
12066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_Clear",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12069 {
12070 PyThreadState* __tstate = wxPyBeginAllowThreads();
12071 (arg1)->Clear();
12072
12073 wxPyEndAllowThreads(__tstate);
12074 if (PyErr_Occurred()) SWIG_fail;
12075 }
12076 Py_INCREF(Py_None); resultobj = Py_None;
12077 return resultobj;
12078 fail:
12079 return NULL;
12080}
12081
12082
2f4c0a16 12083static PyObject *_wrap_DC_StartDoc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12084 PyObject *resultobj;
12085 wxDC *arg1 = (wxDC *) 0 ;
12086 wxString *arg2 = 0 ;
12087 bool result;
423f194a 12088 bool temp2 = False ;
d14a1e28
RD
12089 PyObject * obj0 = 0 ;
12090 PyObject * obj1 = 0 ;
12091 char *kwnames[] = {
12092 (char *) "self",(char *) "message", NULL
12093 };
12094
12095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_StartDoc",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12098 {
12099 arg2 = wxString_in_helper(obj1);
12100 if (arg2 == NULL) SWIG_fail;
423f194a 12101 temp2 = True;
d14a1e28
RD
12102 }
12103 {
12104 PyThreadState* __tstate = wxPyBeginAllowThreads();
12105 result = (bool)(arg1)->StartDoc((wxString const &)*arg2);
12106
12107 wxPyEndAllowThreads(__tstate);
12108 if (PyErr_Occurred()) SWIG_fail;
12109 }
02a34c4c 12110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12111 {
12112 if (temp2)
12113 delete arg2;
12114 }
12115 return resultobj;
12116 fail:
12117 {
12118 if (temp2)
12119 delete arg2;
12120 }
12121 return NULL;
12122}
12123
12124
2f4c0a16 12125static PyObject *_wrap_DC_EndDoc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12126 PyObject *resultobj;
12127 wxDC *arg1 = (wxDC *) 0 ;
12128 PyObject * obj0 = 0 ;
12129 char *kwnames[] = {
12130 (char *) "self", NULL
12131 };
12132
12133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_EndDoc",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12136 {
12137 PyThreadState* __tstate = wxPyBeginAllowThreads();
12138 (arg1)->EndDoc();
12139
12140 wxPyEndAllowThreads(__tstate);
12141 if (PyErr_Occurred()) SWIG_fail;
12142 }
12143 Py_INCREF(Py_None); resultobj = Py_None;
12144 return resultobj;
12145 fail:
12146 return NULL;
12147}
12148
12149
2f4c0a16 12150static PyObject *_wrap_DC_StartPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12151 PyObject *resultobj;
12152 wxDC *arg1 = (wxDC *) 0 ;
12153 PyObject * obj0 = 0 ;
12154 char *kwnames[] = {
12155 (char *) "self", NULL
12156 };
12157
12158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_StartPage",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12161 {
12162 PyThreadState* __tstate = wxPyBeginAllowThreads();
12163 (arg1)->StartPage();
12164
12165 wxPyEndAllowThreads(__tstate);
12166 if (PyErr_Occurred()) SWIG_fail;
12167 }
12168 Py_INCREF(Py_None); resultobj = Py_None;
12169 return resultobj;
12170 fail:
12171 return NULL;
12172}
12173
12174
2f4c0a16 12175static PyObject *_wrap_DC_EndPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12176 PyObject *resultobj;
12177 wxDC *arg1 = (wxDC *) 0 ;
12178 PyObject * obj0 = 0 ;
12179 char *kwnames[] = {
12180 (char *) "self", NULL
12181 };
12182
12183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_EndPage",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12186 {
12187 PyThreadState* __tstate = wxPyBeginAllowThreads();
12188 (arg1)->EndPage();
12189
12190 wxPyEndAllowThreads(__tstate);
12191 if (PyErr_Occurred()) SWIG_fail;
12192 }
12193 Py_INCREF(Py_None); resultobj = Py_None;
12194 return resultobj;
12195 fail:
12196 return NULL;
12197}
12198
12199
2f4c0a16 12200static PyObject *_wrap_DC_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12201 PyObject *resultobj;
12202 wxDC *arg1 = (wxDC *) 0 ;
12203 wxFont *arg2 = 0 ;
12204 PyObject * obj0 = 0 ;
12205 PyObject * obj1 = 0 ;
12206 char *kwnames[] = {
12207 (char *) "self",(char *) "font", NULL
12208 };
12209
12210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12213 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12214 SWIG_POINTER_EXCEPTION | 0)) == -1)
12215 SWIG_fail;
d14a1e28 12216 if (arg2 == NULL) {
2f4c0a16
RD
12217 PyErr_SetString(PyExc_TypeError,"null reference");
12218 SWIG_fail;
d14a1e28
RD
12219 }
12220 {
12221 PyThreadState* __tstate = wxPyBeginAllowThreads();
12222 (arg1)->SetFont((wxFont const &)*arg2);
12223
12224 wxPyEndAllowThreads(__tstate);
12225 if (PyErr_Occurred()) SWIG_fail;
12226 }
12227 Py_INCREF(Py_None); resultobj = Py_None;
12228 return resultobj;
12229 fail:
12230 return NULL;
12231}
12232
12233
2f4c0a16 12234static PyObject *_wrap_DC_SetPen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12235 PyObject *resultobj;
12236 wxDC *arg1 = (wxDC *) 0 ;
12237 wxPen *arg2 = 0 ;
12238 PyObject * obj0 = 0 ;
12239 PyObject * obj1 = 0 ;
12240 char *kwnames[] = {
12241 (char *) "self",(char *) "pen", NULL
12242 };
12243
12244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetPen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12247 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPen,
12248 SWIG_POINTER_EXCEPTION | 0)) == -1)
12249 SWIG_fail;
d14a1e28 12250 if (arg2 == NULL) {
2f4c0a16
RD
12251 PyErr_SetString(PyExc_TypeError,"null reference");
12252 SWIG_fail;
d14a1e28
RD
12253 }
12254 {
12255 PyThreadState* __tstate = wxPyBeginAllowThreads();
12256 (arg1)->SetPen((wxPen const &)*arg2);
12257
12258 wxPyEndAllowThreads(__tstate);
12259 if (PyErr_Occurred()) SWIG_fail;
12260 }
12261 Py_INCREF(Py_None); resultobj = Py_None;
12262 return resultobj;
12263 fail:
12264 return NULL;
12265}
12266
12267
2f4c0a16 12268static PyObject *_wrap_DC_SetBrush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12269 PyObject *resultobj;
12270 wxDC *arg1 = (wxDC *) 0 ;
12271 wxBrush *arg2 = 0 ;
12272 PyObject * obj0 = 0 ;
12273 PyObject * obj1 = 0 ;
12274 char *kwnames[] = {
12275 (char *) "self",(char *) "brush", NULL
12276 };
12277
12278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetBrush",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12281 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBrush,
12282 SWIG_POINTER_EXCEPTION | 0)) == -1)
12283 SWIG_fail;
d14a1e28 12284 if (arg2 == NULL) {
2f4c0a16
RD
12285 PyErr_SetString(PyExc_TypeError,"null reference");
12286 SWIG_fail;
d14a1e28
RD
12287 }
12288 {
12289 PyThreadState* __tstate = wxPyBeginAllowThreads();
12290 (arg1)->SetBrush((wxBrush const &)*arg2);
12291
12292 wxPyEndAllowThreads(__tstate);
12293 if (PyErr_Occurred()) SWIG_fail;
12294 }
12295 Py_INCREF(Py_None); resultobj = Py_None;
12296 return resultobj;
12297 fail:
12298 return NULL;
12299}
12300
12301
2f4c0a16 12302static PyObject *_wrap_DC_SetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12303 PyObject *resultobj;
12304 wxDC *arg1 = (wxDC *) 0 ;
12305 wxBrush *arg2 = 0 ;
12306 PyObject * obj0 = 0 ;
12307 PyObject * obj1 = 0 ;
12308 char *kwnames[] = {
12309 (char *) "self",(char *) "brush", NULL
12310 };
12311
12312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetBackground",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBrush,
12316 SWIG_POINTER_EXCEPTION | 0)) == -1)
12317 SWIG_fail;
d14a1e28 12318 if (arg2 == NULL) {
2f4c0a16
RD
12319 PyErr_SetString(PyExc_TypeError,"null reference");
12320 SWIG_fail;
d14a1e28
RD
12321 }
12322 {
12323 PyThreadState* __tstate = wxPyBeginAllowThreads();
12324 (arg1)->SetBackground((wxBrush const &)*arg2);
12325
12326 wxPyEndAllowThreads(__tstate);
12327 if (PyErr_Occurred()) SWIG_fail;
12328 }
12329 Py_INCREF(Py_None); resultobj = Py_None;
12330 return resultobj;
12331 fail:
12332 return NULL;
12333}
12334
12335
2f4c0a16 12336static PyObject *_wrap_DC_SetBackgroundMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12337 PyObject *resultobj;
12338 wxDC *arg1 = (wxDC *) 0 ;
12339 int arg2 ;
12340 PyObject * obj0 = 0 ;
8edf1c75 12341 PyObject * obj1 = 0 ;
d14a1e28
RD
12342 char *kwnames[] = {
12343 (char *) "self",(char *) "mode", NULL
12344 };
12345
8edf1c75 12346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12349 arg2 = (int) SWIG_AsInt(obj1);
12350 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12351 {
12352 PyThreadState* __tstate = wxPyBeginAllowThreads();
12353 (arg1)->SetBackgroundMode(arg2);
12354
12355 wxPyEndAllowThreads(__tstate);
12356 if (PyErr_Occurred()) SWIG_fail;
12357 }
12358 Py_INCREF(Py_None); resultobj = Py_None;
12359 return resultobj;
12360 fail:
12361 return NULL;
12362}
12363
12364
2f4c0a16 12365static PyObject *_wrap_DC_SetPalette(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12366 PyObject *resultobj;
12367 wxDC *arg1 = (wxDC *) 0 ;
12368 wxPalette *arg2 = 0 ;
12369 PyObject * obj0 = 0 ;
12370 PyObject * obj1 = 0 ;
12371 char *kwnames[] = {
12372 (char *) "self",(char *) "palette", NULL
12373 };
12374
12375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetPalette",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12378 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPalette,
12379 SWIG_POINTER_EXCEPTION | 0)) == -1)
12380 SWIG_fail;
d14a1e28 12381 if (arg2 == NULL) {
2f4c0a16
RD
12382 PyErr_SetString(PyExc_TypeError,"null reference");
12383 SWIG_fail;
d14a1e28
RD
12384 }
12385 {
12386 PyThreadState* __tstate = wxPyBeginAllowThreads();
12387 (arg1)->SetPalette((wxPalette const &)*arg2);
12388
12389 wxPyEndAllowThreads(__tstate);
12390 if (PyErr_Occurred()) SWIG_fail;
12391 }
12392 Py_INCREF(Py_None); resultobj = Py_None;
12393 return resultobj;
12394 fail:
12395 return NULL;
12396}
12397
12398
2f4c0a16 12399static PyObject *_wrap_DC_SetClippingRegionXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12400 PyObject *resultobj;
12401 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
12402 int arg2 ;
12403 int arg3 ;
12404 int arg4 ;
12405 int arg5 ;
d14a1e28 12406 PyObject * obj0 = 0 ;
8edf1c75
RD
12407 PyObject * obj1 = 0 ;
12408 PyObject * obj2 = 0 ;
12409 PyObject * obj3 = 0 ;
12410 PyObject * obj4 = 0 ;
d14a1e28
RD
12411 char *kwnames[] = {
12412 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12413 };
12414
8edf1c75 12415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_SetClippingRegionXY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12418 arg2 = (int) SWIG_AsInt(obj1);
12419 if (PyErr_Occurred()) SWIG_fail;
12420 arg3 = (int) SWIG_AsInt(obj2);
12421 if (PyErr_Occurred()) SWIG_fail;
12422 arg4 = (int) SWIG_AsInt(obj3);
12423 if (PyErr_Occurred()) SWIG_fail;
12424 arg5 = (int) SWIG_AsInt(obj4);
12425 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12426 {
12427 PyThreadState* __tstate = wxPyBeginAllowThreads();
12428 (arg1)->SetClippingRegion(arg2,arg3,arg4,arg5);
12429
12430 wxPyEndAllowThreads(__tstate);
12431 if (PyErr_Occurred()) SWIG_fail;
12432 }
12433 Py_INCREF(Py_None); resultobj = Py_None;
12434 return resultobj;
12435 fail:
12436 return NULL;
12437}
12438
12439
2f4c0a16 12440static PyObject *_wrap_DC_SetClippingRegion(PyObject *, PyObject *args, PyObject *kwargs) {
0f774bef
RD
12441 PyObject *resultobj;
12442 wxDC *arg1 = (wxDC *) 0 ;
12443 wxPoint *arg2 = 0 ;
12444 wxSize *arg3 = 0 ;
12445 wxPoint temp2 ;
12446 wxSize temp3 ;
12447 PyObject * obj0 = 0 ;
12448 PyObject * obj1 = 0 ;
12449 PyObject * obj2 = 0 ;
12450 char *kwnames[] = {
12451 (char *) "self",(char *) "pt",(char *) "sz", NULL
12452 };
12453
12454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetClippingRegion",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
0f774bef
RD
12457 {
12458 arg2 = &temp2;
12459 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12460 }
12461 {
12462 arg3 = &temp3;
12463 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
12464 }
12465 {
12466 PyThreadState* __tstate = wxPyBeginAllowThreads();
12467 (arg1)->SetClippingRegion((wxPoint const &)*arg2,(wxSize const &)*arg3);
12468
12469 wxPyEndAllowThreads(__tstate);
12470 if (PyErr_Occurred()) SWIG_fail;
12471 }
12472 Py_INCREF(Py_None); resultobj = Py_None;
12473 return resultobj;
12474 fail:
12475 return NULL;
12476}
12477
12478
2f4c0a16 12479static PyObject *_wrap_DC_SetClippingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12480 PyObject *resultobj;
12481 wxDC *arg1 = (wxDC *) 0 ;
12482 wxRect *arg2 = 0 ;
12483 wxRect temp2 ;
12484 PyObject * obj0 = 0 ;
12485 PyObject * obj1 = 0 ;
12486 char *kwnames[] = {
12487 (char *) "self",(char *) "rect", NULL
12488 };
12489
12490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12493 {
12494 arg2 = &temp2;
12495 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12496 }
12497 {
12498 PyThreadState* __tstate = wxPyBeginAllowThreads();
12499 (arg1)->SetClippingRegion((wxRect const &)*arg2);
12500
12501 wxPyEndAllowThreads(__tstate);
12502 if (PyErr_Occurred()) SWIG_fail;
12503 }
12504 Py_INCREF(Py_None); resultobj = Py_None;
12505 return resultobj;
12506 fail:
12507 return NULL;
12508}
12509
12510
2f4c0a16 12511static PyObject *_wrap_DC_SetClippingRegionAsRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12512 PyObject *resultobj;
12513 wxDC *arg1 = (wxDC *) 0 ;
12514 wxRegion *arg2 = 0 ;
12515 PyObject * obj0 = 0 ;
12516 PyObject * obj1 = 0 ;
12517 char *kwnames[] = {
12518 (char *) "self",(char *) "region", NULL
12519 };
12520
12521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12524 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
12525 SWIG_POINTER_EXCEPTION | 0)) == -1)
12526 SWIG_fail;
d14a1e28 12527 if (arg2 == NULL) {
2f4c0a16
RD
12528 PyErr_SetString(PyExc_TypeError,"null reference");
12529 SWIG_fail;
d14a1e28
RD
12530 }
12531 {
12532 PyThreadState* __tstate = wxPyBeginAllowThreads();
12533 (arg1)->SetClippingRegion((wxRegion const &)*arg2);
12534
12535 wxPyEndAllowThreads(__tstate);
12536 if (PyErr_Occurred()) SWIG_fail;
12537 }
12538 Py_INCREF(Py_None); resultobj = Py_None;
12539 return resultobj;
12540 fail:
12541 return NULL;
12542}
12543
12544
2f4c0a16 12545static PyObject *_wrap_DC_DestroyClippingRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12546 PyObject *resultobj;
12547 wxDC *arg1 = (wxDC *) 0 ;
12548 PyObject * obj0 = 0 ;
12549 char *kwnames[] = {
12550 (char *) "self", NULL
12551 };
12552
12553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_DestroyClippingRegion",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12556 {
12557 PyThreadState* __tstate = wxPyBeginAllowThreads();
12558 (arg1)->DestroyClippingRegion();
12559
12560 wxPyEndAllowThreads(__tstate);
12561 if (PyErr_Occurred()) SWIG_fail;
12562 }
12563 Py_INCREF(Py_None); resultobj = Py_None;
12564 return resultobj;
12565 fail:
12566 return NULL;
12567}
12568
12569
2f4c0a16 12570static PyObject *_wrap_DC_GetClippingBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12571 PyObject *resultobj;
12572 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
12573 int *arg2 = (int *) 0 ;
12574 int *arg3 = (int *) 0 ;
12575 int *arg4 = (int *) 0 ;
12576 int *arg5 = (int *) 0 ;
12577 int temp2 ;
12578 int temp3 ;
12579 int temp4 ;
12580 int temp5 ;
d14a1e28
RD
12581 PyObject * obj0 = 0 ;
12582 char *kwnames[] = {
12583 (char *) "self", NULL
12584 };
12585
12586 arg2 = &temp2;
12587 arg3 = &temp3;
12588 arg4 = &temp4;
12589 arg5 = &temp5;
12590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetClippingBox",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12593 {
12594 PyThreadState* __tstate = wxPyBeginAllowThreads();
12595 ((wxDC const *)arg1)->GetClippingBox(arg2,arg3,arg4,arg5);
12596
12597 wxPyEndAllowThreads(__tstate);
12598 if (PyErr_Occurred()) SWIG_fail;
12599 }
12600 Py_INCREF(Py_None); resultobj = Py_None;
12601 {
12602 PyObject *o = PyInt_FromLong((long) (*arg2));
12603 resultobj = t_output_helper(resultobj,o);
12604 }
12605 {
12606 PyObject *o = PyInt_FromLong((long) (*arg3));
12607 resultobj = t_output_helper(resultobj,o);
12608 }
12609 {
12610 PyObject *o = PyInt_FromLong((long) (*arg4));
12611 resultobj = t_output_helper(resultobj,o);
12612 }
12613 {
12614 PyObject *o = PyInt_FromLong((long) (*arg5));
12615 resultobj = t_output_helper(resultobj,o);
12616 }
12617 return resultobj;
12618 fail:
12619 return NULL;
12620}
12621
12622
2f4c0a16 12623static PyObject *_wrap_DC_GetClippingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12624 PyObject *resultobj;
12625 wxDC *arg1 = (wxDC *) 0 ;
12626 wxRect result;
12627 PyObject * obj0 = 0 ;
12628 char *kwnames[] = {
12629 (char *) "self", NULL
12630 };
12631
12632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetClippingRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12635 {
12636 PyThreadState* __tstate = wxPyBeginAllowThreads();
12637 result = wxDC_GetClippingRect(arg1);
12638
12639 wxPyEndAllowThreads(__tstate);
12640 if (PyErr_Occurred()) SWIG_fail;
12641 }
12642 {
12643 wxRect * resultptr;
12644 resultptr = new wxRect((wxRect &) result);
2f4c0a16 12645 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
12646 }
12647 return resultobj;
12648 fail:
12649 return NULL;
12650}
12651
12652
2f4c0a16 12653static PyObject *_wrap_DC_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12654 PyObject *resultobj;
12655 wxDC *arg1 = (wxDC *) 0 ;
423f194a 12656 int result;
d14a1e28
RD
12657 PyObject * obj0 = 0 ;
12658 char *kwnames[] = {
12659 (char *) "self", NULL
12660 };
12661
12662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetCharHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12665 {
12666 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 12667 result = (int)((wxDC const *)arg1)->GetCharHeight();
d14a1e28
RD
12668
12669 wxPyEndAllowThreads(__tstate);
12670 if (PyErr_Occurred()) SWIG_fail;
12671 }
2f4c0a16 12672 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12673 return resultobj;
12674 fail:
12675 return NULL;
12676}
12677
12678
2f4c0a16 12679static PyObject *_wrap_DC_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12680 PyObject *resultobj;
12681 wxDC *arg1 = (wxDC *) 0 ;
423f194a 12682 int result;
d14a1e28
RD
12683 PyObject * obj0 = 0 ;
12684 char *kwnames[] = {
12685 (char *) "self", NULL
12686 };
12687
12688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetCharWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12691 {
12692 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 12693 result = (int)((wxDC const *)arg1)->GetCharWidth();
d14a1e28
RD
12694
12695 wxPyEndAllowThreads(__tstate);
12696 if (PyErr_Occurred()) SWIG_fail;
12697 }
2f4c0a16 12698 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12699 return resultobj;
12700 fail:
12701 return NULL;
12702}
12703
12704
2f4c0a16 12705static PyObject *_wrap_DC_GetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12706 PyObject *resultobj;
12707 wxDC *arg1 = (wxDC *) 0 ;
12708 wxString *arg2 = 0 ;
423f194a
RD
12709 int *arg3 = (int *) 0 ;
12710 int *arg4 = (int *) 0 ;
12711 bool temp2 = False ;
12712 int temp3 ;
12713 int temp4 ;
d14a1e28
RD
12714 PyObject * obj0 = 0 ;
12715 PyObject * obj1 = 0 ;
12716 char *kwnames[] = {
12717 (char *) "self",(char *) "string", NULL
12718 };
12719
12720 arg3 = &temp3;
12721 arg4 = &temp4;
12722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12725 {
12726 arg2 = wxString_in_helper(obj1);
12727 if (arg2 == NULL) SWIG_fail;
423f194a 12728 temp2 = True;
d14a1e28
RD
12729 }
12730 {
12731 PyThreadState* __tstate = wxPyBeginAllowThreads();
12732 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
12733
12734 wxPyEndAllowThreads(__tstate);
12735 if (PyErr_Occurred()) SWIG_fail;
12736 }
12737 Py_INCREF(Py_None); resultobj = Py_None;
12738 {
12739 PyObject *o = PyInt_FromLong((long) (*arg3));
12740 resultobj = t_output_helper(resultobj,o);
12741 }
12742 {
12743 PyObject *o = PyInt_FromLong((long) (*arg4));
12744 resultobj = t_output_helper(resultobj,o);
12745 }
12746 {
12747 if (temp2)
12748 delete arg2;
12749 }
12750 return resultobj;
12751 fail:
12752 {
12753 if (temp2)
12754 delete arg2;
12755 }
12756 return NULL;
12757}
12758
12759
2f4c0a16 12760static PyObject *_wrap_DC_GetFullTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12761 PyObject *resultobj;
12762 wxDC *arg1 = (wxDC *) 0 ;
12763 wxString *arg2 = 0 ;
423f194a
RD
12764 int *arg3 = (int *) 0 ;
12765 int *arg4 = (int *) 0 ;
12766 int *arg5 = (int *) 0 ;
12767 int *arg6 = (int *) 0 ;
d14a1e28 12768 wxFont *arg7 = (wxFont *) NULL ;
423f194a
RD
12769 bool temp2 = False ;
12770 int temp3 ;
12771 int temp4 ;
12772 int temp5 ;
12773 int temp6 ;
d14a1e28
RD
12774 PyObject * obj0 = 0 ;
12775 PyObject * obj1 = 0 ;
12776 PyObject * obj2 = 0 ;
12777 char *kwnames[] = {
12778 (char *) "self",(char *) "string",(char *) "font", NULL
12779 };
12780
12781 arg3 = &temp3;
12782 arg4 = &temp4;
12783 arg5 = &temp5;
12784 arg6 = &temp6;
12785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DC_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12788 {
12789 arg2 = wxString_in_helper(obj1);
12790 if (arg2 == NULL) SWIG_fail;
423f194a 12791 temp2 = True;
d14a1e28
RD
12792 }
12793 if (obj2) {
2f4c0a16
RD
12794 if ((SWIG_ConvertPtr(obj2,(void **)(&arg7),SWIGTYPE_p_wxFont,
12795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12796 }
12797 {
12798 PyThreadState* __tstate = wxPyBeginAllowThreads();
12799 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7);
12800
12801 wxPyEndAllowThreads(__tstate);
12802 if (PyErr_Occurred()) SWIG_fail;
12803 }
12804 Py_INCREF(Py_None); resultobj = Py_None;
12805 {
12806 PyObject *o = PyInt_FromLong((long) (*arg3));
12807 resultobj = t_output_helper(resultobj,o);
12808 }
12809 {
12810 PyObject *o = PyInt_FromLong((long) (*arg4));
12811 resultobj = t_output_helper(resultobj,o);
12812 }
12813 {
12814 PyObject *o = PyInt_FromLong((long) (*arg5));
12815 resultobj = t_output_helper(resultobj,o);
12816 }
12817 {
12818 PyObject *o = PyInt_FromLong((long) (*arg6));
12819 resultobj = t_output_helper(resultobj,o);
12820 }
12821 {
12822 if (temp2)
12823 delete arg2;
12824 }
12825 return resultobj;
12826 fail:
12827 {
12828 if (temp2)
12829 delete arg2;
12830 }
12831 return NULL;
12832}
12833
12834
2f4c0a16 12835static PyObject *_wrap_DC_GetMultiLineTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12836 PyObject *resultobj;
12837 wxDC *arg1 = (wxDC *) 0 ;
12838 wxString *arg2 = 0 ;
423f194a
RD
12839 int *arg3 = (int *) 0 ;
12840 int *arg4 = (int *) 0 ;
12841 int *arg5 = (int *) 0 ;
d14a1e28 12842 wxFont *arg6 = (wxFont *) NULL ;
423f194a
RD
12843 bool temp2 = False ;
12844 int temp3 ;
12845 int temp4 ;
12846 int temp5 ;
d14a1e28
RD
12847 PyObject * obj0 = 0 ;
12848 PyObject * obj1 = 0 ;
12849 PyObject * obj2 = 0 ;
12850 char *kwnames[] = {
12851 (char *) "self",(char *) "text",(char *) "font", NULL
12852 };
12853
12854 arg3 = &temp3;
12855 arg4 = &temp4;
12856 arg5 = &temp5;
12857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12860 {
12861 arg2 = wxString_in_helper(obj1);
12862 if (arg2 == NULL) SWIG_fail;
423f194a 12863 temp2 = True;
d14a1e28
RD
12864 }
12865 if (obj2) {
2f4c0a16
RD
12866 if ((SWIG_ConvertPtr(obj2,(void **)(&arg6),SWIGTYPE_p_wxFont,
12867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12868 }
12869 {
12870 PyThreadState* __tstate = wxPyBeginAllowThreads();
12871 (arg1)->GetMultiLineTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6);
12872
12873 wxPyEndAllowThreads(__tstate);
12874 if (PyErr_Occurred()) SWIG_fail;
12875 }
12876 Py_INCREF(Py_None); resultobj = Py_None;
12877 {
12878 PyObject *o = PyInt_FromLong((long) (*arg3));
12879 resultobj = t_output_helper(resultobj,o);
12880 }
12881 {
12882 PyObject *o = PyInt_FromLong((long) (*arg4));
12883 resultobj = t_output_helper(resultobj,o);
12884 }
12885 {
12886 PyObject *o = PyInt_FromLong((long) (*arg5));
12887 resultobj = t_output_helper(resultobj,o);
12888 }
12889 {
12890 if (temp2)
12891 delete arg2;
12892 }
12893 return resultobj;
12894 fail:
12895 {
12896 if (temp2)
12897 delete arg2;
12898 }
12899 return NULL;
12900}
12901
12902
2f4c0a16 12903static PyObject *_wrap_DC_GetPartialTextExtents(PyObject *, PyObject *args, PyObject *kwargs) {
0ffb2aa6
RD
12904 PyObject *resultobj;
12905 wxDC *arg1 = (wxDC *) 0 ;
12906 wxString *arg2 = 0 ;
12907 wxArrayInt result;
12908 bool temp2 = False ;
12909 PyObject * obj0 = 0 ;
12910 PyObject * obj1 = 0 ;
12911 char *kwnames[] = {
12912 (char *) "self",(char *) "text", NULL
12913 };
12914
12915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_GetPartialTextExtents",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
0ffb2aa6
RD
12918 {
12919 arg2 = wxString_in_helper(obj1);
12920 if (arg2 == NULL) SWIG_fail;
12921 temp2 = True;
12922 }
12923 {
12924 PyThreadState* __tstate = wxPyBeginAllowThreads();
12925 result = wxDC_GetPartialTextExtents(arg1,(wxString const &)*arg2);
12926
12927 wxPyEndAllowThreads(__tstate);
12928 if (PyErr_Occurred()) SWIG_fail;
12929 }
12930 {
12931 resultobj = PyList_New(0);
12932 size_t idx;
12933 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
12934 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
12935 PyList_Append(resultobj, val);
12936 Py_DECREF(val);
12937 }
12938 }
12939 {
12940 if (temp2)
12941 delete arg2;
12942 }
12943 return resultobj;
12944 fail:
12945 {
12946 if (temp2)
12947 delete arg2;
12948 }
12949 return NULL;
12950}
12951
12952
2f4c0a16 12953static PyObject *_wrap_DC_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12954 PyObject *resultobj;
12955 wxDC *arg1 = (wxDC *) 0 ;
12956 wxSize result;
12957 PyObject * obj0 = 0 ;
12958 char *kwnames[] = {
12959 (char *) "self", NULL
12960 };
12961
12962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
44127b65
RD
12965 {
12966 PyThreadState* __tstate = wxPyBeginAllowThreads();
12967 result = (arg1)->GetSize();
12968
12969 wxPyEndAllowThreads(__tstate);
12970 if (PyErr_Occurred()) SWIG_fail;
12971 }
12972 {
12973 wxSize * resultptr;
12974 resultptr = new wxSize((wxSize &) result);
2f4c0a16 12975 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
44127b65
RD
12976 }
12977 return resultobj;
12978 fail:
12979 return NULL;
12980}
12981
12982
2f4c0a16 12983static PyObject *_wrap_DC_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12984 PyObject *resultobj;
12985 wxDC *arg1 = (wxDC *) 0 ;
12986 int *arg2 = (int *) 0 ;
12987 int *arg3 = (int *) 0 ;
12988 int temp2 ;
12989 int temp3 ;
12990 PyObject * obj0 = 0 ;
12991 char *kwnames[] = {
12992 (char *) "self", NULL
12993 };
12994
12995 arg2 = &temp2;
12996 arg3 = &temp3;
12997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSizeTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13000 {
13001 PyThreadState* __tstate = wxPyBeginAllowThreads();
13002 (arg1)->GetSize(arg2,arg3);
13003
13004 wxPyEndAllowThreads(__tstate);
13005 if (PyErr_Occurred()) SWIG_fail;
13006 }
13007 Py_INCREF(Py_None); resultobj = Py_None;
13008 {
13009 PyObject *o = PyInt_FromLong((long) (*arg2));
13010 resultobj = t_output_helper(resultobj,o);
13011 }
13012 {
13013 PyObject *o = PyInt_FromLong((long) (*arg3));
13014 resultobj = t_output_helper(resultobj,o);
13015 }
13016 return resultobj;
13017 fail:
13018 return NULL;
13019}
13020
13021
2f4c0a16 13022static PyObject *_wrap_DC_GetSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13023 PyObject *resultobj;
13024 wxDC *arg1 = (wxDC *) 0 ;
13025 wxSize result;
13026 PyObject * obj0 = 0 ;
13027 char *kwnames[] = {
13028 (char *) "self", NULL
13029 };
13030
44127b65 13031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSizeMM",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13034 {
13035 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 13036 result = ((wxDC const *)arg1)->GetSizeMM();
d14a1e28
RD
13037
13038 wxPyEndAllowThreads(__tstate);
13039 if (PyErr_Occurred()) SWIG_fail;
13040 }
13041 {
13042 wxSize * resultptr;
13043 resultptr = new wxSize((wxSize &) result);
2f4c0a16 13044 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
13045 }
13046 return resultobj;
13047 fail:
13048 return NULL;
13049}
13050
13051
2f4c0a16 13052static PyObject *_wrap_DC_GetSizeMMTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13053 PyObject *resultobj;
13054 wxDC *arg1 = (wxDC *) 0 ;
13055 int *arg2 = (int *) 0 ;
13056 int *arg3 = (int *) 0 ;
13057 int temp2 ;
13058 int temp3 ;
13059 PyObject * obj0 = 0 ;
13060 char *kwnames[] = {
13061 (char *) "self", NULL
13062 };
13063
13064 arg2 = &temp2;
13065 arg3 = &temp3;
44127b65 13066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSizeMMTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13069 {
13070 PyThreadState* __tstate = wxPyBeginAllowThreads();
13071 ((wxDC const *)arg1)->GetSizeMM(arg2,arg3);
13072
13073 wxPyEndAllowThreads(__tstate);
13074 if (PyErr_Occurred()) SWIG_fail;
13075 }
13076 Py_INCREF(Py_None); resultobj = Py_None;
13077 {
13078 PyObject *o = PyInt_FromLong((long) (*arg2));
13079 resultobj = t_output_helper(resultobj,o);
13080 }
13081 {
13082 PyObject *o = PyInt_FromLong((long) (*arg3));
13083 resultobj = t_output_helper(resultobj,o);
13084 }
13085 return resultobj;
13086 fail:
13087 return NULL;
13088}
13089
13090
2f4c0a16 13091static PyObject *_wrap_DC_DeviceToLogicalX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13092 PyObject *resultobj;
13093 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
13094 int arg2 ;
13095 int result;
d14a1e28 13096 PyObject * obj0 = 0 ;
8edf1c75 13097 PyObject * obj1 = 0 ;
d14a1e28
RD
13098 char *kwnames[] = {
13099 (char *) "self",(char *) "x", NULL
13100 };
13101
8edf1c75 13102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalX",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13105 arg2 = (int) SWIG_AsInt(obj1);
13106 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13107 {
13108 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 13109 result = (int)((wxDC const *)arg1)->DeviceToLogicalX(arg2);
d14a1e28
RD
13110
13111 wxPyEndAllowThreads(__tstate);
13112 if (PyErr_Occurred()) SWIG_fail;
13113 }
2f4c0a16 13114 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13115 return resultobj;
13116 fail:
13117 return NULL;
13118}
13119
13120
2f4c0a16 13121static PyObject *_wrap_DC_DeviceToLogicalY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13122 PyObject *resultobj;
13123 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
13124 int arg2 ;
13125 int result;
d14a1e28 13126 PyObject * obj0 = 0 ;
8edf1c75 13127 PyObject * obj1 = 0 ;
d14a1e28
RD
13128 char *kwnames[] = {
13129 (char *) "self",(char *) "y", NULL
13130 };
13131
8edf1c75 13132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalY",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13135 arg2 = (int) SWIG_AsInt(obj1);
13136 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13137 {
13138 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 13139 result = (int)((wxDC const *)arg1)->DeviceToLogicalY(arg2);
d14a1e28
RD
13140
13141 wxPyEndAllowThreads(__tstate);
13142 if (PyErr_Occurred()) SWIG_fail;
13143 }
2f4c0a16 13144 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13145 return resultobj;
13146 fail:
13147 return NULL;
13148}
13149
13150
2f4c0a16 13151static PyObject *_wrap_DC_DeviceToLogicalXRel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13152 PyObject *resultobj;
13153 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
13154 int arg2 ;
13155 int result;
d14a1e28 13156 PyObject * obj0 = 0 ;
8edf1c75 13157 PyObject * obj1 = 0 ;
d14a1e28
RD
13158 char *kwnames[] = {
13159 (char *) "self",(char *) "x", NULL
13160 };
13161
8edf1c75 13162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalXRel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13165 arg2 = (int) SWIG_AsInt(obj1);
13166 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13167 {
13168 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 13169 result = (int)((wxDC const *)arg1)->DeviceToLogicalXRel(arg2);
d14a1e28
RD
13170
13171 wxPyEndAllowThreads(__tstate);
13172 if (PyErr_Occurred()) SWIG_fail;
13173 }
2f4c0a16 13174 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13175 return resultobj;
13176 fail:
13177 return NULL;
13178}
13179
13180
2f4c0a16 13181static PyObject *_wrap_DC_DeviceToLogicalYRel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13182 PyObject *resultobj;
13183 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
13184 int arg2 ;
13185 int result;
d14a1e28 13186 PyObject * obj0 = 0 ;
8edf1c75 13187 PyObject * obj1 = 0 ;
d14a1e28
RD
13188 char *kwnames[] = {
13189 (char *) "self",(char *) "y", NULL
13190 };
13191
8edf1c75 13192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalYRel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13195 arg2 = (int) SWIG_AsInt(obj1);
13196 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13197 {
13198 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 13199 result = (int)((wxDC const *)arg1)->DeviceToLogicalYRel(arg2);
d14a1e28
RD
13200
13201 wxPyEndAllowThreads(__tstate);
13202 if (PyErr_Occurred()) SWIG_fail;
13203 }
2f4c0a16 13204 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13205 return resultobj;
13206 fail:
13207 return NULL;
13208}
13209
13210
2f4c0a16 13211static PyObject *_wrap_DC_LogicalToDeviceX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13212 PyObject *resultobj;
13213 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
13214 int arg2 ;
13215 int result;
d14a1e28 13216 PyObject * obj0 = 0 ;
8edf1c75 13217 PyObject * obj1 = 0 ;
d14a1e28
RD
13218 char *kwnames[] = {
13219 (char *) "self",(char *) "x", NULL
13220 };
13221
8edf1c75 13222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceX",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13225 arg2 = (int) SWIG_AsInt(obj1);
13226 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13227 {
13228 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 13229 result = (int)((wxDC const *)arg1)->LogicalToDeviceX(arg2);
d14a1e28
RD
13230
13231 wxPyEndAllowThreads(__tstate);
13232 if (PyErr_Occurred()) SWIG_fail;
13233 }
2f4c0a16 13234 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13235 return resultobj;
13236 fail:
13237 return NULL;
13238}
13239
13240
2f4c0a16 13241static PyObject *_wrap_DC_LogicalToDeviceY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13242 PyObject *resultobj;
13243 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
13244 int arg2 ;
13245 int result;
d14a1e28 13246 PyObject * obj0 = 0 ;
8edf1c75 13247 PyObject * obj1 = 0 ;
d14a1e28
RD
13248 char *kwnames[] = {
13249 (char *) "self",(char *) "y", NULL
13250 };
13251
8edf1c75 13252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceY",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13255 arg2 = (int) SWIG_AsInt(obj1);
13256 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13257 {
13258 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 13259 result = (int)((wxDC const *)arg1)->LogicalToDeviceY(arg2);
d14a1e28
RD
13260
13261 wxPyEndAllowThreads(__tstate);
13262 if (PyErr_Occurred()) SWIG_fail;
13263 }
2f4c0a16 13264 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13265 return resultobj;
13266 fail:
13267 return NULL;
13268}
13269
13270
2f4c0a16 13271static PyObject *_wrap_DC_LogicalToDeviceXRel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13272 PyObject *resultobj;
13273 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
13274 int arg2 ;
13275 int result;
d14a1e28 13276 PyObject * obj0 = 0 ;
8edf1c75 13277 PyObject * obj1 = 0 ;
d14a1e28
RD
13278 char *kwnames[] = {
13279 (char *) "self",(char *) "x", NULL
13280 };
13281
8edf1c75 13282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceXRel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13285 arg2 = (int) SWIG_AsInt(obj1);
13286 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13287 {
13288 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 13289 result = (int)((wxDC const *)arg1)->LogicalToDeviceXRel(arg2);
d14a1e28
RD
13290
13291 wxPyEndAllowThreads(__tstate);
13292 if (PyErr_Occurred()) SWIG_fail;
13293 }
2f4c0a16 13294 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13295 return resultobj;
13296 fail:
13297 return NULL;
13298}
13299
13300
2f4c0a16 13301static PyObject *_wrap_DC_LogicalToDeviceYRel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13302 PyObject *resultobj;
13303 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
13304 int arg2 ;
13305 int result;
d14a1e28 13306 PyObject * obj0 = 0 ;
8edf1c75 13307 PyObject * obj1 = 0 ;
d14a1e28
RD
13308 char *kwnames[] = {
13309 (char *) "self",(char *) "y", NULL
13310 };
13311
8edf1c75 13312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceYRel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13315 arg2 = (int) SWIG_AsInt(obj1);
13316 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13317 {
13318 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 13319 result = (int)((wxDC const *)arg1)->LogicalToDeviceYRel(arg2);
d14a1e28
RD
13320
13321 wxPyEndAllowThreads(__tstate);
13322 if (PyErr_Occurred()) SWIG_fail;
13323 }
2f4c0a16 13324 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13325 return resultobj;
13326 fail:
13327 return NULL;
13328}
13329
13330
2f4c0a16 13331static PyObject *_wrap_DC_CanDrawBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13332 PyObject *resultobj;
13333 wxDC *arg1 = (wxDC *) 0 ;
13334 bool result;
13335 PyObject * obj0 = 0 ;
13336 char *kwnames[] = {
13337 (char *) "self", NULL
13338 };
13339
13340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_CanDrawBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13343 {
13344 PyThreadState* __tstate = wxPyBeginAllowThreads();
13345 result = (bool)((wxDC const *)arg1)->CanDrawBitmap();
13346
13347 wxPyEndAllowThreads(__tstate);
13348 if (PyErr_Occurred()) SWIG_fail;
13349 }
02a34c4c 13350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13351 return resultobj;
13352 fail:
13353 return NULL;
13354}
13355
13356
2f4c0a16 13357static PyObject *_wrap_DC_CanGetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13358 PyObject *resultobj;
13359 wxDC *arg1 = (wxDC *) 0 ;
13360 bool result;
13361 PyObject * obj0 = 0 ;
13362 char *kwnames[] = {
13363 (char *) "self", NULL
13364 };
13365
13366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_CanGetTextExtent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13369 {
13370 PyThreadState* __tstate = wxPyBeginAllowThreads();
13371 result = (bool)((wxDC const *)arg1)->CanGetTextExtent();
13372
13373 wxPyEndAllowThreads(__tstate);
13374 if (PyErr_Occurred()) SWIG_fail;
13375 }
02a34c4c 13376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13377 return resultobj;
13378 fail:
13379 return NULL;
13380}
13381
13382
2f4c0a16 13383static PyObject *_wrap_DC_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13384 PyObject *resultobj;
13385 wxDC *arg1 = (wxDC *) 0 ;
13386 int result;
13387 PyObject * obj0 = 0 ;
13388 char *kwnames[] = {
13389 (char *) "self", NULL
13390 };
13391
13392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetDepth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13395 {
13396 PyThreadState* __tstate = wxPyBeginAllowThreads();
13397 result = (int)((wxDC const *)arg1)->GetDepth();
13398
13399 wxPyEndAllowThreads(__tstate);
13400 if (PyErr_Occurred()) SWIG_fail;
13401 }
2f4c0a16 13402 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13403 return resultobj;
13404 fail:
13405 return NULL;
13406}
13407
13408
2f4c0a16 13409static PyObject *_wrap_DC_GetPPI(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13410 PyObject *resultobj;
13411 wxDC *arg1 = (wxDC *) 0 ;
13412 wxSize result;
13413 PyObject * obj0 = 0 ;
13414 char *kwnames[] = {
13415 (char *) "self", NULL
13416 };
13417
13418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetPPI",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13421 {
13422 PyThreadState* __tstate = wxPyBeginAllowThreads();
13423 result = ((wxDC const *)arg1)->GetPPI();
13424
13425 wxPyEndAllowThreads(__tstate);
13426 if (PyErr_Occurred()) SWIG_fail;
13427 }
13428 {
13429 wxSize * resultptr;
13430 resultptr = new wxSize((wxSize &) result);
2f4c0a16 13431 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
13432 }
13433 return resultobj;
13434 fail:
13435 return NULL;
13436}
13437
13438
2f4c0a16 13439static PyObject *_wrap_DC_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13440 PyObject *resultobj;
13441 wxDC *arg1 = (wxDC *) 0 ;
13442 bool result;
13443 PyObject * obj0 = 0 ;
13444 char *kwnames[] = {
13445 (char *) "self", NULL
13446 };
13447
13448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_Ok",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13451 {
13452 PyThreadState* __tstate = wxPyBeginAllowThreads();
13453 result = (bool)((wxDC const *)arg1)->Ok();
13454
13455 wxPyEndAllowThreads(__tstate);
13456 if (PyErr_Occurred()) SWIG_fail;
13457 }
02a34c4c 13458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13459 return resultobj;
13460 fail:
13461 return NULL;
13462}
13463
13464
2f4c0a16 13465static PyObject *_wrap_DC_GetBackgroundMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13466 PyObject *resultobj;
13467 wxDC *arg1 = (wxDC *) 0 ;
13468 int result;
13469 PyObject * obj0 = 0 ;
13470 char *kwnames[] = {
13471 (char *) "self", NULL
13472 };
13473
13474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBackgroundMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13477 {
13478 PyThreadState* __tstate = wxPyBeginAllowThreads();
13479 result = (int)((wxDC const *)arg1)->GetBackgroundMode();
13480
13481 wxPyEndAllowThreads(__tstate);
13482 if (PyErr_Occurred()) SWIG_fail;
13483 }
2f4c0a16 13484 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13485 return resultobj;
13486 fail:
13487 return NULL;
13488}
13489
13490
2f4c0a16 13491static PyObject *_wrap_DC_GetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13492 PyObject *resultobj;
13493 wxDC *arg1 = (wxDC *) 0 ;
13494 wxBrush *result;
13495 PyObject * obj0 = 0 ;
13496 char *kwnames[] = {
13497 (char *) "self", NULL
13498 };
13499
13500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBackground",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13503 {
13504 PyThreadState* __tstate = wxPyBeginAllowThreads();
13505 {
13506 wxBrush const &_result_ref = ((wxDC const *)arg1)->GetBackground();
13507 result = (wxBrush *) &_result_ref;
13508 }
13509
13510 wxPyEndAllowThreads(__tstate);
13511 if (PyErr_Occurred()) SWIG_fail;
13512 }
ce7284bd
RD
13513 {
13514 wxBrush* resultptr = new wxBrush(*result);
13515 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBrush, 1);
13516 }
d14a1e28
RD
13517 return resultobj;
13518 fail:
13519 return NULL;
13520}
13521
13522
2f4c0a16 13523static PyObject *_wrap_DC_GetBrush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13524 PyObject *resultobj;
13525 wxDC *arg1 = (wxDC *) 0 ;
13526 wxBrush *result;
13527 PyObject * obj0 = 0 ;
13528 char *kwnames[] = {
13529 (char *) "self", NULL
13530 };
13531
13532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBrush",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13535 {
13536 PyThreadState* __tstate = wxPyBeginAllowThreads();
13537 {
13538 wxBrush const &_result_ref = ((wxDC const *)arg1)->GetBrush();
13539 result = (wxBrush *) &_result_ref;
13540 }
13541
13542 wxPyEndAllowThreads(__tstate);
13543 if (PyErr_Occurred()) SWIG_fail;
13544 }
ce7284bd
RD
13545 {
13546 wxBrush* resultptr = new wxBrush(*result);
13547 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBrush, 1);
13548 }
d14a1e28
RD
13549 return resultobj;
13550 fail:
13551 return NULL;
13552}
13553
13554
2f4c0a16 13555static PyObject *_wrap_DC_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13556 PyObject *resultobj;
13557 wxDC *arg1 = (wxDC *) 0 ;
13558 wxFont *result;
13559 PyObject * obj0 = 0 ;
13560 char *kwnames[] = {
13561 (char *) "self", NULL
13562 };
13563
13564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13567 {
13568 PyThreadState* __tstate = wxPyBeginAllowThreads();
13569 {
13570 wxFont const &_result_ref = ((wxDC const *)arg1)->GetFont();
13571 result = (wxFont *) &_result_ref;
13572 }
13573
13574 wxPyEndAllowThreads(__tstate);
13575 if (PyErr_Occurred()) SWIG_fail;
13576 }
ce7284bd
RD
13577 {
13578 wxFont* resultptr = new wxFont(*result);
13579 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
13580 }
d14a1e28
RD
13581 return resultobj;
13582 fail:
13583 return NULL;
13584}
13585
13586
2f4c0a16 13587static PyObject *_wrap_DC_GetPen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13588 PyObject *resultobj;
13589 wxDC *arg1 = (wxDC *) 0 ;
13590 wxPen *result;
13591 PyObject * obj0 = 0 ;
13592 char *kwnames[] = {
13593 (char *) "self", NULL
13594 };
13595
13596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetPen",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13599 {
13600 PyThreadState* __tstate = wxPyBeginAllowThreads();
13601 {
13602 wxPen const &_result_ref = ((wxDC const *)arg1)->GetPen();
13603 result = (wxPen *) &_result_ref;
13604 }
13605
13606 wxPyEndAllowThreads(__tstate);
13607 if (PyErr_Occurred()) SWIG_fail;
13608 }
ce7284bd
RD
13609 {
13610 wxPen* resultptr = new wxPen(*result);
13611 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxPen, 1);
13612 }
d14a1e28
RD
13613 return resultobj;
13614 fail:
13615 return NULL;
13616}
13617
13618
2f4c0a16 13619static PyObject *_wrap_DC_GetTextBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13620 PyObject *resultobj;
13621 wxDC *arg1 = (wxDC *) 0 ;
13622 wxColour *result;
13623 PyObject * obj0 = 0 ;
13624 char *kwnames[] = {
13625 (char *) "self", NULL
13626 };
13627
13628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetTextBackground",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13631 {
13632 PyThreadState* __tstate = wxPyBeginAllowThreads();
13633 {
13634 wxColour const &_result_ref = ((wxDC const *)arg1)->GetTextBackground();
13635 result = (wxColour *) &_result_ref;
13636 }
13637
13638 wxPyEndAllowThreads(__tstate);
13639 if (PyErr_Occurred()) SWIG_fail;
13640 }
2f4c0a16 13641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
13642 return resultobj;
13643 fail:
13644 return NULL;
13645}
13646
13647
2f4c0a16 13648static PyObject *_wrap_DC_GetTextForeground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13649 PyObject *resultobj;
13650 wxDC *arg1 = (wxDC *) 0 ;
13651 wxColour *result;
13652 PyObject * obj0 = 0 ;
13653 char *kwnames[] = {
13654 (char *) "self", NULL
13655 };
13656
13657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetTextForeground",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13660 {
13661 PyThreadState* __tstate = wxPyBeginAllowThreads();
13662 {
13663 wxColour const &_result_ref = ((wxDC const *)arg1)->GetTextForeground();
13664 result = (wxColour *) &_result_ref;
13665 }
13666
13667 wxPyEndAllowThreads(__tstate);
13668 if (PyErr_Occurred()) SWIG_fail;
13669 }
2f4c0a16 13670 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
13671 return resultobj;
13672 fail:
13673 return NULL;
13674}
13675
13676
2f4c0a16 13677static PyObject *_wrap_DC_SetTextForeground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13678 PyObject *resultobj;
13679 wxDC *arg1 = (wxDC *) 0 ;
13680 wxColour *arg2 = 0 ;
13681 wxColour temp2 ;
13682 PyObject * obj0 = 0 ;
13683 PyObject * obj1 = 0 ;
13684 char *kwnames[] = {
13685 (char *) "self",(char *) "colour", NULL
13686 };
13687
13688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetTextForeground",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13691 {
13692 arg2 = &temp2;
13693 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13694 }
13695 {
13696 PyThreadState* __tstate = wxPyBeginAllowThreads();
13697 (arg1)->SetTextForeground((wxColour const &)*arg2);
13698
13699 wxPyEndAllowThreads(__tstate);
13700 if (PyErr_Occurred()) SWIG_fail;
13701 }
13702 Py_INCREF(Py_None); resultobj = Py_None;
13703 return resultobj;
13704 fail:
13705 return NULL;
13706}
13707
13708
2f4c0a16 13709static PyObject *_wrap_DC_SetTextBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13710 PyObject *resultobj;
13711 wxDC *arg1 = (wxDC *) 0 ;
13712 wxColour *arg2 = 0 ;
13713 wxColour temp2 ;
13714 PyObject * obj0 = 0 ;
13715 PyObject * obj1 = 0 ;
13716 char *kwnames[] = {
13717 (char *) "self",(char *) "colour", NULL
13718 };
13719
13720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetTextBackground",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13723 {
13724 arg2 = &temp2;
13725 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13726 }
13727 {
13728 PyThreadState* __tstate = wxPyBeginAllowThreads();
13729 (arg1)->SetTextBackground((wxColour const &)*arg2);
13730
13731 wxPyEndAllowThreads(__tstate);
13732 if (PyErr_Occurred()) SWIG_fail;
13733 }
13734 Py_INCREF(Py_None); resultobj = Py_None;
13735 return resultobj;
13736 fail:
13737 return NULL;
13738}
13739
13740
2f4c0a16 13741static PyObject *_wrap_DC_GetMapMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13742 PyObject *resultobj;
13743 wxDC *arg1 = (wxDC *) 0 ;
13744 int result;
13745 PyObject * obj0 = 0 ;
13746 char *kwnames[] = {
13747 (char *) "self", NULL
13748 };
13749
13750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetMapMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13753 {
13754 PyThreadState* __tstate = wxPyBeginAllowThreads();
13755 result = (int)((wxDC const *)arg1)->GetMapMode();
13756
13757 wxPyEndAllowThreads(__tstate);
13758 if (PyErr_Occurred()) SWIG_fail;
13759 }
2f4c0a16 13760 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13761 return resultobj;
13762 fail:
13763 return NULL;
13764}
13765
13766
2f4c0a16 13767static PyObject *_wrap_DC_SetMapMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13768 PyObject *resultobj;
13769 wxDC *arg1 = (wxDC *) 0 ;
13770 int arg2 ;
13771 PyObject * obj0 = 0 ;
8edf1c75 13772 PyObject * obj1 = 0 ;
d14a1e28
RD
13773 char *kwnames[] = {
13774 (char *) "self",(char *) "mode", NULL
13775 };
13776
8edf1c75 13777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetMapMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13780 arg2 = (int) SWIG_AsInt(obj1);
13781 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13782 {
13783 PyThreadState* __tstate = wxPyBeginAllowThreads();
13784 (arg1)->SetMapMode(arg2);
13785
13786 wxPyEndAllowThreads(__tstate);
13787 if (PyErr_Occurred()) SWIG_fail;
13788 }
13789 Py_INCREF(Py_None); resultobj = Py_None;
13790 return resultobj;
13791 fail:
13792 return NULL;
13793}
13794
13795
2f4c0a16 13796static PyObject *_wrap_DC_GetUserScale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13797 PyObject *resultobj;
13798 wxDC *arg1 = (wxDC *) 0 ;
13799 double *arg2 = (double *) 0 ;
13800 double *arg3 = (double *) 0 ;
13801 double temp2 ;
13802 double temp3 ;
13803 PyObject * obj0 = 0 ;
13804 char *kwnames[] = {
13805 (char *) "self", NULL
13806 };
13807
13808 arg2 = &temp2;
13809 arg3 = &temp3;
13810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetUserScale",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13813 {
13814 PyThreadState* __tstate = wxPyBeginAllowThreads();
13815 ((wxDC const *)arg1)->GetUserScale(arg2,arg3);
13816
13817 wxPyEndAllowThreads(__tstate);
13818 if (PyErr_Occurred()) SWIG_fail;
13819 }
13820 Py_INCREF(Py_None); resultobj = Py_None;
13821 {
13822 PyObject *o = PyFloat_FromDouble((double) (*arg2));
13823 resultobj = t_output_helper(resultobj,o);
13824 }
13825 {
13826 PyObject *o = PyFloat_FromDouble((double) (*arg3));
13827 resultobj = t_output_helper(resultobj,o);
13828 }
13829 return resultobj;
13830 fail:
13831 return NULL;
13832}
13833
13834
2f4c0a16 13835static PyObject *_wrap_DC_SetUserScale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13836 PyObject *resultobj;
13837 wxDC *arg1 = (wxDC *) 0 ;
13838 double arg2 ;
13839 double arg3 ;
13840 PyObject * obj0 = 0 ;
8edf1c75
RD
13841 PyObject * obj1 = 0 ;
13842 PyObject * obj2 = 0 ;
d14a1e28
RD
13843 char *kwnames[] = {
13844 (char *) "self",(char *) "x",(char *) "y", NULL
13845 };
13846
8edf1c75 13847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetUserScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13850 arg2 = (double) SWIG_AsDouble(obj1);
13851 if (PyErr_Occurred()) SWIG_fail;
13852 arg3 = (double) SWIG_AsDouble(obj2);
13853 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13854 {
13855 PyThreadState* __tstate = wxPyBeginAllowThreads();
13856 (arg1)->SetUserScale(arg2,arg3);
13857
13858 wxPyEndAllowThreads(__tstate);
13859 if (PyErr_Occurred()) SWIG_fail;
13860 }
13861 Py_INCREF(Py_None); resultobj = Py_None;
13862 return resultobj;
13863 fail:
13864 return NULL;
13865}
13866
13867
2f4c0a16 13868static PyObject *_wrap_DC_GetLogicalScale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13869 PyObject *resultobj;
13870 wxDC *arg1 = (wxDC *) 0 ;
13871 double *arg2 = (double *) 0 ;
13872 double *arg3 = (double *) 0 ;
13873 double temp2 ;
13874 double temp3 ;
13875 PyObject * obj0 = 0 ;
13876 char *kwnames[] = {
13877 (char *) "self", NULL
13878 };
13879
13880 arg2 = &temp2;
13881 arg3 = &temp3;
13882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalScale",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13885 {
13886 PyThreadState* __tstate = wxPyBeginAllowThreads();
13887 (arg1)->GetLogicalScale(arg2,arg3);
13888
13889 wxPyEndAllowThreads(__tstate);
13890 if (PyErr_Occurred()) SWIG_fail;
13891 }
13892 Py_INCREF(Py_None); resultobj = Py_None;
13893 {
13894 PyObject *o = PyFloat_FromDouble((double) (*arg2));
13895 resultobj = t_output_helper(resultobj,o);
13896 }
13897 {
13898 PyObject *o = PyFloat_FromDouble((double) (*arg3));
13899 resultobj = t_output_helper(resultobj,o);
13900 }
13901 return resultobj;
13902 fail:
13903 return NULL;
13904}
13905
13906
2f4c0a16 13907static PyObject *_wrap_DC_SetLogicalScale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13908 PyObject *resultobj;
13909 wxDC *arg1 = (wxDC *) 0 ;
13910 double arg2 ;
13911 double arg3 ;
13912 PyObject * obj0 = 0 ;
8edf1c75
RD
13913 PyObject * obj1 = 0 ;
13914 PyObject * obj2 = 0 ;
d14a1e28
RD
13915 char *kwnames[] = {
13916 (char *) "self",(char *) "x",(char *) "y", NULL
13917 };
13918
8edf1c75 13919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetLogicalScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13922 arg2 = (double) SWIG_AsDouble(obj1);
13923 if (PyErr_Occurred()) SWIG_fail;
13924 arg3 = (double) SWIG_AsDouble(obj2);
13925 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13926 {
13927 PyThreadState* __tstate = wxPyBeginAllowThreads();
13928 (arg1)->SetLogicalScale(arg2,arg3);
13929
13930 wxPyEndAllowThreads(__tstate);
13931 if (PyErr_Occurred()) SWIG_fail;
13932 }
13933 Py_INCREF(Py_None); resultobj = Py_None;
13934 return resultobj;
13935 fail:
13936 return NULL;
13937}
13938
13939
2f4c0a16 13940static PyObject *_wrap_DC_GetLogicalOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13941 PyObject *resultobj;
13942 wxDC *arg1 = (wxDC *) 0 ;
44127b65 13943 wxPoint result;
d14a1e28
RD
13944 PyObject * obj0 = 0 ;
13945 char *kwnames[] = {
13946 (char *) "self", NULL
13947 };
13948
44127b65 13949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalOrigin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13952 {
13953 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 13954 result = ((wxDC const *)arg1)->GetLogicalOrigin();
d14a1e28
RD
13955
13956 wxPyEndAllowThreads(__tstate);
13957 if (PyErr_Occurred()) SWIG_fail;
13958 }
d14a1e28 13959 {
44127b65
RD
13960 wxPoint * resultptr;
13961 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 13962 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
13963 }
13964 return resultobj;
13965 fail:
13966 return NULL;
13967}
13968
13969
2f4c0a16 13970static PyObject *_wrap_DC_GetLogicalOriginTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13971 PyObject *resultobj;
13972 wxDC *arg1 = (wxDC *) 0 ;
44127b65
RD
13973 int *arg2 = (int *) 0 ;
13974 int *arg3 = (int *) 0 ;
13975 int temp2 ;
13976 int temp3 ;
d14a1e28
RD
13977 PyObject * obj0 = 0 ;
13978 char *kwnames[] = {
13979 (char *) "self", NULL
13980 };
13981
44127b65
RD
13982 arg2 = &temp2;
13983 arg3 = &temp3;
13984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalOriginTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13987 {
13988 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 13989 ((wxDC const *)arg1)->GetLogicalOrigin(arg2,arg3);
d14a1e28
RD
13990
13991 wxPyEndAllowThreads(__tstate);
13992 if (PyErr_Occurred()) SWIG_fail;
13993 }
44127b65 13994 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28 13995 {
44127b65
RD
13996 PyObject *o = PyInt_FromLong((long) (*arg2));
13997 resultobj = t_output_helper(resultobj,o);
13998 }
13999 {
14000 PyObject *o = PyInt_FromLong((long) (*arg3));
14001 resultobj = t_output_helper(resultobj,o);
d14a1e28
RD
14002 }
14003 return resultobj;
14004 fail:
14005 return NULL;
14006}
14007
14008
2f4c0a16 14009static PyObject *_wrap_DC_SetLogicalOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14010 PyObject *resultobj;
14011 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
14012 int arg2 ;
14013 int arg3 ;
d14a1e28 14014 PyObject * obj0 = 0 ;
8edf1c75
RD
14015 PyObject * obj1 = 0 ;
14016 PyObject * obj2 = 0 ;
d14a1e28
RD
14017 char *kwnames[] = {
14018 (char *) "self",(char *) "x",(char *) "y", NULL
14019 };
14020
8edf1c75 14021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14024 arg2 = (int) SWIG_AsInt(obj1);
14025 if (PyErr_Occurred()) SWIG_fail;
14026 arg3 = (int) SWIG_AsInt(obj2);
14027 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14028 {
14029 PyThreadState* __tstate = wxPyBeginAllowThreads();
14030 (arg1)->SetLogicalOrigin(arg2,arg3);
14031
14032 wxPyEndAllowThreads(__tstate);
14033 if (PyErr_Occurred()) SWIG_fail;
14034 }
14035 Py_INCREF(Py_None); resultobj = Py_None;
14036 return resultobj;
14037 fail:
14038 return NULL;
14039}
14040
14041
2f4c0a16 14042static PyObject *_wrap_DC_GetDeviceOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14043 PyObject *resultobj;
14044 wxDC *arg1 = (wxDC *) 0 ;
44127b65 14045 wxPoint result;
d14a1e28
RD
14046 PyObject * obj0 = 0 ;
14047 char *kwnames[] = {
14048 (char *) "self", NULL
14049 };
14050
44127b65 14051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetDeviceOrigin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14054 {
14055 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 14056 result = ((wxDC const *)arg1)->GetDeviceOrigin();
d14a1e28
RD
14057
14058 wxPyEndAllowThreads(__tstate);
14059 if (PyErr_Occurred()) SWIG_fail;
14060 }
d14a1e28 14061 {
44127b65
RD
14062 wxPoint * resultptr;
14063 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 14064 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14065 }
14066 return resultobj;
14067 fail:
14068 return NULL;
14069}
14070
14071
2f4c0a16 14072static PyObject *_wrap_DC_GetDeviceOriginTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14073 PyObject *resultobj;
14074 wxDC *arg1 = (wxDC *) 0 ;
44127b65
RD
14075 int *arg2 = (int *) 0 ;
14076 int *arg3 = (int *) 0 ;
14077 int temp2 ;
14078 int temp3 ;
d14a1e28
RD
14079 PyObject * obj0 = 0 ;
14080 char *kwnames[] = {
14081 (char *) "self", NULL
14082 };
14083
44127b65
RD
14084 arg2 = &temp2;
14085 arg3 = &temp3;
14086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetDeviceOriginTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14089 {
14090 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 14091 ((wxDC const *)arg1)->GetDeviceOrigin(arg2,arg3);
d14a1e28
RD
14092
14093 wxPyEndAllowThreads(__tstate);
14094 if (PyErr_Occurred()) SWIG_fail;
14095 }
44127b65 14096 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28 14097 {
44127b65
RD
14098 PyObject *o = PyInt_FromLong((long) (*arg2));
14099 resultobj = t_output_helper(resultobj,o);
14100 }
14101 {
14102 PyObject *o = PyInt_FromLong((long) (*arg3));
14103 resultobj = t_output_helper(resultobj,o);
d14a1e28
RD
14104 }
14105 return resultobj;
14106 fail:
14107 return NULL;
14108}
14109
14110
2f4c0a16 14111static PyObject *_wrap_DC_SetDeviceOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14112 PyObject *resultobj;
14113 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
14114 int arg2 ;
14115 int arg3 ;
d14a1e28 14116 PyObject * obj0 = 0 ;
8edf1c75
RD
14117 PyObject * obj1 = 0 ;
14118 PyObject * obj2 = 0 ;
d14a1e28
RD
14119 char *kwnames[] = {
14120 (char *) "self",(char *) "x",(char *) "y", NULL
14121 };
14122
8edf1c75 14123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetDeviceOrigin",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14126 arg2 = (int) SWIG_AsInt(obj1);
14127 if (PyErr_Occurred()) SWIG_fail;
14128 arg3 = (int) SWIG_AsInt(obj2);
14129 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14130 {
14131 PyThreadState* __tstate = wxPyBeginAllowThreads();
14132 (arg1)->SetDeviceOrigin(arg2,arg3);
14133
14134 wxPyEndAllowThreads(__tstate);
14135 if (PyErr_Occurred()) SWIG_fail;
14136 }
14137 Py_INCREF(Py_None); resultobj = Py_None;
14138 return resultobj;
14139 fail:
14140 return NULL;
14141}
14142
14143
2f4c0a16 14144static PyObject *_wrap_DC_SetAxisOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14145 PyObject *resultobj;
14146 wxDC *arg1 = (wxDC *) 0 ;
14147 bool arg2 ;
14148 bool arg3 ;
14149 PyObject * obj0 = 0 ;
14150 PyObject * obj1 = 0 ;
14151 PyObject * obj2 = 0 ;
14152 char *kwnames[] = {
14153 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14154 };
14155
14156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetAxisOrientation",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14159 arg2 = (bool) SWIG_AsBool(obj1);
14160 if (PyErr_Occurred()) SWIG_fail;
14161 arg3 = (bool) SWIG_AsBool(obj2);
14162 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14163 {
14164 PyThreadState* __tstate = wxPyBeginAllowThreads();
14165 (arg1)->SetAxisOrientation(arg2,arg3);
14166
14167 wxPyEndAllowThreads(__tstate);
14168 if (PyErr_Occurred()) SWIG_fail;
14169 }
14170 Py_INCREF(Py_None); resultobj = Py_None;
14171 return resultobj;
14172 fail:
14173 return NULL;
14174}
14175
14176
2f4c0a16 14177static PyObject *_wrap_DC_GetLogicalFunction(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14178 PyObject *resultobj;
14179 wxDC *arg1 = (wxDC *) 0 ;
14180 int result;
14181 PyObject * obj0 = 0 ;
14182 char *kwnames[] = {
14183 (char *) "self", NULL
14184 };
14185
14186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalFunction",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14189 {
14190 PyThreadState* __tstate = wxPyBeginAllowThreads();
14191 result = (int)((wxDC const *)arg1)->GetLogicalFunction();
14192
14193 wxPyEndAllowThreads(__tstate);
14194 if (PyErr_Occurred()) SWIG_fail;
14195 }
2f4c0a16 14196 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14197 return resultobj;
14198 fail:
14199 return NULL;
14200}
14201
14202
2f4c0a16 14203static PyObject *_wrap_DC_SetLogicalFunction(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14204 PyObject *resultobj;
14205 wxDC *arg1 = (wxDC *) 0 ;
14206 int arg2 ;
14207 PyObject * obj0 = 0 ;
8edf1c75 14208 PyObject * obj1 = 0 ;
d14a1e28
RD
14209 char *kwnames[] = {
14210 (char *) "self",(char *) "function", NULL
14211 };
14212
8edf1c75 14213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetLogicalFunction",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14216 arg2 = (int) SWIG_AsInt(obj1);
14217 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14218 {
14219 PyThreadState* __tstate = wxPyBeginAllowThreads();
14220 (arg1)->SetLogicalFunction(arg2);
14221
14222 wxPyEndAllowThreads(__tstate);
14223 if (PyErr_Occurred()) SWIG_fail;
14224 }
14225 Py_INCREF(Py_None); resultobj = Py_None;
14226 return resultobj;
14227 fail:
14228 return NULL;
14229}
14230
14231
2f4c0a16 14232static PyObject *_wrap_DC_SetOptimization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14233 PyObject *resultobj;
14234 wxDC *arg1 = (wxDC *) 0 ;
14235 bool arg2 ;
14236 PyObject * obj0 = 0 ;
14237 PyObject * obj1 = 0 ;
14238 char *kwnames[] = {
14239 (char *) "self",(char *) "opt", NULL
14240 };
14241
14242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetOptimization",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14245 arg2 = (bool) SWIG_AsBool(obj1);
14246 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14247 {
14248 PyThreadState* __tstate = wxPyBeginAllowThreads();
14249 (arg1)->SetOptimization(arg2);
14250
14251 wxPyEndAllowThreads(__tstate);
14252 if (PyErr_Occurred()) SWIG_fail;
14253 }
14254 Py_INCREF(Py_None); resultobj = Py_None;
14255 return resultobj;
14256 fail:
14257 return NULL;
14258}
14259
14260
2f4c0a16 14261static PyObject *_wrap_DC_GetOptimization(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14262 PyObject *resultobj;
14263 wxDC *arg1 = (wxDC *) 0 ;
14264 bool result;
14265 PyObject * obj0 = 0 ;
14266 char *kwnames[] = {
14267 (char *) "self", NULL
14268 };
14269
14270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetOptimization",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14273 {
14274 PyThreadState* __tstate = wxPyBeginAllowThreads();
14275 result = (bool)(arg1)->GetOptimization();
14276
14277 wxPyEndAllowThreads(__tstate);
14278 if (PyErr_Occurred()) SWIG_fail;
14279 }
02a34c4c 14280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14281 return resultobj;
14282 fail:
14283 return NULL;
14284}
14285
14286
2f4c0a16 14287static PyObject *_wrap_DC_CalcBoundingBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14288 PyObject *resultobj;
14289 wxDC *arg1 = (wxDC *) 0 ;
423f194a
RD
14290 int arg2 ;
14291 int arg3 ;
d14a1e28 14292 PyObject * obj0 = 0 ;
8edf1c75
RD
14293 PyObject * obj1 = 0 ;
14294 PyObject * obj2 = 0 ;
d14a1e28
RD
14295 char *kwnames[] = {
14296 (char *) "self",(char *) "x",(char *) "y", NULL
14297 };
14298
8edf1c75 14299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_CalcBoundingBox",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14302 arg2 = (int) SWIG_AsInt(obj1);
14303 if (PyErr_Occurred()) SWIG_fail;
14304 arg3 = (int) SWIG_AsInt(obj2);
14305 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14306 {
14307 PyThreadState* __tstate = wxPyBeginAllowThreads();
14308 (arg1)->CalcBoundingBox(arg2,arg3);
14309
14310 wxPyEndAllowThreads(__tstate);
14311 if (PyErr_Occurred()) SWIG_fail;
14312 }
14313 Py_INCREF(Py_None); resultobj = Py_None;
14314 return resultobj;
14315 fail:
14316 return NULL;
14317}
14318
14319
2f4c0a16 14320static PyObject *_wrap_DC_ResetBoundingBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14321 PyObject *resultobj;
14322 wxDC *arg1 = (wxDC *) 0 ;
14323 PyObject * obj0 = 0 ;
14324 char *kwnames[] = {
14325 (char *) "self", NULL
14326 };
14327
14328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_ResetBoundingBox",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14331 {
14332 PyThreadState* __tstate = wxPyBeginAllowThreads();
14333 (arg1)->ResetBoundingBox();
14334
14335 wxPyEndAllowThreads(__tstate);
14336 if (PyErr_Occurred()) SWIG_fail;
14337 }
14338 Py_INCREF(Py_None); resultobj = Py_None;
14339 return resultobj;
14340 fail:
14341 return NULL;
14342}
14343
14344
2f4c0a16 14345static PyObject *_wrap_DC_MinX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14346 PyObject *resultobj;
14347 wxDC *arg1 = (wxDC *) 0 ;
423f194a 14348 int result;
d14a1e28
RD
14349 PyObject * obj0 = 0 ;
14350 char *kwnames[] = {
14351 (char *) "self", NULL
14352 };
14353
14354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MinX",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14357 {
14358 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 14359 result = (int)((wxDC const *)arg1)->MinX();
d14a1e28
RD
14360
14361 wxPyEndAllowThreads(__tstate);
14362 if (PyErr_Occurred()) SWIG_fail;
14363 }
2f4c0a16 14364 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14365 return resultobj;
14366 fail:
14367 return NULL;
14368}
14369
14370
2f4c0a16 14371static PyObject *_wrap_DC_MaxX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14372 PyObject *resultobj;
14373 wxDC *arg1 = (wxDC *) 0 ;
423f194a 14374 int result;
d14a1e28
RD
14375 PyObject * obj0 = 0 ;
14376 char *kwnames[] = {
14377 (char *) "self", NULL
14378 };
14379
14380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MaxX",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14383 {
14384 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 14385 result = (int)((wxDC const *)arg1)->MaxX();
d14a1e28
RD
14386
14387 wxPyEndAllowThreads(__tstate);
14388 if (PyErr_Occurred()) SWIG_fail;
14389 }
2f4c0a16 14390 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14391 return resultobj;
14392 fail:
14393 return NULL;
14394}
14395
14396
2f4c0a16 14397static PyObject *_wrap_DC_MinY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14398 PyObject *resultobj;
14399 wxDC *arg1 = (wxDC *) 0 ;
423f194a 14400 int result;
d14a1e28
RD
14401 PyObject * obj0 = 0 ;
14402 char *kwnames[] = {
14403 (char *) "self", NULL
14404 };
14405
14406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MinY",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14409 {
14410 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 14411 result = (int)((wxDC const *)arg1)->MinY();
d14a1e28
RD
14412
14413 wxPyEndAllowThreads(__tstate);
14414 if (PyErr_Occurred()) SWIG_fail;
14415 }
2f4c0a16 14416 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14417 return resultobj;
14418 fail:
14419 return NULL;
14420}
14421
14422
2f4c0a16 14423static PyObject *_wrap_DC_MaxY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14424 PyObject *resultobj;
14425 wxDC *arg1 = (wxDC *) 0 ;
423f194a 14426 int result;
d14a1e28
RD
14427 PyObject * obj0 = 0 ;
14428 char *kwnames[] = {
14429 (char *) "self", NULL
14430 };
14431
14432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MaxY",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14435 {
14436 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 14437 result = (int)((wxDC const *)arg1)->MaxY();
d14a1e28
RD
14438
14439 wxPyEndAllowThreads(__tstate);
14440 if (PyErr_Occurred()) SWIG_fail;
14441 }
2f4c0a16 14442 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14443 return resultobj;
14444 fail:
14445 return NULL;
14446}
14447
14448
2f4c0a16 14449static PyObject *_wrap_DC_GetBoundingBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14450 PyObject *resultobj;
14451 wxDC *arg1 = (wxDC *) 0 ;
14452 int *arg2 = (int *) 0 ;
14453 int *arg3 = (int *) 0 ;
14454 int *arg4 = (int *) 0 ;
14455 int *arg5 = (int *) 0 ;
14456 int temp2 ;
14457 int temp3 ;
14458 int temp4 ;
14459 int temp5 ;
14460 PyObject * obj0 = 0 ;
14461 char *kwnames[] = {
14462 (char *) "self", NULL
14463 };
14464
14465 arg2 = &temp2;
14466 arg3 = &temp3;
14467 arg4 = &temp4;
14468 arg5 = &temp5;
14469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBoundingBox",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14472 {
14473 PyThreadState* __tstate = wxPyBeginAllowThreads();
14474 wxDC_GetBoundingBox(arg1,arg2,arg3,arg4,arg5);
14475
14476 wxPyEndAllowThreads(__tstate);
14477 if (PyErr_Occurred()) SWIG_fail;
14478 }
14479 Py_INCREF(Py_None); resultobj = Py_None;
14480 {
14481 PyObject *o = PyInt_FromLong((long) (*arg2));
14482 resultobj = t_output_helper(resultobj,o);
14483 }
14484 {
14485 PyObject *o = PyInt_FromLong((long) (*arg3));
14486 resultobj = t_output_helper(resultobj,o);
14487 }
14488 {
14489 PyObject *o = PyInt_FromLong((long) (*arg4));
14490 resultobj = t_output_helper(resultobj,o);
14491 }
14492 {
14493 PyObject *o = PyInt_FromLong((long) (*arg5));
14494 resultobj = t_output_helper(resultobj,o);
14495 }
14496 return resultobj;
14497 fail:
14498 return NULL;
14499}
14500
14501
2f4c0a16 14502static PyObject *_wrap_DC__DrawPointList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14503 PyObject *resultobj;
14504 wxDC *arg1 = (wxDC *) 0 ;
14505 PyObject *arg2 = (PyObject *) 0 ;
14506 PyObject *arg3 = (PyObject *) 0 ;
14507 PyObject *arg4 = (PyObject *) 0 ;
14508 PyObject *result;
14509 PyObject * obj0 = 0 ;
14510 PyObject * obj1 = 0 ;
14511 PyObject * obj2 = 0 ;
14512 PyObject * obj3 = 0 ;
14513 char *kwnames[] = {
14514 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14515 };
14516
14517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawPointList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
14518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14520 arg2 = obj1;
14521 arg3 = obj2;
14522 arg4 = obj3;
14523 {
14524 PyThreadState* __tstate = wxPyBeginAllowThreads();
14525 result = (PyObject *)wxDC__DrawPointList(arg1,arg2,arg3,arg4);
14526
14527 wxPyEndAllowThreads(__tstate);
14528 if (PyErr_Occurred()) SWIG_fail;
14529 }
14530 resultobj = result;
14531 return resultobj;
14532 fail:
14533 return NULL;
14534}
14535
14536
2f4c0a16 14537static PyObject *_wrap_DC__DrawLineList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14538 PyObject *resultobj;
14539 wxDC *arg1 = (wxDC *) 0 ;
14540 PyObject *arg2 = (PyObject *) 0 ;
14541 PyObject *arg3 = (PyObject *) 0 ;
14542 PyObject *arg4 = (PyObject *) 0 ;
14543 PyObject *result;
14544 PyObject * obj0 = 0 ;
14545 PyObject * obj1 = 0 ;
14546 PyObject * obj2 = 0 ;
14547 PyObject * obj3 = 0 ;
14548 char *kwnames[] = {
14549 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14550 };
14551
14552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawLineList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
14553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14555 arg2 = obj1;
14556 arg3 = obj2;
14557 arg4 = obj3;
14558 {
14559 PyThreadState* __tstate = wxPyBeginAllowThreads();
14560 result = (PyObject *)wxDC__DrawLineList(arg1,arg2,arg3,arg4);
14561
14562 wxPyEndAllowThreads(__tstate);
14563 if (PyErr_Occurred()) SWIG_fail;
14564 }
14565 resultobj = result;
14566 return resultobj;
14567 fail:
14568 return NULL;
14569}
14570
14571
2f4c0a16 14572static PyObject *_wrap_DC__DrawRectangleList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14573 PyObject *resultobj;
14574 wxDC *arg1 = (wxDC *) 0 ;
14575 PyObject *arg2 = (PyObject *) 0 ;
14576 PyObject *arg3 = (PyObject *) 0 ;
14577 PyObject *arg4 = (PyObject *) 0 ;
14578 PyObject *result;
14579 PyObject * obj0 = 0 ;
14580 PyObject * obj1 = 0 ;
14581 PyObject * obj2 = 0 ;
14582 PyObject * obj3 = 0 ;
14583 char *kwnames[] = {
14584 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14585 };
14586
14587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawRectangleList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
14588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14590 arg2 = obj1;
14591 arg3 = obj2;
14592 arg4 = obj3;
14593 {
14594 PyThreadState* __tstate = wxPyBeginAllowThreads();
14595 result = (PyObject *)wxDC__DrawRectangleList(arg1,arg2,arg3,arg4);
14596
14597 wxPyEndAllowThreads(__tstate);
14598 if (PyErr_Occurred()) SWIG_fail;
14599 }
14600 resultobj = result;
14601 return resultobj;
14602 fail:
14603 return NULL;
14604}
14605
14606
2f4c0a16 14607static PyObject *_wrap_DC__DrawEllipseList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14608 PyObject *resultobj;
14609 wxDC *arg1 = (wxDC *) 0 ;
14610 PyObject *arg2 = (PyObject *) 0 ;
14611 PyObject *arg3 = (PyObject *) 0 ;
14612 PyObject *arg4 = (PyObject *) 0 ;
14613 PyObject *result;
14614 PyObject * obj0 = 0 ;
14615 PyObject * obj1 = 0 ;
14616 PyObject * obj2 = 0 ;
14617 PyObject * obj3 = 0 ;
14618 char *kwnames[] = {
14619 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14620 };
14621
14622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawEllipseList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
14623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14625 arg2 = obj1;
14626 arg3 = obj2;
14627 arg4 = obj3;
14628 {
14629 PyThreadState* __tstate = wxPyBeginAllowThreads();
14630 result = (PyObject *)wxDC__DrawEllipseList(arg1,arg2,arg3,arg4);
14631
14632 wxPyEndAllowThreads(__tstate);
14633 if (PyErr_Occurred()) SWIG_fail;
14634 }
14635 resultobj = result;
14636 return resultobj;
14637 fail:
14638 return NULL;
14639}
14640
14641
2f4c0a16 14642static PyObject *_wrap_DC__DrawPolygonList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14643 PyObject *resultobj;
14644 wxDC *arg1 = (wxDC *) 0 ;
14645 PyObject *arg2 = (PyObject *) 0 ;
14646 PyObject *arg3 = (PyObject *) 0 ;
14647 PyObject *arg4 = (PyObject *) 0 ;
14648 PyObject *result;
14649 PyObject * obj0 = 0 ;
14650 PyObject * obj1 = 0 ;
14651 PyObject * obj2 = 0 ;
14652 PyObject * obj3 = 0 ;
14653 char *kwnames[] = {
14654 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14655 };
14656
14657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawPolygonList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
14658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14660 arg2 = obj1;
14661 arg3 = obj2;
14662 arg4 = obj3;
14663 {
14664 PyThreadState* __tstate = wxPyBeginAllowThreads();
14665 result = (PyObject *)wxDC__DrawPolygonList(arg1,arg2,arg3,arg4);
14666
14667 wxPyEndAllowThreads(__tstate);
14668 if (PyErr_Occurred()) SWIG_fail;
14669 }
14670 resultobj = result;
14671 return resultobj;
14672 fail:
14673 return NULL;
14674}
14675
14676
2f4c0a16 14677static PyObject *_wrap_DC__DrawTextList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14678 PyObject *resultobj;
14679 wxDC *arg1 = (wxDC *) 0 ;
14680 PyObject *arg2 = (PyObject *) 0 ;
14681 PyObject *arg3 = (PyObject *) 0 ;
14682 PyObject *arg4 = (PyObject *) 0 ;
14683 PyObject *arg5 = (PyObject *) 0 ;
14684 PyObject *result;
14685 PyObject * obj0 = 0 ;
14686 PyObject * obj1 = 0 ;
14687 PyObject * obj2 = 0 ;
14688 PyObject * obj3 = 0 ;
14689 PyObject * obj4 = 0 ;
14690 char *kwnames[] = {
14691 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14692 };
14693
14694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC__DrawTextList",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
14695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14697 arg2 = obj1;
14698 arg3 = obj2;
14699 arg4 = obj3;
14700 arg5 = obj4;
14701 {
14702 PyThreadState* __tstate = wxPyBeginAllowThreads();
14703 result = (PyObject *)wxDC__DrawTextList(arg1,arg2,arg3,arg4,arg5);
14704
14705 wxPyEndAllowThreads(__tstate);
14706 if (PyErr_Occurred()) SWIG_fail;
14707 }
14708 resultobj = result;
14709 return resultobj;
14710 fail:
14711 return NULL;
14712}
14713
14714
2f4c0a16 14715static PyObject * DC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14716 PyObject *obj;
14717 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14718 SWIG_TypeClientData(SWIGTYPE_p_wxDC, obj);
14719 Py_INCREF(obj);
14720 return Py_BuildValue((char *)"");
14721}
2f4c0a16 14722static PyObject *_wrap_new_MemoryDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14723 PyObject *resultobj;
14724 wxMemoryDC *result;
14725 char *kwnames[] = {
14726 NULL
14727 };
14728
14729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryDC",kwnames)) goto fail;
14730 {
14731 PyThreadState* __tstate = wxPyBeginAllowThreads();
14732 result = (wxMemoryDC *)new wxMemoryDC();
14733
14734 wxPyEndAllowThreads(__tstate);
14735 if (PyErr_Occurred()) SWIG_fail;
14736 }
2f4c0a16 14737 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryDC, 1);
d14a1e28
RD
14738 return resultobj;
14739 fail:
14740 return NULL;
14741}
14742
14743
2f4c0a16 14744static PyObject *_wrap_new_MemoryDCFromDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14745 PyObject *resultobj;
14746 wxDC *arg1 = (wxDC *) 0 ;
14747 wxMemoryDC *result;
14748 PyObject * obj0 = 0 ;
14749 char *kwnames[] = {
14750 (char *) "oldDC", NULL
14751 };
14752
14753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_MemoryDCFromDC",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14756 {
14757 PyThreadState* __tstate = wxPyBeginAllowThreads();
14758 result = (wxMemoryDC *)new wxMemoryDC(arg1);
14759
14760 wxPyEndAllowThreads(__tstate);
14761 if (PyErr_Occurred()) SWIG_fail;
14762 }
2f4c0a16 14763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryDC, 1);
d14a1e28
RD
14764 return resultobj;
14765 fail:
14766 return NULL;
14767}
14768
14769
2f4c0a16 14770static PyObject *_wrap_MemoryDC_SelectObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14771 PyObject *resultobj;
14772 wxMemoryDC *arg1 = (wxMemoryDC *) 0 ;
14773 wxBitmap *arg2 = 0 ;
14774 PyObject * obj0 = 0 ;
14775 PyObject * obj1 = 0 ;
14776 char *kwnames[] = {
14777 (char *) "self",(char *) "bitmap", NULL
14778 };
14779
14780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryDC_SelectObject",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryDC,
14782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14783 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
14784 SWIG_POINTER_EXCEPTION | 0)) == -1)
14785 SWIG_fail;
d14a1e28 14786 if (arg2 == NULL) {
2f4c0a16
RD
14787 PyErr_SetString(PyExc_TypeError,"null reference");
14788 SWIG_fail;
d14a1e28
RD
14789 }
14790 {
14791 PyThreadState* __tstate = wxPyBeginAllowThreads();
14792 (arg1)->SelectObject((wxBitmap const &)*arg2);
14793
14794 wxPyEndAllowThreads(__tstate);
14795 if (PyErr_Occurred()) SWIG_fail;
14796 }
14797 Py_INCREF(Py_None); resultobj = Py_None;
14798 return resultobj;
14799 fail:
14800 return NULL;
14801}
14802
14803
2f4c0a16 14804static PyObject * MemoryDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14805 PyObject *obj;
14806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14807 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC, obj);
14808 Py_INCREF(obj);
14809 return Py_BuildValue((char *)"");
14810}
2f4c0a16 14811static PyObject *_wrap_new_BufferedDC__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
14812 PyObject *resultobj;
14813 wxDC *arg1 = (wxDC *) 0 ;
14814 wxBitmap *arg2 = 0 ;
14815 wxBufferedDC *result;
14816 PyObject * obj0 = 0 ;
14817 PyObject * obj1 = 0 ;
d14a1e28 14818
0ffb2aa6 14819 if(!PyArg_ParseTuple(args,(char *)"OO:new_BufferedDC",&obj0,&obj1)) goto fail;
2f4c0a16
RD
14820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14822 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
14823 SWIG_POINTER_EXCEPTION | 0)) == -1)
14824 SWIG_fail;
d14a1e28 14825 if (arg2 == NULL) {
2f4c0a16
RD
14826 PyErr_SetString(PyExc_TypeError,"null reference");
14827 SWIG_fail;
d14a1e28
RD
14828 }
14829 {
14830 PyThreadState* __tstate = wxPyBeginAllowThreads();
14831 result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxBitmap const &)*arg2);
14832
14833 wxPyEndAllowThreads(__tstate);
14834 if (PyErr_Occurred()) SWIG_fail;
14835 }
2f4c0a16 14836 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedDC, 1);
d14a1e28
RD
14837 return resultobj;
14838 fail:
14839 return NULL;
14840}
14841
14842
2f4c0a16 14843static PyObject *_wrap_new_BufferedDC__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
14844 PyObject *resultobj;
14845 wxDC *arg1 = (wxDC *) 0 ;
14846 wxSize *arg2 = 0 ;
14847 wxBufferedDC *result;
14848 wxSize temp2 ;
14849 PyObject * obj0 = 0 ;
14850 PyObject * obj1 = 0 ;
0ffb2aa6 14851
38f59159 14852 if(!PyArg_ParseTuple(args,(char *)"OO:new_BufferedDC",&obj0,&obj1)) goto fail;
2f4c0a16
RD
14853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
0ffb2aa6
RD
14855 {
14856 arg2 = &temp2;
14857 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14858 }
0ffb2aa6
RD
14859 {
14860 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 14861 result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxSize const &)*arg2);
0ffb2aa6
RD
14862
14863 wxPyEndAllowThreads(__tstate);
14864 if (PyErr_Occurred()) SWIG_fail;
14865 }
2f4c0a16 14866 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedDC, 1);
0ffb2aa6
RD
14867 return resultobj;
14868 fail:
14869 return NULL;
14870}
14871
14872
14873static PyObject *_wrap_new_BufferedDC(PyObject *self, PyObject *args) {
14874 int argc;
38f59159 14875 PyObject *argv[3];
0ffb2aa6
RD
14876 int ii;
14877
14878 argc = PyObject_Length(args);
38f59159 14879 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
0ffb2aa6
RD
14880 argv[ii] = PyTuple_GetItem(args,ii);
14881 }
14882 if (argc == 2) {
14883 int _v;
14884 {
14885 void *ptr;
2f4c0a16 14886 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDC, 0) == -1) {
0ffb2aa6
RD
14887 _v = 0;
14888 PyErr_Clear();
14889 } else {
14890 _v = 1;
14891 }
14892 }
14893 if (_v) {
14894 {
14895 void *ptr;
2f4c0a16 14896 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxBitmap, 0) == -1) {
0ffb2aa6
RD
14897 _v = 0;
14898 PyErr_Clear();
14899 } else {
14900 _v = 1;
14901 }
14902 }
14903 if (_v) {
14904 return _wrap_new_BufferedDC__SWIG_0(self,args);
14905 }
14906 }
14907 }
38f59159 14908 if (argc == 2) {
0ffb2aa6
RD
14909 int _v;
14910 {
14911 void *ptr;
2f4c0a16 14912 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDC, 0) == -1) {
0ffb2aa6
RD
14913 _v = 0;
14914 PyErr_Clear();
14915 } else {
14916 _v = 1;
14917 }
14918 }
14919 if (_v) {
14920 {
14921 _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2);
14922 }
14923 if (_v) {
38f59159 14924 return _wrap_new_BufferedDC__SWIG_1(self,args);
0ffb2aa6
RD
14925 }
14926 }
14927 }
d14a1e28 14928
0ffb2aa6
RD
14929 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BufferedDC'");
14930 return NULL;
14931}
14932
14933
2f4c0a16 14934static PyObject *_wrap_new_BufferedDCInternalBuffer(PyObject *, PyObject *args) {
0ffb2aa6
RD
14935 PyObject *resultobj;
14936 wxDC *arg1 = (wxDC *) 0 ;
14937 wxSize *arg2 = 0 ;
0ffb2aa6
RD
14938 wxBufferedDC *result;
14939 wxSize temp2 ;
14940 PyObject * obj0 = 0 ;
14941 PyObject * obj1 = 0 ;
0ffb2aa6 14942
38f59159 14943 if(!PyArg_ParseTuple(args,(char *)"OO:new_BufferedDCInternalBuffer",&obj0,&obj1)) goto fail;
2f4c0a16
RD
14944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14946 {
14947 arg2 = &temp2;
14948 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14949 }
14950 {
14951 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 14952 result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxSize const &)*arg2);
d14a1e28
RD
14953
14954 wxPyEndAllowThreads(__tstate);
14955 if (PyErr_Occurred()) SWIG_fail;
14956 }
2f4c0a16 14957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedDC, 1);
d14a1e28
RD
14958 return resultobj;
14959 fail:
14960 return NULL;
14961}
14962
14963
2f4c0a16 14964static PyObject *_wrap_delete_BufferedDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14965 PyObject *resultobj;
14966 wxBufferedDC *arg1 = (wxBufferedDC *) 0 ;
14967 PyObject * obj0 = 0 ;
14968 char *kwnames[] = {
14969 (char *) "self", NULL
14970 };
14971
38f59159 14972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BufferedDC",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBufferedDC,
14974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14975 {
14976 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 14977 delete arg1;
d14a1e28
RD
14978
14979 wxPyEndAllowThreads(__tstate);
14980 if (PyErr_Occurred()) SWIG_fail;
14981 }
14982 Py_INCREF(Py_None); resultobj = Py_None;
14983 return resultobj;
14984 fail:
14985 return NULL;
14986}
14987
14988
2f4c0a16 14989static PyObject *_wrap_BufferedDC_UnMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 14990 PyObject *resultobj;
38f59159 14991 wxBufferedDC *arg1 = (wxBufferedDC *) 0 ;
d14a1e28 14992 PyObject * obj0 = 0 ;
38f59159
RD
14993 char *kwnames[] = {
14994 (char *) "self", NULL
14995 };
d14a1e28 14996
38f59159 14997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BufferedDC_UnMask",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBufferedDC,
14999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
0ffb2aa6
RD
15000 {
15001 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 15002 (arg1)->UnMask();
0ffb2aa6
RD
15003
15004 wxPyEndAllowThreads(__tstate);
15005 if (PyErr_Occurred()) SWIG_fail;
15006 }
38f59159 15007 Py_INCREF(Py_None); resultobj = Py_None;
0ffb2aa6
RD
15008 return resultobj;
15009 fail:
15010 return NULL;
15011}
15012
15013
2f4c0a16 15014static PyObject * BufferedDC_swigregister(PyObject *, PyObject *args) {
38f59159
RD
15015 PyObject *obj;
15016 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15017 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC, obj);
15018 Py_INCREF(obj);
15019 return Py_BuildValue((char *)"");
15020}
2f4c0a16 15021static PyObject *_wrap_new_BufferedPaintDC(PyObject *, PyObject *args, PyObject *kwargs) {
0ffb2aa6
RD
15022 PyObject *resultobj;
15023 wxWindow *arg1 = (wxWindow *) 0 ;
38f59159
RD
15024 wxBitmap const &arg2_defvalue = wxNullBitmap ;
15025 wxBitmap *arg2 = (wxBitmap *) &arg2_defvalue ;
0ffb2aa6
RD
15026 wxBufferedPaintDC *result;
15027 PyObject * obj0 = 0 ;
15028 PyObject * obj1 = 0 ;
38f59159
RD
15029 char *kwnames[] = {
15030 (char *) "window",(char *) "buffer", NULL
15031 };
0ffb2aa6 15032
38f59159 15033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_BufferedPaintDC",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15036 if (obj1) {
2f4c0a16
RD
15037 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15038 SWIG_POINTER_EXCEPTION | 0)) == -1)
15039 SWIG_fail;
38f59159 15040 if (arg2 == NULL) {
2f4c0a16
RD
15041 PyErr_SetString(PyExc_TypeError,"null reference");
15042 SWIG_fail;
d14a1e28
RD
15043 }
15044 }
15045 {
15046 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 15047 result = (wxBufferedPaintDC *)new wxBufferedPaintDC(arg1,(wxBitmap const &)*arg2);
d14a1e28
RD
15048
15049 wxPyEndAllowThreads(__tstate);
15050 if (PyErr_Occurred()) SWIG_fail;
15051 }
2f4c0a16 15052 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedPaintDC, 1);
d14a1e28
RD
15053 return resultobj;
15054 fail:
15055 return NULL;
15056}
15057
15058
2f4c0a16 15059static PyObject * BufferedPaintDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15060 PyObject *obj;
15061 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15062 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC, obj);
15063 Py_INCREF(obj);
15064 return Py_BuildValue((char *)"");
15065}
2f4c0a16 15066static PyObject *_wrap_new_ScreenDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15067 PyObject *resultobj;
15068 wxScreenDC *result;
15069 char *kwnames[] = {
15070 NULL
15071 };
15072
15073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ScreenDC",kwnames)) goto fail;
15074 {
15075 PyThreadState* __tstate = wxPyBeginAllowThreads();
15076 result = (wxScreenDC *)new wxScreenDC();
15077
15078 wxPyEndAllowThreads(__tstate);
15079 if (PyErr_Occurred()) SWIG_fail;
15080 }
2f4c0a16 15081 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScreenDC, 1);
d14a1e28
RD
15082 return resultobj;
15083 fail:
15084 return NULL;
15085}
15086
15087
2f4c0a16 15088static PyObject *_wrap_ScreenDC_StartDrawingOnTopWin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15089 PyObject *resultobj;
15090 wxScreenDC *arg1 = (wxScreenDC *) 0 ;
15091 wxWindow *arg2 = (wxWindow *) 0 ;
15092 bool result;
15093 PyObject * obj0 = 0 ;
15094 PyObject * obj1 = 0 ;
15095 char *kwnames[] = {
15096 (char *) "self",(char *) "window", NULL
15097 };
15098
15099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScreenDC,
15101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15102 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15104 {
15105 PyThreadState* __tstate = wxPyBeginAllowThreads();
15106 result = (bool)(arg1)->StartDrawingOnTop(arg2);
15107
15108 wxPyEndAllowThreads(__tstate);
15109 if (PyErr_Occurred()) SWIG_fail;
15110 }
02a34c4c 15111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15112 return resultobj;
15113 fail:
15114 return NULL;
15115}
15116
15117
2f4c0a16 15118static PyObject *_wrap_ScreenDC_StartDrawingOnTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15119 PyObject *resultobj;
15120 wxScreenDC *arg1 = (wxScreenDC *) 0 ;
15121 wxRect *arg2 = (wxRect *) NULL ;
15122 bool result;
15123 PyObject * obj0 = 0 ;
15124 PyObject * obj1 = 0 ;
15125 char *kwnames[] = {
15126 (char *) "self",(char *) "rect", NULL
15127 };
15128
15129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScreenDC,
15131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15132 if (obj1) {
2f4c0a16
RD
15133 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
15134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15135 }
15136 {
15137 PyThreadState* __tstate = wxPyBeginAllowThreads();
15138 result = (bool)(arg1)->StartDrawingOnTop(arg2);
15139
15140 wxPyEndAllowThreads(__tstate);
15141 if (PyErr_Occurred()) SWIG_fail;
15142 }
02a34c4c 15143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15144 return resultobj;
15145 fail:
15146 return NULL;
15147}
15148
15149
2f4c0a16 15150static PyObject *_wrap_ScreenDC_EndDrawingOnTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15151 PyObject *resultobj;
15152 wxScreenDC *arg1 = (wxScreenDC *) 0 ;
15153 bool result;
15154 PyObject * obj0 = 0 ;
15155 char *kwnames[] = {
15156 (char *) "self", NULL
15157 };
15158
15159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScreenDC,
15161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15162 {
15163 PyThreadState* __tstate = wxPyBeginAllowThreads();
15164 result = (bool)(arg1)->EndDrawingOnTop();
15165
15166 wxPyEndAllowThreads(__tstate);
15167 if (PyErr_Occurred()) SWIG_fail;
15168 }
02a34c4c 15169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15170 return resultobj;
15171 fail:
15172 return NULL;
15173}
15174
15175
2f4c0a16 15176static PyObject * ScreenDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15177 PyObject *obj;
15178 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15179 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC, obj);
15180 Py_INCREF(obj);
15181 return Py_BuildValue((char *)"");
15182}
2f4c0a16 15183static PyObject *_wrap_new_ClientDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15184 PyObject *resultobj;
15185 wxWindow *arg1 = (wxWindow *) 0 ;
15186 wxClientDC *result;
15187 PyObject * obj0 = 0 ;
15188 char *kwnames[] = {
15189 (char *) "win", NULL
15190 };
15191
15192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ClientDC",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15195 {
15196 PyThreadState* __tstate = wxPyBeginAllowThreads();
15197 result = (wxClientDC *)new wxClientDC(arg1);
15198
15199 wxPyEndAllowThreads(__tstate);
15200 if (PyErr_Occurred()) SWIG_fail;
15201 }
2f4c0a16 15202 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClientDC, 1);
d14a1e28
RD
15203 return resultobj;
15204 fail:
15205 return NULL;
15206}
15207
15208
2f4c0a16 15209static PyObject * ClientDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15210 PyObject *obj;
15211 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15212 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC, obj);
15213 Py_INCREF(obj);
15214 return Py_BuildValue((char *)"");
15215}
2f4c0a16 15216static PyObject *_wrap_new_PaintDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15217 PyObject *resultobj;
15218 wxWindow *arg1 = (wxWindow *) 0 ;
15219 wxPaintDC *result;
15220 PyObject * obj0 = 0 ;
15221 char *kwnames[] = {
15222 (char *) "win", NULL
15223 };
15224
15225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PaintDC",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15228 {
15229 PyThreadState* __tstate = wxPyBeginAllowThreads();
15230 result = (wxPaintDC *)new wxPaintDC(arg1);
15231
15232 wxPyEndAllowThreads(__tstate);
15233 if (PyErr_Occurred()) SWIG_fail;
15234 }
2f4c0a16 15235 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintDC, 1);
d14a1e28
RD
15236 return resultobj;
15237 fail:
15238 return NULL;
15239}
15240
15241
2f4c0a16 15242static PyObject * PaintDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15243 PyObject *obj;
15244 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15245 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC, obj);
15246 Py_INCREF(obj);
15247 return Py_BuildValue((char *)"");
15248}
2f4c0a16 15249static PyObject *_wrap_new_WindowDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15250 PyObject *resultobj;
15251 wxWindow *arg1 = (wxWindow *) 0 ;
15252 wxWindowDC *result;
15253 PyObject * obj0 = 0 ;
15254 char *kwnames[] = {
15255 (char *) "win", NULL
15256 };
15257
15258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_WindowDC",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15261 {
15262 PyThreadState* __tstate = wxPyBeginAllowThreads();
15263 result = (wxWindowDC *)new wxWindowDC(arg1);
15264
15265 wxPyEndAllowThreads(__tstate);
15266 if (PyErr_Occurred()) SWIG_fail;
15267 }
2f4c0a16 15268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDC, 1);
d14a1e28
RD
15269 return resultobj;
15270 fail:
15271 return NULL;
15272}
15273
15274
2f4c0a16 15275static PyObject * WindowDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15276 PyObject *obj;
15277 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15278 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC, obj);
15279 Py_INCREF(obj);
15280 return Py_BuildValue((char *)"");
15281}
2f4c0a16 15282static PyObject *_wrap_new_MirrorDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15283 PyObject *resultobj;
15284 wxDC *arg1 = 0 ;
15285 bool arg2 ;
15286 wxMirrorDC *result;
15287 PyObject * obj0 = 0 ;
15288 PyObject * obj1 = 0 ;
15289 char *kwnames[] = {
15290 (char *) "dc",(char *) "mirror", NULL
15291 };
15292
15293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_MirrorDC",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15295 SWIG_POINTER_EXCEPTION | 0)) == -1)
15296 SWIG_fail;
d14a1e28 15297 if (arg1 == NULL) {
2f4c0a16
RD
15298 PyErr_SetString(PyExc_TypeError,"null reference");
15299 SWIG_fail;
2dbef272 15300 }
2f4c0a16
RD
15301 arg2 = (bool) SWIG_AsBool(obj1);
15302 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15303 {
15304 PyThreadState* __tstate = wxPyBeginAllowThreads();
15305 result = (wxMirrorDC *)new wxMirrorDC(*arg1,arg2);
15306
15307 wxPyEndAllowThreads(__tstate);
15308 if (PyErr_Occurred()) SWIG_fail;
15309 }
2f4c0a16 15310 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMirrorDC, 1);
d14a1e28
RD
15311 return resultobj;
15312 fail:
15313 return NULL;
15314}
15315
15316
2f4c0a16 15317static PyObject * MirrorDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15318 PyObject *obj;
15319 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15320 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC, obj);
15321 Py_INCREF(obj);
15322 return Py_BuildValue((char *)"");
15323}
2f4c0a16 15324static PyObject *_wrap_new_PostScriptDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15325 PyObject *resultobj;
15326 wxPrintData *arg1 = 0 ;
15327 wxPostScriptDC *result;
15328 PyObject * obj0 = 0 ;
15329 char *kwnames[] = {
15330 (char *) "printData", NULL
15331 };
15332
15333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PostScriptDC",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
15335 SWIG_POINTER_EXCEPTION | 0)) == -1)
15336 SWIG_fail;
d14a1e28 15337 if (arg1 == NULL) {
2f4c0a16
RD
15338 PyErr_SetString(PyExc_TypeError,"null reference");
15339 SWIG_fail;
d14a1e28
RD
15340 }
15341 {
15342 PyThreadState* __tstate = wxPyBeginAllowThreads();
15343 result = (wxPostScriptDC *)new wxPostScriptDC((wxPrintData const &)*arg1);
15344
15345 wxPyEndAllowThreads(__tstate);
15346 if (PyErr_Occurred()) SWIG_fail;
15347 }
2f4c0a16 15348 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPostScriptDC, 1);
d14a1e28
RD
15349 return resultobj;
15350 fail:
15351 return NULL;
15352}
15353
15354
2f4c0a16 15355static PyObject *_wrap_PostScriptDC_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15356 PyObject *resultobj;
15357 wxPostScriptDC *arg1 = (wxPostScriptDC *) 0 ;
15358 wxPrintData *result;
15359 PyObject * obj0 = 0 ;
15360 char *kwnames[] = {
15361 (char *) "self", NULL
15362 };
15363
15364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PostScriptDC_GetPrintData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPostScriptDC,
15366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15367 {
15368 PyThreadState* __tstate = wxPyBeginAllowThreads();
15369 {
15370 wxPrintData &_result_ref = (arg1)->GetPrintData();
15371 result = (wxPrintData *) &_result_ref;
15372 }
15373
15374 wxPyEndAllowThreads(__tstate);
15375 if (PyErr_Occurred()) SWIG_fail;
15376 }
2f4c0a16 15377 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
15378 return resultobj;
15379 fail:
15380 return NULL;
15381}
15382
15383
2f4c0a16 15384static PyObject *_wrap_PostScriptDC_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15385 PyObject *resultobj;
15386 wxPostScriptDC *arg1 = (wxPostScriptDC *) 0 ;
15387 wxPrintData *arg2 = 0 ;
15388 PyObject * obj0 = 0 ;
15389 PyObject * obj1 = 0 ;
15390 char *kwnames[] = {
15391 (char *) "self",(char *) "data", NULL
15392 };
15393
15394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostScriptDC_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPostScriptDC,
15396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15397 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
15398 SWIG_POINTER_EXCEPTION | 0)) == -1)
15399 SWIG_fail;
d14a1e28 15400 if (arg2 == NULL) {
2f4c0a16
RD
15401 PyErr_SetString(PyExc_TypeError,"null reference");
15402 SWIG_fail;
d14a1e28
RD
15403 }
15404 {
15405 PyThreadState* __tstate = wxPyBeginAllowThreads();
15406 (arg1)->SetPrintData((wxPrintData const &)*arg2);
15407
15408 wxPyEndAllowThreads(__tstate);
15409 if (PyErr_Occurred()) SWIG_fail;
15410 }
15411 Py_INCREF(Py_None); resultobj = Py_None;
15412 return resultobj;
15413 fail:
15414 return NULL;
15415}
15416
15417
2f4c0a16 15418static PyObject *_wrap_PostScriptDC_SetResolution(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15419 PyObject *resultobj;
15420 int arg1 ;
8edf1c75 15421 PyObject * obj0 = 0 ;
d14a1e28
RD
15422 char *kwnames[] = {
15423 (char *) "ppi", NULL
15424 };
15425
8edf1c75 15426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PostScriptDC_SetResolution",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15427 arg1 = (int) SWIG_AsInt(obj0);
15428 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15429 {
15430 PyThreadState* __tstate = wxPyBeginAllowThreads();
15431 wxPostScriptDC::SetResolution(arg1);
15432
15433 wxPyEndAllowThreads(__tstate);
15434 if (PyErr_Occurred()) SWIG_fail;
15435 }
15436 Py_INCREF(Py_None); resultobj = Py_None;
15437 return resultobj;
15438 fail:
15439 return NULL;
15440}
15441
15442
2f4c0a16 15443static PyObject *_wrap_PostScriptDC_GetResolution(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15444 PyObject *resultobj;
15445 int result;
15446 char *kwnames[] = {
15447 NULL
15448 };
15449
15450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PostScriptDC_GetResolution",kwnames)) goto fail;
15451 {
15452 PyThreadState* __tstate = wxPyBeginAllowThreads();
15453 result = (int)wxPostScriptDC::GetResolution();
15454
15455 wxPyEndAllowThreads(__tstate);
15456 if (PyErr_Occurred()) SWIG_fail;
15457 }
2f4c0a16 15458 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15459 return resultobj;
15460 fail:
15461 return NULL;
15462}
15463
15464
2f4c0a16 15465static PyObject * PostScriptDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15466 PyObject *obj;
15467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15468 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC, obj);
15469 Py_INCREF(obj);
15470 return Py_BuildValue((char *)"");
15471}
2f4c0a16 15472static PyObject *_wrap_new_MetaFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15473 PyObject *resultobj;
15474 wxString const &arg1_defvalue = wxPyEmptyString ;
15475 wxString *arg1 = (wxString *) &arg1_defvalue ;
15476 wxMetaFile *result;
423f194a 15477 bool temp1 = False ;
d14a1e28
RD
15478 PyObject * obj0 = 0 ;
15479 char *kwnames[] = {
15480 (char *) "filename", NULL
15481 };
15482
15483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MetaFile",kwnames,&obj0)) goto fail;
15484 if (obj0) {
15485 {
15486 arg1 = wxString_in_helper(obj0);
15487 if (arg1 == NULL) SWIG_fail;
423f194a 15488 temp1 = True;
d14a1e28
RD
15489 }
15490 }
15491 {
15492 PyThreadState* __tstate = wxPyBeginAllowThreads();
15493 result = (wxMetaFile *)new wxMetaFile((wxString const &)*arg1);
15494
15495 wxPyEndAllowThreads(__tstate);
15496 if (PyErr_Occurred()) SWIG_fail;
15497 }
2f4c0a16 15498 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetaFile, 1);
d14a1e28
RD
15499 {
15500 if (temp1)
15501 delete arg1;
15502 }
15503 return resultobj;
15504 fail:
15505 {
15506 if (temp1)
15507 delete arg1;
15508 }
15509 return NULL;
15510}
15511
15512
ce7284bd
RD
15513static PyObject *_wrap_delete_MetaFile(PyObject *, PyObject *args, PyObject *kwargs) {
15514 PyObject *resultobj;
15515 wxMetaFile *arg1 = (wxMetaFile *) 0 ;
15516 PyObject * obj0 = 0 ;
15517 char *kwnames[] = {
15518 (char *) "self", NULL
15519 };
15520
15521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MetaFile",kwnames,&obj0)) goto fail;
15522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetaFile,
15523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15524 {
15525 PyThreadState* __tstate = wxPyBeginAllowThreads();
15526 delete arg1;
15527
15528 wxPyEndAllowThreads(__tstate);
15529 if (PyErr_Occurred()) SWIG_fail;
15530 }
15531 Py_INCREF(Py_None); resultobj = Py_None;
15532 return resultobj;
15533 fail:
15534 return NULL;
15535}
15536
15537
15538static PyObject *_wrap_MetaFile_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
15539 PyObject *resultobj;
15540 wxMetaFile *arg1 = (wxMetaFile *) 0 ;
15541 bool result;
15542 PyObject * obj0 = 0 ;
15543 char *kwnames[] = {
15544 (char *) "self", NULL
15545 };
15546
15547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetaFile_Ok",kwnames,&obj0)) goto fail;
15548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetaFile,
15549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15550 {
15551 PyThreadState* __tstate = wxPyBeginAllowThreads();
15552 result = (bool)(arg1)->Ok();
15553
15554 wxPyEndAllowThreads(__tstate);
15555 if (PyErr_Occurred()) SWIG_fail;
15556 }
15557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15558 return resultobj;
15559 fail:
15560 return NULL;
15561}
15562
15563
15564static PyObject *_wrap_MetaFile_SetClipboard(PyObject *, PyObject *args, PyObject *kwargs) {
15565 PyObject *resultobj;
15566 wxMetaFile *arg1 = (wxMetaFile *) 0 ;
15567 int arg2 = (int) 0 ;
15568 int arg3 = (int) 0 ;
15569 bool result;
15570 PyObject * obj0 = 0 ;
15571 PyObject * obj1 = 0 ;
15572 PyObject * obj2 = 0 ;
15573 char *kwnames[] = {
15574 (char *) "self",(char *) "width",(char *) "height", NULL
15575 };
15576
15577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MetaFile_SetClipboard",kwnames,&obj0,&obj1,&obj2)) goto fail;
15578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetaFile,
15579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15580 if (obj1) {
15581 arg2 = (int) SWIG_AsInt(obj1);
15582 if (PyErr_Occurred()) SWIG_fail;
15583 }
15584 if (obj2) {
15585 arg3 = (int) SWIG_AsInt(obj2);
15586 if (PyErr_Occurred()) SWIG_fail;
15587 }
15588 {
15589 PyThreadState* __tstate = wxPyBeginAllowThreads();
15590 result = (bool)(arg1)->SetClipboard(arg2,arg3);
15591
15592 wxPyEndAllowThreads(__tstate);
15593 if (PyErr_Occurred()) SWIG_fail;
15594 }
15595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15596 return resultobj;
15597 fail:
15598 return NULL;
15599}
15600
15601
15602static PyObject *_wrap_MetaFile_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15603 PyObject *resultobj;
15604 wxMetaFile *arg1 = (wxMetaFile *) 0 ;
15605 wxSize result;
15606 PyObject * obj0 = 0 ;
15607 char *kwnames[] = {
15608 (char *) "self", NULL
15609 };
15610
15611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetaFile_GetSize",kwnames,&obj0)) goto fail;
15612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetaFile,
15613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15614 {
15615 PyThreadState* __tstate = wxPyBeginAllowThreads();
15616 result = (arg1)->GetSize();
15617
15618 wxPyEndAllowThreads(__tstate);
15619 if (PyErr_Occurred()) SWIG_fail;
15620 }
15621 {
15622 wxSize * resultptr;
15623 resultptr = new wxSize((wxSize &) result);
15624 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15625 }
15626 return resultobj;
15627 fail:
15628 return NULL;
15629}
15630
15631
15632static PyObject *_wrap_MetaFile_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
15633 PyObject *resultobj;
15634 wxMetaFile *arg1 = (wxMetaFile *) 0 ;
15635 int result;
15636 PyObject * obj0 = 0 ;
15637 char *kwnames[] = {
15638 (char *) "self", NULL
15639 };
15640
15641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetaFile_GetWidth",kwnames,&obj0)) goto fail;
15642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetaFile,
15643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15644 {
15645 PyThreadState* __tstate = wxPyBeginAllowThreads();
15646 result = (int)(arg1)->GetWidth();
15647
15648 wxPyEndAllowThreads(__tstate);
15649 if (PyErr_Occurred()) SWIG_fail;
15650 }
15651 resultobj = SWIG_FromInt((int)result);
15652 return resultobj;
15653 fail:
15654 return NULL;
15655}
15656
15657
15658static PyObject *_wrap_MetaFile_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
15659 PyObject *resultobj;
15660 wxMetaFile *arg1 = (wxMetaFile *) 0 ;
15661 int result;
15662 PyObject * obj0 = 0 ;
15663 char *kwnames[] = {
15664 (char *) "self", NULL
15665 };
15666
15667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetaFile_GetHeight",kwnames,&obj0)) goto fail;
15668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetaFile,
15669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15670 {
15671 PyThreadState* __tstate = wxPyBeginAllowThreads();
15672 result = (int)(arg1)->GetHeight();
15673
15674 wxPyEndAllowThreads(__tstate);
15675 if (PyErr_Occurred()) SWIG_fail;
15676 }
15677 resultobj = SWIG_FromInt((int)result);
15678 return resultobj;
15679 fail:
15680 return NULL;
15681}
15682
15683
2f4c0a16 15684static PyObject * MetaFile_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15685 PyObject *obj;
15686 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15687 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile, obj);
15688 Py_INCREF(obj);
15689 return Py_BuildValue((char *)"");
15690}
2f4c0a16 15691static PyObject *_wrap_new_MetaFileDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15692 PyObject *resultobj;
15693 wxString const &arg1_defvalue = wxPyEmptyString ;
15694 wxString *arg1 = (wxString *) &arg1_defvalue ;
15695 int arg2 = (int) 0 ;
15696 int arg3 = (int) 0 ;
15697 wxString const &arg4_defvalue = wxPyEmptyString ;
15698 wxString *arg4 = (wxString *) &arg4_defvalue ;
15699 wxMetaFileDC *result;
423f194a
RD
15700 bool temp1 = False ;
15701 bool temp4 = False ;
d14a1e28 15702 PyObject * obj0 = 0 ;
8edf1c75
RD
15703 PyObject * obj1 = 0 ;
15704 PyObject * obj2 = 0 ;
d14a1e28
RD
15705 PyObject * obj3 = 0 ;
15706 char *kwnames[] = {
15707 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15708 };
15709
8edf1c75 15710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_MetaFileDC",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
15711 if (obj0) {
15712 {
15713 arg1 = wxString_in_helper(obj0);
15714 if (arg1 == NULL) SWIG_fail;
423f194a 15715 temp1 = True;
d14a1e28
RD
15716 }
15717 }
8edf1c75 15718 if (obj1) {
2f4c0a16
RD
15719 arg2 = (int) SWIG_AsInt(obj1);
15720 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
15721 }
15722 if (obj2) {
2f4c0a16
RD
15723 arg3 = (int) SWIG_AsInt(obj2);
15724 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 15725 }
d14a1e28
RD
15726 if (obj3) {
15727 {
15728 arg4 = wxString_in_helper(obj3);
15729 if (arg4 == NULL) SWIG_fail;
423f194a 15730 temp4 = True;
d14a1e28
RD
15731 }
15732 }
15733 {
15734 PyThreadState* __tstate = wxPyBeginAllowThreads();
15735 result = (wxMetaFileDC *)new wxMetaFileDC((wxString const &)*arg1,arg2,arg3,(wxString const &)*arg4);
15736
15737 wxPyEndAllowThreads(__tstate);
15738 if (PyErr_Occurred()) SWIG_fail;
15739 }
2f4c0a16 15740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetaFileDC, 1);
d14a1e28
RD
15741 {
15742 if (temp1)
15743 delete arg1;
15744 }
15745 {
15746 if (temp4)
15747 delete arg4;
15748 }
15749 return resultobj;
15750 fail:
15751 {
15752 if (temp1)
15753 delete arg1;
15754 }
15755 {
15756 if (temp4)
15757 delete arg4;
15758 }
15759 return NULL;
15760}
15761
15762
ce7284bd
RD
15763static PyObject *_wrap_MetaFileDC_Close(PyObject *, PyObject *args, PyObject *kwargs) {
15764 PyObject *resultobj;
15765 wxMetaFileDC *arg1 = (wxMetaFileDC *) 0 ;
15766 wxMetaFile *result;
15767 PyObject * obj0 = 0 ;
15768 char *kwnames[] = {
15769 (char *) "self", NULL
15770 };
15771
15772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetaFileDC_Close",kwnames,&obj0)) goto fail;
15773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetaFileDC,
15774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15775 {
15776 PyThreadState* __tstate = wxPyBeginAllowThreads();
15777 result = (wxMetaFile *)(arg1)->Close();
15778
15779 wxPyEndAllowThreads(__tstate);
15780 if (PyErr_Occurred()) SWIG_fail;
15781 }
15782 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetaFile, 0);
15783 return resultobj;
15784 fail:
15785 return NULL;
15786}
15787
15788
2f4c0a16 15789static PyObject * MetaFileDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15790 PyObject *obj;
15791 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15792 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC, obj);
15793 Py_INCREF(obj);
15794 return Py_BuildValue((char *)"");
15795}
2f4c0a16 15796static PyObject *_wrap_new_PrinterDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15797 PyObject *resultobj;
15798 wxPrintData *arg1 = 0 ;
15799 wxPrinterDC *result;
15800 PyObject * obj0 = 0 ;
15801 char *kwnames[] = {
15802 (char *) "printData", NULL
15803 };
15804
15805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PrinterDC",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
15807 SWIG_POINTER_EXCEPTION | 0)) == -1)
15808 SWIG_fail;
d14a1e28 15809 if (arg1 == NULL) {
2f4c0a16
RD
15810 PyErr_SetString(PyExc_TypeError,"null reference");
15811 SWIG_fail;
d14a1e28
RD
15812 }
15813 {
15814 PyThreadState* __tstate = wxPyBeginAllowThreads();
15815 result = (wxPrinterDC *)new wxPrinterDC((wxPrintData const &)*arg1);
15816
15817 wxPyEndAllowThreads(__tstate);
15818 if (PyErr_Occurred()) SWIG_fail;
15819 }
2f4c0a16 15820 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinterDC, 1);
d14a1e28
RD
15821 return resultobj;
15822 fail:
15823 return NULL;
15824}
15825
15826
2f4c0a16 15827static PyObject * PrinterDC_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15828 PyObject *obj;
15829 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15830 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC, obj);
15831 Py_INCREF(obj);
15832 return Py_BuildValue((char *)"");
15833}
2f4c0a16 15834static PyObject *_wrap_new_ImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15835 PyObject *resultobj;
15836 int arg1 ;
15837 int arg2 ;
423f194a 15838 int arg3 = (int) True ;
d14a1e28
RD
15839 int arg4 = (int) 1 ;
15840 wxImageList *result;
8edf1c75
RD
15841 PyObject * obj0 = 0 ;
15842 PyObject * obj1 = 0 ;
15843 PyObject * obj2 = 0 ;
15844 PyObject * obj3 = 0 ;
d14a1e28
RD
15845 char *kwnames[] = {
15846 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
15847 };
15848
8edf1c75 15849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_ImageList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
15850 arg1 = (int) SWIG_AsInt(obj0);
15851 if (PyErr_Occurred()) SWIG_fail;
15852 arg2 = (int) SWIG_AsInt(obj1);
15853 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 15854 if (obj2) {
2f4c0a16
RD
15855 arg3 = (int) SWIG_AsInt(obj2);
15856 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
15857 }
15858 if (obj3) {
2f4c0a16
RD
15859 arg4 = (int) SWIG_AsInt(obj3);
15860 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 15861 }
d14a1e28
RD
15862 {
15863 PyThreadState* __tstate = wxPyBeginAllowThreads();
15864 result = (wxImageList *)new wxImageList(arg1,arg2,arg3,arg4);
15865
15866 wxPyEndAllowThreads(__tstate);
15867 if (PyErr_Occurred()) SWIG_fail;
15868 }
15869 {
15870 resultobj = wxPyMake_wxObject(result);
15871 }
15872 return resultobj;
15873 fail:
15874 return NULL;
15875}
15876
15877
2f4c0a16 15878static PyObject *_wrap_delete_ImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15879 PyObject *resultobj;
15880 wxImageList *arg1 = (wxImageList *) 0 ;
15881 PyObject * obj0 = 0 ;
15882 char *kwnames[] = {
15883 (char *) "self", NULL
15884 };
15885
15886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ImageList",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
15888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15889 {
15890 PyThreadState* __tstate = wxPyBeginAllowThreads();
15891 delete arg1;
15892
15893 wxPyEndAllowThreads(__tstate);
15894 if (PyErr_Occurred()) SWIG_fail;
15895 }
15896 Py_INCREF(Py_None); resultobj = Py_None;
15897 return resultobj;
15898 fail:
15899 return NULL;
15900}
15901
15902
2f4c0a16 15903static PyObject *_wrap_ImageList_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15904 PyObject *resultobj;
15905 wxImageList *arg1 = (wxImageList *) 0 ;
15906 wxBitmap *arg2 = 0 ;
15907 wxBitmap const &arg3_defvalue = wxNullBitmap ;
15908 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
15909 int result;
15910 PyObject * obj0 = 0 ;
15911 PyObject * obj1 = 0 ;
15912 PyObject * obj2 = 0 ;
15913 char *kwnames[] = {
15914 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
15915 };
15916
15917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ImageList_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
15919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15920 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15921 SWIG_POINTER_EXCEPTION | 0)) == -1)
15922 SWIG_fail;
d14a1e28 15923 if (arg2 == NULL) {
2f4c0a16
RD
15924 PyErr_SetString(PyExc_TypeError,"null reference");
15925 SWIG_fail;
d14a1e28
RD
15926 }
15927 if (obj2) {
2f4c0a16
RD
15928 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
15929 SWIG_POINTER_EXCEPTION | 0)) == -1)
15930 SWIG_fail;
d14a1e28 15931 if (arg3 == NULL) {
2f4c0a16
RD
15932 PyErr_SetString(PyExc_TypeError,"null reference");
15933 SWIG_fail;
d14a1e28
RD
15934 }
15935 }
15936 {
15937 PyThreadState* __tstate = wxPyBeginAllowThreads();
15938 result = (int)(arg1)->Add((wxBitmap const &)*arg2,(wxBitmap const &)*arg3);
15939
15940 wxPyEndAllowThreads(__tstate);
15941 if (PyErr_Occurred()) SWIG_fail;
15942 }
2f4c0a16 15943 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15944 return resultobj;
15945 fail:
15946 return NULL;
15947}
15948
15949
2f4c0a16 15950static PyObject *_wrap_ImageList_AddWithColourMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15951 PyObject *resultobj;
15952 wxImageList *arg1 = (wxImageList *) 0 ;
15953 wxBitmap *arg2 = 0 ;
15954 wxColour *arg3 = 0 ;
15955 int result;
15956 wxColour temp3 ;
15957 PyObject * obj0 = 0 ;
15958 PyObject * obj1 = 0 ;
15959 PyObject * obj2 = 0 ;
15960 char *kwnames[] = {
15961 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
15962 };
15963
15964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageList_AddWithColourMask",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
15965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
15966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15967 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15968 SWIG_POINTER_EXCEPTION | 0)) == -1)
15969 SWIG_fail;
d14a1e28 15970 if (arg2 == NULL) {
2f4c0a16
RD
15971 PyErr_SetString(PyExc_TypeError,"null reference");
15972 SWIG_fail;
d14a1e28
RD
15973 }
15974 {
15975 arg3 = &temp3;
15976 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
15977 }
15978 {
15979 PyThreadState* __tstate = wxPyBeginAllowThreads();
15980 result = (int)(arg1)->Add((wxBitmap const &)*arg2,(wxColour const &)*arg3);
15981
15982 wxPyEndAllowThreads(__tstate);
15983 if (PyErr_Occurred()) SWIG_fail;
15984 }
2f4c0a16 15985 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15986 return resultobj;
15987 fail:
15988 return NULL;
15989}
15990
15991
2f4c0a16 15992static PyObject *_wrap_ImageList_AddIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15993 PyObject *resultobj;
15994 wxImageList *arg1 = (wxImageList *) 0 ;
15995 wxIcon *arg2 = 0 ;
15996 int result;
15997 PyObject * obj0 = 0 ;
15998 PyObject * obj1 = 0 ;
15999 char *kwnames[] = {
16000 (char *) "self",(char *) "icon", NULL
16001 };
16002
16003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageList_AddIcon",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16006 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
16007 SWIG_POINTER_EXCEPTION | 0)) == -1)
16008 SWIG_fail;
d14a1e28 16009 if (arg2 == NULL) {
2f4c0a16
RD
16010 PyErr_SetString(PyExc_TypeError,"null reference");
16011 SWIG_fail;
d14a1e28
RD
16012 }
16013 {
16014 PyThreadState* __tstate = wxPyBeginAllowThreads();
16015 result = (int)(arg1)->Add((wxIcon const &)*arg2);
16016
16017 wxPyEndAllowThreads(__tstate);
16018 if (PyErr_Occurred()) SWIG_fail;
16019 }
2f4c0a16 16020 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16021 return resultobj;
16022 fail:
16023 return NULL;
16024}
16025
16026
2f4c0a16 16027static PyObject *_wrap_ImageList_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16028 PyObject *resultobj;
16029 wxImageList *arg1 = (wxImageList *) 0 ;
16030 int arg2 ;
16031 wxBitmap *arg3 = 0 ;
16032 bool result;
16033 PyObject * obj0 = 0 ;
8edf1c75 16034 PyObject * obj1 = 0 ;
d14a1e28
RD
16035 PyObject * obj2 = 0 ;
16036 char *kwnames[] = {
16037 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16038 };
16039
8edf1c75 16040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageList_Replace",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
16041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16043 arg2 = (int) SWIG_AsInt(obj1);
16044 if (PyErr_Occurred()) SWIG_fail;
16045 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
16046 SWIG_POINTER_EXCEPTION | 0)) == -1)
16047 SWIG_fail;
d14a1e28 16048 if (arg3 == NULL) {
2f4c0a16
RD
16049 PyErr_SetString(PyExc_TypeError,"null reference");
16050 SWIG_fail;
d14a1e28
RD
16051 }
16052 {
16053 PyThreadState* __tstate = wxPyBeginAllowThreads();
16054 result = (bool)(arg1)->Replace(arg2,(wxBitmap const &)*arg3);
16055
16056 wxPyEndAllowThreads(__tstate);
16057 if (PyErr_Occurred()) SWIG_fail;
16058 }
02a34c4c 16059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16060 return resultobj;
16061 fail:
16062 return NULL;
16063}
16064
16065
2f4c0a16 16066static PyObject *_wrap_ImageList_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16067 PyObject *resultobj;
16068 wxImageList *arg1 = (wxImageList *) 0 ;
16069 int arg2 ;
16070 wxDC *arg3 = 0 ;
16071 int arg4 ;
16072 int arg5 ;
16073 int arg6 = (int) wxIMAGELIST_DRAW_NORMAL ;
423f194a 16074 bool arg7 = (bool) (bool)False ;
d14a1e28
RD
16075 bool result;
16076 PyObject * obj0 = 0 ;
8edf1c75 16077 PyObject * obj1 = 0 ;
d14a1e28 16078 PyObject * obj2 = 0 ;
8edf1c75
RD
16079 PyObject * obj3 = 0 ;
16080 PyObject * obj4 = 0 ;
16081 PyObject * obj5 = 0 ;
d14a1e28
RD
16082 PyObject * obj6 = 0 ;
16083 char *kwnames[] = {
16084 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16085 };
16086
8edf1c75 16087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:ImageList_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
16088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16090 arg2 = (int) SWIG_AsInt(obj1);
16091 if (PyErr_Occurred()) SWIG_fail;
16092 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
16093 SWIG_POINTER_EXCEPTION | 0)) == -1)
16094 SWIG_fail;
d14a1e28 16095 if (arg3 == NULL) {
2f4c0a16
RD
16096 PyErr_SetString(PyExc_TypeError,"null reference");
16097 SWIG_fail;
8edf1c75 16098 }
2f4c0a16
RD
16099 arg4 = (int) SWIG_AsInt(obj3);
16100 if (PyErr_Occurred()) SWIG_fail;
16101 arg5 = (int) SWIG_AsInt(obj4);
16102 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16103 if (obj5) {
2f4c0a16
RD
16104 arg6 = (int) SWIG_AsInt(obj5);
16105 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16106 }
d14a1e28 16107 if (obj6) {
2f4c0a16
RD
16108 arg7 = (bool const) SWIG_AsBool(obj6);
16109 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16110 }
16111 {
16112 PyThreadState* __tstate = wxPyBeginAllowThreads();
16113 result = (bool)(arg1)->Draw(arg2,*arg3,arg4,arg5,arg6,arg7);
16114
16115 wxPyEndAllowThreads(__tstate);
16116 if (PyErr_Occurred()) SWIG_fail;
16117 }
02a34c4c 16118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16119 return resultobj;
16120 fail:
16121 return NULL;
16122}
16123
16124
2f4c0a16 16125static PyObject *_wrap_ImageList_GetImageCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16126 PyObject *resultobj;
16127 wxImageList *arg1 = (wxImageList *) 0 ;
16128 int result;
16129 PyObject * obj0 = 0 ;
16130 char *kwnames[] = {
16131 (char *) "self", NULL
16132 };
16133
16134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageList_GetImageCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16137 {
16138 PyThreadState* __tstate = wxPyBeginAllowThreads();
16139 result = (int)(arg1)->GetImageCount();
16140
16141 wxPyEndAllowThreads(__tstate);
16142 if (PyErr_Occurred()) SWIG_fail;
16143 }
2f4c0a16 16144 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16145 return resultobj;
16146 fail:
16147 return NULL;
16148}
16149
16150
2f4c0a16 16151static PyObject *_wrap_ImageList_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16152 PyObject *resultobj;
16153 wxImageList *arg1 = (wxImageList *) 0 ;
16154 int arg2 ;
16155 bool result;
16156 PyObject * obj0 = 0 ;
8edf1c75 16157 PyObject * obj1 = 0 ;
d14a1e28
RD
16158 char *kwnames[] = {
16159 (char *) "self",(char *) "index", NULL
16160 };
16161
8edf1c75 16162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageList_Remove",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16165 arg2 = (int) SWIG_AsInt(obj1);
16166 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16167 {
16168 PyThreadState* __tstate = wxPyBeginAllowThreads();
16169 result = (bool)(arg1)->Remove(arg2);
16170
16171 wxPyEndAllowThreads(__tstate);
16172 if (PyErr_Occurred()) SWIG_fail;
16173 }
02a34c4c 16174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16175 return resultobj;
16176 fail:
16177 return NULL;
16178}
16179
16180
2f4c0a16 16181static PyObject *_wrap_ImageList_RemoveAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16182 PyObject *resultobj;
16183 wxImageList *arg1 = (wxImageList *) 0 ;
16184 bool result;
16185 PyObject * obj0 = 0 ;
16186 char *kwnames[] = {
16187 (char *) "self", NULL
16188 };
16189
16190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageList_RemoveAll",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16193 {
16194 PyThreadState* __tstate = wxPyBeginAllowThreads();
16195 result = (bool)(arg1)->RemoveAll();
16196
16197 wxPyEndAllowThreads(__tstate);
16198 if (PyErr_Occurred()) SWIG_fail;
16199 }
02a34c4c 16200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16201 return resultobj;
16202 fail:
16203 return NULL;
16204}
16205
16206
2f4c0a16 16207static PyObject *_wrap_ImageList_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16208 PyObject *resultobj;
16209 wxImageList *arg1 = (wxImageList *) 0 ;
16210 int arg2 ;
16211 int *arg3 = 0 ;
16212 int *arg4 = 0 ;
16213 int temp3 ;
16214 int temp4 ;
16215 PyObject * obj0 = 0 ;
8edf1c75 16216 PyObject * obj1 = 0 ;
d14a1e28
RD
16217 char *kwnames[] = {
16218 (char *) "self",(char *) "index", NULL
16219 };
16220
16221 arg3 = &temp3;
16222 arg4 = &temp4;
8edf1c75 16223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageList_GetSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16226 arg2 = (int) SWIG_AsInt(obj1);
16227 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16228 {
16229 PyThreadState* __tstate = wxPyBeginAllowThreads();
16230 (arg1)->GetSize(arg2,*arg3,*arg4);
16231
16232 wxPyEndAllowThreads(__tstate);
16233 if (PyErr_Occurred()) SWIG_fail;
16234 }
16235 Py_INCREF(Py_None); resultobj = Py_None;
16236 {
16237 PyObject *o = PyInt_FromLong((long) (*arg3));
16238 resultobj = t_output_helper(resultobj,o);
16239 }
16240 {
16241 PyObject *o = PyInt_FromLong((long) (*arg4));
16242 resultobj = t_output_helper(resultobj,o);
16243 }
16244 return resultobj;
16245 fail:
16246 return NULL;
16247}
16248
16249
2f4c0a16 16250static PyObject * ImageList_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16251 PyObject *obj;
16252 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16253 SWIG_TypeClientData(SWIGTYPE_p_wxImageList, obj);
16254 Py_INCREF(obj);
16255 return Py_BuildValue((char *)"");
16256}
8edf1c75
RD
16257static int _wrap_NORMAL_FONT_set(PyObject *) {
16258 PyErr_SetString(PyExc_TypeError,"Variable NORMAL_FONT is read-only.");
16259 return 1;
d14a1e28
RD
16260}
16261
16262
8edf1c75
RD
16263static PyObject *_wrap_NORMAL_FONT_get() {
16264 PyObject *pyobj;
d14a1e28 16265
2f4c0a16 16266 pyobj = SWIG_NewPointerObj((void *)(wxNORMAL_FONT), SWIGTYPE_p_wxFont, 0);
8edf1c75 16267 return pyobj;
d14a1e28
RD
16268}
16269
16270
8edf1c75
RD
16271static int _wrap_SMALL_FONT_set(PyObject *) {
16272 PyErr_SetString(PyExc_TypeError,"Variable SMALL_FONT is read-only.");
16273 return 1;
d14a1e28
RD
16274}
16275
16276
8edf1c75
RD
16277static PyObject *_wrap_SMALL_FONT_get() {
16278 PyObject *pyobj;
d14a1e28 16279
2f4c0a16 16280 pyobj = SWIG_NewPointerObj((void *)(wxSMALL_FONT), SWIGTYPE_p_wxFont, 0);
8edf1c75 16281 return pyobj;
d14a1e28
RD
16282}
16283
16284
8edf1c75
RD
16285static int _wrap_ITALIC_FONT_set(PyObject *) {
16286 PyErr_SetString(PyExc_TypeError,"Variable ITALIC_FONT is read-only.");
16287 return 1;
d14a1e28 16288}
8edf1c75
RD
16289
16290
16291static PyObject *_wrap_ITALIC_FONT_get() {
16292 PyObject *pyobj;
d14a1e28 16293
2f4c0a16 16294 pyobj = SWIG_NewPointerObj((void *)(wxITALIC_FONT), SWIGTYPE_p_wxFont, 0);
8edf1c75 16295 return pyobj;
d14a1e28
RD
16296}
16297
16298
8edf1c75
RD
16299static int _wrap_SWISS_FONT_set(PyObject *) {
16300 PyErr_SetString(PyExc_TypeError,"Variable SWISS_FONT is read-only.");
16301 return 1;
d14a1e28
RD
16302}
16303
16304
8edf1c75
RD
16305static PyObject *_wrap_SWISS_FONT_get() {
16306 PyObject *pyobj;
d14a1e28 16307
2f4c0a16 16308 pyobj = SWIG_NewPointerObj((void *)(wxSWISS_FONT), SWIGTYPE_p_wxFont, 0);
8edf1c75 16309 return pyobj;
d14a1e28
RD
16310}
16311
16312
8edf1c75
RD
16313static int _wrap_RED_PEN_set(PyObject *) {
16314 PyErr_SetString(PyExc_TypeError,"Variable RED_PEN is read-only.");
16315 return 1;
16316}
16317
16318
16319static PyObject *_wrap_RED_PEN_get() {
16320 PyObject *pyobj;
d14a1e28 16321
2f4c0a16 16322 pyobj = SWIG_NewPointerObj((void *)(wxRED_PEN), SWIGTYPE_p_wxPen, 0);
8edf1c75 16323 return pyobj;
d14a1e28
RD
16324}
16325
16326
8edf1c75
RD
16327static int _wrap_CYAN_PEN_set(PyObject *) {
16328 PyErr_SetString(PyExc_TypeError,"Variable CYAN_PEN is read-only.");
16329 return 1;
d14a1e28 16330}
8edf1c75
RD
16331
16332
16333static PyObject *_wrap_CYAN_PEN_get() {
16334 PyObject *pyobj;
d14a1e28 16335
2f4c0a16 16336 pyobj = SWIG_NewPointerObj((void *)(wxCYAN_PEN), SWIGTYPE_p_wxPen, 0);
8edf1c75 16337 return pyobj;
d14a1e28
RD
16338}
16339
16340
8edf1c75
RD
16341static int _wrap_GREEN_PEN_set(PyObject *) {
16342 PyErr_SetString(PyExc_TypeError,"Variable GREEN_PEN is read-only.");
16343 return 1;
16344}
16345
16346
16347static PyObject *_wrap_GREEN_PEN_get() {
16348 PyObject *pyobj;
d14a1e28 16349
2f4c0a16 16350 pyobj = SWIG_NewPointerObj((void *)(wxGREEN_PEN), SWIGTYPE_p_wxPen, 0);
8edf1c75 16351 return pyobj;
d14a1e28
RD
16352}
16353
16354
8edf1c75
RD
16355static int _wrap_BLACK_PEN_set(PyObject *) {
16356 PyErr_SetString(PyExc_TypeError,"Variable BLACK_PEN is read-only.");
16357 return 1;
16358}
16359
16360
16361static PyObject *_wrap_BLACK_PEN_get() {
16362 PyObject *pyobj;
d14a1e28 16363
2f4c0a16 16364 pyobj = SWIG_NewPointerObj((void *)(wxBLACK_PEN), SWIGTYPE_p_wxPen, 0);
8edf1c75 16365 return pyobj;
d14a1e28
RD
16366}
16367
16368
8edf1c75
RD
16369static int _wrap_WHITE_PEN_set(PyObject *) {
16370 PyErr_SetString(PyExc_TypeError,"Variable WHITE_PEN is read-only.");
16371 return 1;
d14a1e28
RD
16372}
16373
16374
8edf1c75
RD
16375static PyObject *_wrap_WHITE_PEN_get() {
16376 PyObject *pyobj;
d14a1e28 16377
2f4c0a16 16378 pyobj = SWIG_NewPointerObj((void *)(wxWHITE_PEN), SWIGTYPE_p_wxPen, 0);
8edf1c75 16379 return pyobj;
d14a1e28
RD
16380}
16381
16382
8edf1c75
RD
16383static int _wrap_TRANSPARENT_PEN_set(PyObject *) {
16384 PyErr_SetString(PyExc_TypeError,"Variable TRANSPARENT_PEN is read-only.");
16385 return 1;
16386}
16387
16388
16389static PyObject *_wrap_TRANSPARENT_PEN_get() {
16390 PyObject *pyobj;
d14a1e28 16391
2f4c0a16 16392 pyobj = SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN), SWIGTYPE_p_wxPen, 0);
8edf1c75 16393 return pyobj;
d14a1e28
RD
16394}
16395
16396
8edf1c75
RD
16397static int _wrap_BLACK_DASHED_PEN_set(PyObject *) {
16398 PyErr_SetString(PyExc_TypeError,"Variable BLACK_DASHED_PEN is read-only.");
16399 return 1;
d14a1e28 16400}
8edf1c75
RD
16401
16402
16403static PyObject *_wrap_BLACK_DASHED_PEN_get() {
16404 PyObject *pyobj;
d14a1e28 16405
2f4c0a16 16406 pyobj = SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN), SWIGTYPE_p_wxPen, 0);
8edf1c75 16407 return pyobj;
d14a1e28
RD
16408}
16409
16410
8edf1c75
RD
16411static int _wrap_GREY_PEN_set(PyObject *) {
16412 PyErr_SetString(PyExc_TypeError,"Variable GREY_PEN is read-only.");
16413 return 1;
d14a1e28
RD
16414}
16415
16416
8edf1c75
RD
16417static PyObject *_wrap_GREY_PEN_get() {
16418 PyObject *pyobj;
d14a1e28 16419
2f4c0a16 16420 pyobj = SWIG_NewPointerObj((void *)(wxGREY_PEN), SWIGTYPE_p_wxPen, 0);
8edf1c75 16421 return pyobj;
d14a1e28
RD
16422}
16423
16424
8edf1c75
RD
16425static int _wrap_MEDIUM_GREY_PEN_set(PyObject *) {
16426 PyErr_SetString(PyExc_TypeError,"Variable MEDIUM_GREY_PEN is read-only.");
16427 return 1;
16428}
16429
16430
16431static PyObject *_wrap_MEDIUM_GREY_PEN_get() {
16432 PyObject *pyobj;
d14a1e28 16433
2f4c0a16 16434 pyobj = SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN), SWIGTYPE_p_wxPen, 0);
8edf1c75 16435 return pyobj;
d14a1e28
RD
16436}
16437
16438
8edf1c75
RD
16439static int _wrap_LIGHT_GREY_PEN_set(PyObject *) {
16440 PyErr_SetString(PyExc_TypeError,"Variable LIGHT_GREY_PEN is read-only.");
16441 return 1;
d14a1e28 16442}
8edf1c75
RD
16443
16444
16445static PyObject *_wrap_LIGHT_GREY_PEN_get() {
16446 PyObject *pyobj;
16447
2f4c0a16 16448 pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN), SWIGTYPE_p_wxPen, 0);
8edf1c75
RD
16449 return pyobj;
16450}
16451
16452
16453static int _wrap_BLUE_BRUSH_set(PyObject *) {
16454 PyErr_SetString(PyExc_TypeError,"Variable BLUE_BRUSH is read-only.");
d14a1e28
RD
16455 return 1;
16456}
16457
16458
8edf1c75 16459static PyObject *_wrap_BLUE_BRUSH_get() {
d14a1e28
RD
16460 PyObject *pyobj;
16461
2f4c0a16 16462 pyobj = SWIG_NewPointerObj((void *)(wxBLUE_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16463 return pyobj;
16464}
16465
16466
8edf1c75
RD
16467static int _wrap_GREEN_BRUSH_set(PyObject *) {
16468 PyErr_SetString(PyExc_TypeError,"Variable GREEN_BRUSH is read-only.");
d14a1e28
RD
16469 return 1;
16470}
16471
16472
8edf1c75 16473static PyObject *_wrap_GREEN_BRUSH_get() {
d14a1e28
RD
16474 PyObject *pyobj;
16475
2f4c0a16 16476 pyobj = SWIG_NewPointerObj((void *)(wxGREEN_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16477 return pyobj;
16478}
16479
16480
8edf1c75
RD
16481static int _wrap_WHITE_BRUSH_set(PyObject *) {
16482 PyErr_SetString(PyExc_TypeError,"Variable WHITE_BRUSH is read-only.");
d14a1e28
RD
16483 return 1;
16484}
16485
16486
8edf1c75 16487static PyObject *_wrap_WHITE_BRUSH_get() {
d14a1e28
RD
16488 PyObject *pyobj;
16489
2f4c0a16 16490 pyobj = SWIG_NewPointerObj((void *)(wxWHITE_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16491 return pyobj;
16492}
16493
16494
8edf1c75
RD
16495static int _wrap_BLACK_BRUSH_set(PyObject *) {
16496 PyErr_SetString(PyExc_TypeError,"Variable BLACK_BRUSH is read-only.");
d14a1e28
RD
16497 return 1;
16498}
16499
16500
8edf1c75 16501static PyObject *_wrap_BLACK_BRUSH_get() {
d14a1e28
RD
16502 PyObject *pyobj;
16503
2f4c0a16 16504 pyobj = SWIG_NewPointerObj((void *)(wxBLACK_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16505 return pyobj;
16506}
16507
16508
8edf1c75
RD
16509static int _wrap_TRANSPARENT_BRUSH_set(PyObject *) {
16510 PyErr_SetString(PyExc_TypeError,"Variable TRANSPARENT_BRUSH is read-only.");
d14a1e28
RD
16511 return 1;
16512}
16513
16514
8edf1c75 16515static PyObject *_wrap_TRANSPARENT_BRUSH_get() {
d14a1e28
RD
16516 PyObject *pyobj;
16517
2f4c0a16 16518 pyobj = SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16519 return pyobj;
16520}
16521
16522
8edf1c75
RD
16523static int _wrap_CYAN_BRUSH_set(PyObject *) {
16524 PyErr_SetString(PyExc_TypeError,"Variable CYAN_BRUSH is read-only.");
d14a1e28
RD
16525 return 1;
16526}
16527
16528
8edf1c75 16529static PyObject *_wrap_CYAN_BRUSH_get() {
d14a1e28
RD
16530 PyObject *pyobj;
16531
2f4c0a16 16532 pyobj = SWIG_NewPointerObj((void *)(wxCYAN_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16533 return pyobj;
16534}
16535
16536
8edf1c75
RD
16537static int _wrap_RED_BRUSH_set(PyObject *) {
16538 PyErr_SetString(PyExc_TypeError,"Variable RED_BRUSH is read-only.");
d14a1e28
RD
16539 return 1;
16540}
16541
16542
8edf1c75 16543static PyObject *_wrap_RED_BRUSH_get() {
d14a1e28
RD
16544 PyObject *pyobj;
16545
2f4c0a16 16546 pyobj = SWIG_NewPointerObj((void *)(wxRED_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16547 return pyobj;
16548}
16549
16550
8edf1c75
RD
16551static int _wrap_GREY_BRUSH_set(PyObject *) {
16552 PyErr_SetString(PyExc_TypeError,"Variable GREY_BRUSH is read-only.");
d14a1e28
RD
16553 return 1;
16554}
16555
16556
8edf1c75 16557static PyObject *_wrap_GREY_BRUSH_get() {
d14a1e28
RD
16558 PyObject *pyobj;
16559
2f4c0a16 16560 pyobj = SWIG_NewPointerObj((void *)(wxGREY_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16561 return pyobj;
16562}
16563
16564
8edf1c75
RD
16565static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject *) {
16566 PyErr_SetString(PyExc_TypeError,"Variable MEDIUM_GREY_BRUSH is read-only.");
d14a1e28
RD
16567 return 1;
16568}
16569
16570
8edf1c75 16571static PyObject *_wrap_MEDIUM_GREY_BRUSH_get() {
d14a1e28
RD
16572 PyObject *pyobj;
16573
2f4c0a16 16574 pyobj = SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16575 return pyobj;
16576}
16577
16578
8edf1c75
RD
16579static int _wrap_LIGHT_GREY_BRUSH_set(PyObject *) {
16580 PyErr_SetString(PyExc_TypeError,"Variable LIGHT_GREY_BRUSH is read-only.");
d14a1e28
RD
16581 return 1;
16582}
16583
16584
8edf1c75 16585static PyObject *_wrap_LIGHT_GREY_BRUSH_get() {
d14a1e28
RD
16586 PyObject *pyobj;
16587
2f4c0a16 16588 pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16589 return pyobj;
16590}
16591
16592
8edf1c75
RD
16593static int _wrap_BLACK_set(PyObject *) {
16594 PyErr_SetString(PyExc_TypeError,"Variable BLACK is read-only.");
d14a1e28
RD
16595 return 1;
16596}
16597
16598
8edf1c75 16599static PyObject *_wrap_BLACK_get() {
d14a1e28
RD
16600 PyObject *pyobj;
16601
2f4c0a16 16602 pyobj = SWIG_NewPointerObj((void *)(wxBLACK), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16603 return pyobj;
16604}
16605
16606
8edf1c75
RD
16607static int _wrap_WHITE_set(PyObject *) {
16608 PyErr_SetString(PyExc_TypeError,"Variable WHITE is read-only.");
d14a1e28
RD
16609 return 1;
16610}
16611
16612
8edf1c75 16613static PyObject *_wrap_WHITE_get() {
d14a1e28
RD
16614 PyObject *pyobj;
16615
2f4c0a16 16616 pyobj = SWIG_NewPointerObj((void *)(wxWHITE), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16617 return pyobj;
16618}
16619
16620
8edf1c75
RD
16621static int _wrap_RED_set(PyObject *) {
16622 PyErr_SetString(PyExc_TypeError,"Variable RED is read-only.");
d14a1e28
RD
16623 return 1;
16624}
16625
16626
8edf1c75 16627static PyObject *_wrap_RED_get() {
d14a1e28
RD
16628 PyObject *pyobj;
16629
2f4c0a16 16630 pyobj = SWIG_NewPointerObj((void *)(wxRED), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16631 return pyobj;
16632}
16633
16634
8edf1c75
RD
16635static int _wrap_BLUE_set(PyObject *) {
16636 PyErr_SetString(PyExc_TypeError,"Variable BLUE is read-only.");
d14a1e28
RD
16637 return 1;
16638}
16639
16640
8edf1c75 16641static PyObject *_wrap_BLUE_get() {
d14a1e28
RD
16642 PyObject *pyobj;
16643
2f4c0a16 16644 pyobj = SWIG_NewPointerObj((void *)(wxBLUE), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16645 return pyobj;
16646}
16647
16648
8edf1c75
RD
16649static int _wrap_GREEN_set(PyObject *) {
16650 PyErr_SetString(PyExc_TypeError,"Variable GREEN is read-only.");
d14a1e28
RD
16651 return 1;
16652}
16653
16654
8edf1c75 16655static PyObject *_wrap_GREEN_get() {
d14a1e28
RD
16656 PyObject *pyobj;
16657
2f4c0a16 16658 pyobj = SWIG_NewPointerObj((void *)(wxGREEN), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16659 return pyobj;
16660}
16661
16662
8edf1c75
RD
16663static int _wrap_CYAN_set(PyObject *) {
16664 PyErr_SetString(PyExc_TypeError,"Variable CYAN is read-only.");
d14a1e28
RD
16665 return 1;
16666}
16667
16668
8edf1c75 16669static PyObject *_wrap_CYAN_get() {
d14a1e28
RD
16670 PyObject *pyobj;
16671
2f4c0a16 16672 pyobj = SWIG_NewPointerObj((void *)(wxCYAN), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16673 return pyobj;
16674}
16675
16676
8edf1c75
RD
16677static int _wrap_LIGHT_GREY_set(PyObject *) {
16678 PyErr_SetString(PyExc_TypeError,"Variable LIGHT_GREY is read-only.");
d14a1e28
RD
16679 return 1;
16680}
16681
16682
8edf1c75 16683static PyObject *_wrap_LIGHT_GREY_get() {
d14a1e28
RD
16684 PyObject *pyobj;
16685
2f4c0a16 16686 pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16687 return pyobj;
16688}
16689
16690
8edf1c75
RD
16691static int _wrap_STANDARD_CURSOR_set(PyObject *) {
16692 PyErr_SetString(PyExc_TypeError,"Variable STANDARD_CURSOR is read-only.");
d14a1e28
RD
16693 return 1;
16694}
16695
16696
8edf1c75 16697static PyObject *_wrap_STANDARD_CURSOR_get() {
d14a1e28
RD
16698 PyObject *pyobj;
16699
2f4c0a16 16700 pyobj = SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR), SWIGTYPE_p_wxCursor, 0);
d14a1e28
RD
16701 return pyobj;
16702}
16703
16704
8edf1c75
RD
16705static int _wrap_HOURGLASS_CURSOR_set(PyObject *) {
16706 PyErr_SetString(PyExc_TypeError,"Variable HOURGLASS_CURSOR is read-only.");
d14a1e28
RD
16707 return 1;
16708}
16709
16710
8edf1c75 16711static PyObject *_wrap_HOURGLASS_CURSOR_get() {
d14a1e28
RD
16712 PyObject *pyobj;
16713
2f4c0a16 16714 pyobj = SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR), SWIGTYPE_p_wxCursor, 0);
d14a1e28
RD
16715 return pyobj;
16716}
16717
16718
8edf1c75
RD
16719static int _wrap_CROSS_CURSOR_set(PyObject *) {
16720 PyErr_SetString(PyExc_TypeError,"Variable CROSS_CURSOR is read-only.");
d14a1e28
RD
16721 return 1;
16722}
16723
16724
8edf1c75 16725static PyObject *_wrap_CROSS_CURSOR_get() {
d14a1e28
RD
16726 PyObject *pyobj;
16727
2f4c0a16 16728 pyobj = SWIG_NewPointerObj((void *)(wxCROSS_CURSOR), SWIGTYPE_p_wxCursor, 0);
d14a1e28
RD
16729 return pyobj;
16730}
16731
16732
8edf1c75
RD
16733static int _wrap_NullBitmap_set(PyObject *) {
16734 PyErr_SetString(PyExc_TypeError,"Variable NullBitmap is read-only.");
d14a1e28
RD
16735 return 1;
16736}
16737
16738
8edf1c75 16739static PyObject *_wrap_NullBitmap_get() {
d14a1e28
RD
16740 PyObject *pyobj;
16741
2f4c0a16 16742 pyobj = SWIG_NewPointerObj((void *)(&wxNullBitmap), SWIGTYPE_p_wxBitmap, 0);
d14a1e28
RD
16743 return pyobj;
16744}
16745
16746
8edf1c75
RD
16747static int _wrap_NullIcon_set(PyObject *) {
16748 PyErr_SetString(PyExc_TypeError,"Variable NullIcon is read-only.");
d14a1e28
RD
16749 return 1;
16750}
16751
16752
8edf1c75 16753static PyObject *_wrap_NullIcon_get() {
d14a1e28
RD
16754 PyObject *pyobj;
16755
2f4c0a16 16756 pyobj = SWIG_NewPointerObj((void *)(&wxNullIcon), SWIGTYPE_p_wxIcon, 0);
d14a1e28
RD
16757 return pyobj;
16758}
16759
16760
8edf1c75
RD
16761static int _wrap_NullCursor_set(PyObject *) {
16762 PyErr_SetString(PyExc_TypeError,"Variable NullCursor is read-only.");
d14a1e28
RD
16763 return 1;
16764}
16765
16766
8edf1c75 16767static PyObject *_wrap_NullCursor_get() {
d14a1e28
RD
16768 PyObject *pyobj;
16769
2f4c0a16 16770 pyobj = SWIG_NewPointerObj((void *)(&wxNullCursor), SWIGTYPE_p_wxCursor, 0);
d14a1e28
RD
16771 return pyobj;
16772}
16773
16774
8edf1c75
RD
16775static int _wrap_NullPen_set(PyObject *) {
16776 PyErr_SetString(PyExc_TypeError,"Variable NullPen is read-only.");
d14a1e28
RD
16777 return 1;
16778}
16779
16780
8edf1c75 16781static PyObject *_wrap_NullPen_get() {
d14a1e28
RD
16782 PyObject *pyobj;
16783
2f4c0a16 16784 pyobj = SWIG_NewPointerObj((void *)(&wxNullPen), SWIGTYPE_p_wxPen, 0);
d14a1e28
RD
16785 return pyobj;
16786}
16787
16788
8edf1c75
RD
16789static int _wrap_NullBrush_set(PyObject *) {
16790 PyErr_SetString(PyExc_TypeError,"Variable NullBrush is read-only.");
d14a1e28
RD
16791 return 1;
16792}
16793
16794
8edf1c75 16795static PyObject *_wrap_NullBrush_get() {
d14a1e28
RD
16796 PyObject *pyobj;
16797
2f4c0a16 16798 pyobj = SWIG_NewPointerObj((void *)(&wxNullBrush), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16799 return pyobj;
16800}
16801
16802
8edf1c75
RD
16803static int _wrap_NullPalette_set(PyObject *) {
16804 PyErr_SetString(PyExc_TypeError,"Variable NullPalette is read-only.");
d14a1e28
RD
16805 return 1;
16806}
16807
16808
8edf1c75 16809static PyObject *_wrap_NullPalette_get() {
d14a1e28
RD
16810 PyObject *pyobj;
16811
2f4c0a16 16812 pyobj = SWIG_NewPointerObj((void *)(&wxNullPalette), SWIGTYPE_p_wxPalette, 0);
d14a1e28
RD
16813 return pyobj;
16814}
16815
16816
8edf1c75
RD
16817static int _wrap_NullFont_set(PyObject *) {
16818 PyErr_SetString(PyExc_TypeError,"Variable NullFont is read-only.");
d14a1e28
RD
16819 return 1;
16820}
16821
16822
8edf1c75 16823static PyObject *_wrap_NullFont_get() {
d14a1e28
RD
16824 PyObject *pyobj;
16825
2f4c0a16 16826 pyobj = SWIG_NewPointerObj((void *)(&wxNullFont), SWIGTYPE_p_wxFont, 0);
d14a1e28
RD
16827 return pyobj;
16828}
16829
16830
8edf1c75
RD
16831static int _wrap_NullColour_set(PyObject *) {
16832 PyErr_SetString(PyExc_TypeError,"Variable NullColour is read-only.");
d14a1e28
RD
16833 return 1;
16834}
16835
16836
8edf1c75 16837static PyObject *_wrap_NullColour_get() {
d14a1e28
RD
16838 PyObject *pyobj;
16839
2f4c0a16 16840 pyobj = SWIG_NewPointerObj((void *)(&wxNullColour), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16841 return pyobj;
16842}
16843
16844
2f4c0a16 16845static PyObject *_wrap_PenList_AddPen(PyObject *, PyObject *args, PyObject *kwargs) {
8edf1c75
RD
16846 PyObject *resultobj;
16847 wxPenList *arg1 = (wxPenList *) 0 ;
16848 wxPen *arg2 = (wxPen *) 0 ;
16849 PyObject * obj0 = 0 ;
16850 PyObject * obj1 = 0 ;
16851 char *kwnames[] = {
16852 (char *) "self",(char *) "pen", NULL
16853 };
16854
16855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PenList_AddPen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPenList,
16857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16858 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPen,
16859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75
RD
16860 {
16861 PyThreadState* __tstate = wxPyBeginAllowThreads();
16862 (arg1)->AddPen(arg2);
16863
16864 wxPyEndAllowThreads(__tstate);
16865 if (PyErr_Occurred()) SWIG_fail;
16866 }
16867 Py_INCREF(Py_None); resultobj = Py_None;
16868 return resultobj;
16869 fail:
16870 return NULL;
d14a1e28
RD
16871}
16872
16873
2f4c0a16 16874static PyObject *_wrap_PenList_FindOrCreatePen(PyObject *, PyObject *args, PyObject *kwargs) {
8edf1c75
RD
16875 PyObject *resultobj;
16876 wxPenList *arg1 = (wxPenList *) 0 ;
16877 wxColour *arg2 = 0 ;
16878 int arg3 ;
16879 int arg4 ;
16880 wxPen *result;
16881 wxColour temp2 ;
16882 PyObject * obj0 = 0 ;
16883 PyObject * obj1 = 0 ;
16884 PyObject * obj2 = 0 ;
16885 PyObject * obj3 = 0 ;
16886 char *kwnames[] = {
16887 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
16888 };
d14a1e28 16889
8edf1c75 16890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PenList_FindOrCreatePen",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
16891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPenList,
16892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75
RD
16893 {
16894 arg2 = &temp2;
16895 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16896 }
2f4c0a16
RD
16897 arg3 = (int) SWIG_AsInt(obj2);
16898 if (PyErr_Occurred()) SWIG_fail;
16899 arg4 = (int) SWIG_AsInt(obj3);
16900 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16901 {
16902 PyThreadState* __tstate = wxPyBeginAllowThreads();
16903 result = (wxPen *)(arg1)->FindOrCreatePen((wxColour const &)*arg2,arg3,arg4);
16904
16905 wxPyEndAllowThreads(__tstate);
16906 if (PyErr_Occurred()) SWIG_fail;
16907 }
2f4c0a16 16908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
8edf1c75
RD
16909 return resultobj;
16910 fail:
16911 return NULL;
d14a1e28
RD
16912}
16913
16914
2f4c0a16 16915static PyObject *_wrap_PenList_RemovePen(PyObject *, PyObject *args, PyObject *kwargs) {
8edf1c75
RD
16916 PyObject *resultobj;
16917 wxPenList *arg1 = (wxPenList *) 0 ;
16918 wxPen *arg2 = (wxPen *) 0 ;
16919 PyObject * obj0 = 0 ;
16920 PyObject * obj1 = 0 ;
16921 char *kwnames[] = {
16922 (char *) "self",(char *) "pen", NULL
16923 };
16924
16925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PenList_RemovePen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPenList,
16927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16928 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPen,
16929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75
RD
16930 {
16931 PyThreadState* __tstate = wxPyBeginAllowThreads();
16932 (arg1)->RemovePen(arg2);
16933
16934 wxPyEndAllowThreads(__tstate);
16935 if (PyErr_Occurred()) SWIG_fail;
16936 }
16937 Py_INCREF(Py_None); resultobj = Py_None;
16938 return resultobj;
16939 fail:
16940 return NULL;
d14a1e28
RD
16941}
16942
16943
2f4c0a16 16944static PyObject *_wrap_PenList_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
8edf1c75
RD
16945 PyObject *resultobj;
16946 wxPenList *arg1 = (wxPenList *) 0 ;
16947 int result;
16948 PyObject * obj0 = 0 ;
16949 char *kwnames[] = {
16950 (char *) "self", NULL
16951 };
d14a1e28 16952
8edf1c75 16953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PenList_GetCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPenList,
16955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75
RD
16956 {
16957 PyThreadState* __tstate = wxPyBeginAllowThreads();
16958 result = (int)(arg1)->GetCount();
16959
16960 wxPyEndAllowThreads(__tstate);
16961 if (PyErr_Occurred()) SWIG_fail;
16962 }
2f4c0a16 16963 resultobj = SWIG_FromInt((int)result);
8edf1c75
RD
16964 return resultobj;
16965 fail:
16966 return NULL;
d14a1e28
RD
16967}
16968
16969
2f4c0a16 16970static PyObject * PenList_swigregister(PyObject *, PyObject *args) {
8edf1c75
RD
16971 PyObject *obj;
16972 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16973 SWIG_TypeClientData(SWIGTYPE_p_wxPenList, obj);
16974 Py_INCREF(obj);
16975 return Py_BuildValue((char *)"");
d14a1e28 16976}
2f4c0a16 16977static PyObject *_wrap_BrushList_AddBrush(PyObject *, PyObject *args, PyObject *kwargs) {
8edf1c75
RD
16978 PyObject *resultobj;
16979 wxBrushList *arg1 = (wxBrushList *) 0 ;
16980 wxBrush *arg2 = (wxBrush *) 0 ;
16981 PyObject * obj0 = 0 ;
16982 PyObject * obj1 = 0 ;
16983 char *kwnames[] = {
16984 (char *) "self",(char *) "brush", NULL
16985 };
d14a1e28 16986
8edf1c75 16987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BrushList_AddBrush",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrushList,
16989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16990 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBrush,
16991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75
RD
16992 {
16993 PyThreadState* __tstate = wxPyBeginAllowThreads();
16994 (arg1)->AddBrush(arg2);
16995
16996 wxPyEndAllowThreads(__tstate);
16997 if (PyErr_Occurred()) SWIG_fail;
16998 }
16999 Py_INCREF(Py_None); resultobj = Py_None;
17000 return resultobj;
17001 fail:
17002 return NULL;
d14a1e28
RD
17003}
17004
17005
2f4c0a16 17006static PyObject *_wrap_BrushList_FindOrCreateBrush(PyObject *, PyObject *args, PyObject *kwargs) {
8edf1c75
RD
17007 PyObject *resultobj;
17008 wxBrushList *arg1 = (wxBrushList *) 0 ;
17009 wxColour *arg2 = 0 ;
17010 int arg3 ;
17011 wxBrush *result;
17012 wxColour temp2 ;
17013 PyObject * obj0 = 0 ;
17014 PyObject * obj1 = 0 ;
17015 PyObject * obj2 = 0 ;
17016 char *kwnames[] = {
17017 (char *) "self",(char *) "colour",(char *) "style", NULL
17018 };
17019
17020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrushList,
17022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75
RD
17023 {
17024 arg2 = &temp2;
17025 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17026 }
2f4c0a16
RD
17027 arg3 = (int) SWIG_AsInt(obj2);
17028 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17029 {
17030 PyThreadState* __tstate = wxPyBeginAllowThreads();
17031 result = (wxBrush *)(arg1)->FindOrCreateBrush((wxColour const &)*arg2,arg3);
17032
17033 wxPyEndAllowThreads(__tstate);
17034 if (PyErr_Occurred()) SWIG_fail;
17035 }
2f4c0a16 17036 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 0);
8edf1c75
RD
17037 return resultobj;
17038 fail:
17039 return NULL;
d14a1e28
RD
17040}
17041
17042
2f4c0a16 17043static PyObject *_wrap_BrushList_RemoveBrush(PyObject *, PyObject *args, PyObject *kwargs) {
8edf1c75
RD
17044 PyObject *resultobj;
17045 wxBrushList *arg1 = (wxBrushList *) 0 ;
17046 wxBrush *arg2 = (wxBrush *) 0 ;
17047 PyObject * obj0 = 0 ;
17048 PyObject * obj1 = 0 ;
17049 char *kwnames[] = {
17050 (char *) "self",(char *) "brush", NULL
17051 };
d14a1e28 17052
8edf1c75 17053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BrushList_RemoveBrush",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrushList,
17055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17056 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBrush,
17057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75
RD
17058 {
17059 PyThreadState* __tstate = wxPyBeginAllowThreads();
17060 (arg1)->RemoveBrush(arg2);
17061
17062 wxPyEndAllowThreads(__tstate);
17063 if (PyErr_Occurred()) SWIG_fail;
17064 }
17065 Py_INCREF(Py_None); resultobj = Py_None;
17066 return resultobj;
17067 fail:
17068 return NULL;
d14a1e28
RD
17069}
17070
17071
2f4c0a16 17072static PyObject *_wrap_BrushList_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
8edf1c75
RD
17073 PyObject *resultobj;
17074 wxBrushList *arg1 = (wxBrushList *) 0 ;
17075 int result;
17076 PyObject * obj0 = 0 ;
17077 char *kwnames[] = {
17078 (char *) "self", NULL
17079 };
d14a1e28 17080
8edf1c75 17081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BrushList_GetCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrushList,
17083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75
RD
17084 {
17085 PyThreadState* __tstate = wxPyBeginAllowThreads();
17086 result = (int)(arg1)->GetCount();
17087
17088 wxPyEndAllowThreads(__tstate);
17089 if (PyErr_Occurred()) SWIG_fail;
17090 }
2f4c0a16 17091 resultobj = SWIG_FromInt((int)result);
8edf1c75
RD
17092 return resultobj;
17093 fail:
17094 return NULL;
d14a1e28
RD
17095}
17096
17097
2f4c0a16 17098static PyObject * BrushList_swigregister(PyObject *, PyObject *args) {
8edf1c75
RD
17099 PyObject *obj;
17100 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17101 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList, obj);
17102 Py_INCREF(obj);
17103 return Py_BuildValue((char *)"");
d14a1e28 17104}
2f4c0a16 17105static PyObject *_wrap_new_ColourDatabase(PyObject *, PyObject *args, PyObject *kwargs) {
8edf1c75
RD
17106 PyObject *resultobj;
17107 wxColourDatabase *result;
17108 char *kwnames[] = {
17109 NULL
17110 };
d14a1e28 17111
8edf1c75
RD
17112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourDatabase",kwnames)) goto fail;
17113 {
17114 PyThreadState* __tstate = wxPyBeginAllowThreads();
17115 result = (wxColourDatabase *)new wxColourDatabase();
17116
17117 wxPyEndAllowThreads(__tstate);
17118 if (PyErr_Occurred()) SWIG_fail;
17119 }
2f4c0a16 17120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDatabase, 1);
8edf1c75
RD
17121 return resultobj;
17122 fail:
17123 return NULL;
d14a1e28
RD
17124}
17125
17126
2f4c0a16 17127static PyObject *_wrap_delete_ColourDatabase(PyObject *, PyObject *args, PyObject *kwargs) {
8edf1c75
RD
17128 PyObject *resultobj;
17129 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
17130 PyObject * obj0 = 0 ;
17131 char *kwnames[] = {
17132 (char *) "self", NULL
17133 };
d14a1e28 17134
8edf1c75 17135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourDatabase",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDatabase,
17137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75
RD
17138 {
17139 PyThreadState* __tstate = wxPyBeginAllowThreads();
17140 delete arg1;
17141
17142 wxPyEndAllowThreads(__tstate);
17143 if (PyErr_Occurred()) SWIG_fail;
17144 }
17145 Py_INCREF(Py_None); resultobj = Py_None;
17146 return resultobj;
17147 fail:
17148 return NULL;
d14a1e28
RD
17149}
17150
17151
2f4c0a16 17152static PyObject *_wrap_ColourDatabase_Find(PyObject *, PyObject *args, PyObject *kwargs) {
8edf1c75
RD
17153 PyObject *resultobj;
17154 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
17155 wxString *arg2 = 0 ;
17156 wxColour result;
17157 bool temp2 = False ;
17158 PyObject * obj0 = 0 ;
17159 PyObject * obj1 = 0 ;
17160 char *kwnames[] = {
17161 (char *) "self",(char *) "name", NULL
17162 };
d14a1e28 17163
8edf1c75 17164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourDatabase_Find",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDatabase,
17166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75
RD
17167 {
17168 arg2 = wxString_in_helper(obj1);
17169 if (arg2 == NULL) SWIG_fail;
17170 temp2 = True;
17171 }
17172 {
17173 PyThreadState* __tstate = wxPyBeginAllowThreads();
17174 result = ((wxColourDatabase const *)arg1)->Find((wxString const &)*arg2);
17175
17176 wxPyEndAllowThreads(__tstate);
17177 if (PyErr_Occurred()) SWIG_fail;
17178 }
17179 {
17180 wxColour * resultptr;
17181 resultptr = new wxColour((wxColour &) result);
2f4c0a16 17182 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
8edf1c75
RD
17183 }
17184 {
17185 if (temp2)
17186 delete arg2;
17187 }
17188 return resultobj;
17189 fail:
17190 {
17191 if (temp2)
17192 delete arg2;
17193 }
17194 return NULL;
d14a1e28
RD
17195}
17196
17197
2f4c0a16 17198static PyObject *_wrap_ColourDatabase_FindName(PyObject *, PyObject *args, PyObject *kwargs) {
8edf1c75
RD
17199 PyObject *resultobj;
17200 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
17201 wxColour *arg2 = 0 ;
17202 wxString result;
17203 wxColour temp2 ;
17204 PyObject * obj0 = 0 ;
17205 PyObject * obj1 = 0 ;
17206 char *kwnames[] = {
17207 (char *) "self",(char *) "colour", NULL
17208 };
d14a1e28 17209
8edf1c75 17210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourDatabase_FindName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDatabase,
17212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75
RD
17213 {
17214 arg2 = &temp2;
17215 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17216 }
17217 {
17218 PyThreadState* __tstate = wxPyBeginAllowThreads();
17219 result = ((wxColourDatabase const *)arg1)->FindName((wxColour const &)*arg2);
17220
17221 wxPyEndAllowThreads(__tstate);
17222 if (PyErr_Occurred()) SWIG_fail;
17223 }
17224 {
17225#if wxUSE_UNICODE
17226 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17227#else
17228 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17229#endif
17230 }
17231 return resultobj;
17232 fail:
17233 return NULL;
d14a1e28
RD
17234}
17235
17236
2f4c0a16 17237static PyObject *_wrap_ColourDatabase_AddColour(PyObject *, PyObject *args, PyObject *kwargs) {
8edf1c75
RD
17238 PyObject *resultobj;
17239 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
17240 wxString *arg2 = 0 ;
17241 wxColour *arg3 = 0 ;
17242 bool temp2 = False ;
17243 wxColour temp3 ;
17244 PyObject * obj0 = 0 ;
17245 PyObject * obj1 = 0 ;
17246 PyObject * obj2 = 0 ;
17247 char *kwnames[] = {
17248 (char *) "self",(char *) "name",(char *) "colour", NULL
17249 };
17250
17251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourDatabase_AddColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDatabase,
17253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75
RD
17254 {
17255 arg2 = wxString_in_helper(obj1);
17256 if (arg2 == NULL) SWIG_fail;
17257 temp2 = True;
17258 }
17259 {
17260 arg3 = &temp3;
17261 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
17262 }
17263 {
17264 PyThreadState* __tstate = wxPyBeginAllowThreads();
17265 (arg1)->AddColour((wxString const &)*arg2,(wxColour const &)*arg3);
17266
17267 wxPyEndAllowThreads(__tstate);
17268 if (PyErr_Occurred()) SWIG_fail;
17269 }
17270 Py_INCREF(Py_None); resultobj = Py_None;
17271 {
17272 if (temp2)
17273 delete arg2;
17274 }
17275 return resultobj;
17276 fail:
17277 {
17278 if (temp2)
17279 delete arg2;
17280 }
17281 return NULL;
d14a1e28
RD
17282}
17283
17284
2f4c0a16 17285static PyObject *_wrap_ColourDatabase_Append(PyObject *, PyObject *args, PyObject *kwargs) {
8edf1c75
RD
17286 PyObject *resultobj;
17287 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
17288 wxString *arg2 = 0 ;
17289 int arg3 ;
17290 int arg4 ;
17291 int arg5 ;
17292 bool temp2 = False ;
17293 PyObject * obj0 = 0 ;
17294 PyObject * obj1 = 0 ;
17295 PyObject * obj2 = 0 ;
17296 PyObject * obj3 = 0 ;
17297 PyObject * obj4 = 0 ;
17298 char *kwnames[] = {
17299 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17300 };
d14a1e28 17301
8edf1c75 17302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:ColourDatabase_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
17303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDatabase,
17304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75
RD
17305 {
17306 arg2 = wxString_in_helper(obj1);
17307 if (arg2 == NULL) SWIG_fail;
17308 temp2 = True;
17309 }
2f4c0a16
RD
17310 arg3 = (int) SWIG_AsInt(obj2);
17311 if (PyErr_Occurred()) SWIG_fail;
17312 arg4 = (int) SWIG_AsInt(obj3);
17313 if (PyErr_Occurred()) SWIG_fail;
17314 arg5 = (int) SWIG_AsInt(obj4);
17315 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17316 {
17317 PyThreadState* __tstate = wxPyBeginAllowThreads();
17318 wxColourDatabase_Append(arg1,(wxString const &)*arg2,arg3,arg4,arg5);
17319
17320 wxPyEndAllowThreads(__tstate);
17321 if (PyErr_Occurred()) SWIG_fail;
17322 }
17323 Py_INCREF(Py_None); resultobj = Py_None;
17324 {
17325 if (temp2)
17326 delete arg2;
17327 }
17328 return resultobj;
17329 fail:
17330 {
17331 if (temp2)
17332 delete arg2;
17333 }
17334 return NULL;
d14a1e28
RD
17335}
17336
17337
2f4c0a16 17338static PyObject * ColourDatabase_swigregister(PyObject *, PyObject *args) {
8edf1c75
RD
17339 PyObject *obj;
17340 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17341 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase, obj);
17342 Py_INCREF(obj);
17343 return Py_BuildValue((char *)"");
d14a1e28 17344}
2f4c0a16 17345static PyObject *_wrap_FontList_AddFont(PyObject *, PyObject *args, PyObject *kwargs) {
8edf1c75
RD
17346 PyObject *resultobj;
17347 wxFontList *arg1 = (wxFontList *) 0 ;
17348 wxFont *arg2 = (wxFont *) 0 ;
17349 PyObject * obj0 = 0 ;
17350 PyObject * obj1 = 0 ;
17351 char *kwnames[] = {
17352 (char *) "self",(char *) "font", NULL
17353 };
d14a1e28 17354
8edf1c75 17355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontList_AddFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontList,
17357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17358 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
17359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75
RD
17360 {
17361 PyThreadState* __tstate = wxPyBeginAllowThreads();
17362 (arg1)->AddFont(arg2);
17363
17364 wxPyEndAllowThreads(__tstate);
17365 if (PyErr_Occurred()) SWIG_fail;
17366 }
17367 Py_INCREF(Py_None); resultobj = Py_None;
17368 return resultobj;
17369 fail:
17370 return NULL;
d14a1e28
RD
17371}
17372
17373
2f4c0a16 17374static PyObject *_wrap_FontList_FindOrCreateFont(PyObject *, PyObject *args, PyObject *kwargs) {
8edf1c75
RD
17375 PyObject *resultobj;
17376 wxFontList *arg1 = (wxFontList *) 0 ;
17377 int arg2 ;
17378 int arg3 ;
17379 int arg4 ;
17380 int arg5 ;
17381 bool arg6 = (bool) False ;
17382 wxString const &arg7_defvalue = wxPyEmptyString ;
17383 wxString *arg7 = (wxString *) &arg7_defvalue ;
17384 int arg8 = (int) wxFONTENCODING_DEFAULT ;
17385 wxFont *result;
17386 bool temp7 = False ;
17387 PyObject * obj0 = 0 ;
17388 PyObject * obj1 = 0 ;
17389 PyObject * obj2 = 0 ;
17390 PyObject * obj3 = 0 ;
17391 PyObject * obj4 = 0 ;
17392 PyObject * obj5 = 0 ;
17393 PyObject * obj6 = 0 ;
17394 PyObject * obj7 = 0 ;
17395 char *kwnames[] = {
17396 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17397 };
d14a1e28 17398
8edf1c75 17399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
17400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontList,
17401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17402 arg2 = (int) SWIG_AsInt(obj1);
17403 if (PyErr_Occurred()) SWIG_fail;
17404 arg3 = (int) SWIG_AsInt(obj2);
17405 if (PyErr_Occurred()) SWIG_fail;
17406 arg4 = (int) SWIG_AsInt(obj3);
17407 if (PyErr_Occurred()) SWIG_fail;
17408 arg5 = (int) SWIG_AsInt(obj4);
17409 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17410 if (obj5) {
2f4c0a16
RD
17411 arg6 = (bool) SWIG_AsBool(obj5);
17412 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17413 }
17414 if (obj6) {
17415 {
17416 arg7 = wxString_in_helper(obj6);
17417 if (arg7 == NULL) SWIG_fail;
17418 temp7 = True;
17419 }
17420 }
17421 if (obj7) {
2f4c0a16
RD
17422 arg8 = (wxFontEncoding) SWIG_AsInt(obj7);
17423 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17424 }
17425 {
17426 PyThreadState* __tstate = wxPyBeginAllowThreads();
17427 result = (wxFont *)(arg1)->FindOrCreateFont(arg2,arg3,arg4,arg5,arg6,(wxString const &)*arg7,(wxFontEncoding )arg8);
17428
17429 wxPyEndAllowThreads(__tstate);
17430 if (PyErr_Occurred()) SWIG_fail;
17431 }
2f4c0a16 17432 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
8edf1c75
RD
17433 {
17434 if (temp7)
17435 delete arg7;
17436 }
17437 return resultobj;
17438 fail:
17439 {
17440 if (temp7)
17441 delete arg7;
17442 }
17443 return NULL;
d14a1e28
RD
17444}
17445
17446
2f4c0a16 17447static PyObject *_wrap_FontList_RemoveFont(PyObject *, PyObject *args, PyObject *kwargs) {
8edf1c75
RD
17448 PyObject *resultobj;
17449 wxFontList *arg1 = (wxFontList *) 0 ;
17450 wxFont *arg2 = (wxFont *) 0 ;
17451 PyObject * obj0 = 0 ;
17452 PyObject * obj1 = 0 ;
17453 char *kwnames[] = {
17454 (char *) "self",(char *) "font", NULL
17455 };
d14a1e28 17456
8edf1c75 17457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontList_RemoveFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontList,
17459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17460 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
17461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75
RD
17462 {
17463 PyThreadState* __tstate = wxPyBeginAllowThreads();
17464 (arg1)->RemoveFont(arg2);
17465
17466 wxPyEndAllowThreads(__tstate);
17467 if (PyErr_Occurred()) SWIG_fail;
17468 }
17469 Py_INCREF(Py_None); resultobj = Py_None;
17470 return resultobj;
17471 fail:
17472 return NULL;
d14a1e28
RD
17473}
17474
17475
2f4c0a16 17476static PyObject *_wrap_FontList_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
8edf1c75
RD
17477 PyObject *resultobj;
17478 wxFontList *arg1 = (wxFontList *) 0 ;
17479 int result;
17480 PyObject * obj0 = 0 ;
17481 char *kwnames[] = {
17482 (char *) "self", NULL
17483 };
d14a1e28 17484
8edf1c75 17485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontList_GetCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontList,
17487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75
RD
17488 {
17489 PyThreadState* __tstate = wxPyBeginAllowThreads();
17490 result = (int)(arg1)->GetCount();
17491
17492 wxPyEndAllowThreads(__tstate);
17493 if (PyErr_Occurred()) SWIG_fail;
17494 }
2f4c0a16 17495 resultobj = SWIG_FromInt((int)result);
8edf1c75
RD
17496 return resultobj;
17497 fail:
17498 return NULL;
d14a1e28
RD
17499}
17500
17501
2f4c0a16 17502static PyObject * FontList_swigregister(PyObject *, PyObject *args) {
8edf1c75
RD
17503 PyObject *obj;
17504 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17505 SWIG_TypeClientData(SWIGTYPE_p_wxFontList, obj);
17506 Py_INCREF(obj);
17507 return Py_BuildValue((char *)"");
17508}
17509static int _wrap_TheFontList_set(PyObject *) {
d14a1e28
RD
17510 PyErr_SetString(PyExc_TypeError,"Variable TheFontList is read-only.");
17511 return 1;
17512}
17513
17514
17515static PyObject *_wrap_TheFontList_get() {
17516 PyObject *pyobj;
17517
2f4c0a16 17518 pyobj = SWIG_NewPointerObj((void *)(wxTheFontList), SWIGTYPE_p_wxFontList, 0);
d14a1e28
RD
17519 return pyobj;
17520}
17521
17522
8edf1c75 17523static int _wrap_ThePenList_set(PyObject *) {
d14a1e28
RD
17524 PyErr_SetString(PyExc_TypeError,"Variable ThePenList is read-only.");
17525 return 1;
17526}
17527
17528
17529static PyObject *_wrap_ThePenList_get() {
17530 PyObject *pyobj;
17531
2f4c0a16 17532 pyobj = SWIG_NewPointerObj((void *)(wxThePenList), SWIGTYPE_p_wxPenList, 0);
d14a1e28
RD
17533 return pyobj;
17534}
17535
17536
8edf1c75 17537static int _wrap_TheBrushList_set(PyObject *) {
d14a1e28
RD
17538 PyErr_SetString(PyExc_TypeError,"Variable TheBrushList is read-only.");
17539 return 1;
17540}
17541
17542
17543static PyObject *_wrap_TheBrushList_get() {
17544 PyObject *pyobj;
17545
2f4c0a16 17546 pyobj = SWIG_NewPointerObj((void *)(wxTheBrushList), SWIGTYPE_p_wxBrushList, 0);
d14a1e28
RD
17547 return pyobj;
17548}
17549
17550
8edf1c75 17551static int _wrap_TheColourDatabase_set(PyObject *) {
d14a1e28
RD
17552 PyErr_SetString(PyExc_TypeError,"Variable TheColourDatabase is read-only.");
17553 return 1;
17554}
17555
17556
17557static PyObject *_wrap_TheColourDatabase_get() {
17558 PyObject *pyobj;
17559
2f4c0a16 17560 pyobj = SWIG_NewPointerObj((void *)(wxTheColourDatabase), SWIGTYPE_p_wxColourDatabase, 0);
d14a1e28
RD
17561 return pyobj;
17562}
17563
17564
2f4c0a16 17565static PyObject *_wrap_new_Effects(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17566 PyObject *resultobj;
423f194a 17567 wxEffects *result;
d14a1e28 17568 char *kwnames[] = {
423f194a 17569 NULL
d14a1e28
RD
17570 };
17571
423f194a 17572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Effects",kwnames)) goto fail;
d14a1e28
RD
17573 {
17574 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 17575 result = (wxEffects *)new wxEffects();
d14a1e28
RD
17576
17577 wxPyEndAllowThreads(__tstate);
17578 if (PyErr_Occurred()) SWIG_fail;
17579 }
2f4c0a16 17580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEffects, 1);
d14a1e28
RD
17581 return resultobj;
17582 fail:
17583 return NULL;
17584}
17585
17586
2f4c0a16 17587static PyObject *_wrap_Effects_GetHighlightColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17588 PyObject *resultobj;
423f194a
RD
17589 wxEffects *arg1 = (wxEffects *) 0 ;
17590 wxColour result;
d14a1e28 17591 PyObject * obj0 = 0 ;
d14a1e28 17592 char *kwnames[] = {
423f194a 17593 (char *) "self", NULL
d14a1e28
RD
17594 };
17595
423f194a 17596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetHighlightColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17599 {
17600 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 17601 result = ((wxEffects const *)arg1)->GetHighlightColour();
d14a1e28
RD
17602
17603 wxPyEndAllowThreads(__tstate);
17604 if (PyErr_Occurred()) SWIG_fail;
17605 }
423f194a
RD
17606 {
17607 wxColour * resultptr;
17608 resultptr = new wxColour((wxColour &) result);
2f4c0a16 17609 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
423f194a 17610 }
d14a1e28
RD
17611 return resultobj;
17612 fail:
17613 return NULL;
17614}
17615
17616
2f4c0a16 17617static PyObject *_wrap_Effects_GetLightShadow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17618 PyObject *resultobj;
423f194a
RD
17619 wxEffects *arg1 = (wxEffects *) 0 ;
17620 wxColour result;
d14a1e28 17621 PyObject * obj0 = 0 ;
d14a1e28 17622 char *kwnames[] = {
423f194a 17623 (char *) "self", NULL
d14a1e28
RD
17624 };
17625
423f194a 17626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetLightShadow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17629 {
17630 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 17631 result = ((wxEffects const *)arg1)->GetLightShadow();
d14a1e28
RD
17632
17633 wxPyEndAllowThreads(__tstate);
17634 if (PyErr_Occurred()) SWIG_fail;
17635 }
d14a1e28 17636 {
423f194a
RD
17637 wxColour * resultptr;
17638 resultptr = new wxColour((wxColour &) result);
2f4c0a16 17639 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
17640 }
17641 return resultobj;
17642 fail:
d14a1e28
RD
17643 return NULL;
17644}
17645
17646
2f4c0a16 17647static PyObject *_wrap_Effects_GetFaceColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17648 PyObject *resultobj;
423f194a
RD
17649 wxEffects *arg1 = (wxEffects *) 0 ;
17650 wxColour result;
d14a1e28 17651 PyObject * obj0 = 0 ;
d14a1e28 17652 char *kwnames[] = {
423f194a 17653 (char *) "self", NULL
d14a1e28
RD
17654 };
17655
423f194a 17656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetFaceColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17659 {
17660 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 17661 result = ((wxEffects const *)arg1)->GetFaceColour();
d14a1e28
RD
17662
17663 wxPyEndAllowThreads(__tstate);
17664 if (PyErr_Occurred()) SWIG_fail;
17665 }
423f194a
RD
17666 {
17667 wxColour * resultptr;
17668 resultptr = new wxColour((wxColour &) result);
2f4c0a16 17669 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
423f194a 17670 }
d14a1e28
RD
17671 return resultobj;
17672 fail:
17673 return NULL;
17674}
17675
17676
2f4c0a16 17677static PyObject *_wrap_Effects_GetMediumShadow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17678 PyObject *resultobj;
423f194a
RD
17679 wxEffects *arg1 = (wxEffects *) 0 ;
17680 wxColour result;
d14a1e28
RD
17681 PyObject * obj0 = 0 ;
17682 char *kwnames[] = {
423f194a 17683 (char *) "self", NULL
d14a1e28
RD
17684 };
17685
17686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetMediumShadow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17689 {
17690 PyThreadState* __tstate = wxPyBeginAllowThreads();
17691 result = ((wxEffects const *)arg1)->GetMediumShadow();
17692
17693 wxPyEndAllowThreads(__tstate);
17694 if (PyErr_Occurred()) SWIG_fail;
17695 }
17696 {
17697 wxColour * resultptr;
17698 resultptr = new wxColour((wxColour &) result);
2f4c0a16 17699 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
17700 }
17701 return resultobj;
17702 fail:
17703 return NULL;
17704}
17705
17706
2f4c0a16 17707static PyObject *_wrap_Effects_GetDarkShadow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17708 PyObject *resultobj;
17709 wxEffects *arg1 = (wxEffects *) 0 ;
17710 wxColour result;
17711 PyObject * obj0 = 0 ;
17712 char *kwnames[] = {
17713 (char *) "self", NULL
17714 };
17715
17716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetDarkShadow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17719 {
17720 PyThreadState* __tstate = wxPyBeginAllowThreads();
17721 result = ((wxEffects const *)arg1)->GetDarkShadow();
17722
17723 wxPyEndAllowThreads(__tstate);
17724 if (PyErr_Occurred()) SWIG_fail;
17725 }
17726 {
17727 wxColour * resultptr;
17728 resultptr = new wxColour((wxColour &) result);
2f4c0a16 17729 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
17730 }
17731 return resultobj;
17732 fail:
17733 return NULL;
17734}
17735
17736
2f4c0a16 17737static PyObject *_wrap_Effects_SetHighlightColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17738 PyObject *resultobj;
17739 wxEffects *arg1 = (wxEffects *) 0 ;
17740 wxColour *arg2 = 0 ;
17741 wxColour temp2 ;
17742 PyObject * obj0 = 0 ;
17743 PyObject * obj1 = 0 ;
17744 char *kwnames[] = {
17745 (char *) "self",(char *) "c", NULL
17746 };
17747
17748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetHighlightColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17751 {
17752 arg2 = &temp2;
17753 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17754 }
17755 {
17756 PyThreadState* __tstate = wxPyBeginAllowThreads();
17757 (arg1)->SetHighlightColour((wxColour const &)*arg2);
17758
17759 wxPyEndAllowThreads(__tstate);
17760 if (PyErr_Occurred()) SWIG_fail;
17761 }
17762 Py_INCREF(Py_None); resultobj = Py_None;
17763 return resultobj;
17764 fail:
17765 return NULL;
17766}
17767
17768
2f4c0a16 17769static PyObject *_wrap_Effects_SetLightShadow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17770 PyObject *resultobj;
17771 wxEffects *arg1 = (wxEffects *) 0 ;
17772 wxColour *arg2 = 0 ;
17773 wxColour temp2 ;
17774 PyObject * obj0 = 0 ;
17775 PyObject * obj1 = 0 ;
17776 char *kwnames[] = {
17777 (char *) "self",(char *) "c", NULL
17778 };
17779
17780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetLightShadow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17783 {
17784 arg2 = &temp2;
17785 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17786 }
17787 {
17788 PyThreadState* __tstate = wxPyBeginAllowThreads();
17789 (arg1)->SetLightShadow((wxColour const &)*arg2);
17790
17791 wxPyEndAllowThreads(__tstate);
17792 if (PyErr_Occurred()) SWIG_fail;
17793 }
17794 Py_INCREF(Py_None); resultobj = Py_None;
17795 return resultobj;
17796 fail:
17797 return NULL;
17798}
17799
17800
2f4c0a16 17801static PyObject *_wrap_Effects_SetFaceColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17802 PyObject *resultobj;
17803 wxEffects *arg1 = (wxEffects *) 0 ;
17804 wxColour *arg2 = 0 ;
17805 wxColour temp2 ;
17806 PyObject * obj0 = 0 ;
17807 PyObject * obj1 = 0 ;
17808 char *kwnames[] = {
17809 (char *) "self",(char *) "c", NULL
17810 };
17811
17812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetFaceColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17815 {
17816 arg2 = &temp2;
17817 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17818 }
17819 {
17820 PyThreadState* __tstate = wxPyBeginAllowThreads();
17821 (arg1)->SetFaceColour((wxColour const &)*arg2);
17822
17823 wxPyEndAllowThreads(__tstate);
17824 if (PyErr_Occurred()) SWIG_fail;
17825 }
17826 Py_INCREF(Py_None); resultobj = Py_None;
17827 return resultobj;
17828 fail:
17829 return NULL;
17830}
17831
17832
2f4c0a16 17833static PyObject *_wrap_Effects_SetMediumShadow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17834 PyObject *resultobj;
17835 wxEffects *arg1 = (wxEffects *) 0 ;
17836 wxColour *arg2 = 0 ;
17837 wxColour temp2 ;
17838 PyObject * obj0 = 0 ;
17839 PyObject * obj1 = 0 ;
17840 char *kwnames[] = {
17841 (char *) "self",(char *) "c", NULL
17842 };
17843
17844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetMediumShadow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17847 {
17848 arg2 = &temp2;
17849 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17850 }
17851 {
17852 PyThreadState* __tstate = wxPyBeginAllowThreads();
17853 (arg1)->SetMediumShadow((wxColour const &)*arg2);
17854
17855 wxPyEndAllowThreads(__tstate);
17856 if (PyErr_Occurred()) SWIG_fail;
17857 }
17858 Py_INCREF(Py_None); resultobj = Py_None;
17859 return resultobj;
17860 fail:
17861 return NULL;
17862}
17863
17864
2f4c0a16 17865static PyObject *_wrap_Effects_SetDarkShadow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17866 PyObject *resultobj;
17867 wxEffects *arg1 = (wxEffects *) 0 ;
17868 wxColour *arg2 = 0 ;
17869 wxColour temp2 ;
17870 PyObject * obj0 = 0 ;
17871 PyObject * obj1 = 0 ;
17872 char *kwnames[] = {
17873 (char *) "self",(char *) "c", NULL
17874 };
17875
17876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetDarkShadow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17879 {
17880 arg2 = &temp2;
17881 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17882 }
17883 {
17884 PyThreadState* __tstate = wxPyBeginAllowThreads();
17885 (arg1)->SetDarkShadow((wxColour const &)*arg2);
17886
17887 wxPyEndAllowThreads(__tstate);
17888 if (PyErr_Occurred()) SWIG_fail;
17889 }
17890 Py_INCREF(Py_None); resultobj = Py_None;
17891 return resultobj;
17892 fail:
17893 return NULL;
17894}
17895
17896
2f4c0a16 17897static PyObject *_wrap_Effects_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17898 PyObject *resultobj;
17899 wxEffects *arg1 = (wxEffects *) 0 ;
17900 wxColour *arg2 = 0 ;
17901 wxColour *arg3 = 0 ;
17902 wxColour *arg4 = 0 ;
17903 wxColour *arg5 = 0 ;
17904 wxColour *arg6 = 0 ;
17905 wxColour temp2 ;
17906 wxColour temp3 ;
17907 wxColour temp4 ;
17908 wxColour temp5 ;
17909 wxColour temp6 ;
17910 PyObject * obj0 = 0 ;
17911 PyObject * obj1 = 0 ;
17912 PyObject * obj2 = 0 ;
17913 PyObject * obj3 = 0 ;
17914 PyObject * obj4 = 0 ;
17915 PyObject * obj5 = 0 ;
17916 char *kwnames[] = {
17917 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
17918 };
17919
17920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Effects_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
17921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17923 {
17924 arg2 = &temp2;
17925 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17926 }
17927 {
17928 arg3 = &temp3;
17929 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
17930 }
17931 {
17932 arg4 = &temp4;
17933 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
17934 }
17935 {
17936 arg5 = &temp5;
17937 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
17938 }
17939 {
17940 arg6 = &temp6;
17941 if ( ! wxColour_helper(obj5, &arg6)) SWIG_fail;
17942 }
17943 {
17944 PyThreadState* __tstate = wxPyBeginAllowThreads();
17945 (arg1)->Set((wxColour const &)*arg2,(wxColour const &)*arg3,(wxColour const &)*arg4,(wxColour const &)*arg5,(wxColour const &)*arg6);
17946
17947 wxPyEndAllowThreads(__tstate);
17948 if (PyErr_Occurred()) SWIG_fail;
17949 }
17950 Py_INCREF(Py_None); resultobj = Py_None;
17951 return resultobj;
17952 fail:
17953 return NULL;
17954}
17955
17956
2f4c0a16 17957static PyObject *_wrap_Effects_DrawSunkenEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17958 PyObject *resultobj;
17959 wxEffects *arg1 = (wxEffects *) 0 ;
17960 wxDC *arg2 = 0 ;
17961 wxRect *arg3 = 0 ;
17962 int arg4 = (int) 1 ;
17963 wxRect temp3 ;
17964 PyObject * obj0 = 0 ;
17965 PyObject * obj1 = 0 ;
17966 PyObject * obj2 = 0 ;
8edf1c75 17967 PyObject * obj3 = 0 ;
d14a1e28
RD
17968 char *kwnames[] = {
17969 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
17970 };
17971
8edf1c75 17972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
17973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17975 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17976 SWIG_POINTER_EXCEPTION | 0)) == -1)
17977 SWIG_fail;
d14a1e28 17978 if (arg2 == NULL) {
2f4c0a16
RD
17979 PyErr_SetString(PyExc_TypeError,"null reference");
17980 SWIG_fail;
d14a1e28
RD
17981 }
17982 {
17983 arg3 = &temp3;
17984 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
17985 }
8edf1c75 17986 if (obj3) {
2f4c0a16
RD
17987 arg4 = (int) SWIG_AsInt(obj3);
17988 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17989 }
d14a1e28
RD
17990 {
17991 PyThreadState* __tstate = wxPyBeginAllowThreads();
17992 (arg1)->DrawSunkenEdge(*arg2,(wxRect const &)*arg3,arg4);
17993
17994 wxPyEndAllowThreads(__tstate);
17995 if (PyErr_Occurred()) SWIG_fail;
17996 }
17997 Py_INCREF(Py_None); resultobj = Py_None;
17998 return resultobj;
17999 fail:
18000 return NULL;
18001}
18002
18003
2f4c0a16 18004static PyObject *_wrap_Effects_TileBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18005 PyObject *resultobj;
18006 wxEffects *arg1 = (wxEffects *) 0 ;
18007 wxRect *arg2 = 0 ;
18008 wxDC *arg3 = 0 ;
18009 wxBitmap *arg4 = 0 ;
18010 bool result;
18011 wxRect temp2 ;
18012 PyObject * obj0 = 0 ;
18013 PyObject * obj1 = 0 ;
18014 PyObject * obj2 = 0 ;
18015 PyObject * obj3 = 0 ;
18016 char *kwnames[] = {
18017 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18018 };
18019
18020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Effects_TileBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
18021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
18022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18023 {
18024 arg2 = &temp2;
18025 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
18026 }
2f4c0a16
RD
18027 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
18028 SWIG_POINTER_EXCEPTION | 0)) == -1)
18029 SWIG_fail;
d14a1e28 18030 if (arg3 == NULL) {
2f4c0a16
RD
18031 PyErr_SetString(PyExc_TypeError,"null reference");
18032 SWIG_fail;
d14a1e28 18033 }
2f4c0a16
RD
18034 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
18035 SWIG_POINTER_EXCEPTION | 0)) == -1)
18036 SWIG_fail;
d14a1e28 18037 if (arg4 == NULL) {
2f4c0a16
RD
18038 PyErr_SetString(PyExc_TypeError,"null reference");
18039 SWIG_fail;
d14a1e28
RD
18040 }
18041 {
18042 PyThreadState* __tstate = wxPyBeginAllowThreads();
18043 result = (bool)(arg1)->TileBitmap((wxRect const &)*arg2,*arg3,*arg4);
18044
18045 wxPyEndAllowThreads(__tstate);
18046 if (PyErr_Occurred()) SWIG_fail;
18047 }
02a34c4c 18048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18049 return resultobj;
18050 fail:
18051 return NULL;
18052}
18053
18054
2f4c0a16 18055static PyObject * Effects_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18056 PyObject *obj;
18057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18058 SWIG_TypeClientData(SWIGTYPE_p_wxEffects, obj);
18059 Py_INCREF(obj);
18060 return Py_BuildValue((char *)"");
18061}
18062static PyMethodDef SwigMethods[] = {
2f4c0a16
RD
18063 { (char *)"new_GDIObject", (PyCFunction) _wrap_new_GDIObject, METH_VARARGS | METH_KEYWORDS, NULL },
18064 { (char *)"delete_GDIObject", (PyCFunction) _wrap_delete_GDIObject, METH_VARARGS | METH_KEYWORDS, NULL },
18065 { (char *)"GDIObject_GetVisible", (PyCFunction) _wrap_GDIObject_GetVisible, METH_VARARGS | METH_KEYWORDS, NULL },
18066 { (char *)"GDIObject_SetVisible", (PyCFunction) _wrap_GDIObject_SetVisible, METH_VARARGS | METH_KEYWORDS, NULL },
18067 { (char *)"GDIObject_IsNull", (PyCFunction) _wrap_GDIObject_IsNull, METH_VARARGS | METH_KEYWORDS, NULL },
18068 { (char *)"GDIObject_swigregister", GDIObject_swigregister, METH_VARARGS, NULL },
18069 { (char *)"new_Colour", (PyCFunction) _wrap_new_Colour, METH_VARARGS | METH_KEYWORDS, NULL },
18070 { (char *)"new_NamedColour", (PyCFunction) _wrap_new_NamedColour, METH_VARARGS | METH_KEYWORDS, NULL },
18071 { (char *)"new_ColourRGB", (PyCFunction) _wrap_new_ColourRGB, METH_VARARGS | METH_KEYWORDS, NULL },
18072 { (char *)"delete_Colour", (PyCFunction) _wrap_delete_Colour, METH_VARARGS | METH_KEYWORDS, NULL },
18073 { (char *)"Colour_Red", (PyCFunction) _wrap_Colour_Red, METH_VARARGS | METH_KEYWORDS, NULL },
18074 { (char *)"Colour_Green", (PyCFunction) _wrap_Colour_Green, METH_VARARGS | METH_KEYWORDS, NULL },
18075 { (char *)"Colour_Blue", (PyCFunction) _wrap_Colour_Blue, METH_VARARGS | METH_KEYWORDS, NULL },
18076 { (char *)"Colour_Ok", (PyCFunction) _wrap_Colour_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18077 { (char *)"Colour_Set", (PyCFunction) _wrap_Colour_Set, METH_VARARGS | METH_KEYWORDS, NULL },
18078 { (char *)"Colour_SetRGB", (PyCFunction) _wrap_Colour_SetRGB, METH_VARARGS | METH_KEYWORDS, NULL },
18079 { (char *)"Colour_SetFromName", (PyCFunction) _wrap_Colour_SetFromName, METH_VARARGS | METH_KEYWORDS, NULL },
18080 { (char *)"Colour_GetPixel", (PyCFunction) _wrap_Colour_GetPixel, METH_VARARGS | METH_KEYWORDS, NULL },
18081 { (char *)"Colour___eq__", (PyCFunction) _wrap_Colour___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
18082 { (char *)"Colour___ne__", (PyCFunction) _wrap_Colour___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
18083 { (char *)"Colour_Get", (PyCFunction) _wrap_Colour_Get, METH_VARARGS | METH_KEYWORDS, NULL },
18084 { (char *)"Colour_GetRGB", (PyCFunction) _wrap_Colour_GetRGB, METH_VARARGS | METH_KEYWORDS, NULL },
18085 { (char *)"Colour_swigregister", Colour_swigregister, METH_VARARGS, NULL },
18086 { (char *)"new_Palette", (PyCFunction) _wrap_new_Palette, METH_VARARGS | METH_KEYWORDS, NULL },
18087 { (char *)"delete_Palette", (PyCFunction) _wrap_delete_Palette, METH_VARARGS | METH_KEYWORDS, NULL },
18088 { (char *)"Palette_GetPixel", (PyCFunction) _wrap_Palette_GetPixel, METH_VARARGS | METH_KEYWORDS, NULL },
18089 { (char *)"Palette_GetRGB", (PyCFunction) _wrap_Palette_GetRGB, METH_VARARGS | METH_KEYWORDS, NULL },
18090 { (char *)"Palette_Ok", (PyCFunction) _wrap_Palette_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18091 { (char *)"Palette_swigregister", Palette_swigregister, METH_VARARGS, NULL },
18092 { (char *)"new_Pen", (PyCFunction) _wrap_new_Pen, METH_VARARGS | METH_KEYWORDS, NULL },
18093 { (char *)"delete_Pen", (PyCFunction) _wrap_delete_Pen, METH_VARARGS | METH_KEYWORDS, NULL },
18094 { (char *)"Pen_GetCap", (PyCFunction) _wrap_Pen_GetCap, METH_VARARGS | METH_KEYWORDS, NULL },
18095 { (char *)"Pen_GetColour", (PyCFunction) _wrap_Pen_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
18096 { (char *)"Pen_GetJoin", (PyCFunction) _wrap_Pen_GetJoin, METH_VARARGS | METH_KEYWORDS, NULL },
18097 { (char *)"Pen_GetStyle", (PyCFunction) _wrap_Pen_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
18098 { (char *)"Pen_GetWidth", (PyCFunction) _wrap_Pen_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18099 { (char *)"Pen_Ok", (PyCFunction) _wrap_Pen_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18100 { (char *)"Pen_SetCap", (PyCFunction) _wrap_Pen_SetCap, METH_VARARGS | METH_KEYWORDS, NULL },
18101 { (char *)"Pen_SetColour", (PyCFunction) _wrap_Pen_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
18102 { (char *)"Pen_SetJoin", (PyCFunction) _wrap_Pen_SetJoin, METH_VARARGS | METH_KEYWORDS, NULL },
18103 { (char *)"Pen_SetStyle", (PyCFunction) _wrap_Pen_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
18104 { (char *)"Pen_SetWidth", (PyCFunction) _wrap_Pen_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18105 { (char *)"Pen_SetDashes", (PyCFunction) _wrap_Pen_SetDashes, METH_VARARGS | METH_KEYWORDS, NULL },
18106 { (char *)"Pen_GetDashes", (PyCFunction) _wrap_Pen_GetDashes, METH_VARARGS | METH_KEYWORDS, NULL },
18107 { (char *)"Pen___eq__", (PyCFunction) _wrap_Pen___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
18108 { (char *)"Pen___ne__", (PyCFunction) _wrap_Pen___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
18109 { (char *)"Pen_swigregister", Pen_swigregister, METH_VARARGS, NULL },
18110 { (char *)"new_PyPen", (PyCFunction) _wrap_new_PyPen, METH_VARARGS | METH_KEYWORDS, NULL },
18111 { (char *)"delete_PyPen", (PyCFunction) _wrap_delete_PyPen, METH_VARARGS | METH_KEYWORDS, NULL },
18112 { (char *)"PyPen_SetDashes", (PyCFunction) _wrap_PyPen_SetDashes, METH_VARARGS | METH_KEYWORDS, NULL },
18113 { (char *)"PyPen_swigregister", PyPen_swigregister, METH_VARARGS, NULL },
18114 { (char *)"new_Brush", (PyCFunction) _wrap_new_Brush, METH_VARARGS | METH_KEYWORDS, NULL },
18115 { (char *)"delete_Brush", (PyCFunction) _wrap_delete_Brush, METH_VARARGS | METH_KEYWORDS, NULL },
18116 { (char *)"Brush_SetColour", (PyCFunction) _wrap_Brush_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
18117 { (char *)"Brush_SetStyle", (PyCFunction) _wrap_Brush_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
18118 { (char *)"Brush_SetStipple", (PyCFunction) _wrap_Brush_SetStipple, METH_VARARGS | METH_KEYWORDS, NULL },
18119 { (char *)"Brush_GetColour", (PyCFunction) _wrap_Brush_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
18120 { (char *)"Brush_GetStyle", (PyCFunction) _wrap_Brush_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
18121 { (char *)"Brush_GetStipple", (PyCFunction) _wrap_Brush_GetStipple, METH_VARARGS | METH_KEYWORDS, NULL },
18122 { (char *)"Brush_Ok", (PyCFunction) _wrap_Brush_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18123 { (char *)"Brush_GetMacTheme", (PyCFunction) _wrap_Brush_GetMacTheme, METH_VARARGS | METH_KEYWORDS, NULL },
18124 { (char *)"Brush_SetMacTheme", (PyCFunction) _wrap_Brush_SetMacTheme, METH_VARARGS | METH_KEYWORDS, NULL },
18125 { (char *)"Brush_swigregister", Brush_swigregister, METH_VARARGS, NULL },
18126 { (char *)"new_Bitmap", (PyCFunction) _wrap_new_Bitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18127 { (char *)"delete_Bitmap", (PyCFunction) _wrap_delete_Bitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18128 { (char *)"new_EmptyBitmap", (PyCFunction) _wrap_new_EmptyBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18129 { (char *)"new_BitmapFromIcon", (PyCFunction) _wrap_new_BitmapFromIcon, METH_VARARGS | METH_KEYWORDS, NULL },
18130 { (char *)"new_BitmapFromImage", (PyCFunction) _wrap_new_BitmapFromImage, METH_VARARGS | METH_KEYWORDS, NULL },
18131 { (char *)"new_BitmapFromXPMData", (PyCFunction) _wrap_new_BitmapFromXPMData, METH_VARARGS | METH_KEYWORDS, NULL },
18132 { (char *)"new_BitmapFromBits", (PyCFunction) _wrap_new_BitmapFromBits, METH_VARARGS | METH_KEYWORDS, NULL },
18133 { (char *)"Bitmap_Ok", (PyCFunction) _wrap_Bitmap_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18134 { (char *)"Bitmap_GetWidth", (PyCFunction) _wrap_Bitmap_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18135 { (char *)"Bitmap_GetHeight", (PyCFunction) _wrap_Bitmap_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
18136 { (char *)"Bitmap_GetDepth", (PyCFunction) _wrap_Bitmap_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
18137 { (char *)"Bitmap_ConvertToImage", (PyCFunction) _wrap_Bitmap_ConvertToImage, METH_VARARGS | METH_KEYWORDS, NULL },
18138 { (char *)"Bitmap_GetMask", (PyCFunction) _wrap_Bitmap_GetMask, METH_VARARGS | METH_KEYWORDS, NULL },
18139 { (char *)"Bitmap_SetMask", (PyCFunction) _wrap_Bitmap_SetMask, METH_VARARGS | METH_KEYWORDS, NULL },
18140 { (char *)"Bitmap_SetMaskColour", (PyCFunction) _wrap_Bitmap_SetMaskColour, METH_VARARGS | METH_KEYWORDS, NULL },
18141 { (char *)"Bitmap_GetSubBitmap", (PyCFunction) _wrap_Bitmap_GetSubBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18142 { (char *)"Bitmap_SaveFile", (PyCFunction) _wrap_Bitmap_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL },
18143 { (char *)"Bitmap_LoadFile", (PyCFunction) _wrap_Bitmap_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
18144 { (char *)"Bitmap_CopyFromIcon", (PyCFunction) _wrap_Bitmap_CopyFromIcon, METH_VARARGS | METH_KEYWORDS, NULL },
18145 { (char *)"Bitmap_SetHeight", (PyCFunction) _wrap_Bitmap_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
18146 { (char *)"Bitmap_SetWidth", (PyCFunction) _wrap_Bitmap_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18147 { (char *)"Bitmap_SetDepth", (PyCFunction) _wrap_Bitmap_SetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
ce7284bd
RD
18148 { (char *)"Bitmap___eq__", (PyCFunction) _wrap_Bitmap___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
18149 { (char *)"Bitmap___ne__", (PyCFunction) _wrap_Bitmap___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
2f4c0a16
RD
18150 { (char *)"Bitmap_swigregister", Bitmap_swigregister, METH_VARARGS, NULL },
18151 { (char *)"new_Mask", (PyCFunction) _wrap_new_Mask, METH_VARARGS | METH_KEYWORDS, NULL },
18152 { (char *)"Mask_swigregister", Mask_swigregister, METH_VARARGS, NULL },
18153 { (char *)"new_Icon", (PyCFunction) _wrap_new_Icon, METH_VARARGS | METH_KEYWORDS, NULL },
18154 { (char *)"delete_Icon", (PyCFunction) _wrap_delete_Icon, METH_VARARGS | METH_KEYWORDS, NULL },
18155 { (char *)"new_EmptyIcon", (PyCFunction) _wrap_new_EmptyIcon, METH_VARARGS | METH_KEYWORDS, NULL },
18156 { (char *)"new_IconFromLocation", (PyCFunction) _wrap_new_IconFromLocation, METH_VARARGS | METH_KEYWORDS, NULL },
18157 { (char *)"new_IconFromBitmap", (PyCFunction) _wrap_new_IconFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18158 { (char *)"new_IconFromXPMData", (PyCFunction) _wrap_new_IconFromXPMData, METH_VARARGS | METH_KEYWORDS, NULL },
18159 { (char *)"Icon_Ok", (PyCFunction) _wrap_Icon_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18160 { (char *)"Icon_GetWidth", (PyCFunction) _wrap_Icon_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18161 { (char *)"Icon_GetHeight", (PyCFunction) _wrap_Icon_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
18162 { (char *)"Icon_GetDepth", (PyCFunction) _wrap_Icon_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
18163 { (char *)"Icon_SetWidth", (PyCFunction) _wrap_Icon_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18164 { (char *)"Icon_SetHeight", (PyCFunction) _wrap_Icon_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
18165 { (char *)"Icon_SetDepth", (PyCFunction) _wrap_Icon_SetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
18166 { (char *)"Icon_CopyFromBitmap", (PyCFunction) _wrap_Icon_CopyFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18167 { (char *)"Icon_swigregister", Icon_swigregister, METH_VARARGS, NULL },
18168 { (char *)"new_IconLocation", (PyCFunction) _wrap_new_IconLocation, METH_VARARGS | METH_KEYWORDS, NULL },
18169 { (char *)"delete_IconLocation", (PyCFunction) _wrap_delete_IconLocation, METH_VARARGS | METH_KEYWORDS, NULL },
18170 { (char *)"IconLocation_IsOk", (PyCFunction) _wrap_IconLocation_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
18171 { (char *)"IconLocation_SetFileName", (PyCFunction) _wrap_IconLocation_SetFileName, METH_VARARGS | METH_KEYWORDS, NULL },
18172 { (char *)"IconLocation_GetFileName", (PyCFunction) _wrap_IconLocation_GetFileName, METH_VARARGS | METH_KEYWORDS, NULL },
18173 { (char *)"IconLocation_SetIndex", (PyCFunction) _wrap_IconLocation_SetIndex, METH_VARARGS | METH_KEYWORDS, NULL },
18174 { (char *)"IconLocation_GetIndex", (PyCFunction) _wrap_IconLocation_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL },
18175 { (char *)"IconLocation_swigregister", IconLocation_swigregister, METH_VARARGS, NULL },
18176 { (char *)"new_IconBundle", (PyCFunction) _wrap_new_IconBundle, METH_VARARGS | METH_KEYWORDS, NULL },
18177 { (char *)"new_IconBundleFromFile", (PyCFunction) _wrap_new_IconBundleFromFile, METH_VARARGS | METH_KEYWORDS, NULL },
18178 { (char *)"new_IconBundleFromIcon", (PyCFunction) _wrap_new_IconBundleFromIcon, METH_VARARGS | METH_KEYWORDS, NULL },
18179 { (char *)"delete_IconBundle", (PyCFunction) _wrap_delete_IconBundle, METH_VARARGS | METH_KEYWORDS, NULL },
18180 { (char *)"IconBundle_AddIcon", (PyCFunction) _wrap_IconBundle_AddIcon, METH_VARARGS | METH_KEYWORDS, NULL },
18181 { (char *)"IconBundle_AddIconFromFile", (PyCFunction) _wrap_IconBundle_AddIconFromFile, METH_VARARGS | METH_KEYWORDS, NULL },
18182 { (char *)"IconBundle_GetIcon", (PyCFunction) _wrap_IconBundle_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
18183 { (char *)"IconBundle_swigregister", IconBundle_swigregister, METH_VARARGS, NULL },
18184 { (char *)"new_Cursor", (PyCFunction) _wrap_new_Cursor, METH_VARARGS | METH_KEYWORDS, NULL },
18185 { (char *)"delete_Cursor", (PyCFunction) _wrap_delete_Cursor, METH_VARARGS | METH_KEYWORDS, NULL },
18186 { (char *)"new_StockCursor", (PyCFunction) _wrap_new_StockCursor, METH_VARARGS | METH_KEYWORDS, NULL },
18187 { (char *)"new_CursorFromImage", (PyCFunction) _wrap_new_CursorFromImage, METH_VARARGS | METH_KEYWORDS, NULL },
18188 { (char *)"Cursor_Ok", (PyCFunction) _wrap_Cursor_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18189 { (char *)"Cursor_swigregister", Cursor_swigregister, METH_VARARGS, NULL },
18190 { (char *)"new_Region", (PyCFunction) _wrap_new_Region, METH_VARARGS | METH_KEYWORDS, NULL },
18191 { (char *)"new_RegionFromBitmap", (PyCFunction) _wrap_new_RegionFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18192 { (char *)"new_RegionFromPoints", (PyCFunction) _wrap_new_RegionFromPoints, METH_VARARGS | METH_KEYWORDS, NULL },
18193 { (char *)"delete_Region", (PyCFunction) _wrap_delete_Region, METH_VARARGS | METH_KEYWORDS, NULL },
18194 { (char *)"Region_Clear", (PyCFunction) _wrap_Region_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
18195 { (char *)"Region_Contains", (PyCFunction) _wrap_Region_Contains, METH_VARARGS | METH_KEYWORDS, NULL },
18196 { (char *)"Region_ContainsPoint", (PyCFunction) _wrap_Region_ContainsPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18197 { (char *)"Region_ContainsRect", (PyCFunction) _wrap_Region_ContainsRect, METH_VARARGS | METH_KEYWORDS, NULL },
18198 { (char *)"Region_ContainsRectDim", (PyCFunction) _wrap_Region_ContainsRectDim, METH_VARARGS | METH_KEYWORDS, NULL },
18199 { (char *)"Region_GetBox", (PyCFunction) _wrap_Region_GetBox, METH_VARARGS | METH_KEYWORDS, NULL },
18200 { (char *)"Region_Intersect", (PyCFunction) _wrap_Region_Intersect, METH_VARARGS | METH_KEYWORDS, NULL },
18201 { (char *)"Region_IntersectRect", (PyCFunction) _wrap_Region_IntersectRect, METH_VARARGS | METH_KEYWORDS, NULL },
18202 { (char *)"Region_IntersectRegion", (PyCFunction) _wrap_Region_IntersectRegion, METH_VARARGS | METH_KEYWORDS, NULL },
18203 { (char *)"Region_IsEmpty", (PyCFunction) _wrap_Region_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL },
18204 { (char *)"Region_Union", (PyCFunction) _wrap_Region_Union, METH_VARARGS | METH_KEYWORDS, NULL },
18205 { (char *)"Region_UnionRect", (PyCFunction) _wrap_Region_UnionRect, METH_VARARGS | METH_KEYWORDS, NULL },
18206 { (char *)"Region_UnionRegion", (PyCFunction) _wrap_Region_UnionRegion, METH_VARARGS | METH_KEYWORDS, NULL },
18207 { (char *)"Region_Subtract", (PyCFunction) _wrap_Region_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
18208 { (char *)"Region_SubtractRect", (PyCFunction) _wrap_Region_SubtractRect, METH_VARARGS | METH_KEYWORDS, NULL },
18209 { (char *)"Region_SubtractRegion", (PyCFunction) _wrap_Region_SubtractRegion, METH_VARARGS | METH_KEYWORDS, NULL },
18210 { (char *)"Region_Xor", (PyCFunction) _wrap_Region_Xor, METH_VARARGS | METH_KEYWORDS, NULL },
18211 { (char *)"Region_XorRect", (PyCFunction) _wrap_Region_XorRect, METH_VARARGS | METH_KEYWORDS, NULL },
18212 { (char *)"Region_XorRegion", (PyCFunction) _wrap_Region_XorRegion, METH_VARARGS | METH_KEYWORDS, NULL },
18213 { (char *)"Region_ConvertToBitmap", (PyCFunction) _wrap_Region_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18214 { (char *)"Region_UnionBitmap", (PyCFunction) _wrap_Region_UnionBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18215 { (char *)"Region_swigregister", Region_swigregister, METH_VARARGS, NULL },
18216 { (char *)"new_RegionIterator", (PyCFunction) _wrap_new_RegionIterator, METH_VARARGS | METH_KEYWORDS, NULL },
18217 { (char *)"delete_RegionIterator", (PyCFunction) _wrap_delete_RegionIterator, METH_VARARGS | METH_KEYWORDS, NULL },
18218 { (char *)"RegionIterator_GetX", (PyCFunction) _wrap_RegionIterator_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
18219 { (char *)"RegionIterator_GetY", (PyCFunction) _wrap_RegionIterator_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
18220 { (char *)"RegionIterator_GetW", (PyCFunction) _wrap_RegionIterator_GetW, METH_VARARGS | METH_KEYWORDS, NULL },
18221 { (char *)"RegionIterator_GetWidth", (PyCFunction) _wrap_RegionIterator_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18222 { (char *)"RegionIterator_GetH", (PyCFunction) _wrap_RegionIterator_GetH, METH_VARARGS | METH_KEYWORDS, NULL },
18223 { (char *)"RegionIterator_GetHeight", (PyCFunction) _wrap_RegionIterator_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
18224 { (char *)"RegionIterator_GetRect", (PyCFunction) _wrap_RegionIterator_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
18225 { (char *)"RegionIterator_HaveRects", (PyCFunction) _wrap_RegionIterator_HaveRects, METH_VARARGS | METH_KEYWORDS, NULL },
18226 { (char *)"RegionIterator_Reset", (PyCFunction) _wrap_RegionIterator_Reset, METH_VARARGS | METH_KEYWORDS, NULL },
18227 { (char *)"RegionIterator_Next", (PyCFunction) _wrap_RegionIterator_Next, METH_VARARGS | METH_KEYWORDS, NULL },
18228 { (char *)"RegionIterator___nonzero__", (PyCFunction) _wrap_RegionIterator___nonzero__, METH_VARARGS | METH_KEYWORDS, NULL },
18229 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister, METH_VARARGS, NULL },
18230 { (char *)"new_NativeFontInfo", (PyCFunction) _wrap_new_NativeFontInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18231 { (char *)"delete_NativeFontInfo", (PyCFunction) _wrap_delete_NativeFontInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18232 { (char *)"NativeFontInfo_Init", (PyCFunction) _wrap_NativeFontInfo_Init, METH_VARARGS | METH_KEYWORDS, NULL },
18233 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction) _wrap_NativeFontInfo_InitFromFont, METH_VARARGS | METH_KEYWORDS, NULL },
18234 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction) _wrap_NativeFontInfo_GetPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
18235 { (char *)"NativeFontInfo_GetStyle", (PyCFunction) _wrap_NativeFontInfo_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
18236 { (char *)"NativeFontInfo_GetWeight", (PyCFunction) _wrap_NativeFontInfo_GetWeight, METH_VARARGS | METH_KEYWORDS, NULL },
18237 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction) _wrap_NativeFontInfo_GetUnderlined, METH_VARARGS | METH_KEYWORDS, NULL },
18238 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction) _wrap_NativeFontInfo_GetFaceName, METH_VARARGS | METH_KEYWORDS, NULL },
18239 { (char *)"NativeFontInfo_GetFamily", (PyCFunction) _wrap_NativeFontInfo_GetFamily, METH_VARARGS | METH_KEYWORDS, NULL },
18240 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction) _wrap_NativeFontInfo_GetEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18241 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction) _wrap_NativeFontInfo_SetPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
18242 { (char *)"NativeFontInfo_SetStyle", (PyCFunction) _wrap_NativeFontInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
18243 { (char *)"NativeFontInfo_SetWeight", (PyCFunction) _wrap_NativeFontInfo_SetWeight, METH_VARARGS | METH_KEYWORDS, NULL },
18244 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction) _wrap_NativeFontInfo_SetUnderlined, METH_VARARGS | METH_KEYWORDS, NULL },
18245 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction) _wrap_NativeFontInfo_SetFaceName, METH_VARARGS | METH_KEYWORDS, NULL },
18246 { (char *)"NativeFontInfo_SetFamily", (PyCFunction) _wrap_NativeFontInfo_SetFamily, METH_VARARGS | METH_KEYWORDS, NULL },
18247 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction) _wrap_NativeFontInfo_SetEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18248 { (char *)"NativeFontInfo_FromString", (PyCFunction) _wrap_NativeFontInfo_FromString, METH_VARARGS | METH_KEYWORDS, NULL },
18249 { (char *)"NativeFontInfo_ToString", (PyCFunction) _wrap_NativeFontInfo_ToString, METH_VARARGS | METH_KEYWORDS, NULL },
18250 { (char *)"NativeFontInfo___str__", (PyCFunction) _wrap_NativeFontInfo___str__, METH_VARARGS | METH_KEYWORDS, NULL },
18251 { (char *)"NativeFontInfo_FromUserString", (PyCFunction) _wrap_NativeFontInfo_FromUserString, METH_VARARGS | METH_KEYWORDS, NULL },
18252 { (char *)"NativeFontInfo_ToUserString", (PyCFunction) _wrap_NativeFontInfo_ToUserString, METH_VARARGS | METH_KEYWORDS, NULL },
18253 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister, METH_VARARGS, NULL },
18254 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction) _wrap_NativeEncodingInfo_facename_set, METH_VARARGS | METH_KEYWORDS, NULL },
18255 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction) _wrap_NativeEncodingInfo_facename_get, METH_VARARGS | METH_KEYWORDS, NULL },
18256 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction) _wrap_NativeEncodingInfo_encoding_set, METH_VARARGS | METH_KEYWORDS, NULL },
18257 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction) _wrap_NativeEncodingInfo_encoding_get, METH_VARARGS | METH_KEYWORDS, NULL },
18258 { (char *)"new_NativeEncodingInfo", (PyCFunction) _wrap_new_NativeEncodingInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18259 { (char *)"delete_NativeEncodingInfo", (PyCFunction) _wrap_delete_NativeEncodingInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18260 { (char *)"NativeEncodingInfo_FromString", (PyCFunction) _wrap_NativeEncodingInfo_FromString, METH_VARARGS | METH_KEYWORDS, NULL },
18261 { (char *)"NativeEncodingInfo_ToString", (PyCFunction) _wrap_NativeEncodingInfo_ToString, METH_VARARGS | METH_KEYWORDS, NULL },
18262 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister, METH_VARARGS, NULL },
18263 { (char *)"GetNativeFontEncoding", (PyCFunction) _wrap_GetNativeFontEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18264 { (char *)"TestFontEncoding", (PyCFunction) _wrap_TestFontEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18265 { (char *)"new_FontMapper", (PyCFunction) _wrap_new_FontMapper, METH_VARARGS | METH_KEYWORDS, NULL },
18266 { (char *)"delete_FontMapper", (PyCFunction) _wrap_delete_FontMapper, METH_VARARGS | METH_KEYWORDS, NULL },
18267 { (char *)"FontMapper_Get", (PyCFunction) _wrap_FontMapper_Get, METH_VARARGS | METH_KEYWORDS, NULL },
18268 { (char *)"FontMapper_Set", (PyCFunction) _wrap_FontMapper_Set, METH_VARARGS | METH_KEYWORDS, NULL },
18269 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction) _wrap_FontMapper_CharsetToEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18270 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction) _wrap_FontMapper_GetSupportedEncodingsCount, METH_VARARGS | METH_KEYWORDS, NULL },
18271 { (char *)"FontMapper_GetEncoding", (PyCFunction) _wrap_FontMapper_GetEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18272 { (char *)"FontMapper_GetEncodingName", (PyCFunction) _wrap_FontMapper_GetEncodingName, METH_VARARGS | METH_KEYWORDS, NULL },
18273 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction) _wrap_FontMapper_GetEncodingDescription, METH_VARARGS | METH_KEYWORDS, NULL },
18274 { (char *)"FontMapper_SetConfig", (PyCFunction) _wrap_FontMapper_SetConfig, METH_VARARGS | METH_KEYWORDS, NULL },
18275 { (char *)"FontMapper_SetConfigPath", (PyCFunction) _wrap_FontMapper_SetConfigPath, METH_VARARGS | METH_KEYWORDS, NULL },
18276 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction) _wrap_FontMapper_GetDefaultConfigPath, METH_VARARGS | METH_KEYWORDS, NULL },
18277 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction) _wrap_FontMapper_GetAltForEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18278 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction) _wrap_FontMapper_IsEncodingAvailable, METH_VARARGS | METH_KEYWORDS, NULL },
18279 { (char *)"FontMapper_SetDialogParent", (PyCFunction) _wrap_FontMapper_SetDialogParent, METH_VARARGS | METH_KEYWORDS, NULL },
18280 { (char *)"FontMapper_SetDialogTitle", (PyCFunction) _wrap_FontMapper_SetDialogTitle, METH_VARARGS | METH_KEYWORDS, NULL },
18281 { (char *)"FontMapper_swigregister", FontMapper_swigregister, METH_VARARGS, NULL },
18282 { (char *)"new_Font", (PyCFunction) _wrap_new_Font, METH_VARARGS | METH_KEYWORDS, NULL },
18283 { (char *)"delete_Font", (PyCFunction) _wrap_delete_Font, METH_VARARGS | METH_KEYWORDS, NULL },
18284 { (char *)"new_FontFromNativeInfo", (PyCFunction) _wrap_new_FontFromNativeInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18285 { (char *)"new_FontFromNativeInfoString", (PyCFunction) _wrap_new_FontFromNativeInfoString, METH_VARARGS | METH_KEYWORDS, NULL },
18286 { (char *)"new_Font2", (PyCFunction) _wrap_new_Font2, METH_VARARGS | METH_KEYWORDS, NULL },
18287 { (char *)"Font_Ok", (PyCFunction) _wrap_Font_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18288 { (char *)"Font___eq__", (PyCFunction) _wrap_Font___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
18289 { (char *)"Font___ne__", (PyCFunction) _wrap_Font___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
18290 { (char *)"Font_GetPointSize", (PyCFunction) _wrap_Font_GetPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
18291 { (char *)"Font_GetFamily", (PyCFunction) _wrap_Font_GetFamily, METH_VARARGS | METH_KEYWORDS, NULL },
18292 { (char *)"Font_GetStyle", (PyCFunction) _wrap_Font_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
18293 { (char *)"Font_GetWeight", (PyCFunction) _wrap_Font_GetWeight, METH_VARARGS | METH_KEYWORDS, NULL },
18294 { (char *)"Font_GetUnderlined", (PyCFunction) _wrap_Font_GetUnderlined, METH_VARARGS | METH_KEYWORDS, NULL },
18295 { (char *)"Font_GetFaceName", (PyCFunction) _wrap_Font_GetFaceName, METH_VARARGS | METH_KEYWORDS, NULL },
18296 { (char *)"Font_GetEncoding", (PyCFunction) _wrap_Font_GetEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18297 { (char *)"Font_GetNativeFontInfo", (PyCFunction) _wrap_Font_GetNativeFontInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18298 { (char *)"Font_IsFixedWidth", (PyCFunction) _wrap_Font_IsFixedWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18299 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction) _wrap_Font_GetNativeFontInfoDesc, METH_VARARGS | METH_KEYWORDS, NULL },
18300 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction) _wrap_Font_GetNativeFontInfoUserDesc, METH_VARARGS | METH_KEYWORDS, NULL },
18301 { (char *)"Font_SetPointSize", (PyCFunction) _wrap_Font_SetPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
18302 { (char *)"Font_SetFamily", (PyCFunction) _wrap_Font_SetFamily, METH_VARARGS | METH_KEYWORDS, NULL },
18303 { (char *)"Font_SetStyle", (PyCFunction) _wrap_Font_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
18304 { (char *)"Font_SetWeight", (PyCFunction) _wrap_Font_SetWeight, METH_VARARGS | METH_KEYWORDS, NULL },
18305 { (char *)"Font_SetFaceName", (PyCFunction) _wrap_Font_SetFaceName, METH_VARARGS | METH_KEYWORDS, NULL },
18306 { (char *)"Font_SetUnderlined", (PyCFunction) _wrap_Font_SetUnderlined, METH_VARARGS | METH_KEYWORDS, NULL },
18307 { (char *)"Font_SetEncoding", (PyCFunction) _wrap_Font_SetEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18308 { (char *)"Font_SetNativeFontInfo", (PyCFunction) _wrap_Font_SetNativeFontInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18309 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction) _wrap_Font_SetNativeFontInfoFromString, METH_VARARGS | METH_KEYWORDS, NULL },
18310 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction) _wrap_Font_SetNativeFontInfoUserDesc, METH_VARARGS | METH_KEYWORDS, NULL },
18311 { (char *)"Font_GetFamilyString", (PyCFunction) _wrap_Font_GetFamilyString, METH_VARARGS | METH_KEYWORDS, NULL },
18312 { (char *)"Font_GetStyleString", (PyCFunction) _wrap_Font_GetStyleString, METH_VARARGS | METH_KEYWORDS, NULL },
18313 { (char *)"Font_GetWeightString", (PyCFunction) _wrap_Font_GetWeightString, METH_VARARGS | METH_KEYWORDS, NULL },
18314 { (char *)"Font_SetNoAntiAliasing", (PyCFunction) _wrap_Font_SetNoAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL },
18315 { (char *)"Font_GetNoAntiAliasing", (PyCFunction) _wrap_Font_GetNoAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL },
18316 { (char *)"Font_GetDefaultEncoding", (PyCFunction) _wrap_Font_GetDefaultEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18317 { (char *)"Font_SetDefaultEncoding", (PyCFunction) _wrap_Font_SetDefaultEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18318 { (char *)"Font_swigregister", Font_swigregister, METH_VARARGS, NULL },
18319 { (char *)"new_FontEnumerator", (PyCFunction) _wrap_new_FontEnumerator, METH_VARARGS | METH_KEYWORDS, NULL },
18320 { (char *)"delete_FontEnumerator", (PyCFunction) _wrap_delete_FontEnumerator, METH_VARARGS | METH_KEYWORDS, NULL },
18321 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction) _wrap_FontEnumerator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18322 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction) _wrap_FontEnumerator_EnumerateFacenames, METH_VARARGS | METH_KEYWORDS, NULL },
18323 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction) _wrap_FontEnumerator_EnumerateEncodings, METH_VARARGS | METH_KEYWORDS, NULL },
18324 { (char *)"FontEnumerator_GetEncodings", (PyCFunction) _wrap_FontEnumerator_GetEncodings, METH_VARARGS | METH_KEYWORDS, NULL },
18325 { (char *)"FontEnumerator_GetFacenames", (PyCFunction) _wrap_FontEnumerator_GetFacenames, METH_VARARGS | METH_KEYWORDS, NULL },
18326 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister, METH_VARARGS, NULL },
18327 { (char *)"LanguageInfo_Language_set", (PyCFunction) _wrap_LanguageInfo_Language_set, METH_VARARGS | METH_KEYWORDS, NULL },
18328 { (char *)"LanguageInfo_Language_get", (PyCFunction) _wrap_LanguageInfo_Language_get, METH_VARARGS | METH_KEYWORDS, NULL },
18329 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction) _wrap_LanguageInfo_CanonicalName_set, METH_VARARGS | METH_KEYWORDS, NULL },
18330 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction) _wrap_LanguageInfo_CanonicalName_get, METH_VARARGS | METH_KEYWORDS, NULL },
18331 { (char *)"LanguageInfo_Description_set", (PyCFunction) _wrap_LanguageInfo_Description_set, METH_VARARGS | METH_KEYWORDS, NULL },
18332 { (char *)"LanguageInfo_Description_get", (PyCFunction) _wrap_LanguageInfo_Description_get, METH_VARARGS | METH_KEYWORDS, NULL },
18333 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister, METH_VARARGS, NULL },
18334 { (char *)"new_Locale", (PyCFunction) _wrap_new_Locale, METH_VARARGS | METH_KEYWORDS, NULL },
18335 { (char *)"delete_Locale", (PyCFunction) _wrap_delete_Locale, METH_VARARGS | METH_KEYWORDS, NULL },
18336 { (char *)"Locale_Init1", (PyCFunction) _wrap_Locale_Init1, METH_VARARGS | METH_KEYWORDS, NULL },
18337 { (char *)"Locale_Init2", (PyCFunction) _wrap_Locale_Init2, METH_VARARGS | METH_KEYWORDS, NULL },
18338 { (char *)"Locale_GetSystemLanguage", (PyCFunction) _wrap_Locale_GetSystemLanguage, METH_VARARGS | METH_KEYWORDS, NULL },
18339 { (char *)"Locale_GetSystemEncoding", (PyCFunction) _wrap_Locale_GetSystemEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
18340 { (char *)"Locale_GetSystemEncodingName", (PyCFunction) _wrap_Locale_GetSystemEncodingName, METH_VARARGS | METH_KEYWORDS, NULL },
18341 { (char *)"Locale_IsOk", (PyCFunction) _wrap_Locale_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
18342 { (char *)"Locale_GetLocale", (PyCFunction) _wrap_Locale_GetLocale, METH_VARARGS | METH_KEYWORDS, NULL },
18343 { (char *)"Locale_GetLanguage", (PyCFunction) _wrap_Locale_GetLanguage, METH_VARARGS | METH_KEYWORDS, NULL },
18344 { (char *)"Locale_GetSysName", (PyCFunction) _wrap_Locale_GetSysName, METH_VARARGS | METH_KEYWORDS, NULL },
18345 { (char *)"Locale_GetCanonicalName", (PyCFunction) _wrap_Locale_GetCanonicalName, METH_VARARGS | METH_KEYWORDS, NULL },
18346 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction) _wrap_Locale_AddCatalogLookupPathPrefix, METH_VARARGS | METH_KEYWORDS, NULL },
18347 { (char *)"Locale_AddCatalog", (PyCFunction) _wrap_Locale_AddCatalog, METH_VARARGS | METH_KEYWORDS, NULL },
18348 { (char *)"Locale_IsLoaded", (PyCFunction) _wrap_Locale_IsLoaded, METH_VARARGS | METH_KEYWORDS, NULL },
18349 { (char *)"Locale_GetLanguageInfo", (PyCFunction) _wrap_Locale_GetLanguageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18350 { (char *)"Locale_GetLanguageName", (PyCFunction) _wrap_Locale_GetLanguageName, METH_VARARGS | METH_KEYWORDS, NULL },
18351 { (char *)"Locale_FindLanguageInfo", (PyCFunction) _wrap_Locale_FindLanguageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
18352 { (char *)"Locale_AddLanguage", (PyCFunction) _wrap_Locale_AddLanguage, METH_VARARGS | METH_KEYWORDS, NULL },
18353 { (char *)"Locale_GetString", (PyCFunction) _wrap_Locale_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
18354 { (char *)"Locale_GetName", (PyCFunction) _wrap_Locale_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
18355 { (char *)"Locale_swigregister", Locale_swigregister, METH_VARARGS, NULL },
18356 { (char *)"GetLocale", (PyCFunction) _wrap_GetLocale, METH_VARARGS | METH_KEYWORDS, NULL },
18357 { (char *)"GetTranslation", _wrap_GetTranslation, METH_VARARGS, NULL },
18358 { (char *)"new_EncodingConverter", (PyCFunction) _wrap_new_EncodingConverter, METH_VARARGS | METH_KEYWORDS, NULL },
18359 { (char *)"delete_EncodingConverter", (PyCFunction) _wrap_delete_EncodingConverter, METH_VARARGS | METH_KEYWORDS, NULL },
18360 { (char *)"EncodingConverter_Init", (PyCFunction) _wrap_EncodingConverter_Init, METH_VARARGS | METH_KEYWORDS, NULL },
18361 { (char *)"EncodingConverter_Convert", (PyCFunction) _wrap_EncodingConverter_Convert, METH_VARARGS | METH_KEYWORDS, NULL },
18362 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction) _wrap_EncodingConverter_GetPlatformEquivalents, METH_VARARGS | METH_KEYWORDS, NULL },
18363 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction) _wrap_EncodingConverter_GetAllEquivalents, METH_VARARGS | METH_KEYWORDS, NULL },
18364 { (char *)"EncodingConverter_CanConvert", (PyCFunction) _wrap_EncodingConverter_CanConvert, METH_VARARGS | METH_KEYWORDS, NULL },
18365 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister, METH_VARARGS, NULL },
18366 { (char *)"delete_DC", (PyCFunction) _wrap_delete_DC, METH_VARARGS | METH_KEYWORDS, NULL },
18367 { (char *)"DC_BeginDrawing", (PyCFunction) _wrap_DC_BeginDrawing, METH_VARARGS | METH_KEYWORDS, NULL },
18368 { (char *)"DC_EndDrawing", (PyCFunction) _wrap_DC_EndDrawing, METH_VARARGS | METH_KEYWORDS, NULL },
18369 { (char *)"DC_FloodFillXY", (PyCFunction) _wrap_DC_FloodFillXY, METH_VARARGS | METH_KEYWORDS, NULL },
18370 { (char *)"DC_FloodFill", (PyCFunction) _wrap_DC_FloodFill, METH_VARARGS | METH_KEYWORDS, NULL },
18371 { (char *)"DC_GetPixelXY", (PyCFunction) _wrap_DC_GetPixelXY, METH_VARARGS | METH_KEYWORDS, NULL },
18372 { (char *)"DC_GetPixel", (PyCFunction) _wrap_DC_GetPixel, METH_VARARGS | METH_KEYWORDS, NULL },
18373 { (char *)"DC_DrawLineXY", (PyCFunction) _wrap_DC_DrawLineXY, METH_VARARGS | METH_KEYWORDS, NULL },
18374 { (char *)"DC_DrawLine", (PyCFunction) _wrap_DC_DrawLine, METH_VARARGS | METH_KEYWORDS, NULL },
18375 { (char *)"DC_CrossHairXY", (PyCFunction) _wrap_DC_CrossHairXY, METH_VARARGS | METH_KEYWORDS, NULL },
18376 { (char *)"DC_CrossHair", (PyCFunction) _wrap_DC_CrossHair, METH_VARARGS | METH_KEYWORDS, NULL },
18377 { (char *)"DC_DrawArcXY", (PyCFunction) _wrap_DC_DrawArcXY, METH_VARARGS | METH_KEYWORDS, NULL },
18378 { (char *)"DC_DrawArc", (PyCFunction) _wrap_DC_DrawArc, METH_VARARGS | METH_KEYWORDS, NULL },
18379 { (char *)"DC_DrawCheckMarkXY", (PyCFunction) _wrap_DC_DrawCheckMarkXY, METH_VARARGS | METH_KEYWORDS, NULL },
18380 { (char *)"DC_DrawCheckMark", (PyCFunction) _wrap_DC_DrawCheckMark, METH_VARARGS | METH_KEYWORDS, NULL },
18381 { (char *)"DC_DrawEllipticArcXY", (PyCFunction) _wrap_DC_DrawEllipticArcXY, METH_VARARGS | METH_KEYWORDS, NULL },
18382 { (char *)"DC_DrawEllipticArc", (PyCFunction) _wrap_DC_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS, NULL },
18383 { (char *)"DC_DrawPointXY", (PyCFunction) _wrap_DC_DrawPointXY, METH_VARARGS | METH_KEYWORDS, NULL },
18384 { (char *)"DC_DrawPoint", (PyCFunction) _wrap_DC_DrawPoint, METH_VARARGS | METH_KEYWORDS, NULL },
18385 { (char *)"DC_DrawRectangleXY", (PyCFunction) _wrap_DC_DrawRectangleXY, METH_VARARGS | METH_KEYWORDS, NULL },
18386 { (char *)"DC_DrawRectangle", (PyCFunction) _wrap_DC_DrawRectangle, METH_VARARGS | METH_KEYWORDS, NULL },
18387 { (char *)"DC_DrawRectangleRect", (PyCFunction) _wrap_DC_DrawRectangleRect, METH_VARARGS | METH_KEYWORDS, NULL },
18388 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction) _wrap_DC_DrawRoundedRectangleXY, METH_VARARGS | METH_KEYWORDS, NULL },
18389 { (char *)"DC_DrawRoundedRectangle", (PyCFunction) _wrap_DC_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS, NULL },
18390 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction) _wrap_DC_DrawRoundedRectangleRect, METH_VARARGS | METH_KEYWORDS, NULL },
18391 { (char *)"DC_DrawCircleXY", (PyCFunction) _wrap_DC_DrawCircleXY, METH_VARARGS | METH_KEYWORDS, NULL },
18392 { (char *)"DC_DrawCircle", (PyCFunction) _wrap_DC_DrawCircle, METH_VARARGS | METH_KEYWORDS, NULL },
18393 { (char *)"DC_DrawEllipseXY", (PyCFunction) _wrap_DC_DrawEllipseXY, METH_VARARGS | METH_KEYWORDS, NULL },
18394 { (char *)"DC_DrawEllipse", (PyCFunction) _wrap_DC_DrawEllipse, METH_VARARGS | METH_KEYWORDS, NULL },
18395 { (char *)"DC_DrawEllipseRect", (PyCFunction) _wrap_DC_DrawEllipseRect, METH_VARARGS | METH_KEYWORDS, NULL },
18396 { (char *)"DC_DrawIconXY", (PyCFunction) _wrap_DC_DrawIconXY, METH_VARARGS | METH_KEYWORDS, NULL },
18397 { (char *)"DC_DrawIcon", (PyCFunction) _wrap_DC_DrawIcon, METH_VARARGS | METH_KEYWORDS, NULL },
18398 { (char *)"DC_DrawBitmapXY", (PyCFunction) _wrap_DC_DrawBitmapXY, METH_VARARGS | METH_KEYWORDS, NULL },
18399 { (char *)"DC_DrawBitmap", (PyCFunction) _wrap_DC_DrawBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18400 { (char *)"DC_DrawTextXY", (PyCFunction) _wrap_DC_DrawTextXY, METH_VARARGS | METH_KEYWORDS, NULL },
18401 { (char *)"DC_DrawText", (PyCFunction) _wrap_DC_DrawText, METH_VARARGS | METH_KEYWORDS, NULL },
18402 { (char *)"DC_DrawRotatedTextXY", (PyCFunction) _wrap_DC_DrawRotatedTextXY, METH_VARARGS | METH_KEYWORDS, NULL },
18403 { (char *)"DC_DrawRotatedText", (PyCFunction) _wrap_DC_DrawRotatedText, METH_VARARGS | METH_KEYWORDS, NULL },
18404 { (char *)"DC_BlitXY", (PyCFunction) _wrap_DC_BlitXY, METH_VARARGS | METH_KEYWORDS, NULL },
18405 { (char *)"DC_Blit", (PyCFunction) _wrap_DC_Blit, METH_VARARGS | METH_KEYWORDS, NULL },
18406 { (char *)"DC_DrawLines", (PyCFunction) _wrap_DC_DrawLines, METH_VARARGS | METH_KEYWORDS, NULL },
18407 { (char *)"DC_DrawPolygon", (PyCFunction) _wrap_DC_DrawPolygon, METH_VARARGS | METH_KEYWORDS, NULL },
18408 { (char *)"DC_DrawLabel", (PyCFunction) _wrap_DC_DrawLabel, METH_VARARGS | METH_KEYWORDS, NULL },
18409 { (char *)"DC_DrawImageLabel", (PyCFunction) _wrap_DC_DrawImageLabel, METH_VARARGS | METH_KEYWORDS, NULL },
18410 { (char *)"DC_DrawSpline", (PyCFunction) _wrap_DC_DrawSpline, METH_VARARGS | METH_KEYWORDS, NULL },
18411 { (char *)"DC_Clear", (PyCFunction) _wrap_DC_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
18412 { (char *)"DC_StartDoc", (PyCFunction) _wrap_DC_StartDoc, METH_VARARGS | METH_KEYWORDS, NULL },
18413 { (char *)"DC_EndDoc", (PyCFunction) _wrap_DC_EndDoc, METH_VARARGS | METH_KEYWORDS, NULL },
18414 { (char *)"DC_StartPage", (PyCFunction) _wrap_DC_StartPage, METH_VARARGS | METH_KEYWORDS, NULL },
18415 { (char *)"DC_EndPage", (PyCFunction) _wrap_DC_EndPage, METH_VARARGS | METH_KEYWORDS, NULL },
18416 { (char *)"DC_SetFont", (PyCFunction) _wrap_DC_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
18417 { (char *)"DC_SetPen", (PyCFunction) _wrap_DC_SetPen, METH_VARARGS | METH_KEYWORDS, NULL },
18418 { (char *)"DC_SetBrush", (PyCFunction) _wrap_DC_SetBrush, METH_VARARGS | METH_KEYWORDS, NULL },
18419 { (char *)"DC_SetBackground", (PyCFunction) _wrap_DC_SetBackground, METH_VARARGS | METH_KEYWORDS, NULL },
18420 { (char *)"DC_SetBackgroundMode", (PyCFunction) _wrap_DC_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS, NULL },
18421 { (char *)"DC_SetPalette", (PyCFunction) _wrap_DC_SetPalette, METH_VARARGS | METH_KEYWORDS, NULL },
18422 { (char *)"DC_SetClippingRegionXY", (PyCFunction) _wrap_DC_SetClippingRegionXY, METH_VARARGS | METH_KEYWORDS, NULL },
18423 { (char *)"DC_SetClippingRegion", (PyCFunction) _wrap_DC_SetClippingRegion, METH_VARARGS | METH_KEYWORDS, NULL },
18424 { (char *)"DC_SetClippingRect", (PyCFunction) _wrap_DC_SetClippingRect, METH_VARARGS | METH_KEYWORDS, NULL },
18425 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction) _wrap_DC_SetClippingRegionAsRegion, METH_VARARGS | METH_KEYWORDS, NULL },
18426 { (char *)"DC_DestroyClippingRegion", (PyCFunction) _wrap_DC_DestroyClippingRegion, METH_VARARGS | METH_KEYWORDS, NULL },
18427 { (char *)"DC_GetClippingBox", (PyCFunction) _wrap_DC_GetClippingBox, METH_VARARGS | METH_KEYWORDS, NULL },
18428 { (char *)"DC_GetClippingRect", (PyCFunction) _wrap_DC_GetClippingRect, METH_VARARGS | METH_KEYWORDS, NULL },
18429 { (char *)"DC_GetCharHeight", (PyCFunction) _wrap_DC_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL },
18430 { (char *)"DC_GetCharWidth", (PyCFunction) _wrap_DC_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18431 { (char *)"DC_GetTextExtent", (PyCFunction) _wrap_DC_GetTextExtent, METH_VARARGS | METH_KEYWORDS, NULL },
18432 { (char *)"DC_GetFullTextExtent", (PyCFunction) _wrap_DC_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS, NULL },
18433 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction) _wrap_DC_GetMultiLineTextExtent, METH_VARARGS | METH_KEYWORDS, NULL },
18434 { (char *)"DC_GetPartialTextExtents", (PyCFunction) _wrap_DC_GetPartialTextExtents, METH_VARARGS | METH_KEYWORDS, NULL },
18435 { (char *)"DC_GetSize", (PyCFunction) _wrap_DC_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
18436 { (char *)"DC_GetSizeTuple", (PyCFunction) _wrap_DC_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
18437 { (char *)"DC_GetSizeMM", (PyCFunction) _wrap_DC_GetSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
18438 { (char *)"DC_GetSizeMMTuple", (PyCFunction) _wrap_DC_GetSizeMMTuple, METH_VARARGS | METH_KEYWORDS, NULL },
18439 { (char *)"DC_DeviceToLogicalX", (PyCFunction) _wrap_DC_DeviceToLogicalX, METH_VARARGS | METH_KEYWORDS, NULL },
18440 { (char *)"DC_DeviceToLogicalY", (PyCFunction) _wrap_DC_DeviceToLogicalY, METH_VARARGS | METH_KEYWORDS, NULL },
18441 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction) _wrap_DC_DeviceToLogicalXRel, METH_VARARGS | METH_KEYWORDS, NULL },
18442 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction) _wrap_DC_DeviceToLogicalYRel, METH_VARARGS | METH_KEYWORDS, NULL },
18443 { (char *)"DC_LogicalToDeviceX", (PyCFunction) _wrap_DC_LogicalToDeviceX, METH_VARARGS | METH_KEYWORDS, NULL },
18444 { (char *)"DC_LogicalToDeviceY", (PyCFunction) _wrap_DC_LogicalToDeviceY, METH_VARARGS | METH_KEYWORDS, NULL },
18445 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction) _wrap_DC_LogicalToDeviceXRel, METH_VARARGS | METH_KEYWORDS, NULL },
18446 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction) _wrap_DC_LogicalToDeviceYRel, METH_VARARGS | METH_KEYWORDS, NULL },
18447 { (char *)"DC_CanDrawBitmap", (PyCFunction) _wrap_DC_CanDrawBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18448 { (char *)"DC_CanGetTextExtent", (PyCFunction) _wrap_DC_CanGetTextExtent, METH_VARARGS | METH_KEYWORDS, NULL },
18449 { (char *)"DC_GetDepth", (PyCFunction) _wrap_DC_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
18450 { (char *)"DC_GetPPI", (PyCFunction) _wrap_DC_GetPPI, METH_VARARGS | METH_KEYWORDS, NULL },
18451 { (char *)"DC_Ok", (PyCFunction) _wrap_DC_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18452 { (char *)"DC_GetBackgroundMode", (PyCFunction) _wrap_DC_GetBackgroundMode, METH_VARARGS | METH_KEYWORDS, NULL },
18453 { (char *)"DC_GetBackground", (PyCFunction) _wrap_DC_GetBackground, METH_VARARGS | METH_KEYWORDS, NULL },
18454 { (char *)"DC_GetBrush", (PyCFunction) _wrap_DC_GetBrush, METH_VARARGS | METH_KEYWORDS, NULL },
18455 { (char *)"DC_GetFont", (PyCFunction) _wrap_DC_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
18456 { (char *)"DC_GetPen", (PyCFunction) _wrap_DC_GetPen, METH_VARARGS | METH_KEYWORDS, NULL },
18457 { (char *)"DC_GetTextBackground", (PyCFunction) _wrap_DC_GetTextBackground, METH_VARARGS | METH_KEYWORDS, NULL },
18458 { (char *)"DC_GetTextForeground", (PyCFunction) _wrap_DC_GetTextForeground, METH_VARARGS | METH_KEYWORDS, NULL },
18459 { (char *)"DC_SetTextForeground", (PyCFunction) _wrap_DC_SetTextForeground, METH_VARARGS | METH_KEYWORDS, NULL },
18460 { (char *)"DC_SetTextBackground", (PyCFunction) _wrap_DC_SetTextBackground, METH_VARARGS | METH_KEYWORDS, NULL },
18461 { (char *)"DC_GetMapMode", (PyCFunction) _wrap_DC_GetMapMode, METH_VARARGS | METH_KEYWORDS, NULL },
18462 { (char *)"DC_SetMapMode", (PyCFunction) _wrap_DC_SetMapMode, METH_VARARGS | METH_KEYWORDS, NULL },
18463 { (char *)"DC_GetUserScale", (PyCFunction) _wrap_DC_GetUserScale, METH_VARARGS | METH_KEYWORDS, NULL },
18464 { (char *)"DC_SetUserScale", (PyCFunction) _wrap_DC_SetUserScale, METH_VARARGS | METH_KEYWORDS, NULL },
18465 { (char *)"DC_GetLogicalScale", (PyCFunction) _wrap_DC_GetLogicalScale, METH_VARARGS | METH_KEYWORDS, NULL },
18466 { (char *)"DC_SetLogicalScale", (PyCFunction) _wrap_DC_SetLogicalScale, METH_VARARGS | METH_KEYWORDS, NULL },
18467 { (char *)"DC_GetLogicalOrigin", (PyCFunction) _wrap_DC_GetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
18468 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction) _wrap_DC_GetLogicalOriginTuple, METH_VARARGS | METH_KEYWORDS, NULL },
18469 { (char *)"DC_SetLogicalOrigin", (PyCFunction) _wrap_DC_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
18470 { (char *)"DC_GetDeviceOrigin", (PyCFunction) _wrap_DC_GetDeviceOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
18471 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction) _wrap_DC_GetDeviceOriginTuple, METH_VARARGS | METH_KEYWORDS, NULL },
18472 { (char *)"DC_SetDeviceOrigin", (PyCFunction) _wrap_DC_SetDeviceOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
18473 { (char *)"DC_SetAxisOrientation", (PyCFunction) _wrap_DC_SetAxisOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
18474 { (char *)"DC_GetLogicalFunction", (PyCFunction) _wrap_DC_GetLogicalFunction, METH_VARARGS | METH_KEYWORDS, NULL },
18475 { (char *)"DC_SetLogicalFunction", (PyCFunction) _wrap_DC_SetLogicalFunction, METH_VARARGS | METH_KEYWORDS, NULL },
18476 { (char *)"DC_SetOptimization", (PyCFunction) _wrap_DC_SetOptimization, METH_VARARGS | METH_KEYWORDS, NULL },
18477 { (char *)"DC_GetOptimization", (PyCFunction) _wrap_DC_GetOptimization, METH_VARARGS | METH_KEYWORDS, NULL },
18478 { (char *)"DC_CalcBoundingBox", (PyCFunction) _wrap_DC_CalcBoundingBox, METH_VARARGS | METH_KEYWORDS, NULL },
18479 { (char *)"DC_ResetBoundingBox", (PyCFunction) _wrap_DC_ResetBoundingBox, METH_VARARGS | METH_KEYWORDS, NULL },
18480 { (char *)"DC_MinX", (PyCFunction) _wrap_DC_MinX, METH_VARARGS | METH_KEYWORDS, NULL },
18481 { (char *)"DC_MaxX", (PyCFunction) _wrap_DC_MaxX, METH_VARARGS | METH_KEYWORDS, NULL },
18482 { (char *)"DC_MinY", (PyCFunction) _wrap_DC_MinY, METH_VARARGS | METH_KEYWORDS, NULL },
18483 { (char *)"DC_MaxY", (PyCFunction) _wrap_DC_MaxY, METH_VARARGS | METH_KEYWORDS, NULL },
18484 { (char *)"DC_GetBoundingBox", (PyCFunction) _wrap_DC_GetBoundingBox, METH_VARARGS | METH_KEYWORDS, NULL },
18485 { (char *)"DC__DrawPointList", (PyCFunction) _wrap_DC__DrawPointList, METH_VARARGS | METH_KEYWORDS, NULL },
18486 { (char *)"DC__DrawLineList", (PyCFunction) _wrap_DC__DrawLineList, METH_VARARGS | METH_KEYWORDS, NULL },
18487 { (char *)"DC__DrawRectangleList", (PyCFunction) _wrap_DC__DrawRectangleList, METH_VARARGS | METH_KEYWORDS, NULL },
18488 { (char *)"DC__DrawEllipseList", (PyCFunction) _wrap_DC__DrawEllipseList, METH_VARARGS | METH_KEYWORDS, NULL },
18489 { (char *)"DC__DrawPolygonList", (PyCFunction) _wrap_DC__DrawPolygonList, METH_VARARGS | METH_KEYWORDS, NULL },
18490 { (char *)"DC__DrawTextList", (PyCFunction) _wrap_DC__DrawTextList, METH_VARARGS | METH_KEYWORDS, NULL },
18491 { (char *)"DC_swigregister", DC_swigregister, METH_VARARGS, NULL },
18492 { (char *)"new_MemoryDC", (PyCFunction) _wrap_new_MemoryDC, METH_VARARGS | METH_KEYWORDS, NULL },
18493 { (char *)"new_MemoryDCFromDC", (PyCFunction) _wrap_new_MemoryDCFromDC, METH_VARARGS | METH_KEYWORDS, NULL },
18494 { (char *)"MemoryDC_SelectObject", (PyCFunction) _wrap_MemoryDC_SelectObject, METH_VARARGS | METH_KEYWORDS, NULL },
18495 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister, METH_VARARGS, NULL },
18496 { (char *)"new_BufferedDC", _wrap_new_BufferedDC, METH_VARARGS, NULL },
18497 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer, METH_VARARGS, NULL },
18498 { (char *)"delete_BufferedDC", (PyCFunction) _wrap_delete_BufferedDC, METH_VARARGS | METH_KEYWORDS, NULL },
18499 { (char *)"BufferedDC_UnMask", (PyCFunction) _wrap_BufferedDC_UnMask, METH_VARARGS | METH_KEYWORDS, NULL },
18500 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister, METH_VARARGS, NULL },
18501 { (char *)"new_BufferedPaintDC", (PyCFunction) _wrap_new_BufferedPaintDC, METH_VARARGS | METH_KEYWORDS, NULL },
18502 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister, METH_VARARGS, NULL },
18503 { (char *)"new_ScreenDC", (PyCFunction) _wrap_new_ScreenDC, METH_VARARGS | METH_KEYWORDS, NULL },
18504 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction) _wrap_ScreenDC_StartDrawingOnTopWin, METH_VARARGS | METH_KEYWORDS, NULL },
18505 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction) _wrap_ScreenDC_StartDrawingOnTop, METH_VARARGS | METH_KEYWORDS, NULL },
18506 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction) _wrap_ScreenDC_EndDrawingOnTop, METH_VARARGS | METH_KEYWORDS, NULL },
18507 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister, METH_VARARGS, NULL },
18508 { (char *)"new_ClientDC", (PyCFunction) _wrap_new_ClientDC, METH_VARARGS | METH_KEYWORDS, NULL },
18509 { (char *)"ClientDC_swigregister", ClientDC_swigregister, METH_VARARGS, NULL },
18510 { (char *)"new_PaintDC", (PyCFunction) _wrap_new_PaintDC, METH_VARARGS | METH_KEYWORDS, NULL },
18511 { (char *)"PaintDC_swigregister", PaintDC_swigregister, METH_VARARGS, NULL },
18512 { (char *)"new_WindowDC", (PyCFunction) _wrap_new_WindowDC, METH_VARARGS | METH_KEYWORDS, NULL },
18513 { (char *)"WindowDC_swigregister", WindowDC_swigregister, METH_VARARGS, NULL },
18514 { (char *)"new_MirrorDC", (PyCFunction) _wrap_new_MirrorDC, METH_VARARGS | METH_KEYWORDS, NULL },
18515 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister, METH_VARARGS, NULL },
18516 { (char *)"new_PostScriptDC", (PyCFunction) _wrap_new_PostScriptDC, METH_VARARGS | METH_KEYWORDS, NULL },
18517 { (char *)"PostScriptDC_GetPrintData", (PyCFunction) _wrap_PostScriptDC_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
18518 { (char *)"PostScriptDC_SetPrintData", (PyCFunction) _wrap_PostScriptDC_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
18519 { (char *)"PostScriptDC_SetResolution", (PyCFunction) _wrap_PostScriptDC_SetResolution, METH_VARARGS | METH_KEYWORDS, NULL },
18520 { (char *)"PostScriptDC_GetResolution", (PyCFunction) _wrap_PostScriptDC_GetResolution, METH_VARARGS | METH_KEYWORDS, NULL },
18521 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister, METH_VARARGS, NULL },
18522 { (char *)"new_MetaFile", (PyCFunction) _wrap_new_MetaFile, METH_VARARGS | METH_KEYWORDS, NULL },
ce7284bd
RD
18523 { (char *)"delete_MetaFile", (PyCFunction) _wrap_delete_MetaFile, METH_VARARGS | METH_KEYWORDS, NULL },
18524 { (char *)"MetaFile_Ok", (PyCFunction) _wrap_MetaFile_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
18525 { (char *)"MetaFile_SetClipboard", (PyCFunction) _wrap_MetaFile_SetClipboard, METH_VARARGS | METH_KEYWORDS, NULL },
18526 { (char *)"MetaFile_GetSize", (PyCFunction) _wrap_MetaFile_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
18527 { (char *)"MetaFile_GetWidth", (PyCFunction) _wrap_MetaFile_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
18528 { (char *)"MetaFile_GetHeight", (PyCFunction) _wrap_MetaFile_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
2f4c0a16
RD
18529 { (char *)"MetaFile_swigregister", MetaFile_swigregister, METH_VARARGS, NULL },
18530 { (char *)"new_MetaFileDC", (PyCFunction) _wrap_new_MetaFileDC, METH_VARARGS | METH_KEYWORDS, NULL },
ce7284bd 18531 { (char *)"MetaFileDC_Close", (PyCFunction) _wrap_MetaFileDC_Close, METH_VARARGS | METH_KEYWORDS, NULL },
2f4c0a16
RD
18532 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister, METH_VARARGS, NULL },
18533 { (char *)"new_PrinterDC", (PyCFunction) _wrap_new_PrinterDC, METH_VARARGS | METH_KEYWORDS, NULL },
18534 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister, METH_VARARGS, NULL },
18535 { (char *)"new_ImageList", (PyCFunction) _wrap_new_ImageList, METH_VARARGS | METH_KEYWORDS, NULL },
18536 { (char *)"delete_ImageList", (PyCFunction) _wrap_delete_ImageList, METH_VARARGS | METH_KEYWORDS, NULL },
18537 { (char *)"ImageList_Add", (PyCFunction) _wrap_ImageList_Add, METH_VARARGS | METH_KEYWORDS, NULL },
18538 { (char *)"ImageList_AddWithColourMask", (PyCFunction) _wrap_ImageList_AddWithColourMask, METH_VARARGS | METH_KEYWORDS, NULL },
18539 { (char *)"ImageList_AddIcon", (PyCFunction) _wrap_ImageList_AddIcon, METH_VARARGS | METH_KEYWORDS, NULL },
18540 { (char *)"ImageList_Replace", (PyCFunction) _wrap_ImageList_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
18541 { (char *)"ImageList_Draw", (PyCFunction) _wrap_ImageList_Draw, METH_VARARGS | METH_KEYWORDS, NULL },
18542 { (char *)"ImageList_GetImageCount", (PyCFunction) _wrap_ImageList_GetImageCount, METH_VARARGS | METH_KEYWORDS, NULL },
18543 { (char *)"ImageList_Remove", (PyCFunction) _wrap_ImageList_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
18544 { (char *)"ImageList_RemoveAll", (PyCFunction) _wrap_ImageList_RemoveAll, METH_VARARGS | METH_KEYWORDS, NULL },
18545 { (char *)"ImageList_GetSize", (PyCFunction) _wrap_ImageList_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
18546 { (char *)"ImageList_swigregister", ImageList_swigregister, METH_VARARGS, NULL },
18547 { (char *)"PenList_AddPen", (PyCFunction) _wrap_PenList_AddPen, METH_VARARGS | METH_KEYWORDS, NULL },
18548 { (char *)"PenList_FindOrCreatePen", (PyCFunction) _wrap_PenList_FindOrCreatePen, METH_VARARGS | METH_KEYWORDS, NULL },
18549 { (char *)"PenList_RemovePen", (PyCFunction) _wrap_PenList_RemovePen, METH_VARARGS | METH_KEYWORDS, NULL },
18550 { (char *)"PenList_GetCount", (PyCFunction) _wrap_PenList_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
18551 { (char *)"PenList_swigregister", PenList_swigregister, METH_VARARGS, NULL },
18552 { (char *)"BrushList_AddBrush", (PyCFunction) _wrap_BrushList_AddBrush, METH_VARARGS | METH_KEYWORDS, NULL },
18553 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction) _wrap_BrushList_FindOrCreateBrush, METH_VARARGS | METH_KEYWORDS, NULL },
18554 { (char *)"BrushList_RemoveBrush", (PyCFunction) _wrap_BrushList_RemoveBrush, METH_VARARGS | METH_KEYWORDS, NULL },
18555 { (char *)"BrushList_GetCount", (PyCFunction) _wrap_BrushList_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
18556 { (char *)"BrushList_swigregister", BrushList_swigregister, METH_VARARGS, NULL },
18557 { (char *)"new_ColourDatabase", (PyCFunction) _wrap_new_ColourDatabase, METH_VARARGS | METH_KEYWORDS, NULL },
18558 { (char *)"delete_ColourDatabase", (PyCFunction) _wrap_delete_ColourDatabase, METH_VARARGS | METH_KEYWORDS, NULL },
18559 { (char *)"ColourDatabase_Find", (PyCFunction) _wrap_ColourDatabase_Find, METH_VARARGS | METH_KEYWORDS, NULL },
18560 { (char *)"ColourDatabase_FindName", (PyCFunction) _wrap_ColourDatabase_FindName, METH_VARARGS | METH_KEYWORDS, NULL },
18561 { (char *)"ColourDatabase_AddColour", (PyCFunction) _wrap_ColourDatabase_AddColour, METH_VARARGS | METH_KEYWORDS, NULL },
18562 { (char *)"ColourDatabase_Append", (PyCFunction) _wrap_ColourDatabase_Append, METH_VARARGS | METH_KEYWORDS, NULL },
18563 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister, METH_VARARGS, NULL },
18564 { (char *)"FontList_AddFont", (PyCFunction) _wrap_FontList_AddFont, METH_VARARGS | METH_KEYWORDS, NULL },
18565 { (char *)"FontList_FindOrCreateFont", (PyCFunction) _wrap_FontList_FindOrCreateFont, METH_VARARGS | METH_KEYWORDS, NULL },
18566 { (char *)"FontList_RemoveFont", (PyCFunction) _wrap_FontList_RemoveFont, METH_VARARGS | METH_KEYWORDS, NULL },
18567 { (char *)"FontList_GetCount", (PyCFunction) _wrap_FontList_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
18568 { (char *)"FontList_swigregister", FontList_swigregister, METH_VARARGS, NULL },
18569 { (char *)"new_Effects", (PyCFunction) _wrap_new_Effects, METH_VARARGS | METH_KEYWORDS, NULL },
18570 { (char *)"Effects_GetHighlightColour", (PyCFunction) _wrap_Effects_GetHighlightColour, METH_VARARGS | METH_KEYWORDS, NULL },
18571 { (char *)"Effects_GetLightShadow", (PyCFunction) _wrap_Effects_GetLightShadow, METH_VARARGS | METH_KEYWORDS, NULL },
18572 { (char *)"Effects_GetFaceColour", (PyCFunction) _wrap_Effects_GetFaceColour, METH_VARARGS | METH_KEYWORDS, NULL },
18573 { (char *)"Effects_GetMediumShadow", (PyCFunction) _wrap_Effects_GetMediumShadow, METH_VARARGS | METH_KEYWORDS, NULL },
18574 { (char *)"Effects_GetDarkShadow", (PyCFunction) _wrap_Effects_GetDarkShadow, METH_VARARGS | METH_KEYWORDS, NULL },
18575 { (char *)"Effects_SetHighlightColour", (PyCFunction) _wrap_Effects_SetHighlightColour, METH_VARARGS | METH_KEYWORDS, NULL },
18576 { (char *)"Effects_SetLightShadow", (PyCFunction) _wrap_Effects_SetLightShadow, METH_VARARGS | METH_KEYWORDS, NULL },
18577 { (char *)"Effects_SetFaceColour", (PyCFunction) _wrap_Effects_SetFaceColour, METH_VARARGS | METH_KEYWORDS, NULL },
18578 { (char *)"Effects_SetMediumShadow", (PyCFunction) _wrap_Effects_SetMediumShadow, METH_VARARGS | METH_KEYWORDS, NULL },
18579 { (char *)"Effects_SetDarkShadow", (PyCFunction) _wrap_Effects_SetDarkShadow, METH_VARARGS | METH_KEYWORDS, NULL },
18580 { (char *)"Effects_Set", (PyCFunction) _wrap_Effects_Set, METH_VARARGS | METH_KEYWORDS, NULL },
18581 { (char *)"Effects_DrawSunkenEdge", (PyCFunction) _wrap_Effects_DrawSunkenEdge, METH_VARARGS | METH_KEYWORDS, NULL },
18582 { (char *)"Effects_TileBitmap", (PyCFunction) _wrap_Effects_TileBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
18583 { (char *)"Effects_swigregister", Effects_swigregister, METH_VARARGS, NULL },
18584 { NULL, NULL, 0, NULL }
d14a1e28
RD
18585};
18586
18587
18588/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18589
423f194a
RD
18590static void *_p_wxControlTo_p_wxWindow(void *x) {
18591 return (void *)((wxWindow *) ((wxControl *) x));
18592}
18593static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
18594 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
18595}
18596static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
18597 return (void *)((wxWindow *) ((wxMenuBar *) x));
18598}
d14a1e28
RD
18599static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x) {
18600 return (void *)((wxMemoryDC *) ((wxBufferedDC *) x));
18601}
18602static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x) {
18603 return (void *)((wxMemoryDC *) (wxBufferedDC *) ((wxBufferedPaintDC *) x));
18604}
d14a1e28
RD
18605static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
18606 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
18607}
18608static void *_p_wxPenTo_p_wxObject(void *x) {
18609 return (void *)((wxObject *) (wxGDIObject *) ((wxPen *) x));
18610}
18611static void *_p_wxRegionIteratorTo_p_wxObject(void *x) {
18612 return (void *)((wxObject *) ((wxRegionIterator *) x));
18613}
18614static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
18615 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
18616}
18617static void *_p_wxSizerItemTo_p_wxObject(void *x) {
18618 return (void *)((wxObject *) ((wxSizerItem *) x));
18619}
18620static void *_p_wxColourDatabaseTo_p_wxObject(void *x) {
18621 return (void *)((wxObject *) ((wxColourDatabase *) x));
18622}
18623static void *_p_wxScrollEventTo_p_wxObject(void *x) {
18624 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
18625}
18626static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
18627 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
18628}
18629static void *_p_wxIconTo_p_wxObject(void *x) {
18630 return (void *)((wxObject *) (wxGDIObject *) ((wxIcon *) x));
18631}
18632static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
18633 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
18634}
18635static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
18636 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
18637}
18638static void *_p_wxSizerTo_p_wxObject(void *x) {
18639 return (void *)((wxObject *) ((wxSizer *) x));
18640}
18641static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
18642 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
18643}
18644static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
18645 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
18646}
18647static void *_p_wxPenListTo_p_wxObject(void *x) {
18648 return (void *)((wxObject *) ((wxPenList *) x));
18649}
18650static void *_p_wxEventTo_p_wxObject(void *x) {
18651 return (void *)((wxObject *) ((wxEvent *) x));
18652}
18653static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
18654 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
18655}
18656static void *_p_wxGridSizerTo_p_wxObject(void *x) {
18657 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
18658}
18659static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
18660 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
18661}
18662static void *_p_wxPaintEventTo_p_wxObject(void *x) {
18663 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
18664}
18665static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
18666 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
18667}
18668static void *_p_wxDCTo_p_wxObject(void *x) {
18669 return (void *)((wxObject *) ((wxDC *) x));
18670}
18671static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
18672 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
18673}
18674static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
18675 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
18676}
18677static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
18678 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
18679}
18680static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
18681 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
18682}
18683static void *_p_wxControlTo_p_wxObject(void *x) {
18684 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
18685}
18686static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
18687 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
18688}
18689static void *_p_wxClientDCTo_p_wxObject(void *x) {
18690 return (void *)((wxObject *) (wxDC *) ((wxClientDC *) x));
18691}
18692static void *_p_wxFSFileTo_p_wxObject(void *x) {
18693 return (void *)((wxObject *) ((wxFSFile *) x));
18694}
18695static void *_p_wxMemoryDCTo_p_wxObject(void *x) {
18696 return (void *)((wxObject *) (wxDC *) ((wxMemoryDC *) x));
18697}
18698static void *_p_wxRegionTo_p_wxObject(void *x) {
18699 return (void *)((wxObject *) (wxGDIObject *) ((wxRegion *) x));
18700}
18701static void *_p_wxPySizerTo_p_wxObject(void *x) {
18702 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
18703}
18704static void *_p_wxWindowDCTo_p_wxObject(void *x) {
18705 return (void *)((wxObject *) (wxDC *) ((wxWindowDC *) x));
18706}
18707static void *_p_wxGDIObjectTo_p_wxObject(void *x) {
18708 return (void *)((wxObject *) ((wxGDIObject *) x));
18709}
18710static void *_p_wxEffectsTo_p_wxObject(void *x) {
18711 return (void *)((wxObject *) ((wxEffects *) x));
18712}
18713static void *_p_wxPyEventTo_p_wxObject(void *x) {
18714 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
18715}
18716static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
18717 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
18718}
18719static void *_p_wxPostScriptDCTo_p_wxObject(void *x) {
18720 return (void *)((wxObject *) (wxDC *) ((wxPostScriptDC *) x));
18721}
18722static void *_p_wxShowEventTo_p_wxObject(void *x) {
18723 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
18724}
18725static void *_p_wxMenuItemTo_p_wxObject(void *x) {
18726 return (void *)((wxObject *) ((wxMenuItem *) x));
18727}
18728static void *_p_wxIdleEventTo_p_wxObject(void *x) {
18729 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
18730}
18731static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
18732 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
18733}
18734static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
18735 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
18736}
18737static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
18738 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
18739}
18740static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
18741 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
18742}
18743static void *_p_wxSizeEventTo_p_wxObject(void *x) {
18744 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
18745}
18746static void *_p_wxMoveEventTo_p_wxObject(void *x) {
18747 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
18748}
18749static void *_p_wxActivateEventTo_p_wxObject(void *x) {
18750 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
18751}
18752static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
18753 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
18754}
18755static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
18756 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
18757}
18758static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
18759 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
18760}
18761static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
18762 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
18763}
18764static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
18765 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
18766}
18767static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
18768 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
18769}
18770static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
18771 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
18772}
18773static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
18774 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
18775}
18776static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
18777 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
18778}
18779static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
18780 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
18781}
18782static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
18783 return (void *)((wxObject *) ((wxImageHandler *) x));
18784}
18785static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
18786 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
18787}
18788static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
18789 return (void *)((wxObject *) ((wxEvtHandler *) x));
18790}
18791static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x) {
18792 return (void *)((wxObject *) (wxDC *)(wxMemoryDC *)(wxBufferedDC *) ((wxBufferedPaintDC *) x));
18793}
18794static void *_p_wxPaintDCTo_p_wxObject(void *x) {
18795 return (void *)((wxObject *) (wxDC *) ((wxPaintDC *) x));
18796}
18797static void *_p_wxPrinterDCTo_p_wxObject(void *x) {
18798 return (void *)((wxObject *) (wxDC *) ((wxPrinterDC *) x));
18799}
18800static void *_p_wxScreenDCTo_p_wxObject(void *x) {
18801 return (void *)((wxObject *) (wxDC *) ((wxScreenDC *) x));
18802}
41f1cec7
RD
18803static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
18804 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
18805}
d14a1e28
RD
18806static void *_p_wxImageTo_p_wxObject(void *x) {
18807 return (void *)((wxObject *) ((wxImage *) x));
18808}
18809static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
18810 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
18811}
d14a1e28
RD
18812static void *_p_wxPaletteTo_p_wxObject(void *x) {
18813 return (void *)((wxObject *) (wxGDIObject *) ((wxPalette *) x));
18814}
18815static void *_p_wxBufferedDCTo_p_wxObject(void *x) {
18816 return (void *)((wxObject *) (wxDC *)(wxMemoryDC *) ((wxBufferedDC *) x));
18817}
18818static void *_p_wxImageListTo_p_wxObject(void *x) {
18819 return (void *)((wxObject *) ((wxImageList *) x));
18820}
18821static void *_p_wxCursorTo_p_wxObject(void *x) {
18822 return (void *)((wxObject *) (wxGDIObject *) ((wxCursor *) x));
18823}
18824static void *_p_wxEncodingConverterTo_p_wxObject(void *x) {
18825 return (void *)((wxObject *) ((wxEncodingConverter *) x));
18826}
18827static void *_p_wxMirrorDCTo_p_wxObject(void *x) {
18828 return (void *)((wxObject *) (wxDC *) ((wxMirrorDC *) x));
18829}
18830static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
18831 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
18832}
18833static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
18834 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
18835}
18836static void *_p_wxKeyEventTo_p_wxObject(void *x) {
18837 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
18838}
18839static void *_p_wxWindowTo_p_wxObject(void *x) {
18840 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
18841}
18842static void *_p_wxMenuTo_p_wxObject(void *x) {
18843 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
18844}
18845static void *_p_wxMenuBarTo_p_wxObject(void *x) {
18846 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
18847}
18848static void *_p_wxMetaFileDCTo_p_wxObject(void *x) {
18849 return (void *)((wxObject *) (wxDC *) ((wxMetaFileDC *) x));
18850}
18851static void *_p_wxBrushListTo_p_wxObject(void *x) {
18852 return (void *)((wxObject *) ((wxBrushList *) x));
18853}
18854static void *_p_wxPyPenTo_p_wxObject(void *x) {
18855 return (void *)((wxObject *) (wxGDIObject *)(wxPen *) ((wxPyPen *) x));
18856}
18857static void *_p_wxFileSystemTo_p_wxObject(void *x) {
18858 return (void *)((wxObject *) ((wxFileSystem *) x));
18859}
18860static void *_p_wxBitmapTo_p_wxObject(void *x) {
18861 return (void *)((wxObject *) (wxGDIObject *) ((wxBitmap *) x));
18862}
18863static void *_p_wxMaskTo_p_wxObject(void *x) {
18864 return (void *)((wxObject *) ((wxMask *) x));
18865}
18866static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
18867 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
18868}
18869static void *_p_wxMenuEventTo_p_wxObject(void *x) {
18870 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
18871}
18872static void *_p_wxPyAppTo_p_wxObject(void *x) {
18873 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
18874}
18875static void *_p_wxCloseEventTo_p_wxObject(void *x) {
18876 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
18877}
18878static void *_p_wxMouseEventTo_p_wxObject(void *x) {
18879 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
18880}
18881static void *_p_wxEraseEventTo_p_wxObject(void *x) {
18882 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
18883}
18884static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
18885 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
18886}
18887static void *_p_wxCommandEventTo_p_wxObject(void *x) {
18888 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
18889}
18890static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
18891 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
18892}
18893static void *_p_wxFocusEventTo_p_wxObject(void *x) {
18894 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
18895}
18896static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
18897 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
18898}
18899static void *_p_wxFontTo_p_wxObject(void *x) {
18900 return (void *)((wxObject *) (wxGDIObject *) ((wxFont *) x));
18901}
18902static void *_p_wxBrushTo_p_wxObject(void *x) {
18903 return (void *)((wxObject *) (wxGDIObject *) ((wxBrush *) x));
18904}
18905static void *_p_wxMetaFileTo_p_wxObject(void *x) {
18906 return (void *)((wxObject *) ((wxMetaFile *) x));
18907}
18908static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
18909 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
18910}
18911static void *_p_wxColourTo_p_wxObject(void *x) {
18912 return (void *)((wxObject *) ((wxColour *) x));
18913}
18914static void *_p_wxFontListTo_p_wxObject(void *x) {
18915 return (void *)((wxObject *) ((wxFontList *) x));
18916}
18917static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
18918 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
18919}
18920static void *_p_wxValidatorTo_p_wxObject(void *x) {
18921 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
18922}
423f194a
RD
18923static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x) {
18924 return (void *)((wxBufferedDC *) ((wxBufferedPaintDC *) x));
d14a1e28 18925}
423f194a
RD
18926static void *_p_wxBufferedDCTo_p_wxDC(void *x) {
18927 return (void *)((wxDC *) (wxMemoryDC *) ((wxBufferedDC *) x));
d14a1e28 18928}
423f194a
RD
18929static void *_p_wxScreenDCTo_p_wxDC(void *x) {
18930 return (void *)((wxDC *) ((wxScreenDC *) x));
18931}
18932static void *_p_wxMirrorDCTo_p_wxDC(void *x) {
18933 return (void *)((wxDC *) ((wxMirrorDC *) x));
18934}
18935static void *_p_wxMemoryDCTo_p_wxDC(void *x) {
18936 return (void *)((wxDC *) ((wxMemoryDC *) x));
18937}
18938static void *_p_wxWindowDCTo_p_wxDC(void *x) {
18939 return (void *)((wxDC *) ((wxWindowDC *) x));
18940}
18941static void *_p_wxMetaFileDCTo_p_wxDC(void *x) {
18942 return (void *)((wxDC *) ((wxMetaFileDC *) x));
18943}
18944static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x) {
18945 return (void *)((wxDC *) (wxMemoryDC *)(wxBufferedDC *) ((wxBufferedPaintDC *) x));
18946}
18947static void *_p_wxClientDCTo_p_wxDC(void *x) {
18948 return (void *)((wxDC *) ((wxClientDC *) x));
18949}
18950static void *_p_wxPaintDCTo_p_wxDC(void *x) {
18951 return (void *)((wxDC *) ((wxPaintDC *) x));
18952}
18953static void *_p_wxPostScriptDCTo_p_wxDC(void *x) {
18954 return (void *)((wxDC *) ((wxPostScriptDC *) x));
18955}
18956static void *_p_wxPrinterDCTo_p_wxDC(void *x) {
18957 return (void *)((wxDC *) ((wxPrinterDC *) x));
18958}
18959static void *_p_wxPyPenTo_p_wxGDIObject(void *x) {
18960 return (void *)((wxGDIObject *) (wxPen *) ((wxPyPen *) x));
18961}
18962static void *_p_wxIconTo_p_wxGDIObject(void *x) {
18963 return (void *)((wxGDIObject *) ((wxIcon *) x));
18964}
18965static void *_p_wxPaletteTo_p_wxGDIObject(void *x) {
18966 return (void *)((wxGDIObject *) ((wxPalette *) x));
18967}
18968static void *_p_wxPenTo_p_wxGDIObject(void *x) {
18969 return (void *)((wxGDIObject *) ((wxPen *) x));
18970}
18971static void *_p_wxFontTo_p_wxGDIObject(void *x) {
18972 return (void *)((wxGDIObject *) ((wxFont *) x));
18973}
18974static void *_p_wxCursorTo_p_wxGDIObject(void *x) {
18975 return (void *)((wxGDIObject *) ((wxCursor *) x));
18976}
18977static void *_p_wxBitmapTo_p_wxGDIObject(void *x) {
18978 return (void *)((wxGDIObject *) ((wxBitmap *) x));
18979}
18980static void *_p_wxRegionTo_p_wxGDIObject(void *x) {
18981 return (void *)((wxGDIObject *) ((wxRegion *) x));
18982}
18983static void *_p_wxBrushTo_p_wxGDIObject(void *x) {
18984 return (void *)((wxGDIObject *) ((wxBrush *) x));
18985}
18986static void *_p_wxPyPenTo_p_wxPen(void *x) {
18987 return (void *)((wxPen *) ((wxPyPen *) x));
d14a1e28 18988}
2f4c0a16
RD
18989static 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}};
18990static 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}};
18991static 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}};
18992static 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}};
18993static 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}};
18994static 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}};
18995static 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}};
18996static 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}};
18997static 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}};
18998static 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}};
18999static 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}};
19000static 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}};
19001static 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}};
19002static 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}};
19003static 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}};
19004static 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}};
19005static 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}};
19006static 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}};
19007static 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}};
19008static 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}};
19009static 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}};
19010static 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}};
19011static 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_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_wxPCXHandler", _p_wxPCXHandlerTo_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_wxPyPen", _p_wxPyPenTo_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}};
19012static 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}};
19013static 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}};
19014static 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}};
19015static 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}};
19016static 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}};
19017static 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}};
19018static 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}};
19019static 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}};
19020static 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}};
19021static 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}};
19022static 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}};
19023static 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}};
19024static 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}};
19025static 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_wxPyPen", _p_wxPyPenTo_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}};
19026static 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}};
19027static 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}};
19028static 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}};
19029static 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}};
19030static 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}};
19031static 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}};
19032static 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}};
19033static 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}};
19034static 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}};
19035static swig_type_info _swigt__p_wxPen[] = {{"_p_wxPen", 0, "wxPen *", 0, 0, 0, 0},{"_p_wxPyPen", _p_wxPyPenTo_p_wxPen, 0, 0, 0, 0, 0},{"_p_wxPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19036static 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}};
19037static 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}};
19038static 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}};
19039static swig_type_info _swigt__p_wxPyPen[] = {{"_p_wxPyPen", 0, "wxPyPen *", 0, 0, 0, 0},{"_p_wxPyPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19040static 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}};
19041static 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}};
19042static 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}};
19043static 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}};
19044static 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
19045
19046static swig_type_info *swig_types_initial[] = {
19047_swigt__p_wxPostScriptDC,
d14a1e28
RD
19048_swigt__p_wxBrush,
19049_swigt__p_wxColour,
d14a1e28
RD
19050_swigt__p_wxDC,
19051_swigt__p_wxMirrorDC,
19052_swigt__p_byte,
19053_swigt__p_wxPyFontEnumerator,
8edf1c75 19054_swigt__p_char,
d14a1e28
RD
19055_swigt__p_wxIconLocation,
19056_swigt__p_wxImage,
19057_swigt__p_wxMetaFileDC,
19058_swigt__p_wxMask,
19059_swigt__p_wxFont,
19060_swigt__p_wxWindow,
19061_swigt__p_wxSize,
19062_swigt__p_double,
19063_swigt__p_wxMemoryDC,
19064_swigt__p_wxFontMapper,
d14a1e28
RD
19065_swigt__p_wxEffects,
19066_swigt__p_wxNativeEncodingInfo,
19067_swigt__p_wxPalette,
19068_swigt__p_wxBitmap,
19069_swigt__p_wxObject,
19070_swigt__p_wxRegionIterator,
19071_swigt__p_wxRect,
19072_swigt__p_wxString,
19073_swigt__p_wxPrinterDC,
19074_swigt__p_wxIconBundle,
19075_swigt__p_wxPoint,
19076_swigt__p_wxDash,
19077_swigt__p_wxScreenDC,
19078_swigt__p_wxCursor,
19079_swigt__p_wxClientDC,
d14a1e28
RD
19080_swigt__p_wxBufferedDC,
19081_swigt__p_wxImageList,
19082_swigt__p_unsigned_char,
19083_swigt__p_wxGDIObject,
d14a1e28 19084_swigt__p_wxIcon,
8edf1c75 19085_swigt__p_wxLocale,
d14a1e28
RD
19086_swigt__p_wxRegion,
19087_swigt__p_wxLanguageInfo,
19088_swigt__p_wxConfigBase,
19089_swigt__p_wxWindowDC,
19090_swigt__p_wxPrintData,
19091_swigt__p_wxBrushList,
19092_swigt__p_wxFontList,
19093_swigt__p_wxPen,
19094_swigt__p_wxBufferedPaintDC,
19095_swigt__p_wxPaintDC,
19096_swigt__p_wxPenList,
d14a1e28
RD
19097_swigt__p_wxPyPen,
19098_swigt__p_int,
19099_swigt__p_wxMetaFile,
19100_swigt__p_wxNativeFontInfo,
19101_swigt__p_wxEncodingConverter,
19102_swigt__p_wxColourDatabase,
191030
19104};
19105
19106
19107/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19108
19109static swig_const_info swig_const_table[] = {
2f4c0a16 19110{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
19111
19112#ifdef __cplusplus
19113}
19114#endif
19115
19116#ifdef __cplusplus
19117extern "C"
19118#endif
19119SWIGEXPORT(void) SWIG_init(void) {
19120 static PyObject *SWIG_globals = 0;
19121 static int typeinit = 0;
19122 PyObject *m, *d;
19123 int i;
19124 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
19125 m = Py_InitModule((char *) SWIG_name, SwigMethods);
19126 d = PyModule_GetDict(m);
19127
19128 if (!typeinit) {
19129 for (i = 0; swig_types_initial[i]; i++) {
19130 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
19131 }
19132 typeinit = 1;
19133 }
19134 SWIG_InstallConstants(d,swig_const_table);
19135
2f4c0a16
RD
19136 PyDict_SetItemString(d,"OutRegion", SWIG_FromInt((int)wxOutRegion));
19137 PyDict_SetItemString(d,"PartRegion", SWIG_FromInt((int)wxPartRegion));
19138 PyDict_SetItemString(d,"InRegion", SWIG_FromInt((int)wxInRegion));
19139 PyDict_SetItemString(d,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT));
19140 PyDict_SetItemString(d,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE));
19141 PyDict_SetItemString(d,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN));
19142 PyDict_SetItemString(d,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT));
19143 PyDict_SetItemString(d,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS));
19144 PyDict_SetItemString(d,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN));
19145 PyDict_SetItemString(d,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE));
19146 PyDict_SetItemString(d,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX));
19147 PyDict_SetItemString(d,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN));
19148 PyDict_SetItemString(d,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL));
19149 PyDict_SetItemString(d,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC));
19150 PyDict_SetItemString(d,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT));
19151 PyDict_SetItemString(d,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX));
19152 PyDict_SetItemString(d,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL));
19153 PyDict_SetItemString(d,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT));
19154 PyDict_SetItemString(d,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD));
19155 PyDict_SetItemString(d,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX));
19156 PyDict_SetItemString(d,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT));
19157 PyDict_SetItemString(d,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC));
19158 PyDict_SetItemString(d,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT));
19159 PyDict_SetItemString(d,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT));
19160 PyDict_SetItemString(d,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD));
19161 PyDict_SetItemString(d,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED));
19162 PyDict_SetItemString(d,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED));
19163 PyDict_SetItemString(d,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED));
19164 PyDict_SetItemString(d,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH));
19165 PyDict_SetItemString(d,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK));
19166 PyDict_SetItemString(d,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM));
19167 PyDict_SetItemString(d,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT));
19168 PyDict_SetItemString(d,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1));
19169 PyDict_SetItemString(d,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2));
19170 PyDict_SetItemString(d,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3));
19171 PyDict_SetItemString(d,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4));
19172 PyDict_SetItemString(d,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5));
19173 PyDict_SetItemString(d,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6));
19174 PyDict_SetItemString(d,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7));
19175 PyDict_SetItemString(d,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8));
19176 PyDict_SetItemString(d,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9));
19177 PyDict_SetItemString(d,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10));
19178 PyDict_SetItemString(d,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11));
19179 PyDict_SetItemString(d,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12));
19180 PyDict_SetItemString(d,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13));
19181 PyDict_SetItemString(d,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14));
19182 PyDict_SetItemString(d,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15));
19183 PyDict_SetItemString(d,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX));
19184 PyDict_SetItemString(d,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8));
19185 PyDict_SetItemString(d,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE));
19186 PyDict_SetItemString(d,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN));
19187 PyDict_SetItemString(d,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437));
19188 PyDict_SetItemString(d,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850));
19189 PyDict_SetItemString(d,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852));
19190 PyDict_SetItemString(d,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855));
19191 PyDict_SetItemString(d,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866));
19192 PyDict_SetItemString(d,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874));
19193 PyDict_SetItemString(d,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932));
19194 PyDict_SetItemString(d,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936));
19195 PyDict_SetItemString(d,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949));
19196 PyDict_SetItemString(d,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950));
19197 PyDict_SetItemString(d,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250));
19198 PyDict_SetItemString(d,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251));
19199 PyDict_SetItemString(d,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252));
19200 PyDict_SetItemString(d,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253));
19201 PyDict_SetItemString(d,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254));
19202 PyDict_SetItemString(d,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255));
19203 PyDict_SetItemString(d,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256));
19204 PyDict_SetItemString(d,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257));
19205 PyDict_SetItemString(d,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX));
19206 PyDict_SetItemString(d,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7));
19207 PyDict_SetItemString(d,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8));
19208 PyDict_SetItemString(d,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP));
19209 PyDict_SetItemString(d,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE));
19210 PyDict_SetItemString(d,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE));
19211 PyDict_SetItemString(d,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE));
19212 PyDict_SetItemString(d,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE));
19213 PyDict_SetItemString(d,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN));
19214 PyDict_SetItemString(d,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE));
19215 PyDict_SetItemString(d,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD));
19216 PyDict_SetItemString(d,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN));
19217 PyDict_SetItemString(d,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC));
19218 PyDict_SetItemString(d,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW));
19219 PyDict_SetItemString(d,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK));
19220 PyDict_SetItemString(d,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC));
19221 PyDict_SetItemString(d,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI));
19222 PyDict_SetItemString(d,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI));
19223 PyDict_SetItemString(d,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI));
19224 PyDict_SetItemString(d,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA));
19225 PyDict_SetItemString(d,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI));
19226 PyDict_SetItemString(d,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL));
19227 PyDict_SetItemString(d,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU));
19228 PyDict_SetItemString(d,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA));
19229 PyDict_SetItemString(d,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM));
19230 PyDict_SetItemString(d,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE));
19231 PyDict_SetItemString(d,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE));
19232 PyDict_SetItemString(d,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER));
19233 PyDict_SetItemString(d,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI));
19234 PyDict_SetItemString(d,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN));
19235 PyDict_SetItemString(d,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN));
19236 PyDict_SetItemString(d,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN));
19237 PyDict_SetItemString(d,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP));
19238 PyDict_SetItemString(d,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN));
19239 PyDict_SetItemString(d,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN));
19240 PyDict_SetItemString(d,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC));
19241 PyDict_SetItemString(d,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR));
19242 PyDict_SetItemString(d,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE));
19243 PyDict_SetItemString(d,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT));
19244 PyDict_SetItemString(d,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL));
19245 PyDict_SetItemString(d,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS));
19246 PyDict_SetItemString(d,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH));
19247 PyDict_SetItemString(d,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN));
19248 PyDict_SetItemString(d,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC));
19249 PyDict_SetItemString(d,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN));
19250 PyDict_SetItemString(d,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC));
19251 PyDict_SetItemString(d,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC));
19252 PyDict_SetItemString(d,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD));
19253 PyDict_SetItemString(d,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN));
19254 PyDict_SetItemString(d,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX));
19255 PyDict_SetItemString(d,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX));
19256 PyDict_SetItemString(d,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16));
19257 PyDict_SetItemString(d,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32));
19258 PyDict_SetItemString(d,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE));
19259 PyDict_SetItemString(d,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312));
19260 PyDict_SetItemString(d,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5));
19261 PyDict_SetItemString(d,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS));
d14a1e28
RD
19262
19263 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19264
2f4c0a16
RD
19265 PyDict_SetItemString(d,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT));
19266 PyDict_SetItemString(d,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN));
19267 PyDict_SetItemString(d,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN));
19268 PyDict_SetItemString(d,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR));
19269 PyDict_SetItemString(d,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS));
19270 PyDict_SetItemString(d,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN));
19271 PyDict_SetItemString(d,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC));
19272 PyDict_SetItemString(d,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC));
19273 PyDict_SetItemString(d,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA));
19274 PyDict_SetItemString(d,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN));
19275 PyDict_SetItemString(d,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT));
19276 PyDict_SetItemString(d,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ));
19277 PyDict_SetItemString(d,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN));
19278 PyDict_SetItemString(d,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT));
19279 PyDict_SetItemString(d,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON));
19280 PyDict_SetItemString(d,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA));
19281 PyDict_SetItemString(d,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO));
19282 PyDict_SetItemString(d,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN));
19283 PyDict_SetItemString(d,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR));
19284 PyDict_SetItemString(d,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA));
19285 PyDict_SetItemString(d,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN));
19286 PyDict_SetItemString(d,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA));
19287 PyDict_SetItemString(d,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA));
19288 PyDict_SetItemString(d,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE));
19289 PyDict_SetItemString(d,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN));
19290 PyDict_SetItemString(d,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN));
19291 PyDict_SetItemString(d,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE));
19292 PyDict_SetItemString(d,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA));
19293 PyDict_SetItemString(d,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI));
19294 PyDict_SetItemString(d,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC));
19295 PyDict_SetItemString(d,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN));
19296 PyDict_SetItemString(d,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR));
19297 PyDict_SetItemString(d,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE));
19298 PyDict_SetItemString(d,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN));
19299 PyDict_SetItemString(d,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI));
19300 PyDict_SetItemString(d,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI));
19301 PyDict_SetItemString(d,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI));
19302 PyDict_SetItemString(d,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA));
19303 PyDict_SetItemString(d,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON));
19304 PyDict_SetItemString(d,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN));
19305 PyDict_SetItemString(d,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE));
19306 PyDict_SetItemString(d,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN));
19307 PyDict_SetItemString(d,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN));
19308 PyDict_SetItemString(d,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE));
19309 PyDict_SetItemString(d,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED));
19310 PyDict_SetItemString(d,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL));
19311 PyDict_SetItemString(d,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG));
19312 PyDict_SetItemString(d,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU));
19313 PyDict_SetItemString(d,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE));
19314 PyDict_SetItemString(d,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN));
19315 PyDict_SetItemString(d,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN));
19316 PyDict_SetItemString(d,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN));
19317 PyDict_SetItemString(d,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH));
19318 PyDict_SetItemString(d,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH));
19319 PyDict_SetItemString(d,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH));
19320 PyDict_SetItemString(d,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN));
19321 PyDict_SetItemString(d,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH));
19322 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK));
19323 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US));
19324 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA));
19325 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE));
19326 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA));
19327 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA));
19328 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN));
19329 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK));
19330 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE));
19331 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA));
19332 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND));
19333 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES));
19334 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA));
19335 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD));
19336 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE));
19337 PyDict_SetItemString(d,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO));
19338 PyDict_SetItemString(d,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN));
19339 PyDict_SetItemString(d,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE));
19340 PyDict_SetItemString(d,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI));
19341 PyDict_SetItemString(d,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI));
19342 PyDict_SetItemString(d,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH));
19343 PyDict_SetItemString(d,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH));
19344 PyDict_SetItemString(d,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN));
19345 PyDict_SetItemString(d,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN));
19346 PyDict_SetItemString(d,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG));
19347 PyDict_SetItemString(d,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO));
19348 PyDict_SetItemString(d,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS));
19349 PyDict_SetItemString(d,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN));
19350 PyDict_SetItemString(d,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN));
19351 PyDict_SetItemString(d,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN));
19352 PyDict_SetItemString(d,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN));
19353 PyDict_SetItemString(d,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN));
19354 PyDict_SetItemString(d,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM));
19355 PyDict_SetItemString(d,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN));
19356 PyDict_SetItemString(d,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG));
19357 PyDict_SetItemString(d,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS));
19358 PyDict_SetItemString(d,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK));
19359 PyDict_SetItemString(d,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC));
19360 PyDict_SetItemString(d,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI));
19361 PyDict_SetItemString(d,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI));
19362 PyDict_SetItemString(d,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA));
19363 PyDict_SetItemString(d,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW));
19364 PyDict_SetItemString(d,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI));
19365 PyDict_SetItemString(d,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN));
19366 PyDict_SetItemString(d,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC));
19367 PyDict_SetItemString(d,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN));
19368 PyDict_SetItemString(d,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA));
19369 PyDict_SetItemString(d,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE));
19370 PyDict_SetItemString(d,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT));
19371 PyDict_SetItemString(d,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK));
19372 PyDict_SetItemString(d,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH));
19373 PyDict_SetItemString(d,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN));
19374 PyDict_SetItemString(d,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS));
19375 PyDict_SetItemString(d,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE));
19376 PyDict_SetItemString(d,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE));
19377 PyDict_SetItemString(d,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA));
19378 PyDict_SetItemString(d,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI));
19379 PyDict_SetItemString(d,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA));
19380 PyDict_SetItemString(d,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH));
19381 PyDict_SetItemString(d,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK));
19382 PyDict_SetItemString(d,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA));
19383 PyDict_SetItemString(d,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ));
19384 PyDict_SetItemString(d,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI));
19385 PyDict_SetItemString(d,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI));
19386 PyDict_SetItemString(d,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN));
19387 PyDict_SetItemString(d,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH));
19388 PyDict_SetItemString(d,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN));
19389 PyDict_SetItemString(d,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN));
19390 PyDict_SetItemString(d,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN));
19391 PyDict_SetItemString(d,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA));
19392 PyDict_SetItemString(d,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN));
19393 PyDict_SetItemString(d,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN));
19394 PyDict_SetItemString(d,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY));
19395 PyDict_SetItemString(d,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY));
19396 PyDict_SetItemString(d,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM));
19397 PyDict_SetItemString(d,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM));
19398 PyDict_SetItemString(d,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA));
19399 PyDict_SetItemString(d,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE));
19400 PyDict_SetItemString(d,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI));
19401 PyDict_SetItemString(d,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI));
19402 PyDict_SetItemString(d,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI));
19403 PyDict_SetItemString(d,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN));
19404 PyDict_SetItemString(d,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN));
19405 PyDict_SetItemString(d,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU));
19406 PyDict_SetItemString(d,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI));
19407 PyDict_SetItemString(d,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA));
19408 PyDict_SetItemString(d,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL));
19409 PyDict_SetItemString(d,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK));
19410 PyDict_SetItemString(d,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN));
19411 PyDict_SetItemString(d,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA));
19412 PyDict_SetItemString(d,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO));
19413 PyDict_SetItemString(d,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO));
19414 PyDict_SetItemString(d,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH));
19415 PyDict_SetItemString(d,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE));
19416 PyDict_SetItemString(d,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN));
19417 PyDict_SetItemString(d,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI));
19418 PyDict_SetItemString(d,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA));
19419 PyDict_SetItemString(d,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE));
19420 PyDict_SetItemString(d,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN));
19421 PyDict_SetItemString(d,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN));
19422 PyDict_SetItemString(d,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE));
19423 PyDict_SetItemString(d,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN));
19424 PyDict_SetItemString(d,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO));
19425 PyDict_SetItemString(d,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT));
19426 PyDict_SetItemString(d,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC));
19427 PyDict_SetItemString(d,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN));
19428 PyDict_SetItemString(d,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC));
19429 PyDict_SetItemString(d,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN));
19430 PyDict_SetItemString(d,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN));
19431 PyDict_SetItemString(d,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO));
19432 PyDict_SetItemString(d,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA));
19433 PyDict_SetItemString(d,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA));
19434 PyDict_SetItemString(d,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI));
19435 PyDict_SetItemString(d,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE));
19436 PyDict_SetItemString(d,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI));
19437 PyDict_SetItemString(d,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK));
19438 PyDict_SetItemString(d,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN));
19439 PyDict_SetItemString(d,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI));
19440 PyDict_SetItemString(d,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH));
19441 PyDict_SetItemString(d,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA));
19442 PyDict_SetItemString(d,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA));
19443 PyDict_SetItemString(d,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE));
19444 PyDict_SetItemString(d,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA));
19445 PyDict_SetItemString(d,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA));
19446 PyDict_SetItemString(d,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC));
19447 PyDict_SetItemString(d,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR));
19448 PyDict_SetItemString(d,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR));
19449 PyDict_SetItemString(d,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA));
19450 PyDict_SetItemString(d,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS));
19451 PyDict_SetItemString(d,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN));
19452 PyDict_SetItemString(d,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN));
19453 PyDict_SetItemString(d,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA));
19454 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA));
19455 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY));
19456 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU));
19457 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO));
19458 PyDict_SetItemString(d,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY));
19459 PyDict_SetItemString(d,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US));
19460 PyDict_SetItemString(d,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA));
19461 PyDict_SetItemString(d,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE));
19462 PyDict_SetItemString(d,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI));
19463 PyDict_SetItemString(d,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH));
19464 PyDict_SetItemString(d,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND));
19465 PyDict_SetItemString(d,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG));
19466 PyDict_SetItemString(d,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK));
19467 PyDict_SetItemString(d,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL));
19468 PyDict_SetItemString(d,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR));
19469 PyDict_SetItemString(d,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU));
19470 PyDict_SetItemString(d,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI));
19471 PyDict_SetItemString(d,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN));
19472 PyDict_SetItemString(d,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA));
19473 PyDict_SetItemString(d,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA));
19474 PyDict_SetItemString(d,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA));
19475 PyDict_SetItemString(d,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH));
19476 PyDict_SetItemString(d,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN));
19477 PyDict_SetItemString(d,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI));
19478 PyDict_SetItemString(d,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR));
19479 PyDict_SetItemString(d,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN));
19480 PyDict_SetItemString(d,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU));
19481 PyDict_SetItemString(d,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA));
19482 PyDict_SetItemString(d,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN));
19483 PyDict_SetItemString(d,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK));
19484 PyDict_SetItemString(d,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC));
19485 PyDict_SetItemString(d,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN));
19486 PyDict_SetItemString(d,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE));
19487 PyDict_SetItemString(d,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK));
19488 PyDict_SetItemString(d,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH));
19489 PyDict_SetItemString(d,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF));
19490 PyDict_SetItemString(d,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA));
19491 PyDict_SetItemString(d,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH));
19492 PyDict_SetItemString(d,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA));
19493 PyDict_SetItemString(d,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG));
19494 PyDict_SetItemString(d,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU));
19495 PyDict_SetItemString(d,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED));
19496 PyDict_SetItemString(d,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER));
19497 PyDict_SetItemString(d,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE));
19498 PyDict_SetItemString(d,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY));
19499 PyDict_SetItemString(d,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX));
19500 PyDict_SetItemString(d,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP));
19501 PyDict_SetItemString(d,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT));
19502 PyDict_SetItemString(d,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT));
19503 PyDict_SetItemString(d,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING));
19504 PyDict_SetItemString(d,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT));
19505 PyDict_SetItemString(d,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE));
19506 PyDict_SetItemString(d,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT));
19507 PyDict_SetItemString(d,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX));
19508 PyDict_SetItemString(d,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS));
19509 PyDict_SetItemString(d,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2));
19510 PyDict_SetItemString(d,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC));
19511 PyDict_SetItemString(d,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL));
19512 PyDict_SetItemString(d,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT));
19513 PyDict_SetItemString(d,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED));
19514 PyDict_SetItemString(d,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED));
19515 PyDict_SetItemString(d,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL));
19516 PyDict_SetItemString(d,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL));
19517 PyDict_SetItemString(d,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE));
d14a1e28
RD
19518 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
19519 SWIG_addvarlink(SWIG_globals,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get, _wrap_NORMAL_FONT_set);
19520 SWIG_addvarlink(SWIG_globals,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get, _wrap_SMALL_FONT_set);
19521 SWIG_addvarlink(SWIG_globals,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get, _wrap_ITALIC_FONT_set);
19522 SWIG_addvarlink(SWIG_globals,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get, _wrap_SWISS_FONT_set);
19523 SWIG_addvarlink(SWIG_globals,(char*)"RED_PEN",_wrap_RED_PEN_get, _wrap_RED_PEN_set);
19524 SWIG_addvarlink(SWIG_globals,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get, _wrap_CYAN_PEN_set);
19525 SWIG_addvarlink(SWIG_globals,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get, _wrap_GREEN_PEN_set);
19526 SWIG_addvarlink(SWIG_globals,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get, _wrap_BLACK_PEN_set);
19527 SWIG_addvarlink(SWIG_globals,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get, _wrap_WHITE_PEN_set);
19528 SWIG_addvarlink(SWIG_globals,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get, _wrap_TRANSPARENT_PEN_set);
19529 SWIG_addvarlink(SWIG_globals,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get, _wrap_BLACK_DASHED_PEN_set);
19530 SWIG_addvarlink(SWIG_globals,(char*)"GREY_PEN",_wrap_GREY_PEN_get, _wrap_GREY_PEN_set);
19531 SWIG_addvarlink(SWIG_globals,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get, _wrap_MEDIUM_GREY_PEN_set);
19532 SWIG_addvarlink(SWIG_globals,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get, _wrap_LIGHT_GREY_PEN_set);
19533 SWIG_addvarlink(SWIG_globals,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get, _wrap_BLUE_BRUSH_set);
19534 SWIG_addvarlink(SWIG_globals,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get, _wrap_GREEN_BRUSH_set);
19535 SWIG_addvarlink(SWIG_globals,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get, _wrap_WHITE_BRUSH_set);
19536 SWIG_addvarlink(SWIG_globals,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get, _wrap_BLACK_BRUSH_set);
19537 SWIG_addvarlink(SWIG_globals,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get, _wrap_TRANSPARENT_BRUSH_set);
19538 SWIG_addvarlink(SWIG_globals,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get, _wrap_CYAN_BRUSH_set);
19539 SWIG_addvarlink(SWIG_globals,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get, _wrap_RED_BRUSH_set);
19540 SWIG_addvarlink(SWIG_globals,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get, _wrap_GREY_BRUSH_set);
19541 SWIG_addvarlink(SWIG_globals,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get, _wrap_MEDIUM_GREY_BRUSH_set);
19542 SWIG_addvarlink(SWIG_globals,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get, _wrap_LIGHT_GREY_BRUSH_set);
19543 SWIG_addvarlink(SWIG_globals,(char*)"BLACK",_wrap_BLACK_get, _wrap_BLACK_set);
19544 SWIG_addvarlink(SWIG_globals,(char*)"WHITE",_wrap_WHITE_get, _wrap_WHITE_set);
19545 SWIG_addvarlink(SWIG_globals,(char*)"RED",_wrap_RED_get, _wrap_RED_set);
19546 SWIG_addvarlink(SWIG_globals,(char*)"BLUE",_wrap_BLUE_get, _wrap_BLUE_set);
19547 SWIG_addvarlink(SWIG_globals,(char*)"GREEN",_wrap_GREEN_get, _wrap_GREEN_set);
19548 SWIG_addvarlink(SWIG_globals,(char*)"CYAN",_wrap_CYAN_get, _wrap_CYAN_set);
19549 SWIG_addvarlink(SWIG_globals,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get, _wrap_LIGHT_GREY_set);
19550 SWIG_addvarlink(SWIG_globals,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get, _wrap_STANDARD_CURSOR_set);
19551 SWIG_addvarlink(SWIG_globals,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get, _wrap_HOURGLASS_CURSOR_set);
19552 SWIG_addvarlink(SWIG_globals,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get, _wrap_CROSS_CURSOR_set);
19553 SWIG_addvarlink(SWIG_globals,(char*)"NullBitmap",_wrap_NullBitmap_get, _wrap_NullBitmap_set);
19554 SWIG_addvarlink(SWIG_globals,(char*)"NullIcon",_wrap_NullIcon_get, _wrap_NullIcon_set);
19555 SWIG_addvarlink(SWIG_globals,(char*)"NullCursor",_wrap_NullCursor_get, _wrap_NullCursor_set);
19556 SWIG_addvarlink(SWIG_globals,(char*)"NullPen",_wrap_NullPen_get, _wrap_NullPen_set);
19557 SWIG_addvarlink(SWIG_globals,(char*)"NullBrush",_wrap_NullBrush_get, _wrap_NullBrush_set);
19558 SWIG_addvarlink(SWIG_globals,(char*)"NullPalette",_wrap_NullPalette_get, _wrap_NullPalette_set);
19559 SWIG_addvarlink(SWIG_globals,(char*)"NullFont",_wrap_NullFont_get, _wrap_NullFont_set);
19560 SWIG_addvarlink(SWIG_globals,(char*)"NullColour",_wrap_NullColour_get, _wrap_NullColour_set);
19561 SWIG_addvarlink(SWIG_globals,(char*)"TheFontList",_wrap_TheFontList_get, _wrap_TheFontList_set);
19562 SWIG_addvarlink(SWIG_globals,(char*)"ThePenList",_wrap_ThePenList_get, _wrap_ThePenList_set);
19563 SWIG_addvarlink(SWIG_globals,(char*)"TheBrushList",_wrap_TheBrushList_get, _wrap_TheBrushList_set);
19564 SWIG_addvarlink(SWIG_globals,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get, _wrap_TheColourDatabase_set);
44127b65
RD
19565
19566 // Work around a chicken/egg problem in drawlist.cpp
19567 wxPyDrawList_SetAPIPtr();
19568
d14a1e28
RD
19569}
19570