]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/gdi.cpp
fixed a typo
[wxWidgets.git] / wxPython / src / msw / gdi.cpp
CommitLineData
8ab979d7 1/*
c368d904 2 * FILE : src/msw/gdi.cpp
8ab979d7
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
185d7c3e 6 * Version 1.1 (Build 883)
8ab979d7
RD
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
22#include <string.h>
23#include <stdlib.h>
24/* Definitions for Windows/Unix exporting */
25#if defined(__WIN32__)
26# if defined(_MSC_VER)
1d99702e 27# define SWIGEXPORT(a) __declspec(dllexport) a
8ab979d7
RD
28# else
29# if defined(__BORLANDC__)
c368d904 30# define SWIGEXPORT(a) a _export
8ab979d7 31# else
c368d904 32# define SWIGEXPORT(a) a
8ab979d7
RD
33# endif
34# endif
35#else
c368d904 36# define SWIGEXPORT(a) a
8ab979d7
RD
37#endif
38
c368d904
RD
39#include "Python.h"
40
8ab979d7
RD
41#ifdef __cplusplus
42extern "C" {
43#endif
185d7c3e 44
8ab979d7
RD
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
1d99702e 48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
8ab979d7
RD
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
8ab979d7
RD
54#define SWIG_init initgdic
55
56#define SWIG_name "gdic"
57
58#include "helpers.h"
af309447 59#include <wx/imaglist.h>
6d8b4f8d
RD
60#include <wx/fontmap.h>
61#include <wx/fontenc.h>
62#include <wx/fontmap.h>
63#include <wx/fontutil.h>
e9159fe8 64#include <wx/dcbuffer.h>
0e9b78ce 65#include <wx/iconbndl.h>
8ab979d7 66
8ab979d7
RD
67
68static PyObject* t_output_helper(PyObject* target, PyObject* o) {
69 PyObject* o2;
70 PyObject* o3;
71
f3d9dc1d 72 if (!target) {
8ab979d7 73 target = o;
f3d9dc1d 74 } else if (target == Py_None) {
8ab979d7
RD
75 Py_DECREF(Py_None);
76 target = o;
f3d9dc1d 77 } else {
8ab979d7
RD
78 if (!PyTuple_Check(target)) {
79 o2 = target;
80 target = PyTuple_New(1);
81 PyTuple_SetItem(target, 0, o2);
82 }
f3d9dc1d
RD
83 o3 = PyTuple_New(1);
84 PyTuple_SetItem(o3, 0, o);
8ab979d7
RD
85
86 o2 = target;
f3d9dc1d
RD
87 target = PySequence_Concat(o2, o3);
88 Py_DECREF(o2);
8ab979d7
RD
89 Py_DECREF(o3);
90 }
91 return target;
92}
137b5242
RD
93
94 // Put some wx default wxChar* values into wxStrings.
95 static const wxString wxPyEmptyString(wxT(""));
96bfd053
RD
96 // Implementations of some alternate "constructors"
97
8ab979d7
RD
98 wxBitmap* wxEmptyBitmap(int width, int height, int depth=-1) {
99 return new wxBitmap(width, height, depth);
100 }
101
96bfd053
RD
102 static char** ConvertListOfStrings(PyObject* listOfStrings) {
103 char** cArray = NULL;
104 int count;
105
106 if (!PyList_Check(listOfStrings)) {
107 PyErr_SetString(PyExc_TypeError, "Expected a list of strings.");
108 return NULL;
109 }
110 count = PyList_Size(listOfStrings);
111 cArray = new char*[count];
112
113 for(int x=0; x<count; x++) {
114 // TODO: Need some validation and error checking here
115 cArray[x] = PyString_AsString(PyList_GET_ITEM(listOfStrings, x));
116 }
117 return cArray;
118 }
119
d56cebe7 120
96bfd053
RD
121 wxBitmap* wxBitmapFromXPMData(PyObject* listOfStrings) {
122 char** cArray = NULL;
123 wxBitmap* bmp;
124
125 cArray = ConvertListOfStrings(listOfStrings);
126 if (! cArray)
127 return NULL;
128 bmp = new wxBitmap(cArray);
129 delete [] cArray;
130 return bmp;
131 }
132
133
134 wxBitmap* wxBitmapFromIcon(const wxIcon& icon) {
135 return new wxBitmap(icon);
136 }
137
138
d56cebe7
RD
139 wxBitmap* wxBitmapFromBits(char* bits, int width, int height, int depth = 1 ) {
140 return new wxBitmap(bits, width, height, depth);
141 }
926bb76c 142
4c9993c3 143
d56cebe7
RD
144// #ifdef __WXMSW__
145// wxBitmap* wxBitmapFromData(PyObject* data, long type,
146// int width, int height, int depth = 1) {
147// if (! PyString_Check(data)) {
148// PyErr_SetString(PyExc_TypeError, "Expected string object");
149// return NULL;
150// }
151// return new wxBitmap((void*)PyString_AsString(data), type, width, height, depth);
152// }
153// #endif
8bf5d46e 154
8ab979d7
RD
155 wxMask* wxMaskColour(const wxBitmap& bitmap, const wxColour& colour) {
156 return new wxMask(bitmap, colour);
96bfd053
RD
157 }
158 // Implementations of some alternate "constructors"
159 wxIcon* wxEmptyIcon() {
160 return new wxIcon();
161 }
162
163 wxIcon* wxIconFromXPMData(PyObject* listOfStrings) {
164 char** cArray = NULL;
165 wxIcon* icon;
166
167 cArray = ConvertListOfStrings(listOfStrings);
168 if (! cArray)
169 return NULL;
170 icon = new wxIcon(cArray);
171 delete [] cArray;
172 return icon;
8ab979d7 173 }
7248a051
RD
174
175 wxIcon* wxIconFromBitmap(const wxBitmap& bmp) {
176 wxIcon* icon = new wxIcon();
177 icon->CopyFromBitmap(bmp);
178 return icon;
179 }
8ab979d7 180 // Alternate 'constructor'
9c039d08 181 wxCursor* wxPyStockCursor(int id) {
8ab979d7
RD
182 return new wxCursor(id);
183 }
184 // Alternate 'constructor'
185 wxColour* wxNamedColour(const wxString& colorName) {
186 return new wxColour(colorName);
187 }
ecc08ead
RD
188
189class wxPyPen : public wxPen {
190public:
191 wxPyPen(wxColour& colour, int width=1, int style=wxSOLID)
192 : wxPen(colour, width, style)
193 { m_dash = NULL; }
194 ~wxPyPen() {
195 if (m_dash)
181526ac 196 delete [] m_dash;
ecc08ead
RD
197 }
198
199 void SetDashes(int nb_dashes, const wxDash *dash) {
181526ac
RD
200 if (m_dash)
201 delete [] m_dash;
ecc08ead 202 m_dash = new wxDash[nb_dashes];
181526ac 203 for (int i=0; i<nb_dashes; i++) {
ecc08ead 204 m_dash[i] = dash[i];
181526ac 205 }
ecc08ead
RD
206 wxPen::SetDashes(nb_dashes, m_dash);
207 }
208
209private:
210 wxDash* m_dash;
211};
9d37f964
RD
212
213static void wxDC_GetBoundingBox(wxDC* dc, int* x1, int* y1, int* x2, int* y2) {
214 *x1 = dc->MinX();
215 *y1 = dc->MinY();
216 *x2 = dc->MaxX();
217 *y2 = dc->MaxY();
218}
8ab979d7
RD
219 // Alternate 'constructor'
220 wxMemoryDC* wxMemoryDCFromDC(wxDC* oldDC) {
221 return new wxMemoryDC(oldDC);
222 }
af309447 223
17c0e08c
RD
224#include <wx/metafile.h>
225
af309447 226#if 0
8ab979d7
RD
227extern wxFont * wxNORMAL_FONT;
228extern wxFont * wxSMALL_FONT;
229extern wxFont * wxITALIC_FONT;
230extern wxFont * wxSWISS_FONT;
231extern wxPen * wxRED_PEN;
232extern wxPen * wxCYAN_PEN;
233extern wxPen * wxGREEN_PEN;
234extern wxPen * wxBLACK_PEN;
235extern wxPen * wxWHITE_PEN;
236extern wxPen * wxTRANSPARENT_PEN;
237extern wxPen * wxBLACK_DASHED_PEN;
238extern wxPen * wxGREY_PEN;
239extern wxPen * wxMEDIUM_GREY_PEN;
240extern wxPen * wxLIGHT_GREY_PEN;
241extern wxBrush * wxBLUE_BRUSH;
242extern wxBrush * wxGREEN_BRUSH;
243extern wxBrush * wxWHITE_BRUSH;
244extern wxBrush * wxBLACK_BRUSH;
245extern wxBrush * wxTRANSPARENT_BRUSH;
246extern wxBrush * wxCYAN_BRUSH;
247extern wxBrush * wxRED_BRUSH;
248extern wxBrush * wxGREY_BRUSH;
249extern wxBrush * wxMEDIUM_GREY_BRUSH;
250extern wxBrush * wxLIGHT_GREY_BRUSH;
251extern wxColour * wxBLACK;
252extern wxColour * wxWHITE;
253extern wxColour * wxRED;
254extern wxColour * wxBLUE;
255extern wxColour * wxGREEN;
256extern wxColour * wxCYAN;
257extern wxColour * wxLIGHT_GREY;
258extern wxCursor * wxSTANDARD_CURSOR;
259extern wxCursor * wxHOURGLASS_CURSOR;
260extern wxCursor * wxCROSS_CURSOR;
261extern wxBitmap wxNullBitmap;
262extern wxIcon wxNullIcon;
263extern wxCursor wxNullCursor;
264extern wxPen wxNullPen;
265extern wxBrush wxNullBrush;
266extern wxPalette wxNullPalette;
267extern wxFont wxNullFont;
268extern wxColour wxNullColour;
0569df0f
RD
269extern wxFontList * wxTheFontList;
270extern wxPenList * wxThePenList;
6ee2116b 271extern wxBrushList * wxTheBrushList;
0569df0f 272extern wxColourDatabase * wxTheColourDatabase;
af309447 273
1d99702e
RD
274#endif
275#ifdef __cplusplus
276extern "C" {
af309447 277#endif
1afc06c2 278static PyObject *_wrap_wxEmptyBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
279 PyObject * _resultobj;
280 wxBitmap * _result;
281 int _arg0;
282 int _arg1;
1d99702e 283 int _arg2 = (int ) -1;
1afc06c2 284 char *_kwnames[] = { "width","height","depth", NULL };
8ab979d7
RD
285 char _ptemp[128];
286
287 self = self;
1afc06c2 288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii|i:wxEmptyBitmap",_kwnames,&_arg0,&_arg1,&_arg2))
8ab979d7 289 return NULL;
cf694132 290{
4268f798 291 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 292 _result = (wxBitmap *)wxEmptyBitmap(_arg0,_arg1,_arg2);
cf694132 293
4268f798 294 wxPyEndAllowThreads(__tstate);
493f1553 295 if (PyErr_Occurred()) return NULL;
1d99702e
RD
296} if (_result) {
297 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
298 _resultobj = Py_BuildValue("s",_ptemp);
299 } else {
300 Py_INCREF(Py_None);
301 _resultobj = Py_None;
302 }
8ab979d7
RD
303 return _resultobj;
304}
305
96bfd053
RD
306static PyObject *_wrap_wxBitmapFromXPMData(PyObject *self, PyObject *args, PyObject *kwargs) {
307 PyObject * _resultobj;
308 wxBitmap * _result;
309 PyObject * _arg0;
310 PyObject * _obj0 = 0;
311 char *_kwnames[] = { "listOfStrings", NULL };
312 char _ptemp[128];
313
314 self = self;
315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapFromXPMData",_kwnames,&_obj0))
316 return NULL;
317{
318 _arg0 = _obj0;
319}
320{
4268f798 321 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 322 _result = (wxBitmap *)wxBitmapFromXPMData(_arg0);
96bfd053 323
4268f798 324 wxPyEndAllowThreads(__tstate);
493f1553 325 if (PyErr_Occurred()) return NULL;
96bfd053
RD
326} if (_result) {
327 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
328 _resultobj = Py_BuildValue("s",_ptemp);
329 } else {
330 Py_INCREF(Py_None);
331 _resultobj = Py_None;
332 }
333 return _resultobj;
334}
335
336static PyObject *_wrap_wxBitmapFromIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
337 PyObject * _resultobj;
338 wxBitmap * _result;
339 wxIcon * _arg0;
340 PyObject * _argo0 = 0;
341 char *_kwnames[] = { "icon", NULL };
342 char _ptemp[128];
343
344 self = self;
345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapFromIcon",_kwnames,&_argo0))
346 return NULL;
347 if (_argo0) {
348 if (_argo0 == Py_None) { _arg0 = NULL; }
349 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
350 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapFromIcon. Expected _wxIcon_p.");
351 return NULL;
352 }
353 }
354{
4268f798 355 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 356 _result = (wxBitmap *)wxBitmapFromIcon(*_arg0);
96bfd053 357
4268f798 358 wxPyEndAllowThreads(__tstate);
493f1553 359 if (PyErr_Occurred()) return NULL;
96bfd053
RD
360} if (_result) {
361 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
362 _resultobj = Py_BuildValue("s",_ptemp);
363 } else {
364 Py_INCREF(Py_None);
365 _resultobj = Py_None;
366 }
367 return _resultobj;
368}
369
d56cebe7 370static PyObject *_wrap_wxBitmapFromBits(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
371 PyObject * _resultobj;
372 wxBitmap * _result;
d56cebe7
RD
373 char * _arg0;
374 int _arg1;
8bf5d46e 375 int _arg2;
d56cebe7
RD
376 int _arg3 = (int ) 1;
377 char *_kwnames[] = { "bits","width","height","depth", NULL };
8bf5d46e
RD
378 char _ptemp[128];
379
380 self = self;
d56cebe7 381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"sii|i:wxBitmapFromBits",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
8bf5d46e
RD
382 return NULL;
383{
4268f798 384 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 385 _result = (wxBitmap *)wxBitmapFromBits(_arg0,_arg1,_arg2,_arg3);
8bf5d46e 386
4268f798 387 wxPyEndAllowThreads(__tstate);
493f1553 388 if (PyErr_Occurred()) return NULL;
1d99702e
RD
389} if (_result) {
390 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
391 _resultobj = Py_BuildValue("s",_ptemp);
392 } else {
393 Py_INCREF(Py_None);
394 _resultobj = Py_None;
395 }
8bf5d46e
RD
396 return _resultobj;
397}
398
1afc06c2 399static PyObject *_wrap_wxMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
400 PyObject * _resultobj;
401 wxMask * _result;
402 wxBitmap * _arg0;
403 wxColour * _arg1;
1d99702e 404 PyObject * _argo0 = 0;
f6bcfd97
BP
405 wxColour temp;
406 PyObject * _obj1 = 0;
1afc06c2 407 char *_kwnames[] = { "bitmap","colour", NULL };
8ab979d7
RD
408 char _ptemp[128];
409
410 self = self;
f6bcfd97 411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMaskColour",_kwnames,&_argo0,&_obj1))
8ab979d7 412 return NULL;
1d99702e
RD
413 if (_argo0) {
414 if (_argo0 == Py_None) { _arg0 = NULL; }
415 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
8ab979d7
RD
416 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
417 return NULL;
418 }
419 }
f6bcfd97
BP
420{
421 _arg1 = &temp;
422 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 423 return NULL;
f6bcfd97 424}
cf694132 425{
4268f798 426 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 427 _result = (wxMask *)wxMaskColour(*_arg0,*_arg1);
cf694132 428
4268f798 429 wxPyEndAllowThreads(__tstate);
493f1553 430 if (PyErr_Occurred()) return NULL;
1d99702e
RD
431} if (_result) {
432 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
433 _resultobj = Py_BuildValue("s",_ptemp);
434 } else {
435 Py_INCREF(Py_None);
436 _resultobj = Py_None;
437 }
8ab979d7
RD
438 return _resultobj;
439}
440
96bfd053
RD
441static PyObject *_wrap_wxEmptyIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
442 PyObject * _resultobj;
443 wxIcon * _result;
444 char *_kwnames[] = { NULL };
445 char _ptemp[128];
446
447 self = self;
448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxEmptyIcon",_kwnames))
449 return NULL;
450{
4268f798 451 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 452 _result = (wxIcon *)wxEmptyIcon();
96bfd053 453
4268f798 454 wxPyEndAllowThreads(__tstate);
493f1553 455 if (PyErr_Occurred()) return NULL;
96bfd053
RD
456} if (_result) {
457 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
458 _resultobj = Py_BuildValue("s",_ptemp);
459 } else {
460 Py_INCREF(Py_None);
461 _resultobj = Py_None;
462 }
463 return _resultobj;
464}
465
466static PyObject *_wrap_wxIconFromXPMData(PyObject *self, PyObject *args, PyObject *kwargs) {
467 PyObject * _resultobj;
468 wxIcon * _result;
469 PyObject * _arg0;
470 PyObject * _obj0 = 0;
471 char *_kwnames[] = { "listOfStrings", NULL };
472 char _ptemp[128];
473
474 self = self;
475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIconFromXPMData",_kwnames,&_obj0))
476 return NULL;
477{
478 _arg0 = _obj0;
479}
480{
4268f798 481 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 482 _result = (wxIcon *)wxIconFromXPMData(_arg0);
96bfd053 483
4268f798 484 wxPyEndAllowThreads(__tstate);
493f1553 485 if (PyErr_Occurred()) return NULL;
96bfd053
RD
486} if (_result) {
487 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
488 _resultobj = Py_BuildValue("s",_ptemp);
489 } else {
490 Py_INCREF(Py_None);
491 _resultobj = Py_None;
492 }
493 return _resultobj;
494}
495
7248a051
RD
496static PyObject *_wrap_wxIconFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
497 PyObject * _resultobj;
498 wxIcon * _result;
499 wxBitmap * _arg0;
500 PyObject * _argo0 = 0;
501 char *_kwnames[] = { "bmp", NULL };
502 char _ptemp[128];
503
504 self = self;
505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIconFromBitmap",_kwnames,&_argo0))
506 return NULL;
507 if (_argo0) {
508 if (_argo0 == Py_None) { _arg0 = NULL; }
509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIconFromBitmap. Expected _wxBitmap_p.");
511 return NULL;
512 }
513 }
514{
515 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 516 _result = (wxIcon *)wxIconFromBitmap(*_arg0);
7248a051
RD
517
518 wxPyEndAllowThreads(__tstate);
519 if (PyErr_Occurred()) return NULL;
520} if (_result) {
521 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
522 _resultobj = Py_BuildValue("s",_ptemp);
523 } else {
524 Py_INCREF(Py_None);
525 _resultobj = Py_None;
526 }
527 return _resultobj;
528}
529
1afc06c2 530static PyObject *_wrap_wxStockCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
531 PyObject * _resultobj;
532 wxCursor * _result;
533 int _arg0;
1afc06c2 534 char *_kwnames[] = { "id", NULL };
8ab979d7
RD
535 char _ptemp[128];
536
537 self = self;
1afc06c2 538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxStockCursor",_kwnames,&_arg0))
8ab979d7 539 return NULL;
cf694132 540{
4268f798 541 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 542 _result = (wxCursor *)wxPyStockCursor(_arg0);
cf694132 543
4268f798 544 wxPyEndAllowThreads(__tstate);
493f1553 545 if (PyErr_Occurred()) return NULL;
1d99702e
RD
546} if (_result) {
547 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCursor_p");
548 _resultobj = Py_BuildValue("s",_ptemp);
549 } else {
550 Py_INCREF(Py_None);
551 _resultobj = Py_None;
552 }
8ab979d7
RD
553 return _resultobj;
554}
555
1afc06c2 556static PyObject *_wrap_wxNamedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
557 PyObject * _resultobj;
558 wxColour * _result;
559 wxString * _arg0;
560 PyObject * _obj0 = 0;
1afc06c2 561 char *_kwnames[] = { "colorName", NULL };
8ab979d7
RD
562 char _ptemp[128];
563
564 self = self;
1afc06c2 565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNamedColour",_kwnames,&_obj0))
8ab979d7
RD
566 return NULL;
567{
c8bc7bb8
RD
568 _arg0 = wxString_in_helper(_obj0);
569 if (_arg0 == NULL)
8ab979d7 570 return NULL;
8ab979d7 571}
cf694132 572{
4268f798 573 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 574 _result = (wxColour *)wxNamedColour(*_arg0);
cf694132 575
4268f798 576 wxPyEndAllowThreads(__tstate);
493f1553 577 if (PyErr_Occurred()) return NULL;
1d99702e
RD
578} if (_result) {
579 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
580 _resultobj = Py_BuildValue("s",_ptemp);
581 } else {
582 Py_INCREF(Py_None);
583 _resultobj = Py_None;
584 }
8ab979d7
RD
585{
586 if (_obj0)
587 delete _arg0;
588}
589 return _resultobj;
590}
591
1afc06c2 592static PyObject *_wrap_wxMemoryDCFromDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
593 PyObject * _resultobj;
594 wxMemoryDC * _result;
595 wxDC * _arg0;
1d99702e 596 PyObject * _argo0 = 0;
1afc06c2 597 char *_kwnames[] = { "oldDC", NULL };
8ab979d7
RD
598 char _ptemp[128];
599
600 self = self;
1afc06c2 601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMemoryDCFromDC",_kwnames,&_argo0))
8ab979d7 602 return NULL;
1d99702e
RD
603 if (_argo0) {
604 if (_argo0 == Py_None) { _arg0 = NULL; }
605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
607 return NULL;
608 }
609 }
cf694132 610{
4268f798 611 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 612 _result = (wxMemoryDC *)wxMemoryDCFromDC(_arg0);
cf694132 613
4268f798 614 wxPyEndAllowThreads(__tstate);
493f1553 615 if (PyErr_Occurred()) return NULL;
1d99702e
RD
616} if (_result) {
617 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMemoryDC_p");
618 _resultobj = Py_BuildValue("s",_ptemp);
619 } else {
620 Py_INCREF(Py_None);
621 _resultobj = Py_None;
622 }
8ab979d7
RD
623 return _resultobj;
624}
625
626static int _wrap_wxNORMAL_FONT_set(PyObject *val) {
627
628 PyErr_SetString(PyExc_TypeError,"Variable wxNORMAL_FONT is read-only.");
629 return 1;
630}
631
632static PyObject *_wrap_wxNORMAL_FONT_get() {
633 PyObject * pyobj;
634 char ptemp[128];
635
636 SWIG_MakePtr(ptemp, (char *) wxNORMAL_FONT,"_wxFont_p");
637 pyobj = PyString_FromString(ptemp);
638 return pyobj;
639}
640
641static int _wrap_wxSMALL_FONT_set(PyObject *val) {
642
643 PyErr_SetString(PyExc_TypeError,"Variable wxSMALL_FONT is read-only.");
644 return 1;
645}
646
647static PyObject *_wrap_wxSMALL_FONT_get() {
648 PyObject * pyobj;
649 char ptemp[128];
650
651 SWIG_MakePtr(ptemp, (char *) wxSMALL_FONT,"_wxFont_p");
652 pyobj = PyString_FromString(ptemp);
653 return pyobj;
654}
655
656static int _wrap_wxITALIC_FONT_set(PyObject *val) {
657
658 PyErr_SetString(PyExc_TypeError,"Variable wxITALIC_FONT is read-only.");
659 return 1;
660}
661
662static PyObject *_wrap_wxITALIC_FONT_get() {
663 PyObject * pyobj;
664 char ptemp[128];
665
666 SWIG_MakePtr(ptemp, (char *) wxITALIC_FONT,"_wxFont_p");
667 pyobj = PyString_FromString(ptemp);
668 return pyobj;
669}
670
671static int _wrap_wxSWISS_FONT_set(PyObject *val) {
672
673 PyErr_SetString(PyExc_TypeError,"Variable wxSWISS_FONT is read-only.");
674 return 1;
675}
676
677static PyObject *_wrap_wxSWISS_FONT_get() {
678 PyObject * pyobj;
679 char ptemp[128];
680
681 SWIG_MakePtr(ptemp, (char *) wxSWISS_FONT,"_wxFont_p");
682 pyobj = PyString_FromString(ptemp);
683 return pyobj;
684}
685
686static int _wrap_wxRED_PEN_set(PyObject *val) {
687
688 PyErr_SetString(PyExc_TypeError,"Variable wxRED_PEN is read-only.");
689 return 1;
690}
691
692static PyObject *_wrap_wxRED_PEN_get() {
693 PyObject * pyobj;
694 char ptemp[128];
695
696 SWIG_MakePtr(ptemp, (char *) wxRED_PEN,"_wxPen_p");
697 pyobj = PyString_FromString(ptemp);
698 return pyobj;
699}
700
701static int _wrap_wxCYAN_PEN_set(PyObject *val) {
702
703 PyErr_SetString(PyExc_TypeError,"Variable wxCYAN_PEN is read-only.");
704 return 1;
705}
706
707static PyObject *_wrap_wxCYAN_PEN_get() {
708 PyObject * pyobj;
709 char ptemp[128];
710
711 SWIG_MakePtr(ptemp, (char *) wxCYAN_PEN,"_wxPen_p");
712 pyobj = PyString_FromString(ptemp);
713 return pyobj;
714}
715
716static int _wrap_wxGREEN_PEN_set(PyObject *val) {
717
718 PyErr_SetString(PyExc_TypeError,"Variable wxGREEN_PEN is read-only.");
719 return 1;
720}
721
722static PyObject *_wrap_wxGREEN_PEN_get() {
723 PyObject * pyobj;
724 char ptemp[128];
725
726 SWIG_MakePtr(ptemp, (char *) wxGREEN_PEN,"_wxPen_p");
727 pyobj = PyString_FromString(ptemp);
728 return pyobj;
729}
730
731static int _wrap_wxBLACK_PEN_set(PyObject *val) {
732
733 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK_PEN is read-only.");
734 return 1;
735}
736
737static PyObject *_wrap_wxBLACK_PEN_get() {
738 PyObject * pyobj;
739 char ptemp[128];
740
741 SWIG_MakePtr(ptemp, (char *) wxBLACK_PEN,"_wxPen_p");
742 pyobj = PyString_FromString(ptemp);
743 return pyobj;
744}
745
746static int _wrap_wxWHITE_PEN_set(PyObject *val) {
747
748 PyErr_SetString(PyExc_TypeError,"Variable wxWHITE_PEN is read-only.");
749 return 1;
750}
751
752static PyObject *_wrap_wxWHITE_PEN_get() {
753 PyObject * pyobj;
754 char ptemp[128];
755
756 SWIG_MakePtr(ptemp, (char *) wxWHITE_PEN,"_wxPen_p");
757 pyobj = PyString_FromString(ptemp);
758 return pyobj;
759}
760
761static int _wrap_wxTRANSPARENT_PEN_set(PyObject *val) {
762
763 PyErr_SetString(PyExc_TypeError,"Variable wxTRANSPARENT_PEN is read-only.");
764 return 1;
765}
766
767static PyObject *_wrap_wxTRANSPARENT_PEN_get() {
768 PyObject * pyobj;
769 char ptemp[128];
770
771 SWIG_MakePtr(ptemp, (char *) wxTRANSPARENT_PEN,"_wxPen_p");
772 pyobj = PyString_FromString(ptemp);
773 return pyobj;
774}
775
776static int _wrap_wxBLACK_DASHED_PEN_set(PyObject *val) {
777
778 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK_DASHED_PEN is read-only.");
779 return 1;
780}
781
782static PyObject *_wrap_wxBLACK_DASHED_PEN_get() {
783 PyObject * pyobj;
784 char ptemp[128];
785
786 SWIG_MakePtr(ptemp, (char *) wxBLACK_DASHED_PEN,"_wxPen_p");
787 pyobj = PyString_FromString(ptemp);
788 return pyobj;
789}
790
791static int _wrap_wxGREY_PEN_set(PyObject *val) {
792
793 PyErr_SetString(PyExc_TypeError,"Variable wxGREY_PEN is read-only.");
794 return 1;
795}
796
797static PyObject *_wrap_wxGREY_PEN_get() {
798 PyObject * pyobj;
799 char ptemp[128];
800
801 SWIG_MakePtr(ptemp, (char *) wxGREY_PEN,"_wxPen_p");
802 pyobj = PyString_FromString(ptemp);
803 return pyobj;
804}
805
806static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject *val) {
807
808 PyErr_SetString(PyExc_TypeError,"Variable wxMEDIUM_GREY_PEN is read-only.");
809 return 1;
810}
811
812static PyObject *_wrap_wxMEDIUM_GREY_PEN_get() {
813 PyObject * pyobj;
814 char ptemp[128];
815
816 SWIG_MakePtr(ptemp, (char *) wxMEDIUM_GREY_PEN,"_wxPen_p");
817 pyobj = PyString_FromString(ptemp);
818 return pyobj;
819}
820
821static int _wrap_wxLIGHT_GREY_PEN_set(PyObject *val) {
822
823 PyErr_SetString(PyExc_TypeError,"Variable wxLIGHT_GREY_PEN is read-only.");
824 return 1;
825}
826
827static PyObject *_wrap_wxLIGHT_GREY_PEN_get() {
828 PyObject * pyobj;
829 char ptemp[128];
830
831 SWIG_MakePtr(ptemp, (char *) wxLIGHT_GREY_PEN,"_wxPen_p");
832 pyobj = PyString_FromString(ptemp);
833 return pyobj;
834}
835
836static int _wrap_wxBLUE_BRUSH_set(PyObject *val) {
837
838 PyErr_SetString(PyExc_TypeError,"Variable wxBLUE_BRUSH is read-only.");
839 return 1;
840}
841
842static PyObject *_wrap_wxBLUE_BRUSH_get() {
843 PyObject * pyobj;
844 char ptemp[128];
845
846 SWIG_MakePtr(ptemp, (char *) wxBLUE_BRUSH,"_wxBrush_p");
847 pyobj = PyString_FromString(ptemp);
848 return pyobj;
849}
850
851static int _wrap_wxGREEN_BRUSH_set(PyObject *val) {
852
853 PyErr_SetString(PyExc_TypeError,"Variable wxGREEN_BRUSH is read-only.");
854 return 1;
855}
856
857static PyObject *_wrap_wxGREEN_BRUSH_get() {
858 PyObject * pyobj;
859 char ptemp[128];
860
861 SWIG_MakePtr(ptemp, (char *) wxGREEN_BRUSH,"_wxBrush_p");
862 pyobj = PyString_FromString(ptemp);
863 return pyobj;
864}
865
866static int _wrap_wxWHITE_BRUSH_set(PyObject *val) {
867
868 PyErr_SetString(PyExc_TypeError,"Variable wxWHITE_BRUSH is read-only.");
869 return 1;
870}
871
872static PyObject *_wrap_wxWHITE_BRUSH_get() {
873 PyObject * pyobj;
874 char ptemp[128];
875
876 SWIG_MakePtr(ptemp, (char *) wxWHITE_BRUSH,"_wxBrush_p");
877 pyobj = PyString_FromString(ptemp);
878 return pyobj;
879}
880
881static int _wrap_wxBLACK_BRUSH_set(PyObject *val) {
882
883 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK_BRUSH is read-only.");
884 return 1;
885}
886
887static PyObject *_wrap_wxBLACK_BRUSH_get() {
888 PyObject * pyobj;
889 char ptemp[128];
890
891 SWIG_MakePtr(ptemp, (char *) wxBLACK_BRUSH,"_wxBrush_p");
892 pyobj = PyString_FromString(ptemp);
893 return pyobj;
894}
895
896static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject *val) {
897
898 PyErr_SetString(PyExc_TypeError,"Variable wxTRANSPARENT_BRUSH is read-only.");
899 return 1;
900}
901
902static PyObject *_wrap_wxTRANSPARENT_BRUSH_get() {
903 PyObject * pyobj;
904 char ptemp[128];
905
906 SWIG_MakePtr(ptemp, (char *) wxTRANSPARENT_BRUSH,"_wxBrush_p");
907 pyobj = PyString_FromString(ptemp);
908 return pyobj;
909}
910
911static int _wrap_wxCYAN_BRUSH_set(PyObject *val) {
912
913 PyErr_SetString(PyExc_TypeError,"Variable wxCYAN_BRUSH is read-only.");
914 return 1;
915}
916
917static PyObject *_wrap_wxCYAN_BRUSH_get() {
918 PyObject * pyobj;
919 char ptemp[128];
920
921 SWIG_MakePtr(ptemp, (char *) wxCYAN_BRUSH,"_wxBrush_p");
922 pyobj = PyString_FromString(ptemp);
923 return pyobj;
924}
925
926static int _wrap_wxRED_BRUSH_set(PyObject *val) {
927
928 PyErr_SetString(PyExc_TypeError,"Variable wxRED_BRUSH is read-only.");
929 return 1;
930}
931
932static PyObject *_wrap_wxRED_BRUSH_get() {
933 PyObject * pyobj;
934 char ptemp[128];
935
936 SWIG_MakePtr(ptemp, (char *) wxRED_BRUSH,"_wxBrush_p");
937 pyobj = PyString_FromString(ptemp);
938 return pyobj;
939}
940
941static int _wrap_wxGREY_BRUSH_set(PyObject *val) {
942
943 PyErr_SetString(PyExc_TypeError,"Variable wxGREY_BRUSH is read-only.");
944 return 1;
945}
946
947static PyObject *_wrap_wxGREY_BRUSH_get() {
948 PyObject * pyobj;
949 char ptemp[128];
950
951 SWIG_MakePtr(ptemp, (char *) wxGREY_BRUSH,"_wxBrush_p");
952 pyobj = PyString_FromString(ptemp);
953 return pyobj;
954}
955
956static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject *val) {
957
958 PyErr_SetString(PyExc_TypeError,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
959 return 1;
960}
961
962static PyObject *_wrap_wxMEDIUM_GREY_BRUSH_get() {
963 PyObject * pyobj;
964 char ptemp[128];
965
966 SWIG_MakePtr(ptemp, (char *) wxMEDIUM_GREY_BRUSH,"_wxBrush_p");
967 pyobj = PyString_FromString(ptemp);
968 return pyobj;
969}
970
971static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject *val) {
972
973 PyErr_SetString(PyExc_TypeError,"Variable wxLIGHT_GREY_BRUSH is read-only.");
974 return 1;
975}
976
977static PyObject *_wrap_wxLIGHT_GREY_BRUSH_get() {
978 PyObject * pyobj;
979 char ptemp[128];
980
981 SWIG_MakePtr(ptemp, (char *) wxLIGHT_GREY_BRUSH,"_wxBrush_p");
982 pyobj = PyString_FromString(ptemp);
983 return pyobj;
984}
985
986static int _wrap_wxBLACK_set(PyObject *val) {
987
988 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK is read-only.");
989 return 1;
990}
991
992static PyObject *_wrap_wxBLACK_get() {
993 PyObject * pyobj;
994 char ptemp[128];
995
996 SWIG_MakePtr(ptemp, (char *) wxBLACK,"_wxColour_p");
997 pyobj = PyString_FromString(ptemp);
998 return pyobj;
999}
1000
1001static int _wrap_wxWHITE_set(PyObject *val) {
1002
1003 PyErr_SetString(PyExc_TypeError,"Variable wxWHITE is read-only.");
1004 return 1;
1005}
1006
1007static PyObject *_wrap_wxWHITE_get() {
1008 PyObject * pyobj;
1009 char ptemp[128];
1010
1011 SWIG_MakePtr(ptemp, (char *) wxWHITE,"_wxColour_p");
1012 pyobj = PyString_FromString(ptemp);
1013 return pyobj;
1014}
1015
1016static int _wrap_wxRED_set(PyObject *val) {
1017
1018 PyErr_SetString(PyExc_TypeError,"Variable wxRED is read-only.");
1019 return 1;
1020}
1021
1022static PyObject *_wrap_wxRED_get() {
1023 PyObject * pyobj;
1024 char ptemp[128];
1025
1026 SWIG_MakePtr(ptemp, (char *) wxRED,"_wxColour_p");
1027 pyobj = PyString_FromString(ptemp);
1028 return pyobj;
1029}
1030
1031static int _wrap_wxBLUE_set(PyObject *val) {
1032
1033 PyErr_SetString(PyExc_TypeError,"Variable wxBLUE is read-only.");
1034 return 1;
1035}
1036
1037static PyObject *_wrap_wxBLUE_get() {
1038 PyObject * pyobj;
1039 char ptemp[128];
1040
1041 SWIG_MakePtr(ptemp, (char *) wxBLUE,"_wxColour_p");
1042 pyobj = PyString_FromString(ptemp);
1043 return pyobj;
1044}
1045
1046static int _wrap_wxGREEN_set(PyObject *val) {
1047
1048 PyErr_SetString(PyExc_TypeError,"Variable wxGREEN is read-only.");
1049 return 1;
1050}
1051
1052static PyObject *_wrap_wxGREEN_get() {
1053 PyObject * pyobj;
1054 char ptemp[128];
1055
1056 SWIG_MakePtr(ptemp, (char *) wxGREEN,"_wxColour_p");
1057 pyobj = PyString_FromString(ptemp);
1058 return pyobj;
1059}
1060
1061static int _wrap_wxCYAN_set(PyObject *val) {
1062
1063 PyErr_SetString(PyExc_TypeError,"Variable wxCYAN is read-only.");
1064 return 1;
1065}
1066
1067static PyObject *_wrap_wxCYAN_get() {
1068 PyObject * pyobj;
1069 char ptemp[128];
1070
1071 SWIG_MakePtr(ptemp, (char *) wxCYAN,"_wxColour_p");
1072 pyobj = PyString_FromString(ptemp);
1073 return pyobj;
1074}
1075
1076static int _wrap_wxLIGHT_GREY_set(PyObject *val) {
1077
1078 PyErr_SetString(PyExc_TypeError,"Variable wxLIGHT_GREY is read-only.");
1079 return 1;
1080}
1081
1082static PyObject *_wrap_wxLIGHT_GREY_get() {
1083 PyObject * pyobj;
1084 char ptemp[128];
1085
1086 SWIG_MakePtr(ptemp, (char *) wxLIGHT_GREY,"_wxColour_p");
1087 pyobj = PyString_FromString(ptemp);
1088 return pyobj;
1089}
1090
1091static int _wrap_wxSTANDARD_CURSOR_set(PyObject *val) {
1092
1093 PyErr_SetString(PyExc_TypeError,"Variable wxSTANDARD_CURSOR is read-only.");
1094 return 1;
1095}
1096
1097static PyObject *_wrap_wxSTANDARD_CURSOR_get() {
1098 PyObject * pyobj;
1099 char ptemp[128];
1100
1101 SWIG_MakePtr(ptemp, (char *) wxSTANDARD_CURSOR,"_wxCursor_p");
1102 pyobj = PyString_FromString(ptemp);
1103 return pyobj;
1104}
1105
1106static int _wrap_wxHOURGLASS_CURSOR_set(PyObject *val) {
1107
1108 PyErr_SetString(PyExc_TypeError,"Variable wxHOURGLASS_CURSOR is read-only.");
1109 return 1;
1110}
1111
1112static PyObject *_wrap_wxHOURGLASS_CURSOR_get() {
1113 PyObject * pyobj;
1114 char ptemp[128];
1115
1116 SWIG_MakePtr(ptemp, (char *) wxHOURGLASS_CURSOR,"_wxCursor_p");
1117 pyobj = PyString_FromString(ptemp);
1118 return pyobj;
1119}
1120
1121static int _wrap_wxCROSS_CURSOR_set(PyObject *val) {
1122
1123 PyErr_SetString(PyExc_TypeError,"Variable wxCROSS_CURSOR is read-only.");
1124 return 1;
1125}
1126
1127static PyObject *_wrap_wxCROSS_CURSOR_get() {
1128 PyObject * pyobj;
1129 char ptemp[128];
1130
1131 SWIG_MakePtr(ptemp, (char *) wxCROSS_CURSOR,"_wxCursor_p");
1132 pyobj = PyString_FromString(ptemp);
1133 return pyobj;
1134}
1135
1136static int _wrap_wxNullBitmap_set(PyObject *val) {
1137
1138 PyErr_SetString(PyExc_TypeError,"Variable wxNullBitmap is read-only.");
1139 return 1;
1140}
1141
1142static PyObject *_wrap_wxNullBitmap_get() {
1143 PyObject * pyobj;
1144 char ptemp[128];
1145
1146 SWIG_MakePtr(ptemp,(char *) &wxNullBitmap,"_wxBitmap_p");
1147 pyobj = PyString_FromString(ptemp);
1148 return pyobj;
1149}
1150
1151static int _wrap_wxNullIcon_set(PyObject *val) {
1152
1153 PyErr_SetString(PyExc_TypeError,"Variable wxNullIcon is read-only.");
1154 return 1;
1155}
1156
1157static PyObject *_wrap_wxNullIcon_get() {
1158 PyObject * pyobj;
1159 char ptemp[128];
1160
1161 SWIG_MakePtr(ptemp,(char *) &wxNullIcon,"_wxIcon_p");
1162 pyobj = PyString_FromString(ptemp);
1163 return pyobj;
1164}
1165
1166static int _wrap_wxNullCursor_set(PyObject *val) {
1167
1168 PyErr_SetString(PyExc_TypeError,"Variable wxNullCursor is read-only.");
1169 return 1;
1170}
1171
1172static PyObject *_wrap_wxNullCursor_get() {
1173 PyObject * pyobj;
1174 char ptemp[128];
1175
1176 SWIG_MakePtr(ptemp,(char *) &wxNullCursor,"_wxCursor_p");
1177 pyobj = PyString_FromString(ptemp);
1178 return pyobj;
1179}
1180
1181static int _wrap_wxNullPen_set(PyObject *val) {
1182
1183 PyErr_SetString(PyExc_TypeError,"Variable wxNullPen is read-only.");
1184 return 1;
1185}
1186
1187static PyObject *_wrap_wxNullPen_get() {
1188 PyObject * pyobj;
1189 char ptemp[128];
1190
1191 SWIG_MakePtr(ptemp,(char *) &wxNullPen,"_wxPen_p");
1192 pyobj = PyString_FromString(ptemp);
1193 return pyobj;
1194}
1195
1196static int _wrap_wxNullBrush_set(PyObject *val) {
1197
1198 PyErr_SetString(PyExc_TypeError,"Variable wxNullBrush is read-only.");
1199 return 1;
1200}
1201
1202static PyObject *_wrap_wxNullBrush_get() {
1203 PyObject * pyobj;
1204 char ptemp[128];
1205
1206 SWIG_MakePtr(ptemp,(char *) &wxNullBrush,"_wxBrush_p");
1207 pyobj = PyString_FromString(ptemp);
1208 return pyobj;
1209}
1210
1211static int _wrap_wxNullPalette_set(PyObject *val) {
1212
1213 PyErr_SetString(PyExc_TypeError,"Variable wxNullPalette is read-only.");
1214 return 1;
1215}
1216
1217static PyObject *_wrap_wxNullPalette_get() {
1218 PyObject * pyobj;
1219 char ptemp[128];
1220
1221 SWIG_MakePtr(ptemp,(char *) &wxNullPalette,"_wxPalette_p");
1222 pyobj = PyString_FromString(ptemp);
1223 return pyobj;
1224}
1225
1226static int _wrap_wxNullFont_set(PyObject *val) {
1227
1228 PyErr_SetString(PyExc_TypeError,"Variable wxNullFont is read-only.");
1229 return 1;
1230}
1231
1232static PyObject *_wrap_wxNullFont_get() {
1233 PyObject * pyobj;
1234 char ptemp[128];
1235
1236 SWIG_MakePtr(ptemp,(char *) &wxNullFont,"_wxFont_p");
1237 pyobj = PyString_FromString(ptemp);
1238 return pyobj;
1239}
1240
1241static int _wrap_wxNullColour_set(PyObject *val) {
1242
1243 PyErr_SetString(PyExc_TypeError,"Variable wxNullColour is read-only.");
1244 return 1;
1245}
1246
1247static PyObject *_wrap_wxNullColour_get() {
1248 PyObject * pyobj;
1249 char ptemp[128];
1250
1251 SWIG_MakePtr(ptemp,(char *) &wxNullColour,"_wxColour_p");
1252 pyobj = PyString_FromString(ptemp);
1253 return pyobj;
1254}
1255
0569df0f
RD
1256static int _wrap_wxTheFontList_set(PyObject *val) {
1257
1258 PyErr_SetString(PyExc_TypeError,"Variable wxTheFontList is read-only.");
1259 return 1;
1260}
1261
1262static PyObject *_wrap_wxTheFontList_get() {
1263 PyObject * pyobj;
1264 char ptemp[128];
1265
1266 SWIG_MakePtr(ptemp, (char *) wxTheFontList,"_wxFontList_p");
1267 pyobj = PyString_FromString(ptemp);
1268 return pyobj;
1269}
1270
1271static int _wrap_wxThePenList_set(PyObject *val) {
1272
1273 PyErr_SetString(PyExc_TypeError,"Variable wxThePenList is read-only.");
1274 return 1;
1275}
1276
1277static PyObject *_wrap_wxThePenList_get() {
1278 PyObject * pyobj;
1279 char ptemp[128];
1280
1281 SWIG_MakePtr(ptemp, (char *) wxThePenList,"_wxPenList_p");
1282 pyobj = PyString_FromString(ptemp);
1283 return pyobj;
1284}
1285
1286static int _wrap_wxTheBrushList_set(PyObject *val) {
1287
1288 PyErr_SetString(PyExc_TypeError,"Variable wxTheBrushList is read-only.");
1289 return 1;
1290}
1291
1292static PyObject *_wrap_wxTheBrushList_get() {
1293 PyObject * pyobj;
1294 char ptemp[128];
1295
6ee2116b 1296 SWIG_MakePtr(ptemp, (char *) wxTheBrushList,"_wxBrushList_p");
0569df0f
RD
1297 pyobj = PyString_FromString(ptemp);
1298 return pyobj;
1299}
1300
1301static int _wrap_wxTheColourDatabase_set(PyObject *val) {
1302
1303 PyErr_SetString(PyExc_TypeError,"Variable wxTheColourDatabase is read-only.");
1304 return 1;
1305}
1306
1307static PyObject *_wrap_wxTheColourDatabase_get() {
1308 PyObject * pyobj;
1309 char ptemp[128];
1310
1311 SWIG_MakePtr(ptemp, (char *) wxTheColourDatabase,"_wxColourDatabase_p");
1312 pyobj = PyString_FromString(ptemp);
1313 return pyobj;
1314}
1315
9416aa89
RD
1316static void *SwigwxGDIObjectTowxObject(void *ptr) {
1317 wxGDIObject *src;
1318 wxObject *dest;
1319 src = (wxGDIObject *) ptr;
1320 dest = (wxObject *) src;
1321 return (void *) dest;
1322}
1323
1324#define new_wxGDIObject() (new wxGDIObject())
1325static PyObject *_wrap_new_wxGDIObject(PyObject *self, PyObject *args, PyObject *kwargs) {
1326 PyObject * _resultobj;
1327 wxGDIObject * _result;
1328 char *_kwnames[] = { NULL };
1329 char _ptemp[128];
1330
1331 self = self;
1332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGDIObject",_kwnames))
1333 return NULL;
1334{
4268f798 1335 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1336 _result = (wxGDIObject *)new_wxGDIObject();
9416aa89 1337
4268f798 1338 wxPyEndAllowThreads(__tstate);
493f1553 1339 if (PyErr_Occurred()) return NULL;
9416aa89
RD
1340} if (_result) {
1341 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGDIObject_p");
1342 _resultobj = Py_BuildValue("s",_ptemp);
1343 } else {
1344 Py_INCREF(Py_None);
1345 _resultobj = Py_None;
1346 }
1347 return _resultobj;
1348}
1349
1350#define delete_wxGDIObject(_swigobj) (delete _swigobj)
1351static PyObject *_wrap_delete_wxGDIObject(PyObject *self, PyObject *args, PyObject *kwargs) {
1352 PyObject * _resultobj;
1353 wxGDIObject * _arg0;
1354 PyObject * _argo0 = 0;
1355 char *_kwnames[] = { "self", NULL };
1356
1357 self = self;
1358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGDIObject",_kwnames,&_argo0))
1359 return NULL;
1360 if (_argo0) {
1361 if (_argo0 == Py_None) { _arg0 = NULL; }
1362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGDIObject_p")) {
1363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGDIObject. Expected _wxGDIObject_p.");
1364 return NULL;
1365 }
1366 }
1367{
4268f798 1368 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1369 delete_wxGDIObject(_arg0);
9416aa89 1370
4268f798 1371 wxPyEndAllowThreads(__tstate);
493f1553 1372 if (PyErr_Occurred()) return NULL;
9416aa89
RD
1373} Py_INCREF(Py_None);
1374 _resultobj = Py_None;
1375 return _resultobj;
1376}
1377
1378#define wxGDIObject_GetVisible(_swigobj) (_swigobj->GetVisible())
1379static PyObject *_wrap_wxGDIObject_GetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
1380 PyObject * _resultobj;
1381 bool _result;
1382 wxGDIObject * _arg0;
1383 PyObject * _argo0 = 0;
1384 char *_kwnames[] = { "self", NULL };
1385
1386 self = self;
1387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGDIObject_GetVisible",_kwnames,&_argo0))
1388 return NULL;
1389 if (_argo0) {
1390 if (_argo0 == Py_None) { _arg0 = NULL; }
1391 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGDIObject_p")) {
1392 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGDIObject_GetVisible. Expected _wxGDIObject_p.");
1393 return NULL;
1394 }
1395 }
1396{
4268f798 1397 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1398 _result = (bool )wxGDIObject_GetVisible(_arg0);
9416aa89 1399
4268f798 1400 wxPyEndAllowThreads(__tstate);
493f1553 1401 if (PyErr_Occurred()) return NULL;
9416aa89
RD
1402} _resultobj = Py_BuildValue("i",_result);
1403 return _resultobj;
1404}
1405
1406#define wxGDIObject_SetVisible(_swigobj,_swigarg0) (_swigobj->SetVisible(_swigarg0))
1407static PyObject *_wrap_wxGDIObject_SetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
1408 PyObject * _resultobj;
1409 wxGDIObject * _arg0;
1410 bool _arg1;
1411 PyObject * _argo0 = 0;
1412 int tempbool1;
1413 char *_kwnames[] = { "self","visible", NULL };
1414
1415 self = self;
1416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGDIObject_SetVisible",_kwnames,&_argo0,&tempbool1))
1417 return NULL;
1418 if (_argo0) {
1419 if (_argo0 == Py_None) { _arg0 = NULL; }
1420 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGDIObject_p")) {
1421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGDIObject_SetVisible. Expected _wxGDIObject_p.");
1422 return NULL;
1423 }
1424 }
1425 _arg1 = (bool ) tempbool1;
1426{
4268f798 1427 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1428 wxGDIObject_SetVisible(_arg0,_arg1);
9416aa89 1429
4268f798 1430 wxPyEndAllowThreads(__tstate);
493f1553 1431 if (PyErr_Occurred()) return NULL;
9416aa89
RD
1432} Py_INCREF(Py_None);
1433 _resultobj = Py_None;
1434 return _resultobj;
1435}
1436
1437#define wxGDIObject_IsNull(_swigobj) (_swigobj->IsNull())
1438static PyObject *_wrap_wxGDIObject_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
1439 PyObject * _resultobj;
1440 bool _result;
1441 wxGDIObject * _arg0;
1442 PyObject * _argo0 = 0;
1443 char *_kwnames[] = { "self", NULL };
1444
1445 self = self;
1446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGDIObject_IsNull",_kwnames,&_argo0))
1447 return NULL;
1448 if (_argo0) {
1449 if (_argo0 == Py_None) { _arg0 = NULL; }
1450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGDIObject_p")) {
1451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGDIObject_IsNull. Expected _wxGDIObject_p.");
1452 return NULL;
1453 }
1454 }
1455{
4268f798 1456 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1457 _result = (bool )wxGDIObject_IsNull(_arg0);
9416aa89 1458
4268f798 1459 wxPyEndAllowThreads(__tstate);
493f1553 1460 if (PyErr_Occurred()) return NULL;
9416aa89
RD
1461} _resultobj = Py_BuildValue("i",_result);
1462 return _resultobj;
1463}
1464
1465static void *SwigwxBitmapTowxGDIObject(void *ptr) {
1466 wxBitmap *src;
1467 wxGDIObject *dest;
1468 src = (wxBitmap *) ptr;
1469 dest = (wxGDIObject *) src;
1470 return (void *) dest;
1471}
1472
1473static void *SwigwxBitmapTowxObject(void *ptr) {
1474 wxBitmap *src;
1475 wxObject *dest;
1476 src = (wxBitmap *) ptr;
1477 dest = (wxObject *) src;
1478 return (void *) dest;
1479}
1480
6999b0d8
RD
1481#define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1482static PyObject *_wrap_new_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1483 PyObject * _resultobj;
6999b0d8
RD
1484 wxBitmap * _result;
1485 wxString * _arg0;
7d0180d4 1486 wxBitmapType _arg1 = (wxBitmapType ) wxBITMAP_TYPE_ANY;
6999b0d8
RD
1487 PyObject * _obj0 = 0;
1488 char *_kwnames[] = { "name","type", NULL };
1489 char _ptemp[128];
8ab979d7
RD
1490
1491 self = self;
b37c7e1d 1492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxBitmap",_kwnames,&_obj0,&_arg1))
8ab979d7 1493 return NULL;
6999b0d8 1494{
c8bc7bb8
RD
1495 _arg0 = wxString_in_helper(_obj0);
1496 if (_arg0 == NULL)
8ab979d7 1497 return NULL;
6999b0d8 1498}
cf694132 1499{
4268f798 1500 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1501 _result = (wxBitmap *)new_wxBitmap(*_arg0,_arg1);
cf694132 1502
4268f798 1503 wxPyEndAllowThreads(__tstate);
493f1553 1504 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
1505} if (_result) {
1506 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1507 _resultobj = Py_BuildValue("s",_ptemp);
1508 } else {
1509 Py_INCREF(Py_None);
1510 _resultobj = Py_None;
1511 }
1512{
1513 if (_obj0)
1514 delete _arg0;
1515}
8ab979d7
RD
1516 return _resultobj;
1517}
1518
6999b0d8
RD
1519#define delete_wxBitmap(_swigobj) (delete _swigobj)
1520static PyObject *_wrap_delete_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1521 PyObject * _resultobj;
1522 wxBitmap * _arg0;
1d99702e 1523 PyObject * _argo0 = 0;
6999b0d8 1524 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1525
1526 self = self;
6999b0d8 1527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxBitmap",_kwnames,&_argo0))
8ab979d7 1528 return NULL;
1d99702e
RD
1529 if (_argo0) {
1530 if (_argo0 == Py_None) { _arg0 = NULL; }
1531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
6999b0d8 1532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
8ab979d7
RD
1533 return NULL;
1534 }
1535 }
cf694132 1536{
4268f798 1537 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1538 delete_wxBitmap(_arg0);
cf694132 1539
4268f798 1540 wxPyEndAllowThreads(__tstate);
493f1553 1541 if (PyErr_Occurred()) return NULL;
cf694132 1542} Py_INCREF(Py_None);
8ab979d7
RD
1543 _resultobj = Py_None;
1544 return _resultobj;
1545}
1546
6999b0d8
RD
1547#define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1548static PyObject *_wrap_wxBitmap_GetPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1549 PyObject * _resultobj;
6999b0d8 1550 wxPalette * _result;
8ab979d7 1551 wxBitmap * _arg0;
1d99702e 1552 PyObject * _argo0 = 0;
6999b0d8
RD
1553 char *_kwnames[] = { "self", NULL };
1554 char _ptemp[128];
8ab979d7
RD
1555
1556 self = self;
6999b0d8 1557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetPalette",_kwnames,&_argo0))
8ab979d7 1558 return NULL;
1d99702e
RD
1559 if (_argo0) {
1560 if (_argo0 == Py_None) { _arg0 = NULL; }
1561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
6999b0d8 1562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
8ab979d7
RD
1563 return NULL;
1564 }
1565 }
cf694132 1566{
4268f798 1567 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1568 _result = (wxPalette *)wxBitmap_GetPalette(_arg0);
cf694132 1569
4268f798 1570 wxPyEndAllowThreads(__tstate);
493f1553 1571 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
1572} if (_result) {
1573 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPalette_p");
1574 _resultobj = Py_BuildValue("s",_ptemp);
1575 } else {
1576 Py_INCREF(Py_None);
1577 _resultobj = Py_None;
1578 }
8ab979d7
RD
1579 return _resultobj;
1580}
1581
6999b0d8
RD
1582#define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1583static PyObject *_wrap_wxBitmap_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1584 PyObject * _resultobj;
1585 wxMask * _result;
1586 wxBitmap * _arg0;
1d99702e 1587 PyObject * _argo0 = 0;
6999b0d8 1588 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1589 char _ptemp[128];
1590
1591 self = self;
6999b0d8 1592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetMask",_kwnames,&_argo0))
8ab979d7 1593 return NULL;
1d99702e
RD
1594 if (_argo0) {
1595 if (_argo0 == Py_None) { _arg0 = NULL; }
1596 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
6999b0d8 1597 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
8ab979d7
RD
1598 return NULL;
1599 }
1600 }
cf694132 1601{
4268f798 1602 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1603 _result = (wxMask *)wxBitmap_GetMask(_arg0);
cf694132 1604
4268f798 1605 wxPyEndAllowThreads(__tstate);
493f1553 1606 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1607} if (_result) {
1608 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
1609 _resultobj = Py_BuildValue("s",_ptemp);
1610 } else {
1611 Py_INCREF(Py_None);
1612 _resultobj = Py_None;
1613 }
8ab979d7
RD
1614 return _resultobj;
1615}
1616
6999b0d8
RD
1617#define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1618static PyObject *_wrap_wxBitmap_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1619 PyObject * _resultobj;
6999b0d8
RD
1620 bool _result;
1621 wxBitmap * _arg0;
1622 wxString * _arg1;
7d0180d4 1623 wxBitmapType _arg2 = (wxBitmapType ) wxBITMAP_TYPE_ANY;
6999b0d8
RD
1624 PyObject * _argo0 = 0;
1625 PyObject * _obj1 = 0;
b37c7e1d 1626 char *_kwnames[] = { "self","name","type", NULL };
8ab979d7
RD
1627
1628 self = self;
b37c7e1d 1629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxBitmap_LoadFile",_kwnames,&_argo0,&_obj1,&_arg2))
6999b0d8
RD
1630 return NULL;
1631 if (_argo0) {
1632 if (_argo0 == Py_None) { _arg0 = NULL; }
1633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
8ab979d7 1635 return NULL;
6999b0d8
RD
1636 }
1637 }
8ab979d7 1638{
c8bc7bb8
RD
1639 _arg1 = wxString_in_helper(_obj1);
1640 if (_arg1 == NULL)
185d7c3e 1641 return NULL;
8ab979d7 1642}
cf694132 1643{
4268f798 1644 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1645 _result = (bool )wxBitmap_LoadFile(_arg0,*_arg1,_arg2);
cf694132 1646
4268f798 1647 wxPyEndAllowThreads(__tstate);
493f1553 1648 if (PyErr_Occurred()) return NULL;
6999b0d8 1649} _resultobj = Py_BuildValue("i",_result);
8ab979d7 1650{
6999b0d8
RD
1651 if (_obj1)
1652 delete _arg1;
8ab979d7
RD
1653}
1654 return _resultobj;
1655}
1656
6999b0d8
RD
1657#define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1658static PyObject *_wrap_wxBitmap_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1659 PyObject * _resultobj;
6999b0d8
RD
1660 bool _result;
1661 wxBitmap * _arg0;
1662 wxString * _arg1;
b37c7e1d 1663 wxBitmapType _arg2;
6999b0d8 1664 wxPalette * _arg3 = (wxPalette *) NULL;
1d99702e 1665 PyObject * _argo0 = 0;
6999b0d8
RD
1666 PyObject * _obj1 = 0;
1667 PyObject * _argo3 = 0;
1668 char *_kwnames[] = { "self","name","type","palette", NULL };
8ab979d7
RD
1669
1670 self = self;
6999b0d8 1671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|O:wxBitmap_SaveFile",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3))
8ab979d7 1672 return NULL;
1d99702e
RD
1673 if (_argo0) {
1674 if (_argo0 == Py_None) { _arg0 = NULL; }
6999b0d8
RD
1675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
8ab979d7
RD
1677 return NULL;
1678 }
1679 }
cf694132 1680{
c8bc7bb8
RD
1681 _arg1 = wxString_in_helper(_obj1);
1682 if (_arg1 == NULL)
185d7c3e 1683 return NULL;
6999b0d8
RD
1684}
1685 if (_argo3) {
1686 if (_argo3 == Py_None) { _arg3 = NULL; }
1687 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPalette_p")) {
1688 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
8ab979d7
RD
1689 return NULL;
1690 }
1691 }
cf694132 1692{
4268f798 1693 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1694 _result = (bool )wxBitmap_SaveFile(_arg0,*_arg1,_arg2,_arg3);
cf694132 1695
4268f798 1696 wxPyEndAllowThreads(__tstate);
493f1553 1697 if (PyErr_Occurred()) return NULL;
cf694132 1698} _resultobj = Py_BuildValue("i",_result);
6999b0d8
RD
1699{
1700 if (_obj1)
1701 delete _arg1;
1702}
8ab979d7
RD
1703 return _resultobj;
1704}
1705
6999b0d8
RD
1706#define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1707static PyObject *_wrap_wxBitmap_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1708 PyObject * _resultobj;
6999b0d8
RD
1709 wxBitmap * _arg0;
1710 wxMask * _arg1;
1d99702e 1711 PyObject * _argo0 = 0;
6999b0d8
RD
1712 PyObject * _argo1 = 0;
1713 char *_kwnames[] = { "self","mask", NULL };
8ab979d7
RD
1714
1715 self = self;
6999b0d8 1716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_SetMask",_kwnames,&_argo0,&_argo1))
8ab979d7 1717 return NULL;
1d99702e
RD
1718 if (_argo0) {
1719 if (_argo0 == Py_None) { _arg0 = NULL; }
6999b0d8
RD
1720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
8ab979d7
RD
1722 return NULL;
1723 }
1724 }
6999b0d8
RD
1725 if (_argo1) {
1726 if (_argo1 == Py_None) { _arg1 = NULL; }
1727 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMask_p")) {
1728 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
8ab979d7
RD
1729 return NULL;
1730 }
1731 }
cf694132 1732{
4268f798 1733 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1734 wxBitmap_SetMask(_arg0,_arg1);
cf694132 1735
4268f798 1736 wxPyEndAllowThreads(__tstate);
493f1553 1737 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
1738} Py_INCREF(Py_None);
1739 _resultobj = Py_None;
8ab979d7
RD
1740 return _resultobj;
1741}
1742
6999b0d8
RD
1743#define wxBitmap_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1744static PyObject *_wrap_wxBitmap_SetPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
1745 PyObject * _resultobj;
1746 wxBitmap * _arg0;
1747 wxPalette * _arg1;
1d99702e 1748 PyObject * _argo0 = 0;
6999b0d8
RD
1749 PyObject * _argo1 = 0;
1750 char *_kwnames[] = { "self","palette", NULL };
8ab979d7
RD
1751
1752 self = self;
6999b0d8 1753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_SetPalette",_kwnames,&_argo0,&_argo1))
8ab979d7 1754 return NULL;
1d99702e
RD
1755 if (_argo0) {
1756 if (_argo0 == Py_None) { _arg0 = NULL; }
6999b0d8
RD
1757 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1758 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetPalette. Expected _wxBitmap_p.");
8ab979d7
RD
1759 return NULL;
1760 }
1761 }
6999b0d8
RD
1762 if (_argo1) {
1763 if (_argo1 == Py_None) { _arg1 = NULL; }
1764 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPalette_p")) {
1765 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmap_SetPalette. Expected _wxPalette_p.");
8ab979d7 1766 return NULL;
6999b0d8 1767 }
8ab979d7 1768 }
cf694132 1769{
4268f798 1770 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1771 wxBitmap_SetPalette(_arg0,*_arg1);
cf694132 1772
4268f798 1773 wxPyEndAllowThreads(__tstate);
493f1553 1774 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
1775} Py_INCREF(Py_None);
1776 _resultobj = Py_None;
8ab979d7
RD
1777 return _resultobj;
1778}
1779
9b3d3bc4
RD
1780#define wxBitmap_GetHandle(_swigobj) (_swigobj->GetHandle())
1781static PyObject *_wrap_wxBitmap_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1782 PyObject * _resultobj;
9b3d3bc4 1783 long _result;
6999b0d8 1784 wxBitmap * _arg0;
1d99702e 1785 PyObject * _argo0 = 0;
9b3d3bc4 1786 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1787
1788 self = self;
9b3d3bc4 1789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetHandle",_kwnames,&_argo0))
8ab979d7 1790 return NULL;
1d99702e
RD
1791 if (_argo0) {
1792 if (_argo0 == Py_None) { _arg0 = NULL; }
6999b0d8 1793 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
9b3d3bc4 1794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetHandle. Expected _wxBitmap_p.");
8ab979d7
RD
1795 return NULL;
1796 }
1797 }
cf694132 1798{
4268f798 1799 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1800 _result = (long )wxBitmap_GetHandle(_arg0);
cf694132 1801
4268f798 1802 wxPyEndAllowThreads(__tstate);
493f1553 1803 if (PyErr_Occurred()) return NULL;
9b3d3bc4 1804} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
1805 return _resultobj;
1806}
1807
9b3d3bc4
RD
1808#define wxBitmap_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
1809static PyObject *_wrap_wxBitmap_SetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1810 PyObject * _resultobj;
9b3d3bc4 1811 wxBitmap * _arg0;
6999b0d8 1812 long _arg1;
9b3d3bc4
RD
1813 PyObject * _argo0 = 0;
1814 char *_kwnames[] = { "self","handle", NULL };
8ab979d7
RD
1815
1816 self = self;
9b3d3bc4 1817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxBitmap_SetHandle",_kwnames,&_argo0,&_arg1))
8ab979d7 1818 return NULL;
9b3d3bc4
RD
1819 if (_argo0) {
1820 if (_argo0 == Py_None) { _arg0 = NULL; }
1821 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1822 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetHandle. Expected _wxBitmap_p.");
8ab979d7 1823 return NULL;
9b3d3bc4 1824 }
8ab979d7 1825 }
9b3d3bc4 1826{
4268f798 1827 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1828 wxBitmap_SetHandle(_arg0,_arg1);
9b3d3bc4 1829
4268f798 1830 wxPyEndAllowThreads(__tstate);
493f1553 1831 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
1832} Py_INCREF(Py_None);
1833 _resultobj = Py_None;
1834 return _resultobj;
6999b0d8 1835}
9b3d3bc4
RD
1836
1837#define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1838static PyObject *_wrap_wxBitmap_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
1839 PyObject * _resultobj;
1840 bool _result;
1841 wxBitmap * _arg0;
1842 PyObject * _argo0 = 0;
1843 char *_kwnames[] = { "self", NULL };
1844
1845 self = self;
1846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_Ok",_kwnames,&_argo0))
1847 return NULL;
1848 if (_argo0) {
1849 if (_argo0 == Py_None) { _arg0 = NULL; }
1850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1852 return NULL;
1853 }
1854 }
cf694132 1855{
4268f798 1856 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1857 _result = (bool )wxBitmap_Ok(_arg0);
cf694132 1858
4268f798 1859 wxPyEndAllowThreads(__tstate);
493f1553 1860 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
1861} _resultobj = Py_BuildValue("i",_result);
1862 return _resultobj;
1863}
1864
1865#define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1866static PyObject *_wrap_wxBitmap_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1867 PyObject * _resultobj;
1868 int _result;
1869 wxBitmap * _arg0;
1870 PyObject * _argo0 = 0;
1871 char *_kwnames[] = { "self", NULL };
1872
1873 self = self;
1874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetWidth",_kwnames,&_argo0))
1875 return NULL;
1876 if (_argo0) {
1877 if (_argo0 == Py_None) { _arg0 = NULL; }
1878 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1880 return NULL;
1881 }
6999b0d8
RD
1882 }
1883{
4268f798 1884 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1885 _result = (int )wxBitmap_GetWidth(_arg0);
9b3d3bc4 1886
4268f798 1887 wxPyEndAllowThreads(__tstate);
493f1553 1888 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
1889} _resultobj = Py_BuildValue("i",_result);
1890 return _resultobj;
6999b0d8 1891}
9b3d3bc4
RD
1892
1893#define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1894static PyObject *_wrap_wxBitmap_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1895 PyObject * _resultobj;
1896 int _result;
1897 wxBitmap * _arg0;
1898 PyObject * _argo0 = 0;
1899 char *_kwnames[] = { "self", NULL };
1900
1901 self = self;
1902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetHeight",_kwnames,&_argo0))
1903 return NULL;
1904 if (_argo0) {
1905 if (_argo0 == Py_None) { _arg0 = NULL; }
1906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1908 return NULL;
1909 }
1910 }
1911{
4268f798 1912 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1913 _result = (int )wxBitmap_GetHeight(_arg0);
9b3d3bc4 1914
4268f798 1915 wxPyEndAllowThreads(__tstate);
493f1553 1916 if (PyErr_Occurred()) return NULL;
9b3d3bc4 1917} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1918 return _resultobj;
1919}
1920
9b3d3bc4
RD
1921#define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1922static PyObject *_wrap_wxBitmap_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1923 PyObject * _resultobj;
9b3d3bc4
RD
1924 int _result;
1925 wxBitmap * _arg0;
1d99702e 1926 PyObject * _argo0 = 0;
6999b0d8 1927 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1928
1929 self = self;
9b3d3bc4 1930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetDepth",_kwnames,&_argo0))
8ab979d7 1931 return NULL;
1d99702e
RD
1932 if (_argo0) {
1933 if (_argo0 == Py_None) { _arg0 = NULL; }
9b3d3bc4
RD
1934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
8ab979d7
RD
1936 return NULL;
1937 }
1938 }
cf694132 1939{
4268f798 1940 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1941 _result = (int )wxBitmap_GetDepth(_arg0);
9b3d3bc4 1942
4268f798 1943 wxPyEndAllowThreads(__tstate);
493f1553 1944 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
1945} _resultobj = Py_BuildValue("i",_result);
1946 return _resultobj;
1947}
1948
1949#define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1950static PyObject *_wrap_wxBitmap_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1951 PyObject * _resultobj;
1952 wxBitmap * _arg0;
1953 int _arg1;
1954 PyObject * _argo0 = 0;
1955 char *_kwnames[] = { "self","w", NULL };
1956
1957 self = self;
1958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBitmap_SetWidth",_kwnames,&_argo0,&_arg1))
1959 return NULL;
1960 if (_argo0) {
1961 if (_argo0 == Py_None) { _arg0 = NULL; }
1962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1964 return NULL;
1965 }
1966 }
1967{
4268f798 1968 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1969 wxBitmap_SetWidth(_arg0,_arg1);
cf694132 1970
4268f798 1971 wxPyEndAllowThreads(__tstate);
493f1553 1972 if (PyErr_Occurred()) return NULL;
cf694132 1973} Py_INCREF(Py_None);
8ab979d7
RD
1974 _resultobj = Py_None;
1975 return _resultobj;
1976}
1977
9b3d3bc4
RD
1978#define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1979static PyObject *_wrap_wxBitmap_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1980 PyObject * _resultobj;
9b3d3bc4
RD
1981 wxBitmap * _arg0;
1982 int _arg1;
1d99702e 1983 PyObject * _argo0 = 0;
9b3d3bc4 1984 char *_kwnames[] = { "self","h", NULL };
8ab979d7
RD
1985
1986 self = self;
9b3d3bc4 1987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBitmap_SetHeight",_kwnames,&_argo0,&_arg1))
8ab979d7 1988 return NULL;
1d99702e
RD
1989 if (_argo0) {
1990 if (_argo0 == Py_None) { _arg0 = NULL; }
9b3d3bc4
RD
1991 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1992 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
8ab979d7
RD
1993 return NULL;
1994 }
1995 }
6999b0d8 1996{
4268f798 1997 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1998 wxBitmap_SetHeight(_arg0,_arg1);
9b3d3bc4 1999
4268f798 2000 wxPyEndAllowThreads(__tstate);
493f1553 2001 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2002} Py_INCREF(Py_None);
2003 _resultobj = Py_None;
2004 return _resultobj;
2005}
2006
2007#define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2008static PyObject *_wrap_wxBitmap_SetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
2009 PyObject * _resultobj;
2010 wxBitmap * _arg0;
2011 int _arg1;
2012 PyObject * _argo0 = 0;
2013 char *_kwnames[] = { "self","d", NULL };
2014
2015 self = self;
2016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBitmap_SetDepth",_kwnames,&_argo0,&_arg1))
2017 return NULL;
2018 if (_argo0) {
2019 if (_argo0 == Py_None) { _arg0 = NULL; }
2020 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
6999b0d8 2022 return NULL;
9b3d3bc4 2023 }
6999b0d8 2024 }
cf694132 2025{
4268f798 2026 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2027 wxBitmap_SetDepth(_arg0,_arg1);
cf694132 2028
4268f798 2029 wxPyEndAllowThreads(__tstate);
493f1553 2030 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2031} Py_INCREF(Py_None);
2032 _resultobj = Py_None;
2033 return _resultobj;
2034}
2035
2036#define wxBitmap_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2037static PyObject *_wrap_wxBitmap_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2038 PyObject * _resultobj;
2039 wxBitmap * _arg0;
2040 wxSize * _arg1;
2041 PyObject * _argo0 = 0;
2042 wxSize temp;
2043 PyObject * _obj1 = 0;
2044 char *_kwnames[] = { "self","size", NULL };
2045
2046 self = self;
2047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_SetSize",_kwnames,&_argo0,&_obj1))
2048 return NULL;
2049 if (_argo0) {
2050 if (_argo0 == Py_None) { _arg0 = NULL; }
2051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetSize. Expected _wxBitmap_p.");
2053 return NULL;
2054 }
2055 }
6999b0d8 2056{
9b3d3bc4
RD
2057 _arg1 = &temp;
2058 if (! wxSize_helper(_obj1, &_arg1))
2059 return NULL;
6999b0d8 2060}
9b3d3bc4 2061{
4268f798 2062 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2063 wxBitmap_SetSize(_arg0,*_arg1);
9b3d3bc4 2064
4268f798 2065 wxPyEndAllowThreads(__tstate);
493f1553 2066 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2067} Py_INCREF(Py_None);
2068 _resultobj = Py_None;
8ab979d7
RD
2069 return _resultobj;
2070}
2071
f6bcfd97
BP
2072#define wxBitmap_GetSubBitmap(_swigobj,_swigarg0) (_swigobj->GetSubBitmap(_swigarg0))
2073static PyObject *_wrap_wxBitmap_GetSubBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2074 PyObject * _resultobj;
2075 wxBitmap * _result;
2076 wxBitmap * _arg0;
2077 wxRect * _arg1;
2078 PyObject * _argo0 = 0;
2079 wxRect temp;
2080 PyObject * _obj1 = 0;
2081 char *_kwnames[] = { "self","rect", NULL };
2082 char _ptemp[128];
2083
2084 self = self;
2085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_GetSubBitmap",_kwnames,&_argo0,&_obj1))
2086 return NULL;
2087 if (_argo0) {
2088 if (_argo0 == Py_None) { _arg0 = NULL; }
2089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetSubBitmap. Expected _wxBitmap_p.");
2091 return NULL;
2092 }
2093 }
2094{
2095 _arg1 = &temp;
2096 if (! wxRect_helper(_obj1, &_arg1))
2097 return NULL;
2098}
2099{
4268f798 2100 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2101 _result = new wxBitmap (wxBitmap_GetSubBitmap(_arg0,*_arg1));
f6bcfd97 2102
4268f798 2103 wxPyEndAllowThreads(__tstate);
493f1553 2104 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2105} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
2106 _resultobj = Py_BuildValue("s",_ptemp);
2107 return _resultobj;
2108}
2109
2110#define wxBitmap_CopyFromIcon(_swigobj,_swigarg0) (_swigobj->CopyFromIcon(_swigarg0))
2111static PyObject *_wrap_wxBitmap_CopyFromIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2112 PyObject * _resultobj;
2113 bool _result;
2114 wxBitmap * _arg0;
2115 wxIcon * _arg1;
2116 PyObject * _argo0 = 0;
2117 PyObject * _argo1 = 0;
2118 char *_kwnames[] = { "self","icon", NULL };
2119
2120 self = self;
2121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_CopyFromIcon",_kwnames,&_argo0,&_argo1))
2122 return NULL;
2123 if (_argo0) {
2124 if (_argo0 == Py_None) { _arg0 = NULL; }
2125 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2126 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_CopyFromIcon. Expected _wxBitmap_p.");
2127 return NULL;
2128 }
2129 }
2130 if (_argo1) {
2131 if (_argo1 == Py_None) { _arg1 = NULL; }
2132 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
2133 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmap_CopyFromIcon. Expected _wxIcon_p.");
2134 return NULL;
2135 }
2136 }
2137{
4268f798 2138 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2139 _result = (bool )wxBitmap_CopyFromIcon(_arg0,*_arg1);
f6bcfd97 2140
4268f798 2141 wxPyEndAllowThreads(__tstate);
493f1553 2142 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2143} _resultobj = Py_BuildValue("i",_result);
2144 return _resultobj;
2145}
2146
2147#define wxBitmap_CopyFromCursor(_swigobj,_swigarg0) (_swigobj->CopyFromCursor(_swigarg0))
2148static PyObject *_wrap_wxBitmap_CopyFromCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
2149 PyObject * _resultobj;
2150 bool _result;
2151 wxBitmap * _arg0;
2152 wxCursor * _arg1;
2153 PyObject * _argo0 = 0;
2154 PyObject * _argo1 = 0;
2155 char *_kwnames[] = { "self","cursor", NULL };
2156
2157 self = self;
2158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_CopyFromCursor",_kwnames,&_argo0,&_argo1))
2159 return NULL;
2160 if (_argo0) {
2161 if (_argo0 == Py_None) { _arg0 = NULL; }
2162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_CopyFromCursor. Expected _wxBitmap_p.");
2164 return NULL;
2165 }
2166 }
2167 if (_argo1) {
2168 if (_argo1 == Py_None) { _arg1 = NULL; }
2169 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
2170 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmap_CopyFromCursor. Expected _wxCursor_p.");
2171 return NULL;
2172 }
2173 }
2174{
4268f798 2175 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2176 _result = (bool )wxBitmap_CopyFromCursor(_arg0,*_arg1);
f6bcfd97 2177
4268f798 2178 wxPyEndAllowThreads(__tstate);
493f1553 2179 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2180} _resultobj = Py_BuildValue("i",_result);
2181 return _resultobj;
2182}
2183
2184#define wxBitmap_GetQuality(_swigobj) (_swigobj->GetQuality())
2185static PyObject *_wrap_wxBitmap_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
2186 PyObject * _resultobj;
2187 int _result;
2188 wxBitmap * _arg0;
2189 PyObject * _argo0 = 0;
2190 char *_kwnames[] = { "self", NULL };
2191
2192 self = self;
2193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetQuality",_kwnames,&_argo0))
2194 return NULL;
2195 if (_argo0) {
2196 if (_argo0 == Py_None) { _arg0 = NULL; }
2197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetQuality. Expected _wxBitmap_p.");
2199 return NULL;
2200 }
2201 }
2202{
4268f798 2203 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2204 _result = (int )wxBitmap_GetQuality(_arg0);
f6bcfd97 2205
4268f798 2206 wxPyEndAllowThreads(__tstate);
493f1553 2207 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2208} _resultobj = Py_BuildValue("i",_result);
2209 return _resultobj;
2210}
2211
2212#define wxBitmap_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
2213static PyObject *_wrap_wxBitmap_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
2214 PyObject * _resultobj;
2215 wxBitmap * _arg0;
2216 int _arg1;
2217 PyObject * _argo0 = 0;
2218 char *_kwnames[] = { "self","q", NULL };
2219
2220 self = self;
2221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBitmap_SetQuality",_kwnames,&_argo0,&_arg1))
2222 return NULL;
2223 if (_argo0) {
2224 if (_argo0 == Py_None) { _arg0 = NULL; }
2225 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetQuality. Expected _wxBitmap_p.");
2227 return NULL;
2228 }
2229 }
2230{
4268f798 2231 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2232 wxBitmap_SetQuality(_arg0,_arg1);
f6bcfd97 2233
4268f798 2234 wxPyEndAllowThreads(__tstate);
493f1553 2235 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2236} Py_INCREF(Py_None);
2237 _resultobj = Py_None;
2238 return _resultobj;
2239}
2240
9416aa89
RD
2241static void *SwigwxMaskTowxObject(void *ptr) {
2242 wxMask *src;
2243 wxObject *dest;
2244 src = (wxMask *) ptr;
2245 dest = (wxObject *) src;
2246 return (void *) dest;
2247}
2248
9b3d3bc4
RD
2249#define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
2250static PyObject *_wrap_new_wxMask(PyObject *self, PyObject *args, PyObject *kwargs) {
2251 PyObject * _resultobj;
2252 wxMask * _result;
2253 wxBitmap * _arg0;
2254 PyObject * _argo0 = 0;
2255 char *_kwnames[] = { "bitmap", NULL };
2256 char _ptemp[128];
2257
2258 self = self;
2259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxMask",_kwnames,&_argo0))
2260 return NULL;
2261 if (_argo0) {
2262 if (_argo0 == Py_None) { _arg0 = NULL; }
2263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
2265 return NULL;
2266 }
2267 }
2268{
4268f798 2269 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2270 _result = (wxMask *)new_wxMask(*_arg0);
9b3d3bc4 2271
4268f798 2272 wxPyEndAllowThreads(__tstate);
493f1553 2273 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2274} if (_result) {
2275 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
2276 _resultobj = Py_BuildValue("s",_ptemp);
2277 } else {
2278 Py_INCREF(Py_None);
2279 _resultobj = Py_None;
2280 }
2281 return _resultobj;
8ab979d7
RD
2282}
2283
96bfd053
RD
2284static void wxMask_Destroy(wxMask *self) { delete self; }
2285static PyObject *_wrap_wxMask_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2286 PyObject * _resultobj;
2287 wxMask * _arg0;
2288 PyObject * _argo0 = 0;
2289 char *_kwnames[] = { "self", NULL };
2290
2291 self = self;
2292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMask_Destroy",_kwnames,&_argo0))
2293 return NULL;
2294 if (_argo0) {
2295 if (_argo0 == Py_None) { _arg0 = NULL; }
2296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMask_p")) {
2297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMask_Destroy. Expected _wxMask_p.");
2298 return NULL;
2299 }
2300 }
2301{
4268f798 2302 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2303 wxMask_Destroy(_arg0);
96bfd053 2304
4268f798 2305 wxPyEndAllowThreads(__tstate);
493f1553 2306 if (PyErr_Occurred()) return NULL;
96bfd053
RD
2307} Py_INCREF(Py_None);
2308 _resultobj = Py_None;
2309 return _resultobj;
2310}
2311
9416aa89
RD
2312static void *SwigwxIconTowxGDIObject(void *ptr) {
2313 wxIcon *src;
2314 wxGDIObject *dest;
2315 src = (wxIcon *) ptr;
2316 dest = (wxGDIObject *) src;
2317 return (void *) dest;
2318}
2319
2320static void *SwigwxIconTowxObject(void *ptr) {
2321 wxIcon *src;
2322 wxObject *dest;
2323 src = (wxIcon *) ptr;
2324 dest = (wxObject *) src;
2325 return (void *) dest;
2326}
2327
9b3d3bc4
RD
2328#define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2329static PyObject *_wrap_new_wxIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2330 PyObject * _resultobj;
9b3d3bc4 2331 wxIcon * _result;
8ab979d7
RD
2332 wxString * _arg0;
2333 long _arg1;
9b3d3bc4
RD
2334 int _arg2 = (int ) -1;
2335 int _arg3 = (int ) -1;
8ab979d7 2336 PyObject * _obj0 = 0;
9b3d3bc4 2337 char *_kwnames[] = { "name","flags","desiredWidth","desiredHeight", NULL };
8ab979d7
RD
2338 char _ptemp[128];
2339
2340 self = self;
9b3d3bc4 2341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:new_wxIcon",_kwnames,&_obj0,&_arg1,&_arg2,&_arg3))
8ab979d7
RD
2342 return NULL;
2343{
c8bc7bb8
RD
2344 _arg0 = wxString_in_helper(_obj0);
2345 if (_arg0 == NULL)
185d7c3e 2346 return NULL;
8ab979d7 2347}
cf694132 2348{
4268f798 2349 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2350 _result = (wxIcon *)new_wxIcon(*_arg0,_arg1,_arg2,_arg3);
cf694132 2351
4268f798 2352 wxPyEndAllowThreads(__tstate);
493f1553 2353 if (PyErr_Occurred()) return NULL;
1d99702e 2354} if (_result) {
9b3d3bc4 2355 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
1d99702e
RD
2356 _resultobj = Py_BuildValue("s",_ptemp);
2357 } else {
2358 Py_INCREF(Py_None);
2359 _resultobj = Py_None;
2360 }
8ab979d7
RD
2361{
2362 if (_obj0)
2363 delete _arg0;
2364}
2365 return _resultobj;
2366}
2367
9b3d3bc4
RD
2368#define delete_wxIcon(_swigobj) (delete _swigobj)
2369static PyObject *_wrap_delete_wxIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2370 PyObject * _resultobj;
9b3d3bc4 2371 wxIcon * _arg0;
1d99702e 2372 PyObject * _argo0 = 0;
1afc06c2 2373 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2374
2375 self = self;
9b3d3bc4 2376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxIcon",_kwnames,&_argo0))
8ab979d7 2377 return NULL;
1d99702e
RD
2378 if (_argo0) {
2379 if (_argo0 == Py_None) { _arg0 = NULL; }
9b3d3bc4
RD
2380 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2381 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
8ab979d7
RD
2382 return NULL;
2383 }
2384 }
cf694132 2385{
4268f798 2386 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2387 delete_wxIcon(_arg0);
9b3d3bc4 2388
4268f798 2389 wxPyEndAllowThreads(__tstate);
493f1553 2390 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2391} Py_INCREF(Py_None);
2392 _resultobj = Py_None;
2393 return _resultobj;
2394}
2395
2396#define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
2397static PyObject *_wrap_wxIcon_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
2398 PyObject * _resultobj;
2399 bool _result;
2400 wxIcon * _arg0;
2401 wxString * _arg1;
2402 long _arg2;
2403 PyObject * _argo0 = 0;
2404 PyObject * _obj1 = 0;
2405 char *_kwnames[] = { "self","name","flags", NULL };
2406
2407 self = self;
2408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOl:wxIcon_LoadFile",_kwnames,&_argo0,&_obj1,&_arg2))
2409 return NULL;
2410 if (_argo0) {
2411 if (_argo0 == Py_None) { _arg0 = NULL; }
2412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
2414 return NULL;
2415 }
2416 }
2417{
c8bc7bb8
RD
2418 _arg1 = wxString_in_helper(_obj1);
2419 if (_arg1 == NULL)
185d7c3e 2420 return NULL;
9b3d3bc4
RD
2421}
2422{
4268f798 2423 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2424 _result = (bool )wxIcon_LoadFile(_arg0,*_arg1,_arg2);
9b3d3bc4 2425
4268f798 2426 wxPyEndAllowThreads(__tstate);
493f1553 2427 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2428} _resultobj = Py_BuildValue("i",_result);
2429{
2430 if (_obj1)
2431 delete _arg1;
2432}
2433 return _resultobj;
2434}
2435
2436#define wxIcon_GetHandle(_swigobj) (_swigobj->GetHandle())
2437static PyObject *_wrap_wxIcon_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
2438 PyObject * _resultobj;
2439 long _result;
2440 wxIcon * _arg0;
2441 PyObject * _argo0 = 0;
2442 char *_kwnames[] = { "self", NULL };
2443
2444 self = self;
2445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_GetHandle",_kwnames,&_argo0))
2446 return NULL;
2447 if (_argo0) {
2448 if (_argo0 == Py_None) { _arg0 = NULL; }
2449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_GetHandle. Expected _wxIcon_p.");
2451 return NULL;
2452 }
2453 }
2454{
4268f798 2455 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2456 _result = (long )wxIcon_GetHandle(_arg0);
9b3d3bc4 2457
4268f798 2458 wxPyEndAllowThreads(__tstate);
493f1553 2459 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2460} _resultobj = Py_BuildValue("l",_result);
2461 return _resultobj;
2462}
2463
2464#define wxIcon_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
2465static PyObject *_wrap_wxIcon_SetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
2466 PyObject * _resultobj;
2467 wxIcon * _arg0;
2468 long _arg1;
2469 PyObject * _argo0 = 0;
2470 char *_kwnames[] = { "self","handle", NULL };
2471
2472 self = self;
2473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxIcon_SetHandle",_kwnames,&_argo0,&_arg1))
2474 return NULL;
2475 if (_argo0) {
2476 if (_argo0 == Py_None) { _arg0 = NULL; }
2477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetHandle. Expected _wxIcon_p.");
2479 return NULL;
2480 }
2481 }
2482{
4268f798 2483 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2484 wxIcon_SetHandle(_arg0,_arg1);
9b3d3bc4 2485
4268f798 2486 wxPyEndAllowThreads(__tstate);
493f1553 2487 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2488} Py_INCREF(Py_None);
2489 _resultobj = Py_None;
2490 return _resultobj;
2491}
2492
2493#define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2494static PyObject *_wrap_wxIcon_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
2495 PyObject * _resultobj;
2496 bool _result;
2497 wxIcon * _arg0;
2498 PyObject * _argo0 = 0;
2499 char *_kwnames[] = { "self", NULL };
2500
2501 self = self;
2502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_Ok",_kwnames,&_argo0))
2503 return NULL;
2504 if (_argo0) {
2505 if (_argo0 == Py_None) { _arg0 = NULL; }
2506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
2508 return NULL;
2509 }
2510 }
2511{
4268f798 2512 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2513 _result = (bool )wxIcon_Ok(_arg0);
9b3d3bc4 2514
4268f798 2515 wxPyEndAllowThreads(__tstate);
493f1553 2516 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2517} _resultobj = Py_BuildValue("i",_result);
2518 return _resultobj;
2519}
2520
2521#define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2522static PyObject *_wrap_wxIcon_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2523 PyObject * _resultobj;
2524 int _result;
2525 wxIcon * _arg0;
2526 PyObject * _argo0 = 0;
2527 char *_kwnames[] = { "self", NULL };
2528
2529 self = self;
2530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_GetWidth",_kwnames,&_argo0))
2531 return NULL;
2532 if (_argo0) {
2533 if (_argo0 == Py_None) { _arg0 = NULL; }
2534 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2536 return NULL;
2537 }
2538 }
2539{
4268f798 2540 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2541 _result = (int )wxIcon_GetWidth(_arg0);
9b3d3bc4 2542
4268f798 2543 wxPyEndAllowThreads(__tstate);
493f1553 2544 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2545} _resultobj = Py_BuildValue("i",_result);
2546 return _resultobj;
2547}
2548
2549#define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2550static PyObject *_wrap_wxIcon_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2551 PyObject * _resultobj;
2552 int _result;
2553 wxIcon * _arg0;
2554 PyObject * _argo0 = 0;
2555 char *_kwnames[] = { "self", NULL };
2556
2557 self = self;
2558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_GetHeight",_kwnames,&_argo0))
2559 return NULL;
2560 if (_argo0) {
2561 if (_argo0 == Py_None) { _arg0 = NULL; }
2562 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2563 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2564 return NULL;
2565 }
2566 }
2567{
4268f798 2568 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2569 _result = (int )wxIcon_GetHeight(_arg0);
9b3d3bc4 2570
4268f798 2571 wxPyEndAllowThreads(__tstate);
493f1553 2572 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2573} _resultobj = Py_BuildValue("i",_result);
2574 return _resultobj;
2575}
2576
2577#define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2578static PyObject *_wrap_wxIcon_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
2579 PyObject * _resultobj;
2580 int _result;
2581 wxIcon * _arg0;
2582 PyObject * _argo0 = 0;
2583 char *_kwnames[] = { "self", NULL };
2584
2585 self = self;
2586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_GetDepth",_kwnames,&_argo0))
2587 return NULL;
2588 if (_argo0) {
2589 if (_argo0 == Py_None) { _arg0 = NULL; }
2590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2592 return NULL;
2593 }
2594 }
2595{
4268f798 2596 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2597 _result = (int )wxIcon_GetDepth(_arg0);
9b3d3bc4 2598
4268f798 2599 wxPyEndAllowThreads(__tstate);
493f1553 2600 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2601} _resultobj = Py_BuildValue("i",_result);
2602 return _resultobj;
2603}
2604
2605#define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2606static PyObject *_wrap_wxIcon_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2607 PyObject * _resultobj;
2608 wxIcon * _arg0;
2609 int _arg1;
2610 PyObject * _argo0 = 0;
2611 char *_kwnames[] = { "self","w", NULL };
2612
2613 self = self;
2614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxIcon_SetWidth",_kwnames,&_argo0,&_arg1))
2615 return NULL;
2616 if (_argo0) {
2617 if (_argo0 == Py_None) { _arg0 = NULL; }
2618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2620 return NULL;
2621 }
2622 }
2623{
4268f798 2624 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2625 wxIcon_SetWidth(_arg0,_arg1);
9b3d3bc4 2626
4268f798 2627 wxPyEndAllowThreads(__tstate);
493f1553 2628 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2629} Py_INCREF(Py_None);
2630 _resultobj = Py_None;
2631 return _resultobj;
2632}
2633
2634#define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2635static PyObject *_wrap_wxIcon_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2636 PyObject * _resultobj;
2637 wxIcon * _arg0;
2638 int _arg1;
2639 PyObject * _argo0 = 0;
2640 char *_kwnames[] = { "self","h", NULL };
2641
2642 self = self;
2643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxIcon_SetHeight",_kwnames,&_argo0,&_arg1))
2644 return NULL;
2645 if (_argo0) {
2646 if (_argo0 == Py_None) { _arg0 = NULL; }
2647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2649 return NULL;
2650 }
2651 }
2652{
4268f798 2653 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2654 wxIcon_SetHeight(_arg0,_arg1);
9b3d3bc4 2655
4268f798 2656 wxPyEndAllowThreads(__tstate);
493f1553 2657 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2658} Py_INCREF(Py_None);
2659 _resultobj = Py_None;
2660 return _resultobj;
2661}
2662
2663#define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2664static PyObject *_wrap_wxIcon_SetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
2665 PyObject * _resultobj;
2666 wxIcon * _arg0;
2667 int _arg1;
2668 PyObject * _argo0 = 0;
2669 char *_kwnames[] = { "self","d", NULL };
2670
2671 self = self;
2672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxIcon_SetDepth",_kwnames,&_argo0,&_arg1))
2673 return NULL;
2674 if (_argo0) {
2675 if (_argo0 == Py_None) { _arg0 = NULL; }
2676 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2678 return NULL;
2679 }
2680 }
2681{
4268f798 2682 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2683 wxIcon_SetDepth(_arg0,_arg1);
9b3d3bc4 2684
4268f798 2685 wxPyEndAllowThreads(__tstate);
493f1553 2686 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2687} Py_INCREF(Py_None);
2688 _resultobj = Py_None;
2689 return _resultobj;
2690}
2691
2692#define wxIcon_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2693static PyObject *_wrap_wxIcon_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2694 PyObject * _resultobj;
2695 wxIcon * _arg0;
2696 wxSize * _arg1;
2697 PyObject * _argo0 = 0;
2698 wxSize temp;
2699 PyObject * _obj1 = 0;
2700 char *_kwnames[] = { "self","size", NULL };
2701
2702 self = self;
2703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxIcon_SetSize",_kwnames,&_argo0,&_obj1))
2704 return NULL;
2705 if (_argo0) {
2706 if (_argo0 == Py_None) { _arg0 = NULL; }
2707 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2708 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetSize. Expected _wxIcon_p.");
2709 return NULL;
2710 }
2711 }
2712{
2713 _arg1 = &temp;
2714 if (! wxSize_helper(_obj1, &_arg1))
2715 return NULL;
2716}
2717{
4268f798 2718 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2719 wxIcon_SetSize(_arg0,*_arg1);
9b3d3bc4 2720
4268f798 2721 wxPyEndAllowThreads(__tstate);
493f1553 2722 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2723} Py_INCREF(Py_None);
2724 _resultobj = Py_None;
2725 return _resultobj;
2726}
2727
96bfd053
RD
2728#define wxIcon_CopyFromBitmap(_swigobj,_swigarg0) (_swigobj->CopyFromBitmap(_swigarg0))
2729static PyObject *_wrap_wxIcon_CopyFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2730 PyObject * _resultobj;
2731 wxIcon * _arg0;
2732 wxBitmap * _arg1;
2733 PyObject * _argo0 = 0;
2734 PyObject * _argo1 = 0;
2735 char *_kwnames[] = { "self","bmp", NULL };
2736
2737 self = self;
2738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxIcon_CopyFromBitmap",_kwnames,&_argo0,&_argo1))
2739 return NULL;
2740 if (_argo0) {
2741 if (_argo0 == Py_None) { _arg0 = NULL; }
2742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_CopyFromBitmap. Expected _wxIcon_p.");
2744 return NULL;
2745 }
2746 }
2747 if (_argo1) {
2748 if (_argo1 == Py_None) { _arg1 = NULL; }
2749 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
2750 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIcon_CopyFromBitmap. Expected _wxBitmap_p.");
2751 return NULL;
2752 }
2753 }
2754{
4268f798 2755 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2756 wxIcon_CopyFromBitmap(_arg0,*_arg1);
96bfd053 2757
4268f798 2758 wxPyEndAllowThreads(__tstate);
493f1553 2759 if (PyErr_Occurred()) return NULL;
96bfd053
RD
2760} Py_INCREF(Py_None);
2761 _resultobj = Py_None;
2762 return _resultobj;
2763}
2764
0e9b78ce
RD
2765#define new_wxIconBundle() (new wxIconBundle())
2766static PyObject *_wrap_new_wxIconBundle(PyObject *self, PyObject *args, PyObject *kwargs) {
2767 PyObject * _resultobj;
2768 wxIconBundle * _result;
2769 char *_kwnames[] = { NULL };
2770 char _ptemp[128];
2771
2772 self = self;
2773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxIconBundle",_kwnames))
2774 return NULL;
2775{
2776 PyThreadState* __tstate = wxPyBeginAllowThreads();
2777 _result = (wxIconBundle *)new_wxIconBundle();
2778
2779 wxPyEndAllowThreads(__tstate);
2780 if (PyErr_Occurred()) return NULL;
2781} if (_result) {
2782 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIconBundle_p");
2783 _resultobj = Py_BuildValue("s",_ptemp);
2784 } else {
2785 Py_INCREF(Py_None);
2786 _resultobj = Py_None;
2787 }
2788 return _resultobj;
2789}
2790
2791#define new_wxIconBundleFromFile(_swigarg0,_swigarg1) (new wxIconBundle(_swigarg0,_swigarg1))
2792static PyObject *_wrap_new_wxIconBundleFromFile(PyObject *self, PyObject *args, PyObject *kwargs) {
2793 PyObject * _resultobj;
2794 wxIconBundle * _result;
2795 wxString * _arg0;
2796 long _arg1;
2797 PyObject * _obj0 = 0;
2798 char *_kwnames[] = { "file","type", NULL };
2799 char _ptemp[128];
2800
2801 self = self;
2802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:new_wxIconBundleFromFile",_kwnames,&_obj0,&_arg1))
2803 return NULL;
2804{
2805 _arg0 = wxString_in_helper(_obj0);
2806 if (_arg0 == NULL)
2807 return NULL;
2808}
2809{
2810 PyThreadState* __tstate = wxPyBeginAllowThreads();
2811 _result = (wxIconBundle *)new_wxIconBundleFromFile(*_arg0,_arg1);
2812
2813 wxPyEndAllowThreads(__tstate);
2814 if (PyErr_Occurred()) return NULL;
2815} if (_result) {
2816 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIconBundle_p");
2817 _resultobj = Py_BuildValue("s",_ptemp);
2818 } else {
2819 Py_INCREF(Py_None);
2820 _resultobj = Py_None;
2821 }
2822{
2823 if (_obj0)
2824 delete _arg0;
2825}
2826 return _resultobj;
2827}
2828
2829#define new_wxIconBundleFromIcon(_swigarg0) (new wxIconBundle(_swigarg0))
2830static PyObject *_wrap_new_wxIconBundleFromIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2831 PyObject * _resultobj;
2832 wxIconBundle * _result;
2833 wxIcon * _arg0;
2834 PyObject * _argo0 = 0;
2835 char *_kwnames[] = { "icon", NULL };
2836 char _ptemp[128];
2837
2838 self = self;
2839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxIconBundleFromIcon",_kwnames,&_argo0))
2840 return NULL;
2841 if (_argo0) {
2842 if (_argo0 == Py_None) { _arg0 = NULL; }
2843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxIconBundleFromIcon. Expected _wxIcon_p.");
2845 return NULL;
2846 }
2847 }
2848{
2849 PyThreadState* __tstate = wxPyBeginAllowThreads();
2850 _result = (wxIconBundle *)new_wxIconBundleFromIcon(*_arg0);
2851
2852 wxPyEndAllowThreads(__tstate);
2853 if (PyErr_Occurred()) return NULL;
2854} if (_result) {
2855 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIconBundle_p");
2856 _resultobj = Py_BuildValue("s",_ptemp);
2857 } else {
2858 Py_INCREF(Py_None);
2859 _resultobj = Py_None;
2860 }
2861 return _resultobj;
2862}
2863
2864#define delete_wxIconBundle(_swigobj) (delete _swigobj)
2865static PyObject *_wrap_delete_wxIconBundle(PyObject *self, PyObject *args, PyObject *kwargs) {
2866 PyObject * _resultobj;
2867 wxIconBundle * _arg0;
2868 PyObject * _argo0 = 0;
2869 char *_kwnames[] = { "self", NULL };
2870
2871 self = self;
2872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxIconBundle",_kwnames,&_argo0))
2873 return NULL;
2874 if (_argo0) {
2875 if (_argo0 == Py_None) { _arg0 = NULL; }
2876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIconBundle_p")) {
2877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxIconBundle. Expected _wxIconBundle_p.");
2878 return NULL;
2879 }
2880 }
2881{
2882 PyThreadState* __tstate = wxPyBeginAllowThreads();
2883 delete_wxIconBundle(_arg0);
2884
2885 wxPyEndAllowThreads(__tstate);
2886 if (PyErr_Occurred()) return NULL;
2887} Py_INCREF(Py_None);
2888 _resultobj = Py_None;
2889 return _resultobj;
2890}
2891
2892#define wxIconBundle_AddIcon(_swigobj,_swigarg0) (_swigobj->AddIcon(_swigarg0))
2893static PyObject *_wrap_wxIconBundle_AddIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2894 PyObject * _resultobj;
2895 wxIconBundle * _arg0;
2896 wxIcon * _arg1;
2897 PyObject * _argo0 = 0;
2898 PyObject * _argo1 = 0;
2899 char *_kwnames[] = { "self","icon", NULL };
2900
2901 self = self;
2902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxIconBundle_AddIcon",_kwnames,&_argo0,&_argo1))
2903 return NULL;
2904 if (_argo0) {
2905 if (_argo0 == Py_None) { _arg0 = NULL; }
2906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIconBundle_p")) {
2907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIconBundle_AddIcon. Expected _wxIconBundle_p.");
2908 return NULL;
2909 }
2910 }
2911 if (_argo1) {
2912 if (_argo1 == Py_None) { _arg1 = NULL; }
2913 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
2914 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIconBundle_AddIcon. Expected _wxIcon_p.");
2915 return NULL;
2916 }
2917 }
2918{
2919 PyThreadState* __tstate = wxPyBeginAllowThreads();
2920 wxIconBundle_AddIcon(_arg0,*_arg1);
2921
2922 wxPyEndAllowThreads(__tstate);
2923 if (PyErr_Occurred()) return NULL;
2924} Py_INCREF(Py_None);
2925 _resultobj = Py_None;
2926 return _resultobj;
2927}
2928
2929#define wxIconBundle_AddIconFromFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddIcon(_swigarg0,_swigarg1))
2930static PyObject *_wrap_wxIconBundle_AddIconFromFile(PyObject *self, PyObject *args, PyObject *kwargs) {
2931 PyObject * _resultobj;
2932 wxIconBundle * _arg0;
2933 wxString * _arg1;
2934 long _arg2;
2935 PyObject * _argo0 = 0;
2936 PyObject * _obj1 = 0;
2937 char *_kwnames[] = { "self","file","type", NULL };
2938
2939 self = self;
2940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOl:wxIconBundle_AddIconFromFile",_kwnames,&_argo0,&_obj1,&_arg2))
2941 return NULL;
2942 if (_argo0) {
2943 if (_argo0 == Py_None) { _arg0 = NULL; }
2944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIconBundle_p")) {
2945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIconBundle_AddIconFromFile. Expected _wxIconBundle_p.");
2946 return NULL;
2947 }
2948 }
2949{
2950 _arg1 = wxString_in_helper(_obj1);
2951 if (_arg1 == NULL)
2952 return NULL;
2953}
2954{
2955 PyThreadState* __tstate = wxPyBeginAllowThreads();
2956 wxIconBundle_AddIconFromFile(_arg0,*_arg1,_arg2);
2957
2958 wxPyEndAllowThreads(__tstate);
2959 if (PyErr_Occurred()) return NULL;
2960} Py_INCREF(Py_None);
2961 _resultobj = Py_None;
2962{
2963 if (_obj1)
2964 delete _arg1;
2965}
2966 return _resultobj;
2967}
2968
2969#define wxIconBundle_GetIcon(_swigobj,_swigarg0) (_swigobj->GetIcon(_swigarg0))
2970static PyObject *_wrap_wxIconBundle_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2971 PyObject * _resultobj;
2972 wxIcon * _result;
2973 wxIconBundle * _arg0;
2974 wxSize * _arg1;
2975 PyObject * _argo0 = 0;
2976 wxSize temp;
2977 PyObject * _obj1 = 0;
2978 char *_kwnames[] = { "self","size", NULL };
2979 char _ptemp[128];
2980
2981 self = self;
2982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxIconBundle_GetIcon",_kwnames,&_argo0,&_obj1))
2983 return NULL;
2984 if (_argo0) {
2985 if (_argo0 == Py_None) { _arg0 = NULL; }
2986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIconBundle_p")) {
2987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIconBundle_GetIcon. Expected _wxIconBundle_p.");
2988 return NULL;
2989 }
2990 }
2991{
2992 _arg1 = &temp;
2993 if (! wxSize_helper(_obj1, &_arg1))
2994 return NULL;
2995}
2996{
2997 PyThreadState* __tstate = wxPyBeginAllowThreads();
2998 const wxIcon & _result_ref = wxIconBundle_GetIcon(_arg0,*_arg1);
2999 _result = (wxIcon *) &_result_ref;
3000
3001 wxPyEndAllowThreads(__tstate);
3002 if (PyErr_Occurred()) return NULL;
3003} if (_result) {
3004 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
3005 _resultobj = Py_BuildValue("s",_ptemp);
3006 } else {
3007 Py_INCREF(Py_None);
3008 _resultobj = Py_None;
3009 }
3010 return _resultobj;
3011}
3012
9416aa89
RD
3013static void *SwigwxCursorTowxGDIObject(void *ptr) {
3014 wxCursor *src;
3015 wxGDIObject *dest;
3016 src = (wxCursor *) ptr;
3017 dest = (wxGDIObject *) src;
3018 return (void *) dest;
3019}
3020
3021static void *SwigwxCursorTowxObject(void *ptr) {
3022 wxCursor *src;
3023 wxObject *dest;
3024 src = (wxCursor *) ptr;
3025 dest = (wxObject *) src;
3026 return (void *) dest;
3027}
3028
9b3d3bc4
RD
3029#define new_wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3030static PyObject *_wrap_new_wxCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3031 PyObject * _resultobj;
3032 wxCursor * _result;
3033 wxString * _arg0;
3034 long _arg1;
3035 int _arg2 = (int ) 0;
3036 int _arg3 = (int ) 0;
3037 PyObject * _obj0 = 0;
3038 char *_kwnames[] = { "cursorName","flags","hotSpotX","hotSpotY", NULL };
3039 char _ptemp[128];
3040
3041 self = self;
3042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:new_wxCursor",_kwnames,&_obj0,&_arg1,&_arg2,&_arg3))
3043 return NULL;
3044{
c8bc7bb8
RD
3045 _arg0 = wxString_in_helper(_obj0);
3046 if (_arg0 == NULL)
185d7c3e 3047 return NULL;
9b3d3bc4
RD
3048}
3049{
4268f798 3050 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3051 _result = (wxCursor *)new_wxCursor(*_arg0,_arg1,_arg2,_arg3);
9b3d3bc4 3052
4268f798 3053 wxPyEndAllowThreads(__tstate);
493f1553 3054 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3055} if (_result) {
3056 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCursor_p");
3057 _resultobj = Py_BuildValue("s",_ptemp);
3058 } else {
3059 Py_INCREF(Py_None);
3060 _resultobj = Py_None;
3061 }
3062{
3063 if (_obj0)
3064 delete _arg0;
3065}
3066 return _resultobj;
3067}
3068
3069#define delete_wxCursor(_swigobj) (delete _swigobj)
3070static PyObject *_wrap_delete_wxCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3071 PyObject * _resultobj;
3072 wxCursor * _arg0;
3073 PyObject * _argo0 = 0;
3074 char *_kwnames[] = { "self", NULL };
3075
3076 self = self;
3077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxCursor",_kwnames,&_argo0))
3078 return NULL;
3079 if (_argo0) {
3080 if (_argo0 == Py_None) { _arg0 = NULL; }
3081 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
3083 return NULL;
3084 }
3085 }
3086{
4268f798 3087 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3088 delete_wxCursor(_arg0);
9b3d3bc4 3089
4268f798 3090 wxPyEndAllowThreads(__tstate);
493f1553 3091 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3092} Py_INCREF(Py_None);
3093 _resultobj = Py_None;
3094 return _resultobj;
3095}
3096
3097#define wxCursor_GetHandle(_swigobj) (_swigobj->GetHandle())
3098static PyObject *_wrap_wxCursor_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
3099 PyObject * _resultobj;
3100 long _result;
3101 wxCursor * _arg0;
3102 PyObject * _argo0 = 0;
3103 char *_kwnames[] = { "self", NULL };
3104
3105 self = self;
3106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCursor_GetHandle",_kwnames,&_argo0))
3107 return NULL;
3108 if (_argo0) {
3109 if (_argo0 == Py_None) { _arg0 = NULL; }
3110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_GetHandle. Expected _wxCursor_p.");
3112 return NULL;
3113 }
3114 }
3115{
4268f798 3116 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3117 _result = (long )wxCursor_GetHandle(_arg0);
9b3d3bc4 3118
4268f798 3119 wxPyEndAllowThreads(__tstate);
493f1553 3120 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3121} _resultobj = Py_BuildValue("l",_result);
3122 return _resultobj;
3123}
3124
3125#define wxCursor_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
3126static PyObject *_wrap_wxCursor_SetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
3127 PyObject * _resultobj;
3128 wxCursor * _arg0;
3129 long _arg1;
3130 PyObject * _argo0 = 0;
3131 char *_kwnames[] = { "self","handle", NULL };
3132
3133 self = self;
3134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxCursor_SetHandle",_kwnames,&_argo0,&_arg1))
3135 return NULL;
3136 if (_argo0) {
3137 if (_argo0 == Py_None) { _arg0 = NULL; }
3138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_SetHandle. Expected _wxCursor_p.");
3140 return NULL;
3141 }
3142 }
3143{
4268f798 3144 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3145 wxCursor_SetHandle(_arg0,_arg1);
9b3d3bc4 3146
4268f798 3147 wxPyEndAllowThreads(__tstate);
493f1553 3148 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3149} Py_INCREF(Py_None);
3150 _resultobj = Py_None;
3151 return _resultobj;
3152}
3153
3154#define wxCursor_Ok(_swigobj) (_swigobj->Ok())
3155static PyObject *_wrap_wxCursor_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
3156 PyObject * _resultobj;
3157 bool _result;
3158 wxCursor * _arg0;
3159 PyObject * _argo0 = 0;
3160 char *_kwnames[] = { "self", NULL };
3161
3162 self = self;
3163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCursor_Ok",_kwnames,&_argo0))
3164 return NULL;
3165 if (_argo0) {
3166 if (_argo0 == Py_None) { _arg0 = NULL; }
3167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
3169 return NULL;
3170 }
3171 }
3172{
4268f798 3173 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3174 _result = (bool )wxCursor_Ok(_arg0);
9b3d3bc4 3175
4268f798 3176 wxPyEndAllowThreads(__tstate);
493f1553 3177 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3178} _resultobj = Py_BuildValue("i",_result);
3179 return _resultobj;
3180}
3181
3182#define wxCursor_GetWidth(_swigobj) (_swigobj->GetWidth())
3183static PyObject *_wrap_wxCursor_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3184 PyObject * _resultobj;
3185 int _result;
3186 wxCursor * _arg0;
3187 PyObject * _argo0 = 0;
3188 char *_kwnames[] = { "self", NULL };
3189
3190 self = self;
3191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCursor_GetWidth",_kwnames,&_argo0))
3192 return NULL;
3193 if (_argo0) {
3194 if (_argo0 == Py_None) { _arg0 = NULL; }
3195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_GetWidth. Expected _wxCursor_p.");
3197 return NULL;
3198 }
3199 }
3200{
4268f798 3201 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3202 _result = (int )wxCursor_GetWidth(_arg0);
9b3d3bc4 3203
4268f798 3204 wxPyEndAllowThreads(__tstate);
493f1553 3205 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3206} _resultobj = Py_BuildValue("i",_result);
3207 return _resultobj;
3208}
3209
3210#define wxCursor_GetHeight(_swigobj) (_swigobj->GetHeight())
3211static PyObject *_wrap_wxCursor_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3212 PyObject * _resultobj;
3213 int _result;
3214 wxCursor * _arg0;
3215 PyObject * _argo0 = 0;
3216 char *_kwnames[] = { "self", NULL };
3217
3218 self = self;
3219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCursor_GetHeight",_kwnames,&_argo0))
3220 return NULL;
3221 if (_argo0) {
3222 if (_argo0 == Py_None) { _arg0 = NULL; }
3223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_GetHeight. Expected _wxCursor_p.");
3225 return NULL;
3226 }
3227 }
3228{
4268f798 3229 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3230 _result = (int )wxCursor_GetHeight(_arg0);
9b3d3bc4 3231
4268f798 3232 wxPyEndAllowThreads(__tstate);
493f1553 3233 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3234} _resultobj = Py_BuildValue("i",_result);
3235 return _resultobj;
3236}
3237
3238#define wxCursor_GetDepth(_swigobj) (_swigobj->GetDepth())
3239static PyObject *_wrap_wxCursor_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3240 PyObject * _resultobj;
3241 int _result;
3242 wxCursor * _arg0;
3243 PyObject * _argo0 = 0;
3244 char *_kwnames[] = { "self", NULL };
3245
3246 self = self;
3247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCursor_GetDepth",_kwnames,&_argo0))
3248 return NULL;
3249 if (_argo0) {
3250 if (_argo0 == Py_None) { _arg0 = NULL; }
3251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_GetDepth. Expected _wxCursor_p.");
3253 return NULL;
3254 }
3255 }
3256{
4268f798 3257 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3258 _result = (int )wxCursor_GetDepth(_arg0);
9b3d3bc4 3259
4268f798 3260 wxPyEndAllowThreads(__tstate);
493f1553 3261 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3262} _resultobj = Py_BuildValue("i",_result);
3263 return _resultobj;
3264}
3265
3266#define wxCursor_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
3267static PyObject *_wrap_wxCursor_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3268 PyObject * _resultobj;
3269 wxCursor * _arg0;
3270 int _arg1;
3271 PyObject * _argo0 = 0;
3272 char *_kwnames[] = { "self","w", NULL };
3273
3274 self = self;
3275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCursor_SetWidth",_kwnames,&_argo0,&_arg1))
3276 return NULL;
3277 if (_argo0) {
3278 if (_argo0 == Py_None) { _arg0 = NULL; }
3279 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3280 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_SetWidth. Expected _wxCursor_p.");
3281 return NULL;
3282 }
3283 }
3284{
4268f798 3285 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3286 wxCursor_SetWidth(_arg0,_arg1);
9b3d3bc4 3287
4268f798 3288 wxPyEndAllowThreads(__tstate);
493f1553 3289 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3290} Py_INCREF(Py_None);
3291 _resultobj = Py_None;
3292 return _resultobj;
3293}
3294
3295#define wxCursor_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
3296static PyObject *_wrap_wxCursor_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3297 PyObject * _resultobj;
3298 wxCursor * _arg0;
3299 int _arg1;
3300 PyObject * _argo0 = 0;
3301 char *_kwnames[] = { "self","h", NULL };
3302
3303 self = self;
3304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCursor_SetHeight",_kwnames,&_argo0,&_arg1))
3305 return NULL;
3306 if (_argo0) {
3307 if (_argo0 == Py_None) { _arg0 = NULL; }
3308 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3309 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_SetHeight. Expected _wxCursor_p.");
3310 return NULL;
3311 }
3312 }
3313{
4268f798 3314 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3315 wxCursor_SetHeight(_arg0,_arg1);
9b3d3bc4 3316
4268f798 3317 wxPyEndAllowThreads(__tstate);
493f1553 3318 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3319} Py_INCREF(Py_None);
3320 _resultobj = Py_None;
3321 return _resultobj;
3322}
3323
3324#define wxCursor_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
3325static PyObject *_wrap_wxCursor_SetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3326 PyObject * _resultobj;
3327 wxCursor * _arg0;
3328 int _arg1;
3329 PyObject * _argo0 = 0;
3330 char *_kwnames[] = { "self","d", NULL };
3331
3332 self = self;
3333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCursor_SetDepth",_kwnames,&_argo0,&_arg1))
3334 return NULL;
3335 if (_argo0) {
3336 if (_argo0 == Py_None) { _arg0 = NULL; }
3337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_SetDepth. Expected _wxCursor_p.");
3339 return NULL;
3340 }
3341 }
3342{
4268f798 3343 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3344 wxCursor_SetDepth(_arg0,_arg1);
9b3d3bc4 3345
4268f798 3346 wxPyEndAllowThreads(__tstate);
493f1553 3347 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3348} Py_INCREF(Py_None);
3349 _resultobj = Py_None;
3350 return _resultobj;
3351}
3352
3353#define wxCursor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3354static PyObject *_wrap_wxCursor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3355 PyObject * _resultobj;
3356 wxCursor * _arg0;
3357 wxSize * _arg1;
3358 PyObject * _argo0 = 0;
3359 wxSize temp;
3360 PyObject * _obj1 = 0;
3361 char *_kwnames[] = { "self","size", NULL };
3362
3363 self = self;
3364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCursor_SetSize",_kwnames,&_argo0,&_obj1))
3365 return NULL;
3366 if (_argo0) {
3367 if (_argo0 == Py_None) { _arg0 = NULL; }
3368 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3369 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_SetSize. Expected _wxCursor_p.");
3370 return NULL;
3371 }
3372 }
3373{
3374 _arg1 = &temp;
3375 if (! wxSize_helper(_obj1, &_arg1))
3376 return NULL;
3377}
3378{
4268f798 3379 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3380 wxCursor_SetSize(_arg0,*_arg1);
cf694132 3381
4268f798 3382 wxPyEndAllowThreads(__tstate);
493f1553 3383 if (PyErr_Occurred()) return NULL;
cf694132 3384} Py_INCREF(Py_None);
8ab979d7
RD
3385 _resultobj = Py_None;
3386 return _resultobj;
3387}
3388
9416aa89
RD
3389static void *SwigwxColourTowxObject(void *ptr) {
3390 wxColour *src;
3391 wxObject *dest;
3392 src = (wxColour *) ptr;
3393 dest = (wxObject *) src;
3394 return (void *) dest;
3395}
3396
8ab979d7 3397#define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 3398static PyObject *_wrap_new_wxColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3399 PyObject * _resultobj;
3400 wxColour * _result;
1d99702e
RD
3401 unsigned char _arg0 = (unsigned char ) 0;
3402 unsigned char _arg1 = (unsigned char ) 0;
3403 unsigned char _arg2 = (unsigned char ) 0;
1afc06c2 3404 char *_kwnames[] = { "red","green","blue", NULL };
8ab979d7
RD
3405 char _ptemp[128];
3406
3407 self = self;
1afc06c2 3408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|bbb:new_wxColour",_kwnames,&_arg0,&_arg1,&_arg2))
8ab979d7 3409 return NULL;
cf694132 3410{
4268f798 3411 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3412 _result = (wxColour *)new_wxColour(_arg0,_arg1,_arg2);
cf694132 3413
4268f798 3414 wxPyEndAllowThreads(__tstate);
493f1553 3415 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3416} if (_result) {
3417 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3418 _resultobj = Py_BuildValue("s",_ptemp);
3419 } else {
3420 Py_INCREF(Py_None);
3421 _resultobj = Py_None;
3422 }
8ab979d7
RD
3423 return _resultobj;
3424}
3425
3426#define delete_wxColour(_swigobj) (delete _swigobj)
1afc06c2 3427static PyObject *_wrap_delete_wxColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3428 PyObject * _resultobj;
3429 wxColour * _arg0;
f6bcfd97
BP
3430 wxColour temp;
3431 PyObject * _obj0 = 0;
1afc06c2 3432 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3433
3434 self = self;
f6bcfd97 3435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxColour",_kwnames,&_obj0))
8ab979d7 3436 return NULL;
f6bcfd97
BP
3437{
3438 _arg0 = &temp;
3439 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 3440 return NULL;
f6bcfd97 3441}
cf694132 3442{
4268f798 3443 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3444 delete_wxColour(_arg0);
cf694132 3445
4268f798 3446 wxPyEndAllowThreads(__tstate);
493f1553 3447 if (PyErr_Occurred()) return NULL;
cf694132 3448} Py_INCREF(Py_None);
8ab979d7
RD
3449 _resultobj = Py_None;
3450 return _resultobj;
3451}
3452
3453#define wxColour_Red(_swigobj) (_swigobj->Red())
1afc06c2 3454static PyObject *_wrap_wxColour_Red(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3455 PyObject * _resultobj;
3456 unsigned char _result;
3457 wxColour * _arg0;
f6bcfd97
BP
3458 wxColour temp;
3459 PyObject * _obj0 = 0;
1afc06c2 3460 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3461
3462 self = self;
f6bcfd97 3463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Red",_kwnames,&_obj0))
8ab979d7 3464 return NULL;
f6bcfd97
BP
3465{
3466 _arg0 = &temp;
3467 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 3468 return NULL;
f6bcfd97 3469}
cf694132 3470{
4268f798 3471 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3472 _result = (unsigned char )wxColour_Red(_arg0);
cf694132 3473
4268f798 3474 wxPyEndAllowThreads(__tstate);
493f1553 3475 if (PyErr_Occurred()) return NULL;
cf694132 3476} _resultobj = Py_BuildValue("b",_result);
8ab979d7
RD
3477 return _resultobj;
3478}
3479
3480#define wxColour_Green(_swigobj) (_swigobj->Green())
1afc06c2 3481static PyObject *_wrap_wxColour_Green(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3482 PyObject * _resultobj;
3483 unsigned char _result;
3484 wxColour * _arg0;
f6bcfd97
BP
3485 wxColour temp;
3486 PyObject * _obj0 = 0;
1afc06c2 3487 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3488
3489 self = self;
f6bcfd97 3490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Green",_kwnames,&_obj0))
8ab979d7 3491 return NULL;
f6bcfd97
BP
3492{
3493 _arg0 = &temp;
3494 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 3495 return NULL;
f6bcfd97 3496}
cf694132 3497{
4268f798 3498 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3499 _result = (unsigned char )wxColour_Green(_arg0);
cf694132 3500
4268f798 3501 wxPyEndAllowThreads(__tstate);
493f1553 3502 if (PyErr_Occurred()) return NULL;
cf694132 3503} _resultobj = Py_BuildValue("b",_result);
8ab979d7
RD
3504 return _resultobj;
3505}
3506
3507#define wxColour_Blue(_swigobj) (_swigobj->Blue())
1afc06c2 3508static PyObject *_wrap_wxColour_Blue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3509 PyObject * _resultobj;
3510 unsigned char _result;
3511 wxColour * _arg0;
f6bcfd97
BP
3512 wxColour temp;
3513 PyObject * _obj0 = 0;
1afc06c2 3514 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3515
3516 self = self;
f6bcfd97 3517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Blue",_kwnames,&_obj0))
8ab979d7 3518 return NULL;
f6bcfd97
BP
3519{
3520 _arg0 = &temp;
3521 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 3522 return NULL;
f6bcfd97 3523}
cf694132 3524{
4268f798 3525 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3526 _result = (unsigned char )wxColour_Blue(_arg0);
cf694132 3527
4268f798 3528 wxPyEndAllowThreads(__tstate);
493f1553 3529 if (PyErr_Occurred()) return NULL;
cf694132 3530} _resultobj = Py_BuildValue("b",_result);
8ab979d7
RD
3531 return _resultobj;
3532}
3533
3534#define wxColour_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 3535static PyObject *_wrap_wxColour_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3536 PyObject * _resultobj;
3537 bool _result;
3538 wxColour * _arg0;
f6bcfd97
BP
3539 wxColour temp;
3540 PyObject * _obj0 = 0;
1afc06c2 3541 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3542
3543 self = self;
f6bcfd97 3544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Ok",_kwnames,&_obj0))
8ab979d7 3545 return NULL;
f6bcfd97
BP
3546{
3547 _arg0 = &temp;
3548 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 3549 return NULL;
f6bcfd97 3550}
cf694132 3551{
4268f798 3552 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3553 _result = (bool )wxColour_Ok(_arg0);
cf694132 3554
4268f798 3555 wxPyEndAllowThreads(__tstate);
493f1553 3556 if (PyErr_Occurred()) return NULL;
cf694132 3557} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3558 return _resultobj;
3559}
3560
3561#define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 3562static PyObject *_wrap_wxColour_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3563 PyObject * _resultobj;
3564 wxColour * _arg0;
3565 unsigned char _arg1;
3566 unsigned char _arg2;
3567 unsigned char _arg3;
f6bcfd97
BP
3568 wxColour temp;
3569 PyObject * _obj0 = 0;
1afc06c2 3570 char *_kwnames[] = { "self","red","green","blue", NULL };
8ab979d7
RD
3571
3572 self = self;
f6bcfd97 3573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Obbb:wxColour_Set",_kwnames,&_obj0,&_arg1,&_arg2,&_arg3))
8ab979d7 3574 return NULL;
f6bcfd97
BP
3575{
3576 _arg0 = &temp;
3577 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 3578 return NULL;
f6bcfd97 3579}
cf694132 3580{
4268f798 3581 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3582 wxColour_Set(_arg0,_arg1,_arg2,_arg3);
cf694132 3583
4268f798 3584 wxPyEndAllowThreads(__tstate);
493f1553 3585 if (PyErr_Occurred()) return NULL;
cf694132 3586} Py_INCREF(Py_None);
8ab979d7
RD
3587 _resultobj = Py_None;
3588 return _resultobj;
3589}
3590
3591static PyObject * wxColour_Get(wxColour *self) {
3592 PyObject* rv = PyTuple_New(3);
3593 PyTuple_SetItem(rv, 0, PyInt_FromLong(self->Red()));
3594 PyTuple_SetItem(rv, 1, PyInt_FromLong(self->Green()));
3595 PyTuple_SetItem(rv, 2, PyInt_FromLong(self->Blue()));
3596 return rv;
3597 }
1afc06c2 3598static PyObject *_wrap_wxColour_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3599 PyObject * _resultobj;
3600 PyObject * _result;
3601 wxColour * _arg0;
f6bcfd97
BP
3602 wxColour temp;
3603 PyObject * _obj0 = 0;
1afc06c2 3604 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3605
3606 self = self;
f6bcfd97 3607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Get",_kwnames,&_obj0))
8ab979d7 3608 return NULL;
f6bcfd97
BP
3609{
3610 _arg0 = &temp;
3611 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 3612 return NULL;
f6bcfd97 3613}
8ab979d7 3614{
4268f798 3615 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3616 _result = (PyObject *)wxColour_Get(_arg0);
cf694132 3617
4268f798 3618 wxPyEndAllowThreads(__tstate);
493f1553 3619 if (PyErr_Occurred()) return NULL;
cf694132 3620}{
8ab979d7
RD
3621 _resultobj = _result;
3622}
3623 return _resultobj;
3624}
3625
9416aa89
RD
3626static void *SwigwxColourDatabaseTowxObject(void *ptr) {
3627 wxColourDatabase *src;
3628 wxObject *dest;
3629 src = (wxColourDatabase *) ptr;
3630 dest = (wxObject *) src;
3631 return (void *) dest;
3632}
3633
0569df0f
RD
3634#define wxColourDatabase_FindColour(_swigobj,_swigarg0) (_swigobj->FindColour(_swigarg0))
3635static PyObject *_wrap_wxColourDatabase_FindColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3636 PyObject * _resultobj;
3637 wxColour * _result;
3638 wxColourDatabase * _arg0;
3639 wxString * _arg1;
3640 PyObject * _argo0 = 0;
3641 PyObject * _obj1 = 0;
3642 char *_kwnames[] = { "self","colour", NULL };
3643 char _ptemp[128];
3644
3645 self = self;
3646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxColourDatabase_FindColour",_kwnames,&_argo0,&_obj1))
3647 return NULL;
3648 if (_argo0) {
3649 if (_argo0 == Py_None) { _arg0 = NULL; }
3650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDatabase_p")) {
3651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDatabase_FindColour. Expected _wxColourDatabase_p.");
3652 return NULL;
8ab979d7 3653 }
0569df0f
RD
3654 }
3655{
c8bc7bb8
RD
3656 _arg1 = wxString_in_helper(_obj1);
3657 if (_arg1 == NULL)
0569df0f 3658 return NULL;
0569df0f
RD
3659}
3660{
4268f798 3661 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3662 _result = (wxColour *)wxColourDatabase_FindColour(_arg0,*_arg1);
8ab979d7 3663
4268f798 3664 wxPyEndAllowThreads(__tstate);
493f1553 3665 if (PyErr_Occurred()) return NULL;
0569df0f
RD
3666} if (_result) {
3667 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3668 _resultobj = Py_BuildValue("s",_ptemp);
3669 } else {
3670 Py_INCREF(Py_None);
3671 _resultobj = Py_None;
3672 }
3673{
3674 if (_obj1)
3675 delete _arg1;
3676}
3677 return _resultobj;
3678}
3679
3680#define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
3681static PyObject *_wrap_wxColourDatabase_FindName(PyObject *self, PyObject *args, PyObject *kwargs) {
3682 PyObject * _resultobj;
3683 wxString * _result;
3684 wxColourDatabase * _arg0;
3685 wxColour * _arg1;
3686 PyObject * _argo0 = 0;
3687 wxColour temp;
3688 PyObject * _obj1 = 0;
3689 char *_kwnames[] = { "self","colour", NULL };
3690
3691 self = self;
3692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxColourDatabase_FindName",_kwnames,&_argo0,&_obj1))
3693 return NULL;
3694 if (_argo0) {
3695 if (_argo0 == Py_None) { _arg0 = NULL; }
3696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDatabase_p")) {
3697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
3698 return NULL;
3699 }
3700 }
3701{
3702 _arg1 = &temp;
3703 if (! wxColour_helper(_obj1, &_arg1))
3704 return NULL;
3705}
3706{
4268f798 3707 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3708 _result = new wxString (wxColourDatabase_FindName(_arg0,*_arg1));
0569df0f 3709
4268f798 3710 wxPyEndAllowThreads(__tstate);
493f1553 3711 if (PyErr_Occurred()) return NULL;
0569df0f 3712}{
c8bc7bb8
RD
3713#if wxUSE_UNICODE
3714 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
3715#else
0569df0f 3716 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 3717#endif
0569df0f
RD
3718}
3719{
3720 delete _result;
3721}
3722 return _resultobj;
3723}
3724
3725static void wxColourDatabase_Append(wxColourDatabase *self,const wxString & name,int red,int green,int blue) {
fe40185d
RD
3726 // first see if the name is already there
3727 wxString cName = name;
3728 cName.MakeUpper();
3729 wxString cName2 = cName;
a541c325 3730 if ( !cName2.Replace(wxT("GRAY"), wxT("GREY")) )
fe40185d
RD
3731 cName2.clear();
3732
3733 wxNode *node = self->First();
3734 while ( node ) {
3735 const wxChar *key = node->GetKeyString();
3736 if ( cName == key || cName2 == key ) {
3737 wxColour* c = (wxColour *)node->Data();
3738 c->Set(red, green, blue);
3739 return;
3740 }
3741 node = node->Next();
3742 }
3743
3744 // otherwise append the new colour
0569df0f
RD
3745 self->Append(name.c_str(), new wxColour(red, green, blue));
3746 }
3747static PyObject *_wrap_wxColourDatabase_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
3748 PyObject * _resultobj;
3749 wxColourDatabase * _arg0;
3750 wxString * _arg1;
3751 int _arg2;
3752 int _arg3;
3753 int _arg4;
3754 PyObject * _argo0 = 0;
3755 PyObject * _obj1 = 0;
3756 char *_kwnames[] = { "self","name","red","green","blue", NULL };
3757
3758 self = self;
3759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiii:wxColourDatabase_Append",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_arg4))
3760 return NULL;
3761 if (_argo0) {
3762 if (_argo0 == Py_None) { _arg0 = NULL; }
3763 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDatabase_p")) {
3764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
3765 return NULL;
3766 }
3767 }
3768{
c8bc7bb8
RD
3769 _arg1 = wxString_in_helper(_obj1);
3770 if (_arg1 == NULL)
0569df0f 3771 return NULL;
0569df0f
RD
3772}
3773{
4268f798 3774 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3775 wxColourDatabase_Append(_arg0,*_arg1,_arg2,_arg3,_arg4);
0569df0f 3776
4268f798 3777 wxPyEndAllowThreads(__tstate);
493f1553 3778 if (PyErr_Occurred()) return NULL;
0569df0f
RD
3779} Py_INCREF(Py_None);
3780 _resultobj = Py_None;
3781{
3782 if (_obj1)
3783 delete _arg1;
3784}
3785 return _resultobj;
3786}
3787
9416aa89
RD
3788static void *SwigwxPenTowxGDIObject(void *ptr) {
3789 wxPen *src;
3790 wxGDIObject *dest;
3791 src = (wxPen *) ptr;
3792 dest = (wxGDIObject *) src;
3793 return (void *) dest;
3794}
3795
3796static void *SwigwxPenTowxObject(void *ptr) {
3797 wxPen *src;
3798 wxObject *dest;
3799 src = (wxPen *) ptr;
3800 dest = (wxObject *) src;
3801 return (void *) dest;
3802}
3803
0569df0f 3804#define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 3805static PyObject *_wrap_new_wxPen(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3806 PyObject * _resultobj;
3807 wxPen * _result;
3808 wxColour * _arg0;
1d99702e
RD
3809 int _arg1 = (int ) 1;
3810 int _arg2 = (int ) wxSOLID;
f6bcfd97
BP
3811 wxColour temp;
3812 PyObject * _obj0 = 0;
1afc06c2 3813 char *_kwnames[] = { "colour","width","style", NULL };
8ab979d7
RD
3814 char _ptemp[128];
3815
3816 self = self;
f6bcfd97 3817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:new_wxPen",_kwnames,&_obj0,&_arg1,&_arg2))
8ab979d7 3818 return NULL;
f6bcfd97
BP
3819{
3820 _arg0 = &temp;
3821 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 3822 return NULL;
f6bcfd97 3823}
cf694132 3824{
4268f798 3825 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3826 _result = (wxPen *)new_wxPen(*_arg0,_arg1,_arg2);
cf694132 3827
4268f798 3828 wxPyEndAllowThreads(__tstate);
493f1553 3829 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3830} if (_result) {
3831 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
3832 _resultobj = Py_BuildValue("s",_ptemp);
3833 } else {
3834 Py_INCREF(Py_None);
3835 _resultobj = Py_None;
3836 }
8ab979d7
RD
3837 return _resultobj;
3838}
3839
0569df0f
RD
3840#define delete_wxPen(_swigobj) (delete _swigobj)
3841static PyObject *_wrap_delete_wxPen(PyObject *self, PyObject *args, PyObject *kwargs) {
3842 PyObject * _resultobj;
3843 wxPen * _arg0;
3844 PyObject * _argo0 = 0;
3845 char *_kwnames[] = { "self", NULL };
3846
3847 self = self;
3848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPen",_kwnames,&_argo0))
3849 return NULL;
3850 if (_argo0) {
3851 if (_argo0 == Py_None) { _arg0 = NULL; }
3852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
3853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
3854 return NULL;
3855 }
3856 }
3857{
4268f798 3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3859 delete_wxPen(_arg0);
0569df0f 3860
4268f798 3861 wxPyEndAllowThreads(__tstate);
493f1553 3862 if (PyErr_Occurred()) return NULL;
0569df0f
RD
3863} Py_INCREF(Py_None);
3864 _resultobj = Py_None;
3865 return _resultobj;
3866}
3867
8ab979d7 3868#define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
1afc06c2 3869static PyObject *_wrap_wxPen_GetCap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3870 PyObject * _resultobj;
3871 int _result;
3872 wxPen * _arg0;
1d99702e 3873 PyObject * _argo0 = 0;
1afc06c2 3874 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3875
3876 self = self;
1afc06c2 3877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetCap",_kwnames,&_argo0))
8ab979d7 3878 return NULL;
1d99702e
RD
3879 if (_argo0) {
3880 if (_argo0 == Py_None) { _arg0 = NULL; }
3881 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
3882 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
3883 return NULL;
3884 }
3885 }
cf694132 3886{
4268f798 3887 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3888 _result = (int )wxPen_GetCap(_arg0);
cf694132 3889
4268f798 3890 wxPyEndAllowThreads(__tstate);
493f1553 3891 if (PyErr_Occurred()) return NULL;
cf694132 3892} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3893 return _resultobj;
3894}
3895
3896#define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
1afc06c2 3897static PyObject *_wrap_wxPen_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3898 PyObject * _resultobj;
3899 wxColour * _result;
3900 wxPen * _arg0;
1d99702e 3901 PyObject * _argo0 = 0;
1afc06c2 3902 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3903 char _ptemp[128];
3904
3905 self = self;
1afc06c2 3906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetColour",_kwnames,&_argo0))
8ab979d7 3907 return NULL;
1d99702e
RD
3908 if (_argo0) {
3909 if (_argo0 == Py_None) { _arg0 = NULL; }
3910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
3911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
3912 return NULL;
3913 }
3914 }
cf694132 3915{
4268f798 3916 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3917 _result = new wxColour (wxPen_GetColour(_arg0));
cf694132 3918
4268f798 3919 wxPyEndAllowThreads(__tstate);
493f1553 3920 if (PyErr_Occurred()) return NULL;
25832b3f
RD
3921} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
3922 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
3923 return _resultobj;
3924}
3925
8ab979d7 3926#define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
1afc06c2 3927static PyObject *_wrap_wxPen_GetJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3928 PyObject * _resultobj;
3929 int _result;
3930 wxPen * _arg0;
1d99702e 3931 PyObject * _argo0 = 0;
1afc06c2 3932 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3933
3934 self = self;
1afc06c2 3935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetJoin",_kwnames,&_argo0))
8ab979d7 3936 return NULL;
1d99702e
RD
3937 if (_argo0) {
3938 if (_argo0 == Py_None) { _arg0 = NULL; }
3939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
3940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
3941 return NULL;
3942 }
3943 }
cf694132 3944{
4268f798 3945 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3946 _result = (int )wxPen_GetJoin(_arg0);
cf694132 3947
4268f798 3948 wxPyEndAllowThreads(__tstate);
493f1553 3949 if (PyErr_Occurred()) return NULL;
cf694132 3950} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3951 return _resultobj;
3952}
3953
3954#define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
1afc06c2 3955static PyObject *_wrap_wxPen_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3956 PyObject * _resultobj;
3957 int _result;
3958 wxPen * _arg0;
1d99702e 3959 PyObject * _argo0 = 0;
1afc06c2 3960 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3961
3962 self = self;
1afc06c2 3963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetStyle",_kwnames,&_argo0))
8ab979d7 3964 return NULL;
1d99702e
RD
3965 if (_argo0) {
3966 if (_argo0 == Py_None) { _arg0 = NULL; }
3967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
3968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
3969 return NULL;
3970 }
3971 }
cf694132 3972{
4268f798 3973 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3974 _result = (int )wxPen_GetStyle(_arg0);
cf694132 3975
4268f798 3976 wxPyEndAllowThreads(__tstate);
493f1553 3977 if (PyErr_Occurred()) return NULL;
cf694132 3978} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3979 return _resultobj;
3980}
3981
3982#define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
1afc06c2 3983static PyObject *_wrap_wxPen_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3984 PyObject * _resultobj;
3985 int _result;
3986 wxPen * _arg0;
1d99702e 3987 PyObject * _argo0 = 0;
1afc06c2 3988 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3989
3990 self = self;
1afc06c2 3991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetWidth",_kwnames,&_argo0))
8ab979d7 3992 return NULL;
1d99702e
RD
3993 if (_argo0) {
3994 if (_argo0 == Py_None) { _arg0 = NULL; }
3995 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
3996 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
3997 return NULL;
3998 }
3999 }
cf694132 4000{
4268f798 4001 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4002 _result = (int )wxPen_GetWidth(_arg0);
cf694132 4003
4268f798 4004 wxPyEndAllowThreads(__tstate);
493f1553 4005 if (PyErr_Occurred()) return NULL;
cf694132 4006} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4007 return _resultobj;
4008}
4009
4010#define wxPen_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 4011static PyObject *_wrap_wxPen_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4012 PyObject * _resultobj;
4013 bool _result;
4014 wxPen * _arg0;
1d99702e 4015 PyObject * _argo0 = 0;
1afc06c2 4016 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4017
4018 self = self;
1afc06c2 4019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_Ok",_kwnames,&_argo0))
8ab979d7 4020 return NULL;
1d99702e
RD
4021 if (_argo0) {
4022 if (_argo0 == Py_None) { _arg0 = NULL; }
4023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
4024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
4025 return NULL;
4026 }
4027 }
cf694132 4028{
4268f798 4029 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4030 _result = (bool )wxPen_Ok(_arg0);
cf694132 4031
4268f798 4032 wxPyEndAllowThreads(__tstate);
493f1553 4033 if (PyErr_Occurred()) return NULL;
cf694132 4034} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4035 return _resultobj;
4036}
4037
4038#define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
1afc06c2 4039static PyObject *_wrap_wxPen_SetCap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4040 PyObject * _resultobj;
4041 wxPen * _arg0;
4042 int _arg1;
1d99702e 4043 PyObject * _argo0 = 0;
1afc06c2 4044 char *_kwnames[] = { "self","cap_style", NULL };
8ab979d7
RD
4045
4046 self = self;
1afc06c2 4047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPen_SetCap",_kwnames,&_argo0,&_arg1))
8ab979d7 4048 return NULL;
1d99702e
RD
4049 if (_argo0) {
4050 if (_argo0 == Py_None) { _arg0 = NULL; }
4051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
4052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
4053 return NULL;
4054 }
4055 }
cf694132 4056{
4268f798 4057 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4058 wxPen_SetCap(_arg0,_arg1);
cf694132 4059
4268f798 4060 wxPyEndAllowThreads(__tstate);
493f1553 4061 if (PyErr_Occurred()) return NULL;
cf694132 4062} Py_INCREF(Py_None);
8ab979d7
RD
4063 _resultobj = Py_None;
4064 return _resultobj;
4065}
4066
4067#define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
1afc06c2 4068static PyObject *_wrap_wxPen_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4069 PyObject * _resultobj;
4070 wxPen * _arg0;
4071 wxColour * _arg1;
1d99702e 4072 PyObject * _argo0 = 0;
f6bcfd97
BP
4073 wxColour temp;
4074 PyObject * _obj1 = 0;
1afc06c2 4075 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
4076
4077 self = self;
f6bcfd97 4078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPen_SetColour",_kwnames,&_argo0,&_obj1))
8ab979d7 4079 return NULL;
1d99702e
RD
4080 if (_argo0) {
4081 if (_argo0 == Py_None) { _arg0 = NULL; }
4082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
4083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
4084 return NULL;
4085 }
4086 }
f6bcfd97
BP
4087{
4088 _arg1 = &temp;
4089 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 4090 return NULL;
f6bcfd97 4091}
cf694132 4092{
4268f798 4093 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4094 wxPen_SetColour(_arg0,*_arg1);
cf694132 4095
4268f798 4096 wxPyEndAllowThreads(__tstate);
493f1553 4097 if (PyErr_Occurred()) return NULL;
cf694132 4098} Py_INCREF(Py_None);
8ab979d7
RD
4099 _resultobj = Py_None;
4100 return _resultobj;
4101}
4102
2ea09579 4103#define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
1afc06c2 4104static PyObject *_wrap_wxPen_SetJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4105 PyObject * _resultobj;
4106 wxPen * _arg0;
4107 int _arg1;
1d99702e 4108 PyObject * _argo0 = 0;
1afc06c2 4109 char *_kwnames[] = { "self","join_style", NULL };
8ab979d7
RD
4110
4111 self = self;
1afc06c2 4112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPen_SetJoin",_kwnames,&_argo0,&_arg1))
8ab979d7 4113 return NULL;
1d99702e
RD
4114 if (_argo0) {
4115 if (_argo0 == Py_None) { _arg0 = NULL; }
4116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579 4117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
8ab979d7
RD
4118 return NULL;
4119 }
4120 }
cf694132 4121{
4268f798 4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4123 wxPen_SetJoin(_arg0,_arg1);
cf694132 4124
4268f798 4125 wxPyEndAllowThreads(__tstate);
493f1553 4126 if (PyErr_Occurred()) return NULL;
cf694132 4127} Py_INCREF(Py_None);
2ea09579
RD
4128 _resultobj = Py_None;
4129 return _resultobj;
4130}
4131
4132#define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1afc06c2 4133static PyObject *_wrap_wxPen_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2ea09579
RD
4134 PyObject * _resultobj;
4135 wxPen * _arg0;
4136 int _arg1;
1d99702e 4137 PyObject * _argo0 = 0;
1afc06c2 4138 char *_kwnames[] = { "self","style", NULL };
2ea09579
RD
4139
4140 self = self;
1afc06c2 4141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPen_SetStyle",_kwnames,&_argo0,&_arg1))
8ab979d7 4142 return NULL;
1d99702e
RD
4143 if (_argo0) {
4144 if (_argo0 == Py_None) { _arg0 = NULL; }
4145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579
RD
4146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
4147 return NULL;
4148 }
8ab979d7 4149 }
cf694132 4150{
4268f798 4151 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4152 wxPen_SetStyle(_arg0,_arg1);
cf694132 4153
4268f798 4154 wxPyEndAllowThreads(__tstate);
493f1553 4155 if (PyErr_Occurred()) return NULL;
cf694132 4156} Py_INCREF(Py_None);
8ab979d7 4157 _resultobj = Py_None;
2ea09579 4158 return _resultobj;
8ab979d7 4159}
2ea09579
RD
4160
4161#define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1afc06c2 4162static PyObject *_wrap_wxPen_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2ea09579
RD
4163 PyObject * _resultobj;
4164 wxPen * _arg0;
4165 int _arg1;
1d99702e 4166 PyObject * _argo0 = 0;
1afc06c2 4167 char *_kwnames[] = { "self","width", NULL };
2ea09579
RD
4168
4169 self = self;
1afc06c2 4170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPen_SetWidth",_kwnames,&_argo0,&_arg1))
2ea09579 4171 return NULL;
1d99702e
RD
4172 if (_argo0) {
4173 if (_argo0 == Py_None) { _arg0 = NULL; }
4174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579
RD
4175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
4176 return NULL;
4177 }
4178 }
cf694132 4179{
4268f798 4180 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4181 wxPen_SetWidth(_arg0,_arg1);
cf694132 4182
4268f798 4183 wxPyEndAllowThreads(__tstate);
493f1553 4184 if (PyErr_Occurred()) return NULL;
cf694132 4185} Py_INCREF(Py_None);
2ea09579 4186 _resultobj = Py_None;
8ab979d7
RD
4187 return _resultobj;
4188}
4189
2ea09579 4190#define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
1afc06c2 4191static PyObject *_wrap_wxPen_SetDashes(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4192 PyObject * _resultobj;
4193 wxPen * _arg0;
4194 int _arg1;
2ea09579 4195 wxDash * _arg2;
1d99702e 4196 PyObject * _argo0 = 0;
2ea09579 4197 PyObject * _obj2 = 0;
eec92d76 4198 char *_kwnames[] = { "self","choices", NULL };
8ab979d7
RD
4199
4200 self = self;
1afc06c2 4201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPen_SetDashes",_kwnames,&_argo0,&_obj2))
8ab979d7 4202 return NULL;
1d99702e
RD
4203 if (_argo0) {
4204 if (_argo0 == Py_None) { _arg0 = NULL; }
4205 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579 4206 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
8ab979d7
RD
4207 return NULL;
4208 }
4209 }
2ea09579
RD
4210 if (_obj2)
4211{
f6bcfd97 4212 _arg2 = (wxDash*)byte_LIST_helper(_obj2);
2ea09579
RD
4213 if (_arg2 == NULL) {
4214 return NULL;
4215 }
4216}
4217{
cf694132
RD
4218 if (_obj2) {
4219 _arg1 = PyList_Size(_obj2);
4220 }
4221 else {
4222 _arg1 = 0;
4223 }
2ea09579 4224}
cf694132 4225{
4268f798 4226 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4227 wxPen_SetDashes(_arg0,_arg1,_arg2);
cf694132 4228
4268f798 4229 wxPyEndAllowThreads(__tstate);
493f1553 4230 if (PyErr_Occurred()) return NULL;
cf694132 4231} Py_INCREF(Py_None);
8ab979d7 4232 _resultobj = Py_None;
2ea09579
RD
4233{
4234 delete [] _arg2;
4235}
8ab979d7
RD
4236 return _resultobj;
4237}
4238
756ed80c
RD
4239static PyObject * wxPen_GetDashes(wxPen *self) {
4240 wxDash* dashes;
4241 int count = self->GetDashes(&dashes);
4242 wxPyBeginBlockThreads();
4243 PyObject* retval = PyList_New(0);
4244 for (int x=0; x<count; x++)
4245 PyList_Append(retval, PyInt_FromLong(dashes[x]));
4246 wxPyEndBlockThreads();
4247 return retval;
4248 }
4249static PyObject *_wrap_wxPen_GetDashes(PyObject *self, PyObject *args, PyObject *kwargs) {
4250 PyObject * _resultobj;
4251 PyObject * _result;
4252 wxPen * _arg0;
4253 PyObject * _argo0 = 0;
4254 char *_kwnames[] = { "self", NULL };
4255
4256 self = self;
4257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetDashes",_kwnames,&_argo0))
4258 return NULL;
4259 if (_argo0) {
4260 if (_argo0 == Py_None) { _arg0 = NULL; }
4261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
4262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
4263 return NULL;
4264 }
4265 }
4266{
4267 PyThreadState* __tstate = wxPyBeginAllowThreads();
4268 _result = (PyObject *)wxPen_GetDashes(_arg0);
4269
4270 wxPyEndAllowThreads(__tstate);
4271 if (PyErr_Occurred()) return NULL;
4272}{
4273 _resultobj = _result;
4274}
4275 return _resultobj;
4276}
4277
6999b0d8
RD
4278#define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
4279static PyObject *_wrap_wxPen_GetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
4280 PyObject * _resultobj;
4281 wxBitmap * _result;
4282 wxPen * _arg0;
4283 PyObject * _argo0 = 0;
4284 char *_kwnames[] = { "self", NULL };
4285 char _ptemp[128];
4286
4287 self = self;
4288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetStipple",_kwnames,&_argo0))
4289 return NULL;
4290 if (_argo0) {
4291 if (_argo0 == Py_None) { _arg0 = NULL; }
4292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
4293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetStipple. Expected _wxPen_p.");
4294 return NULL;
4295 }
4296 }
4297{
4268f798 4298 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4299 _result = (wxBitmap *)wxPen_GetStipple(_arg0);
6999b0d8 4300
4268f798 4301 wxPyEndAllowThreads(__tstate);
493f1553 4302 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
4303} if (_result) {
4304 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
4305 _resultobj = Py_BuildValue("s",_ptemp);
4306 } else {
4307 Py_INCREF(Py_None);
4308 _resultobj = Py_None;
4309 }
4310 return _resultobj;
4311}
4312
2ea09579 4313#define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
1afc06c2 4314static PyObject *_wrap_wxPen_SetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4315 PyObject * _resultobj;
4316 wxPen * _arg0;
2ea09579 4317 wxBitmap * _arg1;
1d99702e
RD
4318 PyObject * _argo0 = 0;
4319 PyObject * _argo1 = 0;
1afc06c2 4320 char *_kwnames[] = { "self","stipple", NULL };
8ab979d7
RD
4321
4322 self = self;
1afc06c2 4323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPen_SetStipple",_kwnames,&_argo0,&_argo1))
8ab979d7 4324 return NULL;
1d99702e
RD
4325 if (_argo0) {
4326 if (_argo0 == Py_None) { _arg0 = NULL; }
4327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579 4328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
8ab979d7
RD
4329 return NULL;
4330 }
4331 }
1d99702e
RD
4332 if (_argo1) {
4333 if (_argo1 == Py_None) { _arg1 = NULL; }
4334 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
2ea09579
RD
4335 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
4336 return NULL;
4337 }
4338 }
cf694132 4339{
4268f798 4340 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4341 wxPen_SetStipple(_arg0,*_arg1);
cf694132 4342
4268f798 4343 wxPyEndAllowThreads(__tstate);
493f1553 4344 if (PyErr_Occurred()) return NULL;
cf694132 4345} Py_INCREF(Py_None);
8ab979d7
RD
4346 _resultobj = Py_None;
4347 return _resultobj;
4348}
4349
ecc08ead
RD
4350static void *SwigwxPyPenTowxPen(void *ptr) {
4351 wxPyPen *src;
4352 wxPen *dest;
4353 src = (wxPyPen *) ptr;
4354 dest = (wxPen *) src;
4355 return (void *) dest;
4356}
4357
4358static void *SwigwxPyPenTowxGDIObject(void *ptr) {
4359 wxPyPen *src;
4360 wxGDIObject *dest;
4361 src = (wxPyPen *) ptr;
4362 dest = (wxGDIObject *) src;
4363 return (void *) dest;
4364}
4365
4366static void *SwigwxPyPenTowxObject(void *ptr) {
4367 wxPyPen *src;
4368 wxObject *dest;
4369 src = (wxPyPen *) ptr;
4370 dest = (wxObject *) src;
4371 return (void *) dest;
4372}
4373
4374#define new_wxPyPen(_swigarg0,_swigarg1,_swigarg2) (new wxPyPen(_swigarg0,_swigarg1,_swigarg2))
4375static PyObject *_wrap_new_wxPyPen(PyObject *self, PyObject *args, PyObject *kwargs) {
4376 PyObject * _resultobj;
4377 wxPyPen * _result;
4378 wxColour * _arg0;
4379 int _arg1 = (int ) 1;
4380 int _arg2 = (int ) wxSOLID;
4381 wxColour temp;
4382 PyObject * _obj0 = 0;
4383 char *_kwnames[] = { "colour","width","style", NULL };
4384 char _ptemp[128];
4385
4386 self = self;
4387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:new_wxPyPen",_kwnames,&_obj0,&_arg1,&_arg2))
4388 return NULL;
4389{
4390 _arg0 = &temp;
4391 if (! wxColour_helper(_obj0, &_arg0))
4392 return NULL;
4393}
4394{
4268f798 4395 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4396 _result = (wxPyPen *)new_wxPyPen(*_arg0,_arg1,_arg2);
ecc08ead 4397
4268f798 4398 wxPyEndAllowThreads(__tstate);
ecc08ead
RD
4399 if (PyErr_Occurred()) return NULL;
4400} if (_result) {
4401 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPen_p");
4402 _resultobj = Py_BuildValue("s",_ptemp);
4403 } else {
4404 Py_INCREF(Py_None);
4405 _resultobj = Py_None;
4406 }
4407 return _resultobj;
4408}
4409
4410#define delete_wxPyPen(_swigobj) (delete _swigobj)
4411static PyObject *_wrap_delete_wxPyPen(PyObject *self, PyObject *args, PyObject *kwargs) {
4412 PyObject * _resultobj;
4413 wxPyPen * _arg0;
4414 PyObject * _argo0 = 0;
4415 char *_kwnames[] = { "self", NULL };
4416
4417 self = self;
4418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyPen",_kwnames,&_argo0))
4419 return NULL;
4420 if (_argo0) {
4421 if (_argo0 == Py_None) { _arg0 = NULL; }
4422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPen_p")) {
4423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyPen. Expected _wxPyPen_p.");
4424 return NULL;
4425 }
4426 }
4427{
4268f798 4428 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4429 delete_wxPyPen(_arg0);
ecc08ead 4430
4268f798 4431 wxPyEndAllowThreads(__tstate);
ecc08ead
RD
4432 if (PyErr_Occurred()) return NULL;
4433} Py_INCREF(Py_None);
4434 _resultobj = Py_None;
4435 return _resultobj;
4436}
4437
4438#define wxPyPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
4439static PyObject *_wrap_wxPyPen_SetDashes(PyObject *self, PyObject *args, PyObject *kwargs) {
4440 PyObject * _resultobj;
4441 wxPyPen * _arg0;
4442 int _arg1;
4443 wxDash * _arg2;
4444 PyObject * _argo0 = 0;
4445 PyObject * _obj2 = 0;
4446 char *_kwnames[] = { "self","choices", NULL };
4447
4448 self = self;
4449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPen_SetDashes",_kwnames,&_argo0,&_obj2))
4450 return NULL;
4451 if (_argo0) {
4452 if (_argo0 == Py_None) { _arg0 = NULL; }
4453 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPen_p")) {
4454 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPen_SetDashes. Expected _wxPyPen_p.");
4455 return NULL;
4456 }
4457 }
4458 if (_obj2)
4459{
4460 _arg2 = (wxDash*)byte_LIST_helper(_obj2);
4461 if (_arg2 == NULL) {
4462 return NULL;
4463 }
4464}
4465{
4466 if (_obj2) {
4467 _arg1 = PyList_Size(_obj2);
4468 }
4469 else {
4470 _arg1 = 0;
4471 }
4472}
4473{
4268f798 4474 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4475 wxPyPen_SetDashes(_arg0,_arg1,_arg2);
ecc08ead 4476
4268f798 4477 wxPyEndAllowThreads(__tstate);
ecc08ead
RD
4478 if (PyErr_Occurred()) return NULL;
4479} Py_INCREF(Py_None);
4480 _resultobj = Py_None;
4481{
4482 delete [] _arg2;
4483}
4484 return _resultobj;
4485}
4486
9416aa89
RD
4487static void *SwigwxPenListTowxObject(void *ptr) {
4488 wxPenList *src;
4489 wxObject *dest;
4490 src = (wxPenList *) ptr;
4491 dest = (wxObject *) src;
4492 return (void *) dest;
4493}
4494
0569df0f
RD
4495#define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
4496static PyObject *_wrap_wxPenList_AddPen(PyObject *self, PyObject *args, PyObject *kwargs) {
4497 PyObject * _resultobj;
4498 wxPenList * _arg0;
4499 wxPen * _arg1;
4500 PyObject * _argo0 = 0;
4501 PyObject * _argo1 = 0;
4502 char *_kwnames[] = { "self","pen", NULL };
4503
4504 self = self;
4505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPenList_AddPen",_kwnames,&_argo0,&_argo1))
4506 return NULL;
4507 if (_argo0) {
4508 if (_argo0 == Py_None) { _arg0 = NULL; }
4509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPenList_p")) {
4510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
4511 return NULL;
4512 }
4513 }
4514 if (_argo1) {
4515 if (_argo1 == Py_None) { _arg1 = NULL; }
4516 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) {
4517 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
4518 return NULL;
4519 }
4520 }
4521{
4268f798 4522 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4523 wxPenList_AddPen(_arg0,_arg1);
0569df0f 4524
4268f798 4525 wxPyEndAllowThreads(__tstate);
493f1553 4526 if (PyErr_Occurred()) return NULL;
0569df0f
RD
4527} Py_INCREF(Py_None);
4528 _resultobj = Py_None;
4529 return _resultobj;
4530}
4531
4532#define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
4533static PyObject *_wrap_wxPenList_FindOrCreatePen(PyObject *self, PyObject *args, PyObject *kwargs) {
4534 PyObject * _resultobj;
4535 wxPen * _result;
4536 wxPenList * _arg0;
4537 wxColour * _arg1;
4538 int _arg2;
4539 int _arg3;
4540 PyObject * _argo0 = 0;
4541 wxColour temp;
4542 PyObject * _obj1 = 0;
4543 char *_kwnames[] = { "self","colour","width","style", NULL };
4544 char _ptemp[128];
4545
4546 self = self;
4547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPenList_FindOrCreatePen",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
4548 return NULL;
4549 if (_argo0) {
4550 if (_argo0 == Py_None) { _arg0 = NULL; }
4551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPenList_p")) {
4552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
4553 return NULL;
4554 }
4555 }
4556{
4557 _arg1 = &temp;
4558 if (! wxColour_helper(_obj1, &_arg1))
4559 return NULL;
4560}
4561{
4268f798 4562 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4563 _result = (wxPen *)wxPenList_FindOrCreatePen(_arg0,*_arg1,_arg2,_arg3);
0569df0f 4564
4268f798 4565 wxPyEndAllowThreads(__tstate);
493f1553 4566 if (PyErr_Occurred()) return NULL;
0569df0f
RD
4567} if (_result) {
4568 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
4569 _resultobj = Py_BuildValue("s",_ptemp);
4570 } else {
4571 Py_INCREF(Py_None);
4572 _resultobj = Py_None;
4573 }
4574 return _resultobj;
4575}
4576
4577#define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
4578static PyObject *_wrap_wxPenList_RemovePen(PyObject *self, PyObject *args, PyObject *kwargs) {
4579 PyObject * _resultobj;
4580 wxPenList * _arg0;
4581 wxPen * _arg1;
4582 PyObject * _argo0 = 0;
4583 PyObject * _argo1 = 0;
4584 char *_kwnames[] = { "self","pen", NULL };
4585
4586 self = self;
4587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPenList_RemovePen",_kwnames,&_argo0,&_argo1))
4588 return NULL;
4589 if (_argo0) {
4590 if (_argo0 == Py_None) { _arg0 = NULL; }
4591 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPenList_p")) {
4592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
4593 return NULL;
4594 }
4595 }
4596 if (_argo1) {
4597 if (_argo1 == Py_None) { _arg1 = NULL; }
4598 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) {
4599 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
4600 return NULL;
8ab979d7 4601 }
0569df0f
RD
4602 }
4603{
4268f798 4604 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4605 wxPenList_RemovePen(_arg0,_arg1);
8ab979d7 4606
4268f798 4607 wxPyEndAllowThreads(__tstate);
493f1553 4608 if (PyErr_Occurred()) return NULL;
0569df0f
RD
4609} Py_INCREF(Py_None);
4610 _resultobj = Py_None;
4611 return _resultobj;
4612}
4613
2f4e9287
RD
4614#define wxPenList_GetCount(_swigobj) (_swigobj->GetCount())
4615static PyObject *_wrap_wxPenList_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4616 PyObject * _resultobj;
4617 int _result;
4618 wxPenList * _arg0;
4619 PyObject * _argo0 = 0;
4620 char *_kwnames[] = { "self", NULL };
4621
4622 self = self;
4623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPenList_GetCount",_kwnames,&_argo0))
4624 return NULL;
4625 if (_argo0) {
4626 if (_argo0 == Py_None) { _arg0 = NULL; }
4627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPenList_p")) {
4628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPenList_GetCount. Expected _wxPenList_p.");
4629 return NULL;
4630 }
4631 }
4632{
4268f798 4633 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4634 _result = (int )wxPenList_GetCount(_arg0);
2f4e9287 4635
4268f798 4636 wxPyEndAllowThreads(__tstate);
2f4e9287
RD
4637 if (PyErr_Occurred()) return NULL;
4638} _resultobj = Py_BuildValue("i",_result);
4639 return _resultobj;
4640}
4641
9416aa89
RD
4642static void *SwigwxBrushTowxGDIObject(void *ptr) {
4643 wxBrush *src;
4644 wxGDIObject *dest;
4645 src = (wxBrush *) ptr;
4646 dest = (wxGDIObject *) src;
4647 return (void *) dest;
4648}
4649
4650static void *SwigwxBrushTowxObject(void *ptr) {
4651 wxBrush *src;
4652 wxObject *dest;
4653 src = (wxBrush *) ptr;
4654 dest = (wxObject *) src;
4655 return (void *) dest;
4656}
4657
0569df0f 4658#define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
1afc06c2 4659static PyObject *_wrap_new_wxBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4660 PyObject * _resultobj;
4661 wxBrush * _result;
4662 wxColour * _arg0;
1d99702e 4663 int _arg1 = (int ) wxSOLID;
f6bcfd97
BP
4664 wxColour temp;
4665 PyObject * _obj0 = 0;
1afc06c2 4666 char *_kwnames[] = { "colour","style", NULL };
8ab979d7
RD
4667 char _ptemp[128];
4668
4669 self = self;
f6bcfd97 4670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxBrush",_kwnames,&_obj0,&_arg1))
8ab979d7 4671 return NULL;
f6bcfd97
BP
4672{
4673 _arg0 = &temp;
4674 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 4675 return NULL;
f6bcfd97 4676}
cf694132 4677{
4268f798 4678 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4679 _result = (wxBrush *)new_wxBrush(*_arg0,_arg1);
cf694132 4680
4268f798 4681 wxPyEndAllowThreads(__tstate);
493f1553 4682 if (PyErr_Occurred()) return NULL;
1d99702e
RD
4683} if (_result) {
4684 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
4685 _resultobj = Py_BuildValue("s",_ptemp);
4686 } else {
4687 Py_INCREF(Py_None);
4688 _resultobj = Py_None;
4689 }
8ab979d7
RD
4690 return _resultobj;
4691}
4692
0569df0f
RD
4693#define delete_wxBrush(_swigobj) (delete _swigobj)
4694static PyObject *_wrap_delete_wxBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
4695 PyObject * _resultobj;
4696 wxBrush * _arg0;
4697 PyObject * _argo0 = 0;
4698 char *_kwnames[] = { "self", NULL };
4699
4700 self = self;
4701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxBrush",_kwnames,&_argo0))
4702 return NULL;
4703 if (_argo0) {
4704 if (_argo0 == Py_None) { _arg0 = NULL; }
4705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
4706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
4707 return NULL;
4708 }
4709 }
4710{
4268f798 4711 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4712 delete_wxBrush(_arg0);
0569df0f 4713
4268f798 4714 wxPyEndAllowThreads(__tstate);
493f1553 4715 if (PyErr_Occurred()) return NULL;
0569df0f
RD
4716} Py_INCREF(Py_None);
4717 _resultobj = Py_None;
4718 return _resultobj;
4719}
4720
8ab979d7 4721#define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
1afc06c2 4722static PyObject *_wrap_wxBrush_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4723 PyObject * _resultobj;
4724 wxColour * _result;
4725 wxBrush * _arg0;
1d99702e 4726 PyObject * _argo0 = 0;
1afc06c2 4727 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4728 char _ptemp[128];
4729
4730 self = self;
1afc06c2 4731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrush_GetColour",_kwnames,&_argo0))
8ab979d7 4732 return NULL;
1d99702e
RD
4733 if (_argo0) {
4734 if (_argo0 == Py_None) { _arg0 = NULL; }
4735 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
4736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
4737 return NULL;
4738 }
4739 }
cf694132 4740{
4268f798 4741 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4742 _result = new wxColour (wxBrush_GetColour(_arg0));
cf694132 4743
4268f798 4744 wxPyEndAllowThreads(__tstate);
493f1553 4745 if (PyErr_Occurred()) return NULL;
25832b3f
RD
4746} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
4747 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
4748 return _resultobj;
4749}
4750
4751#define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
1afc06c2 4752static PyObject *_wrap_wxBrush_GetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4753 PyObject * _resultobj;
4754 wxBitmap * _result;
4755 wxBrush * _arg0;
1d99702e 4756 PyObject * _argo0 = 0;
1afc06c2 4757 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4758 char _ptemp[128];
4759
4760 self = self;
1afc06c2 4761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrush_GetStipple",_kwnames,&_argo0))
8ab979d7 4762 return NULL;
1d99702e
RD
4763 if (_argo0) {
4764 if (_argo0 == Py_None) { _arg0 = NULL; }
4765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
4766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
4767 return NULL;
4768 }
4769 }
cf694132 4770{
4268f798 4771 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4772 _result = (wxBitmap *)wxBrush_GetStipple(_arg0);
cf694132 4773
4268f798 4774 wxPyEndAllowThreads(__tstate);
493f1553 4775 if (PyErr_Occurred()) return NULL;
1d99702e
RD
4776} if (_result) {
4777 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
4778 _resultobj = Py_BuildValue("s",_ptemp);
4779 } else {
4780 Py_INCREF(Py_None);
4781 _resultobj = Py_None;
4782 }
8ab979d7
RD
4783 return _resultobj;
4784}
4785
4786#define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
1afc06c2 4787static PyObject *_wrap_wxBrush_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4788 PyObject * _resultobj;
4789 int _result;
4790 wxBrush * _arg0;
1d99702e 4791 PyObject * _argo0 = 0;
1afc06c2 4792 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4793
4794 self = self;
1afc06c2 4795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrush_GetStyle",_kwnames,&_argo0))
8ab979d7 4796 return NULL;
1d99702e
RD
4797 if (_argo0) {
4798 if (_argo0 == Py_None) { _arg0 = NULL; }
4799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
4800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
4801 return NULL;
4802 }
4803 }
cf694132 4804{
4268f798 4805 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4806 _result = (int )wxBrush_GetStyle(_arg0);
cf694132 4807
4268f798 4808 wxPyEndAllowThreads(__tstate);
493f1553 4809 if (PyErr_Occurred()) return NULL;
cf694132 4810} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4811 return _resultobj;
4812}
4813
4814#define wxBrush_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 4815static PyObject *_wrap_wxBrush_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4816 PyObject * _resultobj;
4817 bool _result;
4818 wxBrush * _arg0;
1d99702e 4819 PyObject * _argo0 = 0;
1afc06c2 4820 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4821
4822 self = self;
1afc06c2 4823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrush_Ok",_kwnames,&_argo0))
8ab979d7 4824 return NULL;
1d99702e
RD
4825 if (_argo0) {
4826 if (_argo0 == Py_None) { _arg0 = NULL; }
4827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
4828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
4829 return NULL;
4830 }
4831 }
cf694132 4832{
4268f798 4833 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4834 _result = (bool )wxBrush_Ok(_arg0);
cf694132 4835
4268f798 4836 wxPyEndAllowThreads(__tstate);
493f1553 4837 if (PyErr_Occurred()) return NULL;
cf694132 4838} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4839 return _resultobj;
4840}
4841
4842#define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
1afc06c2 4843static PyObject *_wrap_wxBrush_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4844 PyObject * _resultobj;
4845 wxBrush * _arg0;
4846 wxColour * _arg1;
1d99702e 4847 PyObject * _argo0 = 0;
f6bcfd97
BP
4848 wxColour temp;
4849 PyObject * _obj1 = 0;
1afc06c2 4850 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
4851
4852 self = self;
f6bcfd97 4853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBrush_SetColour",_kwnames,&_argo0,&_obj1))
8ab979d7 4854 return NULL;
1d99702e
RD
4855 if (_argo0) {
4856 if (_argo0 == Py_None) { _arg0 = NULL; }
4857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
4858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
4859 return NULL;
4860 }
4861 }
f6bcfd97
BP
4862{
4863 _arg1 = &temp;
4864 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 4865 return NULL;
f6bcfd97 4866}
cf694132 4867{
4268f798 4868 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4869 wxBrush_SetColour(_arg0,*_arg1);
cf694132 4870
4268f798 4871 wxPyEndAllowThreads(__tstate);
493f1553 4872 if (PyErr_Occurred()) return NULL;
cf694132 4873} Py_INCREF(Py_None);
8ab979d7
RD
4874 _resultobj = Py_None;
4875 return _resultobj;
4876}
4877
4878#define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
1afc06c2 4879static PyObject *_wrap_wxBrush_SetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4880 PyObject * _resultobj;
4881 wxBrush * _arg0;
4882 wxBitmap * _arg1;
1d99702e
RD
4883 PyObject * _argo0 = 0;
4884 PyObject * _argo1 = 0;
1afc06c2 4885 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
4886
4887 self = self;
1afc06c2 4888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBrush_SetStipple",_kwnames,&_argo0,&_argo1))
8ab979d7 4889 return NULL;
1d99702e
RD
4890 if (_argo0) {
4891 if (_argo0 == Py_None) { _arg0 = NULL; }
4892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
4893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
4894 return NULL;
4895 }
4896 }
1d99702e
RD
4897 if (_argo1) {
4898 if (_argo1 == Py_None) { _arg1 = NULL; }
4899 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
4900 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
4901 return NULL;
4902 }
4903 }
cf694132 4904{
4268f798 4905 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4906 wxBrush_SetStipple(_arg0,*_arg1);
cf694132 4907
4268f798 4908 wxPyEndAllowThreads(__tstate);
493f1553 4909 if (PyErr_Occurred()) return NULL;
cf694132 4910} Py_INCREF(Py_None);
8ab979d7
RD
4911 _resultobj = Py_None;
4912 return _resultobj;
4913}
4914
4915#define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1afc06c2 4916static PyObject *_wrap_wxBrush_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4917 PyObject * _resultobj;
4918 wxBrush * _arg0;
4919 int _arg1;
1d99702e 4920 PyObject * _argo0 = 0;
1afc06c2 4921 char *_kwnames[] = { "self","style", NULL };
8ab979d7
RD
4922
4923 self = self;
1afc06c2 4924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBrush_SetStyle",_kwnames,&_argo0,&_arg1))
8ab979d7 4925 return NULL;
1d99702e
RD
4926 if (_argo0) {
4927 if (_argo0 == Py_None) { _arg0 = NULL; }
4928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
4929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
4930 return NULL;
4931 }
4932 }
cf694132 4933{
4268f798 4934 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4935 wxBrush_SetStyle(_arg0,_arg1);
cf694132 4936
4268f798 4937 wxPyEndAllowThreads(__tstate);
493f1553 4938 if (PyErr_Occurred()) return NULL;
cf694132 4939} Py_INCREF(Py_None);
8ab979d7
RD
4940 _resultobj = Py_None;
4941 return _resultobj;
4942}
4943
6ee2116b
RD
4944static void *SwigwxBrushListTowxObject(void *ptr) {
4945 wxBrushList *src;
4946 wxObject *dest;
4947 src = (wxBrushList *) ptr;
4948 dest = (wxObject *) src;
4949 return (void *) dest;
4950}
4951
0569df0f
RD
4952#define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
4953static PyObject *_wrap_wxBrushList_AddBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
4954 PyObject * _resultobj;
4955 wxBrushList * _arg0;
4956 wxBrush * _arg1;
4957 PyObject * _argo0 = 0;
4958 PyObject * _argo1 = 0;
4959 char *_kwnames[] = { "self","brush", NULL };
4960
4961 self = self;
4962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBrushList_AddBrush",_kwnames,&_argo0,&_argo1))
4963 return NULL;
4964 if (_argo0) {
4965 if (_argo0 == Py_None) { _arg0 = NULL; }
4966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrushList_p")) {
4967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
4968 return NULL;
4969 }
4970 }
4971 if (_argo1) {
4972 if (_argo1 == Py_None) { _arg1 = NULL; }
4973 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) {
4974 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
4975 return NULL;
4976 }
4977 }
4978{
4268f798 4979 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4980 wxBrushList_AddBrush(_arg0,_arg1);
0569df0f 4981
4268f798 4982 wxPyEndAllowThreads(__tstate);
493f1553 4983 if (PyErr_Occurred()) return NULL;
0569df0f
RD
4984} Py_INCREF(Py_None);
4985 _resultobj = Py_None;
4986 return _resultobj;
4987}
4988
4989#define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
4990static PyObject *_wrap_wxBrushList_FindOrCreateBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
4991 PyObject * _resultobj;
4992 wxBrush * _result;
4993 wxBrushList * _arg0;
4994 wxColour * _arg1;
4995 int _arg2;
4996 PyObject * _argo0 = 0;
4997 wxColour temp;
4998 PyObject * _obj1 = 0;
4999 char *_kwnames[] = { "self","colour","style", NULL };
5000 char _ptemp[128];
5001
5002 self = self;
5003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxBrushList_FindOrCreateBrush",_kwnames,&_argo0,&_obj1,&_arg2))
5004 return NULL;
5005 if (_argo0) {
5006 if (_argo0 == Py_None) { _arg0 = NULL; }
5007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrushList_p")) {
5008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
5009 return NULL;
5010 }
5011 }
5012{
5013 _arg1 = &temp;
5014 if (! wxColour_helper(_obj1, &_arg1))
5015 return NULL;
5016}
5017{
4268f798 5018 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5019 _result = (wxBrush *)wxBrushList_FindOrCreateBrush(_arg0,*_arg1,_arg2);
0569df0f 5020
4268f798 5021 wxPyEndAllowThreads(__tstate);
493f1553 5022 if (PyErr_Occurred()) return NULL;
0569df0f
RD
5023} if (_result) {
5024 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
5025 _resultobj = Py_BuildValue("s",_ptemp);
5026 } else {
5027 Py_INCREF(Py_None);
5028 _resultobj = Py_None;
5029 }
5030 return _resultobj;
5031}
5032
5033#define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
5034static PyObject *_wrap_wxBrushList_RemoveBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
5035 PyObject * _resultobj;
5036 wxBrushList * _arg0;
5037 wxBrush * _arg1;
5038 PyObject * _argo0 = 0;
5039 PyObject * _argo1 = 0;
5040 char *_kwnames[] = { "self","brush", NULL };
5041
5042 self = self;
5043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBrushList_RemoveBrush",_kwnames,&_argo0,&_argo1))
5044 return NULL;
5045 if (_argo0) {
5046 if (_argo0 == Py_None) { _arg0 = NULL; }
5047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrushList_p")) {
5048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
5049 return NULL;
5050 }
5051 }
5052 if (_argo1) {
5053 if (_argo1 == Py_None) { _arg1 = NULL; }
5054 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) {
5055 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
5056 return NULL;
5057 }
5058 }
5059{
4268f798 5060 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5061 wxBrushList_RemoveBrush(_arg0,_arg1);
0569df0f 5062
4268f798 5063 wxPyEndAllowThreads(__tstate);
493f1553 5064 if (PyErr_Occurred()) return NULL;
0569df0f
RD
5065} Py_INCREF(Py_None);
5066 _resultobj = Py_None;
5067 return _resultobj;
5068}
5069
2f4e9287
RD
5070#define wxBrushList_GetCount(_swigobj) (_swigobj->GetCount())
5071static PyObject *_wrap_wxBrushList_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5072 PyObject * _resultobj;
5073 int _result;
5074 wxBrushList * _arg0;
5075 PyObject * _argo0 = 0;
5076 char *_kwnames[] = { "self", NULL };
5077
5078 self = self;
5079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrushList_GetCount",_kwnames,&_argo0))
5080 return NULL;
5081 if (_argo0) {
5082 if (_argo0 == Py_None) { _arg0 = NULL; }
5083 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrushList_p")) {
5084 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrushList_GetCount. Expected _wxBrushList_p.");
5085 return NULL;
5086 }
5087 }
5088{
4268f798 5089 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5090 _result = (int )wxBrushList_GetCount(_arg0);
2f4e9287 5091
4268f798 5092 wxPyEndAllowThreads(__tstate);
2f4e9287
RD
5093 if (PyErr_Occurred()) return NULL;
5094} _resultobj = Py_BuildValue("i",_result);
5095 return _resultobj;
5096}
5097
9416aa89
RD
5098static void *SwigwxDCTowxObject(void *ptr) {
5099 wxDC *src;
5100 wxObject *dest;
5101 src = (wxDC *) ptr;
5102 dest = (wxObject *) src;
5103 return (void *) dest;
5104}
5105
8ab979d7 5106#define delete_wxDC(_swigobj) (delete _swigobj)
1afc06c2 5107static PyObject *_wrap_delete_wxDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5108 PyObject * _resultobj;
5109 wxDC * _arg0;
1d99702e 5110 PyObject * _argo0 = 0;
1afc06c2 5111 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5112
5113 self = self;
1afc06c2 5114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxDC",_kwnames,&_argo0))
8ab979d7 5115 return NULL;
1d99702e
RD
5116 if (_argo0) {
5117 if (_argo0 == Py_None) { _arg0 = NULL; }
5118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
5120 return NULL;
5121 }
5122 }
cf694132 5123{
4268f798 5124 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5125 delete_wxDC(_arg0);
cf694132 5126
4268f798 5127 wxPyEndAllowThreads(__tstate);
493f1553 5128 if (PyErr_Occurred()) return NULL;
cf694132 5129} Py_INCREF(Py_None);
8ab979d7
RD
5130 _resultobj = Py_None;
5131 return _resultobj;
5132}
5133
5134#define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
1afc06c2 5135static PyObject *_wrap_wxDC_BeginDrawing(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5136 PyObject * _resultobj;
5137 wxDC * _arg0;
1d99702e 5138 PyObject * _argo0 = 0;
1afc06c2 5139 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5140
5141 self = self;
1afc06c2 5142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_BeginDrawing",_kwnames,&_argo0))
8ab979d7 5143 return NULL;
1d99702e
RD
5144 if (_argo0) {
5145 if (_argo0 == Py_None) { _arg0 = NULL; }
5146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
5148 return NULL;
5149 }
5150 }
cf694132 5151{
4268f798 5152 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5153 wxDC_BeginDrawing(_arg0);
cf694132 5154
4268f798 5155 wxPyEndAllowThreads(__tstate);
493f1553 5156 if (PyErr_Occurred()) return NULL;
cf694132 5157} Py_INCREF(Py_None);
8ab979d7
RD
5158 _resultobj = Py_None;
5159 return _resultobj;
5160}
5161
efc5f224 5162#define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
1afc06c2 5163static PyObject *_wrap_wxDC_Blit(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5164 PyObject * _resultobj;
5165 bool _result;
5166 wxDC * _arg0;
5167 long _arg1;
5168 long _arg2;
5169 long _arg3;
5170 long _arg4;
5171 wxDC * _arg5;
5172 long _arg6;
5173 long _arg7;
efc5f224
RD
5174 int _arg8 = (int ) wxCOPY;
5175 int _arg9 = (int ) FALSE;
1d99702e
RD
5176 PyObject * _argo0 = 0;
5177 PyObject * _argo5 = 0;
1afc06c2 5178 char *_kwnames[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL };
8ab979d7
RD
5179
5180 self = self;
1afc06c2 5181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllllOll|ii:wxDC_Blit",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_argo5,&_arg6,&_arg7,&_arg8,&_arg9))
8ab979d7 5182 return NULL;
1d99702e
RD
5183 if (_argo0) {
5184 if (_argo0 == Py_None) { _arg0 = NULL; }
5185 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5186 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
5187 return NULL;
5188 }
5189 }
1d99702e
RD
5190 if (_argo5) {
5191 if (_argo5 == Py_None) { _arg5 = NULL; }
5192 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxDC_p")) {
8ab979d7
RD
5193 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
5194 return NULL;
5195 }
5196 }
cf694132 5197{
4268f798 5198 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5199 _result = (bool )wxDC_Blit(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
cf694132 5200
4268f798 5201 wxPyEndAllowThreads(__tstate);
493f1553 5202 if (PyErr_Occurred()) return NULL;
cf694132 5203} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5204 return _resultobj;
5205}
5206
5207#define wxDC_Clear(_swigobj) (_swigobj->Clear())
1afc06c2 5208static PyObject *_wrap_wxDC_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5209 PyObject * _resultobj;
5210 wxDC * _arg0;
1d99702e 5211 PyObject * _argo0 = 0;
1afc06c2 5212 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5213
5214 self = self;
1afc06c2 5215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_Clear",_kwnames,&_argo0))
8ab979d7 5216 return NULL;
1d99702e
RD
5217 if (_argo0) {
5218 if (_argo0 == Py_None) { _arg0 = NULL; }
5219 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5220 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
5221 return NULL;
5222 }
5223 }
cf694132 5224{
4268f798 5225 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5226 wxDC_Clear(_arg0);
cf694132 5227
4268f798 5228 wxPyEndAllowThreads(__tstate);
493f1553 5229 if (PyErr_Occurred()) return NULL;
cf694132 5230} Py_INCREF(Py_None);
8ab979d7
RD
5231 _resultobj = Py_None;
5232 return _resultobj;
5233}
5234
5235#define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
1afc06c2 5236static PyObject *_wrap_wxDC_CrossHair(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5237 PyObject * _resultobj;
5238 wxDC * _arg0;
5239 long _arg1;
5240 long _arg2;
1d99702e 5241 PyObject * _argo0 = 0;
1afc06c2 5242 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
5243
5244 self = self;
1afc06c2 5245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxDC_CrossHair",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 5246 return NULL;
1d99702e
RD
5247 if (_argo0) {
5248 if (_argo0 == Py_None) { _arg0 = NULL; }
5249 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
5251 return NULL;
5252 }
5253 }
cf694132 5254{
4268f798 5255 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5256 wxDC_CrossHair(_arg0,_arg1,_arg2);
cf694132 5257
4268f798 5258 wxPyEndAllowThreads(__tstate);
493f1553 5259 if (PyErr_Occurred()) return NULL;
cf694132 5260} Py_INCREF(Py_None);
8ab979d7
RD
5261 _resultobj = Py_None;
5262 return _resultobj;
5263}
5264
5265#define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
1afc06c2 5266static PyObject *_wrap_wxDC_DestroyClippingRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5267 PyObject * _resultobj;
5268 wxDC * _arg0;
1d99702e 5269 PyObject * _argo0 = 0;
1afc06c2 5270 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5271
5272 self = self;
1afc06c2 5273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_DestroyClippingRegion",_kwnames,&_argo0))
8ab979d7 5274 return NULL;
1d99702e
RD
5275 if (_argo0) {
5276 if (_argo0 == Py_None) { _arg0 = NULL; }
5277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
5279 return NULL;
5280 }
5281 }
cf694132 5282{
4268f798 5283 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5284 wxDC_DestroyClippingRegion(_arg0);
cf694132 5285
4268f798 5286 wxPyEndAllowThreads(__tstate);
493f1553 5287 if (PyErr_Occurred()) return NULL;
cf694132 5288} Py_INCREF(Py_None);
8ab979d7
RD
5289 _resultobj = Py_None;
5290 return _resultobj;
5291}
5292
5293#define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
1afc06c2 5294static PyObject *_wrap_wxDC_DeviceToLogicalX(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5295 PyObject * _resultobj;
5296 long _result;
5297 wxDC * _arg0;
5298 long _arg1;
1d99702e 5299 PyObject * _argo0 = 0;
1afc06c2 5300 char *_kwnames[] = { "self","x", NULL };
8ab979d7
RD
5301
5302 self = self;
1afc06c2 5303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_DeviceToLogicalX",_kwnames,&_argo0,&_arg1))
8ab979d7 5304 return NULL;
1d99702e
RD
5305 if (_argo0) {
5306 if (_argo0 == Py_None) { _arg0 = NULL; }
5307 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5308 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
5309 return NULL;
5310 }
5311 }
cf694132 5312{
4268f798 5313 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5314 _result = (long )wxDC_DeviceToLogicalX(_arg0,_arg1);
cf694132 5315
4268f798 5316 wxPyEndAllowThreads(__tstate);
493f1553 5317 if (PyErr_Occurred()) return NULL;
cf694132 5318} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
5319 return _resultobj;
5320}
5321
5322#define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
1afc06c2 5323static PyObject *_wrap_wxDC_DeviceToLogicalXRel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5324 PyObject * _resultobj;
5325 long _result;
5326 wxDC * _arg0;
5327 long _arg1;
1d99702e 5328 PyObject * _argo0 = 0;
1afc06c2 5329 char *_kwnames[] = { "self","x", NULL };
8ab979d7
RD
5330
5331 self = self;
1afc06c2 5332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_DeviceToLogicalXRel",_kwnames,&_argo0,&_arg1))
8ab979d7 5333 return NULL;
1d99702e
RD
5334 if (_argo0) {
5335 if (_argo0 == Py_None) { _arg0 = NULL; }
5336 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5337 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
5338 return NULL;
5339 }
5340 }
cf694132 5341{
4268f798 5342 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5343 _result = (long )wxDC_DeviceToLogicalXRel(_arg0,_arg1);
cf694132 5344
4268f798 5345 wxPyEndAllowThreads(__tstate);
493f1553 5346 if (PyErr_Occurred()) return NULL;
cf694132 5347} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
5348 return _resultobj;
5349}
5350
5351#define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
1afc06c2 5352static PyObject *_wrap_wxDC_DeviceToLogicalY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5353 PyObject * _resultobj;
5354 long _result;
5355 wxDC * _arg0;
5356 long _arg1;
1d99702e 5357 PyObject * _argo0 = 0;
1afc06c2 5358 char *_kwnames[] = { "self","y", NULL };
8ab979d7
RD
5359
5360 self = self;
1afc06c2 5361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_DeviceToLogicalY",_kwnames,&_argo0,&_arg1))
8ab979d7 5362 return NULL;
1d99702e
RD
5363 if (_argo0) {
5364 if (_argo0 == Py_None) { _arg0 = NULL; }
5365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
5367 return NULL;
5368 }
5369 }
cf694132 5370{
4268f798 5371 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5372 _result = (long )wxDC_DeviceToLogicalY(_arg0,_arg1);
cf694132 5373
4268f798 5374 wxPyEndAllowThreads(__tstate);
493f1553 5375 if (PyErr_Occurred()) return NULL;
cf694132 5376} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
5377 return _resultobj;
5378}
5379
5380#define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
1afc06c2 5381static PyObject *_wrap_wxDC_DeviceToLogicalYRel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5382 PyObject * _resultobj;
5383 long _result;
5384 wxDC * _arg0;
5385 long _arg1;
1d99702e 5386 PyObject * _argo0 = 0;
1afc06c2 5387 char *_kwnames[] = { "self","y", NULL };
8ab979d7
RD
5388
5389 self = self;
1afc06c2 5390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_DeviceToLogicalYRel",_kwnames,&_argo0,&_arg1))
8ab979d7 5391 return NULL;
1d99702e
RD
5392 if (_argo0) {
5393 if (_argo0 == Py_None) { _arg0 = NULL; }
5394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
5396 return NULL;
5397 }
5398 }
cf694132 5399{
4268f798 5400 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5401 _result = (long )wxDC_DeviceToLogicalYRel(_arg0,_arg1);
cf694132 5402
4268f798 5403 wxPyEndAllowThreads(__tstate);
493f1553 5404 if (PyErr_Occurred()) return NULL;
cf694132 5405} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
5406 return _resultobj;
5407}
5408
5409#define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1afc06c2 5410static PyObject *_wrap_wxDC_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5411 PyObject * _resultobj;
5412 wxDC * _arg0;
5413 long _arg1;
5414 long _arg2;
5415 long _arg3;
5416 long _arg4;
5417 long _arg5;
5418 long _arg6;
1d99702e 5419 PyObject * _argo0 = 0;
1afc06c2 5420 char *_kwnames[] = { "self","x1","y1","x2","y2","xc","yc", NULL };
8ab979d7
RD
5421
5422 self = self;
1afc06c2 5423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollllll:wxDC_DrawArc",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
8ab979d7 5424 return NULL;
1d99702e
RD
5425 if (_argo0) {
5426 if (_argo0 == Py_None) { _arg0 = NULL; }
5427 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5428 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
5429 return NULL;
5430 }
5431 }
cf694132 5432{
4268f798 5433 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5434 wxDC_DrawArc(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
cf694132 5435
4268f798 5436 wxPyEndAllowThreads(__tstate);
493f1553 5437 if (PyErr_Occurred()) return NULL;
cf694132 5438} Py_INCREF(Py_None);
8ab979d7
RD
5439 _resultobj = Py_None;
5440 return _resultobj;
5441}
5442
bb0054cd 5443#define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 5444static PyObject *_wrap_wxDC_DrawCircle(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
5445 PyObject * _resultobj;
5446 wxDC * _arg0;
5447 long _arg1;
5448 long _arg2;
5449 long _arg3;
1d99702e 5450 PyObject * _argo0 = 0;
1afc06c2 5451 char *_kwnames[] = { "self","x","y","radius", NULL };
bb0054cd
RD
5452
5453 self = self;
1afc06c2 5454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olll:wxDC_DrawCircle",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
bb0054cd 5455 return NULL;
1d99702e
RD
5456 if (_argo0) {
5457 if (_argo0 == Py_None) { _arg0 = NULL; }
5458 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
bb0054cd
RD
5459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
5460 return NULL;
5461 }
5462 }
5463{
4268f798 5464 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5465 wxDC_DrawCircle(_arg0,_arg1,_arg2,_arg3);
bb0054cd 5466
4268f798 5467 wxPyEndAllowThreads(__tstate);
493f1553 5468 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
5469} Py_INCREF(Py_None);
5470 _resultobj = Py_None;
5471 return _resultobj;
5472}
5473
8ab979d7 5474#define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 5475static PyObject *_wrap_wxDC_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5476 PyObject * _resultobj;
5477 wxDC * _arg0;
5478 long _arg1;
5479 long _arg2;
5480 long _arg3;
5481 long _arg4;
1d99702e 5482 PyObject * _argo0 = 0;
1afc06c2 5483 char *_kwnames[] = { "self","x","y","width","height", NULL };
8ab979d7
RD
5484
5485 self = self;
1afc06c2 5486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxDC_DrawEllipse",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8ab979d7 5487 return NULL;
1d99702e
RD
5488 if (_argo0) {
5489 if (_argo0 == Py_None) { _arg0 = NULL; }
5490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
5492 return NULL;
5493 }
5494 }
cf694132 5495{
4268f798 5496 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5497 wxDC_DrawEllipse(_arg0,_arg1,_arg2,_arg3,_arg4);
cf694132 5498
4268f798 5499 wxPyEndAllowThreads(__tstate);
493f1553 5500 if (PyErr_Occurred()) return NULL;
cf694132 5501} Py_INCREF(Py_None);
8ab979d7
RD
5502 _resultobj = Py_None;
5503 return _resultobj;
5504}
5505
5506#define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1afc06c2 5507static PyObject *_wrap_wxDC_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5508 PyObject * _resultobj;
5509 wxDC * _arg0;
5510 long _arg1;
5511 long _arg2;
5512 long _arg3;
5513 long _arg4;
5514 long _arg5;
5515 long _arg6;
1d99702e 5516 PyObject * _argo0 = 0;
1afc06c2 5517 char *_kwnames[] = { "self","x","y","width","height","start","end", NULL };
8ab979d7
RD
5518
5519 self = self;
1afc06c2 5520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollllll:wxDC_DrawEllipticArc",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
8ab979d7 5521 return NULL;
1d99702e
RD
5522 if (_argo0) {
5523 if (_argo0 == Py_None) { _arg0 = NULL; }
5524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
5526 return NULL;
5527 }
5528 }
cf694132 5529{
4268f798 5530 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5531 wxDC_DrawEllipticArc(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
cf694132 5532
4268f798 5533 wxPyEndAllowThreads(__tstate);
493f1553 5534 if (PyErr_Occurred()) return NULL;
cf694132 5535} Py_INCREF(Py_None);
8ab979d7
RD
5536 _resultobj = Py_None;
5537 return _resultobj;
5538}
5539
5540#define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 5541static PyObject *_wrap_wxDC_DrawIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5542 PyObject * _resultobj;
5543 wxDC * _arg0;
5544 wxIcon * _arg1;
5545 long _arg2;
5546 long _arg3;
1d99702e
RD
5547 PyObject * _argo0 = 0;
5548 PyObject * _argo1 = 0;
1afc06c2 5549 char *_kwnames[] = { "self","icon","x","y", NULL };
8ab979d7
RD
5550
5551 self = self;
1afc06c2 5552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOll:wxDC_DrawIcon",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
8ab979d7 5553 return NULL;
1d99702e
RD
5554 if (_argo0) {
5555 if (_argo0 == Py_None) { _arg0 = NULL; }
5556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
5558 return NULL;
5559 }
5560 }
1d99702e
RD
5561 if (_argo1) {
5562 if (_argo1 == Py_None) { _arg1 = NULL; }
5563 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
8ab979d7
RD
5564 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
5565 return NULL;
5566 }
5567 }
cf694132 5568{
4268f798 5569 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5570 wxDC_DrawIcon(_arg0,*_arg1,_arg2,_arg3);
cf694132 5571
4268f798 5572 wxPyEndAllowThreads(__tstate);
493f1553 5573 if (PyErr_Occurred()) return NULL;
cf694132 5574} Py_INCREF(Py_None);
8ab979d7
RD
5575 _resultobj = Py_None;
5576 return _resultobj;
5577}
5578
23bed520
RD
5579#define wxDC_DrawLabel(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLabel(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5580static PyObject *_wrap_wxDC_DrawLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
5581 PyObject * _resultobj;
5582 wxDC * _arg0;
5583 wxString * _arg1;
5584 wxRect * _arg2;
5585 int _arg3 = (int ) wxALIGN_LEFT|wxALIGN_TOP;
5586 int _arg4 = (int ) -1;
5587 PyObject * _argo0 = 0;
5588 PyObject * _obj1 = 0;
5589 wxRect temp;
5590 PyObject * _obj2 = 0;
5591 char *_kwnames[] = { "self","text","rect","alignment","indexAccel", NULL };
5592
5593 self = self;
5594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|ii:wxDC_DrawLabel",_kwnames,&_argo0,&_obj1,&_obj2,&_arg3,&_arg4))
5595 return NULL;
5596 if (_argo0) {
5597 if (_argo0 == Py_None) { _arg0 = NULL; }
5598 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
5599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawLabel. Expected _wxDC_p.");
5600 return NULL;
5601 }
5602 }
5603{
c8bc7bb8
RD
5604 _arg1 = wxString_in_helper(_obj1);
5605 if (_arg1 == NULL)
23bed520 5606 return NULL;
23bed520
RD
5607}
5608{
5609 _arg2 = &temp;
5610 if (! wxRect_helper(_obj2, &_arg2))
5611 return NULL;
5612}
5613{
5614 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5615 wxDC_DrawLabel(_arg0,*_arg1,*_arg2,_arg3,_arg4);
23bed520
RD
5616
5617 wxPyEndAllowThreads(__tstate);
5618 if (PyErr_Occurred()) return NULL;
5619} Py_INCREF(Py_None);
5620 _resultobj = Py_None;
5621{
5622 if (_obj1)
5623 delete _arg1;
5624}
5625 return _resultobj;
5626}
5627
5628static wxRect wxDC_DrawImageLabel(wxDC *self,const wxString & text,const wxBitmap & image,const wxRect & rect,int alignment,int indexAccel) {
5629 wxRect rv;
5630 self->DrawLabel(text, image, rect, alignment, indexAccel, &rv);
5631 return rv;
5632 }
5633static PyObject *_wrap_wxDC_DrawImageLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
5634 PyObject * _resultobj;
5635 wxRect * _result;
5636 wxDC * _arg0;
5637 wxString * _arg1;
5638 wxBitmap * _arg2;
5639 wxRect * _arg3;
5640 int _arg4 = (int ) wxALIGN_LEFT|wxALIGN_TOP;
5641 int _arg5 = (int ) -1;
5642 PyObject * _argo0 = 0;
5643 PyObject * _obj1 = 0;
5644 PyObject * _argo2 = 0;
5645 wxRect temp;
5646 PyObject * _obj3 = 0;
5647 char *_kwnames[] = { "self","text","image","rect","alignment","indexAccel", NULL };
5648 char _ptemp[128];
5649
5650 self = self;
5651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|ii:wxDC_DrawImageLabel",_kwnames,&_argo0,&_obj1,&_argo2,&_obj3,&_arg4,&_arg5))
5652 return NULL;
5653 if (_argo0) {
5654 if (_argo0 == Py_None) { _arg0 = NULL; }
5655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
5656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawImageLabel. Expected _wxDC_p.");
5657 return NULL;
5658 }
5659 }
5660{
c8bc7bb8
RD
5661 _arg1 = wxString_in_helper(_obj1);
5662 if (_arg1 == NULL)
23bed520 5663 return NULL;
23bed520
RD
5664}
5665 if (_argo2) {
5666 if (_argo2 == Py_None) { _arg2 = NULL; }
5667 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
5668 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxDC_DrawImageLabel. Expected _wxBitmap_p.");
5669 return NULL;
5670 }
5671 }
5672{
5673 _arg3 = &temp;
5674 if (! wxRect_helper(_obj3, &_arg3))
5675 return NULL;
5676}
5677{
5678 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5679 _result = new wxRect (wxDC_DrawImageLabel(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5));
23bed520
RD
5680
5681 wxPyEndAllowThreads(__tstate);
5682 if (PyErr_Occurred()) return NULL;
5683} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
5684 _resultobj = Py_BuildValue("s",_ptemp);
5685{
5686 if (_obj1)
5687 delete _arg1;
5688}
5689 return _resultobj;
5690}
5691
8ab979d7 5692#define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 5693static PyObject *_wrap_wxDC_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5694 PyObject * _resultobj;
5695 wxDC * _arg0;
5696 long _arg1;
5697 long _arg2;
5698 long _arg3;
5699 long _arg4;
1d99702e 5700 PyObject * _argo0 = 0;
1afc06c2 5701 char *_kwnames[] = { "self","x1","y1","x2","y2", NULL };
8ab979d7
RD
5702
5703 self = self;
1afc06c2 5704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxDC_DrawLine",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8ab979d7 5705 return NULL;
1d99702e
RD
5706 if (_argo0) {
5707 if (_argo0 == Py_None) { _arg0 = NULL; }
5708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
5710 return NULL;
5711 }
5712 }
cf694132 5713{
4268f798 5714 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5715 wxDC_DrawLine(_arg0,_arg1,_arg2,_arg3,_arg4);
cf694132 5716
4268f798 5717 wxPyEndAllowThreads(__tstate);
493f1553 5718 if (PyErr_Occurred()) return NULL;
cf694132 5719} Py_INCREF(Py_None);
8ab979d7
RD
5720 _resultobj = Py_None;
5721 return _resultobj;
5722}
5723
5724#define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 5725static PyObject *_wrap_wxDC_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5726 PyObject * _resultobj;
5727 wxDC * _arg0;
5728 int _arg1;
5729 wxPoint * _arg2;
1d99702e
RD
5730 long _arg3 = (long ) 0;
5731 long _arg4 = (long ) 0;
5732 PyObject * _argo0 = 0;
e0672e2f 5733 int NPOINTS;
8ab979d7 5734 PyObject * _obj2 = 0;
eec92d76 5735 char *_kwnames[] = { "self","points","xoffset","yoffset", NULL };
8ab979d7
RD
5736
5737 self = self;
1afc06c2 5738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ll:wxDC_DrawLines",_kwnames,&_argo0,&_obj2,&_arg3,&_arg4))
8ab979d7 5739 return NULL;
1d99702e
RD
5740 if (_argo0) {
5741 if (_argo0 == Py_None) { _arg0 = NULL; }
5742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
5744 return NULL;
5745 }
5746 }
5747 if (_obj2)
5748{
e0672e2f
RD
5749 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
5750 if (_arg2 == NULL) {
5751 return NULL;
5752 }
8ab979d7
RD
5753}
5754{
e0672e2f 5755 _arg1 = NPOINTS;
8ab979d7 5756}
cf694132 5757{
4268f798 5758 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5759 wxDC_DrawLines(_arg0,_arg1,_arg2,_arg3,_arg4);
cf694132 5760
4268f798 5761 wxPyEndAllowThreads(__tstate);
493f1553 5762 if (PyErr_Occurred()) return NULL;
cf694132 5763} Py_INCREF(Py_None);
8ab979d7
RD
5764 _resultobj = Py_None;
5765{
5766 delete [] _arg2;
5767}
5768 return _resultobj;
5769}
5770
5771#define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1afc06c2 5772static PyObject *_wrap_wxDC_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5773 PyObject * _resultobj;
5774 wxDC * _arg0;
5775 int _arg1;
5776 wxPoint * _arg2;
1d99702e
RD
5777 long _arg3 = (long ) 0;
5778 long _arg4 = (long ) 0;
5779 int _arg5 = (int ) wxODDEVEN_RULE;
5780 PyObject * _argo0 = 0;
e0672e2f 5781 int NPOINTS;
8ab979d7 5782 PyObject * _obj2 = 0;
eec92d76 5783 char *_kwnames[] = { "self","points","xoffset","yoffset","fill_style", NULL };
8ab979d7
RD
5784
5785 self = self;
1afc06c2 5786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|lli:wxDC_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3,&_arg4,&_arg5))
8ab979d7 5787 return NULL;
1d99702e
RD
5788 if (_argo0) {
5789 if (_argo0 == Py_None) { _arg0 = NULL; }
5790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
5792 return NULL;
5793 }
5794 }
5795 if (_obj2)
5796{
e0672e2f
RD
5797 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
5798 if (_arg2 == NULL) {
5799 return NULL;
5800 }
8ab979d7
RD
5801}
5802{
e0672e2f 5803 _arg1 = NPOINTS;
8ab979d7 5804}
cf694132 5805{
4268f798 5806 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5807 wxDC_DrawPolygon(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
cf694132 5808
4268f798 5809 wxPyEndAllowThreads(__tstate);
493f1553 5810 if (PyErr_Occurred()) return NULL;
cf694132 5811} Py_INCREF(Py_None);
8ab979d7
RD
5812 _resultobj = Py_None;
5813{
5814 delete [] _arg2;
5815}
5816 return _resultobj;
5817}
5818
5819#define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
1afc06c2 5820static PyObject *_wrap_wxDC_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5821 PyObject * _resultobj;
5822 wxDC * _arg0;
5823 long _arg1;
5824 long _arg2;
1d99702e 5825 PyObject * _argo0 = 0;
1afc06c2 5826 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
5827
5828 self = self;
1afc06c2 5829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxDC_DrawPoint",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 5830 return NULL;
1d99702e
RD
5831 if (_argo0) {
5832 if (_argo0 == Py_None) { _arg0 = NULL; }
5833 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5834 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
5835 return NULL;
5836 }
5837 }
cf694132 5838{
4268f798 5839 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5840 wxDC_DrawPoint(_arg0,_arg1,_arg2);
cf694132 5841
4268f798 5842 wxPyEndAllowThreads(__tstate);
493f1553 5843 if (PyErr_Occurred()) return NULL;
cf694132 5844} Py_INCREF(Py_None);
8ab979d7
RD
5845 _resultobj = Py_None;
5846 return _resultobj;
5847}
5848
5849#define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 5850static PyObject *_wrap_wxDC_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5851 PyObject * _resultobj;
5852 wxDC * _arg0;
5853 long _arg1;
5854 long _arg2;
5855 long _arg3;
5856 long _arg4;
1d99702e 5857 PyObject * _argo0 = 0;
1afc06c2 5858 char *_kwnames[] = { "self","x","y","width","height", NULL };
8ab979d7
RD
5859
5860 self = self;
1afc06c2 5861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxDC_DrawRectangle",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8ab979d7 5862 return NULL;
1d99702e
RD
5863 if (_argo0) {
5864 if (_argo0 == Py_None) { _arg0 = NULL; }
5865 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5866 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
5867 return NULL;
5868 }
5869 }
cf694132 5870{
4268f798 5871 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5872 wxDC_DrawRectangle(_arg0,_arg1,_arg2,_arg3,_arg4);
cf694132 5873
4268f798 5874 wxPyEndAllowThreads(__tstate);
493f1553 5875 if (PyErr_Occurred()) return NULL;
cf694132 5876} Py_INCREF(Py_None);
8ab979d7
RD
5877 _resultobj = Py_None;
5878 return _resultobj;
5879}
5880
6999b0d8
RD
5881#define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5882static PyObject *_wrap_wxDC_DrawRotatedText(PyObject *self, PyObject *args, PyObject *kwargs) {
5883 PyObject * _resultobj;
5884 wxDC * _arg0;
5885 wxString * _arg1;
5886 wxCoord _arg2;
5887 wxCoord _arg3;
5888 double _arg4;
5889 PyObject * _argo0 = 0;
5890 PyObject * _obj1 = 0;
5891 char *_kwnames[] = { "self","text","x","y","angle", NULL };
5892
5893 self = self;
5894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiid:wxDC_DrawRotatedText",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_arg4))
5895 return NULL;
5896 if (_argo0) {
5897 if (_argo0 == Py_None) { _arg0 = NULL; }
5898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
5899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
5900 return NULL;
5901 }
5902 }
5903{
c8bc7bb8
RD
5904 _arg1 = wxString_in_helper(_obj1);
5905 if (_arg1 == NULL)
185d7c3e 5906 return NULL;
6999b0d8
RD
5907}
5908{
4268f798 5909 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5910 wxDC_DrawRotatedText(_arg0,*_arg1,_arg2,_arg3,_arg4);
6999b0d8 5911
4268f798 5912 wxPyEndAllowThreads(__tstate);
493f1553 5913 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
5914} Py_INCREF(Py_None);
5915 _resultobj = Py_None;
5916{
5917 if (_obj1)
5918 delete _arg1;
5919}
5920 return _resultobj;
5921}
5922
8ab979d7 5923#define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1afc06c2 5924static PyObject *_wrap_wxDC_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5925 PyObject * _resultobj;
5926 wxDC * _arg0;
5927 long _arg1;
5928 long _arg2;
5929 long _arg3;
5930 long _arg4;
1d99702e
RD
5931 long _arg5 = (long ) 20;
5932 PyObject * _argo0 = 0;
1afc06c2 5933 char *_kwnames[] = { "self","x","y","width","height","radius", NULL };
8ab979d7
RD
5934
5935 self = self;
1afc06c2 5936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
8ab979d7 5937 return NULL;
1d99702e
RD
5938 if (_argo0) {
5939 if (_argo0 == Py_None) { _arg0 = NULL; }
5940 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5941 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
5942 return NULL;
5943 }
5944 }
cf694132 5945{
4268f798 5946 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5947 wxDC_DrawRoundedRectangle(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
cf694132 5948
4268f798 5949 wxPyEndAllowThreads(__tstate);
493f1553 5950 if (PyErr_Occurred()) return NULL;
cf694132 5951} Py_INCREF(Py_None);
8ab979d7
RD
5952 _resultobj = Py_None;
5953 return _resultobj;
5954}
5955
5956#define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
1afc06c2 5957static PyObject *_wrap_wxDC_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5958 PyObject * _resultobj;
5959 wxDC * _arg0;
5960 int _arg1;
5961 wxPoint * _arg2;
1d99702e 5962 PyObject * _argo0 = 0;
e0672e2f 5963 int NPOINTS;
8ab979d7 5964 PyObject * _obj2 = 0;
eec92d76 5965 char *_kwnames[] = { "self","points", NULL };
8ab979d7
RD
5966
5967 self = self;
1afc06c2 5968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_DrawSpline",_kwnames,&_argo0,&_obj2))
8ab979d7 5969 return NULL;
1d99702e
RD
5970 if (_argo0) {
5971 if (_argo0 == Py_None) { _arg0 = NULL; }
5972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
5974 return NULL;
5975 }
5976 }
5977 if (_obj2)
5978{
e0672e2f
RD
5979 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
5980 if (_arg2 == NULL) {
5981 return NULL;
5982 }
8ab979d7
RD
5983}
5984{
e0672e2f 5985 _arg1 = NPOINTS;
8ab979d7 5986}
cf694132 5987{
4268f798 5988 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5989 wxDC_DrawSpline(_arg0,_arg1,_arg2);
cf694132 5990
4268f798 5991 wxPyEndAllowThreads(__tstate);
493f1553 5992 if (PyErr_Occurred()) return NULL;
cf694132 5993} Py_INCREF(Py_None);
8ab979d7
RD
5994 _resultobj = Py_None;
5995{
5996 delete [] _arg2;
5997}
5998 return _resultobj;
5999}
6000
6001#define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 6002static PyObject *_wrap_wxDC_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6003 PyObject * _resultobj;
6004 wxDC * _arg0;
6005 wxString * _arg1;
6006 long _arg2;
6007 long _arg3;
1d99702e 6008 PyObject * _argo0 = 0;
8ab979d7 6009 PyObject * _obj1 = 0;
1afc06c2 6010 char *_kwnames[] = { "self","text","x","y", NULL };
8ab979d7
RD
6011
6012 self = self;
1afc06c2 6013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOll:wxDC_DrawText",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
8ab979d7 6014 return NULL;
1d99702e
RD
6015 if (_argo0) {
6016 if (_argo0 == Py_None) { _arg0 = NULL; }
6017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
6019 return NULL;
6020 }
6021 }
6022{
c8bc7bb8
RD
6023 _arg1 = wxString_in_helper(_obj1);
6024 if (_arg1 == NULL)
185d7c3e 6025 return NULL;
8ab979d7 6026}
cf694132 6027{
4268f798 6028 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6029 wxDC_DrawText(_arg0,*_arg1,_arg2,_arg3);
cf694132 6030
4268f798 6031 wxPyEndAllowThreads(__tstate);
493f1553 6032 if (PyErr_Occurred()) return NULL;
cf694132 6033} Py_INCREF(Py_None);
8ab979d7
RD
6034 _resultobj = Py_None;
6035{
6036 if (_obj1)
6037 delete _arg1;
6038}
6039 return _resultobj;
6040}
6041
6042#define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
1afc06c2 6043static PyObject *_wrap_wxDC_EndDoc(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6044 PyObject * _resultobj;
6045 wxDC * _arg0;
1d99702e 6046 PyObject * _argo0 = 0;
1afc06c2 6047 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6048
6049 self = self;
1afc06c2 6050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_EndDoc",_kwnames,&_argo0))
8ab979d7 6051 return NULL;
1d99702e
RD
6052 if (_argo0) {
6053 if (_argo0 == Py_None) { _arg0 = NULL; }
6054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
6056 return NULL;
6057 }
6058 }
cf694132 6059{
4268f798 6060 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6061 wxDC_EndDoc(_arg0);
cf694132 6062
4268f798 6063 wxPyEndAllowThreads(__tstate);
493f1553 6064 if (PyErr_Occurred()) return NULL;
cf694132 6065} Py_INCREF(Py_None);
8ab979d7
RD
6066 _resultobj = Py_None;
6067 return _resultobj;
6068}
6069
6070#define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
1afc06c2 6071static PyObject *_wrap_wxDC_EndDrawing(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6072 PyObject * _resultobj;
6073 wxDC * _arg0;
1d99702e 6074 PyObject * _argo0 = 0;
1afc06c2 6075 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6076
6077 self = self;
1afc06c2 6078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_EndDrawing",_kwnames,&_argo0))
8ab979d7 6079 return NULL;
1d99702e
RD
6080 if (_argo0) {
6081 if (_argo0 == Py_None) { _arg0 = NULL; }
6082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
6084 return NULL;
6085 }
6086 }
cf694132 6087{
4268f798 6088 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6089 wxDC_EndDrawing(_arg0);
cf694132 6090
4268f798 6091 wxPyEndAllowThreads(__tstate);
493f1553 6092 if (PyErr_Occurred()) return NULL;
cf694132 6093} Py_INCREF(Py_None);
8ab979d7
RD
6094 _resultobj = Py_None;
6095 return _resultobj;
6096}
6097
6098#define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
1afc06c2 6099static PyObject *_wrap_wxDC_EndPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6100 PyObject * _resultobj;
6101 wxDC * _arg0;
1d99702e 6102 PyObject * _argo0 = 0;
1afc06c2 6103 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6104
6105 self = self;
1afc06c2 6106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_EndPage",_kwnames,&_argo0))
8ab979d7 6107 return NULL;
1d99702e
RD
6108 if (_argo0) {
6109 if (_argo0 == Py_None) { _arg0 = NULL; }
6110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
6112 return NULL;
6113 }
6114 }
cf694132 6115{
4268f798 6116 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6117 wxDC_EndPage(_arg0);
cf694132 6118
4268f798 6119 wxPyEndAllowThreads(__tstate);
493f1553 6120 if (PyErr_Occurred()) return NULL;
cf694132 6121} Py_INCREF(Py_None);
8ab979d7
RD
6122 _resultobj = Py_None;
6123 return _resultobj;
6124}
6125
be4d9c1f 6126#define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 6127static PyObject *_wrap_wxDC_FloodFill(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f 6128 PyObject * _resultobj;
d394edca 6129 bool _result;
be4d9c1f
RD
6130 wxDC * _arg0;
6131 long _arg1;
6132 long _arg2;
6133 wxColour * _arg3;
1d99702e
RD
6134 int _arg4 = (int ) wxFLOOD_SURFACE;
6135 PyObject * _argo0 = 0;
f6bcfd97
BP
6136 wxColour temp;
6137 PyObject * _obj3 = 0;
1afc06c2 6138 char *_kwnames[] = { "self","x","y","colour","style", NULL };
be4d9c1f
RD
6139
6140 self = self;
f6bcfd97 6141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO|i:wxDC_FloodFill",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4))
be4d9c1f 6142 return NULL;
1d99702e
RD
6143 if (_argo0) {
6144 if (_argo0 == Py_None) { _arg0 = NULL; }
6145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
be4d9c1f
RD
6146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
6147 return NULL;
6148 }
6149 }
f6bcfd97
BP
6150{
6151 _arg3 = &temp;
6152 if (! wxColour_helper(_obj3, &_arg3))
be4d9c1f 6153 return NULL;
f6bcfd97 6154}
cf694132 6155{
4268f798 6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
d394edca 6157 _result = (bool )wxDC_FloodFill(_arg0,_arg1,_arg2,*_arg3,_arg4);
cf694132 6158
4268f798 6159 wxPyEndAllowThreads(__tstate);
493f1553 6160 if (PyErr_Occurred()) return NULL;
d394edca 6161} _resultobj = Py_BuildValue("i",_result);
be4d9c1f
RD
6162 return _resultobj;
6163}
6164
8ab979d7 6165#define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
1afc06c2 6166static PyObject *_wrap_wxDC_GetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6167 PyObject * _resultobj;
6168 wxBrush * _result;
6169 wxDC * _arg0;
1d99702e 6170 PyObject * _argo0 = 0;
1afc06c2 6171 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6172 char _ptemp[128];
6173
6174 self = self;
1afc06c2 6175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetBackground",_kwnames,&_argo0))
8ab979d7 6176 return NULL;
1d99702e
RD
6177 if (_argo0) {
6178 if (_argo0 == Py_None) { _arg0 = NULL; }
6179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
6181 return NULL;
6182 }
6183 }
cf694132 6184{
4268f798 6185 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6186 _result = new wxBrush (wxDC_GetBackground(_arg0));
cf694132 6187
4268f798 6188 wxPyEndAllowThreads(__tstate);
493f1553 6189 if (PyErr_Occurred()) return NULL;
c5943253
RD
6190} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBrush_p");
6191 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6192 return _resultobj;
6193}
6194
6195#define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
1afc06c2 6196static PyObject *_wrap_wxDC_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6197 PyObject * _resultobj;
6198 wxBrush * _result;
6199 wxDC * _arg0;
1d99702e 6200 PyObject * _argo0 = 0;
1afc06c2 6201 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6202 char _ptemp[128];
6203
6204 self = self;
1afc06c2 6205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetBrush",_kwnames,&_argo0))
8ab979d7 6206 return NULL;
1d99702e
RD
6207 if (_argo0) {
6208 if (_argo0 == Py_None) { _arg0 = NULL; }
6209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
6211 return NULL;
6212 }
6213 }
cf694132 6214{
4268f798 6215 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6216 _result = new wxBrush (wxDC_GetBrush(_arg0));
cf694132 6217
4268f798 6218 wxPyEndAllowThreads(__tstate);
493f1553 6219 if (PyErr_Occurred()) return NULL;
c5943253
RD
6220} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBrush_p");
6221 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6222 return _resultobj;
6223}
6224
6225#define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1afc06c2 6226static PyObject *_wrap_wxDC_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6227 PyObject * _resultobj;
6228 long _result;
6229 wxDC * _arg0;
1d99702e 6230 PyObject * _argo0 = 0;
1afc06c2 6231 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6232
6233 self = self;
1afc06c2 6234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetCharHeight",_kwnames,&_argo0))
8ab979d7 6235 return NULL;
1d99702e
RD
6236 if (_argo0) {
6237 if (_argo0 == Py_None) { _arg0 = NULL; }
6238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
6240 return NULL;
6241 }
6242 }
cf694132 6243{
4268f798 6244 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6245 _result = (long )wxDC_GetCharHeight(_arg0);
cf694132 6246
4268f798 6247 wxPyEndAllowThreads(__tstate);
493f1553 6248 if (PyErr_Occurred()) return NULL;
cf694132 6249} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
6250 return _resultobj;
6251}
6252
6253#define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1afc06c2 6254static PyObject *_wrap_wxDC_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6255 PyObject * _resultobj;
6256 long _result;
6257 wxDC * _arg0;
1d99702e 6258 PyObject * _argo0 = 0;
1afc06c2 6259 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6260
6261 self = self;
1afc06c2 6262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetCharWidth",_kwnames,&_argo0))
8ab979d7 6263 return NULL;
1d99702e
RD
6264 if (_argo0) {
6265 if (_argo0 == Py_None) { _arg0 = NULL; }
6266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
6268 return NULL;
6269 }
6270 }
cf694132 6271{
4268f798 6272 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6273 _result = (long )wxDC_GetCharWidth(_arg0);
cf694132 6274
4268f798 6275 wxPyEndAllowThreads(__tstate);
493f1553 6276 if (PyErr_Occurred()) return NULL;
cf694132 6277} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
6278 return _resultobj;
6279}
6280
6281#define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 6282static PyObject *_wrap_wxDC_GetClippingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6283 PyObject * _resultobj;
6284 wxDC * _arg0;
6285 long * _arg1;
6286 long temp;
6287 long * _arg2;
6288 long temp0;
6289 long * _arg3;
6290 long temp1;
6291 long * _arg4;
6292 long temp2;
1d99702e 6293 PyObject * _argo0 = 0;
1afc06c2 6294 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6295
6296 self = self;
6297{
6298 _arg1 = &temp;
6299}
6300{
6301 _arg2 = &temp0;
6302}
6303{
6304 _arg3 = &temp1;
6305}
6306{
6307 _arg4 = &temp2;
6308}
1afc06c2 6309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetClippingBox",_kwnames,&_argo0))
8ab979d7 6310 return NULL;
1d99702e
RD
6311 if (_argo0) {
6312 if (_argo0 == Py_None) { _arg0 = NULL; }
6313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
6315 return NULL;
6316 }
6317 }
cf694132 6318{
4268f798 6319 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6320 wxDC_GetClippingBox(_arg0,_arg1,_arg2,_arg3,_arg4);
cf694132 6321
4268f798 6322 wxPyEndAllowThreads(__tstate);
493f1553 6323 if (PyErr_Occurred()) return NULL;
cf694132 6324} Py_INCREF(Py_None);
8ab979d7
RD
6325 _resultobj = Py_None;
6326{
6327 PyObject *o;
6328 o = PyInt_FromLong((long) (*_arg1));
6329 _resultobj = t_output_helper(_resultobj, o);
6330}
6331{
6332 PyObject *o;
6333 o = PyInt_FromLong((long) (*_arg2));
6334 _resultobj = t_output_helper(_resultobj, o);
6335}
6336{
6337 PyObject *o;
6338 o = PyInt_FromLong((long) (*_arg3));
6339 _resultobj = t_output_helper(_resultobj, o);
6340}
6341{
6342 PyObject *o;
6343 o = PyInt_FromLong((long) (*_arg4));
6344 _resultobj = t_output_helper(_resultobj, o);
6345}
6346 return _resultobj;
6347}
6348
6349#define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
1afc06c2 6350static PyObject *_wrap_wxDC_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6351 PyObject * _resultobj;
6352 wxFont * _result;
6353 wxDC * _arg0;
1d99702e 6354 PyObject * _argo0 = 0;
1afc06c2 6355 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6356 char _ptemp[128];
6357
6358 self = self;
1afc06c2 6359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetFont",_kwnames,&_argo0))
8ab979d7 6360 return NULL;
1d99702e
RD
6361 if (_argo0) {
6362 if (_argo0 == Py_None) { _arg0 = NULL; }
6363 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6364 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
6365 return NULL;
6366 }
6367 }
cf694132 6368{
4268f798 6369 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6370 _result = new wxFont (wxDC_GetFont(_arg0));
cf694132 6371
4268f798 6372 wxPyEndAllowThreads(__tstate);
493f1553 6373 if (PyErr_Occurred()) return NULL;
c5943253
RD
6374} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
6375 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6376 return _resultobj;
6377}
6378
6379#define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
1afc06c2 6380static PyObject *_wrap_wxDC_GetLogicalFunction(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6381 PyObject * _resultobj;
6382 int _result;
6383 wxDC * _arg0;
1d99702e 6384 PyObject * _argo0 = 0;
1afc06c2 6385 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6386
6387 self = self;
1afc06c2 6388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetLogicalFunction",_kwnames,&_argo0))
8ab979d7 6389 return NULL;
1d99702e
RD
6390 if (_argo0) {
6391 if (_argo0 == Py_None) { _arg0 = NULL; }
6392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
6394 return NULL;
6395 }
6396 }
cf694132 6397{
4268f798 6398 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6399 _result = (int )wxDC_GetLogicalFunction(_arg0);
cf694132 6400
4268f798 6401 wxPyEndAllowThreads(__tstate);
493f1553 6402 if (PyErr_Occurred()) return NULL;
cf694132 6403} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6404 return _resultobj;
6405}
6406
eec92d76
RD
6407#define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
6408static PyObject *_wrap_wxDC_GetLogicalScale(PyObject *self, PyObject *args, PyObject *kwargs) {
6409 PyObject * _resultobj;
6410 wxDC * _arg0;
6411 double * _arg1;
6412 double temp;
6413 double * _arg2;
6414 double temp0;
6415 PyObject * _argo0 = 0;
6416 char *_kwnames[] = { "self", NULL };
6417
6418 self = self;
6419{
6420 _arg1 = &temp;
6421}
6422{
6423 _arg2 = &temp0;
6424}
6425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetLogicalScale",_kwnames,&_argo0))
6426 return NULL;
6427 if (_argo0) {
6428 if (_argo0 == Py_None) { _arg0 = NULL; }
6429 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
6430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
6431 return NULL;
6432 }
6433 }
6434{
4268f798 6435 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6436 wxDC_GetLogicalScale(_arg0,_arg1,_arg2);
eec92d76 6437
4268f798 6438 wxPyEndAllowThreads(__tstate);
493f1553 6439 if (PyErr_Occurred()) return NULL;
eec92d76
RD
6440} Py_INCREF(Py_None);
6441 _resultobj = Py_None;
6442{
6443 PyObject *o;
6444 o = PyFloat_FromDouble((double) (*_arg1));
6445 _resultobj = t_output_helper(_resultobj, o);
6446}
6447{
6448 PyObject *o;
6449 o = PyFloat_FromDouble((double) (*_arg2));
6450 _resultobj = t_output_helper(_resultobj, o);
6451}
6452 return _resultobj;
6453}
6454
8ab979d7 6455#define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
1afc06c2 6456static PyObject *_wrap_wxDC_GetMapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6457 PyObject * _resultobj;
6458 int _result;
6459 wxDC * _arg0;
1d99702e 6460 PyObject * _argo0 = 0;
1afc06c2 6461 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6462
6463 self = self;
1afc06c2 6464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetMapMode",_kwnames,&_argo0))
8ab979d7 6465 return NULL;
1d99702e
RD
6466 if (_argo0) {
6467 if (_argo0 == Py_None) { _arg0 = NULL; }
6468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
6470 return NULL;
6471 }
6472 }
cf694132 6473{
4268f798 6474 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6475 _result = (int )wxDC_GetMapMode(_arg0);
cf694132 6476
4268f798 6477 wxPyEndAllowThreads(__tstate);
493f1553 6478 if (PyErr_Occurred()) return NULL;
cf694132 6479} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6480 return _resultobj;
6481}
6482
6483#define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
1afc06c2 6484static PyObject *_wrap_wxDC_GetOptimization(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6485 PyObject * _resultobj;
6486 bool _result;
6487 wxDC * _arg0;
1d99702e 6488 PyObject * _argo0 = 0;
1afc06c2 6489 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6490
6491 self = self;
1afc06c2 6492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetOptimization",_kwnames,&_argo0))
8ab979d7 6493 return NULL;
1d99702e
RD
6494 if (_argo0) {
6495 if (_argo0 == Py_None) { _arg0 = NULL; }
6496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
6498 return NULL;
6499 }
6500 }
cf694132 6501{
4268f798 6502 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6503 _result = (bool )wxDC_GetOptimization(_arg0);
cf694132 6504
4268f798 6505 wxPyEndAllowThreads(__tstate);
493f1553 6506 if (PyErr_Occurred()) return NULL;
cf694132 6507} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6508 return _resultobj;
6509}
6510
6511#define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
1afc06c2 6512static PyObject *_wrap_wxDC_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6513 PyObject * _resultobj;
6514 wxPen * _result;
6515 wxDC * _arg0;
1d99702e 6516 PyObject * _argo0 = 0;
1afc06c2 6517 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6518 char _ptemp[128];
6519
6520 self = self;
1afc06c2 6521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetPen",_kwnames,&_argo0))
8ab979d7 6522 return NULL;
1d99702e
RD
6523 if (_argo0) {
6524 if (_argo0 == Py_None) { _arg0 = NULL; }
6525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
6527 return NULL;
6528 }
6529 }
cf694132 6530{
4268f798 6531 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6532 _result = new wxPen (wxDC_GetPen(_arg0));
cf694132 6533
4268f798 6534 wxPyEndAllowThreads(__tstate);
493f1553 6535 if (PyErr_Occurred()) return NULL;
c5943253
RD
6536} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPen_p");
6537 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6538 return _resultobj;
6539}
6540
6541static wxColour * wxDC_GetPixel(wxDC *self,long x,long y) {
6542 wxColour* wc = new wxColour();
6543 self->GetPixel(x, y, wc);
6544 return wc;
6545 }
1afc06c2 6546static PyObject *_wrap_wxDC_GetPixel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6547 PyObject * _resultobj;
6548 wxColour * _result;
6549 wxDC * _arg0;
6550 long _arg1;
6551 long _arg2;
1d99702e 6552 PyObject * _argo0 = 0;
1afc06c2 6553 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
6554 char _ptemp[128];
6555
6556 self = self;
1afc06c2 6557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxDC_GetPixel",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 6558 return NULL;
1d99702e
RD
6559 if (_argo0) {
6560 if (_argo0 == Py_None) { _arg0 = NULL; }
6561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
6563 return NULL;
6564 }
6565 }
cf694132 6566{
4268f798 6567 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6568 _result = (wxColour *)wxDC_GetPixel(_arg0,_arg1,_arg2);
cf694132 6569
4268f798 6570 wxPyEndAllowThreads(__tstate);
493f1553 6571 if (PyErr_Occurred()) return NULL;
1d99702e
RD
6572} if (_result) {
6573 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
6574 _resultobj = Py_BuildValue("s",_ptemp);
6575 } else {
6576 Py_INCREF(Py_None);
6577 _resultobj = Py_None;
6578 }
8ab979d7
RD
6579 return _resultobj;
6580}
6581
bb0054cd 6582#define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1afc06c2 6583static PyObject *_wrap_wxDC_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6584 PyObject * _resultobj;
6585 wxDC * _arg0;
6586 int * _arg1;
6587 int temp;
6588 int * _arg2;
6589 int temp0;
1d99702e 6590 PyObject * _argo0 = 0;
1afc06c2 6591 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6592
6593 self = self;
6594{
6595 _arg1 = &temp;
6596}
6597{
6598 _arg2 = &temp0;
6599}
1afc06c2 6600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetSizeTuple",_kwnames,&_argo0))
8ab979d7 6601 return NULL;
1d99702e
RD
6602 if (_argo0) {
6603 if (_argo0 == Py_None) { _arg0 = NULL; }
6604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
bb0054cd 6605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
8ab979d7
RD
6606 return NULL;
6607 }
6608 }
cf694132 6609{
4268f798 6610 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6611 wxDC_GetSizeTuple(_arg0,_arg1,_arg2);
cf694132 6612
4268f798 6613 wxPyEndAllowThreads(__tstate);
493f1553 6614 if (PyErr_Occurred()) return NULL;
cf694132 6615} Py_INCREF(Py_None);
8ab979d7
RD
6616 _resultobj = Py_None;
6617{
6618 PyObject *o;
6619 o = PyInt_FromLong((long) (*_arg1));
6620 _resultobj = t_output_helper(_resultobj, o);
6621}
6622{
6623 PyObject *o;
6624 o = PyInt_FromLong((long) (*_arg2));
6625 _resultobj = t_output_helper(_resultobj, o);
6626}
6627 return _resultobj;
6628}
6629
bb0054cd 6630#define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
1afc06c2 6631static PyObject *_wrap_wxDC_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
6632 PyObject * _resultobj;
6633 wxSize * _result;
6634 wxDC * _arg0;
1d99702e 6635 PyObject * _argo0 = 0;
1afc06c2 6636 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
6637 char _ptemp[128];
6638
6639 self = self;
1afc06c2 6640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetSize",_kwnames,&_argo0))
bb0054cd 6641 return NULL;
1d99702e
RD
6642 if (_argo0) {
6643 if (_argo0 == Py_None) { _arg0 = NULL; }
6644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
bb0054cd
RD
6645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
6646 return NULL;
6647 }
6648 }
6649{
4268f798 6650 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6651 _result = new wxSize (wxDC_GetSize(_arg0));
bb0054cd 6652
4268f798 6653 wxPyEndAllowThreads(__tstate);
493f1553 6654 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
6655} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
6656 _resultobj = Py_BuildValue("s",_ptemp);
6657 return _resultobj;
6658}
6659
eec92d76
RD
6660#define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
6661static PyObject *_wrap_wxDC_GetSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
6662 PyObject * _resultobj;
6663 wxSize * _result;
6664 wxDC * _arg0;
6665 PyObject * _argo0 = 0;
6666 char *_kwnames[] = { "self", NULL };
6667 char _ptemp[128];
6668
6669 self = self;
6670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetSizeMM",_kwnames,&_argo0))
6671 return NULL;
6672 if (_argo0) {
6673 if (_argo0 == Py_None) { _arg0 = NULL; }
6674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
6675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
6676 return NULL;
6677 }
6678 }
6679{
4268f798 6680 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6681 _result = new wxSize (wxDC_GetSizeMM(_arg0));
eec92d76 6682
4268f798 6683 wxPyEndAllowThreads(__tstate);
493f1553 6684 if (PyErr_Occurred()) return NULL;
eec92d76
RD
6685} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
6686 _resultobj = Py_BuildValue("s",_ptemp);
6687 return _resultobj;
6688}
6689
8ab979d7 6690#define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
1afc06c2 6691static PyObject *_wrap_wxDC_GetTextBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6692 PyObject * _resultobj;
6693 wxColour * _result;
6694 wxDC * _arg0;
1d99702e 6695 PyObject * _argo0 = 0;
1afc06c2 6696 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6697 char _ptemp[128];
6698
6699 self = self;
1afc06c2 6700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetTextBackground",_kwnames,&_argo0))
8ab979d7 6701 return NULL;
1d99702e
RD
6702 if (_argo0) {
6703 if (_argo0 == Py_None) { _arg0 = NULL; }
6704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
6706 return NULL;
6707 }
6708 }
cf694132 6709{
4268f798 6710 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6711 _result = new wxColour (wxDC_GetTextBackground(_arg0));
cf694132 6712
4268f798 6713 wxPyEndAllowThreads(__tstate);
493f1553 6714 if (PyErr_Occurred()) return NULL;
25832b3f
RD
6715} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
6716 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6717 return _resultobj;
6718}
6719
af309447 6720#define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 6721static PyObject *_wrap_wxDC_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
6722 PyObject * _resultobj;
6723 wxDC * _arg0;
6724 wxString * _arg1;
6725 long * _arg2;
6726 long temp;
6727 long * _arg3;
6728 long temp0;
1d99702e 6729 PyObject * _argo0 = 0;
af309447 6730 PyObject * _obj1 = 0;
1afc06c2 6731 char *_kwnames[] = { "self","string", NULL };
af309447
RD
6732
6733 self = self;
6734{
6735 _arg2 = &temp;
6736}
6737{
6738 _arg3 = &temp0;
6739}
1afc06c2 6740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_GetTextExtent",_kwnames,&_argo0,&_obj1))
af309447 6741 return NULL;
1d99702e
RD
6742 if (_argo0) {
6743 if (_argo0 == Py_None) { _arg0 = NULL; }
6744 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
af309447
RD
6745 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
6746 return NULL;
6747 }
6748 }
6749{
c8bc7bb8
RD
6750 _arg1 = wxString_in_helper(_obj1);
6751 if (_arg1 == NULL)
185d7c3e 6752 return NULL;
af309447 6753}
cf694132 6754{
4268f798 6755 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6756 wxDC_GetTextExtent(_arg0,*_arg1,_arg2,_arg3);
cf694132 6757
4268f798 6758 wxPyEndAllowThreads(__tstate);
493f1553 6759 if (PyErr_Occurred()) return NULL;
cf694132 6760} Py_INCREF(Py_None);
af309447
RD
6761 _resultobj = Py_None;
6762{
6763 PyObject *o;
6764 o = PyInt_FromLong((long) (*_arg2));
6765 _resultobj = t_output_helper(_resultobj, o);
6766}
6767{
6768 PyObject *o;
6769 o = PyInt_FromLong((long) (*_arg3));
6770 _resultobj = t_output_helper(_resultobj, o);
6771}
6772{
6773 if (_obj1)
6774 delete _arg1;
6775}
6776 return _resultobj;
6777}
6778
6779#define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1afc06c2 6780static PyObject *_wrap_wxDC_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6781 PyObject * _resultobj;
6782 wxDC * _arg0;
6783 wxString * _arg1;
6784 long * _arg2;
6785 long temp;
6786 long * _arg3;
6787 long temp0;
6788 long * _arg4;
6789 long temp1;
6790 long * _arg5;
6791 long temp2;
1d99702e
RD
6792 wxFont * _arg6 = (wxFont *) NULL;
6793 PyObject * _argo0 = 0;
8ab979d7 6794 PyObject * _obj1 = 0;
1d99702e 6795 PyObject * _argo6 = 0;
1afc06c2 6796 char *_kwnames[] = { "self","string","font", NULL };
8ab979d7
RD
6797
6798 self = self;
6799{
6800 _arg2 = &temp;
6801}
6802{
6803 _arg3 = &temp0;
6804}
6805{
6806 _arg4 = &temp1;
6807}
6808{
6809 _arg5 = &temp2;
6810}
1afc06c2 6811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxDC_GetFullTextExtent",_kwnames,&_argo0,&_obj1,&_argo6))
8ab979d7 6812 return NULL;
1d99702e
RD
6813 if (_argo0) {
6814 if (_argo0 == Py_None) { _arg0 = NULL; }
6815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
af309447 6816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
8ab979d7
RD
6817 return NULL;
6818 }
6819 }
6820{
c8bc7bb8
RD
6821 _arg1 = wxString_in_helper(_obj1);
6822 if (_arg1 == NULL)
185d7c3e 6823 return NULL;
8ab979d7 6824}
1d99702e
RD
6825 if (_argo6) {
6826 if (_argo6 == Py_None) { _arg6 = NULL; }
6827 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxFont_p")) {
af309447
RD
6828 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
6829 return NULL;
6830 }
6831 }
cf694132 6832{
4268f798 6833 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6834 wxDC_GetFullTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
cf694132 6835
4268f798 6836 wxPyEndAllowThreads(__tstate);
493f1553 6837 if (PyErr_Occurred()) return NULL;
cf694132 6838} Py_INCREF(Py_None);
8ab979d7
RD
6839 _resultobj = Py_None;
6840{
6841 PyObject *o;
6842 o = PyInt_FromLong((long) (*_arg2));
6843 _resultobj = t_output_helper(_resultobj, o);
6844}
6845{
6846 PyObject *o;
6847 o = PyInt_FromLong((long) (*_arg3));
6848 _resultobj = t_output_helper(_resultobj, o);
6849}
6850{
6851 PyObject *o;
6852 o = PyInt_FromLong((long) (*_arg4));
6853 _resultobj = t_output_helper(_resultobj, o);
6854}
6855{
6856 PyObject *o;
6857 o = PyInt_FromLong((long) (*_arg5));
6858 _resultobj = t_output_helper(_resultobj, o);
6859}
6860{
6861 if (_obj1)
6862 delete _arg1;
6863}
6864 return _resultobj;
6865}
6866
6867#define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
1afc06c2 6868static PyObject *_wrap_wxDC_GetTextForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6869 PyObject * _resultobj;
6870 wxColour * _result;
6871 wxDC * _arg0;
1d99702e 6872 PyObject * _argo0 = 0;
1afc06c2 6873 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6874 char _ptemp[128];
6875
6876 self = self;
1afc06c2 6877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetTextForeground",_kwnames,&_argo0))
8ab979d7 6878 return NULL;
1d99702e
RD
6879 if (_argo0) {
6880 if (_argo0 == Py_None) { _arg0 = NULL; }
6881 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6882 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
6883 return NULL;
6884 }
6885 }
cf694132 6886{
4268f798 6887 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6888 _result = new wxColour (wxDC_GetTextForeground(_arg0));
cf694132 6889
4268f798 6890 wxPyEndAllowThreads(__tstate);
493f1553 6891 if (PyErr_Occurred()) return NULL;
25832b3f
RD
6892} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
6893 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6894 return _resultobj;
6895}
6896
eec92d76
RD
6897#define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
6898static PyObject *_wrap_wxDC_GetUserScale(PyObject *self, PyObject *args, PyObject *kwargs) {
6899 PyObject * _resultobj;
6900 wxDC * _arg0;
6901 double * _arg1;
6902 double temp;
6903 double * _arg2;
6904 double temp0;
6905 PyObject * _argo0 = 0;
6906 char *_kwnames[] = { "self", NULL };
6907
6908 self = self;
6909{
6910 _arg1 = &temp;
6911}
6912{
6913 _arg2 = &temp0;
6914}
6915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetUserScale",_kwnames,&_argo0))
6916 return NULL;
6917 if (_argo0) {
6918 if (_argo0 == Py_None) { _arg0 = NULL; }
6919 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
6920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
6921 return NULL;
6922 }
6923 }
6924{
4268f798 6925 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6926 wxDC_GetUserScale(_arg0,_arg1,_arg2);
eec92d76 6927
4268f798 6928 wxPyEndAllowThreads(__tstate);
493f1553 6929 if (PyErr_Occurred()) return NULL;
eec92d76
RD
6930} Py_INCREF(Py_None);
6931 _resultobj = Py_None;
6932{
6933 PyObject *o;
6934 o = PyFloat_FromDouble((double) (*_arg1));
6935 _resultobj = t_output_helper(_resultobj, o);
6936}
6937{
6938 PyObject *o;
6939 o = PyFloat_FromDouble((double) (*_arg2));
6940 _resultobj = t_output_helper(_resultobj, o);
6941}
6942 return _resultobj;
6943}
6944
8ab979d7 6945#define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
1afc06c2 6946static PyObject *_wrap_wxDC_LogicalToDeviceX(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6947 PyObject * _resultobj;
6948 long _result;
6949 wxDC * _arg0;
6950 long _arg1;
1d99702e 6951 PyObject * _argo0 = 0;
1afc06c2 6952 char *_kwnames[] = { "self","x", NULL };
8ab979d7
RD
6953
6954 self = self;
1afc06c2 6955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_LogicalToDeviceX",_kwnames,&_argo0,&_arg1))
8ab979d7 6956 return NULL;
1d99702e
RD
6957 if (_argo0) {
6958 if (_argo0 == Py_None) { _arg0 = NULL; }
6959 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
6961 return NULL;
6962 }
6963 }
cf694132 6964{
4268f798 6965 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6966 _result = (long )wxDC_LogicalToDeviceX(_arg0,_arg1);
cf694132 6967
4268f798 6968 wxPyEndAllowThreads(__tstate);
493f1553 6969 if (PyErr_Occurred()) return NULL;
cf694132 6970} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
6971 return _resultobj;
6972}
6973
6974#define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
1afc06c2 6975static PyObject *_wrap_wxDC_LogicalToDeviceXRel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6976 PyObject * _resultobj;
6977 long _result;
6978 wxDC * _arg0;
6979 long _arg1;
1d99702e 6980 PyObject * _argo0 = 0;
1afc06c2 6981 char *_kwnames[] = { "self","x", NULL };
8ab979d7
RD
6982
6983 self = self;
1afc06c2 6984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_LogicalToDeviceXRel",_kwnames,&_argo0,&_arg1))
8ab979d7 6985 return NULL;
1d99702e
RD
6986 if (_argo0) {
6987 if (_argo0 == Py_None) { _arg0 = NULL; }
6988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
6990 return NULL;
6991 }
6992 }
cf694132 6993{
4268f798 6994 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6995 _result = (long )wxDC_LogicalToDeviceXRel(_arg0,_arg1);
cf694132 6996
4268f798 6997 wxPyEndAllowThreads(__tstate);
493f1553 6998 if (PyErr_Occurred()) return NULL;
cf694132 6999} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
7000 return _resultobj;
7001}
7002
7003#define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
1afc06c2 7004static PyObject *_wrap_wxDC_LogicalToDeviceY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7005 PyObject * _resultobj;
7006 long _result;
7007 wxDC * _arg0;
7008 long _arg1;
1d99702e 7009 PyObject * _argo0 = 0;
1afc06c2 7010 char *_kwnames[] = { "self","y", NULL };
8ab979d7
RD
7011
7012 self = self;
1afc06c2 7013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_LogicalToDeviceY",_kwnames,&_argo0,&_arg1))
8ab979d7 7014 return NULL;
1d99702e
RD
7015 if (_argo0) {
7016 if (_argo0 == Py_None) { _arg0 = NULL; }
7017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
7019 return NULL;
7020 }
7021 }
cf694132 7022{
4268f798 7023 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7024 _result = (long )wxDC_LogicalToDeviceY(_arg0,_arg1);
cf694132 7025
4268f798 7026 wxPyEndAllowThreads(__tstate);
493f1553 7027 if (PyErr_Occurred()) return NULL;
cf694132 7028} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
7029 return _resultobj;
7030}
7031
7032#define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
1afc06c2 7033static PyObject *_wrap_wxDC_LogicalToDeviceYRel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7034 PyObject * _resultobj;
7035 long _result;
7036 wxDC * _arg0;
7037 long _arg1;
1d99702e 7038 PyObject * _argo0 = 0;
1afc06c2 7039 char *_kwnames[] = { "self","y", NULL };
8ab979d7
RD
7040
7041 self = self;
1afc06c2 7042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_LogicalToDeviceYRel",_kwnames,&_argo0,&_arg1))
8ab979d7 7043 return NULL;
1d99702e
RD
7044 if (_argo0) {
7045 if (_argo0 == Py_None) { _arg0 = NULL; }
7046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
7048 return NULL;
7049 }
7050 }
cf694132 7051{
4268f798 7052 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7053 _result = (long )wxDC_LogicalToDeviceYRel(_arg0,_arg1);
cf694132 7054
4268f798 7055 wxPyEndAllowThreads(__tstate);
493f1553 7056 if (PyErr_Occurred()) return NULL;
cf694132 7057} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
7058 return _resultobj;
7059}
7060
7061#define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
1afc06c2 7062static PyObject *_wrap_wxDC_MaxX(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7063 PyObject * _resultobj;
7064 long _result;
7065 wxDC * _arg0;
1d99702e 7066 PyObject * _argo0 = 0;
1afc06c2 7067 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7068
7069 self = self;
1afc06c2 7070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_MaxX",_kwnames,&_argo0))
8ab979d7 7071 return NULL;
1d99702e
RD
7072 if (_argo0) {
7073 if (_argo0 == Py_None) { _arg0 = NULL; }
7074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
7076 return NULL;
7077 }
7078 }
cf694132 7079{
4268f798 7080 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7081 _result = (long )wxDC_MaxX(_arg0);
cf694132 7082
4268f798 7083 wxPyEndAllowThreads(__tstate);
493f1553 7084 if (PyErr_Occurred()) return NULL;
cf694132 7085} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
7086 return _resultobj;
7087}
7088
7089#define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
1afc06c2 7090static PyObject *_wrap_wxDC_MaxY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7091 PyObject * _resultobj;
7092 long _result;
7093 wxDC * _arg0;
1d99702e 7094 PyObject * _argo0 = 0;
1afc06c2 7095 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7096
7097 self = self;
1afc06c2 7098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_MaxY",_kwnames,&_argo0))
8ab979d7 7099 return NULL;
1d99702e
RD
7100 if (_argo0) {
7101 if (_argo0 == Py_None) { _arg0 = NULL; }
7102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
7104 return NULL;
7105 }
7106 }
cf694132 7107{
4268f798 7108 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7109 _result = (long )wxDC_MaxY(_arg0);
cf694132 7110
4268f798 7111 wxPyEndAllowThreads(__tstate);
493f1553 7112 if (PyErr_Occurred()) return NULL;
cf694132 7113} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
7114 return _resultobj;
7115}
7116
7117#define wxDC_MinX(_swigobj) (_swigobj->MinX())
1afc06c2 7118static PyObject *_wrap_wxDC_MinX(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7119 PyObject * _resultobj;
7120 long _result;
7121 wxDC * _arg0;
1d99702e 7122 PyObject * _argo0 = 0;
1afc06c2 7123 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7124
7125 self = self;
1afc06c2 7126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_MinX",_kwnames,&_argo0))
8ab979d7 7127 return NULL;
1d99702e
RD
7128 if (_argo0) {
7129 if (_argo0 == Py_None) { _arg0 = NULL; }
7130 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
7132 return NULL;
7133 }
7134 }
cf694132 7135{
4268f798 7136 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7137 _result = (long )wxDC_MinX(_arg0);
cf694132 7138
4268f798 7139 wxPyEndAllowThreads(__tstate);
493f1553 7140 if (PyErr_Occurred()) return NULL;
cf694132 7141} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
7142 return _resultobj;
7143}
7144
7145#define wxDC_MinY(_swigobj) (_swigobj->MinY())
1afc06c2 7146static PyObject *_wrap_wxDC_MinY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7147 PyObject * _resultobj;
7148 long _result;
7149 wxDC * _arg0;
1d99702e 7150 PyObject * _argo0 = 0;
1afc06c2 7151 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7152
7153 self = self;
1afc06c2 7154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_MinY",_kwnames,&_argo0))
8ab979d7 7155 return NULL;
1d99702e
RD
7156 if (_argo0) {
7157 if (_argo0 == Py_None) { _arg0 = NULL; }
7158 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7159 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
7160 return NULL;
7161 }
7162 }
cf694132 7163{
4268f798 7164 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7165 _result = (long )wxDC_MinY(_arg0);
cf694132 7166
4268f798 7167 wxPyEndAllowThreads(__tstate);
493f1553 7168 if (PyErr_Occurred()) return NULL;
cf694132 7169} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
7170 return _resultobj;
7171}
7172
7173#define wxDC_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 7174static PyObject *_wrap_wxDC_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7175 PyObject * _resultobj;
7176 bool _result;
7177 wxDC * _arg0;
1d99702e 7178 PyObject * _argo0 = 0;
1afc06c2 7179 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7180
7181 self = self;
1afc06c2 7182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_Ok",_kwnames,&_argo0))
8ab979d7 7183 return NULL;
1d99702e
RD
7184 if (_argo0) {
7185 if (_argo0 == Py_None) { _arg0 = NULL; }
7186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
7188 return NULL;
7189 }
7190 }
cf694132 7191{
4268f798 7192 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7193 _result = (bool )wxDC_Ok(_arg0);
cf694132 7194
4268f798 7195 wxPyEndAllowThreads(__tstate);
493f1553 7196 if (PyErr_Occurred()) return NULL;
cf694132 7197} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7198 return _resultobj;
7199}
7200
7201#define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
1afc06c2 7202static PyObject *_wrap_wxDC_SetDeviceOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7203 PyObject * _resultobj;
7204 wxDC * _arg0;
7205 long _arg1;
7206 long _arg2;
1d99702e 7207 PyObject * _argo0 = 0;
1afc06c2 7208 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
7209
7210 self = self;
1afc06c2 7211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxDC_SetDeviceOrigin",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 7212 return NULL;
1d99702e
RD
7213 if (_argo0) {
7214 if (_argo0 == Py_None) { _arg0 = NULL; }
7215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
7217 return NULL;
7218 }
7219 }
cf694132 7220{
4268f798 7221 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7222 wxDC_SetDeviceOrigin(_arg0,_arg1,_arg2);
cf694132 7223
4268f798 7224 wxPyEndAllowThreads(__tstate);
493f1553 7225 if (PyErr_Occurred()) return NULL;
cf694132 7226} Py_INCREF(Py_None);
8ab979d7
RD
7227 _resultobj = Py_None;
7228 return _resultobj;
7229}
7230
7231#define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
1afc06c2 7232static PyObject *_wrap_wxDC_SetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7233 PyObject * _resultobj;
7234 wxDC * _arg0;
7235 wxBrush * _arg1;
1d99702e
RD
7236 PyObject * _argo0 = 0;
7237 PyObject * _argo1 = 0;
1afc06c2 7238 char *_kwnames[] = { "self","brush", NULL };
8ab979d7
RD
7239
7240 self = self;
1afc06c2 7241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetBackground",_kwnames,&_argo0,&_argo1))
8ab979d7 7242 return NULL;
1d99702e
RD
7243 if (_argo0) {
7244 if (_argo0 == Py_None) { _arg0 = NULL; }
7245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
7247 return NULL;
7248 }
7249 }
1d99702e
RD
7250 if (_argo1) {
7251 if (_argo1 == Py_None) { _arg1 = NULL; }
7252 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) {
8ab979d7
RD
7253 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
7254 return NULL;
7255 }
7256 }
cf694132 7257{
4268f798 7258 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7259 wxDC_SetBackground(_arg0,*_arg1);
cf694132 7260
4268f798 7261 wxPyEndAllowThreads(__tstate);
493f1553 7262 if (PyErr_Occurred()) return NULL;
cf694132 7263} Py_INCREF(Py_None);
8ab979d7
RD
7264 _resultobj = Py_None;
7265 return _resultobj;
7266}
7267
7268#define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
1afc06c2 7269static PyObject *_wrap_wxDC_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7270 PyObject * _resultobj;
7271 wxDC * _arg0;
7272 int _arg1;
1d99702e 7273 PyObject * _argo0 = 0;
1afc06c2 7274 char *_kwnames[] = { "self","mode", NULL };
8ab979d7
RD
7275
7276 self = self;
1afc06c2 7277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_SetBackgroundMode",_kwnames,&_argo0,&_arg1))
8ab979d7 7278 return NULL;
1d99702e
RD
7279 if (_argo0) {
7280 if (_argo0 == Py_None) { _arg0 = NULL; }
7281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
7283 return NULL;
7284 }
7285 }
cf694132 7286{
4268f798 7287 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7288 wxDC_SetBackgroundMode(_arg0,_arg1);
cf694132 7289
4268f798 7290 wxPyEndAllowThreads(__tstate);
493f1553 7291 if (PyErr_Occurred()) return NULL;
cf694132 7292} Py_INCREF(Py_None);
8ab979d7
RD
7293 _resultobj = Py_None;
7294 return _resultobj;
7295}
7296
7297#define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 7298static PyObject *_wrap_wxDC_SetClippingRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7299 PyObject * _resultobj;
7300 wxDC * _arg0;
7301 long _arg1;
7302 long _arg2;
7303 long _arg3;
7304 long _arg4;
1d99702e 7305 PyObject * _argo0 = 0;
1afc06c2 7306 char *_kwnames[] = { "self","x","y","width","height", NULL };
8ab979d7
RD
7307
7308 self = self;
1afc06c2 7309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxDC_SetClippingRegion",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8ab979d7 7310 return NULL;
1d99702e
RD
7311 if (_argo0) {
7312 if (_argo0 == Py_None) { _arg0 = NULL; }
7313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
7315 return NULL;
7316 }
7317 }
cf694132 7318{
4268f798 7319 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7320 wxDC_SetClippingRegion(_arg0,_arg1,_arg2,_arg3,_arg4);
cf694132 7321
4268f798 7322 wxPyEndAllowThreads(__tstate);
493f1553 7323 if (PyErr_Occurred()) return NULL;
cf694132 7324} Py_INCREF(Py_None);
8ab979d7
RD
7325 _resultobj = Py_None;
7326 return _resultobj;
7327}
7328
19a97bd6
RD
7329#define wxDC_SetClippingRegionAsRegion(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
7330static PyObject *_wrap_wxDC_SetClippingRegionAsRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
7331 PyObject * _resultobj;
7332 wxDC * _arg0;
7333 wxRegion * _arg1;
7334 PyObject * _argo0 = 0;
7335 PyObject * _argo1 = 0;
7336 char *_kwnames[] = { "self","region", NULL };
7337
7338 self = self;
7339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetClippingRegionAsRegion",_kwnames,&_argo0,&_argo1))
7340 return NULL;
7341 if (_argo0) {
7342 if (_argo0 == Py_None) { _arg0 = NULL; }
7343 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
7344 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetClippingRegionAsRegion. Expected _wxDC_p.");
7345 return NULL;
7346 }
7347 }
7348 if (_argo1) {
7349 if (_argo1 == Py_None) { _arg1 = NULL; }
7350 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
7351 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetClippingRegionAsRegion. Expected _wxRegion_p.");
7352 return NULL;
7353 }
7354 }
7355{
4268f798 7356 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7357 wxDC_SetClippingRegionAsRegion(_arg0,*_arg1);
19a97bd6 7358
4268f798 7359 wxPyEndAllowThreads(__tstate);
19a97bd6
RD
7360 if (PyErr_Occurred()) return NULL;
7361} Py_INCREF(Py_None);
7362 _resultobj = Py_None;
7363 return _resultobj;
7364}
7365
8ab979d7 7366#define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1afc06c2 7367static PyObject *_wrap_wxDC_SetPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7368 PyObject * _resultobj;
7369 wxDC * _arg0;
7370 wxPalette * _arg1;
1d99702e
RD
7371 PyObject * _argo0 = 0;
7372 PyObject * _argo1 = 0;
1afc06c2 7373 char *_kwnames[] = { "self","colourMap", NULL };
8ab979d7
RD
7374
7375 self = self;
1afc06c2 7376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetPalette",_kwnames,&_argo0,&_argo1))
8ab979d7 7377 return NULL;
1d99702e
RD
7378 if (_argo0) {
7379 if (_argo0 == Py_None) { _arg0 = NULL; }
7380 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7381 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
7382 return NULL;
7383 }
7384 }
1d99702e
RD
7385 if (_argo1) {
7386 if (_argo1 == Py_None) { _arg1 = NULL; }
7387 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPalette_p")) {
8ab979d7
RD
7388 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
7389 return NULL;
7390 }
7391 }
cf694132 7392{
4268f798 7393 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7394 wxDC_SetPalette(_arg0,*_arg1);
cf694132 7395
4268f798 7396 wxPyEndAllowThreads(__tstate);
493f1553 7397 if (PyErr_Occurred()) return NULL;
cf694132 7398} Py_INCREF(Py_None);
8ab979d7
RD
7399 _resultobj = Py_None;
7400 return _resultobj;
7401}
7402
7403#define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
1afc06c2 7404static PyObject *_wrap_wxDC_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7405 PyObject * _resultobj;
7406 wxDC * _arg0;
7407 wxBrush * _arg1;
1d99702e
RD
7408 PyObject * _argo0 = 0;
7409 PyObject * _argo1 = 0;
1afc06c2 7410 char *_kwnames[] = { "self","brush", NULL };
8ab979d7
RD
7411
7412 self = self;
1afc06c2 7413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetBrush",_kwnames,&_argo0,&_argo1))
8ab979d7 7414 return NULL;
1d99702e
RD
7415 if (_argo0) {
7416 if (_argo0 == Py_None) { _arg0 = NULL; }
7417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
7419 return NULL;
7420 }
7421 }
1d99702e
RD
7422 if (_argo1) {
7423 if (_argo1 == Py_None) { _arg1 = NULL; }
7424 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) {
8ab979d7
RD
7425 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
7426 return NULL;
7427 }
7428 }
cf694132 7429{
4268f798 7430 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7431 wxDC_SetBrush(_arg0,*_arg1);
cf694132 7432
4268f798 7433 wxPyEndAllowThreads(__tstate);
493f1553 7434 if (PyErr_Occurred()) return NULL;
cf694132 7435} Py_INCREF(Py_None);
8ab979d7
RD
7436 _resultobj = Py_None;
7437 return _resultobj;
7438}
7439
7440#define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1afc06c2 7441static PyObject *_wrap_wxDC_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7442 PyObject * _resultobj;
7443 wxDC * _arg0;
7444 wxFont * _arg1;
1d99702e
RD
7445 PyObject * _argo0 = 0;
7446 PyObject * _argo1 = 0;
1afc06c2 7447 char *_kwnames[] = { "self","font", NULL };
8ab979d7
RD
7448
7449 self = self;
1afc06c2 7450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetFont",_kwnames,&_argo0,&_argo1))
8ab979d7 7451 return NULL;
1d99702e
RD
7452 if (_argo0) {
7453 if (_argo0 == Py_None) { _arg0 = NULL; }
7454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
7456 return NULL;
7457 }
7458 }
1d99702e
RD
7459 if (_argo1) {
7460 if (_argo1 == Py_None) { _arg1 = NULL; }
7461 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
8ab979d7
RD
7462 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
7463 return NULL;
7464 }
7465 }
cf694132 7466{
4268f798 7467 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7468 wxDC_SetFont(_arg0,*_arg1);
cf694132 7469
4268f798 7470 wxPyEndAllowThreads(__tstate);
493f1553 7471 if (PyErr_Occurred()) return NULL;
cf694132 7472} Py_INCREF(Py_None);
8ab979d7
RD
7473 _resultobj = Py_None;
7474 return _resultobj;
7475}
7476
7477#define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
1afc06c2 7478static PyObject *_wrap_wxDC_SetLogicalFunction(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7479 PyObject * _resultobj;
7480 wxDC * _arg0;
7481 int _arg1;
1d99702e 7482 PyObject * _argo0 = 0;
1afc06c2 7483 char *_kwnames[] = { "self","function", NULL };
8ab979d7
RD
7484
7485 self = self;
1afc06c2 7486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_SetLogicalFunction",_kwnames,&_argo0,&_arg1))
8ab979d7 7487 return NULL;
1d99702e
RD
7488 if (_argo0) {
7489 if (_argo0 == Py_None) { _arg0 = NULL; }
7490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
7492 return NULL;
7493 }
7494 }
cf694132 7495{
4268f798 7496 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7497 wxDC_SetLogicalFunction(_arg0,_arg1);
cf694132 7498
4268f798 7499 wxPyEndAllowThreads(__tstate);
493f1553 7500 if (PyErr_Occurred()) return NULL;
cf694132 7501} Py_INCREF(Py_None);
8ab979d7
RD
7502 _resultobj = Py_None;
7503 return _resultobj;
7504}
7505
eec92d76
RD
7506#define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
7507static PyObject *_wrap_wxDC_SetLogicalScale(PyObject *self, PyObject *args, PyObject *kwargs) {
7508 PyObject * _resultobj;
7509 wxDC * _arg0;
7510 double _arg1;
7511 double _arg2;
7512 PyObject * _argo0 = 0;
7513 char *_kwnames[] = { "self","x","y", NULL };
7514
7515 self = self;
7516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxDC_SetLogicalScale",_kwnames,&_argo0,&_arg1,&_arg2))
7517 return NULL;
7518 if (_argo0) {
7519 if (_argo0 == Py_None) { _arg0 = NULL; }
7520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
7521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
7522 return NULL;
7523 }
7524 }
7525{
4268f798 7526 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7527 wxDC_SetLogicalScale(_arg0,_arg1,_arg2);
eec92d76 7528
4268f798 7529 wxPyEndAllowThreads(__tstate);
493f1553 7530 if (PyErr_Occurred()) return NULL;
eec92d76
RD
7531} Py_INCREF(Py_None);
7532 _resultobj = Py_None;
7533 return _resultobj;
7534}
7535
8ab979d7 7536#define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
1afc06c2 7537static PyObject *_wrap_wxDC_SetMapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7538 PyObject * _resultobj;
7539 wxDC * _arg0;
7540 int _arg1;
1d99702e 7541 PyObject * _argo0 = 0;
1afc06c2 7542 char *_kwnames[] = { "self","mode", NULL };
8ab979d7
RD
7543
7544 self = self;
1afc06c2 7545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_SetMapMode",_kwnames,&_argo0,&_arg1))
8ab979d7 7546 return NULL;
1d99702e
RD
7547 if (_argo0) {
7548 if (_argo0 == Py_None) { _arg0 = NULL; }
7549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
7551 return NULL;
7552 }
7553 }
cf694132 7554{
4268f798 7555 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7556 wxDC_SetMapMode(_arg0,_arg1);
cf694132 7557
4268f798 7558 wxPyEndAllowThreads(__tstate);
493f1553 7559 if (PyErr_Occurred()) return NULL;
cf694132 7560} Py_INCREF(Py_None);
8ab979d7
RD
7561 _resultobj = Py_None;
7562 return _resultobj;
7563}
7564
7565#define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
1afc06c2 7566static PyObject *_wrap_wxDC_SetOptimization(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7567 PyObject * _resultobj;
7568 wxDC * _arg0;
7569 bool _arg1;
1d99702e 7570 PyObject * _argo0 = 0;
8ab979d7 7571 int tempbool1;
1afc06c2 7572 char *_kwnames[] = { "self","optimize", NULL };
8ab979d7
RD
7573
7574 self = self;
1afc06c2 7575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_SetOptimization",_kwnames,&_argo0,&tempbool1))
8ab979d7 7576 return NULL;
1d99702e
RD
7577 if (_argo0) {
7578 if (_argo0 == Py_None) { _arg0 = NULL; }
7579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
7581 return NULL;
7582 }
7583 }
7584 _arg1 = (bool ) tempbool1;
cf694132 7585{
4268f798 7586 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7587 wxDC_SetOptimization(_arg0,_arg1);
cf694132 7588
4268f798 7589 wxPyEndAllowThreads(__tstate);
493f1553 7590 if (PyErr_Occurred()) return NULL;
cf694132 7591} Py_INCREF(Py_None);
8ab979d7
RD
7592 _resultobj = Py_None;
7593 return _resultobj;
7594}
7595
7596#define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
1afc06c2 7597static PyObject *_wrap_wxDC_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7598 PyObject * _resultobj;
7599 wxDC * _arg0;
7600 wxPen * _arg1;
1d99702e
RD
7601 PyObject * _argo0 = 0;
7602 PyObject * _argo1 = 0;
1afc06c2 7603 char *_kwnames[] = { "self","pen", NULL };
8ab979d7
RD
7604
7605 self = self;
1afc06c2 7606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetPen",_kwnames,&_argo0,&_argo1))
8ab979d7 7607 return NULL;
1d99702e
RD
7608 if (_argo0) {
7609 if (_argo0 == Py_None) { _arg0 = NULL; }
7610 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7611 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
7612 return NULL;
7613 }
7614 }
1d99702e
RD
7615 if (_argo1) {
7616 if (_argo1 == Py_None) { _arg1 = NULL; }
7617 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) {
8ab979d7
RD
7618 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
7619 return NULL;
7620 }
7621 }
cf694132 7622{
4268f798 7623 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7624 wxDC_SetPen(_arg0,*_arg1);
cf694132 7625
4268f798 7626 wxPyEndAllowThreads(__tstate);
493f1553 7627 if (PyErr_Occurred()) return NULL;
cf694132 7628} Py_INCREF(Py_None);
8ab979d7
RD
7629 _resultobj = Py_None;
7630 return _resultobj;
7631}
7632
7633#define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
1afc06c2 7634static PyObject *_wrap_wxDC_SetTextBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7635 PyObject * _resultobj;
7636 wxDC * _arg0;
7637 wxColour * _arg1;
1d99702e 7638 PyObject * _argo0 = 0;
f6bcfd97
BP
7639 wxColour temp;
7640 PyObject * _obj1 = 0;
1afc06c2 7641 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
7642
7643 self = self;
f6bcfd97 7644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetTextBackground",_kwnames,&_argo0,&_obj1))
8ab979d7 7645 return NULL;
1d99702e
RD
7646 if (_argo0) {
7647 if (_argo0 == Py_None) { _arg0 = NULL; }
7648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
7650 return NULL;
7651 }
7652 }
f6bcfd97
BP
7653{
7654 _arg1 = &temp;
7655 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 7656 return NULL;
f6bcfd97 7657}
cf694132 7658{
4268f798 7659 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7660 wxDC_SetTextBackground(_arg0,*_arg1);
cf694132 7661
4268f798 7662 wxPyEndAllowThreads(__tstate);
493f1553 7663 if (PyErr_Occurred()) return NULL;
cf694132 7664} Py_INCREF(Py_None);
8ab979d7
RD
7665 _resultobj = Py_None;
7666 return _resultobj;
7667}
7668
7669#define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
1afc06c2 7670static PyObject *_wrap_wxDC_SetTextForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7671 PyObject * _resultobj;
7672 wxDC * _arg0;
7673 wxColour * _arg1;
1d99702e 7674 PyObject * _argo0 = 0;
f6bcfd97
BP
7675 wxColour temp;
7676 PyObject * _obj1 = 0;
1afc06c2 7677 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
7678
7679 self = self;
f6bcfd97 7680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetTextForeground",_kwnames,&_argo0,&_obj1))
8ab979d7 7681 return NULL;
1d99702e
RD
7682 if (_argo0) {
7683 if (_argo0 == Py_None) { _arg0 = NULL; }
7684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
7686 return NULL;
7687 }
7688 }
f6bcfd97
BP
7689{
7690 _arg1 = &temp;
7691 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 7692 return NULL;
f6bcfd97 7693}
cf694132 7694{
4268f798 7695 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7696 wxDC_SetTextForeground(_arg0,*_arg1);
cf694132 7697
4268f798 7698 wxPyEndAllowThreads(__tstate);
493f1553 7699 if (PyErr_Occurred()) return NULL;
cf694132 7700} Py_INCREF(Py_None);
8ab979d7
RD
7701 _resultobj = Py_None;
7702 return _resultobj;
7703}
7704
7705#define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
1afc06c2 7706static PyObject *_wrap_wxDC_SetUserScale(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7707 PyObject * _resultobj;
7708 wxDC * _arg0;
7709 double _arg1;
7710 double _arg2;
1d99702e 7711 PyObject * _argo0 = 0;
1afc06c2 7712 char *_kwnames[] = { "self","x_scale","y_scale", NULL };
8ab979d7
RD
7713
7714 self = self;
1afc06c2 7715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxDC_SetUserScale",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 7716 return NULL;
1d99702e
RD
7717 if (_argo0) {
7718 if (_argo0 == Py_None) { _arg0 = NULL; }
7719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
7721 return NULL;
7722 }
7723 }
cf694132 7724{
4268f798 7725 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7726 wxDC_SetUserScale(_arg0,_arg1,_arg2);
cf694132 7727
4268f798 7728 wxPyEndAllowThreads(__tstate);
493f1553 7729 if (PyErr_Occurred()) return NULL;
cf694132 7730} Py_INCREF(Py_None);
8ab979d7
RD
7731 _resultobj = Py_None;
7732 return _resultobj;
7733}
7734
7735#define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
1afc06c2 7736static PyObject *_wrap_wxDC_StartDoc(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7737 PyObject * _resultobj;
7738 bool _result;
7739 wxDC * _arg0;
7740 wxString * _arg1;
1d99702e 7741 PyObject * _argo0 = 0;
8ab979d7 7742 PyObject * _obj1 = 0;
1afc06c2 7743 char *_kwnames[] = { "self","message", NULL };
8ab979d7
RD
7744
7745 self = self;
1afc06c2 7746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_StartDoc",_kwnames,&_argo0,&_obj1))
8ab979d7 7747 return NULL;
1d99702e
RD
7748 if (_argo0) {
7749 if (_argo0 == Py_None) { _arg0 = NULL; }
7750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
7752 return NULL;
7753 }
7754 }
7755{
c8bc7bb8
RD
7756 _arg1 = wxString_in_helper(_obj1);
7757 if (_arg1 == NULL)
185d7c3e 7758 return NULL;
8ab979d7 7759}
cf694132 7760{
4268f798 7761 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7762 _result = (bool )wxDC_StartDoc(_arg0,*_arg1);
cf694132 7763
4268f798 7764 wxPyEndAllowThreads(__tstate);
493f1553 7765 if (PyErr_Occurred()) return NULL;
cf694132 7766} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7767{
7768 if (_obj1)
7769 delete _arg1;
7770}
7771 return _resultobj;
7772}
7773
7774#define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
1afc06c2 7775static PyObject *_wrap_wxDC_StartPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7776 PyObject * _resultobj;
7777 wxDC * _arg0;
1d99702e 7778 PyObject * _argo0 = 0;
1afc06c2 7779 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7780
7781 self = self;
1afc06c2 7782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_StartPage",_kwnames,&_argo0))
8ab979d7 7783 return NULL;
1d99702e
RD
7784 if (_argo0) {
7785 if (_argo0 == Py_None) { _arg0 = NULL; }
7786 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7787 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
7788 return NULL;
7789 }
7790 }
cf694132 7791{
4268f798 7792 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7793 wxDC_StartPage(_arg0);
cf694132 7794
4268f798 7795 wxPyEndAllowThreads(__tstate);
493f1553 7796 if (PyErr_Occurred()) return NULL;
cf694132 7797} Py_INCREF(Py_None);
8ab979d7
RD
7798 _resultobj = Py_None;
7799 return _resultobj;
7800}
7801
efc5f224 7802#define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 7803static PyObject *_wrap_wxDC_DrawBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7804 PyObject * _resultobj;
7805 wxDC * _arg0;
7806 wxBitmap * _arg1;
7807 long _arg2;
7808 long _arg3;
efc5f224 7809 int _arg4 = (int ) FALSE;
1d99702e
RD
7810 PyObject * _argo0 = 0;
7811 PyObject * _argo1 = 0;
1afc06c2 7812 char *_kwnames[] = { "self","bitmap","x","y","useMask", NULL };
8ab979d7
RD
7813
7814 self = self;
1afc06c2 7815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOll|i:wxDC_DrawBitmap",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4))
8ab979d7 7816 return NULL;
1d99702e
RD
7817 if (_argo0) {
7818 if (_argo0 == Py_None) { _arg0 = NULL; }
7819 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
7821 return NULL;
7822 }
7823 }
1d99702e
RD
7824 if (_argo1) {
7825 if (_argo1 == Py_None) { _arg1 = NULL; }
7826 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
7827 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
7828 return NULL;
7829 }
7830 }
cf694132 7831{
4268f798 7832 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7833 wxDC_DrawBitmap(_arg0,*_arg1,_arg2,_arg3,_arg4);
cf694132 7834
4268f798 7835 wxPyEndAllowThreads(__tstate);
493f1553 7836 if (PyErr_Occurred()) return NULL;
cf694132 7837} Py_INCREF(Py_None);
8ab979d7
RD
7838 _resultobj = Py_None;
7839 return _resultobj;
7840}
7841
eec92d76
RD
7842#define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
7843static PyObject *_wrap_wxDC_CanDrawBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
7844 PyObject * _resultobj;
7845 bool _result;
7846 wxDC * _arg0;
7847 PyObject * _argo0 = 0;
7848 char *_kwnames[] = { "self", NULL };
7849
7850 self = self;
7851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_CanDrawBitmap",_kwnames,&_argo0))
7852 return NULL;
7853 if (_argo0) {
7854 if (_argo0 == Py_None) { _arg0 = NULL; }
7855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
7856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
7857 return NULL;
7858 }
7859 }
7860{
4268f798 7861 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7862 _result = (bool )wxDC_CanDrawBitmap(_arg0);
eec92d76 7863
4268f798 7864 wxPyEndAllowThreads(__tstate);
493f1553 7865 if (PyErr_Occurred()) return NULL;
eec92d76
RD
7866} _resultobj = Py_BuildValue("i",_result);
7867 return _resultobj;
7868}
7869
7870#define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
7871static PyObject *_wrap_wxDC_CanGetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
7872 PyObject * _resultobj;
7873 bool _result;
7874 wxDC * _arg0;
7875 PyObject * _argo0 = 0;
7876 char *_kwnames[] = { "self", NULL };
7877
7878 self = self;
7879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_CanGetTextExtent",_kwnames,&_argo0))
7880 return NULL;
7881 if (_argo0) {
7882 if (_argo0 == Py_None) { _arg0 = NULL; }
7883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
7884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
7885 return NULL;
7886 }
7887 }
7888{
4268f798 7889 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7890 _result = (bool )wxDC_CanGetTextExtent(_arg0);
eec92d76 7891
4268f798 7892 wxPyEndAllowThreads(__tstate);
493f1553 7893 if (PyErr_Occurred()) return NULL;
eec92d76
RD
7894} _resultobj = Py_BuildValue("i",_result);
7895 return _resultobj;
7896}
7897
7898#define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
7899static PyObject *_wrap_wxDC_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
7900 PyObject * _resultobj;
7901 int _result;
7902 wxDC * _arg0;
7903 PyObject * _argo0 = 0;
7904 char *_kwnames[] = { "self", NULL };
7905
7906 self = self;
7907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetDepth",_kwnames,&_argo0))
7908 return NULL;
7909 if (_argo0) {
7910 if (_argo0 == Py_None) { _arg0 = NULL; }
7911 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
7912 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
7913 return NULL;
7914 }
7915 }
7916{
4268f798 7917 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7918 _result = (int )wxDC_GetDepth(_arg0);
eec92d76 7919
4268f798 7920 wxPyEndAllowThreads(__tstate);
493f1553 7921 if (PyErr_Occurred()) return NULL;
eec92d76
RD
7922} _resultobj = Py_BuildValue("i",_result);
7923 return _resultobj;
7924}
7925
7926#define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
7927static PyObject *_wrap_wxDC_GetPPI(PyObject *self, PyObject *args, PyObject *kwargs) {
7928 PyObject * _resultobj;
7929 wxSize * _result;
7930 wxDC * _arg0;
7931 PyObject * _argo0 = 0;
7932 char *_kwnames[] = { "self", NULL };
7933 char _ptemp[128];
7934
7935 self = self;
7936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetPPI",_kwnames,&_argo0))
7937 return NULL;
7938 if (_argo0) {
7939 if (_argo0 == Py_None) { _arg0 = NULL; }
7940 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
7941 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
7942 return NULL;
7943 }
7944 }
7945{
4268f798 7946 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7947 _result = new wxSize (wxDC_GetPPI(_arg0));
eec92d76 7948
4268f798 7949 wxPyEndAllowThreads(__tstate);
493f1553 7950 if (PyErr_Occurred()) return NULL;
eec92d76
RD
7951} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
7952 _resultobj = Py_BuildValue("s",_ptemp);
7953 return _resultobj;
7954}
7955
7956#define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
7957static PyObject *_wrap_wxDC_GetLogicalOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
7958 PyObject * _resultobj;
7959 wxDC * _arg0;
7960 int * _arg1;
7961 int temp;
7962 int * _arg2;
7963 int temp0;
7964 PyObject * _argo0 = 0;
7965 char *_kwnames[] = { "self", NULL };
7966
7967 self = self;
7968{
7969 _arg1 = &temp;
7970}
7971{
7972 _arg2 = &temp0;
7973}
7974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetLogicalOrigin",_kwnames,&_argo0))
7975 return NULL;
7976 if (_argo0) {
7977 if (_argo0 == Py_None) { _arg0 = NULL; }
7978 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
7979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
7980 return NULL;
7981 }
7982 }
7983{
4268f798 7984 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7985 wxDC_GetLogicalOrigin(_arg0,_arg1,_arg2);
eec92d76 7986
4268f798 7987 wxPyEndAllowThreads(__tstate);
493f1553 7988 if (PyErr_Occurred()) return NULL;
eec92d76
RD
7989} Py_INCREF(Py_None);
7990 _resultobj = Py_None;
7991{
7992 PyObject *o;
7993 o = PyInt_FromLong((long) (*_arg1));
7994 _resultobj = t_output_helper(_resultobj, o);
7995}
7996{
7997 PyObject *o;
7998 o = PyInt_FromLong((long) (*_arg2));
7999 _resultobj = t_output_helper(_resultobj, o);
8000}
8001 return _resultobj;
8002}
8003
8004#define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
8005static PyObject *_wrap_wxDC_SetLogicalOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
8006 PyObject * _resultobj;
8007 wxDC * _arg0;
8008 int _arg1;
8009 int _arg2;
8010 PyObject * _argo0 = 0;
8011 char *_kwnames[] = { "self","x","y", NULL };
8012
8013 self = self;
8014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxDC_SetLogicalOrigin",_kwnames,&_argo0,&_arg1,&_arg2))
8015 return NULL;
8016 if (_argo0) {
8017 if (_argo0 == Py_None) { _arg0 = NULL; }
8018 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
8020 return NULL;
8021 }
8022 }
8023{
4268f798 8024 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8025 wxDC_SetLogicalOrigin(_arg0,_arg1,_arg2);
eec92d76 8026
4268f798 8027 wxPyEndAllowThreads(__tstate);
493f1553 8028 if (PyErr_Occurred()) return NULL;
eec92d76
RD
8029} Py_INCREF(Py_None);
8030 _resultobj = Py_None;
8031 return _resultobj;
8032}
8033
8034#define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
8035static PyObject *_wrap_wxDC_GetDeviceOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
8036 PyObject * _resultobj;
8037 wxDC * _arg0;
8038 int * _arg1;
8039 int temp;
8040 int * _arg2;
8041 int temp0;
8042 PyObject * _argo0 = 0;
8043 char *_kwnames[] = { "self", NULL };
8044
8045 self = self;
8046{
8047 _arg1 = &temp;
8048}
8049{
8050 _arg2 = &temp0;
8051}
8052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetDeviceOrigin",_kwnames,&_argo0))
8053 return NULL;
8054 if (_argo0) {
8055 if (_argo0 == Py_None) { _arg0 = NULL; }
8056 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8057 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
8058 return NULL;
8059 }
8060 }
8061{
4268f798 8062 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8063 wxDC_GetDeviceOrigin(_arg0,_arg1,_arg2);
eec92d76 8064
4268f798 8065 wxPyEndAllowThreads(__tstate);
493f1553 8066 if (PyErr_Occurred()) return NULL;
eec92d76
RD
8067} Py_INCREF(Py_None);
8068 _resultobj = Py_None;
8069{
8070 PyObject *o;
8071 o = PyInt_FromLong((long) (*_arg1));
8072 _resultobj = t_output_helper(_resultobj, o);
8073}
8074{
8075 PyObject *o;
8076 o = PyInt_FromLong((long) (*_arg2));
8077 _resultobj = t_output_helper(_resultobj, o);
8078}
8079 return _resultobj;
8080}
8081
8082#define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
8083static PyObject *_wrap_wxDC_SetAxisOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8084 PyObject * _resultobj;
8085 wxDC * _arg0;
8086 bool _arg1;
8087 bool _arg2;
8088 PyObject * _argo0 = 0;
8089 int tempbool1;
8090 int tempbool2;
8091 char *_kwnames[] = { "self","xLeftRight","yBottomUp", NULL };
8092
8093 self = self;
8094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxDC_SetAxisOrientation",_kwnames,&_argo0,&tempbool1,&tempbool2))
8095 return NULL;
8096 if (_argo0) {
8097 if (_argo0 == Py_None) { _arg0 = NULL; }
8098 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
8100 return NULL;
8101 }
8102 }
8103 _arg1 = (bool ) tempbool1;
8104 _arg2 = (bool ) tempbool2;
8105{
4268f798 8106 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8107 wxDC_SetAxisOrientation(_arg0,_arg1,_arg2);
eec92d76 8108
4268f798 8109 wxPyEndAllowThreads(__tstate);
493f1553 8110 if (PyErr_Occurred()) return NULL;
eec92d76
RD
8111} Py_INCREF(Py_None);
8112 _resultobj = Py_None;
8113 return _resultobj;
8114}
8115
f6bcfd97
BP
8116#define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
8117static PyObject *_wrap_wxDC_CalcBoundingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8118 PyObject * _resultobj;
8119 wxDC * _arg0;
8120 int _arg1;
8121 int _arg2;
8122 PyObject * _argo0 = 0;
8123 char *_kwnames[] = { "self","x","y", NULL };
8124
8125 self = self;
8126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxDC_CalcBoundingBox",_kwnames,&_argo0,&_arg1,&_arg2))
8127 return NULL;
8128 if (_argo0) {
8129 if (_argo0 == Py_None) { _arg0 = NULL; }
8130 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
8132 return NULL;
8133 }
8134 }
8135{
4268f798 8136 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8137 wxDC_CalcBoundingBox(_arg0,_arg1,_arg2);
f6bcfd97 8138
4268f798 8139 wxPyEndAllowThreads(__tstate);
493f1553 8140 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8141} Py_INCREF(Py_None);
8142 _resultobj = Py_None;
8143 return _resultobj;
8144}
8145
8146#define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
8147static PyObject *_wrap_wxDC_ResetBoundingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8148 PyObject * _resultobj;
8149 wxDC * _arg0;
8150 PyObject * _argo0 = 0;
8151 char *_kwnames[] = { "self", NULL };
8152
8153 self = self;
8154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_ResetBoundingBox",_kwnames,&_argo0))
8155 return NULL;
8156 if (_argo0) {
8157 if (_argo0 == Py_None) { _arg0 = NULL; }
8158 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8159 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
8160 return NULL;
8161 }
8162 }
8163{
4268f798 8164 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8165 wxDC_ResetBoundingBox(_arg0);
f6bcfd97 8166
4268f798 8167 wxPyEndAllowThreads(__tstate);
493f1553 8168 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8169} Py_INCREF(Py_None);
8170 _resultobj = Py_None;
8171 return _resultobj;
8172}
8173
9d37f964
RD
8174static PyObject *_wrap_wxDC_GetBoundingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8175 PyObject * _resultobj;
8176 wxDC * _arg0;
8177 int * _arg1;
8178 int temp;
8179 int * _arg2;
8180 int temp0;
8181 int * _arg3;
8182 int temp1;
8183 int * _arg4;
8184 int temp2;
8185 PyObject * _argo0 = 0;
8186 char *_kwnames[] = { "self", NULL };
8187
8188 self = self;
8189{
8190 _arg1 = &temp;
8191}
8192{
8193 _arg2 = &temp0;
8194}
8195{
8196 _arg3 = &temp1;
8197}
8198{
8199 _arg4 = &temp2;
8200}
8201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetBoundingBox",_kwnames,&_argo0))
8202 return NULL;
8203 if (_argo0) {
8204 if (_argo0 == Py_None) { _arg0 = NULL; }
8205 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8206 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetBoundingBox. Expected _wxDC_p.");
8207 return NULL;
8208 }
8209 }
8210{
4268f798 8211 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8212 wxDC_GetBoundingBox(_arg0,_arg1,_arg2,_arg3,_arg4);
9d37f964 8213
4268f798 8214 wxPyEndAllowThreads(__tstate);
9d37f964
RD
8215 if (PyErr_Occurred()) return NULL;
8216} Py_INCREF(Py_None);
8217 _resultobj = Py_None;
8218{
8219 PyObject *o;
8220 o = PyInt_FromLong((long) (*_arg1));
8221 _resultobj = t_output_helper(_resultobj, o);
8222}
8223{
8224 PyObject *o;
8225 o = PyInt_FromLong((long) (*_arg2));
8226 _resultobj = t_output_helper(_resultobj, o);
8227}
8228{
8229 PyObject *o;
8230 o = PyInt_FromLong((long) (*_arg3));
8231 _resultobj = t_output_helper(_resultobj, o);
8232}
8233{
8234 PyObject *o;
8235 o = PyInt_FromLong((long) (*_arg4));
8236 _resultobj = t_output_helper(_resultobj, o);
8237}
8238 return _resultobj;
8239}
8240
c7e7022c
RD
8241#define wxDC_GetHDC(_swigobj) (_swigobj->GetHDC())
8242static PyObject *_wrap_wxDC_GetHDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8243 PyObject * _resultobj;
8244 long _result;
8245 wxDC * _arg0;
8246 PyObject * _argo0 = 0;
8247 char *_kwnames[] = { "self", NULL };
8248
8249 self = self;
8250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetHDC",_kwnames,&_argo0))
8251 return NULL;
8252 if (_argo0) {
8253 if (_argo0 == Py_None) { _arg0 = NULL; }
8254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetHDC. Expected _wxDC_p.");
8256 return NULL;
8257 }
8258 }
8259{
4268f798 8260 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8261 _result = (long )wxDC_GetHDC(_arg0);
c7e7022c 8262
4268f798 8263 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
8264 if (PyErr_Occurred()) return NULL;
8265} _resultobj = Py_BuildValue("l",_result);
8266 return _resultobj;
8267}
8268
9d37f964
RD
8269static PyObject * wxDC__DrawPointList(wxDC *self,PyObject * pyPoints,PyObject * pyPens) {
8270 bool isFastSeq = PyList_Check(pyPoints) || PyTuple_Check(pyPoints);
8271 bool isFastPens = PyList_Check(pyPens) || PyTuple_Check(pyPens);
8272 int numObjs = 0;
8273 int numPens = 0;
8274 wxPen* pen;
8275 PyObject* obj;
8276 int x1, y1;
8277 int i = 0;
8278
8279 if (!PySequence_Check(pyPoints)) {
8280 goto err0;
8281 }
8282 if (!PySequence_Check(pyPens)) {
8283 goto err1;
8284 }
8285 numObjs = PySequence_Length(pyPoints);
8286 numPens = PySequence_Length(pyPens);
8287
8288 for (i = 0; i < numObjs; i++) {
8289 // Use a new pen?
8290 if (i < numPens) {
8291 if (isFastPens) {
8292 obj = PySequence_Fast_GET_ITEM(pyPens, i);
8293 }
8294 else {
8295 obj = PySequence_GetItem(pyPens, i);
8296 }
8297 if (SWIG_GetPtrObj(obj, (void **) &pen, "_wxPen_p")) {
76e280e7
RD
8298 if (!isFastPens)
8299 Py_DECREF(obj);
9d37f964
RD
8300 goto err1;
8301 }
8302
8303 self->SetPen(*pen);
8304 if (!isFastPens)
8305 Py_DECREF(obj);
8306 }
8307
8308 // Get the point coordinants
8309 if (isFastSeq) {
8310 obj = PySequence_Fast_GET_ITEM(pyPoints, i);
8311 }
8312 else {
8313 obj = PySequence_GetItem(pyPoints, i);
8314 }
8315 if (! _2int_seq_helper(obj, &x1, &y1)) {
76e280e7
RD
8316 if (!isFastPens)
8317 Py_DECREF(obj);
9d37f964
RD
8318 goto err0;
8319 }
8320
8321 // Now draw the point
8322 self->DrawPoint(x1, y1);
8323
8324 if (!isFastSeq)
8325 Py_DECREF(obj);
8326 }
8327
8328 Py_INCREF(Py_None);
8329 return Py_None;
8330
8331 err1:
8332 PyErr_SetString(PyExc_TypeError, "Expected a sequence of wxPens");
8333 return NULL;
8334 err0:
8335 PyErr_SetString(PyExc_TypeError, "Expected a sequence of (x,y) sequences.");
8336 return NULL;
8337 }
8338static PyObject *_wrap_wxDC__DrawPointList(PyObject *self, PyObject *args, PyObject *kwargs) {
8339 PyObject * _resultobj;
8340 PyObject * _result;
8341 wxDC * _arg0;
8342 PyObject * _arg1;
8343 PyObject * _arg2;
8344 PyObject * _argo0 = 0;
8345 PyObject * _obj1 = 0;
8346 PyObject * _obj2 = 0;
8347 char *_kwnames[] = { "self","pyPoints","pyPens", NULL };
8348
8349 self = self;
8350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxDC__DrawPointList",_kwnames,&_argo0,&_obj1,&_obj2))
8351 return NULL;
8352 if (_argo0) {
8353 if (_argo0 == Py_None) { _arg0 = NULL; }
8354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC__DrawPointList. Expected _wxDC_p.");
8356 return NULL;
8357 }
8358 }
8359{
8360 _arg1 = _obj1;
8361}
8362{
8363 _arg2 = _obj2;
8364}
8365{
4268f798 8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8367 _result = (PyObject *)wxDC__DrawPointList(_arg0,_arg1,_arg2);
9d37f964 8368
4268f798 8369 wxPyEndAllowThreads(__tstate);
9d37f964
RD
8370 if (PyErr_Occurred()) return NULL;
8371}{
8372 _resultobj = _result;
8373}
8374 return _resultobj;
8375}
8376
8377static PyObject * wxDC__DrawLineList(wxDC *self,PyObject * pyLines,PyObject * pyPens) {
8378 bool isFastSeq = PyList_Check(pyLines) || PyTuple_Check(pyLines);
8379 bool isFastPens = PyList_Check(pyPens) || PyTuple_Check(pyPens);
8380 int numObjs = 0;
8381 int numPens = 0;
8382 wxPen* pen;
8383 PyObject* obj;
8384 int x1, y1, x2, y2;
8385 int i = 0;
8386
8387 if (!PySequence_Check(pyLines)) {
8388 goto err0;
8389 }
8390 if (!PySequence_Check(pyPens)) {
8391 goto err1;
8392 }
8393 numObjs = PySequence_Length(pyLines);
8394 numPens = PySequence_Length(pyPens);
8395
8396 for (i = 0; i < numObjs; i++) {
8397 // Use a new pen?
8398 if (i < numPens) {
8399 if (isFastPens) {
8400 obj = PySequence_Fast_GET_ITEM(pyPens, i);
8401 }
8402 else {
8403 obj = PySequence_GetItem(pyPens, i);
8404 }
8405 if (SWIG_GetPtrObj(obj, (void **) &pen, "_wxPen_p")) {
76e280e7
RD
8406 if (!isFastPens)
8407 Py_DECREF(obj);
9d37f964
RD
8408 goto err1;
8409 }
8410
8411 self->SetPen(*pen);
8412 if (!isFastPens)
8413 Py_DECREF(obj);
8414 }
8415
8416 // Get the line coordinants
8417 if (isFastSeq) {
8418 obj = PySequence_Fast_GET_ITEM(pyLines, i);
8419 }
8420 else {
8421 obj = PySequence_GetItem(pyLines, i);
8422 }
8423 if (! _4int_seq_helper(obj, &x1, &y1, &x2, &y2)) {
76e280e7
RD
8424 if (!isFastPens)
8425 Py_DECREF(obj);
9d37f964
RD
8426 goto err0;
8427 }
8428
8429 // Now draw the line
8430 self->DrawLine(x1, y1, x2, y2);
8431
8432 if (!isFastSeq)
8433 Py_DECREF(obj);
8434 }
8435
8436 Py_INCREF(Py_None);
8437 return Py_None;
8438
8439 err1:
8440 PyErr_SetString(PyExc_TypeError, "Expected a sequence of wxPens");
8441 return NULL;
8442 err0:
8443 PyErr_SetString(PyExc_TypeError, "Expected a sequence of (x1,y1, x2,y2) sequences.");
8444 return NULL;
8445 }
8446static PyObject *_wrap_wxDC__DrawLineList(PyObject *self, PyObject *args, PyObject *kwargs) {
8447 PyObject * _resultobj;
8448 PyObject * _result;
8449 wxDC * _arg0;
8450 PyObject * _arg1;
8451 PyObject * _arg2;
8452 PyObject * _argo0 = 0;
8453 PyObject * _obj1 = 0;
8454 PyObject * _obj2 = 0;
8455 char *_kwnames[] = { "self","pyLines","pyPens", NULL };
8456
8457 self = self;
8458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxDC__DrawLineList",_kwnames,&_argo0,&_obj1,&_obj2))
8459 return NULL;
8460 if (_argo0) {
8461 if (_argo0 == Py_None) { _arg0 = NULL; }
8462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC__DrawLineList. Expected _wxDC_p.");
8464 return NULL;
8465 }
8466 }
8467{
8468 _arg1 = _obj1;
8469}
8470{
8471 _arg2 = _obj2;
8472}
8473{
4268f798 8474 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8475 _result = (PyObject *)wxDC__DrawLineList(_arg0,_arg1,_arg2);
9d37f964 8476
4268f798 8477 wxPyEndAllowThreads(__tstate);
9d37f964
RD
8478 if (PyErr_Occurred()) return NULL;
8479}{
8480 _resultobj = _result;
8481}
8482 return _resultobj;
8483}
8484
8ab979d7
RD
8485static void *SwigwxMemoryDCTowxDC(void *ptr) {
8486 wxMemoryDC *src;
8487 wxDC *dest;
8488 src = (wxMemoryDC *) ptr;
8489 dest = (wxDC *) src;
8490 return (void *) dest;
8491}
8492
9416aa89
RD
8493static void *SwigwxMemoryDCTowxObject(void *ptr) {
8494 wxMemoryDC *src;
8495 wxObject *dest;
8496 src = (wxMemoryDC *) ptr;
8497 dest = (wxObject *) src;
8498 return (void *) dest;
8499}
8500
8ab979d7 8501#define new_wxMemoryDC() (new wxMemoryDC())
1afc06c2 8502static PyObject *_wrap_new_wxMemoryDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8503 PyObject * _resultobj;
8504 wxMemoryDC * _result;
1afc06c2 8505 char *_kwnames[] = { NULL };
8ab979d7
RD
8506 char _ptemp[128];
8507
8508 self = self;
1afc06c2 8509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxMemoryDC",_kwnames))
8ab979d7 8510 return NULL;
cf694132 8511{
4268f798 8512 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8513 _result = (wxMemoryDC *)new_wxMemoryDC();
cf694132 8514
4268f798 8515 wxPyEndAllowThreads(__tstate);
493f1553 8516 if (PyErr_Occurred()) return NULL;
1d99702e
RD
8517} if (_result) {
8518 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMemoryDC_p");
8519 _resultobj = Py_BuildValue("s",_ptemp);
8520 } else {
8521 Py_INCREF(Py_None);
8522 _resultobj = Py_None;
8523 }
8ab979d7
RD
8524 return _resultobj;
8525}
8526
8527#define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
1afc06c2 8528static PyObject *_wrap_wxMemoryDC_SelectObject(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8529 PyObject * _resultobj;
8530 wxMemoryDC * _arg0;
8531 wxBitmap * _arg1;
1d99702e
RD
8532 PyObject * _argo0 = 0;
8533 PyObject * _argo1 = 0;
1afc06c2 8534 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
8535
8536 self = self;
1afc06c2 8537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMemoryDC_SelectObject",_kwnames,&_argo0,&_argo1))
8ab979d7 8538 return NULL;
1d99702e
RD
8539 if (_argo0) {
8540 if (_argo0 == Py_None) { _arg0 = NULL; }
8541 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMemoryDC_p")) {
8ab979d7
RD
8542 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
8543 return NULL;
8544 }
8545 }
1d99702e
RD
8546 if (_argo1) {
8547 if (_argo1 == Py_None) { _arg1 = NULL; }
8548 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
8549 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
8550 return NULL;
8551 }
8552 }
cf694132 8553{
4268f798 8554 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8555 wxMemoryDC_SelectObject(_arg0,*_arg1);
cf694132 8556
4268f798 8557 wxPyEndAllowThreads(__tstate);
493f1553 8558 if (PyErr_Occurred()) return NULL;
cf694132 8559} Py_INCREF(Py_None);
8ab979d7
RD
8560 _resultobj = Py_None;
8561 return _resultobj;
8562}
8563
e9159fe8
RD
8564static void *SwigwxBufferedDCTowxMemoryDC(void *ptr) {
8565 wxBufferedDC *src;
8566 wxMemoryDC *dest;
8567 src = (wxBufferedDC *) ptr;
8568 dest = (wxMemoryDC *) src;
8569 return (void *) dest;
8570}
8571
8572static void *SwigwxBufferedDCTowxDC(void *ptr) {
8573 wxBufferedDC *src;
8574 wxDC *dest;
8575 src = (wxBufferedDC *) ptr;
8576 dest = (wxDC *) src;
8577 return (void *) dest;
8578}
8579
8580static void *SwigwxBufferedDCTowxObject(void *ptr) {
8581 wxBufferedDC *src;
8582 wxObject *dest;
8583 src = (wxBufferedDC *) ptr;
8584 dest = (wxObject *) src;
8585 return (void *) dest;
8586}
8587
8588#define new_wxBufferedDC(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
8589static PyObject *_wrap_new_wxBufferedDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8590 PyObject * _resultobj;
8591 wxBufferedDC * _result;
8592 wxDC * _arg0;
8593 wxBitmap * _arg1;
8594 PyObject * _argo0 = 0;
8595 PyObject * _argo1 = 0;
8596 char *_kwnames[] = { "dc","buffer", NULL };
8597 char _ptemp[128];
8598
8599 self = self;
8600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxBufferedDC",_kwnames,&_argo0,&_argo1))
8601 return NULL;
8602 if (_argo0) {
8603 if (_argo0 == Py_None) { _arg0 = NULL; }
8604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBufferedDC. Expected _wxDC_p.");
8606 return NULL;
8607 }
8608 }
8609 if (_argo1) {
8610 if (_argo1 == Py_None) { _arg1 = NULL; }
8611 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8612 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxBufferedDC. Expected _wxBitmap_p.");
8613 return NULL;
8614 }
8615 }
8616{
8617 PyThreadState* __tstate = wxPyBeginAllowThreads();
8618 _result = (wxBufferedDC *)new_wxBufferedDC(_arg0,*_arg1);
8619
8620 wxPyEndAllowThreads(__tstate);
8621 if (PyErr_Occurred()) return NULL;
8622} if (_result) {
8623 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBufferedDC_p");
8624 _resultobj = Py_BuildValue("s",_ptemp);
8625 } else {
8626 Py_INCREF(Py_None);
8627 _resultobj = Py_None;
8628 }
8629 return _resultobj;
8630}
8631
8632#define new_wxBufferedDCInternalBuffer(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
8633static PyObject *_wrap_new_wxBufferedDCInternalBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
8634 PyObject * _resultobj;
8635 wxBufferedDC * _result;
8636 wxDC * _arg0;
8637 wxSize * _arg1;
8638 PyObject * _argo0 = 0;
8639 wxSize temp;
8640 PyObject * _obj1 = 0;
8641 char *_kwnames[] = { "dc","area", NULL };
8642 char _ptemp[128];
8643
8644 self = self;
8645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxBufferedDCInternalBuffer",_kwnames,&_argo0,&_obj1))
8646 return NULL;
8647 if (_argo0) {
8648 if (_argo0 == Py_None) { _arg0 = NULL; }
8649 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8650 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBufferedDCInternalBuffer. Expected _wxDC_p.");
8651 return NULL;
8652 }
8653 }
8654{
8655 _arg1 = &temp;
8656 if (! wxSize_helper(_obj1, &_arg1))
8657 return NULL;
8658}
8659{
8660 PyThreadState* __tstate = wxPyBeginAllowThreads();
8661 _result = (wxBufferedDC *)new_wxBufferedDCInternalBuffer(_arg0,*_arg1);
8662
8663 wxPyEndAllowThreads(__tstate);
8664 if (PyErr_Occurred()) return NULL;
8665} if (_result) {
8666 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBufferedDC_p");
8667 _resultobj = Py_BuildValue("s",_ptemp);
8668 } else {
8669 Py_INCREF(Py_None);
8670 _resultobj = Py_None;
8671 }
8672 return _resultobj;
8673}
8674
d3bfec74
RD
8675#define wxBufferedDC_UnMask(_swigobj) (_swigobj->UnMask())
8676static PyObject *_wrap_wxBufferedDC_UnMask(PyObject *self, PyObject *args, PyObject *kwargs) {
8677 PyObject * _resultobj;
8678 wxBufferedDC * _arg0;
8679 PyObject * _argo0 = 0;
8680 char *_kwnames[] = { "self", NULL };
8681
8682 self = self;
8683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBufferedDC_UnMask",_kwnames,&_argo0))
8684 return NULL;
8685 if (_argo0) {
8686 if (_argo0 == Py_None) { _arg0 = NULL; }
8687 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBufferedDC_p")) {
8688 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBufferedDC_UnMask. Expected _wxBufferedDC_p.");
8689 return NULL;
8690 }
8691 }
8692{
8693 PyThreadState* __tstate = wxPyBeginAllowThreads();
8694 wxBufferedDC_UnMask(_arg0);
8695
8696 wxPyEndAllowThreads(__tstate);
8697 if (PyErr_Occurred()) return NULL;
8698} Py_INCREF(Py_None);
8699 _resultobj = Py_None;
8700 return _resultobj;
8701}
8702
e9159fe8
RD
8703static void *SwigwxBufferedPaintDCTowxBufferedDC(void *ptr) {
8704 wxBufferedPaintDC *src;
8705 wxBufferedDC *dest;
8706 src = (wxBufferedPaintDC *) ptr;
8707 dest = (wxBufferedDC *) src;
8708 return (void *) dest;
8709}
8710
8711static void *SwigwxBufferedPaintDCTowxMemoryDC(void *ptr) {
8712 wxBufferedPaintDC *src;
8713 wxMemoryDC *dest;
8714 src = (wxBufferedPaintDC *) ptr;
8715 dest = (wxMemoryDC *) src;
8716 return (void *) dest;
8717}
8718
8719static void *SwigwxBufferedPaintDCTowxDC(void *ptr) {
8720 wxBufferedPaintDC *src;
8721 wxDC *dest;
8722 src = (wxBufferedPaintDC *) ptr;
8723 dest = (wxDC *) src;
8724 return (void *) dest;
8725}
8726
8727static void *SwigwxBufferedPaintDCTowxObject(void *ptr) {
8728 wxBufferedPaintDC *src;
8729 wxObject *dest;
8730 src = (wxBufferedPaintDC *) ptr;
8731 dest = (wxObject *) src;
8732 return (void *) dest;
8733}
8734
8735#define new_wxBufferedPaintDC(_swigarg0,_swigarg1) (new wxBufferedPaintDC(_swigarg0,_swigarg1))
8736static PyObject *_wrap_new_wxBufferedPaintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8737 PyObject * _resultobj;
8738 wxBufferedPaintDC * _result;
8739 wxWindow * _arg0;
8740 wxBitmap * _arg1 = (wxBitmap *) &wxNullBitmap;
8741 PyObject * _argo0 = 0;
8742 PyObject * _argo1 = 0;
8743 char *_kwnames[] = { "window","buffer", NULL };
8744 char _ptemp[128];
8745
8746 self = self;
8747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxBufferedPaintDC",_kwnames,&_argo0,&_argo1))
8748 return NULL;
8749 if (_argo0) {
8750 if (_argo0 == Py_None) { _arg0 = NULL; }
8751 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8752 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBufferedPaintDC. Expected _wxWindow_p.");
8753 return NULL;
8754 }
8755 }
8756 if (_argo1) {
8757 if (_argo1 == Py_None) { _arg1 = NULL; }
8758 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8759 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxBufferedPaintDC. Expected _wxBitmap_p.");
8760 return NULL;
8761 }
8762 }
8763{
8764 PyThreadState* __tstate = wxPyBeginAllowThreads();
8765 _result = (wxBufferedPaintDC *)new_wxBufferedPaintDC(_arg0,*_arg1);
8766
8767 wxPyEndAllowThreads(__tstate);
8768 if (PyErr_Occurred()) return NULL;
8769} if (_result) {
8770 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBufferedPaintDC_p");
8771 _resultobj = Py_BuildValue("s",_ptemp);
8772 } else {
8773 Py_INCREF(Py_None);
8774 _resultobj = Py_None;
8775 }
8776 return _resultobj;
8777}
8778
8ab979d7
RD
8779static void *SwigwxScreenDCTowxDC(void *ptr) {
8780 wxScreenDC *src;
8781 wxDC *dest;
8782 src = (wxScreenDC *) ptr;
8783 dest = (wxDC *) src;
8784 return (void *) dest;
8785}
8786
9416aa89
RD
8787static void *SwigwxScreenDCTowxObject(void *ptr) {
8788 wxScreenDC *src;
8789 wxObject *dest;
8790 src = (wxScreenDC *) ptr;
8791 dest = (wxObject *) src;
8792 return (void *) dest;
8793}
8794
8ab979d7 8795#define new_wxScreenDC() (new wxScreenDC())
1afc06c2 8796static PyObject *_wrap_new_wxScreenDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8797 PyObject * _resultobj;
8798 wxScreenDC * _result;
1afc06c2 8799 char *_kwnames[] = { NULL };
8ab979d7
RD
8800 char _ptemp[128];
8801
8802 self = self;
1afc06c2 8803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxScreenDC",_kwnames))
8ab979d7 8804 return NULL;
cf694132 8805{
4268f798 8806 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8807 _result = (wxScreenDC *)new_wxScreenDC();
cf694132 8808
4268f798 8809 wxPyEndAllowThreads(__tstate);
493f1553 8810 if (PyErr_Occurred()) return NULL;
1d99702e
RD
8811} if (_result) {
8812 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScreenDC_p");
8813 _resultobj = Py_BuildValue("s",_ptemp);
8814 } else {
8815 Py_INCREF(Py_None);
8816 _resultobj = Py_None;
8817 }
8ab979d7
RD
8818 return _resultobj;
8819}
8820
26b9cf27
RD
8821#define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
8822static PyObject *_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8823 PyObject * _resultobj;
8824 bool _result;
8825 wxScreenDC * _arg0;
8826 wxWindow * _arg1;
1d99702e
RD
8827 PyObject * _argo0 = 0;
8828 PyObject * _argo1 = 0;
1afc06c2 8829 char *_kwnames[] = { "self","window", NULL };
8ab979d7
RD
8830
8831 self = self;
26b9cf27 8832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames,&_argo0,&_argo1))
8ab979d7 8833 return NULL;
1d99702e
RD
8834 if (_argo0) {
8835 if (_argo0 == Py_None) { _arg0 = NULL; }
8836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScreenDC_p")) {
26b9cf27 8837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
8ab979d7
RD
8838 return NULL;
8839 }
8840 }
1d99702e
RD
8841 if (_argo1) {
8842 if (_argo1 == Py_None) { _arg1 = NULL; }
8843 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
26b9cf27 8844 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
8ab979d7
RD
8845 return NULL;
8846 }
8847 }
cf694132 8848{
4268f798 8849 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8850 _result = (bool )wxScreenDC_StartDrawingOnTopWin(_arg0,_arg1);
cf694132 8851
4268f798 8852 wxPyEndAllowThreads(__tstate);
493f1553 8853 if (PyErr_Occurred()) return NULL;
cf694132 8854} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8855 return _resultobj;
8856}
8857
26b9cf27
RD
8858#define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
8859static PyObject *_wrap_wxScreenDC_StartDrawingOnTop(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8860 PyObject * _resultobj;
8861 bool _result;
8862 wxScreenDC * _arg0;
1d99702e
RD
8863 wxRect * _arg1 = (wxRect *) NULL;
8864 PyObject * _argo0 = 0;
2f90df85
RD
8865 wxRect temp;
8866 PyObject * _obj1 = 0;
1afc06c2 8867 char *_kwnames[] = { "self","rect", NULL };
8ab979d7
RD
8868
8869 self = self;
26b9cf27 8870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames,&_argo0,&_obj1))
8ab979d7 8871 return NULL;
1d99702e
RD
8872 if (_argo0) {
8873 if (_argo0 == Py_None) { _arg0 = NULL; }
8874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScreenDC_p")) {
26b9cf27 8875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
8ab979d7
RD
8876 return NULL;
8877 }
8878 }
2f90df85
RD
8879 if (_obj1)
8880{
8881 _arg1 = &temp;
8882 if (! wxRect_helper(_obj1, &_arg1))
8ab979d7 8883 return NULL;
2f90df85 8884}
cf694132 8885{
4268f798 8886 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8887 _result = (bool )wxScreenDC_StartDrawingOnTop(_arg0,_arg1);
cf694132 8888
4268f798 8889 wxPyEndAllowThreads(__tstate);
493f1553 8890 if (PyErr_Occurred()) return NULL;
cf694132 8891} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8892 return _resultobj;
8893}
8894
8895#define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
1afc06c2 8896static PyObject *_wrap_wxScreenDC_EndDrawingOnTop(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8897 PyObject * _resultobj;
8898 bool _result;
8899 wxScreenDC * _arg0;
1d99702e 8900 PyObject * _argo0 = 0;
1afc06c2 8901 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8902
8903 self = self;
1afc06c2 8904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScreenDC_EndDrawingOnTop",_kwnames,&_argo0))
8ab979d7 8905 return NULL;
1d99702e
RD
8906 if (_argo0) {
8907 if (_argo0 == Py_None) { _arg0 = NULL; }
8908 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScreenDC_p")) {
8ab979d7
RD
8909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
8910 return NULL;
8911 }
8912 }
cf694132 8913{
4268f798 8914 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8915 _result = (bool )wxScreenDC_EndDrawingOnTop(_arg0);
cf694132 8916
4268f798 8917 wxPyEndAllowThreads(__tstate);
493f1553 8918 if (PyErr_Occurred()) return NULL;
cf694132 8919} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8920 return _resultobj;
8921}
8922
8923static void *SwigwxClientDCTowxDC(void *ptr) {
8924 wxClientDC *src;
8925 wxDC *dest;
8926 src = (wxClientDC *) ptr;
8927 dest = (wxDC *) src;
8928 return (void *) dest;
8929}
8930
9416aa89
RD
8931static void *SwigwxClientDCTowxObject(void *ptr) {
8932 wxClientDC *src;
8933 wxObject *dest;
8934 src = (wxClientDC *) ptr;
8935 dest = (wxObject *) src;
8936 return (void *) dest;
8937}
8938
8ab979d7 8939#define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
1afc06c2 8940static PyObject *_wrap_new_wxClientDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8941 PyObject * _resultobj;
8942 wxClientDC * _result;
8943 wxWindow * _arg0;
1d99702e 8944 PyObject * _argo0 = 0;
1afc06c2 8945 char *_kwnames[] = { "win", NULL };
8ab979d7
RD
8946 char _ptemp[128];
8947
8948 self = self;
1afc06c2 8949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxClientDC",_kwnames,&_argo0))
8ab979d7 8950 return NULL;
1d99702e
RD
8951 if (_argo0) {
8952 if (_argo0 == Py_None) { _arg0 = NULL; }
8953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
8954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
8955 return NULL;
8956 }
8957 }
cf694132 8958{
4268f798 8959 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8960 _result = (wxClientDC *)new_wxClientDC(_arg0);
cf694132 8961
4268f798 8962 wxPyEndAllowThreads(__tstate);
493f1553 8963 if (PyErr_Occurred()) return NULL;
1d99702e
RD
8964} if (_result) {
8965 SWIG_MakePtr(_ptemp, (char *) _result,"_wxClientDC_p");
8966 _resultobj = Py_BuildValue("s",_ptemp);
8967 } else {
8968 Py_INCREF(Py_None);
8969 _resultobj = Py_None;
8970 }
8ab979d7
RD
8971 return _resultobj;
8972}
8973
8974static void *SwigwxPaintDCTowxDC(void *ptr) {
8975 wxPaintDC *src;
8976 wxDC *dest;
8977 src = (wxPaintDC *) ptr;
8978 dest = (wxDC *) src;
8979 return (void *) dest;
8980}
8981
9416aa89
RD
8982static void *SwigwxPaintDCTowxObject(void *ptr) {
8983 wxPaintDC *src;
8984 wxObject *dest;
8985 src = (wxPaintDC *) ptr;
8986 dest = (wxObject *) src;
8987 return (void *) dest;
8988}
8989
8ab979d7 8990#define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
1afc06c2 8991static PyObject *_wrap_new_wxPaintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8992 PyObject * _resultobj;
8993 wxPaintDC * _result;
8994 wxWindow * _arg0;
1d99702e 8995 PyObject * _argo0 = 0;
1afc06c2 8996 char *_kwnames[] = { "win", NULL };
8ab979d7
RD
8997 char _ptemp[128];
8998
8999 self = self;
1afc06c2 9000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxPaintDC",_kwnames,&_argo0))
8ab979d7 9001 return NULL;
1d99702e
RD
9002 if (_argo0) {
9003 if (_argo0 == Py_None) { _arg0 = NULL; }
9004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
9005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
9006 return NULL;
9007 }
9008 }
cf694132 9009{
4268f798 9010 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9011 _result = (wxPaintDC *)new_wxPaintDC(_arg0);
cf694132 9012
4268f798 9013 wxPyEndAllowThreads(__tstate);
493f1553 9014 if (PyErr_Occurred()) return NULL;
1d99702e
RD
9015} if (_result) {
9016 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPaintDC_p");
9017 _resultobj = Py_BuildValue("s",_ptemp);
9018 } else {
9019 Py_INCREF(Py_None);
9020 _resultobj = Py_None;
9021 }
8ab979d7
RD
9022 return _resultobj;
9023}
9024
b639c3c5
RD
9025static void *SwigwxWindowDCTowxDC(void *ptr) {
9026 wxWindowDC *src;
9027 wxDC *dest;
9028 src = (wxWindowDC *) ptr;
9029 dest = (wxDC *) src;
9030 return (void *) dest;
9031}
9032
9416aa89
RD
9033static void *SwigwxWindowDCTowxObject(void *ptr) {
9034 wxWindowDC *src;
9035 wxObject *dest;
9036 src = (wxWindowDC *) ptr;
9037 dest = (wxObject *) src;
9038 return (void *) dest;
9039}
9040
b639c3c5 9041#define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
1afc06c2 9042static PyObject *_wrap_new_wxWindowDC(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
9043 PyObject * _resultobj;
9044 wxWindowDC * _result;
9045 wxWindow * _arg0;
1d99702e 9046 PyObject * _argo0 = 0;
1afc06c2 9047 char *_kwnames[] = { "win", NULL };
b639c3c5
RD
9048 char _ptemp[128];
9049
9050 self = self;
1afc06c2 9051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxWindowDC",_kwnames,&_argo0))
b639c3c5 9052 return NULL;
1d99702e
RD
9053 if (_argo0) {
9054 if (_argo0 == Py_None) { _arg0 = NULL; }
9055 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b639c3c5
RD
9056 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
9057 return NULL;
9058 }
9059 }
cf694132 9060{
4268f798 9061 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9062 _result = (wxWindowDC *)new_wxWindowDC(_arg0);
cf694132 9063
4268f798 9064 wxPyEndAllowThreads(__tstate);
493f1553 9065 if (PyErr_Occurred()) return NULL;
1d99702e
RD
9066} if (_result) {
9067 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindowDC_p");
9068 _resultobj = Py_BuildValue("s",_ptemp);
9069 } else {
9070 Py_INCREF(Py_None);
9071 _resultobj = Py_None;
9072 }
b639c3c5
RD
9073 return _resultobj;
9074}
9075
17c0e08c
RD
9076static void *SwigwxMetaFileTowxObject(void *ptr) {
9077 wxMetaFile *src;
9078 wxObject *dest;
9079 src = (wxMetaFile *) ptr;
9080 dest = (wxObject *) src;
9081 return (void *) dest;
9082}
9083
9084#define new_wxMetaFile(_swigarg0) (new wxMetaFile(_swigarg0))
9085static PyObject *_wrap_new_wxMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9086 PyObject * _resultobj;
9087 wxMetaFile * _result;
137b5242 9088 wxString * _arg0 = (wxString *) &wxPyEmptyString;
17c0e08c
RD
9089 PyObject * _obj0 = 0;
9090 char *_kwnames[] = { "filename", NULL };
9091 char _ptemp[128];
9092
9093 self = self;
9094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxMetaFile",_kwnames,&_obj0))
9095 return NULL;
9096 if (_obj0)
9097{
c8bc7bb8
RD
9098 _arg0 = wxString_in_helper(_obj0);
9099 if (_arg0 == NULL)
17c0e08c 9100 return NULL;
17c0e08c
RD
9101}
9102{
4268f798 9103 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9104 _result = (wxMetaFile *)new_wxMetaFile(*_arg0);
17c0e08c 9105
4268f798 9106 wxPyEndAllowThreads(__tstate);
17c0e08c
RD
9107 if (PyErr_Occurred()) return NULL;
9108} if (_result) {
9109 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMetaFile_p");
9110 _resultobj = Py_BuildValue("s",_ptemp);
9111 } else {
9112 Py_INCREF(Py_None);
9113 _resultobj = Py_None;
9114 }
9115{
9116 if (_obj0)
9117 delete _arg0;
9118}
9119 return _resultobj;
9120}
9121
9122#define delete_wxMetaFile(_swigobj) (delete _swigobj)
9123static PyObject *_wrap_delete_wxMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9124 PyObject * _resultobj;
9125 wxMetaFile * _arg0;
9126 PyObject * _argo0 = 0;
9127 char *_kwnames[] = { "self", NULL };
9128
9129 self = self;
9130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxMetaFile",_kwnames,&_argo0))
9131 return NULL;
9132 if (_argo0) {
9133 if (_argo0 == Py_None) { _arg0 = NULL; }
9134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFile_p")) {
9135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxMetaFile. Expected _wxMetaFile_p.");
9136 return NULL;
9137 }
9138 }
9139{
4268f798 9140 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9141 delete_wxMetaFile(_arg0);
17c0e08c 9142
4268f798 9143 wxPyEndAllowThreads(__tstate);
17c0e08c
RD
9144 if (PyErr_Occurred()) return NULL;
9145} Py_INCREF(Py_None);
9146 _resultobj = Py_None;
9147 return _resultobj;
9148}
9149
9150#define wxMetaFile_Ok(_swigobj) (_swigobj->Ok())
9151static PyObject *_wrap_wxMetaFile_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
9152 PyObject * _resultobj;
9153 bool _result;
9154 wxMetaFile * _arg0;
9155 PyObject * _argo0 = 0;
9156 char *_kwnames[] = { "self", NULL };
9157
9158 self = self;
9159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMetaFile_Ok",_kwnames,&_argo0))
9160 return NULL;
9161 if (_argo0) {
9162 if (_argo0 == Py_None) { _arg0 = NULL; }
9163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFile_p")) {
9164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMetaFile_Ok. Expected _wxMetaFile_p.");
9165 return NULL;
9166 }
9167 }
9168{
4268f798 9169 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9170 _result = (bool )wxMetaFile_Ok(_arg0);
17c0e08c 9171
4268f798 9172 wxPyEndAllowThreads(__tstate);
17c0e08c
RD
9173 if (PyErr_Occurred()) return NULL;
9174} _resultobj = Py_BuildValue("i",_result);
9175 return _resultobj;
9176}
9177
9178#define wxMetaFile_SetClipboard(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClipboard(_swigarg0,_swigarg1))
9179static PyObject *_wrap_wxMetaFile_SetClipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
9180 PyObject * _resultobj;
9181 bool _result;
9182 wxMetaFile * _arg0;
9183 int _arg1 = (int ) 0;
9184 int _arg2 = (int ) 0;
9185 PyObject * _argo0 = 0;
9186 char *_kwnames[] = { "self","width","height", NULL };
9187
9188 self = self;
9189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxMetaFile_SetClipboard",_kwnames,&_argo0,&_arg1,&_arg2))
9190 return NULL;
9191 if (_argo0) {
9192 if (_argo0 == Py_None) { _arg0 = NULL; }
9193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFile_p")) {
9194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMetaFile_SetClipboard. Expected _wxMetaFile_p.");
9195 return NULL;
9196 }
9197 }
9198{
4268f798 9199 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9200 _result = (bool )wxMetaFile_SetClipboard(_arg0,_arg1,_arg2);
17c0e08c 9201
4268f798 9202 wxPyEndAllowThreads(__tstate);
17c0e08c
RD
9203 if (PyErr_Occurred()) return NULL;
9204} _resultobj = Py_BuildValue("i",_result);
9205 return _resultobj;
9206}
9207
9208#define wxMetaFile_GetSize(_swigobj) (_swigobj->GetSize())
9209static PyObject *_wrap_wxMetaFile_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9210 PyObject * _resultobj;
9211 wxSize * _result;
9212 wxMetaFile * _arg0;
9213 PyObject * _argo0 = 0;
9214 char *_kwnames[] = { "self", NULL };
9215 char _ptemp[128];
9216
9217 self = self;
9218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMetaFile_GetSize",_kwnames,&_argo0))
9219 return NULL;
9220 if (_argo0) {
9221 if (_argo0 == Py_None) { _arg0 = NULL; }
9222 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFile_p")) {
9223 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMetaFile_GetSize. Expected _wxMetaFile_p.");
9224 return NULL;
9225 }
9226 }
9227{
4268f798 9228 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9229 _result = new wxSize (wxMetaFile_GetSize(_arg0));
17c0e08c 9230
4268f798 9231 wxPyEndAllowThreads(__tstate);
17c0e08c
RD
9232 if (PyErr_Occurred()) return NULL;
9233} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
9234 _resultobj = Py_BuildValue("s",_ptemp);
9235 return _resultobj;
9236}
9237
9238#define wxMetaFile_GetWidth(_swigobj) (_swigobj->GetWidth())
9239static PyObject *_wrap_wxMetaFile_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9240 PyObject * _resultobj;
9241 int _result;
9242 wxMetaFile * _arg0;
9243 PyObject * _argo0 = 0;
9244 char *_kwnames[] = { "self", NULL };
9245
9246 self = self;
9247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMetaFile_GetWidth",_kwnames,&_argo0))
9248 return NULL;
9249 if (_argo0) {
9250 if (_argo0 == Py_None) { _arg0 = NULL; }
9251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFile_p")) {
9252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMetaFile_GetWidth. Expected _wxMetaFile_p.");
9253 return NULL;
9254 }
9255 }
9256{
4268f798 9257 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9258 _result = (int )wxMetaFile_GetWidth(_arg0);
17c0e08c 9259
4268f798 9260 wxPyEndAllowThreads(__tstate);
17c0e08c
RD
9261 if (PyErr_Occurred()) return NULL;
9262} _resultobj = Py_BuildValue("i",_result);
9263 return _resultobj;
9264}
9265
9266#define wxMetaFile_GetHeight(_swigobj) (_swigobj->GetHeight())
9267static PyObject *_wrap_wxMetaFile_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
9268 PyObject * _resultobj;
9269 int _result;
9270 wxMetaFile * _arg0;
9271 PyObject * _argo0 = 0;
9272 char *_kwnames[] = { "self", NULL };
9273
9274 self = self;
9275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMetaFile_GetHeight",_kwnames,&_argo0))
9276 return NULL;
9277 if (_argo0) {
9278 if (_argo0 == Py_None) { _arg0 = NULL; }
9279 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFile_p")) {
9280 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMetaFile_GetHeight. Expected _wxMetaFile_p.");
9281 return NULL;
9282 }
9283 }
9284{
4268f798 9285 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9286 _result = (int )wxMetaFile_GetHeight(_arg0);
17c0e08c 9287
4268f798 9288 wxPyEndAllowThreads(__tstate);
17c0e08c
RD
9289 if (PyErr_Occurred()) return NULL;
9290} _resultobj = Py_BuildValue("i",_result);
9291 return _resultobj;
9292}
9293
9294#define wxMetaFile_GetFileName(_swigobj) (_swigobj->GetFileName())
9295static PyObject *_wrap_wxMetaFile_GetFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
9296 PyObject * _resultobj;
9297 wxString * _result;
9298 wxMetaFile * _arg0;
9299 PyObject * _argo0 = 0;
9300 char *_kwnames[] = { "self", NULL };
9301
9302 self = self;
9303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMetaFile_GetFileName",_kwnames,&_argo0))
9304 return NULL;
9305 if (_argo0) {
9306 if (_argo0 == Py_None) { _arg0 = NULL; }
9307 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFile_p")) {
9308 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMetaFile_GetFileName. Expected _wxMetaFile_p.");
9309 return NULL;
9310 }
9311 }
9312{
4268f798 9313 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9314 const wxString & _result_ref = wxMetaFile_GetFileName(_arg0);
17c0e08c
RD
9315 _result = (wxString *) &_result_ref;
9316
4268f798 9317 wxPyEndAllowThreads(__tstate);
17c0e08c
RD
9318 if (PyErr_Occurred()) return NULL;
9319}{
c8bc7bb8
RD
9320#if wxUSE_UNICODE
9321 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9322#else
17c0e08c 9323 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9324#endif
17c0e08c
RD
9325}
9326 return _resultobj;
9327}
9328
8ab979d7
RD
9329static void *SwigwxMetaFileDCTowxDC(void *ptr) {
9330 wxMetaFileDC *src;
9331 wxDC *dest;
9332 src = (wxMetaFileDC *) ptr;
9333 dest = (wxDC *) src;
9334 return (void *) dest;
9335}
9336
9416aa89
RD
9337static void *SwigwxMetaFileDCTowxObject(void *ptr) {
9338 wxMetaFileDC *src;
9339 wxObject *dest;
9340 src = (wxMetaFileDC *) ptr;
9341 dest = (wxObject *) src;
9342 return (void *) dest;
9343}
9344
17c0e08c 9345#define new_wxMetaFileDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxMetaFileDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 9346static PyObject *_wrap_new_wxMetaFileDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9347 PyObject * _resultobj;
9348 wxMetaFileDC * _result;
137b5242 9349 wxString * _arg0 = (wxString *) &wxPyEmptyString;
17c0e08c
RD
9350 int _arg1 = (int ) 0;
9351 int _arg2 = (int ) 0;
137b5242 9352 wxString * _arg3 = (wxString *) &wxPyEmptyString;
8ab979d7 9353 PyObject * _obj0 = 0;
17c0e08c
RD
9354 PyObject * _obj3 = 0;
9355 char *_kwnames[] = { "filename","width","height","description", NULL };
8ab979d7
RD
9356 char _ptemp[128];
9357
9358 self = self;
17c0e08c 9359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OiiO:new_wxMetaFileDC",_kwnames,&_obj0,&_arg1,&_arg2,&_obj3))
8ab979d7
RD
9360 return NULL;
9361 if (_obj0)
9362{
c8bc7bb8
RD
9363 _arg0 = wxString_in_helper(_obj0);
9364 if (_arg0 == NULL)
185d7c3e 9365 return NULL;
17c0e08c
RD
9366}
9367 if (_obj3)
9368{
c8bc7bb8
RD
9369 _arg3 = wxString_in_helper(_obj3);
9370 if (_arg3 == NULL)
17c0e08c 9371 return NULL;
8ab979d7 9372}
cf694132 9373{
4268f798 9374 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9375 _result = (wxMetaFileDC *)new_wxMetaFileDC(*_arg0,_arg1,_arg2,*_arg3);
cf694132 9376
4268f798 9377 wxPyEndAllowThreads(__tstate);
493f1553 9378 if (PyErr_Occurred()) return NULL;
1d99702e
RD
9379} if (_result) {
9380 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMetaFileDC_p");
9381 _resultobj = Py_BuildValue("s",_ptemp);
9382 } else {
9383 Py_INCREF(Py_None);
9384 _resultobj = Py_None;
9385 }
8ab979d7
RD
9386{
9387 if (_obj0)
9388 delete _arg0;
17c0e08c
RD
9389}
9390{
9391 if (_obj3)
9392 delete _arg3;
8ab979d7
RD
9393}
9394 return _resultobj;
9395}
9396
9397#define wxMetaFileDC_Close(_swigobj) (_swigobj->Close())
1afc06c2 9398static PyObject *_wrap_wxMetaFileDC_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9399 PyObject * _resultobj;
9400 wxMetaFile * _result;
9401 wxMetaFileDC * _arg0;
1d99702e 9402 PyObject * _argo0 = 0;
1afc06c2 9403 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9404 char _ptemp[128];
9405
9406 self = self;
1afc06c2 9407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMetaFileDC_Close",_kwnames,&_argo0))
8ab979d7 9408 return NULL;
1d99702e
RD
9409 if (_argo0) {
9410 if (_argo0 == Py_None) { _arg0 = NULL; }
9411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFileDC_p")) {
8ab979d7
RD
9412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMetaFileDC_Close. Expected _wxMetaFileDC_p.");
9413 return NULL;
9414 }
9415 }
cf694132 9416{
4268f798 9417 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9418 _result = (wxMetaFile *)wxMetaFileDC_Close(_arg0);
cf694132 9419
4268f798 9420 wxPyEndAllowThreads(__tstate);
493f1553 9421 if (PyErr_Occurred()) return NULL;
1d99702e
RD
9422} if (_result) {
9423 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMetaFile_p");
9424 _resultobj = Py_BuildValue("s",_ptemp);
9425 } else {
9426 Py_INCREF(Py_None);
9427 _resultobj = Py_None;
9428 }
8ab979d7
RD
9429 return _resultobj;
9430}
9431
9416aa89
RD
9432static void *SwigwxPaletteTowxGDIObject(void *ptr) {
9433 wxPalette *src;
9434 wxGDIObject *dest;
9435 src = (wxPalette *) ptr;
9436 dest = (wxGDIObject *) src;
9437 return (void *) dest;
9438}
9439
9440static void *SwigwxPaletteTowxObject(void *ptr) {
9441 wxPalette *src;
9442 wxObject *dest;
9443 src = (wxPalette *) ptr;
9444 dest = (wxObject *) src;
9445 return (void *) dest;
9446}
9447
b639c3c5 9448#define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 9449static PyObject *_wrap_new_wxPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
9450 PyObject * _resultobj;
9451 wxPalette * _result;
9452 int _arg0;
9453 byte * _arg1;
9454 byte * _arg2;
9455 byte * _arg3;
9456 PyObject * _obj1 = 0;
9457 PyObject * _obj2 = 0;
9458 PyObject * _obj3 = 0;
eec92d76 9459 char *_kwnames[] = { "choices","choices","choices", NULL };
b639c3c5
RD
9460 char _ptemp[128];
9461
9462 self = self;
1afc06c2 9463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:new_wxPalette",_kwnames,&_obj1,&_obj2,&_obj3))
b639c3c5
RD
9464 return NULL;
9465{
9466 _arg1 = byte_LIST_helper(_obj1);
9467 if (_arg1 == NULL) {
9468 return NULL;
9469 }
9470}
9471{
9472 _arg2 = byte_LIST_helper(_obj2);
9473 if (_arg2 == NULL) {
9474 return NULL;
9475 }
9476}
9477 if (_obj3)
9478{
9479 _arg3 = byte_LIST_helper(_obj3);
9480 if (_arg3 == NULL) {
9481 return NULL;
9482 }
9483}
9484{
cf694132
RD
9485 if (_obj1) {
9486 _arg0 = PyList_Size(_obj1);
9487 }
9488 else {
9489 _arg0 = 0;
9490 }
b639c3c5 9491}
cf694132 9492{
4268f798 9493 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9494 _result = (wxPalette *)new_wxPalette(_arg0,_arg1,_arg2,_arg3);
cf694132 9495
4268f798 9496 wxPyEndAllowThreads(__tstate);
493f1553 9497 if (PyErr_Occurred()) return NULL;
1d99702e
RD
9498} if (_result) {
9499 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPalette_p");
9500 _resultobj = Py_BuildValue("s",_ptemp);
9501 } else {
9502 Py_INCREF(Py_None);
9503 _resultobj = Py_None;
9504 }
b639c3c5
RD
9505{
9506 delete [] _arg1;
9507}
9508{
9509 delete [] _arg2;
9510}
9511{
9512 delete [] _arg3;
9513}
9514 return _resultobj;
9515}
9516
9517#define delete_wxPalette(_swigobj) (delete _swigobj)
1afc06c2 9518static PyObject *_wrap_delete_wxPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
9519 PyObject * _resultobj;
9520 wxPalette * _arg0;
1d99702e 9521 PyObject * _argo0 = 0;
1afc06c2 9522 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
9523
9524 self = self;
1afc06c2 9525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPalette",_kwnames,&_argo0))
b639c3c5 9526 return NULL;
1d99702e
RD
9527 if (_argo0) {
9528 if (_argo0 == Py_None) { _arg0 = NULL; }
9529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPalette_p")) {
b639c3c5
RD
9530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
9531 return NULL;
9532 }
9533 }
cf694132 9534{
4268f798 9535 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9536 delete_wxPalette(_arg0);
cf694132 9537
4268f798 9538 wxPyEndAllowThreads(__tstate);
493f1553 9539 if (PyErr_Occurred()) return NULL;
cf694132 9540} Py_INCREF(Py_None);
b639c3c5
RD
9541 _resultobj = Py_None;
9542 return _resultobj;
9543}
9544
9545#define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 9546static PyObject *_wrap_wxPalette_GetPixel(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
9547 PyObject * _resultobj;
9548 int _result;
9549 wxPalette * _arg0;
9550 byte _arg1;
9551 byte _arg2;
9552 byte _arg3;
1d99702e 9553 PyObject * _argo0 = 0;
1afc06c2 9554 char *_kwnames[] = { "self","red","green","blue", NULL };
b639c3c5
RD
9555
9556 self = self;
1afc06c2 9557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Obbb:wxPalette_GetPixel",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
b639c3c5 9558 return NULL;
1d99702e
RD
9559 if (_argo0) {
9560 if (_argo0 == Py_None) { _arg0 = NULL; }
9561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPalette_p")) {
b639c3c5
RD
9562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
9563 return NULL;
9564 }
9565 }
cf694132 9566{
4268f798 9567 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9568 _result = (int )wxPalette_GetPixel(_arg0,_arg1,_arg2,_arg3);
cf694132 9569
4268f798 9570 wxPyEndAllowThreads(__tstate);
493f1553 9571 if (PyErr_Occurred()) return NULL;
cf694132 9572} _resultobj = Py_BuildValue("i",_result);
b639c3c5
RD
9573 return _resultobj;
9574}
9575
9576#define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 9577static PyObject *_wrap_wxPalette_GetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
9578 PyObject * _resultobj;
9579 bool _result;
9580 wxPalette * _arg0;
9581 int _arg1;
9582 byte * _arg2;
154747f5 9583 int temp;
b639c3c5 9584 byte * _arg3;
154747f5 9585 int temp0;
b639c3c5 9586 byte * _arg4;
154747f5 9587 int temp1;
1d99702e 9588 PyObject * _argo0 = 0;
154747f5 9589 char *_kwnames[] = { "self","pixel", NULL };
b639c3c5
RD
9590
9591 self = self;
154747f5
RD
9592{
9593 _arg2 = (byte*)&temp;
9594}
9595{
9596 _arg3 = (byte*)&temp0;
9597}
9598{
9599 _arg4 = (byte*)&temp1;
9600}
9601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPalette_GetRGB",_kwnames,&_argo0,&_arg1))
b639c3c5 9602 return NULL;
1d99702e
RD
9603 if (_argo0) {
9604 if (_argo0 == Py_None) { _arg0 = NULL; }
9605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPalette_p")) {
b639c3c5
RD
9606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
9607 return NULL;
9608 }
9609 }
cf694132 9610{
4268f798 9611 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9612 _result = (bool )wxPalette_GetRGB(_arg0,_arg1,_arg2,_arg3,_arg4);
cf694132 9613
4268f798 9614 wxPyEndAllowThreads(__tstate);
493f1553 9615 if (PyErr_Occurred()) return NULL;
cf694132 9616} _resultobj = Py_BuildValue("i",_result);
154747f5
RD
9617{
9618 PyObject *o;
9619 o = PyInt_FromLong((long) (*_arg2));
9620 _resultobj = t_output_helper(_resultobj, o);
9621}
9622{
9623 PyObject *o;
9624 o = PyInt_FromLong((long) (*_arg3));
9625 _resultobj = t_output_helper(_resultobj, o);
9626}
9627{
9628 PyObject *o;
9629 o = PyInt_FromLong((long) (*_arg4));
9630 _resultobj = t_output_helper(_resultobj, o);
9631}
b639c3c5
RD
9632 return _resultobj;
9633}
9634
9635#define wxPalette_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 9636static PyObject *_wrap_wxPalette_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
9637 PyObject * _resultobj;
9638 bool _result;
9639 wxPalette * _arg0;
1d99702e 9640 PyObject * _argo0 = 0;
1afc06c2 9641 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
9642
9643 self = self;
1afc06c2 9644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPalette_Ok",_kwnames,&_argo0))
b639c3c5 9645 return NULL;
1d99702e
RD
9646 if (_argo0) {
9647 if (_argo0 == Py_None) { _arg0 = NULL; }
9648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPalette_p")) {
b639c3c5
RD
9649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
9650 return NULL;
9651 }
9652 }
cf694132 9653{
4268f798 9654 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9655 _result = (bool )wxPalette_Ok(_arg0);
cf694132 9656
4268f798 9657 wxPyEndAllowThreads(__tstate);
493f1553 9658 if (PyErr_Occurred()) return NULL;
cf694132 9659} _resultobj = Py_BuildValue("i",_result);
b639c3c5
RD
9660 return _resultobj;
9661}
9662
9416aa89
RD
9663static void *SwigwxImageListTowxObject(void *ptr) {
9664 wxImageList *src;
9665 wxObject *dest;
9666 src = (wxImageList *) ptr;
9667 dest = (wxObject *) src;
9668 return (void *) dest;
9669}
9670
af309447 9671#define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 9672static PyObject *_wrap_new_wxImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
9673 PyObject * _resultobj;
9674 wxImageList * _result;
9675 int _arg0;
9676 int _arg1;
dcd38683 9677 int _arg2 = (int ) TRUE;
1d99702e 9678 int _arg3 = (int ) 1;
1afc06c2 9679 char *_kwnames[] = { "width","height","mask","initialCount", NULL };
af309447
RD
9680 char _ptemp[128];
9681
9682 self = self;
6999b0d8 9683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii|ii:new_wxImageList",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
af309447 9684 return NULL;
cf694132 9685{
4268f798 9686 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9687 _result = (wxImageList *)new_wxImageList(_arg0,_arg1,_arg2,_arg3);
cf694132 9688
4268f798 9689 wxPyEndAllowThreads(__tstate);
493f1553 9690 if (PyErr_Occurred()) return NULL;
1d99702e
RD
9691} if (_result) {
9692 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
9693 _resultobj = Py_BuildValue("s",_ptemp);
9694 } else {
9695 Py_INCREF(Py_None);
9696 _resultobj = Py_None;
9697 }
af309447
RD
9698 return _resultobj;
9699}
9700
9701#define delete_wxImageList(_swigobj) (delete _swigobj)
1afc06c2 9702static PyObject *_wrap_delete_wxImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
9703 PyObject * _resultobj;
9704 wxImageList * _arg0;
1d99702e 9705 PyObject * _argo0 = 0;
1afc06c2 9706 char *_kwnames[] = { "self", NULL };
af309447
RD
9707
9708 self = self;
1afc06c2 9709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxImageList",_kwnames,&_argo0))
af309447 9710 return NULL;
1d99702e
RD
9711 if (_argo0) {
9712 if (_argo0 == Py_None) { _arg0 = NULL; }
9713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
af309447
RD
9714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
9715 return NULL;
9716 }
9717 }
cf694132 9718{
4268f798 9719 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9720 delete_wxImageList(_arg0);
cf694132 9721
4268f798 9722 wxPyEndAllowThreads(__tstate);
493f1553 9723 if (PyErr_Occurred()) return NULL;
cf694132 9724} Py_INCREF(Py_None);
af309447
RD
9725 _resultobj = Py_None;
9726 return _resultobj;
9727}
9728
9729#define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
1afc06c2 9730static PyObject *_wrap_wxImageList_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
9731 PyObject * _resultobj;
9732 int _result;
9733 wxImageList * _arg0;
9734 wxBitmap * _arg1;
1d99702e
RD
9735 wxBitmap * _arg2 = (wxBitmap *) &wxNullBitmap;
9736 PyObject * _argo0 = 0;
9737 PyObject * _argo1 = 0;
9738 PyObject * _argo2 = 0;
1afc06c2 9739 char *_kwnames[] = { "self","bitmap","mask", NULL };
af309447
RD
9740
9741 self = self;
1afc06c2 9742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxImageList_Add",_kwnames,&_argo0,&_argo1,&_argo2))
af309447 9743 return NULL;
1d99702e
RD
9744 if (_argo0) {
9745 if (_argo0 == Py_None) { _arg0 = NULL; }
9746 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
af309447
RD
9747 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
9748 return NULL;
9749 }
9750 }
1d99702e
RD
9751 if (_argo1) {
9752 if (_argo1 == Py_None) { _arg1 = NULL; }
9753 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
af309447
RD
9754 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
9755 return NULL;
9756 }
9757 }
1d99702e
RD
9758 if (_argo2) {
9759 if (_argo2 == Py_None) { _arg2 = NULL; }
9760 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
af309447
RD
9761 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
9762 return NULL;
9763 }
9764 }
cf694132 9765{
4268f798 9766 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9767 _result = (int )wxImageList_Add(_arg0,*_arg1,*_arg2);
cf694132 9768
4268f798 9769 wxPyEndAllowThreads(__tstate);
493f1553 9770 if (PyErr_Occurred()) return NULL;
cf694132 9771} _resultobj = Py_BuildValue("i",_result);
af309447
RD
9772 return _resultobj;
9773}
9774
9775#define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
1afc06c2 9776static PyObject *_wrap_wxImageList_AddWithColourMask(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
9777 PyObject * _resultobj;
9778 int _result;
9779 wxImageList * _arg0;
9780 wxBitmap * _arg1;
9781 wxColour * _arg2;
1d99702e
RD
9782 PyObject * _argo0 = 0;
9783 PyObject * _argo1 = 0;
f6bcfd97
BP
9784 wxColour temp;
9785 PyObject * _obj2 = 0;
1afc06c2 9786 char *_kwnames[] = { "self","bitmap","maskColour", NULL };
af309447
RD
9787
9788 self = self;
f6bcfd97 9789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxImageList_AddWithColourMask",_kwnames,&_argo0,&_argo1,&_obj2))
af309447 9790 return NULL;
1d99702e
RD
9791 if (_argo0) {
9792 if (_argo0 == Py_None) { _arg0 = NULL; }
9793 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
af309447
RD
9794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
9795 return NULL;
9796 }
9797 }
1d99702e
RD
9798 if (_argo1) {
9799 if (_argo1 == Py_None) { _arg1 = NULL; }
9800 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
af309447
RD
9801 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
9802 return NULL;
9803 }
9804 }
f6bcfd97
BP
9805{
9806 _arg2 = &temp;
9807 if (! wxColour_helper(_obj2, &_arg2))
af309447 9808 return NULL;
f6bcfd97 9809}
cf694132 9810{
4268f798 9811 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9812 _result = (int )wxImageList_AddWithColourMask(_arg0,*_arg1,*_arg2);
cf694132 9813
4268f798 9814 wxPyEndAllowThreads(__tstate);
493f1553 9815 if (PyErr_Occurred()) return NULL;
cf694132 9816} _resultobj = Py_BuildValue("i",_result);
af309447
RD
9817 return _resultobj;
9818}
9819
9820#define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
1afc06c2 9821static PyObject *_wrap_wxImageList_AddIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
9822 PyObject * _resultobj;
9823 int _result;
9824 wxImageList * _arg0;
9825 wxIcon * _arg1;
1d99702e
RD
9826 PyObject * _argo0 = 0;
9827 PyObject * _argo1 = 0;
1afc06c2 9828 char *_kwnames[] = { "self","icon", NULL };
af309447
RD
9829
9830 self = self;
1afc06c2 9831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxImageList_AddIcon",_kwnames,&_argo0,&_argo1))
af309447 9832 return NULL;
1d99702e
RD
9833 if (_argo0) {
9834 if (_argo0 == Py_None) { _arg0 = NULL; }
9835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
af309447
RD
9836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
9837 return NULL;
9838 }
9839 }
1d99702e
RD
9840 if (_argo1) {
9841 if (_argo1 == Py_None) { _arg1 = NULL; }
9842 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
af309447
RD
9843 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
9844 return NULL;
9845 }
9846 }
cf694132 9847{
4268f798 9848 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9849 _result = (int )wxImageList_AddIcon(_arg0,*_arg1);
cf694132 9850
4268f798 9851 wxPyEndAllowThreads(__tstate);
493f1553 9852 if (PyErr_Occurred()) return NULL;
cf694132 9853} _resultobj = Py_BuildValue("i",_result);
af309447
RD
9854 return _resultobj;
9855}
9856
21f8d7ea 9857#define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 9858static PyObject *_wrap_wxImageList_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
9859 PyObject * _resultobj;
9860 bool _result;
9861 wxImageList * _arg0;
9862 int _arg1;
21f8d7ea 9863 wxBitmap * _arg2;
1d99702e
RD
9864 wxBitmap * _arg3 = (wxBitmap *) &wxNullBitmap;
9865 PyObject * _argo0 = 0;
9866 PyObject * _argo2 = 0;
9867 PyObject * _argo3 = 0;
1afc06c2 9868 char *_kwnames[] = { "self","index","bitmap","mask", NULL };
af309447
RD
9869
9870 self = self;
1afc06c2 9871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxImageList_Replace",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3))
af309447 9872 return NULL;
1d99702e
RD
9873 if (_argo0) {
9874 if (_argo0 == Py_None) { _arg0 = NULL; }
9875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 9876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
af309447
RD
9877 return NULL;
9878 }
9879 }
1d99702e
RD
9880 if (_argo2) {
9881 if (_argo2 == Py_None) { _arg2 = NULL; }
9882 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
21f8d7ea 9883 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
af309447
RD
9884 return NULL;
9885 }
9886 }
1d99702e
RD
9887 if (_argo3) {
9888 if (_argo3 == Py_None) { _arg3 = NULL; }
9889 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
21f8d7ea
RD
9890 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxImageList_Replace. Expected _wxBitmap_p.");
9891 return NULL;
9892 }
9893 }
cf694132 9894{
4268f798 9895 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9896 _result = (bool )wxImageList_Replace(_arg0,_arg1,*_arg2,*_arg3);
cf694132 9897
4268f798 9898 wxPyEndAllowThreads(__tstate);
493f1553 9899 if (PyErr_Occurred()) return NULL;
cf694132 9900} _resultobj = Py_BuildValue("i",_result);
af309447
RD
9901 return _resultobj;
9902}
9903
21f8d7ea 9904#define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1afc06c2 9905static PyObject *_wrap_wxImageList_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
9906 PyObject * _resultobj;
9907 bool _result;
9908 wxImageList * _arg0;
9909 int _arg1;
21f8d7ea
RD
9910 wxDC * _arg2;
9911 int _arg3;
9912 int _arg4;
1d99702e
RD
9913 int _arg5 = (int ) (wxIMAGELIST_DRAW_NORMAL);
9914 bool _arg6 = (bool ) FALSE;
9915 PyObject * _argo0 = 0;
9916 PyObject * _argo2 = 0;
9917 int tempbool6 = (int) FALSE;
1afc06c2 9918 char *_kwnames[] = { "self","index","dc","x","x","flags","solidBackground", NULL };
af309447
RD
9919
9920 self = self;
1afc06c2 9921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOii|ii:wxImageList_Draw",_kwnames,&_argo0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6))
af309447 9922 return NULL;
1d99702e
RD
9923 if (_argo0) {
9924 if (_argo0 == Py_None) { _arg0 = NULL; }
9925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 9926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
af309447
RD
9927 return NULL;
9928 }
9929 }
1d99702e
RD
9930 if (_argo2) {
9931 if (_argo2 == Py_None) { _arg2 = NULL; }
9932 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxDC_p")) {
21f8d7ea
RD
9933 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
9934 return NULL;
9935 }
9936 }
9937 _arg6 = (bool ) tempbool6;
cf694132 9938{
4268f798 9939 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9940 _result = (bool )wxImageList_Draw(_arg0,_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6);
cf694132 9941
4268f798 9942 wxPyEndAllowThreads(__tstate);
493f1553 9943 if (PyErr_Occurred()) return NULL;
cf694132 9944} _resultobj = Py_BuildValue("i",_result);
af309447
RD
9945 return _resultobj;
9946}
9947
21f8d7ea 9948#define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
1afc06c2 9949static PyObject *_wrap_wxImageList_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 9950 PyObject * _resultobj;
21f8d7ea 9951 int _result;
af309447 9952 wxImageList * _arg0;
1d99702e 9953 PyObject * _argo0 = 0;
1afc06c2 9954 char *_kwnames[] = { "self", NULL };
af309447
RD
9955
9956 self = self;
1afc06c2 9957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImageList_GetImageCount",_kwnames,&_argo0))
af309447 9958 return NULL;
1d99702e
RD
9959 if (_argo0) {
9960 if (_argo0 == Py_None) { _arg0 = NULL; }
9961 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 9962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
af309447
RD
9963 return NULL;
9964 }
9965 }
cf694132 9966{
4268f798 9967 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9968 _result = (int )wxImageList_GetImageCount(_arg0);
cf694132 9969
4268f798 9970 wxPyEndAllowThreads(__tstate);
493f1553 9971 if (PyErr_Occurred()) return NULL;
cf694132 9972} _resultobj = Py_BuildValue("i",_result);
af309447
RD
9973 return _resultobj;
9974}
9975
21f8d7ea 9976#define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1afc06c2 9977static PyObject *_wrap_wxImageList_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
9978 PyObject * _resultobj;
9979 bool _result;
9980 wxImageList * _arg0;
9981 int _arg1;
1d99702e 9982 PyObject * _argo0 = 0;
1afc06c2 9983 char *_kwnames[] = { "self","index", NULL };
af309447
RD
9984
9985 self = self;
1afc06c2 9986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxImageList_Remove",_kwnames,&_argo0,&_arg1))
af309447 9987 return NULL;
1d99702e
RD
9988 if (_argo0) {
9989 if (_argo0 == Py_None) { _arg0 = NULL; }
9990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 9991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
af309447
RD
9992 return NULL;
9993 }
9994 }
cf694132 9995{
4268f798 9996 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9997 _result = (bool )wxImageList_Remove(_arg0,_arg1);
cf694132 9998
4268f798 9999 wxPyEndAllowThreads(__tstate);
493f1553 10000 if (PyErr_Occurred()) return NULL;
cf694132 10001} _resultobj = Py_BuildValue("i",_result);
af309447
RD
10002 return _resultobj;
10003}
10004
21f8d7ea 10005#define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
1afc06c2 10006static PyObject *_wrap_wxImageList_RemoveAll(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
10007 PyObject * _resultobj;
10008 bool _result;
10009 wxImageList * _arg0;
1d99702e 10010 PyObject * _argo0 = 0;
1afc06c2 10011 char *_kwnames[] = { "self", NULL };
af309447
RD
10012
10013 self = self;
1afc06c2 10014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImageList_RemoveAll",_kwnames,&_argo0))
af309447 10015 return NULL;
1d99702e
RD
10016 if (_argo0) {
10017 if (_argo0 == Py_None) { _arg0 = NULL; }
10018 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 10019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
af309447
RD
10020 return NULL;
10021 }
10022 }
cf694132 10023{
4268f798 10024 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10025 _result = (bool )wxImageList_RemoveAll(_arg0);
cf694132 10026
4268f798 10027 wxPyEndAllowThreads(__tstate);
493f1553 10028 if (PyErr_Occurred()) return NULL;
cf694132 10029} _resultobj = Py_BuildValue("i",_result);
af309447
RD
10030 return _resultobj;
10031}
10032
f6bcfd97
BP
10033#define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
10034static PyObject *_wrap_wxImageList_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10035 PyObject * _resultobj;
10036 wxImageList * _arg0;
10037 int _arg1;
10038 int * _arg2;
10039 int temp;
10040 int * _arg3;
10041 int temp0;
10042 PyObject * _argo0 = 0;
10043 char *_kwnames[] = { "self","index", NULL };
10044
10045 self = self;
10046{
10047 _arg2 = &temp;
10048}
10049{
10050 _arg3 = &temp0;
10051}
10052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxImageList_GetSize",_kwnames,&_argo0,&_arg1))
10053 return NULL;
10054 if (_argo0) {
10055 if (_argo0 == Py_None) { _arg0 = NULL; }
10056 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
10057 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
10058 return NULL;
10059 }
10060 }
10061{
4268f798 10062 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10063 wxImageList_GetSize(_arg0,_arg1,*_arg2,*_arg3);
f6bcfd97 10064
4268f798 10065 wxPyEndAllowThreads(__tstate);
493f1553 10066 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10067} Py_INCREF(Py_None);
10068 _resultobj = Py_None;
10069{
10070 PyObject *o;
10071 o = PyInt_FromLong((long) (*_arg2));
10072 _resultobj = t_output_helper(_resultobj, o);
10073}
10074{
10075 PyObject *o;
10076 o = PyInt_FromLong((long) (*_arg3));
10077 _resultobj = t_output_helper(_resultobj, o);
10078}
10079 return _resultobj;
10080}
10081
9416aa89
RD
10082static void *SwigwxRegionTowxGDIObject(void *ptr) {
10083 wxRegion *src;
10084 wxGDIObject *dest;
10085 src = (wxRegion *) ptr;
10086 dest = (wxGDIObject *) src;
10087 return (void *) dest;
10088}
10089
10090static void *SwigwxRegionTowxObject(void *ptr) {
10091 wxRegion *src;
10092 wxObject *dest;
10093 src = (wxRegion *) ptr;
10094 dest = (wxObject *) src;
10095 return (void *) dest;
10096}
10097
10098#define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10099static PyObject *_wrap_new_wxRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
10100 PyObject * _resultobj;
10101 wxRegion * _result;
10102 long _arg0 = (long ) 0;
10103 long _arg1 = (long ) 0;
10104 long _arg2 = (long ) 0;
10105 long _arg3 = (long ) 0;
10106 char *_kwnames[] = { "x","y","width","height", NULL };
10107 char _ptemp[128];
10108
10109 self = self;
10110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|llll:new_wxRegion",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
10111 return NULL;
10112{
4268f798 10113 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10114 _result = (wxRegion *)new_wxRegion(_arg0,_arg1,_arg2,_arg3);
9416aa89 10115
4268f798 10116 wxPyEndAllowThreads(__tstate);
493f1553 10117 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10118} if (_result) {
10119 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRegion_p");
10120 _resultobj = Py_BuildValue("s",_ptemp);
10121 } else {
10122 Py_INCREF(Py_None);
10123 _resultobj = Py_None;
10124 }
10125 return _resultobj;
10126}
10127
10128#define delete_wxRegion(_swigobj) (delete _swigobj)
10129static PyObject *_wrap_delete_wxRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
10130 PyObject * _resultobj;
10131 wxRegion * _arg0;
10132 PyObject * _argo0 = 0;
10133 char *_kwnames[] = { "self", NULL };
10134
10135 self = self;
10136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxRegion",_kwnames,&_argo0))
10137 return NULL;
10138 if (_argo0) {
10139 if (_argo0 == Py_None) { _arg0 = NULL; }
10140 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10141 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
10142 return NULL;
10143 }
10144 }
10145{
4268f798 10146 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10147 delete_wxRegion(_arg0);
9416aa89 10148
4268f798 10149 wxPyEndAllowThreads(__tstate);
493f1553 10150 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10151} Py_INCREF(Py_None);
10152 _resultobj = Py_None;
10153 return _resultobj;
10154}
10155
10156#define wxRegion_Clear(_swigobj) (_swigobj->Clear())
10157static PyObject *_wrap_wxRegion_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
10158 PyObject * _resultobj;
10159 wxRegion * _arg0;
10160 PyObject * _argo0 = 0;
10161 char *_kwnames[] = { "self", NULL };
10162
10163 self = self;
10164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegion_Clear",_kwnames,&_argo0))
10165 return NULL;
10166 if (_argo0) {
10167 if (_argo0 == Py_None) { _arg0 = NULL; }
10168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
10170 return NULL;
10171 }
10172 }
10173{
4268f798 10174 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10175 wxRegion_Clear(_arg0);
9416aa89 10176
4268f798 10177 wxPyEndAllowThreads(__tstate);
493f1553 10178 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10179} Py_INCREF(Py_None);
10180 _resultobj = Py_None;
10181 return _resultobj;
10182}
10183
23bed520
RD
10184#define wxRegion_Offset(_swigobj,_swigarg0,_swigarg1) (_swigobj->Offset(_swigarg0,_swigarg1))
10185static PyObject *_wrap_wxRegion_Offset(PyObject *self, PyObject *args, PyObject *kwargs) {
10186 PyObject * _resultobj;
10187 bool _result;
10188 wxRegion * _arg0;
10189 wxCoord _arg1;
10190 wxCoord _arg2;
10191 PyObject * _argo0 = 0;
10192 char *_kwnames[] = { "self","x","y", NULL };
10193
10194 self = self;
10195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRegion_Offset",_kwnames,&_argo0,&_arg1,&_arg2))
10196 return NULL;
10197 if (_argo0) {
10198 if (_argo0 == Py_None) { _arg0 = NULL; }
10199 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Offset. Expected _wxRegion_p.");
10201 return NULL;
10202 }
10203 }
10204{
10205 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10206 _result = (bool )wxRegion_Offset(_arg0,_arg1,_arg2);
23bed520
RD
10207
10208 wxPyEndAllowThreads(__tstate);
10209 if (PyErr_Occurred()) return NULL;
10210} _resultobj = Py_BuildValue("i",_result);
10211 return _resultobj;
10212}
10213
9416aa89
RD
10214#define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
10215static PyObject *_wrap_wxRegion_Contains(PyObject *self, PyObject *args, PyObject *kwargs) {
10216 PyObject * _resultobj;
10217 wxRegionContain _result;
10218 wxRegion * _arg0;
10219 long _arg1;
10220 long _arg2;
10221 PyObject * _argo0 = 0;
10222 char *_kwnames[] = { "self","x","y", NULL };
10223
10224 self = self;
10225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxRegion_Contains",_kwnames,&_argo0,&_arg1,&_arg2))
10226 return NULL;
10227 if (_argo0) {
10228 if (_argo0 == Py_None) { _arg0 = NULL; }
10229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
10231 return NULL;
10232 }
10233 }
10234{
4268f798 10235 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10236 _result = (wxRegionContain )wxRegion_Contains(_arg0,_arg1,_arg2);
9416aa89 10237
4268f798 10238 wxPyEndAllowThreads(__tstate);
493f1553 10239 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10240} _resultobj = Py_BuildValue("i",_result);
10241 return _resultobj;
10242}
10243
10244#define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10245static PyObject *_wrap_wxRegion_ContainsPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
10246 PyObject * _resultobj;
10247 wxRegionContain _result;
10248 wxRegion * _arg0;
10249 wxPoint * _arg1;
10250 PyObject * _argo0 = 0;
10251 wxPoint temp;
10252 PyObject * _obj1 = 0;
10253 char *_kwnames[] = { "self","pt", NULL };
10254
10255 self = self;
10256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_ContainsPoint",_kwnames,&_argo0,&_obj1))
10257 return NULL;
10258 if (_argo0) {
10259 if (_argo0 == Py_None) { _arg0 = NULL; }
10260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
10262 return NULL;
10263 }
10264 }
10265{
10266 _arg1 = &temp;
10267 if (! wxPoint_helper(_obj1, &_arg1))
10268 return NULL;
10269}
10270{
4268f798 10271 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10272 _result = (wxRegionContain )wxRegion_ContainsPoint(_arg0,*_arg1);
9416aa89 10273
4268f798 10274 wxPyEndAllowThreads(__tstate);
493f1553 10275 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10276} _resultobj = Py_BuildValue("i",_result);
10277 return _resultobj;
10278}
10279
10280#define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10281static PyObject *_wrap_wxRegion_ContainsRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10282 PyObject * _resultobj;
10283 wxRegionContain _result;
10284 wxRegion * _arg0;
10285 wxRect * _arg1;
10286 PyObject * _argo0 = 0;
10287 wxRect temp;
10288 PyObject * _obj1 = 0;
10289 char *_kwnames[] = { "self","rect", NULL };
10290
10291 self = self;
10292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_ContainsRect",_kwnames,&_argo0,&_obj1))
10293 return NULL;
10294 if (_argo0) {
10295 if (_argo0 == Py_None) { _arg0 = NULL; }
10296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
10298 return NULL;
10299 }
10300 }
10301{
10302 _arg1 = &temp;
10303 if (! wxRect_helper(_obj1, &_arg1))
10304 return NULL;
10305}
10306{
4268f798 10307 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10308 _result = (wxRegionContain )wxRegion_ContainsRect(_arg0,*_arg1);
9416aa89 10309
4268f798 10310 wxPyEndAllowThreads(__tstate);
493f1553 10311 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10312} _resultobj = Py_BuildValue("i",_result);
10313 return _resultobj;
10314}
10315
10316#define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10317static PyObject *_wrap_wxRegion_ContainsRectDim(PyObject *self, PyObject *args, PyObject *kwargs) {
10318 PyObject * _resultobj;
10319 wxRegionContain _result;
10320 wxRegion * _arg0;
10321 long _arg1;
10322 long _arg2;
10323 long _arg3;
10324 long _arg4;
10325 PyObject * _argo0 = 0;
10326 char *_kwnames[] = { "self","x","y","w","h", NULL };
10327
10328 self = self;
10329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxRegion_ContainsRectDim",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10330 return NULL;
10331 if (_argo0) {
10332 if (_argo0 == Py_None) { _arg0 = NULL; }
10333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
10335 return NULL;
10336 }
10337 }
10338{
4268f798 10339 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10340 _result = (wxRegionContain )wxRegion_ContainsRectDim(_arg0,_arg1,_arg2,_arg3,_arg4);
9416aa89 10341
4268f798 10342 wxPyEndAllowThreads(__tstate);
493f1553 10343 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10344} _resultobj = Py_BuildValue("i",_result);
10345 return _resultobj;
10346}
10347
10348#define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
10349static PyObject *_wrap_wxRegion_GetBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10350 PyObject * _resultobj;
10351 wxRect * _result;
10352 wxRegion * _arg0;
10353 PyObject * _argo0 = 0;
10354 char *_kwnames[] = { "self", NULL };
10355 char _ptemp[128];
10356
10357 self = self;
10358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegion_GetBox",_kwnames,&_argo0))
10359 return NULL;
10360 if (_argo0) {
10361 if (_argo0 == Py_None) { _arg0 = NULL; }
10362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
10364 return NULL;
10365 }
10366 }
10367{
4268f798 10368 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10369 _result = new wxRect (wxRegion_GetBox(_arg0));
9416aa89 10370
4268f798 10371 wxPyEndAllowThreads(__tstate);
493f1553 10372 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10373} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
10374 _resultobj = Py_BuildValue("s",_ptemp);
10375 return _resultobj;
10376}
10377
10378#define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10379static PyObject *_wrap_wxRegion_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
10380 PyObject * _resultobj;
10381 bool _result;
10382 wxRegion * _arg0;
10383 long _arg1;
10384 long _arg2;
10385 long _arg3;
10386 long _arg4;
10387 PyObject * _argo0 = 0;
10388 char *_kwnames[] = { "self","x","y","width","height", NULL };
10389
10390 self = self;
10391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxRegion_Intersect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10392 return NULL;
10393 if (_argo0) {
10394 if (_argo0 == Py_None) { _arg0 = NULL; }
10395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
10397 return NULL;
10398 }
10399 }
10400{
4268f798 10401 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10402 _result = (bool )wxRegion_Intersect(_arg0,_arg1,_arg2,_arg3,_arg4);
9416aa89 10403
4268f798 10404 wxPyEndAllowThreads(__tstate);
493f1553 10405 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10406} _resultobj = Py_BuildValue("i",_result);
10407 return _resultobj;
10408}
10409
10410#define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
10411static PyObject *_wrap_wxRegion_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10412 PyObject * _resultobj;
10413 bool _result;
10414 wxRegion * _arg0;
10415 wxRect * _arg1;
10416 PyObject * _argo0 = 0;
10417 wxRect temp;
10418 PyObject * _obj1 = 0;
10419 char *_kwnames[] = { "self","rect", NULL };
10420
10421 self = self;
10422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_IntersectRect",_kwnames,&_argo0,&_obj1))
10423 return NULL;
10424 if (_argo0) {
10425 if (_argo0 == Py_None) { _arg0 = NULL; }
10426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
10428 return NULL;
10429 }
10430 }
10431{
10432 _arg1 = &temp;
10433 if (! wxRect_helper(_obj1, &_arg1))
10434 return NULL;
10435}
10436{
4268f798 10437 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10438 _result = (bool )wxRegion_IntersectRect(_arg0,*_arg1);
9416aa89 10439
4268f798 10440 wxPyEndAllowThreads(__tstate);
493f1553 10441 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10442} _resultobj = Py_BuildValue("i",_result);
10443 return _resultobj;
10444}
10445
10446#define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
10447static PyObject *_wrap_wxRegion_IntersectRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
10448 PyObject * _resultobj;
10449 bool _result;
10450 wxRegion * _arg0;
10451 wxRegion * _arg1;
10452 PyObject * _argo0 = 0;
10453 PyObject * _argo1 = 0;
10454 char *_kwnames[] = { "self","region", NULL };
10455
10456 self = self;
10457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_IntersectRegion",_kwnames,&_argo0,&_argo1))
10458 return NULL;
10459 if (_argo0) {
10460 if (_argo0 == Py_None) { _arg0 = NULL; }
10461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
10463 return NULL;
10464 }
10465 }
10466 if (_argo1) {
10467 if (_argo1 == Py_None) { _arg1 = NULL; }
10468 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
10469 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
10470 return NULL;
10471 }
10472 }
10473{
4268f798 10474 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10475 _result = (bool )wxRegion_IntersectRegion(_arg0,*_arg1);
9416aa89 10476
4268f798 10477 wxPyEndAllowThreads(__tstate);
493f1553 10478 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10479} _resultobj = Py_BuildValue("i",_result);
10480 return _resultobj;
10481}
10482
10483#define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
10484static PyObject *_wrap_wxRegion_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
10485 PyObject * _resultobj;
10486 bool _result;
10487 wxRegion * _arg0;
10488 PyObject * _argo0 = 0;
10489 char *_kwnames[] = { "self", NULL };
10490
10491 self = self;
10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegion_IsEmpty",_kwnames,&_argo0))
10493 return NULL;
10494 if (_argo0) {
10495 if (_argo0 == Py_None) { _arg0 = NULL; }
10496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
10498 return NULL;
10499 }
10500 }
10501{
4268f798 10502 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10503 _result = (bool )wxRegion_IsEmpty(_arg0);
9416aa89 10504
4268f798 10505 wxPyEndAllowThreads(__tstate);
493f1553 10506 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10507} _resultobj = Py_BuildValue("i",_result);
10508 return _resultobj;
10509}
10510
10511#define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10512static PyObject *_wrap_wxRegion_Union(PyObject *self, PyObject *args, PyObject *kwargs) {
10513 PyObject * _resultobj;
10514 bool _result;
10515 wxRegion * _arg0;
10516 long _arg1;
10517 long _arg2;
10518 long _arg3;
10519 long _arg4;
10520 PyObject * _argo0 = 0;
10521 char *_kwnames[] = { "self","x","y","width","height", NULL };
10522
10523 self = self;
10524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxRegion_Union",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10525 return NULL;
10526 if (_argo0) {
10527 if (_argo0 == Py_None) { _arg0 = NULL; }
10528 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
10530 return NULL;
10531 }
10532 }
10533{
4268f798 10534 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10535 _result = (bool )wxRegion_Union(_arg0,_arg1,_arg2,_arg3,_arg4);
9416aa89 10536
4268f798 10537 wxPyEndAllowThreads(__tstate);
493f1553 10538 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10539} _resultobj = Py_BuildValue("i",_result);
10540 return _resultobj;
10541}
10542
10543#define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
10544static PyObject *_wrap_wxRegion_UnionRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10545 PyObject * _resultobj;
10546 bool _result;
10547 wxRegion * _arg0;
10548 wxRect * _arg1;
10549 PyObject * _argo0 = 0;
10550 wxRect temp;
10551 PyObject * _obj1 = 0;
10552 char *_kwnames[] = { "self","rect", NULL };
10553
10554 self = self;
10555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_UnionRect",_kwnames,&_argo0,&_obj1))
10556 return NULL;
10557 if (_argo0) {
10558 if (_argo0 == Py_None) { _arg0 = NULL; }
10559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
10561 return NULL;
10562 }
10563 }
10564{
10565 _arg1 = &temp;
10566 if (! wxRect_helper(_obj1, &_arg1))
10567 return NULL;
10568}
10569{
4268f798 10570 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10571 _result = (bool )wxRegion_UnionRect(_arg0,*_arg1);
9416aa89 10572
4268f798 10573 wxPyEndAllowThreads(__tstate);
493f1553 10574 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10575} _resultobj = Py_BuildValue("i",_result);
10576 return _resultobj;
10577}
10578
10579#define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
10580static PyObject *_wrap_wxRegion_UnionRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
10581 PyObject * _resultobj;
10582 bool _result;
10583 wxRegion * _arg0;
10584 wxRegion * _arg1;
10585 PyObject * _argo0 = 0;
10586 PyObject * _argo1 = 0;
10587 char *_kwnames[] = { "self","region", NULL };
10588
10589 self = self;
10590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_UnionRegion",_kwnames,&_argo0,&_argo1))
10591 return NULL;
10592 if (_argo0) {
10593 if (_argo0 == Py_None) { _arg0 = NULL; }
10594 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
10596 return NULL;
10597 }
10598 }
10599 if (_argo1) {
10600 if (_argo1 == Py_None) { _arg1 = NULL; }
10601 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
10602 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
10603 return NULL;
10604 }
10605 }
10606{
4268f798 10607 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10608 _result = (bool )wxRegion_UnionRegion(_arg0,*_arg1);
9416aa89 10609
4268f798 10610 wxPyEndAllowThreads(__tstate);
493f1553 10611 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10612} _resultobj = Py_BuildValue("i",_result);
10613 return _resultobj;
10614}
10615
10616#define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10617static PyObject *_wrap_wxRegion_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
10618 PyObject * _resultobj;
10619 bool _result;
10620 wxRegion * _arg0;
10621 long _arg1;
10622 long _arg2;
10623 long _arg3;
10624 long _arg4;
10625 PyObject * _argo0 = 0;
10626 char *_kwnames[] = { "self","x","y","width","height", NULL };
10627
10628 self = self;
10629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxRegion_Subtract",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10630 return NULL;
10631 if (_argo0) {
10632 if (_argo0 == Py_None) { _arg0 = NULL; }
10633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
10635 return NULL;
10636 }
10637 }
10638{
4268f798 10639 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10640 _result = (bool )wxRegion_Subtract(_arg0,_arg1,_arg2,_arg3,_arg4);
9416aa89 10641
4268f798 10642 wxPyEndAllowThreads(__tstate);
493f1553 10643 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10644} _resultobj = Py_BuildValue("i",_result);
10645 return _resultobj;
10646}
10647
10648#define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
10649static PyObject *_wrap_wxRegion_SubtractRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10650 PyObject * _resultobj;
10651 bool _result;
10652 wxRegion * _arg0;
10653 wxRect * _arg1;
10654 PyObject * _argo0 = 0;
10655 wxRect temp;
10656 PyObject * _obj1 = 0;
10657 char *_kwnames[] = { "self","rect", NULL };
10658
10659 self = self;
10660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_SubtractRect",_kwnames,&_argo0,&_obj1))
10661 return NULL;
10662 if (_argo0) {
10663 if (_argo0 == Py_None) { _arg0 = NULL; }
10664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
10666 return NULL;
10667 }
10668 }
10669{
10670 _arg1 = &temp;
10671 if (! wxRect_helper(_obj1, &_arg1))
10672 return NULL;
10673}
10674{
4268f798 10675 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10676 _result = (bool )wxRegion_SubtractRect(_arg0,*_arg1);
9416aa89 10677
4268f798 10678 wxPyEndAllowThreads(__tstate);
493f1553 10679 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10680} _resultobj = Py_BuildValue("i",_result);
10681 return _resultobj;
10682}
10683
10684#define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
10685static PyObject *_wrap_wxRegion_SubtractRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
10686 PyObject * _resultobj;
10687 bool _result;
10688 wxRegion * _arg0;
10689 wxRegion * _arg1;
10690 PyObject * _argo0 = 0;
10691 PyObject * _argo1 = 0;
10692 char *_kwnames[] = { "self","region", NULL };
10693
10694 self = self;
10695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_SubtractRegion",_kwnames,&_argo0,&_argo1))
10696 return NULL;
10697 if (_argo0) {
10698 if (_argo0 == Py_None) { _arg0 = NULL; }
10699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
10701 return NULL;
10702 }
10703 }
10704 if (_argo1) {
10705 if (_argo1 == Py_None) { _arg1 = NULL; }
10706 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
10707 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
10708 return NULL;
10709 }
10710 }
10711{
4268f798 10712 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10713 _result = (bool )wxRegion_SubtractRegion(_arg0,*_arg1);
9416aa89 10714
4268f798 10715 wxPyEndAllowThreads(__tstate);
493f1553 10716 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10717} _resultobj = Py_BuildValue("i",_result);
10718 return _resultobj;
10719}
10720
10721#define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10722static PyObject *_wrap_wxRegion_Xor(PyObject *self, PyObject *args, PyObject *kwargs) {
10723 PyObject * _resultobj;
10724 bool _result;
10725 wxRegion * _arg0;
10726 long _arg1;
10727 long _arg2;
10728 long _arg3;
10729 long _arg4;
10730 PyObject * _argo0 = 0;
10731 char *_kwnames[] = { "self","x","y","width","height", NULL };
10732
10733 self = self;
10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxRegion_Xor",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10735 return NULL;
10736 if (_argo0) {
10737 if (_argo0 == Py_None) { _arg0 = NULL; }
10738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
10740 return NULL;
10741 }
10742 }
10743{
4268f798 10744 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10745 _result = (bool )wxRegion_Xor(_arg0,_arg1,_arg2,_arg3,_arg4);
9416aa89 10746
4268f798 10747 wxPyEndAllowThreads(__tstate);
493f1553 10748 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10749} _resultobj = Py_BuildValue("i",_result);
10750 return _resultobj;
10751}
10752
10753#define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
10754static PyObject *_wrap_wxRegion_XorRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10755 PyObject * _resultobj;
10756 bool _result;
10757 wxRegion * _arg0;
10758 wxRect * _arg1;
10759 PyObject * _argo0 = 0;
10760 wxRect temp;
10761 PyObject * _obj1 = 0;
10762 char *_kwnames[] = { "self","rect", NULL };
10763
10764 self = self;
10765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_XorRect",_kwnames,&_argo0,&_obj1))
10766 return NULL;
10767 if (_argo0) {
10768 if (_argo0 == Py_None) { _arg0 = NULL; }
10769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
10771 return NULL;
10772 }
10773 }
10774{
10775 _arg1 = &temp;
10776 if (! wxRect_helper(_obj1, &_arg1))
10777 return NULL;
10778}
10779{
4268f798 10780 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10781 _result = (bool )wxRegion_XorRect(_arg0,*_arg1);
9416aa89 10782
4268f798 10783 wxPyEndAllowThreads(__tstate);
493f1553 10784 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10785} _resultobj = Py_BuildValue("i",_result);
10786 return _resultobj;
10787}
10788
10789#define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
10790static PyObject *_wrap_wxRegion_XorRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
10791 PyObject * _resultobj;
10792 bool _result;
10793 wxRegion * _arg0;
10794 wxRegion * _arg1;
10795 PyObject * _argo0 = 0;
10796 PyObject * _argo1 = 0;
10797 char *_kwnames[] = { "self","region", NULL };
10798
10799 self = self;
10800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_XorRegion",_kwnames,&_argo0,&_argo1))
10801 return NULL;
10802 if (_argo0) {
10803 if (_argo0 == Py_None) { _arg0 = NULL; }
10804 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10805 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
10806 return NULL;
10807 }
10808 }
10809 if (_argo1) {
10810 if (_argo1 == Py_None) { _arg1 = NULL; }
10811 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
10812 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
10813 return NULL;
10814 }
10815 }
10816{
4268f798 10817 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10818 _result = (bool )wxRegion_XorRegion(_arg0,*_arg1);
9416aa89 10819
4268f798 10820 wxPyEndAllowThreads(__tstate);
493f1553 10821 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10822} _resultobj = Py_BuildValue("i",_result);
10823 return _resultobj;
10824}
10825
10826static void *SwigwxRegionIteratorTowxObject(void *ptr) {
10827 wxRegionIterator *src;
10828 wxObject *dest;
10829 src = (wxRegionIterator *) ptr;
10830 dest = (wxObject *) src;
10831 return (void *) dest;
10832}
10833
10834#define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
10835static PyObject *_wrap_new_wxRegionIterator(PyObject *self, PyObject *args, PyObject *kwargs) {
10836 PyObject * _resultobj;
10837 wxRegionIterator * _result;
10838 wxRegion * _arg0;
10839 PyObject * _argo0 = 0;
10840 char *_kwnames[] = { "region", NULL };
10841 char _ptemp[128];
10842
10843 self = self;
10844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxRegionIterator",_kwnames,&_argo0))
10845 return NULL;
10846 if (_argo0) {
10847 if (_argo0 == Py_None) { _arg0 = NULL; }
10848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
10850 return NULL;
10851 }
10852 }
10853{
4268f798 10854 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10855 _result = (wxRegionIterator *)new_wxRegionIterator(*_arg0);
9416aa89 10856
4268f798 10857 wxPyEndAllowThreads(__tstate);
493f1553 10858 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10859} if (_result) {
10860 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRegionIterator_p");
10861 _resultobj = Py_BuildValue("s",_ptemp);
10862 } else {
10863 Py_INCREF(Py_None);
10864 _resultobj = Py_None;
10865 }
10866 return _resultobj;
10867}
10868
10869#define delete_wxRegionIterator(_swigobj) (delete _swigobj)
10870static PyObject *_wrap_delete_wxRegionIterator(PyObject *self, PyObject *args, PyObject *kwargs) {
10871 PyObject * _resultobj;
10872 wxRegionIterator * _arg0;
10873 PyObject * _argo0 = 0;
10874 char *_kwnames[] = { "self", NULL };
10875
10876 self = self;
10877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxRegionIterator",_kwnames,&_argo0))
10878 return NULL;
10879 if (_argo0) {
10880 if (_argo0 == Py_None) { _arg0 = NULL; }
10881 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
10882 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
10883 return NULL;
10884 }
10885 }
10886{
4268f798 10887 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10888 delete_wxRegionIterator(_arg0);
9416aa89 10889
4268f798 10890 wxPyEndAllowThreads(__tstate);
493f1553 10891 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10892} Py_INCREF(Py_None);
10893 _resultobj = Py_None;
10894 return _resultobj;
10895}
10896
10897#define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
10898static PyObject *_wrap_wxRegionIterator_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
10899 PyObject * _resultobj;
10900 long _result;
10901 wxRegionIterator * _arg0;
10902 PyObject * _argo0 = 0;
10903 char *_kwnames[] = { "self", NULL };
10904
10905 self = self;
10906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetX",_kwnames,&_argo0))
10907 return NULL;
10908 if (_argo0) {
10909 if (_argo0 == Py_None) { _arg0 = NULL; }
10910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
10911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
10912 return NULL;
10913 }
10914 }
10915{
4268f798 10916 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10917 _result = (long )wxRegionIterator_GetX(_arg0);
9416aa89 10918
4268f798 10919 wxPyEndAllowThreads(__tstate);
493f1553 10920 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10921} _resultobj = Py_BuildValue("l",_result);
10922 return _resultobj;
10923}
10924
10925#define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
10926static PyObject *_wrap_wxRegionIterator_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
10927 PyObject * _resultobj;
10928 long _result;
10929 wxRegionIterator * _arg0;
10930 PyObject * _argo0 = 0;
10931 char *_kwnames[] = { "self", NULL };
10932
10933 self = self;
10934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetY",_kwnames,&_argo0))
10935 return NULL;
10936 if (_argo0) {
10937 if (_argo0 == Py_None) { _arg0 = NULL; }
10938 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
10939 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
10940 return NULL;
10941 }
10942 }
10943{
4268f798 10944 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10945 _result = (long )wxRegionIterator_GetY(_arg0);
9416aa89 10946
4268f798 10947 wxPyEndAllowThreads(__tstate);
493f1553 10948 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10949} _resultobj = Py_BuildValue("l",_result);
10950 return _resultobj;
10951}
10952
10953#define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
10954static PyObject *_wrap_wxRegionIterator_GetW(PyObject *self, PyObject *args, PyObject *kwargs) {
10955 PyObject * _resultobj;
10956 long _result;
10957 wxRegionIterator * _arg0;
10958 PyObject * _argo0 = 0;
10959 char *_kwnames[] = { "self", NULL };
10960
10961 self = self;
10962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetW",_kwnames,&_argo0))
10963 return NULL;
10964 if (_argo0) {
10965 if (_argo0 == Py_None) { _arg0 = NULL; }
10966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
10967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
10968 return NULL;
10969 }
10970 }
10971{
4268f798 10972 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10973 _result = (long )wxRegionIterator_GetW(_arg0);
9416aa89 10974
4268f798 10975 wxPyEndAllowThreads(__tstate);
493f1553 10976 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10977} _resultobj = Py_BuildValue("l",_result);
10978 return _resultobj;
10979}
10980
10981#define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
10982static PyObject *_wrap_wxRegionIterator_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10983 PyObject * _resultobj;
10984 long _result;
10985 wxRegionIterator * _arg0;
10986 PyObject * _argo0 = 0;
10987 char *_kwnames[] = { "self", NULL };
10988
10989 self = self;
10990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetWidth",_kwnames,&_argo0))
10991 return NULL;
10992 if (_argo0) {
10993 if (_argo0 == Py_None) { _arg0 = NULL; }
10994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
10995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
10996 return NULL;
10997 }
10998 }
10999{
4268f798 11000 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11001 _result = (long )wxRegionIterator_GetWidth(_arg0);
9416aa89 11002
4268f798 11003 wxPyEndAllowThreads(__tstate);
493f1553 11004 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11005} _resultobj = Py_BuildValue("l",_result);
11006 return _resultobj;
11007}
11008
11009#define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
11010static PyObject *_wrap_wxRegionIterator_GetH(PyObject *self, PyObject *args, PyObject *kwargs) {
11011 PyObject * _resultobj;
11012 long _result;
11013 wxRegionIterator * _arg0;
11014 PyObject * _argo0 = 0;
11015 char *_kwnames[] = { "self", NULL };
11016
11017 self = self;
11018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetH",_kwnames,&_argo0))
11019 return NULL;
11020 if (_argo0) {
11021 if (_argo0 == Py_None) { _arg0 = NULL; }
11022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
11024 return NULL;
11025 }
11026 }
11027{
4268f798 11028 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11029 _result = (long )wxRegionIterator_GetH(_arg0);
9416aa89 11030
4268f798 11031 wxPyEndAllowThreads(__tstate);
493f1553 11032 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11033} _resultobj = Py_BuildValue("l",_result);
11034 return _resultobj;
11035}
11036
11037#define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
11038static PyObject *_wrap_wxRegionIterator_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
11039 PyObject * _resultobj;
11040 long _result;
11041 wxRegionIterator * _arg0;
11042 PyObject * _argo0 = 0;
11043 char *_kwnames[] = { "self", NULL };
11044
11045 self = self;
11046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetHeight",_kwnames,&_argo0))
11047 return NULL;
11048 if (_argo0) {
11049 if (_argo0 == Py_None) { _arg0 = NULL; }
11050 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11051 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
11052 return NULL;
11053 }
11054 }
11055{
4268f798 11056 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11057 _result = (long )wxRegionIterator_GetHeight(_arg0);
9416aa89 11058
4268f798 11059 wxPyEndAllowThreads(__tstate);
493f1553 11060 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11061} _resultobj = Py_BuildValue("l",_result);
11062 return _resultobj;
11063}
11064
11065#define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
11066static PyObject *_wrap_wxRegionIterator_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
11067 PyObject * _resultobj;
11068 wxRect * _result;
11069 wxRegionIterator * _arg0;
11070 PyObject * _argo0 = 0;
11071 char *_kwnames[] = { "self", NULL };
11072 char _ptemp[128];
11073
11074 self = self;
11075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetRect",_kwnames,&_argo0))
11076 return NULL;
11077 if (_argo0) {
11078 if (_argo0 == Py_None) { _arg0 = NULL; }
11079 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
11081 return NULL;
11082 }
11083 }
11084{
4268f798 11085 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11086 _result = new wxRect (wxRegionIterator_GetRect(_arg0));
9416aa89 11087
4268f798 11088 wxPyEndAllowThreads(__tstate);
493f1553 11089 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11090} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
11091 _resultobj = Py_BuildValue("s",_ptemp);
11092 return _resultobj;
11093}
11094
11095#define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
11096static PyObject *_wrap_wxRegionIterator_HaveRects(PyObject *self, PyObject *args, PyObject *kwargs) {
11097 PyObject * _resultobj;
11098 bool _result;
11099 wxRegionIterator * _arg0;
11100 PyObject * _argo0 = 0;
11101 char *_kwnames[] = { "self", NULL };
11102
11103 self = self;
11104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_HaveRects",_kwnames,&_argo0))
11105 return NULL;
11106 if (_argo0) {
11107 if (_argo0 == Py_None) { _arg0 = NULL; }
11108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
11110 return NULL;
11111 }
11112 }
11113{
4268f798 11114 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11115 _result = (bool )wxRegionIterator_HaveRects(_arg0);
9416aa89 11116
4268f798 11117 wxPyEndAllowThreads(__tstate);
493f1553 11118 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11119} _resultobj = Py_BuildValue("i",_result);
11120 return _resultobj;
11121}
11122
11123#define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
11124static PyObject *_wrap_wxRegionIterator_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
11125 PyObject * _resultobj;
11126 wxRegionIterator * _arg0;
11127 PyObject * _argo0 = 0;
11128 char *_kwnames[] = { "self", NULL };
11129
11130 self = self;
11131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_Reset",_kwnames,&_argo0))
11132 return NULL;
11133 if (_argo0) {
11134 if (_argo0 == Py_None) { _arg0 = NULL; }
11135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
11137 return NULL;
11138 }
11139 }
11140{
4268f798 11141 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11142 wxRegionIterator_Reset(_arg0);
9416aa89 11143
4268f798 11144 wxPyEndAllowThreads(__tstate);
493f1553 11145 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11146} Py_INCREF(Py_None);
11147 _resultobj = Py_None;
11148 return _resultobj;
11149}
11150
11151static void wxRegionIterator_Next(wxRegionIterator *self) {
11152 (*self) ++;
11153 }
11154static PyObject *_wrap_wxRegionIterator_Next(PyObject *self, PyObject *args, PyObject *kwargs) {
11155 PyObject * _resultobj;
11156 wxRegionIterator * _arg0;
11157 PyObject * _argo0 = 0;
11158 char *_kwnames[] = { "self", NULL };
11159
11160 self = self;
11161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_Next",_kwnames,&_argo0))
11162 return NULL;
11163 if (_argo0) {
11164 if (_argo0 == Py_None) { _arg0 = NULL; }
11165 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11166 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
11167 return NULL;
11168 }
11169 }
11170{
4268f798 11171 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11172 wxRegionIterator_Next(_arg0);
9416aa89 11173
4268f798 11174 wxPyEndAllowThreads(__tstate);
493f1553 11175 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11176} Py_INCREF(Py_None);
11177 _resultobj = Py_None;
11178 return _resultobj;
11179}
11180
8ab979d7 11181static PyMethodDef gdicMethods[] = {
9416aa89
RD
11182 { "wxRegionIterator_Next", (PyCFunction) _wrap_wxRegionIterator_Next, METH_VARARGS | METH_KEYWORDS },
11183 { "wxRegionIterator_Reset", (PyCFunction) _wrap_wxRegionIterator_Reset, METH_VARARGS | METH_KEYWORDS },
11184 { "wxRegionIterator_HaveRects", (PyCFunction) _wrap_wxRegionIterator_HaveRects, METH_VARARGS | METH_KEYWORDS },
11185 { "wxRegionIterator_GetRect", (PyCFunction) _wrap_wxRegionIterator_GetRect, METH_VARARGS | METH_KEYWORDS },
11186 { "wxRegionIterator_GetHeight", (PyCFunction) _wrap_wxRegionIterator_GetHeight, METH_VARARGS | METH_KEYWORDS },
11187 { "wxRegionIterator_GetH", (PyCFunction) _wrap_wxRegionIterator_GetH, METH_VARARGS | METH_KEYWORDS },
11188 { "wxRegionIterator_GetWidth", (PyCFunction) _wrap_wxRegionIterator_GetWidth, METH_VARARGS | METH_KEYWORDS },
11189 { "wxRegionIterator_GetW", (PyCFunction) _wrap_wxRegionIterator_GetW, METH_VARARGS | METH_KEYWORDS },
11190 { "wxRegionIterator_GetY", (PyCFunction) _wrap_wxRegionIterator_GetY, METH_VARARGS | METH_KEYWORDS },
11191 { "wxRegionIterator_GetX", (PyCFunction) _wrap_wxRegionIterator_GetX, METH_VARARGS | METH_KEYWORDS },
11192 { "delete_wxRegionIterator", (PyCFunction) _wrap_delete_wxRegionIterator, METH_VARARGS | METH_KEYWORDS },
11193 { "new_wxRegionIterator", (PyCFunction) _wrap_new_wxRegionIterator, METH_VARARGS | METH_KEYWORDS },
11194 { "wxRegion_XorRegion", (PyCFunction) _wrap_wxRegion_XorRegion, METH_VARARGS | METH_KEYWORDS },
11195 { "wxRegion_XorRect", (PyCFunction) _wrap_wxRegion_XorRect, METH_VARARGS | METH_KEYWORDS },
11196 { "wxRegion_Xor", (PyCFunction) _wrap_wxRegion_Xor, METH_VARARGS | METH_KEYWORDS },
11197 { "wxRegion_SubtractRegion", (PyCFunction) _wrap_wxRegion_SubtractRegion, METH_VARARGS | METH_KEYWORDS },
11198 { "wxRegion_SubtractRect", (PyCFunction) _wrap_wxRegion_SubtractRect, METH_VARARGS | METH_KEYWORDS },
11199 { "wxRegion_Subtract", (PyCFunction) _wrap_wxRegion_Subtract, METH_VARARGS | METH_KEYWORDS },
11200 { "wxRegion_UnionRegion", (PyCFunction) _wrap_wxRegion_UnionRegion, METH_VARARGS | METH_KEYWORDS },
11201 { "wxRegion_UnionRect", (PyCFunction) _wrap_wxRegion_UnionRect, METH_VARARGS | METH_KEYWORDS },
11202 { "wxRegion_Union", (PyCFunction) _wrap_wxRegion_Union, METH_VARARGS | METH_KEYWORDS },
11203 { "wxRegion_IsEmpty", (PyCFunction) _wrap_wxRegion_IsEmpty, METH_VARARGS | METH_KEYWORDS },
11204 { "wxRegion_IntersectRegion", (PyCFunction) _wrap_wxRegion_IntersectRegion, METH_VARARGS | METH_KEYWORDS },
11205 { "wxRegion_IntersectRect", (PyCFunction) _wrap_wxRegion_IntersectRect, METH_VARARGS | METH_KEYWORDS },
11206 { "wxRegion_Intersect", (PyCFunction) _wrap_wxRegion_Intersect, METH_VARARGS | METH_KEYWORDS },
11207 { "wxRegion_GetBox", (PyCFunction) _wrap_wxRegion_GetBox, METH_VARARGS | METH_KEYWORDS },
11208 { "wxRegion_ContainsRectDim", (PyCFunction) _wrap_wxRegion_ContainsRectDim, METH_VARARGS | METH_KEYWORDS },
11209 { "wxRegion_ContainsRect", (PyCFunction) _wrap_wxRegion_ContainsRect, METH_VARARGS | METH_KEYWORDS },
11210 { "wxRegion_ContainsPoint", (PyCFunction) _wrap_wxRegion_ContainsPoint, METH_VARARGS | METH_KEYWORDS },
11211 { "wxRegion_Contains", (PyCFunction) _wrap_wxRegion_Contains, METH_VARARGS | METH_KEYWORDS },
23bed520 11212 { "wxRegion_Offset", (PyCFunction) _wrap_wxRegion_Offset, METH_VARARGS | METH_KEYWORDS },
9416aa89
RD
11213 { "wxRegion_Clear", (PyCFunction) _wrap_wxRegion_Clear, METH_VARARGS | METH_KEYWORDS },
11214 { "delete_wxRegion", (PyCFunction) _wrap_delete_wxRegion, METH_VARARGS | METH_KEYWORDS },
11215 { "new_wxRegion", (PyCFunction) _wrap_new_wxRegion, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 11216 { "wxImageList_GetSize", (PyCFunction) _wrap_wxImageList_GetSize, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11217 { "wxImageList_RemoveAll", (PyCFunction) _wrap_wxImageList_RemoveAll, METH_VARARGS | METH_KEYWORDS },
11218 { "wxImageList_Remove", (PyCFunction) _wrap_wxImageList_Remove, METH_VARARGS | METH_KEYWORDS },
11219 { "wxImageList_GetImageCount", (PyCFunction) _wrap_wxImageList_GetImageCount, METH_VARARGS | METH_KEYWORDS },
11220 { "wxImageList_Draw", (PyCFunction) _wrap_wxImageList_Draw, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11221 { "wxImageList_Replace", (PyCFunction) _wrap_wxImageList_Replace, METH_VARARGS | METH_KEYWORDS },
11222 { "wxImageList_AddIcon", (PyCFunction) _wrap_wxImageList_AddIcon, METH_VARARGS | METH_KEYWORDS },
11223 { "wxImageList_AddWithColourMask", (PyCFunction) _wrap_wxImageList_AddWithColourMask, METH_VARARGS | METH_KEYWORDS },
11224 { "wxImageList_Add", (PyCFunction) _wrap_wxImageList_Add, METH_VARARGS | METH_KEYWORDS },
11225 { "delete_wxImageList", (PyCFunction) _wrap_delete_wxImageList, METH_VARARGS | METH_KEYWORDS },
11226 { "new_wxImageList", (PyCFunction) _wrap_new_wxImageList, METH_VARARGS | METH_KEYWORDS },
11227 { "wxPalette_Ok", (PyCFunction) _wrap_wxPalette_Ok, METH_VARARGS | METH_KEYWORDS },
11228 { "wxPalette_GetRGB", (PyCFunction) _wrap_wxPalette_GetRGB, METH_VARARGS | METH_KEYWORDS },
11229 { "wxPalette_GetPixel", (PyCFunction) _wrap_wxPalette_GetPixel, METH_VARARGS | METH_KEYWORDS },
11230 { "delete_wxPalette", (PyCFunction) _wrap_delete_wxPalette, METH_VARARGS | METH_KEYWORDS },
11231 { "new_wxPalette", (PyCFunction) _wrap_new_wxPalette, METH_VARARGS | METH_KEYWORDS },
11232 { "wxMetaFileDC_Close", (PyCFunction) _wrap_wxMetaFileDC_Close, METH_VARARGS | METH_KEYWORDS },
11233 { "new_wxMetaFileDC", (PyCFunction) _wrap_new_wxMetaFileDC, METH_VARARGS | METH_KEYWORDS },
17c0e08c
RD
11234 { "wxMetaFile_GetFileName", (PyCFunction) _wrap_wxMetaFile_GetFileName, METH_VARARGS | METH_KEYWORDS },
11235 { "wxMetaFile_GetHeight", (PyCFunction) _wrap_wxMetaFile_GetHeight, METH_VARARGS | METH_KEYWORDS },
11236 { "wxMetaFile_GetWidth", (PyCFunction) _wrap_wxMetaFile_GetWidth, METH_VARARGS | METH_KEYWORDS },
11237 { "wxMetaFile_GetSize", (PyCFunction) _wrap_wxMetaFile_GetSize, METH_VARARGS | METH_KEYWORDS },
11238 { "wxMetaFile_SetClipboard", (PyCFunction) _wrap_wxMetaFile_SetClipboard, METH_VARARGS | METH_KEYWORDS },
11239 { "wxMetaFile_Ok", (PyCFunction) _wrap_wxMetaFile_Ok, METH_VARARGS | METH_KEYWORDS },
11240 { "delete_wxMetaFile", (PyCFunction) _wrap_delete_wxMetaFile, METH_VARARGS | METH_KEYWORDS },
11241 { "new_wxMetaFile", (PyCFunction) _wrap_new_wxMetaFile, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11242 { "new_wxWindowDC", (PyCFunction) _wrap_new_wxWindowDC, METH_VARARGS | METH_KEYWORDS },
11243 { "new_wxPaintDC", (PyCFunction) _wrap_new_wxPaintDC, METH_VARARGS | METH_KEYWORDS },
11244 { "new_wxClientDC", (PyCFunction) _wrap_new_wxClientDC, METH_VARARGS | METH_KEYWORDS },
11245 { "wxScreenDC_EndDrawingOnTop", (PyCFunction) _wrap_wxScreenDC_EndDrawingOnTop, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11246 { "wxScreenDC_StartDrawingOnTop", (PyCFunction) _wrap_wxScreenDC_StartDrawingOnTop, METH_VARARGS | METH_KEYWORDS },
26b9cf27 11247 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction) _wrap_wxScreenDC_StartDrawingOnTopWin, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11248 { "new_wxScreenDC", (PyCFunction) _wrap_new_wxScreenDC, METH_VARARGS | METH_KEYWORDS },
e9159fe8 11249 { "new_wxBufferedPaintDC", (PyCFunction) _wrap_new_wxBufferedPaintDC, METH_VARARGS | METH_KEYWORDS },
d3bfec74 11250 { "wxBufferedDC_UnMask", (PyCFunction) _wrap_wxBufferedDC_UnMask, METH_VARARGS | METH_KEYWORDS },
e9159fe8
RD
11251 { "new_wxBufferedDCInternalBuffer", (PyCFunction) _wrap_new_wxBufferedDCInternalBuffer, METH_VARARGS | METH_KEYWORDS },
11252 { "new_wxBufferedDC", (PyCFunction) _wrap_new_wxBufferedDC, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11253 { "wxMemoryDC_SelectObject", (PyCFunction) _wrap_wxMemoryDC_SelectObject, METH_VARARGS | METH_KEYWORDS },
11254 { "new_wxMemoryDC", (PyCFunction) _wrap_new_wxMemoryDC, METH_VARARGS | METH_KEYWORDS },
9d37f964
RD
11255 { "wxDC__DrawLineList", (PyCFunction) _wrap_wxDC__DrawLineList, METH_VARARGS | METH_KEYWORDS },
11256 { "wxDC__DrawPointList", (PyCFunction) _wrap_wxDC__DrawPointList, METH_VARARGS | METH_KEYWORDS },
c7e7022c 11257 { "wxDC_GetHDC", (PyCFunction) _wrap_wxDC_GetHDC, METH_VARARGS | METH_KEYWORDS },
9d37f964 11258 { "wxDC_GetBoundingBox", (PyCFunction) _wrap_wxDC_GetBoundingBox, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
11259 { "wxDC_ResetBoundingBox", (PyCFunction) _wrap_wxDC_ResetBoundingBox, METH_VARARGS | METH_KEYWORDS },
11260 { "wxDC_CalcBoundingBox", (PyCFunction) _wrap_wxDC_CalcBoundingBox, METH_VARARGS | METH_KEYWORDS },
eec92d76
RD
11261 { "wxDC_SetAxisOrientation", (PyCFunction) _wrap_wxDC_SetAxisOrientation, METH_VARARGS | METH_KEYWORDS },
11262 { "wxDC_GetDeviceOrigin", (PyCFunction) _wrap_wxDC_GetDeviceOrigin, METH_VARARGS | METH_KEYWORDS },
11263 { "wxDC_SetLogicalOrigin", (PyCFunction) _wrap_wxDC_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS },
11264 { "wxDC_GetLogicalOrigin", (PyCFunction) _wrap_wxDC_GetLogicalOrigin, METH_VARARGS | METH_KEYWORDS },
11265 { "wxDC_GetPPI", (PyCFunction) _wrap_wxDC_GetPPI, METH_VARARGS | METH_KEYWORDS },
11266 { "wxDC_GetDepth", (PyCFunction) _wrap_wxDC_GetDepth, METH_VARARGS | METH_KEYWORDS },
11267 { "wxDC_CanGetTextExtent", (PyCFunction) _wrap_wxDC_CanGetTextExtent, METH_VARARGS | METH_KEYWORDS },
11268 { "wxDC_CanDrawBitmap", (PyCFunction) _wrap_wxDC_CanDrawBitmap, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11269 { "wxDC_DrawBitmap", (PyCFunction) _wrap_wxDC_DrawBitmap, METH_VARARGS | METH_KEYWORDS },
11270 { "wxDC_StartPage", (PyCFunction) _wrap_wxDC_StartPage, METH_VARARGS | METH_KEYWORDS },
11271 { "wxDC_StartDoc", (PyCFunction) _wrap_wxDC_StartDoc, METH_VARARGS | METH_KEYWORDS },
11272 { "wxDC_SetUserScale", (PyCFunction) _wrap_wxDC_SetUserScale, METH_VARARGS | METH_KEYWORDS },
11273 { "wxDC_SetTextForeground", (PyCFunction) _wrap_wxDC_SetTextForeground, METH_VARARGS | METH_KEYWORDS },
11274 { "wxDC_SetTextBackground", (PyCFunction) _wrap_wxDC_SetTextBackground, METH_VARARGS | METH_KEYWORDS },
11275 { "wxDC_SetPen", (PyCFunction) _wrap_wxDC_SetPen, METH_VARARGS | METH_KEYWORDS },
11276 { "wxDC_SetOptimization", (PyCFunction) _wrap_wxDC_SetOptimization, METH_VARARGS | METH_KEYWORDS },
11277 { "wxDC_SetMapMode", (PyCFunction) _wrap_wxDC_SetMapMode, METH_VARARGS | METH_KEYWORDS },
eec92d76 11278 { "wxDC_SetLogicalScale", (PyCFunction) _wrap_wxDC_SetLogicalScale, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11279 { "wxDC_SetLogicalFunction", (PyCFunction) _wrap_wxDC_SetLogicalFunction, METH_VARARGS | METH_KEYWORDS },
11280 { "wxDC_SetFont", (PyCFunction) _wrap_wxDC_SetFont, METH_VARARGS | METH_KEYWORDS },
11281 { "wxDC_SetBrush", (PyCFunction) _wrap_wxDC_SetBrush, METH_VARARGS | METH_KEYWORDS },
11282 { "wxDC_SetPalette", (PyCFunction) _wrap_wxDC_SetPalette, METH_VARARGS | METH_KEYWORDS },
19a97bd6 11283 { "wxDC_SetClippingRegionAsRegion", (PyCFunction) _wrap_wxDC_SetClippingRegionAsRegion, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11284 { "wxDC_SetClippingRegion", (PyCFunction) _wrap_wxDC_SetClippingRegion, METH_VARARGS | METH_KEYWORDS },
11285 { "wxDC_SetBackgroundMode", (PyCFunction) _wrap_wxDC_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
11286 { "wxDC_SetBackground", (PyCFunction) _wrap_wxDC_SetBackground, METH_VARARGS | METH_KEYWORDS },
11287 { "wxDC_SetDeviceOrigin", (PyCFunction) _wrap_wxDC_SetDeviceOrigin, METH_VARARGS | METH_KEYWORDS },
11288 { "wxDC_Ok", (PyCFunction) _wrap_wxDC_Ok, METH_VARARGS | METH_KEYWORDS },
11289 { "wxDC_MinY", (PyCFunction) _wrap_wxDC_MinY, METH_VARARGS | METH_KEYWORDS },
11290 { "wxDC_MinX", (PyCFunction) _wrap_wxDC_MinX, METH_VARARGS | METH_KEYWORDS },
11291 { "wxDC_MaxY", (PyCFunction) _wrap_wxDC_MaxY, METH_VARARGS | METH_KEYWORDS },
11292 { "wxDC_MaxX", (PyCFunction) _wrap_wxDC_MaxX, METH_VARARGS | METH_KEYWORDS },
11293 { "wxDC_LogicalToDeviceYRel", (PyCFunction) _wrap_wxDC_LogicalToDeviceYRel, METH_VARARGS | METH_KEYWORDS },
11294 { "wxDC_LogicalToDeviceY", (PyCFunction) _wrap_wxDC_LogicalToDeviceY, METH_VARARGS | METH_KEYWORDS },
11295 { "wxDC_LogicalToDeviceXRel", (PyCFunction) _wrap_wxDC_LogicalToDeviceXRel, METH_VARARGS | METH_KEYWORDS },
11296 { "wxDC_LogicalToDeviceX", (PyCFunction) _wrap_wxDC_LogicalToDeviceX, METH_VARARGS | METH_KEYWORDS },
eec92d76 11297 { "wxDC_GetUserScale", (PyCFunction) _wrap_wxDC_GetUserScale, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11298 { "wxDC_GetTextForeground", (PyCFunction) _wrap_wxDC_GetTextForeground, METH_VARARGS | METH_KEYWORDS },
11299 { "wxDC_GetFullTextExtent", (PyCFunction) _wrap_wxDC_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
11300 { "wxDC_GetTextExtent", (PyCFunction) _wrap_wxDC_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
11301 { "wxDC_GetTextBackground", (PyCFunction) _wrap_wxDC_GetTextBackground, METH_VARARGS | METH_KEYWORDS },
eec92d76 11302 { "wxDC_GetSizeMM", (PyCFunction) _wrap_wxDC_GetSizeMM, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11303 { "wxDC_GetSize", (PyCFunction) _wrap_wxDC_GetSize, METH_VARARGS | METH_KEYWORDS },
11304 { "wxDC_GetSizeTuple", (PyCFunction) _wrap_wxDC_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
11305 { "wxDC_GetPixel", (PyCFunction) _wrap_wxDC_GetPixel, METH_VARARGS | METH_KEYWORDS },
11306 { "wxDC_GetPen", (PyCFunction) _wrap_wxDC_GetPen, METH_VARARGS | METH_KEYWORDS },
11307 { "wxDC_GetOptimization", (PyCFunction) _wrap_wxDC_GetOptimization, METH_VARARGS | METH_KEYWORDS },
11308 { "wxDC_GetMapMode", (PyCFunction) _wrap_wxDC_GetMapMode, METH_VARARGS | METH_KEYWORDS },
eec92d76 11309 { "wxDC_GetLogicalScale", (PyCFunction) _wrap_wxDC_GetLogicalScale, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11310 { "wxDC_GetLogicalFunction", (PyCFunction) _wrap_wxDC_GetLogicalFunction, METH_VARARGS | METH_KEYWORDS },
11311 { "wxDC_GetFont", (PyCFunction) _wrap_wxDC_GetFont, METH_VARARGS | METH_KEYWORDS },
11312 { "wxDC_GetClippingBox", (PyCFunction) _wrap_wxDC_GetClippingBox, METH_VARARGS | METH_KEYWORDS },
11313 { "wxDC_GetCharWidth", (PyCFunction) _wrap_wxDC_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
11314 { "wxDC_GetCharHeight", (PyCFunction) _wrap_wxDC_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
11315 { "wxDC_GetBrush", (PyCFunction) _wrap_wxDC_GetBrush, METH_VARARGS | METH_KEYWORDS },
11316 { "wxDC_GetBackground", (PyCFunction) _wrap_wxDC_GetBackground, METH_VARARGS | METH_KEYWORDS },
11317 { "wxDC_FloodFill", (PyCFunction) _wrap_wxDC_FloodFill, METH_VARARGS | METH_KEYWORDS },
11318 { "wxDC_EndPage", (PyCFunction) _wrap_wxDC_EndPage, METH_VARARGS | METH_KEYWORDS },
11319 { "wxDC_EndDrawing", (PyCFunction) _wrap_wxDC_EndDrawing, METH_VARARGS | METH_KEYWORDS },
11320 { "wxDC_EndDoc", (PyCFunction) _wrap_wxDC_EndDoc, METH_VARARGS | METH_KEYWORDS },
11321 { "wxDC_DrawText", (PyCFunction) _wrap_wxDC_DrawText, METH_VARARGS | METH_KEYWORDS },
11322 { "wxDC_DrawSpline", (PyCFunction) _wrap_wxDC_DrawSpline, METH_VARARGS | METH_KEYWORDS },
11323 { "wxDC_DrawRoundedRectangle", (PyCFunction) _wrap_wxDC_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
6999b0d8 11324 { "wxDC_DrawRotatedText", (PyCFunction) _wrap_wxDC_DrawRotatedText, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11325 { "wxDC_DrawRectangle", (PyCFunction) _wrap_wxDC_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
11326 { "wxDC_DrawPoint", (PyCFunction) _wrap_wxDC_DrawPoint, METH_VARARGS | METH_KEYWORDS },
11327 { "wxDC_DrawPolygon", (PyCFunction) _wrap_wxDC_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
11328 { "wxDC_DrawLines", (PyCFunction) _wrap_wxDC_DrawLines, METH_VARARGS | METH_KEYWORDS },
11329 { "wxDC_DrawLine", (PyCFunction) _wrap_wxDC_DrawLine, METH_VARARGS | METH_KEYWORDS },
23bed520
RD
11330 { "wxDC_DrawImageLabel", (PyCFunction) _wrap_wxDC_DrawImageLabel, METH_VARARGS | METH_KEYWORDS },
11331 { "wxDC_DrawLabel", (PyCFunction) _wrap_wxDC_DrawLabel, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11332 { "wxDC_DrawIcon", (PyCFunction) _wrap_wxDC_DrawIcon, METH_VARARGS | METH_KEYWORDS },
11333 { "wxDC_DrawEllipticArc", (PyCFunction) _wrap_wxDC_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
11334 { "wxDC_DrawEllipse", (PyCFunction) _wrap_wxDC_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
11335 { "wxDC_DrawCircle", (PyCFunction) _wrap_wxDC_DrawCircle, METH_VARARGS | METH_KEYWORDS },
11336 { "wxDC_DrawArc", (PyCFunction) _wrap_wxDC_DrawArc, METH_VARARGS | METH_KEYWORDS },
11337 { "wxDC_DeviceToLogicalYRel", (PyCFunction) _wrap_wxDC_DeviceToLogicalYRel, METH_VARARGS | METH_KEYWORDS },
11338 { "wxDC_DeviceToLogicalY", (PyCFunction) _wrap_wxDC_DeviceToLogicalY, METH_VARARGS | METH_KEYWORDS },
11339 { "wxDC_DeviceToLogicalXRel", (PyCFunction) _wrap_wxDC_DeviceToLogicalXRel, METH_VARARGS | METH_KEYWORDS },
11340 { "wxDC_DeviceToLogicalX", (PyCFunction) _wrap_wxDC_DeviceToLogicalX, METH_VARARGS | METH_KEYWORDS },
11341 { "wxDC_DestroyClippingRegion", (PyCFunction) _wrap_wxDC_DestroyClippingRegion, METH_VARARGS | METH_KEYWORDS },
11342 { "wxDC_CrossHair", (PyCFunction) _wrap_wxDC_CrossHair, METH_VARARGS | METH_KEYWORDS },
11343 { "wxDC_Clear", (PyCFunction) _wrap_wxDC_Clear, METH_VARARGS | METH_KEYWORDS },
11344 { "wxDC_Blit", (PyCFunction) _wrap_wxDC_Blit, METH_VARARGS | METH_KEYWORDS },
11345 { "wxDC_BeginDrawing", (PyCFunction) _wrap_wxDC_BeginDrawing, METH_VARARGS | METH_KEYWORDS },
11346 { "delete_wxDC", (PyCFunction) _wrap_delete_wxDC, METH_VARARGS | METH_KEYWORDS },
2f4e9287 11347 { "wxBrushList_GetCount", (PyCFunction) _wrap_wxBrushList_GetCount, METH_VARARGS | METH_KEYWORDS },
0569df0f
RD
11348 { "wxBrushList_RemoveBrush", (PyCFunction) _wrap_wxBrushList_RemoveBrush, METH_VARARGS | METH_KEYWORDS },
11349 { "wxBrushList_FindOrCreateBrush", (PyCFunction) _wrap_wxBrushList_FindOrCreateBrush, METH_VARARGS | METH_KEYWORDS },
11350 { "wxBrushList_AddBrush", (PyCFunction) _wrap_wxBrushList_AddBrush, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11351 { "wxBrush_SetStyle", (PyCFunction) _wrap_wxBrush_SetStyle, METH_VARARGS | METH_KEYWORDS },
11352 { "wxBrush_SetStipple", (PyCFunction) _wrap_wxBrush_SetStipple, METH_VARARGS | METH_KEYWORDS },
11353 { "wxBrush_SetColour", (PyCFunction) _wrap_wxBrush_SetColour, METH_VARARGS | METH_KEYWORDS },
11354 { "wxBrush_Ok", (PyCFunction) _wrap_wxBrush_Ok, METH_VARARGS | METH_KEYWORDS },
11355 { "wxBrush_GetStyle", (PyCFunction) _wrap_wxBrush_GetStyle, METH_VARARGS | METH_KEYWORDS },
11356 { "wxBrush_GetStipple", (PyCFunction) _wrap_wxBrush_GetStipple, METH_VARARGS | METH_KEYWORDS },
11357 { "wxBrush_GetColour", (PyCFunction) _wrap_wxBrush_GetColour, METH_VARARGS | METH_KEYWORDS },
0569df0f 11358 { "delete_wxBrush", (PyCFunction) _wrap_delete_wxBrush, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11359 { "new_wxBrush", (PyCFunction) _wrap_new_wxBrush, METH_VARARGS | METH_KEYWORDS },
2f4e9287 11360 { "wxPenList_GetCount", (PyCFunction) _wrap_wxPenList_GetCount, METH_VARARGS | METH_KEYWORDS },
0569df0f
RD
11361 { "wxPenList_RemovePen", (PyCFunction) _wrap_wxPenList_RemovePen, METH_VARARGS | METH_KEYWORDS },
11362 { "wxPenList_FindOrCreatePen", (PyCFunction) _wrap_wxPenList_FindOrCreatePen, METH_VARARGS | METH_KEYWORDS },
11363 { "wxPenList_AddPen", (PyCFunction) _wrap_wxPenList_AddPen, METH_VARARGS | METH_KEYWORDS },
ecc08ead
RD
11364 { "wxPyPen_SetDashes", (PyCFunction) _wrap_wxPyPen_SetDashes, METH_VARARGS | METH_KEYWORDS },
11365 { "delete_wxPyPen", (PyCFunction) _wrap_delete_wxPyPen, METH_VARARGS | METH_KEYWORDS },
11366 { "new_wxPyPen", (PyCFunction) _wrap_new_wxPyPen, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11367 { "wxPen_SetStipple", (PyCFunction) _wrap_wxPen_SetStipple, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11368 { "wxPen_GetStipple", (PyCFunction) _wrap_wxPen_GetStipple, METH_VARARGS | METH_KEYWORDS },
756ed80c 11369 { "wxPen_GetDashes", (PyCFunction) _wrap_wxPen_GetDashes, METH_VARARGS | METH_KEYWORDS },
6999b0d8 11370 { "wxPen_SetDashes", (PyCFunction) _wrap_wxPen_SetDashes, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11371 { "wxPen_SetWidth", (PyCFunction) _wrap_wxPen_SetWidth, METH_VARARGS | METH_KEYWORDS },
11372 { "wxPen_SetStyle", (PyCFunction) _wrap_wxPen_SetStyle, METH_VARARGS | METH_KEYWORDS },
11373 { "wxPen_SetJoin", (PyCFunction) _wrap_wxPen_SetJoin, METH_VARARGS | METH_KEYWORDS },
11374 { "wxPen_SetColour", (PyCFunction) _wrap_wxPen_SetColour, METH_VARARGS | METH_KEYWORDS },
11375 { "wxPen_SetCap", (PyCFunction) _wrap_wxPen_SetCap, METH_VARARGS | METH_KEYWORDS },
11376 { "wxPen_Ok", (PyCFunction) _wrap_wxPen_Ok, METH_VARARGS | METH_KEYWORDS },
11377 { "wxPen_GetWidth", (PyCFunction) _wrap_wxPen_GetWidth, METH_VARARGS | METH_KEYWORDS },
11378 { "wxPen_GetStyle", (PyCFunction) _wrap_wxPen_GetStyle, METH_VARARGS | METH_KEYWORDS },
11379 { "wxPen_GetJoin", (PyCFunction) _wrap_wxPen_GetJoin, METH_VARARGS | METH_KEYWORDS },
11380 { "wxPen_GetColour", (PyCFunction) _wrap_wxPen_GetColour, METH_VARARGS | METH_KEYWORDS },
11381 { "wxPen_GetCap", (PyCFunction) _wrap_wxPen_GetCap, METH_VARARGS | METH_KEYWORDS },
0569df0f 11382 { "delete_wxPen", (PyCFunction) _wrap_delete_wxPen, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11383 { "new_wxPen", (PyCFunction) _wrap_new_wxPen, METH_VARARGS | METH_KEYWORDS },
0569df0f
RD
11384 { "wxColourDatabase_Append", (PyCFunction) _wrap_wxColourDatabase_Append, METH_VARARGS | METH_KEYWORDS },
11385 { "wxColourDatabase_FindName", (PyCFunction) _wrap_wxColourDatabase_FindName, METH_VARARGS | METH_KEYWORDS },
11386 { "wxColourDatabase_FindColour", (PyCFunction) _wrap_wxColourDatabase_FindColour, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11387 { "wxColour_Get", (PyCFunction) _wrap_wxColour_Get, METH_VARARGS | METH_KEYWORDS },
11388 { "wxColour_Set", (PyCFunction) _wrap_wxColour_Set, METH_VARARGS | METH_KEYWORDS },
11389 { "wxColour_Ok", (PyCFunction) _wrap_wxColour_Ok, METH_VARARGS | METH_KEYWORDS },
11390 { "wxColour_Blue", (PyCFunction) _wrap_wxColour_Blue, METH_VARARGS | METH_KEYWORDS },
11391 { "wxColour_Green", (PyCFunction) _wrap_wxColour_Green, METH_VARARGS | METH_KEYWORDS },
11392 { "wxColour_Red", (PyCFunction) _wrap_wxColour_Red, METH_VARARGS | METH_KEYWORDS },
11393 { "delete_wxColour", (PyCFunction) _wrap_delete_wxColour, METH_VARARGS | METH_KEYWORDS },
11394 { "new_wxColour", (PyCFunction) _wrap_new_wxColour, METH_VARARGS | METH_KEYWORDS },
9b3d3bc4
RD
11395 { "wxCursor_SetSize", (PyCFunction) _wrap_wxCursor_SetSize, METH_VARARGS | METH_KEYWORDS },
11396 { "wxCursor_SetDepth", (PyCFunction) _wrap_wxCursor_SetDepth, METH_VARARGS | METH_KEYWORDS },
11397 { "wxCursor_SetHeight", (PyCFunction) _wrap_wxCursor_SetHeight, METH_VARARGS | METH_KEYWORDS },
11398 { "wxCursor_SetWidth", (PyCFunction) _wrap_wxCursor_SetWidth, METH_VARARGS | METH_KEYWORDS },
11399 { "wxCursor_GetDepth", (PyCFunction) _wrap_wxCursor_GetDepth, METH_VARARGS | METH_KEYWORDS },
11400 { "wxCursor_GetHeight", (PyCFunction) _wrap_wxCursor_GetHeight, METH_VARARGS | METH_KEYWORDS },
11401 { "wxCursor_GetWidth", (PyCFunction) _wrap_wxCursor_GetWidth, METH_VARARGS | METH_KEYWORDS },
11402 { "wxCursor_Ok", (PyCFunction) _wrap_wxCursor_Ok, METH_VARARGS | METH_KEYWORDS },
11403 { "wxCursor_SetHandle", (PyCFunction) _wrap_wxCursor_SetHandle, METH_VARARGS | METH_KEYWORDS },
11404 { "wxCursor_GetHandle", (PyCFunction) _wrap_wxCursor_GetHandle, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11405 { "delete_wxCursor", (PyCFunction) _wrap_delete_wxCursor, METH_VARARGS | METH_KEYWORDS },
11406 { "new_wxCursor", (PyCFunction) _wrap_new_wxCursor, METH_VARARGS | METH_KEYWORDS },
0e9b78ce
RD
11407 { "wxIconBundle_GetIcon", (PyCFunction) _wrap_wxIconBundle_GetIcon, METH_VARARGS | METH_KEYWORDS },
11408 { "wxIconBundle_AddIconFromFile", (PyCFunction) _wrap_wxIconBundle_AddIconFromFile, METH_VARARGS | METH_KEYWORDS },
11409 { "wxIconBundle_AddIcon", (PyCFunction) _wrap_wxIconBundle_AddIcon, METH_VARARGS | METH_KEYWORDS },
11410 { "delete_wxIconBundle", (PyCFunction) _wrap_delete_wxIconBundle, METH_VARARGS | METH_KEYWORDS },
11411 { "new_wxIconBundleFromIcon", (PyCFunction) _wrap_new_wxIconBundleFromIcon, METH_VARARGS | METH_KEYWORDS },
11412 { "new_wxIconBundleFromFile", (PyCFunction) _wrap_new_wxIconBundleFromFile, METH_VARARGS | METH_KEYWORDS },
11413 { "new_wxIconBundle", (PyCFunction) _wrap_new_wxIconBundle, METH_VARARGS | METH_KEYWORDS },
96bfd053 11414 { "wxIcon_CopyFromBitmap", (PyCFunction) _wrap_wxIcon_CopyFromBitmap, METH_VARARGS | METH_KEYWORDS },
9b3d3bc4
RD
11415 { "wxIcon_SetSize", (PyCFunction) _wrap_wxIcon_SetSize, METH_VARARGS | METH_KEYWORDS },
11416 { "wxIcon_SetDepth", (PyCFunction) _wrap_wxIcon_SetDepth, METH_VARARGS | METH_KEYWORDS },
11417 { "wxIcon_SetHeight", (PyCFunction) _wrap_wxIcon_SetHeight, METH_VARARGS | METH_KEYWORDS },
11418 { "wxIcon_SetWidth", (PyCFunction) _wrap_wxIcon_SetWidth, METH_VARARGS | METH_KEYWORDS },
11419 { "wxIcon_GetDepth", (PyCFunction) _wrap_wxIcon_GetDepth, METH_VARARGS | METH_KEYWORDS },
11420 { "wxIcon_GetHeight", (PyCFunction) _wrap_wxIcon_GetHeight, METH_VARARGS | METH_KEYWORDS },
11421 { "wxIcon_GetWidth", (PyCFunction) _wrap_wxIcon_GetWidth, METH_VARARGS | METH_KEYWORDS },
11422 { "wxIcon_Ok", (PyCFunction) _wrap_wxIcon_Ok, METH_VARARGS | METH_KEYWORDS },
11423 { "wxIcon_SetHandle", (PyCFunction) _wrap_wxIcon_SetHandle, METH_VARARGS | METH_KEYWORDS },
11424 { "wxIcon_GetHandle", (PyCFunction) _wrap_wxIcon_GetHandle, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11425 { "wxIcon_LoadFile", (PyCFunction) _wrap_wxIcon_LoadFile, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11426 { "delete_wxIcon", (PyCFunction) _wrap_delete_wxIcon, METH_VARARGS | METH_KEYWORDS },
11427 { "new_wxIcon", (PyCFunction) _wrap_new_wxIcon, METH_VARARGS | METH_KEYWORDS },
96bfd053 11428 { "wxMask_Destroy", (PyCFunction) _wrap_wxMask_Destroy, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11429 { "new_wxMask", (PyCFunction) _wrap_new_wxMask, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
11430 { "wxBitmap_SetQuality", (PyCFunction) _wrap_wxBitmap_SetQuality, METH_VARARGS | METH_KEYWORDS },
11431 { "wxBitmap_GetQuality", (PyCFunction) _wrap_wxBitmap_GetQuality, METH_VARARGS | METH_KEYWORDS },
11432 { "wxBitmap_CopyFromCursor", (PyCFunction) _wrap_wxBitmap_CopyFromCursor, METH_VARARGS | METH_KEYWORDS },
11433 { "wxBitmap_CopyFromIcon", (PyCFunction) _wrap_wxBitmap_CopyFromIcon, METH_VARARGS | METH_KEYWORDS },
11434 { "wxBitmap_GetSubBitmap", (PyCFunction) _wrap_wxBitmap_GetSubBitmap, METH_VARARGS | METH_KEYWORDS },
9b3d3bc4
RD
11435 { "wxBitmap_SetSize", (PyCFunction) _wrap_wxBitmap_SetSize, METH_VARARGS | METH_KEYWORDS },
11436 { "wxBitmap_SetDepth", (PyCFunction) _wrap_wxBitmap_SetDepth, METH_VARARGS | METH_KEYWORDS },
11437 { "wxBitmap_SetHeight", (PyCFunction) _wrap_wxBitmap_SetHeight, METH_VARARGS | METH_KEYWORDS },
11438 { "wxBitmap_SetWidth", (PyCFunction) _wrap_wxBitmap_SetWidth, METH_VARARGS | METH_KEYWORDS },
11439 { "wxBitmap_GetDepth", (PyCFunction) _wrap_wxBitmap_GetDepth, METH_VARARGS | METH_KEYWORDS },
11440 { "wxBitmap_GetHeight", (PyCFunction) _wrap_wxBitmap_GetHeight, METH_VARARGS | METH_KEYWORDS },
11441 { "wxBitmap_GetWidth", (PyCFunction) _wrap_wxBitmap_GetWidth, METH_VARARGS | METH_KEYWORDS },
11442 { "wxBitmap_Ok", (PyCFunction) _wrap_wxBitmap_Ok, METH_VARARGS | METH_KEYWORDS },
11443 { "wxBitmap_SetHandle", (PyCFunction) _wrap_wxBitmap_SetHandle, METH_VARARGS | METH_KEYWORDS },
11444 { "wxBitmap_GetHandle", (PyCFunction) _wrap_wxBitmap_GetHandle, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11445 { "wxBitmap_SetPalette", (PyCFunction) _wrap_wxBitmap_SetPalette, METH_VARARGS | METH_KEYWORDS },
11446 { "wxBitmap_SetMask", (PyCFunction) _wrap_wxBitmap_SetMask, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11447 { "wxBitmap_SaveFile", (PyCFunction) _wrap_wxBitmap_SaveFile, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11448 { "wxBitmap_LoadFile", (PyCFunction) _wrap_wxBitmap_LoadFile, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11449 { "wxBitmap_GetMask", (PyCFunction) _wrap_wxBitmap_GetMask, METH_VARARGS | METH_KEYWORDS },
11450 { "wxBitmap_GetPalette", (PyCFunction) _wrap_wxBitmap_GetPalette, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11451 { "delete_wxBitmap", (PyCFunction) _wrap_delete_wxBitmap, METH_VARARGS | METH_KEYWORDS },
11452 { "new_wxBitmap", (PyCFunction) _wrap_new_wxBitmap, METH_VARARGS | METH_KEYWORDS },
9416aa89
RD
11453 { "wxGDIObject_IsNull", (PyCFunction) _wrap_wxGDIObject_IsNull, METH_VARARGS | METH_KEYWORDS },
11454 { "wxGDIObject_SetVisible", (PyCFunction) _wrap_wxGDIObject_SetVisible, METH_VARARGS | METH_KEYWORDS },
11455 { "wxGDIObject_GetVisible", (PyCFunction) _wrap_wxGDIObject_GetVisible, METH_VARARGS | METH_KEYWORDS },
11456 { "delete_wxGDIObject", (PyCFunction) _wrap_delete_wxGDIObject, METH_VARARGS | METH_KEYWORDS },
11457 { "new_wxGDIObject", (PyCFunction) _wrap_new_wxGDIObject, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11458 { "wxMemoryDCFromDC", (PyCFunction) _wrap_wxMemoryDCFromDC, METH_VARARGS | METH_KEYWORDS },
11459 { "wxNamedColour", (PyCFunction) _wrap_wxNamedColour, METH_VARARGS | METH_KEYWORDS },
11460 { "wxStockCursor", (PyCFunction) _wrap_wxStockCursor, METH_VARARGS | METH_KEYWORDS },
7248a051 11461 { "wxIconFromBitmap", (PyCFunction) _wrap_wxIconFromBitmap, METH_VARARGS | METH_KEYWORDS },
96bfd053
RD
11462 { "wxIconFromXPMData", (PyCFunction) _wrap_wxIconFromXPMData, METH_VARARGS | METH_KEYWORDS },
11463 { "wxEmptyIcon", (PyCFunction) _wrap_wxEmptyIcon, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11464 { "wxMaskColour", (PyCFunction) _wrap_wxMaskColour, METH_VARARGS | METH_KEYWORDS },
d56cebe7 11465 { "wxBitmapFromBits", (PyCFunction) _wrap_wxBitmapFromBits, METH_VARARGS | METH_KEYWORDS },
96bfd053
RD
11466 { "wxBitmapFromIcon", (PyCFunction) _wrap_wxBitmapFromIcon, METH_VARARGS | METH_KEYWORDS },
11467 { "wxBitmapFromXPMData", (PyCFunction) _wrap_wxBitmapFromXPMData, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11468 { "wxEmptyBitmap", (PyCFunction) _wrap_wxEmptyBitmap, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
11469 { NULL, NULL }
11470};
1d99702e
RD
11471#ifdef __cplusplus
11472}
11473#endif
11474/*
11475 * This table is used by the pointer type-checker
11476 */
11477static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 11478 { "_signed_long","_long",0},
b1462dfa 11479 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
11480 { "_wxPrintQuality","_int",0},
11481 { "_wxPrintQuality","_signed_int",0},
11482 { "_wxPrintQuality","_unsigned_int",0},
11483 { "_wxPrintQuality","_wxWindowID",0},
11484 { "_wxPrintQuality","_uint",0},
11485 { "_wxPrintQuality","_EBool",0},
11486 { "_wxPrintQuality","_size_t",0},
c368d904 11487 { "_wxPrintQuality","_time_t",0},
ecc08ead 11488 { "_wxPen","_wxPyPen",SwigwxPyPenTowxPen},
1d99702e 11489 { "_byte","_unsigned_char",0},
1d99702e
RD
11490 { "_long","_unsigned_long",0},
11491 { "_long","_signed_long",0},
9416aa89 11492 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject},
9416aa89 11493 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject},
9416aa89 11494 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject},
ecc08ead 11495 { "_wxGDIObject","_wxPyPen",SwigwxPyPenTowxGDIObject},
9416aa89 11496 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject},
9416aa89 11497 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject},
9416aa89 11498 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject},
9416aa89 11499 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject},
1d99702e 11500 { "_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC},
1d99702e 11501 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC},
1d99702e 11502 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC},
1d99702e 11503 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC},
1d99702e 11504 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC},
e9159fe8
RD
11505 { "_wxDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxDC},
11506 { "_wxDC","_wxBufferedDC",SwigwxBufferedDCTowxDC},
1d99702e 11507 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC},
b1462dfa 11508 { "_size_t","_wxCoord",0},
1d99702e 11509 { "_size_t","_wxPrintQuality",0},
c368d904 11510 { "_size_t","_time_t",0},
1d99702e
RD
11511 { "_size_t","_unsigned_int",0},
11512 { "_size_t","_int",0},
11513 { "_size_t","_wxWindowID",0},
11514 { "_size_t","_uint",0},
b1462dfa 11515 { "_uint","_wxCoord",0},
1d99702e 11516 { "_uint","_wxPrintQuality",0},
c368d904 11517 { "_uint","_time_t",0},
1d99702e
RD
11518 { "_uint","_size_t",0},
11519 { "_uint","_unsigned_int",0},
11520 { "_uint","_int",0},
11521 { "_uint","_wxWindowID",0},
f6bcfd97 11522 { "_wxChar","_char",0},
f6bcfd97 11523 { "_char","_wxChar",0},
e9159fe8 11524 { "_wxBufferedDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxBufferedDC},
6d8b4f8d 11525 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 11526 { "_EBool","_wxCoord",0},
1d99702e
RD
11527 { "_EBool","_wxPrintQuality",0},
11528 { "_EBool","_signed_int",0},
11529 { "_EBool","_int",0},
11530 { "_EBool","_wxWindowID",0},
1d99702e 11531 { "_unsigned_long","_long",0},
6d8b4f8d 11532 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 11533 { "_signed_int","_wxCoord",0},
1d99702e
RD
11534 { "_signed_int","_wxPrintQuality",0},
11535 { "_signed_int","_EBool",0},
11536 { "_signed_int","_wxWindowID",0},
11537 { "_signed_int","_int",0},
1d99702e
RD
11538 { "_WXTYPE","_short",0},
11539 { "_WXTYPE","_signed_short",0},
11540 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
11541 { "_unsigned_short","_WXTYPE",0},
11542 { "_unsigned_short","_short",0},
9416aa89 11543 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject},
9416aa89 11544 { "_wxObject","_wxRegion",SwigwxRegionTowxObject},
9416aa89 11545 { "_wxObject","_wxImageList",SwigwxImageListTowxObject},
9416aa89 11546 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject},
9416aa89 11547 { "_wxObject","_wxMetaFileDC",SwigwxMetaFileDCTowxObject},
17c0e08c 11548 { "_wxObject","_wxMetaFile",SwigwxMetaFileTowxObject},
9416aa89 11549 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject},
9416aa89 11550 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject},
9416aa89 11551 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject},
9416aa89 11552 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject},
e9159fe8
RD
11553 { "_wxObject","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxObject},
11554 { "_wxObject","_wxBufferedDC",SwigwxBufferedDCTowxObject},
9416aa89 11555 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject},
9416aa89 11556 { "_wxObject","_wxDC",SwigwxDCTowxObject},
6ee2116b 11557 { "_wxObject","_wxBrushList",SwigwxBrushListTowxObject},
9416aa89 11558 { "_wxObject","_wxBrush",SwigwxBrushTowxObject},
9416aa89 11559 { "_wxObject","_wxPenList",SwigwxPenListTowxObject},
ecc08ead 11560 { "_wxObject","_wxPyPen",SwigwxPyPenTowxObject},
9416aa89 11561 { "_wxObject","_wxPen",SwigwxPenTowxObject},
9416aa89 11562 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject},
9416aa89 11563 { "_wxObject","_wxColour",SwigwxColourTowxObject},
9416aa89 11564 { "_wxObject","_wxCursor",SwigwxCursorTowxObject},
9416aa89 11565 { "_wxObject","_wxIcon",SwigwxIconTowxObject},
9416aa89 11566 { "_wxObject","_wxMask",SwigwxMaskTowxObject},
9416aa89 11567 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject},
9416aa89 11568 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject},
1d99702e
RD
11569 { "_signed_short","_WXTYPE",0},
11570 { "_signed_short","_short",0},
e9159fe8
RD
11571 { "_wxMemoryDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxMemoryDC},
11572 { "_wxMemoryDC","_wxBufferedDC",SwigwxBufferedDCTowxMemoryDC},
1d99702e 11573 { "_unsigned_char","_byte",0},
b1462dfa 11574 { "_unsigned_int","_wxCoord",0},
1d99702e 11575 { "_unsigned_int","_wxPrintQuality",0},
c368d904 11576 { "_unsigned_int","_time_t",0},
1d99702e
RD
11577 { "_unsigned_int","_size_t",0},
11578 { "_unsigned_int","_uint",0},
11579 { "_unsigned_int","_wxWindowID",0},
11580 { "_unsigned_int","_int",0},
1d99702e
RD
11581 { "_short","_WXTYPE",0},
11582 { "_short","_unsigned_short",0},
11583 { "_short","_signed_short",0},
b1462dfa 11584 { "_wxWindowID","_wxCoord",0},
1d99702e 11585 { "_wxWindowID","_wxPrintQuality",0},
c368d904 11586 { "_wxWindowID","_time_t",0},
1d99702e
RD
11587 { "_wxWindowID","_size_t",0},
11588 { "_wxWindowID","_EBool",0},
11589 { "_wxWindowID","_uint",0},
11590 { "_wxWindowID","_int",0},
11591 { "_wxWindowID","_signed_int",0},
11592 { "_wxWindowID","_unsigned_int",0},
b1462dfa 11593 { "_int","_wxCoord",0},
1d99702e 11594 { "_int","_wxPrintQuality",0},
c368d904 11595 { "_int","_time_t",0},
1d99702e
RD
11596 { "_int","_size_t",0},
11597 { "_int","_EBool",0},
11598 { "_int","_uint",0},
11599 { "_int","_wxWindowID",0},
11600 { "_int","_unsigned_int",0},
11601 { "_int","_signed_int",0},
c368d904
RD
11602 { "_time_t","_wxCoord",0},
11603 { "_time_t","_wxPrintQuality",0},
11604 { "_time_t","_unsigned_int",0},
11605 { "_time_t","_int",0},
11606 { "_time_t","_wxWindowID",0},
11607 { "_time_t","_uint",0},
11608 { "_time_t","_size_t",0},
b1462dfa
RD
11609 { "_wxCoord","_int",0},
11610 { "_wxCoord","_signed_int",0},
11611 { "_wxCoord","_unsigned_int",0},
11612 { "_wxCoord","_wxWindowID",0},
11613 { "_wxCoord","_uint",0},
11614 { "_wxCoord","_EBool",0},
11615 { "_wxCoord","_size_t",0},
c368d904 11616 { "_wxCoord","_time_t",0},
b1462dfa 11617 { "_wxCoord","_wxPrintQuality",0},
1d99702e
RD
11618{0,0,0}};
11619
8ab979d7
RD
11620static PyObject *SWIG_globals;
11621#ifdef __cplusplus
11622extern "C"
11623#endif
1d99702e 11624SWIGEXPORT(void) initgdic() {
8ab979d7
RD
11625 PyObject *m, *d;
11626 SWIG_globals = SWIG_newvarlink();
11627 m = Py_InitModule("gdic", gdicMethods);
11628 d = PyModule_GetDict(m);
c5943253
RD
11629 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL));
11630 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT));
11631 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED));
11632 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED));
11633 PyDict_SetItemString(d,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL));
11634 PyDict_SetItemString(d,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL));
11635 PyDict_SetItemString(d,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE));
11636 PyDict_SetItemString(d,"wxOutRegion", PyInt_FromLong((long) wxOutRegion));
11637 PyDict_SetItemString(d,"wxPartRegion", PyInt_FromLong((long) wxPartRegion));
11638 PyDict_SetItemString(d,"wxInRegion", PyInt_FromLong((long) wxInRegion));
8ab979d7
RD
11639 PyDict_SetItemString(d,"cvar", SWIG_globals);
11640 SWIG_addvarlink(SWIG_globals,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get, _wrap_wxNORMAL_FONT_set);
11641 SWIG_addvarlink(SWIG_globals,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get, _wrap_wxSMALL_FONT_set);
11642 SWIG_addvarlink(SWIG_globals,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get, _wrap_wxITALIC_FONT_set);
11643 SWIG_addvarlink(SWIG_globals,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get, _wrap_wxSWISS_FONT_set);
11644 SWIG_addvarlink(SWIG_globals,"wxRED_PEN",_wrap_wxRED_PEN_get, _wrap_wxRED_PEN_set);
11645 SWIG_addvarlink(SWIG_globals,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get, _wrap_wxCYAN_PEN_set);
11646 SWIG_addvarlink(SWIG_globals,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get, _wrap_wxGREEN_PEN_set);
11647 SWIG_addvarlink(SWIG_globals,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get, _wrap_wxBLACK_PEN_set);
11648 SWIG_addvarlink(SWIG_globals,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get, _wrap_wxWHITE_PEN_set);
11649 SWIG_addvarlink(SWIG_globals,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get, _wrap_wxTRANSPARENT_PEN_set);
11650 SWIG_addvarlink(SWIG_globals,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get, _wrap_wxBLACK_DASHED_PEN_set);
11651 SWIG_addvarlink(SWIG_globals,"wxGREY_PEN",_wrap_wxGREY_PEN_get, _wrap_wxGREY_PEN_set);
11652 SWIG_addvarlink(SWIG_globals,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get, _wrap_wxMEDIUM_GREY_PEN_set);
11653 SWIG_addvarlink(SWIG_globals,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get, _wrap_wxLIGHT_GREY_PEN_set);
11654 SWIG_addvarlink(SWIG_globals,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get, _wrap_wxBLUE_BRUSH_set);
11655 SWIG_addvarlink(SWIG_globals,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get, _wrap_wxGREEN_BRUSH_set);
11656 SWIG_addvarlink(SWIG_globals,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get, _wrap_wxWHITE_BRUSH_set);
11657 SWIG_addvarlink(SWIG_globals,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get, _wrap_wxBLACK_BRUSH_set);
11658 SWIG_addvarlink(SWIG_globals,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get, _wrap_wxTRANSPARENT_BRUSH_set);
11659 SWIG_addvarlink(SWIG_globals,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get, _wrap_wxCYAN_BRUSH_set);
11660 SWIG_addvarlink(SWIG_globals,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get, _wrap_wxRED_BRUSH_set);
11661 SWIG_addvarlink(SWIG_globals,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get, _wrap_wxGREY_BRUSH_set);
11662 SWIG_addvarlink(SWIG_globals,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get, _wrap_wxMEDIUM_GREY_BRUSH_set);
11663 SWIG_addvarlink(SWIG_globals,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get, _wrap_wxLIGHT_GREY_BRUSH_set);
11664 SWIG_addvarlink(SWIG_globals,"wxBLACK",_wrap_wxBLACK_get, _wrap_wxBLACK_set);
11665 SWIG_addvarlink(SWIG_globals,"wxWHITE",_wrap_wxWHITE_get, _wrap_wxWHITE_set);
11666 SWIG_addvarlink(SWIG_globals,"wxRED",_wrap_wxRED_get, _wrap_wxRED_set);
11667 SWIG_addvarlink(SWIG_globals,"wxBLUE",_wrap_wxBLUE_get, _wrap_wxBLUE_set);
11668 SWIG_addvarlink(SWIG_globals,"wxGREEN",_wrap_wxGREEN_get, _wrap_wxGREEN_set);
11669 SWIG_addvarlink(SWIG_globals,"wxCYAN",_wrap_wxCYAN_get, _wrap_wxCYAN_set);
11670 SWIG_addvarlink(SWIG_globals,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get, _wrap_wxLIGHT_GREY_set);
11671 SWIG_addvarlink(SWIG_globals,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get, _wrap_wxSTANDARD_CURSOR_set);
11672 SWIG_addvarlink(SWIG_globals,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get, _wrap_wxHOURGLASS_CURSOR_set);
11673 SWIG_addvarlink(SWIG_globals,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get, _wrap_wxCROSS_CURSOR_set);
11674 SWIG_addvarlink(SWIG_globals,"wxNullBitmap",_wrap_wxNullBitmap_get, _wrap_wxNullBitmap_set);
11675 SWIG_addvarlink(SWIG_globals,"wxNullIcon",_wrap_wxNullIcon_get, _wrap_wxNullIcon_set);
11676 SWIG_addvarlink(SWIG_globals,"wxNullCursor",_wrap_wxNullCursor_get, _wrap_wxNullCursor_set);
11677 SWIG_addvarlink(SWIG_globals,"wxNullPen",_wrap_wxNullPen_get, _wrap_wxNullPen_set);
11678 SWIG_addvarlink(SWIG_globals,"wxNullBrush",_wrap_wxNullBrush_get, _wrap_wxNullBrush_set);
11679 SWIG_addvarlink(SWIG_globals,"wxNullPalette",_wrap_wxNullPalette_get, _wrap_wxNullPalette_set);
11680 SWIG_addvarlink(SWIG_globals,"wxNullFont",_wrap_wxNullFont_get, _wrap_wxNullFont_set);
11681 SWIG_addvarlink(SWIG_globals,"wxNullColour",_wrap_wxNullColour_get, _wrap_wxNullColour_set);
0569df0f
RD
11682 SWIG_addvarlink(SWIG_globals,"wxTheFontList",_wrap_wxTheFontList_get, _wrap_wxTheFontList_set);
11683 SWIG_addvarlink(SWIG_globals,"wxThePenList",_wrap_wxThePenList_get, _wrap_wxThePenList_set);
11684 SWIG_addvarlink(SWIG_globals,"wxTheBrushList",_wrap_wxTheBrushList_get, _wrap_wxTheBrushList_set);
11685 SWIG_addvarlink(SWIG_globals,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get, _wrap_wxTheColourDatabase_set);
1d99702e
RD
11686{
11687 int i;
11688 for (i = 0; _swig_mapping[i].n1; i++)
11689 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11690}
8ab979d7 11691}