]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/gdi.cpp
no real changes
[wxWidgets.git] / wxPython / src / gtk / gdi.cpp
CommitLineData
70551f47 1/*
2cd2fac8 2 * FILE : src/gtk/gdi.cpp
70551f47
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
2cd2fac8 6 * Version 1.1 (Build 883)
70551f47
RD
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
22#include <string.h>
23#include <stdlib.h>
24/* Definitions for Windows/Unix exporting */
25#if defined(__WIN32__)
26# if defined(_MSC_VER)
2d091820 27# define SWIGEXPORT(a) __declspec(dllexport) a
70551f47
RD
28# else
29# if defined(__BORLANDC__)
3bcd5e1c 30# define SWIGEXPORT(a) a _export
70551f47 31# else
3bcd5e1c 32# define SWIGEXPORT(a) a
70551f47
RD
33# endif
34# endif
35#else
3bcd5e1c 36# define SWIGEXPORT(a) a
70551f47
RD
37#endif
38
3bcd5e1c
RD
39#include "Python.h"
40
70551f47
RD
41#ifdef __cplusplus
42extern "C" {
43#endif
3bcd5e1c 44
70551f47
RD
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
2d091820 48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
70551f47
RD
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
70551f47
RD
54#define SWIG_init initgdic
55
56#define SWIG_name "gdic"
57
58#include "helpers.h"
21f8d7ea 59#include <wx/imaglist.h>
059a841c
RD
60#include <wx/fontmap.h>
61#include <wx/fontenc.h>
62#include <wx/fontmap.h>
63#include <wx/fontutil.h>
70551f47 64
70551f47
RD
65
66static PyObject* t_output_helper(PyObject* target, PyObject* o) {
67 PyObject* o2;
68 PyObject* o3;
69
3bcd5e1c 70 if (!target) {
70551f47 71 target = o;
3bcd5e1c 72 } else if (target == Py_None) {
70551f47
RD
73 Py_DECREF(Py_None);
74 target = o;
3bcd5e1c 75 } else {
70551f47
RD
76 if (!PyTuple_Check(target)) {
77 o2 = target;
78 target = PyTuple_New(1);
79 PyTuple_SetItem(target, 0, o2);
80 }
3bcd5e1c
RD
81 o3 = PyTuple_New(1);
82 PyTuple_SetItem(o3, 0, o);
70551f47
RD
83
84 o2 = target;
3bcd5e1c
RD
85 target = PySequence_Concat(o2, o3);
86 Py_DECREF(o2);
70551f47
RD
87 Py_DECREF(o3);
88 }
89 return target;
90}
91
7a446686
RD
92#if PYTHON_API_VERSION >= 1009
93 static char* wxStringErrorMsg = "String or Unicode type required";
94#else
0220cbc1 95 static char* wxStringErrorMsg = "String type required";
7a446686 96#endif
b68dc582
RD
97
98 static wxString wxPyEmptyStr("");
fbcadfca
RD
99 // Implementations of some alternate "constructors"
100
70551f47
RD
101 wxBitmap* wxEmptyBitmap(int width, int height, int depth=-1) {
102 return new wxBitmap(width, height, depth);
103 }
104
fbcadfca
RD
105 static char** ConvertListOfStrings(PyObject* listOfStrings) {
106 char** cArray = NULL;
107 int count;
108
109 if (!PyList_Check(listOfStrings)) {
110 PyErr_SetString(PyExc_TypeError, "Expected a list of strings.");
111 return NULL;
112 }
113 count = PyList_Size(listOfStrings);
114 cArray = new char*[count];
115
116 for(int x=0; x<count; x++) {
117 // TODO: Need some validation and error checking here
118 cArray[x] = PyString_AsString(PyList_GET_ITEM(listOfStrings, x));
119 }
120 return cArray;
121 }
122
9d6da64a 123
fbcadfca
RD
124 wxBitmap* wxBitmapFromXPMData(PyObject* listOfStrings) {
125 char** cArray = NULL;
126 wxBitmap* bmp;
127
128 cArray = ConvertListOfStrings(listOfStrings);
129 if (! cArray)
130 return NULL;
131 bmp = new wxBitmap(cArray);
132 delete [] cArray;
133 return bmp;
134 }
135
136
137 wxBitmap* wxBitmapFromIcon(const wxIcon& icon) {
138 return new wxBitmap(icon);
139 }
140
141
9d6da64a
RD
142 wxBitmap* wxBitmapFromBits(char* bits, int width, int height, int depth = 1 ) {
143 return new wxBitmap(bits, width, height, depth);
144 }
9e689c06 145
7ff49f0c 146
9d6da64a
RD
147// #ifdef __WXMSW__
148// wxBitmap* wxBitmapFromData(PyObject* data, long type,
149// int width, int height, int depth = 1) {
150// if (! PyString_Check(data)) {
151// PyErr_SetString(PyExc_TypeError, "Expected string object");
152// return NULL;
153// }
154// return new wxBitmap((void*)PyString_AsString(data), type, width, height, depth);
155// }
156// #endif
8bf5d46e 157
70551f47
RD
158 wxMask* wxMaskColour(const wxBitmap& bitmap, const wxColour& colour) {
159 return new wxMask(bitmap, colour);
fbcadfca
RD
160 }
161 // Implementations of some alternate "constructors"
162 wxIcon* wxEmptyIcon() {
163 return new wxIcon();
164 }
165
166 wxIcon* wxIconFromXPMData(PyObject* listOfStrings) {
167 char** cArray = NULL;
168 wxIcon* icon;
169
170 cArray = ConvertListOfStrings(listOfStrings);
171 if (! cArray)
172 return NULL;
173 icon = new wxIcon(cArray);
174 delete [] cArray;
175 return icon;
70551f47
RD
176 }
177 // Alternate 'constructor'
b26e2dc4 178 wxCursor* wxPyStockCursor(int id) {
70551f47
RD
179 return new wxCursor(id);
180 }
181 // Alternate 'constructor'
182 wxColour* wxNamedColour(const wxString& colorName) {
183 return new wxColour(colorName);
184 }
65191ae8
RD
185
186class wxPyPen : public wxPen {
187public:
188 wxPyPen(wxColour& colour, int width=1, int style=wxSOLID)
189 : wxPen(colour, width, style)
190 { m_dash = NULL; }
191 ~wxPyPen() {
192 if (m_dash)
05f30eec 193 delete [] m_dash;
65191ae8
RD
194 }
195
196 void SetDashes(int nb_dashes, const wxDash *dash) {
05f30eec
RD
197 if (m_dash)
198 delete [] m_dash;
65191ae8 199 m_dash = new wxDash[nb_dashes];
05f30eec 200 for (int i=0; i<nb_dashes; i++) {
65191ae8 201 m_dash[i] = dash[i];
05f30eec 202 }
65191ae8
RD
203 wxPen::SetDashes(nb_dashes, m_dash);
204 }
205
206private:
207 wxDash* m_dash;
208};
3bcd5e1c
RD
209
210static void wxDC_GetBoundingBox(wxDC* dc, int* x1, int* y1, int* x2, int* y2) {
211 *x1 = dc->MinX();
212 *y1 = dc->MinY();
213 *x2 = dc->MaxX();
214 *y2 = dc->MaxY();
215}
70551f47
RD
216 // Alternate 'constructor'
217 wxMemoryDC* wxMemoryDCFromDC(wxDC* oldDC) {
218 return new wxMemoryDC(oldDC);
219 }
21f8d7ea
RD
220
221#if 0
70551f47
RD
222extern wxFont * wxNORMAL_FONT;
223extern wxFont * wxSMALL_FONT;
224extern wxFont * wxITALIC_FONT;
225extern wxFont * wxSWISS_FONT;
226extern wxPen * wxRED_PEN;
227extern wxPen * wxCYAN_PEN;
228extern wxPen * wxGREEN_PEN;
229extern wxPen * wxBLACK_PEN;
230extern wxPen * wxWHITE_PEN;
231extern wxPen * wxTRANSPARENT_PEN;
232extern wxPen * wxBLACK_DASHED_PEN;
233extern wxPen * wxGREY_PEN;
234extern wxPen * wxMEDIUM_GREY_PEN;
235extern wxPen * wxLIGHT_GREY_PEN;
236extern wxBrush * wxBLUE_BRUSH;
237extern wxBrush * wxGREEN_BRUSH;
238extern wxBrush * wxWHITE_BRUSH;
239extern wxBrush * wxBLACK_BRUSH;
240extern wxBrush * wxTRANSPARENT_BRUSH;
241extern wxBrush * wxCYAN_BRUSH;
242extern wxBrush * wxRED_BRUSH;
243extern wxBrush * wxGREY_BRUSH;
244extern wxBrush * wxMEDIUM_GREY_BRUSH;
245extern wxBrush * wxLIGHT_GREY_BRUSH;
246extern wxColour * wxBLACK;
247extern wxColour * wxWHITE;
248extern wxColour * wxRED;
249extern wxColour * wxBLUE;
250extern wxColour * wxGREEN;
251extern wxColour * wxCYAN;
252extern wxColour * wxLIGHT_GREY;
253extern wxCursor * wxSTANDARD_CURSOR;
254extern wxCursor * wxHOURGLASS_CURSOR;
255extern wxCursor * wxCROSS_CURSOR;
256extern wxBitmap wxNullBitmap;
257extern wxIcon wxNullIcon;
258extern wxCursor wxNullCursor;
259extern wxPen wxNullPen;
260extern wxBrush wxNullBrush;
261extern wxPalette wxNullPalette;
262extern wxFont wxNullFont;
263extern wxColour wxNullColour;
5e40f9dd
RD
264extern wxFontList * wxTheFontList;
265extern wxPenList * wxThePenList;
65191ae8 266extern wxBrushList * wxTheBrushList;
5e40f9dd 267extern wxColourDatabase * wxTheColourDatabase;
21f8d7ea 268
2d091820
RD
269#endif
270#ifdef __cplusplus
271extern "C" {
21f8d7ea 272#endif
107e4716 273static PyObject *_wrap_wxEmptyBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
274 PyObject * _resultobj;
275 wxBitmap * _result;
276 int _arg0;
277 int _arg1;
2d091820 278 int _arg2 = (int ) -1;
107e4716 279 char *_kwnames[] = { "width","height","depth", NULL };
70551f47
RD
280 char _ptemp[128];
281
282 self = self;
107e4716 283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii|i:wxEmptyBitmap",_kwnames,&_arg0,&_arg1,&_arg2))
70551f47 284 return NULL;
ab9bc19b
RD
285{
286 wxPy_BEGIN_ALLOW_THREADS;
287 _result = (wxBitmap *)wxEmptyBitmap(_arg0,_arg1,_arg2);
288
289 wxPy_END_ALLOW_THREADS;
4dfaa61e 290 if (PyErr_Occurred()) return NULL;
2d091820
RD
291} if (_result) {
292 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
293 _resultobj = Py_BuildValue("s",_ptemp);
294 } else {
295 Py_INCREF(Py_None);
296 _resultobj = Py_None;
297 }
70551f47
RD
298 return _resultobj;
299}
300
fbcadfca
RD
301static PyObject *_wrap_wxBitmapFromXPMData(PyObject *self, PyObject *args, PyObject *kwargs) {
302 PyObject * _resultobj;
303 wxBitmap * _result;
304 PyObject * _arg0;
305 PyObject * _obj0 = 0;
306 char *_kwnames[] = { "listOfStrings", NULL };
307 char _ptemp[128];
308
309 self = self;
310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapFromXPMData",_kwnames,&_obj0))
311 return NULL;
312{
313 _arg0 = _obj0;
314}
315{
316 wxPy_BEGIN_ALLOW_THREADS;
317 _result = (wxBitmap *)wxBitmapFromXPMData(_arg0);
318
319 wxPy_END_ALLOW_THREADS;
4dfaa61e 320 if (PyErr_Occurred()) return NULL;
fbcadfca
RD
321} if (_result) {
322 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
323 _resultobj = Py_BuildValue("s",_ptemp);
324 } else {
325 Py_INCREF(Py_None);
326 _resultobj = Py_None;
327 }
328 return _resultobj;
329}
330
331static PyObject *_wrap_wxBitmapFromIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
332 PyObject * _resultobj;
333 wxBitmap * _result;
334 wxIcon * _arg0;
335 PyObject * _argo0 = 0;
336 char *_kwnames[] = { "icon", NULL };
337 char _ptemp[128];
338
339 self = self;
340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapFromIcon",_kwnames,&_argo0))
341 return NULL;
342 if (_argo0) {
343 if (_argo0 == Py_None) { _arg0 = NULL; }
344 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapFromIcon. Expected _wxIcon_p.");
346 return NULL;
347 }
348 }
349{
350 wxPy_BEGIN_ALLOW_THREADS;
351 _result = (wxBitmap *)wxBitmapFromIcon(*_arg0);
352
353 wxPy_END_ALLOW_THREADS;
4dfaa61e 354 if (PyErr_Occurred()) return NULL;
fbcadfca
RD
355} if (_result) {
356 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
357 _resultobj = Py_BuildValue("s",_ptemp);
358 } else {
359 Py_INCREF(Py_None);
360 _resultobj = Py_None;
361 }
362 return _resultobj;
363}
364
9d6da64a
RD
365static PyObject *_wrap_wxBitmapFromBits(PyObject *self, PyObject *args, PyObject *kwargs) {
366 PyObject * _resultobj;
367 wxBitmap * _result;
368 char * _arg0;
369 int _arg1;
370 int _arg2;
371 int _arg3 = (int ) 1;
372 char *_kwnames[] = { "bits","width","height","depth", NULL };
373 char _ptemp[128];
374
375 self = self;
376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"sii|i:wxBitmapFromBits",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
377 return NULL;
378{
379 wxPy_BEGIN_ALLOW_THREADS;
380 _result = (wxBitmap *)wxBitmapFromBits(_arg0,_arg1,_arg2,_arg3);
381
382 wxPy_END_ALLOW_THREADS;
383 if (PyErr_Occurred()) return NULL;
384} if (_result) {
385 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
386 _resultobj = Py_BuildValue("s",_ptemp);
387 } else {
388 Py_INCREF(Py_None);
389 _resultobj = Py_None;
390 }
391 return _resultobj;
392}
393
107e4716 394static PyObject *_wrap_wxMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
395 PyObject * _resultobj;
396 wxMask * _result;
397 wxBitmap * _arg0;
398 wxColour * _arg1;
2d091820 399 PyObject * _argo0 = 0;
f6bcfd97
BP
400 wxColour temp;
401 PyObject * _obj1 = 0;
107e4716 402 char *_kwnames[] = { "bitmap","colour", NULL };
70551f47
RD
403 char _ptemp[128];
404
405 self = self;
f6bcfd97 406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMaskColour",_kwnames,&_argo0,&_obj1))
70551f47 407 return NULL;
2d091820
RD
408 if (_argo0) {
409 if (_argo0 == Py_None) { _arg0 = NULL; }
410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
70551f47
RD
411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
412 return NULL;
413 }
414 }
f6bcfd97
BP
415{
416 _arg1 = &temp;
417 if (! wxColour_helper(_obj1, &_arg1))
70551f47 418 return NULL;
f6bcfd97 419}
ab9bc19b
RD
420{
421 wxPy_BEGIN_ALLOW_THREADS;
422 _result = (wxMask *)wxMaskColour(*_arg0,*_arg1);
423
424 wxPy_END_ALLOW_THREADS;
4dfaa61e 425 if (PyErr_Occurred()) return NULL;
2d091820
RD
426} if (_result) {
427 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
428 _resultobj = Py_BuildValue("s",_ptemp);
429 } else {
430 Py_INCREF(Py_None);
431 _resultobj = Py_None;
432 }
70551f47
RD
433 return _resultobj;
434}
435
fbcadfca
RD
436static PyObject *_wrap_wxEmptyIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
437 PyObject * _resultobj;
438 wxIcon * _result;
439 char *_kwnames[] = { NULL };
440 char _ptemp[128];
441
442 self = self;
443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxEmptyIcon",_kwnames))
444 return NULL;
445{
446 wxPy_BEGIN_ALLOW_THREADS;
447 _result = (wxIcon *)wxEmptyIcon();
448
449 wxPy_END_ALLOW_THREADS;
4dfaa61e 450 if (PyErr_Occurred()) return NULL;
fbcadfca
RD
451} if (_result) {
452 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
453 _resultobj = Py_BuildValue("s",_ptemp);
454 } else {
455 Py_INCREF(Py_None);
456 _resultobj = Py_None;
457 }
458 return _resultobj;
459}
460
461static PyObject *_wrap_wxIconFromXPMData(PyObject *self, PyObject *args, PyObject *kwargs) {
462 PyObject * _resultobj;
463 wxIcon * _result;
464 PyObject * _arg0;
465 PyObject * _obj0 = 0;
466 char *_kwnames[] = { "listOfStrings", NULL };
467 char _ptemp[128];
468
469 self = self;
470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIconFromXPMData",_kwnames,&_obj0))
471 return NULL;
472{
473 _arg0 = _obj0;
474}
475{
476 wxPy_BEGIN_ALLOW_THREADS;
477 _result = (wxIcon *)wxIconFromXPMData(_arg0);
478
479 wxPy_END_ALLOW_THREADS;
4dfaa61e 480 if (PyErr_Occurred()) return NULL;
fbcadfca
RD
481} if (_result) {
482 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
483 _resultobj = Py_BuildValue("s",_ptemp);
484 } else {
485 Py_INCREF(Py_None);
486 _resultobj = Py_None;
487 }
488 return _resultobj;
489}
490
107e4716 491static PyObject *_wrap_wxStockCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
492 PyObject * _resultobj;
493 wxCursor * _result;
494 int _arg0;
107e4716 495 char *_kwnames[] = { "id", NULL };
70551f47
RD
496 char _ptemp[128];
497
498 self = self;
107e4716 499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxStockCursor",_kwnames,&_arg0))
70551f47 500 return NULL;
ab9bc19b
RD
501{
502 wxPy_BEGIN_ALLOW_THREADS;
503 _result = (wxCursor *)wxPyStockCursor(_arg0);
504
505 wxPy_END_ALLOW_THREADS;
4dfaa61e 506 if (PyErr_Occurred()) return NULL;
2d091820
RD
507} if (_result) {
508 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCursor_p");
509 _resultobj = Py_BuildValue("s",_ptemp);
510 } else {
511 Py_INCREF(Py_None);
512 _resultobj = Py_None;
513 }
70551f47
RD
514 return _resultobj;
515}
516
107e4716 517static PyObject *_wrap_wxNamedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
518 PyObject * _resultobj;
519 wxColour * _result;
520 wxString * _arg0;
521 PyObject * _obj0 = 0;
107e4716 522 char *_kwnames[] = { "colorName", NULL };
70551f47
RD
523 char _ptemp[128];
524
525 self = self;
107e4716 526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNamedColour",_kwnames,&_obj0))
70551f47
RD
527 return NULL;
528{
2cd2fac8
RD
529#if PYTHON_API_VERSION >= 1009
530 char* tmpPtr; int tmpSize;
531 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
7a446686 532 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
533 return NULL;
534 }
535 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
536 return NULL;
537 _arg0 = new wxString(tmpPtr, tmpSize);
538#else
70551f47
RD
539 if (!PyString_Check(_obj0)) {
540 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
541 return NULL;
542 }
2cd2fac8
RD
543 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
544#endif
70551f47 545}
ab9bc19b
RD
546{
547 wxPy_BEGIN_ALLOW_THREADS;
548 _result = (wxColour *)wxNamedColour(*_arg0);
549
550 wxPy_END_ALLOW_THREADS;
4dfaa61e 551 if (PyErr_Occurred()) return NULL;
2d091820
RD
552} if (_result) {
553 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
554 _resultobj = Py_BuildValue("s",_ptemp);
555 } else {
556 Py_INCREF(Py_None);
557 _resultobj = Py_None;
558 }
70551f47
RD
559{
560 if (_obj0)
561 delete _arg0;
562}
563 return _resultobj;
564}
565
107e4716 566static PyObject *_wrap_wxMemoryDCFromDC(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
567 PyObject * _resultobj;
568 wxMemoryDC * _result;
569 wxDC * _arg0;
2d091820 570 PyObject * _argo0 = 0;
107e4716 571 char *_kwnames[] = { "oldDC", NULL };
70551f47
RD
572 char _ptemp[128];
573
574 self = self;
107e4716 575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMemoryDCFromDC",_kwnames,&_argo0))
70551f47 576 return NULL;
2d091820
RD
577 if (_argo0) {
578 if (_argo0 == Py_None) { _arg0 = NULL; }
579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
581 return NULL;
582 }
583 }
ab9bc19b
RD
584{
585 wxPy_BEGIN_ALLOW_THREADS;
586 _result = (wxMemoryDC *)wxMemoryDCFromDC(_arg0);
587
588 wxPy_END_ALLOW_THREADS;
4dfaa61e 589 if (PyErr_Occurred()) return NULL;
2d091820
RD
590} if (_result) {
591 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMemoryDC_p");
592 _resultobj = Py_BuildValue("s",_ptemp);
593 } else {
594 Py_INCREF(Py_None);
595 _resultobj = Py_None;
596 }
70551f47
RD
597 return _resultobj;
598}
599
600static int _wrap_wxNORMAL_FONT_set(PyObject *val) {
601
602 PyErr_SetString(PyExc_TypeError,"Variable wxNORMAL_FONT is read-only.");
603 return 1;
604}
605
606static PyObject *_wrap_wxNORMAL_FONT_get() {
607 PyObject * pyobj;
608 char ptemp[128];
609
610 SWIG_MakePtr(ptemp, (char *) wxNORMAL_FONT,"_wxFont_p");
611 pyobj = PyString_FromString(ptemp);
612 return pyobj;
613}
614
615static int _wrap_wxSMALL_FONT_set(PyObject *val) {
616
617 PyErr_SetString(PyExc_TypeError,"Variable wxSMALL_FONT is read-only.");
618 return 1;
619}
620
621static PyObject *_wrap_wxSMALL_FONT_get() {
622 PyObject * pyobj;
623 char ptemp[128];
624
625 SWIG_MakePtr(ptemp, (char *) wxSMALL_FONT,"_wxFont_p");
626 pyobj = PyString_FromString(ptemp);
627 return pyobj;
628}
629
630static int _wrap_wxITALIC_FONT_set(PyObject *val) {
631
632 PyErr_SetString(PyExc_TypeError,"Variable wxITALIC_FONT is read-only.");
633 return 1;
634}
635
636static PyObject *_wrap_wxITALIC_FONT_get() {
637 PyObject * pyobj;
638 char ptemp[128];
639
640 SWIG_MakePtr(ptemp, (char *) wxITALIC_FONT,"_wxFont_p");
641 pyobj = PyString_FromString(ptemp);
642 return pyobj;
643}
644
645static int _wrap_wxSWISS_FONT_set(PyObject *val) {
646
647 PyErr_SetString(PyExc_TypeError,"Variable wxSWISS_FONT is read-only.");
648 return 1;
649}
650
651static PyObject *_wrap_wxSWISS_FONT_get() {
652 PyObject * pyobj;
653 char ptemp[128];
654
655 SWIG_MakePtr(ptemp, (char *) wxSWISS_FONT,"_wxFont_p");
656 pyobj = PyString_FromString(ptemp);
657 return pyobj;
658}
659
660static int _wrap_wxRED_PEN_set(PyObject *val) {
661
662 PyErr_SetString(PyExc_TypeError,"Variable wxRED_PEN is read-only.");
663 return 1;
664}
665
666static PyObject *_wrap_wxRED_PEN_get() {
667 PyObject * pyobj;
668 char ptemp[128];
669
670 SWIG_MakePtr(ptemp, (char *) wxRED_PEN,"_wxPen_p");
671 pyobj = PyString_FromString(ptemp);
672 return pyobj;
673}
674
675static int _wrap_wxCYAN_PEN_set(PyObject *val) {
676
677 PyErr_SetString(PyExc_TypeError,"Variable wxCYAN_PEN is read-only.");
678 return 1;
679}
680
681static PyObject *_wrap_wxCYAN_PEN_get() {
682 PyObject * pyobj;
683 char ptemp[128];
684
685 SWIG_MakePtr(ptemp, (char *) wxCYAN_PEN,"_wxPen_p");
686 pyobj = PyString_FromString(ptemp);
687 return pyobj;
688}
689
690static int _wrap_wxGREEN_PEN_set(PyObject *val) {
691
692 PyErr_SetString(PyExc_TypeError,"Variable wxGREEN_PEN is read-only.");
693 return 1;
694}
695
696static PyObject *_wrap_wxGREEN_PEN_get() {
697 PyObject * pyobj;
698 char ptemp[128];
699
700 SWIG_MakePtr(ptemp, (char *) wxGREEN_PEN,"_wxPen_p");
701 pyobj = PyString_FromString(ptemp);
702 return pyobj;
703}
704
705static int _wrap_wxBLACK_PEN_set(PyObject *val) {
706
707 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK_PEN is read-only.");
708 return 1;
709}
710
711static PyObject *_wrap_wxBLACK_PEN_get() {
712 PyObject * pyobj;
713 char ptemp[128];
714
715 SWIG_MakePtr(ptemp, (char *) wxBLACK_PEN,"_wxPen_p");
716 pyobj = PyString_FromString(ptemp);
717 return pyobj;
718}
719
720static int _wrap_wxWHITE_PEN_set(PyObject *val) {
721
722 PyErr_SetString(PyExc_TypeError,"Variable wxWHITE_PEN is read-only.");
723 return 1;
724}
725
726static PyObject *_wrap_wxWHITE_PEN_get() {
727 PyObject * pyobj;
728 char ptemp[128];
729
730 SWIG_MakePtr(ptemp, (char *) wxWHITE_PEN,"_wxPen_p");
731 pyobj = PyString_FromString(ptemp);
732 return pyobj;
733}
734
735static int _wrap_wxTRANSPARENT_PEN_set(PyObject *val) {
736
737 PyErr_SetString(PyExc_TypeError,"Variable wxTRANSPARENT_PEN is read-only.");
738 return 1;
739}
740
741static PyObject *_wrap_wxTRANSPARENT_PEN_get() {
742 PyObject * pyobj;
743 char ptemp[128];
744
745 SWIG_MakePtr(ptemp, (char *) wxTRANSPARENT_PEN,"_wxPen_p");
746 pyobj = PyString_FromString(ptemp);
747 return pyobj;
748}
749
750static int _wrap_wxBLACK_DASHED_PEN_set(PyObject *val) {
751
752 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK_DASHED_PEN is read-only.");
753 return 1;
754}
755
756static PyObject *_wrap_wxBLACK_DASHED_PEN_get() {
757 PyObject * pyobj;
758 char ptemp[128];
759
760 SWIG_MakePtr(ptemp, (char *) wxBLACK_DASHED_PEN,"_wxPen_p");
761 pyobj = PyString_FromString(ptemp);
762 return pyobj;
763}
764
765static int _wrap_wxGREY_PEN_set(PyObject *val) {
766
767 PyErr_SetString(PyExc_TypeError,"Variable wxGREY_PEN is read-only.");
768 return 1;
769}
770
771static PyObject *_wrap_wxGREY_PEN_get() {
772 PyObject * pyobj;
773 char ptemp[128];
774
775 SWIG_MakePtr(ptemp, (char *) wxGREY_PEN,"_wxPen_p");
776 pyobj = PyString_FromString(ptemp);
777 return pyobj;
778}
779
780static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject *val) {
781
782 PyErr_SetString(PyExc_TypeError,"Variable wxMEDIUM_GREY_PEN is read-only.");
783 return 1;
784}
785
786static PyObject *_wrap_wxMEDIUM_GREY_PEN_get() {
787 PyObject * pyobj;
788 char ptemp[128];
789
790 SWIG_MakePtr(ptemp, (char *) wxMEDIUM_GREY_PEN,"_wxPen_p");
791 pyobj = PyString_FromString(ptemp);
792 return pyobj;
793}
794
795static int _wrap_wxLIGHT_GREY_PEN_set(PyObject *val) {
796
797 PyErr_SetString(PyExc_TypeError,"Variable wxLIGHT_GREY_PEN is read-only.");
798 return 1;
799}
800
801static PyObject *_wrap_wxLIGHT_GREY_PEN_get() {
802 PyObject * pyobj;
803 char ptemp[128];
804
805 SWIG_MakePtr(ptemp, (char *) wxLIGHT_GREY_PEN,"_wxPen_p");
806 pyobj = PyString_FromString(ptemp);
807 return pyobj;
808}
809
810static int _wrap_wxBLUE_BRUSH_set(PyObject *val) {
811
812 PyErr_SetString(PyExc_TypeError,"Variable wxBLUE_BRUSH is read-only.");
813 return 1;
814}
815
816static PyObject *_wrap_wxBLUE_BRUSH_get() {
817 PyObject * pyobj;
818 char ptemp[128];
819
820 SWIG_MakePtr(ptemp, (char *) wxBLUE_BRUSH,"_wxBrush_p");
821 pyobj = PyString_FromString(ptemp);
822 return pyobj;
823}
824
825static int _wrap_wxGREEN_BRUSH_set(PyObject *val) {
826
827 PyErr_SetString(PyExc_TypeError,"Variable wxGREEN_BRUSH is read-only.");
828 return 1;
829}
830
831static PyObject *_wrap_wxGREEN_BRUSH_get() {
832 PyObject * pyobj;
833 char ptemp[128];
834
835 SWIG_MakePtr(ptemp, (char *) wxGREEN_BRUSH,"_wxBrush_p");
836 pyobj = PyString_FromString(ptemp);
837 return pyobj;
838}
839
840static int _wrap_wxWHITE_BRUSH_set(PyObject *val) {
841
842 PyErr_SetString(PyExc_TypeError,"Variable wxWHITE_BRUSH is read-only.");
843 return 1;
844}
845
846static PyObject *_wrap_wxWHITE_BRUSH_get() {
847 PyObject * pyobj;
848 char ptemp[128];
849
850 SWIG_MakePtr(ptemp, (char *) wxWHITE_BRUSH,"_wxBrush_p");
851 pyobj = PyString_FromString(ptemp);
852 return pyobj;
853}
854
855static int _wrap_wxBLACK_BRUSH_set(PyObject *val) {
856
857 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK_BRUSH is read-only.");
858 return 1;
859}
860
861static PyObject *_wrap_wxBLACK_BRUSH_get() {
862 PyObject * pyobj;
863 char ptemp[128];
864
865 SWIG_MakePtr(ptemp, (char *) wxBLACK_BRUSH,"_wxBrush_p");
866 pyobj = PyString_FromString(ptemp);
867 return pyobj;
868}
869
870static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject *val) {
871
872 PyErr_SetString(PyExc_TypeError,"Variable wxTRANSPARENT_BRUSH is read-only.");
873 return 1;
874}
875
876static PyObject *_wrap_wxTRANSPARENT_BRUSH_get() {
877 PyObject * pyobj;
878 char ptemp[128];
879
880 SWIG_MakePtr(ptemp, (char *) wxTRANSPARENT_BRUSH,"_wxBrush_p");
881 pyobj = PyString_FromString(ptemp);
882 return pyobj;
883}
884
885static int _wrap_wxCYAN_BRUSH_set(PyObject *val) {
886
887 PyErr_SetString(PyExc_TypeError,"Variable wxCYAN_BRUSH is read-only.");
888 return 1;
889}
890
891static PyObject *_wrap_wxCYAN_BRUSH_get() {
892 PyObject * pyobj;
893 char ptemp[128];
894
895 SWIG_MakePtr(ptemp, (char *) wxCYAN_BRUSH,"_wxBrush_p");
896 pyobj = PyString_FromString(ptemp);
897 return pyobj;
898}
899
900static int _wrap_wxRED_BRUSH_set(PyObject *val) {
901
902 PyErr_SetString(PyExc_TypeError,"Variable wxRED_BRUSH is read-only.");
903 return 1;
904}
905
906static PyObject *_wrap_wxRED_BRUSH_get() {
907 PyObject * pyobj;
908 char ptemp[128];
909
910 SWIG_MakePtr(ptemp, (char *) wxRED_BRUSH,"_wxBrush_p");
911 pyobj = PyString_FromString(ptemp);
912 return pyobj;
913}
914
915static int _wrap_wxGREY_BRUSH_set(PyObject *val) {
916
917 PyErr_SetString(PyExc_TypeError,"Variable wxGREY_BRUSH is read-only.");
918 return 1;
919}
920
921static PyObject *_wrap_wxGREY_BRUSH_get() {
922 PyObject * pyobj;
923 char ptemp[128];
924
925 SWIG_MakePtr(ptemp, (char *) wxGREY_BRUSH,"_wxBrush_p");
926 pyobj = PyString_FromString(ptemp);
927 return pyobj;
928}
929
930static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject *val) {
931
932 PyErr_SetString(PyExc_TypeError,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
933 return 1;
934}
935
936static PyObject *_wrap_wxMEDIUM_GREY_BRUSH_get() {
937 PyObject * pyobj;
938 char ptemp[128];
939
940 SWIG_MakePtr(ptemp, (char *) wxMEDIUM_GREY_BRUSH,"_wxBrush_p");
941 pyobj = PyString_FromString(ptemp);
942 return pyobj;
943}
944
945static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject *val) {
946
947 PyErr_SetString(PyExc_TypeError,"Variable wxLIGHT_GREY_BRUSH is read-only.");
948 return 1;
949}
950
951static PyObject *_wrap_wxLIGHT_GREY_BRUSH_get() {
952 PyObject * pyobj;
953 char ptemp[128];
954
955 SWIG_MakePtr(ptemp, (char *) wxLIGHT_GREY_BRUSH,"_wxBrush_p");
956 pyobj = PyString_FromString(ptemp);
957 return pyobj;
958}
959
960static int _wrap_wxBLACK_set(PyObject *val) {
961
962 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK is read-only.");
963 return 1;
964}
965
966static PyObject *_wrap_wxBLACK_get() {
967 PyObject * pyobj;
968 char ptemp[128];
969
970 SWIG_MakePtr(ptemp, (char *) wxBLACK,"_wxColour_p");
971 pyobj = PyString_FromString(ptemp);
972 return pyobj;
973}
974
975static int _wrap_wxWHITE_set(PyObject *val) {
976
977 PyErr_SetString(PyExc_TypeError,"Variable wxWHITE is read-only.");
978 return 1;
979}
980
981static PyObject *_wrap_wxWHITE_get() {
982 PyObject * pyobj;
983 char ptemp[128];
984
985 SWIG_MakePtr(ptemp, (char *) wxWHITE,"_wxColour_p");
986 pyobj = PyString_FromString(ptemp);
987 return pyobj;
988}
989
990static int _wrap_wxRED_set(PyObject *val) {
991
992 PyErr_SetString(PyExc_TypeError,"Variable wxRED is read-only.");
993 return 1;
994}
995
996static PyObject *_wrap_wxRED_get() {
997 PyObject * pyobj;
998 char ptemp[128];
999
1000 SWIG_MakePtr(ptemp, (char *) wxRED,"_wxColour_p");
1001 pyobj = PyString_FromString(ptemp);
1002 return pyobj;
1003}
1004
1005static int _wrap_wxBLUE_set(PyObject *val) {
1006
1007 PyErr_SetString(PyExc_TypeError,"Variable wxBLUE is read-only.");
1008 return 1;
1009}
1010
1011static PyObject *_wrap_wxBLUE_get() {
1012 PyObject * pyobj;
1013 char ptemp[128];
1014
1015 SWIG_MakePtr(ptemp, (char *) wxBLUE,"_wxColour_p");
1016 pyobj = PyString_FromString(ptemp);
1017 return pyobj;
1018}
1019
1020static int _wrap_wxGREEN_set(PyObject *val) {
1021
1022 PyErr_SetString(PyExc_TypeError,"Variable wxGREEN is read-only.");
1023 return 1;
1024}
1025
1026static PyObject *_wrap_wxGREEN_get() {
1027 PyObject * pyobj;
1028 char ptemp[128];
1029
1030 SWIG_MakePtr(ptemp, (char *) wxGREEN,"_wxColour_p");
1031 pyobj = PyString_FromString(ptemp);
1032 return pyobj;
1033}
1034
1035static int _wrap_wxCYAN_set(PyObject *val) {
1036
1037 PyErr_SetString(PyExc_TypeError,"Variable wxCYAN is read-only.");
1038 return 1;
1039}
1040
1041static PyObject *_wrap_wxCYAN_get() {
1042 PyObject * pyobj;
1043 char ptemp[128];
1044
1045 SWIG_MakePtr(ptemp, (char *) wxCYAN,"_wxColour_p");
1046 pyobj = PyString_FromString(ptemp);
1047 return pyobj;
1048}
1049
1050static int _wrap_wxLIGHT_GREY_set(PyObject *val) {
1051
1052 PyErr_SetString(PyExc_TypeError,"Variable wxLIGHT_GREY is read-only.");
1053 return 1;
1054}
1055
1056static PyObject *_wrap_wxLIGHT_GREY_get() {
1057 PyObject * pyobj;
1058 char ptemp[128];
1059
1060 SWIG_MakePtr(ptemp, (char *) wxLIGHT_GREY,"_wxColour_p");
1061 pyobj = PyString_FromString(ptemp);
1062 return pyobj;
1063}
1064
1065static int _wrap_wxSTANDARD_CURSOR_set(PyObject *val) {
1066
1067 PyErr_SetString(PyExc_TypeError,"Variable wxSTANDARD_CURSOR is read-only.");
1068 return 1;
1069}
1070
1071static PyObject *_wrap_wxSTANDARD_CURSOR_get() {
1072 PyObject * pyobj;
1073 char ptemp[128];
1074
1075 SWIG_MakePtr(ptemp, (char *) wxSTANDARD_CURSOR,"_wxCursor_p");
1076 pyobj = PyString_FromString(ptemp);
1077 return pyobj;
1078}
1079
1080static int _wrap_wxHOURGLASS_CURSOR_set(PyObject *val) {
1081
1082 PyErr_SetString(PyExc_TypeError,"Variable wxHOURGLASS_CURSOR is read-only.");
1083 return 1;
1084}
1085
1086static PyObject *_wrap_wxHOURGLASS_CURSOR_get() {
1087 PyObject * pyobj;
1088 char ptemp[128];
1089
1090 SWIG_MakePtr(ptemp, (char *) wxHOURGLASS_CURSOR,"_wxCursor_p");
1091 pyobj = PyString_FromString(ptemp);
1092 return pyobj;
1093}
1094
1095static int _wrap_wxCROSS_CURSOR_set(PyObject *val) {
1096
1097 PyErr_SetString(PyExc_TypeError,"Variable wxCROSS_CURSOR is read-only.");
1098 return 1;
1099}
1100
1101static PyObject *_wrap_wxCROSS_CURSOR_get() {
1102 PyObject * pyobj;
1103 char ptemp[128];
1104
1105 SWIG_MakePtr(ptemp, (char *) wxCROSS_CURSOR,"_wxCursor_p");
1106 pyobj = PyString_FromString(ptemp);
1107 return pyobj;
1108}
1109
1110static int _wrap_wxNullBitmap_set(PyObject *val) {
1111
1112 PyErr_SetString(PyExc_TypeError,"Variable wxNullBitmap is read-only.");
1113 return 1;
1114}
1115
1116static PyObject *_wrap_wxNullBitmap_get() {
1117 PyObject * pyobj;
1118 char ptemp[128];
1119
1120 SWIG_MakePtr(ptemp,(char *) &wxNullBitmap,"_wxBitmap_p");
1121 pyobj = PyString_FromString(ptemp);
1122 return pyobj;
1123}
1124
1125static int _wrap_wxNullIcon_set(PyObject *val) {
1126
1127 PyErr_SetString(PyExc_TypeError,"Variable wxNullIcon is read-only.");
1128 return 1;
1129}
1130
1131static PyObject *_wrap_wxNullIcon_get() {
1132 PyObject * pyobj;
1133 char ptemp[128];
1134
1135 SWIG_MakePtr(ptemp,(char *) &wxNullIcon,"_wxIcon_p");
1136 pyobj = PyString_FromString(ptemp);
1137 return pyobj;
1138}
1139
1140static int _wrap_wxNullCursor_set(PyObject *val) {
1141
1142 PyErr_SetString(PyExc_TypeError,"Variable wxNullCursor is read-only.");
1143 return 1;
1144}
1145
1146static PyObject *_wrap_wxNullCursor_get() {
1147 PyObject * pyobj;
1148 char ptemp[128];
1149
1150 SWIG_MakePtr(ptemp,(char *) &wxNullCursor,"_wxCursor_p");
1151 pyobj = PyString_FromString(ptemp);
1152 return pyobj;
1153}
1154
1155static int _wrap_wxNullPen_set(PyObject *val) {
1156
1157 PyErr_SetString(PyExc_TypeError,"Variable wxNullPen is read-only.");
1158 return 1;
1159}
1160
1161static PyObject *_wrap_wxNullPen_get() {
1162 PyObject * pyobj;
1163 char ptemp[128];
1164
1165 SWIG_MakePtr(ptemp,(char *) &wxNullPen,"_wxPen_p");
1166 pyobj = PyString_FromString(ptemp);
1167 return pyobj;
1168}
1169
1170static int _wrap_wxNullBrush_set(PyObject *val) {
1171
1172 PyErr_SetString(PyExc_TypeError,"Variable wxNullBrush is read-only.");
1173 return 1;
1174}
1175
1176static PyObject *_wrap_wxNullBrush_get() {
1177 PyObject * pyobj;
1178 char ptemp[128];
1179
1180 SWIG_MakePtr(ptemp,(char *) &wxNullBrush,"_wxBrush_p");
1181 pyobj = PyString_FromString(ptemp);
1182 return pyobj;
1183}
1184
1185static int _wrap_wxNullPalette_set(PyObject *val) {
1186
1187 PyErr_SetString(PyExc_TypeError,"Variable wxNullPalette is read-only.");
1188 return 1;
1189}
1190
1191static PyObject *_wrap_wxNullPalette_get() {
1192 PyObject * pyobj;
1193 char ptemp[128];
1194
1195 SWIG_MakePtr(ptemp,(char *) &wxNullPalette,"_wxPalette_p");
1196 pyobj = PyString_FromString(ptemp);
1197 return pyobj;
1198}
1199
1200static int _wrap_wxNullFont_set(PyObject *val) {
1201
1202 PyErr_SetString(PyExc_TypeError,"Variable wxNullFont is read-only.");
1203 return 1;
1204}
1205
1206static PyObject *_wrap_wxNullFont_get() {
1207 PyObject * pyobj;
1208 char ptemp[128];
1209
1210 SWIG_MakePtr(ptemp,(char *) &wxNullFont,"_wxFont_p");
1211 pyobj = PyString_FromString(ptemp);
1212 return pyobj;
1213}
1214
1215static int _wrap_wxNullColour_set(PyObject *val) {
1216
1217 PyErr_SetString(PyExc_TypeError,"Variable wxNullColour is read-only.");
1218 return 1;
1219}
1220
1221static PyObject *_wrap_wxNullColour_get() {
1222 PyObject * pyobj;
1223 char ptemp[128];
1224
1225 SWIG_MakePtr(ptemp,(char *) &wxNullColour,"_wxColour_p");
1226 pyobj = PyString_FromString(ptemp);
1227 return pyobj;
1228}
1229
5e40f9dd
RD
1230static int _wrap_wxTheFontList_set(PyObject *val) {
1231
1232 PyErr_SetString(PyExc_TypeError,"Variable wxTheFontList is read-only.");
1233 return 1;
1234}
1235
1236static PyObject *_wrap_wxTheFontList_get() {
1237 PyObject * pyobj;
1238 char ptemp[128];
1239
1240 SWIG_MakePtr(ptemp, (char *) wxTheFontList,"_wxFontList_p");
1241 pyobj = PyString_FromString(ptemp);
1242 return pyobj;
1243}
1244
1245static int _wrap_wxThePenList_set(PyObject *val) {
1246
1247 PyErr_SetString(PyExc_TypeError,"Variable wxThePenList is read-only.");
1248 return 1;
1249}
1250
1251static PyObject *_wrap_wxThePenList_get() {
1252 PyObject * pyobj;
1253 char ptemp[128];
1254
1255 SWIG_MakePtr(ptemp, (char *) wxThePenList,"_wxPenList_p");
1256 pyobj = PyString_FromString(ptemp);
1257 return pyobj;
1258}
1259
1260static int _wrap_wxTheBrushList_set(PyObject *val) {
1261
1262 PyErr_SetString(PyExc_TypeError,"Variable wxTheBrushList is read-only.");
1263 return 1;
1264}
1265
1266static PyObject *_wrap_wxTheBrushList_get() {
1267 PyObject * pyobj;
1268 char ptemp[128];
1269
65191ae8 1270 SWIG_MakePtr(ptemp, (char *) wxTheBrushList,"_wxBrushList_p");
5e40f9dd
RD
1271 pyobj = PyString_FromString(ptemp);
1272 return pyobj;
1273}
1274
1275static int _wrap_wxTheColourDatabase_set(PyObject *val) {
1276
1277 PyErr_SetString(PyExc_TypeError,"Variable wxTheColourDatabase is read-only.");
1278 return 1;
1279}
1280
1281static PyObject *_wrap_wxTheColourDatabase_get() {
1282 PyObject * pyobj;
1283 char ptemp[128];
1284
1285 SWIG_MakePtr(ptemp, (char *) wxTheColourDatabase,"_wxColourDatabase_p");
1286 pyobj = PyString_FromString(ptemp);
1287 return pyobj;
1288}
1289
9df61a29
RD
1290static void *SwigwxGDIObjectTowxObject(void *ptr) {
1291 wxGDIObject *src;
1292 wxObject *dest;
1293 src = (wxGDIObject *) ptr;
1294 dest = (wxObject *) src;
1295 return (void *) dest;
1296}
1297
1298#define new_wxGDIObject() (new wxGDIObject())
1299static PyObject *_wrap_new_wxGDIObject(PyObject *self, PyObject *args, PyObject *kwargs) {
1300 PyObject * _resultobj;
1301 wxGDIObject * _result;
1302 char *_kwnames[] = { NULL };
1303 char _ptemp[128];
1304
1305 self = self;
1306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGDIObject",_kwnames))
1307 return NULL;
1308{
1309 wxPy_BEGIN_ALLOW_THREADS;
1310 _result = (wxGDIObject *)new_wxGDIObject();
1311
1312 wxPy_END_ALLOW_THREADS;
4dfaa61e 1313 if (PyErr_Occurred()) return NULL;
9df61a29
RD
1314} if (_result) {
1315 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGDIObject_p");
1316 _resultobj = Py_BuildValue("s",_ptemp);
1317 } else {
1318 Py_INCREF(Py_None);
1319 _resultobj = Py_None;
1320 }
1321 return _resultobj;
1322}
1323
1324#define delete_wxGDIObject(_swigobj) (delete _swigobj)
1325static PyObject *_wrap_delete_wxGDIObject(PyObject *self, PyObject *args, PyObject *kwargs) {
1326 PyObject * _resultobj;
1327 wxGDIObject * _arg0;
1328 PyObject * _argo0 = 0;
1329 char *_kwnames[] = { "self", NULL };
1330
1331 self = self;
1332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGDIObject",_kwnames,&_argo0))
1333 return NULL;
1334 if (_argo0) {
1335 if (_argo0 == Py_None) { _arg0 = NULL; }
1336 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGDIObject_p")) {
1337 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGDIObject. Expected _wxGDIObject_p.");
1338 return NULL;
1339 }
1340 }
1341{
1342 wxPy_BEGIN_ALLOW_THREADS;
1343 delete_wxGDIObject(_arg0);
1344
1345 wxPy_END_ALLOW_THREADS;
4dfaa61e 1346 if (PyErr_Occurred()) return NULL;
9df61a29
RD
1347} Py_INCREF(Py_None);
1348 _resultobj = Py_None;
1349 return _resultobj;
1350}
1351
1352#define wxGDIObject_GetVisible(_swigobj) (_swigobj->GetVisible())
1353static PyObject *_wrap_wxGDIObject_GetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
1354 PyObject * _resultobj;
1355 bool _result;
1356 wxGDIObject * _arg0;
1357 PyObject * _argo0 = 0;
1358 char *_kwnames[] = { "self", NULL };
1359
1360 self = self;
1361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGDIObject_GetVisible",_kwnames,&_argo0))
1362 return NULL;
1363 if (_argo0) {
1364 if (_argo0 == Py_None) { _arg0 = NULL; }
1365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGDIObject_p")) {
1366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGDIObject_GetVisible. Expected _wxGDIObject_p.");
1367 return NULL;
1368 }
1369 }
1370{
1371 wxPy_BEGIN_ALLOW_THREADS;
1372 _result = (bool )wxGDIObject_GetVisible(_arg0);
1373
1374 wxPy_END_ALLOW_THREADS;
4dfaa61e 1375 if (PyErr_Occurred()) return NULL;
9df61a29
RD
1376} _resultobj = Py_BuildValue("i",_result);
1377 return _resultobj;
1378}
1379
1380#define wxGDIObject_SetVisible(_swigobj,_swigarg0) (_swigobj->SetVisible(_swigarg0))
1381static PyObject *_wrap_wxGDIObject_SetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
1382 PyObject * _resultobj;
1383 wxGDIObject * _arg0;
1384 bool _arg1;
1385 PyObject * _argo0 = 0;
1386 int tempbool1;
1387 char *_kwnames[] = { "self","visible", NULL };
1388
1389 self = self;
1390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGDIObject_SetVisible",_kwnames,&_argo0,&tempbool1))
1391 return NULL;
1392 if (_argo0) {
1393 if (_argo0 == Py_None) { _arg0 = NULL; }
1394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGDIObject_p")) {
1395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGDIObject_SetVisible. Expected _wxGDIObject_p.");
1396 return NULL;
1397 }
1398 }
1399 _arg1 = (bool ) tempbool1;
1400{
1401 wxPy_BEGIN_ALLOW_THREADS;
1402 wxGDIObject_SetVisible(_arg0,_arg1);
1403
1404 wxPy_END_ALLOW_THREADS;
4dfaa61e 1405 if (PyErr_Occurred()) return NULL;
9df61a29
RD
1406} Py_INCREF(Py_None);
1407 _resultobj = Py_None;
1408 return _resultobj;
1409}
1410
1411#define wxGDIObject_IsNull(_swigobj) (_swigobj->IsNull())
1412static PyObject *_wrap_wxGDIObject_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
1413 PyObject * _resultobj;
1414 bool _result;
1415 wxGDIObject * _arg0;
1416 PyObject * _argo0 = 0;
1417 char *_kwnames[] = { "self", NULL };
1418
1419 self = self;
1420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGDIObject_IsNull",_kwnames,&_argo0))
1421 return NULL;
1422 if (_argo0) {
1423 if (_argo0 == Py_None) { _arg0 = NULL; }
1424 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGDIObject_p")) {
1425 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGDIObject_IsNull. Expected _wxGDIObject_p.");
1426 return NULL;
1427 }
1428 }
1429{
1430 wxPy_BEGIN_ALLOW_THREADS;
1431 _result = (bool )wxGDIObject_IsNull(_arg0);
1432
1433 wxPy_END_ALLOW_THREADS;
4dfaa61e 1434 if (PyErr_Occurred()) return NULL;
9df61a29
RD
1435} _resultobj = Py_BuildValue("i",_result);
1436 return _resultobj;
1437}
1438
1439static void *SwigwxBitmapTowxGDIObject(void *ptr) {
1440 wxBitmap *src;
1441 wxGDIObject *dest;
1442 src = (wxBitmap *) ptr;
1443 dest = (wxGDIObject *) src;
1444 return (void *) dest;
1445}
1446
1447static void *SwigwxBitmapTowxObject(void *ptr) {
1448 wxBitmap *src;
1449 wxObject *dest;
1450 src = (wxBitmap *) ptr;
1451 dest = (wxObject *) src;
1452 return (void *) dest;
1453}
1454
70551f47 1455#define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
107e4716 1456static PyObject *_wrap_new_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1457 PyObject * _resultobj;
1458 wxBitmap * _result;
1459 wxString * _arg0;
5c0282d5 1460 wxBitmapType _arg1 = (wxBitmapType ) wxBITMAP_TYPE_BMP;
70551f47 1461 PyObject * _obj0 = 0;
107e4716 1462 char *_kwnames[] = { "name","type", NULL };
70551f47
RD
1463 char _ptemp[128];
1464
1465 self = self;
5c0282d5 1466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxBitmap",_kwnames,&_obj0,&_arg1))
70551f47
RD
1467 return NULL;
1468{
2cd2fac8
RD
1469#if PYTHON_API_VERSION >= 1009
1470 char* tmpPtr; int tmpSize;
1471 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
7a446686 1472 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1473 return NULL;
1474 }
1475 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
1476 return NULL;
1477 _arg0 = new wxString(tmpPtr, tmpSize);
1478#else
70551f47
RD
1479 if (!PyString_Check(_obj0)) {
1480 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1481 return NULL;
1482 }
2cd2fac8
RD
1483 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
1484#endif
70551f47 1485}
ab9bc19b
RD
1486{
1487 wxPy_BEGIN_ALLOW_THREADS;
1488 _result = (wxBitmap *)new_wxBitmap(*_arg0,_arg1);
1489
1490 wxPy_END_ALLOW_THREADS;
4dfaa61e 1491 if (PyErr_Occurred()) return NULL;
2d091820
RD
1492} if (_result) {
1493 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1494 _resultobj = Py_BuildValue("s",_ptemp);
1495 } else {
1496 Py_INCREF(Py_None);
1497 _resultobj = Py_None;
1498 }
70551f47
RD
1499{
1500 if (_obj0)
1501 delete _arg0;
1502}
1503 return _resultobj;
1504}
1505
1506#define delete_wxBitmap(_swigobj) (delete _swigobj)
107e4716 1507static PyObject *_wrap_delete_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1508 PyObject * _resultobj;
1509 wxBitmap * _arg0;
2d091820 1510 PyObject * _argo0 = 0;
107e4716 1511 char *_kwnames[] = { "self", NULL };
70551f47
RD
1512
1513 self = self;
107e4716 1514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxBitmap",_kwnames,&_argo0))
70551f47 1515 return NULL;
2d091820
RD
1516 if (_argo0) {
1517 if (_argo0 == Py_None) { _arg0 = NULL; }
1518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
70551f47
RD
1519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1520 return NULL;
1521 }
1522 }
ab9bc19b
RD
1523{
1524 wxPy_BEGIN_ALLOW_THREADS;
1525 delete_wxBitmap(_arg0);
1526
1527 wxPy_END_ALLOW_THREADS;
4dfaa61e 1528 if (PyErr_Occurred()) return NULL;
ab9bc19b 1529} Py_INCREF(Py_None);
70551f47
RD
1530 _resultobj = Py_None;
1531 return _resultobj;
1532}
1533
70551f47 1534#define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
107e4716 1535static PyObject *_wrap_wxBitmap_GetPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1536 PyObject * _resultobj;
1537 wxPalette * _result;
1538 wxBitmap * _arg0;
2d091820 1539 PyObject * _argo0 = 0;
107e4716 1540 char *_kwnames[] = { "self", NULL };
70551f47
RD
1541 char _ptemp[128];
1542
1543 self = self;
107e4716 1544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetPalette",_kwnames,&_argo0))
70551f47 1545 return NULL;
2d091820
RD
1546 if (_argo0) {
1547 if (_argo0 == Py_None) { _arg0 = NULL; }
1548 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
70551f47
RD
1549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1550 return NULL;
1551 }
1552 }
ab9bc19b
RD
1553{
1554 wxPy_BEGIN_ALLOW_THREADS;
1555 _result = (wxPalette *)wxBitmap_GetPalette(_arg0);
1556
1557 wxPy_END_ALLOW_THREADS;
4dfaa61e 1558 if (PyErr_Occurred()) return NULL;
2d091820
RD
1559} if (_result) {
1560 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPalette_p");
1561 _resultobj = Py_BuildValue("s",_ptemp);
1562 } else {
1563 Py_INCREF(Py_None);
1564 _resultobj = Py_None;
1565 }
70551f47
RD
1566 return _resultobj;
1567}
1568
1569#define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
107e4716 1570static PyObject *_wrap_wxBitmap_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1571 PyObject * _resultobj;
1572 wxMask * _result;
1573 wxBitmap * _arg0;
2d091820 1574 PyObject * _argo0 = 0;
107e4716 1575 char *_kwnames[] = { "self", NULL };
70551f47
RD
1576 char _ptemp[128];
1577
1578 self = self;
107e4716 1579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetMask",_kwnames,&_argo0))
70551f47 1580 return NULL;
2d091820
RD
1581 if (_argo0) {
1582 if (_argo0 == Py_None) { _arg0 = NULL; }
1583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
70551f47
RD
1584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1585 return NULL;
1586 }
1587 }
ab9bc19b
RD
1588{
1589 wxPy_BEGIN_ALLOW_THREADS;
1590 _result = (wxMask *)wxBitmap_GetMask(_arg0);
1591
1592 wxPy_END_ALLOW_THREADS;
4dfaa61e 1593 if (PyErr_Occurred()) return NULL;
2d091820
RD
1594} if (_result) {
1595 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
1596 _resultobj = Py_BuildValue("s",_ptemp);
1597 } else {
1598 Py_INCREF(Py_None);
1599 _resultobj = Py_None;
1600 }
70551f47
RD
1601 return _resultobj;
1602}
1603
56f5d962
RD
1604#define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1605static PyObject *_wrap_wxBitmap_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 1606 PyObject * _resultobj;
56f5d962 1607 bool _result;
70551f47 1608 wxBitmap * _arg0;
56f5d962 1609 wxString * _arg1;
5c0282d5 1610 wxBitmapType _arg2 = (wxBitmapType ) wxBITMAP_TYPE_BMP;
2d091820 1611 PyObject * _argo0 = 0;
56f5d962 1612 PyObject * _obj1 = 0;
5c0282d5 1613 char *_kwnames[] = { "self","name","type", NULL };
70551f47
RD
1614
1615 self = self;
5c0282d5 1616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxBitmap_LoadFile",_kwnames,&_argo0,&_obj1,&_arg2))
70551f47 1617 return NULL;
2d091820
RD
1618 if (_argo0) {
1619 if (_argo0 == Py_None) { _arg0 = NULL; }
1620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
56f5d962 1621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
70551f47
RD
1622 return NULL;
1623 }
1624 }
56f5d962 1625{
2cd2fac8
RD
1626#if PYTHON_API_VERSION >= 1009
1627 char* tmpPtr; int tmpSize;
1628 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1629 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1630 return NULL;
1631 }
1632 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1633 return NULL;
1634 _arg1 = new wxString(tmpPtr, tmpSize);
1635#else
56f5d962
RD
1636 if (!PyString_Check(_obj1)) {
1637 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1638 return NULL;
1639 }
2cd2fac8
RD
1640 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1641#endif
56f5d962 1642}
ab9bc19b
RD
1643{
1644 wxPy_BEGIN_ALLOW_THREADS;
56f5d962 1645 _result = (bool )wxBitmap_LoadFile(_arg0,*_arg1,_arg2);
ab9bc19b
RD
1646
1647 wxPy_END_ALLOW_THREADS;
4dfaa61e 1648 if (PyErr_Occurred()) return NULL;
ab9bc19b 1649} _resultobj = Py_BuildValue("i",_result);
56f5d962
RD
1650{
1651 if (_obj1)
1652 delete _arg1;
1653}
70551f47
RD
1654 return _resultobj;
1655}
1656
56f5d962
RD
1657#define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1658static PyObject *_wrap_wxBitmap_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1659 PyObject * _resultobj;
1660 bool _result;
1661 wxBitmap * _arg0;
1662 wxString * _arg1;
5c0282d5 1663 wxBitmapType _arg2;
56f5d962 1664 wxPalette * _arg3 = (wxPalette *) NULL;
2d091820 1665 PyObject * _argo0 = 0;
70551f47 1666 PyObject * _obj1 = 0;
56f5d962
RD
1667 PyObject * _argo3 = 0;
1668 char *_kwnames[] = { "self","name","type","palette", NULL };
70551f47
RD
1669
1670 self = self;
56f5d962 1671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|O:wxBitmap_SaveFile",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3))
70551f47 1672 return NULL;
2d091820
RD
1673 if (_argo0) {
1674 if (_argo0 == Py_None) { _arg0 = NULL; }
1675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
56f5d962 1676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
70551f47
RD
1677 return NULL;
1678 }
1679 }
1680{
2cd2fac8
RD
1681#if PYTHON_API_VERSION >= 1009
1682 char* tmpPtr; int tmpSize;
1683 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1684 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1685 return NULL;
1686 }
1687 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1688 return NULL;
1689 _arg1 = new wxString(tmpPtr, tmpSize);
1690#else
70551f47
RD
1691 if (!PyString_Check(_obj1)) {
1692 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1693 return NULL;
1694 }
2cd2fac8
RD
1695 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1696#endif
70551f47 1697}
56f5d962
RD
1698 if (_argo3) {
1699 if (_argo3 == Py_None) { _arg3 = NULL; }
1700 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPalette_p")) {
1701 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1702 return NULL;
1703 }
1704 }
ab9bc19b
RD
1705{
1706 wxPy_BEGIN_ALLOW_THREADS;
56f5d962 1707 _result = (bool )wxBitmap_SaveFile(_arg0,*_arg1,_arg2,_arg3);
ab9bc19b
RD
1708
1709 wxPy_END_ALLOW_THREADS;
4dfaa61e 1710 if (PyErr_Occurred()) return NULL;
ab9bc19b 1711} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1712{
1713 if (_obj1)
1714 delete _arg1;
1715}
1716 return _resultobj;
1717}
1718
56f5d962
RD
1719#define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1720static PyObject *_wrap_wxBitmap_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1721 PyObject * _resultobj;
1722 wxBitmap * _arg0;
1723 wxMask * _arg1;
1724 PyObject * _argo0 = 0;
1725 PyObject * _argo1 = 0;
1726 char *_kwnames[] = { "self","mask", NULL };
1727
1728 self = self;
1729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_SetMask",_kwnames,&_argo0,&_argo1))
1730 return NULL;
1731 if (_argo0) {
1732 if (_argo0 == Py_None) { _arg0 = NULL; }
1733 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1735 return NULL;
1736 }
1737 }
1738 if (_argo1) {
1739 if (_argo1 == Py_None) { _arg1 = NULL; }
1740 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMask_p")) {
1741 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1742 return NULL;
1743 }
1744 }
1745{
1746 wxPy_BEGIN_ALLOW_THREADS;
1747 wxBitmap_SetMask(_arg0,_arg1);
1748
1749 wxPy_END_ALLOW_THREADS;
4dfaa61e 1750 if (PyErr_Occurred()) return NULL;
56f5d962
RD
1751} Py_INCREF(Py_None);
1752 _resultobj = Py_None;
1753 return _resultobj;
1754}
1755
70551f47 1756#define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
107e4716 1757static PyObject *_wrap_wxBitmap_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1758 PyObject * _resultobj;
1759 bool _result;
1760 wxBitmap * _arg0;
2d091820 1761 PyObject * _argo0 = 0;
107e4716 1762 char *_kwnames[] = { "self", NULL };
70551f47
RD
1763
1764 self = self;
107e4716 1765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_Ok",_kwnames,&_argo0))
70551f47 1766 return NULL;
2d091820
RD
1767 if (_argo0) {
1768 if (_argo0 == Py_None) { _arg0 = NULL; }
1769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
70551f47
RD
1770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1771 return NULL;
1772 }
1773 }
ab9bc19b
RD
1774{
1775 wxPy_BEGIN_ALLOW_THREADS;
1776 _result = (bool )wxBitmap_Ok(_arg0);
1777
1778 wxPy_END_ALLOW_THREADS;
4dfaa61e 1779 if (PyErr_Occurred()) return NULL;
ab9bc19b 1780} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1781 return _resultobj;
1782}
1783
56f5d962
RD
1784#define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1785static PyObject *_wrap_wxBitmap_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 1786 PyObject * _resultobj;
56f5d962 1787 int _result;
70551f47 1788 wxBitmap * _arg0;
2d091820 1789 PyObject * _argo0 = 0;
56f5d962 1790 char *_kwnames[] = { "self", NULL };
70551f47
RD
1791
1792 self = self;
56f5d962 1793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetWidth",_kwnames,&_argo0))
70551f47 1794 return NULL;
2d091820
RD
1795 if (_argo0) {
1796 if (_argo0 == Py_None) { _arg0 = NULL; }
1797 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
56f5d962 1798 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
70551f47
RD
1799 return NULL;
1800 }
1801 }
1802{
56f5d962
RD
1803 wxPy_BEGIN_ALLOW_THREADS;
1804 _result = (int )wxBitmap_GetWidth(_arg0);
1805
1806 wxPy_END_ALLOW_THREADS;
4dfaa61e 1807 if (PyErr_Occurred()) return NULL;
56f5d962
RD
1808} _resultobj = Py_BuildValue("i",_result);
1809 return _resultobj;
70551f47 1810}
56f5d962
RD
1811
1812#define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1813static PyObject *_wrap_wxBitmap_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1814 PyObject * _resultobj;
1815 int _result;
1816 wxBitmap * _arg0;
1817 PyObject * _argo0 = 0;
1818 char *_kwnames[] = { "self", NULL };
1819
1820 self = self;
1821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetHeight",_kwnames,&_argo0))
1822 return NULL;
1823 if (_argo0) {
1824 if (_argo0 == Py_None) { _arg0 = NULL; }
1825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
70551f47
RD
1827 return NULL;
1828 }
1829 }
ab9bc19b
RD
1830{
1831 wxPy_BEGIN_ALLOW_THREADS;
56f5d962 1832 _result = (int )wxBitmap_GetHeight(_arg0);
ab9bc19b
RD
1833
1834 wxPy_END_ALLOW_THREADS;
4dfaa61e 1835 if (PyErr_Occurred()) return NULL;
ab9bc19b 1836} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1837 return _resultobj;
1838}
1839
56f5d962
RD
1840#define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1841static PyObject *_wrap_wxBitmap_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 1842 PyObject * _resultobj;
56f5d962 1843 int _result;
70551f47 1844 wxBitmap * _arg0;
2d091820 1845 PyObject * _argo0 = 0;
56f5d962 1846 char *_kwnames[] = { "self", NULL };
70551f47
RD
1847
1848 self = self;
56f5d962 1849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetDepth",_kwnames,&_argo0))
70551f47 1850 return NULL;
2d091820
RD
1851 if (_argo0) {
1852 if (_argo0 == Py_None) { _arg0 = NULL; }
1853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
56f5d962 1854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
70551f47
RD
1855 return NULL;
1856 }
1857 }
ab9bc19b
RD
1858{
1859 wxPy_BEGIN_ALLOW_THREADS;
56f5d962 1860 _result = (int )wxBitmap_GetDepth(_arg0);
ab9bc19b
RD
1861
1862 wxPy_END_ALLOW_THREADS;
4dfaa61e 1863 if (PyErr_Occurred()) return NULL;
56f5d962 1864} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1865 return _resultobj;
1866}
1867
56f5d962
RD
1868#define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1869static PyObject *_wrap_wxBitmap_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1870 PyObject * _resultobj;
1871 wxBitmap * _arg0;
1872 int _arg1;
2d091820 1873 PyObject * _argo0 = 0;
56f5d962 1874 char *_kwnames[] = { "self","w", NULL };
70551f47
RD
1875
1876 self = self;
56f5d962 1877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBitmap_SetWidth",_kwnames,&_argo0,&_arg1))
70551f47 1878 return NULL;
2d091820
RD
1879 if (_argo0) {
1880 if (_argo0 == Py_None) { _arg0 = NULL; }
1881 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
56f5d962 1882 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
70551f47
RD
1883 return NULL;
1884 }
1885 }
ab9bc19b
RD
1886{
1887 wxPy_BEGIN_ALLOW_THREADS;
56f5d962 1888 wxBitmap_SetWidth(_arg0,_arg1);
ab9bc19b
RD
1889
1890 wxPy_END_ALLOW_THREADS;
4dfaa61e 1891 if (PyErr_Occurred()) return NULL;
ab9bc19b 1892} Py_INCREF(Py_None);
70551f47
RD
1893 _resultobj = Py_None;
1894 return _resultobj;
1895}
1896
56f5d962
RD
1897#define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1898static PyObject *_wrap_wxBitmap_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1899 PyObject * _resultobj;
1900 wxBitmap * _arg0;
56f5d962 1901 int _arg1;
2d091820 1902 PyObject * _argo0 = 0;
56f5d962 1903 char *_kwnames[] = { "self","h", NULL };
70551f47
RD
1904
1905 self = self;
56f5d962 1906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBitmap_SetHeight",_kwnames,&_argo0,&_arg1))
70551f47 1907 return NULL;
2d091820
RD
1908 if (_argo0) {
1909 if (_argo0 == Py_None) { _arg0 = NULL; }
1910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
56f5d962 1911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
70551f47
RD
1912 return NULL;
1913 }
1914 }
ab9bc19b
RD
1915{
1916 wxPy_BEGIN_ALLOW_THREADS;
56f5d962 1917 wxBitmap_SetHeight(_arg0,_arg1);
ab9bc19b
RD
1918
1919 wxPy_END_ALLOW_THREADS;
4dfaa61e 1920 if (PyErr_Occurred()) return NULL;
ab9bc19b 1921} Py_INCREF(Py_None);
70551f47
RD
1922 _resultobj = Py_None;
1923 return _resultobj;
1924}
1925
56f5d962
RD
1926#define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1927static PyObject *_wrap_wxBitmap_SetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1928 PyObject * _resultobj;
1929 wxBitmap * _arg0;
1930 int _arg1;
2d091820 1931 PyObject * _argo0 = 0;
56f5d962 1932 char *_kwnames[] = { "self","d", NULL };
70551f47
RD
1933
1934 self = self;
56f5d962 1935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBitmap_SetDepth",_kwnames,&_argo0,&_arg1))
70551f47 1936 return NULL;
2d091820
RD
1937 if (_argo0) {
1938 if (_argo0 == Py_None) { _arg0 = NULL; }
1939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
56f5d962 1940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
70551f47
RD
1941 return NULL;
1942 }
1943 }
ab9bc19b
RD
1944{
1945 wxPy_BEGIN_ALLOW_THREADS;
56f5d962 1946 wxBitmap_SetDepth(_arg0,_arg1);
ab9bc19b
RD
1947
1948 wxPy_END_ALLOW_THREADS;
4dfaa61e 1949 if (PyErr_Occurred()) return NULL;
ab9bc19b 1950} Py_INCREF(Py_None);
70551f47
RD
1951 _resultobj = Py_None;
1952 return _resultobj;
1953}
1954
f6bcfd97
BP
1955#define wxBitmap_GetSubBitmap(_swigobj,_swigarg0) (_swigobj->GetSubBitmap(_swigarg0))
1956static PyObject *_wrap_wxBitmap_GetSubBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
1957 PyObject * _resultobj;
1958 wxBitmap * _result;
1959 wxBitmap * _arg0;
1960 wxRect * _arg1;
1961 PyObject * _argo0 = 0;
1962 wxRect temp;
1963 PyObject * _obj1 = 0;
1964 char *_kwnames[] = { "self","rect", NULL };
1965 char _ptemp[128];
1966
1967 self = self;
1968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_GetSubBitmap",_kwnames,&_argo0,&_obj1))
1969 return NULL;
1970 if (_argo0) {
1971 if (_argo0 == Py_None) { _arg0 = NULL; }
1972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetSubBitmap. Expected _wxBitmap_p.");
1974 return NULL;
1975 }
1976 }
1977{
1978 _arg1 = &temp;
1979 if (! wxRect_helper(_obj1, &_arg1))
1980 return NULL;
1981}
1982{
1983 wxPy_BEGIN_ALLOW_THREADS;
1984 _result = new wxBitmap (wxBitmap_GetSubBitmap(_arg0,*_arg1));
1985
1986 wxPy_END_ALLOW_THREADS;
4dfaa61e 1987 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1988} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1989 _resultobj = Py_BuildValue("s",_ptemp);
1990 return _resultobj;
1991}
1992
65191ae8
RD
1993#define wxBitmap_CopyFromIcon(_swigobj,_swigarg0) (_swigobj->CopyFromIcon(_swigarg0))
1994static PyObject *_wrap_wxBitmap_CopyFromIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
1995 PyObject * _resultobj;
1996 bool _result;
1997 wxBitmap * _arg0;
1998 wxIcon * _arg1;
1999 PyObject * _argo0 = 0;
2000 PyObject * _argo1 = 0;
2001 char *_kwnames[] = { "self","icon", NULL };
2002
2003 self = self;
2004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_CopyFromIcon",_kwnames,&_argo0,&_argo1))
2005 return NULL;
2006 if (_argo0) {
2007 if (_argo0 == Py_None) { _arg0 = NULL; }
2008 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_CopyFromIcon. Expected _wxBitmap_p.");
2010 return NULL;
2011 }
2012 }
2013 if (_argo1) {
2014 if (_argo1 == Py_None) { _arg1 = NULL; }
2015 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
2016 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmap_CopyFromIcon. Expected _wxIcon_p.");
2017 return NULL;
2018 }
2019 }
2020{
2021 wxPy_BEGIN_ALLOW_THREADS;
2022 _result = (bool )wxBitmap_CopyFromIcon(_arg0,*_arg1);
2023
2024 wxPy_END_ALLOW_THREADS;
2025 if (PyErr_Occurred()) return NULL;
2026} _resultobj = Py_BuildValue("i",_result);
2027 return _resultobj;
2028}
2029
9df61a29
RD
2030static void *SwigwxMaskTowxObject(void *ptr) {
2031 wxMask *src;
2032 wxObject *dest;
2033 src = (wxMask *) ptr;
2034 dest = (wxObject *) src;
2035 return (void *) dest;
2036}
2037
70551f47 2038#define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
107e4716 2039static PyObject *_wrap_new_wxMask(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2040 PyObject * _resultobj;
2041 wxMask * _result;
2042 wxBitmap * _arg0;
2d091820 2043 PyObject * _argo0 = 0;
107e4716 2044 char *_kwnames[] = { "bitmap", NULL };
70551f47
RD
2045 char _ptemp[128];
2046
2047 self = self;
107e4716 2048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxMask",_kwnames,&_argo0))
70551f47 2049 return NULL;
2d091820
RD
2050 if (_argo0) {
2051 if (_argo0 == Py_None) { _arg0 = NULL; }
2052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
70551f47
RD
2053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
2054 return NULL;
2055 }
2056 }
ab9bc19b
RD
2057{
2058 wxPy_BEGIN_ALLOW_THREADS;
2059 _result = (wxMask *)new_wxMask(*_arg0);
2060
2061 wxPy_END_ALLOW_THREADS;
4dfaa61e 2062 if (PyErr_Occurred()) return NULL;
2d091820
RD
2063} if (_result) {
2064 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
2065 _resultobj = Py_BuildValue("s",_ptemp);
2066 } else {
2067 Py_INCREF(Py_None);
2068 _resultobj = Py_None;
2069 }
70551f47
RD
2070 return _resultobj;
2071}
2072
fbcadfca
RD
2073static void wxMask_Destroy(wxMask *self) { delete self; }
2074static PyObject *_wrap_wxMask_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2075 PyObject * _resultobj;
2076 wxMask * _arg0;
2077 PyObject * _argo0 = 0;
2078 char *_kwnames[] = { "self", NULL };
2079
2080 self = self;
2081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMask_Destroy",_kwnames,&_argo0))
2082 return NULL;
2083 if (_argo0) {
2084 if (_argo0 == Py_None) { _arg0 = NULL; }
2085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMask_p")) {
2086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMask_Destroy. Expected _wxMask_p.");
2087 return NULL;
2088 }
2089 }
2090{
2091 wxPy_BEGIN_ALLOW_THREADS;
2092 wxMask_Destroy(_arg0);
2093
2094 wxPy_END_ALLOW_THREADS;
4dfaa61e 2095 if (PyErr_Occurred()) return NULL;
fbcadfca
RD
2096} Py_INCREF(Py_None);
2097 _resultobj = Py_None;
2098 return _resultobj;
2099}
2100
9df61a29
RD
2101static void *SwigwxIconTowxGDIObject(void *ptr) {
2102 wxIcon *src;
2103 wxGDIObject *dest;
2104 src = (wxIcon *) ptr;
2105 dest = (wxGDIObject *) src;
2106 return (void *) dest;
2107}
2108
2109static void *SwigwxIconTowxObject(void *ptr) {
2110 wxIcon *src;
2111 wxObject *dest;
2112 src = (wxIcon *) ptr;
2113 dest = (wxObject *) src;
2114 return (void *) dest;
2115}
2116
8bf5d46e 2117#define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
107e4716 2118static PyObject *_wrap_new_wxIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
2119 PyObject * _resultobj;
2120 wxIcon * _result;
2121 wxString * _arg0;
2122 long _arg1;
2d091820
RD
2123 int _arg2 = (int ) -1;
2124 int _arg3 = (int ) -1;
8bf5d46e 2125 PyObject * _obj0 = 0;
107e4716 2126 char *_kwnames[] = { "name","flags","desiredWidth","desiredHeight", NULL };
8bf5d46e
RD
2127 char _ptemp[128];
2128
2129 self = self;
107e4716 2130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:new_wxIcon",_kwnames,&_obj0,&_arg1,&_arg2,&_arg3))
8bf5d46e
RD
2131 return NULL;
2132{
2cd2fac8
RD
2133#if PYTHON_API_VERSION >= 1009
2134 char* tmpPtr; int tmpSize;
2135 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
7a446686 2136 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
2137 return NULL;
2138 }
2139 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
2140 return NULL;
2141 _arg0 = new wxString(tmpPtr, tmpSize);
2142#else
8bf5d46e
RD
2143 if (!PyString_Check(_obj0)) {
2144 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2145 return NULL;
2146 }
2cd2fac8
RD
2147 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
2148#endif
8bf5d46e
RD
2149}
2150{
2151 wxPy_BEGIN_ALLOW_THREADS;
2152 _result = (wxIcon *)new_wxIcon(*_arg0,_arg1,_arg2,_arg3);
2153
2154 wxPy_END_ALLOW_THREADS;
4dfaa61e 2155 if (PyErr_Occurred()) return NULL;
2d091820
RD
2156} if (_result) {
2157 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
2158 _resultobj = Py_BuildValue("s",_ptemp);
2159 } else {
2160 Py_INCREF(Py_None);
2161 _resultobj = Py_None;
2162 }
8bf5d46e
RD
2163{
2164 if (_obj0)
2165 delete _arg0;
2166}
2167 return _resultobj;
2168}
2169
70551f47 2170#define delete_wxIcon(_swigobj) (delete _swigobj)
107e4716 2171static PyObject *_wrap_delete_wxIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2172 PyObject * _resultobj;
2173 wxIcon * _arg0;
2d091820 2174 PyObject * _argo0 = 0;
107e4716 2175 char *_kwnames[] = { "self", NULL };
70551f47
RD
2176
2177 self = self;
107e4716 2178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxIcon",_kwnames,&_argo0))
70551f47 2179 return NULL;
2d091820
RD
2180 if (_argo0) {
2181 if (_argo0 == Py_None) { _arg0 = NULL; }
2182 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
70551f47
RD
2183 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
2184 return NULL;
2185 }
2186 }
ab9bc19b
RD
2187{
2188 wxPy_BEGIN_ALLOW_THREADS;
2189 delete_wxIcon(_arg0);
2190
2191 wxPy_END_ALLOW_THREADS;
4dfaa61e 2192 if (PyErr_Occurred()) return NULL;
ab9bc19b 2193} Py_INCREF(Py_None);
70551f47
RD
2194 _resultobj = Py_None;
2195 return _resultobj;
2196}
2197
56f5d962
RD
2198#define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
2199static PyObject *_wrap_wxIcon_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2200 PyObject * _resultobj;
56f5d962 2201 bool _result;
70551f47 2202 wxIcon * _arg0;
56f5d962
RD
2203 wxString * _arg1;
2204 long _arg2;
2d091820 2205 PyObject * _argo0 = 0;
56f5d962
RD
2206 PyObject * _obj1 = 0;
2207 char *_kwnames[] = { "self","name","flags", NULL };
70551f47
RD
2208
2209 self = self;
56f5d962 2210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOl:wxIcon_LoadFile",_kwnames,&_argo0,&_obj1,&_arg2))
70551f47 2211 return NULL;
2d091820
RD
2212 if (_argo0) {
2213 if (_argo0 == Py_None) { _arg0 = NULL; }
2214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
56f5d962 2215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
70551f47
RD
2216 return NULL;
2217 }
2218 }
56f5d962 2219{
2cd2fac8
RD
2220#if PYTHON_API_VERSION >= 1009
2221 char* tmpPtr; int tmpSize;
2222 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 2223 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
2224 return NULL;
2225 }
2226 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2227 return NULL;
2228 _arg1 = new wxString(tmpPtr, tmpSize);
2229#else
56f5d962
RD
2230 if (!PyString_Check(_obj1)) {
2231 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2232 return NULL;
2233 }
2cd2fac8
RD
2234 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2235#endif
56f5d962 2236}
ab9bc19b
RD
2237{
2238 wxPy_BEGIN_ALLOW_THREADS;
56f5d962 2239 _result = (bool )wxIcon_LoadFile(_arg0,*_arg1,_arg2);
ab9bc19b
RD
2240
2241 wxPy_END_ALLOW_THREADS;
4dfaa61e 2242 if (PyErr_Occurred()) return NULL;
ab9bc19b 2243} _resultobj = Py_BuildValue("i",_result);
56f5d962
RD
2244{
2245 if (_obj1)
2246 delete _arg1;
2247}
70551f47
RD
2248 return _resultobj;
2249}
2250
56f5d962
RD
2251#define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2252static PyObject *_wrap_wxIcon_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2253 PyObject * _resultobj;
56f5d962 2254 bool _result;
70551f47 2255 wxIcon * _arg0;
2d091820 2256 PyObject * _argo0 = 0;
107e4716 2257 char *_kwnames[] = { "self", NULL };
70551f47
RD
2258
2259 self = self;
56f5d962 2260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_Ok",_kwnames,&_argo0))
70551f47 2261 return NULL;
2d091820
RD
2262 if (_argo0) {
2263 if (_argo0 == Py_None) { _arg0 = NULL; }
2264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
56f5d962 2265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
70551f47
RD
2266 return NULL;
2267 }
2268 }
ab9bc19b
RD
2269{
2270 wxPy_BEGIN_ALLOW_THREADS;
56f5d962 2271 _result = (bool )wxIcon_Ok(_arg0);
ab9bc19b
RD
2272
2273 wxPy_END_ALLOW_THREADS;
4dfaa61e 2274 if (PyErr_Occurred()) return NULL;
ab9bc19b 2275} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2276 return _resultobj;
2277}
2278
2279#define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
107e4716 2280static PyObject *_wrap_wxIcon_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2281 PyObject * _resultobj;
2282 int _result;
2283 wxIcon * _arg0;
2d091820 2284 PyObject * _argo0 = 0;
107e4716 2285 char *_kwnames[] = { "self", NULL };
70551f47
RD
2286
2287 self = self;
107e4716 2288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_GetWidth",_kwnames,&_argo0))
70551f47 2289 return NULL;
2d091820
RD
2290 if (_argo0) {
2291 if (_argo0 == Py_None) { _arg0 = NULL; }
2292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
70551f47
RD
2293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2294 return NULL;
2295 }
2296 }
ab9bc19b
RD
2297{
2298 wxPy_BEGIN_ALLOW_THREADS;
2299 _result = (int )wxIcon_GetWidth(_arg0);
2300
2301 wxPy_END_ALLOW_THREADS;
4dfaa61e 2302 if (PyErr_Occurred()) return NULL;
ab9bc19b 2303} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2304 return _resultobj;
2305}
2306
56f5d962
RD
2307#define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2308static PyObject *_wrap_wxIcon_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2309 PyObject * _resultobj;
56f5d962 2310 int _result;
70551f47 2311 wxIcon * _arg0;
2d091820 2312 PyObject * _argo0 = 0;
56f5d962 2313 char *_kwnames[] = { "self", NULL };
70551f47
RD
2314
2315 self = self;
56f5d962 2316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_GetHeight",_kwnames,&_argo0))
70551f47 2317 return NULL;
2d091820
RD
2318 if (_argo0) {
2319 if (_argo0 == Py_None) { _arg0 = NULL; }
2320 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
56f5d962 2321 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
70551f47
RD
2322 return NULL;
2323 }
2324 }
ab9bc19b
RD
2325{
2326 wxPy_BEGIN_ALLOW_THREADS;
56f5d962 2327 _result = (int )wxIcon_GetHeight(_arg0);
ab9bc19b
RD
2328
2329 wxPy_END_ALLOW_THREADS;
4dfaa61e 2330 if (PyErr_Occurred()) return NULL;
ab9bc19b 2331} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2332 return _resultobj;
2333}
2334
56f5d962
RD
2335#define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2336static PyObject *_wrap_wxIcon_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2337 PyObject * _resultobj;
56f5d962 2338 int _result;
70551f47 2339 wxIcon * _arg0;
2d091820 2340 PyObject * _argo0 = 0;
107e4716 2341 char *_kwnames[] = { "self", NULL };
70551f47
RD
2342
2343 self = self;
56f5d962 2344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_GetDepth",_kwnames,&_argo0))
70551f47 2345 return NULL;
2d091820
RD
2346 if (_argo0) {
2347 if (_argo0 == Py_None) { _arg0 = NULL; }
2348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
56f5d962 2349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
70551f47
RD
2350 return NULL;
2351 }
2352 }
ab9bc19b
RD
2353{
2354 wxPy_BEGIN_ALLOW_THREADS;
56f5d962 2355 _result = (int )wxIcon_GetDepth(_arg0);
ab9bc19b
RD
2356
2357 wxPy_END_ALLOW_THREADS;
4dfaa61e 2358 if (PyErr_Occurred()) return NULL;
ab9bc19b 2359} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2360 return _resultobj;
2361}
2362
56f5d962
RD
2363#define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2364static PyObject *_wrap_wxIcon_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2365 PyObject * _resultobj;
2366 wxIcon * _arg0;
2367 int _arg1;
2d091820 2368 PyObject * _argo0 = 0;
56f5d962 2369 char *_kwnames[] = { "self","w", NULL };
70551f47
RD
2370
2371 self = self;
56f5d962 2372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxIcon_SetWidth",_kwnames,&_argo0,&_arg1))
70551f47 2373 return NULL;
2d091820
RD
2374 if (_argo0) {
2375 if (_argo0 == Py_None) { _arg0 = NULL; }
2376 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
56f5d962 2377 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
70551f47
RD
2378 return NULL;
2379 }
2380 }
ab9bc19b
RD
2381{
2382 wxPy_BEGIN_ALLOW_THREADS;
56f5d962 2383 wxIcon_SetWidth(_arg0,_arg1);
ab9bc19b
RD
2384
2385 wxPy_END_ALLOW_THREADS;
4dfaa61e 2386 if (PyErr_Occurred()) return NULL;
ab9bc19b 2387} Py_INCREF(Py_None);
70551f47
RD
2388 _resultobj = Py_None;
2389 return _resultobj;
2390}
2391
2392#define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
107e4716 2393static PyObject *_wrap_wxIcon_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2394 PyObject * _resultobj;
2395 wxIcon * _arg0;
2396 int _arg1;
2d091820 2397 PyObject * _argo0 = 0;
56f5d962 2398 char *_kwnames[] = { "self","h", NULL };
70551f47
RD
2399
2400 self = self;
107e4716 2401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxIcon_SetHeight",_kwnames,&_argo0,&_arg1))
70551f47 2402 return NULL;
2d091820
RD
2403 if (_argo0) {
2404 if (_argo0 == Py_None) { _arg0 = NULL; }
2405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
70551f47
RD
2406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2407 return NULL;
2408 }
2409 }
ab9bc19b
RD
2410{
2411 wxPy_BEGIN_ALLOW_THREADS;
2412 wxIcon_SetHeight(_arg0,_arg1);
2413
2414 wxPy_END_ALLOW_THREADS;
4dfaa61e 2415 if (PyErr_Occurred()) return NULL;
ab9bc19b 2416} Py_INCREF(Py_None);
70551f47
RD
2417 _resultobj = Py_None;
2418 return _resultobj;
2419}
2420
56f5d962
RD
2421#define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2422static PyObject *_wrap_wxIcon_SetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2423 PyObject * _resultobj;
2424 wxIcon * _arg0;
2425 int _arg1;
2d091820 2426 PyObject * _argo0 = 0;
56f5d962 2427 char *_kwnames[] = { "self","d", NULL };
70551f47
RD
2428
2429 self = self;
56f5d962 2430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxIcon_SetDepth",_kwnames,&_argo0,&_arg1))
70551f47 2431 return NULL;
2d091820
RD
2432 if (_argo0) {
2433 if (_argo0 == Py_None) { _arg0 = NULL; }
2434 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
56f5d962 2435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
70551f47
RD
2436 return NULL;
2437 }
2438 }
ab9bc19b
RD
2439{
2440 wxPy_BEGIN_ALLOW_THREADS;
56f5d962 2441 wxIcon_SetDepth(_arg0,_arg1);
ab9bc19b
RD
2442
2443 wxPy_END_ALLOW_THREADS;
4dfaa61e 2444 if (PyErr_Occurred()) return NULL;
ab9bc19b 2445} Py_INCREF(Py_None);
70551f47
RD
2446 _resultobj = Py_None;
2447 return _resultobj;
2448}
2449
fbcadfca
RD
2450#define wxIcon_CopyFromBitmap(_swigobj,_swigarg0) (_swigobj->CopyFromBitmap(_swigarg0))
2451static PyObject *_wrap_wxIcon_CopyFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2452 PyObject * _resultobj;
2453 wxIcon * _arg0;
2454 wxBitmap * _arg1;
2455 PyObject * _argo0 = 0;
2456 PyObject * _argo1 = 0;
2457 char *_kwnames[] = { "self","bmp", NULL };
2458
2459 self = self;
2460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxIcon_CopyFromBitmap",_kwnames,&_argo0,&_argo1))
2461 return NULL;
2462 if (_argo0) {
2463 if (_argo0 == Py_None) { _arg0 = NULL; }
2464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_CopyFromBitmap. Expected _wxIcon_p.");
2466 return NULL;
2467 }
2468 }
2469 if (_argo1) {
2470 if (_argo1 == Py_None) { _arg1 = NULL; }
2471 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
2472 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIcon_CopyFromBitmap. Expected _wxBitmap_p.");
2473 return NULL;
2474 }
2475 }
2476{
2477 wxPy_BEGIN_ALLOW_THREADS;
2478 wxIcon_CopyFromBitmap(_arg0,*_arg1);
2479
2480 wxPy_END_ALLOW_THREADS;
4dfaa61e 2481 if (PyErr_Occurred()) return NULL;
fbcadfca
RD
2482} Py_INCREF(Py_None);
2483 _resultobj = Py_None;
2484 return _resultobj;
2485}
2486
9df61a29
RD
2487static void *SwigwxCursorTowxGDIObject(void *ptr) {
2488 wxCursor *src;
2489 wxGDIObject *dest;
2490 src = (wxCursor *) ptr;
2491 dest = (wxGDIObject *) src;
2492 return (void *) dest;
2493}
2494
2495static void *SwigwxCursorTowxObject(void *ptr) {
2496 wxCursor *src;
2497 wxObject *dest;
2498 src = (wxCursor *) ptr;
2499 dest = (wxObject *) src;
2500 return (void *) dest;
2501}
2502
70551f47 2503#define delete_wxCursor(_swigobj) (delete _swigobj)
107e4716 2504static PyObject *_wrap_delete_wxCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2505 PyObject * _resultobj;
2506 wxCursor * _arg0;
2d091820 2507 PyObject * _argo0 = 0;
107e4716 2508 char *_kwnames[] = { "self", NULL };
70551f47
RD
2509
2510 self = self;
107e4716 2511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxCursor",_kwnames,&_argo0))
70551f47 2512 return NULL;
2d091820
RD
2513 if (_argo0) {
2514 if (_argo0 == Py_None) { _arg0 = NULL; }
2515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
70551f47
RD
2516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
2517 return NULL;
2518 }
2519 }
ab9bc19b
RD
2520{
2521 wxPy_BEGIN_ALLOW_THREADS;
2522 delete_wxCursor(_arg0);
2523
2524 wxPy_END_ALLOW_THREADS;
4dfaa61e 2525 if (PyErr_Occurred()) return NULL;
ab9bc19b 2526} Py_INCREF(Py_None);
70551f47
RD
2527 _resultobj = Py_None;
2528 return _resultobj;
2529}
2530
2531#define wxCursor_Ok(_swigobj) (_swigobj->Ok())
107e4716 2532static PyObject *_wrap_wxCursor_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2533 PyObject * _resultobj;
2534 bool _result;
2535 wxCursor * _arg0;
2d091820 2536 PyObject * _argo0 = 0;
107e4716 2537 char *_kwnames[] = { "self", NULL };
70551f47
RD
2538
2539 self = self;
107e4716 2540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCursor_Ok",_kwnames,&_argo0))
70551f47 2541 return NULL;
2d091820
RD
2542 if (_argo0) {
2543 if (_argo0 == Py_None) { _arg0 = NULL; }
2544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
70551f47
RD
2545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2546 return NULL;
2547 }
2548 }
ab9bc19b
RD
2549{
2550 wxPy_BEGIN_ALLOW_THREADS;
2551 _result = (bool )wxCursor_Ok(_arg0);
2552
2553 wxPy_END_ALLOW_THREADS;
4dfaa61e 2554 if (PyErr_Occurred()) return NULL;
ab9bc19b 2555} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2556 return _resultobj;
2557}
2558
059a841c
RD
2559#define wxNativeFontInfo_FromString(_swigobj,_swigarg0) (_swigobj->FromString(_swigarg0))
2560static PyObject *_wrap_wxNativeFontInfo_FromString(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2561 PyObject * _resultobj;
059a841c
RD
2562 bool _result;
2563 wxNativeFontInfo * _arg0;
2564 wxString * _arg1;
2565 PyObject * _argo0 = 0;
2566 PyObject * _obj1 = 0;
2567 char *_kwnames[] = { "self","s", NULL };
70551f47
RD
2568
2569 self = self;
059a841c
RD
2570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNativeFontInfo_FromString",_kwnames,&_argo0,&_obj1))
2571 return NULL;
2572 if (_argo0) {
2573 if (_argo0 == Py_None) { _arg0 = NULL; }
2574 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
2575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo_FromString. Expected _wxNativeFontInfo_p.");
2576 return NULL;
2577 }
2578 }
2579{
2580#if PYTHON_API_VERSION >= 1009
2581 char* tmpPtr; int tmpSize;
2582 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2583 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2584 return NULL;
2585 }
2586 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2587 return NULL;
2588 _arg1 = new wxString(tmpPtr, tmpSize);
2589#else
2590 if (!PyString_Check(_obj1)) {
2591 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
70551f47 2592 return NULL;
059a841c
RD
2593 }
2594 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2595#endif
2596}
ab9bc19b
RD
2597{
2598 wxPy_BEGIN_ALLOW_THREADS;
059a841c 2599 _result = (bool )wxNativeFontInfo_FromString(_arg0,*_arg1);
ab9bc19b
RD
2600
2601 wxPy_END_ALLOW_THREADS;
4dfaa61e 2602 if (PyErr_Occurred()) return NULL;
059a841c
RD
2603} _resultobj = Py_BuildValue("i",_result);
2604{
2605 if (_obj1)
2606 delete _arg1;
2607}
70551f47
RD
2608 return _resultobj;
2609}
2610
059a841c
RD
2611#define wxNativeFontInfo_ToString(_swigobj) (_swigobj->ToString())
2612static PyObject *_wrap_wxNativeFontInfo_ToString(PyObject *self, PyObject *args, PyObject *kwargs) {
5e40f9dd 2613 PyObject * _resultobj;
059a841c
RD
2614 wxString * _result;
2615 wxNativeFontInfo * _arg0;
5e40f9dd
RD
2616 PyObject * _argo0 = 0;
2617 char *_kwnames[] = { "self", NULL };
2618
2619 self = self;
059a841c 2620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNativeFontInfo_ToString",_kwnames,&_argo0))
5e40f9dd
RD
2621 return NULL;
2622 if (_argo0) {
2623 if (_argo0 == Py_None) { _arg0 = NULL; }
059a841c
RD
2624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
2625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo_ToString. Expected _wxNativeFontInfo_p.");
5e40f9dd
RD
2626 return NULL;
2627 }
2628 }
2629{
2630 wxPy_BEGIN_ALLOW_THREADS;
059a841c 2631 _result = new wxString (wxNativeFontInfo_ToString(_arg0));
5e40f9dd
RD
2632
2633 wxPy_END_ALLOW_THREADS;
4dfaa61e 2634 if (PyErr_Occurred()) return NULL;
059a841c
RD
2635}{
2636 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2637}
2638{
2639 delete _result;
2640}
5e40f9dd
RD
2641 return _resultobj;
2642}
2643
059a841c
RD
2644static wxString wxNativeFontInfo___str__(wxNativeFontInfo *self) {
2645 return self->ToString();
2646 }
2647static PyObject *_wrap_wxNativeFontInfo___str__(PyObject *self, PyObject *args, PyObject *kwargs) {
d29aba2f 2648 PyObject * _resultobj;
059a841c
RD
2649 wxString * _result;
2650 wxNativeFontInfo * _arg0;
d29aba2f
RD
2651 PyObject * _argo0 = 0;
2652 char *_kwnames[] = { "self", NULL };
2653
2654 self = self;
059a841c 2655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNativeFontInfo___str__",_kwnames,&_argo0))
d29aba2f
RD
2656 return NULL;
2657 if (_argo0) {
2658 if (_argo0 == Py_None) { _arg0 = NULL; }
059a841c
RD
2659 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
2660 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo___str__. Expected _wxNativeFontInfo_p.");
d29aba2f
RD
2661 return NULL;
2662 }
2663 }
2664{
2665 wxPy_BEGIN_ALLOW_THREADS;
059a841c 2666 _result = new wxString (wxNativeFontInfo___str__(_arg0));
d29aba2f
RD
2667
2668 wxPy_END_ALLOW_THREADS;
4dfaa61e 2669 if (PyErr_Occurred()) return NULL;
059a841c
RD
2670}{
2671 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2672}
2673{
2674 delete _result;
2675}
d29aba2f
RD
2676 return _resultobj;
2677}
2678
059a841c
RD
2679#define new_wxFontMapper() (new wxFontMapper())
2680static PyObject *_wrap_new_wxFontMapper(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2681 PyObject * _resultobj;
059a841c
RD
2682 wxFontMapper * _result;
2683 char *_kwnames[] = { NULL };
2684 char _ptemp[128];
2685
2686 self = self;
2687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxFontMapper",_kwnames))
2688 return NULL;
2689{
2690 wxPy_BEGIN_ALLOW_THREADS;
2691 _result = (wxFontMapper *)new_wxFontMapper();
2692
2693 wxPy_END_ALLOW_THREADS;
2694 if (PyErr_Occurred()) return NULL;
2695} if (_result) {
2696 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFontMapper_p");
2697 _resultobj = Py_BuildValue("s",_ptemp);
2698 } else {
2699 Py_INCREF(Py_None);
2700 _resultobj = Py_None;
2701 }
2702 return _resultobj;
2703}
2704
2705#define delete_wxFontMapper(_swigobj) (delete _swigobj)
2706static PyObject *_wrap_delete_wxFontMapper(PyObject *self, PyObject *args, PyObject *kwargs) {
2707 PyObject * _resultobj;
2708 wxFontMapper * _arg0;
2d091820 2709 PyObject * _argo0 = 0;
107e4716 2710 char *_kwnames[] = { "self", NULL };
70551f47
RD
2711
2712 self = self;
059a841c 2713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFontMapper",_kwnames,&_argo0))
70551f47 2714 return NULL;
2d091820
RD
2715 if (_argo0) {
2716 if (_argo0 == Py_None) { _arg0 = NULL; }
059a841c
RD
2717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontMapper_p")) {
2718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFontMapper. Expected _wxFontMapper_p.");
70551f47
RD
2719 return NULL;
2720 }
2721 }
70551f47 2722{
ab9bc19b 2723 wxPy_BEGIN_ALLOW_THREADS;
059a841c 2724 delete_wxFontMapper(_arg0);
ab9bc19b
RD
2725
2726 wxPy_END_ALLOW_THREADS;
4dfaa61e 2727 if (PyErr_Occurred()) return NULL;
059a841c
RD
2728} Py_INCREF(Py_None);
2729 _resultobj = Py_None;
70551f47
RD
2730 return _resultobj;
2731}
2732
059a841c
RD
2733static PyObject * wxFontMapper_GetAltForEncoding(wxFontMapper *self,wxFontEncoding encoding,const wxString & facename,bool interactive) {
2734 wxFontEncoding alt_enc;
2735 if (self->GetAltForEncoding(encoding, &alt_enc, facename, interactive))
2736 return PyInt_FromLong(alt_enc);
2737 else {
2738 Py_INCREF(Py_None);
2739 return Py_None;
2740 }
2741 }
2742static PyObject *_wrap_wxFontMapper_GetAltForEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2743 PyObject * _resultobj;
059a841c
RD
2744 PyObject * _result;
2745 wxFontMapper * _arg0;
2746 wxFontEncoding _arg1;
2747 wxString * _arg2 = (wxString *) &wxEmptyString;
2748 bool _arg3 = (bool ) TRUE;
2d091820 2749 PyObject * _argo0 = 0;
059a841c
RD
2750 PyObject * _obj2 = 0;
2751 int tempbool3 = (int) TRUE;
2752 char *_kwnames[] = { "self","encoding","facename","interactive", NULL };
70551f47
RD
2753
2754 self = self;
059a841c 2755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|Oi:wxFontMapper_GetAltForEncoding",_kwnames,&_argo0,&_arg1,&_obj2,&tempbool3))
70551f47 2756 return NULL;
2d091820
RD
2757 if (_argo0) {
2758 if (_argo0 == Py_None) { _arg0 = NULL; }
059a841c
RD
2759 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontMapper_p")) {
2760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontMapper_GetAltForEncoding. Expected _wxFontMapper_p.");
70551f47
RD
2761 return NULL;
2762 }
2763 }
059a841c
RD
2764 if (_obj2)
2765{
2766#if PYTHON_API_VERSION >= 1009
2767 char* tmpPtr; int tmpSize;
2768 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2769 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2770 return NULL;
2771 }
2772 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2773 return NULL;
2774 _arg2 = new wxString(tmpPtr, tmpSize);
2775#else
2776 if (!PyString_Check(_obj2)) {
2777 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2778 return NULL;
2779 }
2780 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2781#endif
2782}
2783 _arg3 = (bool ) tempbool3;
ab9bc19b
RD
2784{
2785 wxPy_BEGIN_ALLOW_THREADS;
059a841c 2786 _result = (PyObject *)wxFontMapper_GetAltForEncoding(_arg0,_arg1,*_arg2,_arg3);
ab9bc19b
RD
2787
2788 wxPy_END_ALLOW_THREADS;
4dfaa61e 2789 if (PyErr_Occurred()) return NULL;
059a841c
RD
2790}{
2791 _resultobj = _result;
2792}
2793{
2794 if (_obj2)
2795 delete _arg2;
2796}
70551f47
RD
2797 return _resultobj;
2798}
2799
059a841c
RD
2800#define wxFontMapper_IsEncodingAvailable(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEncodingAvailable(_swigarg0,_swigarg1))
2801static PyObject *_wrap_wxFontMapper_IsEncodingAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2802 PyObject * _resultobj;
059a841c
RD
2803 bool _result;
2804 wxFontMapper * _arg0;
2805 wxFontEncoding _arg1;
2806 wxString * _arg2 = (wxString *) &wxEmptyString;
2d091820 2807 PyObject * _argo0 = 0;
059a841c
RD
2808 PyObject * _obj2 = 0;
2809 char *_kwnames[] = { "self","encoding","facename", NULL };
70551f47
RD
2810
2811 self = self;
059a841c 2812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxFontMapper_IsEncodingAvailable",_kwnames,&_argo0,&_arg1,&_obj2))
70551f47 2813 return NULL;
2d091820
RD
2814 if (_argo0) {
2815 if (_argo0 == Py_None) { _arg0 = NULL; }
059a841c
RD
2816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontMapper_p")) {
2817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontMapper_IsEncodingAvailable. Expected _wxFontMapper_p.");
70551f47
RD
2818 return NULL;
2819 }
2820 }
059a841c
RD
2821 if (_obj2)
2822{
2823#if PYTHON_API_VERSION >= 1009
2824 char* tmpPtr; int tmpSize;
2825 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2826 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2827 return NULL;
2828 }
2829 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2830 return NULL;
2831 _arg2 = new wxString(tmpPtr, tmpSize);
2832#else
2833 if (!PyString_Check(_obj2)) {
2834 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2835 return NULL;
2836 }
2837 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2838#endif
2839}
ab9bc19b
RD
2840{
2841 wxPy_BEGIN_ALLOW_THREADS;
059a841c 2842 _result = (bool )wxFontMapper_IsEncodingAvailable(_arg0,_arg1,*_arg2);
ab9bc19b
RD
2843
2844 wxPy_END_ALLOW_THREADS;
4dfaa61e 2845 if (PyErr_Occurred()) return NULL;
ab9bc19b 2846} _resultobj = Py_BuildValue("i",_result);
059a841c
RD
2847{
2848 if (_obj2)
2849 delete _arg2;
2850}
70551f47
RD
2851 return _resultobj;
2852}
2853
059a841c
RD
2854#define wxFontMapper_CharsetToEncoding(_swigobj,_swigarg0,_swigarg1) (_swigobj->CharsetToEncoding(_swigarg0,_swigarg1))
2855static PyObject *_wrap_wxFontMapper_CharsetToEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2856 PyObject * _resultobj;
059a841c
RD
2857 wxFontEncoding _result;
2858 wxFontMapper * _arg0;
2859 wxString * _arg1;
2860 bool _arg2 = (bool ) TRUE;
2d091820 2861 PyObject * _argo0 = 0;
059a841c
RD
2862 PyObject * _obj1 = 0;
2863 int tempbool2 = (int) TRUE;
2864 char *_kwnames[] = { "self","charset","interactive", NULL };
70551f47
RD
2865
2866 self = self;
059a841c 2867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxFontMapper_CharsetToEncoding",_kwnames,&_argo0,&_obj1,&tempbool2))
70551f47 2868 return NULL;
2d091820
RD
2869 if (_argo0) {
2870 if (_argo0 == Py_None) { _arg0 = NULL; }
059a841c
RD
2871 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontMapper_p")) {
2872 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontMapper_CharsetToEncoding. Expected _wxFontMapper_p.");
70551f47
RD
2873 return NULL;
2874 }
2875 }
ab9bc19b 2876{
059a841c
RD
2877#if PYTHON_API_VERSION >= 1009
2878 char* tmpPtr; int tmpSize;
2879 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2880 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2881 return NULL;
2882 }
2883 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2884 return NULL;
2885 _arg1 = new wxString(tmpPtr, tmpSize);
2886#else
2887 if (!PyString_Check(_obj1)) {
2888 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2889 return NULL;
2890 }
2891 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2892#endif
2893}
2894 _arg2 = (bool ) tempbool2;
2895{
2896 wxPy_BEGIN_ALLOW_THREADS;
2897 _result = (wxFontEncoding )wxFontMapper_CharsetToEncoding(_arg0,*_arg1,_arg2);
2898
2899 wxPy_END_ALLOW_THREADS;
2900 if (PyErr_Occurred()) return NULL;
2901} _resultobj = Py_BuildValue("i",_result);
2902{
2903 if (_obj1)
2904 delete _arg1;
2905}
2906 return _resultobj;
2907}
2908
2909static PyObject *_wrap_wxFontMapper_GetEncodingName(PyObject *self, PyObject *args, PyObject *kwargs) {
2910 PyObject * _resultobj;
2911 wxString * _result;
2912 wxFontEncoding _arg0;
2913 char *_kwnames[] = { "encoding", NULL };
2914
2915 self = self;
2916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxFontMapper_GetEncodingName",_kwnames,&_arg0))
2917 return NULL;
2918{
2919 wxPy_BEGIN_ALLOW_THREADS;
2920 _result = new wxString (wxFontMapper::GetEncodingName(_arg0));
2921
2922 wxPy_END_ALLOW_THREADS;
2923 if (PyErr_Occurred()) return NULL;
2924}{
2925 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2926}
2927{
2928 delete _result;
2929}
2930 return _resultobj;
2931}
2932
2933static PyObject *_wrap_wxFontMapper_GetEncodingDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
2934 PyObject * _resultobj;
2935 wxString * _result;
2936 wxFontEncoding _arg0;
2937 char *_kwnames[] = { "encoding", NULL };
2938
2939 self = self;
2940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxFontMapper_GetEncodingDescription",_kwnames,&_arg0))
2941 return NULL;
2942{
2943 wxPy_BEGIN_ALLOW_THREADS;
2944 _result = new wxString (wxFontMapper::GetEncodingDescription(_arg0));
2945
2946 wxPy_END_ALLOW_THREADS;
2947 if (PyErr_Occurred()) return NULL;
2948}{
2949 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2950}
2951{
2952 delete _result;
2953}
2954 return _resultobj;
2955}
2956
2957#define wxFontMapper_SetDialogParent(_swigobj,_swigarg0) (_swigobj->SetDialogParent(_swigarg0))
2958static PyObject *_wrap_wxFontMapper_SetDialogParent(PyObject *self, PyObject *args, PyObject *kwargs) {
2959 PyObject * _resultobj;
2960 wxFontMapper * _arg0;
2961 wxWindow * _arg1;
2962 PyObject * _argo0 = 0;
2963 PyObject * _argo1 = 0;
2964 char *_kwnames[] = { "self","parent", NULL };
2965
2966 self = self;
2967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontMapper_SetDialogParent",_kwnames,&_argo0,&_argo1))
2968 return NULL;
2969 if (_argo0) {
2970 if (_argo0 == Py_None) { _arg0 = NULL; }
2971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontMapper_p")) {
2972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontMapper_SetDialogParent. Expected _wxFontMapper_p.");
2973 return NULL;
2974 }
2975 }
2976 if (_argo1) {
2977 if (_argo1 == Py_None) { _arg1 = NULL; }
2978 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2979 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontMapper_SetDialogParent. Expected _wxWindow_p.");
2980 return NULL;
2981 }
2982 }
2983{
2984 wxPy_BEGIN_ALLOW_THREADS;
2985 wxFontMapper_SetDialogParent(_arg0,_arg1);
2986
2987 wxPy_END_ALLOW_THREADS;
2988 if (PyErr_Occurred()) return NULL;
2989} Py_INCREF(Py_None);
2990 _resultobj = Py_None;
2991 return _resultobj;
2992}
2993
2994#define wxFontMapper_SetDialogTitle(_swigobj,_swigarg0) (_swigobj->SetDialogTitle(_swigarg0))
2995static PyObject *_wrap_wxFontMapper_SetDialogTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2996 PyObject * _resultobj;
2997 wxFontMapper * _arg0;
2998 wxString * _arg1;
2999 PyObject * _argo0 = 0;
3000 PyObject * _obj1 = 0;
3001 char *_kwnames[] = { "self","title", NULL };
3002
3003 self = self;
3004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontMapper_SetDialogTitle",_kwnames,&_argo0,&_obj1))
3005 return NULL;
3006 if (_argo0) {
3007 if (_argo0 == Py_None) { _arg0 = NULL; }
3008 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontMapper_p")) {
3009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontMapper_SetDialogTitle. Expected _wxFontMapper_p.");
3010 return NULL;
3011 }
3012 }
3013{
3014#if PYTHON_API_VERSION >= 1009
3015 char* tmpPtr; int tmpSize;
3016 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
3017 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3018 return NULL;
3019 }
3020 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3021 return NULL;
3022 _arg1 = new wxString(tmpPtr, tmpSize);
3023#else
3024 if (!PyString_Check(_obj1)) {
3025 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3026 return NULL;
3027 }
3028 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3029#endif
3030}
3031{
3032 wxPy_BEGIN_ALLOW_THREADS;
3033 wxFontMapper_SetDialogTitle(_arg0,*_arg1);
3034
3035 wxPy_END_ALLOW_THREADS;
3036 if (PyErr_Occurred()) return NULL;
3037} Py_INCREF(Py_None);
3038 _resultobj = Py_None;
3039{
3040 if (_obj1)
3041 delete _arg1;
3042}
3043 return _resultobj;
3044}
3045
3046#define wxFontMapper_SetConfig(_swigobj,_swigarg0) (_swigobj->SetConfig(_swigarg0))
3047static PyObject *_wrap_wxFontMapper_SetConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
3048 PyObject * _resultobj;
3049 wxFontMapper * _arg0;
3050 wxConfigBase * _arg1;
3051 PyObject * _argo0 = 0;
3052 PyObject * _argo1 = 0;
3053 char *_kwnames[] = { "self","config", NULL };
3054
3055 self = self;
3056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontMapper_SetConfig",_kwnames,&_argo0,&_argo1))
3057 return NULL;
3058 if (_argo0) {
3059 if (_argo0 == Py_None) { _arg0 = NULL; }
3060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontMapper_p")) {
3061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontMapper_SetConfig. Expected _wxFontMapper_p.");
3062 return NULL;
3063 }
3064 }
3065 if (_argo1) {
3066 if (_argo1 == Py_None) { _arg1 = NULL; }
3067 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
3068 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontMapper_SetConfig. Expected _wxConfigBase_p.");
3069 return NULL;
3070 }
3071 }
3072{
3073 wxPy_BEGIN_ALLOW_THREADS;
3074 wxFontMapper_SetConfig(_arg0,_arg1);
3075
3076 wxPy_END_ALLOW_THREADS;
3077 if (PyErr_Occurred()) return NULL;
3078} Py_INCREF(Py_None);
3079 _resultobj = Py_None;
3080 return _resultobj;
3081}
3082
3083#define wxFontMapper_SetConfigPath(_swigobj,_swigarg0) (_swigobj->SetConfigPath(_swigarg0))
3084static PyObject *_wrap_wxFontMapper_SetConfigPath(PyObject *self, PyObject *args, PyObject *kwargs) {
3085 PyObject * _resultobj;
3086 wxFontMapper * _arg0;
3087 wxString * _arg1;
3088 PyObject * _argo0 = 0;
3089 PyObject * _obj1 = 0;
3090 char *_kwnames[] = { "self","prefix", NULL };
3091
3092 self = self;
3093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontMapper_SetConfigPath",_kwnames,&_argo0,&_obj1))
3094 return NULL;
3095 if (_argo0) {
3096 if (_argo0 == Py_None) { _arg0 = NULL; }
3097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontMapper_p")) {
3098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontMapper_SetConfigPath. Expected _wxFontMapper_p.");
3099 return NULL;
3100 }
3101 }
3102{
3103#if PYTHON_API_VERSION >= 1009
3104 char* tmpPtr; int tmpSize;
3105 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
3106 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3107 return NULL;
3108 }
3109 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3110 return NULL;
3111 _arg1 = new wxString(tmpPtr, tmpSize);
3112#else
3113 if (!PyString_Check(_obj1)) {
3114 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3115 return NULL;
3116 }
3117 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3118#endif
3119}
3120{
3121 wxPy_BEGIN_ALLOW_THREADS;
3122 wxFontMapper_SetConfigPath(_arg0,*_arg1);
3123
3124 wxPy_END_ALLOW_THREADS;
3125 if (PyErr_Occurred()) return NULL;
3126} Py_INCREF(Py_None);
3127 _resultobj = Py_None;
3128{
3129 if (_obj1)
3130 delete _arg1;
3131}
3132 return _resultobj;
3133}
3134
3135static PyObject *_wrap_wxFontMapper_GetDefaultConfigPath(PyObject *self, PyObject *args, PyObject *kwargs) {
3136 PyObject * _resultobj;
3137 wxChar * _result;
3138 char *_kwnames[] = { NULL };
3139
3140 self = self;
3141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxFontMapper_GetDefaultConfigPath",_kwnames))
3142 return NULL;
3143{
3144 wxPy_BEGIN_ALLOW_THREADS;
3145 _result = (wxChar *)wxFontMapper::GetDefaultConfigPath();
3146
3147 wxPy_END_ALLOW_THREADS;
3148 if (PyErr_Occurred()) return NULL;
3149} _resultobj = Py_BuildValue("s", _result);
3150 return _resultobj;
3151}
3152
3153static void *SwigwxFontTowxGDIObject(void *ptr) {
3154 wxFont *src;
3155 wxGDIObject *dest;
3156 src = (wxFont *) ptr;
3157 dest = (wxGDIObject *) src;
3158 return (void *) dest;
3159}
3160
3161static void *SwigwxFontTowxObject(void *ptr) {
3162 wxFont *src;
3163 wxObject *dest;
3164 src = (wxFont *) ptr;
3165 dest = (wxObject *) src;
3166 return (void *) dest;
3167}
3168
3169#define new_wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3170static PyObject *_wrap_new_wxFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3171 PyObject * _resultobj;
3172 wxFont * _result;
3173 int _arg0;
3174 int _arg1;
3175 int _arg2;
3176 int _arg3;
3177 int _arg4 = (int ) FALSE;
3178 char * _arg5 = (char *) "";
3179 wxFontEncoding _arg6 = (wxFontEncoding ) (wxFONTENCODING_DEFAULT);
3180 char *_kwnames[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL };
3181 char _ptemp[128];
3182
3183 self = self;
3184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiii|isi:new_wxFont",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
3185 return NULL;
3186{
3187 wxPy_BEGIN_ALLOW_THREADS;
3188 _result = (wxFont *)new_wxFont(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3189
3190 wxPy_END_ALLOW_THREADS;
3191 if (PyErr_Occurred()) return NULL;
3192} if (_result) {
3193 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
3194 _resultobj = Py_BuildValue("s",_ptemp);
3195 } else {
3196 Py_INCREF(Py_None);
3197 _resultobj = Py_None;
3198 }
3199 return _resultobj;
3200}
3201
3202#define new_wxFontFromNativeInfo(_swigarg0) (new wxFont(_swigarg0))
3203static PyObject *_wrap_new_wxFontFromNativeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3204 PyObject * _resultobj;
3205 wxFont * _result;
3206 wxNativeFontInfo * _arg0;
3207 PyObject * _argo0 = 0;
3208 char *_kwnames[] = { "info", NULL };
3209 char _ptemp[128];
3210
3211 self = self;
3212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxFontFromNativeInfo",_kwnames,&_argo0))
3213 return NULL;
3214 if (_argo0) {
3215 if (_argo0 == Py_None) { _arg0 = NULL; }
3216 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
3217 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFontFromNativeInfo. Expected _wxNativeFontInfo_p.");
3218 return NULL;
3219 }
3220 }
3221{
3222 wxPy_BEGIN_ALLOW_THREADS;
3223 _result = (wxFont *)new_wxFontFromNativeInfo(*_arg0);
3224
3225 wxPy_END_ALLOW_THREADS;
3226 if (PyErr_Occurred()) return NULL;
3227} if (_result) {
3228 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
3229 _resultobj = Py_BuildValue("s",_ptemp);
3230 } else {
3231 Py_INCREF(Py_None);
3232 _resultobj = Py_None;
3233 }
3234 return _resultobj;
3235}
3236
3237#define delete_wxFont(_swigobj) (delete _swigobj)
3238static PyObject *_wrap_delete_wxFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3239 PyObject * _resultobj;
3240 wxFont * _arg0;
3241 PyObject * _argo0 = 0;
3242 char *_kwnames[] = { "self", NULL };
3243
3244 self = self;
3245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFont",_kwnames,&_argo0))
3246 return NULL;
3247 if (_argo0) {
3248 if (_argo0 == Py_None) { _arg0 = NULL; }
3249 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
3250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFont. Expected _wxFont_p.");
3251 return NULL;
3252 }
3253 }
3254{
3255 wxPy_BEGIN_ALLOW_THREADS;
3256 delete_wxFont(_arg0);
3257
3258 wxPy_END_ALLOW_THREADS;
3259 if (PyErr_Occurred()) return NULL;
3260} Py_INCREF(Py_None);
3261 _resultobj = Py_None;
3262 return _resultobj;
3263}
3264
3265#define wxFont_Ok(_swigobj) (_swigobj->Ok())
3266static PyObject *_wrap_wxFont_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
3267 PyObject * _resultobj;
3268 bool _result;
3269 wxFont * _arg0;
3270 PyObject * _argo0 = 0;
3271 char *_kwnames[] = { "self", NULL };
3272
3273 self = self;
3274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_Ok",_kwnames,&_argo0))
3275 return NULL;
3276 if (_argo0) {
3277 if (_argo0 == Py_None) { _arg0 = NULL; }
3278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
3279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
3280 return NULL;
3281 }
3282 }
3283{
3284 wxPy_BEGIN_ALLOW_THREADS;
3285 _result = (bool )wxFont_Ok(_arg0);
3286
3287 wxPy_END_ALLOW_THREADS;
3288 if (PyErr_Occurred()) return NULL;
3289} _resultobj = Py_BuildValue("i",_result);
3290 return _resultobj;
3291}
3292
3293#define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
3294static PyObject *_wrap_wxFont_GetPointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3295 PyObject * _resultobj;
3296 int _result;
3297 wxFont * _arg0;
3298 PyObject * _argo0 = 0;
3299 char *_kwnames[] = { "self", NULL };
3300
3301 self = self;
3302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetPointSize",_kwnames,&_argo0))
3303 return NULL;
3304 if (_argo0) {
3305 if (_argo0 == Py_None) { _arg0 = NULL; }
3306 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
3307 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
3308 return NULL;
3309 }
3310 }
3311{
3312 wxPy_BEGIN_ALLOW_THREADS;
3313 _result = (int )wxFont_GetPointSize(_arg0);
3314
3315 wxPy_END_ALLOW_THREADS;
3316 if (PyErr_Occurred()) return NULL;
3317} _resultobj = Py_BuildValue("i",_result);
3318 return _resultobj;
3319}
3320
3321#define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
3322static PyObject *_wrap_wxFont_GetFamily(PyObject *self, PyObject *args, PyObject *kwargs) {
3323 PyObject * _resultobj;
3324 int _result;
3325 wxFont * _arg0;
3326 PyObject * _argo0 = 0;
3327 char *_kwnames[] = { "self", NULL };
3328
3329 self = self;
3330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetFamily",_kwnames,&_argo0))
3331 return NULL;
3332 if (_argo0) {
3333 if (_argo0 == Py_None) { _arg0 = NULL; }
3334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
3335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
3336 return NULL;
3337 }
3338 }
3339{
3340 wxPy_BEGIN_ALLOW_THREADS;
3341 _result = (int )wxFont_GetFamily(_arg0);
3342
3343 wxPy_END_ALLOW_THREADS;
3344 if (PyErr_Occurred()) return NULL;
3345} _resultobj = Py_BuildValue("i",_result);
3346 return _resultobj;
3347}
3348
3349#define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
3350static PyObject *_wrap_wxFont_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3351 PyObject * _resultobj;
3352 int _result;
3353 wxFont * _arg0;
3354 PyObject * _argo0 = 0;
3355 char *_kwnames[] = { "self", NULL };
3356
3357 self = self;
3358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetStyle",_kwnames,&_argo0))
3359 return NULL;
3360 if (_argo0) {
3361 if (_argo0 == Py_None) { _arg0 = NULL; }
3362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
3363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
3364 return NULL;
3365 }
3366 }
3367{
3368 wxPy_BEGIN_ALLOW_THREADS;
3369 _result = (int )wxFont_GetStyle(_arg0);
3370
3371 wxPy_END_ALLOW_THREADS;
3372 if (PyErr_Occurred()) return NULL;
3373} _resultobj = Py_BuildValue("i",_result);
3374 return _resultobj;
3375}
3376
3377#define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
3378static PyObject *_wrap_wxFont_GetWeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3379 PyObject * _resultobj;
3380 int _result;
3381 wxFont * _arg0;
3382 PyObject * _argo0 = 0;
3383 char *_kwnames[] = { "self", NULL };
3384
3385 self = self;
3386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetWeight",_kwnames,&_argo0))
3387 return NULL;
3388 if (_argo0) {
3389 if (_argo0 == Py_None) { _arg0 = NULL; }
3390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
3391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
3392 return NULL;
3393 }
3394 }
3395{
3396 wxPy_BEGIN_ALLOW_THREADS;
3397 _result = (int )wxFont_GetWeight(_arg0);
3398
3399 wxPy_END_ALLOW_THREADS;
3400 if (PyErr_Occurred()) return NULL;
3401} _resultobj = Py_BuildValue("i",_result);
3402 return _resultobj;
3403}
3404
3405#define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
3406static PyObject *_wrap_wxFont_GetUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
3407 PyObject * _resultobj;
3408 bool _result;
3409 wxFont * _arg0;
3410 PyObject * _argo0 = 0;
3411 char *_kwnames[] = { "self", NULL };
3412
3413 self = self;
3414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetUnderlined",_kwnames,&_argo0))
3415 return NULL;
3416 if (_argo0) {
3417 if (_argo0 == Py_None) { _arg0 = NULL; }
3418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
3419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
3420 return NULL;
3421 }
3422 }
3423{
3424 wxPy_BEGIN_ALLOW_THREADS;
3425 _result = (bool )wxFont_GetUnderlined(_arg0);
3426
3427 wxPy_END_ALLOW_THREADS;
3428 if (PyErr_Occurred()) return NULL;
ab9bc19b 3429} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3430 return _resultobj;
3431}
3432
059a841c
RD
3433#define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
3434static PyObject *_wrap_wxFont_GetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
3435 PyObject * _resultobj;
3436 wxString * _result;
3437 wxFont * _arg0;
3438 PyObject * _argo0 = 0;
3439 char *_kwnames[] = { "self", NULL };
3440
3441 self = self;
3442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetFaceName",_kwnames,&_argo0))
3443 return NULL;
3444 if (_argo0) {
3445 if (_argo0 == Py_None) { _arg0 = NULL; }
3446 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
3447 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
3448 return NULL;
3449 }
3450 }
3451{
3452 wxPy_BEGIN_ALLOW_THREADS;
3453 _result = new wxString (wxFont_GetFaceName(_arg0));
3454
3455 wxPy_END_ALLOW_THREADS;
3456 if (PyErr_Occurred()) return NULL;
3457}{
3458 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3459}
3460{
3461 delete _result;
3462}
3463 return _resultobj;
3464}
3465
3466#define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
3467static PyObject *_wrap_wxFont_GetEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 3468 PyObject * _resultobj;
059a841c 3469 wxFontEncoding _result;
70551f47 3470 wxFont * _arg0;
2d091820 3471 PyObject * _argo0 = 0;
107e4716 3472 char *_kwnames[] = { "self", NULL };
70551f47
RD
3473
3474 self = self;
059a841c 3475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetEncoding",_kwnames,&_argo0))
70551f47 3476 return NULL;
2d091820
RD
3477 if (_argo0) {
3478 if (_argo0 == Py_None) { _arg0 = NULL; }
3479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
059a841c 3480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
70551f47
RD
3481 return NULL;
3482 }
3483 }
ab9bc19b
RD
3484{
3485 wxPy_BEGIN_ALLOW_THREADS;
059a841c 3486 _result = (wxFontEncoding )wxFont_GetEncoding(_arg0);
ab9bc19b
RD
3487
3488 wxPy_END_ALLOW_THREADS;
4dfaa61e 3489 if (PyErr_Occurred()) return NULL;
ab9bc19b 3490} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3491 return _resultobj;
3492}
3493
059a841c
RD
3494#define wxFont_GetNativeFontInfo(_swigobj) (_swigobj->GetNativeFontInfo())
3495static PyObject *_wrap_wxFont_GetNativeFontInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 3496 PyObject * _resultobj;
059a841c 3497 wxNativeFontInfo * _result;
70551f47 3498 wxFont * _arg0;
2d091820 3499 PyObject * _argo0 = 0;
107e4716 3500 char *_kwnames[] = { "self", NULL };
059a841c 3501 char _ptemp[128];
70551f47
RD
3502
3503 self = self;
059a841c 3504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetNativeFontInfo",_kwnames,&_argo0))
70551f47 3505 return NULL;
2d091820
RD
3506 if (_argo0) {
3507 if (_argo0 == Py_None) { _arg0 = NULL; }
3508 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
059a841c 3509 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetNativeFontInfo. Expected _wxFont_p.");
70551f47
RD
3510 return NULL;
3511 }
3512 }
ab9bc19b
RD
3513{
3514 wxPy_BEGIN_ALLOW_THREADS;
059a841c 3515 _result = (wxNativeFontInfo *)wxFont_GetNativeFontInfo(_arg0);
ab9bc19b
RD
3516
3517 wxPy_END_ALLOW_THREADS;
4dfaa61e 3518 if (PyErr_Occurred()) return NULL;
059a841c
RD
3519} if (_result) {
3520 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNativeFontInfo_p");
3521 _resultobj = Py_BuildValue("s",_ptemp);
3522 } else {
3523 Py_INCREF(Py_None);
3524 _resultobj = Py_None;
3525 }
70551f47
RD
3526 return _resultobj;
3527}
3528
059a841c
RD
3529#define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
3530static PyObject *_wrap_wxFont_SetPointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
134d79dc 3531 PyObject * _resultobj;
134d79dc 3532 wxFont * _arg0;
059a841c 3533 int _arg1;
134d79dc 3534 PyObject * _argo0 = 0;
059a841c 3535 char *_kwnames[] = { "self","pointSize", NULL };
134d79dc
RD
3536
3537 self = self;
059a841c 3538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFont_SetPointSize",_kwnames,&_argo0,&_arg1))
134d79dc
RD
3539 return NULL;
3540 if (_argo0) {
3541 if (_argo0 == Py_None) { _arg0 = NULL; }
3542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
059a841c 3543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
134d79dc
RD
3544 return NULL;
3545 }
3546 }
3547{
3548 wxPy_BEGIN_ALLOW_THREADS;
059a841c 3549 wxFont_SetPointSize(_arg0,_arg1);
134d79dc
RD
3550
3551 wxPy_END_ALLOW_THREADS;
4dfaa61e 3552 if (PyErr_Occurred()) return NULL;
059a841c
RD
3553} Py_INCREF(Py_None);
3554 _resultobj = Py_None;
134d79dc
RD
3555 return _resultobj;
3556}
3557
059a841c
RD
3558#define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
3559static PyObject *_wrap_wxFont_SetFamily(PyObject *self, PyObject *args, PyObject *kwargs) {
d3b4d113
RR
3560 PyObject * _resultobj;
3561 wxFont * _arg0;
059a841c 3562 int _arg1;
2d091820 3563 PyObject * _argo0 = 0;
059a841c 3564 char *_kwnames[] = { "self","family", NULL };
d3b4d113
RR
3565
3566 self = self;
059a841c 3567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFont_SetFamily",_kwnames,&_argo0,&_arg1))
d3b4d113 3568 return NULL;
2d091820
RD
3569 if (_argo0) {
3570 if (_argo0 == Py_None) { _arg0 = NULL; }
3571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
059a841c 3572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
d3b4d113
RR
3573 return NULL;
3574 }
3575 }
ab9bc19b
RD
3576{
3577 wxPy_BEGIN_ALLOW_THREADS;
059a841c 3578 wxFont_SetFamily(_arg0,_arg1);
ab9bc19b
RD
3579
3580 wxPy_END_ALLOW_THREADS;
4dfaa61e 3581 if (PyErr_Occurred()) return NULL;
ab9bc19b 3582} Py_INCREF(Py_None);
d3b4d113 3583 _resultobj = Py_None;
d3b4d113
RR
3584 return _resultobj;
3585}
3586
059a841c
RD
3587#define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3588static PyObject *_wrap_wxFont_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
d3b4d113
RR
3589 PyObject * _resultobj;
3590 wxFont * _arg0;
3591 int _arg1;
2d091820 3592 PyObject * _argo0 = 0;
059a841c 3593 char *_kwnames[] = { "self","style", NULL };
d3b4d113
RR
3594
3595 self = self;
059a841c 3596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFont_SetStyle",_kwnames,&_argo0,&_arg1))
d3b4d113 3597 return NULL;
2d091820
RD
3598 if (_argo0) {
3599 if (_argo0 == Py_None) { _arg0 = NULL; }
3600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
059a841c 3601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
d3b4d113
RR
3602 return NULL;
3603 }
3604 }
ab9bc19b
RD
3605{
3606 wxPy_BEGIN_ALLOW_THREADS;
059a841c 3607 wxFont_SetStyle(_arg0,_arg1);
ab9bc19b
RD
3608
3609 wxPy_END_ALLOW_THREADS;
4dfaa61e 3610 if (PyErr_Occurred()) return NULL;
ab9bc19b 3611} Py_INCREF(Py_None);
d3b4d113
RR
3612 _resultobj = Py_None;
3613 return _resultobj;
3614}
3615
059a841c
RD
3616#define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
3617static PyObject *_wrap_wxFont_SetWeight(PyObject *self, PyObject *args, PyObject *kwargs) {
d3b4d113
RR
3618 PyObject * _resultobj;
3619 wxFont * _arg0;
3620 int _arg1;
2d091820 3621 PyObject * _argo0 = 0;
059a841c 3622 char *_kwnames[] = { "self","weight", NULL };
d3b4d113
RR
3623
3624 self = self;
059a841c 3625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFont_SetWeight",_kwnames,&_argo0,&_arg1))
d3b4d113 3626 return NULL;
2d091820
RD
3627 if (_argo0) {
3628 if (_argo0 == Py_None) { _arg0 = NULL; }
3629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
059a841c 3630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
d3b4d113
RR
3631 return NULL;
3632 }
3633 }
ab9bc19b
RD
3634{
3635 wxPy_BEGIN_ALLOW_THREADS;
059a841c 3636 wxFont_SetWeight(_arg0,_arg1);
ab9bc19b
RD
3637
3638 wxPy_END_ALLOW_THREADS;
4dfaa61e 3639 if (PyErr_Occurred()) return NULL;
ab9bc19b 3640} Py_INCREF(Py_None);
d3b4d113
RR
3641 _resultobj = Py_None;
3642 return _resultobj;
3643}
3644
059a841c
RD
3645#define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
3646static PyObject *_wrap_wxFont_SetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
d3b4d113
RR
3647 PyObject * _resultobj;
3648 wxFont * _arg0;
059a841c 3649 wxString * _arg1;
2d091820 3650 PyObject * _argo0 = 0;
059a841c
RD
3651 PyObject * _obj1 = 0;
3652 char *_kwnames[] = { "self","faceName", NULL };
d3b4d113
RR
3653
3654 self = self;
059a841c 3655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFont_SetFaceName",_kwnames,&_argo0,&_obj1))
d3b4d113 3656 return NULL;
2d091820
RD
3657 if (_argo0) {
3658 if (_argo0 == Py_None) { _arg0 = NULL; }
3659 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
059a841c 3660 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
d3b4d113
RR
3661 return NULL;
3662 }
3663 }
059a841c
RD
3664{
3665#if PYTHON_API_VERSION >= 1009
3666 char* tmpPtr; int tmpSize;
3667 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
3668 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3669 return NULL;
3670 }
3671 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3672 return NULL;
3673 _arg1 = new wxString(tmpPtr, tmpSize);
3674#else
3675 if (!PyString_Check(_obj1)) {
3676 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3677 return NULL;
3678 }
3679 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3680#endif
3681}
ab9bc19b
RD
3682{
3683 wxPy_BEGIN_ALLOW_THREADS;
059a841c 3684 wxFont_SetFaceName(_arg0,*_arg1);
ab9bc19b
RD
3685
3686 wxPy_END_ALLOW_THREADS;
4dfaa61e 3687 if (PyErr_Occurred()) return NULL;
ab9bc19b 3688} Py_INCREF(Py_None);
d3b4d113 3689 _resultobj = Py_None;
059a841c
RD
3690{
3691 if (_obj1)
3692 delete _arg1;
3693}
d3b4d113
RR
3694 return _resultobj;
3695}
3696
3697#define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
107e4716 3698static PyObject *_wrap_wxFont_SetUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
d3b4d113
RR
3699 PyObject * _resultobj;
3700 wxFont * _arg0;
3701 bool _arg1;
2d091820 3702 PyObject * _argo0 = 0;
d3b4d113 3703 int tempbool1;
107e4716 3704 char *_kwnames[] = { "self","underlined", NULL };
d3b4d113
RR
3705
3706 self = self;
107e4716 3707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFont_SetUnderlined",_kwnames,&_argo0,&tempbool1))
d3b4d113 3708 return NULL;
2d091820
RD
3709 if (_argo0) {
3710 if (_argo0 == Py_None) { _arg0 = NULL; }
3711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
d3b4d113
RR
3712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
3713 return NULL;
3714 }
3715 }
3716 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
3717{
3718 wxPy_BEGIN_ALLOW_THREADS;
3719 wxFont_SetUnderlined(_arg0,_arg1);
3720
3721 wxPy_END_ALLOW_THREADS;
4dfaa61e 3722 if (PyErr_Occurred()) return NULL;
ab9bc19b 3723} Py_INCREF(Py_None);
d3b4d113
RR
3724 _resultobj = Py_None;
3725 return _resultobj;
3726}
3727
059a841c
RD
3728#define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
3729static PyObject *_wrap_wxFont_SetEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
d3b4d113
RR
3730 PyObject * _resultobj;
3731 wxFont * _arg0;
059a841c 3732 wxFontEncoding _arg1;
2d091820 3733 PyObject * _argo0 = 0;
059a841c 3734 char *_kwnames[] = { "self","encoding", NULL };
d3b4d113
RR
3735
3736 self = self;
059a841c 3737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFont_SetEncoding",_kwnames,&_argo0,&_arg1))
d3b4d113 3738 return NULL;
2d091820
RD
3739 if (_argo0) {
3740 if (_argo0 == Py_None) { _arg0 = NULL; }
3741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
059a841c 3742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
d3b4d113
RR
3743 return NULL;
3744 }
3745 }
ab9bc19b
RD
3746{
3747 wxPy_BEGIN_ALLOW_THREADS;
059a841c 3748 wxFont_SetEncoding(_arg0,_arg1);
ab9bc19b
RD
3749
3750 wxPy_END_ALLOW_THREADS;
4dfaa61e 3751 if (PyErr_Occurred()) return NULL;
ab9bc19b 3752} Py_INCREF(Py_None);
d3b4d113
RR
3753 _resultobj = Py_None;
3754 return _resultobj;
3755}
3756
059a841c
RD
3757#define wxFont_SetNativeFontInfo(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfo(_swigarg0))
3758static PyObject *_wrap_wxFont_SetNativeFontInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
134d79dc
RD
3759 PyObject * _resultobj;
3760 wxFont * _arg0;
059a841c 3761 wxNativeFontInfo * _arg1;
134d79dc 3762 PyObject * _argo0 = 0;
059a841c
RD
3763 PyObject * _argo1 = 0;
3764 char *_kwnames[] = { "self","info", NULL };
134d79dc
RD
3765
3766 self = self;
059a841c 3767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFont_SetNativeFontInfo",_kwnames,&_argo0,&_argo1))
134d79dc
RD
3768 return NULL;
3769 if (_argo0) {
3770 if (_argo0 == Py_None) { _arg0 = NULL; }
3771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
059a841c
RD
3772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetNativeFontInfo. Expected _wxFont_p.");
3773 return NULL;
3774 }
3775 }
3776 if (_argo1) {
3777 if (_argo1 == Py_None) { _arg1 = NULL; }
3778 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxNativeFontInfo_p")) {
3779 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFont_SetNativeFontInfo. Expected _wxNativeFontInfo_p.");
134d79dc
RD
3780 return NULL;
3781 }
3782 }
3783{
3784 wxPy_BEGIN_ALLOW_THREADS;
059a841c 3785 wxFont_SetNativeFontInfo(_arg0,*_arg1);
134d79dc
RD
3786
3787 wxPy_END_ALLOW_THREADS;
4dfaa61e 3788 if (PyErr_Occurred()) return NULL;
134d79dc
RD
3789} Py_INCREF(Py_None);
3790 _resultobj = Py_None;
3791 return _resultobj;
3792}
3793
3794#define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
3795static PyObject *_wrap_wxFont_GetFamilyString(PyObject *self, PyObject *args, PyObject *kwargs) {
3796 PyObject * _resultobj;
3797 wxString * _result;
3798 wxFont * _arg0;
3799 PyObject * _argo0 = 0;
3800 char *_kwnames[] = { "self", NULL };
3801
3802 self = self;
3803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetFamilyString",_kwnames,&_argo0))
3804 return NULL;
3805 if (_argo0) {
3806 if (_argo0 == Py_None) { _arg0 = NULL; }
3807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
3808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
3809 return NULL;
3810 }
3811 }
3812{
3813 wxPy_BEGIN_ALLOW_THREADS;
3814 _result = new wxString (wxFont_GetFamilyString(_arg0));
3815
3816 wxPy_END_ALLOW_THREADS;
4dfaa61e 3817 if (PyErr_Occurred()) return NULL;
134d79dc 3818}{
e02c03a4 3819 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
134d79dc
RD
3820}
3821{
3822 delete _result;
3823}
3824 return _resultobj;
3825}
3826
3827#define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
3828static PyObject *_wrap_wxFont_GetStyleString(PyObject *self, PyObject *args, PyObject *kwargs) {
3829 PyObject * _resultobj;
3830 wxString * _result;
3831 wxFont * _arg0;
3832 PyObject * _argo0 = 0;
3833 char *_kwnames[] = { "self", NULL };
3834
3835 self = self;
3836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetStyleString",_kwnames,&_argo0))
3837 return NULL;
3838 if (_argo0) {
3839 if (_argo0 == Py_None) { _arg0 = NULL; }
3840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
3841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
3842 return NULL;
3843 }
3844 }
3845{
3846 wxPy_BEGIN_ALLOW_THREADS;
3847 _result = new wxString (wxFont_GetStyleString(_arg0));
3848
3849 wxPy_END_ALLOW_THREADS;
4dfaa61e 3850 if (PyErr_Occurred()) return NULL;
134d79dc 3851}{
e02c03a4 3852 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
134d79dc
RD
3853}
3854{
3855 delete _result;
3856}
3857 return _resultobj;
3858}
3859
3860#define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
3861static PyObject *_wrap_wxFont_GetWeightString(PyObject *self, PyObject *args, PyObject *kwargs) {
3862 PyObject * _resultobj;
3863 wxString * _result;
3864 wxFont * _arg0;
3865 PyObject * _argo0 = 0;
3866 char *_kwnames[] = { "self", NULL };
3867
3868 self = self;
3869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetWeightString",_kwnames,&_argo0))
3870 return NULL;
3871 if (_argo0) {
3872 if (_argo0 == Py_None) { _arg0 = NULL; }
3873 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
3874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
3875 return NULL;
3876 }
3877 }
3878{
3879 wxPy_BEGIN_ALLOW_THREADS;
3880 _result = new wxString (wxFont_GetWeightString(_arg0));
3881
3882 wxPy_END_ALLOW_THREADS;
4dfaa61e 3883 if (PyErr_Occurred()) return NULL;
134d79dc 3884}{
e02c03a4 3885 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
134d79dc
RD
3886}
3887{
3888 delete _result;
3889}
3890 return _resultobj;
3891}
3892
059a841c
RD
3893static PyObject *_wrap_wxFont_GetDefaultEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
3894 PyObject * _resultobj;
3895 wxFontEncoding _result;
3896 char *_kwnames[] = { NULL };
3897
3898 self = self;
3899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxFont_GetDefaultEncoding",_kwnames))
3900 return NULL;
3901{
3902 wxPy_BEGIN_ALLOW_THREADS;
3903 _result = (wxFontEncoding )wxFont::GetDefaultEncoding();
3904
3905 wxPy_END_ALLOW_THREADS;
3906 if (PyErr_Occurred()) return NULL;
3907} _resultobj = Py_BuildValue("i",_result);
3908 return _resultobj;
3909}
3910
3911static PyObject *_wrap_wxFont_SetDefaultEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
3912 PyObject * _resultobj;
3913 wxFontEncoding _arg0;
3914 char *_kwnames[] = { "encoding", NULL };
3915
3916 self = self;
3917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxFont_SetDefaultEncoding",_kwnames,&_arg0))
3918 return NULL;
3919{
3920 wxPy_BEGIN_ALLOW_THREADS;
3921 wxFont::SetDefaultEncoding(_arg0);
3922
3923 wxPy_END_ALLOW_THREADS;
3924 if (PyErr_Occurred()) return NULL;
3925} Py_INCREF(Py_None);
3926 _resultobj = Py_None;
3927 return _resultobj;
3928}
3929
9df61a29
RD
3930static void *SwigwxFontListTowxObject(void *ptr) {
3931 wxFontList *src;
3932 wxObject *dest;
3933 src = (wxFontList *) ptr;
3934 dest = (wxObject *) src;
3935 return (void *) dest;
3936}
3937
5e40f9dd
RD
3938#define wxFontList_AddFont(_swigobj,_swigarg0) (_swigobj->AddFont(_swigarg0))
3939static PyObject *_wrap_wxFontList_AddFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3940 PyObject * _resultobj;
3941 wxFontList * _arg0;
3942 wxFont * _arg1;
3943 PyObject * _argo0 = 0;
3944 PyObject * _argo1 = 0;
3945 char *_kwnames[] = { "self","font", NULL };
3946
3947 self = self;
3948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontList_AddFont",_kwnames,&_argo0,&_argo1))
3949 return NULL;
3950 if (_argo0) {
3951 if (_argo0 == Py_None) { _arg0 = NULL; }
3952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontList_p")) {
3953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontList_AddFont. Expected _wxFontList_p.");
3954 return NULL;
3955 }
3956 }
3957 if (_argo1) {
3958 if (_argo1 == Py_None) { _arg1 = NULL; }
3959 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
3960 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontList_AddFont. Expected _wxFont_p.");
3961 return NULL;
3962 }
3963 }
3964{
3965 wxPy_BEGIN_ALLOW_THREADS;
3966 wxFontList_AddFont(_arg0,_arg1);
3967
3968 wxPy_END_ALLOW_THREADS;
4dfaa61e 3969 if (PyErr_Occurred()) return NULL;
5e40f9dd
RD
3970} Py_INCREF(Py_None);
3971 _resultobj = Py_None;
3972 return _resultobj;
3973}
3974
3975#define wxFontList_FindOrCreateFont(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FindOrCreateFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3976static PyObject *_wrap_wxFontList_FindOrCreateFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3977 PyObject * _resultobj;
3978 wxFont * _result;
3979 wxFontList * _arg0;
3980 int _arg1;
3981 int _arg2;
3982 int _arg3;
3983 int _arg4;
3984 bool _arg5 = (bool ) FALSE;
3985 char * _arg6 = (char *) NULL;
3986 wxFontEncoding _arg7 = (wxFontEncoding ) (wxFONTENCODING_DEFAULT);
3987 PyObject * _argo0 = 0;
3988 int tempbool5 = (int) FALSE;
3989 char *_kwnames[] = { "self","point_size","family","style","weight","underline","facename","encoding", NULL };
3990 char _ptemp[128];
3991
3992 self = self;
3993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|isi:wxFontList_FindOrCreateFont",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5,&_arg6,&_arg7))
3994 return NULL;
3995 if (_argo0) {
3996 if (_argo0 == Py_None) { _arg0 = NULL; }
3997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontList_p")) {
3998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontList_FindOrCreateFont. Expected _wxFontList_p.");
3999 return NULL;
4000 }
4001 }
4002 _arg5 = (bool ) tempbool5;
4003{
4004 wxPy_BEGIN_ALLOW_THREADS;
4005 _result = (wxFont *)wxFontList_FindOrCreateFont(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7);
4006
4007 wxPy_END_ALLOW_THREADS;
4dfaa61e 4008 if (PyErr_Occurred()) return NULL;
5e40f9dd
RD
4009} if (_result) {
4010 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
4011 _resultobj = Py_BuildValue("s",_ptemp);
4012 } else {
4013 Py_INCREF(Py_None);
4014 _resultobj = Py_None;
4015 }
4016 return _resultobj;
4017}
4018
4019#define wxFontList_RemoveFont(_swigobj,_swigarg0) (_swigobj->RemoveFont(_swigarg0))
4020static PyObject *_wrap_wxFontList_RemoveFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4021 PyObject * _resultobj;
4022 wxFontList * _arg0;
4023 wxFont * _arg1;
4024 PyObject * _argo0 = 0;
4025 PyObject * _argo1 = 0;
4026 char *_kwnames[] = { "self","font", NULL };
4027
4028 self = self;
4029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontList_RemoveFont",_kwnames,&_argo0,&_argo1))
4030 return NULL;
4031 if (_argo0) {
4032 if (_argo0 == Py_None) { _arg0 = NULL; }
4033 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontList_p")) {
4034 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontList_RemoveFont. Expected _wxFontList_p.");
4035 return NULL;
4036 }
4037 }
4038 if (_argo1) {
4039 if (_argo1 == Py_None) { _arg1 = NULL; }
4040 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
4041 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontList_RemoveFont. Expected _wxFont_p.");
4042 return NULL;
4043 }
4044 }
4045{
4046 wxPy_BEGIN_ALLOW_THREADS;
4047 wxFontList_RemoveFont(_arg0,_arg1);
4048
4049 wxPy_END_ALLOW_THREADS;
4dfaa61e 4050 if (PyErr_Occurred()) return NULL;
5e40f9dd
RD
4051} Py_INCREF(Py_None);
4052 _resultobj = Py_None;
4053 return _resultobj;
4054}
4055
7a9b33db
RD
4056#define wxFontList_GetCount(_swigobj) (_swigobj->GetCount())
4057static PyObject *_wrap_wxFontList_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4058 PyObject * _resultobj;
4059 int _result;
4060 wxFontList * _arg0;
4061 PyObject * _argo0 = 0;
4062 char *_kwnames[] = { "self", NULL };
4063
4064 self = self;
4065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontList_GetCount",_kwnames,&_argo0))
4066 return NULL;
4067 if (_argo0) {
4068 if (_argo0 == Py_None) { _arg0 = NULL; }
4069 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontList_p")) {
4070 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontList_GetCount. Expected _wxFontList_p.");
4071 return NULL;
4072 }
4073 }
4074{
4075 wxPy_BEGIN_ALLOW_THREADS;
4076 _result = (int )wxFontList_GetCount(_arg0);
4077
4078 wxPy_END_ALLOW_THREADS;
4079 if (PyErr_Occurred()) return NULL;
4080} _resultobj = Py_BuildValue("i",_result);
4081 return _resultobj;
4082}
4083
9df61a29
RD
4084static void *SwigwxColourTowxObject(void *ptr) {
4085 wxColour *src;
4086 wxObject *dest;
4087 src = (wxColour *) ptr;
4088 dest = (wxObject *) src;
4089 return (void *) dest;
4090}
4091
70551f47 4092#define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
107e4716 4093static PyObject *_wrap_new_wxColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4094 PyObject * _resultobj;
4095 wxColour * _result;
2d091820
RD
4096 unsigned char _arg0 = (unsigned char ) 0;
4097 unsigned char _arg1 = (unsigned char ) 0;
4098 unsigned char _arg2 = (unsigned char ) 0;
107e4716 4099 char *_kwnames[] = { "red","green","blue", NULL };
70551f47
RD
4100 char _ptemp[128];
4101
4102 self = self;
107e4716 4103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|bbb:new_wxColour",_kwnames,&_arg0,&_arg1,&_arg2))
70551f47 4104 return NULL;
ab9bc19b
RD
4105{
4106 wxPy_BEGIN_ALLOW_THREADS;
4107 _result = (wxColour *)new_wxColour(_arg0,_arg1,_arg2);
4108
4109 wxPy_END_ALLOW_THREADS;
4dfaa61e 4110 if (PyErr_Occurred()) return NULL;
2d091820
RD
4111} if (_result) {
4112 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
4113 _resultobj = Py_BuildValue("s",_ptemp);
4114 } else {
4115 Py_INCREF(Py_None);
4116 _resultobj = Py_None;
4117 }
70551f47
RD
4118 return _resultobj;
4119}
4120
4121#define delete_wxColour(_swigobj) (delete _swigobj)
107e4716 4122static PyObject *_wrap_delete_wxColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4123 PyObject * _resultobj;
4124 wxColour * _arg0;
f6bcfd97
BP
4125 wxColour temp;
4126 PyObject * _obj0 = 0;
107e4716 4127 char *_kwnames[] = { "self", NULL };
70551f47
RD
4128
4129 self = self;
f6bcfd97 4130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxColour",_kwnames,&_obj0))
70551f47 4131 return NULL;
f6bcfd97
BP
4132{
4133 _arg0 = &temp;
4134 if (! wxColour_helper(_obj0, &_arg0))
70551f47 4135 return NULL;
f6bcfd97 4136}
ab9bc19b
RD
4137{
4138 wxPy_BEGIN_ALLOW_THREADS;
4139 delete_wxColour(_arg0);
4140
4141 wxPy_END_ALLOW_THREADS;
4dfaa61e 4142 if (PyErr_Occurred()) return NULL;
ab9bc19b 4143} Py_INCREF(Py_None);
70551f47
RD
4144 _resultobj = Py_None;
4145 return _resultobj;
4146}
4147
4148#define wxColour_Red(_swigobj) (_swigobj->Red())
107e4716 4149static PyObject *_wrap_wxColour_Red(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4150 PyObject * _resultobj;
4151 unsigned char _result;
4152 wxColour * _arg0;
f6bcfd97
BP
4153 wxColour temp;
4154 PyObject * _obj0 = 0;
107e4716 4155 char *_kwnames[] = { "self", NULL };
70551f47
RD
4156
4157 self = self;
f6bcfd97 4158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Red",_kwnames,&_obj0))
70551f47 4159 return NULL;
f6bcfd97
BP
4160{
4161 _arg0 = &temp;
4162 if (! wxColour_helper(_obj0, &_arg0))
70551f47 4163 return NULL;
f6bcfd97 4164}
ab9bc19b
RD
4165{
4166 wxPy_BEGIN_ALLOW_THREADS;
4167 _result = (unsigned char )wxColour_Red(_arg0);
4168
4169 wxPy_END_ALLOW_THREADS;
4dfaa61e 4170 if (PyErr_Occurred()) return NULL;
ab9bc19b 4171} _resultobj = Py_BuildValue("b",_result);
70551f47
RD
4172 return _resultobj;
4173}
4174
4175#define wxColour_Green(_swigobj) (_swigobj->Green())
107e4716 4176static PyObject *_wrap_wxColour_Green(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4177 PyObject * _resultobj;
4178 unsigned char _result;
4179 wxColour * _arg0;
f6bcfd97
BP
4180 wxColour temp;
4181 PyObject * _obj0 = 0;
107e4716 4182 char *_kwnames[] = { "self", NULL };
70551f47
RD
4183
4184 self = self;
f6bcfd97 4185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Green",_kwnames,&_obj0))
70551f47 4186 return NULL;
f6bcfd97
BP
4187{
4188 _arg0 = &temp;
4189 if (! wxColour_helper(_obj0, &_arg0))
70551f47 4190 return NULL;
f6bcfd97 4191}
ab9bc19b
RD
4192{
4193 wxPy_BEGIN_ALLOW_THREADS;
4194 _result = (unsigned char )wxColour_Green(_arg0);
4195
4196 wxPy_END_ALLOW_THREADS;
4dfaa61e 4197 if (PyErr_Occurred()) return NULL;
ab9bc19b 4198} _resultobj = Py_BuildValue("b",_result);
70551f47
RD
4199 return _resultobj;
4200}
4201
4202#define wxColour_Blue(_swigobj) (_swigobj->Blue())
107e4716 4203static PyObject *_wrap_wxColour_Blue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4204 PyObject * _resultobj;
4205 unsigned char _result;
4206 wxColour * _arg0;
f6bcfd97
BP
4207 wxColour temp;
4208 PyObject * _obj0 = 0;
107e4716 4209 char *_kwnames[] = { "self", NULL };
70551f47
RD
4210
4211 self = self;
f6bcfd97 4212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Blue",_kwnames,&_obj0))
70551f47 4213 return NULL;
f6bcfd97
BP
4214{
4215 _arg0 = &temp;
4216 if (! wxColour_helper(_obj0, &_arg0))
70551f47 4217 return NULL;
f6bcfd97 4218}
ab9bc19b
RD
4219{
4220 wxPy_BEGIN_ALLOW_THREADS;
4221 _result = (unsigned char )wxColour_Blue(_arg0);
4222
4223 wxPy_END_ALLOW_THREADS;
4dfaa61e 4224 if (PyErr_Occurred()) return NULL;
ab9bc19b 4225} _resultobj = Py_BuildValue("b",_result);
70551f47
RD
4226 return _resultobj;
4227}
4228
4229#define wxColour_Ok(_swigobj) (_swigobj->Ok())
107e4716 4230static PyObject *_wrap_wxColour_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4231 PyObject * _resultobj;
4232 bool _result;
4233 wxColour * _arg0;
f6bcfd97
BP
4234 wxColour temp;
4235 PyObject * _obj0 = 0;
107e4716 4236 char *_kwnames[] = { "self", NULL };
70551f47
RD
4237
4238 self = self;
f6bcfd97 4239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Ok",_kwnames,&_obj0))
70551f47 4240 return NULL;
f6bcfd97
BP
4241{
4242 _arg0 = &temp;
4243 if (! wxColour_helper(_obj0, &_arg0))
70551f47 4244 return NULL;
f6bcfd97 4245}
ab9bc19b
RD
4246{
4247 wxPy_BEGIN_ALLOW_THREADS;
4248 _result = (bool )wxColour_Ok(_arg0);
4249
4250 wxPy_END_ALLOW_THREADS;
4dfaa61e 4251 if (PyErr_Occurred()) return NULL;
ab9bc19b 4252} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
4253 return _resultobj;
4254}
4255
4256#define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
107e4716 4257static PyObject *_wrap_wxColour_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4258 PyObject * _resultobj;
4259 wxColour * _arg0;
4260 unsigned char _arg1;
4261 unsigned char _arg2;
4262 unsigned char _arg3;
f6bcfd97
BP
4263 wxColour temp;
4264 PyObject * _obj0 = 0;
107e4716 4265 char *_kwnames[] = { "self","red","green","blue", NULL };
70551f47
RD
4266
4267 self = self;
f6bcfd97 4268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Obbb:wxColour_Set",_kwnames,&_obj0,&_arg1,&_arg2,&_arg3))
70551f47 4269 return NULL;
f6bcfd97
BP
4270{
4271 _arg0 = &temp;
4272 if (! wxColour_helper(_obj0, &_arg0))
70551f47 4273 return NULL;
f6bcfd97 4274}
ab9bc19b
RD
4275{
4276 wxPy_BEGIN_ALLOW_THREADS;
4277 wxColour_Set(_arg0,_arg1,_arg2,_arg3);
4278
4279 wxPy_END_ALLOW_THREADS;
4dfaa61e 4280 if (PyErr_Occurred()) return NULL;
ab9bc19b 4281} Py_INCREF(Py_None);
70551f47
RD
4282 _resultobj = Py_None;
4283 return _resultobj;
4284}
4285
4286static PyObject * wxColour_Get(wxColour *self) {
4287 PyObject* rv = PyTuple_New(3);
4288 PyTuple_SetItem(rv, 0, PyInt_FromLong(self->Red()));
4289 PyTuple_SetItem(rv, 1, PyInt_FromLong(self->Green()));
4290 PyTuple_SetItem(rv, 2, PyInt_FromLong(self->Blue()));
4291 return rv;
4292 }
107e4716 4293static PyObject *_wrap_wxColour_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4294 PyObject * _resultobj;
4295 PyObject * _result;
4296 wxColour * _arg0;
f6bcfd97
BP
4297 wxColour temp;
4298 PyObject * _obj0 = 0;
107e4716 4299 char *_kwnames[] = { "self", NULL };
70551f47
RD
4300
4301 self = self;
f6bcfd97 4302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Get",_kwnames,&_obj0))
70551f47 4303 return NULL;
f6bcfd97
BP
4304{
4305 _arg0 = &temp;
4306 if (! wxColour_helper(_obj0, &_arg0))
70551f47 4307 return NULL;
f6bcfd97 4308}
70551f47 4309{
ab9bc19b
RD
4310 wxPy_BEGIN_ALLOW_THREADS;
4311 _result = (PyObject *)wxColour_Get(_arg0);
4312
4313 wxPy_END_ALLOW_THREADS;
4dfaa61e 4314 if (PyErr_Occurred()) return NULL;
ab9bc19b 4315}{
70551f47
RD
4316 _resultobj = _result;
4317}
4318 return _resultobj;
4319}
4320
9df61a29
RD
4321static void *SwigwxColourDatabaseTowxObject(void *ptr) {
4322 wxColourDatabase *src;
4323 wxObject *dest;
4324 src = (wxColourDatabase *) ptr;
4325 dest = (wxObject *) src;
4326 return (void *) dest;
4327}
4328
5e40f9dd
RD
4329#define wxColourDatabase_FindColour(_swigobj,_swigarg0) (_swigobj->FindColour(_swigarg0))
4330static PyObject *_wrap_wxColourDatabase_FindColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 4331 PyObject * _resultobj;
5e40f9dd
RD
4332 wxColour * _result;
4333 wxColourDatabase * _arg0;
4334 wxString * _arg1;
4335 PyObject * _argo0 = 0;
4336 PyObject * _obj1 = 0;
4337 char *_kwnames[] = { "self","colour", NULL };
70551f47
RD
4338 char _ptemp[128];
4339
4340 self = self;
5e40f9dd
RD
4341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxColourDatabase_FindColour",_kwnames,&_argo0,&_obj1))
4342 return NULL;
4343 if (_argo0) {
4344 if (_argo0 == Py_None) { _arg0 = NULL; }
4345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDatabase_p")) {
4346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDatabase_FindColour. Expected _wxColourDatabase_p.");
70551f47 4347 return NULL;
5e40f9dd
RD
4348 }
4349 }
f6bcfd97 4350{
5e40f9dd
RD
4351#if PYTHON_API_VERSION >= 1009
4352 char* tmpPtr; int tmpSize;
4353 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 4354 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5e40f9dd
RD
4355 return NULL;
4356 }
4357 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4358 return NULL;
4359 _arg1 = new wxString(tmpPtr, tmpSize);
4360#else
4361 if (!PyString_Check(_obj1)) {
4362 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
70551f47 4363 return NULL;
5e40f9dd
RD
4364 }
4365 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4366#endif
f6bcfd97 4367}
ab9bc19b
RD
4368{
4369 wxPy_BEGIN_ALLOW_THREADS;
5e40f9dd 4370 _result = (wxColour *)wxColourDatabase_FindColour(_arg0,*_arg1);
ab9bc19b
RD
4371
4372 wxPy_END_ALLOW_THREADS;
4dfaa61e 4373 if (PyErr_Occurred()) return NULL;
2d091820 4374} if (_result) {
5e40f9dd 4375 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
2d091820
RD
4376 _resultobj = Py_BuildValue("s",_ptemp);
4377 } else {
4378 Py_INCREF(Py_None);
4379 _resultobj = Py_None;
4380 }
5e40f9dd
RD
4381{
4382 if (_obj1)
4383 delete _arg1;
4384}
70551f47
RD
4385 return _resultobj;
4386}
4387
5e40f9dd
RD
4388#define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
4389static PyObject *_wrap_wxColourDatabase_FindName(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 4390 PyObject * _resultobj;
5e40f9dd
RD
4391 wxString * _result;
4392 wxColourDatabase * _arg0;
4393 wxColour * _arg1;
2d091820 4394 PyObject * _argo0 = 0;
5e40f9dd
RD
4395 wxColour temp;
4396 PyObject * _obj1 = 0;
4397 char *_kwnames[] = { "self","colour", NULL };
70551f47
RD
4398
4399 self = self;
5e40f9dd 4400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxColourDatabase_FindName",_kwnames,&_argo0,&_obj1))
70551f47 4401 return NULL;
2d091820
RD
4402 if (_argo0) {
4403 if (_argo0 == Py_None) { _arg0 = NULL; }
5e40f9dd
RD
4404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDatabase_p")) {
4405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
70551f47
RD
4406 return NULL;
4407 }
4408 }
5e40f9dd
RD
4409{
4410 _arg1 = &temp;
4411 if (! wxColour_helper(_obj1, &_arg1))
4412 return NULL;
4413}
ab9bc19b
RD
4414{
4415 wxPy_BEGIN_ALLOW_THREADS;
5e40f9dd 4416 _result = new wxString (wxColourDatabase_FindName(_arg0,*_arg1));
ab9bc19b
RD
4417
4418 wxPy_END_ALLOW_THREADS;
4dfaa61e 4419 if (PyErr_Occurred()) return NULL;
5e40f9dd
RD
4420}{
4421 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4422}
4423{
4424 delete _result;
4425}
70551f47
RD
4426 return _resultobj;
4427}
4428
5e40f9dd
RD
4429static void wxColourDatabase_Append(wxColourDatabase *self,const wxString & name,int red,int green,int blue) {
4430 self->Append(name.c_str(), new wxColour(red, green, blue));
4431 }
4432static PyObject *_wrap_wxColourDatabase_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 4433 PyObject * _resultobj;
5e40f9dd
RD
4434 wxColourDatabase * _arg0;
4435 wxString * _arg1;
4436 int _arg2;
4437 int _arg3;
4438 int _arg4;
2d091820 4439 PyObject * _argo0 = 0;
5e40f9dd
RD
4440 PyObject * _obj1 = 0;
4441 char *_kwnames[] = { "self","name","red","green","blue", NULL };
70551f47
RD
4442
4443 self = self;
5e40f9dd 4444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiii:wxColourDatabase_Append",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_arg4))
70551f47 4445 return NULL;
2d091820
RD
4446 if (_argo0) {
4447 if (_argo0 == Py_None) { _arg0 = NULL; }
5e40f9dd
RD
4448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDatabase_p")) {
4449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
70551f47
RD
4450 return NULL;
4451 }
4452 }
ab9bc19b 4453{
5e40f9dd
RD
4454#if PYTHON_API_VERSION >= 1009
4455 char* tmpPtr; int tmpSize;
4456 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 4457 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5e40f9dd
RD
4458 return NULL;
4459 }
4460 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4461 return NULL;
4462 _arg1 = new wxString(tmpPtr, tmpSize);
4463#else
4464 if (!PyString_Check(_obj1)) {
4465 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4466 return NULL;
4467 }
4468 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4469#endif
4470}
4471{
4472 wxPy_BEGIN_ALLOW_THREADS;
4473 wxColourDatabase_Append(_arg0,*_arg1,_arg2,_arg3,_arg4);
4474
4475 wxPy_END_ALLOW_THREADS;
4dfaa61e 4476 if (PyErr_Occurred()) return NULL;
5e40f9dd
RD
4477} Py_INCREF(Py_None);
4478 _resultobj = Py_None;
4479{
4480 if (_obj1)
4481 delete _arg1;
4482}
4483 return _resultobj;
4484}
4485
9df61a29
RD
4486static void *SwigwxPenTowxGDIObject(void *ptr) {
4487 wxPen *src;
4488 wxGDIObject *dest;
4489 src = (wxPen *) ptr;
4490 dest = (wxGDIObject *) src;
4491 return (void *) dest;
4492}
4493
4494static void *SwigwxPenTowxObject(void *ptr) {
4495 wxPen *src;
4496 wxObject *dest;
4497 src = (wxPen *) ptr;
4498 dest = (wxObject *) src;
4499 return (void *) dest;
4500}
4501
5e40f9dd
RD
4502#define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
4503static PyObject *_wrap_new_wxPen(PyObject *self, PyObject *args, PyObject *kwargs) {
4504 PyObject * _resultobj;
4505 wxPen * _result;
4506 wxColour * _arg0;
4507 int _arg1 = (int ) 1;
4508 int _arg2 = (int ) wxSOLID;
4509 wxColour temp;
4510 PyObject * _obj0 = 0;
4511 char *_kwnames[] = { "colour","width","style", NULL };
4512 char _ptemp[128];
4513
4514 self = self;
4515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:new_wxPen",_kwnames,&_obj0,&_arg1,&_arg2))
4516 return NULL;
4517{
4518 _arg0 = &temp;
4519 if (! wxColour_helper(_obj0, &_arg0))
4520 return NULL;
4521}
4522{
4523 wxPy_BEGIN_ALLOW_THREADS;
4524 _result = (wxPen *)new_wxPen(*_arg0,_arg1,_arg2);
4525
4526 wxPy_END_ALLOW_THREADS;
4dfaa61e 4527 if (PyErr_Occurred()) return NULL;
5e40f9dd
RD
4528} if (_result) {
4529 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
4530 _resultobj = Py_BuildValue("s",_ptemp);
4531 } else {
4532 Py_INCREF(Py_None);
4533 _resultobj = Py_None;
4534 }
4535 return _resultobj;
4536}
4537
4538#define delete_wxPen(_swigobj) (delete _swigobj)
4539static PyObject *_wrap_delete_wxPen(PyObject *self, PyObject *args, PyObject *kwargs) {
4540 PyObject * _resultobj;
4541 wxPen * _arg0;
4542 PyObject * _argo0 = 0;
4543 char *_kwnames[] = { "self", NULL };
4544
4545 self = self;
4546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPen",_kwnames,&_argo0))
4547 return NULL;
4548 if (_argo0) {
4549 if (_argo0 == Py_None) { _arg0 = NULL; }
4550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
4551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
4552 return NULL;
4553 }
4554 }
4555{
4556 wxPy_BEGIN_ALLOW_THREADS;
4557 delete_wxPen(_arg0);
4558
4559 wxPy_END_ALLOW_THREADS;
4dfaa61e 4560 if (PyErr_Occurred()) return NULL;
5e40f9dd
RD
4561} Py_INCREF(Py_None);
4562 _resultobj = Py_None;
4563 return _resultobj;
4564}
4565
4566#define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
4567static PyObject *_wrap_wxPen_GetCap(PyObject *self, PyObject *args, PyObject *kwargs) {
4568 PyObject * _resultobj;
4569 int _result;
4570 wxPen * _arg0;
4571 PyObject * _argo0 = 0;
4572 char *_kwnames[] = { "self", NULL };
4573
4574 self = self;
4575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetCap",_kwnames,&_argo0))
4576 return NULL;
4577 if (_argo0) {
4578 if (_argo0 == Py_None) { _arg0 = NULL; }
4579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
4580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
4581 return NULL;
4582 }
4583 }
4584{
4585 wxPy_BEGIN_ALLOW_THREADS;
4586 _result = (int )wxPen_GetCap(_arg0);
4587
4588 wxPy_END_ALLOW_THREADS;
4dfaa61e 4589 if (PyErr_Occurred()) return NULL;
5e40f9dd
RD
4590} _resultobj = Py_BuildValue("i",_result);
4591 return _resultobj;
4592}
4593
4594#define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
4595static PyObject *_wrap_wxPen_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4596 PyObject * _resultobj;
4597 wxColour * _result;
4598 wxPen * _arg0;
4599 PyObject * _argo0 = 0;
4600 char *_kwnames[] = { "self", NULL };
4601 char _ptemp[128];
4602
4603 self = self;
4604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetColour",_kwnames,&_argo0))
4605 return NULL;
4606 if (_argo0) {
4607 if (_argo0 == Py_None) { _arg0 = NULL; }
4608 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
4609 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
4610 return NULL;
4611 }
4612 }
4613{
4614 wxPy_BEGIN_ALLOW_THREADS;
84a81942 4615 _result = new wxColour (wxPen_GetColour(_arg0));
5e40f9dd
RD
4616
4617 wxPy_END_ALLOW_THREADS;
4dfaa61e 4618 if (PyErr_Occurred()) return NULL;
84a81942
RD
4619} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
4620 _resultobj = Py_BuildValue("s",_ptemp);
70551f47
RD
4621 return _resultobj;
4622}
4623
4624#define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
107e4716 4625static PyObject *_wrap_wxPen_GetJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4626 PyObject * _resultobj;
4627 int _result;
4628 wxPen * _arg0;
2d091820 4629 PyObject * _argo0 = 0;
107e4716 4630 char *_kwnames[] = { "self", NULL };
70551f47
RD
4631
4632 self = self;
107e4716 4633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetJoin",_kwnames,&_argo0))
70551f47 4634 return NULL;
2d091820
RD
4635 if (_argo0) {
4636 if (_argo0 == Py_None) { _arg0 = NULL; }
4637 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
70551f47
RD
4638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
4639 return NULL;
4640 }
4641 }
ab9bc19b
RD
4642{
4643 wxPy_BEGIN_ALLOW_THREADS;
4644 _result = (int )wxPen_GetJoin(_arg0);
4645
4646 wxPy_END_ALLOW_THREADS;
4dfaa61e 4647 if (PyErr_Occurred()) return NULL;
ab9bc19b 4648} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
4649 return _resultobj;
4650}
4651
4652#define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
107e4716 4653static PyObject *_wrap_wxPen_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4654 PyObject * _resultobj;
4655 int _result;
4656 wxPen * _arg0;
2d091820 4657 PyObject * _argo0 = 0;
107e4716 4658 char *_kwnames[] = { "self", NULL };
70551f47
RD
4659
4660 self = self;
107e4716 4661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetStyle",_kwnames,&_argo0))
70551f47 4662 return NULL;
2d091820
RD
4663 if (_argo0) {
4664 if (_argo0 == Py_None) { _arg0 = NULL; }
4665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
70551f47
RD
4666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
4667 return NULL;
4668 }
4669 }
ab9bc19b
RD
4670{
4671 wxPy_BEGIN_ALLOW_THREADS;
4672 _result = (int )wxPen_GetStyle(_arg0);
4673
4674 wxPy_END_ALLOW_THREADS;
4dfaa61e 4675 if (PyErr_Occurred()) return NULL;
ab9bc19b 4676} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
4677 return _resultobj;
4678}
4679
4680#define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
107e4716 4681static PyObject *_wrap_wxPen_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4682 PyObject * _resultobj;
4683 int _result;
4684 wxPen * _arg0;
2d091820 4685 PyObject * _argo0 = 0;
107e4716 4686 char *_kwnames[] = { "self", NULL };
70551f47
RD
4687
4688 self = self;
107e4716 4689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetWidth",_kwnames,&_argo0))
70551f47 4690 return NULL;
2d091820
RD
4691 if (_argo0) {
4692 if (_argo0 == Py_None) { _arg0 = NULL; }
4693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
70551f47
RD
4694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
4695 return NULL;
4696 }
4697 }
ab9bc19b
RD
4698{
4699 wxPy_BEGIN_ALLOW_THREADS;
4700 _result = (int )wxPen_GetWidth(_arg0);
4701
4702 wxPy_END_ALLOW_THREADS;
4dfaa61e 4703 if (PyErr_Occurred()) return NULL;
ab9bc19b 4704} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
4705 return _resultobj;
4706}
4707
4708#define wxPen_Ok(_swigobj) (_swigobj->Ok())
107e4716 4709static PyObject *_wrap_wxPen_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4710 PyObject * _resultobj;
4711 bool _result;
4712 wxPen * _arg0;
2d091820 4713 PyObject * _argo0 = 0;
107e4716 4714 char *_kwnames[] = { "self", NULL };
70551f47
RD
4715
4716 self = self;
107e4716 4717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_Ok",_kwnames,&_argo0))
70551f47 4718 return NULL;
2d091820
RD
4719 if (_argo0) {
4720 if (_argo0 == Py_None) { _arg0 = NULL; }
4721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
70551f47
RD
4722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
4723 return NULL;
4724 }
4725 }
ab9bc19b
RD
4726{
4727 wxPy_BEGIN_ALLOW_THREADS;
4728 _result = (bool )wxPen_Ok(_arg0);
4729
4730 wxPy_END_ALLOW_THREADS;
4dfaa61e 4731 if (PyErr_Occurred()) return NULL;
ab9bc19b 4732} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
4733 return _resultobj;
4734}
4735
4736#define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
107e4716 4737static PyObject *_wrap_wxPen_SetCap(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4738 PyObject * _resultobj;
4739 wxPen * _arg0;
4740 int _arg1;
2d091820 4741 PyObject * _argo0 = 0;
107e4716 4742 char *_kwnames[] = { "self","cap_style", NULL };
70551f47
RD
4743
4744 self = self;
107e4716 4745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPen_SetCap",_kwnames,&_argo0,&_arg1))
70551f47 4746 return NULL;
2d091820
RD
4747 if (_argo0) {
4748 if (_argo0 == Py_None) { _arg0 = NULL; }
4749 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
70551f47
RD
4750 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
4751 return NULL;
4752 }
4753 }
ab9bc19b
RD
4754{
4755 wxPy_BEGIN_ALLOW_THREADS;
4756 wxPen_SetCap(_arg0,_arg1);
4757
4758 wxPy_END_ALLOW_THREADS;
4dfaa61e 4759 if (PyErr_Occurred()) return NULL;
ab9bc19b 4760} Py_INCREF(Py_None);
70551f47
RD
4761 _resultobj = Py_None;
4762 return _resultobj;
4763}
4764
4765#define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
107e4716 4766static PyObject *_wrap_wxPen_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4767 PyObject * _resultobj;
4768 wxPen * _arg0;
4769 wxColour * _arg1;
2d091820 4770 PyObject * _argo0 = 0;
f6bcfd97
BP
4771 wxColour temp;
4772 PyObject * _obj1 = 0;
107e4716 4773 char *_kwnames[] = { "self","colour", NULL };
70551f47
RD
4774
4775 self = self;
f6bcfd97 4776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPen_SetColour",_kwnames,&_argo0,&_obj1))
70551f47 4777 return NULL;
2d091820
RD
4778 if (_argo0) {
4779 if (_argo0 == Py_None) { _arg0 = NULL; }
4780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
70551f47
RD
4781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
4782 return NULL;
4783 }
4784 }
f6bcfd97
BP
4785{
4786 _arg1 = &temp;
4787 if (! wxColour_helper(_obj1, &_arg1))
70551f47 4788 return NULL;
f6bcfd97 4789}
ab9bc19b
RD
4790{
4791 wxPy_BEGIN_ALLOW_THREADS;
4792 wxPen_SetColour(_arg0,*_arg1);
4793
4794 wxPy_END_ALLOW_THREADS;
4dfaa61e 4795 if (PyErr_Occurred()) return NULL;
ab9bc19b 4796} Py_INCREF(Py_None);
70551f47
RD
4797 _resultobj = Py_None;
4798 return _resultobj;
4799}
4800
4801#define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
107e4716 4802static PyObject *_wrap_wxPen_SetJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4803 PyObject * _resultobj;
4804 wxPen * _arg0;
4805 int _arg1;
2d091820 4806 PyObject * _argo0 = 0;
107e4716 4807 char *_kwnames[] = { "self","join_style", NULL };
70551f47
RD
4808
4809 self = self;
107e4716 4810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPen_SetJoin",_kwnames,&_argo0,&_arg1))
70551f47 4811 return NULL;
2d091820
RD
4812 if (_argo0) {
4813 if (_argo0 == Py_None) { _arg0 = NULL; }
4814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
70551f47
RD
4815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
4816 return NULL;
4817 }
4818 }
ab9bc19b
RD
4819{
4820 wxPy_BEGIN_ALLOW_THREADS;
4821 wxPen_SetJoin(_arg0,_arg1);
4822
4823 wxPy_END_ALLOW_THREADS;
4dfaa61e 4824 if (PyErr_Occurred()) return NULL;
ab9bc19b 4825} Py_INCREF(Py_None);
70551f47
RD
4826 _resultobj = Py_None;
4827 return _resultobj;
4828}
4829
4830#define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
107e4716 4831static PyObject *_wrap_wxPen_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4832 PyObject * _resultobj;
4833 wxPen * _arg0;
4834 int _arg1;
2d091820 4835 PyObject * _argo0 = 0;
107e4716 4836 char *_kwnames[] = { "self","style", NULL };
70551f47
RD
4837
4838 self = self;
107e4716 4839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPen_SetStyle",_kwnames,&_argo0,&_arg1))
70551f47 4840 return NULL;
2d091820
RD
4841 if (_argo0) {
4842 if (_argo0 == Py_None) { _arg0 = NULL; }
4843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
70551f47
RD
4844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
4845 return NULL;
4846 }
4847 }
ab9bc19b
RD
4848{
4849 wxPy_BEGIN_ALLOW_THREADS;
4850 wxPen_SetStyle(_arg0,_arg1);
4851
4852 wxPy_END_ALLOW_THREADS;
4dfaa61e 4853 if (PyErr_Occurred()) return NULL;
ab9bc19b 4854} Py_INCREF(Py_None);
70551f47
RD
4855 _resultobj = Py_None;
4856 return _resultobj;
4857}
4858
4859#define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
107e4716 4860static PyObject *_wrap_wxPen_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4861 PyObject * _resultobj;
4862 wxPen * _arg0;
4863 int _arg1;
2d091820 4864 PyObject * _argo0 = 0;
107e4716 4865 char *_kwnames[] = { "self","width", NULL };
70551f47
RD
4866
4867 self = self;
107e4716 4868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPen_SetWidth",_kwnames,&_argo0,&_arg1))
70551f47 4869 return NULL;
2d091820
RD
4870 if (_argo0) {
4871 if (_argo0 == Py_None) { _arg0 = NULL; }
4872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
70551f47
RD
4873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
4874 return NULL;
4875 }
4876 }
ab9bc19b
RD
4877{
4878 wxPy_BEGIN_ALLOW_THREADS;
4879 wxPen_SetWidth(_arg0,_arg1);
4880
4881 wxPy_END_ALLOW_THREADS;
4dfaa61e 4882 if (PyErr_Occurred()) return NULL;
ab9bc19b 4883} Py_INCREF(Py_None);
70551f47
RD
4884 _resultobj = Py_None;
4885 return _resultobj;
4886}
4887
65191ae8
RD
4888#define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
4889static PyObject *_wrap_wxPen_SetDashes(PyObject *self, PyObject *args, PyObject *kwargs) {
56f5d962 4890 PyObject * _resultobj;
56f5d962 4891 wxPen * _arg0;
65191ae8
RD
4892 int _arg1;
4893 wxDash * _arg2;
56f5d962 4894 PyObject * _argo0 = 0;
65191ae8
RD
4895 PyObject * _obj2 = 0;
4896 char *_kwnames[] = { "self","choices", NULL };
56f5d962
RD
4897
4898 self = self;
65191ae8 4899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPen_SetDashes",_kwnames,&_argo0,&_obj2))
56f5d962
RD
4900 return NULL;
4901 if (_argo0) {
4902 if (_argo0 == Py_None) { _arg0 = NULL; }
4903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
65191ae8 4904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
56f5d962
RD
4905 return NULL;
4906 }
4907 }
65191ae8
RD
4908 if (_obj2)
4909{
4910 _arg2 = (wxDash*)byte_LIST_helper(_obj2);
4911 if (_arg2 == NULL) {
4912 return NULL;
4913 }
4914}
4915{
4916 if (_obj2) {
4917 _arg1 = PyList_Size(_obj2);
4918 }
4919 else {
4920 _arg1 = 0;
4921 }
4922}
4923{
4924 wxPy_BEGIN_ALLOW_THREADS;
4925 wxPen_SetDashes(_arg0,_arg1,_arg2);
4926
4927 wxPy_END_ALLOW_THREADS;
4928 if (PyErr_Occurred()) return NULL;
4929} Py_INCREF(Py_None);
4930 _resultobj = Py_None;
4931{
4932 delete [] _arg2;
4933}
4934 return _resultobj;
4935}
4936
4937static void *SwigwxPyPenTowxPen(void *ptr) {
4938 wxPyPen *src;
4939 wxPen *dest;
4940 src = (wxPyPen *) ptr;
4941 dest = (wxPen *) src;
4942 return (void *) dest;
4943}
4944
4945static void *SwigwxPyPenTowxGDIObject(void *ptr) {
4946 wxPyPen *src;
4947 wxGDIObject *dest;
4948 src = (wxPyPen *) ptr;
4949 dest = (wxGDIObject *) src;
4950 return (void *) dest;
4951}
4952
4953static void *SwigwxPyPenTowxObject(void *ptr) {
4954 wxPyPen *src;
4955 wxObject *dest;
4956 src = (wxPyPen *) ptr;
4957 dest = (wxObject *) src;
4958 return (void *) dest;
4959}
4960
4961#define new_wxPyPen(_swigarg0,_swigarg1,_swigarg2) (new wxPyPen(_swigarg0,_swigarg1,_swigarg2))
4962static PyObject *_wrap_new_wxPyPen(PyObject *self, PyObject *args, PyObject *kwargs) {
4963 PyObject * _resultobj;
4964 wxPyPen * _result;
4965 wxColour * _arg0;
4966 int _arg1 = (int ) 1;
4967 int _arg2 = (int ) wxSOLID;
4968 wxColour temp;
4969 PyObject * _obj0 = 0;
4970 char *_kwnames[] = { "colour","width","style", NULL };
4971 char _ptemp[128];
4972
4973 self = self;
4974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:new_wxPyPen",_kwnames,&_obj0,&_arg1,&_arg2))
4975 return NULL;
4976{
4977 _arg0 = &temp;
4978 if (! wxColour_helper(_obj0, &_arg0))
4979 return NULL;
4980}
4981{
4982 wxPy_BEGIN_ALLOW_THREADS;
4983 _result = (wxPyPen *)new_wxPyPen(*_arg0,_arg1,_arg2);
4984
4985 wxPy_END_ALLOW_THREADS;
4986 if (PyErr_Occurred()) return NULL;
4987} if (_result) {
4988 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPen_p");
4989 _resultobj = Py_BuildValue("s",_ptemp);
4990 } else {
4991 Py_INCREF(Py_None);
4992 _resultobj = Py_None;
4993 }
4994 return _resultobj;
4995}
4996
4997#define delete_wxPyPen(_swigobj) (delete _swigobj)
4998static PyObject *_wrap_delete_wxPyPen(PyObject *self, PyObject *args, PyObject *kwargs) {
4999 PyObject * _resultobj;
5000 wxPyPen * _arg0;
5001 PyObject * _argo0 = 0;
5002 char *_kwnames[] = { "self", NULL };
5003
5004 self = self;
5005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyPen",_kwnames,&_argo0))
5006 return NULL;
5007 if (_argo0) {
5008 if (_argo0 == Py_None) { _arg0 = NULL; }
5009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPen_p")) {
5010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyPen. Expected _wxPyPen_p.");
56f5d962
RD
5011 return NULL;
5012 }
5013 }
5014{
5015 wxPy_BEGIN_ALLOW_THREADS;
65191ae8 5016 delete_wxPyPen(_arg0);
56f5d962
RD
5017
5018 wxPy_END_ALLOW_THREADS;
4dfaa61e 5019 if (PyErr_Occurred()) return NULL;
65191ae8
RD
5020} Py_INCREF(Py_None);
5021 _resultobj = Py_None;
56f5d962
RD
5022 return _resultobj;
5023}
5024
65191ae8
RD
5025#define wxPyPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
5026static PyObject *_wrap_wxPyPen_SetDashes(PyObject *self, PyObject *args, PyObject *kwargs) {
56f5d962 5027 PyObject * _resultobj;
65191ae8 5028 wxPyPen * _arg0;
56f5d962
RD
5029 int _arg1;
5030 wxDash * _arg2;
5031 PyObject * _argo0 = 0;
5032 PyObject * _obj2 = 0;
e02c03a4 5033 char *_kwnames[] = { "self","choices", NULL };
56f5d962
RD
5034
5035 self = self;
65191ae8 5036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPen_SetDashes",_kwnames,&_argo0,&_obj2))
56f5d962
RD
5037 return NULL;
5038 if (_argo0) {
5039 if (_argo0 == Py_None) { _arg0 = NULL; }
65191ae8
RD
5040 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPen_p")) {
5041 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPen_SetDashes. Expected _wxPyPen_p.");
56f5d962
RD
5042 return NULL;
5043 }
5044 }
5045 if (_obj2)
5046{
41073357 5047 _arg2 = (wxDash*)byte_LIST_helper(_obj2);
56f5d962
RD
5048 if (_arg2 == NULL) {
5049 return NULL;
5050 }
5051}
5052{
5053 if (_obj2) {
5054 _arg1 = PyList_Size(_obj2);
5055 }
5056 else {
5057 _arg1 = 0;
5058 }
5059}
5060{
5061 wxPy_BEGIN_ALLOW_THREADS;
65191ae8 5062 wxPyPen_SetDashes(_arg0,_arg1,_arg2);
56f5d962
RD
5063
5064 wxPy_END_ALLOW_THREADS;
4dfaa61e 5065 if (PyErr_Occurred()) return NULL;
56f5d962
RD
5066} Py_INCREF(Py_None);
5067 _resultobj = Py_None;
5068{
5069 delete [] _arg2;
5070}
5071 return _resultobj;
5072}
5073
9df61a29
RD
5074static void *SwigwxPenListTowxObject(void *ptr) {
5075 wxPenList *src;
5076 wxObject *dest;
5077 src = (wxPenList *) ptr;
5078 dest = (wxObject *) src;
5079 return (void *) dest;
5080}
5081
5e40f9dd
RD
5082#define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
5083static PyObject *_wrap_wxPenList_AddPen(PyObject *self, PyObject *args, PyObject *kwargs) {
5084 PyObject * _resultobj;
5085 wxPenList * _arg0;
5086 wxPen * _arg1;
5087 PyObject * _argo0 = 0;
5088 PyObject * _argo1 = 0;
5089 char *_kwnames[] = { "self","pen", NULL };
5090
5091 self = self;
5092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPenList_AddPen",_kwnames,&_argo0,&_argo1))
5093 return NULL;
5094 if (_argo0) {
5095 if (_argo0 == Py_None) { _arg0 = NULL; }
5096 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPenList_p")) {
5097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
5098 return NULL;
70551f47 5099 }
5e40f9dd
RD
5100 }
5101 if (_argo1) {
5102 if (_argo1 == Py_None) { _arg1 = NULL; }
5103 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) {
5104 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
5105 return NULL;
5106 }
5107 }
5108{
5109 wxPy_BEGIN_ALLOW_THREADS;
5110 wxPenList_AddPen(_arg0,_arg1);
70551f47 5111
5e40f9dd 5112 wxPy_END_ALLOW_THREADS;
4dfaa61e 5113 if (PyErr_Occurred()) return NULL;
5e40f9dd
RD
5114} Py_INCREF(Py_None);
5115 _resultobj = Py_None;
5116 return _resultobj;
5117}
5118
5119#define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
5120static PyObject *_wrap_wxPenList_FindOrCreatePen(PyObject *self, PyObject *args, PyObject *kwargs) {
5121 PyObject * _resultobj;
5122 wxPen * _result;
5123 wxPenList * _arg0;
5124 wxColour * _arg1;
5125 int _arg2;
5126 int _arg3;
5127 PyObject * _argo0 = 0;
5128 wxColour temp;
5129 PyObject * _obj1 = 0;
5130 char *_kwnames[] = { "self","colour","width","style", NULL };
5131 char _ptemp[128];
5132
5133 self = self;
5134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPenList_FindOrCreatePen",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
5135 return NULL;
5136 if (_argo0) {
5137 if (_argo0 == Py_None) { _arg0 = NULL; }
5138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPenList_p")) {
5139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
5140 return NULL;
5141 }
5142 }
5143{
5144 _arg1 = &temp;
5145 if (! wxColour_helper(_obj1, &_arg1))
5146 return NULL;
5147}
5148{
5149 wxPy_BEGIN_ALLOW_THREADS;
5150 _result = (wxPen *)wxPenList_FindOrCreatePen(_arg0,*_arg1,_arg2,_arg3);
5151
5152 wxPy_END_ALLOW_THREADS;
4dfaa61e 5153 if (PyErr_Occurred()) return NULL;
5e40f9dd
RD
5154} if (_result) {
5155 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
5156 _resultobj = Py_BuildValue("s",_ptemp);
5157 } else {
5158 Py_INCREF(Py_None);
5159 _resultobj = Py_None;
5160 }
5161 return _resultobj;
5162}
5163
5164#define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
5165static PyObject *_wrap_wxPenList_RemovePen(PyObject *self, PyObject *args, PyObject *kwargs) {
5166 PyObject * _resultobj;
5167 wxPenList * _arg0;
5168 wxPen * _arg1;
5169 PyObject * _argo0 = 0;
5170 PyObject * _argo1 = 0;
5171 char *_kwnames[] = { "self","pen", NULL };
5172
5173 self = self;
5174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPenList_RemovePen",_kwnames,&_argo0,&_argo1))
5175 return NULL;
5176 if (_argo0) {
5177 if (_argo0 == Py_None) { _arg0 = NULL; }
5178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPenList_p")) {
5179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
5180 return NULL;
5181 }
5182 }
5183 if (_argo1) {
5184 if (_argo1 == Py_None) { _arg1 = NULL; }
5185 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) {
5186 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
5187 return NULL;
5188 }
5189 }
5190{
5191 wxPy_BEGIN_ALLOW_THREADS;
5192 wxPenList_RemovePen(_arg0,_arg1);
5193
5194 wxPy_END_ALLOW_THREADS;
4dfaa61e 5195 if (PyErr_Occurred()) return NULL;
5e40f9dd
RD
5196} Py_INCREF(Py_None);
5197 _resultobj = Py_None;
5198 return _resultobj;
5199}
5200
7a9b33db
RD
5201#define wxPenList_GetCount(_swigobj) (_swigobj->GetCount())
5202static PyObject *_wrap_wxPenList_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5203 PyObject * _resultobj;
5204 int _result;
5205 wxPenList * _arg0;
5206 PyObject * _argo0 = 0;
5207 char *_kwnames[] = { "self", NULL };
5208
5209 self = self;
5210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPenList_GetCount",_kwnames,&_argo0))
5211 return NULL;
5212 if (_argo0) {
5213 if (_argo0 == Py_None) { _arg0 = NULL; }
5214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPenList_p")) {
5215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPenList_GetCount. Expected _wxPenList_p.");
5216 return NULL;
5217 }
5218 }
5219{
5220 wxPy_BEGIN_ALLOW_THREADS;
5221 _result = (int )wxPenList_GetCount(_arg0);
5222
5223 wxPy_END_ALLOW_THREADS;
5224 if (PyErr_Occurred()) return NULL;
5225} _resultobj = Py_BuildValue("i",_result);
5226 return _resultobj;
5227}
5228
9df61a29
RD
5229static void *SwigwxBrushTowxGDIObject(void *ptr) {
5230 wxBrush *src;
5231 wxGDIObject *dest;
5232 src = (wxBrush *) ptr;
5233 dest = (wxGDIObject *) src;
5234 return (void *) dest;
5235}
5236
5237static void *SwigwxBrushTowxObject(void *ptr) {
5238 wxBrush *src;
5239 wxObject *dest;
5240 src = (wxBrush *) ptr;
5241 dest = (wxObject *) src;
5242 return (void *) dest;
5243}
5244
5e40f9dd 5245#define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
107e4716 5246static PyObject *_wrap_new_wxBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5247 PyObject * _resultobj;
5248 wxBrush * _result;
5249 wxColour * _arg0;
2d091820 5250 int _arg1 = (int ) wxSOLID;
f6bcfd97
BP
5251 wxColour temp;
5252 PyObject * _obj0 = 0;
107e4716 5253 char *_kwnames[] = { "colour","style", NULL };
70551f47
RD
5254 char _ptemp[128];
5255
5256 self = self;
f6bcfd97 5257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxBrush",_kwnames,&_obj0,&_arg1))
70551f47 5258 return NULL;
f6bcfd97
BP
5259{
5260 _arg0 = &temp;
5261 if (! wxColour_helper(_obj0, &_arg0))
70551f47 5262 return NULL;
f6bcfd97 5263}
ab9bc19b
RD
5264{
5265 wxPy_BEGIN_ALLOW_THREADS;
5e40f9dd 5266 _result = (wxBrush *)new_wxBrush(*_arg0,_arg1);
ab9bc19b
RD
5267
5268 wxPy_END_ALLOW_THREADS;
4dfaa61e 5269 if (PyErr_Occurred()) return NULL;
2d091820
RD
5270} if (_result) {
5271 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
5272 _resultobj = Py_BuildValue("s",_ptemp);
5273 } else {
5274 Py_INCREF(Py_None);
5275 _resultobj = Py_None;
5276 }
70551f47
RD
5277 return _resultobj;
5278}
5279
5e40f9dd
RD
5280#define delete_wxBrush(_swigobj) (delete _swigobj)
5281static PyObject *_wrap_delete_wxBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
5282 PyObject * _resultobj;
5283 wxBrush * _arg0;
5284 PyObject * _argo0 = 0;
5285 char *_kwnames[] = { "self", NULL };
5286
5287 self = self;
5288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxBrush",_kwnames,&_argo0))
5289 return NULL;
5290 if (_argo0) {
5291 if (_argo0 == Py_None) { _arg0 = NULL; }
5292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
5293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
5294 return NULL;
5295 }
5296 }
5297{
5298 wxPy_BEGIN_ALLOW_THREADS;
5299 delete_wxBrush(_arg0);
5300
5301 wxPy_END_ALLOW_THREADS;
4dfaa61e 5302 if (PyErr_Occurred()) return NULL;
5e40f9dd
RD
5303} Py_INCREF(Py_None);
5304 _resultobj = Py_None;
5305 return _resultobj;
5306}
5307
70551f47 5308#define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
107e4716 5309static PyObject *_wrap_wxBrush_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5310 PyObject * _resultobj;
5311 wxColour * _result;
5312 wxBrush * _arg0;
2d091820 5313 PyObject * _argo0 = 0;
107e4716 5314 char *_kwnames[] = { "self", NULL };
70551f47
RD
5315 char _ptemp[128];
5316
5317 self = self;
107e4716 5318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrush_GetColour",_kwnames,&_argo0))
70551f47 5319 return NULL;
2d091820
RD
5320 if (_argo0) {
5321 if (_argo0 == Py_None) { _arg0 = NULL; }
5322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
70551f47
RD
5323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
5324 return NULL;
5325 }
5326 }
ab9bc19b
RD
5327{
5328 wxPy_BEGIN_ALLOW_THREADS;
84a81942 5329 _result = new wxColour (wxBrush_GetColour(_arg0));
ab9bc19b
RD
5330
5331 wxPy_END_ALLOW_THREADS;
4dfaa61e 5332 if (PyErr_Occurred()) return NULL;
84a81942
RD
5333} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5334 _resultobj = Py_BuildValue("s",_ptemp);
70551f47
RD
5335 return _resultobj;
5336}
5337
5338#define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
107e4716 5339static PyObject *_wrap_wxBrush_GetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5340 PyObject * _resultobj;
5341 wxBitmap * _result;
5342 wxBrush * _arg0;
2d091820 5343 PyObject * _argo0 = 0;
107e4716 5344 char *_kwnames[] = { "self", NULL };
70551f47
RD
5345 char _ptemp[128];
5346
5347 self = self;
107e4716 5348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrush_GetStipple",_kwnames,&_argo0))
70551f47 5349 return NULL;
2d091820
RD
5350 if (_argo0) {
5351 if (_argo0 == Py_None) { _arg0 = NULL; }
5352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
70551f47
RD
5353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
5354 return NULL;
5355 }
5356 }
ab9bc19b
RD
5357{
5358 wxPy_BEGIN_ALLOW_THREADS;
5359 _result = (wxBitmap *)wxBrush_GetStipple(_arg0);
5360
5361 wxPy_END_ALLOW_THREADS;
4dfaa61e 5362 if (PyErr_Occurred()) return NULL;
2d091820
RD
5363} if (_result) {
5364 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
5365 _resultobj = Py_BuildValue("s",_ptemp);
5366 } else {
5367 Py_INCREF(Py_None);
5368 _resultobj = Py_None;
5369 }
70551f47
RD
5370 return _resultobj;
5371}
5372
5373#define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
107e4716 5374static PyObject *_wrap_wxBrush_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5375 PyObject * _resultobj;
5376 int _result;
5377 wxBrush * _arg0;
2d091820 5378 PyObject * _argo0 = 0;
107e4716 5379 char *_kwnames[] = { "self", NULL };
70551f47
RD
5380
5381 self = self;
107e4716 5382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrush_GetStyle",_kwnames,&_argo0))
70551f47 5383 return NULL;
2d091820
RD
5384 if (_argo0) {
5385 if (_argo0 == Py_None) { _arg0 = NULL; }
5386 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
70551f47
RD
5387 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
5388 return NULL;
5389 }
5390 }
ab9bc19b
RD
5391{
5392 wxPy_BEGIN_ALLOW_THREADS;
5393 _result = (int )wxBrush_GetStyle(_arg0);
5394
5395 wxPy_END_ALLOW_THREADS;
4dfaa61e 5396 if (PyErr_Occurred()) return NULL;
ab9bc19b 5397} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
5398 return _resultobj;
5399}
5400
5401#define wxBrush_Ok(_swigobj) (_swigobj->Ok())
107e4716 5402static PyObject *_wrap_wxBrush_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5403 PyObject * _resultobj;
5404 bool _result;
5405 wxBrush * _arg0;
2d091820 5406 PyObject * _argo0 = 0;
107e4716 5407 char *_kwnames[] = { "self", NULL };
70551f47
RD
5408
5409 self = self;
107e4716 5410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrush_Ok",_kwnames,&_argo0))
70551f47 5411 return NULL;
2d091820
RD
5412 if (_argo0) {
5413 if (_argo0 == Py_None) { _arg0 = NULL; }
5414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
70551f47
RD
5415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
5416 return NULL;
5417 }
5418 }
ab9bc19b
RD
5419{
5420 wxPy_BEGIN_ALLOW_THREADS;
5421 _result = (bool )wxBrush_Ok(_arg0);
5422
5423 wxPy_END_ALLOW_THREADS;
4dfaa61e 5424 if (PyErr_Occurred()) return NULL;
ab9bc19b 5425} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
5426 return _resultobj;
5427}
5428
c95e68d8 5429#define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
107e4716 5430static PyObject *_wrap_wxBrush_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
5431 PyObject * _resultobj;
5432 wxBrush * _arg0;
5433 wxColour * _arg1;
2d091820 5434 PyObject * _argo0 = 0;
f6bcfd97
BP
5435 wxColour temp;
5436 PyObject * _obj1 = 0;
107e4716 5437 char *_kwnames[] = { "self","colour", NULL };
c95e68d8
RD
5438
5439 self = self;
f6bcfd97 5440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBrush_SetColour",_kwnames,&_argo0,&_obj1))
c95e68d8 5441 return NULL;
2d091820
RD
5442 if (_argo0) {
5443 if (_argo0 == Py_None) { _arg0 = NULL; }
5444 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
c95e68d8
RD
5445 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
5446 return NULL;
5447 }
5448 }
f6bcfd97
BP
5449{
5450 _arg1 = &temp;
5451 if (! wxColour_helper(_obj1, &_arg1))
c95e68d8 5452 return NULL;
f6bcfd97 5453}
ab9bc19b
RD
5454{
5455 wxPy_BEGIN_ALLOW_THREADS;
5456 wxBrush_SetColour(_arg0,*_arg1);
5457
5458 wxPy_END_ALLOW_THREADS;
4dfaa61e 5459 if (PyErr_Occurred()) return NULL;
ab9bc19b 5460} Py_INCREF(Py_None);
c95e68d8
RD
5461 _resultobj = Py_None;
5462 return _resultobj;
5463}
5464
5465#define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
107e4716 5466static PyObject *_wrap_wxBrush_SetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
5467 PyObject * _resultobj;
5468 wxBrush * _arg0;
5469 wxBitmap * _arg1;
2d091820
RD
5470 PyObject * _argo0 = 0;
5471 PyObject * _argo1 = 0;
107e4716 5472 char *_kwnames[] = { "self","bitmap", NULL };
c95e68d8
RD
5473
5474 self = self;
107e4716 5475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBrush_SetStipple",_kwnames,&_argo0,&_argo1))
c95e68d8 5476 return NULL;
2d091820
RD
5477 if (_argo0) {
5478 if (_argo0 == Py_None) { _arg0 = NULL; }
5479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
c95e68d8
RD
5480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
5481 return NULL;
5482 }
5483 }
2d091820
RD
5484 if (_argo1) {
5485 if (_argo1 == Py_None) { _arg1 = NULL; }
5486 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
c95e68d8
RD
5487 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
5488 return NULL;
5489 }
5490 }
ab9bc19b
RD
5491{
5492 wxPy_BEGIN_ALLOW_THREADS;
5493 wxBrush_SetStipple(_arg0,*_arg1);
5494
5495 wxPy_END_ALLOW_THREADS;
4dfaa61e 5496 if (PyErr_Occurred()) return NULL;
ab9bc19b 5497} Py_INCREF(Py_None);
c95e68d8
RD
5498 _resultobj = Py_None;
5499 return _resultobj;
5500}
5501
5502#define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
107e4716 5503static PyObject *_wrap_wxBrush_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
5504 PyObject * _resultobj;
5505 wxBrush * _arg0;
5506 int _arg1;
2d091820 5507 PyObject * _argo0 = 0;
107e4716 5508 char *_kwnames[] = { "self","style", NULL };
c95e68d8
RD
5509
5510 self = self;
107e4716 5511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBrush_SetStyle",_kwnames,&_argo0,&_arg1))
c95e68d8 5512 return NULL;
2d091820
RD
5513 if (_argo0) {
5514 if (_argo0 == Py_None) { _arg0 = NULL; }
5515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
c95e68d8
RD
5516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
5517 return NULL;
5518 }
5519 }
ab9bc19b
RD
5520{
5521 wxPy_BEGIN_ALLOW_THREADS;
5522 wxBrush_SetStyle(_arg0,_arg1);
5523
5524 wxPy_END_ALLOW_THREADS;
4dfaa61e 5525 if (PyErr_Occurred()) return NULL;
ab9bc19b 5526} Py_INCREF(Py_None);
c95e68d8
RD
5527 _resultobj = Py_None;
5528 return _resultobj;
5529}
5530
65191ae8
RD
5531static void *SwigwxBrushListTowxObject(void *ptr) {
5532 wxBrushList *src;
5533 wxObject *dest;
5534 src = (wxBrushList *) ptr;
5535 dest = (wxObject *) src;
5536 return (void *) dest;
5537}
5538
5e40f9dd
RD
5539#define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
5540static PyObject *_wrap_wxBrushList_AddBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
5541 PyObject * _resultobj;
5542 wxBrushList * _arg0;
5543 wxBrush * _arg1;
5544 PyObject * _argo0 = 0;
5545 PyObject * _argo1 = 0;
5546 char *_kwnames[] = { "self","brush", NULL };
5547
5548 self = self;
5549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBrushList_AddBrush",_kwnames,&_argo0,&_argo1))
5550 return NULL;
5551 if (_argo0) {
5552 if (_argo0 == Py_None) { _arg0 = NULL; }
5553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrushList_p")) {
5554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
5555 return NULL;
5556 }
5557 }
5558 if (_argo1) {
5559 if (_argo1 == Py_None) { _arg1 = NULL; }
5560 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) {
5561 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
5562 return NULL;
5563 }
5564 }
5565{
5566 wxPy_BEGIN_ALLOW_THREADS;
5567 wxBrushList_AddBrush(_arg0,_arg1);
5568
5569 wxPy_END_ALLOW_THREADS;
4dfaa61e 5570 if (PyErr_Occurred()) return NULL;
5e40f9dd
RD
5571} Py_INCREF(Py_None);
5572 _resultobj = Py_None;
5573 return _resultobj;
5574}
5575
5576#define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
5577static PyObject *_wrap_wxBrushList_FindOrCreateBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
5578 PyObject * _resultobj;
5579 wxBrush * _result;
5580 wxBrushList * _arg0;
5581 wxColour * _arg1;
5582 int _arg2;
5583 PyObject * _argo0 = 0;
5584 wxColour temp;
5585 PyObject * _obj1 = 0;
5586 char *_kwnames[] = { "self","colour","style", NULL };
5587 char _ptemp[128];
5588
5589 self = self;
5590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxBrushList_FindOrCreateBrush",_kwnames,&_argo0,&_obj1,&_arg2))
5591 return NULL;
5592 if (_argo0) {
5593 if (_argo0 == Py_None) { _arg0 = NULL; }
5594 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrushList_p")) {
5595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
5596 return NULL;
5597 }
5598 }
5599{
5600 _arg1 = &temp;
5601 if (! wxColour_helper(_obj1, &_arg1))
5602 return NULL;
5603}
5604{
5605 wxPy_BEGIN_ALLOW_THREADS;
5606 _result = (wxBrush *)wxBrushList_FindOrCreateBrush(_arg0,*_arg1,_arg2);
5607
5608 wxPy_END_ALLOW_THREADS;
4dfaa61e 5609 if (PyErr_Occurred()) return NULL;
5e40f9dd
RD
5610} if (_result) {
5611 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
5612 _resultobj = Py_BuildValue("s",_ptemp);
5613 } else {
5614 Py_INCREF(Py_None);
5615 _resultobj = Py_None;
5616 }
5617 return _resultobj;
5618}
5619
5620#define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
5621static PyObject *_wrap_wxBrushList_RemoveBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
5622 PyObject * _resultobj;
5623 wxBrushList * _arg0;
5624 wxBrush * _arg1;
5625 PyObject * _argo0 = 0;
5626 PyObject * _argo1 = 0;
5627 char *_kwnames[] = { "self","brush", NULL };
5628
5629 self = self;
5630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBrushList_RemoveBrush",_kwnames,&_argo0,&_argo1))
5631 return NULL;
5632 if (_argo0) {
5633 if (_argo0 == Py_None) { _arg0 = NULL; }
5634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrushList_p")) {
5635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
5636 return NULL;
5637 }
5638 }
5639 if (_argo1) {
5640 if (_argo1 == Py_None) { _arg1 = NULL; }
5641 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) {
5642 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
5643 return NULL;
5644 }
5645 }
5646{
5647 wxPy_BEGIN_ALLOW_THREADS;
5648 wxBrushList_RemoveBrush(_arg0,_arg1);
5649
5650 wxPy_END_ALLOW_THREADS;
4dfaa61e 5651 if (PyErr_Occurred()) return NULL;
5e40f9dd
RD
5652} Py_INCREF(Py_None);
5653 _resultobj = Py_None;
5654 return _resultobj;
5655}
5656
7a9b33db
RD
5657#define wxBrushList_GetCount(_swigobj) (_swigobj->GetCount())
5658static PyObject *_wrap_wxBrushList_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5659 PyObject * _resultobj;
5660 int _result;
5661 wxBrushList * _arg0;
5662 PyObject * _argo0 = 0;
5663 char *_kwnames[] = { "self", NULL };
5664
5665 self = self;
5666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrushList_GetCount",_kwnames,&_argo0))
5667 return NULL;
5668 if (_argo0) {
5669 if (_argo0 == Py_None) { _arg0 = NULL; }
5670 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrushList_p")) {
5671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrushList_GetCount. Expected _wxBrushList_p.");
5672 return NULL;
5673 }
5674 }
5675{
5676 wxPy_BEGIN_ALLOW_THREADS;
5677 _result = (int )wxBrushList_GetCount(_arg0);
5678
5679 wxPy_END_ALLOW_THREADS;
5680 if (PyErr_Occurred()) return NULL;
5681} _resultobj = Py_BuildValue("i",_result);
5682 return _resultobj;
5683}
5684
9df61a29
RD
5685static void *SwigwxDCTowxObject(void *ptr) {
5686 wxDC *src;
5687 wxObject *dest;
5688 src = (wxDC *) ptr;
5689 dest = (wxObject *) src;
5690 return (void *) dest;
5691}
5692
70551f47 5693#define delete_wxDC(_swigobj) (delete _swigobj)
107e4716 5694static PyObject *_wrap_delete_wxDC(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5695 PyObject * _resultobj;
5696 wxDC * _arg0;
2d091820 5697 PyObject * _argo0 = 0;
107e4716 5698 char *_kwnames[] = { "self", NULL };
70551f47
RD
5699
5700 self = self;
107e4716 5701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxDC",_kwnames,&_argo0))
70551f47 5702 return NULL;
2d091820
RD
5703 if (_argo0) {
5704 if (_argo0 == Py_None) { _arg0 = NULL; }
5705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
5706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
5707 return NULL;
5708 }
5709 }
ab9bc19b
RD
5710{
5711 wxPy_BEGIN_ALLOW_THREADS;
5712 delete_wxDC(_arg0);
5713
5714 wxPy_END_ALLOW_THREADS;
4dfaa61e 5715 if (PyErr_Occurred()) return NULL;
ab9bc19b 5716} Py_INCREF(Py_None);
70551f47
RD
5717 _resultobj = Py_None;
5718 return _resultobj;
5719}
5720
5721#define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
107e4716 5722static PyObject *_wrap_wxDC_BeginDrawing(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5723 PyObject * _resultobj;
5724 wxDC * _arg0;
2d091820 5725 PyObject * _argo0 = 0;
107e4716 5726 char *_kwnames[] = { "self", NULL };
70551f47
RD
5727
5728 self = self;
107e4716 5729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_BeginDrawing",_kwnames,&_argo0))
70551f47 5730 return NULL;
2d091820
RD
5731 if (_argo0) {
5732 if (_argo0 == Py_None) { _arg0 = NULL; }
5733 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
5734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
5735 return NULL;
5736 }
5737 }
ab9bc19b
RD
5738{
5739 wxPy_BEGIN_ALLOW_THREADS;
5740 wxDC_BeginDrawing(_arg0);
5741
5742 wxPy_END_ALLOW_THREADS;
4dfaa61e 5743 if (PyErr_Occurred()) return NULL;
ab9bc19b 5744} Py_INCREF(Py_None);
70551f47
RD
5745 _resultobj = Py_None;
5746 return _resultobj;
5747}
5748
107e4716
RD
5749#define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5750static PyObject *_wrap_wxDC_Blit(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5751 PyObject * _resultobj;
5752 bool _result;
5753 wxDC * _arg0;
5754 long _arg1;
5755 long _arg2;
5756 long _arg3;
5757 long _arg4;
5758 wxDC * _arg5;
5759 long _arg6;
5760 long _arg7;
107e4716
RD
5761 int _arg8 = (int ) wxCOPY;
5762 int _arg9 = (int ) FALSE;
2d091820
RD
5763 PyObject * _argo0 = 0;
5764 PyObject * _argo5 = 0;
107e4716 5765 char *_kwnames[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL };
70551f47
RD
5766
5767 self = self;
107e4716 5768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllllOll|ii:wxDC_Blit",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_argo5,&_arg6,&_arg7,&_arg8,&_arg9))
70551f47 5769 return NULL;
2d091820
RD
5770 if (_argo0) {
5771 if (_argo0 == Py_None) { _arg0 = NULL; }
5772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
5773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
5774 return NULL;
5775 }
5776 }
2d091820
RD
5777 if (_argo5) {
5778 if (_argo5 == Py_None) { _arg5 = NULL; }
5779 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxDC_p")) {
70551f47
RD
5780 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
5781 return NULL;
5782 }
5783 }
ab9bc19b
RD
5784{
5785 wxPy_BEGIN_ALLOW_THREADS;
107e4716 5786 _result = (bool )wxDC_Blit(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
ab9bc19b
RD
5787
5788 wxPy_END_ALLOW_THREADS;
4dfaa61e 5789 if (PyErr_Occurred()) return NULL;
ab9bc19b 5790} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
5791 return _resultobj;
5792}
5793
5794#define wxDC_Clear(_swigobj) (_swigobj->Clear())
107e4716 5795static PyObject *_wrap_wxDC_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5796 PyObject * _resultobj;
5797 wxDC * _arg0;
2d091820 5798 PyObject * _argo0 = 0;
107e4716 5799 char *_kwnames[] = { "self", NULL };
70551f47
RD
5800
5801 self = self;
107e4716 5802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_Clear",_kwnames,&_argo0))
70551f47 5803 return NULL;
2d091820
RD
5804 if (_argo0) {
5805 if (_argo0 == Py_None) { _arg0 = NULL; }
5806 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
5807 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
5808 return NULL;
5809 }
5810 }
ab9bc19b
RD
5811{
5812 wxPy_BEGIN_ALLOW_THREADS;
5813 wxDC_Clear(_arg0);
5814
5815 wxPy_END_ALLOW_THREADS;
4dfaa61e 5816 if (PyErr_Occurred()) return NULL;
ab9bc19b 5817} Py_INCREF(Py_None);
70551f47
RD
5818 _resultobj = Py_None;
5819 return _resultobj;
5820}
5821
5822#define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
107e4716 5823static PyObject *_wrap_wxDC_CrossHair(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5824 PyObject * _resultobj;
5825 wxDC * _arg0;
5826 long _arg1;
5827 long _arg2;
2d091820 5828 PyObject * _argo0 = 0;
107e4716 5829 char *_kwnames[] = { "self","x","y", NULL };
70551f47
RD
5830
5831 self = self;
107e4716 5832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxDC_CrossHair",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 5833 return NULL;
2d091820
RD
5834 if (_argo0) {
5835 if (_argo0 == Py_None) { _arg0 = NULL; }
5836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
5837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
5838 return NULL;
5839 }
5840 }
ab9bc19b
RD
5841{
5842 wxPy_BEGIN_ALLOW_THREADS;
5843 wxDC_CrossHair(_arg0,_arg1,_arg2);
5844
5845 wxPy_END_ALLOW_THREADS;
4dfaa61e 5846 if (PyErr_Occurred()) return NULL;
ab9bc19b 5847} Py_INCREF(Py_None);
70551f47
RD
5848 _resultobj = Py_None;
5849 return _resultobj;
5850}
5851
5852#define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
107e4716 5853static PyObject *_wrap_wxDC_DestroyClippingRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5854 PyObject * _resultobj;
5855 wxDC * _arg0;
2d091820 5856 PyObject * _argo0 = 0;
107e4716 5857 char *_kwnames[] = { "self", NULL };
70551f47
RD
5858
5859 self = self;
107e4716 5860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_DestroyClippingRegion",_kwnames,&_argo0))
70551f47 5861 return NULL;
2d091820
RD
5862 if (_argo0) {
5863 if (_argo0 == Py_None) { _arg0 = NULL; }
5864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
5865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
5866 return NULL;
5867 }
5868 }
ab9bc19b
RD
5869{
5870 wxPy_BEGIN_ALLOW_THREADS;
5871 wxDC_DestroyClippingRegion(_arg0);
5872
5873 wxPy_END_ALLOW_THREADS;
4dfaa61e 5874 if (PyErr_Occurred()) return NULL;
ab9bc19b 5875} Py_INCREF(Py_None);
70551f47
RD
5876 _resultobj = Py_None;
5877 return _resultobj;
5878}
5879
5880#define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
107e4716 5881static PyObject *_wrap_wxDC_DeviceToLogicalX(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5882 PyObject * _resultobj;
5883 long _result;
5884 wxDC * _arg0;
5885 long _arg1;
2d091820 5886 PyObject * _argo0 = 0;
107e4716 5887 char *_kwnames[] = { "self","x", NULL };
70551f47
RD
5888
5889 self = self;
107e4716 5890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_DeviceToLogicalX",_kwnames,&_argo0,&_arg1))
70551f47 5891 return NULL;
2d091820
RD
5892 if (_argo0) {
5893 if (_argo0 == Py_None) { _arg0 = NULL; }
5894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
5895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
5896 return NULL;
5897 }
5898 }
ab9bc19b
RD
5899{
5900 wxPy_BEGIN_ALLOW_THREADS;
5901 _result = (long )wxDC_DeviceToLogicalX(_arg0,_arg1);
5902
5903 wxPy_END_ALLOW_THREADS;
4dfaa61e 5904 if (PyErr_Occurred()) return NULL;
ab9bc19b 5905} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
5906 return _resultobj;
5907}
5908
5909#define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
107e4716 5910static PyObject *_wrap_wxDC_DeviceToLogicalXRel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5911 PyObject * _resultobj;
5912 long _result;
5913 wxDC * _arg0;
5914 long _arg1;
2d091820 5915 PyObject * _argo0 = 0;
107e4716 5916 char *_kwnames[] = { "self","x", NULL };
70551f47
RD
5917
5918 self = self;
107e4716 5919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_DeviceToLogicalXRel",_kwnames,&_argo0,&_arg1))
70551f47 5920 return NULL;
2d091820
RD
5921 if (_argo0) {
5922 if (_argo0 == Py_None) { _arg0 = NULL; }
5923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
5924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
5925 return NULL;
5926 }
5927 }
ab9bc19b
RD
5928{
5929 wxPy_BEGIN_ALLOW_THREADS;
5930 _result = (long )wxDC_DeviceToLogicalXRel(_arg0,_arg1);
5931
5932 wxPy_END_ALLOW_THREADS;
4dfaa61e 5933 if (PyErr_Occurred()) return NULL;
ab9bc19b 5934} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
5935 return _resultobj;
5936}
5937
5938#define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
107e4716 5939static PyObject *_wrap_wxDC_DeviceToLogicalY(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5940 PyObject * _resultobj;
5941 long _result;
5942 wxDC * _arg0;
5943 long _arg1;
2d091820 5944 PyObject * _argo0 = 0;
107e4716 5945 char *_kwnames[] = { "self","y", NULL };
70551f47
RD
5946
5947 self = self;
107e4716 5948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_DeviceToLogicalY",_kwnames,&_argo0,&_arg1))
70551f47 5949 return NULL;
2d091820
RD
5950 if (_argo0) {
5951 if (_argo0 == Py_None) { _arg0 = NULL; }
5952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
5953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
5954 return NULL;
5955 }
5956 }
ab9bc19b
RD
5957{
5958 wxPy_BEGIN_ALLOW_THREADS;
5959 _result = (long )wxDC_DeviceToLogicalY(_arg0,_arg1);
5960
5961 wxPy_END_ALLOW_THREADS;
4dfaa61e 5962 if (PyErr_Occurred()) return NULL;
ab9bc19b 5963} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
5964 return _resultobj;
5965}
5966
5967#define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
107e4716 5968static PyObject *_wrap_wxDC_DeviceToLogicalYRel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5969 PyObject * _resultobj;
5970 long _result;
5971 wxDC * _arg0;
5972 long _arg1;
2d091820 5973 PyObject * _argo0 = 0;
107e4716 5974 char *_kwnames[] = { "self","y", NULL };
70551f47
RD
5975
5976 self = self;
107e4716 5977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_DeviceToLogicalYRel",_kwnames,&_argo0,&_arg1))
70551f47 5978 return NULL;
2d091820
RD
5979 if (_argo0) {
5980 if (_argo0 == Py_None) { _arg0 = NULL; }
5981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
5982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
5983 return NULL;
5984 }
5985 }
ab9bc19b
RD
5986{
5987 wxPy_BEGIN_ALLOW_THREADS;
5988 _result = (long )wxDC_DeviceToLogicalYRel(_arg0,_arg1);
5989
5990 wxPy_END_ALLOW_THREADS;
4dfaa61e 5991 if (PyErr_Occurred()) return NULL;
ab9bc19b 5992} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
5993 return _resultobj;
5994}
5995
5996#define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
107e4716 5997static PyObject *_wrap_wxDC_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5998 PyObject * _resultobj;
5999 wxDC * _arg0;
6000 long _arg1;
6001 long _arg2;
6002 long _arg3;
6003 long _arg4;
6004 long _arg5;
6005 long _arg6;
2d091820 6006 PyObject * _argo0 = 0;
107e4716 6007 char *_kwnames[] = { "self","x1","y1","x2","y2","xc","yc", NULL };
70551f47
RD
6008
6009 self = self;
107e4716 6010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollllll:wxDC_DrawArc",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
70551f47 6011 return NULL;
2d091820
RD
6012 if (_argo0) {
6013 if (_argo0 == Py_None) { _arg0 = NULL; }
6014 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
6015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
6016 return NULL;
6017 }
6018 }
ab9bc19b
RD
6019{
6020 wxPy_BEGIN_ALLOW_THREADS;
6021 wxDC_DrawArc(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
6022
6023 wxPy_END_ALLOW_THREADS;
4dfaa61e 6024 if (PyErr_Occurred()) return NULL;
ab9bc19b 6025} Py_INCREF(Py_None);
70551f47
RD
6026 _resultobj = Py_None;
6027 return _resultobj;
6028}
6029
d24a34bb 6030#define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
107e4716 6031static PyObject *_wrap_wxDC_DrawCircle(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
6032 PyObject * _resultobj;
6033 wxDC * _arg0;
6034 long _arg1;
6035 long _arg2;
6036 long _arg3;
2d091820 6037 PyObject * _argo0 = 0;
107e4716 6038 char *_kwnames[] = { "self","x","y","radius", NULL };
d24a34bb
RD
6039
6040 self = self;
107e4716 6041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olll:wxDC_DrawCircle",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
d24a34bb 6042 return NULL;
2d091820
RD
6043 if (_argo0) {
6044 if (_argo0 == Py_None) { _arg0 = NULL; }
6045 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
d24a34bb
RD
6046 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
6047 return NULL;
6048 }
6049 }
6050{
6051 wxPy_BEGIN_ALLOW_THREADS;
6052 wxDC_DrawCircle(_arg0,_arg1,_arg2,_arg3);
6053
6054 wxPy_END_ALLOW_THREADS;
4dfaa61e 6055 if (PyErr_Occurred()) return NULL;
d24a34bb
RD
6056} Py_INCREF(Py_None);
6057 _resultobj = Py_None;
6058 return _resultobj;
6059}
6060
70551f47 6061#define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
107e4716 6062static PyObject *_wrap_wxDC_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6063 PyObject * _resultobj;
6064 wxDC * _arg0;
6065 long _arg1;
6066 long _arg2;
6067 long _arg3;
6068 long _arg4;
2d091820 6069 PyObject * _argo0 = 0;
107e4716 6070 char *_kwnames[] = { "self","x","y","width","height", NULL };
70551f47
RD
6071
6072 self = self;
107e4716 6073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxDC_DrawEllipse",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
70551f47 6074 return NULL;
2d091820
RD
6075 if (_argo0) {
6076 if (_argo0 == Py_None) { _arg0 = NULL; }
6077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
6078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
6079 return NULL;
6080 }
6081 }
ab9bc19b
RD
6082{
6083 wxPy_BEGIN_ALLOW_THREADS;
6084 wxDC_DrawEllipse(_arg0,_arg1,_arg2,_arg3,_arg4);
6085
6086 wxPy_END_ALLOW_THREADS;
4dfaa61e 6087 if (PyErr_Occurred()) return NULL;
ab9bc19b 6088} Py_INCREF(Py_None);
70551f47
RD
6089 _resultobj = Py_None;
6090 return _resultobj;
6091}
6092
6093#define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
107e4716 6094static PyObject *_wrap_wxDC_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6095 PyObject * _resultobj;
6096 wxDC * _arg0;
6097 long _arg1;
6098 long _arg2;
6099 long _arg3;
6100 long _arg4;
6101 long _arg5;
6102 long _arg6;
2d091820 6103 PyObject * _argo0 = 0;
107e4716 6104 char *_kwnames[] = { "self","x","y","width","height","start","end", NULL };
70551f47
RD
6105
6106 self = self;
107e4716 6107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollllll:wxDC_DrawEllipticArc",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
70551f47 6108 return NULL;
2d091820
RD
6109 if (_argo0) {
6110 if (_argo0 == Py_None) { _arg0 = NULL; }
6111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
6112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
6113 return NULL;
6114 }
6115 }
ab9bc19b
RD
6116{
6117 wxPy_BEGIN_ALLOW_THREADS;
6118 wxDC_DrawEllipticArc(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
6119
6120 wxPy_END_ALLOW_THREADS;
4dfaa61e 6121 if (PyErr_Occurred()) return NULL;
ab9bc19b 6122} Py_INCREF(Py_None);
70551f47
RD
6123 _resultobj = Py_None;
6124 return _resultobj;
6125}
6126
6127#define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
107e4716 6128static PyObject *_wrap_wxDC_DrawIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6129 PyObject * _resultobj;
6130 wxDC * _arg0;
6131 wxIcon * _arg1;
6132 long _arg2;
6133 long _arg3;
2d091820
RD
6134 PyObject * _argo0 = 0;
6135 PyObject * _argo1 = 0;
107e4716 6136 char *_kwnames[] = { "self","icon","x","y", NULL };
70551f47
RD
6137
6138 self = self;
107e4716 6139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOll:wxDC_DrawIcon",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
70551f47 6140 return NULL;
2d091820
RD
6141 if (_argo0) {
6142 if (_argo0 == Py_None) { _arg0 = NULL; }
6143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
6144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
6145 return NULL;
6146 }
6147 }
2d091820
RD
6148 if (_argo1) {
6149 if (_argo1 == Py_None) { _arg1 = NULL; }
6150 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
70551f47
RD
6151 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
6152 return NULL;
6153 }
6154 }
ab9bc19b
RD
6155{
6156 wxPy_BEGIN_ALLOW_THREADS;
6157 wxDC_DrawIcon(_arg0,*_arg1,_arg2,_arg3);
6158
6159 wxPy_END_ALLOW_THREADS;
4dfaa61e 6160 if (PyErr_Occurred()) return NULL;
ab9bc19b 6161} Py_INCREF(Py_None);
70551f47
RD
6162 _resultobj = Py_None;
6163 return _resultobj;
6164}
6165
6166#define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
107e4716 6167static PyObject *_wrap_wxDC_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6168 PyObject * _resultobj;
6169 wxDC * _arg0;
6170 long _arg1;
6171 long _arg2;
6172 long _arg3;
6173 long _arg4;
2d091820 6174 PyObject * _argo0 = 0;
107e4716 6175 char *_kwnames[] = { "self","x1","y1","x2","y2", NULL };
70551f47
RD
6176
6177 self = self;
107e4716 6178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxDC_DrawLine",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
70551f47 6179 return NULL;
2d091820
RD
6180 if (_argo0) {
6181 if (_argo0 == Py_None) { _arg0 = NULL; }
6182 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
6183 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
6184 return NULL;
6185 }
6186 }
ab9bc19b
RD
6187{
6188 wxPy_BEGIN_ALLOW_THREADS;
6189 wxDC_DrawLine(_arg0,_arg1,_arg2,_arg3,_arg4);
6190
6191 wxPy_END_ALLOW_THREADS;
4dfaa61e 6192 if (PyErr_Occurred()) return NULL;
ab9bc19b 6193} Py_INCREF(Py_None);
70551f47
RD
6194 _resultobj = Py_None;
6195 return _resultobj;
6196}
6197
6198#define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
107e4716 6199static PyObject *_wrap_wxDC_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6200 PyObject * _resultobj;
6201 wxDC * _arg0;
6202 int _arg1;
6203 wxPoint * _arg2;
2d091820
RD
6204 long _arg3 = (long ) 0;
6205 long _arg4 = (long ) 0;
6206 PyObject * _argo0 = 0;
1c09ae54 6207 int NPOINTS;
70551f47 6208 PyObject * _obj2 = 0;
e02c03a4 6209 char *_kwnames[] = { "self","points","xoffset","yoffset", NULL };
70551f47
RD
6210
6211 self = self;
107e4716 6212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ll:wxDC_DrawLines",_kwnames,&_argo0,&_obj2,&_arg3,&_arg4))
70551f47 6213 return NULL;
2d091820
RD
6214 if (_argo0) {
6215 if (_argo0 == Py_None) { _arg0 = NULL; }
6216 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
6217 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
6218 return NULL;
6219 }
6220 }
6221 if (_obj2)
6222{
1c09ae54
RD
6223 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
6224 if (_arg2 == NULL) {
6225 return NULL;
6226 }
70551f47
RD
6227}
6228{
1c09ae54 6229 _arg1 = NPOINTS;
70551f47 6230}
ab9bc19b
RD
6231{
6232 wxPy_BEGIN_ALLOW_THREADS;
6233 wxDC_DrawLines(_arg0,_arg1,_arg2,_arg3,_arg4);
6234
6235 wxPy_END_ALLOW_THREADS;
4dfaa61e 6236 if (PyErr_Occurred()) return NULL;
ab9bc19b 6237} Py_INCREF(Py_None);
70551f47
RD
6238 _resultobj = Py_None;
6239{
6240 delete [] _arg2;
6241}
6242 return _resultobj;
6243}
6244
6245#define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
107e4716 6246static PyObject *_wrap_wxDC_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6247 PyObject * _resultobj;
6248 wxDC * _arg0;
6249 int _arg1;
6250 wxPoint * _arg2;
2d091820
RD
6251 long _arg3 = (long ) 0;
6252 long _arg4 = (long ) 0;
6253 int _arg5 = (int ) wxODDEVEN_RULE;
6254 PyObject * _argo0 = 0;
1c09ae54 6255 int NPOINTS;
70551f47 6256 PyObject * _obj2 = 0;
e02c03a4 6257 char *_kwnames[] = { "self","points","xoffset","yoffset","fill_style", NULL };
70551f47
RD
6258
6259 self = self;
107e4716 6260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|lli:wxDC_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3,&_arg4,&_arg5))
70551f47 6261 return NULL;
2d091820
RD
6262 if (_argo0) {
6263 if (_argo0 == Py_None) { _arg0 = NULL; }
6264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
6265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
6266 return NULL;
6267 }
6268 }
6269 if (_obj2)
6270{
1c09ae54
RD
6271 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
6272 if (_arg2 == NULL) {
6273 return NULL;
6274 }
70551f47
RD
6275}
6276{
1c09ae54 6277 _arg1 = NPOINTS;
70551f47 6278}
ab9bc19b
RD
6279{
6280 wxPy_BEGIN_ALLOW_THREADS;
6281 wxDC_DrawPolygon(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
6282
6283 wxPy_END_ALLOW_THREADS;
4dfaa61e 6284 if (PyErr_Occurred()) return NULL;
ab9bc19b 6285} Py_INCREF(Py_None);
70551f47
RD
6286 _resultobj = Py_None;
6287{
6288 delete [] _arg2;
6289}
6290 return _resultobj;
6291}
6292
6293#define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
107e4716 6294static PyObject *_wrap_wxDC_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6295 PyObject * _resultobj;
6296 wxDC * _arg0;
6297 long _arg1;
6298 long _arg2;
2d091820 6299 PyObject * _argo0 = 0;
107e4716 6300 char *_kwnames[] = { "self","x","y", NULL };
70551f47
RD
6301
6302 self = self;
107e4716 6303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxDC_DrawPoint",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 6304 return NULL;
2d091820
RD
6305 if (_argo0) {
6306 if (_argo0 == Py_None) { _arg0 = NULL; }
6307 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
6308 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
6309 return NULL;
6310 }
6311 }
ab9bc19b
RD
6312{
6313 wxPy_BEGIN_ALLOW_THREADS;
6314 wxDC_DrawPoint(_arg0,_arg1,_arg2);
6315
6316 wxPy_END_ALLOW_THREADS;
4dfaa61e 6317 if (PyErr_Occurred()) return NULL;
ab9bc19b 6318} Py_INCREF(Py_None);
70551f47
RD
6319 _resultobj = Py_None;
6320 return _resultobj;
6321}
6322
6323#define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
107e4716 6324static PyObject *_wrap_wxDC_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6325 PyObject * _resultobj;
6326 wxDC * _arg0;
6327 long _arg1;
6328 long _arg2;
6329 long _arg3;
6330 long _arg4;
2d091820 6331 PyObject * _argo0 = 0;
107e4716 6332 char *_kwnames[] = { "self","x","y","width","height", NULL };
70551f47
RD
6333
6334 self = self;
107e4716 6335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxDC_DrawRectangle",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
70551f47 6336 return NULL;
2d091820
RD
6337 if (_argo0) {
6338 if (_argo0 == Py_None) { _arg0 = NULL; }
6339 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
6340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
6341 return NULL;
6342 }
6343 }
ab9bc19b
RD
6344{
6345 wxPy_BEGIN_ALLOW_THREADS;
6346 wxDC_DrawRectangle(_arg0,_arg1,_arg2,_arg3,_arg4);
6347
6348 wxPy_END_ALLOW_THREADS;
4dfaa61e 6349 if (PyErr_Occurred()) return NULL;
ab9bc19b 6350} Py_INCREF(Py_None);
70551f47
RD
6351 _resultobj = Py_None;
6352 return _resultobj;
6353}
6354
56f5d962
RD
6355#define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6356static PyObject *_wrap_wxDC_DrawRotatedText(PyObject *self, PyObject *args, PyObject *kwargs) {
6357 PyObject * _resultobj;
6358 wxDC * _arg0;
6359 wxString * _arg1;
6360 wxCoord _arg2;
6361 wxCoord _arg3;
6362 double _arg4;
6363 PyObject * _argo0 = 0;
6364 PyObject * _obj1 = 0;
6365 char *_kwnames[] = { "self","text","x","y","angle", NULL };
6366
6367 self = self;
6368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiid:wxDC_DrawRotatedText",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_arg4))
6369 return NULL;
6370 if (_argo0) {
6371 if (_argo0 == Py_None) { _arg0 = NULL; }
6372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
6373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
6374 return NULL;
6375 }
6376 }
6377{
2cd2fac8
RD
6378#if PYTHON_API_VERSION >= 1009
6379 char* tmpPtr; int tmpSize;
6380 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 6381 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
6382 return NULL;
6383 }
6384 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6385 return NULL;
6386 _arg1 = new wxString(tmpPtr, tmpSize);
6387#else
56f5d962
RD
6388 if (!PyString_Check(_obj1)) {
6389 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6390 return NULL;
6391 }
2cd2fac8
RD
6392 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6393#endif
56f5d962
RD
6394}
6395{
6396 wxPy_BEGIN_ALLOW_THREADS;
6397 wxDC_DrawRotatedText(_arg0,*_arg1,_arg2,_arg3,_arg4);
6398
6399 wxPy_END_ALLOW_THREADS;
4dfaa61e 6400 if (PyErr_Occurred()) return NULL;
56f5d962
RD
6401} Py_INCREF(Py_None);
6402 _resultobj = Py_None;
6403{
6404 if (_obj1)
6405 delete _arg1;
6406}
6407 return _resultobj;
6408}
6409
70551f47 6410#define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
107e4716 6411static PyObject *_wrap_wxDC_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6412 PyObject * _resultobj;
6413 wxDC * _arg0;
6414 long _arg1;
6415 long _arg2;
6416 long _arg3;
6417 long _arg4;
2d091820
RD
6418 long _arg5 = (long ) 20;
6419 PyObject * _argo0 = 0;
107e4716 6420 char *_kwnames[] = { "self","x","y","width","height","radius", NULL };
70551f47
RD
6421
6422 self = self;
107e4716 6423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
70551f47 6424 return NULL;
2d091820
RD
6425 if (_argo0) {
6426 if (_argo0 == Py_None) { _arg0 = NULL; }
6427 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
6428 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
6429 return NULL;
6430 }
6431 }
ab9bc19b
RD
6432{
6433 wxPy_BEGIN_ALLOW_THREADS;
6434 wxDC_DrawRoundedRectangle(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
6435
6436 wxPy_END_ALLOW_THREADS;
4dfaa61e 6437 if (PyErr_Occurred()) return NULL;
ab9bc19b 6438} Py_INCREF(Py_None);
70551f47
RD
6439 _resultobj = Py_None;
6440 return _resultobj;
6441}
6442
6443#define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
107e4716 6444static PyObject *_wrap_wxDC_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6445 PyObject * _resultobj;
6446 wxDC * _arg0;
6447 int _arg1;
6448 wxPoint * _arg2;
2d091820 6449 PyObject * _argo0 = 0;
1c09ae54 6450 int NPOINTS;
70551f47 6451 PyObject * _obj2 = 0;
e02c03a4 6452 char *_kwnames[] = { "self","points", NULL };
70551f47
RD
6453
6454 self = self;
107e4716 6455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_DrawSpline",_kwnames,&_argo0,&_obj2))
70551f47 6456 return NULL;
2d091820
RD
6457 if (_argo0) {
6458 if (_argo0 == Py_None) { _arg0 = NULL; }
6459 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
6460 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
6461 return NULL;
6462 }
6463 }
6464 if (_obj2)
6465{
1c09ae54
RD
6466 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
6467 if (_arg2 == NULL) {
6468 return NULL;
6469 }
70551f47
RD
6470}
6471{
1c09ae54 6472 _arg1 = NPOINTS;
70551f47 6473}
ab9bc19b
RD
6474{
6475 wxPy_BEGIN_ALLOW_THREADS;
6476 wxDC_DrawSpline(_arg0,_arg1,_arg2);
6477
6478 wxPy_END_ALLOW_THREADS;
4dfaa61e 6479 if (PyErr_Occurred()) return NULL;
ab9bc19b 6480} Py_INCREF(Py_None);
70551f47
RD
6481 _resultobj = Py_None;
6482{
6483 delete [] _arg2;
6484}
6485 return _resultobj;
6486}
6487
6488#define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
107e4716 6489static PyObject *_wrap_wxDC_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6490 PyObject * _resultobj;
6491 wxDC * _arg0;
6492 wxString * _arg1;
6493 long _arg2;
6494 long _arg3;
2d091820 6495 PyObject * _argo0 = 0;
70551f47 6496 PyObject * _obj1 = 0;
107e4716 6497 char *_kwnames[] = { "self","text","x","y", NULL };
70551f47
RD
6498
6499 self = self;
107e4716 6500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOll:wxDC_DrawText",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
70551f47 6501 return NULL;
2d091820
RD
6502 if (_argo0) {
6503 if (_argo0 == Py_None) { _arg0 = NULL; }
6504 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
6505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
6506 return NULL;
6507 }
6508 }
6509{
2cd2fac8
RD
6510#if PYTHON_API_VERSION >= 1009
6511 char* tmpPtr; int tmpSize;
6512 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 6513 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
6514 return NULL;
6515 }
6516 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6517 return NULL;
6518 _arg1 = new wxString(tmpPtr, tmpSize);
6519#else
70551f47
RD
6520 if (!PyString_Check(_obj1)) {
6521 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6522 return NULL;
6523 }
2cd2fac8
RD
6524 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6525#endif
70551f47 6526}
ab9bc19b
RD
6527{
6528 wxPy_BEGIN_ALLOW_THREADS;
6529 wxDC_DrawText(_arg0,*_arg1,_arg2,_arg3);
6530
6531 wxPy_END_ALLOW_THREADS;
4dfaa61e 6532 if (PyErr_Occurred()) return NULL;
ab9bc19b 6533} Py_INCREF(Py_None);
70551f47
RD
6534 _resultobj = Py_None;
6535{
6536 if (_obj1)
6537 delete _arg1;
6538}
6539 return _resultobj;
6540}
6541
6542#define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
107e4716 6543static PyObject *_wrap_wxDC_EndDoc(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6544 PyObject * _resultobj;
6545 wxDC * _arg0;
2d091820 6546 PyObject * _argo0 = 0;
107e4716 6547 char *_kwnames[] = { "self", NULL };
70551f47
RD
6548
6549 self = self;
107e4716 6550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_EndDoc",_kwnames,&_argo0))
70551f47 6551 return NULL;
2d091820
RD
6552 if (_argo0) {
6553 if (_argo0 == Py_None) { _arg0 = NULL; }
6554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
6555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
6556 return NULL;
6557 }
6558 }
ab9bc19b
RD
6559{
6560 wxPy_BEGIN_ALLOW_THREADS;
6561 wxDC_EndDoc(_arg0);
6562
6563 wxPy_END_ALLOW_THREADS;
4dfaa61e 6564 if (PyErr_Occurred()) return NULL;
ab9bc19b 6565} Py_INCREF(Py_None);
70551f47
RD
6566 _resultobj = Py_None;
6567 return _resultobj;
6568}
6569
6570#define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
107e4716 6571static PyObject *_wrap_wxDC_EndDrawing(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6572 PyObject * _resultobj;
6573 wxDC * _arg0;
2d091820 6574 PyObject * _argo0 = 0;
107e4716 6575 char *_kwnames[] = { "self", NULL };
70551f47
RD
6576
6577 self = self;
107e4716 6578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_EndDrawing",_kwnames,&_argo0))
70551f47 6579 return NULL;
2d091820
RD
6580 if (_argo0) {
6581 if (_argo0 == Py_None) { _arg0 = NULL; }
6582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
6583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
6584 return NULL;
6585 }
6586 }
ab9bc19b
RD
6587{
6588 wxPy_BEGIN_ALLOW_THREADS;
6589 wxDC_EndDrawing(_arg0);
6590
6591 wxPy_END_ALLOW_THREADS;
4dfaa61e 6592 if (PyErr_Occurred()) return NULL;
ab9bc19b 6593} Py_INCREF(Py_None);
70551f47
RD
6594 _resultobj = Py_None;
6595 return _resultobj;
6596}
6597
6598#define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
107e4716 6599static PyObject *_wrap_wxDC_EndPage(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6600 PyObject * _resultobj;
6601 wxDC * _arg0;
2d091820 6602 PyObject * _argo0 = 0;
107e4716 6603 char *_kwnames[] = { "self", NULL };
70551f47
RD
6604
6605 self = self;
107e4716 6606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_EndPage",_kwnames,&_argo0))
70551f47 6607 return NULL;
2d091820
RD
6608 if (_argo0) {
6609 if (_argo0 == Py_None) { _arg0 = NULL; }
6610 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
6611 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
6612 return NULL;
6613 }
6614 }
ab9bc19b
RD
6615{
6616 wxPy_BEGIN_ALLOW_THREADS;
6617 wxDC_EndPage(_arg0);
6618
6619 wxPy_END_ALLOW_THREADS;
4dfaa61e 6620 if (PyErr_Occurred()) return NULL;
ab9bc19b 6621} Py_INCREF(Py_None);
70551f47
RD
6622 _resultobj = Py_None;
6623 return _resultobj;
6624}
6625
6626#define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
107e4716 6627static PyObject *_wrap_wxDC_FloodFill(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6628 PyObject * _resultobj;
6629 wxDC * _arg0;
6630 long _arg1;
6631 long _arg2;
6632 wxColour * _arg3;
2d091820
RD
6633 int _arg4 = (int ) wxFLOOD_SURFACE;
6634 PyObject * _argo0 = 0;
f6bcfd97
BP
6635 wxColour temp;
6636 PyObject * _obj3 = 0;
107e4716 6637 char *_kwnames[] = { "self","x","y","colour","style", NULL };
70551f47
RD
6638
6639 self = self;
f6bcfd97 6640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO|i:wxDC_FloodFill",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4))
70551f47 6641 return NULL;
2d091820
RD
6642 if (_argo0) {
6643 if (_argo0 == Py_None) { _arg0 = NULL; }
6644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
6645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
6646 return NULL;
6647 }
6648 }
f6bcfd97
BP
6649{
6650 _arg3 = &temp;
6651 if (! wxColour_helper(_obj3, &_arg3))
70551f47 6652 return NULL;
f6bcfd97 6653}
ab9bc19b
RD
6654{
6655 wxPy_BEGIN_ALLOW_THREADS;
6656 wxDC_FloodFill(_arg0,_arg1,_arg2,*_arg3,_arg4);
6657
6658 wxPy_END_ALLOW_THREADS;
4dfaa61e 6659 if (PyErr_Occurred()) return NULL;
ab9bc19b 6660} Py_INCREF(Py_None);
70551f47
RD
6661 _resultobj = Py_None;
6662 return _resultobj;
6663}
6664
6665#define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
107e4716 6666static PyObject *_wrap_wxDC_GetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6667 PyObject * _resultobj;
6668 wxBrush * _result;
6669 wxDC * _arg0;
2d091820 6670 PyObject * _argo0 = 0;
107e4716 6671 char *_kwnames[] = { "self", NULL };
70551f47
RD
6672 char _ptemp[128];
6673
6674 self = self;
107e4716 6675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetBackground",_kwnames,&_argo0))
70551f47 6676 return NULL;
2d091820
RD
6677 if (_argo0) {
6678 if (_argo0 == Py_None) { _arg0 = NULL; }
6679 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
6680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
6681 return NULL;
6682 }
6683 }
ab9bc19b
RD
6684{
6685 wxPy_BEGIN_ALLOW_THREADS;
3e212503 6686 _result = new wxBrush (wxDC_GetBackground(_arg0));
ab9bc19b
RD
6687
6688 wxPy_END_ALLOW_THREADS;
4dfaa61e 6689 if (PyErr_Occurred()) return NULL;
3e212503
RD
6690} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBrush_p");
6691 _resultobj = Py_BuildValue("s",_ptemp);
70551f47
RD
6692 return _resultobj;
6693}
6694
6695#define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
107e4716 6696static PyObject *_wrap_wxDC_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6697 PyObject * _resultobj;
6698 wxBrush * _result;
6699 wxDC * _arg0;
2d091820 6700 PyObject * _argo0 = 0;
107e4716 6701 char *_kwnames[] = { "self", NULL };
70551f47
RD
6702 char _ptemp[128];
6703
6704 self = self;
107e4716 6705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetBrush",_kwnames,&_argo0))
70551f47 6706 return NULL;
2d091820
RD
6707 if (_argo0) {
6708 if (_argo0 == Py_None) { _arg0 = NULL; }
6709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
6710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
6711 return NULL;
6712 }
6713 }
ab9bc19b
RD
6714{
6715 wxPy_BEGIN_ALLOW_THREADS;
3e212503 6716 _result = new wxBrush (wxDC_GetBrush(_arg0));
ab9bc19b
RD
6717
6718 wxPy_END_ALLOW_THREADS;
4dfaa61e 6719 if (PyErr_Occurred()) return NULL;
3e212503
RD
6720} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBrush_p");
6721 _resultobj = Py_BuildValue("s",_ptemp);
70551f47
RD
6722 return _resultobj;
6723}
6724
6725#define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
107e4716 6726static PyObject *_wrap_wxDC_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6727 PyObject * _resultobj;
6728 long _result;
6729 wxDC * _arg0;
2d091820 6730 PyObject * _argo0 = 0;
107e4716 6731 char *_kwnames[] = { "self", NULL };
70551f47
RD
6732
6733 self = self;
107e4716 6734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetCharHeight",_kwnames,&_argo0))
70551f47 6735 return NULL;
2d091820
RD
6736 if (_argo0) {
6737 if (_argo0 == Py_None) { _arg0 = NULL; }
6738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
6739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
6740 return NULL;
6741 }
6742 }
ab9bc19b
RD
6743{
6744 wxPy_BEGIN_ALLOW_THREADS;
6745 _result = (long )wxDC_GetCharHeight(_arg0);
6746
6747 wxPy_END_ALLOW_THREADS;
4dfaa61e 6748 if (PyErr_Occurred()) return NULL;
ab9bc19b 6749} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
6750 return _resultobj;
6751}
6752
6753#define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
107e4716 6754static PyObject *_wrap_wxDC_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6755 PyObject * _resultobj;
6756 long _result;
6757 wxDC * _arg0;
2d091820 6758 PyObject * _argo0 = 0;
107e4716 6759 char *_kwnames[] = { "self", NULL };
70551f47
RD
6760
6761 self = self;
107e4716 6762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetCharWidth",_kwnames,&_argo0))
70551f47 6763 return NULL;
2d091820
RD
6764 if (_argo0) {
6765 if (_argo0 == Py_None) { _arg0 = NULL; }
6766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
6767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
6768 return NULL;
6769 }
6770 }
ab9bc19b
RD
6771{
6772 wxPy_BEGIN_ALLOW_THREADS;
6773 _result = (long )wxDC_GetCharWidth(_arg0);
6774
6775 wxPy_END_ALLOW_THREADS;
4dfaa61e 6776 if (PyErr_Occurred()) return NULL;
ab9bc19b 6777} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
6778 return _resultobj;
6779}
6780
6781#define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
107e4716 6782static PyObject *_wrap_wxDC_GetClippingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6783 PyObject * _resultobj;
6784 wxDC * _arg0;
6785 long * _arg1;
6786 long temp;
6787 long * _arg2;
6788 long temp0;
6789 long * _arg3;
6790 long temp1;
6791 long * _arg4;
6792 long temp2;
2d091820 6793 PyObject * _argo0 = 0;
107e4716 6794 char *_kwnames[] = { "self", NULL };
70551f47
RD
6795
6796 self = self;
6797{
6798 _arg1 = &temp;
6799}
6800{
6801 _arg2 = &temp0;
6802}
6803{
6804 _arg3 = &temp1;
6805}
6806{
6807 _arg4 = &temp2;
6808}
107e4716 6809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetClippingBox",_kwnames,&_argo0))
70551f47 6810 return NULL;
2d091820
RD
6811 if (_argo0) {
6812 if (_argo0 == Py_None) { _arg0 = NULL; }
6813 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
6814 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
6815 return NULL;
6816 }
6817 }
ab9bc19b
RD
6818{
6819 wxPy_BEGIN_ALLOW_THREADS;
6820 wxDC_GetClippingBox(_arg0,_arg1,_arg2,_arg3,_arg4);
6821
6822 wxPy_END_ALLOW_THREADS;
4dfaa61e 6823 if (PyErr_Occurred()) return NULL;
ab9bc19b 6824} Py_INCREF(Py_None);
70551f47
RD
6825 _resultobj = Py_None;
6826{
6827 PyObject *o;
6828 o = PyInt_FromLong((long) (*_arg1));
6829 _resultobj = t_output_helper(_resultobj, o);
6830}
6831{
6832 PyObject *o;
6833 o = PyInt_FromLong((long) (*_arg2));
6834 _resultobj = t_output_helper(_resultobj, o);
6835}
6836{
6837 PyObject *o;
6838 o = PyInt_FromLong((long) (*_arg3));
6839 _resultobj = t_output_helper(_resultobj, o);
6840}
6841{
6842 PyObject *o;
6843 o = PyInt_FromLong((long) (*_arg4));
6844 _resultobj = t_output_helper(_resultobj, o);
6845}
6846 return _resultobj;
6847}
6848
6849#define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
107e4716 6850static PyObject *_wrap_wxDC_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6851 PyObject * _resultobj;
6852 wxFont * _result;
6853 wxDC * _arg0;
2d091820 6854 PyObject * _argo0 = 0;
107e4716 6855 char *_kwnames[] = { "self", NULL };
70551f47
RD
6856 char _ptemp[128];
6857
6858 self = self;
107e4716 6859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetFont",_kwnames,&_argo0))
70551f47 6860 return NULL;
2d091820
RD
6861 if (_argo0) {
6862 if (_argo0 == Py_None) { _arg0 = NULL; }
6863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
6864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
6865 return NULL;
6866 }
6867 }
ab9bc19b
RD
6868{
6869 wxPy_BEGIN_ALLOW_THREADS;
3e212503 6870 _result = new wxFont (wxDC_GetFont(_arg0));
ab9bc19b
RD
6871
6872 wxPy_END_ALLOW_THREADS;
4dfaa61e 6873 if (PyErr_Occurred()) return NULL;
3e212503
RD
6874} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
6875 _resultobj = Py_BuildValue("s",_ptemp);
70551f47
RD
6876 return _resultobj;
6877}
6878
6879#define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
107e4716 6880static PyObject *_wrap_wxDC_GetLogicalFunction(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6881 PyObject * _resultobj;
6882 int _result;
6883 wxDC * _arg0;
2d091820 6884 PyObject * _argo0 = 0;
107e4716 6885 char *_kwnames[] = { "self", NULL };
70551f47
RD
6886
6887 self = self;
107e4716 6888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetLogicalFunction",_kwnames,&_argo0))
70551f47 6889 return NULL;
2d091820
RD
6890 if (_argo0) {
6891 if (_argo0 == Py_None) { _arg0 = NULL; }
6892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
6893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
6894 return NULL;
6895 }
6896 }
ab9bc19b
RD
6897{
6898 wxPy_BEGIN_ALLOW_THREADS;
6899 _result = (int )wxDC_GetLogicalFunction(_arg0);
6900
6901 wxPy_END_ALLOW_THREADS;
4dfaa61e 6902 if (PyErr_Occurred()) return NULL;
ab9bc19b 6903} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
6904 return _resultobj;
6905}
6906
e02c03a4
RD
6907#define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
6908static PyObject *_wrap_wxDC_GetLogicalScale(PyObject *self, PyObject *args, PyObject *kwargs) {
6909 PyObject * _resultobj;
6910 wxDC * _arg0;
6911 double * _arg1;
6912 double temp;
6913 double * _arg2;
6914 double temp0;
6915 PyObject * _argo0 = 0;
6916 char *_kwnames[] = { "self", NULL };
6917
6918 self = self;
6919{
6920 _arg1 = &temp;
6921}
6922{
6923 _arg2 = &temp0;
6924}
6925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetLogicalScale",_kwnames,&_argo0))
6926 return NULL;
6927 if (_argo0) {
6928 if (_argo0 == Py_None) { _arg0 = NULL; }
6929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
6930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
6931 return NULL;
6932 }
6933 }
6934{
6935 wxPy_BEGIN_ALLOW_THREADS;
6936 wxDC_GetLogicalScale(_arg0,_arg1,_arg2);
6937
6938 wxPy_END_ALLOW_THREADS;
4dfaa61e 6939 if (PyErr_Occurred()) return NULL;
e02c03a4
RD
6940} Py_INCREF(Py_None);
6941 _resultobj = Py_None;
6942{
6943 PyObject *o;
6944 o = PyFloat_FromDouble((double) (*_arg1));
6945 _resultobj = t_output_helper(_resultobj, o);
6946}
6947{
6948 PyObject *o;
6949 o = PyFloat_FromDouble((double) (*_arg2));
6950 _resultobj = t_output_helper(_resultobj, o);
6951}
6952 return _resultobj;
6953}
6954
70551f47 6955#define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
107e4716 6956static PyObject *_wrap_wxDC_GetMapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6957 PyObject * _resultobj;
6958 int _result;
6959 wxDC * _arg0;
2d091820 6960 PyObject * _argo0 = 0;
107e4716 6961 char *_kwnames[] = { "self", NULL };
70551f47
RD
6962
6963 self = self;
107e4716 6964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetMapMode",_kwnames,&_argo0))
70551f47 6965 return NULL;
2d091820
RD
6966 if (_argo0) {
6967 if (_argo0 == Py_None) { _arg0 = NULL; }
6968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
6969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
6970 return NULL;
6971 }
6972 }
ab9bc19b
RD
6973{
6974 wxPy_BEGIN_ALLOW_THREADS;
6975 _result = (int )wxDC_GetMapMode(_arg0);
6976
6977 wxPy_END_ALLOW_THREADS;
4dfaa61e 6978 if (PyErr_Occurred()) return NULL;
ab9bc19b 6979} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
6980 return _resultobj;
6981}
6982
6983#define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
107e4716 6984static PyObject *_wrap_wxDC_GetOptimization(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6985 PyObject * _resultobj;
6986 bool _result;
6987 wxDC * _arg0;
2d091820 6988 PyObject * _argo0 = 0;
107e4716 6989 char *_kwnames[] = { "self", NULL };
70551f47
RD
6990
6991 self = self;
107e4716 6992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetOptimization",_kwnames,&_argo0))
70551f47 6993 return NULL;
2d091820
RD
6994 if (_argo0) {
6995 if (_argo0 == Py_None) { _arg0 = NULL; }
6996 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
6997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
6998 return NULL;
6999 }
7000 }
ab9bc19b
RD
7001{
7002 wxPy_BEGIN_ALLOW_THREADS;
7003 _result = (bool )wxDC_GetOptimization(_arg0);
7004
7005 wxPy_END_ALLOW_THREADS;
4dfaa61e 7006 if (PyErr_Occurred()) return NULL;
ab9bc19b 7007} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
7008 return _resultobj;
7009}
7010
7011#define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
107e4716 7012static PyObject *_wrap_wxDC_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7013 PyObject * _resultobj;
7014 wxPen * _result;
7015 wxDC * _arg0;
2d091820 7016 PyObject * _argo0 = 0;
107e4716 7017 char *_kwnames[] = { "self", NULL };
70551f47
RD
7018 char _ptemp[128];
7019
7020 self = self;
107e4716 7021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetPen",_kwnames,&_argo0))
70551f47 7022 return NULL;
2d091820
RD
7023 if (_argo0) {
7024 if (_argo0 == Py_None) { _arg0 = NULL; }
7025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
7026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
7027 return NULL;
7028 }
7029 }
ab9bc19b
RD
7030{
7031 wxPy_BEGIN_ALLOW_THREADS;
3e212503 7032 _result = new wxPen (wxDC_GetPen(_arg0));
ab9bc19b
RD
7033
7034 wxPy_END_ALLOW_THREADS;
4dfaa61e 7035 if (PyErr_Occurred()) return NULL;
3e212503
RD
7036} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPen_p");
7037 _resultobj = Py_BuildValue("s",_ptemp);
70551f47
RD
7038 return _resultobj;
7039}
7040
7041static wxColour * wxDC_GetPixel(wxDC *self,long x,long y) {
7042 wxColour* wc = new wxColour();
7043 self->GetPixel(x, y, wc);
7044 return wc;
7045 }
107e4716 7046static PyObject *_wrap_wxDC_GetPixel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7047 PyObject * _resultobj;
7048 wxColour * _result;
7049 wxDC * _arg0;
7050 long _arg1;
7051 long _arg2;
2d091820 7052 PyObject * _argo0 = 0;
107e4716 7053 char *_kwnames[] = { "self","x","y", NULL };
70551f47
RD
7054 char _ptemp[128];
7055
7056 self = self;
107e4716 7057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxDC_GetPixel",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 7058 return NULL;
2d091820
RD
7059 if (_argo0) {
7060 if (_argo0 == Py_None) { _arg0 = NULL; }
7061 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
7062 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
7063 return NULL;
7064 }
7065 }
ab9bc19b
RD
7066{
7067 wxPy_BEGIN_ALLOW_THREADS;
7068 _result = (wxColour *)wxDC_GetPixel(_arg0,_arg1,_arg2);
7069
7070 wxPy_END_ALLOW_THREADS;
4dfaa61e 7071 if (PyErr_Occurred()) return NULL;
2d091820
RD
7072} if (_result) {
7073 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
7074 _resultobj = Py_BuildValue("s",_ptemp);
7075 } else {
7076 Py_INCREF(Py_None);
7077 _resultobj = Py_None;
7078 }
70551f47
RD
7079 return _resultobj;
7080}
7081
d24a34bb 7082#define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
107e4716 7083static PyObject *_wrap_wxDC_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7084 PyObject * _resultobj;
7085 wxDC * _arg0;
7086 int * _arg1;
7087 int temp;
7088 int * _arg2;
7089 int temp0;
2d091820 7090 PyObject * _argo0 = 0;
107e4716 7091 char *_kwnames[] = { "self", NULL };
70551f47
RD
7092
7093 self = self;
7094{
7095 _arg1 = &temp;
7096}
7097{
7098 _arg2 = &temp0;
7099}
107e4716 7100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetSizeTuple",_kwnames,&_argo0))
70551f47 7101 return NULL;
2d091820
RD
7102 if (_argo0) {
7103 if (_argo0 == Py_None) { _arg0 = NULL; }
7104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
d24a34bb 7105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
70551f47
RD
7106 return NULL;
7107 }
7108 }
ab9bc19b
RD
7109{
7110 wxPy_BEGIN_ALLOW_THREADS;
d24a34bb 7111 wxDC_GetSizeTuple(_arg0,_arg1,_arg2);
ab9bc19b
RD
7112
7113 wxPy_END_ALLOW_THREADS;
4dfaa61e 7114 if (PyErr_Occurred()) return NULL;
ab9bc19b 7115} Py_INCREF(Py_None);
70551f47
RD
7116 _resultobj = Py_None;
7117{
7118 PyObject *o;
7119 o = PyInt_FromLong((long) (*_arg1));
7120 _resultobj = t_output_helper(_resultobj, o);
7121}
7122{
7123 PyObject *o;
7124 o = PyInt_FromLong((long) (*_arg2));
7125 _resultobj = t_output_helper(_resultobj, o);
7126}
7127 return _resultobj;
7128}
7129
d24a34bb 7130#define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
107e4716 7131static PyObject *_wrap_wxDC_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
7132 PyObject * _resultobj;
7133 wxSize * _result;
7134 wxDC * _arg0;
2d091820 7135 PyObject * _argo0 = 0;
107e4716 7136 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
7137 char _ptemp[128];
7138
7139 self = self;
107e4716 7140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetSize",_kwnames,&_argo0))
d24a34bb 7141 return NULL;
2d091820
RD
7142 if (_argo0) {
7143 if (_argo0 == Py_None) { _arg0 = NULL; }
7144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
d24a34bb
RD
7145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
7146 return NULL;
7147 }
7148 }
7149{
7150 wxPy_BEGIN_ALLOW_THREADS;
7151 _result = new wxSize (wxDC_GetSize(_arg0));
7152
7153 wxPy_END_ALLOW_THREADS;
4dfaa61e 7154 if (PyErr_Occurred()) return NULL;
d24a34bb
RD
7155} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
7156 _resultobj = Py_BuildValue("s",_ptemp);
7157 return _resultobj;
7158}
7159
e02c03a4
RD
7160#define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
7161static PyObject *_wrap_wxDC_GetSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
7162 PyObject * _resultobj;
7163 wxSize * _result;
7164 wxDC * _arg0;
7165 PyObject * _argo0 = 0;
7166 char *_kwnames[] = { "self", NULL };
7167 char _ptemp[128];
7168
7169 self = self;
7170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetSizeMM",_kwnames,&_argo0))
7171 return NULL;
7172 if (_argo0) {
7173 if (_argo0 == Py_None) { _arg0 = NULL; }
7174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
7175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
7176 return NULL;
7177 }
7178 }
7179{
7180 wxPy_BEGIN_ALLOW_THREADS;
7181 _result = new wxSize (wxDC_GetSizeMM(_arg0));
7182
7183 wxPy_END_ALLOW_THREADS;
4dfaa61e 7184 if (PyErr_Occurred()) return NULL;
e02c03a4
RD
7185} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
7186 _resultobj = Py_BuildValue("s",_ptemp);
7187 return _resultobj;
7188}
7189
70551f47 7190#define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
107e4716 7191static PyObject *_wrap_wxDC_GetTextBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7192 PyObject * _resultobj;
7193 wxColour * _result;
7194 wxDC * _arg0;
2d091820 7195 PyObject * _argo0 = 0;
107e4716 7196 char *_kwnames[] = { "self", NULL };
70551f47
RD
7197 char _ptemp[128];
7198
7199 self = self;
107e4716 7200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetTextBackground",_kwnames,&_argo0))
70551f47 7201 return NULL;
2d091820
RD
7202 if (_argo0) {
7203 if (_argo0 == Py_None) { _arg0 = NULL; }
7204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
7205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
7206 return NULL;
7207 }
7208 }
ab9bc19b
RD
7209{
7210 wxPy_BEGIN_ALLOW_THREADS;
84a81942 7211 _result = new wxColour (wxDC_GetTextBackground(_arg0));
ab9bc19b
RD
7212
7213 wxPy_END_ALLOW_THREADS;
4dfaa61e 7214 if (PyErr_Occurred()) return NULL;
84a81942
RD
7215} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
7216 _resultobj = Py_BuildValue("s",_ptemp);
70551f47
RD
7217 return _resultobj;
7218}
7219
21f8d7ea 7220#define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
107e4716 7221static PyObject *_wrap_wxDC_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
7222 PyObject * _resultobj;
7223 wxDC * _arg0;
7224 wxString * _arg1;
7225 long * _arg2;
7226 long temp;
7227 long * _arg3;
7228 long temp0;
2d091820 7229 PyObject * _argo0 = 0;
21f8d7ea 7230 PyObject * _obj1 = 0;
107e4716 7231 char *_kwnames[] = { "self","string", NULL };
21f8d7ea
RD
7232
7233 self = self;
7234{
7235 _arg2 = &temp;
7236}
7237{
7238 _arg3 = &temp0;
7239}
107e4716 7240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_GetTextExtent",_kwnames,&_argo0,&_obj1))
21f8d7ea 7241 return NULL;
2d091820
RD
7242 if (_argo0) {
7243 if (_argo0 == Py_None) { _arg0 = NULL; }
7244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
21f8d7ea
RD
7245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
7246 return NULL;
7247 }
7248 }
7249{
2cd2fac8
RD
7250#if PYTHON_API_VERSION >= 1009
7251 char* tmpPtr; int tmpSize;
7252 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 7253 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
7254 return NULL;
7255 }
7256 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
7257 return NULL;
7258 _arg1 = new wxString(tmpPtr, tmpSize);
7259#else
21f8d7ea
RD
7260 if (!PyString_Check(_obj1)) {
7261 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7262 return NULL;
7263 }
2cd2fac8
RD
7264 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
7265#endif
21f8d7ea 7266}
ab9bc19b
RD
7267{
7268 wxPy_BEGIN_ALLOW_THREADS;
7269 wxDC_GetTextExtent(_arg0,*_arg1,_arg2,_arg3);
7270
7271 wxPy_END_ALLOW_THREADS;
4dfaa61e 7272 if (PyErr_Occurred()) return NULL;
ab9bc19b 7273} Py_INCREF(Py_None);
21f8d7ea
RD
7274 _resultobj = Py_None;
7275{
7276 PyObject *o;
7277 o = PyInt_FromLong((long) (*_arg2));
7278 _resultobj = t_output_helper(_resultobj, o);
7279}
7280{
7281 PyObject *o;
7282 o = PyInt_FromLong((long) (*_arg3));
7283 _resultobj = t_output_helper(_resultobj, o);
7284}
7285{
7286 if (_obj1)
7287 delete _arg1;
7288}
7289 return _resultobj;
7290}
7291
7292#define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
107e4716 7293static PyObject *_wrap_wxDC_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7294 PyObject * _resultobj;
7295 wxDC * _arg0;
7296 wxString * _arg1;
7297 long * _arg2;
7298 long temp;
7299 long * _arg3;
7300 long temp0;
7301 long * _arg4;
7302 long temp1;
7303 long * _arg5;
7304 long temp2;
2d091820
RD
7305 wxFont * _arg6 = (wxFont *) NULL;
7306 PyObject * _argo0 = 0;
70551f47 7307 PyObject * _obj1 = 0;
2d091820 7308 PyObject * _argo6 = 0;
107e4716 7309 char *_kwnames[] = { "self","string","font", NULL };
70551f47
RD
7310
7311 self = self;
7312{
7313 _arg2 = &temp;
7314}
7315{
7316 _arg3 = &temp0;
7317}
7318{
7319 _arg4 = &temp1;
7320}
7321{
7322 _arg5 = &temp2;
7323}
107e4716 7324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxDC_GetFullTextExtent",_kwnames,&_argo0,&_obj1,&_argo6))
70551f47 7325 return NULL;
2d091820
RD
7326 if (_argo0) {
7327 if (_argo0 == Py_None) { _arg0 = NULL; }
7328 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
21f8d7ea 7329 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
70551f47
RD
7330 return NULL;
7331 }
7332 }
7333{
2cd2fac8
RD
7334#if PYTHON_API_VERSION >= 1009
7335 char* tmpPtr; int tmpSize;
7336 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 7337 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
7338 return NULL;
7339 }
7340 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
7341 return NULL;
7342 _arg1 = new wxString(tmpPtr, tmpSize);
7343#else
70551f47
RD
7344 if (!PyString_Check(_obj1)) {
7345 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7346 return NULL;
7347 }
2cd2fac8
RD
7348 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
7349#endif
70551f47 7350}
2d091820
RD
7351 if (_argo6) {
7352 if (_argo6 == Py_None) { _arg6 = NULL; }
7353 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxFont_p")) {
21f8d7ea
RD
7354 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
7355 return NULL;
7356 }
7357 }
ab9bc19b
RD
7358{
7359 wxPy_BEGIN_ALLOW_THREADS;
7360 wxDC_GetFullTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
7361
7362 wxPy_END_ALLOW_THREADS;
4dfaa61e 7363 if (PyErr_Occurred()) return NULL;
ab9bc19b 7364} Py_INCREF(Py_None);
70551f47
RD
7365 _resultobj = Py_None;
7366{
7367 PyObject *o;
7368 o = PyInt_FromLong((long) (*_arg2));
7369 _resultobj = t_output_helper(_resultobj, o);
7370}
7371{
7372 PyObject *o;
7373 o = PyInt_FromLong((long) (*_arg3));
7374 _resultobj = t_output_helper(_resultobj, o);
7375}
7376{
7377 PyObject *o;
7378 o = PyInt_FromLong((long) (*_arg4));
7379 _resultobj = t_output_helper(_resultobj, o);
7380}
7381{
7382 PyObject *o;
7383 o = PyInt_FromLong((long) (*_arg5));
7384 _resultobj = t_output_helper(_resultobj, o);
7385}
7386{
7387 if (_obj1)
7388 delete _arg1;
7389}
7390 return _resultobj;
7391}
7392
7393#define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
107e4716 7394static PyObject *_wrap_wxDC_GetTextForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7395 PyObject * _resultobj;
7396 wxColour * _result;
7397 wxDC * _arg0;
2d091820 7398 PyObject * _argo0 = 0;
107e4716 7399 char *_kwnames[] = { "self", NULL };
70551f47
RD
7400 char _ptemp[128];
7401
7402 self = self;
107e4716 7403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetTextForeground",_kwnames,&_argo0))
70551f47 7404 return NULL;
2d091820
RD
7405 if (_argo0) {
7406 if (_argo0 == Py_None) { _arg0 = NULL; }
7407 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
7408 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
7409 return NULL;
7410 }
7411 }
ab9bc19b
RD
7412{
7413 wxPy_BEGIN_ALLOW_THREADS;
84a81942 7414 _result = new wxColour (wxDC_GetTextForeground(_arg0));
ab9bc19b
RD
7415
7416 wxPy_END_ALLOW_THREADS;
4dfaa61e 7417 if (PyErr_Occurred()) return NULL;
84a81942
RD
7418} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
7419 _resultobj = Py_BuildValue("s",_ptemp);
70551f47
RD
7420 return _resultobj;
7421}
7422
e02c03a4
RD
7423#define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
7424static PyObject *_wrap_wxDC_GetUserScale(PyObject *self, PyObject *args, PyObject *kwargs) {
7425 PyObject * _resultobj;
7426 wxDC * _arg0;
7427 double * _arg1;
7428 double temp;
7429 double * _arg2;
7430 double temp0;
7431 PyObject * _argo0 = 0;
7432 char *_kwnames[] = { "self", NULL };
7433
7434 self = self;
7435{
7436 _arg1 = &temp;
7437}
7438{
7439 _arg2 = &temp0;
7440}
7441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetUserScale",_kwnames,&_argo0))
7442 return NULL;
7443 if (_argo0) {
7444 if (_argo0 == Py_None) { _arg0 = NULL; }
7445 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
7446 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
7447 return NULL;
7448 }
7449 }
7450{
7451 wxPy_BEGIN_ALLOW_THREADS;
7452 wxDC_GetUserScale(_arg0,_arg1,_arg2);
7453
7454 wxPy_END_ALLOW_THREADS;
4dfaa61e 7455 if (PyErr_Occurred()) return NULL;
e02c03a4
RD
7456} Py_INCREF(Py_None);
7457 _resultobj = Py_None;
7458{
7459 PyObject *o;
7460 o = PyFloat_FromDouble((double) (*_arg1));
7461 _resultobj = t_output_helper(_resultobj, o);
7462}
7463{
7464 PyObject *o;
7465 o = PyFloat_FromDouble((double) (*_arg2));
7466 _resultobj = t_output_helper(_resultobj, o);
7467}
7468 return _resultobj;
7469}
7470
70551f47 7471#define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
107e4716 7472static PyObject *_wrap_wxDC_LogicalToDeviceX(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7473 PyObject * _resultobj;
7474 long _result;
7475 wxDC * _arg0;
7476 long _arg1;
2d091820 7477 PyObject * _argo0 = 0;
107e4716 7478 char *_kwnames[] = { "self","x", NULL };
70551f47
RD
7479
7480 self = self;
107e4716 7481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_LogicalToDeviceX",_kwnames,&_argo0,&_arg1))
70551f47 7482 return NULL;
2d091820
RD
7483 if (_argo0) {
7484 if (_argo0 == Py_None) { _arg0 = NULL; }
7485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
7486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
7487 return NULL;
7488 }
7489 }
ab9bc19b
RD
7490{
7491 wxPy_BEGIN_ALLOW_THREADS;
7492 _result = (long )wxDC_LogicalToDeviceX(_arg0,_arg1);
7493
7494 wxPy_END_ALLOW_THREADS;
4dfaa61e 7495 if (PyErr_Occurred()) return NULL;
ab9bc19b 7496} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
7497 return _resultobj;
7498}
7499
7500#define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
107e4716 7501static PyObject *_wrap_wxDC_LogicalToDeviceXRel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7502 PyObject * _resultobj;
7503 long _result;
7504 wxDC * _arg0;
7505 long _arg1;
2d091820 7506 PyObject * _argo0 = 0;
107e4716 7507 char *_kwnames[] = { "self","x", NULL };
70551f47
RD
7508
7509 self = self;
107e4716 7510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_LogicalToDeviceXRel",_kwnames,&_argo0,&_arg1))
70551f47 7511 return NULL;
2d091820
RD
7512 if (_argo0) {
7513 if (_argo0 == Py_None) { _arg0 = NULL; }
7514 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
7515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
7516 return NULL;
7517 }
7518 }
ab9bc19b
RD
7519{
7520 wxPy_BEGIN_ALLOW_THREADS;
7521 _result = (long )wxDC_LogicalToDeviceXRel(_arg0,_arg1);
7522
7523 wxPy_END_ALLOW_THREADS;
4dfaa61e 7524 if (PyErr_Occurred()) return NULL;
ab9bc19b 7525} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
7526 return _resultobj;
7527}
7528
7529#define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
107e4716 7530static PyObject *_wrap_wxDC_LogicalToDeviceY(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7531 PyObject * _resultobj;
7532 long _result;
7533 wxDC * _arg0;
7534 long _arg1;
2d091820 7535 PyObject * _argo0 = 0;
107e4716 7536 char *_kwnames[] = { "self","y", NULL };
70551f47
RD
7537
7538 self = self;
107e4716 7539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_LogicalToDeviceY",_kwnames,&_argo0,&_arg1))
70551f47 7540 return NULL;
2d091820
RD
7541 if (_argo0) {
7542 if (_argo0 == Py_None) { _arg0 = NULL; }
7543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
7544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
7545 return NULL;
7546 }
7547 }
ab9bc19b
RD
7548{
7549 wxPy_BEGIN_ALLOW_THREADS;
7550 _result = (long )wxDC_LogicalToDeviceY(_arg0,_arg1);
7551
7552 wxPy_END_ALLOW_THREADS;
4dfaa61e 7553 if (PyErr_Occurred()) return NULL;
ab9bc19b 7554} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
7555 return _resultobj;
7556}
7557
7558#define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
107e4716 7559static PyObject *_wrap_wxDC_LogicalToDeviceYRel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7560 PyObject * _resultobj;
7561 long _result;
7562 wxDC * _arg0;
7563 long _arg1;
2d091820 7564 PyObject * _argo0 = 0;
107e4716 7565 char *_kwnames[] = { "self","y", NULL };
70551f47
RD
7566
7567 self = self;
107e4716 7568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_LogicalToDeviceYRel",_kwnames,&_argo0,&_arg1))
70551f47 7569 return NULL;
2d091820
RD
7570 if (_argo0) {
7571 if (_argo0 == Py_None) { _arg0 = NULL; }
7572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
7573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
7574 return NULL;
7575 }
7576 }
ab9bc19b
RD
7577{
7578 wxPy_BEGIN_ALLOW_THREADS;
7579 _result = (long )wxDC_LogicalToDeviceYRel(_arg0,_arg1);
7580
7581 wxPy_END_ALLOW_THREADS;
4dfaa61e 7582 if (PyErr_Occurred()) return NULL;
ab9bc19b 7583} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
7584 return _resultobj;
7585}
7586
7587#define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
107e4716 7588static PyObject *_wrap_wxDC_MaxX(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7589 PyObject * _resultobj;
7590 long _result;
7591 wxDC * _arg0;
2d091820 7592 PyObject * _argo0 = 0;
107e4716 7593 char *_kwnames[] = { "self", NULL };
70551f47
RD
7594
7595 self = self;
107e4716 7596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_MaxX",_kwnames,&_argo0))
70551f47 7597 return NULL;
2d091820
RD
7598 if (_argo0) {
7599 if (_argo0 == Py_None) { _arg0 = NULL; }
7600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
7601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
7602 return NULL;
7603 }
7604 }
ab9bc19b
RD
7605{
7606 wxPy_BEGIN_ALLOW_THREADS;
7607 _result = (long )wxDC_MaxX(_arg0);
7608
7609 wxPy_END_ALLOW_THREADS;
4dfaa61e 7610 if (PyErr_Occurred()) return NULL;
ab9bc19b 7611} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
7612 return _resultobj;
7613}
7614
7615#define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
107e4716 7616static PyObject *_wrap_wxDC_MaxY(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7617 PyObject * _resultobj;
7618 long _result;
7619 wxDC * _arg0;
2d091820 7620 PyObject * _argo0 = 0;
107e4716 7621 char *_kwnames[] = { "self", NULL };
70551f47
RD
7622
7623 self = self;
107e4716 7624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_MaxY",_kwnames,&_argo0))
70551f47 7625 return NULL;
2d091820
RD
7626 if (_argo0) {
7627 if (_argo0 == Py_None) { _arg0 = NULL; }
7628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
7629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
7630 return NULL;
7631 }
7632 }
ab9bc19b
RD
7633{
7634 wxPy_BEGIN_ALLOW_THREADS;
7635 _result = (long )wxDC_MaxY(_arg0);
7636
7637 wxPy_END_ALLOW_THREADS;
4dfaa61e 7638 if (PyErr_Occurred()) return NULL;
ab9bc19b 7639} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
7640 return _resultobj;
7641}
7642
7643#define wxDC_MinX(_swigobj) (_swigobj->MinX())
107e4716 7644static PyObject *_wrap_wxDC_MinX(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7645 PyObject * _resultobj;
7646 long _result;
7647 wxDC * _arg0;
2d091820 7648 PyObject * _argo0 = 0;
107e4716 7649 char *_kwnames[] = { "self", NULL };
70551f47
RD
7650
7651 self = self;
107e4716 7652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_MinX",_kwnames,&_argo0))
70551f47 7653 return NULL;
2d091820
RD
7654 if (_argo0) {
7655 if (_argo0 == Py_None) { _arg0 = NULL; }
7656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
7657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
7658 return NULL;
7659 }
7660 }
ab9bc19b
RD
7661{
7662 wxPy_BEGIN_ALLOW_THREADS;
7663 _result = (long )wxDC_MinX(_arg0);
7664
7665 wxPy_END_ALLOW_THREADS;
4dfaa61e 7666 if (PyErr_Occurred()) return NULL;
ab9bc19b 7667} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
7668 return _resultobj;
7669}
7670
7671#define wxDC_MinY(_swigobj) (_swigobj->MinY())
107e4716 7672static PyObject *_wrap_wxDC_MinY(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7673 PyObject * _resultobj;
7674 long _result;
7675 wxDC * _arg0;
2d091820 7676 PyObject * _argo0 = 0;
107e4716 7677 char *_kwnames[] = { "self", NULL };
70551f47
RD
7678
7679 self = self;
107e4716 7680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_MinY",_kwnames,&_argo0))
70551f47 7681 return NULL;
2d091820
RD
7682 if (_argo0) {
7683 if (_argo0 == Py_None) { _arg0 = NULL; }
7684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
7685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
7686 return NULL;
7687 }
7688 }
ab9bc19b
RD
7689{
7690 wxPy_BEGIN_ALLOW_THREADS;
7691 _result = (long )wxDC_MinY(_arg0);
7692
7693 wxPy_END_ALLOW_THREADS;
4dfaa61e 7694 if (PyErr_Occurred()) return NULL;
ab9bc19b 7695} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
7696 return _resultobj;
7697}
7698
7699#define wxDC_Ok(_swigobj) (_swigobj->Ok())
107e4716 7700static PyObject *_wrap_wxDC_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7701 PyObject * _resultobj;
7702 bool _result;
7703 wxDC * _arg0;
2d091820 7704 PyObject * _argo0 = 0;
107e4716 7705 char *_kwnames[] = { "self", NULL };
70551f47
RD
7706
7707 self = self;
107e4716 7708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_Ok",_kwnames,&_argo0))
70551f47 7709 return NULL;
2d091820
RD
7710 if (_argo0) {
7711 if (_argo0 == Py_None) { _arg0 = NULL; }
7712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
7713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
7714 return NULL;
7715 }
7716 }
ab9bc19b
RD
7717{
7718 wxPy_BEGIN_ALLOW_THREADS;
7719 _result = (bool )wxDC_Ok(_arg0);
7720
7721 wxPy_END_ALLOW_THREADS;
4dfaa61e 7722 if (PyErr_Occurred()) return NULL;
ab9bc19b 7723} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
7724 return _resultobj;
7725}
7726
7727#define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
107e4716 7728static PyObject *_wrap_wxDC_SetDeviceOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7729 PyObject * _resultobj;
7730 wxDC * _arg0;
7731 long _arg1;
7732 long _arg2;
2d091820 7733 PyObject * _argo0 = 0;
107e4716 7734 char *_kwnames[] = { "self","x","y", NULL };
70551f47
RD
7735
7736 self = self;
107e4716 7737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxDC_SetDeviceOrigin",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 7738 return NULL;
2d091820
RD
7739 if (_argo0) {
7740 if (_argo0 == Py_None) { _arg0 = NULL; }
7741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
7742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
7743 return NULL;
7744 }
7745 }
ab9bc19b
RD
7746{
7747 wxPy_BEGIN_ALLOW_THREADS;
7748 wxDC_SetDeviceOrigin(_arg0,_arg1,_arg2);
7749
7750 wxPy_END_ALLOW_THREADS;
4dfaa61e 7751 if (PyErr_Occurred()) return NULL;
ab9bc19b 7752} Py_INCREF(Py_None);
70551f47
RD
7753 _resultobj = Py_None;
7754 return _resultobj;
7755}
7756
7757#define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
107e4716 7758static PyObject *_wrap_wxDC_SetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7759 PyObject * _resultobj;
7760 wxDC * _arg0;
7761 wxBrush * _arg1;
2d091820
RD
7762 PyObject * _argo0 = 0;
7763 PyObject * _argo1 = 0;
107e4716 7764 char *_kwnames[] = { "self","brush", NULL };
70551f47
RD
7765
7766 self = self;
107e4716 7767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetBackground",_kwnames,&_argo0,&_argo1))
70551f47 7768 return NULL;
2d091820
RD
7769 if (_argo0) {
7770 if (_argo0 == Py_None) { _arg0 = NULL; }
7771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
7772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
7773 return NULL;
7774 }
7775 }
2d091820
RD
7776 if (_argo1) {
7777 if (_argo1 == Py_None) { _arg1 = NULL; }
7778 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) {
70551f47
RD
7779 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
7780 return NULL;
7781 }
7782 }
ab9bc19b
RD
7783{
7784 wxPy_BEGIN_ALLOW_THREADS;
7785 wxDC_SetBackground(_arg0,*_arg1);
7786
7787 wxPy_END_ALLOW_THREADS;
4dfaa61e 7788 if (PyErr_Occurred()) return NULL;
ab9bc19b 7789} Py_INCREF(Py_None);
70551f47
RD
7790 _resultobj = Py_None;
7791 return _resultobj;
7792}
7793
7794#define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
107e4716 7795static PyObject *_wrap_wxDC_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7796 PyObject * _resultobj;
7797 wxDC * _arg0;
7798 int _arg1;
2d091820 7799 PyObject * _argo0 = 0;
107e4716 7800 char *_kwnames[] = { "self","mode", NULL };
70551f47
RD
7801
7802 self = self;
107e4716 7803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_SetBackgroundMode",_kwnames,&_argo0,&_arg1))
70551f47 7804 return NULL;
2d091820
RD
7805 if (_argo0) {
7806 if (_argo0 == Py_None) { _arg0 = NULL; }
7807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
7808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
7809 return NULL;
7810 }
7811 }
ab9bc19b
RD
7812{
7813 wxPy_BEGIN_ALLOW_THREADS;
7814 wxDC_SetBackgroundMode(_arg0,_arg1);
7815
7816 wxPy_END_ALLOW_THREADS;
4dfaa61e 7817 if (PyErr_Occurred()) return NULL;
ab9bc19b 7818} Py_INCREF(Py_None);
70551f47
RD
7819 _resultobj = Py_None;
7820 return _resultobj;
7821}
7822
7823#define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
107e4716 7824static PyObject *_wrap_wxDC_SetClippingRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7825 PyObject * _resultobj;
7826 wxDC * _arg0;
7827 long _arg1;
7828 long _arg2;
7829 long _arg3;
7830 long _arg4;
2d091820 7831 PyObject * _argo0 = 0;
107e4716 7832 char *_kwnames[] = { "self","x","y","width","height", NULL };
70551f47
RD
7833
7834 self = self;
107e4716 7835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxDC_SetClippingRegion",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
70551f47 7836 return NULL;
2d091820
RD
7837 if (_argo0) {
7838 if (_argo0 == Py_None) { _arg0 = NULL; }
7839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
7840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
7841 return NULL;
7842 }
7843 }
ab9bc19b
RD
7844{
7845 wxPy_BEGIN_ALLOW_THREADS;
7846 wxDC_SetClippingRegion(_arg0,_arg1,_arg2,_arg3,_arg4);
7847
7848 wxPy_END_ALLOW_THREADS;
4dfaa61e 7849 if (PyErr_Occurred()) return NULL;
ab9bc19b 7850} Py_INCREF(Py_None);
70551f47
RD
7851 _resultobj = Py_None;
7852 return _resultobj;
7853}
7854
059a841c
RD
7855#define wxDC_SetClippingRegionAsRegion(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
7856static PyObject *_wrap_wxDC_SetClippingRegionAsRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
7857 PyObject * _resultobj;
7858 wxDC * _arg0;
7859 wxRegion * _arg1;
7860 PyObject * _argo0 = 0;
7861 PyObject * _argo1 = 0;
7862 char *_kwnames[] = { "self","region", NULL };
7863
7864 self = self;
7865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetClippingRegionAsRegion",_kwnames,&_argo0,&_argo1))
7866 return NULL;
7867 if (_argo0) {
7868 if (_argo0 == Py_None) { _arg0 = NULL; }
7869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
7870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetClippingRegionAsRegion. Expected _wxDC_p.");
7871 return NULL;
7872 }
7873 }
7874 if (_argo1) {
7875 if (_argo1 == Py_None) { _arg1 = NULL; }
7876 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
7877 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetClippingRegionAsRegion. Expected _wxRegion_p.");
7878 return NULL;
7879 }
7880 }
7881{
7882 wxPy_BEGIN_ALLOW_THREADS;
7883 wxDC_SetClippingRegionAsRegion(_arg0,*_arg1);
7884
7885 wxPy_END_ALLOW_THREADS;
7886 if (PyErr_Occurred()) return NULL;
7887} Py_INCREF(Py_None);
7888 _resultobj = Py_None;
7889 return _resultobj;
7890}
7891
70551f47 7892#define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
107e4716 7893static PyObject *_wrap_wxDC_SetPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7894 PyObject * _resultobj;
7895 wxDC * _arg0;
7896 wxPalette * _arg1;
2d091820
RD
7897 PyObject * _argo0 = 0;
7898 PyObject * _argo1 = 0;
107e4716 7899 char *_kwnames[] = { "self","colourMap", NULL };
70551f47
RD
7900
7901 self = self;
107e4716 7902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetPalette",_kwnames,&_argo0,&_argo1))
70551f47 7903 return NULL;
2d091820
RD
7904 if (_argo0) {
7905 if (_argo0 == Py_None) { _arg0 = NULL; }
7906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
7907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
7908 return NULL;
7909 }
7910 }
2d091820
RD
7911 if (_argo1) {
7912 if (_argo1 == Py_None) { _arg1 = NULL; }
7913 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPalette_p")) {
70551f47
RD
7914 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
7915 return NULL;
7916 }
7917 }
ab9bc19b
RD
7918{
7919 wxPy_BEGIN_ALLOW_THREADS;
7920 wxDC_SetPalette(_arg0,*_arg1);
7921
7922 wxPy_END_ALLOW_THREADS;
4dfaa61e 7923 if (PyErr_Occurred()) return NULL;
ab9bc19b 7924} Py_INCREF(Py_None);
70551f47
RD
7925 _resultobj = Py_None;
7926 return _resultobj;
7927}
7928
7929#define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
107e4716 7930static PyObject *_wrap_wxDC_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7931 PyObject * _resultobj;
7932 wxDC * _arg0;
7933 wxBrush * _arg1;
2d091820
RD
7934 PyObject * _argo0 = 0;
7935 PyObject * _argo1 = 0;
107e4716 7936 char *_kwnames[] = { "self","brush", NULL };
70551f47
RD
7937
7938 self = self;
107e4716 7939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetBrush",_kwnames,&_argo0,&_argo1))
70551f47 7940 return NULL;
2d091820
RD
7941 if (_argo0) {
7942 if (_argo0 == Py_None) { _arg0 = NULL; }
7943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
7944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
7945 return NULL;
7946 }
7947 }
2d091820
RD
7948 if (_argo1) {
7949 if (_argo1 == Py_None) { _arg1 = NULL; }
7950 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) {
70551f47
RD
7951 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
7952 return NULL;
7953 }
7954 }
ab9bc19b
RD
7955{
7956 wxPy_BEGIN_ALLOW_THREADS;
7957 wxDC_SetBrush(_arg0,*_arg1);
7958
7959 wxPy_END_ALLOW_THREADS;
4dfaa61e 7960 if (PyErr_Occurred()) return NULL;
ab9bc19b 7961} Py_INCREF(Py_None);
70551f47
RD
7962 _resultobj = Py_None;
7963 return _resultobj;
7964}
7965
7966#define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
107e4716 7967static PyObject *_wrap_wxDC_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7968 PyObject * _resultobj;
7969 wxDC * _arg0;
7970 wxFont * _arg1;
2d091820
RD
7971 PyObject * _argo0 = 0;
7972 PyObject * _argo1 = 0;
107e4716 7973 char *_kwnames[] = { "self","font", NULL };
70551f47
RD
7974
7975 self = self;
107e4716 7976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetFont",_kwnames,&_argo0,&_argo1))
70551f47 7977 return NULL;
2d091820
RD
7978 if (_argo0) {
7979 if (_argo0 == Py_None) { _arg0 = NULL; }
7980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
7981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
7982 return NULL;
7983 }
7984 }
2d091820
RD
7985 if (_argo1) {
7986 if (_argo1 == Py_None) { _arg1 = NULL; }
7987 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
70551f47
RD
7988 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
7989 return NULL;
7990 }
7991 }
ab9bc19b
RD
7992{
7993 wxPy_BEGIN_ALLOW_THREADS;
7994 wxDC_SetFont(_arg0,*_arg1);
7995
7996 wxPy_END_ALLOW_THREADS;
4dfaa61e 7997 if (PyErr_Occurred()) return NULL;
ab9bc19b 7998} Py_INCREF(Py_None);
70551f47
RD
7999 _resultobj = Py_None;
8000 return _resultobj;
8001}
8002
8003#define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
107e4716 8004static PyObject *_wrap_wxDC_SetLogicalFunction(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8005 PyObject * _resultobj;
8006 wxDC * _arg0;
8007 int _arg1;
2d091820 8008 PyObject * _argo0 = 0;
107e4716 8009 char *_kwnames[] = { "self","function", NULL };
70551f47
RD
8010
8011 self = self;
107e4716 8012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_SetLogicalFunction",_kwnames,&_argo0,&_arg1))
70551f47 8013 return NULL;
2d091820
RD
8014 if (_argo0) {
8015 if (_argo0 == Py_None) { _arg0 = NULL; }
8016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
8017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
8018 return NULL;
8019 }
8020 }
ab9bc19b
RD
8021{
8022 wxPy_BEGIN_ALLOW_THREADS;
8023 wxDC_SetLogicalFunction(_arg0,_arg1);
8024
8025 wxPy_END_ALLOW_THREADS;
4dfaa61e 8026 if (PyErr_Occurred()) return NULL;
ab9bc19b 8027} Py_INCREF(Py_None);
70551f47
RD
8028 _resultobj = Py_None;
8029 return _resultobj;
8030}
8031
e02c03a4
RD
8032#define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
8033static PyObject *_wrap_wxDC_SetLogicalScale(PyObject *self, PyObject *args, PyObject *kwargs) {
8034 PyObject * _resultobj;
8035 wxDC * _arg0;
8036 double _arg1;
8037 double _arg2;
8038 PyObject * _argo0 = 0;
8039 char *_kwnames[] = { "self","x","y", NULL };
8040
8041 self = self;
8042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxDC_SetLogicalScale",_kwnames,&_argo0,&_arg1,&_arg2))
8043 return NULL;
8044 if (_argo0) {
8045 if (_argo0 == Py_None) { _arg0 = NULL; }
8046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
8048 return NULL;
8049 }
8050 }
8051{
8052 wxPy_BEGIN_ALLOW_THREADS;
8053 wxDC_SetLogicalScale(_arg0,_arg1,_arg2);
8054
8055 wxPy_END_ALLOW_THREADS;
4dfaa61e 8056 if (PyErr_Occurred()) return NULL;
e02c03a4
RD
8057} Py_INCREF(Py_None);
8058 _resultobj = Py_None;
8059 return _resultobj;
8060}
8061
70551f47 8062#define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
107e4716 8063static PyObject *_wrap_wxDC_SetMapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8064 PyObject * _resultobj;
8065 wxDC * _arg0;
8066 int _arg1;
2d091820 8067 PyObject * _argo0 = 0;
107e4716 8068 char *_kwnames[] = { "self","mode", NULL };
70551f47
RD
8069
8070 self = self;
107e4716 8071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_SetMapMode",_kwnames,&_argo0,&_arg1))
70551f47 8072 return NULL;
2d091820
RD
8073 if (_argo0) {
8074 if (_argo0 == Py_None) { _arg0 = NULL; }
8075 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
8076 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
8077 return NULL;
8078 }
8079 }
ab9bc19b
RD
8080{
8081 wxPy_BEGIN_ALLOW_THREADS;
8082 wxDC_SetMapMode(_arg0,_arg1);
8083
8084 wxPy_END_ALLOW_THREADS;
4dfaa61e 8085 if (PyErr_Occurred()) return NULL;
ab9bc19b 8086} Py_INCREF(Py_None);
70551f47
RD
8087 _resultobj = Py_None;
8088 return _resultobj;
8089}
8090
8091#define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
107e4716 8092static PyObject *_wrap_wxDC_SetOptimization(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8093 PyObject * _resultobj;
8094 wxDC * _arg0;
8095 bool _arg1;
2d091820 8096 PyObject * _argo0 = 0;
70551f47 8097 int tempbool1;
107e4716 8098 char *_kwnames[] = { "self","optimize", NULL };
70551f47
RD
8099
8100 self = self;
107e4716 8101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_SetOptimization",_kwnames,&_argo0,&tempbool1))
70551f47 8102 return NULL;
2d091820
RD
8103 if (_argo0) {
8104 if (_argo0 == Py_None) { _arg0 = NULL; }
8105 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
8106 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
8107 return NULL;
8108 }
8109 }
8110 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
8111{
8112 wxPy_BEGIN_ALLOW_THREADS;
8113 wxDC_SetOptimization(_arg0,_arg1);
8114
8115 wxPy_END_ALLOW_THREADS;
4dfaa61e 8116 if (PyErr_Occurred()) return NULL;
ab9bc19b 8117} Py_INCREF(Py_None);
70551f47
RD
8118 _resultobj = Py_None;
8119 return _resultobj;
8120}
8121
8122#define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
107e4716 8123static PyObject *_wrap_wxDC_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8124 PyObject * _resultobj;
8125 wxDC * _arg0;
8126 wxPen * _arg1;
2d091820
RD
8127 PyObject * _argo0 = 0;
8128 PyObject * _argo1 = 0;
107e4716 8129 char *_kwnames[] = { "self","pen", NULL };
70551f47
RD
8130
8131 self = self;
107e4716 8132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetPen",_kwnames,&_argo0,&_argo1))
70551f47 8133 return NULL;
2d091820
RD
8134 if (_argo0) {
8135 if (_argo0 == Py_None) { _arg0 = NULL; }
8136 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
8137 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
8138 return NULL;
8139 }
8140 }
2d091820
RD
8141 if (_argo1) {
8142 if (_argo1 == Py_None) { _arg1 = NULL; }
8143 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) {
70551f47
RD
8144 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
8145 return NULL;
8146 }
8147 }
ab9bc19b
RD
8148{
8149 wxPy_BEGIN_ALLOW_THREADS;
8150 wxDC_SetPen(_arg0,*_arg1);
8151
8152 wxPy_END_ALLOW_THREADS;
4dfaa61e 8153 if (PyErr_Occurred()) return NULL;
ab9bc19b 8154} Py_INCREF(Py_None);
70551f47
RD
8155 _resultobj = Py_None;
8156 return _resultobj;
8157}
8158
8159#define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
107e4716 8160static PyObject *_wrap_wxDC_SetTextBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8161 PyObject * _resultobj;
8162 wxDC * _arg0;
8163 wxColour * _arg1;
2d091820 8164 PyObject * _argo0 = 0;
f6bcfd97
BP
8165 wxColour temp;
8166 PyObject * _obj1 = 0;
107e4716 8167 char *_kwnames[] = { "self","colour", NULL };
70551f47
RD
8168
8169 self = self;
f6bcfd97 8170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetTextBackground",_kwnames,&_argo0,&_obj1))
70551f47 8171 return NULL;
2d091820
RD
8172 if (_argo0) {
8173 if (_argo0 == Py_None) { _arg0 = NULL; }
8174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
8175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
8176 return NULL;
8177 }
8178 }
f6bcfd97
BP
8179{
8180 _arg1 = &temp;
8181 if (! wxColour_helper(_obj1, &_arg1))
70551f47 8182 return NULL;
f6bcfd97 8183}
ab9bc19b
RD
8184{
8185 wxPy_BEGIN_ALLOW_THREADS;
8186 wxDC_SetTextBackground(_arg0,*_arg1);
8187
8188 wxPy_END_ALLOW_THREADS;
4dfaa61e 8189 if (PyErr_Occurred()) return NULL;
ab9bc19b 8190} Py_INCREF(Py_None);
70551f47
RD
8191 _resultobj = Py_None;
8192 return _resultobj;
8193}
8194
8195#define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
107e4716 8196static PyObject *_wrap_wxDC_SetTextForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8197 PyObject * _resultobj;
8198 wxDC * _arg0;
8199 wxColour * _arg1;
2d091820 8200 PyObject * _argo0 = 0;
f6bcfd97
BP
8201 wxColour temp;
8202 PyObject * _obj1 = 0;
107e4716 8203 char *_kwnames[] = { "self","colour", NULL };
70551f47
RD
8204
8205 self = self;
f6bcfd97 8206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetTextForeground",_kwnames,&_argo0,&_obj1))
70551f47 8207 return NULL;
2d091820
RD
8208 if (_argo0) {
8209 if (_argo0 == Py_None) { _arg0 = NULL; }
8210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
8211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
8212 return NULL;
8213 }
8214 }
f6bcfd97
BP
8215{
8216 _arg1 = &temp;
8217 if (! wxColour_helper(_obj1, &_arg1))
70551f47 8218 return NULL;
f6bcfd97 8219}
ab9bc19b
RD
8220{
8221 wxPy_BEGIN_ALLOW_THREADS;
8222 wxDC_SetTextForeground(_arg0,*_arg1);
8223
8224 wxPy_END_ALLOW_THREADS;
4dfaa61e 8225 if (PyErr_Occurred()) return NULL;
ab9bc19b 8226} Py_INCREF(Py_None);
70551f47
RD
8227 _resultobj = Py_None;
8228 return _resultobj;
8229}
8230
8231#define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
107e4716 8232static PyObject *_wrap_wxDC_SetUserScale(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8233 PyObject * _resultobj;
8234 wxDC * _arg0;
8235 double _arg1;
8236 double _arg2;
2d091820 8237 PyObject * _argo0 = 0;
107e4716 8238 char *_kwnames[] = { "self","x_scale","y_scale", NULL };
70551f47
RD
8239
8240 self = self;
107e4716 8241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxDC_SetUserScale",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 8242 return NULL;
2d091820
RD
8243 if (_argo0) {
8244 if (_argo0 == Py_None) { _arg0 = NULL; }
8245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
8246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
8247 return NULL;
8248 }
8249 }
ab9bc19b
RD
8250{
8251 wxPy_BEGIN_ALLOW_THREADS;
8252 wxDC_SetUserScale(_arg0,_arg1,_arg2);
8253
8254 wxPy_END_ALLOW_THREADS;
4dfaa61e 8255 if (PyErr_Occurred()) return NULL;
ab9bc19b 8256} Py_INCREF(Py_None);
70551f47
RD
8257 _resultobj = Py_None;
8258 return _resultobj;
8259}
8260
8261#define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
107e4716 8262static PyObject *_wrap_wxDC_StartDoc(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8263 PyObject * _resultobj;
8264 bool _result;
8265 wxDC * _arg0;
8266 wxString * _arg1;
2d091820 8267 PyObject * _argo0 = 0;
70551f47 8268 PyObject * _obj1 = 0;
107e4716 8269 char *_kwnames[] = { "self","message", NULL };
70551f47
RD
8270
8271 self = self;
107e4716 8272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_StartDoc",_kwnames,&_argo0,&_obj1))
70551f47 8273 return NULL;
2d091820
RD
8274 if (_argo0) {
8275 if (_argo0 == Py_None) { _arg0 = NULL; }
8276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
8277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
8278 return NULL;
8279 }
8280 }
8281{
2cd2fac8
RD
8282#if PYTHON_API_VERSION >= 1009
8283 char* tmpPtr; int tmpSize;
8284 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 8285 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
8286 return NULL;
8287 }
8288 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
8289 return NULL;
8290 _arg1 = new wxString(tmpPtr, tmpSize);
8291#else
70551f47
RD
8292 if (!PyString_Check(_obj1)) {
8293 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8294 return NULL;
8295 }
2cd2fac8
RD
8296 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
8297#endif
70551f47 8298}
ab9bc19b
RD
8299{
8300 wxPy_BEGIN_ALLOW_THREADS;
8301 _result = (bool )wxDC_StartDoc(_arg0,*_arg1);
8302
8303 wxPy_END_ALLOW_THREADS;
4dfaa61e 8304 if (PyErr_Occurred()) return NULL;
ab9bc19b 8305} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
8306{
8307 if (_obj1)
8308 delete _arg1;
8309}
8310 return _resultobj;
8311}
8312
8313#define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
107e4716 8314static PyObject *_wrap_wxDC_StartPage(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8315 PyObject * _resultobj;
8316 wxDC * _arg0;
2d091820 8317 PyObject * _argo0 = 0;
107e4716 8318 char *_kwnames[] = { "self", NULL };
70551f47
RD
8319
8320 self = self;
107e4716 8321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_StartPage",_kwnames,&_argo0))
70551f47 8322 return NULL;
2d091820
RD
8323 if (_argo0) {
8324 if (_argo0 == Py_None) { _arg0 = NULL; }
8325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
8326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
8327 return NULL;
8328 }
8329 }
ab9bc19b
RD
8330{
8331 wxPy_BEGIN_ALLOW_THREADS;
8332 wxDC_StartPage(_arg0);
8333
8334 wxPy_END_ALLOW_THREADS;
4dfaa61e 8335 if (PyErr_Occurred()) return NULL;
ab9bc19b 8336} Py_INCREF(Py_None);
70551f47
RD
8337 _resultobj = Py_None;
8338 return _resultobj;
8339}
8340
107e4716
RD
8341#define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8342static PyObject *_wrap_wxDC_DrawBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8343 PyObject * _resultobj;
8344 wxDC * _arg0;
8345 wxBitmap * _arg1;
8346 long _arg2;
8347 long _arg3;
107e4716 8348 int _arg4 = (int ) FALSE;
2d091820
RD
8349 PyObject * _argo0 = 0;
8350 PyObject * _argo1 = 0;
107e4716 8351 char *_kwnames[] = { "self","bitmap","x","y","useMask", NULL };
70551f47
RD
8352
8353 self = self;
107e4716 8354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOll|i:wxDC_DrawBitmap",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4))
70551f47 8355 return NULL;
2d091820
RD
8356 if (_argo0) {
8357 if (_argo0 == Py_None) { _arg0 = NULL; }
8358 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
70551f47
RD
8359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
8360 return NULL;
8361 }
8362 }
2d091820
RD
8363 if (_argo1) {
8364 if (_argo1 == Py_None) { _arg1 = NULL; }
8365 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
70551f47
RD
8366 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
8367 return NULL;
8368 }
8369 }
ab9bc19b
RD
8370{
8371 wxPy_BEGIN_ALLOW_THREADS;
8372 wxDC_DrawBitmap(_arg0,*_arg1,_arg2,_arg3,_arg4);
8373
8374 wxPy_END_ALLOW_THREADS;
4dfaa61e 8375 if (PyErr_Occurred()) return NULL;
ab9bc19b 8376} Py_INCREF(Py_None);
70551f47
RD
8377 _resultobj = Py_None;
8378 return _resultobj;
8379}
8380
e02c03a4
RD
8381#define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
8382static PyObject *_wrap_wxDC_CanDrawBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8383 PyObject * _resultobj;
8384 bool _result;
8385 wxDC * _arg0;
8386 PyObject * _argo0 = 0;
8387 char *_kwnames[] = { "self", NULL };
8388
8389 self = self;
8390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_CanDrawBitmap",_kwnames,&_argo0))
8391 return NULL;
8392 if (_argo0) {
8393 if (_argo0 == Py_None) { _arg0 = NULL; }
8394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
8396 return NULL;
8397 }
8398 }
8399{
8400 wxPy_BEGIN_ALLOW_THREADS;
8401 _result = (bool )wxDC_CanDrawBitmap(_arg0);
8402
8403 wxPy_END_ALLOW_THREADS;
4dfaa61e 8404 if (PyErr_Occurred()) return NULL;
e02c03a4
RD
8405} _resultobj = Py_BuildValue("i",_result);
8406 return _resultobj;
8407}
8408
8409#define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
8410static PyObject *_wrap_wxDC_CanGetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
8411 PyObject * _resultobj;
8412 bool _result;
8413 wxDC * _arg0;
8414 PyObject * _argo0 = 0;
8415 char *_kwnames[] = { "self", NULL };
8416
8417 self = self;
8418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_CanGetTextExtent",_kwnames,&_argo0))
8419 return NULL;
8420 if (_argo0) {
8421 if (_argo0 == Py_None) { _arg0 = NULL; }
8422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
8424 return NULL;
8425 }
8426 }
8427{
8428 wxPy_BEGIN_ALLOW_THREADS;
8429 _result = (bool )wxDC_CanGetTextExtent(_arg0);
8430
8431 wxPy_END_ALLOW_THREADS;
4dfaa61e 8432 if (PyErr_Occurred()) return NULL;
e02c03a4
RD
8433} _resultobj = Py_BuildValue("i",_result);
8434 return _resultobj;
8435}
8436
8437#define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
8438static PyObject *_wrap_wxDC_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
8439 PyObject * _resultobj;
8440 int _result;
8441 wxDC * _arg0;
8442 PyObject * _argo0 = 0;
8443 char *_kwnames[] = { "self", NULL };
8444
8445 self = self;
8446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetDepth",_kwnames,&_argo0))
8447 return NULL;
8448 if (_argo0) {
8449 if (_argo0 == Py_None) { _arg0 = NULL; }
8450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
8452 return NULL;
8453 }
8454 }
8455{
8456 wxPy_BEGIN_ALLOW_THREADS;
8457 _result = (int )wxDC_GetDepth(_arg0);
8458
8459 wxPy_END_ALLOW_THREADS;
4dfaa61e 8460 if (PyErr_Occurred()) return NULL;
e02c03a4
RD
8461} _resultobj = Py_BuildValue("i",_result);
8462 return _resultobj;
8463}
8464
8465#define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
8466static PyObject *_wrap_wxDC_GetPPI(PyObject *self, PyObject *args, PyObject *kwargs) {
8467 PyObject * _resultobj;
8468 wxSize * _result;
8469 wxDC * _arg0;
8470 PyObject * _argo0 = 0;
8471 char *_kwnames[] = { "self", NULL };
8472 char _ptemp[128];
8473
8474 self = self;
8475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetPPI",_kwnames,&_argo0))
8476 return NULL;
8477 if (_argo0) {
8478 if (_argo0 == Py_None) { _arg0 = NULL; }
8479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
8481 return NULL;
8482 }
8483 }
8484{
8485 wxPy_BEGIN_ALLOW_THREADS;
8486 _result = new wxSize (wxDC_GetPPI(_arg0));
8487
8488 wxPy_END_ALLOW_THREADS;
4dfaa61e 8489 if (PyErr_Occurred()) return NULL;
e02c03a4
RD
8490} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
8491 _resultobj = Py_BuildValue("s",_ptemp);
8492 return _resultobj;
8493}
8494
8495#define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
8496static PyObject *_wrap_wxDC_GetLogicalOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
8497 PyObject * _resultobj;
8498 wxDC * _arg0;
8499 int * _arg1;
8500 int temp;
8501 int * _arg2;
8502 int temp0;
8503 PyObject * _argo0 = 0;
8504 char *_kwnames[] = { "self", NULL };
8505
8506 self = self;
8507{
8508 _arg1 = &temp;
8509}
8510{
8511 _arg2 = &temp0;
8512}
8513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetLogicalOrigin",_kwnames,&_argo0))
8514 return NULL;
8515 if (_argo0) {
8516 if (_argo0 == Py_None) { _arg0 = NULL; }
8517 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8518 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
8519 return NULL;
8520 }
8521 }
8522{
8523 wxPy_BEGIN_ALLOW_THREADS;
8524 wxDC_GetLogicalOrigin(_arg0,_arg1,_arg2);
8525
8526 wxPy_END_ALLOW_THREADS;
4dfaa61e 8527 if (PyErr_Occurred()) return NULL;
e02c03a4
RD
8528} Py_INCREF(Py_None);
8529 _resultobj = Py_None;
8530{
8531 PyObject *o;
8532 o = PyInt_FromLong((long) (*_arg1));
8533 _resultobj = t_output_helper(_resultobj, o);
8534}
8535{
8536 PyObject *o;
8537 o = PyInt_FromLong((long) (*_arg2));
8538 _resultobj = t_output_helper(_resultobj, o);
8539}
8540 return _resultobj;
8541}
8542
8543#define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
8544static PyObject *_wrap_wxDC_SetLogicalOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
8545 PyObject * _resultobj;
8546 wxDC * _arg0;
8547 int _arg1;
8548 int _arg2;
8549 PyObject * _argo0 = 0;
8550 char *_kwnames[] = { "self","x","y", NULL };
8551
8552 self = self;
8553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxDC_SetLogicalOrigin",_kwnames,&_argo0,&_arg1,&_arg2))
8554 return NULL;
8555 if (_argo0) {
8556 if (_argo0 == Py_None) { _arg0 = NULL; }
8557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
8559 return NULL;
8560 }
8561 }
8562{
8563 wxPy_BEGIN_ALLOW_THREADS;
8564 wxDC_SetLogicalOrigin(_arg0,_arg1,_arg2);
8565
8566 wxPy_END_ALLOW_THREADS;
4dfaa61e 8567 if (PyErr_Occurred()) return NULL;
e02c03a4
RD
8568} Py_INCREF(Py_None);
8569 _resultobj = Py_None;
8570 return _resultobj;
8571}
8572
8573#define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
8574static PyObject *_wrap_wxDC_GetDeviceOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
8575 PyObject * _resultobj;
8576 wxDC * _arg0;
8577 int * _arg1;
8578 int temp;
8579 int * _arg2;
8580 int temp0;
8581 PyObject * _argo0 = 0;
8582 char *_kwnames[] = { "self", NULL };
8583
8584 self = self;
8585{
8586 _arg1 = &temp;
8587}
8588{
8589 _arg2 = &temp0;
8590}
8591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetDeviceOrigin",_kwnames,&_argo0))
8592 return NULL;
8593 if (_argo0) {
8594 if (_argo0 == Py_None) { _arg0 = NULL; }
8595 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8596 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
8597 return NULL;
8598 }
8599 }
8600{
8601 wxPy_BEGIN_ALLOW_THREADS;
8602 wxDC_GetDeviceOrigin(_arg0,_arg1,_arg2);
8603
8604 wxPy_END_ALLOW_THREADS;
4dfaa61e 8605 if (PyErr_Occurred()) return NULL;
e02c03a4
RD
8606} Py_INCREF(Py_None);
8607 _resultobj = Py_None;
8608{
8609 PyObject *o;
8610 o = PyInt_FromLong((long) (*_arg1));
8611 _resultobj = t_output_helper(_resultobj, o);
8612}
8613{
8614 PyObject *o;
8615 o = PyInt_FromLong((long) (*_arg2));
8616 _resultobj = t_output_helper(_resultobj, o);
8617}
8618 return _resultobj;
8619}
8620
8621#define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
8622static PyObject *_wrap_wxDC_SetAxisOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8623 PyObject * _resultobj;
8624 wxDC * _arg0;
8625 bool _arg1;
8626 bool _arg2;
8627 PyObject * _argo0 = 0;
8628 int tempbool1;
8629 int tempbool2;
8630 char *_kwnames[] = { "self","xLeftRight","yBottomUp", NULL };
8631
8632 self = self;
8633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxDC_SetAxisOrientation",_kwnames,&_argo0,&tempbool1,&tempbool2))
8634 return NULL;
8635 if (_argo0) {
8636 if (_argo0 == Py_None) { _arg0 = NULL; }
8637 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
8639 return NULL;
8640 }
8641 }
8642 _arg1 = (bool ) tempbool1;
8643 _arg2 = (bool ) tempbool2;
8644{
8645 wxPy_BEGIN_ALLOW_THREADS;
8646 wxDC_SetAxisOrientation(_arg0,_arg1,_arg2);
8647
8648 wxPy_END_ALLOW_THREADS;
4dfaa61e 8649 if (PyErr_Occurred()) return NULL;
e02c03a4
RD
8650} Py_INCREF(Py_None);
8651 _resultobj = Py_None;
8652 return _resultobj;
8653}
8654
f6bcfd97
BP
8655#define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
8656static PyObject *_wrap_wxDC_CalcBoundingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8657 PyObject * _resultobj;
8658 wxDC * _arg0;
8659 int _arg1;
8660 int _arg2;
8661 PyObject * _argo0 = 0;
8662 char *_kwnames[] = { "self","x","y", NULL };
8663
8664 self = self;
8665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxDC_CalcBoundingBox",_kwnames,&_argo0,&_arg1,&_arg2))
8666 return NULL;
8667 if (_argo0) {
8668 if (_argo0 == Py_None) { _arg0 = NULL; }
8669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
8671 return NULL;
8672 }
8673 }
8674{
8675 wxPy_BEGIN_ALLOW_THREADS;
8676 wxDC_CalcBoundingBox(_arg0,_arg1,_arg2);
8677
8678 wxPy_END_ALLOW_THREADS;
4dfaa61e 8679 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8680} Py_INCREF(Py_None);
8681 _resultobj = Py_None;
8682 return _resultobj;
8683}
8684
8685#define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
8686static PyObject *_wrap_wxDC_ResetBoundingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8687 PyObject * _resultobj;
8688 wxDC * _arg0;
8689 PyObject * _argo0 = 0;
8690 char *_kwnames[] = { "self", NULL };
8691
8692 self = self;
8693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_ResetBoundingBox",_kwnames,&_argo0))
8694 return NULL;
8695 if (_argo0) {
8696 if (_argo0 == Py_None) { _arg0 = NULL; }
8697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
8699 return NULL;
8700 }
8701 }
8702{
8703 wxPy_BEGIN_ALLOW_THREADS;
8704 wxDC_ResetBoundingBox(_arg0);
8705
8706 wxPy_END_ALLOW_THREADS;
4dfaa61e 8707 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8708} Py_INCREF(Py_None);
8709 _resultobj = Py_None;
8710 return _resultobj;
8711}
8712
3bcd5e1c
RD
8713static PyObject *_wrap_wxDC_GetBoundingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8714 PyObject * _resultobj;
8715 wxDC * _arg0;
8716 int * _arg1;
8717 int temp;
8718 int * _arg2;
8719 int temp0;
8720 int * _arg3;
8721 int temp1;
8722 int * _arg4;
8723 int temp2;
8724 PyObject * _argo0 = 0;
8725 char *_kwnames[] = { "self", NULL };
8726
8727 self = self;
8728{
8729 _arg1 = &temp;
8730}
8731{
8732 _arg2 = &temp0;
8733}
8734{
8735 _arg3 = &temp1;
8736}
8737{
8738 _arg4 = &temp2;
8739}
8740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetBoundingBox",_kwnames,&_argo0))
8741 return NULL;
8742 if (_argo0) {
8743 if (_argo0 == Py_None) { _arg0 = NULL; }
8744 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8745 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetBoundingBox. Expected _wxDC_p.");
8746 return NULL;
8747 }
8748 }
8749{
8750 wxPy_BEGIN_ALLOW_THREADS;
8751 wxDC_GetBoundingBox(_arg0,_arg1,_arg2,_arg3,_arg4);
8752
8753 wxPy_END_ALLOW_THREADS;
8754 if (PyErr_Occurred()) return NULL;
8755} Py_INCREF(Py_None);
8756 _resultobj = Py_None;
8757{
8758 PyObject *o;
8759 o = PyInt_FromLong((long) (*_arg1));
8760 _resultobj = t_output_helper(_resultobj, o);
8761}
8762{
8763 PyObject *o;
8764 o = PyInt_FromLong((long) (*_arg2));
8765 _resultobj = t_output_helper(_resultobj, o);
8766}
8767{
8768 PyObject *o;
8769 o = PyInt_FromLong((long) (*_arg3));
8770 _resultobj = t_output_helper(_resultobj, o);
8771}
8772{
8773 PyObject *o;
8774 o = PyInt_FromLong((long) (*_arg4));
8775 _resultobj = t_output_helper(_resultobj, o);
8776}
8777 return _resultobj;
8778}
8779
8780static PyObject * wxDC__DrawPointList(wxDC *self,PyObject * pyPoints,PyObject * pyPens) {
8781 bool isFastSeq = PyList_Check(pyPoints) || PyTuple_Check(pyPoints);
8782 bool isFastPens = PyList_Check(pyPens) || PyTuple_Check(pyPens);
8783 int numObjs = 0;
8784 int numPens = 0;
8785 wxPen* pen;
8786 PyObject* obj;
8787 int x1, y1;
8788 int i = 0;
8789
8790 if (!PySequence_Check(pyPoints)) {
8791 goto err0;
8792 }
8793 if (!PySequence_Check(pyPens)) {
8794 goto err1;
8795 }
8796 numObjs = PySequence_Length(pyPoints);
8797 numPens = PySequence_Length(pyPens);
8798
8799 for (i = 0; i < numObjs; i++) {
8800 // Use a new pen?
8801 if (i < numPens) {
8802 if (isFastPens) {
8803 obj = PySequence_Fast_GET_ITEM(pyPens, i);
8804 }
8805 else {
8806 obj = PySequence_GetItem(pyPens, i);
8807 }
8808 if (SWIG_GetPtrObj(obj, (void **) &pen, "_wxPen_p")) {
8809 if (!isFastPens)
8810 Py_DECREF(obj);
8811 goto err1;
8812 }
8813
8814 self->SetPen(*pen);
8815 if (!isFastPens)
8816 Py_DECREF(obj);
8817 }
8818
8819 // Get the point coordinants
8820 if (isFastSeq) {
8821 obj = PySequence_Fast_GET_ITEM(pyPoints, i);
8822 }
8823 else {
8824 obj = PySequence_GetItem(pyPoints, i);
8825 }
8826 if (! _2int_seq_helper(obj, &x1, &y1)) {
8827 if (!isFastPens)
8828 Py_DECREF(obj);
8829 goto err0;
8830 }
8831
8832 // Now draw the point
8833 self->DrawPoint(x1, y1);
8834
8835 if (!isFastSeq)
8836 Py_DECREF(obj);
8837 }
8838
8839 Py_INCREF(Py_None);
8840 return Py_None;
8841
8842 err1:
8843 PyErr_SetString(PyExc_TypeError, "Expected a sequence of wxPens");
8844 return NULL;
8845 err0:
8846 PyErr_SetString(PyExc_TypeError, "Expected a sequence of (x,y) sequences.");
8847 return NULL;
8848 }
8849static PyObject *_wrap_wxDC__DrawPointList(PyObject *self, PyObject *args, PyObject *kwargs) {
8850 PyObject * _resultobj;
8851 PyObject * _result;
8852 wxDC * _arg0;
8853 PyObject * _arg1;
8854 PyObject * _arg2;
8855 PyObject * _argo0 = 0;
8856 PyObject * _obj1 = 0;
8857 PyObject * _obj2 = 0;
8858 char *_kwnames[] = { "self","pyPoints","pyPens", NULL };
8859
8860 self = self;
8861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxDC__DrawPointList",_kwnames,&_argo0,&_obj1,&_obj2))
8862 return NULL;
8863 if (_argo0) {
8864 if (_argo0 == Py_None) { _arg0 = NULL; }
8865 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8866 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC__DrawPointList. Expected _wxDC_p.");
8867 return NULL;
8868 }
8869 }
8870{
8871 _arg1 = _obj1;
8872}
8873{
8874 _arg2 = _obj2;
8875}
8876{
8877 wxPy_BEGIN_ALLOW_THREADS;
8878 _result = (PyObject *)wxDC__DrawPointList(_arg0,_arg1,_arg2);
8879
8880 wxPy_END_ALLOW_THREADS;
8881 if (PyErr_Occurred()) return NULL;
8882}{
8883 _resultobj = _result;
8884}
8885 return _resultobj;
8886}
8887
8888static PyObject * wxDC__DrawLineList(wxDC *self,PyObject * pyLines,PyObject * pyPens) {
8889 bool isFastSeq = PyList_Check(pyLines) || PyTuple_Check(pyLines);
8890 bool isFastPens = PyList_Check(pyPens) || PyTuple_Check(pyPens);
8891 int numObjs = 0;
8892 int numPens = 0;
8893 wxPen* pen;
8894 PyObject* obj;
8895 int x1, y1, x2, y2;
8896 int i = 0;
8897
8898 if (!PySequence_Check(pyLines)) {
8899 goto err0;
8900 }
8901 if (!PySequence_Check(pyPens)) {
8902 goto err1;
8903 }
8904 numObjs = PySequence_Length(pyLines);
8905 numPens = PySequence_Length(pyPens);
8906
8907 for (i = 0; i < numObjs; i++) {
8908 // Use a new pen?
8909 if (i < numPens) {
8910 if (isFastPens) {
8911 obj = PySequence_Fast_GET_ITEM(pyPens, i);
8912 }
8913 else {
8914 obj = PySequence_GetItem(pyPens, i);
8915 }
8916 if (SWIG_GetPtrObj(obj, (void **) &pen, "_wxPen_p")) {
8917 if (!isFastPens)
8918 Py_DECREF(obj);
8919 goto err1;
8920 }
8921
8922 self->SetPen(*pen);
8923 if (!isFastPens)
8924 Py_DECREF(obj);
8925 }
8926
8927 // Get the line coordinants
8928 if (isFastSeq) {
8929 obj = PySequence_Fast_GET_ITEM(pyLines, i);
8930 }
8931 else {
8932 obj = PySequence_GetItem(pyLines, i);
8933 }
8934 if (! _4int_seq_helper(obj, &x1, &y1, &x2, &y2)) {
8935 if (!isFastPens)
8936 Py_DECREF(obj);
8937 goto err0;
8938 }
8939
8940 // Now draw the line
8941 self->DrawLine(x1, y1, x2, y2);
8942
8943 if (!isFastSeq)
8944 Py_DECREF(obj);
8945 }
8946
8947 Py_INCREF(Py_None);
8948 return Py_None;
8949
8950 err1:
8951 PyErr_SetString(PyExc_TypeError, "Expected a sequence of wxPens");
8952 return NULL;
8953 err0:
8954 PyErr_SetString(PyExc_TypeError, "Expected a sequence of (x1,y1, x2,y2) sequences.");
8955 return NULL;
8956 }
8957static PyObject *_wrap_wxDC__DrawLineList(PyObject *self, PyObject *args, PyObject *kwargs) {
8958 PyObject * _resultobj;
8959 PyObject * _result;
8960 wxDC * _arg0;
8961 PyObject * _arg1;
8962 PyObject * _arg2;
8963 PyObject * _argo0 = 0;
8964 PyObject * _obj1 = 0;
8965 PyObject * _obj2 = 0;
8966 char *_kwnames[] = { "self","pyLines","pyPens", NULL };
8967
8968 self = self;
8969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxDC__DrawLineList",_kwnames,&_argo0,&_obj1,&_obj2))
8970 return NULL;
8971 if (_argo0) {
8972 if (_argo0 == Py_None) { _arg0 = NULL; }
8973 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8974 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC__DrawLineList. Expected _wxDC_p.");
8975 return NULL;
8976 }
8977 }
8978{
8979 _arg1 = _obj1;
8980}
8981{
8982 _arg2 = _obj2;
8983}
8984{
8985 wxPy_BEGIN_ALLOW_THREADS;
8986 _result = (PyObject *)wxDC__DrawLineList(_arg0,_arg1,_arg2);
8987
8988 wxPy_END_ALLOW_THREADS;
8989 if (PyErr_Occurred()) return NULL;
8990}{
8991 _resultobj = _result;
8992}
8993 return _resultobj;
8994}
8995
70551f47
RD
8996static void *SwigwxMemoryDCTowxDC(void *ptr) {
8997 wxMemoryDC *src;
8998 wxDC *dest;
8999 src = (wxMemoryDC *) ptr;
9000 dest = (wxDC *) src;
9001 return (void *) dest;
9002}
9003
9df61a29
RD
9004static void *SwigwxMemoryDCTowxObject(void *ptr) {
9005 wxMemoryDC *src;
9006 wxObject *dest;
9007 src = (wxMemoryDC *) ptr;
9008 dest = (wxObject *) src;
9009 return (void *) dest;
9010}
9011
70551f47 9012#define new_wxMemoryDC() (new wxMemoryDC())
107e4716 9013static PyObject *_wrap_new_wxMemoryDC(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9014 PyObject * _resultobj;
9015 wxMemoryDC * _result;
107e4716 9016 char *_kwnames[] = { NULL };
70551f47
RD
9017 char _ptemp[128];
9018
9019 self = self;
107e4716 9020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxMemoryDC",_kwnames))
70551f47 9021 return NULL;
ab9bc19b
RD
9022{
9023 wxPy_BEGIN_ALLOW_THREADS;
9024 _result = (wxMemoryDC *)new_wxMemoryDC();
9025
9026 wxPy_END_ALLOW_THREADS;
4dfaa61e 9027 if (PyErr_Occurred()) return NULL;
2d091820
RD
9028} if (_result) {
9029 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMemoryDC_p");
9030 _resultobj = Py_BuildValue("s",_ptemp);
9031 } else {
9032 Py_INCREF(Py_None);
9033 _resultobj = Py_None;
9034 }
70551f47
RD
9035 return _resultobj;
9036}
9037
9038#define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
107e4716 9039static PyObject *_wrap_wxMemoryDC_SelectObject(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9040 PyObject * _resultobj;
9041 wxMemoryDC * _arg0;
9042 wxBitmap * _arg1;
2d091820
RD
9043 PyObject * _argo0 = 0;
9044 PyObject * _argo1 = 0;
107e4716 9045 char *_kwnames[] = { "self","bitmap", NULL };
70551f47
RD
9046
9047 self = self;
107e4716 9048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMemoryDC_SelectObject",_kwnames,&_argo0,&_argo1))
70551f47 9049 return NULL;
2d091820
RD
9050 if (_argo0) {
9051 if (_argo0 == Py_None) { _arg0 = NULL; }
9052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMemoryDC_p")) {
70551f47
RD
9053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
9054 return NULL;
9055 }
9056 }
2d091820
RD
9057 if (_argo1) {
9058 if (_argo1 == Py_None) { _arg1 = NULL; }
9059 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
70551f47
RD
9060 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
9061 return NULL;
9062 }
9063 }
ab9bc19b
RD
9064{
9065 wxPy_BEGIN_ALLOW_THREADS;
9066 wxMemoryDC_SelectObject(_arg0,*_arg1);
9067
9068 wxPy_END_ALLOW_THREADS;
4dfaa61e 9069 if (PyErr_Occurred()) return NULL;
ab9bc19b 9070} Py_INCREF(Py_None);
70551f47
RD
9071 _resultobj = Py_None;
9072 return _resultobj;
9073}
9074
9075static void *SwigwxScreenDCTowxDC(void *ptr) {
9076 wxScreenDC *src;
9077 wxDC *dest;
9078 src = (wxScreenDC *) ptr;
9079 dest = (wxDC *) src;
9080 return (void *) dest;
9081}
9082
9df61a29
RD
9083static void *SwigwxScreenDCTowxObject(void *ptr) {
9084 wxScreenDC *src;
9085 wxObject *dest;
9086 src = (wxScreenDC *) ptr;
9087 dest = (wxObject *) src;
9088 return (void *) dest;
9089}
9090
70551f47 9091#define new_wxScreenDC() (new wxScreenDC())
107e4716 9092static PyObject *_wrap_new_wxScreenDC(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9093 PyObject * _resultobj;
9094 wxScreenDC * _result;
107e4716 9095 char *_kwnames[] = { NULL };
70551f47
RD
9096 char _ptemp[128];
9097
9098 self = self;
107e4716 9099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxScreenDC",_kwnames))
70551f47 9100 return NULL;
ab9bc19b
RD
9101{
9102 wxPy_BEGIN_ALLOW_THREADS;
9103 _result = (wxScreenDC *)new_wxScreenDC();
9104
9105 wxPy_END_ALLOW_THREADS;
4dfaa61e 9106 if (PyErr_Occurred()) return NULL;
2d091820
RD
9107} if (_result) {
9108 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScreenDC_p");
9109 _resultobj = Py_BuildValue("s",_ptemp);
9110 } else {
9111 Py_INCREF(Py_None);
9112 _resultobj = Py_None;
9113 }
70551f47
RD
9114 return _resultobj;
9115}
9116
2fc99549
RD
9117#define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
9118static PyObject *_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9119 PyObject * _resultobj;
9120 bool _result;
9121 wxScreenDC * _arg0;
9122 wxWindow * _arg1;
2d091820
RD
9123 PyObject * _argo0 = 0;
9124 PyObject * _argo1 = 0;
107e4716 9125 char *_kwnames[] = { "self","window", NULL };
70551f47
RD
9126
9127 self = self;
2fc99549 9128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames,&_argo0,&_argo1))
70551f47 9129 return NULL;
2d091820
RD
9130 if (_argo0) {
9131 if (_argo0 == Py_None) { _arg0 = NULL; }
9132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScreenDC_p")) {
2fc99549 9133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
70551f47
RD
9134 return NULL;
9135 }
9136 }
2d091820
RD
9137 if (_argo1) {
9138 if (_argo1 == Py_None) { _arg1 = NULL; }
9139 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2fc99549 9140 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
70551f47
RD
9141 return NULL;
9142 }
9143 }
ab9bc19b
RD
9144{
9145 wxPy_BEGIN_ALLOW_THREADS;
2fc99549 9146 _result = (bool )wxScreenDC_StartDrawingOnTopWin(_arg0,_arg1);
ab9bc19b
RD
9147
9148 wxPy_END_ALLOW_THREADS;
4dfaa61e 9149 if (PyErr_Occurred()) return NULL;
ab9bc19b 9150} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
9151 return _resultobj;
9152}
9153
2fc99549
RD
9154#define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
9155static PyObject *_wrap_wxScreenDC_StartDrawingOnTop(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9156 PyObject * _resultobj;
9157 bool _result;
9158 wxScreenDC * _arg0;
2d091820
RD
9159 wxRect * _arg1 = (wxRect *) NULL;
9160 PyObject * _argo0 = 0;
37f6a977
RD
9161 wxRect temp;
9162 PyObject * _obj1 = 0;
107e4716 9163 char *_kwnames[] = { "self","rect", NULL };
70551f47
RD
9164
9165 self = self;
2fc99549 9166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames,&_argo0,&_obj1))
70551f47 9167 return NULL;
2d091820
RD
9168 if (_argo0) {
9169 if (_argo0 == Py_None) { _arg0 = NULL; }
9170 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScreenDC_p")) {
2fc99549 9171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
70551f47
RD
9172 return NULL;
9173 }
9174 }
37f6a977
RD
9175 if (_obj1)
9176{
9177 _arg1 = &temp;
9178 if (! wxRect_helper(_obj1, &_arg1))
70551f47 9179 return NULL;
37f6a977 9180}
ab9bc19b
RD
9181{
9182 wxPy_BEGIN_ALLOW_THREADS;
2fc99549 9183 _result = (bool )wxScreenDC_StartDrawingOnTop(_arg0,_arg1);
ab9bc19b
RD
9184
9185 wxPy_END_ALLOW_THREADS;
4dfaa61e 9186 if (PyErr_Occurred()) return NULL;
ab9bc19b 9187} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
9188 return _resultobj;
9189}
9190
9191#define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
107e4716 9192static PyObject *_wrap_wxScreenDC_EndDrawingOnTop(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9193 PyObject * _resultobj;
9194 bool _result;
9195 wxScreenDC * _arg0;
2d091820 9196 PyObject * _argo0 = 0;
107e4716 9197 char *_kwnames[] = { "self", NULL };
70551f47
RD
9198
9199 self = self;
107e4716 9200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScreenDC_EndDrawingOnTop",_kwnames,&_argo0))
70551f47 9201 return NULL;
2d091820
RD
9202 if (_argo0) {
9203 if (_argo0 == Py_None) { _arg0 = NULL; }
9204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScreenDC_p")) {
70551f47
RD
9205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
9206 return NULL;
9207 }
9208 }
ab9bc19b
RD
9209{
9210 wxPy_BEGIN_ALLOW_THREADS;
9211 _result = (bool )wxScreenDC_EndDrawingOnTop(_arg0);
9212
9213 wxPy_END_ALLOW_THREADS;
4dfaa61e 9214 if (PyErr_Occurred()) return NULL;
ab9bc19b 9215} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
9216 return _resultobj;
9217}
9218
9219static void *SwigwxClientDCTowxDC(void *ptr) {
9220 wxClientDC *src;
9221 wxDC *dest;
9222 src = (wxClientDC *) ptr;
9223 dest = (wxDC *) src;
9224 return (void *) dest;
9225}
9226
9df61a29
RD
9227static void *SwigwxClientDCTowxObject(void *ptr) {
9228 wxClientDC *src;
9229 wxObject *dest;
9230 src = (wxClientDC *) ptr;
9231 dest = (wxObject *) src;
9232 return (void *) dest;
9233}
9234
70551f47 9235#define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
107e4716 9236static PyObject *_wrap_new_wxClientDC(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9237 PyObject * _resultobj;
9238 wxClientDC * _result;
9239 wxWindow * _arg0;
2d091820 9240 PyObject * _argo0 = 0;
107e4716 9241 char *_kwnames[] = { "win", NULL };
70551f47
RD
9242 char _ptemp[128];
9243
9244 self = self;
107e4716 9245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxClientDC",_kwnames,&_argo0))
70551f47 9246 return NULL;
2d091820
RD
9247 if (_argo0) {
9248 if (_argo0 == Py_None) { _arg0 = NULL; }
9249 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
9250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
9251 return NULL;
9252 }
9253 }
ab9bc19b
RD
9254{
9255 wxPy_BEGIN_ALLOW_THREADS;
9256 _result = (wxClientDC *)new_wxClientDC(_arg0);
9257
9258 wxPy_END_ALLOW_THREADS;
4dfaa61e 9259 if (PyErr_Occurred()) return NULL;
2d091820
RD
9260} if (_result) {
9261 SWIG_MakePtr(_ptemp, (char *) _result,"_wxClientDC_p");
9262 _resultobj = Py_BuildValue("s",_ptemp);
9263 } else {
9264 Py_INCREF(Py_None);
9265 _resultobj = Py_None;
9266 }
70551f47
RD
9267 return _resultobj;
9268}
9269
9270static void *SwigwxPaintDCTowxDC(void *ptr) {
9271 wxPaintDC *src;
9272 wxDC *dest;
9273 src = (wxPaintDC *) ptr;
9274 dest = (wxDC *) src;
9275 return (void *) dest;
9276}
9277
9df61a29
RD
9278static void *SwigwxPaintDCTowxObject(void *ptr) {
9279 wxPaintDC *src;
9280 wxObject *dest;
9281 src = (wxPaintDC *) ptr;
9282 dest = (wxObject *) src;
9283 return (void *) dest;
9284}
9285
70551f47 9286#define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
107e4716 9287static PyObject *_wrap_new_wxPaintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9288 PyObject * _resultobj;
9289 wxPaintDC * _result;
9290 wxWindow * _arg0;
2d091820 9291 PyObject * _argo0 = 0;
107e4716 9292 char *_kwnames[] = { "win", NULL };
70551f47
RD
9293 char _ptemp[128];
9294
9295 self = self;
107e4716 9296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxPaintDC",_kwnames,&_argo0))
70551f47 9297 return NULL;
2d091820
RD
9298 if (_argo0) {
9299 if (_argo0 == Py_None) { _arg0 = NULL; }
9300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
9301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
9302 return NULL;
9303 }
9304 }
ab9bc19b
RD
9305{
9306 wxPy_BEGIN_ALLOW_THREADS;
9307 _result = (wxPaintDC *)new_wxPaintDC(_arg0);
9308
9309 wxPy_END_ALLOW_THREADS;
4dfaa61e 9310 if (PyErr_Occurred()) return NULL;
2d091820
RD
9311} if (_result) {
9312 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPaintDC_p");
9313 _resultobj = Py_BuildValue("s",_ptemp);
9314 } else {
9315 Py_INCREF(Py_None);
9316 _resultobj = Py_None;
9317 }
70551f47
RD
9318 return _resultobj;
9319}
9320
c95e68d8
RD
9321static void *SwigwxWindowDCTowxDC(void *ptr) {
9322 wxWindowDC *src;
9323 wxDC *dest;
9324 src = (wxWindowDC *) ptr;
9325 dest = (wxDC *) src;
9326 return (void *) dest;
9327}
9328
9df61a29
RD
9329static void *SwigwxWindowDCTowxObject(void *ptr) {
9330 wxWindowDC *src;
9331 wxObject *dest;
9332 src = (wxWindowDC *) ptr;
9333 dest = (wxObject *) src;
9334 return (void *) dest;
9335}
9336
c95e68d8 9337#define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
107e4716 9338static PyObject *_wrap_new_wxWindowDC(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
9339 PyObject * _resultobj;
9340 wxWindowDC * _result;
9341 wxWindow * _arg0;
2d091820 9342 PyObject * _argo0 = 0;
107e4716 9343 char *_kwnames[] = { "win", NULL };
c95e68d8
RD
9344 char _ptemp[128];
9345
9346 self = self;
107e4716 9347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxWindowDC",_kwnames,&_argo0))
c95e68d8 9348 return NULL;
2d091820
RD
9349 if (_argo0) {
9350 if (_argo0 == Py_None) { _arg0 = NULL; }
9351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
c95e68d8
RD
9352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
9353 return NULL;
9354 }
9355 }
ab9bc19b
RD
9356{
9357 wxPy_BEGIN_ALLOW_THREADS;
9358 _result = (wxWindowDC *)new_wxWindowDC(_arg0);
9359
9360 wxPy_END_ALLOW_THREADS;
4dfaa61e 9361 if (PyErr_Occurred()) return NULL;
2d091820
RD
9362} if (_result) {
9363 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindowDC_p");
9364 _resultobj = Py_BuildValue("s",_ptemp);
9365 } else {
9366 Py_INCREF(Py_None);
9367 _resultobj = Py_None;
9368 }
c95e68d8
RD
9369 return _resultobj;
9370}
9371
9df61a29
RD
9372static void *SwigwxPaletteTowxGDIObject(void *ptr) {
9373 wxPalette *src;
9374 wxGDIObject *dest;
9375 src = (wxPalette *) ptr;
9376 dest = (wxGDIObject *) src;
9377 return (void *) dest;
9378}
9379
9380static void *SwigwxPaletteTowxObject(void *ptr) {
9381 wxPalette *src;
9382 wxObject *dest;
9383 src = (wxPalette *) ptr;
9384 dest = (wxObject *) src;
9385 return (void *) dest;
9386}
9387
105e45b9 9388#define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
107e4716 9389static PyObject *_wrap_new_wxPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9
RD
9390 PyObject * _resultobj;
9391 wxPalette * _result;
9392 int _arg0;
9393 byte * _arg1;
9394 byte * _arg2;
9395 byte * _arg3;
9396 PyObject * _obj1 = 0;
9397 PyObject * _obj2 = 0;
9398 PyObject * _obj3 = 0;
e02c03a4 9399 char *_kwnames[] = { "choices","choices","choices", NULL };
105e45b9
RD
9400 char _ptemp[128];
9401
9402 self = self;
107e4716 9403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:new_wxPalette",_kwnames,&_obj1,&_obj2,&_obj3))
105e45b9
RD
9404 return NULL;
9405{
9406 _arg1 = byte_LIST_helper(_obj1);
9407 if (_arg1 == NULL) {
9408 return NULL;
9409 }
9410}
9411{
9412 _arg2 = byte_LIST_helper(_obj2);
9413 if (_arg2 == NULL) {
9414 return NULL;
9415 }
9416}
9417 if (_obj3)
9418{
9419 _arg3 = byte_LIST_helper(_obj3);
9420 if (_arg3 == NULL) {
9421 return NULL;
9422 }
9423}
9424{
ab9bc19b
RD
9425 if (_obj1) {
9426 _arg0 = PyList_Size(_obj1);
9427 }
9428 else {
9429 _arg0 = 0;
9430 }
105e45b9 9431}
ab9bc19b
RD
9432{
9433 wxPy_BEGIN_ALLOW_THREADS;
9434 _result = (wxPalette *)new_wxPalette(_arg0,_arg1,_arg2,_arg3);
9435
9436 wxPy_END_ALLOW_THREADS;
4dfaa61e 9437 if (PyErr_Occurred()) return NULL;
2d091820
RD
9438} if (_result) {
9439 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPalette_p");
9440 _resultobj = Py_BuildValue("s",_ptemp);
9441 } else {
9442 Py_INCREF(Py_None);
9443 _resultobj = Py_None;
9444 }
105e45b9
RD
9445{
9446 delete [] _arg1;
9447}
9448{
9449 delete [] _arg2;
9450}
9451{
9452 delete [] _arg3;
9453}
9454 return _resultobj;
9455}
9456
9457#define delete_wxPalette(_swigobj) (delete _swigobj)
107e4716 9458static PyObject *_wrap_delete_wxPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9
RD
9459 PyObject * _resultobj;
9460 wxPalette * _arg0;
2d091820 9461 PyObject * _argo0 = 0;
107e4716 9462 char *_kwnames[] = { "self", NULL };
105e45b9
RD
9463
9464 self = self;
107e4716 9465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPalette",_kwnames,&_argo0))
105e45b9 9466 return NULL;
2d091820
RD
9467 if (_argo0) {
9468 if (_argo0 == Py_None) { _arg0 = NULL; }
9469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPalette_p")) {
105e45b9
RD
9470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
9471 return NULL;
9472 }
9473 }
ab9bc19b
RD
9474{
9475 wxPy_BEGIN_ALLOW_THREADS;
9476 delete_wxPalette(_arg0);
9477
9478 wxPy_END_ALLOW_THREADS;
4dfaa61e 9479 if (PyErr_Occurred()) return NULL;
ab9bc19b 9480} Py_INCREF(Py_None);
105e45b9
RD
9481 _resultobj = Py_None;
9482 return _resultobj;
9483}
9484
9485#define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
107e4716 9486static PyObject *_wrap_wxPalette_GetPixel(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9
RD
9487 PyObject * _resultobj;
9488 int _result;
9489 wxPalette * _arg0;
9490 byte _arg1;
9491 byte _arg2;
9492 byte _arg3;
2d091820 9493 PyObject * _argo0 = 0;
107e4716 9494 char *_kwnames[] = { "self","red","green","blue", NULL };
105e45b9
RD
9495
9496 self = self;
107e4716 9497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Obbb:wxPalette_GetPixel",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
105e45b9 9498 return NULL;
2d091820
RD
9499 if (_argo0) {
9500 if (_argo0 == Py_None) { _arg0 = NULL; }
9501 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPalette_p")) {
105e45b9
RD
9502 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
9503 return NULL;
9504 }
9505 }
ab9bc19b
RD
9506{
9507 wxPy_BEGIN_ALLOW_THREADS;
9508 _result = (int )wxPalette_GetPixel(_arg0,_arg1,_arg2,_arg3);
9509
9510 wxPy_END_ALLOW_THREADS;
4dfaa61e 9511 if (PyErr_Occurred()) return NULL;
ab9bc19b 9512} _resultobj = Py_BuildValue("i",_result);
105e45b9
RD
9513 return _resultobj;
9514}
9515
9516#define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
107e4716 9517static PyObject *_wrap_wxPalette_GetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9
RD
9518 PyObject * _resultobj;
9519 bool _result;
9520 wxPalette * _arg0;
9521 int _arg1;
9522 byte * _arg2;
9523 byte * _arg3;
9524 byte * _arg4;
2d091820
RD
9525 PyObject * _argo0 = 0;
9526 PyObject * _argo2 = 0;
9527 PyObject * _argo3 = 0;
9528 PyObject * _argo4 = 0;
107e4716 9529 char *_kwnames[] = { "self","pixel","OUTPUT","OUTPUT","OUTPUT", NULL };
105e45b9
RD
9530
9531 self = self;
107e4716 9532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOOO:wxPalette_GetRGB",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_argo4))
105e45b9 9533 return NULL;
2d091820
RD
9534 if (_argo0) {
9535 if (_argo0 == Py_None) { _arg0 = NULL; }
9536 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPalette_p")) {
105e45b9
RD
9537 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
9538 return NULL;
9539 }
9540 }
2d091820
RD
9541 if (_argo2) {
9542 if (_argo2 == Py_None) { _arg2 = NULL; }
9543 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_byte_p")) {
105e45b9
RD
9544 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
9545 return NULL;
9546 }
9547 }
2d091820
RD
9548 if (_argo3) {
9549 if (_argo3 == Py_None) { _arg3 = NULL; }
9550 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_byte_p")) {
105e45b9
RD
9551 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
9552 return NULL;
9553 }
9554 }
2d091820
RD
9555 if (_argo4) {
9556 if (_argo4 == Py_None) { _arg4 = NULL; }
9557 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_byte_p")) {
105e45b9
RD
9558 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
9559 return NULL;
9560 }
9561 }
ab9bc19b
RD
9562{
9563 wxPy_BEGIN_ALLOW_THREADS;
9564 _result = (bool )wxPalette_GetRGB(_arg0,_arg1,_arg2,_arg3,_arg4);
9565
9566 wxPy_END_ALLOW_THREADS;
4dfaa61e 9567 if (PyErr_Occurred()) return NULL;
ab9bc19b 9568} _resultobj = Py_BuildValue("i",_result);
105e45b9
RD
9569 return _resultobj;
9570}
9571
9572#define wxPalette_Ok(_swigobj) (_swigobj->Ok())
107e4716 9573static PyObject *_wrap_wxPalette_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
105e45b9
RD
9574 PyObject * _resultobj;
9575 bool _result;
9576 wxPalette * _arg0;
2d091820 9577 PyObject * _argo0 = 0;
107e4716 9578 char *_kwnames[] = { "self", NULL };
105e45b9
RD
9579
9580 self = self;
107e4716 9581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPalette_Ok",_kwnames,&_argo0))
105e45b9 9582 return NULL;
2d091820
RD
9583 if (_argo0) {
9584 if (_argo0 == Py_None) { _arg0 = NULL; }
9585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPalette_p")) {
105e45b9
RD
9586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
9587 return NULL;
9588 }
9589 }
ab9bc19b
RD
9590{
9591 wxPy_BEGIN_ALLOW_THREADS;
9592 _result = (bool )wxPalette_Ok(_arg0);
9593
9594 wxPy_END_ALLOW_THREADS;
4dfaa61e 9595 if (PyErr_Occurred()) return NULL;
ab9bc19b 9596} _resultobj = Py_BuildValue("i",_result);
105e45b9
RD
9597 return _resultobj;
9598}
9599
9df61a29
RD
9600static void *SwigwxImageListTowxObject(void *ptr) {
9601 wxImageList *src;
9602 wxObject *dest;
9603 src = (wxImageList *) ptr;
9604 dest = (wxObject *) src;
9605 return (void *) dest;
9606}
9607
21f8d7ea 9608#define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
107e4716 9609static PyObject *_wrap_new_wxImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
9610 PyObject * _resultobj;
9611 wxImageList * _result;
9612 int _arg0;
9613 int _arg1;
7ff49f0c 9614 int _arg2 = (int ) TRUE;
2d091820 9615 int _arg3 = (int ) 1;
107e4716 9616 char *_kwnames[] = { "width","height","mask","initialCount", NULL };
21f8d7ea
RD
9617 char _ptemp[128];
9618
9619 self = self;
56f5d962 9620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii|ii:new_wxImageList",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
21f8d7ea 9621 return NULL;
ab9bc19b
RD
9622{
9623 wxPy_BEGIN_ALLOW_THREADS;
9624 _result = (wxImageList *)new_wxImageList(_arg0,_arg1,_arg2,_arg3);
9625
9626 wxPy_END_ALLOW_THREADS;
4dfaa61e 9627 if (PyErr_Occurred()) return NULL;
2d091820
RD
9628} if (_result) {
9629 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
9630 _resultobj = Py_BuildValue("s",_ptemp);
9631 } else {
9632 Py_INCREF(Py_None);
9633 _resultobj = Py_None;
9634 }
21f8d7ea
RD
9635 return _resultobj;
9636}
9637
9638#define delete_wxImageList(_swigobj) (delete _swigobj)
107e4716 9639static PyObject *_wrap_delete_wxImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
9640 PyObject * _resultobj;
9641 wxImageList * _arg0;
2d091820 9642 PyObject * _argo0 = 0;
107e4716 9643 char *_kwnames[] = { "self", NULL };
21f8d7ea
RD
9644
9645 self = self;
107e4716 9646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxImageList",_kwnames,&_argo0))
21f8d7ea 9647 return NULL;
2d091820
RD
9648 if (_argo0) {
9649 if (_argo0 == Py_None) { _arg0 = NULL; }
9650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea
RD
9651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
9652 return NULL;
9653 }
9654 }
ab9bc19b
RD
9655{
9656 wxPy_BEGIN_ALLOW_THREADS;
9657 delete_wxImageList(_arg0);
9658
9659 wxPy_END_ALLOW_THREADS;
4dfaa61e 9660 if (PyErr_Occurred()) return NULL;
ab9bc19b 9661} Py_INCREF(Py_None);
21f8d7ea
RD
9662 _resultobj = Py_None;
9663 return _resultobj;
9664}
9665
f6bcfd97 9666#define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
107e4716 9667static PyObject *_wrap_wxImageList_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
9668 PyObject * _resultobj;
9669 int _result;
9670 wxImageList * _arg0;
9671 wxBitmap * _arg1;
f6bcfd97 9672 wxBitmap * _arg2 = (wxBitmap *) &wxNullBitmap;
2d091820
RD
9673 PyObject * _argo0 = 0;
9674 PyObject * _argo1 = 0;
f6bcfd97
BP
9675 PyObject * _argo2 = 0;
9676 char *_kwnames[] = { "self","bitmap","mask", NULL };
21f8d7ea
RD
9677
9678 self = self;
f6bcfd97 9679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxImageList_Add",_kwnames,&_argo0,&_argo1,&_argo2))
21f8d7ea 9680 return NULL;
2d091820
RD
9681 if (_argo0) {
9682 if (_argo0 == Py_None) { _arg0 = NULL; }
9683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea
RD
9684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
9685 return NULL;
9686 }
9687 }
2d091820
RD
9688 if (_argo1) {
9689 if (_argo1 == Py_None) { _arg1 = NULL; }
9690 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
21f8d7ea
RD
9691 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
9692 return NULL;
9693 }
9694 }
f6bcfd97
BP
9695 if (_argo2) {
9696 if (_argo2 == Py_None) { _arg2 = NULL; }
9697 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
9698 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
9699 return NULL;
9700 }
9701 }
9702{
9703 wxPy_BEGIN_ALLOW_THREADS;
9704 _result = (int )wxImageList_Add(_arg0,*_arg1,*_arg2);
9705
9706 wxPy_END_ALLOW_THREADS;
4dfaa61e 9707 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9708} _resultobj = Py_BuildValue("i",_result);
9709 return _resultobj;
9710}
9711
9712#define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
9713static PyObject *_wrap_wxImageList_AddWithColourMask(PyObject *self, PyObject *args, PyObject *kwargs) {
9714 PyObject * _resultobj;
9715 int _result;
9716 wxImageList * _arg0;
9717 wxBitmap * _arg1;
9718 wxColour * _arg2;
9719 PyObject * _argo0 = 0;
9720 PyObject * _argo1 = 0;
9721 wxColour temp;
9722 PyObject * _obj2 = 0;
9723 char *_kwnames[] = { "self","bitmap","maskColour", NULL };
9724
9725 self = self;
9726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxImageList_AddWithColourMask",_kwnames,&_argo0,&_argo1,&_obj2))
9727 return NULL;
9728 if (_argo0) {
9729 if (_argo0 == Py_None) { _arg0 = NULL; }
9730 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
9731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
9732 return NULL;
9733 }
9734 }
9735 if (_argo1) {
9736 if (_argo1 == Py_None) { _arg1 = NULL; }
9737 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
9738 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
9739 return NULL;
9740 }
9741 }
9742{
9743 _arg2 = &temp;
9744 if (! wxColour_helper(_obj2, &_arg2))
9745 return NULL;
9746}
ab9bc19b
RD
9747{
9748 wxPy_BEGIN_ALLOW_THREADS;
f6bcfd97
BP
9749 _result = (int )wxImageList_AddWithColourMask(_arg0,*_arg1,*_arg2);
9750
9751 wxPy_END_ALLOW_THREADS;
4dfaa61e 9752 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9753} _resultobj = Py_BuildValue("i",_result);
9754 return _resultobj;
9755}
9756
9757#define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
9758static PyObject *_wrap_wxImageList_AddIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9759 PyObject * _resultobj;
9760 int _result;
9761 wxImageList * _arg0;
9762 wxIcon * _arg1;
9763 PyObject * _argo0 = 0;
9764 PyObject * _argo1 = 0;
9765 char *_kwnames[] = { "self","icon", NULL };
9766
9767 self = self;
9768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxImageList_AddIcon",_kwnames,&_argo0,&_argo1))
9769 return NULL;
9770 if (_argo0) {
9771 if (_argo0 == Py_None) { _arg0 = NULL; }
9772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
9773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
9774 return NULL;
9775 }
9776 }
9777 if (_argo1) {
9778 if (_argo1 == Py_None) { _arg1 = NULL; }
9779 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
9780 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
9781 return NULL;
9782 }
9783 }
9784{
9785 wxPy_BEGIN_ALLOW_THREADS;
9786 _result = (int )wxImageList_AddIcon(_arg0,*_arg1);
ab9bc19b
RD
9787
9788 wxPy_END_ALLOW_THREADS;
4dfaa61e 9789 if (PyErr_Occurred()) return NULL;
ab9bc19b 9790} _resultobj = Py_BuildValue("i",_result);
21f8d7ea
RD
9791 return _resultobj;
9792}
9793
9794#define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
107e4716 9795static PyObject *_wrap_wxImageList_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
9796 PyObject * _resultobj;
9797 bool _result;
9798 wxImageList * _arg0;
9799 int _arg1;
9800 wxBitmap * _arg2;
2d091820
RD
9801 PyObject * _argo0 = 0;
9802 PyObject * _argo2 = 0;
107e4716 9803 char *_kwnames[] = { "self","index","bitmap", NULL };
21f8d7ea
RD
9804
9805 self = self;
107e4716 9806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxImageList_Replace",_kwnames,&_argo0,&_arg1,&_argo2))
21f8d7ea 9807 return NULL;
2d091820
RD
9808 if (_argo0) {
9809 if (_argo0 == Py_None) { _arg0 = NULL; }
9810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea
RD
9811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
9812 return NULL;
9813 }
9814 }
2d091820
RD
9815 if (_argo2) {
9816 if (_argo2 == Py_None) { _arg2 = NULL; }
9817 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
21f8d7ea
RD
9818 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
9819 return NULL;
9820 }
9821 }
ab9bc19b
RD
9822{
9823 wxPy_BEGIN_ALLOW_THREADS;
9824 _result = (bool )wxImageList_Replace(_arg0,_arg1,*_arg2);
9825
9826 wxPy_END_ALLOW_THREADS;
4dfaa61e 9827 if (PyErr_Occurred()) return NULL;
ab9bc19b 9828} _resultobj = Py_BuildValue("i",_result);
21f8d7ea
RD
9829 return _resultobj;
9830}
9831
9832#define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
107e4716 9833static PyObject *_wrap_wxImageList_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
9834 PyObject * _resultobj;
9835 bool _result;
9836 wxImageList * _arg0;
9837 int _arg1;
9838 wxDC * _arg2;
9839 int _arg3;
9840 int _arg4;
2d091820
RD
9841 int _arg5 = (int ) (wxIMAGELIST_DRAW_NORMAL);
9842 bool _arg6 = (bool ) FALSE;
9843 PyObject * _argo0 = 0;
9844 PyObject * _argo2 = 0;
9845 int tempbool6 = (int) FALSE;
107e4716 9846 char *_kwnames[] = { "self","index","dc","x","x","flags","solidBackground", NULL };
21f8d7ea
RD
9847
9848 self = self;
107e4716 9849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOii|ii:wxImageList_Draw",_kwnames,&_argo0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6))
21f8d7ea 9850 return NULL;
2d091820
RD
9851 if (_argo0) {
9852 if (_argo0 == Py_None) { _arg0 = NULL; }
9853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea
RD
9854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
9855 return NULL;
9856 }
9857 }
2d091820
RD
9858 if (_argo2) {
9859 if (_argo2 == Py_None) { _arg2 = NULL; }
9860 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxDC_p")) {
21f8d7ea
RD
9861 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
9862 return NULL;
9863 }
9864 }
9865 _arg6 = (bool ) tempbool6;
ab9bc19b
RD
9866{
9867 wxPy_BEGIN_ALLOW_THREADS;
9868 _result = (bool )wxImageList_Draw(_arg0,_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6);
9869
9870 wxPy_END_ALLOW_THREADS;
4dfaa61e 9871 if (PyErr_Occurred()) return NULL;
ab9bc19b 9872} _resultobj = Py_BuildValue("i",_result);
21f8d7ea
RD
9873 return _resultobj;
9874}
9875
9876#define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
107e4716 9877static PyObject *_wrap_wxImageList_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
9878 PyObject * _resultobj;
9879 int _result;
9880 wxImageList * _arg0;
2d091820 9881 PyObject * _argo0 = 0;
107e4716 9882 char *_kwnames[] = { "self", NULL };
21f8d7ea
RD
9883
9884 self = self;
107e4716 9885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImageList_GetImageCount",_kwnames,&_argo0))
21f8d7ea 9886 return NULL;
2d091820
RD
9887 if (_argo0) {
9888 if (_argo0 == Py_None) { _arg0 = NULL; }
9889 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea
RD
9890 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
9891 return NULL;
9892 }
9893 }
ab9bc19b
RD
9894{
9895 wxPy_BEGIN_ALLOW_THREADS;
9896 _result = (int )wxImageList_GetImageCount(_arg0);
9897
9898 wxPy_END_ALLOW_THREADS;
4dfaa61e 9899 if (PyErr_Occurred()) return NULL;
ab9bc19b 9900} _resultobj = Py_BuildValue("i",_result);
21f8d7ea
RD
9901 return _resultobj;
9902}
9903
9904#define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
107e4716 9905static PyObject *_wrap_wxImageList_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
9906 PyObject * _resultobj;
9907 bool _result;
9908 wxImageList * _arg0;
9909 int _arg1;
2d091820 9910 PyObject * _argo0 = 0;
107e4716 9911 char *_kwnames[] = { "self","index", NULL };
21f8d7ea
RD
9912
9913 self = self;
107e4716 9914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxImageList_Remove",_kwnames,&_argo0,&_arg1))
21f8d7ea 9915 return NULL;
2d091820
RD
9916 if (_argo0) {
9917 if (_argo0 == Py_None) { _arg0 = NULL; }
9918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea
RD
9919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
9920 return NULL;
9921 }
9922 }
ab9bc19b
RD
9923{
9924 wxPy_BEGIN_ALLOW_THREADS;
9925 _result = (bool )wxImageList_Remove(_arg0,_arg1);
9926
9927 wxPy_END_ALLOW_THREADS;
4dfaa61e 9928 if (PyErr_Occurred()) return NULL;
ab9bc19b 9929} _resultobj = Py_BuildValue("i",_result);
21f8d7ea
RD
9930 return _resultobj;
9931}
9932
9933#define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
107e4716 9934static PyObject *_wrap_wxImageList_RemoveAll(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
9935 PyObject * _resultobj;
9936 bool _result;
9937 wxImageList * _arg0;
2d091820 9938 PyObject * _argo0 = 0;
107e4716 9939 char *_kwnames[] = { "self", NULL };
21f8d7ea
RD
9940
9941 self = self;
107e4716 9942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImageList_RemoveAll",_kwnames,&_argo0))
21f8d7ea 9943 return NULL;
2d091820
RD
9944 if (_argo0) {
9945 if (_argo0 == Py_None) { _arg0 = NULL; }
9946 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea
RD
9947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
9948 return NULL;
9949 }
9950 }
ab9bc19b
RD
9951{
9952 wxPy_BEGIN_ALLOW_THREADS;
9953 _result = (bool )wxImageList_RemoveAll(_arg0);
9954
9955 wxPy_END_ALLOW_THREADS;
4dfaa61e 9956 if (PyErr_Occurred()) return NULL;
ab9bc19b 9957} _resultobj = Py_BuildValue("i",_result);
21f8d7ea
RD
9958 return _resultobj;
9959}
9960
f6bcfd97
BP
9961#define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
9962static PyObject *_wrap_wxImageList_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9963 PyObject * _resultobj;
9964 wxImageList * _arg0;
9965 int _arg1;
9966 int * _arg2;
9967 int temp;
9968 int * _arg3;
9969 int temp0;
9970 PyObject * _argo0 = 0;
9971 char *_kwnames[] = { "self","index", NULL };
9972
9973 self = self;
9974{
9975 _arg2 = &temp;
9976}
9977{
9978 _arg3 = &temp0;
9979}
9980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxImageList_GetSize",_kwnames,&_argo0,&_arg1))
9981 return NULL;
9982 if (_argo0) {
9983 if (_argo0 == Py_None) { _arg0 = NULL; }
9984 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
9985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
9986 return NULL;
9987 }
9988 }
9989{
9990 wxPy_BEGIN_ALLOW_THREADS;
9991 wxImageList_GetSize(_arg0,_arg1,*_arg2,*_arg3);
9992
9993 wxPy_END_ALLOW_THREADS;
4dfaa61e 9994 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9995} Py_INCREF(Py_None);
9996 _resultobj = Py_None;
9997{
9998 PyObject *o;
9999 o = PyInt_FromLong((long) (*_arg2));
10000 _resultobj = t_output_helper(_resultobj, o);
10001}
10002{
10003 PyObject *o;
10004 o = PyInt_FromLong((long) (*_arg3));
10005 _resultobj = t_output_helper(_resultobj, o);
10006}
10007 return _resultobj;
10008}
10009
9df61a29
RD
10010static void *SwigwxRegionTowxGDIObject(void *ptr) {
10011 wxRegion *src;
10012 wxGDIObject *dest;
10013 src = (wxRegion *) ptr;
10014 dest = (wxGDIObject *) src;
10015 return (void *) dest;
10016}
10017
10018static void *SwigwxRegionTowxObject(void *ptr) {
10019 wxRegion *src;
10020 wxObject *dest;
10021 src = (wxRegion *) ptr;
10022 dest = (wxObject *) src;
10023 return (void *) dest;
10024}
10025
10026#define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10027static PyObject *_wrap_new_wxRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
10028 PyObject * _resultobj;
10029 wxRegion * _result;
10030 long _arg0 = (long ) 0;
10031 long _arg1 = (long ) 0;
10032 long _arg2 = (long ) 0;
10033 long _arg3 = (long ) 0;
10034 char *_kwnames[] = { "x","y","width","height", NULL };
10035 char _ptemp[128];
10036
10037 self = self;
10038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|llll:new_wxRegion",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
10039 return NULL;
10040{
10041 wxPy_BEGIN_ALLOW_THREADS;
10042 _result = (wxRegion *)new_wxRegion(_arg0,_arg1,_arg2,_arg3);
10043
10044 wxPy_END_ALLOW_THREADS;
4dfaa61e 10045 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10046} if (_result) {
10047 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRegion_p");
10048 _resultobj = Py_BuildValue("s",_ptemp);
10049 } else {
10050 Py_INCREF(Py_None);
10051 _resultobj = Py_None;
10052 }
10053 return _resultobj;
10054}
10055
10056#define delete_wxRegion(_swigobj) (delete _swigobj)
10057static PyObject *_wrap_delete_wxRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
10058 PyObject * _resultobj;
10059 wxRegion * _arg0;
10060 PyObject * _argo0 = 0;
10061 char *_kwnames[] = { "self", NULL };
10062
10063 self = self;
10064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxRegion",_kwnames,&_argo0))
10065 return NULL;
10066 if (_argo0) {
10067 if (_argo0 == Py_None) { _arg0 = NULL; }
10068 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
10070 return NULL;
10071 }
10072 }
10073{
10074 wxPy_BEGIN_ALLOW_THREADS;
10075 delete_wxRegion(_arg0);
10076
10077 wxPy_END_ALLOW_THREADS;
4dfaa61e 10078 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10079} Py_INCREF(Py_None);
10080 _resultobj = Py_None;
10081 return _resultobj;
10082}
10083
10084#define wxRegion_Clear(_swigobj) (_swigobj->Clear())
10085static PyObject *_wrap_wxRegion_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
10086 PyObject * _resultobj;
10087 wxRegion * _arg0;
10088 PyObject * _argo0 = 0;
10089 char *_kwnames[] = { "self", NULL };
10090
10091 self = self;
10092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegion_Clear",_kwnames,&_argo0))
10093 return NULL;
10094 if (_argo0) {
10095 if (_argo0 == Py_None) { _arg0 = NULL; }
10096 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
10098 return NULL;
10099 }
10100 }
10101{
10102 wxPy_BEGIN_ALLOW_THREADS;
10103 wxRegion_Clear(_arg0);
10104
10105 wxPy_END_ALLOW_THREADS;
4dfaa61e 10106 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10107} Py_INCREF(Py_None);
10108 _resultobj = Py_None;
10109 return _resultobj;
10110}
10111
10112#define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
10113static PyObject *_wrap_wxRegion_Contains(PyObject *self, PyObject *args, PyObject *kwargs) {
10114 PyObject * _resultobj;
10115 wxRegionContain _result;
10116 wxRegion * _arg0;
10117 long _arg1;
10118 long _arg2;
10119 PyObject * _argo0 = 0;
10120 char *_kwnames[] = { "self","x","y", NULL };
10121
10122 self = self;
10123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxRegion_Contains",_kwnames,&_argo0,&_arg1,&_arg2))
10124 return NULL;
10125 if (_argo0) {
10126 if (_argo0 == Py_None) { _arg0 = NULL; }
10127 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10128 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
10129 return NULL;
10130 }
10131 }
10132{
10133 wxPy_BEGIN_ALLOW_THREADS;
10134 _result = (wxRegionContain )wxRegion_Contains(_arg0,_arg1,_arg2);
10135
10136 wxPy_END_ALLOW_THREADS;
4dfaa61e 10137 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10138} _resultobj = Py_BuildValue("i",_result);
10139 return _resultobj;
10140}
10141
10142#define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10143static PyObject *_wrap_wxRegion_ContainsPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
10144 PyObject * _resultobj;
10145 wxRegionContain _result;
10146 wxRegion * _arg0;
10147 wxPoint * _arg1;
10148 PyObject * _argo0 = 0;
10149 wxPoint temp;
10150 PyObject * _obj1 = 0;
10151 char *_kwnames[] = { "self","pt", NULL };
10152
10153 self = self;
10154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_ContainsPoint",_kwnames,&_argo0,&_obj1))
10155 return NULL;
10156 if (_argo0) {
10157 if (_argo0 == Py_None) { _arg0 = NULL; }
10158 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10159 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
10160 return NULL;
10161 }
10162 }
10163{
10164 _arg1 = &temp;
10165 if (! wxPoint_helper(_obj1, &_arg1))
10166 return NULL;
10167}
10168{
10169 wxPy_BEGIN_ALLOW_THREADS;
10170 _result = (wxRegionContain )wxRegion_ContainsPoint(_arg0,*_arg1);
10171
10172 wxPy_END_ALLOW_THREADS;
4dfaa61e 10173 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10174} _resultobj = Py_BuildValue("i",_result);
10175 return _resultobj;
10176}
10177
10178#define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10179static PyObject *_wrap_wxRegion_ContainsRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10180 PyObject * _resultobj;
10181 wxRegionContain _result;
10182 wxRegion * _arg0;
10183 wxRect * _arg1;
10184 PyObject * _argo0 = 0;
10185 wxRect temp;
10186 PyObject * _obj1 = 0;
10187 char *_kwnames[] = { "self","rect", NULL };
10188
10189 self = self;
10190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_ContainsRect",_kwnames,&_argo0,&_obj1))
10191 return NULL;
10192 if (_argo0) {
10193 if (_argo0 == Py_None) { _arg0 = NULL; }
10194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
10196 return NULL;
10197 }
10198 }
10199{
10200 _arg1 = &temp;
10201 if (! wxRect_helper(_obj1, &_arg1))
10202 return NULL;
10203}
10204{
10205 wxPy_BEGIN_ALLOW_THREADS;
10206 _result = (wxRegionContain )wxRegion_ContainsRect(_arg0,*_arg1);
10207
10208 wxPy_END_ALLOW_THREADS;
4dfaa61e 10209 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10210} _resultobj = Py_BuildValue("i",_result);
10211 return _resultobj;
10212}
10213
10214#define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10215static PyObject *_wrap_wxRegion_ContainsRectDim(PyObject *self, PyObject *args, PyObject *kwargs) {
10216 PyObject * _resultobj;
10217 wxRegionContain _result;
10218 wxRegion * _arg0;
10219 long _arg1;
10220 long _arg2;
10221 long _arg3;
10222 long _arg4;
10223 PyObject * _argo0 = 0;
10224 char *_kwnames[] = { "self","x","y","w","h", NULL };
10225
10226 self = self;
10227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxRegion_ContainsRectDim",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10228 return NULL;
10229 if (_argo0) {
10230 if (_argo0 == Py_None) { _arg0 = NULL; }
10231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
10233 return NULL;
10234 }
10235 }
10236{
10237 wxPy_BEGIN_ALLOW_THREADS;
10238 _result = (wxRegionContain )wxRegion_ContainsRectDim(_arg0,_arg1,_arg2,_arg3,_arg4);
10239
10240 wxPy_END_ALLOW_THREADS;
4dfaa61e 10241 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10242} _resultobj = Py_BuildValue("i",_result);
10243 return _resultobj;
10244}
10245
10246#define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
10247static PyObject *_wrap_wxRegion_GetBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10248 PyObject * _resultobj;
10249 wxRect * _result;
10250 wxRegion * _arg0;
10251 PyObject * _argo0 = 0;
10252 char *_kwnames[] = { "self", NULL };
10253 char _ptemp[128];
10254
10255 self = self;
10256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegion_GetBox",_kwnames,&_argo0))
10257 return NULL;
10258 if (_argo0) {
10259 if (_argo0 == Py_None) { _arg0 = NULL; }
10260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
10262 return NULL;
10263 }
10264 }
10265{
10266 wxPy_BEGIN_ALLOW_THREADS;
10267 _result = new wxRect (wxRegion_GetBox(_arg0));
10268
10269 wxPy_END_ALLOW_THREADS;
4dfaa61e 10270 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10271} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
10272 _resultobj = Py_BuildValue("s",_ptemp);
10273 return _resultobj;
10274}
10275
10276#define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10277static PyObject *_wrap_wxRegion_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
10278 PyObject * _resultobj;
10279 bool _result;
10280 wxRegion * _arg0;
10281 long _arg1;
10282 long _arg2;
10283 long _arg3;
10284 long _arg4;
10285 PyObject * _argo0 = 0;
10286 char *_kwnames[] = { "self","x","y","width","height", NULL };
10287
10288 self = self;
10289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxRegion_Intersect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10290 return NULL;
10291 if (_argo0) {
10292 if (_argo0 == Py_None) { _arg0 = NULL; }
10293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
10295 return NULL;
10296 }
10297 }
10298{
10299 wxPy_BEGIN_ALLOW_THREADS;
10300 _result = (bool )wxRegion_Intersect(_arg0,_arg1,_arg2,_arg3,_arg4);
10301
10302 wxPy_END_ALLOW_THREADS;
4dfaa61e 10303 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10304} _resultobj = Py_BuildValue("i",_result);
10305 return _resultobj;
10306}
10307
10308#define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
10309static PyObject *_wrap_wxRegion_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10310 PyObject * _resultobj;
10311 bool _result;
10312 wxRegion * _arg0;
10313 wxRect * _arg1;
10314 PyObject * _argo0 = 0;
10315 wxRect temp;
10316 PyObject * _obj1 = 0;
10317 char *_kwnames[] = { "self","rect", NULL };
10318
10319 self = self;
10320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_IntersectRect",_kwnames,&_argo0,&_obj1))
10321 return NULL;
10322 if (_argo0) {
10323 if (_argo0 == Py_None) { _arg0 = NULL; }
10324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
10326 return NULL;
10327 }
10328 }
10329{
10330 _arg1 = &temp;
10331 if (! wxRect_helper(_obj1, &_arg1))
10332 return NULL;
10333}
10334{
10335 wxPy_BEGIN_ALLOW_THREADS;
10336 _result = (bool )wxRegion_IntersectRect(_arg0,*_arg1);
10337
10338 wxPy_END_ALLOW_THREADS;
4dfaa61e 10339 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10340} _resultobj = Py_BuildValue("i",_result);
10341 return _resultobj;
10342}
10343
10344#define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
10345static PyObject *_wrap_wxRegion_IntersectRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
10346 PyObject * _resultobj;
10347 bool _result;
10348 wxRegion * _arg0;
10349 wxRegion * _arg1;
10350 PyObject * _argo0 = 0;
10351 PyObject * _argo1 = 0;
10352 char *_kwnames[] = { "self","region", NULL };
10353
10354 self = self;
10355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_IntersectRegion",_kwnames,&_argo0,&_argo1))
10356 return NULL;
10357 if (_argo0) {
10358 if (_argo0 == Py_None) { _arg0 = NULL; }
10359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
10361 return NULL;
10362 }
10363 }
10364 if (_argo1) {
10365 if (_argo1 == Py_None) { _arg1 = NULL; }
10366 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
10367 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
10368 return NULL;
10369 }
10370 }
10371{
10372 wxPy_BEGIN_ALLOW_THREADS;
10373 _result = (bool )wxRegion_IntersectRegion(_arg0,*_arg1);
10374
10375 wxPy_END_ALLOW_THREADS;
4dfaa61e 10376 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10377} _resultobj = Py_BuildValue("i",_result);
10378 return _resultobj;
10379}
10380
10381#define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
10382static PyObject *_wrap_wxRegion_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
10383 PyObject * _resultobj;
10384 bool _result;
10385 wxRegion * _arg0;
10386 PyObject * _argo0 = 0;
10387 char *_kwnames[] = { "self", NULL };
10388
10389 self = self;
10390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegion_IsEmpty",_kwnames,&_argo0))
10391 return NULL;
10392 if (_argo0) {
10393 if (_argo0 == Py_None) { _arg0 = NULL; }
10394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
10396 return NULL;
10397 }
10398 }
10399{
10400 wxPy_BEGIN_ALLOW_THREADS;
10401 _result = (bool )wxRegion_IsEmpty(_arg0);
10402
10403 wxPy_END_ALLOW_THREADS;
4dfaa61e 10404 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10405} _resultobj = Py_BuildValue("i",_result);
10406 return _resultobj;
10407}
10408
10409#define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10410static PyObject *_wrap_wxRegion_Union(PyObject *self, PyObject *args, PyObject *kwargs) {
10411 PyObject * _resultobj;
10412 bool _result;
10413 wxRegion * _arg0;
10414 long _arg1;
10415 long _arg2;
10416 long _arg3;
10417 long _arg4;
10418 PyObject * _argo0 = 0;
10419 char *_kwnames[] = { "self","x","y","width","height", NULL };
10420
10421 self = self;
10422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxRegion_Union",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10423 return NULL;
10424 if (_argo0) {
10425 if (_argo0 == Py_None) { _arg0 = NULL; }
10426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
10428 return NULL;
10429 }
10430 }
10431{
10432 wxPy_BEGIN_ALLOW_THREADS;
10433 _result = (bool )wxRegion_Union(_arg0,_arg1,_arg2,_arg3,_arg4);
10434
10435 wxPy_END_ALLOW_THREADS;
4dfaa61e 10436 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10437} _resultobj = Py_BuildValue("i",_result);
10438 return _resultobj;
10439}
10440
10441#define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
10442static PyObject *_wrap_wxRegion_UnionRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10443 PyObject * _resultobj;
10444 bool _result;
10445 wxRegion * _arg0;
10446 wxRect * _arg1;
10447 PyObject * _argo0 = 0;
10448 wxRect temp;
10449 PyObject * _obj1 = 0;
10450 char *_kwnames[] = { "self","rect", NULL };
10451
10452 self = self;
10453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_UnionRect",_kwnames,&_argo0,&_obj1))
10454 return NULL;
10455 if (_argo0) {
10456 if (_argo0 == Py_None) { _arg0 = NULL; }
10457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
10459 return NULL;
10460 }
10461 }
10462{
10463 _arg1 = &temp;
10464 if (! wxRect_helper(_obj1, &_arg1))
10465 return NULL;
10466}
10467{
10468 wxPy_BEGIN_ALLOW_THREADS;
10469 _result = (bool )wxRegion_UnionRect(_arg0,*_arg1);
10470
10471 wxPy_END_ALLOW_THREADS;
4dfaa61e 10472 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10473} _resultobj = Py_BuildValue("i",_result);
10474 return _resultobj;
10475}
10476
10477#define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
10478static PyObject *_wrap_wxRegion_UnionRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
10479 PyObject * _resultobj;
10480 bool _result;
10481 wxRegion * _arg0;
10482 wxRegion * _arg1;
10483 PyObject * _argo0 = 0;
10484 PyObject * _argo1 = 0;
10485 char *_kwnames[] = { "self","region", NULL };
10486
10487 self = self;
10488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_UnionRegion",_kwnames,&_argo0,&_argo1))
10489 return NULL;
10490 if (_argo0) {
10491 if (_argo0 == Py_None) { _arg0 = NULL; }
10492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
10494 return NULL;
10495 }
10496 }
10497 if (_argo1) {
10498 if (_argo1 == Py_None) { _arg1 = NULL; }
10499 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
10500 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
10501 return NULL;
10502 }
10503 }
10504{
10505 wxPy_BEGIN_ALLOW_THREADS;
10506 _result = (bool )wxRegion_UnionRegion(_arg0,*_arg1);
10507
10508 wxPy_END_ALLOW_THREADS;
4dfaa61e 10509 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10510} _resultobj = Py_BuildValue("i",_result);
10511 return _resultobj;
10512}
10513
10514#define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10515static PyObject *_wrap_wxRegion_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
10516 PyObject * _resultobj;
10517 bool _result;
10518 wxRegion * _arg0;
10519 long _arg1;
10520 long _arg2;
10521 long _arg3;
10522 long _arg4;
10523 PyObject * _argo0 = 0;
10524 char *_kwnames[] = { "self","x","y","width","height", NULL };
10525
10526 self = self;
10527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxRegion_Subtract",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10528 return NULL;
10529 if (_argo0) {
10530 if (_argo0 == Py_None) { _arg0 = NULL; }
10531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
10533 return NULL;
10534 }
10535 }
10536{
10537 wxPy_BEGIN_ALLOW_THREADS;
10538 _result = (bool )wxRegion_Subtract(_arg0,_arg1,_arg2,_arg3,_arg4);
10539
10540 wxPy_END_ALLOW_THREADS;
4dfaa61e 10541 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10542} _resultobj = Py_BuildValue("i",_result);
10543 return _resultobj;
10544}
10545
10546#define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
10547static PyObject *_wrap_wxRegion_SubtractRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10548 PyObject * _resultobj;
10549 bool _result;
10550 wxRegion * _arg0;
10551 wxRect * _arg1;
10552 PyObject * _argo0 = 0;
10553 wxRect temp;
10554 PyObject * _obj1 = 0;
10555 char *_kwnames[] = { "self","rect", NULL };
10556
10557 self = self;
10558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_SubtractRect",_kwnames,&_argo0,&_obj1))
10559 return NULL;
10560 if (_argo0) {
10561 if (_argo0 == Py_None) { _arg0 = NULL; }
10562 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10563 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
10564 return NULL;
10565 }
10566 }
10567{
10568 _arg1 = &temp;
10569 if (! wxRect_helper(_obj1, &_arg1))
10570 return NULL;
10571}
10572{
10573 wxPy_BEGIN_ALLOW_THREADS;
10574 _result = (bool )wxRegion_SubtractRect(_arg0,*_arg1);
10575
10576 wxPy_END_ALLOW_THREADS;
4dfaa61e 10577 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10578} _resultobj = Py_BuildValue("i",_result);
10579 return _resultobj;
10580}
10581
10582#define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
10583static PyObject *_wrap_wxRegion_SubtractRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
10584 PyObject * _resultobj;
10585 bool _result;
10586 wxRegion * _arg0;
10587 wxRegion * _arg1;
10588 PyObject * _argo0 = 0;
10589 PyObject * _argo1 = 0;
10590 char *_kwnames[] = { "self","region", NULL };
10591
10592 self = self;
10593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_SubtractRegion",_kwnames,&_argo0,&_argo1))
10594 return NULL;
10595 if (_argo0) {
10596 if (_argo0 == Py_None) { _arg0 = NULL; }
10597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
10599 return NULL;
10600 }
10601 }
10602 if (_argo1) {
10603 if (_argo1 == Py_None) { _arg1 = NULL; }
10604 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
10605 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
10606 return NULL;
10607 }
10608 }
10609{
10610 wxPy_BEGIN_ALLOW_THREADS;
10611 _result = (bool )wxRegion_SubtractRegion(_arg0,*_arg1);
10612
10613 wxPy_END_ALLOW_THREADS;
4dfaa61e 10614 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10615} _resultobj = Py_BuildValue("i",_result);
10616 return _resultobj;
10617}
10618
10619#define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10620static PyObject *_wrap_wxRegion_Xor(PyObject *self, PyObject *args, PyObject *kwargs) {
10621 PyObject * _resultobj;
10622 bool _result;
10623 wxRegion * _arg0;
10624 long _arg1;
10625 long _arg2;
10626 long _arg3;
10627 long _arg4;
10628 PyObject * _argo0 = 0;
10629 char *_kwnames[] = { "self","x","y","width","height", NULL };
10630
10631 self = self;
10632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxRegion_Xor",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10633 return NULL;
10634 if (_argo0) {
10635 if (_argo0 == Py_None) { _arg0 = NULL; }
10636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
10638 return NULL;
10639 }
10640 }
10641{
10642 wxPy_BEGIN_ALLOW_THREADS;
10643 _result = (bool )wxRegion_Xor(_arg0,_arg1,_arg2,_arg3,_arg4);
10644
10645 wxPy_END_ALLOW_THREADS;
4dfaa61e 10646 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10647} _resultobj = Py_BuildValue("i",_result);
10648 return _resultobj;
10649}
10650
10651#define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
10652static PyObject *_wrap_wxRegion_XorRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10653 PyObject * _resultobj;
10654 bool _result;
10655 wxRegion * _arg0;
10656 wxRect * _arg1;
10657 PyObject * _argo0 = 0;
10658 wxRect temp;
10659 PyObject * _obj1 = 0;
10660 char *_kwnames[] = { "self","rect", NULL };
10661
10662 self = self;
10663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_XorRect",_kwnames,&_argo0,&_obj1))
10664 return NULL;
10665 if (_argo0) {
10666 if (_argo0 == Py_None) { _arg0 = NULL; }
10667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
10669 return NULL;
10670 }
10671 }
10672{
10673 _arg1 = &temp;
10674 if (! wxRect_helper(_obj1, &_arg1))
10675 return NULL;
10676}
10677{
10678 wxPy_BEGIN_ALLOW_THREADS;
10679 _result = (bool )wxRegion_XorRect(_arg0,*_arg1);
10680
10681 wxPy_END_ALLOW_THREADS;
4dfaa61e 10682 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10683} _resultobj = Py_BuildValue("i",_result);
10684 return _resultobj;
10685}
10686
10687#define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
10688static PyObject *_wrap_wxRegion_XorRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
10689 PyObject * _resultobj;
10690 bool _result;
10691 wxRegion * _arg0;
10692 wxRegion * _arg1;
10693 PyObject * _argo0 = 0;
10694 PyObject * _argo1 = 0;
10695 char *_kwnames[] = { "self","region", NULL };
10696
10697 self = self;
10698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_XorRegion",_kwnames,&_argo0,&_argo1))
10699 return NULL;
10700 if (_argo0) {
10701 if (_argo0 == Py_None) { _arg0 = NULL; }
10702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
10704 return NULL;
10705 }
10706 }
10707 if (_argo1) {
10708 if (_argo1 == Py_None) { _arg1 = NULL; }
10709 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
10710 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
10711 return NULL;
10712 }
10713 }
10714{
10715 wxPy_BEGIN_ALLOW_THREADS;
10716 _result = (bool )wxRegion_XorRegion(_arg0,*_arg1);
10717
10718 wxPy_END_ALLOW_THREADS;
4dfaa61e 10719 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10720} _resultobj = Py_BuildValue("i",_result);
10721 return _resultobj;
10722}
10723
10724static void *SwigwxRegionIteratorTowxObject(void *ptr) {
10725 wxRegionIterator *src;
10726 wxObject *dest;
10727 src = (wxRegionIterator *) ptr;
10728 dest = (wxObject *) src;
10729 return (void *) dest;
10730}
10731
10732#define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
10733static PyObject *_wrap_new_wxRegionIterator(PyObject *self, PyObject *args, PyObject *kwargs) {
10734 PyObject * _resultobj;
10735 wxRegionIterator * _result;
10736 wxRegion * _arg0;
10737 PyObject * _argo0 = 0;
10738 char *_kwnames[] = { "region", NULL };
10739 char _ptemp[128];
10740
10741 self = self;
10742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxRegionIterator",_kwnames,&_argo0))
10743 return NULL;
10744 if (_argo0) {
10745 if (_argo0 == Py_None) { _arg0 = NULL; }
10746 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10747 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
10748 return NULL;
10749 }
10750 }
10751{
10752 wxPy_BEGIN_ALLOW_THREADS;
10753 _result = (wxRegionIterator *)new_wxRegionIterator(*_arg0);
10754
10755 wxPy_END_ALLOW_THREADS;
4dfaa61e 10756 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10757} if (_result) {
10758 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRegionIterator_p");
10759 _resultobj = Py_BuildValue("s",_ptemp);
10760 } else {
10761 Py_INCREF(Py_None);
10762 _resultobj = Py_None;
10763 }
10764 return _resultobj;
10765}
10766
10767#define delete_wxRegionIterator(_swigobj) (delete _swigobj)
10768static PyObject *_wrap_delete_wxRegionIterator(PyObject *self, PyObject *args, PyObject *kwargs) {
10769 PyObject * _resultobj;
10770 wxRegionIterator * _arg0;
10771 PyObject * _argo0 = 0;
10772 char *_kwnames[] = { "self", NULL };
10773
10774 self = self;
10775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxRegionIterator",_kwnames,&_argo0))
10776 return NULL;
10777 if (_argo0) {
10778 if (_argo0 == Py_None) { _arg0 = NULL; }
10779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
10780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
10781 return NULL;
10782 }
10783 }
10784{
10785 wxPy_BEGIN_ALLOW_THREADS;
10786 delete_wxRegionIterator(_arg0);
10787
10788 wxPy_END_ALLOW_THREADS;
4dfaa61e 10789 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10790} Py_INCREF(Py_None);
10791 _resultobj = Py_None;
10792 return _resultobj;
10793}
10794
10795#define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
10796static PyObject *_wrap_wxRegionIterator_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
10797 PyObject * _resultobj;
10798 long _result;
10799 wxRegionIterator * _arg0;
10800 PyObject * _argo0 = 0;
10801 char *_kwnames[] = { "self", NULL };
10802
10803 self = self;
10804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetX",_kwnames,&_argo0))
10805 return NULL;
10806 if (_argo0) {
10807 if (_argo0 == Py_None) { _arg0 = NULL; }
10808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
10809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
10810 return NULL;
10811 }
10812 }
10813{
10814 wxPy_BEGIN_ALLOW_THREADS;
10815 _result = (long )wxRegionIterator_GetX(_arg0);
10816
10817 wxPy_END_ALLOW_THREADS;
4dfaa61e 10818 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10819} _resultobj = Py_BuildValue("l",_result);
10820 return _resultobj;
10821}
10822
10823#define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
10824static PyObject *_wrap_wxRegionIterator_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
10825 PyObject * _resultobj;
10826 long _result;
10827 wxRegionIterator * _arg0;
10828 PyObject * _argo0 = 0;
10829 char *_kwnames[] = { "self", NULL };
10830
10831 self = self;
10832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetY",_kwnames,&_argo0))
10833 return NULL;
10834 if (_argo0) {
10835 if (_argo0 == Py_None) { _arg0 = NULL; }
10836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
10837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
10838 return NULL;
10839 }
10840 }
10841{
10842 wxPy_BEGIN_ALLOW_THREADS;
10843 _result = (long )wxRegionIterator_GetY(_arg0);
10844
10845 wxPy_END_ALLOW_THREADS;
4dfaa61e 10846 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10847} _resultobj = Py_BuildValue("l",_result);
10848 return _resultobj;
10849}
10850
10851#define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
10852static PyObject *_wrap_wxRegionIterator_GetW(PyObject *self, PyObject *args, PyObject *kwargs) {
10853 PyObject * _resultobj;
10854 long _result;
10855 wxRegionIterator * _arg0;
10856 PyObject * _argo0 = 0;
10857 char *_kwnames[] = { "self", NULL };
10858
10859 self = self;
10860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetW",_kwnames,&_argo0))
10861 return NULL;
10862 if (_argo0) {
10863 if (_argo0 == Py_None) { _arg0 = NULL; }
10864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
10865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
10866 return NULL;
10867 }
10868 }
10869{
10870 wxPy_BEGIN_ALLOW_THREADS;
10871 _result = (long )wxRegionIterator_GetW(_arg0);
10872
10873 wxPy_END_ALLOW_THREADS;
4dfaa61e 10874 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10875} _resultobj = Py_BuildValue("l",_result);
10876 return _resultobj;
10877}
10878
10879#define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
10880static PyObject *_wrap_wxRegionIterator_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10881 PyObject * _resultobj;
10882 long _result;
10883 wxRegionIterator * _arg0;
10884 PyObject * _argo0 = 0;
10885 char *_kwnames[] = { "self", NULL };
10886
10887 self = self;
10888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetWidth",_kwnames,&_argo0))
10889 return NULL;
10890 if (_argo0) {
10891 if (_argo0 == Py_None) { _arg0 = NULL; }
10892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
10893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
10894 return NULL;
10895 }
10896 }
10897{
10898 wxPy_BEGIN_ALLOW_THREADS;
10899 _result = (long )wxRegionIterator_GetWidth(_arg0);
10900
10901 wxPy_END_ALLOW_THREADS;
4dfaa61e 10902 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10903} _resultobj = Py_BuildValue("l",_result);
10904 return _resultobj;
10905}
10906
10907#define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
10908static PyObject *_wrap_wxRegionIterator_GetH(PyObject *self, PyObject *args, PyObject *kwargs) {
10909 PyObject * _resultobj;
10910 long _result;
10911 wxRegionIterator * _arg0;
10912 PyObject * _argo0 = 0;
10913 char *_kwnames[] = { "self", NULL };
10914
10915 self = self;
10916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetH",_kwnames,&_argo0))
10917 return NULL;
10918 if (_argo0) {
10919 if (_argo0 == Py_None) { _arg0 = NULL; }
10920 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
10921 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
10922 return NULL;
10923 }
10924 }
10925{
10926 wxPy_BEGIN_ALLOW_THREADS;
10927 _result = (long )wxRegionIterator_GetH(_arg0);
10928
10929 wxPy_END_ALLOW_THREADS;
4dfaa61e 10930 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10931} _resultobj = Py_BuildValue("l",_result);
10932 return _resultobj;
10933}
10934
10935#define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
10936static PyObject *_wrap_wxRegionIterator_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10937 PyObject * _resultobj;
10938 long _result;
10939 wxRegionIterator * _arg0;
10940 PyObject * _argo0 = 0;
10941 char *_kwnames[] = { "self", NULL };
10942
10943 self = self;
10944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetHeight",_kwnames,&_argo0))
10945 return NULL;
10946 if (_argo0) {
10947 if (_argo0 == Py_None) { _arg0 = NULL; }
10948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
10949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
10950 return NULL;
10951 }
10952 }
10953{
10954 wxPy_BEGIN_ALLOW_THREADS;
10955 _result = (long )wxRegionIterator_GetHeight(_arg0);
10956
10957 wxPy_END_ALLOW_THREADS;
4dfaa61e 10958 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10959} _resultobj = Py_BuildValue("l",_result);
10960 return _resultobj;
10961}
10962
10963#define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
10964static PyObject *_wrap_wxRegionIterator_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10965 PyObject * _resultobj;
10966 wxRect * _result;
10967 wxRegionIterator * _arg0;
10968 PyObject * _argo0 = 0;
10969 char *_kwnames[] = { "self", NULL };
10970 char _ptemp[128];
10971
10972 self = self;
10973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetRect",_kwnames,&_argo0))
10974 return NULL;
10975 if (_argo0) {
10976 if (_argo0 == Py_None) { _arg0 = NULL; }
10977 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
10978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
10979 return NULL;
10980 }
10981 }
10982{
10983 wxPy_BEGIN_ALLOW_THREADS;
10984 _result = new wxRect (wxRegionIterator_GetRect(_arg0));
10985
10986 wxPy_END_ALLOW_THREADS;
4dfaa61e 10987 if (PyErr_Occurred()) return NULL;
9df61a29
RD
10988} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
10989 _resultobj = Py_BuildValue("s",_ptemp);
10990 return _resultobj;
10991}
10992
10993#define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
10994static PyObject *_wrap_wxRegionIterator_HaveRects(PyObject *self, PyObject *args, PyObject *kwargs) {
10995 PyObject * _resultobj;
10996 bool _result;
10997 wxRegionIterator * _arg0;
10998 PyObject * _argo0 = 0;
10999 char *_kwnames[] = { "self", NULL };
11000
11001 self = self;
11002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_HaveRects",_kwnames,&_argo0))
11003 return NULL;
11004 if (_argo0) {
11005 if (_argo0 == Py_None) { _arg0 = NULL; }
11006 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11007 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
11008 return NULL;
11009 }
11010 }
11011{
11012 wxPy_BEGIN_ALLOW_THREADS;
11013 _result = (bool )wxRegionIterator_HaveRects(_arg0);
11014
11015 wxPy_END_ALLOW_THREADS;
4dfaa61e 11016 if (PyErr_Occurred()) return NULL;
9df61a29
RD
11017} _resultobj = Py_BuildValue("i",_result);
11018 return _resultobj;
11019}
11020
11021#define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
11022static PyObject *_wrap_wxRegionIterator_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
11023 PyObject * _resultobj;
11024 wxRegionIterator * _arg0;
11025 PyObject * _argo0 = 0;
11026 char *_kwnames[] = { "self", NULL };
11027
11028 self = self;
11029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_Reset",_kwnames,&_argo0))
11030 return NULL;
11031 if (_argo0) {
11032 if (_argo0 == Py_None) { _arg0 = NULL; }
11033 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11034 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
11035 return NULL;
11036 }
11037 }
11038{
11039 wxPy_BEGIN_ALLOW_THREADS;
11040 wxRegionIterator_Reset(_arg0);
11041
11042 wxPy_END_ALLOW_THREADS;
4dfaa61e 11043 if (PyErr_Occurred()) return NULL;
9df61a29
RD
11044} Py_INCREF(Py_None);
11045 _resultobj = Py_None;
11046 return _resultobj;
11047}
11048
11049static void wxRegionIterator_Next(wxRegionIterator *self) {
11050 (*self) ++;
11051 }
11052static PyObject *_wrap_wxRegionIterator_Next(PyObject *self, PyObject *args, PyObject *kwargs) {
11053 PyObject * _resultobj;
11054 wxRegionIterator * _arg0;
11055 PyObject * _argo0 = 0;
11056 char *_kwnames[] = { "self", NULL };
11057
11058 self = self;
11059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_Next",_kwnames,&_argo0))
11060 return NULL;
11061 if (_argo0) {
11062 if (_argo0 == Py_None) { _arg0 = NULL; }
11063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
11065 return NULL;
11066 }
11067 }
11068{
11069 wxPy_BEGIN_ALLOW_THREADS;
11070 wxRegionIterator_Next(_arg0);
11071
11072 wxPy_END_ALLOW_THREADS;
4dfaa61e 11073 if (PyErr_Occurred()) return NULL;
9df61a29
RD
11074} Py_INCREF(Py_None);
11075 _resultobj = Py_None;
11076 return _resultobj;
11077}
11078
70551f47 11079static PyMethodDef gdicMethods[] = {
9df61a29
RD
11080 { "wxRegionIterator_Next", (PyCFunction) _wrap_wxRegionIterator_Next, METH_VARARGS | METH_KEYWORDS },
11081 { "wxRegionIterator_Reset", (PyCFunction) _wrap_wxRegionIterator_Reset, METH_VARARGS | METH_KEYWORDS },
11082 { "wxRegionIterator_HaveRects", (PyCFunction) _wrap_wxRegionIterator_HaveRects, METH_VARARGS | METH_KEYWORDS },
11083 { "wxRegionIterator_GetRect", (PyCFunction) _wrap_wxRegionIterator_GetRect, METH_VARARGS | METH_KEYWORDS },
11084 { "wxRegionIterator_GetHeight", (PyCFunction) _wrap_wxRegionIterator_GetHeight, METH_VARARGS | METH_KEYWORDS },
11085 { "wxRegionIterator_GetH", (PyCFunction) _wrap_wxRegionIterator_GetH, METH_VARARGS | METH_KEYWORDS },
11086 { "wxRegionIterator_GetWidth", (PyCFunction) _wrap_wxRegionIterator_GetWidth, METH_VARARGS | METH_KEYWORDS },
11087 { "wxRegionIterator_GetW", (PyCFunction) _wrap_wxRegionIterator_GetW, METH_VARARGS | METH_KEYWORDS },
11088 { "wxRegionIterator_GetY", (PyCFunction) _wrap_wxRegionIterator_GetY, METH_VARARGS | METH_KEYWORDS },
11089 { "wxRegionIterator_GetX", (PyCFunction) _wrap_wxRegionIterator_GetX, METH_VARARGS | METH_KEYWORDS },
11090 { "delete_wxRegionIterator", (PyCFunction) _wrap_delete_wxRegionIterator, METH_VARARGS | METH_KEYWORDS },
11091 { "new_wxRegionIterator", (PyCFunction) _wrap_new_wxRegionIterator, METH_VARARGS | METH_KEYWORDS },
11092 { "wxRegion_XorRegion", (PyCFunction) _wrap_wxRegion_XorRegion, METH_VARARGS | METH_KEYWORDS },
11093 { "wxRegion_XorRect", (PyCFunction) _wrap_wxRegion_XorRect, METH_VARARGS | METH_KEYWORDS },
11094 { "wxRegion_Xor", (PyCFunction) _wrap_wxRegion_Xor, METH_VARARGS | METH_KEYWORDS },
11095 { "wxRegion_SubtractRegion", (PyCFunction) _wrap_wxRegion_SubtractRegion, METH_VARARGS | METH_KEYWORDS },
11096 { "wxRegion_SubtractRect", (PyCFunction) _wrap_wxRegion_SubtractRect, METH_VARARGS | METH_KEYWORDS },
11097 { "wxRegion_Subtract", (PyCFunction) _wrap_wxRegion_Subtract, METH_VARARGS | METH_KEYWORDS },
11098 { "wxRegion_UnionRegion", (PyCFunction) _wrap_wxRegion_UnionRegion, METH_VARARGS | METH_KEYWORDS },
11099 { "wxRegion_UnionRect", (PyCFunction) _wrap_wxRegion_UnionRect, METH_VARARGS | METH_KEYWORDS },
11100 { "wxRegion_Union", (PyCFunction) _wrap_wxRegion_Union, METH_VARARGS | METH_KEYWORDS },
11101 { "wxRegion_IsEmpty", (PyCFunction) _wrap_wxRegion_IsEmpty, METH_VARARGS | METH_KEYWORDS },
11102 { "wxRegion_IntersectRegion", (PyCFunction) _wrap_wxRegion_IntersectRegion, METH_VARARGS | METH_KEYWORDS },
11103 { "wxRegion_IntersectRect", (PyCFunction) _wrap_wxRegion_IntersectRect, METH_VARARGS | METH_KEYWORDS },
11104 { "wxRegion_Intersect", (PyCFunction) _wrap_wxRegion_Intersect, METH_VARARGS | METH_KEYWORDS },
11105 { "wxRegion_GetBox", (PyCFunction) _wrap_wxRegion_GetBox, METH_VARARGS | METH_KEYWORDS },
11106 { "wxRegion_ContainsRectDim", (PyCFunction) _wrap_wxRegion_ContainsRectDim, METH_VARARGS | METH_KEYWORDS },
11107 { "wxRegion_ContainsRect", (PyCFunction) _wrap_wxRegion_ContainsRect, METH_VARARGS | METH_KEYWORDS },
11108 { "wxRegion_ContainsPoint", (PyCFunction) _wrap_wxRegion_ContainsPoint, METH_VARARGS | METH_KEYWORDS },
11109 { "wxRegion_Contains", (PyCFunction) _wrap_wxRegion_Contains, METH_VARARGS | METH_KEYWORDS },
11110 { "wxRegion_Clear", (PyCFunction) _wrap_wxRegion_Clear, METH_VARARGS | METH_KEYWORDS },
11111 { "delete_wxRegion", (PyCFunction) _wrap_delete_wxRegion, METH_VARARGS | METH_KEYWORDS },
11112 { "new_wxRegion", (PyCFunction) _wrap_new_wxRegion, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 11113 { "wxImageList_GetSize", (PyCFunction) _wrap_wxImageList_GetSize, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11114 { "wxImageList_RemoveAll", (PyCFunction) _wrap_wxImageList_RemoveAll, METH_VARARGS | METH_KEYWORDS },
11115 { "wxImageList_Remove", (PyCFunction) _wrap_wxImageList_Remove, METH_VARARGS | METH_KEYWORDS },
11116 { "wxImageList_GetImageCount", (PyCFunction) _wrap_wxImageList_GetImageCount, METH_VARARGS | METH_KEYWORDS },
11117 { "wxImageList_Draw", (PyCFunction) _wrap_wxImageList_Draw, METH_VARARGS | METH_KEYWORDS },
11118 { "wxImageList_Replace", (PyCFunction) _wrap_wxImageList_Replace, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
11119 { "wxImageList_AddIcon", (PyCFunction) _wrap_wxImageList_AddIcon, METH_VARARGS | METH_KEYWORDS },
11120 { "wxImageList_AddWithColourMask", (PyCFunction) _wrap_wxImageList_AddWithColourMask, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11121 { "wxImageList_Add", (PyCFunction) _wrap_wxImageList_Add, METH_VARARGS | METH_KEYWORDS },
11122 { "delete_wxImageList", (PyCFunction) _wrap_delete_wxImageList, METH_VARARGS | METH_KEYWORDS },
11123 { "new_wxImageList", (PyCFunction) _wrap_new_wxImageList, METH_VARARGS | METH_KEYWORDS },
11124 { "wxPalette_Ok", (PyCFunction) _wrap_wxPalette_Ok, METH_VARARGS | METH_KEYWORDS },
11125 { "wxPalette_GetRGB", (PyCFunction) _wrap_wxPalette_GetRGB, METH_VARARGS | METH_KEYWORDS },
11126 { "wxPalette_GetPixel", (PyCFunction) _wrap_wxPalette_GetPixel, METH_VARARGS | METH_KEYWORDS },
11127 { "delete_wxPalette", (PyCFunction) _wrap_delete_wxPalette, METH_VARARGS | METH_KEYWORDS },
11128 { "new_wxPalette", (PyCFunction) _wrap_new_wxPalette, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11129 { "new_wxWindowDC", (PyCFunction) _wrap_new_wxWindowDC, METH_VARARGS | METH_KEYWORDS },
11130 { "new_wxPaintDC", (PyCFunction) _wrap_new_wxPaintDC, METH_VARARGS | METH_KEYWORDS },
11131 { "new_wxClientDC", (PyCFunction) _wrap_new_wxClientDC, METH_VARARGS | METH_KEYWORDS },
11132 { "wxScreenDC_EndDrawingOnTop", (PyCFunction) _wrap_wxScreenDC_EndDrawingOnTop, METH_VARARGS | METH_KEYWORDS },
107e4716 11133 { "wxScreenDC_StartDrawingOnTop", (PyCFunction) _wrap_wxScreenDC_StartDrawingOnTop, METH_VARARGS | METH_KEYWORDS },
2fc99549 11134 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction) _wrap_wxScreenDC_StartDrawingOnTopWin, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11135 { "new_wxScreenDC", (PyCFunction) _wrap_new_wxScreenDC, METH_VARARGS | METH_KEYWORDS },
11136 { "wxMemoryDC_SelectObject", (PyCFunction) _wrap_wxMemoryDC_SelectObject, METH_VARARGS | METH_KEYWORDS },
11137 { "new_wxMemoryDC", (PyCFunction) _wrap_new_wxMemoryDC, METH_VARARGS | METH_KEYWORDS },
3bcd5e1c
RD
11138 { "wxDC__DrawLineList", (PyCFunction) _wrap_wxDC__DrawLineList, METH_VARARGS | METH_KEYWORDS },
11139 { "wxDC__DrawPointList", (PyCFunction) _wrap_wxDC__DrawPointList, METH_VARARGS | METH_KEYWORDS },
11140 { "wxDC_GetBoundingBox", (PyCFunction) _wrap_wxDC_GetBoundingBox, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
11141 { "wxDC_ResetBoundingBox", (PyCFunction) _wrap_wxDC_ResetBoundingBox, METH_VARARGS | METH_KEYWORDS },
11142 { "wxDC_CalcBoundingBox", (PyCFunction) _wrap_wxDC_CalcBoundingBox, METH_VARARGS | METH_KEYWORDS },
e02c03a4
RD
11143 { "wxDC_SetAxisOrientation", (PyCFunction) _wrap_wxDC_SetAxisOrientation, METH_VARARGS | METH_KEYWORDS },
11144 { "wxDC_GetDeviceOrigin", (PyCFunction) _wrap_wxDC_GetDeviceOrigin, METH_VARARGS | METH_KEYWORDS },
11145 { "wxDC_SetLogicalOrigin", (PyCFunction) _wrap_wxDC_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS },
11146 { "wxDC_GetLogicalOrigin", (PyCFunction) _wrap_wxDC_GetLogicalOrigin, METH_VARARGS | METH_KEYWORDS },
11147 { "wxDC_GetPPI", (PyCFunction) _wrap_wxDC_GetPPI, METH_VARARGS | METH_KEYWORDS },
11148 { "wxDC_GetDepth", (PyCFunction) _wrap_wxDC_GetDepth, METH_VARARGS | METH_KEYWORDS },
11149 { "wxDC_CanGetTextExtent", (PyCFunction) _wrap_wxDC_CanGetTextExtent, METH_VARARGS | METH_KEYWORDS },
11150 { "wxDC_CanDrawBitmap", (PyCFunction) _wrap_wxDC_CanDrawBitmap, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11151 { "wxDC_DrawBitmap", (PyCFunction) _wrap_wxDC_DrawBitmap, METH_VARARGS | METH_KEYWORDS },
11152 { "wxDC_StartPage", (PyCFunction) _wrap_wxDC_StartPage, METH_VARARGS | METH_KEYWORDS },
11153 { "wxDC_StartDoc", (PyCFunction) _wrap_wxDC_StartDoc, METH_VARARGS | METH_KEYWORDS },
11154 { "wxDC_SetUserScale", (PyCFunction) _wrap_wxDC_SetUserScale, METH_VARARGS | METH_KEYWORDS },
11155 { "wxDC_SetTextForeground", (PyCFunction) _wrap_wxDC_SetTextForeground, METH_VARARGS | METH_KEYWORDS },
11156 { "wxDC_SetTextBackground", (PyCFunction) _wrap_wxDC_SetTextBackground, METH_VARARGS | METH_KEYWORDS },
11157 { "wxDC_SetPen", (PyCFunction) _wrap_wxDC_SetPen, METH_VARARGS | METH_KEYWORDS },
11158 { "wxDC_SetOptimization", (PyCFunction) _wrap_wxDC_SetOptimization, METH_VARARGS | METH_KEYWORDS },
11159 { "wxDC_SetMapMode", (PyCFunction) _wrap_wxDC_SetMapMode, METH_VARARGS | METH_KEYWORDS },
e02c03a4 11160 { "wxDC_SetLogicalScale", (PyCFunction) _wrap_wxDC_SetLogicalScale, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11161 { "wxDC_SetLogicalFunction", (PyCFunction) _wrap_wxDC_SetLogicalFunction, METH_VARARGS | METH_KEYWORDS },
11162 { "wxDC_SetFont", (PyCFunction) _wrap_wxDC_SetFont, METH_VARARGS | METH_KEYWORDS },
11163 { "wxDC_SetBrush", (PyCFunction) _wrap_wxDC_SetBrush, METH_VARARGS | METH_KEYWORDS },
11164 { "wxDC_SetPalette", (PyCFunction) _wrap_wxDC_SetPalette, METH_VARARGS | METH_KEYWORDS },
059a841c 11165 { "wxDC_SetClippingRegionAsRegion", (PyCFunction) _wrap_wxDC_SetClippingRegionAsRegion, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11166 { "wxDC_SetClippingRegion", (PyCFunction) _wrap_wxDC_SetClippingRegion, METH_VARARGS | METH_KEYWORDS },
11167 { "wxDC_SetBackgroundMode", (PyCFunction) _wrap_wxDC_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
11168 { "wxDC_SetBackground", (PyCFunction) _wrap_wxDC_SetBackground, METH_VARARGS | METH_KEYWORDS },
11169 { "wxDC_SetDeviceOrigin", (PyCFunction) _wrap_wxDC_SetDeviceOrigin, METH_VARARGS | METH_KEYWORDS },
11170 { "wxDC_Ok", (PyCFunction) _wrap_wxDC_Ok, METH_VARARGS | METH_KEYWORDS },
11171 { "wxDC_MinY", (PyCFunction) _wrap_wxDC_MinY, METH_VARARGS | METH_KEYWORDS },
11172 { "wxDC_MinX", (PyCFunction) _wrap_wxDC_MinX, METH_VARARGS | METH_KEYWORDS },
11173 { "wxDC_MaxY", (PyCFunction) _wrap_wxDC_MaxY, METH_VARARGS | METH_KEYWORDS },
11174 { "wxDC_MaxX", (PyCFunction) _wrap_wxDC_MaxX, METH_VARARGS | METH_KEYWORDS },
11175 { "wxDC_LogicalToDeviceYRel", (PyCFunction) _wrap_wxDC_LogicalToDeviceYRel, METH_VARARGS | METH_KEYWORDS },
11176 { "wxDC_LogicalToDeviceY", (PyCFunction) _wrap_wxDC_LogicalToDeviceY, METH_VARARGS | METH_KEYWORDS },
11177 { "wxDC_LogicalToDeviceXRel", (PyCFunction) _wrap_wxDC_LogicalToDeviceXRel, METH_VARARGS | METH_KEYWORDS },
11178 { "wxDC_LogicalToDeviceX", (PyCFunction) _wrap_wxDC_LogicalToDeviceX, METH_VARARGS | METH_KEYWORDS },
e02c03a4 11179 { "wxDC_GetUserScale", (PyCFunction) _wrap_wxDC_GetUserScale, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11180 { "wxDC_GetTextForeground", (PyCFunction) _wrap_wxDC_GetTextForeground, METH_VARARGS | METH_KEYWORDS },
11181 { "wxDC_GetFullTextExtent", (PyCFunction) _wrap_wxDC_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
11182 { "wxDC_GetTextExtent", (PyCFunction) _wrap_wxDC_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
11183 { "wxDC_GetTextBackground", (PyCFunction) _wrap_wxDC_GetTextBackground, METH_VARARGS | METH_KEYWORDS },
e02c03a4 11184 { "wxDC_GetSizeMM", (PyCFunction) _wrap_wxDC_GetSizeMM, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11185 { "wxDC_GetSize", (PyCFunction) _wrap_wxDC_GetSize, METH_VARARGS | METH_KEYWORDS },
11186 { "wxDC_GetSizeTuple", (PyCFunction) _wrap_wxDC_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
11187 { "wxDC_GetPixel", (PyCFunction) _wrap_wxDC_GetPixel, METH_VARARGS | METH_KEYWORDS },
11188 { "wxDC_GetPen", (PyCFunction) _wrap_wxDC_GetPen, METH_VARARGS | METH_KEYWORDS },
11189 { "wxDC_GetOptimization", (PyCFunction) _wrap_wxDC_GetOptimization, METH_VARARGS | METH_KEYWORDS },
11190 { "wxDC_GetMapMode", (PyCFunction) _wrap_wxDC_GetMapMode, METH_VARARGS | METH_KEYWORDS },
e02c03a4 11191 { "wxDC_GetLogicalScale", (PyCFunction) _wrap_wxDC_GetLogicalScale, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11192 { "wxDC_GetLogicalFunction", (PyCFunction) _wrap_wxDC_GetLogicalFunction, METH_VARARGS | METH_KEYWORDS },
11193 { "wxDC_GetFont", (PyCFunction) _wrap_wxDC_GetFont, METH_VARARGS | METH_KEYWORDS },
11194 { "wxDC_GetClippingBox", (PyCFunction) _wrap_wxDC_GetClippingBox, METH_VARARGS | METH_KEYWORDS },
11195 { "wxDC_GetCharWidth", (PyCFunction) _wrap_wxDC_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
11196 { "wxDC_GetCharHeight", (PyCFunction) _wrap_wxDC_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
11197 { "wxDC_GetBrush", (PyCFunction) _wrap_wxDC_GetBrush, METH_VARARGS | METH_KEYWORDS },
11198 { "wxDC_GetBackground", (PyCFunction) _wrap_wxDC_GetBackground, METH_VARARGS | METH_KEYWORDS },
11199 { "wxDC_FloodFill", (PyCFunction) _wrap_wxDC_FloodFill, METH_VARARGS | METH_KEYWORDS },
11200 { "wxDC_EndPage", (PyCFunction) _wrap_wxDC_EndPage, METH_VARARGS | METH_KEYWORDS },
11201 { "wxDC_EndDrawing", (PyCFunction) _wrap_wxDC_EndDrawing, METH_VARARGS | METH_KEYWORDS },
11202 { "wxDC_EndDoc", (PyCFunction) _wrap_wxDC_EndDoc, METH_VARARGS | METH_KEYWORDS },
11203 { "wxDC_DrawText", (PyCFunction) _wrap_wxDC_DrawText, METH_VARARGS | METH_KEYWORDS },
11204 { "wxDC_DrawSpline", (PyCFunction) _wrap_wxDC_DrawSpline, METH_VARARGS | METH_KEYWORDS },
11205 { "wxDC_DrawRoundedRectangle", (PyCFunction) _wrap_wxDC_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
56f5d962 11206 { "wxDC_DrawRotatedText", (PyCFunction) _wrap_wxDC_DrawRotatedText, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11207 { "wxDC_DrawRectangle", (PyCFunction) _wrap_wxDC_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
11208 { "wxDC_DrawPoint", (PyCFunction) _wrap_wxDC_DrawPoint, METH_VARARGS | METH_KEYWORDS },
11209 { "wxDC_DrawPolygon", (PyCFunction) _wrap_wxDC_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
11210 { "wxDC_DrawLines", (PyCFunction) _wrap_wxDC_DrawLines, METH_VARARGS | METH_KEYWORDS },
11211 { "wxDC_DrawLine", (PyCFunction) _wrap_wxDC_DrawLine, METH_VARARGS | METH_KEYWORDS },
11212 { "wxDC_DrawIcon", (PyCFunction) _wrap_wxDC_DrawIcon, METH_VARARGS | METH_KEYWORDS },
11213 { "wxDC_DrawEllipticArc", (PyCFunction) _wrap_wxDC_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
11214 { "wxDC_DrawEllipse", (PyCFunction) _wrap_wxDC_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
11215 { "wxDC_DrawCircle", (PyCFunction) _wrap_wxDC_DrawCircle, METH_VARARGS | METH_KEYWORDS },
11216 { "wxDC_DrawArc", (PyCFunction) _wrap_wxDC_DrawArc, METH_VARARGS | METH_KEYWORDS },
11217 { "wxDC_DeviceToLogicalYRel", (PyCFunction) _wrap_wxDC_DeviceToLogicalYRel, METH_VARARGS | METH_KEYWORDS },
11218 { "wxDC_DeviceToLogicalY", (PyCFunction) _wrap_wxDC_DeviceToLogicalY, METH_VARARGS | METH_KEYWORDS },
11219 { "wxDC_DeviceToLogicalXRel", (PyCFunction) _wrap_wxDC_DeviceToLogicalXRel, METH_VARARGS | METH_KEYWORDS },
11220 { "wxDC_DeviceToLogicalX", (PyCFunction) _wrap_wxDC_DeviceToLogicalX, METH_VARARGS | METH_KEYWORDS },
11221 { "wxDC_DestroyClippingRegion", (PyCFunction) _wrap_wxDC_DestroyClippingRegion, METH_VARARGS | METH_KEYWORDS },
11222 { "wxDC_CrossHair", (PyCFunction) _wrap_wxDC_CrossHair, METH_VARARGS | METH_KEYWORDS },
11223 { "wxDC_Clear", (PyCFunction) _wrap_wxDC_Clear, METH_VARARGS | METH_KEYWORDS },
11224 { "wxDC_Blit", (PyCFunction) _wrap_wxDC_Blit, METH_VARARGS | METH_KEYWORDS },
11225 { "wxDC_BeginDrawing", (PyCFunction) _wrap_wxDC_BeginDrawing, METH_VARARGS | METH_KEYWORDS },
11226 { "delete_wxDC", (PyCFunction) _wrap_delete_wxDC, METH_VARARGS | METH_KEYWORDS },
7a9b33db 11227 { "wxBrushList_GetCount", (PyCFunction) _wrap_wxBrushList_GetCount, METH_VARARGS | METH_KEYWORDS },
5e40f9dd
RD
11228 { "wxBrushList_RemoveBrush", (PyCFunction) _wrap_wxBrushList_RemoveBrush, METH_VARARGS | METH_KEYWORDS },
11229 { "wxBrushList_FindOrCreateBrush", (PyCFunction) _wrap_wxBrushList_FindOrCreateBrush, METH_VARARGS | METH_KEYWORDS },
11230 { "wxBrushList_AddBrush", (PyCFunction) _wrap_wxBrushList_AddBrush, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11231 { "wxBrush_SetStyle", (PyCFunction) _wrap_wxBrush_SetStyle, METH_VARARGS | METH_KEYWORDS },
11232 { "wxBrush_SetStipple", (PyCFunction) _wrap_wxBrush_SetStipple, METH_VARARGS | METH_KEYWORDS },
11233 { "wxBrush_SetColour", (PyCFunction) _wrap_wxBrush_SetColour, METH_VARARGS | METH_KEYWORDS },
11234 { "wxBrush_Ok", (PyCFunction) _wrap_wxBrush_Ok, METH_VARARGS | METH_KEYWORDS },
11235 { "wxBrush_GetStyle", (PyCFunction) _wrap_wxBrush_GetStyle, METH_VARARGS | METH_KEYWORDS },
11236 { "wxBrush_GetStipple", (PyCFunction) _wrap_wxBrush_GetStipple, METH_VARARGS | METH_KEYWORDS },
11237 { "wxBrush_GetColour", (PyCFunction) _wrap_wxBrush_GetColour, METH_VARARGS | METH_KEYWORDS },
5e40f9dd 11238 { "delete_wxBrush", (PyCFunction) _wrap_delete_wxBrush, METH_VARARGS | METH_KEYWORDS },
107e4716 11239 { "new_wxBrush", (PyCFunction) _wrap_new_wxBrush, METH_VARARGS | METH_KEYWORDS },
7a9b33db 11240 { "wxPenList_GetCount", (PyCFunction) _wrap_wxPenList_GetCount, METH_VARARGS | METH_KEYWORDS },
5e40f9dd
RD
11241 { "wxPenList_RemovePen", (PyCFunction) _wrap_wxPenList_RemovePen, METH_VARARGS | METH_KEYWORDS },
11242 { "wxPenList_FindOrCreatePen", (PyCFunction) _wrap_wxPenList_FindOrCreatePen, METH_VARARGS | METH_KEYWORDS },
11243 { "wxPenList_AddPen", (PyCFunction) _wrap_wxPenList_AddPen, METH_VARARGS | METH_KEYWORDS },
65191ae8
RD
11244 { "wxPyPen_SetDashes", (PyCFunction) _wrap_wxPyPen_SetDashes, METH_VARARGS | METH_KEYWORDS },
11245 { "delete_wxPyPen", (PyCFunction) _wrap_delete_wxPyPen, METH_VARARGS | METH_KEYWORDS },
11246 { "new_wxPyPen", (PyCFunction) _wrap_new_wxPyPen, METH_VARARGS | METH_KEYWORDS },
56f5d962 11247 { "wxPen_SetDashes", (PyCFunction) _wrap_wxPen_SetDashes, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11248 { "wxPen_SetWidth", (PyCFunction) _wrap_wxPen_SetWidth, METH_VARARGS | METH_KEYWORDS },
11249 { "wxPen_SetStyle", (PyCFunction) _wrap_wxPen_SetStyle, METH_VARARGS | METH_KEYWORDS },
11250 { "wxPen_SetJoin", (PyCFunction) _wrap_wxPen_SetJoin, METH_VARARGS | METH_KEYWORDS },
11251 { "wxPen_SetColour", (PyCFunction) _wrap_wxPen_SetColour, METH_VARARGS | METH_KEYWORDS },
11252 { "wxPen_SetCap", (PyCFunction) _wrap_wxPen_SetCap, METH_VARARGS | METH_KEYWORDS },
11253 { "wxPen_Ok", (PyCFunction) _wrap_wxPen_Ok, METH_VARARGS | METH_KEYWORDS },
11254 { "wxPen_GetWidth", (PyCFunction) _wrap_wxPen_GetWidth, METH_VARARGS | METH_KEYWORDS },
11255 { "wxPen_GetStyle", (PyCFunction) _wrap_wxPen_GetStyle, METH_VARARGS | METH_KEYWORDS },
11256 { "wxPen_GetJoin", (PyCFunction) _wrap_wxPen_GetJoin, METH_VARARGS | METH_KEYWORDS },
11257 { "wxPen_GetColour", (PyCFunction) _wrap_wxPen_GetColour, METH_VARARGS | METH_KEYWORDS },
11258 { "wxPen_GetCap", (PyCFunction) _wrap_wxPen_GetCap, METH_VARARGS | METH_KEYWORDS },
5e40f9dd 11259 { "delete_wxPen", (PyCFunction) _wrap_delete_wxPen, METH_VARARGS | METH_KEYWORDS },
107e4716 11260 { "new_wxPen", (PyCFunction) _wrap_new_wxPen, METH_VARARGS | METH_KEYWORDS },
5e40f9dd
RD
11261 { "wxColourDatabase_Append", (PyCFunction) _wrap_wxColourDatabase_Append, METH_VARARGS | METH_KEYWORDS },
11262 { "wxColourDatabase_FindName", (PyCFunction) _wrap_wxColourDatabase_FindName, METH_VARARGS | METH_KEYWORDS },
11263 { "wxColourDatabase_FindColour", (PyCFunction) _wrap_wxColourDatabase_FindColour, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11264 { "wxColour_Get", (PyCFunction) _wrap_wxColour_Get, METH_VARARGS | METH_KEYWORDS },
11265 { "wxColour_Set", (PyCFunction) _wrap_wxColour_Set, METH_VARARGS | METH_KEYWORDS },
11266 { "wxColour_Ok", (PyCFunction) _wrap_wxColour_Ok, METH_VARARGS | METH_KEYWORDS },
11267 { "wxColour_Blue", (PyCFunction) _wrap_wxColour_Blue, METH_VARARGS | METH_KEYWORDS },
11268 { "wxColour_Green", (PyCFunction) _wrap_wxColour_Green, METH_VARARGS | METH_KEYWORDS },
11269 { "wxColour_Red", (PyCFunction) _wrap_wxColour_Red, METH_VARARGS | METH_KEYWORDS },
11270 { "delete_wxColour", (PyCFunction) _wrap_delete_wxColour, METH_VARARGS | METH_KEYWORDS },
11271 { "new_wxColour", (PyCFunction) _wrap_new_wxColour, METH_VARARGS | METH_KEYWORDS },
7a9b33db 11272 { "wxFontList_GetCount", (PyCFunction) _wrap_wxFontList_GetCount, METH_VARARGS | METH_KEYWORDS },
5e40f9dd
RD
11273 { "wxFontList_RemoveFont", (PyCFunction) _wrap_wxFontList_RemoveFont, METH_VARARGS | METH_KEYWORDS },
11274 { "wxFontList_FindOrCreateFont", (PyCFunction) _wrap_wxFontList_FindOrCreateFont, METH_VARARGS | METH_KEYWORDS },
11275 { "wxFontList_AddFont", (PyCFunction) _wrap_wxFontList_AddFont, METH_VARARGS | METH_KEYWORDS },
059a841c
RD
11276 { "wxFont_SetDefaultEncoding", (PyCFunction) _wrap_wxFont_SetDefaultEncoding, METH_VARARGS | METH_KEYWORDS },
11277 { "wxFont_GetDefaultEncoding", (PyCFunction) _wrap_wxFont_GetDefaultEncoding, METH_VARARGS | METH_KEYWORDS },
134d79dc
RD
11278 { "wxFont_GetWeightString", (PyCFunction) _wrap_wxFont_GetWeightString, METH_VARARGS | METH_KEYWORDS },
11279 { "wxFont_GetStyleString", (PyCFunction) _wrap_wxFont_GetStyleString, METH_VARARGS | METH_KEYWORDS },
11280 { "wxFont_GetFamilyString", (PyCFunction) _wrap_wxFont_GetFamilyString, METH_VARARGS | METH_KEYWORDS },
059a841c 11281 { "wxFont_SetNativeFontInfo", (PyCFunction) _wrap_wxFont_SetNativeFontInfo, METH_VARARGS | METH_KEYWORDS },
134d79dc 11282 { "wxFont_SetEncoding", (PyCFunction) _wrap_wxFont_SetEncoding, METH_VARARGS | METH_KEYWORDS },
107e4716 11283 { "wxFont_SetUnderlined", (PyCFunction) _wrap_wxFont_SetUnderlined, METH_VARARGS | METH_KEYWORDS },
059a841c
RD
11284 { "wxFont_SetFaceName", (PyCFunction) _wrap_wxFont_SetFaceName, METH_VARARGS | METH_KEYWORDS },
11285 { "wxFont_SetWeight", (PyCFunction) _wrap_wxFont_SetWeight, METH_VARARGS | METH_KEYWORDS },
107e4716 11286 { "wxFont_SetStyle", (PyCFunction) _wrap_wxFont_SetStyle, METH_VARARGS | METH_KEYWORDS },
107e4716 11287 { "wxFont_SetFamily", (PyCFunction) _wrap_wxFont_SetFamily, METH_VARARGS | METH_KEYWORDS },
059a841c
RD
11288 { "wxFont_SetPointSize", (PyCFunction) _wrap_wxFont_SetPointSize, METH_VARARGS | METH_KEYWORDS },
11289 { "wxFont_GetNativeFontInfo", (PyCFunction) _wrap_wxFont_GetNativeFontInfo, METH_VARARGS | METH_KEYWORDS },
134d79dc 11290 { "wxFont_GetEncoding", (PyCFunction) _wrap_wxFont_GetEncoding, METH_VARARGS | METH_KEYWORDS },
059a841c 11291 { "wxFont_GetFaceName", (PyCFunction) _wrap_wxFont_GetFaceName, METH_VARARGS | METH_KEYWORDS },
107e4716 11292 { "wxFont_GetUnderlined", (PyCFunction) _wrap_wxFont_GetUnderlined, METH_VARARGS | METH_KEYWORDS },
059a841c 11293 { "wxFont_GetWeight", (PyCFunction) _wrap_wxFont_GetWeight, METH_VARARGS | METH_KEYWORDS },
107e4716 11294 { "wxFont_GetStyle", (PyCFunction) _wrap_wxFont_GetStyle, METH_VARARGS | METH_KEYWORDS },
107e4716 11295 { "wxFont_GetFamily", (PyCFunction) _wrap_wxFont_GetFamily, METH_VARARGS | METH_KEYWORDS },
059a841c 11296 { "wxFont_GetPointSize", (PyCFunction) _wrap_wxFont_GetPointSize, METH_VARARGS | METH_KEYWORDS },
d29aba2f 11297 { "wxFont_Ok", (PyCFunction) _wrap_wxFont_Ok, METH_VARARGS | METH_KEYWORDS },
5e40f9dd 11298 { "delete_wxFont", (PyCFunction) _wrap_delete_wxFont, METH_VARARGS | METH_KEYWORDS },
059a841c 11299 { "new_wxFontFromNativeInfo", (PyCFunction) _wrap_new_wxFontFromNativeInfo, METH_VARARGS | METH_KEYWORDS },
107e4716 11300 { "new_wxFont", (PyCFunction) _wrap_new_wxFont, METH_VARARGS | METH_KEYWORDS },
059a841c
RD
11301 { "wxFontMapper_GetDefaultConfigPath", (PyCFunction) _wrap_wxFontMapper_GetDefaultConfigPath, METH_VARARGS | METH_KEYWORDS },
11302 { "wxFontMapper_SetConfigPath", (PyCFunction) _wrap_wxFontMapper_SetConfigPath, METH_VARARGS | METH_KEYWORDS },
11303 { "wxFontMapper_SetConfig", (PyCFunction) _wrap_wxFontMapper_SetConfig, METH_VARARGS | METH_KEYWORDS },
11304 { "wxFontMapper_SetDialogTitle", (PyCFunction) _wrap_wxFontMapper_SetDialogTitle, METH_VARARGS | METH_KEYWORDS },
11305 { "wxFontMapper_SetDialogParent", (PyCFunction) _wrap_wxFontMapper_SetDialogParent, METH_VARARGS | METH_KEYWORDS },
11306 { "wxFontMapper_GetEncodingDescription", (PyCFunction) _wrap_wxFontMapper_GetEncodingDescription, METH_VARARGS | METH_KEYWORDS },
11307 { "wxFontMapper_GetEncodingName", (PyCFunction) _wrap_wxFontMapper_GetEncodingName, METH_VARARGS | METH_KEYWORDS },
11308 { "wxFontMapper_CharsetToEncoding", (PyCFunction) _wrap_wxFontMapper_CharsetToEncoding, METH_VARARGS | METH_KEYWORDS },
11309 { "wxFontMapper_IsEncodingAvailable", (PyCFunction) _wrap_wxFontMapper_IsEncodingAvailable, METH_VARARGS | METH_KEYWORDS },
11310 { "wxFontMapper_GetAltForEncoding", (PyCFunction) _wrap_wxFontMapper_GetAltForEncoding, METH_VARARGS | METH_KEYWORDS },
11311 { "delete_wxFontMapper", (PyCFunction) _wrap_delete_wxFontMapper, METH_VARARGS | METH_KEYWORDS },
11312 { "new_wxFontMapper", (PyCFunction) _wrap_new_wxFontMapper, METH_VARARGS | METH_KEYWORDS },
11313 { "wxNativeFontInfo___str__", (PyCFunction) _wrap_wxNativeFontInfo___str__, METH_VARARGS | METH_KEYWORDS },
11314 { "wxNativeFontInfo_ToString", (PyCFunction) _wrap_wxNativeFontInfo_ToString, METH_VARARGS | METH_KEYWORDS },
11315 { "wxNativeFontInfo_FromString", (PyCFunction) _wrap_wxNativeFontInfo_FromString, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11316 { "wxCursor_Ok", (PyCFunction) _wrap_wxCursor_Ok, METH_VARARGS | METH_KEYWORDS },
11317 { "delete_wxCursor", (PyCFunction) _wrap_delete_wxCursor, METH_VARARGS | METH_KEYWORDS },
fbcadfca 11318 { "wxIcon_CopyFromBitmap", (PyCFunction) _wrap_wxIcon_CopyFromBitmap, METH_VARARGS | METH_KEYWORDS },
107e4716 11319 { "wxIcon_SetDepth", (PyCFunction) _wrap_wxIcon_SetDepth, METH_VARARGS | METH_KEYWORDS },
56f5d962
RD
11320 { "wxIcon_SetHeight", (PyCFunction) _wrap_wxIcon_SetHeight, METH_VARARGS | METH_KEYWORDS },
11321 { "wxIcon_SetWidth", (PyCFunction) _wrap_wxIcon_SetWidth, METH_VARARGS | METH_KEYWORDS },
11322 { "wxIcon_GetDepth", (PyCFunction) _wrap_wxIcon_GetDepth, METH_VARARGS | METH_KEYWORDS },
11323 { "wxIcon_GetHeight", (PyCFunction) _wrap_wxIcon_GetHeight, METH_VARARGS | METH_KEYWORDS },
11324 { "wxIcon_GetWidth", (PyCFunction) _wrap_wxIcon_GetWidth, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11325 { "wxIcon_Ok", (PyCFunction) _wrap_wxIcon_Ok, METH_VARARGS | METH_KEYWORDS },
11326 { "wxIcon_LoadFile", (PyCFunction) _wrap_wxIcon_LoadFile, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11327 { "delete_wxIcon", (PyCFunction) _wrap_delete_wxIcon, METH_VARARGS | METH_KEYWORDS },
11328 { "new_wxIcon", (PyCFunction) _wrap_new_wxIcon, METH_VARARGS | METH_KEYWORDS },
fbcadfca 11329 { "wxMask_Destroy", (PyCFunction) _wrap_wxMask_Destroy, METH_VARARGS | METH_KEYWORDS },
107e4716 11330 { "new_wxMask", (PyCFunction) _wrap_new_wxMask, METH_VARARGS | METH_KEYWORDS },
65191ae8 11331 { "wxBitmap_CopyFromIcon", (PyCFunction) _wrap_wxBitmap_CopyFromIcon, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 11332 { "wxBitmap_GetSubBitmap", (PyCFunction) _wrap_wxBitmap_GetSubBitmap, METH_VARARGS | METH_KEYWORDS },
56f5d962
RD
11333 { "wxBitmap_SetDepth", (PyCFunction) _wrap_wxBitmap_SetDepth, METH_VARARGS | METH_KEYWORDS },
11334 { "wxBitmap_SetHeight", (PyCFunction) _wrap_wxBitmap_SetHeight, METH_VARARGS | METH_KEYWORDS },
107e4716 11335 { "wxBitmap_SetWidth", (PyCFunction) _wrap_wxBitmap_SetWidth, METH_VARARGS | METH_KEYWORDS },
56f5d962
RD
11336 { "wxBitmap_GetDepth", (PyCFunction) _wrap_wxBitmap_GetDepth, METH_VARARGS | METH_KEYWORDS },
11337 { "wxBitmap_GetHeight", (PyCFunction) _wrap_wxBitmap_GetHeight, METH_VARARGS | METH_KEYWORDS },
11338 { "wxBitmap_GetWidth", (PyCFunction) _wrap_wxBitmap_GetWidth, METH_VARARGS | METH_KEYWORDS },
11339 { "wxBitmap_Ok", (PyCFunction) _wrap_wxBitmap_Ok, METH_VARARGS | METH_KEYWORDS },
107e4716 11340 { "wxBitmap_SetMask", (PyCFunction) _wrap_wxBitmap_SetMask, METH_VARARGS | METH_KEYWORDS },
107e4716 11341 { "wxBitmap_SaveFile", (PyCFunction) _wrap_wxBitmap_SaveFile, METH_VARARGS | METH_KEYWORDS },
107e4716 11342 { "wxBitmap_LoadFile", (PyCFunction) _wrap_wxBitmap_LoadFile, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11343 { "wxBitmap_GetMask", (PyCFunction) _wrap_wxBitmap_GetMask, METH_VARARGS | METH_KEYWORDS },
11344 { "wxBitmap_GetPalette", (PyCFunction) _wrap_wxBitmap_GetPalette, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11345 { "delete_wxBitmap", (PyCFunction) _wrap_delete_wxBitmap, METH_VARARGS | METH_KEYWORDS },
11346 { "new_wxBitmap", (PyCFunction) _wrap_new_wxBitmap, METH_VARARGS | METH_KEYWORDS },
9df61a29
RD
11347 { "wxGDIObject_IsNull", (PyCFunction) _wrap_wxGDIObject_IsNull, METH_VARARGS | METH_KEYWORDS },
11348 { "wxGDIObject_SetVisible", (PyCFunction) _wrap_wxGDIObject_SetVisible, METH_VARARGS | METH_KEYWORDS },
11349 { "wxGDIObject_GetVisible", (PyCFunction) _wrap_wxGDIObject_GetVisible, METH_VARARGS | METH_KEYWORDS },
11350 { "delete_wxGDIObject", (PyCFunction) _wrap_delete_wxGDIObject, METH_VARARGS | METH_KEYWORDS },
11351 { "new_wxGDIObject", (PyCFunction) _wrap_new_wxGDIObject, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11352 { "wxMemoryDCFromDC", (PyCFunction) _wrap_wxMemoryDCFromDC, METH_VARARGS | METH_KEYWORDS },
11353 { "wxNamedColour", (PyCFunction) _wrap_wxNamedColour, METH_VARARGS | METH_KEYWORDS },
11354 { "wxStockCursor", (PyCFunction) _wrap_wxStockCursor, METH_VARARGS | METH_KEYWORDS },
fbcadfca
RD
11355 { "wxIconFromXPMData", (PyCFunction) _wrap_wxIconFromXPMData, METH_VARARGS | METH_KEYWORDS },
11356 { "wxEmptyIcon", (PyCFunction) _wrap_wxEmptyIcon, METH_VARARGS | METH_KEYWORDS },
107e4716 11357 { "wxMaskColour", (PyCFunction) _wrap_wxMaskColour, METH_VARARGS | METH_KEYWORDS },
9d6da64a 11358 { "wxBitmapFromBits", (PyCFunction) _wrap_wxBitmapFromBits, METH_VARARGS | METH_KEYWORDS },
fbcadfca
RD
11359 { "wxBitmapFromIcon", (PyCFunction) _wrap_wxBitmapFromIcon, METH_VARARGS | METH_KEYWORDS },
11360 { "wxBitmapFromXPMData", (PyCFunction) _wrap_wxBitmapFromXPMData, METH_VARARGS | METH_KEYWORDS },
107e4716 11361 { "wxEmptyBitmap", (PyCFunction) _wrap_wxEmptyBitmap, METH_VARARGS | METH_KEYWORDS },
70551f47
RD
11362 { NULL, NULL }
11363};
2d091820
RD
11364#ifdef __cplusplus
11365}
11366#endif
11367/*
11368 * This table is used by the pointer type-checker
11369 */
11370static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
2d091820 11371 { "_signed_long","_long",0},
4120ef2b 11372 { "_wxPrintQuality","_wxCoord",0},
2d091820
RD
11373 { "_wxPrintQuality","_int",0},
11374 { "_wxPrintQuality","_signed_int",0},
11375 { "_wxPrintQuality","_unsigned_int",0},
11376 { "_wxPrintQuality","_wxWindowID",0},
11377 { "_wxPrintQuality","_uint",0},
11378 { "_wxPrintQuality","_EBool",0},
11379 { "_wxPrintQuality","_size_t",0},
c368d904 11380 { "_wxPrintQuality","_time_t",0},
65191ae8 11381 { "_wxPen","_wxPyPen",SwigwxPyPenTowxPen},
2d091820 11382 { "_byte","_unsigned_char",0},
2d091820
RD
11383 { "_long","_unsigned_long",0},
11384 { "_long","_signed_long",0},
9df61a29 11385 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject},
9df61a29 11386 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject},
9df61a29 11387 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject},
65191ae8 11388 { "_wxGDIObject","_wxPyPen",SwigwxPyPenTowxGDIObject},
9df61a29 11389 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject},
9df61a29 11390 { "_wxGDIObject","_wxFont",SwigwxFontTowxGDIObject},
9df61a29 11391 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject},
9df61a29 11392 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject},
9df61a29 11393 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject},
2d091820 11394 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC},
2d091820 11395 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC},
2d091820 11396 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC},
2d091820 11397 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC},
2d091820 11398 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC},
4120ef2b 11399 { "_size_t","_wxCoord",0},
2d091820 11400 { "_size_t","_wxPrintQuality",0},
c368d904 11401 { "_size_t","_time_t",0},
2d091820
RD
11402 { "_size_t","_unsigned_int",0},
11403 { "_size_t","_int",0},
11404 { "_size_t","_wxWindowID",0},
11405 { "_size_t","_uint",0},
4120ef2b 11406 { "_uint","_wxCoord",0},
2d091820 11407 { "_uint","_wxPrintQuality",0},
c368d904 11408 { "_uint","_time_t",0},
2d091820
RD
11409 { "_uint","_size_t",0},
11410 { "_uint","_unsigned_int",0},
11411 { "_uint","_int",0},
11412 { "_uint","_wxWindowID",0},
f6bcfd97 11413 { "_wxChar","_char",0},
f6bcfd97 11414 { "_char","_wxChar",0},
059a841c 11415 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4120ef2b 11416 { "_EBool","_wxCoord",0},
2d091820
RD
11417 { "_EBool","_wxPrintQuality",0},
11418 { "_EBool","_signed_int",0},
11419 { "_EBool","_int",0},
11420 { "_EBool","_wxWindowID",0},
2d091820 11421 { "_unsigned_long","_long",0},
059a841c 11422 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4120ef2b 11423 { "_signed_int","_wxCoord",0},
2d091820
RD
11424 { "_signed_int","_wxPrintQuality",0},
11425 { "_signed_int","_EBool",0},
11426 { "_signed_int","_wxWindowID",0},
11427 { "_signed_int","_int",0},
2d091820
RD
11428 { "_WXTYPE","_short",0},
11429 { "_WXTYPE","_signed_short",0},
11430 { "_WXTYPE","_unsigned_short",0},
2d091820
RD
11431 { "_unsigned_short","_WXTYPE",0},
11432 { "_unsigned_short","_short",0},
9df61a29 11433 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject},
9df61a29 11434 { "_wxObject","_wxRegion",SwigwxRegionTowxObject},
9df61a29 11435 { "_wxObject","_wxImageList",SwigwxImageListTowxObject},
9df61a29 11436 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject},
9df61a29 11437 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject},
9df61a29 11438 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject},
9df61a29 11439 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject},
9df61a29 11440 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject},
9df61a29 11441 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject},
9df61a29 11442 { "_wxObject","_wxDC",SwigwxDCTowxObject},
65191ae8 11443 { "_wxObject","_wxBrushList",SwigwxBrushListTowxObject},
9df61a29 11444 { "_wxObject","_wxBrush",SwigwxBrushTowxObject},
9df61a29 11445 { "_wxObject","_wxPenList",SwigwxPenListTowxObject},
65191ae8 11446 { "_wxObject","_wxPyPen",SwigwxPyPenTowxObject},
9df61a29 11447 { "_wxObject","_wxPen",SwigwxPenTowxObject},
9df61a29 11448 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject},
9df61a29 11449 { "_wxObject","_wxColour",SwigwxColourTowxObject},
9df61a29 11450 { "_wxObject","_wxFontList",SwigwxFontListTowxObject},
9df61a29 11451 { "_wxObject","_wxFont",SwigwxFontTowxObject},
9df61a29 11452 { "_wxObject","_wxCursor",SwigwxCursorTowxObject},
9df61a29 11453 { "_wxObject","_wxIcon",SwigwxIconTowxObject},
9df61a29 11454 { "_wxObject","_wxMask",SwigwxMaskTowxObject},
9df61a29 11455 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject},
9df61a29 11456 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject},
2d091820
RD
11457 { "_signed_short","_WXTYPE",0},
11458 { "_signed_short","_short",0},
2d091820 11459 { "_unsigned_char","_byte",0},
4120ef2b 11460 { "_unsigned_int","_wxCoord",0},
2d091820 11461 { "_unsigned_int","_wxPrintQuality",0},
c368d904 11462 { "_unsigned_int","_time_t",0},
2d091820
RD
11463 { "_unsigned_int","_size_t",0},
11464 { "_unsigned_int","_uint",0},
11465 { "_unsigned_int","_wxWindowID",0},
11466 { "_unsigned_int","_int",0},
2d091820
RD
11467 { "_short","_WXTYPE",0},
11468 { "_short","_unsigned_short",0},
11469 { "_short","_signed_short",0},
4120ef2b 11470 { "_wxWindowID","_wxCoord",0},
2d091820 11471 { "_wxWindowID","_wxPrintQuality",0},
c368d904 11472 { "_wxWindowID","_time_t",0},
2d091820
RD
11473 { "_wxWindowID","_size_t",0},
11474 { "_wxWindowID","_EBool",0},
11475 { "_wxWindowID","_uint",0},
11476 { "_wxWindowID","_int",0},
11477 { "_wxWindowID","_signed_int",0},
11478 { "_wxWindowID","_unsigned_int",0},
4120ef2b 11479 { "_int","_wxCoord",0},
2d091820 11480 { "_int","_wxPrintQuality",0},
c368d904 11481 { "_int","_time_t",0},
2d091820
RD
11482 { "_int","_size_t",0},
11483 { "_int","_EBool",0},
11484 { "_int","_uint",0},
11485 { "_int","_wxWindowID",0},
11486 { "_int","_unsigned_int",0},
11487 { "_int","_signed_int",0},
c368d904
RD
11488 { "_time_t","_wxCoord",0},
11489 { "_time_t","_wxPrintQuality",0},
11490 { "_time_t","_unsigned_int",0},
11491 { "_time_t","_int",0},
11492 { "_time_t","_wxWindowID",0},
11493 { "_time_t","_uint",0},
11494 { "_time_t","_size_t",0},
4120ef2b
RD
11495 { "_wxCoord","_int",0},
11496 { "_wxCoord","_signed_int",0},
11497 { "_wxCoord","_unsigned_int",0},
11498 { "_wxCoord","_wxWindowID",0},
11499 { "_wxCoord","_uint",0},
11500 { "_wxCoord","_EBool",0},
11501 { "_wxCoord","_size_t",0},
c368d904 11502 { "_wxCoord","_time_t",0},
4120ef2b 11503 { "_wxCoord","_wxPrintQuality",0},
2d091820
RD
11504{0,0,0}};
11505
70551f47
RD
11506static PyObject *SWIG_globals;
11507#ifdef __cplusplus
11508extern "C"
11509#endif
2d091820 11510SWIGEXPORT(void) initgdic() {
70551f47
RD
11511 PyObject *m, *d;
11512 SWIG_globals = SWIG_newvarlink();
11513 m = Py_InitModule("gdic", gdicMethods);
11514 d = PyModule_GetDict(m);
059a841c
RD
11515 PyDict_SetItemString(d,"wxFONTFAMILY_DEFAULT", PyInt_FromLong((long) wxFONTFAMILY_DEFAULT));
11516 PyDict_SetItemString(d,"wxFONTFAMILY_DECORATIVE", PyInt_FromLong((long) wxFONTFAMILY_DECORATIVE));
11517 PyDict_SetItemString(d,"wxFONTFAMILY_ROMAN", PyInt_FromLong((long) wxFONTFAMILY_ROMAN));
11518 PyDict_SetItemString(d,"wxFONTFAMILY_SCRIPT", PyInt_FromLong((long) wxFONTFAMILY_SCRIPT));
11519 PyDict_SetItemString(d,"wxFONTFAMILY_SWISS", PyInt_FromLong((long) wxFONTFAMILY_SWISS));
11520 PyDict_SetItemString(d,"wxFONTFAMILY_MODERN", PyInt_FromLong((long) wxFONTFAMILY_MODERN));
11521 PyDict_SetItemString(d,"wxFONTFAMILY_TELETYPE", PyInt_FromLong((long) wxFONTFAMILY_TELETYPE));
11522 PyDict_SetItemString(d,"wxFONTFAMILY_MAX", PyInt_FromLong((long) wxFONTFAMILY_MAX));
11523 PyDict_SetItemString(d,"wxFONTSTYLE_NORMAL", PyInt_FromLong((long) wxFONTSTYLE_NORMAL));
11524 PyDict_SetItemString(d,"wxFONTSTYLE_ITALIC", PyInt_FromLong((long) wxFONTSTYLE_ITALIC));
11525 PyDict_SetItemString(d,"wxFONTSTYLE_SLANT", PyInt_FromLong((long) wxFONTSTYLE_SLANT));
11526 PyDict_SetItemString(d,"wxFONTSTYLE_MAX", PyInt_FromLong((long) wxFONTSTYLE_MAX));
11527 PyDict_SetItemString(d,"wxFONTWEIGHT_NORMAL", PyInt_FromLong((long) wxFONTWEIGHT_NORMAL));
11528 PyDict_SetItemString(d,"wxFONTWEIGHT_LIGHT", PyInt_FromLong((long) wxFONTWEIGHT_LIGHT));
11529 PyDict_SetItemString(d,"wxFONTWEIGHT_BOLD", PyInt_FromLong((long) wxFONTWEIGHT_BOLD));
11530 PyDict_SetItemString(d,"wxFONTWEIGHT_MAX", PyInt_FromLong((long) wxFONTWEIGHT_MAX));
134d79dc
RD
11531 PyDict_SetItemString(d,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM));
11532 PyDict_SetItemString(d,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT));
11533 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1));
11534 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2));
11535 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3));
11536 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4));
11537 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5));
11538 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6));
11539 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7));
11540 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8));
11541 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9));
11542 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10));
11543 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11));
11544 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12));
11545 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13));
11546 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14));
11547 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15));
059a841c 11548 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_MAX", PyInt_FromLong((long) wxFONTENCODING_ISO8859_MAX));
134d79dc
RD
11549 PyDict_SetItemString(d,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8));
11550 PyDict_SetItemString(d,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE));
11551 PyDict_SetItemString(d,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN));
11552 PyDict_SetItemString(d,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437));
11553 PyDict_SetItemString(d,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850));
11554 PyDict_SetItemString(d,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852));
11555 PyDict_SetItemString(d,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855));
11556 PyDict_SetItemString(d,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866));
059a841c 11557 PyDict_SetItemString(d,"wxFONTENCODING_CP874", PyInt_FromLong((long) wxFONTENCODING_CP874));
a57d56d6
RD
11558 PyDict_SetItemString(d,"wxFONTENCODING_CP932", PyInt_FromLong((long) wxFONTENCODING_CP932));
11559 PyDict_SetItemString(d,"wxFONTENCODING_CP936", PyInt_FromLong((long) wxFONTENCODING_CP936));
11560 PyDict_SetItemString(d,"wxFONTENCODING_CP949", PyInt_FromLong((long) wxFONTENCODING_CP949));
11561 PyDict_SetItemString(d,"wxFONTENCODING_CP950", PyInt_FromLong((long) wxFONTENCODING_CP950));
134d79dc
RD
11562 PyDict_SetItemString(d,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250));
11563 PyDict_SetItemString(d,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251));
11564 PyDict_SetItemString(d,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252));
059a841c
RD
11565 PyDict_SetItemString(d,"wxFONTENCODING_CP1253", PyInt_FromLong((long) wxFONTENCODING_CP1253));
11566 PyDict_SetItemString(d,"wxFONTENCODING_CP1254", PyInt_FromLong((long) wxFONTENCODING_CP1254));
11567 PyDict_SetItemString(d,"wxFONTENCODING_CP1255", PyInt_FromLong((long) wxFONTENCODING_CP1255));
11568 PyDict_SetItemString(d,"wxFONTENCODING_CP1256", PyInt_FromLong((long) wxFONTENCODING_CP1256));
11569 PyDict_SetItemString(d,"wxFONTENCODING_CP1257", PyInt_FromLong((long) wxFONTENCODING_CP1257));
11570 PyDict_SetItemString(d,"wxFONTENCODING_CP12_MAX", PyInt_FromLong((long) wxFONTENCODING_CP12_MAX));
11571 PyDict_SetItemString(d,"wxFONTENCODING_UTF7", PyInt_FromLong((long) wxFONTENCODING_UTF7));
11572 PyDict_SetItemString(d,"wxFONTENCODING_UTF8", PyInt_FromLong((long) wxFONTENCODING_UTF8));
11573 PyDict_SetItemString(d,"wxFONTENCODING_UNICODE", PyInt_FromLong((long) wxFONTENCODING_UNICODE));
134d79dc 11574 PyDict_SetItemString(d,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX));
3e212503
RD
11575 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL));
11576 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT));
11577 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED));
11578 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED));
11579 PyDict_SetItemString(d,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL));
11580 PyDict_SetItemString(d,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL));
11581 PyDict_SetItemString(d,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE));
11582 PyDict_SetItemString(d,"wxOutRegion", PyInt_FromLong((long) wxOutRegion));
11583 PyDict_SetItemString(d,"wxPartRegion", PyInt_FromLong((long) wxPartRegion));
11584 PyDict_SetItemString(d,"wxInRegion", PyInt_FromLong((long) wxInRegion));
70551f47
RD
11585 PyDict_SetItemString(d,"cvar", SWIG_globals);
11586 SWIG_addvarlink(SWIG_globals,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get, _wrap_wxNORMAL_FONT_set);
11587 SWIG_addvarlink(SWIG_globals,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get, _wrap_wxSMALL_FONT_set);
11588 SWIG_addvarlink(SWIG_globals,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get, _wrap_wxITALIC_FONT_set);
11589 SWIG_addvarlink(SWIG_globals,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get, _wrap_wxSWISS_FONT_set);
11590 SWIG_addvarlink(SWIG_globals,"wxRED_PEN",_wrap_wxRED_PEN_get, _wrap_wxRED_PEN_set);
11591 SWIG_addvarlink(SWIG_globals,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get, _wrap_wxCYAN_PEN_set);
11592 SWIG_addvarlink(SWIG_globals,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get, _wrap_wxGREEN_PEN_set);
11593 SWIG_addvarlink(SWIG_globals,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get, _wrap_wxBLACK_PEN_set);
11594 SWIG_addvarlink(SWIG_globals,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get, _wrap_wxWHITE_PEN_set);
11595 SWIG_addvarlink(SWIG_globals,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get, _wrap_wxTRANSPARENT_PEN_set);
11596 SWIG_addvarlink(SWIG_globals,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get, _wrap_wxBLACK_DASHED_PEN_set);
11597 SWIG_addvarlink(SWIG_globals,"wxGREY_PEN",_wrap_wxGREY_PEN_get, _wrap_wxGREY_PEN_set);
11598 SWIG_addvarlink(SWIG_globals,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get, _wrap_wxMEDIUM_GREY_PEN_set);
11599 SWIG_addvarlink(SWIG_globals,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get, _wrap_wxLIGHT_GREY_PEN_set);
11600 SWIG_addvarlink(SWIG_globals,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get, _wrap_wxBLUE_BRUSH_set);
11601 SWIG_addvarlink(SWIG_globals,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get, _wrap_wxGREEN_BRUSH_set);
11602 SWIG_addvarlink(SWIG_globals,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get, _wrap_wxWHITE_BRUSH_set);
11603 SWIG_addvarlink(SWIG_globals,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get, _wrap_wxBLACK_BRUSH_set);
11604 SWIG_addvarlink(SWIG_globals,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get, _wrap_wxTRANSPARENT_BRUSH_set);
11605 SWIG_addvarlink(SWIG_globals,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get, _wrap_wxCYAN_BRUSH_set);
11606 SWIG_addvarlink(SWIG_globals,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get, _wrap_wxRED_BRUSH_set);
11607 SWIG_addvarlink(SWIG_globals,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get, _wrap_wxGREY_BRUSH_set);
11608 SWIG_addvarlink(SWIG_globals,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get, _wrap_wxMEDIUM_GREY_BRUSH_set);
11609 SWIG_addvarlink(SWIG_globals,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get, _wrap_wxLIGHT_GREY_BRUSH_set);
11610 SWIG_addvarlink(SWIG_globals,"wxBLACK",_wrap_wxBLACK_get, _wrap_wxBLACK_set);
11611 SWIG_addvarlink(SWIG_globals,"wxWHITE",_wrap_wxWHITE_get, _wrap_wxWHITE_set);
11612 SWIG_addvarlink(SWIG_globals,"wxRED",_wrap_wxRED_get, _wrap_wxRED_set);
11613 SWIG_addvarlink(SWIG_globals,"wxBLUE",_wrap_wxBLUE_get, _wrap_wxBLUE_set);
11614 SWIG_addvarlink(SWIG_globals,"wxGREEN",_wrap_wxGREEN_get, _wrap_wxGREEN_set);
11615 SWIG_addvarlink(SWIG_globals,"wxCYAN",_wrap_wxCYAN_get, _wrap_wxCYAN_set);
11616 SWIG_addvarlink(SWIG_globals,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get, _wrap_wxLIGHT_GREY_set);
11617 SWIG_addvarlink(SWIG_globals,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get, _wrap_wxSTANDARD_CURSOR_set);
11618 SWIG_addvarlink(SWIG_globals,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get, _wrap_wxHOURGLASS_CURSOR_set);
11619 SWIG_addvarlink(SWIG_globals,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get, _wrap_wxCROSS_CURSOR_set);
11620 SWIG_addvarlink(SWIG_globals,"wxNullBitmap",_wrap_wxNullBitmap_get, _wrap_wxNullBitmap_set);
11621 SWIG_addvarlink(SWIG_globals,"wxNullIcon",_wrap_wxNullIcon_get, _wrap_wxNullIcon_set);
11622 SWIG_addvarlink(SWIG_globals,"wxNullCursor",_wrap_wxNullCursor_get, _wrap_wxNullCursor_set);
11623 SWIG_addvarlink(SWIG_globals,"wxNullPen",_wrap_wxNullPen_get, _wrap_wxNullPen_set);
11624 SWIG_addvarlink(SWIG_globals,"wxNullBrush",_wrap_wxNullBrush_get, _wrap_wxNullBrush_set);
11625 SWIG_addvarlink(SWIG_globals,"wxNullPalette",_wrap_wxNullPalette_get, _wrap_wxNullPalette_set);
11626 SWIG_addvarlink(SWIG_globals,"wxNullFont",_wrap_wxNullFont_get, _wrap_wxNullFont_set);
11627 SWIG_addvarlink(SWIG_globals,"wxNullColour",_wrap_wxNullColour_get, _wrap_wxNullColour_set);
5e40f9dd
RD
11628 SWIG_addvarlink(SWIG_globals,"wxTheFontList",_wrap_wxTheFontList_get, _wrap_wxTheFontList_set);
11629 SWIG_addvarlink(SWIG_globals,"wxThePenList",_wrap_wxThePenList_get, _wrap_wxThePenList_set);
11630 SWIG_addvarlink(SWIG_globals,"wxTheBrushList",_wrap_wxTheBrushList_get, _wrap_wxTheBrushList_set);
11631 SWIG_addvarlink(SWIG_globals,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get, _wrap_wxTheColourDatabase_set);
2d091820
RD
11632{
11633 int i;
11634 for (i = 0; _swig_mapping[i].n1; i++)
11635 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11636}
70551f47 11637}