]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_gdi_wrap.cpp
Fix printing?
[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
41e2b43e
RD
754wxLocale *new_wxLocale(int language,int flags){
755 if (language == -1)
756 return new wxLocale();
757 else
758 return new wxLocale(language, flags);
759 }
d14a1e28
RD
760
761#include "wx/wxPython/pydrawxxx.h"
762
03e37cd5 763wxColour wxDC_GetPixel(wxDC *self,int x,int y){
d14a1e28
RD
764 wxColour col;
765 self->GetPixel(x, y, &col);
766 return col;
767 }
03e37cd5 768wxColour wxDC_GetPixelPoint(wxDC *self,wxPoint const &pt){
d14a1e28
RD
769 wxColour col;
770 self->GetPixel(pt, &col);
771 return col;
772 }
994141e6 773
15afbcd0
RD
774SWIGSTATICINLINE(double)
775SWIG_AsDouble(PyObject *obj)
994141e6 776{
69223c70
RD
777 if (PyNumber_Check(obj))
778 return PyFloat_AsDouble(obj);
779 else {
780 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
781 obj->ob_type->tp_name);
782 PyErr_SetObject(PyExc_TypeError, errmsg);
783 Py_DECREF(errmsg);
784 return 0;
785 }
15afbcd0
RD
786}
787
788
789SWIGSTATICINLINE(int)
790SWIG_CheckDouble(PyObject* obj)
791{
792 SWIG_AsDouble(obj);
793 if (PyErr_Occurred()) {
794 PyErr_Clear();
795 return 0;
796 } else {
797 return 1;
798 }
994141e6
RD
799}
800
d14a1e28
RD
801wxRect wxDC_DrawImageLabel(wxDC *self,wxString const &text,wxBitmap const &image,wxRect const &rect,int alignment,int indexAccel){
802 wxRect rv;
803 self->DrawLabel(text, image, rect, alignment, indexAccel, &rv);
804 return rv;
805 }
806wxRect wxDC_GetClippingRect(wxDC *self){
807 wxRect rect;
808 self->GetClippingBox(rect);
809 return rect;
810 }
db914595
RD
811wxArrayInt wxDC_GetPartialTextExtents(wxDC *self,wxString const &text){
812 wxArrayInt widths;
813 self->GetPartialTextExtents(text, widths);
814 return widths;
815 }
03e37cd5
RD
816void wxDC_SetLogicalOriginPoint(wxDC *self,wxPoint const &point){
817 self->SetLogicalOrigin(point.x, point.y);
818 }
819void wxDC_SetDeviceOriginPoint(wxDC *self,wxPoint const &point){
820 self->SetDeviceOrigin(point.x, point.y);
821 }
822void wxDC_CalcBoundingBoxPoint(wxDC *self,wxPoint const &point){
823 self->CalcBoundingBox(point.x, point.y);
824 }
d14a1e28
RD
825PyObject *wxDC__DrawPointList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
826 return wxPyDrawXXXList(*self, wxPyDrawXXXPoint, pyCoords, pyPens, pyBrushes);
827 }
828PyObject *wxDC__DrawLineList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
829 return wxPyDrawXXXList(*self, wxPyDrawXXXLine, pyCoords, pyPens, pyBrushes);
830 }
831PyObject *wxDC__DrawRectangleList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
832 return wxPyDrawXXXList(*self, wxPyDrawXXXRectangle, pyCoords, pyPens, pyBrushes);
833 }
834PyObject *wxDC__DrawEllipseList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
835 return wxPyDrawXXXList(*self, wxPyDrawXXXEllipse, pyCoords, pyPens, pyBrushes);
836 }
837PyObject *wxDC__DrawPolygonList(wxDC *self,PyObject *pyCoords,PyObject *pyPens,PyObject *pyBrushes){
838 return wxPyDrawXXXList(*self, wxPyDrawXXXPolygon, pyCoords, pyPens, pyBrushes);
839 }
840PyObject *wxDC__DrawTextList(wxDC *self,PyObject *textList,PyObject *pyPoints,PyObject *foregroundList,PyObject *backgroundList){
841 return wxPyDrawTextList(*self, textList, pyPoints, foregroundList, backgroundList);
842 }
843
844static void wxDC_GetBoundingBox(wxDC* dc, int* x1, int* y1, int* x2, int* y2) {
845 *x1 = dc->MinX();
846 *y1 = dc->MinY();
847 *x2 = dc->MaxX();
848 *y2 = dc->MaxY();
849}
850
851
b88bce5f 852#include <wx/dcbuffer.h>
b88bce5f 853
b88bce5f 854
d14a1e28
RD
855#include <wx/dcps.h>
856
857
858class wxMetaFile : public wxObject {
859public:
860 wxMetaFile(const wxString&)
39f61e25 861 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
862};
863
864class wxMetaFileDC : public wxClientDC {
865public:
866 wxMetaFileDC(const wxString&, int, int, const wxString&)
39f61e25 867 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
868};
869
870
871
872class wxPrinterDC : public wxClientDC {
873public:
874 wxPrinterDC(const wxPrintData&)
39f61e25 875 { wxPyRaiseNotImplemented(); }
33b885b9 876
d14a1e28 877// wxPrinterDC(const wxString&, const wxString&, const wxString&, bool, int)
39f61e25 878// { wxPyRaiseNotImplemented(); }
d14a1e28
RD
879};
880
881
882
883void wxColourDatabase_Append(wxColourDatabase *self,wxString const &name,int red,int green,int blue){
884 self->AddColour(name, wxColour(red, green, blue));
885 }
886
d14a1e28
RD
887#include <wx/effects.h>
888
889#ifdef __cplusplus
890extern "C" {
891#endif
892static PyObject *_wrap_new_GDIObject(PyObject *self, PyObject *args, PyObject *kwargs) {
893 PyObject *resultobj;
894 wxGDIObject *result;
895 char *kwnames[] = {
896 NULL
897 };
898
899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GDIObject",kwnames)) goto fail;
900 {
901 PyThreadState* __tstate = wxPyBeginAllowThreads();
902 result = (wxGDIObject *)new wxGDIObject();
903
904 wxPyEndAllowThreads(__tstate);
905 if (PyErr_Occurred()) SWIG_fail;
906 }
15afbcd0 907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGDIObject, 1);
d14a1e28
RD
908 return resultobj;
909 fail:
910 return NULL;
911}
912
913
914static PyObject *_wrap_delete_GDIObject(PyObject *self, PyObject *args, PyObject *kwargs) {
915 PyObject *resultobj;
916 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
917 PyObject * obj0 = 0 ;
918 char *kwnames[] = {
919 (char *) "self", NULL
920 };
921
922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GDIObject",kwnames,&obj0)) goto fail;
15afbcd0
RD
923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGDIObject,
924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
925 {
926 PyThreadState* __tstate = wxPyBeginAllowThreads();
927 delete arg1;
928
929 wxPyEndAllowThreads(__tstate);
930 if (PyErr_Occurred()) SWIG_fail;
931 }
932 Py_INCREF(Py_None); resultobj = Py_None;
933 return resultobj;
934 fail:
935 return NULL;
936}
937
938
939static PyObject *_wrap_GDIObject_GetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
940 PyObject *resultobj;
941 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
942 bool result;
943 PyObject * obj0 = 0 ;
944 char *kwnames[] = {
945 (char *) "self", NULL
946 };
947
948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GDIObject_GetVisible",kwnames,&obj0)) goto fail;
15afbcd0
RD
949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGDIObject,
950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
951 {
952 PyThreadState* __tstate = wxPyBeginAllowThreads();
953 result = (bool)(arg1)->GetVisible();
954
955 wxPyEndAllowThreads(__tstate);
956 if (PyErr_Occurred()) SWIG_fail;
957 }
4f89f6a3
RD
958 {
959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
960 }
d14a1e28
RD
961 return resultobj;
962 fail:
963 return NULL;
964}
965
966
967static PyObject *_wrap_GDIObject_SetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
968 PyObject *resultobj;
969 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
970 bool arg2 ;
971 PyObject * obj0 = 0 ;
972 PyObject * obj1 = 0 ;
973 char *kwnames[] = {
974 (char *) "self",(char *) "visible", NULL
975 };
976
977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GDIObject_SetVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGDIObject,
979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
980 arg2 = (bool) SWIG_AsBool(obj1);
981 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
982 {
983 PyThreadState* __tstate = wxPyBeginAllowThreads();
984 (arg1)->SetVisible(arg2);
985
986 wxPyEndAllowThreads(__tstate);
987 if (PyErr_Occurred()) SWIG_fail;
988 }
989 Py_INCREF(Py_None); resultobj = Py_None;
990 return resultobj;
991 fail:
992 return NULL;
993}
994
995
996static PyObject *_wrap_GDIObject_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
997 PyObject *resultobj;
998 wxGDIObject *arg1 = (wxGDIObject *) 0 ;
999 bool result;
1000 PyObject * obj0 = 0 ;
1001 char *kwnames[] = {
1002 (char *) "self", NULL
1003 };
1004
1005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GDIObject_IsNull",kwnames,&obj0)) goto fail;
15afbcd0
RD
1006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGDIObject,
1007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1008 {
1009 PyThreadState* __tstate = wxPyBeginAllowThreads();
1010 result = (bool)(arg1)->IsNull();
1011
1012 wxPyEndAllowThreads(__tstate);
1013 if (PyErr_Occurred()) SWIG_fail;
1014 }
4f89f6a3
RD
1015 {
1016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1017 }
d14a1e28
RD
1018 return resultobj;
1019 fail:
1020 return NULL;
1021}
1022
1023
1024static PyObject * GDIObject_swigregister(PyObject *self, PyObject *args) {
1025 PyObject *obj;
1026 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1027 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject, obj);
1028 Py_INCREF(obj);
1029 return Py_BuildValue((char *)"");
1030}
1031static PyObject *_wrap_new_Colour(PyObject *self, PyObject *args, PyObject *kwargs) {
1032 PyObject *resultobj;
41e2b43e
RD
1033 byte arg1 = (byte) 0 ;
1034 byte arg2 = (byte) 0 ;
1035 byte arg3 = (byte) 0 ;
d14a1e28
RD
1036 wxColour *result;
1037 PyObject * obj0 = 0 ;
1038 PyObject * obj1 = 0 ;
1039 PyObject * obj2 = 0 ;
1040 char *kwnames[] = {
1041 (char *) "red",(char *) "green",(char *) "blue", NULL
1042 };
1043
1044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_Colour",kwnames,&obj0,&obj1,&obj2)) goto fail;
1045 if (obj0) {
41e2b43e 1046 arg1 = (byte) SWIG_AsUnsignedChar(obj0);
15afbcd0 1047 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1048 }
1049 if (obj1) {
41e2b43e 1050 arg2 = (byte) SWIG_AsUnsignedChar(obj1);
15afbcd0 1051 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1052 }
1053 if (obj2) {
41e2b43e 1054 arg3 = (byte) SWIG_AsUnsignedChar(obj2);
15afbcd0 1055 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1056 }
1057 {
1058 PyThreadState* __tstate = wxPyBeginAllowThreads();
1059 result = (wxColour *)new wxColour(arg1,arg2,arg3);
1060
1061 wxPyEndAllowThreads(__tstate);
1062 if (PyErr_Occurred()) SWIG_fail;
1063 }
15afbcd0 1064 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1065 return resultobj;
1066 fail:
1067 return NULL;
1068}
1069
1070
d14a1e28
RD
1071static PyObject *_wrap_new_NamedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1072 PyObject *resultobj;
1073 wxString *arg1 = 0 ;
1074 wxColour *result;
e811c8ce 1075 bool temp1 = False ;
d14a1e28
RD
1076 PyObject * obj0 = 0 ;
1077 char *kwnames[] = {
1078 (char *) "colorName", NULL
1079 };
1080
1081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NamedColour",kwnames,&obj0)) goto fail;
1082 {
1083 arg1 = wxString_in_helper(obj0);
1084 if (arg1 == NULL) SWIG_fail;
e811c8ce 1085 temp1 = True;
d14a1e28
RD
1086 }
1087 {
1088 PyThreadState* __tstate = wxPyBeginAllowThreads();
1089 result = (wxColour *)new wxColour((wxString const &)*arg1);
1090
1091 wxPyEndAllowThreads(__tstate);
1092 if (PyErr_Occurred()) SWIG_fail;
1093 }
15afbcd0 1094 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1095 {
1096 if (temp1)
1097 delete arg1;
1098 }
1099 return resultobj;
1100 fail:
1101 {
1102 if (temp1)
1103 delete arg1;
1104 }
1105 return NULL;
1106}
1107
1108
1109static PyObject *_wrap_new_ColourRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
1110 PyObject *resultobj;
1111 unsigned long arg1 ;
1112 wxColour *result;
1113 PyObject * obj0 = 0 ;
1114 char *kwnames[] = {
1115 (char *) "colRGB", NULL
1116 };
1117
1118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ColourRGB",kwnames,&obj0)) goto fail;
15afbcd0
RD
1119 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
1120 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1121 {
1122 PyThreadState* __tstate = wxPyBeginAllowThreads();
1123 result = (wxColour *)new wxColour(arg1);
1124
1125 wxPyEndAllowThreads(__tstate);
1126 if (PyErr_Occurred()) SWIG_fail;
1127 }
15afbcd0 1128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1129 return resultobj;
1130 fail:
1131 return NULL;
1132}
1133
1134
b88bce5f
RD
1135static PyObject *_wrap_delete_Colour(PyObject *self, PyObject *args, PyObject *kwargs) {
1136 PyObject *resultobj;
1137 wxColour *arg1 = (wxColour *) 0 ;
1138 PyObject * obj0 = 0 ;
1139 char *kwnames[] = {
1140 (char *) "self", NULL
1141 };
1142
1143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Colour",kwnames,&obj0)) goto fail;
15afbcd0
RD
1144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b88bce5f
RD
1146 {
1147 PyThreadState* __tstate = wxPyBeginAllowThreads();
1148 delete arg1;
1149
1150 wxPyEndAllowThreads(__tstate);
1151 if (PyErr_Occurred()) SWIG_fail;
1152 }
1153 Py_INCREF(Py_None); resultobj = Py_None;
1154 return resultobj;
1155 fail:
1156 return NULL;
1157}
1158
1159
d14a1e28
RD
1160static PyObject *_wrap_Colour_Red(PyObject *self, PyObject *args, PyObject *kwargs) {
1161 PyObject *resultobj;
1162 wxColour *arg1 = (wxColour *) 0 ;
41e2b43e 1163 byte result;
d14a1e28
RD
1164 PyObject * obj0 = 0 ;
1165 char *kwnames[] = {
1166 (char *) "self", NULL
1167 };
1168
1169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Red",kwnames,&obj0)) goto fail;
15afbcd0
RD
1170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1172 {
1173 PyThreadState* __tstate = wxPyBeginAllowThreads();
41e2b43e 1174 result = (byte)(arg1)->Red();
d14a1e28
RD
1175
1176 wxPyEndAllowThreads(__tstate);
1177 if (PyErr_Occurred()) SWIG_fail;
1178 }
15afbcd0 1179 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
1180 return resultobj;
1181 fail:
1182 return NULL;
1183}
1184
1185
1186static PyObject *_wrap_Colour_Green(PyObject *self, PyObject *args, PyObject *kwargs) {
1187 PyObject *resultobj;
1188 wxColour *arg1 = (wxColour *) 0 ;
41e2b43e 1189 byte result;
d14a1e28
RD
1190 PyObject * obj0 = 0 ;
1191 char *kwnames[] = {
1192 (char *) "self", NULL
1193 };
1194
1195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Green",kwnames,&obj0)) goto fail;
15afbcd0
RD
1196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1198 {
1199 PyThreadState* __tstate = wxPyBeginAllowThreads();
41e2b43e 1200 result = (byte)(arg1)->Green();
d14a1e28
RD
1201
1202 wxPyEndAllowThreads(__tstate);
1203 if (PyErr_Occurred()) SWIG_fail;
1204 }
15afbcd0 1205 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
1206 return resultobj;
1207 fail:
1208 return NULL;
1209}
1210
1211
1212static PyObject *_wrap_Colour_Blue(PyObject *self, PyObject *args, PyObject *kwargs) {
1213 PyObject *resultobj;
1214 wxColour *arg1 = (wxColour *) 0 ;
41e2b43e 1215 byte result;
d14a1e28
RD
1216 PyObject * obj0 = 0 ;
1217 char *kwnames[] = {
1218 (char *) "self", NULL
1219 };
1220
1221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Blue",kwnames,&obj0)) goto fail;
15afbcd0
RD
1222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1224 {
1225 PyThreadState* __tstate = wxPyBeginAllowThreads();
41e2b43e 1226 result = (byte)(arg1)->Blue();
d14a1e28
RD
1227
1228 wxPyEndAllowThreads(__tstate);
1229 if (PyErr_Occurred()) SWIG_fail;
1230 }
15afbcd0 1231 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
1232 return resultobj;
1233 fail:
1234 return NULL;
1235}
1236
1237
1238static PyObject *_wrap_Colour_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
1239 PyObject *resultobj;
1240 wxColour *arg1 = (wxColour *) 0 ;
1241 bool result;
1242 PyObject * obj0 = 0 ;
1243 char *kwnames[] = {
1244 (char *) "self", NULL
1245 };
1246
1247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
1248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1250 {
1251 PyThreadState* __tstate = wxPyBeginAllowThreads();
1252 result = (bool)(arg1)->Ok();
1253
1254 wxPyEndAllowThreads(__tstate);
1255 if (PyErr_Occurred()) SWIG_fail;
1256 }
4f89f6a3
RD
1257 {
1258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1259 }
d14a1e28
RD
1260 return resultobj;
1261 fail:
1262 return NULL;
1263}
1264
1265
1266static PyObject *_wrap_Colour_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
1267 PyObject *resultobj;
1268 wxColour *arg1 = (wxColour *) 0 ;
41e2b43e
RD
1269 byte arg2 ;
1270 byte arg3 ;
1271 byte arg4 ;
d14a1e28
RD
1272 PyObject * obj0 = 0 ;
1273 PyObject * obj1 = 0 ;
1274 PyObject * obj2 = 0 ;
1275 PyObject * obj3 = 0 ;
1276 char *kwnames[] = {
1277 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1278 };
1279
1280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Colour_Set",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
1281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41e2b43e 1283 arg2 = (byte) SWIG_AsUnsignedChar(obj1);
15afbcd0 1284 if (PyErr_Occurred()) SWIG_fail;
41e2b43e 1285 arg3 = (byte) SWIG_AsUnsignedChar(obj2);
15afbcd0 1286 if (PyErr_Occurred()) SWIG_fail;
41e2b43e 1287 arg4 = (byte) SWIG_AsUnsignedChar(obj3);
15afbcd0 1288 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1289 {
1290 PyThreadState* __tstate = wxPyBeginAllowThreads();
1291 (arg1)->Set(arg2,arg3,arg4);
1292
1293 wxPyEndAllowThreads(__tstate);
1294 if (PyErr_Occurred()) SWIG_fail;
1295 }
1296 Py_INCREF(Py_None); resultobj = Py_None;
1297 return resultobj;
1298 fail:
1299 return NULL;
1300}
1301
1302
c9c7117a 1303static PyObject *_wrap_Colour_SetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1304 PyObject *resultobj;
1305 wxColour *arg1 = (wxColour *) 0 ;
1306 unsigned long arg2 ;
1307 PyObject * obj0 = 0 ;
1308 PyObject * obj1 = 0 ;
1309 char *kwnames[] = {
1310 (char *) "self",(char *) "colRGB", NULL
1311 };
1312
c9c7117a 1313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour_SetRGB",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1316 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
1317 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1318 {
1319 PyThreadState* __tstate = wxPyBeginAllowThreads();
1320 (arg1)->Set(arg2);
1321
1322 wxPyEndAllowThreads(__tstate);
1323 if (PyErr_Occurred()) SWIG_fail;
1324 }
1325 Py_INCREF(Py_None); resultobj = Py_None;
1326 return resultobj;
1327 fail:
1328 return NULL;
1329}
1330
1331
b88bce5f
RD
1332static PyObject *_wrap_Colour_SetFromName(PyObject *self, PyObject *args, PyObject *kwargs) {
1333 PyObject *resultobj;
1334 wxColour *arg1 = (wxColour *) 0 ;
1335 wxString *arg2 = 0 ;
1336 bool temp2 = False ;
1337 PyObject * obj0 = 0 ;
1338 PyObject * obj1 = 0 ;
1339 char *kwnames[] = {
1340 (char *) "self",(char *) "colourName", NULL
1341 };
1342
1343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour_SetFromName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b88bce5f
RD
1346 {
1347 arg2 = wxString_in_helper(obj1);
1348 if (arg2 == NULL) SWIG_fail;
1349 temp2 = True;
1350 }
1351 {
1352 PyThreadState* __tstate = wxPyBeginAllowThreads();
1353 (arg1)->InitFromName((wxString const &)*arg2);
1354
1355 wxPyEndAllowThreads(__tstate);
1356 if (PyErr_Occurred()) SWIG_fail;
1357 }
1358 Py_INCREF(Py_None); resultobj = Py_None;
1359 {
1360 if (temp2)
1361 delete arg2;
1362 }
1363 return resultobj;
1364 fail:
1365 {
1366 if (temp2)
1367 delete arg2;
1368 }
1369 return NULL;
1370}
1371
1372
1373static PyObject *_wrap_Colour_GetPixel(PyObject *self, PyObject *args, PyObject *kwargs) {
1374 PyObject *resultobj;
1375 wxColour *arg1 = (wxColour *) 0 ;
1376 long result;
1377 PyObject * obj0 = 0 ;
1378 char *kwnames[] = {
1379 (char *) "self", NULL
1380 };
1381
1382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_GetPixel",kwnames,&obj0)) goto fail;
15afbcd0
RD
1383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b88bce5f
RD
1385 {
1386 PyThreadState* __tstate = wxPyBeginAllowThreads();
1387 result = (long)((wxColour const *)arg1)->GetPixel();
1388
1389 wxPyEndAllowThreads(__tstate);
1390 if (PyErr_Occurred()) SWIG_fail;
1391 }
15afbcd0 1392 resultobj = SWIG_FromLong((long)result);
b88bce5f
RD
1393 return resultobj;
1394 fail:
1395 return NULL;
1396}
1397
1398
d14a1e28
RD
1399static PyObject *_wrap_Colour___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
1400 PyObject *resultobj;
1401 wxColour *arg1 = (wxColour *) 0 ;
1402 wxColour *arg2 = 0 ;
1403 bool result;
1404 wxColour temp2 ;
1405 PyObject * obj0 = 0 ;
1406 PyObject * obj1 = 0 ;
1407 char *kwnames[] = {
1408 (char *) "self",(char *) "colour", NULL
1409 };
1410
1411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1414 {
1415 arg2 = &temp2;
1416 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
1417 }
1418 {
1419 PyThreadState* __tstate = wxPyBeginAllowThreads();
1420 result = (bool)((wxColour const *)arg1)->operator ==((wxColour const &)*arg2);
1421
1422 wxPyEndAllowThreads(__tstate);
1423 if (PyErr_Occurred()) SWIG_fail;
1424 }
4f89f6a3
RD
1425 {
1426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1427 }
d14a1e28
RD
1428 return resultobj;
1429 fail:
1430 return NULL;
1431}
1432
1433
1434static PyObject *_wrap_Colour___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
1435 PyObject *resultobj;
1436 wxColour *arg1 = (wxColour *) 0 ;
1437 wxColour *arg2 = 0 ;
1438 bool result;
1439 wxColour temp2 ;
1440 PyObject * obj0 = 0 ;
1441 PyObject * obj1 = 0 ;
1442 char *kwnames[] = {
1443 (char *) "self",(char *) "colour", NULL
1444 };
1445
1446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Colour___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1449 {
1450 arg2 = &temp2;
1451 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
1452 }
1453 {
1454 PyThreadState* __tstate = wxPyBeginAllowThreads();
1455 result = (bool)((wxColour const *)arg1)->operator !=((wxColour const &)*arg2);
1456
1457 wxPyEndAllowThreads(__tstate);
1458 if (PyErr_Occurred()) SWIG_fail;
1459 }
4f89f6a3
RD
1460 {
1461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1462 }
d14a1e28
RD
1463 return resultobj;
1464 fail:
1465 return NULL;
1466}
1467
1468
b88bce5f 1469static PyObject *_wrap_Colour_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
c9c7117a
RD
1470 PyObject *resultobj;
1471 wxColour *arg1 = (wxColour *) 0 ;
b88bce5f 1472 PyObject *result;
c9c7117a 1473 PyObject * obj0 = 0 ;
c9c7117a 1474 char *kwnames[] = {
b88bce5f 1475 (char *) "self", NULL
c9c7117a
RD
1476 };
1477
b88bce5f 1478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
1479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
1481 {
1482 PyThreadState* __tstate = wxPyBeginAllowThreads();
b88bce5f 1483 result = (PyObject *)wxColour_Get(arg1);
c9c7117a
RD
1484
1485 wxPyEndAllowThreads(__tstate);
1486 if (PyErr_Occurred()) SWIG_fail;
1487 }
b88bce5f 1488 resultobj = result;
c9c7117a
RD
1489 return resultobj;
1490 fail:
c9c7117a
RD
1491 return NULL;
1492}
1493
1494
b88bce5f 1495static PyObject *_wrap_Colour_GetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1496 PyObject *resultobj;
1497 wxColour *arg1 = (wxColour *) 0 ;
b88bce5f 1498 unsigned long result;
d14a1e28
RD
1499 PyObject * obj0 = 0 ;
1500 char *kwnames[] = {
1501 (char *) "self", NULL
1502 };
1503
b88bce5f 1504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Colour_GetRGB",kwnames,&obj0)) goto fail;
15afbcd0
RD
1505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColour,
1506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1507 {
1508 PyThreadState* __tstate = wxPyBeginAllowThreads();
b88bce5f 1509 result = (unsigned long)wxColour_GetRGB(arg1);
d14a1e28
RD
1510
1511 wxPyEndAllowThreads(__tstate);
1512 if (PyErr_Occurred()) SWIG_fail;
1513 }
15afbcd0 1514 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
1515 return resultobj;
1516 fail:
1517 return NULL;
1518}
1519
1520
1521static PyObject * Colour_swigregister(PyObject *self, PyObject *args) {
1522 PyObject *obj;
1523 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1524 SWIG_TypeClientData(SWIGTYPE_p_wxColour, obj);
1525 Py_INCREF(obj);
1526 return Py_BuildValue((char *)"");
1527}
1528static PyObject *_wrap_new_Palette(PyObject *self, PyObject *args, PyObject *kwargs) {
1529 PyObject *resultobj;
1530 int arg1 ;
1531 unsigned char *arg2 = (unsigned char *) 0 ;
1532 unsigned char *arg3 = (unsigned char *) 0 ;
1533 unsigned char *arg4 = (unsigned char *) 0 ;
1534 wxPalette *result;
994141e6 1535 PyObject * obj0 = 0 ;
d14a1e28
RD
1536 PyObject * obj1 = 0 ;
1537 PyObject * obj2 = 0 ;
1538 PyObject * obj3 = 0 ;
1539 char *kwnames[] = {
1540 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1541 };
1542
994141e6 1543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_Palette",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
1544 arg1 = (int) SWIG_AsInt(obj0);
1545 if (PyErr_Occurred()) SWIG_fail;
1546 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_char,
1547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1548 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_unsigned_char,
1549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1550 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_unsigned_char,
1551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1552 {
1553 PyThreadState* __tstate = wxPyBeginAllowThreads();
1554 result = (wxPalette *)new wxPalette(arg1,(unsigned char const *)arg2,(unsigned char const *)arg3,(unsigned char const *)arg4);
1555
1556 wxPyEndAllowThreads(__tstate);
1557 if (PyErr_Occurred()) SWIG_fail;
1558 }
15afbcd0 1559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPalette, 1);
d14a1e28
RD
1560 return resultobj;
1561 fail:
1562 return NULL;
1563}
1564
1565
1566static PyObject *_wrap_delete_Palette(PyObject *self, PyObject *args, PyObject *kwargs) {
1567 PyObject *resultobj;
1568 wxPalette *arg1 = (wxPalette *) 0 ;
1569 PyObject * obj0 = 0 ;
1570 char *kwnames[] = {
1571 (char *) "self", NULL
1572 };
1573
1574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Palette",kwnames,&obj0)) goto fail;
15afbcd0
RD
1575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPalette,
1576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1577 {
1578 PyThreadState* __tstate = wxPyBeginAllowThreads();
1579 delete arg1;
1580
1581 wxPyEndAllowThreads(__tstate);
1582 if (PyErr_Occurred()) SWIG_fail;
1583 }
1584 Py_INCREF(Py_None); resultobj = Py_None;
1585 return resultobj;
1586 fail:
1587 return NULL;
1588}
1589
1590
1591static PyObject *_wrap_Palette_GetPixel(PyObject *self, PyObject *args, PyObject *kwargs) {
1592 PyObject *resultobj;
1593 wxPalette *arg1 = (wxPalette *) 0 ;
1594 byte arg2 ;
1595 byte arg3 ;
1596 byte arg4 ;
1597 int result;
1598 PyObject * obj0 = 0 ;
1599 PyObject * obj1 = 0 ;
1600 PyObject * obj2 = 0 ;
1601 PyObject * obj3 = 0 ;
1602 char *kwnames[] = {
1603 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1604 };
1605
1606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Palette_GetPixel",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
1607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPalette,
1608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1609 arg2 = (byte) SWIG_AsUnsignedChar(obj1);
1610 if (PyErr_Occurred()) SWIG_fail;
1611 arg3 = (byte) SWIG_AsUnsignedChar(obj2);
1612 if (PyErr_Occurred()) SWIG_fail;
1613 arg4 = (byte) SWIG_AsUnsignedChar(obj3);
1614 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1615 {
1616 PyThreadState* __tstate = wxPyBeginAllowThreads();
1617 result = (int)(arg1)->GetPixel(arg2,arg3,arg4);
1618
1619 wxPyEndAllowThreads(__tstate);
1620 if (PyErr_Occurred()) SWIG_fail;
1621 }
15afbcd0 1622 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1623 return resultobj;
1624 fail:
1625 return NULL;
1626}
1627
1628
1629static PyObject *_wrap_Palette_GetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
1630 PyObject *resultobj;
1631 wxPalette *arg1 = (wxPalette *) 0 ;
1632 int arg2 ;
1633 byte *arg3 = (byte *) 0 ;
1634 byte *arg4 = (byte *) 0 ;
1635 byte *arg5 = (byte *) 0 ;
1636 bool result;
1637 byte temp3 ;
1638 byte temp4 ;
1639 byte temp5 ;
1640 PyObject * obj0 = 0 ;
994141e6 1641 PyObject * obj1 = 0 ;
d14a1e28
RD
1642 char *kwnames[] = {
1643 (char *) "self",(char *) "pixel", NULL
1644 };
1645
1646 arg3 = &temp3;
1647 arg4 = &temp4;
1648 arg5 = &temp5;
994141e6 1649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Palette_GetRGB",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPalette,
1651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1652 arg2 = (int) SWIG_AsInt(obj1);
1653 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1654 {
1655 PyThreadState* __tstate = wxPyBeginAllowThreads();
1656 result = (bool)(arg1)->GetRGB(arg2,arg3,arg4,arg5);
1657
1658 wxPyEndAllowThreads(__tstate);
1659 if (PyErr_Occurred()) SWIG_fail;
1660 }
4f89f6a3
RD
1661 {
1662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1663 }
d14a1e28
RD
1664 {
1665 PyObject *o = PyInt_FromLong((long) (*arg3));
1666 resultobj = t_output_helper(resultobj,o);
1667 }
1668 {
1669 PyObject *o = PyInt_FromLong((long) (*arg4));
1670 resultobj = t_output_helper(resultobj,o);
1671 }
1672 {
1673 PyObject *o = PyInt_FromLong((long) (*arg5));
1674 resultobj = t_output_helper(resultobj,o);
1675 }
1676 return resultobj;
1677 fail:
1678 return NULL;
1679}
1680
1681
1682static PyObject *_wrap_Palette_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
1683 PyObject *resultobj;
1684 wxPalette *arg1 = (wxPalette *) 0 ;
1685 bool result;
1686 PyObject * obj0 = 0 ;
1687 char *kwnames[] = {
1688 (char *) "self", NULL
1689 };
1690
1691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Palette_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
1692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPalette,
1693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1694 {
1695 PyThreadState* __tstate = wxPyBeginAllowThreads();
1696 result = (bool)(arg1)->Ok();
1697
1698 wxPyEndAllowThreads(__tstate);
1699 if (PyErr_Occurred()) SWIG_fail;
1700 }
4f89f6a3
RD
1701 {
1702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1703 }
d14a1e28
RD
1704 return resultobj;
1705 fail:
1706 return NULL;
1707}
1708
1709
1710static PyObject * Palette_swigregister(PyObject *self, PyObject *args) {
1711 PyObject *obj;
1712 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1713 SWIG_TypeClientData(SWIGTYPE_p_wxPalette, obj);
1714 Py_INCREF(obj);
1715 return Py_BuildValue((char *)"");
1716}
1717static PyObject *_wrap_new_Pen(PyObject *self, PyObject *args, PyObject *kwargs) {
1718 PyObject *resultobj;
1719 wxColour *arg1 = 0 ;
1720 int arg2 = (int) 1 ;
1721 int arg3 = (int) wxSOLID ;
1722 wxPen *result;
1723 wxColour temp1 ;
1724 PyObject * obj0 = 0 ;
994141e6
RD
1725 PyObject * obj1 = 0 ;
1726 PyObject * obj2 = 0 ;
d14a1e28
RD
1727 char *kwnames[] = {
1728 (char *) "colour",(char *) "width",(char *) "style", NULL
1729 };
1730
994141e6 1731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Pen",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
1732 {
1733 arg1 = &temp1;
1734 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
1735 }
994141e6 1736 if (obj1) {
15afbcd0
RD
1737 arg2 = (int) SWIG_AsInt(obj1);
1738 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
1739 }
1740 if (obj2) {
15afbcd0
RD
1741 arg3 = (int) SWIG_AsInt(obj2);
1742 if (PyErr_Occurred()) SWIG_fail;
994141e6 1743 }
d14a1e28
RD
1744 {
1745 PyThreadState* __tstate = wxPyBeginAllowThreads();
1746 result = (wxPen *)new wxPen(*arg1,arg2,arg3);
1747
1748 wxPyEndAllowThreads(__tstate);
1749 if (PyErr_Occurred()) SWIG_fail;
1750 }
15afbcd0 1751 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 1);
d14a1e28
RD
1752 return resultobj;
1753 fail:
1754 return NULL;
1755}
1756
1757
1758static PyObject *_wrap_delete_Pen(PyObject *self, PyObject *args, PyObject *kwargs) {
1759 PyObject *resultobj;
1760 wxPen *arg1 = (wxPen *) 0 ;
1761 PyObject * obj0 = 0 ;
1762 char *kwnames[] = {
1763 (char *) "self", NULL
1764 };
1765
1766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Pen",kwnames,&obj0)) goto fail;
15afbcd0
RD
1767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1769 {
1770 PyThreadState* __tstate = wxPyBeginAllowThreads();
1771 delete arg1;
1772
1773 wxPyEndAllowThreads(__tstate);
1774 if (PyErr_Occurred()) SWIG_fail;
1775 }
1776 Py_INCREF(Py_None); resultobj = Py_None;
1777 return resultobj;
1778 fail:
1779 return NULL;
1780}
1781
1782
1783static PyObject *_wrap_Pen_GetCap(PyObject *self, PyObject *args, PyObject *kwargs) {
1784 PyObject *resultobj;
1785 wxPen *arg1 = (wxPen *) 0 ;
1786 int result;
1787 PyObject * obj0 = 0 ;
1788 char *kwnames[] = {
1789 (char *) "self", NULL
1790 };
1791
1792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetCap",kwnames,&obj0)) goto fail;
15afbcd0
RD
1793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1795 {
1796 PyThreadState* __tstate = wxPyBeginAllowThreads();
1797 result = (int)(arg1)->GetCap();
1798
1799 wxPyEndAllowThreads(__tstate);
1800 if (PyErr_Occurred()) SWIG_fail;
1801 }
15afbcd0 1802 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1803 return resultobj;
1804 fail:
1805 return NULL;
1806}
1807
1808
1809static PyObject *_wrap_Pen_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1810 PyObject *resultobj;
1811 wxPen *arg1 = (wxPen *) 0 ;
1812 wxColour result;
1813 PyObject * obj0 = 0 ;
1814 char *kwnames[] = {
1815 (char *) "self", NULL
1816 };
1817
1818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
1819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1821 {
1822 PyThreadState* __tstate = wxPyBeginAllowThreads();
1823 result = (arg1)->GetColour();
1824
1825 wxPyEndAllowThreads(__tstate);
1826 if (PyErr_Occurred()) SWIG_fail;
1827 }
1828 {
1829 wxColour * resultptr;
1830 resultptr = new wxColour((wxColour &) result);
15afbcd0 1831 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
1832 }
1833 return resultobj;
1834 fail:
1835 return NULL;
1836}
1837
1838
1839static PyObject *_wrap_Pen_GetJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
1840 PyObject *resultobj;
1841 wxPen *arg1 = (wxPen *) 0 ;
1842 int result;
1843 PyObject * obj0 = 0 ;
1844 char *kwnames[] = {
1845 (char *) "self", NULL
1846 };
1847
1848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetJoin",kwnames,&obj0)) goto fail;
15afbcd0
RD
1849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1851 {
1852 PyThreadState* __tstate = wxPyBeginAllowThreads();
1853 result = (int)(arg1)->GetJoin();
1854
1855 wxPyEndAllowThreads(__tstate);
1856 if (PyErr_Occurred()) SWIG_fail;
1857 }
15afbcd0 1858 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1859 return resultobj;
1860 fail:
1861 return NULL;
1862}
1863
1864
1865static PyObject *_wrap_Pen_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
1866 PyObject *resultobj;
1867 wxPen *arg1 = (wxPen *) 0 ;
1868 int result;
1869 PyObject * obj0 = 0 ;
1870 char *kwnames[] = {
1871 (char *) "self", NULL
1872 };
1873
1874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
1875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1877 {
1878 PyThreadState* __tstate = wxPyBeginAllowThreads();
1879 result = (int)(arg1)->GetStyle();
1880
1881 wxPyEndAllowThreads(__tstate);
1882 if (PyErr_Occurred()) SWIG_fail;
1883 }
15afbcd0 1884 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1885 return resultobj;
1886 fail:
1887 return NULL;
1888}
1889
1890
1891static PyObject *_wrap_Pen_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1892 PyObject *resultobj;
1893 wxPen *arg1 = (wxPen *) 0 ;
1894 int result;
1895 PyObject * obj0 = 0 ;
1896 char *kwnames[] = {
1897 (char *) "self", NULL
1898 };
1899
1900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
1901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1903 {
1904 PyThreadState* __tstate = wxPyBeginAllowThreads();
1905 result = (int)(arg1)->GetWidth();
1906
1907 wxPyEndAllowThreads(__tstate);
1908 if (PyErr_Occurred()) SWIG_fail;
1909 }
15afbcd0 1910 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1911 return resultobj;
1912 fail:
1913 return NULL;
1914}
1915
1916
1917static PyObject *_wrap_Pen_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
1918 PyObject *resultobj;
1919 wxPen *arg1 = (wxPen *) 0 ;
1920 bool result;
1921 PyObject * obj0 = 0 ;
1922 char *kwnames[] = {
1923 (char *) "self", NULL
1924 };
1925
1926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
1927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1929 {
1930 PyThreadState* __tstate = wxPyBeginAllowThreads();
1931 result = (bool)(arg1)->Ok();
1932
1933 wxPyEndAllowThreads(__tstate);
1934 if (PyErr_Occurred()) SWIG_fail;
1935 }
4f89f6a3
RD
1936 {
1937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1938 }
d14a1e28
RD
1939 return resultobj;
1940 fail:
1941 return NULL;
1942}
1943
1944
1945static PyObject *_wrap_Pen_SetCap(PyObject *self, PyObject *args, PyObject *kwargs) {
1946 PyObject *resultobj;
1947 wxPen *arg1 = (wxPen *) 0 ;
1948 int arg2 ;
1949 PyObject * obj0 = 0 ;
994141e6 1950 PyObject * obj1 = 0 ;
d14a1e28
RD
1951 char *kwnames[] = {
1952 (char *) "self",(char *) "cap_style", NULL
1953 };
1954
994141e6 1955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetCap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1958 arg2 = (int) SWIG_AsInt(obj1);
1959 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1960 {
1961 PyThreadState* __tstate = wxPyBeginAllowThreads();
1962 (arg1)->SetCap(arg2);
1963
1964 wxPyEndAllowThreads(__tstate);
1965 if (PyErr_Occurred()) SWIG_fail;
1966 }
1967 Py_INCREF(Py_None); resultobj = Py_None;
1968 return resultobj;
1969 fail:
1970 return NULL;
1971}
1972
1973
1974static PyObject *_wrap_Pen_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1975 PyObject *resultobj;
1976 wxPen *arg1 = (wxPen *) 0 ;
1977 wxColour *arg2 = 0 ;
1978 wxColour temp2 ;
1979 PyObject * obj0 = 0 ;
1980 PyObject * obj1 = 0 ;
1981 char *kwnames[] = {
1982 (char *) "self",(char *) "colour", NULL
1983 };
1984
1985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
1987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1988 {
1989 arg2 = &temp2;
1990 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
1991 }
1992 {
1993 PyThreadState* __tstate = wxPyBeginAllowThreads();
1994 (arg1)->SetColour(*arg2);
1995
1996 wxPyEndAllowThreads(__tstate);
1997 if (PyErr_Occurred()) SWIG_fail;
1998 }
1999 Py_INCREF(Py_None); resultobj = Py_None;
2000 return resultobj;
2001 fail:
2002 return NULL;
2003}
2004
2005
2006static PyObject *_wrap_Pen_SetJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
2007 PyObject *resultobj;
2008 wxPen *arg1 = (wxPen *) 0 ;
2009 int arg2 ;
2010 PyObject * obj0 = 0 ;
994141e6 2011 PyObject * obj1 = 0 ;
d14a1e28
RD
2012 char *kwnames[] = {
2013 (char *) "self",(char *) "join_style", NULL
2014 };
2015
994141e6 2016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetJoin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2019 arg2 = (int) SWIG_AsInt(obj1);
2020 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2021 {
2022 PyThreadState* __tstate = wxPyBeginAllowThreads();
2023 (arg1)->SetJoin(arg2);
2024
2025 wxPyEndAllowThreads(__tstate);
2026 if (PyErr_Occurred()) SWIG_fail;
2027 }
2028 Py_INCREF(Py_None); resultobj = Py_None;
2029 return resultobj;
2030 fail:
2031 return NULL;
2032}
2033
2034
2035static PyObject *_wrap_Pen_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2036 PyObject *resultobj;
2037 wxPen *arg1 = (wxPen *) 0 ;
2038 int arg2 ;
2039 PyObject * obj0 = 0 ;
994141e6 2040 PyObject * obj1 = 0 ;
d14a1e28
RD
2041 char *kwnames[] = {
2042 (char *) "self",(char *) "style", NULL
2043 };
2044
994141e6 2045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2048 arg2 = (int) SWIG_AsInt(obj1);
2049 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2050 {
2051 PyThreadState* __tstate = wxPyBeginAllowThreads();
2052 (arg1)->SetStyle(arg2);
2053
2054 wxPyEndAllowThreads(__tstate);
2055 if (PyErr_Occurred()) SWIG_fail;
2056 }
2057 Py_INCREF(Py_None); resultobj = Py_None;
2058 return resultobj;
2059 fail:
2060 return NULL;
2061}
2062
2063
2064static PyObject *_wrap_Pen_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2065 PyObject *resultobj;
2066 wxPen *arg1 = (wxPen *) 0 ;
2067 int arg2 ;
2068 PyObject * obj0 = 0 ;
994141e6 2069 PyObject * obj1 = 0 ;
d14a1e28
RD
2070 char *kwnames[] = {
2071 (char *) "self",(char *) "width", NULL
2072 };
2073
994141e6 2074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2077 arg2 = (int) SWIG_AsInt(obj1);
2078 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2079 {
2080 PyThreadState* __tstate = wxPyBeginAllowThreads();
2081 (arg1)->SetWidth(arg2);
2082
2083 wxPyEndAllowThreads(__tstate);
2084 if (PyErr_Occurred()) SWIG_fail;
2085 }
2086 Py_INCREF(Py_None); resultobj = Py_None;
2087 return resultobj;
2088 fail:
2089 return NULL;
2090}
2091
2092
2093static PyObject *_wrap_Pen_SetDashes(PyObject *self, PyObject *args, PyObject *kwargs) {
2094 PyObject *resultobj;
2095 wxPen *arg1 = (wxPen *) 0 ;
2096 int arg2 ;
2097 wxDash *arg3 = (wxDash *) 0 ;
2098 PyObject * obj0 = 0 ;
2099 PyObject * obj1 = 0 ;
2100 char *kwnames[] = {
2101 (char *) "self",(char *) "dashes", NULL
2102 };
2103
2104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen_SetDashes",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2107 {
2108 arg2 = PyList_Size(obj1);
2109 arg3 = (wxDash*)byte_LIST_helper(obj1);
2110 if (arg3 == NULL) SWIG_fail;
2111 }
2112 {
2113 PyThreadState* __tstate = wxPyBeginAllowThreads();
2114 (arg1)->SetDashes(arg2,arg3);
2115
2116 wxPyEndAllowThreads(__tstate);
2117 if (PyErr_Occurred()) SWIG_fail;
2118 }
2119 Py_INCREF(Py_None); resultobj = Py_None;
2120 {
2121 if (arg3) delete [] arg3;
2122 }
2123 return resultobj;
2124 fail:
2125 {
2126 if (arg3) delete [] arg3;
2127 }
2128 return NULL;
2129}
2130
2131
2132static PyObject *_wrap_Pen_GetDashes(PyObject *self, PyObject *args, PyObject *kwargs) {
2133 PyObject *resultobj;
2134 wxPen *arg1 = (wxPen *) 0 ;
2135 PyObject *result;
2136 PyObject * obj0 = 0 ;
2137 char *kwnames[] = {
2138 (char *) "self", NULL
2139 };
2140
2141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetDashes",kwnames,&obj0)) goto fail;
15afbcd0
RD
2142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2144 {
2145 PyThreadState* __tstate = wxPyBeginAllowThreads();
2146 result = (PyObject *)wxPen_GetDashes(arg1);
2147
2148 wxPyEndAllowThreads(__tstate);
2149 if (PyErr_Occurred()) SWIG_fail;
2150 }
2151 resultobj = result;
2152 return resultobj;
2153 fail:
2154 return NULL;
2155}
2156
2157
66c033b4 2158static PyObject *_wrap_Pen__SetDashes(PyObject *self, PyObject *args, PyObject *kwargs) {
22faec7d
RD
2159 PyObject *resultobj;
2160 wxPen *arg1 = (wxPen *) 0 ;
66c033b4
RD
2161 PyObject *arg2 = (PyObject *) 0 ;
2162 PyObject *arg3 = (PyObject *) 0 ;
22faec7d
RD
2163 PyObject * obj0 = 0 ;
2164 PyObject * obj1 = 0 ;
66c033b4 2165 PyObject * obj2 = 0 ;
22faec7d 2166 char *kwnames[] = {
66c033b4 2167 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
22faec7d
RD
2168 };
2169
66c033b4 2170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Pen__SetDashes",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
66c033b4
RD
2173 arg2 = obj1;
2174 arg3 = obj2;
3adfb63b
RD
2175 {
2176 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 2177 wxPen__SetDashes(arg1,arg2,arg3);
3adfb63b
RD
2178
2179 wxPyEndAllowThreads(__tstate);
2180 if (PyErr_Occurred()) SWIG_fail;
2181 }
66c033b4 2182 Py_INCREF(Py_None); resultobj = Py_None;
3adfb63b
RD
2183 return resultobj;
2184 fail:
2185 return NULL;
2186}
2187
2188
c9c7117a
RD
2189static PyObject *_wrap_Pen_GetDashCount(PyObject *self, PyObject *args, PyObject *kwargs) {
2190 PyObject *resultobj;
2191 wxPen *arg1 = (wxPen *) 0 ;
2192 int result;
2193 PyObject * obj0 = 0 ;
2194 char *kwnames[] = {
2195 (char *) "self", NULL
2196 };
2197
2198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Pen_GetDashCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
2199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
2201 {
2202 PyThreadState* __tstate = wxPyBeginAllowThreads();
2203 result = (int)((wxPen const *)arg1)->GetDashCount();
2204
2205 wxPyEndAllowThreads(__tstate);
2206 if (PyErr_Occurred()) SWIG_fail;
2207 }
15afbcd0 2208 resultobj = SWIG_FromInt((int)result);
c9c7117a
RD
2209 return resultobj;
2210 fail:
2211 return NULL;
2212}
2213
2214
66c033b4 2215static PyObject *_wrap_Pen___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 2216 PyObject *resultobj;
66c033b4
RD
2217 wxPen *arg1 = (wxPen *) 0 ;
2218 wxPen *arg2 = (wxPen *) 0 ;
2219 bool result;
d14a1e28 2220 PyObject * obj0 = 0 ;
994141e6 2221 PyObject * obj1 = 0 ;
d14a1e28 2222 char *kwnames[] = {
66c033b4 2223 (char *) "self",(char *) "other", NULL
d14a1e28
RD
2224 };
2225
66c033b4
RD
2226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen___eq__",kwnames,&obj0,&obj1)) goto fail;
2227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2229 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPen,
2230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2231 {
2232 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 2233 result = (bool)wxPen___eq__(arg1,(wxPen const *)arg2);
d14a1e28
RD
2234
2235 wxPyEndAllowThreads(__tstate);
2236 if (PyErr_Occurred()) SWIG_fail;
2237 }
d14a1e28 2238 {
66c033b4 2239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28 2240 }
d14a1e28
RD
2241 return resultobj;
2242 fail:
2243 return NULL;
2244}
2245
2246
66c033b4 2247static PyObject *_wrap_Pen___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 2248 PyObject *resultobj;
66c033b4
RD
2249 wxPen *arg1 = (wxPen *) 0 ;
2250 wxPen *arg2 = (wxPen *) 0 ;
2251 bool result;
d14a1e28
RD
2252 PyObject * obj0 = 0 ;
2253 PyObject * obj1 = 0 ;
2254 char *kwnames[] = {
66c033b4 2255 (char *) "self",(char *) "other", NULL
d14a1e28
RD
2256 };
2257
66c033b4
RD
2258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Pen___ne__",kwnames,&obj0,&obj1)) goto fail;
2259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPen,
2260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2261 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPen,
15afbcd0 2262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2263 {
2264 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 2265 result = (bool)wxPen___ne__(arg1,(wxPen const *)arg2);
d14a1e28
RD
2266
2267 wxPyEndAllowThreads(__tstate);
2268 if (PyErr_Occurred()) SWIG_fail;
2269 }
d14a1e28 2270 {
66c033b4 2271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2272 }
2273 return resultobj;
2274 fail:
d14a1e28
RD
2275 return NULL;
2276}
2277
2278
66c033b4 2279static PyObject * Pen_swigregister(PyObject *self, PyObject *args) {
d14a1e28
RD
2280 PyObject *obj;
2281 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
66c033b4 2282 SWIG_TypeClientData(SWIGTYPE_p_wxPen, obj);
d14a1e28
RD
2283 Py_INCREF(obj);
2284 return Py_BuildValue((char *)"");
2285}
2286static PyObject *_wrap_new_Brush(PyObject *self, PyObject *args, PyObject *kwargs) {
2287 PyObject *resultobj;
2288 wxColour *arg1 = 0 ;
2289 int arg2 = (int) wxSOLID ;
2290 wxBrush *result;
2291 wxColour temp1 ;
2292 PyObject * obj0 = 0 ;
994141e6 2293 PyObject * obj1 = 0 ;
d14a1e28
RD
2294 char *kwnames[] = {
2295 (char *) "colour",(char *) "style", NULL
2296 };
2297
994141e6 2298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Brush",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2299 {
2300 arg1 = &temp1;
2301 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
2302 }
994141e6 2303 if (obj1) {
15afbcd0
RD
2304 arg2 = (int) SWIG_AsInt(obj1);
2305 if (PyErr_Occurred()) SWIG_fail;
994141e6 2306 }
d14a1e28
RD
2307 {
2308 PyThreadState* __tstate = wxPyBeginAllowThreads();
2309 result = (wxBrush *)new wxBrush((wxColour const &)*arg1,arg2);
2310
2311 wxPyEndAllowThreads(__tstate);
2312 if (PyErr_Occurred()) SWIG_fail;
2313 }
15afbcd0 2314 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 1);
d14a1e28
RD
2315 return resultobj;
2316 fail:
2317 return NULL;
2318}
2319
2320
2321static PyObject *_wrap_delete_Brush(PyObject *self, PyObject *args, PyObject *kwargs) {
2322 PyObject *resultobj;
2323 wxBrush *arg1 = (wxBrush *) 0 ;
2324 PyObject * obj0 = 0 ;
2325 char *kwnames[] = {
2326 (char *) "self", NULL
2327 };
2328
2329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Brush",kwnames,&obj0)) goto fail;
15afbcd0
RD
2330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2332 {
2333 PyThreadState* __tstate = wxPyBeginAllowThreads();
2334 delete arg1;
2335
2336 wxPyEndAllowThreads(__tstate);
2337 if (PyErr_Occurred()) SWIG_fail;
2338 }
2339 Py_INCREF(Py_None); resultobj = Py_None;
2340 return resultobj;
2341 fail:
2342 return NULL;
2343}
2344
2345
2346static PyObject *_wrap_Brush_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2347 PyObject *resultobj;
2348 wxBrush *arg1 = (wxBrush *) 0 ;
2349 wxColour *arg2 = 0 ;
2350 wxColour temp2 ;
2351 PyObject * obj0 = 0 ;
2352 PyObject * obj1 = 0 ;
2353 char *kwnames[] = {
2354 (char *) "self",(char *) "col", NULL
2355 };
2356
2357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Brush_SetColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2360 {
2361 arg2 = &temp2;
2362 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2363 }
2364 {
2365 PyThreadState* __tstate = wxPyBeginAllowThreads();
2366 (arg1)->SetColour((wxColour const &)*arg2);
2367
2368 wxPyEndAllowThreads(__tstate);
2369 if (PyErr_Occurred()) SWIG_fail;
2370 }
2371 Py_INCREF(Py_None); resultobj = Py_None;
2372 return resultobj;
2373 fail:
2374 return NULL;
2375}
2376
2377
2378static PyObject *_wrap_Brush_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2379 PyObject *resultobj;
2380 wxBrush *arg1 = (wxBrush *) 0 ;
2381 int arg2 ;
2382 PyObject * obj0 = 0 ;
994141e6 2383 PyObject * obj1 = 0 ;
d14a1e28
RD
2384 char *kwnames[] = {
2385 (char *) "self",(char *) "style", NULL
2386 };
2387
994141e6 2388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Brush_SetStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2391 arg2 = (int) SWIG_AsInt(obj1);
2392 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2393 {
2394 PyThreadState* __tstate = wxPyBeginAllowThreads();
2395 (arg1)->SetStyle(arg2);
2396
2397 wxPyEndAllowThreads(__tstate);
2398 if (PyErr_Occurred()) SWIG_fail;
2399 }
2400 Py_INCREF(Py_None); resultobj = Py_None;
2401 return resultobj;
2402 fail:
2403 return NULL;
2404}
2405
2406
2407static PyObject *_wrap_Brush_SetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
2408 PyObject *resultobj;
2409 wxBrush *arg1 = (wxBrush *) 0 ;
2410 wxBitmap *arg2 = 0 ;
2411 PyObject * obj0 = 0 ;
2412 PyObject * obj1 = 0 ;
2413 char *kwnames[] = {
2414 (char *) "self",(char *) "stipple", NULL
2415 };
2416
2417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Brush_SetStipple",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2420 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
2421 SWIG_POINTER_EXCEPTION | 0)) == -1)
2422 SWIG_fail;
d14a1e28 2423 if (arg2 == NULL) {
15afbcd0
RD
2424 PyErr_SetString(PyExc_TypeError,"null reference");
2425 SWIG_fail;
d14a1e28
RD
2426 }
2427 {
2428 PyThreadState* __tstate = wxPyBeginAllowThreads();
2429 (arg1)->SetStipple((wxBitmap const &)*arg2);
2430
2431 wxPyEndAllowThreads(__tstate);
2432 if (PyErr_Occurred()) SWIG_fail;
2433 }
2434 Py_INCREF(Py_None); resultobj = Py_None;
2435 return resultobj;
2436 fail:
2437 return NULL;
2438}
2439
2440
2441static PyObject *_wrap_Brush_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2442 PyObject *resultobj;
2443 wxBrush *arg1 = (wxBrush *) 0 ;
2444 wxColour result;
2445 PyObject * obj0 = 0 ;
2446 char *kwnames[] = {
2447 (char *) "self", NULL
2448 };
2449
2450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_GetColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
2451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2453 {
2454 PyThreadState* __tstate = wxPyBeginAllowThreads();
2455 result = ((wxBrush const *)arg1)->GetColour();
2456
2457 wxPyEndAllowThreads(__tstate);
2458 if (PyErr_Occurred()) SWIG_fail;
2459 }
2460 {
2461 wxColour * resultptr;
2462 resultptr = new wxColour((wxColour &) result);
15afbcd0 2463 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
2464 }
2465 return resultobj;
2466 fail:
2467 return NULL;
2468}
2469
2470
2471static PyObject *_wrap_Brush_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2472 PyObject *resultobj;
2473 wxBrush *arg1 = (wxBrush *) 0 ;
2474 int result;
2475 PyObject * obj0 = 0 ;
2476 char *kwnames[] = {
2477 (char *) "self", NULL
2478 };
2479
2480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
2481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2483 {
2484 PyThreadState* __tstate = wxPyBeginAllowThreads();
2485 result = (int)((wxBrush const *)arg1)->GetStyle();
2486
2487 wxPyEndAllowThreads(__tstate);
2488 if (PyErr_Occurred()) SWIG_fail;
2489 }
15afbcd0 2490 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2491 return resultobj;
2492 fail:
2493 return NULL;
2494}
2495
2496
2497static PyObject *_wrap_Brush_GetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
2498 PyObject *resultobj;
2499 wxBrush *arg1 = (wxBrush *) 0 ;
2500 wxBitmap *result;
2501 PyObject * obj0 = 0 ;
2502 char *kwnames[] = {
2503 (char *) "self", NULL
2504 };
2505
2506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_GetStipple",kwnames,&obj0)) goto fail;
15afbcd0
RD
2507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2509 {
2510 PyThreadState* __tstate = wxPyBeginAllowThreads();
2511 result = (wxBitmap *)((wxBrush const *)arg1)->GetStipple();
2512
2513 wxPyEndAllowThreads(__tstate);
2514 if (PyErr_Occurred()) SWIG_fail;
2515 }
15afbcd0 2516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 0);
d14a1e28
RD
2517 return resultobj;
2518 fail:
2519 return NULL;
2520}
2521
2522
2523static PyObject *_wrap_Brush_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
2524 PyObject *resultobj;
2525 wxBrush *arg1 = (wxBrush *) 0 ;
2526 bool result;
2527 PyObject * obj0 = 0 ;
2528 char *kwnames[] = {
2529 (char *) "self", NULL
2530 };
2531
2532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
2533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
2534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2535 {
2536 PyThreadState* __tstate = wxPyBeginAllowThreads();
2537 result = (bool)(arg1)->Ok();
2538
2539 wxPyEndAllowThreads(__tstate);
2540 if (PyErr_Occurred()) SWIG_fail;
2541 }
4f89f6a3
RD
2542 {
2543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2544 }
d14a1e28
RD
2545 return resultobj;
2546 fail:
2547 return NULL;
2548}
2549
2550
2551static PyObject * Brush_swigregister(PyObject *self, PyObject *args) {
2552 PyObject *obj;
2553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2554 SWIG_TypeClientData(SWIGTYPE_p_wxBrush, obj);
2555 Py_INCREF(obj);
2556 return Py_BuildValue((char *)"");
2557}
2558static PyObject *_wrap_new_Bitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2559 PyObject *resultobj;
2560 wxString *arg1 = 0 ;
2561 int arg2 = (int) wxBITMAP_TYPE_ANY ;
2562 wxBitmap *result;
e811c8ce 2563 bool temp1 = False ;
d14a1e28 2564 PyObject * obj0 = 0 ;
994141e6 2565 PyObject * obj1 = 0 ;
d14a1e28
RD
2566 char *kwnames[] = {
2567 (char *) "name",(char *) "type", NULL
2568 };
2569
994141e6 2570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Bitmap",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2571 {
2572 arg1 = wxString_in_helper(obj0);
2573 if (arg1 == NULL) SWIG_fail;
e811c8ce 2574 temp1 = True;
d14a1e28 2575 }
994141e6 2576 if (obj1) {
15afbcd0
RD
2577 arg2 = (wxBitmapType) SWIG_AsInt(obj1);
2578 if (PyErr_Occurred()) SWIG_fail;
994141e6 2579 }
d14a1e28
RD
2580 {
2581 PyThreadState* __tstate = wxPyBeginAllowThreads();
2582 result = (wxBitmap *)new wxBitmap((wxString const &)*arg1,(wxBitmapType )arg2);
2583
2584 wxPyEndAllowThreads(__tstate);
2585 if (PyErr_Occurred()) SWIG_fail;
2586 }
15afbcd0 2587 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2588 {
2589 if (temp1)
2590 delete arg1;
2591 }
2592 return resultobj;
2593 fail:
2594 {
2595 if (temp1)
2596 delete arg1;
2597 }
2598 return NULL;
2599}
2600
2601
2602static PyObject *_wrap_delete_Bitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2603 PyObject *resultobj;
2604 wxBitmap *arg1 = (wxBitmap *) 0 ;
2605 PyObject * obj0 = 0 ;
2606 char *kwnames[] = {
2607 (char *) "self", NULL
2608 };
2609
2610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Bitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
2611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2613 {
2614 PyThreadState* __tstate = wxPyBeginAllowThreads();
2615 delete arg1;
2616
2617 wxPyEndAllowThreads(__tstate);
2618 if (PyErr_Occurred()) SWIG_fail;
2619 }
2620 Py_INCREF(Py_None); resultobj = Py_None;
2621 return resultobj;
2622 fail:
2623 return NULL;
2624}
2625
2626
66c033b4
RD
2627static PyObject *_wrap_new_EmptyBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2628 PyObject *resultobj;
2629 int arg1 ;
2630 int arg2 ;
2631 int arg3 = (int) -1 ;
2632 wxBitmap *result;
2633 PyObject * obj0 = 0 ;
2634 PyObject * obj1 = 0 ;
2635 PyObject * obj2 = 0 ;
2636 char *kwnames[] = {
2637 (char *) "width",(char *) "height",(char *) "depth", NULL
2638 };
2639
2640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_EmptyBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
2641 arg1 = (int) SWIG_AsInt(obj0);
2642 if (PyErr_Occurred()) SWIG_fail;
2643 arg2 = (int) SWIG_AsInt(obj1);
2644 if (PyErr_Occurred()) SWIG_fail;
2645 if (obj2) {
2646 arg3 = (int) SWIG_AsInt(obj2);
2647 if (PyErr_Occurred()) SWIG_fail;
2648 }
2649 {
2650 PyThreadState* __tstate = wxPyBeginAllowThreads();
2651 result = (wxBitmap *)new wxBitmap(arg1,arg2,arg3);
2652
2653 wxPyEndAllowThreads(__tstate);
2654 if (PyErr_Occurred()) SWIG_fail;
2655 }
2656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
2657 return resultobj;
2658 fail:
2659 return NULL;
2660}
2661
2662
d14a1e28
RD
2663static PyObject *_wrap_new_BitmapFromIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2664 PyObject *resultobj;
2665 wxIcon *arg1 = 0 ;
2666 wxBitmap *result;
2667 PyObject * obj0 = 0 ;
2668 char *kwnames[] = {
2669 (char *) "icon", NULL
2670 };
2671
2672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BitmapFromIcon",kwnames,&obj0)) goto fail;
15afbcd0
RD
2673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
2674 SWIG_POINTER_EXCEPTION | 0)) == -1)
2675 SWIG_fail;
d14a1e28 2676 if (arg1 == NULL) {
15afbcd0
RD
2677 PyErr_SetString(PyExc_TypeError,"null reference");
2678 SWIG_fail;
d14a1e28
RD
2679 }
2680 {
2681 PyThreadState* __tstate = wxPyBeginAllowThreads();
2682 result = (wxBitmap *)new wxBitmap((wxIcon const &)*arg1);
2683
2684 wxPyEndAllowThreads(__tstate);
2685 if (PyErr_Occurred()) SWIG_fail;
2686 }
15afbcd0 2687 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2688 return resultobj;
2689 fail:
2690 return NULL;
2691}
2692
2693
2694static PyObject *_wrap_new_BitmapFromImage(PyObject *self, PyObject *args, PyObject *kwargs) {
2695 PyObject *resultobj;
2696 wxImage *arg1 = 0 ;
2697 int arg2 = (int) -1 ;
2698 wxBitmap *result;
2699 PyObject * obj0 = 0 ;
994141e6 2700 PyObject * obj1 = 0 ;
d14a1e28
RD
2701 char *kwnames[] = {
2702 (char *) "image",(char *) "depth", NULL
2703 };
2704
994141e6 2705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_BitmapFromImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
2707 SWIG_POINTER_EXCEPTION | 0)) == -1)
2708 SWIG_fail;
d14a1e28 2709 if (arg1 == NULL) {
15afbcd0
RD
2710 PyErr_SetString(PyExc_TypeError,"null reference");
2711 SWIG_fail;
d14a1e28 2712 }
994141e6 2713 if (obj1) {
15afbcd0
RD
2714 arg2 = (int) SWIG_AsInt(obj1);
2715 if (PyErr_Occurred()) SWIG_fail;
994141e6 2716 }
d14a1e28
RD
2717 {
2718 PyThreadState* __tstate = wxPyBeginAllowThreads();
2719 result = (wxBitmap *)new wxBitmap((wxImage const &)*arg1,arg2);
2720
2721 wxPyEndAllowThreads(__tstate);
2722 if (PyErr_Occurred()) SWIG_fail;
2723 }
15afbcd0 2724 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2725 return resultobj;
2726 fail:
2727 return NULL;
2728}
2729
2730
2731static PyObject *_wrap_new_BitmapFromXPMData(PyObject *self, PyObject *args, PyObject *kwargs) {
2732 PyObject *resultobj;
2733 PyObject *arg1 = (PyObject *) 0 ;
2734 wxBitmap *result;
2735 PyObject * obj0 = 0 ;
2736 char *kwnames[] = {
2737 (char *) "listOfStrings", NULL
2738 };
2739
2740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BitmapFromXPMData",kwnames,&obj0)) goto fail;
2741 arg1 = obj0;
2742 {
2743 PyThreadState* __tstate = wxPyBeginAllowThreads();
2744 result = (wxBitmap *)new_wxBitmap(arg1);
2745
2746 wxPyEndAllowThreads(__tstate);
2747 if (PyErr_Occurred()) SWIG_fail;
2748 }
15afbcd0 2749 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2750 return resultobj;
2751 fail:
2752 return NULL;
2753}
2754
2755
2756static PyObject *_wrap_new_BitmapFromBits(PyObject *self, PyObject *args, PyObject *kwargs) {
2757 PyObject *resultobj;
2758 PyObject *arg1 = (PyObject *) 0 ;
2759 int arg2 ;
2760 int arg3 ;
2761 int arg4 = (int) 1 ;
2762 wxBitmap *result;
2763 PyObject * obj0 = 0 ;
994141e6
RD
2764 PyObject * obj1 = 0 ;
2765 PyObject * obj2 = 0 ;
2766 PyObject * obj3 = 0 ;
d14a1e28
RD
2767 char *kwnames[] = {
2768 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2769 };
2770
994141e6 2771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_BitmapFromBits",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 2772 arg1 = obj0;
15afbcd0
RD
2773 arg2 = (int) SWIG_AsInt(obj1);
2774 if (PyErr_Occurred()) SWIG_fail;
2775 arg3 = (int) SWIG_AsInt(obj2);
2776 if (PyErr_Occurred()) SWIG_fail;
994141e6 2777 if (obj3) {
15afbcd0
RD
2778 arg4 = (int) SWIG_AsInt(obj3);
2779 if (PyErr_Occurred()) SWIG_fail;
994141e6 2780 }
d14a1e28
RD
2781 {
2782 PyThreadState* __tstate = wxPyBeginAllowThreads();
2783 result = (wxBitmap *)new_wxBitmap(arg1,arg2,arg3,arg4);
2784
2785 wxPyEndAllowThreads(__tstate);
2786 if (PyErr_Occurred()) SWIG_fail;
2787 }
15afbcd0 2788 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2789 return resultobj;
2790 fail:
2791 return NULL;
2792}
2793
2794
2795static PyObject *_wrap_Bitmap_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
2796 PyObject *resultobj;
2797 wxBitmap *arg1 = (wxBitmap *) 0 ;
2798 bool result;
2799 PyObject * obj0 = 0 ;
2800 char *kwnames[] = {
2801 (char *) "self", NULL
2802 };
2803
2804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
2805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2807 {
2808 PyThreadState* __tstate = wxPyBeginAllowThreads();
2809 result = (bool)(arg1)->Ok();
2810
2811 wxPyEndAllowThreads(__tstate);
2812 if (PyErr_Occurred()) SWIG_fail;
2813 }
4f89f6a3
RD
2814 {
2815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2816 }
d14a1e28
RD
2817 return resultobj;
2818 fail:
2819 return NULL;
2820}
2821
2822
2823static PyObject *_wrap_Bitmap_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2824 PyObject *resultobj;
2825 wxBitmap *arg1 = (wxBitmap *) 0 ;
2826 int result;
2827 PyObject * obj0 = 0 ;
2828 char *kwnames[] = {
2829 (char *) "self", NULL
2830 };
2831
2832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
2833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2835 {
2836 PyThreadState* __tstate = wxPyBeginAllowThreads();
2837 result = (int)(arg1)->GetWidth();
2838
2839 wxPyEndAllowThreads(__tstate);
2840 if (PyErr_Occurred()) SWIG_fail;
2841 }
15afbcd0 2842 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2843 return resultobj;
2844 fail:
2845 return NULL;
2846}
2847
2848
2849static PyObject *_wrap_Bitmap_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2850 PyObject *resultobj;
2851 wxBitmap *arg1 = (wxBitmap *) 0 ;
2852 int result;
2853 PyObject * obj0 = 0 ;
2854 char *kwnames[] = {
2855 (char *) "self", NULL
2856 };
2857
2858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
2859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2861 {
2862 PyThreadState* __tstate = wxPyBeginAllowThreads();
2863 result = (int)(arg1)->GetHeight();
2864
2865 wxPyEndAllowThreads(__tstate);
2866 if (PyErr_Occurred()) SWIG_fail;
2867 }
15afbcd0 2868 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2869 return resultobj;
2870 fail:
2871 return NULL;
2872}
2873
2874
2875static PyObject *_wrap_Bitmap_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
2876 PyObject *resultobj;
2877 wxBitmap *arg1 = (wxBitmap *) 0 ;
2878 int result;
2879 PyObject * obj0 = 0 ;
2880 char *kwnames[] = {
2881 (char *) "self", NULL
2882 };
2883
2884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetDepth",kwnames,&obj0)) goto fail;
15afbcd0
RD
2885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2887 {
2888 PyThreadState* __tstate = wxPyBeginAllowThreads();
2889 result = (int)(arg1)->GetDepth();
2890
2891 wxPyEndAllowThreads(__tstate);
2892 if (PyErr_Occurred()) SWIG_fail;
2893 }
15afbcd0 2894 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2895 return resultobj;
2896 fail:
2897 return NULL;
2898}
2899
2900
b2df227b
RD
2901static PyObject *_wrap_Bitmap_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2902 PyObject *resultobj;
2903 wxBitmap *arg1 = (wxBitmap *) 0 ;
2904 wxSize result;
2905 PyObject * obj0 = 0 ;
2906 char *kwnames[] = {
2907 (char *) "self", NULL
2908 };
2909
2910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetSize",kwnames,&obj0)) goto fail;
2911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2913 {
2914 PyThreadState* __tstate = wxPyBeginAllowThreads();
2915 result = wxBitmap_GetSize(arg1);
2916
2917 wxPyEndAllowThreads(__tstate);
2918 if (PyErr_Occurred()) SWIG_fail;
2919 }
2920 {
2921 wxSize * resultptr;
2922 resultptr = new wxSize((wxSize &) result);
2923 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2924 }
2925 return resultobj;
2926 fail:
2927 return NULL;
2928}
2929
2930
d14a1e28
RD
2931static PyObject *_wrap_Bitmap_ConvertToImage(PyObject *self, PyObject *args, PyObject *kwargs) {
2932 PyObject *resultobj;
2933 wxBitmap *arg1 = (wxBitmap *) 0 ;
2934 SwigValueWrapper< wxImage > result;
2935 PyObject * obj0 = 0 ;
2936 char *kwnames[] = {
2937 (char *) "self", NULL
2938 };
2939
2940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_ConvertToImage",kwnames,&obj0)) goto fail;
15afbcd0
RD
2941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2943 {
2944 PyThreadState* __tstate = wxPyBeginAllowThreads();
2945 result = ((wxBitmap const *)arg1)->ConvertToImage();
2946
2947 wxPyEndAllowThreads(__tstate);
2948 if (PyErr_Occurred()) SWIG_fail;
2949 }
2950 {
2951 wxImage * resultptr;
2952 resultptr = new wxImage((wxImage &) result);
15afbcd0 2953 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
2954 }
2955 return resultobj;
2956 fail:
2957 return NULL;
2958}
2959
2960
2961static PyObject *_wrap_Bitmap_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
2962 PyObject *resultobj;
2963 wxBitmap *arg1 = (wxBitmap *) 0 ;
2964 wxMask *result;
2965 PyObject * obj0 = 0 ;
2966 char *kwnames[] = {
2967 (char *) "self", NULL
2968 };
2969
2970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
2971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2973 {
2974 PyThreadState* __tstate = wxPyBeginAllowThreads();
2975 result = (wxMask *)((wxBitmap const *)arg1)->GetMask();
2976
2977 wxPyEndAllowThreads(__tstate);
2978 if (PyErr_Occurred()) SWIG_fail;
2979 }
15afbcd0 2980 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMask, 0);
d14a1e28
RD
2981 return resultobj;
2982 fail:
2983 return NULL;
2984}
2985
2986
2987static PyObject *_wrap_Bitmap_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
2988 PyObject *resultobj;
2989 wxBitmap *arg1 = (wxBitmap *) 0 ;
2990 wxMask *arg2 = (wxMask *) 0 ;
2991 PyObject * obj0 = 0 ;
2992 PyObject * obj1 = 0 ;
2993 char *kwnames[] = {
2994 (char *) "self",(char *) "mask", NULL
2995 };
2996
2997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
2999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3000 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMask,
3001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3002 {
3003 PyThreadState* __tstate = wxPyBeginAllowThreads();
3004 (arg1)->SetMask(arg2);
3005
3006 wxPyEndAllowThreads(__tstate);
3007 if (PyErr_Occurred()) SWIG_fail;
3008 }
3009 Py_INCREF(Py_None); resultobj = Py_None;
3010 return resultobj;
3011 fail:
3012 return NULL;
3013}
3014
3015
3016static PyObject *_wrap_Bitmap_SetMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3017 PyObject *resultobj;
3018 wxBitmap *arg1 = (wxBitmap *) 0 ;
3019 wxColour *arg2 = 0 ;
3020 wxColour temp2 ;
3021 PyObject * obj0 = 0 ;
3022 PyObject * obj1 = 0 ;
3023 char *kwnames[] = {
3024 (char *) "self",(char *) "colour", NULL
3025 };
3026
3027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetMaskColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3030 {
3031 arg2 = &temp2;
3032 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3033 }
3034 {
3035 PyThreadState* __tstate = wxPyBeginAllowThreads();
3036 wxBitmap_SetMaskColour(arg1,(wxColour const &)*arg2);
3037
3038 wxPyEndAllowThreads(__tstate);
3039 if (PyErr_Occurred()) SWIG_fail;
3040 }
3041 Py_INCREF(Py_None); resultobj = Py_None;
3042 return resultobj;
3043 fail:
3044 return NULL;
3045}
3046
3047
3048static PyObject *_wrap_Bitmap_GetSubBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3049 PyObject *resultobj;
3050 wxBitmap *arg1 = (wxBitmap *) 0 ;
3051 wxRect *arg2 = 0 ;
3052 SwigValueWrapper< wxBitmap > result;
3053 wxRect temp2 ;
3054 PyObject * obj0 = 0 ;
3055 PyObject * obj1 = 0 ;
3056 char *kwnames[] = {
3057 (char *) "self",(char *) "rect", NULL
3058 };
3059
3060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_GetSubBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3063 {
3064 arg2 = &temp2;
3065 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3066 }
3067 {
3068 PyThreadState* __tstate = wxPyBeginAllowThreads();
3069 result = ((wxBitmap const *)arg1)->GetSubBitmap((wxRect const &)*arg2);
3070
3071 wxPyEndAllowThreads(__tstate);
3072 if (PyErr_Occurred()) SWIG_fail;
3073 }
3074 {
3075 wxBitmap * resultptr;
3076 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 3077 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
3078 }
3079 return resultobj;
3080 fail:
3081 return NULL;
3082}
3083
3084
3085static PyObject *_wrap_Bitmap_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
3086 PyObject *resultobj;
3087 wxBitmap *arg1 = (wxBitmap *) 0 ;
3088 wxString *arg2 = 0 ;
3089 int arg3 ;
66c033b4 3090 wxPalette *arg4 = (wxPalette *) NULL ;
d14a1e28 3091 bool result;
e811c8ce 3092 bool temp2 = False ;
d14a1e28
RD
3093 PyObject * obj0 = 0 ;
3094 PyObject * obj1 = 0 ;
994141e6 3095 PyObject * obj2 = 0 ;
d14a1e28
RD
3096 PyObject * obj3 = 0 ;
3097 char *kwnames[] = {
3098 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3099 };
3100
994141e6 3101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Bitmap_SaveFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
3102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3104 {
3105 arg2 = wxString_in_helper(obj1);
3106 if (arg2 == NULL) SWIG_fail;
e811c8ce 3107 temp2 = True;
d14a1e28 3108 }
15afbcd0
RD
3109 arg3 = (wxBitmapType) SWIG_AsInt(obj2);
3110 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3111 if (obj3) {
15afbcd0
RD
3112 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxPalette,
3113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3114 }
3115 {
3116 PyThreadState* __tstate = wxPyBeginAllowThreads();
3117 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxBitmapType )arg3,arg4);
3118
3119 wxPyEndAllowThreads(__tstate);
3120 if (PyErr_Occurred()) SWIG_fail;
3121 }
4f89f6a3
RD
3122 {
3123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3124 }
d14a1e28
RD
3125 {
3126 if (temp2)
3127 delete arg2;
3128 }
3129 return resultobj;
3130 fail:
3131 {
3132 if (temp2)
3133 delete arg2;
3134 }
3135 return NULL;
3136}
3137
3138
3139static PyObject *_wrap_Bitmap_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
3140 PyObject *resultobj;
3141 wxBitmap *arg1 = (wxBitmap *) 0 ;
3142 wxString *arg2 = 0 ;
3143 int arg3 ;
3144 bool result;
e811c8ce 3145 bool temp2 = False ;
d14a1e28
RD
3146 PyObject * obj0 = 0 ;
3147 PyObject * obj1 = 0 ;
994141e6 3148 PyObject * obj2 = 0 ;
d14a1e28
RD
3149 char *kwnames[] = {
3150 (char *) "self",(char *) "name",(char *) "type", NULL
3151 };
3152
994141e6 3153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Bitmap_LoadFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3156 {
3157 arg2 = wxString_in_helper(obj1);
3158 if (arg2 == NULL) SWIG_fail;
e811c8ce 3159 temp2 = True;
d14a1e28 3160 }
15afbcd0
RD
3161 arg3 = (wxBitmapType) SWIG_AsInt(obj2);
3162 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3163 {
3164 PyThreadState* __tstate = wxPyBeginAllowThreads();
3165 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxBitmapType )arg3);
3166
3167 wxPyEndAllowThreads(__tstate);
3168 if (PyErr_Occurred()) SWIG_fail;
3169 }
4f89f6a3
RD
3170 {
3171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3172 }
d14a1e28
RD
3173 {
3174 if (temp2)
3175 delete arg2;
3176 }
3177 return resultobj;
3178 fail:
3179 {
3180 if (temp2)
3181 delete arg2;
3182 }
3183 return NULL;
3184}
3185
3186
3187static PyObject *_wrap_Bitmap_CopyFromIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
3188 PyObject *resultobj;
3189 wxBitmap *arg1 = (wxBitmap *) 0 ;
3190 wxIcon *arg2 = 0 ;
3191 bool result;
3192 PyObject * obj0 = 0 ;
3193 PyObject * obj1 = 0 ;
3194 char *kwnames[] = {
3195 (char *) "self",(char *) "icon", NULL
3196 };
3197
3198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_CopyFromIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3201 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
3202 SWIG_POINTER_EXCEPTION | 0)) == -1)
3203 SWIG_fail;
d14a1e28 3204 if (arg2 == NULL) {
15afbcd0
RD
3205 PyErr_SetString(PyExc_TypeError,"null reference");
3206 SWIG_fail;
d14a1e28
RD
3207 }
3208 {
3209 PyThreadState* __tstate = wxPyBeginAllowThreads();
3210 result = (bool)(arg1)->CopyFromIcon((wxIcon const &)*arg2);
3211
3212 wxPyEndAllowThreads(__tstate);
3213 if (PyErr_Occurred()) SWIG_fail;
3214 }
4f89f6a3
RD
3215 {
3216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3217 }
d14a1e28
RD
3218 return resultobj;
3219 fail:
3220 return NULL;
3221}
3222
3223
3224static PyObject *_wrap_Bitmap_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3225 PyObject *resultobj;
3226 wxBitmap *arg1 = (wxBitmap *) 0 ;
3227 int arg2 ;
3228 PyObject * obj0 = 0 ;
994141e6 3229 PyObject * obj1 = 0 ;
d14a1e28
RD
3230 char *kwnames[] = {
3231 (char *) "self",(char *) "height", NULL
3232 };
3233
994141e6 3234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3237 arg2 = (int) SWIG_AsInt(obj1);
3238 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3239 {
3240 PyThreadState* __tstate = wxPyBeginAllowThreads();
3241 (arg1)->SetHeight(arg2);
3242
3243 wxPyEndAllowThreads(__tstate);
3244 if (PyErr_Occurred()) SWIG_fail;
3245 }
3246 Py_INCREF(Py_None); resultobj = Py_None;
3247 return resultobj;
3248 fail:
3249 return NULL;
3250}
3251
3252
3253static PyObject *_wrap_Bitmap_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3254 PyObject *resultobj;
3255 wxBitmap *arg1 = (wxBitmap *) 0 ;
3256 int arg2 ;
3257 PyObject * obj0 = 0 ;
994141e6 3258 PyObject * obj1 = 0 ;
d14a1e28
RD
3259 char *kwnames[] = {
3260 (char *) "self",(char *) "width", NULL
3261 };
3262
994141e6 3263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3266 arg2 = (int) SWIG_AsInt(obj1);
3267 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3268 {
3269 PyThreadState* __tstate = wxPyBeginAllowThreads();
3270 (arg1)->SetWidth(arg2);
3271
3272 wxPyEndAllowThreads(__tstate);
3273 if (PyErr_Occurred()) SWIG_fail;
3274 }
3275 Py_INCREF(Py_None); resultobj = Py_None;
3276 return resultobj;
3277 fail:
3278 return NULL;
3279}
3280
3281
3282static PyObject *_wrap_Bitmap_SetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3283 PyObject *resultobj;
3284 wxBitmap *arg1 = (wxBitmap *) 0 ;
3285 int arg2 ;
3286 PyObject * obj0 = 0 ;
994141e6 3287 PyObject * obj1 = 0 ;
d14a1e28
RD
3288 char *kwnames[] = {
3289 (char *) "self",(char *) "depth", NULL
3290 };
3291
994141e6 3292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetDepth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3295 arg2 = (int) SWIG_AsInt(obj1);
3296 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3297 {
3298 PyThreadState* __tstate = wxPyBeginAllowThreads();
3299 (arg1)->SetDepth(arg2);
3300
3301 wxPyEndAllowThreads(__tstate);
3302 if (PyErr_Occurred()) SWIG_fail;
3303 }
3304 Py_INCREF(Py_None); resultobj = Py_None;
3305 return resultobj;
3306 fail:
3307 return NULL;
3308}
3309
3310
b2df227b
RD
3311static PyObject *_wrap_Bitmap_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3312 PyObject *resultobj;
3313 wxBitmap *arg1 = (wxBitmap *) 0 ;
3314 wxSize *arg2 = 0 ;
3315 wxSize temp2 ;
3316 PyObject * obj0 = 0 ;
3317 PyObject * obj1 = 0 ;
3318 char *kwnames[] = {
3319 (char *) "self",(char *) "size", NULL
3320 };
3321
3322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap_SetSize",kwnames,&obj0,&obj1)) goto fail;
3323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3325 {
3326 arg2 = &temp2;
3327 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3328 }
3329 {
3330 PyThreadState* __tstate = wxPyBeginAllowThreads();
3331 wxBitmap_SetSize(arg1,(wxSize const &)*arg2);
3332
3333 wxPyEndAllowThreads(__tstate);
3334 if (PyErr_Occurred()) SWIG_fail;
3335 }
3336 Py_INCREF(Py_None); resultobj = Py_None;
3337 return resultobj;
3338 fail:
3339 return NULL;
3340}
3341
3342
4276dc52
RD
3343static PyObject *_wrap_Bitmap___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
3344 PyObject *resultobj;
3345 wxBitmap *arg1 = (wxBitmap *) 0 ;
3346 wxBitmap *arg2 = (wxBitmap *) 0 ;
3347 bool result;
3348 PyObject * obj0 = 0 ;
3349 PyObject * obj1 = 0 ;
3350 char *kwnames[] = {
3351 (char *) "self",(char *) "other", NULL
3352 };
3353
3354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap___eq__",kwnames,&obj0,&obj1)) goto fail;
3355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3357 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
3358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3359 {
3360 PyThreadState* __tstate = wxPyBeginAllowThreads();
3361 result = (bool)wxBitmap___eq__(arg1,(wxBitmap const *)arg2);
3362
3363 wxPyEndAllowThreads(__tstate);
3364 if (PyErr_Occurred()) SWIG_fail;
3365 }
4f89f6a3
RD
3366 {
3367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3368 }
4276dc52
RD
3369 return resultobj;
3370 fail:
3371 return NULL;
3372}
3373
3374
3375static PyObject *_wrap_Bitmap___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
3376 PyObject *resultobj;
3377 wxBitmap *arg1 = (wxBitmap *) 0 ;
3378 wxBitmap *arg2 = (wxBitmap *) 0 ;
3379 bool result;
3380 PyObject * obj0 = 0 ;
3381 PyObject * obj1 = 0 ;
3382 char *kwnames[] = {
3383 (char *) "self",(char *) "other", NULL
3384 };
3385
3386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Bitmap___ne__",kwnames,&obj0,&obj1)) goto fail;
3387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3389 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
3390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3391 {
3392 PyThreadState* __tstate = wxPyBeginAllowThreads();
3393 result = (bool)wxBitmap___ne__(arg1,(wxBitmap const *)arg2);
3394
3395 wxPyEndAllowThreads(__tstate);
3396 if (PyErr_Occurred()) SWIG_fail;
3397 }
4f89f6a3
RD
3398 {
3399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3400 }
4276dc52
RD
3401 return resultobj;
3402 fail:
3403 return NULL;
3404}
3405
3406
d14a1e28
RD
3407static PyObject * Bitmap_swigregister(PyObject *self, PyObject *args) {
3408 PyObject *obj;
3409 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3410 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap, obj);
3411 Py_INCREF(obj);
3412 return Py_BuildValue((char *)"");
3413}
3414static PyObject *_wrap_new_Mask(PyObject *self, PyObject *args, PyObject *kwargs) {
3415 PyObject *resultobj;
3416 wxBitmap *arg1 = 0 ;
0482c494
RD
3417 wxColour const &arg2_defvalue = wxNullColour ;
3418 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
d14a1e28
RD
3419 wxMask *result;
3420 wxColour temp2 ;
3421 PyObject * obj0 = 0 ;
3422 PyObject * obj1 = 0 ;
3423 char *kwnames[] = {
3424 (char *) "bitmap",(char *) "colour", NULL
3425 };
3426
0482c494 3427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Mask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3429 SWIG_POINTER_EXCEPTION | 0)) == -1)
3430 SWIG_fail;
d14a1e28 3431 if (arg1 == NULL) {
15afbcd0
RD
3432 PyErr_SetString(PyExc_TypeError,"null reference");
3433 SWIG_fail;
d14a1e28 3434 }
0482c494
RD
3435 if (obj1) {
3436 {
3437 arg2 = &temp2;
3438 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3439 }
d14a1e28
RD
3440 }
3441 {
3442 PyThreadState* __tstate = wxPyBeginAllowThreads();
0482c494 3443 result = (wxMask *)new_wxMask((wxBitmap const &)*arg1,(wxColour const &)*arg2);
d14a1e28
RD
3444
3445 wxPyEndAllowThreads(__tstate);
3446 if (PyErr_Occurred()) SWIG_fail;
3447 }
15afbcd0 3448 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMask, 1);
d14a1e28
RD
3449 return resultobj;
3450 fail:
3451 return NULL;
3452}
3453
3454
3455static PyObject * Mask_swigregister(PyObject *self, PyObject *args) {
3456 PyObject *obj;
3457 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3458 SWIG_TypeClientData(SWIGTYPE_p_wxMask, obj);
3459 Py_INCREF(obj);
3460 return Py_BuildValue((char *)"");
3461}
3462static PyObject *_wrap_new_Icon(PyObject *self, PyObject *args, PyObject *kwargs) {
3463 PyObject *resultobj;
3464 wxString *arg1 = 0 ;
f87da722 3465 int arg2 ;
d14a1e28
RD
3466 int arg3 = (int) -1 ;
3467 int arg4 = (int) -1 ;
3468 wxIcon *result;
e811c8ce 3469 bool temp1 = False ;
d14a1e28 3470 PyObject * obj0 = 0 ;
994141e6
RD
3471 PyObject * obj1 = 0 ;
3472 PyObject * obj2 = 0 ;
3473 PyObject * obj3 = 0 ;
d14a1e28 3474 char *kwnames[] = {
f87da722 3475 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
d14a1e28
RD
3476 };
3477
994141e6 3478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_Icon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
3479 {
3480 arg1 = wxString_in_helper(obj0);
3481 if (arg1 == NULL) SWIG_fail;
e811c8ce 3482 temp1 = True;
d14a1e28 3483 }
15afbcd0
RD
3484 arg2 = (wxBitmapType) SWIG_AsInt(obj1);
3485 if (PyErr_Occurred()) SWIG_fail;
994141e6 3486 if (obj2) {
15afbcd0
RD
3487 arg3 = (int) SWIG_AsInt(obj2);
3488 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3489 }
3490 if (obj3) {
15afbcd0
RD
3491 arg4 = (int) SWIG_AsInt(obj3);
3492 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3493 }
3494 {
3495 PyThreadState* __tstate = wxPyBeginAllowThreads();
3496 result = (wxIcon *)new wxIcon((wxString const &)*arg1,(wxBitmapType )arg2,arg3,arg4);
3497
3498 wxPyEndAllowThreads(__tstate);
d14a1e28
RD
3499 if (PyErr_Occurred()) SWIG_fail;
3500 }
15afbcd0 3501 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
3502 {
3503 if (temp1)
3504 delete arg1;
3505 }
3506 return resultobj;
3507 fail:
3508 {
3509 if (temp1)
3510 delete arg1;
3511 }
3512 return NULL;
3513}
3514
3515
3516static PyObject *_wrap_delete_Icon(PyObject *self, PyObject *args, PyObject *kwargs) {
3517 PyObject *resultobj;
3518 wxIcon *arg1 = (wxIcon *) 0 ;
3519 PyObject * obj0 = 0 ;
3520 char *kwnames[] = {
3521 (char *) "self", NULL
3522 };
3523
3524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Icon",kwnames,&obj0)) goto fail;
15afbcd0
RD
3525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3527 {
3528 PyThreadState* __tstate = wxPyBeginAllowThreads();
3529 delete arg1;
3530
3531 wxPyEndAllowThreads(__tstate);
3532 if (PyErr_Occurred()) SWIG_fail;
3533 }
3534 Py_INCREF(Py_None); resultobj = Py_None;
3535 return resultobj;
3536 fail:
3537 return NULL;
3538}
3539
3540
3541static PyObject *_wrap_new_EmptyIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
3542 PyObject *resultobj;
3543 wxIcon *result;
3544 char *kwnames[] = {
3545 NULL
3546 };
3547
3548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EmptyIcon",kwnames)) goto fail;
3549 {
3550 PyThreadState* __tstate = wxPyBeginAllowThreads();
3551 result = (wxIcon *)new wxIcon();
3552
3553 wxPyEndAllowThreads(__tstate);
3554 if (PyErr_Occurred()) SWIG_fail;
3555 }
15afbcd0 3556 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
3557 return resultobj;
3558 fail:
3559 return NULL;
3560}
3561
3562
3563static PyObject *_wrap_new_IconFromLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
3564 PyObject *resultobj;
3565 wxIconLocation *arg1 = 0 ;
3566 wxIcon *result;
3567 PyObject * obj0 = 0 ;
3568 char *kwnames[] = {
3569 (char *) "loc", NULL
3570 };
3571
3572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconFromLocation",kwnames,&obj0)) goto fail;
15afbcd0
RD
3573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
3574 SWIG_POINTER_EXCEPTION | 0)) == -1)
3575 SWIG_fail;
d14a1e28 3576 if (arg1 == NULL) {
15afbcd0
RD
3577 PyErr_SetString(PyExc_TypeError,"null reference");
3578 SWIG_fail;
d14a1e28
RD
3579 }
3580 {
3581 PyThreadState* __tstate = wxPyBeginAllowThreads();
3582 result = (wxIcon *)new wxIcon((wxIconLocation const &)*arg1);
3583
3584 wxPyEndAllowThreads(__tstate);
3585 if (PyErr_Occurred()) SWIG_fail;
3586 }
15afbcd0 3587 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
3588 return resultobj;
3589 fail:
3590 return NULL;
3591}
3592
3593
3594static PyObject *_wrap_new_IconFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3595 PyObject *resultobj;
3596 wxBitmap *arg1 = 0 ;
3597 wxIcon *result;
3598 PyObject * obj0 = 0 ;
3599 char *kwnames[] = {
3600 (char *) "bmp", NULL
3601 };
3602
3603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconFromBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
3604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
3605 SWIG_POINTER_EXCEPTION | 0)) == -1)
3606 SWIG_fail;
d14a1e28 3607 if (arg1 == NULL) {
15afbcd0
RD
3608 PyErr_SetString(PyExc_TypeError,"null reference");
3609 SWIG_fail;
d14a1e28
RD
3610 }
3611 {
3612 PyThreadState* __tstate = wxPyBeginAllowThreads();
3613 result = (wxIcon *)new_wxIcon((wxBitmap const &)*arg1);
3614
3615 wxPyEndAllowThreads(__tstate);
3616 if (PyErr_Occurred()) SWIG_fail;
3617 }
15afbcd0 3618 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
3619 return resultobj;
3620 fail:
3621 return NULL;
3622}
3623
3624
3625static PyObject *_wrap_new_IconFromXPMData(PyObject *self, PyObject *args, PyObject *kwargs) {
3626 PyObject *resultobj;
3627 PyObject *arg1 = (PyObject *) 0 ;
3628 wxIcon *result;
3629 PyObject * obj0 = 0 ;
3630 char *kwnames[] = {
3631 (char *) "listOfStrings", NULL
3632 };
3633
3634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconFromXPMData",kwnames,&obj0)) goto fail;
3635 arg1 = obj0;
3636 {
3637 PyThreadState* __tstate = wxPyBeginAllowThreads();
3638 result = (wxIcon *)new_wxIcon(arg1);
3639
3640 wxPyEndAllowThreads(__tstate);
3641 if (PyErr_Occurred()) SWIG_fail;
3642 }
15afbcd0 3643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
3644 return resultobj;
3645 fail:
3646 return NULL;
3647}
3648
3649
3650static PyObject *_wrap_Icon_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
3651 PyObject *resultobj;
3652 wxIcon *arg1 = (wxIcon *) 0 ;
3653 wxString *arg2 = 0 ;
f87da722 3654 int arg3 ;
d14a1e28 3655 bool result;
e811c8ce 3656 bool temp2 = False ;
d14a1e28
RD
3657 PyObject * obj0 = 0 ;
3658 PyObject * obj1 = 0 ;
994141e6 3659 PyObject * obj2 = 0 ;
d14a1e28 3660 char *kwnames[] = {
f87da722 3661 (char *) "self",(char *) "name",(char *) "type", NULL
d14a1e28
RD
3662 };
3663
994141e6 3664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Icon_LoadFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3667 {
3668 arg2 = wxString_in_helper(obj1);
3669 if (arg2 == NULL) SWIG_fail;
e811c8ce 3670 temp2 = True;
d14a1e28 3671 }
15afbcd0
RD
3672 arg3 = (wxBitmapType) SWIG_AsInt(obj2);
3673 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3674 {
3675 PyThreadState* __tstate = wxPyBeginAllowThreads();
f87da722 3676 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxBitmapType )arg3);
d14a1e28
RD
3677
3678 wxPyEndAllowThreads(__tstate);
3679 if (PyErr_Occurred()) SWIG_fail;
3680 }
4f89f6a3
RD
3681 {
3682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3683 }
d14a1e28
RD
3684 {
3685 if (temp2)
3686 delete arg2;
3687 }
3688 return resultobj;
3689 fail:
3690 {
3691 if (temp2)
3692 delete arg2;
3693 }
3694 return NULL;
3695}
3696
3697
3698static PyObject *_wrap_Icon_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
3699 PyObject *resultobj;
3700 wxIcon *arg1 = (wxIcon *) 0 ;
3701 bool result;
3702 PyObject * obj0 = 0 ;
3703 char *kwnames[] = {
3704 (char *) "self", NULL
3705 };
3706
3707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
3708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3710 {
3711 PyThreadState* __tstate = wxPyBeginAllowThreads();
3712 result = (bool)(arg1)->Ok();
3713
3714 wxPyEndAllowThreads(__tstate);
3715 if (PyErr_Occurred()) SWIG_fail;
3716 }
4f89f6a3
RD
3717 {
3718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3719 }
d14a1e28
RD
3720 return resultobj;
3721 fail:
3722 return NULL;
3723}
3724
3725
3726static PyObject *_wrap_Icon_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3727 PyObject *resultobj;
3728 wxIcon *arg1 = (wxIcon *) 0 ;
3729 int result;
3730 PyObject * obj0 = 0 ;
3731 char *kwnames[] = {
3732 (char *) "self", NULL
3733 };
3734
3735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
3736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3738 {
3739 PyThreadState* __tstate = wxPyBeginAllowThreads();
3740 result = (int)(arg1)->GetWidth();
3741
3742 wxPyEndAllowThreads(__tstate);
3743 if (PyErr_Occurred()) SWIG_fail;
3744 }
15afbcd0 3745 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3746 return resultobj;
3747 fail:
3748 return NULL;
3749}
3750
3751
3752static PyObject *_wrap_Icon_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3753 PyObject *resultobj;
3754 wxIcon *arg1 = (wxIcon *) 0 ;
3755 int result;
3756 PyObject * obj0 = 0 ;
3757 char *kwnames[] = {
3758 (char *) "self", NULL
3759 };
3760
3761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
3762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3764 {
3765 PyThreadState* __tstate = wxPyBeginAllowThreads();
3766 result = (int)(arg1)->GetHeight();
3767
3768 wxPyEndAllowThreads(__tstate);
3769 if (PyErr_Occurred()) SWIG_fail;
3770 }
15afbcd0 3771 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3772 return resultobj;
3773 fail:
3774 return NULL;
3775}
3776
3777
3778static PyObject *_wrap_Icon_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3779 PyObject *resultobj;
3780 wxIcon *arg1 = (wxIcon *) 0 ;
3781 int result;
3782 PyObject * obj0 = 0 ;
3783 char *kwnames[] = {
3784 (char *) "self", NULL
3785 };
3786
3787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Icon_GetDepth",kwnames,&obj0)) goto fail;
15afbcd0
RD
3788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3790 {
3791 PyThreadState* __tstate = wxPyBeginAllowThreads();
3792 result = (int)(arg1)->GetDepth();
3793
3794 wxPyEndAllowThreads(__tstate);
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
15afbcd0 3797 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3798 return resultobj;
3799 fail:
3800 return NULL;
3801}
3802
3803
3804static PyObject *_wrap_Icon_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3805 PyObject *resultobj;
3806 wxIcon *arg1 = (wxIcon *) 0 ;
3807 int arg2 ;
3808 PyObject * obj0 = 0 ;
994141e6 3809 PyObject * obj1 = 0 ;
d14a1e28
RD
3810 char *kwnames[] = {
3811 (char *) "self",(char *) "w", NULL
3812 };
3813
994141e6 3814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3817 arg2 = (int) SWIG_AsInt(obj1);
3818 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3819 {
3820 PyThreadState* __tstate = wxPyBeginAllowThreads();
3821 (arg1)->SetWidth(arg2);
3822
3823 wxPyEndAllowThreads(__tstate);
3824 if (PyErr_Occurred()) SWIG_fail;
3825 }
3826 Py_INCREF(Py_None); resultobj = Py_None;
3827 return resultobj;
3828 fail:
3829 return NULL;
3830}
3831
3832
3833static PyObject *_wrap_Icon_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3834 PyObject *resultobj;
3835 wxIcon *arg1 = (wxIcon *) 0 ;
3836 int arg2 ;
3837 PyObject * obj0 = 0 ;
994141e6 3838 PyObject * obj1 = 0 ;
d14a1e28
RD
3839 char *kwnames[] = {
3840 (char *) "self",(char *) "h", NULL
3841 };
3842
994141e6 3843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_SetHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3846 arg2 = (int) SWIG_AsInt(obj1);
3847 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3848 {
3849 PyThreadState* __tstate = wxPyBeginAllowThreads();
3850 (arg1)->SetHeight(arg2);
3851
3852 wxPyEndAllowThreads(__tstate);
3853 if (PyErr_Occurred()) SWIG_fail;
3854 }
3855 Py_INCREF(Py_None); resultobj = Py_None;
3856 return resultobj;
3857 fail:
3858 return NULL;
3859}
3860
3861
3862static PyObject *_wrap_Icon_SetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3863 PyObject *resultobj;
3864 wxIcon *arg1 = (wxIcon *) 0 ;
3865 int arg2 ;
3866 PyObject * obj0 = 0 ;
994141e6 3867 PyObject * obj1 = 0 ;
d14a1e28
RD
3868 char *kwnames[] = {
3869 (char *) "self",(char *) "d", NULL
3870 };
3871
994141e6 3872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_SetDepth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3875 arg2 = (int) SWIG_AsInt(obj1);
3876 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3877 {
3878 PyThreadState* __tstate = wxPyBeginAllowThreads();
3879 (arg1)->SetDepth(arg2);
3880
3881 wxPyEndAllowThreads(__tstate);
3882 if (PyErr_Occurred()) SWIG_fail;
3883 }
3884 Py_INCREF(Py_None); resultobj = Py_None;
3885 return resultobj;
3886 fail:
3887 return NULL;
3888}
3889
3890
3891static PyObject *_wrap_Icon_CopyFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3892 PyObject *resultobj;
3893 wxIcon *arg1 = (wxIcon *) 0 ;
3894 wxBitmap *arg2 = 0 ;
3895 PyObject * obj0 = 0 ;
3896 PyObject * obj1 = 0 ;
3897 char *kwnames[] = {
3898 (char *) "self",(char *) "bmp", NULL
3899 };
3900
3901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Icon_CopyFromBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
3903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3904 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
3905 SWIG_POINTER_EXCEPTION | 0)) == -1)
3906 SWIG_fail;
d14a1e28 3907 if (arg2 == NULL) {
15afbcd0
RD
3908 PyErr_SetString(PyExc_TypeError,"null reference");
3909 SWIG_fail;
d14a1e28
RD
3910 }
3911 {
3912 PyThreadState* __tstate = wxPyBeginAllowThreads();
3913 (arg1)->CopyFromBitmap((wxBitmap const &)*arg2);
3914
3915 wxPyEndAllowThreads(__tstate);
3916 if (PyErr_Occurred()) SWIG_fail;
3917 }
3918 Py_INCREF(Py_None); resultobj = Py_None;
3919 return resultobj;
3920 fail:
3921 return NULL;
3922}
3923
3924
3925static PyObject * Icon_swigregister(PyObject *self, PyObject *args) {
3926 PyObject *obj;
3927 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3928 SWIG_TypeClientData(SWIGTYPE_p_wxIcon, obj);
3929 Py_INCREF(obj);
3930 return Py_BuildValue((char *)"");
3931}
3932static PyObject *_wrap_new_IconLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
3933 PyObject *resultobj;
3934 wxString *arg1 = (wxString *) &wxPyEmptyString ;
3935 int arg2 = (int) 0 ;
3936 wxIconLocation *result;
7eae615b 3937 bool temp1 = False ;
d14a1e28 3938 PyObject * obj0 = 0 ;
994141e6 3939 PyObject * obj1 = 0 ;
d14a1e28
RD
3940 char *kwnames[] = {
3941 (char *) "filename",(char *) "num", NULL
3942 };
3943
994141e6 3944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconLocation",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 3945 if (obj0) {
7eae615b
RD
3946 {
3947 arg1 = wxString_in_helper(obj0);
3948 if (arg1 == NULL) SWIG_fail;
3949 temp1 = True;
3950 }
d14a1e28 3951 }
994141e6 3952 if (obj1) {
15afbcd0
RD
3953 arg2 = (int) SWIG_AsInt(obj1);
3954 if (PyErr_Occurred()) SWIG_fail;
994141e6 3955 }
d14a1e28
RD
3956 {
3957 PyThreadState* __tstate = wxPyBeginAllowThreads();
3958 result = (wxIconLocation *)new_wxIconLocation((wxString const *)arg1,arg2);
3959
3960 wxPyEndAllowThreads(__tstate);
3961 if (PyErr_Occurred()) SWIG_fail;
3962 }
15afbcd0 3963 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconLocation, 1);
7eae615b
RD
3964 {
3965 if (temp1)
3966 delete arg1;
3967 }
d14a1e28
RD
3968 return resultobj;
3969 fail:
7eae615b
RD
3970 {
3971 if (temp1)
3972 delete arg1;
3973 }
d14a1e28
RD
3974 return NULL;
3975}
3976
3977
3978static PyObject *_wrap_delete_IconLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
3979 PyObject *resultobj;
3980 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
3981 PyObject * obj0 = 0 ;
3982 char *kwnames[] = {
3983 (char *) "self", NULL
3984 };
3985
3986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_IconLocation",kwnames,&obj0)) goto fail;
15afbcd0
RD
3987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
3988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3989 {
3990 PyThreadState* __tstate = wxPyBeginAllowThreads();
3991 delete arg1;
3992
3993 wxPyEndAllowThreads(__tstate);
3994 if (PyErr_Occurred()) SWIG_fail;
3995 }
3996 Py_INCREF(Py_None); resultobj = Py_None;
3997 return resultobj;
3998 fail:
3999 return NULL;
4000}
4001
4002
4003static PyObject *_wrap_IconLocation_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4004 PyObject *resultobj;
4005 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4006 bool result;
4007 PyObject * obj0 = 0 ;
4008 char *kwnames[] = {
4009 (char *) "self", NULL
4010 };
4011
4012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconLocation_IsOk",kwnames,&obj0)) goto fail;
15afbcd0
RD
4013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4015 {
4016 PyThreadState* __tstate = wxPyBeginAllowThreads();
4017 result = (bool)((wxIconLocation const *)arg1)->IsOk();
4018
4019 wxPyEndAllowThreads(__tstate);
4020 if (PyErr_Occurred()) SWIG_fail;
4021 }
4f89f6a3
RD
4022 {
4023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4024 }
d14a1e28
RD
4025 return resultobj;
4026 fail:
4027 return NULL;
4028}
4029
4030
4031static PyObject *_wrap_IconLocation_SetFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
4032 PyObject *resultobj;
4033 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4034 wxString *arg2 = 0 ;
e811c8ce 4035 bool temp2 = False ;
d14a1e28
RD
4036 PyObject * obj0 = 0 ;
4037 PyObject * obj1 = 0 ;
4038 char *kwnames[] = {
4039 (char *) "self",(char *) "filename", NULL
4040 };
4041
4042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconLocation_SetFileName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4045 {
4046 arg2 = wxString_in_helper(obj1);
4047 if (arg2 == NULL) SWIG_fail;
e811c8ce 4048 temp2 = True;
d14a1e28
RD
4049 }
4050 {
4051 PyThreadState* __tstate = wxPyBeginAllowThreads();
4052 (arg1)->SetFileName((wxString const &)*arg2);
4053
4054 wxPyEndAllowThreads(__tstate);
4055 if (PyErr_Occurred()) SWIG_fail;
4056 }
4057 Py_INCREF(Py_None); resultobj = Py_None;
4058 {
4059 if (temp2)
4060 delete arg2;
4061 }
4062 return resultobj;
4063 fail:
4064 {
4065 if (temp2)
4066 delete arg2;
4067 }
4068 return NULL;
4069}
4070
4071
4072static PyObject *_wrap_IconLocation_GetFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
4073 PyObject *resultobj;
4074 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4075 wxString *result;
4076 PyObject * obj0 = 0 ;
4077 char *kwnames[] = {
4078 (char *) "self", NULL
4079 };
4080
4081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconLocation_GetFileName",kwnames,&obj0)) goto fail;
15afbcd0
RD
4082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4084 {
4085 PyThreadState* __tstate = wxPyBeginAllowThreads();
4086 {
4087 wxString const &_result_ref = ((wxIconLocation const *)arg1)->GetFileName();
4088 result = (wxString *) &_result_ref;
4089 }
4090
4091 wxPyEndAllowThreads(__tstate);
4092 if (PyErr_Occurred()) SWIG_fail;
4093 }
cc6dd355
RD
4094 {
4095#if wxUSE_UNICODE
4096 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4097#else
4098 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4099#endif
4100 }
d14a1e28
RD
4101 return resultobj;
4102 fail:
4103 return NULL;
4104}
4105
4106
4107static PyObject *_wrap_IconLocation_SetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
4108 PyObject *resultobj;
4109 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4110 int arg2 ;
4111 PyObject * obj0 = 0 ;
994141e6 4112 PyObject * obj1 = 0 ;
d14a1e28
RD
4113 char *kwnames[] = {
4114 (char *) "self",(char *) "num", NULL
4115 };
4116
994141e6 4117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconLocation_SetIndex",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4120 arg2 = (int) SWIG_AsInt(obj1);
4121 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4122 {
4123 PyThreadState* __tstate = wxPyBeginAllowThreads();
4124 wxIconLocation_SetIndex(arg1,arg2);
4125
4126 wxPyEndAllowThreads(__tstate);
4127 if (PyErr_Occurred()) SWIG_fail;
4128 }
4129 Py_INCREF(Py_None); resultobj = Py_None;
4130 return resultobj;
4131 fail:
4132 return NULL;
4133}
4134
4135
4136static PyObject *_wrap_IconLocation_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
4137 PyObject *resultobj;
4138 wxIconLocation *arg1 = (wxIconLocation *) 0 ;
4139 int result;
4140 PyObject * obj0 = 0 ;
4141 char *kwnames[] = {
4142 (char *) "self", NULL
4143 };
4144
4145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconLocation_GetIndex",kwnames,&obj0)) goto fail;
15afbcd0
RD
4146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconLocation,
4147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4148 {
4149 PyThreadState* __tstate = wxPyBeginAllowThreads();
4150 result = (int)wxIconLocation_GetIndex(arg1);
4151
4152 wxPyEndAllowThreads(__tstate);
4153 if (PyErr_Occurred()) SWIG_fail;
4154 }
15afbcd0 4155 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4156 return resultobj;
4157 fail:
4158 return NULL;
4159}
4160
4161
4162static PyObject * IconLocation_swigregister(PyObject *self, PyObject *args) {
4163 PyObject *obj;
4164 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4165 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation, obj);
4166 Py_INCREF(obj);
4167 return Py_BuildValue((char *)"");
4168}
4169static PyObject *_wrap_new_IconBundle(PyObject *self, PyObject *args, PyObject *kwargs) {
4170 PyObject *resultobj;
4171 wxIconBundle *result;
4172 char *kwnames[] = {
4173 NULL
4174 };
4175
4176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IconBundle",kwnames)) goto fail;
4177 {
4178 PyThreadState* __tstate = wxPyBeginAllowThreads();
4179 result = (wxIconBundle *)new wxIconBundle();
4180
4181 wxPyEndAllowThreads(__tstate);
4182 if (PyErr_Occurred()) SWIG_fail;
4183 }
15afbcd0 4184 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconBundle, 1);
d14a1e28
RD
4185 return resultobj;
4186 fail:
4187 return NULL;
4188}
4189
4190
4191static PyObject *_wrap_new_IconBundleFromFile(PyObject *self, PyObject *args, PyObject *kwargs) {
4192 PyObject *resultobj;
4193 wxString *arg1 = 0 ;
4194 long arg2 ;
4195 wxIconBundle *result;
e811c8ce 4196 bool temp1 = False ;
d14a1e28 4197 PyObject * obj0 = 0 ;
994141e6 4198 PyObject * obj1 = 0 ;
d14a1e28
RD
4199 char *kwnames[] = {
4200 (char *) "file",(char *) "type", NULL
4201 };
4202
994141e6 4203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_IconBundleFromFile",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
4204 {
4205 arg1 = wxString_in_helper(obj0);
4206 if (arg1 == NULL) SWIG_fail;
e811c8ce 4207 temp1 = True;
d14a1e28 4208 }
15afbcd0
RD
4209 arg2 = (long) SWIG_AsLong(obj1);
4210 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4211 {
4212 PyThreadState* __tstate = wxPyBeginAllowThreads();
4213 result = (wxIconBundle *)new wxIconBundle((wxString const &)*arg1,arg2);
4214
4215 wxPyEndAllowThreads(__tstate);
4216 if (PyErr_Occurred()) SWIG_fail;
4217 }
15afbcd0 4218 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconBundle, 1);
d14a1e28
RD
4219 {
4220 if (temp1)
4221 delete arg1;
4222 }
4223 return resultobj;
4224 fail:
4225 {
4226 if (temp1)
4227 delete arg1;
4228 }
4229 return NULL;
4230}
4231
4232
4233static PyObject *_wrap_new_IconBundleFromIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4234 PyObject *resultobj;
4235 wxIcon *arg1 = 0 ;
4236 wxIconBundle *result;
4237 PyObject * obj0 = 0 ;
4238 char *kwnames[] = {
4239 (char *) "icon", NULL
4240 };
4241
4242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_IconBundleFromIcon",kwnames,&obj0)) goto fail;
15afbcd0
RD
4243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
4244 SWIG_POINTER_EXCEPTION | 0)) == -1)
4245 SWIG_fail;
d14a1e28 4246 if (arg1 == NULL) {
15afbcd0
RD
4247 PyErr_SetString(PyExc_TypeError,"null reference");
4248 SWIG_fail;
d14a1e28
RD
4249 }
4250 {
4251 PyThreadState* __tstate = wxPyBeginAllowThreads();
4252 result = (wxIconBundle *)new wxIconBundle((wxIcon const &)*arg1);
4253
4254 wxPyEndAllowThreads(__tstate);
4255 if (PyErr_Occurred()) SWIG_fail;
4256 }
15afbcd0 4257 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconBundle, 1);
d14a1e28
RD
4258 return resultobj;
4259 fail:
4260 return NULL;
4261}
4262
4263
4264static PyObject *_wrap_delete_IconBundle(PyObject *self, PyObject *args, PyObject *kwargs) {
4265 PyObject *resultobj;
4266 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
4267 PyObject * obj0 = 0 ;
4268 char *kwnames[] = {
4269 (char *) "self", NULL
4270 };
4271
4272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_IconBundle",kwnames,&obj0)) goto fail;
15afbcd0
RD
4273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconBundle,
4274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4275 {
4276 PyThreadState* __tstate = wxPyBeginAllowThreads();
4277 delete arg1;
4278
4279 wxPyEndAllowThreads(__tstate);
4280 if (PyErr_Occurred()) SWIG_fail;
4281 }
4282 Py_INCREF(Py_None); resultobj = Py_None;
4283 return resultobj;
4284 fail:
4285 return NULL;
4286}
4287
4288
4289static PyObject *_wrap_IconBundle_AddIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4290 PyObject *resultobj;
4291 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
4292 wxIcon *arg2 = 0 ;
4293 PyObject * obj0 = 0 ;
4294 PyObject * obj1 = 0 ;
4295 char *kwnames[] = {
4296 (char *) "self",(char *) "icon", NULL
4297 };
4298
4299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconBundle_AddIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconBundle,
4301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4302 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
4303 SWIG_POINTER_EXCEPTION | 0)) == -1)
4304 SWIG_fail;
d14a1e28 4305 if (arg2 == NULL) {
15afbcd0
RD
4306 PyErr_SetString(PyExc_TypeError,"null reference");
4307 SWIG_fail;
d14a1e28
RD
4308 }
4309 {
4310 PyThreadState* __tstate = wxPyBeginAllowThreads();
4311 (arg1)->AddIcon((wxIcon const &)*arg2);
4312
4313 wxPyEndAllowThreads(__tstate);
4314 if (PyErr_Occurred()) SWIG_fail;
4315 }
4316 Py_INCREF(Py_None); resultobj = Py_None;
4317 return resultobj;
4318 fail:
4319 return NULL;
4320}
4321
4322
4323static PyObject *_wrap_IconBundle_AddIconFromFile(PyObject *self, PyObject *args, PyObject *kwargs) {
4324 PyObject *resultobj;
4325 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
4326 wxString *arg2 = 0 ;
4327 long arg3 ;
e811c8ce 4328 bool temp2 = False ;
d14a1e28
RD
4329 PyObject * obj0 = 0 ;
4330 PyObject * obj1 = 0 ;
994141e6 4331 PyObject * obj2 = 0 ;
d14a1e28
RD
4332 char *kwnames[] = {
4333 (char *) "self",(char *) "file",(char *) "type", NULL
4334 };
4335
994141e6 4336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IconBundle_AddIconFromFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconBundle,
4338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4339 {
4340 arg2 = wxString_in_helper(obj1);
4341 if (arg2 == NULL) SWIG_fail;
e811c8ce 4342 temp2 = True;
d14a1e28 4343 }
15afbcd0
RD
4344 arg3 = (long) SWIG_AsLong(obj2);
4345 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4346 {
4347 PyThreadState* __tstate = wxPyBeginAllowThreads();
4348 (arg1)->AddIcon((wxString const &)*arg2,arg3);
4349
4350 wxPyEndAllowThreads(__tstate);
4351 if (PyErr_Occurred()) SWIG_fail;
4352 }
4353 Py_INCREF(Py_None); resultobj = Py_None;
4354 {
4355 if (temp2)
4356 delete arg2;
4357 }
4358 return resultobj;
4359 fail:
4360 {
4361 if (temp2)
4362 delete arg2;
4363 }
4364 return NULL;
4365}
4366
4367
4368static PyObject *_wrap_IconBundle_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4369 PyObject *resultobj;
4370 wxIconBundle *arg1 = (wxIconBundle *) 0 ;
4371 wxSize *arg2 = 0 ;
4372 wxIcon *result;
4373 wxSize temp2 ;
4374 PyObject * obj0 = 0 ;
4375 PyObject * obj1 = 0 ;
4376 char *kwnames[] = {
4377 (char *) "self",(char *) "size", NULL
4378 };
4379
4380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IconBundle_GetIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconBundle,
4382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4383 {
4384 arg2 = &temp2;
4385 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4386 }
4387 {
4388 PyThreadState* __tstate = wxPyBeginAllowThreads();
4389 {
4390 wxIcon const &_result_ref = ((wxIconBundle const *)arg1)->GetIcon((wxSize const &)*arg2);
4391 result = (wxIcon *) &_result_ref;
4392 }
4393
4394 wxPyEndAllowThreads(__tstate);
4395 if (PyErr_Occurred()) SWIG_fail;
4396 }
4276dc52
RD
4397 {
4398 wxIcon* resultptr = new wxIcon(*result);
4399 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxIcon, 1);
4400 }
d14a1e28
RD
4401 return resultobj;
4402 fail:
4403 return NULL;
4404}
4405
4406
4407static PyObject * IconBundle_swigregister(PyObject *self, PyObject *args) {
4408 PyObject *obj;
4409 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4410 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle, obj);
4411 Py_INCREF(obj);
4412 return Py_BuildValue((char *)"");
4413}
4414static PyObject *_wrap_new_Cursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4415 PyObject *resultobj;
4416 wxString *arg1 = (wxString *) 0 ;
4417 long arg2 ;
4418 int arg3 = (int) 0 ;
4419 int arg4 = (int) 0 ;
4420 wxCursor *result;
7eae615b 4421 bool temp1 = False ;
d14a1e28 4422 PyObject * obj0 = 0 ;
994141e6
RD
4423 PyObject * obj1 = 0 ;
4424 PyObject * obj2 = 0 ;
4425 PyObject * obj3 = 0 ;
d14a1e28 4426 char *kwnames[] = {
15afbcd0 4427 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
d14a1e28
RD
4428 };
4429
994141e6 4430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_Cursor",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7eae615b
RD
4431 {
4432 arg1 = wxString_in_helper(obj0);
4433 if (arg1 == NULL) SWIG_fail;
4434 temp1 = True;
4435 }
15afbcd0
RD
4436 arg2 = (long) SWIG_AsLong(obj1);
4437 if (PyErr_Occurred()) SWIG_fail;
994141e6 4438 if (obj2) {
15afbcd0
RD
4439 arg3 = (int) SWIG_AsInt(obj2);
4440 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4441 }
4442 if (obj3) {
15afbcd0
RD
4443 arg4 = (int) SWIG_AsInt(obj3);
4444 if (PyErr_Occurred()) SWIG_fail;
994141e6 4445 }
d14a1e28
RD
4446 {
4447 PyThreadState* __tstate = wxPyBeginAllowThreads();
4448 result = (wxCursor *)new_wxCursor((wxString const *)arg1,arg2,arg3,arg4);
4449
4450 wxPyEndAllowThreads(__tstate);
4451 if (PyErr_Occurred()) SWIG_fail;
4452 }
15afbcd0 4453 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCursor, 1);
7eae615b
RD
4454 {
4455 if (temp1)
4456 delete arg1;
4457 }
d14a1e28
RD
4458 return resultobj;
4459 fail:
7eae615b
RD
4460 {
4461 if (temp1)
4462 delete arg1;
4463 }
d14a1e28
RD
4464 return NULL;
4465}
4466
4467
4468static PyObject *_wrap_delete_Cursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4469 PyObject *resultobj;
4470 wxCursor *arg1 = (wxCursor *) 0 ;
4471 PyObject * obj0 = 0 ;
4472 char *kwnames[] = {
4473 (char *) "self", NULL
4474 };
4475
4476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Cursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
4477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4479 {
4480 PyThreadState* __tstate = wxPyBeginAllowThreads();
4481 delete arg1;
4482
4483 wxPyEndAllowThreads(__tstate);
4484 if (PyErr_Occurred()) SWIG_fail;
4485 }
4486 Py_INCREF(Py_None); resultobj = Py_None;
4487 return resultobj;
4488 fail:
4489 return NULL;
4490}
4491
4492
4493static PyObject *_wrap_new_StockCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4494 PyObject *resultobj;
4495 int arg1 ;
4496 wxCursor *result;
994141e6 4497 PyObject * obj0 = 0 ;
d14a1e28
RD
4498 char *kwnames[] = {
4499 (char *) "id", NULL
4500 };
4501
994141e6 4502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_StockCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
4503 arg1 = (int) SWIG_AsInt(obj0);
4504 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4505 {
4506 PyThreadState* __tstate = wxPyBeginAllowThreads();
4507 result = (wxCursor *)new wxCursor(arg1);
4508
4509 wxPyEndAllowThreads(__tstate);
4510 if (PyErr_Occurred()) SWIG_fail;
4511 }
15afbcd0 4512 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCursor, 1);
d14a1e28
RD
4513 return resultobj;
4514 fail:
4515 return NULL;
4516}
4517
4518
4519static PyObject *_wrap_new_CursorFromImage(PyObject *self, PyObject *args, PyObject *kwargs) {
4520 PyObject *resultobj;
4521 wxImage *arg1 = 0 ;
4522 wxCursor *result;
4523 PyObject * obj0 = 0 ;
4524 char *kwnames[] = {
4525 (char *) "image", NULL
4526 };
4527
4528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CursorFromImage",kwnames,&obj0)) goto fail;
15afbcd0
RD
4529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
4530 SWIG_POINTER_EXCEPTION | 0)) == -1)
4531 SWIG_fail;
d14a1e28 4532 if (arg1 == NULL) {
15afbcd0
RD
4533 PyErr_SetString(PyExc_TypeError,"null reference");
4534 SWIG_fail;
d14a1e28
RD
4535 }
4536 {
4537 PyThreadState* __tstate = wxPyBeginAllowThreads();
4538 result = (wxCursor *)new wxCursor((wxImage const &)*arg1);
4539
4540 wxPyEndAllowThreads(__tstate);
4541 if (PyErr_Occurred()) SWIG_fail;
4542 }
15afbcd0 4543 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCursor, 1);
d14a1e28
RD
4544 return resultobj;
4545 fail:
4546 return NULL;
4547}
4548
4549
15afbcd0 4550static PyObject *_wrap_Cursor_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4551 PyObject *resultobj;
4552 wxCursor *arg1 = (wxCursor *) 0 ;
4553 bool result;
4554 PyObject * obj0 = 0 ;
4555 char *kwnames[] = {
4556 (char *) "self", NULL
4557 };
4558
4559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Cursor_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
4560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4562 {
4563 PyThreadState* __tstate = wxPyBeginAllowThreads();
4564 result = (bool)(arg1)->Ok();
4565
4566 wxPyEndAllowThreads(__tstate);
4567 if (PyErr_Occurred()) SWIG_fail;
4568 }
4f89f6a3
RD
4569 {
4570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4571 }
d14a1e28
RD
4572 return resultobj;
4573 fail:
4574 return NULL;
4575}
4576
4577
4578static PyObject * Cursor_swigregister(PyObject *self, PyObject *args) {
4579 PyObject *obj;
4580 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4581 SWIG_TypeClientData(SWIGTYPE_p_wxCursor, obj);
4582 Py_INCREF(obj);
4583 return Py_BuildValue((char *)"");
4584}
4585static PyObject *_wrap_new_Region(PyObject *self, PyObject *args, PyObject *kwargs) {
4586 PyObject *resultobj;
e811c8ce
RD
4587 int arg1 = (int) 0 ;
4588 int arg2 = (int) 0 ;
4589 int arg3 = (int) 0 ;
4590 int arg4 = (int) 0 ;
d14a1e28 4591 wxRegion *result;
994141e6
RD
4592 PyObject * obj0 = 0 ;
4593 PyObject * obj1 = 0 ;
4594 PyObject * obj2 = 0 ;
4595 PyObject * obj3 = 0 ;
d14a1e28
RD
4596 char *kwnames[] = {
4597 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4598 };
4599
994141e6
RD
4600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Region",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4601 if (obj0) {
15afbcd0
RD
4602 arg1 = (int) SWIG_AsInt(obj0);
4603 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4604 }
4605 if (obj1) {
15afbcd0
RD
4606 arg2 = (int) SWIG_AsInt(obj1);
4607 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4608 }
4609 if (obj2) {
15afbcd0
RD
4610 arg3 = (int) SWIG_AsInt(obj2);
4611 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4612 }
4613 if (obj3) {
15afbcd0
RD
4614 arg4 = (int) SWIG_AsInt(obj3);
4615 if (PyErr_Occurred()) SWIG_fail;
994141e6 4616 }
d14a1e28
RD
4617 {
4618 PyThreadState* __tstate = wxPyBeginAllowThreads();
4619 result = (wxRegion *)new wxRegion(arg1,arg2,arg3,arg4);
4620
4621 wxPyEndAllowThreads(__tstate);
4622 if (PyErr_Occurred()) SWIG_fail;
4623 }
15afbcd0 4624 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 1);
d14a1e28
RD
4625 return resultobj;
4626 fail:
4627 return NULL;
4628}
4629
4630
4631static PyObject *_wrap_new_RegionFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4632 PyObject *resultobj;
4633 wxBitmap *arg1 = 0 ;
4634 wxColour const &arg2_defvalue = wxNullColour ;
4635 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
4636 int arg3 = (int) 0 ;
4637 wxRegion *result;
4638 wxColour temp2 ;
4639 PyObject * obj0 = 0 ;
4640 PyObject * obj1 = 0 ;
994141e6 4641 PyObject * obj2 = 0 ;
d14a1e28
RD
4642 char *kwnames[] = {
4643 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4644 };
4645
994141e6 4646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_RegionFromBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4648 SWIG_POINTER_EXCEPTION | 0)) == -1)
4649 SWIG_fail;
d14a1e28 4650 if (arg1 == NULL) {
15afbcd0
RD
4651 PyErr_SetString(PyExc_TypeError,"null reference");
4652 SWIG_fail;
d14a1e28
RD
4653 }
4654 if (obj1) {
4655 {
4656 arg2 = &temp2;
4657 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4658 }
4659 }
994141e6 4660 if (obj2) {
15afbcd0
RD
4661 arg3 = (int) SWIG_AsInt(obj2);
4662 if (PyErr_Occurred()) SWIG_fail;
994141e6 4663 }
d14a1e28
RD
4664 {
4665 PyThreadState* __tstate = wxPyBeginAllowThreads();
4666 result = (wxRegion *)new wxRegion((wxBitmap const &)*arg1,(wxColour const &)*arg2,arg3);
4667
4668 wxPyEndAllowThreads(__tstate);
4669 if (PyErr_Occurred()) SWIG_fail;
4670 }
15afbcd0 4671 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 1);
d14a1e28
RD
4672 return resultobj;
4673 fail:
4674 return NULL;
4675}
4676
4677
4678static PyObject *_wrap_new_RegionFromPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4679 PyObject *resultobj;
4680 int arg1 ;
4681 wxPoint *arg2 = (wxPoint *) 0 ;
4682 int arg3 = (int) wxWINDING_RULE ;
4683 wxRegion *result;
4684 PyObject * obj0 = 0 ;
994141e6 4685 PyObject * obj1 = 0 ;
d14a1e28
RD
4686 char *kwnames[] = {
4687 (char *) "points",(char *) "fillStyle", NULL
4688 };
4689
994141e6 4690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_RegionFromPoints",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
4691 {
4692 arg2 = wxPoint_LIST_helper(obj0, &arg1);
4693 if (arg2 == NULL) SWIG_fail;
4694 }
994141e6 4695 if (obj1) {
15afbcd0
RD
4696 arg3 = (int) SWIG_AsInt(obj1);
4697 if (PyErr_Occurred()) SWIG_fail;
994141e6 4698 }
d14a1e28
RD
4699 {
4700 PyThreadState* __tstate = wxPyBeginAllowThreads();
4701 result = (wxRegion *)new wxRegion(arg1,arg2,arg3);
4702
4703 wxPyEndAllowThreads(__tstate);
4704 if (PyErr_Occurred()) SWIG_fail;
4705 }
15afbcd0 4706 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 1);
d14a1e28
RD
4707 {
4708 if (arg2) delete [] arg2;
4709 }
4710 return resultobj;
4711 fail:
4712 {
4713 if (arg2) delete [] arg2;
4714 }
4715 return NULL;
4716}
4717
4718
4719static PyObject *_wrap_delete_Region(PyObject *self, PyObject *args, PyObject *kwargs) {
4720 PyObject *resultobj;
4721 wxRegion *arg1 = (wxRegion *) 0 ;
4722 PyObject * obj0 = 0 ;
4723 char *kwnames[] = {
4724 (char *) "self", NULL
4725 };
4726
4727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Region",kwnames,&obj0)) goto fail;
15afbcd0
RD
4728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4730 {
4731 PyThreadState* __tstate = wxPyBeginAllowThreads();
4732 delete arg1;
4733
4734 wxPyEndAllowThreads(__tstate);
4735 if (PyErr_Occurred()) SWIG_fail;
4736 }
4737 Py_INCREF(Py_None); resultobj = Py_None;
4738 return resultobj;
4739 fail:
4740 return NULL;
4741}
4742
4743
4744static PyObject *_wrap_Region_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
4745 PyObject *resultobj;
4746 wxRegion *arg1 = (wxRegion *) 0 ;
4747 PyObject * obj0 = 0 ;
4748 char *kwnames[] = {
4749 (char *) "self", NULL
4750 };
4751
4752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
4753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4755 {
4756 PyThreadState* __tstate = wxPyBeginAllowThreads();
4757 (arg1)->Clear();
4758
4759 wxPyEndAllowThreads(__tstate);
4760 if (PyErr_Occurred()) SWIG_fail;
4761 }
4762 Py_INCREF(Py_None); resultobj = Py_None;
4763 return resultobj;
4764 fail:
4765 return NULL;
4766}
4767
4768
4769static PyObject *_wrap_Region_Offset(PyObject *self, PyObject *args, PyObject *kwargs) {
4770 PyObject *resultobj;
4771 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
4772 int arg2 ;
4773 int arg3 ;
d14a1e28
RD
4774 bool result;
4775 PyObject * obj0 = 0 ;
994141e6
RD
4776 PyObject * obj1 = 0 ;
4777 PyObject * obj2 = 0 ;
d14a1e28
RD
4778 char *kwnames[] = {
4779 (char *) "self",(char *) "x",(char *) "y", NULL
4780 };
4781
994141e6 4782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Region_Offset",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4785 arg2 = (int) SWIG_AsInt(obj1);
4786 if (PyErr_Occurred()) SWIG_fail;
4787 arg3 = (int) SWIG_AsInt(obj2);
4788 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4789 {
4790 PyThreadState* __tstate = wxPyBeginAllowThreads();
4791 result = (bool)(arg1)->Offset(arg2,arg3);
4792
4793 wxPyEndAllowThreads(__tstate);
4794 if (PyErr_Occurred()) SWIG_fail;
4795 }
4f89f6a3
RD
4796 {
4797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4798 }
d14a1e28
RD
4799 return resultobj;
4800 fail:
4801 return NULL;
4802}
4803
4804
4805static PyObject *_wrap_Region_Contains(PyObject *self, PyObject *args, PyObject *kwargs) {
4806 PyObject *resultobj;
4807 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
4808 int arg2 ;
4809 int arg3 ;
d14a1e28
RD
4810 int result;
4811 PyObject * obj0 = 0 ;
994141e6
RD
4812 PyObject * obj1 = 0 ;
4813 PyObject * obj2 = 0 ;
d14a1e28
RD
4814 char *kwnames[] = {
4815 (char *) "self",(char *) "x",(char *) "y", NULL
4816 };
4817
994141e6 4818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Region_Contains",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4821 arg2 = (int) SWIG_AsInt(obj1);
4822 if (PyErr_Occurred()) SWIG_fail;
4823 arg3 = (int) SWIG_AsInt(obj2);
4824 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4825 {
4826 PyThreadState* __tstate = wxPyBeginAllowThreads();
4827 result = (int)(arg1)->Contains(arg2,arg3);
4828
4829 wxPyEndAllowThreads(__tstate);
4830 if (PyErr_Occurred()) SWIG_fail;
4831 }
15afbcd0 4832 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4833 return resultobj;
4834 fail:
4835 return NULL;
4836}
4837
4838
4839static PyObject *_wrap_Region_ContainsPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4840 PyObject *resultobj;
4841 wxRegion *arg1 = (wxRegion *) 0 ;
4842 wxPoint *arg2 = 0 ;
4843 int result;
4844 wxPoint temp2 ;
4845 PyObject * obj0 = 0 ;
4846 PyObject * obj1 = 0 ;
4847 char *kwnames[] = {
4848 (char *) "self",(char *) "pt", NULL
4849 };
4850
4851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_ContainsPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4854 {
4855 arg2 = &temp2;
4856 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4857 }
4858 {
4859 PyThreadState* __tstate = wxPyBeginAllowThreads();
4860 result = (int)(arg1)->Contains((wxPoint const &)*arg2);
4861
4862 wxPyEndAllowThreads(__tstate);
4863 if (PyErr_Occurred()) SWIG_fail;
4864 }
15afbcd0 4865 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4866 return resultobj;
4867 fail:
4868 return NULL;
4869}
4870
4871
4872static PyObject *_wrap_Region_ContainsRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4873 PyObject *resultobj;
4874 wxRegion *arg1 = (wxRegion *) 0 ;
4875 wxRect *arg2 = 0 ;
4876 int result;
4877 wxRect temp2 ;
4878 PyObject * obj0 = 0 ;
4879 PyObject * obj1 = 0 ;
4880 char *kwnames[] = {
4881 (char *) "self",(char *) "rect", NULL
4882 };
4883
4884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_ContainsRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4887 {
4888 arg2 = &temp2;
4889 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4890 }
4891 {
4892 PyThreadState* __tstate = wxPyBeginAllowThreads();
4893 result = (int)(arg1)->Contains((wxRect const &)*arg2);
4894
4895 wxPyEndAllowThreads(__tstate);
4896 if (PyErr_Occurred()) SWIG_fail;
4897 }
15afbcd0 4898 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4899 return resultobj;
4900 fail:
4901 return NULL;
4902}
4903
4904
4905static PyObject *_wrap_Region_ContainsRectDim(PyObject *self, PyObject *args, PyObject *kwargs) {
4906 PyObject *resultobj;
4907 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
4908 int arg2 ;
4909 int arg3 ;
4910 int arg4 ;
4911 int arg5 ;
d14a1e28
RD
4912 int result;
4913 PyObject * obj0 = 0 ;
994141e6
RD
4914 PyObject * obj1 = 0 ;
4915 PyObject * obj2 = 0 ;
4916 PyObject * obj3 = 0 ;
4917 PyObject * obj4 = 0 ;
d14a1e28
RD
4918 char *kwnames[] = {
4919 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4920 };
4921
994141e6 4922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_ContainsRectDim",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
4923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4925 arg2 = (int) SWIG_AsInt(obj1);
4926 if (PyErr_Occurred()) SWIG_fail;
4927 arg3 = (int) SWIG_AsInt(obj2);
4928 if (PyErr_Occurred()) SWIG_fail;
4929 arg4 = (int) SWIG_AsInt(obj3);
4930 if (PyErr_Occurred()) SWIG_fail;
4931 arg5 = (int) SWIG_AsInt(obj4);
4932 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4933 {
4934 PyThreadState* __tstate = wxPyBeginAllowThreads();
4935 result = (int)(arg1)->Contains(arg2,arg3,arg4,arg5);
4936
4937 wxPyEndAllowThreads(__tstate);
4938 if (PyErr_Occurred()) SWIG_fail;
4939 }
15afbcd0 4940 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4941 return resultobj;
4942 fail:
4943 return NULL;
4944}
4945
4946
4947static PyObject *_wrap_Region_GetBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4948 PyObject *resultobj;
4949 wxRegion *arg1 = (wxRegion *) 0 ;
4950 wxRect result;
4951 PyObject * obj0 = 0 ;
4952 char *kwnames[] = {
4953 (char *) "self", NULL
4954 };
4955
4956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_GetBox",kwnames,&obj0)) goto fail;
15afbcd0
RD
4957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4959 {
4960 PyThreadState* __tstate = wxPyBeginAllowThreads();
4961 result = (arg1)->GetBox();
4962
4963 wxPyEndAllowThreads(__tstate);
4964 if (PyErr_Occurred()) SWIG_fail;
4965 }
4966 {
4967 wxRect * resultptr;
4968 resultptr = new wxRect((wxRect &) result);
15afbcd0 4969 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
4970 }
4971 return resultobj;
4972 fail:
4973 return NULL;
4974}
4975
4976
4977static PyObject *_wrap_Region_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
4978 PyObject *resultobj;
4979 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
4980 int arg2 ;
4981 int arg3 ;
4982 int arg4 ;
4983 int arg5 ;
d14a1e28
RD
4984 bool result;
4985 PyObject * obj0 = 0 ;
994141e6
RD
4986 PyObject * obj1 = 0 ;
4987 PyObject * obj2 = 0 ;
4988 PyObject * obj3 = 0 ;
4989 PyObject * obj4 = 0 ;
d14a1e28
RD
4990 char *kwnames[] = {
4991 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4992 };
4993
994141e6 4994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Intersect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
4995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
4996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4997 arg2 = (int) SWIG_AsInt(obj1);
4998 if (PyErr_Occurred()) SWIG_fail;
4999 arg3 = (int) SWIG_AsInt(obj2);
5000 if (PyErr_Occurred()) SWIG_fail;
5001 arg4 = (int) SWIG_AsInt(obj3);
5002 if (PyErr_Occurred()) SWIG_fail;
5003 arg5 = (int) SWIG_AsInt(obj4);
5004 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5005 {
5006 PyThreadState* __tstate = wxPyBeginAllowThreads();
5007 result = (bool)(arg1)->Intersect(arg2,arg3,arg4,arg5);
5008
5009 wxPyEndAllowThreads(__tstate);
5010 if (PyErr_Occurred()) SWIG_fail;
5011 }
4f89f6a3
RD
5012 {
5013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5014 }
d14a1e28
RD
5015 return resultobj;
5016 fail:
5017 return NULL;
5018}
5019
5020
5021static PyObject *_wrap_Region_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5022 PyObject *resultobj;
5023 wxRegion *arg1 = (wxRegion *) 0 ;
5024 wxRect *arg2 = 0 ;
5025 bool result;
5026 wxRect temp2 ;
5027 PyObject * obj0 = 0 ;
5028 PyObject * obj1 = 0 ;
5029 char *kwnames[] = {
5030 (char *) "self",(char *) "rect", NULL
5031 };
5032
5033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_IntersectRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5036 {
5037 arg2 = &temp2;
5038 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5039 }
5040 {
5041 PyThreadState* __tstate = wxPyBeginAllowThreads();
5042 result = (bool)(arg1)->Intersect((wxRect const &)*arg2);
5043
5044 wxPyEndAllowThreads(__tstate);
5045 if (PyErr_Occurred()) SWIG_fail;
5046 }
4f89f6a3
RD
5047 {
5048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5049 }
d14a1e28
RD
5050 return resultobj;
5051 fail:
5052 return NULL;
5053}
5054
5055
5056static PyObject *_wrap_Region_IntersectRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
5057 PyObject *resultobj;
5058 wxRegion *arg1 = (wxRegion *) 0 ;
5059 wxRegion *arg2 = 0 ;
5060 bool result;
5061 PyObject * obj0 = 0 ;
5062 PyObject * obj1 = 0 ;
5063 char *kwnames[] = {
5064 (char *) "self",(char *) "region", NULL
5065 };
5066
5067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_IntersectRegion",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5070 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
5071 SWIG_POINTER_EXCEPTION | 0)) == -1)
5072 SWIG_fail;
d14a1e28 5073 if (arg2 == NULL) {
15afbcd0
RD
5074 PyErr_SetString(PyExc_TypeError,"null reference");
5075 SWIG_fail;
d14a1e28
RD
5076 }
5077 {
5078 PyThreadState* __tstate = wxPyBeginAllowThreads();
5079 result = (bool)(arg1)->Intersect((wxRegion const &)*arg2);
5080
5081 wxPyEndAllowThreads(__tstate);
5082 if (PyErr_Occurred()) SWIG_fail;
5083 }
4f89f6a3
RD
5084 {
5085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5086 }
d14a1e28
RD
5087 return resultobj;
5088 fail:
5089 return NULL;
5090}
5091
5092
5093static PyObject *_wrap_Region_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
5094 PyObject *resultobj;
5095 wxRegion *arg1 = (wxRegion *) 0 ;
5096 bool result;
5097 PyObject * obj0 = 0 ;
5098 char *kwnames[] = {
5099 (char *) "self", NULL
5100 };
5101
5102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_IsEmpty",kwnames,&obj0)) goto fail;
15afbcd0
RD
5103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5105 {
5106 PyThreadState* __tstate = wxPyBeginAllowThreads();
5107 result = (bool)(arg1)->IsEmpty();
5108
5109 wxPyEndAllowThreads(__tstate);
5110 if (PyErr_Occurred()) SWIG_fail;
5111 }
4f89f6a3
RD
5112 {
5113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5114 }
d14a1e28
RD
5115 return resultobj;
5116 fail:
5117 return NULL;
5118}
5119
5120
5121static PyObject *_wrap_Region_Union(PyObject *self, PyObject *args, PyObject *kwargs) {
5122 PyObject *resultobj;
5123 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
5124 int arg2 ;
5125 int arg3 ;
5126 int arg4 ;
5127 int arg5 ;
d14a1e28
RD
5128 bool result;
5129 PyObject * obj0 = 0 ;
994141e6
RD
5130 PyObject * obj1 = 0 ;
5131 PyObject * obj2 = 0 ;
5132 PyObject * obj3 = 0 ;
5133 PyObject * obj4 = 0 ;
d14a1e28
RD
5134 char *kwnames[] = {
5135 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5136 };
5137
994141e6 5138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Union",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
5139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5141 arg2 = (int) SWIG_AsInt(obj1);
5142 if (PyErr_Occurred()) SWIG_fail;
5143 arg3 = (int) SWIG_AsInt(obj2);
5144 if (PyErr_Occurred()) SWIG_fail;
5145 arg4 = (int) SWIG_AsInt(obj3);
5146 if (PyErr_Occurred()) SWIG_fail;
5147 arg5 = (int) SWIG_AsInt(obj4);
5148 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5149 {
5150 PyThreadState* __tstate = wxPyBeginAllowThreads();
5151 result = (bool)(arg1)->Union(arg2,arg3,arg4,arg5);
5152
5153 wxPyEndAllowThreads(__tstate);
5154 if (PyErr_Occurred()) SWIG_fail;
5155 }
4f89f6a3
RD
5156 {
5157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5158 }
d14a1e28
RD
5159 return resultobj;
5160 fail:
5161 return NULL;
5162}
5163
5164
5165static PyObject *_wrap_Region_UnionRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5166 PyObject *resultobj;
5167 wxRegion *arg1 = (wxRegion *) 0 ;
5168 wxRect *arg2 = 0 ;
5169 bool result;
5170 wxRect temp2 ;
5171 PyObject * obj0 = 0 ;
5172 PyObject * obj1 = 0 ;
5173 char *kwnames[] = {
5174 (char *) "self",(char *) "rect", NULL
5175 };
5176
5177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_UnionRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5180 {
5181 arg2 = &temp2;
5182 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5183 }
5184 {
5185 PyThreadState* __tstate = wxPyBeginAllowThreads();
5186 result = (bool)(arg1)->Union((wxRect const &)*arg2);
5187
5188 wxPyEndAllowThreads(__tstate);
5189 if (PyErr_Occurred()) SWIG_fail;
5190 }
4f89f6a3
RD
5191 {
5192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5193 }
d14a1e28
RD
5194 return resultobj;
5195 fail:
5196 return NULL;
5197}
5198
5199
5200static PyObject *_wrap_Region_UnionRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
5201 PyObject *resultobj;
5202 wxRegion *arg1 = (wxRegion *) 0 ;
5203 wxRegion *arg2 = 0 ;
5204 bool result;
5205 PyObject * obj0 = 0 ;
5206 PyObject * obj1 = 0 ;
5207 char *kwnames[] = {
5208 (char *) "self",(char *) "region", NULL
5209 };
5210
5211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_UnionRegion",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5214 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
5215 SWIG_POINTER_EXCEPTION | 0)) == -1)
5216 SWIG_fail;
d14a1e28 5217 if (arg2 == NULL) {
15afbcd0
RD
5218 PyErr_SetString(PyExc_TypeError,"null reference");
5219 SWIG_fail;
d14a1e28
RD
5220 }
5221 {
5222 PyThreadState* __tstate = wxPyBeginAllowThreads();
5223 result = (bool)(arg1)->Union((wxRegion const &)*arg2);
5224
5225 wxPyEndAllowThreads(__tstate);
5226 if (PyErr_Occurred()) SWIG_fail;
5227 }
4f89f6a3
RD
5228 {
5229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5230 }
d14a1e28
RD
5231 return resultobj;
5232 fail:
5233 return NULL;
5234}
5235
5236
5237static PyObject *_wrap_Region_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
5238 PyObject *resultobj;
5239 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
5240 int arg2 ;
5241 int arg3 ;
5242 int arg4 ;
5243 int arg5 ;
d14a1e28
RD
5244 bool result;
5245 PyObject * obj0 = 0 ;
994141e6
RD
5246 PyObject * obj1 = 0 ;
5247 PyObject * obj2 = 0 ;
5248 PyObject * obj3 = 0 ;
5249 PyObject * obj4 = 0 ;
d14a1e28
RD
5250 char *kwnames[] = {
5251 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5252 };
5253
994141e6 5254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Subtract",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
5255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5257 arg2 = (int) SWIG_AsInt(obj1);
5258 if (PyErr_Occurred()) SWIG_fail;
5259 arg3 = (int) SWIG_AsInt(obj2);
5260 if (PyErr_Occurred()) SWIG_fail;
5261 arg4 = (int) SWIG_AsInt(obj3);
5262 if (PyErr_Occurred()) SWIG_fail;
5263 arg5 = (int) SWIG_AsInt(obj4);
5264 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5265 {
5266 PyThreadState* __tstate = wxPyBeginAllowThreads();
5267 result = (bool)(arg1)->Subtract(arg2,arg3,arg4,arg5);
5268
5269 wxPyEndAllowThreads(__tstate);
5270 if (PyErr_Occurred()) SWIG_fail;
5271 }
4f89f6a3
RD
5272 {
5273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5274 }
d14a1e28
RD
5275 return resultobj;
5276 fail:
5277 return NULL;
5278}
5279
5280
5281static PyObject *_wrap_Region_SubtractRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5282 PyObject *resultobj;
5283 wxRegion *arg1 = (wxRegion *) 0 ;
5284 wxRect *arg2 = 0 ;
5285 bool result;
5286 wxRect temp2 ;
5287 PyObject * obj0 = 0 ;
5288 PyObject * obj1 = 0 ;
5289 char *kwnames[] = {
5290 (char *) "self",(char *) "rect", NULL
5291 };
5292
5293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_SubtractRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5296 {
5297 arg2 = &temp2;
5298 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5299 }
5300 {
5301 PyThreadState* __tstate = wxPyBeginAllowThreads();
5302 result = (bool)(arg1)->Subtract((wxRect const &)*arg2);
5303
5304 wxPyEndAllowThreads(__tstate);
5305 if (PyErr_Occurred()) SWIG_fail;
5306 }
4f89f6a3
RD
5307 {
5308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5309 }
d14a1e28
RD
5310 return resultobj;
5311 fail:
5312 return NULL;
5313}
5314
5315
5316static PyObject *_wrap_Region_SubtractRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
5317 PyObject *resultobj;
5318 wxRegion *arg1 = (wxRegion *) 0 ;
5319 wxRegion *arg2 = 0 ;
5320 bool result;
5321 PyObject * obj0 = 0 ;
5322 PyObject * obj1 = 0 ;
5323 char *kwnames[] = {
5324 (char *) "self",(char *) "region", NULL
5325 };
5326
5327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_SubtractRegion",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5330 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
5331 SWIG_POINTER_EXCEPTION | 0)) == -1)
5332 SWIG_fail;
d14a1e28 5333 if (arg2 == NULL) {
15afbcd0
RD
5334 PyErr_SetString(PyExc_TypeError,"null reference");
5335 SWIG_fail;
d14a1e28
RD
5336 }
5337 {
5338 PyThreadState* __tstate = wxPyBeginAllowThreads();
5339 result = (bool)(arg1)->Subtract((wxRegion const &)*arg2);
5340
5341 wxPyEndAllowThreads(__tstate);
5342 if (PyErr_Occurred()) SWIG_fail;
5343 }
4f89f6a3
RD
5344 {
5345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5346 }
d14a1e28
RD
5347 return resultobj;
5348 fail:
5349 return NULL;
5350}
5351
5352
5353static PyObject *_wrap_Region_Xor(PyObject *self, PyObject *args, PyObject *kwargs) {
5354 PyObject *resultobj;
5355 wxRegion *arg1 = (wxRegion *) 0 ;
e811c8ce
RD
5356 int arg2 ;
5357 int arg3 ;
5358 int arg4 ;
5359 int arg5 ;
d14a1e28
RD
5360 bool result;
5361 PyObject * obj0 = 0 ;
994141e6
RD
5362 PyObject * obj1 = 0 ;
5363 PyObject * obj2 = 0 ;
5364 PyObject * obj3 = 0 ;
5365 PyObject * obj4 = 0 ;
d14a1e28
RD
5366 char *kwnames[] = {
5367 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5368 };
5369
994141e6 5370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Region_Xor",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
5371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5373 arg2 = (int) SWIG_AsInt(obj1);
5374 if (PyErr_Occurred()) SWIG_fail;
5375 arg3 = (int) SWIG_AsInt(obj2);
5376 if (PyErr_Occurred()) SWIG_fail;
5377 arg4 = (int) SWIG_AsInt(obj3);
5378 if (PyErr_Occurred()) SWIG_fail;
5379 arg5 = (int) SWIG_AsInt(obj4);
5380 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5381 {
5382 PyThreadState* __tstate = wxPyBeginAllowThreads();
5383 result = (bool)(arg1)->Xor(arg2,arg3,arg4,arg5);
5384
5385 wxPyEndAllowThreads(__tstate);
5386 if (PyErr_Occurred()) SWIG_fail;
5387 }
4f89f6a3
RD
5388 {
5389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5390 }
d14a1e28
RD
5391 return resultobj;
5392 fail:
5393 return NULL;
5394}
5395
5396
5397static PyObject *_wrap_Region_XorRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5398 PyObject *resultobj;
5399 wxRegion *arg1 = (wxRegion *) 0 ;
5400 wxRect *arg2 = 0 ;
5401 bool result;
5402 wxRect temp2 ;
5403 PyObject * obj0 = 0 ;
5404 PyObject * obj1 = 0 ;
5405 char *kwnames[] = {
5406 (char *) "self",(char *) "rect", NULL
5407 };
5408
5409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_XorRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5412 {
5413 arg2 = &temp2;
5414 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5415 }
5416 {
5417 PyThreadState* __tstate = wxPyBeginAllowThreads();
5418 result = (bool)(arg1)->Xor((wxRect const &)*arg2);
5419
5420 wxPyEndAllowThreads(__tstate);
5421 if (PyErr_Occurred()) SWIG_fail;
5422 }
4f89f6a3
RD
5423 {
5424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5425 }
d14a1e28
RD
5426 return resultobj;
5427 fail:
5428 return NULL;
5429}
5430
5431
5432static PyObject *_wrap_Region_XorRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
5433 PyObject *resultobj;
5434 wxRegion *arg1 = (wxRegion *) 0 ;
5435 wxRegion *arg2 = 0 ;
5436 bool result;
5437 PyObject * obj0 = 0 ;
5438 PyObject * obj1 = 0 ;
5439 char *kwnames[] = {
5440 (char *) "self",(char *) "region", NULL
5441 };
5442
5443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Region_XorRegion",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5446 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
5447 SWIG_POINTER_EXCEPTION | 0)) == -1)
5448 SWIG_fail;
d14a1e28 5449 if (arg2 == NULL) {
15afbcd0
RD
5450 PyErr_SetString(PyExc_TypeError,"null reference");
5451 SWIG_fail;
d14a1e28
RD
5452 }
5453 {
5454 PyThreadState* __tstate = wxPyBeginAllowThreads();
5455 result = (bool)(arg1)->Xor((wxRegion const &)*arg2);
5456
5457 wxPyEndAllowThreads(__tstate);
5458 if (PyErr_Occurred()) SWIG_fail;
5459 }
4f89f6a3
RD
5460 {
5461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5462 }
d14a1e28
RD
5463 return resultobj;
5464 fail:
5465 return NULL;
5466}
5467
5468
5469static PyObject *_wrap_Region_ConvertToBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5470 PyObject *resultobj;
5471 wxRegion *arg1 = (wxRegion *) 0 ;
5472 SwigValueWrapper< wxBitmap > result;
5473 PyObject * obj0 = 0 ;
5474 char *kwnames[] = {
5475 (char *) "self", NULL
5476 };
5477
5478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Region_ConvertToBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
5479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5481 {
5482 PyThreadState* __tstate = wxPyBeginAllowThreads();
5483 result = (arg1)->ConvertToBitmap();
5484
5485 wxPyEndAllowThreads(__tstate);
5486 if (PyErr_Occurred()) SWIG_fail;
5487 }
5488 {
5489 wxBitmap * resultptr;
5490 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 5491 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
5492 }
5493 return resultobj;
5494 fail:
5495 return NULL;
5496}
5497
5498
5499static PyObject *_wrap_Region_UnionBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5500 PyObject *resultobj;
5501 wxRegion *arg1 = (wxRegion *) 0 ;
5502 wxBitmap *arg2 = 0 ;
5503 wxColour const &arg3_defvalue = wxNullColour ;
5504 wxColour *arg3 = (wxColour *) &arg3_defvalue ;
5505 int arg4 = (int) 0 ;
5506 bool result;
5507 wxColour temp3 ;
5508 PyObject * obj0 = 0 ;
5509 PyObject * obj1 = 0 ;
5510 PyObject * obj2 = 0 ;
994141e6 5511 PyObject * obj3 = 0 ;
d14a1e28
RD
5512 char *kwnames[] = {
5513 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5514 };
5515
994141e6 5516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Region_UnionBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5519 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5520 SWIG_POINTER_EXCEPTION | 0)) == -1)
5521 SWIG_fail;
d14a1e28 5522 if (arg2 == NULL) {
15afbcd0
RD
5523 PyErr_SetString(PyExc_TypeError,"null reference");
5524 SWIG_fail;
d14a1e28
RD
5525 }
5526 if (obj2) {
5527 {
5528 arg3 = &temp3;
5529 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5530 }
5531 }
994141e6 5532 if (obj3) {
15afbcd0
RD
5533 arg4 = (int) SWIG_AsInt(obj3);
5534 if (PyErr_Occurred()) SWIG_fail;
994141e6 5535 }
d14a1e28
RD
5536 {
5537 PyThreadState* __tstate = wxPyBeginAllowThreads();
5538 result = (bool)(arg1)->Union((wxBitmap const &)*arg2,(wxColour const &)*arg3,arg4);
5539
5540 wxPyEndAllowThreads(__tstate);
5541 if (PyErr_Occurred()) SWIG_fail;
5542 }
4f89f6a3
RD
5543 {
5544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5545 }
d14a1e28
RD
5546 return resultobj;
5547 fail:
5548 return NULL;
5549}
5550
5551
5552static PyObject * Region_swigregister(PyObject *self, PyObject *args) {
5553 PyObject *obj;
5554 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5555 SWIG_TypeClientData(SWIGTYPE_p_wxRegion, obj);
5556 Py_INCREF(obj);
5557 return Py_BuildValue((char *)"");
5558}
5559static PyObject *_wrap_new_RegionIterator(PyObject *self, PyObject *args, PyObject *kwargs) {
5560 PyObject *resultobj;
5561 wxRegion *arg1 = 0 ;
5562 wxRegionIterator *result;
5563 PyObject * obj0 = 0 ;
5564 char *kwnames[] = {
5565 (char *) "region", NULL
5566 };
5567
5568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_RegionIterator",kwnames,&obj0)) goto fail;
15afbcd0
RD
5569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegion,
5570 SWIG_POINTER_EXCEPTION | 0)) == -1)
5571 SWIG_fail;
d14a1e28 5572 if (arg1 == NULL) {
15afbcd0
RD
5573 PyErr_SetString(PyExc_TypeError,"null reference");
5574 SWIG_fail;
d14a1e28
RD
5575 }
5576 {
5577 PyThreadState* __tstate = wxPyBeginAllowThreads();
5578 result = (wxRegionIterator *)new wxRegionIterator((wxRegion const &)*arg1);
5579
5580 wxPyEndAllowThreads(__tstate);
5581 if (PyErr_Occurred()) SWIG_fail;
5582 }
15afbcd0 5583 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegionIterator, 1);
d14a1e28
RD
5584 return resultobj;
5585 fail:
5586 return NULL;
5587}
5588
5589
5590static PyObject *_wrap_delete_RegionIterator(PyObject *self, PyObject *args, PyObject *kwargs) {
5591 PyObject *resultobj;
5592 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
5593 PyObject * obj0 = 0 ;
5594 char *kwnames[] = {
5595 (char *) "self", NULL
5596 };
5597
5598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RegionIterator",kwnames,&obj0)) goto fail;
15afbcd0
RD
5599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5601 {
5602 PyThreadState* __tstate = wxPyBeginAllowThreads();
5603 delete arg1;
5604
5605 wxPyEndAllowThreads(__tstate);
5606 if (PyErr_Occurred()) SWIG_fail;
5607 }
5608 Py_INCREF(Py_None); resultobj = Py_None;
5609 return resultobj;
5610 fail:
5611 return NULL;
5612}
5613
5614
5615static PyObject *_wrap_RegionIterator_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5616 PyObject *resultobj;
5617 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
e811c8ce 5618 int result;
d14a1e28
RD
5619 PyObject * obj0 = 0 ;
5620 char *kwnames[] = {
5621 (char *) "self", NULL
5622 };
5623
5624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
5625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5627 {
5628 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5629 result = (int)(arg1)->GetX();
d14a1e28
RD
5630
5631 wxPyEndAllowThreads(__tstate);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 }
15afbcd0 5634 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5635 return resultobj;
5636 fail:
5637 return NULL;
5638}
5639
5640
5641static PyObject *_wrap_RegionIterator_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5642 PyObject *resultobj;
5643 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
e811c8ce 5644 int result;
d14a1e28
RD
5645 PyObject * obj0 = 0 ;
5646 char *kwnames[] = {
5647 (char *) "self", NULL
5648 };
5649
5650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
5651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5653 {
5654 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5655 result = (int)(arg1)->GetY();
d14a1e28
RD
5656
5657 wxPyEndAllowThreads(__tstate);
5658 if (PyErr_Occurred()) SWIG_fail;
5659 }
15afbcd0 5660 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5661 return resultobj;
5662 fail:
5663 return NULL;
5664}
5665
5666
5667static PyObject *_wrap_RegionIterator_GetW(PyObject *self, PyObject *args, PyObject *kwargs) {
5668 PyObject *resultobj;
5669 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
e811c8ce 5670 int result;
d14a1e28
RD
5671 PyObject * obj0 = 0 ;
5672 char *kwnames[] = {
5673 (char *) "self", NULL
5674 };
5675
5676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetW",kwnames,&obj0)) goto fail;
15afbcd0
RD
5677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5679 {
5680 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5681 result = (int)(arg1)->GetW();
d14a1e28
RD
5682
5683 wxPyEndAllowThreads(__tstate);
5684 if (PyErr_Occurred()) SWIG_fail;
5685 }
15afbcd0 5686 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5687 return resultobj;
5688 fail:
5689 return NULL;
5690}
5691
5692
5693static PyObject *_wrap_RegionIterator_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
5694 PyObject *resultobj;
5695 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
e811c8ce 5696 int result;
d14a1e28
RD
5697 PyObject * obj0 = 0 ;
5698 char *kwnames[] = {
5699 (char *) "self", NULL
5700 };
5701
5702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
5703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5705 {
5706 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5707 result = (int)(arg1)->GetWidth();
d14a1e28
RD
5708
5709 wxPyEndAllowThreads(__tstate);
5710 if (PyErr_Occurred()) SWIG_fail;
5711 }
15afbcd0 5712 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5713 return resultobj;
5714 fail:
5715 return NULL;
5716}
5717
5718
5719static PyObject *_wrap_RegionIterator_GetH(PyObject *self, PyObject *args, PyObject *kwargs) {
5720 PyObject *resultobj;
5721 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
e811c8ce 5722 int result;
d14a1e28
RD
5723 PyObject * obj0 = 0 ;
5724 char *kwnames[] = {
5725 (char *) "self", NULL
5726 };
5727
5728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetH",kwnames,&obj0)) goto fail;
15afbcd0
RD
5729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5731 {
5732 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5733 result = (int)(arg1)->GetH();
d14a1e28
RD
5734
5735 wxPyEndAllowThreads(__tstate);
5736 if (PyErr_Occurred()) SWIG_fail;
5737 }
15afbcd0 5738 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5739 return resultobj;
5740 fail:
5741 return NULL;
5742}
5743
5744
5745static PyObject *_wrap_RegionIterator_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5746 PyObject *resultobj;
5747 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
e811c8ce 5748 int result;
d14a1e28
RD
5749 PyObject * obj0 = 0 ;
5750 char *kwnames[] = {
5751 (char *) "self", NULL
5752 };
5753
5754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
5755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5757 {
5758 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5759 result = (int)(arg1)->GetHeight();
d14a1e28
RD
5760
5761 wxPyEndAllowThreads(__tstate);
5762 if (PyErr_Occurred()) SWIG_fail;
5763 }
15afbcd0 5764 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5765 return resultobj;
5766 fail:
5767 return NULL;
5768}
5769
5770
5771static PyObject *_wrap_RegionIterator_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5772 PyObject *resultobj;
5773 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
5774 wxRect result;
5775 PyObject * obj0 = 0 ;
5776 char *kwnames[] = {
5777 (char *) "self", NULL
5778 };
5779
5780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
5781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5783 {
5784 PyThreadState* __tstate = wxPyBeginAllowThreads();
5785 result = (arg1)->GetRect();
5786
5787 wxPyEndAllowThreads(__tstate);
5788 if (PyErr_Occurred()) SWIG_fail;
5789 }
5790 {
5791 wxRect * resultptr;
5792 resultptr = new wxRect((wxRect &) result);
15afbcd0 5793 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
5794 }
5795 return resultobj;
5796 fail:
5797 return NULL;
5798}
5799
5800
5801static PyObject *_wrap_RegionIterator_HaveRects(PyObject *self, PyObject *args, PyObject *kwargs) {
5802 PyObject *resultobj;
5803 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
5804 bool result;
5805 PyObject * obj0 = 0 ;
5806 char *kwnames[] = {
5807 (char *) "self", NULL
5808 };
5809
5810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_HaveRects",kwnames,&obj0)) goto fail;
15afbcd0
RD
5811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5813 {
5814 PyThreadState* __tstate = wxPyBeginAllowThreads();
5815 result = (bool)(arg1)->HaveRects();
5816
5817 wxPyEndAllowThreads(__tstate);
5818 if (PyErr_Occurred()) SWIG_fail;
5819 }
4f89f6a3
RD
5820 {
5821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5822 }
d14a1e28
RD
5823 return resultobj;
5824 fail:
5825 return NULL;
5826}
5827
5828
5829static PyObject *_wrap_RegionIterator_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
5830 PyObject *resultobj;
5831 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
5832 PyObject * obj0 = 0 ;
5833 char *kwnames[] = {
5834 (char *) "self", NULL
5835 };
5836
5837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_Reset",kwnames,&obj0)) goto fail;
15afbcd0
RD
5838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5840 {
5841 PyThreadState* __tstate = wxPyBeginAllowThreads();
5842 (arg1)->Reset();
5843
5844 wxPyEndAllowThreads(__tstate);
5845 if (PyErr_Occurred()) SWIG_fail;
5846 }
5847 Py_INCREF(Py_None); resultobj = Py_None;
5848 return resultobj;
5849 fail:
5850 return NULL;
5851}
5852
5853
5854static PyObject *_wrap_RegionIterator_Next(PyObject *self, PyObject *args, PyObject *kwargs) {
5855 PyObject *resultobj;
5856 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
5857 PyObject * obj0 = 0 ;
5858 char *kwnames[] = {
5859 (char *) "self", NULL
5860 };
5861
5862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator_Next",kwnames,&obj0)) goto fail;
15afbcd0
RD
5863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5865 {
5866 PyThreadState* __tstate = wxPyBeginAllowThreads();
5867 wxRegionIterator_Next(arg1);
5868
5869 wxPyEndAllowThreads(__tstate);
5870 if (PyErr_Occurred()) SWIG_fail;
5871 }
5872 Py_INCREF(Py_None); resultobj = Py_None;
5873 return resultobj;
5874 fail:
5875 return NULL;
5876}
5877
5878
5879static PyObject *_wrap_RegionIterator___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
5880 PyObject *resultobj;
5881 wxRegionIterator *arg1 = (wxRegionIterator *) 0 ;
5882 bool result;
5883 PyObject * obj0 = 0 ;
5884 char *kwnames[] = {
5885 (char *) "self", NULL
5886 };
5887
5888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegionIterator___nonzero__",kwnames,&obj0)) goto fail;
15afbcd0
RD
5889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRegionIterator,
5890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5891 {
5892 PyThreadState* __tstate = wxPyBeginAllowThreads();
5893 result = (bool)wxRegionIterator___nonzero__(arg1);
5894
5895 wxPyEndAllowThreads(__tstate);
5896 if (PyErr_Occurred()) SWIG_fail;
5897 }
4f89f6a3
RD
5898 {
5899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5900 }
d14a1e28
RD
5901 return resultobj;
5902 fail:
5903 return NULL;
5904}
5905
5906
5907static PyObject * RegionIterator_swigregister(PyObject *self, PyObject *args) {
5908 PyObject *obj;
5909 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5910 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator, obj);
5911 Py_INCREF(obj);
5912 return Py_BuildValue((char *)"");
5913}
5914static PyObject *_wrap_new_NativeFontInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5915 PyObject *resultobj;
5916 wxNativeFontInfo *result;
5917 char *kwnames[] = {
5918 NULL
5919 };
5920
5921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NativeFontInfo",kwnames)) goto fail;
5922 {
5923 PyThreadState* __tstate = wxPyBeginAllowThreads();
5924 result = (wxNativeFontInfo *)new wxNativeFontInfo();
5925
5926 wxPyEndAllowThreads(__tstate);
5927 if (PyErr_Occurred()) SWIG_fail;
5928 }
15afbcd0 5929 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeFontInfo, 1);
d14a1e28
RD
5930 return resultobj;
5931 fail:
5932 return NULL;
5933}
5934
5935
5936static PyObject *_wrap_delete_NativeFontInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5937 PyObject *resultobj;
5938 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
5939 PyObject * obj0 = 0 ;
5940 char *kwnames[] = {
5941 (char *) "self", NULL
5942 };
5943
5944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_NativeFontInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
5945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
5946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5947 {
5948 PyThreadState* __tstate = wxPyBeginAllowThreads();
5949 delete arg1;
5950
5951 wxPyEndAllowThreads(__tstate);
5952 if (PyErr_Occurred()) SWIG_fail;
5953 }
5954 Py_INCREF(Py_None); resultobj = Py_None;
5955 return resultobj;
5956 fail:
5957 return NULL;
5958}
5959
5960
5961static PyObject *_wrap_NativeFontInfo_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5962 PyObject *resultobj;
5963 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
5964 PyObject * obj0 = 0 ;
5965 char *kwnames[] = {
5966 (char *) "self", NULL
5967 };
5968
5969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_Init",kwnames,&obj0)) goto fail;
15afbcd0
RD
5970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
5971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5972 {
5973 PyThreadState* __tstate = wxPyBeginAllowThreads();
5974 (arg1)->Init();
5975
5976 wxPyEndAllowThreads(__tstate);
5977 if (PyErr_Occurred()) SWIG_fail;
5978 }
5979 Py_INCREF(Py_None); resultobj = Py_None;
5980 return resultobj;
5981 fail:
5982 return NULL;
5983}
5984
5985
5986static PyObject *_wrap_NativeFontInfo_InitFromFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5987 PyObject *resultobj;
5988 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
5989 wxFont *arg2 = 0 ;
5990 PyObject * obj0 = 0 ;
5991 PyObject * obj1 = 0 ;
5992 char *kwnames[] = {
5993 (char *) "self",(char *) "font", NULL
5994 };
5995
5996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_InitFromFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
5998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5999 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
6000 SWIG_POINTER_EXCEPTION | 0)) == -1)
6001 SWIG_fail;
d14a1e28 6002 if (arg2 == NULL) {
15afbcd0
RD
6003 PyErr_SetString(PyExc_TypeError,"null reference");
6004 SWIG_fail;
d14a1e28
RD
6005 }
6006 {
6007 PyThreadState* __tstate = wxPyBeginAllowThreads();
6008 (arg1)->InitFromFont((wxFont const &)*arg2);
6009
6010 wxPyEndAllowThreads(__tstate);
6011 if (PyErr_Occurred()) SWIG_fail;
6012 }
6013 Py_INCREF(Py_None); resultobj = Py_None;
6014 return resultobj;
6015 fail:
6016 return NULL;
6017}
6018
6019
6020static PyObject *_wrap_NativeFontInfo_GetPointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6021 PyObject *resultobj;
6022 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6023 int result;
6024 PyObject * obj0 = 0 ;
6025 char *kwnames[] = {
6026 (char *) "self", NULL
6027 };
6028
6029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetPointSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
6030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6032 {
6033 PyThreadState* __tstate = wxPyBeginAllowThreads();
6034 result = (int)((wxNativeFontInfo const *)arg1)->GetPointSize();
6035
6036 wxPyEndAllowThreads(__tstate);
6037 if (PyErr_Occurred()) SWIG_fail;
6038 }
15afbcd0 6039 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6040 return resultobj;
6041 fail:
6042 return NULL;
6043}
6044
6045
6046static PyObject *_wrap_NativeFontInfo_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
6047 PyObject *resultobj;
6048 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6049 int result;
6050 PyObject * obj0 = 0 ;
6051 char *kwnames[] = {
6052 (char *) "self", NULL
6053 };
6054
6055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
6056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6058 {
6059 PyThreadState* __tstate = wxPyBeginAllowThreads();
6060 result = (int)((wxNativeFontInfo const *)arg1)->GetStyle();
6061
6062 wxPyEndAllowThreads(__tstate);
6063 if (PyErr_Occurred()) SWIG_fail;
6064 }
15afbcd0 6065 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6066 return resultobj;
6067 fail:
6068 return NULL;
6069}
6070
6071
6072static PyObject *_wrap_NativeFontInfo_GetWeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6073 PyObject *resultobj;
6074 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6075 int result;
6076 PyObject * obj0 = 0 ;
6077 char *kwnames[] = {
6078 (char *) "self", NULL
6079 };
6080
6081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetWeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
6082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6084 {
6085 PyThreadState* __tstate = wxPyBeginAllowThreads();
6086 result = (int)((wxNativeFontInfo const *)arg1)->GetWeight();
6087
6088 wxPyEndAllowThreads(__tstate);
6089 if (PyErr_Occurred()) SWIG_fail;
6090 }
15afbcd0 6091 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6092 return resultobj;
6093 fail:
6094 return NULL;
6095}
6096
6097
6098static PyObject *_wrap_NativeFontInfo_GetUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
6099 PyObject *resultobj;
6100 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6101 bool result;
6102 PyObject * obj0 = 0 ;
6103 char *kwnames[] = {
6104 (char *) "self", NULL
6105 };
6106
6107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetUnderlined",kwnames,&obj0)) goto fail;
15afbcd0
RD
6108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6110 {
6111 PyThreadState* __tstate = wxPyBeginAllowThreads();
6112 result = (bool)((wxNativeFontInfo const *)arg1)->GetUnderlined();
6113
6114 wxPyEndAllowThreads(__tstate);
6115 if (PyErr_Occurred()) SWIG_fail;
6116 }
4f89f6a3
RD
6117 {
6118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6119 }
d14a1e28
RD
6120 return resultobj;
6121 fail:
6122 return NULL;
6123}
6124
6125
6126static PyObject *_wrap_NativeFontInfo_GetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
6127 PyObject *resultobj;
6128 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6129 wxString result;
6130 PyObject * obj0 = 0 ;
6131 char *kwnames[] = {
6132 (char *) "self", NULL
6133 };
6134
6135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetFaceName",kwnames,&obj0)) goto fail;
15afbcd0
RD
6136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6138 {
6139 PyThreadState* __tstate = wxPyBeginAllowThreads();
6140 result = ((wxNativeFontInfo const *)arg1)->GetFaceName();
6141
6142 wxPyEndAllowThreads(__tstate);
6143 if (PyErr_Occurred()) SWIG_fail;
6144 }
6145 {
6146#if wxUSE_UNICODE
6147 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6148#else
6149 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6150#endif
6151 }
6152 return resultobj;
6153 fail:
6154 return NULL;
6155}
6156
6157
6158static PyObject *_wrap_NativeFontInfo_GetFamily(PyObject *self, PyObject *args, PyObject *kwargs) {
6159 PyObject *resultobj;
6160 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6161 int result;
6162 PyObject * obj0 = 0 ;
6163 char *kwnames[] = {
6164 (char *) "self", NULL
6165 };
6166
6167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetFamily",kwnames,&obj0)) goto fail;
15afbcd0
RD
6168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6170 {
6171 PyThreadState* __tstate = wxPyBeginAllowThreads();
6172 result = (int)((wxNativeFontInfo const *)arg1)->GetFamily();
6173
6174 wxPyEndAllowThreads(__tstate);
6175 if (PyErr_Occurred()) SWIG_fail;
6176 }
15afbcd0 6177 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6178 return resultobj;
6179 fail:
6180 return NULL;
6181}
6182
6183
6184static PyObject *_wrap_NativeFontInfo_GetEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
6185 PyObject *resultobj;
6186 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6187 int result;
6188 PyObject * obj0 = 0 ;
6189 char *kwnames[] = {
6190 (char *) "self", NULL
6191 };
6192
6193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_GetEncoding",kwnames,&obj0)) goto fail;
15afbcd0
RD
6194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6196 {
6197 PyThreadState* __tstate = wxPyBeginAllowThreads();
6198 result = (int)((wxNativeFontInfo const *)arg1)->GetEncoding();
6199
6200 wxPyEndAllowThreads(__tstate);
6201 if (PyErr_Occurred()) SWIG_fail;
6202 }
15afbcd0 6203 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6204 return resultobj;
6205 fail:
6206 return NULL;
6207}
6208
6209
6210static PyObject *_wrap_NativeFontInfo_SetPointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6211 PyObject *resultobj;
6212 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6213 int arg2 ;
6214 PyObject * obj0 = 0 ;
994141e6 6215 PyObject * obj1 = 0 ;
d14a1e28
RD
6216 char *kwnames[] = {
6217 (char *) "self",(char *) "pointsize", NULL
6218 };
6219
994141e6 6220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetPointSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6223 arg2 = (int) SWIG_AsInt(obj1);
6224 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6225 {
6226 PyThreadState* __tstate = wxPyBeginAllowThreads();
6227 (arg1)->SetPointSize(arg2);
6228
6229 wxPyEndAllowThreads(__tstate);
6230 if (PyErr_Occurred()) SWIG_fail;
6231 }
6232 Py_INCREF(Py_None); resultobj = Py_None;
6233 return resultobj;
6234 fail:
6235 return NULL;
6236}
6237
6238
6239static PyObject *_wrap_NativeFontInfo_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
6240 PyObject *resultobj;
6241 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6242 int arg2 ;
6243 PyObject * obj0 = 0 ;
994141e6 6244 PyObject * obj1 = 0 ;
d14a1e28
RD
6245 char *kwnames[] = {
6246 (char *) "self",(char *) "style", NULL
6247 };
6248
994141e6 6249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6252 arg2 = (wxFontStyle) SWIG_AsInt(obj1);
6253 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6254 {
6255 PyThreadState* __tstate = wxPyBeginAllowThreads();
6256 (arg1)->SetStyle((wxFontStyle )arg2);
6257
6258 wxPyEndAllowThreads(__tstate);
6259 if (PyErr_Occurred()) SWIG_fail;
6260 }
6261 Py_INCREF(Py_None); resultobj = Py_None;
6262 return resultobj;
6263 fail:
6264 return NULL;
6265}
6266
6267
6268static PyObject *_wrap_NativeFontInfo_SetWeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6269 PyObject *resultobj;
6270 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6271 int arg2 ;
6272 PyObject * obj0 = 0 ;
994141e6 6273 PyObject * obj1 = 0 ;
d14a1e28
RD
6274 char *kwnames[] = {
6275 (char *) "self",(char *) "weight", NULL
6276 };
6277
994141e6 6278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetWeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6281 arg2 = (wxFontWeight) SWIG_AsInt(obj1);
6282 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6283 {
6284 PyThreadState* __tstate = wxPyBeginAllowThreads();
6285 (arg1)->SetWeight((wxFontWeight )arg2);
6286
6287 wxPyEndAllowThreads(__tstate);
6288 if (PyErr_Occurred()) SWIG_fail;
6289 }
6290 Py_INCREF(Py_None); resultobj = Py_None;
6291 return resultobj;
6292 fail:
6293 return NULL;
6294}
6295
6296
6297static PyObject *_wrap_NativeFontInfo_SetUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
6298 PyObject *resultobj;
6299 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6300 bool arg2 ;
6301 PyObject * obj0 = 0 ;
6302 PyObject * obj1 = 0 ;
6303 char *kwnames[] = {
6304 (char *) "self",(char *) "underlined", NULL
6305 };
6306
6307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6310 arg2 = (bool) SWIG_AsBool(obj1);
6311 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6312 {
6313 PyThreadState* __tstate = wxPyBeginAllowThreads();
6314 (arg1)->SetUnderlined(arg2);
6315
6316 wxPyEndAllowThreads(__tstate);
6317 if (PyErr_Occurred()) SWIG_fail;
6318 }
6319 Py_INCREF(Py_None); resultobj = Py_None;
6320 return resultobj;
6321 fail:
6322 return NULL;
6323}
6324
6325
6326static PyObject *_wrap_NativeFontInfo_SetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
6327 PyObject *resultobj;
6328 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6329 wxString arg2 ;
d14a1e28
RD
6330 PyObject * obj0 = 0 ;
6331 PyObject * obj1 = 0 ;
6332 char *kwnames[] = {
6333 (char *) "self",(char *) "facename", NULL
6334 };
6335
6336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetFaceName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
6339 {
6340 wxString* sptr = wxString_in_helper(obj1);
6341 if (sptr == NULL) SWIG_fail;
6342 arg2 = *sptr;
6343 delete sptr;
6344 }
d14a1e28
RD
6345 {
6346 PyThreadState* __tstate = wxPyBeginAllowThreads();
6347 (arg1)->SetFaceName(arg2);
6348
6349 wxPyEndAllowThreads(__tstate);
6350 if (PyErr_Occurred()) SWIG_fail;
6351 }
6352 Py_INCREF(Py_None); resultobj = Py_None;
6353 return resultobj;
6354 fail:
6355 return NULL;
6356}
6357
6358
6359static PyObject *_wrap_NativeFontInfo_SetFamily(PyObject *self, PyObject *args, PyObject *kwargs) {
6360 PyObject *resultobj;
6361 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6362 int arg2 ;
6363 PyObject * obj0 = 0 ;
994141e6 6364 PyObject * obj1 = 0 ;
d14a1e28
RD
6365 char *kwnames[] = {
6366 (char *) "self",(char *) "family", NULL
6367 };
6368
994141e6 6369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetFamily",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6372 arg2 = (wxFontFamily) SWIG_AsInt(obj1);
6373 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6374 {
6375 PyThreadState* __tstate = wxPyBeginAllowThreads();
6376 (arg1)->SetFamily((wxFontFamily )arg2);
6377
6378 wxPyEndAllowThreads(__tstate);
6379 if (PyErr_Occurred()) SWIG_fail;
6380 }
6381 Py_INCREF(Py_None); resultobj = Py_None;
6382 return resultobj;
6383 fail:
6384 return NULL;
6385}
6386
6387
6388static PyObject *_wrap_NativeFontInfo_SetEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
6389 PyObject *resultobj;
6390 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6391 int arg2 ;
6392 PyObject * obj0 = 0 ;
994141e6 6393 PyObject * obj1 = 0 ;
d14a1e28
RD
6394 char *kwnames[] = {
6395 (char *) "self",(char *) "encoding", NULL
6396 };
6397
994141e6 6398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_SetEncoding",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6401 arg2 = (wxFontEncoding) SWIG_AsInt(obj1);
6402 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6403 {
6404 PyThreadState* __tstate = wxPyBeginAllowThreads();
6405 (arg1)->SetEncoding((wxFontEncoding )arg2);
6406
6407 wxPyEndAllowThreads(__tstate);
6408 if (PyErr_Occurred()) SWIG_fail;
6409 }
6410 Py_INCREF(Py_None); resultobj = Py_None;
6411 return resultobj;
6412 fail:
6413 return NULL;
6414}
6415
6416
6417static PyObject *_wrap_NativeFontInfo_FromString(PyObject *self, PyObject *args, PyObject *kwargs) {
6418 PyObject *resultobj;
6419 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6420 wxString *arg2 = 0 ;
6421 bool result;
e811c8ce 6422 bool temp2 = False ;
d14a1e28
RD
6423 PyObject * obj0 = 0 ;
6424 PyObject * obj1 = 0 ;
6425 char *kwnames[] = {
6426 (char *) "self",(char *) "s", NULL
6427 };
6428
6429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_FromString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6432 {
6433 arg2 = wxString_in_helper(obj1);
6434 if (arg2 == NULL) SWIG_fail;
e811c8ce 6435 temp2 = True;
d14a1e28
RD
6436 }
6437 {
6438 PyThreadState* __tstate = wxPyBeginAllowThreads();
6439 result = (bool)(arg1)->FromString((wxString const &)*arg2);
6440
6441 wxPyEndAllowThreads(__tstate);
6442 if (PyErr_Occurred()) SWIG_fail;
6443 }
4f89f6a3
RD
6444 {
6445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6446 }
d14a1e28
RD
6447 {
6448 if (temp2)
6449 delete arg2;
6450 }
6451 return resultobj;
6452 fail:
6453 {
6454 if (temp2)
6455 delete arg2;
6456 }
6457 return NULL;
6458}
6459
6460
6461static PyObject *_wrap_NativeFontInfo_ToString(PyObject *self, PyObject *args, PyObject *kwargs) {
6462 PyObject *resultobj;
6463 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6464 wxString result;
6465 PyObject * obj0 = 0 ;
6466 char *kwnames[] = {
6467 (char *) "self", NULL
6468 };
6469
6470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_ToString",kwnames,&obj0)) goto fail;
15afbcd0
RD
6471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6473 {
6474 PyThreadState* __tstate = wxPyBeginAllowThreads();
6475 result = ((wxNativeFontInfo const *)arg1)->ToString();
6476
6477 wxPyEndAllowThreads(__tstate);
6478 if (PyErr_Occurred()) SWIG_fail;
6479 }
6480 {
6481#if wxUSE_UNICODE
6482 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6483#else
6484 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6485#endif
6486 }
6487 return resultobj;
6488 fail:
6489 return NULL;
6490}
6491
6492
6493static PyObject *_wrap_NativeFontInfo___str__(PyObject *self, PyObject *args, PyObject *kwargs) {
6494 PyObject *resultobj;
6495 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6496 wxString result;
6497 PyObject * obj0 = 0 ;
6498 char *kwnames[] = {
6499 (char *) "self", NULL
6500 };
6501
6502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo___str__",kwnames,&obj0)) goto fail;
15afbcd0
RD
6503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6505 {
6506 PyThreadState* __tstate = wxPyBeginAllowThreads();
6507 result = wxNativeFontInfo___str__(arg1);
6508
6509 wxPyEndAllowThreads(__tstate);
6510 if (PyErr_Occurred()) SWIG_fail;
6511 }
6512 {
6513#if wxUSE_UNICODE
6514 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6515#else
6516 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6517#endif
6518 }
6519 return resultobj;
6520 fail:
6521 return NULL;
6522}
6523
6524
6525static PyObject *_wrap_NativeFontInfo_FromUserString(PyObject *self, PyObject *args, PyObject *kwargs) {
6526 PyObject *resultobj;
6527 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6528 wxString *arg2 = 0 ;
6529 bool result;
e811c8ce 6530 bool temp2 = False ;
d14a1e28
RD
6531 PyObject * obj0 = 0 ;
6532 PyObject * obj1 = 0 ;
6533 char *kwnames[] = {
6534 (char *) "self",(char *) "s", NULL
6535 };
6536
6537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeFontInfo_FromUserString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6540 {
6541 arg2 = wxString_in_helper(obj1);
6542 if (arg2 == NULL) SWIG_fail;
e811c8ce 6543 temp2 = True;
d14a1e28
RD
6544 }
6545 {
6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
6547 result = (bool)(arg1)->FromUserString((wxString const &)*arg2);
6548
6549 wxPyEndAllowThreads(__tstate);
6550 if (PyErr_Occurred()) SWIG_fail;
6551 }
4f89f6a3
RD
6552 {
6553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6554 }
d14a1e28
RD
6555 {
6556 if (temp2)
6557 delete arg2;
6558 }
6559 return resultobj;
6560 fail:
6561 {
6562 if (temp2)
6563 delete arg2;
6564 }
6565 return NULL;
6566}
6567
6568
6569static PyObject *_wrap_NativeFontInfo_ToUserString(PyObject *self, PyObject *args, PyObject *kwargs) {
6570 PyObject *resultobj;
6571 wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
6572 wxString result;
6573 PyObject * obj0 = 0 ;
6574 char *kwnames[] = {
6575 (char *) "self", NULL
6576 };
6577
6578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeFontInfo_ToUserString",kwnames,&obj0)) goto fail;
15afbcd0
RD
6579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
6580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6581 {
6582 PyThreadState* __tstate = wxPyBeginAllowThreads();
6583 result = ((wxNativeFontInfo const *)arg1)->ToUserString();
6584
6585 wxPyEndAllowThreads(__tstate);
6586 if (PyErr_Occurred()) SWIG_fail;
6587 }
6588 {
6589#if wxUSE_UNICODE
6590 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6591#else
6592 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6593#endif
6594 }
6595 return resultobj;
6596 fail:
6597 return NULL;
6598}
6599
6600
6601static PyObject * NativeFontInfo_swigregister(PyObject *self, PyObject *args) {
6602 PyObject *obj;
6603 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6604 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo, obj);
6605 Py_INCREF(obj);
6606 return Py_BuildValue((char *)"");
6607}
6608static PyObject *_wrap_NativeEncodingInfo_facename_set(PyObject *self, PyObject *args, PyObject *kwargs) {
6609 PyObject *resultobj;
6610 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
196addbf 6611 wxString *arg2 = (wxString *) 0 ;
7eae615b 6612 bool temp2 = False ;
d14a1e28
RD
6613 PyObject * obj0 = 0 ;
6614 PyObject * obj1 = 0 ;
6615 char *kwnames[] = {
6616 (char *) "self",(char *) "facename", NULL
6617 };
6618
6619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeEncodingInfo_facename_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7eae615b
RD
6622 {
6623 arg2 = wxString_in_helper(obj1);
6624 if (arg2 == NULL) SWIG_fail;
6625 temp2 = True;
6626 }
196addbf 6627 if (arg1) (arg1)->facename = *arg2;
d14a1e28
RD
6628
6629 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
6630 {
6631 if (temp2)
6632 delete arg2;
6633 }
d14a1e28
RD
6634 return resultobj;
6635 fail:
7eae615b
RD
6636 {
6637 if (temp2)
6638 delete arg2;
6639 }
d14a1e28
RD
6640 return NULL;
6641}
6642
6643
6644static PyObject *_wrap_NativeEncodingInfo_facename_get(PyObject *self, PyObject *args, PyObject *kwargs) {
6645 PyObject *resultobj;
6646 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
196addbf 6647 wxString *result;
d14a1e28
RD
6648 PyObject * obj0 = 0 ;
6649 char *kwnames[] = {
6650 (char *) "self", NULL
6651 };
6652
6653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeEncodingInfo_facename_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
6654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
196addbf 6656 result = (wxString *)& ((arg1)->facename);
d14a1e28
RD
6657
6658 {
6659#if wxUSE_UNICODE
196addbf 6660 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 6661#else
196addbf 6662 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
6663#endif
6664 }
6665 return resultobj;
6666 fail:
6667 return NULL;
6668}
6669
6670
6671static PyObject *_wrap_NativeEncodingInfo_encoding_set(PyObject *self, PyObject *args, PyObject *kwargs) {
6672 PyObject *resultobj;
6673 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
6674 int arg2 ;
6675 PyObject * obj0 = 0 ;
994141e6 6676 PyObject * obj1 = 0 ;
d14a1e28
RD
6677 char *kwnames[] = {
6678 (char *) "self",(char *) "encoding", NULL
6679 };
6680
994141e6 6681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6684 arg2 = (wxFontEncoding) SWIG_AsInt(obj1);
6685 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6686 if (arg1) (arg1)->encoding = (wxFontEncoding )arg2;
6687
6688 Py_INCREF(Py_None); resultobj = Py_None;
6689 return resultobj;
6690 fail:
6691 return NULL;
6692}
6693
6694
6695static PyObject *_wrap_NativeEncodingInfo_encoding_get(PyObject *self, PyObject *args, PyObject *kwargs) {
6696 PyObject *resultobj;
6697 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
6698 int result;
6699 PyObject * obj0 = 0 ;
6700 char *kwnames[] = {
6701 (char *) "self", NULL
6702 };
6703
6704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeEncodingInfo_encoding_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
6705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6707 result = (int) ((arg1)->encoding);
6708
15afbcd0 6709 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6710 return resultobj;
6711 fail:
6712 return NULL;
6713}
6714
6715
6716static PyObject *_wrap_new_NativeEncodingInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6717 PyObject *resultobj;
6718 wxNativeEncodingInfo *result;
6719 char *kwnames[] = {
6720 NULL
6721 };
6722
6723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NativeEncodingInfo",kwnames)) goto fail;
6724 {
6725 PyThreadState* __tstate = wxPyBeginAllowThreads();
6726 result = (wxNativeEncodingInfo *)new wxNativeEncodingInfo();
6727
6728 wxPyEndAllowThreads(__tstate);
6729 if (PyErr_Occurred()) SWIG_fail;
6730 }
15afbcd0 6731 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeEncodingInfo, 1);
d14a1e28
RD
6732 return resultobj;
6733 fail:
6734 return NULL;
6735}
6736
6737
6738static PyObject *_wrap_delete_NativeEncodingInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6739 PyObject *resultobj;
6740 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
6741 PyObject * obj0 = 0 ;
6742 char *kwnames[] = {
6743 (char *) "self", NULL
6744 };
6745
6746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_NativeEncodingInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
6747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6749 {
6750 PyThreadState* __tstate = wxPyBeginAllowThreads();
6751 delete arg1;
6752
6753 wxPyEndAllowThreads(__tstate);
6754 if (PyErr_Occurred()) SWIG_fail;
6755 }
6756 Py_INCREF(Py_None); resultobj = Py_None;
6757 return resultobj;
6758 fail:
6759 return NULL;
6760}
6761
6762
6763static PyObject *_wrap_NativeEncodingInfo_FromString(PyObject *self, PyObject *args, PyObject *kwargs) {
6764 PyObject *resultobj;
6765 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
6766 wxString *arg2 = 0 ;
6767 bool result;
e811c8ce 6768 bool temp2 = False ;
d14a1e28
RD
6769 PyObject * obj0 = 0 ;
6770 PyObject * obj1 = 0 ;
6771 char *kwnames[] = {
6772 (char *) "self",(char *) "s", NULL
6773 };
6774
6775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NativeEncodingInfo_FromString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6778 {
6779 arg2 = wxString_in_helper(obj1);
6780 if (arg2 == NULL) SWIG_fail;
e811c8ce 6781 temp2 = True;
d14a1e28
RD
6782 }
6783 {
6784 PyThreadState* __tstate = wxPyBeginAllowThreads();
6785 result = (bool)(arg1)->FromString((wxString const &)*arg2);
6786
6787 wxPyEndAllowThreads(__tstate);
6788 if (PyErr_Occurred()) SWIG_fail;
6789 }
4f89f6a3
RD
6790 {
6791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6792 }
d14a1e28
RD
6793 {
6794 if (temp2)
6795 delete arg2;
6796 }
6797 return resultobj;
6798 fail:
6799 {
6800 if (temp2)
6801 delete arg2;
6802 }
6803 return NULL;
6804}
6805
6806
6807static PyObject *_wrap_NativeEncodingInfo_ToString(PyObject *self, PyObject *args, PyObject *kwargs) {
6808 PyObject *resultobj;
6809 wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
6810 wxString result;
6811 PyObject * obj0 = 0 ;
6812 char *kwnames[] = {
6813 (char *) "self", NULL
6814 };
6815
6816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NativeEncodingInfo_ToString",kwnames,&obj0)) goto fail;
15afbcd0
RD
6817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6819 {
6820 PyThreadState* __tstate = wxPyBeginAllowThreads();
6821 result = ((wxNativeEncodingInfo const *)arg1)->ToString();
6822
6823 wxPyEndAllowThreads(__tstate);
6824 if (PyErr_Occurred()) SWIG_fail;
6825 }
6826 {
6827#if wxUSE_UNICODE
6828 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6829#else
6830 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6831#endif
6832 }
6833 return resultobj;
6834 fail:
6835 return NULL;
6836}
6837
6838
6839static PyObject * NativeEncodingInfo_swigregister(PyObject *self, PyObject *args) {
6840 PyObject *obj;
6841 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6842 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo, obj);
6843 Py_INCREF(obj);
6844 return Py_BuildValue((char *)"");
6845}
6846static PyObject *_wrap_GetNativeFontEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
6847 PyObject *resultobj;
6848 int arg1 ;
6849 wxNativeEncodingInfo *result;
994141e6 6850 PyObject * obj0 = 0 ;
d14a1e28
RD
6851 char *kwnames[] = {
6852 (char *) "encoding", NULL
6853 };
6854
994141e6 6855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetNativeFontEncoding",kwnames,&obj0)) goto fail;
15afbcd0
RD
6856 arg1 = (wxFontEncoding) SWIG_AsInt(obj0);
6857 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
6858 {
6859 PyThreadState* __tstate = wxPyBeginAllowThreads();
6860 result = (wxNativeEncodingInfo *)wxGetNativeFontEncoding((wxFontEncoding )arg1);
d14a1e28
RD
6861
6862 wxPyEndAllowThreads(__tstate);
6863 if (PyErr_Occurred()) SWIG_fail;
6864 }
15afbcd0 6865 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeEncodingInfo, 0);
d14a1e28
RD
6866 return resultobj;
6867 fail:
6868 return NULL;
6869}
6870
6871
6872static PyObject *_wrap_TestFontEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
6873 PyObject *resultobj;
6874 wxNativeEncodingInfo *arg1 = 0 ;
6875 bool result;
6876 PyObject * obj0 = 0 ;
6877 char *kwnames[] = {
6878 (char *) "info", NULL
6879 };
6880
6881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TestFontEncoding",kwnames,&obj0)) goto fail;
15afbcd0
RD
6882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeEncodingInfo,
6883 SWIG_POINTER_EXCEPTION | 0)) == -1)
6884 SWIG_fail;
d14a1e28 6885 if (arg1 == NULL) {
15afbcd0
RD
6886 PyErr_SetString(PyExc_TypeError,"null reference");
6887 SWIG_fail;
d14a1e28
RD
6888 }
6889 {
6890 PyThreadState* __tstate = wxPyBeginAllowThreads();
6891 result = (bool)wxTestFontEncoding((wxNativeEncodingInfo const &)*arg1);
6892
6893 wxPyEndAllowThreads(__tstate);
6894 if (PyErr_Occurred()) SWIG_fail;
6895 }
4f89f6a3
RD
6896 {
6897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6898 }
d14a1e28
RD
6899 return resultobj;
6900 fail:
6901 return NULL;
6902}
6903
6904
6905static PyObject *_wrap_new_FontMapper(PyObject *self, PyObject *args, PyObject *kwargs) {
6906 PyObject *resultobj;
6907 wxFontMapper *result;
6908 char *kwnames[] = {
6909 NULL
6910 };
6911
6912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontMapper",kwnames)) goto fail;
6913 {
6914 PyThreadState* __tstate = wxPyBeginAllowThreads();
6915 result = (wxFontMapper *)new wxFontMapper();
6916
6917 wxPyEndAllowThreads(__tstate);
6918 if (PyErr_Occurred()) SWIG_fail;
6919 }
15afbcd0 6920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontMapper, 1);
d14a1e28
RD
6921 return resultobj;
6922 fail:
6923 return NULL;
6924}
6925
6926
6927static PyObject *_wrap_delete_FontMapper(PyObject *self, PyObject *args, PyObject *kwargs) {
6928 PyObject *resultobj;
6929 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
6930 PyObject * obj0 = 0 ;
6931 char *kwnames[] = {
6932 (char *) "self", NULL
6933 };
6934
6935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontMapper",kwnames,&obj0)) goto fail;
15afbcd0
RD
6936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
6937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6938 {
6939 PyThreadState* __tstate = wxPyBeginAllowThreads();
6940 delete arg1;
6941
6942 wxPyEndAllowThreads(__tstate);
6943 if (PyErr_Occurred()) SWIG_fail;
6944 }
6945 Py_INCREF(Py_None); resultobj = Py_None;
6946 return resultobj;
6947 fail:
6948 return NULL;
6949}
6950
6951
6952static PyObject *_wrap_FontMapper_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
6953 PyObject *resultobj;
6954 wxFontMapper *result;
6955 char *kwnames[] = {
6956 NULL
6957 };
6958
6959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FontMapper_Get",kwnames)) goto fail;
6960 {
6961 PyThreadState* __tstate = wxPyBeginAllowThreads();
6962 result = (wxFontMapper *)wxFontMapper::Get();
6963
6964 wxPyEndAllowThreads(__tstate);
6965 if (PyErr_Occurred()) SWIG_fail;
6966 }
15afbcd0 6967 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontMapper, 0);
d14a1e28
RD
6968 return resultobj;
6969 fail:
6970 return NULL;
6971}
6972
6973
6974static PyObject *_wrap_FontMapper_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
6975 PyObject *resultobj;
6976 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
6977 wxFontMapper *result;
6978 PyObject * obj0 = 0 ;
6979 char *kwnames[] = {
6980 (char *) "mapper", NULL
6981 };
6982
6983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_Set",kwnames,&obj0)) goto fail;
15afbcd0
RD
6984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
6985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6986 {
6987 PyThreadState* __tstate = wxPyBeginAllowThreads();
6988 result = (wxFontMapper *)wxFontMapper::Set(arg1);
6989
6990 wxPyEndAllowThreads(__tstate);
6991 if (PyErr_Occurred()) SWIG_fail;
6992 }
15afbcd0 6993 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontMapper, 0);
d14a1e28
RD
6994 return resultobj;
6995 fail:
6996 return NULL;
6997}
6998
6999
7000static PyObject *_wrap_FontMapper_CharsetToEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
7001 PyObject *resultobj;
7002 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7003 wxString *arg2 = 0 ;
e811c8ce 7004 bool arg3 = (bool) True ;
d14a1e28 7005 int result;
e811c8ce 7006 bool temp2 = False ;
d14a1e28
RD
7007 PyObject * obj0 = 0 ;
7008 PyObject * obj1 = 0 ;
7009 PyObject * obj2 = 0 ;
7010 char *kwnames[] = {
7011 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7012 };
7013
7014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7017 {
7018 arg2 = wxString_in_helper(obj1);
7019 if (arg2 == NULL) SWIG_fail;
e811c8ce 7020 temp2 = True;
d14a1e28
RD
7021 }
7022 if (obj2) {
15afbcd0
RD
7023 arg3 = (bool) SWIG_AsBool(obj2);
7024 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7025 }
7026 {
7027 PyThreadState* __tstate = wxPyBeginAllowThreads();
7028 result = (int)(arg1)->CharsetToEncoding((wxString const &)*arg2,arg3);
7029
7030 wxPyEndAllowThreads(__tstate);
7031 if (PyErr_Occurred()) SWIG_fail;
7032 }
15afbcd0 7033 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7034 {
7035 if (temp2)
7036 delete arg2;
7037 }
7038 return resultobj;
7039 fail:
7040 {
7041 if (temp2)
7042 delete arg2;
7043 }
7044 return NULL;
7045}
7046
7047
7048static PyObject *_wrap_FontMapper_GetSupportedEncodingsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7049 PyObject *resultobj;
7050 size_t result;
7051 char *kwnames[] = {
7052 NULL
7053 };
7054
7055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames)) goto fail;
7056 {
7057 PyThreadState* __tstate = wxPyBeginAllowThreads();
7058 result = (size_t)wxFontMapper::GetSupportedEncodingsCount();
7059
7060 wxPyEndAllowThreads(__tstate);
7061 if (PyErr_Occurred()) SWIG_fail;
7062 }
15afbcd0 7063 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
7064 return resultobj;
7065 fail:
7066 return NULL;
7067}
7068
7069
7070static PyObject *_wrap_FontMapper_GetEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
7071 PyObject *resultobj;
7072 size_t arg1 ;
7073 int result;
7074 PyObject * obj0 = 0 ;
7075 char *kwnames[] = {
7076 (char *) "n", NULL
7077 };
7078
7079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncoding",kwnames,&obj0)) goto fail;
15afbcd0
RD
7080 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
7081 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7082 {
7083 PyThreadState* __tstate = wxPyBeginAllowThreads();
7084 result = (int)wxFontMapper::GetEncoding(arg1);
7085
7086 wxPyEndAllowThreads(__tstate);
7087 if (PyErr_Occurred()) SWIG_fail;
7088 }
15afbcd0 7089 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7090 return resultobj;
7091 fail:
7092 return NULL;
7093}
7094
7095
7096static PyObject *_wrap_FontMapper_GetEncodingName(PyObject *self, PyObject *args, PyObject *kwargs) {
7097 PyObject *resultobj;
7098 int arg1 ;
7099 wxString result;
994141e6 7100 PyObject * obj0 = 0 ;
d14a1e28
RD
7101 char *kwnames[] = {
7102 (char *) "encoding", NULL
7103 };
7104
994141e6 7105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncodingName",kwnames,&obj0)) goto fail;
15afbcd0
RD
7106 arg1 = (wxFontEncoding) SWIG_AsInt(obj0);
7107 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7108 {
7109 PyThreadState* __tstate = wxPyBeginAllowThreads();
7110 result = wxFontMapper::GetEncodingName((wxFontEncoding )arg1);
7111
7112 wxPyEndAllowThreads(__tstate);
7113 if (PyErr_Occurred()) SWIG_fail;
7114 }
7115 {
7116#if wxUSE_UNICODE
7117 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7118#else
7119 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7120#endif
7121 }
7122 return resultobj;
7123 fail:
7124 return NULL;
7125}
7126
7127
7128static PyObject *_wrap_FontMapper_GetEncodingDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
7129 PyObject *resultobj;
7130 int arg1 ;
7131 wxString result;
994141e6 7132 PyObject * obj0 = 0 ;
d14a1e28
RD
7133 char *kwnames[] = {
7134 (char *) "encoding", NULL
7135 };
7136
994141e6 7137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncodingDescription",kwnames,&obj0)) goto fail;
15afbcd0
RD
7138 arg1 = (wxFontEncoding) SWIG_AsInt(obj0);
7139 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7140 {
7141 PyThreadState* __tstate = wxPyBeginAllowThreads();
7142 result = wxFontMapper::GetEncodingDescription((wxFontEncoding )arg1);
7143
7144 wxPyEndAllowThreads(__tstate);
7145 if (PyErr_Occurred()) SWIG_fail;
7146 }
7147 {
7148#if wxUSE_UNICODE
7149 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7150#else
7151 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7152#endif
7153 }
7154 return resultobj;
7155 fail:
7156 return NULL;
7157}
7158
7159
b2df227b
RD
7160static PyObject *_wrap_FontMapper_GetEncodingFromName(PyObject *self, PyObject *args, PyObject *kwargs) {
7161 PyObject *resultobj;
7162 wxString *arg1 = 0 ;
7163 int result;
7164 bool temp1 = False ;
7165 PyObject * obj0 = 0 ;
7166 char *kwnames[] = {
7167 (char *) "name", NULL
7168 };
7169
7170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncodingFromName",kwnames,&obj0)) goto fail;
7171 {
7172 arg1 = wxString_in_helper(obj0);
7173 if (arg1 == NULL) SWIG_fail;
7174 temp1 = True;
7175 }
7176 {
7177 PyThreadState* __tstate = wxPyBeginAllowThreads();
7178 result = (int)wxFontMapper::GetEncodingFromName((wxString const &)*arg1);
7179
7180 wxPyEndAllowThreads(__tstate);
7181 if (PyErr_Occurred()) SWIG_fail;
7182 }
7183 resultobj = SWIG_FromInt((int)result);
7184 {
7185 if (temp1)
7186 delete arg1;
7187 }
7188 return resultobj;
7189 fail:
7190 {
7191 if (temp1)
7192 delete arg1;
7193 }
7194 return NULL;
7195}
7196
7197
d14a1e28
RD
7198static PyObject *_wrap_FontMapper_SetConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
7199 PyObject *resultobj;
7200 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7201 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
7202 PyObject * obj0 = 0 ;
7203 PyObject * obj1 = 0 ;
7204 char *kwnames[] = {
7205 (char *) "self",(char *) "config", NULL
7206 };
7207
7208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetConfig",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7211 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
7212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7213 {
7214 PyThreadState* __tstate = wxPyBeginAllowThreads();
7215 (arg1)->SetConfig(arg2);
7216
7217 wxPyEndAllowThreads(__tstate);
7218 if (PyErr_Occurred()) SWIG_fail;
7219 }
7220 Py_INCREF(Py_None); resultobj = Py_None;
7221 return resultobj;
7222 fail:
7223 return NULL;
7224}
7225
7226
7227static PyObject *_wrap_FontMapper_SetConfigPath(PyObject *self, PyObject *args, PyObject *kwargs) {
7228 PyObject *resultobj;
7229 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7230 wxString *arg2 = 0 ;
e811c8ce 7231 bool temp2 = False ;
d14a1e28
RD
7232 PyObject * obj0 = 0 ;
7233 PyObject * obj1 = 0 ;
7234 char *kwnames[] = {
7235 (char *) "self",(char *) "prefix", NULL
7236 };
7237
7238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetConfigPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7241 {
7242 arg2 = wxString_in_helper(obj1);
7243 if (arg2 == NULL) SWIG_fail;
e811c8ce 7244 temp2 = True;
d14a1e28
RD
7245 }
7246 {
7247 PyThreadState* __tstate = wxPyBeginAllowThreads();
7248 (arg1)->SetConfigPath((wxString const &)*arg2);
7249
7250 wxPyEndAllowThreads(__tstate);
7251 if (PyErr_Occurred()) SWIG_fail;
7252 }
7253 Py_INCREF(Py_None); resultobj = Py_None;
7254 {
7255 if (temp2)
7256 delete arg2;
7257 }
7258 return resultobj;
7259 fail:
7260 {
7261 if (temp2)
7262 delete arg2;
7263 }
7264 return NULL;
7265}
7266
7267
7268static PyObject *_wrap_FontMapper_GetDefaultConfigPath(PyObject *self, PyObject *args, PyObject *kwargs) {
7269 PyObject *resultobj;
7270 wxString result;
7271 char *kwnames[] = {
7272 NULL
7273 };
7274
7275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FontMapper_GetDefaultConfigPath",kwnames)) goto fail;
7276 {
7277 PyThreadState* __tstate = wxPyBeginAllowThreads();
7278 result = wxFontMapper::GetDefaultConfigPath();
7279
7280 wxPyEndAllowThreads(__tstate);
7281 if (PyErr_Occurred()) SWIG_fail;
7282 }
7283 {
7284#if wxUSE_UNICODE
7285 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7286#else
7287 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7288#endif
7289 }
7290 return resultobj;
7291 fail:
7292 return NULL;
7293}
7294
7295
7296static PyObject *_wrap_FontMapper_GetAltForEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
7297 PyObject *resultobj;
7298 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7299 int arg2 ;
7300 wxString const &arg3_defvalue = wxPyEmptyString ;
7301 wxString *arg3 = (wxString *) &arg3_defvalue ;
e811c8ce 7302 bool arg4 = (bool) True ;
d14a1e28 7303 PyObject *result;
e811c8ce 7304 bool temp3 = False ;
d14a1e28 7305 PyObject * obj0 = 0 ;
994141e6 7306 PyObject * obj1 = 0 ;
d14a1e28
RD
7307 PyObject * obj2 = 0 ;
7308 PyObject * obj3 = 0 ;
7309 char *kwnames[] = {
7310 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7311 };
7312
994141e6 7313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
7314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7316 arg2 = (wxFontEncoding) SWIG_AsInt(obj1);
7317 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7318 if (obj2) {
7319 {
7320 arg3 = wxString_in_helper(obj2);
7321 if (arg3 == NULL) SWIG_fail;
e811c8ce 7322 temp3 = True;
d14a1e28
RD
7323 }
7324 }
7325 if (obj3) {
15afbcd0
RD
7326 arg4 = (bool) SWIG_AsBool(obj3);
7327 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7328 }
7329 {
7330 PyThreadState* __tstate = wxPyBeginAllowThreads();
7331 result = (PyObject *)wxFontMapper_GetAltForEncoding(arg1,(wxFontEncoding )arg2,(wxString const &)*arg3,arg4);
7332
7333 wxPyEndAllowThreads(__tstate);
7334 if (PyErr_Occurred()) SWIG_fail;
7335 }
7336 resultobj = result;
7337 {
7338 if (temp3)
7339 delete arg3;
7340 }
7341 return resultobj;
7342 fail:
7343 {
7344 if (temp3)
7345 delete arg3;
7346 }
7347 return NULL;
7348}
7349
7350
7351static PyObject *_wrap_FontMapper_IsEncodingAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
7352 PyObject *resultobj;
7353 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7354 int arg2 ;
7355 wxString const &arg3_defvalue = wxPyEmptyString ;
7356 wxString *arg3 = (wxString *) &arg3_defvalue ;
7357 bool result;
e811c8ce 7358 bool temp3 = False ;
d14a1e28 7359 PyObject * obj0 = 0 ;
994141e6 7360 PyObject * obj1 = 0 ;
d14a1e28
RD
7361 PyObject * obj2 = 0 ;
7362 char *kwnames[] = {
7363 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7364 };
7365
994141e6 7366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7369 arg2 = (wxFontEncoding) SWIG_AsInt(obj1);
7370 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7371 if (obj2) {
7372 {
7373 arg3 = wxString_in_helper(obj2);
7374 if (arg3 == NULL) SWIG_fail;
e811c8ce 7375 temp3 = True;
d14a1e28
RD
7376 }
7377 }
7378 {
7379 PyThreadState* __tstate = wxPyBeginAllowThreads();
7380 result = (bool)(arg1)->IsEncodingAvailable((wxFontEncoding )arg2,(wxString const &)*arg3);
7381
7382 wxPyEndAllowThreads(__tstate);
7383 if (PyErr_Occurred()) SWIG_fail;
7384 }
4f89f6a3
RD
7385 {
7386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7387 }
d14a1e28
RD
7388 {
7389 if (temp3)
7390 delete arg3;
7391 }
7392 return resultobj;
7393 fail:
7394 {
7395 if (temp3)
7396 delete arg3;
7397 }
7398 return NULL;
7399}
7400
7401
7402static PyObject *_wrap_FontMapper_SetDialogParent(PyObject *self, PyObject *args, PyObject *kwargs) {
7403 PyObject *resultobj;
7404 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7405 wxWindow *arg2 = (wxWindow *) 0 ;
7406 PyObject * obj0 = 0 ;
7407 PyObject * obj1 = 0 ;
7408 char *kwnames[] = {
7409 (char *) "self",(char *) "parent", NULL
7410 };
7411
7412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetDialogParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7415 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7417 {
7418 PyThreadState* __tstate = wxPyBeginAllowThreads();
7419 (arg1)->SetDialogParent(arg2);
7420
7421 wxPyEndAllowThreads(__tstate);
7422 if (PyErr_Occurred()) SWIG_fail;
7423 }
7424 Py_INCREF(Py_None); resultobj = Py_None;
7425 return resultobj;
7426 fail:
7427 return NULL;
7428}
7429
7430
7431static PyObject *_wrap_FontMapper_SetDialogTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
7432 PyObject *resultobj;
7433 wxFontMapper *arg1 = (wxFontMapper *) 0 ;
7434 wxString *arg2 = 0 ;
e811c8ce 7435 bool temp2 = False ;
d14a1e28
RD
7436 PyObject * obj0 = 0 ;
7437 PyObject * obj1 = 0 ;
7438 char *kwnames[] = {
7439 (char *) "self",(char *) "title", NULL
7440 };
7441
7442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontMapper_SetDialogTitle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontMapper,
7444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7445 {
7446 arg2 = wxString_in_helper(obj1);
7447 if (arg2 == NULL) SWIG_fail;
e811c8ce 7448 temp2 = True;
d14a1e28
RD
7449 }
7450 {
7451 PyThreadState* __tstate = wxPyBeginAllowThreads();
7452 (arg1)->SetDialogTitle((wxString const &)*arg2);
7453
7454 wxPyEndAllowThreads(__tstate);
7455 if (PyErr_Occurred()) SWIG_fail;
7456 }
7457 Py_INCREF(Py_None); resultobj = Py_None;
7458 {
7459 if (temp2)
7460 delete arg2;
7461 }
7462 return resultobj;
7463 fail:
7464 {
7465 if (temp2)
7466 delete arg2;
7467 }
7468 return NULL;
7469}
7470
7471
7472static PyObject * FontMapper_swigregister(PyObject *self, PyObject *args) {
7473 PyObject *obj;
7474 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7475 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper, obj);
7476 Py_INCREF(obj);
7477 return Py_BuildValue((char *)"");
7478}
7479static PyObject *_wrap_new_Font(PyObject *self, PyObject *args, PyObject *kwargs) {
7480 PyObject *resultobj;
7481 int arg1 ;
7482 int arg2 ;
7483 int arg3 ;
7484 int arg4 ;
e811c8ce 7485 bool arg5 = (bool) False ;
d14a1e28
RD
7486 wxString const &arg6_defvalue = wxPyEmptyString ;
7487 wxString *arg6 = (wxString *) &arg6_defvalue ;
7488 int arg7 = (int) wxFONTENCODING_DEFAULT ;
7489 wxFont *result;
e811c8ce 7490 bool temp6 = False ;
994141e6
RD
7491 PyObject * obj0 = 0 ;
7492 PyObject * obj1 = 0 ;
7493 PyObject * obj2 = 0 ;
7494 PyObject * obj3 = 0 ;
d14a1e28
RD
7495 PyObject * obj4 = 0 ;
7496 PyObject * obj5 = 0 ;
994141e6 7497 PyObject * obj6 = 0 ;
d14a1e28
RD
7498 char *kwnames[] = {
7499 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7500 };
7501
994141e6 7502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:new_Font",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
7503 arg1 = (int) SWIG_AsInt(obj0);
7504 if (PyErr_Occurred()) SWIG_fail;
7505 arg2 = (int) SWIG_AsInt(obj1);
7506 if (PyErr_Occurred()) SWIG_fail;
7507 arg3 = (int) SWIG_AsInt(obj2);
7508 if (PyErr_Occurred()) SWIG_fail;
7509 arg4 = (int) SWIG_AsInt(obj3);
7510 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7511 if (obj4) {
15afbcd0
RD
7512 arg5 = (bool) SWIG_AsBool(obj4);
7513 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7514 }
7515 if (obj5) {
7516 {
7517 arg6 = wxString_in_helper(obj5);
7518 if (arg6 == NULL) SWIG_fail;
e811c8ce 7519 temp6 = True;
d14a1e28
RD
7520 }
7521 }
994141e6 7522 if (obj6) {
15afbcd0
RD
7523 arg7 = (wxFontEncoding) SWIG_AsInt(obj6);
7524 if (PyErr_Occurred()) SWIG_fail;
994141e6 7525 }
d14a1e28
RD
7526 {
7527 PyThreadState* __tstate = wxPyBeginAllowThreads();
7528 result = (wxFont *)new wxFont(arg1,arg2,arg3,arg4,arg5,(wxString const &)*arg6,(wxFontEncoding )arg7);
7529
7530 wxPyEndAllowThreads(__tstate);
7531 if (PyErr_Occurred()) SWIG_fail;
7532 }
15afbcd0 7533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
7534 {
7535 if (temp6)
7536 delete arg6;
7537 }
7538 return resultobj;
7539 fail:
7540 {
7541 if (temp6)
7542 delete arg6;
7543 }
7544 return NULL;
7545}
7546
7547
7548static PyObject *_wrap_delete_Font(PyObject *self, PyObject *args, PyObject *kwargs) {
7549 PyObject *resultobj;
7550 wxFont *arg1 = (wxFont *) 0 ;
7551 PyObject * obj0 = 0 ;
7552 char *kwnames[] = {
7553 (char *) "self", NULL
7554 };
7555
7556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Font",kwnames,&obj0)) goto fail;
15afbcd0
RD
7557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7559 {
7560 PyThreadState* __tstate = wxPyBeginAllowThreads();
7561 delete arg1;
7562
7563 wxPyEndAllowThreads(__tstate);
7564 if (PyErr_Occurred()) SWIG_fail;
7565 }
7566 Py_INCREF(Py_None); resultobj = Py_None;
7567 return resultobj;
7568 fail:
7569 return NULL;
7570}
7571
7572
7573static PyObject *_wrap_new_FontFromNativeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7574 PyObject *resultobj;
7575 wxNativeFontInfo *arg1 = 0 ;
7576 wxFont *result;
7577 PyObject * obj0 = 0 ;
7578 char *kwnames[] = {
7579 (char *) "info", NULL
7580 };
7581
7582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FontFromNativeInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
7583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNativeFontInfo,
7584 SWIG_POINTER_EXCEPTION | 0)) == -1)
7585 SWIG_fail;
d14a1e28 7586 if (arg1 == NULL) {
15afbcd0
RD
7587 PyErr_SetString(PyExc_TypeError,"null reference");
7588 SWIG_fail;
d14a1e28
RD
7589 }
7590 {
7591 PyThreadState* __tstate = wxPyBeginAllowThreads();
7592 result = (wxFont *)new wxFont((wxNativeFontInfo const &)*arg1);
7593
7594 wxPyEndAllowThreads(__tstate);
7595 if (PyErr_Occurred()) SWIG_fail;
7596 }
15afbcd0 7597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
7598 return resultobj;
7599 fail:
7600 return NULL;
7601}
7602
7603
7604static PyObject *_wrap_new_FontFromNativeInfoString(PyObject *self, PyObject *args, PyObject *kwargs) {
7605 PyObject *resultobj;
7606 wxString *arg1 = 0 ;
7607 wxFont *result;
e811c8ce 7608 bool temp1 = False ;
d14a1e28
RD
7609 PyObject * obj0 = 0 ;
7610 char *kwnames[] = {
7611 (char *) "info", NULL
7612 };
7613
7614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FontFromNativeInfoString",kwnames,&obj0)) goto fail;
7615 {
7616 arg1 = wxString_in_helper(obj0);
7617 if (arg1 == NULL) SWIG_fail;
e811c8ce 7618 temp1 = True;
d14a1e28
RD
7619 }
7620 {
7621 PyThreadState* __tstate = wxPyBeginAllowThreads();
7622 result = (wxFont *)new_wxFont((wxString const &)*arg1);
7623
7624 wxPyEndAllowThreads(__tstate);
7625 if (PyErr_Occurred()) SWIG_fail;
7626 }
15afbcd0 7627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
7628 {
7629 if (temp1)
7630 delete arg1;
7631 }
7632 return resultobj;
7633 fail:
7634 {
7635 if (temp1)
7636 delete arg1;
7637 }
7638 return NULL;
7639}
7640
7641
7642static PyObject *_wrap_new_Font2(PyObject *self, PyObject *args, PyObject *kwargs) {
7643 PyObject *resultobj;
7644 int arg1 ;
7645 int arg2 ;
7646 int arg3 = (int) wxFONTFLAG_DEFAULT ;
7647 wxString const &arg4_defvalue = wxPyEmptyString ;
7648 wxString *arg4 = (wxString *) &arg4_defvalue ;
7649 int arg5 = (int) wxFONTENCODING_DEFAULT ;
7650 wxFont *result;
e811c8ce 7651 bool temp4 = False ;
994141e6
RD
7652 PyObject * obj0 = 0 ;
7653 PyObject * obj1 = 0 ;
7654 PyObject * obj2 = 0 ;
d14a1e28 7655 PyObject * obj3 = 0 ;
994141e6 7656 PyObject * obj4 = 0 ;
d14a1e28
RD
7657 char *kwnames[] = {
7658 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7659 };
7660
994141e6 7661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_Font2",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
7662 arg1 = (int) SWIG_AsInt(obj0);
7663 if (PyErr_Occurred()) SWIG_fail;
7664 arg2 = (wxFontFamily) SWIG_AsInt(obj1);
7665 if (PyErr_Occurred()) SWIG_fail;
994141e6 7666 if (obj2) {
15afbcd0
RD
7667 arg3 = (int) SWIG_AsInt(obj2);
7668 if (PyErr_Occurred()) SWIG_fail;
994141e6 7669 }
d14a1e28
RD
7670 if (obj3) {
7671 {
7672 arg4 = wxString_in_helper(obj3);
7673 if (arg4 == NULL) SWIG_fail;
e811c8ce 7674 temp4 = True;
d14a1e28
RD
7675 }
7676 }
994141e6 7677 if (obj4) {
15afbcd0
RD
7678 arg5 = (wxFontEncoding) SWIG_AsInt(obj4);
7679 if (PyErr_Occurred()) SWIG_fail;
994141e6 7680 }
d14a1e28
RD
7681 {
7682 PyThreadState* __tstate = wxPyBeginAllowThreads();
7683 result = (wxFont *)new_wxFont(arg1,(wxFontFamily )arg2,arg3,(wxString const &)*arg4,(wxFontEncoding )arg5);
7684
7685 wxPyEndAllowThreads(__tstate);
7686 if (PyErr_Occurred()) SWIG_fail;
7687 }
15afbcd0 7688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
7689 {
7690 if (temp4)
7691 delete arg4;
7692 }
7693 return resultobj;
7694 fail:
7695 {
7696 if (temp4)
7697 delete arg4;
7698 }
7699 return NULL;
7700}
7701
7702
7703static PyObject *_wrap_Font_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
7704 PyObject *resultobj;
7705 wxFont *arg1 = (wxFont *) 0 ;
7706 bool result;
7707 PyObject * obj0 = 0 ;
7708 char *kwnames[] = {
7709 (char *) "self", NULL
7710 };
7711
7712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
7713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7715 {
7716 PyThreadState* __tstate = wxPyBeginAllowThreads();
7717 result = (bool)((wxFont const *)arg1)->Ok();
7718
7719 wxPyEndAllowThreads(__tstate);
7720 if (PyErr_Occurred()) SWIG_fail;
7721 }
4f89f6a3
RD
7722 {
7723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7724 }
d14a1e28
RD
7725 return resultobj;
7726 fail:
7727 return NULL;
7728}
7729
7730
7731static PyObject *_wrap_Font___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
7732 PyObject *resultobj;
7733 wxFont *arg1 = (wxFont *) 0 ;
22faec7d 7734 wxFont *arg2 = (wxFont *) 0 ;
d14a1e28
RD
7735 bool result;
7736 PyObject * obj0 = 0 ;
7737 PyObject * obj1 = 0 ;
7738 char *kwnames[] = {
22faec7d 7739 (char *) "self",(char *) "other", NULL
d14a1e28
RD
7740 };
7741
7742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7745 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
7746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7747 {
7748 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 7749 result = (bool)wxFont___eq__(arg1,(wxFont const *)arg2);
d14a1e28
RD
7750
7751 wxPyEndAllowThreads(__tstate);
7752 if (PyErr_Occurred()) SWIG_fail;
7753 }
4f89f6a3
RD
7754 {
7755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7756 }
d14a1e28
RD
7757 return resultobj;
7758 fail:
7759 return NULL;
7760}
7761
7762
7763static PyObject *_wrap_Font___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
7764 PyObject *resultobj;
7765 wxFont *arg1 = (wxFont *) 0 ;
22faec7d 7766 wxFont *arg2 = (wxFont *) 0 ;
d14a1e28
RD
7767 bool result;
7768 PyObject * obj0 = 0 ;
7769 PyObject * obj1 = 0 ;
7770 char *kwnames[] = {
22faec7d 7771 (char *) "self",(char *) "other", NULL
d14a1e28
RD
7772 };
7773
7774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7777 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
7778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7779 {
7780 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 7781 result = (bool)wxFont___ne__(arg1,(wxFont const *)arg2);
d14a1e28
RD
7782
7783 wxPyEndAllowThreads(__tstate);
7784 if (PyErr_Occurred()) SWIG_fail;
7785 }
4f89f6a3
RD
7786 {
7787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7788 }
d14a1e28
RD
7789 return resultobj;
7790 fail:
7791 return NULL;
7792}
7793
7794
7795static PyObject *_wrap_Font_GetPointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7796 PyObject *resultobj;
7797 wxFont *arg1 = (wxFont *) 0 ;
7798 int result;
7799 PyObject * obj0 = 0 ;
7800 char *kwnames[] = {
7801 (char *) "self", NULL
7802 };
7803
7804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetPointSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
7805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7807 {
7808 PyThreadState* __tstate = wxPyBeginAllowThreads();
7809 result = (int)((wxFont const *)arg1)->GetPointSize();
7810
7811 wxPyEndAllowThreads(__tstate);
7812 if (PyErr_Occurred()) SWIG_fail;
7813 }
15afbcd0 7814 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7815 return resultobj;
7816 fail:
7817 return NULL;
7818}
7819
7820
7821static PyObject *_wrap_Font_GetFamily(PyObject *self, PyObject *args, PyObject *kwargs) {
7822 PyObject *resultobj;
7823 wxFont *arg1 = (wxFont *) 0 ;
7824 int result;
7825 PyObject * obj0 = 0 ;
7826 char *kwnames[] = {
7827 (char *) "self", NULL
7828 };
7829
7830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetFamily",kwnames,&obj0)) goto fail;
15afbcd0
RD
7831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7833 {
7834 PyThreadState* __tstate = wxPyBeginAllowThreads();
7835 result = (int)((wxFont const *)arg1)->GetFamily();
7836
7837 wxPyEndAllowThreads(__tstate);
7838 if (PyErr_Occurred()) SWIG_fail;
7839 }
15afbcd0 7840 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7841 return resultobj;
7842 fail:
7843 return NULL;
7844}
7845
7846
7847static PyObject *_wrap_Font_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7848 PyObject *resultobj;
7849 wxFont *arg1 = (wxFont *) 0 ;
7850 int result;
7851 PyObject * obj0 = 0 ;
7852 char *kwnames[] = {
7853 (char *) "self", NULL
7854 };
7855
7856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
7857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7859 {
7860 PyThreadState* __tstate = wxPyBeginAllowThreads();
7861 result = (int)((wxFont const *)arg1)->GetStyle();
7862
7863 wxPyEndAllowThreads(__tstate);
7864 if (PyErr_Occurred()) SWIG_fail;
7865 }
15afbcd0 7866 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7867 return resultobj;
7868 fail:
7869 return NULL;
7870}
7871
7872
7873static PyObject *_wrap_Font_GetWeight(PyObject *self, PyObject *args, PyObject *kwargs) {
7874 PyObject *resultobj;
7875 wxFont *arg1 = (wxFont *) 0 ;
7876 int result;
7877 PyObject * obj0 = 0 ;
7878 char *kwnames[] = {
7879 (char *) "self", NULL
7880 };
7881
7882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetWeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
7883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7885 {
7886 PyThreadState* __tstate = wxPyBeginAllowThreads();
7887 result = (int)((wxFont const *)arg1)->GetWeight();
7888
7889 wxPyEndAllowThreads(__tstate);
7890 if (PyErr_Occurred()) SWIG_fail;
7891 }
15afbcd0 7892 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7893 return resultobj;
7894 fail:
7895 return NULL;
7896}
7897
7898
7899static PyObject *_wrap_Font_GetUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
7900 PyObject *resultobj;
7901 wxFont *arg1 = (wxFont *) 0 ;
7902 bool result;
7903 PyObject * obj0 = 0 ;
7904 char *kwnames[] = {
7905 (char *) "self", NULL
7906 };
7907
7908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetUnderlined",kwnames,&obj0)) goto fail;
15afbcd0
RD
7909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7911 {
7912 PyThreadState* __tstate = wxPyBeginAllowThreads();
7913 result = (bool)((wxFont const *)arg1)->GetUnderlined();
7914
7915 wxPyEndAllowThreads(__tstate);
7916 if (PyErr_Occurred()) SWIG_fail;
7917 }
4f89f6a3
RD
7918 {
7919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7920 }
d14a1e28
RD
7921 return resultobj;
7922 fail:
7923 return NULL;
7924}
7925
7926
7927static PyObject *_wrap_Font_GetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
7928 PyObject *resultobj;
7929 wxFont *arg1 = (wxFont *) 0 ;
7930 wxString result;
7931 PyObject * obj0 = 0 ;
7932 char *kwnames[] = {
7933 (char *) "self", NULL
7934 };
7935
7936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetFaceName",kwnames,&obj0)) goto fail;
15afbcd0
RD
7937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7939 {
7940 PyThreadState* __tstate = wxPyBeginAllowThreads();
7941 result = ((wxFont const *)arg1)->GetFaceName();
7942
7943 wxPyEndAllowThreads(__tstate);
7944 if (PyErr_Occurred()) SWIG_fail;
7945 }
7946 {
7947#if wxUSE_UNICODE
7948 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7949#else
7950 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7951#endif
7952 }
7953 return resultobj;
7954 fail:
7955 return NULL;
7956}
7957
7958
7959static PyObject *_wrap_Font_GetEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
7960 PyObject *resultobj;
7961 wxFont *arg1 = (wxFont *) 0 ;
7962 int result;
7963 PyObject * obj0 = 0 ;
7964 char *kwnames[] = {
7965 (char *) "self", NULL
7966 };
7967
7968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetEncoding",kwnames,&obj0)) goto fail;
15afbcd0
RD
7969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7971 {
7972 PyThreadState* __tstate = wxPyBeginAllowThreads();
7973 result = (int)((wxFont const *)arg1)->GetEncoding();
7974
7975 wxPyEndAllowThreads(__tstate);
7976 if (PyErr_Occurred()) SWIG_fail;
7977 }
15afbcd0 7978 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7979 return resultobj;
7980 fail:
7981 return NULL;
7982}
7983
7984
7985static PyObject *_wrap_Font_GetNativeFontInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7986 PyObject *resultobj;
7987 wxFont *arg1 = (wxFont *) 0 ;
7988 wxNativeFontInfo *result;
7989 PyObject * obj0 = 0 ;
7990 char *kwnames[] = {
7991 (char *) "self", NULL
7992 };
7993
7994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNativeFontInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
7995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
7996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7997 {
7998 PyThreadState* __tstate = wxPyBeginAllowThreads();
7999 result = (wxNativeFontInfo *)((wxFont const *)arg1)->GetNativeFontInfo();
8000
8001 wxPyEndAllowThreads(__tstate);
8002 if (PyErr_Occurred()) SWIG_fail;
8003 }
15afbcd0 8004 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNativeFontInfo, 0);
d14a1e28
RD
8005 return resultobj;
8006 fail:
8007 return NULL;
8008}
8009
8010
8011static PyObject *_wrap_Font_IsFixedWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8012 PyObject *resultobj;
8013 wxFont *arg1 = (wxFont *) 0 ;
8014 bool result;
8015 PyObject * obj0 = 0 ;
8016 char *kwnames[] = {
8017 (char *) "self", NULL
8018 };
8019
8020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_IsFixedWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
8021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8023 {
8024 PyThreadState* __tstate = wxPyBeginAllowThreads();
8025 result = (bool)((wxFont const *)arg1)->IsFixedWidth();
8026
8027 wxPyEndAllowThreads(__tstate);
8028 if (PyErr_Occurred()) SWIG_fail;
8029 }
4f89f6a3
RD
8030 {
8031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8032 }
d14a1e28
RD
8033 return resultobj;
8034 fail:
8035 return NULL;
8036}
8037
8038
8039static PyObject *_wrap_Font_GetNativeFontInfoDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
8040 PyObject *resultobj;
8041 wxFont *arg1 = (wxFont *) 0 ;
8042 wxString result;
8043 PyObject * obj0 = 0 ;
8044 char *kwnames[] = {
8045 (char *) "self", NULL
8046 };
8047
8048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNativeFontInfoDesc",kwnames,&obj0)) goto fail;
15afbcd0
RD
8049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8051 {
8052 PyThreadState* __tstate = wxPyBeginAllowThreads();
8053 result = ((wxFont const *)arg1)->GetNativeFontInfoDesc();
8054
8055 wxPyEndAllowThreads(__tstate);
8056 if (PyErr_Occurred()) SWIG_fail;
8057 }
8058 {
8059#if wxUSE_UNICODE
8060 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8061#else
8062 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8063#endif
8064 }
8065 return resultobj;
8066 fail:
8067 return NULL;
8068}
8069
8070
8071static PyObject *_wrap_Font_GetNativeFontInfoUserDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
8072 PyObject *resultobj;
8073 wxFont *arg1 = (wxFont *) 0 ;
8074 wxString result;
8075 PyObject * obj0 = 0 ;
8076 char *kwnames[] = {
8077 (char *) "self", NULL
8078 };
8079
8080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames,&obj0)) goto fail;
15afbcd0
RD
8081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8083 {
8084 PyThreadState* __tstate = wxPyBeginAllowThreads();
8085 result = ((wxFont const *)arg1)->GetNativeFontInfoUserDesc();
8086
8087 wxPyEndAllowThreads(__tstate);
8088 if (PyErr_Occurred()) SWIG_fail;
8089 }
8090 {
8091#if wxUSE_UNICODE
8092 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8093#else
8094 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8095#endif
8096 }
8097 return resultobj;
8098 fail:
8099 return NULL;
8100}
8101
8102
8103static PyObject *_wrap_Font_SetPointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8104 PyObject *resultobj;
8105 wxFont *arg1 = (wxFont *) 0 ;
8106 int arg2 ;
8107 PyObject * obj0 = 0 ;
994141e6 8108 PyObject * obj1 = 0 ;
d14a1e28
RD
8109 char *kwnames[] = {
8110 (char *) "self",(char *) "pointSize", NULL
8111 };
8112
994141e6 8113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetPointSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8116 arg2 = (int) SWIG_AsInt(obj1);
8117 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8118 {
8119 PyThreadState* __tstate = wxPyBeginAllowThreads();
8120 (arg1)->SetPointSize(arg2);
8121
8122 wxPyEndAllowThreads(__tstate);
8123 if (PyErr_Occurred()) SWIG_fail;
8124 }
8125 Py_INCREF(Py_None); resultobj = Py_None;
8126 return resultobj;
8127 fail:
8128 return NULL;
8129}
8130
8131
8132static PyObject *_wrap_Font_SetFamily(PyObject *self, PyObject *args, PyObject *kwargs) {
8133 PyObject *resultobj;
8134 wxFont *arg1 = (wxFont *) 0 ;
8135 int arg2 ;
8136 PyObject * obj0 = 0 ;
994141e6 8137 PyObject * obj1 = 0 ;
d14a1e28
RD
8138 char *kwnames[] = {
8139 (char *) "self",(char *) "family", NULL
8140 };
8141
994141e6 8142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetFamily",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8145 arg2 = (int) SWIG_AsInt(obj1);
8146 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8147 {
8148 PyThreadState* __tstate = wxPyBeginAllowThreads();
8149 (arg1)->SetFamily(arg2);
8150
8151 wxPyEndAllowThreads(__tstate);
8152 if (PyErr_Occurred()) SWIG_fail;
8153 }
8154 Py_INCREF(Py_None); resultobj = Py_None;
8155 return resultobj;
8156 fail:
8157 return NULL;
8158}
8159
8160
8161static PyObject *_wrap_Font_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8162 PyObject *resultobj;
8163 wxFont *arg1 = (wxFont *) 0 ;
8164 int arg2 ;
8165 PyObject * obj0 = 0 ;
994141e6 8166 PyObject * obj1 = 0 ;
d14a1e28
RD
8167 char *kwnames[] = {
8168 (char *) "self",(char *) "style", NULL
8169 };
8170
994141e6 8171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8174 arg2 = (int) SWIG_AsInt(obj1);
8175 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8176 {
8177 PyThreadState* __tstate = wxPyBeginAllowThreads();
8178 (arg1)->SetStyle(arg2);
8179
8180 wxPyEndAllowThreads(__tstate);
8181 if (PyErr_Occurred()) SWIG_fail;
8182 }
8183 Py_INCREF(Py_None); resultobj = Py_None;
8184 return resultobj;
8185 fail:
8186 return NULL;
8187}
8188
8189
8190static PyObject *_wrap_Font_SetWeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8191 PyObject *resultobj;
8192 wxFont *arg1 = (wxFont *) 0 ;
8193 int arg2 ;
8194 PyObject * obj0 = 0 ;
994141e6 8195 PyObject * obj1 = 0 ;
d14a1e28
RD
8196 char *kwnames[] = {
8197 (char *) "self",(char *) "weight", NULL
8198 };
8199
994141e6 8200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetWeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8203 arg2 = (int) SWIG_AsInt(obj1);
8204 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8205 {
8206 PyThreadState* __tstate = wxPyBeginAllowThreads();
8207 (arg1)->SetWeight(arg2);
8208
8209 wxPyEndAllowThreads(__tstate);
8210 if (PyErr_Occurred()) SWIG_fail;
8211 }
8212 Py_INCREF(Py_None); resultobj = Py_None;
8213 return resultobj;
8214 fail:
8215 return NULL;
8216}
8217
8218
8219static PyObject *_wrap_Font_SetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
8220 PyObject *resultobj;
8221 wxFont *arg1 = (wxFont *) 0 ;
8222 wxString *arg2 = 0 ;
e811c8ce 8223 bool temp2 = False ;
d14a1e28
RD
8224 PyObject * obj0 = 0 ;
8225 PyObject * obj1 = 0 ;
8226 char *kwnames[] = {
8227 (char *) "self",(char *) "faceName", NULL
8228 };
8229
8230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetFaceName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8233 {
8234 arg2 = wxString_in_helper(obj1);
8235 if (arg2 == NULL) SWIG_fail;
e811c8ce 8236 temp2 = True;
d14a1e28
RD
8237 }
8238 {
8239 PyThreadState* __tstate = wxPyBeginAllowThreads();
8240 (arg1)->SetFaceName((wxString const &)*arg2);
8241
8242 wxPyEndAllowThreads(__tstate);
8243 if (PyErr_Occurred()) SWIG_fail;
8244 }
8245 Py_INCREF(Py_None); resultobj = Py_None;
8246 {
8247 if (temp2)
8248 delete arg2;
8249 }
8250 return resultobj;
8251 fail:
8252 {
8253 if (temp2)
8254 delete arg2;
8255 }
8256 return NULL;
8257}
8258
8259
8260static PyObject *_wrap_Font_SetUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
8261 PyObject *resultobj;
8262 wxFont *arg1 = (wxFont *) 0 ;
8263 bool arg2 ;
8264 PyObject * obj0 = 0 ;
8265 PyObject * obj1 = 0 ;
8266 char *kwnames[] = {
8267 (char *) "self",(char *) "underlined", NULL
8268 };
8269
8270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetUnderlined",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8273 arg2 = (bool) SWIG_AsBool(obj1);
8274 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8275 {
8276 PyThreadState* __tstate = wxPyBeginAllowThreads();
8277 (arg1)->SetUnderlined(arg2);
8278
8279 wxPyEndAllowThreads(__tstate);
8280 if (PyErr_Occurred()) SWIG_fail;
8281 }
8282 Py_INCREF(Py_None); resultobj = Py_None;
8283 return resultobj;
8284 fail:
8285 return NULL;
8286}
8287
8288
8289static PyObject *_wrap_Font_SetEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
8290 PyObject *resultobj;
8291 wxFont *arg1 = (wxFont *) 0 ;
8292 int arg2 ;
8293 PyObject * obj0 = 0 ;
994141e6 8294 PyObject * obj1 = 0 ;
d14a1e28
RD
8295 char *kwnames[] = {
8296 (char *) "self",(char *) "encoding", NULL
8297 };
8298
994141e6 8299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetEncoding",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8302 arg2 = (wxFontEncoding) SWIG_AsInt(obj1);
8303 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8304 {
8305 PyThreadState* __tstate = wxPyBeginAllowThreads();
8306 (arg1)->SetEncoding((wxFontEncoding )arg2);
8307
8308 wxPyEndAllowThreads(__tstate);
8309 if (PyErr_Occurred()) SWIG_fail;
8310 }
8311 Py_INCREF(Py_None); resultobj = Py_None;
8312 return resultobj;
8313 fail:
8314 return NULL;
8315}
8316
8317
8318static PyObject *_wrap_Font_SetNativeFontInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8319 PyObject *resultobj;
8320 wxFont *arg1 = (wxFont *) 0 ;
8321 wxNativeFontInfo *arg2 = 0 ;
8322 PyObject * obj0 = 0 ;
8323 PyObject * obj1 = 0 ;
8324 char *kwnames[] = {
8325 (char *) "self",(char *) "info", NULL
8326 };
8327
8328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetNativeFontInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8331 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxNativeFontInfo,
8332 SWIG_POINTER_EXCEPTION | 0)) == -1)
8333 SWIG_fail;
d14a1e28 8334 if (arg2 == NULL) {
15afbcd0
RD
8335 PyErr_SetString(PyExc_TypeError,"null reference");
8336 SWIG_fail;
d14a1e28
RD
8337 }
8338 {
8339 PyThreadState* __tstate = wxPyBeginAllowThreads();
8340 (arg1)->SetNativeFontInfo((wxNativeFontInfo const &)*arg2);
8341
8342 wxPyEndAllowThreads(__tstate);
8343 if (PyErr_Occurred()) SWIG_fail;
8344 }
8345 Py_INCREF(Py_None); resultobj = Py_None;
8346 return resultobj;
8347 fail:
8348 return NULL;
8349}
8350
8351
8352static PyObject *_wrap_Font_SetNativeFontInfoFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
8353 PyObject *resultobj;
8354 wxFont *arg1 = (wxFont *) 0 ;
8355 wxString *arg2 = 0 ;
e811c8ce 8356 bool temp2 = False ;
d14a1e28
RD
8357 PyObject * obj0 = 0 ;
8358 PyObject * obj1 = 0 ;
8359 char *kwnames[] = {
8360 (char *) "self",(char *) "info", NULL
8361 };
8362
8363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8366 {
8367 arg2 = wxString_in_helper(obj1);
8368 if (arg2 == NULL) SWIG_fail;
e811c8ce 8369 temp2 = True;
d14a1e28
RD
8370 }
8371 {
8372 PyThreadState* __tstate = wxPyBeginAllowThreads();
8373 (arg1)->SetNativeFontInfo((wxString const &)*arg2);
8374
8375 wxPyEndAllowThreads(__tstate);
8376 if (PyErr_Occurred()) SWIG_fail;
8377 }
8378 Py_INCREF(Py_None); resultobj = Py_None;
8379 {
8380 if (temp2)
8381 delete arg2;
8382 }
8383 return resultobj;
8384 fail:
8385 {
8386 if (temp2)
8387 delete arg2;
8388 }
8389 return NULL;
8390}
8391
8392
8393static PyObject *_wrap_Font_SetNativeFontInfoUserDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
8394 PyObject *resultobj;
8395 wxFont *arg1 = (wxFont *) 0 ;
8396 wxString *arg2 = 0 ;
e811c8ce 8397 bool temp2 = False ;
d14a1e28
RD
8398 PyObject * obj0 = 0 ;
8399 PyObject * obj1 = 0 ;
8400 char *kwnames[] = {
8401 (char *) "self",(char *) "info", NULL
8402 };
8403
8404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8407 {
8408 arg2 = wxString_in_helper(obj1);
8409 if (arg2 == NULL) SWIG_fail;
e811c8ce 8410 temp2 = True;
d14a1e28
RD
8411 }
8412 {
8413 PyThreadState* __tstate = wxPyBeginAllowThreads();
8414 (arg1)->SetNativeFontInfoUserDesc((wxString const &)*arg2);
8415
8416 wxPyEndAllowThreads(__tstate);
8417 if (PyErr_Occurred()) SWIG_fail;
8418 }
8419 Py_INCREF(Py_None); resultobj = Py_None;
8420 {
8421 if (temp2)
8422 delete arg2;
8423 }
8424 return resultobj;
8425 fail:
8426 {
8427 if (temp2)
8428 delete arg2;
8429 }
8430 return NULL;
8431}
8432
8433
8434static PyObject *_wrap_Font_GetFamilyString(PyObject *self, PyObject *args, PyObject *kwargs) {
8435 PyObject *resultobj;
8436 wxFont *arg1 = (wxFont *) 0 ;
8437 wxString result;
8438 PyObject * obj0 = 0 ;
8439 char *kwnames[] = {
8440 (char *) "self", NULL
8441 };
8442
8443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetFamilyString",kwnames,&obj0)) goto fail;
15afbcd0
RD
8444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8446 {
8447 PyThreadState* __tstate = wxPyBeginAllowThreads();
8448 result = ((wxFont const *)arg1)->GetFamilyString();
8449
8450 wxPyEndAllowThreads(__tstate);
8451 if (PyErr_Occurred()) SWIG_fail;
8452 }
8453 {
8454#if wxUSE_UNICODE
8455 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8456#else
8457 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8458#endif
8459 }
8460 return resultobj;
8461 fail:
8462 return NULL;
8463}
8464
8465
8466static PyObject *_wrap_Font_GetStyleString(PyObject *self, PyObject *args, PyObject *kwargs) {
8467 PyObject *resultobj;
8468 wxFont *arg1 = (wxFont *) 0 ;
8469 wxString result;
8470 PyObject * obj0 = 0 ;
8471 char *kwnames[] = {
8472 (char *) "self", NULL
8473 };
8474
8475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetStyleString",kwnames,&obj0)) goto fail;
15afbcd0
RD
8476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8478 {
8479 PyThreadState* __tstate = wxPyBeginAllowThreads();
8480 result = ((wxFont const *)arg1)->GetStyleString();
8481
8482 wxPyEndAllowThreads(__tstate);
8483 if (PyErr_Occurred()) SWIG_fail;
8484 }
8485 {
8486#if wxUSE_UNICODE
8487 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8488#else
8489 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8490#endif
8491 }
8492 return resultobj;
8493 fail:
8494 return NULL;
8495}
8496
8497
8498static PyObject *_wrap_Font_GetWeightString(PyObject *self, PyObject *args, PyObject *kwargs) {
8499 PyObject *resultobj;
8500 wxFont *arg1 = (wxFont *) 0 ;
8501 wxString result;
8502 PyObject * obj0 = 0 ;
8503 char *kwnames[] = {
8504 (char *) "self", NULL
8505 };
8506
8507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetWeightString",kwnames,&obj0)) goto fail;
15afbcd0
RD
8508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8510 {
8511 PyThreadState* __tstate = wxPyBeginAllowThreads();
8512 result = ((wxFont const *)arg1)->GetWeightString();
8513
8514 wxPyEndAllowThreads(__tstate);
8515 if (PyErr_Occurred()) SWIG_fail;
8516 }
8517 {
8518#if wxUSE_UNICODE
8519 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8520#else
8521 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8522#endif
8523 }
8524 return resultobj;
8525 fail:
8526 return NULL;
8527}
8528
8529
8530static PyObject *_wrap_Font_SetNoAntiAliasing(PyObject *self, PyObject *args, PyObject *kwargs) {
8531 PyObject *resultobj;
8532 wxFont *arg1 = (wxFont *) 0 ;
e811c8ce 8533 bool arg2 = (bool) True ;
d14a1e28
RD
8534 PyObject * obj0 = 0 ;
8535 PyObject * obj1 = 0 ;
8536 char *kwnames[] = {
8537 (char *) "self",(char *) "no", NULL
8538 };
8539
8540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Font_SetNoAntiAliasing",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8543 if (obj1) {
15afbcd0
RD
8544 arg2 = (bool) SWIG_AsBool(obj1);
8545 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8546 }
8547 {
8548 PyThreadState* __tstate = wxPyBeginAllowThreads();
8549 (arg1)->SetNoAntiAliasing(arg2);
8550
8551 wxPyEndAllowThreads(__tstate);
8552 if (PyErr_Occurred()) SWIG_fail;
8553 }
8554 Py_INCREF(Py_None); resultobj = Py_None;
8555 return resultobj;
8556 fail:
8557 return NULL;
8558}
8559
8560
8561static PyObject *_wrap_Font_GetNoAntiAliasing(PyObject *self, PyObject *args, PyObject *kwargs) {
8562 PyObject *resultobj;
8563 wxFont *arg1 = (wxFont *) 0 ;
8564 bool result;
8565 PyObject * obj0 = 0 ;
8566 char *kwnames[] = {
8567 (char *) "self", NULL
8568 };
8569
8570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetNoAntiAliasing",kwnames,&obj0)) goto fail;
15afbcd0
RD
8571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
8572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8573 {
8574 PyThreadState* __tstate = wxPyBeginAllowThreads();
8575 result = (bool)(arg1)->GetNoAntiAliasing();
8576
8577 wxPyEndAllowThreads(__tstate);
8578 if (PyErr_Occurred()) SWIG_fail;
8579 }
4f89f6a3
RD
8580 {
8581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8582 }
d14a1e28
RD
8583 return resultobj;
8584 fail:
8585 return NULL;
8586}
8587
8588
8589static PyObject *_wrap_Font_GetDefaultEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
8590 PyObject *resultobj;
8591 int result;
8592 char *kwnames[] = {
8593 NULL
8594 };
8595
8596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Font_GetDefaultEncoding",kwnames)) goto fail;
8597 {
8598 PyThreadState* __tstate = wxPyBeginAllowThreads();
8599 result = (int)wxFont::GetDefaultEncoding();
8600
8601 wxPyEndAllowThreads(__tstate);
8602 if (PyErr_Occurred()) SWIG_fail;
8603 }
15afbcd0 8604 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8605 return resultobj;
8606 fail:
8607 return NULL;
8608}
8609
8610
8611static PyObject *_wrap_Font_SetDefaultEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
8612 PyObject *resultobj;
8613 int arg1 ;
994141e6 8614 PyObject * obj0 = 0 ;
d14a1e28
RD
8615 char *kwnames[] = {
8616 (char *) "encoding", NULL
8617 };
8618
994141e6 8619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_SetDefaultEncoding",kwnames,&obj0)) goto fail;
15afbcd0
RD
8620 arg1 = (wxFontEncoding) SWIG_AsInt(obj0);
8621 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8622 {
8623 PyThreadState* __tstate = wxPyBeginAllowThreads();
8624 wxFont::SetDefaultEncoding((wxFontEncoding )arg1);
8625
8626 wxPyEndAllowThreads(__tstate);
8627 if (PyErr_Occurred()) SWIG_fail;
8628 }
8629 Py_INCREF(Py_None); resultobj = Py_None;
8630 return resultobj;
8631 fail:
8632 return NULL;
8633}
8634
8635
8636static PyObject * Font_swigregister(PyObject *self, PyObject *args) {
8637 PyObject *obj;
8638 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8639 SWIG_TypeClientData(SWIGTYPE_p_wxFont, obj);
8640 Py_INCREF(obj);
8641 return Py_BuildValue((char *)"");
8642}
8643static PyObject *_wrap_new_FontEnumerator(PyObject *self, PyObject *args, PyObject *kwargs) {
8644 PyObject *resultobj;
8645 wxPyFontEnumerator *result;
8646 char *kwnames[] = {
8647 NULL
8648 };
8649
8650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontEnumerator",kwnames)) goto fail;
8651 {
8652 PyThreadState* __tstate = wxPyBeginAllowThreads();
8653 result = (wxPyFontEnumerator *)new wxPyFontEnumerator();
8654
8655 wxPyEndAllowThreads(__tstate);
8656 if (PyErr_Occurred()) SWIG_fail;
8657 }
15afbcd0 8658 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFontEnumerator, 1);
d14a1e28
RD
8659 return resultobj;
8660 fail:
8661 return NULL;
8662}
8663
8664
8665static PyObject *_wrap_delete_FontEnumerator(PyObject *self, PyObject *args, PyObject *kwargs) {
8666 PyObject *resultobj;
8667 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
8668 PyObject * obj0 = 0 ;
8669 char *kwnames[] = {
8670 (char *) "self", NULL
8671 };
8672
8673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontEnumerator",kwnames,&obj0)) goto fail;
15afbcd0
RD
8674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
8675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8676 {
8677 PyThreadState* __tstate = wxPyBeginAllowThreads();
8678 delete arg1;
8679
8680 wxPyEndAllowThreads(__tstate);
8681 if (PyErr_Occurred()) SWIG_fail;
8682 }
8683 Py_INCREF(Py_None); resultobj = Py_None;
8684 return resultobj;
8685 fail:
8686 return NULL;
8687}
8688
8689
8690static PyObject *_wrap_FontEnumerator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8691 PyObject *resultobj;
8692 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
8693 PyObject *arg2 = (PyObject *) 0 ;
8694 PyObject *arg3 = (PyObject *) 0 ;
8695 bool arg4 ;
8696 PyObject * obj0 = 0 ;
8697 PyObject * obj1 = 0 ;
8698 PyObject * obj2 = 0 ;
8699 PyObject * obj3 = 0 ;
8700 char *kwnames[] = {
8701 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8702 };
8703
8704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
8706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8707 arg2 = obj1;
8708 arg3 = obj2;
15afbcd0
RD
8709 arg4 = (bool) SWIG_AsBool(obj3);
8710 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8711 {
8712 PyThreadState* __tstate = wxPyBeginAllowThreads();
8713 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
8714
8715 wxPyEndAllowThreads(__tstate);
8716 if (PyErr_Occurred()) SWIG_fail;
8717 }
8718 Py_INCREF(Py_None); resultobj = Py_None;
8719 return resultobj;
8720 fail:
8721 return NULL;
8722}
8723
8724
8725static PyObject *_wrap_FontEnumerator_EnumerateFacenames(PyObject *self, PyObject *args, PyObject *kwargs) {
8726 PyObject *resultobj;
8727 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
8728 int arg2 = (int) wxFONTENCODING_SYSTEM ;
e811c8ce 8729 bool arg3 = (bool) False ;
d14a1e28
RD
8730 bool result;
8731 PyObject * obj0 = 0 ;
994141e6 8732 PyObject * obj1 = 0 ;
d14a1e28
RD
8733 PyObject * obj2 = 0 ;
8734 char *kwnames[] = {
8735 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8736 };
8737
994141e6 8738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
8740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8741 if (obj1) {
15afbcd0
RD
8742 arg2 = (wxFontEncoding) SWIG_AsInt(obj1);
8743 if (PyErr_Occurred()) SWIG_fail;
994141e6 8744 }
d14a1e28 8745 if (obj2) {
15afbcd0
RD
8746 arg3 = (bool) SWIG_AsBool(obj2);
8747 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8748 }
8749 {
8750 PyThreadState* __tstate = wxPyBeginAllowThreads();
8751 result = (bool)(arg1)->EnumerateFacenames((wxFontEncoding )arg2,arg3);
8752
8753 wxPyEndAllowThreads(__tstate);
8754 if (PyErr_Occurred()) SWIG_fail;
8755 }
4f89f6a3
RD
8756 {
8757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8758 }
d14a1e28
RD
8759 return resultobj;
8760 fail:
8761 return NULL;
8762}
8763
8764
8765static PyObject *_wrap_FontEnumerator_EnumerateEncodings(PyObject *self, PyObject *args, PyObject *kwargs) {
8766 PyObject *resultobj;
8767 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
8768 wxString const &arg2_defvalue = wxPyEmptyString ;
8769 wxString *arg2 = (wxString *) &arg2_defvalue ;
8770 bool result;
e811c8ce 8771 bool temp2 = False ;
d14a1e28
RD
8772 PyObject * obj0 = 0 ;
8773 PyObject * obj1 = 0 ;
8774 char *kwnames[] = {
8775 (char *) "self",(char *) "facename", NULL
8776 };
8777
8778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
8780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8781 if (obj1) {
8782 {
8783 arg2 = wxString_in_helper(obj1);
8784 if (arg2 == NULL) SWIG_fail;
e811c8ce 8785 temp2 = True;
d14a1e28
RD
8786 }
8787 }
8788 {
8789 PyThreadState* __tstate = wxPyBeginAllowThreads();
8790 result = (bool)(arg1)->EnumerateEncodings((wxString const &)*arg2);
8791
8792 wxPyEndAllowThreads(__tstate);
8793 if (PyErr_Occurred()) SWIG_fail;
8794 }
4f89f6a3
RD
8795 {
8796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8797 }
d14a1e28
RD
8798 {
8799 if (temp2)
8800 delete arg2;
8801 }
8802 return resultobj;
8803 fail:
8804 {
8805 if (temp2)
8806 delete arg2;
8807 }
8808 return NULL;
8809}
8810
8811
8812static PyObject *_wrap_FontEnumerator_GetEncodings(PyObject *self, PyObject *args, PyObject *kwargs) {
8813 PyObject *resultobj;
8814 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
8815 PyObject *result;
8816 PyObject * obj0 = 0 ;
8817 char *kwnames[] = {
8818 (char *) "self", NULL
8819 };
8820
8821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontEnumerator_GetEncodings",kwnames,&obj0)) goto fail;
15afbcd0
RD
8822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
8823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8824 {
8825 PyThreadState* __tstate = wxPyBeginAllowThreads();
8826 result = (PyObject *)wxPyFontEnumerator_GetEncodings(arg1);
8827
8828 wxPyEndAllowThreads(__tstate);
8829 if (PyErr_Occurred()) SWIG_fail;
8830 }
8831 resultobj = result;
8832 return resultobj;
8833 fail:
8834 return NULL;
8835}
8836
8837
8838static PyObject *_wrap_FontEnumerator_GetFacenames(PyObject *self, PyObject *args, PyObject *kwargs) {
8839 PyObject *resultobj;
8840 wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
8841 PyObject *result;
8842 PyObject * obj0 = 0 ;
8843 char *kwnames[] = {
8844 (char *) "self", NULL
8845 };
8846
8847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontEnumerator_GetFacenames",kwnames,&obj0)) goto fail;
15afbcd0
RD
8848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFontEnumerator,
8849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8850 {
8851 PyThreadState* __tstate = wxPyBeginAllowThreads();
8852 result = (PyObject *)wxPyFontEnumerator_GetFacenames(arg1);
8853
8854 wxPyEndAllowThreads(__tstate);
8855 if (PyErr_Occurred()) SWIG_fail;
8856 }
8857 resultobj = result;
8858 return resultobj;
8859 fail:
8860 return NULL;
8861}
8862
8863
8864static PyObject * FontEnumerator_swigregister(PyObject *self, PyObject *args) {
8865 PyObject *obj;
8866 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8867 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator, obj);
8868 Py_INCREF(obj);
8869 return Py_BuildValue((char *)"");
8870}
8871static PyObject *_wrap_LanguageInfo_Language_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8872 PyObject *resultobj;
8873 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
8874 int arg2 ;
8875 PyObject * obj0 = 0 ;
994141e6 8876 PyObject * obj1 = 0 ;
d14a1e28
RD
8877 char *kwnames[] = {
8878 (char *) "self",(char *) "Language", NULL
8879 };
8880
994141e6 8881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LanguageInfo_Language_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
8883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8884 arg2 = (int) SWIG_AsInt(obj1);
8885 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8886 if (arg1) (arg1)->Language = arg2;
8887
8888 Py_INCREF(Py_None); resultobj = Py_None;
8889 return resultobj;
8890 fail:
8891 return NULL;
8892}
8893
8894
8895static PyObject *_wrap_LanguageInfo_Language_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8896 PyObject *resultobj;
8897 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
8898 int result;
8899 PyObject * obj0 = 0 ;
8900 char *kwnames[] = {
8901 (char *) "self", NULL
8902 };
8903
8904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LanguageInfo_Language_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
8905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
8906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8907 result = (int) ((arg1)->Language);
8908
15afbcd0 8909 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8910 return resultobj;
8911 fail:
8912 return NULL;
8913}
8914
8915
8916static PyObject *_wrap_LanguageInfo_CanonicalName_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8917 PyObject *resultobj;
8918 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
196addbf 8919 wxString *arg2 = (wxString *) 0 ;
7eae615b 8920 bool temp2 = False ;
d14a1e28
RD
8921 PyObject * obj0 = 0 ;
8922 PyObject * obj1 = 0 ;
8923 char *kwnames[] = {
8924 (char *) "self",(char *) "CanonicalName", NULL
8925 };
8926
8927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
8929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7eae615b
RD
8930 {
8931 arg2 = wxString_in_helper(obj1);
8932 if (arg2 == NULL) SWIG_fail;
8933 temp2 = True;
8934 }
196addbf 8935 if (arg1) (arg1)->CanonicalName = *arg2;
d14a1e28
RD
8936
8937 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
8938 {
8939 if (temp2)
8940 delete arg2;
8941 }
d14a1e28
RD
8942 return resultobj;
8943 fail:
7eae615b
RD
8944 {
8945 if (temp2)
8946 delete arg2;
8947 }
d14a1e28
RD
8948 return NULL;
8949}
8950
8951
8952static PyObject *_wrap_LanguageInfo_CanonicalName_get(PyObject *self, PyObject *args, PyObject *kwargs) {
8953 PyObject *resultobj;
8954 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
196addbf 8955 wxString *result;
d14a1e28
RD
8956 PyObject * obj0 = 0 ;
8957 char *kwnames[] = {
8958 (char *) "self", NULL
8959 };
8960
8961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LanguageInfo_CanonicalName_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
8962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
8963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
196addbf 8964 result = (wxString *)& ((arg1)->CanonicalName);
d14a1e28
RD
8965
8966 {
8967#if wxUSE_UNICODE
196addbf 8968 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 8969#else
196addbf 8970 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
8971#endif
8972 }
8973 return resultobj;
8974 fail:
8975 return NULL;
8976}
8977
8978
8979static PyObject *_wrap_LanguageInfo_Description_set(PyObject *self, PyObject *args, PyObject *kwargs) {
8980 PyObject *resultobj;
8981 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
196addbf 8982 wxString *arg2 = (wxString *) 0 ;
7eae615b 8983 bool temp2 = False ;
d14a1e28
RD
8984 PyObject * obj0 = 0 ;
8985 PyObject * obj1 = 0 ;
8986 char *kwnames[] = {
8987 (char *) "self",(char *) "Description", NULL
8988 };
8989
8990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LanguageInfo_Description_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
8992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7eae615b
RD
8993 {
8994 arg2 = wxString_in_helper(obj1);
8995 if (arg2 == NULL) SWIG_fail;
8996 temp2 = True;
8997 }
196addbf 8998 if (arg1) (arg1)->Description = *arg2;
d14a1e28
RD
8999
9000 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
9001 {
9002 if (temp2)
9003 delete arg2;
9004 }
d14a1e28
RD
9005 return resultobj;
9006 fail:
7eae615b
RD
9007 {
9008 if (temp2)
9009 delete arg2;
9010 }
d14a1e28
RD
9011 return NULL;
9012}
9013
9014
9015static PyObject *_wrap_LanguageInfo_Description_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9016 PyObject *resultobj;
9017 wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
196addbf 9018 wxString *result;
d14a1e28
RD
9019 PyObject * obj0 = 0 ;
9020 char *kwnames[] = {
9021 (char *) "self", NULL
9022 };
9023
9024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LanguageInfo_Description_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
9025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
9026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
196addbf 9027 result = (wxString *)& ((arg1)->Description);
d14a1e28
RD
9028
9029 {
9030#if wxUSE_UNICODE
196addbf 9031 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 9032#else
196addbf 9033 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
9034#endif
9035 }
9036 return resultobj;
9037 fail:
9038 return NULL;
9039}
9040
9041
9042static PyObject * LanguageInfo_swigregister(PyObject *self, PyObject *args) {
9043 PyObject *obj;
9044 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9045 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo, obj);
9046 Py_INCREF(obj);
9047 return Py_BuildValue((char *)"");
9048}
9049static PyObject *_wrap_new_Locale(PyObject *self, PyObject *args, PyObject *kwargs) {
9050 PyObject *resultobj;
41e2b43e 9051 int arg1 = (int) -1 ;
d14a1e28
RD
9052 int arg2 = (int) wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING ;
9053 wxLocale *result;
994141e6
RD
9054 PyObject * obj0 = 0 ;
9055 PyObject * obj1 = 0 ;
d14a1e28
RD
9056 char *kwnames[] = {
9057 (char *) "language",(char *) "flags", NULL
9058 };
9059
994141e6
RD
9060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Locale",kwnames,&obj0,&obj1)) goto fail;
9061 if (obj0) {
15afbcd0
RD
9062 arg1 = (int) SWIG_AsInt(obj0);
9063 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9064 }
9065 if (obj1) {
15afbcd0
RD
9066 arg2 = (int) SWIG_AsInt(obj1);
9067 if (PyErr_Occurred()) SWIG_fail;
994141e6 9068 }
d14a1e28
RD
9069 {
9070 PyThreadState* __tstate = wxPyBeginAllowThreads();
41e2b43e 9071 result = (wxLocale *)new_wxLocale(arg1,arg2);
d14a1e28
RD
9072
9073 wxPyEndAllowThreads(__tstate);
9074 if (PyErr_Occurred()) SWIG_fail;
9075 }
15afbcd0 9076 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLocale, 1);
d14a1e28
RD
9077 return resultobj;
9078 fail:
9079 return NULL;
9080}
9081
9082
9083static PyObject *_wrap_delete_Locale(PyObject *self, PyObject *args, PyObject *kwargs) {
9084 PyObject *resultobj;
9085 wxLocale *arg1 = (wxLocale *) 0 ;
9086 PyObject * obj0 = 0 ;
9087 char *kwnames[] = {
9088 (char *) "self", NULL
9089 };
9090
9091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Locale",kwnames,&obj0)) goto fail;
15afbcd0
RD
9092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9094 {
9095 PyThreadState* __tstate = wxPyBeginAllowThreads();
9096 delete arg1;
9097
9098 wxPyEndAllowThreads(__tstate);
9099 if (PyErr_Occurred()) SWIG_fail;
9100 }
9101 Py_INCREF(Py_None); resultobj = Py_None;
9102 return resultobj;
9103 fail:
9104 return NULL;
9105}
9106
9107
9108static PyObject *_wrap_Locale_Init1(PyObject *self, PyObject *args, PyObject *kwargs) {
9109 PyObject *resultobj;
9110 wxLocale *arg1 = (wxLocale *) 0 ;
9111 wxString *arg2 = 0 ;
9112 wxString const &arg3_defvalue = wxPyEmptyString ;
9113 wxString *arg3 = (wxString *) &arg3_defvalue ;
9114 wxString const &arg4_defvalue = wxPyEmptyString ;
9115 wxString *arg4 = (wxString *) &arg4_defvalue ;
e811c8ce
RD
9116 bool arg5 = (bool) True ;
9117 bool arg6 = (bool) False ;
d14a1e28 9118 bool result;
e811c8ce
RD
9119 bool temp2 = False ;
9120 bool temp3 = False ;
9121 bool temp4 = False ;
d14a1e28
RD
9122 PyObject * obj0 = 0 ;
9123 PyObject * obj1 = 0 ;
9124 PyObject * obj2 = 0 ;
9125 PyObject * obj3 = 0 ;
9126 PyObject * obj4 = 0 ;
9127 PyObject * obj5 = 0 ;
9128 char *kwnames[] = {
9129 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9130 };
9131
9132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Locale_Init1",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
9133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9135 {
9136 arg2 = wxString_in_helper(obj1);
9137 if (arg2 == NULL) SWIG_fail;
e811c8ce 9138 temp2 = True;
d14a1e28
RD
9139 }
9140 if (obj2) {
9141 {
9142 arg3 = wxString_in_helper(obj2);
9143 if (arg3 == NULL) SWIG_fail;
e811c8ce 9144 temp3 = True;
d14a1e28
RD
9145 }
9146 }
9147 if (obj3) {
9148 {
9149 arg4 = wxString_in_helper(obj3);
9150 if (arg4 == NULL) SWIG_fail;
e811c8ce 9151 temp4 = True;
d14a1e28
RD
9152 }
9153 }
9154 if (obj4) {
15afbcd0
RD
9155 arg5 = (bool) SWIG_AsBool(obj4);
9156 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9157 }
9158 if (obj5) {
15afbcd0
RD
9159 arg6 = (bool) SWIG_AsBool(obj5);
9160 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9161 }
9162 {
9163 PyThreadState* __tstate = wxPyBeginAllowThreads();
9164 result = (bool)(arg1)->Init((wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6);
9165
9166 wxPyEndAllowThreads(__tstate);
9167 if (PyErr_Occurred()) SWIG_fail;
9168 }
4f89f6a3
RD
9169 {
9170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9171 }
d14a1e28
RD
9172 {
9173 if (temp2)
9174 delete arg2;
9175 }
9176 {
9177 if (temp3)
9178 delete arg3;
9179 }
9180 {
9181 if (temp4)
9182 delete arg4;
9183 }
9184 return resultobj;
9185 fail:
9186 {
9187 if (temp2)
9188 delete arg2;
9189 }
9190 {
9191 if (temp3)
9192 delete arg3;
9193 }
9194 {
9195 if (temp4)
9196 delete arg4;
9197 }
9198 return NULL;
9199}
9200
9201
9202static PyObject *_wrap_Locale_Init2(PyObject *self, PyObject *args, PyObject *kwargs) {
9203 PyObject *resultobj;
9204 wxLocale *arg1 = (wxLocale *) 0 ;
9205 int arg2 = (int) wxLANGUAGE_DEFAULT ;
9206 int arg3 = (int) wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING ;
9207 bool result;
9208 PyObject * obj0 = 0 ;
994141e6
RD
9209 PyObject * obj1 = 0 ;
9210 PyObject * obj2 = 0 ;
d14a1e28
RD
9211 char *kwnames[] = {
9212 (char *) "self",(char *) "language",(char *) "flags", NULL
9213 };
9214
994141e6 9215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Locale_Init2",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 9218 if (obj1) {
15afbcd0
RD
9219 arg2 = (int) SWIG_AsInt(obj1);
9220 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9221 }
9222 if (obj2) {
15afbcd0
RD
9223 arg3 = (int) SWIG_AsInt(obj2);
9224 if (PyErr_Occurred()) SWIG_fail;
994141e6 9225 }
d14a1e28
RD
9226 {
9227 PyThreadState* __tstate = wxPyBeginAllowThreads();
9228 result = (bool)(arg1)->Init(arg2,arg3);
9229
9230 wxPyEndAllowThreads(__tstate);
9231 if (PyErr_Occurred()) SWIG_fail;
9232 }
4f89f6a3
RD
9233 {
9234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9235 }
d14a1e28
RD
9236 return resultobj;
9237 fail:
9238 return NULL;
9239}
9240
9241
9242static PyObject *_wrap_Locale_GetSystemLanguage(PyObject *self, PyObject *args, PyObject *kwargs) {
9243 PyObject *resultobj;
9244 int result;
9245 char *kwnames[] = {
9246 NULL
9247 };
9248
9249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Locale_GetSystemLanguage",kwnames)) goto fail;
9250 {
9251 PyThreadState* __tstate = wxPyBeginAllowThreads();
9252 result = (int)wxLocale::GetSystemLanguage();
9253
9254 wxPyEndAllowThreads(__tstate);
9255 if (PyErr_Occurred()) SWIG_fail;
9256 }
15afbcd0 9257 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9258 return resultobj;
9259 fail:
9260 return NULL;
9261}
9262
9263
9264static PyObject *_wrap_Locale_GetSystemEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
9265 PyObject *resultobj;
9266 int result;
9267 char *kwnames[] = {
9268 NULL
9269 };
9270
9271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Locale_GetSystemEncoding",kwnames)) goto fail;
9272 {
9273 PyThreadState* __tstate = wxPyBeginAllowThreads();
9274 result = (int)wxLocale::GetSystemEncoding();
9275
9276 wxPyEndAllowThreads(__tstate);
9277 if (PyErr_Occurred()) SWIG_fail;
9278 }
15afbcd0 9279 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9280 return resultobj;
9281 fail:
9282 return NULL;
9283}
9284
9285
9286static PyObject *_wrap_Locale_GetSystemEncodingName(PyObject *self, PyObject *args, PyObject *kwargs) {
9287 PyObject *resultobj;
9288 wxString result;
9289 char *kwnames[] = {
9290 NULL
9291 };
9292
9293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Locale_GetSystemEncodingName",kwnames)) goto fail;
9294 {
9295 PyThreadState* __tstate = wxPyBeginAllowThreads();
9296 result = wxLocale::GetSystemEncodingName();
9297
9298 wxPyEndAllowThreads(__tstate);
9299 if (PyErr_Occurred()) SWIG_fail;
9300 }
9301 {
9302#if wxUSE_UNICODE
9303 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9304#else
9305 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9306#endif
9307 }
9308 return resultobj;
9309 fail:
9310 return NULL;
9311}
9312
9313
9314static PyObject *_wrap_Locale_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9315 PyObject *resultobj;
9316 wxLocale *arg1 = (wxLocale *) 0 ;
9317 bool result;
9318 PyObject * obj0 = 0 ;
9319 char *kwnames[] = {
9320 (char *) "self", NULL
9321 };
9322
9323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_IsOk",kwnames,&obj0)) goto fail;
15afbcd0
RD
9324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9326 {
9327 PyThreadState* __tstate = wxPyBeginAllowThreads();
9328 result = (bool)((wxLocale const *)arg1)->IsOk();
9329
9330 wxPyEndAllowThreads(__tstate);
9331 if (PyErr_Occurred()) SWIG_fail;
9332 }
4f89f6a3
RD
9333 {
9334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9335 }
d14a1e28
RD
9336 return resultobj;
9337 fail:
9338 return NULL;
9339}
9340
9341
9342static PyObject *_wrap_Locale_GetLocale(PyObject *self, PyObject *args, PyObject *kwargs) {
9343 PyObject *resultobj;
9344 wxLocale *arg1 = (wxLocale *) 0 ;
9345 wxString result;
9346 PyObject * obj0 = 0 ;
9347 char *kwnames[] = {
9348 (char *) "self", NULL
9349 };
9350
9351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLocale",kwnames,&obj0)) goto fail;
15afbcd0
RD
9352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9354 {
9355 PyThreadState* __tstate = wxPyBeginAllowThreads();
9356 result = ((wxLocale const *)arg1)->GetLocale();
9357
9358 wxPyEndAllowThreads(__tstate);
9359 if (PyErr_Occurred()) SWIG_fail;
9360 }
9361 {
9362#if wxUSE_UNICODE
9363 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9364#else
9365 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9366#endif
9367 }
9368 return resultobj;
9369 fail:
9370 return NULL;
9371}
9372
9373
9374static PyObject *_wrap_Locale_GetLanguage(PyObject *self, PyObject *args, PyObject *kwargs) {
9375 PyObject *resultobj;
9376 wxLocale *arg1 = (wxLocale *) 0 ;
9377 int result;
9378 PyObject * obj0 = 0 ;
9379 char *kwnames[] = {
9380 (char *) "self", NULL
9381 };
9382
9383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLanguage",kwnames,&obj0)) goto fail;
15afbcd0
RD
9384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9386 {
9387 PyThreadState* __tstate = wxPyBeginAllowThreads();
9388 result = (int)((wxLocale const *)arg1)->GetLanguage();
9389
9390 wxPyEndAllowThreads(__tstate);
9391 if (PyErr_Occurred()) SWIG_fail;
9392 }
15afbcd0 9393 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9394 return resultobj;
9395 fail:
9396 return NULL;
9397}
9398
9399
9400static PyObject *_wrap_Locale_GetSysName(PyObject *self, PyObject *args, PyObject *kwargs) {
9401 PyObject *resultobj;
9402 wxLocale *arg1 = (wxLocale *) 0 ;
9403 wxString result;
9404 PyObject * obj0 = 0 ;
9405 char *kwnames[] = {
9406 (char *) "self", NULL
9407 };
9408
9409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetSysName",kwnames,&obj0)) goto fail;
15afbcd0
RD
9410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9412 {
9413 PyThreadState* __tstate = wxPyBeginAllowThreads();
9414 result = ((wxLocale const *)arg1)->GetSysName();
9415
9416 wxPyEndAllowThreads(__tstate);
9417 if (PyErr_Occurred()) SWIG_fail;
9418 }
9419 {
9420#if wxUSE_UNICODE
9421 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9422#else
9423 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9424#endif
9425 }
9426 return resultobj;
9427 fail:
9428 return NULL;
9429}
9430
9431
9432static PyObject *_wrap_Locale_GetCanonicalName(PyObject *self, PyObject *args, PyObject *kwargs) {
9433 PyObject *resultobj;
9434 wxLocale *arg1 = (wxLocale *) 0 ;
9435 wxString result;
9436 PyObject * obj0 = 0 ;
9437 char *kwnames[] = {
9438 (char *) "self", NULL
9439 };
9440
9441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetCanonicalName",kwnames,&obj0)) goto fail;
15afbcd0
RD
9442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9444 {
9445 PyThreadState* __tstate = wxPyBeginAllowThreads();
9446 result = ((wxLocale const *)arg1)->GetCanonicalName();
9447
9448 wxPyEndAllowThreads(__tstate);
9449 if (PyErr_Occurred()) SWIG_fail;
9450 }
9451 {
9452#if wxUSE_UNICODE
9453 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9454#else
9455 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9456#endif
9457 }
9458 return resultobj;
9459 fail:
9460 return NULL;
9461}
9462
9463
9464static PyObject *_wrap_Locale_AddCatalogLookupPathPrefix(PyObject *self, PyObject *args, PyObject *kwargs) {
9465 PyObject *resultobj;
9466 wxString *arg1 = 0 ;
e811c8ce 9467 bool temp1 = False ;
d14a1e28
RD
9468 PyObject * obj0 = 0 ;
9469 char *kwnames[] = {
9470 (char *) "prefix", NULL
9471 };
9472
9473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames,&obj0)) goto fail;
9474 {
9475 arg1 = wxString_in_helper(obj0);
9476 if (arg1 == NULL) SWIG_fail;
e811c8ce 9477 temp1 = True;
d14a1e28
RD
9478 }
9479 {
9480 PyThreadState* __tstate = wxPyBeginAllowThreads();
9481 wxLocale::AddCatalogLookupPathPrefix((wxString const &)*arg1);
9482
9483 wxPyEndAllowThreads(__tstate);
9484 if (PyErr_Occurred()) SWIG_fail;
9485 }
9486 Py_INCREF(Py_None); resultobj = Py_None;
9487 {
9488 if (temp1)
9489 delete arg1;
9490 }
9491 return resultobj;
9492 fail:
9493 {
9494 if (temp1)
9495 delete arg1;
9496 }
9497 return NULL;
9498}
9499
9500
9501static PyObject *_wrap_Locale_AddCatalog(PyObject *self, PyObject *args, PyObject *kwargs) {
9502 PyObject *resultobj;
9503 wxLocale *arg1 = (wxLocale *) 0 ;
9504 wxString *arg2 = 0 ;
9505 bool result;
e811c8ce 9506 bool temp2 = False ;
d14a1e28
RD
9507 PyObject * obj0 = 0 ;
9508 PyObject * obj1 = 0 ;
9509 char *kwnames[] = {
9510 (char *) "self",(char *) "szDomain", NULL
9511 };
9512
9513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Locale_AddCatalog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9516 {
9517 arg2 = wxString_in_helper(obj1);
9518 if (arg2 == NULL) SWIG_fail;
e811c8ce 9519 temp2 = True;
d14a1e28
RD
9520 }
9521 {
9522 PyThreadState* __tstate = wxPyBeginAllowThreads();
9523 result = (bool)(arg1)->AddCatalog((wxString const &)*arg2);
9524
9525 wxPyEndAllowThreads(__tstate);
9526 if (PyErr_Occurred()) SWIG_fail;
9527 }
4f89f6a3
RD
9528 {
9529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9530 }
d14a1e28
RD
9531 {
9532 if (temp2)
9533 delete arg2;
9534 }
9535 return resultobj;
9536 fail:
9537 {
9538 if (temp2)
9539 delete arg2;
9540 }
9541 return NULL;
9542}
9543
9544
9545static PyObject *_wrap_Locale_IsLoaded(PyObject *self, PyObject *args, PyObject *kwargs) {
9546 PyObject *resultobj;
9547 wxLocale *arg1 = (wxLocale *) 0 ;
9548 wxString *arg2 = 0 ;
9549 bool result;
e811c8ce 9550 bool temp2 = False ;
d14a1e28
RD
9551 PyObject * obj0 = 0 ;
9552 PyObject * obj1 = 0 ;
9553 char *kwnames[] = {
9554 (char *) "self",(char *) "szDomain", NULL
9555 };
9556
9557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Locale_IsLoaded",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9560 {
9561 arg2 = wxString_in_helper(obj1);
9562 if (arg2 == NULL) SWIG_fail;
e811c8ce 9563 temp2 = True;
d14a1e28
RD
9564 }
9565 {
9566 PyThreadState* __tstate = wxPyBeginAllowThreads();
9567 result = (bool)((wxLocale const *)arg1)->IsLoaded((wxString const &)*arg2);
9568
9569 wxPyEndAllowThreads(__tstate);
9570 if (PyErr_Occurred()) SWIG_fail;
9571 }
4f89f6a3
RD
9572 {
9573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9574 }
d14a1e28
RD
9575 {
9576 if (temp2)
9577 delete arg2;
9578 }
9579 return resultobj;
9580 fail:
9581 {
9582 if (temp2)
9583 delete arg2;
9584 }
9585 return NULL;
9586}
9587
9588
9589static PyObject *_wrap_Locale_GetLanguageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9590 PyObject *resultobj;
9591 int arg1 ;
9592 wxLanguageInfo *result;
994141e6 9593 PyObject * obj0 = 0 ;
d14a1e28
RD
9594 char *kwnames[] = {
9595 (char *) "lang", NULL
9596 };
9597
994141e6 9598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLanguageInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
9599 arg1 = (int) SWIG_AsInt(obj0);
9600 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9601 {
9602 PyThreadState* __tstate = wxPyBeginAllowThreads();
9603 result = (wxLanguageInfo *)wxLocale::GetLanguageInfo(arg1);
9604
9605 wxPyEndAllowThreads(__tstate);
9606 if (PyErr_Occurred()) SWIG_fail;
9607 }
15afbcd0 9608 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLanguageInfo, 0);
d14a1e28
RD
9609 return resultobj;
9610 fail:
9611 return NULL;
9612}
9613
9614
9615static PyObject *_wrap_Locale_GetLanguageName(PyObject *self, PyObject *args, PyObject *kwargs) {
9616 PyObject *resultobj;
9617 int arg1 ;
9618 wxString result;
994141e6 9619 PyObject * obj0 = 0 ;
d14a1e28
RD
9620 char *kwnames[] = {
9621 (char *) "lang", NULL
9622 };
9623
994141e6 9624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLanguageName",kwnames,&obj0)) goto fail;
15afbcd0
RD
9625 arg1 = (int) SWIG_AsInt(obj0);
9626 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9627 {
9628 PyThreadState* __tstate = wxPyBeginAllowThreads();
9629 result = wxLocale::GetLanguageName(arg1);
9630
9631 wxPyEndAllowThreads(__tstate);
9632 if (PyErr_Occurred()) SWIG_fail;
9633 }
9634 {
9635#if wxUSE_UNICODE
9636 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9637#else
9638 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9639#endif
9640 }
9641 return resultobj;
9642 fail:
9643 return NULL;
9644}
9645
9646
9647static PyObject *_wrap_Locale_FindLanguageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9648 PyObject *resultobj;
9649 wxString *arg1 = 0 ;
9650 wxLanguageInfo *result;
e811c8ce 9651 bool temp1 = False ;
d14a1e28
RD
9652 PyObject * obj0 = 0 ;
9653 char *kwnames[] = {
9654 (char *) "locale", NULL
9655 };
9656
9657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_FindLanguageInfo",kwnames,&obj0)) goto fail;
9658 {
9659 arg1 = wxString_in_helper(obj0);
9660 if (arg1 == NULL) SWIG_fail;
e811c8ce 9661 temp1 = True;
d14a1e28
RD
9662 }
9663 {
9664 PyThreadState* __tstate = wxPyBeginAllowThreads();
9665 result = (wxLanguageInfo *)wxLocale::FindLanguageInfo((wxString const &)*arg1);
9666
9667 wxPyEndAllowThreads(__tstate);
9668 if (PyErr_Occurred()) SWIG_fail;
9669 }
15afbcd0 9670 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLanguageInfo, 0);
d14a1e28
RD
9671 {
9672 if (temp1)
9673 delete arg1;
9674 }
9675 return resultobj;
9676 fail:
9677 {
9678 if (temp1)
9679 delete arg1;
9680 }
9681 return NULL;
9682}
9683
9684
9685static PyObject *_wrap_Locale_AddLanguage(PyObject *self, PyObject *args, PyObject *kwargs) {
9686 PyObject *resultobj;
9687 wxLanguageInfo *arg1 = 0 ;
9688 PyObject * obj0 = 0 ;
9689 char *kwnames[] = {
9690 (char *) "info", NULL
9691 };
9692
9693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_AddLanguage",kwnames,&obj0)) goto fail;
15afbcd0
RD
9694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLanguageInfo,
9695 SWIG_POINTER_EXCEPTION | 0)) == -1)
9696 SWIG_fail;
d14a1e28 9697 if (arg1 == NULL) {
15afbcd0
RD
9698 PyErr_SetString(PyExc_TypeError,"null reference");
9699 SWIG_fail;
d14a1e28
RD
9700 }
9701 {
9702 PyThreadState* __tstate = wxPyBeginAllowThreads();
9703 wxLocale::AddLanguage((wxLanguageInfo const &)*arg1);
9704
9705 wxPyEndAllowThreads(__tstate);
9706 if (PyErr_Occurred()) SWIG_fail;
9707 }
9708 Py_INCREF(Py_None); resultobj = Py_None;
9709 return resultobj;
9710 fail:
9711 return NULL;
9712}
9713
9714
9715static PyObject *_wrap_Locale_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9716 PyObject *resultobj;
9717 wxLocale *arg1 = (wxLocale *) 0 ;
9718 wxString *arg2 = 0 ;
9719 wxString const &arg3_defvalue = wxPyEmptyString ;
9720 wxString *arg3 = (wxString *) &arg3_defvalue ;
9721 wxString result;
e811c8ce
RD
9722 bool temp2 = False ;
9723 bool temp3 = False ;
d14a1e28
RD
9724 PyObject * obj0 = 0 ;
9725 PyObject * obj1 = 0 ;
9726 PyObject * obj2 = 0 ;
9727 char *kwnames[] = {
9728 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9729 };
9730
9731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Locale_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9734 {
9735 arg2 = wxString_in_helper(obj1);
9736 if (arg2 == NULL) SWIG_fail;
e811c8ce 9737 temp2 = True;
d14a1e28
RD
9738 }
9739 if (obj2) {
9740 {
9741 arg3 = wxString_in_helper(obj2);
9742 if (arg3 == NULL) SWIG_fail;
e811c8ce 9743 temp3 = True;
d14a1e28
RD
9744 }
9745 }
9746 {
9747 PyThreadState* __tstate = wxPyBeginAllowThreads();
9748 result = ((wxLocale const *)arg1)->GetString((wxString const &)*arg2,(wxString const &)*arg3);
9749
9750 wxPyEndAllowThreads(__tstate);
9751 if (PyErr_Occurred()) SWIG_fail;
9752 }
9753 {
9754#if wxUSE_UNICODE
9755 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9756#else
9757 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9758#endif
9759 }
9760 {
9761 if (temp2)
9762 delete arg2;
9763 }
9764 {
9765 if (temp3)
9766 delete arg3;
9767 }
9768 return resultobj;
9769 fail:
9770 {
9771 if (temp2)
9772 delete arg2;
9773 }
9774 {
9775 if (temp3)
9776 delete arg3;
9777 }
9778 return NULL;
9779}
9780
9781
9782static PyObject *_wrap_Locale_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
9783 PyObject *resultobj;
9784 wxLocale *arg1 = (wxLocale *) 0 ;
9785 wxString *result;
9786 PyObject * obj0 = 0 ;
9787 char *kwnames[] = {
9788 (char *) "self", NULL
9789 };
9790
9791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetName",kwnames,&obj0)) goto fail;
15afbcd0
RD
9792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLocale,
9793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9794 {
9795 PyThreadState* __tstate = wxPyBeginAllowThreads();
9796 {
9797 wxString const &_result_ref = ((wxLocale const *)arg1)->GetName();
9798 result = (wxString *) &_result_ref;
9799 }
9800
9801 wxPyEndAllowThreads(__tstate);
9802 if (PyErr_Occurred()) SWIG_fail;
9803 }
cc6dd355
RD
9804 {
9805#if wxUSE_UNICODE
9806 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
9807#else
9808 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
9809#endif
9810 }
d14a1e28
RD
9811 return resultobj;
9812 fail:
9813 return NULL;
9814}
9815
9816
9817static PyObject * Locale_swigregister(PyObject *self, PyObject *args) {
9818 PyObject *obj;
9819 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9820 SWIG_TypeClientData(SWIGTYPE_p_wxLocale, obj);
9821 Py_INCREF(obj);
9822 return Py_BuildValue((char *)"");
9823}
9824static PyObject *_wrap_GetLocale(PyObject *self, PyObject *args, PyObject *kwargs) {
9825 PyObject *resultobj;
9826 wxLocale *result;
9827 char *kwnames[] = {
9828 NULL
9829 };
9830
9831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocale",kwnames)) goto fail;
9832 {
9833 PyThreadState* __tstate = wxPyBeginAllowThreads();
9834 result = (wxLocale *)wxGetLocale();
9835
9836 wxPyEndAllowThreads(__tstate);
9837 if (PyErr_Occurred()) SWIG_fail;
9838 }
15afbcd0 9839 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLocale, 0);
d14a1e28
RD
9840 return resultobj;
9841 fail:
9842 return NULL;
9843}
9844
9845
9846static PyObject *_wrap_GetTranslation__SWIG_0(PyObject *self, PyObject *args) {
9847 PyObject *resultobj;
9848 wxString *arg1 = 0 ;
9849 wxString result;
e811c8ce 9850 bool temp1 = False ;
d14a1e28
RD
9851 PyObject * obj0 = 0 ;
9852
9853 if(!PyArg_ParseTuple(args,(char *)"O:GetTranslation",&obj0)) goto fail;
9854 {
9855 arg1 = wxString_in_helper(obj0);
9856 if (arg1 == NULL) SWIG_fail;
e811c8ce 9857 temp1 = True;
d14a1e28
RD
9858 }
9859 {
9860 PyThreadState* __tstate = wxPyBeginAllowThreads();
9861 result = wxGetTranslation((wxString const &)*arg1);
9862
9863 wxPyEndAllowThreads(__tstate);
9864 if (PyErr_Occurred()) SWIG_fail;
9865 }
9866 {
9867#if wxUSE_UNICODE
9868 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9869#else
9870 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9871#endif
9872 }
9873 {
9874 if (temp1)
9875 delete arg1;
9876 }
9877 return resultobj;
9878 fail:
9879 {
9880 if (temp1)
9881 delete arg1;
9882 }
9883 return NULL;
9884}
9885
9886
9887static PyObject *_wrap_GetTranslation__SWIG_1(PyObject *self, PyObject *args) {
9888 PyObject *resultobj;
9889 wxString *arg1 = 0 ;
9890 wxString *arg2 = 0 ;
9891 size_t arg3 ;
9892 wxString result;
e811c8ce
RD
9893 bool temp1 = False ;
9894 bool temp2 = False ;
d14a1e28
RD
9895 PyObject * obj0 = 0 ;
9896 PyObject * obj1 = 0 ;
9897 PyObject * obj2 = 0 ;
9898
9899 if(!PyArg_ParseTuple(args,(char *)"OOO:GetTranslation",&obj0,&obj1,&obj2)) goto fail;
9900 {
9901 arg1 = wxString_in_helper(obj0);
9902 if (arg1 == NULL) SWIG_fail;
e811c8ce 9903 temp1 = True;
d14a1e28
RD
9904 }
9905 {
9906 arg2 = wxString_in_helper(obj1);
9907 if (arg2 == NULL) SWIG_fail;
e811c8ce 9908 temp2 = True;
d14a1e28 9909 }
15afbcd0
RD
9910 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9911 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9912 {
9913 PyThreadState* __tstate = wxPyBeginAllowThreads();
9914 result = wxGetTranslation((wxString const &)*arg1,(wxString const &)*arg2,arg3);
9915
9916 wxPyEndAllowThreads(__tstate);
9917 if (PyErr_Occurred()) SWIG_fail;
9918 }
9919 {
9920#if wxUSE_UNICODE
9921 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9922#else
9923 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9924#endif
9925 }
9926 {
9927 if (temp1)
9928 delete arg1;
9929 }
9930 {
9931 if (temp2)
9932 delete arg2;
9933 }
9934 return resultobj;
9935 fail:
9936 {
9937 if (temp1)
9938 delete arg1;
9939 }
9940 {
9941 if (temp2)
9942 delete arg2;
9943 }
9944 return NULL;
9945}
9946
9947
9948static PyObject *_wrap_GetTranslation(PyObject *self, PyObject *args) {
9949 int argc;
9950 PyObject *argv[4];
9951 int ii;
9952
9953 argc = PyObject_Length(args);
9954 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
9955 argv[ii] = PyTuple_GetItem(args,ii);
9956 }
9957 if (argc == 1) {
9958 int _v;
9959 {
4d5c3d91 9960 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
d14a1e28
RD
9961 }
9962 if (_v) {
9963 return _wrap_GetTranslation__SWIG_0(self,args);
9964 }
9965 }
9966 if (argc == 3) {
9967 int _v;
9968 {
4d5c3d91 9969 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
d14a1e28
RD
9970 }
9971 if (_v) {
9972 {
4d5c3d91 9973 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
d14a1e28
RD
9974 }
9975 if (_v) {
15afbcd0 9976 _v = SWIG_CheckUnsignedLong(argv[2]);
d14a1e28
RD
9977 if (_v) {
9978 return _wrap_GetTranslation__SWIG_1(self,args);
9979 }
9980 }
9981 }
9982 }
9983
9984 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GetTranslation'");
9985 return NULL;
9986}
9987
9988
9989static PyObject *_wrap_new_EncodingConverter(PyObject *self, PyObject *args, PyObject *kwargs) {
9990 PyObject *resultobj;
9991 wxEncodingConverter *result;
9992 char *kwnames[] = {
9993 NULL
9994 };
9995
9996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EncodingConverter",kwnames)) goto fail;
9997 {
9998 PyThreadState* __tstate = wxPyBeginAllowThreads();
9999 result = (wxEncodingConverter *)new wxEncodingConverter();
10000
10001 wxPyEndAllowThreads(__tstate);
10002 if (PyErr_Occurred()) SWIG_fail;
10003 }
15afbcd0 10004 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEncodingConverter, 1);
d14a1e28
RD
10005 return resultobj;
10006 fail:
10007 return NULL;
10008}
10009
10010
10011static PyObject *_wrap_delete_EncodingConverter(PyObject *self, PyObject *args, PyObject *kwargs) {
10012 PyObject *resultobj;
10013 wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ;
10014 PyObject * obj0 = 0 ;
10015 char *kwnames[] = {
10016 (char *) "self", NULL
10017 };
10018
10019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_EncodingConverter",kwnames,&obj0)) goto fail;
15afbcd0
RD
10020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEncodingConverter,
10021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10022 {
10023 PyThreadState* __tstate = wxPyBeginAllowThreads();
10024 delete arg1;
10025
10026 wxPyEndAllowThreads(__tstate);
10027 if (PyErr_Occurred()) SWIG_fail;
10028 }
10029 Py_INCREF(Py_None); resultobj = Py_None;
10030 return resultobj;
10031 fail:
10032 return NULL;
10033}
10034
10035
10036static PyObject *_wrap_EncodingConverter_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
10037 PyObject *resultobj;
10038 wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ;
10039 int arg2 ;
10040 int arg3 ;
10041 int arg4 = (int) wxCONVERT_STRICT ;
10042 bool result;
10043 PyObject * obj0 = 0 ;
994141e6
RD
10044 PyObject * obj1 = 0 ;
10045 PyObject * obj2 = 0 ;
10046 PyObject * obj3 = 0 ;
d14a1e28
RD
10047 char *kwnames[] = {
10048 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10049 };
10050
994141e6 10051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:EncodingConverter_Init",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEncodingConverter,
10053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10054 arg2 = (wxFontEncoding) SWIG_AsInt(obj1);
10055 if (PyErr_Occurred()) SWIG_fail;
10056 arg3 = (wxFontEncoding) SWIG_AsInt(obj2);
10057 if (PyErr_Occurred()) SWIG_fail;
994141e6 10058 if (obj3) {
15afbcd0
RD
10059 arg4 = (int) SWIG_AsInt(obj3);
10060 if (PyErr_Occurred()) SWIG_fail;
994141e6 10061 }
d14a1e28
RD
10062 {
10063 PyThreadState* __tstate = wxPyBeginAllowThreads();
10064 result = (bool)(arg1)->Init((wxFontEncoding )arg2,(wxFontEncoding )arg3,arg4);
10065
10066 wxPyEndAllowThreads(__tstate);
10067 if (PyErr_Occurred()) SWIG_fail;
10068 }
4f89f6a3
RD
10069 {
10070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10071 }
d14a1e28
RD
10072 return resultobj;
10073 fail:
10074 return NULL;
10075}
10076
10077
10078static PyObject *_wrap_EncodingConverter_Convert(PyObject *self, PyObject *args, PyObject *kwargs) {
10079 PyObject *resultobj;
10080 wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ;
10081 wxString *arg2 = 0 ;
10082 wxString result;
e811c8ce 10083 bool temp2 = False ;
d14a1e28
RD
10084 PyObject * obj0 = 0 ;
10085 PyObject * obj1 = 0 ;
10086 char *kwnames[] = {
10087 (char *) "self",(char *) "input", NULL
10088 };
10089
10090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EncodingConverter_Convert",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEncodingConverter,
10092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10093 {
10094 arg2 = wxString_in_helper(obj1);
10095 if (arg2 == NULL) SWIG_fail;
e811c8ce 10096 temp2 = True;
d14a1e28
RD
10097 }
10098 {
10099 PyThreadState* __tstate = wxPyBeginAllowThreads();
10100 result = (arg1)->Convert((wxString const &)*arg2);
10101
10102 wxPyEndAllowThreads(__tstate);
10103 if (PyErr_Occurred()) SWIG_fail;
10104 }
10105 {
10106#if wxUSE_UNICODE
10107 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10108#else
10109 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10110#endif
10111 }
10112 {
10113 if (temp2)
10114 delete arg2;
10115 }
10116 return resultobj;
10117 fail:
10118 {
10119 if (temp2)
10120 delete arg2;
10121 }
10122 return NULL;
10123}
10124
10125
10126static PyObject *_wrap_EncodingConverter_GetPlatformEquivalents(PyObject *self, PyObject *args, PyObject *kwargs) {
10127 PyObject *resultobj;
10128 int arg1 ;
10129 int arg2 = (int) wxPLATFORM_CURRENT ;
10130 wxFontEncodingArray result;
994141e6
RD
10131 PyObject * obj0 = 0 ;
10132 PyObject * obj1 = 0 ;
d14a1e28
RD
10133 char *kwnames[] = {
10134 (char *) "enc",(char *) "platform", NULL
10135 };
10136
994141e6 10137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10138 arg1 = (wxFontEncoding) SWIG_AsInt(obj0);
10139 if (PyErr_Occurred()) SWIG_fail;
994141e6 10140 if (obj1) {
15afbcd0
RD
10141 arg2 = (int) SWIG_AsInt(obj1);
10142 if (PyErr_Occurred()) SWIG_fail;
994141e6 10143 }
d14a1e28
RD
10144 {
10145 PyThreadState* __tstate = wxPyBeginAllowThreads();
10146 result = wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding )arg1,arg2);
10147
10148 wxPyEndAllowThreads(__tstate);
10149 if (PyErr_Occurred()) SWIG_fail;
10150 }
10151 {
10152 resultobj = PyList_New(0);
10153 for (size_t i=0; i < (&result)->GetCount(); i++) {
10154 PyObject* number = PyInt_FromLong((&result)->Item(i));
10155 PyList_Append(resultobj, number);
10156 Py_DECREF(number);
10157 }
10158 }
10159 return resultobj;
10160 fail:
10161 return NULL;
10162}
10163
10164
10165static PyObject *_wrap_EncodingConverter_GetAllEquivalents(PyObject *self, PyObject *args, PyObject *kwargs) {
10166 PyObject *resultobj;
10167 int arg1 ;
10168 wxFontEncodingArray result;
994141e6 10169 PyObject * obj0 = 0 ;
d14a1e28
RD
10170 char *kwnames[] = {
10171 (char *) "enc", NULL
10172 };
10173
994141e6 10174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames,&obj0)) goto fail;
15afbcd0
RD
10175 arg1 = (wxFontEncoding) SWIG_AsInt(obj0);
10176 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10177 {
10178 PyThreadState* __tstate = wxPyBeginAllowThreads();
10179 result = wxEncodingConverter::GetAllEquivalents((wxFontEncoding )arg1);
10180
10181 wxPyEndAllowThreads(__tstate);
10182 if (PyErr_Occurred()) SWIG_fail;
10183 }
10184 {
10185 resultobj = PyList_New(0);
10186 for (size_t i=0; i < (&result)->GetCount(); i++) {
10187 PyObject* number = PyInt_FromLong((&result)->Item(i));
10188 PyList_Append(resultobj, number);
10189 Py_DECREF(number);
10190 }
10191 }
10192 return resultobj;
10193 fail:
10194 return NULL;
10195}
10196
10197
10198static PyObject *_wrap_EncodingConverter_CanConvert(PyObject *self, PyObject *args, PyObject *kwargs) {
10199 PyObject *resultobj;
10200 int arg1 ;
10201 int arg2 ;
10202 bool result;
994141e6
RD
10203 PyObject * obj0 = 0 ;
10204 PyObject * obj1 = 0 ;
d14a1e28
RD
10205 char *kwnames[] = {
10206 (char *) "encIn",(char *) "encOut", NULL
10207 };
10208
994141e6 10209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EncodingConverter_CanConvert",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10210 arg1 = (wxFontEncoding) SWIG_AsInt(obj0);
10211 if (PyErr_Occurred()) SWIG_fail;
10212 arg2 = (wxFontEncoding) SWIG_AsInt(obj1);
10213 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10214 {
10215 PyThreadState* __tstate = wxPyBeginAllowThreads();
10216 result = (bool)wxEncodingConverter::CanConvert((wxFontEncoding )arg1,(wxFontEncoding )arg2);
10217
10218 wxPyEndAllowThreads(__tstate);
10219 if (PyErr_Occurred()) SWIG_fail;
10220 }
4f89f6a3
RD
10221 {
10222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10223 }
d14a1e28
RD
10224 return resultobj;
10225 fail:
10226 return NULL;
10227}
10228
10229
10230static PyObject * EncodingConverter_swigregister(PyObject *self, PyObject *args) {
10231 PyObject *obj;
10232 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10233 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter, obj);
10234 Py_INCREF(obj);
10235 return Py_BuildValue((char *)"");
10236}
10237static PyObject *_wrap_delete_DC(PyObject *self, PyObject *args, PyObject *kwargs) {
10238 PyObject *resultobj;
10239 wxDC *arg1 = (wxDC *) 0 ;
10240 PyObject * obj0 = 0 ;
10241 char *kwnames[] = {
10242 (char *) "self", NULL
10243 };
10244
10245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DC",kwnames,&obj0)) goto fail;
15afbcd0
RD
10246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10248 {
10249 PyThreadState* __tstate = wxPyBeginAllowThreads();
10250 delete arg1;
10251
10252 wxPyEndAllowThreads(__tstate);
10253 if (PyErr_Occurred()) SWIG_fail;
10254 }
10255 Py_INCREF(Py_None); resultobj = Py_None;
10256 return resultobj;
10257 fail:
10258 return NULL;
10259}
10260
10261
10262static PyObject *_wrap_DC_BeginDrawing(PyObject *self, PyObject *args, PyObject *kwargs) {
10263 PyObject *resultobj;
10264 wxDC *arg1 = (wxDC *) 0 ;
10265 PyObject * obj0 = 0 ;
10266 char *kwnames[] = {
10267 (char *) "self", NULL
10268 };
10269
10270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_BeginDrawing",kwnames,&obj0)) goto fail;
15afbcd0
RD
10271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10273 {
10274 PyThreadState* __tstate = wxPyBeginAllowThreads();
10275 (arg1)->BeginDrawing();
10276
10277 wxPyEndAllowThreads(__tstate);
10278 if (PyErr_Occurred()) SWIG_fail;
10279 }
10280 Py_INCREF(Py_None); resultobj = Py_None;
10281 return resultobj;
10282 fail:
10283 return NULL;
10284}
10285
10286
10287static PyObject *_wrap_DC_EndDrawing(PyObject *self, PyObject *args, PyObject *kwargs) {
10288 PyObject *resultobj;
10289 wxDC *arg1 = (wxDC *) 0 ;
10290 PyObject * obj0 = 0 ;
10291 char *kwnames[] = {
10292 (char *) "self", NULL
10293 };
10294
10295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_EndDrawing",kwnames,&obj0)) goto fail;
15afbcd0
RD
10296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10298 {
10299 PyThreadState* __tstate = wxPyBeginAllowThreads();
10300 (arg1)->EndDrawing();
10301
10302 wxPyEndAllowThreads(__tstate);
10303 if (PyErr_Occurred()) SWIG_fail;
10304 }
10305 Py_INCREF(Py_None); resultobj = Py_None;
10306 return resultobj;
10307 fail:
10308 return NULL;
10309}
10310
10311
03e37cd5 10312static PyObject *_wrap_DC_FloodFill(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10313 PyObject *resultobj;
10314 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10315 int arg2 ;
10316 int arg3 ;
d14a1e28
RD
10317 wxColour *arg4 = 0 ;
10318 int arg5 = (int) wxFLOOD_SURFACE ;
10319 bool result;
10320 wxColour temp4 ;
10321 PyObject * obj0 = 0 ;
994141e6
RD
10322 PyObject * obj1 = 0 ;
10323 PyObject * obj2 = 0 ;
d14a1e28 10324 PyObject * obj3 = 0 ;
994141e6 10325 PyObject * obj4 = 0 ;
d14a1e28
RD
10326 char *kwnames[] = {
10327 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10328 };
10329
03e37cd5 10330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:DC_FloodFill",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
10331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10333 arg2 = (int) SWIG_AsInt(obj1);
10334 if (PyErr_Occurred()) SWIG_fail;
10335 arg3 = (int) SWIG_AsInt(obj2);
10336 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10337 {
10338 arg4 = &temp4;
10339 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
10340 }
994141e6 10341 if (obj4) {
15afbcd0
RD
10342 arg5 = (int) SWIG_AsInt(obj4);
10343 if (PyErr_Occurred()) SWIG_fail;
994141e6 10344 }
d14a1e28
RD
10345 {
10346 PyThreadState* __tstate = wxPyBeginAllowThreads();
10347 result = (bool)(arg1)->FloodFill(arg2,arg3,(wxColour const &)*arg4,arg5);
10348
10349 wxPyEndAllowThreads(__tstate);
10350 if (PyErr_Occurred()) SWIG_fail;
10351 }
4f89f6a3
RD
10352 {
10353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10354 }
d14a1e28
RD
10355 return resultobj;
10356 fail:
10357 return NULL;
10358}
10359
10360
03e37cd5 10361static PyObject *_wrap_DC_FloodFillPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10362 PyObject *resultobj;
10363 wxDC *arg1 = (wxDC *) 0 ;
10364 wxPoint *arg2 = 0 ;
10365 wxColour *arg3 = 0 ;
10366 int arg4 = (int) wxFLOOD_SURFACE ;
10367 bool result;
10368 wxPoint temp2 ;
10369 wxColour temp3 ;
10370 PyObject * obj0 = 0 ;
10371 PyObject * obj1 = 0 ;
10372 PyObject * obj2 = 0 ;
994141e6 10373 PyObject * obj3 = 0 ;
d14a1e28
RD
10374 char *kwnames[] = {
10375 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10376 };
10377
03e37cd5 10378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:DC_FloodFillPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10381 {
10382 arg2 = &temp2;
10383 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10384 }
10385 {
10386 arg3 = &temp3;
10387 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10388 }
994141e6 10389 if (obj3) {
15afbcd0
RD
10390 arg4 = (int) SWIG_AsInt(obj3);
10391 if (PyErr_Occurred()) SWIG_fail;
994141e6 10392 }
d14a1e28
RD
10393 {
10394 PyThreadState* __tstate = wxPyBeginAllowThreads();
10395 result = (bool)(arg1)->FloodFill((wxPoint const &)*arg2,(wxColour const &)*arg3,arg4);
10396
10397 wxPyEndAllowThreads(__tstate);
10398 if (PyErr_Occurred()) SWIG_fail;
10399 }
4f89f6a3
RD
10400 {
10401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10402 }
d14a1e28
RD
10403 return resultobj;
10404 fail:
10405 return NULL;
10406}
10407
10408
03e37cd5 10409static PyObject *_wrap_DC_GetPixel(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10410 PyObject *resultobj;
10411 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10412 int arg2 ;
10413 int arg3 ;
d14a1e28
RD
10414 wxColour result;
10415 PyObject * obj0 = 0 ;
994141e6
RD
10416 PyObject * obj1 = 0 ;
10417 PyObject * obj2 = 0 ;
d14a1e28
RD
10418 char *kwnames[] = {
10419 (char *) "self",(char *) "x",(char *) "y", NULL
10420 };
10421
03e37cd5 10422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_GetPixel",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10425 arg2 = (int) SWIG_AsInt(obj1);
10426 if (PyErr_Occurred()) SWIG_fail;
10427 arg3 = (int) SWIG_AsInt(obj2);
10428 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10429 {
10430 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 10431 result = wxDC_GetPixel(arg1,arg2,arg3);
d14a1e28
RD
10432
10433 wxPyEndAllowThreads(__tstate);
10434 if (PyErr_Occurred()) SWIG_fail;
10435 }
10436 {
10437 wxColour * resultptr;
10438 resultptr = new wxColour((wxColour &) result);
15afbcd0 10439 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10440 }
10441 return resultobj;
10442 fail:
10443 return NULL;
10444}
10445
10446
03e37cd5 10447static PyObject *_wrap_DC_GetPixelPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10448 PyObject *resultobj;
10449 wxDC *arg1 = (wxDC *) 0 ;
10450 wxPoint *arg2 = 0 ;
10451 wxColour result;
10452 wxPoint temp2 ;
10453 PyObject * obj0 = 0 ;
10454 PyObject * obj1 = 0 ;
10455 char *kwnames[] = {
10456 (char *) "self",(char *) "pt", NULL
10457 };
10458
03e37cd5 10459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_GetPixelPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10462 {
10463 arg2 = &temp2;
10464 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10465 }
10466 {
10467 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 10468 result = wxDC_GetPixelPoint(arg1,(wxPoint const &)*arg2);
d14a1e28
RD
10469
10470 wxPyEndAllowThreads(__tstate);
10471 if (PyErr_Occurred()) SWIG_fail;
10472 }
10473 {
10474 wxColour * resultptr;
10475 resultptr = new wxColour((wxColour &) result);
15afbcd0 10476 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
10477 }
10478 return resultobj;
10479 fail:
10480 return NULL;
10481}
10482
10483
03e37cd5 10484static PyObject *_wrap_DC_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10485 PyObject *resultobj;
10486 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10487 int arg2 ;
10488 int arg3 ;
10489 int arg4 ;
10490 int arg5 ;
d14a1e28 10491 PyObject * obj0 = 0 ;
994141e6
RD
10492 PyObject * obj1 = 0 ;
10493 PyObject * obj2 = 0 ;
10494 PyObject * obj3 = 0 ;
10495 PyObject * obj4 = 0 ;
d14a1e28
RD
10496 char *kwnames[] = {
10497 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10498 };
10499
03e37cd5 10500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
10501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10503 arg2 = (int) SWIG_AsInt(obj1);
10504 if (PyErr_Occurred()) SWIG_fail;
10505 arg3 = (int) SWIG_AsInt(obj2);
10506 if (PyErr_Occurred()) SWIG_fail;
10507 arg4 = (int) SWIG_AsInt(obj3);
10508 if (PyErr_Occurred()) SWIG_fail;
10509 arg5 = (int) SWIG_AsInt(obj4);
10510 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10511 {
10512 PyThreadState* __tstate = wxPyBeginAllowThreads();
10513 (arg1)->DrawLine(arg2,arg3,arg4,arg5);
10514
10515 wxPyEndAllowThreads(__tstate);
10516 if (PyErr_Occurred()) SWIG_fail;
10517 }
10518 Py_INCREF(Py_None); resultobj = Py_None;
10519 return resultobj;
10520 fail:
10521 return NULL;
10522}
10523
10524
03e37cd5 10525static PyObject *_wrap_DC_DrawLinePoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10526 PyObject *resultobj;
10527 wxDC *arg1 = (wxDC *) 0 ;
10528 wxPoint *arg2 = 0 ;
10529 wxPoint *arg3 = 0 ;
10530 wxPoint temp2 ;
10531 wxPoint temp3 ;
10532 PyObject * obj0 = 0 ;
10533 PyObject * obj1 = 0 ;
10534 PyObject * obj2 = 0 ;
10535 char *kwnames[] = {
10536 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10537 };
10538
03e37cd5 10539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawLinePoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10542 {
10543 arg2 = &temp2;
10544 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10545 }
10546 {
10547 arg3 = &temp3;
10548 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10549 }
10550 {
10551 PyThreadState* __tstate = wxPyBeginAllowThreads();
10552 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
10553
10554 wxPyEndAllowThreads(__tstate);
10555 if (PyErr_Occurred()) SWIG_fail;
10556 }
10557 Py_INCREF(Py_None); resultobj = Py_None;
10558 return resultobj;
10559 fail:
10560 return NULL;
10561}
10562
10563
03e37cd5 10564static PyObject *_wrap_DC_CrossHair(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10565 PyObject *resultobj;
10566 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10567 int arg2 ;
10568 int arg3 ;
d14a1e28 10569 PyObject * obj0 = 0 ;
994141e6
RD
10570 PyObject * obj1 = 0 ;
10571 PyObject * obj2 = 0 ;
d14a1e28
RD
10572 char *kwnames[] = {
10573 (char *) "self",(char *) "x",(char *) "y", NULL
10574 };
10575
03e37cd5 10576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_CrossHair",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10579 arg2 = (int) SWIG_AsInt(obj1);
10580 if (PyErr_Occurred()) SWIG_fail;
10581 arg3 = (int) SWIG_AsInt(obj2);
10582 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10583 {
10584 PyThreadState* __tstate = wxPyBeginAllowThreads();
10585 (arg1)->CrossHair(arg2,arg3);
10586
10587 wxPyEndAllowThreads(__tstate);
10588 if (PyErr_Occurred()) SWIG_fail;
10589 }
10590 Py_INCREF(Py_None); resultobj = Py_None;
10591 return resultobj;
10592 fail:
10593 return NULL;
10594}
10595
10596
03e37cd5 10597static PyObject *_wrap_DC_CrossHairPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10598 PyObject *resultobj;
10599 wxDC *arg1 = (wxDC *) 0 ;
10600 wxPoint *arg2 = 0 ;
10601 wxPoint temp2 ;
10602 PyObject * obj0 = 0 ;
10603 PyObject * obj1 = 0 ;
10604 char *kwnames[] = {
10605 (char *) "self",(char *) "pt", NULL
10606 };
10607
03e37cd5 10608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_CrossHairPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10611 {
10612 arg2 = &temp2;
10613 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10614 }
10615 {
10616 PyThreadState* __tstate = wxPyBeginAllowThreads();
10617 (arg1)->CrossHair((wxPoint const &)*arg2);
10618
10619 wxPyEndAllowThreads(__tstate);
10620 if (PyErr_Occurred()) SWIG_fail;
10621 }
10622 Py_INCREF(Py_None); resultobj = Py_None;
10623 return resultobj;
10624 fail:
10625 return NULL;
10626}
10627
10628
03e37cd5 10629static PyObject *_wrap_DC_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10630 PyObject *resultobj;
10631 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10632 int arg2 ;
10633 int arg3 ;
10634 int arg4 ;
10635 int arg5 ;
10636 int arg6 ;
10637 int arg7 ;
d14a1e28 10638 PyObject * obj0 = 0 ;
994141e6
RD
10639 PyObject * obj1 = 0 ;
10640 PyObject * obj2 = 0 ;
10641 PyObject * obj3 = 0 ;
10642 PyObject * obj4 = 0 ;
10643 PyObject * obj5 = 0 ;
10644 PyObject * obj6 = 0 ;
d14a1e28
RD
10645 char *kwnames[] = {
10646 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10647 };
10648
03e37cd5 10649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:DC_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
10650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10652 arg2 = (int) SWIG_AsInt(obj1);
10653 if (PyErr_Occurred()) SWIG_fail;
10654 arg3 = (int) SWIG_AsInt(obj2);
10655 if (PyErr_Occurred()) SWIG_fail;
10656 arg4 = (int) SWIG_AsInt(obj3);
10657 if (PyErr_Occurred()) SWIG_fail;
10658 arg5 = (int) SWIG_AsInt(obj4);
10659 if (PyErr_Occurred()) SWIG_fail;
10660 arg6 = (int) SWIG_AsInt(obj5);
10661 if (PyErr_Occurred()) SWIG_fail;
10662 arg7 = (int) SWIG_AsInt(obj6);
10663 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10664 {
10665 PyThreadState* __tstate = wxPyBeginAllowThreads();
10666 (arg1)->DrawArc(arg2,arg3,arg4,arg5,arg6,arg7);
10667
10668 wxPyEndAllowThreads(__tstate);
10669 if (PyErr_Occurred()) SWIG_fail;
10670 }
10671 Py_INCREF(Py_None); resultobj = Py_None;
10672 return resultobj;
10673 fail:
10674 return NULL;
10675}
10676
10677
03e37cd5 10678static PyObject *_wrap_DC_DrawArcPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10679 PyObject *resultobj;
10680 wxDC *arg1 = (wxDC *) 0 ;
10681 wxPoint *arg2 = 0 ;
10682 wxPoint *arg3 = 0 ;
10683 wxPoint *arg4 = 0 ;
10684 wxPoint temp2 ;
10685 wxPoint temp3 ;
10686 wxPoint temp4 ;
10687 PyObject * obj0 = 0 ;
10688 PyObject * obj1 = 0 ;
10689 PyObject * obj2 = 0 ;
10690 PyObject * obj3 = 0 ;
10691 char *kwnames[] = {
10692 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10693 };
10694
03e37cd5 10695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawArcPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10698 {
10699 arg2 = &temp2;
10700 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10701 }
10702 {
10703 arg3 = &temp3;
10704 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10705 }
10706 {
10707 arg4 = &temp4;
10708 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10709 }
10710 {
10711 PyThreadState* __tstate = wxPyBeginAllowThreads();
10712 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
10713
10714 wxPyEndAllowThreads(__tstate);
10715 if (PyErr_Occurred()) SWIG_fail;
10716 }
10717 Py_INCREF(Py_None); resultobj = Py_None;
10718 return resultobj;
10719 fail:
10720 return NULL;
10721}
10722
10723
03e37cd5 10724static PyObject *_wrap_DC_DrawCheckMark(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10725 PyObject *resultobj;
10726 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10727 int arg2 ;
10728 int arg3 ;
10729 int arg4 ;
10730 int arg5 ;
d14a1e28 10731 PyObject * obj0 = 0 ;
994141e6
RD
10732 PyObject * obj1 = 0 ;
10733 PyObject * obj2 = 0 ;
10734 PyObject * obj3 = 0 ;
10735 PyObject * obj4 = 0 ;
d14a1e28
RD
10736 char *kwnames[] = {
10737 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10738 };
10739
03e37cd5 10740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawCheckMark",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
10741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10743 arg2 = (int) SWIG_AsInt(obj1);
10744 if (PyErr_Occurred()) SWIG_fail;
10745 arg3 = (int) SWIG_AsInt(obj2);
10746 if (PyErr_Occurred()) SWIG_fail;
10747 arg4 = (int) SWIG_AsInt(obj3);
10748 if (PyErr_Occurred()) SWIG_fail;
10749 arg5 = (int) SWIG_AsInt(obj4);
10750 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10751 {
10752 PyThreadState* __tstate = wxPyBeginAllowThreads();
10753 (arg1)->DrawCheckMark(arg2,arg3,arg4,arg5);
10754
10755 wxPyEndAllowThreads(__tstate);
10756 if (PyErr_Occurred()) SWIG_fail;
10757 }
10758 Py_INCREF(Py_None); resultobj = Py_None;
10759 return resultobj;
10760 fail:
10761 return NULL;
10762}
10763
10764
03e37cd5 10765static PyObject *_wrap_DC_DrawCheckMarkRect(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10766 PyObject *resultobj;
10767 wxDC *arg1 = (wxDC *) 0 ;
10768 wxRect *arg2 = 0 ;
10769 wxRect temp2 ;
10770 PyObject * obj0 = 0 ;
10771 PyObject * obj1 = 0 ;
10772 char *kwnames[] = {
10773 (char *) "self",(char *) "rect", NULL
10774 };
10775
03e37cd5 10776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawCheckMarkRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10779 {
10780 arg2 = &temp2;
10781 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10782 }
10783 {
10784 PyThreadState* __tstate = wxPyBeginAllowThreads();
10785 (arg1)->DrawCheckMark((wxRect const &)*arg2);
10786
10787 wxPyEndAllowThreads(__tstate);
10788 if (PyErr_Occurred()) SWIG_fail;
10789 }
10790 Py_INCREF(Py_None); resultobj = Py_None;
10791 return resultobj;
10792 fail:
10793 return NULL;
10794}
10795
10796
03e37cd5 10797static PyObject *_wrap_DC_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10798 PyObject *resultobj;
10799 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10800 int arg2 ;
10801 int arg3 ;
10802 int arg4 ;
10803 int arg5 ;
d14a1e28
RD
10804 double arg6 ;
10805 double arg7 ;
10806 PyObject * obj0 = 0 ;
994141e6
RD
10807 PyObject * obj1 = 0 ;
10808 PyObject * obj2 = 0 ;
10809 PyObject * obj3 = 0 ;
10810 PyObject * obj4 = 0 ;
10811 PyObject * obj5 = 0 ;
10812 PyObject * obj6 = 0 ;
d14a1e28
RD
10813 char *kwnames[] = {
10814 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10815 };
10816
03e37cd5 10817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
10818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10820 arg2 = (int) SWIG_AsInt(obj1);
10821 if (PyErr_Occurred()) SWIG_fail;
10822 arg3 = (int) SWIG_AsInt(obj2);
10823 if (PyErr_Occurred()) SWIG_fail;
10824 arg4 = (int) SWIG_AsInt(obj3);
10825 if (PyErr_Occurred()) SWIG_fail;
10826 arg5 = (int) SWIG_AsInt(obj4);
10827 if (PyErr_Occurred()) SWIG_fail;
10828 arg6 = (double) SWIG_AsDouble(obj5);
10829 if (PyErr_Occurred()) SWIG_fail;
10830 arg7 = (double) SWIG_AsDouble(obj6);
10831 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10832 {
10833 PyThreadState* __tstate = wxPyBeginAllowThreads();
10834 (arg1)->DrawEllipticArc(arg2,arg3,arg4,arg5,arg6,arg7);
10835
10836 wxPyEndAllowThreads(__tstate);
10837 if (PyErr_Occurred()) SWIG_fail;
10838 }
10839 Py_INCREF(Py_None); resultobj = Py_None;
10840 return resultobj;
10841 fail:
10842 return NULL;
10843}
10844
10845
03e37cd5 10846static PyObject *_wrap_DC_DrawEllipticArcPointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10847 PyObject *resultobj;
10848 wxDC *arg1 = (wxDC *) 0 ;
10849 wxPoint *arg2 = 0 ;
10850 wxSize *arg3 = 0 ;
10851 double arg4 ;
10852 double arg5 ;
10853 wxPoint temp2 ;
10854 wxSize temp3 ;
10855 PyObject * obj0 = 0 ;
10856 PyObject * obj1 = 0 ;
10857 PyObject * obj2 = 0 ;
994141e6
RD
10858 PyObject * obj3 = 0 ;
10859 PyObject * obj4 = 0 ;
d14a1e28
RD
10860 char *kwnames[] = {
10861 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10862 };
10863
03e37cd5 10864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
10865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10867 {
10868 arg2 = &temp2;
10869 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10870 }
10871 {
10872 arg3 = &temp3;
10873 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
10874 }
15afbcd0
RD
10875 arg4 = (double) SWIG_AsDouble(obj3);
10876 if (PyErr_Occurred()) SWIG_fail;
10877 arg5 = (double) SWIG_AsDouble(obj4);
10878 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10879 {
10880 PyThreadState* __tstate = wxPyBeginAllowThreads();
10881 (arg1)->DrawEllipticArc((wxPoint const &)*arg2,(wxSize const &)*arg3,arg4,arg5);
10882
10883 wxPyEndAllowThreads(__tstate);
10884 if (PyErr_Occurred()) SWIG_fail;
10885 }
10886 Py_INCREF(Py_None); resultobj = Py_None;
10887 return resultobj;
10888 fail:
10889 return NULL;
10890}
10891
10892
03e37cd5 10893static PyObject *_wrap_DC_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10894 PyObject *resultobj;
10895 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10896 int arg2 ;
10897 int arg3 ;
d14a1e28 10898 PyObject * obj0 = 0 ;
994141e6
RD
10899 PyObject * obj1 = 0 ;
10900 PyObject * obj2 = 0 ;
d14a1e28
RD
10901 char *kwnames[] = {
10902 (char *) "self",(char *) "x",(char *) "y", NULL
10903 };
10904
03e37cd5 10905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10908 arg2 = (int) SWIG_AsInt(obj1);
10909 if (PyErr_Occurred()) SWIG_fail;
10910 arg3 = (int) SWIG_AsInt(obj2);
10911 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10912 {
10913 PyThreadState* __tstate = wxPyBeginAllowThreads();
10914 (arg1)->DrawPoint(arg2,arg3);
10915
10916 wxPyEndAllowThreads(__tstate);
10917 if (PyErr_Occurred()) SWIG_fail;
10918 }
10919 Py_INCREF(Py_None); resultobj = Py_None;
10920 return resultobj;
10921 fail:
10922 return NULL;
10923}
10924
10925
03e37cd5 10926static PyObject *_wrap_DC_DrawPointPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10927 PyObject *resultobj;
10928 wxDC *arg1 = (wxDC *) 0 ;
10929 wxPoint *arg2 = 0 ;
10930 wxPoint temp2 ;
10931 PyObject * obj0 = 0 ;
10932 PyObject * obj1 = 0 ;
10933 char *kwnames[] = {
10934 (char *) "self",(char *) "pt", NULL
10935 };
10936
03e37cd5 10937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawPointPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10940 {
10941 arg2 = &temp2;
10942 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10943 }
10944 {
10945 PyThreadState* __tstate = wxPyBeginAllowThreads();
10946 (arg1)->DrawPoint((wxPoint const &)*arg2);
10947
10948 wxPyEndAllowThreads(__tstate);
10949 if (PyErr_Occurred()) SWIG_fail;
10950 }
10951 Py_INCREF(Py_None); resultobj = Py_None;
10952 return resultobj;
10953 fail:
10954 return NULL;
10955}
10956
10957
03e37cd5 10958static PyObject *_wrap_DC_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10959 PyObject *resultobj;
10960 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
10961 int arg2 ;
10962 int arg3 ;
10963 int arg4 ;
10964 int arg5 ;
d14a1e28 10965 PyObject * obj0 = 0 ;
994141e6
RD
10966 PyObject * obj1 = 0 ;
10967 PyObject * obj2 = 0 ;
10968 PyObject * obj3 = 0 ;
10969 PyObject * obj4 = 0 ;
d14a1e28
RD
10970 char *kwnames[] = {
10971 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10972 };
10973
03e37cd5 10974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
10975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
10976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10977 arg2 = (int) SWIG_AsInt(obj1);
10978 if (PyErr_Occurred()) SWIG_fail;
10979 arg3 = (int) SWIG_AsInt(obj2);
10980 if (PyErr_Occurred()) SWIG_fail;
10981 arg4 = (int) SWIG_AsInt(obj3);
10982 if (PyErr_Occurred()) SWIG_fail;
10983 arg5 = (int) SWIG_AsInt(obj4);
10984 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10985 {
10986 PyThreadState* __tstate = wxPyBeginAllowThreads();
10987 (arg1)->DrawRectangle(arg2,arg3,arg4,arg5);
10988
10989 wxPyEndAllowThreads(__tstate);
10990 if (PyErr_Occurred()) SWIG_fail;
10991 }
10992 Py_INCREF(Py_None); resultobj = Py_None;
10993 return resultobj;
10994 fail:
10995 return NULL;
10996}
10997
10998
03e37cd5 10999static PyObject *_wrap_DC_DrawRectangleRect(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11000 PyObject *resultobj;
11001 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
11002 wxRect *arg2 = 0 ;
11003 wxRect temp2 ;
d14a1e28
RD
11004 PyObject * obj0 = 0 ;
11005 PyObject * obj1 = 0 ;
d14a1e28 11006 char *kwnames[] = {
03e37cd5 11007 (char *) "self",(char *) "rect", NULL
d14a1e28
RD
11008 };
11009
03e37cd5 11010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawRectangleRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11013 {
11014 arg2 = &temp2;
03e37cd5 11015 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
11016 }
11017 {
11018 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11019 (arg1)->DrawRectangle((wxRect const &)*arg2);
d14a1e28
RD
11020
11021 wxPyEndAllowThreads(__tstate);
11022 if (PyErr_Occurred()) SWIG_fail;
11023 }
11024 Py_INCREF(Py_None); resultobj = Py_None;
11025 return resultobj;
11026 fail:
11027 return NULL;
11028}
11029
11030
03e37cd5 11031static PyObject *_wrap_DC_DrawRectanglePointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11032 PyObject *resultobj;
11033 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
11034 wxPoint *arg2 = 0 ;
11035 wxSize *arg3 = 0 ;
11036 wxPoint temp2 ;
11037 wxSize temp3 ;
d14a1e28
RD
11038 PyObject * obj0 = 0 ;
11039 PyObject * obj1 = 0 ;
03e37cd5 11040 PyObject * obj2 = 0 ;
d14a1e28 11041 char *kwnames[] = {
03e37cd5 11042 (char *) "self",(char *) "pt",(char *) "sz", NULL
d14a1e28
RD
11043 };
11044
03e37cd5 11045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawRectanglePointSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11048 {
11049 arg2 = &temp2;
03e37cd5
RD
11050 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11051 }
11052 {
11053 arg3 = &temp3;
11054 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
d14a1e28
RD
11055 }
11056 {
11057 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11058 (arg1)->DrawRectangle((wxPoint const &)*arg2,(wxSize const &)*arg3);
d14a1e28
RD
11059
11060 wxPyEndAllowThreads(__tstate);
11061 if (PyErr_Occurred()) SWIG_fail;
11062 }
11063 Py_INCREF(Py_None); resultobj = Py_None;
11064 return resultobj;
11065 fail:
11066 return NULL;
11067}
11068
11069
03e37cd5 11070static PyObject *_wrap_DC_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11071 PyObject *resultobj;
11072 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
11073 int arg2 ;
11074 int arg3 ;
11075 int arg4 ;
11076 int arg5 ;
d14a1e28
RD
11077 double arg6 ;
11078 PyObject * obj0 = 0 ;
994141e6
RD
11079 PyObject * obj1 = 0 ;
11080 PyObject * obj2 = 0 ;
11081 PyObject * obj3 = 0 ;
11082 PyObject * obj4 = 0 ;
11083 PyObject * obj5 = 0 ;
d14a1e28
RD
11084 char *kwnames[] = {
11085 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11086 };
11087
03e37cd5 11088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
11089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11091 arg2 = (int) SWIG_AsInt(obj1);
11092 if (PyErr_Occurred()) SWIG_fail;
11093 arg3 = (int) SWIG_AsInt(obj2);
11094 if (PyErr_Occurred()) SWIG_fail;
11095 arg4 = (int) SWIG_AsInt(obj3);
11096 if (PyErr_Occurred()) SWIG_fail;
11097 arg5 = (int) SWIG_AsInt(obj4);
11098 if (PyErr_Occurred()) SWIG_fail;
11099 arg6 = (double) SWIG_AsDouble(obj5);
11100 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11101 {
11102 PyThreadState* __tstate = wxPyBeginAllowThreads();
11103 (arg1)->DrawRoundedRectangle(arg2,arg3,arg4,arg5,arg6);
11104
11105 wxPyEndAllowThreads(__tstate);
11106 if (PyErr_Occurred()) SWIG_fail;
11107 }
11108 Py_INCREF(Py_None); resultobj = Py_None;
11109 return resultobj;
11110 fail:
11111 return NULL;
11112}
11113
11114
03e37cd5 11115static PyObject *_wrap_DC_DrawRoundedRectangleRect(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11116 PyObject *resultobj;
11117 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
11118 wxRect *arg2 = 0 ;
11119 double arg3 ;
11120 wxRect temp2 ;
d14a1e28
RD
11121 PyObject * obj0 = 0 ;
11122 PyObject * obj1 = 0 ;
11123 PyObject * obj2 = 0 ;
11124 char *kwnames[] = {
03e37cd5 11125 (char *) "self",(char *) "r",(char *) "radius", NULL
d14a1e28
RD
11126 };
11127
03e37cd5 11128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11131 {
11132 arg2 = &temp2;
03e37cd5 11133 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
d14a1e28 11134 }
03e37cd5 11135 arg3 = (double) SWIG_AsDouble(obj2);
15afbcd0 11136 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11137 {
11138 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11139 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
d14a1e28
RD
11140
11141 wxPyEndAllowThreads(__tstate);
11142 if (PyErr_Occurred()) SWIG_fail;
11143 }
11144 Py_INCREF(Py_None); resultobj = Py_None;
11145 return resultobj;
11146 fail:
11147 return NULL;
11148}
11149
11150
03e37cd5 11151static PyObject *_wrap_DC_DrawRoundedRectanglePointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11152 PyObject *resultobj;
11153 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
11154 wxPoint *arg2 = 0 ;
11155 wxSize *arg3 = 0 ;
11156 double arg4 ;
11157 wxPoint temp2 ;
11158 wxSize temp3 ;
d14a1e28
RD
11159 PyObject * obj0 = 0 ;
11160 PyObject * obj1 = 0 ;
994141e6 11161 PyObject * obj2 = 0 ;
03e37cd5 11162 PyObject * obj3 = 0 ;
d14a1e28 11163 char *kwnames[] = {
03e37cd5 11164 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
d14a1e28
RD
11165 };
11166
03e37cd5 11167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11170 {
11171 arg2 = &temp2;
03e37cd5 11172 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
d14a1e28 11173 }
03e37cd5
RD
11174 {
11175 arg3 = &temp3;
11176 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
11177 }
11178 arg4 = (double) SWIG_AsDouble(obj3);
15afbcd0 11179 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11180 {
11181 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11182 (arg1)->DrawRoundedRectangle((wxPoint const &)*arg2,(wxSize const &)*arg3,arg4);
d14a1e28
RD
11183
11184 wxPyEndAllowThreads(__tstate);
11185 if (PyErr_Occurred()) SWIG_fail;
11186 }
11187 Py_INCREF(Py_None); resultobj = Py_None;
11188 return resultobj;
11189 fail:
11190 return NULL;
11191}
11192
11193
03e37cd5 11194static PyObject *_wrap_DC_DrawCircle(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11195 PyObject *resultobj;
11196 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
11197 int arg2 ;
11198 int arg3 ;
11199 int arg4 ;
d14a1e28 11200 PyObject * obj0 = 0 ;
994141e6
RD
11201 PyObject * obj1 = 0 ;
11202 PyObject * obj2 = 0 ;
11203 PyObject * obj3 = 0 ;
d14a1e28
RD
11204 char *kwnames[] = {
11205 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11206 };
11207
03e37cd5 11208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawCircle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11211 arg2 = (int) SWIG_AsInt(obj1);
11212 if (PyErr_Occurred()) SWIG_fail;
11213 arg3 = (int) SWIG_AsInt(obj2);
11214 if (PyErr_Occurred()) SWIG_fail;
11215 arg4 = (int) SWIG_AsInt(obj3);
11216 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11217 {
11218 PyThreadState* __tstate = wxPyBeginAllowThreads();
11219 (arg1)->DrawCircle(arg2,arg3,arg4);
11220
11221 wxPyEndAllowThreads(__tstate);
11222 if (PyErr_Occurred()) SWIG_fail;
11223 }
11224 Py_INCREF(Py_None); resultobj = Py_None;
11225 return resultobj;
11226 fail:
11227 return NULL;
11228}
11229
11230
03e37cd5 11231static PyObject *_wrap_DC_DrawCirclePoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11232 PyObject *resultobj;
11233 wxDC *arg1 = (wxDC *) 0 ;
11234 wxPoint *arg2 = 0 ;
e811c8ce 11235 int arg3 ;
d14a1e28
RD
11236 wxPoint temp2 ;
11237 PyObject * obj0 = 0 ;
11238 PyObject * obj1 = 0 ;
994141e6 11239 PyObject * obj2 = 0 ;
d14a1e28
RD
11240 char *kwnames[] = {
11241 (char *) "self",(char *) "pt",(char *) "radius", NULL
11242 };
11243
03e37cd5 11244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawCirclePoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11247 {
11248 arg2 = &temp2;
11249 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11250 }
15afbcd0
RD
11251 arg3 = (int) SWIG_AsInt(obj2);
11252 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11253 {
11254 PyThreadState* __tstate = wxPyBeginAllowThreads();
11255 (arg1)->DrawCircle((wxPoint const &)*arg2,arg3);
11256
11257 wxPyEndAllowThreads(__tstate);
11258 if (PyErr_Occurred()) SWIG_fail;
11259 }
11260 Py_INCREF(Py_None); resultobj = Py_None;
11261 return resultobj;
11262 fail:
11263 return NULL;
11264}
11265
11266
03e37cd5 11267static PyObject *_wrap_DC_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11268 PyObject *resultobj;
11269 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
11270 int arg2 ;
11271 int arg3 ;
11272 int arg4 ;
11273 int arg5 ;
d14a1e28 11274 PyObject * obj0 = 0 ;
994141e6
RD
11275 PyObject * obj1 = 0 ;
11276 PyObject * obj2 = 0 ;
11277 PyObject * obj3 = 0 ;
11278 PyObject * obj4 = 0 ;
d14a1e28
RD
11279 char *kwnames[] = {
11280 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11281 };
11282
03e37cd5 11283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawEllipse",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
11284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11286 arg2 = (int) SWIG_AsInt(obj1);
11287 if (PyErr_Occurred()) SWIG_fail;
11288 arg3 = (int) SWIG_AsInt(obj2);
11289 if (PyErr_Occurred()) SWIG_fail;
11290 arg4 = (int) SWIG_AsInt(obj3);
11291 if (PyErr_Occurred()) SWIG_fail;
11292 arg5 = (int) SWIG_AsInt(obj4);
11293 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11294 {
11295 PyThreadState* __tstate = wxPyBeginAllowThreads();
11296 (arg1)->DrawEllipse(arg2,arg3,arg4,arg5);
11297
11298 wxPyEndAllowThreads(__tstate);
11299 if (PyErr_Occurred()) SWIG_fail;
11300 }
11301 Py_INCREF(Py_None); resultobj = Py_None;
11302 return resultobj;
11303 fail:
11304 return NULL;
11305}
11306
11307
03e37cd5 11308static PyObject *_wrap_DC_DrawEllipseRect(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11309 PyObject *resultobj;
11310 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
11311 wxRect *arg2 = 0 ;
11312 wxRect temp2 ;
d14a1e28
RD
11313 PyObject * obj0 = 0 ;
11314 PyObject * obj1 = 0 ;
d14a1e28 11315 char *kwnames[] = {
03e37cd5 11316 (char *) "self",(char *) "rect", NULL
d14a1e28
RD
11317 };
11318
03e37cd5 11319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawEllipseRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11322 {
11323 arg2 = &temp2;
03e37cd5 11324 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
11325 }
11326 {
11327 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11328 (arg1)->DrawEllipse((wxRect const &)*arg2);
d14a1e28
RD
11329
11330 wxPyEndAllowThreads(__tstate);
11331 if (PyErr_Occurred()) SWIG_fail;
11332 }
11333 Py_INCREF(Py_None); resultobj = Py_None;
11334 return resultobj;
11335 fail:
11336 return NULL;
11337}
11338
11339
03e37cd5 11340static PyObject *_wrap_DC_DrawEllipsePointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11341 PyObject *resultobj;
11342 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
11343 wxPoint *arg2 = 0 ;
11344 wxSize *arg3 = 0 ;
11345 wxPoint temp2 ;
11346 wxSize temp3 ;
d14a1e28
RD
11347 PyObject * obj0 = 0 ;
11348 PyObject * obj1 = 0 ;
03e37cd5 11349 PyObject * obj2 = 0 ;
d14a1e28 11350 char *kwnames[] = {
03e37cd5 11351 (char *) "self",(char *) "pt",(char *) "sz", NULL
d14a1e28
RD
11352 };
11353
03e37cd5 11354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawEllipsePointSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11357 {
11358 arg2 = &temp2;
03e37cd5
RD
11359 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11360 }
11361 {
11362 arg3 = &temp3;
11363 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
d14a1e28
RD
11364 }
11365 {
11366 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11367 (arg1)->DrawEllipse((wxPoint const &)*arg2,(wxSize const &)*arg3);
d14a1e28
RD
11368
11369 wxPyEndAllowThreads(__tstate);
11370 if (PyErr_Occurred()) SWIG_fail;
11371 }
11372 Py_INCREF(Py_None); resultobj = Py_None;
11373 return resultobj;
11374 fail:
11375 return NULL;
11376}
11377
11378
03e37cd5 11379static PyObject *_wrap_DC_DrawIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11380 PyObject *resultobj;
11381 wxDC *arg1 = (wxDC *) 0 ;
11382 wxIcon *arg2 = 0 ;
e811c8ce
RD
11383 int arg3 ;
11384 int arg4 ;
d14a1e28
RD
11385 PyObject * obj0 = 0 ;
11386 PyObject * obj1 = 0 ;
994141e6
RD
11387 PyObject * obj2 = 0 ;
11388 PyObject * obj3 = 0 ;
d14a1e28
RD
11389 char *kwnames[] = {
11390 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11391 };
11392
03e37cd5 11393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawIcon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11396 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11397 SWIG_POINTER_EXCEPTION | 0)) == -1)
11398 SWIG_fail;
d14a1e28 11399 if (arg2 == NULL) {
15afbcd0
RD
11400 PyErr_SetString(PyExc_TypeError,"null reference");
11401 SWIG_fail;
994141e6 11402 }
15afbcd0
RD
11403 arg3 = (int) SWIG_AsInt(obj2);
11404 if (PyErr_Occurred()) SWIG_fail;
11405 arg4 = (int) SWIG_AsInt(obj3);
11406 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11407 {
11408 PyThreadState* __tstate = wxPyBeginAllowThreads();
11409 (arg1)->DrawIcon((wxIcon const &)*arg2,arg3,arg4);
11410
11411 wxPyEndAllowThreads(__tstate);
11412 if (PyErr_Occurred()) SWIG_fail;
11413 }
11414 Py_INCREF(Py_None); resultobj = Py_None;
11415 return resultobj;
11416 fail:
11417 return NULL;
11418}
11419
11420
03e37cd5 11421static PyObject *_wrap_DC_DrawIconPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11422 PyObject *resultobj;
11423 wxDC *arg1 = (wxDC *) 0 ;
11424 wxIcon *arg2 = 0 ;
11425 wxPoint *arg3 = 0 ;
11426 wxPoint temp3 ;
11427 PyObject * obj0 = 0 ;
11428 PyObject * obj1 = 0 ;
11429 PyObject * obj2 = 0 ;
11430 char *kwnames[] = {
11431 (char *) "self",(char *) "icon",(char *) "pt", NULL
11432 };
11433
03e37cd5 11434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawIconPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11437 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11438 SWIG_POINTER_EXCEPTION | 0)) == -1)
11439 SWIG_fail;
d14a1e28 11440 if (arg2 == NULL) {
15afbcd0
RD
11441 PyErr_SetString(PyExc_TypeError,"null reference");
11442 SWIG_fail;
d14a1e28
RD
11443 }
11444 {
11445 arg3 = &temp3;
11446 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11447 }
11448 {
11449 PyThreadState* __tstate = wxPyBeginAllowThreads();
11450 (arg1)->DrawIcon((wxIcon const &)*arg2,(wxPoint const &)*arg3);
11451
11452 wxPyEndAllowThreads(__tstate);
11453 if (PyErr_Occurred()) SWIG_fail;
11454 }
11455 Py_INCREF(Py_None); resultobj = Py_None;
11456 return resultobj;
11457 fail:
11458 return NULL;
11459}
11460
11461
03e37cd5 11462static PyObject *_wrap_DC_DrawBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11463 PyObject *resultobj;
11464 wxDC *arg1 = (wxDC *) 0 ;
11465 wxBitmap *arg2 = 0 ;
e811c8ce
RD
11466 int arg3 ;
11467 int arg4 ;
11468 bool arg5 = (bool) False ;
d14a1e28
RD
11469 PyObject * obj0 = 0 ;
11470 PyObject * obj1 = 0 ;
994141e6
RD
11471 PyObject * obj2 = 0 ;
11472 PyObject * obj3 = 0 ;
d14a1e28
RD
11473 PyObject * obj4 = 0 ;
11474 char *kwnames[] = {
11475 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11476 };
11477
03e37cd5 11478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:DC_DrawBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
11479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11481 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
11482 SWIG_POINTER_EXCEPTION | 0)) == -1)
11483 SWIG_fail;
d14a1e28 11484 if (arg2 == NULL) {
15afbcd0
RD
11485 PyErr_SetString(PyExc_TypeError,"null reference");
11486 SWIG_fail;
994141e6 11487 }
15afbcd0
RD
11488 arg3 = (int) SWIG_AsInt(obj2);
11489 if (PyErr_Occurred()) SWIG_fail;
11490 arg4 = (int) SWIG_AsInt(obj3);
11491 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11492 if (obj4) {
15afbcd0
RD
11493 arg5 = (bool) SWIG_AsBool(obj4);
11494 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11495 }
11496 {
11497 PyThreadState* __tstate = wxPyBeginAllowThreads();
11498 (arg1)->DrawBitmap((wxBitmap const &)*arg2,arg3,arg4,arg5);
11499
11500 wxPyEndAllowThreads(__tstate);
11501 if (PyErr_Occurred()) SWIG_fail;
11502 }
11503 Py_INCREF(Py_None); resultobj = Py_None;
11504 return resultobj;
11505 fail:
11506 return NULL;
11507}
11508
11509
03e37cd5 11510static PyObject *_wrap_DC_DrawBitmapPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11511 PyObject *resultobj;
11512 wxDC *arg1 = (wxDC *) 0 ;
11513 wxBitmap *arg2 = 0 ;
11514 wxPoint *arg3 = 0 ;
e811c8ce 11515 bool arg4 = (bool) False ;
d14a1e28
RD
11516 wxPoint temp3 ;
11517 PyObject * obj0 = 0 ;
11518 PyObject * obj1 = 0 ;
11519 PyObject * obj2 = 0 ;
11520 PyObject * obj3 = 0 ;
11521 char *kwnames[] = {
11522 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11523 };
11524
03e37cd5 11525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11528 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
11529 SWIG_POINTER_EXCEPTION | 0)) == -1)
11530 SWIG_fail;
d14a1e28 11531 if (arg2 == NULL) {
15afbcd0
RD
11532 PyErr_SetString(PyExc_TypeError,"null reference");
11533 SWIG_fail;
d14a1e28
RD
11534 }
11535 {
11536 arg3 = &temp3;
11537 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11538 }
11539 if (obj3) {
15afbcd0
RD
11540 arg4 = (bool) SWIG_AsBool(obj3);
11541 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11542 }
11543 {
11544 PyThreadState* __tstate = wxPyBeginAllowThreads();
11545 (arg1)->DrawBitmap((wxBitmap const &)*arg2,(wxPoint const &)*arg3,arg4);
11546
11547 wxPyEndAllowThreads(__tstate);
11548 if (PyErr_Occurred()) SWIG_fail;
11549 }
11550 Py_INCREF(Py_None); resultobj = Py_None;
11551 return resultobj;
11552 fail:
11553 return NULL;
11554}
11555
11556
03e37cd5 11557static PyObject *_wrap_DC_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11558 PyObject *resultobj;
11559 wxDC *arg1 = (wxDC *) 0 ;
11560 wxString *arg2 = 0 ;
e811c8ce
RD
11561 int arg3 ;
11562 int arg4 ;
11563 bool temp2 = False ;
d14a1e28
RD
11564 PyObject * obj0 = 0 ;
11565 PyObject * obj1 = 0 ;
994141e6
RD
11566 PyObject * obj2 = 0 ;
11567 PyObject * obj3 = 0 ;
d14a1e28
RD
11568 char *kwnames[] = {
11569 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11570 };
11571
03e37cd5 11572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11575 {
11576 arg2 = wxString_in_helper(obj1);
11577 if (arg2 == NULL) SWIG_fail;
e811c8ce 11578 temp2 = True;
d14a1e28 11579 }
15afbcd0
RD
11580 arg3 = (int) SWIG_AsInt(obj2);
11581 if (PyErr_Occurred()) SWIG_fail;
11582 arg4 = (int) SWIG_AsInt(obj3);
11583 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11584 {
11585 PyThreadState* __tstate = wxPyBeginAllowThreads();
11586 (arg1)->DrawText((wxString const &)*arg2,arg3,arg4);
11587
11588 wxPyEndAllowThreads(__tstate);
11589 if (PyErr_Occurred()) SWIG_fail;
11590 }
11591 Py_INCREF(Py_None); resultobj = Py_None;
11592 {
11593 if (temp2)
11594 delete arg2;
11595 }
11596 return resultobj;
11597 fail:
11598 {
11599 if (temp2)
11600 delete arg2;
11601 }
11602 return NULL;
11603}
11604
11605
03e37cd5 11606static PyObject *_wrap_DC_DrawTextPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11607 PyObject *resultobj;
11608 wxDC *arg1 = (wxDC *) 0 ;
11609 wxString *arg2 = 0 ;
11610 wxPoint *arg3 = 0 ;
e811c8ce 11611 bool temp2 = False ;
d14a1e28
RD
11612 wxPoint temp3 ;
11613 PyObject * obj0 = 0 ;
11614 PyObject * obj1 = 0 ;
11615 PyObject * obj2 = 0 ;
11616 char *kwnames[] = {
11617 (char *) "self",(char *) "text",(char *) "pt", NULL
11618 };
11619
03e37cd5 11620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_DrawTextPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11623 {
11624 arg2 = wxString_in_helper(obj1);
11625 if (arg2 == NULL) SWIG_fail;
e811c8ce 11626 temp2 = True;
d14a1e28
RD
11627 }
11628 {
11629 arg3 = &temp3;
11630 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11631 }
11632 {
11633 PyThreadState* __tstate = wxPyBeginAllowThreads();
11634 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
11635
11636 wxPyEndAllowThreads(__tstate);
11637 if (PyErr_Occurred()) SWIG_fail;
11638 }
11639 Py_INCREF(Py_None); resultobj = Py_None;
11640 {
11641 if (temp2)
11642 delete arg2;
11643 }
11644 return resultobj;
11645 fail:
11646 {
11647 if (temp2)
11648 delete arg2;
11649 }
11650 return NULL;
11651}
11652
11653
03e37cd5 11654static PyObject *_wrap_DC_DrawRotatedText(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11655 PyObject *resultobj;
11656 wxDC *arg1 = (wxDC *) 0 ;
11657 wxString *arg2 = 0 ;
e811c8ce
RD
11658 int arg3 ;
11659 int arg4 ;
d14a1e28 11660 double arg5 ;
e811c8ce 11661 bool temp2 = False ;
d14a1e28
RD
11662 PyObject * obj0 = 0 ;
11663 PyObject * obj1 = 0 ;
994141e6
RD
11664 PyObject * obj2 = 0 ;
11665 PyObject * obj3 = 0 ;
11666 PyObject * obj4 = 0 ;
d14a1e28
RD
11667 char *kwnames[] = {
11668 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11669 };
11670
03e37cd5 11671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_DrawRotatedText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
11672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11674 {
11675 arg2 = wxString_in_helper(obj1);
11676 if (arg2 == NULL) SWIG_fail;
e811c8ce 11677 temp2 = True;
d14a1e28 11678 }
15afbcd0
RD
11679 arg3 = (int) SWIG_AsInt(obj2);
11680 if (PyErr_Occurred()) SWIG_fail;
11681 arg4 = (int) SWIG_AsInt(obj3);
11682 if (PyErr_Occurred()) SWIG_fail;
11683 arg5 = (double) SWIG_AsDouble(obj4);
11684 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11685 {
11686 PyThreadState* __tstate = wxPyBeginAllowThreads();
11687 (arg1)->DrawRotatedText((wxString const &)*arg2,arg3,arg4,arg5);
11688
11689 wxPyEndAllowThreads(__tstate);
11690 if (PyErr_Occurred()) SWIG_fail;
11691 }
11692 Py_INCREF(Py_None); resultobj = Py_None;
11693 {
11694 if (temp2)
11695 delete arg2;
11696 }
11697 return resultobj;
11698 fail:
11699 {
11700 if (temp2)
11701 delete arg2;
11702 }
11703 return NULL;
11704}
11705
11706
03e37cd5 11707static PyObject *_wrap_DC_DrawRotatedTextPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11708 PyObject *resultobj;
11709 wxDC *arg1 = (wxDC *) 0 ;
11710 wxString *arg2 = 0 ;
11711 wxPoint *arg3 = 0 ;
11712 double arg4 ;
e811c8ce 11713 bool temp2 = False ;
d14a1e28
RD
11714 wxPoint temp3 ;
11715 PyObject * obj0 = 0 ;
11716 PyObject * obj1 = 0 ;
11717 PyObject * obj2 = 0 ;
994141e6 11718 PyObject * obj3 = 0 ;
d14a1e28
RD
11719 char *kwnames[] = {
11720 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11721 };
11722
03e37cd5 11723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11726 {
11727 arg2 = wxString_in_helper(obj1);
11728 if (arg2 == NULL) SWIG_fail;
e811c8ce 11729 temp2 = True;
d14a1e28
RD
11730 }
11731 {
11732 arg3 = &temp3;
11733 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11734 }
15afbcd0
RD
11735 arg4 = (double) SWIG_AsDouble(obj3);
11736 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11737 {
11738 PyThreadState* __tstate = wxPyBeginAllowThreads();
11739 (arg1)->DrawRotatedText((wxString const &)*arg2,(wxPoint const &)*arg3,arg4);
11740
11741 wxPyEndAllowThreads(__tstate);
11742 if (PyErr_Occurred()) SWIG_fail;
11743 }
11744 Py_INCREF(Py_None); resultobj = Py_None;
11745 {
11746 if (temp2)
11747 delete arg2;
11748 }
11749 return resultobj;
11750 fail:
11751 {
11752 if (temp2)
11753 delete arg2;
11754 }
11755 return NULL;
11756}
11757
11758
03e37cd5 11759static PyObject *_wrap_DC_Blit(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11760 PyObject *resultobj;
11761 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
11762 int arg2 ;
11763 int arg3 ;
11764 int arg4 ;
11765 int arg5 ;
d14a1e28 11766 wxDC *arg6 = (wxDC *) 0 ;
e811c8ce
RD
11767 int arg7 ;
11768 int arg8 ;
d14a1e28 11769 int arg9 = (int) wxCOPY ;
e811c8ce
RD
11770 bool arg10 = (bool) False ;
11771 int arg11 = (int) -1 ;
11772 int arg12 = (int) -1 ;
d14a1e28
RD
11773 bool result;
11774 PyObject * obj0 = 0 ;
994141e6
RD
11775 PyObject * obj1 = 0 ;
11776 PyObject * obj2 = 0 ;
11777 PyObject * obj3 = 0 ;
11778 PyObject * obj4 = 0 ;
d14a1e28 11779 PyObject * obj5 = 0 ;
994141e6
RD
11780 PyObject * obj6 = 0 ;
11781 PyObject * obj7 = 0 ;
11782 PyObject * obj8 = 0 ;
d14a1e28 11783 PyObject * obj9 = 0 ;
994141e6
RD
11784 PyObject * obj10 = 0 ;
11785 PyObject * obj11 = 0 ;
d14a1e28
RD
11786 char *kwnames[] = {
11787 (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
11788 };
11789
03e37cd5 11790 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
11791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11793 arg2 = (int) SWIG_AsInt(obj1);
11794 if (PyErr_Occurred()) SWIG_fail;
11795 arg3 = (int) SWIG_AsInt(obj2);
11796 if (PyErr_Occurred()) SWIG_fail;
11797 arg4 = (int) SWIG_AsInt(obj3);
11798 if (PyErr_Occurred()) SWIG_fail;
11799 arg5 = (int) SWIG_AsInt(obj4);
11800 if (PyErr_Occurred()) SWIG_fail;
11801 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxDC,
11802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11803 arg7 = (int) SWIG_AsInt(obj6);
11804 if (PyErr_Occurred()) SWIG_fail;
11805 arg8 = (int) SWIG_AsInt(obj7);
11806 if (PyErr_Occurred()) SWIG_fail;
994141e6 11807 if (obj8) {
15afbcd0
RD
11808 arg9 = (int) SWIG_AsInt(obj8);
11809 if (PyErr_Occurred()) SWIG_fail;
994141e6 11810 }
d14a1e28 11811 if (obj9) {
15afbcd0
RD
11812 arg10 = (bool) SWIG_AsBool(obj9);
11813 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11814 }
11815 if (obj10) {
15afbcd0
RD
11816 arg11 = (int) SWIG_AsInt(obj10);
11817 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11818 }
11819 if (obj11) {
15afbcd0
RD
11820 arg12 = (int) SWIG_AsInt(obj11);
11821 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11822 }
11823 {
11824 PyThreadState* __tstate = wxPyBeginAllowThreads();
11825 result = (bool)(arg1)->Blit(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
11826
11827 wxPyEndAllowThreads(__tstate);
11828 if (PyErr_Occurred()) SWIG_fail;
11829 }
4f89f6a3
RD
11830 {
11831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11832 }
d14a1e28
RD
11833 return resultobj;
11834 fail:
11835 return NULL;
11836}
11837
11838
03e37cd5 11839static PyObject *_wrap_DC_BlitPointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11840 PyObject *resultobj;
11841 wxDC *arg1 = (wxDC *) 0 ;
11842 wxPoint *arg2 = 0 ;
11843 wxSize *arg3 = 0 ;
11844 wxDC *arg4 = (wxDC *) 0 ;
11845 wxPoint *arg5 = 0 ;
11846 int arg6 = (int) wxCOPY ;
e811c8ce 11847 bool arg7 = (bool) False ;
d14a1e28
RD
11848 wxPoint const &arg8_defvalue = wxDefaultPosition ;
11849 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
11850 bool result;
11851 wxPoint temp2 ;
11852 wxSize temp3 ;
11853 wxPoint temp5 ;
11854 wxPoint temp8 ;
11855 PyObject * obj0 = 0 ;
11856 PyObject * obj1 = 0 ;
11857 PyObject * obj2 = 0 ;
11858 PyObject * obj3 = 0 ;
11859 PyObject * obj4 = 0 ;
994141e6 11860 PyObject * obj5 = 0 ;
d14a1e28
RD
11861 PyObject * obj6 = 0 ;
11862 PyObject * obj7 = 0 ;
11863 char *kwnames[] = {
11864 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11865 };
11866
03e37cd5 11867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
11868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11870 {
11871 arg2 = &temp2;
11872 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11873 }
11874 {
11875 arg3 = &temp3;
11876 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
11877 }
15afbcd0
RD
11878 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDC,
11879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11880 {
11881 arg5 = &temp5;
11882 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11883 }
994141e6 11884 if (obj5) {
15afbcd0
RD
11885 arg6 = (int) SWIG_AsInt(obj5);
11886 if (PyErr_Occurred()) SWIG_fail;
994141e6 11887 }
d14a1e28 11888 if (obj6) {
15afbcd0
RD
11889 arg7 = (bool) SWIG_AsBool(obj6);
11890 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11891 }
11892 if (obj7) {
11893 {
11894 arg8 = &temp8;
11895 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
11896 }
11897 }
11898 {
11899 PyThreadState* __tstate = wxPyBeginAllowThreads();
11900 result = (bool)(arg1)->Blit((wxPoint const &)*arg2,(wxSize const &)*arg3,arg4,(wxPoint const &)*arg5,arg6,arg7,(wxPoint const &)*arg8);
11901
11902 wxPyEndAllowThreads(__tstate);
11903 if (PyErr_Occurred()) SWIG_fail;
11904 }
4f89f6a3
RD
11905 {
11906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11907 }
d14a1e28
RD
11908 return resultobj;
11909 fail:
11910 return NULL;
11911}
11912
11913
03e37cd5 11914static PyObject *_wrap_DC_SetClippingRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11915 PyObject *resultobj;
11916 wxDC *arg1 = (wxDC *) 0 ;
11917 int arg2 ;
03e37cd5
RD
11918 int arg3 ;
11919 int arg4 ;
11920 int arg5 ;
d14a1e28
RD
11921 PyObject * obj0 = 0 ;
11922 PyObject * obj1 = 0 ;
994141e6
RD
11923 PyObject * obj2 = 0 ;
11924 PyObject * obj3 = 0 ;
03e37cd5 11925 PyObject * obj4 = 0 ;
d14a1e28 11926 char *kwnames[] = {
03e37cd5 11927 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
d14a1e28
RD
11928 };
11929
03e37cd5 11930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC_SetClippingRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
11931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
03e37cd5
RD
11933 arg2 = (int) SWIG_AsInt(obj1);
11934 if (PyErr_Occurred()) SWIG_fail;
11935 arg3 = (int) SWIG_AsInt(obj2);
11936 if (PyErr_Occurred()) SWIG_fail;
11937 arg4 = (int) SWIG_AsInt(obj3);
11938 if (PyErr_Occurred()) SWIG_fail;
11939 arg5 = (int) SWIG_AsInt(obj4);
11940 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11941 {
11942 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11943 (arg1)->SetClippingRegion(arg2,arg3,arg4,arg5);
d14a1e28
RD
11944
11945 wxPyEndAllowThreads(__tstate);
11946 if (PyErr_Occurred()) SWIG_fail;
11947 }
11948 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
11949 return resultobj;
11950 fail:
d14a1e28
RD
11951 return NULL;
11952}
11953
11954
03e37cd5 11955static PyObject *_wrap_DC_SetClippingRegionPointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11956 PyObject *resultobj;
11957 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5
RD
11958 wxPoint *arg2 = 0 ;
11959 wxSize *arg3 = 0 ;
11960 wxPoint temp2 ;
11961 wxSize temp3 ;
d14a1e28
RD
11962 PyObject * obj0 = 0 ;
11963 PyObject * obj1 = 0 ;
994141e6 11964 PyObject * obj2 = 0 ;
d14a1e28 11965 char *kwnames[] = {
03e37cd5 11966 (char *) "self",(char *) "pt",(char *) "sz", NULL
d14a1e28
RD
11967 };
11968
03e37cd5 11969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
11971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11972 {
03e37cd5
RD
11973 arg2 = &temp2;
11974 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
994141e6 11975 }
03e37cd5
RD
11976 {
11977 arg3 = &temp3;
11978 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
994141e6 11979 }
d14a1e28
RD
11980 {
11981 PyThreadState* __tstate = wxPyBeginAllowThreads();
03e37cd5 11982 (arg1)->SetClippingRegion((wxPoint const &)*arg2,(wxSize const &)*arg3);
d14a1e28
RD
11983
11984 wxPyEndAllowThreads(__tstate);
11985 if (PyErr_Occurred()) SWIG_fail;
11986 }
11987 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
11988 return resultobj;
11989 fail:
d14a1e28
RD
11990 return NULL;
11991}
11992
11993
03e37cd5 11994static PyObject *_wrap_DC_SetClippingRegionAsRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11995 PyObject *resultobj;
11996 wxDC *arg1 = (wxDC *) 0 ;
03e37cd5 11997 wxRegion *arg2 = 0 ;
d14a1e28
RD
11998 PyObject * obj0 = 0 ;
11999 PyObject * obj1 = 0 ;
d14a1e28 12000 char *kwnames[] = {
03e37cd5 12001 (char *) "self",(char *) "region", NULL
d14a1e28
RD
12002 };
12003
03e37cd5
RD
12004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames,&obj0,&obj1)) goto fail;
12005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12007 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
12008 SWIG_POINTER_EXCEPTION | 0)) == -1)
12009 SWIG_fail;
12010 if (arg2 == NULL) {
12011 PyErr_SetString(PyExc_TypeError,"null reference");
12012 SWIG_fail;
12013 }
12014 {
12015 PyThreadState* __tstate = wxPyBeginAllowThreads();
12016 (arg1)->SetClippingRegion((wxRegion const &)*arg2);
12017
12018 wxPyEndAllowThreads(__tstate);
12019 if (PyErr_Occurred()) SWIG_fail;
12020 }
12021 Py_INCREF(Py_None); resultobj = Py_None;
12022 return resultobj;
12023 fail:
12024 return NULL;
12025}
12026
12027
12028static PyObject *_wrap_DC_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
12029 PyObject *resultobj;
12030 wxDC *arg1 = (wxDC *) 0 ;
12031 wxRect *arg2 = 0 ;
12032 wxRect temp2 ;
12033 PyObject * obj0 = 0 ;
12034 PyObject * obj1 = 0 ;
12035 char *kwnames[] = {
12036 (char *) "self",(char *) "rect", NULL
12037 };
12038
12039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
12040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12042 {
12043 arg2 = &temp2;
12044 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12045 }
12046 {
12047 PyThreadState* __tstate = wxPyBeginAllowThreads();
12048 (arg1)->SetClippingRegion((wxRect const &)*arg2);
12049
12050 wxPyEndAllowThreads(__tstate);
12051 if (PyErr_Occurred()) SWIG_fail;
12052 }
12053 Py_INCREF(Py_None); resultobj = Py_None;
12054 return resultobj;
12055 fail:
12056 return NULL;
12057}
12058
12059
12060static PyObject *_wrap_DC_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
12061 PyObject *resultobj;
12062 wxDC *arg1 = (wxDC *) 0 ;
12063 int arg2 ;
12064 wxPoint *arg3 = (wxPoint *) 0 ;
12065 int arg4 = (int) 0 ;
12066 int arg5 = (int) 0 ;
12067 PyObject * obj0 = 0 ;
12068 PyObject * obj1 = 0 ;
12069 PyObject * obj2 = 0 ;
12070 PyObject * obj3 = 0 ;
12071 char *kwnames[] = {
12072 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12073 };
12074
12075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DC_DrawLines",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12078 {
12079 arg3 = wxPoint_LIST_helper(obj1, &arg2);
12080 if (arg3 == NULL) SWIG_fail;
12081 }
12082 if (obj2) {
12083 arg4 = (int) SWIG_AsInt(obj2);
12084 if (PyErr_Occurred()) SWIG_fail;
12085 }
12086 if (obj3) {
12087 arg5 = (int) SWIG_AsInt(obj3);
12088 if (PyErr_Occurred()) SWIG_fail;
12089 }
12090 {
12091 PyThreadState* __tstate = wxPyBeginAllowThreads();
12092 (arg1)->DrawLines(arg2,arg3,arg4,arg5);
12093
12094 wxPyEndAllowThreads(__tstate);
12095 if (PyErr_Occurred()) SWIG_fail;
12096 }
12097 Py_INCREF(Py_None); resultobj = Py_None;
12098 {
12099 if (arg3) delete [] arg3;
12100 }
12101 return resultobj;
12102 fail:
12103 {
12104 if (arg3) delete [] arg3;
12105 }
12106 return NULL;
12107}
12108
12109
12110static PyObject *_wrap_DC_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
12111 PyObject *resultobj;
12112 wxDC *arg1 = (wxDC *) 0 ;
12113 int arg2 ;
12114 wxPoint *arg3 = (wxPoint *) 0 ;
12115 int arg4 = (int) 0 ;
12116 int arg5 = (int) 0 ;
12117 int arg6 = (int) wxODDEVEN_RULE ;
12118 PyObject * obj0 = 0 ;
12119 PyObject * obj1 = 0 ;
12120 PyObject * obj2 = 0 ;
12121 PyObject * obj3 = 0 ;
12122 PyObject * obj4 = 0 ;
12123 char *kwnames[] = {
12124 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12125 };
12126
12127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DC_DrawPolygon",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12130 {
12131 arg3 = wxPoint_LIST_helper(obj1, &arg2);
12132 if (arg3 == NULL) SWIG_fail;
12133 }
12134 if (obj2) {
12135 arg4 = (int) SWIG_AsInt(obj2);
12136 if (PyErr_Occurred()) SWIG_fail;
12137 }
12138 if (obj3) {
12139 arg5 = (int) SWIG_AsInt(obj3);
12140 if (PyErr_Occurred()) SWIG_fail;
12141 }
12142 if (obj4) {
12143 arg6 = (int) SWIG_AsInt(obj4);
12144 if (PyErr_Occurred()) SWIG_fail;
12145 }
12146 {
12147 PyThreadState* __tstate = wxPyBeginAllowThreads();
12148 (arg1)->DrawPolygon(arg2,arg3,arg4,arg5,arg6);
12149
12150 wxPyEndAllowThreads(__tstate);
12151 if (PyErr_Occurred()) SWIG_fail;
12152 }
12153 Py_INCREF(Py_None); resultobj = Py_None;
12154 {
12155 if (arg3) delete [] arg3;
12156 }
12157 return resultobj;
12158 fail:
12159 {
12160 if (arg3) delete [] arg3;
12161 }
12162 return NULL;
12163}
12164
12165
12166static PyObject *_wrap_DC_DrawLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
12167 PyObject *resultobj;
12168 wxDC *arg1 = (wxDC *) 0 ;
12169 wxString *arg2 = 0 ;
12170 wxRect *arg3 = 0 ;
12171 int arg4 = (int) wxALIGN_LEFT|wxALIGN_TOP ;
12172 int arg5 = (int) -1 ;
12173 bool temp2 = False ;
12174 wxRect temp3 ;
12175 PyObject * obj0 = 0 ;
12176 PyObject * obj1 = 0 ;
12177 PyObject * obj2 = 0 ;
12178 PyObject * obj3 = 0 ;
12179 PyObject * obj4 = 0 ;
12180 char *kwnames[] = {
12181 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12182 };
12183
12184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DC_DrawLabel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
12185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12187 {
12188 arg2 = wxString_in_helper(obj1);
12189 if (arg2 == NULL) SWIG_fail;
e811c8ce 12190 temp2 = True;
d14a1e28
RD
12191 }
12192 {
12193 arg3 = &temp3;
12194 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
12195 }
994141e6 12196 if (obj3) {
15afbcd0
RD
12197 arg4 = (int) SWIG_AsInt(obj3);
12198 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12199 }
12200 if (obj4) {
15afbcd0
RD
12201 arg5 = (int) SWIG_AsInt(obj4);
12202 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12203 }
12204 {
12205 PyThreadState* __tstate = wxPyBeginAllowThreads();
12206 (arg1)->DrawLabel((wxString const &)*arg2,(wxRect const &)*arg3,arg4,arg5);
d14a1e28
RD
12207
12208 wxPyEndAllowThreads(__tstate);
12209 if (PyErr_Occurred()) SWIG_fail;
12210 }
12211 Py_INCREF(Py_None); resultobj = Py_None;
12212 {
12213 if (temp2)
12214 delete arg2;
12215 }
12216 return resultobj;
12217 fail:
12218 {
12219 if (temp2)
12220 delete arg2;
12221 }
12222 return NULL;
12223}
12224
12225
12226static PyObject *_wrap_DC_DrawImageLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
12227 PyObject *resultobj;
12228 wxDC *arg1 = (wxDC *) 0 ;
12229 wxString *arg2 = 0 ;
12230 wxBitmap *arg3 = 0 ;
12231 wxRect *arg4 = 0 ;
12232 int arg5 = (int) wxALIGN_LEFT|wxALIGN_TOP ;
12233 int arg6 = (int) -1 ;
12234 wxRect result;
e811c8ce 12235 bool temp2 = False ;
d14a1e28
RD
12236 wxRect temp4 ;
12237 PyObject * obj0 = 0 ;
12238 PyObject * obj1 = 0 ;
12239 PyObject * obj2 = 0 ;
12240 PyObject * obj3 = 0 ;
994141e6
RD
12241 PyObject * obj4 = 0 ;
12242 PyObject * obj5 = 0 ;
d14a1e28
RD
12243 char *kwnames[] = {
12244 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12245 };
12246
994141e6 12247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
12248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12250 {
12251 arg2 = wxString_in_helper(obj1);
12252 if (arg2 == NULL) SWIG_fail;
e811c8ce 12253 temp2 = True;
d14a1e28 12254 }
15afbcd0
RD
12255 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
12256 SWIG_POINTER_EXCEPTION | 0)) == -1)
12257 SWIG_fail;
d14a1e28 12258 if (arg3 == NULL) {
15afbcd0
RD
12259 PyErr_SetString(PyExc_TypeError,"null reference");
12260 SWIG_fail;
d14a1e28
RD
12261 }
12262 {
12263 arg4 = &temp4;
12264 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
12265 }
994141e6 12266 if (obj4) {
15afbcd0
RD
12267 arg5 = (int) SWIG_AsInt(obj4);
12268 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12269 }
12270 if (obj5) {
15afbcd0
RD
12271 arg6 = (int) SWIG_AsInt(obj5);
12272 if (PyErr_Occurred()) SWIG_fail;
994141e6 12273 }
d14a1e28
RD
12274 {
12275 PyThreadState* __tstate = wxPyBeginAllowThreads();
12276 result = wxDC_DrawImageLabel(arg1,(wxString const &)*arg2,(wxBitmap const &)*arg3,(wxRect const &)*arg4,arg5,arg6);
12277
12278 wxPyEndAllowThreads(__tstate);
12279 if (PyErr_Occurred()) SWIG_fail;
12280 }
12281 {
12282 wxRect * resultptr;
12283 resultptr = new wxRect((wxRect &) result);
15afbcd0 12284 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
12285 }
12286 {
12287 if (temp2)
12288 delete arg2;
12289 }
12290 return resultobj;
12291 fail:
12292 {
12293 if (temp2)
12294 delete arg2;
12295 }
12296 return NULL;
12297}
12298
12299
12300static PyObject *_wrap_DC_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
12301 PyObject *resultobj;
12302 wxDC *arg1 = (wxDC *) 0 ;
12303 int arg2 ;
12304 wxPoint *arg3 = (wxPoint *) 0 ;
12305 PyObject * obj0 = 0 ;
12306 PyObject * obj1 = 0 ;
12307 char *kwnames[] = {
12308 (char *) "self",(char *) "points", NULL
12309 };
12310
12311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DrawSpline",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12314 {
12315 arg3 = wxPoint_LIST_helper(obj1, &arg2);
12316 if (arg3 == NULL) SWIG_fail;
12317 }
12318 {
12319 PyThreadState* __tstate = wxPyBeginAllowThreads();
12320 (arg1)->DrawSpline(arg2,arg3);
12321
12322 wxPyEndAllowThreads(__tstate);
12323 if (PyErr_Occurred()) SWIG_fail;
12324 }
12325 Py_INCREF(Py_None); resultobj = Py_None;
12326 {
12327 if (arg3) delete [] arg3;
12328 }
12329 return resultobj;
12330 fail:
12331 {
12332 if (arg3) delete [] arg3;
12333 }
12334 return NULL;
12335}
12336
12337
12338static PyObject *_wrap_DC_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
12339 PyObject *resultobj;
12340 wxDC *arg1 = (wxDC *) 0 ;
12341 PyObject * obj0 = 0 ;
12342 char *kwnames[] = {
12343 (char *) "self", NULL
12344 };
12345
12346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
12347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12349 {
12350 PyThreadState* __tstate = wxPyBeginAllowThreads();
12351 (arg1)->Clear();
12352
12353 wxPyEndAllowThreads(__tstate);
12354 if (PyErr_Occurred()) SWIG_fail;
12355 }
12356 Py_INCREF(Py_None); resultobj = Py_None;
12357 return resultobj;
12358 fail:
12359 return NULL;
12360}
12361
12362
12363static PyObject *_wrap_DC_StartDoc(PyObject *self, PyObject *args, PyObject *kwargs) {
12364 PyObject *resultobj;
12365 wxDC *arg1 = (wxDC *) 0 ;
12366 wxString *arg2 = 0 ;
12367 bool result;
e811c8ce 12368 bool temp2 = False ;
d14a1e28
RD
12369 PyObject * obj0 = 0 ;
12370 PyObject * obj1 = 0 ;
12371 char *kwnames[] = {
12372 (char *) "self",(char *) "message", NULL
12373 };
12374
12375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_StartDoc",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12378 {
12379 arg2 = wxString_in_helper(obj1);
12380 if (arg2 == NULL) SWIG_fail;
e811c8ce 12381 temp2 = True;
d14a1e28
RD
12382 }
12383 {
12384 PyThreadState* __tstate = wxPyBeginAllowThreads();
12385 result = (bool)(arg1)->StartDoc((wxString const &)*arg2);
12386
12387 wxPyEndAllowThreads(__tstate);
12388 if (PyErr_Occurred()) SWIG_fail;
12389 }
4f89f6a3
RD
12390 {
12391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12392 }
d14a1e28
RD
12393 {
12394 if (temp2)
12395 delete arg2;
12396 }
12397 return resultobj;
12398 fail:
12399 {
12400 if (temp2)
12401 delete arg2;
12402 }
12403 return NULL;
12404}
12405
12406
12407static PyObject *_wrap_DC_EndDoc(PyObject *self, PyObject *args, PyObject *kwargs) {
12408 PyObject *resultobj;
12409 wxDC *arg1 = (wxDC *) 0 ;
12410 PyObject * obj0 = 0 ;
12411 char *kwnames[] = {
12412 (char *) "self", NULL
12413 };
12414
12415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_EndDoc",kwnames,&obj0)) goto fail;
15afbcd0
RD
12416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12418 {
12419 PyThreadState* __tstate = wxPyBeginAllowThreads();
12420 (arg1)->EndDoc();
12421
12422 wxPyEndAllowThreads(__tstate);
12423 if (PyErr_Occurred()) SWIG_fail;
12424 }
12425 Py_INCREF(Py_None); resultobj = Py_None;
12426 return resultobj;
12427 fail:
12428 return NULL;
12429}
12430
12431
12432static PyObject *_wrap_DC_StartPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12433 PyObject *resultobj;
12434 wxDC *arg1 = (wxDC *) 0 ;
12435 PyObject * obj0 = 0 ;
12436 char *kwnames[] = {
12437 (char *) "self", NULL
12438 };
12439
12440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_StartPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
12441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12443 {
12444 PyThreadState* __tstate = wxPyBeginAllowThreads();
12445 (arg1)->StartPage();
12446
12447 wxPyEndAllowThreads(__tstate);
12448 if (PyErr_Occurred()) SWIG_fail;
12449 }
12450 Py_INCREF(Py_None); resultobj = Py_None;
12451 return resultobj;
12452 fail:
12453 return NULL;
12454}
12455
12456
12457static PyObject *_wrap_DC_EndPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12458 PyObject *resultobj;
12459 wxDC *arg1 = (wxDC *) 0 ;
12460 PyObject * obj0 = 0 ;
12461 char *kwnames[] = {
12462 (char *) "self", NULL
12463 };
12464
12465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_EndPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
12466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12468 {
12469 PyThreadState* __tstate = wxPyBeginAllowThreads();
12470 (arg1)->EndPage();
12471
12472 wxPyEndAllowThreads(__tstate);
12473 if (PyErr_Occurred()) SWIG_fail;
12474 }
12475 Py_INCREF(Py_None); resultobj = Py_None;
12476 return resultobj;
12477 fail:
12478 return NULL;
12479}
12480
12481
12482static PyObject *_wrap_DC_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12483 PyObject *resultobj;
12484 wxDC *arg1 = (wxDC *) 0 ;
12485 wxFont *arg2 = 0 ;
12486 PyObject * obj0 = 0 ;
12487 PyObject * obj1 = 0 ;
12488 char *kwnames[] = {
12489 (char *) "self",(char *) "font", NULL
12490 };
12491
12492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12495 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12496 SWIG_POINTER_EXCEPTION | 0)) == -1)
12497 SWIG_fail;
d14a1e28 12498 if (arg2 == NULL) {
15afbcd0
RD
12499 PyErr_SetString(PyExc_TypeError,"null reference");
12500 SWIG_fail;
d14a1e28
RD
12501 }
12502 {
12503 PyThreadState* __tstate = wxPyBeginAllowThreads();
12504 (arg1)->SetFont((wxFont const &)*arg2);
12505
12506 wxPyEndAllowThreads(__tstate);
12507 if (PyErr_Occurred()) SWIG_fail;
12508 }
12509 Py_INCREF(Py_None); resultobj = Py_None;
12510 return resultobj;
12511 fail:
12512 return NULL;
12513}
12514
12515
12516static PyObject *_wrap_DC_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
12517 PyObject *resultobj;
12518 wxDC *arg1 = (wxDC *) 0 ;
12519 wxPen *arg2 = 0 ;
12520 PyObject * obj0 = 0 ;
12521 PyObject * obj1 = 0 ;
12522 char *kwnames[] = {
12523 (char *) "self",(char *) "pen", NULL
12524 };
12525
12526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetPen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPen,
12530 SWIG_POINTER_EXCEPTION | 0)) == -1)
12531 SWIG_fail;
d14a1e28 12532 if (arg2 == NULL) {
15afbcd0
RD
12533 PyErr_SetString(PyExc_TypeError,"null reference");
12534 SWIG_fail;
d14a1e28
RD
12535 }
12536 {
12537 PyThreadState* __tstate = wxPyBeginAllowThreads();
12538 (arg1)->SetPen((wxPen const &)*arg2);
12539
12540 wxPyEndAllowThreads(__tstate);
12541 if (PyErr_Occurred()) SWIG_fail;
12542 }
12543 Py_INCREF(Py_None); resultobj = Py_None;
12544 return resultobj;
12545 fail:
12546 return NULL;
12547}
12548
12549
12550static PyObject *_wrap_DC_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
12551 PyObject *resultobj;
12552 wxDC *arg1 = (wxDC *) 0 ;
12553 wxBrush *arg2 = 0 ;
12554 PyObject * obj0 = 0 ;
12555 PyObject * obj1 = 0 ;
12556 char *kwnames[] = {
12557 (char *) "self",(char *) "brush", NULL
12558 };
12559
12560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetBrush",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12563 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBrush,
12564 SWIG_POINTER_EXCEPTION | 0)) == -1)
12565 SWIG_fail;
d14a1e28 12566 if (arg2 == NULL) {
15afbcd0
RD
12567 PyErr_SetString(PyExc_TypeError,"null reference");
12568 SWIG_fail;
d14a1e28
RD
12569 }
12570 {
12571 PyThreadState* __tstate = wxPyBeginAllowThreads();
12572 (arg1)->SetBrush((wxBrush const &)*arg2);
12573
12574 wxPyEndAllowThreads(__tstate);
12575 if (PyErr_Occurred()) SWIG_fail;
12576 }
12577 Py_INCREF(Py_None); resultobj = Py_None;
12578 return resultobj;
12579 fail:
12580 return NULL;
12581}
12582
12583
12584static PyObject *_wrap_DC_SetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12585 PyObject *resultobj;
12586 wxDC *arg1 = (wxDC *) 0 ;
12587 wxBrush *arg2 = 0 ;
12588 PyObject * obj0 = 0 ;
12589 PyObject * obj1 = 0 ;
12590 char *kwnames[] = {
12591 (char *) "self",(char *) "brush", NULL
12592 };
12593
12594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetBackground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12597 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBrush,
12598 SWIG_POINTER_EXCEPTION | 0)) == -1)
12599 SWIG_fail;
d14a1e28 12600 if (arg2 == NULL) {
15afbcd0
RD
12601 PyErr_SetString(PyExc_TypeError,"null reference");
12602 SWIG_fail;
d14a1e28
RD
12603 }
12604 {
12605 PyThreadState* __tstate = wxPyBeginAllowThreads();
12606 (arg1)->SetBackground((wxBrush const &)*arg2);
12607
12608 wxPyEndAllowThreads(__tstate);
12609 if (PyErr_Occurred()) SWIG_fail;
12610 }
12611 Py_INCREF(Py_None); resultobj = Py_None;
12612 return resultobj;
12613 fail:
12614 return NULL;
12615}
12616
12617
12618static PyObject *_wrap_DC_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
12619 PyObject *resultobj;
12620 wxDC *arg1 = (wxDC *) 0 ;
12621 int arg2 ;
12622 PyObject * obj0 = 0 ;
994141e6 12623 PyObject * obj1 = 0 ;
d14a1e28
RD
12624 char *kwnames[] = {
12625 (char *) "self",(char *) "mode", NULL
12626 };
12627
994141e6 12628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12631 arg2 = (int) SWIG_AsInt(obj1);
12632 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12633 {
12634 PyThreadState* __tstate = wxPyBeginAllowThreads();
12635 (arg1)->SetBackgroundMode(arg2);
12636
12637 wxPyEndAllowThreads(__tstate);
12638 if (PyErr_Occurred()) SWIG_fail;
12639 }
12640 Py_INCREF(Py_None); resultobj = Py_None;
12641 return resultobj;
12642 fail:
12643 return NULL;
12644}
12645
12646
12647static PyObject *_wrap_DC_SetPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
12648 PyObject *resultobj;
12649 wxDC *arg1 = (wxDC *) 0 ;
12650 wxPalette *arg2 = 0 ;
12651 PyObject * obj0 = 0 ;
12652 PyObject * obj1 = 0 ;
12653 char *kwnames[] = {
12654 (char *) "self",(char *) "palette", NULL
12655 };
12656
12657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetPalette",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12660 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPalette,
12661 SWIG_POINTER_EXCEPTION | 0)) == -1)
12662 SWIG_fail;
d14a1e28 12663 if (arg2 == NULL) {
15afbcd0
RD
12664 PyErr_SetString(PyExc_TypeError,"null reference");
12665 SWIG_fail;
d14a1e28
RD
12666 }
12667 {
12668 PyThreadState* __tstate = wxPyBeginAllowThreads();
12669 (arg1)->SetPalette((wxPalette const &)*arg2);
12670
12671 wxPyEndAllowThreads(__tstate);
12672 if (PyErr_Occurred()) SWIG_fail;
12673 }
12674 Py_INCREF(Py_None); resultobj = Py_None;
12675 return resultobj;
12676 fail:
12677 return NULL;
12678}
12679
12680
d14a1e28
RD
12681static PyObject *_wrap_DC_DestroyClippingRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
12682 PyObject *resultobj;
12683 wxDC *arg1 = (wxDC *) 0 ;
12684 PyObject * obj0 = 0 ;
12685 char *kwnames[] = {
12686 (char *) "self", NULL
12687 };
12688
12689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_DestroyClippingRegion",kwnames,&obj0)) goto fail;
15afbcd0
RD
12690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12692 {
12693 PyThreadState* __tstate = wxPyBeginAllowThreads();
12694 (arg1)->DestroyClippingRegion();
12695
12696 wxPyEndAllowThreads(__tstate);
12697 if (PyErr_Occurred()) SWIG_fail;
12698 }
12699 Py_INCREF(Py_None); resultobj = Py_None;
12700 return resultobj;
12701 fail:
12702 return NULL;
12703}
12704
12705
12706static PyObject *_wrap_DC_GetClippingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
12707 PyObject *resultobj;
12708 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
12709 int *arg2 = (int *) 0 ;
12710 int *arg3 = (int *) 0 ;
12711 int *arg4 = (int *) 0 ;
12712 int *arg5 = (int *) 0 ;
12713 int temp2 ;
12714 int temp3 ;
12715 int temp4 ;
12716 int temp5 ;
d14a1e28
RD
12717 PyObject * obj0 = 0 ;
12718 char *kwnames[] = {
12719 (char *) "self", NULL
12720 };
12721
12722 arg2 = &temp2;
12723 arg3 = &temp3;
12724 arg4 = &temp4;
12725 arg5 = &temp5;
12726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetClippingBox",kwnames,&obj0)) goto fail;
15afbcd0
RD
12727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12729 {
12730 PyThreadState* __tstate = wxPyBeginAllowThreads();
12731 ((wxDC const *)arg1)->GetClippingBox(arg2,arg3,arg4,arg5);
12732
12733 wxPyEndAllowThreads(__tstate);
12734 if (PyErr_Occurred()) SWIG_fail;
12735 }
12736 Py_INCREF(Py_None); resultobj = Py_None;
12737 {
12738 PyObject *o = PyInt_FromLong((long) (*arg2));
12739 resultobj = t_output_helper(resultobj,o);
12740 }
12741 {
12742 PyObject *o = PyInt_FromLong((long) (*arg3));
12743 resultobj = t_output_helper(resultobj,o);
12744 }
12745 {
12746 PyObject *o = PyInt_FromLong((long) (*arg4));
12747 resultobj = t_output_helper(resultobj,o);
12748 }
12749 {
12750 PyObject *o = PyInt_FromLong((long) (*arg5));
12751 resultobj = t_output_helper(resultobj,o);
12752 }
12753 return resultobj;
12754 fail:
12755 return NULL;
12756}
12757
12758
12759static PyObject *_wrap_DC_GetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
12760 PyObject *resultobj;
12761 wxDC *arg1 = (wxDC *) 0 ;
12762 wxRect result;
12763 PyObject * obj0 = 0 ;
12764 char *kwnames[] = {
12765 (char *) "self", NULL
12766 };
12767
12768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetClippingRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
12769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12771 {
12772 PyThreadState* __tstate = wxPyBeginAllowThreads();
12773 result = wxDC_GetClippingRect(arg1);
12774
12775 wxPyEndAllowThreads(__tstate);
12776 if (PyErr_Occurred()) SWIG_fail;
12777 }
12778 {
12779 wxRect * resultptr;
12780 resultptr = new wxRect((wxRect &) result);
15afbcd0 12781 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
12782 }
12783 return resultobj;
12784 fail:
12785 return NULL;
12786}
12787
12788
12789static PyObject *_wrap_DC_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12790 PyObject *resultobj;
12791 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce 12792 int result;
d14a1e28
RD
12793 PyObject * obj0 = 0 ;
12794 char *kwnames[] = {
12795 (char *) "self", NULL
12796 };
12797
12798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetCharHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
12799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12801 {
12802 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 12803 result = (int)((wxDC const *)arg1)->GetCharHeight();
d14a1e28
RD
12804
12805 wxPyEndAllowThreads(__tstate);
12806 if (PyErr_Occurred()) SWIG_fail;
12807 }
15afbcd0 12808 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12809 return resultobj;
12810 fail:
12811 return NULL;
12812}
12813
12814
12815static PyObject *_wrap_DC_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12816 PyObject *resultobj;
12817 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce 12818 int result;
d14a1e28
RD
12819 PyObject * obj0 = 0 ;
12820 char *kwnames[] = {
12821 (char *) "self", NULL
12822 };
12823
12824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetCharWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
12825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12827 {
12828 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 12829 result = (int)((wxDC const *)arg1)->GetCharWidth();
d14a1e28
RD
12830
12831 wxPyEndAllowThreads(__tstate);
12832 if (PyErr_Occurred()) SWIG_fail;
12833 }
15afbcd0 12834 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12835 return resultobj;
12836 fail:
12837 return NULL;
12838}
12839
12840
12841static PyObject *_wrap_DC_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
12842 PyObject *resultobj;
12843 wxDC *arg1 = (wxDC *) 0 ;
12844 wxString *arg2 = 0 ;
e811c8ce
RD
12845 int *arg3 = (int *) 0 ;
12846 int *arg4 = (int *) 0 ;
12847 bool temp2 = False ;
12848 int temp3 ;
12849 int temp4 ;
d14a1e28
RD
12850 PyObject * obj0 = 0 ;
12851 PyObject * obj1 = 0 ;
12852 char *kwnames[] = {
12853 (char *) "self",(char *) "string", NULL
12854 };
12855
12856 arg3 = &temp3;
12857 arg4 = &temp4;
12858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12861 {
12862 arg2 = wxString_in_helper(obj1);
12863 if (arg2 == NULL) SWIG_fail;
e811c8ce 12864 temp2 = True;
d14a1e28
RD
12865 }
12866 {
12867 PyThreadState* __tstate = wxPyBeginAllowThreads();
12868 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
12869
12870 wxPyEndAllowThreads(__tstate);
12871 if (PyErr_Occurred()) SWIG_fail;
12872 }
12873 Py_INCREF(Py_None); resultobj = Py_None;
12874 {
12875 PyObject *o = PyInt_FromLong((long) (*arg3));
12876 resultobj = t_output_helper(resultobj,o);
12877 }
12878 {
12879 PyObject *o = PyInt_FromLong((long) (*arg4));
12880 resultobj = t_output_helper(resultobj,o);
12881 }
12882 {
12883 if (temp2)
12884 delete arg2;
12885 }
12886 return resultobj;
12887 fail:
12888 {
12889 if (temp2)
12890 delete arg2;
12891 }
12892 return NULL;
12893}
12894
12895
12896static PyObject *_wrap_DC_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
12897 PyObject *resultobj;
12898 wxDC *arg1 = (wxDC *) 0 ;
12899 wxString *arg2 = 0 ;
e811c8ce
RD
12900 int *arg3 = (int *) 0 ;
12901 int *arg4 = (int *) 0 ;
12902 int *arg5 = (int *) 0 ;
12903 int *arg6 = (int *) 0 ;
d14a1e28 12904 wxFont *arg7 = (wxFont *) NULL ;
e811c8ce
RD
12905 bool temp2 = False ;
12906 int temp3 ;
12907 int temp4 ;
12908 int temp5 ;
12909 int temp6 ;
d14a1e28
RD
12910 PyObject * obj0 = 0 ;
12911 PyObject * obj1 = 0 ;
12912 PyObject * obj2 = 0 ;
12913 char *kwnames[] = {
12914 (char *) "self",(char *) "string",(char *) "font", NULL
12915 };
12916
12917 arg3 = &temp3;
12918 arg4 = &temp4;
12919 arg5 = &temp5;
12920 arg6 = &temp6;
12921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DC_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12924 {
12925 arg2 = wxString_in_helper(obj1);
12926 if (arg2 == NULL) SWIG_fail;
e811c8ce 12927 temp2 = True;
d14a1e28
RD
12928 }
12929 if (obj2) {
15afbcd0
RD
12930 if ((SWIG_ConvertPtr(obj2,(void **)(&arg7),SWIGTYPE_p_wxFont,
12931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12932 }
12933 {
12934 PyThreadState* __tstate = wxPyBeginAllowThreads();
12935 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7);
12936
12937 wxPyEndAllowThreads(__tstate);
12938 if (PyErr_Occurred()) SWIG_fail;
12939 }
12940 Py_INCREF(Py_None); resultobj = Py_None;
12941 {
12942 PyObject *o = PyInt_FromLong((long) (*arg3));
12943 resultobj = t_output_helper(resultobj,o);
12944 }
12945 {
12946 PyObject *o = PyInt_FromLong((long) (*arg4));
12947 resultobj = t_output_helper(resultobj,o);
12948 }
12949 {
12950 PyObject *o = PyInt_FromLong((long) (*arg5));
12951 resultobj = t_output_helper(resultobj,o);
12952 }
12953 {
12954 PyObject *o = PyInt_FromLong((long) (*arg6));
12955 resultobj = t_output_helper(resultobj,o);
12956 }
12957 {
12958 if (temp2)
12959 delete arg2;
12960 }
12961 return resultobj;
12962 fail:
12963 {
12964 if (temp2)
12965 delete arg2;
12966 }
12967 return NULL;
12968}
12969
12970
12971static PyObject *_wrap_DC_GetMultiLineTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
12972 PyObject *resultobj;
12973 wxDC *arg1 = (wxDC *) 0 ;
12974 wxString *arg2 = 0 ;
e811c8ce
RD
12975 int *arg3 = (int *) 0 ;
12976 int *arg4 = (int *) 0 ;
12977 int *arg5 = (int *) 0 ;
d14a1e28 12978 wxFont *arg6 = (wxFont *) NULL ;
e811c8ce
RD
12979 bool temp2 = False ;
12980 int temp3 ;
12981 int temp4 ;
12982 int temp5 ;
d14a1e28
RD
12983 PyObject * obj0 = 0 ;
12984 PyObject * obj1 = 0 ;
12985 PyObject * obj2 = 0 ;
12986 char *kwnames[] = {
12987 (char *) "self",(char *) "text",(char *) "font", NULL
12988 };
12989
12990 arg3 = &temp3;
12991 arg4 = &temp4;
12992 arg5 = &temp5;
12993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
12995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12996 {
12997 arg2 = wxString_in_helper(obj1);
12998 if (arg2 == NULL) SWIG_fail;
e811c8ce 12999 temp2 = True;
d14a1e28
RD
13000 }
13001 if (obj2) {
15afbcd0
RD
13002 if ((SWIG_ConvertPtr(obj2,(void **)(&arg6),SWIGTYPE_p_wxFont,
13003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13004 }
13005 {
13006 PyThreadState* __tstate = wxPyBeginAllowThreads();
13007 (arg1)->GetMultiLineTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6);
13008
13009 wxPyEndAllowThreads(__tstate);
13010 if (PyErr_Occurred()) SWIG_fail;
13011 }
13012 Py_INCREF(Py_None); resultobj = Py_None;
13013 {
13014 PyObject *o = PyInt_FromLong((long) (*arg3));
13015 resultobj = t_output_helper(resultobj,o);
13016 }
13017 {
13018 PyObject *o = PyInt_FromLong((long) (*arg4));
13019 resultobj = t_output_helper(resultobj,o);
13020 }
13021 {
13022 PyObject *o = PyInt_FromLong((long) (*arg5));
13023 resultobj = t_output_helper(resultobj,o);
13024 }
13025 {
13026 if (temp2)
13027 delete arg2;
13028 }
13029 return resultobj;
13030 fail:
13031 {
13032 if (temp2)
13033 delete arg2;
13034 }
13035 return NULL;
13036}
13037
13038
db914595
RD
13039static PyObject *_wrap_DC_GetPartialTextExtents(PyObject *self, PyObject *args, PyObject *kwargs) {
13040 PyObject *resultobj;
13041 wxDC *arg1 = (wxDC *) 0 ;
13042 wxString *arg2 = 0 ;
13043 wxArrayInt result;
13044 bool temp2 = False ;
13045 PyObject * obj0 = 0 ;
13046 PyObject * obj1 = 0 ;
13047 char *kwnames[] = {
13048 (char *) "self",(char *) "text", NULL
13049 };
13050
13051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_GetPartialTextExtents",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
db914595
RD
13054 {
13055 arg2 = wxString_in_helper(obj1);
13056 if (arg2 == NULL) SWIG_fail;
13057 temp2 = True;
13058 }
13059 {
13060 PyThreadState* __tstate = wxPyBeginAllowThreads();
13061 result = wxDC_GetPartialTextExtents(arg1,(wxString const &)*arg2);
13062
13063 wxPyEndAllowThreads(__tstate);
13064 if (PyErr_Occurred()) SWIG_fail;
13065 }
13066 {
13067 resultobj = PyList_New(0);
13068 size_t idx;
13069 for (idx = 0; idx < (&result)->GetCount(); idx += 1) {
13070 PyObject* val = PyInt_FromLong( (&result)->Item(idx) );
13071 PyList_Append(resultobj, val);
13072 Py_DECREF(val);
13073 }
13074 }
13075 {
13076 if (temp2)
13077 delete arg2;
13078 }
13079 return resultobj;
13080 fail:
13081 {
13082 if (temp2)
13083 delete arg2;
13084 }
13085 return NULL;
13086}
13087
13088
322913ce
RD
13089static PyObject *_wrap_DC_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13090 PyObject *resultobj;
13091 wxDC *arg1 = (wxDC *) 0 ;
13092 wxSize result;
13093 PyObject * obj0 = 0 ;
13094 char *kwnames[] = {
13095 (char *) "self", NULL
13096 };
13097
13098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
13099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
322913ce
RD
13101 {
13102 PyThreadState* __tstate = wxPyBeginAllowThreads();
13103 result = (arg1)->GetSize();
13104
13105 wxPyEndAllowThreads(__tstate);
13106 if (PyErr_Occurred()) SWIG_fail;
13107 }
13108 {
13109 wxSize * resultptr;
13110 resultptr = new wxSize((wxSize &) result);
15afbcd0 13111 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
322913ce
RD
13112 }
13113 return resultobj;
13114 fail:
13115 return NULL;
13116}
13117
13118
d14a1e28
RD
13119static PyObject *_wrap_DC_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
13120 PyObject *resultobj;
13121 wxDC *arg1 = (wxDC *) 0 ;
13122 int *arg2 = (int *) 0 ;
13123 int *arg3 = (int *) 0 ;
13124 int temp2 ;
13125 int temp3 ;
13126 PyObject * obj0 = 0 ;
13127 char *kwnames[] = {
13128 (char *) "self", NULL
13129 };
13130
13131 arg2 = &temp2;
13132 arg3 = &temp3;
13133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
13134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13136 {
13137 PyThreadState* __tstate = wxPyBeginAllowThreads();
13138 (arg1)->GetSize(arg2,arg3);
13139
13140 wxPyEndAllowThreads(__tstate);
13141 if (PyErr_Occurred()) SWIG_fail;
13142 }
13143 Py_INCREF(Py_None); resultobj = Py_None;
13144 {
13145 PyObject *o = PyInt_FromLong((long) (*arg2));
13146 resultobj = t_output_helper(resultobj,o);
13147 }
13148 {
13149 PyObject *o = PyInt_FromLong((long) (*arg3));
13150 resultobj = t_output_helper(resultobj,o);
13151 }
13152 return resultobj;
13153 fail:
13154 return NULL;
13155}
13156
13157
322913ce 13158static PyObject *_wrap_DC_GetSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13159 PyObject *resultobj;
13160 wxDC *arg1 = (wxDC *) 0 ;
13161 wxSize result;
13162 PyObject * obj0 = 0 ;
13163 char *kwnames[] = {
13164 (char *) "self", NULL
13165 };
13166
322913ce 13167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSizeMM",kwnames,&obj0)) goto fail;
15afbcd0
RD
13168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13170 {
13171 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 13172 result = ((wxDC const *)arg1)->GetSizeMM();
d14a1e28
RD
13173
13174 wxPyEndAllowThreads(__tstate);
13175 if (PyErr_Occurred()) SWIG_fail;
13176 }
13177 {
13178 wxSize * resultptr;
13179 resultptr = new wxSize((wxSize &) result);
15afbcd0 13180 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
13181 }
13182 return resultobj;
13183 fail:
13184 return NULL;
13185}
13186
13187
322913ce 13188static PyObject *_wrap_DC_GetSizeMMTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13189 PyObject *resultobj;
13190 wxDC *arg1 = (wxDC *) 0 ;
13191 int *arg2 = (int *) 0 ;
13192 int *arg3 = (int *) 0 ;
13193 int temp2 ;
13194 int temp3 ;
13195 PyObject * obj0 = 0 ;
13196 char *kwnames[] = {
13197 (char *) "self", NULL
13198 };
13199
13200 arg2 = &temp2;
13201 arg3 = &temp3;
322913ce 13202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetSizeMMTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
13203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13205 {
13206 PyThreadState* __tstate = wxPyBeginAllowThreads();
13207 ((wxDC const *)arg1)->GetSizeMM(arg2,arg3);
13208
13209 wxPyEndAllowThreads(__tstate);
13210 if (PyErr_Occurred()) SWIG_fail;
13211 }
13212 Py_INCREF(Py_None); resultobj = Py_None;
13213 {
13214 PyObject *o = PyInt_FromLong((long) (*arg2));
13215 resultobj = t_output_helper(resultobj,o);
13216 }
13217 {
13218 PyObject *o = PyInt_FromLong((long) (*arg3));
13219 resultobj = t_output_helper(resultobj,o);
13220 }
13221 return resultobj;
13222 fail:
13223 return NULL;
13224}
13225
13226
d14a1e28
RD
13227static PyObject *_wrap_DC_DeviceToLogicalX(PyObject *self, PyObject *args, PyObject *kwargs) {
13228 PyObject *resultobj;
13229 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13230 int arg2 ;
13231 int result;
d14a1e28 13232 PyObject * obj0 = 0 ;
994141e6 13233 PyObject * obj1 = 0 ;
d14a1e28
RD
13234 char *kwnames[] = {
13235 (char *) "self",(char *) "x", NULL
13236 };
13237
994141e6 13238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13241 arg2 = (int) SWIG_AsInt(obj1);
13242 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13243 {
13244 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13245 result = (int)((wxDC const *)arg1)->DeviceToLogicalX(arg2);
d14a1e28
RD
13246
13247 wxPyEndAllowThreads(__tstate);
13248 if (PyErr_Occurred()) SWIG_fail;
13249 }
15afbcd0 13250 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13251 return resultobj;
13252 fail:
13253 return NULL;
13254}
13255
13256
13257static PyObject *_wrap_DC_DeviceToLogicalY(PyObject *self, PyObject *args, PyObject *kwargs) {
13258 PyObject *resultobj;
13259 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13260 int arg2 ;
13261 int result;
d14a1e28 13262 PyObject * obj0 = 0 ;
994141e6 13263 PyObject * obj1 = 0 ;
d14a1e28
RD
13264 char *kwnames[] = {
13265 (char *) "self",(char *) "y", NULL
13266 };
13267
994141e6 13268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13271 arg2 = (int) SWIG_AsInt(obj1);
13272 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13273 {
13274 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13275 result = (int)((wxDC const *)arg1)->DeviceToLogicalY(arg2);
d14a1e28
RD
13276
13277 wxPyEndAllowThreads(__tstate);
13278 if (PyErr_Occurred()) SWIG_fail;
13279 }
15afbcd0 13280 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13281 return resultobj;
13282 fail:
13283 return NULL;
13284}
13285
13286
13287static PyObject *_wrap_DC_DeviceToLogicalXRel(PyObject *self, PyObject *args, PyObject *kwargs) {
13288 PyObject *resultobj;
13289 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13290 int arg2 ;
13291 int result;
d14a1e28 13292 PyObject * obj0 = 0 ;
994141e6 13293 PyObject * obj1 = 0 ;
d14a1e28
RD
13294 char *kwnames[] = {
13295 (char *) "self",(char *) "x", NULL
13296 };
13297
994141e6 13298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalXRel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13301 arg2 = (int) SWIG_AsInt(obj1);
13302 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13303 {
13304 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13305 result = (int)((wxDC const *)arg1)->DeviceToLogicalXRel(arg2);
d14a1e28
RD
13306
13307 wxPyEndAllowThreads(__tstate);
13308 if (PyErr_Occurred()) SWIG_fail;
13309 }
15afbcd0 13310 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13311 return resultobj;
13312 fail:
13313 return NULL;
13314}
13315
13316
13317static PyObject *_wrap_DC_DeviceToLogicalYRel(PyObject *self, PyObject *args, PyObject *kwargs) {
13318 PyObject *resultobj;
13319 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13320 int arg2 ;
13321 int result;
d14a1e28 13322 PyObject * obj0 = 0 ;
994141e6 13323 PyObject * obj1 = 0 ;
d14a1e28
RD
13324 char *kwnames[] = {
13325 (char *) "self",(char *) "y", NULL
13326 };
13327
994141e6 13328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_DeviceToLogicalYRel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13331 arg2 = (int) SWIG_AsInt(obj1);
13332 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13333 {
13334 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13335 result = (int)((wxDC const *)arg1)->DeviceToLogicalYRel(arg2);
d14a1e28
RD
13336
13337 wxPyEndAllowThreads(__tstate);
13338 if (PyErr_Occurred()) SWIG_fail;
13339 }
15afbcd0 13340 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13341 return resultobj;
13342 fail:
13343 return NULL;
13344}
13345
13346
13347static PyObject *_wrap_DC_LogicalToDeviceX(PyObject *self, PyObject *args, PyObject *kwargs) {
13348 PyObject *resultobj;
13349 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13350 int arg2 ;
13351 int result;
d14a1e28 13352 PyObject * obj0 = 0 ;
994141e6 13353 PyObject * obj1 = 0 ;
d14a1e28
RD
13354 char *kwnames[] = {
13355 (char *) "self",(char *) "x", NULL
13356 };
13357
994141e6 13358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13361 arg2 = (int) SWIG_AsInt(obj1);
13362 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13363 {
13364 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13365 result = (int)((wxDC const *)arg1)->LogicalToDeviceX(arg2);
d14a1e28
RD
13366
13367 wxPyEndAllowThreads(__tstate);
13368 if (PyErr_Occurred()) SWIG_fail;
13369 }
15afbcd0 13370 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13371 return resultobj;
13372 fail:
13373 return NULL;
13374}
13375
13376
13377static PyObject *_wrap_DC_LogicalToDeviceY(PyObject *self, PyObject *args, PyObject *kwargs) {
13378 PyObject *resultobj;
13379 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13380 int arg2 ;
13381 int result;
d14a1e28 13382 PyObject * obj0 = 0 ;
994141e6 13383 PyObject * obj1 = 0 ;
d14a1e28
RD
13384 char *kwnames[] = {
13385 (char *) "self",(char *) "y", NULL
13386 };
13387
994141e6 13388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13391 arg2 = (int) SWIG_AsInt(obj1);
13392 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13393 {
13394 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13395 result = (int)((wxDC const *)arg1)->LogicalToDeviceY(arg2);
d14a1e28
RD
13396
13397 wxPyEndAllowThreads(__tstate);
13398 if (PyErr_Occurred()) SWIG_fail;
13399 }
15afbcd0 13400 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13401 return resultobj;
13402 fail:
13403 return NULL;
13404}
13405
13406
13407static PyObject *_wrap_DC_LogicalToDeviceXRel(PyObject *self, PyObject *args, PyObject *kwargs) {
13408 PyObject *resultobj;
13409 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13410 int arg2 ;
13411 int result;
d14a1e28 13412 PyObject * obj0 = 0 ;
994141e6 13413 PyObject * obj1 = 0 ;
d14a1e28
RD
13414 char *kwnames[] = {
13415 (char *) "self",(char *) "x", NULL
13416 };
13417
994141e6 13418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceXRel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13421 arg2 = (int) SWIG_AsInt(obj1);
13422 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13423 {
13424 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13425 result = (int)((wxDC const *)arg1)->LogicalToDeviceXRel(arg2);
d14a1e28
RD
13426
13427 wxPyEndAllowThreads(__tstate);
13428 if (PyErr_Occurred()) SWIG_fail;
13429 }
15afbcd0 13430 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13431 return resultobj;
13432 fail:
13433 return NULL;
13434}
13435
13436
13437static PyObject *_wrap_DC_LogicalToDeviceYRel(PyObject *self, PyObject *args, PyObject *kwargs) {
13438 PyObject *resultobj;
13439 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
13440 int arg2 ;
13441 int result;
d14a1e28 13442 PyObject * obj0 = 0 ;
994141e6 13443 PyObject * obj1 = 0 ;
d14a1e28
RD
13444 char *kwnames[] = {
13445 (char *) "self",(char *) "y", NULL
13446 };
13447
994141e6 13448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_LogicalToDeviceYRel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13451 arg2 = (int) SWIG_AsInt(obj1);
13452 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13453 {
13454 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 13455 result = (int)((wxDC const *)arg1)->LogicalToDeviceYRel(arg2);
d14a1e28
RD
13456
13457 wxPyEndAllowThreads(__tstate);
13458 if (PyErr_Occurred()) SWIG_fail;
13459 }
15afbcd0 13460 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13461 return resultobj;
13462 fail:
13463 return NULL;
13464}
13465
13466
13467static PyObject *_wrap_DC_CanDrawBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13468 PyObject *resultobj;
13469 wxDC *arg1 = (wxDC *) 0 ;
13470 bool result;
13471 PyObject * obj0 = 0 ;
13472 char *kwnames[] = {
13473 (char *) "self", NULL
13474 };
13475
13476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_CanDrawBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
13477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13479 {
13480 PyThreadState* __tstate = wxPyBeginAllowThreads();
13481 result = (bool)((wxDC const *)arg1)->CanDrawBitmap();
13482
13483 wxPyEndAllowThreads(__tstate);
13484 if (PyErr_Occurred()) SWIG_fail;
13485 }
4f89f6a3
RD
13486 {
13487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13488 }
d14a1e28
RD
13489 return resultobj;
13490 fail:
13491 return NULL;
13492}
13493
13494
13495static PyObject *_wrap_DC_CanGetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
13496 PyObject *resultobj;
13497 wxDC *arg1 = (wxDC *) 0 ;
13498 bool result;
13499 PyObject * obj0 = 0 ;
13500 char *kwnames[] = {
13501 (char *) "self", NULL
13502 };
13503
13504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_CanGetTextExtent",kwnames,&obj0)) goto fail;
15afbcd0
RD
13505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13507 {
13508 PyThreadState* __tstate = wxPyBeginAllowThreads();
13509 result = (bool)((wxDC const *)arg1)->CanGetTextExtent();
13510
13511 wxPyEndAllowThreads(__tstate);
13512 if (PyErr_Occurred()) SWIG_fail;
13513 }
4f89f6a3
RD
13514 {
13515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13516 }
d14a1e28
RD
13517 return resultobj;
13518 fail:
13519 return NULL;
13520}
13521
13522
13523static PyObject *_wrap_DC_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
13524 PyObject *resultobj;
13525 wxDC *arg1 = (wxDC *) 0 ;
13526 int result;
13527 PyObject * obj0 = 0 ;
13528 char *kwnames[] = {
13529 (char *) "self", NULL
13530 };
13531
13532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetDepth",kwnames,&obj0)) goto fail;
15afbcd0
RD
13533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13535 {
13536 PyThreadState* __tstate = wxPyBeginAllowThreads();
13537 result = (int)((wxDC const *)arg1)->GetDepth();
13538
13539 wxPyEndAllowThreads(__tstate);
13540 if (PyErr_Occurred()) SWIG_fail;
13541 }
15afbcd0 13542 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13543 return resultobj;
13544 fail:
13545 return NULL;
13546}
13547
13548
13549static PyObject *_wrap_DC_GetPPI(PyObject *self, PyObject *args, PyObject *kwargs) {
13550 PyObject *resultobj;
13551 wxDC *arg1 = (wxDC *) 0 ;
13552 wxSize result;
13553 PyObject * obj0 = 0 ;
13554 char *kwnames[] = {
13555 (char *) "self", NULL
13556 };
13557
13558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetPPI",kwnames,&obj0)) goto fail;
15afbcd0
RD
13559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13561 {
13562 PyThreadState* __tstate = wxPyBeginAllowThreads();
13563 result = ((wxDC const *)arg1)->GetPPI();
13564
13565 wxPyEndAllowThreads(__tstate);
13566 if (PyErr_Occurred()) SWIG_fail;
13567 }
13568 {
13569 wxSize * resultptr;
13570 resultptr = new wxSize((wxSize &) result);
15afbcd0 13571 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
13572 }
13573 return resultobj;
13574 fail:
13575 return NULL;
13576}
13577
13578
13579static PyObject *_wrap_DC_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
13580 PyObject *resultobj;
13581 wxDC *arg1 = (wxDC *) 0 ;
13582 bool result;
13583 PyObject * obj0 = 0 ;
13584 char *kwnames[] = {
13585 (char *) "self", NULL
13586 };
13587
13588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
13589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13591 {
13592 PyThreadState* __tstate = wxPyBeginAllowThreads();
13593 result = (bool)((wxDC const *)arg1)->Ok();
13594
13595 wxPyEndAllowThreads(__tstate);
13596 if (PyErr_Occurred()) SWIG_fail;
13597 }
4f89f6a3
RD
13598 {
13599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13600 }
d14a1e28
RD
13601 return resultobj;
13602 fail:
13603 return NULL;
13604}
13605
13606
13607static PyObject *_wrap_DC_GetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
13608 PyObject *resultobj;
13609 wxDC *arg1 = (wxDC *) 0 ;
13610 int result;
13611 PyObject * obj0 = 0 ;
13612 char *kwnames[] = {
13613 (char *) "self", NULL
13614 };
13615
13616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBackgroundMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
13617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13619 {
13620 PyThreadState* __tstate = wxPyBeginAllowThreads();
13621 result = (int)((wxDC const *)arg1)->GetBackgroundMode();
13622
13623 wxPyEndAllowThreads(__tstate);
13624 if (PyErr_Occurred()) SWIG_fail;
13625 }
15afbcd0 13626 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13627 return resultobj;
13628 fail:
13629 return NULL;
13630}
13631
13632
13633static PyObject *_wrap_DC_GetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13634 PyObject *resultobj;
13635 wxDC *arg1 = (wxDC *) 0 ;
13636 wxBrush *result;
13637 PyObject * obj0 = 0 ;
13638 char *kwnames[] = {
13639 (char *) "self", NULL
13640 };
13641
13642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBackground",kwnames,&obj0)) goto fail;
15afbcd0
RD
13643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13645 {
13646 PyThreadState* __tstate = wxPyBeginAllowThreads();
13647 {
13648 wxBrush const &_result_ref = ((wxDC const *)arg1)->GetBackground();
13649 result = (wxBrush *) &_result_ref;
13650 }
13651
13652 wxPyEndAllowThreads(__tstate);
13653 if (PyErr_Occurred()) SWIG_fail;
13654 }
4276dc52
RD
13655 {
13656 wxBrush* resultptr = new wxBrush(*result);
13657 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBrush, 1);
13658 }
d14a1e28
RD
13659 return resultobj;
13660 fail:
13661 return NULL;
13662}
13663
13664
13665static PyObject *_wrap_DC_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
13666 PyObject *resultobj;
13667 wxDC *arg1 = (wxDC *) 0 ;
13668 wxBrush *result;
13669 PyObject * obj0 = 0 ;
13670 char *kwnames[] = {
13671 (char *) "self", NULL
13672 };
13673
13674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBrush",kwnames,&obj0)) goto fail;
15afbcd0
RD
13675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13677 {
13678 PyThreadState* __tstate = wxPyBeginAllowThreads();
13679 {
13680 wxBrush const &_result_ref = ((wxDC const *)arg1)->GetBrush();
13681 result = (wxBrush *) &_result_ref;
13682 }
13683
13684 wxPyEndAllowThreads(__tstate);
13685 if (PyErr_Occurred()) SWIG_fail;
13686 }
4276dc52
RD
13687 {
13688 wxBrush* resultptr = new wxBrush(*result);
13689 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBrush, 1);
13690 }
d14a1e28
RD
13691 return resultobj;
13692 fail:
13693 return NULL;
13694}
13695
13696
13697static PyObject *_wrap_DC_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13698 PyObject *resultobj;
13699 wxDC *arg1 = (wxDC *) 0 ;
13700 wxFont *result;
13701 PyObject * obj0 = 0 ;
13702 char *kwnames[] = {
13703 (char *) "self", NULL
13704 };
13705
13706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
13707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13709 {
13710 PyThreadState* __tstate = wxPyBeginAllowThreads();
13711 {
13712 wxFont const &_result_ref = ((wxDC const *)arg1)->GetFont();
13713 result = (wxFont *) &_result_ref;
13714 }
13715
13716 wxPyEndAllowThreads(__tstate);
13717 if (PyErr_Occurred()) SWIG_fail;
13718 }
4276dc52
RD
13719 {
13720 wxFont* resultptr = new wxFont(*result);
13721 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
13722 }
d14a1e28
RD
13723 return resultobj;
13724 fail:
13725 return NULL;
13726}
13727
13728
13729static PyObject *_wrap_DC_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
13730 PyObject *resultobj;
13731 wxDC *arg1 = (wxDC *) 0 ;
13732 wxPen *result;
13733 PyObject * obj0 = 0 ;
13734 char *kwnames[] = {
13735 (char *) "self", NULL
13736 };
13737
13738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetPen",kwnames,&obj0)) goto fail;
15afbcd0
RD
13739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13741 {
13742 PyThreadState* __tstate = wxPyBeginAllowThreads();
13743 {
13744 wxPen const &_result_ref = ((wxDC const *)arg1)->GetPen();
13745 result = (wxPen *) &_result_ref;
13746 }
13747
13748 wxPyEndAllowThreads(__tstate);
13749 if (PyErr_Occurred()) SWIG_fail;
13750 }
4276dc52
RD
13751 {
13752 wxPen* resultptr = new wxPen(*result);
13753 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxPen, 1);
13754 }
d14a1e28
RD
13755 return resultobj;
13756 fail:
13757 return NULL;
13758}
13759
13760
13761static PyObject *_wrap_DC_GetTextBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13762 PyObject *resultobj;
13763 wxDC *arg1 = (wxDC *) 0 ;
13764 wxColour *result;
13765 PyObject * obj0 = 0 ;
13766 char *kwnames[] = {
13767 (char *) "self", NULL
13768 };
13769
13770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetTextBackground",kwnames,&obj0)) goto fail;
15afbcd0
RD
13771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13773 {
13774 PyThreadState* __tstate = wxPyBeginAllowThreads();
13775 {
13776 wxColour const &_result_ref = ((wxDC const *)arg1)->GetTextBackground();
13777 result = (wxColour *) &_result_ref;
13778 }
13779
13780 wxPyEndAllowThreads(__tstate);
13781 if (PyErr_Occurred()) SWIG_fail;
13782 }
15afbcd0 13783 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
13784 return resultobj;
13785 fail:
13786 return NULL;
13787}
13788
13789
13790static PyObject *_wrap_DC_GetTextForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
13791 PyObject *resultobj;
13792 wxDC *arg1 = (wxDC *) 0 ;
13793 wxColour *result;
13794 PyObject * obj0 = 0 ;
13795 char *kwnames[] = {
13796 (char *) "self", NULL
13797 };
13798
13799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetTextForeground",kwnames,&obj0)) goto fail;
15afbcd0
RD
13800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13802 {
13803 PyThreadState* __tstate = wxPyBeginAllowThreads();
13804 {
13805 wxColour const &_result_ref = ((wxDC const *)arg1)->GetTextForeground();
13806 result = (wxColour *) &_result_ref;
13807 }
13808
13809 wxPyEndAllowThreads(__tstate);
13810 if (PyErr_Occurred()) SWIG_fail;
13811 }
15afbcd0 13812 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
13813 return resultobj;
13814 fail:
13815 return NULL;
13816}
13817
13818
13819static PyObject *_wrap_DC_SetTextForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
13820 PyObject *resultobj;
13821 wxDC *arg1 = (wxDC *) 0 ;
13822 wxColour *arg2 = 0 ;
13823 wxColour temp2 ;
13824 PyObject * obj0 = 0 ;
13825 PyObject * obj1 = 0 ;
13826 char *kwnames[] = {
13827 (char *) "self",(char *) "colour", NULL
13828 };
13829
13830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetTextForeground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13833 {
13834 arg2 = &temp2;
13835 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13836 }
13837 {
13838 PyThreadState* __tstate = wxPyBeginAllowThreads();
13839 (arg1)->SetTextForeground((wxColour const &)*arg2);
13840
13841 wxPyEndAllowThreads(__tstate);
13842 if (PyErr_Occurred()) SWIG_fail;
13843 }
13844 Py_INCREF(Py_None); resultobj = Py_None;
13845 return resultobj;
13846 fail:
13847 return NULL;
13848}
13849
13850
13851static PyObject *_wrap_DC_SetTextBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13852 PyObject *resultobj;
13853 wxDC *arg1 = (wxDC *) 0 ;
13854 wxColour *arg2 = 0 ;
13855 wxColour temp2 ;
13856 PyObject * obj0 = 0 ;
13857 PyObject * obj1 = 0 ;
13858 char *kwnames[] = {
13859 (char *) "self",(char *) "colour", NULL
13860 };
13861
13862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetTextBackground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13865 {
13866 arg2 = &temp2;
13867 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13868 }
13869 {
13870 PyThreadState* __tstate = wxPyBeginAllowThreads();
13871 (arg1)->SetTextBackground((wxColour const &)*arg2);
13872
13873 wxPyEndAllowThreads(__tstate);
13874 if (PyErr_Occurred()) SWIG_fail;
13875 }
13876 Py_INCREF(Py_None); resultobj = Py_None;
13877 return resultobj;
13878 fail:
13879 return NULL;
13880}
13881
13882
13883static PyObject *_wrap_DC_GetMapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
13884 PyObject *resultobj;
13885 wxDC *arg1 = (wxDC *) 0 ;
13886 int result;
13887 PyObject * obj0 = 0 ;
13888 char *kwnames[] = {
13889 (char *) "self", NULL
13890 };
13891
13892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetMapMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
13893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13895 {
13896 PyThreadState* __tstate = wxPyBeginAllowThreads();
13897 result = (int)((wxDC const *)arg1)->GetMapMode();
13898
13899 wxPyEndAllowThreads(__tstate);
13900 if (PyErr_Occurred()) SWIG_fail;
13901 }
15afbcd0 13902 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13903 return resultobj;
13904 fail:
13905 return NULL;
13906}
13907
13908
13909static PyObject *_wrap_DC_SetMapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
13910 PyObject *resultobj;
13911 wxDC *arg1 = (wxDC *) 0 ;
13912 int arg2 ;
13913 PyObject * obj0 = 0 ;
994141e6 13914 PyObject * obj1 = 0 ;
d14a1e28
RD
13915 char *kwnames[] = {
13916 (char *) "self",(char *) "mode", NULL
13917 };
13918
994141e6 13919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetMapMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13922 arg2 = (int) SWIG_AsInt(obj1);
13923 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13924 {
13925 PyThreadState* __tstate = wxPyBeginAllowThreads();
13926 (arg1)->SetMapMode(arg2);
13927
13928 wxPyEndAllowThreads(__tstate);
13929 if (PyErr_Occurred()) SWIG_fail;
13930 }
13931 Py_INCREF(Py_None); resultobj = Py_None;
13932 return resultobj;
13933 fail:
13934 return NULL;
13935}
13936
13937
13938static PyObject *_wrap_DC_GetUserScale(PyObject *self, PyObject *args, PyObject *kwargs) {
13939 PyObject *resultobj;
13940 wxDC *arg1 = (wxDC *) 0 ;
13941 double *arg2 = (double *) 0 ;
13942 double *arg3 = (double *) 0 ;
13943 double temp2 ;
13944 double temp3 ;
13945 PyObject * obj0 = 0 ;
13946 char *kwnames[] = {
13947 (char *) "self", NULL
13948 };
13949
13950 arg2 = &temp2;
13951 arg3 = &temp3;
13952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetUserScale",kwnames,&obj0)) goto fail;
15afbcd0
RD
13953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13955 {
13956 PyThreadState* __tstate = wxPyBeginAllowThreads();
13957 ((wxDC const *)arg1)->GetUserScale(arg2,arg3);
13958
13959 wxPyEndAllowThreads(__tstate);
13960 if (PyErr_Occurred()) SWIG_fail;
13961 }
13962 Py_INCREF(Py_None); resultobj = Py_None;
13963 {
13964 PyObject *o = PyFloat_FromDouble((double) (*arg2));
13965 resultobj = t_output_helper(resultobj,o);
13966 }
13967 {
13968 PyObject *o = PyFloat_FromDouble((double) (*arg3));
13969 resultobj = t_output_helper(resultobj,o);
13970 }
13971 return resultobj;
13972 fail:
13973 return NULL;
13974}
13975
13976
13977static PyObject *_wrap_DC_SetUserScale(PyObject *self, PyObject *args, PyObject *kwargs) {
13978 PyObject *resultobj;
13979 wxDC *arg1 = (wxDC *) 0 ;
13980 double arg2 ;
13981 double arg3 ;
13982 PyObject * obj0 = 0 ;
994141e6
RD
13983 PyObject * obj1 = 0 ;
13984 PyObject * obj2 = 0 ;
d14a1e28
RD
13985 char *kwnames[] = {
13986 (char *) "self",(char *) "x",(char *) "y", NULL
13987 };
13988
994141e6 13989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetUserScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
13991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13992 arg2 = (double) SWIG_AsDouble(obj1);
13993 if (PyErr_Occurred()) SWIG_fail;
13994 arg3 = (double) SWIG_AsDouble(obj2);
13995 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13996 {
13997 PyThreadState* __tstate = wxPyBeginAllowThreads();
13998 (arg1)->SetUserScale(arg2,arg3);
13999
14000 wxPyEndAllowThreads(__tstate);
14001 if (PyErr_Occurred()) SWIG_fail;
14002 }
14003 Py_INCREF(Py_None); resultobj = Py_None;
14004 return resultobj;
14005 fail:
14006 return NULL;
14007}
14008
14009
14010static PyObject *_wrap_DC_GetLogicalScale(PyObject *self, PyObject *args, PyObject *kwargs) {
14011 PyObject *resultobj;
14012 wxDC *arg1 = (wxDC *) 0 ;
14013 double *arg2 = (double *) 0 ;
14014 double *arg3 = (double *) 0 ;
14015 double temp2 ;
14016 double temp3 ;
14017 PyObject * obj0 = 0 ;
14018 char *kwnames[] = {
14019 (char *) "self", NULL
14020 };
14021
14022 arg2 = &temp2;
14023 arg3 = &temp3;
14024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalScale",kwnames,&obj0)) goto fail;
15afbcd0
RD
14025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14027 {
14028 PyThreadState* __tstate = wxPyBeginAllowThreads();
14029 (arg1)->GetLogicalScale(arg2,arg3);
14030
14031 wxPyEndAllowThreads(__tstate);
14032 if (PyErr_Occurred()) SWIG_fail;
14033 }
14034 Py_INCREF(Py_None); resultobj = Py_None;
14035 {
14036 PyObject *o = PyFloat_FromDouble((double) (*arg2));
14037 resultobj = t_output_helper(resultobj,o);
14038 }
14039 {
14040 PyObject *o = PyFloat_FromDouble((double) (*arg3));
14041 resultobj = t_output_helper(resultobj,o);
14042 }
14043 return resultobj;
14044 fail:
14045 return NULL;
14046}
14047
14048
14049static PyObject *_wrap_DC_SetLogicalScale(PyObject *self, PyObject *args, PyObject *kwargs) {
14050 PyObject *resultobj;
14051 wxDC *arg1 = (wxDC *) 0 ;
14052 double arg2 ;
14053 double arg3 ;
14054 PyObject * obj0 = 0 ;
994141e6
RD
14055 PyObject * obj1 = 0 ;
14056 PyObject * obj2 = 0 ;
d14a1e28
RD
14057 char *kwnames[] = {
14058 (char *) "self",(char *) "x",(char *) "y", NULL
14059 };
14060
994141e6 14061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetLogicalScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14064 arg2 = (double) SWIG_AsDouble(obj1);
14065 if (PyErr_Occurred()) SWIG_fail;
14066 arg3 = (double) SWIG_AsDouble(obj2);
14067 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14068 {
14069 PyThreadState* __tstate = wxPyBeginAllowThreads();
14070 (arg1)->SetLogicalScale(arg2,arg3);
14071
14072 wxPyEndAllowThreads(__tstate);
14073 if (PyErr_Occurred()) SWIG_fail;
14074 }
14075 Py_INCREF(Py_None); resultobj = Py_None;
14076 return resultobj;
14077 fail:
14078 return NULL;
14079}
14080
14081
322913ce 14082static PyObject *_wrap_DC_GetLogicalOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14083 PyObject *resultobj;
14084 wxDC *arg1 = (wxDC *) 0 ;
322913ce 14085 wxPoint result;
d14a1e28
RD
14086 PyObject * obj0 = 0 ;
14087 char *kwnames[] = {
14088 (char *) "self", NULL
14089 };
14090
322913ce 14091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalOrigin",kwnames,&obj0)) goto fail;
15afbcd0
RD
14092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14094 {
14095 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 14096 result = ((wxDC const *)arg1)->GetLogicalOrigin();
d14a1e28
RD
14097
14098 wxPyEndAllowThreads(__tstate);
14099 if (PyErr_Occurred()) SWIG_fail;
14100 }
d14a1e28 14101 {
322913ce
RD
14102 wxPoint * resultptr;
14103 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14104 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14105 }
14106 return resultobj;
14107 fail:
14108 return NULL;
14109}
14110
14111
322913ce 14112static PyObject *_wrap_DC_GetLogicalOriginTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14113 PyObject *resultobj;
14114 wxDC *arg1 = (wxDC *) 0 ;
322913ce
RD
14115 int *arg2 = (int *) 0 ;
14116 int *arg3 = (int *) 0 ;
14117 int temp2 ;
14118 int temp3 ;
d14a1e28
RD
14119 PyObject * obj0 = 0 ;
14120 char *kwnames[] = {
14121 (char *) "self", NULL
14122 };
14123
322913ce
RD
14124 arg2 = &temp2;
14125 arg3 = &temp3;
14126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalOriginTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
14127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14129 {
14130 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 14131 ((wxDC const *)arg1)->GetLogicalOrigin(arg2,arg3);
d14a1e28
RD
14132
14133 wxPyEndAllowThreads(__tstate);
14134 if (PyErr_Occurred()) SWIG_fail;
14135 }
322913ce 14136 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28 14137 {
322913ce
RD
14138 PyObject *o = PyInt_FromLong((long) (*arg2));
14139 resultobj = t_output_helper(resultobj,o);
14140 }
14141 {
14142 PyObject *o = PyInt_FromLong((long) (*arg3));
14143 resultobj = t_output_helper(resultobj,o);
d14a1e28
RD
14144 }
14145 return resultobj;
14146 fail:
14147 return NULL;
14148}
14149
14150
14151static PyObject *_wrap_DC_SetLogicalOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
14152 PyObject *resultobj;
14153 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
14154 int arg2 ;
14155 int arg3 ;
d14a1e28 14156 PyObject * obj0 = 0 ;
994141e6
RD
14157 PyObject * obj1 = 0 ;
14158 PyObject * obj2 = 0 ;
d14a1e28
RD
14159 char *kwnames[] = {
14160 (char *) "self",(char *) "x",(char *) "y", NULL
14161 };
14162
994141e6 14163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14166 arg2 = (int) SWIG_AsInt(obj1);
14167 if (PyErr_Occurred()) SWIG_fail;
14168 arg3 = (int) SWIG_AsInt(obj2);
14169 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14170 {
14171 PyThreadState* __tstate = wxPyBeginAllowThreads();
14172 (arg1)->SetLogicalOrigin(arg2,arg3);
14173
14174 wxPyEndAllowThreads(__tstate);
14175 if (PyErr_Occurred()) SWIG_fail;
14176 }
14177 Py_INCREF(Py_None); resultobj = Py_None;
14178 return resultobj;
14179 fail:
14180 return NULL;
14181}
14182
14183
03e37cd5
RD
14184static PyObject *_wrap_DC_SetLogicalOriginPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
14185 PyObject *resultobj;
14186 wxDC *arg1 = (wxDC *) 0 ;
14187 wxPoint *arg2 = 0 ;
14188 wxPoint temp2 ;
14189 PyObject * obj0 = 0 ;
14190 PyObject * obj1 = 0 ;
14191 char *kwnames[] = {
14192 (char *) "self",(char *) "point", NULL
14193 };
14194
14195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetLogicalOriginPoint",kwnames,&obj0,&obj1)) goto fail;
14196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14198 {
14199 arg2 = &temp2;
14200 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14201 }
14202 {
14203 PyThreadState* __tstate = wxPyBeginAllowThreads();
14204 wxDC_SetLogicalOriginPoint(arg1,(wxPoint const &)*arg2);
14205
14206 wxPyEndAllowThreads(__tstate);
14207 if (PyErr_Occurred()) SWIG_fail;
14208 }
14209 Py_INCREF(Py_None); resultobj = Py_None;
14210 return resultobj;
14211 fail:
14212 return NULL;
14213}
14214
14215
322913ce 14216static PyObject *_wrap_DC_GetDeviceOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14217 PyObject *resultobj;
14218 wxDC *arg1 = (wxDC *) 0 ;
322913ce 14219 wxPoint result;
d14a1e28
RD
14220 PyObject * obj0 = 0 ;
14221 char *kwnames[] = {
14222 (char *) "self", NULL
14223 };
14224
322913ce 14225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetDeviceOrigin",kwnames,&obj0)) goto fail;
15afbcd0
RD
14226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14228 {
14229 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 14230 result = ((wxDC const *)arg1)->GetDeviceOrigin();
d14a1e28
RD
14231
14232 wxPyEndAllowThreads(__tstate);
14233 if (PyErr_Occurred()) SWIG_fail;
14234 }
d14a1e28 14235 {
322913ce
RD
14236 wxPoint * resultptr;
14237 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14238 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14239 }
14240 return resultobj;
14241 fail:
14242 return NULL;
14243}
14244
14245
322913ce 14246static PyObject *_wrap_DC_GetDeviceOriginTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14247 PyObject *resultobj;
14248 wxDC *arg1 = (wxDC *) 0 ;
322913ce
RD
14249 int *arg2 = (int *) 0 ;
14250 int *arg3 = (int *) 0 ;
14251 int temp2 ;
14252 int temp3 ;
d14a1e28
RD
14253 PyObject * obj0 = 0 ;
14254 char *kwnames[] = {
14255 (char *) "self", NULL
14256 };
14257
322913ce
RD
14258 arg2 = &temp2;
14259 arg3 = &temp3;
14260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetDeviceOriginTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
14261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14263 {
14264 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 14265 ((wxDC const *)arg1)->GetDeviceOrigin(arg2,arg3);
d14a1e28
RD
14266
14267 wxPyEndAllowThreads(__tstate);
14268 if (PyErr_Occurred()) SWIG_fail;
14269 }
322913ce 14270 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28 14271 {
322913ce
RD
14272 PyObject *o = PyInt_FromLong((long) (*arg2));
14273 resultobj = t_output_helper(resultobj,o);
14274 }
14275 {
14276 PyObject *o = PyInt_FromLong((long) (*arg3));
14277 resultobj = t_output_helper(resultobj,o);
d14a1e28
RD
14278 }
14279 return resultobj;
14280 fail:
14281 return NULL;
14282}
14283
14284
14285static PyObject *_wrap_DC_SetDeviceOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
14286 PyObject *resultobj;
14287 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
14288 int arg2 ;
14289 int arg3 ;
d14a1e28 14290 PyObject * obj0 = 0 ;
994141e6
RD
14291 PyObject * obj1 = 0 ;
14292 PyObject * obj2 = 0 ;
d14a1e28
RD
14293 char *kwnames[] = {
14294 (char *) "self",(char *) "x",(char *) "y", NULL
14295 };
14296
994141e6 14297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetDeviceOrigin",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14300 arg2 = (int) SWIG_AsInt(obj1);
14301 if (PyErr_Occurred()) SWIG_fail;
14302 arg3 = (int) SWIG_AsInt(obj2);
14303 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14304 {
14305 PyThreadState* __tstate = wxPyBeginAllowThreads();
14306 (arg1)->SetDeviceOrigin(arg2,arg3);
14307
14308 wxPyEndAllowThreads(__tstate);
14309 if (PyErr_Occurred()) SWIG_fail;
14310 }
14311 Py_INCREF(Py_None); resultobj = Py_None;
14312 return resultobj;
14313 fail:
14314 return NULL;
14315}
14316
14317
03e37cd5
RD
14318static PyObject *_wrap_DC_SetDeviceOriginPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
14319 PyObject *resultobj;
14320 wxDC *arg1 = (wxDC *) 0 ;
14321 wxPoint *arg2 = 0 ;
14322 wxPoint temp2 ;
14323 PyObject * obj0 = 0 ;
14324 PyObject * obj1 = 0 ;
14325 char *kwnames[] = {
14326 (char *) "self",(char *) "point", NULL
14327 };
14328
14329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetDeviceOriginPoint",kwnames,&obj0,&obj1)) goto fail;
14330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14332 {
14333 arg2 = &temp2;
14334 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14335 }
14336 {
14337 PyThreadState* __tstate = wxPyBeginAllowThreads();
14338 wxDC_SetDeviceOriginPoint(arg1,(wxPoint const &)*arg2);
14339
14340 wxPyEndAllowThreads(__tstate);
14341 if (PyErr_Occurred()) SWIG_fail;
14342 }
14343 Py_INCREF(Py_None); resultobj = Py_None;
14344 return resultobj;
14345 fail:
14346 return NULL;
14347}
14348
14349
d14a1e28
RD
14350static PyObject *_wrap_DC_SetAxisOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
14351 PyObject *resultobj;
14352 wxDC *arg1 = (wxDC *) 0 ;
14353 bool arg2 ;
14354 bool arg3 ;
14355 PyObject * obj0 = 0 ;
14356 PyObject * obj1 = 0 ;
14357 PyObject * obj2 = 0 ;
14358 char *kwnames[] = {
14359 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14360 };
14361
14362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_SetAxisOrientation",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14365 arg2 = (bool) SWIG_AsBool(obj1);
14366 if (PyErr_Occurred()) SWIG_fail;
14367 arg3 = (bool) SWIG_AsBool(obj2);
14368 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14369 {
14370 PyThreadState* __tstate = wxPyBeginAllowThreads();
14371 (arg1)->SetAxisOrientation(arg2,arg3);
14372
14373 wxPyEndAllowThreads(__tstate);
14374 if (PyErr_Occurred()) SWIG_fail;
14375 }
14376 Py_INCREF(Py_None); resultobj = Py_None;
14377 return resultobj;
14378 fail:
14379 return NULL;
14380}
14381
14382
14383static PyObject *_wrap_DC_GetLogicalFunction(PyObject *self, PyObject *args, PyObject *kwargs) {
14384 PyObject *resultobj;
14385 wxDC *arg1 = (wxDC *) 0 ;
14386 int result;
14387 PyObject * obj0 = 0 ;
14388 char *kwnames[] = {
14389 (char *) "self", NULL
14390 };
14391
14392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetLogicalFunction",kwnames,&obj0)) goto fail;
15afbcd0
RD
14393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14395 {
14396 PyThreadState* __tstate = wxPyBeginAllowThreads();
14397 result = (int)((wxDC const *)arg1)->GetLogicalFunction();
14398
14399 wxPyEndAllowThreads(__tstate);
14400 if (PyErr_Occurred()) SWIG_fail;
14401 }
15afbcd0 14402 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14403 return resultobj;
14404 fail:
14405 return NULL;
14406}
14407
14408
14409static PyObject *_wrap_DC_SetLogicalFunction(PyObject *self, PyObject *args, PyObject *kwargs) {
14410 PyObject *resultobj;
14411 wxDC *arg1 = (wxDC *) 0 ;
14412 int arg2 ;
14413 PyObject * obj0 = 0 ;
994141e6 14414 PyObject * obj1 = 0 ;
d14a1e28
RD
14415 char *kwnames[] = {
14416 (char *) "self",(char *) "function", NULL
14417 };
14418
994141e6 14419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetLogicalFunction",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14422 arg2 = (int) SWIG_AsInt(obj1);
14423 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14424 {
14425 PyThreadState* __tstate = wxPyBeginAllowThreads();
14426 (arg1)->SetLogicalFunction(arg2);
14427
14428 wxPyEndAllowThreads(__tstate);
14429 if (PyErr_Occurred()) SWIG_fail;
14430 }
14431 Py_INCREF(Py_None); resultobj = Py_None;
14432 return resultobj;
14433 fail:
14434 return NULL;
14435}
14436
14437
14438static PyObject *_wrap_DC_SetOptimization(PyObject *self, PyObject *args, PyObject *kwargs) {
14439 PyObject *resultobj;
14440 wxDC *arg1 = (wxDC *) 0 ;
14441 bool arg2 ;
14442 PyObject * obj0 = 0 ;
14443 PyObject * obj1 = 0 ;
14444 char *kwnames[] = {
14445 (char *) "self",(char *) "opt", NULL
14446 };
14447
14448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_SetOptimization",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14451 arg2 = (bool) SWIG_AsBool(obj1);
14452 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14453 {
14454 PyThreadState* __tstate = wxPyBeginAllowThreads();
14455 (arg1)->SetOptimization(arg2);
14456
14457 wxPyEndAllowThreads(__tstate);
14458 if (PyErr_Occurred()) SWIG_fail;
14459 }
14460 Py_INCREF(Py_None); resultobj = Py_None;
14461 return resultobj;
14462 fail:
14463 return NULL;
14464}
14465
14466
14467static PyObject *_wrap_DC_GetOptimization(PyObject *self, PyObject *args, PyObject *kwargs) {
14468 PyObject *resultobj;
14469 wxDC *arg1 = (wxDC *) 0 ;
14470 bool result;
14471 PyObject * obj0 = 0 ;
14472 char *kwnames[] = {
14473 (char *) "self", NULL
14474 };
14475
14476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetOptimization",kwnames,&obj0)) goto fail;
15afbcd0
RD
14477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14479 {
14480 PyThreadState* __tstate = wxPyBeginAllowThreads();
14481 result = (bool)(arg1)->GetOptimization();
14482
14483 wxPyEndAllowThreads(__tstate);
14484 if (PyErr_Occurred()) SWIG_fail;
14485 }
4f89f6a3
RD
14486 {
14487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14488 }
d14a1e28
RD
14489 return resultobj;
14490 fail:
14491 return NULL;
14492}
14493
14494
14495static PyObject *_wrap_DC_CalcBoundingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
14496 PyObject *resultobj;
14497 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce
RD
14498 int arg2 ;
14499 int arg3 ;
d14a1e28 14500 PyObject * obj0 = 0 ;
994141e6
RD
14501 PyObject * obj1 = 0 ;
14502 PyObject * obj2 = 0 ;
d14a1e28
RD
14503 char *kwnames[] = {
14504 (char *) "self",(char *) "x",(char *) "y", NULL
14505 };
14506
994141e6 14507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DC_CalcBoundingBox",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14510 arg2 = (int) SWIG_AsInt(obj1);
14511 if (PyErr_Occurred()) SWIG_fail;
14512 arg3 = (int) SWIG_AsInt(obj2);
14513 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14514 {
14515 PyThreadState* __tstate = wxPyBeginAllowThreads();
14516 (arg1)->CalcBoundingBox(arg2,arg3);
14517
14518 wxPyEndAllowThreads(__tstate);
14519 if (PyErr_Occurred()) SWIG_fail;
14520 }
14521 Py_INCREF(Py_None); resultobj = Py_None;
14522 return resultobj;
14523 fail:
14524 return NULL;
14525}
14526
14527
03e37cd5
RD
14528static PyObject *_wrap_DC_CalcBoundingBoxPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
14529 PyObject *resultobj;
14530 wxDC *arg1 = (wxDC *) 0 ;
14531 wxPoint *arg2 = 0 ;
14532 wxPoint temp2 ;
14533 PyObject * obj0 = 0 ;
14534 PyObject * obj1 = 0 ;
14535 char *kwnames[] = {
14536 (char *) "self",(char *) "point", NULL
14537 };
14538
14539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames,&obj0,&obj1)) goto fail;
14540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14542 {
14543 arg2 = &temp2;
14544 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14545 }
14546 {
14547 PyThreadState* __tstate = wxPyBeginAllowThreads();
14548 wxDC_CalcBoundingBoxPoint(arg1,(wxPoint const &)*arg2);
14549
14550 wxPyEndAllowThreads(__tstate);
14551 if (PyErr_Occurred()) SWIG_fail;
14552 }
14553 Py_INCREF(Py_None); resultobj = Py_None;
14554 return resultobj;
14555 fail:
14556 return NULL;
14557}
14558
14559
d14a1e28
RD
14560static PyObject *_wrap_DC_ResetBoundingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
14561 PyObject *resultobj;
14562 wxDC *arg1 = (wxDC *) 0 ;
14563 PyObject * obj0 = 0 ;
14564 char *kwnames[] = {
14565 (char *) "self", NULL
14566 };
14567
14568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_ResetBoundingBox",kwnames,&obj0)) goto fail;
15afbcd0
RD
14569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14571 {
14572 PyThreadState* __tstate = wxPyBeginAllowThreads();
14573 (arg1)->ResetBoundingBox();
14574
14575 wxPyEndAllowThreads(__tstate);
14576 if (PyErr_Occurred()) SWIG_fail;
14577 }
14578 Py_INCREF(Py_None); resultobj = Py_None;
14579 return resultobj;
14580 fail:
14581 return NULL;
14582}
14583
14584
14585static PyObject *_wrap_DC_MinX(PyObject *self, PyObject *args, PyObject *kwargs) {
14586 PyObject *resultobj;
14587 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce 14588 int result;
d14a1e28
RD
14589 PyObject * obj0 = 0 ;
14590 char *kwnames[] = {
14591 (char *) "self", NULL
14592 };
14593
14594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MinX",kwnames,&obj0)) goto fail;
15afbcd0
RD
14595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14597 {
14598 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14599 result = (int)((wxDC const *)arg1)->MinX();
d14a1e28
RD
14600
14601 wxPyEndAllowThreads(__tstate);
14602 if (PyErr_Occurred()) SWIG_fail;
14603 }
15afbcd0 14604 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14605 return resultobj;
14606 fail:
14607 return NULL;
14608}
14609
14610
14611static PyObject *_wrap_DC_MaxX(PyObject *self, PyObject *args, PyObject *kwargs) {
14612 PyObject *resultobj;
14613 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce 14614 int result;
d14a1e28
RD
14615 PyObject * obj0 = 0 ;
14616 char *kwnames[] = {
14617 (char *) "self", NULL
14618 };
14619
14620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MaxX",kwnames,&obj0)) goto fail;
15afbcd0
RD
14621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14623 {
14624 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14625 result = (int)((wxDC const *)arg1)->MaxX();
d14a1e28
RD
14626
14627 wxPyEndAllowThreads(__tstate);
14628 if (PyErr_Occurred()) SWIG_fail;
14629 }
15afbcd0 14630 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14631 return resultobj;
14632 fail:
14633 return NULL;
14634}
14635
14636
14637static PyObject *_wrap_DC_MinY(PyObject *self, PyObject *args, PyObject *kwargs) {
14638 PyObject *resultobj;
14639 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce 14640 int result;
d14a1e28
RD
14641 PyObject * obj0 = 0 ;
14642 char *kwnames[] = {
14643 (char *) "self", NULL
14644 };
14645
14646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MinY",kwnames,&obj0)) goto fail;
15afbcd0
RD
14647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14649 {
14650 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14651 result = (int)((wxDC const *)arg1)->MinY();
d14a1e28
RD
14652
14653 wxPyEndAllowThreads(__tstate);
14654 if (PyErr_Occurred()) SWIG_fail;
14655 }
15afbcd0 14656 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14657 return resultobj;
14658 fail:
14659 return NULL;
14660}
14661
14662
14663static PyObject *_wrap_DC_MaxY(PyObject *self, PyObject *args, PyObject *kwargs) {
14664 PyObject *resultobj;
14665 wxDC *arg1 = (wxDC *) 0 ;
e811c8ce 14666 int result;
d14a1e28
RD
14667 PyObject * obj0 = 0 ;
14668 char *kwnames[] = {
14669 (char *) "self", NULL
14670 };
14671
14672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_MaxY",kwnames,&obj0)) goto fail;
15afbcd0
RD
14673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14675 {
14676 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14677 result = (int)((wxDC const *)arg1)->MaxY();
d14a1e28
RD
14678
14679 wxPyEndAllowThreads(__tstate);
14680 if (PyErr_Occurred()) SWIG_fail;
14681 }
15afbcd0 14682 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14683 return resultobj;
14684 fail:
14685 return NULL;
14686}
14687
14688
14689static PyObject *_wrap_DC_GetBoundingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
14690 PyObject *resultobj;
14691 wxDC *arg1 = (wxDC *) 0 ;
14692 int *arg2 = (int *) 0 ;
14693 int *arg3 = (int *) 0 ;
14694 int *arg4 = (int *) 0 ;
14695 int *arg5 = (int *) 0 ;
14696 int temp2 ;
14697 int temp3 ;
14698 int temp4 ;
14699 int temp5 ;
14700 PyObject * obj0 = 0 ;
14701 char *kwnames[] = {
14702 (char *) "self", NULL
14703 };
14704
14705 arg2 = &temp2;
14706 arg3 = &temp3;
14707 arg4 = &temp4;
14708 arg5 = &temp5;
14709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DC_GetBoundingBox",kwnames,&obj0)) goto fail;
15afbcd0
RD
14710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14712 {
14713 PyThreadState* __tstate = wxPyBeginAllowThreads();
14714 wxDC_GetBoundingBox(arg1,arg2,arg3,arg4,arg5);
14715
14716 wxPyEndAllowThreads(__tstate);
14717 if (PyErr_Occurred()) SWIG_fail;
14718 }
14719 Py_INCREF(Py_None); resultobj = Py_None;
14720 {
14721 PyObject *o = PyInt_FromLong((long) (*arg2));
14722 resultobj = t_output_helper(resultobj,o);
14723 }
14724 {
14725 PyObject *o = PyInt_FromLong((long) (*arg3));
14726 resultobj = t_output_helper(resultobj,o);
14727 }
14728 {
14729 PyObject *o = PyInt_FromLong((long) (*arg4));
14730 resultobj = t_output_helper(resultobj,o);
14731 }
14732 {
14733 PyObject *o = PyInt_FromLong((long) (*arg5));
14734 resultobj = t_output_helper(resultobj,o);
14735 }
14736 return resultobj;
14737 fail:
14738 return NULL;
14739}
14740
14741
14742static PyObject *_wrap_DC__DrawPointList(PyObject *self, PyObject *args, PyObject *kwargs) {
14743 PyObject *resultobj;
14744 wxDC *arg1 = (wxDC *) 0 ;
14745 PyObject *arg2 = (PyObject *) 0 ;
14746 PyObject *arg3 = (PyObject *) 0 ;
14747 PyObject *arg4 = (PyObject *) 0 ;
14748 PyObject *result;
14749 PyObject * obj0 = 0 ;
14750 PyObject * obj1 = 0 ;
14751 PyObject * obj2 = 0 ;
14752 PyObject * obj3 = 0 ;
14753 char *kwnames[] = {
14754 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14755 };
14756
14757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawPointList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
14758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14760 arg2 = obj1;
14761 arg3 = obj2;
14762 arg4 = obj3;
14763 {
14764 PyThreadState* __tstate = wxPyBeginAllowThreads();
14765 result = (PyObject *)wxDC__DrawPointList(arg1,arg2,arg3,arg4);
14766
14767 wxPyEndAllowThreads(__tstate);
14768 if (PyErr_Occurred()) SWIG_fail;
14769 }
14770 resultobj = result;
14771 return resultobj;
14772 fail:
14773 return NULL;
14774}
14775
14776
14777static PyObject *_wrap_DC__DrawLineList(PyObject *self, PyObject *args, PyObject *kwargs) {
14778 PyObject *resultobj;
14779 wxDC *arg1 = (wxDC *) 0 ;
14780 PyObject *arg2 = (PyObject *) 0 ;
14781 PyObject *arg3 = (PyObject *) 0 ;
14782 PyObject *arg4 = (PyObject *) 0 ;
14783 PyObject *result;
14784 PyObject * obj0 = 0 ;
14785 PyObject * obj1 = 0 ;
14786 PyObject * obj2 = 0 ;
14787 PyObject * obj3 = 0 ;
14788 char *kwnames[] = {
14789 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14790 };
14791
14792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawLineList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
14793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14795 arg2 = obj1;
14796 arg3 = obj2;
14797 arg4 = obj3;
14798 {
14799 PyThreadState* __tstate = wxPyBeginAllowThreads();
14800 result = (PyObject *)wxDC__DrawLineList(arg1,arg2,arg3,arg4);
14801
14802 wxPyEndAllowThreads(__tstate);
14803 if (PyErr_Occurred()) SWIG_fail;
14804 }
14805 resultobj = result;
14806 return resultobj;
14807 fail:
14808 return NULL;
14809}
14810
14811
14812static PyObject *_wrap_DC__DrawRectangleList(PyObject *self, PyObject *args, PyObject *kwargs) {
14813 PyObject *resultobj;
14814 wxDC *arg1 = (wxDC *) 0 ;
14815 PyObject *arg2 = (PyObject *) 0 ;
14816 PyObject *arg3 = (PyObject *) 0 ;
14817 PyObject *arg4 = (PyObject *) 0 ;
14818 PyObject *result;
14819 PyObject * obj0 = 0 ;
14820 PyObject * obj1 = 0 ;
14821 PyObject * obj2 = 0 ;
14822 PyObject * obj3 = 0 ;
14823 char *kwnames[] = {
14824 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14825 };
14826
14827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawRectangleList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
14828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14830 arg2 = obj1;
14831 arg3 = obj2;
14832 arg4 = obj3;
14833 {
14834 PyThreadState* __tstate = wxPyBeginAllowThreads();
14835 result = (PyObject *)wxDC__DrawRectangleList(arg1,arg2,arg3,arg4);
14836
14837 wxPyEndAllowThreads(__tstate);
14838 if (PyErr_Occurred()) SWIG_fail;
14839 }
14840 resultobj = result;
14841 return resultobj;
14842 fail:
14843 return NULL;
14844}
14845
14846
14847static PyObject *_wrap_DC__DrawEllipseList(PyObject *self, PyObject *args, PyObject *kwargs) {
14848 PyObject *resultobj;
14849 wxDC *arg1 = (wxDC *) 0 ;
14850 PyObject *arg2 = (PyObject *) 0 ;
14851 PyObject *arg3 = (PyObject *) 0 ;
14852 PyObject *arg4 = (PyObject *) 0 ;
14853 PyObject *result;
14854 PyObject * obj0 = 0 ;
14855 PyObject * obj1 = 0 ;
14856 PyObject * obj2 = 0 ;
14857 PyObject * obj3 = 0 ;
14858 char *kwnames[] = {
14859 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14860 };
14861
14862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawEllipseList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
14863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14865 arg2 = obj1;
14866 arg3 = obj2;
14867 arg4 = obj3;
14868 {
14869 PyThreadState* __tstate = wxPyBeginAllowThreads();
14870 result = (PyObject *)wxDC__DrawEllipseList(arg1,arg2,arg3,arg4);
14871
14872 wxPyEndAllowThreads(__tstate);
14873 if (PyErr_Occurred()) SWIG_fail;
14874 }
14875 resultobj = result;
14876 return resultobj;
14877 fail:
14878 return NULL;
14879}
14880
14881
14882static PyObject *_wrap_DC__DrawPolygonList(PyObject *self, PyObject *args, PyObject *kwargs) {
14883 PyObject *resultobj;
14884 wxDC *arg1 = (wxDC *) 0 ;
14885 PyObject *arg2 = (PyObject *) 0 ;
14886 PyObject *arg3 = (PyObject *) 0 ;
14887 PyObject *arg4 = (PyObject *) 0 ;
14888 PyObject *result;
14889 PyObject * obj0 = 0 ;
14890 PyObject * obj1 = 0 ;
14891 PyObject * obj2 = 0 ;
14892 PyObject * obj3 = 0 ;
14893 char *kwnames[] = {
14894 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14895 };
14896
14897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DC__DrawPolygonList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
14898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14900 arg2 = obj1;
14901 arg3 = obj2;
14902 arg4 = obj3;
14903 {
14904 PyThreadState* __tstate = wxPyBeginAllowThreads();
14905 result = (PyObject *)wxDC__DrawPolygonList(arg1,arg2,arg3,arg4);
14906
14907 wxPyEndAllowThreads(__tstate);
14908 if (PyErr_Occurred()) SWIG_fail;
14909 }
14910 resultobj = result;
14911 return resultobj;
14912 fail:
14913 return NULL;
14914}
14915
14916
14917static PyObject *_wrap_DC__DrawTextList(PyObject *self, PyObject *args, PyObject *kwargs) {
14918 PyObject *resultobj;
14919 wxDC *arg1 = (wxDC *) 0 ;
14920 PyObject *arg2 = (PyObject *) 0 ;
14921 PyObject *arg3 = (PyObject *) 0 ;
14922 PyObject *arg4 = (PyObject *) 0 ;
14923 PyObject *arg5 = (PyObject *) 0 ;
14924 PyObject *result;
14925 PyObject * obj0 = 0 ;
14926 PyObject * obj1 = 0 ;
14927 PyObject * obj2 = 0 ;
14928 PyObject * obj3 = 0 ;
14929 PyObject * obj4 = 0 ;
14930 char *kwnames[] = {
14931 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14932 };
14933
14934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DC__DrawTextList",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
14935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14937 arg2 = obj1;
14938 arg3 = obj2;
14939 arg4 = obj3;
14940 arg5 = obj4;
14941 {
14942 PyThreadState* __tstate = wxPyBeginAllowThreads();
14943 result = (PyObject *)wxDC__DrawTextList(arg1,arg2,arg3,arg4,arg5);
14944
14945 wxPyEndAllowThreads(__tstate);
14946 if (PyErr_Occurred()) SWIG_fail;
14947 }
14948 resultobj = result;
14949 return resultobj;
14950 fail:
14951 return NULL;
14952}
14953
14954
14955static PyObject * DC_swigregister(PyObject *self, PyObject *args) {
14956 PyObject *obj;
14957 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14958 SWIG_TypeClientData(SWIGTYPE_p_wxDC, obj);
14959 Py_INCREF(obj);
14960 return Py_BuildValue((char *)"");
14961}
14962static PyObject *_wrap_new_MemoryDC(PyObject *self, PyObject *args, PyObject *kwargs) {
14963 PyObject *resultobj;
14964 wxMemoryDC *result;
14965 char *kwnames[] = {
14966 NULL
14967 };
14968
14969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryDC",kwnames)) goto fail;
14970 {
14971 PyThreadState* __tstate = wxPyBeginAllowThreads();
14972 result = (wxMemoryDC *)new wxMemoryDC();
14973
14974 wxPyEndAllowThreads(__tstate);
14975 if (PyErr_Occurred()) SWIG_fail;
14976 }
15afbcd0 14977 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryDC, 1);
d14a1e28
RD
14978 return resultobj;
14979 fail:
14980 return NULL;
14981}
14982
14983
14984static PyObject *_wrap_new_MemoryDCFromDC(PyObject *self, PyObject *args, PyObject *kwargs) {
14985 PyObject *resultobj;
14986 wxDC *arg1 = (wxDC *) 0 ;
14987 wxMemoryDC *result;
14988 PyObject * obj0 = 0 ;
14989 char *kwnames[] = {
14990 (char *) "oldDC", NULL
14991 };
14992
14993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_MemoryDCFromDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
14994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
14995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14996 {
14997 PyThreadState* __tstate = wxPyBeginAllowThreads();
14998 result = (wxMemoryDC *)new wxMemoryDC(arg1);
14999
15000 wxPyEndAllowThreads(__tstate);
15001 if (PyErr_Occurred()) SWIG_fail;
15002 }
15afbcd0 15003 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryDC, 1);
d14a1e28
RD
15004 return resultobj;
15005 fail:
15006 return NULL;
15007}
15008
15009
15010static PyObject *_wrap_MemoryDC_SelectObject(PyObject *self, PyObject *args, PyObject *kwargs) {
15011 PyObject *resultobj;
15012 wxMemoryDC *arg1 = (wxMemoryDC *) 0 ;
15013 wxBitmap *arg2 = 0 ;
15014 PyObject * obj0 = 0 ;
15015 PyObject * obj1 = 0 ;
15016 char *kwnames[] = {
15017 (char *) "self",(char *) "bitmap", NULL
15018 };
15019
15020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryDC_SelectObject",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryDC,
15022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15023 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15024 SWIG_POINTER_EXCEPTION | 0)) == -1)
15025 SWIG_fail;
d14a1e28 15026 if (arg2 == NULL) {
15afbcd0
RD
15027 PyErr_SetString(PyExc_TypeError,"null reference");
15028 SWIG_fail;
d14a1e28
RD
15029 }
15030 {
15031 PyThreadState* __tstate = wxPyBeginAllowThreads();
15032 (arg1)->SelectObject((wxBitmap const &)*arg2);
15033
15034 wxPyEndAllowThreads(__tstate);
15035 if (PyErr_Occurred()) SWIG_fail;
15036 }
15037 Py_INCREF(Py_None); resultobj = Py_None;
15038 return resultobj;
15039 fail:
15040 return NULL;
15041}
15042
15043
15044static PyObject * MemoryDC_swigregister(PyObject *self, PyObject *args) {
15045 PyObject *obj;
15046 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15047 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC, obj);
15048 Py_INCREF(obj);
15049 return Py_BuildValue((char *)"");
15050}
3adfb63b 15051static PyObject *_wrap_new_BufferedDC__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28
RD
15052 PyObject *resultobj;
15053 wxDC *arg1 = (wxDC *) 0 ;
15054 wxBitmap *arg2 = 0 ;
15055 wxBufferedDC *result;
15056 PyObject * obj0 = 0 ;
15057 PyObject * obj1 = 0 ;
d14a1e28 15058
3adfb63b 15059 if(!PyArg_ParseTuple(args,(char *)"OO:new_BufferedDC",&obj0,&obj1)) goto fail;
15afbcd0
RD
15060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15062 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15063 SWIG_POINTER_EXCEPTION | 0)) == -1)
15064 SWIG_fail;
d14a1e28 15065 if (arg2 == NULL) {
15afbcd0
RD
15066 PyErr_SetString(PyExc_TypeError,"null reference");
15067 SWIG_fail;
d14a1e28
RD
15068 }
15069 {
15070 PyThreadState* __tstate = wxPyBeginAllowThreads();
15071 result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxBitmap const &)*arg2);
15072
15073 wxPyEndAllowThreads(__tstate);
15074 if (PyErr_Occurred()) SWIG_fail;
15075 }
15afbcd0 15076 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedDC, 1);
d14a1e28
RD
15077 return resultobj;
15078 fail:
15079 return NULL;
15080}
15081
15082
3adfb63b 15083static PyObject *_wrap_new_BufferedDC__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28
RD
15084 PyObject *resultobj;
15085 wxDC *arg1 = (wxDC *) 0 ;
15086 wxSize *arg2 = 0 ;
15087 wxBufferedDC *result;
15088 wxSize temp2 ;
15089 PyObject * obj0 = 0 ;
15090 PyObject * obj1 = 0 ;
3adfb63b 15091
e498079e 15092 if(!PyArg_ParseTuple(args,(char *)"OO:new_BufferedDC",&obj0,&obj1)) goto fail;
15afbcd0
RD
15093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3adfb63b
RD
15095 {
15096 arg2 = &temp2;
15097 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15098 }
3adfb63b
RD
15099 {
15100 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 15101 result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxSize const &)*arg2);
3adfb63b
RD
15102
15103 wxPyEndAllowThreads(__tstate);
15104 if (PyErr_Occurred()) SWIG_fail;
15105 }
15afbcd0 15106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedDC, 1);
3adfb63b
RD
15107 return resultobj;
15108 fail:
15109 return NULL;
15110}
15111
15112
15113static PyObject *_wrap_new_BufferedDC(PyObject *self, PyObject *args) {
15114 int argc;
e498079e 15115 PyObject *argv[3];
3adfb63b
RD
15116 int ii;
15117
15118 argc = PyObject_Length(args);
e498079e 15119 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
3adfb63b
RD
15120 argv[ii] = PyTuple_GetItem(args,ii);
15121 }
15122 if (argc == 2) {
15123 int _v;
15124 {
15125 void *ptr;
15afbcd0 15126 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDC, 0) == -1) {
3adfb63b
RD
15127 _v = 0;
15128 PyErr_Clear();
15129 } else {
15130 _v = 1;
15131 }
15132 }
15133 if (_v) {
15134 {
15135 void *ptr;
15afbcd0 15136 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxBitmap, 0) == -1) {
3adfb63b
RD
15137 _v = 0;
15138 PyErr_Clear();
15139 } else {
15140 _v = 1;
15141 }
15142 }
15143 if (_v) {
15144 return _wrap_new_BufferedDC__SWIG_0(self,args);
15145 }
15146 }
15147 }
e498079e 15148 if (argc == 2) {
3adfb63b
RD
15149 int _v;
15150 {
15151 void *ptr;
15afbcd0 15152 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDC, 0) == -1) {
3adfb63b
RD
15153 _v = 0;
15154 PyErr_Clear();
15155 } else {
15156 _v = 1;
15157 }
15158 }
15159 if (_v) {
15160 {
15161 _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2);
15162 }
15163 if (_v) {
e498079e 15164 return _wrap_new_BufferedDC__SWIG_1(self,args);
3adfb63b
RD
15165 }
15166 }
15167 }
15168
15169 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BufferedDC'");
15170 return NULL;
15171}
15172
15173
15174static PyObject *_wrap_new_BufferedDCInternalBuffer(PyObject *self, PyObject *args) {
15175 PyObject *resultobj;
15176 wxDC *arg1 = (wxDC *) 0 ;
15177 wxSize *arg2 = 0 ;
3adfb63b
RD
15178 wxBufferedDC *result;
15179 wxSize temp2 ;
15180 PyObject * obj0 = 0 ;
15181 PyObject * obj1 = 0 ;
d14a1e28 15182
e498079e 15183 if(!PyArg_ParseTuple(args,(char *)"OO:new_BufferedDCInternalBuffer",&obj0,&obj1)) goto fail;
15afbcd0
RD
15184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15186 {
15187 arg2 = &temp2;
15188 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15189 }
15190 {
15191 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 15192 result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxSize const &)*arg2);
d14a1e28
RD
15193
15194 wxPyEndAllowThreads(__tstate);
15195 if (PyErr_Occurred()) SWIG_fail;
15196 }
15afbcd0 15197 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedDC, 1);
d14a1e28
RD
15198 return resultobj;
15199 fail:
15200 return NULL;
15201}
15202
15203
e498079e 15204static PyObject *_wrap_delete_BufferedDC(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15205 PyObject *resultobj;
15206 wxBufferedDC *arg1 = (wxBufferedDC *) 0 ;
15207 PyObject * obj0 = 0 ;
15208 char *kwnames[] = {
15209 (char *) "self", NULL
15210 };
15211
e498079e 15212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BufferedDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
15213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBufferedDC,
15214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15215 {
15216 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 15217 delete arg1;
d14a1e28
RD
15218
15219 wxPyEndAllowThreads(__tstate);
15220 if (PyErr_Occurred()) SWIG_fail;
15221 }
15222 Py_INCREF(Py_None); resultobj = Py_None;
15223 return resultobj;
15224 fail:
15225 return NULL;
15226}
15227
15228
e498079e 15229static PyObject *_wrap_BufferedDC_UnMask(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 15230 PyObject *resultobj;
e498079e 15231 wxBufferedDC *arg1 = (wxBufferedDC *) 0 ;
3adfb63b 15232 PyObject * obj0 = 0 ;
e498079e
RD
15233 char *kwnames[] = {
15234 (char *) "self", NULL
15235 };
3adfb63b 15236
e498079e 15237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BufferedDC_UnMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
15238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBufferedDC,
15239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3adfb63b
RD
15240 {
15241 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 15242 (arg1)->UnMask();
3adfb63b
RD
15243
15244 wxPyEndAllowThreads(__tstate);
15245 if (PyErr_Occurred()) SWIG_fail;
15246 }
e498079e 15247 Py_INCREF(Py_None); resultobj = Py_None;
3adfb63b
RD
15248 return resultobj;
15249 fail:
15250 return NULL;
15251}
15252
15253
e498079e
RD
15254static PyObject * BufferedDC_swigregister(PyObject *self, PyObject *args) {
15255 PyObject *obj;
15256 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15257 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC, obj);
15258 Py_INCREF(obj);
15259 return Py_BuildValue((char *)"");
15260}
15261static PyObject *_wrap_new_BufferedPaintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
3adfb63b
RD
15262 PyObject *resultobj;
15263 wxWindow *arg1 = (wxWindow *) 0 ;
e498079e
RD
15264 wxBitmap const &arg2_defvalue = wxNullBitmap ;
15265 wxBitmap *arg2 = (wxBitmap *) &arg2_defvalue ;
d14a1e28
RD
15266 wxBufferedPaintDC *result;
15267 PyObject * obj0 = 0 ;
15268 PyObject * obj1 = 0 ;
e498079e
RD
15269 char *kwnames[] = {
15270 (char *) "window",(char *) "buffer", NULL
15271 };
d14a1e28 15272
e498079e 15273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_BufferedPaintDC",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15276 if (obj1) {
15afbcd0
RD
15277 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15278 SWIG_POINTER_EXCEPTION | 0)) == -1)
15279 SWIG_fail;
e498079e 15280 if (arg2 == NULL) {
15afbcd0
RD
15281 PyErr_SetString(PyExc_TypeError,"null reference");
15282 SWIG_fail;
d14a1e28
RD
15283 }
15284 }
15285 {
15286 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 15287 result = (wxBufferedPaintDC *)new wxBufferedPaintDC(arg1,(wxBitmap const &)*arg2);
d14a1e28
RD
15288
15289 wxPyEndAllowThreads(__tstate);
15290 if (PyErr_Occurred()) SWIG_fail;
15291 }
15afbcd0 15292 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedPaintDC, 1);
d14a1e28
RD
15293 return resultobj;
15294 fail:
15295 return NULL;
15296}
15297
15298
15299static PyObject * BufferedPaintDC_swigregister(PyObject *self, PyObject *args) {
15300 PyObject *obj;
15301 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15302 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC, obj);
15303 Py_INCREF(obj);
15304 return Py_BuildValue((char *)"");
15305}
15306static PyObject *_wrap_new_ScreenDC(PyObject *self, PyObject *args, PyObject *kwargs) {
15307 PyObject *resultobj;
15308 wxScreenDC *result;
15309 char *kwnames[] = {
15310 NULL
15311 };
15312
15313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ScreenDC",kwnames)) goto fail;
15314 {
15315 PyThreadState* __tstate = wxPyBeginAllowThreads();
15316 result = (wxScreenDC *)new wxScreenDC();
15317
15318 wxPyEndAllowThreads(__tstate);
15319 if (PyErr_Occurred()) SWIG_fail;
15320 }
15afbcd0 15321 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScreenDC, 1);
d14a1e28
RD
15322 return resultobj;
15323 fail:
15324 return NULL;
15325}
15326
15327
15328static PyObject *_wrap_ScreenDC_StartDrawingOnTopWin(PyObject *self, PyObject *args, PyObject *kwargs) {
15329 PyObject *resultobj;
15330 wxScreenDC *arg1 = (wxScreenDC *) 0 ;
15331 wxWindow *arg2 = (wxWindow *) 0 ;
15332 bool result;
15333 PyObject * obj0 = 0 ;
15334 PyObject * obj1 = 0 ;
15335 char *kwnames[] = {
15336 (char *) "self",(char *) "window", NULL
15337 };
15338
15339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScreenDC,
15341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15342 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15344 {
15345 PyThreadState* __tstate = wxPyBeginAllowThreads();
15346 result = (bool)(arg1)->StartDrawingOnTop(arg2);
15347
15348 wxPyEndAllowThreads(__tstate);
15349 if (PyErr_Occurred()) SWIG_fail;
15350 }
4f89f6a3
RD
15351 {
15352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15353 }
d14a1e28
RD
15354 return resultobj;
15355 fail:
15356 return NULL;
15357}
15358
15359
15360static PyObject *_wrap_ScreenDC_StartDrawingOnTop(PyObject *self, PyObject *args, PyObject *kwargs) {
15361 PyObject *resultobj;
15362 wxScreenDC *arg1 = (wxScreenDC *) 0 ;
15363 wxRect *arg2 = (wxRect *) NULL ;
15364 bool result;
15365 PyObject * obj0 = 0 ;
15366 PyObject * obj1 = 0 ;
15367 char *kwnames[] = {
15368 (char *) "self",(char *) "rect", NULL
15369 };
15370
15371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScreenDC,
15373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 15374 if (obj1) {
15afbcd0
RD
15375 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
15376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15377 }
15378 {
15379 PyThreadState* __tstate = wxPyBeginAllowThreads();
15380 result = (bool)(arg1)->StartDrawingOnTop(arg2);
15381
15382 wxPyEndAllowThreads(__tstate);
15383 if (PyErr_Occurred()) SWIG_fail;
15384 }
4f89f6a3
RD
15385 {
15386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15387 }
d14a1e28
RD
15388 return resultobj;
15389 fail:
15390 return NULL;
15391}
15392
15393
15394static PyObject *_wrap_ScreenDC_EndDrawingOnTop(PyObject *self, PyObject *args, PyObject *kwargs) {
15395 PyObject *resultobj;
15396 wxScreenDC *arg1 = (wxScreenDC *) 0 ;
15397 bool result;
15398 PyObject * obj0 = 0 ;
15399 char *kwnames[] = {
15400 (char *) "self", NULL
15401 };
15402
15403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames,&obj0)) goto fail;
15afbcd0
RD
15404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScreenDC,
15405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15406 {
15407 PyThreadState* __tstate = wxPyBeginAllowThreads();
15408 result = (bool)(arg1)->EndDrawingOnTop();
15409
15410 wxPyEndAllowThreads(__tstate);
15411 if (PyErr_Occurred()) SWIG_fail;
15412 }
4f89f6a3
RD
15413 {
15414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15415 }
d14a1e28
RD
15416 return resultobj;
15417 fail:
15418 return NULL;
15419}
15420
15421
15422static PyObject * ScreenDC_swigregister(PyObject *self, PyObject *args) {
15423 PyObject *obj;
15424 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15425 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC, obj);
15426 Py_INCREF(obj);
15427 return Py_BuildValue((char *)"");
15428}
15429static PyObject *_wrap_new_ClientDC(PyObject *self, PyObject *args, PyObject *kwargs) {
15430 PyObject *resultobj;
15431 wxWindow *arg1 = (wxWindow *) 0 ;
15432 wxClientDC *result;
15433 PyObject * obj0 = 0 ;
15434 char *kwnames[] = {
15435 (char *) "win", NULL
15436 };
15437
15438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ClientDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
15439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15441 {
15442 PyThreadState* __tstate = wxPyBeginAllowThreads();
15443 result = (wxClientDC *)new wxClientDC(arg1);
15444
15445 wxPyEndAllowThreads(__tstate);
15446 if (PyErr_Occurred()) SWIG_fail;
15447 }
15afbcd0 15448 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClientDC, 1);
d14a1e28
RD
15449 return resultobj;
15450 fail:
15451 return NULL;
15452}
15453
15454
15455static PyObject * ClientDC_swigregister(PyObject *self, PyObject *args) {
15456 PyObject *obj;
15457 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15458 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC, obj);
15459 Py_INCREF(obj);
15460 return Py_BuildValue((char *)"");
15461}
15462static PyObject *_wrap_new_PaintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
15463 PyObject *resultobj;
15464 wxWindow *arg1 = (wxWindow *) 0 ;
15465 wxPaintDC *result;
15466 PyObject * obj0 = 0 ;
15467 char *kwnames[] = {
15468 (char *) "win", NULL
15469 };
15470
15471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PaintDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
15472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15474 {
15475 PyThreadState* __tstate = wxPyBeginAllowThreads();
15476 result = (wxPaintDC *)new wxPaintDC(arg1);
15477
15478 wxPyEndAllowThreads(__tstate);
15479 if (PyErr_Occurred()) SWIG_fail;
15480 }
15afbcd0 15481 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintDC, 1);
d14a1e28
RD
15482 return resultobj;
15483 fail:
15484 return NULL;
15485}
15486
15487
15488static PyObject * PaintDC_swigregister(PyObject *self, PyObject *args) {
15489 PyObject *obj;
15490 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15491 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC, obj);
15492 Py_INCREF(obj);
15493 return Py_BuildValue((char *)"");
15494}
15495static PyObject *_wrap_new_WindowDC(PyObject *self, PyObject *args, PyObject *kwargs) {
15496 PyObject *resultobj;
15497 wxWindow *arg1 = (wxWindow *) 0 ;
15498 wxWindowDC *result;
15499 PyObject * obj0 = 0 ;
15500 char *kwnames[] = {
15501 (char *) "win", NULL
15502 };
15503
15504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_WindowDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
15505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15507 {
15508 PyThreadState* __tstate = wxPyBeginAllowThreads();
15509 result = (wxWindowDC *)new wxWindowDC(arg1);
15510
15511 wxPyEndAllowThreads(__tstate);
15512 if (PyErr_Occurred()) SWIG_fail;
15513 }
15afbcd0 15514 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDC, 1);
d14a1e28
RD
15515 return resultobj;
15516 fail:
15517 return NULL;
15518}
15519
15520
15521static PyObject * WindowDC_swigregister(PyObject *self, PyObject *args) {
15522 PyObject *obj;
15523 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15524 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC, obj);
15525 Py_INCREF(obj);
15526 return Py_BuildValue((char *)"");
15527}
15528static PyObject *_wrap_new_MirrorDC(PyObject *self, PyObject *args, PyObject *kwargs) {
15529 PyObject *resultobj;
15530 wxDC *arg1 = 0 ;
15531 bool arg2 ;
15532 wxMirrorDC *result;
15533 PyObject * obj0 = 0 ;
15534 PyObject * obj1 = 0 ;
15535 char *kwnames[] = {
15536 (char *) "dc",(char *) "mirror", NULL
15537 };
15538
15539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_MirrorDC",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDC,
15541 SWIG_POINTER_EXCEPTION | 0)) == -1)
15542 SWIG_fail;
d14a1e28 15543 if (arg1 == NULL) {
15afbcd0
RD
15544 PyErr_SetString(PyExc_TypeError,"null reference");
15545 SWIG_fail;
a41e16b6 15546 }
15afbcd0
RD
15547 arg2 = (bool) SWIG_AsBool(obj1);
15548 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15549 {
15550 PyThreadState* __tstate = wxPyBeginAllowThreads();
15551 result = (wxMirrorDC *)new wxMirrorDC(*arg1,arg2);
15552
15553 wxPyEndAllowThreads(__tstate);
15554 if (PyErr_Occurred()) SWIG_fail;
15555 }
15afbcd0 15556 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMirrorDC, 1);
d14a1e28
RD
15557 return resultobj;
15558 fail:
15559 return NULL;
15560}
15561
15562
15563static PyObject * MirrorDC_swigregister(PyObject *self, PyObject *args) {
15564 PyObject *obj;
15565 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15566 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC, obj);
15567 Py_INCREF(obj);
15568 return Py_BuildValue((char *)"");
15569}
15570static PyObject *_wrap_new_PostScriptDC(PyObject *self, PyObject *args, PyObject *kwargs) {
15571 PyObject *resultobj;
15572 wxPrintData *arg1 = 0 ;
15573 wxPostScriptDC *result;
15574 PyObject * obj0 = 0 ;
15575 char *kwnames[] = {
15576 (char *) "printData", NULL
15577 };
15578
15579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PostScriptDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
15580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
15581 SWIG_POINTER_EXCEPTION | 0)) == -1)
15582 SWIG_fail;
d14a1e28 15583 if (arg1 == NULL) {
15afbcd0
RD
15584 PyErr_SetString(PyExc_TypeError,"null reference");
15585 SWIG_fail;
d14a1e28
RD
15586 }
15587 {
15588 PyThreadState* __tstate = wxPyBeginAllowThreads();
15589 result = (wxPostScriptDC *)new wxPostScriptDC((wxPrintData const &)*arg1);
15590
15591 wxPyEndAllowThreads(__tstate);
15592 if (PyErr_Occurred()) SWIG_fail;
15593 }
15afbcd0 15594 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPostScriptDC, 1);
d14a1e28
RD
15595 return resultobj;
15596 fail:
15597 return NULL;
15598}
15599
15600
15601static PyObject *_wrap_PostScriptDC_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
15602 PyObject *resultobj;
15603 wxPostScriptDC *arg1 = (wxPostScriptDC *) 0 ;
15604 wxPrintData *result;
15605 PyObject * obj0 = 0 ;
15606 char *kwnames[] = {
15607 (char *) "self", NULL
15608 };
15609
15610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PostScriptDC_GetPrintData",kwnames,&obj0)) goto fail;
15afbcd0
RD
15611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPostScriptDC,
15612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15613 {
15614 PyThreadState* __tstate = wxPyBeginAllowThreads();
15615 {
15616 wxPrintData &_result_ref = (arg1)->GetPrintData();
15617 result = (wxPrintData *) &_result_ref;
15618 }
15619
15620 wxPyEndAllowThreads(__tstate);
15621 if (PyErr_Occurred()) SWIG_fail;
15622 }
15afbcd0 15623 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
15624 return resultobj;
15625 fail:
15626 return NULL;
15627}
15628
15629
15630static PyObject *_wrap_PostScriptDC_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
15631 PyObject *resultobj;
15632 wxPostScriptDC *arg1 = (wxPostScriptDC *) 0 ;
15633 wxPrintData *arg2 = 0 ;
15634 PyObject * obj0 = 0 ;
15635 PyObject * obj1 = 0 ;
15636 char *kwnames[] = {
15637 (char *) "self",(char *) "data", NULL
15638 };
15639
15640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostScriptDC_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPostScriptDC,
15642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15643 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
15644 SWIG_POINTER_EXCEPTION | 0)) == -1)
15645 SWIG_fail;
d14a1e28 15646 if (arg2 == NULL) {
15afbcd0
RD
15647 PyErr_SetString(PyExc_TypeError,"null reference");
15648 SWIG_fail;
d14a1e28
RD
15649 }
15650 {
15651 PyThreadState* __tstate = wxPyBeginAllowThreads();
15652 (arg1)->SetPrintData((wxPrintData const &)*arg2);
15653
15654 wxPyEndAllowThreads(__tstate);
15655 if (PyErr_Occurred()) SWIG_fail;
15656 }
15657 Py_INCREF(Py_None); resultobj = Py_None;
15658 return resultobj;
15659 fail:
15660 return NULL;
15661}
15662
15663
15664static PyObject *_wrap_PostScriptDC_SetResolution(PyObject *self, PyObject *args, PyObject *kwargs) {
15665 PyObject *resultobj;
15666 int arg1 ;
994141e6 15667 PyObject * obj0 = 0 ;
d14a1e28
RD
15668 char *kwnames[] = {
15669 (char *) "ppi", NULL
15670 };
15671
994141e6 15672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PostScriptDC_SetResolution",kwnames,&obj0)) goto fail;
15afbcd0
RD
15673 arg1 = (int) SWIG_AsInt(obj0);
15674 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15675 {
15676 PyThreadState* __tstate = wxPyBeginAllowThreads();
15677 wxPostScriptDC::SetResolution(arg1);
15678
15679 wxPyEndAllowThreads(__tstate);
15680 if (PyErr_Occurred()) SWIG_fail;
15681 }
15682 Py_INCREF(Py_None); resultobj = Py_None;
15683 return resultobj;
15684 fail:
15685 return NULL;
15686}
15687
15688
15689static PyObject *_wrap_PostScriptDC_GetResolution(PyObject *self, PyObject *args, PyObject *kwargs) {
15690 PyObject *resultobj;
15691 int result;
15692 char *kwnames[] = {
15693 NULL
15694 };
15695
15696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PostScriptDC_GetResolution",kwnames)) goto fail;
15697 {
15698 PyThreadState* __tstate = wxPyBeginAllowThreads();
15699 result = (int)wxPostScriptDC::GetResolution();
15700
15701 wxPyEndAllowThreads(__tstate);
15702 if (PyErr_Occurred()) SWIG_fail;
15703 }
15afbcd0 15704 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15705 return resultobj;
15706 fail:
15707 return NULL;
15708}
15709
15710
15711static PyObject * PostScriptDC_swigregister(PyObject *self, PyObject *args) {
15712 PyObject *obj;
15713 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15714 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC, obj);
15715 Py_INCREF(obj);
15716 return Py_BuildValue((char *)"");
15717}
15718static PyObject *_wrap_new_MetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
15719 PyObject *resultobj;
15720 wxString const &arg1_defvalue = wxPyEmptyString ;
15721 wxString *arg1 = (wxString *) &arg1_defvalue ;
15722 wxMetaFile *result;
e811c8ce 15723 bool temp1 = False ;
d14a1e28
RD
15724 PyObject * obj0 = 0 ;
15725 char *kwnames[] = {
15726 (char *) "filename", NULL
15727 };
15728
15729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MetaFile",kwnames,&obj0)) goto fail;
15730 if (obj0) {
15731 {
15732 arg1 = wxString_in_helper(obj0);
15733 if (arg1 == NULL) SWIG_fail;
e811c8ce 15734 temp1 = True;
d14a1e28
RD
15735 }
15736 }
15737 {
15738 PyThreadState* __tstate = wxPyBeginAllowThreads();
15739 result = (wxMetaFile *)new wxMetaFile((wxString const &)*arg1);
15740
15741 wxPyEndAllowThreads(__tstate);
15742 if (PyErr_Occurred()) SWIG_fail;
15743 }
15afbcd0 15744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetaFile, 1);
d14a1e28
RD
15745 {
15746 if (temp1)
15747 delete arg1;
15748 }
15749 return resultobj;
15750 fail:
15751 {
15752 if (temp1)
15753 delete arg1;
15754 }
15755 return NULL;
15756}
15757
15758
15759static PyObject * MetaFile_swigregister(PyObject *self, PyObject *args) {
15760 PyObject *obj;
15761 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15762 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile, obj);
15763 Py_INCREF(obj);
15764 return Py_BuildValue((char *)"");
15765}
15766static PyObject *_wrap_new_MetaFileDC(PyObject *self, PyObject *args, PyObject *kwargs) {
15767 PyObject *resultobj;
15768 wxString const &arg1_defvalue = wxPyEmptyString ;
15769 wxString *arg1 = (wxString *) &arg1_defvalue ;
15770 int arg2 = (int) 0 ;
15771 int arg3 = (int) 0 ;
15772 wxString const &arg4_defvalue = wxPyEmptyString ;
15773 wxString *arg4 = (wxString *) &arg4_defvalue ;
15774 wxMetaFileDC *result;
e811c8ce
RD
15775 bool temp1 = False ;
15776 bool temp4 = False ;
d14a1e28 15777 PyObject * obj0 = 0 ;
994141e6
RD
15778 PyObject * obj1 = 0 ;
15779 PyObject * obj2 = 0 ;
d14a1e28
RD
15780 PyObject * obj3 = 0 ;
15781 char *kwnames[] = {
15782 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15783 };
15784
994141e6 15785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_MetaFileDC",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
15786 if (obj0) {
15787 {
15788 arg1 = wxString_in_helper(obj0);
15789 if (arg1 == NULL) SWIG_fail;
e811c8ce 15790 temp1 = True;
d14a1e28
RD
15791 }
15792 }
994141e6 15793 if (obj1) {
15afbcd0
RD
15794 arg2 = (int) SWIG_AsInt(obj1);
15795 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15796 }
15797 if (obj2) {
15afbcd0
RD
15798 arg3 = (int) SWIG_AsInt(obj2);
15799 if (PyErr_Occurred()) SWIG_fail;
994141e6 15800 }
d14a1e28
RD
15801 if (obj3) {
15802 {
15803 arg4 = wxString_in_helper(obj3);
15804 if (arg4 == NULL) SWIG_fail;
e811c8ce 15805 temp4 = True;
d14a1e28
RD
15806 }
15807 }
15808 {
15809 PyThreadState* __tstate = wxPyBeginAllowThreads();
15810 result = (wxMetaFileDC *)new wxMetaFileDC((wxString const &)*arg1,arg2,arg3,(wxString const &)*arg4);
15811
15812 wxPyEndAllowThreads(__tstate);
15813 if (PyErr_Occurred()) SWIG_fail;
15814 }
15afbcd0 15815 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetaFileDC, 1);
d14a1e28
RD
15816 {
15817 if (temp1)
15818 delete arg1;
15819 }
15820 {
15821 if (temp4)
15822 delete arg4;
15823 }
15824 return resultobj;
15825 fail:
15826 {
15827 if (temp1)
15828 delete arg1;
15829 }
15830 {
15831 if (temp4)
15832 delete arg4;
15833 }
15834 return NULL;
15835}
15836
15837
15838static PyObject * MetaFileDC_swigregister(PyObject *self, PyObject *args) {
15839 PyObject *obj;
15840 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15841 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC, obj);
15842 Py_INCREF(obj);
15843 return Py_BuildValue((char *)"");
15844}
15845static PyObject *_wrap_new_PrinterDC(PyObject *self, PyObject *args, PyObject *kwargs) {
15846 PyObject *resultobj;
15847 wxPrintData *arg1 = 0 ;
15848 wxPrinterDC *result;
15849 PyObject * obj0 = 0 ;
15850 char *kwnames[] = {
15851 (char *) "printData", NULL
15852 };
15853
15854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PrinterDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
15855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
15856 SWIG_POINTER_EXCEPTION | 0)) == -1)
15857 SWIG_fail;
d14a1e28 15858 if (arg1 == NULL) {
15afbcd0
RD
15859 PyErr_SetString(PyExc_TypeError,"null reference");
15860 SWIG_fail;
d14a1e28
RD
15861 }
15862 {
15863 PyThreadState* __tstate = wxPyBeginAllowThreads();
15864 result = (wxPrinterDC *)new wxPrinterDC((wxPrintData const &)*arg1);
15865
15866 wxPyEndAllowThreads(__tstate);
15867 if (PyErr_Occurred()) SWIG_fail;
15868 }
15afbcd0 15869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinterDC, 1);
d14a1e28
RD
15870 return resultobj;
15871 fail:
15872 return NULL;
15873}
15874
15875
15876static PyObject * PrinterDC_swigregister(PyObject *self, PyObject *args) {
15877 PyObject *obj;
15878 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15879 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC, obj);
15880 Py_INCREF(obj);
15881 return Py_BuildValue((char *)"");
15882}
15883static PyObject *_wrap_new_ImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
15884 PyObject *resultobj;
15885 int arg1 ;
15886 int arg2 ;
e811c8ce 15887 int arg3 = (int) True ;
d14a1e28
RD
15888 int arg4 = (int) 1 ;
15889 wxImageList *result;
994141e6
RD
15890 PyObject * obj0 = 0 ;
15891 PyObject * obj1 = 0 ;
15892 PyObject * obj2 = 0 ;
15893 PyObject * obj3 = 0 ;
d14a1e28
RD
15894 char *kwnames[] = {
15895 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
15896 };
15897
994141e6 15898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_ImageList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
15899 arg1 = (int) SWIG_AsInt(obj0);
15900 if (PyErr_Occurred()) SWIG_fail;
15901 arg2 = (int) SWIG_AsInt(obj1);
15902 if (PyErr_Occurred()) SWIG_fail;
994141e6 15903 if (obj2) {
15afbcd0
RD
15904 arg3 = (int) SWIG_AsInt(obj2);
15905 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15906 }
15907 if (obj3) {
15afbcd0
RD
15908 arg4 = (int) SWIG_AsInt(obj3);
15909 if (PyErr_Occurred()) SWIG_fail;
994141e6 15910 }
d14a1e28
RD
15911 {
15912 PyThreadState* __tstate = wxPyBeginAllowThreads();
15913 result = (wxImageList *)new wxImageList(arg1,arg2,arg3,arg4);
15914
15915 wxPyEndAllowThreads(__tstate);
15916 if (PyErr_Occurred()) SWIG_fail;
15917 }
15918 {
15919 resultobj = wxPyMake_wxObject(result);
15920 }
15921 return resultobj;
15922 fail:
15923 return NULL;
15924}
15925
15926
15927static PyObject *_wrap_delete_ImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
15928 PyObject *resultobj;
15929 wxImageList *arg1 = (wxImageList *) 0 ;
15930 PyObject * obj0 = 0 ;
15931 char *kwnames[] = {
15932 (char *) "self", NULL
15933 };
15934
15935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ImageList",kwnames,&obj0)) goto fail;
15afbcd0
RD
15936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
15937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15938 {
15939 PyThreadState* __tstate = wxPyBeginAllowThreads();
15940 delete arg1;
15941
15942 wxPyEndAllowThreads(__tstate);
15943 if (PyErr_Occurred()) SWIG_fail;
15944 }
15945 Py_INCREF(Py_None); resultobj = Py_None;
15946 return resultobj;
15947 fail:
15948 return NULL;
15949}
15950
15951
15952static PyObject *_wrap_ImageList_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
15953 PyObject *resultobj;
15954 wxImageList *arg1 = (wxImageList *) 0 ;
15955 wxBitmap *arg2 = 0 ;
15956 wxBitmap const &arg3_defvalue = wxNullBitmap ;
15957 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
15958 int result;
15959 PyObject * obj0 = 0 ;
15960 PyObject * obj1 = 0 ;
15961 PyObject * obj2 = 0 ;
15962 char *kwnames[] = {
15963 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
15964 };
15965
15966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ImageList_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
15968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15969 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15970 SWIG_POINTER_EXCEPTION | 0)) == -1)
15971 SWIG_fail;
d14a1e28 15972 if (arg2 == NULL) {
15afbcd0
RD
15973 PyErr_SetString(PyExc_TypeError,"null reference");
15974 SWIG_fail;
d14a1e28
RD
15975 }
15976 if (obj2) {
15afbcd0
RD
15977 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
15978 SWIG_POINTER_EXCEPTION | 0)) == -1)
15979 SWIG_fail;
d14a1e28 15980 if (arg3 == NULL) {
15afbcd0
RD
15981 PyErr_SetString(PyExc_TypeError,"null reference");
15982 SWIG_fail;
d14a1e28
RD
15983 }
15984 }
15985 {
15986 PyThreadState* __tstate = wxPyBeginAllowThreads();
15987 result = (int)(arg1)->Add((wxBitmap const &)*arg2,(wxBitmap const &)*arg3);
15988
15989 wxPyEndAllowThreads(__tstate);
15990 if (PyErr_Occurred()) SWIG_fail;
15991 }
15afbcd0 15992 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15993 return resultobj;
15994 fail:
15995 return NULL;
15996}
15997
15998
15999static PyObject *_wrap_ImageList_AddWithColourMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16000 PyObject *resultobj;
16001 wxImageList *arg1 = (wxImageList *) 0 ;
16002 wxBitmap *arg2 = 0 ;
16003 wxColour *arg3 = 0 ;
16004 int result;
16005 wxColour temp3 ;
16006 PyObject * obj0 = 0 ;
16007 PyObject * obj1 = 0 ;
16008 PyObject * obj2 = 0 ;
16009 char *kwnames[] = {
16010 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16011 };
16012
16013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageList_AddWithColourMask",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16016 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16017 SWIG_POINTER_EXCEPTION | 0)) == -1)
16018 SWIG_fail;
d14a1e28 16019 if (arg2 == NULL) {
15afbcd0
RD
16020 PyErr_SetString(PyExc_TypeError,"null reference");
16021 SWIG_fail;
d14a1e28
RD
16022 }
16023 {
16024 arg3 = &temp3;
16025 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16026 }
16027 {
16028 PyThreadState* __tstate = wxPyBeginAllowThreads();
16029 result = (int)(arg1)->Add((wxBitmap const &)*arg2,(wxColour const &)*arg3);
16030
16031 wxPyEndAllowThreads(__tstate);
16032 if (PyErr_Occurred()) SWIG_fail;
16033 }
15afbcd0 16034 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16035 return resultobj;
16036 fail:
16037 return NULL;
16038}
16039
16040
16041static PyObject *_wrap_ImageList_AddIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
16042 PyObject *resultobj;
16043 wxImageList *arg1 = (wxImageList *) 0 ;
16044 wxIcon *arg2 = 0 ;
16045 int result;
16046 PyObject * obj0 = 0 ;
16047 PyObject * obj1 = 0 ;
16048 char *kwnames[] = {
16049 (char *) "self",(char *) "icon", NULL
16050 };
16051
16052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageList_AddIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16055 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
16056 SWIG_POINTER_EXCEPTION | 0)) == -1)
16057 SWIG_fail;
d14a1e28 16058 if (arg2 == NULL) {
15afbcd0
RD
16059 PyErr_SetString(PyExc_TypeError,"null reference");
16060 SWIG_fail;
d14a1e28
RD
16061 }
16062 {
16063 PyThreadState* __tstate = wxPyBeginAllowThreads();
16064 result = (int)(arg1)->Add((wxIcon const &)*arg2);
16065
16066 wxPyEndAllowThreads(__tstate);
16067 if (PyErr_Occurred()) SWIG_fail;
16068 }
15afbcd0 16069 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16070 return resultobj;
16071 fail:
16072 return NULL;
16073}
16074
16075
16076static PyObject *_wrap_ImageList_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
16077 PyObject *resultobj;
16078 wxImageList *arg1 = (wxImageList *) 0 ;
16079 int arg2 ;
16080 wxBitmap *arg3 = 0 ;
16081 bool result;
16082 PyObject * obj0 = 0 ;
994141e6 16083 PyObject * obj1 = 0 ;
d14a1e28
RD
16084 PyObject * obj2 = 0 ;
16085 char *kwnames[] = {
16086 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16087 };
16088
994141e6 16089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageList_Replace",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16092 arg2 = (int) SWIG_AsInt(obj1);
16093 if (PyErr_Occurred()) SWIG_fail;
16094 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
16095 SWIG_POINTER_EXCEPTION | 0)) == -1)
16096 SWIG_fail;
d14a1e28 16097 if (arg3 == NULL) {
15afbcd0
RD
16098 PyErr_SetString(PyExc_TypeError,"null reference");
16099 SWIG_fail;
d14a1e28
RD
16100 }
16101 {
16102 PyThreadState* __tstate = wxPyBeginAllowThreads();
16103 result = (bool)(arg1)->Replace(arg2,(wxBitmap const &)*arg3);
16104
16105 wxPyEndAllowThreads(__tstate);
16106 if (PyErr_Occurred()) SWIG_fail;
16107 }
4f89f6a3
RD
16108 {
16109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16110 }
d14a1e28
RD
16111 return resultobj;
16112 fail:
16113 return NULL;
16114}
16115
16116
16117static PyObject *_wrap_ImageList_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
16118 PyObject *resultobj;
16119 wxImageList *arg1 = (wxImageList *) 0 ;
16120 int arg2 ;
16121 wxDC *arg3 = 0 ;
16122 int arg4 ;
16123 int arg5 ;
16124 int arg6 = (int) wxIMAGELIST_DRAW_NORMAL ;
e811c8ce 16125 bool arg7 = (bool) (bool)False ;
d14a1e28
RD
16126 bool result;
16127 PyObject * obj0 = 0 ;
994141e6 16128 PyObject * obj1 = 0 ;
d14a1e28 16129 PyObject * obj2 = 0 ;
994141e6
RD
16130 PyObject * obj3 = 0 ;
16131 PyObject * obj4 = 0 ;
16132 PyObject * obj5 = 0 ;
d14a1e28
RD
16133 PyObject * obj6 = 0 ;
16134 char *kwnames[] = {
16135 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16136 };
16137
994141e6 16138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:ImageList_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
16139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16141 arg2 = (int) SWIG_AsInt(obj1);
16142 if (PyErr_Occurred()) SWIG_fail;
16143 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
16144 SWIG_POINTER_EXCEPTION | 0)) == -1)
16145 SWIG_fail;
d14a1e28 16146 if (arg3 == NULL) {
15afbcd0
RD
16147 PyErr_SetString(PyExc_TypeError,"null reference");
16148 SWIG_fail;
994141e6 16149 }
15afbcd0
RD
16150 arg4 = (int) SWIG_AsInt(obj3);
16151 if (PyErr_Occurred()) SWIG_fail;
16152 arg5 = (int) SWIG_AsInt(obj4);
16153 if (PyErr_Occurred()) SWIG_fail;
994141e6 16154 if (obj5) {
15afbcd0
RD
16155 arg6 = (int) SWIG_AsInt(obj5);
16156 if (PyErr_Occurred()) SWIG_fail;
994141e6 16157 }
d14a1e28 16158 if (obj6) {
15afbcd0
RD
16159 arg7 = (bool const) SWIG_AsBool(obj6);
16160 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16161 }
16162 {
16163 PyThreadState* __tstate = wxPyBeginAllowThreads();
16164 result = (bool)(arg1)->Draw(arg2,*arg3,arg4,arg5,arg6,arg7);
16165
16166 wxPyEndAllowThreads(__tstate);
16167 if (PyErr_Occurred()) SWIG_fail;
16168 }
4f89f6a3
RD
16169 {
16170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16171 }
d14a1e28
RD
16172 return resultobj;
16173 fail:
16174 return NULL;
16175}
16176
16177
16178static PyObject *_wrap_ImageList_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
16179 PyObject *resultobj;
16180 wxImageList *arg1 = (wxImageList *) 0 ;
16181 int result;
16182 PyObject * obj0 = 0 ;
16183 char *kwnames[] = {
16184 (char *) "self", NULL
16185 };
16186
16187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageList_GetImageCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
16188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16190 {
16191 PyThreadState* __tstate = wxPyBeginAllowThreads();
16192 result = (int)(arg1)->GetImageCount();
16193
16194 wxPyEndAllowThreads(__tstate);
16195 if (PyErr_Occurred()) SWIG_fail;
16196 }
15afbcd0 16197 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16198 return resultobj;
16199 fail:
16200 return NULL;
16201}
16202
16203
16204static PyObject *_wrap_ImageList_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
16205 PyObject *resultobj;
16206 wxImageList *arg1 = (wxImageList *) 0 ;
16207 int arg2 ;
16208 bool result;
16209 PyObject * obj0 = 0 ;
994141e6 16210 PyObject * obj1 = 0 ;
d14a1e28
RD
16211 char *kwnames[] = {
16212 (char *) "self",(char *) "index", NULL
16213 };
16214
994141e6 16215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageList_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16218 arg2 = (int) SWIG_AsInt(obj1);
16219 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16220 {
16221 PyThreadState* __tstate = wxPyBeginAllowThreads();
16222 result = (bool)(arg1)->Remove(arg2);
16223
16224 wxPyEndAllowThreads(__tstate);
16225 if (PyErr_Occurred()) SWIG_fail;
16226 }
4f89f6a3
RD
16227 {
16228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16229 }
d14a1e28
RD
16230 return resultobj;
16231 fail:
16232 return NULL;
16233}
16234
16235
16236static PyObject *_wrap_ImageList_RemoveAll(PyObject *self, PyObject *args, PyObject *kwargs) {
16237 PyObject *resultobj;
16238 wxImageList *arg1 = (wxImageList *) 0 ;
16239 bool result;
16240 PyObject * obj0 = 0 ;
16241 char *kwnames[] = {
16242 (char *) "self", NULL
16243 };
16244
16245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageList_RemoveAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
16246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16248 {
16249 PyThreadState* __tstate = wxPyBeginAllowThreads();
16250 result = (bool)(arg1)->RemoveAll();
16251
16252 wxPyEndAllowThreads(__tstate);
16253 if (PyErr_Occurred()) SWIG_fail;
16254 }
4f89f6a3
RD
16255 {
16256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16257 }
d14a1e28
RD
16258 return resultobj;
16259 fail:
16260 return NULL;
16261}
16262
16263
16264static PyObject *_wrap_ImageList_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16265 PyObject *resultobj;
16266 wxImageList *arg1 = (wxImageList *) 0 ;
16267 int arg2 ;
16268 int *arg3 = 0 ;
16269 int *arg4 = 0 ;
16270 int temp3 ;
16271 int temp4 ;
16272 PyObject * obj0 = 0 ;
994141e6 16273 PyObject * obj1 = 0 ;
d14a1e28
RD
16274 char *kwnames[] = {
16275 (char *) "self",(char *) "index", NULL
16276 };
16277
16278 arg3 = &temp3;
16279 arg4 = &temp4;
994141e6 16280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageList_GetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageList,
16282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16283 arg2 = (int) SWIG_AsInt(obj1);
16284 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16285 {
16286 PyThreadState* __tstate = wxPyBeginAllowThreads();
16287 (arg1)->GetSize(arg2,*arg3,*arg4);
16288
16289 wxPyEndAllowThreads(__tstate);
16290 if (PyErr_Occurred()) SWIG_fail;
16291 }
16292 Py_INCREF(Py_None); resultobj = Py_None;
16293 {
16294 PyObject *o = PyInt_FromLong((long) (*arg3));
16295 resultobj = t_output_helper(resultobj,o);
16296 }
16297 {
16298 PyObject *o = PyInt_FromLong((long) (*arg4));
16299 resultobj = t_output_helper(resultobj,o);
16300 }
16301 return resultobj;
16302 fail:
16303 return NULL;
16304}
16305
16306
16307static PyObject * ImageList_swigregister(PyObject *self, PyObject *args) {
16308 PyObject *obj;
16309 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16310 SWIG_TypeClientData(SWIGTYPE_p_wxImageList, obj);
16311 Py_INCREF(obj);
16312 return Py_BuildValue((char *)"");
16313}
994141e6
RD
16314static int _wrap_NORMAL_FONT_set(PyObject *_val) {
16315 PyErr_SetString(PyExc_TypeError,"Variable NORMAL_FONT is read-only.");
16316 return 1;
d14a1e28
RD
16317}
16318
16319
994141e6
RD
16320static PyObject *_wrap_NORMAL_FONT_get() {
16321 PyObject *pyobj;
d14a1e28 16322
15afbcd0 16323 pyobj = SWIG_NewPointerObj((void *)(wxNORMAL_FONT), SWIGTYPE_p_wxFont, 0);
994141e6 16324 return pyobj;
d14a1e28
RD
16325}
16326
16327
994141e6
RD
16328static int _wrap_SMALL_FONT_set(PyObject *_val) {
16329 PyErr_SetString(PyExc_TypeError,"Variable SMALL_FONT is read-only.");
16330 return 1;
d14a1e28
RD
16331}
16332
16333
994141e6
RD
16334static PyObject *_wrap_SMALL_FONT_get() {
16335 PyObject *pyobj;
d14a1e28 16336
15afbcd0 16337 pyobj = SWIG_NewPointerObj((void *)(wxSMALL_FONT), SWIGTYPE_p_wxFont, 0);
994141e6 16338 return pyobj;
d14a1e28
RD
16339}
16340
16341
994141e6
RD
16342static int _wrap_ITALIC_FONT_set(PyObject *_val) {
16343 PyErr_SetString(PyExc_TypeError,"Variable ITALIC_FONT is read-only.");
16344 return 1;
d14a1e28 16345}
994141e6
RD
16346
16347
16348static PyObject *_wrap_ITALIC_FONT_get() {
16349 PyObject *pyobj;
d14a1e28 16350
15afbcd0 16351 pyobj = SWIG_NewPointerObj((void *)(wxITALIC_FONT), SWIGTYPE_p_wxFont, 0);
994141e6 16352 return pyobj;
d14a1e28
RD
16353}
16354
16355
994141e6
RD
16356static int _wrap_SWISS_FONT_set(PyObject *_val) {
16357 PyErr_SetString(PyExc_TypeError,"Variable SWISS_FONT is read-only.");
16358 return 1;
d14a1e28
RD
16359}
16360
16361
994141e6
RD
16362static PyObject *_wrap_SWISS_FONT_get() {
16363 PyObject *pyobj;
d14a1e28 16364
15afbcd0 16365 pyobj = SWIG_NewPointerObj((void *)(wxSWISS_FONT), SWIGTYPE_p_wxFont, 0);
994141e6 16366 return pyobj;
d14a1e28
RD
16367}
16368
16369
994141e6
RD
16370static int _wrap_RED_PEN_set(PyObject *_val) {
16371 PyErr_SetString(PyExc_TypeError,"Variable RED_PEN is read-only.");
16372 return 1;
16373}
16374
16375
16376static PyObject *_wrap_RED_PEN_get() {
16377 PyObject *pyobj;
d14a1e28 16378
15afbcd0 16379 pyobj = SWIG_NewPointerObj((void *)(wxRED_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16380 return pyobj;
d14a1e28
RD
16381}
16382
16383
994141e6
RD
16384static int _wrap_CYAN_PEN_set(PyObject *_val) {
16385 PyErr_SetString(PyExc_TypeError,"Variable CYAN_PEN is read-only.");
16386 return 1;
d14a1e28 16387}
994141e6
RD
16388
16389
16390static PyObject *_wrap_CYAN_PEN_get() {
16391 PyObject *pyobj;
d14a1e28 16392
15afbcd0 16393 pyobj = SWIG_NewPointerObj((void *)(wxCYAN_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16394 return pyobj;
d14a1e28
RD
16395}
16396
16397
994141e6
RD
16398static int _wrap_GREEN_PEN_set(PyObject *_val) {
16399 PyErr_SetString(PyExc_TypeError,"Variable GREEN_PEN is read-only.");
16400 return 1;
16401}
16402
16403
16404static PyObject *_wrap_GREEN_PEN_get() {
16405 PyObject *pyobj;
d14a1e28 16406
15afbcd0 16407 pyobj = SWIG_NewPointerObj((void *)(wxGREEN_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16408 return pyobj;
d14a1e28
RD
16409}
16410
16411
994141e6
RD
16412static int _wrap_BLACK_PEN_set(PyObject *_val) {
16413 PyErr_SetString(PyExc_TypeError,"Variable BLACK_PEN is read-only.");
16414 return 1;
16415}
16416
16417
16418static PyObject *_wrap_BLACK_PEN_get() {
16419 PyObject *pyobj;
d14a1e28 16420
15afbcd0 16421 pyobj = SWIG_NewPointerObj((void *)(wxBLACK_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16422 return pyobj;
d14a1e28
RD
16423}
16424
16425
994141e6
RD
16426static int _wrap_WHITE_PEN_set(PyObject *_val) {
16427 PyErr_SetString(PyExc_TypeError,"Variable WHITE_PEN is read-only.");
16428 return 1;
d14a1e28
RD
16429}
16430
16431
994141e6
RD
16432static PyObject *_wrap_WHITE_PEN_get() {
16433 PyObject *pyobj;
d14a1e28 16434
15afbcd0 16435 pyobj = SWIG_NewPointerObj((void *)(wxWHITE_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16436 return pyobj;
d14a1e28
RD
16437}
16438
16439
994141e6
RD
16440static int _wrap_TRANSPARENT_PEN_set(PyObject *_val) {
16441 PyErr_SetString(PyExc_TypeError,"Variable TRANSPARENT_PEN is read-only.");
16442 return 1;
d14a1e28
RD
16443}
16444
16445
994141e6
RD
16446static PyObject *_wrap_TRANSPARENT_PEN_get() {
16447 PyObject *pyobj;
d14a1e28 16448
15afbcd0 16449 pyobj = SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16450 return pyobj;
d14a1e28
RD
16451}
16452
16453
994141e6
RD
16454static int _wrap_BLACK_DASHED_PEN_set(PyObject *_val) {
16455 PyErr_SetString(PyExc_TypeError,"Variable BLACK_DASHED_PEN is read-only.");
16456 return 1;
d14a1e28
RD
16457}
16458
16459
994141e6
RD
16460static PyObject *_wrap_BLACK_DASHED_PEN_get() {
16461 PyObject *pyobj;
d14a1e28 16462
15afbcd0 16463 pyobj = SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16464 return pyobj;
d14a1e28
RD
16465}
16466
16467
994141e6
RD
16468static int _wrap_GREY_PEN_set(PyObject *_val) {
16469 PyErr_SetString(PyExc_TypeError,"Variable GREY_PEN is read-only.");
16470 return 1;
d14a1e28
RD
16471}
16472
16473
994141e6
RD
16474static PyObject *_wrap_GREY_PEN_get() {
16475 PyObject *pyobj;
16476
15afbcd0 16477 pyobj = SWIG_NewPointerObj((void *)(wxGREY_PEN), SWIGTYPE_p_wxPen, 0);
994141e6 16478 return pyobj;
d14a1e28 16479}
994141e6
RD
16480
16481
16482static int _wrap_MEDIUM_GREY_PEN_set(PyObject *_val) {
16483 PyErr_SetString(PyExc_TypeError,"Variable MEDIUM_GREY_PEN is read-only.");
d14a1e28
RD
16484 return 1;
16485}
16486
16487
994141e6 16488static PyObject *_wrap_MEDIUM_GREY_PEN_get() {
d14a1e28
RD
16489 PyObject *pyobj;
16490
15afbcd0 16491 pyobj = SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN), SWIGTYPE_p_wxPen, 0);
d14a1e28
RD
16492 return pyobj;
16493}
16494
16495
994141e6
RD
16496static int _wrap_LIGHT_GREY_PEN_set(PyObject *_val) {
16497 PyErr_SetString(PyExc_TypeError,"Variable LIGHT_GREY_PEN is read-only.");
d14a1e28
RD
16498 return 1;
16499}
16500
16501
994141e6 16502static PyObject *_wrap_LIGHT_GREY_PEN_get() {
d14a1e28
RD
16503 PyObject *pyobj;
16504
15afbcd0 16505 pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN), SWIGTYPE_p_wxPen, 0);
d14a1e28
RD
16506 return pyobj;
16507}
16508
16509
994141e6
RD
16510static int _wrap_BLUE_BRUSH_set(PyObject *_val) {
16511 PyErr_SetString(PyExc_TypeError,"Variable BLUE_BRUSH is read-only.");
d14a1e28
RD
16512 return 1;
16513}
16514
16515
994141e6 16516static PyObject *_wrap_BLUE_BRUSH_get() {
d14a1e28
RD
16517 PyObject *pyobj;
16518
15afbcd0 16519 pyobj = SWIG_NewPointerObj((void *)(wxBLUE_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16520 return pyobj;
16521}
16522
16523
994141e6
RD
16524static int _wrap_GREEN_BRUSH_set(PyObject *_val) {
16525 PyErr_SetString(PyExc_TypeError,"Variable GREEN_BRUSH is read-only.");
d14a1e28
RD
16526 return 1;
16527}
16528
16529
994141e6 16530static PyObject *_wrap_GREEN_BRUSH_get() {
d14a1e28
RD
16531 PyObject *pyobj;
16532
15afbcd0 16533 pyobj = SWIG_NewPointerObj((void *)(wxGREEN_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16534 return pyobj;
16535}
16536
16537
994141e6
RD
16538static int _wrap_WHITE_BRUSH_set(PyObject *_val) {
16539 PyErr_SetString(PyExc_TypeError,"Variable WHITE_BRUSH is read-only.");
d14a1e28
RD
16540 return 1;
16541}
16542
16543
994141e6 16544static PyObject *_wrap_WHITE_BRUSH_get() {
d14a1e28
RD
16545 PyObject *pyobj;
16546
15afbcd0 16547 pyobj = SWIG_NewPointerObj((void *)(wxWHITE_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16548 return pyobj;
16549}
16550
16551
994141e6
RD
16552static int _wrap_BLACK_BRUSH_set(PyObject *_val) {
16553 PyErr_SetString(PyExc_TypeError,"Variable BLACK_BRUSH is read-only.");
d14a1e28
RD
16554 return 1;
16555}
16556
16557
994141e6 16558static PyObject *_wrap_BLACK_BRUSH_get() {
d14a1e28
RD
16559 PyObject *pyobj;
16560
15afbcd0 16561 pyobj = SWIG_NewPointerObj((void *)(wxBLACK_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16562 return pyobj;
16563}
16564
16565
994141e6
RD
16566static int _wrap_TRANSPARENT_BRUSH_set(PyObject *_val) {
16567 PyErr_SetString(PyExc_TypeError,"Variable TRANSPARENT_BRUSH is read-only.");
d14a1e28
RD
16568 return 1;
16569}
16570
16571
994141e6 16572static PyObject *_wrap_TRANSPARENT_BRUSH_get() {
d14a1e28
RD
16573 PyObject *pyobj;
16574
15afbcd0 16575 pyobj = SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16576 return pyobj;
16577}
16578
16579
994141e6
RD
16580static int _wrap_CYAN_BRUSH_set(PyObject *_val) {
16581 PyErr_SetString(PyExc_TypeError,"Variable CYAN_BRUSH is read-only.");
d14a1e28
RD
16582 return 1;
16583}
16584
16585
994141e6 16586static PyObject *_wrap_CYAN_BRUSH_get() {
d14a1e28
RD
16587 PyObject *pyobj;
16588
15afbcd0 16589 pyobj = SWIG_NewPointerObj((void *)(wxCYAN_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16590 return pyobj;
16591}
16592
16593
994141e6
RD
16594static int _wrap_RED_BRUSH_set(PyObject *_val) {
16595 PyErr_SetString(PyExc_TypeError,"Variable RED_BRUSH is read-only.");
d14a1e28
RD
16596 return 1;
16597}
16598
16599
994141e6 16600static PyObject *_wrap_RED_BRUSH_get() {
d14a1e28
RD
16601 PyObject *pyobj;
16602
15afbcd0 16603 pyobj = SWIG_NewPointerObj((void *)(wxRED_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16604 return pyobj;
16605}
16606
16607
994141e6
RD
16608static int _wrap_GREY_BRUSH_set(PyObject *_val) {
16609 PyErr_SetString(PyExc_TypeError,"Variable GREY_BRUSH is read-only.");
d14a1e28
RD
16610 return 1;
16611}
16612
16613
994141e6 16614static PyObject *_wrap_GREY_BRUSH_get() {
d14a1e28
RD
16615 PyObject *pyobj;
16616
15afbcd0 16617 pyobj = SWIG_NewPointerObj((void *)(wxGREY_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16618 return pyobj;
16619}
16620
16621
994141e6
RD
16622static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject *_val) {
16623 PyErr_SetString(PyExc_TypeError,"Variable MEDIUM_GREY_BRUSH is read-only.");
d14a1e28
RD
16624 return 1;
16625}
16626
16627
994141e6 16628static PyObject *_wrap_MEDIUM_GREY_BRUSH_get() {
d14a1e28
RD
16629 PyObject *pyobj;
16630
15afbcd0 16631 pyobj = SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16632 return pyobj;
16633}
16634
16635
994141e6
RD
16636static int _wrap_LIGHT_GREY_BRUSH_set(PyObject *_val) {
16637 PyErr_SetString(PyExc_TypeError,"Variable LIGHT_GREY_BRUSH is read-only.");
d14a1e28
RD
16638 return 1;
16639}
16640
16641
994141e6 16642static PyObject *_wrap_LIGHT_GREY_BRUSH_get() {
d14a1e28
RD
16643 PyObject *pyobj;
16644
15afbcd0 16645 pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16646 return pyobj;
16647}
16648
16649
994141e6
RD
16650static int _wrap_BLACK_set(PyObject *_val) {
16651 PyErr_SetString(PyExc_TypeError,"Variable BLACK is read-only.");
d14a1e28
RD
16652 return 1;
16653}
16654
16655
994141e6 16656static PyObject *_wrap_BLACK_get() {
d14a1e28
RD
16657 PyObject *pyobj;
16658
15afbcd0 16659 pyobj = SWIG_NewPointerObj((void *)(wxBLACK), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16660 return pyobj;
16661}
16662
16663
994141e6
RD
16664static int _wrap_WHITE_set(PyObject *_val) {
16665 PyErr_SetString(PyExc_TypeError,"Variable WHITE is read-only.");
d14a1e28
RD
16666 return 1;
16667}
16668
16669
994141e6 16670static PyObject *_wrap_WHITE_get() {
d14a1e28
RD
16671 PyObject *pyobj;
16672
15afbcd0 16673 pyobj = SWIG_NewPointerObj((void *)(wxWHITE), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16674 return pyobj;
16675}
16676
16677
994141e6
RD
16678static int _wrap_RED_set(PyObject *_val) {
16679 PyErr_SetString(PyExc_TypeError,"Variable RED is read-only.");
d14a1e28
RD
16680 return 1;
16681}
16682
16683
994141e6 16684static PyObject *_wrap_RED_get() {
d14a1e28
RD
16685 PyObject *pyobj;
16686
15afbcd0 16687 pyobj = SWIG_NewPointerObj((void *)(wxRED), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16688 return pyobj;
16689}
16690
16691
994141e6
RD
16692static int _wrap_BLUE_set(PyObject *_val) {
16693 PyErr_SetString(PyExc_TypeError,"Variable BLUE is read-only.");
d14a1e28
RD
16694 return 1;
16695}
16696
16697
994141e6 16698static PyObject *_wrap_BLUE_get() {
d14a1e28
RD
16699 PyObject *pyobj;
16700
15afbcd0 16701 pyobj = SWIG_NewPointerObj((void *)(wxBLUE), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16702 return pyobj;
16703}
16704
16705
994141e6
RD
16706static int _wrap_GREEN_set(PyObject *_val) {
16707 PyErr_SetString(PyExc_TypeError,"Variable GREEN is read-only.");
d14a1e28
RD
16708 return 1;
16709}
16710
16711
994141e6 16712static PyObject *_wrap_GREEN_get() {
d14a1e28
RD
16713 PyObject *pyobj;
16714
15afbcd0 16715 pyobj = SWIG_NewPointerObj((void *)(wxGREEN), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16716 return pyobj;
16717}
16718
16719
994141e6
RD
16720static int _wrap_CYAN_set(PyObject *_val) {
16721 PyErr_SetString(PyExc_TypeError,"Variable CYAN is read-only.");
d14a1e28
RD
16722 return 1;
16723}
16724
16725
994141e6 16726static PyObject *_wrap_CYAN_get() {
d14a1e28
RD
16727 PyObject *pyobj;
16728
15afbcd0 16729 pyobj = SWIG_NewPointerObj((void *)(wxCYAN), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16730 return pyobj;
16731}
16732
16733
994141e6
RD
16734static int _wrap_LIGHT_GREY_set(PyObject *_val) {
16735 PyErr_SetString(PyExc_TypeError,"Variable LIGHT_GREY is read-only.");
d14a1e28
RD
16736 return 1;
16737}
16738
16739
994141e6 16740static PyObject *_wrap_LIGHT_GREY_get() {
d14a1e28
RD
16741 PyObject *pyobj;
16742
15afbcd0 16743 pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16744 return pyobj;
16745}
16746
16747
994141e6
RD
16748static int _wrap_STANDARD_CURSOR_set(PyObject *_val) {
16749 PyErr_SetString(PyExc_TypeError,"Variable STANDARD_CURSOR is read-only.");
d14a1e28
RD
16750 return 1;
16751}
16752
16753
994141e6 16754static PyObject *_wrap_STANDARD_CURSOR_get() {
d14a1e28
RD
16755 PyObject *pyobj;
16756
15afbcd0 16757 pyobj = SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR), SWIGTYPE_p_wxCursor, 0);
d14a1e28
RD
16758 return pyobj;
16759}
16760
16761
994141e6
RD
16762static int _wrap_HOURGLASS_CURSOR_set(PyObject *_val) {
16763 PyErr_SetString(PyExc_TypeError,"Variable HOURGLASS_CURSOR is read-only.");
d14a1e28
RD
16764 return 1;
16765}
16766
16767
994141e6 16768static PyObject *_wrap_HOURGLASS_CURSOR_get() {
d14a1e28
RD
16769 PyObject *pyobj;
16770
15afbcd0 16771 pyobj = SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR), SWIGTYPE_p_wxCursor, 0);
d14a1e28
RD
16772 return pyobj;
16773}
16774
16775
994141e6
RD
16776static int _wrap_CROSS_CURSOR_set(PyObject *_val) {
16777 PyErr_SetString(PyExc_TypeError,"Variable CROSS_CURSOR is read-only.");
d14a1e28
RD
16778 return 1;
16779}
16780
16781
994141e6 16782static PyObject *_wrap_CROSS_CURSOR_get() {
d14a1e28
RD
16783 PyObject *pyobj;
16784
15afbcd0 16785 pyobj = SWIG_NewPointerObj((void *)(wxCROSS_CURSOR), SWIGTYPE_p_wxCursor, 0);
d14a1e28
RD
16786 return pyobj;
16787}
16788
16789
994141e6
RD
16790static int _wrap_NullBitmap_set(PyObject *_val) {
16791 PyErr_SetString(PyExc_TypeError,"Variable NullBitmap is read-only.");
d14a1e28
RD
16792 return 1;
16793}
16794
16795
994141e6 16796static PyObject *_wrap_NullBitmap_get() {
d14a1e28
RD
16797 PyObject *pyobj;
16798
15afbcd0 16799 pyobj = SWIG_NewPointerObj((void *)(&wxNullBitmap), SWIGTYPE_p_wxBitmap, 0);
d14a1e28
RD
16800 return pyobj;
16801}
16802
16803
994141e6
RD
16804static int _wrap_NullIcon_set(PyObject *_val) {
16805 PyErr_SetString(PyExc_TypeError,"Variable NullIcon is read-only.");
d14a1e28
RD
16806 return 1;
16807}
16808
16809
994141e6 16810static PyObject *_wrap_NullIcon_get() {
d14a1e28
RD
16811 PyObject *pyobj;
16812
15afbcd0 16813 pyobj = SWIG_NewPointerObj((void *)(&wxNullIcon), SWIGTYPE_p_wxIcon, 0);
d14a1e28
RD
16814 return pyobj;
16815}
16816
16817
994141e6
RD
16818static int _wrap_NullCursor_set(PyObject *_val) {
16819 PyErr_SetString(PyExc_TypeError,"Variable NullCursor is read-only.");
d14a1e28
RD
16820 return 1;
16821}
16822
16823
994141e6 16824static PyObject *_wrap_NullCursor_get() {
d14a1e28
RD
16825 PyObject *pyobj;
16826
15afbcd0 16827 pyobj = SWIG_NewPointerObj((void *)(&wxNullCursor), SWIGTYPE_p_wxCursor, 0);
d14a1e28
RD
16828 return pyobj;
16829}
16830
16831
994141e6
RD
16832static int _wrap_NullPen_set(PyObject *_val) {
16833 PyErr_SetString(PyExc_TypeError,"Variable NullPen is read-only.");
d14a1e28
RD
16834 return 1;
16835}
16836
16837
994141e6 16838static PyObject *_wrap_NullPen_get() {
d14a1e28
RD
16839 PyObject *pyobj;
16840
15afbcd0 16841 pyobj = SWIG_NewPointerObj((void *)(&wxNullPen), SWIGTYPE_p_wxPen, 0);
d14a1e28
RD
16842 return pyobj;
16843}
16844
16845
994141e6
RD
16846static int _wrap_NullBrush_set(PyObject *_val) {
16847 PyErr_SetString(PyExc_TypeError,"Variable NullBrush is read-only.");
d14a1e28
RD
16848 return 1;
16849}
16850
16851
994141e6 16852static PyObject *_wrap_NullBrush_get() {
d14a1e28
RD
16853 PyObject *pyobj;
16854
15afbcd0 16855 pyobj = SWIG_NewPointerObj((void *)(&wxNullBrush), SWIGTYPE_p_wxBrush, 0);
d14a1e28
RD
16856 return pyobj;
16857}
16858
16859
994141e6
RD
16860static int _wrap_NullPalette_set(PyObject *_val) {
16861 PyErr_SetString(PyExc_TypeError,"Variable NullPalette is read-only.");
d14a1e28
RD
16862 return 1;
16863}
16864
16865
994141e6 16866static PyObject *_wrap_NullPalette_get() {
d14a1e28
RD
16867 PyObject *pyobj;
16868
15afbcd0 16869 pyobj = SWIG_NewPointerObj((void *)(&wxNullPalette), SWIGTYPE_p_wxPalette, 0);
d14a1e28
RD
16870 return pyobj;
16871}
16872
16873
994141e6
RD
16874static int _wrap_NullFont_set(PyObject *_val) {
16875 PyErr_SetString(PyExc_TypeError,"Variable NullFont is read-only.");
d14a1e28
RD
16876 return 1;
16877}
16878
16879
994141e6 16880static PyObject *_wrap_NullFont_get() {
d14a1e28
RD
16881 PyObject *pyobj;
16882
15afbcd0 16883 pyobj = SWIG_NewPointerObj((void *)(&wxNullFont), SWIGTYPE_p_wxFont, 0);
d14a1e28
RD
16884 return pyobj;
16885}
16886
16887
994141e6
RD
16888static int _wrap_NullColour_set(PyObject *_val) {
16889 PyErr_SetString(PyExc_TypeError,"Variable NullColour is read-only.");
d14a1e28
RD
16890 return 1;
16891}
16892
16893
994141e6 16894static PyObject *_wrap_NullColour_get() {
d14a1e28
RD
16895 PyObject *pyobj;
16896
15afbcd0 16897 pyobj = SWIG_NewPointerObj((void *)(&wxNullColour), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
16898 return pyobj;
16899}
16900
16901
994141e6
RD
16902static PyObject *_wrap_PenList_AddPen(PyObject *self, PyObject *args, PyObject *kwargs) {
16903 PyObject *resultobj;
16904 wxPenList *arg1 = (wxPenList *) 0 ;
16905 wxPen *arg2 = (wxPen *) 0 ;
16906 PyObject * obj0 = 0 ;
16907 PyObject * obj1 = 0 ;
16908 char *kwnames[] = {
16909 (char *) "self",(char *) "pen", NULL
16910 };
16911
16912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PenList_AddPen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPenList,
16914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16915 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPen,
16916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
16917 {
16918 PyThreadState* __tstate = wxPyBeginAllowThreads();
16919 (arg1)->AddPen(arg2);
16920
16921 wxPyEndAllowThreads(__tstate);
16922 if (PyErr_Occurred()) SWIG_fail;
16923 }
16924 Py_INCREF(Py_None); resultobj = Py_None;
16925 return resultobj;
16926 fail:
16927 return NULL;
d14a1e28
RD
16928}
16929
16930
994141e6
RD
16931static PyObject *_wrap_PenList_FindOrCreatePen(PyObject *self, PyObject *args, PyObject *kwargs) {
16932 PyObject *resultobj;
16933 wxPenList *arg1 = (wxPenList *) 0 ;
16934 wxColour *arg2 = 0 ;
16935 int arg3 ;
16936 int arg4 ;
16937 wxPen *result;
16938 wxColour temp2 ;
16939 PyObject * obj0 = 0 ;
16940 PyObject * obj1 = 0 ;
16941 PyObject * obj2 = 0 ;
16942 PyObject * obj3 = 0 ;
16943 char *kwnames[] = {
16944 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
16945 };
d14a1e28 16946
994141e6 16947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PenList_FindOrCreatePen",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
16948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPenList,
16949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
16950 {
16951 arg2 = &temp2;
16952 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16953 }
15afbcd0
RD
16954 arg3 = (int) SWIG_AsInt(obj2);
16955 if (PyErr_Occurred()) SWIG_fail;
16956 arg4 = (int) SWIG_AsInt(obj3);
16957 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
16958 {
16959 PyThreadState* __tstate = wxPyBeginAllowThreads();
16960 result = (wxPen *)(arg1)->FindOrCreatePen((wxColour const &)*arg2,arg3,arg4);
16961
16962 wxPyEndAllowThreads(__tstate);
16963 if (PyErr_Occurred()) SWIG_fail;
16964 }
15afbcd0 16965 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
994141e6
RD
16966 return resultobj;
16967 fail:
16968 return NULL;
d14a1e28
RD
16969}
16970
16971
994141e6
RD
16972static PyObject *_wrap_PenList_RemovePen(PyObject *self, PyObject *args, PyObject *kwargs) {
16973 PyObject *resultobj;
16974 wxPenList *arg1 = (wxPenList *) 0 ;
16975 wxPen *arg2 = (wxPen *) 0 ;
16976 PyObject * obj0 = 0 ;
16977 PyObject * obj1 = 0 ;
16978 char *kwnames[] = {
16979 (char *) "self",(char *) "pen", NULL
16980 };
16981
16982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PenList_RemovePen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPenList,
16984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16985 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPen,
16986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
16987 {
16988 PyThreadState* __tstate = wxPyBeginAllowThreads();
16989 (arg1)->RemovePen(arg2);
16990
16991 wxPyEndAllowThreads(__tstate);
16992 if (PyErr_Occurred()) SWIG_fail;
16993 }
16994 Py_INCREF(Py_None); resultobj = Py_None;
16995 return resultobj;
16996 fail:
16997 return NULL;
d14a1e28
RD
16998}
16999
17000
994141e6
RD
17001static PyObject *_wrap_PenList_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
17002 PyObject *resultobj;
17003 wxPenList *arg1 = (wxPenList *) 0 ;
17004 int result;
17005 PyObject * obj0 = 0 ;
17006 char *kwnames[] = {
17007 (char *) "self", NULL
17008 };
d14a1e28 17009
994141e6 17010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PenList_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
17011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPenList,
17012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17013 {
17014 PyThreadState* __tstate = wxPyBeginAllowThreads();
17015 result = (int)(arg1)->GetCount();
17016
17017 wxPyEndAllowThreads(__tstate);
17018 if (PyErr_Occurred()) SWIG_fail;
17019 }
15afbcd0 17020 resultobj = SWIG_FromInt((int)result);
994141e6
RD
17021 return resultobj;
17022 fail:
17023 return NULL;
d14a1e28
RD
17024}
17025
17026
994141e6
RD
17027static PyObject * PenList_swigregister(PyObject *self, PyObject *args) {
17028 PyObject *obj;
17029 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17030 SWIG_TypeClientData(SWIGTYPE_p_wxPenList, obj);
17031 Py_INCREF(obj);
17032 return Py_BuildValue((char *)"");
17033}
17034static PyObject *_wrap_BrushList_AddBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
17035 PyObject *resultobj;
17036 wxBrushList *arg1 = (wxBrushList *) 0 ;
17037 wxBrush *arg2 = (wxBrush *) 0 ;
17038 PyObject * obj0 = 0 ;
17039 PyObject * obj1 = 0 ;
17040 char *kwnames[] = {
17041 (char *) "self",(char *) "brush", NULL
17042 };
17043
17044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BrushList_AddBrush",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrushList,
17046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17047 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBrush,
17048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17049 {
17050 PyThreadState* __tstate = wxPyBeginAllowThreads();
17051 (arg1)->AddBrush(arg2);
17052
17053 wxPyEndAllowThreads(__tstate);
17054 if (PyErr_Occurred()) SWIG_fail;
17055 }
17056 Py_INCREF(Py_None); resultobj = Py_None;
17057 return resultobj;
17058 fail:
17059 return NULL;
17060}
17061
17062
17063static PyObject *_wrap_BrushList_FindOrCreateBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
17064 PyObject *resultobj;
17065 wxBrushList *arg1 = (wxBrushList *) 0 ;
17066 wxColour *arg2 = 0 ;
17067 int arg3 ;
17068 wxBrush *result;
17069 wxColour temp2 ;
17070 PyObject * obj0 = 0 ;
17071 PyObject * obj1 = 0 ;
17072 PyObject * obj2 = 0 ;
17073 char *kwnames[] = {
17074 (char *) "self",(char *) "colour",(char *) "style", NULL
17075 };
17076
17077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrushList,
17079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17080 {
17081 arg2 = &temp2;
17082 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17083 }
15afbcd0
RD
17084 arg3 = (int) SWIG_AsInt(obj2);
17085 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17086 {
17087 PyThreadState* __tstate = wxPyBeginAllowThreads();
17088 result = (wxBrush *)(arg1)->FindOrCreateBrush((wxColour const &)*arg2,arg3);
17089
17090 wxPyEndAllowThreads(__tstate);
17091 if (PyErr_Occurred()) SWIG_fail;
17092 }
15afbcd0 17093 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 0);
994141e6
RD
17094 return resultobj;
17095 fail:
17096 return NULL;
d14a1e28
RD
17097}
17098
17099
994141e6
RD
17100static PyObject *_wrap_BrushList_RemoveBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
17101 PyObject *resultobj;
17102 wxBrushList *arg1 = (wxBrushList *) 0 ;
17103 wxBrush *arg2 = (wxBrush *) 0 ;
17104 PyObject * obj0 = 0 ;
17105 PyObject * obj1 = 0 ;
17106 char *kwnames[] = {
17107 (char *) "self",(char *) "brush", NULL
17108 };
d14a1e28 17109
994141e6 17110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BrushList_RemoveBrush",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrushList,
17112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17113 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBrush,
17114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17115 {
17116 PyThreadState* __tstate = wxPyBeginAllowThreads();
17117 (arg1)->RemoveBrush(arg2);
17118
17119 wxPyEndAllowThreads(__tstate);
17120 if (PyErr_Occurred()) SWIG_fail;
17121 }
17122 Py_INCREF(Py_None); resultobj = Py_None;
17123 return resultobj;
17124 fail:
17125 return NULL;
d14a1e28
RD
17126}
17127
17128
994141e6
RD
17129static PyObject *_wrap_BrushList_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
17130 PyObject *resultobj;
17131 wxBrushList *arg1 = (wxBrushList *) 0 ;
17132 int result;
17133 PyObject * obj0 = 0 ;
17134 char *kwnames[] = {
17135 (char *) "self", NULL
17136 };
d14a1e28 17137
994141e6 17138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BrushList_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
17139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrushList,
17140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17141 {
17142 PyThreadState* __tstate = wxPyBeginAllowThreads();
17143 result = (int)(arg1)->GetCount();
17144
17145 wxPyEndAllowThreads(__tstate);
17146 if (PyErr_Occurred()) SWIG_fail;
17147 }
15afbcd0 17148 resultobj = SWIG_FromInt((int)result);
994141e6
RD
17149 return resultobj;
17150 fail:
17151 return NULL;
d14a1e28
RD
17152}
17153
17154
994141e6
RD
17155static PyObject * BrushList_swigregister(PyObject *self, PyObject *args) {
17156 PyObject *obj;
17157 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17158 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList, obj);
17159 Py_INCREF(obj);
17160 return Py_BuildValue((char *)"");
d14a1e28 17161}
994141e6
RD
17162static PyObject *_wrap_new_ColourDatabase(PyObject *self, PyObject *args, PyObject *kwargs) {
17163 PyObject *resultobj;
17164 wxColourDatabase *result;
17165 char *kwnames[] = {
17166 NULL
17167 };
d14a1e28 17168
994141e6
RD
17169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourDatabase",kwnames)) goto fail;
17170 {
17171 PyThreadState* __tstate = wxPyBeginAllowThreads();
17172 result = (wxColourDatabase *)new wxColourDatabase();
17173
17174 wxPyEndAllowThreads(__tstate);
17175 if (PyErr_Occurred()) SWIG_fail;
17176 }
15afbcd0 17177 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDatabase, 1);
994141e6
RD
17178 return resultobj;
17179 fail:
17180 return NULL;
d14a1e28
RD
17181}
17182
17183
994141e6
RD
17184static PyObject *_wrap_delete_ColourDatabase(PyObject *self, PyObject *args, PyObject *kwargs) {
17185 PyObject *resultobj;
17186 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
17187 PyObject * obj0 = 0 ;
17188 char *kwnames[] = {
17189 (char *) "self", NULL
17190 };
d14a1e28 17191
994141e6 17192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourDatabase",kwnames,&obj0)) goto fail;
15afbcd0
RD
17193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDatabase,
17194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17195 {
17196 PyThreadState* __tstate = wxPyBeginAllowThreads();
17197 delete arg1;
17198
17199 wxPyEndAllowThreads(__tstate);
17200 if (PyErr_Occurred()) SWIG_fail;
17201 }
17202 Py_INCREF(Py_None); resultobj = Py_None;
17203 return resultobj;
17204 fail:
17205 return NULL;
d14a1e28
RD
17206}
17207
17208
994141e6
RD
17209static PyObject *_wrap_ColourDatabase_Find(PyObject *self, PyObject *args, PyObject *kwargs) {
17210 PyObject *resultobj;
17211 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
17212 wxString *arg2 = 0 ;
17213 wxColour result;
17214 bool temp2 = False ;
17215 PyObject * obj0 = 0 ;
17216 PyObject * obj1 = 0 ;
17217 char *kwnames[] = {
17218 (char *) "self",(char *) "name", NULL
17219 };
17220
17221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourDatabase_Find",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDatabase,
17223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17224 {
17225 arg2 = wxString_in_helper(obj1);
17226 if (arg2 == NULL) SWIG_fail;
17227 temp2 = True;
17228 }
17229 {
17230 PyThreadState* __tstate = wxPyBeginAllowThreads();
17231 result = ((wxColourDatabase const *)arg1)->Find((wxString const &)*arg2);
17232
17233 wxPyEndAllowThreads(__tstate);
17234 if (PyErr_Occurred()) SWIG_fail;
17235 }
17236 {
17237 wxColour * resultptr;
17238 resultptr = new wxColour((wxColour &) result);
15afbcd0 17239 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
994141e6
RD
17240 }
17241 {
17242 if (temp2)
17243 delete arg2;
17244 }
17245 return resultobj;
17246 fail:
17247 {
17248 if (temp2)
17249 delete arg2;
17250 }
17251 return NULL;
d14a1e28
RD
17252}
17253
17254
994141e6
RD
17255static PyObject *_wrap_ColourDatabase_FindName(PyObject *self, PyObject *args, PyObject *kwargs) {
17256 PyObject *resultobj;
17257 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
17258 wxColour *arg2 = 0 ;
17259 wxString result;
17260 wxColour temp2 ;
17261 PyObject * obj0 = 0 ;
17262 PyObject * obj1 = 0 ;
17263 char *kwnames[] = {
17264 (char *) "self",(char *) "colour", NULL
17265 };
d14a1e28 17266
994141e6 17267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourDatabase_FindName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDatabase,
17269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17270 {
17271 arg2 = &temp2;
17272 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17273 }
17274 {
17275 PyThreadState* __tstate = wxPyBeginAllowThreads();
17276 result = ((wxColourDatabase const *)arg1)->FindName((wxColour const &)*arg2);
17277
17278 wxPyEndAllowThreads(__tstate);
17279 if (PyErr_Occurred()) SWIG_fail;
17280 }
17281 {
17282#if wxUSE_UNICODE
17283 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17284#else
17285 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17286#endif
17287 }
17288 return resultobj;
17289 fail:
17290 return NULL;
d14a1e28
RD
17291}
17292
17293
994141e6
RD
17294static PyObject *_wrap_ColourDatabase_AddColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17295 PyObject *resultobj;
17296 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
17297 wxString *arg2 = 0 ;
17298 wxColour *arg3 = 0 ;
17299 bool temp2 = False ;
17300 wxColour temp3 ;
17301 PyObject * obj0 = 0 ;
17302 PyObject * obj1 = 0 ;
17303 PyObject * obj2 = 0 ;
17304 char *kwnames[] = {
17305 (char *) "self",(char *) "name",(char *) "colour", NULL
17306 };
17307
17308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourDatabase_AddColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDatabase,
17310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17311 {
17312 arg2 = wxString_in_helper(obj1);
17313 if (arg2 == NULL) SWIG_fail;
17314 temp2 = True;
17315 }
17316 {
17317 arg3 = &temp3;
17318 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
17319 }
17320 {
17321 PyThreadState* __tstate = wxPyBeginAllowThreads();
17322 (arg1)->AddColour((wxString const &)*arg2,(wxColour const &)*arg3);
17323
17324 wxPyEndAllowThreads(__tstate);
17325 if (PyErr_Occurred()) SWIG_fail;
17326 }
17327 Py_INCREF(Py_None); resultobj = Py_None;
17328 {
17329 if (temp2)
17330 delete arg2;
17331 }
17332 return resultobj;
17333 fail:
17334 {
17335 if (temp2)
17336 delete arg2;
17337 }
17338 return NULL;
d14a1e28
RD
17339}
17340
17341
994141e6
RD
17342static PyObject *_wrap_ColourDatabase_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
17343 PyObject *resultobj;
17344 wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
17345 wxString *arg2 = 0 ;
17346 int arg3 ;
17347 int arg4 ;
17348 int arg5 ;
17349 bool temp2 = False ;
17350 PyObject * obj0 = 0 ;
17351 PyObject * obj1 = 0 ;
17352 PyObject * obj2 = 0 ;
17353 PyObject * obj3 = 0 ;
17354 PyObject * obj4 = 0 ;
17355 char *kwnames[] = {
17356 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17357 };
d14a1e28 17358
994141e6 17359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:ColourDatabase_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
17360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDatabase,
17361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17362 {
17363 arg2 = wxString_in_helper(obj1);
17364 if (arg2 == NULL) SWIG_fail;
17365 temp2 = True;
17366 }
15afbcd0
RD
17367 arg3 = (int) SWIG_AsInt(obj2);
17368 if (PyErr_Occurred()) SWIG_fail;
17369 arg4 = (int) SWIG_AsInt(obj3);
17370 if (PyErr_Occurred()) SWIG_fail;
17371 arg5 = (int) SWIG_AsInt(obj4);
17372 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17373 {
17374 PyThreadState* __tstate = wxPyBeginAllowThreads();
17375 wxColourDatabase_Append(arg1,(wxString const &)*arg2,arg3,arg4,arg5);
17376
17377 wxPyEndAllowThreads(__tstate);
17378 if (PyErr_Occurred()) SWIG_fail;
17379 }
17380 Py_INCREF(Py_None); resultobj = Py_None;
17381 {
17382 if (temp2)
17383 delete arg2;
17384 }
17385 return resultobj;
17386 fail:
17387 {
17388 if (temp2)
17389 delete arg2;
17390 }
17391 return NULL;
d14a1e28
RD
17392}
17393
17394
994141e6
RD
17395static PyObject * ColourDatabase_swigregister(PyObject *self, PyObject *args) {
17396 PyObject *obj;
17397 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17398 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase, obj);
17399 Py_INCREF(obj);
17400 return Py_BuildValue((char *)"");
d14a1e28 17401}
994141e6
RD
17402static PyObject *_wrap_FontList_AddFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17403 PyObject *resultobj;
17404 wxFontList *arg1 = (wxFontList *) 0 ;
17405 wxFont *arg2 = (wxFont *) 0 ;
17406 PyObject * obj0 = 0 ;
17407 PyObject * obj1 = 0 ;
17408 char *kwnames[] = {
17409 (char *) "self",(char *) "font", NULL
17410 };
d14a1e28 17411
994141e6 17412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontList_AddFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontList,
17414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17415 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
17416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17417 {
17418 PyThreadState* __tstate = wxPyBeginAllowThreads();
17419 (arg1)->AddFont(arg2);
17420
17421 wxPyEndAllowThreads(__tstate);
17422 if (PyErr_Occurred()) SWIG_fail;
17423 }
17424 Py_INCREF(Py_None); resultobj = Py_None;
17425 return resultobj;
17426 fail:
17427 return NULL;
d14a1e28
RD
17428}
17429
17430
994141e6
RD
17431static PyObject *_wrap_FontList_FindOrCreateFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17432 PyObject *resultobj;
17433 wxFontList *arg1 = (wxFontList *) 0 ;
17434 int arg2 ;
17435 int arg3 ;
17436 int arg4 ;
17437 int arg5 ;
17438 bool arg6 = (bool) False ;
17439 wxString const &arg7_defvalue = wxPyEmptyString ;
17440 wxString *arg7 = (wxString *) &arg7_defvalue ;
17441 int arg8 = (int) wxFONTENCODING_DEFAULT ;
17442 wxFont *result;
17443 bool temp7 = False ;
17444 PyObject * obj0 = 0 ;
17445 PyObject * obj1 = 0 ;
17446 PyObject * obj2 = 0 ;
17447 PyObject * obj3 = 0 ;
17448 PyObject * obj4 = 0 ;
17449 PyObject * obj5 = 0 ;
17450 PyObject * obj6 = 0 ;
17451 PyObject * obj7 = 0 ;
17452 char *kwnames[] = {
17453 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17454 };
d14a1e28 17455
994141e6 17456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
17457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontList,
17458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17459 arg2 = (int) SWIG_AsInt(obj1);
17460 if (PyErr_Occurred()) SWIG_fail;
17461 arg3 = (int) SWIG_AsInt(obj2);
17462 if (PyErr_Occurred()) SWIG_fail;
17463 arg4 = (int) SWIG_AsInt(obj3);
17464 if (PyErr_Occurred()) SWIG_fail;
17465 arg5 = (int) SWIG_AsInt(obj4);
17466 if (PyErr_Occurred()) SWIG_fail;
994141e6 17467 if (obj5) {
15afbcd0
RD
17468 arg6 = (bool) SWIG_AsBool(obj5);
17469 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17470 }
17471 if (obj6) {
17472 {
17473 arg7 = wxString_in_helper(obj6);
17474 if (arg7 == NULL) SWIG_fail;
17475 temp7 = True;
17476 }
17477 }
17478 if (obj7) {
15afbcd0
RD
17479 arg8 = (wxFontEncoding) SWIG_AsInt(obj7);
17480 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17481 }
17482 {
17483 PyThreadState* __tstate = wxPyBeginAllowThreads();
17484 result = (wxFont *)(arg1)->FindOrCreateFont(arg2,arg3,arg4,arg5,arg6,(wxString const &)*arg7,(wxFontEncoding )arg8);
17485
17486 wxPyEndAllowThreads(__tstate);
17487 if (PyErr_Occurred()) SWIG_fail;
17488 }
15afbcd0 17489 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
994141e6
RD
17490 {
17491 if (temp7)
17492 delete arg7;
17493 }
17494 return resultobj;
17495 fail:
17496 {
17497 if (temp7)
17498 delete arg7;
17499 }
17500 return NULL;
d14a1e28
RD
17501}
17502
17503
994141e6
RD
17504static PyObject *_wrap_FontList_RemoveFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17505 PyObject *resultobj;
17506 wxFontList *arg1 = (wxFontList *) 0 ;
17507 wxFont *arg2 = (wxFont *) 0 ;
17508 PyObject * obj0 = 0 ;
17509 PyObject * obj1 = 0 ;
17510 char *kwnames[] = {
17511 (char *) "self",(char *) "font", NULL
17512 };
d14a1e28 17513
994141e6 17514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontList_RemoveFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontList,
17516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17517 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
17518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17519 {
17520 PyThreadState* __tstate = wxPyBeginAllowThreads();
17521 (arg1)->RemoveFont(arg2);
17522
17523 wxPyEndAllowThreads(__tstate);
17524 if (PyErr_Occurred()) SWIG_fail;
17525 }
17526 Py_INCREF(Py_None); resultobj = Py_None;
17527 return resultobj;
17528 fail:
17529 return NULL;
d14a1e28
RD
17530}
17531
17532
994141e6
RD
17533static PyObject *_wrap_FontList_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
17534 PyObject *resultobj;
17535 wxFontList *arg1 = (wxFontList *) 0 ;
17536 int result;
17537 PyObject * obj0 = 0 ;
17538 char *kwnames[] = {
17539 (char *) "self", NULL
17540 };
d14a1e28 17541
994141e6 17542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontList_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
17543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontList,
17544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
17545 {
17546 PyThreadState* __tstate = wxPyBeginAllowThreads();
17547 result = (int)(arg1)->GetCount();
17548
17549 wxPyEndAllowThreads(__tstate);
17550 if (PyErr_Occurred()) SWIG_fail;
17551 }
15afbcd0 17552 resultobj = SWIG_FromInt((int)result);
994141e6
RD
17553 return resultobj;
17554 fail:
17555 return NULL;
d14a1e28
RD
17556}
17557
17558
994141e6
RD
17559static PyObject * FontList_swigregister(PyObject *self, PyObject *args) {
17560 PyObject *obj;
17561 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17562 SWIG_TypeClientData(SWIGTYPE_p_wxFontList, obj);
17563 Py_INCREF(obj);
17564 return Py_BuildValue((char *)"");
17565}
d14a1e28
RD
17566static int _wrap_TheFontList_set(PyObject *_val) {
17567 PyErr_SetString(PyExc_TypeError,"Variable TheFontList is read-only.");
17568 return 1;
17569}
17570
17571
17572static PyObject *_wrap_TheFontList_get() {
17573 PyObject *pyobj;
17574
15afbcd0 17575 pyobj = SWIG_NewPointerObj((void *)(wxTheFontList), SWIGTYPE_p_wxFontList, 0);
d14a1e28
RD
17576 return pyobj;
17577}
17578
17579
17580static int _wrap_ThePenList_set(PyObject *_val) {
17581 PyErr_SetString(PyExc_TypeError,"Variable ThePenList is read-only.");
17582 return 1;
17583}
17584
17585
17586static PyObject *_wrap_ThePenList_get() {
17587 PyObject *pyobj;
17588
15afbcd0 17589 pyobj = SWIG_NewPointerObj((void *)(wxThePenList), SWIGTYPE_p_wxPenList, 0);
d14a1e28
RD
17590 return pyobj;
17591}
17592
17593
17594static int _wrap_TheBrushList_set(PyObject *_val) {
17595 PyErr_SetString(PyExc_TypeError,"Variable TheBrushList is read-only.");
17596 return 1;
17597}
17598
17599
17600static PyObject *_wrap_TheBrushList_get() {
17601 PyObject *pyobj;
17602
15afbcd0 17603 pyobj = SWIG_NewPointerObj((void *)(wxTheBrushList), SWIGTYPE_p_wxBrushList, 0);
d14a1e28
RD
17604 return pyobj;
17605}
17606
17607
17608static int _wrap_TheColourDatabase_set(PyObject *_val) {
17609 PyErr_SetString(PyExc_TypeError,"Variable TheColourDatabase is read-only.");
17610 return 1;
17611}
17612
17613
17614static PyObject *_wrap_TheColourDatabase_get() {
17615 PyObject *pyobj;
17616
15afbcd0 17617 pyobj = SWIG_NewPointerObj((void *)(wxTheColourDatabase), SWIGTYPE_p_wxColourDatabase, 0);
d14a1e28
RD
17618 return pyobj;
17619}
17620
17621
e811c8ce 17622static PyObject *_wrap_new_Effects(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 17623 PyObject *resultobj;
e811c8ce 17624 wxEffects *result;
d14a1e28 17625 char *kwnames[] = {
e811c8ce 17626 NULL
d14a1e28
RD
17627 };
17628
e811c8ce 17629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Effects",kwnames)) goto fail;
d14a1e28
RD
17630 {
17631 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 17632 result = (wxEffects *)new wxEffects();
d14a1e28
RD
17633
17634 wxPyEndAllowThreads(__tstate);
17635 if (PyErr_Occurred()) SWIG_fail;
17636 }
15afbcd0 17637 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEffects, 1);
d14a1e28
RD
17638 return resultobj;
17639 fail:
17640 return NULL;
17641}
17642
17643
e811c8ce 17644static PyObject *_wrap_Effects_GetHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 17645 PyObject *resultobj;
e811c8ce
RD
17646 wxEffects *arg1 = (wxEffects *) 0 ;
17647 wxColour result;
d14a1e28 17648 PyObject * obj0 = 0 ;
d14a1e28 17649 char *kwnames[] = {
e811c8ce 17650 (char *) "self", NULL
d14a1e28
RD
17651 };
17652
e811c8ce 17653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetHighlightColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
17654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17656 {
17657 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 17658 result = ((wxEffects const *)arg1)->GetHighlightColour();
d14a1e28
RD
17659
17660 wxPyEndAllowThreads(__tstate);
17661 if (PyErr_Occurred()) SWIG_fail;
17662 }
e811c8ce
RD
17663 {
17664 wxColour * resultptr;
17665 resultptr = new wxColour((wxColour &) result);
15afbcd0 17666 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
e811c8ce 17667 }
d14a1e28
RD
17668 return resultobj;
17669 fail:
17670 return NULL;
17671}
17672
17673
e811c8ce 17674static PyObject *_wrap_Effects_GetLightShadow(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 17675 PyObject *resultobj;
e811c8ce
RD
17676 wxEffects *arg1 = (wxEffects *) 0 ;
17677 wxColour result;
d14a1e28 17678 PyObject * obj0 = 0 ;
d14a1e28 17679 char *kwnames[] = {
e811c8ce 17680 (char *) "self", NULL
d14a1e28
RD
17681 };
17682
e811c8ce 17683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetLightShadow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17686 {
17687 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 17688 result = ((wxEffects const *)arg1)->GetLightShadow();
d14a1e28
RD
17689
17690 wxPyEndAllowThreads(__tstate);
17691 if (PyErr_Occurred()) SWIG_fail;
17692 }
d14a1e28 17693 {
e811c8ce
RD
17694 wxColour * resultptr;
17695 resultptr = new wxColour((wxColour &) result);
15afbcd0 17696 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
17697 }
17698 return resultobj;
17699 fail:
d14a1e28
RD
17700 return NULL;
17701}
17702
17703
e811c8ce 17704static PyObject *_wrap_Effects_GetFaceColour(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 17705 PyObject *resultobj;
e811c8ce
RD
17706 wxEffects *arg1 = (wxEffects *) 0 ;
17707 wxColour result;
d14a1e28 17708 PyObject * obj0 = 0 ;
d14a1e28 17709 char *kwnames[] = {
e811c8ce 17710 (char *) "self", NULL
d14a1e28
RD
17711 };
17712
e811c8ce 17713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetFaceColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
17714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17716 {
17717 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 17718 result = ((wxEffects const *)arg1)->GetFaceColour();
d14a1e28
RD
17719
17720 wxPyEndAllowThreads(__tstate);
17721 if (PyErr_Occurred()) SWIG_fail;
17722 }
e811c8ce
RD
17723 {
17724 wxColour * resultptr;
17725 resultptr = new wxColour((wxColour &) result);
15afbcd0 17726 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
e811c8ce 17727 }
d14a1e28
RD
17728 return resultobj;
17729 fail:
17730 return NULL;
17731}
17732
17733
e811c8ce 17734static PyObject *_wrap_Effects_GetMediumShadow(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 17735 PyObject *resultobj;
e811c8ce
RD
17736 wxEffects *arg1 = (wxEffects *) 0 ;
17737 wxColour result;
d14a1e28
RD
17738 PyObject * obj0 = 0 ;
17739 char *kwnames[] = {
e811c8ce 17740 (char *) "self", NULL
d14a1e28
RD
17741 };
17742
17743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetMediumShadow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17746 {
17747 PyThreadState* __tstate = wxPyBeginAllowThreads();
17748 result = ((wxEffects const *)arg1)->GetMediumShadow();
17749
17750 wxPyEndAllowThreads(__tstate);
17751 if (PyErr_Occurred()) SWIG_fail;
17752 }
17753 {
17754 wxColour * resultptr;
17755 resultptr = new wxColour((wxColour &) result);
15afbcd0 17756 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
17757 }
17758 return resultobj;
17759 fail:
17760 return NULL;
17761}
17762
17763
17764static PyObject *_wrap_Effects_GetDarkShadow(PyObject *self, PyObject *args, PyObject *kwargs) {
17765 PyObject *resultobj;
17766 wxEffects *arg1 = (wxEffects *) 0 ;
17767 wxColour result;
17768 PyObject * obj0 = 0 ;
17769 char *kwnames[] = {
17770 (char *) "self", NULL
17771 };
17772
17773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Effects_GetDarkShadow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17776 {
17777 PyThreadState* __tstate = wxPyBeginAllowThreads();
17778 result = ((wxEffects const *)arg1)->GetDarkShadow();
17779
17780 wxPyEndAllowThreads(__tstate);
17781 if (PyErr_Occurred()) SWIG_fail;
17782 }
17783 {
17784 wxColour * resultptr;
17785 resultptr = new wxColour((wxColour &) result);
15afbcd0 17786 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
17787 }
17788 return resultobj;
17789 fail:
17790 return NULL;
17791}
17792
17793
17794static PyObject *_wrap_Effects_SetHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17795 PyObject *resultobj;
17796 wxEffects *arg1 = (wxEffects *) 0 ;
17797 wxColour *arg2 = 0 ;
17798 wxColour temp2 ;
17799 PyObject * obj0 = 0 ;
17800 PyObject * obj1 = 0 ;
17801 char *kwnames[] = {
17802 (char *) "self",(char *) "c", NULL
17803 };
17804
17805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetHighlightColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17808 {
17809 arg2 = &temp2;
17810 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17811 }
17812 {
17813 PyThreadState* __tstate = wxPyBeginAllowThreads();
17814 (arg1)->SetHighlightColour((wxColour const &)*arg2);
17815
17816 wxPyEndAllowThreads(__tstate);
17817 if (PyErr_Occurred()) SWIG_fail;
17818 }
17819 Py_INCREF(Py_None); resultobj = Py_None;
17820 return resultobj;
17821 fail:
17822 return NULL;
17823}
17824
17825
17826static PyObject *_wrap_Effects_SetLightShadow(PyObject *self, PyObject *args, PyObject *kwargs) {
17827 PyObject *resultobj;
17828 wxEffects *arg1 = (wxEffects *) 0 ;
17829 wxColour *arg2 = 0 ;
17830 wxColour temp2 ;
17831 PyObject * obj0 = 0 ;
17832 PyObject * obj1 = 0 ;
17833 char *kwnames[] = {
17834 (char *) "self",(char *) "c", NULL
17835 };
17836
17837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetLightShadow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17840 {
17841 arg2 = &temp2;
17842 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17843 }
17844 {
17845 PyThreadState* __tstate = wxPyBeginAllowThreads();
17846 (arg1)->SetLightShadow((wxColour const &)*arg2);
17847
17848 wxPyEndAllowThreads(__tstate);
17849 if (PyErr_Occurred()) SWIG_fail;
17850 }
17851 Py_INCREF(Py_None); resultobj = Py_None;
17852 return resultobj;
17853 fail:
17854 return NULL;
17855}
17856
17857
17858static PyObject *_wrap_Effects_SetFaceColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17859 PyObject *resultobj;
17860 wxEffects *arg1 = (wxEffects *) 0 ;
17861 wxColour *arg2 = 0 ;
17862 wxColour temp2 ;
17863 PyObject * obj0 = 0 ;
17864 PyObject * obj1 = 0 ;
17865 char *kwnames[] = {
17866 (char *) "self",(char *) "c", NULL
17867 };
17868
17869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetFaceColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17872 {
17873 arg2 = &temp2;
17874 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17875 }
17876 {
17877 PyThreadState* __tstate = wxPyBeginAllowThreads();
17878 (arg1)->SetFaceColour((wxColour const &)*arg2);
17879
17880 wxPyEndAllowThreads(__tstate);
17881 if (PyErr_Occurred()) SWIG_fail;
17882 }
17883 Py_INCREF(Py_None); resultobj = Py_None;
17884 return resultobj;
17885 fail:
17886 return NULL;
17887}
17888
17889
17890static PyObject *_wrap_Effects_SetMediumShadow(PyObject *self, PyObject *args, PyObject *kwargs) {
17891 PyObject *resultobj;
17892 wxEffects *arg1 = (wxEffects *) 0 ;
17893 wxColour *arg2 = 0 ;
17894 wxColour temp2 ;
17895 PyObject * obj0 = 0 ;
17896 PyObject * obj1 = 0 ;
17897 char *kwnames[] = {
17898 (char *) "self",(char *) "c", NULL
17899 };
17900
17901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetMediumShadow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17904 {
17905 arg2 = &temp2;
17906 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17907 }
17908 {
17909 PyThreadState* __tstate = wxPyBeginAllowThreads();
17910 (arg1)->SetMediumShadow((wxColour const &)*arg2);
17911
17912 wxPyEndAllowThreads(__tstate);
17913 if (PyErr_Occurred()) SWIG_fail;
17914 }
17915 Py_INCREF(Py_None); resultobj = Py_None;
17916 return resultobj;
17917 fail:
17918 return NULL;
17919}
17920
17921
17922static PyObject *_wrap_Effects_SetDarkShadow(PyObject *self, PyObject *args, PyObject *kwargs) {
17923 PyObject *resultobj;
17924 wxEffects *arg1 = (wxEffects *) 0 ;
17925 wxColour *arg2 = 0 ;
17926 wxColour temp2 ;
17927 PyObject * obj0 = 0 ;
17928 PyObject * obj1 = 0 ;
17929 char *kwnames[] = {
17930 (char *) "self",(char *) "c", NULL
17931 };
17932
17933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Effects_SetDarkShadow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17936 {
17937 arg2 = &temp2;
17938 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17939 }
17940 {
17941 PyThreadState* __tstate = wxPyBeginAllowThreads();
17942 (arg1)->SetDarkShadow((wxColour const &)*arg2);
17943
17944 wxPyEndAllowThreads(__tstate);
17945 if (PyErr_Occurred()) SWIG_fail;
17946 }
17947 Py_INCREF(Py_None); resultobj = Py_None;
17948 return resultobj;
17949 fail:
17950 return NULL;
17951}
17952
17953
17954static PyObject *_wrap_Effects_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
17955 PyObject *resultobj;
17956 wxEffects *arg1 = (wxEffects *) 0 ;
17957 wxColour *arg2 = 0 ;
17958 wxColour *arg3 = 0 ;
17959 wxColour *arg4 = 0 ;
17960 wxColour *arg5 = 0 ;
17961 wxColour *arg6 = 0 ;
17962 wxColour temp2 ;
17963 wxColour temp3 ;
17964 wxColour temp4 ;
17965 wxColour temp5 ;
17966 wxColour temp6 ;
17967 PyObject * obj0 = 0 ;
17968 PyObject * obj1 = 0 ;
17969 PyObject * obj2 = 0 ;
17970 PyObject * obj3 = 0 ;
17971 PyObject * obj4 = 0 ;
17972 PyObject * obj5 = 0 ;
17973 char *kwnames[] = {
17974 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
17975 };
17976
17977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Effects_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
17978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
17979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17980 {
17981 arg2 = &temp2;
17982 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17983 }
17984 {
17985 arg3 = &temp3;
17986 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
17987 }
17988 {
17989 arg4 = &temp4;
17990 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
17991 }
17992 {
17993 arg5 = &temp5;
17994 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
17995 }
17996 {
17997 arg6 = &temp6;
17998 if ( ! wxColour_helper(obj5, &arg6)) SWIG_fail;
17999 }
18000 {
18001 PyThreadState* __tstate = wxPyBeginAllowThreads();
18002 (arg1)->Set((wxColour const &)*arg2,(wxColour const &)*arg3,(wxColour const &)*arg4,(wxColour const &)*arg5,(wxColour const &)*arg6);
18003
18004 wxPyEndAllowThreads(__tstate);
18005 if (PyErr_Occurred()) SWIG_fail;
18006 }
18007 Py_INCREF(Py_None); resultobj = Py_None;
18008 return resultobj;
18009 fail:
18010 return NULL;
18011}
18012
18013
18014static PyObject *_wrap_Effects_DrawSunkenEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
18015 PyObject *resultobj;
18016 wxEffects *arg1 = (wxEffects *) 0 ;
18017 wxDC *arg2 = 0 ;
18018 wxRect *arg3 = 0 ;
18019 int arg4 = (int) 1 ;
18020 wxRect temp3 ;
18021 PyObject * obj0 = 0 ;
18022 PyObject * obj1 = 0 ;
18023 PyObject * obj2 = 0 ;
994141e6 18024 PyObject * obj3 = 0 ;
d14a1e28
RD
18025 char *kwnames[] = {
18026 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18027 };
18028
994141e6 18029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
18030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
18031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18032 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
18033 SWIG_POINTER_EXCEPTION | 0)) == -1)
18034 SWIG_fail;
d14a1e28 18035 if (arg2 == NULL) {
15afbcd0
RD
18036 PyErr_SetString(PyExc_TypeError,"null reference");
18037 SWIG_fail;
d14a1e28
RD
18038 }
18039 {
18040 arg3 = &temp3;
18041 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
18042 }
994141e6 18043 if (obj3) {
15afbcd0
RD
18044 arg4 = (int) SWIG_AsInt(obj3);
18045 if (PyErr_Occurred()) SWIG_fail;
994141e6 18046 }
d14a1e28
RD
18047 {
18048 PyThreadState* __tstate = wxPyBeginAllowThreads();
18049 (arg1)->DrawSunkenEdge(*arg2,(wxRect const &)*arg3,arg4);
18050
18051 wxPyEndAllowThreads(__tstate);
18052 if (PyErr_Occurred()) SWIG_fail;
18053 }
18054 Py_INCREF(Py_None); resultobj = Py_None;
18055 return resultobj;
18056 fail:
18057 return NULL;
18058}
18059
18060
18061static PyObject *_wrap_Effects_TileBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
18062 PyObject *resultobj;
18063 wxEffects *arg1 = (wxEffects *) 0 ;
18064 wxRect *arg2 = 0 ;
18065 wxDC *arg3 = 0 ;
18066 wxBitmap *arg4 = 0 ;
18067 bool result;
18068 wxRect temp2 ;
18069 PyObject * obj0 = 0 ;
18070 PyObject * obj1 = 0 ;
18071 PyObject * obj2 = 0 ;
18072 PyObject * obj3 = 0 ;
18073 char *kwnames[] = {
18074 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18075 };
18076
18077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Effects_TileBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
18078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEffects,
18079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18080 {
18081 arg2 = &temp2;
18082 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
18083 }
15afbcd0
RD
18084 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
18085 SWIG_POINTER_EXCEPTION | 0)) == -1)
18086 SWIG_fail;
d14a1e28 18087 if (arg3 == NULL) {
15afbcd0
RD
18088 PyErr_SetString(PyExc_TypeError,"null reference");
18089 SWIG_fail;
d14a1e28 18090 }
15afbcd0
RD
18091 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
18092 SWIG_POINTER_EXCEPTION | 0)) == -1)
18093 SWIG_fail;
d14a1e28 18094 if (arg4 == NULL) {
15afbcd0
RD
18095 PyErr_SetString(PyExc_TypeError,"null reference");
18096 SWIG_fail;
d14a1e28
RD
18097 }
18098 {
18099 PyThreadState* __tstate = wxPyBeginAllowThreads();
18100 result = (bool)(arg1)->TileBitmap((wxRect const &)*arg2,*arg3,*arg4);
18101
18102 wxPyEndAllowThreads(__tstate);
18103 if (PyErr_Occurred()) SWIG_fail;
18104 }
4f89f6a3
RD
18105 {
18106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18107 }
d14a1e28
RD
18108 return resultobj;
18109 fail:
18110 return NULL;
18111}
18112
18113
18114static PyObject * Effects_swigregister(PyObject *self, PyObject *args) {
18115 PyObject *obj;
18116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18117 SWIG_TypeClientData(SWIGTYPE_p_wxEffects, obj);
18118 Py_INCREF(obj);
18119 return Py_BuildValue((char *)"");
18120}
18121static PyMethodDef SwigMethods[] = {
18122 { (char *)"new_GDIObject", (PyCFunction) _wrap_new_GDIObject, METH_VARARGS | METH_KEYWORDS },
18123 { (char *)"delete_GDIObject", (PyCFunction) _wrap_delete_GDIObject, METH_VARARGS | METH_KEYWORDS },
18124 { (char *)"GDIObject_GetVisible", (PyCFunction) _wrap_GDIObject_GetVisible, METH_VARARGS | METH_KEYWORDS },
18125 { (char *)"GDIObject_SetVisible", (PyCFunction) _wrap_GDIObject_SetVisible, METH_VARARGS | METH_KEYWORDS },
18126 { (char *)"GDIObject_IsNull", (PyCFunction) _wrap_GDIObject_IsNull, METH_VARARGS | METH_KEYWORDS },
18127 { (char *)"GDIObject_swigregister", GDIObject_swigregister, METH_VARARGS },
18128 { (char *)"new_Colour", (PyCFunction) _wrap_new_Colour, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18129 { (char *)"new_NamedColour", (PyCFunction) _wrap_new_NamedColour, METH_VARARGS | METH_KEYWORDS },
18130 { (char *)"new_ColourRGB", (PyCFunction) _wrap_new_ColourRGB, METH_VARARGS | METH_KEYWORDS },
b88bce5f 18131 { (char *)"delete_Colour", (PyCFunction) _wrap_delete_Colour, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18132 { (char *)"Colour_Red", (PyCFunction) _wrap_Colour_Red, METH_VARARGS | METH_KEYWORDS },
18133 { (char *)"Colour_Green", (PyCFunction) _wrap_Colour_Green, METH_VARARGS | METH_KEYWORDS },
18134 { (char *)"Colour_Blue", (PyCFunction) _wrap_Colour_Blue, METH_VARARGS | METH_KEYWORDS },
18135 { (char *)"Colour_Ok", (PyCFunction) _wrap_Colour_Ok, METH_VARARGS | METH_KEYWORDS },
18136 { (char *)"Colour_Set", (PyCFunction) _wrap_Colour_Set, METH_VARARGS | METH_KEYWORDS },
c9c7117a 18137 { (char *)"Colour_SetRGB", (PyCFunction) _wrap_Colour_SetRGB, METH_VARARGS | METH_KEYWORDS },
b88bce5f
RD
18138 { (char *)"Colour_SetFromName", (PyCFunction) _wrap_Colour_SetFromName, METH_VARARGS | METH_KEYWORDS },
18139 { (char *)"Colour_GetPixel", (PyCFunction) _wrap_Colour_GetPixel, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18140 { (char *)"Colour___eq__", (PyCFunction) _wrap_Colour___eq__, METH_VARARGS | METH_KEYWORDS },
18141 { (char *)"Colour___ne__", (PyCFunction) _wrap_Colour___ne__, METH_VARARGS | METH_KEYWORDS },
18142 { (char *)"Colour_Get", (PyCFunction) _wrap_Colour_Get, METH_VARARGS | METH_KEYWORDS },
b88bce5f 18143 { (char *)"Colour_GetRGB", (PyCFunction) _wrap_Colour_GetRGB, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18144 { (char *)"Colour_swigregister", Colour_swigregister, METH_VARARGS },
18145 { (char *)"new_Palette", (PyCFunction) _wrap_new_Palette, METH_VARARGS | METH_KEYWORDS },
18146 { (char *)"delete_Palette", (PyCFunction) _wrap_delete_Palette, METH_VARARGS | METH_KEYWORDS },
18147 { (char *)"Palette_GetPixel", (PyCFunction) _wrap_Palette_GetPixel, METH_VARARGS | METH_KEYWORDS },
18148 { (char *)"Palette_GetRGB", (PyCFunction) _wrap_Palette_GetRGB, METH_VARARGS | METH_KEYWORDS },
18149 { (char *)"Palette_Ok", (PyCFunction) _wrap_Palette_Ok, METH_VARARGS | METH_KEYWORDS },
18150 { (char *)"Palette_swigregister", Palette_swigregister, METH_VARARGS },
18151 { (char *)"new_Pen", (PyCFunction) _wrap_new_Pen, METH_VARARGS | METH_KEYWORDS },
18152 { (char *)"delete_Pen", (PyCFunction) _wrap_delete_Pen, METH_VARARGS | METH_KEYWORDS },
18153 { (char *)"Pen_GetCap", (PyCFunction) _wrap_Pen_GetCap, METH_VARARGS | METH_KEYWORDS },
18154 { (char *)"Pen_GetColour", (PyCFunction) _wrap_Pen_GetColour, METH_VARARGS | METH_KEYWORDS },
18155 { (char *)"Pen_GetJoin", (PyCFunction) _wrap_Pen_GetJoin, METH_VARARGS | METH_KEYWORDS },
18156 { (char *)"Pen_GetStyle", (PyCFunction) _wrap_Pen_GetStyle, METH_VARARGS | METH_KEYWORDS },
18157 { (char *)"Pen_GetWidth", (PyCFunction) _wrap_Pen_GetWidth, METH_VARARGS | METH_KEYWORDS },
18158 { (char *)"Pen_Ok", (PyCFunction) _wrap_Pen_Ok, METH_VARARGS | METH_KEYWORDS },
18159 { (char *)"Pen_SetCap", (PyCFunction) _wrap_Pen_SetCap, METH_VARARGS | METH_KEYWORDS },
18160 { (char *)"Pen_SetColour", (PyCFunction) _wrap_Pen_SetColour, METH_VARARGS | METH_KEYWORDS },
18161 { (char *)"Pen_SetJoin", (PyCFunction) _wrap_Pen_SetJoin, METH_VARARGS | METH_KEYWORDS },
18162 { (char *)"Pen_SetStyle", (PyCFunction) _wrap_Pen_SetStyle, METH_VARARGS | METH_KEYWORDS },
18163 { (char *)"Pen_SetWidth", (PyCFunction) _wrap_Pen_SetWidth, METH_VARARGS | METH_KEYWORDS },
18164 { (char *)"Pen_SetDashes", (PyCFunction) _wrap_Pen_SetDashes, METH_VARARGS | METH_KEYWORDS },
18165 { (char *)"Pen_GetDashes", (PyCFunction) _wrap_Pen_GetDashes, METH_VARARGS | METH_KEYWORDS },
66c033b4
RD
18166 { (char *)"Pen__SetDashes", (PyCFunction) _wrap_Pen__SetDashes, METH_VARARGS | METH_KEYWORDS },
18167 { (char *)"Pen_GetDashCount", (PyCFunction) _wrap_Pen_GetDashCount, METH_VARARGS | METH_KEYWORDS },
3adfb63b 18168 { (char *)"Pen___eq__", (PyCFunction) _wrap_Pen___eq__, METH_VARARGS | METH_KEYWORDS },
22faec7d 18169 { (char *)"Pen___ne__", (PyCFunction) _wrap_Pen___ne__, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18170 { (char *)"Pen_swigregister", Pen_swigregister, METH_VARARGS },
d14a1e28
RD
18171 { (char *)"new_Brush", (PyCFunction) _wrap_new_Brush, METH_VARARGS | METH_KEYWORDS },
18172 { (char *)"delete_Brush", (PyCFunction) _wrap_delete_Brush, METH_VARARGS | METH_KEYWORDS },
18173 { (char *)"Brush_SetColour", (PyCFunction) _wrap_Brush_SetColour, METH_VARARGS | METH_KEYWORDS },
18174 { (char *)"Brush_SetStyle", (PyCFunction) _wrap_Brush_SetStyle, METH_VARARGS | METH_KEYWORDS },
18175 { (char *)"Brush_SetStipple", (PyCFunction) _wrap_Brush_SetStipple, METH_VARARGS | METH_KEYWORDS },
18176 { (char *)"Brush_GetColour", (PyCFunction) _wrap_Brush_GetColour, METH_VARARGS | METH_KEYWORDS },
18177 { (char *)"Brush_GetStyle", (PyCFunction) _wrap_Brush_GetStyle, METH_VARARGS | METH_KEYWORDS },
18178 { (char *)"Brush_GetStipple", (PyCFunction) _wrap_Brush_GetStipple, METH_VARARGS | METH_KEYWORDS },
18179 { (char *)"Brush_Ok", (PyCFunction) _wrap_Brush_Ok, METH_VARARGS | METH_KEYWORDS },
18180 { (char *)"Brush_swigregister", Brush_swigregister, METH_VARARGS },
18181 { (char *)"new_Bitmap", (PyCFunction) _wrap_new_Bitmap, METH_VARARGS | METH_KEYWORDS },
18182 { (char *)"delete_Bitmap", (PyCFunction) _wrap_delete_Bitmap, METH_VARARGS | METH_KEYWORDS },
66c033b4 18183 { (char *)"new_EmptyBitmap", (PyCFunction) _wrap_new_EmptyBitmap, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18184 { (char *)"new_BitmapFromIcon", (PyCFunction) _wrap_new_BitmapFromIcon, METH_VARARGS | METH_KEYWORDS },
18185 { (char *)"new_BitmapFromImage", (PyCFunction) _wrap_new_BitmapFromImage, METH_VARARGS | METH_KEYWORDS },
18186 { (char *)"new_BitmapFromXPMData", (PyCFunction) _wrap_new_BitmapFromXPMData, METH_VARARGS | METH_KEYWORDS },
18187 { (char *)"new_BitmapFromBits", (PyCFunction) _wrap_new_BitmapFromBits, METH_VARARGS | METH_KEYWORDS },
18188 { (char *)"Bitmap_Ok", (PyCFunction) _wrap_Bitmap_Ok, METH_VARARGS | METH_KEYWORDS },
18189 { (char *)"Bitmap_GetWidth", (PyCFunction) _wrap_Bitmap_GetWidth, METH_VARARGS | METH_KEYWORDS },
18190 { (char *)"Bitmap_GetHeight", (PyCFunction) _wrap_Bitmap_GetHeight, METH_VARARGS | METH_KEYWORDS },
18191 { (char *)"Bitmap_GetDepth", (PyCFunction) _wrap_Bitmap_GetDepth, METH_VARARGS | METH_KEYWORDS },
b2df227b 18192 { (char *)"Bitmap_GetSize", (PyCFunction) _wrap_Bitmap_GetSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18193 { (char *)"Bitmap_ConvertToImage", (PyCFunction) _wrap_Bitmap_ConvertToImage, METH_VARARGS | METH_KEYWORDS },
18194 { (char *)"Bitmap_GetMask", (PyCFunction) _wrap_Bitmap_GetMask, METH_VARARGS | METH_KEYWORDS },
18195 { (char *)"Bitmap_SetMask", (PyCFunction) _wrap_Bitmap_SetMask, METH_VARARGS | METH_KEYWORDS },
18196 { (char *)"Bitmap_SetMaskColour", (PyCFunction) _wrap_Bitmap_SetMaskColour, METH_VARARGS | METH_KEYWORDS },
18197 { (char *)"Bitmap_GetSubBitmap", (PyCFunction) _wrap_Bitmap_GetSubBitmap, METH_VARARGS | METH_KEYWORDS },
18198 { (char *)"Bitmap_SaveFile", (PyCFunction) _wrap_Bitmap_SaveFile, METH_VARARGS | METH_KEYWORDS },
18199 { (char *)"Bitmap_LoadFile", (PyCFunction) _wrap_Bitmap_LoadFile, METH_VARARGS | METH_KEYWORDS },
18200 { (char *)"Bitmap_CopyFromIcon", (PyCFunction) _wrap_Bitmap_CopyFromIcon, METH_VARARGS | METH_KEYWORDS },
18201 { (char *)"Bitmap_SetHeight", (PyCFunction) _wrap_Bitmap_SetHeight, METH_VARARGS | METH_KEYWORDS },
18202 { (char *)"Bitmap_SetWidth", (PyCFunction) _wrap_Bitmap_SetWidth, METH_VARARGS | METH_KEYWORDS },
18203 { (char *)"Bitmap_SetDepth", (PyCFunction) _wrap_Bitmap_SetDepth, METH_VARARGS | METH_KEYWORDS },
b2df227b 18204 { (char *)"Bitmap_SetSize", (PyCFunction) _wrap_Bitmap_SetSize, METH_VARARGS | METH_KEYWORDS },
4276dc52
RD
18205 { (char *)"Bitmap___eq__", (PyCFunction) _wrap_Bitmap___eq__, METH_VARARGS | METH_KEYWORDS },
18206 { (char *)"Bitmap___ne__", (PyCFunction) _wrap_Bitmap___ne__, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18207 { (char *)"Bitmap_swigregister", Bitmap_swigregister, METH_VARARGS },
18208 { (char *)"new_Mask", (PyCFunction) _wrap_new_Mask, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18209 { (char *)"Mask_swigregister", Mask_swigregister, METH_VARARGS },
18210 { (char *)"new_Icon", (PyCFunction) _wrap_new_Icon, METH_VARARGS | METH_KEYWORDS },
18211 { (char *)"delete_Icon", (PyCFunction) _wrap_delete_Icon, METH_VARARGS | METH_KEYWORDS },
18212 { (char *)"new_EmptyIcon", (PyCFunction) _wrap_new_EmptyIcon, METH_VARARGS | METH_KEYWORDS },
18213 { (char *)"new_IconFromLocation", (PyCFunction) _wrap_new_IconFromLocation, METH_VARARGS | METH_KEYWORDS },
18214 { (char *)"new_IconFromBitmap", (PyCFunction) _wrap_new_IconFromBitmap, METH_VARARGS | METH_KEYWORDS },
18215 { (char *)"new_IconFromXPMData", (PyCFunction) _wrap_new_IconFromXPMData, METH_VARARGS | METH_KEYWORDS },
18216 { (char *)"Icon_LoadFile", (PyCFunction) _wrap_Icon_LoadFile, METH_VARARGS | METH_KEYWORDS },
18217 { (char *)"Icon_Ok", (PyCFunction) _wrap_Icon_Ok, METH_VARARGS | METH_KEYWORDS },
18218 { (char *)"Icon_GetWidth", (PyCFunction) _wrap_Icon_GetWidth, METH_VARARGS | METH_KEYWORDS },
18219 { (char *)"Icon_GetHeight", (PyCFunction) _wrap_Icon_GetHeight, METH_VARARGS | METH_KEYWORDS },
18220 { (char *)"Icon_GetDepth", (PyCFunction) _wrap_Icon_GetDepth, METH_VARARGS | METH_KEYWORDS },
18221 { (char *)"Icon_SetWidth", (PyCFunction) _wrap_Icon_SetWidth, METH_VARARGS | METH_KEYWORDS },
18222 { (char *)"Icon_SetHeight", (PyCFunction) _wrap_Icon_SetHeight, METH_VARARGS | METH_KEYWORDS },
18223 { (char *)"Icon_SetDepth", (PyCFunction) _wrap_Icon_SetDepth, METH_VARARGS | METH_KEYWORDS },
18224 { (char *)"Icon_CopyFromBitmap", (PyCFunction) _wrap_Icon_CopyFromBitmap, METH_VARARGS | METH_KEYWORDS },
18225 { (char *)"Icon_swigregister", Icon_swigregister, METH_VARARGS },
18226 { (char *)"new_IconLocation", (PyCFunction) _wrap_new_IconLocation, METH_VARARGS | METH_KEYWORDS },
18227 { (char *)"delete_IconLocation", (PyCFunction) _wrap_delete_IconLocation, METH_VARARGS | METH_KEYWORDS },
18228 { (char *)"IconLocation_IsOk", (PyCFunction) _wrap_IconLocation_IsOk, METH_VARARGS | METH_KEYWORDS },
18229 { (char *)"IconLocation_SetFileName", (PyCFunction) _wrap_IconLocation_SetFileName, METH_VARARGS | METH_KEYWORDS },
18230 { (char *)"IconLocation_GetFileName", (PyCFunction) _wrap_IconLocation_GetFileName, METH_VARARGS | METH_KEYWORDS },
18231 { (char *)"IconLocation_SetIndex", (PyCFunction) _wrap_IconLocation_SetIndex, METH_VARARGS | METH_KEYWORDS },
18232 { (char *)"IconLocation_GetIndex", (PyCFunction) _wrap_IconLocation_GetIndex, METH_VARARGS | METH_KEYWORDS },
18233 { (char *)"IconLocation_swigregister", IconLocation_swigregister, METH_VARARGS },
18234 { (char *)"new_IconBundle", (PyCFunction) _wrap_new_IconBundle, METH_VARARGS | METH_KEYWORDS },
18235 { (char *)"new_IconBundleFromFile", (PyCFunction) _wrap_new_IconBundleFromFile, METH_VARARGS | METH_KEYWORDS },
18236 { (char *)"new_IconBundleFromIcon", (PyCFunction) _wrap_new_IconBundleFromIcon, METH_VARARGS | METH_KEYWORDS },
18237 { (char *)"delete_IconBundle", (PyCFunction) _wrap_delete_IconBundle, METH_VARARGS | METH_KEYWORDS },
18238 { (char *)"IconBundle_AddIcon", (PyCFunction) _wrap_IconBundle_AddIcon, METH_VARARGS | METH_KEYWORDS },
18239 { (char *)"IconBundle_AddIconFromFile", (PyCFunction) _wrap_IconBundle_AddIconFromFile, METH_VARARGS | METH_KEYWORDS },
18240 { (char *)"IconBundle_GetIcon", (PyCFunction) _wrap_IconBundle_GetIcon, METH_VARARGS | METH_KEYWORDS },
18241 { (char *)"IconBundle_swigregister", IconBundle_swigregister, METH_VARARGS },
18242 { (char *)"new_Cursor", (PyCFunction) _wrap_new_Cursor, METH_VARARGS | METH_KEYWORDS },
18243 { (char *)"delete_Cursor", (PyCFunction) _wrap_delete_Cursor, METH_VARARGS | METH_KEYWORDS },
18244 { (char *)"new_StockCursor", (PyCFunction) _wrap_new_StockCursor, METH_VARARGS | METH_KEYWORDS },
18245 { (char *)"new_CursorFromImage", (PyCFunction) _wrap_new_CursorFromImage, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18246 { (char *)"Cursor_Ok", (PyCFunction) _wrap_Cursor_Ok, METH_VARARGS | METH_KEYWORDS },
18247 { (char *)"Cursor_swigregister", Cursor_swigregister, METH_VARARGS },
18248 { (char *)"new_Region", (PyCFunction) _wrap_new_Region, METH_VARARGS | METH_KEYWORDS },
18249 { (char *)"new_RegionFromBitmap", (PyCFunction) _wrap_new_RegionFromBitmap, METH_VARARGS | METH_KEYWORDS },
18250 { (char *)"new_RegionFromPoints", (PyCFunction) _wrap_new_RegionFromPoints, METH_VARARGS | METH_KEYWORDS },
18251 { (char *)"delete_Region", (PyCFunction) _wrap_delete_Region, METH_VARARGS | METH_KEYWORDS },
18252 { (char *)"Region_Clear", (PyCFunction) _wrap_Region_Clear, METH_VARARGS | METH_KEYWORDS },
18253 { (char *)"Region_Offset", (PyCFunction) _wrap_Region_Offset, METH_VARARGS | METH_KEYWORDS },
18254 { (char *)"Region_Contains", (PyCFunction) _wrap_Region_Contains, METH_VARARGS | METH_KEYWORDS },
18255 { (char *)"Region_ContainsPoint", (PyCFunction) _wrap_Region_ContainsPoint, METH_VARARGS | METH_KEYWORDS },
18256 { (char *)"Region_ContainsRect", (PyCFunction) _wrap_Region_ContainsRect, METH_VARARGS | METH_KEYWORDS },
18257 { (char *)"Region_ContainsRectDim", (PyCFunction) _wrap_Region_ContainsRectDim, METH_VARARGS | METH_KEYWORDS },
18258 { (char *)"Region_GetBox", (PyCFunction) _wrap_Region_GetBox, METH_VARARGS | METH_KEYWORDS },
18259 { (char *)"Region_Intersect", (PyCFunction) _wrap_Region_Intersect, METH_VARARGS | METH_KEYWORDS },
18260 { (char *)"Region_IntersectRect", (PyCFunction) _wrap_Region_IntersectRect, METH_VARARGS | METH_KEYWORDS },
18261 { (char *)"Region_IntersectRegion", (PyCFunction) _wrap_Region_IntersectRegion, METH_VARARGS | METH_KEYWORDS },
18262 { (char *)"Region_IsEmpty", (PyCFunction) _wrap_Region_IsEmpty, METH_VARARGS | METH_KEYWORDS },
18263 { (char *)"Region_Union", (PyCFunction) _wrap_Region_Union, METH_VARARGS | METH_KEYWORDS },
18264 { (char *)"Region_UnionRect", (PyCFunction) _wrap_Region_UnionRect, METH_VARARGS | METH_KEYWORDS },
18265 { (char *)"Region_UnionRegion", (PyCFunction) _wrap_Region_UnionRegion, METH_VARARGS | METH_KEYWORDS },
18266 { (char *)"Region_Subtract", (PyCFunction) _wrap_Region_Subtract, METH_VARARGS | METH_KEYWORDS },
18267 { (char *)"Region_SubtractRect", (PyCFunction) _wrap_Region_SubtractRect, METH_VARARGS | METH_KEYWORDS },
18268 { (char *)"Region_SubtractRegion", (PyCFunction) _wrap_Region_SubtractRegion, METH_VARARGS | METH_KEYWORDS },
18269 { (char *)"Region_Xor", (PyCFunction) _wrap_Region_Xor, METH_VARARGS | METH_KEYWORDS },
18270 { (char *)"Region_XorRect", (PyCFunction) _wrap_Region_XorRect, METH_VARARGS | METH_KEYWORDS },
18271 { (char *)"Region_XorRegion", (PyCFunction) _wrap_Region_XorRegion, METH_VARARGS | METH_KEYWORDS },
18272 { (char *)"Region_ConvertToBitmap", (PyCFunction) _wrap_Region_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
18273 { (char *)"Region_UnionBitmap", (PyCFunction) _wrap_Region_UnionBitmap, METH_VARARGS | METH_KEYWORDS },
18274 { (char *)"Region_swigregister", Region_swigregister, METH_VARARGS },
18275 { (char *)"new_RegionIterator", (PyCFunction) _wrap_new_RegionIterator, METH_VARARGS | METH_KEYWORDS },
18276 { (char *)"delete_RegionIterator", (PyCFunction) _wrap_delete_RegionIterator, METH_VARARGS | METH_KEYWORDS },
18277 { (char *)"RegionIterator_GetX", (PyCFunction) _wrap_RegionIterator_GetX, METH_VARARGS | METH_KEYWORDS },
18278 { (char *)"RegionIterator_GetY", (PyCFunction) _wrap_RegionIterator_GetY, METH_VARARGS | METH_KEYWORDS },
18279 { (char *)"RegionIterator_GetW", (PyCFunction) _wrap_RegionIterator_GetW, METH_VARARGS | METH_KEYWORDS },
18280 { (char *)"RegionIterator_GetWidth", (PyCFunction) _wrap_RegionIterator_GetWidth, METH_VARARGS | METH_KEYWORDS },
18281 { (char *)"RegionIterator_GetH", (PyCFunction) _wrap_RegionIterator_GetH, METH_VARARGS | METH_KEYWORDS },
18282 { (char *)"RegionIterator_GetHeight", (PyCFunction) _wrap_RegionIterator_GetHeight, METH_VARARGS | METH_KEYWORDS },
18283 { (char *)"RegionIterator_GetRect", (PyCFunction) _wrap_RegionIterator_GetRect, METH_VARARGS | METH_KEYWORDS },
18284 { (char *)"RegionIterator_HaveRects", (PyCFunction) _wrap_RegionIterator_HaveRects, METH_VARARGS | METH_KEYWORDS },
18285 { (char *)"RegionIterator_Reset", (PyCFunction) _wrap_RegionIterator_Reset, METH_VARARGS | METH_KEYWORDS },
18286 { (char *)"RegionIterator_Next", (PyCFunction) _wrap_RegionIterator_Next, METH_VARARGS | METH_KEYWORDS },
18287 { (char *)"RegionIterator___nonzero__", (PyCFunction) _wrap_RegionIterator___nonzero__, METH_VARARGS | METH_KEYWORDS },
18288 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister, METH_VARARGS },
18289 { (char *)"new_NativeFontInfo", (PyCFunction) _wrap_new_NativeFontInfo, METH_VARARGS | METH_KEYWORDS },
18290 { (char *)"delete_NativeFontInfo", (PyCFunction) _wrap_delete_NativeFontInfo, METH_VARARGS | METH_KEYWORDS },
18291 { (char *)"NativeFontInfo_Init", (PyCFunction) _wrap_NativeFontInfo_Init, METH_VARARGS | METH_KEYWORDS },
18292 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction) _wrap_NativeFontInfo_InitFromFont, METH_VARARGS | METH_KEYWORDS },
18293 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction) _wrap_NativeFontInfo_GetPointSize, METH_VARARGS | METH_KEYWORDS },
18294 { (char *)"NativeFontInfo_GetStyle", (PyCFunction) _wrap_NativeFontInfo_GetStyle, METH_VARARGS | METH_KEYWORDS },
18295 { (char *)"NativeFontInfo_GetWeight", (PyCFunction) _wrap_NativeFontInfo_GetWeight, METH_VARARGS | METH_KEYWORDS },
18296 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction) _wrap_NativeFontInfo_GetUnderlined, METH_VARARGS | METH_KEYWORDS },
18297 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction) _wrap_NativeFontInfo_GetFaceName, METH_VARARGS | METH_KEYWORDS },
18298 { (char *)"NativeFontInfo_GetFamily", (PyCFunction) _wrap_NativeFontInfo_GetFamily, METH_VARARGS | METH_KEYWORDS },
18299 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction) _wrap_NativeFontInfo_GetEncoding, METH_VARARGS | METH_KEYWORDS },
18300 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction) _wrap_NativeFontInfo_SetPointSize, METH_VARARGS | METH_KEYWORDS },
18301 { (char *)"NativeFontInfo_SetStyle", (PyCFunction) _wrap_NativeFontInfo_SetStyle, METH_VARARGS | METH_KEYWORDS },
18302 { (char *)"NativeFontInfo_SetWeight", (PyCFunction) _wrap_NativeFontInfo_SetWeight, METH_VARARGS | METH_KEYWORDS },
18303 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction) _wrap_NativeFontInfo_SetUnderlined, METH_VARARGS | METH_KEYWORDS },
18304 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction) _wrap_NativeFontInfo_SetFaceName, METH_VARARGS | METH_KEYWORDS },
18305 { (char *)"NativeFontInfo_SetFamily", (PyCFunction) _wrap_NativeFontInfo_SetFamily, METH_VARARGS | METH_KEYWORDS },
18306 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction) _wrap_NativeFontInfo_SetEncoding, METH_VARARGS | METH_KEYWORDS },
18307 { (char *)"NativeFontInfo_FromString", (PyCFunction) _wrap_NativeFontInfo_FromString, METH_VARARGS | METH_KEYWORDS },
18308 { (char *)"NativeFontInfo_ToString", (PyCFunction) _wrap_NativeFontInfo_ToString, METH_VARARGS | METH_KEYWORDS },
18309 { (char *)"NativeFontInfo___str__", (PyCFunction) _wrap_NativeFontInfo___str__, METH_VARARGS | METH_KEYWORDS },
18310 { (char *)"NativeFontInfo_FromUserString", (PyCFunction) _wrap_NativeFontInfo_FromUserString, METH_VARARGS | METH_KEYWORDS },
18311 { (char *)"NativeFontInfo_ToUserString", (PyCFunction) _wrap_NativeFontInfo_ToUserString, METH_VARARGS | METH_KEYWORDS },
18312 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister, METH_VARARGS },
18313 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction) _wrap_NativeEncodingInfo_facename_set, METH_VARARGS | METH_KEYWORDS },
18314 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction) _wrap_NativeEncodingInfo_facename_get, METH_VARARGS | METH_KEYWORDS },
18315 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction) _wrap_NativeEncodingInfo_encoding_set, METH_VARARGS | METH_KEYWORDS },
18316 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction) _wrap_NativeEncodingInfo_encoding_get, METH_VARARGS | METH_KEYWORDS },
18317 { (char *)"new_NativeEncodingInfo", (PyCFunction) _wrap_new_NativeEncodingInfo, METH_VARARGS | METH_KEYWORDS },
18318 { (char *)"delete_NativeEncodingInfo", (PyCFunction) _wrap_delete_NativeEncodingInfo, METH_VARARGS | METH_KEYWORDS },
18319 { (char *)"NativeEncodingInfo_FromString", (PyCFunction) _wrap_NativeEncodingInfo_FromString, METH_VARARGS | METH_KEYWORDS },
18320 { (char *)"NativeEncodingInfo_ToString", (PyCFunction) _wrap_NativeEncodingInfo_ToString, METH_VARARGS | METH_KEYWORDS },
18321 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister, METH_VARARGS },
18322 { (char *)"GetNativeFontEncoding", (PyCFunction) _wrap_GetNativeFontEncoding, METH_VARARGS | METH_KEYWORDS },
18323 { (char *)"TestFontEncoding", (PyCFunction) _wrap_TestFontEncoding, METH_VARARGS | METH_KEYWORDS },
18324 { (char *)"new_FontMapper", (PyCFunction) _wrap_new_FontMapper, METH_VARARGS | METH_KEYWORDS },
18325 { (char *)"delete_FontMapper", (PyCFunction) _wrap_delete_FontMapper, METH_VARARGS | METH_KEYWORDS },
18326 { (char *)"FontMapper_Get", (PyCFunction) _wrap_FontMapper_Get, METH_VARARGS | METH_KEYWORDS },
18327 { (char *)"FontMapper_Set", (PyCFunction) _wrap_FontMapper_Set, METH_VARARGS | METH_KEYWORDS },
18328 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction) _wrap_FontMapper_CharsetToEncoding, METH_VARARGS | METH_KEYWORDS },
18329 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction) _wrap_FontMapper_GetSupportedEncodingsCount, METH_VARARGS | METH_KEYWORDS },
18330 { (char *)"FontMapper_GetEncoding", (PyCFunction) _wrap_FontMapper_GetEncoding, METH_VARARGS | METH_KEYWORDS },
18331 { (char *)"FontMapper_GetEncodingName", (PyCFunction) _wrap_FontMapper_GetEncodingName, METH_VARARGS | METH_KEYWORDS },
18332 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction) _wrap_FontMapper_GetEncodingDescription, METH_VARARGS | METH_KEYWORDS },
b2df227b 18333 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction) _wrap_FontMapper_GetEncodingFromName, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18334 { (char *)"FontMapper_SetConfig", (PyCFunction) _wrap_FontMapper_SetConfig, METH_VARARGS | METH_KEYWORDS },
18335 { (char *)"FontMapper_SetConfigPath", (PyCFunction) _wrap_FontMapper_SetConfigPath, METH_VARARGS | METH_KEYWORDS },
18336 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction) _wrap_FontMapper_GetDefaultConfigPath, METH_VARARGS | METH_KEYWORDS },
18337 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction) _wrap_FontMapper_GetAltForEncoding, METH_VARARGS | METH_KEYWORDS },
18338 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction) _wrap_FontMapper_IsEncodingAvailable, METH_VARARGS | METH_KEYWORDS },
18339 { (char *)"FontMapper_SetDialogParent", (PyCFunction) _wrap_FontMapper_SetDialogParent, METH_VARARGS | METH_KEYWORDS },
18340 { (char *)"FontMapper_SetDialogTitle", (PyCFunction) _wrap_FontMapper_SetDialogTitle, METH_VARARGS | METH_KEYWORDS },
18341 { (char *)"FontMapper_swigregister", FontMapper_swigregister, METH_VARARGS },
18342 { (char *)"new_Font", (PyCFunction) _wrap_new_Font, METH_VARARGS | METH_KEYWORDS },
18343 { (char *)"delete_Font", (PyCFunction) _wrap_delete_Font, METH_VARARGS | METH_KEYWORDS },
18344 { (char *)"new_FontFromNativeInfo", (PyCFunction) _wrap_new_FontFromNativeInfo, METH_VARARGS | METH_KEYWORDS },
18345 { (char *)"new_FontFromNativeInfoString", (PyCFunction) _wrap_new_FontFromNativeInfoString, METH_VARARGS | METH_KEYWORDS },
18346 { (char *)"new_Font2", (PyCFunction) _wrap_new_Font2, METH_VARARGS | METH_KEYWORDS },
18347 { (char *)"Font_Ok", (PyCFunction) _wrap_Font_Ok, METH_VARARGS | METH_KEYWORDS },
18348 { (char *)"Font___eq__", (PyCFunction) _wrap_Font___eq__, METH_VARARGS | METH_KEYWORDS },
18349 { (char *)"Font___ne__", (PyCFunction) _wrap_Font___ne__, METH_VARARGS | METH_KEYWORDS },
18350 { (char *)"Font_GetPointSize", (PyCFunction) _wrap_Font_GetPointSize, METH_VARARGS | METH_KEYWORDS },
18351 { (char *)"Font_GetFamily", (PyCFunction) _wrap_Font_GetFamily, METH_VARARGS | METH_KEYWORDS },
18352 { (char *)"Font_GetStyle", (PyCFunction) _wrap_Font_GetStyle, METH_VARARGS | METH_KEYWORDS },
18353 { (char *)"Font_GetWeight", (PyCFunction) _wrap_Font_GetWeight, METH_VARARGS | METH_KEYWORDS },
18354 { (char *)"Font_GetUnderlined", (PyCFunction) _wrap_Font_GetUnderlined, METH_VARARGS | METH_KEYWORDS },
18355 { (char *)"Font_GetFaceName", (PyCFunction) _wrap_Font_GetFaceName, METH_VARARGS | METH_KEYWORDS },
18356 { (char *)"Font_GetEncoding", (PyCFunction) _wrap_Font_GetEncoding, METH_VARARGS | METH_KEYWORDS },
18357 { (char *)"Font_GetNativeFontInfo", (PyCFunction) _wrap_Font_GetNativeFontInfo, METH_VARARGS | METH_KEYWORDS },
18358 { (char *)"Font_IsFixedWidth", (PyCFunction) _wrap_Font_IsFixedWidth, METH_VARARGS | METH_KEYWORDS },
18359 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction) _wrap_Font_GetNativeFontInfoDesc, METH_VARARGS | METH_KEYWORDS },
18360 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction) _wrap_Font_GetNativeFontInfoUserDesc, METH_VARARGS | METH_KEYWORDS },
18361 { (char *)"Font_SetPointSize", (PyCFunction) _wrap_Font_SetPointSize, METH_VARARGS | METH_KEYWORDS },
18362 { (char *)"Font_SetFamily", (PyCFunction) _wrap_Font_SetFamily, METH_VARARGS | METH_KEYWORDS },
18363 { (char *)"Font_SetStyle", (PyCFunction) _wrap_Font_SetStyle, METH_VARARGS | METH_KEYWORDS },
18364 { (char *)"Font_SetWeight", (PyCFunction) _wrap_Font_SetWeight, METH_VARARGS | METH_KEYWORDS },
18365 { (char *)"Font_SetFaceName", (PyCFunction) _wrap_Font_SetFaceName, METH_VARARGS | METH_KEYWORDS },
18366 { (char *)"Font_SetUnderlined", (PyCFunction) _wrap_Font_SetUnderlined, METH_VARARGS | METH_KEYWORDS },
18367 { (char *)"Font_SetEncoding", (PyCFunction) _wrap_Font_SetEncoding, METH_VARARGS | METH_KEYWORDS },
18368 { (char *)"Font_SetNativeFontInfo", (PyCFunction) _wrap_Font_SetNativeFontInfo, METH_VARARGS | METH_KEYWORDS },
18369 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction) _wrap_Font_SetNativeFontInfoFromString, METH_VARARGS | METH_KEYWORDS },
18370 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction) _wrap_Font_SetNativeFontInfoUserDesc, METH_VARARGS | METH_KEYWORDS },
18371 { (char *)"Font_GetFamilyString", (PyCFunction) _wrap_Font_GetFamilyString, METH_VARARGS | METH_KEYWORDS },
18372 { (char *)"Font_GetStyleString", (PyCFunction) _wrap_Font_GetStyleString, METH_VARARGS | METH_KEYWORDS },
18373 { (char *)"Font_GetWeightString", (PyCFunction) _wrap_Font_GetWeightString, METH_VARARGS | METH_KEYWORDS },
18374 { (char *)"Font_SetNoAntiAliasing", (PyCFunction) _wrap_Font_SetNoAntiAliasing, METH_VARARGS | METH_KEYWORDS },
18375 { (char *)"Font_GetNoAntiAliasing", (PyCFunction) _wrap_Font_GetNoAntiAliasing, METH_VARARGS | METH_KEYWORDS },
18376 { (char *)"Font_GetDefaultEncoding", (PyCFunction) _wrap_Font_GetDefaultEncoding, METH_VARARGS | METH_KEYWORDS },
18377 { (char *)"Font_SetDefaultEncoding", (PyCFunction) _wrap_Font_SetDefaultEncoding, METH_VARARGS | METH_KEYWORDS },
18378 { (char *)"Font_swigregister", Font_swigregister, METH_VARARGS },
18379 { (char *)"new_FontEnumerator", (PyCFunction) _wrap_new_FontEnumerator, METH_VARARGS | METH_KEYWORDS },
18380 { (char *)"delete_FontEnumerator", (PyCFunction) _wrap_delete_FontEnumerator, METH_VARARGS | METH_KEYWORDS },
18381 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction) _wrap_FontEnumerator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
18382 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction) _wrap_FontEnumerator_EnumerateFacenames, METH_VARARGS | METH_KEYWORDS },
18383 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction) _wrap_FontEnumerator_EnumerateEncodings, METH_VARARGS | METH_KEYWORDS },
18384 { (char *)"FontEnumerator_GetEncodings", (PyCFunction) _wrap_FontEnumerator_GetEncodings, METH_VARARGS | METH_KEYWORDS },
18385 { (char *)"FontEnumerator_GetFacenames", (PyCFunction) _wrap_FontEnumerator_GetFacenames, METH_VARARGS | METH_KEYWORDS },
18386 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister, METH_VARARGS },
18387 { (char *)"LanguageInfo_Language_set", (PyCFunction) _wrap_LanguageInfo_Language_set, METH_VARARGS | METH_KEYWORDS },
18388 { (char *)"LanguageInfo_Language_get", (PyCFunction) _wrap_LanguageInfo_Language_get, METH_VARARGS | METH_KEYWORDS },
18389 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction) _wrap_LanguageInfo_CanonicalName_set, METH_VARARGS | METH_KEYWORDS },
18390 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction) _wrap_LanguageInfo_CanonicalName_get, METH_VARARGS | METH_KEYWORDS },
18391 { (char *)"LanguageInfo_Description_set", (PyCFunction) _wrap_LanguageInfo_Description_set, METH_VARARGS | METH_KEYWORDS },
18392 { (char *)"LanguageInfo_Description_get", (PyCFunction) _wrap_LanguageInfo_Description_get, METH_VARARGS | METH_KEYWORDS },
18393 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister, METH_VARARGS },
18394 { (char *)"new_Locale", (PyCFunction) _wrap_new_Locale, METH_VARARGS | METH_KEYWORDS },
18395 { (char *)"delete_Locale", (PyCFunction) _wrap_delete_Locale, METH_VARARGS | METH_KEYWORDS },
18396 { (char *)"Locale_Init1", (PyCFunction) _wrap_Locale_Init1, METH_VARARGS | METH_KEYWORDS },
18397 { (char *)"Locale_Init2", (PyCFunction) _wrap_Locale_Init2, METH_VARARGS | METH_KEYWORDS },
18398 { (char *)"Locale_GetSystemLanguage", (PyCFunction) _wrap_Locale_GetSystemLanguage, METH_VARARGS | METH_KEYWORDS },
18399 { (char *)"Locale_GetSystemEncoding", (PyCFunction) _wrap_Locale_GetSystemEncoding, METH_VARARGS | METH_KEYWORDS },
18400 { (char *)"Locale_GetSystemEncodingName", (PyCFunction) _wrap_Locale_GetSystemEncodingName, METH_VARARGS | METH_KEYWORDS },
18401 { (char *)"Locale_IsOk", (PyCFunction) _wrap_Locale_IsOk, METH_VARARGS | METH_KEYWORDS },
18402 { (char *)"Locale_GetLocale", (PyCFunction) _wrap_Locale_GetLocale, METH_VARARGS | METH_KEYWORDS },
18403 { (char *)"Locale_GetLanguage", (PyCFunction) _wrap_Locale_GetLanguage, METH_VARARGS | METH_KEYWORDS },
18404 { (char *)"Locale_GetSysName", (PyCFunction) _wrap_Locale_GetSysName, METH_VARARGS | METH_KEYWORDS },
18405 { (char *)"Locale_GetCanonicalName", (PyCFunction) _wrap_Locale_GetCanonicalName, METH_VARARGS | METH_KEYWORDS },
18406 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction) _wrap_Locale_AddCatalogLookupPathPrefix, METH_VARARGS | METH_KEYWORDS },
18407 { (char *)"Locale_AddCatalog", (PyCFunction) _wrap_Locale_AddCatalog, METH_VARARGS | METH_KEYWORDS },
18408 { (char *)"Locale_IsLoaded", (PyCFunction) _wrap_Locale_IsLoaded, METH_VARARGS | METH_KEYWORDS },
18409 { (char *)"Locale_GetLanguageInfo", (PyCFunction) _wrap_Locale_GetLanguageInfo, METH_VARARGS | METH_KEYWORDS },
18410 { (char *)"Locale_GetLanguageName", (PyCFunction) _wrap_Locale_GetLanguageName, METH_VARARGS | METH_KEYWORDS },
18411 { (char *)"Locale_FindLanguageInfo", (PyCFunction) _wrap_Locale_FindLanguageInfo, METH_VARARGS | METH_KEYWORDS },
18412 { (char *)"Locale_AddLanguage", (PyCFunction) _wrap_Locale_AddLanguage, METH_VARARGS | METH_KEYWORDS },
18413 { (char *)"Locale_GetString", (PyCFunction) _wrap_Locale_GetString, METH_VARARGS | METH_KEYWORDS },
18414 { (char *)"Locale_GetName", (PyCFunction) _wrap_Locale_GetName, METH_VARARGS | METH_KEYWORDS },
18415 { (char *)"Locale_swigregister", Locale_swigregister, METH_VARARGS },
18416 { (char *)"GetLocale", (PyCFunction) _wrap_GetLocale, METH_VARARGS | METH_KEYWORDS },
18417 { (char *)"GetTranslation", _wrap_GetTranslation, METH_VARARGS },
18418 { (char *)"new_EncodingConverter", (PyCFunction) _wrap_new_EncodingConverter, METH_VARARGS | METH_KEYWORDS },
18419 { (char *)"delete_EncodingConverter", (PyCFunction) _wrap_delete_EncodingConverter, METH_VARARGS | METH_KEYWORDS },
18420 { (char *)"EncodingConverter_Init", (PyCFunction) _wrap_EncodingConverter_Init, METH_VARARGS | METH_KEYWORDS },
18421 { (char *)"EncodingConverter_Convert", (PyCFunction) _wrap_EncodingConverter_Convert, METH_VARARGS | METH_KEYWORDS },
18422 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction) _wrap_EncodingConverter_GetPlatformEquivalents, METH_VARARGS | METH_KEYWORDS },
18423 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction) _wrap_EncodingConverter_GetAllEquivalents, METH_VARARGS | METH_KEYWORDS },
18424 { (char *)"EncodingConverter_CanConvert", (PyCFunction) _wrap_EncodingConverter_CanConvert, METH_VARARGS | METH_KEYWORDS },
18425 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister, METH_VARARGS },
18426 { (char *)"delete_DC", (PyCFunction) _wrap_delete_DC, METH_VARARGS | METH_KEYWORDS },
18427 { (char *)"DC_BeginDrawing", (PyCFunction) _wrap_DC_BeginDrawing, METH_VARARGS | METH_KEYWORDS },
18428 { (char *)"DC_EndDrawing", (PyCFunction) _wrap_DC_EndDrawing, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18429 { (char *)"DC_FloodFill", (PyCFunction) _wrap_DC_FloodFill, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18430 { (char *)"DC_FloodFillPoint", (PyCFunction) _wrap_DC_FloodFillPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18431 { (char *)"DC_GetPixel", (PyCFunction) _wrap_DC_GetPixel, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18432 { (char *)"DC_GetPixelPoint", (PyCFunction) _wrap_DC_GetPixelPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18433 { (char *)"DC_DrawLine", (PyCFunction) _wrap_DC_DrawLine, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18434 { (char *)"DC_DrawLinePoint", (PyCFunction) _wrap_DC_DrawLinePoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18435 { (char *)"DC_CrossHair", (PyCFunction) _wrap_DC_CrossHair, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18436 { (char *)"DC_CrossHairPoint", (PyCFunction) _wrap_DC_CrossHairPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18437 { (char *)"DC_DrawArc", (PyCFunction) _wrap_DC_DrawArc, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18438 { (char *)"DC_DrawArcPoint", (PyCFunction) _wrap_DC_DrawArcPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18439 { (char *)"DC_DrawCheckMark", (PyCFunction) _wrap_DC_DrawCheckMark, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18440 { (char *)"DC_DrawCheckMarkRect", (PyCFunction) _wrap_DC_DrawCheckMarkRect, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18441 { (char *)"DC_DrawEllipticArc", (PyCFunction) _wrap_DC_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18442 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction) _wrap_DC_DrawEllipticArcPointSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18443 { (char *)"DC_DrawPoint", (PyCFunction) _wrap_DC_DrawPoint, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18444 { (char *)"DC_DrawPointPoint", (PyCFunction) _wrap_DC_DrawPointPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18445 { (char *)"DC_DrawRectangle", (PyCFunction) _wrap_DC_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
18446 { (char *)"DC_DrawRectangleRect", (PyCFunction) _wrap_DC_DrawRectangleRect, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18447 { (char *)"DC_DrawRectanglePointSize", (PyCFunction) _wrap_DC_DrawRectanglePointSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18448 { (char *)"DC_DrawRoundedRectangle", (PyCFunction) _wrap_DC_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
18449 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction) _wrap_DC_DrawRoundedRectangleRect, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18450 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction) _wrap_DC_DrawRoundedRectanglePointSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18451 { (char *)"DC_DrawCircle", (PyCFunction) _wrap_DC_DrawCircle, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18452 { (char *)"DC_DrawCirclePoint", (PyCFunction) _wrap_DC_DrawCirclePoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18453 { (char *)"DC_DrawEllipse", (PyCFunction) _wrap_DC_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
18454 { (char *)"DC_DrawEllipseRect", (PyCFunction) _wrap_DC_DrawEllipseRect, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18455 { (char *)"DC_DrawEllipsePointSize", (PyCFunction) _wrap_DC_DrawEllipsePointSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18456 { (char *)"DC_DrawIcon", (PyCFunction) _wrap_DC_DrawIcon, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18457 { (char *)"DC_DrawIconPoint", (PyCFunction) _wrap_DC_DrawIconPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18458 { (char *)"DC_DrawBitmap", (PyCFunction) _wrap_DC_DrawBitmap, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18459 { (char *)"DC_DrawBitmapPoint", (PyCFunction) _wrap_DC_DrawBitmapPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18460 { (char *)"DC_DrawText", (PyCFunction) _wrap_DC_DrawText, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18461 { (char *)"DC_DrawTextPoint", (PyCFunction) _wrap_DC_DrawTextPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18462 { (char *)"DC_DrawRotatedText", (PyCFunction) _wrap_DC_DrawRotatedText, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18463 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction) _wrap_DC_DrawRotatedTextPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18464 { (char *)"DC_Blit", (PyCFunction) _wrap_DC_Blit, METH_VARARGS | METH_KEYWORDS },
03e37cd5
RD
18465 { (char *)"DC_BlitPointSize", (PyCFunction) _wrap_DC_BlitPointSize, METH_VARARGS | METH_KEYWORDS },
18466 { (char *)"DC_SetClippingRegion", (PyCFunction) _wrap_DC_SetClippingRegion, METH_VARARGS | METH_KEYWORDS },
18467 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction) _wrap_DC_SetClippingRegionPointSize, METH_VARARGS | METH_KEYWORDS },
18468 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction) _wrap_DC_SetClippingRegionAsRegion, METH_VARARGS | METH_KEYWORDS },
18469 { (char *)"DC_SetClippingRect", (PyCFunction) _wrap_DC_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18470 { (char *)"DC_DrawLines", (PyCFunction) _wrap_DC_DrawLines, METH_VARARGS | METH_KEYWORDS },
18471 { (char *)"DC_DrawPolygon", (PyCFunction) _wrap_DC_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
18472 { (char *)"DC_DrawLabel", (PyCFunction) _wrap_DC_DrawLabel, METH_VARARGS | METH_KEYWORDS },
18473 { (char *)"DC_DrawImageLabel", (PyCFunction) _wrap_DC_DrawImageLabel, METH_VARARGS | METH_KEYWORDS },
18474 { (char *)"DC_DrawSpline", (PyCFunction) _wrap_DC_DrawSpline, METH_VARARGS | METH_KEYWORDS },
18475 { (char *)"DC_Clear", (PyCFunction) _wrap_DC_Clear, METH_VARARGS | METH_KEYWORDS },
18476 { (char *)"DC_StartDoc", (PyCFunction) _wrap_DC_StartDoc, METH_VARARGS | METH_KEYWORDS },
18477 { (char *)"DC_EndDoc", (PyCFunction) _wrap_DC_EndDoc, METH_VARARGS | METH_KEYWORDS },
18478 { (char *)"DC_StartPage", (PyCFunction) _wrap_DC_StartPage, METH_VARARGS | METH_KEYWORDS },
18479 { (char *)"DC_EndPage", (PyCFunction) _wrap_DC_EndPage, METH_VARARGS | METH_KEYWORDS },
18480 { (char *)"DC_SetFont", (PyCFunction) _wrap_DC_SetFont, METH_VARARGS | METH_KEYWORDS },
18481 { (char *)"DC_SetPen", (PyCFunction) _wrap_DC_SetPen, METH_VARARGS | METH_KEYWORDS },
18482 { (char *)"DC_SetBrush", (PyCFunction) _wrap_DC_SetBrush, METH_VARARGS | METH_KEYWORDS },
18483 { (char *)"DC_SetBackground", (PyCFunction) _wrap_DC_SetBackground, METH_VARARGS | METH_KEYWORDS },
18484 { (char *)"DC_SetBackgroundMode", (PyCFunction) _wrap_DC_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
18485 { (char *)"DC_SetPalette", (PyCFunction) _wrap_DC_SetPalette, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18486 { (char *)"DC_DestroyClippingRegion", (PyCFunction) _wrap_DC_DestroyClippingRegion, METH_VARARGS | METH_KEYWORDS },
18487 { (char *)"DC_GetClippingBox", (PyCFunction) _wrap_DC_GetClippingBox, METH_VARARGS | METH_KEYWORDS },
18488 { (char *)"DC_GetClippingRect", (PyCFunction) _wrap_DC_GetClippingRect, METH_VARARGS | METH_KEYWORDS },
18489 { (char *)"DC_GetCharHeight", (PyCFunction) _wrap_DC_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
18490 { (char *)"DC_GetCharWidth", (PyCFunction) _wrap_DC_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
18491 { (char *)"DC_GetTextExtent", (PyCFunction) _wrap_DC_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
18492 { (char *)"DC_GetFullTextExtent", (PyCFunction) _wrap_DC_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
18493 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction) _wrap_DC_GetMultiLineTextExtent, METH_VARARGS | METH_KEYWORDS },
db914595 18494 { (char *)"DC_GetPartialTextExtents", (PyCFunction) _wrap_DC_GetPartialTextExtents, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18495 { (char *)"DC_GetSize", (PyCFunction) _wrap_DC_GetSize, METH_VARARGS | METH_KEYWORDS },
322913ce 18496 { (char *)"DC_GetSizeTuple", (PyCFunction) _wrap_DC_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18497 { (char *)"DC_GetSizeMM", (PyCFunction) _wrap_DC_GetSizeMM, METH_VARARGS | METH_KEYWORDS },
322913ce 18498 { (char *)"DC_GetSizeMMTuple", (PyCFunction) _wrap_DC_GetSizeMMTuple, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18499 { (char *)"DC_DeviceToLogicalX", (PyCFunction) _wrap_DC_DeviceToLogicalX, METH_VARARGS | METH_KEYWORDS },
18500 { (char *)"DC_DeviceToLogicalY", (PyCFunction) _wrap_DC_DeviceToLogicalY, METH_VARARGS | METH_KEYWORDS },
18501 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction) _wrap_DC_DeviceToLogicalXRel, METH_VARARGS | METH_KEYWORDS },
18502 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction) _wrap_DC_DeviceToLogicalYRel, METH_VARARGS | METH_KEYWORDS },
18503 { (char *)"DC_LogicalToDeviceX", (PyCFunction) _wrap_DC_LogicalToDeviceX, METH_VARARGS | METH_KEYWORDS },
18504 { (char *)"DC_LogicalToDeviceY", (PyCFunction) _wrap_DC_LogicalToDeviceY, METH_VARARGS | METH_KEYWORDS },
18505 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction) _wrap_DC_LogicalToDeviceXRel, METH_VARARGS | METH_KEYWORDS },
18506 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction) _wrap_DC_LogicalToDeviceYRel, METH_VARARGS | METH_KEYWORDS },
18507 { (char *)"DC_CanDrawBitmap", (PyCFunction) _wrap_DC_CanDrawBitmap, METH_VARARGS | METH_KEYWORDS },
18508 { (char *)"DC_CanGetTextExtent", (PyCFunction) _wrap_DC_CanGetTextExtent, METH_VARARGS | METH_KEYWORDS },
18509 { (char *)"DC_GetDepth", (PyCFunction) _wrap_DC_GetDepth, METH_VARARGS | METH_KEYWORDS },
18510 { (char *)"DC_GetPPI", (PyCFunction) _wrap_DC_GetPPI, METH_VARARGS | METH_KEYWORDS },
18511 { (char *)"DC_Ok", (PyCFunction) _wrap_DC_Ok, METH_VARARGS | METH_KEYWORDS },
18512 { (char *)"DC_GetBackgroundMode", (PyCFunction) _wrap_DC_GetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
18513 { (char *)"DC_GetBackground", (PyCFunction) _wrap_DC_GetBackground, METH_VARARGS | METH_KEYWORDS },
18514 { (char *)"DC_GetBrush", (PyCFunction) _wrap_DC_GetBrush, METH_VARARGS | METH_KEYWORDS },
18515 { (char *)"DC_GetFont", (PyCFunction) _wrap_DC_GetFont, METH_VARARGS | METH_KEYWORDS },
18516 { (char *)"DC_GetPen", (PyCFunction) _wrap_DC_GetPen, METH_VARARGS | METH_KEYWORDS },
18517 { (char *)"DC_GetTextBackground", (PyCFunction) _wrap_DC_GetTextBackground, METH_VARARGS | METH_KEYWORDS },
18518 { (char *)"DC_GetTextForeground", (PyCFunction) _wrap_DC_GetTextForeground, METH_VARARGS | METH_KEYWORDS },
18519 { (char *)"DC_SetTextForeground", (PyCFunction) _wrap_DC_SetTextForeground, METH_VARARGS | METH_KEYWORDS },
18520 { (char *)"DC_SetTextBackground", (PyCFunction) _wrap_DC_SetTextBackground, METH_VARARGS | METH_KEYWORDS },
18521 { (char *)"DC_GetMapMode", (PyCFunction) _wrap_DC_GetMapMode, METH_VARARGS | METH_KEYWORDS },
18522 { (char *)"DC_SetMapMode", (PyCFunction) _wrap_DC_SetMapMode, METH_VARARGS | METH_KEYWORDS },
18523 { (char *)"DC_GetUserScale", (PyCFunction) _wrap_DC_GetUserScale, METH_VARARGS | METH_KEYWORDS },
18524 { (char *)"DC_SetUserScale", (PyCFunction) _wrap_DC_SetUserScale, METH_VARARGS | METH_KEYWORDS },
18525 { (char *)"DC_GetLogicalScale", (PyCFunction) _wrap_DC_GetLogicalScale, METH_VARARGS | METH_KEYWORDS },
18526 { (char *)"DC_SetLogicalScale", (PyCFunction) _wrap_DC_SetLogicalScale, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18527 { (char *)"DC_GetLogicalOrigin", (PyCFunction) _wrap_DC_GetLogicalOrigin, METH_VARARGS | METH_KEYWORDS },
322913ce 18528 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction) _wrap_DC_GetLogicalOriginTuple, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18529 { (char *)"DC_SetLogicalOrigin", (PyCFunction) _wrap_DC_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18530 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction) _wrap_DC_SetLogicalOriginPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18531 { (char *)"DC_GetDeviceOrigin", (PyCFunction) _wrap_DC_GetDeviceOrigin, METH_VARARGS | METH_KEYWORDS },
322913ce 18532 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction) _wrap_DC_GetDeviceOriginTuple, METH_VARARGS | METH_KEYWORDS },
d14a1e28 18533 { (char *)"DC_SetDeviceOrigin", (PyCFunction) _wrap_DC_SetDeviceOrigin, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18534 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction) _wrap_DC_SetDeviceOriginPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18535 { (char *)"DC_SetAxisOrientation", (PyCFunction) _wrap_DC_SetAxisOrientation, METH_VARARGS | METH_KEYWORDS },
18536 { (char *)"DC_GetLogicalFunction", (PyCFunction) _wrap_DC_GetLogicalFunction, METH_VARARGS | METH_KEYWORDS },
18537 { (char *)"DC_SetLogicalFunction", (PyCFunction) _wrap_DC_SetLogicalFunction, METH_VARARGS | METH_KEYWORDS },
18538 { (char *)"DC_SetOptimization", (PyCFunction) _wrap_DC_SetOptimization, METH_VARARGS | METH_KEYWORDS },
18539 { (char *)"DC_GetOptimization", (PyCFunction) _wrap_DC_GetOptimization, METH_VARARGS | METH_KEYWORDS },
18540 { (char *)"DC_CalcBoundingBox", (PyCFunction) _wrap_DC_CalcBoundingBox, METH_VARARGS | METH_KEYWORDS },
03e37cd5 18541 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction) _wrap_DC_CalcBoundingBoxPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18542 { (char *)"DC_ResetBoundingBox", (PyCFunction) _wrap_DC_ResetBoundingBox, METH_VARARGS | METH_KEYWORDS },
18543 { (char *)"DC_MinX", (PyCFunction) _wrap_DC_MinX, METH_VARARGS | METH_KEYWORDS },
18544 { (char *)"DC_MaxX", (PyCFunction) _wrap_DC_MaxX, METH_VARARGS | METH_KEYWORDS },
18545 { (char *)"DC_MinY", (PyCFunction) _wrap_DC_MinY, METH_VARARGS | METH_KEYWORDS },
18546 { (char *)"DC_MaxY", (PyCFunction) _wrap_DC_MaxY, METH_VARARGS | METH_KEYWORDS },
18547 { (char *)"DC_GetBoundingBox", (PyCFunction) _wrap_DC_GetBoundingBox, METH_VARARGS | METH_KEYWORDS },
18548 { (char *)"DC__DrawPointList", (PyCFunction) _wrap_DC__DrawPointList, METH_VARARGS | METH_KEYWORDS },
18549 { (char *)"DC__DrawLineList", (PyCFunction) _wrap_DC__DrawLineList, METH_VARARGS | METH_KEYWORDS },
18550 { (char *)"DC__DrawRectangleList", (PyCFunction) _wrap_DC__DrawRectangleList, METH_VARARGS | METH_KEYWORDS },
18551 { (char *)"DC__DrawEllipseList", (PyCFunction) _wrap_DC__DrawEllipseList, METH_VARARGS | METH_KEYWORDS },
18552 { (char *)"DC__DrawPolygonList", (PyCFunction) _wrap_DC__DrawPolygonList, METH_VARARGS | METH_KEYWORDS },
18553 { (char *)"DC__DrawTextList", (PyCFunction) _wrap_DC__DrawTextList, METH_VARARGS | METH_KEYWORDS },
18554 { (char *)"DC_swigregister", DC_swigregister, METH_VARARGS },
18555 { (char *)"new_MemoryDC", (PyCFunction) _wrap_new_MemoryDC, METH_VARARGS | METH_KEYWORDS },
18556 { (char *)"new_MemoryDCFromDC", (PyCFunction) _wrap_new_MemoryDCFromDC, METH_VARARGS | METH_KEYWORDS },
18557 { (char *)"MemoryDC_SelectObject", (PyCFunction) _wrap_MemoryDC_SelectObject, METH_VARARGS | METH_KEYWORDS },
18558 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister, METH_VARARGS },
3adfb63b
RD
18559 { (char *)"new_BufferedDC", _wrap_new_BufferedDC, METH_VARARGS },
18560 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer, METH_VARARGS },
e498079e 18561 { (char *)"delete_BufferedDC", (PyCFunction) _wrap_delete_BufferedDC, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18562 { (char *)"BufferedDC_UnMask", (PyCFunction) _wrap_BufferedDC_UnMask, METH_VARARGS | METH_KEYWORDS },
18563 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister, METH_VARARGS },
e498079e 18564 { (char *)"new_BufferedPaintDC", (PyCFunction) _wrap_new_BufferedPaintDC, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
18565 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister, METH_VARARGS },
18566 { (char *)"new_ScreenDC", (PyCFunction) _wrap_new_ScreenDC, METH_VARARGS | METH_KEYWORDS },
18567 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction) _wrap_ScreenDC_StartDrawingOnTopWin, METH_VARARGS | METH_KEYWORDS },
18568 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction) _wrap_ScreenDC_StartDrawingOnTop, METH_VARARGS | METH_KEYWORDS },
18569 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction) _wrap_ScreenDC_EndDrawingOnTop, METH_VARARGS | METH_KEYWORDS },
18570 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister, METH_VARARGS },
18571 { (char *)"new_ClientDC", (PyCFunction) _wrap_new_ClientDC, METH_VARARGS | METH_KEYWORDS },
18572 { (char *)"ClientDC_swigregister", ClientDC_swigregister, METH_VARARGS },
18573 { (char *)"new_PaintDC", (PyCFunction) _wrap_new_PaintDC, METH_VARARGS | METH_KEYWORDS },
18574 { (char *)"PaintDC_swigregister", PaintDC_swigregister, METH_VARARGS },
18575 { (char *)"new_WindowDC", (PyCFunction) _wrap_new_WindowDC, METH_VARARGS | METH_KEYWORDS },
18576 { (char *)"WindowDC_swigregister", WindowDC_swigregister, METH_VARARGS },
18577 { (char *)"new_MirrorDC", (PyCFunction) _wrap_new_MirrorDC, METH_VARARGS | METH_KEYWORDS },
18578 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister, METH_VARARGS },
18579 { (char *)"new_PostScriptDC", (PyCFunction) _wrap_new_PostScriptDC, METH_VARARGS | METH_KEYWORDS },
18580 { (char *)"PostScriptDC_GetPrintData", (PyCFunction) _wrap_PostScriptDC_GetPrintData, METH_VARARGS | METH_KEYWORDS },
18581 { (char *)"PostScriptDC_SetPrintData", (PyCFunction) _wrap_PostScriptDC_SetPrintData, METH_VARARGS | METH_KEYWORDS },
18582 { (char *)"PostScriptDC_SetResolution", (PyCFunction) _wrap_PostScriptDC_SetResolution, METH_VARARGS | METH_KEYWORDS },
18583 { (char *)"PostScriptDC_GetResolution", (PyCFunction) _wrap_PostScriptDC_GetResolution, METH_VARARGS | METH_KEYWORDS },
18584 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister, METH_VARARGS },
18585 { (char *)"new_MetaFile", (PyCFunction) _wrap_new_MetaFile, METH_VARARGS | METH_KEYWORDS },
18586 { (char *)"MetaFile_swigregister", MetaFile_swigregister, METH_VARARGS },
18587 { (char *)"new_MetaFileDC", (PyCFunction) _wrap_new_MetaFileDC, METH_VARARGS | METH_KEYWORDS },
18588 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister, METH_VARARGS },
18589 { (char *)"new_PrinterDC", (PyCFunction) _wrap_new_PrinterDC, METH_VARARGS | METH_KEYWORDS },
18590 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister, METH_VARARGS },
18591 { (char *)"new_ImageList", (PyCFunction) _wrap_new_ImageList, METH_VARARGS | METH_KEYWORDS },
18592 { (char *)"delete_ImageList", (PyCFunction) _wrap_delete_ImageList, METH_VARARGS | METH_KEYWORDS },
18593 { (char *)"ImageList_Add", (PyCFunction) _wrap_ImageList_Add, METH_VARARGS | METH_KEYWORDS },
18594 { (char *)"ImageList_AddWithColourMask", (PyCFunction) _wrap_ImageList_AddWithColourMask, METH_VARARGS | METH_KEYWORDS },
18595 { (char *)"ImageList_AddIcon", (PyCFunction) _wrap_ImageList_AddIcon, METH_VARARGS | METH_KEYWORDS },
18596 { (char *)"ImageList_Replace", (PyCFunction) _wrap_ImageList_Replace, METH_VARARGS | METH_KEYWORDS },
18597 { (char *)"ImageList_Draw", (PyCFunction) _wrap_ImageList_Draw, METH_VARARGS | METH_KEYWORDS },
18598 { (char *)"ImageList_GetImageCount", (PyCFunction) _wrap_ImageList_GetImageCount, METH_VARARGS | METH_KEYWORDS },
18599 { (char *)"ImageList_Remove", (PyCFunction) _wrap_ImageList_Remove, METH_VARARGS | METH_KEYWORDS },
18600 { (char *)"ImageList_RemoveAll", (PyCFunction) _wrap_ImageList_RemoveAll, METH_VARARGS | METH_KEYWORDS },
18601 { (char *)"ImageList_GetSize", (PyCFunction) _wrap_ImageList_GetSize, METH_VARARGS | METH_KEYWORDS },
18602 { (char *)"ImageList_swigregister", ImageList_swigregister, METH_VARARGS },
18603 { (char *)"PenList_AddPen", (PyCFunction) _wrap_PenList_AddPen, METH_VARARGS | METH_KEYWORDS },
18604 { (char *)"PenList_FindOrCreatePen", (PyCFunction) _wrap_PenList_FindOrCreatePen, METH_VARARGS | METH_KEYWORDS },
18605 { (char *)"PenList_RemovePen", (PyCFunction) _wrap_PenList_RemovePen, METH_VARARGS | METH_KEYWORDS },
18606 { (char *)"PenList_GetCount", (PyCFunction) _wrap_PenList_GetCount, METH_VARARGS | METH_KEYWORDS },
18607 { (char *)"PenList_swigregister", PenList_swigregister, METH_VARARGS },
18608 { (char *)"BrushList_AddBrush", (PyCFunction) _wrap_BrushList_AddBrush, METH_VARARGS | METH_KEYWORDS },
18609 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction) _wrap_BrushList_FindOrCreateBrush, METH_VARARGS | METH_KEYWORDS },
18610 { (char *)"BrushList_RemoveBrush", (PyCFunction) _wrap_BrushList_RemoveBrush, METH_VARARGS | METH_KEYWORDS },
18611 { (char *)"BrushList_GetCount", (PyCFunction) _wrap_BrushList_GetCount, METH_VARARGS | METH_KEYWORDS },
18612 { (char *)"BrushList_swigregister", BrushList_swigregister, METH_VARARGS },
18613 { (char *)"new_ColourDatabase", (PyCFunction) _wrap_new_ColourDatabase, METH_VARARGS | METH_KEYWORDS },
18614 { (char *)"delete_ColourDatabase", (PyCFunction) _wrap_delete_ColourDatabase, METH_VARARGS | METH_KEYWORDS },
18615 { (char *)"ColourDatabase_Find", (PyCFunction) _wrap_ColourDatabase_Find, METH_VARARGS | METH_KEYWORDS },
18616 { (char *)"ColourDatabase_FindName", (PyCFunction) _wrap_ColourDatabase_FindName, METH_VARARGS | METH_KEYWORDS },
18617 { (char *)"ColourDatabase_AddColour", (PyCFunction) _wrap_ColourDatabase_AddColour, METH_VARARGS | METH_KEYWORDS },
18618 { (char *)"ColourDatabase_Append", (PyCFunction) _wrap_ColourDatabase_Append, METH_VARARGS | METH_KEYWORDS },
18619 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister, METH_VARARGS },
18620 { (char *)"FontList_AddFont", (PyCFunction) _wrap_FontList_AddFont, METH_VARARGS | METH_KEYWORDS },
18621 { (char *)"FontList_FindOrCreateFont", (PyCFunction) _wrap_FontList_FindOrCreateFont, METH_VARARGS | METH_KEYWORDS },
18622 { (char *)"FontList_RemoveFont", (PyCFunction) _wrap_FontList_RemoveFont, METH_VARARGS | METH_KEYWORDS },
18623 { (char *)"FontList_GetCount", (PyCFunction) _wrap_FontList_GetCount, METH_VARARGS | METH_KEYWORDS },
18624 { (char *)"FontList_swigregister", FontList_swigregister, METH_VARARGS },
d14a1e28
RD
18625 { (char *)"new_Effects", (PyCFunction) _wrap_new_Effects, METH_VARARGS | METH_KEYWORDS },
18626 { (char *)"Effects_GetHighlightColour", (PyCFunction) _wrap_Effects_GetHighlightColour, METH_VARARGS | METH_KEYWORDS },
18627 { (char *)"Effects_GetLightShadow", (PyCFunction) _wrap_Effects_GetLightShadow, METH_VARARGS | METH_KEYWORDS },
18628 { (char *)"Effects_GetFaceColour", (PyCFunction) _wrap_Effects_GetFaceColour, METH_VARARGS | METH_KEYWORDS },
18629 { (char *)"Effects_GetMediumShadow", (PyCFunction) _wrap_Effects_GetMediumShadow, METH_VARARGS | METH_KEYWORDS },
18630 { (char *)"Effects_GetDarkShadow", (PyCFunction) _wrap_Effects_GetDarkShadow, METH_VARARGS | METH_KEYWORDS },
18631 { (char *)"Effects_SetHighlightColour", (PyCFunction) _wrap_Effects_SetHighlightColour, METH_VARARGS | METH_KEYWORDS },
18632 { (char *)"Effects_SetLightShadow", (PyCFunction) _wrap_Effects_SetLightShadow, METH_VARARGS | METH_KEYWORDS },
18633 { (char *)"Effects_SetFaceColour", (PyCFunction) _wrap_Effects_SetFaceColour, METH_VARARGS | METH_KEYWORDS },
18634 { (char *)"Effects_SetMediumShadow", (PyCFunction) _wrap_Effects_SetMediumShadow, METH_VARARGS | METH_KEYWORDS },
18635 { (char *)"Effects_SetDarkShadow", (PyCFunction) _wrap_Effects_SetDarkShadow, METH_VARARGS | METH_KEYWORDS },
18636 { (char *)"Effects_Set", (PyCFunction) _wrap_Effects_Set, METH_VARARGS | METH_KEYWORDS },
18637 { (char *)"Effects_DrawSunkenEdge", (PyCFunction) _wrap_Effects_DrawSunkenEdge, METH_VARARGS | METH_KEYWORDS },
18638 { (char *)"Effects_TileBitmap", (PyCFunction) _wrap_Effects_TileBitmap, METH_VARARGS | METH_KEYWORDS },
18639 { (char *)"Effects_swigregister", Effects_swigregister, METH_VARARGS },
18640 { NULL, NULL }
18641};
18642
18643
18644/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18645
e811c8ce
RD
18646static void *_p_wxControlTo_p_wxWindow(void *x) {
18647 return (void *)((wxWindow *) ((wxControl *) x));
18648}
18649static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
18650 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
18651}
18652static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
18653 return (void *)((wxWindow *) ((wxMenuBar *) x));
18654}
d14a1e28
RD
18655static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x) {
18656 return (void *)((wxMemoryDC *) ((wxBufferedDC *) x));
18657}
18658static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x) {
18659 return (void *)((wxMemoryDC *) (wxBufferedDC *) ((wxBufferedPaintDC *) x));
18660}
d14a1e28
RD
18661static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
18662 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
18663}
18664static void *_p_wxPenTo_p_wxObject(void *x) {
18665 return (void *)((wxObject *) (wxGDIObject *) ((wxPen *) x));
18666}
18667static void *_p_wxRegionIteratorTo_p_wxObject(void *x) {
18668 return (void *)((wxObject *) ((wxRegionIterator *) x));
18669}
18670static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
18671 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
18672}
18673static void *_p_wxSizerItemTo_p_wxObject(void *x) {
18674 return (void *)((wxObject *) ((wxSizerItem *) x));
18675}
18676static void *_p_wxColourDatabaseTo_p_wxObject(void *x) {
18677 return (void *)((wxObject *) ((wxColourDatabase *) x));
18678}
18679static void *_p_wxScrollEventTo_p_wxObject(void *x) {
18680 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
18681}
18682static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
18683 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
18684}
18685static void *_p_wxIconTo_p_wxObject(void *x) {
18686 return (void *)((wxObject *) (wxGDIObject *) ((wxIcon *) x));
18687}
18688static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
18689 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
18690}
18691static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
18692 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
18693}
18694static void *_p_wxSizerTo_p_wxObject(void *x) {
18695 return (void *)((wxObject *) ((wxSizer *) x));
18696}
18697static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
18698 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
18699}
18700static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
18701 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
18702}
18703static void *_p_wxPenListTo_p_wxObject(void *x) {
18704 return (void *)((wxObject *) ((wxPenList *) x));
18705}
18706static void *_p_wxEventTo_p_wxObject(void *x) {
18707 return (void *)((wxObject *) ((wxEvent *) x));
18708}
18709static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
18710 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
18711}
18712static void *_p_wxGridSizerTo_p_wxObject(void *x) {
18713 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
18714}
18715static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
18716 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
18717}
18718static void *_p_wxPaintEventTo_p_wxObject(void *x) {
18719 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
18720}
18721static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
18722 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
18723}
18724static void *_p_wxDCTo_p_wxObject(void *x) {
18725 return (void *)((wxObject *) ((wxDC *) x));
18726}
18727static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
18728 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
18729}
18730static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
18731 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
18732}
18733static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
18734 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
18735}
18736static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
18737 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
18738}
18739static void *_p_wxControlTo_p_wxObject(void *x) {
18740 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
18741}
18742static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
18743 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
18744}
18745static void *_p_wxClientDCTo_p_wxObject(void *x) {
18746 return (void *)((wxObject *) (wxDC *) ((wxClientDC *) x));
18747}
18748static void *_p_wxFSFileTo_p_wxObject(void *x) {
18749 return (void *)((wxObject *) ((wxFSFile *) x));
18750}
18751static void *_p_wxMemoryDCTo_p_wxObject(void *x) {
18752 return (void *)((wxObject *) (wxDC *) ((wxMemoryDC *) x));
18753}
18754static void *_p_wxRegionTo_p_wxObject(void *x) {
18755 return (void *)((wxObject *) (wxGDIObject *) ((wxRegion *) x));
18756}
18757static void *_p_wxPySizerTo_p_wxObject(void *x) {
18758 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
18759}
18760static void *_p_wxWindowDCTo_p_wxObject(void *x) {
18761 return (void *)((wxObject *) (wxDC *) ((wxWindowDC *) x));
18762}
18763static void *_p_wxGDIObjectTo_p_wxObject(void *x) {
18764 return (void *)((wxObject *) ((wxGDIObject *) x));
18765}
18766static void *_p_wxEffectsTo_p_wxObject(void *x) {
18767 return (void *)((wxObject *) ((wxEffects *) x));
18768}
18769static void *_p_wxPyEventTo_p_wxObject(void *x) {
18770 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
18771}
18772static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
18773 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
18774}
18775static void *_p_wxPostScriptDCTo_p_wxObject(void *x) {
18776 return (void *)((wxObject *) (wxDC *) ((wxPostScriptDC *) x));
18777}
18778static void *_p_wxShowEventTo_p_wxObject(void *x) {
18779 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
18780}
18781static void *_p_wxMenuItemTo_p_wxObject(void *x) {
18782 return (void *)((wxObject *) ((wxMenuItem *) x));
18783}
18784static void *_p_wxIdleEventTo_p_wxObject(void *x) {
18785 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
18786}
18787static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
18788 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
18789}
18790static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
18791 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
18792}
18793static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
18794 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
18795}
18796static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
18797 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
18798}
18799static void *_p_wxSizeEventTo_p_wxObject(void *x) {
18800 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
18801}
18802static void *_p_wxMoveEventTo_p_wxObject(void *x) {
18803 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
18804}
18805static void *_p_wxActivateEventTo_p_wxObject(void *x) {
18806 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
18807}
18808static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
18809 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
18810}
18811static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
18812 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
18813}
18814static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
18815 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
18816}
18817static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
18818 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
18819}
18820static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
18821 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
18822}
18823static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
18824 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
18825}
18826static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
18827 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
18828}
18829static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
18830 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
18831}
18832static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
18833 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
18834}
18835static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
18836 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
18837}
18838static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
18839 return (void *)((wxObject *) ((wxImageHandler *) x));
18840}
18841static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
18842 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
18843}
18844static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
18845 return (void *)((wxObject *) ((wxEvtHandler *) x));
18846}
18847static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x) {
18848 return (void *)((wxObject *) (wxDC *)(wxMemoryDC *)(wxBufferedDC *) ((wxBufferedPaintDC *) x));
18849}
18850static void *_p_wxPaintDCTo_p_wxObject(void *x) {
18851 return (void *)((wxObject *) (wxDC *) ((wxPaintDC *) x));
18852}
18853static void *_p_wxPrinterDCTo_p_wxObject(void *x) {
18854 return (void *)((wxObject *) (wxDC *) ((wxPrinterDC *) x));
18855}
18856static void *_p_wxScreenDCTo_p_wxObject(void *x) {
18857 return (void *)((wxObject *) (wxDC *) ((wxScreenDC *) x));
18858}
1e0c8722
RD
18859static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
18860 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
18861}
d14a1e28
RD
18862static void *_p_wxImageTo_p_wxObject(void *x) {
18863 return (void *)((wxObject *) ((wxImage *) x));
18864}
18865static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
18866 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
18867}
d14a1e28
RD
18868static void *_p_wxPaletteTo_p_wxObject(void *x) {
18869 return (void *)((wxObject *) (wxGDIObject *) ((wxPalette *) x));
18870}
18871static void *_p_wxBufferedDCTo_p_wxObject(void *x) {
18872 return (void *)((wxObject *) (wxDC *)(wxMemoryDC *) ((wxBufferedDC *) x));
18873}
18874static void *_p_wxImageListTo_p_wxObject(void *x) {
18875 return (void *)((wxObject *) ((wxImageList *) x));
18876}
18877static void *_p_wxCursorTo_p_wxObject(void *x) {
18878 return (void *)((wxObject *) (wxGDIObject *) ((wxCursor *) x));
18879}
18880static void *_p_wxEncodingConverterTo_p_wxObject(void *x) {
18881 return (void *)((wxObject *) ((wxEncodingConverter *) x));
18882}
18883static void *_p_wxMirrorDCTo_p_wxObject(void *x) {
18884 return (void *)((wxObject *) (wxDC *) ((wxMirrorDC *) x));
18885}
18886static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
18887 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
18888}
18889static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
18890 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
18891}
18892static void *_p_wxKeyEventTo_p_wxObject(void *x) {
18893 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
18894}
18895static void *_p_wxWindowTo_p_wxObject(void *x) {
18896 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
18897}
18898static void *_p_wxMenuTo_p_wxObject(void *x) {
18899 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
18900}
18901static void *_p_wxMenuBarTo_p_wxObject(void *x) {
18902 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
18903}
18904static void *_p_wxMetaFileDCTo_p_wxObject(void *x) {
18905 return (void *)((wxObject *) (wxDC *) ((wxMetaFileDC *) x));
18906}
18907static void *_p_wxBrushListTo_p_wxObject(void *x) {
18908 return (void *)((wxObject *) ((wxBrushList *) x));
18909}
d14a1e28
RD
18910static void *_p_wxFileSystemTo_p_wxObject(void *x) {
18911 return (void *)((wxObject *) ((wxFileSystem *) x));
18912}
18913static void *_p_wxBitmapTo_p_wxObject(void *x) {
18914 return (void *)((wxObject *) (wxGDIObject *) ((wxBitmap *) x));
18915}
18916static void *_p_wxMaskTo_p_wxObject(void *x) {
18917 return (void *)((wxObject *) ((wxMask *) x));
18918}
18919static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
18920 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
18921}
18922static void *_p_wxMenuEventTo_p_wxObject(void *x) {
18923 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
18924}
18925static void *_p_wxPyAppTo_p_wxObject(void *x) {
18926 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
18927}
18928static void *_p_wxCloseEventTo_p_wxObject(void *x) {
18929 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
18930}
18931static void *_p_wxMouseEventTo_p_wxObject(void *x) {
18932 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
18933}
18934static void *_p_wxEraseEventTo_p_wxObject(void *x) {
18935 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
18936}
18937static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
18938 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
18939}
18940static void *_p_wxCommandEventTo_p_wxObject(void *x) {
18941 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
18942}
18943static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
18944 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
18945}
18946static void *_p_wxFocusEventTo_p_wxObject(void *x) {
18947 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
18948}
18949static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
18950 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
18951}
18952static void *_p_wxFontTo_p_wxObject(void *x) {
18953 return (void *)((wxObject *) (wxGDIObject *) ((wxFont *) x));
18954}
18955static void *_p_wxBrushTo_p_wxObject(void *x) {
18956 return (void *)((wxObject *) (wxGDIObject *) ((wxBrush *) x));
18957}
18958static void *_p_wxMetaFileTo_p_wxObject(void *x) {
18959 return (void *)((wxObject *) ((wxMetaFile *) x));
18960}
18961static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
18962 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
18963}
18964static void *_p_wxColourTo_p_wxObject(void *x) {
18965 return (void *)((wxObject *) ((wxColour *) x));
18966}
18967static void *_p_wxFontListTo_p_wxObject(void *x) {
18968 return (void *)((wxObject *) ((wxFontList *) x));
18969}
18970static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
18971 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
18972}
18973static void *_p_wxValidatorTo_p_wxObject(void *x) {
18974 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
18975}
e811c8ce
RD
18976static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x) {
18977 return (void *)((wxBufferedDC *) ((wxBufferedPaintDC *) x));
d14a1e28 18978}
e811c8ce
RD
18979static void *_p_wxBufferedDCTo_p_wxDC(void *x) {
18980 return (void *)((wxDC *) (wxMemoryDC *) ((wxBufferedDC *) x));
d14a1e28 18981}
e811c8ce
RD
18982static void *_p_wxScreenDCTo_p_wxDC(void *x) {
18983 return (void *)((wxDC *) ((wxScreenDC *) x));
18984}
18985static void *_p_wxMirrorDCTo_p_wxDC(void *x) {
18986 return (void *)((wxDC *) ((wxMirrorDC *) x));
18987}
18988static void *_p_wxMemoryDCTo_p_wxDC(void *x) {
18989 return (void *)((wxDC *) ((wxMemoryDC *) x));
18990}
18991static void *_p_wxWindowDCTo_p_wxDC(void *x) {
18992 return (void *)((wxDC *) ((wxWindowDC *) x));
18993}
18994static void *_p_wxMetaFileDCTo_p_wxDC(void *x) {
18995 return (void *)((wxDC *) ((wxMetaFileDC *) x));
18996}
18997static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x) {
18998 return (void *)((wxDC *) (wxMemoryDC *)(wxBufferedDC *) ((wxBufferedPaintDC *) x));
18999}
19000static void *_p_wxClientDCTo_p_wxDC(void *x) {
19001 return (void *)((wxDC *) ((wxClientDC *) x));
19002}
19003static void *_p_wxPaintDCTo_p_wxDC(void *x) {
19004 return (void *)((wxDC *) ((wxPaintDC *) x));
19005}
19006static void *_p_wxPostScriptDCTo_p_wxDC(void *x) {
19007 return (void *)((wxDC *) ((wxPostScriptDC *) x));
19008}
19009static void *_p_wxPrinterDCTo_p_wxDC(void *x) {
19010 return (void *)((wxDC *) ((wxPrinterDC *) x));
19011}
e811c8ce
RD
19012static void *_p_wxIconTo_p_wxGDIObject(void *x) {
19013 return (void *)((wxGDIObject *) ((wxIcon *) x));
19014}
19015static void *_p_wxPaletteTo_p_wxGDIObject(void *x) {
19016 return (void *)((wxGDIObject *) ((wxPalette *) x));
19017}
19018static void *_p_wxPenTo_p_wxGDIObject(void *x) {
19019 return (void *)((wxGDIObject *) ((wxPen *) x));
19020}
19021static void *_p_wxFontTo_p_wxGDIObject(void *x) {
19022 return (void *)((wxGDIObject *) ((wxFont *) x));
19023}
19024static void *_p_wxCursorTo_p_wxGDIObject(void *x) {
19025 return (void *)((wxGDIObject *) ((wxCursor *) x));
19026}
19027static void *_p_wxBitmapTo_p_wxGDIObject(void *x) {
19028 return (void *)((wxGDIObject *) ((wxBitmap *) x));
19029}
19030static void *_p_wxRegionTo_p_wxGDIObject(void *x) {
19031 return (void *)((wxGDIObject *) ((wxRegion *) x));
19032}
19033static void *_p_wxBrushTo_p_wxGDIObject(void *x) {
19034 return (void *)((wxGDIObject *) ((wxBrush *) x));
19035}
15afbcd0
RD
19036static 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}};
19037static 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}};
19038static 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}};
19039static 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}};
19040static 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}};
19041static 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}};
19042static 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}};
19043static 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}};
19044static 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}};
19045static 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}};
19046static 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}};
19047static 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 19048static 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
19049static 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}};
19050static 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
19051static 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}};
19052static 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}};
19053static 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}};
19054static 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}};
19055static 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}};
19056static 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}};
19057static 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 19058static 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
19059static 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}};
19060static 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}};
19061static 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}};
19062static 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}};
19063static 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}};
19064static 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}};
19065static 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}};
19066static 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}};
19067static 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}};
19068static 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}};
19069static 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}};
19070static 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}};
19071static 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 19072static 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
19073static 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}};
19074static 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}};
19075static 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 19076static 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 19077static 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
19078static 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}};
19079static 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}};
19080static 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}};
19081static 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 19082static 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
19083static 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}};
19084static 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}};
19085static 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
19086static 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}};
19087static 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}};
19088static 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}};
19089static 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}};
19090static 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
19091
19092static swig_type_info *swig_types_initial[] = {
19093_swigt__p_wxPostScriptDC,
d14a1e28
RD
19094_swigt__p_wxBrush,
19095_swigt__p_wxColour,
d14a1e28
RD
19096_swigt__p_wxDC,
19097_swigt__p_wxMirrorDC,
19098_swigt__p_byte,
19099_swigt__p_wxPyFontEnumerator,
994141e6 19100_swigt__p_char,
d14a1e28
RD
19101_swigt__p_wxIconLocation,
19102_swigt__p_wxImage,
19103_swigt__p_wxMetaFileDC,
19104_swigt__p_wxMask,
b2df227b 19105_swigt__p_wxSize,
d14a1e28
RD
19106_swigt__p_wxFont,
19107_swigt__p_wxWindow,
d14a1e28
RD
19108_swigt__p_double,
19109_swigt__p_wxMemoryDC,
19110_swigt__p_wxFontMapper,
d14a1e28
RD
19111_swigt__p_wxEffects,
19112_swigt__p_wxNativeEncodingInfo,
19113_swigt__p_wxPalette,
19114_swigt__p_wxBitmap,
19115_swigt__p_wxObject,
19116_swigt__p_wxRegionIterator,
19117_swigt__p_wxRect,
19118_swigt__p_wxString,
19119_swigt__p_wxPrinterDC,
19120_swigt__p_wxIconBundle,
19121_swigt__p_wxPoint,
19122_swigt__p_wxDash,
19123_swigt__p_wxScreenDC,
19124_swigt__p_wxCursor,
19125_swigt__p_wxClientDC,
d14a1e28
RD
19126_swigt__p_wxBufferedDC,
19127_swigt__p_wxImageList,
19128_swigt__p_unsigned_char,
19129_swigt__p_wxGDIObject,
d14a1e28 19130_swigt__p_wxIcon,
994141e6 19131_swigt__p_wxLocale,
d14a1e28 19132_swigt__p_wxRegion,
b2df227b 19133_swigt__p_wxLanguageInfo,
66c033b4 19134_swigt__p_wxConfigBase,
d14a1e28
RD
19135_swigt__p_wxWindowDC,
19136_swigt__p_wxPrintData,
19137_swigt__p_wxBrushList,
19138_swigt__p_wxFontList,
19139_swigt__p_wxPen,
19140_swigt__p_wxBufferedPaintDC,
19141_swigt__p_wxPaintDC,
19142_swigt__p_wxPenList,
d14a1e28
RD
19143_swigt__p_int,
19144_swigt__p_wxMetaFile,
19145_swigt__p_wxNativeFontInfo,
19146_swigt__p_wxEncodingConverter,
19147_swigt__p_wxColourDatabase,
191480
19149};
19150
19151
19152/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19153
19154static swig_const_info swig_const_table[] = {
d14a1e28
RD
19155{0}};
19156
19157#ifdef __cplusplus
19158}
19159#endif
19160
19161#ifdef __cplusplus
19162extern "C"
19163#endif
19164SWIGEXPORT(void) SWIG_init(void) {
19165 static PyObject *SWIG_globals = 0;
19166 static int typeinit = 0;
19167 PyObject *m, *d;
19168 int i;
19169 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
19170 m = Py_InitModule((char *) SWIG_name, SwigMethods);
19171 d = PyModule_GetDict(m);
19172
19173 if (!typeinit) {
19174 for (i = 0; swig_types_initial[i]; i++) {
19175 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
19176 }
19177 typeinit = 1;
19178 }
19179 SWIG_InstallConstants(d,swig_const_table);
19180
15afbcd0
RD
19181 PyDict_SetItemString(d,"OutRegion", SWIG_FromInt((int)wxOutRegion));
19182 PyDict_SetItemString(d,"PartRegion", SWIG_FromInt((int)wxPartRegion));
19183 PyDict_SetItemString(d,"InRegion", SWIG_FromInt((int)wxInRegion));
19184 PyDict_SetItemString(d,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT));
19185 PyDict_SetItemString(d,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE));
19186 PyDict_SetItemString(d,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN));
19187 PyDict_SetItemString(d,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT));
19188 PyDict_SetItemString(d,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS));
19189 PyDict_SetItemString(d,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN));
19190 PyDict_SetItemString(d,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE));
19191 PyDict_SetItemString(d,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX));
19192 PyDict_SetItemString(d,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN));
19193 PyDict_SetItemString(d,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL));
19194 PyDict_SetItemString(d,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC));
19195 PyDict_SetItemString(d,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT));
19196 PyDict_SetItemString(d,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX));
19197 PyDict_SetItemString(d,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL));
19198 PyDict_SetItemString(d,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT));
19199 PyDict_SetItemString(d,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD));
19200 PyDict_SetItemString(d,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX));
19201 PyDict_SetItemString(d,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT));
19202 PyDict_SetItemString(d,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC));
19203 PyDict_SetItemString(d,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT));
19204 PyDict_SetItemString(d,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT));
19205 PyDict_SetItemString(d,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD));
19206 PyDict_SetItemString(d,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED));
19207 PyDict_SetItemString(d,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED));
19208 PyDict_SetItemString(d,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED));
19209 PyDict_SetItemString(d,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH));
19210 PyDict_SetItemString(d,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK));
19211 PyDict_SetItemString(d,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM));
19212 PyDict_SetItemString(d,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT));
19213 PyDict_SetItemString(d,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1));
19214 PyDict_SetItemString(d,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2));
19215 PyDict_SetItemString(d,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3));
19216 PyDict_SetItemString(d,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4));
19217 PyDict_SetItemString(d,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5));
19218 PyDict_SetItemString(d,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6));
19219 PyDict_SetItemString(d,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7));
19220 PyDict_SetItemString(d,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8));
19221 PyDict_SetItemString(d,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9));
19222 PyDict_SetItemString(d,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10));
19223 PyDict_SetItemString(d,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11));
19224 PyDict_SetItemString(d,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12));
19225 PyDict_SetItemString(d,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13));
19226 PyDict_SetItemString(d,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14));
19227 PyDict_SetItemString(d,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15));
19228 PyDict_SetItemString(d,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX));
19229 PyDict_SetItemString(d,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8));
b2df227b 19230 PyDict_SetItemString(d,"FONTENCODING_KOI8_U", SWIG_FromInt((int)wxFONTENCODING_KOI8_U));
15afbcd0
RD
19231 PyDict_SetItemString(d,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE));
19232 PyDict_SetItemString(d,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN));
19233 PyDict_SetItemString(d,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437));
19234 PyDict_SetItemString(d,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850));
19235 PyDict_SetItemString(d,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852));
19236 PyDict_SetItemString(d,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855));
19237 PyDict_SetItemString(d,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866));
19238 PyDict_SetItemString(d,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874));
19239 PyDict_SetItemString(d,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932));
19240 PyDict_SetItemString(d,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936));
19241 PyDict_SetItemString(d,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949));
19242 PyDict_SetItemString(d,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950));
19243 PyDict_SetItemString(d,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250));
19244 PyDict_SetItemString(d,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251));
19245 PyDict_SetItemString(d,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252));
19246 PyDict_SetItemString(d,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253));
19247 PyDict_SetItemString(d,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254));
19248 PyDict_SetItemString(d,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255));
19249 PyDict_SetItemString(d,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256));
19250 PyDict_SetItemString(d,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257));
19251 PyDict_SetItemString(d,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX));
19252 PyDict_SetItemString(d,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7));
19253 PyDict_SetItemString(d,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8));
19254 PyDict_SetItemString(d,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP));
19255 PyDict_SetItemString(d,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE));
19256 PyDict_SetItemString(d,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE));
19257 PyDict_SetItemString(d,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE));
19258 PyDict_SetItemString(d,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE));
19259 PyDict_SetItemString(d,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN));
19260 PyDict_SetItemString(d,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE));
19261 PyDict_SetItemString(d,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD));
19262 PyDict_SetItemString(d,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN));
19263 PyDict_SetItemString(d,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC));
19264 PyDict_SetItemString(d,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW));
19265 PyDict_SetItemString(d,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK));
19266 PyDict_SetItemString(d,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC));
19267 PyDict_SetItemString(d,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI));
19268 PyDict_SetItemString(d,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI));
19269 PyDict_SetItemString(d,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI));
19270 PyDict_SetItemString(d,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA));
19271 PyDict_SetItemString(d,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI));
19272 PyDict_SetItemString(d,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL));
19273 PyDict_SetItemString(d,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU));
19274 PyDict_SetItemString(d,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA));
19275 PyDict_SetItemString(d,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM));
19276 PyDict_SetItemString(d,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE));
19277 PyDict_SetItemString(d,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE));
19278 PyDict_SetItemString(d,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER));
19279 PyDict_SetItemString(d,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI));
19280 PyDict_SetItemString(d,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN));
19281 PyDict_SetItemString(d,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN));
19282 PyDict_SetItemString(d,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN));
19283 PyDict_SetItemString(d,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP));
19284 PyDict_SetItemString(d,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN));
19285 PyDict_SetItemString(d,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN));
19286 PyDict_SetItemString(d,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC));
19287 PyDict_SetItemString(d,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR));
19288 PyDict_SetItemString(d,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE));
19289 PyDict_SetItemString(d,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT));
19290 PyDict_SetItemString(d,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL));
19291 PyDict_SetItemString(d,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS));
19292 PyDict_SetItemString(d,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH));
19293 PyDict_SetItemString(d,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN));
19294 PyDict_SetItemString(d,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC));
19295 PyDict_SetItemString(d,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN));
19296 PyDict_SetItemString(d,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC));
19297 PyDict_SetItemString(d,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC));
19298 PyDict_SetItemString(d,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD));
19299 PyDict_SetItemString(d,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN));
19300 PyDict_SetItemString(d,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX));
19301 PyDict_SetItemString(d,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX));
19302 PyDict_SetItemString(d,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16));
19303 PyDict_SetItemString(d,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32));
19304 PyDict_SetItemString(d,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE));
19305 PyDict_SetItemString(d,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312));
19306 PyDict_SetItemString(d,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5));
19307 PyDict_SetItemString(d,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS));
d14a1e28
RD
19308
19309 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19310
15afbcd0
RD
19311 PyDict_SetItemString(d,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT));
19312 PyDict_SetItemString(d,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN));
19313 PyDict_SetItemString(d,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN));
19314 PyDict_SetItemString(d,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR));
19315 PyDict_SetItemString(d,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS));
19316 PyDict_SetItemString(d,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN));
19317 PyDict_SetItemString(d,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC));
19318 PyDict_SetItemString(d,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC));
19319 PyDict_SetItemString(d,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA));
19320 PyDict_SetItemString(d,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN));
19321 PyDict_SetItemString(d,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT));
19322 PyDict_SetItemString(d,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ));
19323 PyDict_SetItemString(d,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN));
19324 PyDict_SetItemString(d,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT));
19325 PyDict_SetItemString(d,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON));
19326 PyDict_SetItemString(d,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA));
19327 PyDict_SetItemString(d,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO));
19328 PyDict_SetItemString(d,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN));
19329 PyDict_SetItemString(d,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR));
19330 PyDict_SetItemString(d,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA));
19331 PyDict_SetItemString(d,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN));
19332 PyDict_SetItemString(d,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA));
19333 PyDict_SetItemString(d,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA));
19334 PyDict_SetItemString(d,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE));
19335 PyDict_SetItemString(d,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN));
19336 PyDict_SetItemString(d,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN));
19337 PyDict_SetItemString(d,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE));
19338 PyDict_SetItemString(d,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA));
19339 PyDict_SetItemString(d,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI));
19340 PyDict_SetItemString(d,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC));
19341 PyDict_SetItemString(d,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN));
19342 PyDict_SetItemString(d,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR));
19343 PyDict_SetItemString(d,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE));
19344 PyDict_SetItemString(d,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN));
19345 PyDict_SetItemString(d,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI));
19346 PyDict_SetItemString(d,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI));
19347 PyDict_SetItemString(d,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI));
19348 PyDict_SetItemString(d,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA));
19349 PyDict_SetItemString(d,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON));
19350 PyDict_SetItemString(d,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN));
19351 PyDict_SetItemString(d,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE));
19352 PyDict_SetItemString(d,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN));
19353 PyDict_SetItemString(d,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN));
19354 PyDict_SetItemString(d,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE));
19355 PyDict_SetItemString(d,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED));
19356 PyDict_SetItemString(d,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL));
19357 PyDict_SetItemString(d,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG));
19358 PyDict_SetItemString(d,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU));
19359 PyDict_SetItemString(d,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE));
19360 PyDict_SetItemString(d,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN));
19361 PyDict_SetItemString(d,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN));
19362 PyDict_SetItemString(d,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN));
19363 PyDict_SetItemString(d,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH));
19364 PyDict_SetItemString(d,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH));
19365 PyDict_SetItemString(d,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH));
19366 PyDict_SetItemString(d,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN));
19367 PyDict_SetItemString(d,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH));
19368 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK));
19369 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US));
19370 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA));
19371 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE));
19372 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA));
19373 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA));
19374 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN));
19375 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK));
19376 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE));
19377 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA));
19378 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND));
19379 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES));
19380 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA));
19381 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD));
19382 PyDict_SetItemString(d,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE));
19383 PyDict_SetItemString(d,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO));
19384 PyDict_SetItemString(d,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN));
19385 PyDict_SetItemString(d,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE));
19386 PyDict_SetItemString(d,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI));
19387 PyDict_SetItemString(d,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI));
19388 PyDict_SetItemString(d,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH));
19389 PyDict_SetItemString(d,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH));
19390 PyDict_SetItemString(d,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN));
19391 PyDict_SetItemString(d,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN));
19392 PyDict_SetItemString(d,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG));
19393 PyDict_SetItemString(d,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO));
19394 PyDict_SetItemString(d,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS));
19395 PyDict_SetItemString(d,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN));
19396 PyDict_SetItemString(d,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN));
19397 PyDict_SetItemString(d,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN));
19398 PyDict_SetItemString(d,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN));
19399 PyDict_SetItemString(d,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN));
19400 PyDict_SetItemString(d,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM));
19401 PyDict_SetItemString(d,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN));
19402 PyDict_SetItemString(d,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG));
19403 PyDict_SetItemString(d,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS));
19404 PyDict_SetItemString(d,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK));
19405 PyDict_SetItemString(d,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC));
19406 PyDict_SetItemString(d,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI));
19407 PyDict_SetItemString(d,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI));
19408 PyDict_SetItemString(d,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA));
19409 PyDict_SetItemString(d,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW));
19410 PyDict_SetItemString(d,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI));
19411 PyDict_SetItemString(d,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN));
19412 PyDict_SetItemString(d,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC));
19413 PyDict_SetItemString(d,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN));
19414 PyDict_SetItemString(d,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA));
19415 PyDict_SetItemString(d,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE));
19416 PyDict_SetItemString(d,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT));
19417 PyDict_SetItemString(d,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK));
19418 PyDict_SetItemString(d,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH));
19419 PyDict_SetItemString(d,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN));
19420 PyDict_SetItemString(d,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS));
19421 PyDict_SetItemString(d,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE));
19422 PyDict_SetItemString(d,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE));
19423 PyDict_SetItemString(d,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA));
19424 PyDict_SetItemString(d,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI));
19425 PyDict_SetItemString(d,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA));
19426 PyDict_SetItemString(d,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH));
19427 PyDict_SetItemString(d,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK));
19428 PyDict_SetItemString(d,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA));
19429 PyDict_SetItemString(d,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ));
19430 PyDict_SetItemString(d,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI));
19431 PyDict_SetItemString(d,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI));
19432 PyDict_SetItemString(d,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN));
19433 PyDict_SetItemString(d,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH));
19434 PyDict_SetItemString(d,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN));
19435 PyDict_SetItemString(d,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN));
19436 PyDict_SetItemString(d,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN));
19437 PyDict_SetItemString(d,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA));
19438 PyDict_SetItemString(d,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN));
19439 PyDict_SetItemString(d,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN));
19440 PyDict_SetItemString(d,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY));
19441 PyDict_SetItemString(d,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY));
19442 PyDict_SetItemString(d,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM));
19443 PyDict_SetItemString(d,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM));
19444 PyDict_SetItemString(d,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA));
19445 PyDict_SetItemString(d,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE));
19446 PyDict_SetItemString(d,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI));
19447 PyDict_SetItemString(d,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI));
19448 PyDict_SetItemString(d,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI));
19449 PyDict_SetItemString(d,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN));
19450 PyDict_SetItemString(d,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN));
19451 PyDict_SetItemString(d,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU));
19452 PyDict_SetItemString(d,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI));
19453 PyDict_SetItemString(d,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA));
19454 PyDict_SetItemString(d,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL));
19455 PyDict_SetItemString(d,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK));
19456 PyDict_SetItemString(d,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN));
19457 PyDict_SetItemString(d,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA));
19458 PyDict_SetItemString(d,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO));
19459 PyDict_SetItemString(d,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO));
19460 PyDict_SetItemString(d,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH));
19461 PyDict_SetItemString(d,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE));
19462 PyDict_SetItemString(d,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN));
19463 PyDict_SetItemString(d,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI));
19464 PyDict_SetItemString(d,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA));
19465 PyDict_SetItemString(d,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE));
19466 PyDict_SetItemString(d,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN));
19467 PyDict_SetItemString(d,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN));
19468 PyDict_SetItemString(d,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE));
19469 PyDict_SetItemString(d,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN));
19470 PyDict_SetItemString(d,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO));
19471 PyDict_SetItemString(d,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT));
19472 PyDict_SetItemString(d,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC));
19473 PyDict_SetItemString(d,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN));
19474 PyDict_SetItemString(d,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC));
19475 PyDict_SetItemString(d,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN));
19476 PyDict_SetItemString(d,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN));
19477 PyDict_SetItemString(d,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO));
19478 PyDict_SetItemString(d,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA));
19479 PyDict_SetItemString(d,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA));
19480 PyDict_SetItemString(d,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI));
19481 PyDict_SetItemString(d,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE));
19482 PyDict_SetItemString(d,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI));
19483 PyDict_SetItemString(d,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK));
19484 PyDict_SetItemString(d,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN));
19485 PyDict_SetItemString(d,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI));
19486 PyDict_SetItemString(d,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH));
19487 PyDict_SetItemString(d,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA));
19488 PyDict_SetItemString(d,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA));
19489 PyDict_SetItemString(d,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE));
19490 PyDict_SetItemString(d,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA));
19491 PyDict_SetItemString(d,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA));
19492 PyDict_SetItemString(d,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC));
19493 PyDict_SetItemString(d,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR));
19494 PyDict_SetItemString(d,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR));
19495 PyDict_SetItemString(d,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA));
19496 PyDict_SetItemString(d,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS));
19497 PyDict_SetItemString(d,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN));
19498 PyDict_SetItemString(d,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN));
19499 PyDict_SetItemString(d,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA));
19500 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA));
19501 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY));
19502 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU));
19503 PyDict_SetItemString(d,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO));
19504 PyDict_SetItemString(d,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY));
19505 PyDict_SetItemString(d,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US));
19506 PyDict_SetItemString(d,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA));
19507 PyDict_SetItemString(d,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE));
19508 PyDict_SetItemString(d,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI));
19509 PyDict_SetItemString(d,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH));
19510 PyDict_SetItemString(d,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND));
19511 PyDict_SetItemString(d,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG));
19512 PyDict_SetItemString(d,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK));
19513 PyDict_SetItemString(d,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL));
19514 PyDict_SetItemString(d,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR));
19515 PyDict_SetItemString(d,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU));
19516 PyDict_SetItemString(d,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI));
19517 PyDict_SetItemString(d,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN));
19518 PyDict_SetItemString(d,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA));
19519 PyDict_SetItemString(d,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA));
19520 PyDict_SetItemString(d,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA));
19521 PyDict_SetItemString(d,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH));
19522 PyDict_SetItemString(d,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN));
19523 PyDict_SetItemString(d,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI));
19524 PyDict_SetItemString(d,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR));
19525 PyDict_SetItemString(d,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN));
19526 PyDict_SetItemString(d,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU));
19527 PyDict_SetItemString(d,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA));
19528 PyDict_SetItemString(d,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN));
19529 PyDict_SetItemString(d,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK));
19530 PyDict_SetItemString(d,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC));
19531 PyDict_SetItemString(d,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN));
19532 PyDict_SetItemString(d,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE));
19533 PyDict_SetItemString(d,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK));
19534 PyDict_SetItemString(d,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH));
19535 PyDict_SetItemString(d,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF));
19536 PyDict_SetItemString(d,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA));
19537 PyDict_SetItemString(d,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH));
19538 PyDict_SetItemString(d,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA));
19539 PyDict_SetItemString(d,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG));
19540 PyDict_SetItemString(d,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU));
19541 PyDict_SetItemString(d,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED));
19542 PyDict_SetItemString(d,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER));
19543 PyDict_SetItemString(d,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE));
19544 PyDict_SetItemString(d,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY));
19545 PyDict_SetItemString(d,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX));
19546 PyDict_SetItemString(d,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP));
19547 PyDict_SetItemString(d,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT));
19548 PyDict_SetItemString(d,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT));
19549 PyDict_SetItemString(d,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING));
19550 PyDict_SetItemString(d,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT));
19551 PyDict_SetItemString(d,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE));
19552 PyDict_SetItemString(d,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT));
19553 PyDict_SetItemString(d,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX));
19554 PyDict_SetItemString(d,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS));
19555 PyDict_SetItemString(d,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2));
19556 PyDict_SetItemString(d,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC));
19557 PyDict_SetItemString(d,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL));
19558 PyDict_SetItemString(d,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT));
19559 PyDict_SetItemString(d,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED));
19560 PyDict_SetItemString(d,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED));
19561 PyDict_SetItemString(d,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL));
19562 PyDict_SetItemString(d,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL));
19563 PyDict_SetItemString(d,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE));
d14a1e28
RD
19564 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
19565 SWIG_addvarlink(SWIG_globals,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get, _wrap_NORMAL_FONT_set);
19566 SWIG_addvarlink(SWIG_globals,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get, _wrap_SMALL_FONT_set);
19567 SWIG_addvarlink(SWIG_globals,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get, _wrap_ITALIC_FONT_set);
19568 SWIG_addvarlink(SWIG_globals,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get, _wrap_SWISS_FONT_set);
19569 SWIG_addvarlink(SWIG_globals,(char*)"RED_PEN",_wrap_RED_PEN_get, _wrap_RED_PEN_set);
19570 SWIG_addvarlink(SWIG_globals,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get, _wrap_CYAN_PEN_set);
19571 SWIG_addvarlink(SWIG_globals,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get, _wrap_GREEN_PEN_set);
19572 SWIG_addvarlink(SWIG_globals,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get, _wrap_BLACK_PEN_set);
19573 SWIG_addvarlink(SWIG_globals,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get, _wrap_WHITE_PEN_set);
19574 SWIG_addvarlink(SWIG_globals,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get, _wrap_TRANSPARENT_PEN_set);
19575 SWIG_addvarlink(SWIG_globals,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get, _wrap_BLACK_DASHED_PEN_set);
19576 SWIG_addvarlink(SWIG_globals,(char*)"GREY_PEN",_wrap_GREY_PEN_get, _wrap_GREY_PEN_set);
19577 SWIG_addvarlink(SWIG_globals,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get, _wrap_MEDIUM_GREY_PEN_set);
19578 SWIG_addvarlink(SWIG_globals,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get, _wrap_LIGHT_GREY_PEN_set);
19579 SWIG_addvarlink(SWIG_globals,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get, _wrap_BLUE_BRUSH_set);
19580 SWIG_addvarlink(SWIG_globals,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get, _wrap_GREEN_BRUSH_set);
19581 SWIG_addvarlink(SWIG_globals,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get, _wrap_WHITE_BRUSH_set);
19582 SWIG_addvarlink(SWIG_globals,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get, _wrap_BLACK_BRUSH_set);
19583 SWIG_addvarlink(SWIG_globals,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get, _wrap_TRANSPARENT_BRUSH_set);
19584 SWIG_addvarlink(SWIG_globals,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get, _wrap_CYAN_BRUSH_set);
19585 SWIG_addvarlink(SWIG_globals,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get, _wrap_RED_BRUSH_set);
19586 SWIG_addvarlink(SWIG_globals,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get, _wrap_GREY_BRUSH_set);
19587 SWIG_addvarlink(SWIG_globals,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get, _wrap_MEDIUM_GREY_BRUSH_set);
19588 SWIG_addvarlink(SWIG_globals,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get, _wrap_LIGHT_GREY_BRUSH_set);
19589 SWIG_addvarlink(SWIG_globals,(char*)"BLACK",_wrap_BLACK_get, _wrap_BLACK_set);
19590 SWIG_addvarlink(SWIG_globals,(char*)"WHITE",_wrap_WHITE_get, _wrap_WHITE_set);
19591 SWIG_addvarlink(SWIG_globals,(char*)"RED",_wrap_RED_get, _wrap_RED_set);
19592 SWIG_addvarlink(SWIG_globals,(char*)"BLUE",_wrap_BLUE_get, _wrap_BLUE_set);
19593 SWIG_addvarlink(SWIG_globals,(char*)"GREEN",_wrap_GREEN_get, _wrap_GREEN_set);
19594 SWIG_addvarlink(SWIG_globals,(char*)"CYAN",_wrap_CYAN_get, _wrap_CYAN_set);
19595 SWIG_addvarlink(SWIG_globals,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get, _wrap_LIGHT_GREY_set);
19596 SWIG_addvarlink(SWIG_globals,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get, _wrap_STANDARD_CURSOR_set);
19597 SWIG_addvarlink(SWIG_globals,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get, _wrap_HOURGLASS_CURSOR_set);
19598 SWIG_addvarlink(SWIG_globals,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get, _wrap_CROSS_CURSOR_set);
19599 SWIG_addvarlink(SWIG_globals,(char*)"NullBitmap",_wrap_NullBitmap_get, _wrap_NullBitmap_set);
19600 SWIG_addvarlink(SWIG_globals,(char*)"NullIcon",_wrap_NullIcon_get, _wrap_NullIcon_set);
19601 SWIG_addvarlink(SWIG_globals,(char*)"NullCursor",_wrap_NullCursor_get, _wrap_NullCursor_set);
19602 SWIG_addvarlink(SWIG_globals,(char*)"NullPen",_wrap_NullPen_get, _wrap_NullPen_set);
19603 SWIG_addvarlink(SWIG_globals,(char*)"NullBrush",_wrap_NullBrush_get, _wrap_NullBrush_set);
19604 SWIG_addvarlink(SWIG_globals,(char*)"NullPalette",_wrap_NullPalette_get, _wrap_NullPalette_set);
19605 SWIG_addvarlink(SWIG_globals,(char*)"NullFont",_wrap_NullFont_get, _wrap_NullFont_set);
19606 SWIG_addvarlink(SWIG_globals,(char*)"NullColour",_wrap_NullColour_get, _wrap_NullColour_set);
19607 SWIG_addvarlink(SWIG_globals,(char*)"TheFontList",_wrap_TheFontList_get, _wrap_TheFontList_set);
19608 SWIG_addvarlink(SWIG_globals,(char*)"ThePenList",_wrap_ThePenList_get, _wrap_ThePenList_set);
19609 SWIG_addvarlink(SWIG_globals,(char*)"TheBrushList",_wrap_TheBrushList_get, _wrap_TheBrushList_set);
19610 SWIG_addvarlink(SWIG_globals,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get, _wrap_TheColourDatabase_set);
7722248d
RD
19611
19612 // Work around a chicken/egg problem in drawlist.cpp
19613 wxPyDrawList_SetAPIPtr();
19614
d14a1e28
RD
19615}
19616