]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_gdi_wrap.cpp
Don't use deprecated list methods
[wxWidgets.git] / wxPython / src / gtk / _gdi_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
a41e16b6 3 * Version 1.3.22
d14a1e28
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
c9c7117a
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
cc6dd355
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
cc6dd355
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
cc6dd355 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
cc6dd355 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 {
cc6dd355 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
cc6dd355 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 *);
cc6dd355
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)
a41e16b6 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
994141e6 186typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 187
cc6dd355
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
9d1d5697 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]
e811c8ce
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]
994141e6
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]
b2df227b
RD
221#define SWIGTYPE_p_wxSize swig_types[12]
222#define SWIGTYPE_p_wxFont swig_types[13]
223#define SWIGTYPE_p_wxWindow swig_types[14]
994141e6
RD
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]
e811c8ce 246#define SWIGTYPE_p_wxIcon swig_types[37]
994141e6
RD
247#define SWIGTYPE_p_wxLocale swig_types[38]
248#define SWIGTYPE_p_wxRegion swig_types[39]
66c033b4
RD
249#define SWIGTYPE_p_wxLanguageInfo swig_types[40]
250#define SWIGTYPE_p_wxConfigBase swig_types[41]
994141e6
RD
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]
66c033b4
RD
259#define SWIGTYPE_p_int swig_types[50]
260#define SWIGTYPE_p_wxMetaFile swig_types[51]
261#define SWIGTYPE_p_wxNativeFontInfo swig_types[52]
262#define SWIGTYPE_p_wxEncodingConverter swig_types[53]
263#define SWIGTYPE_p_wxColourDatabase swig_types[54]
264static swig_type_info *swig_types[56];
d14a1e28
RD
265
266/* -------- TYPES TABLE (END) -------- */
267
268
269/*-----------------------------------------------
54f9ee45 270 @(target):= _gdi_.so
d14a1e28 271 ------------------------------------------------*/
54f9ee45 272#define SWIG_init init_gdi_
d14a1e28 273
54f9ee45 274#define SWIG_name "_gdi_"
d14a1e28 275
15afbcd0 276/* Auxiliar swig macros */
994141e6 277
994141e6 278#ifdef __cplusplus
15afbcd0 279#define SWIGSTATICINLINE(a) static inline a
994141e6 280#define SWIGSTATIC(a) static a
15afbcd0
RD
281#define swig_new_array(type, size) (new type[(size)])
282#define swig_delete_array(cptr) delete[] cptr
283#define swig_const_cast(type,a) const_cast<type>(a)
284#define swig_static_cast(type,a) static_cast<type>(a)
285#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
994141e6 286
994141e6 287#ifdef HAVE_NUMERIC_CAST
15afbcd0 288#define swig_numeric_cast(type,a) numeric_cast<type>(a)
994141e6 289#else
15afbcd0 290#define swig_numeric_cast(type,a) static_cast<type>(a)
994141e6
RD
291#endif
292
15afbcd0
RD
293#else /* C case */
294
295#define SWIGSTATICINLINE(a) static a
296#define SWIGSTATIC(a) static a
297#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
298#define swig_delete_array(cptr) free((char*)cptr)
299#define swig_const_cast(type,a) (type)(a)
300#define swig_static_cast(type,a) (type)(a)
301#define swig_reinterpret_cast(type,a) (type)(a)
302#define swig_numeric_cast(type,a) (type)(a)
303
304#endif /* __cplusplus */
994141e6
RD
305
306
15afbcd0
RD
307#define SWIG_FromSignedChar PyInt_FromLong
308#define SWIG_FromUnsignedChar PyInt_FromLong
309#define SWIG_FromShort PyInt_FromLong
310#define SWIG_FromUnsignedShort PyInt_FromLong
311#define SWIG_FromInt PyInt_FromLong
312#define SWIG_FromLong PyInt_FromLong
313#define SWIG_FromFloat PyFloat_FromDouble
314#define SWIG_FromDouble PyFloat_FromDouble
315#define SWIG_FromFloat PyFloat_FromDouble
316#define SWIG_FromDouble PyFloat_FromDouble
994141e6
RD
317
318
d14a1e28
RD
319#include "wx/wxPython/wxPython.h"
320#include "wx/wxPython/pyclasses.h"
321
d14a1e28 322
b2dc1044 323 static const wxString wxPyEmptyString(wxEmptyString);
994141e6 324
15afbcd0
RD
325SWIGSTATICINLINE(bool)
326SWIG_AsBool(PyObject *obj)
994141e6
RD
327{
328 return PyObject_IsTrue(obj) ? true : false;
329}
330
331
15afbcd0
RD
332SWIGSTATICINLINE(int)
333SWIG_CheckBool(PyObject* obj)
334{
335 SWIG_AsBool(obj);
336 if (PyErr_Occurred()) {
337 PyErr_Clear();
338 return 0;
339 } else {
340 return 1;
341 }
342}
343
344
345#include <limits.h>
346
347
348SWIGSTATICINLINE(unsigned long)
349SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
350 unsigned long max_value)
351{
352 if (!PyErr_Occurred()) {
353 if (value > max_value) {
354 PyObject *err =
355 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
356 value, type, max_value);
357 PyErr_SetObject(PyExc_OverflowError, err);
358 Py_DECREF(err);
359 }
360 }
361 return value;
362}
363
364
69223c70
RD
365SWIGSTATICINLINE(long)
366SWIG_AsLong(PyObject * obj)
367{
368 if (PyNumber_Check(obj))
369 return PyInt_AsLong(obj);
370 else {
371 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
372 obj->ob_type->tp_name);
373 PyErr_SetObject(PyExc_TypeError, errmsg);
374 Py_DECREF(errmsg);
375 return 0;
376 }
377}
378
379
15afbcd0
RD
380SWIGSTATICINLINE(unsigned long)
381SWIG_AsUnsignedLong(PyObject * obj)
382{
383 if (PyLong_Check(obj)) {
384 return PyLong_AsUnsignedLong(obj);
385 } else {
69223c70 386 long i = SWIG_AsLong(obj);
15afbcd0 387 if ( !PyErr_Occurred() && (i < 0)) {
69223c70 388 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
15afbcd0
RD
389 }
390 return i;
391 }
392}
393
394
395SWIGSTATICINLINE(unsigned char)
396SWIG_AsUnsignedChar(PyObject *obj)
994141e6 397{
15afbcd0
RD
398 return swig_numeric_cast(unsigned char,
399 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
400 "unsigned char", UCHAR_MAX));
401}
402
403
404SWIGSTATICINLINE(int)
405SWIG_CheckUnsignedChar(PyObject* obj)
406{
407 SWIG_AsUnsignedChar(obj);
408 if (PyErr_Occurred()) {
409 PyErr_Clear();
410 return 0;
411 } else {
412 return 1;
413 }
414}
415
416
417SWIGSTATICINLINE(int)
418SWIG_CheckUnsignedLong(PyObject* obj)
419{
420 SWIG_AsUnsignedLong(obj);
421 if (PyErr_Occurred()) {
422 PyErr_Clear();
423 return 0;
424 } else {
425 return 1;
426 }
994141e6
RD
427}
428
d14a1e28
RD
429PyObject *wxColour_Get(wxColour *self){
430 PyObject* rv = PyTuple_New(3);
431 int red = -1;
432 int green = -1;
433 int blue = -1;
434 if (self->Ok()) {
435 red = self->Red();
436 green = self->Green();
437 blue = self->Blue();
438 }
439 PyTuple_SetItem(rv, 0, PyInt_FromLong(red));
440 PyTuple_SetItem(rv, 1, PyInt_FromLong(green));
441 PyTuple_SetItem(rv, 2, PyInt_FromLong(blue));
442 return rv;
443 }
b88bce5f
RD
444unsigned long wxColour_GetRGB(wxColour *self){
445 return self->Red() | (self->Green() << 8) | (self->Blue() << 16);
446 }
447
15afbcd0
RD
448SWIGSTATICINLINE(PyObject* )
449SWIG_FromUnsignedLong(unsigned long value)
450{
451 return (value > LONG_MAX) ?
452 PyLong_FromUnsignedLong(value)
453 : PyInt_FromLong(swig_numeric_cast(long,value));
454}
455
456
457SWIGSTATICINLINE(long)
458SWIG_CheckLongInRange(long value, const char* type,
459 long min_value, long max_value)
460{
461 if (!PyErr_Occurred()) {
462 if (value < min_value) {
463 PyObject *err =
464 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
465 value, type, min_value);
466
467 PyErr_SetObject(PyExc_OverflowError, err);
468 Py_DECREF(err);
469 } else if (value > max_value) {
470 PyObject *err =
471 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
472 value, type, max_value);
473 PyErr_SetObject(PyExc_OverflowError, err);
474 Py_DECREF(err);
475 }
476 }
477 return value;
478}
479
480
15afbcd0
RD
481#if INT_MAX != LONG_MAX
482SWIGSTATICINLINE(int)
483SWIG_AsInt(PyObject *obj)
994141e6 484{
15afbcd0
RD
485 return swig_numeric_cast(int,
486 SWIG_CheckLongInRange(SWIG_AsLong(obj),
487 "int", INT_MIN, INT_MAX));
488}
489#else
490#define SWIG_AsInt SWIG_AsLong
491#endif
492
493
494SWIGSTATICINLINE(int)
495SWIG_CheckInt(PyObject* obj)
496{
497 SWIG_AsInt(obj);
498 if (PyErr_Occurred()) {
499 PyErr_Clear();
500 return 0;
501 } else {
502 return 1;
503 }
994141e6
RD
504}
505
506
d14a1e28
RD
507static PyObject* t_output_helper(PyObject* target, PyObject* o) {
508 PyObject* o2;
509 PyObject* o3;
510
511 if (!target) {
512 target = o;
513 } else if (target == Py_None) {
514 Py_DECREF(Py_None);
515 target = o;
516 } else {
517 if (!PyTuple_Check(target)) {
518 o2 = target;
519 target = PyTuple_New(1);
520 PyTuple_SetItem(target, 0, o2);
521 }
522 o3 = PyTuple_New(1);
523 PyTuple_SetItem(o3, 0, o);
524
525 o2 = target;
526 target = PySequence_Concat(o2, o3);
527 Py_DECREF(o2);
528 Py_DECREF(o3);
529 }
530 return target;
531}
532
533PyObject *wxPen_GetDashes(wxPen *self){
534 wxDash* dashes;
535 int count = self->GetDashes(&dashes);
4f89f6a3 536 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
537 PyObject* retval = PyList_New(0);
538 for (int x=0; x<count; x++)
539 PyList_Append(retval, PyInt_FromLong(dashes[x]));
4f89f6a3 540 wxPyEndBlockThreads(blocked);
d14a1e28
RD
541 return retval;
542 }
66c033b4
RD
543void wxPen__SetDashes(wxPen *self,PyObject *_self,PyObject *pyDashes){
544 bool blocked = wxPyBeginBlockThreads();
545 int size = PyList_Size(pyDashes);
546 wxDash* dashes = (wxDash*)byte_LIST_helper(pyDashes);
547
548 // black magic warning! The array of wxDashes needs to exist as
549 // long as the pen does because wxPen does not copy the array. So
550 // stick a copy in a Python string object and attach it to _self,
551 // and then call SetDashes with a pointer to that array. Then
552 // when the Python pen object is destroyed the array will be
553 // cleaned up too.
554 PyObject* strDashes = PyString_FromStringAndSize((char*)dashes, size*sizeof(wxDash));
555 PyObject_SetAttrString(_self, "_dashes", strDashes);
556
557 self->SetDashes(size, (wxDash*)PyString_AS_STRING(strDashes));
558 delete [] dashes;
559 Py_DECREF(strDashes);
560 wxPyEndBlockThreads(blocked);
561 }
22faec7d
RD
562bool wxPen___eq__(wxPen *self,wxPen const *other){ return other ? (*self == *other) : False; }
563bool wxPen___ne__(wxPen *self,wxPen const *other){ return other ? (*self != *other) : True; }
d14a1e28 564
d14a1e28
RD
565#include <wx/image.h>
566
567 static char** ConvertListOfStrings(PyObject* listOfStrings) {
568 char** cArray = NULL;
569 int count;
570
571 if (!PyList_Check(listOfStrings)) {
572 PyErr_SetString(PyExc_TypeError, "Expected a list of strings.");
573 return NULL;
574 }
575 count = PyList_Size(listOfStrings);
576 cArray = new char*[count];
577
578 for(int x=0; x<count; x++) {
579 // TODO: Need some validation and error checking here
580 cArray[x] = PyString_AsString(PyList_GET_ITEM(listOfStrings, x));
581 }
582 return cArray;
583 }
584
585
586wxBitmap *new_wxBitmap(PyObject *listOfStrings){
587 char** cArray = NULL;
588 wxBitmap* bmp;
589
590 cArray = ConvertListOfStrings(listOfStrings);
591 if (! cArray)
592 return NULL;
593 bmp = new wxBitmap(cArray);
594 delete [] cArray;
595 return bmp;
596 }
597wxBitmap *new_wxBitmap(PyObject *bits,int width,int height,int depth){
598 char* buf;
599 int length;
600 PyString_AsStringAndSize(bits, &buf, &length);
601 return new wxBitmap(buf, width, height, depth);
602 }
b2df227b
RD
603wxSize wxBitmap_GetSize(wxBitmap *self){
604 wxSize size(self->GetWidth(), self->GetHeight());
605 return size;
606 }
d14a1e28
RD
607void wxBitmap_SetMaskColour(wxBitmap *self,wxColour const &colour){
608 wxMask *mask = new wxMask(*self, colour);
609 self->SetMask(mask);
610 }
b2df227b
RD
611void wxBitmap_SetSize(wxBitmap *self,wxSize const &size){
612 self->SetWidth(size.x);
613 self->SetHeight(size.y);
614 }
4276dc52
RD
615bool wxBitmap___eq__(wxBitmap *self,wxBitmap const *other){ return other ? (*self == *other) : False; }
616bool wxBitmap___ne__(wxBitmap *self,wxBitmap const *other){ return other ? (*self != *other) : True; }
0482c494
RD
617wxMask *new_wxMask(wxBitmap const &bitmap,wxColour const &colour){
618 if ( !colour.Ok() )
619 return new wxMask(bitmap, *wxBLACK);
620 else
621 return new wxMask(bitmap, colour);
622 }
d14a1e28
RD
623
624#include <wx/iconbndl.h>
625
626wxIcon *new_wxIcon(wxBitmap const &bmp){
627 wxIcon* icon = new wxIcon();
628 icon->CopyFromBitmap(bmp);
629 return icon;
630 }
631wxIcon *new_wxIcon(PyObject *listOfStrings){
632 char** cArray = NULL;
633 wxIcon* icon;
634
635 cArray = ConvertListOfStrings(listOfStrings);
636 if (! cArray)
637 return NULL;
638 icon = new wxIcon(cArray);
639 delete [] cArray;
640 return icon;
641 }
642wxIconLocation *new_wxIconLocation(wxString const *filename,int num){
643
644
645
646 return new wxIconLocation(*filename);
647
648 }
649void wxIconLocation_SetIndex(wxIconLocation *self,int num){
650
651
652
653 // do nothing
654
655 }
656int wxIconLocation_GetIndex(wxIconLocation *self){
657
658
659
660 return -1;
661
662 }
994141e6 663
15afbcd0
RD
664SWIGSTATICINLINE(int)
665SWIG_CheckLong(PyObject* obj)
994141e6 666{
15afbcd0
RD
667 SWIG_AsLong(obj);
668 if (PyErr_Occurred()) {
669 PyErr_Clear();
670 return 0;
671 } else {
672 return 1;
673 }
994141e6
RD
674}
675
15afbcd0
RD
676wxCursor *new_wxCursor(wxString const *cursorName,long type,int hotSpotX,int hotSpotY){
677#ifdef __WXGTK__
e811c8ce 678 wxCHECK_MSG(False, NULL,
15afbcd0
RD
679 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
680#else
681 return new wxCursor(*cursorName, type, hotSpotX, hotSpotY);
682#endif
d14a1e28
RD
683 }
684
685
686void wxRegionIterator_Next(wxRegionIterator *self){
687 (*self) ++;
688 }
689bool wxRegionIterator___nonzero__(wxRegionIterator *self){
690 return self->operator bool();
691 }
692
693#include <wx/fontutil.h>
694#include <wx/fontmap.h>
695#include <wx/fontenum.h>
696
697wxString wxNativeFontInfo___str__(wxNativeFontInfo *self){
698 return self->ToString();
699 }
700
701 wxNativeEncodingInfo* wxGetNativeFontEncoding(wxFontEncoding encoding) {
702 static wxNativeEncodingInfo info;
703 if ( wxGetNativeFontEncoding(encoding, &info) )
704 return &info;
705 else
706 return NULL;
707 }
708
709PyObject *wxFontMapper_GetAltForEncoding(wxFontMapper *self,wxFontEncoding encoding,wxString const &facename,bool interactive){
710 wxFontEncoding alt_enc;
711 if (self->GetAltForEncoding(encoding, &alt_enc, facename, interactive))
712 return PyInt_FromLong(alt_enc);
713 else {
714 Py_INCREF(Py_None);
715 return Py_None;
716 }
717 }
718wxFont *new_wxFont(wxString const &info){
719 wxNativeFontInfo nfi;
720 nfi.FromString(info);
721 return new wxFont(nfi);
722 }
723wxFont *new_wxFont(int pointSize,wxFontFamily family,int flags,wxString const &face,wxFontEncoding encoding){
724 return wxFont::New(pointSize, family, flags, face, encoding);
725 }
22faec7d
RD
726bool wxFont___eq__(wxFont *self,wxFont const *other){ return other ? (*self == *other) : False; }
727bool wxFont___ne__(wxFont *self,wxFont const *other){ return other ? (*self != *other) : True; }
d14a1e28
RD
728
729class wxPyFontEnumerator : public wxFontEnumerator {
730public:
731 wxPyFontEnumerator() {}
732 ~wxPyFontEnumerator() {}
733
734 DEC_PYCALLBACK_BOOL_STRING(OnFacename);
735 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding);
736
737 PYPRIVATE;
738};
739
740IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator, wxFontEnumerator, OnFacename);
741IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator, wxFontEnumerator, OnFontEncoding);
742
743
744PyObject *wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator *self){
745 wxArrayString* arr = self->GetEncodings();
746 return wxArrayString2PyList_helper(*arr);
747 }
748PyObject *wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator *self){
749 wxArrayString* arr = self->GetFacenames();
750 return wxArrayString2PyList_helper(*arr);
751 }
752
753
754
755#include "wx/wxPython/pydrawxxx.h"
756
03e37cd5 757wxColour wxDC_GetPixel(wxDC *self,int x,int y){
d14a1e28
RD
758 wxColour col;
759 self->GetPixel(x, y, &col);
760 return col;
761 }
03e37cd5 762wxColour wxDC_GetPixelPoint(wxDC *self,wxPoint const &pt){
d14a1e28
RD
763 wxColour col;
764 self->GetPixel(pt, &col);
765 return col;
766 }
994141e6 767
15afbcd0
RD
768SWIGSTATICINLINE(double)
769SWIG_AsDouble(PyObject *obj)
994141e6 770{
69223c70
RD
771 if (PyNumber_Check(obj))
772 return PyFloat_AsDouble(obj);
773 else {
774 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
775 obj->ob_type->tp_name);
776 PyErr_SetObject(PyExc_TypeError, errmsg);
777 Py_DECREF(errmsg);
778 return 0;
779 }
15afbcd0
RD
780}
781
782
783SWIGSTATICINLINE(int)
784SWIG_CheckDouble(PyObject* obj)
785{
786 SWIG_AsDouble(obj);
787 if (PyErr_Occurred()) {
788 PyErr_Clear();
789 return 0;
790 } else {
791 return 1;
792 }
994141e6
RD
793}
794
d14a1e28
RD
795wxRect wxDC_DrawImageLabel(wxDC *self,wxString const &text,wxBitmap const &image,wxRect const &rect,int alignment,int indexAccel){
796 wxRect rv;
797 self->DrawLabel(text, image, rect, alignment, indexAccel, &rv);
798 return rv;
799 }
800wxRect wxDC_GetClippingRect(wxDC *self){
801 wxRect rect;
802 self->GetClippingBox(rect);
803 return rect;
804 }
db914595
RD
805wxArrayInt wxDC_GetPartialTextExtents(wxDC *self,wxString const &text){
806 wxArrayInt widths;
807 self->GetPartialTextExtents(text, widths);
808 return widths;
809 }
03e37cd5
RD
810void wxDC_SetLogicalOriginPoint(wxDC *self,wxPoint const &point){
811 self->SetLogicalOrigin(point.x, point.y);
812 }
813void wxDC_SetDeviceOriginPoint(wxDC *self,wxPoint const &point){
814 self->SetDeviceOrigin(point.x, point.y);
815 }
816void wxDC_CalcBoundingBoxPoint(wxDC *self,wxPoint const &point){
817 self->CalcBoundingBox(point.x, point.y);
818 }
d14a1e28
RD
819PyObject *wxDC__DrawPointList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
820 return wxPyDrawXXXList(*self, wxPyDrawXXXPoint, pyCoords, pyPens, pyBrushes);
821 }
822PyObject *wxDC__DrawLineList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
823 return wxPyDrawXXXList(*self, wxPyDrawXXXLine, pyCoords, pyPens, pyBrushes);
824 }
825PyObject *wxDC__DrawRectangleList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
826 return wxPyDrawXXXList(*self, wxPyDrawXXXRectangle, pyCoords, pyPens, pyBrushes);
827 }
828PyObject *wxDC__DrawEllipseList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
829 return wxPyDrawXXXList(*self, wxPyDrawXXXEllipse, pyCoords, pyPens, pyBrushes);
830 }
831PyObject *wxDC__DrawPolygonList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
832 return wxPyDrawXXXList(*self, wxPyDrawXXXPolygon, pyCoords, pyPens, pyBrushes);
833 }
834PyObject *wxDC__DrawTextList(wxDC *self,PyObject *textList,PyObject *pyPoints,PyObject *foregroundList,PyObject *backgroundList){
835 return wxPyDrawTextList(*self, textList, pyPoints, foregroundList, backgroundList);
836 }
837
838static void wxDC_GetBoundingBox(wxDC* dc, int* x1, int* y1, int* x2, int* y2) {
839 *x1 = dc->MinX();
840 *y1 = dc->MinY();
841 *x2 = dc->MaxX();
842 *y2 = dc->MaxY();
843}
844
845
b88bce5f 846#include <wx/dcbuffer.h>
b88bce5f 847
b88bce5f 848
d14a1e28
RD
849#include <wx/dcps.h>
850
851
852class wxMetaFile : public wxObject {
853public:
854 wxMetaFile(const wxString&)
39f61e25 855 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
856};
857
858class wxMetaFileDC : public wxClientDC {
859public:
860 wxMetaFileDC(const wxString&, int, int, const wxString&)
39f61e25 861 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
862};
863
864
865
866class wxPrinterDC : public wxClientDC {
867public:
868 wxPrinterDC(const wxPrintData&)
39f61e25 869 { wxPyRaiseNotImplemented(); }
33b885b9 870
d14a1e28 871// wxPrinterDC(const wxString&, const wxString&, const wxString&, bool, int)
39f61e25 872// { wxPyRaiseNotImplemented(); }
d14a1e28
RD
873};
874
875
876
877void wxColourDatabase_Append(wxColourDatabase *self,wxString const &name,int red,int green,int blue){
878 self->AddColour(name, wxColour(red, green, blue));
879 }
880
d14a1e28
RD
881#include <wx/effects.h>
882
883#ifdef __cplusplus
884extern "C" {
885#endif
886static PyObject *_wrap_new_GDIObject(PyObject *self, PyObject *args, PyObject *kwargs) {
887 PyObject *resultobj;
888 wxGDIObject *result;
889 char *kwnames[] = {
890 NULL
891 };
892
893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GDIObject",kwnames)) goto fail;
894 {
895 PyThreadState* __tstate = wxPyBeginAllowThreads();
896 result = (wxGDIObject *)new wxGDIObject();
897
898 wxPyEndAllowThreads(__tstate);
899 if (PyErr_Occurred()) SWIG_fail;
900 }
15afbcd0 901 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGDIObject, 1);
d14a1e28
RD
902 return resultobj;
903 fail:
904 return NULL;
905}
906
907
908static PyObject *_wrap_delete_GDIObject(PyObject *self, PyObject *args, PyObject *kwargs) {
909 PyObject *resultobj;
910 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
911 PyObject * obj0 = 0 ;
912 char *kwnames[] = {
913 (char *) "self", NULL
914 };
915
916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GDIObject",kwnames,&obj0)) goto fail;
15afbcd0
RD
917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGDIObject,
918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
919 {
920 PyThreadState* __tstate = wxPyBeginAllowThreads();
921 delete arg1;
922
923 wxPyEndAllowThreads(__tstate);
924 if (PyErr_Occurred()) SWIG_fail;
925 }
926 Py_INCREF(Py_None); resultobj = Py_None;
927 return resultobj;
928 fail:
929 return NULL;
930}
931
932
933static PyObject *_wrap_GDIObject_GetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
934 PyObject *resultobj;
935 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
936 bool result;
937 PyObject * obj0 = 0 ;
938 char *kwnames[] = {
939 (char *) "self", NULL
940 };
941
942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GDIObject_GetVisible",kwnames,&obj0)) goto fail;
15afbcd0
RD
943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGDIObject,
944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
945 {
946 PyThreadState* __tstate = wxPyBeginAllowThreads();
947 result = (bool)(arg1)->GetVisible();
948
949 wxPyEndAllowThreads(__tstate);
950 if (PyErr_Occurred()) SWIG_fail;
951 }
4f89f6a3
RD
952 {
953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
954 }
d14a1e28
RD
955 return resultobj;
956 fail:
957 return NULL;
958}
959
960
961static PyObject *_wrap_GDIObject_SetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
962 PyObject *resultobj;
963 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
964 bool arg2 ;
965 PyObject * obj0 = 0 ;
966 PyObject * obj1 = 0 ;
967 char *kwnames[] = {
968 (char *) "self",(char *) "visible", NULL
969 };
970
971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GDIObject_SetVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGDIObject,
973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
974 arg2 = (bool) SWIG_AsBool(obj1);
975 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
976 {
977 PyThreadState* __tstate = wxPyBeginAllowThreads();
978 (arg1)->SetVisible(arg2);
979
980 wxPyEndAllowThreads(__tstate);
981 if (PyErr_Occurred()) SWIG_fail;
982 }
983 Py_INCREF(Py_None); resultobj = Py_None;
984 return resultobj;
985 fail:
986 return NULL;
987}
988
989
990static PyObject *_wrap_GDIObject_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
991 PyObject *resultobj;
992 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
993 bool result;
994 PyObject * obj0 = 0 ;
995 char *kwnames[] = {
996 (char *) "self", NULL
997 };
998
999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GDIObject_IsNull",kwnames,&obj0)) goto fail;
15afbcd0
RD
1000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGDIObject,
1001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1002 {
1003 PyThreadState* __tstate = wxPyBeginAllowThreads();
1004 result = (bool)(arg1)->IsNull();
1005
1006 wxPyEndAllowThreads(__tstate);
1007 if (PyErr_Occurred()) SWIG_fail;
1008 }
4f89f6a3
RD
1009 {
1010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1011 }
d14a1e28
RD
1012 return resultobj;
1013 fail:
1014 return NULL;
1015}
1016
1017
1018static PyObject * GDIObject_swigregister(PyObject *self, PyObject *args) {
1019 PyObject *obj;
1020 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1021 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject, obj);
1022 Py_INCREF(obj);
1023 return Py_BuildValue((char *)"");
1024}
1025static PyObject *_wrap_new_Colour(PyObject *self, PyObject *args, PyObject *kwargs) {
1026 PyObject *resultobj;
1027 unsigned char arg1 = (unsigned char) 0 ;
1028 unsigned char arg2 = (unsigned char) 0 ;
1029 unsigned char arg3 = (unsigned char) 0 ;
1030 wxColour *result;
1031 PyObject * obj0 = 0 ;
1032 PyObject * obj1 = 0 ;
1033 PyObject * obj2 = 0 ;
1034 char *kwnames[] = {
1035 (char *) "red",(char *) "green",(char *) "blue", NULL
1036 };
1037
1038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_Colour",kwnames,&obj0,&obj1,&obj2)) goto fail;
1039 if (obj0) {
15afbcd0
RD
1040 arg1 = (unsigned char) SWIG_AsUnsignedChar(obj0);
1041 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1042 }
1043 if (obj1) {
15afbcd0
RD
1044 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
1045 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1046 }
1047 if (obj2) {
15afbcd0
RD
1048 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
1049 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1050 }
1051 {
1052 PyThreadState* __tstate = wxPyBeginAllowThreads();
1053 result = (wxColour *)new wxColour(arg1,arg2,arg3);
1054
1055 wxPyEndAllowThreads(__tstate);
1056 if (PyErr_Occurred()) SWIG_fail;
1057 }
15afbcd0 1058 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1059 return resultobj;
1060 fail:
1061 return NULL;
1062}
1063
1064
d14a1e28
RD
1065static PyObject *_wrap_new_NamedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1066 PyObject *resultobj;
1067 wxString *arg1 = 0 ;
1068 wxColour *result;
e811c8ce 1069 bool temp1 = False ;
d14a1e28
RD
1070 PyObject * obj0 = 0 ;
1071 char *kwnames[] = {
1072 (char *) "colorName", NULL
1073 };
1074
1075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NamedColour",kwnames,&obj0)) goto fail;
1076 {
1077 arg1 = wxString_in_helper(obj0);
1078 if (arg1 == NULL) SWIG_fail;
e811c8ce 1079 temp1 = True;
d14a1e28
RD
1080 }
1081 {
1082 PyThreadState* __tstate = wxPyBeginAllowThreads();
1083 result = (wxColour *)new wxColour((wxString const &)*arg1);
1084
1085 wxPyEndAllowThreads(__tstate);
1086 if (PyErr_Occurred()) SWIG_fail;
1087 }
15afbcd0 1088 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1089 {
1090 if (temp1)
1091 delete arg1;
1092 }
1093 return resultobj;
1094 fail:
1095 {
1096 if (temp1)
1097 delete arg1;
1098 }
1099 return NULL;
1100}
1101
1102
1103static PyObject *_wrap_new_ColourRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
1104 PyObject *resultobj;
1105 unsigned long arg1 ;
1106 wxColour *result;
1107 PyObject * obj0 = 0 ;
1108 char *kwnames[] = {
1109 (char *) "colRGB", NULL
1110 };
1111
1112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ColourRGB",kwnames,&obj0)) goto fail;
15afbcd0
RD
1113 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
1114 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1115 {
1116 PyThreadState* __tstate = wxPyBeginAllowThreads();
1117 result = (wxColour *)new wxColour(arg1);
1118
1119 wxPyEndAllowThreads(__tstate);
1120 if (PyErr_Occurred()) SWIG_fail;
1121 }
15afbcd0 1122 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1123 return resultobj;
1124 fail:
1125 return NULL;
1126}
1127
1128
b88bce5f
RD
1129static PyObject *_wrap_delete_Colour(PyObject *self, PyObject *args, PyObject *kwargs) {
1130 PyObject *resultobj;
1131 wxColour *arg1 = (wxColour *) 0 ;
1132 PyObject * obj0 = 0 ;
1133 char *kwnames[] = {
1134 (char *) "self", NULL
1135 };
1136
1137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Colour",kwnames,&obj0)) goto fail;
15afbcd0
RD
1138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b88bce5f
RD
1140 {
1141 PyThreadState* __tstate = wxPyBeginAllowThreads();
1142 delete arg1;
1143
1144 wxPyEndAllowThreads(__tstate);
1145 if (PyErr_Occurred()) SWIG_fail;
1146 }
1147 Py_INCREF(Py_None); resultobj = Py_None;
1148 return resultobj;
1149 fail:
1150 return NULL;
1151}
1152
1153
d14a1e28
RD
1154static PyObject *_wrap_Colour_Red(PyObject *self, PyObject *args, PyObject *kwargs) {
1155 PyObject *resultobj;
1156 wxColour *arg1 = (wxColour *) 0 ;
1157 unsigned char result;
1158 PyObject * obj0 = 0 ;
1159 char *kwnames[] = {
1160 (char *) "self", NULL
1161 };
1162
1163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Red",kwnames,&obj0)) goto fail;
15afbcd0
RD
1164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1166 {
1167 PyThreadState* __tstate = wxPyBeginAllowThreads();
1168 result = (unsigned char)(arg1)->Red();
1169
1170 wxPyEndAllowThreads(__tstate);
1171 if (PyErr_Occurred()) SWIG_fail;
1172 }
15afbcd0 1173 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
1174 return resultobj;
1175 fail:
1176 return NULL;
1177}
1178
1179
1180static PyObject *_wrap_Colour_Green(PyObject *self, PyObject *args, PyObject *kwargs) {
1181 PyObject *resultobj;
1182 wxColour *arg1 = (wxColour *) 0 ;
1183 unsigned char result;
1184 PyObject * obj0 = 0 ;
1185 char *kwnames[] = {
1186 (char *) "self", NULL
1187 };
1188
1189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Green",kwnames,&obj0)) goto fail;
15afbcd0
RD
1190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1192 {
1193 PyThreadState* __tstate = wxPyBeginAllowThreads();
1194 result = (unsigned char)(arg1)->Green();
1195
1196 wxPyEndAllowThreads(__tstate);
1197 if (PyErr_Occurred()) SWIG_fail;
1198 }
15afbcd0 1199 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
1200 return resultobj;
1201 fail:
1202 return NULL;
1203}
1204
1205
1206static PyObject *_wrap_Colour_Blue(PyObject *self, PyObject *args, PyObject *kwargs) {
1207 PyObject *resultobj;
1208 wxColour *arg1 = (wxColour *) 0 ;
1209 unsigned char result;
1210 PyObject * obj0 = 0 ;
1211 char *kwnames[] = {
1212 (char *) "self", NULL
1213 };
1214
1215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Blue",kwnames,&obj0)) goto fail;
15afbcd0
RD
1216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1218 {
1219 PyThreadState* __tstate = wxPyBeginAllowThreads();
1220 result = (unsigned char)(arg1)->Blue();
1221
1222 wxPyEndAllowThreads(__tstate);
1223 if (PyErr_Occurred()) SWIG_fail;
1224 }
15afbcd0 1225 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
1226 return resultobj;
1227 fail:
1228 return NULL;
1229}
1230
1231
1232static PyObject *_wrap_Colour_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
1233 PyObject *resultobj;
1234 wxColour *arg1 = (wxColour *) 0 ;
1235 bool result;
1236 PyObject * obj0 = 0 ;
1237 char *kwnames[] = {
1238 (char *) "self", NULL
1239 };
1240
1241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
1242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1244 {
1245 PyThreadState* __tstate = wxPyBeginAllowThreads();
1246 result = (bool)(arg1)->Ok();
1247
1248 wxPyEndAllowThreads(__tstate);
1249 if (PyErr_Occurred()) SWIG_fail;
1250 }
4f89f6a3
RD
1251 {
1252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1253 }
d14a1e28
RD
1254 return resultobj;
1255 fail:
1256 return NULL;
1257}
1258
1259
1260static PyObject *_wrap_Colour_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
1261 PyObject *resultobj;
1262 wxColour *arg1 = (wxColour *) 0 ;
1263 unsigned char arg2 ;
1264 unsigned char arg3 ;
1265 unsigned char arg4 ;
1266 PyObject * obj0 = 0 ;
1267 PyObject * obj1 = 0 ;
1268 PyObject * obj2 = 0 ;
1269 PyObject * obj3 = 0 ;
1270 char *kwnames[] = {
1271 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1272 };
1273
1274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Colour_Set",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
1275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1277 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
1278 if (PyErr_Occurred()) SWIG_fail;
1279 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
1280 if (PyErr_Occurred()) SWIG_fail;
1281 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
1282 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1283 {
1284 PyThreadState* __tstate = wxPyBeginAllowThreads();
1285 (arg1)->Set(arg2,arg3,arg4);
1286
1287 wxPyEndAllowThreads(__tstate);
1288 if (PyErr_Occurred()) SWIG_fail;
1289 }
1290 Py_INCREF(Py_None); resultobj = Py_None;
1291 return resultobj;
1292 fail:
1293 return NULL;
1294}
1295
1296
c9c7117a 1297static PyObject *_wrap_Colour_SetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1298 PyObject *resultobj;
1299 wxColour *arg1 = (wxColour *) 0 ;
1300 unsigned long arg2 ;
1301 PyObject * obj0 = 0 ;
1302 PyObject * obj1 = 0 ;
1303 char *kwnames[] = {
1304 (char *) "self",(char *) "colRGB", NULL
1305 };
1306
c9c7117a 1307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour_SetRGB",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1310 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
1311 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1312 {
1313 PyThreadState* __tstate = wxPyBeginAllowThreads();
1314 (arg1)->Set(arg2);
1315
1316 wxPyEndAllowThreads(__tstate);
1317 if (PyErr_Occurred()) SWIG_fail;
1318 }
1319 Py_INCREF(Py_None); resultobj = Py_None;
1320 return resultobj;
1321 fail:
1322 return NULL;
1323}
1324
1325
b88bce5f
RD
1326static PyObject *_wrap_Colour_SetFromName(PyObject *self, PyObject *args, PyObject *kwargs) {
1327 PyObject *resultobj;
1328 wxColour *arg1 = (wxColour *) 0 ;
1329 wxString *arg2 = 0 ;
1330 bool temp2 = False ;
1331 PyObject * obj0 = 0 ;
1332 PyObject * obj1 = 0 ;
1333 char *kwnames[] = {
1334 (char *) "self",(char *) "colourName", NULL
1335 };
1336
1337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour_SetFromName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b88bce5f
RD
1340 {
1341 arg2 = wxString_in_helper(obj1);
1342 if (arg2 == NULL) SWIG_fail;
1343 temp2 = True;
1344 }
1345 {
1346 PyThreadState* __tstate = wxPyBeginAllowThreads();
1347 (arg1)->InitFromName((wxString const &)*arg2);
1348
1349 wxPyEndAllowThreads(__tstate);
1350 if (PyErr_Occurred()) SWIG_fail;
1351 }
1352 Py_INCREF(Py_None); resultobj = Py_None;
1353 {
1354 if (temp2)
1355 delete arg2;
1356 }
1357 return resultobj;
1358 fail:
1359 {
1360 if (temp2)
1361 delete arg2;
1362 }
1363 return NULL;
1364}
1365
1366
1367static PyObject *_wrap_Colour_GetPixel(PyObject *self, PyObject *args, PyObject *kwargs) {
1368 PyObject *resultobj;
1369 wxColour *arg1 = (wxColour *) 0 ;
1370 long result;
1371 PyObject * obj0 = 0 ;
1372 char *kwnames[] = {
1373 (char *) "self", NULL
1374 };
1375
1376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_GetPixel",kwnames,&obj0)) goto fail;
15afbcd0
RD
1377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b88bce5f
RD
1379 {
1380 PyThreadState* __tstate = wxPyBeginAllowThreads();
1381 result = (long)((wxColour const *)arg1)->GetPixel();
1382
1383 wxPyEndAllowThreads(__tstate);
1384 if (PyErr_Occurred()) SWIG_fail;
1385 }
15afbcd0 1386 resultobj = SWIG_FromLong((long)result);
b88bce5f
RD
1387 return resultobj;
1388 fail:
1389 return NULL;
1390}
1391
1392
d14a1e28
RD
1393static PyObject *_wrap_Colour___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
1394 PyObject *resultobj;
1395 wxColour *arg1 = (wxColour *) 0 ;
1396 wxColour *arg2 = 0 ;
1397 bool result;
1398 wxColour temp2 ;
1399 PyObject * obj0 = 0 ;
1400 PyObject * obj1 = 0 ;
1401 char *kwnames[] = {
1402 (char *) "self",(char *) "colour", NULL
1403 };
1404
1405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1408 {
1409 arg2 = &temp2;
1410 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
1411 }
1412 {
1413 PyThreadState* __tstate = wxPyBeginAllowThreads();
1414 result = (bool)((wxColour const *)arg1)->operator ==((wxColour const &)*arg2);
1415
1416 wxPyEndAllowThreads(__tstate);
1417 if (PyErr_Occurred()) SWIG_fail;
1418 }
4f89f6a3
RD
1419 {
1420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1421 }
d14a1e28
RD
1422 return resultobj;
1423 fail:
1424 return NULL;
1425}
1426
1427
1428static PyObject *_wrap_Colour___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
1429 PyObject *resultobj;
1430 wxColour *arg1 = (wxColour *) 0 ;
1431 wxColour *arg2 = 0 ;
1432 bool result;
1433 wxColour temp2 ;
1434 PyObject * obj0 = 0 ;
1435 PyObject * obj1 = 0 ;
1436 char *kwnames[] = {
1437 (char *) "self",(char *) "colour", NULL
1438 };
1439
1440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1443 {
1444 arg2 = &temp2;
1445 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
1446 }
1447 {
1448 PyThreadState* __tstate = wxPyBeginAllowThreads();
1449 result = (bool)((wxColour const *)arg1)->operator !=((wxColour const &)*arg2);
1450
1451 wxPyEndAllowThreads(__tstate);
1452 if (PyErr_Occurred()) SWIG_fail;
1453 }
4f89f6a3
RD
1454 {
1455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1456 }
d14a1e28
RD
1457 return resultobj;
1458 fail:
1459 return NULL;
1460}
1461
1462
b88bce5f 1463static PyObject *_wrap_Colour_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
c9c7117a
RD
1464 PyObject *resultobj;
1465 wxColour *arg1 = (wxColour *) 0 ;
b88bce5f 1466 PyObject *result;
c9c7117a 1467 PyObject * obj0 = 0 ;
c9c7117a 1468 char *kwnames[] = {
b88bce5f 1469 (char *) "self", NULL
c9c7117a
RD
1470 };
1471
b88bce5f 1472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
1473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
1475 {
1476 PyThreadState* __tstate = wxPyBeginAllowThreads();
b88bce5f 1477 result = (PyObject *)wxColour_Get(arg1);
c9c7117a
RD
1478
1479 wxPyEndAllowThreads(__tstate);
1480 if (PyErr_Occurred()) SWIG_fail;
1481 }
b88bce5f 1482 resultobj = result;
c9c7117a
RD
1483 return resultobj;
1484 fail:
c9c7117a
RD
1485 return NULL;
1486}
1487
1488
b88bce5f 1489static PyObject *_wrap_Colour_GetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1490 PyObject *resultobj;
1491 wxColour *arg1 = (wxColour *) 0 ;
b88bce5f 1492 unsigned long result;
d14a1e28
RD
1493 PyObject * obj0 = 0 ;
1494 char *kwnames[] = {
1495 (char *) "self", NULL
1496 };
1497
b88bce5f 1498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_GetRGB",kwnames,&obj0)) goto fail;
15afbcd0
RD
1499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1501 {
1502 PyThreadState* __tstate = wxPyBeginAllowThreads();
b88bce5f 1503 result = (unsigned long)wxColour_GetRGB(arg1);
d14a1e28
RD
1504
1505 wxPyEndAllowThreads(__tstate);
1506 if (PyErr_Occurred()) SWIG_fail;
1507 }
15afbcd0 1508 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
1509 return resultobj;
1510 fail:
1511 return NULL;
1512}
1513
1514
1515static PyObject * Colour_swigregister(PyObject *self, PyObject *args) {
1516 PyObject *obj;
1517 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1518 SWIG_TypeClientData(SWIGTYPE_p_wxColour, obj);
1519 Py_INCREF(obj);
1520 return Py_BuildValue((char *)"");
1521}
1522static PyObject *_wrap_new_Palette(PyObject *self, PyObject *args, PyObject *kwargs) {
1523 PyObject *resultobj;
1524 int arg1 ;
1525 unsigned char *arg2 = (unsigned char *) 0 ;
1526 unsigned char *arg3 = (unsigned char *) 0 ;
1527 unsigned char *arg4 = (unsigned char *) 0 ;
1528 wxPalette *result;
994141e6 1529 PyObject * obj0 = 0 ;
d14a1e28
RD
1530 PyObject * obj1 = 0 ;
1531 PyObject * obj2 = 0 ;
1532 PyObject * obj3 = 0 ;
1533 char *kwnames[] = {
1534 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1535 };
1536
994141e6 1537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_Palette",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
1538 arg1 = (int) SWIG_AsInt(obj0);
1539 if (PyErr_Occurred()) SWIG_fail;
1540 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_char,
1541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1542 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_unsigned_char,
1543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1544 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_unsigned_char,
1545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1546 {
1547 PyThreadState* __tstate = wxPyBeginAllowThreads();
1548 result = (wxPalette *)new wxPalette(arg1,(unsigned char const *)arg2,(unsigned char const *)arg3,(unsigned char const *)arg4);
1549
1550 wxPyEndAllowThreads(__tstate);
1551 if (PyErr_Occurred()) SWIG_fail;
1552 }
15afbcd0 1553 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPalette, 1);
d14a1e28
RD
1554 return resultobj;
1555 fail:
1556 return NULL;
1557}
1558
1559
1560static PyObject *_wrap_delete_Palette(PyObject *self, PyObject *args, PyObject *kwargs) {
1561 PyObject *resultobj;
1562 wxPalette *arg1 = (wxPalette *) 0 ;
1563 PyObject * obj0 = 0 ;
1564 char *kwnames[] = {
1565 (char *) "self", NULL
1566 };
1567
1568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Palette",kwnames,&obj0)) goto fail;
15afbcd0
RD
1569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPalette,
1570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1571 {
1572 PyThreadState* __tstate = wxPyBeginAllowThreads();
1573 delete arg1;
1574
1575 wxPyEndAllowThreads(__tstate);
1576 if (PyErr_Occurred()) SWIG_fail;
1577 }
1578 Py_INCREF(Py_None); resultobj = Py_None;
1579 return resultobj;
1580 fail:
1581 return NULL;
1582}
1583
1584
1585static PyObject *_wrap_Palette_GetPixel(PyObject *self, PyObject *args, PyObject *kwargs) {
1586 PyObject *resultobj;
1587 wxPalette *arg1 = (wxPalette *) 0 ;
1588 byte arg2 ;
1589 byte arg3 ;
1590 byte arg4 ;
1591 int result;
1592 PyObject * obj0 = 0 ;
1593 PyObject * obj1 = 0 ;
1594 PyObject * obj2 = 0 ;
1595 PyObject * obj3 = 0 ;
1596 char *kwnames[] = {
1597 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1598 };
1599
1600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Palette_GetPixel",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
1601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPalette,
1602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1603 arg2 = (byte) SWIG_AsUnsignedChar(obj1);
1604 if (PyErr_Occurred()) SWIG_fail;
1605 arg3 = (byte) SWIG_AsUnsignedChar(obj2);
1606 if (PyErr_Occurred()) SWIG_fail;
1607 arg4 = (byte) SWIG_AsUnsignedChar(obj3);
1608 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1609 {
1610 PyThreadState* __tstate = wxPyBeginAllowThreads();
1611 result = (int)(arg1)->GetPixel(arg2,arg3,arg4);
1612
1613 wxPyEndAllowThreads(__tstate);
1614 if (PyErr_Occurred()) SWIG_fail;
1615 }
15afbcd0 1616 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1617 return resultobj;
1618 fail:
1619 return NULL;
1620}
1621
1622
1623static PyObject *_wrap_Palette_GetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
1624 PyObject *resultobj;
1625 wxPalette *arg1 = (wxPalette *) 0 ;
1626 int arg2 ;
1627 byte *arg3 = (byte *) 0 ;
1628 byte *arg4 = (byte *) 0 ;
1629 byte *arg5 = (byte *) 0 ;
1630 bool result;
1631 byte temp3 ;
1632 byte temp4 ;
1633 byte temp5 ;
1634 PyObject * obj0 = 0 ;
994141e6 1635 PyObject * obj1 = 0 ;
d14a1e28
RD
1636 char *kwnames[] = {
1637 (char *) "self",(char *) "pixel", NULL
1638 };
1639
1640 arg3 = &temp3;
1641 arg4 = &temp4;
1642 arg5 = &temp5;
994141e6 1643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Palette_GetRGB",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPalette,
1645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1646 arg2 = (int) SWIG_AsInt(obj1);
1647 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1648 {
1649 PyThreadState* __tstate = wxPyBeginAllowThreads();
1650 result = (bool)(arg1)->GetRGB(arg2,arg3,arg4,arg5);
1651
1652 wxPyEndAllowThreads(__tstate);
1653 if (PyErr_Occurred()) SWIG_fail;
1654 }
4f89f6a3
RD
1655 {
1656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1657 }
d14a1e28
RD
1658 {
1659 PyObject *o = PyInt_FromLong((long) (*arg3));
1660 resultobj = t_output_helper(resultobj,o);
1661 }
1662 {
1663 PyObject *o = PyInt_FromLong((long) (*arg4));
1664 resultobj = t_output_helper(resultobj,o);
1665 }
1666 {
1667 PyObject *o = PyInt_FromLong((long) (*arg5));
1668 resultobj = t_output_helper(resultobj,o);
1669 }
1670 return resultobj;
1671 fail:
1672 return NULL;
1673}
1674
1675
1676static PyObject *_wrap_Palette_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
1677 PyObject *resultobj;
1678 wxPalette *arg1 = (wxPalette *) 0 ;
1679 bool result;
1680 PyObject * obj0 = 0 ;
1681 char *kwnames[] = {
1682 (char *) "self", NULL
1683 };
1684
1685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Palette_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
1686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPalette,
1687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1688 {
1689 PyThreadState* __tstate = wxPyBeginAllowThreads();
1690 result = (bool)(arg1)->Ok();
1691
1692 wxPyEndAllowThreads(__tstate);
1693 if (PyErr_Occurred()) SWIG_fail;
1694 }
4f89f6a3
RD
1695 {
1696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1697 }
d14a1e28
RD
1698 return resultobj;
1699 fail:
1700 return NULL;
1701}
1702
1703
1704static PyObject * Palette_swigregister(PyObject *self, PyObject *args) {
1705 PyObject *obj;
1706 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1707 SWIG_TypeClientData(SWIGTYPE_p_wxPalette, obj);
1708 Py_INCREF(obj);
1709 return Py_BuildValue((char *)"");
1710}
1711static PyObject *_wrap_new_Pen(PyObject *self, PyObject *args, PyObject *kwargs) {
1712 PyObject *resultobj;
1713 wxColour *arg1 = 0 ;
1714 int arg2 = (int) 1 ;
1715 int arg3 = (int) wxSOLID ;
1716 wxPen *result;
1717 wxColour temp1 ;
1718 PyObject * obj0 = 0 ;
994141e6
RD
1719 PyObject * obj1 = 0 ;
1720 PyObject * obj2 = 0 ;
d14a1e28
RD
1721 char *kwnames[] = {
1722 (char *) "colour",(char *) "width",(char *) "style", NULL
1723 };
1724
994141e6 1725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Pen",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
1726 {
1727 arg1 = &temp1;
1728 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
1729 }
994141e6 1730 if (obj1) {
15afbcd0
RD
1731 arg2 = (int) SWIG_AsInt(obj1);
1732 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
1733 }
1734 if (obj2) {
15afbcd0
RD
1735 arg3 = (int) SWIG_AsInt(obj2);
1736 if (PyErr_Occurred()) SWIG_fail;
994141e6 1737 }
d14a1e28
RD
1738 {
1739 PyThreadState* __tstate = wxPyBeginAllowThreads();
1740 result = (wxPen *)new wxPen(*arg1,arg2,arg3);
1741
1742 wxPyEndAllowThreads(__tstate);
1743 if (PyErr_Occurred()) SWIG_fail;
1744 }
15afbcd0 1745 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 1);
d14a1e28
RD
1746 return resultobj;
1747 fail:
1748 return NULL;
1749}
1750
1751
1752static PyObject *_wrap_delete_Pen(PyObject *self, PyObject *args, PyObject *kwargs) {
1753 PyObject *resultobj;
1754 wxPen *arg1 = (wxPen *) 0 ;
1755 PyObject * obj0 = 0 ;
1756 char *kwnames[] = {
1757 (char *) "self", NULL
1758 };
1759
1760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Pen",kwnames,&obj0)) goto fail;
15afbcd0
RD
1761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1763 {
1764 PyThreadState* __tstate = wxPyBeginAllowThreads();
1765 delete arg1;
1766
1767 wxPyEndAllowThreads(__tstate);
1768 if (PyErr_Occurred()) SWIG_fail;
1769 }
1770 Py_INCREF(Py_None); resultobj = Py_None;
1771 return resultobj;
1772 fail:
1773 return NULL;
1774}
1775
1776
1777static PyObject *_wrap_Pen_GetCap(PyObject *self, PyObject *args, PyObject *kwargs) {
1778 PyObject *resultobj;
1779 wxPen *arg1 = (wxPen *) 0 ;
1780 int result;
1781 PyObject * obj0 = 0 ;
1782 char *kwnames[] = {
1783 (char *) "self", NULL
1784 };
1785
1786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetCap",kwnames,&obj0)) goto fail;
15afbcd0
RD
1787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1789 {
1790 PyThreadState* __tstate = wxPyBeginAllowThreads();
1791 result = (int)(arg1)->GetCap();
1792
1793 wxPyEndAllowThreads(__tstate);
1794 if (PyErr_Occurred()) SWIG_fail;
1795 }
15afbcd0 1796 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1797 return resultobj;
1798 fail:
1799 return NULL;
1800}
1801
1802
1803static PyObject *_wrap_Pen_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1804 PyObject *resultobj;
1805 wxPen *arg1 = (wxPen *) 0 ;
1806 wxColour result;
1807 PyObject * obj0 = 0 ;
1808 char *kwnames[] = {
1809 (char *) "self", NULL
1810 };
1811
1812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
1813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1815 {
1816 PyThreadState* __tstate = wxPyBeginAllowThreads();
1817 result = (arg1)->GetColour();
1818
1819 wxPyEndAllowThreads(__tstate);
1820 if (PyErr_Occurred()) SWIG_fail;
1821 }
1822 {
1823 wxColour * resultptr;
1824 resultptr = new wxColour((wxColour &) result);
15afbcd0 1825 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1826 }
1827 return resultobj;
1828 fail:
1829 return NULL;
1830}
1831
1832
1833static PyObject *_wrap_Pen_GetJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
1834 PyObject *resultobj;
1835 wxPen *arg1 = (wxPen *) 0 ;
1836 int result;
1837 PyObject * obj0 = 0 ;
1838 char *kwnames[] = {
1839 (char *) "self", NULL
1840 };
1841
1842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetJoin",kwnames,&obj0)) goto fail;
15afbcd0
RD
1843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1845 {
1846 PyThreadState* __tstate = wxPyBeginAllowThreads();
1847 result = (int)(arg1)->GetJoin();
1848
1849 wxPyEndAllowThreads(__tstate);
1850 if (PyErr_Occurred()) SWIG_fail;
1851 }
15afbcd0 1852 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1853 return resultobj;
1854 fail:
1855 return NULL;
1856}
1857
1858
1859static PyObject *_wrap_Pen_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1860 PyObject *resultobj;
1861 wxPen *arg1 = (wxPen *) 0 ;
1862 int result;
1863 PyObject * obj0 = 0 ;
1864 char *kwnames[] = {
1865 (char *) "self", NULL
1866 };
1867
1868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
1869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1871 {
1872 PyThreadState* __tstate = wxPyBeginAllowThreads();
1873 result = (int)(arg1)->GetStyle();
1874
1875 wxPyEndAllowThreads(__tstate);
1876 if (PyErr_Occurred()) SWIG_fail;
1877 }
15afbcd0 1878 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1879 return resultobj;
1880 fail:
1881 return NULL;
1882}
1883
1884
1885static PyObject *_wrap_Pen_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1886 PyObject *resultobj;
1887 wxPen *arg1 = (wxPen *) 0 ;
1888 int result;
1889 PyObject * obj0 = 0 ;
1890 char *kwnames[] = {
1891 (char *) "self", NULL
1892 };
1893
1894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
1895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1897 {
1898 PyThreadState* __tstate = wxPyBeginAllowThreads();
1899 result = (int)(arg1)->GetWidth();
1900
1901 wxPyEndAllowThreads(__tstate);
1902 if (PyErr_Occurred()) SWIG_fail;
1903 }
15afbcd0 1904 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1905 return resultobj;
1906 fail:
1907 return NULL;
1908}
1909
1910
1911static PyObject *_wrap_Pen_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
1912 PyObject *resultobj;
1913 wxPen *arg1 = (wxPen *) 0 ;
1914 bool result;
1915 PyObject * obj0 = 0 ;
1916 char *kwnames[] = {
1917 (char *) "self", NULL
1918 };
1919
1920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
1921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1923 {
1924 PyThreadState* __tstate = wxPyBeginAllowThreads();
1925 result = (bool)(arg1)->Ok();
1926
1927 wxPyEndAllowThreads(__tstate);
1928 if (PyErr_Occurred()) SWIG_fail;
1929 }
4f89f6a3
RD
1930 {
1931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1932 }
d14a1e28
RD
1933 return resultobj;
1934 fail:
1935 return NULL;
1936}
1937
1938
1939static PyObject *_wrap_Pen_SetCap(PyObject *self, PyObject *args, PyObject *kwargs) {
1940 PyObject *resultobj;
1941 wxPen *arg1 = (wxPen *) 0 ;
1942 int arg2 ;
1943 PyObject * obj0 = 0 ;
994141e6 1944 PyObject * obj1 = 0 ;
d14a1e28
RD
1945 char *kwnames[] = {
1946 (char *) "self",(char *) "cap_style", NULL
1947 };
1948
994141e6 1949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetCap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1952 arg2 = (int) SWIG_AsInt(obj1);
1953 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1954 {
1955 PyThreadState* __tstate = wxPyBeginAllowThreads();
1956 (arg1)->SetCap(arg2);
1957
1958 wxPyEndAllowThreads(__tstate);
1959 if (PyErr_Occurred()) SWIG_fail;
1960 }
1961 Py_INCREF(Py_None); resultobj = Py_None;
1962 return resultobj;
1963 fail:
1964 return NULL;
1965}
1966
1967
1968static PyObject *_wrap_Pen_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1969 PyObject *resultobj;
1970 wxPen *arg1 = (wxPen *) 0 ;
1971 wxColour *arg2 = 0 ;
1972 wxColour temp2 ;
1973 PyObject * obj0 = 0 ;
1974 PyObject * obj1 = 0 ;
1975 char *kwnames[] = {
1976 (char *) "self",(char *) "colour", NULL
1977 };
1978
1979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1982 {
1983 arg2 = &temp2;
1984 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
1985 }
1986 {
1987 PyThreadState* __tstate = wxPyBeginAllowThreads();
1988 (arg1)->SetColour(*arg2);
1989
1990 wxPyEndAllowThreads(__tstate);
1991 if (PyErr_Occurred()) SWIG_fail;
1992 }
1993 Py_INCREF(Py_None); resultobj = Py_None;
1994 return resultobj;
1995 fail:
1996 return NULL;
1997}
1998
1999
2000static PyObject *_wrap_Pen_SetJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
2001 PyObject *resultobj;
2002 wxPen *arg1 = (wxPen *) 0 ;
2003 int arg2 ;
2004 PyObject * obj0 = 0 ;
994141e6 2005 PyObject * obj1 = 0 ;
d14a1e28
RD
2006 char *kwnames[] = {
2007 (char *) "self",(char *) "join_style", NULL
2008 };
2009
994141e6 2010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetJoin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2013 arg2 = (int) SWIG_AsInt(obj1);
2014 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2015 {
2016 PyThreadState* __tstate = wxPyBeginAllowThreads();
2017 (arg1)->SetJoin(arg2);
2018
2019 wxPyEndAllowThreads(__tstate);
2020 if (PyErr_Occurred()) SWIG_fail;
2021 }
2022 Py_INCREF(Py_None); resultobj = Py_None;
2023 return resultobj;
2024 fail:
2025 return NULL;
2026}
2027
2028
2029static PyObject *_wrap_Pen_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2030 PyObject *resultobj;
2031 wxPen *arg1 = (wxPen *) 0 ;
2032 int arg2 ;
2033 PyObject * obj0 = 0 ;
994141e6 2034 PyObject * obj1 = 0 ;
d14a1e28
RD
2035 char *kwnames[] = {
2036 (char *) "self",(char *) "style", NULL
2037 };
2038
994141e6 2039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2042 arg2 = (int) SWIG_AsInt(obj1);
2043 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2044 {
2045 PyThreadState* __tstate = wxPyBeginAllowThreads();
2046 (arg1)->SetStyle(arg2);
2047
2048 wxPyEndAllowThreads(__tstate);
2049 if (PyErr_Occurred()) SWIG_fail;
2050 }
2051 Py_INCREF(Py_None); resultobj = Py_None;
2052 return resultobj;
2053 fail:
2054 return NULL;
2055}
2056
2057
2058static PyObject *_wrap_Pen_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2059 PyObject *resultobj;
2060 wxPen *arg1 = (wxPen *) 0 ;
2061 int arg2 ;
2062 PyObject * obj0 = 0 ;
994141e6 2063 PyObject * obj1 = 0 ;
d14a1e28
RD
2064 char *kwnames[] = {
2065 (char *) "self",(char *) "width", NULL
2066 };
2067
994141e6 2068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2071 arg2 = (int) SWIG_AsInt(obj1);
2072 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2073 {
2074 PyThreadState* __tstate = wxPyBeginAllowThreads();
2075 (arg1)->SetWidth(arg2);
2076
2077 wxPyEndAllowThreads(__tstate);
2078 if (PyErr_Occurred()) SWIG_fail;
2079 }
2080 Py_INCREF(Py_None); resultobj = Py_None;
2081 return resultobj;
2082 fail:
2083 return NULL;
2084}
2085
2086
2087static PyObject *_wrap_Pen_SetDashes(PyObject *self, PyObject *args, PyObject *kwargs) {
2088 PyObject *resultobj;
2089 wxPen *arg1 = (wxPen *) 0 ;
2090 int arg2 ;
2091 wxDash *arg3 = (wxDash *) 0 ;
2092 PyObject * obj0 = 0 ;
2093 PyObject * obj1 = 0 ;
2094 char *kwnames[] = {
2095 (char *) "self",(char *) "dashes", NULL
2096 };
2097
2098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetDashes",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2101 {
2102 arg2 = PyList_Size(obj1);
2103 arg3 = (wxDash*)byte_LIST_helper(obj1);
2104 if (arg3 == NULL) SWIG_fail;
2105 }
2106 {
2107 PyThreadState* __tstate = wxPyBeginAllowThreads();
2108 (arg1)->SetDashes(arg2,arg3);
2109
2110 wxPyEndAllowThreads(__tstate);
2111 if (PyErr_Occurred()) SWIG_fail;
2112 }
2113 Py_INCREF(Py_None); resultobj = Py_None;
2114 {
2115 if (arg3) delete [] arg3;
2116 }
2117 return resultobj;
2118 fail:
2119 {
2120 if (arg3) delete [] arg3;
2121 }
2122 return NULL;
2123}
2124
2125
2126static PyObject *_wrap_Pen_GetDashes(PyObject *self, PyObject *args, PyObject *kwargs) {
2127 PyObject *resultobj;
2128 wxPen *arg1 = (wxPen *) 0 ;
2129 PyObject *result;
2130 PyObject * obj0 = 0 ;
2131 char *kwnames[] = {
2132 (char *) "self", NULL
2133 };
2134
2135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetDashes",kwnames,&obj0)) goto fail;
15afbcd0
RD
2136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2138 {
2139 PyThreadState* __tstate = wxPyBeginAllowThreads();
2140 result = (PyObject *)wxPen_GetDashes(arg1);
2141
2142 wxPyEndAllowThreads(__tstate);
2143 if (PyErr_Occurred()) SWIG_fail;
2144 }
2145 resultobj = result;
2146 return resultobj;
2147 fail:
2148 return NULL;
2149}
2150
2151
66c033b4 2152static PyObject *_wrap_Pen__SetDashes(PyObject *self, PyObject *args, PyObject *kwargs) {
22faec7d
RD
2153 PyObject *resultobj;
2154 wxPen *arg1 = (wxPen *) 0 ;
66c033b4
RD
2155 PyObject *arg2 = (PyObject *) 0 ;
2156 PyObject *arg3 = (PyObject *) 0 ;
22faec7d
RD
2157 PyObject * obj0 = 0 ;
2158 PyObject * obj1 = 0 ;
66c033b4 2159 PyObject * obj2 = 0 ;
22faec7d 2160 char *kwnames[] = {
66c033b4 2161 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
22faec7d
RD
2162 };
2163
66c033b4 2164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Pen__SetDashes",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
66c033b4
RD
2167 arg2 = obj1;
2168 arg3 = obj2;
3adfb63b
RD
2169 {
2170 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 2171 wxPen__SetDashes(arg1,arg2,arg3);
3adfb63b
RD
2172
2173 wxPyEndAllowThreads(__tstate);
2174 if (PyErr_Occurred()) SWIG_fail;
2175 }
66c033b4 2176 Py_INCREF(Py_None); resultobj = Py_None;
3adfb63b
RD
2177 return resultobj;
2178 fail:
2179 return NULL;
2180}
2181
2182
c9c7117a
RD
2183static PyObject *_wrap_Pen_GetDashCount(PyObject *self, PyObject *args, PyObject *kwargs) {
2184 PyObject *resultobj;
2185 wxPen *arg1 = (wxPen *) 0 ;
2186 int result;
2187 PyObject * obj0 = 0 ;
2188 char *kwnames[] = {
2189 (char *) "self", NULL
2190 };
2191
2192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetDashCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
2193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
2195 {
2196 PyThreadState* __tstate = wxPyBeginAllowThreads();
2197 result = (int)((wxPen const *)arg1)->GetDashCount();
2198
2199 wxPyEndAllowThreads(__tstate);
2200 if (PyErr_Occurred()) SWIG_fail;
2201 }
15afbcd0 2202 resultobj = SWIG_FromInt((int)result);
c9c7117a
RD
2203 return resultobj;
2204 fail:
2205 return NULL;
2206}
2207
2208
66c033b4 2209static PyObject *_wrap_Pen___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 2210 PyObject *resultobj;
66c033b4
RD
2211 wxPen *arg1 = (wxPen *) 0 ;
2212 wxPen *arg2 = (wxPen *) 0 ;
2213 bool result;
d14a1e28 2214 PyObject * obj0 = 0 ;
994141e6 2215 PyObject * obj1 = 0 ;
d14a1e28 2216 char *kwnames[] = {
66c033b4 2217 (char *) "self",(char *) "other", NULL
d14a1e28
RD
2218 };
2219
66c033b4
RD
2220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen___eq__",kwnames,&obj0,&obj1)) goto fail;
2221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2223 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPen,
2224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2225 {
2226 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 2227 result = (bool)wxPen___eq__(arg1,(wxPen const *)arg2);
d14a1e28
RD
2228
2229 wxPyEndAllowThreads(__tstate);
2230 if (PyErr_Occurred()) SWIG_fail;
2231 }
d14a1e28 2232 {
66c033b4 2233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28 2234 }
d14a1e28
RD
2235 return resultobj;
2236 fail:
2237 return NULL;
2238}
2239
2240
66c033b4 2241static PyObject *_wrap_Pen___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 2242 PyObject *resultobj;
66c033b4
RD
2243 wxPen *arg1 = (wxPen *) 0 ;
2244 wxPen *arg2 = (wxPen *) 0 ;
2245 bool result;
d14a1e28
RD
2246 PyObject * obj0 = 0 ;
2247 PyObject * obj1 = 0 ;
2248 char *kwnames[] = {
66c033b4 2249 (char *) "self",(char *) "other", NULL
d14a1e28
RD
2250 };
2251
66c033b4
RD
2252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen___ne__",kwnames,&obj0,&obj1)) goto fail;
2253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2255 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPen,
15afbcd0 2256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2257 {
2258 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 2259 result = (bool)wxPen___ne__(arg1,(wxPen const *)arg2);
d14a1e28
RD
2260
2261 wxPyEndAllowThreads(__tstate);
2262 if (PyErr_Occurred()) SWIG_fail;
2263 }
d14a1e28 2264 {
66c033b4 2265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2266 }
2267 return resultobj;
2268 fail:
d14a1e28
RD
2269 return NULL;
2270}
2271
2272
66c033b4 2273static PyObject * Pen_swigregister(PyObject *self, PyObject *args) {
d14a1e28
RD
2274 PyObject *obj;
2275 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
66c033b4 2276 SWIG_TypeClientData(SWIGTYPE_p_wxPen, obj);
d14a1e28
RD
2277 Py_INCREF(obj);
2278 return Py_BuildValue((char *)"");
2279}
2280static PyObject *_wrap_new_Brush(PyObject *self, PyObject *args, PyObject *kwargs) {
2281 PyObject *resultobj;
2282 wxColour *arg1 = 0 ;
2283 int arg2 = (int) wxSOLID ;
2284 wxBrush *result;
2285 wxColour temp1 ;
2286 PyObject * obj0 = 0 ;
994141e6 2287 PyObject * obj1 = 0 ;
d14a1e28
RD
2288 char *kwnames[] = {
2289 (char *) "colour",(char *) "style", NULL
2290 };
2291
994141e6 2292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Brush",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2293 {
2294 arg1 = &temp1;
2295 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
2296 }
994141e6 2297 if (obj1) {
15afbcd0
RD
2298 arg2 = (int) SWIG_AsInt(obj1);
2299 if (PyErr_Occurred()) SWIG_fail;
994141e6 2300 }
d14a1e28
RD
2301 {
2302 PyThreadState* __tstate = wxPyBeginAllowThreads();
2303 result = (wxBrush *)new wxBrush((wxColour const &)*arg1,arg2);
2304
2305 wxPyEndAllowThreads(__tstate);
2306 if (PyErr_Occurred()) SWIG_fail;
2307 }
15afbcd0 2308 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 1);
d14a1e28
RD
2309 return resultobj;
2310 fail:
2311 return NULL;
2312}
2313
2314
2315static PyObject *_wrap_delete_Brush(PyObject *self, PyObject *args, PyObject *kwargs) {
2316 PyObject *resultobj;
2317 wxBrush *arg1 = (wxBrush *) 0 ;
2318 PyObject * obj0 = 0 ;
2319 char *kwnames[] = {
2320 (char *) "self", NULL
2321 };
2322
2323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Brush",kwnames,&obj0)) goto fail;
15afbcd0
RD
2324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2326 {
2327 PyThreadState* __tstate = wxPyBeginAllowThreads();
2328 delete arg1;
2329
2330 wxPyEndAllowThreads(__tstate);
2331 if (PyErr_Occurred()) SWIG_fail;
2332 }
2333 Py_INCREF(Py_None); resultobj = Py_None;
2334 return resultobj;
2335 fail:
2336 return NULL;
2337}
2338
2339
2340static PyObject *_wrap_Brush_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2341 PyObject *resultobj;
2342 wxBrush *arg1 = (wxBrush *) 0 ;
2343 wxColour *arg2 = 0 ;
2344 wxColour temp2 ;
2345 PyObject * obj0 = 0 ;
2346 PyObject * obj1 = 0 ;
2347 char *kwnames[] = {
2348 (char *) "self",(char *) "col", NULL
2349 };
2350
2351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Brush_SetColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2354 {
2355 arg2 = &temp2;
2356 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2357 }
2358 {
2359 PyThreadState* __tstate = wxPyBeginAllowThreads();
2360 (arg1)->SetColour((wxColour const &)*arg2);
2361
2362 wxPyEndAllowThreads(__tstate);
2363 if (PyErr_Occurred()) SWIG_fail;
2364 }
2365 Py_INCREF(Py_None); resultobj = Py_None;
2366 return resultobj;
2367 fail:
2368 return NULL;
2369}
2370
2371
2372static PyObject *_wrap_Brush_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2373 PyObject *resultobj;
2374 wxBrush *arg1 = (wxBrush *) 0 ;
2375 int arg2 ;
2376 PyObject * obj0 = 0 ;
994141e6 2377 PyObject * obj1 = 0 ;
d14a1e28
RD
2378 char *kwnames[] = {
2379 (char *) "self",(char *) "style", NULL
2380 };
2381
994141e6 2382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Brush_SetStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2385 arg2 = (int) SWIG_AsInt(obj1);
2386 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2387 {
2388 PyThreadState* __tstate = wxPyBeginAllowThreads();
2389 (arg1)->SetStyle(arg2);
2390
2391 wxPyEndAllowThreads(__tstate);
2392 if (PyErr_Occurred()) SWIG_fail;
2393 }
2394 Py_INCREF(Py_None); resultobj = Py_None;
2395 return resultobj;
2396 fail:
2397 return NULL;
2398}
2399
2400
2401static PyObject *_wrap_Brush_SetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
2402 PyObject *resultobj;
2403 wxBrush *arg1 = (wxBrush *) 0 ;
2404 wxBitmap *arg2 = 0 ;
2405 PyObject * obj0 = 0 ;
2406 PyObject * obj1 = 0 ;
2407 char *kwnames[] = {
2408 (char *) "self",(char *) "stipple", NULL
2409 };
2410
2411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Brush_SetStipple",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2414 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
2415 SWIG_POINTER_EXCEPTION | 0)) == -1)
2416 SWIG_fail;
d14a1e28 2417 if (arg2 == NULL) {
15afbcd0
RD
2418 PyErr_SetString(PyExc_TypeError,"null reference");
2419 SWIG_fail;
d14a1e28
RD
2420 }
2421 {
2422 PyThreadState* __tstate = wxPyBeginAllowThreads();
2423 (arg1)->SetStipple((wxBitmap const &)*arg2);
2424
2425 wxPyEndAllowThreads(__tstate);
2426 if (PyErr_Occurred()) SWIG_fail;
2427 }
2428 Py_INCREF(Py_None); resultobj = Py_None;
2429 return resultobj;
2430 fail:
2431 return NULL;
2432}
2433
2434
2435static PyObject *_wrap_Brush_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2436 PyObject *resultobj;
2437 wxBrush *arg1 = (wxBrush *) 0 ;
2438 wxColour result;
2439 PyObject * obj0 = 0 ;
2440 char *kwnames[] = {
2441 (char *) "self", NULL
2442 };
2443
2444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_GetColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
2445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2447 {
2448 PyThreadState* __tstate = wxPyBeginAllowThreads();
2449 result = ((wxBrush const *)arg1)->GetColour();
2450
2451 wxPyEndAllowThreads(__tstate);
2452 if (PyErr_Occurred()) SWIG_fail;
2453 }
2454 {
2455 wxColour * resultptr;
2456 resultptr = new wxColour((wxColour &) result);
15afbcd0 2457 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
2458 }
2459 return resultobj;
2460 fail:
2461 return NULL;
2462}
2463
2464
2465static PyObject *_wrap_Brush_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2466 PyObject *resultobj;
2467 wxBrush *arg1 = (wxBrush *) 0 ;
2468 int result;
2469 PyObject * obj0 = 0 ;
2470 char *kwnames[] = {
2471 (char *) "self", NULL
2472 };
2473
2474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
2475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2477 {
2478 PyThreadState* __tstate = wxPyBeginAllowThreads();
2479 result = (int)((wxBrush const *)arg1)->GetStyle();
2480
2481 wxPyEndAllowThreads(__tstate);
2482 if (PyErr_Occurred()) SWIG_fail;
2483 }
15afbcd0 2484 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2485 return resultobj;
2486 fail:
2487 return NULL;
2488}
2489
2490
2491static PyObject *_wrap_Brush_GetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
2492 PyObject *resultobj;
2493 wxBrush *arg1 = (wxBrush *) 0 ;
2494 wxBitmap *result;
2495 PyObject * obj0 = 0 ;
2496 char *kwnames[] = {
2497 (char *) "self", NULL
2498 };
2499
2500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_GetStipple",kwnames,&obj0)) goto fail;
15afbcd0
RD
2501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2503 {
2504 PyThreadState* __tstate = wxPyBeginAllowThreads();
2505 result = (wxBitmap *)((wxBrush const *)arg1)->GetStipple();
2506
2507 wxPyEndAllowThreads(__tstate);
2508 if (PyErr_Occurred()) SWIG_fail;
2509 }
15afbcd0 2510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 0);
d14a1e28
RD
2511 return resultobj;
2512 fail:
2513 return NULL;
2514}
2515
2516
2517static PyObject *_wrap_Brush_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
2518 PyObject *resultobj;
2519 wxBrush *arg1 = (wxBrush *) 0 ;
2520 bool result;
2521 PyObject * obj0 = 0 ;
2522 char *kwnames[] = {
2523 (char *) "self", NULL
2524 };
2525
2526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
2527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2529 {
2530 PyThreadState* __tstate = wxPyBeginAllowThreads();
2531 result = (bool)(arg1)->Ok();
2532
2533 wxPyEndAllowThreads(__tstate);
2534 if (PyErr_Occurred()) SWIG_fail;
2535 }
4f89f6a3
RD
2536 {
2537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2538 }
d14a1e28
RD
2539 return resultobj;
2540 fail:
2541 return NULL;
2542}
2543
2544
2545static PyObject * Brush_swigregister(PyObject *self, PyObject *args) {
2546 PyObject *obj;
2547 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2548 SWIG_TypeClientData(SWIGTYPE_p_wxBrush, obj);
2549 Py_INCREF(obj);
2550 return Py_BuildValue((char *)"");
2551}
2552static PyObject *_wrap_new_Bitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2553 PyObject *resultobj;
2554 wxString *arg1 = 0 ;
2555 int arg2 = (int) wxBITMAP_TYPE_ANY ;
2556 wxBitmap *result;
e811c8ce 2557 bool temp1 = False ;
d14a1e28 2558 PyObject * obj0 = 0 ;
994141e6 2559 PyObject * obj1 = 0 ;
d14a1e28
RD
2560 char *kwnames[] = {
2561 (char *) "name",(char *) "type", NULL
2562 };
2563
994141e6 2564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Bitmap",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2565 {
2566 arg1 = wxString_in_helper(obj0);
2567 if (arg1 == NULL) SWIG_fail;
e811c8ce 2568 temp1 = True;
d14a1e28 2569 }
994141e6 2570 if (obj1) {
15afbcd0
RD
2571 arg2 = (wxBitmapType) SWIG_AsInt(obj1);
2572 if (PyErr_Occurred()) SWIG_fail;
994141e6 2573 }
d14a1e28
RD
2574 {
2575 PyThreadState* __tstate = wxPyBeginAllowThreads();
2576 result = (wxBitmap *)new wxBitmap((wxString const &)*arg1,(wxBitmapType )arg2);
2577
2578 wxPyEndAllowThreads(__tstate);
2579 if (PyErr_Occurred()) SWIG_fail;
2580 }
15afbcd0 2581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2582 {
2583 if (temp1)
2584 delete arg1;
2585 }
2586 return resultobj;
2587 fail:
2588 {
2589 if (temp1)
2590 delete arg1;
2591 }
2592 return NULL;
2593}
2594
2595
2596static PyObject *_wrap_delete_Bitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2597 PyObject *resultobj;
2598 wxBitmap *arg1 = (wxBitmap *) 0 ;
2599 PyObject * obj0 = 0 ;
2600 char *kwnames[] = {
2601 (char *) "self", NULL
2602 };
2603
2604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Bitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
2605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2607 {
2608 PyThreadState* __tstate = wxPyBeginAllowThreads();
2609 delete arg1;
2610
2611 wxPyEndAllowThreads(__tstate);
2612 if (PyErr_Occurred()) SWIG_fail;
2613 }
2614 Py_INCREF(Py_None); resultobj = Py_None;
2615 return resultobj;
2616 fail:
2617 return NULL;
2618}
2619
2620
66c033b4
RD
2621static PyObject *_wrap_new_EmptyBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2622 PyObject *resultobj;
2623 int arg1 ;
2624 int arg2 ;
2625 int arg3 = (int) -1 ;
2626 wxBitmap *result;
2627 PyObject * obj0 = 0 ;
2628 PyObject * obj1 = 0 ;
2629 PyObject * obj2 = 0 ;
2630 char *kwnames[] = {
2631 (char *) "width",(char *) "height",(char *) "depth", NULL
2632 };
2633
2634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_EmptyBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
2635 arg1 = (int) SWIG_AsInt(obj0);
2636 if (PyErr_Occurred()) SWIG_fail;
2637 arg2 = (int) SWIG_AsInt(obj1);
2638 if (PyErr_Occurred()) SWIG_fail;
2639 if (obj2) {
2640 arg3 = (int) SWIG_AsInt(obj2);
2641 if (PyErr_Occurred()) SWIG_fail;
2642 }
2643 {
2644 PyThreadState* __tstate = wxPyBeginAllowThreads();
2645 result = (wxBitmap *)new wxBitmap(arg1,arg2,arg3);
2646
2647 wxPyEndAllowThreads(__tstate);
2648 if (PyErr_Occurred()) SWIG_fail;
2649 }
2650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
2651 return resultobj;
2652 fail:
2653 return NULL;
2654}
2655
2656
d14a1e28
RD
2657static PyObject *_wrap_new_BitmapFromIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2658 PyObject *resultobj;
2659 wxIcon *arg1 = 0 ;
2660 wxBitmap *result;
2661 PyObject * obj0 = 0 ;
2662 char *kwnames[] = {
2663 (char *) "icon", NULL
2664 };
2665
2666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BitmapFromIcon",kwnames,&obj0)) goto fail;
15afbcd0
RD
2667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
2668 SWIG_POINTER_EXCEPTION | 0)) == -1)
2669 SWIG_fail;
d14a1e28 2670 if (arg1 == NULL) {
15afbcd0
RD
2671 PyErr_SetString(PyExc_TypeError,"null reference");
2672 SWIG_fail;
d14a1e28
RD
2673 }
2674 {
2675 PyThreadState* __tstate = wxPyBeginAllowThreads();
2676 result = (wxBitmap *)new wxBitmap((wxIcon const &)*arg1);
2677
2678 wxPyEndAllowThreads(__tstate);
2679 if (PyErr_Occurred()) SWIG_fail;
2680 }
15afbcd0 2681 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2682 return resultobj;
2683 fail:
2684 return NULL;
2685}
2686
2687
2688static PyObject *_wrap_new_BitmapFromImage(PyObject *self, PyObject *args, PyObject *kwargs) {
2689 PyObject *resultobj;
2690 wxImage *arg1 = 0 ;
2691 int arg2 = (int) -1 ;
2692 wxBitmap *result;
2693 PyObject * obj0 = 0 ;
994141e6 2694 PyObject * obj1 = 0 ;
d14a1e28
RD
2695 char *kwnames[] = {
2696 (char *) "image",(char *) "depth", NULL
2697 };
2698
994141e6 2699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_BitmapFromImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
2701 SWIG_POINTER_EXCEPTION | 0)) == -1)
2702 SWIG_fail;
d14a1e28 2703 if (arg1 == NULL) {
15afbcd0
RD
2704 PyErr_SetString(PyExc_TypeError,"null reference");
2705 SWIG_fail;
d14a1e28 2706 }
994141e6 2707 if (obj1) {
15afbcd0
RD
2708 arg2 = (int) SWIG_AsInt(obj1);
2709 if (PyErr_Occurred()) SWIG_fail;
994141e6 2710 }
d14a1e28
RD
2711 {
2712 PyThreadState* __tstate = wxPyBeginAllowThreads();
2713 result = (wxBitmap *)new wxBitmap((wxImage const &)*arg1,arg2);
2714
2715 wxPyEndAllowThreads(__tstate);
2716 if (PyErr_Occurred()) SWIG_fail;
2717 }
15afbcd0 2718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2719 return resultobj;
2720 fail:
2721 return NULL;
2722}
2723
2724
2725static PyObject *_wrap_new_BitmapFromXPMData(PyObject *self, PyObject *args, PyObject *kwargs) {
2726 PyObject *resultobj;
2727 PyObject *arg1 = (PyObject *) 0 ;
2728 wxBitmap *result;
2729 PyObject * obj0 = 0 ;
2730 char *kwnames[] = {
2731 (char *) "listOfStrings", NULL
2732 };
2733
2734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BitmapFromXPMData",kwnames,&obj0)) goto fail;
2735 arg1 = obj0;
2736 {
2737 PyThreadState* __tstate = wxPyBeginAllowThreads();
2738 result = (wxBitmap *)new_wxBitmap(arg1);
2739
2740 wxPyEndAllowThreads(__tstate);
2741 if (PyErr_Occurred()) SWIG_fail;
2742 }
15afbcd0 2743 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2744 return resultobj;
2745 fail:
2746 return NULL;
2747}
2748
2749
2750static PyObject *_wrap_new_BitmapFromBits(PyObject *self, PyObject *args, PyObject *kwargs) {
2751 PyObject *resultobj;
2752 PyObject *arg1 = (PyObject *) 0 ;
2753 int arg2 ;
2754 int arg3 ;
2755 int arg4 = (int) 1 ;
2756 wxBitmap *result;
2757 PyObject * obj0 = 0 ;
994141e6
RD
2758 PyObject * obj1 = 0 ;
2759 PyObject * obj2 = 0 ;
2760 PyObject * obj3 = 0 ;
d14a1e28
RD
2761 char *kwnames[] = {
2762 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2763 };
2764
994141e6 2765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_BitmapFromBits",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 2766 arg1 = obj0;
15afbcd0
RD
2767 arg2 = (int) SWIG_AsInt(obj1);
2768 if (PyErr_Occurred()) SWIG_fail;
2769 arg3 = (int) SWIG_AsInt(obj2);
2770 if (PyErr_Occurred()) SWIG_fail;
994141e6 2771 if (obj3) {
15afbcd0
RD
2772 arg4 = (int) SWIG_AsInt(obj3);
2773 if (PyErr_Occurred()) SWIG_fail;
994141e6 2774 }
d14a1e28
RD
2775 {
2776 PyThreadState* __tstate = wxPyBeginAllowThreads();
2777 result = (wxBitmap *)new_wxBitmap(arg1,arg2,arg3,arg4);
2778
2779 wxPyEndAllowThreads(__tstate);
2780 if (PyErr_Occurred()) SWIG_fail;
2781 }
15afbcd0 2782 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2783 return resultobj;
2784 fail:
2785 return NULL;
2786}
2787
2788
2789static PyObject *_wrap_Bitmap_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
2790 PyObject *resultobj;
2791 wxBitmap *arg1 = (wxBitmap *) 0 ;
2792 bool result;
2793 PyObject * obj0 = 0 ;
2794 char *kwnames[] = {
2795 (char *) "self", NULL
2796 };
2797
2798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
2799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2801 {
2802 PyThreadState* __tstate = wxPyBeginAllowThreads();
2803 result = (bool)(arg1)->Ok();
2804
2805 wxPyEndAllowThreads(__tstate);
2806 if (PyErr_Occurred()) SWIG_fail;
2807 }
4f89f6a3
RD
2808 {
2809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2810 }
d14a1e28
RD
2811 return resultobj;
2812 fail:
2813 return NULL;
2814}
2815
2816
2817static PyObject *_wrap_Bitmap_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2818 PyObject *resultobj;
2819 wxBitmap *arg1 = (wxBitmap *) 0 ;
2820 int result;
2821 PyObject * obj0 = 0 ;
2822 char *kwnames[] = {
2823 (char *) "self", NULL
2824 };
2825
2826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
2827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2829 {
2830 PyThreadState* __tstate = wxPyBeginAllowThreads();
2831 result = (int)(arg1)->GetWidth();
2832
2833 wxPyEndAllowThreads(__tstate);
2834 if (PyErr_Occurred()) SWIG_fail;
2835 }
15afbcd0 2836 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2837 return resultobj;
2838 fail:
2839 return NULL;
2840}
2841
2842
2843static PyObject *_wrap_Bitmap_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2844 PyObject *resultobj;
2845 wxBitmap *arg1 = (wxBitmap *) 0 ;
2846 int result;
2847 PyObject * obj0 = 0 ;
2848 char *kwnames[] = {
2849 (char *) "self", NULL
2850 };
2851
2852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
2853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2855 {
2856 PyThreadState* __tstate = wxPyBeginAllowThreads();
2857 result = (int)(arg1)->GetHeight();
2858
2859 wxPyEndAllowThreads(__tstate);
2860 if (PyErr_Occurred()) SWIG_fail;
2861 }
15afbcd0 2862 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2863 return resultobj;
2864 fail:
2865 return NULL;
2866}
2867
2868
2869static PyObject *_wrap_Bitmap_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
2870 PyObject *resultobj;
2871 wxBitmap *arg1 = (wxBitmap *) 0 ;
2872 int result;
2873 PyObject * obj0 = 0 ;
2874 char *kwnames[] = {
2875 (char *) "self", NULL
2876 };
2877
2878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetDepth",kwnames,&obj0)) goto fail;
15afbcd0
RD
2879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2881 {
2882 PyThreadState* __tstate = wxPyBeginAllowThreads();
2883 result = (int)(arg1)->GetDepth();
2884
2885 wxPyEndAllowThreads(__tstate);
2886 if (PyErr_Occurred()) SWIG_fail;
2887 }
15afbcd0 2888 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2889 return resultobj;
2890 fail:
2891 return NULL;
2892}
2893
2894
b2df227b
RD
2895static PyObject *_wrap_Bitmap_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2896 PyObject *resultobj;
2897 wxBitmap *arg1 = (wxBitmap *) 0 ;
2898 wxSize result;
2899 PyObject * obj0 = 0 ;
2900 char *kwnames[] = {
2901 (char *) "self", NULL
2902 };
2903
2904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetSize",kwnames,&obj0)) goto fail;
2905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2907 {
2908 PyThreadState* __tstate = wxPyBeginAllowThreads();
2909 result = wxBitmap_GetSize(arg1);
2910
2911 wxPyEndAllowThreads(__tstate);
2912 if (PyErr_Occurred()) SWIG_fail;
2913 }
2914 {
2915 wxSize * resultptr;
2916 resultptr = new wxSize((wxSize &) result);
2917 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2918 }
2919 return resultobj;
2920 fail:
2921 return NULL;
2922}
2923
2924
d14a1e28
RD
2925static PyObject *_wrap_Bitmap_ConvertToImage(PyObject *self, PyObject *args, PyObject *kwargs) {
2926 PyObject *resultobj;
2927 wxBitmap *arg1 = (wxBitmap *) 0 ;
2928 SwigValueWrapper< wxImage > result;
2929 PyObject * obj0 = 0 ;
2930 char *kwnames[] = {
2931 (char *) "self", NULL
2932 };
2933
2934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_ConvertToImage",kwnames,&obj0)) goto fail;
15afbcd0
RD
2935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2937 {
2938 PyThreadState* __tstate = wxPyBeginAllowThreads();
2939 result = ((wxBitmap const *)arg1)->ConvertToImage();
2940
2941 wxPyEndAllowThreads(__tstate);
2942 if (PyErr_Occurred()) SWIG_fail;
2943 }
2944 {
2945 wxImage * resultptr;
2946 resultptr = new wxImage((wxImage &) result);
15afbcd0 2947 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
2948 }
2949 return resultobj;
2950 fail:
2951 return NULL;
2952}
2953
2954
2955static PyObject *_wrap_Bitmap_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
2956 PyObject *resultobj;
2957 wxBitmap *arg1 = (wxBitmap *) 0 ;
2958 wxMask *result;
2959 PyObject * obj0 = 0 ;
2960 char *kwnames[] = {
2961 (char *) "self", NULL
2962 };
2963
2964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
2965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2967 {
2968 PyThreadState* __tstate = wxPyBeginAllowThreads();
2969 result = (wxMask *)((wxBitmap const *)arg1)->GetMask();
2970
2971 wxPyEndAllowThreads(__tstate);
2972 if (PyErr_Occurred()) SWIG_fail;
2973 }
15afbcd0 2974 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMask, 0);
d14a1e28
RD
2975 return resultobj;
2976 fail:
2977 return NULL;
2978}
2979
2980
2981static PyObject *_wrap_Bitmap_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
2982 PyObject *resultobj;
2983 wxBitmap *arg1 = (wxBitmap *) 0 ;
2984 wxMask *arg2 = (wxMask *) 0 ;
2985 PyObject * obj0 = 0 ;
2986 PyObject * obj1 = 0 ;
2987 char *kwnames[] = {
2988 (char *) "self",(char *) "mask", NULL
2989 };
2990
2991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2994 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMask,
2995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2996 {
2997 PyThreadState* __tstate = wxPyBeginAllowThreads();
2998 (arg1)->SetMask(arg2);
2999
3000 wxPyEndAllowThreads(__tstate);
3001 if (PyErr_Occurred()) SWIG_fail;
3002 }
3003 Py_INCREF(Py_None); resultobj = Py_None;
3004 return resultobj;
3005 fail:
3006 return NULL;
3007}
3008
3009
3010static PyObject *_wrap_Bitmap_SetMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3011 PyObject *resultobj;
3012 wxBitmap *arg1 = (wxBitmap *) 0 ;
3013 wxColour *arg2 = 0 ;
3014 wxColour temp2 ;
3015 PyObject * obj0 = 0 ;
3016 PyObject * obj1 = 0 ;
3017 char *kwnames[] = {
3018 (char *) "self",(char *) "colour", NULL
3019 };
3020
3021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetMaskColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3024 {
3025 arg2 = &temp2;
3026 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3027 }
3028 {
3029 PyThreadState* __tstate = wxPyBeginAllowThreads();
3030 wxBitmap_SetMaskColour(arg1,(wxColour const &)*arg2);
3031
3032 wxPyEndAllowThreads(__tstate);
3033 if (PyErr_Occurred()) SWIG_fail;
3034 }
3035 Py_INCREF(Py_None); resultobj = Py_None;
3036 return resultobj;
3037 fail:
3038 return NULL;
3039}
3040
3041
3042static PyObject *_wrap_Bitmap_GetSubBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3043 PyObject *resultobj;
3044 wxBitmap *arg1 = (wxBitmap *) 0 ;
3045 wxRect *arg2 = 0 ;
3046 SwigValueWrapper< wxBitmap > result;
3047 wxRect temp2 ;
3048 PyObject * obj0 = 0 ;
3049 PyObject * obj1 = 0 ;
3050 char *kwnames[] = {
3051 (char *) "self",(char *) "rect", NULL
3052 };
3053
3054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_GetSubBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3057 {
3058 arg2 = &temp2;
3059 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3060 }
3061 {
3062 PyThreadState* __tstate = wxPyBeginAllowThreads();
3063 result = ((wxBitmap const *)arg1)->GetSubBitmap((wxRect const &)*arg2);
3064
3065 wxPyEndAllowThreads(__tstate);
3066 if (PyErr_Occurred()) SWIG_fail;
3067 }
3068 {
3069 wxBitmap * resultptr;
3070 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 3071 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
3072 }
3073 return resultobj;
3074 fail:
3075 return NULL;
3076}
3077
3078
3079static PyObject *_wrap_Bitmap_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
3080 PyObject *resultobj;
3081 wxBitmap *arg1 = (wxBitmap *) 0 ;
3082 wxString *arg2 = 0 ;
3083 int arg3 ;
66c033b4 3084 wxPalette *arg4 = (wxPalette *) NULL ;
d14a1e28 3085 bool result;
e811c8ce 3086 bool temp2 = False ;
d14a1e28
RD
3087 PyObject * obj0 = 0 ;
3088 PyObject * obj1 = 0 ;
994141e6 3089 PyObject * obj2 = 0 ;
d14a1e28
RD
3090 PyObject * obj3 = 0 ;
3091 char *kwnames[] = {
3092 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3093 };
3094
994141e6 3095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Bitmap_SaveFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
3096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3098 {
3099 arg2 = wxString_in_helper(obj1);
3100 if (arg2 == NULL) SWIG_fail;
e811c8ce 3101 temp2 = True;
d14a1e28 3102 }
15afbcd0
RD
3103 arg3 = (wxBitmapType) SWIG_AsInt(obj2);
3104 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3105 if (obj3) {
15afbcd0
RD
3106 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxPalette,
3107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3108 }
3109 {
3110 PyThreadState* __tstate = wxPyBeginAllowThreads();
3111 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxBitmapType )arg3,arg4);
3112
3113 wxPyEndAllowThreads(__tstate);
3114 if (PyErr_Occurred()) SWIG_fail;
3115 }
4f89f6a3
RD
3116 {
3117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3118 }
d14a1e28
RD
3119 {
3120 if (temp2)
3121 delete arg2;
3122 }
3123 return resultobj;
3124 fail:
3125 {
3126 if (temp2)
3127 delete arg2;
3128 }
3129 return NULL;
3130}
3131
3132
3133static PyObject *_wrap_Bitmap_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
3134 PyObject *resultobj;
3135 wxBitmap *arg1 = (wxBitmap *) 0 ;
3136 wxString *arg2 = 0 ;
3137 int arg3 ;
3138 bool result;
e811c8ce 3139 bool temp2 = False ;
d14a1e28
RD
3140 PyObject * obj0 = 0 ;
3141 PyObject * obj1 = 0 ;
994141e6 3142 PyObject * obj2 = 0 ;
d14a1e28
RD
3143 char *kwnames[] = {
3144 (char *) "self",(char *) "name",(char *) "type", NULL
3145 };
3146
994141e6 3147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Bitmap_LoadFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3150 {
3151 arg2 = wxString_in_helper(obj1);
3152 if (arg2 == NULL) SWIG_fail;
e811c8ce 3153 temp2 = True;
d14a1e28 3154 }
15afbcd0
RD
3155 arg3 = (wxBitmapType) SWIG_AsInt(obj2);
3156 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3157 {
3158 PyThreadState* __tstate = wxPyBeginAllowThreads();
3159 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxBitmapType )arg3);
3160
3161 wxPyEndAllowThreads(__tstate);
3162 if (PyErr_Occurred()) SWIG_fail;
3163 }
4f89f6a3
RD
3164 {
3165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3166 }
d14a1e28
RD
3167 {
3168 if (temp2)
3169 delete arg2;
3170 }
3171 return resultobj;
3172 fail:
3173 {
3174 if (temp2)
3175 delete arg2;
3176 }
3177 return NULL;
3178}
3179
3180
3181static PyObject *_wrap_Bitmap_CopyFromIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
3182 PyObject *resultobj;
3183 wxBitmap *arg1 = (wxBitmap *) 0 ;
3184 wxIcon *arg2 = 0 ;
3185 bool result;
3186 PyObject * obj0 = 0 ;
3187 PyObject * obj1 = 0 ;
3188 char *kwnames[] = {
3189 (char *) "self",(char *) "icon", NULL
3190 };
3191
3192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_CopyFromIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3195 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
3196 SWIG_POINTER_EXCEPTION | 0)) == -1)
3197 SWIG_fail;
d14a1e28 3198 if (arg2 == NULL) {
15afbcd0
RD
3199 PyErr_SetString(PyExc_TypeError,"null reference");
3200 SWIG_fail;
d14a1e28
RD
3201 }
3202 {
3203 PyThreadState* __tstate = wxPyBeginAllowThreads();
3204 result = (bool)(arg1)->CopyFromIcon((wxIcon const &)*arg2);
3205
3206 wxPyEndAllowThreads(__tstate);
3207 if (PyErr_Occurred()) SWIG_fail;
3208 }
4f89f6a3
RD
3209 {
3210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3211 }
d14a1e28
RD
3212 return resultobj;
3213 fail:
3214 return NULL;
3215}
3216
3217
3218static PyObject *_wrap_Bitmap_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3219 PyObject *resultobj;
3220 wxBitmap *arg1 = (wxBitmap *) 0 ;
3221 int arg2 ;
3222 PyObject * obj0 = 0 ;
994141e6 3223 PyObject * obj1 = 0 ;
d14a1e28
RD
3224 char *kwnames[] = {
3225 (char *) "self",(char *) "height", NULL
3226 };
3227
994141e6 3228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3231 arg2 = (int) SWIG_AsInt(obj1);
3232 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3233 {
3234 PyThreadState* __tstate = wxPyBeginAllowThreads();
3235 (arg1)->SetHeight(arg2);
3236
3237 wxPyEndAllowThreads(__tstate);
3238 if (PyErr_Occurred()) SWIG_fail;
3239 }
3240 Py_INCREF(Py_None); resultobj = Py_None;
3241 return resultobj;
3242 fail:
3243 return NULL;
3244}
3245
3246
3247static PyObject *_wrap_Bitmap_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3248 PyObject *resultobj;
3249 wxBitmap *arg1 = (wxBitmap *) 0 ;
3250 int arg2 ;
3251 PyObject * obj0 = 0 ;
994141e6 3252 PyObject * obj1 = 0 ;
d14a1e28
RD
3253 char *kwnames[] = {
3254 (char *) "self",(char *) "width", NULL
3255 };
3256
994141e6 3257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3260 arg2 = (int) SWIG_AsInt(obj1);
3261 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3262 {
3263 PyThreadState* __tstate = wxPyBeginAllowThreads();
3264 (arg1)->SetWidth(arg2);
3265
3266 wxPyEndAllowThreads(__tstate);
3267 if (PyErr_Occurred()) SWIG_fail;
3268 }
3269 Py_INCREF(Py_None); resultobj = Py_None;
3270 return resultobj;
3271 fail:
3272 return NULL;
3273}
3274
3275
3276static PyObject *_wrap_Bitmap_SetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3277 PyObject *resultobj;
3278 wxBitmap *arg1 = (wxBitmap *) 0 ;
3279 int arg2 ;
3280 PyObject * obj0 = 0 ;
994141e6 3281 PyObject * obj1 = 0 ;
d14a1e28
RD
3282 char *kwnames[] = {
3283 (char *) "self",(char *) "depth", NULL
3284 };
3285
994141e6 3286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetDepth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3289 arg2 = (int) SWIG_AsInt(obj1);
3290 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3291 {
3292 PyThreadState* __tstate = wxPyBeginAllowThreads();
3293 (arg1)->SetDepth(arg2);
3294
3295 wxPyEndAllowThreads(__tstate);
3296 if (PyErr_Occurred()) SWIG_fail;
3297 }
3298 Py_INCREF(Py_None); resultobj = Py_None;
3299 return resultobj;
3300 fail:
3301 return NULL;
3302}
3303
3304
b2df227b
RD
3305static PyObject *_wrap_Bitmap_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3306 PyObject *resultobj;
3307 wxBitmap *arg1 = (wxBitmap *) 0 ;
3308 wxSize *arg2 = 0 ;
3309 wxSize temp2 ;
3310 PyObject * obj0 = 0 ;
3311 PyObject * obj1 = 0 ;
3312 char *kwnames[] = {
3313 (char *) "self",(char *) "size", NULL
3314 };
3315
3316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetSize",kwnames,&obj0,&obj1)) goto fail;
3317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3319 {
3320 arg2 = &temp2;
3321 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3322 }
3323 {
3324 PyThreadState* __tstate = wxPyBeginAllowThreads();
3325 wxBitmap_SetSize(arg1,(wxSize const &)*arg2);
3326
3327 wxPyEndAllowThreads(__tstate);
3328 if (PyErr_Occurred()) SWIG_fail;
3329 }
3330 Py_INCREF(Py_None); resultobj = Py_None;
3331 return resultobj;
3332 fail:
3333 return NULL;
3334}
3335
3336
4276dc52
RD
3337static PyObject *_wrap_Bitmap___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
3338 PyObject *resultobj;
3339 wxBitmap *arg1 = (wxBitmap *) 0 ;
3340 wxBitmap *arg2 = (wxBitmap *) 0 ;
3341 bool result;
3342 PyObject * obj0 = 0 ;
3343 PyObject * obj1 = 0 ;
3344 char *kwnames[] = {
3345 (char *) "self",(char *) "other", NULL
3346 };
3347
3348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap___eq__",kwnames,&obj0,&obj1)) goto fail;
3349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3351 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
3352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3353 {
3354 PyThreadState* __tstate = wxPyBeginAllowThreads();
3355 result = (bool)wxBitmap___eq__(arg1,(wxBitmap const *)arg2);
3356
3357 wxPyEndAllowThreads(__tstate);
3358 if (PyErr_Occurred()) SWIG_fail;
3359 }
4f89f6a3
RD
3360 {
3361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3362 }
4276dc52
RD
3363 return resultobj;
3364 fail:
3365 return NULL;
3366}
3367
3368
3369static PyObject *_wrap_Bitmap___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
3370 PyObject *resultobj;
3371 wxBitmap *arg1 = (wxBitmap *) 0 ;
3372 wxBitmap *arg2 = (wxBitmap *) 0 ;
3373 bool result;
3374 PyObject * obj0 = 0 ;
3375 PyObject * obj1 = 0 ;
3376 char *kwnames[] = {
3377 (char *) "self",(char *) "other", NULL
3378 };
3379
3380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap___ne__",kwnames,&obj0,&obj1)) goto fail;
3381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3383 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
3384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3385 {
3386 PyThreadState* __tstate = wxPyBeginAllowThreads();
3387 result = (bool)wxBitmap___ne__(arg1,(wxBitmap const *)arg2);
3388
3389 wxPyEndAllowThreads(__tstate);
3390 if (PyErr_Occurred()) SWIG_fail;
3391 }
4f89f6a3
RD
3392 {
3393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3394 }
4276dc52
RD
3395 return resultobj;
3396 fail:
3397 return NULL;
3398}
3399
3400
d14a1e28
RD
3401static PyObject * Bitmap_swigregister(PyObject *self, PyObject *args) {
3402 PyObject *obj;
3403 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3404 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap, obj);
3405 Py_INCREF(obj);
3406 return Py_BuildValue((char *)"");
3407}
3408static PyObject *_wrap_new_Mask(PyObject *self, PyObject *args, PyObject *kwargs) {
3409 PyObject *resultobj;
3410 wxBitmap *arg1 = 0 ;
0482c494
RD
3411 wxColour const &arg2_defvalue = wxNullColour ;
3412 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
d14a1e28
RD
3413 wxMask *result;
3414 wxColour temp2 ;
3415 PyObject * obj0 = 0 ;
3416 PyObject * obj1 = 0 ;
3417 char *kwnames[] = {
3418 (char *) "bitmap",(char *) "colour", NULL
3419 };
3420
0482c494 3421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Mask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3423 SWIG_POINTER_EXCEPTION | 0)) == -1)
3424 SWIG_fail;
d14a1e28 3425 if (arg1 == NULL) {
15afbcd0
RD
3426 PyErr_SetString(PyExc_TypeError,"null reference");
3427 SWIG_fail;
d14a1e28 3428 }
0482c494
RD
3429 if (obj1) {
3430 {
3431 arg2 = &temp2;
3432 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3433 }
d14a1e28
RD
3434 }
3435 {
3436 PyThreadState* __tstate = wxPyBeginAllowThreads();
0482c494 3437 result = (wxMask *)new_wxMask((wxBitmap const &)*arg1,(wxColour const &)*arg2);
d14a1e28
RD
3438
3439 wxPyEndAllowThreads(__tstate);
3440 if (PyErr_Occurred()) SWIG_fail;
3441 }
15afbcd0 3442 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMask, 1);
d14a1e28
RD
3443 return resultobj;
3444 fail:
3445 return NULL;
3446}
3447
3448
3449static PyObject * Mask_swigregister(PyObject *self, PyObject *args) {
3450 PyObject *obj;
3451 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3452 SWIG_TypeClientData(SWIGTYPE_p_wxMask, obj);
3453 Py_INCREF(obj);
3454 return Py_BuildValue((char *)"");
3455}
3456static PyObject *_wrap_new_Icon(PyObject *self, PyObject *args, PyObject *kwargs) {
3457 PyObject *resultobj;
3458 wxString *arg1 = 0 ;
f87da722 3459 int arg2 ;
d14a1e28
RD
3460 int arg3 = (int) -1 ;
3461 int arg4 = (int) -1 ;
3462 wxIcon *result;
e811c8ce 3463 bool temp1 = False ;
d14a1e28 3464 PyObject * obj0 = 0 ;
994141e6
RD
3465 PyObject * obj1 = 0 ;
3466 PyObject * obj2 = 0 ;
3467 PyObject * obj3 = 0 ;
d14a1e28 3468 char *kwnames[] = {
f87da722 3469 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
d14a1e28
RD
3470 };
3471
994141e6 3472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_Icon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
3473 {
3474 arg1 = wxString_in_helper(obj0);
3475 if (arg1 == NULL) SWIG_fail;
e811c8ce 3476 temp1 = True;
d14a1e28 3477 }
15afbcd0
RD
3478 arg2 = (wxBitmapType) SWIG_AsInt(obj1);
3479 if (PyErr_Occurred()) SWIG_fail;
994141e6 3480 if (obj2) {
15afbcd0
RD
3481 arg3 = (int) SWIG_AsInt(obj2);
3482 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3483 }
3484 if (obj3) {
15afbcd0
RD
3485 arg4 = (int) SWIG_AsInt(obj3);
3486 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3487 }
3488 {
3489 PyThreadState* __tstate = wxPyBeginAllowThreads();
3490 result = (wxIcon *)new wxIcon((wxString const &)*arg1,(wxBitmapType )arg2,arg3,arg4);
3491
3492 wxPyEndAllowThreads(__tstate);
d14a1e28
RD
3493 if (PyErr_Occurred()) SWIG_fail;
3494 }
15afbcd0 3495 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
3496 {
3497 if (temp1)
3498 delete arg1;
3499 }
3500 return resultobj;
3501 fail:
3502 {
3503 if (temp1)
3504 delete arg1;
3505 }
3506 return NULL;
3507}
3508
3509
3510static PyObject *_wrap_delete_Icon(PyObject *self, PyObject *args, PyObject *kwargs) {
3511 PyObject *resultobj;
3512 wxIcon *arg1 = (wxIcon *) 0 ;
3513 PyObject * obj0 = 0 ;
3514 char *kwnames[] = {
3515 (char *) "self", NULL
3516 };
3517
3518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Icon",kwnames,&obj0)) goto fail;
15afbcd0
RD
3519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3521 {
3522 PyThreadState* __tstate = wxPyBeginAllowThreads();
3523 delete arg1;
3524
3525 wxPyEndAllowThreads(__tstate);
3526 if (PyErr_Occurred()) SWIG_fail;
3527 }
3528 Py_INCREF(Py_None); resultobj = Py_None;
3529 return resultobj;
3530 fail:
3531 return NULL;
3532}
3533
3534
3535static PyObject *_wrap_new_EmptyIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
3536 PyObject *resultobj;
3537 wxIcon *result;
3538 char *kwnames[] = {
3539 NULL
3540 };
3541
3542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EmptyIcon",kwnames)) goto fail;
3543 {
3544 PyThreadState* __tstate = wxPyBeginAllowThreads();
3545 result = (wxIcon *)new wxIcon();
3546
3547 wxPyEndAllowThreads(__tstate);
3548 if (PyErr_Occurred()) SWIG_fail;
3549 }
15afbcd0 3550 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
3551 return resultobj;
3552 fail:
3553 return NULL;
3554}
3555
3556
3557static PyObject *_wrap_new_IconFromLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
3558 PyObject *resultobj;
3559 wxIconLocation *arg1 = 0 ;
3560 wxIcon *result;
3561 PyObject * obj0 = 0 ;
3562 char *kwnames[] = {
3563 (char *) "loc", NULL
3564 };
3565
3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconFromLocation",kwnames,&obj0)) goto fail;
15afbcd0
RD
3567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
3568 SWIG_POINTER_EXCEPTION | 0)) == -1)
3569 SWIG_fail;
d14a1e28 3570 if (arg1 == NULL) {
15afbcd0
RD
3571 PyErr_SetString(PyExc_TypeError,"null reference");
3572 SWIG_fail;
d14a1e28
RD
3573 }
3574 {
3575 PyThreadState* __tstate = wxPyBeginAllowThreads();
3576 result = (wxIcon *)new wxIcon((wxIconLocation const &)*arg1);
3577
3578 wxPyEndAllowThreads(__tstate);
3579 if (PyErr_Occurred()) SWIG_fail;
3580 }
15afbcd0 3581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
3582 return resultobj;
3583 fail:
3584 return NULL;
3585}
3586
3587
3588static PyObject *_wrap_new_IconFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3589 PyObject *resultobj;
3590 wxBitmap *arg1 = 0 ;
3591 wxIcon *result;
3592 PyObject * obj0 = 0 ;
3593 char *kwnames[] = {
3594 (char *) "bmp", NULL
3595 };
3596
3597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconFromBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
3598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3599 SWIG_POINTER_EXCEPTION | 0)) == -1)
3600 SWIG_fail;
d14a1e28 3601 if (arg1 == NULL) {
15afbcd0
RD
3602 PyErr_SetString(PyExc_TypeError,"null reference");
3603 SWIG_fail;
d14a1e28
RD
3604 }
3605 {
3606 PyThreadState* __tstate = wxPyBeginAllowThreads();
3607 result = (wxIcon *)new_wxIcon((wxBitmap const &)*arg1);
3608
3609 wxPyEndAllowThreads(__tstate);
3610 if (PyErr_Occurred()) SWIG_fail;
3611 }
15afbcd0 3612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
3613 return resultobj;
3614 fail:
3615 return NULL;
3616}
3617
3618
3619static PyObject *_wrap_new_IconFromXPMData(PyObject *self, PyObject *args, PyObject *kwargs) {
3620 PyObject *resultobj;
3621 PyObject *arg1 = (PyObject *) 0 ;
3622 wxIcon *result;
3623 PyObject * obj0 = 0 ;
3624 char *kwnames[] = {
3625 (char *) "listOfStrings", NULL
3626 };
3627
3628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconFromXPMData",kwnames,&obj0)) goto fail;
3629 arg1 = obj0;
3630 {
3631 PyThreadState* __tstate = wxPyBeginAllowThreads();
3632 result = (wxIcon *)new_wxIcon(arg1);
3633
3634 wxPyEndAllowThreads(__tstate);
3635 if (PyErr_Occurred()) SWIG_fail;
3636 }
15afbcd0 3637 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
3638 return resultobj;
3639 fail:
3640 return NULL;
3641}
3642
3643
3644static PyObject *_wrap_Icon_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
3645 PyObject *resultobj;
3646 wxIcon *arg1 = (wxIcon *) 0 ;
3647 wxString *arg2 = 0 ;
f87da722 3648 int arg3 ;
d14a1e28 3649 bool result;
e811c8ce 3650 bool temp2 = False ;
d14a1e28
RD
3651 PyObject * obj0 = 0 ;
3652 PyObject * obj1 = 0 ;
994141e6 3653 PyObject * obj2 = 0 ;
d14a1e28 3654 char *kwnames[] = {
f87da722 3655 (char *) "self",(char *) "name",(char *) "type", NULL
d14a1e28
RD
3656 };
3657
994141e6 3658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Icon_LoadFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3661 {
3662 arg2 = wxString_in_helper(obj1);
3663 if (arg2 == NULL) SWIG_fail;
e811c8ce 3664 temp2 = True;
d14a1e28 3665 }
15afbcd0
RD
3666 arg3 = (wxBitmapType) SWIG_AsInt(obj2);
3667 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3668 {
3669 PyThreadState* __tstate = wxPyBeginAllowThreads();
f87da722 3670 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxBitmapType )arg3);
d14a1e28
RD
3671
3672 wxPyEndAllowThreads(__tstate);
3673 if (PyErr_Occurred()) SWIG_fail;
3674 }
4f89f6a3
RD
3675 {
3676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3677 }
d14a1e28
RD
3678 {
3679 if (temp2)
3680 delete arg2;
3681 }
3682 return resultobj;
3683 fail:
3684 {
3685 if (temp2)
3686 delete arg2;
3687 }
3688 return NULL;
3689}
3690
3691
3692static PyObject *_wrap_Icon_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
3693 PyObject *resultobj;
3694 wxIcon *arg1 = (wxIcon *) 0 ;
3695 bool result;
3696 PyObject * obj0 = 0 ;
3697 char *kwnames[] = {
3698 (char *) "self", NULL
3699 };
3700
3701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
3702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3704 {
3705 PyThreadState* __tstate = wxPyBeginAllowThreads();
3706 result = (bool)(arg1)->Ok();
3707
3708 wxPyEndAllowThreads(__tstate);
3709 if (PyErr_Occurred()) SWIG_fail;
3710 }
4f89f6a3
RD
3711 {
3712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3713 }
d14a1e28
RD
3714 return resultobj;
3715 fail:
3716 return NULL;
3717}
3718
3719
3720static PyObject *_wrap_Icon_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3721 PyObject *resultobj;
3722 wxIcon *arg1 = (wxIcon *) 0 ;
3723 int result;
3724 PyObject * obj0 = 0 ;
3725 char *kwnames[] = {
3726 (char *) "self", NULL
3727 };
3728
3729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
3730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3732 {
3733 PyThreadState* __tstate = wxPyBeginAllowThreads();
3734 result = (int)(arg1)->GetWidth();
3735
3736 wxPyEndAllowThreads(__tstate);
3737 if (PyErr_Occurred()) SWIG_fail;
3738 }
15afbcd0 3739 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3740 return resultobj;
3741 fail:
3742 return NULL;
3743}
3744
3745
3746static PyObject *_wrap_Icon_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3747 PyObject *resultobj;
3748 wxIcon *arg1 = (wxIcon *) 0 ;
3749 int result;
3750 PyObject * obj0 = 0 ;
3751 char *kwnames[] = {
3752 (char *) "self", NULL
3753 };
3754
3755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
3756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3758 {
3759 PyThreadState* __tstate = wxPyBeginAllowThreads();
3760 result = (int)(arg1)->GetHeight();
3761
3762 wxPyEndAllowThreads(__tstate);
3763 if (PyErr_Occurred()) SWIG_fail;
3764 }
15afbcd0 3765 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3766 return resultobj;
3767 fail:
3768 return NULL;
3769}
3770
3771
3772static PyObject *_wrap_Icon_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3773 PyObject *resultobj;
3774 wxIcon *arg1 = (wxIcon *) 0 ;
3775 int result;
3776 PyObject * obj0 = 0 ;
3777 char *kwnames[] = {
3778 (char *) "self", NULL
3779 };
3780
3781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_GetDepth",kwnames,&obj0)) goto fail;
15afbcd0
RD
3782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3784 {
3785 PyThreadState* __tstate = wxPyBeginAllowThreads();
3786 result = (int)(arg1)->GetDepth();
3787
3788 wxPyEndAllowThreads(__tstate);
3789 if (PyErr_Occurred()) SWIG_fail;
3790 }
15afbcd0 3791 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3792 return resultobj;
3793 fail:
3794 return NULL;
3795}
3796
3797
3798static PyObject *_wrap_Icon_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3799 PyObject *resultobj;
3800 wxIcon *arg1 = (wxIcon *) 0 ;
3801 int arg2 ;
3802 PyObject * obj0 = 0 ;
994141e6 3803 PyObject * obj1 = 0 ;
d14a1e28
RD
3804 char *kwnames[] = {
3805 (char *) "self",(char *) "w", NULL
3806 };
3807
994141e6 3808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3811 arg2 = (int) SWIG_AsInt(obj1);
3812 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3813 {
3814 PyThreadState* __tstate = wxPyBeginAllowThreads();
3815 (arg1)->SetWidth(arg2);
3816
3817 wxPyEndAllowThreads(__tstate);
3818 if (PyErr_Occurred()) SWIG_fail;
3819 }
3820 Py_INCREF(Py_None); resultobj = Py_None;
3821 return resultobj;
3822 fail:
3823 return NULL;
3824}
3825
3826
3827static PyObject *_wrap_Icon_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3828 PyObject *resultobj;
3829 wxIcon *arg1 = (wxIcon *) 0 ;
3830 int arg2 ;
3831 PyObject * obj0 = 0 ;
994141e6 3832 PyObject * obj1 = 0 ;
d14a1e28
RD
3833 char *kwnames[] = {
3834 (char *) "self",(char *) "h", NULL
3835 };
3836
994141e6 3837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_SetHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3840 arg2 = (int) SWIG_AsInt(obj1);
3841 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3842 {
3843 PyThreadState* __tstate = wxPyBeginAllowThreads();
3844 (arg1)->SetHeight(arg2);
3845
3846 wxPyEndAllowThreads(__tstate);
3847 if (PyErr_Occurred()) SWIG_fail;
3848 }
3849 Py_INCREF(Py_None); resultobj = Py_None;
3850 return resultobj;
3851 fail:
3852 return NULL;
3853}
3854
3855
3856static PyObject *_wrap_Icon_SetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3857 PyObject *resultobj;
3858 wxIcon *arg1 = (wxIcon *) 0 ;
3859 int arg2 ;
3860 PyObject * obj0 = 0 ;
994141e6 3861 PyObject * obj1 = 0 ;
d14a1e28
RD
3862 char *kwnames[] = {
3863 (char *) "self",(char *) "d", NULL
3864 };
3865
994141e6 3866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_SetDepth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3869 arg2 = (int) SWIG_AsInt(obj1);
3870 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3871 {
3872 PyThreadState* __tstate = wxPyBeginAllowThreads();
3873 (arg1)->SetDepth(arg2);
3874
3875 wxPyEndAllowThreads(__tstate);
3876 if (PyErr_Occurred()) SWIG_fail;
3877 }
3878 Py_INCREF(Py_None); resultobj = Py_None;
3879 return resultobj;
3880 fail:
3881 return NULL;
3882}
3883
3884
3885static PyObject *_wrap_Icon_CopyFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3886 PyObject *resultobj;
3887 wxIcon *arg1 = (wxIcon *) 0 ;
3888 wxBitmap *arg2 = 0 ;
3889 PyObject * obj0 = 0 ;
3890 PyObject * obj1 = 0 ;
3891 char *kwnames[] = {
3892 (char *) "self",(char *) "bmp", NULL
3893 };
3894
3895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_CopyFromBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3898 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
3899 SWIG_POINTER_EXCEPTION | 0)) == -1)
3900 SWIG_fail;
d14a1e28 3901 if (arg2 == NULL) {
15afbcd0
RD
3902 PyErr_SetString(PyExc_TypeError,"null reference");
3903 SWIG_fail;
d14a1e28
RD
3904 }
3905 {
3906 PyThreadState* __tstate = wxPyBeginAllowThreads();
3907 (arg1)->CopyFromBitmap((wxBitmap const &)*arg2);
3908
3909 wxPyEndAllowThreads(__tstate);
3910 if (PyErr_Occurred()) SWIG_fail;
3911 }
3912 Py_INCREF(Py_None); resultobj = Py_None;
3913 return resultobj;
3914 fail:
3915 return NULL;
3916}
3917
3918
3919static PyObject * Icon_swigregister(PyObject *self, PyObject *args) {
3920 PyObject *obj;
3921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3922 SWIG_TypeClientData(SWIGTYPE_p_wxIcon, obj);
3923 Py_INCREF(obj);
3924 return Py_BuildValue((char *)"");
3925}
3926static PyObject *_wrap_new_IconLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
3927 PyObject *resultobj;
3928 wxString *arg1 = (wxString *) &wxPyEmptyString ;
3929 int arg2 = (int) 0 ;
3930 wxIconLocation *result;
7eae615b 3931 bool temp1 = False ;
d14a1e28 3932 PyObject * obj0 = 0 ;
994141e6 3933 PyObject * obj1 = 0 ;
d14a1e28
RD
3934 char *kwnames[] = {
3935 (char *) "filename",(char *) "num", NULL
3936 };
3937
994141e6 3938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconLocation",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 3939 if (obj0) {
7eae615b
RD
3940 {
3941 arg1 = wxString_in_helper(obj0);
3942 if (arg1 == NULL) SWIG_fail;
3943 temp1 = True;
3944 }
d14a1e28 3945 }
994141e6 3946 if (obj1) {
15afbcd0
RD
3947 arg2 = (int) SWIG_AsInt(obj1);
3948 if (PyErr_Occurred()) SWIG_fail;
994141e6 3949 }
d14a1e28
RD
3950 {
3951 PyThreadState* __tstate = wxPyBeginAllowThreads();
3952 result = (wxIconLocation *)new_wxIconLocation((wxString const *)arg1,arg2);
3953
3954 wxPyEndAllowThreads(__tstate);
3955 if (PyErr_Occurred()) SWIG_fail;
3956 }
15afbcd0 3957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconLocation, 1);
7eae615b
RD
3958 {
3959 if (temp1)
3960 delete arg1;
3961 }
d14a1e28
RD
3962 return resultobj;
3963 fail:
7eae615b
RD
3964 {
3965 if (temp1)
3966 delete arg1;
3967 }
d14a1e28
RD
3968 return NULL;
3969}
3970
3971
3972static PyObject *_wrap_delete_IconLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
3973 PyObject *resultobj;
3974 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
3975 PyObject * obj0 = 0 ;
3976 char *kwnames[] = {
3977 (char *) "self", NULL
3978 };
3979
3980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_IconLocation",kwnames,&obj0)) goto fail;
15afbcd0
RD
3981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
3982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3983 {
3984 PyThreadState* __tstate = wxPyBeginAllowThreads();
3985 delete arg1;
3986
3987 wxPyEndAllowThreads(__tstate);
3988 if (PyErr_Occurred()) SWIG_fail;
3989 }
3990 Py_INCREF(Py_None); resultobj = Py_None;
3991 return resultobj;
3992 fail:
3993 return NULL;
3994}
3995
3996
3997static PyObject *_wrap_IconLocation_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
3998 PyObject *resultobj;
3999 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4000 bool result;
4001 PyObject * obj0 = 0 ;
4002 char *kwnames[] = {
4003 (char *) "self", NULL
4004 };
4005
4006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconLocation_IsOk",kwnames,&obj0)) goto fail;
15afbcd0
RD
4007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4009 {
4010 PyThreadState* __tstate = wxPyBeginAllowThreads();
4011 result = (bool)((wxIconLocation const *)arg1)->IsOk();
4012
4013 wxPyEndAllowThreads(__tstate);
4014 if (PyErr_Occurred()) SWIG_fail;
4015 }
4f89f6a3
RD
4016 {
4017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4018 }
d14a1e28
RD
4019 return resultobj;
4020 fail:
4021 return NULL;
4022}
4023
4024
4025static PyObject *_wrap_IconLocation_SetFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
4026 PyObject *resultobj;
4027 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4028 wxString *arg2 = 0 ;
e811c8ce 4029 bool temp2 = False ;
d14a1e28
RD
4030 PyObject * obj0 = 0 ;
4031 PyObject * obj1 = 0 ;
4032 char *kwnames[] = {
4033 (char *) "self",(char *) "filename", NULL
4034 };
4035
4036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconLocation_SetFileName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4039 {
4040 arg2 = wxString_in_helper(obj1);
4041 if (arg2 == NULL) SWIG_fail;
e811c8ce 4042 temp2 = True;
d14a1e28
RD
4043 }
4044 {
4045 PyThreadState* __tstate = wxPyBeginAllowThreads();
4046 (arg1)->SetFileName((wxString const &)*arg2);
4047
4048 wxPyEndAllowThreads(__tstate);
4049 if (PyErr_Occurred()) SWIG_fail;
4050 }
4051 Py_INCREF(Py_None); resultobj = Py_None;
4052 {
4053 if (temp2)
4054 delete arg2;
4055 }
4056 return resultobj;
4057 fail:
4058 {
4059 if (temp2)
4060 delete arg2;
4061 }
4062 return NULL;
4063}
4064
4065
4066static PyObject *_wrap_IconLocation_GetFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
4067 PyObject *resultobj;
4068 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4069 wxString *result;
4070 PyObject * obj0 = 0 ;
4071 char *kwnames[] = {
4072 (char *) "self", NULL
4073 };
4074
4075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconLocation_GetFileName",kwnames,&obj0)) goto fail;
15afbcd0
RD
4076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4078 {
4079 PyThreadState* __tstate = wxPyBeginAllowThreads();
4080 {
4081 wxString const &_result_ref = ((wxIconLocation const *)arg1)->GetFileName();
4082 result = (wxString *) &_result_ref;
4083 }
4084
4085 wxPyEndAllowThreads(__tstate);
4086 if (PyErr_Occurred()) SWIG_fail;
4087 }
cc6dd355
RD
4088 {
4089#if wxUSE_UNICODE
4090 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4091#else
4092 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4093#endif
4094 }
d14a1e28
RD
4095 return resultobj;
4096 fail:
4097 return NULL;
4098}
4099
4100
4101static PyObject *_wrap_IconLocation_SetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
4102 PyObject *resultobj;
4103 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4104 int arg2 ;
4105 PyObject * obj0 = 0 ;
994141e6 4106 PyObject * obj1 = 0 ;
d14a1e28
RD
4107 char *kwnames[] = {
4108 (char *) "self",(char *) "num", NULL
4109 };
4110
994141e6 4111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconLocation_SetIndex",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4114 arg2 = (int) SWIG_AsInt(obj1);
4115 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4116 {
4117 PyThreadState* __tstate = wxPyBeginAllowThreads();
4118 wxIconLocation_SetIndex(arg1,arg2);
4119
4120 wxPyEndAllowThreads(__tstate);
4121 if (PyErr_Occurred()) SWIG_fail;
4122 }
4123 Py_INCREF(Py_None); resultobj = Py_None;
4124 return resultobj;
4125 fail:
4126 return NULL;
4127}
4128
4129
4130static PyObject *_wrap_IconLocation_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
4131 PyObject *resultobj;
4132 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4133 int result;
4134 PyObject * obj0 = 0 ;
4135 char *kwnames[] = {
4136 (char *) "self", NULL
4137 };
4138
4139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconLocation_GetIndex",kwnames,&obj0)) goto fail;
15afbcd0
RD
4140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4142 {
4143 PyThreadState* __tstate = wxPyBeginAllowThreads();
4144 result = (int)wxIconLocation_GetIndex(arg1);
4145
4146 wxPyEndAllowThreads(__tstate);
4147 if (PyErr_Occurred()) SWIG_fail;
4148 }
15afbcd0 4149 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4150 return resultobj;
4151 fail:
4152 return NULL;
4153}
4154
4155
4156static PyObject * IconLocation_swigregister(PyObject *self, PyObject *args) {
4157 PyObject *obj;
4158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4159 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation, obj);
4160 Py_INCREF(obj);
4161 return Py_BuildValue((char *)"");
4162}
4163static PyObject *_wrap_new_IconBundle(PyObject *self, PyObject *args, PyObject *kwargs) {
4164 PyObject *resultobj;
4165 wxIconBundle *result;
4166 char *kwnames[] = {
4167 NULL
4168 };
4169
4170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IconBundle",kwnames)) goto fail;
4171 {
4172 PyThreadState* __tstate = wxPyBeginAllowThreads();
4173 result = (wxIconBundle *)new wxIconBundle();
4174
4175 wxPyEndAllowThreads(__tstate);
4176 if (PyErr_Occurred()) SWIG_fail;
4177 }
15afbcd0 4178 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconBundle, 1);
d14a1e28
RD
4179 return resultobj;
4180 fail:
4181 return NULL;
4182}
4183
4184
4185static PyObject *_wrap_new_IconBundleFromFile(PyObject *self, PyObject *args, PyObject *kwargs) {
4186 PyObject *resultobj;
4187 wxString *arg1 = 0 ;
4188 long arg2 ;
4189 wxIconBundle *result;
e811c8ce 4190 bool temp1 = False ;
d14a1e28 4191 PyObject * obj0 = 0 ;
994141e6 4192 PyObject * obj1 = 0 ;
d14a1e28
RD
4193 char *kwnames[] = {
4194 (char *) "file",(char *) "type", NULL
4195 };
4196
994141e6 4197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_IconBundleFromFile",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
4198 {
4199 arg1 = wxString_in_helper(obj0);
4200 if (arg1 == NULL) SWIG_fail;
e811c8ce 4201 temp1 = True;
d14a1e28 4202 }
15afbcd0
RD
4203 arg2 = (long) SWIG_AsLong(obj1);
4204 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4205 {
4206 PyThreadState* __tstate = wxPyBeginAllowThreads();
4207 result = (wxIconBundle *)new wxIconBundle((wxString const &)*arg1,arg2);
4208
4209 wxPyEndAllowThreads(__tstate);
4210 if (PyErr_Occurred()) SWIG_fail;
4211 }
15afbcd0 4212 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconBundle, 1);
d14a1e28
RD
4213 {
4214 if (temp1)
4215 delete arg1;
4216 }
4217 return resultobj;
4218 fail:
4219 {
4220 if (temp1)
4221 delete arg1;
4222 }
4223 return NULL;
4224}
4225
4226
4227static PyObject *_wrap_new_IconBundleFromIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4228 PyObject *resultobj;
4229 wxIcon *arg1 = 0 ;
4230 wxIconBundle *result;
4231 PyObject * obj0 = 0 ;
4232 char *kwnames[] = {
4233 (char *) "icon", NULL
4234 };
4235
4236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconBundleFromIcon",kwnames,&obj0)) goto fail;
15afbcd0
RD
4237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
4238 SWIG_POINTER_EXCEPTION | 0)) == -1)
4239 SWIG_fail;
d14a1e28 4240 if (arg1 == NULL) {
15afbcd0
RD
4241 PyErr_SetString(PyExc_TypeError,"null reference");
4242 SWIG_fail;
d14a1e28
RD
4243 }
4244 {
4245 PyThreadState* __tstate = wxPyBeginAllowThreads();
4246 result = (wxIconBundle *)new wxIconBundle((wxIcon const &)*arg1);
4247
4248 wxPyEndAllowThreads(__tstate);
4249 if (PyErr_Occurred()) SWIG_fail;
4250 }
15afbcd0 4251 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconBundle, 1);
d14a1e28
RD
4252 return resultobj;
4253 fail:
4254 return NULL;
4255}
4256
4257
4258static PyObject *_wrap_delete_IconBundle(PyObject *self, PyObject *args, PyObject *kwargs) {
4259 PyObject *resultobj;
4260 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
4261 PyObject * obj0 = 0 ;
4262 char *kwnames[] = {
4263 (char *) "self", NULL
4264 };
4265
4266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_IconBundle",kwnames,&obj0)) goto fail;
15afbcd0
RD
4267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconBundle,
4268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4269 {
4270 PyThreadState* __tstate = wxPyBeginAllowThreads();
4271 delete arg1;
4272
4273 wxPyEndAllowThreads(__tstate);
4274 if (PyErr_Occurred()) SWIG_fail;
4275 }
4276 Py_INCREF(Py_None); resultobj = Py_None;
4277 return resultobj;
4278 fail:
4279 return NULL;
4280}
4281
4282
4283static PyObject *_wrap_IconBundle_AddIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4284 PyObject *resultobj;
4285 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
4286 wxIcon *arg2 = 0 ;
4287 PyObject * obj0 = 0 ;
4288 PyObject * obj1 = 0 ;
4289 char *kwnames[] = {
4290 (char *) "self",(char *) "icon", NULL
4291 };
4292
4293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconBundle_AddIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconBundle,
4295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4296 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
4297 SWIG_POINTER_EXCEPTION | 0)) == -1)
4298 SWIG_fail;
d14a1e28 4299 if (arg2 == NULL) {
15afbcd0
RD
4300 PyErr_SetString(PyExc_TypeError,"null reference");
4301 SWIG_fail;
d14a1e28
RD
4302 }
4303 {
4304 PyThreadState* __tstate = wxPyBeginAllowThreads();
4305 (arg1)->AddIcon((wxIcon const &)*arg2);
4306
4307 wxPyEndAllowThreads(__tstate);
4308 if (PyErr_Occurred()) SWIG_fail;
4309 }
4310 Py_INCREF(Py_None); resultobj = Py_None;
4311 return resultobj;
4312 fail:
4313 return NULL;
4314}
4315
4316
4317static PyObject *_wrap_IconBundle_AddIconFromFile(PyObject *self, PyObject *args, PyObject *kwargs) {
4318 PyObject *resultobj;
4319 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
4320 wxString *arg2 = 0 ;
4321 long arg3 ;
e811c8ce 4322 bool temp2 = False ;
d14a1e28
RD
4323 PyObject * obj0 = 0 ;
4324 PyObject * obj1 = 0 ;
994141e6 4325 PyObject * obj2 = 0 ;
d14a1e28
RD
4326 char *kwnames[] = {
4327 (char *) "self",(char *) "file",(char *) "type", NULL
4328 };
4329
994141e6 4330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IconBundle_AddIconFromFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconBundle,
4332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4333 {
4334 arg2 = wxString_in_helper(obj1);
4335 if (arg2 == NULL) SWIG_fail;
e811c8ce 4336 temp2 = True;
d14a1e28 4337 }
15afbcd0
RD
4338 arg3 = (long) SWIG_AsLong(obj2);
4339 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4340 {
4341 PyThreadState* __tstate = wxPyBeginAllowThreads();
4342 (arg1)->AddIcon((wxString const &)*arg2,arg3);
4343
4344 wxPyEndAllowThreads(__tstate);
4345 if (PyErr_Occurred()) SWIG_fail;
4346 }
4347 Py_INCREF(Py_None); resultobj = Py_None;
4348 {
4349 if (temp2)
4350 delete arg2;
4351 }
4352 return resultobj;
4353 fail:
4354 {
4355 if (temp2)
4356 delete arg2;
4357 }
4358 return NULL;
4359}
4360
4361
4362static PyObject *_wrap_IconBundle_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4363 PyObject *resultobj;
4364 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
4365 wxSize *arg2 = 0 ;
4366 wxIcon *result;
4367 wxSize temp2 ;
4368 PyObject * obj0 = 0 ;
4369 PyObject * obj1 = 0 ;
4370 char *kwnames[] = {
4371 (char *) "self",(char *) "size", NULL
4372 };
4373
4374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconBundle_GetIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconBundle,
4376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4377 {
4378 arg2 = &temp2;
4379 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4380 }
4381 {
4382 PyThreadState* __tstate = wxPyBeginAllowThreads();
4383 {
4384 wxIcon const &_result_ref = ((wxIconBundle const *)arg1)->GetIcon((wxSize const &)*arg2);
4385 result = (wxIcon *) &_result_ref;
4386 }
4387
4388 wxPyEndAllowThreads(__tstate);
4389 if (PyErr_Occurred()) SWIG_fail;
4390 }
4276dc52
RD
4391 {
4392 wxIcon* resultptr = new wxIcon(*result);
4393 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxIcon, 1);
4394 }
d14a1e28
RD
4395 return resultobj;
4396 fail:
4397 return NULL;
4398}
4399
4400
4401static PyObject * IconBundle_swigregister(PyObject *self, PyObject *args) {
4402 PyObject *obj;
4403 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4404 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle, obj);
4405 Py_INCREF(obj);
4406 return Py_BuildValue((char *)"");
4407}
4408static PyObject *_wrap_new_Cursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4409 PyObject *resultobj;
4410 wxString *arg1 = (wxString *) 0 ;
4411 long arg2 ;
4412 int arg3 = (int) 0 ;
4413 int arg4 = (int) 0 ;
4414 wxCursor *result;
7eae615b 4415 bool temp1 = False ;
d14a1e28 4416 PyObject * obj0 = 0 ;
994141e6
RD
4417 PyObject * obj1 = 0 ;
4418 PyObject * obj2 = 0 ;
4419 PyObject * obj3 = 0 ;
d14a1e28 4420 char *kwnames[] = {
15afbcd0 4421 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
d14a1e28
RD
4422 };
4423
994141e6 4424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_Cursor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7eae615b
RD
4425 {
4426 arg1 = wxString_in_helper(obj0);
4427 if (arg1 == NULL) SWIG_fail;
4428 temp1 = True;
4429 }
15afbcd0
RD
4430 arg2 = (long) SWIG_AsLong(obj1);
4431 if (PyErr_Occurred()) SWIG_fail;
994141e6 4432 if (obj2) {
15afbcd0
RD
4433 arg3 = (int) SWIG_AsInt(obj2);
4434 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4435 }
4436 if (obj3) {
15afbcd0
RD
4437 arg4 = (int) SWIG_AsInt(obj3);
4438 if (PyErr_Occurred()) SWIG_fail;
994141e6 4439 }
d14a1e28
RD
4440 {
4441 PyThreadState* __tstate = wxPyBeginAllowThreads();
4442 result = (wxCursor *)new_wxCursor((wxString const *)arg1,arg2,arg3,arg4);
4443
4444 wxPyEndAllowThreads(__tstate);
4445 if (PyErr_Occurred()) SWIG_fail;
4446 }
15afbcd0 4447 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCursor, 1);
7eae615b
RD
4448 {
4449 if (temp1)
4450 delete arg1;
4451 }
d14a1e28
RD
4452 return resultobj;
4453 fail:
7eae615b
RD
4454 {
4455 if (temp1)
4456 delete arg1;
4457 }
d14a1e28
RD
4458 return NULL;
4459}
4460
4461
4462static PyObject *_wrap_delete_Cursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4463 PyObject *resultobj;
4464 wxCursor *arg1 = (wxCursor *) 0 ;
4465 PyObject * obj0 = 0 ;
4466 char *kwnames[] = {
4467 (char *) "self", NULL
4468 };
4469
4470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Cursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
4471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4473 {
4474 PyThreadState* __tstate = wxPyBeginAllowThreads();
4475 delete arg1;
4476
4477 wxPyEndAllowThreads(__tstate);
4478 if (PyErr_Occurred()) SWIG_fail;
4479 }
4480 Py_INCREF(Py_None); resultobj = Py_None;
4481 return resultobj;
4482 fail:
4483 return NULL;
4484}
4485
4486
4487static PyObject *_wrap_new_StockCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4488 PyObject *resultobj;
4489 int arg1 ;
4490 wxCursor *result;
994141e6 4491 PyObject * obj0 = 0 ;
d14a1e28
RD
4492 char *kwnames[] = {
4493 (char *) "id", NULL
4494 };
4495
994141e6 4496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_StockCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
4497 arg1 = (int) SWIG_AsInt(obj0);
4498 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4499 {
4500 PyThreadState* __tstate = wxPyBeginAllowThreads();
4501 result = (wxCursor *)new wxCursor(arg1);
4502
4503 wxPyEndAllowThreads(__tstate);
4504 if (PyErr_Occurred()) SWIG_fail;
4505 }
15afbcd0 4506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCursor, 1);
d14a1e28
RD
4507 return resultobj;
4508 fail:
4509 return NULL;
4510}
4511
4512
4513static PyObject *_wrap_new_CursorFromImage(PyObject *self, PyObject *args, PyObject *kwargs) {
4514 PyObject *resultobj;
4515 wxImage *arg1 = 0 ;
4516 wxCursor *result;
4517 PyObject * obj0 = 0 ;
4518 char *kwnames[] = {
4519 (char *) "image", NULL
4520 };
4521
4522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CursorFromImage",kwnames,&obj0)) goto fail;
15afbcd0
RD
4523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
4524 SWIG_POINTER_EXCEPTION | 0)) == -1)
4525 SWIG_fail;
d14a1e28 4526 if (arg1 == NULL) {
15afbcd0
RD
4527 PyErr_SetString(PyExc_TypeError,"null reference");
4528 SWIG_fail;
d14a1e28
RD
4529 }
4530 {
4531 PyThreadState* __tstate = wxPyBeginAllowThreads();
4532 result = (wxCursor *)new wxCursor((wxImage const &)*arg1);
4533
4534 wxPyEndAllowThreads(__tstate);
4535 if (PyErr_Occurred()) SWIG_fail;
4536 }
15afbcd0 4537 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCursor, 1);
d14a1e28
RD
4538 return resultobj;
4539 fail:
4540 return NULL;
4541}
4542
4543
15afbcd0 4544static PyObject *_wrap_Cursor_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4545 PyObject *resultobj;
4546 wxCursor *arg1 = (wxCursor *) 0 ;
4547 bool result;
4548 PyObject * obj0 = 0 ;
4549 char *kwnames[] = {
4550 (char *) "self", NULL
4551 };
4552
4553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Cursor_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
4554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4556 {
4557 PyThreadState* __tstate = wxPyBeginAllowThreads();
4558 result = (bool)(arg1)->Ok();
4559
4560 wxPyEndAllowThreads(__tstate);
4561 if (PyErr_Occurred()) SWIG_fail;
4562 }
4f89f6a3
RD
4563 {
4564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4565 }
d14a1e28
RD
4566 return resultobj;
4567 fail:
4568 return NULL;
4569}
4570
4571
4572static PyObject * Cursor_swigregister(PyObject *self, PyObject *args) {
4573 PyObject *obj;
4574 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4575 SWIG_TypeClientData(SWIGTYPE_p_wxCursor, obj);
4576 Py_INCREF(obj);
4577 return Py_BuildValue((char *)"");
4578}
4579static PyObject *_wrap_new_Region(PyObject *self, PyObject *args, PyObject *kwargs) {
4580 PyObject *resultobj;
e811c8ce
RD
4581 int arg1 = (int) 0 ;
4582 int arg2 = (int) 0 ;
4583 int arg3 = (int) 0 ;
4584 int arg4 = (int) 0 ;
d14a1e28 4585 wxRegion *result;
994141e6
RD
4586 PyObject * obj0 = 0 ;
4587 PyObject * obj1 = 0 ;
4588 PyObject * obj2 = 0 ;
4589 PyObject * obj3 = 0 ;
d14a1e28
RD
4590 char *kwnames[] = {
4591 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4592 };
4593
994141e6
RD
4594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Region",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4595 if (obj0) {
15afbcd0
RD
4596 arg1 = (int) SWIG_AsInt(obj0);
4597 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4598 }
4599 if (obj1) {
15afbcd0
RD
4600 arg2 = (int) SWIG_AsInt(obj1);
4601 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4602 }
4603 if (obj2) {
15afbcd0
RD
4604 arg3 = (int) SWIG_AsInt(obj2);
4605 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4606 }
4607 if (obj3) {
15afbcd0
RD
4608 arg4 = (int) SWIG_AsInt(obj3);
4609 if (PyErr_Occurred()) SWIG_fail;
994141e6 4610 }
d14a1e28
RD
4611 {
4612 PyThreadState* __tstate = wxPyBeginAllowThreads();
4613 result = (wxRegion *)new wxRegion(arg1,arg2,arg3,arg4);
4614
4615 wxPyEndAllowThreads(__tstate);
4616 if (PyErr_Occurred()) SWIG_fail;
4617 }
15afbcd0 4618 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 1);
d14a1e28
RD
4619 return resultobj;
4620 fail:
4621 return NULL;
4622}
4623
4624
4625static PyObject *_wrap_new_RegionFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4626 PyObject *resultobj;
4627 wxBitmap *arg1 = 0 ;
4628 wxColour const &arg2_defvalue = wxNullColour ;
4629 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
4630 int arg3 = (int) 0 ;
4631 wxRegion *result;
4632 wxColour temp2 ;
4633 PyObject * obj0 = 0 ;
4634 PyObject * obj1 = 0 ;
994141e6 4635 PyObject * obj2 = 0 ;
d14a1e28
RD
4636 char *kwnames[] = {
4637 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4638 };
4639
994141e6 4640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_RegionFromBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4642 SWIG_POINTER_EXCEPTION | 0)) == -1)
4643 SWIG_fail;
d14a1e28 4644 if (arg1 == NULL) {
15afbcd0
RD
4645 PyErr_SetString(PyExc_TypeError,"null reference");
4646 SWIG_fail;
d14a1e28
RD
4647 }
4648 if (obj1) {
4649 {
4650 arg2 = &temp2;
4651 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4652 }
4653 }
994141e6 4654 if (obj2) {
15afbcd0
RD
4655 arg3 = (int) SWIG_AsInt(obj2);
4656 if (PyErr_Occurred()) SWIG_fail;
994141e6 4657 }
d14a1e28
RD
4658 {
4659 PyThreadState* __tstate = wxPyBeginAllowThreads();
4660 result = (wxRegion *)new wxRegion((wxBitmap const &)*arg1,(wxColour const &)*arg2,arg3);
4661
4662 wxPyEndAllowThreads(__tstate);
4663 if (PyErr_Occurred()) SWIG_fail;
4664 }
15afbcd0 4665 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 1);
d14a1e28
RD
4666 return resultobj;
4667 fail:
4668 return NULL;
4669}
4670
4671
4672static PyObject *_wrap_new_RegionFromPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4673 PyObject *resultobj;
4674 int arg1 ;
4675 wxPoint *arg2 = (wxPoint *) 0 ;
4676 int arg3 = (int) wxWINDING_RULE ;
4677 wxRegion *result;
4678 PyObject * obj0 = 0 ;
994141e6 4679 PyObject * obj1 = 0 ;
d14a1e28
RD
4680 char *kwnames[] = {
4681 (char *) "points",(char *) "fillStyle", NULL
4682 };
4683
994141e6 4684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_RegionFromPoints",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
4685 {
4686 arg2 = wxPoint_LIST_helper(obj0, &arg1);
4687 if (arg2 == NULL) SWIG_fail;
4688 }
994141e6 4689 if (obj1) {
15afbcd0
RD
4690 arg3 = (int) SWIG_AsInt(obj1);
4691 if (PyErr_Occurred()) SWIG_fail;
994141e6 4692 }
d14a1e28
RD
4693 {
4694 PyThreadState* __tstate = wxPyBeginAllowThreads();
4695 result = (wxRegion *)new wxRegion(arg1,arg2,arg3);
4696
4697 wxPyEndAllowThreads(__tstate);
4698 if (PyErr_Occurred()) SWIG_fail;
4699 }
15afbcd0 4700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 1);
d14a1e28
RD
4701 {
4702 if (arg2) delete [] arg2;
4703 }
4704 return resultobj;
4705 fail:
4706 {
4707 if (arg2) delete [] arg2;
4708 }
4709 return NULL;
4710}
4711
4712
4713static PyObject *_wrap_delete_Region(PyObject *self, PyObject *args, PyObject *kwargs) {
4714 PyObject *resultobj;
4715 wxRegion *arg1 = (wxRegion *) 0 ;
4716 PyObject * obj0 = 0 ;
4717 char *kwnames[] = {
4718 (char *) "self", NULL
4719 };
4720
4721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Region",kwnames,&obj0)) goto fail;
15afbcd0
RD
4722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4724 {
4725 PyThreadState* __tstate = wxPyBeginAllowThreads();
4726 delete arg1;
4727
4728 wxPyEndAllowThreads(__tstate);
4729 if (PyErr_Occurred()) SWIG_fail;
4730 }
4731 Py_INCREF(Py_None); resultobj = Py_None;
4732 return resultobj;
4733 fail:
4734 return NULL;
4735}
4736
4737
4738static PyObject *_wrap_Region_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
4739 PyObject *resultobj;
4740 wxRegion *arg1 = (wxRegion *) 0 ;
4741 PyObject * obj0 = 0 ;
4742 char *kwnames[] = {
4743 (char *) "self", NULL
4744 };
4745
4746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
4747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4749 {
4750 PyThreadState* __tstate = wxPyBeginAllowThreads();
4751 (arg1)->Clear();
4752
4753 wxPyEndAllowThreads(__tstate);
4754 if (PyErr_Occurred()) SWIG_fail;
4755 }
4756 Py_INCREF(Py_None); resultobj = Py_None;
4757 return resultobj;
4758 fail:
4759 return NULL;
4760}
4761
4762
4763static PyObject *_wrap_Region_Offset(PyObject *self, PyObject *args, PyObject *kwargs) {
4764 PyObject *resultobj;
4765 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
4766 int arg2 ;
4767 int arg3 ;
d14a1e28
RD
4768 bool result;
4769 PyObject * obj0 = 0 ;
994141e6
RD
4770 PyObject * obj1 = 0 ;
4771 PyObject * obj2 = 0 ;
d14a1e28
RD
4772 char *kwnames[] = {
4773 (char *) "self",(char *) "x",(char *) "y", NULL
4774 };
4775
994141e6 4776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Region_Offset",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4779 arg2 = (int) SWIG_AsInt(obj1);
4780 if (PyErr_Occurred()) SWIG_fail;
4781 arg3 = (int) SWIG_AsInt(obj2);
4782 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4783 {
4784 PyThreadState* __tstate = wxPyBeginAllowThreads();
4785 result = (bool)(arg1)->Offset(arg2,arg3);
4786
4787 wxPyEndAllowThreads(__tstate);
4788 if (PyErr_Occurred()) SWIG_fail;
4789 }
4f89f6a3
RD
4790 {
4791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4792 }
d14a1e28
RD
4793 return resultobj;
4794 fail:
4795 return NULL;
4796}
4797
4798
4799static PyObject *_wrap_Region_Contains(PyObject *self, PyObject *args, PyObject *kwargs) {
4800 PyObject *resultobj;
4801 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
4802 int arg2 ;
4803 int arg3 ;
d14a1e28
RD
4804 int result;
4805 PyObject * obj0 = 0 ;
994141e6
RD
4806 PyObject * obj1 = 0 ;
4807 PyObject * obj2 = 0 ;
d14a1e28
RD
4808 char *kwnames[] = {
4809 (char *) "self",(char *) "x",(char *) "y", NULL
4810 };
4811
994141e6 4812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Region_Contains",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4815 arg2 = (int) SWIG_AsInt(obj1);
4816 if (PyErr_Occurred()) SWIG_fail;
4817 arg3 = (int) SWIG_AsInt(obj2);
4818 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4819 {
4820 PyThreadState* __tstate = wxPyBeginAllowThreads();
4821 result = (int)(arg1)->Contains(arg2,arg3);
4822
4823 wxPyEndAllowThreads(__tstate);
4824 if (PyErr_Occurred()) SWIG_fail;
4825 }
15afbcd0 4826 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4827 return resultobj;
4828 fail:
4829 return NULL;
4830}
4831
4832
4833static PyObject *_wrap_Region_ContainsPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4834 PyObject *resultobj;
4835 wxRegion *arg1 = (wxRegion *) 0 ;
4836 wxPoint *arg2 = 0 ;
4837 int result;
4838 wxPoint temp2 ;
4839 PyObject * obj0 = 0 ;
4840 PyObject * obj1 = 0 ;
4841 char *kwnames[] = {
4842 (char *) "self",(char *) "pt", NULL
4843 };
4844
4845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_ContainsPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4848 {
4849 arg2 = &temp2;
4850 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4851 }
4852 {
4853 PyThreadState* __tstate = wxPyBeginAllowThreads();
4854 result = (int)(arg1)->Contains((wxPoint const &)*arg2);
4855
4856 wxPyEndAllowThreads(__tstate);
4857 if (PyErr_Occurred()) SWIG_fail;
4858 }
15afbcd0 4859 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4860 return resultobj;
4861 fail:
4862 return NULL;
4863}
4864
4865
4866static PyObject *_wrap_Region_ContainsRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4867 PyObject *resultobj;
4868 wxRegion *arg1 = (wxRegion *) 0 ;
4869 wxRect *arg2 = 0 ;
4870 int result;
4871 wxRect temp2 ;
4872 PyObject * obj0 = 0 ;
4873 PyObject * obj1 = 0 ;
4874 char *kwnames[] = {
4875 (char *) "self",(char *) "rect", NULL
4876 };
4877
4878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_ContainsRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4881 {
4882 arg2 = &temp2;
4883 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4884 }
4885 {
4886 PyThreadState* __tstate = wxPyBeginAllowThreads();
4887 result = (int)(arg1)->Contains((wxRect const &)*arg2);
4888
4889 wxPyEndAllowThreads(__tstate);
4890 if (PyErr_Occurred()) SWIG_fail;
4891 }
15afbcd0 4892 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4893 return resultobj;
4894 fail:
4895 return NULL;
4896}
4897
4898
4899static PyObject *_wrap_Region_ContainsRectDim(PyObject *self, PyObject *args, PyObject *kwargs) {
4900 PyObject *resultobj;
4901 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
4902 int arg2 ;
4903 int arg3 ;
4904 int arg4 ;
4905 int arg5 ;
d14a1e28
RD
4906 int result;
4907 PyObject * obj0 = 0 ;
994141e6
RD
4908 PyObject * obj1 = 0 ;
4909 PyObject * obj2 = 0 ;
4910 PyObject * obj3 = 0 ;
4911 PyObject * obj4 = 0 ;
d14a1e28
RD
4912 char *kwnames[] = {
4913 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4914 };
4915
994141e6 4916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_ContainsRectDim",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
4917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4919 arg2 = (int) SWIG_AsInt(obj1);
4920 if (PyErr_Occurred()) SWIG_fail;
4921 arg3 = (int) SWIG_AsInt(obj2);
4922 if (PyErr_Occurred()) SWIG_fail;
4923 arg4 = (int) SWIG_AsInt(obj3);
4924 if (PyErr_Occurred()) SWIG_fail;
4925 arg5 = (int) SWIG_AsInt(obj4);
4926 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4927 {
4928 PyThreadState* __tstate = wxPyBeginAllowThreads();
4929 result = (int)(arg1)->Contains(arg2,arg3,arg4,arg5);
4930
4931 wxPyEndAllowThreads(__tstate);
4932 if (PyErr_Occurred()) SWIG_fail;
4933 }
15afbcd0 4934 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4935 return resultobj;
4936 fail:
4937 return NULL;
4938}
4939
4940
4941static PyObject *_wrap_Region_GetBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4942 PyObject *resultobj;
4943 wxRegion *arg1 = (wxRegion *) 0 ;
4944 wxRect result;
4945 PyObject * obj0 = 0 ;
4946 char *kwnames[] = {
4947 (char *) "self", NULL
4948 };
4949
4950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_GetBox",kwnames,&obj0)) goto fail;
15afbcd0
RD
4951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4953 {
4954 PyThreadState* __tstate = wxPyBeginAllowThreads();
4955 result = (arg1)->GetBox();
4956
4957 wxPyEndAllowThreads(__tstate);
4958 if (PyErr_Occurred()) SWIG_fail;
4959 }
4960 {
4961 wxRect * resultptr;
4962 resultptr = new wxRect((wxRect &) result);
15afbcd0 4963 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
4964 }
4965 return resultobj;
4966 fail:
4967 return NULL;
4968}
4969
4970
4971static PyObject *_wrap_Region_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
4972 PyObject *resultobj;
4973 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
4974 int arg2 ;
4975 int arg3 ;
4976 int arg4 ;
4977 int arg5 ;
d14a1e28
RD
4978 bool result;
4979 PyObject * obj0 = 0 ;
994141e6
RD
4980 PyObject * obj1 = 0 ;
4981 PyObject * obj2 = 0 ;
4982 PyObject * obj3 = 0 ;
4983 PyObject * obj4 = 0 ;
d14a1e28
RD
4984 char *kwnames[] = {
4985 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4986 };
4987
994141e6 4988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Intersect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
4989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4991 arg2 = (int) SWIG_AsInt(obj1);
4992 if (PyErr_Occurred()) SWIG_fail;
4993 arg3 = (int) SWIG_AsInt(obj2);
4994 if (PyErr_Occurred()) SWIG_fail;
4995 arg4 = (int) SWIG_AsInt(obj3);
4996 if (PyErr_Occurred()) SWIG_fail;
4997 arg5 = (int) SWIG_AsInt(obj4);
4998 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4999 {
5000 PyThreadState* __tstate = wxPyBeginAllowThreads();
5001 result = (bool)(arg1)->Intersect(arg2,arg3,arg4,arg5);
5002
5003 wxPyEndAllowThreads(__tstate);
5004 if (PyErr_Occurred()) SWIG_fail;
5005 }
4f89f6a3
RD
5006 {
5007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5008 }
d14a1e28
RD
5009 return resultobj;
5010 fail:
5011 return NULL;
5012}
5013
5014
5015static PyObject *_wrap_Region_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5016 PyObject *resultobj;
5017 wxRegion *arg1 = (wxRegion *) 0 ;
5018 wxRect *arg2 = 0 ;
5019 bool result;
5020 wxRect temp2 ;
5021 PyObject * obj0 = 0 ;
5022 PyObject * obj1 = 0 ;
5023 char *kwnames[] = {
5024 (char *) "self",(char *) "rect", NULL
5025 };
5026
5027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_IntersectRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5030 {
5031 arg2 = &temp2;
5032 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5033 }
5034 {
5035 PyThreadState* __tstate = wxPyBeginAllowThreads();
5036 result = (bool)(arg1)->Intersect((wxRect const &)*arg2);
5037
5038 wxPyEndAllowThreads(__tstate);
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
4f89f6a3
RD
5041 {
5042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5043 }
d14a1e28
RD
5044 return resultobj;
5045 fail:
5046 return NULL;
5047}
5048
5049
5050static PyObject *_wrap_Region_IntersectRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
5051 PyObject *resultobj;
5052 wxRegion *arg1 = (wxRegion *) 0 ;
5053 wxRegion *arg2 = 0 ;
5054 bool result;
5055 PyObject * obj0 = 0 ;
5056 PyObject * obj1 = 0 ;
5057 char *kwnames[] = {
5058 (char *) "self",(char *) "region", NULL
5059 };
5060
5061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_IntersectRegion",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5064 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
5065 SWIG_POINTER_EXCEPTION | 0)) == -1)
5066 SWIG_fail;
d14a1e28 5067 if (arg2 == NULL) {
15afbcd0
RD
5068 PyErr_SetString(PyExc_TypeError,"null reference");
5069 SWIG_fail;
d14a1e28
RD
5070 }
5071 {
5072 PyThreadState* __tstate = wxPyBeginAllowThreads();
5073 result = (bool)(arg1)->Intersect((wxRegion const &)*arg2);
5074
5075 wxPyEndAllowThreads(__tstate);
5076 if (PyErr_Occurred()) SWIG_fail;
5077 }
4f89f6a3
RD
5078 {
5079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5080 }
d14a1e28
RD
5081 return resultobj;
5082 fail:
5083 return NULL;
5084}
5085
5086
5087static PyObject *_wrap_Region_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
5088 PyObject *resultobj;
5089 wxRegion *arg1 = (wxRegion *) 0 ;
5090 bool result;
5091 PyObject * obj0 = 0 ;
5092 char *kwnames[] = {
5093 (char *) "self", NULL
5094 };
5095
5096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_IsEmpty",kwnames,&obj0)) goto fail;
15afbcd0
RD
5097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5099 {
5100 PyThreadState* __tstate = wxPyBeginAllowThreads();
5101 result = (bool)(arg1)->IsEmpty();
5102
5103 wxPyEndAllowThreads(__tstate);
5104 if (PyErr_Occurred()) SWIG_fail;
5105 }
4f89f6a3
RD
5106 {
5107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5108 }
d14a1e28
RD
5109 return resultobj;
5110 fail:
5111 return NULL;
5112}
5113
5114
5115static PyObject *_wrap_Region_Union(PyObject *self, PyObject *args, PyObject *kwargs) {
5116 PyObject *resultobj;
5117 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
5118 int arg2 ;
5119 int arg3 ;
5120 int arg4 ;
5121 int arg5 ;
d14a1e28
RD
5122 bool result;
5123 PyObject * obj0 = 0 ;
994141e6
RD
5124 PyObject * obj1 = 0 ;
5125 PyObject * obj2 = 0 ;
5126 PyObject * obj3 = 0 ;
5127 PyObject * obj4 = 0 ;
d14a1e28
RD
5128 char *kwnames[] = {
5129 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5130 };
5131
994141e6 5132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Union",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
5133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5135 arg2 = (int) SWIG_AsInt(obj1);
5136 if (PyErr_Occurred()) SWIG_fail;
5137 arg3 = (int) SWIG_AsInt(obj2);
5138 if (PyErr_Occurred()) SWIG_fail;
5139 arg4 = (int) SWIG_AsInt(obj3);
5140 if (PyErr_Occurred()) SWIG_fail;
5141 arg5 = (int) SWIG_AsInt(obj4);
5142 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5143 {
5144 PyThreadState* __tstate = wxPyBeginAllowThreads();
5145 result = (bool)(arg1)->Union(arg2,arg3,arg4,arg5);
5146
5147 wxPyEndAllowThreads(__tstate);
5148 if (PyErr_Occurred()) SWIG_fail;
5149 }
4f89f6a3
RD
5150 {
5151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5152 }
d14a1e28
RD
5153 return resultobj;
5154 fail:
5155 return NULL;
5156}
5157
5158
5159static PyObject *_wrap_Region_UnionRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5160 PyObject *resultobj;
5161 wxRegion *arg1 = (wxRegion *) 0 ;
5162 wxRect *arg2 = 0 ;
5163 bool result;
5164 wxRect temp2 ;
5165 PyObject * obj0 = 0 ;
5166 PyObject * obj1 = 0 ;
5167 char *kwnames[] = {
5168 (char *) "self",(char *) "rect", NULL
5169 };
5170
5171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_UnionRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5174 {
5175 arg2 = &temp2;
5176 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5177 }
5178 {
5179 PyThreadState* __tstate = wxPyBeginAllowThreads();
5180 result = (bool)(arg1)->Union((wxRect const &)*arg2);
5181
5182 wxPyEndAllowThreads(__tstate);
5183 if (PyErr_Occurred()) SWIG_fail;
5184 }
4f89f6a3
RD
5185 {
5186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5187 }
d14a1e28
RD
5188 return resultobj;
5189 fail:
5190 return NULL;
5191}
5192
5193
5194static PyObject *_wrap_Region_UnionRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
5195 PyObject *resultobj;
5196 wxRegion *arg1 = (wxRegion *) 0 ;
5197 wxRegion *arg2 = 0 ;
5198 bool result;
5199 PyObject * obj0 = 0 ;
5200 PyObject * obj1 = 0 ;
5201 char *kwnames[] = {
5202 (char *) "self",(char *) "region", NULL
5203 };
5204
5205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_UnionRegion",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5208 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
5209 SWIG_POINTER_EXCEPTION | 0)) == -1)
5210 SWIG_fail;
d14a1e28 5211 if (arg2 == NULL) {
15afbcd0
RD
5212 PyErr_SetString(PyExc_TypeError,"null reference");
5213 SWIG_fail;
d14a1e28
RD
5214 }
5215 {
5216 PyThreadState* __tstate = wxPyBeginAllowThreads();
5217 result = (bool)(arg1)->Union((wxRegion const &)*arg2);
5218
5219 wxPyEndAllowThreads(__tstate);
5220 if (PyErr_Occurred()) SWIG_fail;
5221 }
4f89f6a3
RD
5222 {
5223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5224 }
d14a1e28
RD
5225 return resultobj;
5226 fail:
5227 return NULL;
5228}
5229
5230
5231static PyObject *_wrap_Region_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
5232 PyObject *resultobj;
5233 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
5234 int arg2 ;
5235 int arg3 ;
5236 int arg4 ;
5237 int arg5 ;
d14a1e28
RD
5238 bool result;
5239 PyObject * obj0 = 0 ;
994141e6
RD
5240 PyObject * obj1 = 0 ;
5241 PyObject * obj2 = 0 ;
5242 PyObject * obj3 = 0 ;
5243 PyObject * obj4 = 0 ;
d14a1e28
RD
5244 char *kwnames[] = {
5245 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5246 };
5247
994141e6 5248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Subtract",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
5249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5251 arg2 = (int) SWIG_AsInt(obj1);
5252 if (PyErr_Occurred()) SWIG_fail;
5253 arg3 = (int) SWIG_AsInt(obj2);
5254 if (PyErr_Occurred()) SWIG_fail;
5255 arg4 = (int) SWIG_AsInt(obj3);
5256 if (PyErr_Occurred()) SWIG_fail;
5257 arg5 = (int) SWIG_AsInt(obj4);
5258 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5259 {
5260 PyThreadState* __tstate = wxPyBeginAllowThreads();
5261 result = (bool)(arg1)->Subtract(arg2,arg3,arg4,arg5);
5262
5263 wxPyEndAllowThreads(__tstate);
5264 if (PyErr_Occurred()) SWIG_fail;
5265 }
4f89f6a3
RD
5266 {
5267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5268 }
d14a1e28
RD
5269 return resultobj;
5270 fail:
5271 return NULL;
5272}
5273
5274
5275static PyObject *_wrap_Region_SubtractRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5276 PyObject *resultobj;
5277 wxRegion *arg1 = (wxRegion *) 0 ;
5278 wxRect *arg2 = 0 ;
5279 bool result;
5280 wxRect temp2 ;
5281 PyObject * obj0 = 0 ;
5282 PyObject * obj1 = 0 ;
5283 char *kwnames[] = {
5284 (char *) "self",(char *) "rect", NULL
5285 };
5286
5287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_SubtractRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5290 {
5291 arg2 = &temp2;
5292 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5293 }
5294 {
5295 PyThreadState* __tstate = wxPyBeginAllowThreads();
5296 result = (bool)(arg1)->Subtract((wxRect const &)*arg2);
5297
5298 wxPyEndAllowThreads(__tstate);
5299 if (PyErr_Occurred()) SWIG_fail;
5300 }
4f89f6a3
RD
5301 {
5302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5303 }
d14a1e28
RD
5304 return resultobj;
5305 fail:
5306 return NULL;
5307}
5308
5309
5310static PyObject *_wrap_Region_SubtractRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
5311 PyObject *resultobj;
5312 wxRegion *arg1 = (wxRegion *) 0 ;
5313 wxRegion *arg2 = 0 ;
5314 bool result;
5315 PyObject * obj0 = 0 ;
5316 PyObject * obj1 = 0 ;
5317 char *kwnames[] = {
5318 (char *) "self",(char *) "region", NULL
5319 };
5320
5321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_SubtractRegion",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5324 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
5325 SWIG_POINTER_EXCEPTION | 0)) == -1)
5326 SWIG_fail;
d14a1e28 5327 if (arg2 == NULL) {
15afbcd0
RD
5328 PyErr_SetString(PyExc_TypeError,"null reference");
5329 SWIG_fail;
d14a1e28
RD
5330 }
5331 {
5332 PyThreadState* __tstate = wxPyBeginAllowThreads();
5333 result = (bool)(arg1)->Subtract((wxRegion const &)*arg2);
5334
5335 wxPyEndAllowThreads(__tstate);
5336 if (PyErr_Occurred()) SWIG_fail;
5337 }
4f89f6a3
RD
5338 {
5339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5340 }
d14a1e28
RD
5341 return resultobj;
5342 fail:
5343 return NULL;
5344}
5345
5346
5347static PyObject *_wrap_Region_Xor(PyObject *self, PyObject *args, PyObject *kwargs) {
5348 PyObject *resultobj;
5349 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
5350 int arg2 ;
5351 int arg3 ;
5352 int arg4 ;
5353 int arg5 ;
d14a1e28
RD
5354 bool result;
5355 PyObject * obj0 = 0 ;
994141e6
RD
5356 PyObject * obj1 = 0 ;
5357 PyObject * obj2 = 0 ;
5358 PyObject * obj3 = 0 ;
5359 PyObject * obj4 = 0 ;
d14a1e28
RD
5360 char *kwnames[] = {
5361 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5362 };
5363
994141e6 5364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Xor",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
5365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5367 arg2 = (int) SWIG_AsInt(obj1);
5368 if (PyErr_Occurred()) SWIG_fail;
5369 arg3 = (int) SWIG_AsInt(obj2);
5370 if (PyErr_Occurred()) SWIG_fail;
5371 arg4 = (int) SWIG_AsInt(obj3);
5372 if (PyErr_Occurred()) SWIG_fail;
5373 arg5 = (int) SWIG_AsInt(obj4);
5374 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5375 {
5376 PyThreadState* __tstate = wxPyBeginAllowThreads();
5377 result = (bool)(arg1)->Xor(arg2,arg3,arg4,arg5);
5378
5379 wxPyEndAllowThreads(__tstate);
5380 if (PyErr_Occurred()) SWIG_fail;
5381 }
4f89f6a3
RD
5382 {
5383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5384 }
d14a1e28
RD
5385 return resultobj;
5386 fail:
5387 return NULL;
5388}
5389
5390
5391static PyObject *_wrap_Region_XorRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5392 PyObject *resultobj;
5393 wxRegion *arg1 = (wxRegion *) 0 ;
5394 wxRect *arg2 = 0 ;
5395 bool result;
5396 wxRect temp2 ;
5397 PyObject * obj0 = 0 ;
5398 PyObject * obj1 = 0 ;
5399 char *kwnames[] = {
5400 (char *) "self",(char *) "rect", NULL
5401 };
5402
5403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_XorRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5406 {
5407 arg2 = &temp2;
5408 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5409 }
5410 {
5411 PyThreadState* __tstate = wxPyBeginAllowThreads();
5412 result = (bool)(arg1)->Xor((wxRect const &)*arg2);
5413
5414 wxPyEndAllowThreads(__tstate);
5415 if (PyErr_Occurred()) SWIG_fail;
5416 }
4f89f6a3
RD
5417 {
5418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5419 }
d14a1e28
RD
5420 return resultobj;
5421 fail:
5422 return NULL;
5423}
5424
5425
5426static PyObject *_wrap_Region_XorRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
5427 PyObject *resultobj;
5428 wxRegion *arg1 = (wxRegion *) 0 ;
5429 wxRegion *arg2 = 0 ;
5430 bool result;
5431 PyObject * obj0 = 0 ;
5432 PyObject * obj1 = 0 ;
5433 char *kwnames[] = {
5434 (char *) "self",(char *) "region", NULL
5435 };
5436
5437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_XorRegion",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5440 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
5441 SWIG_POINTER_EXCEPTION | 0)) == -1)
5442 SWIG_fail;
d14a1e28 5443 if (arg2 == NULL) {
15afbcd0
RD
5444 PyErr_SetString(PyExc_TypeError,"null reference");
5445 SWIG_fail;
d14a1e28
RD
5446 }
5447 {
5448 PyThreadState* __tstate = wxPyBeginAllowThreads();
5449 result = (bool)(arg1)->Xor((wxRegion const &)*arg2);
5450
5451 wxPyEndAllowThreads(__tstate);
5452 if (PyErr_Occurred()) SWIG_fail;
5453 }
4f89f6a3
RD
5454 {
5455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5456 }
d14a1e28
RD
5457 return resultobj;
5458 fail:
5459 return NULL;
5460}
5461
5462
5463static PyObject *_wrap_Region_ConvertToBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5464 PyObject *resultobj;
5465 wxRegion *arg1 = (wxRegion *) 0 ;
5466 SwigValueWrapper< wxBitmap > result;
5467 PyObject * obj0 = 0 ;
5468 char *kwnames[] = {
5469 (char *) "self", NULL
5470 };
5471
5472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_ConvertToBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
5473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5475 {
5476 PyThreadState* __tstate = wxPyBeginAllowThreads();
5477 result = (arg1)->ConvertToBitmap();
5478
5479 wxPyEndAllowThreads(__tstate);
5480 if (PyErr_Occurred()) SWIG_fail;
5481 }
5482 {
5483 wxBitmap * resultptr;
5484 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 5485 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
5486 }
5487 return resultobj;
5488 fail:
5489 return NULL;
5490}
5491
5492
5493static PyObject *_wrap_Region_UnionBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5494 PyObject *resultobj;
5495 wxRegion *arg1 = (wxRegion *) 0 ;
5496 wxBitmap *arg2 = 0 ;
5497 wxColour const &arg3_defvalue = wxNullColour ;
5498 wxColour *arg3 = (wxColour *) &arg3_defvalue ;
5499 int arg4 = (int) 0 ;
5500 bool result;
5501 wxColour temp3 ;
5502 PyObject * obj0 = 0 ;
5503 PyObject * obj1 = 0 ;
5504 PyObject * obj2 = 0 ;
994141e6 5505 PyObject * obj3 = 0 ;
d14a1e28
RD
5506 char *kwnames[] = {
5507 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5508 };
5509
994141e6 5510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Region_UnionBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5513 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5514 SWIG_POINTER_EXCEPTION | 0)) == -1)
5515 SWIG_fail;
d14a1e28 5516 if (arg2 == NULL) {
15afbcd0
RD
5517 PyErr_SetString(PyExc_TypeError,"null reference");
5518 SWIG_fail;
d14a1e28
RD
5519 }
5520 if (obj2) {
5521 {
5522 arg3 = &temp3;
5523 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5524 }
5525 }
994141e6 5526 if (obj3) {
15afbcd0
RD
5527 arg4 = (int) SWIG_AsInt(obj3);
5528 if (PyErr_Occurred()) SWIG_fail;
994141e6 5529 }
d14a1e28
RD
5530 {
5531 PyThreadState* __tstate = wxPyBeginAllowThreads();
5532 result = (bool)(arg1)->Union((wxBitmap const &)*arg2,(wxColour const &)*arg3,arg4);
5533
5534 wxPyEndAllowThreads(__tstate);
5535 if (PyErr_Occurred()) SWIG_fail;
5536 }
4f89f6a3
RD
5537 {
5538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5539 }
d14a1e28
RD
5540 return resultobj;
5541 fail:
5542 return NULL;
5543}
5544
5545
5546static PyObject * Region_swigregister(PyObject *self, PyObject *args) {
5547 PyObject *obj;
5548 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5549 SWIG_TypeClientData(SWIGTYPE_p_wxRegion, obj);
5550 Py_INCREF(obj);
5551 return Py_BuildValue((char *)"");
5552}
5553static PyObject *_wrap_new_RegionIterator(PyObject *self, PyObject *args, PyObject *kwargs) {
5554 PyObject *resultobj;
5555 wxRegion *arg1 = 0 ;
5556 wxRegionIterator *result;
5557 PyObject * obj0 = 0 ;
5558 char *kwnames[] = {
5559 (char *) "region", NULL
5560 };
5561
5562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_RegionIterator",kwnames,&obj0)) goto fail;
15afbcd0
RD
5563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5564 SWIG_POINTER_EXCEPTION | 0)) == -1)
5565 SWIG_fail;
d14a1e28 5566 if (arg1 == NULL) {
15afbcd0
RD
5567 PyErr_SetString(PyExc_TypeError,"null reference");
5568 SWIG_fail;
d14a1e28
RD
5569 }
5570 {
5571 PyThreadState* __tstate = wxPyBeginAllowThreads();
5572 result = (wxRegionIterator *)new wxRegionIterator((wxRegion const &)*arg1);
5573
5574 wxPyEndAllowThreads(__tstate);
5575 if (PyErr_Occurred()) SWIG_fail;
5576 }
15afbcd0 5577 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegionIterator, 1);
d14a1e28
RD
5578 return resultobj;
5579 fail:
5580 return NULL;
5581}
5582
5583
5584static PyObject *_wrap_delete_RegionIterator(PyObject *self, PyObject *args, PyObject *kwargs) {
5585 PyObject *resultobj;
5586 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
5587 PyObject * obj0 = 0 ;
5588 char *kwnames[] = {
5589 (char *) "self", NULL
5590 };
5591
5592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RegionIterator",kwnames,&obj0)) goto fail;
15afbcd0
RD
5593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5595 {
5596 PyThreadState* __tstate = wxPyBeginAllowThreads();
5597 delete arg1;
5598
5599 wxPyEndAllowThreads(__tstate);
5600 if (PyErr_Occurred()) SWIG_fail;
5601 }
5602 Py_INCREF(Py_None); resultobj = Py_None;
5603 return resultobj;
5604 fail:
5605 return NULL;
5606}
5607
5608
5609static PyObject *_wrap_RegionIterator_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5610 PyObject *resultobj;
5611 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
e811c8ce 5612 int result;
d14a1e28
RD
5613 PyObject * obj0 = 0 ;
5614 char *kwnames[] = {
5615 (char *) "self", NULL
5616 };
5617
5618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
5619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5621 {
5622 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5623 result = (int)(arg1)->GetX();
d14a1e28
RD
5624
5625 wxPyEndAllowThreads(__tstate);
5626 if (PyErr_Occurred()) SWIG_fail;
5627 }
15afbcd0 5628 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5629 return resultobj;
5630 fail:
5631 return NULL;
5632}
5633
5634
5635static PyObject *_wrap_RegionIterator_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5636 PyObject *resultobj;
5637 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
e811c8ce 5638 int result;
d14a1e28
RD
5639 PyObject * obj0 = 0 ;
5640 char *kwnames[] = {
5641 (char *) "self", NULL
5642 };
5643
5644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
5645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5647 {
5648 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5649 result = (int)(arg1)->GetY();
d14a1e28
RD
5650
5651 wxPyEndAllowThreads(__tstate);
5652 if (PyErr_Occurred()) SWIG_fail;
5653 }
15afbcd0 5654 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5655 return resultobj;
5656 fail:
5657 return NULL;
5658}
5659
5660
5661static PyObject *_wrap_RegionIterator_GetW(PyObject *self, PyObject *args, PyObject *kwargs) {
5662 PyObject *resultobj;
5663 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
e811c8ce 5664 int result;
d14a1e28
RD
5665 PyObject * obj0 = 0 ;
5666 char *kwnames[] = {
5667 (char *) "self", NULL
5668 };
5669
5670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetW",kwnames,&obj0)) goto fail;
15afbcd0
RD
5671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5673 {
5674 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5675 result = (int)(arg1)->GetW();
d14a1e28
RD
5676
5677 wxPyEndAllowThreads(__tstate);
5678 if (PyErr_Occurred()) SWIG_fail;
5679 }
15afbcd0 5680 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5681 return resultobj;
5682 fail:
5683 return NULL;
5684}
5685
5686
5687static PyObject *_wrap_RegionIterator_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
5688 PyObject *resultobj;
5689 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
e811c8ce 5690 int result;
d14a1e28
RD
5691 PyObject * obj0 = 0 ;
5692 char *kwnames[] = {
5693 (char *) "self", NULL
5694 };
5695
5696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
5697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5699 {
5700 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5701 result = (int)(arg1)->GetWidth();
d14a1e28
RD
5702
5703 wxPyEndAllowThreads(__tstate);
5704 if (PyErr_Occurred()) SWIG_fail;
5705 }
15afbcd0 5706 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5707 return resultobj;
5708 fail:
5709 return NULL;
5710}
5711
5712
5713static PyObject *_wrap_RegionIterator_GetH(PyObject *self, PyObject *args, PyObject *kwargs) {
5714 PyObject *resultobj;
5715 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
e811c8ce 5716 int result;
d14a1e28
RD
5717 PyObject * obj0 = 0 ;
5718 char *kwnames[] = {
5719 (char *) "self", NULL
5720 };
5721
5722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetH",kwnames,&obj0)) goto fail;
15afbcd0
RD
5723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5725 {
5726 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5727 result = (int)(arg1)->GetH();
d14a1e28
RD
5728
5729 wxPyEndAllowThreads(__tstate);
5730 if (PyErr_Occurred()) SWIG_fail;
5731 }
15afbcd0 5732 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5733 return resultobj;
5734 fail:
5735 return NULL;
5736}
5737
5738
5739static PyObject *_wrap_RegionIterator_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5740 PyObject *resultobj;
5741 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
e811c8ce 5742 int result;
d14a1e28
RD
5743 PyObject * obj0 = 0 ;
5744 char *kwnames[] = {
5745 (char *) "self", NULL
5746 };
5747
5748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
5749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5751 {
5752 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5753 result = (int)(arg1)->GetHeight();
d14a1e28
RD
5754
5755 wxPyEndAllowThreads(__tstate);
5756 if (PyErr_Occurred()) SWIG_fail;
5757 }
15afbcd0 5758 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5759 return resultobj;
5760 fail:
5761 return NULL;
5762}
5763
5764
5765static PyObject *_wrap_RegionIterator_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5766 PyObject *resultobj;
5767 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
5768 wxRect result;
5769 PyObject * obj0 = 0 ;
5770 char *kwnames[] = {
5771 (char *) "self", NULL
5772 };
5773
5774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
5775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5777 {
5778 PyThreadState* __tstate = wxPyBeginAllowThreads();
5779 result = (arg1)->GetRect();
5780
5781 wxPyEndAllowThreads(__tstate);
5782 if (PyErr_Occurred()) SWIG_fail;
5783 }
5784 {
5785 wxRect * resultptr;
5786 resultptr = new wxRect((wxRect &) result);
15afbcd0 5787 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
5788 }
5789 return resultobj;
5790 fail:
5791 return NULL;
5792}
5793
5794
5795static PyObject *_wrap_RegionIterator_HaveRects(PyObject *self, PyObject *args, PyObject *kwargs) {
5796 PyObject *resultobj;
5797 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
5798 bool result;
5799 PyObject * obj0 = 0 ;
5800 char *kwnames[] = {
5801 (char *) "self", NULL
5802 };
5803
5804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_HaveRects",kwnames,&obj0)) goto fail;
15afbcd0
RD
5805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5807 {
5808 PyThreadState* __tstate = wxPyBeginAllowThreads();
5809 result = (bool)(arg1)->HaveRects();
5810
5811 wxPyEndAllowThreads(__tstate);
5812 if (PyErr_Occurred()) SWIG_fail;
5813 }
4f89f6a3
RD
5814 {
5815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5816 }
d14a1e28
RD
5817 return resultobj;
5818 fail:
5819 return NULL;
5820}
5821
5822
5823static PyObject *_wrap_RegionIterator_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
5824 PyObject *resultobj;
5825 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
5826 PyObject * obj0 = 0 ;
5827 char *kwnames[] = {
5828 (char *) "self", NULL
5829 };
5830
5831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_Reset",kwnames,&obj0)) goto fail;
15afbcd0
RD
5832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5834 {
5835 PyThreadState* __tstate = wxPyBeginAllowThreads();
5836 (arg1)->Reset();
5837
5838 wxPyEndAllowThreads(__tstate);
5839 if (PyErr_Occurred()) SWIG_fail;
5840 }
5841 Py_INCREF(Py_None); resultobj = Py_None;
5842 return resultobj;
5843 fail:
5844 return NULL;
5845}
5846
5847
5848static PyObject *_wrap_RegionIterator_Next(PyObject *self, PyObject *args, PyObject *kwargs) {
5849 PyObject *resultobj;
5850 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
5851 PyObject * obj0 = 0 ;
5852 char *kwnames[] = {
5853 (char *) "self", NULL
5854 };
5855
5856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_Next",kwnames,&obj0)) goto fail;
15afbcd0
RD
5857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5859 {
5860 PyThreadState* __tstate = wxPyBeginAllowThreads();
5861 wxRegionIterator_Next(arg1);
5862
5863 wxPyEndAllowThreads(__tstate);
5864 if (PyErr_Occurred()) SWIG_fail;
5865 }
5866 Py_INCREF(Py_None); resultobj = Py_None;
5867 return resultobj;
5868 fail:
5869 return NULL;
5870}
5871
5872
5873static PyObject *_wrap_RegionIterator___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
5874 PyObject *resultobj;
5875 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
5876 bool result;
5877 PyObject * obj0 = 0 ;
5878 char *kwnames[] = {
5879 (char *) "self", NULL
5880 };
5881
5882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator___nonzero__",kwnames,&obj0)) goto fail;
15afbcd0
RD
5883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5885 {
5886 PyThreadState* __tstate = wxPyBeginAllowThreads();
5887 result = (bool)wxRegionIterator___nonzero__(arg1);
5888
5889 wxPyEndAllowThreads(__tstate);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
4f89f6a3
RD
5892 {
5893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5894 }
d14a1e28
RD
5895 return resultobj;
5896 fail:
5897 return NULL;
5898}
5899
5900
5901static PyObject * RegionIterator_swigregister(PyObject *self, PyObject *args) {
5902 PyObject *obj;
5903 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5904 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator, obj);
5905 Py_INCREF(obj);
5906 return Py_BuildValue((char *)"");
5907}
5908static PyObject *_wrap_new_NativeFontInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5909 PyObject *resultobj;
5910 wxNativeFontInfo *result;
5911 char *kwnames[] = {
5912 NULL
5913 };
5914
5915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NativeFontInfo",kwnames)) goto fail;
5916 {
5917 PyThreadState* __tstate = wxPyBeginAllowThreads();
5918 result = (wxNativeFontInfo *)new wxNativeFontInfo();
5919
5920 wxPyEndAllowThreads(__tstate);
5921 if (PyErr_Occurred()) SWIG_fail;
5922 }
15afbcd0 5923 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeFontInfo, 1);
d14a1e28
RD
5924 return resultobj;
5925 fail:
5926 return NULL;
5927}
5928
5929
5930static PyObject *_wrap_delete_NativeFontInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5931 PyObject *resultobj;
5932 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
5933 PyObject * obj0 = 0 ;
5934 char *kwnames[] = {
5935 (char *) "self", NULL
5936 };
5937
5938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_NativeFontInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
5939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
5940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5941 {
5942 PyThreadState* __tstate = wxPyBeginAllowThreads();
5943 delete arg1;
5944
5945 wxPyEndAllowThreads(__tstate);
5946 if (PyErr_Occurred()) SWIG_fail;
5947 }
5948 Py_INCREF(Py_None); resultobj = Py_None;
5949 return resultobj;
5950 fail:
5951 return NULL;
5952}
5953
5954
5955static PyObject *_wrap_NativeFontInfo_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5956 PyObject *resultobj;
5957 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
5958 PyObject * obj0 = 0 ;
5959 char *kwnames[] = {
5960 (char *) "self", NULL
5961 };
5962
5963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_Init",kwnames,&obj0)) goto fail;
15afbcd0
RD
5964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
5965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5966 {
5967 PyThreadState* __tstate = wxPyBeginAllowThreads();
5968 (arg1)->Init();
5969
5970 wxPyEndAllowThreads(__tstate);
5971 if (PyErr_Occurred()) SWIG_fail;
5972 }
5973 Py_INCREF(Py_None); resultobj = Py_None;
5974 return resultobj;
5975 fail:
5976 return NULL;
5977}
5978
5979
5980static PyObject *_wrap_NativeFontInfo_InitFromFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5981 PyObject *resultobj;
5982 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
5983 wxFont *arg2 = 0 ;
5984 PyObject * obj0 = 0 ;
5985 PyObject * obj1 = 0 ;
5986 char *kwnames[] = {
5987 (char *) "self",(char *) "font", NULL
5988 };
5989
5990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_InitFromFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
5992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5993 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
5994 SWIG_POINTER_EXCEPTION | 0)) == -1)
5995 SWIG_fail;
d14a1e28 5996 if (arg2 == NULL) {
15afbcd0
RD
5997 PyErr_SetString(PyExc_TypeError,"null reference");
5998 SWIG_fail;
d14a1e28
RD
5999 }
6000 {
6001 PyThreadState* __tstate = wxPyBeginAllowThreads();
6002 (arg1)->InitFromFont((wxFont const &)*arg2);
6003
6004 wxPyEndAllowThreads(__tstate);
6005 if (PyErr_Occurred()) SWIG_fail;
6006 }
6007 Py_INCREF(Py_None); resultobj = Py_None;
6008 return resultobj;
6009 fail:
6010 return NULL;
6011}
6012
6013
6014static PyObject *_wrap_NativeFontInfo_GetPointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6015 PyObject *resultobj;
6016 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6017 int result;
6018 PyObject * obj0 = 0 ;
6019 char *kwnames[] = {
6020 (char *) "self", NULL
6021 };
6022
6023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetPointSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
6024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6026 {
6027 PyThreadState* __tstate = wxPyBeginAllowThreads();
6028 result = (int)((wxNativeFontInfo const *)arg1)->GetPointSize();
6029
6030 wxPyEndAllowThreads(__tstate);
6031 if (PyErr_Occurred()) SWIG_fail;
6032 }
15afbcd0 6033 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6034 return resultobj;
6035 fail:
6036 return NULL;
6037}
6038
6039
6040static PyObject *_wrap_NativeFontInfo_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
6041 PyObject *resultobj;
6042 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6043 int result;
6044 PyObject * obj0 = 0 ;
6045 char *kwnames[] = {
6046 (char *) "self", NULL
6047 };
6048
6049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
6050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6052 {
6053 PyThreadState* __tstate = wxPyBeginAllowThreads();
6054 result = (int)((wxNativeFontInfo const *)arg1)->GetStyle();
6055
6056 wxPyEndAllowThreads(__tstate);
6057 if (PyErr_Occurred()) SWIG_fail;
6058 }
15afbcd0 6059 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6060 return resultobj;
6061 fail:
6062 return NULL;
6063}
6064
6065
6066static PyObject *_wrap_NativeFontInfo_GetWeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6067 PyObject *resultobj;
6068 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6069 int result;
6070 PyObject * obj0 = 0 ;
6071 char *kwnames[] = {
6072 (char *) "self", NULL
6073 };
6074
6075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetWeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
6076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6078 {
6079 PyThreadState* __tstate = wxPyBeginAllowThreads();
6080 result = (int)((wxNativeFontInfo const *)arg1)->GetWeight();
6081
6082 wxPyEndAllowThreads(__tstate);
6083 if (PyErr_Occurred()) SWIG_fail;
6084 }
15afbcd0 6085 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6086 return resultobj;
6087 fail:
6088 return NULL;
6089}
6090
6091
6092static PyObject *_wrap_NativeFontInfo_GetUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
6093 PyObject *resultobj;
6094 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6095 bool result;
6096 PyObject * obj0 = 0 ;
6097 char *kwnames[] = {
6098 (char *) "self", NULL
6099 };
6100
6101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetUnderlined",kwnames,&obj0)) goto fail;
15afbcd0
RD
6102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6104 {
6105 PyThreadState* __tstate = wxPyBeginAllowThreads();
6106 result = (bool)((wxNativeFontInfo const *)arg1)->GetUnderlined();
6107
6108 wxPyEndAllowThreads(__tstate);
6109 if (PyErr_Occurred()) SWIG_fail;
6110 }
4f89f6a3
RD
6111 {
6112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6113 }
d14a1e28
RD
6114 return resultobj;
6115 fail:
6116 return NULL;
6117}
6118
6119
6120static PyObject *_wrap_NativeFontInfo_GetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
6121 PyObject *resultobj;
6122 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6123 wxString result;
6124 PyObject * obj0 = 0 ;
6125 char *kwnames[] = {
6126 (char *) "self", NULL
6127 };
6128
6129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetFaceName",kwnames,&obj0)) goto fail;
15afbcd0
RD
6130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6132 {
6133 PyThreadState* __tstate = wxPyBeginAllowThreads();
6134 result = ((wxNativeFontInfo const *)arg1)->GetFaceName();
6135
6136 wxPyEndAllowThreads(__tstate);
6137 if (PyErr_Occurred()) SWIG_fail;
6138 }
6139 {
6140#if wxUSE_UNICODE
6141 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6142#else
6143 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6144#endif
6145 }
6146 return resultobj;
6147 fail:
6148 return NULL;
6149}
6150
6151
6152static PyObject *_wrap_NativeFontInfo_GetFamily(PyObject *self, PyObject *args, PyObject *kwargs) {
6153 PyObject *resultobj;
6154 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6155 int result;
6156 PyObject * obj0 = 0 ;
6157 char *kwnames[] = {
6158 (char *) "self", NULL
6159 };
6160
6161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetFamily",kwnames,&obj0)) goto fail;
15afbcd0
RD
6162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6164 {
6165 PyThreadState* __tstate = wxPyBeginAllowThreads();
6166 result = (int)((wxNativeFontInfo const *)arg1)->GetFamily();
6167
6168 wxPyEndAllowThreads(__tstate);
6169 if (PyErr_Occurred()) SWIG_fail;
6170 }
15afbcd0 6171 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6172 return resultobj;
6173 fail:
6174 return NULL;
6175}
6176
6177
6178static PyObject *_wrap_NativeFontInfo_GetEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
6179 PyObject *resultobj;
6180 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6181 int result;
6182 PyObject * obj0 = 0 ;
6183 char *kwnames[] = {
6184 (char *) "self", NULL
6185 };
6186
6187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetEncoding",kwnames,&obj0)) goto fail;
15afbcd0
RD
6188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6190 {
6191 PyThreadState* __tstate = wxPyBeginAllowThreads();
6192 result = (int)((wxNativeFontInfo const *)arg1)->GetEncoding();
6193
6194 wxPyEndAllowThreads(__tstate);
6195 if (PyErr_Occurred()) SWIG_fail;
6196 }
15afbcd0 6197 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6198 return resultobj;
6199 fail:
6200 return NULL;
6201}
6202
6203
6204static PyObject *_wrap_NativeFontInfo_SetPointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6205 PyObject *resultobj;
6206 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6207 int arg2 ;
6208 PyObject * obj0 = 0 ;
994141e6 6209 PyObject * obj1 = 0 ;
d14a1e28
RD
6210 char *kwnames[] = {
6211 (char *) "self",(char *) "pointsize", NULL
6212 };
6213
994141e6 6214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetPointSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6217 arg2 = (int) SWIG_AsInt(obj1);
6218 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6219 {
6220 PyThreadState* __tstate = wxPyBeginAllowThreads();
6221 (arg1)->SetPointSize(arg2);
6222
6223 wxPyEndAllowThreads(__tstate);
6224 if (PyErr_Occurred()) SWIG_fail;
6225 }
6226 Py_INCREF(Py_None); resultobj = Py_None;
6227 return resultobj;
6228 fail:
6229 return NULL;
6230}
6231
6232
6233static PyObject *_wrap_NativeFontInfo_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
6234 PyObject *resultobj;
6235 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6236 int arg2 ;
6237 PyObject * obj0 = 0 ;
994141e6 6238 PyObject * obj1 = 0 ;
d14a1e28
RD
6239 char *kwnames[] = {
6240 (char *) "self",(char *) "style", NULL
6241 };
6242
994141e6 6243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6246 arg2 = (wxFontStyle) SWIG_AsInt(obj1);
6247 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6248 {
6249 PyThreadState* __tstate = wxPyBeginAllowThreads();
6250 (arg1)->SetStyle((wxFontStyle )arg2);
6251
6252 wxPyEndAllowThreads(__tstate);
6253 if (PyErr_Occurred()) SWIG_fail;
6254 }
6255 Py_INCREF(Py_None); resultobj = Py_None;
6256 return resultobj;
6257 fail:
6258 return NULL;
6259}
6260
6261
6262static PyObject *_wrap_NativeFontInfo_SetWeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6263 PyObject *resultobj;
6264 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6265 int arg2 ;
6266 PyObject * obj0 = 0 ;
994141e6 6267 PyObject * obj1 = 0 ;
d14a1e28
RD
6268 char *kwnames[] = {
6269 (char *) "self",(char *) "weight", NULL
6270 };
6271
994141e6 6272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetWeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6275 arg2 = (wxFontWeight) SWIG_AsInt(obj1);
6276 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6277 {
6278 PyThreadState* __tstate = wxPyBeginAllowThreads();
6279 (arg1)->SetWeight((wxFontWeight )arg2);
6280
6281 wxPyEndAllowThreads(__tstate);
6282 if (PyErr_Occurred()) SWIG_fail;
6283 }
6284 Py_INCREF(Py_None); resultobj = Py_None;
6285 return resultobj;
6286 fail:
6287 return NULL;
6288}
6289
6290
6291static PyObject *_wrap_NativeFontInfo_SetUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
6292 PyObject *resultobj;
6293 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6294 bool arg2 ;
6295 PyObject * obj0 = 0 ;
6296 PyObject * obj1 = 0 ;
6297 char *kwnames[] = {
6298 (char *) "self",(char *) "underlined", NULL
6299 };
6300
6301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6304 arg2 = (bool) SWIG_AsBool(obj1);
6305 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6306 {
6307 PyThreadState* __tstate = wxPyBeginAllowThreads();
6308 (arg1)->SetUnderlined(arg2);
6309
6310 wxPyEndAllowThreads(__tstate);
6311 if (PyErr_Occurred()) SWIG_fail;
6312 }
6313 Py_INCREF(Py_None); resultobj = Py_None;
6314 return resultobj;
6315 fail:
6316 return NULL;
6317}
6318
6319
6320static PyObject *_wrap_NativeFontInfo_SetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
6321 PyObject *resultobj;
6322 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6323 wxString arg2 ;
d14a1e28
RD
6324 PyObject * obj0 = 0 ;
6325 PyObject * obj1 = 0 ;
6326 char *kwnames[] = {
6327 (char *) "self",(char *) "facename", NULL
6328 };
6329
6330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetFaceName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
6333 {
6334 wxString* sptr = wxString_in_helper(obj1);
6335 if (sptr == NULL) SWIG_fail;
6336 arg2 = *sptr;
6337 delete sptr;
6338 }
d14a1e28
RD
6339 {
6340 PyThreadState* __tstate = wxPyBeginAllowThreads();
6341 (arg1)->SetFaceName(arg2);
6342
6343 wxPyEndAllowThreads(__tstate);
6344 if (PyErr_Occurred()) SWIG_fail;
6345 }
6346 Py_INCREF(Py_None); resultobj = Py_None;
6347 return resultobj;
6348 fail:
6349 return NULL;
6350}
6351
6352
6353static PyObject *_wrap_NativeFontInfo_SetFamily(PyObject *self, PyObject *args, PyObject *kwargs) {
6354 PyObject *resultobj;
6355 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6356 int arg2 ;
6357 PyObject * obj0 = 0 ;
994141e6 6358 PyObject * obj1 = 0 ;
d14a1e28
RD
6359 char *kwnames[] = {
6360 (char *) "self",(char *) "family", NULL
6361 };
6362
994141e6 6363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetFamily",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6366 arg2 = (wxFontFamily) SWIG_AsInt(obj1);
6367 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6368 {
6369 PyThreadState* __tstate = wxPyBeginAllowThreads();
6370 (arg1)->SetFamily((wxFontFamily )arg2);
6371
6372 wxPyEndAllowThreads(__tstate);
6373 if (PyErr_Occurred()) SWIG_fail;
6374 }
6375 Py_INCREF(Py_None); resultobj = Py_None;
6376 return resultobj;
6377 fail:
6378 return NULL;
6379}
6380
6381
6382static PyObject *_wrap_NativeFontInfo_SetEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
6383 PyObject *resultobj;
6384 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6385 int arg2 ;
6386 PyObject * obj0 = 0 ;
994141e6 6387 PyObject * obj1 = 0 ;
d14a1e28
RD
6388 char *kwnames[] = {
6389 (char *) "self",(char *) "encoding", NULL
6390 };
6391
994141e6 6392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetEncoding",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6395 arg2 = (wxFontEncoding) SWIG_AsInt(obj1);
6396 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6397 {
6398 PyThreadState* __tstate = wxPyBeginAllowThreads();
6399 (arg1)->SetEncoding((wxFontEncoding )arg2);
6400
6401 wxPyEndAllowThreads(__tstate);
6402 if (PyErr_Occurred()) SWIG_fail;
6403 }
6404 Py_INCREF(Py_None); resultobj = Py_None;
6405 return resultobj;
6406 fail:
6407 return NULL;
6408}
6409
6410
6411static PyObject *_wrap_NativeFontInfo_FromString(PyObject *self, PyObject *args, PyObject *kwargs) {
6412 PyObject *resultobj;
6413 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6414 wxString *arg2 = 0 ;
6415 bool result;
e811c8ce 6416 bool temp2 = False ;
d14a1e28
RD
6417 PyObject * obj0 = 0 ;
6418 PyObject * obj1 = 0 ;
6419 char *kwnames[] = {
6420 (char *) "self",(char *) "s", NULL
6421 };
6422
6423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_FromString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6426 {
6427 arg2 = wxString_in_helper(obj1);
6428 if (arg2 == NULL) SWIG_fail;
e811c8ce 6429 temp2 = True;
d14a1e28
RD
6430 }
6431 {
6432 PyThreadState* __tstate = wxPyBeginAllowThreads();
6433 result = (bool)(arg1)->FromString((wxString const &)*arg2);
6434
6435 wxPyEndAllowThreads(__tstate);
6436 if (PyErr_Occurred()) SWIG_fail;
6437 }
4f89f6a3
RD
6438 {
6439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6440 }
d14a1e28
RD
6441 {
6442 if (temp2)
6443 delete arg2;
6444 }
6445 return resultobj;
6446 fail:
6447 {
6448 if (temp2)
6449 delete arg2;
6450 }
6451 return NULL;
6452}
6453
6454
6455static PyObject *_wrap_NativeFontInfo_ToString(PyObject *self, PyObject *args, PyObject *kwargs) {
6456 PyObject *resultobj;
6457 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6458 wxString result;
6459 PyObject * obj0 = 0 ;
6460 char *kwnames[] = {
6461 (char *) "self", NULL
6462 };
6463
6464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_ToString",kwnames,&obj0)) goto fail;
15afbcd0
RD
6465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6467 {
6468 PyThreadState* __tstate = wxPyBeginAllowThreads();
6469 result = ((wxNativeFontInfo const *)arg1)->ToString();
6470
6471 wxPyEndAllowThreads(__tstate);
6472 if (PyErr_Occurred()) SWIG_fail;
6473 }
6474 {
6475#if wxUSE_UNICODE
6476 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6477#else
6478 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6479#endif
6480 }
6481 return resultobj;
6482 fail:
6483 return NULL;
6484}
6485
6486
6487static PyObject *_wrap_NativeFontInfo___str__(PyObject *self, PyObject *args, PyObject *kwargs) {
6488 PyObject *resultobj;
6489 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6490 wxString result;
6491 PyObject * obj0 = 0 ;
6492 char *kwnames[] = {
6493 (char *) "self", NULL
6494 };
6495
6496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo___str__",kwnames,&obj0)) goto fail;
15afbcd0
RD
6497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6499 {
6500 PyThreadState* __tstate = wxPyBeginAllowThreads();
6501 result = wxNativeFontInfo___str__(arg1);
6502
6503 wxPyEndAllowThreads(__tstate);
6504 if (PyErr_Occurred()) SWIG_fail;
6505 }
6506 {
6507#if wxUSE_UNICODE
6508 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6509#else
6510 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6511#endif
6512 }
6513 return resultobj;
6514 fail:
6515 return NULL;
6516}
6517
6518
6519static PyObject *_wrap_NativeFontInfo_FromUserString(PyObject *self, PyObject *args, PyObject *kwargs) {
6520 PyObject *resultobj;
6521 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6522 wxString *arg2 = 0 ;
6523 bool result;
e811c8ce 6524 bool temp2 = False ;
d14a1e28
RD
6525 PyObject * obj0 = 0 ;
6526 PyObject * obj1 = 0 ;
6527 char *kwnames[] = {
6528 (char *) "self",(char *) "s", NULL
6529 };
6530
6531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_FromUserString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6534 {
6535 arg2 = wxString_in_helper(obj1);
6536 if (arg2 == NULL) SWIG_fail;
e811c8ce 6537 temp2 = True;
d14a1e28
RD
6538 }
6539 {
6540 PyThreadState* __tstate = wxPyBeginAllowThreads();
6541 result = (bool)(arg1)->FromUserString((wxString const &)*arg2);
6542
6543 wxPyEndAllowThreads(__tstate);
6544 if (PyErr_Occurred()) SWIG_fail;
6545 }
4f89f6a3
RD
6546 {
6547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6548 }
d14a1e28
RD
6549 {
6550 if (temp2)
6551 delete arg2;
6552 }
6553 return resultobj;
6554 fail:
6555 {
6556 if (temp2)
6557 delete arg2;
6558 }
6559 return NULL;
6560}
6561
6562
6563static PyObject *_wrap_NativeFontInfo_ToUserString(PyObject *self, PyObject *args, PyObject *kwargs) {
6564 PyObject *resultobj;
6565 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6566 wxString result;
6567 PyObject * obj0 = 0 ;
6568 char *kwnames[] = {
6569 (char *) "self", NULL
6570 };
6571
6572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_ToUserString",kwnames,&obj0)) goto fail;
15afbcd0
RD
6573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6575 {
6576 PyThreadState* __tstate = wxPyBeginAllowThreads();
6577 result = ((wxNativeFontInfo const *)arg1)->ToUserString();
6578
6579 wxPyEndAllowThreads(__tstate);
6580 if (PyErr_Occurred()) SWIG_fail;
6581 }
6582 {
6583#if wxUSE_UNICODE
6584 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6585#else
6586 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6587#endif
6588 }
6589 return resultobj;
6590 fail:
6591 return NULL;
6592}
6593
6594
6595static PyObject * NativeFontInfo_swigregister(PyObject *self, PyObject *args) {
6596 PyObject *obj;
6597 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6598 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo, obj);
6599 Py_INCREF(obj);
6600 return Py_BuildValue((char *)"");
6601}
6602static PyObject *_wrap_NativeEncodingInfo_facename_set(PyObject *self, PyObject *args, PyObject *kwargs) {
6603 PyObject *resultobj;
6604 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
196addbf 6605 wxString *arg2 = (wxString *) 0 ;
7eae615b 6606 bool temp2 = False ;
d14a1e28
RD
6607 PyObject * obj0 = 0 ;
6608 PyObject * obj1 = 0 ;
6609 char *kwnames[] = {
6610 (char *) "self",(char *) "facename", NULL
6611 };
6612
6613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeEncodingInfo_facename_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7eae615b
RD
6616 {
6617 arg2 = wxString_in_helper(obj1);
6618 if (arg2 == NULL) SWIG_fail;
6619 temp2 = True;
6620 }
196addbf 6621 if (arg1) (arg1)->facename = *arg2;
d14a1e28
RD
6622
6623 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
6624 {
6625 if (temp2)
6626 delete arg2;
6627 }
d14a1e28
RD
6628 return resultobj;
6629 fail:
7eae615b
RD
6630 {
6631 if (temp2)
6632 delete arg2;
6633 }
d14a1e28
RD
6634 return NULL;
6635}
6636
6637
6638static PyObject *_wrap_NativeEncodingInfo_facename_get(PyObject *self, PyObject *args, PyObject *kwargs) {
6639 PyObject *resultobj;
6640 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
196addbf 6641 wxString *result;
d14a1e28
RD
6642 PyObject * obj0 = 0 ;
6643 char *kwnames[] = {
6644 (char *) "self", NULL
6645 };
6646
6647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeEncodingInfo_facename_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
6648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
196addbf 6650 result = (wxString *)& ((arg1)->facename);
d14a1e28
RD
6651
6652 {
6653#if wxUSE_UNICODE
196addbf 6654 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 6655#else
196addbf 6656 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
6657#endif
6658 }
6659 return resultobj;
6660 fail:
6661 return NULL;
6662}
6663
6664
6665static PyObject *_wrap_NativeEncodingInfo_encoding_set(PyObject *self, PyObject *args, PyObject *kwargs) {
6666 PyObject *resultobj;
6667 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
6668 int arg2 ;
6669 PyObject * obj0 = 0 ;
994141e6 6670 PyObject * obj1 = 0 ;
d14a1e28
RD
6671 char *kwnames[] = {
6672 (char *) "self",(char *) "encoding", NULL
6673 };
6674
994141e6 6675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6678 arg2 = (wxFontEncoding) SWIG_AsInt(obj1);
6679 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6680 if (arg1) (arg1)->encoding = (wxFontEncoding )arg2;
6681
6682 Py_INCREF(Py_None); resultobj = Py_None;
6683 return resultobj;
6684 fail:
6685 return NULL;
6686}
6687
6688
6689static PyObject *_wrap_NativeEncodingInfo_encoding_get(PyObject *self, PyObject *args, PyObject *kwargs) {
6690 PyObject *resultobj;
6691 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
6692 int result;
6693 PyObject * obj0 = 0 ;
6694 char *kwnames[] = {
6695 (char *) "self", NULL
6696 };
6697
6698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeEncodingInfo_encoding_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
6699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6701 result = (int) ((arg1)->encoding);
6702
15afbcd0 6703 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6704 return resultobj;
6705 fail:
6706 return NULL;
6707}
6708
6709
6710static PyObject *_wrap_new_NativeEncodingInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6711 PyObject *resultobj;
6712 wxNativeEncodingInfo *result;
6713 char *kwnames[] = {
6714 NULL
6715 };
6716
6717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NativeEncodingInfo",kwnames)) goto fail;
6718 {
6719 PyThreadState* __tstate = wxPyBeginAllowThreads();
6720 result = (wxNativeEncodingInfo *)new wxNativeEncodingInfo();
6721
6722 wxPyEndAllowThreads(__tstate);
6723 if (PyErr_Occurred()) SWIG_fail;
6724 }
15afbcd0 6725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeEncodingInfo, 1);
d14a1e28
RD
6726 return resultobj;
6727 fail:
6728 return NULL;
6729}
6730
6731
6732static PyObject *_wrap_delete_NativeEncodingInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6733 PyObject *resultobj;
6734 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
6735 PyObject * obj0 = 0 ;
6736 char *kwnames[] = {
6737 (char *) "self", NULL
6738 };
6739
6740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_NativeEncodingInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
6741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6743 {
6744 PyThreadState* __tstate = wxPyBeginAllowThreads();
6745 delete arg1;
6746
6747 wxPyEndAllowThreads(__tstate);
6748 if (PyErr_Occurred()) SWIG_fail;
6749 }
6750 Py_INCREF(Py_None); resultobj = Py_None;
6751 return resultobj;
6752 fail:
6753 return NULL;
6754}
6755
6756
6757static PyObject *_wrap_NativeEncodingInfo_FromString(PyObject *self, PyObject *args, PyObject *kwargs) {
6758 PyObject *resultobj;
6759 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
6760 wxString *arg2 = 0 ;
6761 bool result;
e811c8ce 6762 bool temp2 = False ;
d14a1e28
RD
6763 PyObject * obj0 = 0 ;
6764 PyObject * obj1 = 0 ;
6765 char *kwnames[] = {
6766 (char *) "self",(char *) "s", NULL
6767 };
6768
6769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeEncodingInfo_FromString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6772 {
6773 arg2 = wxString_in_helper(obj1);
6774 if (arg2 == NULL) SWIG_fail;
e811c8ce 6775 temp2 = True;
d14a1e28
RD
6776 }
6777 {
6778 PyThreadState* __tstate = wxPyBeginAllowThreads();
6779 result = (bool)(arg1)->FromString((wxString const &)*arg2);
6780
6781 wxPyEndAllowThreads(__tstate);
6782 if (PyErr_Occurred()) SWIG_fail;
6783 }
4f89f6a3
RD
6784 {
6785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6786 }
d14a1e28
RD
6787 {
6788 if (temp2)
6789 delete arg2;
6790 }
6791 return resultobj;
6792 fail:
6793 {
6794 if (temp2)
6795 delete arg2;
6796 }
6797 return NULL;
6798}
6799
6800
6801static PyObject *_wrap_NativeEncodingInfo_ToString(PyObject *self, PyObject *args, PyObject *kwargs) {
6802 PyObject *resultobj;
6803 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
6804 wxString result;
6805 PyObject * obj0 = 0 ;
6806 char *kwnames[] = {
6807 (char *) "self", NULL
6808 };
6809
6810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeEncodingInfo_ToString",kwnames,&obj0)) goto fail;
15afbcd0
RD
6811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6813 {
6814 PyThreadState* __tstate = wxPyBeginAllowThreads();
6815 result = ((wxNativeEncodingInfo const *)arg1)->ToString();
6816
6817 wxPyEndAllowThreads(__tstate);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 }
6820 {
6821#if wxUSE_UNICODE
6822 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6823#else
6824 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6825#endif
6826 }
6827 return resultobj;
6828 fail:
6829 return NULL;
6830}
6831
6832
6833static PyObject * NativeEncodingInfo_swigregister(PyObject *self, PyObject *args) {
6834 PyObject *obj;
6835 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6836 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo, obj);
6837 Py_INCREF(obj);
6838 return Py_BuildValue((char *)"");
6839}
6840static PyObject *_wrap_GetNativeFontEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
6841 PyObject *resultobj;
6842 int arg1 ;
6843 wxNativeEncodingInfo *result;
994141e6 6844 PyObject * obj0 = 0 ;
d14a1e28
RD
6845 char *kwnames[] = {
6846 (char *) "encoding", NULL
6847 };
6848
994141e6 6849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetNativeFontEncoding",kwnames,&obj0)) goto fail;
15afbcd0
RD
6850 arg1 = (wxFontEncoding) SWIG_AsInt(obj0);
6851 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
6852 {
6853 PyThreadState* __tstate = wxPyBeginAllowThreads();
6854 result = (wxNativeEncodingInfo *)wxGetNativeFontEncoding((wxFontEncoding )arg1);
d14a1e28
RD
6855
6856 wxPyEndAllowThreads(__tstate);
6857 if (PyErr_Occurred()) SWIG_fail;
6858 }
15afbcd0 6859 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeEncodingInfo, 0);
d14a1e28
RD
6860 return resultobj;
6861 fail:
6862 return NULL;
6863}
6864
6865
6866static PyObject *_wrap_TestFontEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
6867 PyObject *resultobj;
6868 wxNativeEncodingInfo *arg1 = 0 ;
6869 bool result;
6870 PyObject * obj0 = 0 ;
6871 char *kwnames[] = {
6872 (char *) "info", NULL
6873 };
6874
6875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TestFontEncoding",kwnames,&obj0)) goto fail;
15afbcd0
RD
6876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6877 SWIG_POINTER_EXCEPTION | 0)) == -1)
6878 SWIG_fail;
d14a1e28 6879 if (arg1 == NULL) {
15afbcd0
RD
6880 PyErr_SetString(PyExc_TypeError,"null reference");
6881 SWIG_fail;
d14a1e28
RD
6882 }
6883 {
6884 PyThreadState* __tstate = wxPyBeginAllowThreads();
6885 result = (bool)wxTestFontEncoding((wxNativeEncodingInfo const &)*arg1);
6886
6887 wxPyEndAllowThreads(__tstate);
6888 if (PyErr_Occurred()) SWIG_fail;
6889 }
4f89f6a3
RD
6890 {
6891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6892 }
d14a1e28
RD
6893 return resultobj;
6894 fail:
6895 return NULL;
6896}
6897
6898
6899static PyObject *_wrap_new_FontMapper(PyObject *self, PyObject *args, PyObject *kwargs) {
6900 PyObject *resultobj;
6901 wxFontMapper *result;
6902 char *kwnames[] = {
6903 NULL
6904 };
6905
6906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontMapper",kwnames)) goto fail;
6907 {
6908 PyThreadState* __tstate = wxPyBeginAllowThreads();
6909 result = (wxFontMapper *)new wxFontMapper();
6910
6911 wxPyEndAllowThreads(__tstate);
6912 if (PyErr_Occurred()) SWIG_fail;
6913 }
15afbcd0 6914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontMapper, 1);
d14a1e28
RD
6915 return resultobj;
6916 fail:
6917 return NULL;
6918}
6919
6920
6921static PyObject *_wrap_delete_FontMapper(PyObject *self, PyObject *args, PyObject *kwargs) {
6922 PyObject *resultobj;
6923 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
6924 PyObject * obj0 = 0 ;
6925 char *kwnames[] = {
6926 (char *) "self", NULL
6927 };
6928
6929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontMapper",kwnames,&obj0)) goto fail;
15afbcd0
RD
6930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
6931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6932 {
6933 PyThreadState* __tstate = wxPyBeginAllowThreads();
6934 delete arg1;
6935
6936 wxPyEndAllowThreads(__tstate);
6937 if (PyErr_Occurred()) SWIG_fail;
6938 }
6939 Py_INCREF(Py_None); resultobj = Py_None;
6940 return resultobj;
6941 fail:
6942 return NULL;
6943}
6944
6945
6946static PyObject *_wrap_FontMapper_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
6947 PyObject *resultobj;
6948 wxFontMapper *result;
6949 char *kwnames[] = {
6950 NULL
6951 };
6952
6953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FontMapper_Get",kwnames)) goto fail;
6954 {
6955 PyThreadState* __tstate = wxPyBeginAllowThreads();
6956 result = (wxFontMapper *)wxFontMapper::Get();
6957
6958 wxPyEndAllowThreads(__tstate);
6959 if (PyErr_Occurred()) SWIG_fail;
6960 }
15afbcd0 6961 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontMapper, 0);
d14a1e28
RD
6962 return resultobj;
6963 fail:
6964 return NULL;
6965}
6966
6967
6968static PyObject *_wrap_FontMapper_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
6969 PyObject *resultobj;
6970 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
6971 wxFontMapper *result;
6972 PyObject * obj0 = 0 ;
6973 char *kwnames[] = {
6974 (char *) "mapper", NULL
6975 };
6976
6977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_Set",kwnames,&obj0)) goto fail;
15afbcd0
RD
6978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
6979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6980 {
6981 PyThreadState* __tstate = wxPyBeginAllowThreads();
6982 result = (wxFontMapper *)wxFontMapper::Set(arg1);
6983
6984 wxPyEndAllowThreads(__tstate);
6985 if (PyErr_Occurred()) SWIG_fail;
6986 }
15afbcd0 6987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontMapper, 0);
d14a1e28
RD
6988 return resultobj;
6989 fail:
6990 return NULL;
6991}
6992
6993
6994static PyObject *_wrap_FontMapper_CharsetToEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
6995 PyObject *resultobj;
6996 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
6997 wxString *arg2 = 0 ;
e811c8ce 6998 bool arg3 = (bool) True ;
d14a1e28 6999 int result;
e811c8ce 7000 bool temp2 = False ;
d14a1e28
RD
7001 PyObject * obj0 = 0 ;
7002 PyObject * obj1 = 0 ;
7003 PyObject * obj2 = 0 ;
7004 char *kwnames[] = {
7005 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7006 };
7007
7008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7011 {
7012 arg2 = wxString_in_helper(obj1);
7013 if (arg2 == NULL) SWIG_fail;
e811c8ce 7014 temp2 = True;
d14a1e28
RD
7015 }
7016 if (obj2) {
15afbcd0
RD
7017 arg3 = (bool) SWIG_AsBool(obj2);
7018 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7019 }
7020 {
7021 PyThreadState* __tstate = wxPyBeginAllowThreads();
7022 result = (int)(arg1)->CharsetToEncoding((wxString const &)*arg2,arg3);
7023
7024 wxPyEndAllowThreads(__tstate);
7025 if (PyErr_Occurred()) SWIG_fail;
7026 }
15afbcd0 7027 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7028 {
7029 if (temp2)
7030 delete arg2;
7031 }
7032 return resultobj;
7033 fail:
7034 {
7035 if (temp2)
7036 delete arg2;
7037 }
7038 return NULL;
7039}
7040
7041
7042static PyObject *_wrap_FontMapper_GetSupportedEncodingsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7043 PyObject *resultobj;
7044 size_t result;
7045 char *kwnames[] = {
7046 NULL
7047 };
7048
7049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames)) goto fail;
7050 {
7051 PyThreadState* __tstate = wxPyBeginAllowThreads();
7052 result = (size_t)wxFontMapper::GetSupportedEncodingsCount();
7053
7054 wxPyEndAllowThreads(__tstate);
7055 if (PyErr_Occurred()) SWIG_fail;
7056 }
15afbcd0 7057 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
7058 return resultobj;
7059 fail:
7060 return NULL;
7061}
7062
7063
7064static PyObject *_wrap_FontMapper_GetEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
7065 PyObject *resultobj;
7066 size_t arg1 ;
7067 int result;
7068 PyObject * obj0 = 0 ;
7069 char *kwnames[] = {
7070 (char *) "n", NULL
7071 };
7072
7073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncoding",kwnames,&obj0)) goto fail;
15afbcd0
RD
7074 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
7075 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7076 {
7077 PyThreadState* __tstate = wxPyBeginAllowThreads();
7078 result = (int)wxFontMapper::GetEncoding(arg1);
7079
7080 wxPyEndAllowThreads(__tstate);
7081 if (PyErr_Occurred()) SWIG_fail;
7082 }
15afbcd0 7083 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7084 return resultobj;
7085 fail:
7086 return NULL;
7087}
7088
7089
7090static PyObject *_wrap_FontMapper_GetEncodingName(PyObject *self, PyObject *args, PyObject *kwargs) {
7091 PyObject *resultobj;
7092 int arg1 ;
7093 wxString result;
994141e6 7094 PyObject * obj0 = 0 ;
d14a1e28
RD
7095 char *kwnames[] = {
7096 (char *) "encoding", NULL
7097 };
7098
994141e6 7099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncodingName",kwnames,&obj0)) goto fail;
15afbcd0
RD
7100 arg1 = (wxFontEncoding) SWIG_AsInt(obj0);
7101 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7102 {
7103 PyThreadState* __tstate = wxPyBeginAllowThreads();
7104 result = wxFontMapper::GetEncodingName((wxFontEncoding )arg1);
7105
7106 wxPyEndAllowThreads(__tstate);
7107 if (PyErr_Occurred()) SWIG_fail;
7108 }
7109 {
7110#if wxUSE_UNICODE
7111 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7112#else
7113 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7114#endif
7115 }
7116 return resultobj;
7117 fail:
7118 return NULL;
7119}
7120
7121
7122static PyObject *_wrap_FontMapper_GetEncodingDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
7123 PyObject *resultobj;
7124 int arg1 ;
7125 wxString result;
994141e6 7126 PyObject * obj0 = 0 ;
d14a1e28
RD
7127 char *kwnames[] = {
7128 (char *) "encoding", NULL
7129 };
7130
994141e6 7131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncodingDescription",kwnames,&obj0)) goto fail;
15afbcd0
RD
7132 arg1 = (wxFontEncoding) SWIG_AsInt(obj0);
7133 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7134 {
7135 PyThreadState* __tstate = wxPyBeginAllowThreads();
7136 result = wxFontMapper::GetEncodingDescription((wxFontEncoding )arg1);
7137
7138 wxPyEndAllowThreads(__tstate);
7139 if (PyErr_Occurred()) SWIG_fail;
7140 }
7141 {
7142#if wxUSE_UNICODE
7143 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7144#else
7145 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7146#endif
7147 }
7148 return resultobj;
7149 fail:
7150 return NULL;
7151}
7152
7153
b2df227b
RD
7154static PyObject *_wrap_FontMapper_GetEncodingFromName(PyObject *self, PyObject *args, PyObject *kwargs) {
7155 PyObject *resultobj;
7156 wxString *arg1 = 0 ;
7157 int result;
7158 bool temp1 = False ;
7159 PyObject * obj0 = 0 ;
7160 char *kwnames[] = {
7161 (char *) "name", NULL
7162 };
7163
7164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncodingFromName",kwnames,&obj0)) goto fail;
7165 {
7166 arg1 = wxString_in_helper(obj0);
7167 if (arg1 == NULL) SWIG_fail;
7168 temp1 = True;
7169 }
7170 {
7171 PyThreadState* __tstate = wxPyBeginAllowThreads();
7172 result = (int)wxFontMapper::GetEncodingFromName((wxString const &)*arg1);
7173
7174 wxPyEndAllowThreads(__tstate);
7175 if (PyErr_Occurred()) SWIG_fail;
7176 }
7177 resultobj = SWIG_FromInt((int)result);
7178 {
7179 if (temp1)
7180 delete arg1;
7181 }
7182 return resultobj;
7183 fail:
7184 {
7185 if (temp1)
7186 delete arg1;
7187 }
7188 return NULL;
7189}
7190
7191
d14a1e28
RD
7192static PyObject *_wrap_FontMapper_SetConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
7193 PyObject *resultobj;
7194 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7195 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
7196 PyObject * obj0 = 0 ;
7197 PyObject * obj1 = 0 ;
7198 char *kwnames[] = {
7199 (char *) "self",(char *) "config", NULL
7200 };
7201
7202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetConfig",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7205 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
7206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7207 {
7208 PyThreadState* __tstate = wxPyBeginAllowThreads();
7209 (arg1)->SetConfig(arg2);
7210
7211 wxPyEndAllowThreads(__tstate);
7212 if (PyErr_Occurred()) SWIG_fail;
7213 }
7214 Py_INCREF(Py_None); resultobj = Py_None;
7215 return resultobj;
7216 fail:
7217 return NULL;
7218}
7219
7220
7221static PyObject *_wrap_FontMapper_SetConfigPath(PyObject *self, PyObject *args, PyObject *kwargs) {
7222 PyObject *resultobj;
7223 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7224 wxString *arg2 = 0 ;
e811c8ce 7225 bool temp2 = False ;
d14a1e28
RD
7226 PyObject * obj0 = 0 ;
7227 PyObject * obj1 = 0 ;
7228 char *kwnames[] = {
7229 (char *) "self",(char *) "prefix", NULL
7230 };
7231
7232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetConfigPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7235 {
7236 arg2 = wxString_in_helper(obj1);
7237 if (arg2 == NULL) SWIG_fail;
e811c8ce 7238 temp2 = True;
d14a1e28
RD
7239 }
7240 {
7241 PyThreadState* __tstate = wxPyBeginAllowThreads();
7242 (arg1)->SetConfigPath((wxString const &)*arg2);
7243
7244 wxPyEndAllowThreads(__tstate);
7245 if (PyErr_Occurred()) SWIG_fail;
7246 }
7247 Py_INCREF(Py_None); resultobj = Py_None;
7248 {
7249 if (temp2)
7250 delete arg2;
7251 }
7252 return resultobj;
7253 fail:
7254 {
7255 if (temp2)
7256 delete arg2;
7257 }
7258 return NULL;
7259}
7260
7261
7262static PyObject *_wrap_FontMapper_GetDefaultConfigPath(PyObject *self, PyObject *args, PyObject *kwargs) {
7263 PyObject *resultobj;
7264 wxString result;
7265 char *kwnames[] = {
7266 NULL
7267 };
7268
7269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FontMapper_GetDefaultConfigPath",kwnames)) goto fail;
7270 {
7271 PyThreadState* __tstate = wxPyBeginAllowThreads();
7272 result = wxFontMapper::GetDefaultConfigPath();
7273
7274 wxPyEndAllowThreads(__tstate);
7275 if (PyErr_Occurred()) SWIG_fail;
7276 }
7277 {
7278#if wxUSE_UNICODE
7279 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7280#else
7281 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7282#endif
7283 }
7284 return resultobj;
7285 fail:
7286 return NULL;
7287}
7288
7289
7290static PyObject *_wrap_FontMapper_GetAltForEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
7291 PyObject *resultobj;
7292 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7293 int arg2 ;
7294 wxString const &arg3_defvalue = wxPyEmptyString ;
7295 wxString *arg3 = (wxString *) &arg3_defvalue ;
e811c8ce 7296 bool arg4 = (bool) True ;
d14a1e28 7297 PyObject *result;
e811c8ce 7298 bool temp3 = False ;
d14a1e28 7299 PyObject * obj0 = 0 ;
994141e6 7300 PyObject * obj1 = 0 ;
d14a1e28
RD
7301 PyObject * obj2 = 0 ;
7302 PyObject * obj3 = 0 ;
7303 char *kwnames[] = {
7304 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7305 };
7306
994141e6 7307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
7308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7310 arg2 = (wxFontEncoding) SWIG_AsInt(obj1);
7311 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7312 if (obj2) {
7313 {
7314 arg3 = wxString_in_helper(obj2);
7315 if (arg3 == NULL) SWIG_fail;
e811c8ce 7316 temp3 = True;
d14a1e28
RD
7317 }
7318 }
7319 if (obj3) {
15afbcd0
RD
7320 arg4 = (bool) SWIG_AsBool(obj3);
7321 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7322 }
7323 {
7324 PyThreadState* __tstate = wxPyBeginAllowThreads();
7325 result = (PyObject *)wxFontMapper_GetAltForEncoding(arg1,(wxFontEncoding )arg2,(wxString const &)*arg3,arg4);
7326
7327 wxPyEndAllowThreads(__tstate);
7328 if (PyErr_Occurred()) SWIG_fail;
7329 }
7330 resultobj = result;
7331 {
7332 if (temp3)
7333 delete arg3;
7334 }
7335 return resultobj;
7336 fail:
7337 {
7338 if (temp3)
7339 delete arg3;
7340 }
7341 return NULL;
7342}
7343
7344
7345static PyObject *_wrap_FontMapper_IsEncodingAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
7346 PyObject *resultobj;
7347 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7348 int arg2 ;
7349 wxString const &arg3_defvalue = wxPyEmptyString ;
7350 wxString *arg3 = (wxString *) &arg3_defvalue ;
7351 bool result;
e811c8ce 7352 bool temp3 = False ;
d14a1e28 7353 PyObject * obj0 = 0 ;
994141e6 7354 PyObject * obj1 = 0 ;
d14a1e28
RD
7355 PyObject * obj2 = 0 ;
7356 char *kwnames[] = {
7357 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7358 };
7359
994141e6 7360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7363 arg2 = (wxFontEncoding) SWIG_AsInt(obj1);
7364 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7365 if (obj2) {
7366 {
7367 arg3 = wxString_in_helper(obj2);
7368 if (arg3 == NULL) SWIG_fail;
e811c8ce 7369 temp3 = True;
d14a1e28
RD
7370 }
7371 }
7372 {
7373 PyThreadState* __tstate = wxPyBeginAllowThreads();
7374 result = (bool)(arg1)->IsEncodingAvailable((wxFontEncoding )arg2,(wxString const &)*arg3);
7375
7376 wxPyEndAllowThreads(__tstate);
7377 if (PyErr_Occurred()) SWIG_fail;
7378 }
4f89f6a3
RD
7379 {
7380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7381 }
d14a1e28
RD
7382 {
7383 if (temp3)
7384 delete arg3;
7385 }
7386 return resultobj;
7387 fail:
7388 {
7389 if (temp3)
7390 delete arg3;
7391 }
7392 return NULL;
7393}
7394
7395
7396static PyObject *_wrap_FontMapper_SetDialogParent(PyObject *self, PyObject *args, PyObject *kwargs) {
7397 PyObject *resultobj;
7398 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7399 wxWindow *arg2 = (wxWindow *) 0 ;
7400 PyObject * obj0 = 0 ;
7401 PyObject * obj1 = 0 ;
7402 char *kwnames[] = {
7403 (char *) "self",(char *) "parent", NULL
7404 };
7405
7406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetDialogParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7409 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7411 {
7412 PyThreadState* __tstate = wxPyBeginAllowThreads();
7413 (arg1)->SetDialogParent(arg2);
7414
7415 wxPyEndAllowThreads(__tstate);
7416 if (PyErr_Occurred()) SWIG_fail;
7417 }
7418 Py_INCREF(Py_None); resultobj = Py_None;
7419 return resultobj;
7420 fail:
7421 return NULL;
7422}
7423
7424
7425static PyObject *_wrap_FontMapper_SetDialogTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
7426 PyObject *resultobj;
7427 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7428 wxString *arg2 = 0 ;
e811c8ce 7429 bool temp2 = False ;
d14a1e28
RD
7430 PyObject * obj0 = 0 ;
7431 PyObject * obj1 = 0 ;
7432 char *kwnames[] = {
7433 (char *) "self",(char *) "title", NULL
7434 };
7435
7436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetDialogTitle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7439 {
7440 arg2 = wxString_in_helper(obj1);
7441 if (arg2 == NULL) SWIG_fail;
e811c8ce 7442 temp2 = True;
d14a1e28
RD
7443 }
7444 {
7445 PyThreadState* __tstate = wxPyBeginAllowThreads();
7446 (arg1)->SetDialogTitle((wxString const &)*arg2);
7447
7448 wxPyEndAllowThreads(__tstate);
7449 if (PyErr_Occurred()) SWIG_fail;
7450 }
7451 Py_INCREF(Py_None); resultobj = Py_None;
7452 {
7453 if (temp2)
7454 delete arg2;
7455 }
7456 return resultobj;
7457 fail:
7458 {
7459 if (temp2)
7460 delete arg2;
7461 }
7462 return NULL;
7463}
7464
7465
7466static PyObject * FontMapper_swigregister(PyObject *self, PyObject *args) {
7467 PyObject *obj;
7468 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7469 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper, obj);
7470 Py_INCREF(obj);
7471 return Py_BuildValue((char *)"");
7472}
7473static PyObject *_wrap_new_Font(PyObject *self, PyObject *args, PyObject *kwargs) {
7474 PyObject *resultobj;
7475 int arg1 ;
7476 int arg2 ;
7477 int arg3 ;
7478 int arg4 ;
e811c8ce 7479 bool arg5 = (bool) False ;
d14a1e28
RD
7480 wxString const &arg6_defvalue = wxPyEmptyString ;
7481 wxString *arg6 = (wxString *) &arg6_defvalue ;
7482 int arg7 = (int) wxFONTENCODING_DEFAULT ;
7483 wxFont *result;
e811c8ce 7484 bool temp6 = False ;
994141e6
RD
7485 PyObject * obj0 = 0 ;
7486 PyObject * obj1 = 0 ;
7487 PyObject * obj2 = 0 ;
7488 PyObject * obj3 = 0 ;
d14a1e28
RD
7489 PyObject * obj4 = 0 ;
7490 PyObject * obj5 = 0 ;
994141e6 7491 PyObject * obj6 = 0 ;
d14a1e28
RD
7492 char *kwnames[] = {
7493 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7494 };
7495
994141e6 7496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:new_Font",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
7497 arg1 = (int) SWIG_AsInt(obj0);
7498 if (PyErr_Occurred()) SWIG_fail;
7499 arg2 = (int) SWIG_AsInt(obj1);
7500 if (PyErr_Occurred()) SWIG_fail;
7501 arg3 = (int) SWIG_AsInt(obj2);
7502 if (PyErr_Occurred()) SWIG_fail;
7503 arg4 = (int) SWIG_AsInt(obj3);
7504 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7505 if (obj4) {
15afbcd0
RD
7506 arg5 = (bool) SWIG_AsBool(obj4);
7507 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7508 }
7509 if (obj5) {
7510 {
7511 arg6 = wxString_in_helper(obj5);
7512 if (arg6 == NULL) SWIG_fail;
e811c8ce 7513 temp6 = True;
d14a1e28
RD
7514 }
7515 }
994141e6 7516 if (obj6) {
15afbcd0
RD
7517 arg7 = (wxFontEncoding) SWIG_AsInt(obj6);
7518 if (PyErr_Occurred()) SWIG_fail;
994141e6 7519 }
d14a1e28
RD
7520 {
7521 PyThreadState* __tstate = wxPyBeginAllowThreads();
7522 result = (wxFont *)new wxFont(arg1,arg2,arg3,arg4,arg5,(wxString const &)*arg6,(wxFontEncoding )arg7);
7523
7524 wxPyEndAllowThreads(__tstate);
7525 if (PyErr_Occurred()) SWIG_fail;
7526 }
15afbcd0 7527 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
7528 {
7529 if (temp6)
7530 delete arg6;
7531 }
7532 return resultobj;
7533 fail:
7534 {
7535 if (temp6)
7536 delete arg6;
7537 }
7538 return NULL;
7539}
7540
7541
7542static PyObject *_wrap_delete_Font(PyObject *self, PyObject *args, PyObject *kwargs) {
7543 PyObject *resultobj;
7544 wxFont *arg1 = (wxFont *) 0 ;
7545 PyObject * obj0 = 0 ;
7546 char *kwnames[] = {
7547 (char *) "self", NULL
7548 };
7549
7550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Font",kwnames,&obj0)) goto fail;
15afbcd0
RD
7551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7553 {
7554 PyThreadState* __tstate = wxPyBeginAllowThreads();
7555 delete arg1;
7556
7557 wxPyEndAllowThreads(__tstate);
7558 if (PyErr_Occurred()) SWIG_fail;
7559 }
7560 Py_INCREF(Py_None); resultobj = Py_None;
7561 return resultobj;
7562 fail:
7563 return NULL;
7564}
7565
7566
7567static PyObject *_wrap_new_FontFromNativeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7568 PyObject *resultobj;
7569 wxNativeFontInfo *arg1 = 0 ;
7570 wxFont *result;
7571 PyObject * obj0 = 0 ;
7572 char *kwnames[] = {
7573 (char *) "info", NULL
7574 };
7575
7576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FontFromNativeInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
7577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
7578 SWIG_POINTER_EXCEPTION | 0)) == -1)
7579 SWIG_fail;
d14a1e28 7580 if (arg1 == NULL) {
15afbcd0
RD
7581 PyErr_SetString(PyExc_TypeError,"null reference");
7582 SWIG_fail;
d14a1e28
RD
7583 }
7584 {
7585 PyThreadState* __tstate = wxPyBeginAllowThreads();
7586 result = (wxFont *)new wxFont((wxNativeFontInfo const &)*arg1);
7587
7588 wxPyEndAllowThreads(__tstate);
7589 if (PyErr_Occurred()) SWIG_fail;
7590 }
15afbcd0 7591 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
7592 return resultobj;
7593 fail:
7594 return NULL;
7595}
7596
7597
7598static PyObject *_wrap_new_FontFromNativeInfoString(PyObject *self, PyObject *args, PyObject *kwargs) {
7599 PyObject *resultobj;
7600 wxString *arg1 = 0 ;
7601 wxFont *result;
e811c8ce 7602 bool temp1 = False ;
d14a1e28
RD
7603 PyObject * obj0 = 0 ;
7604 char *kwnames[] = {
7605 (char *) "info", NULL
7606 };
7607
7608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FontFromNativeInfoString",kwnames,&obj0)) goto fail;
7609 {
7610 arg1 = wxString_in_helper(obj0);
7611 if (arg1 == NULL) SWIG_fail;
e811c8ce 7612 temp1 = True;
d14a1e28
RD
7613 }
7614 {
7615 PyThreadState* __tstate = wxPyBeginAllowThreads();
7616 result = (wxFont *)new_wxFont((wxString const &)*arg1);
7617
7618 wxPyEndAllowThreads(__tstate);
7619 if (PyErr_Occurred()) SWIG_fail;
7620 }
15afbcd0 7621 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
7622 {
7623 if (temp1)
7624 delete arg1;
7625 }
7626 return resultobj;
7627 fail:
7628 {
7629 if (temp1)
7630 delete arg1;
7631 }
7632 return NULL;
7633}
7634
7635
7636static PyObject *_wrap_new_Font2(PyObject *self, PyObject *args, PyObject *kwargs) {
7637 PyObject *resultobj;
7638 int arg1 ;
7639 int arg2 ;
7640 int arg3 = (int) wxFONTFLAG_DEFAULT ;
7641 wxString const &arg4_defvalue = wxPyEmptyString ;
7642 wxString *arg4 = (wxString *) &arg4_defvalue ;
7643 int arg5 = (int) wxFONTENCODING_DEFAULT ;
7644 wxFont *result;
e811c8ce 7645 bool temp4 = False ;
994141e6
RD
7646 PyObject * obj0 = 0 ;
7647 PyObject * obj1 = 0 ;
7648 PyObject * obj2 = 0 ;
d14a1e28 7649 PyObject * obj3 = 0 ;
994141e6 7650 PyObject * obj4 = 0 ;
d14a1e28
RD
7651 char *kwnames[] = {
7652 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7653 };
7654
994141e6 7655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_Font2",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
7656 arg1 = (int) SWIG_AsInt(obj0);
7657 if (PyErr_Occurred()) SWIG_fail;
7658 arg2 = (wxFontFamily) SWIG_AsInt(obj1);
7659 if (PyErr_Occurred()) SWIG_fail;
994141e6 7660 if (obj2) {
15afbcd0
RD
7661 arg3 = (int) SWIG_AsInt(obj2);
7662 if (PyErr_Occurred()) SWIG_fail;
994141e6 7663 }
d14a1e28
RD
7664 if (obj3) {
7665 {
7666 arg4 = wxString_in_helper(obj3);
7667 if (arg4 == NULL) SWIG_fail;
e811c8ce 7668 temp4 = True;
d14a1e28
RD
7669 }
7670 }
994141e6 7671 if (obj4) {
15afbcd0
RD
7672 arg5 = (wxFontEncoding) SWIG_AsInt(obj4);
7673 if (PyErr_Occurred()) SWIG_fail;
994141e6 7674 }
d14a1e28
RD
7675 {
7676 PyThreadState* __tstate = wxPyBeginAllowThreads();
7677 result = (wxFont *)new_wxFont(arg1,(wxFontFamily )arg2,arg3,(wxString const &)*arg4,(wxFontEncoding )arg5);
7678
7679 wxPyEndAllowThreads(__tstate);
7680 if (PyErr_Occurred()) SWIG_fail;
7681 }
15afbcd0 7682 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
7683 {
7684 if (temp4)
7685 delete arg4;
7686 }
7687 return resultobj;
7688 fail:
7689 {
7690 if (temp4)
7691 delete arg4;
7692 }
7693 return NULL;
7694}
7695
7696
7697static PyObject *_wrap_Font_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
7698 PyObject *resultobj;
7699 wxFont *arg1 = (wxFont *) 0 ;
7700 bool result;
7701 PyObject * obj0 = 0 ;
7702 char *kwnames[] = {
7703 (char *) "self", NULL
7704 };
7705
7706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
7707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7709 {
7710 PyThreadState* __tstate = wxPyBeginAllowThreads();
7711 result = (bool)((wxFont const *)arg1)->Ok();
7712
7713 wxPyEndAllowThreads(__tstate);
7714 if (PyErr_Occurred()) SWIG_fail;
7715 }
4f89f6a3
RD
7716 {
7717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7718 }
d14a1e28
RD
7719 return resultobj;
7720 fail:
7721 return NULL;
7722}
7723
7724
7725static PyObject *_wrap_Font___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
7726 PyObject *resultobj;
7727 wxFont *arg1 = (wxFont *) 0 ;
22faec7d 7728 wxFont *arg2 = (wxFont *) 0 ;
d14a1e28
RD
7729 bool result;
7730 PyObject * obj0 = 0 ;
7731 PyObject * obj1 = 0 ;
7732 char *kwnames[] = {
22faec7d 7733 (char *) "self",(char *) "other", NULL
d14a1e28
RD
7734 };
7735
7736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7739 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
7740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7741 {
7742 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 7743 result = (bool)wxFont___eq__(arg1,(wxFont const *)arg2);
d14a1e28
RD
7744
7745 wxPyEndAllowThreads(__tstate);
7746 if (PyErr_Occurred()) SWIG_fail;
7747 }
4f89f6a3
RD
7748 {
7749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7750 }
d14a1e28
RD
7751 return resultobj;
7752 fail:
7753 return NULL;
7754}
7755
7756
7757static PyObject *_wrap_Font___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
7758 PyObject *resultobj;
7759 wxFont *arg1 = (wxFont *) 0 ;
22faec7d 7760 wxFont *arg2 = (wxFont *) 0 ;
d14a1e28
RD
7761 bool result;
7762 PyObject * obj0 = 0 ;
7763 PyObject * obj1 = 0 ;
7764 char *kwnames[] = {
22faec7d 7765 (char *) "self",(char *) "other", NULL
d14a1e28
RD
7766 };
7767
7768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7771 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
7772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7773 {
7774 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 7775 result = (bool)wxFont___ne__(arg1,(wxFont const *)arg2);
d14a1e28
RD
7776
7777 wxPyEndAllowThreads(__tstate);
7778 if (PyErr_Occurred()) SWIG_fail;
7779 }
4f89f6a3
RD
7780 {
7781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7782 }
d14a1e28
RD
7783 return resultobj;
7784 fail:
7785 return NULL;
7786}
7787
7788
7789static PyObject *_wrap_Font_GetPointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7790 PyObject *resultobj;
7791 wxFont *arg1 = (wxFont *) 0 ;
7792 int result;
7793 PyObject * obj0 = 0 ;
7794 char *kwnames[] = {
7795 (char *) "self", NULL
7796 };
7797
7798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetPointSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
7799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7801 {
7802 PyThreadState* __tstate = wxPyBeginAllowThreads();
7803 result = (int)((wxFont const *)arg1)->GetPointSize();
7804
7805 wxPyEndAllowThreads(__tstate);
7806 if (PyErr_Occurred()) SWIG_fail;
7807 }
15afbcd0 7808 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7809 return resultobj;
7810 fail:
7811 return NULL;
7812}
7813
7814
7815static PyObject *_wrap_Font_GetFamily(PyObject *self, PyObject *args, PyObject *kwargs) {
7816 PyObject *resultobj;
7817 wxFont *arg1 = (wxFont *) 0 ;
7818 int result;
7819 PyObject * obj0 = 0 ;
7820 char *kwnames[] = {
7821 (char *) "self", NULL
7822 };
7823
7824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetFamily",kwnames,&obj0)) goto fail;
15afbcd0
RD
7825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7827 {
7828 PyThreadState* __tstate = wxPyBeginAllowThreads();
7829 result = (int)((wxFont const *)arg1)->GetFamily();
7830
7831 wxPyEndAllowThreads(__tstate);
7832 if (PyErr_Occurred()) SWIG_fail;
7833 }
15afbcd0 7834 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7835 return resultobj;
7836 fail:
7837 return NULL;
7838}
7839
7840
7841static PyObject *_wrap_Font_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7842 PyObject *resultobj;
7843 wxFont *arg1 = (wxFont *) 0 ;
7844 int result;
7845 PyObject * obj0 = 0 ;
7846 char *kwnames[] = {
7847 (char *) "self", NULL
7848 };
7849
7850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
7851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7853 {
7854 PyThreadState* __tstate = wxPyBeginAllowThreads();
7855 result = (int)((wxFont const *)arg1)->GetStyle();
7856
7857 wxPyEndAllowThreads(__tstate);
7858 if (PyErr_Occurred()) SWIG_fail;
7859 }
15afbcd0 7860 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7861 return resultobj;
7862 fail:
7863 return NULL;
7864}
7865
7866
7867static PyObject *_wrap_Font_GetWeight(PyObject *self, PyObject *args, PyObject *kwargs) {
7868 PyObject *resultobj;
7869 wxFont *arg1 = (wxFont *) 0 ;
7870 int result;
7871 PyObject * obj0 = 0 ;
7872 char *kwnames[] = {
7873 (char *) "self", NULL
7874 };
7875
7876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetWeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
7877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7879 {
7880 PyThreadState* __tstate = wxPyBeginAllowThreads();
7881 result = (int)((wxFont const *)arg1)->GetWeight();
7882
7883 wxPyEndAllowThreads(__tstate);
7884 if (PyErr_Occurred()) SWIG_fail;
7885 }
15afbcd0 7886 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7887 return resultobj;
7888 fail:
7889 return NULL;
7890}
7891
7892
7893static PyObject *_wrap_Font_GetUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
7894 PyObject *resultobj;
7895 wxFont *arg1 = (wxFont *) 0 ;
7896 bool result;
7897 PyObject * obj0 = 0 ;
7898 char *kwnames[] = {
7899 (char *) "self", NULL
7900 };
7901
7902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetUnderlined",kwnames,&obj0)) goto fail;
15afbcd0
RD
7903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7905 {
7906 PyThreadState* __tstate = wxPyBeginAllowThreads();
7907 result = (bool)((wxFont const *)arg1)->GetUnderlined();
7908
7909 wxPyEndAllowThreads(__tstate);
7910 if (PyErr_Occurred()) SWIG_fail;
7911 }
4f89f6a3
RD
7912 {
7913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7914 }
d14a1e28
RD
7915 return resultobj;
7916 fail:
7917 return NULL;
7918}
7919
7920
7921static PyObject *_wrap_Font_GetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
7922 PyObject *resultobj;
7923 wxFont *arg1 = (wxFont *) 0 ;
7924 wxString result;
7925 PyObject * obj0 = 0 ;
7926 char *kwnames[] = {
7927 (char *) "self", NULL
7928 };
7929
7930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetFaceName",kwnames,&obj0)) goto fail;
15afbcd0
RD
7931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7933 {
7934 PyThreadState* __tstate = wxPyBeginAllowThreads();
7935 result = ((wxFont const *)arg1)->GetFaceName();
7936
7937 wxPyEndAllowThreads(__tstate);
7938 if (PyErr_Occurred()) SWIG_fail;
7939 }
7940 {
7941#if wxUSE_UNICODE
7942 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7943#else
7944 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7945#endif
7946 }
7947 return resultobj;
7948 fail:
7949 return NULL;
7950}
7951
7952
7953static PyObject *_wrap_Font_GetEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
7954 PyObject *resultobj;
7955 wxFont *arg1 = (wxFont *) 0 ;
7956 int result;
7957 PyObject * obj0 = 0 ;
7958 char *kwnames[] = {
7959 (char *) "self", NULL
7960 };
7961
7962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetEncoding",kwnames,&obj0)) goto fail;
15afbcd0
RD
7963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7965 {
7966 PyThreadState* __tstate = wxPyBeginAllowThreads();
7967 result = (int)((wxFont const *)arg1)->GetEncoding();
7968
7969 wxPyEndAllowThreads(__tstate);
7970 if (PyErr_Occurred()) SWIG_fail;
7971 }
15afbcd0 7972 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7973 return resultobj;
7974 fail:
7975 return NULL;
7976}
7977
7978
7979static PyObject *_wrap_Font_GetNativeFontInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7980 PyObject *resultobj;
7981 wxFont *arg1 = (wxFont *) 0 ;
7982 wxNativeFontInfo *result;
7983 PyObject * obj0 = 0 ;
7984 char *kwnames[] = {
7985 (char *) "self", NULL
7986 };
7987
7988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNativeFontInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
7989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7991 {
7992 PyThreadState* __tstate = wxPyBeginAllowThreads();
7993 result = (wxNativeFontInfo *)((wxFont const *)arg1)->GetNativeFontInfo();
7994
7995 wxPyEndAllowThreads(__tstate);
7996 if (PyErr_Occurred()) SWIG_fail;
7997 }
15afbcd0 7998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeFontInfo, 0);
d14a1e28
RD
7999 return resultobj;
8000 fail:
8001 return NULL;
8002}
8003
8004
8005static PyObject *_wrap_Font_IsFixedWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8006 PyObject *resultobj;
8007 wxFont *arg1 = (wxFont *) 0 ;
8008 bool result;
8009 PyObject * obj0 = 0 ;
8010 char *kwnames[] = {
8011 (char *) "self", NULL
8012 };
8013
8014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_IsFixedWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
8015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8017 {
8018 PyThreadState* __tstate = wxPyBeginAllowThreads();
8019 result = (bool)((wxFont const *)arg1)->IsFixedWidth();
8020
8021 wxPyEndAllowThreads(__tstate);
8022 if (PyErr_Occurred()) SWIG_fail;
8023 }
4f89f6a3
RD
8024 {
8025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8026 }
d14a1e28
RD
8027 return resultobj;
8028 fail:
8029 return NULL;
8030}
8031
8032
8033static PyObject *_wrap_Font_GetNativeFontInfoDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
8034 PyObject *resultobj;
8035 wxFont *arg1 = (wxFont *) 0 ;
8036 wxString result;
8037 PyObject * obj0 = 0 ;
8038 char *kwnames[] = {
8039 (char *) "self", NULL
8040 };
8041
8042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNativeFontInfoDesc",kwnames,&obj0)) goto fail;
15afbcd0
RD
8043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8045 {
8046 PyThreadState* __tstate = wxPyBeginAllowThreads();
8047 result = ((wxFont const *)arg1)->GetNativeFontInfoDesc();
8048
8049 wxPyEndAllowThreads(__tstate);
8050 if (PyErr_Occurred()) SWIG_fail;
8051 }
8052 {
8053#if wxUSE_UNICODE
8054 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8055#else
8056 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8057#endif
8058 }
8059 return resultobj;
8060 fail:
8061 return NULL;
8062}
8063
8064
8065static PyObject *_wrap_Font_GetNativeFontInfoUserDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
8066 PyObject *resultobj;
8067 wxFont *arg1 = (wxFont *) 0 ;
8068 wxString result;
8069 PyObject * obj0 = 0 ;
8070 char *kwnames[] = {
8071 (char *) "self", NULL
8072 };
8073
8074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames,&obj0)) goto fail;
15afbcd0
RD
8075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8077 {
8078 PyThreadState* __tstate = wxPyBeginAllowThreads();
8079 result = ((wxFont const *)arg1)->GetNativeFontInfoUserDesc();
8080
8081 wxPyEndAllowThreads(__tstate);
8082 if (PyErr_Occurred()) SWIG_fail;
8083 }
8084 {
8085#if wxUSE_UNICODE
8086 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8087#else
8088 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8089#endif
8090 }
8091 return resultobj;
8092 fail:
8093 return NULL;
8094}
8095
8096
8097static PyObject *_wrap_Font_SetPointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8098 PyObject *resultobj;
8099 wxFont *arg1 = (wxFont *) 0 ;
8100 int arg2 ;
8101 PyObject * obj0 = 0 ;
994141e6 8102 PyObject * obj1 = 0 ;
d14a1e28
RD
8103 char *kwnames[] = {
8104 (char *) "self",(char *) "pointSize", NULL
8105 };
8106
994141e6 8107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetPointSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8110 arg2 = (int) SWIG_AsInt(obj1);
8111 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8112 {
8113 PyThreadState* __tstate = wxPyBeginAllowThreads();
8114 (arg1)->SetPointSize(arg2);
8115
8116 wxPyEndAllowThreads(__tstate);
8117 if (PyErr_Occurred()) SWIG_fail;
8118 }
8119 Py_INCREF(Py_None); resultobj = Py_None;
8120 return resultobj;
8121 fail:
8122 return NULL;
8123}
8124
8125
8126static PyObject *_wrap_Font_SetFamily(PyObject *self, PyObject *args, PyObject *kwargs) {
8127 PyObject *resultobj;
8128 wxFont *arg1 = (wxFont *) 0 ;
8129 int arg2 ;
8130 PyObject * obj0 = 0 ;
994141e6 8131 PyObject * obj1 = 0 ;
d14a1e28
RD
8132 char *kwnames[] = {
8133 (char *) "self",(char *) "family", NULL
8134 };
8135
994141e6 8136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetFamily",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8139 arg2 = (int) SWIG_AsInt(obj1);
8140 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8141 {
8142 PyThreadState* __tstate = wxPyBeginAllowThreads();
8143 (arg1)->SetFamily(arg2);
8144
8145 wxPyEndAllowThreads(__tstate);
8146 if (PyErr_Occurred()) SWIG_fail;
8147 }
8148 Py_INCREF(Py_None); resultobj = Py_None;
8149 return resultobj;
8150 fail:
8151 return NULL;
8152}
8153
8154
8155static PyObject *_wrap_Font_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8156 PyObject *resultobj;
8157 wxFont *arg1 = (wxFont *) 0 ;
8158 int arg2 ;
8159 PyObject * obj0 = 0 ;
994141e6 8160 PyObject * obj1 = 0 ;
d14a1e28
RD
8161 char *kwnames[] = {
8162 (char *) "self",(char *) "style", NULL
8163 };
8164
994141e6 8165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8168 arg2 = (int) SWIG_AsInt(obj1);
8169 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8170 {
8171 PyThreadState* __tstate = wxPyBeginAllowThreads();
8172 (arg1)->SetStyle(arg2);
8173
8174 wxPyEndAllowThreads(__tstate);
8175 if (PyErr_Occurred()) SWIG_fail;
8176 }
8177 Py_INCREF(Py_None); resultobj = Py_None;
8178 return resultobj;
8179 fail:
8180 return NULL;
8181}
8182
8183
8184static PyObject *_wrap_Font_SetWeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8185 PyObject *resultobj;
8186 wxFont *arg1 = (wxFont *) 0 ;
8187 int arg2 ;
8188 PyObject * obj0 = 0 ;
994141e6 8189 PyObject * obj1 = 0 ;
d14a1e28
RD
8190 char *kwnames[] = {
8191 (char *) "self",(char *) "weight", NULL
8192 };
8193
994141e6 8194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetWeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8197 arg2 = (int) SWIG_AsInt(obj1);
8198 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8199 {
8200 PyThreadState* __tstate = wxPyBeginAllowThreads();
8201 (arg1)->SetWeight(arg2);
8202
8203 wxPyEndAllowThreads(__tstate);
8204 if (PyErr_Occurred()) SWIG_fail;
8205 }
8206 Py_INCREF(Py_None); resultobj = Py_None;
8207 return resultobj;
8208 fail:
8209 return NULL;
8210}
8211
8212
8213static PyObject *_wrap_Font_SetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
8214 PyObject *resultobj;
8215 wxFont *arg1 = (wxFont *) 0 ;
8216 wxString *arg2 = 0 ;
e811c8ce 8217 bool temp2 = False ;
d14a1e28
RD
8218 PyObject * obj0 = 0 ;
8219 PyObject * obj1 = 0 ;
8220 char *kwnames[] = {
8221 (char *) "self",(char *) "faceName", NULL
8222 };
8223
8224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetFaceName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8227 {
8228 arg2 = wxString_in_helper(obj1);
8229 if (arg2 == NULL) SWIG_fail;
e811c8ce 8230 temp2 = True;
d14a1e28
RD
8231 }
8232 {
8233 PyThreadState* __tstate = wxPyBeginAllowThreads();
8234 (arg1)->SetFaceName((wxString const &)*arg2);
8235
8236 wxPyEndAllowThreads(__tstate);
8237 if (PyErr_Occurred()) SWIG_fail;
8238 }
8239 Py_INCREF(Py_None); resultobj = Py_None;
8240 {
8241 if (temp2)
8242 delete arg2;
8243 }
8244 return resultobj;
8245 fail:
8246 {
8247 if (temp2)
8248 delete arg2;
8249 }
8250 return NULL;
8251}
8252
8253
8254static PyObject *_wrap_Font_SetUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
8255 PyObject *resultobj;
8256 wxFont *arg1 = (wxFont *) 0 ;
8257 bool arg2 ;
8258 PyObject * obj0 = 0 ;
8259 PyObject * obj1 = 0 ;
8260 char *kwnames[] = {
8261 (char *) "self",(char *) "underlined", NULL
8262 };
8263
8264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetUnderlined",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8267 arg2 = (bool) SWIG_AsBool(obj1);
8268 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8269 {
8270 PyThreadState* __tstate = wxPyBeginAllowThreads();
8271 (arg1)->SetUnderlined(arg2);
8272
8273 wxPyEndAllowThreads(__tstate);
8274 if (PyErr_Occurred()) SWIG_fail;
8275 }
8276 Py_INCREF(Py_None); resultobj = Py_None;
8277 return resultobj;
8278 fail:
8279 return NULL;
8280}
8281
8282
8283static PyObject *_wrap_Font_SetEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
8284 PyObject *resultobj;
8285 wxFont *arg1 = (wxFont *) 0 ;
8286 int arg2 ;
8287 PyObject * obj0 = 0 ;
994141e6 8288 PyObject * obj1 = 0 ;
d14a1e28
RD
8289 char *kwnames[] = {
8290 (char *) "self",(char *) "encoding", NULL
8291 };
8292
994141e6 8293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetEncoding",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8296 arg2 = (wxFontEncoding) SWIG_AsInt(obj1);
8297 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8298 {
8299 PyThreadState* __tstate = wxPyBeginAllowThreads();
8300 (arg1)->SetEncoding((wxFontEncoding )arg2);
8301
8302 wxPyEndAllowThreads(__tstate);
8303 if (PyErr_Occurred()) SWIG_fail;
8304 }
8305 Py_INCREF(Py_None); resultobj = Py_None;
8306 return resultobj;
8307 fail:
8308 return NULL;
8309}
8310
8311
8312static PyObject *_wrap_Font_SetNativeFontInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8313 PyObject *resultobj;
8314 wxFont *arg1 = (wxFont *) 0 ;
8315 wxNativeFontInfo *arg2 = 0 ;
8316 PyObject * obj0 = 0 ;
8317 PyObject * obj1 = 0 ;
8318 char *kwnames[] = {
8319 (char *) "self",(char *) "info", NULL
8320 };
8321
8322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetNativeFontInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8325 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxNativeFontInfo,
8326 SWIG_POINTER_EXCEPTION | 0)) == -1)
8327 SWIG_fail;
d14a1e28 8328 if (arg2 == NULL) {
15afbcd0
RD
8329 PyErr_SetString(PyExc_TypeError,"null reference");
8330 SWIG_fail;
d14a1e28
RD
8331 }
8332 {
8333 PyThreadState* __tstate = wxPyBeginAllowThreads();
8334 (arg1)->SetNativeFontInfo((wxNativeFontInfo const &)*arg2);
8335
8336 wxPyEndAllowThreads(__tstate);
8337 if (PyErr_Occurred()) SWIG_fail;
8338 }
8339 Py_INCREF(Py_None); resultobj = Py_None;
8340 return resultobj;
8341 fail:
8342 return NULL;
8343}
8344
8345
8346static PyObject *_wrap_Font_SetNativeFontInfoFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
8347 PyObject *resultobj;
8348 wxFont *arg1 = (wxFont *) 0 ;
8349 wxString *arg2 = 0 ;
e811c8ce 8350 bool temp2 = False ;
d14a1e28
RD
8351 PyObject * obj0 = 0 ;
8352 PyObject * obj1 = 0 ;
8353 char *kwnames[] = {
8354 (char *) "self",(char *) "info", NULL
8355 };
8356
8357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8360 {
8361 arg2 = wxString_in_helper(obj1);
8362 if (arg2 == NULL) SWIG_fail;
e811c8ce 8363 temp2 = True;
d14a1e28
RD
8364 }
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 (arg1)->SetNativeFontInfo((wxString const &)*arg2);
8368
8369 wxPyEndAllowThreads(__tstate);
8370 if (PyErr_Occurred()) SWIG_fail;
8371 }
8372 Py_INCREF(Py_None); resultobj = Py_None;
8373 {
8374 if (temp2)
8375 delete arg2;
8376 }
8377 return resultobj;
8378 fail:
8379 {
8380 if (temp2)
8381 delete arg2;
8382 }
8383 return NULL;
8384}
8385
8386
8387static PyObject *_wrap_Font_SetNativeFontInfoUserDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
8388 PyObject *resultobj;
8389 wxFont *arg1 = (wxFont *) 0 ;
8390 wxString *arg2 = 0 ;
e811c8ce 8391 bool temp2 = False ;
d14a1e28
RD
8392 PyObject * obj0 = 0 ;
8393 PyObject * obj1 = 0 ;
8394 char *kwnames[] = {
8395 (char *) "self",(char *) "info", NULL
8396 };
8397
8398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8401 {
8402 arg2 = wxString_in_helper(obj1);
8403 if (arg2 == NULL) SWIG_fail;
e811c8ce 8404 temp2 = True;
d14a1e28
RD
8405 }
8406 {
8407 PyThreadState* __tstate = wxPyBeginAllowThreads();
8408 (arg1)->SetNativeFontInfoUserDesc((wxString const &)*arg2);
8409
8410 wxPyEndAllowThreads(__tstate);
8411 if (PyErr_Occurred()) SWIG_fail;
8412 }
8413 Py_INCREF(Py_None); resultobj = Py_None;
8414 {
8415 if (temp2)
8416 delete arg2;
8417 }
8418 return resultobj;
8419 fail:
8420 {
8421 if (temp2)
8422 delete arg2;
8423 }
8424 return NULL;
8425}
8426
8427
8428static PyObject *_wrap_Font_GetFamilyString(PyObject *self, PyObject *args, PyObject *kwargs) {
8429 PyObject *resultobj;
8430 wxFont *arg1 = (wxFont *) 0 ;
8431 wxString result;
8432 PyObject * obj0 = 0 ;
8433 char *kwnames[] = {
8434 (char *) "self", NULL
8435 };
8436
8437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetFamilyString",kwnames,&obj0)) goto fail;
15afbcd0
RD
8438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8440 {
8441 PyThreadState* __tstate = wxPyBeginAllowThreads();
8442 result = ((wxFont const *)arg1)->GetFamilyString();
8443
8444 wxPyEndAllowThreads(__tstate);
8445 if (PyErr_Occurred()) SWIG_fail;
8446 }
8447 {
8448#if wxUSE_UNICODE
8449 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8450#else
8451 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8452#endif
8453 }
8454 return resultobj;
8455 fail:
8456 return NULL;
8457}
8458
8459
8460static PyObject *_wrap_Font_GetStyleString(PyObject *self, PyObject *args, PyObject *kwargs) {
8461 PyObject *resultobj;
8462 wxFont *arg1 = (wxFont *) 0 ;
8463 wxString result;
8464 PyObject * obj0 = 0 ;
8465 char *kwnames[] = {
8466 (char *) "self", NULL
8467 };
8468
8469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetStyleString",kwnames,&obj0)) goto fail;
15afbcd0
RD
8470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8472 {
8473 PyThreadState* __tstate = wxPyBeginAllowThreads();
8474 result = ((wxFont const *)arg1)->GetStyleString();
8475
8476 wxPyEndAllowThreads(__tstate);
8477 if (PyErr_Occurred()) SWIG_fail;
8478 }
8479 {
8480#if wxUSE_UNICODE
8481 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8482#else
8483 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8484#endif
8485 }
8486 return resultobj;
8487 fail:
8488 return NULL;
8489}
8490
8491
8492static PyObject *_wrap_Font_GetWeightString(PyObject *self, PyObject *args, PyObject *kwargs) {
8493 PyObject *resultobj;
8494 wxFont *arg1 = (wxFont *) 0 ;
8495 wxString result;
8496 PyObject * obj0 = 0 ;
8497 char *kwnames[] = {
8498 (char *) "self", NULL
8499 };
8500
8501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetWeightString",kwnames,&obj0)) goto fail;
15afbcd0
RD
8502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8504 {
8505 PyThreadState* __tstate = wxPyBeginAllowThreads();
8506 result = ((wxFont const *)arg1)->GetWeightString();
8507
8508 wxPyEndAllowThreads(__tstate);
8509 if (PyErr_Occurred()) SWIG_fail;
8510 }
8511 {
8512#if wxUSE_UNICODE
8513 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8514#else
8515 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8516#endif
8517 }
8518 return resultobj;
8519 fail:
8520 return NULL;
8521}
8522
8523
8524static PyObject *_wrap_Font_SetNoAntiAliasing(PyObject *self, PyObject *args, PyObject *kwargs) {
8525 PyObject *resultobj;
8526 wxFont *arg1 = (wxFont *) 0 ;
e811c8ce 8527 bool arg2 = (bool) True ;
d14a1e28
RD
8528 PyObject * obj0 = 0 ;
8529 PyObject * obj1 = 0 ;
8530 char *kwnames[] = {
8531 (char *) "self",(char *) "no", NULL
8532 };
8533
8534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Font_SetNoAntiAliasing",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8537 if (obj1) {
15afbcd0
RD
8538 arg2 = (bool) SWIG_AsBool(obj1);
8539 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8540 }
8541 {
8542 PyThreadState* __tstate = wxPyBeginAllowThreads();
8543 (arg1)->SetNoAntiAliasing(arg2);
8544
8545 wxPyEndAllowThreads(__tstate);
8546 if (PyErr_Occurred()) SWIG_fail;
8547 }
8548 Py_INCREF(Py_None); resultobj = Py_None;
8549 return resultobj;
8550 fail:
8551 return NULL;
8552}
8553
8554
8555static PyObject *_wrap_Font_GetNoAntiAliasing(PyObject *self, PyObject *args, PyObject *kwargs) {
8556 PyObject *resultobj;
8557 wxFont *arg1 = (wxFont *) 0 ;
8558 bool result;
8559 PyObject * obj0 = 0 ;
8560 char *kwnames[] = {
8561 (char *) "self", NULL
8562 };
8563
8564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNoAntiAliasing",kwnames,&obj0)) goto fail;
15afbcd0
RD
8565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8567 {
8568 PyThreadState* __tstate = wxPyBeginAllowThreads();
8569 result = (bool)(arg1)->GetNoAntiAliasing();
8570
8571 wxPyEndAllowThreads(__tstate);
8572 if (PyErr_Occurred()) SWIG_fail;
8573 }
4f89f6a3
RD
8574 {
8575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8576 }
d14a1e28
RD
8577 return resultobj;
8578 fail:
8579 return NULL;
8580}
8581
8582
8583static PyObject *_wrap_Font_GetDefaultEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
8584 PyObject *resultobj;
8585 int result;
8586 char *kwnames[] = {
8587 NULL
8588 };
8589
8590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Font_GetDefaultEncoding",kwnames)) goto fail;
8591 {
8592 PyThreadState* __tstate = wxPyBeginAllowThreads();
8593 result = (int)wxFont::GetDefaultEncoding();
8594
8595 wxPyEndAllowThreads(__tstate);
8596 if (PyErr_Occurred()) SWIG_fail;
8597 }
15afbcd0 8598 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8599 return resultobj;
8600 fail:
8601 return NULL;
8602}
8603
8604
8605static PyObject *_wrap_Font_SetDefaultEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
8606 PyObject *resultobj;
8607 int arg1 ;
994141e6 8608 PyObject * obj0 = 0 ;
d14a1e28
RD
8609 char *kwnames[] = {
8610 (char *) "encoding", NULL
8611 };
8612
994141e6 8613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_SetDefaultEncoding",kwnames,&obj0)) goto fail;
15afbcd0
RD
8614 arg1 = (wxFontEncoding) SWIG_AsInt(obj0);
8615 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8616 {
8617 PyThreadState* __tstate = wxPyBeginAllowThreads();
8618 wxFont::SetDefaultEncoding((wxFontEncoding )arg1);
8619
8620 wxPyEndAllowThreads(__tstate);
8621 if (PyErr_Occurred()) SWIG_fail;
8622 }
8623 Py_INCREF(Py_None); resultobj = Py_None;
8624 return resultobj;
8625 fail:
8626 return NULL;
8627}
8628
8629
8630static PyObject * Font_swigregister(PyObject *self, PyObject *args) {
8631 PyObject *obj;
8632 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8633 SWIG_TypeClientData(SWIGTYPE_p_wxFont, obj);
8634 Py_INCREF(obj);
8635 return Py_BuildValue((char *)"");
8636}
8637static PyObject *_wrap_new_FontEnumerator(PyObject *self, PyObject *args, PyObject *kwargs) {
8638 PyObject *resultobj;
8639 wxPyFontEnumerator *result;
8640 char *kwnames[] = {
8641 NULL
8642 };
8643
8644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontEnumerator",kwnames)) goto fail;
8645 {
8646 PyThreadState* __tstate = wxPyBeginAllowThreads();
8647 result = (wxPyFontEnumerator *)new wxPyFontEnumerator();
8648
8649 wxPyEndAllowThreads(__tstate);
8650 if (PyErr_Occurred()) SWIG_fail;
8651 }
15afbcd0 8652 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFontEnumerator, 1);
d14a1e28
RD
8653 return resultobj;
8654 fail:
8655 return NULL;
8656}
8657
8658
8659static PyObject *_wrap_delete_FontEnumerator(PyObject *self, PyObject *args, PyObject *kwargs) {
8660 PyObject *resultobj;
8661 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
8662 PyObject * obj0 = 0 ;
8663 char *kwnames[] = {
8664 (char *) "self", NULL
8665 };
8666
8667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontEnumerator",kwnames,&obj0)) goto fail;
15afbcd0
RD
8668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
8669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8670 {
8671 PyThreadState* __tstate = wxPyBeginAllowThreads();
8672 delete arg1;
8673
8674 wxPyEndAllowThreads(__tstate);
8675 if (PyErr_Occurred()) SWIG_fail;
8676 }
8677 Py_INCREF(Py_None); resultobj = Py_None;
8678 return resultobj;
8679 fail:
8680 return NULL;
8681}
8682
8683
8684static PyObject *_wrap_FontEnumerator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8685 PyObject *resultobj;
8686 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
8687 PyObject *arg2 = (PyObject *) 0 ;
8688 PyObject *arg3 = (PyObject *) 0 ;
8689 bool arg4 ;
8690 PyObject * obj0 = 0 ;
8691 PyObject * obj1 = 0 ;
8692 PyObject * obj2 = 0 ;
8693 PyObject * obj3 = 0 ;
8694 char *kwnames[] = {
8695 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8696 };
8697
8698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
8700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8701 arg2 = obj1;
8702 arg3 = obj2;
15afbcd0
RD
8703 arg4 = (bool) SWIG_AsBool(obj3);
8704 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8705 {
8706 PyThreadState* __tstate = wxPyBeginAllowThreads();
8707 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
8708
8709 wxPyEndAllowThreads(__tstate);
8710 if (PyErr_Occurred()) SWIG_fail;
8711 }
8712 Py_INCREF(Py_None); resultobj = Py_None;
8713 return resultobj;
8714 fail:
8715 return NULL;
8716}
8717
8718
8719static PyObject *_wrap_FontEnumerator_EnumerateFacenames(PyObject *self, PyObject *args, PyObject *kwargs) {
8720 PyObject *resultobj;
8721 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
8722 int arg2 = (int) wxFONTENCODING_SYSTEM ;
e811c8ce 8723 bool arg3 = (bool) False ;
d14a1e28
RD
8724 bool result;
8725 PyObject * obj0 = 0 ;
994141e6 8726 PyObject * obj1 = 0 ;
d14a1e28
RD
8727 PyObject * obj2 = 0 ;
8728 char *kwnames[] = {
8729 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8730 };
8731
994141e6 8732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
8734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8735 if (obj1) {
15afbcd0
RD
8736 arg2 = (wxFontEncoding) SWIG_AsInt(obj1);
8737 if (PyErr_Occurred()) SWIG_fail;
994141e6 8738 }
d14a1e28 8739 if (obj2) {
15afbcd0
RD
8740 arg3 = (bool) SWIG_AsBool(obj2);
8741 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8742 }
8743 {
8744 PyThreadState* __tstate = wxPyBeginAllowThreads();
8745 result = (bool)(arg1)->EnumerateFacenames((wxFontEncoding )arg2,arg3);
8746
8747 wxPyEndAllowThreads(__tstate);
8748 if (PyErr_Occurred()) SWIG_fail;
8749 }
4f89f6a3
RD
8750 {
8751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8752 }
d14a1e28
RD
8753 return resultobj;
8754 fail:
8755 return NULL;
8756}
8757
8758
8759static PyObject *_wrap_FontEnumerator_EnumerateEncodings(PyObject *self, PyObject *args, PyObject *kwargs) {
8760 PyObject *resultobj;
8761 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
8762 wxString const &arg2_defvalue = wxPyEmptyString ;
8763 wxString *arg2 = (wxString *) &arg2_defvalue ;
8764 bool result;
e811c8ce 8765 bool temp2 = False ;
d14a1e28
RD
8766 PyObject * obj0 = 0 ;
8767 PyObject * obj1 = 0 ;
8768 char *kwnames[] = {
8769 (char *) "self",(char *) "facename", NULL
8770 };
8771
8772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
8774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8775 if (obj1) {
8776 {
8777 arg2 = wxString_in_helper(obj1);
8778 if (arg2 == NULL) SWIG_fail;
e811c8ce 8779 temp2 = True;
d14a1e28
RD
8780 }
8781 }
8782 {
8783 PyThreadState* __tstate = wxPyBeginAllowThreads();
8784 result = (bool)(arg1)->EnumerateEncodings((wxString const &)*arg2);
8785
8786 wxPyEndAllowThreads(__tstate);
8787 if (PyErr_Occurred()) SWIG_fail;
8788 }
4f89f6a3
RD
8789 {
8790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8791 }
d14a1e28
RD
8792 {
8793 if (temp2)
8794 delete arg2;
8795 }
8796 return resultobj;
8797 fail:
8798 {
8799 if (temp2)
8800 delete arg2;
8801 }
8802 return NULL;
8803}
8804
8805
8806static PyObject *_wrap_FontEnumerator_GetEncodings(PyObject *self, PyObject *args, PyObject *kwargs) {
8807 PyObject *resultobj;
8808 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
8809 PyObject *result;
8810 PyObject * obj0 = 0 ;
8811 char *kwnames[] = {
8812 (char *) "self", NULL
8813 };
8814
8815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontEnumerator_GetEncodings",kwnames,&obj0)) goto fail;
15afbcd0
RD
8816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
8817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8818 {
8819 PyThreadState* __tstate = wxPyBeginAllowThreads();
8820 result = (PyObject *)wxPyFontEnumerator_GetEncodings(arg1);
8821
8822 wxPyEndAllowThreads(__tstate);
8823 if (PyErr_Occurred()) SWIG_fail;
8824 }
8825 resultobj = result;
8826 return resultobj;
8827 fail:
8828 return NULL;
8829}
8830
8831
8832static PyObject *_wrap_FontEnumerator_GetFacenames(PyObject *self, PyObject *args, PyObject *kwargs) {
8833 PyObject *resultobj;
8834 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
8835 PyObject *result;
8836 PyObject * obj0 = 0 ;
8837 char *kwnames[] = {
8838 (char *) "self", NULL
8839 };
8840
8841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontEnumerator_GetFacenames",kwnames,&obj0)) goto fail;
15afbcd0
RD
8842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
8843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8844 {
8845 PyThreadState* __tstate = wxPyBeginAllowThreads();
8846 result = (PyObject *)wxPyFontEnumerator_GetFacenames(arg1);
8847
8848 wxPyEndAllowThreads(__tstate);
8849 if (PyErr_Occurred()) SWIG_fail;
8850 }
8851 resultobj = result;
8852 return resultobj;
8853 fail:
8854 return NULL;
8855}
8856
8857
8858static PyObject * FontEnumerator_swigregister(PyObject *self, PyObject *args) {
8859 PyObject *obj;
8860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8861 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator, obj);
8862 Py_INCREF(obj);
8863 return Py_BuildValue((char *)"");
8864}
8865static PyObject *_wrap_LanguageInfo_Language_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8866 PyObject *resultobj;
8867 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
8868 int arg2 ;
8869 PyObject * obj0 = 0 ;
994141e6 8870 PyObject * obj1 = 0 ;
d14a1e28
RD
8871 char *kwnames[] = {
8872 (char *) "self",(char *) "Language", NULL
8873 };
8874
994141e6 8875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LanguageInfo_Language_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
8877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8878 arg2 = (int) SWIG_AsInt(obj1);
8879 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8880 if (arg1) (arg1)->Language = arg2;
8881
8882 Py_INCREF(Py_None); resultobj = Py_None;
8883 return resultobj;
8884 fail:
8885 return NULL;
8886}
8887
8888
8889static PyObject *_wrap_LanguageInfo_Language_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8890 PyObject *resultobj;
8891 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
8892 int result;
8893 PyObject * obj0 = 0 ;
8894 char *kwnames[] = {
8895 (char *) "self", NULL
8896 };
8897
8898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LanguageInfo_Language_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
8899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
8900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8901 result = (int) ((arg1)->Language);
8902
15afbcd0 8903 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8904 return resultobj;
8905 fail:
8906 return NULL;
8907}
8908
8909
8910static PyObject *_wrap_LanguageInfo_CanonicalName_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8911 PyObject *resultobj;
8912 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
196addbf 8913 wxString *arg2 = (wxString *) 0 ;
7eae615b 8914 bool temp2 = False ;
d14a1e28
RD
8915 PyObject * obj0 = 0 ;
8916 PyObject * obj1 = 0 ;
8917 char *kwnames[] = {
8918 (char *) "self",(char *) "CanonicalName", NULL
8919 };
8920
8921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
8923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7eae615b
RD
8924 {
8925 arg2 = wxString_in_helper(obj1);
8926 if (arg2 == NULL) SWIG_fail;
8927 temp2 = True;
8928 }
196addbf 8929 if (arg1) (arg1)->CanonicalName = *arg2;
d14a1e28
RD
8930
8931 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
8932 {
8933 if (temp2)
8934 delete arg2;
8935 }
d14a1e28
RD
8936 return resultobj;
8937 fail:
7eae615b
RD
8938 {
8939 if (temp2)
8940 delete arg2;
8941 }
d14a1e28
RD
8942 return NULL;
8943}
8944
8945
8946static PyObject *_wrap_LanguageInfo_CanonicalName_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8947 PyObject *resultobj;
8948 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
196addbf 8949 wxString *result;
d14a1e28
RD
8950 PyObject * obj0 = 0 ;
8951 char *kwnames[] = {
8952 (char *) "self", NULL
8953 };
8954
8955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LanguageInfo_CanonicalName_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
8956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
8957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
196addbf 8958 result = (wxString *)& ((arg1)->CanonicalName);
d14a1e28
RD
8959
8960 {
8961#if wxUSE_UNICODE
196addbf 8962 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 8963#else
196addbf 8964 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
8965#endif
8966 }
8967 return resultobj;
8968 fail:
8969 return NULL;
8970}
8971
8972
8973static PyObject *_wrap_LanguageInfo_Description_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8974 PyObject *resultobj;
8975 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
196addbf 8976 wxString *arg2 = (wxString *) 0 ;
7eae615b 8977 bool temp2 = False ;
d14a1e28
RD
8978 PyObject * obj0 = 0 ;
8979 PyObject * obj1 = 0 ;
8980 char *kwnames[] = {
8981 (char *) "self",(char *) "Description", NULL
8982 };
8983
8984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LanguageInfo_Description_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
8986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7eae615b
RD
8987 {
8988 arg2 = wxString_in_helper(obj1);
8989 if (arg2 == NULL) SWIG_fail;
8990 temp2 = True;
8991 }
196addbf 8992 if (arg1) (arg1)->Description = *arg2;
d14a1e28
RD
8993
8994 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
8995 {
8996 if (temp2)
8997 delete arg2;
8998 }
d14a1e28
RD
8999 return resultobj;
9000 fail:
7eae615b
RD
9001 {
9002 if (temp2)
9003 delete arg2;
9004 }
d14a1e28
RD
9005 return NULL;
9006}
9007
9008
9009static PyObject *_wrap_LanguageInfo_Description_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9010 PyObject *resultobj;
9011 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
196addbf 9012 wxString *result;
d14a1e28
RD
9013 PyObject * obj0 = 0 ;
9014 char *kwnames[] = {
9015 (char *) "self", NULL
9016 };
9017
9018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LanguageInfo_Description_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
9019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
9020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
196addbf 9021 result = (wxString *)& ((arg1)->Description);
d14a1e28
RD
9022
9023 {
9024#if wxUSE_UNICODE
196addbf 9025 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 9026#else
196addbf 9027 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
9028#endif
9029 }
9030 return resultobj;
9031 fail:
9032 return NULL;
9033}
9034
9035
9036static PyObject * LanguageInfo_swigregister(PyObject *self, PyObject *args) {
9037 PyObject *obj;
9038 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9039 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo, obj);
9040 Py_INCREF(obj);
9041 return Py_BuildValue((char *)"");
9042}
9043static PyObject *_wrap_new_Locale(PyObject *self, PyObject *args, PyObject *kwargs) {
9044 PyObject *resultobj;
9045 int arg1 = (int) wxLANGUAGE_DEFAULT ;
9046 int arg2 = (int) wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING ;
9047 wxLocale *result;
994141e6
RD
9048 PyObject * obj0 = 0 ;
9049 PyObject * obj1 = 0 ;
d14a1e28
RD
9050 char *kwnames[] = {
9051 (char *) "language",(char *) "flags", NULL
9052 };
9053
994141e6
RD
9054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Locale",kwnames,&obj0,&obj1)) goto fail;
9055 if (obj0) {
15afbcd0
RD
9056 arg1 = (int) SWIG_AsInt(obj0);
9057 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9058 }
9059 if (obj1) {
15afbcd0
RD
9060 arg2 = (int) SWIG_AsInt(obj1);
9061 if (PyErr_Occurred()) SWIG_fail;
994141e6 9062 }
d14a1e28
RD
9063 {
9064 PyThreadState* __tstate = wxPyBeginAllowThreads();
9065 result = (wxLocale *)new wxLocale(arg1,arg2);
9066
9067 wxPyEndAllowThreads(__tstate);
9068 if (PyErr_Occurred()) SWIG_fail;
9069 }
15afbcd0 9070 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLocale, 1);
d14a1e28
RD
9071 return resultobj;
9072 fail:
9073 return NULL;
9074}
9075
9076
9077static PyObject *_wrap_delete_Locale(PyObject *self, PyObject *args, PyObject *kwargs) {
9078 PyObject *resultobj;
9079 wxLocale *arg1 = (wxLocale *) 0 ;
9080 PyObject * obj0 = 0 ;
9081 char *kwnames[] = {
9082 (char *) "self", NULL
9083 };
9084
9085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Locale",kwnames,&obj0)) goto fail;
15afbcd0
RD
9086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9088 {
9089 PyThreadState* __tstate = wxPyBeginAllowThreads();
9090 delete arg1;
9091
9092 wxPyEndAllowThreads(__tstate);
9093 if (PyErr_Occurred()) SWIG_fail;
9094 }
9095 Py_INCREF(Py_None); resultobj = Py_None;
9096 return resultobj;
9097 fail:
9098 return NULL;
9099}
9100
9101
9102static PyObject *_wrap_Locale_Init1(PyObject *self, PyObject *args, PyObject *kwargs) {
9103 PyObject *resultobj;
9104 wxLocale *arg1 = (wxLocale *) 0 ;
9105 wxString *arg2 = 0 ;
9106 wxString const &arg3_defvalue = wxPyEmptyString ;
9107 wxString *arg3 = (wxString *) &arg3_defvalue ;
9108 wxString const &arg4_defvalue = wxPyEmptyString ;
9109 wxString *arg4 = (wxString *) &arg4_defvalue ;
e811c8ce
RD
9110 bool arg5 = (bool) True ;
9111 bool arg6 = (bool) False ;
d14a1e28 9112 bool result;
e811c8ce
RD
9113 bool temp2 = False ;
9114 bool temp3 = False ;
9115 bool temp4 = False ;
d14a1e28
RD
9116 PyObject * obj0 = 0 ;
9117 PyObject * obj1 = 0 ;
9118 PyObject * obj2 = 0 ;
9119 PyObject * obj3 = 0 ;
9120 PyObject * obj4 = 0 ;
9121 PyObject * obj5 = 0 ;
9122 char *kwnames[] = {
9123 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9124 };
9125
9126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Locale_Init1",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
9127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9129 {
9130 arg2 = wxString_in_helper(obj1);
9131 if (arg2 == NULL) SWIG_fail;
e811c8ce 9132 temp2 = True;
d14a1e28
RD
9133 }
9134 if (obj2) {
9135 {
9136 arg3 = wxString_in_helper(obj2);
9137 if (arg3 == NULL) SWIG_fail;
e811c8ce 9138 temp3 = True;
d14a1e28
RD
9139 }
9140 }
9141 if (obj3) {
9142 {
9143 arg4 = wxString_in_helper(obj3);
9144 if (arg4 == NULL) SWIG_fail;
e811c8ce 9145 temp4 = True;
d14a1e28
RD
9146 }
9147 }
9148 if (obj4) {
15afbcd0
RD
9149 arg5 = (bool) SWIG_AsBool(obj4);
9150 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9151 }
9152 if (obj5) {
15afbcd0
RD
9153 arg6 = (bool) SWIG_AsBool(obj5);
9154 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9155 }
9156 {
9157 PyThreadState* __tstate = wxPyBeginAllowThreads();
9158 result = (bool)(arg1)->Init((wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6);
9159
9160 wxPyEndAllowThreads(__tstate);
9161 if (PyErr_Occurred()) SWIG_fail;
9162 }
4f89f6a3
RD
9163 {
9164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9165 }
d14a1e28
RD
9166 {
9167 if (temp2)
9168 delete arg2;
9169 }
9170 {
9171 if (temp3)
9172 delete arg3;
9173 }
9174 {
9175 if (temp4)
9176 delete arg4;
9177 }
9178 return resultobj;
9179 fail:
9180 {
9181 if (temp2)
9182 delete arg2;
9183 }
9184 {
9185 if (temp3)
9186 delete arg3;
9187 }
9188 {
9189 if (temp4)
9190 delete arg4;
9191 }
9192 return NULL;
9193}
9194
9195
9196static PyObject *_wrap_Locale_Init2(PyObject *self, PyObject *args, PyObject *kwargs) {
9197 PyObject *resultobj;
9198 wxLocale *arg1 = (wxLocale *) 0 ;
9199 int arg2 = (int) wxLANGUAGE_DEFAULT ;
9200 int arg3 = (int) wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING ;
9201 bool result;
9202 PyObject * obj0 = 0 ;
994141e6
RD
9203 PyObject * obj1 = 0 ;
9204 PyObject * obj2 = 0 ;
d14a1e28
RD
9205 char *kwnames[] = {
9206 (char *) "self",(char *) "language",(char *) "flags", NULL
9207 };
9208
994141e6 9209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Locale_Init2",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 9212 if (obj1) {
15afbcd0
RD
9213 arg2 = (int) SWIG_AsInt(obj1);
9214 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9215 }
9216 if (obj2) {
15afbcd0
RD
9217 arg3 = (int) SWIG_AsInt(obj2);
9218 if (PyErr_Occurred()) SWIG_fail;
994141e6 9219 }
d14a1e28
RD
9220 {
9221 PyThreadState* __tstate = wxPyBeginAllowThreads();
9222 result = (bool)(arg1)->Init(arg2,arg3);
9223
9224 wxPyEndAllowThreads(__tstate);
9225 if (PyErr_Occurred()) SWIG_fail;
9226 }
4f89f6a3
RD
9227 {
9228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9229 }
d14a1e28
RD
9230 return resultobj;
9231 fail:
9232 return NULL;
9233}
9234
9235
9236static PyObject *_wrap_Locale_GetSystemLanguage(PyObject *self, PyObject *args, PyObject *kwargs) {
9237 PyObject *resultobj;
9238 int result;
9239 char *kwnames[] = {
9240 NULL
9241 };
9242
9243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Locale_GetSystemLanguage",kwnames)) goto fail;
9244 {
9245 PyThreadState* __tstate = wxPyBeginAllowThreads();
9246 result = (int)wxLocale::GetSystemLanguage();
9247
9248 wxPyEndAllowThreads(__tstate);
9249 if (PyErr_Occurred()) SWIG_fail;
9250 }
15afbcd0 9251 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9252 return resultobj;
9253 fail:
9254 return NULL;
9255}
9256
9257
9258static PyObject *_wrap_Locale_GetSystemEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
9259 PyObject *resultobj;
9260 int result;
9261 char *kwnames[] = {
9262 NULL
9263 };
9264
9265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Locale_GetSystemEncoding",kwnames)) goto fail;
9266 {
9267 PyThreadState* __tstate = wxPyBeginAllowThreads();
9268 result = (int)wxLocale::GetSystemEncoding();
9269
9270 wxPyEndAllowThreads(__tstate);
9271 if (PyErr_Occurred()) SWIG_fail;
9272 }
15afbcd0 9273 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9274 return resultobj;
9275 fail:
9276 return NULL;
9277}
9278
9279
9280static PyObject *_wrap_Locale_GetSystemEncodingName(PyObject *self, PyObject *args, PyObject *kwargs) {
9281 PyObject *resultobj;
9282 wxString result;
9283 char *kwnames[] = {
9284 NULL
9285 };
9286
9287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Locale_GetSystemEncodingName",kwnames)) goto fail;
9288 {
9289 PyThreadState* __tstate = wxPyBeginAllowThreads();
9290 result = wxLocale::GetSystemEncodingName();
9291
9292 wxPyEndAllowThreads(__tstate);
9293 if (PyErr_Occurred()) SWIG_fail;
9294 }
9295 {
9296#if wxUSE_UNICODE
9297 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9298#else
9299 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9300#endif
9301 }
9302 return resultobj;
9303 fail:
9304 return NULL;
9305}
9306
9307
9308static PyObject *_wrap_Locale_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9309 PyObject *resultobj;
9310 wxLocale *arg1 = (wxLocale *) 0 ;
9311 bool result;
9312 PyObject * obj0 = 0 ;
9313 char *kwnames[] = {
9314 (char *) "self", NULL
9315 };
9316
9317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_IsOk",kwnames,&obj0)) goto fail;
15afbcd0
RD
9318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9320 {
9321 PyThreadState* __tstate = wxPyBeginAllowThreads();
9322 result = (bool)((wxLocale const *)arg1)->IsOk();
9323
9324 wxPyEndAllowThreads(__tstate);
9325 if (PyErr_Occurred()) SWIG_fail;
9326 }
4f89f6a3
RD
9327 {
9328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9329 }
d14a1e28
RD
9330 return resultobj;
9331 fail:
9332 return NULL;
9333}
9334
9335
9336static PyObject *_wrap_Locale_GetLocale(PyObject *self, PyObject *args, PyObject *kwargs) {
9337 PyObject *resultobj;
9338 wxLocale *arg1 = (wxLocale *) 0 ;
9339 wxString result;
9340 PyObject * obj0 = 0 ;
9341 char *kwnames[] = {
9342 (char *) "self", NULL
9343 };
9344
9345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLocale",kwnames,&obj0)) goto fail;
15afbcd0
RD
9346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9348 {
9349 PyThreadState* __tstate = wxPyBeginAllowThreads();
9350 result = ((wxLocale const *)arg1)->GetLocale();
9351
9352 wxPyEndAllowThreads(__tstate);
9353 if (PyErr_Occurred()) SWIG_fail;
9354 }
9355 {
9356#if wxUSE_UNICODE
9357 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9358#else
9359 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9360#endif
9361 }
9362 return resultobj;
9363 fail:
9364 return NULL;
9365}
9366
9367
9368static PyObject *_wrap_Locale_GetLanguage(PyObject *self, PyObject *args, PyObject *kwargs) {
9369 PyObject *resultobj;
9370 wxLocale *arg1 = (wxLocale *) 0 ;
9371 int result;
9372 PyObject * obj0 = 0 ;
9373 char *kwnames[] = {
9374 (char *) "self", NULL
9375 };
9376
9377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLanguage",kwnames,&obj0)) goto fail;
15afbcd0
RD
9378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9380 {
9381 PyThreadState* __tstate = wxPyBeginAllowThreads();
9382 result = (int)((wxLocale const *)arg1)->GetLanguage();
9383
9384 wxPyEndAllowThreads(__tstate);
9385 if (PyErr_Occurred()) SWIG_fail;
9386 }
15afbcd0 9387 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9388 return resultobj;
9389 fail:
9390 return NULL;
9391}
9392
9393
9394static PyObject *_wrap_Locale_GetSysName(PyObject *self, PyObject *args, PyObject *kwargs) {
9395 PyObject *resultobj;
9396 wxLocale *arg1 = (wxLocale *) 0 ;
9397 wxString result;
9398 PyObject * obj0 = 0 ;
9399 char *kwnames[] = {
9400 (char *) "self", NULL
9401 };
9402
9403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetSysName",kwnames,&obj0)) goto fail;
15afbcd0
RD
9404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9406 {
9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
9408 result = ((wxLocale const *)arg1)->GetSysName();
9409
9410 wxPyEndAllowThreads(__tstate);
9411 if (PyErr_Occurred()) SWIG_fail;
9412 }
9413 {
9414#if wxUSE_UNICODE
9415 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9416#else
9417 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9418#endif
9419 }
9420 return resultobj;
9421 fail:
9422 return NULL;
9423}
9424
9425
9426static PyObject *_wrap_Locale_GetCanonicalName(PyObject *self, PyObject *args, PyObject *kwargs) {
9427 PyObject *resultobj;
9428 wxLocale *arg1 = (wxLocale *) 0 ;
9429 wxString result;
9430 PyObject * obj0 = 0 ;
9431 char *kwnames[] = {
9432 (char *) "self", NULL
9433 };
9434
9435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetCanonicalName",kwnames,&obj0)) goto fail;
15afbcd0
RD
9436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9438 {
9439 PyThreadState* __tstate = wxPyBeginAllowThreads();
9440 result = ((wxLocale const *)arg1)->GetCanonicalName();
9441
9442 wxPyEndAllowThreads(__tstate);
9443 if (PyErr_Occurred()) SWIG_fail;
9444 }
9445 {
9446#if wxUSE_UNICODE
9447 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9448#else
9449 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9450#endif
9451 }
9452 return resultobj;
9453 fail:
9454 return NULL;
9455}
9456
9457
9458static PyObject *_wrap_Locale_AddCatalogLookupPathPrefix(PyObject *self, PyObject *args, PyObject *kwargs) {
9459 PyObject *resultobj;
9460 wxString *arg1 = 0 ;
e811c8ce 9461 bool temp1 = False ;
d14a1e28
RD
9462 PyObject * obj0 = 0 ;
9463 char *kwnames[] = {
9464 (char *) "prefix", NULL
9465 };
9466
9467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames,&obj0)) goto fail;
9468 {
9469 arg1 = wxString_in_helper(obj0);
9470 if (arg1 == NULL) SWIG_fail;
e811c8ce 9471 temp1 = True;
d14a1e28
RD
9472 }
9473 {
9474 PyThreadState* __tstate = wxPyBeginAllowThreads();
9475 wxLocale::AddCatalogLookupPathPrefix((wxString const &)*arg1);
9476
9477 wxPyEndAllowThreads(__tstate);
9478 if (PyErr_Occurred()) SWIG_fail;
9479 }
9480 Py_INCREF(Py_None); resultobj = Py_None;
9481 {
9482 if (temp1)
9483 delete arg1;
9484 }
9485 return resultobj;
9486 fail:
9487 {
9488 if (temp1)
9489 delete arg1;
9490 }
9491 return NULL;
9492}
9493
9494
9495static PyObject *_wrap_Locale_AddCatalog(PyObject *self, PyObject *args, PyObject *kwargs) {
9496 PyObject *resultobj;
9497 wxLocale *arg1 = (wxLocale *) 0 ;
9498 wxString *arg2 = 0 ;
9499 bool result;
e811c8ce 9500 bool temp2 = False ;
d14a1e28
RD
9501 PyObject * obj0 = 0 ;
9502 PyObject * obj1 = 0 ;
9503 char *kwnames[] = {
9504 (char *) "self",(char *) "szDomain", NULL
9505 };
9506
9507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Locale_AddCatalog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9510 {
9511 arg2 = wxString_in_helper(obj1);
9512 if (arg2 == NULL) SWIG_fail;
e811c8ce 9513 temp2 = True;
d14a1e28
RD
9514 }
9515 {
9516 PyThreadState* __tstate = wxPyBeginAllowThreads();
9517 result = (bool)(arg1)->AddCatalog((wxString const &)*arg2);
9518
9519 wxPyEndAllowThreads(__tstate);
9520 if (PyErr_Occurred()) SWIG_fail;
9521 }
4f89f6a3
RD
9522 {
9523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9524 }
d14a1e28
RD
9525 {
9526 if (temp2)
9527 delete arg2;
9528 }
9529 return resultobj;
9530 fail:
9531 {
9532 if (temp2)
9533 delete arg2;
9534 }
9535 return NULL;
9536}
9537
9538
9539static PyObject *_wrap_Locale_IsLoaded(PyObject *self, PyObject *args, PyObject *kwargs) {
9540 PyObject *resultobj;
9541 wxLocale *arg1 = (wxLocale *) 0 ;
9542 wxString *arg2 = 0 ;
9543 bool result;
e811c8ce 9544 bool temp2 = False ;
d14a1e28
RD
9545 PyObject * obj0 = 0 ;
9546 PyObject * obj1 = 0 ;
9547 char *kwnames[] = {
9548 (char *) "self",(char *) "szDomain", NULL
9549 };
9550
9551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Locale_IsLoaded",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9554 {
9555 arg2 = wxString_in_helper(obj1);
9556 if (arg2 == NULL) SWIG_fail;
e811c8ce 9557 temp2 = True;
d14a1e28
RD
9558 }
9559 {
9560 PyThreadState* __tstate = wxPyBeginAllowThreads();
9561 result = (bool)((wxLocale const *)arg1)->IsLoaded((wxString const &)*arg2);
9562
9563 wxPyEndAllowThreads(__tstate);
9564 if (PyErr_Occurred()) SWIG_fail;
9565 }
4f89f6a3
RD
9566 {
9567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9568 }
d14a1e28
RD
9569 {
9570 if (temp2)
9571 delete arg2;
9572 }
9573 return resultobj;
9574 fail:
9575 {
9576 if (temp2)
9577 delete arg2;
9578 }
9579 return NULL;
9580}
9581
9582
9583static PyObject *_wrap_Locale_GetLanguageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9584 PyObject *resultobj;
9585 int arg1 ;
9586 wxLanguageInfo *result;
994141e6 9587 PyObject * obj0 = 0 ;
d14a1e28
RD
9588 char *kwnames[] = {
9589 (char *) "lang", NULL
9590 };
9591
994141e6 9592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLanguageInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
9593 arg1 = (int) SWIG_AsInt(obj0);
9594 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9595 {
9596 PyThreadState* __tstate = wxPyBeginAllowThreads();
9597 result = (wxLanguageInfo *)wxLocale::GetLanguageInfo(arg1);
9598
9599 wxPyEndAllowThreads(__tstate);
9600 if (PyErr_Occurred()) SWIG_fail;
9601 }
15afbcd0 9602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLanguageInfo, 0);
d14a1e28
RD
9603 return resultobj;
9604 fail:
9605 return NULL;
9606}
9607
9608
9609static PyObject *_wrap_Locale_GetLanguageName(PyObject *self, PyObject *args, PyObject *kwargs) {
9610 PyObject *resultobj;
9611 int arg1 ;
9612 wxString result;
994141e6 9613 PyObject * obj0 = 0 ;
d14a1e28
RD
9614 char *kwnames[] = {
9615 (char *) "lang", NULL
9616 };
9617
994141e6 9618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLanguageName",kwnames,&obj0)) goto fail;
15afbcd0
RD
9619 arg1 = (int) SWIG_AsInt(obj0);
9620 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9621 {
9622 PyThreadState* __tstate = wxPyBeginAllowThreads();
9623 result = wxLocale::GetLanguageName(arg1);
9624
9625 wxPyEndAllowThreads(__tstate);
9626 if (PyErr_Occurred()) SWIG_fail;
9627 }
9628 {
9629#if wxUSE_UNICODE
9630 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9631#else
9632 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9633#endif
9634 }
9635 return resultobj;
9636 fail:
9637 return NULL;
9638}
9639
9640
9641static PyObject *_wrap_Locale_FindLanguageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9642 PyObject *resultobj;
9643 wxString *arg1 = 0 ;
9644 wxLanguageInfo *result;
e811c8ce 9645 bool temp1 = False ;
d14a1e28
RD
9646 PyObject * obj0 = 0 ;
9647 char *kwnames[] = {
9648 (char *) "locale", NULL
9649 };
9650
9651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_FindLanguageInfo",kwnames,&obj0)) goto fail;
9652 {
9653 arg1 = wxString_in_helper(obj0);
9654 if (arg1 == NULL) SWIG_fail;
e811c8ce 9655 temp1 = True;
d14a1e28
RD
9656 }
9657 {
9658 PyThreadState* __tstate = wxPyBeginAllowThreads();
9659 result = (wxLanguageInfo *)wxLocale::FindLanguageInfo((wxString const &)*arg1);
9660
9661 wxPyEndAllowThreads(__tstate);
9662 if (PyErr_Occurred()) SWIG_fail;
9663 }
15afbcd0 9664 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLanguageInfo, 0);
d14a1e28
RD
9665 {
9666 if (temp1)
9667 delete arg1;
9668 }
9669 return resultobj;
9670 fail:
9671 {
9672 if (temp1)
9673 delete arg1;
9674 }
9675 return NULL;
9676}
9677
9678
9679static PyObject *_wrap_Locale_AddLanguage(PyObject *self, PyObject *args, PyObject *kwargs) {
9680 PyObject *resultobj;
9681 wxLanguageInfo *arg1 = 0 ;
9682 PyObject * obj0 = 0 ;
9683 char *kwnames[] = {
9684 (char *) "info", NULL
9685 };
9686
9687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_AddLanguage",kwnames,&obj0)) goto fail;
15afbcd0
RD
9688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
9689 SWIG_POINTER_EXCEPTION | 0)) == -1)
9690 SWIG_fail;
d14a1e28 9691 if (arg1 == NULL) {
15afbcd0
RD
9692 PyErr_SetString(PyExc_TypeError,"null reference");
9693 SWIG_fail;
d14a1e28
RD
9694 }
9695 {
9696 PyThreadState* __tstate = wxPyBeginAllowThreads();
9697 wxLocale::AddLanguage((wxLanguageInfo const &)*arg1);
9698
9699 wxPyEndAllowThreads(__tstate);
9700 if (PyErr_Occurred()) SWIG_fail;
9701 }
9702 Py_INCREF(Py_None); resultobj = Py_None;
9703 return resultobj;
9704 fail:
9705 return NULL;
9706}
9707
9708
9709static PyObject *_wrap_Locale_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9710 PyObject *resultobj;
9711 wxLocale *arg1 = (wxLocale *) 0 ;
9712 wxString *arg2 = 0 ;
9713 wxString const &arg3_defvalue = wxPyEmptyString ;
9714 wxString *arg3 = (wxString *) &arg3_defvalue ;
9715 wxString result;
e811c8ce
RD
9716 bool temp2 = False ;
9717 bool temp3 = False ;
d14a1e28
RD
9718 PyObject * obj0 = 0 ;
9719 PyObject * obj1 = 0 ;
9720 PyObject * obj2 = 0 ;
9721 char *kwnames[] = {
9722 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9723 };
9724
9725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Locale_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9728 {
9729 arg2 = wxString_in_helper(obj1);
9730 if (arg2 == NULL) SWIG_fail;
e811c8ce 9731 temp2 = True;
d14a1e28
RD
9732 }
9733 if (obj2) {
9734 {
9735 arg3 = wxString_in_helper(obj2);
9736 if (arg3 == NULL) SWIG_fail;
e811c8ce 9737 temp3 = True;
d14a1e28
RD
9738 }
9739 }
9740 {
9741 PyThreadState* __tstate = wxPyBeginAllowThreads();
9742 result = ((wxLocale const *)arg1)->GetString((wxString const &)*arg2,(wxString const &)*arg3);
9743
9744 wxPyEndAllowThreads(__tstate);
9745 if (PyErr_Occurred()) SWIG_fail;
9746 }
9747 {
9748#if wxUSE_UNICODE
9749 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9750#else
9751 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9752#endif
9753 }
9754 {
9755 if (temp2)
9756 delete arg2;
9757 }
9758 {
9759 if (temp3)
9760 delete arg3;
9761 }
9762 return resultobj;
9763 fail:
9764 {
9765 if (temp2)
9766 delete arg2;
9767 }
9768 {
9769 if (temp3)
9770 delete arg3;
9771 }
9772 return NULL;
9773}
9774
9775
9776static PyObject *_wrap_Locale_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
9777 PyObject *resultobj;
9778 wxLocale *arg1 = (wxLocale *) 0 ;
9779 wxString *result;
9780 PyObject * obj0 = 0 ;
9781 char *kwnames[] = {
9782 (char *) "self", NULL
9783 };
9784
9785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetName",kwnames,&obj0)) goto fail;
15afbcd0
RD
9786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9788 {
9789 PyThreadState* __tstate = wxPyBeginAllowThreads();
9790 {
9791 wxString const &_result_ref = ((wxLocale const *)arg1)->GetName();
9792 result = (wxString *) &_result_ref;
9793 }
9794
9795 wxPyEndAllowThreads(__tstate);
9796 if (PyErr_Occurred()) SWIG_fail;
9797 }
cc6dd355
RD
9798 {
9799#if wxUSE_UNICODE
9800 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
9801#else
9802 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
9803#endif
9804 }
d14a1e28
RD
9805 return resultobj;
9806 fail:
9807 return NULL;
9808}
9809
9810
9811static PyObject * Locale_swigregister(PyObject *self, PyObject *args) {
9812 PyObject *obj;
9813 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9814 SWIG_TypeClientData(SWIGTYPE_p_wxLocale, obj);
9815 Py_INCREF(obj);
9816 return Py_BuildValue((char *)"");
9817}
9818static PyObject *_wrap_GetLocale(PyObject *self, PyObject *args, PyObject *kwargs) {
9819 PyObject *resultobj;
9820 wxLocale *result;
9821 char *kwnames[] = {
9822 NULL
9823 };
9824
9825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocale",kwnames)) goto fail;
9826 {
9827 PyThreadState* __tstate = wxPyBeginAllowThreads();
9828 result = (wxLocale *)wxGetLocale();
9829
9830 wxPyEndAllowThreads(__tstate);
9831 if (PyErr_Occurred()) SWIG_fail;
9832 }
15afbcd0 9833 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLocale, 0);
d14a1e28
RD
9834 return resultobj;
9835 fail:
9836 return NULL;
9837}
9838
9839
9840static PyObject *_wrap_GetTranslation__SWIG_0(PyObject *self, PyObject *args) {
9841 PyObject *resultobj;
9842 wxString *arg1 = 0 ;
9843 wxString result;
e811c8ce 9844 bool temp1 = False ;
d14a1e28
RD
9845 PyObject * obj0 = 0 ;
9846
9847 if(!PyArg_ParseTuple(args,(char *)"O:GetTranslation",&obj0)) goto fail;
9848 {
9849 arg1 = wxString_in_helper(obj0);
9850 if (arg1 == NULL) SWIG_fail;
e811c8ce 9851 temp1 = True;
d14a1e28
RD
9852 }
9853 {
9854 PyThreadState* __tstate = wxPyBeginAllowThreads();
9855 result = wxGetTranslation((wxString const &)*arg1);
9856
9857 wxPyEndAllowThreads(__tstate);
9858 if (PyErr_Occurred()) SWIG_fail;
9859 }
9860 {
9861#if wxUSE_UNICODE
9862 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9863#else
9864 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9865#endif
9866 }
9867 {
9868 if (temp1)
9869 delete arg1;
9870 }
9871 return resultobj;
9872 fail:
9873 {
9874 if (temp1)
9875 delete arg1;
9876 }
9877 return NULL;
9878}
9879
9880
9881static PyObject *_wrap_GetTranslation__SWIG_1(PyObject *self, PyObject *args) {
9882 PyObject *resultobj;
9883 wxString *arg1 = 0 ;
9884 wxString *arg2 = 0 ;
9885 size_t arg3 ;
9886 wxString result;
e811c8ce
RD
9887 bool temp1 = False ;
9888 bool temp2 = False ;
d14a1e28
RD
9889 PyObject * obj0 = 0 ;
9890 PyObject * obj1 = 0 ;
9891 PyObject * obj2 = 0 ;
9892
9893 if(!PyArg_ParseTuple(args,(char *)"OOO:GetTranslation",&obj0,&obj1,&obj2)) goto fail;
9894 {
9895 arg1 = wxString_in_helper(obj0);
9896 if (arg1 == NULL) SWIG_fail;
e811c8ce 9897 temp1 = True;
d14a1e28
RD
9898 }
9899 {
9900 arg2 = wxString_in_helper(obj1);
9901 if (arg2 == NULL) SWIG_fail;
e811c8ce 9902 temp2 = True;
d14a1e28 9903 }
15afbcd0
RD
9904 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9905 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9906 {
9907 PyThreadState* __tstate = wxPyBeginAllowThreads();
9908 result = wxGetTranslation((wxString const &)*arg1,(wxString const &)*arg2,arg3);
9909
9910 wxPyEndAllowThreads(__tstate);
9911 if (PyErr_Occurred()) SWIG_fail;
9912 }
9913 {
9914#if wxUSE_UNICODE
9915 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9916#else
9917 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9918#endif
9919 }
9920 {
9921 if (temp1)
9922 delete arg1;
9923 }
9924 {
9925 if (temp2)
9926 delete arg2;
9927 }
9928 return resultobj;
9929 fail:
9930 {
9931 if (temp1)
9932 delete arg1;
9933 }
9934 {
9935 if (temp2)
9936 delete arg2;
9937 }
9938 return NULL;
9939}
9940
9941
9942static PyObject *_wrap_GetTranslation(PyObject *self, PyObject *args) {
9943 int argc;
9944 PyObject *argv[4];
9945 int ii;
9946
9947 argc = PyObject_Length(args);
9948 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
9949 argv[ii] = PyTuple_GetItem(args,ii);
9950 }
9951 if (argc == 1) {
9952 int _v;
9953 {
4d5c3d91 9954 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
d14a1e28
RD
9955 }
9956 if (_v) {
9957 return _wrap_GetTranslation__SWIG_0(self,args);
9958 }
9959 }
9960 if (argc == 3) {
9961 int _v;
9962 {
4d5c3d91 9963 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
d14a1e28
RD
9964 }
9965 if (_v) {
9966 {
4d5c3d91 9967 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
d14a1e28
RD
9968 }
9969 if (_v) {
15afbcd0 9970 _v = SWIG_CheckUnsignedLong(argv[2]);
d14a1e28
RD
9971 if (_v) {
9972 return _wrap_GetTranslation__SWIG_1(self,args);
9973 }
9974 }
9975 }
9976 }
9977
9978 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GetTranslation'");
9979 return NULL;
9980}
9981
9982
9983static PyObject *_wrap_new_EncodingConverter(PyObject *self, PyObject *args, PyObject *kwargs) {
9984 PyObject *resultobj;
9985 wxEncodingConverter *result;
9986 char *kwnames[] = {
9987 NULL
9988 };
9989
9990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EncodingConverter",kwnames)) goto fail;
9991 {
9992 PyThreadState* __tstate = wxPyBeginAllowThreads();
9993 result = (wxEncodingConverter *)new wxEncodingConverter();
9994
9995 wxPyEndAllowThreads(__tstate);
9996 if (PyErr_Occurred()) SWIG_fail;
9997 }
15afbcd0 9998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEncodingConverter, 1);
d14a1e28
RD
9999 return resultobj;
10000 fail:
10001 return NULL;
10002}
10003
10004
10005static PyObject *_wrap_delete_EncodingConverter(PyObject *self, PyObject *args, PyObject *kwargs) {
10006 PyObject *resultobj;
10007 wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ;
10008 PyObject * obj0 = 0 ;
10009 char *kwnames[] = {
10010 (char *) "self", NULL
10011 };
10012
10013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_EncodingConverter",kwnames,&obj0)) goto fail;
15afbcd0
RD
10014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEncodingConverter,
10015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10016 {
10017 PyThreadState* __tstate = wxPyBeginAllowThreads();
10018 delete arg1;
10019
10020 wxPyEndAllowThreads(__tstate);
10021 if (PyErr_Occurred()) SWIG_fail;
10022 }
10023 Py_INCREF(Py_None); resultobj = Py_None;
10024 return resultobj;
10025 fail:
10026 return NULL;
10027}
10028
10029
10030static PyObject *_wrap_EncodingConverter_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
10031 PyObject *resultobj;
10032 wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ;
10033 int arg2 ;
10034 int arg3 ;
10035 int arg4 = (int) wxCONVERT_STRICT ;
10036 bool result;
10037 PyObject * obj0 = 0 ;
994141e6
RD
10038 PyObject * obj1 = 0 ;
10039 PyObject * obj2 = 0 ;
10040 PyObject * obj3 = 0 ;
d14a1e28
RD
10041 char *kwnames[] = {
10042 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10043 };
10044
994141e6 10045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:EncodingConverter_Init",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEncodingConverter,
10047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10048 arg2 = (wxFontEncoding) SWIG_AsInt(obj1);
10049 if (PyErr_Occurred()) SWIG_fail;
10050 arg3 = (wxFontEncoding) SWIG_AsInt(obj2);
10051 if (PyErr_Occurred()) SWIG_fail;
994141e6 10052 if (obj3) {
15afbcd0
RD
10053 arg4 = (int) SWIG_AsInt(obj3);
10054 if (PyErr_Occurred()) SWIG_fail;
994141e6 10055 }
d14a1e28
RD
10056 {
10057 PyThreadState* __tstate = wxPyBeginAllowThreads();
10058 result = (bool)(arg1)->Init((wxFontEncoding )arg2,(wxFontEncoding )arg3,arg4);
10059
10060 wxPyEndAllowThreads(__tstate);
10061 if (PyErr_Occurred()) SWIG_fail;
10062 }
4f89f6a3
RD
10063 {
10064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10065 }
d14a1e28
RD
10066 return resultobj;
10067 fail:
10068 return NULL;
10069}
10070
10071
10072static PyObject *_wrap_EncodingConverter_Convert(PyObject *self, PyObject *args, PyObject *kwargs) {
10073 PyObject *resultobj;
10074 wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ;
10075 wxString *arg2 = 0 ;
10076 wxString result;
e811c8ce 10077 bool temp2 = False ;
d14a1e28
RD
10078 PyObject * obj0 = 0 ;
10079 PyObject * obj1 = 0 ;
10080 char *kwnames[] = {
10081 (char *) "self",(char *) "input", NULL
10082 };
10083
10084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EncodingConverter_Convert",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEncodingConverter,
10086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10087 {
10088 arg2 = wxString_in_helper(obj1);
10089 if (arg2 == NULL) SWIG_fail;
e811c8ce 10090 temp2 = True;
d14a1e28
RD
10091 }
10092 {
10093 PyThreadState* __tstate = wxPyBeginAllowThreads();
10094 result = (arg1)->Convert((wxString const &)*arg2);
10095
10096 wxPyEndAllowThreads(__tstate);
10097 if (PyErr_Occurred()) SWIG_fail;
10098 }
10099 {
10100#if wxUSE_UNICODE
10101 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10102#else
10103 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10104#endif
10105 }
10106 {
10107 if (temp2)
10108 delete arg2;
10109 }
10110 return resultobj;
10111 fail:
10112 {
10113 if (temp2)
10114 delete arg2;
10115 }
10116 return NULL;
10117}
10118
10119
10120static PyObject *_wrap_EncodingConverter_GetPlatformEquivalents(PyObject *self, PyObject *args, PyObject *kwargs) {
10121 PyObject *resultobj;
10122 int arg1 ;
10123 int arg2 = (int) wxPLATFORM_CURRENT ;
10124 wxFontEncodingArray result;
994141e6
RD
10125 PyObject * obj0 = 0 ;
10126 PyObject * obj1 = 0 ;
d14a1e28
RD
10127 char *kwnames[] = {
10128 (char *) "enc",(char *) "platform", NULL
10129 };
10130
994141e6 10131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10132 arg1 = (wxFontEncoding) SWIG_AsInt(obj0);
10133 if (PyErr_Occurred()) SWIG_fail;
994141e6 10134 if (obj1) {
15afbcd0
RD
10135 arg2 = (int) SWIG_AsInt(obj1);
10136 if (PyErr_Occurred()) SWIG_fail;
994141e6 10137 }
d14a1e28
RD
10138 {
10139 PyThreadState* __tstate = wxPyBeginAllowThreads();
10140 result = wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding )arg1,arg2);
10141
10142 wxPyEndAllowThreads(__tstate);
10143 if (PyErr_Occurred()) SWIG_fail;
10144 }
10145 {
10146 resultobj = PyList_New(0);
10147 for (size_t i=0; i < (&result)->GetCount(); i++) {
10148 PyObject* number = PyInt_FromLong((&result)->Item(i));
10149 PyList_Append(resultobj, number);
10150 Py_DECREF(number);
10151 }
10152 }
10153 return resultobj;
10154 fail:
10155 return NULL;
10156}
10157
10158
10159static PyObject *_wrap_EncodingConverter_GetAllEquivalents(PyObject *self, PyObject *args, PyObject *kwargs) {
10160 PyObject *resultobj;
10161 int arg1 ;
10162 wxFontEncodingArray result;
994141e6 10163 PyObject * obj0 = 0 ;
d14a1e28
RD
10164 char *kwnames[] = {
10165 (char *) "enc", NULL
10166 };
10167
994141e6 10168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames,&obj0)) goto fail;
15afbcd0
RD
10169 arg1 = (wxFontEncoding) SWIG_AsInt(obj0);
10170 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10171 {
10172 PyThreadState* __tstate = wxPyBeginAllowThreads();
10173 result = wxEncodingConverter::GetAllEquivalents((wxFontEncoding )arg1);
10174
10175 wxPyEndAllowThreads(__tstate);
10176 if (PyErr_Occurred()) SWIG_fail;
10177 }
10178 {
10179 resultobj = PyList_New(0);
10180 for (size_t i=0; i < (&result)->GetCount(); i++) {
10181 PyObject* number = PyInt_FromLong((&result)->Item(i));
10182 PyList_Append(resultobj, number);
10183 Py_DECREF(number);
10184 }
10185 }
10186 return resultobj;
10187 fail:
10188 return NULL;
10189}
10190
10191
10192static PyObject *_wrap_EncodingConverter_CanConvert(PyObject *self, PyObject *args, PyObject *kwargs) {
10193 PyObject *resultobj;
10194 int arg1 ;
10195 int arg2 ;
10196 bool result;
994141e6
RD
10197 PyObject * obj0 = 0 ;
10198 PyObject * obj1 = 0 ;
d14a1e28
RD
10199 char *kwnames[] = {
10200 (char *) "encIn",(char *) "encOut", NULL
10201 };
10202
994141e6 10203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EncodingConverter_CanConvert",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10204 arg1 = (wxFontEncoding) SWIG_AsInt(obj0);
10205 if (PyErr_Occurred()) SWIG_fail;
10206 arg2 = (wxFontEncoding) SWIG_AsInt(obj1);
10207 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10208 {
10209 PyThreadState* __tstate = wxPyBeginAllowThreads();
10210 result = (bool)wxEncodingConverter::CanConvert((wxFontEncoding )arg1,(wxFontEncoding )arg2);
10211
10212 wxPyEndAllowThreads(__tstate);
10213 if (PyErr_Occurred()) SWIG_fail;
10214 }
4f89f6a3
RD
10215 {
10216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10217 }
d14a1e28
RD
10218 return resultobj;
10219 fail:
10220 return NULL;
10221}
10222
10223
10224static PyObject * EncodingConverter_swigregister(PyObject *self, PyObject *args) {
10225 PyObject *obj;
10226 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10227 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter, obj);
10228 Py_INCREF(obj);
10229 return Py_BuildValue((char *)"");
10230}
10231static PyObject *_wrap_delete_DC(PyObject *self, PyObject *args, PyObject *kwargs) {
10232 PyObject *resultobj;
10233 wxDC *arg1 = (wxDC *) 0 ;
10234 PyObject * obj0 = 0 ;
10235 char *kwnames[] = {
10236 (char *) "self", NULL
10237 };
10238
10239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DC",kwnames,&obj0)) goto fail;
15afbcd0
RD
10240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10242 {
10243 PyThreadState* __tstate = wxPyBeginAllowThreads();
10244 delete arg1;
10245
10246 wxPyEndAllowThreads(__tstate);
10247 if (PyErr_Occurred()) SWIG_fail;
10248 }
10249 Py_INCREF(Py_None); resultobj = Py_None;
10250 return resultobj;
10251 fail:
10252 return NULL;
10253}
10254
10255
10256static PyObject *_wrap_DC_BeginDrawing(PyObject *self, PyObject *args, PyObject *kwargs) {
10257 PyObject *resultobj;
10258 wxDC *arg1 = (wxDC *) 0 ;
10259 PyObject * obj0 = 0 ;
10260 char *kwnames[] = {
10261 (char *) "self", NULL
10262 };
10263
10264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_BeginDrawing",kwnames,&obj0)) goto fail;
15afbcd0
RD
10265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10267 {
10268 PyThreadState* __tstate = wxPyBeginAllowThreads();
10269 (arg1)->BeginDrawing();
10270
10271 wxPyEndAllowThreads(__tstate);
10272 if (PyErr_Occurred()) SWIG_fail;
10273 }
10274 Py_INCREF(Py_None); resultobj = Py_None;
10275 return resultobj;
10276 fail:
10277 return NULL;
10278}
10279
10280
10281static PyObject *_wrap_DC_EndDrawing(PyObject *self, PyObject *args, PyObject *kwargs) {
10282 PyObject *resultobj;
10283 wxDC *arg1 = (wxDC *) 0 ;
10284 PyObject * obj0 = 0 ;
10285 char *kwnames[] = {
10286 (char *) "self", NULL
10287 };
10288
10289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_EndDrawing",kwnames,&obj0)) goto fail;
15afbcd0
RD
10290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10292 {
10293 PyThreadState* __tstate = wxPyBeginAllowThreads();
10294 (arg1)->EndDrawing();
10295
10296 wxPyEndAllowThreads(__tstate);
10297 if (PyErr_Occurred()) SWIG_fail;
10298 }
10299 Py_INCREF(Py_None); resultobj = Py_None;
10300 return resultobj;
10301 fail:
10302 return NULL;
10303}
10304
10305
03e37cd5 10306static PyObject *_wrap_DC_FloodFill(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10307 PyObject *resultobj;
10308 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10309 int arg2 ;
10310 int arg3 ;
d14a1e28
RD
10311 wxColour *arg4 = 0 ;
10312 int arg5 = (int) wxFLOOD_SURFACE ;
10313 bool result;
10314 wxColour temp4 ;
10315 PyObject * obj0 = 0 ;
994141e6
RD
10316 PyObject * obj1 = 0 ;
10317 PyObject * obj2 = 0 ;
d14a1e28 10318 PyObject * obj3 = 0 ;
994141e6 10319 PyObject * obj4 = 0 ;
d14a1e28
RD
10320 char *kwnames[] = {
10321 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10322 };
10323
03e37cd5 10324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:DC_FloodFill",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
10325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10327 arg2 = (int) SWIG_AsInt(obj1);
10328 if (PyErr_Occurred()) SWIG_fail;
10329 arg3 = (int) SWIG_AsInt(obj2);
10330 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10331 {
10332 arg4 = &temp4;
10333 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
10334 }
994141e6 10335 if (obj4) {
15afbcd0
RD
10336 arg5 = (int) SWIG_AsInt(obj4);
10337 if (PyErr_Occurred()) SWIG_fail;
994141e6 10338 }
d14a1e28
RD
10339 {
10340 PyThreadState* __tstate = wxPyBeginAllowThreads();
10341 result = (bool)(arg1)->FloodFill(arg2,arg3,(wxColour const &)*arg4,arg5);
10342
10343 wxPyEndAllowThreads(__tstate);
10344 if (PyErr_Occurred()) SWIG_fail;
10345 }
4f89f6a3
RD
10346 {
10347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10348 }
d14a1e28
RD
10349 return resultobj;
10350 fail:
10351 return NULL;
10352}
10353
10354
03e37cd5 10355static PyObject *_wrap_DC_FloodFillPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10356 PyObject *resultobj;
10357 wxDC *arg1 = (wxDC *) 0 ;
10358 wxPoint *arg2 = 0 ;
10359 wxColour *arg3 = 0 ;
10360 int arg4 = (int) wxFLOOD_SURFACE ;
10361 bool result;
10362 wxPoint temp2 ;
10363 wxColour temp3 ;
10364 PyObject * obj0 = 0 ;
10365 PyObject * obj1 = 0 ;
10366 PyObject * obj2 = 0 ;
994141e6 10367 PyObject * obj3 = 0 ;
d14a1e28
RD
10368 char *kwnames[] = {
10369 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10370 };
10371
03e37cd5 10372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:DC_FloodFillPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10375 {
10376 arg2 = &temp2;
10377 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10378 }
10379 {
10380 arg3 = &temp3;
10381 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10382 }
994141e6 10383 if (obj3) {
15afbcd0
RD
10384 arg4 = (int) SWIG_AsInt(obj3);
10385 if (PyErr_Occurred()) SWIG_fail;
994141e6 10386 }
d14a1e28
RD
10387 {
10388 PyThreadState* __tstate = wxPyBeginAllowThreads();
10389 result = (bool)(arg1)->FloodFill((wxPoint const &)*arg2,(wxColour const &)*arg3,arg4);
10390
10391 wxPyEndAllowThreads(__tstate);
10392 if (PyErr_Occurred()) SWIG_fail;
10393 }
4f89f6a3
RD
10394 {
10395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10396 }
d14a1e28
RD
10397 return resultobj;
10398 fail:
10399 return NULL;
10400}
10401
10402
03e37cd5 10403static PyObject *_wrap_DC_GetPixel(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10404 PyObject *resultobj;
10405 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10406 int arg2 ;
10407 int arg3 ;
d14a1e28
RD
10408 wxColour result;
10409 PyObject * obj0 = 0 ;
994141e6
RD
10410 PyObject * obj1 = 0 ;
10411 PyObject * obj2 = 0 ;
d14a1e28
RD
10412 char *kwnames[] = {
10413 (char *) "self",(char *) "x",(char *) "y", NULL
10414 };
10415
03e37cd5 10416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_GetPixel",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10419 arg2 = (int) SWIG_AsInt(obj1);
10420 if (PyErr_Occurred()) SWIG_fail;
10421 arg3 = (int) SWIG_AsInt(obj2);
10422 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10423 {
10424 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 10425 result = wxDC_GetPixel(arg1,arg2,arg3);
d14a1e28
RD
10426
10427 wxPyEndAllowThreads(__tstate);
10428 if (PyErr_Occurred()) SWIG_fail;
10429 }
10430 {
10431 wxColour * resultptr;
10432 resultptr = new wxColour((wxColour &) result);
15afbcd0 10433 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10434 }
10435 return resultobj;
10436 fail:
10437 return NULL;
10438}
10439
10440
03e37cd5 10441static PyObject *_wrap_DC_GetPixelPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10442 PyObject *resultobj;
10443 wxDC *arg1 = (wxDC *) 0 ;
10444 wxPoint *arg2 = 0 ;
10445 wxColour result;
10446 wxPoint temp2 ;
10447 PyObject * obj0 = 0 ;
10448 PyObject * obj1 = 0 ;
10449 char *kwnames[] = {
10450 (char *) "self",(char *) "pt", NULL
10451 };
10452
03e37cd5 10453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_GetPixelPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10456 {
10457 arg2 = &temp2;
10458 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10459 }
10460 {
10461 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 10462 result = wxDC_GetPixelPoint(arg1,(wxPoint const &)*arg2);
d14a1e28
RD
10463
10464 wxPyEndAllowThreads(__tstate);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 }
10467 {
10468 wxColour * resultptr;
10469 resultptr = new wxColour((wxColour &) result);
15afbcd0 10470 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10471 }
10472 return resultobj;
10473 fail:
10474 return NULL;
10475}
10476
10477
03e37cd5 10478static PyObject *_wrap_DC_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10479 PyObject *resultobj;
10480 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10481 int arg2 ;
10482 int arg3 ;
10483 int arg4 ;
10484 int arg5 ;
d14a1e28 10485 PyObject * obj0 = 0 ;
994141e6
RD
10486 PyObject * obj1 = 0 ;
10487 PyObject * obj2 = 0 ;
10488 PyObject * obj3 = 0 ;
10489 PyObject * obj4 = 0 ;
d14a1e28
RD
10490 char *kwnames[] = {
10491 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10492 };
10493
03e37cd5 10494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
10495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10497 arg2 = (int) SWIG_AsInt(obj1);
10498 if (PyErr_Occurred()) SWIG_fail;
10499 arg3 = (int) SWIG_AsInt(obj2);
10500 if (PyErr_Occurred()) SWIG_fail;
10501 arg4 = (int) SWIG_AsInt(obj3);
10502 if (PyErr_Occurred()) SWIG_fail;
10503 arg5 = (int) SWIG_AsInt(obj4);
10504 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10505 {
10506 PyThreadState* __tstate = wxPyBeginAllowThreads();
10507 (arg1)->DrawLine(arg2,arg3,arg4,arg5);
10508
10509 wxPyEndAllowThreads(__tstate);
10510 if (PyErr_Occurred()) SWIG_fail;
10511 }
10512 Py_INCREF(Py_None); resultobj = Py_None;
10513 return resultobj;
10514 fail:
10515 return NULL;
10516}
10517
10518
03e37cd5 10519static PyObject *_wrap_DC_DrawLinePoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10520 PyObject *resultobj;
10521 wxDC *arg1 = (wxDC *) 0 ;
10522 wxPoint *arg2 = 0 ;
10523 wxPoint *arg3 = 0 ;
10524 wxPoint temp2 ;
10525 wxPoint temp3 ;
10526 PyObject * obj0 = 0 ;
10527 PyObject * obj1 = 0 ;
10528 PyObject * obj2 = 0 ;
10529 char *kwnames[] = {
10530 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10531 };
10532
03e37cd5 10533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawLinePoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10536 {
10537 arg2 = &temp2;
10538 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10539 }
10540 {
10541 arg3 = &temp3;
10542 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10543 }
10544 {
10545 PyThreadState* __tstate = wxPyBeginAllowThreads();
10546 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
10547
10548 wxPyEndAllowThreads(__tstate);
10549 if (PyErr_Occurred()) SWIG_fail;
10550 }
10551 Py_INCREF(Py_None); resultobj = Py_None;
10552 return resultobj;
10553 fail:
10554 return NULL;
10555}
10556
10557
03e37cd5 10558static PyObject *_wrap_DC_CrossHair(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10559 PyObject *resultobj;
10560 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10561 int arg2 ;
10562 int arg3 ;
d14a1e28 10563 PyObject * obj0 = 0 ;
994141e6
RD
10564 PyObject * obj1 = 0 ;
10565 PyObject * obj2 = 0 ;
d14a1e28
RD
10566 char *kwnames[] = {
10567 (char *) "self",(char *) "x",(char *) "y", NULL
10568 };
10569
03e37cd5 10570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_CrossHair",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10573 arg2 = (int) SWIG_AsInt(obj1);
10574 if (PyErr_Occurred()) SWIG_fail;
10575 arg3 = (int) SWIG_AsInt(obj2);
10576 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10577 {
10578 PyThreadState* __tstate = wxPyBeginAllowThreads();
10579 (arg1)->CrossHair(arg2,arg3);
10580
10581 wxPyEndAllowThreads(__tstate);
10582 if (PyErr_Occurred()) SWIG_fail;
10583 }
10584 Py_INCREF(Py_None); resultobj = Py_None;
10585 return resultobj;
10586 fail:
10587 return NULL;
10588}
10589
10590
03e37cd5 10591static PyObject *_wrap_DC_CrossHairPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10592 PyObject *resultobj;
10593 wxDC *arg1 = (wxDC *) 0 ;
10594 wxPoint *arg2 = 0 ;
10595 wxPoint temp2 ;
10596 PyObject * obj0 = 0 ;
10597 PyObject * obj1 = 0 ;
10598 char *kwnames[] = {
10599 (char *) "self",(char *) "pt", NULL
10600 };
10601
03e37cd5 10602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_CrossHairPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10605 {
10606 arg2 = &temp2;
10607 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10608 }
10609 {
10610 PyThreadState* __tstate = wxPyBeginAllowThreads();
10611 (arg1)->CrossHair((wxPoint const &)*arg2);
10612
10613 wxPyEndAllowThreads(__tstate);
10614 if (PyErr_Occurred()) SWIG_fail;
10615 }
10616 Py_INCREF(Py_None); resultobj = Py_None;
10617 return resultobj;
10618 fail:
10619 return NULL;
10620}
10621
10622
03e37cd5 10623static PyObject *_wrap_DC_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10624 PyObject *resultobj;
10625 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10626 int arg2 ;
10627 int arg3 ;
10628 int arg4 ;
10629 int arg5 ;
10630 int arg6 ;
10631 int arg7 ;
d14a1e28 10632 PyObject * obj0 = 0 ;
994141e6
RD
10633 PyObject * obj1 = 0 ;
10634 PyObject * obj2 = 0 ;
10635 PyObject * obj3 = 0 ;
10636 PyObject * obj4 = 0 ;
10637 PyObject * obj5 = 0 ;
10638 PyObject * obj6 = 0 ;
d14a1e28
RD
10639 char *kwnames[] = {
10640 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10641 };
10642
03e37cd5 10643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:DC_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
10644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10646 arg2 = (int) SWIG_AsInt(obj1);
10647 if (PyErr_Occurred()) SWIG_fail;
10648 arg3 = (int) SWIG_AsInt(obj2);
10649 if (PyErr_Occurred()) SWIG_fail;
10650 arg4 = (int) SWIG_AsInt(obj3);
10651 if (PyErr_Occurred()) SWIG_fail;
10652 arg5 = (int) SWIG_AsInt(obj4);
10653 if (PyErr_Occurred()) SWIG_fail;
10654 arg6 = (int) SWIG_AsInt(obj5);
10655 if (PyErr_Occurred()) SWIG_fail;
10656 arg7 = (int) SWIG_AsInt(obj6);
10657 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10658 {
10659 PyThreadState* __tstate = wxPyBeginAllowThreads();
10660 (arg1)->DrawArc(arg2,arg3,arg4,arg5,arg6,arg7);
10661
10662 wxPyEndAllowThreads(__tstate);
10663 if (PyErr_Occurred()) SWIG_fail;
10664 }
10665 Py_INCREF(Py_None); resultobj = Py_None;
10666 return resultobj;
10667 fail:
10668 return NULL;
10669}
10670
10671
03e37cd5 10672static PyObject *_wrap_DC_DrawArcPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10673 PyObject *resultobj;
10674 wxDC *arg1 = (wxDC *) 0 ;
10675 wxPoint *arg2 = 0 ;
10676 wxPoint *arg3 = 0 ;
10677 wxPoint *arg4 = 0 ;
10678 wxPoint temp2 ;
10679 wxPoint temp3 ;
10680 wxPoint temp4 ;
10681 PyObject * obj0 = 0 ;
10682 PyObject * obj1 = 0 ;
10683 PyObject * obj2 = 0 ;
10684 PyObject * obj3 = 0 ;
10685 char *kwnames[] = {
10686 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10687 };
10688
03e37cd5 10689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawArcPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10692 {
10693 arg2 = &temp2;
10694 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10695 }
10696 {
10697 arg3 = &temp3;
10698 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10699 }
10700 {
10701 arg4 = &temp4;
10702 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10703 }
10704 {
10705 PyThreadState* __tstate = wxPyBeginAllowThreads();
10706 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
10707
10708 wxPyEndAllowThreads(__tstate);
10709 if (PyErr_Occurred()) SWIG_fail;
10710 }
10711 Py_INCREF(Py_None); resultobj = Py_None;
10712 return resultobj;
10713 fail:
10714 return NULL;
10715}
10716
10717
03e37cd5 10718static PyObject *_wrap_DC_DrawCheckMark(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10719 PyObject *resultobj;
10720 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10721 int arg2 ;
10722 int arg3 ;
10723 int arg4 ;
10724 int arg5 ;
d14a1e28 10725 PyObject * obj0 = 0 ;
994141e6
RD
10726 PyObject * obj1 = 0 ;
10727 PyObject * obj2 = 0 ;
10728 PyObject * obj3 = 0 ;
10729 PyObject * obj4 = 0 ;
d14a1e28
RD
10730 char *kwnames[] = {
10731 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10732 };
10733
03e37cd5 10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawCheckMark",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
10735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10737 arg2 = (int) SWIG_AsInt(obj1);
10738 if (PyErr_Occurred()) SWIG_fail;
10739 arg3 = (int) SWIG_AsInt(obj2);
10740 if (PyErr_Occurred()) SWIG_fail;
10741 arg4 = (int) SWIG_AsInt(obj3);
10742 if (PyErr_Occurred()) SWIG_fail;
10743 arg5 = (int) SWIG_AsInt(obj4);
10744 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10745 {
10746 PyThreadState* __tstate = wxPyBeginAllowThreads();
10747 (arg1)->DrawCheckMark(arg2,arg3,arg4,arg5);
10748
10749 wxPyEndAllowThreads(__tstate);
10750 if (PyErr_Occurred()) SWIG_fail;
10751 }
10752 Py_INCREF(Py_None); resultobj = Py_None;
10753 return resultobj;
10754 fail:
10755 return NULL;
10756}
10757
10758
03e37cd5 10759static PyObject *_wrap_DC_DrawCheckMarkRect(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10760 PyObject *resultobj;
10761 wxDC *arg1 = (wxDC *) 0 ;
10762 wxRect *arg2 = 0 ;
10763 wxRect temp2 ;
10764 PyObject * obj0 = 0 ;
10765 PyObject * obj1 = 0 ;
10766 char *kwnames[] = {
10767 (char *) "self",(char *) "rect", NULL
10768 };
10769
03e37cd5 10770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawCheckMarkRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10773 {
10774 arg2 = &temp2;
10775 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10776 }
10777 {
10778 PyThreadState* __tstate = wxPyBeginAllowThreads();
10779 (arg1)->DrawCheckMark((wxRect const &)*arg2);
10780
10781 wxPyEndAllowThreads(__tstate);
10782 if (PyErr_Occurred()) SWIG_fail;
10783 }
10784 Py_INCREF(Py_None); resultobj = Py_None;
10785 return resultobj;
10786 fail:
10787 return NULL;
10788}
10789
10790
03e37cd5 10791static PyObject *_wrap_DC_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10792 PyObject *resultobj;
10793 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10794 int arg2 ;
10795 int arg3 ;
10796 int arg4 ;
10797 int arg5 ;
d14a1e28
RD
10798 double arg6 ;
10799 double arg7 ;
10800 PyObject * obj0 = 0 ;
994141e6
RD
10801 PyObject * obj1 = 0 ;
10802 PyObject * obj2 = 0 ;
10803 PyObject * obj3 = 0 ;
10804 PyObject * obj4 = 0 ;
10805 PyObject * obj5 = 0 ;
10806 PyObject * obj6 = 0 ;
d14a1e28
RD
10807 char *kwnames[] = {
10808 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10809 };
10810
03e37cd5 10811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
10812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10814 arg2 = (int) SWIG_AsInt(obj1);
10815 if (PyErr_Occurred()) SWIG_fail;
10816 arg3 = (int) SWIG_AsInt(obj2);
10817 if (PyErr_Occurred()) SWIG_fail;
10818 arg4 = (int) SWIG_AsInt(obj3);
10819 if (PyErr_Occurred()) SWIG_fail;
10820 arg5 = (int) SWIG_AsInt(obj4);
10821 if (PyErr_Occurred()) SWIG_fail;
10822 arg6 = (double) SWIG_AsDouble(obj5);
10823 if (PyErr_Occurred()) SWIG_fail;
10824 arg7 = (double) SWIG_AsDouble(obj6);
10825 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10826 {
10827 PyThreadState* __tstate = wxPyBeginAllowThreads();
10828 (arg1)->DrawEllipticArc(arg2,arg3,arg4,arg5,arg6,arg7);
10829
10830 wxPyEndAllowThreads(__tstate);
10831 if (PyErr_Occurred()) SWIG_fail;
10832 }
10833 Py_INCREF(Py_None); resultobj = Py_None;
10834 return resultobj;
10835 fail:
10836 return NULL;
10837}
10838
10839
03e37cd5 10840static PyObject *_wrap_DC_DrawEllipticArcPointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10841 PyObject *resultobj;
10842 wxDC *arg1 = (wxDC *) 0 ;
10843 wxPoint *arg2 = 0 ;
10844 wxSize *arg3 = 0 ;
10845 double arg4 ;
10846 double arg5 ;
10847 wxPoint temp2 ;
10848 wxSize temp3 ;
10849 PyObject * obj0 = 0 ;
10850 PyObject * obj1 = 0 ;
10851 PyObject * obj2 = 0 ;
994141e6
RD
10852 PyObject * obj3 = 0 ;
10853 PyObject * obj4 = 0 ;
d14a1e28
RD
10854 char *kwnames[] = {
10855 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10856 };
10857
03e37cd5 10858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
10859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10861 {
10862 arg2 = &temp2;
10863 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10864 }
10865 {
10866 arg3 = &temp3;
10867 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
10868 }
15afbcd0
RD
10869 arg4 = (double) SWIG_AsDouble(obj3);
10870 if (PyErr_Occurred()) SWIG_fail;
10871 arg5 = (double) SWIG_AsDouble(obj4);
10872 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10873 {
10874 PyThreadState* __tstate = wxPyBeginAllowThreads();
10875 (arg1)->DrawEllipticArc((wxPoint const &)*arg2,(wxSize const &)*arg3,arg4,arg5);
10876
10877 wxPyEndAllowThreads(__tstate);
10878 if (PyErr_Occurred()) SWIG_fail;
10879 }
10880 Py_INCREF(Py_None); resultobj = Py_None;
10881 return resultobj;
10882 fail:
10883 return NULL;
10884}
10885
10886
03e37cd5 10887static PyObject *_wrap_DC_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10888 PyObject *resultobj;
10889 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10890 int arg2 ;
10891 int arg3 ;
d14a1e28 10892 PyObject * obj0 = 0 ;
994141e6
RD
10893 PyObject * obj1 = 0 ;
10894 PyObject * obj2 = 0 ;
d14a1e28
RD
10895 char *kwnames[] = {
10896 (char *) "self",(char *) "x",(char *) "y", NULL
10897 };
10898
03e37cd5 10899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10902 arg2 = (int) SWIG_AsInt(obj1);
10903 if (PyErr_Occurred()) SWIG_fail;
10904 arg3 = (int) SWIG_AsInt(obj2);
10905 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10906 {
10907 PyThreadState* __tstate = wxPyBeginAllowThreads();
10908 (arg1)->DrawPoint(arg2,arg3);
10909
10910 wxPyEndAllowThreads(__tstate);
10911 if (PyErr_Occurred()) SWIG_fail;
10912 }
10913 Py_INCREF(Py_None); resultobj = Py_None;
10914 return resultobj;
10915 fail:
10916 return NULL;
10917}
10918
10919
03e37cd5 10920static PyObject *_wrap_DC_DrawPointPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10921 PyObject *resultobj;
10922 wxDC *arg1 = (wxDC *) 0 ;
10923 wxPoint *arg2 = 0 ;
10924 wxPoint temp2 ;
10925 PyObject * obj0 = 0 ;
10926 PyObject * obj1 = 0 ;
10927 char *kwnames[] = {
10928 (char *) "self",(char *) "pt", NULL
10929 };
10930
03e37cd5 10931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawPointPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10934 {
10935 arg2 = &temp2;
10936 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10937 }
10938 {
10939 PyThreadState* __tstate = wxPyBeginAllowThreads();
10940 (arg1)->DrawPoint((wxPoint const &)*arg2);
10941
10942 wxPyEndAllowThreads(__tstate);
10943 if (PyErr_Occurred()) SWIG_fail;
10944 }
10945 Py_INCREF(Py_None); resultobj = Py_None;
10946 return resultobj;
10947 fail:
10948 return NULL;
10949}
10950
10951
03e37cd5 10952static PyObject *_wrap_DC_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10953 PyObject *resultobj;
10954 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10955 int arg2 ;
10956 int arg3 ;
10957 int arg4 ;
10958 int arg5 ;
d14a1e28 10959 PyObject * obj0 = 0 ;
994141e6
RD
10960 PyObject * obj1 = 0 ;
10961 PyObject * obj2 = 0 ;
10962 PyObject * obj3 = 0 ;
10963 PyObject * obj4 = 0 ;
d14a1e28
RD
10964 char *kwnames[] = {
10965 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10966 };
10967
03e37cd5 10968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
10969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10971 arg2 = (int) SWIG_AsInt(obj1);
10972 if (PyErr_Occurred()) SWIG_fail;
10973 arg3 = (int) SWIG_AsInt(obj2);
10974 if (PyErr_Occurred()) SWIG_fail;
10975 arg4 = (int) SWIG_AsInt(obj3);
10976 if (PyErr_Occurred()) SWIG_fail;
10977 arg5 = (int) SWIG_AsInt(obj4);
10978 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10979 {
10980 PyThreadState* __tstate = wxPyBeginAllowThreads();
10981 (arg1)->DrawRectangle(arg2,arg3,arg4,arg5);
10982
10983 wxPyEndAllowThreads(__tstate);
10984 if (PyErr_Occurred()) SWIG_fail;
10985 }
10986 Py_INCREF(Py_None); resultobj = Py_None;
10987 return resultobj;
10988 fail:
10989 return NULL;
10990}
10991
10992
03e37cd5 10993static PyObject *_wrap_DC_DrawRectangleRect(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10994 PyObject *resultobj;
10995 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
10996 wxRect *arg2 = 0 ;
10997 wxRect temp2 ;
d14a1e28
RD
10998 PyObject * obj0 = 0 ;
10999 PyObject * obj1 = 0 ;
d14a1e28 11000 char *kwnames[] = {
03e37cd5 11001 (char *) "self",(char *) "rect", NULL
d14a1e28
RD
11002 };
11003
03e37cd5 11004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawRectangleRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11007 {
11008 arg2 = &temp2;
03e37cd5 11009 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
11010 }
11011 {
11012 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11013 (arg1)->DrawRectangle((wxRect const &)*arg2);
d14a1e28
RD
11014
11015 wxPyEndAllowThreads(__tstate);
11016 if (PyErr_Occurred()) SWIG_fail;
11017 }
11018 Py_INCREF(Py_None); resultobj = Py_None;
11019 return resultobj;
11020 fail:
11021 return NULL;
11022}
11023
11024
03e37cd5 11025static PyObject *_wrap_DC_DrawRectanglePointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11026 PyObject *resultobj;
11027 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
11028 wxPoint *arg2 = 0 ;
11029 wxSize *arg3 = 0 ;
11030 wxPoint temp2 ;
11031 wxSize temp3 ;
d14a1e28
RD
11032 PyObject * obj0 = 0 ;
11033 PyObject * obj1 = 0 ;
03e37cd5 11034 PyObject * obj2 = 0 ;
d14a1e28 11035 char *kwnames[] = {
03e37cd5 11036 (char *) "self",(char *) "pt",(char *) "sz", NULL
d14a1e28
RD
11037 };
11038
03e37cd5 11039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawRectanglePointSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11042 {
11043 arg2 = &temp2;
03e37cd5
RD
11044 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11045 }
11046 {
11047 arg3 = &temp3;
11048 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
d14a1e28
RD
11049 }
11050 {
11051 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11052 (arg1)->DrawRectangle((wxPoint const &)*arg2,(wxSize const &)*arg3);
d14a1e28
RD
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
03e37cd5 11064static PyObject *_wrap_DC_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11065 PyObject *resultobj;
11066 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
11067 int arg2 ;
11068 int arg3 ;
11069 int arg4 ;
11070 int arg5 ;
d14a1e28
RD
11071 double arg6 ;
11072 PyObject * obj0 = 0 ;
994141e6
RD
11073 PyObject * obj1 = 0 ;
11074 PyObject * obj2 = 0 ;
11075 PyObject * obj3 = 0 ;
11076 PyObject * obj4 = 0 ;
11077 PyObject * obj5 = 0 ;
d14a1e28
RD
11078 char *kwnames[] = {
11079 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11080 };
11081
03e37cd5 11082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
11083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11085 arg2 = (int) SWIG_AsInt(obj1);
11086 if (PyErr_Occurred()) SWIG_fail;
11087 arg3 = (int) SWIG_AsInt(obj2);
11088 if (PyErr_Occurred()) SWIG_fail;
11089 arg4 = (int) SWIG_AsInt(obj3);
11090 if (PyErr_Occurred()) SWIG_fail;
11091 arg5 = (int) SWIG_AsInt(obj4);
11092 if (PyErr_Occurred()) SWIG_fail;
11093 arg6 = (double) SWIG_AsDouble(obj5);
11094 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11095 {
11096 PyThreadState* __tstate = wxPyBeginAllowThreads();
11097 (arg1)->DrawRoundedRectangle(arg2,arg3,arg4,arg5,arg6);
11098
11099 wxPyEndAllowThreads(__tstate);
11100 if (PyErr_Occurred()) SWIG_fail;
11101 }
11102 Py_INCREF(Py_None); resultobj = Py_None;
11103 return resultobj;
11104 fail:
11105 return NULL;
11106}
11107
11108
03e37cd5 11109static PyObject *_wrap_DC_DrawRoundedRectangleRect(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11110 PyObject *resultobj;
11111 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
11112 wxRect *arg2 = 0 ;
11113 double arg3 ;
11114 wxRect temp2 ;
d14a1e28
RD
11115 PyObject * obj0 = 0 ;
11116 PyObject * obj1 = 0 ;
11117 PyObject * obj2 = 0 ;
11118 char *kwnames[] = {
03e37cd5 11119 (char *) "self",(char *) "r",(char *) "radius", NULL
d14a1e28
RD
11120 };
11121
03e37cd5 11122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11125 {
11126 arg2 = &temp2;
03e37cd5 11127 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
d14a1e28 11128 }
03e37cd5 11129 arg3 = (double) SWIG_AsDouble(obj2);
15afbcd0 11130 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11131 {
11132 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11133 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
d14a1e28
RD
11134
11135 wxPyEndAllowThreads(__tstate);
11136 if (PyErr_Occurred()) SWIG_fail;
11137 }
11138 Py_INCREF(Py_None); resultobj = Py_None;
11139 return resultobj;
11140 fail:
11141 return NULL;
11142}
11143
11144
03e37cd5 11145static PyObject *_wrap_DC_DrawRoundedRectanglePointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11146 PyObject *resultobj;
11147 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
11148 wxPoint *arg2 = 0 ;
11149 wxSize *arg3 = 0 ;
11150 double arg4 ;
11151 wxPoint temp2 ;
11152 wxSize temp3 ;
d14a1e28
RD
11153 PyObject * obj0 = 0 ;
11154 PyObject * obj1 = 0 ;
994141e6 11155 PyObject * obj2 = 0 ;
03e37cd5 11156 PyObject * obj3 = 0 ;
d14a1e28 11157 char *kwnames[] = {
03e37cd5 11158 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
d14a1e28
RD
11159 };
11160
03e37cd5 11161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11164 {
11165 arg2 = &temp2;
03e37cd5 11166 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
d14a1e28 11167 }
03e37cd5
RD
11168 {
11169 arg3 = &temp3;
11170 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
11171 }
11172 arg4 = (double) SWIG_AsDouble(obj3);
15afbcd0 11173 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11174 {
11175 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11176 (arg1)->DrawRoundedRectangle((wxPoint const &)*arg2,(wxSize const &)*arg3,arg4);
d14a1e28
RD
11177
11178 wxPyEndAllowThreads(__tstate);
11179 if (PyErr_Occurred()) SWIG_fail;
11180 }
11181 Py_INCREF(Py_None); resultobj = Py_None;
11182 return resultobj;
11183 fail:
11184 return NULL;
11185}
11186
11187
03e37cd5 11188static PyObject *_wrap_DC_DrawCircle(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11189 PyObject *resultobj;
11190 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
11191 int arg2 ;
11192 int arg3 ;
11193 int arg4 ;
d14a1e28 11194 PyObject * obj0 = 0 ;
994141e6
RD
11195 PyObject * obj1 = 0 ;
11196 PyObject * obj2 = 0 ;
11197 PyObject * obj3 = 0 ;
d14a1e28
RD
11198 char *kwnames[] = {
11199 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11200 };
11201
03e37cd5 11202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawCircle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11205 arg2 = (int) SWIG_AsInt(obj1);
11206 if (PyErr_Occurred()) SWIG_fail;
11207 arg3 = (int) SWIG_AsInt(obj2);
11208 if (PyErr_Occurred()) SWIG_fail;
11209 arg4 = (int) SWIG_AsInt(obj3);
11210 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11211 {
11212 PyThreadState* __tstate = wxPyBeginAllowThreads();
11213 (arg1)->DrawCircle(arg2,arg3,arg4);
11214
11215 wxPyEndAllowThreads(__tstate);
11216 if (PyErr_Occurred()) SWIG_fail;
11217 }
11218 Py_INCREF(Py_None); resultobj = Py_None;
11219 return resultobj;
11220 fail:
11221 return NULL;
11222}
11223
11224
03e37cd5 11225static PyObject *_wrap_DC_DrawCirclePoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11226 PyObject *resultobj;
11227 wxDC *arg1 = (wxDC *) 0 ;
11228 wxPoint *arg2 = 0 ;
e811c8ce 11229 int arg3 ;
d14a1e28
RD
11230 wxPoint temp2 ;
11231 PyObject * obj0 = 0 ;
11232 PyObject * obj1 = 0 ;
994141e6 11233 PyObject * obj2 = 0 ;
d14a1e28
RD
11234 char *kwnames[] = {
11235 (char *) "self",(char *) "pt",(char *) "radius", NULL
11236 };
11237
03e37cd5 11238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawCirclePoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11241 {
11242 arg2 = &temp2;
11243 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11244 }
15afbcd0
RD
11245 arg3 = (int) SWIG_AsInt(obj2);
11246 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11247 {
11248 PyThreadState* __tstate = wxPyBeginAllowThreads();
11249 (arg1)->DrawCircle((wxPoint const &)*arg2,arg3);
11250
11251 wxPyEndAllowThreads(__tstate);
11252 if (PyErr_Occurred()) SWIG_fail;
11253 }
11254 Py_INCREF(Py_None); resultobj = Py_None;
11255 return resultobj;
11256 fail:
11257 return NULL;
11258}
11259
11260
03e37cd5 11261static PyObject *_wrap_DC_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11262 PyObject *resultobj;
11263 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
11264 int arg2 ;
11265 int arg3 ;
11266 int arg4 ;
11267 int arg5 ;
d14a1e28 11268 PyObject * obj0 = 0 ;
994141e6
RD
11269 PyObject * obj1 = 0 ;
11270 PyObject * obj2 = 0 ;
11271 PyObject * obj3 = 0 ;
11272 PyObject * obj4 = 0 ;
d14a1e28
RD
11273 char *kwnames[] = {
11274 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11275 };
11276
03e37cd5 11277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawEllipse",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
11278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11280 arg2 = (int) SWIG_AsInt(obj1);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 arg3 = (int) SWIG_AsInt(obj2);
11283 if (PyErr_Occurred()) SWIG_fail;
11284 arg4 = (int) SWIG_AsInt(obj3);
11285 if (PyErr_Occurred()) SWIG_fail;
11286 arg5 = (int) SWIG_AsInt(obj4);
11287 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11288 {
11289 PyThreadState* __tstate = wxPyBeginAllowThreads();
11290 (arg1)->DrawEllipse(arg2,arg3,arg4,arg5);
11291
11292 wxPyEndAllowThreads(__tstate);
11293 if (PyErr_Occurred()) SWIG_fail;
11294 }
11295 Py_INCREF(Py_None); resultobj = Py_None;
11296 return resultobj;
11297 fail:
11298 return NULL;
11299}
11300
11301
03e37cd5 11302static PyObject *_wrap_DC_DrawEllipseRect(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11303 PyObject *resultobj;
11304 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
11305 wxRect *arg2 = 0 ;
11306 wxRect temp2 ;
d14a1e28
RD
11307 PyObject * obj0 = 0 ;
11308 PyObject * obj1 = 0 ;
d14a1e28 11309 char *kwnames[] = {
03e37cd5 11310 (char *) "self",(char *) "rect", NULL
d14a1e28
RD
11311 };
11312
03e37cd5 11313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawEllipseRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11316 {
11317 arg2 = &temp2;
03e37cd5 11318 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
11319 }
11320 {
11321 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11322 (arg1)->DrawEllipse((wxRect const &)*arg2);
d14a1e28
RD
11323
11324 wxPyEndAllowThreads(__tstate);
11325 if (PyErr_Occurred()) SWIG_fail;
11326 }
11327 Py_INCREF(Py_None); resultobj = Py_None;
11328 return resultobj;
11329 fail:
11330 return NULL;
11331}
11332
11333
03e37cd5 11334static PyObject *_wrap_DC_DrawEllipsePointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11335 PyObject *resultobj;
11336 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
11337 wxPoint *arg2 = 0 ;
11338 wxSize *arg3 = 0 ;
11339 wxPoint temp2 ;
11340 wxSize temp3 ;
d14a1e28
RD
11341 PyObject * obj0 = 0 ;
11342 PyObject * obj1 = 0 ;
03e37cd5 11343 PyObject * obj2 = 0 ;
d14a1e28 11344 char *kwnames[] = {
03e37cd5 11345 (char *) "self",(char *) "pt",(char *) "sz", NULL
d14a1e28
RD
11346 };
11347
03e37cd5 11348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawEllipsePointSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11351 {
11352 arg2 = &temp2;
03e37cd5
RD
11353 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11354 }
11355 {
11356 arg3 = &temp3;
11357 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
d14a1e28
RD
11358 }
11359 {
11360 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11361 (arg1)->DrawEllipse((wxPoint const &)*arg2,(wxSize const &)*arg3);
d14a1e28
RD
11362
11363 wxPyEndAllowThreads(__tstate);
11364 if (PyErr_Occurred()) SWIG_fail;
11365 }
11366 Py_INCREF(Py_None); resultobj = Py_None;
11367 return resultobj;
11368 fail:
11369 return NULL;
11370}
11371
11372
03e37cd5 11373static PyObject *_wrap_DC_DrawIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11374 PyObject *resultobj;
11375 wxDC *arg1 = (wxDC *) 0 ;
11376 wxIcon *arg2 = 0 ;
e811c8ce
RD
11377 int arg3 ;
11378 int arg4 ;
d14a1e28
RD
11379 PyObject * obj0 = 0 ;
11380 PyObject * obj1 = 0 ;
994141e6
RD
11381 PyObject * obj2 = 0 ;
11382 PyObject * obj3 = 0 ;
d14a1e28
RD
11383 char *kwnames[] = {
11384 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11385 };
11386
03e37cd5 11387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawIcon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11390 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11391 SWIG_POINTER_EXCEPTION | 0)) == -1)
11392 SWIG_fail;
d14a1e28 11393 if (arg2 == NULL) {
15afbcd0
RD
11394 PyErr_SetString(PyExc_TypeError,"null reference");
11395 SWIG_fail;
994141e6 11396 }
15afbcd0
RD
11397 arg3 = (int) SWIG_AsInt(obj2);
11398 if (PyErr_Occurred()) SWIG_fail;
11399 arg4 = (int) SWIG_AsInt(obj3);
11400 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11401 {
11402 PyThreadState* __tstate = wxPyBeginAllowThreads();
11403 (arg1)->DrawIcon((wxIcon const &)*arg2,arg3,arg4);
11404
11405 wxPyEndAllowThreads(__tstate);
11406 if (PyErr_Occurred()) SWIG_fail;
11407 }
11408 Py_INCREF(Py_None); resultobj = Py_None;
11409 return resultobj;
11410 fail:
11411 return NULL;
11412}
11413
11414
03e37cd5 11415static PyObject *_wrap_DC_DrawIconPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11416 PyObject *resultobj;
11417 wxDC *arg1 = (wxDC *) 0 ;
11418 wxIcon *arg2 = 0 ;
11419 wxPoint *arg3 = 0 ;
11420 wxPoint temp3 ;
11421 PyObject * obj0 = 0 ;
11422 PyObject * obj1 = 0 ;
11423 PyObject * obj2 = 0 ;
11424 char *kwnames[] = {
11425 (char *) "self",(char *) "icon",(char *) "pt", NULL
11426 };
11427
03e37cd5 11428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawIconPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11431 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11432 SWIG_POINTER_EXCEPTION | 0)) == -1)
11433 SWIG_fail;
d14a1e28 11434 if (arg2 == NULL) {
15afbcd0
RD
11435 PyErr_SetString(PyExc_TypeError,"null reference");
11436 SWIG_fail;
d14a1e28
RD
11437 }
11438 {
11439 arg3 = &temp3;
11440 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11441 }
11442 {
11443 PyThreadState* __tstate = wxPyBeginAllowThreads();
11444 (arg1)->DrawIcon((wxIcon const &)*arg2,(wxPoint const &)*arg3);
11445
11446 wxPyEndAllowThreads(__tstate);
11447 if (PyErr_Occurred()) SWIG_fail;
11448 }
11449 Py_INCREF(Py_None); resultobj = Py_None;
11450 return resultobj;
11451 fail:
11452 return NULL;
11453}
11454
11455
03e37cd5 11456static PyObject *_wrap_DC_DrawBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11457 PyObject *resultobj;
11458 wxDC *arg1 = (wxDC *) 0 ;
11459 wxBitmap *arg2 = 0 ;
e811c8ce
RD
11460 int arg3 ;
11461 int arg4 ;
11462 bool arg5 = (bool) False ;
d14a1e28
RD
11463 PyObject * obj0 = 0 ;
11464 PyObject * obj1 = 0 ;
994141e6
RD
11465 PyObject * obj2 = 0 ;
11466 PyObject * obj3 = 0 ;
d14a1e28
RD
11467 PyObject * obj4 = 0 ;
11468 char *kwnames[] = {
11469 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11470 };
11471
03e37cd5 11472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:DC_DrawBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
11473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11475 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
11476 SWIG_POINTER_EXCEPTION | 0)) == -1)
11477 SWIG_fail;
d14a1e28 11478 if (arg2 == NULL) {
15afbcd0
RD
11479 PyErr_SetString(PyExc_TypeError,"null reference");
11480 SWIG_fail;
994141e6 11481 }
15afbcd0
RD
11482 arg3 = (int) SWIG_AsInt(obj2);
11483 if (PyErr_Occurred()) SWIG_fail;
11484 arg4 = (int) SWIG_AsInt(obj3);
11485 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11486 if (obj4) {
15afbcd0
RD
11487 arg5 = (bool) SWIG_AsBool(obj4);
11488 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11489 }
11490 {
11491 PyThreadState* __tstate = wxPyBeginAllowThreads();
11492 (arg1)->DrawBitmap((wxBitmap const &)*arg2,arg3,arg4,arg5);
11493
11494 wxPyEndAllowThreads(__tstate);
11495 if (PyErr_Occurred()) SWIG_fail;
11496 }
11497 Py_INCREF(Py_None); resultobj = Py_None;
11498 return resultobj;
11499 fail:
11500 return NULL;
11501}
11502
11503
03e37cd5 11504static PyObject *_wrap_DC_DrawBitmapPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11505 PyObject *resultobj;
11506 wxDC *arg1 = (wxDC *) 0 ;
11507 wxBitmap *arg2 = 0 ;
11508 wxPoint *arg3 = 0 ;
e811c8ce 11509 bool arg4 = (bool) False ;
d14a1e28
RD
11510 wxPoint temp3 ;
11511 PyObject * obj0 = 0 ;
11512 PyObject * obj1 = 0 ;
11513 PyObject * obj2 = 0 ;
11514 PyObject * obj3 = 0 ;
11515 char *kwnames[] = {
11516 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11517 };
11518
03e37cd5 11519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11522 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
11523 SWIG_POINTER_EXCEPTION | 0)) == -1)
11524 SWIG_fail;
d14a1e28 11525 if (arg2 == NULL) {
15afbcd0
RD
11526 PyErr_SetString(PyExc_TypeError,"null reference");
11527 SWIG_fail;
d14a1e28
RD
11528 }
11529 {
11530 arg3 = &temp3;
11531 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11532 }
11533 if (obj3) {
15afbcd0
RD
11534 arg4 = (bool) SWIG_AsBool(obj3);
11535 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11536 }
11537 {
11538 PyThreadState* __tstate = wxPyBeginAllowThreads();
11539 (arg1)->DrawBitmap((wxBitmap const &)*arg2,(wxPoint const &)*arg3,arg4);
11540
11541 wxPyEndAllowThreads(__tstate);
11542 if (PyErr_Occurred()) SWIG_fail;
11543 }
11544 Py_INCREF(Py_None); resultobj = Py_None;
11545 return resultobj;
11546 fail:
11547 return NULL;
11548}
11549
11550
03e37cd5 11551static PyObject *_wrap_DC_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11552 PyObject *resultobj;
11553 wxDC *arg1 = (wxDC *) 0 ;
11554 wxString *arg2 = 0 ;
e811c8ce
RD
11555 int arg3 ;
11556 int arg4 ;
11557 bool temp2 = False ;
d14a1e28
RD
11558 PyObject * obj0 = 0 ;
11559 PyObject * obj1 = 0 ;
994141e6
RD
11560 PyObject * obj2 = 0 ;
11561 PyObject * obj3 = 0 ;
d14a1e28
RD
11562 char *kwnames[] = {
11563 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11564 };
11565
03e37cd5 11566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11569 {
11570 arg2 = wxString_in_helper(obj1);
11571 if (arg2 == NULL) SWIG_fail;
e811c8ce 11572 temp2 = True;
d14a1e28 11573 }
15afbcd0
RD
11574 arg3 = (int) SWIG_AsInt(obj2);
11575 if (PyErr_Occurred()) SWIG_fail;
11576 arg4 = (int) SWIG_AsInt(obj3);
11577 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11578 {
11579 PyThreadState* __tstate = wxPyBeginAllowThreads();
11580 (arg1)->DrawText((wxString const &)*arg2,arg3,arg4);
11581
11582 wxPyEndAllowThreads(__tstate);
11583 if (PyErr_Occurred()) SWIG_fail;
11584 }
11585 Py_INCREF(Py_None); resultobj = Py_None;
11586 {
11587 if (temp2)
11588 delete arg2;
11589 }
11590 return resultobj;
11591 fail:
11592 {
11593 if (temp2)
11594 delete arg2;
11595 }
11596 return NULL;
11597}
11598
11599
03e37cd5 11600static PyObject *_wrap_DC_DrawTextPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11601 PyObject *resultobj;
11602 wxDC *arg1 = (wxDC *) 0 ;
11603 wxString *arg2 = 0 ;
11604 wxPoint *arg3 = 0 ;
e811c8ce 11605 bool temp2 = False ;
d14a1e28
RD
11606 wxPoint temp3 ;
11607 PyObject * obj0 = 0 ;
11608 PyObject * obj1 = 0 ;
11609 PyObject * obj2 = 0 ;
11610 char *kwnames[] = {
11611 (char *) "self",(char *) "text",(char *) "pt", NULL
11612 };
11613
03e37cd5 11614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawTextPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11617 {
11618 arg2 = wxString_in_helper(obj1);
11619 if (arg2 == NULL) SWIG_fail;
e811c8ce 11620 temp2 = True;
d14a1e28
RD
11621 }
11622 {
11623 arg3 = &temp3;
11624 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11625 }
11626 {
11627 PyThreadState* __tstate = wxPyBeginAllowThreads();
11628 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
11629
11630 wxPyEndAllowThreads(__tstate);
11631 if (PyErr_Occurred()) SWIG_fail;
11632 }
11633 Py_INCREF(Py_None); resultobj = Py_None;
11634 {
11635 if (temp2)
11636 delete arg2;
11637 }
11638 return resultobj;
11639 fail:
11640 {
11641 if (temp2)
11642 delete arg2;
11643 }
11644 return NULL;
11645}
11646
11647
03e37cd5 11648static PyObject *_wrap_DC_DrawRotatedText(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11649 PyObject *resultobj;
11650 wxDC *arg1 = (wxDC *) 0 ;
11651 wxString *arg2 = 0 ;
e811c8ce
RD
11652 int arg3 ;
11653 int arg4 ;
d14a1e28 11654 double arg5 ;
e811c8ce 11655 bool temp2 = False ;
d14a1e28
RD
11656 PyObject * obj0 = 0 ;
11657 PyObject * obj1 = 0 ;
994141e6
RD
11658 PyObject * obj2 = 0 ;
11659 PyObject * obj3 = 0 ;
11660 PyObject * obj4 = 0 ;
d14a1e28
RD
11661 char *kwnames[] = {
11662 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11663 };
11664
03e37cd5 11665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawRotatedText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
11666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11668 {
11669 arg2 = wxString_in_helper(obj1);
11670 if (arg2 == NULL) SWIG_fail;
e811c8ce 11671 temp2 = True;
d14a1e28 11672 }
15afbcd0
RD
11673 arg3 = (int) SWIG_AsInt(obj2);
11674 if (PyErr_Occurred()) SWIG_fail;
11675 arg4 = (int) SWIG_AsInt(obj3);
11676 if (PyErr_Occurred()) SWIG_fail;
11677 arg5 = (double) SWIG_AsDouble(obj4);
11678 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11679 {
11680 PyThreadState* __tstate = wxPyBeginAllowThreads();
11681 (arg1)->DrawRotatedText((wxString const &)*arg2,arg3,arg4,arg5);
11682
11683 wxPyEndAllowThreads(__tstate);
11684 if (PyErr_Occurred()) SWIG_fail;
11685 }
11686 Py_INCREF(Py_None); resultobj = Py_None;
11687 {
11688 if (temp2)
11689 delete arg2;
11690 }
11691 return resultobj;
11692 fail:
11693 {
11694 if (temp2)
11695 delete arg2;
11696 }
11697 return NULL;
11698}
11699
11700
03e37cd5 11701static PyObject *_wrap_DC_DrawRotatedTextPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11702 PyObject *resultobj;
11703 wxDC *arg1 = (wxDC *) 0 ;
11704 wxString *arg2 = 0 ;
11705 wxPoint *arg3 = 0 ;
11706 double arg4 ;
e811c8ce 11707 bool temp2 = False ;
d14a1e28
RD
11708 wxPoint temp3 ;
11709 PyObject * obj0 = 0 ;
11710 PyObject * obj1 = 0 ;
11711 PyObject * obj2 = 0 ;
994141e6 11712 PyObject * obj3 = 0 ;
d14a1e28
RD
11713 char *kwnames[] = {
11714 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11715 };
11716
03e37cd5 11717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11720 {
11721 arg2 = wxString_in_helper(obj1);
11722 if (arg2 == NULL) SWIG_fail;
e811c8ce 11723 temp2 = True;
d14a1e28
RD
11724 }
11725 {
11726 arg3 = &temp3;
11727 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11728 }
15afbcd0
RD
11729 arg4 = (double) SWIG_AsDouble(obj3);
11730 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11731 {
11732 PyThreadState* __tstate = wxPyBeginAllowThreads();
11733 (arg1)->DrawRotatedText((wxString const &)*arg2,(wxPoint const &)*arg3,arg4);
11734
11735 wxPyEndAllowThreads(__tstate);
11736 if (PyErr_Occurred()) SWIG_fail;
11737 }
11738 Py_INCREF(Py_None); resultobj = Py_None;
11739 {
11740 if (temp2)
11741 delete arg2;
11742 }
11743 return resultobj;
11744 fail:
11745 {
11746 if (temp2)
11747 delete arg2;
11748 }
11749 return NULL;
11750}
11751
11752
03e37cd5 11753static PyObject *_wrap_DC_Blit(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11754 PyObject *resultobj;
11755 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
11756 int arg2 ;
11757 int arg3 ;
11758 int arg4 ;
11759 int arg5 ;
d14a1e28 11760 wxDC *arg6 = (wxDC *) 0 ;
e811c8ce
RD
11761 int arg7 ;
11762 int arg8 ;
d14a1e28 11763 int arg9 = (int) wxCOPY ;
e811c8ce
RD
11764 bool arg10 = (bool) False ;
11765 int arg11 = (int) -1 ;
11766 int arg12 = (int) -1 ;
d14a1e28
RD
11767 bool result;
11768 PyObject * obj0 = 0 ;
994141e6
RD
11769 PyObject * obj1 = 0 ;
11770 PyObject * obj2 = 0 ;
11771 PyObject * obj3 = 0 ;
11772 PyObject * obj4 = 0 ;
d14a1e28 11773 PyObject * obj5 = 0 ;
994141e6
RD
11774 PyObject * obj6 = 0 ;
11775 PyObject * obj7 = 0 ;
11776 PyObject * obj8 = 0 ;
d14a1e28 11777 PyObject * obj9 = 0 ;
994141e6
RD
11778 PyObject * obj10 = 0 ;
11779 PyObject * obj11 = 0 ;
d14a1e28
RD
11780 char *kwnames[] = {
11781 (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
11782 };
11783
03e37cd5 11784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO|OOOO:DC_Blit",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11)) goto fail;
15afbcd0
RD
11785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11787 arg2 = (int) SWIG_AsInt(obj1);
11788 if (PyErr_Occurred()) SWIG_fail;
11789 arg3 = (int) SWIG_AsInt(obj2);
11790 if (PyErr_Occurred()) SWIG_fail;
11791 arg4 = (int) SWIG_AsInt(obj3);
11792 if (PyErr_Occurred()) SWIG_fail;
11793 arg5 = (int) SWIG_AsInt(obj4);
11794 if (PyErr_Occurred()) SWIG_fail;
11795 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxDC,
11796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11797 arg7 = (int) SWIG_AsInt(obj6);
11798 if (PyErr_Occurred()) SWIG_fail;
11799 arg8 = (int) SWIG_AsInt(obj7);
11800 if (PyErr_Occurred()) SWIG_fail;
994141e6 11801 if (obj8) {
15afbcd0
RD
11802 arg9 = (int) SWIG_AsInt(obj8);
11803 if (PyErr_Occurred()) SWIG_fail;
994141e6 11804 }
d14a1e28 11805 if (obj9) {
15afbcd0
RD
11806 arg10 = (bool) SWIG_AsBool(obj9);
11807 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11808 }
11809 if (obj10) {
15afbcd0
RD
11810 arg11 = (int) SWIG_AsInt(obj10);
11811 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11812 }
11813 if (obj11) {
15afbcd0
RD
11814 arg12 = (int) SWIG_AsInt(obj11);
11815 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11816 }
11817 {
11818 PyThreadState* __tstate = wxPyBeginAllowThreads();
11819 result = (bool)(arg1)->Blit(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
11820
11821 wxPyEndAllowThreads(__tstate);
11822 if (PyErr_Occurred()) SWIG_fail;
11823 }
4f89f6a3
RD
11824 {
11825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11826 }
d14a1e28
RD
11827 return resultobj;
11828 fail:
11829 return NULL;
11830}
11831
11832
03e37cd5 11833static PyObject *_wrap_DC_BlitPointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11834 PyObject *resultobj;
11835 wxDC *arg1 = (wxDC *) 0 ;
11836 wxPoint *arg2 = 0 ;
11837 wxSize *arg3 = 0 ;
11838 wxDC *arg4 = (wxDC *) 0 ;
11839 wxPoint *arg5 = 0 ;
11840 int arg6 = (int) wxCOPY ;
e811c8ce 11841 bool arg7 = (bool) False ;
d14a1e28
RD
11842 wxPoint const &arg8_defvalue = wxDefaultPosition ;
11843 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
11844 bool result;
11845 wxPoint temp2 ;
11846 wxSize temp3 ;
11847 wxPoint temp5 ;
11848 wxPoint temp8 ;
11849 PyObject * obj0 = 0 ;
11850 PyObject * obj1 = 0 ;
11851 PyObject * obj2 = 0 ;
11852 PyObject * obj3 = 0 ;
11853 PyObject * obj4 = 0 ;
994141e6 11854 PyObject * obj5 = 0 ;
d14a1e28
RD
11855 PyObject * obj6 = 0 ;
11856 PyObject * obj7 = 0 ;
11857 char *kwnames[] = {
11858 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11859 };
11860
03e37cd5 11861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
11862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11864 {
11865 arg2 = &temp2;
11866 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11867 }
11868 {
11869 arg3 = &temp3;
11870 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
11871 }
15afbcd0
RD
11872 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDC,
11873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11874 {
11875 arg5 = &temp5;
11876 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11877 }
994141e6 11878 if (obj5) {
15afbcd0
RD
11879 arg6 = (int) SWIG_AsInt(obj5);
11880 if (PyErr_Occurred()) SWIG_fail;
994141e6 11881 }
d14a1e28 11882 if (obj6) {
15afbcd0
RD
11883 arg7 = (bool) SWIG_AsBool(obj6);
11884 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11885 }
11886 if (obj7) {
11887 {
11888 arg8 = &temp8;
11889 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
11890 }
11891 }
11892 {
11893 PyThreadState* __tstate = wxPyBeginAllowThreads();
11894 result = (bool)(arg1)->Blit((wxPoint const &)*arg2,(wxSize const &)*arg3,arg4,(wxPoint const &)*arg5,arg6,arg7,(wxPoint const &)*arg8);
11895
11896 wxPyEndAllowThreads(__tstate);
11897 if (PyErr_Occurred()) SWIG_fail;
11898 }
4f89f6a3
RD
11899 {
11900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11901 }
d14a1e28
RD
11902 return resultobj;
11903 fail:
11904 return NULL;
11905}
11906
11907
03e37cd5 11908static PyObject *_wrap_DC_SetClippingRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11909 PyObject *resultobj;
11910 wxDC *arg1 = (wxDC *) 0 ;
11911 int arg2 ;
03e37cd5
RD
11912 int arg3 ;
11913 int arg4 ;
11914 int arg5 ;
d14a1e28
RD
11915 PyObject * obj0 = 0 ;
11916 PyObject * obj1 = 0 ;
994141e6
RD
11917 PyObject * obj2 = 0 ;
11918 PyObject * obj3 = 0 ;
03e37cd5 11919 PyObject * obj4 = 0 ;
d14a1e28 11920 char *kwnames[] = {
03e37cd5 11921 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
d14a1e28
RD
11922 };
11923
03e37cd5 11924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_SetClippingRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
11925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
03e37cd5
RD
11927 arg2 = (int) SWIG_AsInt(obj1);
11928 if (PyErr_Occurred()) SWIG_fail;
11929 arg3 = (int) SWIG_AsInt(obj2);
11930 if (PyErr_Occurred()) SWIG_fail;
11931 arg4 = (int) SWIG_AsInt(obj3);
11932 if (PyErr_Occurred()) SWIG_fail;
11933 arg5 = (int) SWIG_AsInt(obj4);
11934 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11935 {
11936 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11937 (arg1)->SetClippingRegion(arg2,arg3,arg4,arg5);
d14a1e28
RD
11938
11939 wxPyEndAllowThreads(__tstate);
11940 if (PyErr_Occurred()) SWIG_fail;
11941 }
11942 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
11943 return resultobj;
11944 fail:
d14a1e28
RD
11945 return NULL;
11946}
11947
11948
03e37cd5 11949static PyObject *_wrap_DC_SetClippingRegionPointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11950 PyObject *resultobj;
11951 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
11952 wxPoint *arg2 = 0 ;
11953 wxSize *arg3 = 0 ;
11954 wxPoint temp2 ;
11955 wxSize temp3 ;
d14a1e28
RD
11956 PyObject * obj0 = 0 ;
11957 PyObject * obj1 = 0 ;
994141e6 11958 PyObject * obj2 = 0 ;
d14a1e28 11959 char *kwnames[] = {
03e37cd5 11960 (char *) "self",(char *) "pt",(char *) "sz", NULL
d14a1e28
RD
11961 };
11962
03e37cd5 11963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11966 {
03e37cd5
RD
11967 arg2 = &temp2;
11968 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
994141e6 11969 }
03e37cd5
RD
11970 {
11971 arg3 = &temp3;
11972 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
994141e6 11973 }
d14a1e28
RD
11974 {
11975 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11976 (arg1)->SetClippingRegion((wxPoint const &)*arg2,(wxSize const &)*arg3);
d14a1e28
RD
11977
11978 wxPyEndAllowThreads(__tstate);
11979 if (PyErr_Occurred()) SWIG_fail;
11980 }
11981 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
11982 return resultobj;
11983 fail:
d14a1e28
RD
11984 return NULL;
11985}
11986
11987
03e37cd5 11988static PyObject *_wrap_DC_SetClippingRegionAsRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11989 PyObject *resultobj;
11990 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5 11991 wxRegion *arg2 = 0 ;
d14a1e28
RD
11992 PyObject * obj0 = 0 ;
11993 PyObject * obj1 = 0 ;
d14a1e28 11994 char *kwnames[] = {
03e37cd5 11995 (char *) "self",(char *) "region", NULL
d14a1e28
RD
11996 };
11997
03e37cd5
RD
11998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames,&obj0,&obj1)) goto fail;
11999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12001 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
12002 SWIG_POINTER_EXCEPTION | 0)) == -1)
12003 SWIG_fail;
12004 if (arg2 == NULL) {
12005 PyErr_SetString(PyExc_TypeError,"null reference");
12006 SWIG_fail;
12007 }
12008 {
12009 PyThreadState* __tstate = wxPyBeginAllowThreads();
12010 (arg1)->SetClippingRegion((wxRegion const &)*arg2);
12011
12012 wxPyEndAllowThreads(__tstate);
12013 if (PyErr_Occurred()) SWIG_fail;
12014 }
12015 Py_INCREF(Py_None); resultobj = Py_None;
12016 return resultobj;
12017 fail:
12018 return NULL;
12019}
12020
12021
12022static PyObject *_wrap_DC_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
12023 PyObject *resultobj;
12024 wxDC *arg1 = (wxDC *) 0 ;
12025 wxRect *arg2 = 0 ;
12026 wxRect temp2 ;
12027 PyObject * obj0 = 0 ;
12028 PyObject * obj1 = 0 ;
12029 char *kwnames[] = {
12030 (char *) "self",(char *) "rect", NULL
12031 };
12032
12033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
12034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12036 {
12037 arg2 = &temp2;
12038 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12039 }
12040 {
12041 PyThreadState* __tstate = wxPyBeginAllowThreads();
12042 (arg1)->SetClippingRegion((wxRect const &)*arg2);
12043
12044 wxPyEndAllowThreads(__tstate);
12045 if (PyErr_Occurred()) SWIG_fail;
12046 }
12047 Py_INCREF(Py_None); resultobj = Py_None;
12048 return resultobj;
12049 fail:
12050 return NULL;
12051}
12052
12053
12054static PyObject *_wrap_DC_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
12055 PyObject *resultobj;
12056 wxDC *arg1 = (wxDC *) 0 ;
12057 int arg2 ;
12058 wxPoint *arg3 = (wxPoint *) 0 ;
12059 int arg4 = (int) 0 ;
12060 int arg5 = (int) 0 ;
12061 PyObject * obj0 = 0 ;
12062 PyObject * obj1 = 0 ;
12063 PyObject * obj2 = 0 ;
12064 PyObject * obj3 = 0 ;
12065 char *kwnames[] = {
12066 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12067 };
12068
12069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DC_DrawLines",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12072 {
12073 arg3 = wxPoint_LIST_helper(obj1, &arg2);
12074 if (arg3 == NULL) SWIG_fail;
12075 }
12076 if (obj2) {
12077 arg4 = (int) SWIG_AsInt(obj2);
12078 if (PyErr_Occurred()) SWIG_fail;
12079 }
12080 if (obj3) {
12081 arg5 = (int) SWIG_AsInt(obj3);
12082 if (PyErr_Occurred()) SWIG_fail;
12083 }
12084 {
12085 PyThreadState* __tstate = wxPyBeginAllowThreads();
12086 (arg1)->DrawLines(arg2,arg3,arg4,arg5);
12087
12088 wxPyEndAllowThreads(__tstate);
12089 if (PyErr_Occurred()) SWIG_fail;
12090 }
12091 Py_INCREF(Py_None); resultobj = Py_None;
12092 {
12093 if (arg3) delete [] arg3;
12094 }
12095 return resultobj;
12096 fail:
12097 {
12098 if (arg3) delete [] arg3;
12099 }
12100 return NULL;
12101}
12102
12103
12104static PyObject *_wrap_DC_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
12105 PyObject *resultobj;
12106 wxDC *arg1 = (wxDC *) 0 ;
12107 int arg2 ;
12108 wxPoint *arg3 = (wxPoint *) 0 ;
12109 int arg4 = (int) 0 ;
12110 int arg5 = (int) 0 ;
12111 int arg6 = (int) wxODDEVEN_RULE ;
12112 PyObject * obj0 = 0 ;
12113 PyObject * obj1 = 0 ;
12114 PyObject * obj2 = 0 ;
12115 PyObject * obj3 = 0 ;
12116 PyObject * obj4 = 0 ;
12117 char *kwnames[] = {
12118 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12119 };
12120
12121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DC_DrawPolygon",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12124 {
12125 arg3 = wxPoint_LIST_helper(obj1, &arg2);
12126 if (arg3 == NULL) SWIG_fail;
12127 }
12128 if (obj2) {
12129 arg4 = (int) SWIG_AsInt(obj2);
12130 if (PyErr_Occurred()) SWIG_fail;
12131 }
12132 if (obj3) {
12133 arg5 = (int) SWIG_AsInt(obj3);
12134 if (PyErr_Occurred()) SWIG_fail;
12135 }
12136 if (obj4) {
12137 arg6 = (int) SWIG_AsInt(obj4);
12138 if (PyErr_Occurred()) SWIG_fail;
12139 }
12140 {
12141 PyThreadState* __tstate = wxPyBeginAllowThreads();
12142 (arg1)->DrawPolygon(arg2,arg3,arg4,arg5,arg6);
12143
12144 wxPyEndAllowThreads(__tstate);
12145 if (PyErr_Occurred()) SWIG_fail;
12146 }
12147 Py_INCREF(Py_None); resultobj = Py_None;
12148 {
12149 if (arg3) delete [] arg3;
12150 }
12151 return resultobj;
12152 fail:
12153 {
12154 if (arg3) delete [] arg3;
12155 }
12156 return NULL;
12157}
12158
12159
12160static PyObject *_wrap_DC_DrawLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
12161 PyObject *resultobj;
12162 wxDC *arg1 = (wxDC *) 0 ;
12163 wxString *arg2 = 0 ;
12164 wxRect *arg3 = 0 ;
12165 int arg4 = (int) wxALIGN_LEFT|wxALIGN_TOP ;
12166 int arg5 = (int) -1 ;
12167 bool temp2 = False ;
12168 wxRect temp3 ;
12169 PyObject * obj0 = 0 ;
12170 PyObject * obj1 = 0 ;
12171 PyObject * obj2 = 0 ;
12172 PyObject * obj3 = 0 ;
12173 PyObject * obj4 = 0 ;
12174 char *kwnames[] = {
12175 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12176 };
12177
12178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DC_DrawLabel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
12179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12181 {
12182 arg2 = wxString_in_helper(obj1);
12183 if (arg2 == NULL) SWIG_fail;
e811c8ce 12184 temp2 = True;
d14a1e28
RD
12185 }
12186 {
12187 arg3 = &temp3;
12188 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
12189 }
994141e6 12190 if (obj3) {
15afbcd0
RD
12191 arg4 = (int) SWIG_AsInt(obj3);
12192 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12193 }
12194 if (obj4) {
15afbcd0
RD
12195 arg5 = (int) SWIG_AsInt(obj4);
12196 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12197 }
12198 {
12199 PyThreadState* __tstate = wxPyBeginAllowThreads();
12200 (arg1)->DrawLabel((wxString const &)*arg2,(wxRect const &)*arg3,arg4,arg5);
d14a1e28
RD
12201
12202 wxPyEndAllowThreads(__tstate);
12203 if (PyErr_Occurred()) SWIG_fail;
12204 }
12205 Py_INCREF(Py_None); resultobj = Py_None;
12206 {
12207 if (temp2)
12208 delete arg2;
12209 }
12210 return resultobj;
12211 fail:
12212 {
12213 if (temp2)
12214 delete arg2;
12215 }
12216 return NULL;
12217}
12218
12219
12220static PyObject *_wrap_DC_DrawImageLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
12221 PyObject *resultobj;
12222 wxDC *arg1 = (wxDC *) 0 ;
12223 wxString *arg2 = 0 ;
12224 wxBitmap *arg3 = 0 ;
12225 wxRect *arg4 = 0 ;
12226 int arg5 = (int) wxALIGN_LEFT|wxALIGN_TOP ;
12227 int arg6 = (int) -1 ;
12228 wxRect result;
e811c8ce 12229 bool temp2 = False ;
d14a1e28
RD
12230 wxRect temp4 ;
12231 PyObject * obj0 = 0 ;
12232 PyObject * obj1 = 0 ;
12233 PyObject * obj2 = 0 ;
12234 PyObject * obj3 = 0 ;
994141e6
RD
12235 PyObject * obj4 = 0 ;
12236 PyObject * obj5 = 0 ;
d14a1e28
RD
12237 char *kwnames[] = {
12238 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12239 };
12240
994141e6 12241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
12242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12244 {
12245 arg2 = wxString_in_helper(obj1);
12246 if (arg2 == NULL) SWIG_fail;
e811c8ce 12247 temp2 = True;
d14a1e28 12248 }
15afbcd0
RD
12249 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
12250 SWIG_POINTER_EXCEPTION | 0)) == -1)
12251 SWIG_fail;
d14a1e28 12252 if (arg3 == NULL) {
15afbcd0
RD
12253 PyErr_SetString(PyExc_TypeError,"null reference");
12254 SWIG_fail;
d14a1e28
RD
12255 }
12256 {
12257 arg4 = &temp4;
12258 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
12259 }
994141e6 12260 if (obj4) {
15afbcd0
RD
12261 arg5 = (int) SWIG_AsInt(obj4);
12262 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12263 }
12264 if (obj5) {
15afbcd0
RD
12265 arg6 = (int) SWIG_AsInt(obj5);
12266 if (PyErr_Occurred()) SWIG_fail;
994141e6 12267 }
d14a1e28
RD
12268 {
12269 PyThreadState* __tstate = wxPyBeginAllowThreads();
12270 result = wxDC_DrawImageLabel(arg1,(wxString const &)*arg2,(wxBitmap const &)*arg3,(wxRect const &)*arg4,arg5,arg6);
12271
12272 wxPyEndAllowThreads(__tstate);
12273 if (PyErr_Occurred()) SWIG_fail;
12274 }
12275 {
12276 wxRect * resultptr;
12277 resultptr = new wxRect((wxRect &) result);
15afbcd0 12278 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
12279 }
12280 {
12281 if (temp2)
12282 delete arg2;
12283 }
12284 return resultobj;
12285 fail:
12286 {
12287 if (temp2)
12288 delete arg2;
12289 }
12290 return NULL;
12291}
12292
12293
12294static PyObject *_wrap_DC_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
12295 PyObject *resultobj;
12296 wxDC *arg1 = (wxDC *) 0 ;
12297 int arg2 ;
12298 wxPoint *arg3 = (wxPoint *) 0 ;
12299 PyObject * obj0 = 0 ;
12300 PyObject * obj1 = 0 ;
12301 char *kwnames[] = {
12302 (char *) "self",(char *) "points", NULL
12303 };
12304
12305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawSpline",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12308 {
12309 arg3 = wxPoint_LIST_helper(obj1, &arg2);
12310 if (arg3 == NULL) SWIG_fail;
12311 }
12312 {
12313 PyThreadState* __tstate = wxPyBeginAllowThreads();
12314 (arg1)->DrawSpline(arg2,arg3);
12315
12316 wxPyEndAllowThreads(__tstate);
12317 if (PyErr_Occurred()) SWIG_fail;
12318 }
12319 Py_INCREF(Py_None); resultobj = Py_None;
12320 {
12321 if (arg3) delete [] arg3;
12322 }
12323 return resultobj;
12324 fail:
12325 {
12326 if (arg3) delete [] arg3;
12327 }
12328 return NULL;
12329}
12330
12331
12332static PyObject *_wrap_DC_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
12333 PyObject *resultobj;
12334 wxDC *arg1 = (wxDC *) 0 ;
12335 PyObject * obj0 = 0 ;
12336 char *kwnames[] = {
12337 (char *) "self", NULL
12338 };
12339
12340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
12341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12343 {
12344 PyThreadState* __tstate = wxPyBeginAllowThreads();
12345 (arg1)->Clear();
12346
12347 wxPyEndAllowThreads(__tstate);
12348 if (PyErr_Occurred()) SWIG_fail;
12349 }
12350 Py_INCREF(Py_None); resultobj = Py_None;
12351 return resultobj;
12352 fail:
12353 return NULL;
12354}
12355
12356
12357static PyObject *_wrap_DC_StartDoc(PyObject *self, PyObject *args, PyObject *kwargs) {
12358 PyObject *resultobj;
12359 wxDC *arg1 = (wxDC *) 0 ;
12360 wxString *arg2 = 0 ;
12361 bool result;
e811c8ce 12362 bool temp2 = False ;
d14a1e28
RD
12363 PyObject * obj0 = 0 ;
12364 PyObject * obj1 = 0 ;
12365 char *kwnames[] = {
12366 (char *) "self",(char *) "message", NULL
12367 };
12368
12369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_StartDoc",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12372 {
12373 arg2 = wxString_in_helper(obj1);
12374 if (arg2 == NULL) SWIG_fail;
e811c8ce 12375 temp2 = True;
d14a1e28
RD
12376 }
12377 {
12378 PyThreadState* __tstate = wxPyBeginAllowThreads();
12379 result = (bool)(arg1)->StartDoc((wxString const &)*arg2);
12380
12381 wxPyEndAllowThreads(__tstate);
12382 if (PyErr_Occurred()) SWIG_fail;
12383 }
4f89f6a3
RD
12384 {
12385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12386 }
d14a1e28
RD
12387 {
12388 if (temp2)
12389 delete arg2;
12390 }
12391 return resultobj;
12392 fail:
12393 {
12394 if (temp2)
12395 delete arg2;
12396 }
12397 return NULL;
12398}
12399
12400
12401static PyObject *_wrap_DC_EndDoc(PyObject *self, PyObject *args, PyObject *kwargs) {
12402 PyObject *resultobj;
12403 wxDC *arg1 = (wxDC *) 0 ;
12404 PyObject * obj0 = 0 ;
12405 char *kwnames[] = {
12406 (char *) "self", NULL
12407 };
12408
12409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_EndDoc",kwnames,&obj0)) goto fail;
15afbcd0
RD
12410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12412 {
12413 PyThreadState* __tstate = wxPyBeginAllowThreads();
12414 (arg1)->EndDoc();
12415
12416 wxPyEndAllowThreads(__tstate);
12417 if (PyErr_Occurred()) SWIG_fail;
12418 }
12419 Py_INCREF(Py_None); resultobj = Py_None;
12420 return resultobj;
12421 fail:
12422 return NULL;
12423}
12424
12425
12426static PyObject *_wrap_DC_StartPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12427 PyObject *resultobj;
12428 wxDC *arg1 = (wxDC *) 0 ;
12429 PyObject * obj0 = 0 ;
12430 char *kwnames[] = {
12431 (char *) "self", NULL
12432 };
12433
12434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_StartPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
12435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12437 {
12438 PyThreadState* __tstate = wxPyBeginAllowThreads();
12439 (arg1)->StartPage();
12440
12441 wxPyEndAllowThreads(__tstate);
12442 if (PyErr_Occurred()) SWIG_fail;
12443 }
12444 Py_INCREF(Py_None); resultobj = Py_None;
12445 return resultobj;
12446 fail:
12447 return NULL;
12448}
12449
12450
12451static PyObject *_wrap_DC_EndPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12452 PyObject *resultobj;
12453 wxDC *arg1 = (wxDC *) 0 ;
12454 PyObject * obj0 = 0 ;
12455 char *kwnames[] = {
12456 (char *) "self", NULL
12457 };
12458
12459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_EndPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
12460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12462 {
12463 PyThreadState* __tstate = wxPyBeginAllowThreads();
12464 (arg1)->EndPage();
12465
12466 wxPyEndAllowThreads(__tstate);
12467 if (PyErr_Occurred()) SWIG_fail;
12468 }
12469 Py_INCREF(Py_None); resultobj = Py_None;
12470 return resultobj;
12471 fail:
12472 return NULL;
12473}
12474
12475
12476static PyObject *_wrap_DC_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12477 PyObject *resultobj;
12478 wxDC *arg1 = (wxDC *) 0 ;
12479 wxFont *arg2 = 0 ;
12480 PyObject * obj0 = 0 ;
12481 PyObject * obj1 = 0 ;
12482 char *kwnames[] = {
12483 (char *) "self",(char *) "font", NULL
12484 };
12485
12486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12489 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12490 SWIG_POINTER_EXCEPTION | 0)) == -1)
12491 SWIG_fail;
d14a1e28 12492 if (arg2 == NULL) {
15afbcd0
RD
12493 PyErr_SetString(PyExc_TypeError,"null reference");
12494 SWIG_fail;
d14a1e28
RD
12495 }
12496 {
12497 PyThreadState* __tstate = wxPyBeginAllowThreads();
12498 (arg1)->SetFont((wxFont const &)*arg2);
12499
12500 wxPyEndAllowThreads(__tstate);
12501 if (PyErr_Occurred()) SWIG_fail;
12502 }
12503 Py_INCREF(Py_None); resultobj = Py_None;
12504 return resultobj;
12505 fail:
12506 return NULL;
12507}
12508
12509
12510static PyObject *_wrap_DC_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
12511 PyObject *resultobj;
12512 wxDC *arg1 = (wxDC *) 0 ;
12513 wxPen *arg2 = 0 ;
12514 PyObject * obj0 = 0 ;
12515 PyObject * obj1 = 0 ;
12516 char *kwnames[] = {
12517 (char *) "self",(char *) "pen", NULL
12518 };
12519
12520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetPen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12523 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPen,
12524 SWIG_POINTER_EXCEPTION | 0)) == -1)
12525 SWIG_fail;
d14a1e28 12526 if (arg2 == NULL) {
15afbcd0
RD
12527 PyErr_SetString(PyExc_TypeError,"null reference");
12528 SWIG_fail;
d14a1e28
RD
12529 }
12530 {
12531 PyThreadState* __tstate = wxPyBeginAllowThreads();
12532 (arg1)->SetPen((wxPen const &)*arg2);
12533
12534 wxPyEndAllowThreads(__tstate);
12535 if (PyErr_Occurred()) SWIG_fail;
12536 }
12537 Py_INCREF(Py_None); resultobj = Py_None;
12538 return resultobj;
12539 fail:
12540 return NULL;
12541}
12542
12543
12544static PyObject *_wrap_DC_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
12545 PyObject *resultobj;
12546 wxDC *arg1 = (wxDC *) 0 ;
12547 wxBrush *arg2 = 0 ;
12548 PyObject * obj0 = 0 ;
12549 PyObject * obj1 = 0 ;
12550 char *kwnames[] = {
12551 (char *) "self",(char *) "brush", NULL
12552 };
12553
12554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetBrush",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12557 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBrush,
12558 SWIG_POINTER_EXCEPTION | 0)) == -1)
12559 SWIG_fail;
d14a1e28 12560 if (arg2 == NULL) {
15afbcd0
RD
12561 PyErr_SetString(PyExc_TypeError,"null reference");
12562 SWIG_fail;
d14a1e28
RD
12563 }
12564 {
12565 PyThreadState* __tstate = wxPyBeginAllowThreads();
12566 (arg1)->SetBrush((wxBrush const &)*arg2);
12567
12568 wxPyEndAllowThreads(__tstate);
12569 if (PyErr_Occurred()) SWIG_fail;
12570 }
12571 Py_INCREF(Py_None); resultobj = Py_None;
12572 return resultobj;
12573 fail:
12574 return NULL;
12575}
12576
12577
12578static PyObject *_wrap_DC_SetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12579 PyObject *resultobj;
12580 wxDC *arg1 = (wxDC *) 0 ;
12581 wxBrush *arg2 = 0 ;
12582 PyObject * obj0 = 0 ;
12583 PyObject * obj1 = 0 ;
12584 char *kwnames[] = {
12585 (char *) "self",(char *) "brush", NULL
12586 };
12587
12588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetBackground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12591 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBrush,
12592 SWIG_POINTER_EXCEPTION | 0)) == -1)
12593 SWIG_fail;
d14a1e28 12594 if (arg2 == NULL) {
15afbcd0
RD
12595 PyErr_SetString(PyExc_TypeError,"null reference");
12596 SWIG_fail;
d14a1e28
RD
12597 }
12598 {
12599 PyThreadState* __tstate = wxPyBeginAllowThreads();
12600 (arg1)->SetBackground((wxBrush const &)*arg2);
12601
12602 wxPyEndAllowThreads(__tstate);
12603 if (PyErr_Occurred()) SWIG_fail;
12604 }
12605 Py_INCREF(Py_None); resultobj = Py_None;
12606 return resultobj;
12607 fail:
12608 return NULL;
12609}
12610
12611
12612static PyObject *_wrap_DC_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
12613 PyObject *resultobj;
12614 wxDC *arg1 = (wxDC *) 0 ;
12615 int arg2 ;
12616 PyObject * obj0 = 0 ;
994141e6 12617 PyObject * obj1 = 0 ;
d14a1e28
RD
12618 char *kwnames[] = {
12619 (char *) "self",(char *) "mode", NULL
12620 };
12621
994141e6 12622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12625 arg2 = (int) SWIG_AsInt(obj1);
12626 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12627 {
12628 PyThreadState* __tstate = wxPyBeginAllowThreads();
12629 (arg1)->SetBackgroundMode(arg2);
12630
12631 wxPyEndAllowThreads(__tstate);
12632 if (PyErr_Occurred()) SWIG_fail;
12633 }
12634 Py_INCREF(Py_None); resultobj = Py_None;
12635 return resultobj;
12636 fail:
12637 return NULL;
12638}
12639
12640
12641static PyObject *_wrap_DC_SetPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
12642 PyObject *resultobj;
12643 wxDC *arg1 = (wxDC *) 0 ;
12644 wxPalette *arg2 = 0 ;
12645 PyObject * obj0 = 0 ;
12646 PyObject * obj1 = 0 ;
12647 char *kwnames[] = {
12648 (char *) "self",(char *) "palette", NULL
12649 };
12650
12651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetPalette",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12654 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPalette,
12655 SWIG_POINTER_EXCEPTION | 0)) == -1)
12656 SWIG_fail;
d14a1e28 12657 if (arg2 == NULL) {
15afbcd0
RD
12658 PyErr_SetString(PyExc_TypeError,"null reference");
12659 SWIG_fail;
d14a1e28
RD
12660 }
12661 {
12662 PyThreadState* __tstate = wxPyBeginAllowThreads();
12663 (arg1)->SetPalette((wxPalette const &)*arg2);
12664
12665 wxPyEndAllowThreads(__tstate);
12666 if (PyErr_Occurred()) SWIG_fail;
12667 }
12668 Py_INCREF(Py_None); resultobj = Py_None;
12669 return resultobj;
12670 fail:
12671 return NULL;
12672}
12673
12674
d14a1e28
RD
12675static PyObject *_wrap_DC_DestroyClippingRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
12676 PyObject *resultobj;
12677 wxDC *arg1 = (wxDC *) 0 ;
12678 PyObject * obj0 = 0 ;
12679 char *kwnames[] = {
12680 (char *) "self", NULL
12681 };
12682
12683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_DestroyClippingRegion",kwnames,&obj0)) goto fail;
15afbcd0
RD
12684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12686 {
12687 PyThreadState* __tstate = wxPyBeginAllowThreads();
12688 (arg1)->DestroyClippingRegion();
12689
12690 wxPyEndAllowThreads(__tstate);
12691 if (PyErr_Occurred()) SWIG_fail;
12692 }
12693 Py_INCREF(Py_None); resultobj = Py_None;
12694 return resultobj;
12695 fail:
12696 return NULL;
12697}
12698
12699
12700static PyObject *_wrap_DC_GetClippingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
12701 PyObject *resultobj;
12702 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
12703 int *arg2 = (int *) 0 ;
12704 int *arg3 = (int *) 0 ;
12705 int *arg4 = (int *) 0 ;
12706 int *arg5 = (int *) 0 ;
12707 int temp2 ;
12708 int temp3 ;
12709 int temp4 ;
12710 int temp5 ;
d14a1e28
RD
12711 PyObject * obj0 = 0 ;
12712 char *kwnames[] = {
12713 (char *) "self", NULL
12714 };
12715
12716 arg2 = &temp2;
12717 arg3 = &temp3;
12718 arg4 = &temp4;
12719 arg5 = &temp5;
12720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetClippingBox",kwnames,&obj0)) goto fail;
15afbcd0
RD
12721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12723 {
12724 PyThreadState* __tstate = wxPyBeginAllowThreads();
12725 ((wxDC const *)arg1)->GetClippingBox(arg2,arg3,arg4,arg5);
12726
12727 wxPyEndAllowThreads(__tstate);
12728 if (PyErr_Occurred()) SWIG_fail;
12729 }
12730 Py_INCREF(Py_None); resultobj = Py_None;
12731 {
12732 PyObject *o = PyInt_FromLong((long) (*arg2));
12733 resultobj = t_output_helper(resultobj,o);
12734 }
12735 {
12736 PyObject *o = PyInt_FromLong((long) (*arg3));
12737 resultobj = t_output_helper(resultobj,o);
12738 }
12739 {
12740 PyObject *o = PyInt_FromLong((long) (*arg4));
12741 resultobj = t_output_helper(resultobj,o);
12742 }
12743 {
12744 PyObject *o = PyInt_FromLong((long) (*arg5));
12745 resultobj = t_output_helper(resultobj,o);
12746 }
12747 return resultobj;
12748 fail:
12749 return NULL;
12750}
12751
12752
12753static PyObject *_wrap_DC_GetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
12754 PyObject *resultobj;
12755 wxDC *arg1 = (wxDC *) 0 ;
12756 wxRect result;
12757 PyObject * obj0 = 0 ;
12758 char *kwnames[] = {
12759 (char *) "self", NULL
12760 };
12761
12762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetClippingRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
12763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12765 {
12766 PyThreadState* __tstate = wxPyBeginAllowThreads();
12767 result = wxDC_GetClippingRect(arg1);
12768
12769 wxPyEndAllowThreads(__tstate);
12770 if (PyErr_Occurred()) SWIG_fail;
12771 }
12772 {
12773 wxRect * resultptr;
12774 resultptr = new wxRect((wxRect &) result);
15afbcd0 12775 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
12776 }
12777 return resultobj;
12778 fail:
12779 return NULL;
12780}
12781
12782
12783static PyObject *_wrap_DC_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12784 PyObject *resultobj;
12785 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce 12786 int result;
d14a1e28
RD
12787 PyObject * obj0 = 0 ;
12788 char *kwnames[] = {
12789 (char *) "self", NULL
12790 };
12791
12792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetCharHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
12793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12795 {
12796 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 12797 result = (int)((wxDC const *)arg1)->GetCharHeight();
d14a1e28
RD
12798
12799 wxPyEndAllowThreads(__tstate);
12800 if (PyErr_Occurred()) SWIG_fail;
12801 }
15afbcd0 12802 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12803 return resultobj;
12804 fail:
12805 return NULL;
12806}
12807
12808
12809static PyObject *_wrap_DC_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12810 PyObject *resultobj;
12811 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce 12812 int result;
d14a1e28
RD
12813 PyObject * obj0 = 0 ;
12814 char *kwnames[] = {
12815 (char *) "self", NULL
12816 };
12817
12818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetCharWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
12819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12821 {
12822 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 12823 result = (int)((wxDC const *)arg1)->GetCharWidth();
d14a1e28
RD
12824
12825 wxPyEndAllowThreads(__tstate);
12826 if (PyErr_Occurred()) SWIG_fail;
12827 }
15afbcd0 12828 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12829 return resultobj;
12830 fail:
12831 return NULL;
12832}
12833
12834
12835static PyObject *_wrap_DC_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
12836 PyObject *resultobj;
12837 wxDC *arg1 = (wxDC *) 0 ;
12838 wxString *arg2 = 0 ;
e811c8ce
RD
12839 int *arg3 = (int *) 0 ;
12840 int *arg4 = (int *) 0 ;
12841 bool temp2 = False ;
12842 int temp3 ;
12843 int temp4 ;
d14a1e28
RD
12844 PyObject * obj0 = 0 ;
12845 PyObject * obj1 = 0 ;
12846 char *kwnames[] = {
12847 (char *) "self",(char *) "string", NULL
12848 };
12849
12850 arg3 = &temp3;
12851 arg4 = &temp4;
12852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12855 {
12856 arg2 = wxString_in_helper(obj1);
12857 if (arg2 == NULL) SWIG_fail;
e811c8ce 12858 temp2 = True;
d14a1e28
RD
12859 }
12860 {
12861 PyThreadState* __tstate = wxPyBeginAllowThreads();
12862 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
12863
12864 wxPyEndAllowThreads(__tstate);
12865 if (PyErr_Occurred()) SWIG_fail;
12866 }
12867 Py_INCREF(Py_None); resultobj = Py_None;
12868 {
12869 PyObject *o = PyInt_FromLong((long) (*arg3));
12870 resultobj = t_output_helper(resultobj,o);
12871 }
12872 {
12873 PyObject *o = PyInt_FromLong((long) (*arg4));
12874 resultobj = t_output_helper(resultobj,o);
12875 }
12876 {
12877 if (temp2)
12878 delete arg2;
12879 }
12880 return resultobj;
12881 fail:
12882 {
12883 if (temp2)
12884 delete arg2;
12885 }
12886 return NULL;
12887}
12888
12889
12890static PyObject *_wrap_DC_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
12891 PyObject *resultobj;
12892 wxDC *arg1 = (wxDC *) 0 ;
12893 wxString *arg2 = 0 ;
e811c8ce
RD
12894 int *arg3 = (int *) 0 ;
12895 int *arg4 = (int *) 0 ;
12896 int *arg5 = (int *) 0 ;
12897 int *arg6 = (int *) 0 ;
d14a1e28 12898 wxFont *arg7 = (wxFont *) NULL ;
e811c8ce
RD
12899 bool temp2 = False ;
12900 int temp3 ;
12901 int temp4 ;
12902 int temp5 ;
12903 int temp6 ;
d14a1e28
RD
12904 PyObject * obj0 = 0 ;
12905 PyObject * obj1 = 0 ;
12906 PyObject * obj2 = 0 ;
12907 char *kwnames[] = {
12908 (char *) "self",(char *) "string",(char *) "font", NULL
12909 };
12910
12911 arg3 = &temp3;
12912 arg4 = &temp4;
12913 arg5 = &temp5;
12914 arg6 = &temp6;
12915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DC_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12918 {
12919 arg2 = wxString_in_helper(obj1);
12920 if (arg2 == NULL) SWIG_fail;
e811c8ce 12921 temp2 = True;
d14a1e28
RD
12922 }
12923 if (obj2) {
15afbcd0
RD
12924 if ((SWIG_ConvertPtr(obj2,(void **)(&arg7),SWIGTYPE_p_wxFont,
12925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12926 }
12927 {
12928 PyThreadState* __tstate = wxPyBeginAllowThreads();
12929 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7);
12930
12931 wxPyEndAllowThreads(__tstate);
12932 if (PyErr_Occurred()) SWIG_fail;
12933 }
12934 Py_INCREF(Py_None); resultobj = Py_None;
12935 {
12936 PyObject *o = PyInt_FromLong((long) (*arg3));
12937 resultobj = t_output_helper(resultobj,o);
12938 }
12939 {
12940 PyObject *o = PyInt_FromLong((long) (*arg4));
12941 resultobj = t_output_helper(resultobj,o);
12942 }
12943 {
12944 PyObject *o = PyInt_FromLong((long) (*arg5));
12945 resultobj = t_output_helper(resultobj,o);
12946 }
12947 {
12948 PyObject *o = PyInt_FromLong((long) (*arg6));
12949 resultobj = t_output_helper(resultobj,o);
12950 }
12951 {
12952 if (temp2)
12953 delete arg2;
12954 }
12955 return resultobj;
12956 fail:
12957 {
12958 if (temp2)
12959 delete arg2;
12960 }
12961 return NULL;
12962}
12963
12964
12965static PyObject *_wrap_DC_GetMultiLineTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
12966 PyObject *resultobj;
12967 wxDC *arg1 = (wxDC *) 0 ;
12968 wxString *arg2 = 0 ;
e811c8ce
RD
12969 int *arg3 = (int *) 0 ;
12970 int *arg4 = (int *) 0 ;
12971 int *arg5 = (int *) 0 ;
d14a1e28 12972 wxFont *arg6 = (wxFont *) NULL ;
e811c8ce
RD
12973 bool temp2 = False ;
12974 int temp3 ;
12975 int temp4 ;
12976 int temp5 ;
d14a1e28
RD
12977 PyObject * obj0 = 0 ;
12978 PyObject * obj1 = 0 ;
12979 PyObject * obj2 = 0 ;
12980 char *kwnames[] = {
12981 (char *) "self",(char *) "text",(char *) "font", NULL
12982 };
12983
12984 arg3 = &temp3;
12985 arg4 = &temp4;
12986 arg5 = &temp5;
12987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12990 {
12991 arg2 = wxString_in_helper(obj1);
12992 if (arg2 == NULL) SWIG_fail;
e811c8ce 12993 temp2 = True;
d14a1e28
RD
12994 }
12995 if (obj2) {
15afbcd0
RD
12996 if ((SWIG_ConvertPtr(obj2,(void **)(&arg6),SWIGTYPE_p_wxFont,
12997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12998 }
12999 {
13000 PyThreadState* __tstate = wxPyBeginAllowThreads();
13001 (arg1)->GetMultiLineTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6);
13002
13003 wxPyEndAllowThreads(__tstate);
13004 if (PyErr_Occurred()) SWIG_fail;
13005 }
13006 Py_INCREF(Py_None); resultobj = Py_None;
13007 {
13008 PyObject *o = PyInt_FromLong((long) (*arg3));
13009 resultobj = t_output_helper(resultobj,o);
13010 }
13011 {
13012 PyObject *o = PyInt_FromLong((long) (*arg4));
13013 resultobj = t_output_helper(resultobj,o);
13014 }
13015 {
13016 PyObject *o = PyInt_FromLong((long) (*arg5));
13017 resultobj = t_output_helper(resultobj,o);
13018 }
13019 {
13020 if (temp2)
13021 delete arg2;
13022 }
13023 return resultobj;
13024 fail:
13025 {
13026 if (temp2)
13027 delete arg2;
13028 }
13029 return NULL;
13030}
13031
13032
db914595
RD
13033static PyObject *_wrap_DC_GetPartialTextExtents(PyObject *self, PyObject *args, PyObject *kwargs) {
13034 PyObject *resultobj;
13035 wxDC *arg1 = (wxDC *) 0 ;
13036 wxString *arg2 = 0 ;
13037 wxArrayInt result;
13038 bool temp2 = False ;
13039 PyObject * obj0 = 0 ;
13040 PyObject * obj1 = 0 ;
13041 char *kwnames[] = {
13042 (char *) "self",(char *) "text", NULL
13043 };
13044
13045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_GetPartialTextExtents",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
db914595
RD
13048 {
13049 arg2 = wxString_in_helper(obj1);
13050 if (arg2 == NULL) SWIG_fail;
13051 temp2 = True;
13052 }
13053 {
13054 PyThreadState* __tstate = wxPyBeginAllowThreads();
13055 result = wxDC_GetPartialTextExtents(arg1,(wxString const &)*arg2);
13056
13057 wxPyEndAllowThreads(__tstate);
13058 if (PyErr_Occurred()) SWIG_fail;
13059 }
13060 {
13061 resultobj = PyList_New(0);
13062 size_t idx;
13063 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
13064 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
13065 PyList_Append(resultobj, val);
13066 Py_DECREF(val);
13067 }
13068 }
13069 {
13070 if (temp2)
13071 delete arg2;
13072 }
13073 return resultobj;
13074 fail:
13075 {
13076 if (temp2)
13077 delete arg2;
13078 }
13079 return NULL;
13080}
13081
13082
322913ce
RD
13083static PyObject *_wrap_DC_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13084 PyObject *resultobj;
13085 wxDC *arg1 = (wxDC *) 0 ;
13086 wxSize result;
13087 PyObject * obj0 = 0 ;
13088 char *kwnames[] = {
13089 (char *) "self", NULL
13090 };
13091
13092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
13093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
322913ce
RD
13095 {
13096 PyThreadState* __tstate = wxPyBeginAllowThreads();
13097 result = (arg1)->GetSize();
13098
13099 wxPyEndAllowThreads(__tstate);
13100 if (PyErr_Occurred()) SWIG_fail;
13101 }
13102 {
13103 wxSize * resultptr;
13104 resultptr = new wxSize((wxSize &) result);
15afbcd0 13105 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
322913ce
RD
13106 }
13107 return resultobj;
13108 fail:
13109 return NULL;
13110}
13111
13112
d14a1e28
RD
13113static PyObject *_wrap_DC_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
13114 PyObject *resultobj;
13115 wxDC *arg1 = (wxDC *) 0 ;
13116 int *arg2 = (int *) 0 ;
13117 int *arg3 = (int *) 0 ;
13118 int temp2 ;
13119 int temp3 ;
13120 PyObject * obj0 = 0 ;
13121 char *kwnames[] = {
13122 (char *) "self", NULL
13123 };
13124
13125 arg2 = &temp2;
13126 arg3 = &temp3;
13127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
13128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13130 {
13131 PyThreadState* __tstate = wxPyBeginAllowThreads();
13132 (arg1)->GetSize(arg2,arg3);
13133
13134 wxPyEndAllowThreads(__tstate);
13135 if (PyErr_Occurred()) SWIG_fail;
13136 }
13137 Py_INCREF(Py_None); resultobj = Py_None;
13138 {
13139 PyObject *o = PyInt_FromLong((long) (*arg2));
13140 resultobj = t_output_helper(resultobj,o);
13141 }
13142 {
13143 PyObject *o = PyInt_FromLong((long) (*arg3));
13144 resultobj = t_output_helper(resultobj,o);
13145 }
13146 return resultobj;
13147 fail:
13148 return NULL;
13149}
13150
13151
322913ce 13152static PyObject *_wrap_DC_GetSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13153 PyObject *resultobj;
13154 wxDC *arg1 = (wxDC *) 0 ;
13155 wxSize result;
13156 PyObject * obj0 = 0 ;
13157 char *kwnames[] = {
13158 (char *) "self", NULL
13159 };
13160
322913ce 13161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSizeMM",kwnames,&obj0)) goto fail;
15afbcd0
RD
13162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13164 {
13165 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 13166 result = ((wxDC const *)arg1)->GetSizeMM();
d14a1e28
RD
13167
13168 wxPyEndAllowThreads(__tstate);
13169 if (PyErr_Occurred()) SWIG_fail;
13170 }
13171 {
13172 wxSize * resultptr;
13173 resultptr = new wxSize((wxSize &) result);
15afbcd0 13174 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
13175 }
13176 return resultobj;
13177 fail:
13178 return NULL;
13179}
13180
13181
322913ce 13182static PyObject *_wrap_DC_GetSizeMMTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13183 PyObject *resultobj;
13184 wxDC *arg1 = (wxDC *) 0 ;
13185 int *arg2 = (int *) 0 ;
13186 int *arg3 = (int *) 0 ;
13187 int temp2 ;
13188 int temp3 ;
13189 PyObject * obj0 = 0 ;
13190 char *kwnames[] = {
13191 (char *) "self", NULL
13192 };
13193
13194 arg2 = &temp2;
13195 arg3 = &temp3;
322913ce 13196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSizeMMTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
13197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13199 {
13200 PyThreadState* __tstate = wxPyBeginAllowThreads();
13201 ((wxDC const *)arg1)->GetSizeMM(arg2,arg3);
13202
13203 wxPyEndAllowThreads(__tstate);
13204 if (PyErr_Occurred()) SWIG_fail;
13205 }
13206 Py_INCREF(Py_None); resultobj = Py_None;
13207 {
13208 PyObject *o = PyInt_FromLong((long) (*arg2));
13209 resultobj = t_output_helper(resultobj,o);
13210 }
13211 {
13212 PyObject *o = PyInt_FromLong((long) (*arg3));
13213 resultobj = t_output_helper(resultobj,o);
13214 }
13215 return resultobj;
13216 fail:
13217 return NULL;
13218}
13219
13220
d14a1e28
RD
13221static PyObject *_wrap_DC_DeviceToLogicalX(PyObject *self, PyObject *args, PyObject *kwargs) {
13222 PyObject *resultobj;
13223 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13224 int arg2 ;
13225 int result;
d14a1e28 13226 PyObject * obj0 = 0 ;
994141e6 13227 PyObject * obj1 = 0 ;
d14a1e28
RD
13228 char *kwnames[] = {
13229 (char *) "self",(char *) "x", NULL
13230 };
13231
994141e6 13232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13235 arg2 = (int) SWIG_AsInt(obj1);
13236 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13237 {
13238 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13239 result = (int)((wxDC const *)arg1)->DeviceToLogicalX(arg2);
d14a1e28
RD
13240
13241 wxPyEndAllowThreads(__tstate);
13242 if (PyErr_Occurred()) SWIG_fail;
13243 }
15afbcd0 13244 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13245 return resultobj;
13246 fail:
13247 return NULL;
13248}
13249
13250
13251static PyObject *_wrap_DC_DeviceToLogicalY(PyObject *self, PyObject *args, PyObject *kwargs) {
13252 PyObject *resultobj;
13253 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13254 int arg2 ;
13255 int result;
d14a1e28 13256 PyObject * obj0 = 0 ;
994141e6 13257 PyObject * obj1 = 0 ;
d14a1e28
RD
13258 char *kwnames[] = {
13259 (char *) "self",(char *) "y", NULL
13260 };
13261
994141e6 13262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13265 arg2 = (int) SWIG_AsInt(obj1);
13266 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13267 {
13268 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13269 result = (int)((wxDC const *)arg1)->DeviceToLogicalY(arg2);
d14a1e28
RD
13270
13271 wxPyEndAllowThreads(__tstate);
13272 if (PyErr_Occurred()) SWIG_fail;
13273 }
15afbcd0 13274 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13275 return resultobj;
13276 fail:
13277 return NULL;
13278}
13279
13280
13281static PyObject *_wrap_DC_DeviceToLogicalXRel(PyObject *self, PyObject *args, PyObject *kwargs) {
13282 PyObject *resultobj;
13283 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13284 int arg2 ;
13285 int result;
d14a1e28 13286 PyObject * obj0 = 0 ;
994141e6 13287 PyObject * obj1 = 0 ;
d14a1e28
RD
13288 char *kwnames[] = {
13289 (char *) "self",(char *) "x", NULL
13290 };
13291
994141e6 13292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalXRel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13295 arg2 = (int) SWIG_AsInt(obj1);
13296 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13297 {
13298 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13299 result = (int)((wxDC const *)arg1)->DeviceToLogicalXRel(arg2);
d14a1e28
RD
13300
13301 wxPyEndAllowThreads(__tstate);
13302 if (PyErr_Occurred()) SWIG_fail;
13303 }
15afbcd0 13304 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13305 return resultobj;
13306 fail:
13307 return NULL;
13308}
13309
13310
13311static PyObject *_wrap_DC_DeviceToLogicalYRel(PyObject *self, PyObject *args, PyObject *kwargs) {
13312 PyObject *resultobj;
13313 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13314 int arg2 ;
13315 int result;
d14a1e28 13316 PyObject * obj0 = 0 ;
994141e6 13317 PyObject * obj1 = 0 ;
d14a1e28
RD
13318 char *kwnames[] = {
13319 (char *) "self",(char *) "y", NULL
13320 };
13321
994141e6 13322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalYRel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13325 arg2 = (int) SWIG_AsInt(obj1);
13326 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13327 {
13328 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13329 result = (int)((wxDC const *)arg1)->DeviceToLogicalYRel(arg2);
d14a1e28
RD
13330
13331 wxPyEndAllowThreads(__tstate);
13332 if (PyErr_Occurred()) SWIG_fail;
13333 }
15afbcd0 13334 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13335 return resultobj;
13336 fail:
13337 return NULL;
13338}
13339
13340
13341static PyObject *_wrap_DC_LogicalToDeviceX(PyObject *self, PyObject *args, PyObject *kwargs) {
13342 PyObject *resultobj;
13343 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13344 int arg2 ;
13345 int result;
d14a1e28 13346 PyObject * obj0 = 0 ;
994141e6 13347 PyObject * obj1 = 0 ;
d14a1e28
RD
13348 char *kwnames[] = {
13349 (char *) "self",(char *) "x", NULL
13350 };
13351
994141e6 13352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13355 arg2 = (int) SWIG_AsInt(obj1);
13356 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13357 {
13358 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13359 result = (int)((wxDC const *)arg1)->LogicalToDeviceX(arg2);
d14a1e28
RD
13360
13361 wxPyEndAllowThreads(__tstate);
13362 if (PyErr_Occurred()) SWIG_fail;
13363 }
15afbcd0 13364 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13365 return resultobj;
13366 fail:
13367 return NULL;
13368}
13369
13370
13371static PyObject *_wrap_DC_LogicalToDeviceY(PyObject *self, PyObject *args, PyObject *kwargs) {
13372 PyObject *resultobj;
13373 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13374 int arg2 ;
13375 int result;
d14a1e28 13376 PyObject * obj0 = 0 ;
994141e6 13377 PyObject * obj1 = 0 ;
d14a1e28
RD
13378 char *kwnames[] = {
13379 (char *) "self",(char *) "y", NULL
13380 };
13381
994141e6 13382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13385 arg2 = (int) SWIG_AsInt(obj1);
13386 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13387 {
13388 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13389 result = (int)((wxDC const *)arg1)->LogicalToDeviceY(arg2);
d14a1e28
RD
13390
13391 wxPyEndAllowThreads(__tstate);
13392 if (PyErr_Occurred()) SWIG_fail;
13393 }
15afbcd0 13394 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13395 return resultobj;
13396 fail:
13397 return NULL;
13398}
13399
13400
13401static PyObject *_wrap_DC_LogicalToDeviceXRel(PyObject *self, PyObject *args, PyObject *kwargs) {
13402 PyObject *resultobj;
13403 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13404 int arg2 ;
13405 int result;
d14a1e28 13406 PyObject * obj0 = 0 ;
994141e6 13407 PyObject * obj1 = 0 ;
d14a1e28
RD
13408 char *kwnames[] = {
13409 (char *) "self",(char *) "x", NULL
13410 };
13411
994141e6 13412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceXRel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13415 arg2 = (int) SWIG_AsInt(obj1);
13416 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13417 {
13418 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13419 result = (int)((wxDC const *)arg1)->LogicalToDeviceXRel(arg2);
d14a1e28
RD
13420
13421 wxPyEndAllowThreads(__tstate);
13422 if (PyErr_Occurred()) SWIG_fail;
13423 }
15afbcd0 13424 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13425 return resultobj;
13426 fail:
13427 return NULL;
13428}
13429
13430
13431static PyObject *_wrap_DC_LogicalToDeviceYRel(PyObject *self, PyObject *args, PyObject *kwargs) {
13432 PyObject *resultobj;
13433 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13434 int arg2 ;
13435 int result;
d14a1e28 13436 PyObject * obj0 = 0 ;
994141e6 13437 PyObject * obj1 = 0 ;
d14a1e28
RD
13438 char *kwnames[] = {
13439 (char *) "self",(char *) "y", NULL
13440 };
13441
994141e6 13442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceYRel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13445 arg2 = (int) SWIG_AsInt(obj1);
13446 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13447 {
13448 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13449 result = (int)((wxDC const *)arg1)->LogicalToDeviceYRel(arg2);
d14a1e28
RD
13450
13451 wxPyEndAllowThreads(__tstate);
13452 if (PyErr_Occurred()) SWIG_fail;
13453 }
15afbcd0 13454 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13455 return resultobj;
13456 fail:
13457 return NULL;
13458}
13459
13460
13461static PyObject *_wrap_DC_CanDrawBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13462 PyObject *resultobj;
13463 wxDC *arg1 = (wxDC *) 0 ;
13464 bool result;
13465 PyObject * obj0 = 0 ;
13466 char *kwnames[] = {
13467 (char *) "self", NULL
13468 };
13469
13470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_CanDrawBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
13471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13473 {
13474 PyThreadState* __tstate = wxPyBeginAllowThreads();
13475 result = (bool)((wxDC const *)arg1)->CanDrawBitmap();
13476
13477 wxPyEndAllowThreads(__tstate);
13478 if (PyErr_Occurred()) SWIG_fail;
13479 }
4f89f6a3
RD
13480 {
13481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13482 }
d14a1e28
RD
13483 return resultobj;
13484 fail:
13485 return NULL;
13486}
13487
13488
13489static PyObject *_wrap_DC_CanGetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
13490 PyObject *resultobj;
13491 wxDC *arg1 = (wxDC *) 0 ;
13492 bool result;
13493 PyObject * obj0 = 0 ;
13494 char *kwnames[] = {
13495 (char *) "self", NULL
13496 };
13497
13498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_CanGetTextExtent",kwnames,&obj0)) goto fail;
15afbcd0
RD
13499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13501 {
13502 PyThreadState* __tstate = wxPyBeginAllowThreads();
13503 result = (bool)((wxDC const *)arg1)->CanGetTextExtent();
13504
13505 wxPyEndAllowThreads(__tstate);
13506 if (PyErr_Occurred()) SWIG_fail;
13507 }
4f89f6a3
RD
13508 {
13509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13510 }
d14a1e28
RD
13511 return resultobj;
13512 fail:
13513 return NULL;
13514}
13515
13516
13517static PyObject *_wrap_DC_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
13518 PyObject *resultobj;
13519 wxDC *arg1 = (wxDC *) 0 ;
13520 int result;
13521 PyObject * obj0 = 0 ;
13522 char *kwnames[] = {
13523 (char *) "self", NULL
13524 };
13525
13526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetDepth",kwnames,&obj0)) goto fail;
15afbcd0
RD
13527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13529 {
13530 PyThreadState* __tstate = wxPyBeginAllowThreads();
13531 result = (int)((wxDC const *)arg1)->GetDepth();
13532
13533 wxPyEndAllowThreads(__tstate);
13534 if (PyErr_Occurred()) SWIG_fail;
13535 }
15afbcd0 13536 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13537 return resultobj;
13538 fail:
13539 return NULL;
13540}
13541
13542
13543static PyObject *_wrap_DC_GetPPI(PyObject *self, PyObject *args, PyObject *kwargs) {
13544 PyObject *resultobj;
13545 wxDC *arg1 = (wxDC *) 0 ;
13546 wxSize result;
13547 PyObject * obj0 = 0 ;
13548 char *kwnames[] = {
13549 (char *) "self", NULL
13550 };
13551
13552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetPPI",kwnames,&obj0)) goto fail;
15afbcd0
RD
13553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13555 {
13556 PyThreadState* __tstate = wxPyBeginAllowThreads();
13557 result = ((wxDC const *)arg1)->GetPPI();
13558
13559 wxPyEndAllowThreads(__tstate);
13560 if (PyErr_Occurred()) SWIG_fail;
13561 }
13562 {
13563 wxSize * resultptr;
13564 resultptr = new wxSize((wxSize &) result);
15afbcd0 13565 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
13566 }
13567 return resultobj;
13568 fail:
13569 return NULL;
13570}
13571
13572
13573static PyObject *_wrap_DC_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
13574 PyObject *resultobj;
13575 wxDC *arg1 = (wxDC *) 0 ;
13576 bool result;
13577 PyObject * obj0 = 0 ;
13578 char *kwnames[] = {
13579 (char *) "self", NULL
13580 };
13581
13582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
13583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13585 {
13586 PyThreadState* __tstate = wxPyBeginAllowThreads();
13587 result = (bool)((wxDC const *)arg1)->Ok();
13588
13589 wxPyEndAllowThreads(__tstate);
13590 if (PyErr_Occurred()) SWIG_fail;
13591 }
4f89f6a3
RD
13592 {
13593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13594 }
d14a1e28
RD
13595 return resultobj;
13596 fail:
13597 return NULL;
13598}
13599
13600
13601static PyObject *_wrap_DC_GetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
13602 PyObject *resultobj;
13603 wxDC *arg1 = (wxDC *) 0 ;
13604 int result;
13605 PyObject * obj0 = 0 ;
13606 char *kwnames[] = {
13607 (char *) "self", NULL
13608 };
13609
13610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBackgroundMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
13611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13613 {
13614 PyThreadState* __tstate = wxPyBeginAllowThreads();
13615 result = (int)((wxDC const *)arg1)->GetBackgroundMode();
13616
13617 wxPyEndAllowThreads(__tstate);
13618 if (PyErr_Occurred()) SWIG_fail;
13619 }
15afbcd0 13620 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13621 return resultobj;
13622 fail:
13623 return NULL;
13624}
13625
13626
13627static PyObject *_wrap_DC_GetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13628 PyObject *resultobj;
13629 wxDC *arg1 = (wxDC *) 0 ;
13630 wxBrush *result;
13631 PyObject * obj0 = 0 ;
13632 char *kwnames[] = {
13633 (char *) "self", NULL
13634 };
13635
13636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBackground",kwnames,&obj0)) goto fail;
15afbcd0
RD
13637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13639 {
13640 PyThreadState* __tstate = wxPyBeginAllowThreads();
13641 {
13642 wxBrush const &_result_ref = ((wxDC const *)arg1)->GetBackground();
13643 result = (wxBrush *) &_result_ref;
13644 }
13645
13646 wxPyEndAllowThreads(__tstate);
13647 if (PyErr_Occurred()) SWIG_fail;
13648 }
4276dc52
RD
13649 {
13650 wxBrush* resultptr = new wxBrush(*result);
13651 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBrush, 1);
13652 }
d14a1e28
RD
13653 return resultobj;
13654 fail:
13655 return NULL;
13656}
13657
13658
13659static PyObject *_wrap_DC_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
13660 PyObject *resultobj;
13661 wxDC *arg1 = (wxDC *) 0 ;
13662 wxBrush *result;
13663 PyObject * obj0 = 0 ;
13664 char *kwnames[] = {
13665 (char *) "self", NULL
13666 };
13667
13668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBrush",kwnames,&obj0)) goto fail;
15afbcd0
RD
13669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13671 {
13672 PyThreadState* __tstate = wxPyBeginAllowThreads();
13673 {
13674 wxBrush const &_result_ref = ((wxDC const *)arg1)->GetBrush();
13675 result = (wxBrush *) &_result_ref;
13676 }
13677
13678 wxPyEndAllowThreads(__tstate);
13679 if (PyErr_Occurred()) SWIG_fail;
13680 }
4276dc52
RD
13681 {
13682 wxBrush* resultptr = new wxBrush(*result);
13683 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBrush, 1);
13684 }
d14a1e28
RD
13685 return resultobj;
13686 fail:
13687 return NULL;
13688}
13689
13690
13691static PyObject *_wrap_DC_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13692 PyObject *resultobj;
13693 wxDC *arg1 = (wxDC *) 0 ;
13694 wxFont *result;
13695 PyObject * obj0 = 0 ;
13696 char *kwnames[] = {
13697 (char *) "self", NULL
13698 };
13699
13700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
13701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13703 {
13704 PyThreadState* __tstate = wxPyBeginAllowThreads();
13705 {
13706 wxFont const &_result_ref = ((wxDC const *)arg1)->GetFont();
13707 result = (wxFont *) &_result_ref;
13708 }
13709
13710 wxPyEndAllowThreads(__tstate);
13711 if (PyErr_Occurred()) SWIG_fail;
13712 }
4276dc52
RD
13713 {
13714 wxFont* resultptr = new wxFont(*result);
13715 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
13716 }
d14a1e28
RD
13717 return resultobj;
13718 fail:
13719 return NULL;
13720}
13721
13722
13723static PyObject *_wrap_DC_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
13724 PyObject *resultobj;
13725 wxDC *arg1 = (wxDC *) 0 ;
13726 wxPen *result;
13727 PyObject * obj0 = 0 ;
13728 char *kwnames[] = {
13729 (char *) "self", NULL
13730 };
13731
13732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetPen",kwnames,&obj0)) goto fail;
15afbcd0
RD
13733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13735 {
13736 PyThreadState* __tstate = wxPyBeginAllowThreads();
13737 {
13738 wxPen const &_result_ref = ((wxDC const *)arg1)->GetPen();
13739 result = (wxPen *) &_result_ref;
13740 }
13741
13742 wxPyEndAllowThreads(__tstate);
13743 if (PyErr_Occurred()) SWIG_fail;
13744 }
4276dc52
RD
13745 {
13746 wxPen* resultptr = new wxPen(*result);
13747 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxPen, 1);
13748 }
d14a1e28
RD
13749 return resultobj;
13750 fail:
13751 return NULL;
13752}
13753
13754
13755static PyObject *_wrap_DC_GetTextBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13756 PyObject *resultobj;
13757 wxDC *arg1 = (wxDC *) 0 ;
13758 wxColour *result;
13759 PyObject * obj0 = 0 ;
13760 char *kwnames[] = {
13761 (char *) "self", NULL
13762 };
13763
13764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetTextBackground",kwnames,&obj0)) goto fail;
15afbcd0
RD
13765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13767 {
13768 PyThreadState* __tstate = wxPyBeginAllowThreads();
13769 {
13770 wxColour const &_result_ref = ((wxDC const *)arg1)->GetTextBackground();
13771 result = (wxColour *) &_result_ref;
13772 }
13773
13774 wxPyEndAllowThreads(__tstate);
13775 if (PyErr_Occurred()) SWIG_fail;
13776 }
15afbcd0 13777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
13778 return resultobj;
13779 fail:
13780 return NULL;
13781}
13782
13783
13784static PyObject *_wrap_DC_GetTextForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
13785 PyObject *resultobj;
13786 wxDC *arg1 = (wxDC *) 0 ;
13787 wxColour *result;
13788 PyObject * obj0 = 0 ;
13789 char *kwnames[] = {
13790 (char *) "self", NULL
13791 };
13792
13793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetTextForeground",kwnames,&obj0)) goto fail;
15afbcd0
RD
13794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13796 {
13797 PyThreadState* __tstate = wxPyBeginAllowThreads();
13798 {
13799 wxColour const &_result_ref = ((wxDC const *)arg1)->GetTextForeground();
13800 result = (wxColour *) &_result_ref;
13801 }
13802
13803 wxPyEndAllowThreads(__tstate);
13804 if (PyErr_Occurred()) SWIG_fail;
13805 }
15afbcd0 13806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
13807 return resultobj;
13808 fail:
13809 return NULL;
13810}
13811
13812
13813static PyObject *_wrap_DC_SetTextForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
13814 PyObject *resultobj;
13815 wxDC *arg1 = (wxDC *) 0 ;
13816 wxColour *arg2 = 0 ;
13817 wxColour temp2 ;
13818 PyObject * obj0 = 0 ;
13819 PyObject * obj1 = 0 ;
13820 char *kwnames[] = {
13821 (char *) "self",(char *) "colour", NULL
13822 };
13823
13824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetTextForeground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13827 {
13828 arg2 = &temp2;
13829 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13830 }
13831 {
13832 PyThreadState* __tstate = wxPyBeginAllowThreads();
13833 (arg1)->SetTextForeground((wxColour const &)*arg2);
13834
13835 wxPyEndAllowThreads(__tstate);
13836 if (PyErr_Occurred()) SWIG_fail;
13837 }
13838 Py_INCREF(Py_None); resultobj = Py_None;
13839 return resultobj;
13840 fail:
13841 return NULL;
13842}
13843
13844
13845static PyObject *_wrap_DC_SetTextBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13846 PyObject *resultobj;
13847 wxDC *arg1 = (wxDC *) 0 ;
13848 wxColour *arg2 = 0 ;
13849 wxColour temp2 ;
13850 PyObject * obj0 = 0 ;
13851 PyObject * obj1 = 0 ;
13852 char *kwnames[] = {
13853 (char *) "self",(char *) "colour", NULL
13854 };
13855
13856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetTextBackground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13859 {
13860 arg2 = &temp2;
13861 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13862 }
13863 {
13864 PyThreadState* __tstate = wxPyBeginAllowThreads();
13865 (arg1)->SetTextBackground((wxColour const &)*arg2);
13866
13867 wxPyEndAllowThreads(__tstate);
13868 if (PyErr_Occurred()) SWIG_fail;
13869 }
13870 Py_INCREF(Py_None); resultobj = Py_None;
13871 return resultobj;
13872 fail:
13873 return NULL;
13874}
13875
13876
13877static PyObject *_wrap_DC_GetMapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
13878 PyObject *resultobj;
13879 wxDC *arg1 = (wxDC *) 0 ;
13880 int result;
13881 PyObject * obj0 = 0 ;
13882 char *kwnames[] = {
13883 (char *) "self", NULL
13884 };
13885
13886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetMapMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
13887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13889 {
13890 PyThreadState* __tstate = wxPyBeginAllowThreads();
13891 result = (int)((wxDC const *)arg1)->GetMapMode();
13892
13893 wxPyEndAllowThreads(__tstate);
13894 if (PyErr_Occurred()) SWIG_fail;
13895 }
15afbcd0 13896 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13897 return resultobj;
13898 fail:
13899 return NULL;
13900}
13901
13902
13903static PyObject *_wrap_DC_SetMapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
13904 PyObject *resultobj;
13905 wxDC *arg1 = (wxDC *) 0 ;
13906 int arg2 ;
13907 PyObject * obj0 = 0 ;
994141e6 13908 PyObject * obj1 = 0 ;
d14a1e28
RD
13909 char *kwnames[] = {
13910 (char *) "self",(char *) "mode", NULL
13911 };
13912
994141e6 13913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetMapMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13916 arg2 = (int) SWIG_AsInt(obj1);
13917 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13918 {
13919 PyThreadState* __tstate = wxPyBeginAllowThreads();
13920 (arg1)->SetMapMode(arg2);
13921
13922 wxPyEndAllowThreads(__tstate);
13923 if (PyErr_Occurred()) SWIG_fail;
13924 }
13925 Py_INCREF(Py_None); resultobj = Py_None;
13926 return resultobj;
13927 fail:
13928 return NULL;
13929}
13930
13931
13932static PyObject *_wrap_DC_GetUserScale(PyObject *self, PyObject *args, PyObject *kwargs) {
13933 PyObject *resultobj;
13934 wxDC *arg1 = (wxDC *) 0 ;
13935 double *arg2 = (double *) 0 ;
13936 double *arg3 = (double *) 0 ;
13937 double temp2 ;
13938 double temp3 ;
13939 PyObject * obj0 = 0 ;
13940 char *kwnames[] = {
13941 (char *) "self", NULL
13942 };
13943
13944 arg2 = &temp2;
13945 arg3 = &temp3;
13946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetUserScale",kwnames,&obj0)) goto fail;
15afbcd0
RD
13947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13949 {
13950 PyThreadState* __tstate = wxPyBeginAllowThreads();
13951 ((wxDC const *)arg1)->GetUserScale(arg2,arg3);
13952
13953 wxPyEndAllowThreads(__tstate);
13954 if (PyErr_Occurred()) SWIG_fail;
13955 }
13956 Py_INCREF(Py_None); resultobj = Py_None;
13957 {
13958 PyObject *o = PyFloat_FromDouble((double) (*arg2));
13959 resultobj = t_output_helper(resultobj,o);
13960 }
13961 {
13962 PyObject *o = PyFloat_FromDouble((double) (*arg3));
13963 resultobj = t_output_helper(resultobj,o);
13964 }
13965 return resultobj;
13966 fail:
13967 return NULL;
13968}
13969
13970
13971static PyObject *_wrap_DC_SetUserScale(PyObject *self, PyObject *args, PyObject *kwargs) {
13972 PyObject *resultobj;
13973 wxDC *arg1 = (wxDC *) 0 ;
13974 double arg2 ;
13975 double arg3 ;
13976 PyObject * obj0 = 0 ;
994141e6
RD
13977 PyObject * obj1 = 0 ;
13978 PyObject * obj2 = 0 ;
d14a1e28
RD
13979 char *kwnames[] = {
13980 (char *) "self",(char *) "x",(char *) "y", NULL
13981 };
13982
994141e6 13983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetUserScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13986 arg2 = (double) SWIG_AsDouble(obj1);
13987 if (PyErr_Occurred()) SWIG_fail;
13988 arg3 = (double) SWIG_AsDouble(obj2);
13989 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13990 {
13991 PyThreadState* __tstate = wxPyBeginAllowThreads();
13992 (arg1)->SetUserScale(arg2,arg3);
13993
13994 wxPyEndAllowThreads(__tstate);
13995 if (PyErr_Occurred()) SWIG_fail;
13996 }
13997 Py_INCREF(Py_None); resultobj = Py_None;
13998 return resultobj;
13999 fail:
14000 return NULL;
14001}
14002
14003
14004static PyObject *_wrap_DC_GetLogicalScale(PyObject *self, PyObject *args, PyObject *kwargs) {
14005 PyObject *resultobj;
14006 wxDC *arg1 = (wxDC *) 0 ;
14007 double *arg2 = (double *) 0 ;
14008 double *arg3 = (double *) 0 ;
14009 double temp2 ;
14010 double temp3 ;
14011 PyObject * obj0 = 0 ;
14012 char *kwnames[] = {
14013 (char *) "self", NULL
14014 };
14015
14016 arg2 = &temp2;
14017 arg3 = &temp3;
14018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalScale",kwnames,&obj0)) goto fail;
15afbcd0
RD
14019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14021 {
14022 PyThreadState* __tstate = wxPyBeginAllowThreads();
14023 (arg1)->GetLogicalScale(arg2,arg3);
14024
14025 wxPyEndAllowThreads(__tstate);
14026 if (PyErr_Occurred()) SWIG_fail;
14027 }
14028 Py_INCREF(Py_None); resultobj = Py_None;
14029 {
14030 PyObject *o = PyFloat_FromDouble((double) (*arg2));
14031 resultobj = t_output_helper(resultobj,o);
14032 }
14033 {
14034 PyObject *o = PyFloat_FromDouble((double) (*arg3));
14035 resultobj = t_output_helper(resultobj,o);
14036 }
14037 return resultobj;
14038 fail:
14039 return NULL;
14040}
14041
14042
14043static PyObject *_wrap_DC_SetLogicalScale(PyObject *self, PyObject *args, PyObject *kwargs) {
14044 PyObject *resultobj;
14045 wxDC *arg1 = (wxDC *) 0 ;
14046 double arg2 ;
14047 double arg3 ;
14048 PyObject * obj0 = 0 ;
994141e6
RD
14049 PyObject * obj1 = 0 ;
14050 PyObject * obj2 = 0 ;
d14a1e28
RD
14051 char *kwnames[] = {
14052 (char *) "self",(char *) "x",(char *) "y", NULL
14053 };
14054
994141e6 14055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetLogicalScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14058 arg2 = (double) SWIG_AsDouble(obj1);
14059 if (PyErr_Occurred()) SWIG_fail;
14060 arg3 = (double) SWIG_AsDouble(obj2);
14061 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14062 {
14063 PyThreadState* __tstate = wxPyBeginAllowThreads();
14064 (arg1)->SetLogicalScale(arg2,arg3);
14065
14066 wxPyEndAllowThreads(__tstate);
14067 if (PyErr_Occurred()) SWIG_fail;
14068 }
14069 Py_INCREF(Py_None); resultobj = Py_None;
14070 return resultobj;
14071 fail:
14072 return NULL;
14073}
14074
14075
322913ce 14076static PyObject *_wrap_DC_GetLogicalOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14077 PyObject *resultobj;
14078 wxDC *arg1 = (wxDC *) 0 ;
322913ce 14079 wxPoint result;
d14a1e28
RD
14080 PyObject * obj0 = 0 ;
14081 char *kwnames[] = {
14082 (char *) "self", NULL
14083 };
14084
322913ce 14085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalOrigin",kwnames,&obj0)) goto fail;
15afbcd0
RD
14086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14088 {
14089 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 14090 result = ((wxDC const *)arg1)->GetLogicalOrigin();
d14a1e28
RD
14091
14092 wxPyEndAllowThreads(__tstate);
14093 if (PyErr_Occurred()) SWIG_fail;
14094 }
d14a1e28 14095 {
322913ce
RD
14096 wxPoint * resultptr;
14097 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14098 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14099 }
14100 return resultobj;
14101 fail:
14102 return NULL;
14103}
14104
14105
322913ce 14106static PyObject *_wrap_DC_GetLogicalOriginTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14107 PyObject *resultobj;
14108 wxDC *arg1 = (wxDC *) 0 ;
322913ce
RD
14109 int *arg2 = (int *) 0 ;
14110 int *arg3 = (int *) 0 ;
14111 int temp2 ;
14112 int temp3 ;
d14a1e28
RD
14113 PyObject * obj0 = 0 ;
14114 char *kwnames[] = {
14115 (char *) "self", NULL
14116 };
14117
322913ce
RD
14118 arg2 = &temp2;
14119 arg3 = &temp3;
14120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalOriginTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
14121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14123 {
14124 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 14125 ((wxDC const *)arg1)->GetLogicalOrigin(arg2,arg3);
d14a1e28
RD
14126
14127 wxPyEndAllowThreads(__tstate);
14128 if (PyErr_Occurred()) SWIG_fail;
14129 }
322913ce 14130 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28 14131 {
322913ce
RD
14132 PyObject *o = PyInt_FromLong((long) (*arg2));
14133 resultobj = t_output_helper(resultobj,o);
14134 }
14135 {
14136 PyObject *o = PyInt_FromLong((long) (*arg3));
14137 resultobj = t_output_helper(resultobj,o);
d14a1e28
RD
14138 }
14139 return resultobj;
14140 fail:
14141 return NULL;
14142}
14143
14144
14145static PyObject *_wrap_DC_SetLogicalOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
14146 PyObject *resultobj;
14147 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
14148 int arg2 ;
14149 int arg3 ;
d14a1e28 14150 PyObject * obj0 = 0 ;
994141e6
RD
14151 PyObject * obj1 = 0 ;
14152 PyObject * obj2 = 0 ;
d14a1e28
RD
14153 char *kwnames[] = {
14154 (char *) "self",(char *) "x",(char *) "y", NULL
14155 };
14156
994141e6 14157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14160 arg2 = (int) SWIG_AsInt(obj1);
14161 if (PyErr_Occurred()) SWIG_fail;
14162 arg3 = (int) SWIG_AsInt(obj2);
14163 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14164 {
14165 PyThreadState* __tstate = wxPyBeginAllowThreads();
14166 (arg1)->SetLogicalOrigin(arg2,arg3);
14167
14168 wxPyEndAllowThreads(__tstate);
14169 if (PyErr_Occurred()) SWIG_fail;
14170 }
14171 Py_INCREF(Py_None); resultobj = Py_None;
14172 return resultobj;
14173 fail:
14174 return NULL;
14175}
14176
14177
03e37cd5
RD
14178static PyObject *_wrap_DC_SetLogicalOriginPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
14179 PyObject *resultobj;
14180 wxDC *arg1 = (wxDC *) 0 ;
14181 wxPoint *arg2 = 0 ;
14182 wxPoint temp2 ;
14183 PyObject * obj0 = 0 ;
14184 PyObject * obj1 = 0 ;
14185 char *kwnames[] = {
14186 (char *) "self",(char *) "point", NULL
14187 };
14188
14189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetLogicalOriginPoint",kwnames,&obj0,&obj1)) goto fail;
14190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14192 {
14193 arg2 = &temp2;
14194 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14195 }
14196 {
14197 PyThreadState* __tstate = wxPyBeginAllowThreads();
14198 wxDC_SetLogicalOriginPoint(arg1,(wxPoint const &)*arg2);
14199
14200 wxPyEndAllowThreads(__tstate);
14201 if (PyErr_Occurred()) SWIG_fail;
14202 }
14203 Py_INCREF(Py_None); resultobj = Py_None;
14204 return resultobj;
14205 fail:
14206 return NULL;
14207}
14208
14209
322913ce 14210static PyObject *_wrap_DC_GetDeviceOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14211 PyObject *resultobj;
14212 wxDC *arg1 = (wxDC *) 0 ;
322913ce 14213 wxPoint result;
d14a1e28
RD
14214 PyObject * obj0 = 0 ;
14215 char *kwnames[] = {
14216 (char *) "self", NULL
14217 };
14218
322913ce 14219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetDeviceOrigin",kwnames,&obj0)) goto fail;
15afbcd0
RD
14220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14222 {
14223 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 14224 result = ((wxDC const *)arg1)->GetDeviceOrigin();
d14a1e28
RD
14225
14226 wxPyEndAllowThreads(__tstate);
14227 if (PyErr_Occurred()) SWIG_fail;
14228 }
d14a1e28 14229 {
322913ce
RD
14230 wxPoint * resultptr;
14231 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14232 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14233 }
14234 return resultobj;
14235 fail:
14236 return NULL;
14237}
14238
14239
322913ce 14240static PyObject *_wrap_DC_GetDeviceOriginTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14241 PyObject *resultobj;
14242 wxDC *arg1 = (wxDC *) 0 ;
322913ce
RD
14243 int *arg2 = (int *) 0 ;
14244 int *arg3 = (int *) 0 ;
14245 int temp2 ;
14246 int temp3 ;
d14a1e28
RD
14247 PyObject * obj0 = 0 ;
14248 char *kwnames[] = {
14249 (char *) "self", NULL
14250 };
14251
322913ce
RD
14252 arg2 = &temp2;
14253 arg3 = &temp3;
14254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetDeviceOriginTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
14255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14257 {
14258 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 14259 ((wxDC const *)arg1)->GetDeviceOrigin(arg2,arg3);
d14a1e28
RD
14260
14261 wxPyEndAllowThreads(__tstate);
14262 if (PyErr_Occurred()) SWIG_fail;
14263 }
322913ce 14264 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28 14265 {
322913ce
RD
14266 PyObject *o = PyInt_FromLong((long) (*arg2));
14267 resultobj = t_output_helper(resultobj,o);
14268 }
14269 {
14270 PyObject *o = PyInt_FromLong((long) (*arg3));
14271 resultobj = t_output_helper(resultobj,o);
d14a1e28
RD
14272 }
14273 return resultobj;
14274 fail:
14275 return NULL;
14276}
14277
14278
14279static PyObject *_wrap_DC_SetDeviceOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
14280 PyObject *resultobj;
14281 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
14282 int arg2 ;
14283 int arg3 ;
d14a1e28 14284 PyObject * obj0 = 0 ;
994141e6
RD
14285 PyObject * obj1 = 0 ;
14286 PyObject * obj2 = 0 ;
d14a1e28
RD
14287 char *kwnames[] = {
14288 (char *) "self",(char *) "x",(char *) "y", NULL
14289 };
14290
994141e6 14291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetDeviceOrigin",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14294 arg2 = (int) SWIG_AsInt(obj1);
14295 if (PyErr_Occurred()) SWIG_fail;
14296 arg3 = (int) SWIG_AsInt(obj2);
14297 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14298 {
14299 PyThreadState* __tstate = wxPyBeginAllowThreads();
14300 (arg1)->SetDeviceOrigin(arg2,arg3);
14301
14302 wxPyEndAllowThreads(__tstate);
14303 if (PyErr_Occurred()) SWIG_fail;
14304 }
14305 Py_INCREF(Py_None); resultobj = Py_None;
14306 return resultobj;
14307 fail:
14308 return NULL;
14309}
14310
14311
03e37cd5
RD
14312static PyObject *_wrap_DC_SetDeviceOriginPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
14313 PyObject *resultobj;
14314 wxDC *arg1 = (wxDC *) 0 ;
14315 wxPoint *arg2 = 0 ;
14316 wxPoint temp2 ;
14317 PyObject * obj0 = 0 ;
14318 PyObject * obj1 = 0 ;
14319 char *kwnames[] = {
14320 (char *) "self",(char *) "point", NULL
14321 };
14322
14323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetDeviceOriginPoint",kwnames,&obj0,&obj1)) goto fail;
14324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14326 {
14327 arg2 = &temp2;
14328 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14329 }
14330 {
14331 PyThreadState* __tstate = wxPyBeginAllowThreads();
14332 wxDC_SetDeviceOriginPoint(arg1,(wxPoint const &)*arg2);
14333
14334 wxPyEndAllowThreads(__tstate);
14335 if (PyErr_Occurred()) SWIG_fail;
14336 }
14337 Py_INCREF(Py_None); resultobj = Py_None;
14338 return resultobj;
14339 fail:
14340 return NULL;
14341}
14342
14343
d14a1e28
RD
14344static PyObject *_wrap_DC_SetAxisOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
14345 PyObject *resultobj;
14346 wxDC *arg1 = (wxDC *) 0 ;
14347 bool arg2 ;
14348 bool arg3 ;
14349 PyObject * obj0 = 0 ;
14350 PyObject * obj1 = 0 ;
14351 PyObject * obj2 = 0 ;
14352 char *kwnames[] = {
14353 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14354 };
14355
14356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetAxisOrientation",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14359 arg2 = (bool) SWIG_AsBool(obj1);
14360 if (PyErr_Occurred()) SWIG_fail;
14361 arg3 = (bool) SWIG_AsBool(obj2);
14362 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14363 {
14364 PyThreadState* __tstate = wxPyBeginAllowThreads();
14365 (arg1)->SetAxisOrientation(arg2,arg3);
14366
14367 wxPyEndAllowThreads(__tstate);
14368 if (PyErr_Occurred()) SWIG_fail;
14369 }
14370 Py_INCREF(Py_None); resultobj = Py_None;
14371 return resultobj;
14372 fail:
14373 return NULL;
14374}
14375
14376
14377static PyObject *_wrap_DC_GetLogicalFunction(PyObject *self, PyObject *args, PyObject *kwargs) {
14378 PyObject *resultobj;
14379 wxDC *arg1 = (wxDC *) 0 ;
14380 int result;
14381 PyObject * obj0 = 0 ;
14382 char *kwnames[] = {
14383 (char *) "self", NULL
14384 };
14385
14386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalFunction",kwnames,&obj0)) goto fail;
15afbcd0
RD
14387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14389 {
14390 PyThreadState* __tstate = wxPyBeginAllowThreads();
14391 result = (int)((wxDC const *)arg1)->GetLogicalFunction();
14392
14393 wxPyEndAllowThreads(__tstate);
14394 if (PyErr_Occurred()) SWIG_fail;
14395 }
15afbcd0 14396 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14397 return resultobj;
14398 fail:
14399 return NULL;
14400}
14401
14402
14403static PyObject *_wrap_DC_SetLogicalFunction(PyObject *self, PyObject *args, PyObject *kwargs) {
14404 PyObject *resultobj;
14405 wxDC *arg1 = (wxDC *) 0 ;
14406 int arg2 ;
14407 PyObject * obj0 = 0 ;
994141e6 14408 PyObject * obj1 = 0 ;
d14a1e28
RD
14409 char *kwnames[] = {
14410 (char *) "self",(char *) "function", NULL
14411 };
14412
994141e6 14413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetLogicalFunction",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14416 arg2 = (int) SWIG_AsInt(obj1);
14417 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14418 {
14419 PyThreadState* __tstate = wxPyBeginAllowThreads();
14420 (arg1)->SetLogicalFunction(arg2);
14421
14422 wxPyEndAllowThreads(__tstate);
14423 if (PyErr_Occurred()) SWIG_fail;
14424 }
14425 Py_INCREF(Py_None); resultobj = Py_None;
14426 return resultobj;
14427 fail:
14428 return NULL;
14429}
14430
14431
14432static PyObject *_wrap_DC_SetOptimization(PyObject *self, PyObject *args, PyObject *kwargs) {
14433 PyObject *resultobj;
14434 wxDC *arg1 = (wxDC *) 0 ;
14435 bool arg2 ;
14436 PyObject * obj0 = 0 ;
14437 PyObject * obj1 = 0 ;
14438 char *kwnames[] = {
14439 (char *) "self",(char *) "opt", NULL
14440 };
14441
14442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetOptimization",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14445 arg2 = (bool) SWIG_AsBool(obj1);
14446 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14447 {
14448 PyThreadState* __tstate = wxPyBeginAllowThreads();
14449 (arg1)->SetOptimization(arg2);
14450
14451 wxPyEndAllowThreads(__tstate);
14452 if (PyErr_Occurred()) SWIG_fail;
14453 }
14454 Py_INCREF(Py_None); resultobj = Py_None;
14455 return resultobj;
14456 fail:
14457 return NULL;
14458}
14459
14460
14461static PyObject *_wrap_DC_GetOptimization(PyObject *self, PyObject *args, PyObject *kwargs) {
14462 PyObject *resultobj;
14463 wxDC *arg1 = (wxDC *) 0 ;
14464 bool result;
14465 PyObject * obj0 = 0 ;
14466 char *kwnames[] = {
14467 (char *) "self", NULL
14468 };
14469
14470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetOptimization",kwnames,&obj0)) goto fail;
15afbcd0
RD
14471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14473 {
14474 PyThreadState* __tstate = wxPyBeginAllowThreads();
14475 result = (bool)(arg1)->GetOptimization();
14476
14477 wxPyEndAllowThreads(__tstate);
14478 if (PyErr_Occurred()) SWIG_fail;
14479 }
4f89f6a3
RD
14480 {
14481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14482 }
d14a1e28
RD
14483 return resultobj;
14484 fail:
14485 return NULL;
14486}
14487
14488
14489static PyObject *_wrap_DC_CalcBoundingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
14490 PyObject *resultobj;
14491 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
14492 int arg2 ;
14493 int arg3 ;
d14a1e28 14494 PyObject * obj0 = 0 ;
994141e6
RD
14495 PyObject * obj1 = 0 ;
14496 PyObject * obj2 = 0 ;
d14a1e28
RD
14497 char *kwnames[] = {
14498 (char *) "self",(char *) "x",(char *) "y", NULL
14499 };
14500
994141e6 14501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_CalcBoundingBox",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14504 arg2 = (int) SWIG_AsInt(obj1);
14505 if (PyErr_Occurred()) SWIG_fail;
14506 arg3 = (int) SWIG_AsInt(obj2);
14507 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14508 {
14509 PyThreadState* __tstate = wxPyBeginAllowThreads();
14510 (arg1)->CalcBoundingBox(arg2,arg3);
14511
14512 wxPyEndAllowThreads(__tstate);
14513 if (PyErr_Occurred()) SWIG_fail;
14514 }
14515 Py_INCREF(Py_None); resultobj = Py_None;
14516 return resultobj;
14517 fail:
14518 return NULL;
14519}
14520
14521
03e37cd5
RD
14522static PyObject *_wrap_DC_CalcBoundingBoxPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
14523 PyObject *resultobj;
14524 wxDC *arg1 = (wxDC *) 0 ;
14525 wxPoint *arg2 = 0 ;
14526 wxPoint temp2 ;
14527 PyObject * obj0 = 0 ;
14528 PyObject * obj1 = 0 ;
14529 char *kwnames[] = {
14530 (char *) "self",(char *) "point", NULL
14531 };
14532
14533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames,&obj0,&obj1)) goto fail;
14534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14536 {
14537 arg2 = &temp2;
14538 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14539 }
14540 {
14541 PyThreadState* __tstate = wxPyBeginAllowThreads();
14542 wxDC_CalcBoundingBoxPoint(arg1,(wxPoint const &)*arg2);
14543
14544 wxPyEndAllowThreads(__tstate);
14545 if (PyErr_Occurred()) SWIG_fail;
14546 }
14547 Py_INCREF(Py_None); resultobj = Py_None;
14548 return resultobj;
14549 fail:
14550 return NULL;
14551}
14552
14553
d14a1e28
RD
14554static PyObject *_wrap_DC_ResetBoundingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
14555 PyObject *resultobj;
14556 wxDC *arg1 = (wxDC *) 0 ;
14557 PyObject * obj0 = 0 ;
14558 char *kwnames[] = {
14559 (char *) "self", NULL
14560 };
14561
14562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_ResetBoundingBox",kwnames,&obj0)) goto fail;
15afbcd0
RD
14563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14565 {
14566 PyThreadState* __tstate = wxPyBeginAllowThreads();
14567 (arg1)->ResetBoundingBox();
14568
14569 wxPyEndAllowThreads(__tstate);
14570 if (PyErr_Occurred()) SWIG_fail;
14571 }
14572 Py_INCREF(Py_None); resultobj = Py_None;
14573 return resultobj;
14574 fail:
14575 return NULL;
14576}
14577
14578
14579static PyObject *_wrap_DC_MinX(PyObject *self, PyObject *args, PyObject *kwargs) {
14580 PyObject *resultobj;
14581 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce 14582 int result;
d14a1e28
RD
14583 PyObject * obj0 = 0 ;
14584 char *kwnames[] = {
14585 (char *) "self", NULL
14586 };
14587
14588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MinX",kwnames,&obj0)) goto fail;
15afbcd0
RD
14589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14591 {
14592 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14593 result = (int)((wxDC const *)arg1)->MinX();
d14a1e28
RD
14594
14595 wxPyEndAllowThreads(__tstate);
14596 if (PyErr_Occurred()) SWIG_fail;
14597 }
15afbcd0 14598 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14599 return resultobj;
14600 fail:
14601 return NULL;
14602}
14603
14604
14605static PyObject *_wrap_DC_MaxX(PyObject *self, PyObject *args, PyObject *kwargs) {
14606 PyObject *resultobj;
14607 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce 14608 int result;
d14a1e28
RD
14609 PyObject * obj0 = 0 ;
14610 char *kwnames[] = {
14611 (char *) "self", NULL
14612 };
14613
14614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MaxX",kwnames,&obj0)) goto fail;
15afbcd0
RD
14615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14617 {
14618 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14619 result = (int)((wxDC const *)arg1)->MaxX();
d14a1e28
RD
14620
14621 wxPyEndAllowThreads(__tstate);
14622 if (PyErr_Occurred()) SWIG_fail;
14623 }
15afbcd0 14624 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14625 return resultobj;
14626 fail:
14627 return NULL;
14628}
14629
14630
14631static PyObject *_wrap_DC_MinY(PyObject *self, PyObject *args, PyObject *kwargs) {
14632 PyObject *resultobj;
14633 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce 14634 int result;
d14a1e28
RD
14635 PyObject * obj0 = 0 ;
14636 char *kwnames[] = {
14637 (char *) "self", NULL
14638 };
14639
14640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MinY",kwnames,&obj0)) goto fail;
15afbcd0
RD
14641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14643 {
14644 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14645 result = (int)((wxDC const *)arg1)->MinY();
d14a1e28
RD
14646
14647 wxPyEndAllowThreads(__tstate);
14648 if (PyErr_Occurred()) SWIG_fail;
14649 }
15afbcd0 14650 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14651 return resultobj;
14652 fail:
14653 return NULL;
14654}
14655
14656
14657static PyObject *_wrap_DC_MaxY(PyObject *self, PyObject *args, PyObject *kwargs) {
14658 PyObject *resultobj;
14659 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce 14660 int result;
d14a1e28
RD
14661 PyObject * obj0 = 0 ;
14662 char *kwnames[] = {
14663 (char *) "self", NULL
14664 };
14665
14666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MaxY",kwnames,&obj0)) goto fail;
15afbcd0
RD
14667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14669 {
14670 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14671 result = (int)((wxDC const *)arg1)->MaxY();
d14a1e28
RD
14672
14673 wxPyEndAllowThreads(__tstate);
14674 if (PyErr_Occurred()) SWIG_fail;
14675 }
15afbcd0 14676 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14677 return resultobj;
14678 fail:
14679 return NULL;
14680}
14681
14682
14683static PyObject *_wrap_DC_GetBoundingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
14684 PyObject *resultobj;
14685 wxDC *arg1 = (wxDC *) 0 ;
14686 int *arg2 = (int *) 0 ;
14687 int *arg3 = (int *) 0 ;
14688 int *arg4 = (int *) 0 ;
14689 int *arg5 = (int *) 0 ;
14690 int temp2 ;
14691 int temp3 ;
14692 int temp4 ;
14693 int temp5 ;
14694 PyObject * obj0 = 0 ;
14695 char *kwnames[] = {
14696 (char *) "self", NULL
14697 };
14698
14699 arg2 = &temp2;
14700 arg3 = &temp3;
14701 arg4 = &temp4;
14702 arg5 = &temp5;
14703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBoundingBox",kwnames,&obj0)) goto fail;
15afbcd0
RD
14704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14706 {
14707 PyThreadState* __tstate = wxPyBeginAllowThreads();
14708 wxDC_GetBoundingBox(arg1,arg2,arg3,arg4,arg5);
14709
14710 wxPyEndAllowThreads(__tstate);
14711 if (PyErr_Occurred()) SWIG_fail;
14712 }
14713 Py_INCREF(Py_None); resultobj = Py_None;
14714 {
14715 PyObject *o = PyInt_FromLong((long) (*arg2));
14716 resultobj = t_output_helper(resultobj,o);
14717 }
14718 {
14719 PyObject *o = PyInt_FromLong((long) (*arg3));
14720 resultobj = t_output_helper(resultobj,o);
14721 }
14722 {
14723 PyObject *o = PyInt_FromLong((long) (*arg4));
14724 resultobj = t_output_helper(resultobj,o);
14725 }
14726 {
14727 PyObject *o = PyInt_FromLong((long) (*arg5));
14728 resultobj = t_output_helper(resultobj,o);
14729 }
14730 return resultobj;
14731 fail:
14732 return NULL;
14733}
14734
14735
14736static PyObject *_wrap_DC__DrawPointList(PyObject *self, PyObject *args, PyObject *kwargs) {
14737 PyObject *resultobj;
14738 wxDC *arg1 = (wxDC *) 0 ;
14739 PyObject *arg2 = (PyObject *) 0 ;
14740 PyObject *arg3 = (PyObject *) 0 ;
14741 PyObject *arg4 = (PyObject *) 0 ;
14742 PyObject *result;
14743 PyObject * obj0 = 0 ;
14744 PyObject * obj1 = 0 ;
14745 PyObject * obj2 = 0 ;
14746 PyObject * obj3 = 0 ;
14747 char *kwnames[] = {
14748 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14749 };
14750
14751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawPointList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
14752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14754 arg2 = obj1;
14755 arg3 = obj2;
14756 arg4 = obj3;
14757 {
14758 PyThreadState* __tstate = wxPyBeginAllowThreads();
14759 result = (PyObject *)wxDC__DrawPointList(arg1,arg2,arg3,arg4);
14760
14761 wxPyEndAllowThreads(__tstate);
14762 if (PyErr_Occurred()) SWIG_fail;
14763 }
14764 resultobj = result;
14765 return resultobj;
14766 fail:
14767 return NULL;
14768}
14769
14770
14771static PyObject *_wrap_DC__DrawLineList(PyObject *self, PyObject *args, PyObject *kwargs) {
14772 PyObject *resultobj;
14773 wxDC *arg1 = (wxDC *) 0 ;
14774 PyObject *arg2 = (PyObject *) 0 ;
14775 PyObject *arg3 = (PyObject *) 0 ;
14776 PyObject *arg4 = (PyObject *) 0 ;
14777 PyObject *result;
14778 PyObject * obj0 = 0 ;
14779 PyObject * obj1 = 0 ;
14780 PyObject * obj2 = 0 ;
14781 PyObject * obj3 = 0 ;
14782 char *kwnames[] = {
14783 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14784 };
14785
14786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawLineList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
14787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14789 arg2 = obj1;
14790 arg3 = obj2;
14791 arg4 = obj3;
14792 {
14793 PyThreadState* __tstate = wxPyBeginAllowThreads();
14794 result = (PyObject *)wxDC__DrawLineList(arg1,arg2,arg3,arg4);
14795
14796 wxPyEndAllowThreads(__tstate);
14797 if (PyErr_Occurred()) SWIG_fail;
14798 }
14799 resultobj = result;
14800 return resultobj;
14801 fail:
14802 return NULL;
14803}
14804
14805
14806static PyObject *_wrap_DC__DrawRectangleList(PyObject *self, PyObject *args, PyObject *kwargs) {
14807 PyObject *resultobj;
14808 wxDC *arg1 = (wxDC *) 0 ;
14809 PyObject *arg2 = (PyObject *) 0 ;
14810 PyObject *arg3 = (PyObject *) 0 ;
14811 PyObject *arg4 = (PyObject *) 0 ;
14812 PyObject *result;
14813 PyObject * obj0 = 0 ;
14814 PyObject * obj1 = 0 ;
14815 PyObject * obj2 = 0 ;
14816 PyObject * obj3 = 0 ;
14817 char *kwnames[] = {
14818 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14819 };
14820
14821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawRectangleList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
14822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14824 arg2 = obj1;
14825 arg3 = obj2;
14826 arg4 = obj3;
14827 {
14828 PyThreadState* __tstate = wxPyBeginAllowThreads();
14829 result = (PyObject *)wxDC__DrawRectangleList(arg1,arg2,arg3,arg4);
14830
14831 wxPyEndAllowThreads(__tstate);
14832 if (PyErr_Occurred()) SWIG_fail;
14833 }
14834 resultobj = result;
14835 return resultobj;
14836 fail:
14837 return NULL;
14838}
14839
14840
14841static PyObject *_wrap_DC__DrawEllipseList(PyObject *self, PyObject *args, PyObject *kwargs) {
14842 PyObject *resultobj;
14843 wxDC *arg1 = (wxDC *) 0 ;
14844 PyObject *arg2 = (PyObject *) 0 ;
14845 PyObject *arg3 = (PyObject *) 0 ;
14846 PyObject *arg4 = (PyObject *) 0 ;
14847 PyObject *result;
14848 PyObject * obj0 = 0 ;
14849 PyObject * obj1 = 0 ;
14850 PyObject * obj2 = 0 ;
14851 PyObject * obj3 = 0 ;
14852 char *kwnames[] = {
14853 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14854 };
14855
14856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawEllipseList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
14857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14859 arg2 = obj1;
14860 arg3 = obj2;
14861 arg4 = obj3;
14862 {
14863 PyThreadState* __tstate = wxPyBeginAllowThreads();
14864 result = (PyObject *)wxDC__DrawEllipseList(arg1,arg2,arg3,arg4);
14865
14866 wxPyEndAllowThreads(__tstate);
14867 if (PyErr_Occurred()) SWIG_fail;
14868 }
14869 resultobj = result;
14870 return resultobj;
14871 fail:
14872 return NULL;
14873}
14874
14875
14876static PyObject *_wrap_DC__DrawPolygonList(PyObject *self, PyObject *args, PyObject *kwargs) {
14877 PyObject *resultobj;
14878 wxDC *arg1 = (wxDC *) 0 ;
14879 PyObject *arg2 = (PyObject *) 0 ;
14880 PyObject *arg3 = (PyObject *) 0 ;
14881 PyObject *arg4 = (PyObject *) 0 ;
14882 PyObject *result;
14883 PyObject * obj0 = 0 ;
14884 PyObject * obj1 = 0 ;
14885 PyObject * obj2 = 0 ;
14886 PyObject * obj3 = 0 ;
14887 char *kwnames[] = {
14888 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14889 };
14890
14891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawPolygonList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
14892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14894 arg2 = obj1;
14895 arg3 = obj2;
14896 arg4 = obj3;
14897 {
14898 PyThreadState* __tstate = wxPyBeginAllowThreads();
14899 result = (PyObject *)wxDC__DrawPolygonList(arg1,arg2,arg3,arg4);
14900
14901 wxPyEndAllowThreads(__tstate);
14902 if (PyErr_Occurred()) SWIG_fail;
14903 }
14904 resultobj = result;
14905 return resultobj;
14906 fail:
14907 return NULL;
14908}
14909
14910
14911static PyObject *_wrap_DC__DrawTextList(PyObject *self, PyObject *args, PyObject *kwargs) {
14912 PyObject *resultobj;
14913 wxDC *arg1 = (wxDC *) 0 ;
14914 PyObject *arg2 = (PyObject *) 0 ;
14915 PyObject *arg3 = (PyObject *) 0 ;
14916 PyObject *arg4 = (PyObject *) 0 ;
14917 PyObject *arg5 = (PyObject *) 0 ;
14918 PyObject *result;
14919 PyObject * obj0 = 0 ;
14920 PyObject * obj1 = 0 ;
14921 PyObject * obj2 = 0 ;
14922 PyObject * obj3 = 0 ;
14923 PyObject * obj4 = 0 ;
14924 char *kwnames[] = {
14925 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14926 };
14927
14928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC__DrawTextList",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
14929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14931 arg2 = obj1;
14932 arg3 = obj2;
14933 arg4 = obj3;
14934 arg5 = obj4;
14935 {
14936 PyThreadState* __tstate = wxPyBeginAllowThreads();
14937 result = (PyObject *)wxDC__DrawTextList(arg1,arg2,arg3,arg4,arg5);
14938
14939 wxPyEndAllowThreads(__tstate);
14940 if (PyErr_Occurred()) SWIG_fail;
14941 }
14942 resultobj = result;
14943 return resultobj;
14944 fail:
14945 return NULL;
14946}
14947
14948
14949static PyObject * DC_swigregister(PyObject *self, PyObject *args) {
14950 PyObject *obj;
14951 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14952 SWIG_TypeClientData(SWIGTYPE_p_wxDC, obj);
14953 Py_INCREF(obj);
14954 return Py_BuildValue((char *)"");
14955}
14956static PyObject *_wrap_new_MemoryDC(PyObject *self, PyObject *args, PyObject *kwargs) {
14957 PyObject *resultobj;
14958 wxMemoryDC *result;
14959 char *kwnames[] = {
14960 NULL
14961 };
14962
14963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryDC",kwnames)) goto fail;
14964 {
14965 PyThreadState* __tstate = wxPyBeginAllowThreads();
14966 result = (wxMemoryDC *)new wxMemoryDC();
14967
14968 wxPyEndAllowThreads(__tstate);
14969 if (PyErr_Occurred()) SWIG_fail;
14970 }
15afbcd0 14971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryDC, 1);
d14a1e28
RD
14972 return resultobj;
14973 fail:
14974 return NULL;
14975}
14976
14977
14978static PyObject *_wrap_new_MemoryDCFromDC(PyObject *self, PyObject *args, PyObject *kwargs) {
14979 PyObject *resultobj;
14980 wxDC *arg1 = (wxDC *) 0 ;
14981 wxMemoryDC *result;
14982 PyObject * obj0 = 0 ;
14983 char *kwnames[] = {
14984 (char *) "oldDC", NULL
14985 };
14986
14987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_MemoryDCFromDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
14988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14990 {
14991 PyThreadState* __tstate = wxPyBeginAllowThreads();
14992 result = (wxMemoryDC *)new wxMemoryDC(arg1);
14993
14994 wxPyEndAllowThreads(__tstate);
14995 if (PyErr_Occurred()) SWIG_fail;
14996 }
15afbcd0 14997 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryDC, 1);
d14a1e28
RD
14998 return resultobj;
14999 fail:
15000 return NULL;
15001}
15002
15003
15004static PyObject *_wrap_MemoryDC_SelectObject(PyObject *self, PyObject *args, PyObject *kwargs) {
15005 PyObject *resultobj;
15006 wxMemoryDC *arg1 = (wxMemoryDC *) 0 ;
15007 wxBitmap *arg2 = 0 ;
15008 PyObject * obj0 = 0 ;
15009 PyObject * obj1 = 0 ;
15010 char *kwnames[] = {
15011 (char *) "self",(char *) "bitmap", NULL
15012 };
15013
15014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryDC_SelectObject",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryDC,
15016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15017 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15018 SWIG_POINTER_EXCEPTION | 0)) == -1)
15019 SWIG_fail;
d14a1e28 15020 if (arg2 == NULL) {
15afbcd0
RD
15021 PyErr_SetString(PyExc_TypeError,"null reference");
15022 SWIG_fail;
d14a1e28
RD
15023 }
15024 {
15025 PyThreadState* __tstate = wxPyBeginAllowThreads();
15026 (arg1)->SelectObject((wxBitmap const &)*arg2);
15027
15028 wxPyEndAllowThreads(__tstate);
15029 if (PyErr_Occurred()) SWIG_fail;
15030 }
15031 Py_INCREF(Py_None); resultobj = Py_None;
15032 return resultobj;
15033 fail:
15034 return NULL;
15035}
15036
15037
15038static PyObject * MemoryDC_swigregister(PyObject *self, PyObject *args) {
15039 PyObject *obj;
15040 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15041 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC, obj);
15042 Py_INCREF(obj);
15043 return Py_BuildValue((char *)"");
15044}
3adfb63b 15045static PyObject *_wrap_new_BufferedDC__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28
RD
15046 PyObject *resultobj;
15047 wxDC *arg1 = (wxDC *) 0 ;
15048 wxBitmap *arg2 = 0 ;
15049 wxBufferedDC *result;
15050 PyObject * obj0 = 0 ;
15051 PyObject * obj1 = 0 ;
d14a1e28 15052
3adfb63b 15053 if(!PyArg_ParseTuple(args,(char *)"OO:new_BufferedDC",&obj0,&obj1)) goto fail;
15afbcd0
RD
15054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15056 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15057 SWIG_POINTER_EXCEPTION | 0)) == -1)
15058 SWIG_fail;
d14a1e28 15059 if (arg2 == NULL) {
15afbcd0
RD
15060 PyErr_SetString(PyExc_TypeError,"null reference");
15061 SWIG_fail;
d14a1e28
RD
15062 }
15063 {
15064 PyThreadState* __tstate = wxPyBeginAllowThreads();
15065 result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxBitmap const &)*arg2);
15066
15067 wxPyEndAllowThreads(__tstate);
15068 if (PyErr_Occurred()) SWIG_fail;
15069 }
15afbcd0 15070 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedDC, 1);
d14a1e28
RD
15071 return resultobj;
15072 fail:
15073 return NULL;
15074}
15075
15076
3adfb63b 15077static PyObject *_wrap_new_BufferedDC__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28
RD
15078 PyObject *resultobj;
15079 wxDC *arg1 = (wxDC *) 0 ;
15080 wxSize *arg2 = 0 ;
15081 wxBufferedDC *result;
15082 wxSize temp2 ;
15083 PyObject * obj0 = 0 ;
15084 PyObject * obj1 = 0 ;
3adfb63b 15085
e498079e 15086 if(!PyArg_ParseTuple(args,(char *)"OO:new_BufferedDC",&obj0,&obj1)) goto fail;
15afbcd0
RD
15087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3adfb63b
RD
15089 {
15090 arg2 = &temp2;
15091 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15092 }
3adfb63b
RD
15093 {
15094 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 15095 result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxSize const &)*arg2);
3adfb63b
RD
15096
15097 wxPyEndAllowThreads(__tstate);
15098 if (PyErr_Occurred()) SWIG_fail;
15099 }
15afbcd0 15100 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedDC, 1);
3adfb63b
RD
15101 return resultobj;
15102 fail:
15103 return NULL;
15104}
15105
15106
15107static PyObject *_wrap_new_BufferedDC(PyObject *self, PyObject *args) {
15108 int argc;
e498079e 15109 PyObject *argv[3];
3adfb63b
RD
15110 int ii;
15111
15112 argc = PyObject_Length(args);
e498079e 15113 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
3adfb63b
RD
15114 argv[ii] = PyTuple_GetItem(args,ii);
15115 }
15116 if (argc == 2) {
15117 int _v;
15118 {
15119 void *ptr;
15afbcd0 15120 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDC, 0) == -1) {
3adfb63b
RD
15121 _v = 0;
15122 PyErr_Clear();
15123 } else {
15124 _v = 1;
15125 }
15126 }
15127 if (_v) {
15128 {
15129 void *ptr;
15afbcd0 15130 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxBitmap, 0) == -1) {
3adfb63b
RD
15131 _v = 0;
15132 PyErr_Clear();
15133 } else {
15134 _v = 1;
15135 }
15136 }
15137 if (_v) {
15138 return _wrap_new_BufferedDC__SWIG_0(self,args);
15139 }
15140 }
15141 }
e498079e 15142 if (argc == 2) {
3adfb63b
RD
15143 int _v;
15144 {
15145 void *ptr;
15afbcd0 15146 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDC, 0) == -1) {
3adfb63b
RD
15147 _v = 0;
15148 PyErr_Clear();
15149 } else {
15150 _v = 1;
15151 }
15152 }
15153 if (_v) {
15154 {
15155 _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2);
15156 }
15157 if (_v) {
e498079e 15158 return _wrap_new_BufferedDC__SWIG_1(self,args);
3adfb63b
RD
15159 }
15160 }
15161 }
15162
15163 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BufferedDC'");
15164 return NULL;
15165}
15166
15167
15168static PyObject *_wrap_new_BufferedDCInternalBuffer(PyObject *self, PyObject *args) {
15169 PyObject *resultobj;
15170 wxDC *arg1 = (wxDC *) 0 ;
15171 wxSize *arg2 = 0 ;
3adfb63b
RD
15172 wxBufferedDC *result;
15173 wxSize temp2 ;
15174 PyObject * obj0 = 0 ;
15175 PyObject * obj1 = 0 ;
d14a1e28 15176
e498079e 15177 if(!PyArg_ParseTuple(args,(char *)"OO:new_BufferedDCInternalBuffer",&obj0,&obj1)) goto fail;
15afbcd0
RD
15178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15180 {
15181 arg2 = &temp2;
15182 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15183 }
15184 {
15185 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 15186 result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxSize const &)*arg2);
d14a1e28
RD
15187
15188 wxPyEndAllowThreads(__tstate);
15189 if (PyErr_Occurred()) SWIG_fail;
15190 }
15afbcd0 15191 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedDC, 1);
d14a1e28
RD
15192 return resultobj;
15193 fail:
15194 return NULL;
15195}
15196
15197
e498079e 15198static PyObject *_wrap_delete_BufferedDC(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15199 PyObject *resultobj;
15200 wxBufferedDC *arg1 = (wxBufferedDC *) 0 ;
15201 PyObject * obj0 = 0 ;
15202 char *kwnames[] = {
15203 (char *) "self", NULL
15204 };
15205
e498079e 15206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BufferedDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
15207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBufferedDC,
15208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15209 {
15210 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 15211 delete arg1;
d14a1e28
RD
15212
15213 wxPyEndAllowThreads(__tstate);
15214 if (PyErr_Occurred()) SWIG_fail;
15215 }
15216 Py_INCREF(Py_None); resultobj = Py_None;
15217 return resultobj;
15218 fail:
15219 return NULL;
15220}
15221
15222
e498079e 15223static PyObject *_wrap_BufferedDC_UnMask(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 15224 PyObject *resultobj;
e498079e 15225 wxBufferedDC *arg1 = (wxBufferedDC *) 0 ;
3adfb63b 15226 PyObject * obj0 = 0 ;
e498079e
RD
15227 char *kwnames[] = {
15228 (char *) "self", NULL
15229 };
3adfb63b 15230
e498079e 15231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BufferedDC_UnMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
15232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBufferedDC,
15233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3adfb63b
RD
15234 {
15235 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 15236 (arg1)->UnMask();
3adfb63b
RD
15237
15238 wxPyEndAllowThreads(__tstate);
15239 if (PyErr_Occurred()) SWIG_fail;
15240 }
e498079e 15241 Py_INCREF(Py_None); resultobj = Py_None;
3adfb63b
RD
15242 return resultobj;
15243 fail:
15244 return NULL;
15245}
15246
15247
e498079e
RD
15248static PyObject * BufferedDC_swigregister(PyObject *self, PyObject *args) {
15249 PyObject *obj;
15250 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15251 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC, obj);
15252 Py_INCREF(obj);
15253 return Py_BuildValue((char *)"");
15254}
15255static PyObject *_wrap_new_BufferedPaintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
3adfb63b
RD
15256 PyObject *resultobj;
15257 wxWindow *arg1 = (wxWindow *) 0 ;
e498079e
RD
15258 wxBitmap const &arg2_defvalue = wxNullBitmap ;
15259 wxBitmap *arg2 = (wxBitmap *) &arg2_defvalue ;
d14a1e28
RD
15260 wxBufferedPaintDC *result;
15261 PyObject * obj0 = 0 ;
15262 PyObject * obj1 = 0 ;
e498079e
RD
15263 char *kwnames[] = {
15264 (char *) "window",(char *) "buffer", NULL
15265 };
d14a1e28 15266
e498079e 15267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_BufferedPaintDC",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15270 if (obj1) {
15afbcd0
RD
15271 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15272 SWIG_POINTER_EXCEPTION | 0)) == -1)
15273 SWIG_fail;
e498079e 15274 if (arg2 == NULL) {
15afbcd0
RD
15275 PyErr_SetString(PyExc_TypeError,"null reference");
15276 SWIG_fail;
d14a1e28
RD
15277 }
15278 }
15279 {
15280 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 15281 result = (wxBufferedPaintDC *)new wxBufferedPaintDC(arg1,(wxBitmap const &)*arg2);
d14a1e28
RD
15282
15283 wxPyEndAllowThreads(__tstate);
15284 if (PyErr_Occurred()) SWIG_fail;
15285 }
15afbcd0 15286 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedPaintDC, 1);
d14a1e28
RD
15287 return resultobj;
15288 fail:
15289 return NULL;
15290}
15291
15292
15293static PyObject * BufferedPaintDC_swigregister(PyObject *self, PyObject *args) {
15294 PyObject *obj;
15295 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15296 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC, obj);
15297 Py_INCREF(obj);
15298 return Py_BuildValue((char *)"");
15299}
15300static PyObject *_wrap_new_ScreenDC(PyObject *self, PyObject *args, PyObject *kwargs) {
15301 PyObject *resultobj;
15302 wxScreenDC *result;
15303 char *kwnames[] = {
15304 NULL
15305 };
15306
15307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ScreenDC",kwnames)) goto fail;
15308 {
15309 PyThreadState* __tstate = wxPyBeginAllowThreads();
15310 result = (wxScreenDC *)new wxScreenDC();
15311
15312 wxPyEndAllowThreads(__tstate);
15313 if (PyErr_Occurred()) SWIG_fail;
15314 }
15afbcd0 15315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScreenDC, 1);
d14a1e28
RD
15316 return resultobj;
15317 fail:
15318 return NULL;
15319}
15320
15321
15322static PyObject *_wrap_ScreenDC_StartDrawingOnTopWin(PyObject *self, PyObject *args, PyObject *kwargs) {
15323 PyObject *resultobj;
15324 wxScreenDC *arg1 = (wxScreenDC *) 0 ;
15325 wxWindow *arg2 = (wxWindow *) 0 ;
15326 bool result;
15327 PyObject * obj0 = 0 ;
15328 PyObject * obj1 = 0 ;
15329 char *kwnames[] = {
15330 (char *) "self",(char *) "window", NULL
15331 };
15332
15333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScreenDC,
15335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15336 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15338 {
15339 PyThreadState* __tstate = wxPyBeginAllowThreads();
15340 result = (bool)(arg1)->StartDrawingOnTop(arg2);
15341
15342 wxPyEndAllowThreads(__tstate);
15343 if (PyErr_Occurred()) SWIG_fail;
15344 }
4f89f6a3
RD
15345 {
15346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15347 }
d14a1e28
RD
15348 return resultobj;
15349 fail:
15350 return NULL;
15351}
15352
15353
15354static PyObject *_wrap_ScreenDC_StartDrawingOnTop(PyObject *self, PyObject *args, PyObject *kwargs) {
15355 PyObject *resultobj;
15356 wxScreenDC *arg1 = (wxScreenDC *) 0 ;
15357 wxRect *arg2 = (wxRect *) NULL ;
15358 bool result;
15359 PyObject * obj0 = 0 ;
15360 PyObject * obj1 = 0 ;
15361 char *kwnames[] = {
15362 (char *) "self",(char *) "rect", NULL
15363 };
15364
15365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScreenDC,
15367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15368 if (obj1) {
15afbcd0
RD
15369 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
15370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15371 }
15372 {
15373 PyThreadState* __tstate = wxPyBeginAllowThreads();
15374 result = (bool)(arg1)->StartDrawingOnTop(arg2);
15375
15376 wxPyEndAllowThreads(__tstate);
15377 if (PyErr_Occurred()) SWIG_fail;
15378 }
4f89f6a3
RD
15379 {
15380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15381 }
d14a1e28
RD
15382 return resultobj;
15383 fail:
15384 return NULL;
15385}
15386
15387
15388static PyObject *_wrap_ScreenDC_EndDrawingOnTop(PyObject *self, PyObject *args, PyObject *kwargs) {
15389 PyObject *resultobj;
15390 wxScreenDC *arg1 = (wxScreenDC *) 0 ;
15391 bool result;
15392 PyObject * obj0 = 0 ;
15393 char *kwnames[] = {
15394 (char *) "self", NULL
15395 };
15396
15397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames,&obj0)) goto fail;
15afbcd0
RD
15398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScreenDC,
15399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15400 {
15401 PyThreadState* __tstate = wxPyBeginAllowThreads();
15402 result = (bool)(arg1)->EndDrawingOnTop();
15403
15404 wxPyEndAllowThreads(__tstate);
15405 if (PyErr_Occurred()) SWIG_fail;
15406 }
4f89f6a3
RD
15407 {
15408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15409 }
d14a1e28
RD
15410 return resultobj;
15411 fail:
15412 return NULL;
15413}
15414
15415
15416static PyObject * ScreenDC_swigregister(PyObject *self, PyObject *args) {
15417 PyObject *obj;
15418 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15419 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC, obj);
15420 Py_INCREF(obj);
15421 return Py_BuildValue((char *)"");
15422}
15423static PyObject *_wrap_new_ClientDC(PyObject *self, PyObject *args, PyObject *kwargs) {
15424 PyObject *resultobj;
15425 wxWindow *arg1 = (wxWindow *) 0 ;
15426 wxClientDC *result;
15427 PyObject * obj0 = 0 ;
15428 char *kwnames[] = {
15429 (char *) "win", NULL
15430 };
15431
15432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ClientDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
15433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15435 {
15436 PyThreadState* __tstate = wxPyBeginAllowThreads();
15437 result = (wxClientDC *)new wxClientDC(arg1);
15438
15439 wxPyEndAllowThreads(__tstate);
15440 if (PyErr_Occurred()) SWIG_fail;
15441 }
15afbcd0 15442 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClientDC, 1);
d14a1e28
RD
15443 return resultobj;
15444 fail:
15445 return NULL;
15446}
15447
15448
15449static PyObject * ClientDC_swigregister(PyObject *self, PyObject *args) {
15450 PyObject *obj;
15451 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15452 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC, obj);
15453 Py_INCREF(obj);
15454 return Py_BuildValue((char *)"");
15455}
15456static PyObject *_wrap_new_PaintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
15457 PyObject *resultobj;
15458 wxWindow *arg1 = (wxWindow *) 0 ;
15459 wxPaintDC *result;
15460 PyObject * obj0 = 0 ;
15461 char *kwnames[] = {
15462 (char *) "win", NULL
15463 };
15464
15465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PaintDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
15466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15468 {
15469 PyThreadState* __tstate = wxPyBeginAllowThreads();
15470 result = (wxPaintDC *)new wxPaintDC(arg1);
15471
15472 wxPyEndAllowThreads(__tstate);
15473 if (PyErr_Occurred()) SWIG_fail;
15474 }
15afbcd0 15475 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintDC, 1);
d14a1e28
RD
15476 return resultobj;
15477 fail:
15478 return NULL;
15479}
15480
15481
15482static PyObject * PaintDC_swigregister(PyObject *self, PyObject *args) {
15483 PyObject *obj;
15484 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15485 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC, obj);
15486 Py_INCREF(obj);
15487 return Py_BuildValue((char *)"");
15488}
15489static PyObject *_wrap_new_WindowDC(PyObject *self, PyObject *args, PyObject *kwargs) {
15490 PyObject *resultobj;
15491 wxWindow *arg1 = (wxWindow *) 0 ;
15492 wxWindowDC *result;
15493 PyObject * obj0 = 0 ;
15494 char *kwnames[] = {
15495 (char *) "win", NULL
15496 };
15497
15498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_WindowDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
15499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15501 {
15502 PyThreadState* __tstate = wxPyBeginAllowThreads();
15503 result = (wxWindowDC *)new wxWindowDC(arg1);
15504
15505 wxPyEndAllowThreads(__tstate);
15506 if (PyErr_Occurred()) SWIG_fail;
15507 }
15afbcd0 15508 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDC, 1);
d14a1e28
RD
15509 return resultobj;
15510 fail:
15511 return NULL;
15512}
15513
15514
15515static PyObject * WindowDC_swigregister(PyObject *self, PyObject *args) {
15516 PyObject *obj;
15517 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15518 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC, obj);
15519 Py_INCREF(obj);
15520 return Py_BuildValue((char *)"");
15521}
15522static PyObject *_wrap_new_MirrorDC(PyObject *self, PyObject *args, PyObject *kwargs) {
15523 PyObject *resultobj;
15524 wxDC *arg1 = 0 ;
15525 bool arg2 ;
15526 wxMirrorDC *result;
15527 PyObject * obj0 = 0 ;
15528 PyObject * obj1 = 0 ;
15529 char *kwnames[] = {
15530 (char *) "dc",(char *) "mirror", NULL
15531 };
15532
15533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_MirrorDC",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15535 SWIG_POINTER_EXCEPTION | 0)) == -1)
15536 SWIG_fail;
d14a1e28 15537 if (arg1 == NULL) {
15afbcd0
RD
15538 PyErr_SetString(PyExc_TypeError,"null reference");
15539 SWIG_fail;
a41e16b6 15540 }
15afbcd0
RD
15541 arg2 = (bool) SWIG_AsBool(obj1);
15542 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15543 {
15544 PyThreadState* __tstate = wxPyBeginAllowThreads();
15545 result = (wxMirrorDC *)new wxMirrorDC(*arg1,arg2);
15546
15547 wxPyEndAllowThreads(__tstate);
15548 if (PyErr_Occurred()) SWIG_fail;
15549 }
15afbcd0 15550 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMirrorDC, 1);
d14a1e28
RD
15551 return resultobj;
15552 fail:
15553 return NULL;
15554}
15555
15556
15557static PyObject * MirrorDC_swigregister(PyObject *self, PyObject *args) {
15558 PyObject *obj;
15559 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15560 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC, obj);
15561 Py_INCREF(obj);
15562 return Py_BuildValue((char *)"");
15563}
15564static PyObject *_wrap_new_PostScriptDC(PyObject *self, PyObject *args, PyObject *kwargs) {
15565 PyObject *resultobj;
15566 wxPrintData *arg1 = 0 ;
15567 wxPostScriptDC *result;
15568 PyObject * obj0 = 0 ;
15569 char *kwnames[] = {
15570 (char *) "printData", NULL
15571 };
15572
15573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PostScriptDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
15574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
15575 SWIG_POINTER_EXCEPTION | 0)) == -1)
15576 SWIG_fail;
d14a1e28 15577 if (arg1 == NULL) {
15afbcd0
RD
15578 PyErr_SetString(PyExc_TypeError,"null reference");
15579 SWIG_fail;
d14a1e28
RD
15580 }
15581 {
15582 PyThreadState* __tstate = wxPyBeginAllowThreads();
15583 result = (wxPostScriptDC *)new wxPostScriptDC((wxPrintData const &)*arg1);
15584
15585 wxPyEndAllowThreads(__tstate);
15586 if (PyErr_Occurred()) SWIG_fail;
15587 }
15afbcd0 15588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPostScriptDC, 1);
d14a1e28
RD
15589 return resultobj;
15590 fail:
15591 return NULL;
15592}
15593
15594
15595static PyObject *_wrap_PostScriptDC_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
15596 PyObject *resultobj;
15597 wxPostScriptDC *arg1 = (wxPostScriptDC *) 0 ;
15598 wxPrintData *result;
15599 PyObject * obj0 = 0 ;
15600 char *kwnames[] = {
15601 (char *) "self", NULL
15602 };
15603
15604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PostScriptDC_GetPrintData",kwnames,&obj0)) goto fail;
15afbcd0
RD
15605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPostScriptDC,
15606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15607 {
15608 PyThreadState* __tstate = wxPyBeginAllowThreads();
15609 {
15610 wxPrintData &_result_ref = (arg1)->GetPrintData();
15611 result = (wxPrintData *) &_result_ref;
15612 }
15613
15614 wxPyEndAllowThreads(__tstate);
15615 if (PyErr_Occurred()) SWIG_fail;
15616 }
15afbcd0 15617 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
15618 return resultobj;
15619 fail:
15620 return NULL;
15621}
15622
15623
15624static PyObject *_wrap_PostScriptDC_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
15625 PyObject *resultobj;
15626 wxPostScriptDC *arg1 = (wxPostScriptDC *) 0 ;
15627 wxPrintData *arg2 = 0 ;
15628 PyObject * obj0 = 0 ;
15629 PyObject * obj1 = 0 ;
15630 char *kwnames[] = {
15631 (char *) "self",(char *) "data", NULL
15632 };
15633
15634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostScriptDC_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPostScriptDC,
15636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15637 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
15638 SWIG_POINTER_EXCEPTION | 0)) == -1)
15639 SWIG_fail;
d14a1e28 15640 if (arg2 == NULL) {
15afbcd0
RD
15641 PyErr_SetString(PyExc_TypeError,"null reference");
15642 SWIG_fail;
d14a1e28
RD
15643 }
15644 {
15645 PyThreadState* __tstate = wxPyBeginAllowThreads();
15646 (arg1)->SetPrintData((wxPrintData const &)*arg2);
15647
15648 wxPyEndAllowThreads(__tstate);
15649 if (PyErr_Occurred()) SWIG_fail;
15650 }
15651 Py_INCREF(Py_None); resultobj = Py_None;
15652 return resultobj;
15653 fail:
15654 return NULL;
15655}
15656
15657
15658static PyObject *_wrap_PostScriptDC_SetResolution(PyObject *self, PyObject *args, PyObject *kwargs) {
15659 PyObject *resultobj;
15660 int arg1 ;
994141e6 15661 PyObject * obj0 = 0 ;
d14a1e28
RD
15662 char *kwnames[] = {
15663 (char *) "ppi", NULL
15664 };
15665
994141e6 15666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PostScriptDC_SetResolution",kwnames,&obj0)) goto fail;
15afbcd0
RD
15667 arg1 = (int) SWIG_AsInt(obj0);
15668 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15669 {
15670 PyThreadState* __tstate = wxPyBeginAllowThreads();
15671 wxPostScriptDC::SetResolution(arg1);
15672
15673 wxPyEndAllowThreads(__tstate);
15674 if (PyErr_Occurred()) SWIG_fail;
15675 }
15676 Py_INCREF(Py_None); resultobj = Py_None;
15677 return resultobj;
15678 fail:
15679 return NULL;
15680}
15681
15682
15683static PyObject *_wrap_PostScriptDC_GetResolution(PyObject *self, PyObject *args, PyObject *kwargs) {
15684 PyObject *resultobj;
15685 int result;
15686 char *kwnames[] = {
15687 NULL
15688 };
15689
15690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PostScriptDC_GetResolution",kwnames)) goto fail;
15691 {
15692 PyThreadState* __tstate = wxPyBeginAllowThreads();
15693 result = (int)wxPostScriptDC::GetResolution();
15694
15695 wxPyEndAllowThreads(__tstate);
15696 if (PyErr_Occurred()) SWIG_fail;
15697 }
15afbcd0 15698 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15699 return resultobj;
15700 fail:
15701 return NULL;
15702}
15703
15704
15705static PyObject * PostScriptDC_swigregister(PyObject *self, PyObject *args) {
15706 PyObject *obj;
15707 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15708 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC, obj);
15709 Py_INCREF(obj);
15710 return Py_BuildValue((char *)"");
15711}
15712static PyObject *_wrap_new_MetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
15713 PyObject *resultobj;
15714 wxString const &arg1_defvalue = wxPyEmptyString ;
15715 wxString *arg1 = (wxString *) &arg1_defvalue ;
15716 wxMetaFile *result;
e811c8ce 15717 bool temp1 = False ;
d14a1e28
RD
15718 PyObject * obj0 = 0 ;
15719 char *kwnames[] = {
15720 (char *) "filename", NULL
15721 };
15722
15723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MetaFile",kwnames,&obj0)) goto fail;
15724 if (obj0) {
15725 {
15726 arg1 = wxString_in_helper(obj0);
15727 if (arg1 == NULL) SWIG_fail;
e811c8ce 15728 temp1 = True;
d14a1e28
RD
15729 }
15730 }
15731 {
15732 PyThreadState* __tstate = wxPyBeginAllowThreads();
15733 result = (wxMetaFile *)new wxMetaFile((wxString const &)*arg1);
15734
15735 wxPyEndAllowThreads(__tstate);
15736 if (PyErr_Occurred()) SWIG_fail;
15737 }
15afbcd0 15738 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetaFile, 1);
d14a1e28
RD
15739 {
15740 if (temp1)
15741 delete arg1;
15742 }
15743 return resultobj;
15744 fail:
15745 {
15746 if (temp1)
15747 delete arg1;
15748 }
15749 return NULL;
15750}
15751
15752
15753static PyObject * MetaFile_swigregister(PyObject *self, PyObject *args) {
15754 PyObject *obj;
15755 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15756 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile, obj);
15757 Py_INCREF(obj);
15758 return Py_BuildValue((char *)"");
15759}
15760static PyObject *_wrap_new_MetaFileDC(PyObject *self, PyObject *args, PyObject *kwargs) {
15761 PyObject *resultobj;
15762 wxString const &arg1_defvalue = wxPyEmptyString ;
15763 wxString *arg1 = (wxString *) &arg1_defvalue ;
15764 int arg2 = (int) 0 ;
15765 int arg3 = (int) 0 ;
15766 wxString const &arg4_defvalue = wxPyEmptyString ;
15767 wxString *arg4 = (wxString *) &arg4_defvalue ;
15768 wxMetaFileDC *result;
e811c8ce
RD
15769 bool temp1 = False ;
15770 bool temp4 = False ;
d14a1e28 15771 PyObject * obj0 = 0 ;
994141e6
RD
15772 PyObject * obj1 = 0 ;
15773 PyObject * obj2 = 0 ;
d14a1e28
RD
15774 PyObject * obj3 = 0 ;
15775 char *kwnames[] = {
15776 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15777 };
15778
994141e6 15779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_MetaFileDC",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
15780 if (obj0) {
15781 {
15782 arg1 = wxString_in_helper(obj0);
15783 if (arg1 == NULL) SWIG_fail;
e811c8ce 15784 temp1 = True;
d14a1e28
RD
15785 }
15786 }
994141e6 15787 if (obj1) {
15afbcd0
RD
15788 arg2 = (int) SWIG_AsInt(obj1);
15789 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15790 }
15791 if (obj2) {
15afbcd0
RD
15792 arg3 = (int) SWIG_AsInt(obj2);
15793 if (PyErr_Occurred()) SWIG_fail;
994141e6 15794 }
d14a1e28
RD
15795 if (obj3) {
15796 {
15797 arg4 = wxString_in_helper(obj3);
15798 if (arg4 == NULL) SWIG_fail;
e811c8ce 15799 temp4 = True;
d14a1e28
RD
15800 }
15801 }
15802 {
15803 PyThreadState* __tstate = wxPyBeginAllowThreads();
15804 result = (wxMetaFileDC *)new wxMetaFileDC((wxString const &)*arg1,arg2,arg3,(wxString const &)*arg4);
15805
15806 wxPyEndAllowThreads(__tstate);
15807 if (PyErr_Occurred()) SWIG_fail;
15808 }
15afbcd0 15809 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetaFileDC, 1);
d14a1e28
RD
15810 {
15811 if (temp1)
15812 delete arg1;
15813 }
15814 {
15815 if (temp4)
15816 delete arg4;
15817 }
15818 return resultobj;
15819 fail:
15820 {
15821 if (temp1)
15822 delete arg1;
15823 }
15824 {
15825 if (temp4)
15826 delete arg4;
15827 }
15828 return NULL;
15829}
15830
15831
15832static PyObject * MetaFileDC_swigregister(PyObject *self, PyObject *args) {
15833 PyObject *obj;
15834 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15835 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC, obj);
15836 Py_INCREF(obj);
15837 return Py_BuildValue((char *)"");
15838}
15839static PyObject *_wrap_new_PrinterDC(PyObject *self, PyObject *args, PyObject *kwargs) {
15840 PyObject *resultobj;
15841 wxPrintData *arg1 = 0 ;
15842 wxPrinterDC *result;
15843 PyObject * obj0 = 0 ;
15844 char *kwnames[] = {
15845 (char *) "printData", NULL
15846 };
15847
15848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PrinterDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
15849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
15850 SWIG_POINTER_EXCEPTION | 0)) == -1)
15851 SWIG_fail;
d14a1e28 15852 if (arg1 == NULL) {
15afbcd0
RD
15853 PyErr_SetString(PyExc_TypeError,"null reference");
15854 SWIG_fail;
d14a1e28
RD
15855 }
15856 {
15857 PyThreadState* __tstate = wxPyBeginAllowThreads();
15858 result = (wxPrinterDC *)new wxPrinterDC((wxPrintData const &)*arg1);
15859
15860 wxPyEndAllowThreads(__tstate);
15861 if (PyErr_Occurred()) SWIG_fail;
15862 }
15afbcd0 15863 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinterDC, 1);
d14a1e28
RD
15864 return resultobj;
15865 fail:
15866 return NULL;
15867}
15868
15869
15870static PyObject * PrinterDC_swigregister(PyObject *self, PyObject *args) {
15871 PyObject *obj;
15872 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15873 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC, obj);
15874 Py_INCREF(obj);
15875 return Py_BuildValue((char *)"");
15876}
15877static PyObject *_wrap_new_ImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
15878 PyObject *resultobj;
15879 int arg1 ;
15880 int arg2 ;
e811c8ce 15881 int arg3 = (int) True ;
d14a1e28
RD
15882 int arg4 = (int) 1 ;
15883 wxImageList *result;
994141e6
RD
15884 PyObject * obj0 = 0 ;
15885 PyObject * obj1 = 0 ;
15886 PyObject * obj2 = 0 ;
15887 PyObject * obj3 = 0 ;
d14a1e28
RD
15888 char *kwnames[] = {
15889 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
15890 };
15891
994141e6 15892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_ImageList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
15893 arg1 = (int) SWIG_AsInt(obj0);
15894 if (PyErr_Occurred()) SWIG_fail;
15895 arg2 = (int) SWIG_AsInt(obj1);
15896 if (PyErr_Occurred()) SWIG_fail;
994141e6 15897 if (obj2) {
15afbcd0
RD
15898 arg3 = (int) SWIG_AsInt(obj2);
15899 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15900 }
15901 if (obj3) {
15afbcd0
RD
15902 arg4 = (int) SWIG_AsInt(obj3);
15903 if (PyErr_Occurred()) SWIG_fail;
994141e6 15904 }
d14a1e28
RD
15905 {
15906 PyThreadState* __tstate = wxPyBeginAllowThreads();
15907 result = (wxImageList *)new wxImageList(arg1,arg2,arg3,arg4);
15908
15909 wxPyEndAllowThreads(__tstate);
15910 if (PyErr_Occurred()) SWIG_fail;
15911 }
15912 {
15913 resultobj = wxPyMake_wxObject(result);
15914 }
15915 return resultobj;
15916 fail:
15917 return NULL;
15918}
15919
15920
15921static PyObject *_wrap_delete_ImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
15922 PyObject *resultobj;
15923 wxImageList *arg1 = (wxImageList *) 0 ;
15924 PyObject * obj0 = 0 ;
15925 char *kwnames[] = {
15926 (char *) "self", NULL
15927 };
15928
15929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ImageList",kwnames,&obj0)) goto fail;
15afbcd0
RD
15930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
15931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15932 {
15933 PyThreadState* __tstate = wxPyBeginAllowThreads();
15934 delete arg1;
15935
15936 wxPyEndAllowThreads(__tstate);
15937 if (PyErr_Occurred()) SWIG_fail;
15938 }
15939 Py_INCREF(Py_None); resultobj = Py_None;
15940 return resultobj;
15941 fail:
15942 return NULL;
15943}
15944
15945
15946static PyObject *_wrap_ImageList_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
15947 PyObject *resultobj;
15948 wxImageList *arg1 = (wxImageList *) 0 ;
15949 wxBitmap *arg2 = 0 ;
15950 wxBitmap const &arg3_defvalue = wxNullBitmap ;
15951 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
15952 int result;
15953 PyObject * obj0 = 0 ;
15954 PyObject * obj1 = 0 ;
15955 PyObject * obj2 = 0 ;
15956 char *kwnames[] = {
15957 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
15958 };
15959
15960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ImageList_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
15962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15963 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15964 SWIG_POINTER_EXCEPTION | 0)) == -1)
15965 SWIG_fail;
d14a1e28 15966 if (arg2 == NULL) {
15afbcd0
RD
15967 PyErr_SetString(PyExc_TypeError,"null reference");
15968 SWIG_fail;
d14a1e28
RD
15969 }
15970 if (obj2) {
15afbcd0
RD
15971 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
15972 SWIG_POINTER_EXCEPTION | 0)) == -1)
15973 SWIG_fail;
d14a1e28 15974 if (arg3 == NULL) {
15afbcd0
RD
15975 PyErr_SetString(PyExc_TypeError,"null reference");
15976 SWIG_fail;
d14a1e28
RD
15977 }
15978 }
15979 {
15980 PyThreadState* __tstate = wxPyBeginAllowThreads();
15981 result = (int)(arg1)->Add((wxBitmap const &)*arg2,(wxBitmap const &)*arg3);
15982
15983 wxPyEndAllowThreads(__tstate);
15984 if (PyErr_Occurred()) SWIG_fail;
15985 }
15afbcd0 15986 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15987 return resultobj;
15988 fail:
15989 return NULL;
15990}
15991
15992
15993static PyObject *_wrap_ImageList_AddWithColourMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15994 PyObject *resultobj;
15995 wxImageList *arg1 = (wxImageList *) 0 ;
15996 wxBitmap *arg2 = 0 ;
15997 wxColour *arg3 = 0 ;
15998 int result;
15999 wxColour temp3 ;
16000 PyObject * obj0 = 0 ;
16001 PyObject * obj1 = 0 ;
16002 PyObject * obj2 = 0 ;
16003 char *kwnames[] = {
16004 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16005 };
16006
16007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageList_AddWithColourMask",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16010 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16011 SWIG_POINTER_EXCEPTION | 0)) == -1)
16012 SWIG_fail;
d14a1e28 16013 if (arg2 == NULL) {
15afbcd0
RD
16014 PyErr_SetString(PyExc_TypeError,"null reference");
16015 SWIG_fail;
d14a1e28
RD
16016 }
16017 {
16018 arg3 = &temp3;
16019 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16020 }
16021 {
16022 PyThreadState* __tstate = wxPyBeginAllowThreads();
16023 result = (int)(arg1)->Add((wxBitmap const &)*arg2,(wxColour const &)*arg3);
16024
16025 wxPyEndAllowThreads(__tstate);
16026 if (PyErr_Occurred()) SWIG_fail;
16027 }
15afbcd0 16028 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16029 return resultobj;
16030 fail:
16031 return NULL;
16032}
16033
16034
16035static PyObject *_wrap_ImageList_AddIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
16036 PyObject *resultobj;
16037 wxImageList *arg1 = (wxImageList *) 0 ;
16038 wxIcon *arg2 = 0 ;
16039 int result;
16040 PyObject * obj0 = 0 ;
16041 PyObject * obj1 = 0 ;
16042 char *kwnames[] = {
16043 (char *) "self",(char *) "icon", NULL
16044 };
16045
16046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageList_AddIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16049 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
16050 SWIG_POINTER_EXCEPTION | 0)) == -1)
16051 SWIG_fail;
d14a1e28 16052 if (arg2 == NULL) {
15afbcd0
RD
16053 PyErr_SetString(PyExc_TypeError,"null reference");
16054 SWIG_fail;
d14a1e28
RD
16055 }
16056 {
16057 PyThreadState* __tstate = wxPyBeginAllowThreads();
16058 result = (int)(arg1)->Add((wxIcon const &)*arg2);
16059
16060 wxPyEndAllowThreads(__tstate);
16061 if (PyErr_Occurred()) SWIG_fail;
16062 }
15afbcd0 16063 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16064 return resultobj;
16065 fail:
16066 return NULL;
16067}
16068
16069
16070static PyObject *_wrap_ImageList_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
16071 PyObject *resultobj;
16072 wxImageList *arg1 = (wxImageList *) 0 ;
16073 int arg2 ;
16074 wxBitmap *arg3 = 0 ;
16075 bool result;
16076 PyObject * obj0 = 0 ;
994141e6 16077 PyObject * obj1 = 0 ;
d14a1e28
RD
16078 PyObject * obj2 = 0 ;
16079 char *kwnames[] = {
16080 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16081 };
16082
994141e6 16083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageList_Replace",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16086 arg2 = (int) SWIG_AsInt(obj1);
16087 if (PyErr_Occurred()) SWIG_fail;
16088 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
16089 SWIG_POINTER_EXCEPTION | 0)) == -1)
16090 SWIG_fail;
d14a1e28 16091 if (arg3 == NULL) {
15afbcd0
RD
16092 PyErr_SetString(PyExc_TypeError,"null reference");
16093 SWIG_fail;
d14a1e28
RD
16094 }
16095 {
16096 PyThreadState* __tstate = wxPyBeginAllowThreads();
16097 result = (bool)(arg1)->Replace(arg2,(wxBitmap const &)*arg3);
16098
16099 wxPyEndAllowThreads(__tstate);
16100 if (PyErr_Occurred()) SWIG_fail;
16101 }
4f89f6a3
RD
16102 {
16103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16104 }
d14a1e28
RD
16105 return resultobj;
16106 fail:
16107 return NULL;
16108}
16109
16110
16111static PyObject *_wrap_ImageList_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
16112 PyObject *resultobj;
16113 wxImageList *arg1 = (wxImageList *) 0 ;
16114 int arg2 ;
16115 wxDC *arg3 = 0 ;
16116 int arg4 ;
16117 int arg5 ;
16118 int arg6 = (int) wxIMAGELIST_DRAW_NORMAL ;
e811c8ce 16119 bool arg7 = (bool) (bool)False ;
d14a1e28
RD
16120 bool result;
16121 PyObject * obj0 = 0 ;
994141e6 16122 PyObject * obj1 = 0 ;
d14a1e28 16123 PyObject * obj2 = 0 ;
994141e6
RD
16124 PyObject * obj3 = 0 ;
16125 PyObject * obj4 = 0 ;
16126 PyObject * obj5 = 0 ;
d14a1e28
RD
16127 PyObject * obj6 = 0 ;
16128 char *kwnames[] = {
16129 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16130 };
16131
994141e6 16132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:ImageList_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
16133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16135 arg2 = (int) SWIG_AsInt(obj1);
16136 if (PyErr_Occurred()) SWIG_fail;
16137 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
16138 SWIG_POINTER_EXCEPTION | 0)) == -1)
16139 SWIG_fail;
d14a1e28 16140 if (arg3 == NULL) {
15afbcd0
RD
16141 PyErr_SetString(PyExc_TypeError,"null reference");
16142 SWIG_fail;
994141e6 16143 }
15afbcd0
RD
16144 arg4 = (int) SWIG_AsInt(obj3);
16145 if (PyErr_Occurred()) SWIG_fail;
16146 arg5 = (int) SWIG_AsInt(obj4);
16147 if (PyErr_Occurred()) SWIG_fail;
994141e6 16148 if (obj5) {
15afbcd0
RD
16149 arg6 = (int) SWIG_AsInt(obj5);
16150 if (PyErr_Occurred()) SWIG_fail;
994141e6 16151 }
d14a1e28 16152 if (obj6) {
15afbcd0
RD
16153 arg7 = (bool const) SWIG_AsBool(obj6);
16154 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16155 }
16156 {
16157 PyThreadState* __tstate = wxPyBeginAllowThreads();
16158 result = (bool)(arg1)->Draw(arg2,*arg3,arg4,arg5,arg6,arg7);
16159
16160 wxPyEndAllowThreads(__tstate);
16161 if (PyErr_Occurred()) SWIG_fail;
16162 }
4f89f6a3
RD
16163 {
16164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16165 }
d14a1e28
RD
16166 return resultobj;
16167 fail:
16168 return NULL;
16169}
16170
16171
16172static PyObject *_wrap_ImageList_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
16173 PyObject *resultobj;
16174 wxImageList *arg1 = (wxImageList *) 0 ;
16175 int result;
16176 PyObject * obj0 = 0 ;
16177 char *kwnames[] = {
16178 (char *) "self", NULL
16179 };
16180
16181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageList_GetImageCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
16182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16184 {
16185 PyThreadState* __tstate = wxPyBeginAllowThreads();
16186 result = (int)(arg1)->GetImageCount();
16187
16188 wxPyEndAllowThreads(__tstate);
16189 if (PyErr_Occurred()) SWIG_fail;
16190 }
15afbcd0 16191 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16192 return resultobj;
16193 fail:
16194 return NULL;
16195}
16196
16197
16198static PyObject *_wrap_ImageList_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
16199 PyObject *resultobj;
16200 wxImageList *arg1 = (wxImageList *) 0 ;
16201 int arg2 ;
16202 bool result;
16203 PyObject * obj0 = 0 ;
994141e6 16204 PyObject * obj1 = 0 ;
d14a1e28
RD
16205 char *kwnames[] = {
16206 (char *) "self",(char *) "index", NULL
16207 };
16208
994141e6 16209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageList_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16212 arg2 = (int) SWIG_AsInt(obj1);
16213 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16214 {
16215 PyThreadState* __tstate = wxPyBeginAllowThreads();
16216 result = (bool)(arg1)->Remove(arg2);
16217
16218 wxPyEndAllowThreads(__tstate);
16219 if (PyErr_Occurred()) SWIG_fail;
16220 }
4f89f6a3
RD
16221 {
16222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16223 }
d14a1e28
RD
16224 return resultobj;
16225 fail:
16226 return NULL;
16227}
16228
16229
16230static PyObject *_wrap_ImageList_RemoveAll(PyObject *self, PyObject *args, PyObject *kwargs) {
16231 PyObject *resultobj;
16232 wxImageList *arg1 = (wxImageList *) 0 ;
16233 bool result;
16234 PyObject * obj0 = 0 ;
16235 char *kwnames[] = {
16236 (char *) "self", NULL
16237 };
16238
16239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageList_RemoveAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
16240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16242 {
16243 PyThreadState* __tstate = wxPyBeginAllowThreads();
16244 result = (bool)(arg1)->RemoveAll();
16245
16246 wxPyEndAllowThreads(__tstate);
16247 if (PyErr_Occurred()) SWIG_fail;
16248 }
4f89f6a3
RD
16249 {
16250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16251 }
d14a1e28
RD
16252 return resultobj;
16253 fail:
16254 return NULL;
16255}
16256
16257
16258static PyObject *_wrap_ImageList_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16259 PyObject *resultobj;
16260 wxImageList *arg1 = (wxImageList *) 0 ;
16261 int arg2 ;
16262 int *arg3 = 0 ;
16263 int *arg4 = 0 ;
16264 int temp3 ;
16265 int temp4 ;
16266 PyObject * obj0 = 0 ;
994141e6 16267 PyObject * obj1 = 0 ;
d14a1e28
RD
16268 char *kwnames[] = {
16269 (char *) "self",(char *) "index", NULL
16270 };
16271
16272 arg3 = &temp3;
16273 arg4 = &temp4;
994141e6 16274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageList_GetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16277 arg2 = (int) SWIG_AsInt(obj1);
16278 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16279 {
16280 PyThreadState* __tstate = wxPyBeginAllowThreads();
16281 (arg1)->GetSize(arg2,*arg3,*arg4);
16282
16283 wxPyEndAllowThreads(__tstate);
16284 if (PyErr_Occurred()) SWIG_fail;
16285 }
16286 Py_INCREF(Py_None); resultobj = Py_None;
16287 {
16288 PyObject *o = PyInt_FromLong((long) (*arg3));
16289 resultobj = t_output_helper(resultobj,o);
16290 }
16291 {
16292 PyObject *o = PyInt_FromLong((long) (*arg4));
16293 resultobj = t_output_helper(resultobj,o);
16294 }
16295 return resultobj;
16296 fail:
16297 return NULL;
16298}
16299
16300
16301static PyObject * ImageList_swigregister(PyObject *self, PyObject *args) {
16302 PyObject *obj;
16303 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16304 SWIG_TypeClientData(SWIGTYPE_p_wxImageList, obj);
16305 Py_INCREF(obj);
16306 return Py_BuildValue((char *)"");
16307}
994141e6
RD
16308static int _wrap_NORMAL_FONT_set(PyObject *_val) {
16309 PyErr_SetString(PyExc_TypeError,"Variable NORMAL_FONT is read-only.");
16310 return 1;
d14a1e28
RD
16311}
16312
16313
994141e6
RD
16314static PyObject *_wrap_NORMAL_FONT_get() {
16315 PyObject *pyobj;
d14a1e28 16316
15afbcd0 16317 pyobj = SWIG_NewPointerObj((void *)(wxNORMAL_FONT), SWIGTYPE_p_wxFont, 0);
994141e6 16318 return pyobj;
d14a1e28
RD
16319}
16320
16321
994141e6
RD
16322static int _wrap_SMALL_FONT_set(PyObject *_val) {
16323 PyErr_SetString(PyExc_TypeError,"Variable SMALL_FONT is read-only.");
16324 return 1;
d14a1e28
RD
16325}
16326
16327
994141e6
RD
16328static PyObject *_wrap_SMALL_FONT_get() {
16329 PyObject *pyobj;
d14a1e28 16330
15afbcd0 16331 pyobj = SWIG_NewPointerObj((void *)(wxSMALL_FONT), SWIGTYPE_p_wxFont, 0);
994141e6 16332 return pyobj;
d14a1e28
RD
16333}
16334
16335
994141e6
RD
16336static int _wrap_ITALIC_FONT_set(PyObject *_val) {
16337 PyErr_SetString(PyExc_TypeError,"Variable ITALIC_FONT is read-only.");
16338 return 1;
d14a1e28 16339}
994141e6
RD
16340
16341
16342static PyObject *_wrap_ITALIC_FONT_get() {
16343 PyObject *pyobj;
d14a1e28 16344
15afbcd0 16345 pyobj = SWIG_NewPointerObj((void *)(wxITALIC_FONT), SWIGTYPE_p_wxFont, 0);
994141e6 16346 return pyobj;
d14a1e28
RD
16347}
16348
16349
994141e6
RD
16350static int _wrap_SWISS_FONT_set(PyObject *_val) {
16351 PyErr_SetString(PyExc_TypeError,"Variable SWISS_FONT is read-only.");
16352 return 1;
d14a1e28
RD
16353}
16354
16355
994141e6
RD
16356static PyObject *_wrap_SWISS_FONT_get() {
16357 PyObject *pyobj;
d14a1e28 16358
15afbcd0 16359 pyobj = SWIG_NewPointerObj((void *)(wxSWISS_FONT), SWIGTYPE_p_wxFont, 0);
994141e6 16360 return pyobj;
d14a1e28
RD
16361}
16362
16363
994141e6
RD
16364static int _wrap_RED_PEN_set(PyObject *_val) {
16365 PyErr_SetString(PyExc_TypeError,"Variable RED_PEN is read-only.");
16366 return 1;
16367}
16368
16369
16370static PyObject *_wrap_RED_PEN_get() {
16371 PyObject *pyobj;
d14a1e28 16372
15afbcd0 16373 pyobj = SWIG_NewPointerObj((void *)(wxRED_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16374 return pyobj;
d14a1e28
RD
16375}
16376
16377
994141e6
RD
16378static int _wrap_CYAN_PEN_set(PyObject *_val) {
16379 PyErr_SetString(PyExc_TypeError,"Variable CYAN_PEN is read-only.");
16380 return 1;
d14a1e28 16381}
994141e6
RD
16382
16383
16384static PyObject *_wrap_CYAN_PEN_get() {
16385 PyObject *pyobj;
d14a1e28 16386
15afbcd0 16387 pyobj = SWIG_NewPointerObj((void *)(wxCYAN_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16388 return pyobj;
d14a1e28
RD
16389}
16390
16391
994141e6
RD
16392static int _wrap_GREEN_PEN_set(PyObject *_val) {
16393 PyErr_SetString(PyExc_TypeError,"Variable GREEN_PEN is read-only.");
16394 return 1;
16395}
16396
16397
16398static PyObject *_wrap_GREEN_PEN_get() {
16399 PyObject *pyobj;
d14a1e28 16400
15afbcd0 16401 pyobj = SWIG_NewPointerObj((void *)(wxGREEN_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16402 return pyobj;
d14a1e28
RD
16403}
16404
16405
994141e6
RD
16406static int _wrap_BLACK_PEN_set(PyObject *_val) {
16407 PyErr_SetString(PyExc_TypeError,"Variable BLACK_PEN is read-only.");
16408 return 1;
16409}
16410
16411
16412static PyObject *_wrap_BLACK_PEN_get() {
16413 PyObject *pyobj;
d14a1e28 16414
15afbcd0 16415 pyobj = SWIG_NewPointerObj((void *)(wxBLACK_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16416 return pyobj;
d14a1e28
RD
16417}
16418
16419
994141e6
RD
16420static int _wrap_WHITE_PEN_set(PyObject *_val) {
16421 PyErr_SetString(PyExc_TypeError,"Variable WHITE_PEN is read-only.");
16422 return 1;
d14a1e28
RD
16423}
16424
16425
994141e6
RD
16426static PyObject *_wrap_WHITE_PEN_get() {
16427 PyObject *pyobj;
d14a1e28 16428
15afbcd0 16429 pyobj = SWIG_NewPointerObj((void *)(wxWHITE_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16430 return pyobj;
d14a1e28
RD
16431}
16432
16433
994141e6
RD
16434static int _wrap_TRANSPARENT_PEN_set(PyObject *_val) {
16435 PyErr_SetString(PyExc_TypeError,"Variable TRANSPARENT_PEN is read-only.");
16436 return 1;
d14a1e28
RD
16437}
16438
16439
994141e6
RD
16440static PyObject *_wrap_TRANSPARENT_PEN_get() {
16441 PyObject *pyobj;
d14a1e28 16442
15afbcd0 16443 pyobj = SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16444 return pyobj;
d14a1e28
RD
16445}
16446
16447
994141e6
RD
16448static int _wrap_BLACK_DASHED_PEN_set(PyObject *_val) {
16449 PyErr_SetString(PyExc_TypeError,"Variable BLACK_DASHED_PEN is read-only.");
16450 return 1;
d14a1e28
RD
16451}
16452
16453
994141e6
RD
16454static PyObject *_wrap_BLACK_DASHED_PEN_get() {
16455 PyObject *pyobj;
d14a1e28 16456
15afbcd0 16457 pyobj = SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16458 return pyobj;
d14a1e28
RD
16459}
16460
16461
994141e6
RD
16462static int _wrap_GREY_PEN_set(PyObject *_val) {
16463 PyErr_SetString(PyExc_TypeError,"Variable GREY_PEN is read-only.");
16464 return 1;
d14a1e28
RD
16465}
16466
16467
994141e6
RD
16468static PyObject *_wrap_GREY_PEN_get() {
16469 PyObject *pyobj;
16470
15afbcd0 16471 pyobj = SWIG_NewPointerObj((void *)(wxGREY_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16472 return pyobj;
d14a1e28 16473}
994141e6
RD
16474
16475
16476static int _wrap_MEDIUM_GREY_PEN_set(PyObject *_val) {
16477 PyErr_SetString(PyExc_TypeError,"Variable MEDIUM_GREY_PEN is read-only.");
d14a1e28
RD
16478 return 1;
16479}
16480
16481
994141e6 16482static PyObject *_wrap_MEDIUM_GREY_PEN_get() {
d14a1e28
RD
16483 PyObject *pyobj;
16484
15afbcd0 16485 pyobj = SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN), SWIGTYPE_p_wxPen, 0);
d14a1e28
RD
16486 return pyobj;
16487}
16488
16489
994141e6
RD
16490static int _wrap_LIGHT_GREY_PEN_set(PyObject *_val) {
16491 PyErr_SetString(PyExc_TypeError,"Variable LIGHT_GREY_PEN is read-only.");
d14a1e28
RD
16492 return 1;
16493}
16494
16495
994141e6 16496static PyObject *_wrap_LIGHT_GREY_PEN_get() {
d14a1e28
RD
16497 PyObject *pyobj;
16498
15afbcd0 16499 pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN), SWIGTYPE_p_wxPen, 0);
d14a1e28
RD
16500 return pyobj;
16501}
16502
16503
994141e6
RD
16504static int _wrap_BLUE_BRUSH_set(PyObject *_val) {
16505 PyErr_SetString(PyExc_TypeError,"Variable BLUE_BRUSH is read-only.");
d14a1e28
RD
16506 return 1;
16507}
16508
16509
994141e6 16510static PyObject *_wrap_BLUE_BRUSH_get() {
d14a1e28
RD
16511 PyObject *pyobj;
16512
15afbcd0 16513 pyobj = SWIG_NewPointerObj((void *)(wxBLUE_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16514 return pyobj;
16515}
16516
16517
994141e6
RD
16518static int _wrap_GREEN_BRUSH_set(PyObject *_val) {
16519 PyErr_SetString(PyExc_TypeError,"Variable GREEN_BRUSH is read-only.");
d14a1e28
RD
16520 return 1;
16521}
16522
16523
994141e6 16524static PyObject *_wrap_GREEN_BRUSH_get() {
d14a1e28
RD
16525 PyObject *pyobj;
16526
15afbcd0 16527 pyobj = SWIG_NewPointerObj((void *)(wxGREEN_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16528 return pyobj;
16529}
16530
16531
994141e6
RD
16532static int _wrap_WHITE_BRUSH_set(PyObject *_val) {
16533 PyErr_SetString(PyExc_TypeError,"Variable WHITE_BRUSH is read-only.");
d14a1e28
RD
16534 return 1;
16535}
16536
16537
994141e6 16538static PyObject *_wrap_WHITE_BRUSH_get() {
d14a1e28
RD
16539 PyObject *pyobj;
16540
15afbcd0 16541 pyobj = SWIG_NewPointerObj((void *)(wxWHITE_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16542 return pyobj;
16543}
16544
16545
994141e6
RD
16546static int _wrap_BLACK_BRUSH_set(PyObject *_val) {
16547 PyErr_SetString(PyExc_TypeError,"Variable BLACK_BRUSH is read-only.");
d14a1e28
RD
16548 return 1;
16549}
16550
16551
994141e6 16552static PyObject *_wrap_BLACK_BRUSH_get() {
d14a1e28
RD
16553 PyObject *pyobj;
16554
15afbcd0 16555 pyobj = SWIG_NewPointerObj((void *)(wxBLACK_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16556 return pyobj;
16557}
16558
16559
994141e6
RD
16560static int _wrap_TRANSPARENT_BRUSH_set(PyObject *_val) {
16561 PyErr_SetString(PyExc_TypeError,"Variable TRANSPARENT_BRUSH is read-only.");
d14a1e28
RD
16562 return 1;
16563}
16564
16565
994141e6 16566static PyObject *_wrap_TRANSPARENT_BRUSH_get() {
d14a1e28
RD
16567 PyObject *pyobj;
16568
15afbcd0 16569 pyobj = SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16570 return pyobj;
16571}
16572
16573
994141e6
RD
16574static int _wrap_CYAN_BRUSH_set(PyObject *_val) {
16575 PyErr_SetString(PyExc_TypeError,"Variable CYAN_BRUSH is read-only.");
d14a1e28
RD
16576 return 1;
16577}
16578
16579
994141e6 16580static PyObject *_wrap_CYAN_BRUSH_get() {
d14a1e28
RD
16581 PyObject *pyobj;
16582
15afbcd0 16583 pyobj = SWIG_NewPointerObj((void *)(wxCYAN_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16584 return pyobj;
16585}
16586
16587
994141e6
RD
16588static int _wrap_RED_BRUSH_set(PyObject *_val) {
16589 PyErr_SetString(PyExc_TypeError,"Variable RED_BRUSH is read-only.");
d14a1e28
RD
16590 return 1;
16591}
16592
16593
994141e6 16594static PyObject *_wrap_RED_BRUSH_get() {
d14a1e28
RD
16595 PyObject *pyobj;
16596
15afbcd0 16597 pyobj = SWIG_NewPointerObj((void *)(wxRED_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16598 return pyobj;
16599}
16600
16601
994141e6
RD
16602static int _wrap_GREY_BRUSH_set(PyObject *_val) {
16603 PyErr_SetString(PyExc_TypeError,"Variable GREY_BRUSH is read-only.");
d14a1e28
RD
16604 return 1;
16605}
16606
16607
994141e6 16608static PyObject *_wrap_GREY_BRUSH_get() {
d14a1e28
RD
16609 PyObject *pyobj;
16610
15afbcd0 16611 pyobj = SWIG_NewPointerObj((void *)(wxGREY_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16612 return pyobj;
16613}
16614
16615
994141e6
RD
16616static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject *_val) {
16617 PyErr_SetString(PyExc_TypeError,"Variable MEDIUM_GREY_BRUSH is read-only.");
d14a1e28
RD
16618 return 1;
16619}
16620
16621
994141e6 16622static PyObject *_wrap_MEDIUM_GREY_BRUSH_get() {
d14a1e28
RD
16623 PyObject *pyobj;
16624
15afbcd0 16625 pyobj = SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16626 return pyobj;
16627}
16628
16629
994141e6
RD
16630static int _wrap_LIGHT_GREY_BRUSH_set(PyObject *_val) {
16631 PyErr_SetString(PyExc_TypeError,"Variable LIGHT_GREY_BRUSH is read-only.");
d14a1e28
RD
16632 return 1;
16633}
16634
16635
994141e6 16636static PyObject *_wrap_LIGHT_GREY_BRUSH_get() {
d14a1e28
RD
16637 PyObject *pyobj;
16638
15afbcd0 16639 pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16640 return pyobj;
16641}
16642
16643
994141e6
RD
16644static int _wrap_BLACK_set(PyObject *_val) {
16645 PyErr_SetString(PyExc_TypeError,"Variable BLACK is read-only.");
d14a1e28
RD
16646 return 1;
16647}
16648
16649
994141e6 16650static PyObject *_wrap_BLACK_get() {
d14a1e28
RD
16651 PyObject *pyobj;
16652
15afbcd0 16653 pyobj = SWIG_NewPointerObj((void *)(wxBLACK), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16654 return pyobj;
16655}
16656
16657
994141e6
RD
16658static int _wrap_WHITE_set(PyObject *_val) {
16659 PyErr_SetString(PyExc_TypeError,"Variable WHITE is read-only.");
d14a1e28
RD
16660 return 1;
16661}
16662
16663
994141e6 16664static PyObject *_wrap_WHITE_get() {
d14a1e28
RD
16665 PyObject *pyobj;
16666
15afbcd0 16667 pyobj = SWIG_NewPointerObj((void *)(wxWHITE), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16668 return pyobj;
16669}
16670
16671
994141e6
RD
16672static int _wrap_RED_set(PyObject *_val) {
16673 PyErr_SetString(PyExc_TypeError,"Variable RED is read-only.");
d14a1e28
RD
16674 return 1;
16675}
16676
16677
994141e6 16678static PyObject *_wrap_RED_get() {
d14a1e28
RD
16679 PyObject *pyobj;
16680
15afbcd0 16681 pyobj = SWIG_NewPointerObj((void *)(wxRED), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16682 return pyobj;
16683}
16684
16685
994141e6
RD
16686static int _wrap_BLUE_set(PyObject *_val) {
16687 PyErr_SetString(PyExc_TypeError,"Variable BLUE is read-only.");
d14a1e28
RD
16688 return 1;
16689}
16690
16691
994141e6 16692static PyObject *_wrap_BLUE_get() {
d14a1e28
RD
16693 PyObject *pyobj;
16694
15afbcd0 16695 pyobj = SWIG_NewPointerObj((void *)(wxBLUE), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16696 return pyobj;
16697}
16698
16699
994141e6
RD
16700static int _wrap_GREEN_set(PyObject *_val) {
16701 PyErr_SetString(PyExc_TypeError,"Variable GREEN is read-only.");
d14a1e28
RD
16702 return 1;
16703}
16704
16705
994141e6 16706static PyObject *_wrap_GREEN_get() {
d14a1e28
RD
16707 PyObject *pyobj;
16708
15afbcd0 16709 pyobj = SWIG_NewPointerObj((void *)(wxGREEN), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16710 return pyobj;
16711}
16712
16713
994141e6
RD
16714static int _wrap_CYAN_set(PyObject *_val) {
16715 PyErr_SetString(PyExc_TypeError,"Variable CYAN is read-only.");
d14a1e28
RD
16716 return 1;
16717}
16718
16719
994141e6 16720static PyObject *_wrap_CYAN_get() {
d14a1e28
RD
16721 PyObject *pyobj;
16722
15afbcd0 16723 pyobj = SWIG_NewPointerObj((void *)(wxCYAN), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16724 return pyobj;
16725}
16726
16727
994141e6
RD
16728static int _wrap_LIGHT_GREY_set(PyObject *_val) {
16729 PyErr_SetString(PyExc_TypeError,"Variable LIGHT_GREY is read-only.");
d14a1e28
RD
16730 return 1;
16731}
16732
16733
994141e6 16734static PyObject *_wrap_LIGHT_GREY_get() {
d14a1e28
RD
16735 PyObject *pyobj;
16736
15afbcd0 16737 pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16738 return pyobj;
16739}
16740
16741
994141e6
RD
16742static int _wrap_STANDARD_CURSOR_set(PyObject *_val) {
16743 PyErr_SetString(PyExc_TypeError,"Variable STANDARD_CURSOR is read-only.");
d14a1e28
RD
16744 return 1;
16745}
16746
16747
994141e6 16748static PyObject *_wrap_STANDARD_CURSOR_get() {
d14a1e28
RD
16749 PyObject *pyobj;
16750
15afbcd0 16751 pyobj = SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR), SWIGTYPE_p_wxCursor, 0);
d14a1e28
RD
16752 return pyobj;
16753}
16754
16755
994141e6
RD
16756static int _wrap_HOURGLASS_CURSOR_set(PyObject *_val) {
16757 PyErr_SetString(PyExc_TypeError,"Variable HOURGLASS_CURSOR is read-only.");
d14a1e28
RD
16758 return 1;
16759}
16760
16761
994141e6 16762static PyObject *_wrap_HOURGLASS_CURSOR_get() {
d14a1e28
RD
16763 PyObject *pyobj;
16764
15afbcd0 16765 pyobj = SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR), SWIGTYPE_p_wxCursor, 0);
d14a1e28
RD
16766 return pyobj;
16767}
16768
16769
994141e6
RD
16770static int _wrap_CROSS_CURSOR_set(PyObject *_val) {
16771 PyErr_SetString(PyExc_TypeError,"Variable CROSS_CURSOR is read-only.");
d14a1e28
RD
16772 return 1;
16773}
16774
16775
994141e6 16776static PyObject *_wrap_CROSS_CURSOR_get() {
d14a1e28
RD
16777 PyObject *pyobj;
16778
15afbcd0 16779 pyobj = SWIG_NewPointerObj((void *)(wxCROSS_CURSOR), SWIGTYPE_p_wxCursor, 0);
d14a1e28
RD
16780 return pyobj;
16781}
16782
16783
994141e6
RD
16784static int _wrap_NullBitmap_set(PyObject *_val) {
16785 PyErr_SetString(PyExc_TypeError,"Variable NullBitmap is read-only.");
d14a1e28
RD
16786 return 1;
16787}
16788
16789
994141e6 16790static PyObject *_wrap_NullBitmap_get() {
d14a1e28
RD
16791 PyObject *pyobj;
16792
15afbcd0 16793 pyobj = SWIG_NewPointerObj((void *)(&wxNullBitmap), SWIGTYPE_p_wxBitmap, 0);
d14a1e28
RD
16794 return pyobj;
16795}
16796
16797
994141e6
RD
16798static int _wrap_NullIcon_set(PyObject *_val) {
16799 PyErr_SetString(PyExc_TypeError,"Variable NullIcon is read-only.");
d14a1e28
RD
16800 return 1;
16801}
16802
16803
994141e6 16804static PyObject *_wrap_NullIcon_get() {
d14a1e28
RD
16805 PyObject *pyobj;
16806
15afbcd0 16807 pyobj = SWIG_NewPointerObj((void *)(&wxNullIcon), SWIGTYPE_p_wxIcon, 0);
d14a1e28
RD
16808 return pyobj;
16809}
16810
16811
994141e6
RD
16812static int _wrap_NullCursor_set(PyObject *_val) {
16813 PyErr_SetString(PyExc_TypeError,"Variable NullCursor is read-only.");
d14a1e28
RD
16814 return 1;
16815}
16816
16817
994141e6 16818static PyObject *_wrap_NullCursor_get() {
d14a1e28
RD
16819 PyObject *pyobj;
16820
15afbcd0 16821 pyobj = SWIG_NewPointerObj((void *)(&wxNullCursor), SWIGTYPE_p_wxCursor, 0);
d14a1e28
RD
16822 return pyobj;
16823}
16824
16825
994141e6
RD
16826static int _wrap_NullPen_set(PyObject *_val) {
16827 PyErr_SetString(PyExc_TypeError,"Variable NullPen is read-only.");
d14a1e28
RD
16828 return 1;
16829}
16830
16831
994141e6 16832static PyObject *_wrap_NullPen_get() {
d14a1e28
RD
16833 PyObject *pyobj;
16834
15afbcd0 16835 pyobj = SWIG_NewPointerObj((void *)(&wxNullPen), SWIGTYPE_p_wxPen, 0);
d14a1e28
RD
16836 return pyobj;
16837}
16838
16839
994141e6
RD
16840static int _wrap_NullBrush_set(PyObject *_val) {
16841 PyErr_SetString(PyExc_TypeError,"Variable NullBrush is read-only.");
d14a1e28
RD
16842 return 1;
16843}
16844
16845
994141e6 16846static PyObject *_wrap_NullBrush_get() {
d14a1e28
RD
16847 PyObject *pyobj;
16848
15afbcd0 16849 pyobj = SWIG_NewPointerObj((void *)(&wxNullBrush), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16850 return pyobj;
16851}
16852
16853
994141e6
RD
16854static int _wrap_NullPalette_set(PyObject *_val) {
16855 PyErr_SetString(PyExc_TypeError,"Variable NullPalette is read-only.");
d14a1e28
RD
16856 return 1;
16857}
16858
16859
994141e6 16860static PyObject *_wrap_NullPalette_get() {
d14a1e28
RD
16861 PyObject *pyobj;
16862
15afbcd0 16863 pyobj = SWIG_NewPointerObj((void *)(&wxNullPalette), SWIGTYPE_p_wxPalette, 0);
d14a1e28
RD
16864 return pyobj;
16865}
16866
16867
994141e6
RD
16868static int _wrap_NullFont_set(PyObject *_val) {
16869 PyErr_SetString(PyExc_TypeError,"Variable NullFont is read-only.");
d14a1e28
RD
16870 return 1;
16871}
16872
16873
994141e6 16874static PyObject *_wrap_NullFont_get() {
d14a1e28
RD
16875 PyObject *pyobj;
16876
15afbcd0 16877 pyobj = SWIG_NewPointerObj((void *)(&wxNullFont), SWIGTYPE_p_wxFont, 0);
d14a1e28
RD
16878 return pyobj;
16879}
16880
16881
994141e6
RD
16882static int _wrap_NullColour_set(PyObject *_val) {
16883 PyErr_SetString(PyExc_TypeError,"Variable NullColour is read-only.");
d14a1e28
RD
16884 return 1;
16885}
16886
16887
994141e6 16888static PyObject *_wrap_NullColour_get() {
d14a1e28
RD
16889 PyObject *pyobj;
16890
15afbcd0 16891 pyobj = SWIG_NewPointerObj((void *)(&wxNullColour), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16892 return pyobj;
16893}
16894
16895
994141e6
RD
16896static PyObject *_wrap_PenList_AddPen(PyObject *self, PyObject *args, PyObject *kwargs) {
16897 PyObject *resultobj;
16898 wxPenList *arg1 = (wxPenList *) 0 ;
16899 wxPen *arg2 = (wxPen *) 0 ;
16900 PyObject * obj0 = 0 ;
16901 PyObject * obj1 = 0 ;
16902 char *kwnames[] = {
16903 (char *) "self",(char *) "pen", NULL
16904 };
16905
16906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PenList_AddPen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPenList,
16908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16909 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPen,
16910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
16911 {
16912 PyThreadState* __tstate = wxPyBeginAllowThreads();
16913 (arg1)->AddPen(arg2);
16914
16915 wxPyEndAllowThreads(__tstate);
16916 if (PyErr_Occurred()) SWIG_fail;
16917 }
16918 Py_INCREF(Py_None); resultobj = Py_None;
16919 return resultobj;
16920 fail:
16921 return NULL;
d14a1e28
RD
16922}
16923
16924
994141e6
RD
16925static PyObject *_wrap_PenList_FindOrCreatePen(PyObject *self, PyObject *args, PyObject *kwargs) {
16926 PyObject *resultobj;
16927 wxPenList *arg1 = (wxPenList *) 0 ;
16928 wxColour *arg2 = 0 ;
16929 int arg3 ;
16930 int arg4 ;
16931 wxPen *result;
16932 wxColour temp2 ;
16933 PyObject * obj0 = 0 ;
16934 PyObject * obj1 = 0 ;
16935 PyObject * obj2 = 0 ;
16936 PyObject * obj3 = 0 ;
16937 char *kwnames[] = {
16938 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
16939 };
d14a1e28 16940
994141e6 16941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PenList_FindOrCreatePen",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
16942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPenList,
16943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
16944 {
16945 arg2 = &temp2;
16946 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16947 }
15afbcd0
RD
16948 arg3 = (int) SWIG_AsInt(obj2);
16949 if (PyErr_Occurred()) SWIG_fail;
16950 arg4 = (int) SWIG_AsInt(obj3);
16951 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
16952 {
16953 PyThreadState* __tstate = wxPyBeginAllowThreads();
16954 result = (wxPen *)(arg1)->FindOrCreatePen((wxColour const &)*arg2,arg3,arg4);
16955
16956 wxPyEndAllowThreads(__tstate);
16957 if (PyErr_Occurred()) SWIG_fail;
16958 }
15afbcd0 16959 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
994141e6
RD
16960 return resultobj;
16961 fail:
16962 return NULL;
d14a1e28
RD
16963}
16964
16965
994141e6
RD
16966static PyObject *_wrap_PenList_RemovePen(PyObject *self, PyObject *args, PyObject *kwargs) {
16967 PyObject *resultobj;
16968 wxPenList *arg1 = (wxPenList *) 0 ;
16969 wxPen *arg2 = (wxPen *) 0 ;
16970 PyObject * obj0 = 0 ;
16971 PyObject * obj1 = 0 ;
16972 char *kwnames[] = {
16973 (char *) "self",(char *) "pen", NULL
16974 };
16975
16976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PenList_RemovePen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPenList,
16978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16979 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPen,
16980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
16981 {
16982 PyThreadState* __tstate = wxPyBeginAllowThreads();
16983 (arg1)->RemovePen(arg2);
16984
16985 wxPyEndAllowThreads(__tstate);
16986 if (PyErr_Occurred()) SWIG_fail;
16987 }
16988 Py_INCREF(Py_None); resultobj = Py_None;
16989 return resultobj;
16990 fail:
16991 return NULL;
d14a1e28
RD
16992}
16993
16994
994141e6
RD
16995static PyObject *_wrap_PenList_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
16996 PyObject *resultobj;
16997 wxPenList *arg1 = (wxPenList *) 0 ;
16998 int result;
16999 PyObject * obj0 = 0 ;
17000 char *kwnames[] = {
17001 (char *) "self", NULL
17002 };
d14a1e28 17003
994141e6 17004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PenList_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
17005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPenList,
17006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17007 {
17008 PyThreadState* __tstate = wxPyBeginAllowThreads();
17009 result = (int)(arg1)->GetCount();
17010
17011 wxPyEndAllowThreads(__tstate);
17012 if (PyErr_Occurred()) SWIG_fail;
17013 }
15afbcd0 17014 resultobj = SWIG_FromInt((int)result);
994141e6
RD
17015 return resultobj;
17016 fail:
17017 return NULL;
d14a1e28
RD
17018}
17019
17020
994141e6
RD
17021static PyObject * PenList_swigregister(PyObject *self, PyObject *args) {
17022 PyObject *obj;
17023 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17024 SWIG_TypeClientData(SWIGTYPE_p_wxPenList, obj);
17025 Py_INCREF(obj);
17026 return Py_BuildValue((char *)"");
17027}
17028static PyObject *_wrap_BrushList_AddBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
17029 PyObject *resultobj;
17030 wxBrushList *arg1 = (wxBrushList *) 0 ;
17031 wxBrush *arg2 = (wxBrush *) 0 ;
17032 PyObject * obj0 = 0 ;
17033 PyObject * obj1 = 0 ;
17034 char *kwnames[] = {
17035 (char *) "self",(char *) "brush", NULL
17036 };
17037
17038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BrushList_AddBrush",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrushList,
17040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17041 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBrush,
17042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17043 {
17044 PyThreadState* __tstate = wxPyBeginAllowThreads();
17045 (arg1)->AddBrush(arg2);
17046
17047 wxPyEndAllowThreads(__tstate);
17048 if (PyErr_Occurred()) SWIG_fail;
17049 }
17050 Py_INCREF(Py_None); resultobj = Py_None;
17051 return resultobj;
17052 fail:
17053 return NULL;
17054}
17055
17056
17057static PyObject *_wrap_BrushList_FindOrCreateBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
17058 PyObject *resultobj;
17059 wxBrushList *arg1 = (wxBrushList *) 0 ;
17060 wxColour *arg2 = 0 ;
17061 int arg3 ;
17062 wxBrush *result;
17063 wxColour temp2 ;
17064 PyObject * obj0 = 0 ;
17065 PyObject * obj1 = 0 ;
17066 PyObject * obj2 = 0 ;
17067 char *kwnames[] = {
17068 (char *) "self",(char *) "colour",(char *) "style", NULL
17069 };
17070
17071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrushList,
17073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17074 {
17075 arg2 = &temp2;
17076 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17077 }
15afbcd0
RD
17078 arg3 = (int) SWIG_AsInt(obj2);
17079 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17080 {
17081 PyThreadState* __tstate = wxPyBeginAllowThreads();
17082 result = (wxBrush *)(arg1)->FindOrCreateBrush((wxColour const &)*arg2,arg3);
17083
17084 wxPyEndAllowThreads(__tstate);
17085 if (PyErr_Occurred()) SWIG_fail;
17086 }
15afbcd0 17087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 0);
994141e6
RD
17088 return resultobj;
17089 fail:
17090 return NULL;
d14a1e28
RD
17091}
17092
17093
994141e6
RD
17094static PyObject *_wrap_BrushList_RemoveBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
17095 PyObject *resultobj;
17096 wxBrushList *arg1 = (wxBrushList *) 0 ;
17097 wxBrush *arg2 = (wxBrush *) 0 ;
17098 PyObject * obj0 = 0 ;
17099 PyObject * obj1 = 0 ;
17100 char *kwnames[] = {
17101 (char *) "self",(char *) "brush", NULL
17102 };
d14a1e28 17103
994141e6 17104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BrushList_RemoveBrush",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrushList,
17106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17107 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBrush,
17108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17109 {
17110 PyThreadState* __tstate = wxPyBeginAllowThreads();
17111 (arg1)->RemoveBrush(arg2);
17112
17113 wxPyEndAllowThreads(__tstate);
17114 if (PyErr_Occurred()) SWIG_fail;
17115 }
17116 Py_INCREF(Py_None); resultobj = Py_None;
17117 return resultobj;
17118 fail:
17119 return NULL;
d14a1e28
RD
17120}
17121
17122
994141e6
RD
17123static PyObject *_wrap_BrushList_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
17124 PyObject *resultobj;
17125 wxBrushList *arg1 = (wxBrushList *) 0 ;
17126 int result;
17127 PyObject * obj0 = 0 ;
17128 char *kwnames[] = {
17129 (char *) "self", NULL
17130 };
d14a1e28 17131
994141e6 17132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BrushList_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
17133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrushList,
17134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17135 {
17136 PyThreadState* __tstate = wxPyBeginAllowThreads();
17137 result = (int)(arg1)->GetCount();
17138
17139 wxPyEndAllowThreads(__tstate);
17140 if (PyErr_Occurred()) SWIG_fail;
17141 }
15afbcd0 17142 resultobj = SWIG_FromInt((int)result);
994141e6
RD
17143 return resultobj;
17144 fail:
17145 return NULL;
d14a1e28
RD
17146}
17147
17148
994141e6
RD
17149static PyObject * BrushList_swigregister(PyObject *self, PyObject *args) {
17150 PyObject *obj;
17151 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17152 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList, obj);
17153 Py_INCREF(obj);
17154 return Py_BuildValue((char *)"");
d14a1e28 17155}
994141e6
RD
17156static PyObject *_wrap_new_ColourDatabase(PyObject *self, PyObject *args, PyObject *kwargs) {
17157 PyObject *resultobj;
17158 wxColourDatabase *result;
17159 char *kwnames[] = {
17160 NULL
17161 };
d14a1e28 17162
994141e6
RD
17163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourDatabase",kwnames)) goto fail;
17164 {
17165 PyThreadState* __tstate = wxPyBeginAllowThreads();
17166 result = (wxColourDatabase *)new wxColourDatabase();
17167
17168 wxPyEndAllowThreads(__tstate);
17169 if (PyErr_Occurred()) SWIG_fail;
17170 }
15afbcd0 17171 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDatabase, 1);
994141e6
RD
17172 return resultobj;
17173 fail:
17174 return NULL;
d14a1e28
RD
17175}
17176
17177
994141e6
RD
17178static PyObject *_wrap_delete_ColourDatabase(PyObject *self, PyObject *args, PyObject *kwargs) {
17179 PyObject *resultobj;
17180 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
17181 PyObject * obj0 = 0 ;
17182 char *kwnames[] = {
17183 (char *) "self", NULL
17184 };
d14a1e28 17185
994141e6 17186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourDatabase",kwnames,&obj0)) goto fail;
15afbcd0
RD
17187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDatabase,
17188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17189 {
17190 PyThreadState* __tstate = wxPyBeginAllowThreads();
17191 delete arg1;
17192
17193 wxPyEndAllowThreads(__tstate);
17194 if (PyErr_Occurred()) SWIG_fail;
17195 }
17196 Py_INCREF(Py_None); resultobj = Py_None;
17197 return resultobj;
17198 fail:
17199 return NULL;
d14a1e28
RD
17200}
17201
17202
994141e6
RD
17203static PyObject *_wrap_ColourDatabase_Find(PyObject *self, PyObject *args, PyObject *kwargs) {
17204 PyObject *resultobj;
17205 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
17206 wxString *arg2 = 0 ;
17207 wxColour result;
17208 bool temp2 = False ;
17209 PyObject * obj0 = 0 ;
17210 PyObject * obj1 = 0 ;
17211 char *kwnames[] = {
17212 (char *) "self",(char *) "name", NULL
17213 };
17214
17215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourDatabase_Find",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDatabase,
17217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17218 {
17219 arg2 = wxString_in_helper(obj1);
17220 if (arg2 == NULL) SWIG_fail;
17221 temp2 = True;
17222 }
17223 {
17224 PyThreadState* __tstate = wxPyBeginAllowThreads();
17225 result = ((wxColourDatabase const *)arg1)->Find((wxString const &)*arg2);
17226
17227 wxPyEndAllowThreads(__tstate);
17228 if (PyErr_Occurred()) SWIG_fail;
17229 }
17230 {
17231 wxColour * resultptr;
17232 resultptr = new wxColour((wxColour &) result);
15afbcd0 17233 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
994141e6
RD
17234 }
17235 {
17236 if (temp2)
17237 delete arg2;
17238 }
17239 return resultobj;
17240 fail:
17241 {
17242 if (temp2)
17243 delete arg2;
17244 }
17245 return NULL;
d14a1e28
RD
17246}
17247
17248
994141e6
RD
17249static PyObject *_wrap_ColourDatabase_FindName(PyObject *self, PyObject *args, PyObject *kwargs) {
17250 PyObject *resultobj;
17251 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
17252 wxColour *arg2 = 0 ;
17253 wxString result;
17254 wxColour temp2 ;
17255 PyObject * obj0 = 0 ;
17256 PyObject * obj1 = 0 ;
17257 char *kwnames[] = {
17258 (char *) "self",(char *) "colour", NULL
17259 };
d14a1e28 17260
994141e6 17261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourDatabase_FindName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDatabase,
17263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17264 {
17265 arg2 = &temp2;
17266 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17267 }
17268 {
17269 PyThreadState* __tstate = wxPyBeginAllowThreads();
17270 result = ((wxColourDatabase const *)arg1)->FindName((wxColour const &)*arg2);
17271
17272 wxPyEndAllowThreads(__tstate);
17273 if (PyErr_Occurred()) SWIG_fail;
17274 }
17275 {
17276#if wxUSE_UNICODE
17277 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17278#else
17279 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17280#endif
17281 }
17282 return resultobj;
17283 fail:
17284 return NULL;
d14a1e28
RD
17285}
17286
17287
994141e6
RD
17288static PyObject *_wrap_ColourDatabase_AddColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17289 PyObject *resultobj;
17290 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
17291 wxString *arg2 = 0 ;
17292 wxColour *arg3 = 0 ;
17293 bool temp2 = False ;
17294 wxColour temp3 ;
17295 PyObject * obj0 = 0 ;
17296 PyObject * obj1 = 0 ;
17297 PyObject * obj2 = 0 ;
17298 char *kwnames[] = {
17299 (char *) "self",(char *) "name",(char *) "colour", NULL
17300 };
17301
17302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourDatabase_AddColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDatabase,
17304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17305 {
17306 arg2 = wxString_in_helper(obj1);
17307 if (arg2 == NULL) SWIG_fail;
17308 temp2 = True;
17309 }
17310 {
17311 arg3 = &temp3;
17312 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
17313 }
17314 {
17315 PyThreadState* __tstate = wxPyBeginAllowThreads();
17316 (arg1)->AddColour((wxString const &)*arg2,(wxColour const &)*arg3);
17317
17318 wxPyEndAllowThreads(__tstate);
17319 if (PyErr_Occurred()) SWIG_fail;
17320 }
17321 Py_INCREF(Py_None); resultobj = Py_None;
17322 {
17323 if (temp2)
17324 delete arg2;
17325 }
17326 return resultobj;
17327 fail:
17328 {
17329 if (temp2)
17330 delete arg2;
17331 }
17332 return NULL;
d14a1e28
RD
17333}
17334
17335
994141e6
RD
17336static PyObject *_wrap_ColourDatabase_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
17337 PyObject *resultobj;
17338 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
17339 wxString *arg2 = 0 ;
17340 int arg3 ;
17341 int arg4 ;
17342 int arg5 ;
17343 bool temp2 = False ;
17344 PyObject * obj0 = 0 ;
17345 PyObject * obj1 = 0 ;
17346 PyObject * obj2 = 0 ;
17347 PyObject * obj3 = 0 ;
17348 PyObject * obj4 = 0 ;
17349 char *kwnames[] = {
17350 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17351 };
d14a1e28 17352
994141e6 17353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:ColourDatabase_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
17354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDatabase,
17355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17356 {
17357 arg2 = wxString_in_helper(obj1);
17358 if (arg2 == NULL) SWIG_fail;
17359 temp2 = True;
17360 }
15afbcd0
RD
17361 arg3 = (int) SWIG_AsInt(obj2);
17362 if (PyErr_Occurred()) SWIG_fail;
17363 arg4 = (int) SWIG_AsInt(obj3);
17364 if (PyErr_Occurred()) SWIG_fail;
17365 arg5 = (int) SWIG_AsInt(obj4);
17366 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17367 {
17368 PyThreadState* __tstate = wxPyBeginAllowThreads();
17369 wxColourDatabase_Append(arg1,(wxString const &)*arg2,arg3,arg4,arg5);
17370
17371 wxPyEndAllowThreads(__tstate);
17372 if (PyErr_Occurred()) SWIG_fail;
17373 }
17374 Py_INCREF(Py_None); resultobj = Py_None;
17375 {
17376 if (temp2)
17377 delete arg2;
17378 }
17379 return resultobj;
17380 fail:
17381 {
17382 if (temp2)
17383 delete arg2;
17384 }
17385 return NULL;
d14a1e28
RD
17386}
17387
17388
994141e6
RD
17389static PyObject * ColourDatabase_swigregister(PyObject *self, PyObject *args) {
17390 PyObject *obj;
17391 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17392 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase, obj);
17393 Py_INCREF(obj);
17394 return Py_BuildValue((char *)"");
d14a1e28 17395}
994141e6
RD
17396static PyObject *_wrap_FontList_AddFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17397 PyObject *resultobj;
17398 wxFontList *arg1 = (wxFontList *) 0 ;
17399 wxFont *arg2 = (wxFont *) 0 ;
17400 PyObject * obj0 = 0 ;
17401 PyObject * obj1 = 0 ;
17402 char *kwnames[] = {
17403 (char *) "self",(char *) "font", NULL
17404 };
d14a1e28 17405
994141e6 17406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontList_AddFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontList,
17408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17409 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
17410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17411 {
17412 PyThreadState* __tstate = wxPyBeginAllowThreads();
17413 (arg1)->AddFont(arg2);
17414
17415 wxPyEndAllowThreads(__tstate);
17416 if (PyErr_Occurred()) SWIG_fail;
17417 }
17418 Py_INCREF(Py_None); resultobj = Py_None;
17419 return resultobj;
17420 fail:
17421 return NULL;
d14a1e28
RD
17422}
17423
17424
994141e6
RD
17425static PyObject *_wrap_FontList_FindOrCreateFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17426 PyObject *resultobj;
17427 wxFontList *arg1 = (wxFontList *) 0 ;
17428 int arg2 ;
17429 int arg3 ;
17430 int arg4 ;
17431 int arg5 ;
17432 bool arg6 = (bool) False ;
17433 wxString const &arg7_defvalue = wxPyEmptyString ;
17434 wxString *arg7 = (wxString *) &arg7_defvalue ;
17435 int arg8 = (int) wxFONTENCODING_DEFAULT ;
17436 wxFont *result;
17437 bool temp7 = False ;
17438 PyObject * obj0 = 0 ;
17439 PyObject * obj1 = 0 ;
17440 PyObject * obj2 = 0 ;
17441 PyObject * obj3 = 0 ;
17442 PyObject * obj4 = 0 ;
17443 PyObject * obj5 = 0 ;
17444 PyObject * obj6 = 0 ;
17445 PyObject * obj7 = 0 ;
17446 char *kwnames[] = {
17447 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17448 };
d14a1e28 17449
994141e6 17450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
17451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontList,
17452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17453 arg2 = (int) SWIG_AsInt(obj1);
17454 if (PyErr_Occurred()) SWIG_fail;
17455 arg3 = (int) SWIG_AsInt(obj2);
17456 if (PyErr_Occurred()) SWIG_fail;
17457 arg4 = (int) SWIG_AsInt(obj3);
17458 if (PyErr_Occurred()) SWIG_fail;
17459 arg5 = (int) SWIG_AsInt(obj4);
17460 if (PyErr_Occurred()) SWIG_fail;
994141e6 17461 if (obj5) {
15afbcd0
RD
17462 arg6 = (bool) SWIG_AsBool(obj5);
17463 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17464 }
17465 if (obj6) {
17466 {
17467 arg7 = wxString_in_helper(obj6);
17468 if (arg7 == NULL) SWIG_fail;
17469 temp7 = True;
17470 }
17471 }
17472 if (obj7) {
15afbcd0
RD
17473 arg8 = (wxFontEncoding) SWIG_AsInt(obj7);
17474 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17475 }
17476 {
17477 PyThreadState* __tstate = wxPyBeginAllowThreads();
17478 result = (wxFont *)(arg1)->FindOrCreateFont(arg2,arg3,arg4,arg5,arg6,(wxString const &)*arg7,(wxFontEncoding )arg8);
17479
17480 wxPyEndAllowThreads(__tstate);
17481 if (PyErr_Occurred()) SWIG_fail;
17482 }
15afbcd0 17483 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
994141e6
RD
17484 {
17485 if (temp7)
17486 delete arg7;
17487 }
17488 return resultobj;
17489 fail:
17490 {
17491 if (temp7)
17492 delete arg7;
17493 }
17494 return NULL;
d14a1e28
RD
17495}
17496
17497
994141e6
RD
17498static PyObject *_wrap_FontList_RemoveFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17499 PyObject *resultobj;
17500 wxFontList *arg1 = (wxFontList *) 0 ;
17501 wxFont *arg2 = (wxFont *) 0 ;
17502 PyObject * obj0 = 0 ;
17503 PyObject * obj1 = 0 ;
17504 char *kwnames[] = {
17505 (char *) "self",(char *) "font", NULL
17506 };
d14a1e28 17507
994141e6 17508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontList_RemoveFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontList,
17510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17511 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
17512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17513 {
17514 PyThreadState* __tstate = wxPyBeginAllowThreads();
17515 (arg1)->RemoveFont(arg2);
17516
17517 wxPyEndAllowThreads(__tstate);
17518 if (PyErr_Occurred()) SWIG_fail;
17519 }
17520 Py_INCREF(Py_None); resultobj = Py_None;
17521 return resultobj;
17522 fail:
17523 return NULL;
d14a1e28
RD
17524}
17525
17526
994141e6
RD
17527static PyObject *_wrap_FontList_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
17528 PyObject *resultobj;
17529 wxFontList *arg1 = (wxFontList *) 0 ;
17530 int result;
17531 PyObject * obj0 = 0 ;
17532 char *kwnames[] = {
17533 (char *) "self", NULL
17534 };
d14a1e28 17535
994141e6 17536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontList_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
17537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontList,
17538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17539 {
17540 PyThreadState* __tstate = wxPyBeginAllowThreads();
17541 result = (int)(arg1)->GetCount();
17542
17543 wxPyEndAllowThreads(__tstate);
17544 if (PyErr_Occurred()) SWIG_fail;
17545 }
15afbcd0 17546 resultobj = SWIG_FromInt((int)result);
994141e6
RD
17547 return resultobj;
17548 fail:
17549 return NULL;
d14a1e28
RD
17550}
17551
17552
994141e6
RD
17553static PyObject * FontList_swigregister(PyObject *self, PyObject *args) {
17554 PyObject *obj;
17555 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17556 SWIG_TypeClientData(SWIGTYPE_p_wxFontList, obj);
17557 Py_INCREF(obj);
17558 return Py_BuildValue((char *)"");
17559}
d14a1e28
RD
17560static int _wrap_TheFontList_set(PyObject *_val) {
17561 PyErr_SetString(PyExc_TypeError,"Variable TheFontList is read-only.");
17562 return 1;
17563}
17564
17565
17566static PyObject *_wrap_TheFontList_get() {
17567 PyObject *pyobj;
17568
15afbcd0 17569 pyobj = SWIG_NewPointerObj((void *)(wxTheFontList), SWIGTYPE_p_wxFontList, 0);
d14a1e28
RD
17570 return pyobj;
17571}
17572
17573
17574static int _wrap_ThePenList_set(PyObject *_val) {
17575 PyErr_SetString(PyExc_TypeError,"Variable ThePenList is read-only.");
17576 return 1;
17577}
17578
17579
17580static PyObject *_wrap_ThePenList_get() {
17581 PyObject *pyobj;
17582
15afbcd0 17583 pyobj = SWIG_NewPointerObj((void *)(wxThePenList), SWIGTYPE_p_wxPenList, 0);
d14a1e28
RD
17584 return pyobj;
17585}
17586
17587
17588static int _wrap_TheBrushList_set(PyObject *_val) {
17589 PyErr_SetString(PyExc_TypeError,"Variable TheBrushList is read-only.");
17590 return 1;
17591}
17592
17593
17594static PyObject *_wrap_TheBrushList_get() {
17595 PyObject *pyobj;
17596
15afbcd0 17597 pyobj = SWIG_NewPointerObj((void *)(wxTheBrushList), SWIGTYPE_p_wxBrushList, 0);
d14a1e28
RD
17598 return pyobj;
17599}
17600
17601
17602static int _wrap_TheColourDatabase_set(PyObject *_val) {
17603 PyErr_SetString(PyExc_TypeError,"Variable TheColourDatabase is read-only.");
17604 return 1;
17605}
17606
17607
17608static PyObject *_wrap_TheColourDatabase_get() {
17609 PyObject *pyobj;
17610
15afbcd0 17611 pyobj = SWIG_NewPointerObj((void *)(wxTheColourDatabase), SWIGTYPE_p_wxColourDatabase, 0);
d14a1e28
RD
17612 return pyobj;
17613}
17614
17615
e811c8ce 17616static PyObject *_wrap_new_Effects(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 17617 PyObject *resultobj;
e811c8ce 17618 wxEffects *result;
d14a1e28 17619 char *kwnames[] = {
e811c8ce 17620 NULL
d14a1e28
RD
17621 };
17622
e811c8ce 17623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Effects",kwnames)) goto fail;
d14a1e28
RD
17624 {
17625 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 17626 result = (wxEffects *)new wxEffects();
d14a1e28
RD
17627
17628 wxPyEndAllowThreads(__tstate);
17629 if (PyErr_Occurred()) SWIG_fail;
17630 }
15afbcd0 17631 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEffects, 1);
d14a1e28
RD
17632 return resultobj;
17633 fail:
17634 return NULL;
17635}
17636
17637
e811c8ce 17638static PyObject *_wrap_Effects_GetHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 17639 PyObject *resultobj;
e811c8ce
RD
17640 wxEffects *arg1 = (wxEffects *) 0 ;
17641 wxColour result;
d14a1e28 17642 PyObject * obj0 = 0 ;
d14a1e28 17643 char *kwnames[] = {
e811c8ce 17644 (char *) "self", NULL
d14a1e28
RD
17645 };
17646
e811c8ce 17647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetHighlightColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
17648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17650 {
17651 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 17652 result = ((wxEffects const *)arg1)->GetHighlightColour();
d14a1e28
RD
17653
17654 wxPyEndAllowThreads(__tstate);
17655 if (PyErr_Occurred()) SWIG_fail;
17656 }
e811c8ce
RD
17657 {
17658 wxColour * resultptr;
17659 resultptr = new wxColour((wxColour &) result);
15afbcd0 17660 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
e811c8ce 17661 }
d14a1e28
RD
17662 return resultobj;
17663 fail:
17664 return NULL;
17665}
17666
17667
e811c8ce 17668static PyObject *_wrap_Effects_GetLightShadow(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 17669 PyObject *resultobj;
e811c8ce
RD
17670 wxEffects *arg1 = (wxEffects *) 0 ;
17671 wxColour result;
d14a1e28 17672 PyObject * obj0 = 0 ;
d14a1e28 17673 char *kwnames[] = {
e811c8ce 17674 (char *) "self", NULL
d14a1e28
RD
17675 };
17676
e811c8ce 17677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetLightShadow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17680 {
17681 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 17682 result = ((wxEffects const *)arg1)->GetLightShadow();
d14a1e28
RD
17683
17684 wxPyEndAllowThreads(__tstate);
17685 if (PyErr_Occurred()) SWIG_fail;
17686 }
d14a1e28 17687 {
e811c8ce
RD
17688 wxColour * resultptr;
17689 resultptr = new wxColour((wxColour &) result);
15afbcd0 17690 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
17691 }
17692 return resultobj;
17693 fail:
d14a1e28
RD
17694 return NULL;
17695}
17696
17697
e811c8ce 17698static PyObject *_wrap_Effects_GetFaceColour(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 17699 PyObject *resultobj;
e811c8ce
RD
17700 wxEffects *arg1 = (wxEffects *) 0 ;
17701 wxColour result;
d14a1e28 17702 PyObject * obj0 = 0 ;
d14a1e28 17703 char *kwnames[] = {
e811c8ce 17704 (char *) "self", NULL
d14a1e28
RD
17705 };
17706
e811c8ce 17707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetFaceColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
17708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17710 {
17711 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 17712 result = ((wxEffects const *)arg1)->GetFaceColour();
d14a1e28
RD
17713
17714 wxPyEndAllowThreads(__tstate);
17715 if (PyErr_Occurred()) SWIG_fail;
17716 }
e811c8ce
RD
17717 {
17718 wxColour * resultptr;
17719 resultptr = new wxColour((wxColour &) result);
15afbcd0 17720 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
e811c8ce 17721 }
d14a1e28
RD
17722 return resultobj;
17723 fail:
17724 return NULL;
17725}
17726
17727
e811c8ce 17728static PyObject *_wrap_Effects_GetMediumShadow(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 17729 PyObject *resultobj;
e811c8ce
RD
17730 wxEffects *arg1 = (wxEffects *) 0 ;
17731 wxColour result;
d14a1e28
RD
17732 PyObject * obj0 = 0 ;
17733 char *kwnames[] = {
e811c8ce 17734 (char *) "self", NULL
d14a1e28
RD
17735 };
17736
17737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetMediumShadow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17740 {
17741 PyThreadState* __tstate = wxPyBeginAllowThreads();
17742 result = ((wxEffects const *)arg1)->GetMediumShadow();
17743
17744 wxPyEndAllowThreads(__tstate);
17745 if (PyErr_Occurred()) SWIG_fail;
17746 }
17747 {
17748 wxColour * resultptr;
17749 resultptr = new wxColour((wxColour &) result);
15afbcd0 17750 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
17751 }
17752 return resultobj;
17753 fail:
17754 return NULL;
17755}
17756
17757
17758static PyObject *_wrap_Effects_GetDarkShadow(PyObject *self, PyObject *args, PyObject *kwargs) {
17759 PyObject *resultobj;
17760 wxEffects *arg1 = (wxEffects *) 0 ;
17761 wxColour result;
17762 PyObject * obj0 = 0 ;
17763 char *kwnames[] = {
17764 (char *) "self", NULL
17765 };
17766
17767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetDarkShadow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17770 {
17771 PyThreadState* __tstate = wxPyBeginAllowThreads();
17772 result = ((wxEffects const *)arg1)->GetDarkShadow();
17773
17774 wxPyEndAllowThreads(__tstate);
17775 if (PyErr_Occurred()) SWIG_fail;
17776 }
17777 {
17778 wxColour * resultptr;
17779 resultptr = new wxColour((wxColour &) result);
15afbcd0 17780 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
17781 }
17782 return resultobj;
17783 fail:
17784 return NULL;
17785}
17786
17787
17788static PyObject *_wrap_Effects_SetHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17789 PyObject *resultobj;
17790 wxEffects *arg1 = (wxEffects *) 0 ;
17791 wxColour *arg2 = 0 ;
17792 wxColour temp2 ;
17793 PyObject * obj0 = 0 ;
17794 PyObject * obj1 = 0 ;
17795 char *kwnames[] = {
17796 (char *) "self",(char *) "c", NULL
17797 };
17798
17799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetHighlightColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17802 {
17803 arg2 = &temp2;
17804 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17805 }
17806 {
17807 PyThreadState* __tstate = wxPyBeginAllowThreads();
17808 (arg1)->SetHighlightColour((wxColour const &)*arg2);
17809
17810 wxPyEndAllowThreads(__tstate);
17811 if (PyErr_Occurred()) SWIG_fail;
17812 }
17813 Py_INCREF(Py_None); resultobj = Py_None;
17814 return resultobj;
17815 fail:
17816 return NULL;
17817}
17818
17819
17820static PyObject *_wrap_Effects_SetLightShadow(PyObject *self, PyObject *args, PyObject *kwargs) {
17821 PyObject *resultobj;
17822 wxEffects *arg1 = (wxEffects *) 0 ;
17823 wxColour *arg2 = 0 ;
17824 wxColour temp2 ;
17825 PyObject * obj0 = 0 ;
17826 PyObject * obj1 = 0 ;
17827 char *kwnames[] = {
17828 (char *) "self",(char *) "c", NULL
17829 };
17830
17831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetLightShadow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17834 {
17835 arg2 = &temp2;
17836 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17837 }
17838 {
17839 PyThreadState* __tstate = wxPyBeginAllowThreads();
17840 (arg1)->SetLightShadow((wxColour const &)*arg2);
17841
17842 wxPyEndAllowThreads(__tstate);
17843 if (PyErr_Occurred()) SWIG_fail;
17844 }
17845 Py_INCREF(Py_None); resultobj = Py_None;
17846 return resultobj;
17847 fail:
17848 return NULL;
17849}
17850
17851
17852static PyObject *_wrap_Effects_SetFaceColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17853 PyObject *resultobj;
17854 wxEffects *arg1 = (wxEffects *) 0 ;
17855 wxColour *arg2 = 0 ;
17856 wxColour temp2 ;
17857 PyObject * obj0 = 0 ;
17858 PyObject * obj1 = 0 ;
17859 char *kwnames[] = {
17860 (char *) "self",(char *) "c", NULL
17861 };
17862
17863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetFaceColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17866 {
17867 arg2 = &temp2;
17868 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17869 }
17870 {
17871 PyThreadState* __tstate = wxPyBeginAllowThreads();
17872 (arg1)->SetFaceColour((wxColour const &)*arg2);
17873
17874 wxPyEndAllowThreads(__tstate);
17875 if (PyErr_Occurred()) SWIG_fail;
17876 }
17877 Py_INCREF(Py_None); resultobj = Py_None;
17878 return resultobj;
17879 fail:
17880 return NULL;
17881}
17882
17883
17884static PyObject *_wrap_Effects_SetMediumShadow(PyObject *self, PyObject *args, PyObject *kwargs) {
17885 PyObject *resultobj;
17886 wxEffects *arg1 = (wxEffects *) 0 ;
17887 wxColour *arg2 = 0 ;
17888 wxColour temp2 ;
17889 PyObject * obj0 = 0 ;
17890 PyObject * obj1 = 0 ;
17891 char *kwnames[] = {
17892 (char *) "self",(char *) "c", NULL
17893 };
17894
17895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetMediumShadow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17898 {
17899 arg2 = &temp2;
17900 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17901 }
17902 {
17903 PyThreadState* __tstate = wxPyBeginAllowThreads();
17904 (arg1)->SetMediumShadow((wxColour const &)*arg2);
17905
17906 wxPyEndAllowThreads(__tstate);
17907 if (PyErr_Occurred()) SWIG_fail;
17908 }
17909 Py_INCREF(Py_None); resultobj = Py_None;
17910 return resultobj;
17911 fail:
17912 return NULL;
17913}
17914
17915
17916static PyObject *_wrap_Effects_SetDarkShadow(PyObject *self, PyObject *args, PyObject *kwargs) {
17917 PyObject *resultobj;
17918 wxEffects *arg1 = (wxEffects *) 0 ;
17919 wxColour *arg2 = 0 ;
17920 wxColour temp2 ;
17921 PyObject * obj0 = 0 ;
17922 PyObject * obj1 = 0 ;
17923 char *kwnames[] = {
17924 (char *) "self",(char *) "c", NULL
17925 };
17926
17927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetDarkShadow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17930 {
17931 arg2 = &temp2;
17932 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17933 }
17934 {
17935 PyThreadState* __tstate = wxPyBeginAllowThreads();
17936 (arg1)->SetDarkShadow((wxColour const &)*arg2);
17937
17938 wxPyEndAllowThreads(__tstate);
17939 if (PyErr_Occurred()) SWIG_fail;
17940 }
17941 Py_INCREF(Py_None); resultobj = Py_None;
17942 return resultobj;
17943 fail:
17944 return NULL;
17945}
17946
17947
17948static PyObject *_wrap_Effects_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
17949 PyObject *resultobj;
17950 wxEffects *arg1 = (wxEffects *) 0 ;
17951 wxColour *arg2 = 0 ;
17952 wxColour *arg3 = 0 ;
17953 wxColour *arg4 = 0 ;
17954 wxColour *arg5 = 0 ;
17955 wxColour *arg6 = 0 ;
17956 wxColour temp2 ;
17957 wxColour temp3 ;
17958 wxColour temp4 ;
17959 wxColour temp5 ;
17960 wxColour temp6 ;
17961 PyObject * obj0 = 0 ;
17962 PyObject * obj1 = 0 ;
17963 PyObject * obj2 = 0 ;
17964 PyObject * obj3 = 0 ;
17965 PyObject * obj4 = 0 ;
17966 PyObject * obj5 = 0 ;
17967 char *kwnames[] = {
17968 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
17969 };
17970
17971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Effects_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
17972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17974 {
17975 arg2 = &temp2;
17976 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17977 }
17978 {
17979 arg3 = &temp3;
17980 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
17981 }
17982 {
17983 arg4 = &temp4;
17984 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
17985 }
17986 {
17987 arg5 = &temp5;
17988 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
17989 }
17990 {
17991 arg6 = &temp6;
17992 if ( ! wxColour_helper(obj5, &arg6)) SWIG_fail;
17993 }
17994 {
17995 PyThreadState* __tstate = wxPyBeginAllowThreads();
17996 (arg1)->Set((wxColour const &)*arg2,(wxColour const &)*arg3,(wxColour const &)*arg4,(wxColour const &)*arg5,(wxColour const &)*arg6);
17997
17998 wxPyEndAllowThreads(__tstate);
17999 if (PyErr_Occurred()) SWIG_fail;
18000 }
18001 Py_INCREF(Py_None); resultobj = Py_None;
18002 return resultobj;
18003 fail:
18004 return NULL;
18005}
18006
18007
18008static PyObject *_wrap_Effects_DrawSunkenEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
18009 PyObject *resultobj;
18010 wxEffects *arg1 = (wxEffects *) 0 ;
18011 wxDC *arg2 = 0 ;
18012 wxRect *arg3 = 0 ;
18013 int arg4 = (int) 1 ;
18014 wxRect temp3 ;
18015 PyObject * obj0 = 0 ;
18016 PyObject * obj1 = 0 ;
18017 PyObject * obj2 = 0 ;
994141e6 18018 PyObject * obj3 = 0 ;
d14a1e28
RD
18019 char *kwnames[] = {
18020 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18021 };
18022
994141e6 18023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
18024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
18025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18026 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18027 SWIG_POINTER_EXCEPTION | 0)) == -1)
18028 SWIG_fail;
d14a1e28 18029 if (arg2 == NULL) {
15afbcd0
RD
18030 PyErr_SetString(PyExc_TypeError,"null reference");
18031 SWIG_fail;
d14a1e28
RD
18032 }
18033 {
18034 arg3 = &temp3;
18035 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
18036 }
994141e6 18037 if (obj3) {
15afbcd0
RD
18038 arg4 = (int) SWIG_AsInt(obj3);
18039 if (PyErr_Occurred()) SWIG_fail;
994141e6 18040 }
d14a1e28
RD
18041 {
18042 PyThreadState* __tstate = wxPyBeginAllowThreads();
18043 (arg1)->DrawSunkenEdge(*arg2,(wxRect const &)*arg3,arg4);
18044
18045 wxPyEndAllowThreads(__tstate);
18046 if (PyErr_Occurred()) SWIG_fail;
18047 }
18048 Py_INCREF(Py_None); resultobj = Py_None;
18049 return resultobj;
18050 fail:
18051 return NULL;
18052}
18053
18054
18055static PyObject *_wrap_Effects_TileBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
18056 PyObject *resultobj;
18057 wxEffects *arg1 = (wxEffects *) 0 ;
18058 wxRect *arg2 = 0 ;
18059 wxDC *arg3 = 0 ;
18060 wxBitmap *arg4 = 0 ;
18061 bool result;
18062 wxRect temp2 ;
18063 PyObject * obj0 = 0 ;
18064 PyObject * obj1 = 0 ;
18065 PyObject * obj2 = 0 ;
18066 PyObject * obj3 = 0 ;
18067 char *kwnames[] = {
18068 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18069 };
18070
18071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Effects_TileBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
18072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
18073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18074 {
18075 arg2 = &temp2;
18076 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
18077 }
15afbcd0
RD
18078 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
18079 SWIG_POINTER_EXCEPTION | 0)) == -1)
18080 SWIG_fail;
d14a1e28 18081 if (arg3 == NULL) {
15afbcd0
RD
18082 PyErr_SetString(PyExc_TypeError,"null reference");
18083 SWIG_fail;
d14a1e28 18084 }
15afbcd0
RD
18085 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
18086 SWIG_POINTER_EXCEPTION | 0)) == -1)
18087 SWIG_fail;
d14a1e28 18088 if (arg4 == NULL) {
15afbcd0
RD
18089 PyErr_SetString(PyExc_TypeError,"null reference");
18090 SWIG_fail;
d14a1e28
RD
18091 }
18092 {
18093 PyThreadState* __tstate = wxPyBeginAllowThreads();
18094 result = (bool)(arg1)->TileBitmap((wxRect const &)*arg2,*arg3,*arg4);
18095
18096 wxPyEndAllowThreads(__tstate);
18097 if (PyErr_Occurred()) SWIG_fail;
18098 }
4f89f6a3
RD
18099 {
18100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18101 }
d14a1e28
RD
18102 return resultobj;
18103 fail:
18104 return NULL;
18105}
18106
18107
18108static PyObject * Effects_swigregister(PyObject *self, PyObject *args) {
18109 PyObject *obj;
18110 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18111 SWIG_TypeClientData(SWIGTYPE_p_wxEffects, obj);
18112 Py_INCREF(obj);
18113 return Py_BuildValue((char *)"");
18114}
18115static PyMethodDef SwigMethods[] = {
18116 { (char *)"new_GDIObject", (PyCFunction) _wrap_new_GDIObject, METH_VARARGS | METH_KEYWORDS },
18117 { (char *)"delete_GDIObject", (PyCFunction) _wrap_delete_GDIObject, METH_VARARGS | METH_KEYWORDS },
18118 { (char *)"GDIObject_GetVisible", (PyCFunction) _wrap_GDIObject_GetVisible, METH_VARARGS | METH_KEYWORDS },
18119 { (char *)"GDIObject_SetVisible", (PyCFunction) _wrap_GDIObject_SetVisible, METH_VARARGS | METH_KEYWORDS },
18120 { (char *)"GDIObject_IsNull", (PyCFunction) _wrap_GDIObject_IsNull, METH_VARARGS | METH_KEYWORDS },
18121 { (char *)"GDIObject_swigregister", GDIObject_swigregister, METH_VARARGS },
18122 { (char *)"new_Colour", (PyCFunction) _wrap_new_Colour, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18123 { (char *)"new_NamedColour", (PyCFunction) _wrap_new_NamedColour, METH_VARARGS | METH_KEYWORDS },
18124 { (char *)"new_ColourRGB", (PyCFunction) _wrap_new_ColourRGB, METH_VARARGS | METH_KEYWORDS },
b88bce5f 18125 { (char *)"delete_Colour", (PyCFunction) _wrap_delete_Colour, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18126 { (char *)"Colour_Red", (PyCFunction) _wrap_Colour_Red, METH_VARARGS | METH_KEYWORDS },
18127 { (char *)"Colour_Green", (PyCFunction) _wrap_Colour_Green, METH_VARARGS | METH_KEYWORDS },
18128 { (char *)"Colour_Blue", (PyCFunction) _wrap_Colour_Blue, METH_VARARGS | METH_KEYWORDS },
18129 { (char *)"Colour_Ok", (PyCFunction) _wrap_Colour_Ok, METH_VARARGS | METH_KEYWORDS },
18130 { (char *)"Colour_Set", (PyCFunction) _wrap_Colour_Set, METH_VARARGS | METH_KEYWORDS },
c9c7117a 18131 { (char *)"Colour_SetRGB", (PyCFunction) _wrap_Colour_SetRGB, METH_VARARGS | METH_KEYWORDS },
b88bce5f
RD
18132 { (char *)"Colour_SetFromName", (PyCFunction) _wrap_Colour_SetFromName, METH_VARARGS | METH_KEYWORDS },
18133 { (char *)"Colour_GetPixel", (PyCFunction) _wrap_Colour_GetPixel, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18134 { (char *)"Colour___eq__", (PyCFunction) _wrap_Colour___eq__, METH_VARARGS | METH_KEYWORDS },
18135 { (char *)"Colour___ne__", (PyCFunction) _wrap_Colour___ne__, METH_VARARGS | METH_KEYWORDS },
18136 { (char *)"Colour_Get", (PyCFunction) _wrap_Colour_Get, METH_VARARGS | METH_KEYWORDS },
b88bce5f 18137 { (char *)"Colour_GetRGB", (PyCFunction) _wrap_Colour_GetRGB, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18138 { (char *)"Colour_swigregister", Colour_swigregister, METH_VARARGS },
18139 { (char *)"new_Palette", (PyCFunction) _wrap_new_Palette, METH_VARARGS | METH_KEYWORDS },
18140 { (char *)"delete_Palette", (PyCFunction) _wrap_delete_Palette, METH_VARARGS | METH_KEYWORDS },
18141 { (char *)"Palette_GetPixel", (PyCFunction) _wrap_Palette_GetPixel, METH_VARARGS | METH_KEYWORDS },
18142 { (char *)"Palette_GetRGB", (PyCFunction) _wrap_Palette_GetRGB, METH_VARARGS | METH_KEYWORDS },
18143 { (char *)"Palette_Ok", (PyCFunction) _wrap_Palette_Ok, METH_VARARGS | METH_KEYWORDS },
18144 { (char *)"Palette_swigregister", Palette_swigregister, METH_VARARGS },
18145 { (char *)"new_Pen", (PyCFunction) _wrap_new_Pen, METH_VARARGS | METH_KEYWORDS },
18146 { (char *)"delete_Pen", (PyCFunction) _wrap_delete_Pen, METH_VARARGS | METH_KEYWORDS },
18147 { (char *)"Pen_GetCap", (PyCFunction) _wrap_Pen_GetCap, METH_VARARGS | METH_KEYWORDS },
18148 { (char *)"Pen_GetColour", (PyCFunction) _wrap_Pen_GetColour, METH_VARARGS | METH_KEYWORDS },
18149 { (char *)"Pen_GetJoin", (PyCFunction) _wrap_Pen_GetJoin, METH_VARARGS | METH_KEYWORDS },
18150 { (char *)"Pen_GetStyle", (PyCFunction) _wrap_Pen_GetStyle, METH_VARARGS | METH_KEYWORDS },
18151 { (char *)"Pen_GetWidth", (PyCFunction) _wrap_Pen_GetWidth, METH_VARARGS | METH_KEYWORDS },
18152 { (char *)"Pen_Ok", (PyCFunction) _wrap_Pen_Ok, METH_VARARGS | METH_KEYWORDS },
18153 { (char *)"Pen_SetCap", (PyCFunction) _wrap_Pen_SetCap, METH_VARARGS | METH_KEYWORDS },
18154 { (char *)"Pen_SetColour", (PyCFunction) _wrap_Pen_SetColour, METH_VARARGS | METH_KEYWORDS },
18155 { (char *)"Pen_SetJoin", (PyCFunction) _wrap_Pen_SetJoin, METH_VARARGS | METH_KEYWORDS },
18156 { (char *)"Pen_SetStyle", (PyCFunction) _wrap_Pen_SetStyle, METH_VARARGS | METH_KEYWORDS },
18157 { (char *)"Pen_SetWidth", (PyCFunction) _wrap_Pen_SetWidth, METH_VARARGS | METH_KEYWORDS },
18158 { (char *)"Pen_SetDashes", (PyCFunction) _wrap_Pen_SetDashes, METH_VARARGS | METH_KEYWORDS },
18159 { (char *)"Pen_GetDashes", (PyCFunction) _wrap_Pen_GetDashes, METH_VARARGS | METH_KEYWORDS },
66c033b4
RD
18160 { (char *)"Pen__SetDashes", (PyCFunction) _wrap_Pen__SetDashes, METH_VARARGS | METH_KEYWORDS },
18161 { (char *)"Pen_GetDashCount", (PyCFunction) _wrap_Pen_GetDashCount, METH_VARARGS | METH_KEYWORDS },
3adfb63b 18162 { (char *)"Pen___eq__", (PyCFunction) _wrap_Pen___eq__, METH_VARARGS | METH_KEYWORDS },
22faec7d 18163 { (char *)"Pen___ne__", (PyCFunction) _wrap_Pen___ne__, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18164 { (char *)"Pen_swigregister", Pen_swigregister, METH_VARARGS },
d14a1e28
RD
18165 { (char *)"new_Brush", (PyCFunction) _wrap_new_Brush, METH_VARARGS | METH_KEYWORDS },
18166 { (char *)"delete_Brush", (PyCFunction) _wrap_delete_Brush, METH_VARARGS | METH_KEYWORDS },
18167 { (char *)"Brush_SetColour", (PyCFunction) _wrap_Brush_SetColour, METH_VARARGS | METH_KEYWORDS },
18168 { (char *)"Brush_SetStyle", (PyCFunction) _wrap_Brush_SetStyle, METH_VARARGS | METH_KEYWORDS },
18169 { (char *)"Brush_SetStipple", (PyCFunction) _wrap_Brush_SetStipple, METH_VARARGS | METH_KEYWORDS },
18170 { (char *)"Brush_GetColour", (PyCFunction) _wrap_Brush_GetColour, METH_VARARGS | METH_KEYWORDS },
18171 { (char *)"Brush_GetStyle", (PyCFunction) _wrap_Brush_GetStyle, METH_VARARGS | METH_KEYWORDS },
18172 { (char *)"Brush_GetStipple", (PyCFunction) _wrap_Brush_GetStipple, METH_VARARGS | METH_KEYWORDS },
18173 { (char *)"Brush_Ok", (PyCFunction) _wrap_Brush_Ok, METH_VARARGS | METH_KEYWORDS },
18174 { (char *)"Brush_swigregister", Brush_swigregister, METH_VARARGS },
18175 { (char *)"new_Bitmap", (PyCFunction) _wrap_new_Bitmap, METH_VARARGS | METH_KEYWORDS },
18176 { (char *)"delete_Bitmap", (PyCFunction) _wrap_delete_Bitmap, METH_VARARGS | METH_KEYWORDS },
66c033b4 18177 { (char *)"new_EmptyBitmap", (PyCFunction) _wrap_new_EmptyBitmap, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18178 { (char *)"new_BitmapFromIcon", (PyCFunction) _wrap_new_BitmapFromIcon, METH_VARARGS | METH_KEYWORDS },
18179 { (char *)"new_BitmapFromImage", (PyCFunction) _wrap_new_BitmapFromImage, METH_VARARGS | METH_KEYWORDS },
18180 { (char *)"new_BitmapFromXPMData", (PyCFunction) _wrap_new_BitmapFromXPMData, METH_VARARGS | METH_KEYWORDS },
18181 { (char *)"new_BitmapFromBits", (PyCFunction) _wrap_new_BitmapFromBits, METH_VARARGS | METH_KEYWORDS },
18182 { (char *)"Bitmap_Ok", (PyCFunction) _wrap_Bitmap_Ok, METH_VARARGS | METH_KEYWORDS },
18183 { (char *)"Bitmap_GetWidth", (PyCFunction) _wrap_Bitmap_GetWidth, METH_VARARGS | METH_KEYWORDS },
18184 { (char *)"Bitmap_GetHeight", (PyCFunction) _wrap_Bitmap_GetHeight, METH_VARARGS | METH_KEYWORDS },
18185 { (char *)"Bitmap_GetDepth", (PyCFunction) _wrap_Bitmap_GetDepth, METH_VARARGS | METH_KEYWORDS },
b2df227b 18186 { (char *)"Bitmap_GetSize", (PyCFunction) _wrap_Bitmap_GetSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18187 { (char *)"Bitmap_ConvertToImage", (PyCFunction) _wrap_Bitmap_ConvertToImage, METH_VARARGS | METH_KEYWORDS },
18188 { (char *)"Bitmap_GetMask", (PyCFunction) _wrap_Bitmap_GetMask, METH_VARARGS | METH_KEYWORDS },
18189 { (char *)"Bitmap_SetMask", (PyCFunction) _wrap_Bitmap_SetMask, METH_VARARGS | METH_KEYWORDS },
18190 { (char *)"Bitmap_SetMaskColour", (PyCFunction) _wrap_Bitmap_SetMaskColour, METH_VARARGS | METH_KEYWORDS },
18191 { (char *)"Bitmap_GetSubBitmap", (PyCFunction) _wrap_Bitmap_GetSubBitmap, METH_VARARGS | METH_KEYWORDS },
18192 { (char *)"Bitmap_SaveFile", (PyCFunction) _wrap_Bitmap_SaveFile, METH_VARARGS | METH_KEYWORDS },
18193 { (char *)"Bitmap_LoadFile", (PyCFunction) _wrap_Bitmap_LoadFile, METH_VARARGS | METH_KEYWORDS },
18194 { (char *)"Bitmap_CopyFromIcon", (PyCFunction) _wrap_Bitmap_CopyFromIcon, METH_VARARGS | METH_KEYWORDS },
18195 { (char *)"Bitmap_SetHeight", (PyCFunction) _wrap_Bitmap_SetHeight, METH_VARARGS | METH_KEYWORDS },
18196 { (char *)"Bitmap_SetWidth", (PyCFunction) _wrap_Bitmap_SetWidth, METH_VARARGS | METH_KEYWORDS },
18197 { (char *)"Bitmap_SetDepth", (PyCFunction) _wrap_Bitmap_SetDepth, METH_VARARGS | METH_KEYWORDS },
b2df227b 18198 { (char *)"Bitmap_SetSize", (PyCFunction) _wrap_Bitmap_SetSize, METH_VARARGS | METH_KEYWORDS },
4276dc52
RD
18199 { (char *)"Bitmap___eq__", (PyCFunction) _wrap_Bitmap___eq__, METH_VARARGS | METH_KEYWORDS },
18200 { (char *)"Bitmap___ne__", (PyCFunction) _wrap_Bitmap___ne__, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18201 { (char *)"Bitmap_swigregister", Bitmap_swigregister, METH_VARARGS },
18202 { (char *)"new_Mask", (PyCFunction) _wrap_new_Mask, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18203 { (char *)"Mask_swigregister", Mask_swigregister, METH_VARARGS },
18204 { (char *)"new_Icon", (PyCFunction) _wrap_new_Icon, METH_VARARGS | METH_KEYWORDS },
18205 { (char *)"delete_Icon", (PyCFunction) _wrap_delete_Icon, METH_VARARGS | METH_KEYWORDS },
18206 { (char *)"new_EmptyIcon", (PyCFunction) _wrap_new_EmptyIcon, METH_VARARGS | METH_KEYWORDS },
18207 { (char *)"new_IconFromLocation", (PyCFunction) _wrap_new_IconFromLocation, METH_VARARGS | METH_KEYWORDS },
18208 { (char *)"new_IconFromBitmap", (PyCFunction) _wrap_new_IconFromBitmap, METH_VARARGS | METH_KEYWORDS },
18209 { (char *)"new_IconFromXPMData", (PyCFunction) _wrap_new_IconFromXPMData, METH_VARARGS | METH_KEYWORDS },
18210 { (char *)"Icon_LoadFile", (PyCFunction) _wrap_Icon_LoadFile, METH_VARARGS | METH_KEYWORDS },
18211 { (char *)"Icon_Ok", (PyCFunction) _wrap_Icon_Ok, METH_VARARGS | METH_KEYWORDS },
18212 { (char *)"Icon_GetWidth", (PyCFunction) _wrap_Icon_GetWidth, METH_VARARGS | METH_KEYWORDS },
18213 { (char *)"Icon_GetHeight", (PyCFunction) _wrap_Icon_GetHeight, METH_VARARGS | METH_KEYWORDS },
18214 { (char *)"Icon_GetDepth", (PyCFunction) _wrap_Icon_GetDepth, METH_VARARGS | METH_KEYWORDS },
18215 { (char *)"Icon_SetWidth", (PyCFunction) _wrap_Icon_SetWidth, METH_VARARGS | METH_KEYWORDS },
18216 { (char *)"Icon_SetHeight", (PyCFunction) _wrap_Icon_SetHeight, METH_VARARGS | METH_KEYWORDS },
18217 { (char *)"Icon_SetDepth", (PyCFunction) _wrap_Icon_SetDepth, METH_VARARGS | METH_KEYWORDS },
18218 { (char *)"Icon_CopyFromBitmap", (PyCFunction) _wrap_Icon_CopyFromBitmap, METH_VARARGS | METH_KEYWORDS },
18219 { (char *)"Icon_swigregister", Icon_swigregister, METH_VARARGS },
18220 { (char *)"new_IconLocation", (PyCFunction) _wrap_new_IconLocation, METH_VARARGS | METH_KEYWORDS },
18221 { (char *)"delete_IconLocation", (PyCFunction) _wrap_delete_IconLocation, METH_VARARGS | METH_KEYWORDS },
18222 { (char *)"IconLocation_IsOk", (PyCFunction) _wrap_IconLocation_IsOk, METH_VARARGS | METH_KEYWORDS },
18223 { (char *)"IconLocation_SetFileName", (PyCFunction) _wrap_IconLocation_SetFileName, METH_VARARGS | METH_KEYWORDS },
18224 { (char *)"IconLocation_GetFileName", (PyCFunction) _wrap_IconLocation_GetFileName, METH_VARARGS | METH_KEYWORDS },
18225 { (char *)"IconLocation_SetIndex", (PyCFunction) _wrap_IconLocation_SetIndex, METH_VARARGS | METH_KEYWORDS },
18226 { (char *)"IconLocation_GetIndex", (PyCFunction) _wrap_IconLocation_GetIndex, METH_VARARGS | METH_KEYWORDS },
18227 { (char *)"IconLocation_swigregister", IconLocation_swigregister, METH_VARARGS },
18228 { (char *)"new_IconBundle", (PyCFunction) _wrap_new_IconBundle, METH_VARARGS | METH_KEYWORDS },
18229 { (char *)"new_IconBundleFromFile", (PyCFunction) _wrap_new_IconBundleFromFile, METH_VARARGS | METH_KEYWORDS },
18230 { (char *)"new_IconBundleFromIcon", (PyCFunction) _wrap_new_IconBundleFromIcon, METH_VARARGS | METH_KEYWORDS },
18231 { (char *)"delete_IconBundle", (PyCFunction) _wrap_delete_IconBundle, METH_VARARGS | METH_KEYWORDS },
18232 { (char *)"IconBundle_AddIcon", (PyCFunction) _wrap_IconBundle_AddIcon, METH_VARARGS | METH_KEYWORDS },
18233 { (char *)"IconBundle_AddIconFromFile", (PyCFunction) _wrap_IconBundle_AddIconFromFile, METH_VARARGS | METH_KEYWORDS },
18234 { (char *)"IconBundle_GetIcon", (PyCFunction) _wrap_IconBundle_GetIcon, METH_VARARGS | METH_KEYWORDS },
18235 { (char *)"IconBundle_swigregister", IconBundle_swigregister, METH_VARARGS },
18236 { (char *)"new_Cursor", (PyCFunction) _wrap_new_Cursor, METH_VARARGS | METH_KEYWORDS },
18237 { (char *)"delete_Cursor", (PyCFunction) _wrap_delete_Cursor, METH_VARARGS | METH_KEYWORDS },
18238 { (char *)"new_StockCursor", (PyCFunction) _wrap_new_StockCursor, METH_VARARGS | METH_KEYWORDS },
18239 { (char *)"new_CursorFromImage", (PyCFunction) _wrap_new_CursorFromImage, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18240 { (char *)"Cursor_Ok", (PyCFunction) _wrap_Cursor_Ok, METH_VARARGS | METH_KEYWORDS },
18241 { (char *)"Cursor_swigregister", Cursor_swigregister, METH_VARARGS },
18242 { (char *)"new_Region", (PyCFunction) _wrap_new_Region, METH_VARARGS | METH_KEYWORDS },
18243 { (char *)"new_RegionFromBitmap", (PyCFunction) _wrap_new_RegionFromBitmap, METH_VARARGS | METH_KEYWORDS },
18244 { (char *)"new_RegionFromPoints", (PyCFunction) _wrap_new_RegionFromPoints, METH_VARARGS | METH_KEYWORDS },
18245 { (char *)"delete_Region", (PyCFunction) _wrap_delete_Region, METH_VARARGS | METH_KEYWORDS },
18246 { (char *)"Region_Clear", (PyCFunction) _wrap_Region_Clear, METH_VARARGS | METH_KEYWORDS },
18247 { (char *)"Region_Offset", (PyCFunction) _wrap_Region_Offset, METH_VARARGS | METH_KEYWORDS },
18248 { (char *)"Region_Contains", (PyCFunction) _wrap_Region_Contains, METH_VARARGS | METH_KEYWORDS },
18249 { (char *)"Region_ContainsPoint", (PyCFunction) _wrap_Region_ContainsPoint, METH_VARARGS | METH_KEYWORDS },
18250 { (char *)"Region_ContainsRect", (PyCFunction) _wrap_Region_ContainsRect, METH_VARARGS | METH_KEYWORDS },
18251 { (char *)"Region_ContainsRectDim", (PyCFunction) _wrap_Region_ContainsRectDim, METH_VARARGS | METH_KEYWORDS },
18252 { (char *)"Region_GetBox", (PyCFunction) _wrap_Region_GetBox, METH_VARARGS | METH_KEYWORDS },
18253 { (char *)"Region_Intersect", (PyCFunction) _wrap_Region_Intersect, METH_VARARGS | METH_KEYWORDS },
18254 { (char *)"Region_IntersectRect", (PyCFunction) _wrap_Region_IntersectRect, METH_VARARGS | METH_KEYWORDS },
18255 { (char *)"Region_IntersectRegion", (PyCFunction) _wrap_Region_IntersectRegion, METH_VARARGS | METH_KEYWORDS },
18256 { (char *)"Region_IsEmpty", (PyCFunction) _wrap_Region_IsEmpty, METH_VARARGS | METH_KEYWORDS },
18257 { (char *)"Region_Union", (PyCFunction) _wrap_Region_Union, METH_VARARGS | METH_KEYWORDS },
18258 { (char *)"Region_UnionRect", (PyCFunction) _wrap_Region_UnionRect, METH_VARARGS | METH_KEYWORDS },
18259 { (char *)"Region_UnionRegion", (PyCFunction) _wrap_Region_UnionRegion, METH_VARARGS | METH_KEYWORDS },
18260 { (char *)"Region_Subtract", (PyCFunction) _wrap_Region_Subtract, METH_VARARGS | METH_KEYWORDS },
18261 { (char *)"Region_SubtractRect", (PyCFunction) _wrap_Region_SubtractRect, METH_VARARGS | METH_KEYWORDS },
18262 { (char *)"Region_SubtractRegion", (PyCFunction) _wrap_Region_SubtractRegion, METH_VARARGS | METH_KEYWORDS },
18263 { (char *)"Region_Xor", (PyCFunction) _wrap_Region_Xor, METH_VARARGS | METH_KEYWORDS },
18264 { (char *)"Region_XorRect", (PyCFunction) _wrap_Region_XorRect, METH_VARARGS | METH_KEYWORDS },
18265 { (char *)"Region_XorRegion", (PyCFunction) _wrap_Region_XorRegion, METH_VARARGS | METH_KEYWORDS },
18266 { (char *)"Region_ConvertToBitmap", (PyCFunction) _wrap_Region_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
18267 { (char *)"Region_UnionBitmap", (PyCFunction) _wrap_Region_UnionBitmap, METH_VARARGS | METH_KEYWORDS },
18268 { (char *)"Region_swigregister", Region_swigregister, METH_VARARGS },
18269 { (char *)"new_RegionIterator", (PyCFunction) _wrap_new_RegionIterator, METH_VARARGS | METH_KEYWORDS },
18270 { (char *)"delete_RegionIterator", (PyCFunction) _wrap_delete_RegionIterator, METH_VARARGS | METH_KEYWORDS },
18271 { (char *)"RegionIterator_GetX", (PyCFunction) _wrap_RegionIterator_GetX, METH_VARARGS | METH_KEYWORDS },
18272 { (char *)"RegionIterator_GetY", (PyCFunction) _wrap_RegionIterator_GetY, METH_VARARGS | METH_KEYWORDS },
18273 { (char *)"RegionIterator_GetW", (PyCFunction) _wrap_RegionIterator_GetW, METH_VARARGS | METH_KEYWORDS },
18274 { (char *)"RegionIterator_GetWidth", (PyCFunction) _wrap_RegionIterator_GetWidth, METH_VARARGS | METH_KEYWORDS },
18275 { (char *)"RegionIterator_GetH", (PyCFunction) _wrap_RegionIterator_GetH, METH_VARARGS | METH_KEYWORDS },
18276 { (char *)"RegionIterator_GetHeight", (PyCFunction) _wrap_RegionIterator_GetHeight, METH_VARARGS | METH_KEYWORDS },
18277 { (char *)"RegionIterator_GetRect", (PyCFunction) _wrap_RegionIterator_GetRect, METH_VARARGS | METH_KEYWORDS },
18278 { (char *)"RegionIterator_HaveRects", (PyCFunction) _wrap_RegionIterator_HaveRects, METH_VARARGS | METH_KEYWORDS },
18279 { (char *)"RegionIterator_Reset", (PyCFunction) _wrap_RegionIterator_Reset, METH_VARARGS | METH_KEYWORDS },
18280 { (char *)"RegionIterator_Next", (PyCFunction) _wrap_RegionIterator_Next, METH_VARARGS | METH_KEYWORDS },
18281 { (char *)"RegionIterator___nonzero__", (PyCFunction) _wrap_RegionIterator___nonzero__, METH_VARARGS | METH_KEYWORDS },
18282 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister, METH_VARARGS },
18283 { (char *)"new_NativeFontInfo", (PyCFunction) _wrap_new_NativeFontInfo, METH_VARARGS | METH_KEYWORDS },
18284 { (char *)"delete_NativeFontInfo", (PyCFunction) _wrap_delete_NativeFontInfo, METH_VARARGS | METH_KEYWORDS },
18285 { (char *)"NativeFontInfo_Init", (PyCFunction) _wrap_NativeFontInfo_Init, METH_VARARGS | METH_KEYWORDS },
18286 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction) _wrap_NativeFontInfo_InitFromFont, METH_VARARGS | METH_KEYWORDS },
18287 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction) _wrap_NativeFontInfo_GetPointSize, METH_VARARGS | METH_KEYWORDS },
18288 { (char *)"NativeFontInfo_GetStyle", (PyCFunction) _wrap_NativeFontInfo_GetStyle, METH_VARARGS | METH_KEYWORDS },
18289 { (char *)"NativeFontInfo_GetWeight", (PyCFunction) _wrap_NativeFontInfo_GetWeight, METH_VARARGS | METH_KEYWORDS },
18290 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction) _wrap_NativeFontInfo_GetUnderlined, METH_VARARGS | METH_KEYWORDS },
18291 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction) _wrap_NativeFontInfo_GetFaceName, METH_VARARGS | METH_KEYWORDS },
18292 { (char *)"NativeFontInfo_GetFamily", (PyCFunction) _wrap_NativeFontInfo_GetFamily, METH_VARARGS | METH_KEYWORDS },
18293 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction) _wrap_NativeFontInfo_GetEncoding, METH_VARARGS | METH_KEYWORDS },
18294 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction) _wrap_NativeFontInfo_SetPointSize, METH_VARARGS | METH_KEYWORDS },
18295 { (char *)"NativeFontInfo_SetStyle", (PyCFunction) _wrap_NativeFontInfo_SetStyle, METH_VARARGS | METH_KEYWORDS },
18296 { (char *)"NativeFontInfo_SetWeight", (PyCFunction) _wrap_NativeFontInfo_SetWeight, METH_VARARGS | METH_KEYWORDS },
18297 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction) _wrap_NativeFontInfo_SetUnderlined, METH_VARARGS | METH_KEYWORDS },
18298 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction) _wrap_NativeFontInfo_SetFaceName, METH_VARARGS | METH_KEYWORDS },
18299 { (char *)"NativeFontInfo_SetFamily", (PyCFunction) _wrap_NativeFontInfo_SetFamily, METH_VARARGS | METH_KEYWORDS },
18300 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction) _wrap_NativeFontInfo_SetEncoding, METH_VARARGS | METH_KEYWORDS },
18301 { (char *)"NativeFontInfo_FromString", (PyCFunction) _wrap_NativeFontInfo_FromString, METH_VARARGS | METH_KEYWORDS },
18302 { (char *)"NativeFontInfo_ToString", (PyCFunction) _wrap_NativeFontInfo_ToString, METH_VARARGS | METH_KEYWORDS },
18303 { (char *)"NativeFontInfo___str__", (PyCFunction) _wrap_NativeFontInfo___str__, METH_VARARGS | METH_KEYWORDS },
18304 { (char *)"NativeFontInfo_FromUserString", (PyCFunction) _wrap_NativeFontInfo_FromUserString, METH_VARARGS | METH_KEYWORDS },
18305 { (char *)"NativeFontInfo_ToUserString", (PyCFunction) _wrap_NativeFontInfo_ToUserString, METH_VARARGS | METH_KEYWORDS },
18306 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister, METH_VARARGS },
18307 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction) _wrap_NativeEncodingInfo_facename_set, METH_VARARGS | METH_KEYWORDS },
18308 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction) _wrap_NativeEncodingInfo_facename_get, METH_VARARGS | METH_KEYWORDS },
18309 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction) _wrap_NativeEncodingInfo_encoding_set, METH_VARARGS | METH_KEYWORDS },
18310 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction) _wrap_NativeEncodingInfo_encoding_get, METH_VARARGS | METH_KEYWORDS },
18311 { (char *)"new_NativeEncodingInfo", (PyCFunction) _wrap_new_NativeEncodingInfo, METH_VARARGS | METH_KEYWORDS },
18312 { (char *)"delete_NativeEncodingInfo", (PyCFunction) _wrap_delete_NativeEncodingInfo, METH_VARARGS | METH_KEYWORDS },
18313 { (char *)"NativeEncodingInfo_FromString", (PyCFunction) _wrap_NativeEncodingInfo_FromString, METH_VARARGS | METH_KEYWORDS },
18314 { (char *)"NativeEncodingInfo_ToString", (PyCFunction) _wrap_NativeEncodingInfo_ToString, METH_VARARGS | METH_KEYWORDS },
18315 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister, METH_VARARGS },
18316 { (char *)"GetNativeFontEncoding", (PyCFunction) _wrap_GetNativeFontEncoding, METH_VARARGS | METH_KEYWORDS },
18317 { (char *)"TestFontEncoding", (PyCFunction) _wrap_TestFontEncoding, METH_VARARGS | METH_KEYWORDS },
18318 { (char *)"new_FontMapper", (PyCFunction) _wrap_new_FontMapper, METH_VARARGS | METH_KEYWORDS },
18319 { (char *)"delete_FontMapper", (PyCFunction) _wrap_delete_FontMapper, METH_VARARGS | METH_KEYWORDS },
18320 { (char *)"FontMapper_Get", (PyCFunction) _wrap_FontMapper_Get, METH_VARARGS | METH_KEYWORDS },
18321 { (char *)"FontMapper_Set", (PyCFunction) _wrap_FontMapper_Set, METH_VARARGS | METH_KEYWORDS },
18322 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction) _wrap_FontMapper_CharsetToEncoding, METH_VARARGS | METH_KEYWORDS },
18323 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction) _wrap_FontMapper_GetSupportedEncodingsCount, METH_VARARGS | METH_KEYWORDS },
18324 { (char *)"FontMapper_GetEncoding", (PyCFunction) _wrap_FontMapper_GetEncoding, METH_VARARGS | METH_KEYWORDS },
18325 { (char *)"FontMapper_GetEncodingName", (PyCFunction) _wrap_FontMapper_GetEncodingName, METH_VARARGS | METH_KEYWORDS },
18326 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction) _wrap_FontMapper_GetEncodingDescription, METH_VARARGS | METH_KEYWORDS },
b2df227b 18327 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction) _wrap_FontMapper_GetEncodingFromName, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18328 { (char *)"FontMapper_SetConfig", (PyCFunction) _wrap_FontMapper_SetConfig, METH_VARARGS | METH_KEYWORDS },
18329 { (char *)"FontMapper_SetConfigPath", (PyCFunction) _wrap_FontMapper_SetConfigPath, METH_VARARGS | METH_KEYWORDS },
18330 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction) _wrap_FontMapper_GetDefaultConfigPath, METH_VARARGS | METH_KEYWORDS },
18331 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction) _wrap_FontMapper_GetAltForEncoding, METH_VARARGS | METH_KEYWORDS },
18332 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction) _wrap_FontMapper_IsEncodingAvailable, METH_VARARGS | METH_KEYWORDS },
18333 { (char *)"FontMapper_SetDialogParent", (PyCFunction) _wrap_FontMapper_SetDialogParent, METH_VARARGS | METH_KEYWORDS },
18334 { (char *)"FontMapper_SetDialogTitle", (PyCFunction) _wrap_FontMapper_SetDialogTitle, METH_VARARGS | METH_KEYWORDS },
18335 { (char *)"FontMapper_swigregister", FontMapper_swigregister, METH_VARARGS },
18336 { (char *)"new_Font", (PyCFunction) _wrap_new_Font, METH_VARARGS | METH_KEYWORDS },
18337 { (char *)"delete_Font", (PyCFunction) _wrap_delete_Font, METH_VARARGS | METH_KEYWORDS },
18338 { (char *)"new_FontFromNativeInfo", (PyCFunction) _wrap_new_FontFromNativeInfo, METH_VARARGS | METH_KEYWORDS },
18339 { (char *)"new_FontFromNativeInfoString", (PyCFunction) _wrap_new_FontFromNativeInfoString, METH_VARARGS | METH_KEYWORDS },
18340 { (char *)"new_Font2", (PyCFunction) _wrap_new_Font2, METH_VARARGS | METH_KEYWORDS },
18341 { (char *)"Font_Ok", (PyCFunction) _wrap_Font_Ok, METH_VARARGS | METH_KEYWORDS },
18342 { (char *)"Font___eq__", (PyCFunction) _wrap_Font___eq__, METH_VARARGS | METH_KEYWORDS },
18343 { (char *)"Font___ne__", (PyCFunction) _wrap_Font___ne__, METH_VARARGS | METH_KEYWORDS },
18344 { (char *)"Font_GetPointSize", (PyCFunction) _wrap_Font_GetPointSize, METH_VARARGS | METH_KEYWORDS },
18345 { (char *)"Font_GetFamily", (PyCFunction) _wrap_Font_GetFamily, METH_VARARGS | METH_KEYWORDS },
18346 { (char *)"Font_GetStyle", (PyCFunction) _wrap_Font_GetStyle, METH_VARARGS | METH_KEYWORDS },
18347 { (char *)"Font_GetWeight", (PyCFunction) _wrap_Font_GetWeight, METH_VARARGS | METH_KEYWORDS },
18348 { (char *)"Font_GetUnderlined", (PyCFunction) _wrap_Font_GetUnderlined, METH_VARARGS | METH_KEYWORDS },
18349 { (char *)"Font_GetFaceName", (PyCFunction) _wrap_Font_GetFaceName, METH_VARARGS | METH_KEYWORDS },
18350 { (char *)"Font_GetEncoding", (PyCFunction) _wrap_Font_GetEncoding, METH_VARARGS | METH_KEYWORDS },
18351 { (char *)"Font_GetNativeFontInfo", (PyCFunction) _wrap_Font_GetNativeFontInfo, METH_VARARGS | METH_KEYWORDS },
18352 { (char *)"Font_IsFixedWidth", (PyCFunction) _wrap_Font_IsFixedWidth, METH_VARARGS | METH_KEYWORDS },
18353 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction) _wrap_Font_GetNativeFontInfoDesc, METH_VARARGS | METH_KEYWORDS },
18354 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction) _wrap_Font_GetNativeFontInfoUserDesc, METH_VARARGS | METH_KEYWORDS },
18355 { (char *)"Font_SetPointSize", (PyCFunction) _wrap_Font_SetPointSize, METH_VARARGS | METH_KEYWORDS },
18356 { (char *)"Font_SetFamily", (PyCFunction) _wrap_Font_SetFamily, METH_VARARGS | METH_KEYWORDS },
18357 { (char *)"Font_SetStyle", (PyCFunction) _wrap_Font_SetStyle, METH_VARARGS | METH_KEYWORDS },
18358 { (char *)"Font_SetWeight", (PyCFunction) _wrap_Font_SetWeight, METH_VARARGS | METH_KEYWORDS },
18359 { (char *)"Font_SetFaceName", (PyCFunction) _wrap_Font_SetFaceName, METH_VARARGS | METH_KEYWORDS },
18360 { (char *)"Font_SetUnderlined", (PyCFunction) _wrap_Font_SetUnderlined, METH_VARARGS | METH_KEYWORDS },
18361 { (char *)"Font_SetEncoding", (PyCFunction) _wrap_Font_SetEncoding, METH_VARARGS | METH_KEYWORDS },
18362 { (char *)"Font_SetNativeFontInfo", (PyCFunction) _wrap_Font_SetNativeFontInfo, METH_VARARGS | METH_KEYWORDS },
18363 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction) _wrap_Font_SetNativeFontInfoFromString, METH_VARARGS | METH_KEYWORDS },
18364 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction) _wrap_Font_SetNativeFontInfoUserDesc, METH_VARARGS | METH_KEYWORDS },
18365 { (char *)"Font_GetFamilyString", (PyCFunction) _wrap_Font_GetFamilyString, METH_VARARGS | METH_KEYWORDS },
18366 { (char *)"Font_GetStyleString", (PyCFunction) _wrap_Font_GetStyleString, METH_VARARGS | METH_KEYWORDS },
18367 { (char *)"Font_GetWeightString", (PyCFunction) _wrap_Font_GetWeightString, METH_VARARGS | METH_KEYWORDS },
18368 { (char *)"Font_SetNoAntiAliasing", (PyCFunction) _wrap_Font_SetNoAntiAliasing, METH_VARARGS | METH_KEYWORDS },
18369 { (char *)"Font_GetNoAntiAliasing", (PyCFunction) _wrap_Font_GetNoAntiAliasing, METH_VARARGS | METH_KEYWORDS },
18370 { (char *)"Font_GetDefaultEncoding", (PyCFunction) _wrap_Font_GetDefaultEncoding, METH_VARARGS | METH_KEYWORDS },
18371 { (char *)"Font_SetDefaultEncoding", (PyCFunction) _wrap_Font_SetDefaultEncoding, METH_VARARGS | METH_KEYWORDS },
18372 { (char *)"Font_swigregister", Font_swigregister, METH_VARARGS },
18373 { (char *)"new_FontEnumerator", (PyCFunction) _wrap_new_FontEnumerator, METH_VARARGS | METH_KEYWORDS },
18374 { (char *)"delete_FontEnumerator", (PyCFunction) _wrap_delete_FontEnumerator, METH_VARARGS | METH_KEYWORDS },
18375 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction) _wrap_FontEnumerator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
18376 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction) _wrap_FontEnumerator_EnumerateFacenames, METH_VARARGS | METH_KEYWORDS },
18377 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction) _wrap_FontEnumerator_EnumerateEncodings, METH_VARARGS | METH_KEYWORDS },
18378 { (char *)"FontEnumerator_GetEncodings", (PyCFunction) _wrap_FontEnumerator_GetEncodings, METH_VARARGS | METH_KEYWORDS },
18379 { (char *)"FontEnumerator_GetFacenames", (PyCFunction) _wrap_FontEnumerator_GetFacenames, METH_VARARGS | METH_KEYWORDS },
18380 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister, METH_VARARGS },
18381 { (char *)"LanguageInfo_Language_set", (PyCFunction) _wrap_LanguageInfo_Language_set, METH_VARARGS | METH_KEYWORDS },
18382 { (char *)"LanguageInfo_Language_get", (PyCFunction) _wrap_LanguageInfo_Language_get, METH_VARARGS | METH_KEYWORDS },
18383 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction) _wrap_LanguageInfo_CanonicalName_set, METH_VARARGS | METH_KEYWORDS },
18384 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction) _wrap_LanguageInfo_CanonicalName_get, METH_VARARGS | METH_KEYWORDS },
18385 { (char *)"LanguageInfo_Description_set", (PyCFunction) _wrap_LanguageInfo_Description_set, METH_VARARGS | METH_KEYWORDS },
18386 { (char *)"LanguageInfo_Description_get", (PyCFunction) _wrap_LanguageInfo_Description_get, METH_VARARGS | METH_KEYWORDS },
18387 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister, METH_VARARGS },
18388 { (char *)"new_Locale", (PyCFunction) _wrap_new_Locale, METH_VARARGS | METH_KEYWORDS },
18389 { (char *)"delete_Locale", (PyCFunction) _wrap_delete_Locale, METH_VARARGS | METH_KEYWORDS },
18390 { (char *)"Locale_Init1", (PyCFunction) _wrap_Locale_Init1, METH_VARARGS | METH_KEYWORDS },
18391 { (char *)"Locale_Init2", (PyCFunction) _wrap_Locale_Init2, METH_VARARGS | METH_KEYWORDS },
18392 { (char *)"Locale_GetSystemLanguage", (PyCFunction) _wrap_Locale_GetSystemLanguage, METH_VARARGS | METH_KEYWORDS },
18393 { (char *)"Locale_GetSystemEncoding", (PyCFunction) _wrap_Locale_GetSystemEncoding, METH_VARARGS | METH_KEYWORDS },
18394 { (char *)"Locale_GetSystemEncodingName", (PyCFunction) _wrap_Locale_GetSystemEncodingName, METH_VARARGS | METH_KEYWORDS },
18395 { (char *)"Locale_IsOk", (PyCFunction) _wrap_Locale_IsOk, METH_VARARGS | METH_KEYWORDS },
18396 { (char *)"Locale_GetLocale", (PyCFunction) _wrap_Locale_GetLocale, METH_VARARGS | METH_KEYWORDS },
18397 { (char *)"Locale_GetLanguage", (PyCFunction) _wrap_Locale_GetLanguage, METH_VARARGS | METH_KEYWORDS },
18398 { (char *)"Locale_GetSysName", (PyCFunction) _wrap_Locale_GetSysName, METH_VARARGS | METH_KEYWORDS },
18399 { (char *)"Locale_GetCanonicalName", (PyCFunction) _wrap_Locale_GetCanonicalName, METH_VARARGS | METH_KEYWORDS },
18400 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction) _wrap_Locale_AddCatalogLookupPathPrefix, METH_VARARGS | METH_KEYWORDS },
18401 { (char *)"Locale_AddCatalog", (PyCFunction) _wrap_Locale_AddCatalog, METH_VARARGS | METH_KEYWORDS },
18402 { (char *)"Locale_IsLoaded", (PyCFunction) _wrap_Locale_IsLoaded, METH_VARARGS | METH_KEYWORDS },
18403 { (char *)"Locale_GetLanguageInfo", (PyCFunction) _wrap_Locale_GetLanguageInfo, METH_VARARGS | METH_KEYWORDS },
18404 { (char *)"Locale_GetLanguageName", (PyCFunction) _wrap_Locale_GetLanguageName, METH_VARARGS | METH_KEYWORDS },
18405 { (char *)"Locale_FindLanguageInfo", (PyCFunction) _wrap_Locale_FindLanguageInfo, METH_VARARGS | METH_KEYWORDS },
18406 { (char *)"Locale_AddLanguage", (PyCFunction) _wrap_Locale_AddLanguage, METH_VARARGS | METH_KEYWORDS },
18407 { (char *)"Locale_GetString", (PyCFunction) _wrap_Locale_GetString, METH_VARARGS | METH_KEYWORDS },
18408 { (char *)"Locale_GetName", (PyCFunction) _wrap_Locale_GetName, METH_VARARGS | METH_KEYWORDS },
18409 { (char *)"Locale_swigregister", Locale_swigregister, METH_VARARGS },
18410 { (char *)"GetLocale", (PyCFunction) _wrap_GetLocale, METH_VARARGS | METH_KEYWORDS },
18411 { (char *)"GetTranslation", _wrap_GetTranslation, METH_VARARGS },
18412 { (char *)"new_EncodingConverter", (PyCFunction) _wrap_new_EncodingConverter, METH_VARARGS | METH_KEYWORDS },
18413 { (char *)"delete_EncodingConverter", (PyCFunction) _wrap_delete_EncodingConverter, METH_VARARGS | METH_KEYWORDS },
18414 { (char *)"EncodingConverter_Init", (PyCFunction) _wrap_EncodingConverter_Init, METH_VARARGS | METH_KEYWORDS },
18415 { (char *)"EncodingConverter_Convert", (PyCFunction) _wrap_EncodingConverter_Convert, METH_VARARGS | METH_KEYWORDS },
18416 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction) _wrap_EncodingConverter_GetPlatformEquivalents, METH_VARARGS | METH_KEYWORDS },
18417 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction) _wrap_EncodingConverter_GetAllEquivalents, METH_VARARGS | METH_KEYWORDS },
18418 { (char *)"EncodingConverter_CanConvert", (PyCFunction) _wrap_EncodingConverter_CanConvert, METH_VARARGS | METH_KEYWORDS },
18419 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister, METH_VARARGS },
18420 { (char *)"delete_DC", (PyCFunction) _wrap_delete_DC, METH_VARARGS | METH_KEYWORDS },
18421 { (char *)"DC_BeginDrawing", (PyCFunction) _wrap_DC_BeginDrawing, METH_VARARGS | METH_KEYWORDS },
18422 { (char *)"DC_EndDrawing", (PyCFunction) _wrap_DC_EndDrawing, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18423 { (char *)"DC_FloodFill", (PyCFunction) _wrap_DC_FloodFill, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18424 { (char *)"DC_FloodFillPoint", (PyCFunction) _wrap_DC_FloodFillPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18425 { (char *)"DC_GetPixel", (PyCFunction) _wrap_DC_GetPixel, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18426 { (char *)"DC_GetPixelPoint", (PyCFunction) _wrap_DC_GetPixelPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18427 { (char *)"DC_DrawLine", (PyCFunction) _wrap_DC_DrawLine, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18428 { (char *)"DC_DrawLinePoint", (PyCFunction) _wrap_DC_DrawLinePoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18429 { (char *)"DC_CrossHair", (PyCFunction) _wrap_DC_CrossHair, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18430 { (char *)"DC_CrossHairPoint", (PyCFunction) _wrap_DC_CrossHairPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18431 { (char *)"DC_DrawArc", (PyCFunction) _wrap_DC_DrawArc, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18432 { (char *)"DC_DrawArcPoint", (PyCFunction) _wrap_DC_DrawArcPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18433 { (char *)"DC_DrawCheckMark", (PyCFunction) _wrap_DC_DrawCheckMark, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18434 { (char *)"DC_DrawCheckMarkRect", (PyCFunction) _wrap_DC_DrawCheckMarkRect, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18435 { (char *)"DC_DrawEllipticArc", (PyCFunction) _wrap_DC_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18436 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction) _wrap_DC_DrawEllipticArcPointSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18437 { (char *)"DC_DrawPoint", (PyCFunction) _wrap_DC_DrawPoint, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18438 { (char *)"DC_DrawPointPoint", (PyCFunction) _wrap_DC_DrawPointPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18439 { (char *)"DC_DrawRectangle", (PyCFunction) _wrap_DC_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
18440 { (char *)"DC_DrawRectangleRect", (PyCFunction) _wrap_DC_DrawRectangleRect, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18441 { (char *)"DC_DrawRectanglePointSize", (PyCFunction) _wrap_DC_DrawRectanglePointSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18442 { (char *)"DC_DrawRoundedRectangle", (PyCFunction) _wrap_DC_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
18443 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction) _wrap_DC_DrawRoundedRectangleRect, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18444 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction) _wrap_DC_DrawRoundedRectanglePointSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18445 { (char *)"DC_DrawCircle", (PyCFunction) _wrap_DC_DrawCircle, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18446 { (char *)"DC_DrawCirclePoint", (PyCFunction) _wrap_DC_DrawCirclePoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18447 { (char *)"DC_DrawEllipse", (PyCFunction) _wrap_DC_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
18448 { (char *)"DC_DrawEllipseRect", (PyCFunction) _wrap_DC_DrawEllipseRect, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18449 { (char *)"DC_DrawEllipsePointSize", (PyCFunction) _wrap_DC_DrawEllipsePointSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18450 { (char *)"DC_DrawIcon", (PyCFunction) _wrap_DC_DrawIcon, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18451 { (char *)"DC_DrawIconPoint", (PyCFunction) _wrap_DC_DrawIconPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18452 { (char *)"DC_DrawBitmap", (PyCFunction) _wrap_DC_DrawBitmap, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18453 { (char *)"DC_DrawBitmapPoint", (PyCFunction) _wrap_DC_DrawBitmapPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18454 { (char *)"DC_DrawText", (PyCFunction) _wrap_DC_DrawText, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18455 { (char *)"DC_DrawTextPoint", (PyCFunction) _wrap_DC_DrawTextPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18456 { (char *)"DC_DrawRotatedText", (PyCFunction) _wrap_DC_DrawRotatedText, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18457 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction) _wrap_DC_DrawRotatedTextPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18458 { (char *)"DC_Blit", (PyCFunction) _wrap_DC_Blit, METH_VARARGS | METH_KEYWORDS },
03e37cd5
RD
18459 { (char *)"DC_BlitPointSize", (PyCFunction) _wrap_DC_BlitPointSize, METH_VARARGS | METH_KEYWORDS },
18460 { (char *)"DC_SetClippingRegion", (PyCFunction) _wrap_DC_SetClippingRegion, METH_VARARGS | METH_KEYWORDS },
18461 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction) _wrap_DC_SetClippingRegionPointSize, METH_VARARGS | METH_KEYWORDS },
18462 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction) _wrap_DC_SetClippingRegionAsRegion, METH_VARARGS | METH_KEYWORDS },
18463 { (char *)"DC_SetClippingRect", (PyCFunction) _wrap_DC_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18464 { (char *)"DC_DrawLines", (PyCFunction) _wrap_DC_DrawLines, METH_VARARGS | METH_KEYWORDS },
18465 { (char *)"DC_DrawPolygon", (PyCFunction) _wrap_DC_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
18466 { (char *)"DC_DrawLabel", (PyCFunction) _wrap_DC_DrawLabel, METH_VARARGS | METH_KEYWORDS },
18467 { (char *)"DC_DrawImageLabel", (PyCFunction) _wrap_DC_DrawImageLabel, METH_VARARGS | METH_KEYWORDS },
18468 { (char *)"DC_DrawSpline", (PyCFunction) _wrap_DC_DrawSpline, METH_VARARGS | METH_KEYWORDS },
18469 { (char *)"DC_Clear", (PyCFunction) _wrap_DC_Clear, METH_VARARGS | METH_KEYWORDS },
18470 { (char *)"DC_StartDoc", (PyCFunction) _wrap_DC_StartDoc, METH_VARARGS | METH_KEYWORDS },
18471 { (char *)"DC_EndDoc", (PyCFunction) _wrap_DC_EndDoc, METH_VARARGS | METH_KEYWORDS },
18472 { (char *)"DC_StartPage", (PyCFunction) _wrap_DC_StartPage, METH_VARARGS | METH_KEYWORDS },
18473 { (char *)"DC_EndPage", (PyCFunction) _wrap_DC_EndPage, METH_VARARGS | METH_KEYWORDS },
18474 { (char *)"DC_SetFont", (PyCFunction) _wrap_DC_SetFont, METH_VARARGS | METH_KEYWORDS },
18475 { (char *)"DC_SetPen", (PyCFunction) _wrap_DC_SetPen, METH_VARARGS | METH_KEYWORDS },
18476 { (char *)"DC_SetBrush", (PyCFunction) _wrap_DC_SetBrush, METH_VARARGS | METH_KEYWORDS },
18477 { (char *)"DC_SetBackground", (PyCFunction) _wrap_DC_SetBackground, METH_VARARGS | METH_KEYWORDS },
18478 { (char *)"DC_SetBackgroundMode", (PyCFunction) _wrap_DC_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
18479 { (char *)"DC_SetPalette", (PyCFunction) _wrap_DC_SetPalette, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18480 { (char *)"DC_DestroyClippingRegion", (PyCFunction) _wrap_DC_DestroyClippingRegion, METH_VARARGS | METH_KEYWORDS },
18481 { (char *)"DC_GetClippingBox", (PyCFunction) _wrap_DC_GetClippingBox, METH_VARARGS | METH_KEYWORDS },
18482 { (char *)"DC_GetClippingRect", (PyCFunction) _wrap_DC_GetClippingRect, METH_VARARGS | METH_KEYWORDS },
18483 { (char *)"DC_GetCharHeight", (PyCFunction) _wrap_DC_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
18484 { (char *)"DC_GetCharWidth", (PyCFunction) _wrap_DC_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
18485 { (char *)"DC_GetTextExtent", (PyCFunction) _wrap_DC_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
18486 { (char *)"DC_GetFullTextExtent", (PyCFunction) _wrap_DC_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
18487 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction) _wrap_DC_GetMultiLineTextExtent, METH_VARARGS | METH_KEYWORDS },
db914595 18488 { (char *)"DC_GetPartialTextExtents", (PyCFunction) _wrap_DC_GetPartialTextExtents, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18489 { (char *)"DC_GetSize", (PyCFunction) _wrap_DC_GetSize, METH_VARARGS | METH_KEYWORDS },
322913ce 18490 { (char *)"DC_GetSizeTuple", (PyCFunction) _wrap_DC_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18491 { (char *)"DC_GetSizeMM", (PyCFunction) _wrap_DC_GetSizeMM, METH_VARARGS | METH_KEYWORDS },
322913ce 18492 { (char *)"DC_GetSizeMMTuple", (PyCFunction) _wrap_DC_GetSizeMMTuple, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18493 { (char *)"DC_DeviceToLogicalX", (PyCFunction) _wrap_DC_DeviceToLogicalX, METH_VARARGS | METH_KEYWORDS },
18494 { (char *)"DC_DeviceToLogicalY", (PyCFunction) _wrap_DC_DeviceToLogicalY, METH_VARARGS | METH_KEYWORDS },
18495 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction) _wrap_DC_DeviceToLogicalXRel, METH_VARARGS | METH_KEYWORDS },
18496 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction) _wrap_DC_DeviceToLogicalYRel, METH_VARARGS | METH_KEYWORDS },
18497 { (char *)"DC_LogicalToDeviceX", (PyCFunction) _wrap_DC_LogicalToDeviceX, METH_VARARGS | METH_KEYWORDS },
18498 { (char *)"DC_LogicalToDeviceY", (PyCFunction) _wrap_DC_LogicalToDeviceY, METH_VARARGS | METH_KEYWORDS },
18499 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction) _wrap_DC_LogicalToDeviceXRel, METH_VARARGS | METH_KEYWORDS },
18500 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction) _wrap_DC_LogicalToDeviceYRel, METH_VARARGS | METH_KEYWORDS },
18501 { (char *)"DC_CanDrawBitmap", (PyCFunction) _wrap_DC_CanDrawBitmap, METH_VARARGS | METH_KEYWORDS },
18502 { (char *)"DC_CanGetTextExtent", (PyCFunction) _wrap_DC_CanGetTextExtent, METH_VARARGS | METH_KEYWORDS },
18503 { (char *)"DC_GetDepth", (PyCFunction) _wrap_DC_GetDepth, METH_VARARGS | METH_KEYWORDS },
18504 { (char *)"DC_GetPPI", (PyCFunction) _wrap_DC_GetPPI, METH_VARARGS | METH_KEYWORDS },
18505 { (char *)"DC_Ok", (PyCFunction) _wrap_DC_Ok, METH_VARARGS | METH_KEYWORDS },
18506 { (char *)"DC_GetBackgroundMode", (PyCFunction) _wrap_DC_GetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
18507 { (char *)"DC_GetBackground", (PyCFunction) _wrap_DC_GetBackground, METH_VARARGS | METH_KEYWORDS },
18508 { (char *)"DC_GetBrush", (PyCFunction) _wrap_DC_GetBrush, METH_VARARGS | METH_KEYWORDS },
18509 { (char *)"DC_GetFont", (PyCFunction) _wrap_DC_GetFont, METH_VARARGS | METH_KEYWORDS },
18510 { (char *)"DC_GetPen", (PyCFunction) _wrap_DC_GetPen, METH_VARARGS | METH_KEYWORDS },
18511 { (char *)"DC_GetTextBackground", (PyCFunction) _wrap_DC_GetTextBackground, METH_VARARGS | METH_KEYWORDS },
18512 { (char *)"DC_GetTextForeground", (PyCFunction) _wrap_DC_GetTextForeground, METH_VARARGS | METH_KEYWORDS },
18513 { (char *)"DC_SetTextForeground", (PyCFunction) _wrap_DC_SetTextForeground, METH_VARARGS | METH_KEYWORDS },
18514 { (char *)"DC_SetTextBackground", (PyCFunction) _wrap_DC_SetTextBackground, METH_VARARGS | METH_KEYWORDS },
18515 { (char *)"DC_GetMapMode", (PyCFunction) _wrap_DC_GetMapMode, METH_VARARGS | METH_KEYWORDS },
18516 { (char *)"DC_SetMapMode", (PyCFunction) _wrap_DC_SetMapMode, METH_VARARGS | METH_KEYWORDS },
18517 { (char *)"DC_GetUserScale", (PyCFunction) _wrap_DC_GetUserScale, METH_VARARGS | METH_KEYWORDS },
18518 { (char *)"DC_SetUserScale", (PyCFunction) _wrap_DC_SetUserScale, METH_VARARGS | METH_KEYWORDS },
18519 { (char *)"DC_GetLogicalScale", (PyCFunction) _wrap_DC_GetLogicalScale, METH_VARARGS | METH_KEYWORDS },
18520 { (char *)"DC_SetLogicalScale", (PyCFunction) _wrap_DC_SetLogicalScale, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18521 { (char *)"DC_GetLogicalOrigin", (PyCFunction) _wrap_DC_GetLogicalOrigin, METH_VARARGS | METH_KEYWORDS },
322913ce 18522 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction) _wrap_DC_GetLogicalOriginTuple, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18523 { (char *)"DC_SetLogicalOrigin", (PyCFunction) _wrap_DC_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18524 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction) _wrap_DC_SetLogicalOriginPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18525 { (char *)"DC_GetDeviceOrigin", (PyCFunction) _wrap_DC_GetDeviceOrigin, METH_VARARGS | METH_KEYWORDS },
322913ce 18526 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction) _wrap_DC_GetDeviceOriginTuple, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18527 { (char *)"DC_SetDeviceOrigin", (PyCFunction) _wrap_DC_SetDeviceOrigin, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18528 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction) _wrap_DC_SetDeviceOriginPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18529 { (char *)"DC_SetAxisOrientation", (PyCFunction) _wrap_DC_SetAxisOrientation, METH_VARARGS | METH_KEYWORDS },
18530 { (char *)"DC_GetLogicalFunction", (PyCFunction) _wrap_DC_GetLogicalFunction, METH_VARARGS | METH_KEYWORDS },
18531 { (char *)"DC_SetLogicalFunction", (PyCFunction) _wrap_DC_SetLogicalFunction, METH_VARARGS | METH_KEYWORDS },
18532 { (char *)"DC_SetOptimization", (PyCFunction) _wrap_DC_SetOptimization, METH_VARARGS | METH_KEYWORDS },
18533 { (char *)"DC_GetOptimization", (PyCFunction) _wrap_DC_GetOptimization, METH_VARARGS | METH_KEYWORDS },
18534 { (char *)"DC_CalcBoundingBox", (PyCFunction) _wrap_DC_CalcBoundingBox, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18535 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction) _wrap_DC_CalcBoundingBoxPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18536 { (char *)"DC_ResetBoundingBox", (PyCFunction) _wrap_DC_ResetBoundingBox, METH_VARARGS | METH_KEYWORDS },
18537 { (char *)"DC_MinX", (PyCFunction) _wrap_DC_MinX, METH_VARARGS | METH_KEYWORDS },
18538 { (char *)"DC_MaxX", (PyCFunction) _wrap_DC_MaxX, METH_VARARGS | METH_KEYWORDS },
18539 { (char *)"DC_MinY", (PyCFunction) _wrap_DC_MinY, METH_VARARGS | METH_KEYWORDS },
18540 { (char *)"DC_MaxY", (PyCFunction) _wrap_DC_MaxY, METH_VARARGS | METH_KEYWORDS },
18541 { (char *)"DC_GetBoundingBox", (PyCFunction) _wrap_DC_GetBoundingBox, METH_VARARGS | METH_KEYWORDS },
18542 { (char *)"DC__DrawPointList", (PyCFunction) _wrap_DC__DrawPointList, METH_VARARGS | METH_KEYWORDS },
18543 { (char *)"DC__DrawLineList", (PyCFunction) _wrap_DC__DrawLineList, METH_VARARGS | METH_KEYWORDS },
18544 { (char *)"DC__DrawRectangleList", (PyCFunction) _wrap_DC__DrawRectangleList, METH_VARARGS | METH_KEYWORDS },
18545 { (char *)"DC__DrawEllipseList", (PyCFunction) _wrap_DC__DrawEllipseList, METH_VARARGS | METH_KEYWORDS },
18546 { (char *)"DC__DrawPolygonList", (PyCFunction) _wrap_DC__DrawPolygonList, METH_VARARGS | METH_KEYWORDS },
18547 { (char *)"DC__DrawTextList", (PyCFunction) _wrap_DC__DrawTextList, METH_VARARGS | METH_KEYWORDS },
18548 { (char *)"DC_swigregister", DC_swigregister, METH_VARARGS },
18549 { (char *)"new_MemoryDC", (PyCFunction) _wrap_new_MemoryDC, METH_VARARGS | METH_KEYWORDS },
18550 { (char *)"new_MemoryDCFromDC", (PyCFunction) _wrap_new_MemoryDCFromDC, METH_VARARGS | METH_KEYWORDS },
18551 { (char *)"MemoryDC_SelectObject", (PyCFunction) _wrap_MemoryDC_SelectObject, METH_VARARGS | METH_KEYWORDS },
18552 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister, METH_VARARGS },
3adfb63b
RD
18553 { (char *)"new_BufferedDC", _wrap_new_BufferedDC, METH_VARARGS },
18554 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer, METH_VARARGS },
e498079e 18555 { (char *)"delete_BufferedDC", (PyCFunction) _wrap_delete_BufferedDC, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18556 { (char *)"BufferedDC_UnMask", (PyCFunction) _wrap_BufferedDC_UnMask, METH_VARARGS | METH_KEYWORDS },
18557 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister, METH_VARARGS },
e498079e 18558 { (char *)"new_BufferedPaintDC", (PyCFunction) _wrap_new_BufferedPaintDC, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18559 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister, METH_VARARGS },
18560 { (char *)"new_ScreenDC", (PyCFunction) _wrap_new_ScreenDC, METH_VARARGS | METH_KEYWORDS },
18561 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction) _wrap_ScreenDC_StartDrawingOnTopWin, METH_VARARGS | METH_KEYWORDS },
18562 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction) _wrap_ScreenDC_StartDrawingOnTop, METH_VARARGS | METH_KEYWORDS },
18563 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction) _wrap_ScreenDC_EndDrawingOnTop, METH_VARARGS | METH_KEYWORDS },
18564 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister, METH_VARARGS },
18565 { (char *)"new_ClientDC", (PyCFunction) _wrap_new_ClientDC, METH_VARARGS | METH_KEYWORDS },
18566 { (char *)"ClientDC_swigregister", ClientDC_swigregister, METH_VARARGS },
18567 { (char *)"new_PaintDC", (PyCFunction) _wrap_new_PaintDC, METH_VARARGS | METH_KEYWORDS },
18568 { (char *)"PaintDC_swigregister", PaintDC_swigregister, METH_VARARGS },
18569 { (char *)"new_WindowDC", (PyCFunction) _wrap_new_WindowDC, METH_VARARGS | METH_KEYWORDS },
18570 { (char *)"WindowDC_swigregister", WindowDC_swigregister, METH_VARARGS },
18571 { (char *)"new_MirrorDC", (PyCFunction) _wrap_new_MirrorDC, METH_VARARGS | METH_KEYWORDS },
18572 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister, METH_VARARGS },
18573 { (char *)"new_PostScriptDC", (PyCFunction) _wrap_new_PostScriptDC, METH_VARARGS | METH_KEYWORDS },
18574 { (char *)"PostScriptDC_GetPrintData", (PyCFunction) _wrap_PostScriptDC_GetPrintData, METH_VARARGS | METH_KEYWORDS },
18575 { (char *)"PostScriptDC_SetPrintData", (PyCFunction) _wrap_PostScriptDC_SetPrintData, METH_VARARGS | METH_KEYWORDS },
18576 { (char *)"PostScriptDC_SetResolution", (PyCFunction) _wrap_PostScriptDC_SetResolution, METH_VARARGS | METH_KEYWORDS },
18577 { (char *)"PostScriptDC_GetResolution", (PyCFunction) _wrap_PostScriptDC_GetResolution, METH_VARARGS | METH_KEYWORDS },
18578 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister, METH_VARARGS },
18579 { (char *)"new_MetaFile", (PyCFunction) _wrap_new_MetaFile, METH_VARARGS | METH_KEYWORDS },
18580 { (char *)"MetaFile_swigregister", MetaFile_swigregister, METH_VARARGS },
18581 { (char *)"new_MetaFileDC", (PyCFunction) _wrap_new_MetaFileDC, METH_VARARGS | METH_KEYWORDS },
18582 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister, METH_VARARGS },
18583 { (char *)"new_PrinterDC", (PyCFunction) _wrap_new_PrinterDC, METH_VARARGS | METH_KEYWORDS },
18584 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister, METH_VARARGS },
18585 { (char *)"new_ImageList", (PyCFunction) _wrap_new_ImageList, METH_VARARGS | METH_KEYWORDS },
18586 { (char *)"delete_ImageList", (PyCFunction) _wrap_delete_ImageList, METH_VARARGS | METH_KEYWORDS },
18587 { (char *)"ImageList_Add", (PyCFunction) _wrap_ImageList_Add, METH_VARARGS | METH_KEYWORDS },
18588 { (char *)"ImageList_AddWithColourMask", (PyCFunction) _wrap_ImageList_AddWithColourMask, METH_VARARGS | METH_KEYWORDS },
18589 { (char *)"ImageList_AddIcon", (PyCFunction) _wrap_ImageList_AddIcon, METH_VARARGS | METH_KEYWORDS },
18590 { (char *)"ImageList_Replace", (PyCFunction) _wrap_ImageList_Replace, METH_VARARGS | METH_KEYWORDS },
18591 { (char *)"ImageList_Draw", (PyCFunction) _wrap_ImageList_Draw, METH_VARARGS | METH_KEYWORDS },
18592 { (char *)"ImageList_GetImageCount", (PyCFunction) _wrap_ImageList_GetImageCount, METH_VARARGS | METH_KEYWORDS },
18593 { (char *)"ImageList_Remove", (PyCFunction) _wrap_ImageList_Remove, METH_VARARGS | METH_KEYWORDS },
18594 { (char *)"ImageList_RemoveAll", (PyCFunction) _wrap_ImageList_RemoveAll, METH_VARARGS | METH_KEYWORDS },
18595 { (char *)"ImageList_GetSize", (PyCFunction) _wrap_ImageList_GetSize, METH_VARARGS | METH_KEYWORDS },
18596 { (char *)"ImageList_swigregister", ImageList_swigregister, METH_VARARGS },
18597 { (char *)"PenList_AddPen", (PyCFunction) _wrap_PenList_AddPen, METH_VARARGS | METH_KEYWORDS },
18598 { (char *)"PenList_FindOrCreatePen", (PyCFunction) _wrap_PenList_FindOrCreatePen, METH_VARARGS | METH_KEYWORDS },
18599 { (char *)"PenList_RemovePen", (PyCFunction) _wrap_PenList_RemovePen, METH_VARARGS | METH_KEYWORDS },
18600 { (char *)"PenList_GetCount", (PyCFunction) _wrap_PenList_GetCount, METH_VARARGS | METH_KEYWORDS },
18601 { (char *)"PenList_swigregister", PenList_swigregister, METH_VARARGS },
18602 { (char *)"BrushList_AddBrush", (PyCFunction) _wrap_BrushList_AddBrush, METH_VARARGS | METH_KEYWORDS },
18603 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction) _wrap_BrushList_FindOrCreateBrush, METH_VARARGS | METH_KEYWORDS },
18604 { (char *)"BrushList_RemoveBrush", (PyCFunction) _wrap_BrushList_RemoveBrush, METH_VARARGS | METH_KEYWORDS },
18605 { (char *)"BrushList_GetCount", (PyCFunction) _wrap_BrushList_GetCount, METH_VARARGS | METH_KEYWORDS },
18606 { (char *)"BrushList_swigregister", BrushList_swigregister, METH_VARARGS },
18607 { (char *)"new_ColourDatabase", (PyCFunction) _wrap_new_ColourDatabase, METH_VARARGS | METH_KEYWORDS },
18608 { (char *)"delete_ColourDatabase", (PyCFunction) _wrap_delete_ColourDatabase, METH_VARARGS | METH_KEYWORDS },
18609 { (char *)"ColourDatabase_Find", (PyCFunction) _wrap_ColourDatabase_Find, METH_VARARGS | METH_KEYWORDS },
18610 { (char *)"ColourDatabase_FindName", (PyCFunction) _wrap_ColourDatabase_FindName, METH_VARARGS | METH_KEYWORDS },
18611 { (char *)"ColourDatabase_AddColour", (PyCFunction) _wrap_ColourDatabase_AddColour, METH_VARARGS | METH_KEYWORDS },
18612 { (char *)"ColourDatabase_Append", (PyCFunction) _wrap_ColourDatabase_Append, METH_VARARGS | METH_KEYWORDS },
18613 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister, METH_VARARGS },
18614 { (char *)"FontList_AddFont", (PyCFunction) _wrap_FontList_AddFont, METH_VARARGS | METH_KEYWORDS },
18615 { (char *)"FontList_FindOrCreateFont", (PyCFunction) _wrap_FontList_FindOrCreateFont, METH_VARARGS | METH_KEYWORDS },
18616 { (char *)"FontList_RemoveFont", (PyCFunction) _wrap_FontList_RemoveFont, METH_VARARGS | METH_KEYWORDS },
18617 { (char *)"FontList_GetCount", (PyCFunction) _wrap_FontList_GetCount, METH_VARARGS | METH_KEYWORDS },
18618 { (char *)"FontList_swigregister", FontList_swigregister, METH_VARARGS },
d14a1e28
RD
18619 { (char *)"new_Effects", (PyCFunction) _wrap_new_Effects, METH_VARARGS | METH_KEYWORDS },
18620 { (char *)"Effects_GetHighlightColour", (PyCFunction) _wrap_Effects_GetHighlightColour, METH_VARARGS | METH_KEYWORDS },
18621 { (char *)"Effects_GetLightShadow", (PyCFunction) _wrap_Effects_GetLightShadow, METH_VARARGS | METH_KEYWORDS },
18622 { (char *)"Effects_GetFaceColour", (PyCFunction) _wrap_Effects_GetFaceColour, METH_VARARGS | METH_KEYWORDS },
18623 { (char *)"Effects_GetMediumShadow", (PyCFunction) _wrap_Effects_GetMediumShadow, METH_VARARGS | METH_KEYWORDS },
18624 { (char *)"Effects_GetDarkShadow", (PyCFunction) _wrap_Effects_GetDarkShadow, METH_VARARGS | METH_KEYWORDS },
18625 { (char *)"Effects_SetHighlightColour", (PyCFunction) _wrap_Effects_SetHighlightColour, METH_VARARGS | METH_KEYWORDS },
18626 { (char *)"Effects_SetLightShadow", (PyCFunction) _wrap_Effects_SetLightShadow, METH_VARARGS | METH_KEYWORDS },
18627 { (char *)"Effects_SetFaceColour", (PyCFunction) _wrap_Effects_SetFaceColour, METH_VARARGS | METH_KEYWORDS },
18628 { (char *)"Effects_SetMediumShadow", (PyCFunction) _wrap_Effects_SetMediumShadow, METH_VARARGS | METH_KEYWORDS },
18629 { (char *)"Effects_SetDarkShadow", (PyCFunction) _wrap_Effects_SetDarkShadow, METH_VARARGS | METH_KEYWORDS },
18630 { (char *)"Effects_Set", (PyCFunction) _wrap_Effects_Set, METH_VARARGS | METH_KEYWORDS },
18631 { (char *)"Effects_DrawSunkenEdge", (PyCFunction) _wrap_Effects_DrawSunkenEdge, METH_VARARGS | METH_KEYWORDS },
18632 { (char *)"Effects_TileBitmap", (PyCFunction) _wrap_Effects_TileBitmap, METH_VARARGS | METH_KEYWORDS },
18633 { (char *)"Effects_swigregister", Effects_swigregister, METH_VARARGS },
18634 { NULL, NULL }
18635};
18636
18637
18638/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18639
e811c8ce
RD
18640static void *_p_wxControlTo_p_wxWindow(void *x) {
18641 return (void *)((wxWindow *) ((wxControl *) x));
18642}
18643static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
18644 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
18645}
18646static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
18647 return (void *)((wxWindow *) ((wxMenuBar *) x));
18648}
d14a1e28
RD
18649static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x) {
18650 return (void *)((wxMemoryDC *) ((wxBufferedDC *) x));
18651}
18652static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x) {
18653 return (void *)((wxMemoryDC *) (wxBufferedDC *) ((wxBufferedPaintDC *) x));
18654}
d14a1e28
RD
18655static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
18656 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
18657}
18658static void *_p_wxPenTo_p_wxObject(void *x) {
18659 return (void *)((wxObject *) (wxGDIObject *) ((wxPen *) x));
18660}
18661static void *_p_wxRegionIteratorTo_p_wxObject(void *x) {
18662 return (void *)((wxObject *) ((wxRegionIterator *) x));
18663}
18664static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
18665 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
18666}
18667static void *_p_wxSizerItemTo_p_wxObject(void *x) {
18668 return (void *)((wxObject *) ((wxSizerItem *) x));
18669}
18670static void *_p_wxColourDatabaseTo_p_wxObject(void *x) {
18671 return (void *)((wxObject *) ((wxColourDatabase *) x));
18672}
18673static void *_p_wxScrollEventTo_p_wxObject(void *x) {
18674 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
18675}
18676static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
18677 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
18678}
18679static void *_p_wxIconTo_p_wxObject(void *x) {
18680 return (void *)((wxObject *) (wxGDIObject *) ((wxIcon *) x));
18681}
18682static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
18683 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
18684}
18685static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
18686 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
18687}
18688static void *_p_wxSizerTo_p_wxObject(void *x) {
18689 return (void *)((wxObject *) ((wxSizer *) x));
18690}
18691static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
18692 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
18693}
18694static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
18695 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
18696}
18697static void *_p_wxPenListTo_p_wxObject(void *x) {
18698 return (void *)((wxObject *) ((wxPenList *) x));
18699}
18700static void *_p_wxEventTo_p_wxObject(void *x) {
18701 return (void *)((wxObject *) ((wxEvent *) x));
18702}
18703static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
18704 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
18705}
18706static void *_p_wxGridSizerTo_p_wxObject(void *x) {
18707 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
18708}
18709static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
18710 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
18711}
18712static void *_p_wxPaintEventTo_p_wxObject(void *x) {
18713 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
18714}
18715static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
18716 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
18717}
18718static void *_p_wxDCTo_p_wxObject(void *x) {
18719 return (void *)((wxObject *) ((wxDC *) x));
18720}
18721static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
18722 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
18723}
18724static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
18725 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
18726}
18727static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
18728 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
18729}
18730static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
18731 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
18732}
18733static void *_p_wxControlTo_p_wxObject(void *x) {
18734 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
18735}
18736static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
18737 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
18738}
18739static void *_p_wxClientDCTo_p_wxObject(void *x) {
18740 return (void *)((wxObject *) (wxDC *) ((wxClientDC *) x));
18741}
18742static void *_p_wxFSFileTo_p_wxObject(void *x) {
18743 return (void *)((wxObject *) ((wxFSFile *) x));
18744}
18745static void *_p_wxMemoryDCTo_p_wxObject(void *x) {
18746 return (void *)((wxObject *) (wxDC *) ((wxMemoryDC *) x));
18747}
18748static void *_p_wxRegionTo_p_wxObject(void *x) {
18749 return (void *)((wxObject *) (wxGDIObject *) ((wxRegion *) x));
18750}
18751static void *_p_wxPySizerTo_p_wxObject(void *x) {
18752 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
18753}
18754static void *_p_wxWindowDCTo_p_wxObject(void *x) {
18755 return (void *)((wxObject *) (wxDC *) ((wxWindowDC *) x));
18756}
18757static void *_p_wxGDIObjectTo_p_wxObject(void *x) {
18758 return (void *)((wxObject *) ((wxGDIObject *) x));
18759}
18760static void *_p_wxEffectsTo_p_wxObject(void *x) {
18761 return (void *)((wxObject *) ((wxEffects *) x));
18762}
18763static void *_p_wxPyEventTo_p_wxObject(void *x) {
18764 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
18765}
18766static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
18767 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
18768}
18769static void *_p_wxPostScriptDCTo_p_wxObject(void *x) {
18770 return (void *)((wxObject *) (wxDC *) ((wxPostScriptDC *) x));
18771}
18772static void *_p_wxShowEventTo_p_wxObject(void *x) {
18773 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
18774}
18775static void *_p_wxMenuItemTo_p_wxObject(void *x) {
18776 return (void *)((wxObject *) ((wxMenuItem *) x));
18777}
18778static void *_p_wxIdleEventTo_p_wxObject(void *x) {
18779 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
18780}
18781static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
18782 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
18783}
18784static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
18785 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
18786}
18787static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
18788 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
18789}
18790static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
18791 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
18792}
18793static void *_p_wxSizeEventTo_p_wxObject(void *x) {
18794 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
18795}
18796static void *_p_wxMoveEventTo_p_wxObject(void *x) {
18797 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
18798}
18799static void *_p_wxActivateEventTo_p_wxObject(void *x) {
18800 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
18801}
18802static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
18803 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
18804}
18805static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
18806 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
18807}
18808static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
18809 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
18810}
18811static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
18812 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
18813}
18814static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
18815 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
18816}
18817static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
18818 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
18819}
18820static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
18821 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
18822}
18823static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
18824 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
18825}
18826static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
18827 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
18828}
18829static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
18830 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
18831}
18832static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
18833 return (void *)((wxObject *) ((wxImageHandler *) x));
18834}
18835static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
18836 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
18837}
18838static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
18839 return (void *)((wxObject *) ((wxEvtHandler *) x));
18840}
18841static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x) {
18842 return (void *)((wxObject *) (wxDC *)(wxMemoryDC *)(wxBufferedDC *) ((wxBufferedPaintDC *) x));
18843}
18844static void *_p_wxPaintDCTo_p_wxObject(void *x) {
18845 return (void *)((wxObject *) (wxDC *) ((wxPaintDC *) x));
18846}
18847static void *_p_wxPrinterDCTo_p_wxObject(void *x) {
18848 return (void *)((wxObject *) (wxDC *) ((wxPrinterDC *) x));
18849}
18850static void *_p_wxScreenDCTo_p_wxObject(void *x) {
18851 return (void *)((wxObject *) (wxDC *) ((wxScreenDC *) x));
18852}
1e0c8722
RD
18853static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
18854 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
18855}
d14a1e28
RD
18856static void *_p_wxImageTo_p_wxObject(void *x) {
18857 return (void *)((wxObject *) ((wxImage *) x));
18858}
18859static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
18860 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
18861}
d14a1e28
RD
18862static void *_p_wxPaletteTo_p_wxObject(void *x) {
18863 return (void *)((wxObject *) (wxGDIObject *) ((wxPalette *) x));
18864}
18865static void *_p_wxBufferedDCTo_p_wxObject(void *x) {
18866 return (void *)((wxObject *) (wxDC *)(wxMemoryDC *) ((wxBufferedDC *) x));
18867}
18868static void *_p_wxImageListTo_p_wxObject(void *x) {
18869 return (void *)((wxObject *) ((wxImageList *) x));
18870}
18871static void *_p_wxCursorTo_p_wxObject(void *x) {
18872 return (void *)((wxObject *) (wxGDIObject *) ((wxCursor *) x));
18873}
18874static void *_p_wxEncodingConverterTo_p_wxObject(void *x) {
18875 return (void *)((wxObject *) ((wxEncodingConverter *) x));
18876}
18877static void *_p_wxMirrorDCTo_p_wxObject(void *x) {
18878 return (void *)((wxObject *) (wxDC *) ((wxMirrorDC *) x));
18879}
18880static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
18881 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
18882}
18883static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
18884 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
18885}
18886static void *_p_wxKeyEventTo_p_wxObject(void *x) {
18887 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
18888}
18889static void *_p_wxWindowTo_p_wxObject(void *x) {
18890 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
18891}
18892static void *_p_wxMenuTo_p_wxObject(void *x) {
18893 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
18894}
18895static void *_p_wxMenuBarTo_p_wxObject(void *x) {
18896 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
18897}
18898static void *_p_wxMetaFileDCTo_p_wxObject(void *x) {
18899 return (void *)((wxObject *) (wxDC *) ((wxMetaFileDC *) x));
18900}
18901static void *_p_wxBrushListTo_p_wxObject(void *x) {
18902 return (void *)((wxObject *) ((wxBrushList *) x));
18903}
d14a1e28
RD
18904static void *_p_wxFileSystemTo_p_wxObject(void *x) {
18905 return (void *)((wxObject *) ((wxFileSystem *) x));
18906}
18907static void *_p_wxBitmapTo_p_wxObject(void *x) {
18908 return (void *)((wxObject *) (wxGDIObject *) ((wxBitmap *) x));
18909}
18910static void *_p_wxMaskTo_p_wxObject(void *x) {
18911 return (void *)((wxObject *) ((wxMask *) x));
18912}
18913static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
18914 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
18915}
18916static void *_p_wxMenuEventTo_p_wxObject(void *x) {
18917 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
18918}
18919static void *_p_wxPyAppTo_p_wxObject(void *x) {
18920 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
18921}
18922static void *_p_wxCloseEventTo_p_wxObject(void *x) {
18923 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
18924}
18925static void *_p_wxMouseEventTo_p_wxObject(void *x) {
18926 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
18927}
18928static void *_p_wxEraseEventTo_p_wxObject(void *x) {
18929 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
18930}
18931static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
18932 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
18933}
18934static void *_p_wxCommandEventTo_p_wxObject(void *x) {
18935 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
18936}
18937static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
18938 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
18939}
18940static void *_p_wxFocusEventTo_p_wxObject(void *x) {
18941 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
18942}
18943static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
18944 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
18945}
18946static void *_p_wxFontTo_p_wxObject(void *x) {
18947 return (void *)((wxObject *) (wxGDIObject *) ((wxFont *) x));
18948}
18949static void *_p_wxBrushTo_p_wxObject(void *x) {
18950 return (void *)((wxObject *) (wxGDIObject *) ((wxBrush *) x));
18951}
18952static void *_p_wxMetaFileTo_p_wxObject(void *x) {
18953 return (void *)((wxObject *) ((wxMetaFile *) x));
18954}
18955static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
18956 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
18957}
18958static void *_p_wxColourTo_p_wxObject(void *x) {
18959 return (void *)((wxObject *) ((wxColour *) x));
18960}
18961static void *_p_wxFontListTo_p_wxObject(void *x) {
18962 return (void *)((wxObject *) ((wxFontList *) x));
18963}
18964static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
18965 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
18966}
18967static void *_p_wxValidatorTo_p_wxObject(void *x) {
18968 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
18969}
e811c8ce
RD
18970static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x) {
18971 return (void *)((wxBufferedDC *) ((wxBufferedPaintDC *) x));
d14a1e28 18972}
e811c8ce
RD
18973static void *_p_wxBufferedDCTo_p_wxDC(void *x) {
18974 return (void *)((wxDC *) (wxMemoryDC *) ((wxBufferedDC *) x));
d14a1e28 18975}
e811c8ce
RD
18976static void *_p_wxScreenDCTo_p_wxDC(void *x) {
18977 return (void *)((wxDC *) ((wxScreenDC *) x));
18978}
18979static void *_p_wxMirrorDCTo_p_wxDC(void *x) {
18980 return (void *)((wxDC *) ((wxMirrorDC *) x));
18981}
18982static void *_p_wxMemoryDCTo_p_wxDC(void *x) {
18983 return (void *)((wxDC *) ((wxMemoryDC *) x));
18984}
18985static void *_p_wxWindowDCTo_p_wxDC(void *x) {
18986 return (void *)((wxDC *) ((wxWindowDC *) x));
18987}
18988static void *_p_wxMetaFileDCTo_p_wxDC(void *x) {
18989 return (void *)((wxDC *) ((wxMetaFileDC *) x));
18990}
18991static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x) {
18992 return (void *)((wxDC *) (wxMemoryDC *)(wxBufferedDC *) ((wxBufferedPaintDC *) x));
18993}
18994static void *_p_wxClientDCTo_p_wxDC(void *x) {
18995 return (void *)((wxDC *) ((wxClientDC *) x));
18996}
18997static void *_p_wxPaintDCTo_p_wxDC(void *x) {
18998 return (void *)((wxDC *) ((wxPaintDC *) x));
18999}
19000static void *_p_wxPostScriptDCTo_p_wxDC(void *x) {
19001 return (void *)((wxDC *) ((wxPostScriptDC *) x));
19002}
19003static void *_p_wxPrinterDCTo_p_wxDC(void *x) {
19004 return (void *)((wxDC *) ((wxPrinterDC *) x));
19005}
e811c8ce
RD
19006static void *_p_wxIconTo_p_wxGDIObject(void *x) {
19007 return (void *)((wxGDIObject *) ((wxIcon *) x));
19008}
19009static void *_p_wxPaletteTo_p_wxGDIObject(void *x) {
19010 return (void *)((wxGDIObject *) ((wxPalette *) x));
19011}
19012static void *_p_wxPenTo_p_wxGDIObject(void *x) {
19013 return (void *)((wxGDIObject *) ((wxPen *) x));
19014}
19015static void *_p_wxFontTo_p_wxGDIObject(void *x) {
19016 return (void *)((wxGDIObject *) ((wxFont *) x));
19017}
19018static void *_p_wxCursorTo_p_wxGDIObject(void *x) {
19019 return (void *)((wxGDIObject *) ((wxCursor *) x));
19020}
19021static void *_p_wxBitmapTo_p_wxGDIObject(void *x) {
19022 return (void *)((wxGDIObject *) ((wxBitmap *) x));
19023}
19024static void *_p_wxRegionTo_p_wxGDIObject(void *x) {
19025 return (void *)((wxGDIObject *) ((wxRegion *) x));
19026}
19027static void *_p_wxBrushTo_p_wxGDIObject(void *x) {
19028 return (void *)((wxGDIObject *) ((wxBrush *) x));
19029}
15afbcd0
RD
19030static 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}};
19031static 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}};
19032static 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}};
19033static 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}};
19034static 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}};
19035static 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}};
19036static 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}};
19037static 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}};
19038static 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}};
19039static 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}};
19040static 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}};
19041static swig_type_info _swigt__p_wxMask[] = {{"_p_wxMask", 0, "wxMask *", 0, 0, 0, 0},{"_p_wxMask", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
b2df227b 19042static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
19043static 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}};
19044static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
19045static 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}};
19046static 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}};
19047static 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}};
19048static 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}};
19049static 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}};
19050static 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}};
19051static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
66c033b4 19052static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRegionIterator", _p_wxRegionIteratorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPen", _p_wxPenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDatabase", _p_wxColourDatabaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPenList", _p_wxPenListTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMask", _p_wxMaskTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFont", _p_wxFontTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClientDC", _p_wxClientDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRegion", _p_wxRegionTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDC", _p_wxDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIcon", _p_wxIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGDIObject", _p_wxGDIObjectTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEffects", _p_wxEffectsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPalette", _p_wxPaletteTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageList", _p_wxImageListTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCursor", _p_wxCursorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEncodingConverter", _p_wxEncodingConverterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBrushList", _p_wxBrushListTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmap", _p_wxBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBrush", _p_wxBrushTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMetaFile", _p_wxMetaFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColour", _p_wxColourTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontList", _p_wxFontListTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
19053static 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}};
19054static 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}};
19055static 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}};
19056static 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}};
19057static 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}};
19058static 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}};
19059static 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}};
19060static 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}};
19061static 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}};
19062static 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}};
19063static 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}};
19064static 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}};
19065static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{"_p_byte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
66c033b4 19066static swig_type_info _swigt__p_wxGDIObject[] = {{"_p_wxGDIObject", 0, "wxGDIObject *", 0, 0, 0, 0},{"_p_wxIcon", _p_wxIconTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxPen", _p_wxPenTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxFont", _p_wxFontTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxPalette", _p_wxPaletteTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxGDIObject", 0, 0, 0, 0, 0, 0},{"_p_wxCursor", _p_wxCursorTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxBitmap", _p_wxBitmapTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxRegion", _p_wxRegionTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxBrush", _p_wxBrushTo_p_wxGDIObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
19067static 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}};
19068static 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}};
19069static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
b2df227b 19070static swig_type_info _swigt__p_wxLanguageInfo[] = {{"_p_wxLanguageInfo", 0, "wxLanguageInfo *", 0, 0, 0, 0},{"_p_wxLanguageInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
66c033b4 19071static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
19072static 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}};
19073static 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}};
19074static 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}};
19075static swig_type_info _swigt__p_wxFontList[] = {{"_p_wxFontList", 0, "wxFontList *", 0, 0, 0, 0},{"_p_wxFontList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
66c033b4 19076static swig_type_info _swigt__p_wxPen[] = {{"_p_wxPen", 0, "wxPen *", 0, 0, 0, 0},{"_p_wxPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
19077static 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}};
19078static 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}};
19079static swig_type_info _swigt__p_wxPenList[] = {{"_p_wxPenList", 0, "wxPenList *", 0, 0, 0, 0},{"_p_wxPenList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
19080static 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}};
19081static 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}};
19082static 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}};
19083static 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}};
19084static 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
19085
19086static swig_type_info *swig_types_initial[] = {
19087_swigt__p_wxPostScriptDC,
d14a1e28
RD
19088_swigt__p_wxBrush,
19089_swigt__p_wxColour,
d14a1e28
RD
19090_swigt__p_wxDC,
19091_swigt__p_wxMirrorDC,
19092_swigt__p_byte,
19093_swigt__p_wxPyFontEnumerator,
994141e6 19094_swigt__p_char,
d14a1e28
RD
19095_swigt__p_wxIconLocation,
19096_swigt__p_wxImage,
19097_swigt__p_wxMetaFileDC,
19098_swigt__p_wxMask,
b2df227b 19099_swigt__p_wxSize,
d14a1e28
RD
19100_swigt__p_wxFont,
19101_swigt__p_wxWindow,
d14a1e28
RD
19102_swigt__p_double,
19103_swigt__p_wxMemoryDC,
19104_swigt__p_wxFontMapper,
d14a1e28
RD
19105_swigt__p_wxEffects,
19106_swigt__p_wxNativeEncodingInfo,
19107_swigt__p_wxPalette,
19108_swigt__p_wxBitmap,
19109_swigt__p_wxObject,
19110_swigt__p_wxRegionIterator,
19111_swigt__p_wxRect,
19112_swigt__p_wxString,
19113_swigt__p_wxPrinterDC,
19114_swigt__p_wxIconBundle,
19115_swigt__p_wxPoint,
19116_swigt__p_wxDash,
19117_swigt__p_wxScreenDC,
19118_swigt__p_wxCursor,
19119_swigt__p_wxClientDC,
d14a1e28
RD
19120_swigt__p_wxBufferedDC,
19121_swigt__p_wxImageList,
19122_swigt__p_unsigned_char,
19123_swigt__p_wxGDIObject,
d14a1e28 19124_swigt__p_wxIcon,
994141e6 19125_swigt__p_wxLocale,
d14a1e28 19126_swigt__p_wxRegion,
b2df227b 19127_swigt__p_wxLanguageInfo,
66c033b4 19128_swigt__p_wxConfigBase,
d14a1e28
RD
19129_swigt__p_wxWindowDC,
19130_swigt__p_wxPrintData,
19131_swigt__p_wxBrushList,
19132_swigt__p_wxFontList,
19133_swigt__p_wxPen,
19134_swigt__p_wxBufferedPaintDC,
19135_swigt__p_wxPaintDC,
19136_swigt__p_wxPenList,
d14a1e28
RD
19137_swigt__p_int,
19138_swigt__p_wxMetaFile,
19139_swigt__p_wxNativeFontInfo,
19140_swigt__p_wxEncodingConverter,
19141_swigt__p_wxColourDatabase,
191420
19143};
19144
19145
19146/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19147
19148static swig_const_info swig_const_table[] = {
d14a1e28
RD
19149{0}};
19150
19151#ifdef __cplusplus
19152}
19153#endif
19154
19155#ifdef __cplusplus
19156extern "C"
19157#endif
19158SWIGEXPORT(void) SWIG_init(void) {
19159 static PyObject *SWIG_globals = 0;
19160 static int typeinit = 0;
19161 PyObject *m, *d;
19162 int i;
19163 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
19164 m = Py_InitModule((char *) SWIG_name, SwigMethods);
19165 d = PyModule_GetDict(m);
19166
19167 if (!typeinit) {
19168 for (i = 0; swig_types_initial[i]; i++) {
19169 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
19170 }
19171 typeinit = 1;
19172 }
19173 SWIG_InstallConstants(d,swig_const_table);
19174
15afbcd0
RD
19175 PyDict_SetItemString(d,"OutRegion", SWIG_FromInt((int)wxOutRegion));
19176 PyDict_SetItemString(d,"PartRegion", SWIG_FromInt((int)wxPartRegion));
19177 PyDict_SetItemString(d,"InRegion", SWIG_FromInt((int)wxInRegion));
19178 PyDict_SetItemString(d,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT));
19179 PyDict_SetItemString(d,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE));
19180 PyDict_SetItemString(d,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN));
19181 PyDict_SetItemString(d,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT));
19182 PyDict_SetItemString(d,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS));
19183 PyDict_SetItemString(d,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN));
19184 PyDict_SetItemString(d,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE));
19185 PyDict_SetItemString(d,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX));
19186 PyDict_SetItemString(d,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN));
19187 PyDict_SetItemString(d,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL));
19188 PyDict_SetItemString(d,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC));
19189 PyDict_SetItemString(d,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT));
19190 PyDict_SetItemString(d,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX));
19191 PyDict_SetItemString(d,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL));
19192 PyDict_SetItemString(d,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT));
19193 PyDict_SetItemString(d,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD));
19194 PyDict_SetItemString(d,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX));
19195 PyDict_SetItemString(d,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT));
19196 PyDict_SetItemString(d,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC));
19197 PyDict_SetItemString(d,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT));
19198 PyDict_SetItemString(d,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT));
19199 PyDict_SetItemString(d,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD));
19200 PyDict_SetItemString(d,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED));
19201 PyDict_SetItemString(d,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED));
19202 PyDict_SetItemString(d,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED));
19203 PyDict_SetItemString(d,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH));
19204 PyDict_SetItemString(d,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK));
19205 PyDict_SetItemString(d,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM));
19206 PyDict_SetItemString(d,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT));
19207 PyDict_SetItemString(d,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1));
19208 PyDict_SetItemString(d,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2));
19209 PyDict_SetItemString(d,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3));
19210 PyDict_SetItemString(d,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4));
19211 PyDict_SetItemString(d,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5));
19212 PyDict_SetItemString(d,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6));
19213 PyDict_SetItemString(d,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7));
19214 PyDict_SetItemString(d,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8));
19215 PyDict_SetItemString(d,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9));
19216 PyDict_SetItemString(d,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10));
19217 PyDict_SetItemString(d,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11));
19218 PyDict_SetItemString(d,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12));
19219 PyDict_SetItemString(d,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13));
19220 PyDict_SetItemString(d,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14));
19221 PyDict_SetItemString(d,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15));
19222 PyDict_SetItemString(d,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX));
19223 PyDict_SetItemString(d,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8));
b2df227b 19224 PyDict_SetItemString(d,"FONTENCODING_KOI8_U", SWIG_FromInt((int)wxFONTENCODING_KOI8_U));
15afbcd0
RD
19225 PyDict_SetItemString(d,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE));
19226 PyDict_SetItemString(d,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN));
19227 PyDict_SetItemString(d,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437));
19228 PyDict_SetItemString(d,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850));
19229 PyDict_SetItemString(d,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852));
19230 PyDict_SetItemString(d,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855));
19231 PyDict_SetItemString(d,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866));
19232 PyDict_SetItemString(d,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874));
19233 PyDict_SetItemString(d,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932));
19234 PyDict_SetItemString(d,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936));
19235 PyDict_SetItemString(d,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949));
19236 PyDict_SetItemString(d,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950));
19237 PyDict_SetItemString(d,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250));
19238 PyDict_SetItemString(d,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251));
19239 PyDict_SetItemString(d,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252));
19240 PyDict_SetItemString(d,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253));
19241 PyDict_SetItemString(d,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254));
19242 PyDict_SetItemString(d,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255));
19243 PyDict_SetItemString(d,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256));
19244 PyDict_SetItemString(d,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257));
19245 PyDict_SetItemString(d,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX));
19246 PyDict_SetItemString(d,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7));
19247 PyDict_SetItemString(d,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8));
19248 PyDict_SetItemString(d,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP));
19249 PyDict_SetItemString(d,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE));
19250 PyDict_SetItemString(d,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE));
19251 PyDict_SetItemString(d,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE));
19252 PyDict_SetItemString(d,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE));
19253 PyDict_SetItemString(d,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN));
19254 PyDict_SetItemString(d,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE));
19255 PyDict_SetItemString(d,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD));
19256 PyDict_SetItemString(d,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN));
19257 PyDict_SetItemString(d,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC));
19258 PyDict_SetItemString(d,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW));
19259 PyDict_SetItemString(d,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK));
19260 PyDict_SetItemString(d,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC));
19261 PyDict_SetItemString(d,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI));
19262 PyDict_SetItemString(d,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI));
19263 PyDict_SetItemString(d,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI));
19264 PyDict_SetItemString(d,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA));
19265 PyDict_SetItemString(d,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI));
19266 PyDict_SetItemString(d,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL));
19267 PyDict_SetItemString(d,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU));
19268 PyDict_SetItemString(d,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA));
19269 PyDict_SetItemString(d,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM));
19270 PyDict_SetItemString(d,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE));
19271 PyDict_SetItemString(d,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE));
19272 PyDict_SetItemString(d,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER));
19273 PyDict_SetItemString(d,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI));
19274 PyDict_SetItemString(d,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN));
19275 PyDict_SetItemString(d,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN));
19276 PyDict_SetItemString(d,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN));
19277 PyDict_SetItemString(d,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP));
19278 PyDict_SetItemString(d,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN));
19279 PyDict_SetItemString(d,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN));
19280 PyDict_SetItemString(d,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC));
19281 PyDict_SetItemString(d,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR));
19282 PyDict_SetItemString(d,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE));
19283 PyDict_SetItemString(d,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT));
19284 PyDict_SetItemString(d,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL));
19285 PyDict_SetItemString(d,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS));
19286 PyDict_SetItemString(d,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH));
19287 PyDict_SetItemString(d,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN));
19288 PyDict_SetItemString(d,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC));
19289 PyDict_SetItemString(d,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN));
19290 PyDict_SetItemString(d,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC));
19291 PyDict_SetItemString(d,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC));
19292 PyDict_SetItemString(d,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD));
19293 PyDict_SetItemString(d,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN));
19294 PyDict_SetItemString(d,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX));
19295 PyDict_SetItemString(d,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX));
19296 PyDict_SetItemString(d,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16));
19297 PyDict_SetItemString(d,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32));
19298 PyDict_SetItemString(d,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE));
19299 PyDict_SetItemString(d,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312));
19300 PyDict_SetItemString(d,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5));
19301 PyDict_SetItemString(d,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS));
d14a1e28
RD
19302
19303 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19304
15afbcd0
RD
19305 PyDict_SetItemString(d,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT));
19306 PyDict_SetItemString(d,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN));
19307 PyDict_SetItemString(d,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN));
19308 PyDict_SetItemString(d,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR));
19309 PyDict_SetItemString(d,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS));
19310 PyDict_SetItemString(d,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN));
19311 PyDict_SetItemString(d,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC));
19312 PyDict_SetItemString(d,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC));
19313 PyDict_SetItemString(d,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA));
19314 PyDict_SetItemString(d,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN));
19315 PyDict_SetItemString(d,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT));
19316 PyDict_SetItemString(d,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ));
19317 PyDict_SetItemString(d,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN));
19318 PyDict_SetItemString(d,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT));
19319 PyDict_SetItemString(d,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON));
19320 PyDict_SetItemString(d,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA));
19321 PyDict_SetItemString(d,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO));
19322 PyDict_SetItemString(d,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN));
19323 PyDict_SetItemString(d,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR));
19324 PyDict_SetItemString(d,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA));
19325 PyDict_SetItemString(d,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN));
19326 PyDict_SetItemString(d,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA));
19327 PyDict_SetItemString(d,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA));
19328 PyDict_SetItemString(d,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE));
19329 PyDict_SetItemString(d,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN));
19330 PyDict_SetItemString(d,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN));
19331 PyDict_SetItemString(d,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE));
19332 PyDict_SetItemString(d,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA));
19333 PyDict_SetItemString(d,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI));
19334 PyDict_SetItemString(d,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC));
19335 PyDict_SetItemString(d,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN));
19336 PyDict_SetItemString(d,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR));
19337 PyDict_SetItemString(d,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE));
19338 PyDict_SetItemString(d,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN));
19339 PyDict_SetItemString(d,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI));
19340 PyDict_SetItemString(d,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI));
19341 PyDict_SetItemString(d,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI));
19342 PyDict_SetItemString(d,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA));
19343 PyDict_SetItemString(d,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON));
19344 PyDict_SetItemString(d,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN));
19345 PyDict_SetItemString(d,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE));
19346 PyDict_SetItemString(d,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN));
19347 PyDict_SetItemString(d,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN));
19348 PyDict_SetItemString(d,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE));
19349 PyDict_SetItemString(d,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED));
19350 PyDict_SetItemString(d,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL));
19351 PyDict_SetItemString(d,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG));
19352 PyDict_SetItemString(d,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU));
19353 PyDict_SetItemString(d,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE));
19354 PyDict_SetItemString(d,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN));
19355 PyDict_SetItemString(d,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN));
19356 PyDict_SetItemString(d,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN));
19357 PyDict_SetItemString(d,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH));
19358 PyDict_SetItemString(d,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH));
19359 PyDict_SetItemString(d,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH));
19360 PyDict_SetItemString(d,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN));
19361 PyDict_SetItemString(d,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH));
19362 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK));
19363 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US));
19364 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA));
19365 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE));
19366 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA));
19367 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA));
19368 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN));
19369 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK));
19370 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE));
19371 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA));
19372 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND));
19373 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES));
19374 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA));
19375 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD));
19376 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE));
19377 PyDict_SetItemString(d,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO));
19378 PyDict_SetItemString(d,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN));
19379 PyDict_SetItemString(d,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE));
19380 PyDict_SetItemString(d,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI));
19381 PyDict_SetItemString(d,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI));
19382 PyDict_SetItemString(d,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH));
19383 PyDict_SetItemString(d,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH));
19384 PyDict_SetItemString(d,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN));
19385 PyDict_SetItemString(d,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN));
19386 PyDict_SetItemString(d,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG));
19387 PyDict_SetItemString(d,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO));
19388 PyDict_SetItemString(d,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS));
19389 PyDict_SetItemString(d,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN));
19390 PyDict_SetItemString(d,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN));
19391 PyDict_SetItemString(d,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN));
19392 PyDict_SetItemString(d,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN));
19393 PyDict_SetItemString(d,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN));
19394 PyDict_SetItemString(d,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM));
19395 PyDict_SetItemString(d,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN));
19396 PyDict_SetItemString(d,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG));
19397 PyDict_SetItemString(d,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS));
19398 PyDict_SetItemString(d,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK));
19399 PyDict_SetItemString(d,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC));
19400 PyDict_SetItemString(d,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI));
19401 PyDict_SetItemString(d,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI));
19402 PyDict_SetItemString(d,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA));
19403 PyDict_SetItemString(d,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW));
19404 PyDict_SetItemString(d,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI));
19405 PyDict_SetItemString(d,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN));
19406 PyDict_SetItemString(d,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC));
19407 PyDict_SetItemString(d,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN));
19408 PyDict_SetItemString(d,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA));
19409 PyDict_SetItemString(d,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE));
19410 PyDict_SetItemString(d,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT));
19411 PyDict_SetItemString(d,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK));
19412 PyDict_SetItemString(d,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH));
19413 PyDict_SetItemString(d,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN));
19414 PyDict_SetItemString(d,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS));
19415 PyDict_SetItemString(d,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE));
19416 PyDict_SetItemString(d,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE));
19417 PyDict_SetItemString(d,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA));
19418 PyDict_SetItemString(d,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI));
19419 PyDict_SetItemString(d,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA));
19420 PyDict_SetItemString(d,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH));
19421 PyDict_SetItemString(d,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK));
19422 PyDict_SetItemString(d,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA));
19423 PyDict_SetItemString(d,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ));
19424 PyDict_SetItemString(d,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI));
19425 PyDict_SetItemString(d,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI));
19426 PyDict_SetItemString(d,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN));
19427 PyDict_SetItemString(d,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH));
19428 PyDict_SetItemString(d,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN));
19429 PyDict_SetItemString(d,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN));
19430 PyDict_SetItemString(d,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN));
19431 PyDict_SetItemString(d,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA));
19432 PyDict_SetItemString(d,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN));
19433 PyDict_SetItemString(d,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN));
19434 PyDict_SetItemString(d,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY));
19435 PyDict_SetItemString(d,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY));
19436 PyDict_SetItemString(d,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM));
19437 PyDict_SetItemString(d,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM));
19438 PyDict_SetItemString(d,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA));
19439 PyDict_SetItemString(d,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE));
19440 PyDict_SetItemString(d,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI));
19441 PyDict_SetItemString(d,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI));
19442 PyDict_SetItemString(d,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI));
19443 PyDict_SetItemString(d,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN));
19444 PyDict_SetItemString(d,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN));
19445 PyDict_SetItemString(d,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU));
19446 PyDict_SetItemString(d,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI));
19447 PyDict_SetItemString(d,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA));
19448 PyDict_SetItemString(d,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL));
19449 PyDict_SetItemString(d,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK));
19450 PyDict_SetItemString(d,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN));
19451 PyDict_SetItemString(d,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA));
19452 PyDict_SetItemString(d,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO));
19453 PyDict_SetItemString(d,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO));
19454 PyDict_SetItemString(d,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH));
19455 PyDict_SetItemString(d,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE));
19456 PyDict_SetItemString(d,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN));
19457 PyDict_SetItemString(d,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI));
19458 PyDict_SetItemString(d,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA));
19459 PyDict_SetItemString(d,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE));
19460 PyDict_SetItemString(d,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN));
19461 PyDict_SetItemString(d,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN));
19462 PyDict_SetItemString(d,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE));
19463 PyDict_SetItemString(d,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN));
19464 PyDict_SetItemString(d,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO));
19465 PyDict_SetItemString(d,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT));
19466 PyDict_SetItemString(d,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC));
19467 PyDict_SetItemString(d,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN));
19468 PyDict_SetItemString(d,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC));
19469 PyDict_SetItemString(d,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN));
19470 PyDict_SetItemString(d,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN));
19471 PyDict_SetItemString(d,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO));
19472 PyDict_SetItemString(d,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA));
19473 PyDict_SetItemString(d,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA));
19474 PyDict_SetItemString(d,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI));
19475 PyDict_SetItemString(d,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE));
19476 PyDict_SetItemString(d,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI));
19477 PyDict_SetItemString(d,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK));
19478 PyDict_SetItemString(d,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN));
19479 PyDict_SetItemString(d,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI));
19480 PyDict_SetItemString(d,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH));
19481 PyDict_SetItemString(d,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA));
19482 PyDict_SetItemString(d,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA));
19483 PyDict_SetItemString(d,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE));
19484 PyDict_SetItemString(d,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA));
19485 PyDict_SetItemString(d,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA));
19486 PyDict_SetItemString(d,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC));
19487 PyDict_SetItemString(d,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR));
19488 PyDict_SetItemString(d,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR));
19489 PyDict_SetItemString(d,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA));
19490 PyDict_SetItemString(d,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS));
19491 PyDict_SetItemString(d,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN));
19492 PyDict_SetItemString(d,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN));
19493 PyDict_SetItemString(d,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA));
19494 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA));
19495 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY));
19496 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU));
19497 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO));
19498 PyDict_SetItemString(d,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY));
19499 PyDict_SetItemString(d,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US));
19500 PyDict_SetItemString(d,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA));
19501 PyDict_SetItemString(d,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE));
19502 PyDict_SetItemString(d,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI));
19503 PyDict_SetItemString(d,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH));
19504 PyDict_SetItemString(d,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND));
19505 PyDict_SetItemString(d,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG));
19506 PyDict_SetItemString(d,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK));
19507 PyDict_SetItemString(d,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL));
19508 PyDict_SetItemString(d,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR));
19509 PyDict_SetItemString(d,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU));
19510 PyDict_SetItemString(d,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI));
19511 PyDict_SetItemString(d,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN));
19512 PyDict_SetItemString(d,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA));
19513 PyDict_SetItemString(d,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA));
19514 PyDict_SetItemString(d,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA));
19515 PyDict_SetItemString(d,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH));
19516 PyDict_SetItemString(d,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN));
19517 PyDict_SetItemString(d,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI));
19518 PyDict_SetItemString(d,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR));
19519 PyDict_SetItemString(d,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN));
19520 PyDict_SetItemString(d,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU));
19521 PyDict_SetItemString(d,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA));
19522 PyDict_SetItemString(d,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN));
19523 PyDict_SetItemString(d,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK));
19524 PyDict_SetItemString(d,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC));
19525 PyDict_SetItemString(d,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN));
19526 PyDict_SetItemString(d,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE));
19527 PyDict_SetItemString(d,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK));
19528 PyDict_SetItemString(d,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH));
19529 PyDict_SetItemString(d,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF));
19530 PyDict_SetItemString(d,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA));
19531 PyDict_SetItemString(d,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH));
19532 PyDict_SetItemString(d,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA));
19533 PyDict_SetItemString(d,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG));
19534 PyDict_SetItemString(d,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU));
19535 PyDict_SetItemString(d,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED));
19536 PyDict_SetItemString(d,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER));
19537 PyDict_SetItemString(d,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE));
19538 PyDict_SetItemString(d,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY));
19539 PyDict_SetItemString(d,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX));
19540 PyDict_SetItemString(d,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP));
19541 PyDict_SetItemString(d,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT));
19542 PyDict_SetItemString(d,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT));
19543 PyDict_SetItemString(d,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING));
19544 PyDict_SetItemString(d,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT));
19545 PyDict_SetItemString(d,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE));
19546 PyDict_SetItemString(d,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT));
19547 PyDict_SetItemString(d,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX));
19548 PyDict_SetItemString(d,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS));
19549 PyDict_SetItemString(d,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2));
19550 PyDict_SetItemString(d,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC));
19551 PyDict_SetItemString(d,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL));
19552 PyDict_SetItemString(d,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT));
19553 PyDict_SetItemString(d,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED));
19554 PyDict_SetItemString(d,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED));
19555 PyDict_SetItemString(d,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL));
19556 PyDict_SetItemString(d,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL));
19557 PyDict_SetItemString(d,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE));
d14a1e28
RD
19558 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
19559 SWIG_addvarlink(SWIG_globals,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get, _wrap_NORMAL_FONT_set);
19560 SWIG_addvarlink(SWIG_globals,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get, _wrap_SMALL_FONT_set);
19561 SWIG_addvarlink(SWIG_globals,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get, _wrap_ITALIC_FONT_set);
19562 SWIG_addvarlink(SWIG_globals,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get, _wrap_SWISS_FONT_set);
19563 SWIG_addvarlink(SWIG_globals,(char*)"RED_PEN",_wrap_RED_PEN_get, _wrap_RED_PEN_set);
19564 SWIG_addvarlink(SWIG_globals,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get, _wrap_CYAN_PEN_set);
19565 SWIG_addvarlink(SWIG_globals,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get, _wrap_GREEN_PEN_set);
19566 SWIG_addvarlink(SWIG_globals,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get, _wrap_BLACK_PEN_set);
19567 SWIG_addvarlink(SWIG_globals,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get, _wrap_WHITE_PEN_set);
19568 SWIG_addvarlink(SWIG_globals,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get, _wrap_TRANSPARENT_PEN_set);
19569 SWIG_addvarlink(SWIG_globals,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get, _wrap_BLACK_DASHED_PEN_set);
19570 SWIG_addvarlink(SWIG_globals,(char*)"GREY_PEN",_wrap_GREY_PEN_get, _wrap_GREY_PEN_set);
19571 SWIG_addvarlink(SWIG_globals,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get, _wrap_MEDIUM_GREY_PEN_set);
19572 SWIG_addvarlink(SWIG_globals,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get, _wrap_LIGHT_GREY_PEN_set);
19573 SWIG_addvarlink(SWIG_globals,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get, _wrap_BLUE_BRUSH_set);
19574 SWIG_addvarlink(SWIG_globals,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get, _wrap_GREEN_BRUSH_set);
19575 SWIG_addvarlink(SWIG_globals,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get, _wrap_WHITE_BRUSH_set);
19576 SWIG_addvarlink(SWIG_globals,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get, _wrap_BLACK_BRUSH_set);
19577 SWIG_addvarlink(SWIG_globals,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get, _wrap_TRANSPARENT_BRUSH_set);
19578 SWIG_addvarlink(SWIG_globals,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get, _wrap_CYAN_BRUSH_set);
19579 SWIG_addvarlink(SWIG_globals,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get, _wrap_RED_BRUSH_set);
19580 SWIG_addvarlink(SWIG_globals,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get, _wrap_GREY_BRUSH_set);
19581 SWIG_addvarlink(SWIG_globals,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get, _wrap_MEDIUM_GREY_BRUSH_set);
19582 SWIG_addvarlink(SWIG_globals,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get, _wrap_LIGHT_GREY_BRUSH_set);
19583 SWIG_addvarlink(SWIG_globals,(char*)"BLACK",_wrap_BLACK_get, _wrap_BLACK_set);
19584 SWIG_addvarlink(SWIG_globals,(char*)"WHITE",_wrap_WHITE_get, _wrap_WHITE_set);
19585 SWIG_addvarlink(SWIG_globals,(char*)"RED",_wrap_RED_get, _wrap_RED_set);
19586 SWIG_addvarlink(SWIG_globals,(char*)"BLUE",_wrap_BLUE_get, _wrap_BLUE_set);
19587 SWIG_addvarlink(SWIG_globals,(char*)"GREEN",_wrap_GREEN_get, _wrap_GREEN_set);
19588 SWIG_addvarlink(SWIG_globals,(char*)"CYAN",_wrap_CYAN_get, _wrap_CYAN_set);
19589 SWIG_addvarlink(SWIG_globals,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get, _wrap_LIGHT_GREY_set);
19590 SWIG_addvarlink(SWIG_globals,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get, _wrap_STANDARD_CURSOR_set);
19591 SWIG_addvarlink(SWIG_globals,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get, _wrap_HOURGLASS_CURSOR_set);
19592 SWIG_addvarlink(SWIG_globals,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get, _wrap_CROSS_CURSOR_set);
19593 SWIG_addvarlink(SWIG_globals,(char*)"NullBitmap",_wrap_NullBitmap_get, _wrap_NullBitmap_set);
19594 SWIG_addvarlink(SWIG_globals,(char*)"NullIcon",_wrap_NullIcon_get, _wrap_NullIcon_set);
19595 SWIG_addvarlink(SWIG_globals,(char*)"NullCursor",_wrap_NullCursor_get, _wrap_NullCursor_set);
19596 SWIG_addvarlink(SWIG_globals,(char*)"NullPen",_wrap_NullPen_get, _wrap_NullPen_set);
19597 SWIG_addvarlink(SWIG_globals,(char*)"NullBrush",_wrap_NullBrush_get, _wrap_NullBrush_set);
19598 SWIG_addvarlink(SWIG_globals,(char*)"NullPalette",_wrap_NullPalette_get, _wrap_NullPalette_set);
19599 SWIG_addvarlink(SWIG_globals,(char*)"NullFont",_wrap_NullFont_get, _wrap_NullFont_set);
19600 SWIG_addvarlink(SWIG_globals,(char*)"NullColour",_wrap_NullColour_get, _wrap_NullColour_set);
19601 SWIG_addvarlink(SWIG_globals,(char*)"TheFontList",_wrap_TheFontList_get, _wrap_TheFontList_set);
19602 SWIG_addvarlink(SWIG_globals,(char*)"ThePenList",_wrap_ThePenList_get, _wrap_ThePenList_set);
19603 SWIG_addvarlink(SWIG_globals,(char*)"TheBrushList",_wrap_TheBrushList_get, _wrap_TheBrushList_set);
19604 SWIG_addvarlink(SWIG_globals,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get, _wrap_TheColourDatabase_set);
7722248d
RD
19605
19606 // Work around a chicken/egg problem in drawlist.cpp
19607 wxPyDrawList_SetAPIPtr();
19608
d14a1e28
RD
19609}
19610