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