]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/gdi.cpp
Added wxListCtrlAutoWidthMixin from Erik Westra.
[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>
8ab979d7 65
8ab979d7
RD
66
67static PyObject* t_output_helper(PyObject* target, PyObject* o) {
68 PyObject* o2;
69 PyObject* o3;
70
f3d9dc1d 71 if (!target) {
8ab979d7 72 target = o;
f3d9dc1d 73 } else if (target == Py_None) {
8ab979d7
RD
74 Py_DECREF(Py_None);
75 target = o;
f3d9dc1d 76 } else {
8ab979d7
RD
77 if (!PyTuple_Check(target)) {
78 o2 = target;
79 target = PyTuple_New(1);
80 PyTuple_SetItem(target, 0, o2);
81 }
f3d9dc1d
RD
82 o3 = PyTuple_New(1);
83 PyTuple_SetItem(o3, 0, o);
8ab979d7
RD
84
85 o2 = target;
f3d9dc1d
RD
86 target = PySequence_Concat(o2, o3);
87 Py_DECREF(o2);
8ab979d7
RD
88 Py_DECREF(o3);
89 }
90 return target;
91}
137b5242
RD
92
93 // Put some wx default wxChar* values into wxStrings.
94 static const wxString wxPyEmptyString(wxT(""));
96bfd053
RD
95 // Implementations of some alternate "constructors"
96
8ab979d7
RD
97 wxBitmap* wxEmptyBitmap(int width, int height, int depth=-1) {
98 return new wxBitmap(width, height, depth);
99 }
100
96bfd053
RD
101 static char** ConvertListOfStrings(PyObject* listOfStrings) {
102 char** cArray = NULL;
103 int count;
104
105 if (!PyList_Check(listOfStrings)) {
106 PyErr_SetString(PyExc_TypeError, "Expected a list of strings.");
107 return NULL;
108 }
109 count = PyList_Size(listOfStrings);
110 cArray = new char*[count];
111
112 for(int x=0; x<count; x++) {
113 // TODO: Need some validation and error checking here
114 cArray[x] = PyString_AsString(PyList_GET_ITEM(listOfStrings, x));
115 }
116 return cArray;
117 }
118
d56cebe7 119
96bfd053
RD
120 wxBitmap* wxBitmapFromXPMData(PyObject* listOfStrings) {
121 char** cArray = NULL;
122 wxBitmap* bmp;
123
124 cArray = ConvertListOfStrings(listOfStrings);
125 if (! cArray)
126 return NULL;
127 bmp = new wxBitmap(cArray);
128 delete [] cArray;
129 return bmp;
130 }
131
132
133 wxBitmap* wxBitmapFromIcon(const wxIcon& icon) {
134 return new wxBitmap(icon);
135 }
136
137
d56cebe7
RD
138 wxBitmap* wxBitmapFromBits(char* bits, int width, int height, int depth = 1 ) {
139 return new wxBitmap(bits, width, height, depth);
140 }
926bb76c 141
4c9993c3 142
d56cebe7
RD
143// #ifdef __WXMSW__
144// wxBitmap* wxBitmapFromData(PyObject* data, long type,
145// int width, int height, int depth = 1) {
146// if (! PyString_Check(data)) {
147// PyErr_SetString(PyExc_TypeError, "Expected string object");
148// return NULL;
149// }
150// return new wxBitmap((void*)PyString_AsString(data), type, width, height, depth);
151// }
152// #endif
8bf5d46e 153
8ab979d7
RD
154 wxMask* wxMaskColour(const wxBitmap& bitmap, const wxColour& colour) {
155 return new wxMask(bitmap, colour);
96bfd053
RD
156 }
157 // Implementations of some alternate "constructors"
158 wxIcon* wxEmptyIcon() {
159 return new wxIcon();
160 }
161
162 wxIcon* wxIconFromXPMData(PyObject* listOfStrings) {
163 char** cArray = NULL;
164 wxIcon* icon;
165
166 cArray = ConvertListOfStrings(listOfStrings);
167 if (! cArray)
168 return NULL;
169 icon = new wxIcon(cArray);
170 delete [] cArray;
171 return icon;
8ab979d7 172 }
7248a051
RD
173
174 wxIcon* wxIconFromBitmap(const wxBitmap& bmp) {
175 wxIcon* icon = new wxIcon();
176 icon->CopyFromBitmap(bmp);
177 return icon;
178 }
8ab979d7 179 // Alternate 'constructor'
9c039d08 180 wxCursor* wxPyStockCursor(int id) {
8ab979d7
RD
181 return new wxCursor(id);
182 }
183 // Alternate 'constructor'
184 wxColour* wxNamedColour(const wxString& colorName) {
185 return new wxColour(colorName);
186 }
ecc08ead
RD
187
188class wxPyPen : public wxPen {
189public:
190 wxPyPen(wxColour& colour, int width=1, int style=wxSOLID)
191 : wxPen(colour, width, style)
192 { m_dash = NULL; }
193 ~wxPyPen() {
194 if (m_dash)
181526ac 195 delete [] m_dash;
ecc08ead
RD
196 }
197
198 void SetDashes(int nb_dashes, const wxDash *dash) {
181526ac
RD
199 if (m_dash)
200 delete [] m_dash;
ecc08ead 201 m_dash = new wxDash[nb_dashes];
181526ac 202 for (int i=0; i<nb_dashes; i++) {
ecc08ead 203 m_dash[i] = dash[i];
181526ac 204 }
ecc08ead
RD
205 wxPen::SetDashes(nb_dashes, m_dash);
206 }
207
208private:
209 wxDash* m_dash;
210};
9d37f964
RD
211
212static void wxDC_GetBoundingBox(wxDC* dc, int* x1, int* y1, int* x2, int* y2) {
213 *x1 = dc->MinX();
214 *y1 = dc->MinY();
215 *x2 = dc->MaxX();
216 *y2 = dc->MaxY();
217}
8ab979d7
RD
218 // Alternate 'constructor'
219 wxMemoryDC* wxMemoryDCFromDC(wxDC* oldDC) {
220 return new wxMemoryDC(oldDC);
221 }
af309447 222
17c0e08c
RD
223#include <wx/metafile.h>
224
af309447 225#if 0
8ab979d7
RD
226extern wxFont * wxNORMAL_FONT;
227extern wxFont * wxSMALL_FONT;
228extern wxFont * wxITALIC_FONT;
229extern wxFont * wxSWISS_FONT;
230extern wxPen * wxRED_PEN;
231extern wxPen * wxCYAN_PEN;
232extern wxPen * wxGREEN_PEN;
233extern wxPen * wxBLACK_PEN;
234extern wxPen * wxWHITE_PEN;
235extern wxPen * wxTRANSPARENT_PEN;
236extern wxPen * wxBLACK_DASHED_PEN;
237extern wxPen * wxGREY_PEN;
238extern wxPen * wxMEDIUM_GREY_PEN;
239extern wxPen * wxLIGHT_GREY_PEN;
240extern wxBrush * wxBLUE_BRUSH;
241extern wxBrush * wxGREEN_BRUSH;
242extern wxBrush * wxWHITE_BRUSH;
243extern wxBrush * wxBLACK_BRUSH;
244extern wxBrush * wxTRANSPARENT_BRUSH;
245extern wxBrush * wxCYAN_BRUSH;
246extern wxBrush * wxRED_BRUSH;
247extern wxBrush * wxGREY_BRUSH;
248extern wxBrush * wxMEDIUM_GREY_BRUSH;
249extern wxBrush * wxLIGHT_GREY_BRUSH;
250extern wxColour * wxBLACK;
251extern wxColour * wxWHITE;
252extern wxColour * wxRED;
253extern wxColour * wxBLUE;
254extern wxColour * wxGREEN;
255extern wxColour * wxCYAN;
256extern wxColour * wxLIGHT_GREY;
257extern wxCursor * wxSTANDARD_CURSOR;
258extern wxCursor * wxHOURGLASS_CURSOR;
259extern wxCursor * wxCROSS_CURSOR;
260extern wxBitmap wxNullBitmap;
261extern wxIcon wxNullIcon;
262extern wxCursor wxNullCursor;
263extern wxPen wxNullPen;
264extern wxBrush wxNullBrush;
265extern wxPalette wxNullPalette;
266extern wxFont wxNullFont;
267extern wxColour wxNullColour;
0569df0f
RD
268extern wxFontList * wxTheFontList;
269extern wxPenList * wxThePenList;
6ee2116b 270extern wxBrushList * wxTheBrushList;
0569df0f 271extern wxColourDatabase * wxTheColourDatabase;
af309447 272
1d99702e
RD
273#endif
274#ifdef __cplusplus
275extern "C" {
af309447 276#endif
1afc06c2 277static PyObject *_wrap_wxEmptyBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
278 PyObject * _resultobj;
279 wxBitmap * _result;
280 int _arg0;
281 int _arg1;
1d99702e 282 int _arg2 = (int ) -1;
1afc06c2 283 char *_kwnames[] = { "width","height","depth", NULL };
8ab979d7
RD
284 char _ptemp[128];
285
286 self = self;
1afc06c2 287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii|i:wxEmptyBitmap",_kwnames,&_arg0,&_arg1,&_arg2))
8ab979d7 288 return NULL;
cf694132 289{
4268f798 290 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 291 _result = (wxBitmap *)wxEmptyBitmap(_arg0,_arg1,_arg2);
cf694132 292
4268f798 293 wxPyEndAllowThreads(__tstate);
493f1553 294 if (PyErr_Occurred()) return NULL;
1d99702e
RD
295} if (_result) {
296 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
297 _resultobj = Py_BuildValue("s",_ptemp);
298 } else {
299 Py_INCREF(Py_None);
300 _resultobj = Py_None;
301 }
8ab979d7
RD
302 return _resultobj;
303}
304
96bfd053
RD
305static PyObject *_wrap_wxBitmapFromXPMData(PyObject *self, PyObject *args, PyObject *kwargs) {
306 PyObject * _resultobj;
307 wxBitmap * _result;
308 PyObject * _arg0;
309 PyObject * _obj0 = 0;
310 char *_kwnames[] = { "listOfStrings", NULL };
311 char _ptemp[128];
312
313 self = self;
314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapFromXPMData",_kwnames,&_obj0))
315 return NULL;
316{
317 _arg0 = _obj0;
318}
319{
4268f798 320 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 321 _result = (wxBitmap *)wxBitmapFromXPMData(_arg0);
96bfd053 322
4268f798 323 wxPyEndAllowThreads(__tstate);
493f1553 324 if (PyErr_Occurred()) return NULL;
96bfd053
RD
325} if (_result) {
326 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
327 _resultobj = Py_BuildValue("s",_ptemp);
328 } else {
329 Py_INCREF(Py_None);
330 _resultobj = Py_None;
331 }
332 return _resultobj;
333}
334
335static PyObject *_wrap_wxBitmapFromIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
336 PyObject * _resultobj;
337 wxBitmap * _result;
338 wxIcon * _arg0;
339 PyObject * _argo0 = 0;
340 char *_kwnames[] = { "icon", NULL };
341 char _ptemp[128];
342
343 self = self;
344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapFromIcon",_kwnames,&_argo0))
345 return NULL;
346 if (_argo0) {
347 if (_argo0 == Py_None) { _arg0 = NULL; }
348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapFromIcon. Expected _wxIcon_p.");
350 return NULL;
351 }
352 }
353{
4268f798 354 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 355 _result = (wxBitmap *)wxBitmapFromIcon(*_arg0);
96bfd053 356
4268f798 357 wxPyEndAllowThreads(__tstate);
493f1553 358 if (PyErr_Occurred()) return NULL;
96bfd053
RD
359} if (_result) {
360 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
361 _resultobj = Py_BuildValue("s",_ptemp);
362 } else {
363 Py_INCREF(Py_None);
364 _resultobj = Py_None;
365 }
366 return _resultobj;
367}
368
d56cebe7 369static PyObject *_wrap_wxBitmapFromBits(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
370 PyObject * _resultobj;
371 wxBitmap * _result;
d56cebe7
RD
372 char * _arg0;
373 int _arg1;
8bf5d46e 374 int _arg2;
d56cebe7
RD
375 int _arg3 = (int ) 1;
376 char *_kwnames[] = { "bits","width","height","depth", NULL };
8bf5d46e
RD
377 char _ptemp[128];
378
379 self = self;
d56cebe7 380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"sii|i:wxBitmapFromBits",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
8bf5d46e
RD
381 return NULL;
382{
4268f798 383 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 384 _result = (wxBitmap *)wxBitmapFromBits(_arg0,_arg1,_arg2,_arg3);
8bf5d46e 385
4268f798 386 wxPyEndAllowThreads(__tstate);
493f1553 387 if (PyErr_Occurred()) return NULL;
1d99702e
RD
388} if (_result) {
389 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
390 _resultobj = Py_BuildValue("s",_ptemp);
391 } else {
392 Py_INCREF(Py_None);
393 _resultobj = Py_None;
394 }
8bf5d46e
RD
395 return _resultobj;
396}
397
1afc06c2 398static PyObject *_wrap_wxMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
399 PyObject * _resultobj;
400 wxMask * _result;
401 wxBitmap * _arg0;
402 wxColour * _arg1;
1d99702e 403 PyObject * _argo0 = 0;
f6bcfd97
BP
404 wxColour temp;
405 PyObject * _obj1 = 0;
1afc06c2 406 char *_kwnames[] = { "bitmap","colour", NULL };
8ab979d7
RD
407 char _ptemp[128];
408
409 self = self;
f6bcfd97 410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMaskColour",_kwnames,&_argo0,&_obj1))
8ab979d7 411 return NULL;
1d99702e
RD
412 if (_argo0) {
413 if (_argo0 == Py_None) { _arg0 = NULL; }
414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
8ab979d7
RD
415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
416 return NULL;
417 }
418 }
f6bcfd97
BP
419{
420 _arg1 = &temp;
421 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 422 return NULL;
f6bcfd97 423}
cf694132 424{
4268f798 425 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 426 _result = (wxMask *)wxMaskColour(*_arg0,*_arg1);
cf694132 427
4268f798 428 wxPyEndAllowThreads(__tstate);
493f1553 429 if (PyErr_Occurred()) return NULL;
1d99702e
RD
430} if (_result) {
431 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
432 _resultobj = Py_BuildValue("s",_ptemp);
433 } else {
434 Py_INCREF(Py_None);
435 _resultobj = Py_None;
436 }
8ab979d7
RD
437 return _resultobj;
438}
439
96bfd053
RD
440static PyObject *_wrap_wxEmptyIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
441 PyObject * _resultobj;
442 wxIcon * _result;
443 char *_kwnames[] = { NULL };
444 char _ptemp[128];
445
446 self = self;
447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxEmptyIcon",_kwnames))
448 return NULL;
449{
4268f798 450 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 451 _result = (wxIcon *)wxEmptyIcon();
96bfd053 452
4268f798 453 wxPyEndAllowThreads(__tstate);
493f1553 454 if (PyErr_Occurred()) return NULL;
96bfd053
RD
455} if (_result) {
456 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
457 _resultobj = Py_BuildValue("s",_ptemp);
458 } else {
459 Py_INCREF(Py_None);
460 _resultobj = Py_None;
461 }
462 return _resultobj;
463}
464
465static PyObject *_wrap_wxIconFromXPMData(PyObject *self, PyObject *args, PyObject *kwargs) {
466 PyObject * _resultobj;
467 wxIcon * _result;
468 PyObject * _arg0;
469 PyObject * _obj0 = 0;
470 char *_kwnames[] = { "listOfStrings", NULL };
471 char _ptemp[128];
472
473 self = self;
474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIconFromXPMData",_kwnames,&_obj0))
475 return NULL;
476{
477 _arg0 = _obj0;
478}
479{
4268f798 480 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 481 _result = (wxIcon *)wxIconFromXPMData(_arg0);
96bfd053 482
4268f798 483 wxPyEndAllowThreads(__tstate);
493f1553 484 if (PyErr_Occurred()) return NULL;
96bfd053
RD
485} if (_result) {
486 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
487 _resultobj = Py_BuildValue("s",_ptemp);
488 } else {
489 Py_INCREF(Py_None);
490 _resultobj = Py_None;
491 }
492 return _resultobj;
493}
494
7248a051
RD
495static PyObject *_wrap_wxIconFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
496 PyObject * _resultobj;
497 wxIcon * _result;
498 wxBitmap * _arg0;
499 PyObject * _argo0 = 0;
500 char *_kwnames[] = { "bmp", NULL };
501 char _ptemp[128];
502
503 self = self;
504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIconFromBitmap",_kwnames,&_argo0))
505 return NULL;
506 if (_argo0) {
507 if (_argo0 == Py_None) { _arg0 = NULL; }
508 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
509 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIconFromBitmap. Expected _wxBitmap_p.");
510 return NULL;
511 }
512 }
513{
514 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 515 _result = (wxIcon *)wxIconFromBitmap(*_arg0);
7248a051
RD
516
517 wxPyEndAllowThreads(__tstate);
518 if (PyErr_Occurred()) return NULL;
519} if (_result) {
520 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
521 _resultobj = Py_BuildValue("s",_ptemp);
522 } else {
523 Py_INCREF(Py_None);
524 _resultobj = Py_None;
525 }
526 return _resultobj;
527}
528
1afc06c2 529static PyObject *_wrap_wxStockCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
530 PyObject * _resultobj;
531 wxCursor * _result;
532 int _arg0;
1afc06c2 533 char *_kwnames[] = { "id", NULL };
8ab979d7
RD
534 char _ptemp[128];
535
536 self = self;
1afc06c2 537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxStockCursor",_kwnames,&_arg0))
8ab979d7 538 return NULL;
cf694132 539{
4268f798 540 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 541 _result = (wxCursor *)wxPyStockCursor(_arg0);
cf694132 542
4268f798 543 wxPyEndAllowThreads(__tstate);
493f1553 544 if (PyErr_Occurred()) return NULL;
1d99702e
RD
545} if (_result) {
546 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCursor_p");
547 _resultobj = Py_BuildValue("s",_ptemp);
548 } else {
549 Py_INCREF(Py_None);
550 _resultobj = Py_None;
551 }
8ab979d7
RD
552 return _resultobj;
553}
554
1afc06c2 555static PyObject *_wrap_wxNamedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
556 PyObject * _resultobj;
557 wxColour * _result;
558 wxString * _arg0;
559 PyObject * _obj0 = 0;
1afc06c2 560 char *_kwnames[] = { "colorName", NULL };
8ab979d7
RD
561 char _ptemp[128];
562
563 self = self;
1afc06c2 564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNamedColour",_kwnames,&_obj0))
8ab979d7
RD
565 return NULL;
566{
c8bc7bb8
RD
567 _arg0 = wxString_in_helper(_obj0);
568 if (_arg0 == NULL)
8ab979d7 569 return NULL;
8ab979d7 570}
cf694132 571{
4268f798 572 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 573 _result = (wxColour *)wxNamedColour(*_arg0);
cf694132 574
4268f798 575 wxPyEndAllowThreads(__tstate);
493f1553 576 if (PyErr_Occurred()) return NULL;
1d99702e
RD
577} if (_result) {
578 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
579 _resultobj = Py_BuildValue("s",_ptemp);
580 } else {
581 Py_INCREF(Py_None);
582 _resultobj = Py_None;
583 }
8ab979d7
RD
584{
585 if (_obj0)
586 delete _arg0;
587}
588 return _resultobj;
589}
590
1afc06c2 591static PyObject *_wrap_wxMemoryDCFromDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
592 PyObject * _resultobj;
593 wxMemoryDC * _result;
594 wxDC * _arg0;
1d99702e 595 PyObject * _argo0 = 0;
1afc06c2 596 char *_kwnames[] = { "oldDC", NULL };
8ab979d7
RD
597 char _ptemp[128];
598
599 self = self;
1afc06c2 600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMemoryDCFromDC",_kwnames,&_argo0))
8ab979d7 601 return NULL;
1d99702e
RD
602 if (_argo0) {
603 if (_argo0 == Py_None) { _arg0 = NULL; }
604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
606 return NULL;
607 }
608 }
cf694132 609{
4268f798 610 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 611 _result = (wxMemoryDC *)wxMemoryDCFromDC(_arg0);
cf694132 612
4268f798 613 wxPyEndAllowThreads(__tstate);
493f1553 614 if (PyErr_Occurred()) return NULL;
1d99702e
RD
615} if (_result) {
616 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMemoryDC_p");
617 _resultobj = Py_BuildValue("s",_ptemp);
618 } else {
619 Py_INCREF(Py_None);
620 _resultobj = Py_None;
621 }
8ab979d7
RD
622 return _resultobj;
623}
624
625static int _wrap_wxNORMAL_FONT_set(PyObject *val) {
626
627 PyErr_SetString(PyExc_TypeError,"Variable wxNORMAL_FONT is read-only.");
628 return 1;
629}
630
631static PyObject *_wrap_wxNORMAL_FONT_get() {
632 PyObject * pyobj;
633 char ptemp[128];
634
635 SWIG_MakePtr(ptemp, (char *) wxNORMAL_FONT,"_wxFont_p");
636 pyobj = PyString_FromString(ptemp);
637 return pyobj;
638}
639
640static int _wrap_wxSMALL_FONT_set(PyObject *val) {
641
642 PyErr_SetString(PyExc_TypeError,"Variable wxSMALL_FONT is read-only.");
643 return 1;
644}
645
646static PyObject *_wrap_wxSMALL_FONT_get() {
647 PyObject * pyobj;
648 char ptemp[128];
649
650 SWIG_MakePtr(ptemp, (char *) wxSMALL_FONT,"_wxFont_p");
651 pyobj = PyString_FromString(ptemp);
652 return pyobj;
653}
654
655static int _wrap_wxITALIC_FONT_set(PyObject *val) {
656
657 PyErr_SetString(PyExc_TypeError,"Variable wxITALIC_FONT is read-only.");
658 return 1;
659}
660
661static PyObject *_wrap_wxITALIC_FONT_get() {
662 PyObject * pyobj;
663 char ptemp[128];
664
665 SWIG_MakePtr(ptemp, (char *) wxITALIC_FONT,"_wxFont_p");
666 pyobj = PyString_FromString(ptemp);
667 return pyobj;
668}
669
670static int _wrap_wxSWISS_FONT_set(PyObject *val) {
671
672 PyErr_SetString(PyExc_TypeError,"Variable wxSWISS_FONT is read-only.");
673 return 1;
674}
675
676static PyObject *_wrap_wxSWISS_FONT_get() {
677 PyObject * pyobj;
678 char ptemp[128];
679
680 SWIG_MakePtr(ptemp, (char *) wxSWISS_FONT,"_wxFont_p");
681 pyobj = PyString_FromString(ptemp);
682 return pyobj;
683}
684
685static int _wrap_wxRED_PEN_set(PyObject *val) {
686
687 PyErr_SetString(PyExc_TypeError,"Variable wxRED_PEN is read-only.");
688 return 1;
689}
690
691static PyObject *_wrap_wxRED_PEN_get() {
692 PyObject * pyobj;
693 char ptemp[128];
694
695 SWIG_MakePtr(ptemp, (char *) wxRED_PEN,"_wxPen_p");
696 pyobj = PyString_FromString(ptemp);
697 return pyobj;
698}
699
700static int _wrap_wxCYAN_PEN_set(PyObject *val) {
701
702 PyErr_SetString(PyExc_TypeError,"Variable wxCYAN_PEN is read-only.");
703 return 1;
704}
705
706static PyObject *_wrap_wxCYAN_PEN_get() {
707 PyObject * pyobj;
708 char ptemp[128];
709
710 SWIG_MakePtr(ptemp, (char *) wxCYAN_PEN,"_wxPen_p");
711 pyobj = PyString_FromString(ptemp);
712 return pyobj;
713}
714
715static int _wrap_wxGREEN_PEN_set(PyObject *val) {
716
717 PyErr_SetString(PyExc_TypeError,"Variable wxGREEN_PEN is read-only.");
718 return 1;
719}
720
721static PyObject *_wrap_wxGREEN_PEN_get() {
722 PyObject * pyobj;
723 char ptemp[128];
724
725 SWIG_MakePtr(ptemp, (char *) wxGREEN_PEN,"_wxPen_p");
726 pyobj = PyString_FromString(ptemp);
727 return pyobj;
728}
729
730static int _wrap_wxBLACK_PEN_set(PyObject *val) {
731
732 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK_PEN is read-only.");
733 return 1;
734}
735
736static PyObject *_wrap_wxBLACK_PEN_get() {
737 PyObject * pyobj;
738 char ptemp[128];
739
740 SWIG_MakePtr(ptemp, (char *) wxBLACK_PEN,"_wxPen_p");
741 pyobj = PyString_FromString(ptemp);
742 return pyobj;
743}
744
745static int _wrap_wxWHITE_PEN_set(PyObject *val) {
746
747 PyErr_SetString(PyExc_TypeError,"Variable wxWHITE_PEN is read-only.");
748 return 1;
749}
750
751static PyObject *_wrap_wxWHITE_PEN_get() {
752 PyObject * pyobj;
753 char ptemp[128];
754
755 SWIG_MakePtr(ptemp, (char *) wxWHITE_PEN,"_wxPen_p");
756 pyobj = PyString_FromString(ptemp);
757 return pyobj;
758}
759
760static int _wrap_wxTRANSPARENT_PEN_set(PyObject *val) {
761
762 PyErr_SetString(PyExc_TypeError,"Variable wxTRANSPARENT_PEN is read-only.");
763 return 1;
764}
765
766static PyObject *_wrap_wxTRANSPARENT_PEN_get() {
767 PyObject * pyobj;
768 char ptemp[128];
769
770 SWIG_MakePtr(ptemp, (char *) wxTRANSPARENT_PEN,"_wxPen_p");
771 pyobj = PyString_FromString(ptemp);
772 return pyobj;
773}
774
775static int _wrap_wxBLACK_DASHED_PEN_set(PyObject *val) {
776
777 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK_DASHED_PEN is read-only.");
778 return 1;
779}
780
781static PyObject *_wrap_wxBLACK_DASHED_PEN_get() {
782 PyObject * pyobj;
783 char ptemp[128];
784
785 SWIG_MakePtr(ptemp, (char *) wxBLACK_DASHED_PEN,"_wxPen_p");
786 pyobj = PyString_FromString(ptemp);
787 return pyobj;
788}
789
790static int _wrap_wxGREY_PEN_set(PyObject *val) {
791
792 PyErr_SetString(PyExc_TypeError,"Variable wxGREY_PEN is read-only.");
793 return 1;
794}
795
796static PyObject *_wrap_wxGREY_PEN_get() {
797 PyObject * pyobj;
798 char ptemp[128];
799
800 SWIG_MakePtr(ptemp, (char *) wxGREY_PEN,"_wxPen_p");
801 pyobj = PyString_FromString(ptemp);
802 return pyobj;
803}
804
805static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject *val) {
806
807 PyErr_SetString(PyExc_TypeError,"Variable wxMEDIUM_GREY_PEN is read-only.");
808 return 1;
809}
810
811static PyObject *_wrap_wxMEDIUM_GREY_PEN_get() {
812 PyObject * pyobj;
813 char ptemp[128];
814
815 SWIG_MakePtr(ptemp, (char *) wxMEDIUM_GREY_PEN,"_wxPen_p");
816 pyobj = PyString_FromString(ptemp);
817 return pyobj;
818}
819
820static int _wrap_wxLIGHT_GREY_PEN_set(PyObject *val) {
821
822 PyErr_SetString(PyExc_TypeError,"Variable wxLIGHT_GREY_PEN is read-only.");
823 return 1;
824}
825
826static PyObject *_wrap_wxLIGHT_GREY_PEN_get() {
827 PyObject * pyobj;
828 char ptemp[128];
829
830 SWIG_MakePtr(ptemp, (char *) wxLIGHT_GREY_PEN,"_wxPen_p");
831 pyobj = PyString_FromString(ptemp);
832 return pyobj;
833}
834
835static int _wrap_wxBLUE_BRUSH_set(PyObject *val) {
836
837 PyErr_SetString(PyExc_TypeError,"Variable wxBLUE_BRUSH is read-only.");
838 return 1;
839}
840
841static PyObject *_wrap_wxBLUE_BRUSH_get() {
842 PyObject * pyobj;
843 char ptemp[128];
844
845 SWIG_MakePtr(ptemp, (char *) wxBLUE_BRUSH,"_wxBrush_p");
846 pyobj = PyString_FromString(ptemp);
847 return pyobj;
848}
849
850static int _wrap_wxGREEN_BRUSH_set(PyObject *val) {
851
852 PyErr_SetString(PyExc_TypeError,"Variable wxGREEN_BRUSH is read-only.");
853 return 1;
854}
855
856static PyObject *_wrap_wxGREEN_BRUSH_get() {
857 PyObject * pyobj;
858 char ptemp[128];
859
860 SWIG_MakePtr(ptemp, (char *) wxGREEN_BRUSH,"_wxBrush_p");
861 pyobj = PyString_FromString(ptemp);
862 return pyobj;
863}
864
865static int _wrap_wxWHITE_BRUSH_set(PyObject *val) {
866
867 PyErr_SetString(PyExc_TypeError,"Variable wxWHITE_BRUSH is read-only.");
868 return 1;
869}
870
871static PyObject *_wrap_wxWHITE_BRUSH_get() {
872 PyObject * pyobj;
873 char ptemp[128];
874
875 SWIG_MakePtr(ptemp, (char *) wxWHITE_BRUSH,"_wxBrush_p");
876 pyobj = PyString_FromString(ptemp);
877 return pyobj;
878}
879
880static int _wrap_wxBLACK_BRUSH_set(PyObject *val) {
881
882 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK_BRUSH is read-only.");
883 return 1;
884}
885
886static PyObject *_wrap_wxBLACK_BRUSH_get() {
887 PyObject * pyobj;
888 char ptemp[128];
889
890 SWIG_MakePtr(ptemp, (char *) wxBLACK_BRUSH,"_wxBrush_p");
891 pyobj = PyString_FromString(ptemp);
892 return pyobj;
893}
894
895static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject *val) {
896
897 PyErr_SetString(PyExc_TypeError,"Variable wxTRANSPARENT_BRUSH is read-only.");
898 return 1;
899}
900
901static PyObject *_wrap_wxTRANSPARENT_BRUSH_get() {
902 PyObject * pyobj;
903 char ptemp[128];
904
905 SWIG_MakePtr(ptemp, (char *) wxTRANSPARENT_BRUSH,"_wxBrush_p");
906 pyobj = PyString_FromString(ptemp);
907 return pyobj;
908}
909
910static int _wrap_wxCYAN_BRUSH_set(PyObject *val) {
911
912 PyErr_SetString(PyExc_TypeError,"Variable wxCYAN_BRUSH is read-only.");
913 return 1;
914}
915
916static PyObject *_wrap_wxCYAN_BRUSH_get() {
917 PyObject * pyobj;
918 char ptemp[128];
919
920 SWIG_MakePtr(ptemp, (char *) wxCYAN_BRUSH,"_wxBrush_p");
921 pyobj = PyString_FromString(ptemp);
922 return pyobj;
923}
924
925static int _wrap_wxRED_BRUSH_set(PyObject *val) {
926
927 PyErr_SetString(PyExc_TypeError,"Variable wxRED_BRUSH is read-only.");
928 return 1;
929}
930
931static PyObject *_wrap_wxRED_BRUSH_get() {
932 PyObject * pyobj;
933 char ptemp[128];
934
935 SWIG_MakePtr(ptemp, (char *) wxRED_BRUSH,"_wxBrush_p");
936 pyobj = PyString_FromString(ptemp);
937 return pyobj;
938}
939
940static int _wrap_wxGREY_BRUSH_set(PyObject *val) {
941
942 PyErr_SetString(PyExc_TypeError,"Variable wxGREY_BRUSH is read-only.");
943 return 1;
944}
945
946static PyObject *_wrap_wxGREY_BRUSH_get() {
947 PyObject * pyobj;
948 char ptemp[128];
949
950 SWIG_MakePtr(ptemp, (char *) wxGREY_BRUSH,"_wxBrush_p");
951 pyobj = PyString_FromString(ptemp);
952 return pyobj;
953}
954
955static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject *val) {
956
957 PyErr_SetString(PyExc_TypeError,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
958 return 1;
959}
960
961static PyObject *_wrap_wxMEDIUM_GREY_BRUSH_get() {
962 PyObject * pyobj;
963 char ptemp[128];
964
965 SWIG_MakePtr(ptemp, (char *) wxMEDIUM_GREY_BRUSH,"_wxBrush_p");
966 pyobj = PyString_FromString(ptemp);
967 return pyobj;
968}
969
970static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject *val) {
971
972 PyErr_SetString(PyExc_TypeError,"Variable wxLIGHT_GREY_BRUSH is read-only.");
973 return 1;
974}
975
976static PyObject *_wrap_wxLIGHT_GREY_BRUSH_get() {
977 PyObject * pyobj;
978 char ptemp[128];
979
980 SWIG_MakePtr(ptemp, (char *) wxLIGHT_GREY_BRUSH,"_wxBrush_p");
981 pyobj = PyString_FromString(ptemp);
982 return pyobj;
983}
984
985static int _wrap_wxBLACK_set(PyObject *val) {
986
987 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK is read-only.");
988 return 1;
989}
990
991static PyObject *_wrap_wxBLACK_get() {
992 PyObject * pyobj;
993 char ptemp[128];
994
995 SWIG_MakePtr(ptemp, (char *) wxBLACK,"_wxColour_p");
996 pyobj = PyString_FromString(ptemp);
997 return pyobj;
998}
999
1000static int _wrap_wxWHITE_set(PyObject *val) {
1001
1002 PyErr_SetString(PyExc_TypeError,"Variable wxWHITE is read-only.");
1003 return 1;
1004}
1005
1006static PyObject *_wrap_wxWHITE_get() {
1007 PyObject * pyobj;
1008 char ptemp[128];
1009
1010 SWIG_MakePtr(ptemp, (char *) wxWHITE,"_wxColour_p");
1011 pyobj = PyString_FromString(ptemp);
1012 return pyobj;
1013}
1014
1015static int _wrap_wxRED_set(PyObject *val) {
1016
1017 PyErr_SetString(PyExc_TypeError,"Variable wxRED is read-only.");
1018 return 1;
1019}
1020
1021static PyObject *_wrap_wxRED_get() {
1022 PyObject * pyobj;
1023 char ptemp[128];
1024
1025 SWIG_MakePtr(ptemp, (char *) wxRED,"_wxColour_p");
1026 pyobj = PyString_FromString(ptemp);
1027 return pyobj;
1028}
1029
1030static int _wrap_wxBLUE_set(PyObject *val) {
1031
1032 PyErr_SetString(PyExc_TypeError,"Variable wxBLUE is read-only.");
1033 return 1;
1034}
1035
1036static PyObject *_wrap_wxBLUE_get() {
1037 PyObject * pyobj;
1038 char ptemp[128];
1039
1040 SWIG_MakePtr(ptemp, (char *) wxBLUE,"_wxColour_p");
1041 pyobj = PyString_FromString(ptemp);
1042 return pyobj;
1043}
1044
1045static int _wrap_wxGREEN_set(PyObject *val) {
1046
1047 PyErr_SetString(PyExc_TypeError,"Variable wxGREEN is read-only.");
1048 return 1;
1049}
1050
1051static PyObject *_wrap_wxGREEN_get() {
1052 PyObject * pyobj;
1053 char ptemp[128];
1054
1055 SWIG_MakePtr(ptemp, (char *) wxGREEN,"_wxColour_p");
1056 pyobj = PyString_FromString(ptemp);
1057 return pyobj;
1058}
1059
1060static int _wrap_wxCYAN_set(PyObject *val) {
1061
1062 PyErr_SetString(PyExc_TypeError,"Variable wxCYAN is read-only.");
1063 return 1;
1064}
1065
1066static PyObject *_wrap_wxCYAN_get() {
1067 PyObject * pyobj;
1068 char ptemp[128];
1069
1070 SWIG_MakePtr(ptemp, (char *) wxCYAN,"_wxColour_p");
1071 pyobj = PyString_FromString(ptemp);
1072 return pyobj;
1073}
1074
1075static int _wrap_wxLIGHT_GREY_set(PyObject *val) {
1076
1077 PyErr_SetString(PyExc_TypeError,"Variable wxLIGHT_GREY is read-only.");
1078 return 1;
1079}
1080
1081static PyObject *_wrap_wxLIGHT_GREY_get() {
1082 PyObject * pyobj;
1083 char ptemp[128];
1084
1085 SWIG_MakePtr(ptemp, (char *) wxLIGHT_GREY,"_wxColour_p");
1086 pyobj = PyString_FromString(ptemp);
1087 return pyobj;
1088}
1089
1090static int _wrap_wxSTANDARD_CURSOR_set(PyObject *val) {
1091
1092 PyErr_SetString(PyExc_TypeError,"Variable wxSTANDARD_CURSOR is read-only.");
1093 return 1;
1094}
1095
1096static PyObject *_wrap_wxSTANDARD_CURSOR_get() {
1097 PyObject * pyobj;
1098 char ptemp[128];
1099
1100 SWIG_MakePtr(ptemp, (char *) wxSTANDARD_CURSOR,"_wxCursor_p");
1101 pyobj = PyString_FromString(ptemp);
1102 return pyobj;
1103}
1104
1105static int _wrap_wxHOURGLASS_CURSOR_set(PyObject *val) {
1106
1107 PyErr_SetString(PyExc_TypeError,"Variable wxHOURGLASS_CURSOR is read-only.");
1108 return 1;
1109}
1110
1111static PyObject *_wrap_wxHOURGLASS_CURSOR_get() {
1112 PyObject * pyobj;
1113 char ptemp[128];
1114
1115 SWIG_MakePtr(ptemp, (char *) wxHOURGLASS_CURSOR,"_wxCursor_p");
1116 pyobj = PyString_FromString(ptemp);
1117 return pyobj;
1118}
1119
1120static int _wrap_wxCROSS_CURSOR_set(PyObject *val) {
1121
1122 PyErr_SetString(PyExc_TypeError,"Variable wxCROSS_CURSOR is read-only.");
1123 return 1;
1124}
1125
1126static PyObject *_wrap_wxCROSS_CURSOR_get() {
1127 PyObject * pyobj;
1128 char ptemp[128];
1129
1130 SWIG_MakePtr(ptemp, (char *) wxCROSS_CURSOR,"_wxCursor_p");
1131 pyobj = PyString_FromString(ptemp);
1132 return pyobj;
1133}
1134
1135static int _wrap_wxNullBitmap_set(PyObject *val) {
1136
1137 PyErr_SetString(PyExc_TypeError,"Variable wxNullBitmap is read-only.");
1138 return 1;
1139}
1140
1141static PyObject *_wrap_wxNullBitmap_get() {
1142 PyObject * pyobj;
1143 char ptemp[128];
1144
1145 SWIG_MakePtr(ptemp,(char *) &wxNullBitmap,"_wxBitmap_p");
1146 pyobj = PyString_FromString(ptemp);
1147 return pyobj;
1148}
1149
1150static int _wrap_wxNullIcon_set(PyObject *val) {
1151
1152 PyErr_SetString(PyExc_TypeError,"Variable wxNullIcon is read-only.");
1153 return 1;
1154}
1155
1156static PyObject *_wrap_wxNullIcon_get() {
1157 PyObject * pyobj;
1158 char ptemp[128];
1159
1160 SWIG_MakePtr(ptemp,(char *) &wxNullIcon,"_wxIcon_p");
1161 pyobj = PyString_FromString(ptemp);
1162 return pyobj;
1163}
1164
1165static int _wrap_wxNullCursor_set(PyObject *val) {
1166
1167 PyErr_SetString(PyExc_TypeError,"Variable wxNullCursor is read-only.");
1168 return 1;
1169}
1170
1171static PyObject *_wrap_wxNullCursor_get() {
1172 PyObject * pyobj;
1173 char ptemp[128];
1174
1175 SWIG_MakePtr(ptemp,(char *) &wxNullCursor,"_wxCursor_p");
1176 pyobj = PyString_FromString(ptemp);
1177 return pyobj;
1178}
1179
1180static int _wrap_wxNullPen_set(PyObject *val) {
1181
1182 PyErr_SetString(PyExc_TypeError,"Variable wxNullPen is read-only.");
1183 return 1;
1184}
1185
1186static PyObject *_wrap_wxNullPen_get() {
1187 PyObject * pyobj;
1188 char ptemp[128];
1189
1190 SWIG_MakePtr(ptemp,(char *) &wxNullPen,"_wxPen_p");
1191 pyobj = PyString_FromString(ptemp);
1192 return pyobj;
1193}
1194
1195static int _wrap_wxNullBrush_set(PyObject *val) {
1196
1197 PyErr_SetString(PyExc_TypeError,"Variable wxNullBrush is read-only.");
1198 return 1;
1199}
1200
1201static PyObject *_wrap_wxNullBrush_get() {
1202 PyObject * pyobj;
1203 char ptemp[128];
1204
1205 SWIG_MakePtr(ptemp,(char *) &wxNullBrush,"_wxBrush_p");
1206 pyobj = PyString_FromString(ptemp);
1207 return pyobj;
1208}
1209
1210static int _wrap_wxNullPalette_set(PyObject *val) {
1211
1212 PyErr_SetString(PyExc_TypeError,"Variable wxNullPalette is read-only.");
1213 return 1;
1214}
1215
1216static PyObject *_wrap_wxNullPalette_get() {
1217 PyObject * pyobj;
1218 char ptemp[128];
1219
1220 SWIG_MakePtr(ptemp,(char *) &wxNullPalette,"_wxPalette_p");
1221 pyobj = PyString_FromString(ptemp);
1222 return pyobj;
1223}
1224
1225static int _wrap_wxNullFont_set(PyObject *val) {
1226
1227 PyErr_SetString(PyExc_TypeError,"Variable wxNullFont is read-only.");
1228 return 1;
1229}
1230
1231static PyObject *_wrap_wxNullFont_get() {
1232 PyObject * pyobj;
1233 char ptemp[128];
1234
1235 SWIG_MakePtr(ptemp,(char *) &wxNullFont,"_wxFont_p");
1236 pyobj = PyString_FromString(ptemp);
1237 return pyobj;
1238}
1239
1240static int _wrap_wxNullColour_set(PyObject *val) {
1241
1242 PyErr_SetString(PyExc_TypeError,"Variable wxNullColour is read-only.");
1243 return 1;
1244}
1245
1246static PyObject *_wrap_wxNullColour_get() {
1247 PyObject * pyobj;
1248 char ptemp[128];
1249
1250 SWIG_MakePtr(ptemp,(char *) &wxNullColour,"_wxColour_p");
1251 pyobj = PyString_FromString(ptemp);
1252 return pyobj;
1253}
1254
0569df0f
RD
1255static int _wrap_wxTheFontList_set(PyObject *val) {
1256
1257 PyErr_SetString(PyExc_TypeError,"Variable wxTheFontList is read-only.");
1258 return 1;
1259}
1260
1261static PyObject *_wrap_wxTheFontList_get() {
1262 PyObject * pyobj;
1263 char ptemp[128];
1264
1265 SWIG_MakePtr(ptemp, (char *) wxTheFontList,"_wxFontList_p");
1266 pyobj = PyString_FromString(ptemp);
1267 return pyobj;
1268}
1269
1270static int _wrap_wxThePenList_set(PyObject *val) {
1271
1272 PyErr_SetString(PyExc_TypeError,"Variable wxThePenList is read-only.");
1273 return 1;
1274}
1275
1276static PyObject *_wrap_wxThePenList_get() {
1277 PyObject * pyobj;
1278 char ptemp[128];
1279
1280 SWIG_MakePtr(ptemp, (char *) wxThePenList,"_wxPenList_p");
1281 pyobj = PyString_FromString(ptemp);
1282 return pyobj;
1283}
1284
1285static int _wrap_wxTheBrushList_set(PyObject *val) {
1286
1287 PyErr_SetString(PyExc_TypeError,"Variable wxTheBrushList is read-only.");
1288 return 1;
1289}
1290
1291static PyObject *_wrap_wxTheBrushList_get() {
1292 PyObject * pyobj;
1293 char ptemp[128];
1294
6ee2116b 1295 SWIG_MakePtr(ptemp, (char *) wxTheBrushList,"_wxBrushList_p");
0569df0f
RD
1296 pyobj = PyString_FromString(ptemp);
1297 return pyobj;
1298}
1299
1300static int _wrap_wxTheColourDatabase_set(PyObject *val) {
1301
1302 PyErr_SetString(PyExc_TypeError,"Variable wxTheColourDatabase is read-only.");
1303 return 1;
1304}
1305
1306static PyObject *_wrap_wxTheColourDatabase_get() {
1307 PyObject * pyobj;
1308 char ptemp[128];
1309
1310 SWIG_MakePtr(ptemp, (char *) wxTheColourDatabase,"_wxColourDatabase_p");
1311 pyobj = PyString_FromString(ptemp);
1312 return pyobj;
1313}
1314
9416aa89
RD
1315static void *SwigwxGDIObjectTowxObject(void *ptr) {
1316 wxGDIObject *src;
1317 wxObject *dest;
1318 src = (wxGDIObject *) ptr;
1319 dest = (wxObject *) src;
1320 return (void *) dest;
1321}
1322
1323#define new_wxGDIObject() (new wxGDIObject())
1324static PyObject *_wrap_new_wxGDIObject(PyObject *self, PyObject *args, PyObject *kwargs) {
1325 PyObject * _resultobj;
1326 wxGDIObject * _result;
1327 char *_kwnames[] = { NULL };
1328 char _ptemp[128];
1329
1330 self = self;
1331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGDIObject",_kwnames))
1332 return NULL;
1333{
4268f798 1334 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1335 _result = (wxGDIObject *)new_wxGDIObject();
9416aa89 1336
4268f798 1337 wxPyEndAllowThreads(__tstate);
493f1553 1338 if (PyErr_Occurred()) return NULL;
9416aa89
RD
1339} if (_result) {
1340 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGDIObject_p");
1341 _resultobj = Py_BuildValue("s",_ptemp);
1342 } else {
1343 Py_INCREF(Py_None);
1344 _resultobj = Py_None;
1345 }
1346 return _resultobj;
1347}
1348
1349#define delete_wxGDIObject(_swigobj) (delete _swigobj)
1350static PyObject *_wrap_delete_wxGDIObject(PyObject *self, PyObject *args, PyObject *kwargs) {
1351 PyObject * _resultobj;
1352 wxGDIObject * _arg0;
1353 PyObject * _argo0 = 0;
1354 char *_kwnames[] = { "self", NULL };
1355
1356 self = self;
1357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGDIObject",_kwnames,&_argo0))
1358 return NULL;
1359 if (_argo0) {
1360 if (_argo0 == Py_None) { _arg0 = NULL; }
1361 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGDIObject_p")) {
1362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGDIObject. Expected _wxGDIObject_p.");
1363 return NULL;
1364 }
1365 }
1366{
4268f798 1367 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1368 delete_wxGDIObject(_arg0);
9416aa89 1369
4268f798 1370 wxPyEndAllowThreads(__tstate);
493f1553 1371 if (PyErr_Occurred()) return NULL;
9416aa89
RD
1372} Py_INCREF(Py_None);
1373 _resultobj = Py_None;
1374 return _resultobj;
1375}
1376
1377#define wxGDIObject_GetVisible(_swigobj) (_swigobj->GetVisible())
1378static PyObject *_wrap_wxGDIObject_GetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
1379 PyObject * _resultobj;
1380 bool _result;
1381 wxGDIObject * _arg0;
1382 PyObject * _argo0 = 0;
1383 char *_kwnames[] = { "self", NULL };
1384
1385 self = self;
1386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGDIObject_GetVisible",_kwnames,&_argo0))
1387 return NULL;
1388 if (_argo0) {
1389 if (_argo0 == Py_None) { _arg0 = NULL; }
1390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGDIObject_p")) {
1391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGDIObject_GetVisible. Expected _wxGDIObject_p.");
1392 return NULL;
1393 }
1394 }
1395{
4268f798 1396 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1397 _result = (bool )wxGDIObject_GetVisible(_arg0);
9416aa89 1398
4268f798 1399 wxPyEndAllowThreads(__tstate);
493f1553 1400 if (PyErr_Occurred()) return NULL;
9416aa89
RD
1401} _resultobj = Py_BuildValue("i",_result);
1402 return _resultobj;
1403}
1404
1405#define wxGDIObject_SetVisible(_swigobj,_swigarg0) (_swigobj->SetVisible(_swigarg0))
1406static PyObject *_wrap_wxGDIObject_SetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
1407 PyObject * _resultobj;
1408 wxGDIObject * _arg0;
1409 bool _arg1;
1410 PyObject * _argo0 = 0;
1411 int tempbool1;
1412 char *_kwnames[] = { "self","visible", NULL };
1413
1414 self = self;
1415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGDIObject_SetVisible",_kwnames,&_argo0,&tempbool1))
1416 return NULL;
1417 if (_argo0) {
1418 if (_argo0 == Py_None) { _arg0 = NULL; }
1419 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGDIObject_p")) {
1420 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGDIObject_SetVisible. Expected _wxGDIObject_p.");
1421 return NULL;
1422 }
1423 }
1424 _arg1 = (bool ) tempbool1;
1425{
4268f798 1426 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1427 wxGDIObject_SetVisible(_arg0,_arg1);
9416aa89 1428
4268f798 1429 wxPyEndAllowThreads(__tstate);
493f1553 1430 if (PyErr_Occurred()) return NULL;
9416aa89
RD
1431} Py_INCREF(Py_None);
1432 _resultobj = Py_None;
1433 return _resultobj;
1434}
1435
1436#define wxGDIObject_IsNull(_swigobj) (_swigobj->IsNull())
1437static PyObject *_wrap_wxGDIObject_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
1438 PyObject * _resultobj;
1439 bool _result;
1440 wxGDIObject * _arg0;
1441 PyObject * _argo0 = 0;
1442 char *_kwnames[] = { "self", NULL };
1443
1444 self = self;
1445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGDIObject_IsNull",_kwnames,&_argo0))
1446 return NULL;
1447 if (_argo0) {
1448 if (_argo0 == Py_None) { _arg0 = NULL; }
1449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGDIObject_p")) {
1450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGDIObject_IsNull. Expected _wxGDIObject_p.");
1451 return NULL;
1452 }
1453 }
1454{
4268f798 1455 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1456 _result = (bool )wxGDIObject_IsNull(_arg0);
9416aa89 1457
4268f798 1458 wxPyEndAllowThreads(__tstate);
493f1553 1459 if (PyErr_Occurred()) return NULL;
9416aa89
RD
1460} _resultobj = Py_BuildValue("i",_result);
1461 return _resultobj;
1462}
1463
1464static void *SwigwxBitmapTowxGDIObject(void *ptr) {
1465 wxBitmap *src;
1466 wxGDIObject *dest;
1467 src = (wxBitmap *) ptr;
1468 dest = (wxGDIObject *) src;
1469 return (void *) dest;
1470}
1471
1472static void *SwigwxBitmapTowxObject(void *ptr) {
1473 wxBitmap *src;
1474 wxObject *dest;
1475 src = (wxBitmap *) ptr;
1476 dest = (wxObject *) src;
1477 return (void *) dest;
1478}
1479
6999b0d8
RD
1480#define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1481static PyObject *_wrap_new_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1482 PyObject * _resultobj;
6999b0d8
RD
1483 wxBitmap * _result;
1484 wxString * _arg0;
7d0180d4 1485 wxBitmapType _arg1 = (wxBitmapType ) wxBITMAP_TYPE_ANY;
6999b0d8
RD
1486 PyObject * _obj0 = 0;
1487 char *_kwnames[] = { "name","type", NULL };
1488 char _ptemp[128];
8ab979d7
RD
1489
1490 self = self;
b37c7e1d 1491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxBitmap",_kwnames,&_obj0,&_arg1))
8ab979d7 1492 return NULL;
6999b0d8 1493{
c8bc7bb8
RD
1494 _arg0 = wxString_in_helper(_obj0);
1495 if (_arg0 == NULL)
8ab979d7 1496 return NULL;
6999b0d8 1497}
cf694132 1498{
4268f798 1499 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1500 _result = (wxBitmap *)new_wxBitmap(*_arg0,_arg1);
cf694132 1501
4268f798 1502 wxPyEndAllowThreads(__tstate);
493f1553 1503 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
1504} if (_result) {
1505 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1506 _resultobj = Py_BuildValue("s",_ptemp);
1507 } else {
1508 Py_INCREF(Py_None);
1509 _resultobj = Py_None;
1510 }
1511{
1512 if (_obj0)
1513 delete _arg0;
1514}
8ab979d7
RD
1515 return _resultobj;
1516}
1517
6999b0d8
RD
1518#define delete_wxBitmap(_swigobj) (delete _swigobj)
1519static PyObject *_wrap_delete_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1520 PyObject * _resultobj;
1521 wxBitmap * _arg0;
1d99702e 1522 PyObject * _argo0 = 0;
6999b0d8 1523 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1524
1525 self = self;
6999b0d8 1526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxBitmap",_kwnames,&_argo0))
8ab979d7 1527 return NULL;
1d99702e
RD
1528 if (_argo0) {
1529 if (_argo0 == Py_None) { _arg0 = NULL; }
1530 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
6999b0d8 1531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
8ab979d7
RD
1532 return NULL;
1533 }
1534 }
cf694132 1535{
4268f798 1536 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1537 delete_wxBitmap(_arg0);
cf694132 1538
4268f798 1539 wxPyEndAllowThreads(__tstate);
493f1553 1540 if (PyErr_Occurred()) return NULL;
cf694132 1541} Py_INCREF(Py_None);
8ab979d7
RD
1542 _resultobj = Py_None;
1543 return _resultobj;
1544}
1545
6999b0d8
RD
1546#define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1547static PyObject *_wrap_wxBitmap_GetPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1548 PyObject * _resultobj;
6999b0d8 1549 wxPalette * _result;
8ab979d7 1550 wxBitmap * _arg0;
1d99702e 1551 PyObject * _argo0 = 0;
6999b0d8
RD
1552 char *_kwnames[] = { "self", NULL };
1553 char _ptemp[128];
8ab979d7
RD
1554
1555 self = self;
6999b0d8 1556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetPalette",_kwnames,&_argo0))
8ab979d7 1557 return NULL;
1d99702e
RD
1558 if (_argo0) {
1559 if (_argo0 == Py_None) { _arg0 = NULL; }
1560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
6999b0d8 1561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
8ab979d7
RD
1562 return NULL;
1563 }
1564 }
cf694132 1565{
4268f798 1566 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1567 _result = (wxPalette *)wxBitmap_GetPalette(_arg0);
cf694132 1568
4268f798 1569 wxPyEndAllowThreads(__tstate);
493f1553 1570 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
1571} if (_result) {
1572 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPalette_p");
1573 _resultobj = Py_BuildValue("s",_ptemp);
1574 } else {
1575 Py_INCREF(Py_None);
1576 _resultobj = Py_None;
1577 }
8ab979d7
RD
1578 return _resultobj;
1579}
1580
6999b0d8
RD
1581#define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1582static PyObject *_wrap_wxBitmap_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1583 PyObject * _resultobj;
1584 wxMask * _result;
1585 wxBitmap * _arg0;
1d99702e 1586 PyObject * _argo0 = 0;
6999b0d8 1587 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1588 char _ptemp[128];
1589
1590 self = self;
6999b0d8 1591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetMask",_kwnames,&_argo0))
8ab979d7 1592 return NULL;
1d99702e
RD
1593 if (_argo0) {
1594 if (_argo0 == Py_None) { _arg0 = NULL; }
1595 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
6999b0d8 1596 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
8ab979d7
RD
1597 return NULL;
1598 }
1599 }
cf694132 1600{
4268f798 1601 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1602 _result = (wxMask *)wxBitmap_GetMask(_arg0);
cf694132 1603
4268f798 1604 wxPyEndAllowThreads(__tstate);
493f1553 1605 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1606} if (_result) {
1607 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
1608 _resultobj = Py_BuildValue("s",_ptemp);
1609 } else {
1610 Py_INCREF(Py_None);
1611 _resultobj = Py_None;
1612 }
8ab979d7
RD
1613 return _resultobj;
1614}
1615
6999b0d8
RD
1616#define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1617static PyObject *_wrap_wxBitmap_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1618 PyObject * _resultobj;
6999b0d8
RD
1619 bool _result;
1620 wxBitmap * _arg0;
1621 wxString * _arg1;
7d0180d4 1622 wxBitmapType _arg2 = (wxBitmapType ) wxBITMAP_TYPE_ANY;
6999b0d8
RD
1623 PyObject * _argo0 = 0;
1624 PyObject * _obj1 = 0;
b37c7e1d 1625 char *_kwnames[] = { "self","name","type", NULL };
8ab979d7
RD
1626
1627 self = self;
b37c7e1d 1628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxBitmap_LoadFile",_kwnames,&_argo0,&_obj1,&_arg2))
6999b0d8
RD
1629 return NULL;
1630 if (_argo0) {
1631 if (_argo0 == Py_None) { _arg0 = NULL; }
1632 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1633 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
8ab979d7 1634 return NULL;
6999b0d8
RD
1635 }
1636 }
8ab979d7 1637{
c8bc7bb8
RD
1638 _arg1 = wxString_in_helper(_obj1);
1639 if (_arg1 == NULL)
185d7c3e 1640 return NULL;
8ab979d7 1641}
cf694132 1642{
4268f798 1643 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1644 _result = (bool )wxBitmap_LoadFile(_arg0,*_arg1,_arg2);
cf694132 1645
4268f798 1646 wxPyEndAllowThreads(__tstate);
493f1553 1647 if (PyErr_Occurred()) return NULL;
6999b0d8 1648} _resultobj = Py_BuildValue("i",_result);
8ab979d7 1649{
6999b0d8
RD
1650 if (_obj1)
1651 delete _arg1;
8ab979d7
RD
1652}
1653 return _resultobj;
1654}
1655
6999b0d8
RD
1656#define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1657static PyObject *_wrap_wxBitmap_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1658 PyObject * _resultobj;
6999b0d8
RD
1659 bool _result;
1660 wxBitmap * _arg0;
1661 wxString * _arg1;
b37c7e1d 1662 wxBitmapType _arg2;
6999b0d8 1663 wxPalette * _arg3 = (wxPalette *) NULL;
1d99702e 1664 PyObject * _argo0 = 0;
6999b0d8
RD
1665 PyObject * _obj1 = 0;
1666 PyObject * _argo3 = 0;
1667 char *_kwnames[] = { "self","name","type","palette", NULL };
8ab979d7
RD
1668
1669 self = self;
6999b0d8 1670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|O:wxBitmap_SaveFile",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3))
8ab979d7 1671 return NULL;
1d99702e
RD
1672 if (_argo0) {
1673 if (_argo0 == Py_None) { _arg0 = NULL; }
6999b0d8
RD
1674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
8ab979d7
RD
1676 return NULL;
1677 }
1678 }
cf694132 1679{
c8bc7bb8
RD
1680 _arg1 = wxString_in_helper(_obj1);
1681 if (_arg1 == NULL)
185d7c3e 1682 return NULL;
6999b0d8
RD
1683}
1684 if (_argo3) {
1685 if (_argo3 == Py_None) { _arg3 = NULL; }
1686 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPalette_p")) {
1687 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
8ab979d7
RD
1688 return NULL;
1689 }
1690 }
cf694132 1691{
4268f798 1692 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1693 _result = (bool )wxBitmap_SaveFile(_arg0,*_arg1,_arg2,_arg3);
cf694132 1694
4268f798 1695 wxPyEndAllowThreads(__tstate);
493f1553 1696 if (PyErr_Occurred()) return NULL;
cf694132 1697} _resultobj = Py_BuildValue("i",_result);
6999b0d8
RD
1698{
1699 if (_obj1)
1700 delete _arg1;
1701}
8ab979d7
RD
1702 return _resultobj;
1703}
1704
6999b0d8
RD
1705#define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1706static PyObject *_wrap_wxBitmap_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1707 PyObject * _resultobj;
6999b0d8
RD
1708 wxBitmap * _arg0;
1709 wxMask * _arg1;
1d99702e 1710 PyObject * _argo0 = 0;
6999b0d8
RD
1711 PyObject * _argo1 = 0;
1712 char *_kwnames[] = { "self","mask", NULL };
8ab979d7
RD
1713
1714 self = self;
6999b0d8 1715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_SetMask",_kwnames,&_argo0,&_argo1))
8ab979d7 1716 return NULL;
1d99702e
RD
1717 if (_argo0) {
1718 if (_argo0 == Py_None) { _arg0 = NULL; }
6999b0d8
RD
1719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
8ab979d7
RD
1721 return NULL;
1722 }
1723 }
6999b0d8
RD
1724 if (_argo1) {
1725 if (_argo1 == Py_None) { _arg1 = NULL; }
1726 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMask_p")) {
1727 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
8ab979d7
RD
1728 return NULL;
1729 }
1730 }
cf694132 1731{
4268f798 1732 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1733 wxBitmap_SetMask(_arg0,_arg1);
cf694132 1734
4268f798 1735 wxPyEndAllowThreads(__tstate);
493f1553 1736 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
1737} Py_INCREF(Py_None);
1738 _resultobj = Py_None;
8ab979d7
RD
1739 return _resultobj;
1740}
1741
6999b0d8
RD
1742#define wxBitmap_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1743static PyObject *_wrap_wxBitmap_SetPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
1744 PyObject * _resultobj;
1745 wxBitmap * _arg0;
1746 wxPalette * _arg1;
1d99702e 1747 PyObject * _argo0 = 0;
6999b0d8
RD
1748 PyObject * _argo1 = 0;
1749 char *_kwnames[] = { "self","palette", NULL };
8ab979d7
RD
1750
1751 self = self;
6999b0d8 1752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_SetPalette",_kwnames,&_argo0,&_argo1))
8ab979d7 1753 return NULL;
1d99702e
RD
1754 if (_argo0) {
1755 if (_argo0 == Py_None) { _arg0 = NULL; }
6999b0d8
RD
1756 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1757 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetPalette. Expected _wxBitmap_p.");
8ab979d7
RD
1758 return NULL;
1759 }
1760 }
6999b0d8
RD
1761 if (_argo1) {
1762 if (_argo1 == Py_None) { _arg1 = NULL; }
1763 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPalette_p")) {
1764 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmap_SetPalette. Expected _wxPalette_p.");
8ab979d7 1765 return NULL;
6999b0d8 1766 }
8ab979d7 1767 }
cf694132 1768{
4268f798 1769 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1770 wxBitmap_SetPalette(_arg0,*_arg1);
cf694132 1771
4268f798 1772 wxPyEndAllowThreads(__tstate);
493f1553 1773 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
1774} Py_INCREF(Py_None);
1775 _resultobj = Py_None;
8ab979d7
RD
1776 return _resultobj;
1777}
1778
9b3d3bc4
RD
1779#define wxBitmap_GetHandle(_swigobj) (_swigobj->GetHandle())
1780static PyObject *_wrap_wxBitmap_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1781 PyObject * _resultobj;
9b3d3bc4 1782 long _result;
6999b0d8 1783 wxBitmap * _arg0;
1d99702e 1784 PyObject * _argo0 = 0;
9b3d3bc4 1785 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1786
1787 self = self;
9b3d3bc4 1788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetHandle",_kwnames,&_argo0))
8ab979d7 1789 return NULL;
1d99702e
RD
1790 if (_argo0) {
1791 if (_argo0 == Py_None) { _arg0 = NULL; }
6999b0d8 1792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
9b3d3bc4 1793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetHandle. Expected _wxBitmap_p.");
8ab979d7
RD
1794 return NULL;
1795 }
1796 }
cf694132 1797{
4268f798 1798 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1799 _result = (long )wxBitmap_GetHandle(_arg0);
cf694132 1800
4268f798 1801 wxPyEndAllowThreads(__tstate);
493f1553 1802 if (PyErr_Occurred()) return NULL;
9b3d3bc4 1803} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
1804 return _resultobj;
1805}
1806
9b3d3bc4
RD
1807#define wxBitmap_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
1808static PyObject *_wrap_wxBitmap_SetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1809 PyObject * _resultobj;
9b3d3bc4 1810 wxBitmap * _arg0;
6999b0d8 1811 long _arg1;
9b3d3bc4
RD
1812 PyObject * _argo0 = 0;
1813 char *_kwnames[] = { "self","handle", NULL };
8ab979d7
RD
1814
1815 self = self;
9b3d3bc4 1816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxBitmap_SetHandle",_kwnames,&_argo0,&_arg1))
8ab979d7 1817 return NULL;
9b3d3bc4
RD
1818 if (_argo0) {
1819 if (_argo0 == Py_None) { _arg0 = NULL; }
1820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetHandle. Expected _wxBitmap_p.");
8ab979d7 1822 return NULL;
9b3d3bc4 1823 }
8ab979d7 1824 }
9b3d3bc4 1825{
4268f798 1826 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1827 wxBitmap_SetHandle(_arg0,_arg1);
9b3d3bc4 1828
4268f798 1829 wxPyEndAllowThreads(__tstate);
493f1553 1830 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
1831} Py_INCREF(Py_None);
1832 _resultobj = Py_None;
1833 return _resultobj;
6999b0d8 1834}
9b3d3bc4
RD
1835
1836#define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1837static PyObject *_wrap_wxBitmap_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
1838 PyObject * _resultobj;
1839 bool _result;
1840 wxBitmap * _arg0;
1841 PyObject * _argo0 = 0;
1842 char *_kwnames[] = { "self", NULL };
1843
1844 self = self;
1845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_Ok",_kwnames,&_argo0))
1846 return NULL;
1847 if (_argo0) {
1848 if (_argo0 == Py_None) { _arg0 = NULL; }
1849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1851 return NULL;
1852 }
1853 }
cf694132 1854{
4268f798 1855 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1856 _result = (bool )wxBitmap_Ok(_arg0);
cf694132 1857
4268f798 1858 wxPyEndAllowThreads(__tstate);
493f1553 1859 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
1860} _resultobj = Py_BuildValue("i",_result);
1861 return _resultobj;
1862}
1863
1864#define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1865static PyObject *_wrap_wxBitmap_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1866 PyObject * _resultobj;
1867 int _result;
1868 wxBitmap * _arg0;
1869 PyObject * _argo0 = 0;
1870 char *_kwnames[] = { "self", NULL };
1871
1872 self = self;
1873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetWidth",_kwnames,&_argo0))
1874 return NULL;
1875 if (_argo0) {
1876 if (_argo0 == Py_None) { _arg0 = NULL; }
1877 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1879 return NULL;
1880 }
6999b0d8
RD
1881 }
1882{
4268f798 1883 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1884 _result = (int )wxBitmap_GetWidth(_arg0);
9b3d3bc4 1885
4268f798 1886 wxPyEndAllowThreads(__tstate);
493f1553 1887 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
1888} _resultobj = Py_BuildValue("i",_result);
1889 return _resultobj;
6999b0d8 1890}
9b3d3bc4
RD
1891
1892#define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1893static PyObject *_wrap_wxBitmap_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1894 PyObject * _resultobj;
1895 int _result;
1896 wxBitmap * _arg0;
1897 PyObject * _argo0 = 0;
1898 char *_kwnames[] = { "self", NULL };
1899
1900 self = self;
1901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetHeight",_kwnames,&_argo0))
1902 return NULL;
1903 if (_argo0) {
1904 if (_argo0 == Py_None) { _arg0 = NULL; }
1905 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1906 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1907 return NULL;
1908 }
1909 }
1910{
4268f798 1911 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1912 _result = (int )wxBitmap_GetHeight(_arg0);
9b3d3bc4 1913
4268f798 1914 wxPyEndAllowThreads(__tstate);
493f1553 1915 if (PyErr_Occurred()) return NULL;
9b3d3bc4 1916} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1917 return _resultobj;
1918}
1919
9b3d3bc4
RD
1920#define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1921static PyObject *_wrap_wxBitmap_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1922 PyObject * _resultobj;
9b3d3bc4
RD
1923 int _result;
1924 wxBitmap * _arg0;
1d99702e 1925 PyObject * _argo0 = 0;
6999b0d8 1926 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1927
1928 self = self;
9b3d3bc4 1929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetDepth",_kwnames,&_argo0))
8ab979d7 1930 return NULL;
1d99702e
RD
1931 if (_argo0) {
1932 if (_argo0 == Py_None) { _arg0 = NULL; }
9b3d3bc4
RD
1933 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
8ab979d7
RD
1935 return NULL;
1936 }
1937 }
cf694132 1938{
4268f798 1939 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1940 _result = (int )wxBitmap_GetDepth(_arg0);
9b3d3bc4 1941
4268f798 1942 wxPyEndAllowThreads(__tstate);
493f1553 1943 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
1944} _resultobj = Py_BuildValue("i",_result);
1945 return _resultobj;
1946}
1947
1948#define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1949static PyObject *_wrap_wxBitmap_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1950 PyObject * _resultobj;
1951 wxBitmap * _arg0;
1952 int _arg1;
1953 PyObject * _argo0 = 0;
1954 char *_kwnames[] = { "self","w", NULL };
1955
1956 self = self;
1957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBitmap_SetWidth",_kwnames,&_argo0,&_arg1))
1958 return NULL;
1959 if (_argo0) {
1960 if (_argo0 == Py_None) { _arg0 = NULL; }
1961 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1963 return NULL;
1964 }
1965 }
1966{
4268f798 1967 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1968 wxBitmap_SetWidth(_arg0,_arg1);
cf694132 1969
4268f798 1970 wxPyEndAllowThreads(__tstate);
493f1553 1971 if (PyErr_Occurred()) return NULL;
cf694132 1972} Py_INCREF(Py_None);
8ab979d7
RD
1973 _resultobj = Py_None;
1974 return _resultobj;
1975}
1976
9b3d3bc4
RD
1977#define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1978static PyObject *_wrap_wxBitmap_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1979 PyObject * _resultobj;
9b3d3bc4
RD
1980 wxBitmap * _arg0;
1981 int _arg1;
1d99702e 1982 PyObject * _argo0 = 0;
9b3d3bc4 1983 char *_kwnames[] = { "self","h", NULL };
8ab979d7
RD
1984
1985 self = self;
9b3d3bc4 1986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBitmap_SetHeight",_kwnames,&_argo0,&_arg1))
8ab979d7 1987 return NULL;
1d99702e
RD
1988 if (_argo0) {
1989 if (_argo0 == Py_None) { _arg0 = NULL; }
9b3d3bc4
RD
1990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
8ab979d7
RD
1992 return NULL;
1993 }
1994 }
6999b0d8 1995{
4268f798 1996 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1997 wxBitmap_SetHeight(_arg0,_arg1);
9b3d3bc4 1998
4268f798 1999 wxPyEndAllowThreads(__tstate);
493f1553 2000 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2001} Py_INCREF(Py_None);
2002 _resultobj = Py_None;
2003 return _resultobj;
2004}
2005
2006#define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2007static PyObject *_wrap_wxBitmap_SetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
2008 PyObject * _resultobj;
2009 wxBitmap * _arg0;
2010 int _arg1;
2011 PyObject * _argo0 = 0;
2012 char *_kwnames[] = { "self","d", NULL };
2013
2014 self = self;
2015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBitmap_SetDepth",_kwnames,&_argo0,&_arg1))
2016 return NULL;
2017 if (_argo0) {
2018 if (_argo0 == Py_None) { _arg0 = NULL; }
2019 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
6999b0d8 2021 return NULL;
9b3d3bc4 2022 }
6999b0d8 2023 }
cf694132 2024{
4268f798 2025 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2026 wxBitmap_SetDepth(_arg0,_arg1);
cf694132 2027
4268f798 2028 wxPyEndAllowThreads(__tstate);
493f1553 2029 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2030} Py_INCREF(Py_None);
2031 _resultobj = Py_None;
2032 return _resultobj;
2033}
2034
2035#define wxBitmap_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2036static PyObject *_wrap_wxBitmap_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2037 PyObject * _resultobj;
2038 wxBitmap * _arg0;
2039 wxSize * _arg1;
2040 PyObject * _argo0 = 0;
2041 wxSize temp;
2042 PyObject * _obj1 = 0;
2043 char *_kwnames[] = { "self","size", NULL };
2044
2045 self = self;
2046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_SetSize",_kwnames,&_argo0,&_obj1))
2047 return NULL;
2048 if (_argo0) {
2049 if (_argo0 == Py_None) { _arg0 = NULL; }
2050 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2051 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetSize. Expected _wxBitmap_p.");
2052 return NULL;
2053 }
2054 }
6999b0d8 2055{
9b3d3bc4
RD
2056 _arg1 = &temp;
2057 if (! wxSize_helper(_obj1, &_arg1))
2058 return NULL;
6999b0d8 2059}
9b3d3bc4 2060{
4268f798 2061 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2062 wxBitmap_SetSize(_arg0,*_arg1);
9b3d3bc4 2063
4268f798 2064 wxPyEndAllowThreads(__tstate);
493f1553 2065 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2066} Py_INCREF(Py_None);
2067 _resultobj = Py_None;
8ab979d7
RD
2068 return _resultobj;
2069}
2070
f6bcfd97
BP
2071#define wxBitmap_GetSubBitmap(_swigobj,_swigarg0) (_swigobj->GetSubBitmap(_swigarg0))
2072static PyObject *_wrap_wxBitmap_GetSubBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2073 PyObject * _resultobj;
2074 wxBitmap * _result;
2075 wxBitmap * _arg0;
2076 wxRect * _arg1;
2077 PyObject * _argo0 = 0;
2078 wxRect temp;
2079 PyObject * _obj1 = 0;
2080 char *_kwnames[] = { "self","rect", NULL };
2081 char _ptemp[128];
2082
2083 self = self;
2084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_GetSubBitmap",_kwnames,&_argo0,&_obj1))
2085 return NULL;
2086 if (_argo0) {
2087 if (_argo0 == Py_None) { _arg0 = NULL; }
2088 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetSubBitmap. Expected _wxBitmap_p.");
2090 return NULL;
2091 }
2092 }
2093{
2094 _arg1 = &temp;
2095 if (! wxRect_helper(_obj1, &_arg1))
2096 return NULL;
2097}
2098{
4268f798 2099 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2100 _result = new wxBitmap (wxBitmap_GetSubBitmap(_arg0,*_arg1));
f6bcfd97 2101
4268f798 2102 wxPyEndAllowThreads(__tstate);
493f1553 2103 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2104} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
2105 _resultobj = Py_BuildValue("s",_ptemp);
2106 return _resultobj;
2107}
2108
2109#define wxBitmap_CopyFromIcon(_swigobj,_swigarg0) (_swigobj->CopyFromIcon(_swigarg0))
2110static PyObject *_wrap_wxBitmap_CopyFromIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2111 PyObject * _resultobj;
2112 bool _result;
2113 wxBitmap * _arg0;
2114 wxIcon * _arg1;
2115 PyObject * _argo0 = 0;
2116 PyObject * _argo1 = 0;
2117 char *_kwnames[] = { "self","icon", NULL };
2118
2119 self = self;
2120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_CopyFromIcon",_kwnames,&_argo0,&_argo1))
2121 return NULL;
2122 if (_argo0) {
2123 if (_argo0 == Py_None) { _arg0 = NULL; }
2124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_CopyFromIcon. Expected _wxBitmap_p.");
2126 return NULL;
2127 }
2128 }
2129 if (_argo1) {
2130 if (_argo1 == Py_None) { _arg1 = NULL; }
2131 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
2132 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmap_CopyFromIcon. Expected _wxIcon_p.");
2133 return NULL;
2134 }
2135 }
2136{
4268f798 2137 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2138 _result = (bool )wxBitmap_CopyFromIcon(_arg0,*_arg1);
f6bcfd97 2139
4268f798 2140 wxPyEndAllowThreads(__tstate);
493f1553 2141 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2142} _resultobj = Py_BuildValue("i",_result);
2143 return _resultobj;
2144}
2145
2146#define wxBitmap_CopyFromCursor(_swigobj,_swigarg0) (_swigobj->CopyFromCursor(_swigarg0))
2147static PyObject *_wrap_wxBitmap_CopyFromCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
2148 PyObject * _resultobj;
2149 bool _result;
2150 wxBitmap * _arg0;
2151 wxCursor * _arg1;
2152 PyObject * _argo0 = 0;
2153 PyObject * _argo1 = 0;
2154 char *_kwnames[] = { "self","cursor", NULL };
2155
2156 self = self;
2157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_CopyFromCursor",_kwnames,&_argo0,&_argo1))
2158 return NULL;
2159 if (_argo0) {
2160 if (_argo0 == Py_None) { _arg0 = NULL; }
2161 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2162 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_CopyFromCursor. Expected _wxBitmap_p.");
2163 return NULL;
2164 }
2165 }
2166 if (_argo1) {
2167 if (_argo1 == Py_None) { _arg1 = NULL; }
2168 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
2169 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmap_CopyFromCursor. Expected _wxCursor_p.");
2170 return NULL;
2171 }
2172 }
2173{
4268f798 2174 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2175 _result = (bool )wxBitmap_CopyFromCursor(_arg0,*_arg1);
f6bcfd97 2176
4268f798 2177 wxPyEndAllowThreads(__tstate);
493f1553 2178 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2179} _resultobj = Py_BuildValue("i",_result);
2180 return _resultobj;
2181}
2182
2183#define wxBitmap_GetQuality(_swigobj) (_swigobj->GetQuality())
2184static PyObject *_wrap_wxBitmap_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
2185 PyObject * _resultobj;
2186 int _result;
2187 wxBitmap * _arg0;
2188 PyObject * _argo0 = 0;
2189 char *_kwnames[] = { "self", NULL };
2190
2191 self = self;
2192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetQuality",_kwnames,&_argo0))
2193 return NULL;
2194 if (_argo0) {
2195 if (_argo0 == Py_None) { _arg0 = NULL; }
2196 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetQuality. Expected _wxBitmap_p.");
2198 return NULL;
2199 }
2200 }
2201{
4268f798 2202 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2203 _result = (int )wxBitmap_GetQuality(_arg0);
f6bcfd97 2204
4268f798 2205 wxPyEndAllowThreads(__tstate);
493f1553 2206 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2207} _resultobj = Py_BuildValue("i",_result);
2208 return _resultobj;
2209}
2210
2211#define wxBitmap_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
2212static PyObject *_wrap_wxBitmap_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
2213 PyObject * _resultobj;
2214 wxBitmap * _arg0;
2215 int _arg1;
2216 PyObject * _argo0 = 0;
2217 char *_kwnames[] = { "self","q", NULL };
2218
2219 self = self;
2220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBitmap_SetQuality",_kwnames,&_argo0,&_arg1))
2221 return NULL;
2222 if (_argo0) {
2223 if (_argo0 == Py_None) { _arg0 = NULL; }
2224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetQuality. Expected _wxBitmap_p.");
2226 return NULL;
2227 }
2228 }
2229{
4268f798 2230 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2231 wxBitmap_SetQuality(_arg0,_arg1);
f6bcfd97 2232
4268f798 2233 wxPyEndAllowThreads(__tstate);
493f1553 2234 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2235} Py_INCREF(Py_None);
2236 _resultobj = Py_None;
2237 return _resultobj;
2238}
2239
9416aa89
RD
2240static void *SwigwxMaskTowxObject(void *ptr) {
2241 wxMask *src;
2242 wxObject *dest;
2243 src = (wxMask *) ptr;
2244 dest = (wxObject *) src;
2245 return (void *) dest;
2246}
2247
9b3d3bc4
RD
2248#define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
2249static PyObject *_wrap_new_wxMask(PyObject *self, PyObject *args, PyObject *kwargs) {
2250 PyObject * _resultobj;
2251 wxMask * _result;
2252 wxBitmap * _arg0;
2253 PyObject * _argo0 = 0;
2254 char *_kwnames[] = { "bitmap", NULL };
2255 char _ptemp[128];
2256
2257 self = self;
2258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxMask",_kwnames,&_argo0))
2259 return NULL;
2260 if (_argo0) {
2261 if (_argo0 == Py_None) { _arg0 = NULL; }
2262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
2264 return NULL;
2265 }
2266 }
2267{
4268f798 2268 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2269 _result = (wxMask *)new_wxMask(*_arg0);
9b3d3bc4 2270
4268f798 2271 wxPyEndAllowThreads(__tstate);
493f1553 2272 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2273} if (_result) {
2274 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
2275 _resultobj = Py_BuildValue("s",_ptemp);
2276 } else {
2277 Py_INCREF(Py_None);
2278 _resultobj = Py_None;
2279 }
2280 return _resultobj;
8ab979d7
RD
2281}
2282
96bfd053
RD
2283static void wxMask_Destroy(wxMask *self) { delete self; }
2284static PyObject *_wrap_wxMask_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2285 PyObject * _resultobj;
2286 wxMask * _arg0;
2287 PyObject * _argo0 = 0;
2288 char *_kwnames[] = { "self", NULL };
2289
2290 self = self;
2291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMask_Destroy",_kwnames,&_argo0))
2292 return NULL;
2293 if (_argo0) {
2294 if (_argo0 == Py_None) { _arg0 = NULL; }
2295 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMask_p")) {
2296 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMask_Destroy. Expected _wxMask_p.");
2297 return NULL;
2298 }
2299 }
2300{
4268f798 2301 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2302 wxMask_Destroy(_arg0);
96bfd053 2303
4268f798 2304 wxPyEndAllowThreads(__tstate);
493f1553 2305 if (PyErr_Occurred()) return NULL;
96bfd053
RD
2306} Py_INCREF(Py_None);
2307 _resultobj = Py_None;
2308 return _resultobj;
2309}
2310
9416aa89
RD
2311static void *SwigwxIconTowxGDIObject(void *ptr) {
2312 wxIcon *src;
2313 wxGDIObject *dest;
2314 src = (wxIcon *) ptr;
2315 dest = (wxGDIObject *) src;
2316 return (void *) dest;
2317}
2318
2319static void *SwigwxIconTowxObject(void *ptr) {
2320 wxIcon *src;
2321 wxObject *dest;
2322 src = (wxIcon *) ptr;
2323 dest = (wxObject *) src;
2324 return (void *) dest;
2325}
2326
9b3d3bc4
RD
2327#define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2328static PyObject *_wrap_new_wxIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2329 PyObject * _resultobj;
9b3d3bc4 2330 wxIcon * _result;
8ab979d7
RD
2331 wxString * _arg0;
2332 long _arg1;
9b3d3bc4
RD
2333 int _arg2 = (int ) -1;
2334 int _arg3 = (int ) -1;
8ab979d7 2335 PyObject * _obj0 = 0;
9b3d3bc4 2336 char *_kwnames[] = { "name","flags","desiredWidth","desiredHeight", NULL };
8ab979d7
RD
2337 char _ptemp[128];
2338
2339 self = self;
9b3d3bc4 2340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:new_wxIcon",_kwnames,&_obj0,&_arg1,&_arg2,&_arg3))
8ab979d7
RD
2341 return NULL;
2342{
c8bc7bb8
RD
2343 _arg0 = wxString_in_helper(_obj0);
2344 if (_arg0 == NULL)
185d7c3e 2345 return NULL;
8ab979d7 2346}
cf694132 2347{
4268f798 2348 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2349 _result = (wxIcon *)new_wxIcon(*_arg0,_arg1,_arg2,_arg3);
cf694132 2350
4268f798 2351 wxPyEndAllowThreads(__tstate);
493f1553 2352 if (PyErr_Occurred()) return NULL;
1d99702e 2353} if (_result) {
9b3d3bc4 2354 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
1d99702e
RD
2355 _resultobj = Py_BuildValue("s",_ptemp);
2356 } else {
2357 Py_INCREF(Py_None);
2358 _resultobj = Py_None;
2359 }
8ab979d7
RD
2360{
2361 if (_obj0)
2362 delete _arg0;
2363}
2364 return _resultobj;
2365}
2366
9b3d3bc4
RD
2367#define delete_wxIcon(_swigobj) (delete _swigobj)
2368static PyObject *_wrap_delete_wxIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2369 PyObject * _resultobj;
9b3d3bc4 2370 wxIcon * _arg0;
1d99702e 2371 PyObject * _argo0 = 0;
1afc06c2 2372 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2373
2374 self = self;
9b3d3bc4 2375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxIcon",_kwnames,&_argo0))
8ab979d7 2376 return NULL;
1d99702e
RD
2377 if (_argo0) {
2378 if (_argo0 == Py_None) { _arg0 = NULL; }
9b3d3bc4
RD
2379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
8ab979d7
RD
2381 return NULL;
2382 }
2383 }
cf694132 2384{
4268f798 2385 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2386 delete_wxIcon(_arg0);
9b3d3bc4 2387
4268f798 2388 wxPyEndAllowThreads(__tstate);
493f1553 2389 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2390} Py_INCREF(Py_None);
2391 _resultobj = Py_None;
2392 return _resultobj;
2393}
2394
2395#define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
2396static PyObject *_wrap_wxIcon_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
2397 PyObject * _resultobj;
2398 bool _result;
2399 wxIcon * _arg0;
2400 wxString * _arg1;
2401 long _arg2;
2402 PyObject * _argo0 = 0;
2403 PyObject * _obj1 = 0;
2404 char *_kwnames[] = { "self","name","flags", NULL };
2405
2406 self = self;
2407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOl:wxIcon_LoadFile",_kwnames,&_argo0,&_obj1,&_arg2))
2408 return NULL;
2409 if (_argo0) {
2410 if (_argo0 == Py_None) { _arg0 = NULL; }
2411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
2413 return NULL;
2414 }
2415 }
2416{
c8bc7bb8
RD
2417 _arg1 = wxString_in_helper(_obj1);
2418 if (_arg1 == NULL)
185d7c3e 2419 return NULL;
9b3d3bc4
RD
2420}
2421{
4268f798 2422 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2423 _result = (bool )wxIcon_LoadFile(_arg0,*_arg1,_arg2);
9b3d3bc4 2424
4268f798 2425 wxPyEndAllowThreads(__tstate);
493f1553 2426 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2427} _resultobj = Py_BuildValue("i",_result);
2428{
2429 if (_obj1)
2430 delete _arg1;
2431}
2432 return _resultobj;
2433}
2434
2435#define wxIcon_GetHandle(_swigobj) (_swigobj->GetHandle())
2436static PyObject *_wrap_wxIcon_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
2437 PyObject * _resultobj;
2438 long _result;
2439 wxIcon * _arg0;
2440 PyObject * _argo0 = 0;
2441 char *_kwnames[] = { "self", NULL };
2442
2443 self = self;
2444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_GetHandle",_kwnames,&_argo0))
2445 return NULL;
2446 if (_argo0) {
2447 if (_argo0 == Py_None) { _arg0 = NULL; }
2448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_GetHandle. Expected _wxIcon_p.");
2450 return NULL;
2451 }
2452 }
2453{
4268f798 2454 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2455 _result = (long )wxIcon_GetHandle(_arg0);
9b3d3bc4 2456
4268f798 2457 wxPyEndAllowThreads(__tstate);
493f1553 2458 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2459} _resultobj = Py_BuildValue("l",_result);
2460 return _resultobj;
2461}
2462
2463#define wxIcon_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
2464static PyObject *_wrap_wxIcon_SetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
2465 PyObject * _resultobj;
2466 wxIcon * _arg0;
2467 long _arg1;
2468 PyObject * _argo0 = 0;
2469 char *_kwnames[] = { "self","handle", NULL };
2470
2471 self = self;
2472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxIcon_SetHandle",_kwnames,&_argo0,&_arg1))
2473 return NULL;
2474 if (_argo0) {
2475 if (_argo0 == Py_None) { _arg0 = NULL; }
2476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetHandle. Expected _wxIcon_p.");
2478 return NULL;
2479 }
2480 }
2481{
4268f798 2482 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2483 wxIcon_SetHandle(_arg0,_arg1);
9b3d3bc4 2484
4268f798 2485 wxPyEndAllowThreads(__tstate);
493f1553 2486 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2487} Py_INCREF(Py_None);
2488 _resultobj = Py_None;
2489 return _resultobj;
2490}
2491
2492#define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2493static PyObject *_wrap_wxIcon_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
2494 PyObject * _resultobj;
2495 bool _result;
2496 wxIcon * _arg0;
2497 PyObject * _argo0 = 0;
2498 char *_kwnames[] = { "self", NULL };
2499
2500 self = self;
2501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_Ok",_kwnames,&_argo0))
2502 return NULL;
2503 if (_argo0) {
2504 if (_argo0 == Py_None) { _arg0 = NULL; }
2505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
2507 return NULL;
2508 }
2509 }
2510{
4268f798 2511 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2512 _result = (bool )wxIcon_Ok(_arg0);
9b3d3bc4 2513
4268f798 2514 wxPyEndAllowThreads(__tstate);
493f1553 2515 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2516} _resultobj = Py_BuildValue("i",_result);
2517 return _resultobj;
2518}
2519
2520#define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2521static PyObject *_wrap_wxIcon_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2522 PyObject * _resultobj;
2523 int _result;
2524 wxIcon * _arg0;
2525 PyObject * _argo0 = 0;
2526 char *_kwnames[] = { "self", NULL };
2527
2528 self = self;
2529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_GetWidth",_kwnames,&_argo0))
2530 return NULL;
2531 if (_argo0) {
2532 if (_argo0 == Py_None) { _arg0 = NULL; }
2533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2535 return NULL;
2536 }
2537 }
2538{
4268f798 2539 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2540 _result = (int )wxIcon_GetWidth(_arg0);
9b3d3bc4 2541
4268f798 2542 wxPyEndAllowThreads(__tstate);
493f1553 2543 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2544} _resultobj = Py_BuildValue("i",_result);
2545 return _resultobj;
2546}
2547
2548#define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2549static PyObject *_wrap_wxIcon_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2550 PyObject * _resultobj;
2551 int _result;
2552 wxIcon * _arg0;
2553 PyObject * _argo0 = 0;
2554 char *_kwnames[] = { "self", NULL };
2555
2556 self = self;
2557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_GetHeight",_kwnames,&_argo0))
2558 return NULL;
2559 if (_argo0) {
2560 if (_argo0 == Py_None) { _arg0 = NULL; }
2561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2563 return NULL;
2564 }
2565 }
2566{
4268f798 2567 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2568 _result = (int )wxIcon_GetHeight(_arg0);
9b3d3bc4 2569
4268f798 2570 wxPyEndAllowThreads(__tstate);
493f1553 2571 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2572} _resultobj = Py_BuildValue("i",_result);
2573 return _resultobj;
2574}
2575
2576#define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2577static PyObject *_wrap_wxIcon_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
2578 PyObject * _resultobj;
2579 int _result;
2580 wxIcon * _arg0;
2581 PyObject * _argo0 = 0;
2582 char *_kwnames[] = { "self", NULL };
2583
2584 self = self;
2585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_GetDepth",_kwnames,&_argo0))
2586 return NULL;
2587 if (_argo0) {
2588 if (_argo0 == Py_None) { _arg0 = NULL; }
2589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2591 return NULL;
2592 }
2593 }
2594{
4268f798 2595 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2596 _result = (int )wxIcon_GetDepth(_arg0);
9b3d3bc4 2597
4268f798 2598 wxPyEndAllowThreads(__tstate);
493f1553 2599 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2600} _resultobj = Py_BuildValue("i",_result);
2601 return _resultobj;
2602}
2603
2604#define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2605static PyObject *_wrap_wxIcon_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2606 PyObject * _resultobj;
2607 wxIcon * _arg0;
2608 int _arg1;
2609 PyObject * _argo0 = 0;
2610 char *_kwnames[] = { "self","w", NULL };
2611
2612 self = self;
2613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxIcon_SetWidth",_kwnames,&_argo0,&_arg1))
2614 return NULL;
2615 if (_argo0) {
2616 if (_argo0 == Py_None) { _arg0 = NULL; }
2617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2619 return NULL;
2620 }
2621 }
2622{
4268f798 2623 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2624 wxIcon_SetWidth(_arg0,_arg1);
9b3d3bc4 2625
4268f798 2626 wxPyEndAllowThreads(__tstate);
493f1553 2627 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2628} Py_INCREF(Py_None);
2629 _resultobj = Py_None;
2630 return _resultobj;
2631}
2632
2633#define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2634static PyObject *_wrap_wxIcon_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2635 PyObject * _resultobj;
2636 wxIcon * _arg0;
2637 int _arg1;
2638 PyObject * _argo0 = 0;
2639 char *_kwnames[] = { "self","h", NULL };
2640
2641 self = self;
2642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxIcon_SetHeight",_kwnames,&_argo0,&_arg1))
2643 return NULL;
2644 if (_argo0) {
2645 if (_argo0 == Py_None) { _arg0 = NULL; }
2646 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2647 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2648 return NULL;
2649 }
2650 }
2651{
4268f798 2652 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2653 wxIcon_SetHeight(_arg0,_arg1);
9b3d3bc4 2654
4268f798 2655 wxPyEndAllowThreads(__tstate);
493f1553 2656 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2657} Py_INCREF(Py_None);
2658 _resultobj = Py_None;
2659 return _resultobj;
2660}
2661
2662#define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2663static PyObject *_wrap_wxIcon_SetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
2664 PyObject * _resultobj;
2665 wxIcon * _arg0;
2666 int _arg1;
2667 PyObject * _argo0 = 0;
2668 char *_kwnames[] = { "self","d", NULL };
2669
2670 self = self;
2671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxIcon_SetDepth",_kwnames,&_argo0,&_arg1))
2672 return NULL;
2673 if (_argo0) {
2674 if (_argo0 == Py_None) { _arg0 = NULL; }
2675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2677 return NULL;
2678 }
2679 }
2680{
4268f798 2681 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2682 wxIcon_SetDepth(_arg0,_arg1);
9b3d3bc4 2683
4268f798 2684 wxPyEndAllowThreads(__tstate);
493f1553 2685 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2686} Py_INCREF(Py_None);
2687 _resultobj = Py_None;
2688 return _resultobj;
2689}
2690
2691#define wxIcon_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2692static PyObject *_wrap_wxIcon_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2693 PyObject * _resultobj;
2694 wxIcon * _arg0;
2695 wxSize * _arg1;
2696 PyObject * _argo0 = 0;
2697 wxSize temp;
2698 PyObject * _obj1 = 0;
2699 char *_kwnames[] = { "self","size", NULL };
2700
2701 self = self;
2702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxIcon_SetSize",_kwnames,&_argo0,&_obj1))
2703 return NULL;
2704 if (_argo0) {
2705 if (_argo0 == Py_None) { _arg0 = NULL; }
2706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetSize. Expected _wxIcon_p.");
2708 return NULL;
2709 }
2710 }
2711{
2712 _arg1 = &temp;
2713 if (! wxSize_helper(_obj1, &_arg1))
2714 return NULL;
2715}
2716{
4268f798 2717 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2718 wxIcon_SetSize(_arg0,*_arg1);
9b3d3bc4 2719
4268f798 2720 wxPyEndAllowThreads(__tstate);
493f1553 2721 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2722} Py_INCREF(Py_None);
2723 _resultobj = Py_None;
2724 return _resultobj;
2725}
2726
96bfd053
RD
2727#define wxIcon_CopyFromBitmap(_swigobj,_swigarg0) (_swigobj->CopyFromBitmap(_swigarg0))
2728static PyObject *_wrap_wxIcon_CopyFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2729 PyObject * _resultobj;
2730 wxIcon * _arg0;
2731 wxBitmap * _arg1;
2732 PyObject * _argo0 = 0;
2733 PyObject * _argo1 = 0;
2734 char *_kwnames[] = { "self","bmp", NULL };
2735
2736 self = self;
2737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxIcon_CopyFromBitmap",_kwnames,&_argo0,&_argo1))
2738 return NULL;
2739 if (_argo0) {
2740 if (_argo0 == Py_None) { _arg0 = NULL; }
2741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_CopyFromBitmap. Expected _wxIcon_p.");
2743 return NULL;
2744 }
2745 }
2746 if (_argo1) {
2747 if (_argo1 == Py_None) { _arg1 = NULL; }
2748 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
2749 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIcon_CopyFromBitmap. Expected _wxBitmap_p.");
2750 return NULL;
2751 }
2752 }
2753{
4268f798 2754 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2755 wxIcon_CopyFromBitmap(_arg0,*_arg1);
96bfd053 2756
4268f798 2757 wxPyEndAllowThreads(__tstate);
493f1553 2758 if (PyErr_Occurred()) return NULL;
96bfd053
RD
2759} Py_INCREF(Py_None);
2760 _resultobj = Py_None;
2761 return _resultobj;
2762}
2763
9416aa89
RD
2764static void *SwigwxCursorTowxGDIObject(void *ptr) {
2765 wxCursor *src;
2766 wxGDIObject *dest;
2767 src = (wxCursor *) ptr;
2768 dest = (wxGDIObject *) src;
2769 return (void *) dest;
2770}
2771
2772static void *SwigwxCursorTowxObject(void *ptr) {
2773 wxCursor *src;
2774 wxObject *dest;
2775 src = (wxCursor *) ptr;
2776 dest = (wxObject *) src;
2777 return (void *) dest;
2778}
2779
9b3d3bc4
RD
2780#define new_wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2781static PyObject *_wrap_new_wxCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
2782 PyObject * _resultobj;
2783 wxCursor * _result;
2784 wxString * _arg0;
2785 long _arg1;
2786 int _arg2 = (int ) 0;
2787 int _arg3 = (int ) 0;
2788 PyObject * _obj0 = 0;
2789 char *_kwnames[] = { "cursorName","flags","hotSpotX","hotSpotY", NULL };
2790 char _ptemp[128];
2791
2792 self = self;
2793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:new_wxCursor",_kwnames,&_obj0,&_arg1,&_arg2,&_arg3))
2794 return NULL;
2795{
c8bc7bb8
RD
2796 _arg0 = wxString_in_helper(_obj0);
2797 if (_arg0 == NULL)
185d7c3e 2798 return NULL;
9b3d3bc4
RD
2799}
2800{
4268f798 2801 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2802 _result = (wxCursor *)new_wxCursor(*_arg0,_arg1,_arg2,_arg3);
9b3d3bc4 2803
4268f798 2804 wxPyEndAllowThreads(__tstate);
493f1553 2805 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2806} if (_result) {
2807 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCursor_p");
2808 _resultobj = Py_BuildValue("s",_ptemp);
2809 } else {
2810 Py_INCREF(Py_None);
2811 _resultobj = Py_None;
2812 }
2813{
2814 if (_obj0)
2815 delete _arg0;
2816}
2817 return _resultobj;
2818}
2819
2820#define delete_wxCursor(_swigobj) (delete _swigobj)
2821static PyObject *_wrap_delete_wxCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
2822 PyObject * _resultobj;
2823 wxCursor * _arg0;
2824 PyObject * _argo0 = 0;
2825 char *_kwnames[] = { "self", NULL };
2826
2827 self = self;
2828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxCursor",_kwnames,&_argo0))
2829 return NULL;
2830 if (_argo0) {
2831 if (_argo0 == Py_None) { _arg0 = NULL; }
2832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
2833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
2834 return NULL;
2835 }
2836 }
2837{
4268f798 2838 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2839 delete_wxCursor(_arg0);
9b3d3bc4 2840
4268f798 2841 wxPyEndAllowThreads(__tstate);
493f1553 2842 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2843} Py_INCREF(Py_None);
2844 _resultobj = Py_None;
2845 return _resultobj;
2846}
2847
2848#define wxCursor_GetHandle(_swigobj) (_swigobj->GetHandle())
2849static PyObject *_wrap_wxCursor_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
2850 PyObject * _resultobj;
2851 long _result;
2852 wxCursor * _arg0;
2853 PyObject * _argo0 = 0;
2854 char *_kwnames[] = { "self", NULL };
2855
2856 self = self;
2857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCursor_GetHandle",_kwnames,&_argo0))
2858 return NULL;
2859 if (_argo0) {
2860 if (_argo0 == Py_None) { _arg0 = NULL; }
2861 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
2862 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_GetHandle. Expected _wxCursor_p.");
2863 return NULL;
2864 }
2865 }
2866{
4268f798 2867 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2868 _result = (long )wxCursor_GetHandle(_arg0);
9b3d3bc4 2869
4268f798 2870 wxPyEndAllowThreads(__tstate);
493f1553 2871 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2872} _resultobj = Py_BuildValue("l",_result);
2873 return _resultobj;
2874}
2875
2876#define wxCursor_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
2877static PyObject *_wrap_wxCursor_SetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
2878 PyObject * _resultobj;
2879 wxCursor * _arg0;
2880 long _arg1;
2881 PyObject * _argo0 = 0;
2882 char *_kwnames[] = { "self","handle", NULL };
2883
2884 self = self;
2885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxCursor_SetHandle",_kwnames,&_argo0,&_arg1))
2886 return NULL;
2887 if (_argo0) {
2888 if (_argo0 == Py_None) { _arg0 = NULL; }
2889 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
2890 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_SetHandle. Expected _wxCursor_p.");
2891 return NULL;
2892 }
2893 }
2894{
4268f798 2895 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2896 wxCursor_SetHandle(_arg0,_arg1);
9b3d3bc4 2897
4268f798 2898 wxPyEndAllowThreads(__tstate);
493f1553 2899 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2900} Py_INCREF(Py_None);
2901 _resultobj = Py_None;
2902 return _resultobj;
2903}
2904
2905#define wxCursor_Ok(_swigobj) (_swigobj->Ok())
2906static PyObject *_wrap_wxCursor_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
2907 PyObject * _resultobj;
2908 bool _result;
2909 wxCursor * _arg0;
2910 PyObject * _argo0 = 0;
2911 char *_kwnames[] = { "self", NULL };
2912
2913 self = self;
2914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCursor_Ok",_kwnames,&_argo0))
2915 return NULL;
2916 if (_argo0) {
2917 if (_argo0 == Py_None) { _arg0 = NULL; }
2918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
2919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2920 return NULL;
2921 }
2922 }
2923{
4268f798 2924 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2925 _result = (bool )wxCursor_Ok(_arg0);
9b3d3bc4 2926
4268f798 2927 wxPyEndAllowThreads(__tstate);
493f1553 2928 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2929} _resultobj = Py_BuildValue("i",_result);
2930 return _resultobj;
2931}
2932
2933#define wxCursor_GetWidth(_swigobj) (_swigobj->GetWidth())
2934static PyObject *_wrap_wxCursor_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2935 PyObject * _resultobj;
2936 int _result;
2937 wxCursor * _arg0;
2938 PyObject * _argo0 = 0;
2939 char *_kwnames[] = { "self", NULL };
2940
2941 self = self;
2942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCursor_GetWidth",_kwnames,&_argo0))
2943 return NULL;
2944 if (_argo0) {
2945 if (_argo0 == Py_None) { _arg0 = NULL; }
2946 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
2947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_GetWidth. Expected _wxCursor_p.");
2948 return NULL;
2949 }
2950 }
2951{
4268f798 2952 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2953 _result = (int )wxCursor_GetWidth(_arg0);
9b3d3bc4 2954
4268f798 2955 wxPyEndAllowThreads(__tstate);
493f1553 2956 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2957} _resultobj = Py_BuildValue("i",_result);
2958 return _resultobj;
2959}
2960
2961#define wxCursor_GetHeight(_swigobj) (_swigobj->GetHeight())
2962static PyObject *_wrap_wxCursor_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2963 PyObject * _resultobj;
2964 int _result;
2965 wxCursor * _arg0;
2966 PyObject * _argo0 = 0;
2967 char *_kwnames[] = { "self", NULL };
2968
2969 self = self;
2970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCursor_GetHeight",_kwnames,&_argo0))
2971 return NULL;
2972 if (_argo0) {
2973 if (_argo0 == Py_None) { _arg0 = NULL; }
2974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
2975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_GetHeight. Expected _wxCursor_p.");
2976 return NULL;
2977 }
2978 }
2979{
4268f798 2980 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2981 _result = (int )wxCursor_GetHeight(_arg0);
9b3d3bc4 2982
4268f798 2983 wxPyEndAllowThreads(__tstate);
493f1553 2984 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2985} _resultobj = Py_BuildValue("i",_result);
2986 return _resultobj;
2987}
2988
2989#define wxCursor_GetDepth(_swigobj) (_swigobj->GetDepth())
2990static PyObject *_wrap_wxCursor_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
2991 PyObject * _resultobj;
2992 int _result;
2993 wxCursor * _arg0;
2994 PyObject * _argo0 = 0;
2995 char *_kwnames[] = { "self", NULL };
2996
2997 self = self;
2998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCursor_GetDepth",_kwnames,&_argo0))
2999 return NULL;
3000 if (_argo0) {
3001 if (_argo0 == Py_None) { _arg0 = NULL; }
3002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_GetDepth. Expected _wxCursor_p.");
3004 return NULL;
3005 }
3006 }
3007{
4268f798 3008 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3009 _result = (int )wxCursor_GetDepth(_arg0);
9b3d3bc4 3010
4268f798 3011 wxPyEndAllowThreads(__tstate);
493f1553 3012 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3013} _resultobj = Py_BuildValue("i",_result);
3014 return _resultobj;
3015}
3016
3017#define wxCursor_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
3018static PyObject *_wrap_wxCursor_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3019 PyObject * _resultobj;
3020 wxCursor * _arg0;
3021 int _arg1;
3022 PyObject * _argo0 = 0;
3023 char *_kwnames[] = { "self","w", NULL };
3024
3025 self = self;
3026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCursor_SetWidth",_kwnames,&_argo0,&_arg1))
3027 return NULL;
3028 if (_argo0) {
3029 if (_argo0 == Py_None) { _arg0 = NULL; }
3030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_SetWidth. Expected _wxCursor_p.");
3032 return NULL;
3033 }
3034 }
3035{
4268f798 3036 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3037 wxCursor_SetWidth(_arg0,_arg1);
9b3d3bc4 3038
4268f798 3039 wxPyEndAllowThreads(__tstate);
493f1553 3040 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3041} Py_INCREF(Py_None);
3042 _resultobj = Py_None;
3043 return _resultobj;
3044}
3045
3046#define wxCursor_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
3047static PyObject *_wrap_wxCursor_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3048 PyObject * _resultobj;
3049 wxCursor * _arg0;
3050 int _arg1;
3051 PyObject * _argo0 = 0;
3052 char *_kwnames[] = { "self","h", NULL };
3053
3054 self = self;
3055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCursor_SetHeight",_kwnames,&_argo0,&_arg1))
3056 return NULL;
3057 if (_argo0) {
3058 if (_argo0 == Py_None) { _arg0 = NULL; }
3059 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3060 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_SetHeight. Expected _wxCursor_p.");
3061 return NULL;
3062 }
3063 }
3064{
4268f798 3065 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3066 wxCursor_SetHeight(_arg0,_arg1);
9b3d3bc4 3067
4268f798 3068 wxPyEndAllowThreads(__tstate);
493f1553 3069 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3070} Py_INCREF(Py_None);
3071 _resultobj = Py_None;
3072 return _resultobj;
3073}
3074
3075#define wxCursor_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
3076static PyObject *_wrap_wxCursor_SetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3077 PyObject * _resultobj;
3078 wxCursor * _arg0;
3079 int _arg1;
3080 PyObject * _argo0 = 0;
3081 char *_kwnames[] = { "self","d", NULL };
3082
3083 self = self;
3084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCursor_SetDepth",_kwnames,&_argo0,&_arg1))
3085 return NULL;
3086 if (_argo0) {
3087 if (_argo0 == Py_None) { _arg0 = NULL; }
3088 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_SetDepth. Expected _wxCursor_p.");
3090 return NULL;
3091 }
3092 }
3093{
4268f798 3094 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3095 wxCursor_SetDepth(_arg0,_arg1);
9b3d3bc4 3096
4268f798 3097 wxPyEndAllowThreads(__tstate);
493f1553 3098 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3099} Py_INCREF(Py_None);
3100 _resultobj = Py_None;
3101 return _resultobj;
3102}
3103
3104#define wxCursor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3105static PyObject *_wrap_wxCursor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3106 PyObject * _resultobj;
3107 wxCursor * _arg0;
3108 wxSize * _arg1;
3109 PyObject * _argo0 = 0;
3110 wxSize temp;
3111 PyObject * _obj1 = 0;
3112 char *_kwnames[] = { "self","size", NULL };
3113
3114 self = self;
3115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCursor_SetSize",_kwnames,&_argo0,&_obj1))
3116 return NULL;
3117 if (_argo0) {
3118 if (_argo0 == Py_None) { _arg0 = NULL; }
3119 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_SetSize. Expected _wxCursor_p.");
3121 return NULL;
3122 }
3123 }
3124{
3125 _arg1 = &temp;
3126 if (! wxSize_helper(_obj1, &_arg1))
3127 return NULL;
3128}
3129{
4268f798 3130 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3131 wxCursor_SetSize(_arg0,*_arg1);
cf694132 3132
4268f798 3133 wxPyEndAllowThreads(__tstate);
493f1553 3134 if (PyErr_Occurred()) return NULL;
cf694132 3135} Py_INCREF(Py_None);
8ab979d7
RD
3136 _resultobj = Py_None;
3137 return _resultobj;
3138}
3139
b5a5d647
RD
3140#define new_wxNativeFontInfo() (new wxNativeFontInfo())
3141static PyObject *_wrap_new_wxNativeFontInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3142 PyObject * _resultobj;
3143 wxNativeFontInfo * _result;
3144 char *_kwnames[] = { NULL };
3145 char _ptemp[128];
3146
3147 self = self;
3148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxNativeFontInfo",_kwnames))
3149 return NULL;
3150{
3151 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3152 _result = (wxNativeFontInfo *)new_wxNativeFontInfo();
b5a5d647
RD
3153
3154 wxPyEndAllowThreads(__tstate);
3155 if (PyErr_Occurred()) return NULL;
3156} if (_result) {
3157 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNativeFontInfo_p");
3158 _resultobj = Py_BuildValue("s",_ptemp);
3159 } else {
3160 Py_INCREF(Py_None);
3161 _resultobj = Py_None;
3162 }
3163 return _resultobj;
3164}
3165
3166#define wxNativeFontInfo_Init(_swigobj) (_swigobj->Init())
3167static PyObject *_wrap_wxNativeFontInfo_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
3168 PyObject * _resultobj;
3169 wxNativeFontInfo * _arg0;
3170 PyObject * _argo0 = 0;
3171 char *_kwnames[] = { "self", NULL };
3172
3173 self = self;
3174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNativeFontInfo_Init",_kwnames,&_argo0))
3175 return NULL;
3176 if (_argo0) {
3177 if (_argo0 == Py_None) { _arg0 = NULL; }
3178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
3179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo_Init. Expected _wxNativeFontInfo_p.");
3180 return NULL;
3181 }
3182 }
3183{
3184 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3185 wxNativeFontInfo_Init(_arg0);
b5a5d647
RD
3186
3187 wxPyEndAllowThreads(__tstate);
3188 if (PyErr_Occurred()) return NULL;
3189} Py_INCREF(Py_None);
3190 _resultobj = Py_None;
3191 return _resultobj;
3192}
3193
3194#define wxNativeFontInfo_GetPointSize(_swigobj) (_swigobj->GetPointSize())
3195static PyObject *_wrap_wxNativeFontInfo_GetPointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3196 PyObject * _resultobj;
3197 int _result;
3198 wxNativeFontInfo * _arg0;
3199 PyObject * _argo0 = 0;
3200 char *_kwnames[] = { "self", NULL };
3201
3202 self = self;
3203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNativeFontInfo_GetPointSize",_kwnames,&_argo0))
3204 return NULL;
3205 if (_argo0) {
3206 if (_argo0 == Py_None) { _arg0 = NULL; }
3207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
3208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo_GetPointSize. Expected _wxNativeFontInfo_p.");
3209 return NULL;
3210 }
3211 }
3212{
3213 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3214 _result = (int )wxNativeFontInfo_GetPointSize(_arg0);
b5a5d647
RD
3215
3216 wxPyEndAllowThreads(__tstate);
3217 if (PyErr_Occurred()) return NULL;
3218} _resultobj = Py_BuildValue("i",_result);
3219 return _resultobj;
3220}
3221
3222#define wxNativeFontInfo_GetStyle(_swigobj) (_swigobj->GetStyle())
3223static PyObject *_wrap_wxNativeFontInfo_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3224 PyObject * _resultobj;
3225 wxFontStyle _result;
3226 wxNativeFontInfo * _arg0;
3227 PyObject * _argo0 = 0;
3228 char *_kwnames[] = { "self", NULL };
3229
3230 self = self;
3231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNativeFontInfo_GetStyle",_kwnames,&_argo0))
3232 return NULL;
3233 if (_argo0) {
3234 if (_argo0 == Py_None) { _arg0 = NULL; }
3235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
3236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo_GetStyle. Expected _wxNativeFontInfo_p.");
3237 return NULL;
3238 }
3239 }
3240{
3241 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3242 _result = (wxFontStyle )wxNativeFontInfo_GetStyle(_arg0);
b5a5d647
RD
3243
3244 wxPyEndAllowThreads(__tstate);
3245 if (PyErr_Occurred()) return NULL;
3246} _resultobj = Py_BuildValue("i",_result);
3247 return _resultobj;
3248}
3249
3250#define wxNativeFontInfo_GetWeight(_swigobj) (_swigobj->GetWeight())
3251static PyObject *_wrap_wxNativeFontInfo_GetWeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3252 PyObject * _resultobj;
3253 wxFontWeight _result;
3254 wxNativeFontInfo * _arg0;
3255 PyObject * _argo0 = 0;
3256 char *_kwnames[] = { "self", NULL };
3257
3258 self = self;
3259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNativeFontInfo_GetWeight",_kwnames,&_argo0))
3260 return NULL;
3261 if (_argo0) {
3262 if (_argo0 == Py_None) { _arg0 = NULL; }
3263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
3264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo_GetWeight. Expected _wxNativeFontInfo_p.");
3265 return NULL;
3266 }
3267 }
3268{
3269 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3270 _result = (wxFontWeight )wxNativeFontInfo_GetWeight(_arg0);
b5a5d647
RD
3271
3272 wxPyEndAllowThreads(__tstate);
3273 if (PyErr_Occurred()) return NULL;
3274} _resultobj = Py_BuildValue("i",_result);
3275 return _resultobj;
3276}
3277
3278#define wxNativeFontInfo_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
3279static PyObject *_wrap_wxNativeFontInfo_GetUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
3280 PyObject * _resultobj;
3281 bool _result;
3282 wxNativeFontInfo * _arg0;
3283 PyObject * _argo0 = 0;
3284 char *_kwnames[] = { "self", NULL };
3285
3286 self = self;
3287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNativeFontInfo_GetUnderlined",_kwnames,&_argo0))
3288 return NULL;
3289 if (_argo0) {
3290 if (_argo0 == Py_None) { _arg0 = NULL; }
3291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
3292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo_GetUnderlined. Expected _wxNativeFontInfo_p.");
3293 return NULL;
3294 }
3295 }
3296{
3297 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3298 _result = (bool )wxNativeFontInfo_GetUnderlined(_arg0);
b5a5d647
RD
3299
3300 wxPyEndAllowThreads(__tstate);
3301 if (PyErr_Occurred()) return NULL;
3302} _resultobj = Py_BuildValue("i",_result);
3303 return _resultobj;
3304}
3305
3306#define wxNativeFontInfo_GetFaceName(_swigobj) (_swigobj->GetFaceName())
3307static PyObject *_wrap_wxNativeFontInfo_GetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
3308 PyObject * _resultobj;
3309 wxString * _result;
3310 wxNativeFontInfo * _arg0;
3311 PyObject * _argo0 = 0;
3312 char *_kwnames[] = { "self", NULL };
3313
3314 self = self;
3315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNativeFontInfo_GetFaceName",_kwnames,&_argo0))
3316 return NULL;
3317 if (_argo0) {
3318 if (_argo0 == Py_None) { _arg0 = NULL; }
3319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
3320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo_GetFaceName. Expected _wxNativeFontInfo_p.");
3321 return NULL;
3322 }
3323 }
3324{
3325 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3326 _result = new wxString (wxNativeFontInfo_GetFaceName(_arg0));
b5a5d647
RD
3327
3328 wxPyEndAllowThreads(__tstate);
3329 if (PyErr_Occurred()) return NULL;
3330}{
c8bc7bb8
RD
3331#if wxUSE_UNICODE
3332 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
3333#else
b5a5d647 3334 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 3335#endif
b5a5d647
RD
3336}
3337{
3338 delete _result;
3339}
3340 return _resultobj;
3341}
3342
3343#define wxNativeFontInfo_GetFamily(_swigobj) (_swigobj->GetFamily())
3344static PyObject *_wrap_wxNativeFontInfo_GetFamily(PyObject *self, PyObject *args, PyObject *kwargs) {
3345 PyObject * _resultobj;
3346 wxFontFamily _result;
3347 wxNativeFontInfo * _arg0;
3348 PyObject * _argo0 = 0;
3349 char *_kwnames[] = { "self", NULL };
3350
3351 self = self;
3352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNativeFontInfo_GetFamily",_kwnames,&_argo0))
3353 return NULL;
3354 if (_argo0) {
3355 if (_argo0 == Py_None) { _arg0 = NULL; }
3356 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
3357 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo_GetFamily. Expected _wxNativeFontInfo_p.");
3358 return NULL;
3359 }
3360 }
3361{
3362 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3363 _result = (wxFontFamily )wxNativeFontInfo_GetFamily(_arg0);
b5a5d647
RD
3364
3365 wxPyEndAllowThreads(__tstate);
3366 if (PyErr_Occurred()) return NULL;
3367} _resultobj = Py_BuildValue("i",_result);
3368 return _resultobj;
3369}
3370
3371#define wxNativeFontInfo_GetEncoding(_swigobj) (_swigobj->GetEncoding())
3372static PyObject *_wrap_wxNativeFontInfo_GetEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
3373 PyObject * _resultobj;
3374 wxFontEncoding _result;
3375 wxNativeFontInfo * _arg0;
3376 PyObject * _argo0 = 0;
3377 char *_kwnames[] = { "self", NULL };
3378
3379 self = self;
3380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNativeFontInfo_GetEncoding",_kwnames,&_argo0))
3381 return NULL;
3382 if (_argo0) {
3383 if (_argo0 == Py_None) { _arg0 = NULL; }
3384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
3385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo_GetEncoding. Expected _wxNativeFontInfo_p.");
3386 return NULL;
3387 }
3388 }
3389{
3390 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3391 _result = (wxFontEncoding )wxNativeFontInfo_GetEncoding(_arg0);
b5a5d647
RD
3392
3393 wxPyEndAllowThreads(__tstate);
3394 if (PyErr_Occurred()) return NULL;
3395} _resultobj = Py_BuildValue("i",_result);
3396 return _resultobj;
3397}
3398
3399#define wxNativeFontInfo_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
3400static PyObject *_wrap_wxNativeFontInfo_SetPointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3401 PyObject * _resultobj;
3402 wxNativeFontInfo * _arg0;
3403 int _arg1;
3404 PyObject * _argo0 = 0;
3405 char *_kwnames[] = { "self","pointsize", NULL };
3406
3407 self = self;
3408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNativeFontInfo_SetPointSize",_kwnames,&_argo0,&_arg1))
3409 return NULL;
3410 if (_argo0) {
3411 if (_argo0 == Py_None) { _arg0 = NULL; }
3412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
3413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo_SetPointSize. Expected _wxNativeFontInfo_p.");
3414 return NULL;
3415 }
3416 }
3417{
3418 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3419 wxNativeFontInfo_SetPointSize(_arg0,_arg1);
b5a5d647
RD
3420
3421 wxPyEndAllowThreads(__tstate);
3422 if (PyErr_Occurred()) return NULL;
3423} Py_INCREF(Py_None);
3424 _resultobj = Py_None;
3425 return _resultobj;
3426}
3427
3428#define wxNativeFontInfo_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3429static PyObject *_wrap_wxNativeFontInfo_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3430 PyObject * _resultobj;
3431 wxNativeFontInfo * _arg0;
3432 wxFontStyle _arg1;
3433 PyObject * _argo0 = 0;
3434 char *_kwnames[] = { "self","style", NULL };
3435
3436 self = self;
3437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNativeFontInfo_SetStyle",_kwnames,&_argo0,&_arg1))
3438 return NULL;
3439 if (_argo0) {
3440 if (_argo0 == Py_None) { _arg0 = NULL; }
3441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
3442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo_SetStyle. Expected _wxNativeFontInfo_p.");
3443 return NULL;
3444 }
3445 }
3446{
3447 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3448 wxNativeFontInfo_SetStyle(_arg0,_arg1);
b5a5d647
RD
3449
3450 wxPyEndAllowThreads(__tstate);
3451 if (PyErr_Occurred()) return NULL;
3452} Py_INCREF(Py_None);
3453 _resultobj = Py_None;
3454 return _resultobj;
3455}
3456
3457#define wxNativeFontInfo_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
3458static PyObject *_wrap_wxNativeFontInfo_SetWeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3459 PyObject * _resultobj;
3460 wxNativeFontInfo * _arg0;
3461 wxFontWeight _arg1;
3462 PyObject * _argo0 = 0;
3463 char *_kwnames[] = { "self","weight", NULL };
3464
3465 self = self;
3466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNativeFontInfo_SetWeight",_kwnames,&_argo0,&_arg1))
3467 return NULL;
3468 if (_argo0) {
3469 if (_argo0 == Py_None) { _arg0 = NULL; }
3470 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
3471 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo_SetWeight. Expected _wxNativeFontInfo_p.");
3472 return NULL;
3473 }
3474 }
3475{
3476 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3477 wxNativeFontInfo_SetWeight(_arg0,_arg1);
b5a5d647
RD
3478
3479 wxPyEndAllowThreads(__tstate);
3480 if (PyErr_Occurred()) return NULL;
3481} Py_INCREF(Py_None);
3482 _resultobj = Py_None;
3483 return _resultobj;
3484}
3485
3486#define wxNativeFontInfo_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
3487static PyObject *_wrap_wxNativeFontInfo_SetUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
3488 PyObject * _resultobj;
3489 wxNativeFontInfo * _arg0;
3490 bool _arg1;
3491 PyObject * _argo0 = 0;
3492 int tempbool1;
3493 char *_kwnames[] = { "self","underlined", NULL };
3494
3495 self = self;
3496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNativeFontInfo_SetUnderlined",_kwnames,&_argo0,&tempbool1))
3497 return NULL;
3498 if (_argo0) {
3499 if (_argo0 == Py_None) { _arg0 = NULL; }
3500 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
3501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo_SetUnderlined. Expected _wxNativeFontInfo_p.");
3502 return NULL;
3503 }
3504 }
3505 _arg1 = (bool ) tempbool1;
3506{
3507 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3508 wxNativeFontInfo_SetUnderlined(_arg0,_arg1);
b5a5d647
RD
3509
3510 wxPyEndAllowThreads(__tstate);
3511 if (PyErr_Occurred()) return NULL;
3512} Py_INCREF(Py_None);
3513 _resultobj = Py_None;
3514 return _resultobj;
3515}
3516
3517#define wxNativeFontInfo_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
3518static PyObject *_wrap_wxNativeFontInfo_SetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
3519 PyObject * _resultobj;
3520 wxNativeFontInfo * _arg0;
3521 wxString * _arg1;
3522 PyObject * _argo0 = 0;
3523 PyObject * _obj1 = 0;
3524 char *_kwnames[] = { "self","facename", NULL };
3525
3526 self = self;
3527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNativeFontInfo_SetFaceName",_kwnames,&_argo0,&_obj1))
3528 return NULL;
3529 if (_argo0) {
3530 if (_argo0 == Py_None) { _arg0 = NULL; }
3531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
3532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo_SetFaceName. Expected _wxNativeFontInfo_p.");
3533 return NULL;
3534 }
3535 }
3536{
c8bc7bb8
RD
3537 _arg1 = wxString_in_helper(_obj1);
3538 if (_arg1 == NULL)
b5a5d647 3539 return NULL;
b5a5d647
RD
3540}
3541{
3542 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3543 wxNativeFontInfo_SetFaceName(_arg0,*_arg1);
b5a5d647
RD
3544
3545 wxPyEndAllowThreads(__tstate);
3546 if (PyErr_Occurred()) return NULL;
3547} Py_INCREF(Py_None);
3548 _resultobj = Py_None;
3549{
3550 if (_obj1)
3551 delete _arg1;
3552}
3553 return _resultobj;
3554}
3555
3556#define wxNativeFontInfo_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
3557static PyObject *_wrap_wxNativeFontInfo_SetFamily(PyObject *self, PyObject *args, PyObject *kwargs) {
3558 PyObject * _resultobj;
3559 wxNativeFontInfo * _arg0;
3560 wxFontFamily _arg1;
3561 PyObject * _argo0 = 0;
3562 char *_kwnames[] = { "self","family", NULL };
3563
3564 self = self;
3565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNativeFontInfo_SetFamily",_kwnames,&_argo0,&_arg1))
3566 return NULL;
3567 if (_argo0) {
3568 if (_argo0 == Py_None) { _arg0 = NULL; }
3569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
3570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo_SetFamily. Expected _wxNativeFontInfo_p.");
3571 return NULL;
3572 }
3573 }
3574{
3575 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3576 wxNativeFontInfo_SetFamily(_arg0,_arg1);
b5a5d647
RD
3577
3578 wxPyEndAllowThreads(__tstate);
3579 if (PyErr_Occurred()) return NULL;
3580} Py_INCREF(Py_None);
3581 _resultobj = Py_None;
3582 return _resultobj;
3583}
3584
3585#define wxNativeFontInfo_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
3586static PyObject *_wrap_wxNativeFontInfo_SetEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
3587 PyObject * _resultobj;
3588 wxNativeFontInfo * _arg0;
3589 wxFontEncoding _arg1;
3590 PyObject * _argo0 = 0;
3591 char *_kwnames[] = { "self","encoding", NULL };
3592
3593 self = self;
3594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNativeFontInfo_SetEncoding",_kwnames,&_argo0,&_arg1))
3595 return NULL;
3596 if (_argo0) {
3597 if (_argo0 == Py_None) { _arg0 = NULL; }
3598 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
3599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo_SetEncoding. Expected _wxNativeFontInfo_p.");
3600 return NULL;
3601 }
3602 }
3603{
3604 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3605 wxNativeFontInfo_SetEncoding(_arg0,_arg1);
b5a5d647
RD
3606
3607 wxPyEndAllowThreads(__tstate);
3608 if (PyErr_Occurred()) return NULL;
3609} Py_INCREF(Py_None);
3610 _resultobj = Py_None;
3611 return _resultobj;
3612}
3613
6d8b4f8d
RD
3614#define wxNativeFontInfo_FromString(_swigobj,_swigarg0) (_swigobj->FromString(_swigarg0))
3615static PyObject *_wrap_wxNativeFontInfo_FromString(PyObject *self, PyObject *args, PyObject *kwargs) {
3616 PyObject * _resultobj;
3617 bool _result;
3618 wxNativeFontInfo * _arg0;
3619 wxString * _arg1;
3620 PyObject * _argo0 = 0;
3621 PyObject * _obj1 = 0;
3622 char *_kwnames[] = { "self","s", NULL };
3623
3624 self = self;
3625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNativeFontInfo_FromString",_kwnames,&_argo0,&_obj1))
3626 return NULL;
3627 if (_argo0) {
3628 if (_argo0 == Py_None) { _arg0 = NULL; }
3629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
3630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo_FromString. Expected _wxNativeFontInfo_p.");
3631 return NULL;
3632 }
3633 }
3634{
c8bc7bb8
RD
3635 _arg1 = wxString_in_helper(_obj1);
3636 if (_arg1 == NULL)
6d8b4f8d 3637 return NULL;
9416aa89 3638}
6d8b4f8d 3639{
4268f798 3640 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3641 _result = (bool )wxNativeFontInfo_FromString(_arg0,*_arg1);
9416aa89 3642
4268f798 3643 wxPyEndAllowThreads(__tstate);
6d8b4f8d
RD
3644 if (PyErr_Occurred()) return NULL;
3645} _resultobj = Py_BuildValue("i",_result);
3646{
3647 if (_obj1)
3648 delete _arg1;
3649}
3650 return _resultobj;
9416aa89
RD
3651}
3652
6d8b4f8d
RD
3653#define wxNativeFontInfo_ToString(_swigobj) (_swigobj->ToString())
3654static PyObject *_wrap_wxNativeFontInfo_ToString(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3655 PyObject * _resultobj;
6d8b4f8d
RD
3656 wxString * _result;
3657 wxNativeFontInfo * _arg0;
3658 PyObject * _argo0 = 0;
3659 char *_kwnames[] = { "self", NULL };
3660
3661 self = self;
3662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNativeFontInfo_ToString",_kwnames,&_argo0))
3663 return NULL;
3664 if (_argo0) {
3665 if (_argo0 == Py_None) { _arg0 = NULL; }
3666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
3667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo_ToString. Expected _wxNativeFontInfo_p.");
3668 return NULL;
3669 }
3670 }
3671{
4268f798 3672 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3673 _result = new wxString (wxNativeFontInfo_ToString(_arg0));
6d8b4f8d 3674
4268f798 3675 wxPyEndAllowThreads(__tstate);
6d8b4f8d
RD
3676 if (PyErr_Occurred()) return NULL;
3677}{
c8bc7bb8
RD
3678#if wxUSE_UNICODE
3679 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
3680#else
6d8b4f8d 3681 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 3682#endif
6d8b4f8d
RD
3683}
3684{
3685 delete _result;
3686}
3687 return _resultobj;
3688}
3689
3690static wxString wxNativeFontInfo___str__(wxNativeFontInfo *self) {
3691 return self->ToString();
3692 }
3693static PyObject *_wrap_wxNativeFontInfo___str__(PyObject *self, PyObject *args, PyObject *kwargs) {
3694 PyObject * _resultobj;
3695 wxString * _result;
3696 wxNativeFontInfo * _arg0;
3697 PyObject * _argo0 = 0;
3698 char *_kwnames[] = { "self", NULL };
3699
3700 self = self;
3701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNativeFontInfo___str__",_kwnames,&_argo0))
3702 return NULL;
3703 if (_argo0) {
3704 if (_argo0 == Py_None) { _arg0 = NULL; }
3705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
3706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo___str__. Expected _wxNativeFontInfo_p.");
3707 return NULL;
3708 }
3709 }
3710{
4268f798 3711 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3712 _result = new wxString (wxNativeFontInfo___str__(_arg0));
6d8b4f8d 3713
4268f798 3714 wxPyEndAllowThreads(__tstate);
6d8b4f8d
RD
3715 if (PyErr_Occurred()) return NULL;
3716}{
c8bc7bb8
RD
3717#if wxUSE_UNICODE
3718 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
3719#else
6d8b4f8d 3720 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 3721#endif
6d8b4f8d
RD
3722}
3723{
3724 delete _result;
3725}
3726 return _resultobj;
3727}
3728
b5a5d647
RD
3729#define wxNativeFontInfo_FromUserString(_swigobj,_swigarg0) (_swigobj->FromUserString(_swigarg0))
3730static PyObject *_wrap_wxNativeFontInfo_FromUserString(PyObject *self, PyObject *args, PyObject *kwargs) {
3731 PyObject * _resultobj;
3732 bool _result;
3733 wxNativeFontInfo * _arg0;
3734 wxString * _arg1;
3735 PyObject * _argo0 = 0;
3736 PyObject * _obj1 = 0;
3737 char *_kwnames[] = { "self","s", NULL };
3738
3739 self = self;
3740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNativeFontInfo_FromUserString",_kwnames,&_argo0,&_obj1))
3741 return NULL;
3742 if (_argo0) {
3743 if (_argo0 == Py_None) { _arg0 = NULL; }
3744 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
3745 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo_FromUserString. Expected _wxNativeFontInfo_p.");
3746 return NULL;
3747 }
3748 }
3749{
c8bc7bb8
RD
3750 _arg1 = wxString_in_helper(_obj1);
3751 if (_arg1 == NULL)
b5a5d647 3752 return NULL;
b5a5d647
RD
3753}
3754{
3755 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3756 _result = (bool )wxNativeFontInfo_FromUserString(_arg0,*_arg1);
b5a5d647
RD
3757
3758 wxPyEndAllowThreads(__tstate);
3759 if (PyErr_Occurred()) return NULL;
3760} _resultobj = Py_BuildValue("i",_result);
3761{
3762 if (_obj1)
3763 delete _arg1;
3764}
3765 return _resultobj;
3766}
3767
3768#define wxNativeFontInfo_ToUserString(_swigobj) (_swigobj->ToUserString())
3769static PyObject *_wrap_wxNativeFontInfo_ToUserString(PyObject *self, PyObject *args, PyObject *kwargs) {
3770 PyObject * _resultobj;
3771 wxString * _result;
3772 wxNativeFontInfo * _arg0;
3773 PyObject * _argo0 = 0;
3774 char *_kwnames[] = { "self", NULL };
3775
3776 self = self;
3777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNativeFontInfo_ToUserString",_kwnames,&_argo0))
3778 return NULL;
3779 if (_argo0) {
3780 if (_argo0 == Py_None) { _arg0 = NULL; }
3781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
3782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo_ToUserString. Expected _wxNativeFontInfo_p.");
3783 return NULL;
3784 }
3785 }
3786{
3787 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3788 _result = new wxString (wxNativeFontInfo_ToUserString(_arg0));
b5a5d647
RD
3789
3790 wxPyEndAllowThreads(__tstate);
3791 if (PyErr_Occurred()) return NULL;
3792}{
c8bc7bb8
RD
3793#if wxUSE_UNICODE
3794 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
3795#else
b5a5d647 3796 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 3797#endif
b5a5d647
RD
3798}
3799{
3800 delete _result;
3801}
3802 return _resultobj;
3803}
3804
6d8b4f8d
RD
3805#define new_wxFontMapper() (new wxFontMapper())
3806static PyObject *_wrap_new_wxFontMapper(PyObject *self, PyObject *args, PyObject *kwargs) {
3807 PyObject * _resultobj;
3808 wxFontMapper * _result;
3809 char *_kwnames[] = { NULL };
8ab979d7
RD
3810 char _ptemp[128];
3811
3812 self = self;
6d8b4f8d 3813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxFontMapper",_kwnames))
8ab979d7 3814 return NULL;
cf694132 3815{
4268f798 3816 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3817 _result = (wxFontMapper *)new_wxFontMapper();
cf694132 3818
4268f798 3819 wxPyEndAllowThreads(__tstate);
493f1553 3820 if (PyErr_Occurred()) return NULL;
1d99702e 3821} if (_result) {
6d8b4f8d 3822 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFontMapper_p");
1d99702e
RD
3823 _resultobj = Py_BuildValue("s",_ptemp);
3824 } else {
3825 Py_INCREF(Py_None);
3826 _resultobj = Py_None;
3827 }
8ab979d7
RD
3828 return _resultobj;
3829}
3830
6d8b4f8d
RD
3831#define delete_wxFontMapper(_swigobj) (delete _swigobj)
3832static PyObject *_wrap_delete_wxFontMapper(PyObject *self, PyObject *args, PyObject *kwargs) {
0569df0f 3833 PyObject * _resultobj;
6d8b4f8d 3834 wxFontMapper * _arg0;
0569df0f
RD
3835 PyObject * _argo0 = 0;
3836 char *_kwnames[] = { "self", NULL };
3837
3838 self = self;
6d8b4f8d 3839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFontMapper",_kwnames,&_argo0))
0569df0f
RD
3840 return NULL;
3841 if (_argo0) {
3842 if (_argo0 == Py_None) { _arg0 = NULL; }
6d8b4f8d
RD
3843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontMapper_p")) {
3844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFontMapper. Expected _wxFontMapper_p.");
0569df0f
RD
3845 return NULL;
3846 }
3847 }
3848{
4268f798 3849 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3850 delete_wxFontMapper(_arg0);
0569df0f 3851
4268f798 3852 wxPyEndAllowThreads(__tstate);
493f1553 3853 if (PyErr_Occurred()) return NULL;
0569df0f
RD
3854} Py_INCREF(Py_None);
3855 _resultobj = Py_None;
3856 return _resultobj;
3857}
3858
6d8b4f8d
RD
3859static PyObject * wxFontMapper_GetAltForEncoding(wxFontMapper *self,wxFontEncoding encoding,const wxString & facename,bool interactive) {
3860 wxFontEncoding alt_enc;
3861 if (self->GetAltForEncoding(encoding, &alt_enc, facename, interactive))
3862 return PyInt_FromLong(alt_enc);
3863 else {
3864 Py_INCREF(Py_None);
3865 return Py_None;
3866 }
3867 }
3868static PyObject *_wrap_wxFontMapper_GetAltForEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
694759cf 3869 PyObject * _resultobj;
6d8b4f8d
RD
3870 PyObject * _result;
3871 wxFontMapper * _arg0;
3872 wxFontEncoding _arg1;
137b5242 3873 wxString * _arg2 = (wxString *) &wxPyEmptyString;
6d8b4f8d 3874 bool _arg3 = (bool ) TRUE;
694759cf 3875 PyObject * _argo0 = 0;
6d8b4f8d
RD
3876 PyObject * _obj2 = 0;
3877 int tempbool3 = (int) TRUE;
3878 char *_kwnames[] = { "self","encoding","facename","interactive", NULL };
694759cf
RD
3879
3880 self = self;
6d8b4f8d 3881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|Oi:wxFontMapper_GetAltForEncoding",_kwnames,&_argo0,&_arg1,&_obj2,&tempbool3))
694759cf
RD
3882 return NULL;
3883 if (_argo0) {
3884 if (_argo0 == Py_None) { _arg0 = NULL; }
6d8b4f8d
RD
3885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontMapper_p")) {
3886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontMapper_GetAltForEncoding. Expected _wxFontMapper_p.");
694759cf
RD
3887 return NULL;
3888 }
3889 }
6d8b4f8d
RD
3890 if (_obj2)
3891{
c8bc7bb8
RD
3892 _arg2 = wxString_in_helper(_obj2);
3893 if (_arg2 == NULL)
6d8b4f8d 3894 return NULL;
6d8b4f8d
RD
3895}
3896 _arg3 = (bool ) tempbool3;
694759cf 3897{
4268f798 3898 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3899 _result = (PyObject *)wxFontMapper_GetAltForEncoding(_arg0,_arg1,*_arg2,_arg3);
694759cf 3900
4268f798 3901 wxPyEndAllowThreads(__tstate);
493f1553 3902 if (PyErr_Occurred()) return NULL;
6d8b4f8d
RD
3903}{
3904 _resultobj = _result;
3905}
3906{
3907 if (_obj2)
3908 delete _arg2;
3909}
694759cf
RD
3910 return _resultobj;
3911}
3912
6d8b4f8d
RD
3913#define wxFontMapper_IsEncodingAvailable(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEncodingAvailable(_swigarg0,_swigarg1))
3914static PyObject *_wrap_wxFontMapper_IsEncodingAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3915 PyObject * _resultobj;
6d8b4f8d
RD
3916 bool _result;
3917 wxFontMapper * _arg0;
3918 wxFontEncoding _arg1;
137b5242 3919 wxString * _arg2 = (wxString *) &wxPyEmptyString;
1d99702e 3920 PyObject * _argo0 = 0;
6d8b4f8d
RD
3921 PyObject * _obj2 = 0;
3922 char *_kwnames[] = { "self","encoding","facename", NULL };
8ab979d7
RD
3923
3924 self = self;
6d8b4f8d 3925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxFontMapper_IsEncodingAvailable",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 3926 return NULL;
1d99702e
RD
3927 if (_argo0) {
3928 if (_argo0 == Py_None) { _arg0 = NULL; }
6d8b4f8d
RD
3929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontMapper_p")) {
3930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontMapper_IsEncodingAvailable. Expected _wxFontMapper_p.");
8ab979d7
RD
3931 return NULL;
3932 }
3933 }
6d8b4f8d
RD
3934 if (_obj2)
3935{
c8bc7bb8
RD
3936 _arg2 = wxString_in_helper(_obj2);
3937 if (_arg2 == NULL)
6d8b4f8d 3938 return NULL;
6d8b4f8d 3939}
8ab979d7 3940{
4268f798 3941 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3942 _result = (bool )wxFontMapper_IsEncodingAvailable(_arg0,_arg1,*_arg2);
cf694132 3943
4268f798 3944 wxPyEndAllowThreads(__tstate);
493f1553 3945 if (PyErr_Occurred()) return NULL;
6d8b4f8d 3946} _resultobj = Py_BuildValue("i",_result);
8ab979d7 3947{
6d8b4f8d
RD
3948 if (_obj2)
3949 delete _arg2;
8ab979d7
RD
3950}
3951 return _resultobj;
3952}
3953
6d8b4f8d
RD
3954#define wxFontMapper_CharsetToEncoding(_swigobj,_swigarg0,_swigarg1) (_swigobj->CharsetToEncoding(_swigarg0,_swigarg1))
3955static PyObject *_wrap_wxFontMapper_CharsetToEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3956 PyObject * _resultobj;
6d8b4f8d
RD
3957 wxFontEncoding _result;
3958 wxFontMapper * _arg0;
3959 wxString * _arg1;
3960 bool _arg2 = (bool ) TRUE;
1d99702e 3961 PyObject * _argo0 = 0;
6d8b4f8d
RD
3962 PyObject * _obj1 = 0;
3963 int tempbool2 = (int) TRUE;
3964 char *_kwnames[] = { "self","charset","interactive", NULL };
8ab979d7
RD
3965
3966 self = self;
6d8b4f8d 3967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxFontMapper_CharsetToEncoding",_kwnames,&_argo0,&_obj1,&tempbool2))
8ab979d7 3968 return NULL;
1d99702e
RD
3969 if (_argo0) {
3970 if (_argo0 == Py_None) { _arg0 = NULL; }
6d8b4f8d
RD
3971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontMapper_p")) {
3972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontMapper_CharsetToEncoding. Expected _wxFontMapper_p.");
3973 return NULL;
3974 }
3975 }
3976{
c8bc7bb8
RD
3977 _arg1 = wxString_in_helper(_obj1);
3978 if (_arg1 == NULL)
6d8b4f8d 3979 return NULL;
6d8b4f8d
RD
3980}
3981 _arg2 = (bool ) tempbool2;
3982{
4268f798 3983 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3984 _result = (wxFontEncoding )wxFontMapper_CharsetToEncoding(_arg0,*_arg1,_arg2);
6d8b4f8d 3985
4268f798 3986 wxPyEndAllowThreads(__tstate);
6d8b4f8d
RD
3987 if (PyErr_Occurred()) return NULL;
3988} _resultobj = Py_BuildValue("i",_result);
3989{
3990 if (_obj1)
3991 delete _arg1;
3992}
3993 return _resultobj;
3994}
3995
3996static PyObject *_wrap_wxFontMapper_GetEncodingName(PyObject *self, PyObject *args, PyObject *kwargs) {
3997 PyObject * _resultobj;
3998 wxString * _result;
3999 wxFontEncoding _arg0;
4000 char *_kwnames[] = { "encoding", NULL };
4001
4002 self = self;
4003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxFontMapper_GetEncodingName",_kwnames,&_arg0))
4004 return NULL;
4005{
4268f798 4006 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4007 _result = new wxString (wxFontMapper::GetEncodingName(_arg0));
6d8b4f8d 4008
4268f798 4009 wxPyEndAllowThreads(__tstate);
6d8b4f8d
RD
4010 if (PyErr_Occurred()) return NULL;
4011}{
c8bc7bb8
RD
4012#if wxUSE_UNICODE
4013 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
4014#else
6d8b4f8d 4015 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 4016#endif
6d8b4f8d
RD
4017}
4018{
4019 delete _result;
4020}
4021 return _resultobj;
4022}
4023
4024static PyObject *_wrap_wxFontMapper_GetEncodingDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
4025 PyObject * _resultobj;
4026 wxString * _result;
4027 wxFontEncoding _arg0;
4028 char *_kwnames[] = { "encoding", NULL };
4029
4030 self = self;
4031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxFontMapper_GetEncodingDescription",_kwnames,&_arg0))
4032 return NULL;
4033{
4268f798 4034 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4035 _result = new wxString (wxFontMapper::GetEncodingDescription(_arg0));
6d8b4f8d 4036
4268f798 4037 wxPyEndAllowThreads(__tstate);
6d8b4f8d
RD
4038 if (PyErr_Occurred()) return NULL;
4039}{
c8bc7bb8
RD
4040#if wxUSE_UNICODE
4041 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
4042#else
6d8b4f8d 4043 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 4044#endif
6d8b4f8d
RD
4045}
4046{
4047 delete _result;
4048}
4049 return _resultobj;
4050}
4051
4052#define wxFontMapper_SetDialogParent(_swigobj,_swigarg0) (_swigobj->SetDialogParent(_swigarg0))
4053static PyObject *_wrap_wxFontMapper_SetDialogParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4054 PyObject * _resultobj;
4055 wxFontMapper * _arg0;
4056 wxWindow * _arg1;
4057 PyObject * _argo0 = 0;
4058 PyObject * _argo1 = 0;
4059 char *_kwnames[] = { "self","parent", NULL };
4060
4061 self = self;
4062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontMapper_SetDialogParent",_kwnames,&_argo0,&_argo1))
4063 return NULL;
4064 if (_argo0) {
4065 if (_argo0 == Py_None) { _arg0 = NULL; }
4066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontMapper_p")) {
4067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontMapper_SetDialogParent. Expected _wxFontMapper_p.");
4068 return NULL;
4069 }
4070 }
4071 if (_argo1) {
4072 if (_argo1 == Py_None) { _arg1 = NULL; }
4073 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4074 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontMapper_SetDialogParent. Expected _wxWindow_p.");
4075 return NULL;
4076 }
4077 }
4078{
4268f798 4079 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4080 wxFontMapper_SetDialogParent(_arg0,_arg1);
6d8b4f8d 4081
4268f798 4082 wxPyEndAllowThreads(__tstate);
6d8b4f8d
RD
4083 if (PyErr_Occurred()) return NULL;
4084} Py_INCREF(Py_None);
4085 _resultobj = Py_None;
4086 return _resultobj;
4087}
4088
4089#define wxFontMapper_SetDialogTitle(_swigobj,_swigarg0) (_swigobj->SetDialogTitle(_swigarg0))
4090static PyObject *_wrap_wxFontMapper_SetDialogTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
4091 PyObject * _resultobj;
4092 wxFontMapper * _arg0;
4093 wxString * _arg1;
4094 PyObject * _argo0 = 0;
4095 PyObject * _obj1 = 0;
4096 char *_kwnames[] = { "self","title", NULL };
4097
4098 self = self;
4099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontMapper_SetDialogTitle",_kwnames,&_argo0,&_obj1))
4100 return NULL;
4101 if (_argo0) {
4102 if (_argo0 == Py_None) { _arg0 = NULL; }
4103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontMapper_p")) {
4104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontMapper_SetDialogTitle. Expected _wxFontMapper_p.");
4105 return NULL;
4106 }
4107 }
4108{
c8bc7bb8
RD
4109 _arg1 = wxString_in_helper(_obj1);
4110 if (_arg1 == NULL)
6d8b4f8d 4111 return NULL;
6d8b4f8d
RD
4112}
4113{
4268f798 4114 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4115 wxFontMapper_SetDialogTitle(_arg0,*_arg1);
6d8b4f8d 4116
4268f798 4117 wxPyEndAllowThreads(__tstate);
6d8b4f8d
RD
4118 if (PyErr_Occurred()) return NULL;
4119} Py_INCREF(Py_None);
4120 _resultobj = Py_None;
4121{
4122 if (_obj1)
4123 delete _arg1;
4124}
4125 return _resultobj;
4126}
4127
4128#define wxFontMapper_SetConfig(_swigobj,_swigarg0) (_swigobj->SetConfig(_swigarg0))
4129static PyObject *_wrap_wxFontMapper_SetConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
4130 PyObject * _resultobj;
4131 wxFontMapper * _arg0;
4132 wxConfigBase * _arg1;
4133 PyObject * _argo0 = 0;
4134 PyObject * _argo1 = 0;
4135 char *_kwnames[] = { "self","config", NULL };
4136
4137 self = self;
4138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontMapper_SetConfig",_kwnames,&_argo0,&_argo1))
4139 return NULL;
4140 if (_argo0) {
4141 if (_argo0 == Py_None) { _arg0 = NULL; }
4142 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontMapper_p")) {
4143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontMapper_SetConfig. Expected _wxFontMapper_p.");
4144 return NULL;
4145 }
4146 }
4147 if (_argo1) {
4148 if (_argo1 == Py_None) { _arg1 = NULL; }
4149 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
4150 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontMapper_SetConfig. Expected _wxConfigBase_p.");
4151 return NULL;
4152 }
4153 }
4154{
4268f798 4155 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4156 wxFontMapper_SetConfig(_arg0,_arg1);
6d8b4f8d 4157
4268f798 4158 wxPyEndAllowThreads(__tstate);
6d8b4f8d
RD
4159 if (PyErr_Occurred()) return NULL;
4160} Py_INCREF(Py_None);
4161 _resultobj = Py_None;
4162 return _resultobj;
4163}
4164
4165#define wxFontMapper_SetConfigPath(_swigobj,_swigarg0) (_swigobj->SetConfigPath(_swigarg0))
4166static PyObject *_wrap_wxFontMapper_SetConfigPath(PyObject *self, PyObject *args, PyObject *kwargs) {
4167 PyObject * _resultobj;
4168 wxFontMapper * _arg0;
4169 wxString * _arg1;
4170 PyObject * _argo0 = 0;
4171 PyObject * _obj1 = 0;
4172 char *_kwnames[] = { "self","prefix", NULL };
4173
4174 self = self;
4175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontMapper_SetConfigPath",_kwnames,&_argo0,&_obj1))
4176 return NULL;
4177 if (_argo0) {
4178 if (_argo0 == Py_None) { _arg0 = NULL; }
4179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontMapper_p")) {
4180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontMapper_SetConfigPath. Expected _wxFontMapper_p.");
4181 return NULL;
4182 }
4183 }
4184{
c8bc7bb8
RD
4185 _arg1 = wxString_in_helper(_obj1);
4186 if (_arg1 == NULL)
6d8b4f8d 4187 return NULL;
6d8b4f8d
RD
4188}
4189{
4268f798 4190 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4191 wxFontMapper_SetConfigPath(_arg0,*_arg1);
6d8b4f8d 4192
4268f798 4193 wxPyEndAllowThreads(__tstate);
6d8b4f8d
RD
4194 if (PyErr_Occurred()) return NULL;
4195} Py_INCREF(Py_None);
4196 _resultobj = Py_None;
4197{
4198 if (_obj1)
4199 delete _arg1;
4200}
4201 return _resultobj;
4202}
4203
4204static PyObject *_wrap_wxFontMapper_GetDefaultConfigPath(PyObject *self, PyObject *args, PyObject *kwargs) {
4205 PyObject * _resultobj;
137b5242 4206 wxString * _result;
6d8b4f8d
RD
4207 char *_kwnames[] = { NULL };
4208
4209 self = self;
4210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxFontMapper_GetDefaultConfigPath",_kwnames))
4211 return NULL;
4212{
4268f798 4213 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 4214 _result = new wxString (wxFontMapper::GetDefaultConfigPath());
6d8b4f8d 4215
4268f798 4216 wxPyEndAllowThreads(__tstate);
6d8b4f8d 4217 if (PyErr_Occurred()) return NULL;
137b5242
RD
4218}{
4219#if wxUSE_UNICODE
4220 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
4221#else
4222 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4223#endif
4224}
4225{
4226 delete _result;
4227}
6d8b4f8d
RD
4228 return _resultobj;
4229}
4230
4231static void *SwigwxFontTowxGDIObject(void *ptr) {
4232 wxFont *src;
4233 wxGDIObject *dest;
4234 src = (wxFont *) ptr;
4235 dest = (wxGDIObject *) src;
4236 return (void *) dest;
4237}
4238
4239static void *SwigwxFontTowxObject(void *ptr) {
4240 wxFont *src;
4241 wxObject *dest;
4242 src = (wxFont *) ptr;
4243 dest = (wxObject *) src;
4244 return (void *) dest;
4245}
4246
4247#define new_wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4248static PyObject *_wrap_new_wxFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4249 PyObject * _resultobj;
4250 wxFont * _result;
4251 int _arg0;
4252 int _arg1;
4253 int _arg2;
4254 int _arg3;
4255 int _arg4 = (int ) FALSE;
137b5242 4256 wxString * _arg5 = (wxString *) &wxPyEmptyString;
6d8b4f8d 4257 wxFontEncoding _arg6 = (wxFontEncoding ) (wxFONTENCODING_DEFAULT);
137b5242 4258 PyObject * _obj5 = 0;
6d8b4f8d
RD
4259 char *_kwnames[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL };
4260 char _ptemp[128];
4261
4262 self = self;
137b5242
RD
4263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiii|iOi:new_wxFont",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_obj5,&_arg6))
4264 return NULL;
4265 if (_obj5)
4266{
4267 _arg5 = wxString_in_helper(_obj5);
4268 if (_arg5 == NULL)
6d8b4f8d 4269 return NULL;
137b5242 4270}
6d8b4f8d 4271{
4268f798 4272 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 4273 _result = (wxFont *)new_wxFont(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5,_arg6);
6d8b4f8d 4274
4268f798 4275 wxPyEndAllowThreads(__tstate);
6d8b4f8d
RD
4276 if (PyErr_Occurred()) return NULL;
4277} if (_result) {
4278 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
4279 _resultobj = Py_BuildValue("s",_ptemp);
4280 } else {
4281 Py_INCREF(Py_None);
4282 _resultobj = Py_None;
4283 }
137b5242
RD
4284{
4285 if (_obj5)
4286 delete _arg5;
4287}
6d8b4f8d
RD
4288 return _resultobj;
4289}
4290
4291#define new_wxFontFromNativeInfo(_swigarg0) (new wxFont(_swigarg0))
4292static PyObject *_wrap_new_wxFontFromNativeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4293 PyObject * _resultobj;
4294 wxFont * _result;
4295 wxNativeFontInfo * _arg0;
4296 PyObject * _argo0 = 0;
4297 char *_kwnames[] = { "info", NULL };
4298 char _ptemp[128];
4299
4300 self = self;
4301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxFontFromNativeInfo",_kwnames,&_argo0))
4302 return NULL;
4303 if (_argo0) {
4304 if (_argo0 == Py_None) { _arg0 = NULL; }
4305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
4306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFontFromNativeInfo. Expected _wxNativeFontInfo_p.");
4307 return NULL;
4308 }
4309 }
4310{
4268f798 4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4312 _result = (wxFont *)new_wxFontFromNativeInfo(*_arg0);
6d8b4f8d 4313
4268f798 4314 wxPyEndAllowThreads(__tstate);
6d8b4f8d
RD
4315 if (PyErr_Occurred()) return NULL;
4316} if (_result) {
4317 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
4318 _resultobj = Py_BuildValue("s",_ptemp);
4319 } else {
4320 Py_INCREF(Py_None);
4321 _resultobj = Py_None;
4322 }
4323 return _resultobj;
4324}
4325
4326#define delete_wxFont(_swigobj) (delete _swigobj)
4327static PyObject *_wrap_delete_wxFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4328 PyObject * _resultobj;
4329 wxFont * _arg0;
4330 PyObject * _argo0 = 0;
4331 char *_kwnames[] = { "self", NULL };
4332
4333 self = self;
4334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFont",_kwnames,&_argo0))
4335 return NULL;
4336 if (_argo0) {
4337 if (_argo0 == Py_None) { _arg0 = NULL; }
4338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
4339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFont. Expected _wxFont_p.");
4340 return NULL;
4341 }
4342 }
4343{
4268f798 4344 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4345 delete_wxFont(_arg0);
6d8b4f8d 4346
4268f798 4347 wxPyEndAllowThreads(__tstate);
6d8b4f8d
RD
4348 if (PyErr_Occurred()) return NULL;
4349} Py_INCREF(Py_None);
4350 _resultobj = Py_None;
4351 return _resultobj;
4352}
4353
4354#define wxFont_Ok(_swigobj) (_swigobj->Ok())
4355static PyObject *_wrap_wxFont_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
4356 PyObject * _resultobj;
4357 bool _result;
4358 wxFont * _arg0;
4359 PyObject * _argo0 = 0;
4360 char *_kwnames[] = { "self", NULL };
4361
4362 self = self;
4363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_Ok",_kwnames,&_argo0))
4364 return NULL;
4365 if (_argo0) {
4366 if (_argo0 == Py_None) { _arg0 = NULL; }
4367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
4368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
4369 return NULL;
4370 }
4371 }
4372{
4268f798 4373 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4374 _result = (bool )wxFont_Ok(_arg0);
6d8b4f8d 4375
4268f798 4376 wxPyEndAllowThreads(__tstate);
6d8b4f8d
RD
4377 if (PyErr_Occurred()) return NULL;
4378} _resultobj = Py_BuildValue("i",_result);
4379 return _resultobj;
4380}
4381
4382#define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
4383static PyObject *_wrap_wxFont_GetPointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4384 PyObject * _resultobj;
4385 int _result;
4386 wxFont * _arg0;
4387 PyObject * _argo0 = 0;
4388 char *_kwnames[] = { "self", NULL };
4389
4390 self = self;
4391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetPointSize",_kwnames,&_argo0))
4392 return NULL;
4393 if (_argo0) {
4394 if (_argo0 == Py_None) { _arg0 = NULL; }
4395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
4396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
8ab979d7
RD
4397 return NULL;
4398 }
4399 }
cf694132 4400{
4268f798 4401 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4402 _result = (int )wxFont_GetPointSize(_arg0);
cf694132 4403
4268f798 4404 wxPyEndAllowThreads(__tstate);
493f1553 4405 if (PyErr_Occurred()) return NULL;
cf694132 4406} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4407 return _resultobj;
4408}
4409
6d8b4f8d
RD
4410#define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
4411static PyObject *_wrap_wxFont_GetFamily(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4412 PyObject * _resultobj;
4413 int _result;
4414 wxFont * _arg0;
1d99702e 4415 PyObject * _argo0 = 0;
1afc06c2 4416 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4417
4418 self = self;
6d8b4f8d 4419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetFamily",_kwnames,&_argo0))
8ab979d7 4420 return NULL;
1d99702e
RD
4421 if (_argo0) {
4422 if (_argo0 == Py_None) { _arg0 = NULL; }
4423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
6d8b4f8d 4424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
8ab979d7
RD
4425 return NULL;
4426 }
4427 }
cf694132 4428{
4268f798 4429 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4430 _result = (int )wxFont_GetFamily(_arg0);
cf694132 4431
4268f798 4432 wxPyEndAllowThreads(__tstate);
493f1553 4433 if (PyErr_Occurred()) return NULL;
cf694132 4434} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4435 return _resultobj;
4436}
4437
6d8b4f8d
RD
4438#define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
4439static PyObject *_wrap_wxFont_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4440 PyObject * _resultobj;
4441 int _result;
4442 wxFont * _arg0;
1d99702e 4443 PyObject * _argo0 = 0;
1afc06c2 4444 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4445
4446 self = self;
6d8b4f8d 4447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetStyle",_kwnames,&_argo0))
8ab979d7 4448 return NULL;
1d99702e
RD
4449 if (_argo0) {
4450 if (_argo0 == Py_None) { _arg0 = NULL; }
4451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
6d8b4f8d 4452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
8ab979d7
RD
4453 return NULL;
4454 }
4455 }
cf694132 4456{
4268f798 4457 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4458 _result = (int )wxFont_GetStyle(_arg0);
cf694132 4459
4268f798 4460 wxPyEndAllowThreads(__tstate);
493f1553 4461 if (PyErr_Occurred()) return NULL;
cf694132 4462} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4463 return _resultobj;
4464}
4465
6d8b4f8d
RD
4466#define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
4467static PyObject *_wrap_wxFont_GetWeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4468 PyObject * _resultobj;
4469 int _result;
4470 wxFont * _arg0;
1d99702e 4471 PyObject * _argo0 = 0;
1afc06c2 4472 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4473
4474 self = self;
6d8b4f8d 4475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetWeight",_kwnames,&_argo0))
8ab979d7 4476 return NULL;
1d99702e
RD
4477 if (_argo0) {
4478 if (_argo0 == Py_None) { _arg0 = NULL; }
4479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
6d8b4f8d 4480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
8ab979d7
RD
4481 return NULL;
4482 }
4483 }
cf694132 4484{
4268f798 4485 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4486 _result = (int )wxFont_GetWeight(_arg0);
cf694132 4487
4268f798 4488 wxPyEndAllowThreads(__tstate);
493f1553 4489 if (PyErr_Occurred()) return NULL;
cf694132 4490} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4491 return _resultobj;
4492}
4493
4494#define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
1afc06c2 4495static PyObject *_wrap_wxFont_GetUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4496 PyObject * _resultobj;
4497 bool _result;
4498 wxFont * _arg0;
1d99702e 4499 PyObject * _argo0 = 0;
1afc06c2 4500 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4501
4502 self = self;
1afc06c2 4503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetUnderlined",_kwnames,&_argo0))
8ab979d7 4504 return NULL;
1d99702e
RD
4505 if (_argo0) {
4506 if (_argo0 == Py_None) { _arg0 = NULL; }
4507 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
8ab979d7
RD
4508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
4509 return NULL;
4510 }
4511 }
cf694132 4512{
4268f798 4513 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4514 _result = (bool )wxFont_GetUnderlined(_arg0);
cf694132 4515
4268f798 4516 wxPyEndAllowThreads(__tstate);
493f1553 4517 if (PyErr_Occurred()) return NULL;
cf694132 4518} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4519 return _resultobj;
4520}
4521
6d8b4f8d
RD
4522#define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
4523static PyObject *_wrap_wxFont_GetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4524 PyObject * _resultobj;
6d8b4f8d 4525 wxString * _result;
8ab979d7 4526 wxFont * _arg0;
1d99702e 4527 PyObject * _argo0 = 0;
1afc06c2 4528 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4529
4530 self = self;
6d8b4f8d 4531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetFaceName",_kwnames,&_argo0))
8ab979d7 4532 return NULL;
1d99702e
RD
4533 if (_argo0) {
4534 if (_argo0 == Py_None) { _arg0 = NULL; }
4535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
6d8b4f8d 4536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
8ab979d7
RD
4537 return NULL;
4538 }
4539 }
cf694132 4540{
4268f798 4541 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4542 _result = new wxString (wxFont_GetFaceName(_arg0));
cf694132 4543
4268f798 4544 wxPyEndAllowThreads(__tstate);
493f1553 4545 if (PyErr_Occurred()) return NULL;
6d8b4f8d 4546}{
c8bc7bb8
RD
4547#if wxUSE_UNICODE
4548 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
4549#else
6d8b4f8d 4550 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 4551#endif
6d8b4f8d
RD
4552}
4553{
4554 delete _result;
4555}
8ab979d7
RD
4556 return _resultobj;
4557}
4558
f0261a72
RD
4559#define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
4560static PyObject *_wrap_wxFont_GetEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
4561 PyObject * _resultobj;
4562 wxFontEncoding _result;
4563 wxFont * _arg0;
4564 PyObject * _argo0 = 0;
4565 char *_kwnames[] = { "self", NULL };
4566
4567 self = self;
4568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetEncoding",_kwnames,&_argo0))
4569 return NULL;
4570 if (_argo0) {
4571 if (_argo0 == Py_None) { _arg0 = NULL; }
4572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
4573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
4574 return NULL;
4575 }
4576 }
4577{
4268f798 4578 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4579 _result = (wxFontEncoding )wxFont_GetEncoding(_arg0);
f0261a72 4580
4268f798 4581 wxPyEndAllowThreads(__tstate);
493f1553 4582 if (PyErr_Occurred()) return NULL;
f0261a72
RD
4583} _resultobj = Py_BuildValue("i",_result);
4584 return _resultobj;
4585}
4586
68320e40
RD
4587#define wxFont_IsFixedWidth(_swigobj) (_swigobj->IsFixedWidth())
4588static PyObject *_wrap_wxFont_IsFixedWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4589 PyObject * _resultobj;
4590 bool _result;
4591 wxFont * _arg0;
4592 PyObject * _argo0 = 0;
4593 char *_kwnames[] = { "self", NULL };
4594
4595 self = self;
4596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_IsFixedWidth",_kwnames,&_argo0))
4597 return NULL;
4598 if (_argo0) {
4599 if (_argo0 == Py_None) { _arg0 = NULL; }
4600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
4601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_IsFixedWidth. Expected _wxFont_p.");
4602 return NULL;
4603 }
4604 }
4605{
4606 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4607 _result = (bool )wxFont_IsFixedWidth(_arg0);
68320e40
RD
4608
4609 wxPyEndAllowThreads(__tstate);
4610 if (PyErr_Occurred()) return NULL;
4611} _resultobj = Py_BuildValue("i",_result);
4612 return _resultobj;
4613}
4614
6d8b4f8d
RD
4615#define wxFont_GetNativeFontInfo(_swigobj) (_swigobj->GetNativeFontInfo())
4616static PyObject *_wrap_wxFont_GetNativeFontInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4617 PyObject * _resultobj;
6d8b4f8d 4618 wxNativeFontInfo * _result;
8ab979d7 4619 wxFont * _arg0;
1d99702e 4620 PyObject * _argo0 = 0;
6d8b4f8d
RD
4621 char *_kwnames[] = { "self", NULL };
4622 char _ptemp[128];
8ab979d7
RD
4623
4624 self = self;
6d8b4f8d 4625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetNativeFontInfo",_kwnames,&_argo0))
8ab979d7 4626 return NULL;
1d99702e
RD
4627 if (_argo0) {
4628 if (_argo0 == Py_None) { _arg0 = NULL; }
4629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
6d8b4f8d 4630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetNativeFontInfo. Expected _wxFont_p.");
8ab979d7
RD
4631 return NULL;
4632 }
4633 }
4634{
4268f798 4635 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4636 _result = (wxNativeFontInfo *)wxFont_GetNativeFontInfo(_arg0);
6d8b4f8d 4637
4268f798 4638 wxPyEndAllowThreads(__tstate);
6d8b4f8d
RD
4639 if (PyErr_Occurred()) return NULL;
4640} if (_result) {
4641 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNativeFontInfo_p");
4642 _resultobj = Py_BuildValue("s",_ptemp);
4643 } else {
4644 Py_INCREF(Py_None);
4645 _resultobj = Py_None;
185d7c3e 4646 }
6d8b4f8d
RD
4647 return _resultobj;
4648}
4649
b5a5d647
RD
4650#define wxFont_GetNativeFontInfoDesc(_swigobj) (_swigobj->GetNativeFontInfoDesc())
4651static PyObject *_wrap_wxFont_GetNativeFontInfoDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
4652 PyObject * _resultobj;
4653 wxString * _result;
4654 wxFont * _arg0;
4655 PyObject * _argo0 = 0;
4656 char *_kwnames[] = { "self", NULL };
4657
4658 self = self;
4659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetNativeFontInfoDesc",_kwnames,&_argo0))
4660 return NULL;
4661 if (_argo0) {
4662 if (_argo0 == Py_None) { _arg0 = NULL; }
4663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
4664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetNativeFontInfoDesc. Expected _wxFont_p.");
4665 return NULL;
4666 }
4667 }
4668{
4669 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4670 _result = new wxString (wxFont_GetNativeFontInfoDesc(_arg0));
b5a5d647
RD
4671
4672 wxPyEndAllowThreads(__tstate);
4673 if (PyErr_Occurred()) return NULL;
4674}{
c8bc7bb8
RD
4675#if wxUSE_UNICODE
4676 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
4677#else
b5a5d647 4678 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 4679#endif
b5a5d647
RD
4680}
4681{
4682 delete _result;
4683}
4684 return _resultobj;
4685}
4686
4687#define wxFont_GetNativeFontInfoUserDesc(_swigobj) (_swigobj->GetNativeFontInfoUserDesc())
4688static PyObject *_wrap_wxFont_GetNativeFontInfoUserDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
4689 PyObject * _resultobj;
4690 wxString * _result;
4691 wxFont * _arg0;
4692 PyObject * _argo0 = 0;
4693 char *_kwnames[] = { "self", NULL };
4694
4695 self = self;
4696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetNativeFontInfoUserDesc",_kwnames,&_argo0))
4697 return NULL;
4698 if (_argo0) {
4699 if (_argo0 == Py_None) { _arg0 = NULL; }
4700 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
4701 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetNativeFontInfoUserDesc. Expected _wxFont_p.");
4702 return NULL;
4703 }
4704 }
4705{
4706 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4707 _result = new wxString (wxFont_GetNativeFontInfoUserDesc(_arg0));
b5a5d647
RD
4708
4709 wxPyEndAllowThreads(__tstate);
4710 if (PyErr_Occurred()) return NULL;
4711}{
c8bc7bb8
RD
4712#if wxUSE_UNICODE
4713 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
4714#else
b5a5d647 4715 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 4716#endif
b5a5d647
RD
4717}
4718{
4719 delete _result;
4720}
4721 return _resultobj;
4722}
4723
6d8b4f8d
RD
4724#define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
4725static PyObject *_wrap_wxFont_SetPointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4726 PyObject * _resultobj;
4727 wxFont * _arg0;
4728 int _arg1;
4729 PyObject * _argo0 = 0;
4730 char *_kwnames[] = { "self","pointSize", NULL };
4731
4732 self = self;
4733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFont_SetPointSize",_kwnames,&_argo0,&_arg1))
185d7c3e 4734 return NULL;
6d8b4f8d
RD
4735 if (_argo0) {
4736 if (_argo0 == Py_None) { _arg0 = NULL; }
4737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
4738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
8ab979d7 4739 return NULL;
6d8b4f8d 4740 }
8ab979d7 4741 }
cf694132 4742{
4268f798 4743 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4744 wxFont_SetPointSize(_arg0,_arg1);
cf694132 4745
4268f798 4746 wxPyEndAllowThreads(__tstate);
493f1553 4747 if (PyErr_Occurred()) return NULL;
cf694132 4748} Py_INCREF(Py_None);
8ab979d7 4749 _resultobj = Py_None;
8ab979d7
RD
4750 return _resultobj;
4751}
4752
4753#define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
1afc06c2 4754static PyObject *_wrap_wxFont_SetFamily(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4755 PyObject * _resultobj;
4756 wxFont * _arg0;
4757 int _arg1;
1d99702e 4758 PyObject * _argo0 = 0;
1afc06c2 4759 char *_kwnames[] = { "self","family", NULL };
8ab979d7
RD
4760
4761 self = self;
1afc06c2 4762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFont_SetFamily",_kwnames,&_argo0,&_arg1))
8ab979d7 4763 return NULL;
1d99702e
RD
4764 if (_argo0) {
4765 if (_argo0 == Py_None) { _arg0 = NULL; }
4766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
8ab979d7
RD
4767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
4768 return NULL;
4769 }
4770 }
cf694132 4771{
4268f798 4772 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4773 wxFont_SetFamily(_arg0,_arg1);
cf694132 4774
4268f798 4775 wxPyEndAllowThreads(__tstate);
493f1553 4776 if (PyErr_Occurred()) return NULL;
cf694132 4777} Py_INCREF(Py_None);
8ab979d7
RD
4778 _resultobj = Py_None;
4779 return _resultobj;
4780}
4781
6d8b4f8d
RD
4782#define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4783static PyObject *_wrap_wxFont_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4784 PyObject * _resultobj;
4785 wxFont * _arg0;
4786 int _arg1;
1d99702e 4787 PyObject * _argo0 = 0;
6d8b4f8d 4788 char *_kwnames[] = { "self","style", NULL };
8ab979d7
RD
4789
4790 self = self;
6d8b4f8d 4791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFont_SetStyle",_kwnames,&_argo0,&_arg1))
8ab979d7 4792 return NULL;
1d99702e
RD
4793 if (_argo0) {
4794 if (_argo0 == Py_None) { _arg0 = NULL; }
4795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
6d8b4f8d 4796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
8ab979d7
RD
4797 return NULL;
4798 }
4799 }
cf694132 4800{
4268f798 4801 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4802 wxFont_SetStyle(_arg0,_arg1);
cf694132 4803
4268f798 4804 wxPyEndAllowThreads(__tstate);
493f1553 4805 if (PyErr_Occurred()) return NULL;
cf694132 4806} Py_INCREF(Py_None);
8ab979d7
RD
4807 _resultobj = Py_None;
4808 return _resultobj;
4809}
4810
6d8b4f8d
RD
4811#define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
4812static PyObject *_wrap_wxFont_SetWeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4813 PyObject * _resultobj;
4814 wxFont * _arg0;
4815 int _arg1;
1d99702e 4816 PyObject * _argo0 = 0;
6d8b4f8d 4817 char *_kwnames[] = { "self","weight", NULL };
8ab979d7
RD
4818
4819 self = self;
6d8b4f8d 4820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFont_SetWeight",_kwnames,&_argo0,&_arg1))
8ab979d7 4821 return NULL;
1d99702e
RD
4822 if (_argo0) {
4823 if (_argo0 == Py_None) { _arg0 = NULL; }
4824 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
6d8b4f8d 4825 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
8ab979d7
RD
4826 return NULL;
4827 }
4828 }
cf694132 4829{
4268f798 4830 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4831 wxFont_SetWeight(_arg0,_arg1);
6d8b4f8d 4832
4268f798 4833 wxPyEndAllowThreads(__tstate);
6d8b4f8d
RD
4834 if (PyErr_Occurred()) return NULL;
4835} Py_INCREF(Py_None);
4836 _resultobj = Py_None;
4837 return _resultobj;
4838}
4839
4840#define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
4841static PyObject *_wrap_wxFont_SetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
4842 PyObject * _resultobj;
4843 wxFont * _arg0;
4844 wxString * _arg1;
4845 PyObject * _argo0 = 0;
4846 PyObject * _obj1 = 0;
4847 char *_kwnames[] = { "self","faceName", NULL };
4848
4849 self = self;
4850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFont_SetFaceName",_kwnames,&_argo0,&_obj1))
4851 return NULL;
4852 if (_argo0) {
4853 if (_argo0 == Py_None) { _arg0 = NULL; }
4854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
4855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
4856 return NULL;
4857 }
4858 }
4859{
c8bc7bb8
RD
4860 _arg1 = wxString_in_helper(_obj1);
4861 if (_arg1 == NULL)
6d8b4f8d 4862 return NULL;
6d8b4f8d
RD
4863}
4864{
4268f798 4865 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4866 wxFont_SetFaceName(_arg0,*_arg1);
cf694132 4867
4268f798 4868 wxPyEndAllowThreads(__tstate);
493f1553 4869 if (PyErr_Occurred()) return NULL;
cf694132 4870} Py_INCREF(Py_None);
8ab979d7 4871 _resultobj = Py_None;
6d8b4f8d
RD
4872{
4873 if (_obj1)
4874 delete _arg1;
4875}
8ab979d7
RD
4876 return _resultobj;
4877}
4878
4879#define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
1afc06c2 4880static PyObject *_wrap_wxFont_SetUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4881 PyObject * _resultobj;
4882 wxFont * _arg0;
4883 bool _arg1;
1d99702e 4884 PyObject * _argo0 = 0;
8ab979d7 4885 int tempbool1;
1afc06c2 4886 char *_kwnames[] = { "self","underlined", NULL };
8ab979d7
RD
4887
4888 self = self;
1afc06c2 4889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFont_SetUnderlined",_kwnames,&_argo0,&tempbool1))
8ab979d7 4890 return NULL;
1d99702e
RD
4891 if (_argo0) {
4892 if (_argo0 == Py_None) { _arg0 = NULL; }
4893 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
8ab979d7
RD
4894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
4895 return NULL;
4896 }
4897 }
4898 _arg1 = (bool ) tempbool1;
cf694132 4899{
4268f798 4900 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4901 wxFont_SetUnderlined(_arg0,_arg1);
cf694132 4902
4268f798 4903 wxPyEndAllowThreads(__tstate);
493f1553 4904 if (PyErr_Occurred()) return NULL;
cf694132 4905} Py_INCREF(Py_None);
8ab979d7
RD
4906 _resultobj = Py_None;
4907 return _resultobj;
4908}
4909
6d8b4f8d
RD
4910#define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
4911static PyObject *_wrap_wxFont_SetEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4912 PyObject * _resultobj;
4913 wxFont * _arg0;
6d8b4f8d 4914 wxFontEncoding _arg1;
1d99702e 4915 PyObject * _argo0 = 0;
6d8b4f8d 4916 char *_kwnames[] = { "self","encoding", NULL };
8ab979d7
RD
4917
4918 self = self;
6d8b4f8d 4919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFont_SetEncoding",_kwnames,&_argo0,&_arg1))
8ab979d7 4920 return NULL;
1d99702e
RD
4921 if (_argo0) {
4922 if (_argo0 == Py_None) { _arg0 = NULL; }
4923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
6d8b4f8d 4924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
8ab979d7
RD
4925 return NULL;
4926 }
4927 }
cf694132 4928{
4268f798 4929 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4930 wxFont_SetEncoding(_arg0,_arg1);
cf694132 4931
4268f798 4932 wxPyEndAllowThreads(__tstate);
493f1553 4933 if (PyErr_Occurred()) return NULL;
cf694132 4934} Py_INCREF(Py_None);
8ab979d7
RD
4935 _resultobj = Py_None;
4936 return _resultobj;
4937}
4938
6d8b4f8d
RD
4939#define wxFont_SetNativeFontInfo(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfo(_swigarg0))
4940static PyObject *_wrap_wxFont_SetNativeFontInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
f0261a72
RD
4941 PyObject * _resultobj;
4942 wxFont * _arg0;
6d8b4f8d 4943 wxNativeFontInfo * _arg1;
f0261a72 4944 PyObject * _argo0 = 0;
6d8b4f8d
RD
4945 PyObject * _argo1 = 0;
4946 char *_kwnames[] = { "self","info", NULL };
f0261a72
RD
4947
4948 self = self;
6d8b4f8d 4949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFont_SetNativeFontInfo",_kwnames,&_argo0,&_argo1))
f0261a72
RD
4950 return NULL;
4951 if (_argo0) {
4952 if (_argo0 == Py_None) { _arg0 = NULL; }
4953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
6d8b4f8d
RD
4954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetNativeFontInfo. Expected _wxFont_p.");
4955 return NULL;
4956 }
4957 }
4958 if (_argo1) {
4959 if (_argo1 == Py_None) { _arg1 = NULL; }
4960 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxNativeFontInfo_p")) {
4961 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFont_SetNativeFontInfo. Expected _wxNativeFontInfo_p.");
f0261a72
RD
4962 return NULL;
4963 }
4964 }
4965{
4268f798 4966 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4967 wxFont_SetNativeFontInfo(_arg0,*_arg1);
f0261a72 4968
4268f798 4969 wxPyEndAllowThreads(__tstate);
493f1553 4970 if (PyErr_Occurred()) return NULL;
f0261a72
RD
4971} Py_INCREF(Py_None);
4972 _resultobj = Py_None;
4973 return _resultobj;
4974}
4975
b5a5d647
RD
4976#define wxFont_SetNativeFontInfoUserDesc(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfoUserDesc(_swigarg0))
4977static PyObject *_wrap_wxFont_SetNativeFontInfoUserDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
4978 PyObject * _resultobj;
4979 wxFont * _arg0;
4980 wxString * _arg1;
4981 PyObject * _argo0 = 0;
4982 PyObject * _obj1 = 0;
4983 char *_kwnames[] = { "self","info", NULL };
4984
4985 self = self;
4986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFont_SetNativeFontInfoUserDesc",_kwnames,&_argo0,&_obj1))
4987 return NULL;
4988 if (_argo0) {
4989 if (_argo0 == Py_None) { _arg0 = NULL; }
4990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
4991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetNativeFontInfoUserDesc. Expected _wxFont_p.");
4992 return NULL;
4993 }
4994 }
4995{
c8bc7bb8
RD
4996 _arg1 = wxString_in_helper(_obj1);
4997 if (_arg1 == NULL)
b5a5d647 4998 return NULL;
b5a5d647
RD
4999}
5000{
5001 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5002 wxFont_SetNativeFontInfoUserDesc(_arg0,*_arg1);
b5a5d647
RD
5003
5004 wxPyEndAllowThreads(__tstate);
5005 if (PyErr_Occurred()) return NULL;
5006} Py_INCREF(Py_None);
5007 _resultobj = Py_None;
5008{
5009 if (_obj1)
5010 delete _arg1;
5011}
5012 return _resultobj;
5013}
5014
f0261a72
RD
5015#define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
5016static PyObject *_wrap_wxFont_GetFamilyString(PyObject *self, PyObject *args, PyObject *kwargs) {
5017 PyObject * _resultobj;
5018 wxString * _result;
5019 wxFont * _arg0;
5020 PyObject * _argo0 = 0;
5021 char *_kwnames[] = { "self", NULL };
5022
5023 self = self;
5024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetFamilyString",_kwnames,&_argo0))
5025 return NULL;
5026 if (_argo0) {
5027 if (_argo0 == Py_None) { _arg0 = NULL; }
5028 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
5029 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
5030 return NULL;
5031 }
5032 }
5033{
4268f798 5034 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5035 _result = new wxString (wxFont_GetFamilyString(_arg0));
f0261a72 5036
4268f798 5037 wxPyEndAllowThreads(__tstate);
493f1553 5038 if (PyErr_Occurred()) return NULL;
f0261a72 5039}{
c8bc7bb8
RD
5040#if wxUSE_UNICODE
5041 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5042#else
eec92d76 5043 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 5044#endif
f0261a72
RD
5045}
5046{
5047 delete _result;
5048}
5049 return _resultobj;
5050}
5051
5052#define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
5053static PyObject *_wrap_wxFont_GetStyleString(PyObject *self, PyObject *args, PyObject *kwargs) {
5054 PyObject * _resultobj;
5055 wxString * _result;
5056 wxFont * _arg0;
5057 PyObject * _argo0 = 0;
5058 char *_kwnames[] = { "self", NULL };
5059
5060 self = self;
5061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetStyleString",_kwnames,&_argo0))
5062 return NULL;
5063 if (_argo0) {
5064 if (_argo0 == Py_None) { _arg0 = NULL; }
5065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
5066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
5067 return NULL;
5068 }
5069 }
5070{
4268f798 5071 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5072 _result = new wxString (wxFont_GetStyleString(_arg0));
f0261a72 5073
4268f798 5074 wxPyEndAllowThreads(__tstate);
493f1553 5075 if (PyErr_Occurred()) return NULL;
f0261a72 5076}{
c8bc7bb8
RD
5077#if wxUSE_UNICODE
5078 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5079#else
eec92d76 5080 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 5081#endif
f0261a72
RD
5082}
5083{
5084 delete _result;
5085}
5086 return _resultobj;
5087}
5088
5089#define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
5090static PyObject *_wrap_wxFont_GetWeightString(PyObject *self, PyObject *args, PyObject *kwargs) {
5091 PyObject * _resultobj;
5092 wxString * _result;
5093 wxFont * _arg0;
5094 PyObject * _argo0 = 0;
5095 char *_kwnames[] = { "self", NULL };
5096
5097 self = self;
5098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetWeightString",_kwnames,&_argo0))
5099 return NULL;
5100 if (_argo0) {
5101 if (_argo0 == Py_None) { _arg0 = NULL; }
5102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
5103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
5104 return NULL;
5105 }
5106 }
5107{
4268f798 5108 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5109 _result = new wxString (wxFont_GetWeightString(_arg0));
f0261a72 5110
4268f798 5111 wxPyEndAllowThreads(__tstate);
493f1553 5112 if (PyErr_Occurred()) return NULL;
f0261a72 5113}{
c8bc7bb8
RD
5114#if wxUSE_UNICODE
5115 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5116#else
eec92d76 5117 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 5118#endif
f0261a72
RD
5119}
5120{
5121 delete _result;
5122}
5123 return _resultobj;
5124}
5125
6d8b4f8d
RD
5126static PyObject *_wrap_wxFont_GetDefaultEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
5127 PyObject * _resultobj;
5128 wxFontEncoding _result;
5129 char *_kwnames[] = { NULL };
5130
5131 self = self;
5132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxFont_GetDefaultEncoding",_kwnames))
5133 return NULL;
5134{
4268f798 5135 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5136 _result = (wxFontEncoding )wxFont::GetDefaultEncoding();
6d8b4f8d 5137
4268f798 5138 wxPyEndAllowThreads(__tstate);
6d8b4f8d
RD
5139 if (PyErr_Occurred()) return NULL;
5140} _resultobj = Py_BuildValue("i",_result);
5141 return _resultobj;
5142}
5143
5144static PyObject *_wrap_wxFont_SetDefaultEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
5145 PyObject * _resultobj;
5146 wxFontEncoding _arg0;
5147 char *_kwnames[] = { "encoding", NULL };
5148
5149 self = self;
5150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxFont_SetDefaultEncoding",_kwnames,&_arg0))
5151 return NULL;
5152{
4268f798 5153 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5154 wxFont::SetDefaultEncoding(_arg0);
6d8b4f8d 5155
4268f798 5156 wxPyEndAllowThreads(__tstate);
6d8b4f8d
RD
5157 if (PyErr_Occurred()) return NULL;
5158} Py_INCREF(Py_None);
5159 _resultobj = Py_None;
5160 return _resultobj;
5161}
5162
9416aa89
RD
5163static void *SwigwxFontListTowxObject(void *ptr) {
5164 wxFontList *src;
5165 wxObject *dest;
5166 src = (wxFontList *) ptr;
5167 dest = (wxObject *) src;
5168 return (void *) dest;
5169}
5170
0569df0f
RD
5171#define wxFontList_AddFont(_swigobj,_swigarg0) (_swigobj->AddFont(_swigarg0))
5172static PyObject *_wrap_wxFontList_AddFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5173 PyObject * _resultobj;
5174 wxFontList * _arg0;
5175 wxFont * _arg1;
5176 PyObject * _argo0 = 0;
5177 PyObject * _argo1 = 0;
5178 char *_kwnames[] = { "self","font", NULL };
5179
5180 self = self;
5181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontList_AddFont",_kwnames,&_argo0,&_argo1))
5182 return NULL;
5183 if (_argo0) {
5184 if (_argo0 == Py_None) { _arg0 = NULL; }
5185 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontList_p")) {
5186 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontList_AddFont. Expected _wxFontList_p.");
5187 return NULL;
5188 }
5189 }
5190 if (_argo1) {
5191 if (_argo1 == Py_None) { _arg1 = NULL; }
5192 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
5193 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontList_AddFont. Expected _wxFont_p.");
5194 return NULL;
5195 }
5196 }
5197{
4268f798 5198 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5199 wxFontList_AddFont(_arg0,_arg1);
0569df0f 5200
4268f798 5201 wxPyEndAllowThreads(__tstate);
493f1553 5202 if (PyErr_Occurred()) return NULL;
0569df0f
RD
5203} Py_INCREF(Py_None);
5204 _resultobj = Py_None;
5205 return _resultobj;
5206}
5207
5208#define wxFontList_FindOrCreateFont(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FindOrCreateFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5209static PyObject *_wrap_wxFontList_FindOrCreateFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5210 PyObject * _resultobj;
5211 wxFont * _result;
5212 wxFontList * _arg0;
5213 int _arg1;
5214 int _arg2;
5215 int _arg3;
5216 int _arg4;
5217 bool _arg5 = (bool ) FALSE;
137b5242 5218 wxString * _arg6 = (wxString *) &wxPyEmptyString;
0569df0f
RD
5219 wxFontEncoding _arg7 = (wxFontEncoding ) (wxFONTENCODING_DEFAULT);
5220 PyObject * _argo0 = 0;
5221 int tempbool5 = (int) FALSE;
137b5242 5222 PyObject * _obj6 = 0;
0569df0f
RD
5223 char *_kwnames[] = { "self","point_size","family","style","weight","underline","facename","encoding", NULL };
5224 char _ptemp[128];
5225
5226 self = self;
137b5242 5227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|iOi:wxFontList_FindOrCreateFont",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5,&_obj6,&_arg7))
0569df0f
RD
5228 return NULL;
5229 if (_argo0) {
5230 if (_argo0 == Py_None) { _arg0 = NULL; }
5231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontList_p")) {
5232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontList_FindOrCreateFont. Expected _wxFontList_p.");
5233 return NULL;
5234 }
5235 }
5236 _arg5 = (bool ) tempbool5;
137b5242
RD
5237 if (_obj6)
5238{
5239 _arg6 = wxString_in_helper(_obj6);
5240 if (_arg6 == NULL)
5241 return NULL;
5242}
0569df0f 5243{
4268f798 5244 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 5245 _result = (wxFont *)wxFontList_FindOrCreateFont(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,_arg7);
0569df0f 5246
4268f798 5247 wxPyEndAllowThreads(__tstate);
493f1553 5248 if (PyErr_Occurred()) return NULL;
0569df0f
RD
5249} if (_result) {
5250 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
5251 _resultobj = Py_BuildValue("s",_ptemp);
5252 } else {
5253 Py_INCREF(Py_None);
5254 _resultobj = Py_None;
5255 }
137b5242
RD
5256{
5257 if (_obj6)
5258 delete _arg6;
5259}
0569df0f
RD
5260 return _resultobj;
5261}
5262
5263#define wxFontList_RemoveFont(_swigobj,_swigarg0) (_swigobj->RemoveFont(_swigarg0))
5264static PyObject *_wrap_wxFontList_RemoveFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5265 PyObject * _resultobj;
5266 wxFontList * _arg0;
5267 wxFont * _arg1;
5268 PyObject * _argo0 = 0;
5269 PyObject * _argo1 = 0;
5270 char *_kwnames[] = { "self","font", NULL };
5271
5272 self = self;
5273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontList_RemoveFont",_kwnames,&_argo0,&_argo1))
5274 return NULL;
5275 if (_argo0) {
5276 if (_argo0 == Py_None) { _arg0 = NULL; }
5277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontList_p")) {
5278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontList_RemoveFont. Expected _wxFontList_p.");
5279 return NULL;
5280 }
5281 }
5282 if (_argo1) {
5283 if (_argo1 == Py_None) { _arg1 = NULL; }
5284 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
5285 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontList_RemoveFont. Expected _wxFont_p.");
5286 return NULL;
5287 }
5288 }
5289{
4268f798 5290 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5291 wxFontList_RemoveFont(_arg0,_arg1);
0569df0f 5292
4268f798 5293 wxPyEndAllowThreads(__tstate);
493f1553 5294 if (PyErr_Occurred()) return NULL;
0569df0f
RD
5295} Py_INCREF(Py_None);
5296 _resultobj = Py_None;
5297 return _resultobj;
5298}
5299
2f4e9287
RD
5300#define wxFontList_GetCount(_swigobj) (_swigobj->GetCount())
5301static PyObject *_wrap_wxFontList_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5302 PyObject * _resultobj;
5303 int _result;
5304 wxFontList * _arg0;
5305 PyObject * _argo0 = 0;
5306 char *_kwnames[] = { "self", NULL };
5307
5308 self = self;
5309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontList_GetCount",_kwnames,&_argo0))
5310 return NULL;
5311 if (_argo0) {
5312 if (_argo0 == Py_None) { _arg0 = NULL; }
5313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontList_p")) {
5314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontList_GetCount. Expected _wxFontList_p.");
5315 return NULL;
5316 }
5317 }
5318{
4268f798 5319 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5320 _result = (int )wxFontList_GetCount(_arg0);
2f4e9287 5321
4268f798 5322 wxPyEndAllowThreads(__tstate);
2f4e9287
RD
5323 if (PyErr_Occurred()) return NULL;
5324} _resultobj = Py_BuildValue("i",_result);
5325 return _resultobj;
5326}
5327
9416aa89
RD
5328static void *SwigwxColourTowxObject(void *ptr) {
5329 wxColour *src;
5330 wxObject *dest;
5331 src = (wxColour *) ptr;
5332 dest = (wxObject *) src;
5333 return (void *) dest;
5334}
5335
8ab979d7 5336#define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 5337static PyObject *_wrap_new_wxColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5338 PyObject * _resultobj;
5339 wxColour * _result;
1d99702e
RD
5340 unsigned char _arg0 = (unsigned char ) 0;
5341 unsigned char _arg1 = (unsigned char ) 0;
5342 unsigned char _arg2 = (unsigned char ) 0;
1afc06c2 5343 char *_kwnames[] = { "red","green","blue", NULL };
8ab979d7
RD
5344 char _ptemp[128];
5345
5346 self = self;
1afc06c2 5347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|bbb:new_wxColour",_kwnames,&_arg0,&_arg1,&_arg2))
8ab979d7 5348 return NULL;
cf694132 5349{
4268f798 5350 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5351 _result = (wxColour *)new_wxColour(_arg0,_arg1,_arg2);
cf694132 5352
4268f798 5353 wxPyEndAllowThreads(__tstate);
493f1553 5354 if (PyErr_Occurred()) return NULL;
1d99702e
RD
5355} if (_result) {
5356 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
5357 _resultobj = Py_BuildValue("s",_ptemp);
5358 } else {
5359 Py_INCREF(Py_None);
5360 _resultobj = Py_None;
5361 }
8ab979d7
RD
5362 return _resultobj;
5363}
5364
5365#define delete_wxColour(_swigobj) (delete _swigobj)
1afc06c2 5366static PyObject *_wrap_delete_wxColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5367 PyObject * _resultobj;
5368 wxColour * _arg0;
f6bcfd97
BP
5369 wxColour temp;
5370 PyObject * _obj0 = 0;
1afc06c2 5371 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5372
5373 self = self;
f6bcfd97 5374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxColour",_kwnames,&_obj0))
8ab979d7 5375 return NULL;
f6bcfd97
BP
5376{
5377 _arg0 = &temp;
5378 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 5379 return NULL;
f6bcfd97 5380}
cf694132 5381{
4268f798 5382 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5383 delete_wxColour(_arg0);
cf694132 5384
4268f798 5385 wxPyEndAllowThreads(__tstate);
493f1553 5386 if (PyErr_Occurred()) return NULL;
cf694132 5387} Py_INCREF(Py_None);
8ab979d7
RD
5388 _resultobj = Py_None;
5389 return _resultobj;
5390}
5391
5392#define wxColour_Red(_swigobj) (_swigobj->Red())
1afc06c2 5393static PyObject *_wrap_wxColour_Red(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5394 PyObject * _resultobj;
5395 unsigned char _result;
5396 wxColour * _arg0;
f6bcfd97
BP
5397 wxColour temp;
5398 PyObject * _obj0 = 0;
1afc06c2 5399 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5400
5401 self = self;
f6bcfd97 5402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Red",_kwnames,&_obj0))
8ab979d7 5403 return NULL;
f6bcfd97
BP
5404{
5405 _arg0 = &temp;
5406 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 5407 return NULL;
f6bcfd97 5408}
cf694132 5409{
4268f798 5410 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5411 _result = (unsigned char )wxColour_Red(_arg0);
cf694132 5412
4268f798 5413 wxPyEndAllowThreads(__tstate);
493f1553 5414 if (PyErr_Occurred()) return NULL;
cf694132 5415} _resultobj = Py_BuildValue("b",_result);
8ab979d7
RD
5416 return _resultobj;
5417}
5418
5419#define wxColour_Green(_swigobj) (_swigobj->Green())
1afc06c2 5420static PyObject *_wrap_wxColour_Green(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5421 PyObject * _resultobj;
5422 unsigned char _result;
5423 wxColour * _arg0;
f6bcfd97
BP
5424 wxColour temp;
5425 PyObject * _obj0 = 0;
1afc06c2 5426 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5427
5428 self = self;
f6bcfd97 5429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Green",_kwnames,&_obj0))
8ab979d7 5430 return NULL;
f6bcfd97
BP
5431{
5432 _arg0 = &temp;
5433 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 5434 return NULL;
f6bcfd97 5435}
cf694132 5436{
4268f798 5437 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5438 _result = (unsigned char )wxColour_Green(_arg0);
cf694132 5439
4268f798 5440 wxPyEndAllowThreads(__tstate);
493f1553 5441 if (PyErr_Occurred()) return NULL;
cf694132 5442} _resultobj = Py_BuildValue("b",_result);
8ab979d7
RD
5443 return _resultobj;
5444}
5445
5446#define wxColour_Blue(_swigobj) (_swigobj->Blue())
1afc06c2 5447static PyObject *_wrap_wxColour_Blue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5448 PyObject * _resultobj;
5449 unsigned char _result;
5450 wxColour * _arg0;
f6bcfd97
BP
5451 wxColour temp;
5452 PyObject * _obj0 = 0;
1afc06c2 5453 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5454
5455 self = self;
f6bcfd97 5456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Blue",_kwnames,&_obj0))
8ab979d7 5457 return NULL;
f6bcfd97
BP
5458{
5459 _arg0 = &temp;
5460 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 5461 return NULL;
f6bcfd97 5462}
cf694132 5463{
4268f798 5464 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5465 _result = (unsigned char )wxColour_Blue(_arg0);
cf694132 5466
4268f798 5467 wxPyEndAllowThreads(__tstate);
493f1553 5468 if (PyErr_Occurred()) return NULL;
cf694132 5469} _resultobj = Py_BuildValue("b",_result);
8ab979d7
RD
5470 return _resultobj;
5471}
5472
5473#define wxColour_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 5474static PyObject *_wrap_wxColour_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5475 PyObject * _resultobj;
5476 bool _result;
5477 wxColour * _arg0;
f6bcfd97
BP
5478 wxColour temp;
5479 PyObject * _obj0 = 0;
1afc06c2 5480 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5481
5482 self = self;
f6bcfd97 5483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Ok",_kwnames,&_obj0))
8ab979d7 5484 return NULL;
f6bcfd97
BP
5485{
5486 _arg0 = &temp;
5487 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 5488 return NULL;
f6bcfd97 5489}
cf694132 5490{
4268f798 5491 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5492 _result = (bool )wxColour_Ok(_arg0);
cf694132 5493
4268f798 5494 wxPyEndAllowThreads(__tstate);
493f1553 5495 if (PyErr_Occurred()) return NULL;
cf694132 5496} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5497 return _resultobj;
5498}
5499
5500#define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 5501static PyObject *_wrap_wxColour_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5502 PyObject * _resultobj;
5503 wxColour * _arg0;
5504 unsigned char _arg1;
5505 unsigned char _arg2;
5506 unsigned char _arg3;
f6bcfd97
BP
5507 wxColour temp;
5508 PyObject * _obj0 = 0;
1afc06c2 5509 char *_kwnames[] = { "self","red","green","blue", NULL };
8ab979d7
RD
5510
5511 self = self;
f6bcfd97 5512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Obbb:wxColour_Set",_kwnames,&_obj0,&_arg1,&_arg2,&_arg3))
8ab979d7 5513 return NULL;
f6bcfd97
BP
5514{
5515 _arg0 = &temp;
5516 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 5517 return NULL;
f6bcfd97 5518}
cf694132 5519{
4268f798 5520 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5521 wxColour_Set(_arg0,_arg1,_arg2,_arg3);
cf694132 5522
4268f798 5523 wxPyEndAllowThreads(__tstate);
493f1553 5524 if (PyErr_Occurred()) return NULL;
cf694132 5525} Py_INCREF(Py_None);
8ab979d7
RD
5526 _resultobj = Py_None;
5527 return _resultobj;
5528}
5529
5530static PyObject * wxColour_Get(wxColour *self) {
5531 PyObject* rv = PyTuple_New(3);
5532 PyTuple_SetItem(rv, 0, PyInt_FromLong(self->Red()));
5533 PyTuple_SetItem(rv, 1, PyInt_FromLong(self->Green()));
5534 PyTuple_SetItem(rv, 2, PyInt_FromLong(self->Blue()));
5535 return rv;
5536 }
1afc06c2 5537static PyObject *_wrap_wxColour_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5538 PyObject * _resultobj;
5539 PyObject * _result;
5540 wxColour * _arg0;
f6bcfd97
BP
5541 wxColour temp;
5542 PyObject * _obj0 = 0;
1afc06c2 5543 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5544
5545 self = self;
f6bcfd97 5546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Get",_kwnames,&_obj0))
8ab979d7 5547 return NULL;
f6bcfd97
BP
5548{
5549 _arg0 = &temp;
5550 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 5551 return NULL;
f6bcfd97 5552}
8ab979d7 5553{
4268f798 5554 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5555 _result = (PyObject *)wxColour_Get(_arg0);
cf694132 5556
4268f798 5557 wxPyEndAllowThreads(__tstate);
493f1553 5558 if (PyErr_Occurred()) return NULL;
cf694132 5559}{
8ab979d7
RD
5560 _resultobj = _result;
5561}
5562 return _resultobj;
5563}
5564
9416aa89
RD
5565static void *SwigwxColourDatabaseTowxObject(void *ptr) {
5566 wxColourDatabase *src;
5567 wxObject *dest;
5568 src = (wxColourDatabase *) ptr;
5569 dest = (wxObject *) src;
5570 return (void *) dest;
5571}
5572
0569df0f
RD
5573#define wxColourDatabase_FindColour(_swigobj,_swigarg0) (_swigobj->FindColour(_swigarg0))
5574static PyObject *_wrap_wxColourDatabase_FindColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5575 PyObject * _resultobj;
5576 wxColour * _result;
5577 wxColourDatabase * _arg0;
5578 wxString * _arg1;
5579 PyObject * _argo0 = 0;
5580 PyObject * _obj1 = 0;
5581 char *_kwnames[] = { "self","colour", NULL };
5582 char _ptemp[128];
5583
5584 self = self;
5585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxColourDatabase_FindColour",_kwnames,&_argo0,&_obj1))
5586 return NULL;
5587 if (_argo0) {
5588 if (_argo0 == Py_None) { _arg0 = NULL; }
5589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDatabase_p")) {
5590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDatabase_FindColour. Expected _wxColourDatabase_p.");
5591 return NULL;
8ab979d7 5592 }
0569df0f
RD
5593 }
5594{
c8bc7bb8
RD
5595 _arg1 = wxString_in_helper(_obj1);
5596 if (_arg1 == NULL)
0569df0f 5597 return NULL;
0569df0f
RD
5598}
5599{
4268f798 5600 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5601 _result = (wxColour *)wxColourDatabase_FindColour(_arg0,*_arg1);
8ab979d7 5602
4268f798 5603 wxPyEndAllowThreads(__tstate);
493f1553 5604 if (PyErr_Occurred()) return NULL;
0569df0f
RD
5605} if (_result) {
5606 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
5607 _resultobj = Py_BuildValue("s",_ptemp);
5608 } else {
5609 Py_INCREF(Py_None);
5610 _resultobj = Py_None;
5611 }
5612{
5613 if (_obj1)
5614 delete _arg1;
5615}
5616 return _resultobj;
5617}
5618
5619#define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
5620static PyObject *_wrap_wxColourDatabase_FindName(PyObject *self, PyObject *args, PyObject *kwargs) {
5621 PyObject * _resultobj;
5622 wxString * _result;
5623 wxColourDatabase * _arg0;
5624 wxColour * _arg1;
5625 PyObject * _argo0 = 0;
5626 wxColour temp;
5627 PyObject * _obj1 = 0;
5628 char *_kwnames[] = { "self","colour", NULL };
5629
5630 self = self;
5631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxColourDatabase_FindName",_kwnames,&_argo0,&_obj1))
5632 return NULL;
5633 if (_argo0) {
5634 if (_argo0 == Py_None) { _arg0 = NULL; }
5635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDatabase_p")) {
5636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
5637 return NULL;
5638 }
5639 }
5640{
5641 _arg1 = &temp;
5642 if (! wxColour_helper(_obj1, &_arg1))
5643 return NULL;
5644}
5645{
4268f798 5646 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5647 _result = new wxString (wxColourDatabase_FindName(_arg0,*_arg1));
0569df0f 5648
4268f798 5649 wxPyEndAllowThreads(__tstate);
493f1553 5650 if (PyErr_Occurred()) return NULL;
0569df0f 5651}{
c8bc7bb8
RD
5652#if wxUSE_UNICODE
5653 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5654#else
0569df0f 5655 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 5656#endif
0569df0f
RD
5657}
5658{
5659 delete _result;
5660}
5661 return _resultobj;
5662}
5663
5664static void wxColourDatabase_Append(wxColourDatabase *self,const wxString & name,int red,int green,int blue) {
fe40185d
RD
5665 // first see if the name is already there
5666 wxString cName = name;
5667 cName.MakeUpper();
5668 wxString cName2 = cName;
a541c325 5669 if ( !cName2.Replace(wxT("GRAY"), wxT("GREY")) )
fe40185d
RD
5670 cName2.clear();
5671
5672 wxNode *node = self->First();
5673 while ( node ) {
5674 const wxChar *key = node->GetKeyString();
5675 if ( cName == key || cName2 == key ) {
5676 wxColour* c = (wxColour *)node->Data();
5677 c->Set(red, green, blue);
5678 return;
5679 }
5680 node = node->Next();
5681 }
5682
5683 // otherwise append the new colour
0569df0f
RD
5684 self->Append(name.c_str(), new wxColour(red, green, blue));
5685 }
5686static PyObject *_wrap_wxColourDatabase_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
5687 PyObject * _resultobj;
5688 wxColourDatabase * _arg0;
5689 wxString * _arg1;
5690 int _arg2;
5691 int _arg3;
5692 int _arg4;
5693 PyObject * _argo0 = 0;
5694 PyObject * _obj1 = 0;
5695 char *_kwnames[] = { "self","name","red","green","blue", NULL };
5696
5697 self = self;
5698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiii:wxColourDatabase_Append",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_arg4))
5699 return NULL;
5700 if (_argo0) {
5701 if (_argo0 == Py_None) { _arg0 = NULL; }
5702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDatabase_p")) {
5703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
5704 return NULL;
5705 }
5706 }
5707{
c8bc7bb8
RD
5708 _arg1 = wxString_in_helper(_obj1);
5709 if (_arg1 == NULL)
0569df0f 5710 return NULL;
0569df0f
RD
5711}
5712{
4268f798 5713 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5714 wxColourDatabase_Append(_arg0,*_arg1,_arg2,_arg3,_arg4);
0569df0f 5715
4268f798 5716 wxPyEndAllowThreads(__tstate);
493f1553 5717 if (PyErr_Occurred()) return NULL;
0569df0f
RD
5718} Py_INCREF(Py_None);
5719 _resultobj = Py_None;
5720{
5721 if (_obj1)
5722 delete _arg1;
5723}
5724 return _resultobj;
5725}
5726
9416aa89
RD
5727static void *SwigwxPenTowxGDIObject(void *ptr) {
5728 wxPen *src;
5729 wxGDIObject *dest;
5730 src = (wxPen *) ptr;
5731 dest = (wxGDIObject *) src;
5732 return (void *) dest;
5733}
5734
5735static void *SwigwxPenTowxObject(void *ptr) {
5736 wxPen *src;
5737 wxObject *dest;
5738 src = (wxPen *) ptr;
5739 dest = (wxObject *) src;
5740 return (void *) dest;
5741}
5742
0569df0f 5743#define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 5744static PyObject *_wrap_new_wxPen(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5745 PyObject * _resultobj;
5746 wxPen * _result;
5747 wxColour * _arg0;
1d99702e
RD
5748 int _arg1 = (int ) 1;
5749 int _arg2 = (int ) wxSOLID;
f6bcfd97
BP
5750 wxColour temp;
5751 PyObject * _obj0 = 0;
1afc06c2 5752 char *_kwnames[] = { "colour","width","style", NULL };
8ab979d7
RD
5753 char _ptemp[128];
5754
5755 self = self;
f6bcfd97 5756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:new_wxPen",_kwnames,&_obj0,&_arg1,&_arg2))
8ab979d7 5757 return NULL;
f6bcfd97
BP
5758{
5759 _arg0 = &temp;
5760 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 5761 return NULL;
f6bcfd97 5762}
cf694132 5763{
4268f798 5764 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5765 _result = (wxPen *)new_wxPen(*_arg0,_arg1,_arg2);
cf694132 5766
4268f798 5767 wxPyEndAllowThreads(__tstate);
493f1553 5768 if (PyErr_Occurred()) return NULL;
1d99702e
RD
5769} if (_result) {
5770 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
5771 _resultobj = Py_BuildValue("s",_ptemp);
5772 } else {
5773 Py_INCREF(Py_None);
5774 _resultobj = Py_None;
5775 }
8ab979d7
RD
5776 return _resultobj;
5777}
5778
0569df0f
RD
5779#define delete_wxPen(_swigobj) (delete _swigobj)
5780static PyObject *_wrap_delete_wxPen(PyObject *self, PyObject *args, PyObject *kwargs) {
5781 PyObject * _resultobj;
5782 wxPen * _arg0;
5783 PyObject * _argo0 = 0;
5784 char *_kwnames[] = { "self", NULL };
5785
5786 self = self;
5787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPen",_kwnames,&_argo0))
5788 return NULL;
5789 if (_argo0) {
5790 if (_argo0 == Py_None) { _arg0 = NULL; }
5791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
5792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
5793 return NULL;
5794 }
5795 }
5796{
4268f798 5797 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5798 delete_wxPen(_arg0);
0569df0f 5799
4268f798 5800 wxPyEndAllowThreads(__tstate);
493f1553 5801 if (PyErr_Occurred()) return NULL;
0569df0f
RD
5802} Py_INCREF(Py_None);
5803 _resultobj = Py_None;
5804 return _resultobj;
5805}
5806
8ab979d7 5807#define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
1afc06c2 5808static PyObject *_wrap_wxPen_GetCap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5809 PyObject * _resultobj;
5810 int _result;
5811 wxPen * _arg0;
1d99702e 5812 PyObject * _argo0 = 0;
1afc06c2 5813 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5814
5815 self = self;
1afc06c2 5816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetCap",_kwnames,&_argo0))
8ab979d7 5817 return NULL;
1d99702e
RD
5818 if (_argo0) {
5819 if (_argo0 == Py_None) { _arg0 = NULL; }
5820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
5821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
5822 return NULL;
5823 }
5824 }
cf694132 5825{
4268f798 5826 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5827 _result = (int )wxPen_GetCap(_arg0);
cf694132 5828
4268f798 5829 wxPyEndAllowThreads(__tstate);
493f1553 5830 if (PyErr_Occurred()) return NULL;
cf694132 5831} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5832 return _resultobj;
5833}
5834
5835#define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
1afc06c2 5836static PyObject *_wrap_wxPen_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5837 PyObject * _resultobj;
5838 wxColour * _result;
5839 wxPen * _arg0;
1d99702e 5840 PyObject * _argo0 = 0;
1afc06c2 5841 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5842 char _ptemp[128];
5843
5844 self = self;
1afc06c2 5845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetColour",_kwnames,&_argo0))
8ab979d7 5846 return NULL;
1d99702e
RD
5847 if (_argo0) {
5848 if (_argo0 == Py_None) { _arg0 = NULL; }
5849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
5850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
5851 return NULL;
5852 }
5853 }
cf694132 5854{
4268f798 5855 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5856 _result = new wxColour (wxPen_GetColour(_arg0));
cf694132 5857
4268f798 5858 wxPyEndAllowThreads(__tstate);
493f1553 5859 if (PyErr_Occurred()) return NULL;
25832b3f
RD
5860} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5861 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
5862 return _resultobj;
5863}
5864
8ab979d7 5865#define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
1afc06c2 5866static PyObject *_wrap_wxPen_GetJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5867 PyObject * _resultobj;
5868 int _result;
5869 wxPen * _arg0;
1d99702e 5870 PyObject * _argo0 = 0;
1afc06c2 5871 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5872
5873 self = self;
1afc06c2 5874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetJoin",_kwnames,&_argo0))
8ab979d7 5875 return NULL;
1d99702e
RD
5876 if (_argo0) {
5877 if (_argo0 == Py_None) { _arg0 = NULL; }
5878 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
5879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
5880 return NULL;
5881 }
5882 }
cf694132 5883{
4268f798 5884 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5885 _result = (int )wxPen_GetJoin(_arg0);
cf694132 5886
4268f798 5887 wxPyEndAllowThreads(__tstate);
493f1553 5888 if (PyErr_Occurred()) return NULL;
cf694132 5889} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5890 return _resultobj;
5891}
5892
5893#define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
1afc06c2 5894static PyObject *_wrap_wxPen_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5895 PyObject * _resultobj;
5896 int _result;
5897 wxPen * _arg0;
1d99702e 5898 PyObject * _argo0 = 0;
1afc06c2 5899 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5900
5901 self = self;
1afc06c2 5902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetStyle",_kwnames,&_argo0))
8ab979d7 5903 return NULL;
1d99702e
RD
5904 if (_argo0) {
5905 if (_argo0 == Py_None) { _arg0 = NULL; }
5906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
5907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
5908 return NULL;
5909 }
5910 }
cf694132 5911{
4268f798 5912 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5913 _result = (int )wxPen_GetStyle(_arg0);
cf694132 5914
4268f798 5915 wxPyEndAllowThreads(__tstate);
493f1553 5916 if (PyErr_Occurred()) return NULL;
cf694132 5917} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5918 return _resultobj;
5919}
5920
5921#define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
1afc06c2 5922static PyObject *_wrap_wxPen_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5923 PyObject * _resultobj;
5924 int _result;
5925 wxPen * _arg0;
1d99702e 5926 PyObject * _argo0 = 0;
1afc06c2 5927 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5928
5929 self = self;
1afc06c2 5930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetWidth",_kwnames,&_argo0))
8ab979d7 5931 return NULL;
1d99702e
RD
5932 if (_argo0) {
5933 if (_argo0 == Py_None) { _arg0 = NULL; }
5934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
5935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
5936 return NULL;
5937 }
5938 }
cf694132 5939{
4268f798 5940 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5941 _result = (int )wxPen_GetWidth(_arg0);
cf694132 5942
4268f798 5943 wxPyEndAllowThreads(__tstate);
493f1553 5944 if (PyErr_Occurred()) return NULL;
cf694132 5945} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5946 return _resultobj;
5947}
5948
5949#define wxPen_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 5950static PyObject *_wrap_wxPen_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5951 PyObject * _resultobj;
5952 bool _result;
5953 wxPen * _arg0;
1d99702e 5954 PyObject * _argo0 = 0;
1afc06c2 5955 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5956
5957 self = self;
1afc06c2 5958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_Ok",_kwnames,&_argo0))
8ab979d7 5959 return NULL;
1d99702e
RD
5960 if (_argo0) {
5961 if (_argo0 == Py_None) { _arg0 = NULL; }
5962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
5963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
5964 return NULL;
5965 }
5966 }
cf694132 5967{
4268f798 5968 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5969 _result = (bool )wxPen_Ok(_arg0);
cf694132 5970
4268f798 5971 wxPyEndAllowThreads(__tstate);
493f1553 5972 if (PyErr_Occurred()) return NULL;
cf694132 5973} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5974 return _resultobj;
5975}
5976
5977#define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
1afc06c2 5978static PyObject *_wrap_wxPen_SetCap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5979 PyObject * _resultobj;
5980 wxPen * _arg0;
5981 int _arg1;
1d99702e 5982 PyObject * _argo0 = 0;
1afc06c2 5983 char *_kwnames[] = { "self","cap_style", NULL };
8ab979d7
RD
5984
5985 self = self;
1afc06c2 5986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPen_SetCap",_kwnames,&_argo0,&_arg1))
8ab979d7 5987 return NULL;
1d99702e
RD
5988 if (_argo0) {
5989 if (_argo0 == Py_None) { _arg0 = NULL; }
5990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
5991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
5992 return NULL;
5993 }
5994 }
cf694132 5995{
4268f798 5996 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5997 wxPen_SetCap(_arg0,_arg1);
cf694132 5998
4268f798 5999 wxPyEndAllowThreads(__tstate);
493f1553 6000 if (PyErr_Occurred()) return NULL;
cf694132 6001} Py_INCREF(Py_None);
8ab979d7
RD
6002 _resultobj = Py_None;
6003 return _resultobj;
6004}
6005
6006#define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
1afc06c2 6007static PyObject *_wrap_wxPen_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6008 PyObject * _resultobj;
6009 wxPen * _arg0;
6010 wxColour * _arg1;
1d99702e 6011 PyObject * _argo0 = 0;
f6bcfd97
BP
6012 wxColour temp;
6013 PyObject * _obj1 = 0;
1afc06c2 6014 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
6015
6016 self = self;
f6bcfd97 6017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPen_SetColour",_kwnames,&_argo0,&_obj1))
8ab979d7 6018 return NULL;
1d99702e
RD
6019 if (_argo0) {
6020 if (_argo0 == Py_None) { _arg0 = NULL; }
6021 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
6022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
6023 return NULL;
6024 }
6025 }
f6bcfd97
BP
6026{
6027 _arg1 = &temp;
6028 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 6029 return NULL;
f6bcfd97 6030}
cf694132 6031{
4268f798 6032 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6033 wxPen_SetColour(_arg0,*_arg1);
cf694132 6034
4268f798 6035 wxPyEndAllowThreads(__tstate);
493f1553 6036 if (PyErr_Occurred()) return NULL;
cf694132 6037} Py_INCREF(Py_None);
8ab979d7
RD
6038 _resultobj = Py_None;
6039 return _resultobj;
6040}
6041
2ea09579 6042#define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
1afc06c2 6043static PyObject *_wrap_wxPen_SetJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6044 PyObject * _resultobj;
6045 wxPen * _arg0;
6046 int _arg1;
1d99702e 6047 PyObject * _argo0 = 0;
1afc06c2 6048 char *_kwnames[] = { "self","join_style", NULL };
8ab979d7
RD
6049
6050 self = self;
1afc06c2 6051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPen_SetJoin",_kwnames,&_argo0,&_arg1))
8ab979d7 6052 return NULL;
1d99702e
RD
6053 if (_argo0) {
6054 if (_argo0 == Py_None) { _arg0 = NULL; }
6055 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579 6056 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
8ab979d7
RD
6057 return NULL;
6058 }
6059 }
cf694132 6060{
4268f798 6061 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6062 wxPen_SetJoin(_arg0,_arg1);
cf694132 6063
4268f798 6064 wxPyEndAllowThreads(__tstate);
493f1553 6065 if (PyErr_Occurred()) return NULL;
cf694132 6066} Py_INCREF(Py_None);
2ea09579
RD
6067 _resultobj = Py_None;
6068 return _resultobj;
6069}
6070
6071#define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1afc06c2 6072static PyObject *_wrap_wxPen_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2ea09579
RD
6073 PyObject * _resultobj;
6074 wxPen * _arg0;
6075 int _arg1;
1d99702e 6076 PyObject * _argo0 = 0;
1afc06c2 6077 char *_kwnames[] = { "self","style", NULL };
2ea09579
RD
6078
6079 self = self;
1afc06c2 6080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPen_SetStyle",_kwnames,&_argo0,&_arg1))
8ab979d7 6081 return NULL;
1d99702e
RD
6082 if (_argo0) {
6083 if (_argo0 == Py_None) { _arg0 = NULL; }
6084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579
RD
6085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
6086 return NULL;
6087 }
8ab979d7 6088 }
cf694132 6089{
4268f798 6090 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6091 wxPen_SetStyle(_arg0,_arg1);
cf694132 6092
4268f798 6093 wxPyEndAllowThreads(__tstate);
493f1553 6094 if (PyErr_Occurred()) return NULL;
cf694132 6095} Py_INCREF(Py_None);
8ab979d7 6096 _resultobj = Py_None;
2ea09579 6097 return _resultobj;
8ab979d7 6098}
2ea09579
RD
6099
6100#define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1afc06c2 6101static PyObject *_wrap_wxPen_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2ea09579
RD
6102 PyObject * _resultobj;
6103 wxPen * _arg0;
6104 int _arg1;
1d99702e 6105 PyObject * _argo0 = 0;
1afc06c2 6106 char *_kwnames[] = { "self","width", NULL };
2ea09579
RD
6107
6108 self = self;
1afc06c2 6109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPen_SetWidth",_kwnames,&_argo0,&_arg1))
2ea09579 6110 return NULL;
1d99702e
RD
6111 if (_argo0) {
6112 if (_argo0 == Py_None) { _arg0 = NULL; }
6113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579
RD
6114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
6115 return NULL;
6116 }
6117 }
cf694132 6118{
4268f798 6119 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6120 wxPen_SetWidth(_arg0,_arg1);
cf694132 6121
4268f798 6122 wxPyEndAllowThreads(__tstate);
493f1553 6123 if (PyErr_Occurred()) return NULL;
cf694132 6124} Py_INCREF(Py_None);
2ea09579 6125 _resultobj = Py_None;
8ab979d7
RD
6126 return _resultobj;
6127}
6128
2ea09579 6129#define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
1afc06c2 6130static PyObject *_wrap_wxPen_SetDashes(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6131 PyObject * _resultobj;
6132 wxPen * _arg0;
6133 int _arg1;
2ea09579 6134 wxDash * _arg2;
1d99702e 6135 PyObject * _argo0 = 0;
2ea09579 6136 PyObject * _obj2 = 0;
eec92d76 6137 char *_kwnames[] = { "self","choices", NULL };
8ab979d7
RD
6138
6139 self = self;
1afc06c2 6140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPen_SetDashes",_kwnames,&_argo0,&_obj2))
8ab979d7 6141 return NULL;
1d99702e
RD
6142 if (_argo0) {
6143 if (_argo0 == Py_None) { _arg0 = NULL; }
6144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579 6145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
8ab979d7
RD
6146 return NULL;
6147 }
6148 }
2ea09579
RD
6149 if (_obj2)
6150{
f6bcfd97 6151 _arg2 = (wxDash*)byte_LIST_helper(_obj2);
2ea09579
RD
6152 if (_arg2 == NULL) {
6153 return NULL;
6154 }
6155}
6156{
cf694132
RD
6157 if (_obj2) {
6158 _arg1 = PyList_Size(_obj2);
6159 }
6160 else {
6161 _arg1 = 0;
6162 }
2ea09579 6163}
cf694132 6164{
4268f798 6165 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6166 wxPen_SetDashes(_arg0,_arg1,_arg2);
cf694132 6167
4268f798 6168 wxPyEndAllowThreads(__tstate);
493f1553 6169 if (PyErr_Occurred()) return NULL;
cf694132 6170} Py_INCREF(Py_None);
8ab979d7 6171 _resultobj = Py_None;
2ea09579
RD
6172{
6173 delete [] _arg2;
6174}
8ab979d7
RD
6175 return _resultobj;
6176}
6177
6999b0d8
RD
6178#define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
6179static PyObject *_wrap_wxPen_GetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
6180 PyObject * _resultobj;
6181 wxBitmap * _result;
6182 wxPen * _arg0;
6183 PyObject * _argo0 = 0;
6184 char *_kwnames[] = { "self", NULL };
6185 char _ptemp[128];
6186
6187 self = self;
6188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetStipple",_kwnames,&_argo0))
6189 return NULL;
6190 if (_argo0) {
6191 if (_argo0 == Py_None) { _arg0 = NULL; }
6192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
6193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetStipple. Expected _wxPen_p.");
6194 return NULL;
6195 }
6196 }
6197{
4268f798 6198 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6199 _result = (wxBitmap *)wxPen_GetStipple(_arg0);
6999b0d8 6200
4268f798 6201 wxPyEndAllowThreads(__tstate);
493f1553 6202 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
6203} if (_result) {
6204 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
6205 _resultobj = Py_BuildValue("s",_ptemp);
6206 } else {
6207 Py_INCREF(Py_None);
6208 _resultobj = Py_None;
6209 }
6210 return _resultobj;
6211}
6212
2ea09579 6213#define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
1afc06c2 6214static PyObject *_wrap_wxPen_SetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6215 PyObject * _resultobj;
6216 wxPen * _arg0;
2ea09579 6217 wxBitmap * _arg1;
1d99702e
RD
6218 PyObject * _argo0 = 0;
6219 PyObject * _argo1 = 0;
1afc06c2 6220 char *_kwnames[] = { "self","stipple", NULL };
8ab979d7
RD
6221
6222 self = self;
1afc06c2 6223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPen_SetStipple",_kwnames,&_argo0,&_argo1))
8ab979d7 6224 return NULL;
1d99702e
RD
6225 if (_argo0) {
6226 if (_argo0 == Py_None) { _arg0 = NULL; }
6227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579 6228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
8ab979d7
RD
6229 return NULL;
6230 }
6231 }
1d99702e
RD
6232 if (_argo1) {
6233 if (_argo1 == Py_None) { _arg1 = NULL; }
6234 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
2ea09579
RD
6235 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
6236 return NULL;
6237 }
6238 }
cf694132 6239{
4268f798 6240 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6241 wxPen_SetStipple(_arg0,*_arg1);
cf694132 6242
4268f798 6243 wxPyEndAllowThreads(__tstate);
493f1553 6244 if (PyErr_Occurred()) return NULL;
cf694132 6245} Py_INCREF(Py_None);
8ab979d7
RD
6246 _resultobj = Py_None;
6247 return _resultobj;
6248}
6249
ecc08ead
RD
6250static void *SwigwxPyPenTowxPen(void *ptr) {
6251 wxPyPen *src;
6252 wxPen *dest;
6253 src = (wxPyPen *) ptr;
6254 dest = (wxPen *) src;
6255 return (void *) dest;
6256}
6257
6258static void *SwigwxPyPenTowxGDIObject(void *ptr) {
6259 wxPyPen *src;
6260 wxGDIObject *dest;
6261 src = (wxPyPen *) ptr;
6262 dest = (wxGDIObject *) src;
6263 return (void *) dest;
6264}
6265
6266static void *SwigwxPyPenTowxObject(void *ptr) {
6267 wxPyPen *src;
6268 wxObject *dest;
6269 src = (wxPyPen *) ptr;
6270 dest = (wxObject *) src;
6271 return (void *) dest;
6272}
6273
6274#define new_wxPyPen(_swigarg0,_swigarg1,_swigarg2) (new wxPyPen(_swigarg0,_swigarg1,_swigarg2))
6275static PyObject *_wrap_new_wxPyPen(PyObject *self, PyObject *args, PyObject *kwargs) {
6276 PyObject * _resultobj;
6277 wxPyPen * _result;
6278 wxColour * _arg0;
6279 int _arg1 = (int ) 1;
6280 int _arg2 = (int ) wxSOLID;
6281 wxColour temp;
6282 PyObject * _obj0 = 0;
6283 char *_kwnames[] = { "colour","width","style", NULL };
6284 char _ptemp[128];
6285
6286 self = self;
6287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:new_wxPyPen",_kwnames,&_obj0,&_arg1,&_arg2))
6288 return NULL;
6289{
6290 _arg0 = &temp;
6291 if (! wxColour_helper(_obj0, &_arg0))
6292 return NULL;
6293}
6294{
4268f798 6295 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6296 _result = (wxPyPen *)new_wxPyPen(*_arg0,_arg1,_arg2);
ecc08ead 6297
4268f798 6298 wxPyEndAllowThreads(__tstate);
ecc08ead
RD
6299 if (PyErr_Occurred()) return NULL;
6300} if (_result) {
6301 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPen_p");
6302 _resultobj = Py_BuildValue("s",_ptemp);
6303 } else {
6304 Py_INCREF(Py_None);
6305 _resultobj = Py_None;
6306 }
6307 return _resultobj;
6308}
6309
6310#define delete_wxPyPen(_swigobj) (delete _swigobj)
6311static PyObject *_wrap_delete_wxPyPen(PyObject *self, PyObject *args, PyObject *kwargs) {
6312 PyObject * _resultobj;
6313 wxPyPen * _arg0;
6314 PyObject * _argo0 = 0;
6315 char *_kwnames[] = { "self", NULL };
6316
6317 self = self;
6318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyPen",_kwnames,&_argo0))
6319 return NULL;
6320 if (_argo0) {
6321 if (_argo0 == Py_None) { _arg0 = NULL; }
6322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPen_p")) {
6323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyPen. Expected _wxPyPen_p.");
6324 return NULL;
6325 }
6326 }
6327{
4268f798 6328 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6329 delete_wxPyPen(_arg0);
ecc08ead 6330
4268f798 6331 wxPyEndAllowThreads(__tstate);
ecc08ead
RD
6332 if (PyErr_Occurred()) return NULL;
6333} Py_INCREF(Py_None);
6334 _resultobj = Py_None;
6335 return _resultobj;
6336}
6337
6338#define wxPyPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
6339static PyObject *_wrap_wxPyPen_SetDashes(PyObject *self, PyObject *args, PyObject *kwargs) {
6340 PyObject * _resultobj;
6341 wxPyPen * _arg0;
6342 int _arg1;
6343 wxDash * _arg2;
6344 PyObject * _argo0 = 0;
6345 PyObject * _obj2 = 0;
6346 char *_kwnames[] = { "self","choices", NULL };
6347
6348 self = self;
6349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPen_SetDashes",_kwnames,&_argo0,&_obj2))
6350 return NULL;
6351 if (_argo0) {
6352 if (_argo0 == Py_None) { _arg0 = NULL; }
6353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPen_p")) {
6354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPen_SetDashes. Expected _wxPyPen_p.");
6355 return NULL;
6356 }
6357 }
6358 if (_obj2)
6359{
6360 _arg2 = (wxDash*)byte_LIST_helper(_obj2);
6361 if (_arg2 == NULL) {
6362 return NULL;
6363 }
6364}
6365{
6366 if (_obj2) {
6367 _arg1 = PyList_Size(_obj2);
6368 }
6369 else {
6370 _arg1 = 0;
6371 }
6372}
6373{
4268f798 6374 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6375 wxPyPen_SetDashes(_arg0,_arg1,_arg2);
ecc08ead 6376
4268f798 6377 wxPyEndAllowThreads(__tstate);
ecc08ead
RD
6378 if (PyErr_Occurred()) return NULL;
6379} Py_INCREF(Py_None);
6380 _resultobj = Py_None;
6381{
6382 delete [] _arg2;
6383}
6384 return _resultobj;
6385}
6386
9416aa89
RD
6387static void *SwigwxPenListTowxObject(void *ptr) {
6388 wxPenList *src;
6389 wxObject *dest;
6390 src = (wxPenList *) ptr;
6391 dest = (wxObject *) src;
6392 return (void *) dest;
6393}
6394
0569df0f
RD
6395#define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
6396static PyObject *_wrap_wxPenList_AddPen(PyObject *self, PyObject *args, PyObject *kwargs) {
6397 PyObject * _resultobj;
6398 wxPenList * _arg0;
6399 wxPen * _arg1;
6400 PyObject * _argo0 = 0;
6401 PyObject * _argo1 = 0;
6402 char *_kwnames[] = { "self","pen", NULL };
6403
6404 self = self;
6405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPenList_AddPen",_kwnames,&_argo0,&_argo1))
6406 return NULL;
6407 if (_argo0) {
6408 if (_argo0 == Py_None) { _arg0 = NULL; }
6409 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPenList_p")) {
6410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
6411 return NULL;
6412 }
6413 }
6414 if (_argo1) {
6415 if (_argo1 == Py_None) { _arg1 = NULL; }
6416 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) {
6417 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
6418 return NULL;
6419 }
6420 }
6421{
4268f798 6422 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6423 wxPenList_AddPen(_arg0,_arg1);
0569df0f 6424
4268f798 6425 wxPyEndAllowThreads(__tstate);
493f1553 6426 if (PyErr_Occurred()) return NULL;
0569df0f
RD
6427} Py_INCREF(Py_None);
6428 _resultobj = Py_None;
6429 return _resultobj;
6430}
6431
6432#define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
6433static PyObject *_wrap_wxPenList_FindOrCreatePen(PyObject *self, PyObject *args, PyObject *kwargs) {
6434 PyObject * _resultobj;
6435 wxPen * _result;
6436 wxPenList * _arg0;
6437 wxColour * _arg1;
6438 int _arg2;
6439 int _arg3;
6440 PyObject * _argo0 = 0;
6441 wxColour temp;
6442 PyObject * _obj1 = 0;
6443 char *_kwnames[] = { "self","colour","width","style", NULL };
6444 char _ptemp[128];
6445
6446 self = self;
6447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPenList_FindOrCreatePen",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
6448 return NULL;
6449 if (_argo0) {
6450 if (_argo0 == Py_None) { _arg0 = NULL; }
6451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPenList_p")) {
6452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
6453 return NULL;
6454 }
6455 }
6456{
6457 _arg1 = &temp;
6458 if (! wxColour_helper(_obj1, &_arg1))
6459 return NULL;
6460}
6461{
4268f798 6462 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6463 _result = (wxPen *)wxPenList_FindOrCreatePen(_arg0,*_arg1,_arg2,_arg3);
0569df0f 6464
4268f798 6465 wxPyEndAllowThreads(__tstate);
493f1553 6466 if (PyErr_Occurred()) return NULL;
0569df0f
RD
6467} if (_result) {
6468 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
6469 _resultobj = Py_BuildValue("s",_ptemp);
6470 } else {
6471 Py_INCREF(Py_None);
6472 _resultobj = Py_None;
6473 }
6474 return _resultobj;
6475}
6476
6477#define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
6478static PyObject *_wrap_wxPenList_RemovePen(PyObject *self, PyObject *args, PyObject *kwargs) {
6479 PyObject * _resultobj;
6480 wxPenList * _arg0;
6481 wxPen * _arg1;
6482 PyObject * _argo0 = 0;
6483 PyObject * _argo1 = 0;
6484 char *_kwnames[] = { "self","pen", NULL };
6485
6486 self = self;
6487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPenList_RemovePen",_kwnames,&_argo0,&_argo1))
6488 return NULL;
6489 if (_argo0) {
6490 if (_argo0 == Py_None) { _arg0 = NULL; }
6491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPenList_p")) {
6492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
6493 return NULL;
6494 }
6495 }
6496 if (_argo1) {
6497 if (_argo1 == Py_None) { _arg1 = NULL; }
6498 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) {
6499 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
6500 return NULL;
8ab979d7 6501 }
0569df0f
RD
6502 }
6503{
4268f798 6504 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6505 wxPenList_RemovePen(_arg0,_arg1);
8ab979d7 6506
4268f798 6507 wxPyEndAllowThreads(__tstate);
493f1553 6508 if (PyErr_Occurred()) return NULL;
0569df0f
RD
6509} Py_INCREF(Py_None);
6510 _resultobj = Py_None;
6511 return _resultobj;
6512}
6513
2f4e9287
RD
6514#define wxPenList_GetCount(_swigobj) (_swigobj->GetCount())
6515static PyObject *_wrap_wxPenList_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
6516 PyObject * _resultobj;
6517 int _result;
6518 wxPenList * _arg0;
6519 PyObject * _argo0 = 0;
6520 char *_kwnames[] = { "self", NULL };
6521
6522 self = self;
6523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPenList_GetCount",_kwnames,&_argo0))
6524 return NULL;
6525 if (_argo0) {
6526 if (_argo0 == Py_None) { _arg0 = NULL; }
6527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPenList_p")) {
6528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPenList_GetCount. Expected _wxPenList_p.");
6529 return NULL;
6530 }
6531 }
6532{
4268f798 6533 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6534 _result = (int )wxPenList_GetCount(_arg0);
2f4e9287 6535
4268f798 6536 wxPyEndAllowThreads(__tstate);
2f4e9287
RD
6537 if (PyErr_Occurred()) return NULL;
6538} _resultobj = Py_BuildValue("i",_result);
6539 return _resultobj;
6540}
6541
9416aa89
RD
6542static void *SwigwxBrushTowxGDIObject(void *ptr) {
6543 wxBrush *src;
6544 wxGDIObject *dest;
6545 src = (wxBrush *) ptr;
6546 dest = (wxGDIObject *) src;
6547 return (void *) dest;
6548}
6549
6550static void *SwigwxBrushTowxObject(void *ptr) {
6551 wxBrush *src;
6552 wxObject *dest;
6553 src = (wxBrush *) ptr;
6554 dest = (wxObject *) src;
6555 return (void *) dest;
6556}
6557
0569df0f 6558#define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
1afc06c2 6559static PyObject *_wrap_new_wxBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6560 PyObject * _resultobj;
6561 wxBrush * _result;
6562 wxColour * _arg0;
1d99702e 6563 int _arg1 = (int ) wxSOLID;
f6bcfd97
BP
6564 wxColour temp;
6565 PyObject * _obj0 = 0;
1afc06c2 6566 char *_kwnames[] = { "colour","style", NULL };
8ab979d7
RD
6567 char _ptemp[128];
6568
6569 self = self;
f6bcfd97 6570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxBrush",_kwnames,&_obj0,&_arg1))
8ab979d7 6571 return NULL;
f6bcfd97
BP
6572{
6573 _arg0 = &temp;
6574 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 6575 return NULL;
f6bcfd97 6576}
cf694132 6577{
4268f798 6578 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6579 _result = (wxBrush *)new_wxBrush(*_arg0,_arg1);
cf694132 6580
4268f798 6581 wxPyEndAllowThreads(__tstate);
493f1553 6582 if (PyErr_Occurred()) return NULL;
1d99702e
RD
6583} if (_result) {
6584 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
6585 _resultobj = Py_BuildValue("s",_ptemp);
6586 } else {
6587 Py_INCREF(Py_None);
6588 _resultobj = Py_None;
6589 }
8ab979d7
RD
6590 return _resultobj;
6591}
6592
0569df0f
RD
6593#define delete_wxBrush(_swigobj) (delete _swigobj)
6594static PyObject *_wrap_delete_wxBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
6595 PyObject * _resultobj;
6596 wxBrush * _arg0;
6597 PyObject * _argo0 = 0;
6598 char *_kwnames[] = { "self", NULL };
6599
6600 self = self;
6601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxBrush",_kwnames,&_argo0))
6602 return NULL;
6603 if (_argo0) {
6604 if (_argo0 == Py_None) { _arg0 = NULL; }
6605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
6606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
6607 return NULL;
6608 }
6609 }
6610{
4268f798 6611 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6612 delete_wxBrush(_arg0);
0569df0f 6613
4268f798 6614 wxPyEndAllowThreads(__tstate);
493f1553 6615 if (PyErr_Occurred()) return NULL;
0569df0f
RD
6616} Py_INCREF(Py_None);
6617 _resultobj = Py_None;
6618 return _resultobj;
6619}
6620
8ab979d7 6621#define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
1afc06c2 6622static PyObject *_wrap_wxBrush_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6623 PyObject * _resultobj;
6624 wxColour * _result;
6625 wxBrush * _arg0;
1d99702e 6626 PyObject * _argo0 = 0;
1afc06c2 6627 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6628 char _ptemp[128];
6629
6630 self = self;
1afc06c2 6631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrush_GetColour",_kwnames,&_argo0))
8ab979d7 6632 return NULL;
1d99702e
RD
6633 if (_argo0) {
6634 if (_argo0 == Py_None) { _arg0 = NULL; }
6635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
6636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
6637 return NULL;
6638 }
6639 }
cf694132 6640{
4268f798 6641 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6642 _result = new wxColour (wxBrush_GetColour(_arg0));
cf694132 6643
4268f798 6644 wxPyEndAllowThreads(__tstate);
493f1553 6645 if (PyErr_Occurred()) return NULL;
25832b3f
RD
6646} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
6647 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6648 return _resultobj;
6649}
6650
6651#define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
1afc06c2 6652static PyObject *_wrap_wxBrush_GetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6653 PyObject * _resultobj;
6654 wxBitmap * _result;
6655 wxBrush * _arg0;
1d99702e 6656 PyObject * _argo0 = 0;
1afc06c2 6657 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6658 char _ptemp[128];
6659
6660 self = self;
1afc06c2 6661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrush_GetStipple",_kwnames,&_argo0))
8ab979d7 6662 return NULL;
1d99702e
RD
6663 if (_argo0) {
6664 if (_argo0 == Py_None) { _arg0 = NULL; }
6665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
6666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
6667 return NULL;
6668 }
6669 }
cf694132 6670{
4268f798 6671 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6672 _result = (wxBitmap *)wxBrush_GetStipple(_arg0);
cf694132 6673
4268f798 6674 wxPyEndAllowThreads(__tstate);
493f1553 6675 if (PyErr_Occurred()) return NULL;
1d99702e
RD
6676} if (_result) {
6677 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
6678 _resultobj = Py_BuildValue("s",_ptemp);
6679 } else {
6680 Py_INCREF(Py_None);
6681 _resultobj = Py_None;
6682 }
8ab979d7
RD
6683 return _resultobj;
6684}
6685
6686#define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
1afc06c2 6687static PyObject *_wrap_wxBrush_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6688 PyObject * _resultobj;
6689 int _result;
6690 wxBrush * _arg0;
1d99702e 6691 PyObject * _argo0 = 0;
1afc06c2 6692 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6693
6694 self = self;
1afc06c2 6695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrush_GetStyle",_kwnames,&_argo0))
8ab979d7 6696 return NULL;
1d99702e
RD
6697 if (_argo0) {
6698 if (_argo0 == Py_None) { _arg0 = NULL; }
6699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
6700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
6701 return NULL;
6702 }
6703 }
cf694132 6704{
4268f798 6705 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6706 _result = (int )wxBrush_GetStyle(_arg0);
cf694132 6707
4268f798 6708 wxPyEndAllowThreads(__tstate);
493f1553 6709 if (PyErr_Occurred()) return NULL;
cf694132 6710} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6711 return _resultobj;
6712}
6713
6714#define wxBrush_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 6715static PyObject *_wrap_wxBrush_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6716 PyObject * _resultobj;
6717 bool _result;
6718 wxBrush * _arg0;
1d99702e 6719 PyObject * _argo0 = 0;
1afc06c2 6720 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6721
6722 self = self;
1afc06c2 6723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrush_Ok",_kwnames,&_argo0))
8ab979d7 6724 return NULL;
1d99702e
RD
6725 if (_argo0) {
6726 if (_argo0 == Py_None) { _arg0 = NULL; }
6727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
6728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
6729 return NULL;
6730 }
6731 }
cf694132 6732{
4268f798 6733 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6734 _result = (bool )wxBrush_Ok(_arg0);
cf694132 6735
4268f798 6736 wxPyEndAllowThreads(__tstate);
493f1553 6737 if (PyErr_Occurred()) return NULL;
cf694132 6738} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6739 return _resultobj;
6740}
6741
6742#define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
1afc06c2 6743static PyObject *_wrap_wxBrush_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6744 PyObject * _resultobj;
6745 wxBrush * _arg0;
6746 wxColour * _arg1;
1d99702e 6747 PyObject * _argo0 = 0;
f6bcfd97
BP
6748 wxColour temp;
6749 PyObject * _obj1 = 0;
1afc06c2 6750 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
6751
6752 self = self;
f6bcfd97 6753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBrush_SetColour",_kwnames,&_argo0,&_obj1))
8ab979d7 6754 return NULL;
1d99702e
RD
6755 if (_argo0) {
6756 if (_argo0 == Py_None) { _arg0 = NULL; }
6757 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
6758 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
6759 return NULL;
6760 }
6761 }
f6bcfd97
BP
6762{
6763 _arg1 = &temp;
6764 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 6765 return NULL;
f6bcfd97 6766}
cf694132 6767{
4268f798 6768 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6769 wxBrush_SetColour(_arg0,*_arg1);
cf694132 6770
4268f798 6771 wxPyEndAllowThreads(__tstate);
493f1553 6772 if (PyErr_Occurred()) return NULL;
cf694132 6773} Py_INCREF(Py_None);
8ab979d7
RD
6774 _resultobj = Py_None;
6775 return _resultobj;
6776}
6777
6778#define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
1afc06c2 6779static PyObject *_wrap_wxBrush_SetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6780 PyObject * _resultobj;
6781 wxBrush * _arg0;
6782 wxBitmap * _arg1;
1d99702e
RD
6783 PyObject * _argo0 = 0;
6784 PyObject * _argo1 = 0;
1afc06c2 6785 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
6786
6787 self = self;
1afc06c2 6788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBrush_SetStipple",_kwnames,&_argo0,&_argo1))
8ab979d7 6789 return NULL;
1d99702e
RD
6790 if (_argo0) {
6791 if (_argo0 == Py_None) { _arg0 = NULL; }
6792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
6793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
6794 return NULL;
6795 }
6796 }
1d99702e
RD
6797 if (_argo1) {
6798 if (_argo1 == Py_None) { _arg1 = NULL; }
6799 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
6800 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
6801 return NULL;
6802 }
6803 }
cf694132 6804{
4268f798 6805 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6806 wxBrush_SetStipple(_arg0,*_arg1);
cf694132 6807
4268f798 6808 wxPyEndAllowThreads(__tstate);
493f1553 6809 if (PyErr_Occurred()) return NULL;
cf694132 6810} Py_INCREF(Py_None);
8ab979d7
RD
6811 _resultobj = Py_None;
6812 return _resultobj;
6813}
6814
6815#define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1afc06c2 6816static PyObject *_wrap_wxBrush_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6817 PyObject * _resultobj;
6818 wxBrush * _arg0;
6819 int _arg1;
1d99702e 6820 PyObject * _argo0 = 0;
1afc06c2 6821 char *_kwnames[] = { "self","style", NULL };
8ab979d7
RD
6822
6823 self = self;
1afc06c2 6824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBrush_SetStyle",_kwnames,&_argo0,&_arg1))
8ab979d7 6825 return NULL;
1d99702e
RD
6826 if (_argo0) {
6827 if (_argo0 == Py_None) { _arg0 = NULL; }
6828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
6829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
6830 return NULL;
6831 }
6832 }
cf694132 6833{
4268f798 6834 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6835 wxBrush_SetStyle(_arg0,_arg1);
cf694132 6836
4268f798 6837 wxPyEndAllowThreads(__tstate);
493f1553 6838 if (PyErr_Occurred()) return NULL;
cf694132 6839} Py_INCREF(Py_None);
8ab979d7
RD
6840 _resultobj = Py_None;
6841 return _resultobj;
6842}
6843
6ee2116b
RD
6844static void *SwigwxBrushListTowxObject(void *ptr) {
6845 wxBrushList *src;
6846 wxObject *dest;
6847 src = (wxBrushList *) ptr;
6848 dest = (wxObject *) src;
6849 return (void *) dest;
6850}
6851
0569df0f
RD
6852#define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
6853static PyObject *_wrap_wxBrushList_AddBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
6854 PyObject * _resultobj;
6855 wxBrushList * _arg0;
6856 wxBrush * _arg1;
6857 PyObject * _argo0 = 0;
6858 PyObject * _argo1 = 0;
6859 char *_kwnames[] = { "self","brush", NULL };
6860
6861 self = self;
6862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBrushList_AddBrush",_kwnames,&_argo0,&_argo1))
6863 return NULL;
6864 if (_argo0) {
6865 if (_argo0 == Py_None) { _arg0 = NULL; }
6866 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrushList_p")) {
6867 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
6868 return NULL;
6869 }
6870 }
6871 if (_argo1) {
6872 if (_argo1 == Py_None) { _arg1 = NULL; }
6873 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) {
6874 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
6875 return NULL;
6876 }
6877 }
6878{
4268f798 6879 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6880 wxBrushList_AddBrush(_arg0,_arg1);
0569df0f 6881
4268f798 6882 wxPyEndAllowThreads(__tstate);
493f1553 6883 if (PyErr_Occurred()) return NULL;
0569df0f
RD
6884} Py_INCREF(Py_None);
6885 _resultobj = Py_None;
6886 return _resultobj;
6887}
6888
6889#define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
6890static PyObject *_wrap_wxBrushList_FindOrCreateBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
6891 PyObject * _resultobj;
6892 wxBrush * _result;
6893 wxBrushList * _arg0;
6894 wxColour * _arg1;
6895 int _arg2;
6896 PyObject * _argo0 = 0;
6897 wxColour temp;
6898 PyObject * _obj1 = 0;
6899 char *_kwnames[] = { "self","colour","style", NULL };
6900 char _ptemp[128];
6901
6902 self = self;
6903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxBrushList_FindOrCreateBrush",_kwnames,&_argo0,&_obj1,&_arg2))
6904 return NULL;
6905 if (_argo0) {
6906 if (_argo0 == Py_None) { _arg0 = NULL; }
6907 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrushList_p")) {
6908 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
6909 return NULL;
6910 }
6911 }
6912{
6913 _arg1 = &temp;
6914 if (! wxColour_helper(_obj1, &_arg1))
6915 return NULL;
6916}
6917{
4268f798 6918 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6919 _result = (wxBrush *)wxBrushList_FindOrCreateBrush(_arg0,*_arg1,_arg2);
0569df0f 6920
4268f798 6921 wxPyEndAllowThreads(__tstate);
493f1553 6922 if (PyErr_Occurred()) return NULL;
0569df0f
RD
6923} if (_result) {
6924 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
6925 _resultobj = Py_BuildValue("s",_ptemp);
6926 } else {
6927 Py_INCREF(Py_None);
6928 _resultobj = Py_None;
6929 }
6930 return _resultobj;
6931}
6932
6933#define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
6934static PyObject *_wrap_wxBrushList_RemoveBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
6935 PyObject * _resultobj;
6936 wxBrushList * _arg0;
6937 wxBrush * _arg1;
6938 PyObject * _argo0 = 0;
6939 PyObject * _argo1 = 0;
6940 char *_kwnames[] = { "self","brush", NULL };
6941
6942 self = self;
6943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBrushList_RemoveBrush",_kwnames,&_argo0,&_argo1))
6944 return NULL;
6945 if (_argo0) {
6946 if (_argo0 == Py_None) { _arg0 = NULL; }
6947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrushList_p")) {
6948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
6949 return NULL;
6950 }
6951 }
6952 if (_argo1) {
6953 if (_argo1 == Py_None) { _arg1 = NULL; }
6954 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) {
6955 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
6956 return NULL;
6957 }
6958 }
6959{
4268f798 6960 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6961 wxBrushList_RemoveBrush(_arg0,_arg1);
0569df0f 6962
4268f798 6963 wxPyEndAllowThreads(__tstate);
493f1553 6964 if (PyErr_Occurred()) return NULL;
0569df0f
RD
6965} Py_INCREF(Py_None);
6966 _resultobj = Py_None;
6967 return _resultobj;
6968}
6969
2f4e9287
RD
6970#define wxBrushList_GetCount(_swigobj) (_swigobj->GetCount())
6971static PyObject *_wrap_wxBrushList_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
6972 PyObject * _resultobj;
6973 int _result;
6974 wxBrushList * _arg0;
6975 PyObject * _argo0 = 0;
6976 char *_kwnames[] = { "self", NULL };
6977
6978 self = self;
6979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrushList_GetCount",_kwnames,&_argo0))
6980 return NULL;
6981 if (_argo0) {
6982 if (_argo0 == Py_None) { _arg0 = NULL; }
6983 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrushList_p")) {
6984 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrushList_GetCount. Expected _wxBrushList_p.");
6985 return NULL;
6986 }
6987 }
6988{
4268f798 6989 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6990 _result = (int )wxBrushList_GetCount(_arg0);
2f4e9287 6991
4268f798 6992 wxPyEndAllowThreads(__tstate);
2f4e9287
RD
6993 if (PyErr_Occurred()) return NULL;
6994} _resultobj = Py_BuildValue("i",_result);
6995 return _resultobj;
6996}
6997
9416aa89
RD
6998static void *SwigwxDCTowxObject(void *ptr) {
6999 wxDC *src;
7000 wxObject *dest;
7001 src = (wxDC *) ptr;
7002 dest = (wxObject *) src;
7003 return (void *) dest;
7004}
7005
8ab979d7 7006#define delete_wxDC(_swigobj) (delete _swigobj)
1afc06c2 7007static PyObject *_wrap_delete_wxDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7008 PyObject * _resultobj;
7009 wxDC * _arg0;
1d99702e 7010 PyObject * _argo0 = 0;
1afc06c2 7011 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7012
7013 self = self;
1afc06c2 7014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxDC",_kwnames,&_argo0))
8ab979d7 7015 return NULL;
1d99702e
RD
7016 if (_argo0) {
7017 if (_argo0 == Py_None) { _arg0 = NULL; }
7018 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
7020 return NULL;
7021 }
7022 }
cf694132 7023{
4268f798 7024 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7025 delete_wxDC(_arg0);
cf694132 7026
4268f798 7027 wxPyEndAllowThreads(__tstate);
493f1553 7028 if (PyErr_Occurred()) return NULL;
cf694132 7029} Py_INCREF(Py_None);
8ab979d7
RD
7030 _resultobj = Py_None;
7031 return _resultobj;
7032}
7033
7034#define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
1afc06c2 7035static PyObject *_wrap_wxDC_BeginDrawing(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7036 PyObject * _resultobj;
7037 wxDC * _arg0;
1d99702e 7038 PyObject * _argo0 = 0;
1afc06c2 7039 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7040
7041 self = self;
1afc06c2 7042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_BeginDrawing",_kwnames,&_argo0))
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_BeginDrawing. Expected _wxDC_p.");
7048 return NULL;
7049 }
7050 }
cf694132 7051{
4268f798 7052 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7053 wxDC_BeginDrawing(_arg0);
cf694132 7054
4268f798 7055 wxPyEndAllowThreads(__tstate);
493f1553 7056 if (PyErr_Occurred()) return NULL;
cf694132 7057} Py_INCREF(Py_None);
8ab979d7
RD
7058 _resultobj = Py_None;
7059 return _resultobj;
7060}
7061
efc5f224 7062#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 7063static PyObject *_wrap_wxDC_Blit(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7064 PyObject * _resultobj;
7065 bool _result;
7066 wxDC * _arg0;
7067 long _arg1;
7068 long _arg2;
7069 long _arg3;
7070 long _arg4;
7071 wxDC * _arg5;
7072 long _arg6;
7073 long _arg7;
efc5f224
RD
7074 int _arg8 = (int ) wxCOPY;
7075 int _arg9 = (int ) FALSE;
1d99702e
RD
7076 PyObject * _argo0 = 0;
7077 PyObject * _argo5 = 0;
1afc06c2 7078 char *_kwnames[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL };
8ab979d7
RD
7079
7080 self = self;
1afc06c2 7081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllllOll|ii:wxDC_Blit",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_argo5,&_arg6,&_arg7,&_arg8,&_arg9))
8ab979d7 7082 return NULL;
1d99702e
RD
7083 if (_argo0) {
7084 if (_argo0 == Py_None) { _arg0 = NULL; }
7085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
7087 return NULL;
7088 }
7089 }
1d99702e
RD
7090 if (_argo5) {
7091 if (_argo5 == Py_None) { _arg5 = NULL; }
7092 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxDC_p")) {
8ab979d7
RD
7093 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
7094 return NULL;
7095 }
7096 }
cf694132 7097{
4268f798 7098 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7099 _result = (bool )wxDC_Blit(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
cf694132 7100
4268f798 7101 wxPyEndAllowThreads(__tstate);
493f1553 7102 if (PyErr_Occurred()) return NULL;
cf694132 7103} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7104 return _resultobj;
7105}
7106
7107#define wxDC_Clear(_swigobj) (_swigobj->Clear())
1afc06c2 7108static PyObject *_wrap_wxDC_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7109 PyObject * _resultobj;
7110 wxDC * _arg0;
1d99702e 7111 PyObject * _argo0 = 0;
1afc06c2 7112 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7113
7114 self = self;
1afc06c2 7115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_Clear",_kwnames,&_argo0))
8ab979d7 7116 return NULL;
1d99702e
RD
7117 if (_argo0) {
7118 if (_argo0 == Py_None) { _arg0 = NULL; }
7119 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
7121 return NULL;
7122 }
7123 }
cf694132 7124{
4268f798 7125 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7126 wxDC_Clear(_arg0);
cf694132 7127
4268f798 7128 wxPyEndAllowThreads(__tstate);
493f1553 7129 if (PyErr_Occurred()) return NULL;
cf694132 7130} Py_INCREF(Py_None);
8ab979d7
RD
7131 _resultobj = Py_None;
7132 return _resultobj;
7133}
7134
7135#define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
1afc06c2 7136static PyObject *_wrap_wxDC_CrossHair(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7137 PyObject * _resultobj;
7138 wxDC * _arg0;
7139 long _arg1;
7140 long _arg2;
1d99702e 7141 PyObject * _argo0 = 0;
1afc06c2 7142 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
7143
7144 self = self;
1afc06c2 7145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxDC_CrossHair",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 7146 return NULL;
1d99702e
RD
7147 if (_argo0) {
7148 if (_argo0 == Py_None) { _arg0 = NULL; }
7149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
7151 return NULL;
7152 }
7153 }
cf694132 7154{
4268f798 7155 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7156 wxDC_CrossHair(_arg0,_arg1,_arg2);
cf694132 7157
4268f798 7158 wxPyEndAllowThreads(__tstate);
493f1553 7159 if (PyErr_Occurred()) return NULL;
cf694132 7160} Py_INCREF(Py_None);
8ab979d7
RD
7161 _resultobj = Py_None;
7162 return _resultobj;
7163}
7164
7165#define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
1afc06c2 7166static PyObject *_wrap_wxDC_DestroyClippingRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7167 PyObject * _resultobj;
7168 wxDC * _arg0;
1d99702e 7169 PyObject * _argo0 = 0;
1afc06c2 7170 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7171
7172 self = self;
1afc06c2 7173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_DestroyClippingRegion",_kwnames,&_argo0))
8ab979d7 7174 return NULL;
1d99702e
RD
7175 if (_argo0) {
7176 if (_argo0 == Py_None) { _arg0 = NULL; }
7177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
7179 return NULL;
7180 }
7181 }
cf694132 7182{
4268f798 7183 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7184 wxDC_DestroyClippingRegion(_arg0);
cf694132 7185
4268f798 7186 wxPyEndAllowThreads(__tstate);
493f1553 7187 if (PyErr_Occurred()) return NULL;
cf694132 7188} Py_INCREF(Py_None);
8ab979d7
RD
7189 _resultobj = Py_None;
7190 return _resultobj;
7191}
7192
7193#define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
1afc06c2 7194static PyObject *_wrap_wxDC_DeviceToLogicalX(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7195 PyObject * _resultobj;
7196 long _result;
7197 wxDC * _arg0;
7198 long _arg1;
1d99702e 7199 PyObject * _argo0 = 0;
1afc06c2 7200 char *_kwnames[] = { "self","x", NULL };
8ab979d7
RD
7201
7202 self = self;
1afc06c2 7203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_DeviceToLogicalX",_kwnames,&_argo0,&_arg1))
8ab979d7 7204 return NULL;
1d99702e
RD
7205 if (_argo0) {
7206 if (_argo0 == Py_None) { _arg0 = NULL; }
7207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
7209 return NULL;
7210 }
7211 }
cf694132 7212{
4268f798 7213 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7214 _result = (long )wxDC_DeviceToLogicalX(_arg0,_arg1);
cf694132 7215
4268f798 7216 wxPyEndAllowThreads(__tstate);
493f1553 7217 if (PyErr_Occurred()) return NULL;
cf694132 7218} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
7219 return _resultobj;
7220}
7221
7222#define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
1afc06c2 7223static PyObject *_wrap_wxDC_DeviceToLogicalXRel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7224 PyObject * _resultobj;
7225 long _result;
7226 wxDC * _arg0;
7227 long _arg1;
1d99702e 7228 PyObject * _argo0 = 0;
1afc06c2 7229 char *_kwnames[] = { "self","x", NULL };
8ab979d7
RD
7230
7231 self = self;
1afc06c2 7232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_DeviceToLogicalXRel",_kwnames,&_argo0,&_arg1))
8ab979d7 7233 return NULL;
1d99702e
RD
7234 if (_argo0) {
7235 if (_argo0 == Py_None) { _arg0 = NULL; }
7236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
7238 return NULL;
7239 }
7240 }
cf694132 7241{
4268f798 7242 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7243 _result = (long )wxDC_DeviceToLogicalXRel(_arg0,_arg1);
cf694132 7244
4268f798 7245 wxPyEndAllowThreads(__tstate);
493f1553 7246 if (PyErr_Occurred()) return NULL;
cf694132 7247} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
7248 return _resultobj;
7249}
7250
7251#define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
1afc06c2 7252static PyObject *_wrap_wxDC_DeviceToLogicalY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7253 PyObject * _resultobj;
7254 long _result;
7255 wxDC * _arg0;
7256 long _arg1;
1d99702e 7257 PyObject * _argo0 = 0;
1afc06c2 7258 char *_kwnames[] = { "self","y", NULL };
8ab979d7
RD
7259
7260 self = self;
1afc06c2 7261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_DeviceToLogicalY",_kwnames,&_argo0,&_arg1))
8ab979d7 7262 return NULL;
1d99702e
RD
7263 if (_argo0) {
7264 if (_argo0 == Py_None) { _arg0 = NULL; }
7265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
7267 return NULL;
7268 }
7269 }
cf694132 7270{
4268f798 7271 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7272 _result = (long )wxDC_DeviceToLogicalY(_arg0,_arg1);
cf694132 7273
4268f798 7274 wxPyEndAllowThreads(__tstate);
493f1553 7275 if (PyErr_Occurred()) return NULL;
cf694132 7276} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
7277 return _resultobj;
7278}
7279
7280#define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
1afc06c2 7281static PyObject *_wrap_wxDC_DeviceToLogicalYRel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7282 PyObject * _resultobj;
7283 long _result;
7284 wxDC * _arg0;
7285 long _arg1;
1d99702e 7286 PyObject * _argo0 = 0;
1afc06c2 7287 char *_kwnames[] = { "self","y", NULL };
8ab979d7
RD
7288
7289 self = self;
1afc06c2 7290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_DeviceToLogicalYRel",_kwnames,&_argo0,&_arg1))
8ab979d7 7291 return NULL;
1d99702e
RD
7292 if (_argo0) {
7293 if (_argo0 == Py_None) { _arg0 = NULL; }
7294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
7296 return NULL;
7297 }
7298 }
cf694132 7299{
4268f798 7300 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7301 _result = (long )wxDC_DeviceToLogicalYRel(_arg0,_arg1);
cf694132 7302
4268f798 7303 wxPyEndAllowThreads(__tstate);
493f1553 7304 if (PyErr_Occurred()) return NULL;
cf694132 7305} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
7306 return _resultobj;
7307}
7308
7309#define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1afc06c2 7310static PyObject *_wrap_wxDC_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7311 PyObject * _resultobj;
7312 wxDC * _arg0;
7313 long _arg1;
7314 long _arg2;
7315 long _arg3;
7316 long _arg4;
7317 long _arg5;
7318 long _arg6;
1d99702e 7319 PyObject * _argo0 = 0;
1afc06c2 7320 char *_kwnames[] = { "self","x1","y1","x2","y2","xc","yc", NULL };
8ab979d7
RD
7321
7322 self = self;
1afc06c2 7323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollllll:wxDC_DrawArc",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
8ab979d7 7324 return NULL;
1d99702e
RD
7325 if (_argo0) {
7326 if (_argo0 == Py_None) { _arg0 = NULL; }
7327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
7329 return NULL;
7330 }
7331 }
cf694132 7332{
4268f798 7333 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7334 wxDC_DrawArc(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
cf694132 7335
4268f798 7336 wxPyEndAllowThreads(__tstate);
493f1553 7337 if (PyErr_Occurred()) return NULL;
cf694132 7338} Py_INCREF(Py_None);
8ab979d7
RD
7339 _resultobj = Py_None;
7340 return _resultobj;
7341}
7342
bb0054cd 7343#define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 7344static PyObject *_wrap_wxDC_DrawCircle(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
7345 PyObject * _resultobj;
7346 wxDC * _arg0;
7347 long _arg1;
7348 long _arg2;
7349 long _arg3;
1d99702e 7350 PyObject * _argo0 = 0;
1afc06c2 7351 char *_kwnames[] = { "self","x","y","radius", NULL };
bb0054cd
RD
7352
7353 self = self;
1afc06c2 7354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olll:wxDC_DrawCircle",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
bb0054cd 7355 return NULL;
1d99702e
RD
7356 if (_argo0) {
7357 if (_argo0 == Py_None) { _arg0 = NULL; }
7358 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
bb0054cd
RD
7359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
7360 return NULL;
7361 }
7362 }
7363{
4268f798 7364 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7365 wxDC_DrawCircle(_arg0,_arg1,_arg2,_arg3);
bb0054cd 7366
4268f798 7367 wxPyEndAllowThreads(__tstate);
493f1553 7368 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
7369} Py_INCREF(Py_None);
7370 _resultobj = Py_None;
7371 return _resultobj;
7372}
7373
8ab979d7 7374#define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 7375static PyObject *_wrap_wxDC_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7376 PyObject * _resultobj;
7377 wxDC * _arg0;
7378 long _arg1;
7379 long _arg2;
7380 long _arg3;
7381 long _arg4;
1d99702e 7382 PyObject * _argo0 = 0;
1afc06c2 7383 char *_kwnames[] = { "self","x","y","width","height", NULL };
8ab979d7
RD
7384
7385 self = self;
1afc06c2 7386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxDC_DrawEllipse",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8ab979d7 7387 return NULL;
1d99702e
RD
7388 if (_argo0) {
7389 if (_argo0 == Py_None) { _arg0 = NULL; }
7390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
7392 return NULL;
7393 }
7394 }
cf694132 7395{
4268f798 7396 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7397 wxDC_DrawEllipse(_arg0,_arg1,_arg2,_arg3,_arg4);
cf694132 7398
4268f798 7399 wxPyEndAllowThreads(__tstate);
493f1553 7400 if (PyErr_Occurred()) return NULL;
cf694132 7401} Py_INCREF(Py_None);
8ab979d7
RD
7402 _resultobj = Py_None;
7403 return _resultobj;
7404}
7405
7406#define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1afc06c2 7407static PyObject *_wrap_wxDC_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7408 PyObject * _resultobj;
7409 wxDC * _arg0;
7410 long _arg1;
7411 long _arg2;
7412 long _arg3;
7413 long _arg4;
7414 long _arg5;
7415 long _arg6;
1d99702e 7416 PyObject * _argo0 = 0;
1afc06c2 7417 char *_kwnames[] = { "self","x","y","width","height","start","end", NULL };
8ab979d7
RD
7418
7419 self = self;
1afc06c2 7420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollllll:wxDC_DrawEllipticArc",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
8ab979d7 7421 return NULL;
1d99702e
RD
7422 if (_argo0) {
7423 if (_argo0 == Py_None) { _arg0 = NULL; }
7424 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7425 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
7426 return NULL;
7427 }
7428 }
cf694132 7429{
4268f798 7430 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7431 wxDC_DrawEllipticArc(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
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_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 7441static PyObject *_wrap_wxDC_DrawIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7442 PyObject * _resultobj;
7443 wxDC * _arg0;
7444 wxIcon * _arg1;
7445 long _arg2;
7446 long _arg3;
1d99702e
RD
7447 PyObject * _argo0 = 0;
7448 PyObject * _argo1 = 0;
1afc06c2 7449 char *_kwnames[] = { "self","icon","x","y", NULL };
8ab979d7
RD
7450
7451 self = self;
1afc06c2 7452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOll:wxDC_DrawIcon",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
8ab979d7 7453 return NULL;
1d99702e
RD
7454 if (_argo0) {
7455 if (_argo0 == Py_None) { _arg0 = NULL; }
7456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
7458 return NULL;
7459 }
7460 }
1d99702e
RD
7461 if (_argo1) {
7462 if (_argo1 == Py_None) { _arg1 = NULL; }
7463 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
8ab979d7
RD
7464 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
7465 return NULL;
7466 }
7467 }
cf694132 7468{
4268f798 7469 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7470 wxDC_DrawIcon(_arg0,*_arg1,_arg2,_arg3);
cf694132 7471
4268f798 7472 wxPyEndAllowThreads(__tstate);
493f1553 7473 if (PyErr_Occurred()) return NULL;
cf694132 7474} Py_INCREF(Py_None);
8ab979d7
RD
7475 _resultobj = Py_None;
7476 return _resultobj;
7477}
7478
23bed520
RD
7479#define wxDC_DrawLabel(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLabel(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7480static PyObject *_wrap_wxDC_DrawLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
7481 PyObject * _resultobj;
7482 wxDC * _arg0;
7483 wxString * _arg1;
7484 wxRect * _arg2;
7485 int _arg3 = (int ) wxALIGN_LEFT|wxALIGN_TOP;
7486 int _arg4 = (int ) -1;
7487 PyObject * _argo0 = 0;
7488 PyObject * _obj1 = 0;
7489 wxRect temp;
7490 PyObject * _obj2 = 0;
7491 char *_kwnames[] = { "self","text","rect","alignment","indexAccel", NULL };
7492
7493 self = self;
7494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|ii:wxDC_DrawLabel",_kwnames,&_argo0,&_obj1,&_obj2,&_arg3,&_arg4))
7495 return NULL;
7496 if (_argo0) {
7497 if (_argo0 == Py_None) { _arg0 = NULL; }
7498 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
7499 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawLabel. Expected _wxDC_p.");
7500 return NULL;
7501 }
7502 }
7503{
c8bc7bb8
RD
7504 _arg1 = wxString_in_helper(_obj1);
7505 if (_arg1 == NULL)
23bed520 7506 return NULL;
23bed520
RD
7507}
7508{
7509 _arg2 = &temp;
7510 if (! wxRect_helper(_obj2, &_arg2))
7511 return NULL;
7512}
7513{
7514 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7515 wxDC_DrawLabel(_arg0,*_arg1,*_arg2,_arg3,_arg4);
23bed520
RD
7516
7517 wxPyEndAllowThreads(__tstate);
7518 if (PyErr_Occurred()) return NULL;
7519} Py_INCREF(Py_None);
7520 _resultobj = Py_None;
7521{
7522 if (_obj1)
7523 delete _arg1;
7524}
7525 return _resultobj;
7526}
7527
7528static wxRect wxDC_DrawImageLabel(wxDC *self,const wxString & text,const wxBitmap & image,const wxRect & rect,int alignment,int indexAccel) {
7529 wxRect rv;
7530 self->DrawLabel(text, image, rect, alignment, indexAccel, &rv);
7531 return rv;
7532 }
7533static PyObject *_wrap_wxDC_DrawImageLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
7534 PyObject * _resultobj;
7535 wxRect * _result;
7536 wxDC * _arg0;
7537 wxString * _arg1;
7538 wxBitmap * _arg2;
7539 wxRect * _arg3;
7540 int _arg4 = (int ) wxALIGN_LEFT|wxALIGN_TOP;
7541 int _arg5 = (int ) -1;
7542 PyObject * _argo0 = 0;
7543 PyObject * _obj1 = 0;
7544 PyObject * _argo2 = 0;
7545 wxRect temp;
7546 PyObject * _obj3 = 0;
7547 char *_kwnames[] = { "self","text","image","rect","alignment","indexAccel", NULL };
7548 char _ptemp[128];
7549
7550 self = self;
7551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|ii:wxDC_DrawImageLabel",_kwnames,&_argo0,&_obj1,&_argo2,&_obj3,&_arg4,&_arg5))
7552 return NULL;
7553 if (_argo0) {
7554 if (_argo0 == Py_None) { _arg0 = NULL; }
7555 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
7556 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawImageLabel. Expected _wxDC_p.");
7557 return NULL;
7558 }
7559 }
7560{
c8bc7bb8
RD
7561 _arg1 = wxString_in_helper(_obj1);
7562 if (_arg1 == NULL)
23bed520 7563 return NULL;
23bed520
RD
7564}
7565 if (_argo2) {
7566 if (_argo2 == Py_None) { _arg2 = NULL; }
7567 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
7568 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxDC_DrawImageLabel. Expected _wxBitmap_p.");
7569 return NULL;
7570 }
7571 }
7572{
7573 _arg3 = &temp;
7574 if (! wxRect_helper(_obj3, &_arg3))
7575 return NULL;
7576}
7577{
7578 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7579 _result = new wxRect (wxDC_DrawImageLabel(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5));
23bed520
RD
7580
7581 wxPyEndAllowThreads(__tstate);
7582 if (PyErr_Occurred()) return NULL;
7583} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
7584 _resultobj = Py_BuildValue("s",_ptemp);
7585{
7586 if (_obj1)
7587 delete _arg1;
7588}
7589 return _resultobj;
7590}
7591
8ab979d7 7592#define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 7593static PyObject *_wrap_wxDC_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7594 PyObject * _resultobj;
7595 wxDC * _arg0;
7596 long _arg1;
7597 long _arg2;
7598 long _arg3;
7599 long _arg4;
1d99702e 7600 PyObject * _argo0 = 0;
1afc06c2 7601 char *_kwnames[] = { "self","x1","y1","x2","y2", NULL };
8ab979d7
RD
7602
7603 self = self;
1afc06c2 7604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxDC_DrawLine",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8ab979d7 7605 return NULL;
1d99702e
RD
7606 if (_argo0) {
7607 if (_argo0 == Py_None) { _arg0 = NULL; }
7608 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7609 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
7610 return NULL;
7611 }
7612 }
cf694132 7613{
4268f798 7614 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7615 wxDC_DrawLine(_arg0,_arg1,_arg2,_arg3,_arg4);
cf694132 7616
4268f798 7617 wxPyEndAllowThreads(__tstate);
493f1553 7618 if (PyErr_Occurred()) return NULL;
cf694132 7619} Py_INCREF(Py_None);
8ab979d7
RD
7620 _resultobj = Py_None;
7621 return _resultobj;
7622}
7623
7624#define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 7625static PyObject *_wrap_wxDC_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7626 PyObject * _resultobj;
7627 wxDC * _arg0;
7628 int _arg1;
7629 wxPoint * _arg2;
1d99702e
RD
7630 long _arg3 = (long ) 0;
7631 long _arg4 = (long ) 0;
7632 PyObject * _argo0 = 0;
e0672e2f 7633 int NPOINTS;
8ab979d7 7634 PyObject * _obj2 = 0;
eec92d76 7635 char *_kwnames[] = { "self","points","xoffset","yoffset", NULL };
8ab979d7
RD
7636
7637 self = self;
1afc06c2 7638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ll:wxDC_DrawLines",_kwnames,&_argo0,&_obj2,&_arg3,&_arg4))
8ab979d7 7639 return NULL;
1d99702e
RD
7640 if (_argo0) {
7641 if (_argo0 == Py_None) { _arg0 = NULL; }
7642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
7644 return NULL;
7645 }
7646 }
7647 if (_obj2)
7648{
e0672e2f
RD
7649 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
7650 if (_arg2 == NULL) {
7651 return NULL;
7652 }
8ab979d7
RD
7653}
7654{
e0672e2f 7655 _arg1 = NPOINTS;
8ab979d7 7656}
cf694132 7657{
4268f798 7658 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7659 wxDC_DrawLines(_arg0,_arg1,_arg2,_arg3,_arg4);
cf694132 7660
4268f798 7661 wxPyEndAllowThreads(__tstate);
493f1553 7662 if (PyErr_Occurred()) return NULL;
cf694132 7663} Py_INCREF(Py_None);
8ab979d7
RD
7664 _resultobj = Py_None;
7665{
7666 delete [] _arg2;
7667}
7668 return _resultobj;
7669}
7670
7671#define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1afc06c2 7672static PyObject *_wrap_wxDC_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7673 PyObject * _resultobj;
7674 wxDC * _arg0;
7675 int _arg1;
7676 wxPoint * _arg2;
1d99702e
RD
7677 long _arg3 = (long ) 0;
7678 long _arg4 = (long ) 0;
7679 int _arg5 = (int ) wxODDEVEN_RULE;
7680 PyObject * _argo0 = 0;
e0672e2f 7681 int NPOINTS;
8ab979d7 7682 PyObject * _obj2 = 0;
eec92d76 7683 char *_kwnames[] = { "self","points","xoffset","yoffset","fill_style", NULL };
8ab979d7
RD
7684
7685 self = self;
1afc06c2 7686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|lli:wxDC_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3,&_arg4,&_arg5))
8ab979d7 7687 return NULL;
1d99702e
RD
7688 if (_argo0) {
7689 if (_argo0 == Py_None) { _arg0 = NULL; }
7690 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7691 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
7692 return NULL;
7693 }
7694 }
7695 if (_obj2)
7696{
e0672e2f
RD
7697 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
7698 if (_arg2 == NULL) {
7699 return NULL;
7700 }
8ab979d7
RD
7701}
7702{
e0672e2f 7703 _arg1 = NPOINTS;
8ab979d7 7704}
cf694132 7705{
4268f798 7706 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7707 wxDC_DrawPolygon(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
cf694132 7708
4268f798 7709 wxPyEndAllowThreads(__tstate);
493f1553 7710 if (PyErr_Occurred()) return NULL;
cf694132 7711} Py_INCREF(Py_None);
8ab979d7
RD
7712 _resultobj = Py_None;
7713{
7714 delete [] _arg2;
7715}
7716 return _resultobj;
7717}
7718
7719#define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
1afc06c2 7720static PyObject *_wrap_wxDC_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7721 PyObject * _resultobj;
7722 wxDC * _arg0;
7723 long _arg1;
7724 long _arg2;
1d99702e 7725 PyObject * _argo0 = 0;
1afc06c2 7726 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
7727
7728 self = self;
1afc06c2 7729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxDC_DrawPoint",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 7730 return NULL;
1d99702e
RD
7731 if (_argo0) {
7732 if (_argo0 == Py_None) { _arg0 = NULL; }
7733 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
7735 return NULL;
7736 }
7737 }
cf694132 7738{
4268f798 7739 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7740 wxDC_DrawPoint(_arg0,_arg1,_arg2);
cf694132 7741
4268f798 7742 wxPyEndAllowThreads(__tstate);
493f1553 7743 if (PyErr_Occurred()) return NULL;
cf694132 7744} Py_INCREF(Py_None);
8ab979d7
RD
7745 _resultobj = Py_None;
7746 return _resultobj;
7747}
7748
7749#define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 7750static PyObject *_wrap_wxDC_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7751 PyObject * _resultobj;
7752 wxDC * _arg0;
7753 long _arg1;
7754 long _arg2;
7755 long _arg3;
7756 long _arg4;
1d99702e 7757 PyObject * _argo0 = 0;
1afc06c2 7758 char *_kwnames[] = { "self","x","y","width","height", NULL };
8ab979d7
RD
7759
7760 self = self;
1afc06c2 7761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxDC_DrawRectangle",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8ab979d7 7762 return NULL;
1d99702e
RD
7763 if (_argo0) {
7764 if (_argo0 == Py_None) { _arg0 = NULL; }
7765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
7767 return NULL;
7768 }
7769 }
cf694132 7770{
4268f798 7771 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7772 wxDC_DrawRectangle(_arg0,_arg1,_arg2,_arg3,_arg4);
cf694132 7773
4268f798 7774 wxPyEndAllowThreads(__tstate);
493f1553 7775 if (PyErr_Occurred()) return NULL;
cf694132 7776} Py_INCREF(Py_None);
8ab979d7
RD
7777 _resultobj = Py_None;
7778 return _resultobj;
7779}
7780
6999b0d8
RD
7781#define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7782static PyObject *_wrap_wxDC_DrawRotatedText(PyObject *self, PyObject *args, PyObject *kwargs) {
7783 PyObject * _resultobj;
7784 wxDC * _arg0;
7785 wxString * _arg1;
7786 wxCoord _arg2;
7787 wxCoord _arg3;
7788 double _arg4;
7789 PyObject * _argo0 = 0;
7790 PyObject * _obj1 = 0;
7791 char *_kwnames[] = { "self","text","x","y","angle", NULL };
7792
7793 self = self;
7794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiid:wxDC_DrawRotatedText",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_arg4))
7795 return NULL;
7796 if (_argo0) {
7797 if (_argo0 == Py_None) { _arg0 = NULL; }
7798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
7799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
7800 return NULL;
7801 }
7802 }
7803{
c8bc7bb8
RD
7804 _arg1 = wxString_in_helper(_obj1);
7805 if (_arg1 == NULL)
185d7c3e 7806 return NULL;
6999b0d8
RD
7807}
7808{
4268f798 7809 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7810 wxDC_DrawRotatedText(_arg0,*_arg1,_arg2,_arg3,_arg4);
6999b0d8 7811
4268f798 7812 wxPyEndAllowThreads(__tstate);
493f1553 7813 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
7814} Py_INCREF(Py_None);
7815 _resultobj = Py_None;
7816{
7817 if (_obj1)
7818 delete _arg1;
7819}
7820 return _resultobj;
7821}
7822
8ab979d7 7823#define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1afc06c2 7824static PyObject *_wrap_wxDC_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7825 PyObject * _resultobj;
7826 wxDC * _arg0;
7827 long _arg1;
7828 long _arg2;
7829 long _arg3;
7830 long _arg4;
1d99702e
RD
7831 long _arg5 = (long ) 20;
7832 PyObject * _argo0 = 0;
1afc06c2 7833 char *_kwnames[] = { "self","x","y","width","height","radius", NULL };
8ab979d7
RD
7834
7835 self = self;
1afc06c2 7836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
8ab979d7 7837 return NULL;
1d99702e
RD
7838 if (_argo0) {
7839 if (_argo0 == Py_None) { _arg0 = NULL; }
7840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
7842 return NULL;
7843 }
7844 }
cf694132 7845{
4268f798 7846 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7847 wxDC_DrawRoundedRectangle(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
cf694132 7848
4268f798 7849 wxPyEndAllowThreads(__tstate);
493f1553 7850 if (PyErr_Occurred()) return NULL;
cf694132 7851} Py_INCREF(Py_None);
8ab979d7
RD
7852 _resultobj = Py_None;
7853 return _resultobj;
7854}
7855
7856#define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
1afc06c2 7857static PyObject *_wrap_wxDC_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7858 PyObject * _resultobj;
7859 wxDC * _arg0;
7860 int _arg1;
7861 wxPoint * _arg2;
1d99702e 7862 PyObject * _argo0 = 0;
e0672e2f 7863 int NPOINTS;
8ab979d7 7864 PyObject * _obj2 = 0;
eec92d76 7865 char *_kwnames[] = { "self","points", NULL };
8ab979d7
RD
7866
7867 self = self;
1afc06c2 7868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_DrawSpline",_kwnames,&_argo0,&_obj2))
8ab979d7 7869 return NULL;
1d99702e
RD
7870 if (_argo0) {
7871 if (_argo0 == Py_None) { _arg0 = NULL; }
7872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
7874 return NULL;
7875 }
7876 }
7877 if (_obj2)
7878{
e0672e2f
RD
7879 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
7880 if (_arg2 == NULL) {
7881 return NULL;
7882 }
8ab979d7
RD
7883}
7884{
e0672e2f 7885 _arg1 = NPOINTS;
8ab979d7 7886}
cf694132 7887{
4268f798 7888 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7889 wxDC_DrawSpline(_arg0,_arg1,_arg2);
cf694132 7890
4268f798 7891 wxPyEndAllowThreads(__tstate);
493f1553 7892 if (PyErr_Occurred()) return NULL;
cf694132 7893} Py_INCREF(Py_None);
8ab979d7
RD
7894 _resultobj = Py_None;
7895{
7896 delete [] _arg2;
7897}
7898 return _resultobj;
7899}
7900
7901#define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 7902static PyObject *_wrap_wxDC_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7903 PyObject * _resultobj;
7904 wxDC * _arg0;
7905 wxString * _arg1;
7906 long _arg2;
7907 long _arg3;
1d99702e 7908 PyObject * _argo0 = 0;
8ab979d7 7909 PyObject * _obj1 = 0;
1afc06c2 7910 char *_kwnames[] = { "self","text","x","y", NULL };
8ab979d7
RD
7911
7912 self = self;
1afc06c2 7913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOll:wxDC_DrawText",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
8ab979d7 7914 return NULL;
1d99702e
RD
7915 if (_argo0) {
7916 if (_argo0 == Py_None) { _arg0 = NULL; }
7917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
7919 return NULL;
7920 }
7921 }
7922{
c8bc7bb8
RD
7923 _arg1 = wxString_in_helper(_obj1);
7924 if (_arg1 == NULL)
185d7c3e 7925 return NULL;
8ab979d7 7926}
cf694132 7927{
4268f798 7928 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7929 wxDC_DrawText(_arg0,*_arg1,_arg2,_arg3);
cf694132 7930
4268f798 7931 wxPyEndAllowThreads(__tstate);
493f1553 7932 if (PyErr_Occurred()) return NULL;
cf694132 7933} Py_INCREF(Py_None);
8ab979d7
RD
7934 _resultobj = Py_None;
7935{
7936 if (_obj1)
7937 delete _arg1;
7938}
7939 return _resultobj;
7940}
7941
7942#define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
1afc06c2 7943static PyObject *_wrap_wxDC_EndDoc(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7944 PyObject * _resultobj;
7945 wxDC * _arg0;
1d99702e 7946 PyObject * _argo0 = 0;
1afc06c2 7947 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7948
7949 self = self;
1afc06c2 7950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_EndDoc",_kwnames,&_argo0))
8ab979d7 7951 return NULL;
1d99702e
RD
7952 if (_argo0) {
7953 if (_argo0 == Py_None) { _arg0 = NULL; }
7954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
7956 return NULL;
7957 }
7958 }
cf694132 7959{
4268f798 7960 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7961 wxDC_EndDoc(_arg0);
cf694132 7962
4268f798 7963 wxPyEndAllowThreads(__tstate);
493f1553 7964 if (PyErr_Occurred()) return NULL;
cf694132 7965} Py_INCREF(Py_None);
8ab979d7
RD
7966 _resultobj = Py_None;
7967 return _resultobj;
7968}
7969
7970#define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
1afc06c2 7971static PyObject *_wrap_wxDC_EndDrawing(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7972 PyObject * _resultobj;
7973 wxDC * _arg0;
1d99702e 7974 PyObject * _argo0 = 0;
1afc06c2 7975 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7976
7977 self = self;
1afc06c2 7978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_EndDrawing",_kwnames,&_argo0))
8ab979d7 7979 return NULL;
1d99702e
RD
7980 if (_argo0) {
7981 if (_argo0 == Py_None) { _arg0 = NULL; }
7982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
7984 return NULL;
7985 }
7986 }
cf694132 7987{
4268f798 7988 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7989 wxDC_EndDrawing(_arg0);
cf694132 7990
4268f798 7991 wxPyEndAllowThreads(__tstate);
493f1553 7992 if (PyErr_Occurred()) return NULL;
cf694132 7993} Py_INCREF(Py_None);
8ab979d7
RD
7994 _resultobj = Py_None;
7995 return _resultobj;
7996}
7997
7998#define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
1afc06c2 7999static PyObject *_wrap_wxDC_EndPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8000 PyObject * _resultobj;
8001 wxDC * _arg0;
1d99702e 8002 PyObject * _argo0 = 0;
1afc06c2 8003 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8004
8005 self = self;
1afc06c2 8006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_EndPage",_kwnames,&_argo0))
8ab979d7 8007 return NULL;
1d99702e
RD
8008 if (_argo0) {
8009 if (_argo0 == Py_None) { _arg0 = NULL; }
8010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
8012 return NULL;
8013 }
8014 }
cf694132 8015{
4268f798 8016 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8017 wxDC_EndPage(_arg0);
cf694132 8018
4268f798 8019 wxPyEndAllowThreads(__tstate);
493f1553 8020 if (PyErr_Occurred()) return NULL;
cf694132 8021} Py_INCREF(Py_None);
8ab979d7
RD
8022 _resultobj = Py_None;
8023 return _resultobj;
8024}
8025
be4d9c1f 8026#define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 8027static PyObject *_wrap_wxDC_FloodFill(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f
RD
8028 PyObject * _resultobj;
8029 wxDC * _arg0;
8030 long _arg1;
8031 long _arg2;
8032 wxColour * _arg3;
1d99702e
RD
8033 int _arg4 = (int ) wxFLOOD_SURFACE;
8034 PyObject * _argo0 = 0;
f6bcfd97
BP
8035 wxColour temp;
8036 PyObject * _obj3 = 0;
1afc06c2 8037 char *_kwnames[] = { "self","x","y","colour","style", NULL };
be4d9c1f
RD
8038
8039 self = self;
f6bcfd97 8040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO|i:wxDC_FloodFill",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4))
be4d9c1f 8041 return NULL;
1d99702e
RD
8042 if (_argo0) {
8043 if (_argo0 == Py_None) { _arg0 = NULL; }
8044 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
be4d9c1f
RD
8045 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
8046 return NULL;
8047 }
8048 }
f6bcfd97
BP
8049{
8050 _arg3 = &temp;
8051 if (! wxColour_helper(_obj3, &_arg3))
be4d9c1f 8052 return NULL;
f6bcfd97 8053}
cf694132 8054{
4268f798 8055 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8056 wxDC_FloodFill(_arg0,_arg1,_arg2,*_arg3,_arg4);
cf694132 8057
4268f798 8058 wxPyEndAllowThreads(__tstate);
493f1553 8059 if (PyErr_Occurred()) return NULL;
cf694132 8060} Py_INCREF(Py_None);
be4d9c1f
RD
8061 _resultobj = Py_None;
8062 return _resultobj;
8063}
8064
8ab979d7 8065#define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
1afc06c2 8066static PyObject *_wrap_wxDC_GetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8067 PyObject * _resultobj;
8068 wxBrush * _result;
8069 wxDC * _arg0;
1d99702e 8070 PyObject * _argo0 = 0;
1afc06c2 8071 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8072 char _ptemp[128];
8073
8074 self = self;
1afc06c2 8075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetBackground",_kwnames,&_argo0))
8ab979d7 8076 return NULL;
1d99702e
RD
8077 if (_argo0) {
8078 if (_argo0 == Py_None) { _arg0 = NULL; }
8079 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
8081 return NULL;
8082 }
8083 }
cf694132 8084{
4268f798 8085 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8086 _result = new wxBrush (wxDC_GetBackground(_arg0));
cf694132 8087
4268f798 8088 wxPyEndAllowThreads(__tstate);
493f1553 8089 if (PyErr_Occurred()) return NULL;
c5943253
RD
8090} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBrush_p");
8091 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8092 return _resultobj;
8093}
8094
8095#define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
1afc06c2 8096static PyObject *_wrap_wxDC_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8097 PyObject * _resultobj;
8098 wxBrush * _result;
8099 wxDC * _arg0;
1d99702e 8100 PyObject * _argo0 = 0;
1afc06c2 8101 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8102 char _ptemp[128];
8103
8104 self = self;
1afc06c2 8105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetBrush",_kwnames,&_argo0))
8ab979d7 8106 return NULL;
1d99702e
RD
8107 if (_argo0) {
8108 if (_argo0 == Py_None) { _arg0 = NULL; }
8109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
8111 return NULL;
8112 }
8113 }
cf694132 8114{
4268f798 8115 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8116 _result = new wxBrush (wxDC_GetBrush(_arg0));
cf694132 8117
4268f798 8118 wxPyEndAllowThreads(__tstate);
493f1553 8119 if (PyErr_Occurred()) return NULL;
c5943253
RD
8120} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBrush_p");
8121 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8122 return _resultobj;
8123}
8124
8125#define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1afc06c2 8126static PyObject *_wrap_wxDC_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8127 PyObject * _resultobj;
8128 long _result;
8129 wxDC * _arg0;
1d99702e 8130 PyObject * _argo0 = 0;
1afc06c2 8131 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8132
8133 self = self;
1afc06c2 8134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetCharHeight",_kwnames,&_argo0))
8ab979d7 8135 return NULL;
1d99702e
RD
8136 if (_argo0) {
8137 if (_argo0 == Py_None) { _arg0 = NULL; }
8138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
8140 return NULL;
8141 }
8142 }
cf694132 8143{
4268f798 8144 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8145 _result = (long )wxDC_GetCharHeight(_arg0);
cf694132 8146
4268f798 8147 wxPyEndAllowThreads(__tstate);
493f1553 8148 if (PyErr_Occurred()) return NULL;
cf694132 8149} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
8150 return _resultobj;
8151}
8152
8153#define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1afc06c2 8154static PyObject *_wrap_wxDC_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8155 PyObject * _resultobj;
8156 long _result;
8157 wxDC * _arg0;
1d99702e 8158 PyObject * _argo0 = 0;
1afc06c2 8159 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8160
8161 self = self;
1afc06c2 8162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetCharWidth",_kwnames,&_argo0))
8ab979d7 8163 return NULL;
1d99702e
RD
8164 if (_argo0) {
8165 if (_argo0 == Py_None) { _arg0 = NULL; }
8166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
8168 return NULL;
8169 }
8170 }
cf694132 8171{
4268f798 8172 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8173 _result = (long )wxDC_GetCharWidth(_arg0);
cf694132 8174
4268f798 8175 wxPyEndAllowThreads(__tstate);
493f1553 8176 if (PyErr_Occurred()) return NULL;
cf694132 8177} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
8178 return _resultobj;
8179}
8180
8181#define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 8182static PyObject *_wrap_wxDC_GetClippingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8183 PyObject * _resultobj;
8184 wxDC * _arg0;
8185 long * _arg1;
8186 long temp;
8187 long * _arg2;
8188 long temp0;
8189 long * _arg3;
8190 long temp1;
8191 long * _arg4;
8192 long temp2;
1d99702e 8193 PyObject * _argo0 = 0;
1afc06c2 8194 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8195
8196 self = self;
8197{
8198 _arg1 = &temp;
8199}
8200{
8201 _arg2 = &temp0;
8202}
8203{
8204 _arg3 = &temp1;
8205}
8206{
8207 _arg4 = &temp2;
8208}
1afc06c2 8209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetClippingBox",_kwnames,&_argo0))
8ab979d7 8210 return NULL;
1d99702e
RD
8211 if (_argo0) {
8212 if (_argo0 == Py_None) { _arg0 = NULL; }
8213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
8215 return NULL;
8216 }
8217 }
cf694132 8218{
4268f798 8219 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8220 wxDC_GetClippingBox(_arg0,_arg1,_arg2,_arg3,_arg4);
cf694132 8221
4268f798 8222 wxPyEndAllowThreads(__tstate);
493f1553 8223 if (PyErr_Occurred()) return NULL;
cf694132 8224} Py_INCREF(Py_None);
8ab979d7
RD
8225 _resultobj = Py_None;
8226{
8227 PyObject *o;
8228 o = PyInt_FromLong((long) (*_arg1));
8229 _resultobj = t_output_helper(_resultobj, o);
8230}
8231{
8232 PyObject *o;
8233 o = PyInt_FromLong((long) (*_arg2));
8234 _resultobj = t_output_helper(_resultobj, o);
8235}
8236{
8237 PyObject *o;
8238 o = PyInt_FromLong((long) (*_arg3));
8239 _resultobj = t_output_helper(_resultobj, o);
8240}
8241{
8242 PyObject *o;
8243 o = PyInt_FromLong((long) (*_arg4));
8244 _resultobj = t_output_helper(_resultobj, o);
8245}
8246 return _resultobj;
8247}
8248
8249#define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
1afc06c2 8250static PyObject *_wrap_wxDC_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8251 PyObject * _resultobj;
8252 wxFont * _result;
8253 wxDC * _arg0;
1d99702e 8254 PyObject * _argo0 = 0;
1afc06c2 8255 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8256 char _ptemp[128];
8257
8258 self = self;
1afc06c2 8259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetFont",_kwnames,&_argo0))
8ab979d7 8260 return NULL;
1d99702e
RD
8261 if (_argo0) {
8262 if (_argo0 == Py_None) { _arg0 = NULL; }
8263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
8265 return NULL;
8266 }
8267 }
cf694132 8268{
4268f798 8269 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8270 _result = new wxFont (wxDC_GetFont(_arg0));
cf694132 8271
4268f798 8272 wxPyEndAllowThreads(__tstate);
493f1553 8273 if (PyErr_Occurred()) return NULL;
c5943253
RD
8274} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
8275 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8276 return _resultobj;
8277}
8278
8279#define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
1afc06c2 8280static PyObject *_wrap_wxDC_GetLogicalFunction(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8281 PyObject * _resultobj;
8282 int _result;
8283 wxDC * _arg0;
1d99702e 8284 PyObject * _argo0 = 0;
1afc06c2 8285 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8286
8287 self = self;
1afc06c2 8288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetLogicalFunction",_kwnames,&_argo0))
8ab979d7 8289 return NULL;
1d99702e
RD
8290 if (_argo0) {
8291 if (_argo0 == Py_None) { _arg0 = NULL; }
8292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
8294 return NULL;
8295 }
8296 }
cf694132 8297{
4268f798 8298 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8299 _result = (int )wxDC_GetLogicalFunction(_arg0);
cf694132 8300
4268f798 8301 wxPyEndAllowThreads(__tstate);
493f1553 8302 if (PyErr_Occurred()) return NULL;
cf694132 8303} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8304 return _resultobj;
8305}
8306
eec92d76
RD
8307#define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
8308static PyObject *_wrap_wxDC_GetLogicalScale(PyObject *self, PyObject *args, PyObject *kwargs) {
8309 PyObject * _resultobj;
8310 wxDC * _arg0;
8311 double * _arg1;
8312 double temp;
8313 double * _arg2;
8314 double temp0;
8315 PyObject * _argo0 = 0;
8316 char *_kwnames[] = { "self", NULL };
8317
8318 self = self;
8319{
8320 _arg1 = &temp;
8321}
8322{
8323 _arg2 = &temp0;
8324}
8325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetLogicalScale",_kwnames,&_argo0))
8326 return NULL;
8327 if (_argo0) {
8328 if (_argo0 == Py_None) { _arg0 = NULL; }
8329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
8331 return NULL;
8332 }
8333 }
8334{
4268f798 8335 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8336 wxDC_GetLogicalScale(_arg0,_arg1,_arg2);
eec92d76 8337
4268f798 8338 wxPyEndAllowThreads(__tstate);
493f1553 8339 if (PyErr_Occurred()) return NULL;
eec92d76
RD
8340} Py_INCREF(Py_None);
8341 _resultobj = Py_None;
8342{
8343 PyObject *o;
8344 o = PyFloat_FromDouble((double) (*_arg1));
8345 _resultobj = t_output_helper(_resultobj, o);
8346}
8347{
8348 PyObject *o;
8349 o = PyFloat_FromDouble((double) (*_arg2));
8350 _resultobj = t_output_helper(_resultobj, o);
8351}
8352 return _resultobj;
8353}
8354
8ab979d7 8355#define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
1afc06c2 8356static PyObject *_wrap_wxDC_GetMapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8357 PyObject * _resultobj;
8358 int _result;
8359 wxDC * _arg0;
1d99702e 8360 PyObject * _argo0 = 0;
1afc06c2 8361 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8362
8363 self = self;
1afc06c2 8364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetMapMode",_kwnames,&_argo0))
8ab979d7 8365 return NULL;
1d99702e
RD
8366 if (_argo0) {
8367 if (_argo0 == Py_None) { _arg0 = NULL; }
8368 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8369 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
8370 return NULL;
8371 }
8372 }
cf694132 8373{
4268f798 8374 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8375 _result = (int )wxDC_GetMapMode(_arg0);
cf694132 8376
4268f798 8377 wxPyEndAllowThreads(__tstate);
493f1553 8378 if (PyErr_Occurred()) return NULL;
cf694132 8379} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8380 return _resultobj;
8381}
8382
8383#define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
1afc06c2 8384static PyObject *_wrap_wxDC_GetOptimization(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8385 PyObject * _resultobj;
8386 bool _result;
8387 wxDC * _arg0;
1d99702e 8388 PyObject * _argo0 = 0;
1afc06c2 8389 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8390
8391 self = self;
1afc06c2 8392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetOptimization",_kwnames,&_argo0))
8ab979d7 8393 return NULL;
1d99702e
RD
8394 if (_argo0) {
8395 if (_argo0 == Py_None) { _arg0 = NULL; }
8396 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8397 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
8398 return NULL;
8399 }
8400 }
cf694132 8401{
4268f798 8402 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8403 _result = (bool )wxDC_GetOptimization(_arg0);
cf694132 8404
4268f798 8405 wxPyEndAllowThreads(__tstate);
493f1553 8406 if (PyErr_Occurred()) return NULL;
cf694132 8407} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8408 return _resultobj;
8409}
8410
8411#define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
1afc06c2 8412static PyObject *_wrap_wxDC_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8413 PyObject * _resultobj;
8414 wxPen * _result;
8415 wxDC * _arg0;
1d99702e 8416 PyObject * _argo0 = 0;
1afc06c2 8417 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8418 char _ptemp[128];
8419
8420 self = self;
1afc06c2 8421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetPen",_kwnames,&_argo0))
8ab979d7 8422 return NULL;
1d99702e
RD
8423 if (_argo0) {
8424 if (_argo0 == Py_None) { _arg0 = NULL; }
8425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
8427 return NULL;
8428 }
8429 }
cf694132 8430{
4268f798 8431 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8432 _result = new wxPen (wxDC_GetPen(_arg0));
cf694132 8433
4268f798 8434 wxPyEndAllowThreads(__tstate);
493f1553 8435 if (PyErr_Occurred()) return NULL;
c5943253
RD
8436} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPen_p");
8437 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8438 return _resultobj;
8439}
8440
8441static wxColour * wxDC_GetPixel(wxDC *self,long x,long y) {
8442 wxColour* wc = new wxColour();
8443 self->GetPixel(x, y, wc);
8444 return wc;
8445 }
1afc06c2 8446static PyObject *_wrap_wxDC_GetPixel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8447 PyObject * _resultobj;
8448 wxColour * _result;
8449 wxDC * _arg0;
8450 long _arg1;
8451 long _arg2;
1d99702e 8452 PyObject * _argo0 = 0;
1afc06c2 8453 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
8454 char _ptemp[128];
8455
8456 self = self;
1afc06c2 8457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxDC_GetPixel",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 8458 return NULL;
1d99702e
RD
8459 if (_argo0) {
8460 if (_argo0 == Py_None) { _arg0 = NULL; }
8461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
8463 return NULL;
8464 }
8465 }
cf694132 8466{
4268f798 8467 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8468 _result = (wxColour *)wxDC_GetPixel(_arg0,_arg1,_arg2);
cf694132 8469
4268f798 8470 wxPyEndAllowThreads(__tstate);
493f1553 8471 if (PyErr_Occurred()) return NULL;
1d99702e
RD
8472} if (_result) {
8473 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
8474 _resultobj = Py_BuildValue("s",_ptemp);
8475 } else {
8476 Py_INCREF(Py_None);
8477 _resultobj = Py_None;
8478 }
8ab979d7
RD
8479 return _resultobj;
8480}
8481
bb0054cd 8482#define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1afc06c2 8483static PyObject *_wrap_wxDC_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8484 PyObject * _resultobj;
8485 wxDC * _arg0;
8486 int * _arg1;
8487 int temp;
8488 int * _arg2;
8489 int temp0;
1d99702e 8490 PyObject * _argo0 = 0;
1afc06c2 8491 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8492
8493 self = self;
8494{
8495 _arg1 = &temp;
8496}
8497{
8498 _arg2 = &temp0;
8499}
1afc06c2 8500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetSizeTuple",_kwnames,&_argo0))
8ab979d7 8501 return NULL;
1d99702e
RD
8502 if (_argo0) {
8503 if (_argo0 == Py_None) { _arg0 = NULL; }
8504 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
bb0054cd 8505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
8ab979d7
RD
8506 return NULL;
8507 }
8508 }
cf694132 8509{
4268f798 8510 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8511 wxDC_GetSizeTuple(_arg0,_arg1,_arg2);
cf694132 8512
4268f798 8513 wxPyEndAllowThreads(__tstate);
493f1553 8514 if (PyErr_Occurred()) return NULL;
cf694132 8515} Py_INCREF(Py_None);
8ab979d7
RD
8516 _resultobj = Py_None;
8517{
8518 PyObject *o;
8519 o = PyInt_FromLong((long) (*_arg1));
8520 _resultobj = t_output_helper(_resultobj, o);
8521}
8522{
8523 PyObject *o;
8524 o = PyInt_FromLong((long) (*_arg2));
8525 _resultobj = t_output_helper(_resultobj, o);
8526}
8527 return _resultobj;
8528}
8529
bb0054cd 8530#define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
1afc06c2 8531static PyObject *_wrap_wxDC_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
8532 PyObject * _resultobj;
8533 wxSize * _result;
8534 wxDC * _arg0;
1d99702e 8535 PyObject * _argo0 = 0;
1afc06c2 8536 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
8537 char _ptemp[128];
8538
8539 self = self;
1afc06c2 8540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetSize",_kwnames,&_argo0))
bb0054cd 8541 return NULL;
1d99702e
RD
8542 if (_argo0) {
8543 if (_argo0 == Py_None) { _arg0 = NULL; }
8544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
bb0054cd
RD
8545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
8546 return NULL;
8547 }
8548 }
8549{
4268f798 8550 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8551 _result = new wxSize (wxDC_GetSize(_arg0));
bb0054cd 8552
4268f798 8553 wxPyEndAllowThreads(__tstate);
493f1553 8554 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
8555} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
8556 _resultobj = Py_BuildValue("s",_ptemp);
8557 return _resultobj;
8558}
8559
eec92d76
RD
8560#define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
8561static PyObject *_wrap_wxDC_GetSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
8562 PyObject * _resultobj;
8563 wxSize * _result;
8564 wxDC * _arg0;
8565 PyObject * _argo0 = 0;
8566 char *_kwnames[] = { "self", NULL };
8567 char _ptemp[128];
8568
8569 self = self;
8570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetSizeMM",_kwnames,&_argo0))
8571 return NULL;
8572 if (_argo0) {
8573 if (_argo0 == Py_None) { _arg0 = NULL; }
8574 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
8576 return NULL;
8577 }
8578 }
8579{
4268f798 8580 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8581 _result = new wxSize (wxDC_GetSizeMM(_arg0));
eec92d76 8582
4268f798 8583 wxPyEndAllowThreads(__tstate);
493f1553 8584 if (PyErr_Occurred()) return NULL;
eec92d76
RD
8585} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
8586 _resultobj = Py_BuildValue("s",_ptemp);
8587 return _resultobj;
8588}
8589
8ab979d7 8590#define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
1afc06c2 8591static PyObject *_wrap_wxDC_GetTextBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8592 PyObject * _resultobj;
8593 wxColour * _result;
8594 wxDC * _arg0;
1d99702e 8595 PyObject * _argo0 = 0;
1afc06c2 8596 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8597 char _ptemp[128];
8598
8599 self = self;
1afc06c2 8600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetTextBackground",_kwnames,&_argo0))
8ab979d7 8601 return NULL;
1d99702e
RD
8602 if (_argo0) {
8603 if (_argo0 == Py_None) { _arg0 = NULL; }
8604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
8606 return NULL;
8607 }
8608 }
cf694132 8609{
4268f798 8610 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8611 _result = new wxColour (wxDC_GetTextBackground(_arg0));
cf694132 8612
4268f798 8613 wxPyEndAllowThreads(__tstate);
493f1553 8614 if (PyErr_Occurred()) return NULL;
25832b3f
RD
8615} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8616 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8617 return _resultobj;
8618}
8619
af309447 8620#define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 8621static PyObject *_wrap_wxDC_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
8622 PyObject * _resultobj;
8623 wxDC * _arg0;
8624 wxString * _arg1;
8625 long * _arg2;
8626 long temp;
8627 long * _arg3;
8628 long temp0;
1d99702e 8629 PyObject * _argo0 = 0;
af309447 8630 PyObject * _obj1 = 0;
1afc06c2 8631 char *_kwnames[] = { "self","string", NULL };
af309447
RD
8632
8633 self = self;
8634{
8635 _arg2 = &temp;
8636}
8637{
8638 _arg3 = &temp0;
8639}
1afc06c2 8640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_GetTextExtent",_kwnames,&_argo0,&_obj1))
af309447 8641 return NULL;
1d99702e
RD
8642 if (_argo0) {
8643 if (_argo0 == Py_None) { _arg0 = NULL; }
8644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
af309447
RD
8645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
8646 return NULL;
8647 }
8648 }
8649{
c8bc7bb8
RD
8650 _arg1 = wxString_in_helper(_obj1);
8651 if (_arg1 == NULL)
185d7c3e 8652 return NULL;
af309447 8653}
cf694132 8654{
4268f798 8655 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8656 wxDC_GetTextExtent(_arg0,*_arg1,_arg2,_arg3);
cf694132 8657
4268f798 8658 wxPyEndAllowThreads(__tstate);
493f1553 8659 if (PyErr_Occurred()) return NULL;
cf694132 8660} Py_INCREF(Py_None);
af309447
RD
8661 _resultobj = Py_None;
8662{
8663 PyObject *o;
8664 o = PyInt_FromLong((long) (*_arg2));
8665 _resultobj = t_output_helper(_resultobj, o);
8666}
8667{
8668 PyObject *o;
8669 o = PyInt_FromLong((long) (*_arg3));
8670 _resultobj = t_output_helper(_resultobj, o);
8671}
8672{
8673 if (_obj1)
8674 delete _arg1;
8675}
8676 return _resultobj;
8677}
8678
8679#define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1afc06c2 8680static PyObject *_wrap_wxDC_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8681 PyObject * _resultobj;
8682 wxDC * _arg0;
8683 wxString * _arg1;
8684 long * _arg2;
8685 long temp;
8686 long * _arg3;
8687 long temp0;
8688 long * _arg4;
8689 long temp1;
8690 long * _arg5;
8691 long temp2;
1d99702e
RD
8692 wxFont * _arg6 = (wxFont *) NULL;
8693 PyObject * _argo0 = 0;
8ab979d7 8694 PyObject * _obj1 = 0;
1d99702e 8695 PyObject * _argo6 = 0;
1afc06c2 8696 char *_kwnames[] = { "self","string","font", NULL };
8ab979d7
RD
8697
8698 self = self;
8699{
8700 _arg2 = &temp;
8701}
8702{
8703 _arg3 = &temp0;
8704}
8705{
8706 _arg4 = &temp1;
8707}
8708{
8709 _arg5 = &temp2;
8710}
1afc06c2 8711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxDC_GetFullTextExtent",_kwnames,&_argo0,&_obj1,&_argo6))
8ab979d7 8712 return NULL;
1d99702e
RD
8713 if (_argo0) {
8714 if (_argo0 == Py_None) { _arg0 = NULL; }
8715 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
af309447 8716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
8ab979d7
RD
8717 return NULL;
8718 }
8719 }
8720{
c8bc7bb8
RD
8721 _arg1 = wxString_in_helper(_obj1);
8722 if (_arg1 == NULL)
185d7c3e 8723 return NULL;
8ab979d7 8724}
1d99702e
RD
8725 if (_argo6) {
8726 if (_argo6 == Py_None) { _arg6 = NULL; }
8727 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxFont_p")) {
af309447
RD
8728 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
8729 return NULL;
8730 }
8731 }
cf694132 8732{
4268f798 8733 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8734 wxDC_GetFullTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
cf694132 8735
4268f798 8736 wxPyEndAllowThreads(__tstate);
493f1553 8737 if (PyErr_Occurred()) return NULL;
cf694132 8738} Py_INCREF(Py_None);
8ab979d7
RD
8739 _resultobj = Py_None;
8740{
8741 PyObject *o;
8742 o = PyInt_FromLong((long) (*_arg2));
8743 _resultobj = t_output_helper(_resultobj, o);
8744}
8745{
8746 PyObject *o;
8747 o = PyInt_FromLong((long) (*_arg3));
8748 _resultobj = t_output_helper(_resultobj, o);
8749}
8750{
8751 PyObject *o;
8752 o = PyInt_FromLong((long) (*_arg4));
8753 _resultobj = t_output_helper(_resultobj, o);
8754}
8755{
8756 PyObject *o;
8757 o = PyInt_FromLong((long) (*_arg5));
8758 _resultobj = t_output_helper(_resultobj, o);
8759}
8760{
8761 if (_obj1)
8762 delete _arg1;
8763}
8764 return _resultobj;
8765}
8766
8767#define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
1afc06c2 8768static PyObject *_wrap_wxDC_GetTextForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8769 PyObject * _resultobj;
8770 wxColour * _result;
8771 wxDC * _arg0;
1d99702e 8772 PyObject * _argo0 = 0;
1afc06c2 8773 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8774 char _ptemp[128];
8775
8776 self = self;
1afc06c2 8777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetTextForeground",_kwnames,&_argo0))
8ab979d7 8778 return NULL;
1d99702e
RD
8779 if (_argo0) {
8780 if (_argo0 == Py_None) { _arg0 = NULL; }
8781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
8783 return NULL;
8784 }
8785 }
cf694132 8786{
4268f798 8787 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8788 _result = new wxColour (wxDC_GetTextForeground(_arg0));
cf694132 8789
4268f798 8790 wxPyEndAllowThreads(__tstate);
493f1553 8791 if (PyErr_Occurred()) return NULL;
25832b3f
RD
8792} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8793 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8794 return _resultobj;
8795}
8796
eec92d76
RD
8797#define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
8798static PyObject *_wrap_wxDC_GetUserScale(PyObject *self, PyObject *args, PyObject *kwargs) {
8799 PyObject * _resultobj;
8800 wxDC * _arg0;
8801 double * _arg1;
8802 double temp;
8803 double * _arg2;
8804 double temp0;
8805 PyObject * _argo0 = 0;
8806 char *_kwnames[] = { "self", NULL };
8807
8808 self = self;
8809{
8810 _arg1 = &temp;
8811}
8812{
8813 _arg2 = &temp0;
8814}
8815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetUserScale",_kwnames,&_argo0))
8816 return NULL;
8817 if (_argo0) {
8818 if (_argo0 == Py_None) { _arg0 = NULL; }
8819 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
8821 return NULL;
8822 }
8823 }
8824{
4268f798 8825 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8826 wxDC_GetUserScale(_arg0,_arg1,_arg2);
eec92d76 8827
4268f798 8828 wxPyEndAllowThreads(__tstate);
493f1553 8829 if (PyErr_Occurred()) return NULL;
eec92d76
RD
8830} Py_INCREF(Py_None);
8831 _resultobj = Py_None;
8832{
8833 PyObject *o;
8834 o = PyFloat_FromDouble((double) (*_arg1));
8835 _resultobj = t_output_helper(_resultobj, o);
8836}
8837{
8838 PyObject *o;
8839 o = PyFloat_FromDouble((double) (*_arg2));
8840 _resultobj = t_output_helper(_resultobj, o);
8841}
8842 return _resultobj;
8843}
8844
8ab979d7 8845#define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
1afc06c2 8846static PyObject *_wrap_wxDC_LogicalToDeviceX(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8847 PyObject * _resultobj;
8848 long _result;
8849 wxDC * _arg0;
8850 long _arg1;
1d99702e 8851 PyObject * _argo0 = 0;
1afc06c2 8852 char *_kwnames[] = { "self","x", NULL };
8ab979d7
RD
8853
8854 self = self;
1afc06c2 8855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_LogicalToDeviceX",_kwnames,&_argo0,&_arg1))
8ab979d7 8856 return NULL;
1d99702e
RD
8857 if (_argo0) {
8858 if (_argo0 == Py_None) { _arg0 = NULL; }
8859 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8860 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
8861 return NULL;
8862 }
8863 }
cf694132 8864{
4268f798 8865 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8866 _result = (long )wxDC_LogicalToDeviceX(_arg0,_arg1);
cf694132 8867
4268f798 8868 wxPyEndAllowThreads(__tstate);
493f1553 8869 if (PyErr_Occurred()) return NULL;
cf694132 8870} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
8871 return _resultobj;
8872}
8873
8874#define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
1afc06c2 8875static PyObject *_wrap_wxDC_LogicalToDeviceXRel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8876 PyObject * _resultobj;
8877 long _result;
8878 wxDC * _arg0;
8879 long _arg1;
1d99702e 8880 PyObject * _argo0 = 0;
1afc06c2 8881 char *_kwnames[] = { "self","x", NULL };
8ab979d7
RD
8882
8883 self = self;
1afc06c2 8884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_LogicalToDeviceXRel",_kwnames,&_argo0,&_arg1))
8ab979d7 8885 return NULL;
1d99702e
RD
8886 if (_argo0) {
8887 if (_argo0 == Py_None) { _arg0 = NULL; }
8888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
8890 return NULL;
8891 }
8892 }
cf694132 8893{
4268f798 8894 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8895 _result = (long )wxDC_LogicalToDeviceXRel(_arg0,_arg1);
cf694132 8896
4268f798 8897 wxPyEndAllowThreads(__tstate);
493f1553 8898 if (PyErr_Occurred()) return NULL;
cf694132 8899} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
8900 return _resultobj;
8901}
8902
8903#define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
1afc06c2 8904static PyObject *_wrap_wxDC_LogicalToDeviceY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8905 PyObject * _resultobj;
8906 long _result;
8907 wxDC * _arg0;
8908 long _arg1;
1d99702e 8909 PyObject * _argo0 = 0;
1afc06c2 8910 char *_kwnames[] = { "self","y", NULL };
8ab979d7
RD
8911
8912 self = self;
1afc06c2 8913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_LogicalToDeviceY",_kwnames,&_argo0,&_arg1))
8ab979d7 8914 return NULL;
1d99702e
RD
8915 if (_argo0) {
8916 if (_argo0 == Py_None) { _arg0 = NULL; }
8917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
8919 return NULL;
8920 }
8921 }
cf694132 8922{
4268f798 8923 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8924 _result = (long )wxDC_LogicalToDeviceY(_arg0,_arg1);
cf694132 8925
4268f798 8926 wxPyEndAllowThreads(__tstate);
493f1553 8927 if (PyErr_Occurred()) return NULL;
cf694132 8928} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
8929 return _resultobj;
8930}
8931
8932#define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
1afc06c2 8933static PyObject *_wrap_wxDC_LogicalToDeviceYRel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8934 PyObject * _resultobj;
8935 long _result;
8936 wxDC * _arg0;
8937 long _arg1;
1d99702e 8938 PyObject * _argo0 = 0;
1afc06c2 8939 char *_kwnames[] = { "self","y", NULL };
8ab979d7
RD
8940
8941 self = self;
1afc06c2 8942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_LogicalToDeviceYRel",_kwnames,&_argo0,&_arg1))
8ab979d7 8943 return NULL;
1d99702e
RD
8944 if (_argo0) {
8945 if (_argo0 == Py_None) { _arg0 = NULL; }
8946 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
8948 return NULL;
8949 }
8950 }
cf694132 8951{
4268f798 8952 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8953 _result = (long )wxDC_LogicalToDeviceYRel(_arg0,_arg1);
cf694132 8954
4268f798 8955 wxPyEndAllowThreads(__tstate);
493f1553 8956 if (PyErr_Occurred()) return NULL;
cf694132 8957} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
8958 return _resultobj;
8959}
8960
8961#define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
1afc06c2 8962static PyObject *_wrap_wxDC_MaxX(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8963 PyObject * _resultobj;
8964 long _result;
8965 wxDC * _arg0;
1d99702e 8966 PyObject * _argo0 = 0;
1afc06c2 8967 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8968
8969 self = self;
1afc06c2 8970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_MaxX",_kwnames,&_argo0))
8ab979d7 8971 return NULL;
1d99702e
RD
8972 if (_argo0) {
8973 if (_argo0 == Py_None) { _arg0 = NULL; }
8974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
8976 return NULL;
8977 }
8978 }
cf694132 8979{
4268f798 8980 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8981 _result = (long )wxDC_MaxX(_arg0);
cf694132 8982
4268f798 8983 wxPyEndAllowThreads(__tstate);
493f1553 8984 if (PyErr_Occurred()) return NULL;
cf694132 8985} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
8986 return _resultobj;
8987}
8988
8989#define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
1afc06c2 8990static PyObject *_wrap_wxDC_MaxY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8991 PyObject * _resultobj;
8992 long _result;
8993 wxDC * _arg0;
1d99702e 8994 PyObject * _argo0 = 0;
1afc06c2 8995 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8996
8997 self = self;
1afc06c2 8998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_MaxY",_kwnames,&_argo0))
8ab979d7 8999 return NULL;
1d99702e
RD
9000 if (_argo0) {
9001 if (_argo0 == Py_None) { _arg0 = NULL; }
9002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
9003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
9004 return NULL;
9005 }
9006 }
cf694132 9007{
4268f798 9008 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9009 _result = (long )wxDC_MaxY(_arg0);
cf694132 9010
4268f798 9011 wxPyEndAllowThreads(__tstate);
493f1553 9012 if (PyErr_Occurred()) return NULL;
cf694132 9013} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
9014 return _resultobj;
9015}
9016
9017#define wxDC_MinX(_swigobj) (_swigobj->MinX())
1afc06c2 9018static PyObject *_wrap_wxDC_MinX(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9019 PyObject * _resultobj;
9020 long _result;
9021 wxDC * _arg0;
1d99702e 9022 PyObject * _argo0 = 0;
1afc06c2 9023 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9024
9025 self = self;
1afc06c2 9026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_MinX",_kwnames,&_argo0))
8ab979d7 9027 return NULL;
1d99702e
RD
9028 if (_argo0) {
9029 if (_argo0 == Py_None) { _arg0 = NULL; }
9030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
9031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
9032 return NULL;
9033 }
9034 }
cf694132 9035{
4268f798 9036 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9037 _result = (long )wxDC_MinX(_arg0);
cf694132 9038
4268f798 9039 wxPyEndAllowThreads(__tstate);
493f1553 9040 if (PyErr_Occurred()) return NULL;
cf694132 9041} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
9042 return _resultobj;
9043}
9044
9045#define wxDC_MinY(_swigobj) (_swigobj->MinY())
1afc06c2 9046static PyObject *_wrap_wxDC_MinY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9047 PyObject * _resultobj;
9048 long _result;
9049 wxDC * _arg0;
1d99702e 9050 PyObject * _argo0 = 0;
1afc06c2 9051 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9052
9053 self = self;
1afc06c2 9054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_MinY",_kwnames,&_argo0))
8ab979d7 9055 return NULL;
1d99702e
RD
9056 if (_argo0) {
9057 if (_argo0 == Py_None) { _arg0 = NULL; }
9058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
9059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
9060 return NULL;
9061 }
9062 }
cf694132 9063{
4268f798 9064 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9065 _result = (long )wxDC_MinY(_arg0);
cf694132 9066
4268f798 9067 wxPyEndAllowThreads(__tstate);
493f1553 9068 if (PyErr_Occurred()) return NULL;
cf694132 9069} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
9070 return _resultobj;
9071}
9072
9073#define wxDC_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 9074static PyObject *_wrap_wxDC_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9075 PyObject * _resultobj;
9076 bool _result;
9077 wxDC * _arg0;
1d99702e 9078 PyObject * _argo0 = 0;
1afc06c2 9079 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9080
9081 self = self;
1afc06c2 9082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_Ok",_kwnames,&_argo0))
8ab979d7 9083 return NULL;
1d99702e
RD
9084 if (_argo0) {
9085 if (_argo0 == Py_None) { _arg0 = NULL; }
9086 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
9087 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
9088 return NULL;
9089 }
9090 }
cf694132 9091{
4268f798 9092 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9093 _result = (bool )wxDC_Ok(_arg0);
cf694132 9094
4268f798 9095 wxPyEndAllowThreads(__tstate);
493f1553 9096 if (PyErr_Occurred()) return NULL;
cf694132 9097} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9098 return _resultobj;
9099}
9100
9101#define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
1afc06c2 9102static PyObject *_wrap_wxDC_SetDeviceOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9103 PyObject * _resultobj;
9104 wxDC * _arg0;
9105 long _arg1;
9106 long _arg2;
1d99702e 9107 PyObject * _argo0 = 0;
1afc06c2 9108 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
9109
9110 self = self;
1afc06c2 9111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxDC_SetDeviceOrigin",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 9112 return NULL;
1d99702e
RD
9113 if (_argo0) {
9114 if (_argo0 == Py_None) { _arg0 = NULL; }
9115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
9116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
9117 return NULL;
9118 }
9119 }
cf694132 9120{
4268f798 9121 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9122 wxDC_SetDeviceOrigin(_arg0,_arg1,_arg2);
cf694132 9123
4268f798 9124 wxPyEndAllowThreads(__tstate);
493f1553 9125 if (PyErr_Occurred()) return NULL;
cf694132 9126} Py_INCREF(Py_None);
8ab979d7
RD
9127 _resultobj = Py_None;
9128 return _resultobj;
9129}
9130
9131#define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
1afc06c2 9132static PyObject *_wrap_wxDC_SetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9133 PyObject * _resultobj;
9134 wxDC * _arg0;
9135 wxBrush * _arg1;
1d99702e
RD
9136 PyObject * _argo0 = 0;
9137 PyObject * _argo1 = 0;
1afc06c2 9138 char *_kwnames[] = { "self","brush", NULL };
8ab979d7
RD
9139
9140 self = self;
1afc06c2 9141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetBackground",_kwnames,&_argo0,&_argo1))
8ab979d7 9142 return NULL;
1d99702e
RD
9143 if (_argo0) {
9144 if (_argo0 == Py_None) { _arg0 = NULL; }
9145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
9146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
9147 return NULL;
9148 }
9149 }
1d99702e
RD
9150 if (_argo1) {
9151 if (_argo1 == Py_None) { _arg1 = NULL; }
9152 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) {
8ab979d7
RD
9153 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
9154 return NULL;
9155 }
9156 }
cf694132 9157{
4268f798 9158 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9159 wxDC_SetBackground(_arg0,*_arg1);
cf694132 9160
4268f798 9161 wxPyEndAllowThreads(__tstate);
493f1553 9162 if (PyErr_Occurred()) return NULL;
cf694132 9163} Py_INCREF(Py_None);
8ab979d7
RD
9164 _resultobj = Py_None;
9165 return _resultobj;
9166}
9167
9168#define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
1afc06c2 9169static PyObject *_wrap_wxDC_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9170 PyObject * _resultobj;
9171 wxDC * _arg0;
9172 int _arg1;
1d99702e 9173 PyObject * _argo0 = 0;
1afc06c2 9174 char *_kwnames[] = { "self","mode", NULL };
8ab979d7
RD
9175
9176 self = self;
1afc06c2 9177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_SetBackgroundMode",_kwnames,&_argo0,&_arg1))
8ab979d7 9178 return NULL;
1d99702e
RD
9179 if (_argo0) {
9180 if (_argo0 == Py_None) { _arg0 = NULL; }
9181 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
9182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
9183 return NULL;
9184 }
9185 }
cf694132 9186{
4268f798 9187 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9188 wxDC_SetBackgroundMode(_arg0,_arg1);
cf694132 9189
4268f798 9190 wxPyEndAllowThreads(__tstate);
493f1553 9191 if (PyErr_Occurred()) return NULL;
cf694132 9192} Py_INCREF(Py_None);
8ab979d7
RD
9193 _resultobj = Py_None;
9194 return _resultobj;
9195}
9196
9197#define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 9198static PyObject *_wrap_wxDC_SetClippingRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9199 PyObject * _resultobj;
9200 wxDC * _arg0;
9201 long _arg1;
9202 long _arg2;
9203 long _arg3;
9204 long _arg4;
1d99702e 9205 PyObject * _argo0 = 0;
1afc06c2 9206 char *_kwnames[] = { "self","x","y","width","height", NULL };
8ab979d7
RD
9207
9208 self = self;
1afc06c2 9209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxDC_SetClippingRegion",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8ab979d7 9210 return NULL;
1d99702e
RD
9211 if (_argo0) {
9212 if (_argo0 == Py_None) { _arg0 = NULL; }
9213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
9214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
9215 return NULL;
9216 }
9217 }
cf694132 9218{
4268f798 9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9220 wxDC_SetClippingRegion(_arg0,_arg1,_arg2,_arg3,_arg4);
cf694132 9221
4268f798 9222 wxPyEndAllowThreads(__tstate);
493f1553 9223 if (PyErr_Occurred()) return NULL;
cf694132 9224} Py_INCREF(Py_None);
8ab979d7
RD
9225 _resultobj = Py_None;
9226 return _resultobj;
9227}
9228
19a97bd6
RD
9229#define wxDC_SetClippingRegionAsRegion(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
9230static PyObject *_wrap_wxDC_SetClippingRegionAsRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
9231 PyObject * _resultobj;
9232 wxDC * _arg0;
9233 wxRegion * _arg1;
9234 PyObject * _argo0 = 0;
9235 PyObject * _argo1 = 0;
9236 char *_kwnames[] = { "self","region", NULL };
9237
9238 self = self;
9239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetClippingRegionAsRegion",_kwnames,&_argo0,&_argo1))
9240 return NULL;
9241 if (_argo0) {
9242 if (_argo0 == Py_None) { _arg0 = NULL; }
9243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetClippingRegionAsRegion. Expected _wxDC_p.");
9245 return NULL;
9246 }
9247 }
9248 if (_argo1) {
9249 if (_argo1 == Py_None) { _arg1 = NULL; }
9250 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
9251 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetClippingRegionAsRegion. Expected _wxRegion_p.");
9252 return NULL;
9253 }
9254 }
9255{
4268f798 9256 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9257 wxDC_SetClippingRegionAsRegion(_arg0,*_arg1);
19a97bd6 9258
4268f798 9259 wxPyEndAllowThreads(__tstate);
19a97bd6
RD
9260 if (PyErr_Occurred()) return NULL;
9261} Py_INCREF(Py_None);
9262 _resultobj = Py_None;
9263 return _resultobj;
9264}
9265
8ab979d7 9266#define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1afc06c2 9267static PyObject *_wrap_wxDC_SetPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9268 PyObject * _resultobj;
9269 wxDC * _arg0;
9270 wxPalette * _arg1;
1d99702e
RD
9271 PyObject * _argo0 = 0;
9272 PyObject * _argo1 = 0;
1afc06c2 9273 char *_kwnames[] = { "self","colourMap", NULL };
8ab979d7
RD
9274
9275 self = self;
1afc06c2 9276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetPalette",_kwnames,&_argo0,&_argo1))
8ab979d7 9277 return NULL;
1d99702e
RD
9278 if (_argo0) {
9279 if (_argo0 == Py_None) { _arg0 = NULL; }
9280 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
9281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
9282 return NULL;
9283 }
9284 }
1d99702e
RD
9285 if (_argo1) {
9286 if (_argo1 == Py_None) { _arg1 = NULL; }
9287 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPalette_p")) {
8ab979d7
RD
9288 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
9289 return NULL;
9290 }
9291 }
cf694132 9292{
4268f798 9293 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9294 wxDC_SetPalette(_arg0,*_arg1);
cf694132 9295
4268f798 9296 wxPyEndAllowThreads(__tstate);
493f1553 9297 if (PyErr_Occurred()) return NULL;
cf694132 9298} Py_INCREF(Py_None);
8ab979d7
RD
9299 _resultobj = Py_None;
9300 return _resultobj;
9301}
9302
9303#define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
1afc06c2 9304static PyObject *_wrap_wxDC_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9305 PyObject * _resultobj;
9306 wxDC * _arg0;
9307 wxBrush * _arg1;
1d99702e
RD
9308 PyObject * _argo0 = 0;
9309 PyObject * _argo1 = 0;
1afc06c2 9310 char *_kwnames[] = { "self","brush", NULL };
8ab979d7
RD
9311
9312 self = self;
1afc06c2 9313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetBrush",_kwnames,&_argo0,&_argo1))
8ab979d7 9314 return NULL;
1d99702e
RD
9315 if (_argo0) {
9316 if (_argo0 == Py_None) { _arg0 = NULL; }
9317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
9318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
9319 return NULL;
9320 }
9321 }
1d99702e
RD
9322 if (_argo1) {
9323 if (_argo1 == Py_None) { _arg1 = NULL; }
9324 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) {
8ab979d7
RD
9325 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
9326 return NULL;
9327 }
9328 }
cf694132 9329{
4268f798 9330 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9331 wxDC_SetBrush(_arg0,*_arg1);
cf694132 9332
4268f798 9333 wxPyEndAllowThreads(__tstate);
493f1553 9334 if (PyErr_Occurred()) return NULL;
cf694132 9335} Py_INCREF(Py_None);
8ab979d7
RD
9336 _resultobj = Py_None;
9337 return _resultobj;
9338}
9339
9340#define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1afc06c2 9341static PyObject *_wrap_wxDC_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9342 PyObject * _resultobj;
9343 wxDC * _arg0;
9344 wxFont * _arg1;
1d99702e
RD
9345 PyObject * _argo0 = 0;
9346 PyObject * _argo1 = 0;
1afc06c2 9347 char *_kwnames[] = { "self","font", NULL };
8ab979d7
RD
9348
9349 self = self;
1afc06c2 9350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetFont",_kwnames,&_argo0,&_argo1))
8ab979d7 9351 return NULL;
1d99702e
RD
9352 if (_argo0) {
9353 if (_argo0 == Py_None) { _arg0 = NULL; }
9354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
9355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
9356 return NULL;
9357 }
9358 }
1d99702e
RD
9359 if (_argo1) {
9360 if (_argo1 == Py_None) { _arg1 = NULL; }
9361 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
8ab979d7
RD
9362 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
9363 return NULL;
9364 }
9365 }
cf694132 9366{
4268f798 9367 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9368 wxDC_SetFont(_arg0,*_arg1);
cf694132 9369
4268f798 9370 wxPyEndAllowThreads(__tstate);
493f1553 9371 if (PyErr_Occurred()) return NULL;
cf694132 9372} Py_INCREF(Py_None);
8ab979d7
RD
9373 _resultobj = Py_None;
9374 return _resultobj;
9375}
9376
9377#define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
1afc06c2 9378static PyObject *_wrap_wxDC_SetLogicalFunction(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9379 PyObject * _resultobj;
9380 wxDC * _arg0;
9381 int _arg1;
1d99702e 9382 PyObject * _argo0 = 0;
1afc06c2 9383 char *_kwnames[] = { "self","function", NULL };
8ab979d7
RD
9384
9385 self = self;
1afc06c2 9386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_SetLogicalFunction",_kwnames,&_argo0,&_arg1))
8ab979d7 9387 return NULL;
1d99702e
RD
9388 if (_argo0) {
9389 if (_argo0 == Py_None) { _arg0 = NULL; }
9390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
9391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
9392 return NULL;
9393 }
9394 }
cf694132 9395{
4268f798 9396 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9397 wxDC_SetLogicalFunction(_arg0,_arg1);
cf694132 9398
4268f798 9399 wxPyEndAllowThreads(__tstate);
493f1553 9400 if (PyErr_Occurred()) return NULL;
cf694132 9401} Py_INCREF(Py_None);
8ab979d7
RD
9402 _resultobj = Py_None;
9403 return _resultobj;
9404}
9405
eec92d76
RD
9406#define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
9407static PyObject *_wrap_wxDC_SetLogicalScale(PyObject *self, PyObject *args, PyObject *kwargs) {
9408 PyObject * _resultobj;
9409 wxDC * _arg0;
9410 double _arg1;
9411 double _arg2;
9412 PyObject * _argo0 = 0;
9413 char *_kwnames[] = { "self","x","y", NULL };
9414
9415 self = self;
9416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxDC_SetLogicalScale",_kwnames,&_argo0,&_arg1,&_arg2))
9417 return NULL;
9418 if (_argo0) {
9419 if (_argo0 == Py_None) { _arg0 = NULL; }
9420 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
9422 return NULL;
9423 }
9424 }
9425{
4268f798 9426 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9427 wxDC_SetLogicalScale(_arg0,_arg1,_arg2);
eec92d76 9428
4268f798 9429 wxPyEndAllowThreads(__tstate);
493f1553 9430 if (PyErr_Occurred()) return NULL;
eec92d76
RD
9431} Py_INCREF(Py_None);
9432 _resultobj = Py_None;
9433 return _resultobj;
9434}
9435
8ab979d7 9436#define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
1afc06c2 9437static PyObject *_wrap_wxDC_SetMapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9438 PyObject * _resultobj;
9439 wxDC * _arg0;
9440 int _arg1;
1d99702e 9441 PyObject * _argo0 = 0;
1afc06c2 9442 char *_kwnames[] = { "self","mode", NULL };
8ab979d7
RD
9443
9444 self = self;
1afc06c2 9445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_SetMapMode",_kwnames,&_argo0,&_arg1))
8ab979d7 9446 return NULL;
1d99702e
RD
9447 if (_argo0) {
9448 if (_argo0 == Py_None) { _arg0 = NULL; }
9449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
9450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
9451 return NULL;
9452 }
9453 }
cf694132 9454{
4268f798 9455 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9456 wxDC_SetMapMode(_arg0,_arg1);
cf694132 9457
4268f798 9458 wxPyEndAllowThreads(__tstate);
493f1553 9459 if (PyErr_Occurred()) return NULL;
cf694132 9460} Py_INCREF(Py_None);
8ab979d7
RD
9461 _resultobj = Py_None;
9462 return _resultobj;
9463}
9464
9465#define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
1afc06c2 9466static PyObject *_wrap_wxDC_SetOptimization(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9467 PyObject * _resultobj;
9468 wxDC * _arg0;
9469 bool _arg1;
1d99702e 9470 PyObject * _argo0 = 0;
8ab979d7 9471 int tempbool1;
1afc06c2 9472 char *_kwnames[] = { "self","optimize", NULL };
8ab979d7
RD
9473
9474 self = self;
1afc06c2 9475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_SetOptimization",_kwnames,&_argo0,&tempbool1))
8ab979d7 9476 return NULL;
1d99702e
RD
9477 if (_argo0) {
9478 if (_argo0 == Py_None) { _arg0 = NULL; }
9479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
9480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
9481 return NULL;
9482 }
9483 }
9484 _arg1 = (bool ) tempbool1;
cf694132 9485{
4268f798 9486 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9487 wxDC_SetOptimization(_arg0,_arg1);
cf694132 9488
4268f798 9489 wxPyEndAllowThreads(__tstate);
493f1553 9490 if (PyErr_Occurred()) return NULL;
cf694132 9491} Py_INCREF(Py_None);
8ab979d7
RD
9492 _resultobj = Py_None;
9493 return _resultobj;
9494}
9495
9496#define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
1afc06c2 9497static PyObject *_wrap_wxDC_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9498 PyObject * _resultobj;
9499 wxDC * _arg0;
9500 wxPen * _arg1;
1d99702e
RD
9501 PyObject * _argo0 = 0;
9502 PyObject * _argo1 = 0;
1afc06c2 9503 char *_kwnames[] = { "self","pen", NULL };
8ab979d7
RD
9504
9505 self = self;
1afc06c2 9506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetPen",_kwnames,&_argo0,&_argo1))
8ab979d7 9507 return NULL;
1d99702e
RD
9508 if (_argo0) {
9509 if (_argo0 == Py_None) { _arg0 = NULL; }
9510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
9511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
9512 return NULL;
9513 }
9514 }
1d99702e
RD
9515 if (_argo1) {
9516 if (_argo1 == Py_None) { _arg1 = NULL; }
9517 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) {
8ab979d7
RD
9518 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
9519 return NULL;
9520 }
9521 }
cf694132 9522{
4268f798 9523 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9524 wxDC_SetPen(_arg0,*_arg1);
cf694132 9525
4268f798 9526 wxPyEndAllowThreads(__tstate);
493f1553 9527 if (PyErr_Occurred()) return NULL;
cf694132 9528} Py_INCREF(Py_None);
8ab979d7
RD
9529 _resultobj = Py_None;
9530 return _resultobj;
9531}
9532
9533#define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
1afc06c2 9534static PyObject *_wrap_wxDC_SetTextBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9535 PyObject * _resultobj;
9536 wxDC * _arg0;
9537 wxColour * _arg1;
1d99702e 9538 PyObject * _argo0 = 0;
f6bcfd97
BP
9539 wxColour temp;
9540 PyObject * _obj1 = 0;
1afc06c2 9541 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
9542
9543 self = self;
f6bcfd97 9544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetTextBackground",_kwnames,&_argo0,&_obj1))
8ab979d7 9545 return NULL;
1d99702e
RD
9546 if (_argo0) {
9547 if (_argo0 == Py_None) { _arg0 = NULL; }
9548 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
9549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
9550 return NULL;
9551 }
9552 }
f6bcfd97
BP
9553{
9554 _arg1 = &temp;
9555 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 9556 return NULL;
f6bcfd97 9557}
cf694132 9558{
4268f798 9559 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9560 wxDC_SetTextBackground(_arg0,*_arg1);
cf694132 9561
4268f798 9562 wxPyEndAllowThreads(__tstate);
493f1553 9563 if (PyErr_Occurred()) return NULL;
cf694132 9564} Py_INCREF(Py_None);
8ab979d7
RD
9565 _resultobj = Py_None;
9566 return _resultobj;
9567}
9568
9569#define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
1afc06c2 9570static PyObject *_wrap_wxDC_SetTextForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9571 PyObject * _resultobj;
9572 wxDC * _arg0;
9573 wxColour * _arg1;
1d99702e 9574 PyObject * _argo0 = 0;
f6bcfd97
BP
9575 wxColour temp;
9576 PyObject * _obj1 = 0;
1afc06c2 9577 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
9578
9579 self = self;
f6bcfd97 9580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetTextForeground",_kwnames,&_argo0,&_obj1))
8ab979d7 9581 return NULL;
1d99702e
RD
9582 if (_argo0) {
9583 if (_argo0 == Py_None) { _arg0 = NULL; }
9584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
9585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
9586 return NULL;
9587 }
9588 }
f6bcfd97
BP
9589{
9590 _arg1 = &temp;
9591 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 9592 return NULL;
f6bcfd97 9593}
cf694132 9594{
4268f798 9595 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9596 wxDC_SetTextForeground(_arg0,*_arg1);
cf694132 9597
4268f798 9598 wxPyEndAllowThreads(__tstate);
493f1553 9599 if (PyErr_Occurred()) return NULL;
cf694132 9600} Py_INCREF(Py_None);
8ab979d7
RD
9601 _resultobj = Py_None;
9602 return _resultobj;
9603}
9604
9605#define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
1afc06c2 9606static PyObject *_wrap_wxDC_SetUserScale(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9607 PyObject * _resultobj;
9608 wxDC * _arg0;
9609 double _arg1;
9610 double _arg2;
1d99702e 9611 PyObject * _argo0 = 0;
1afc06c2 9612 char *_kwnames[] = { "self","x_scale","y_scale", NULL };
8ab979d7
RD
9613
9614 self = self;
1afc06c2 9615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxDC_SetUserScale",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 9616 return NULL;
1d99702e
RD
9617 if (_argo0) {
9618 if (_argo0 == Py_None) { _arg0 = NULL; }
9619 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
9620 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
9621 return NULL;
9622 }
9623 }
cf694132 9624{
4268f798 9625 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9626 wxDC_SetUserScale(_arg0,_arg1,_arg2);
cf694132 9627
4268f798 9628 wxPyEndAllowThreads(__tstate);
493f1553 9629 if (PyErr_Occurred()) return NULL;
cf694132 9630} Py_INCREF(Py_None);
8ab979d7
RD
9631 _resultobj = Py_None;
9632 return _resultobj;
9633}
9634
9635#define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
1afc06c2 9636static PyObject *_wrap_wxDC_StartDoc(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9637 PyObject * _resultobj;
9638 bool _result;
9639 wxDC * _arg0;
9640 wxString * _arg1;
1d99702e 9641 PyObject * _argo0 = 0;
8ab979d7 9642 PyObject * _obj1 = 0;
1afc06c2 9643 char *_kwnames[] = { "self","message", NULL };
8ab979d7
RD
9644
9645 self = self;
1afc06c2 9646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_StartDoc",_kwnames,&_argo0,&_obj1))
8ab979d7 9647 return NULL;
1d99702e
RD
9648 if (_argo0) {
9649 if (_argo0 == Py_None) { _arg0 = NULL; }
9650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
9651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
9652 return NULL;
9653 }
9654 }
9655{
c8bc7bb8
RD
9656 _arg1 = wxString_in_helper(_obj1);
9657 if (_arg1 == NULL)
185d7c3e 9658 return NULL;
8ab979d7 9659}
cf694132 9660{
4268f798 9661 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9662 _result = (bool )wxDC_StartDoc(_arg0,*_arg1);
cf694132 9663
4268f798 9664 wxPyEndAllowThreads(__tstate);
493f1553 9665 if (PyErr_Occurred()) return NULL;
cf694132 9666} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9667{
9668 if (_obj1)
9669 delete _arg1;
9670}
9671 return _resultobj;
9672}
9673
9674#define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
1afc06c2 9675static PyObject *_wrap_wxDC_StartPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9676 PyObject * _resultobj;
9677 wxDC * _arg0;
1d99702e 9678 PyObject * _argo0 = 0;
1afc06c2 9679 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9680
9681 self = self;
1afc06c2 9682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_StartPage",_kwnames,&_argo0))
8ab979d7 9683 return NULL;
1d99702e
RD
9684 if (_argo0) {
9685 if (_argo0 == Py_None) { _arg0 = NULL; }
9686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
9687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
9688 return NULL;
9689 }
9690 }
cf694132 9691{
4268f798 9692 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9693 wxDC_StartPage(_arg0);
cf694132 9694
4268f798 9695 wxPyEndAllowThreads(__tstate);
493f1553 9696 if (PyErr_Occurred()) return NULL;
cf694132 9697} Py_INCREF(Py_None);
8ab979d7
RD
9698 _resultobj = Py_None;
9699 return _resultobj;
9700}
9701
efc5f224 9702#define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 9703static PyObject *_wrap_wxDC_DrawBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9704 PyObject * _resultobj;
9705 wxDC * _arg0;
9706 wxBitmap * _arg1;
9707 long _arg2;
9708 long _arg3;
efc5f224 9709 int _arg4 = (int ) FALSE;
1d99702e
RD
9710 PyObject * _argo0 = 0;
9711 PyObject * _argo1 = 0;
1afc06c2 9712 char *_kwnames[] = { "self","bitmap","x","y","useMask", NULL };
8ab979d7
RD
9713
9714 self = self;
1afc06c2 9715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOll|i:wxDC_DrawBitmap",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4))
8ab979d7 9716 return NULL;
1d99702e
RD
9717 if (_argo0) {
9718 if (_argo0 == Py_None) { _arg0 = NULL; }
9719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
9720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
9721 return NULL;
9722 }
9723 }
1d99702e
RD
9724 if (_argo1) {
9725 if (_argo1 == Py_None) { _arg1 = NULL; }
9726 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
9727 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
9728 return NULL;
9729 }
9730 }
cf694132 9731{
4268f798 9732 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9733 wxDC_DrawBitmap(_arg0,*_arg1,_arg2,_arg3,_arg4);
cf694132 9734
4268f798 9735 wxPyEndAllowThreads(__tstate);
493f1553 9736 if (PyErr_Occurred()) return NULL;
cf694132 9737} Py_INCREF(Py_None);
8ab979d7
RD
9738 _resultobj = Py_None;
9739 return _resultobj;
9740}
9741
eec92d76
RD
9742#define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
9743static PyObject *_wrap_wxDC_CanDrawBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9744 PyObject * _resultobj;
9745 bool _result;
9746 wxDC * _arg0;
9747 PyObject * _argo0 = 0;
9748 char *_kwnames[] = { "self", NULL };
9749
9750 self = self;
9751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_CanDrawBitmap",_kwnames,&_argo0))
9752 return NULL;
9753 if (_argo0) {
9754 if (_argo0 == Py_None) { _arg0 = NULL; }
9755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
9757 return NULL;
9758 }
9759 }
9760{
4268f798 9761 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9762 _result = (bool )wxDC_CanDrawBitmap(_arg0);
eec92d76 9763
4268f798 9764 wxPyEndAllowThreads(__tstate);
493f1553 9765 if (PyErr_Occurred()) return NULL;
eec92d76
RD
9766} _resultobj = Py_BuildValue("i",_result);
9767 return _resultobj;
9768}
9769
9770#define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
9771static PyObject *_wrap_wxDC_CanGetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
9772 PyObject * _resultobj;
9773 bool _result;
9774 wxDC * _arg0;
9775 PyObject * _argo0 = 0;
9776 char *_kwnames[] = { "self", NULL };
9777
9778 self = self;
9779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_CanGetTextExtent",_kwnames,&_argo0))
9780 return NULL;
9781 if (_argo0) {
9782 if (_argo0 == Py_None) { _arg0 = NULL; }
9783 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
9785 return NULL;
9786 }
9787 }
9788{
4268f798 9789 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9790 _result = (bool )wxDC_CanGetTextExtent(_arg0);
eec92d76 9791
4268f798 9792 wxPyEndAllowThreads(__tstate);
493f1553 9793 if (PyErr_Occurred()) return NULL;
eec92d76
RD
9794} _resultobj = Py_BuildValue("i",_result);
9795 return _resultobj;
9796}
9797
9798#define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
9799static PyObject *_wrap_wxDC_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
9800 PyObject * _resultobj;
9801 int _result;
9802 wxDC * _arg0;
9803 PyObject * _argo0 = 0;
9804 char *_kwnames[] = { "self", NULL };
9805
9806 self = self;
9807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetDepth",_kwnames,&_argo0))
9808 return NULL;
9809 if (_argo0) {
9810 if (_argo0 == Py_None) { _arg0 = NULL; }
9811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
9813 return NULL;
9814 }
9815 }
9816{
4268f798 9817 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9818 _result = (int )wxDC_GetDepth(_arg0);
eec92d76 9819
4268f798 9820 wxPyEndAllowThreads(__tstate);
493f1553 9821 if (PyErr_Occurred()) return NULL;
eec92d76
RD
9822} _resultobj = Py_BuildValue("i",_result);
9823 return _resultobj;
9824}
9825
9826#define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
9827static PyObject *_wrap_wxDC_GetPPI(PyObject *self, PyObject *args, PyObject *kwargs) {
9828 PyObject * _resultobj;
9829 wxSize * _result;
9830 wxDC * _arg0;
9831 PyObject * _argo0 = 0;
9832 char *_kwnames[] = { "self", NULL };
9833 char _ptemp[128];
9834
9835 self = self;
9836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetPPI",_kwnames,&_argo0))
9837 return NULL;
9838 if (_argo0) {
9839 if (_argo0 == Py_None) { _arg0 = NULL; }
9840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
9842 return NULL;
9843 }
9844 }
9845{
4268f798 9846 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9847 _result = new wxSize (wxDC_GetPPI(_arg0));
eec92d76 9848
4268f798 9849 wxPyEndAllowThreads(__tstate);
493f1553 9850 if (PyErr_Occurred()) return NULL;
eec92d76
RD
9851} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
9852 _resultobj = Py_BuildValue("s",_ptemp);
9853 return _resultobj;
9854}
9855
9856#define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
9857static PyObject *_wrap_wxDC_GetLogicalOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
9858 PyObject * _resultobj;
9859 wxDC * _arg0;
9860 int * _arg1;
9861 int temp;
9862 int * _arg2;
9863 int temp0;
9864 PyObject * _argo0 = 0;
9865 char *_kwnames[] = { "self", NULL };
9866
9867 self = self;
9868{
9869 _arg1 = &temp;
9870}
9871{
9872 _arg2 = &temp0;
9873}
9874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetLogicalOrigin",_kwnames,&_argo0))
9875 return NULL;
9876 if (_argo0) {
9877 if (_argo0 == Py_None) { _arg0 = NULL; }
9878 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
9880 return NULL;
9881 }
9882 }
9883{
4268f798 9884 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9885 wxDC_GetLogicalOrigin(_arg0,_arg1,_arg2);
eec92d76 9886
4268f798 9887 wxPyEndAllowThreads(__tstate);
493f1553 9888 if (PyErr_Occurred()) return NULL;
eec92d76
RD
9889} Py_INCREF(Py_None);
9890 _resultobj = Py_None;
9891{
9892 PyObject *o;
9893 o = PyInt_FromLong((long) (*_arg1));
9894 _resultobj = t_output_helper(_resultobj, o);
9895}
9896{
9897 PyObject *o;
9898 o = PyInt_FromLong((long) (*_arg2));
9899 _resultobj = t_output_helper(_resultobj, o);
9900}
9901 return _resultobj;
9902}
9903
9904#define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
9905static PyObject *_wrap_wxDC_SetLogicalOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
9906 PyObject * _resultobj;
9907 wxDC * _arg0;
9908 int _arg1;
9909 int _arg2;
9910 PyObject * _argo0 = 0;
9911 char *_kwnames[] = { "self","x","y", NULL };
9912
9913 self = self;
9914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxDC_SetLogicalOrigin",_kwnames,&_argo0,&_arg1,&_arg2))
9915 return NULL;
9916 if (_argo0) {
9917 if (_argo0 == Py_None) { _arg0 = NULL; }
9918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
9920 return NULL;
9921 }
9922 }
9923{
4268f798 9924 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9925 wxDC_SetLogicalOrigin(_arg0,_arg1,_arg2);
eec92d76 9926
4268f798 9927 wxPyEndAllowThreads(__tstate);
493f1553 9928 if (PyErr_Occurred()) return NULL;
eec92d76
RD
9929} Py_INCREF(Py_None);
9930 _resultobj = Py_None;
9931 return _resultobj;
9932}
9933
9934#define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
9935static PyObject *_wrap_wxDC_GetDeviceOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
9936 PyObject * _resultobj;
9937 wxDC * _arg0;
9938 int * _arg1;
9939 int temp;
9940 int * _arg2;
9941 int temp0;
9942 PyObject * _argo0 = 0;
9943 char *_kwnames[] = { "self", NULL };
9944
9945 self = self;
9946{
9947 _arg1 = &temp;
9948}
9949{
9950 _arg2 = &temp0;
9951}
9952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetDeviceOrigin",_kwnames,&_argo0))
9953 return NULL;
9954 if (_argo0) {
9955 if (_argo0 == Py_None) { _arg0 = NULL; }
9956 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9957 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
9958 return NULL;
9959 }
9960 }
9961{
4268f798 9962 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9963 wxDC_GetDeviceOrigin(_arg0,_arg1,_arg2);
eec92d76 9964
4268f798 9965 wxPyEndAllowThreads(__tstate);
493f1553 9966 if (PyErr_Occurred()) return NULL;
eec92d76
RD
9967} Py_INCREF(Py_None);
9968 _resultobj = Py_None;
9969{
9970 PyObject *o;
9971 o = PyInt_FromLong((long) (*_arg1));
9972 _resultobj = t_output_helper(_resultobj, o);
9973}
9974{
9975 PyObject *o;
9976 o = PyInt_FromLong((long) (*_arg2));
9977 _resultobj = t_output_helper(_resultobj, o);
9978}
9979 return _resultobj;
9980}
9981
9982#define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
9983static PyObject *_wrap_wxDC_SetAxisOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
9984 PyObject * _resultobj;
9985 wxDC * _arg0;
9986 bool _arg1;
9987 bool _arg2;
9988 PyObject * _argo0 = 0;
9989 int tempbool1;
9990 int tempbool2;
9991 char *_kwnames[] = { "self","xLeftRight","yBottomUp", NULL };
9992
9993 self = self;
9994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxDC_SetAxisOrientation",_kwnames,&_argo0,&tempbool1,&tempbool2))
9995 return NULL;
9996 if (_argo0) {
9997 if (_argo0 == Py_None) { _arg0 = NULL; }
9998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
10000 return NULL;
10001 }
10002 }
10003 _arg1 = (bool ) tempbool1;
10004 _arg2 = (bool ) tempbool2;
10005{
4268f798 10006 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10007 wxDC_SetAxisOrientation(_arg0,_arg1,_arg2);
eec92d76 10008
4268f798 10009 wxPyEndAllowThreads(__tstate);
493f1553 10010 if (PyErr_Occurred()) return NULL;
eec92d76
RD
10011} Py_INCREF(Py_None);
10012 _resultobj = Py_None;
10013 return _resultobj;
10014}
10015
f6bcfd97
BP
10016#define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
10017static PyObject *_wrap_wxDC_CalcBoundingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10018 PyObject * _resultobj;
10019 wxDC * _arg0;
10020 int _arg1;
10021 int _arg2;
10022 PyObject * _argo0 = 0;
10023 char *_kwnames[] = { "self","x","y", NULL };
10024
10025 self = self;
10026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxDC_CalcBoundingBox",_kwnames,&_argo0,&_arg1,&_arg2))
10027 return NULL;
10028 if (_argo0) {
10029 if (_argo0 == Py_None) { _arg0 = NULL; }
10030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
10031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
10032 return NULL;
10033 }
10034 }
10035{
4268f798 10036 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10037 wxDC_CalcBoundingBox(_arg0,_arg1,_arg2);
f6bcfd97 10038
4268f798 10039 wxPyEndAllowThreads(__tstate);
493f1553 10040 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10041} Py_INCREF(Py_None);
10042 _resultobj = Py_None;
10043 return _resultobj;
10044}
10045
10046#define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
10047static PyObject *_wrap_wxDC_ResetBoundingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10048 PyObject * _resultobj;
10049 wxDC * _arg0;
10050 PyObject * _argo0 = 0;
10051 char *_kwnames[] = { "self", NULL };
10052
10053 self = self;
10054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_ResetBoundingBox",_kwnames,&_argo0))
10055 return NULL;
10056 if (_argo0) {
10057 if (_argo0 == Py_None) { _arg0 = NULL; }
10058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
10059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
10060 return NULL;
10061 }
10062 }
10063{
4268f798 10064 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10065 wxDC_ResetBoundingBox(_arg0);
f6bcfd97 10066
4268f798 10067 wxPyEndAllowThreads(__tstate);
493f1553 10068 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10069} Py_INCREF(Py_None);
10070 _resultobj = Py_None;
10071 return _resultobj;
10072}
10073
9d37f964
RD
10074static PyObject *_wrap_wxDC_GetBoundingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10075 PyObject * _resultobj;
10076 wxDC * _arg0;
10077 int * _arg1;
10078 int temp;
10079 int * _arg2;
10080 int temp0;
10081 int * _arg3;
10082 int temp1;
10083 int * _arg4;
10084 int temp2;
10085 PyObject * _argo0 = 0;
10086 char *_kwnames[] = { "self", NULL };
10087
10088 self = self;
10089{
10090 _arg1 = &temp;
10091}
10092{
10093 _arg2 = &temp0;
10094}
10095{
10096 _arg3 = &temp1;
10097}
10098{
10099 _arg4 = &temp2;
10100}
10101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetBoundingBox",_kwnames,&_argo0))
10102 return NULL;
10103 if (_argo0) {
10104 if (_argo0 == Py_None) { _arg0 = NULL; }
10105 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
10106 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetBoundingBox. Expected _wxDC_p.");
10107 return NULL;
10108 }
10109 }
10110{
4268f798 10111 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10112 wxDC_GetBoundingBox(_arg0,_arg1,_arg2,_arg3,_arg4);
9d37f964 10113
4268f798 10114 wxPyEndAllowThreads(__tstate);
9d37f964
RD
10115 if (PyErr_Occurred()) return NULL;
10116} Py_INCREF(Py_None);
10117 _resultobj = Py_None;
10118{
10119 PyObject *o;
10120 o = PyInt_FromLong((long) (*_arg1));
10121 _resultobj = t_output_helper(_resultobj, o);
10122}
10123{
10124 PyObject *o;
10125 o = PyInt_FromLong((long) (*_arg2));
10126 _resultobj = t_output_helper(_resultobj, o);
10127}
10128{
10129 PyObject *o;
10130 o = PyInt_FromLong((long) (*_arg3));
10131 _resultobj = t_output_helper(_resultobj, o);
10132}
10133{
10134 PyObject *o;
10135 o = PyInt_FromLong((long) (*_arg4));
10136 _resultobj = t_output_helper(_resultobj, o);
10137}
10138 return _resultobj;
10139}
10140
c7e7022c
RD
10141#define wxDC_GetHDC(_swigobj) (_swigobj->GetHDC())
10142static PyObject *_wrap_wxDC_GetHDC(PyObject *self, PyObject *args, PyObject *kwargs) {
10143 PyObject * _resultobj;
10144 long _result;
10145 wxDC * _arg0;
10146 PyObject * _argo0 = 0;
10147 char *_kwnames[] = { "self", NULL };
10148
10149 self = self;
10150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetHDC",_kwnames,&_argo0))
10151 return NULL;
10152 if (_argo0) {
10153 if (_argo0 == Py_None) { _arg0 = NULL; }
10154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
10155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetHDC. Expected _wxDC_p.");
10156 return NULL;
10157 }
10158 }
10159{
4268f798 10160 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10161 _result = (long )wxDC_GetHDC(_arg0);
c7e7022c 10162
4268f798 10163 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
10164 if (PyErr_Occurred()) return NULL;
10165} _resultobj = Py_BuildValue("l",_result);
10166 return _resultobj;
10167}
10168
9d37f964
RD
10169static PyObject * wxDC__DrawPointList(wxDC *self,PyObject * pyPoints,PyObject * pyPens) {
10170 bool isFastSeq = PyList_Check(pyPoints) || PyTuple_Check(pyPoints);
10171 bool isFastPens = PyList_Check(pyPens) || PyTuple_Check(pyPens);
10172 int numObjs = 0;
10173 int numPens = 0;
10174 wxPen* pen;
10175 PyObject* obj;
10176 int x1, y1;
10177 int i = 0;
10178
10179 if (!PySequence_Check(pyPoints)) {
10180 goto err0;
10181 }
10182 if (!PySequence_Check(pyPens)) {
10183 goto err1;
10184 }
10185 numObjs = PySequence_Length(pyPoints);
10186 numPens = PySequence_Length(pyPens);
10187
10188 for (i = 0; i < numObjs; i++) {
10189 // Use a new pen?
10190 if (i < numPens) {
10191 if (isFastPens) {
10192 obj = PySequence_Fast_GET_ITEM(pyPens, i);
10193 }
10194 else {
10195 obj = PySequence_GetItem(pyPens, i);
10196 }
10197 if (SWIG_GetPtrObj(obj, (void **) &pen, "_wxPen_p")) {
76e280e7
RD
10198 if (!isFastPens)
10199 Py_DECREF(obj);
9d37f964
RD
10200 goto err1;
10201 }
10202
10203 self->SetPen(*pen);
10204 if (!isFastPens)
10205 Py_DECREF(obj);
10206 }
10207
10208 // Get the point coordinants
10209 if (isFastSeq) {
10210 obj = PySequence_Fast_GET_ITEM(pyPoints, i);
10211 }
10212 else {
10213 obj = PySequence_GetItem(pyPoints, i);
10214 }
10215 if (! _2int_seq_helper(obj, &x1, &y1)) {
76e280e7
RD
10216 if (!isFastPens)
10217 Py_DECREF(obj);
9d37f964
RD
10218 goto err0;
10219 }
10220
10221 // Now draw the point
10222 self->DrawPoint(x1, y1);
10223
10224 if (!isFastSeq)
10225 Py_DECREF(obj);
10226 }
10227
10228 Py_INCREF(Py_None);
10229 return Py_None;
10230
10231 err1:
10232 PyErr_SetString(PyExc_TypeError, "Expected a sequence of wxPens");
10233 return NULL;
10234 err0:
10235 PyErr_SetString(PyExc_TypeError, "Expected a sequence of (x,y) sequences.");
10236 return NULL;
10237 }
10238static PyObject *_wrap_wxDC__DrawPointList(PyObject *self, PyObject *args, PyObject *kwargs) {
10239 PyObject * _resultobj;
10240 PyObject * _result;
10241 wxDC * _arg0;
10242 PyObject * _arg1;
10243 PyObject * _arg2;
10244 PyObject * _argo0 = 0;
10245 PyObject * _obj1 = 0;
10246 PyObject * _obj2 = 0;
10247 char *_kwnames[] = { "self","pyPoints","pyPens", NULL };
10248
10249 self = self;
10250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxDC__DrawPointList",_kwnames,&_argo0,&_obj1,&_obj2))
10251 return NULL;
10252 if (_argo0) {
10253 if (_argo0 == Py_None) { _arg0 = NULL; }
10254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
10255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC__DrawPointList. Expected _wxDC_p.");
10256 return NULL;
10257 }
10258 }
10259{
10260 _arg1 = _obj1;
10261}
10262{
10263 _arg2 = _obj2;
10264}
10265{
4268f798 10266 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10267 _result = (PyObject *)wxDC__DrawPointList(_arg0,_arg1,_arg2);
9d37f964 10268
4268f798 10269 wxPyEndAllowThreads(__tstate);
9d37f964
RD
10270 if (PyErr_Occurred()) return NULL;
10271}{
10272 _resultobj = _result;
10273}
10274 return _resultobj;
10275}
10276
10277static PyObject * wxDC__DrawLineList(wxDC *self,PyObject * pyLines,PyObject * pyPens) {
10278 bool isFastSeq = PyList_Check(pyLines) || PyTuple_Check(pyLines);
10279 bool isFastPens = PyList_Check(pyPens) || PyTuple_Check(pyPens);
10280 int numObjs = 0;
10281 int numPens = 0;
10282 wxPen* pen;
10283 PyObject* obj;
10284 int x1, y1, x2, y2;
10285 int i = 0;
10286
10287 if (!PySequence_Check(pyLines)) {
10288 goto err0;
10289 }
10290 if (!PySequence_Check(pyPens)) {
10291 goto err1;
10292 }
10293 numObjs = PySequence_Length(pyLines);
10294 numPens = PySequence_Length(pyPens);
10295
10296 for (i = 0; i < numObjs; i++) {
10297 // Use a new pen?
10298 if (i < numPens) {
10299 if (isFastPens) {
10300 obj = PySequence_Fast_GET_ITEM(pyPens, i);
10301 }
10302 else {
10303 obj = PySequence_GetItem(pyPens, i);
10304 }
10305 if (SWIG_GetPtrObj(obj, (void **) &pen, "_wxPen_p")) {
76e280e7
RD
10306 if (!isFastPens)
10307 Py_DECREF(obj);
9d37f964
RD
10308 goto err1;
10309 }
10310
10311 self->SetPen(*pen);
10312 if (!isFastPens)
10313 Py_DECREF(obj);
10314 }
10315
10316 // Get the line coordinants
10317 if (isFastSeq) {
10318 obj = PySequence_Fast_GET_ITEM(pyLines, i);
10319 }
10320 else {
10321 obj = PySequence_GetItem(pyLines, i);
10322 }
10323 if (! _4int_seq_helper(obj, &x1, &y1, &x2, &y2)) {
76e280e7
RD
10324 if (!isFastPens)
10325 Py_DECREF(obj);
9d37f964
RD
10326 goto err0;
10327 }
10328
10329 // Now draw the line
10330 self->DrawLine(x1, y1, x2, y2);
10331
10332 if (!isFastSeq)
10333 Py_DECREF(obj);
10334 }
10335
10336 Py_INCREF(Py_None);
10337 return Py_None;
10338
10339 err1:
10340 PyErr_SetString(PyExc_TypeError, "Expected a sequence of wxPens");
10341 return NULL;
10342 err0:
10343 PyErr_SetString(PyExc_TypeError, "Expected a sequence of (x1,y1, x2,y2) sequences.");
10344 return NULL;
10345 }
10346static PyObject *_wrap_wxDC__DrawLineList(PyObject *self, PyObject *args, PyObject *kwargs) {
10347 PyObject * _resultobj;
10348 PyObject * _result;
10349 wxDC * _arg0;
10350 PyObject * _arg1;
10351 PyObject * _arg2;
10352 PyObject * _argo0 = 0;
10353 PyObject * _obj1 = 0;
10354 PyObject * _obj2 = 0;
10355 char *_kwnames[] = { "self","pyLines","pyPens", NULL };
10356
10357 self = self;
10358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxDC__DrawLineList",_kwnames,&_argo0,&_obj1,&_obj2))
10359 return NULL;
10360 if (_argo0) {
10361 if (_argo0 == Py_None) { _arg0 = NULL; }
10362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
10363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC__DrawLineList. Expected _wxDC_p.");
10364 return NULL;
10365 }
10366 }
10367{
10368 _arg1 = _obj1;
10369}
10370{
10371 _arg2 = _obj2;
10372}
10373{
4268f798 10374 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10375 _result = (PyObject *)wxDC__DrawLineList(_arg0,_arg1,_arg2);
9d37f964 10376
4268f798 10377 wxPyEndAllowThreads(__tstate);
9d37f964
RD
10378 if (PyErr_Occurred()) return NULL;
10379}{
10380 _resultobj = _result;
10381}
10382 return _resultobj;
10383}
10384
8ab979d7
RD
10385static void *SwigwxMemoryDCTowxDC(void *ptr) {
10386 wxMemoryDC *src;
10387 wxDC *dest;
10388 src = (wxMemoryDC *) ptr;
10389 dest = (wxDC *) src;
10390 return (void *) dest;
10391}
10392
9416aa89
RD
10393static void *SwigwxMemoryDCTowxObject(void *ptr) {
10394 wxMemoryDC *src;
10395 wxObject *dest;
10396 src = (wxMemoryDC *) ptr;
10397 dest = (wxObject *) src;
10398 return (void *) dest;
10399}
10400
8ab979d7 10401#define new_wxMemoryDC() (new wxMemoryDC())
1afc06c2 10402static PyObject *_wrap_new_wxMemoryDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10403 PyObject * _resultobj;
10404 wxMemoryDC * _result;
1afc06c2 10405 char *_kwnames[] = { NULL };
8ab979d7
RD
10406 char _ptemp[128];
10407
10408 self = self;
1afc06c2 10409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxMemoryDC",_kwnames))
8ab979d7 10410 return NULL;
cf694132 10411{
4268f798 10412 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10413 _result = (wxMemoryDC *)new_wxMemoryDC();
cf694132 10414
4268f798 10415 wxPyEndAllowThreads(__tstate);
493f1553 10416 if (PyErr_Occurred()) return NULL;
1d99702e
RD
10417} if (_result) {
10418 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMemoryDC_p");
10419 _resultobj = Py_BuildValue("s",_ptemp);
10420 } else {
10421 Py_INCREF(Py_None);
10422 _resultobj = Py_None;
10423 }
8ab979d7
RD
10424 return _resultobj;
10425}
10426
10427#define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
1afc06c2 10428static PyObject *_wrap_wxMemoryDC_SelectObject(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10429 PyObject * _resultobj;
10430 wxMemoryDC * _arg0;
10431 wxBitmap * _arg1;
1d99702e
RD
10432 PyObject * _argo0 = 0;
10433 PyObject * _argo1 = 0;
1afc06c2 10434 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
10435
10436 self = self;
1afc06c2 10437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMemoryDC_SelectObject",_kwnames,&_argo0,&_argo1))
8ab979d7 10438 return NULL;
1d99702e
RD
10439 if (_argo0) {
10440 if (_argo0 == Py_None) { _arg0 = NULL; }
10441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMemoryDC_p")) {
8ab979d7
RD
10442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
10443 return NULL;
10444 }
10445 }
1d99702e
RD
10446 if (_argo1) {
10447 if (_argo1 == Py_None) { _arg1 = NULL; }
10448 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
10449 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
10450 return NULL;
10451 }
10452 }
cf694132 10453{
4268f798 10454 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10455 wxMemoryDC_SelectObject(_arg0,*_arg1);
cf694132 10456
4268f798 10457 wxPyEndAllowThreads(__tstate);
493f1553 10458 if (PyErr_Occurred()) return NULL;
cf694132 10459} Py_INCREF(Py_None);
8ab979d7
RD
10460 _resultobj = Py_None;
10461 return _resultobj;
10462}
10463
e9159fe8
RD
10464static void *SwigwxBufferedDCTowxMemoryDC(void *ptr) {
10465 wxBufferedDC *src;
10466 wxMemoryDC *dest;
10467 src = (wxBufferedDC *) ptr;
10468 dest = (wxMemoryDC *) src;
10469 return (void *) dest;
10470}
10471
10472static void *SwigwxBufferedDCTowxDC(void *ptr) {
10473 wxBufferedDC *src;
10474 wxDC *dest;
10475 src = (wxBufferedDC *) ptr;
10476 dest = (wxDC *) src;
10477 return (void *) dest;
10478}
10479
10480static void *SwigwxBufferedDCTowxObject(void *ptr) {
10481 wxBufferedDC *src;
10482 wxObject *dest;
10483 src = (wxBufferedDC *) ptr;
10484 dest = (wxObject *) src;
10485 return (void *) dest;
10486}
10487
10488#define new_wxBufferedDC(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
10489static PyObject *_wrap_new_wxBufferedDC(PyObject *self, PyObject *args, PyObject *kwargs) {
10490 PyObject * _resultobj;
10491 wxBufferedDC * _result;
10492 wxDC * _arg0;
10493 wxBitmap * _arg1;
10494 PyObject * _argo0 = 0;
10495 PyObject * _argo1 = 0;
10496 char *_kwnames[] = { "dc","buffer", NULL };
10497 char _ptemp[128];
10498
10499 self = self;
10500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxBufferedDC",_kwnames,&_argo0,&_argo1))
10501 return NULL;
10502 if (_argo0) {
10503 if (_argo0 == Py_None) { _arg0 = NULL; }
10504 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
10505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBufferedDC. Expected _wxDC_p.");
10506 return NULL;
10507 }
10508 }
10509 if (_argo1) {
10510 if (_argo1 == Py_None) { _arg1 = NULL; }
10511 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
10512 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxBufferedDC. Expected _wxBitmap_p.");
10513 return NULL;
10514 }
10515 }
10516{
10517 PyThreadState* __tstate = wxPyBeginAllowThreads();
10518 _result = (wxBufferedDC *)new_wxBufferedDC(_arg0,*_arg1);
10519
10520 wxPyEndAllowThreads(__tstate);
10521 if (PyErr_Occurred()) return NULL;
10522} if (_result) {
10523 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBufferedDC_p");
10524 _resultobj = Py_BuildValue("s",_ptemp);
10525 } else {
10526 Py_INCREF(Py_None);
10527 _resultobj = Py_None;
10528 }
10529 return _resultobj;
10530}
10531
10532#define new_wxBufferedDCInternalBuffer(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
10533static PyObject *_wrap_new_wxBufferedDCInternalBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10534 PyObject * _resultobj;
10535 wxBufferedDC * _result;
10536 wxDC * _arg0;
10537 wxSize * _arg1;
10538 PyObject * _argo0 = 0;
10539 wxSize temp;
10540 PyObject * _obj1 = 0;
10541 char *_kwnames[] = { "dc","area", NULL };
10542 char _ptemp[128];
10543
10544 self = self;
10545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxBufferedDCInternalBuffer",_kwnames,&_argo0,&_obj1))
10546 return NULL;
10547 if (_argo0) {
10548 if (_argo0 == Py_None) { _arg0 = NULL; }
10549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
10550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBufferedDCInternalBuffer. Expected _wxDC_p.");
10551 return NULL;
10552 }
10553 }
10554{
10555 _arg1 = &temp;
10556 if (! wxSize_helper(_obj1, &_arg1))
10557 return NULL;
10558}
10559{
10560 PyThreadState* __tstate = wxPyBeginAllowThreads();
10561 _result = (wxBufferedDC *)new_wxBufferedDCInternalBuffer(_arg0,*_arg1);
10562
10563 wxPyEndAllowThreads(__tstate);
10564 if (PyErr_Occurred()) return NULL;
10565} if (_result) {
10566 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBufferedDC_p");
10567 _resultobj = Py_BuildValue("s",_ptemp);
10568 } else {
10569 Py_INCREF(Py_None);
10570 _resultobj = Py_None;
10571 }
10572 return _resultobj;
10573}
10574
10575static void *SwigwxBufferedPaintDCTowxBufferedDC(void *ptr) {
10576 wxBufferedPaintDC *src;
10577 wxBufferedDC *dest;
10578 src = (wxBufferedPaintDC *) ptr;
10579 dest = (wxBufferedDC *) src;
10580 return (void *) dest;
10581}
10582
10583static void *SwigwxBufferedPaintDCTowxMemoryDC(void *ptr) {
10584 wxBufferedPaintDC *src;
10585 wxMemoryDC *dest;
10586 src = (wxBufferedPaintDC *) ptr;
10587 dest = (wxMemoryDC *) src;
10588 return (void *) dest;
10589}
10590
10591static void *SwigwxBufferedPaintDCTowxDC(void *ptr) {
10592 wxBufferedPaintDC *src;
10593 wxDC *dest;
10594 src = (wxBufferedPaintDC *) ptr;
10595 dest = (wxDC *) src;
10596 return (void *) dest;
10597}
10598
10599static void *SwigwxBufferedPaintDCTowxObject(void *ptr) {
10600 wxBufferedPaintDC *src;
10601 wxObject *dest;
10602 src = (wxBufferedPaintDC *) ptr;
10603 dest = (wxObject *) src;
10604 return (void *) dest;
10605}
10606
10607#define new_wxBufferedPaintDC(_swigarg0,_swigarg1) (new wxBufferedPaintDC(_swigarg0,_swigarg1))
10608static PyObject *_wrap_new_wxBufferedPaintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
10609 PyObject * _resultobj;
10610 wxBufferedPaintDC * _result;
10611 wxWindow * _arg0;
10612 wxBitmap * _arg1 = (wxBitmap *) &wxNullBitmap;
10613 PyObject * _argo0 = 0;
10614 PyObject * _argo1 = 0;
10615 char *_kwnames[] = { "window","buffer", NULL };
10616 char _ptemp[128];
10617
10618 self = self;
10619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxBufferedPaintDC",_kwnames,&_argo0,&_argo1))
10620 return NULL;
10621 if (_argo0) {
10622 if (_argo0 == Py_None) { _arg0 = NULL; }
10623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
10624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBufferedPaintDC. Expected _wxWindow_p.");
10625 return NULL;
10626 }
10627 }
10628 if (_argo1) {
10629 if (_argo1 == Py_None) { _arg1 = NULL; }
10630 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
10631 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxBufferedPaintDC. Expected _wxBitmap_p.");
10632 return NULL;
10633 }
10634 }
10635{
10636 PyThreadState* __tstate = wxPyBeginAllowThreads();
10637 _result = (wxBufferedPaintDC *)new_wxBufferedPaintDC(_arg0,*_arg1);
10638
10639 wxPyEndAllowThreads(__tstate);
10640 if (PyErr_Occurred()) return NULL;
10641} if (_result) {
10642 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBufferedPaintDC_p");
10643 _resultobj = Py_BuildValue("s",_ptemp);
10644 } else {
10645 Py_INCREF(Py_None);
10646 _resultobj = Py_None;
10647 }
10648 return _resultobj;
10649}
10650
8ab979d7
RD
10651static void *SwigwxScreenDCTowxDC(void *ptr) {
10652 wxScreenDC *src;
10653 wxDC *dest;
10654 src = (wxScreenDC *) ptr;
10655 dest = (wxDC *) src;
10656 return (void *) dest;
10657}
10658
9416aa89
RD
10659static void *SwigwxScreenDCTowxObject(void *ptr) {
10660 wxScreenDC *src;
10661 wxObject *dest;
10662 src = (wxScreenDC *) ptr;
10663 dest = (wxObject *) src;
10664 return (void *) dest;
10665}
10666
8ab979d7 10667#define new_wxScreenDC() (new wxScreenDC())
1afc06c2 10668static PyObject *_wrap_new_wxScreenDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10669 PyObject * _resultobj;
10670 wxScreenDC * _result;
1afc06c2 10671 char *_kwnames[] = { NULL };
8ab979d7
RD
10672 char _ptemp[128];
10673
10674 self = self;
1afc06c2 10675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxScreenDC",_kwnames))
8ab979d7 10676 return NULL;
cf694132 10677{
4268f798 10678 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10679 _result = (wxScreenDC *)new_wxScreenDC();
cf694132 10680
4268f798 10681 wxPyEndAllowThreads(__tstate);
493f1553 10682 if (PyErr_Occurred()) return NULL;
1d99702e
RD
10683} if (_result) {
10684 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScreenDC_p");
10685 _resultobj = Py_BuildValue("s",_ptemp);
10686 } else {
10687 Py_INCREF(Py_None);
10688 _resultobj = Py_None;
10689 }
8ab979d7
RD
10690 return _resultobj;
10691}
10692
26b9cf27
RD
10693#define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
10694static PyObject *_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10695 PyObject * _resultobj;
10696 bool _result;
10697 wxScreenDC * _arg0;
10698 wxWindow * _arg1;
1d99702e
RD
10699 PyObject * _argo0 = 0;
10700 PyObject * _argo1 = 0;
1afc06c2 10701 char *_kwnames[] = { "self","window", NULL };
8ab979d7
RD
10702
10703 self = self;
26b9cf27 10704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames,&_argo0,&_argo1))
8ab979d7 10705 return NULL;
1d99702e
RD
10706 if (_argo0) {
10707 if (_argo0 == Py_None) { _arg0 = NULL; }
10708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScreenDC_p")) {
26b9cf27 10709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
8ab979d7
RD
10710 return NULL;
10711 }
10712 }
1d99702e
RD
10713 if (_argo1) {
10714 if (_argo1 == Py_None) { _arg1 = NULL; }
10715 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
26b9cf27 10716 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
8ab979d7
RD
10717 return NULL;
10718 }
10719 }
cf694132 10720{
4268f798 10721 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10722 _result = (bool )wxScreenDC_StartDrawingOnTopWin(_arg0,_arg1);
cf694132 10723
4268f798 10724 wxPyEndAllowThreads(__tstate);
493f1553 10725 if (PyErr_Occurred()) return NULL;
cf694132 10726} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10727 return _resultobj;
10728}
10729
26b9cf27
RD
10730#define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
10731static PyObject *_wrap_wxScreenDC_StartDrawingOnTop(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10732 PyObject * _resultobj;
10733 bool _result;
10734 wxScreenDC * _arg0;
1d99702e
RD
10735 wxRect * _arg1 = (wxRect *) NULL;
10736 PyObject * _argo0 = 0;
2f90df85
RD
10737 wxRect temp;
10738 PyObject * _obj1 = 0;
1afc06c2 10739 char *_kwnames[] = { "self","rect", NULL };
8ab979d7
RD
10740
10741 self = self;
26b9cf27 10742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames,&_argo0,&_obj1))
8ab979d7 10743 return NULL;
1d99702e
RD
10744 if (_argo0) {
10745 if (_argo0 == Py_None) { _arg0 = NULL; }
10746 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScreenDC_p")) {
26b9cf27 10747 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
8ab979d7
RD
10748 return NULL;
10749 }
10750 }
2f90df85
RD
10751 if (_obj1)
10752{
10753 _arg1 = &temp;
10754 if (! wxRect_helper(_obj1, &_arg1))
8ab979d7 10755 return NULL;
2f90df85 10756}
cf694132 10757{
4268f798 10758 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10759 _result = (bool )wxScreenDC_StartDrawingOnTop(_arg0,_arg1);
cf694132 10760
4268f798 10761 wxPyEndAllowThreads(__tstate);
493f1553 10762 if (PyErr_Occurred()) return NULL;
cf694132 10763} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10764 return _resultobj;
10765}
10766
10767#define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
1afc06c2 10768static PyObject *_wrap_wxScreenDC_EndDrawingOnTop(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10769 PyObject * _resultobj;
10770 bool _result;
10771 wxScreenDC * _arg0;
1d99702e 10772 PyObject * _argo0 = 0;
1afc06c2 10773 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10774
10775 self = self;
1afc06c2 10776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScreenDC_EndDrawingOnTop",_kwnames,&_argo0))
8ab979d7 10777 return NULL;
1d99702e
RD
10778 if (_argo0) {
10779 if (_argo0 == Py_None) { _arg0 = NULL; }
10780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScreenDC_p")) {
8ab979d7
RD
10781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
10782 return NULL;
10783 }
10784 }
cf694132 10785{
4268f798 10786 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10787 _result = (bool )wxScreenDC_EndDrawingOnTop(_arg0);
cf694132 10788
4268f798 10789 wxPyEndAllowThreads(__tstate);
493f1553 10790 if (PyErr_Occurred()) return NULL;
cf694132 10791} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10792 return _resultobj;
10793}
10794
10795static void *SwigwxClientDCTowxDC(void *ptr) {
10796 wxClientDC *src;
10797 wxDC *dest;
10798 src = (wxClientDC *) ptr;
10799 dest = (wxDC *) src;
10800 return (void *) dest;
10801}
10802
9416aa89
RD
10803static void *SwigwxClientDCTowxObject(void *ptr) {
10804 wxClientDC *src;
10805 wxObject *dest;
10806 src = (wxClientDC *) ptr;
10807 dest = (wxObject *) src;
10808 return (void *) dest;
10809}
10810
8ab979d7 10811#define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
1afc06c2 10812static PyObject *_wrap_new_wxClientDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10813 PyObject * _resultobj;
10814 wxClientDC * _result;
10815 wxWindow * _arg0;
1d99702e 10816 PyObject * _argo0 = 0;
1afc06c2 10817 char *_kwnames[] = { "win", NULL };
8ab979d7
RD
10818 char _ptemp[128];
10819
10820 self = self;
1afc06c2 10821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxClientDC",_kwnames,&_argo0))
8ab979d7 10822 return NULL;
1d99702e
RD
10823 if (_argo0) {
10824 if (_argo0 == Py_None) { _arg0 = NULL; }
10825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
10826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
10827 return NULL;
10828 }
10829 }
cf694132 10830{
4268f798 10831 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10832 _result = (wxClientDC *)new_wxClientDC(_arg0);
cf694132 10833
4268f798 10834 wxPyEndAllowThreads(__tstate);
493f1553 10835 if (PyErr_Occurred()) return NULL;
1d99702e
RD
10836} if (_result) {
10837 SWIG_MakePtr(_ptemp, (char *) _result,"_wxClientDC_p");
10838 _resultobj = Py_BuildValue("s",_ptemp);
10839 } else {
10840 Py_INCREF(Py_None);
10841 _resultobj = Py_None;
10842 }
8ab979d7
RD
10843 return _resultobj;
10844}
10845
10846static void *SwigwxPaintDCTowxDC(void *ptr) {
10847 wxPaintDC *src;
10848 wxDC *dest;
10849 src = (wxPaintDC *) ptr;
10850 dest = (wxDC *) src;
10851 return (void *) dest;
10852}
10853
9416aa89
RD
10854static void *SwigwxPaintDCTowxObject(void *ptr) {
10855 wxPaintDC *src;
10856 wxObject *dest;
10857 src = (wxPaintDC *) ptr;
10858 dest = (wxObject *) src;
10859 return (void *) dest;
10860}
10861
8ab979d7 10862#define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
1afc06c2 10863static PyObject *_wrap_new_wxPaintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10864 PyObject * _resultobj;
10865 wxPaintDC * _result;
10866 wxWindow * _arg0;
1d99702e 10867 PyObject * _argo0 = 0;
1afc06c2 10868 char *_kwnames[] = { "win", NULL };
8ab979d7
RD
10869 char _ptemp[128];
10870
10871 self = self;
1afc06c2 10872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxPaintDC",_kwnames,&_argo0))
8ab979d7 10873 return NULL;
1d99702e
RD
10874 if (_argo0) {
10875 if (_argo0 == Py_None) { _arg0 = NULL; }
10876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
10877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
10878 return NULL;
10879 }
10880 }
cf694132 10881{
4268f798 10882 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10883 _result = (wxPaintDC *)new_wxPaintDC(_arg0);
cf694132 10884
4268f798 10885 wxPyEndAllowThreads(__tstate);
493f1553 10886 if (PyErr_Occurred()) return NULL;
1d99702e
RD
10887} if (_result) {
10888 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPaintDC_p");
10889 _resultobj = Py_BuildValue("s",_ptemp);
10890 } else {
10891 Py_INCREF(Py_None);
10892 _resultobj = Py_None;
10893 }
8ab979d7
RD
10894 return _resultobj;
10895}
10896
b639c3c5
RD
10897static void *SwigwxWindowDCTowxDC(void *ptr) {
10898 wxWindowDC *src;
10899 wxDC *dest;
10900 src = (wxWindowDC *) ptr;
10901 dest = (wxDC *) src;
10902 return (void *) dest;
10903}
10904
9416aa89
RD
10905static void *SwigwxWindowDCTowxObject(void *ptr) {
10906 wxWindowDC *src;
10907 wxObject *dest;
10908 src = (wxWindowDC *) ptr;
10909 dest = (wxObject *) src;
10910 return (void *) dest;
10911}
10912
b639c3c5 10913#define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
1afc06c2 10914static PyObject *_wrap_new_wxWindowDC(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
10915 PyObject * _resultobj;
10916 wxWindowDC * _result;
10917 wxWindow * _arg0;
1d99702e 10918 PyObject * _argo0 = 0;
1afc06c2 10919 char *_kwnames[] = { "win", NULL };
b639c3c5
RD
10920 char _ptemp[128];
10921
10922 self = self;
1afc06c2 10923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxWindowDC",_kwnames,&_argo0))
b639c3c5 10924 return NULL;
1d99702e
RD
10925 if (_argo0) {
10926 if (_argo0 == Py_None) { _arg0 = NULL; }
10927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b639c3c5
RD
10928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
10929 return NULL;
10930 }
10931 }
cf694132 10932{
4268f798 10933 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10934 _result = (wxWindowDC *)new_wxWindowDC(_arg0);
cf694132 10935
4268f798 10936 wxPyEndAllowThreads(__tstate);
493f1553 10937 if (PyErr_Occurred()) return NULL;
1d99702e
RD
10938} if (_result) {
10939 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindowDC_p");
10940 _resultobj = Py_BuildValue("s",_ptemp);
10941 } else {
10942 Py_INCREF(Py_None);
10943 _resultobj = Py_None;
10944 }
b639c3c5
RD
10945 return _resultobj;
10946}
10947
17c0e08c
RD
10948static void *SwigwxMetaFileTowxObject(void *ptr) {
10949 wxMetaFile *src;
10950 wxObject *dest;
10951 src = (wxMetaFile *) ptr;
10952 dest = (wxObject *) src;
10953 return (void *) dest;
10954}
10955
10956#define new_wxMetaFile(_swigarg0) (new wxMetaFile(_swigarg0))
10957static PyObject *_wrap_new_wxMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
10958 PyObject * _resultobj;
10959 wxMetaFile * _result;
137b5242 10960 wxString * _arg0 = (wxString *) &wxPyEmptyString;
17c0e08c
RD
10961 PyObject * _obj0 = 0;
10962 char *_kwnames[] = { "filename", NULL };
10963 char _ptemp[128];
10964
10965 self = self;
10966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxMetaFile",_kwnames,&_obj0))
10967 return NULL;
10968 if (_obj0)
10969{
c8bc7bb8
RD
10970 _arg0 = wxString_in_helper(_obj0);
10971 if (_arg0 == NULL)
17c0e08c 10972 return NULL;
17c0e08c
RD
10973}
10974{
4268f798 10975 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10976 _result = (wxMetaFile *)new_wxMetaFile(*_arg0);
17c0e08c 10977
4268f798 10978 wxPyEndAllowThreads(__tstate);
17c0e08c
RD
10979 if (PyErr_Occurred()) return NULL;
10980} if (_result) {
10981 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMetaFile_p");
10982 _resultobj = Py_BuildValue("s",_ptemp);
10983 } else {
10984 Py_INCREF(Py_None);
10985 _resultobj = Py_None;
10986 }
10987{
10988 if (_obj0)
10989 delete _arg0;
10990}
10991 return _resultobj;
10992}
10993
10994#define delete_wxMetaFile(_swigobj) (delete _swigobj)
10995static PyObject *_wrap_delete_wxMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
10996 PyObject * _resultobj;
10997 wxMetaFile * _arg0;
10998 PyObject * _argo0 = 0;
10999 char *_kwnames[] = { "self", NULL };
11000
11001 self = self;
11002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxMetaFile",_kwnames,&_argo0))
11003 return NULL;
11004 if (_argo0) {
11005 if (_argo0 == Py_None) { _arg0 = NULL; }
11006 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFile_p")) {
11007 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxMetaFile. Expected _wxMetaFile_p.");
11008 return NULL;
11009 }
11010 }
11011{
4268f798 11012 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11013 delete_wxMetaFile(_arg0);
17c0e08c 11014
4268f798 11015 wxPyEndAllowThreads(__tstate);
17c0e08c
RD
11016 if (PyErr_Occurred()) return NULL;
11017} Py_INCREF(Py_None);
11018 _resultobj = Py_None;
11019 return _resultobj;
11020}
11021
11022#define wxMetaFile_Ok(_swigobj) (_swigobj->Ok())
11023static PyObject *_wrap_wxMetaFile_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
11024 PyObject * _resultobj;
11025 bool _result;
11026 wxMetaFile * _arg0;
11027 PyObject * _argo0 = 0;
11028 char *_kwnames[] = { "self", NULL };
11029
11030 self = self;
11031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMetaFile_Ok",_kwnames,&_argo0))
11032 return NULL;
11033 if (_argo0) {
11034 if (_argo0 == Py_None) { _arg0 = NULL; }
11035 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFile_p")) {
11036 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMetaFile_Ok. Expected _wxMetaFile_p.");
11037 return NULL;
11038 }
11039 }
11040{
4268f798 11041 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11042 _result = (bool )wxMetaFile_Ok(_arg0);
17c0e08c 11043
4268f798 11044 wxPyEndAllowThreads(__tstate);
17c0e08c
RD
11045 if (PyErr_Occurred()) return NULL;
11046} _resultobj = Py_BuildValue("i",_result);
11047 return _resultobj;
11048}
11049
11050#define wxMetaFile_SetClipboard(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClipboard(_swigarg0,_swigarg1))
11051static PyObject *_wrap_wxMetaFile_SetClipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
11052 PyObject * _resultobj;
11053 bool _result;
11054 wxMetaFile * _arg0;
11055 int _arg1 = (int ) 0;
11056 int _arg2 = (int ) 0;
11057 PyObject * _argo0 = 0;
11058 char *_kwnames[] = { "self","width","height", NULL };
11059
11060 self = self;
11061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxMetaFile_SetClipboard",_kwnames,&_argo0,&_arg1,&_arg2))
11062 return NULL;
11063 if (_argo0) {
11064 if (_argo0 == Py_None) { _arg0 = NULL; }
11065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFile_p")) {
11066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMetaFile_SetClipboard. Expected _wxMetaFile_p.");
11067 return NULL;
11068 }
11069 }
11070{
4268f798 11071 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11072 _result = (bool )wxMetaFile_SetClipboard(_arg0,_arg1,_arg2);
17c0e08c 11073
4268f798 11074 wxPyEndAllowThreads(__tstate);
17c0e08c
RD
11075 if (PyErr_Occurred()) return NULL;
11076} _resultobj = Py_BuildValue("i",_result);
11077 return _resultobj;
11078}
11079
11080#define wxMetaFile_GetSize(_swigobj) (_swigobj->GetSize())
11081static PyObject *_wrap_wxMetaFile_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11082 PyObject * _resultobj;
11083 wxSize * _result;
11084 wxMetaFile * _arg0;
11085 PyObject * _argo0 = 0;
11086 char *_kwnames[] = { "self", NULL };
11087 char _ptemp[128];
11088
11089 self = self;
11090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMetaFile_GetSize",_kwnames,&_argo0))
11091 return NULL;
11092 if (_argo0) {
11093 if (_argo0 == Py_None) { _arg0 = NULL; }
11094 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFile_p")) {
11095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMetaFile_GetSize. Expected _wxMetaFile_p.");
11096 return NULL;
11097 }
11098 }
11099{
4268f798 11100 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11101 _result = new wxSize (wxMetaFile_GetSize(_arg0));
17c0e08c 11102
4268f798 11103 wxPyEndAllowThreads(__tstate);
17c0e08c
RD
11104 if (PyErr_Occurred()) return NULL;
11105} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
11106 _resultobj = Py_BuildValue("s",_ptemp);
11107 return _resultobj;
11108}
11109
11110#define wxMetaFile_GetWidth(_swigobj) (_swigobj->GetWidth())
11111static PyObject *_wrap_wxMetaFile_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11112 PyObject * _resultobj;
11113 int _result;
11114 wxMetaFile * _arg0;
11115 PyObject * _argo0 = 0;
11116 char *_kwnames[] = { "self", NULL };
11117
11118 self = self;
11119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMetaFile_GetWidth",_kwnames,&_argo0))
11120 return NULL;
11121 if (_argo0) {
11122 if (_argo0 == Py_None) { _arg0 = NULL; }
11123 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFile_p")) {
11124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMetaFile_GetWidth. Expected _wxMetaFile_p.");
11125 return NULL;
11126 }
11127 }
11128{
4268f798 11129 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11130 _result = (int )wxMetaFile_GetWidth(_arg0);
17c0e08c 11131
4268f798 11132 wxPyEndAllowThreads(__tstate);
17c0e08c
RD
11133 if (PyErr_Occurred()) return NULL;
11134} _resultobj = Py_BuildValue("i",_result);
11135 return _resultobj;
11136}
11137
11138#define wxMetaFile_GetHeight(_swigobj) (_swigobj->GetHeight())
11139static PyObject *_wrap_wxMetaFile_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
11140 PyObject * _resultobj;
11141 int _result;
11142 wxMetaFile * _arg0;
11143 PyObject * _argo0 = 0;
11144 char *_kwnames[] = { "self", NULL };
11145
11146 self = self;
11147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMetaFile_GetHeight",_kwnames,&_argo0))
11148 return NULL;
11149 if (_argo0) {
11150 if (_argo0 == Py_None) { _arg0 = NULL; }
11151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFile_p")) {
11152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMetaFile_GetHeight. Expected _wxMetaFile_p.");
11153 return NULL;
11154 }
11155 }
11156{
4268f798 11157 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11158 _result = (int )wxMetaFile_GetHeight(_arg0);
17c0e08c 11159
4268f798 11160 wxPyEndAllowThreads(__tstate);
17c0e08c
RD
11161 if (PyErr_Occurred()) return NULL;
11162} _resultobj = Py_BuildValue("i",_result);
11163 return _resultobj;
11164}
11165
11166#define wxMetaFile_GetFileName(_swigobj) (_swigobj->GetFileName())
11167static PyObject *_wrap_wxMetaFile_GetFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
11168 PyObject * _resultobj;
11169 wxString * _result;
11170 wxMetaFile * _arg0;
11171 PyObject * _argo0 = 0;
11172 char *_kwnames[] = { "self", NULL };
11173
11174 self = self;
11175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMetaFile_GetFileName",_kwnames,&_argo0))
11176 return NULL;
11177 if (_argo0) {
11178 if (_argo0 == Py_None) { _arg0 = NULL; }
11179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFile_p")) {
11180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMetaFile_GetFileName. Expected _wxMetaFile_p.");
11181 return NULL;
11182 }
11183 }
11184{
4268f798 11185 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11186 const wxString & _result_ref = wxMetaFile_GetFileName(_arg0);
17c0e08c
RD
11187 _result = (wxString *) &_result_ref;
11188
4268f798 11189 wxPyEndAllowThreads(__tstate);
17c0e08c
RD
11190 if (PyErr_Occurred()) return NULL;
11191}{
c8bc7bb8
RD
11192#if wxUSE_UNICODE
11193 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
11194#else
17c0e08c 11195 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 11196#endif
17c0e08c
RD
11197}
11198 return _resultobj;
11199}
11200
8ab979d7
RD
11201static void *SwigwxMetaFileDCTowxDC(void *ptr) {
11202 wxMetaFileDC *src;
11203 wxDC *dest;
11204 src = (wxMetaFileDC *) ptr;
11205 dest = (wxDC *) src;
11206 return (void *) dest;
11207}
11208
9416aa89
RD
11209static void *SwigwxMetaFileDCTowxObject(void *ptr) {
11210 wxMetaFileDC *src;
11211 wxObject *dest;
11212 src = (wxMetaFileDC *) ptr;
11213 dest = (wxObject *) src;
11214 return (void *) dest;
11215}
11216
17c0e08c 11217#define new_wxMetaFileDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxMetaFileDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 11218static PyObject *_wrap_new_wxMetaFileDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
11219 PyObject * _resultobj;
11220 wxMetaFileDC * _result;
137b5242 11221 wxString * _arg0 = (wxString *) &wxPyEmptyString;
17c0e08c
RD
11222 int _arg1 = (int ) 0;
11223 int _arg2 = (int ) 0;
137b5242 11224 wxString * _arg3 = (wxString *) &wxPyEmptyString;
8ab979d7 11225 PyObject * _obj0 = 0;
17c0e08c
RD
11226 PyObject * _obj3 = 0;
11227 char *_kwnames[] = { "filename","width","height","description", NULL };
8ab979d7
RD
11228 char _ptemp[128];
11229
11230 self = self;
17c0e08c 11231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OiiO:new_wxMetaFileDC",_kwnames,&_obj0,&_arg1,&_arg2,&_obj3))
8ab979d7
RD
11232 return NULL;
11233 if (_obj0)
11234{
c8bc7bb8
RD
11235 _arg0 = wxString_in_helper(_obj0);
11236 if (_arg0 == NULL)
185d7c3e 11237 return NULL;
17c0e08c
RD
11238}
11239 if (_obj3)
11240{
c8bc7bb8
RD
11241 _arg3 = wxString_in_helper(_obj3);
11242 if (_arg3 == NULL)
17c0e08c 11243 return NULL;
8ab979d7 11244}
cf694132 11245{
4268f798 11246 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11247 _result = (wxMetaFileDC *)new_wxMetaFileDC(*_arg0,_arg1,_arg2,*_arg3);
cf694132 11248
4268f798 11249 wxPyEndAllowThreads(__tstate);
493f1553 11250 if (PyErr_Occurred()) return NULL;
1d99702e
RD
11251} if (_result) {
11252 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMetaFileDC_p");
11253 _resultobj = Py_BuildValue("s",_ptemp);
11254 } else {
11255 Py_INCREF(Py_None);
11256 _resultobj = Py_None;
11257 }
8ab979d7
RD
11258{
11259 if (_obj0)
11260 delete _arg0;
17c0e08c
RD
11261}
11262{
11263 if (_obj3)
11264 delete _arg3;
8ab979d7
RD
11265}
11266 return _resultobj;
11267}
11268
11269#define wxMetaFileDC_Close(_swigobj) (_swigobj->Close())
1afc06c2 11270static PyObject *_wrap_wxMetaFileDC_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
11271 PyObject * _resultobj;
11272 wxMetaFile * _result;
11273 wxMetaFileDC * _arg0;
1d99702e 11274 PyObject * _argo0 = 0;
1afc06c2 11275 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
11276 char _ptemp[128];
11277
11278 self = self;
1afc06c2 11279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMetaFileDC_Close",_kwnames,&_argo0))
8ab979d7 11280 return NULL;
1d99702e
RD
11281 if (_argo0) {
11282 if (_argo0 == Py_None) { _arg0 = NULL; }
11283 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFileDC_p")) {
8ab979d7
RD
11284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMetaFileDC_Close. Expected _wxMetaFileDC_p.");
11285 return NULL;
11286 }
11287 }
cf694132 11288{
4268f798 11289 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11290 _result = (wxMetaFile *)wxMetaFileDC_Close(_arg0);
cf694132 11291
4268f798 11292 wxPyEndAllowThreads(__tstate);
493f1553 11293 if (PyErr_Occurred()) return NULL;
1d99702e
RD
11294} if (_result) {
11295 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMetaFile_p");
11296 _resultobj = Py_BuildValue("s",_ptemp);
11297 } else {
11298 Py_INCREF(Py_None);
11299 _resultobj = Py_None;
11300 }
8ab979d7
RD
11301 return _resultobj;
11302}
11303
9416aa89
RD
11304static void *SwigwxPaletteTowxGDIObject(void *ptr) {
11305 wxPalette *src;
11306 wxGDIObject *dest;
11307 src = (wxPalette *) ptr;
11308 dest = (wxGDIObject *) src;
11309 return (void *) dest;
11310}
11311
11312static void *SwigwxPaletteTowxObject(void *ptr) {
11313 wxPalette *src;
11314 wxObject *dest;
11315 src = (wxPalette *) ptr;
11316 dest = (wxObject *) src;
11317 return (void *) dest;
11318}
11319
b639c3c5 11320#define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 11321static PyObject *_wrap_new_wxPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
11322 PyObject * _resultobj;
11323 wxPalette * _result;
11324 int _arg0;
11325 byte * _arg1;
11326 byte * _arg2;
11327 byte * _arg3;
11328 PyObject * _obj1 = 0;
11329 PyObject * _obj2 = 0;
11330 PyObject * _obj3 = 0;
eec92d76 11331 char *_kwnames[] = { "choices","choices","choices", NULL };
b639c3c5
RD
11332 char _ptemp[128];
11333
11334 self = self;
1afc06c2 11335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:new_wxPalette",_kwnames,&_obj1,&_obj2,&_obj3))
b639c3c5
RD
11336 return NULL;
11337{
11338 _arg1 = byte_LIST_helper(_obj1);
11339 if (_arg1 == NULL) {
11340 return NULL;
11341 }
11342}
11343{
11344 _arg2 = byte_LIST_helper(_obj2);
11345 if (_arg2 == NULL) {
11346 return NULL;
11347 }
11348}
11349 if (_obj3)
11350{
11351 _arg3 = byte_LIST_helper(_obj3);
11352 if (_arg3 == NULL) {
11353 return NULL;
11354 }
11355}
11356{
cf694132
RD
11357 if (_obj1) {
11358 _arg0 = PyList_Size(_obj1);
11359 }
11360 else {
11361 _arg0 = 0;
11362 }
b639c3c5 11363}
cf694132 11364{
4268f798 11365 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11366 _result = (wxPalette *)new_wxPalette(_arg0,_arg1,_arg2,_arg3);
cf694132 11367
4268f798 11368 wxPyEndAllowThreads(__tstate);
493f1553 11369 if (PyErr_Occurred()) return NULL;
1d99702e
RD
11370} if (_result) {
11371 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPalette_p");
11372 _resultobj = Py_BuildValue("s",_ptemp);
11373 } else {
11374 Py_INCREF(Py_None);
11375 _resultobj = Py_None;
11376 }
b639c3c5
RD
11377{
11378 delete [] _arg1;
11379}
11380{
11381 delete [] _arg2;
11382}
11383{
11384 delete [] _arg3;
11385}
11386 return _resultobj;
11387}
11388
11389#define delete_wxPalette(_swigobj) (delete _swigobj)
1afc06c2 11390static PyObject *_wrap_delete_wxPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
11391 PyObject * _resultobj;
11392 wxPalette * _arg0;
1d99702e 11393 PyObject * _argo0 = 0;
1afc06c2 11394 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
11395
11396 self = self;
1afc06c2 11397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPalette",_kwnames,&_argo0))
b639c3c5 11398 return NULL;
1d99702e
RD
11399 if (_argo0) {
11400 if (_argo0 == Py_None) { _arg0 = NULL; }
11401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPalette_p")) {
b639c3c5
RD
11402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
11403 return NULL;
11404 }
11405 }
cf694132 11406{
4268f798 11407 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11408 delete_wxPalette(_arg0);
cf694132 11409
4268f798 11410 wxPyEndAllowThreads(__tstate);
493f1553 11411 if (PyErr_Occurred()) return NULL;
cf694132 11412} Py_INCREF(Py_None);
b639c3c5
RD
11413 _resultobj = Py_None;
11414 return _resultobj;
11415}
11416
11417#define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 11418static PyObject *_wrap_wxPalette_GetPixel(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
11419 PyObject * _resultobj;
11420 int _result;
11421 wxPalette * _arg0;
11422 byte _arg1;
11423 byte _arg2;
11424 byte _arg3;
1d99702e 11425 PyObject * _argo0 = 0;
1afc06c2 11426 char *_kwnames[] = { "self","red","green","blue", NULL };
b639c3c5
RD
11427
11428 self = self;
1afc06c2 11429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Obbb:wxPalette_GetPixel",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
b639c3c5 11430 return NULL;
1d99702e
RD
11431 if (_argo0) {
11432 if (_argo0 == Py_None) { _arg0 = NULL; }
11433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPalette_p")) {
b639c3c5
RD
11434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
11435 return NULL;
11436 }
11437 }
cf694132 11438{
4268f798 11439 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11440 _result = (int )wxPalette_GetPixel(_arg0,_arg1,_arg2,_arg3);
cf694132 11441
4268f798 11442 wxPyEndAllowThreads(__tstate);
493f1553 11443 if (PyErr_Occurred()) return NULL;
cf694132 11444} _resultobj = Py_BuildValue("i",_result);
b639c3c5
RD
11445 return _resultobj;
11446}
11447
11448#define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 11449static PyObject *_wrap_wxPalette_GetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
11450 PyObject * _resultobj;
11451 bool _result;
11452 wxPalette * _arg0;
11453 int _arg1;
11454 byte * _arg2;
154747f5 11455 int temp;
b639c3c5 11456 byte * _arg3;
154747f5 11457 int temp0;
b639c3c5 11458 byte * _arg4;
154747f5 11459 int temp1;
1d99702e 11460 PyObject * _argo0 = 0;
154747f5 11461 char *_kwnames[] = { "self","pixel", NULL };
b639c3c5
RD
11462
11463 self = self;
154747f5
RD
11464{
11465 _arg2 = (byte*)&temp;
11466}
11467{
11468 _arg3 = (byte*)&temp0;
11469}
11470{
11471 _arg4 = (byte*)&temp1;
11472}
11473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPalette_GetRGB",_kwnames,&_argo0,&_arg1))
b639c3c5 11474 return NULL;
1d99702e
RD
11475 if (_argo0) {
11476 if (_argo0 == Py_None) { _arg0 = NULL; }
11477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPalette_p")) {
b639c3c5
RD
11478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
11479 return NULL;
11480 }
11481 }
cf694132 11482{
4268f798 11483 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11484 _result = (bool )wxPalette_GetRGB(_arg0,_arg1,_arg2,_arg3,_arg4);
cf694132 11485
4268f798 11486 wxPyEndAllowThreads(__tstate);
493f1553 11487 if (PyErr_Occurred()) return NULL;
cf694132 11488} _resultobj = Py_BuildValue("i",_result);
154747f5
RD
11489{
11490 PyObject *o;
11491 o = PyInt_FromLong((long) (*_arg2));
11492 _resultobj = t_output_helper(_resultobj, o);
11493}
11494{
11495 PyObject *o;
11496 o = PyInt_FromLong((long) (*_arg3));
11497 _resultobj = t_output_helper(_resultobj, o);
11498}
11499{
11500 PyObject *o;
11501 o = PyInt_FromLong((long) (*_arg4));
11502 _resultobj = t_output_helper(_resultobj, o);
11503}
b639c3c5
RD
11504 return _resultobj;
11505}
11506
11507#define wxPalette_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 11508static PyObject *_wrap_wxPalette_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
11509 PyObject * _resultobj;
11510 bool _result;
11511 wxPalette * _arg0;
1d99702e 11512 PyObject * _argo0 = 0;
1afc06c2 11513 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
11514
11515 self = self;
1afc06c2 11516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPalette_Ok",_kwnames,&_argo0))
b639c3c5 11517 return NULL;
1d99702e
RD
11518 if (_argo0) {
11519 if (_argo0 == Py_None) { _arg0 = NULL; }
11520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPalette_p")) {
b639c3c5
RD
11521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
11522 return NULL;
11523 }
11524 }
cf694132 11525{
4268f798 11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11527 _result = (bool )wxPalette_Ok(_arg0);
cf694132 11528
4268f798 11529 wxPyEndAllowThreads(__tstate);
493f1553 11530 if (PyErr_Occurred()) return NULL;
cf694132 11531} _resultobj = Py_BuildValue("i",_result);
b639c3c5
RD
11532 return _resultobj;
11533}
11534
9416aa89
RD
11535static void *SwigwxImageListTowxObject(void *ptr) {
11536 wxImageList *src;
11537 wxObject *dest;
11538 src = (wxImageList *) ptr;
11539 dest = (wxObject *) src;
11540 return (void *) dest;
11541}
11542
af309447 11543#define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 11544static PyObject *_wrap_new_wxImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
11545 PyObject * _resultobj;
11546 wxImageList * _result;
11547 int _arg0;
11548 int _arg1;
dcd38683 11549 int _arg2 = (int ) TRUE;
1d99702e 11550 int _arg3 = (int ) 1;
1afc06c2 11551 char *_kwnames[] = { "width","height","mask","initialCount", NULL };
af309447
RD
11552 char _ptemp[128];
11553
11554 self = self;
6999b0d8 11555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii|ii:new_wxImageList",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
af309447 11556 return NULL;
cf694132 11557{
4268f798 11558 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11559 _result = (wxImageList *)new_wxImageList(_arg0,_arg1,_arg2,_arg3);
cf694132 11560
4268f798 11561 wxPyEndAllowThreads(__tstate);
493f1553 11562 if (PyErr_Occurred()) return NULL;
1d99702e
RD
11563} if (_result) {
11564 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
11565 _resultobj = Py_BuildValue("s",_ptemp);
11566 } else {
11567 Py_INCREF(Py_None);
11568 _resultobj = Py_None;
11569 }
af309447
RD
11570 return _resultobj;
11571}
11572
11573#define delete_wxImageList(_swigobj) (delete _swigobj)
1afc06c2 11574static PyObject *_wrap_delete_wxImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
11575 PyObject * _resultobj;
11576 wxImageList * _arg0;
1d99702e 11577 PyObject * _argo0 = 0;
1afc06c2 11578 char *_kwnames[] = { "self", NULL };
af309447
RD
11579
11580 self = self;
1afc06c2 11581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxImageList",_kwnames,&_argo0))
af309447 11582 return NULL;
1d99702e
RD
11583 if (_argo0) {
11584 if (_argo0 == Py_None) { _arg0 = NULL; }
11585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
af309447
RD
11586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
11587 return NULL;
11588 }
11589 }
cf694132 11590{
4268f798 11591 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11592 delete_wxImageList(_arg0);
cf694132 11593
4268f798 11594 wxPyEndAllowThreads(__tstate);
493f1553 11595 if (PyErr_Occurred()) return NULL;
cf694132 11596} Py_INCREF(Py_None);
af309447
RD
11597 _resultobj = Py_None;
11598 return _resultobj;
11599}
11600
11601#define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
1afc06c2 11602static PyObject *_wrap_wxImageList_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
11603 PyObject * _resultobj;
11604 int _result;
11605 wxImageList * _arg0;
11606 wxBitmap * _arg1;
1d99702e
RD
11607 wxBitmap * _arg2 = (wxBitmap *) &wxNullBitmap;
11608 PyObject * _argo0 = 0;
11609 PyObject * _argo1 = 0;
11610 PyObject * _argo2 = 0;
1afc06c2 11611 char *_kwnames[] = { "self","bitmap","mask", NULL };
af309447
RD
11612
11613 self = self;
1afc06c2 11614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxImageList_Add",_kwnames,&_argo0,&_argo1,&_argo2))
af309447 11615 return NULL;
1d99702e
RD
11616 if (_argo0) {
11617 if (_argo0 == Py_None) { _arg0 = NULL; }
11618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
af309447
RD
11619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
11620 return NULL;
11621 }
11622 }
1d99702e
RD
11623 if (_argo1) {
11624 if (_argo1 == Py_None) { _arg1 = NULL; }
11625 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
af309447
RD
11626 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
11627 return NULL;
11628 }
11629 }
1d99702e
RD
11630 if (_argo2) {
11631 if (_argo2 == Py_None) { _arg2 = NULL; }
11632 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
af309447
RD
11633 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
11634 return NULL;
11635 }
11636 }
cf694132 11637{
4268f798 11638 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11639 _result = (int )wxImageList_Add(_arg0,*_arg1,*_arg2);
cf694132 11640
4268f798 11641 wxPyEndAllowThreads(__tstate);
493f1553 11642 if (PyErr_Occurred()) return NULL;
cf694132 11643} _resultobj = Py_BuildValue("i",_result);
af309447
RD
11644 return _resultobj;
11645}
11646
11647#define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
1afc06c2 11648static PyObject *_wrap_wxImageList_AddWithColourMask(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
11649 PyObject * _resultobj;
11650 int _result;
11651 wxImageList * _arg0;
11652 wxBitmap * _arg1;
11653 wxColour * _arg2;
1d99702e
RD
11654 PyObject * _argo0 = 0;
11655 PyObject * _argo1 = 0;
f6bcfd97
BP
11656 wxColour temp;
11657 PyObject * _obj2 = 0;
1afc06c2 11658 char *_kwnames[] = { "self","bitmap","maskColour", NULL };
af309447
RD
11659
11660 self = self;
f6bcfd97 11661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxImageList_AddWithColourMask",_kwnames,&_argo0,&_argo1,&_obj2))
af309447 11662 return NULL;
1d99702e
RD
11663 if (_argo0) {
11664 if (_argo0 == Py_None) { _arg0 = NULL; }
11665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
af309447
RD
11666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
11667 return NULL;
11668 }
11669 }
1d99702e
RD
11670 if (_argo1) {
11671 if (_argo1 == Py_None) { _arg1 = NULL; }
11672 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
af309447
RD
11673 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
11674 return NULL;
11675 }
11676 }
f6bcfd97
BP
11677{
11678 _arg2 = &temp;
11679 if (! wxColour_helper(_obj2, &_arg2))
af309447 11680 return NULL;
f6bcfd97 11681}
cf694132 11682{
4268f798 11683 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11684 _result = (int )wxImageList_AddWithColourMask(_arg0,*_arg1,*_arg2);
cf694132 11685
4268f798 11686 wxPyEndAllowThreads(__tstate);
493f1553 11687 if (PyErr_Occurred()) return NULL;
cf694132 11688} _resultobj = Py_BuildValue("i",_result);
af309447
RD
11689 return _resultobj;
11690}
11691
11692#define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
1afc06c2 11693static PyObject *_wrap_wxImageList_AddIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
11694 PyObject * _resultobj;
11695 int _result;
11696 wxImageList * _arg0;
11697 wxIcon * _arg1;
1d99702e
RD
11698 PyObject * _argo0 = 0;
11699 PyObject * _argo1 = 0;
1afc06c2 11700 char *_kwnames[] = { "self","icon", NULL };
af309447
RD
11701
11702 self = self;
1afc06c2 11703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxImageList_AddIcon",_kwnames,&_argo0,&_argo1))
af309447 11704 return NULL;
1d99702e
RD
11705 if (_argo0) {
11706 if (_argo0 == Py_None) { _arg0 = NULL; }
11707 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
af309447
RD
11708 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
11709 return NULL;
11710 }
11711 }
1d99702e
RD
11712 if (_argo1) {
11713 if (_argo1 == Py_None) { _arg1 = NULL; }
11714 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
af309447
RD
11715 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
11716 return NULL;
11717 }
11718 }
cf694132 11719{
4268f798 11720 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11721 _result = (int )wxImageList_AddIcon(_arg0,*_arg1);
cf694132 11722
4268f798 11723 wxPyEndAllowThreads(__tstate);
493f1553 11724 if (PyErr_Occurred()) return NULL;
cf694132 11725} _resultobj = Py_BuildValue("i",_result);
af309447
RD
11726 return _resultobj;
11727}
11728
21f8d7ea 11729#define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 11730static PyObject *_wrap_wxImageList_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
11731 PyObject * _resultobj;
11732 bool _result;
11733 wxImageList * _arg0;
11734 int _arg1;
21f8d7ea 11735 wxBitmap * _arg2;
1d99702e
RD
11736 wxBitmap * _arg3 = (wxBitmap *) &wxNullBitmap;
11737 PyObject * _argo0 = 0;
11738 PyObject * _argo2 = 0;
11739 PyObject * _argo3 = 0;
1afc06c2 11740 char *_kwnames[] = { "self","index","bitmap","mask", NULL };
af309447
RD
11741
11742 self = self;
1afc06c2 11743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxImageList_Replace",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3))
af309447 11744 return NULL;
1d99702e
RD
11745 if (_argo0) {
11746 if (_argo0 == Py_None) { _arg0 = NULL; }
11747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 11748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
af309447
RD
11749 return NULL;
11750 }
11751 }
1d99702e
RD
11752 if (_argo2) {
11753 if (_argo2 == Py_None) { _arg2 = NULL; }
11754 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
21f8d7ea 11755 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
af309447
RD
11756 return NULL;
11757 }
11758 }
1d99702e
RD
11759 if (_argo3) {
11760 if (_argo3 == Py_None) { _arg3 = NULL; }
11761 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
21f8d7ea
RD
11762 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxImageList_Replace. Expected _wxBitmap_p.");
11763 return NULL;
11764 }
11765 }
cf694132 11766{
4268f798 11767 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11768 _result = (bool )wxImageList_Replace(_arg0,_arg1,*_arg2,*_arg3);
cf694132 11769
4268f798 11770 wxPyEndAllowThreads(__tstate);
493f1553 11771 if (PyErr_Occurred()) return NULL;
cf694132 11772} _resultobj = Py_BuildValue("i",_result);
af309447
RD
11773 return _resultobj;
11774}
11775
21f8d7ea 11776#define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1afc06c2 11777static PyObject *_wrap_wxImageList_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
11778 PyObject * _resultobj;
11779 bool _result;
11780 wxImageList * _arg0;
11781 int _arg1;
21f8d7ea
RD
11782 wxDC * _arg2;
11783 int _arg3;
11784 int _arg4;
1d99702e
RD
11785 int _arg5 = (int ) (wxIMAGELIST_DRAW_NORMAL);
11786 bool _arg6 = (bool ) FALSE;
11787 PyObject * _argo0 = 0;
11788 PyObject * _argo2 = 0;
11789 int tempbool6 = (int) FALSE;
1afc06c2 11790 char *_kwnames[] = { "self","index","dc","x","x","flags","solidBackground", NULL };
af309447
RD
11791
11792 self = self;
1afc06c2 11793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOii|ii:wxImageList_Draw",_kwnames,&_argo0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6))
af309447 11794 return NULL;
1d99702e
RD
11795 if (_argo0) {
11796 if (_argo0 == Py_None) { _arg0 = NULL; }
11797 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 11798 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
af309447
RD
11799 return NULL;
11800 }
11801 }
1d99702e
RD
11802 if (_argo2) {
11803 if (_argo2 == Py_None) { _arg2 = NULL; }
11804 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxDC_p")) {
21f8d7ea
RD
11805 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
11806 return NULL;
11807 }
11808 }
11809 _arg6 = (bool ) tempbool6;
cf694132 11810{
4268f798 11811 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11812 _result = (bool )wxImageList_Draw(_arg0,_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6);
cf694132 11813
4268f798 11814 wxPyEndAllowThreads(__tstate);
493f1553 11815 if (PyErr_Occurred()) return NULL;
cf694132 11816} _resultobj = Py_BuildValue("i",_result);
af309447
RD
11817 return _resultobj;
11818}
11819
21f8d7ea 11820#define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
1afc06c2 11821static PyObject *_wrap_wxImageList_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 11822 PyObject * _resultobj;
21f8d7ea 11823 int _result;
af309447 11824 wxImageList * _arg0;
1d99702e 11825 PyObject * _argo0 = 0;
1afc06c2 11826 char *_kwnames[] = { "self", NULL };
af309447
RD
11827
11828 self = self;
1afc06c2 11829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImageList_GetImageCount",_kwnames,&_argo0))
af309447 11830 return NULL;
1d99702e
RD
11831 if (_argo0) {
11832 if (_argo0 == Py_None) { _arg0 = NULL; }
11833 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 11834 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
af309447
RD
11835 return NULL;
11836 }
11837 }
cf694132 11838{
4268f798 11839 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11840 _result = (int )wxImageList_GetImageCount(_arg0);
cf694132 11841
4268f798 11842 wxPyEndAllowThreads(__tstate);
493f1553 11843 if (PyErr_Occurred()) return NULL;
cf694132 11844} _resultobj = Py_BuildValue("i",_result);
af309447
RD
11845 return _resultobj;
11846}
11847
21f8d7ea 11848#define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1afc06c2 11849static PyObject *_wrap_wxImageList_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
11850 PyObject * _resultobj;
11851 bool _result;
11852 wxImageList * _arg0;
11853 int _arg1;
1d99702e 11854 PyObject * _argo0 = 0;
1afc06c2 11855 char *_kwnames[] = { "self","index", NULL };
af309447
RD
11856
11857 self = self;
1afc06c2 11858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxImageList_Remove",_kwnames,&_argo0,&_arg1))
af309447 11859 return NULL;
1d99702e
RD
11860 if (_argo0) {
11861 if (_argo0 == Py_None) { _arg0 = NULL; }
11862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 11863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
af309447
RD
11864 return NULL;
11865 }
11866 }
cf694132 11867{
4268f798 11868 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11869 _result = (bool )wxImageList_Remove(_arg0,_arg1);
cf694132 11870
4268f798 11871 wxPyEndAllowThreads(__tstate);
493f1553 11872 if (PyErr_Occurred()) return NULL;
cf694132 11873} _resultobj = Py_BuildValue("i",_result);
af309447
RD
11874 return _resultobj;
11875}
11876
21f8d7ea 11877#define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
1afc06c2 11878static PyObject *_wrap_wxImageList_RemoveAll(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
11879 PyObject * _resultobj;
11880 bool _result;
11881 wxImageList * _arg0;
1d99702e 11882 PyObject * _argo0 = 0;
1afc06c2 11883 char *_kwnames[] = { "self", NULL };
af309447
RD
11884
11885 self = self;
1afc06c2 11886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImageList_RemoveAll",_kwnames,&_argo0))
af309447 11887 return NULL;
1d99702e
RD
11888 if (_argo0) {
11889 if (_argo0 == Py_None) { _arg0 = NULL; }
11890 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 11891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
af309447
RD
11892 return NULL;
11893 }
11894 }
cf694132 11895{
4268f798 11896 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11897 _result = (bool )wxImageList_RemoveAll(_arg0);
cf694132 11898
4268f798 11899 wxPyEndAllowThreads(__tstate);
493f1553 11900 if (PyErr_Occurred()) return NULL;
cf694132 11901} _resultobj = Py_BuildValue("i",_result);
af309447
RD
11902 return _resultobj;
11903}
11904
f6bcfd97
BP
11905#define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
11906static PyObject *_wrap_wxImageList_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11907 PyObject * _resultobj;
11908 wxImageList * _arg0;
11909 int _arg1;
11910 int * _arg2;
11911 int temp;
11912 int * _arg3;
11913 int temp0;
11914 PyObject * _argo0 = 0;
11915 char *_kwnames[] = { "self","index", NULL };
11916
11917 self = self;
11918{
11919 _arg2 = &temp;
11920}
11921{
11922 _arg3 = &temp0;
11923}
11924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxImageList_GetSize",_kwnames,&_argo0,&_arg1))
11925 return NULL;
11926 if (_argo0) {
11927 if (_argo0 == Py_None) { _arg0 = NULL; }
11928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
11929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
11930 return NULL;
11931 }
11932 }
11933{
4268f798 11934 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11935 wxImageList_GetSize(_arg0,_arg1,*_arg2,*_arg3);
f6bcfd97 11936
4268f798 11937 wxPyEndAllowThreads(__tstate);
493f1553 11938 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11939} Py_INCREF(Py_None);
11940 _resultobj = Py_None;
11941{
11942 PyObject *o;
11943 o = PyInt_FromLong((long) (*_arg2));
11944 _resultobj = t_output_helper(_resultobj, o);
11945}
11946{
11947 PyObject *o;
11948 o = PyInt_FromLong((long) (*_arg3));
11949 _resultobj = t_output_helper(_resultobj, o);
11950}
11951 return _resultobj;
11952}
11953
9416aa89
RD
11954static void *SwigwxRegionTowxGDIObject(void *ptr) {
11955 wxRegion *src;
11956 wxGDIObject *dest;
11957 src = (wxRegion *) ptr;
11958 dest = (wxGDIObject *) src;
11959 return (void *) dest;
11960}
11961
11962static void *SwigwxRegionTowxObject(void *ptr) {
11963 wxRegion *src;
11964 wxObject *dest;
11965 src = (wxRegion *) ptr;
11966 dest = (wxObject *) src;
11967 return (void *) dest;
11968}
11969
11970#define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11971static PyObject *_wrap_new_wxRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
11972 PyObject * _resultobj;
11973 wxRegion * _result;
11974 long _arg0 = (long ) 0;
11975 long _arg1 = (long ) 0;
11976 long _arg2 = (long ) 0;
11977 long _arg3 = (long ) 0;
11978 char *_kwnames[] = { "x","y","width","height", NULL };
11979 char _ptemp[128];
11980
11981 self = self;
11982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|llll:new_wxRegion",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
11983 return NULL;
11984{
4268f798 11985 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11986 _result = (wxRegion *)new_wxRegion(_arg0,_arg1,_arg2,_arg3);
9416aa89 11987
4268f798 11988 wxPyEndAllowThreads(__tstate);
493f1553 11989 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11990} if (_result) {
11991 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRegion_p");
11992 _resultobj = Py_BuildValue("s",_ptemp);
11993 } else {
11994 Py_INCREF(Py_None);
11995 _resultobj = Py_None;
11996 }
11997 return _resultobj;
11998}
11999
12000#define delete_wxRegion(_swigobj) (delete _swigobj)
12001static PyObject *_wrap_delete_wxRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
12002 PyObject * _resultobj;
12003 wxRegion * _arg0;
12004 PyObject * _argo0 = 0;
12005 char *_kwnames[] = { "self", NULL };
12006
12007 self = self;
12008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxRegion",_kwnames,&_argo0))
12009 return NULL;
12010 if (_argo0) {
12011 if (_argo0 == Py_None) { _arg0 = NULL; }
12012 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
12013 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
12014 return NULL;
12015 }
12016 }
12017{
4268f798 12018 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12019 delete_wxRegion(_arg0);
9416aa89 12020
4268f798 12021 wxPyEndAllowThreads(__tstate);
493f1553 12022 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12023} Py_INCREF(Py_None);
12024 _resultobj = Py_None;
12025 return _resultobj;
12026}
12027
12028#define wxRegion_Clear(_swigobj) (_swigobj->Clear())
12029static PyObject *_wrap_wxRegion_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
12030 PyObject * _resultobj;
12031 wxRegion * _arg0;
12032 PyObject * _argo0 = 0;
12033 char *_kwnames[] = { "self", NULL };
12034
12035 self = self;
12036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegion_Clear",_kwnames,&_argo0))
12037 return NULL;
12038 if (_argo0) {
12039 if (_argo0 == Py_None) { _arg0 = NULL; }
12040 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
12041 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
12042 return NULL;
12043 }
12044 }
12045{
4268f798 12046 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12047 wxRegion_Clear(_arg0);
9416aa89 12048
4268f798 12049 wxPyEndAllowThreads(__tstate);
493f1553 12050 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12051} Py_INCREF(Py_None);
12052 _resultobj = Py_None;
12053 return _resultobj;
12054}
12055
23bed520
RD
12056#define wxRegion_Offset(_swigobj,_swigarg0,_swigarg1) (_swigobj->Offset(_swigarg0,_swigarg1))
12057static PyObject *_wrap_wxRegion_Offset(PyObject *self, PyObject *args, PyObject *kwargs) {
12058 PyObject * _resultobj;
12059 bool _result;
12060 wxRegion * _arg0;
12061 wxCoord _arg1;
12062 wxCoord _arg2;
12063 PyObject * _argo0 = 0;
12064 char *_kwnames[] = { "self","x","y", NULL };
12065
12066 self = self;
12067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRegion_Offset",_kwnames,&_argo0,&_arg1,&_arg2))
12068 return NULL;
12069 if (_argo0) {
12070 if (_argo0 == Py_None) { _arg0 = NULL; }
12071 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
12072 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Offset. Expected _wxRegion_p.");
12073 return NULL;
12074 }
12075 }
12076{
12077 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12078 _result = (bool )wxRegion_Offset(_arg0,_arg1,_arg2);
23bed520
RD
12079
12080 wxPyEndAllowThreads(__tstate);
12081 if (PyErr_Occurred()) return NULL;
12082} _resultobj = Py_BuildValue("i",_result);
12083 return _resultobj;
12084}
12085
9416aa89
RD
12086#define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
12087static PyObject *_wrap_wxRegion_Contains(PyObject *self, PyObject *args, PyObject *kwargs) {
12088 PyObject * _resultobj;
12089 wxRegionContain _result;
12090 wxRegion * _arg0;
12091 long _arg1;
12092 long _arg2;
12093 PyObject * _argo0 = 0;
12094 char *_kwnames[] = { "self","x","y", NULL };
12095
12096 self = self;
12097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxRegion_Contains",_kwnames,&_argo0,&_arg1,&_arg2))
12098 return NULL;
12099 if (_argo0) {
12100 if (_argo0 == Py_None) { _arg0 = NULL; }
12101 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
12102 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
12103 return NULL;
12104 }
12105 }
12106{
4268f798 12107 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12108 _result = (wxRegionContain )wxRegion_Contains(_arg0,_arg1,_arg2);
9416aa89 12109
4268f798 12110 wxPyEndAllowThreads(__tstate);
493f1553 12111 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12112} _resultobj = Py_BuildValue("i",_result);
12113 return _resultobj;
12114}
12115
12116#define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
12117static PyObject *_wrap_wxRegion_ContainsPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
12118 PyObject * _resultobj;
12119 wxRegionContain _result;
12120 wxRegion * _arg0;
12121 wxPoint * _arg1;
12122 PyObject * _argo0 = 0;
12123 wxPoint temp;
12124 PyObject * _obj1 = 0;
12125 char *_kwnames[] = { "self","pt", NULL };
12126
12127 self = self;
12128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_ContainsPoint",_kwnames,&_argo0,&_obj1))
12129 return NULL;
12130 if (_argo0) {
12131 if (_argo0 == Py_None) { _arg0 = NULL; }
12132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
12133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
12134 return NULL;
12135 }
12136 }
12137{
12138 _arg1 = &temp;
12139 if (! wxPoint_helper(_obj1, &_arg1))
12140 return NULL;
12141}
12142{
4268f798 12143 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12144 _result = (wxRegionContain )wxRegion_ContainsPoint(_arg0,*_arg1);
9416aa89 12145
4268f798 12146 wxPyEndAllowThreads(__tstate);
493f1553 12147 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12148} _resultobj = Py_BuildValue("i",_result);
12149 return _resultobj;
12150}
12151
12152#define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
12153static PyObject *_wrap_wxRegion_ContainsRect(PyObject *self, PyObject *args, PyObject *kwargs) {
12154 PyObject * _resultobj;
12155 wxRegionContain _result;
12156 wxRegion * _arg0;
12157 wxRect * _arg1;
12158 PyObject * _argo0 = 0;
12159 wxRect temp;
12160 PyObject * _obj1 = 0;
12161 char *_kwnames[] = { "self","rect", NULL };
12162
12163 self = self;
12164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_ContainsRect",_kwnames,&_argo0,&_obj1))
12165 return NULL;
12166 if (_argo0) {
12167 if (_argo0 == Py_None) { _arg0 = NULL; }
12168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
12169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
12170 return NULL;
12171 }
12172 }
12173{
12174 _arg1 = &temp;
12175 if (! wxRect_helper(_obj1, &_arg1))
12176 return NULL;
12177}
12178{
4268f798 12179 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12180 _result = (wxRegionContain )wxRegion_ContainsRect(_arg0,*_arg1);
9416aa89 12181
4268f798 12182 wxPyEndAllowThreads(__tstate);
493f1553 12183 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12184} _resultobj = Py_BuildValue("i",_result);
12185 return _resultobj;
12186}
12187
12188#define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12189static PyObject *_wrap_wxRegion_ContainsRectDim(PyObject *self, PyObject *args, PyObject *kwargs) {
12190 PyObject * _resultobj;
12191 wxRegionContain _result;
12192 wxRegion * _arg0;
12193 long _arg1;
12194 long _arg2;
12195 long _arg3;
12196 long _arg4;
12197 PyObject * _argo0 = 0;
12198 char *_kwnames[] = { "self","x","y","w","h", NULL };
12199
12200 self = self;
12201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxRegion_ContainsRectDim",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
12202 return NULL;
12203 if (_argo0) {
12204 if (_argo0 == Py_None) { _arg0 = NULL; }
12205 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
12206 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
12207 return NULL;
12208 }
12209 }
12210{
4268f798 12211 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12212 _result = (wxRegionContain )wxRegion_ContainsRectDim(_arg0,_arg1,_arg2,_arg3,_arg4);
9416aa89 12213
4268f798 12214 wxPyEndAllowThreads(__tstate);
493f1553 12215 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12216} _resultobj = Py_BuildValue("i",_result);
12217 return _resultobj;
12218}
12219
12220#define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
12221static PyObject *_wrap_wxRegion_GetBox(PyObject *self, PyObject *args, PyObject *kwargs) {
12222 PyObject * _resultobj;
12223 wxRect * _result;
12224 wxRegion * _arg0;
12225 PyObject * _argo0 = 0;
12226 char *_kwnames[] = { "self", NULL };
12227 char _ptemp[128];
12228
12229 self = self;
12230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegion_GetBox",_kwnames,&_argo0))
12231 return NULL;
12232 if (_argo0) {
12233 if (_argo0 == Py_None) { _arg0 = NULL; }
12234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
12235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
12236 return NULL;
12237 }
12238 }
12239{
4268f798 12240 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12241 _result = new wxRect (wxRegion_GetBox(_arg0));
9416aa89 12242
4268f798 12243 wxPyEndAllowThreads(__tstate);
493f1553 12244 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12245} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
12246 _resultobj = Py_BuildValue("s",_ptemp);
12247 return _resultobj;
12248}
12249
12250#define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12251static PyObject *_wrap_wxRegion_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
12252 PyObject * _resultobj;
12253 bool _result;
12254 wxRegion * _arg0;
12255 long _arg1;
12256 long _arg2;
12257 long _arg3;
12258 long _arg4;
12259 PyObject * _argo0 = 0;
12260 char *_kwnames[] = { "self","x","y","width","height", NULL };
12261
12262 self = self;
12263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxRegion_Intersect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
12264 return NULL;
12265 if (_argo0) {
12266 if (_argo0 == Py_None) { _arg0 = NULL; }
12267 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
12268 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
12269 return NULL;
12270 }
12271 }
12272{
4268f798 12273 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12274 _result = (bool )wxRegion_Intersect(_arg0,_arg1,_arg2,_arg3,_arg4);
9416aa89 12275
4268f798 12276 wxPyEndAllowThreads(__tstate);
493f1553 12277 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12278} _resultobj = Py_BuildValue("i",_result);
12279 return _resultobj;
12280}
12281
12282#define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
12283static PyObject *_wrap_wxRegion_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
12284 PyObject * _resultobj;
12285 bool _result;
12286 wxRegion * _arg0;
12287 wxRect * _arg1;
12288 PyObject * _argo0 = 0;
12289 wxRect temp;
12290 PyObject * _obj1 = 0;
12291 char *_kwnames[] = { "self","rect", NULL };
12292
12293 self = self;
12294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_IntersectRect",_kwnames,&_argo0,&_obj1))
12295 return NULL;
12296 if (_argo0) {
12297 if (_argo0 == Py_None) { _arg0 = NULL; }
12298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
12299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
12300 return NULL;
12301 }
12302 }
12303{
12304 _arg1 = &temp;
12305 if (! wxRect_helper(_obj1, &_arg1))
12306 return NULL;
12307}
12308{
4268f798 12309 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12310 _result = (bool )wxRegion_IntersectRect(_arg0,*_arg1);
9416aa89 12311
4268f798 12312 wxPyEndAllowThreads(__tstate);
493f1553 12313 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12314} _resultobj = Py_BuildValue("i",_result);
12315 return _resultobj;
12316}
12317
12318#define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
12319static PyObject *_wrap_wxRegion_IntersectRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
12320 PyObject * _resultobj;
12321 bool _result;
12322 wxRegion * _arg0;
12323 wxRegion * _arg1;
12324 PyObject * _argo0 = 0;
12325 PyObject * _argo1 = 0;
12326 char *_kwnames[] = { "self","region", NULL };
12327
12328 self = self;
12329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_IntersectRegion",_kwnames,&_argo0,&_argo1))
12330 return NULL;
12331 if (_argo0) {
12332 if (_argo0 == Py_None) { _arg0 = NULL; }
12333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
12334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
12335 return NULL;
12336 }
12337 }
12338 if (_argo1) {
12339 if (_argo1 == Py_None) { _arg1 = NULL; }
12340 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
12341 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
12342 return NULL;
12343 }
12344 }
12345{
4268f798 12346 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12347 _result = (bool )wxRegion_IntersectRegion(_arg0,*_arg1);
9416aa89 12348
4268f798 12349 wxPyEndAllowThreads(__tstate);
493f1553 12350 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12351} _resultobj = Py_BuildValue("i",_result);
12352 return _resultobj;
12353}
12354
12355#define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
12356static PyObject *_wrap_wxRegion_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
12357 PyObject * _resultobj;
12358 bool _result;
12359 wxRegion * _arg0;
12360 PyObject * _argo0 = 0;
12361 char *_kwnames[] = { "self", NULL };
12362
12363 self = self;
12364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegion_IsEmpty",_kwnames,&_argo0))
12365 return NULL;
12366 if (_argo0) {
12367 if (_argo0 == Py_None) { _arg0 = NULL; }
12368 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
12369 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
12370 return NULL;
12371 }
12372 }
12373{
4268f798 12374 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12375 _result = (bool )wxRegion_IsEmpty(_arg0);
9416aa89 12376
4268f798 12377 wxPyEndAllowThreads(__tstate);
493f1553 12378 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12379} _resultobj = Py_BuildValue("i",_result);
12380 return _resultobj;
12381}
12382
12383#define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12384static PyObject *_wrap_wxRegion_Union(PyObject *self, PyObject *args, PyObject *kwargs) {
12385 PyObject * _resultobj;
12386 bool _result;
12387 wxRegion * _arg0;
12388 long _arg1;
12389 long _arg2;
12390 long _arg3;
12391 long _arg4;
12392 PyObject * _argo0 = 0;
12393 char *_kwnames[] = { "self","x","y","width","height", NULL };
12394
12395 self = self;
12396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxRegion_Union",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
12397 return NULL;
12398 if (_argo0) {
12399 if (_argo0 == Py_None) { _arg0 = NULL; }
12400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
12401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
12402 return NULL;
12403 }
12404 }
12405{
4268f798 12406 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12407 _result = (bool )wxRegion_Union(_arg0,_arg1,_arg2,_arg3,_arg4);
9416aa89 12408
4268f798 12409 wxPyEndAllowThreads(__tstate);
493f1553 12410 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12411} _resultobj = Py_BuildValue("i",_result);
12412 return _resultobj;
12413}
12414
12415#define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
12416static PyObject *_wrap_wxRegion_UnionRect(PyObject *self, PyObject *args, PyObject *kwargs) {
12417 PyObject * _resultobj;
12418 bool _result;
12419 wxRegion * _arg0;
12420 wxRect * _arg1;
12421 PyObject * _argo0 = 0;
12422 wxRect temp;
12423 PyObject * _obj1 = 0;
12424 char *_kwnames[] = { "self","rect", NULL };
12425
12426 self = self;
12427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_UnionRect",_kwnames,&_argo0,&_obj1))
12428 return NULL;
12429 if (_argo0) {
12430 if (_argo0 == Py_None) { _arg0 = NULL; }
12431 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
12432 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
12433 return NULL;
12434 }
12435 }
12436{
12437 _arg1 = &temp;
12438 if (! wxRect_helper(_obj1, &_arg1))
12439 return NULL;
12440}
12441{
4268f798 12442 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12443 _result = (bool )wxRegion_UnionRect(_arg0,*_arg1);
9416aa89 12444
4268f798 12445 wxPyEndAllowThreads(__tstate);
493f1553 12446 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12447} _resultobj = Py_BuildValue("i",_result);
12448 return _resultobj;
12449}
12450
12451#define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
12452static PyObject *_wrap_wxRegion_UnionRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
12453 PyObject * _resultobj;
12454 bool _result;
12455 wxRegion * _arg0;
12456 wxRegion * _arg1;
12457 PyObject * _argo0 = 0;
12458 PyObject * _argo1 = 0;
12459 char *_kwnames[] = { "self","region", NULL };
12460
12461 self = self;
12462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_UnionRegion",_kwnames,&_argo0,&_argo1))
12463 return NULL;
12464 if (_argo0) {
12465 if (_argo0 == Py_None) { _arg0 = NULL; }
12466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
12467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
12468 return NULL;
12469 }
12470 }
12471 if (_argo1) {
12472 if (_argo1 == Py_None) { _arg1 = NULL; }
12473 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
12474 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
12475 return NULL;
12476 }
12477 }
12478{
4268f798 12479 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12480 _result = (bool )wxRegion_UnionRegion(_arg0,*_arg1);
9416aa89 12481
4268f798 12482 wxPyEndAllowThreads(__tstate);
493f1553 12483 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12484} _resultobj = Py_BuildValue("i",_result);
12485 return _resultobj;
12486}
12487
12488#define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12489static PyObject *_wrap_wxRegion_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
12490 PyObject * _resultobj;
12491 bool _result;
12492 wxRegion * _arg0;
12493 long _arg1;
12494 long _arg2;
12495 long _arg3;
12496 long _arg4;
12497 PyObject * _argo0 = 0;
12498 char *_kwnames[] = { "self","x","y","width","height", NULL };
12499
12500 self = self;
12501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxRegion_Subtract",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
12502 return NULL;
12503 if (_argo0) {
12504 if (_argo0 == Py_None) { _arg0 = NULL; }
12505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
12506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
12507 return NULL;
12508 }
12509 }
12510{
4268f798 12511 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12512 _result = (bool )wxRegion_Subtract(_arg0,_arg1,_arg2,_arg3,_arg4);
9416aa89 12513
4268f798 12514 wxPyEndAllowThreads(__tstate);
493f1553 12515 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12516} _resultobj = Py_BuildValue("i",_result);
12517 return _resultobj;
12518}
12519
12520#define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
12521static PyObject *_wrap_wxRegion_SubtractRect(PyObject *self, PyObject *args, PyObject *kwargs) {
12522 PyObject * _resultobj;
12523 bool _result;
12524 wxRegion * _arg0;
12525 wxRect * _arg1;
12526 PyObject * _argo0 = 0;
12527 wxRect temp;
12528 PyObject * _obj1 = 0;
12529 char *_kwnames[] = { "self","rect", NULL };
12530
12531 self = self;
12532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_SubtractRect",_kwnames,&_argo0,&_obj1))
12533 return NULL;
12534 if (_argo0) {
12535 if (_argo0 == Py_None) { _arg0 = NULL; }
12536 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
12537 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
12538 return NULL;
12539 }
12540 }
12541{
12542 _arg1 = &temp;
12543 if (! wxRect_helper(_obj1, &_arg1))
12544 return NULL;
12545}
12546{
4268f798 12547 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12548 _result = (bool )wxRegion_SubtractRect(_arg0,*_arg1);
9416aa89 12549
4268f798 12550 wxPyEndAllowThreads(__tstate);
493f1553 12551 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12552} _resultobj = Py_BuildValue("i",_result);
12553 return _resultobj;
12554}
12555
12556#define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
12557static PyObject *_wrap_wxRegion_SubtractRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
12558 PyObject * _resultobj;
12559 bool _result;
12560 wxRegion * _arg0;
12561 wxRegion * _arg1;
12562 PyObject * _argo0 = 0;
12563 PyObject * _argo1 = 0;
12564 char *_kwnames[] = { "self","region", NULL };
12565
12566 self = self;
12567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_SubtractRegion",_kwnames,&_argo0,&_argo1))
12568 return NULL;
12569 if (_argo0) {
12570 if (_argo0 == Py_None) { _arg0 = NULL; }
12571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
12572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
12573 return NULL;
12574 }
12575 }
12576 if (_argo1) {
12577 if (_argo1 == Py_None) { _arg1 = NULL; }
12578 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
12579 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
12580 return NULL;
12581 }
12582 }
12583{
4268f798 12584 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12585 _result = (bool )wxRegion_SubtractRegion(_arg0,*_arg1);
9416aa89 12586
4268f798 12587 wxPyEndAllowThreads(__tstate);
493f1553 12588 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12589} _resultobj = Py_BuildValue("i",_result);
12590 return _resultobj;
12591}
12592
12593#define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12594static PyObject *_wrap_wxRegion_Xor(PyObject *self, PyObject *args, PyObject *kwargs) {
12595 PyObject * _resultobj;
12596 bool _result;
12597 wxRegion * _arg0;
12598 long _arg1;
12599 long _arg2;
12600 long _arg3;
12601 long _arg4;
12602 PyObject * _argo0 = 0;
12603 char *_kwnames[] = { "self","x","y","width","height", NULL };
12604
12605 self = self;
12606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxRegion_Xor",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
12607 return NULL;
12608 if (_argo0) {
12609 if (_argo0 == Py_None) { _arg0 = NULL; }
12610 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
12611 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
12612 return NULL;
12613 }
12614 }
12615{
4268f798 12616 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12617 _result = (bool )wxRegion_Xor(_arg0,_arg1,_arg2,_arg3,_arg4);
9416aa89 12618
4268f798 12619 wxPyEndAllowThreads(__tstate);
493f1553 12620 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12621} _resultobj = Py_BuildValue("i",_result);
12622 return _resultobj;
12623}
12624
12625#define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
12626static PyObject *_wrap_wxRegion_XorRect(PyObject *self, PyObject *args, PyObject *kwargs) {
12627 PyObject * _resultobj;
12628 bool _result;
12629 wxRegion * _arg0;
12630 wxRect * _arg1;
12631 PyObject * _argo0 = 0;
12632 wxRect temp;
12633 PyObject * _obj1 = 0;
12634 char *_kwnames[] = { "self","rect", NULL };
12635
12636 self = self;
12637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_XorRect",_kwnames,&_argo0,&_obj1))
12638 return NULL;
12639 if (_argo0) {
12640 if (_argo0 == Py_None) { _arg0 = NULL; }
12641 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
12642 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
12643 return NULL;
12644 }
12645 }
12646{
12647 _arg1 = &temp;
12648 if (! wxRect_helper(_obj1, &_arg1))
12649 return NULL;
12650}
12651{
4268f798 12652 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12653 _result = (bool )wxRegion_XorRect(_arg0,*_arg1);
9416aa89 12654
4268f798 12655 wxPyEndAllowThreads(__tstate);
493f1553 12656 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12657} _resultobj = Py_BuildValue("i",_result);
12658 return _resultobj;
12659}
12660
12661#define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
12662static PyObject *_wrap_wxRegion_XorRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
12663 PyObject * _resultobj;
12664 bool _result;
12665 wxRegion * _arg0;
12666 wxRegion * _arg1;
12667 PyObject * _argo0 = 0;
12668 PyObject * _argo1 = 0;
12669 char *_kwnames[] = { "self","region", NULL };
12670
12671 self = self;
12672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_XorRegion",_kwnames,&_argo0,&_argo1))
12673 return NULL;
12674 if (_argo0) {
12675 if (_argo0 == Py_None) { _arg0 = NULL; }
12676 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
12677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
12678 return NULL;
12679 }
12680 }
12681 if (_argo1) {
12682 if (_argo1 == Py_None) { _arg1 = NULL; }
12683 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
12684 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
12685 return NULL;
12686 }
12687 }
12688{
4268f798 12689 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12690 _result = (bool )wxRegion_XorRegion(_arg0,*_arg1);
9416aa89 12691
4268f798 12692 wxPyEndAllowThreads(__tstate);
493f1553 12693 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12694} _resultobj = Py_BuildValue("i",_result);
12695 return _resultobj;
12696}
12697
12698static void *SwigwxRegionIteratorTowxObject(void *ptr) {
12699 wxRegionIterator *src;
12700 wxObject *dest;
12701 src = (wxRegionIterator *) ptr;
12702 dest = (wxObject *) src;
12703 return (void *) dest;
12704}
12705
12706#define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
12707static PyObject *_wrap_new_wxRegionIterator(PyObject *self, PyObject *args, PyObject *kwargs) {
12708 PyObject * _resultobj;
12709 wxRegionIterator * _result;
12710 wxRegion * _arg0;
12711 PyObject * _argo0 = 0;
12712 char *_kwnames[] = { "region", NULL };
12713 char _ptemp[128];
12714
12715 self = self;
12716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxRegionIterator",_kwnames,&_argo0))
12717 return NULL;
12718 if (_argo0) {
12719 if (_argo0 == Py_None) { _arg0 = NULL; }
12720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
12721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
12722 return NULL;
12723 }
12724 }
12725{
4268f798 12726 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12727 _result = (wxRegionIterator *)new_wxRegionIterator(*_arg0);
9416aa89 12728
4268f798 12729 wxPyEndAllowThreads(__tstate);
493f1553 12730 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12731} if (_result) {
12732 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRegionIterator_p");
12733 _resultobj = Py_BuildValue("s",_ptemp);
12734 } else {
12735 Py_INCREF(Py_None);
12736 _resultobj = Py_None;
12737 }
12738 return _resultobj;
12739}
12740
12741#define delete_wxRegionIterator(_swigobj) (delete _swigobj)
12742static PyObject *_wrap_delete_wxRegionIterator(PyObject *self, PyObject *args, PyObject *kwargs) {
12743 PyObject * _resultobj;
12744 wxRegionIterator * _arg0;
12745 PyObject * _argo0 = 0;
12746 char *_kwnames[] = { "self", NULL };
12747
12748 self = self;
12749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxRegionIterator",_kwnames,&_argo0))
12750 return NULL;
12751 if (_argo0) {
12752 if (_argo0 == Py_None) { _arg0 = NULL; }
12753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
12754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
12755 return NULL;
12756 }
12757 }
12758{
4268f798 12759 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12760 delete_wxRegionIterator(_arg0);
9416aa89 12761
4268f798 12762 wxPyEndAllowThreads(__tstate);
493f1553 12763 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12764} Py_INCREF(Py_None);
12765 _resultobj = Py_None;
12766 return _resultobj;
12767}
12768
12769#define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
12770static PyObject *_wrap_wxRegionIterator_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
12771 PyObject * _resultobj;
12772 long _result;
12773 wxRegionIterator * _arg0;
12774 PyObject * _argo0 = 0;
12775 char *_kwnames[] = { "self", NULL };
12776
12777 self = self;
12778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetX",_kwnames,&_argo0))
12779 return NULL;
12780 if (_argo0) {
12781 if (_argo0 == Py_None) { _arg0 = NULL; }
12782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
12783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
12784 return NULL;
12785 }
12786 }
12787{
4268f798 12788 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12789 _result = (long )wxRegionIterator_GetX(_arg0);
9416aa89 12790
4268f798 12791 wxPyEndAllowThreads(__tstate);
493f1553 12792 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12793} _resultobj = Py_BuildValue("l",_result);
12794 return _resultobj;
12795}
12796
12797#define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
12798static PyObject *_wrap_wxRegionIterator_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
12799 PyObject * _resultobj;
12800 long _result;
12801 wxRegionIterator * _arg0;
12802 PyObject * _argo0 = 0;
12803 char *_kwnames[] = { "self", NULL };
12804
12805 self = self;
12806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetY",_kwnames,&_argo0))
12807 return NULL;
12808 if (_argo0) {
12809 if (_argo0 == Py_None) { _arg0 = NULL; }
12810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
12811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
12812 return NULL;
12813 }
12814 }
12815{
4268f798 12816 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12817 _result = (long )wxRegionIterator_GetY(_arg0);
9416aa89 12818
4268f798 12819 wxPyEndAllowThreads(__tstate);
493f1553 12820 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12821} _resultobj = Py_BuildValue("l",_result);
12822 return _resultobj;
12823}
12824
12825#define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
12826static PyObject *_wrap_wxRegionIterator_GetW(PyObject *self, PyObject *args, PyObject *kwargs) {
12827 PyObject * _resultobj;
12828 long _result;
12829 wxRegionIterator * _arg0;
12830 PyObject * _argo0 = 0;
12831 char *_kwnames[] = { "self", NULL };
12832
12833 self = self;
12834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetW",_kwnames,&_argo0))
12835 return NULL;
12836 if (_argo0) {
12837 if (_argo0 == Py_None) { _arg0 = NULL; }
12838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
12839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
12840 return NULL;
12841 }
12842 }
12843{
4268f798 12844 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12845 _result = (long )wxRegionIterator_GetW(_arg0);
9416aa89 12846
4268f798 12847 wxPyEndAllowThreads(__tstate);
493f1553 12848 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12849} _resultobj = Py_BuildValue("l",_result);
12850 return _resultobj;
12851}
12852
12853#define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
12854static PyObject *_wrap_wxRegionIterator_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12855 PyObject * _resultobj;
12856 long _result;
12857 wxRegionIterator * _arg0;
12858 PyObject * _argo0 = 0;
12859 char *_kwnames[] = { "self", NULL };
12860
12861 self = self;
12862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetWidth",_kwnames,&_argo0))
12863 return NULL;
12864 if (_argo0) {
12865 if (_argo0 == Py_None) { _arg0 = NULL; }
12866 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
12867 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
12868 return NULL;
12869 }
12870 }
12871{
4268f798 12872 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12873 _result = (long )wxRegionIterator_GetWidth(_arg0);
9416aa89 12874
4268f798 12875 wxPyEndAllowThreads(__tstate);
493f1553 12876 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12877} _resultobj = Py_BuildValue("l",_result);
12878 return _resultobj;
12879}
12880
12881#define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
12882static PyObject *_wrap_wxRegionIterator_GetH(PyObject *self, PyObject *args, PyObject *kwargs) {
12883 PyObject * _resultobj;
12884 long _result;
12885 wxRegionIterator * _arg0;
12886 PyObject * _argo0 = 0;
12887 char *_kwnames[] = { "self", NULL };
12888
12889 self = self;
12890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetH",_kwnames,&_argo0))
12891 return NULL;
12892 if (_argo0) {
12893 if (_argo0 == Py_None) { _arg0 = NULL; }
12894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
12895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
12896 return NULL;
12897 }
12898 }
12899{
4268f798 12900 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12901 _result = (long )wxRegionIterator_GetH(_arg0);
9416aa89 12902
4268f798 12903 wxPyEndAllowThreads(__tstate);
493f1553 12904 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12905} _resultobj = Py_BuildValue("l",_result);
12906 return _resultobj;
12907}
12908
12909#define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
12910static PyObject *_wrap_wxRegionIterator_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12911 PyObject * _resultobj;
12912 long _result;
12913 wxRegionIterator * _arg0;
12914 PyObject * _argo0 = 0;
12915 char *_kwnames[] = { "self", NULL };
12916
12917 self = self;
12918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetHeight",_kwnames,&_argo0))
12919 return NULL;
12920 if (_argo0) {
12921 if (_argo0 == Py_None) { _arg0 = NULL; }
12922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
12923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
12924 return NULL;
12925 }
12926 }
12927{
4268f798 12928 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12929 _result = (long )wxRegionIterator_GetHeight(_arg0);
9416aa89 12930
4268f798 12931 wxPyEndAllowThreads(__tstate);
493f1553 12932 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12933} _resultobj = Py_BuildValue("l",_result);
12934 return _resultobj;
12935}
12936
12937#define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
12938static PyObject *_wrap_wxRegionIterator_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
12939 PyObject * _resultobj;
12940 wxRect * _result;
12941 wxRegionIterator * _arg0;
12942 PyObject * _argo0 = 0;
12943 char *_kwnames[] = { "self", NULL };
12944 char _ptemp[128];
12945
12946 self = self;
12947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetRect",_kwnames,&_argo0))
12948 return NULL;
12949 if (_argo0) {
12950 if (_argo0 == Py_None) { _arg0 = NULL; }
12951 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
12952 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
12953 return NULL;
12954 }
12955 }
12956{
4268f798 12957 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12958 _result = new wxRect (wxRegionIterator_GetRect(_arg0));
9416aa89 12959
4268f798 12960 wxPyEndAllowThreads(__tstate);
493f1553 12961 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12962} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
12963 _resultobj = Py_BuildValue("s",_ptemp);
12964 return _resultobj;
12965}
12966
12967#define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
12968static PyObject *_wrap_wxRegionIterator_HaveRects(PyObject *self, PyObject *args, PyObject *kwargs) {
12969 PyObject * _resultobj;
12970 bool _result;
12971 wxRegionIterator * _arg0;
12972 PyObject * _argo0 = 0;
12973 char *_kwnames[] = { "self", NULL };
12974
12975 self = self;
12976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_HaveRects",_kwnames,&_argo0))
12977 return NULL;
12978 if (_argo0) {
12979 if (_argo0 == Py_None) { _arg0 = NULL; }
12980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
12981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
12982 return NULL;
12983 }
12984 }
12985{
4268f798 12986 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12987 _result = (bool )wxRegionIterator_HaveRects(_arg0);
9416aa89 12988
4268f798 12989 wxPyEndAllowThreads(__tstate);
493f1553 12990 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12991} _resultobj = Py_BuildValue("i",_result);
12992 return _resultobj;
12993}
12994
12995#define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
12996static PyObject *_wrap_wxRegionIterator_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
12997 PyObject * _resultobj;
12998 wxRegionIterator * _arg0;
12999 PyObject * _argo0 = 0;
13000 char *_kwnames[] = { "self", NULL };
13001
13002 self = self;
13003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_Reset",_kwnames,&_argo0))
13004 return NULL;
13005 if (_argo0) {
13006 if (_argo0 == Py_None) { _arg0 = NULL; }
13007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
13008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
13009 return NULL;
13010 }
13011 }
13012{
4268f798 13013 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 13014 wxRegionIterator_Reset(_arg0);
9416aa89 13015
4268f798 13016 wxPyEndAllowThreads(__tstate);
493f1553 13017 if (PyErr_Occurred()) return NULL;
9416aa89
RD
13018} Py_INCREF(Py_None);
13019 _resultobj = Py_None;
13020 return _resultobj;
13021}
13022
13023static void wxRegionIterator_Next(wxRegionIterator *self) {
13024 (*self) ++;
13025 }
13026static PyObject *_wrap_wxRegionIterator_Next(PyObject *self, PyObject *args, PyObject *kwargs) {
13027 PyObject * _resultobj;
13028 wxRegionIterator * _arg0;
13029 PyObject * _argo0 = 0;
13030 char *_kwnames[] = { "self", NULL };
13031
13032 self = self;
13033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_Next",_kwnames,&_argo0))
13034 return NULL;
13035 if (_argo0) {
13036 if (_argo0 == Py_None) { _arg0 = NULL; }
13037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
13038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
13039 return NULL;
13040 }
13041 }
13042{
4268f798 13043 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 13044 wxRegionIterator_Next(_arg0);
9416aa89 13045
4268f798 13046 wxPyEndAllowThreads(__tstate);
493f1553 13047 if (PyErr_Occurred()) return NULL;
9416aa89
RD
13048} Py_INCREF(Py_None);
13049 _resultobj = Py_None;
13050 return _resultobj;
13051}
13052
8ab979d7 13053static PyMethodDef gdicMethods[] = {
9416aa89
RD
13054 { "wxRegionIterator_Next", (PyCFunction) _wrap_wxRegionIterator_Next, METH_VARARGS | METH_KEYWORDS },
13055 { "wxRegionIterator_Reset", (PyCFunction) _wrap_wxRegionIterator_Reset, METH_VARARGS | METH_KEYWORDS },
13056 { "wxRegionIterator_HaveRects", (PyCFunction) _wrap_wxRegionIterator_HaveRects, METH_VARARGS | METH_KEYWORDS },
13057 { "wxRegionIterator_GetRect", (PyCFunction) _wrap_wxRegionIterator_GetRect, METH_VARARGS | METH_KEYWORDS },
13058 { "wxRegionIterator_GetHeight", (PyCFunction) _wrap_wxRegionIterator_GetHeight, METH_VARARGS | METH_KEYWORDS },
13059 { "wxRegionIterator_GetH", (PyCFunction) _wrap_wxRegionIterator_GetH, METH_VARARGS | METH_KEYWORDS },
13060 { "wxRegionIterator_GetWidth", (PyCFunction) _wrap_wxRegionIterator_GetWidth, METH_VARARGS | METH_KEYWORDS },
13061 { "wxRegionIterator_GetW", (PyCFunction) _wrap_wxRegionIterator_GetW, METH_VARARGS | METH_KEYWORDS },
13062 { "wxRegionIterator_GetY", (PyCFunction) _wrap_wxRegionIterator_GetY, METH_VARARGS | METH_KEYWORDS },
13063 { "wxRegionIterator_GetX", (PyCFunction) _wrap_wxRegionIterator_GetX, METH_VARARGS | METH_KEYWORDS },
13064 { "delete_wxRegionIterator", (PyCFunction) _wrap_delete_wxRegionIterator, METH_VARARGS | METH_KEYWORDS },
13065 { "new_wxRegionIterator", (PyCFunction) _wrap_new_wxRegionIterator, METH_VARARGS | METH_KEYWORDS },
13066 { "wxRegion_XorRegion", (PyCFunction) _wrap_wxRegion_XorRegion, METH_VARARGS | METH_KEYWORDS },
13067 { "wxRegion_XorRect", (PyCFunction) _wrap_wxRegion_XorRect, METH_VARARGS | METH_KEYWORDS },
13068 { "wxRegion_Xor", (PyCFunction) _wrap_wxRegion_Xor, METH_VARARGS | METH_KEYWORDS },
13069 { "wxRegion_SubtractRegion", (PyCFunction) _wrap_wxRegion_SubtractRegion, METH_VARARGS | METH_KEYWORDS },
13070 { "wxRegion_SubtractRect", (PyCFunction) _wrap_wxRegion_SubtractRect, METH_VARARGS | METH_KEYWORDS },
13071 { "wxRegion_Subtract", (PyCFunction) _wrap_wxRegion_Subtract, METH_VARARGS | METH_KEYWORDS },
13072 { "wxRegion_UnionRegion", (PyCFunction) _wrap_wxRegion_UnionRegion, METH_VARARGS | METH_KEYWORDS },
13073 { "wxRegion_UnionRect", (PyCFunction) _wrap_wxRegion_UnionRect, METH_VARARGS | METH_KEYWORDS },
13074 { "wxRegion_Union", (PyCFunction) _wrap_wxRegion_Union, METH_VARARGS | METH_KEYWORDS },
13075 { "wxRegion_IsEmpty", (PyCFunction) _wrap_wxRegion_IsEmpty, METH_VARARGS | METH_KEYWORDS },
13076 { "wxRegion_IntersectRegion", (PyCFunction) _wrap_wxRegion_IntersectRegion, METH_VARARGS | METH_KEYWORDS },
13077 { "wxRegion_IntersectRect", (PyCFunction) _wrap_wxRegion_IntersectRect, METH_VARARGS | METH_KEYWORDS },
13078 { "wxRegion_Intersect", (PyCFunction) _wrap_wxRegion_Intersect, METH_VARARGS | METH_KEYWORDS },
13079 { "wxRegion_GetBox", (PyCFunction) _wrap_wxRegion_GetBox, METH_VARARGS | METH_KEYWORDS },
13080 { "wxRegion_ContainsRectDim", (PyCFunction) _wrap_wxRegion_ContainsRectDim, METH_VARARGS | METH_KEYWORDS },
13081 { "wxRegion_ContainsRect", (PyCFunction) _wrap_wxRegion_ContainsRect, METH_VARARGS | METH_KEYWORDS },
13082 { "wxRegion_ContainsPoint", (PyCFunction) _wrap_wxRegion_ContainsPoint, METH_VARARGS | METH_KEYWORDS },
13083 { "wxRegion_Contains", (PyCFunction) _wrap_wxRegion_Contains, METH_VARARGS | METH_KEYWORDS },
23bed520 13084 { "wxRegion_Offset", (PyCFunction) _wrap_wxRegion_Offset, METH_VARARGS | METH_KEYWORDS },
9416aa89
RD
13085 { "wxRegion_Clear", (PyCFunction) _wrap_wxRegion_Clear, METH_VARARGS | METH_KEYWORDS },
13086 { "delete_wxRegion", (PyCFunction) _wrap_delete_wxRegion, METH_VARARGS | METH_KEYWORDS },
13087 { "new_wxRegion", (PyCFunction) _wrap_new_wxRegion, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 13088 { "wxImageList_GetSize", (PyCFunction) _wrap_wxImageList_GetSize, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
13089 { "wxImageList_RemoveAll", (PyCFunction) _wrap_wxImageList_RemoveAll, METH_VARARGS | METH_KEYWORDS },
13090 { "wxImageList_Remove", (PyCFunction) _wrap_wxImageList_Remove, METH_VARARGS | METH_KEYWORDS },
13091 { "wxImageList_GetImageCount", (PyCFunction) _wrap_wxImageList_GetImageCount, METH_VARARGS | METH_KEYWORDS },
13092 { "wxImageList_Draw", (PyCFunction) _wrap_wxImageList_Draw, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
13093 { "wxImageList_Replace", (PyCFunction) _wrap_wxImageList_Replace, METH_VARARGS | METH_KEYWORDS },
13094 { "wxImageList_AddIcon", (PyCFunction) _wrap_wxImageList_AddIcon, METH_VARARGS | METH_KEYWORDS },
13095 { "wxImageList_AddWithColourMask", (PyCFunction) _wrap_wxImageList_AddWithColourMask, METH_VARARGS | METH_KEYWORDS },
13096 { "wxImageList_Add", (PyCFunction) _wrap_wxImageList_Add, METH_VARARGS | METH_KEYWORDS },
13097 { "delete_wxImageList", (PyCFunction) _wrap_delete_wxImageList, METH_VARARGS | METH_KEYWORDS },
13098 { "new_wxImageList", (PyCFunction) _wrap_new_wxImageList, METH_VARARGS | METH_KEYWORDS },
13099 { "wxPalette_Ok", (PyCFunction) _wrap_wxPalette_Ok, METH_VARARGS | METH_KEYWORDS },
13100 { "wxPalette_GetRGB", (PyCFunction) _wrap_wxPalette_GetRGB, METH_VARARGS | METH_KEYWORDS },
13101 { "wxPalette_GetPixel", (PyCFunction) _wrap_wxPalette_GetPixel, METH_VARARGS | METH_KEYWORDS },
13102 { "delete_wxPalette", (PyCFunction) _wrap_delete_wxPalette, METH_VARARGS | METH_KEYWORDS },
13103 { "new_wxPalette", (PyCFunction) _wrap_new_wxPalette, METH_VARARGS | METH_KEYWORDS },
13104 { "wxMetaFileDC_Close", (PyCFunction) _wrap_wxMetaFileDC_Close, METH_VARARGS | METH_KEYWORDS },
13105 { "new_wxMetaFileDC", (PyCFunction) _wrap_new_wxMetaFileDC, METH_VARARGS | METH_KEYWORDS },
17c0e08c
RD
13106 { "wxMetaFile_GetFileName", (PyCFunction) _wrap_wxMetaFile_GetFileName, METH_VARARGS | METH_KEYWORDS },
13107 { "wxMetaFile_GetHeight", (PyCFunction) _wrap_wxMetaFile_GetHeight, METH_VARARGS | METH_KEYWORDS },
13108 { "wxMetaFile_GetWidth", (PyCFunction) _wrap_wxMetaFile_GetWidth, METH_VARARGS | METH_KEYWORDS },
13109 { "wxMetaFile_GetSize", (PyCFunction) _wrap_wxMetaFile_GetSize, METH_VARARGS | METH_KEYWORDS },
13110 { "wxMetaFile_SetClipboard", (PyCFunction) _wrap_wxMetaFile_SetClipboard, METH_VARARGS | METH_KEYWORDS },
13111 { "wxMetaFile_Ok", (PyCFunction) _wrap_wxMetaFile_Ok, METH_VARARGS | METH_KEYWORDS },
13112 { "delete_wxMetaFile", (PyCFunction) _wrap_delete_wxMetaFile, METH_VARARGS | METH_KEYWORDS },
13113 { "new_wxMetaFile", (PyCFunction) _wrap_new_wxMetaFile, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
13114 { "new_wxWindowDC", (PyCFunction) _wrap_new_wxWindowDC, METH_VARARGS | METH_KEYWORDS },
13115 { "new_wxPaintDC", (PyCFunction) _wrap_new_wxPaintDC, METH_VARARGS | METH_KEYWORDS },
13116 { "new_wxClientDC", (PyCFunction) _wrap_new_wxClientDC, METH_VARARGS | METH_KEYWORDS },
13117 { "wxScreenDC_EndDrawingOnTop", (PyCFunction) _wrap_wxScreenDC_EndDrawingOnTop, METH_VARARGS | METH_KEYWORDS },
1afc06c2 13118 { "wxScreenDC_StartDrawingOnTop", (PyCFunction) _wrap_wxScreenDC_StartDrawingOnTop, METH_VARARGS | METH_KEYWORDS },
26b9cf27 13119 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction) _wrap_wxScreenDC_StartDrawingOnTopWin, METH_VARARGS | METH_KEYWORDS },
1afc06c2 13120 { "new_wxScreenDC", (PyCFunction) _wrap_new_wxScreenDC, METH_VARARGS | METH_KEYWORDS },
e9159fe8
RD
13121 { "new_wxBufferedPaintDC", (PyCFunction) _wrap_new_wxBufferedPaintDC, METH_VARARGS | METH_KEYWORDS },
13122 { "new_wxBufferedDCInternalBuffer", (PyCFunction) _wrap_new_wxBufferedDCInternalBuffer, METH_VARARGS | METH_KEYWORDS },
13123 { "new_wxBufferedDC", (PyCFunction) _wrap_new_wxBufferedDC, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
13124 { "wxMemoryDC_SelectObject", (PyCFunction) _wrap_wxMemoryDC_SelectObject, METH_VARARGS | METH_KEYWORDS },
13125 { "new_wxMemoryDC", (PyCFunction) _wrap_new_wxMemoryDC, METH_VARARGS | METH_KEYWORDS },
9d37f964
RD
13126 { "wxDC__DrawLineList", (PyCFunction) _wrap_wxDC__DrawLineList, METH_VARARGS | METH_KEYWORDS },
13127 { "wxDC__DrawPointList", (PyCFunction) _wrap_wxDC__DrawPointList, METH_VARARGS | METH_KEYWORDS },
c7e7022c 13128 { "wxDC_GetHDC", (PyCFunction) _wrap_wxDC_GetHDC, METH_VARARGS | METH_KEYWORDS },
9d37f964 13129 { "wxDC_GetBoundingBox", (PyCFunction) _wrap_wxDC_GetBoundingBox, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13130 { "wxDC_ResetBoundingBox", (PyCFunction) _wrap_wxDC_ResetBoundingBox, METH_VARARGS | METH_KEYWORDS },
13131 { "wxDC_CalcBoundingBox", (PyCFunction) _wrap_wxDC_CalcBoundingBox, METH_VARARGS | METH_KEYWORDS },
eec92d76
RD
13132 { "wxDC_SetAxisOrientation", (PyCFunction) _wrap_wxDC_SetAxisOrientation, METH_VARARGS | METH_KEYWORDS },
13133 { "wxDC_GetDeviceOrigin", (PyCFunction) _wrap_wxDC_GetDeviceOrigin, METH_VARARGS | METH_KEYWORDS },
13134 { "wxDC_SetLogicalOrigin", (PyCFunction) _wrap_wxDC_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS },
13135 { "wxDC_GetLogicalOrigin", (PyCFunction) _wrap_wxDC_GetLogicalOrigin, METH_VARARGS | METH_KEYWORDS },
13136 { "wxDC_GetPPI", (PyCFunction) _wrap_wxDC_GetPPI, METH_VARARGS | METH_KEYWORDS },
13137 { "wxDC_GetDepth", (PyCFunction) _wrap_wxDC_GetDepth, METH_VARARGS | METH_KEYWORDS },
13138 { "wxDC_CanGetTextExtent", (PyCFunction) _wrap_wxDC_CanGetTextExtent, METH_VARARGS | METH_KEYWORDS },
13139 { "wxDC_CanDrawBitmap", (PyCFunction) _wrap_wxDC_CanDrawBitmap, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
13140 { "wxDC_DrawBitmap", (PyCFunction) _wrap_wxDC_DrawBitmap, METH_VARARGS | METH_KEYWORDS },
13141 { "wxDC_StartPage", (PyCFunction) _wrap_wxDC_StartPage, METH_VARARGS | METH_KEYWORDS },
13142 { "wxDC_StartDoc", (PyCFunction) _wrap_wxDC_StartDoc, METH_VARARGS | METH_KEYWORDS },
13143 { "wxDC_SetUserScale", (PyCFunction) _wrap_wxDC_SetUserScale, METH_VARARGS | METH_KEYWORDS },
13144 { "wxDC_SetTextForeground", (PyCFunction) _wrap_wxDC_SetTextForeground, METH_VARARGS | METH_KEYWORDS },
13145 { "wxDC_SetTextBackground", (PyCFunction) _wrap_wxDC_SetTextBackground, METH_VARARGS | METH_KEYWORDS },
13146 { "wxDC_SetPen", (PyCFunction) _wrap_wxDC_SetPen, METH_VARARGS | METH_KEYWORDS },
13147 { "wxDC_SetOptimization", (PyCFunction) _wrap_wxDC_SetOptimization, METH_VARARGS | METH_KEYWORDS },
13148 { "wxDC_SetMapMode", (PyCFunction) _wrap_wxDC_SetMapMode, METH_VARARGS | METH_KEYWORDS },
eec92d76 13149 { "wxDC_SetLogicalScale", (PyCFunction) _wrap_wxDC_SetLogicalScale, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
13150 { "wxDC_SetLogicalFunction", (PyCFunction) _wrap_wxDC_SetLogicalFunction, METH_VARARGS | METH_KEYWORDS },
13151 { "wxDC_SetFont", (PyCFunction) _wrap_wxDC_SetFont, METH_VARARGS | METH_KEYWORDS },
13152 { "wxDC_SetBrush", (PyCFunction) _wrap_wxDC_SetBrush, METH_VARARGS | METH_KEYWORDS },
13153 { "wxDC_SetPalette", (PyCFunction) _wrap_wxDC_SetPalette, METH_VARARGS | METH_KEYWORDS },
19a97bd6 13154 { "wxDC_SetClippingRegionAsRegion", (PyCFunction) _wrap_wxDC_SetClippingRegionAsRegion, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
13155 { "wxDC_SetClippingRegion", (PyCFunction) _wrap_wxDC_SetClippingRegion, METH_VARARGS | METH_KEYWORDS },
13156 { "wxDC_SetBackgroundMode", (PyCFunction) _wrap_wxDC_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
13157 { "wxDC_SetBackground", (PyCFunction) _wrap_wxDC_SetBackground, METH_VARARGS | METH_KEYWORDS },
13158 { "wxDC_SetDeviceOrigin", (PyCFunction) _wrap_wxDC_SetDeviceOrigin, METH_VARARGS | METH_KEYWORDS },
13159 { "wxDC_Ok", (PyCFunction) _wrap_wxDC_Ok, METH_VARARGS | METH_KEYWORDS },
13160 { "wxDC_MinY", (PyCFunction) _wrap_wxDC_MinY, METH_VARARGS | METH_KEYWORDS },
13161 { "wxDC_MinX", (PyCFunction) _wrap_wxDC_MinX, METH_VARARGS | METH_KEYWORDS },
13162 { "wxDC_MaxY", (PyCFunction) _wrap_wxDC_MaxY, METH_VARARGS | METH_KEYWORDS },
13163 { "wxDC_MaxX", (PyCFunction) _wrap_wxDC_MaxX, METH_VARARGS | METH_KEYWORDS },
13164 { "wxDC_LogicalToDeviceYRel", (PyCFunction) _wrap_wxDC_LogicalToDeviceYRel, METH_VARARGS | METH_KEYWORDS },
13165 { "wxDC_LogicalToDeviceY", (PyCFunction) _wrap_wxDC_LogicalToDeviceY, METH_VARARGS | METH_KEYWORDS },
13166 { "wxDC_LogicalToDeviceXRel", (PyCFunction) _wrap_wxDC_LogicalToDeviceXRel, METH_VARARGS | METH_KEYWORDS },
13167 { "wxDC_LogicalToDeviceX", (PyCFunction) _wrap_wxDC_LogicalToDeviceX, METH_VARARGS | METH_KEYWORDS },
eec92d76 13168 { "wxDC_GetUserScale", (PyCFunction) _wrap_wxDC_GetUserScale, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
13169 { "wxDC_GetTextForeground", (PyCFunction) _wrap_wxDC_GetTextForeground, METH_VARARGS | METH_KEYWORDS },
13170 { "wxDC_GetFullTextExtent", (PyCFunction) _wrap_wxDC_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
13171 { "wxDC_GetTextExtent", (PyCFunction) _wrap_wxDC_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
13172 { "wxDC_GetTextBackground", (PyCFunction) _wrap_wxDC_GetTextBackground, METH_VARARGS | METH_KEYWORDS },
eec92d76 13173 { "wxDC_GetSizeMM", (PyCFunction) _wrap_wxDC_GetSizeMM, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
13174 { "wxDC_GetSize", (PyCFunction) _wrap_wxDC_GetSize, METH_VARARGS | METH_KEYWORDS },
13175 { "wxDC_GetSizeTuple", (PyCFunction) _wrap_wxDC_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
13176 { "wxDC_GetPixel", (PyCFunction) _wrap_wxDC_GetPixel, METH_VARARGS | METH_KEYWORDS },
13177 { "wxDC_GetPen", (PyCFunction) _wrap_wxDC_GetPen, METH_VARARGS | METH_KEYWORDS },
13178 { "wxDC_GetOptimization", (PyCFunction) _wrap_wxDC_GetOptimization, METH_VARARGS | METH_KEYWORDS },
13179 { "wxDC_GetMapMode", (PyCFunction) _wrap_wxDC_GetMapMode, METH_VARARGS | METH_KEYWORDS },
eec92d76 13180 { "wxDC_GetLogicalScale", (PyCFunction) _wrap_wxDC_GetLogicalScale, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
13181 { "wxDC_GetLogicalFunction", (PyCFunction) _wrap_wxDC_GetLogicalFunction, METH_VARARGS | METH_KEYWORDS },
13182 { "wxDC_GetFont", (PyCFunction) _wrap_wxDC_GetFont, METH_VARARGS | METH_KEYWORDS },
13183 { "wxDC_GetClippingBox", (PyCFunction) _wrap_wxDC_GetClippingBox, METH_VARARGS | METH_KEYWORDS },
13184 { "wxDC_GetCharWidth", (PyCFunction) _wrap_wxDC_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
13185 { "wxDC_GetCharHeight", (PyCFunction) _wrap_wxDC_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
13186 { "wxDC_GetBrush", (PyCFunction) _wrap_wxDC_GetBrush, METH_VARARGS | METH_KEYWORDS },
13187 { "wxDC_GetBackground", (PyCFunction) _wrap_wxDC_GetBackground, METH_VARARGS | METH_KEYWORDS },
13188 { "wxDC_FloodFill", (PyCFunction) _wrap_wxDC_FloodFill, METH_VARARGS | METH_KEYWORDS },
13189 { "wxDC_EndPage", (PyCFunction) _wrap_wxDC_EndPage, METH_VARARGS | METH_KEYWORDS },
13190 { "wxDC_EndDrawing", (PyCFunction) _wrap_wxDC_EndDrawing, METH_VARARGS | METH_KEYWORDS },
13191 { "wxDC_EndDoc", (PyCFunction) _wrap_wxDC_EndDoc, METH_VARARGS | METH_KEYWORDS },
13192 { "wxDC_DrawText", (PyCFunction) _wrap_wxDC_DrawText, METH_VARARGS | METH_KEYWORDS },
13193 { "wxDC_DrawSpline", (PyCFunction) _wrap_wxDC_DrawSpline, METH_VARARGS | METH_KEYWORDS },
13194 { "wxDC_DrawRoundedRectangle", (PyCFunction) _wrap_wxDC_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
6999b0d8 13195 { "wxDC_DrawRotatedText", (PyCFunction) _wrap_wxDC_DrawRotatedText, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
13196 { "wxDC_DrawRectangle", (PyCFunction) _wrap_wxDC_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
13197 { "wxDC_DrawPoint", (PyCFunction) _wrap_wxDC_DrawPoint, METH_VARARGS | METH_KEYWORDS },
13198 { "wxDC_DrawPolygon", (PyCFunction) _wrap_wxDC_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
13199 { "wxDC_DrawLines", (PyCFunction) _wrap_wxDC_DrawLines, METH_VARARGS | METH_KEYWORDS },
13200 { "wxDC_DrawLine", (PyCFunction) _wrap_wxDC_DrawLine, METH_VARARGS | METH_KEYWORDS },
23bed520
RD
13201 { "wxDC_DrawImageLabel", (PyCFunction) _wrap_wxDC_DrawImageLabel, METH_VARARGS | METH_KEYWORDS },
13202 { "wxDC_DrawLabel", (PyCFunction) _wrap_wxDC_DrawLabel, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
13203 { "wxDC_DrawIcon", (PyCFunction) _wrap_wxDC_DrawIcon, METH_VARARGS | METH_KEYWORDS },
13204 { "wxDC_DrawEllipticArc", (PyCFunction) _wrap_wxDC_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
13205 { "wxDC_DrawEllipse", (PyCFunction) _wrap_wxDC_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
13206 { "wxDC_DrawCircle", (PyCFunction) _wrap_wxDC_DrawCircle, METH_VARARGS | METH_KEYWORDS },
13207 { "wxDC_DrawArc", (PyCFunction) _wrap_wxDC_DrawArc, METH_VARARGS | METH_KEYWORDS },
13208 { "wxDC_DeviceToLogicalYRel", (PyCFunction) _wrap_wxDC_DeviceToLogicalYRel, METH_VARARGS | METH_KEYWORDS },
13209 { "wxDC_DeviceToLogicalY", (PyCFunction) _wrap_wxDC_DeviceToLogicalY, METH_VARARGS | METH_KEYWORDS },
13210 { "wxDC_DeviceToLogicalXRel", (PyCFunction) _wrap_wxDC_DeviceToLogicalXRel, METH_VARARGS | METH_KEYWORDS },
13211 { "wxDC_DeviceToLogicalX", (PyCFunction) _wrap_wxDC_DeviceToLogicalX, METH_VARARGS | METH_KEYWORDS },
13212 { "wxDC_DestroyClippingRegion", (PyCFunction) _wrap_wxDC_DestroyClippingRegion, METH_VARARGS | METH_KEYWORDS },
13213 { "wxDC_CrossHair", (PyCFunction) _wrap_wxDC_CrossHair, METH_VARARGS | METH_KEYWORDS },
13214 { "wxDC_Clear", (PyCFunction) _wrap_wxDC_Clear, METH_VARARGS | METH_KEYWORDS },
13215 { "wxDC_Blit", (PyCFunction) _wrap_wxDC_Blit, METH_VARARGS | METH_KEYWORDS },
13216 { "wxDC_BeginDrawing", (PyCFunction) _wrap_wxDC_BeginDrawing, METH_VARARGS | METH_KEYWORDS },
13217 { "delete_wxDC", (PyCFunction) _wrap_delete_wxDC, METH_VARARGS | METH_KEYWORDS },
2f4e9287 13218 { "wxBrushList_GetCount", (PyCFunction) _wrap_wxBrushList_GetCount, METH_VARARGS | METH_KEYWORDS },
0569df0f
RD
13219 { "wxBrushList_RemoveBrush", (PyCFunction) _wrap_wxBrushList_RemoveBrush, METH_VARARGS | METH_KEYWORDS },
13220 { "wxBrushList_FindOrCreateBrush", (PyCFunction) _wrap_wxBrushList_FindOrCreateBrush, METH_VARARGS | METH_KEYWORDS },
13221 { "wxBrushList_AddBrush", (PyCFunction) _wrap_wxBrushList_AddBrush, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
13222 { "wxBrush_SetStyle", (PyCFunction) _wrap_wxBrush_SetStyle, METH_VARARGS | METH_KEYWORDS },
13223 { "wxBrush_SetStipple", (PyCFunction) _wrap_wxBrush_SetStipple, METH_VARARGS | METH_KEYWORDS },
13224 { "wxBrush_SetColour", (PyCFunction) _wrap_wxBrush_SetColour, METH_VARARGS | METH_KEYWORDS },
13225 { "wxBrush_Ok", (PyCFunction) _wrap_wxBrush_Ok, METH_VARARGS | METH_KEYWORDS },
13226 { "wxBrush_GetStyle", (PyCFunction) _wrap_wxBrush_GetStyle, METH_VARARGS | METH_KEYWORDS },
13227 { "wxBrush_GetStipple", (PyCFunction) _wrap_wxBrush_GetStipple, METH_VARARGS | METH_KEYWORDS },
13228 { "wxBrush_GetColour", (PyCFunction) _wrap_wxBrush_GetColour, METH_VARARGS | METH_KEYWORDS },
0569df0f 13229 { "delete_wxBrush", (PyCFunction) _wrap_delete_wxBrush, METH_VARARGS | METH_KEYWORDS },
1afc06c2 13230 { "new_wxBrush", (PyCFunction) _wrap_new_wxBrush, METH_VARARGS | METH_KEYWORDS },
2f4e9287 13231 { "wxPenList_GetCount", (PyCFunction) _wrap_wxPenList_GetCount, METH_VARARGS | METH_KEYWORDS },
0569df0f
RD
13232 { "wxPenList_RemovePen", (PyCFunction) _wrap_wxPenList_RemovePen, METH_VARARGS | METH_KEYWORDS },
13233 { "wxPenList_FindOrCreatePen", (PyCFunction) _wrap_wxPenList_FindOrCreatePen, METH_VARARGS | METH_KEYWORDS },
13234 { "wxPenList_AddPen", (PyCFunction) _wrap_wxPenList_AddPen, METH_VARARGS | METH_KEYWORDS },
ecc08ead
RD
13235 { "wxPyPen_SetDashes", (PyCFunction) _wrap_wxPyPen_SetDashes, METH_VARARGS | METH_KEYWORDS },
13236 { "delete_wxPyPen", (PyCFunction) _wrap_delete_wxPyPen, METH_VARARGS | METH_KEYWORDS },
13237 { "new_wxPyPen", (PyCFunction) _wrap_new_wxPyPen, METH_VARARGS | METH_KEYWORDS },
1afc06c2 13238 { "wxPen_SetStipple", (PyCFunction) _wrap_wxPen_SetStipple, METH_VARARGS | METH_KEYWORDS },
1afc06c2 13239 { "wxPen_GetStipple", (PyCFunction) _wrap_wxPen_GetStipple, METH_VARARGS | METH_KEYWORDS },
6999b0d8 13240 { "wxPen_SetDashes", (PyCFunction) _wrap_wxPen_SetDashes, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
13241 { "wxPen_SetWidth", (PyCFunction) _wrap_wxPen_SetWidth, METH_VARARGS | METH_KEYWORDS },
13242 { "wxPen_SetStyle", (PyCFunction) _wrap_wxPen_SetStyle, METH_VARARGS | METH_KEYWORDS },
13243 { "wxPen_SetJoin", (PyCFunction) _wrap_wxPen_SetJoin, METH_VARARGS | METH_KEYWORDS },
13244 { "wxPen_SetColour", (PyCFunction) _wrap_wxPen_SetColour, METH_VARARGS | METH_KEYWORDS },
13245 { "wxPen_SetCap", (PyCFunction) _wrap_wxPen_SetCap, METH_VARARGS | METH_KEYWORDS },
13246 { "wxPen_Ok", (PyCFunction) _wrap_wxPen_Ok, METH_VARARGS | METH_KEYWORDS },
13247 { "wxPen_GetWidth", (PyCFunction) _wrap_wxPen_GetWidth, METH_VARARGS | METH_KEYWORDS },
13248 { "wxPen_GetStyle", (PyCFunction) _wrap_wxPen_GetStyle, METH_VARARGS | METH_KEYWORDS },
13249 { "wxPen_GetJoin", (PyCFunction) _wrap_wxPen_GetJoin, METH_VARARGS | METH_KEYWORDS },
13250 { "wxPen_GetColour", (PyCFunction) _wrap_wxPen_GetColour, METH_VARARGS | METH_KEYWORDS },
13251 { "wxPen_GetCap", (PyCFunction) _wrap_wxPen_GetCap, METH_VARARGS | METH_KEYWORDS },
0569df0f 13252 { "delete_wxPen", (PyCFunction) _wrap_delete_wxPen, METH_VARARGS | METH_KEYWORDS },
1afc06c2 13253 { "new_wxPen", (PyCFunction) _wrap_new_wxPen, METH_VARARGS | METH_KEYWORDS },
0569df0f
RD
13254 { "wxColourDatabase_Append", (PyCFunction) _wrap_wxColourDatabase_Append, METH_VARARGS | METH_KEYWORDS },
13255 { "wxColourDatabase_FindName", (PyCFunction) _wrap_wxColourDatabase_FindName, METH_VARARGS | METH_KEYWORDS },
13256 { "wxColourDatabase_FindColour", (PyCFunction) _wrap_wxColourDatabase_FindColour, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
13257 { "wxColour_Get", (PyCFunction) _wrap_wxColour_Get, METH_VARARGS | METH_KEYWORDS },
13258 { "wxColour_Set", (PyCFunction) _wrap_wxColour_Set, METH_VARARGS | METH_KEYWORDS },
13259 { "wxColour_Ok", (PyCFunction) _wrap_wxColour_Ok, METH_VARARGS | METH_KEYWORDS },
13260 { "wxColour_Blue", (PyCFunction) _wrap_wxColour_Blue, METH_VARARGS | METH_KEYWORDS },
13261 { "wxColour_Green", (PyCFunction) _wrap_wxColour_Green, METH_VARARGS | METH_KEYWORDS },
13262 { "wxColour_Red", (PyCFunction) _wrap_wxColour_Red, METH_VARARGS | METH_KEYWORDS },
13263 { "delete_wxColour", (PyCFunction) _wrap_delete_wxColour, METH_VARARGS | METH_KEYWORDS },
13264 { "new_wxColour", (PyCFunction) _wrap_new_wxColour, METH_VARARGS | METH_KEYWORDS },
2f4e9287 13265 { "wxFontList_GetCount", (PyCFunction) _wrap_wxFontList_GetCount, METH_VARARGS | METH_KEYWORDS },
0569df0f
RD
13266 { "wxFontList_RemoveFont", (PyCFunction) _wrap_wxFontList_RemoveFont, METH_VARARGS | METH_KEYWORDS },
13267 { "wxFontList_FindOrCreateFont", (PyCFunction) _wrap_wxFontList_FindOrCreateFont, METH_VARARGS | METH_KEYWORDS },
13268 { "wxFontList_AddFont", (PyCFunction) _wrap_wxFontList_AddFont, METH_VARARGS | METH_KEYWORDS },
6d8b4f8d
RD
13269 { "wxFont_SetDefaultEncoding", (PyCFunction) _wrap_wxFont_SetDefaultEncoding, METH_VARARGS | METH_KEYWORDS },
13270 { "wxFont_GetDefaultEncoding", (PyCFunction) _wrap_wxFont_GetDefaultEncoding, METH_VARARGS | METH_KEYWORDS },
f0261a72
RD
13271 { "wxFont_GetWeightString", (PyCFunction) _wrap_wxFont_GetWeightString, METH_VARARGS | METH_KEYWORDS },
13272 { "wxFont_GetStyleString", (PyCFunction) _wrap_wxFont_GetStyleString, METH_VARARGS | METH_KEYWORDS },
13273 { "wxFont_GetFamilyString", (PyCFunction) _wrap_wxFont_GetFamilyString, METH_VARARGS | METH_KEYWORDS },
b5a5d647 13274 { "wxFont_SetNativeFontInfoUserDesc", (PyCFunction) _wrap_wxFont_SetNativeFontInfoUserDesc, METH_VARARGS | METH_KEYWORDS },
6d8b4f8d 13275 { "wxFont_SetNativeFontInfo", (PyCFunction) _wrap_wxFont_SetNativeFontInfo, METH_VARARGS | METH_KEYWORDS },
f0261a72 13276 { "wxFont_SetEncoding", (PyCFunction) _wrap_wxFont_SetEncoding, METH_VARARGS | METH_KEYWORDS },
1afc06c2 13277 { "wxFont_SetUnderlined", (PyCFunction) _wrap_wxFont_SetUnderlined, METH_VARARGS | METH_KEYWORDS },
6d8b4f8d
RD
13278 { "wxFont_SetFaceName", (PyCFunction) _wrap_wxFont_SetFaceName, METH_VARARGS | METH_KEYWORDS },
13279 { "wxFont_SetWeight", (PyCFunction) _wrap_wxFont_SetWeight, METH_VARARGS | METH_KEYWORDS },
1afc06c2 13280 { "wxFont_SetStyle", (PyCFunction) _wrap_wxFont_SetStyle, METH_VARARGS | METH_KEYWORDS },
1afc06c2 13281 { "wxFont_SetFamily", (PyCFunction) _wrap_wxFont_SetFamily, METH_VARARGS | METH_KEYWORDS },
6d8b4f8d 13282 { "wxFont_SetPointSize", (PyCFunction) _wrap_wxFont_SetPointSize, METH_VARARGS | METH_KEYWORDS },
b5a5d647
RD
13283 { "wxFont_GetNativeFontInfoUserDesc", (PyCFunction) _wrap_wxFont_GetNativeFontInfoUserDesc, METH_VARARGS | METH_KEYWORDS },
13284 { "wxFont_GetNativeFontInfoDesc", (PyCFunction) _wrap_wxFont_GetNativeFontInfoDesc, METH_VARARGS | METH_KEYWORDS },
6d8b4f8d 13285 { "wxFont_GetNativeFontInfo", (PyCFunction) _wrap_wxFont_GetNativeFontInfo, METH_VARARGS | METH_KEYWORDS },
68320e40 13286 { "wxFont_IsFixedWidth", (PyCFunction) _wrap_wxFont_IsFixedWidth, METH_VARARGS | METH_KEYWORDS },
f0261a72 13287 { "wxFont_GetEncoding", (PyCFunction) _wrap_wxFont_GetEncoding, METH_VARARGS | METH_KEYWORDS },
6d8b4f8d 13288 { "wxFont_GetFaceName", (PyCFunction) _wrap_wxFont_GetFaceName, METH_VARARGS | METH_KEYWORDS },
1afc06c2 13289 { "wxFont_GetUnderlined", (PyCFunction) _wrap_wxFont_GetUnderlined, METH_VARARGS | METH_KEYWORDS },
6d8b4f8d 13290 { "wxFont_GetWeight", (PyCFunction) _wrap_wxFont_GetWeight, METH_VARARGS | METH_KEYWORDS },
1afc06c2 13291 { "wxFont_GetStyle", (PyCFunction) _wrap_wxFont_GetStyle, METH_VARARGS | METH_KEYWORDS },
1afc06c2 13292 { "wxFont_GetFamily", (PyCFunction) _wrap_wxFont_GetFamily, METH_VARARGS | METH_KEYWORDS },
6d8b4f8d 13293 { "wxFont_GetPointSize", (PyCFunction) _wrap_wxFont_GetPointSize, METH_VARARGS | METH_KEYWORDS },
694759cf 13294 { "wxFont_Ok", (PyCFunction) _wrap_wxFont_Ok, METH_VARARGS | METH_KEYWORDS },
0569df0f 13295 { "delete_wxFont", (PyCFunction) _wrap_delete_wxFont, METH_VARARGS | METH_KEYWORDS },
6d8b4f8d 13296 { "new_wxFontFromNativeInfo", (PyCFunction) _wrap_new_wxFontFromNativeInfo, METH_VARARGS | METH_KEYWORDS },
1afc06c2 13297 { "new_wxFont", (PyCFunction) _wrap_new_wxFont, METH_VARARGS | METH_KEYWORDS },
6d8b4f8d
RD
13298 { "wxFontMapper_GetDefaultConfigPath", (PyCFunction) _wrap_wxFontMapper_GetDefaultConfigPath, METH_VARARGS | METH_KEYWORDS },
13299 { "wxFontMapper_SetConfigPath", (PyCFunction) _wrap_wxFontMapper_SetConfigPath, METH_VARARGS | METH_KEYWORDS },
13300 { "wxFontMapper_SetConfig", (PyCFunction) _wrap_wxFontMapper_SetConfig, METH_VARARGS | METH_KEYWORDS },
13301 { "wxFontMapper_SetDialogTitle", (PyCFunction) _wrap_wxFontMapper_SetDialogTitle, METH_VARARGS | METH_KEYWORDS },
13302 { "wxFontMapper_SetDialogParent", (PyCFunction) _wrap_wxFontMapper_SetDialogParent, METH_VARARGS | METH_KEYWORDS },
13303 { "wxFontMapper_GetEncodingDescription", (PyCFunction) _wrap_wxFontMapper_GetEncodingDescription, METH_VARARGS | METH_KEYWORDS },
13304 { "wxFontMapper_GetEncodingName", (PyCFunction) _wrap_wxFontMapper_GetEncodingName, METH_VARARGS | METH_KEYWORDS },
13305 { "wxFontMapper_CharsetToEncoding", (PyCFunction) _wrap_wxFontMapper_CharsetToEncoding, METH_VARARGS | METH_KEYWORDS },
13306 { "wxFontMapper_IsEncodingAvailable", (PyCFunction) _wrap_wxFontMapper_IsEncodingAvailable, METH_VARARGS | METH_KEYWORDS },
13307 { "wxFontMapper_GetAltForEncoding", (PyCFunction) _wrap_wxFontMapper_GetAltForEncoding, METH_VARARGS | METH_KEYWORDS },
13308 { "delete_wxFontMapper", (PyCFunction) _wrap_delete_wxFontMapper, METH_VARARGS | METH_KEYWORDS },
13309 { "new_wxFontMapper", (PyCFunction) _wrap_new_wxFontMapper, METH_VARARGS | METH_KEYWORDS },
b5a5d647
RD
13310 { "wxNativeFontInfo_ToUserString", (PyCFunction) _wrap_wxNativeFontInfo_ToUserString, METH_VARARGS | METH_KEYWORDS },
13311 { "wxNativeFontInfo_FromUserString", (PyCFunction) _wrap_wxNativeFontInfo_FromUserString, METH_VARARGS | METH_KEYWORDS },
6d8b4f8d
RD
13312 { "wxNativeFontInfo___str__", (PyCFunction) _wrap_wxNativeFontInfo___str__, METH_VARARGS | METH_KEYWORDS },
13313 { "wxNativeFontInfo_ToString", (PyCFunction) _wrap_wxNativeFontInfo_ToString, METH_VARARGS | METH_KEYWORDS },
13314 { "wxNativeFontInfo_FromString", (PyCFunction) _wrap_wxNativeFontInfo_FromString, METH_VARARGS | METH_KEYWORDS },
b5a5d647
RD
13315 { "wxNativeFontInfo_SetEncoding", (PyCFunction) _wrap_wxNativeFontInfo_SetEncoding, METH_VARARGS | METH_KEYWORDS },
13316 { "wxNativeFontInfo_SetFamily", (PyCFunction) _wrap_wxNativeFontInfo_SetFamily, METH_VARARGS | METH_KEYWORDS },
13317 { "wxNativeFontInfo_SetFaceName", (PyCFunction) _wrap_wxNativeFontInfo_SetFaceName, METH_VARARGS | METH_KEYWORDS },
13318 { "wxNativeFontInfo_SetUnderlined", (PyCFunction) _wrap_wxNativeFontInfo_SetUnderlined, METH_VARARGS | METH_KEYWORDS },
13319 { "wxNativeFontInfo_SetWeight", (PyCFunction) _wrap_wxNativeFontInfo_SetWeight, METH_VARARGS | METH_KEYWORDS },
13320 { "wxNativeFontInfo_SetStyle", (PyCFunction) _wrap_wxNativeFontInfo_SetStyle, METH_VARARGS | METH_KEYWORDS },
13321 { "wxNativeFontInfo_SetPointSize", (PyCFunction) _wrap_wxNativeFontInfo_SetPointSize, METH_VARARGS | METH_KEYWORDS },
13322 { "wxNativeFontInfo_GetEncoding", (PyCFunction) _wrap_wxNativeFontInfo_GetEncoding, METH_VARARGS | METH_KEYWORDS },
13323 { "wxNativeFontInfo_GetFamily", (PyCFunction) _wrap_wxNativeFontInfo_GetFamily, METH_VARARGS | METH_KEYWORDS },
13324 { "wxNativeFontInfo_GetFaceName", (PyCFunction) _wrap_wxNativeFontInfo_GetFaceName, METH_VARARGS | METH_KEYWORDS },
13325 { "wxNativeFontInfo_GetUnderlined", (PyCFunction) _wrap_wxNativeFontInfo_GetUnderlined, METH_VARARGS | METH_KEYWORDS },
13326 { "wxNativeFontInfo_GetWeight", (PyCFunction) _wrap_wxNativeFontInfo_GetWeight, METH_VARARGS | METH_KEYWORDS },
13327 { "wxNativeFontInfo_GetStyle", (PyCFunction) _wrap_wxNativeFontInfo_GetStyle, METH_VARARGS | METH_KEYWORDS },
13328 { "wxNativeFontInfo_GetPointSize", (PyCFunction) _wrap_wxNativeFontInfo_GetPointSize, METH_VARARGS | METH_KEYWORDS },
13329 { "wxNativeFontInfo_Init", (PyCFunction) _wrap_wxNativeFontInfo_Init, METH_VARARGS | METH_KEYWORDS },
13330 { "new_wxNativeFontInfo", (PyCFunction) _wrap_new_wxNativeFontInfo, METH_VARARGS | METH_KEYWORDS },
9b3d3bc4
RD
13331 { "wxCursor_SetSize", (PyCFunction) _wrap_wxCursor_SetSize, METH_VARARGS | METH_KEYWORDS },
13332 { "wxCursor_SetDepth", (PyCFunction) _wrap_wxCursor_SetDepth, METH_VARARGS | METH_KEYWORDS },
13333 { "wxCursor_SetHeight", (PyCFunction) _wrap_wxCursor_SetHeight, METH_VARARGS | METH_KEYWORDS },
13334 { "wxCursor_SetWidth", (PyCFunction) _wrap_wxCursor_SetWidth, METH_VARARGS | METH_KEYWORDS },
13335 { "wxCursor_GetDepth", (PyCFunction) _wrap_wxCursor_GetDepth, METH_VARARGS | METH_KEYWORDS },
13336 { "wxCursor_GetHeight", (PyCFunction) _wrap_wxCursor_GetHeight, METH_VARARGS | METH_KEYWORDS },
13337 { "wxCursor_GetWidth", (PyCFunction) _wrap_wxCursor_GetWidth, METH_VARARGS | METH_KEYWORDS },
13338 { "wxCursor_Ok", (PyCFunction) _wrap_wxCursor_Ok, METH_VARARGS | METH_KEYWORDS },
13339 { "wxCursor_SetHandle", (PyCFunction) _wrap_wxCursor_SetHandle, METH_VARARGS | METH_KEYWORDS },
13340 { "wxCursor_GetHandle", (PyCFunction) _wrap_wxCursor_GetHandle, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
13341 { "delete_wxCursor", (PyCFunction) _wrap_delete_wxCursor, METH_VARARGS | METH_KEYWORDS },
13342 { "new_wxCursor", (PyCFunction) _wrap_new_wxCursor, METH_VARARGS | METH_KEYWORDS },
96bfd053 13343 { "wxIcon_CopyFromBitmap", (PyCFunction) _wrap_wxIcon_CopyFromBitmap, METH_VARARGS | METH_KEYWORDS },
9b3d3bc4
RD
13344 { "wxIcon_SetSize", (PyCFunction) _wrap_wxIcon_SetSize, METH_VARARGS | METH_KEYWORDS },
13345 { "wxIcon_SetDepth", (PyCFunction) _wrap_wxIcon_SetDepth, METH_VARARGS | METH_KEYWORDS },
13346 { "wxIcon_SetHeight", (PyCFunction) _wrap_wxIcon_SetHeight, METH_VARARGS | METH_KEYWORDS },
13347 { "wxIcon_SetWidth", (PyCFunction) _wrap_wxIcon_SetWidth, METH_VARARGS | METH_KEYWORDS },
13348 { "wxIcon_GetDepth", (PyCFunction) _wrap_wxIcon_GetDepth, METH_VARARGS | METH_KEYWORDS },
13349 { "wxIcon_GetHeight", (PyCFunction) _wrap_wxIcon_GetHeight, METH_VARARGS | METH_KEYWORDS },
13350 { "wxIcon_GetWidth", (PyCFunction) _wrap_wxIcon_GetWidth, METH_VARARGS | METH_KEYWORDS },
13351 { "wxIcon_Ok", (PyCFunction) _wrap_wxIcon_Ok, METH_VARARGS | METH_KEYWORDS },
13352 { "wxIcon_SetHandle", (PyCFunction) _wrap_wxIcon_SetHandle, METH_VARARGS | METH_KEYWORDS },
13353 { "wxIcon_GetHandle", (PyCFunction) _wrap_wxIcon_GetHandle, METH_VARARGS | METH_KEYWORDS },
1afc06c2 13354 { "wxIcon_LoadFile", (PyCFunction) _wrap_wxIcon_LoadFile, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
13355 { "delete_wxIcon", (PyCFunction) _wrap_delete_wxIcon, METH_VARARGS | METH_KEYWORDS },
13356 { "new_wxIcon", (PyCFunction) _wrap_new_wxIcon, METH_VARARGS | METH_KEYWORDS },
96bfd053 13357 { "wxMask_Destroy", (PyCFunction) _wrap_wxMask_Destroy, METH_VARARGS | METH_KEYWORDS },
1afc06c2 13358 { "new_wxMask", (PyCFunction) _wrap_new_wxMask, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
13359 { "wxBitmap_SetQuality", (PyCFunction) _wrap_wxBitmap_SetQuality, METH_VARARGS | METH_KEYWORDS },
13360 { "wxBitmap_GetQuality", (PyCFunction) _wrap_wxBitmap_GetQuality, METH_VARARGS | METH_KEYWORDS },
13361 { "wxBitmap_CopyFromCursor", (PyCFunction) _wrap_wxBitmap_CopyFromCursor, METH_VARARGS | METH_KEYWORDS },
13362 { "wxBitmap_CopyFromIcon", (PyCFunction) _wrap_wxBitmap_CopyFromIcon, METH_VARARGS | METH_KEYWORDS },
13363 { "wxBitmap_GetSubBitmap", (PyCFunction) _wrap_wxBitmap_GetSubBitmap, METH_VARARGS | METH_KEYWORDS },
9b3d3bc4
RD
13364 { "wxBitmap_SetSize", (PyCFunction) _wrap_wxBitmap_SetSize, METH_VARARGS | METH_KEYWORDS },
13365 { "wxBitmap_SetDepth", (PyCFunction) _wrap_wxBitmap_SetDepth, METH_VARARGS | METH_KEYWORDS },
13366 { "wxBitmap_SetHeight", (PyCFunction) _wrap_wxBitmap_SetHeight, METH_VARARGS | METH_KEYWORDS },
13367 { "wxBitmap_SetWidth", (PyCFunction) _wrap_wxBitmap_SetWidth, METH_VARARGS | METH_KEYWORDS },
13368 { "wxBitmap_GetDepth", (PyCFunction) _wrap_wxBitmap_GetDepth, METH_VARARGS | METH_KEYWORDS },
13369 { "wxBitmap_GetHeight", (PyCFunction) _wrap_wxBitmap_GetHeight, METH_VARARGS | METH_KEYWORDS },
13370 { "wxBitmap_GetWidth", (PyCFunction) _wrap_wxBitmap_GetWidth, METH_VARARGS | METH_KEYWORDS },
13371 { "wxBitmap_Ok", (PyCFunction) _wrap_wxBitmap_Ok, METH_VARARGS | METH_KEYWORDS },
13372 { "wxBitmap_SetHandle", (PyCFunction) _wrap_wxBitmap_SetHandle, METH_VARARGS | METH_KEYWORDS },
13373 { "wxBitmap_GetHandle", (PyCFunction) _wrap_wxBitmap_GetHandle, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
13374 { "wxBitmap_SetPalette", (PyCFunction) _wrap_wxBitmap_SetPalette, METH_VARARGS | METH_KEYWORDS },
13375 { "wxBitmap_SetMask", (PyCFunction) _wrap_wxBitmap_SetMask, METH_VARARGS | METH_KEYWORDS },
1afc06c2 13376 { "wxBitmap_SaveFile", (PyCFunction) _wrap_wxBitmap_SaveFile, METH_VARARGS | METH_KEYWORDS },
1afc06c2 13377 { "wxBitmap_LoadFile", (PyCFunction) _wrap_wxBitmap_LoadFile, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
13378 { "wxBitmap_GetMask", (PyCFunction) _wrap_wxBitmap_GetMask, METH_VARARGS | METH_KEYWORDS },
13379 { "wxBitmap_GetPalette", (PyCFunction) _wrap_wxBitmap_GetPalette, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
13380 { "delete_wxBitmap", (PyCFunction) _wrap_delete_wxBitmap, METH_VARARGS | METH_KEYWORDS },
13381 { "new_wxBitmap", (PyCFunction) _wrap_new_wxBitmap, METH_VARARGS | METH_KEYWORDS },
9416aa89
RD
13382 { "wxGDIObject_IsNull", (PyCFunction) _wrap_wxGDIObject_IsNull, METH_VARARGS | METH_KEYWORDS },
13383 { "wxGDIObject_SetVisible", (PyCFunction) _wrap_wxGDIObject_SetVisible, METH_VARARGS | METH_KEYWORDS },
13384 { "wxGDIObject_GetVisible", (PyCFunction) _wrap_wxGDIObject_GetVisible, METH_VARARGS | METH_KEYWORDS },
13385 { "delete_wxGDIObject", (PyCFunction) _wrap_delete_wxGDIObject, METH_VARARGS | METH_KEYWORDS },
13386 { "new_wxGDIObject", (PyCFunction) _wrap_new_wxGDIObject, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
13387 { "wxMemoryDCFromDC", (PyCFunction) _wrap_wxMemoryDCFromDC, METH_VARARGS | METH_KEYWORDS },
13388 { "wxNamedColour", (PyCFunction) _wrap_wxNamedColour, METH_VARARGS | METH_KEYWORDS },
13389 { "wxStockCursor", (PyCFunction) _wrap_wxStockCursor, METH_VARARGS | METH_KEYWORDS },
7248a051 13390 { "wxIconFromBitmap", (PyCFunction) _wrap_wxIconFromBitmap, METH_VARARGS | METH_KEYWORDS },
96bfd053
RD
13391 { "wxIconFromXPMData", (PyCFunction) _wrap_wxIconFromXPMData, METH_VARARGS | METH_KEYWORDS },
13392 { "wxEmptyIcon", (PyCFunction) _wrap_wxEmptyIcon, METH_VARARGS | METH_KEYWORDS },
1afc06c2 13393 { "wxMaskColour", (PyCFunction) _wrap_wxMaskColour, METH_VARARGS | METH_KEYWORDS },
d56cebe7 13394 { "wxBitmapFromBits", (PyCFunction) _wrap_wxBitmapFromBits, METH_VARARGS | METH_KEYWORDS },
96bfd053
RD
13395 { "wxBitmapFromIcon", (PyCFunction) _wrap_wxBitmapFromIcon, METH_VARARGS | METH_KEYWORDS },
13396 { "wxBitmapFromXPMData", (PyCFunction) _wrap_wxBitmapFromXPMData, METH_VARARGS | METH_KEYWORDS },
1afc06c2 13397 { "wxEmptyBitmap", (PyCFunction) _wrap_wxEmptyBitmap, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
13398 { NULL, NULL }
13399};
1d99702e
RD
13400#ifdef __cplusplus
13401}
13402#endif
13403/*
13404 * This table is used by the pointer type-checker
13405 */
13406static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 13407 { "_signed_long","_long",0},
b1462dfa 13408 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
13409 { "_wxPrintQuality","_int",0},
13410 { "_wxPrintQuality","_signed_int",0},
13411 { "_wxPrintQuality","_unsigned_int",0},
13412 { "_wxPrintQuality","_wxWindowID",0},
13413 { "_wxPrintQuality","_uint",0},
13414 { "_wxPrintQuality","_EBool",0},
13415 { "_wxPrintQuality","_size_t",0},
c368d904 13416 { "_wxPrintQuality","_time_t",0},
ecc08ead 13417 { "_wxPen","_wxPyPen",SwigwxPyPenTowxPen},
1d99702e 13418 { "_byte","_unsigned_char",0},
1d99702e
RD
13419 { "_long","_unsigned_long",0},
13420 { "_long","_signed_long",0},
9416aa89 13421 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject},
9416aa89 13422 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject},
9416aa89 13423 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject},
ecc08ead 13424 { "_wxGDIObject","_wxPyPen",SwigwxPyPenTowxGDIObject},
9416aa89 13425 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject},
9416aa89 13426 { "_wxGDIObject","_wxFont",SwigwxFontTowxGDIObject},
9416aa89 13427 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject},
9416aa89 13428 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject},
9416aa89 13429 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject},
1d99702e 13430 { "_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC},
1d99702e 13431 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC},
1d99702e 13432 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC},
1d99702e 13433 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC},
1d99702e 13434 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC},
e9159fe8
RD
13435 { "_wxDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxDC},
13436 { "_wxDC","_wxBufferedDC",SwigwxBufferedDCTowxDC},
1d99702e 13437 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC},
b1462dfa 13438 { "_size_t","_wxCoord",0},
1d99702e 13439 { "_size_t","_wxPrintQuality",0},
c368d904 13440 { "_size_t","_time_t",0},
1d99702e
RD
13441 { "_size_t","_unsigned_int",0},
13442 { "_size_t","_int",0},
13443 { "_size_t","_wxWindowID",0},
13444 { "_size_t","_uint",0},
b1462dfa 13445 { "_uint","_wxCoord",0},
1d99702e 13446 { "_uint","_wxPrintQuality",0},
c368d904 13447 { "_uint","_time_t",0},
1d99702e
RD
13448 { "_uint","_size_t",0},
13449 { "_uint","_unsigned_int",0},
13450 { "_uint","_int",0},
13451 { "_uint","_wxWindowID",0},
f6bcfd97 13452 { "_wxChar","_char",0},
f6bcfd97 13453 { "_char","_wxChar",0},
e9159fe8 13454 { "_wxBufferedDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxBufferedDC},
6d8b4f8d 13455 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 13456 { "_EBool","_wxCoord",0},
1d99702e
RD
13457 { "_EBool","_wxPrintQuality",0},
13458 { "_EBool","_signed_int",0},
13459 { "_EBool","_int",0},
13460 { "_EBool","_wxWindowID",0},
1d99702e 13461 { "_unsigned_long","_long",0},
6d8b4f8d 13462 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 13463 { "_signed_int","_wxCoord",0},
1d99702e
RD
13464 { "_signed_int","_wxPrintQuality",0},
13465 { "_signed_int","_EBool",0},
13466 { "_signed_int","_wxWindowID",0},
13467 { "_signed_int","_int",0},
1d99702e
RD
13468 { "_WXTYPE","_short",0},
13469 { "_WXTYPE","_signed_short",0},
13470 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
13471 { "_unsigned_short","_WXTYPE",0},
13472 { "_unsigned_short","_short",0},
9416aa89 13473 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject},
9416aa89 13474 { "_wxObject","_wxRegion",SwigwxRegionTowxObject},
9416aa89 13475 { "_wxObject","_wxImageList",SwigwxImageListTowxObject},
9416aa89 13476 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject},
9416aa89 13477 { "_wxObject","_wxMetaFileDC",SwigwxMetaFileDCTowxObject},
17c0e08c 13478 { "_wxObject","_wxMetaFile",SwigwxMetaFileTowxObject},
9416aa89 13479 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject},
9416aa89 13480 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject},
9416aa89 13481 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject},
9416aa89 13482 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject},
e9159fe8
RD
13483 { "_wxObject","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxObject},
13484 { "_wxObject","_wxBufferedDC",SwigwxBufferedDCTowxObject},
9416aa89 13485 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject},
9416aa89 13486 { "_wxObject","_wxDC",SwigwxDCTowxObject},
6ee2116b 13487 { "_wxObject","_wxBrushList",SwigwxBrushListTowxObject},
9416aa89 13488 { "_wxObject","_wxBrush",SwigwxBrushTowxObject},
9416aa89 13489 { "_wxObject","_wxPenList",SwigwxPenListTowxObject},
ecc08ead 13490 { "_wxObject","_wxPyPen",SwigwxPyPenTowxObject},
9416aa89 13491 { "_wxObject","_wxPen",SwigwxPenTowxObject},
9416aa89 13492 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject},
9416aa89 13493 { "_wxObject","_wxColour",SwigwxColourTowxObject},
9416aa89 13494 { "_wxObject","_wxFontList",SwigwxFontListTowxObject},
9416aa89 13495 { "_wxObject","_wxFont",SwigwxFontTowxObject},
9416aa89 13496 { "_wxObject","_wxCursor",SwigwxCursorTowxObject},
9416aa89 13497 { "_wxObject","_wxIcon",SwigwxIconTowxObject},
9416aa89 13498 { "_wxObject","_wxMask",SwigwxMaskTowxObject},
9416aa89 13499 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject},
9416aa89 13500 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject},
1d99702e
RD
13501 { "_signed_short","_WXTYPE",0},
13502 { "_signed_short","_short",0},
e9159fe8
RD
13503 { "_wxMemoryDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxMemoryDC},
13504 { "_wxMemoryDC","_wxBufferedDC",SwigwxBufferedDCTowxMemoryDC},
1d99702e 13505 { "_unsigned_char","_byte",0},
b1462dfa 13506 { "_unsigned_int","_wxCoord",0},
1d99702e 13507 { "_unsigned_int","_wxPrintQuality",0},
c368d904 13508 { "_unsigned_int","_time_t",0},
1d99702e
RD
13509 { "_unsigned_int","_size_t",0},
13510 { "_unsigned_int","_uint",0},
13511 { "_unsigned_int","_wxWindowID",0},
13512 { "_unsigned_int","_int",0},
1d99702e
RD
13513 { "_short","_WXTYPE",0},
13514 { "_short","_unsigned_short",0},
13515 { "_short","_signed_short",0},
b1462dfa 13516 { "_wxWindowID","_wxCoord",0},
1d99702e 13517 { "_wxWindowID","_wxPrintQuality",0},
c368d904 13518 { "_wxWindowID","_time_t",0},
1d99702e
RD
13519 { "_wxWindowID","_size_t",0},
13520 { "_wxWindowID","_EBool",0},
13521 { "_wxWindowID","_uint",0},
13522 { "_wxWindowID","_int",0},
13523 { "_wxWindowID","_signed_int",0},
13524 { "_wxWindowID","_unsigned_int",0},
b1462dfa 13525 { "_int","_wxCoord",0},
1d99702e 13526 { "_int","_wxPrintQuality",0},
c368d904 13527 { "_int","_time_t",0},
1d99702e
RD
13528 { "_int","_size_t",0},
13529 { "_int","_EBool",0},
13530 { "_int","_uint",0},
13531 { "_int","_wxWindowID",0},
13532 { "_int","_unsigned_int",0},
13533 { "_int","_signed_int",0},
c368d904
RD
13534 { "_time_t","_wxCoord",0},
13535 { "_time_t","_wxPrintQuality",0},
13536 { "_time_t","_unsigned_int",0},
13537 { "_time_t","_int",0},
13538 { "_time_t","_wxWindowID",0},
13539 { "_time_t","_uint",0},
13540 { "_time_t","_size_t",0},
b1462dfa
RD
13541 { "_wxCoord","_int",0},
13542 { "_wxCoord","_signed_int",0},
13543 { "_wxCoord","_unsigned_int",0},
13544 { "_wxCoord","_wxWindowID",0},
13545 { "_wxCoord","_uint",0},
13546 { "_wxCoord","_EBool",0},
13547 { "_wxCoord","_size_t",0},
c368d904 13548 { "_wxCoord","_time_t",0},
b1462dfa 13549 { "_wxCoord","_wxPrintQuality",0},
1d99702e
RD
13550{0,0,0}};
13551
8ab979d7
RD
13552static PyObject *SWIG_globals;
13553#ifdef __cplusplus
13554extern "C"
13555#endif
1d99702e 13556SWIGEXPORT(void) initgdic() {
8ab979d7
RD
13557 PyObject *m, *d;
13558 SWIG_globals = SWIG_newvarlink();
13559 m = Py_InitModule("gdic", gdicMethods);
13560 d = PyModule_GetDict(m);
6d8b4f8d
RD
13561 PyDict_SetItemString(d,"wxFONTFAMILY_DEFAULT", PyInt_FromLong((long) wxFONTFAMILY_DEFAULT));
13562 PyDict_SetItemString(d,"wxFONTFAMILY_DECORATIVE", PyInt_FromLong((long) wxFONTFAMILY_DECORATIVE));
13563 PyDict_SetItemString(d,"wxFONTFAMILY_ROMAN", PyInt_FromLong((long) wxFONTFAMILY_ROMAN));
13564 PyDict_SetItemString(d,"wxFONTFAMILY_SCRIPT", PyInt_FromLong((long) wxFONTFAMILY_SCRIPT));
13565 PyDict_SetItemString(d,"wxFONTFAMILY_SWISS", PyInt_FromLong((long) wxFONTFAMILY_SWISS));
13566 PyDict_SetItemString(d,"wxFONTFAMILY_MODERN", PyInt_FromLong((long) wxFONTFAMILY_MODERN));
13567 PyDict_SetItemString(d,"wxFONTFAMILY_TELETYPE", PyInt_FromLong((long) wxFONTFAMILY_TELETYPE));
13568 PyDict_SetItemString(d,"wxFONTFAMILY_MAX", PyInt_FromLong((long) wxFONTFAMILY_MAX));
ce914f73 13569 PyDict_SetItemString(d,"wxFONTFAMILY_UNKNOWN", PyInt_FromLong((long) wxFONTFAMILY_UNKNOWN));
6d8b4f8d
RD
13570 PyDict_SetItemString(d,"wxFONTSTYLE_NORMAL", PyInt_FromLong((long) wxFONTSTYLE_NORMAL));
13571 PyDict_SetItemString(d,"wxFONTSTYLE_ITALIC", PyInt_FromLong((long) wxFONTSTYLE_ITALIC));
13572 PyDict_SetItemString(d,"wxFONTSTYLE_SLANT", PyInt_FromLong((long) wxFONTSTYLE_SLANT));
13573 PyDict_SetItemString(d,"wxFONTSTYLE_MAX", PyInt_FromLong((long) wxFONTSTYLE_MAX));
13574 PyDict_SetItemString(d,"wxFONTWEIGHT_NORMAL", PyInt_FromLong((long) wxFONTWEIGHT_NORMAL));
13575 PyDict_SetItemString(d,"wxFONTWEIGHT_LIGHT", PyInt_FromLong((long) wxFONTWEIGHT_LIGHT));
13576 PyDict_SetItemString(d,"wxFONTWEIGHT_BOLD", PyInt_FromLong((long) wxFONTWEIGHT_BOLD));
13577 PyDict_SetItemString(d,"wxFONTWEIGHT_MAX", PyInt_FromLong((long) wxFONTWEIGHT_MAX));
f0261a72
RD
13578 PyDict_SetItemString(d,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM));
13579 PyDict_SetItemString(d,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT));
13580 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1));
13581 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2));
13582 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3));
13583 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4));
13584 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5));
13585 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6));
13586 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7));
13587 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8));
13588 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9));
13589 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10));
13590 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11));
13591 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12));
13592 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13));
13593 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14));
13594 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15));
6d8b4f8d 13595 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_MAX", PyInt_FromLong((long) wxFONTENCODING_ISO8859_MAX));
f0261a72
RD
13596 PyDict_SetItemString(d,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8));
13597 PyDict_SetItemString(d,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE));
13598 PyDict_SetItemString(d,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN));
13599 PyDict_SetItemString(d,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437));
13600 PyDict_SetItemString(d,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850));
13601 PyDict_SetItemString(d,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852));
13602 PyDict_SetItemString(d,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855));
13603 PyDict_SetItemString(d,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866));
6d8b4f8d 13604 PyDict_SetItemString(d,"wxFONTENCODING_CP874", PyInt_FromLong((long) wxFONTENCODING_CP874));
98624b49
RD
13605 PyDict_SetItemString(d,"wxFONTENCODING_CP932", PyInt_FromLong((long) wxFONTENCODING_CP932));
13606 PyDict_SetItemString(d,"wxFONTENCODING_CP936", PyInt_FromLong((long) wxFONTENCODING_CP936));
13607 PyDict_SetItemString(d,"wxFONTENCODING_CP949", PyInt_FromLong((long) wxFONTENCODING_CP949));
13608 PyDict_SetItemString(d,"wxFONTENCODING_CP950", PyInt_FromLong((long) wxFONTENCODING_CP950));
f0261a72
RD
13609 PyDict_SetItemString(d,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250));
13610 PyDict_SetItemString(d,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251));
13611 PyDict_SetItemString(d,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252));
6d8b4f8d
RD
13612 PyDict_SetItemString(d,"wxFONTENCODING_CP1253", PyInt_FromLong((long) wxFONTENCODING_CP1253));
13613 PyDict_SetItemString(d,"wxFONTENCODING_CP1254", PyInt_FromLong((long) wxFONTENCODING_CP1254));
13614 PyDict_SetItemString(d,"wxFONTENCODING_CP1255", PyInt_FromLong((long) wxFONTENCODING_CP1255));
13615 PyDict_SetItemString(d,"wxFONTENCODING_CP1256", PyInt_FromLong((long) wxFONTENCODING_CP1256));
13616 PyDict_SetItemString(d,"wxFONTENCODING_CP1257", PyInt_FromLong((long) wxFONTENCODING_CP1257));
13617 PyDict_SetItemString(d,"wxFONTENCODING_CP12_MAX", PyInt_FromLong((long) wxFONTENCODING_CP12_MAX));
13618 PyDict_SetItemString(d,"wxFONTENCODING_UTF7", PyInt_FromLong((long) wxFONTENCODING_UTF7));
13619 PyDict_SetItemString(d,"wxFONTENCODING_UTF8", PyInt_FromLong((long) wxFONTENCODING_UTF8));
13620 PyDict_SetItemString(d,"wxFONTENCODING_UNICODE", PyInt_FromLong((long) wxFONTENCODING_UNICODE));
f0261a72 13621 PyDict_SetItemString(d,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX));
c5943253
RD
13622 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL));
13623 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT));
13624 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED));
13625 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED));
13626 PyDict_SetItemString(d,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL));
13627 PyDict_SetItemString(d,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL));
13628 PyDict_SetItemString(d,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE));
13629 PyDict_SetItemString(d,"wxOutRegion", PyInt_FromLong((long) wxOutRegion));
13630 PyDict_SetItemString(d,"wxPartRegion", PyInt_FromLong((long) wxPartRegion));
13631 PyDict_SetItemString(d,"wxInRegion", PyInt_FromLong((long) wxInRegion));
8ab979d7
RD
13632 PyDict_SetItemString(d,"cvar", SWIG_globals);
13633 SWIG_addvarlink(SWIG_globals,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get, _wrap_wxNORMAL_FONT_set);
13634 SWIG_addvarlink(SWIG_globals,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get, _wrap_wxSMALL_FONT_set);
13635 SWIG_addvarlink(SWIG_globals,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get, _wrap_wxITALIC_FONT_set);
13636 SWIG_addvarlink(SWIG_globals,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get, _wrap_wxSWISS_FONT_set);
13637 SWIG_addvarlink(SWIG_globals,"wxRED_PEN",_wrap_wxRED_PEN_get, _wrap_wxRED_PEN_set);
13638 SWIG_addvarlink(SWIG_globals,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get, _wrap_wxCYAN_PEN_set);
13639 SWIG_addvarlink(SWIG_globals,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get, _wrap_wxGREEN_PEN_set);
13640 SWIG_addvarlink(SWIG_globals,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get, _wrap_wxBLACK_PEN_set);
13641 SWIG_addvarlink(SWIG_globals,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get, _wrap_wxWHITE_PEN_set);
13642 SWIG_addvarlink(SWIG_globals,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get, _wrap_wxTRANSPARENT_PEN_set);
13643 SWIG_addvarlink(SWIG_globals,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get, _wrap_wxBLACK_DASHED_PEN_set);
13644 SWIG_addvarlink(SWIG_globals,"wxGREY_PEN",_wrap_wxGREY_PEN_get, _wrap_wxGREY_PEN_set);
13645 SWIG_addvarlink(SWIG_globals,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get, _wrap_wxMEDIUM_GREY_PEN_set);
13646 SWIG_addvarlink(SWIG_globals,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get, _wrap_wxLIGHT_GREY_PEN_set);
13647 SWIG_addvarlink(SWIG_globals,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get, _wrap_wxBLUE_BRUSH_set);
13648 SWIG_addvarlink(SWIG_globals,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get, _wrap_wxGREEN_BRUSH_set);
13649 SWIG_addvarlink(SWIG_globals,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get, _wrap_wxWHITE_BRUSH_set);
13650 SWIG_addvarlink(SWIG_globals,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get, _wrap_wxBLACK_BRUSH_set);
13651 SWIG_addvarlink(SWIG_globals,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get, _wrap_wxTRANSPARENT_BRUSH_set);
13652 SWIG_addvarlink(SWIG_globals,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get, _wrap_wxCYAN_BRUSH_set);
13653 SWIG_addvarlink(SWIG_globals,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get, _wrap_wxRED_BRUSH_set);
13654 SWIG_addvarlink(SWIG_globals,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get, _wrap_wxGREY_BRUSH_set);
13655 SWIG_addvarlink(SWIG_globals,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get, _wrap_wxMEDIUM_GREY_BRUSH_set);
13656 SWIG_addvarlink(SWIG_globals,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get, _wrap_wxLIGHT_GREY_BRUSH_set);
13657 SWIG_addvarlink(SWIG_globals,"wxBLACK",_wrap_wxBLACK_get, _wrap_wxBLACK_set);
13658 SWIG_addvarlink(SWIG_globals,"wxWHITE",_wrap_wxWHITE_get, _wrap_wxWHITE_set);
13659 SWIG_addvarlink(SWIG_globals,"wxRED",_wrap_wxRED_get, _wrap_wxRED_set);
13660 SWIG_addvarlink(SWIG_globals,"wxBLUE",_wrap_wxBLUE_get, _wrap_wxBLUE_set);
13661 SWIG_addvarlink(SWIG_globals,"wxGREEN",_wrap_wxGREEN_get, _wrap_wxGREEN_set);
13662 SWIG_addvarlink(SWIG_globals,"wxCYAN",_wrap_wxCYAN_get, _wrap_wxCYAN_set);
13663 SWIG_addvarlink(SWIG_globals,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get, _wrap_wxLIGHT_GREY_set);
13664 SWIG_addvarlink(SWIG_globals,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get, _wrap_wxSTANDARD_CURSOR_set);
13665 SWIG_addvarlink(SWIG_globals,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get, _wrap_wxHOURGLASS_CURSOR_set);
13666 SWIG_addvarlink(SWIG_globals,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get, _wrap_wxCROSS_CURSOR_set);
13667 SWIG_addvarlink(SWIG_globals,"wxNullBitmap",_wrap_wxNullBitmap_get, _wrap_wxNullBitmap_set);
13668 SWIG_addvarlink(SWIG_globals,"wxNullIcon",_wrap_wxNullIcon_get, _wrap_wxNullIcon_set);
13669 SWIG_addvarlink(SWIG_globals,"wxNullCursor",_wrap_wxNullCursor_get, _wrap_wxNullCursor_set);
13670 SWIG_addvarlink(SWIG_globals,"wxNullPen",_wrap_wxNullPen_get, _wrap_wxNullPen_set);
13671 SWIG_addvarlink(SWIG_globals,"wxNullBrush",_wrap_wxNullBrush_get, _wrap_wxNullBrush_set);
13672 SWIG_addvarlink(SWIG_globals,"wxNullPalette",_wrap_wxNullPalette_get, _wrap_wxNullPalette_set);
13673 SWIG_addvarlink(SWIG_globals,"wxNullFont",_wrap_wxNullFont_get, _wrap_wxNullFont_set);
13674 SWIG_addvarlink(SWIG_globals,"wxNullColour",_wrap_wxNullColour_get, _wrap_wxNullColour_set);
0569df0f
RD
13675 SWIG_addvarlink(SWIG_globals,"wxTheFontList",_wrap_wxTheFontList_get, _wrap_wxTheFontList_set);
13676 SWIG_addvarlink(SWIG_globals,"wxThePenList",_wrap_wxThePenList_get, _wrap_wxThePenList_set);
13677 SWIG_addvarlink(SWIG_globals,"wxTheBrushList",_wrap_wxTheBrushList_get, _wrap_wxTheBrushList_set);
13678 SWIG_addvarlink(SWIG_globals,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get, _wrap_wxTheColourDatabase_set);
1d99702e
RD
13679{
13680 int i;
13681 for (i = 0; _swig_mapping[i].n1; i++)
13682 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
13683}
8ab979d7 13684}