]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/gdi.cpp
minor additions to wxCmdLineParser tests
[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"
59#include <wx/metafile.h>
af309447 60#include <wx/imaglist.h>
be4d9c1f 61#ifndef __WXMSW__
08127323 62#include <wx/dcps.h>
be4d9c1f 63#endif
6d8b4f8d
RD
64#include <wx/fontmap.h>
65#include <wx/fontenc.h>
66#include <wx/fontmap.h>
67#include <wx/fontutil.h>
8ab979d7 68
8ab979d7
RD
69
70static PyObject* t_output_helper(PyObject* target, PyObject* o) {
71 PyObject* o2;
72 PyObject* o3;
73
f3d9dc1d 74 if (!target) {
8ab979d7 75 target = o;
f3d9dc1d 76 } else if (target == Py_None) {
8ab979d7
RD
77 Py_DECREF(Py_None);
78 target = o;
f3d9dc1d 79 } else {
8ab979d7
RD
80 if (!PyTuple_Check(target)) {
81 o2 = target;
82 target = PyTuple_New(1);
83 PyTuple_SetItem(target, 0, o2);
84 }
f3d9dc1d
RD
85 o3 = PyTuple_New(1);
86 PyTuple_SetItem(o3, 0, o);
8ab979d7
RD
87
88 o2 = target;
f3d9dc1d
RD
89 target = PySequence_Concat(o2, o3);
90 Py_DECREF(o2);
8ab979d7
RD
91 Py_DECREF(o3);
92 }
93 return target;
94}
95
794c5cb1
RD
96#if PYTHON_API_VERSION >= 1009
97 static char* wxStringErrorMsg = "String or Unicode type required";
98#else
99 static char* wxStringErrorMsg = "string type is required for parameter";
100#endif
e508a2b6
RD
101
102 static wxString wxPyEmptyStr("");
96bfd053
RD
103 // Implementations of some alternate "constructors"
104
8ab979d7
RD
105 wxBitmap* wxEmptyBitmap(int width, int height, int depth=-1) {
106 return new wxBitmap(width, height, depth);
107 }
108
96bfd053
RD
109 static char** ConvertListOfStrings(PyObject* listOfStrings) {
110 char** cArray = NULL;
111 int count;
112
113 if (!PyList_Check(listOfStrings)) {
114 PyErr_SetString(PyExc_TypeError, "Expected a list of strings.");
115 return NULL;
116 }
117 count = PyList_Size(listOfStrings);
118 cArray = new char*[count];
119
120 for(int x=0; x<count; x++) {
121 // TODO: Need some validation and error checking here
122 cArray[x] = PyString_AsString(PyList_GET_ITEM(listOfStrings, x));
123 }
124 return cArray;
125 }
126
d56cebe7 127
96bfd053
RD
128 wxBitmap* wxBitmapFromXPMData(PyObject* listOfStrings) {
129 char** cArray = NULL;
130 wxBitmap* bmp;
131
132 cArray = ConvertListOfStrings(listOfStrings);
133 if (! cArray)
134 return NULL;
135 bmp = new wxBitmap(cArray);
136 delete [] cArray;
137 return bmp;
138 }
139
140
141 wxBitmap* wxBitmapFromIcon(const wxIcon& icon) {
142 return new wxBitmap(icon);
143 }
144
145
d56cebe7
RD
146 wxBitmap* wxBitmapFromBits(char* bits, int width, int height, int depth = 1 ) {
147 return new wxBitmap(bits, width, height, depth);
148 }
926bb76c 149
4c9993c3 150
d56cebe7
RD
151// #ifdef __WXMSW__
152// wxBitmap* wxBitmapFromData(PyObject* data, long type,
153// int width, int height, int depth = 1) {
154// if (! PyString_Check(data)) {
155// PyErr_SetString(PyExc_TypeError, "Expected string object");
156// return NULL;
157// }
158// return new wxBitmap((void*)PyString_AsString(data), type, width, height, depth);
159// }
160// #endif
8bf5d46e 161
8ab979d7
RD
162 wxMask* wxMaskColour(const wxBitmap& bitmap, const wxColour& colour) {
163 return new wxMask(bitmap, colour);
96bfd053
RD
164 }
165 // Implementations of some alternate "constructors"
166 wxIcon* wxEmptyIcon() {
167 return new wxIcon();
168 }
169
170 wxIcon* wxIconFromXPMData(PyObject* listOfStrings) {
171 char** cArray = NULL;
172 wxIcon* icon;
173
174 cArray = ConvertListOfStrings(listOfStrings);
175 if (! cArray)
176 return NULL;
177 icon = new wxIcon(cArray);
178 delete [] cArray;
179 return icon;
8ab979d7
RD
180 }
181 // Alternate 'constructor'
9c039d08 182 wxCursor* wxPyStockCursor(int id) {
8ab979d7
RD
183 return new wxCursor(id);
184 }
185 // Alternate 'constructor'
186 wxColour* wxNamedColour(const wxString& colorName) {
187 return new wxColour(colorName);
188 }
ecc08ead
RD
189
190class wxPyPen : public wxPen {
191public:
192 wxPyPen(wxColour& colour, int width=1, int style=wxSOLID)
193 : wxPen(colour, width, style)
194 { m_dash = NULL; }
195 ~wxPyPen() {
196 if (m_dash)
197 delete m_dash;
198 }
199
200 void SetDashes(int nb_dashes, const wxDash *dash) {
201 m_dash = new wxDash[nb_dashes];
202 for (int i=0; i<nb_dashes; i++)
203 m_dash[i] = dash[i];
204 wxPen::SetDashes(nb_dashes, m_dash);
205 }
206
207private:
208 wxDash* m_dash;
209};
8ab979d7
RD
210 // Alternate 'constructor'
211 wxMemoryDC* wxMemoryDCFromDC(wxDC* oldDC) {
212 return new wxMemoryDC(oldDC);
213 }
af309447
RD
214
215#if 0
8ab979d7
RD
216extern wxFont * wxNORMAL_FONT;
217extern wxFont * wxSMALL_FONT;
218extern wxFont * wxITALIC_FONT;
219extern wxFont * wxSWISS_FONT;
220extern wxPen * wxRED_PEN;
221extern wxPen * wxCYAN_PEN;
222extern wxPen * wxGREEN_PEN;
223extern wxPen * wxBLACK_PEN;
224extern wxPen * wxWHITE_PEN;
225extern wxPen * wxTRANSPARENT_PEN;
226extern wxPen * wxBLACK_DASHED_PEN;
227extern wxPen * wxGREY_PEN;
228extern wxPen * wxMEDIUM_GREY_PEN;
229extern wxPen * wxLIGHT_GREY_PEN;
230extern wxBrush * wxBLUE_BRUSH;
231extern wxBrush * wxGREEN_BRUSH;
232extern wxBrush * wxWHITE_BRUSH;
233extern wxBrush * wxBLACK_BRUSH;
234extern wxBrush * wxTRANSPARENT_BRUSH;
235extern wxBrush * wxCYAN_BRUSH;
236extern wxBrush * wxRED_BRUSH;
237extern wxBrush * wxGREY_BRUSH;
238extern wxBrush * wxMEDIUM_GREY_BRUSH;
239extern wxBrush * wxLIGHT_GREY_BRUSH;
240extern wxColour * wxBLACK;
241extern wxColour * wxWHITE;
242extern wxColour * wxRED;
243extern wxColour * wxBLUE;
244extern wxColour * wxGREEN;
245extern wxColour * wxCYAN;
246extern wxColour * wxLIGHT_GREY;
247extern wxCursor * wxSTANDARD_CURSOR;
248extern wxCursor * wxHOURGLASS_CURSOR;
249extern wxCursor * wxCROSS_CURSOR;
250extern wxBitmap wxNullBitmap;
251extern wxIcon wxNullIcon;
252extern wxCursor wxNullCursor;
253extern wxPen wxNullPen;
254extern wxBrush wxNullBrush;
255extern wxPalette wxNullPalette;
256extern wxFont wxNullFont;
257extern wxColour wxNullColour;
0569df0f
RD
258extern wxFontList * wxTheFontList;
259extern wxPenList * wxThePenList;
6ee2116b 260extern wxBrushList * wxTheBrushList;
0569df0f 261extern wxColourDatabase * wxTheColourDatabase;
af309447 262
1d99702e
RD
263#endif
264#ifdef __cplusplus
265extern "C" {
af309447 266#endif
1afc06c2 267static PyObject *_wrap_wxEmptyBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
268 PyObject * _resultobj;
269 wxBitmap * _result;
270 int _arg0;
271 int _arg1;
1d99702e 272 int _arg2 = (int ) -1;
1afc06c2 273 char *_kwnames[] = { "width","height","depth", NULL };
8ab979d7
RD
274 char _ptemp[128];
275
276 self = self;
1afc06c2 277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii|i:wxEmptyBitmap",_kwnames,&_arg0,&_arg1,&_arg2))
8ab979d7 278 return NULL;
cf694132
RD
279{
280 wxPy_BEGIN_ALLOW_THREADS;
281 _result = (wxBitmap *)wxEmptyBitmap(_arg0,_arg1,_arg2);
282
283 wxPy_END_ALLOW_THREADS;
493f1553 284 if (PyErr_Occurred()) return NULL;
1d99702e
RD
285} if (_result) {
286 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
287 _resultobj = Py_BuildValue("s",_ptemp);
288 } else {
289 Py_INCREF(Py_None);
290 _resultobj = Py_None;
291 }
8ab979d7
RD
292 return _resultobj;
293}
294
96bfd053
RD
295static PyObject *_wrap_wxBitmapFromXPMData(PyObject *self, PyObject *args, PyObject *kwargs) {
296 PyObject * _resultobj;
297 wxBitmap * _result;
298 PyObject * _arg0;
299 PyObject * _obj0 = 0;
300 char *_kwnames[] = { "listOfStrings", NULL };
301 char _ptemp[128];
302
303 self = self;
304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapFromXPMData",_kwnames,&_obj0))
305 return NULL;
306{
307 _arg0 = _obj0;
308}
309{
310 wxPy_BEGIN_ALLOW_THREADS;
311 _result = (wxBitmap *)wxBitmapFromXPMData(_arg0);
312
313 wxPy_END_ALLOW_THREADS;
493f1553 314 if (PyErr_Occurred()) return NULL;
96bfd053
RD
315} if (_result) {
316 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
317 _resultobj = Py_BuildValue("s",_ptemp);
318 } else {
319 Py_INCREF(Py_None);
320 _resultobj = Py_None;
321 }
322 return _resultobj;
323}
324
325static PyObject *_wrap_wxBitmapFromIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
326 PyObject * _resultobj;
327 wxBitmap * _result;
328 wxIcon * _arg0;
329 PyObject * _argo0 = 0;
330 char *_kwnames[] = { "icon", NULL };
331 char _ptemp[128];
332
333 self = self;
334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapFromIcon",_kwnames,&_argo0))
335 return NULL;
336 if (_argo0) {
337 if (_argo0 == Py_None) { _arg0 = NULL; }
338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapFromIcon. Expected _wxIcon_p.");
340 return NULL;
341 }
342 }
343{
344 wxPy_BEGIN_ALLOW_THREADS;
345 _result = (wxBitmap *)wxBitmapFromIcon(*_arg0);
346
347 wxPy_END_ALLOW_THREADS;
493f1553 348 if (PyErr_Occurred()) return NULL;
96bfd053
RD
349} if (_result) {
350 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
351 _resultobj = Py_BuildValue("s",_ptemp);
352 } else {
353 Py_INCREF(Py_None);
354 _resultobj = Py_None;
355 }
356 return _resultobj;
357}
358
d56cebe7 359static PyObject *_wrap_wxBitmapFromBits(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
360 PyObject * _resultobj;
361 wxBitmap * _result;
d56cebe7
RD
362 char * _arg0;
363 int _arg1;
8bf5d46e 364 int _arg2;
d56cebe7
RD
365 int _arg3 = (int ) 1;
366 char *_kwnames[] = { "bits","width","height","depth", NULL };
8bf5d46e
RD
367 char _ptemp[128];
368
369 self = self;
d56cebe7 370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"sii|i:wxBitmapFromBits",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
8bf5d46e
RD
371 return NULL;
372{
373 wxPy_BEGIN_ALLOW_THREADS;
d56cebe7 374 _result = (wxBitmap *)wxBitmapFromBits(_arg0,_arg1,_arg2,_arg3);
8bf5d46e
RD
375
376 wxPy_END_ALLOW_THREADS;
493f1553 377 if (PyErr_Occurred()) return NULL;
1d99702e
RD
378} if (_result) {
379 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
380 _resultobj = Py_BuildValue("s",_ptemp);
381 } else {
382 Py_INCREF(Py_None);
383 _resultobj = Py_None;
384 }
8bf5d46e
RD
385 return _resultobj;
386}
387
1afc06c2 388static PyObject *_wrap_wxMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
389 PyObject * _resultobj;
390 wxMask * _result;
391 wxBitmap * _arg0;
392 wxColour * _arg1;
1d99702e 393 PyObject * _argo0 = 0;
f6bcfd97
BP
394 wxColour temp;
395 PyObject * _obj1 = 0;
1afc06c2 396 char *_kwnames[] = { "bitmap","colour", NULL };
8ab979d7
RD
397 char _ptemp[128];
398
399 self = self;
f6bcfd97 400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMaskColour",_kwnames,&_argo0,&_obj1))
8ab979d7 401 return NULL;
1d99702e
RD
402 if (_argo0) {
403 if (_argo0 == Py_None) { _arg0 = NULL; }
404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
8ab979d7
RD
405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
406 return NULL;
407 }
408 }
f6bcfd97
BP
409{
410 _arg1 = &temp;
411 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 412 return NULL;
f6bcfd97 413}
cf694132
RD
414{
415 wxPy_BEGIN_ALLOW_THREADS;
416 _result = (wxMask *)wxMaskColour(*_arg0,*_arg1);
417
418 wxPy_END_ALLOW_THREADS;
493f1553 419 if (PyErr_Occurred()) return NULL;
1d99702e
RD
420} if (_result) {
421 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
422 _resultobj = Py_BuildValue("s",_ptemp);
423 } else {
424 Py_INCREF(Py_None);
425 _resultobj = Py_None;
426 }
8ab979d7
RD
427 return _resultobj;
428}
429
96bfd053
RD
430static PyObject *_wrap_wxEmptyIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
431 PyObject * _resultobj;
432 wxIcon * _result;
433 char *_kwnames[] = { NULL };
434 char _ptemp[128];
435
436 self = self;
437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxEmptyIcon",_kwnames))
438 return NULL;
439{
440 wxPy_BEGIN_ALLOW_THREADS;
441 _result = (wxIcon *)wxEmptyIcon();
442
443 wxPy_END_ALLOW_THREADS;
493f1553 444 if (PyErr_Occurred()) return NULL;
96bfd053
RD
445} if (_result) {
446 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
447 _resultobj = Py_BuildValue("s",_ptemp);
448 } else {
449 Py_INCREF(Py_None);
450 _resultobj = Py_None;
451 }
452 return _resultobj;
453}
454
455static PyObject *_wrap_wxIconFromXPMData(PyObject *self, PyObject *args, PyObject *kwargs) {
456 PyObject * _resultobj;
457 wxIcon * _result;
458 PyObject * _arg0;
459 PyObject * _obj0 = 0;
460 char *_kwnames[] = { "listOfStrings", NULL };
461 char _ptemp[128];
462
463 self = self;
464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIconFromXPMData",_kwnames,&_obj0))
465 return NULL;
466{
467 _arg0 = _obj0;
468}
469{
470 wxPy_BEGIN_ALLOW_THREADS;
471 _result = (wxIcon *)wxIconFromXPMData(_arg0);
472
473 wxPy_END_ALLOW_THREADS;
493f1553 474 if (PyErr_Occurred()) return NULL;
96bfd053
RD
475} if (_result) {
476 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
477 _resultobj = Py_BuildValue("s",_ptemp);
478 } else {
479 Py_INCREF(Py_None);
480 _resultobj = Py_None;
481 }
482 return _resultobj;
483}
484
1afc06c2 485static PyObject *_wrap_wxStockCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
486 PyObject * _resultobj;
487 wxCursor * _result;
488 int _arg0;
1afc06c2 489 char *_kwnames[] = { "id", NULL };
8ab979d7
RD
490 char _ptemp[128];
491
492 self = self;
1afc06c2 493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxStockCursor",_kwnames,&_arg0))
8ab979d7 494 return NULL;
cf694132
RD
495{
496 wxPy_BEGIN_ALLOW_THREADS;
497 _result = (wxCursor *)wxPyStockCursor(_arg0);
498
499 wxPy_END_ALLOW_THREADS;
493f1553 500 if (PyErr_Occurred()) return NULL;
1d99702e
RD
501} if (_result) {
502 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCursor_p");
503 _resultobj = Py_BuildValue("s",_ptemp);
504 } else {
505 Py_INCREF(Py_None);
506 _resultobj = Py_None;
507 }
8ab979d7
RD
508 return _resultobj;
509}
510
1afc06c2 511static PyObject *_wrap_wxNamedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
512 PyObject * _resultobj;
513 wxColour * _result;
514 wxString * _arg0;
515 PyObject * _obj0 = 0;
1afc06c2 516 char *_kwnames[] = { "colorName", NULL };
8ab979d7
RD
517 char _ptemp[128];
518
519 self = self;
1afc06c2 520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNamedColour",_kwnames,&_obj0))
8ab979d7
RD
521 return NULL;
522{
185d7c3e
RD
523#if PYTHON_API_VERSION >= 1009
524 char* tmpPtr; int tmpSize;
525 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
794c5cb1 526 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
527 return NULL;
528 }
529 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
530 return NULL;
531 _arg0 = new wxString(tmpPtr, tmpSize);
532#else
8ab979d7
RD
533 if (!PyString_Check(_obj0)) {
534 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
535 return NULL;
536 }
185d7c3e
RD
537 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
538#endif
8ab979d7 539}
cf694132
RD
540{
541 wxPy_BEGIN_ALLOW_THREADS;
542 _result = (wxColour *)wxNamedColour(*_arg0);
543
544 wxPy_END_ALLOW_THREADS;
493f1553 545 if (PyErr_Occurred()) return NULL;
1d99702e
RD
546} if (_result) {
547 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
548 _resultobj = Py_BuildValue("s",_ptemp);
549 } else {
550 Py_INCREF(Py_None);
551 _resultobj = Py_None;
552 }
8ab979d7
RD
553{
554 if (_obj0)
555 delete _arg0;
556}
557 return _resultobj;
558}
559
1afc06c2 560static PyObject *_wrap_wxMemoryDCFromDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
561 PyObject * _resultobj;
562 wxMemoryDC * _result;
563 wxDC * _arg0;
1d99702e 564 PyObject * _argo0 = 0;
1afc06c2 565 char *_kwnames[] = { "oldDC", NULL };
8ab979d7
RD
566 char _ptemp[128];
567
568 self = self;
1afc06c2 569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMemoryDCFromDC",_kwnames,&_argo0))
8ab979d7 570 return NULL;
1d99702e
RD
571 if (_argo0) {
572 if (_argo0 == Py_None) { _arg0 = NULL; }
573 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
574 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
575 return NULL;
576 }
577 }
cf694132
RD
578{
579 wxPy_BEGIN_ALLOW_THREADS;
580 _result = (wxMemoryDC *)wxMemoryDCFromDC(_arg0);
581
582 wxPy_END_ALLOW_THREADS;
493f1553 583 if (PyErr_Occurred()) return NULL;
1d99702e
RD
584} if (_result) {
585 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMemoryDC_p");
586 _resultobj = Py_BuildValue("s",_ptemp);
587 } else {
588 Py_INCREF(Py_None);
589 _resultobj = Py_None;
590 }
8ab979d7
RD
591 return _resultobj;
592}
593
594static int _wrap_wxNORMAL_FONT_set(PyObject *val) {
595
596 PyErr_SetString(PyExc_TypeError,"Variable wxNORMAL_FONT is read-only.");
597 return 1;
598}
599
600static PyObject *_wrap_wxNORMAL_FONT_get() {
601 PyObject * pyobj;
602 char ptemp[128];
603
604 SWIG_MakePtr(ptemp, (char *) wxNORMAL_FONT,"_wxFont_p");
605 pyobj = PyString_FromString(ptemp);
606 return pyobj;
607}
608
609static int _wrap_wxSMALL_FONT_set(PyObject *val) {
610
611 PyErr_SetString(PyExc_TypeError,"Variable wxSMALL_FONT is read-only.");
612 return 1;
613}
614
615static PyObject *_wrap_wxSMALL_FONT_get() {
616 PyObject * pyobj;
617 char ptemp[128];
618
619 SWIG_MakePtr(ptemp, (char *) wxSMALL_FONT,"_wxFont_p");
620 pyobj = PyString_FromString(ptemp);
621 return pyobj;
622}
623
624static int _wrap_wxITALIC_FONT_set(PyObject *val) {
625
626 PyErr_SetString(PyExc_TypeError,"Variable wxITALIC_FONT is read-only.");
627 return 1;
628}
629
630static PyObject *_wrap_wxITALIC_FONT_get() {
631 PyObject * pyobj;
632 char ptemp[128];
633
634 SWIG_MakePtr(ptemp, (char *) wxITALIC_FONT,"_wxFont_p");
635 pyobj = PyString_FromString(ptemp);
636 return pyobj;
637}
638
639static int _wrap_wxSWISS_FONT_set(PyObject *val) {
640
641 PyErr_SetString(PyExc_TypeError,"Variable wxSWISS_FONT is read-only.");
642 return 1;
643}
644
645static PyObject *_wrap_wxSWISS_FONT_get() {
646 PyObject * pyobj;
647 char ptemp[128];
648
649 SWIG_MakePtr(ptemp, (char *) wxSWISS_FONT,"_wxFont_p");
650 pyobj = PyString_FromString(ptemp);
651 return pyobj;
652}
653
654static int _wrap_wxRED_PEN_set(PyObject *val) {
655
656 PyErr_SetString(PyExc_TypeError,"Variable wxRED_PEN is read-only.");
657 return 1;
658}
659
660static PyObject *_wrap_wxRED_PEN_get() {
661 PyObject * pyobj;
662 char ptemp[128];
663
664 SWIG_MakePtr(ptemp, (char *) wxRED_PEN,"_wxPen_p");
665 pyobj = PyString_FromString(ptemp);
666 return pyobj;
667}
668
669static int _wrap_wxCYAN_PEN_set(PyObject *val) {
670
671 PyErr_SetString(PyExc_TypeError,"Variable wxCYAN_PEN is read-only.");
672 return 1;
673}
674
675static PyObject *_wrap_wxCYAN_PEN_get() {
676 PyObject * pyobj;
677 char ptemp[128];
678
679 SWIG_MakePtr(ptemp, (char *) wxCYAN_PEN,"_wxPen_p");
680 pyobj = PyString_FromString(ptemp);
681 return pyobj;
682}
683
684static int _wrap_wxGREEN_PEN_set(PyObject *val) {
685
686 PyErr_SetString(PyExc_TypeError,"Variable wxGREEN_PEN is read-only.");
687 return 1;
688}
689
690static PyObject *_wrap_wxGREEN_PEN_get() {
691 PyObject * pyobj;
692 char ptemp[128];
693
694 SWIG_MakePtr(ptemp, (char *) wxGREEN_PEN,"_wxPen_p");
695 pyobj = PyString_FromString(ptemp);
696 return pyobj;
697}
698
699static int _wrap_wxBLACK_PEN_set(PyObject *val) {
700
701 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK_PEN is read-only.");
702 return 1;
703}
704
705static PyObject *_wrap_wxBLACK_PEN_get() {
706 PyObject * pyobj;
707 char ptemp[128];
708
709 SWIG_MakePtr(ptemp, (char *) wxBLACK_PEN,"_wxPen_p");
710 pyobj = PyString_FromString(ptemp);
711 return pyobj;
712}
713
714static int _wrap_wxWHITE_PEN_set(PyObject *val) {
715
716 PyErr_SetString(PyExc_TypeError,"Variable wxWHITE_PEN is read-only.");
717 return 1;
718}
719
720static PyObject *_wrap_wxWHITE_PEN_get() {
721 PyObject * pyobj;
722 char ptemp[128];
723
724 SWIG_MakePtr(ptemp, (char *) wxWHITE_PEN,"_wxPen_p");
725 pyobj = PyString_FromString(ptemp);
726 return pyobj;
727}
728
729static int _wrap_wxTRANSPARENT_PEN_set(PyObject *val) {
730
731 PyErr_SetString(PyExc_TypeError,"Variable wxTRANSPARENT_PEN is read-only.");
732 return 1;
733}
734
735static PyObject *_wrap_wxTRANSPARENT_PEN_get() {
736 PyObject * pyobj;
737 char ptemp[128];
738
739 SWIG_MakePtr(ptemp, (char *) wxTRANSPARENT_PEN,"_wxPen_p");
740 pyobj = PyString_FromString(ptemp);
741 return pyobj;
742}
743
744static int _wrap_wxBLACK_DASHED_PEN_set(PyObject *val) {
745
746 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK_DASHED_PEN is read-only.");
747 return 1;
748}
749
750static PyObject *_wrap_wxBLACK_DASHED_PEN_get() {
751 PyObject * pyobj;
752 char ptemp[128];
753
754 SWIG_MakePtr(ptemp, (char *) wxBLACK_DASHED_PEN,"_wxPen_p");
755 pyobj = PyString_FromString(ptemp);
756 return pyobj;
757}
758
759static int _wrap_wxGREY_PEN_set(PyObject *val) {
760
761 PyErr_SetString(PyExc_TypeError,"Variable wxGREY_PEN is read-only.");
762 return 1;
763}
764
765static PyObject *_wrap_wxGREY_PEN_get() {
766 PyObject * pyobj;
767 char ptemp[128];
768
769 SWIG_MakePtr(ptemp, (char *) wxGREY_PEN,"_wxPen_p");
770 pyobj = PyString_FromString(ptemp);
771 return pyobj;
772}
773
774static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject *val) {
775
776 PyErr_SetString(PyExc_TypeError,"Variable wxMEDIUM_GREY_PEN is read-only.");
777 return 1;
778}
779
780static PyObject *_wrap_wxMEDIUM_GREY_PEN_get() {
781 PyObject * pyobj;
782 char ptemp[128];
783
784 SWIG_MakePtr(ptemp, (char *) wxMEDIUM_GREY_PEN,"_wxPen_p");
785 pyobj = PyString_FromString(ptemp);
786 return pyobj;
787}
788
789static int _wrap_wxLIGHT_GREY_PEN_set(PyObject *val) {
790
791 PyErr_SetString(PyExc_TypeError,"Variable wxLIGHT_GREY_PEN is read-only.");
792 return 1;
793}
794
795static PyObject *_wrap_wxLIGHT_GREY_PEN_get() {
796 PyObject * pyobj;
797 char ptemp[128];
798
799 SWIG_MakePtr(ptemp, (char *) wxLIGHT_GREY_PEN,"_wxPen_p");
800 pyobj = PyString_FromString(ptemp);
801 return pyobj;
802}
803
804static int _wrap_wxBLUE_BRUSH_set(PyObject *val) {
805
806 PyErr_SetString(PyExc_TypeError,"Variable wxBLUE_BRUSH is read-only.");
807 return 1;
808}
809
810static PyObject *_wrap_wxBLUE_BRUSH_get() {
811 PyObject * pyobj;
812 char ptemp[128];
813
814 SWIG_MakePtr(ptemp, (char *) wxBLUE_BRUSH,"_wxBrush_p");
815 pyobj = PyString_FromString(ptemp);
816 return pyobj;
817}
818
819static int _wrap_wxGREEN_BRUSH_set(PyObject *val) {
820
821 PyErr_SetString(PyExc_TypeError,"Variable wxGREEN_BRUSH is read-only.");
822 return 1;
823}
824
825static PyObject *_wrap_wxGREEN_BRUSH_get() {
826 PyObject * pyobj;
827 char ptemp[128];
828
829 SWIG_MakePtr(ptemp, (char *) wxGREEN_BRUSH,"_wxBrush_p");
830 pyobj = PyString_FromString(ptemp);
831 return pyobj;
832}
833
834static int _wrap_wxWHITE_BRUSH_set(PyObject *val) {
835
836 PyErr_SetString(PyExc_TypeError,"Variable wxWHITE_BRUSH is read-only.");
837 return 1;
838}
839
840static PyObject *_wrap_wxWHITE_BRUSH_get() {
841 PyObject * pyobj;
842 char ptemp[128];
843
844 SWIG_MakePtr(ptemp, (char *) wxWHITE_BRUSH,"_wxBrush_p");
845 pyobj = PyString_FromString(ptemp);
846 return pyobj;
847}
848
849static int _wrap_wxBLACK_BRUSH_set(PyObject *val) {
850
851 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK_BRUSH is read-only.");
852 return 1;
853}
854
855static PyObject *_wrap_wxBLACK_BRUSH_get() {
856 PyObject * pyobj;
857 char ptemp[128];
858
859 SWIG_MakePtr(ptemp, (char *) wxBLACK_BRUSH,"_wxBrush_p");
860 pyobj = PyString_FromString(ptemp);
861 return pyobj;
862}
863
864static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject *val) {
865
866 PyErr_SetString(PyExc_TypeError,"Variable wxTRANSPARENT_BRUSH is read-only.");
867 return 1;
868}
869
870static PyObject *_wrap_wxTRANSPARENT_BRUSH_get() {
871 PyObject * pyobj;
872 char ptemp[128];
873
874 SWIG_MakePtr(ptemp, (char *) wxTRANSPARENT_BRUSH,"_wxBrush_p");
875 pyobj = PyString_FromString(ptemp);
876 return pyobj;
877}
878
879static int _wrap_wxCYAN_BRUSH_set(PyObject *val) {
880
881 PyErr_SetString(PyExc_TypeError,"Variable wxCYAN_BRUSH is read-only.");
882 return 1;
883}
884
885static PyObject *_wrap_wxCYAN_BRUSH_get() {
886 PyObject * pyobj;
887 char ptemp[128];
888
889 SWIG_MakePtr(ptemp, (char *) wxCYAN_BRUSH,"_wxBrush_p");
890 pyobj = PyString_FromString(ptemp);
891 return pyobj;
892}
893
894static int _wrap_wxRED_BRUSH_set(PyObject *val) {
895
896 PyErr_SetString(PyExc_TypeError,"Variable wxRED_BRUSH is read-only.");
897 return 1;
898}
899
900static PyObject *_wrap_wxRED_BRUSH_get() {
901 PyObject * pyobj;
902 char ptemp[128];
903
904 SWIG_MakePtr(ptemp, (char *) wxRED_BRUSH,"_wxBrush_p");
905 pyobj = PyString_FromString(ptemp);
906 return pyobj;
907}
908
909static int _wrap_wxGREY_BRUSH_set(PyObject *val) {
910
911 PyErr_SetString(PyExc_TypeError,"Variable wxGREY_BRUSH is read-only.");
912 return 1;
913}
914
915static PyObject *_wrap_wxGREY_BRUSH_get() {
916 PyObject * pyobj;
917 char ptemp[128];
918
919 SWIG_MakePtr(ptemp, (char *) wxGREY_BRUSH,"_wxBrush_p");
920 pyobj = PyString_FromString(ptemp);
921 return pyobj;
922}
923
924static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject *val) {
925
926 PyErr_SetString(PyExc_TypeError,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
927 return 1;
928}
929
930static PyObject *_wrap_wxMEDIUM_GREY_BRUSH_get() {
931 PyObject * pyobj;
932 char ptemp[128];
933
934 SWIG_MakePtr(ptemp, (char *) wxMEDIUM_GREY_BRUSH,"_wxBrush_p");
935 pyobj = PyString_FromString(ptemp);
936 return pyobj;
937}
938
939static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject *val) {
940
941 PyErr_SetString(PyExc_TypeError,"Variable wxLIGHT_GREY_BRUSH is read-only.");
942 return 1;
943}
944
945static PyObject *_wrap_wxLIGHT_GREY_BRUSH_get() {
946 PyObject * pyobj;
947 char ptemp[128];
948
949 SWIG_MakePtr(ptemp, (char *) wxLIGHT_GREY_BRUSH,"_wxBrush_p");
950 pyobj = PyString_FromString(ptemp);
951 return pyobj;
952}
953
954static int _wrap_wxBLACK_set(PyObject *val) {
955
956 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK is read-only.");
957 return 1;
958}
959
960static PyObject *_wrap_wxBLACK_get() {
961 PyObject * pyobj;
962 char ptemp[128];
963
964 SWIG_MakePtr(ptemp, (char *) wxBLACK,"_wxColour_p");
965 pyobj = PyString_FromString(ptemp);
966 return pyobj;
967}
968
969static int _wrap_wxWHITE_set(PyObject *val) {
970
971 PyErr_SetString(PyExc_TypeError,"Variable wxWHITE is read-only.");
972 return 1;
973}
974
975static PyObject *_wrap_wxWHITE_get() {
976 PyObject * pyobj;
977 char ptemp[128];
978
979 SWIG_MakePtr(ptemp, (char *) wxWHITE,"_wxColour_p");
980 pyobj = PyString_FromString(ptemp);
981 return pyobj;
982}
983
984static int _wrap_wxRED_set(PyObject *val) {
985
986 PyErr_SetString(PyExc_TypeError,"Variable wxRED is read-only.");
987 return 1;
988}
989
990static PyObject *_wrap_wxRED_get() {
991 PyObject * pyobj;
992 char ptemp[128];
993
994 SWIG_MakePtr(ptemp, (char *) wxRED,"_wxColour_p");
995 pyobj = PyString_FromString(ptemp);
996 return pyobj;
997}
998
999static int _wrap_wxBLUE_set(PyObject *val) {
1000
1001 PyErr_SetString(PyExc_TypeError,"Variable wxBLUE is read-only.");
1002 return 1;
1003}
1004
1005static PyObject *_wrap_wxBLUE_get() {
1006 PyObject * pyobj;
1007 char ptemp[128];
1008
1009 SWIG_MakePtr(ptemp, (char *) wxBLUE,"_wxColour_p");
1010 pyobj = PyString_FromString(ptemp);
1011 return pyobj;
1012}
1013
1014static int _wrap_wxGREEN_set(PyObject *val) {
1015
1016 PyErr_SetString(PyExc_TypeError,"Variable wxGREEN is read-only.");
1017 return 1;
1018}
1019
1020static PyObject *_wrap_wxGREEN_get() {
1021 PyObject * pyobj;
1022 char ptemp[128];
1023
1024 SWIG_MakePtr(ptemp, (char *) wxGREEN,"_wxColour_p");
1025 pyobj = PyString_FromString(ptemp);
1026 return pyobj;
1027}
1028
1029static int _wrap_wxCYAN_set(PyObject *val) {
1030
1031 PyErr_SetString(PyExc_TypeError,"Variable wxCYAN is read-only.");
1032 return 1;
1033}
1034
1035static PyObject *_wrap_wxCYAN_get() {
1036 PyObject * pyobj;
1037 char ptemp[128];
1038
1039 SWIG_MakePtr(ptemp, (char *) wxCYAN,"_wxColour_p");
1040 pyobj = PyString_FromString(ptemp);
1041 return pyobj;
1042}
1043
1044static int _wrap_wxLIGHT_GREY_set(PyObject *val) {
1045
1046 PyErr_SetString(PyExc_TypeError,"Variable wxLIGHT_GREY is read-only.");
1047 return 1;
1048}
1049
1050static PyObject *_wrap_wxLIGHT_GREY_get() {
1051 PyObject * pyobj;
1052 char ptemp[128];
1053
1054 SWIG_MakePtr(ptemp, (char *) wxLIGHT_GREY,"_wxColour_p");
1055 pyobj = PyString_FromString(ptemp);
1056 return pyobj;
1057}
1058
1059static int _wrap_wxSTANDARD_CURSOR_set(PyObject *val) {
1060
1061 PyErr_SetString(PyExc_TypeError,"Variable wxSTANDARD_CURSOR is read-only.");
1062 return 1;
1063}
1064
1065static PyObject *_wrap_wxSTANDARD_CURSOR_get() {
1066 PyObject * pyobj;
1067 char ptemp[128];
1068
1069 SWIG_MakePtr(ptemp, (char *) wxSTANDARD_CURSOR,"_wxCursor_p");
1070 pyobj = PyString_FromString(ptemp);
1071 return pyobj;
1072}
1073
1074static int _wrap_wxHOURGLASS_CURSOR_set(PyObject *val) {
1075
1076 PyErr_SetString(PyExc_TypeError,"Variable wxHOURGLASS_CURSOR is read-only.");
1077 return 1;
1078}
1079
1080static PyObject *_wrap_wxHOURGLASS_CURSOR_get() {
1081 PyObject * pyobj;
1082 char ptemp[128];
1083
1084 SWIG_MakePtr(ptemp, (char *) wxHOURGLASS_CURSOR,"_wxCursor_p");
1085 pyobj = PyString_FromString(ptemp);
1086 return pyobj;
1087}
1088
1089static int _wrap_wxCROSS_CURSOR_set(PyObject *val) {
1090
1091 PyErr_SetString(PyExc_TypeError,"Variable wxCROSS_CURSOR is read-only.");
1092 return 1;
1093}
1094
1095static PyObject *_wrap_wxCROSS_CURSOR_get() {
1096 PyObject * pyobj;
1097 char ptemp[128];
1098
1099 SWIG_MakePtr(ptemp, (char *) wxCROSS_CURSOR,"_wxCursor_p");
1100 pyobj = PyString_FromString(ptemp);
1101 return pyobj;
1102}
1103
1104static int _wrap_wxNullBitmap_set(PyObject *val) {
1105
1106 PyErr_SetString(PyExc_TypeError,"Variable wxNullBitmap is read-only.");
1107 return 1;
1108}
1109
1110static PyObject *_wrap_wxNullBitmap_get() {
1111 PyObject * pyobj;
1112 char ptemp[128];
1113
1114 SWIG_MakePtr(ptemp,(char *) &wxNullBitmap,"_wxBitmap_p");
1115 pyobj = PyString_FromString(ptemp);
1116 return pyobj;
1117}
1118
1119static int _wrap_wxNullIcon_set(PyObject *val) {
1120
1121 PyErr_SetString(PyExc_TypeError,"Variable wxNullIcon is read-only.");
1122 return 1;
1123}
1124
1125static PyObject *_wrap_wxNullIcon_get() {
1126 PyObject * pyobj;
1127 char ptemp[128];
1128
1129 SWIG_MakePtr(ptemp,(char *) &wxNullIcon,"_wxIcon_p");
1130 pyobj = PyString_FromString(ptemp);
1131 return pyobj;
1132}
1133
1134static int _wrap_wxNullCursor_set(PyObject *val) {
1135
1136 PyErr_SetString(PyExc_TypeError,"Variable wxNullCursor is read-only.");
1137 return 1;
1138}
1139
1140static PyObject *_wrap_wxNullCursor_get() {
1141 PyObject * pyobj;
1142 char ptemp[128];
1143
1144 SWIG_MakePtr(ptemp,(char *) &wxNullCursor,"_wxCursor_p");
1145 pyobj = PyString_FromString(ptemp);
1146 return pyobj;
1147}
1148
1149static int _wrap_wxNullPen_set(PyObject *val) {
1150
1151 PyErr_SetString(PyExc_TypeError,"Variable wxNullPen is read-only.");
1152 return 1;
1153}
1154
1155static PyObject *_wrap_wxNullPen_get() {
1156 PyObject * pyobj;
1157 char ptemp[128];
1158
1159 SWIG_MakePtr(ptemp,(char *) &wxNullPen,"_wxPen_p");
1160 pyobj = PyString_FromString(ptemp);
1161 return pyobj;
1162}
1163
1164static int _wrap_wxNullBrush_set(PyObject *val) {
1165
1166 PyErr_SetString(PyExc_TypeError,"Variable wxNullBrush is read-only.");
1167 return 1;
1168}
1169
1170static PyObject *_wrap_wxNullBrush_get() {
1171 PyObject * pyobj;
1172 char ptemp[128];
1173
1174 SWIG_MakePtr(ptemp,(char *) &wxNullBrush,"_wxBrush_p");
1175 pyobj = PyString_FromString(ptemp);
1176 return pyobj;
1177}
1178
1179static int _wrap_wxNullPalette_set(PyObject *val) {
1180
1181 PyErr_SetString(PyExc_TypeError,"Variable wxNullPalette is read-only.");
1182 return 1;
1183}
1184
1185static PyObject *_wrap_wxNullPalette_get() {
1186 PyObject * pyobj;
1187 char ptemp[128];
1188
1189 SWIG_MakePtr(ptemp,(char *) &wxNullPalette,"_wxPalette_p");
1190 pyobj = PyString_FromString(ptemp);
1191 return pyobj;
1192}
1193
1194static int _wrap_wxNullFont_set(PyObject *val) {
1195
1196 PyErr_SetString(PyExc_TypeError,"Variable wxNullFont is read-only.");
1197 return 1;
1198}
1199
1200static PyObject *_wrap_wxNullFont_get() {
1201 PyObject * pyobj;
1202 char ptemp[128];
1203
1204 SWIG_MakePtr(ptemp,(char *) &wxNullFont,"_wxFont_p");
1205 pyobj = PyString_FromString(ptemp);
1206 return pyobj;
1207}
1208
1209static int _wrap_wxNullColour_set(PyObject *val) {
1210
1211 PyErr_SetString(PyExc_TypeError,"Variable wxNullColour is read-only.");
1212 return 1;
1213}
1214
1215static PyObject *_wrap_wxNullColour_get() {
1216 PyObject * pyobj;
1217 char ptemp[128];
1218
1219 SWIG_MakePtr(ptemp,(char *) &wxNullColour,"_wxColour_p");
1220 pyobj = PyString_FromString(ptemp);
1221 return pyobj;
1222}
1223
0569df0f
RD
1224static int _wrap_wxTheFontList_set(PyObject *val) {
1225
1226 PyErr_SetString(PyExc_TypeError,"Variable wxTheFontList is read-only.");
1227 return 1;
1228}
1229
1230static PyObject *_wrap_wxTheFontList_get() {
1231 PyObject * pyobj;
1232 char ptemp[128];
1233
1234 SWIG_MakePtr(ptemp, (char *) wxTheFontList,"_wxFontList_p");
1235 pyobj = PyString_FromString(ptemp);
1236 return pyobj;
1237}
1238
1239static int _wrap_wxThePenList_set(PyObject *val) {
1240
1241 PyErr_SetString(PyExc_TypeError,"Variable wxThePenList is read-only.");
1242 return 1;
1243}
1244
1245static PyObject *_wrap_wxThePenList_get() {
1246 PyObject * pyobj;
1247 char ptemp[128];
1248
1249 SWIG_MakePtr(ptemp, (char *) wxThePenList,"_wxPenList_p");
1250 pyobj = PyString_FromString(ptemp);
1251 return pyobj;
1252}
1253
1254static int _wrap_wxTheBrushList_set(PyObject *val) {
1255
1256 PyErr_SetString(PyExc_TypeError,"Variable wxTheBrushList is read-only.");
1257 return 1;
1258}
1259
1260static PyObject *_wrap_wxTheBrushList_get() {
1261 PyObject * pyobj;
1262 char ptemp[128];
1263
6ee2116b 1264 SWIG_MakePtr(ptemp, (char *) wxTheBrushList,"_wxBrushList_p");
0569df0f
RD
1265 pyobj = PyString_FromString(ptemp);
1266 return pyobj;
1267}
1268
1269static int _wrap_wxTheColourDatabase_set(PyObject *val) {
1270
1271 PyErr_SetString(PyExc_TypeError,"Variable wxTheColourDatabase is read-only.");
1272 return 1;
1273}
1274
1275static PyObject *_wrap_wxTheColourDatabase_get() {
1276 PyObject * pyobj;
1277 char ptemp[128];
1278
1279 SWIG_MakePtr(ptemp, (char *) wxTheColourDatabase,"_wxColourDatabase_p");
1280 pyobj = PyString_FromString(ptemp);
1281 return pyobj;
1282}
1283
9416aa89
RD
1284static void *SwigwxGDIObjectTowxObject(void *ptr) {
1285 wxGDIObject *src;
1286 wxObject *dest;
1287 src = (wxGDIObject *) ptr;
1288 dest = (wxObject *) src;
1289 return (void *) dest;
1290}
1291
1292#define new_wxGDIObject() (new wxGDIObject())
1293static PyObject *_wrap_new_wxGDIObject(PyObject *self, PyObject *args, PyObject *kwargs) {
1294 PyObject * _resultobj;
1295 wxGDIObject * _result;
1296 char *_kwnames[] = { NULL };
1297 char _ptemp[128];
1298
1299 self = self;
1300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGDIObject",_kwnames))
1301 return NULL;
1302{
1303 wxPy_BEGIN_ALLOW_THREADS;
1304 _result = (wxGDIObject *)new_wxGDIObject();
1305
1306 wxPy_END_ALLOW_THREADS;
493f1553 1307 if (PyErr_Occurred()) return NULL;
9416aa89
RD
1308} if (_result) {
1309 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGDIObject_p");
1310 _resultobj = Py_BuildValue("s",_ptemp);
1311 } else {
1312 Py_INCREF(Py_None);
1313 _resultobj = Py_None;
1314 }
1315 return _resultobj;
1316}
1317
1318#define delete_wxGDIObject(_swigobj) (delete _swigobj)
1319static PyObject *_wrap_delete_wxGDIObject(PyObject *self, PyObject *args, PyObject *kwargs) {
1320 PyObject * _resultobj;
1321 wxGDIObject * _arg0;
1322 PyObject * _argo0 = 0;
1323 char *_kwnames[] = { "self", NULL };
1324
1325 self = self;
1326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGDIObject",_kwnames,&_argo0))
1327 return NULL;
1328 if (_argo0) {
1329 if (_argo0 == Py_None) { _arg0 = NULL; }
1330 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGDIObject_p")) {
1331 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGDIObject. Expected _wxGDIObject_p.");
1332 return NULL;
1333 }
1334 }
1335{
1336 wxPy_BEGIN_ALLOW_THREADS;
1337 delete_wxGDIObject(_arg0);
1338
1339 wxPy_END_ALLOW_THREADS;
493f1553 1340 if (PyErr_Occurred()) return NULL;
9416aa89
RD
1341} Py_INCREF(Py_None);
1342 _resultobj = Py_None;
1343 return _resultobj;
1344}
1345
1346#define wxGDIObject_GetVisible(_swigobj) (_swigobj->GetVisible())
1347static PyObject *_wrap_wxGDIObject_GetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
1348 PyObject * _resultobj;
1349 bool _result;
1350 wxGDIObject * _arg0;
1351 PyObject * _argo0 = 0;
1352 char *_kwnames[] = { "self", NULL };
1353
1354 self = self;
1355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGDIObject_GetVisible",_kwnames,&_argo0))
1356 return NULL;
1357 if (_argo0) {
1358 if (_argo0 == Py_None) { _arg0 = NULL; }
1359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGDIObject_p")) {
1360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGDIObject_GetVisible. Expected _wxGDIObject_p.");
1361 return NULL;
1362 }
1363 }
1364{
1365 wxPy_BEGIN_ALLOW_THREADS;
1366 _result = (bool )wxGDIObject_GetVisible(_arg0);
1367
1368 wxPy_END_ALLOW_THREADS;
493f1553 1369 if (PyErr_Occurred()) return NULL;
9416aa89
RD
1370} _resultobj = Py_BuildValue("i",_result);
1371 return _resultobj;
1372}
1373
1374#define wxGDIObject_SetVisible(_swigobj,_swigarg0) (_swigobj->SetVisible(_swigarg0))
1375static PyObject *_wrap_wxGDIObject_SetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
1376 PyObject * _resultobj;
1377 wxGDIObject * _arg0;
1378 bool _arg1;
1379 PyObject * _argo0 = 0;
1380 int tempbool1;
1381 char *_kwnames[] = { "self","visible", NULL };
1382
1383 self = self;
1384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGDIObject_SetVisible",_kwnames,&_argo0,&tempbool1))
1385 return NULL;
1386 if (_argo0) {
1387 if (_argo0 == Py_None) { _arg0 = NULL; }
1388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGDIObject_p")) {
1389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGDIObject_SetVisible. Expected _wxGDIObject_p.");
1390 return NULL;
1391 }
1392 }
1393 _arg1 = (bool ) tempbool1;
1394{
1395 wxPy_BEGIN_ALLOW_THREADS;
1396 wxGDIObject_SetVisible(_arg0,_arg1);
1397
1398 wxPy_END_ALLOW_THREADS;
493f1553 1399 if (PyErr_Occurred()) return NULL;
9416aa89
RD
1400} Py_INCREF(Py_None);
1401 _resultobj = Py_None;
1402 return _resultobj;
1403}
1404
1405#define wxGDIObject_IsNull(_swigobj) (_swigobj->IsNull())
1406static PyObject *_wrap_wxGDIObject_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
1407 PyObject * _resultobj;
1408 bool _result;
1409 wxGDIObject * _arg0;
1410 PyObject * _argo0 = 0;
1411 char *_kwnames[] = { "self", NULL };
1412
1413 self = self;
1414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGDIObject_IsNull",_kwnames,&_argo0))
1415 return NULL;
1416 if (_argo0) {
1417 if (_argo0 == Py_None) { _arg0 = NULL; }
1418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGDIObject_p")) {
1419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGDIObject_IsNull. Expected _wxGDIObject_p.");
1420 return NULL;
1421 }
1422 }
1423{
1424 wxPy_BEGIN_ALLOW_THREADS;
1425 _result = (bool )wxGDIObject_IsNull(_arg0);
1426
1427 wxPy_END_ALLOW_THREADS;
493f1553 1428 if (PyErr_Occurred()) return NULL;
9416aa89
RD
1429} _resultobj = Py_BuildValue("i",_result);
1430 return _resultobj;
1431}
1432
1433static void *SwigwxBitmapTowxGDIObject(void *ptr) {
1434 wxBitmap *src;
1435 wxGDIObject *dest;
1436 src = (wxBitmap *) ptr;
1437 dest = (wxGDIObject *) src;
1438 return (void *) dest;
1439}
1440
1441static void *SwigwxBitmapTowxObject(void *ptr) {
1442 wxBitmap *src;
1443 wxObject *dest;
1444 src = (wxBitmap *) ptr;
1445 dest = (wxObject *) src;
1446 return (void *) dest;
1447}
1448
6999b0d8
RD
1449#define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1450static PyObject *_wrap_new_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1451 PyObject * _resultobj;
6999b0d8
RD
1452 wxBitmap * _result;
1453 wxString * _arg0;
0a651eb8 1454 wxBitmapType _arg1;
6999b0d8
RD
1455 PyObject * _obj0 = 0;
1456 char *_kwnames[] = { "name","type", NULL };
1457 char _ptemp[128];
8ab979d7
RD
1458
1459 self = self;
0a651eb8 1460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:new_wxBitmap",_kwnames,&_obj0,&_arg1))
8ab979d7 1461 return NULL;
6999b0d8 1462{
185d7c3e
RD
1463#if PYTHON_API_VERSION >= 1009
1464 char* tmpPtr; int tmpSize;
1465 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
794c5cb1 1466 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1467 return NULL;
1468 }
1469 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
1470 return NULL;
1471 _arg0 = new wxString(tmpPtr, tmpSize);
1472#else
6999b0d8
RD
1473 if (!PyString_Check(_obj0)) {
1474 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8ab979d7 1475 return NULL;
8ab979d7 1476 }
185d7c3e
RD
1477 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
1478#endif
6999b0d8 1479}
cf694132
RD
1480{
1481 wxPy_BEGIN_ALLOW_THREADS;
6999b0d8 1482 _result = (wxBitmap *)new_wxBitmap(*_arg0,_arg1);
cf694132
RD
1483
1484 wxPy_END_ALLOW_THREADS;
493f1553 1485 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
1486} if (_result) {
1487 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1488 _resultobj = Py_BuildValue("s",_ptemp);
1489 } else {
1490 Py_INCREF(Py_None);
1491 _resultobj = Py_None;
1492 }
1493{
1494 if (_obj0)
1495 delete _arg0;
1496}
8ab979d7
RD
1497 return _resultobj;
1498}
1499
6999b0d8
RD
1500#define delete_wxBitmap(_swigobj) (delete _swigobj)
1501static PyObject *_wrap_delete_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1502 PyObject * _resultobj;
1503 wxBitmap * _arg0;
1d99702e 1504 PyObject * _argo0 = 0;
6999b0d8 1505 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1506
1507 self = self;
6999b0d8 1508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxBitmap",_kwnames,&_argo0))
8ab979d7 1509 return NULL;
1d99702e
RD
1510 if (_argo0) {
1511 if (_argo0 == Py_None) { _arg0 = NULL; }
1512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
6999b0d8 1513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
8ab979d7
RD
1514 return NULL;
1515 }
1516 }
cf694132
RD
1517{
1518 wxPy_BEGIN_ALLOW_THREADS;
6999b0d8 1519 delete_wxBitmap(_arg0);
cf694132
RD
1520
1521 wxPy_END_ALLOW_THREADS;
493f1553 1522 if (PyErr_Occurred()) return NULL;
cf694132 1523} Py_INCREF(Py_None);
8ab979d7
RD
1524 _resultobj = Py_None;
1525 return _resultobj;
1526}
1527
6999b0d8
RD
1528#define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1529static PyObject *_wrap_wxBitmap_GetPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1530 PyObject * _resultobj;
6999b0d8 1531 wxPalette * _result;
8ab979d7 1532 wxBitmap * _arg0;
1d99702e 1533 PyObject * _argo0 = 0;
6999b0d8
RD
1534 char *_kwnames[] = { "self", NULL };
1535 char _ptemp[128];
8ab979d7
RD
1536
1537 self = self;
6999b0d8 1538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetPalette",_kwnames,&_argo0))
8ab979d7 1539 return NULL;
1d99702e
RD
1540 if (_argo0) {
1541 if (_argo0 == Py_None) { _arg0 = NULL; }
1542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
6999b0d8 1543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
8ab979d7
RD
1544 return NULL;
1545 }
1546 }
cf694132
RD
1547{
1548 wxPy_BEGIN_ALLOW_THREADS;
6999b0d8 1549 _result = (wxPalette *)wxBitmap_GetPalette(_arg0);
cf694132
RD
1550
1551 wxPy_END_ALLOW_THREADS;
493f1553 1552 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
1553} if (_result) {
1554 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPalette_p");
1555 _resultobj = Py_BuildValue("s",_ptemp);
1556 } else {
1557 Py_INCREF(Py_None);
1558 _resultobj = Py_None;
1559 }
8ab979d7
RD
1560 return _resultobj;
1561}
1562
6999b0d8
RD
1563#define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1564static PyObject *_wrap_wxBitmap_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1565 PyObject * _resultobj;
1566 wxMask * _result;
1567 wxBitmap * _arg0;
1d99702e 1568 PyObject * _argo0 = 0;
6999b0d8 1569 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1570 char _ptemp[128];
1571
1572 self = self;
6999b0d8 1573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetMask",_kwnames,&_argo0))
8ab979d7 1574 return NULL;
1d99702e
RD
1575 if (_argo0) {
1576 if (_argo0 == Py_None) { _arg0 = NULL; }
1577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
6999b0d8 1578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
8ab979d7
RD
1579 return NULL;
1580 }
1581 }
cf694132
RD
1582{
1583 wxPy_BEGIN_ALLOW_THREADS;
6999b0d8 1584 _result = (wxMask *)wxBitmap_GetMask(_arg0);
cf694132
RD
1585
1586 wxPy_END_ALLOW_THREADS;
493f1553 1587 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1588} if (_result) {
1589 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
1590 _resultobj = Py_BuildValue("s",_ptemp);
1591 } else {
1592 Py_INCREF(Py_None);
1593 _resultobj = Py_None;
1594 }
8ab979d7
RD
1595 return _resultobj;
1596}
1597
6999b0d8
RD
1598#define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1599static PyObject *_wrap_wxBitmap_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1600 PyObject * _resultobj;
6999b0d8
RD
1601 bool _result;
1602 wxBitmap * _arg0;
1603 wxString * _arg1;
1604 long _arg2;
1605 PyObject * _argo0 = 0;
1606 PyObject * _obj1 = 0;
1607 char *_kwnames[] = { "self","name","flags", NULL };
8ab979d7
RD
1608
1609 self = self;
6999b0d8
RD
1610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOl:wxBitmap_LoadFile",_kwnames,&_argo0,&_obj1,&_arg2))
1611 return NULL;
1612 if (_argo0) {
1613 if (_argo0 == Py_None) { _arg0 = NULL; }
1614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
8ab979d7 1616 return NULL;
6999b0d8
RD
1617 }
1618 }
8ab979d7 1619{
185d7c3e
RD
1620#if PYTHON_API_VERSION >= 1009
1621 char* tmpPtr; int tmpSize;
1622 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 1623 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1624 return NULL;
1625 }
1626 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1627 return NULL;
1628 _arg1 = new wxString(tmpPtr, tmpSize);
1629#else
6999b0d8 1630 if (!PyString_Check(_obj1)) {
8ab979d7
RD
1631 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1632 return NULL;
1633 }
185d7c3e
RD
1634 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1635#endif
8ab979d7 1636}
cf694132
RD
1637{
1638 wxPy_BEGIN_ALLOW_THREADS;
6999b0d8 1639 _result = (bool )wxBitmap_LoadFile(_arg0,*_arg1,_arg2);
cf694132
RD
1640
1641 wxPy_END_ALLOW_THREADS;
493f1553 1642 if (PyErr_Occurred()) return NULL;
6999b0d8 1643} _resultobj = Py_BuildValue("i",_result);
8ab979d7 1644{
6999b0d8
RD
1645 if (_obj1)
1646 delete _arg1;
8ab979d7
RD
1647}
1648 return _resultobj;
1649}
1650
6999b0d8
RD
1651#define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1652static PyObject *_wrap_wxBitmap_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1653 PyObject * _resultobj;
6999b0d8
RD
1654 bool _result;
1655 wxBitmap * _arg0;
1656 wxString * _arg1;
1657 int _arg2;
1658 wxPalette * _arg3 = (wxPalette *) NULL;
1d99702e 1659 PyObject * _argo0 = 0;
6999b0d8
RD
1660 PyObject * _obj1 = 0;
1661 PyObject * _argo3 = 0;
1662 char *_kwnames[] = { "self","name","type","palette", NULL };
8ab979d7
RD
1663
1664 self = self;
6999b0d8 1665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|O:wxBitmap_SaveFile",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3))
8ab979d7 1666 return NULL;
1d99702e
RD
1667 if (_argo0) {
1668 if (_argo0 == Py_None) { _arg0 = NULL; }
6999b0d8
RD
1669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
8ab979d7
RD
1671 return NULL;
1672 }
1673 }
cf694132 1674{
185d7c3e
RD
1675#if PYTHON_API_VERSION >= 1009
1676 char* tmpPtr; int tmpSize;
1677 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 1678 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1679 return NULL;
1680 }
1681 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1682 return NULL;
1683 _arg1 = new wxString(tmpPtr, tmpSize);
1684#else
6999b0d8
RD
1685 if (!PyString_Check(_obj1)) {
1686 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8ab979d7 1687 return NULL;
6999b0d8 1688 }
185d7c3e
RD
1689 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1690#endif
6999b0d8
RD
1691}
1692 if (_argo3) {
1693 if (_argo3 == Py_None) { _arg3 = NULL; }
1694 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPalette_p")) {
1695 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
8ab979d7
RD
1696 return NULL;
1697 }
1698 }
cf694132
RD
1699{
1700 wxPy_BEGIN_ALLOW_THREADS;
6999b0d8 1701 _result = (bool )wxBitmap_SaveFile(_arg0,*_arg1,_arg2,_arg3);
cf694132
RD
1702
1703 wxPy_END_ALLOW_THREADS;
493f1553 1704 if (PyErr_Occurred()) return NULL;
cf694132 1705} _resultobj = Py_BuildValue("i",_result);
6999b0d8
RD
1706{
1707 if (_obj1)
1708 delete _arg1;
1709}
8ab979d7
RD
1710 return _resultobj;
1711}
1712
6999b0d8
RD
1713#define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1714static PyObject *_wrap_wxBitmap_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1715 PyObject * _resultobj;
6999b0d8
RD
1716 wxBitmap * _arg0;
1717 wxMask * _arg1;
1d99702e 1718 PyObject * _argo0 = 0;
6999b0d8
RD
1719 PyObject * _argo1 = 0;
1720 char *_kwnames[] = { "self","mask", NULL };
8ab979d7
RD
1721
1722 self = self;
6999b0d8 1723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_SetMask",_kwnames,&_argo0,&_argo1))
8ab979d7 1724 return NULL;
1d99702e
RD
1725 if (_argo0) {
1726 if (_argo0 == Py_None) { _arg0 = NULL; }
6999b0d8
RD
1727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
8ab979d7
RD
1729 return NULL;
1730 }
1731 }
6999b0d8
RD
1732 if (_argo1) {
1733 if (_argo1 == Py_None) { _arg1 = NULL; }
1734 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMask_p")) {
1735 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
8ab979d7
RD
1736 return NULL;
1737 }
1738 }
cf694132
RD
1739{
1740 wxPy_BEGIN_ALLOW_THREADS;
6999b0d8 1741 wxBitmap_SetMask(_arg0,_arg1);
cf694132
RD
1742
1743 wxPy_END_ALLOW_THREADS;
493f1553 1744 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
1745} Py_INCREF(Py_None);
1746 _resultobj = Py_None;
8ab979d7
RD
1747 return _resultobj;
1748}
1749
6999b0d8
RD
1750#define wxBitmap_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1751static PyObject *_wrap_wxBitmap_SetPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
1752 PyObject * _resultobj;
1753 wxBitmap * _arg0;
1754 wxPalette * _arg1;
1d99702e 1755 PyObject * _argo0 = 0;
6999b0d8
RD
1756 PyObject * _argo1 = 0;
1757 char *_kwnames[] = { "self","palette", NULL };
8ab979d7
RD
1758
1759 self = self;
6999b0d8 1760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_SetPalette",_kwnames,&_argo0,&_argo1))
8ab979d7 1761 return NULL;
1d99702e
RD
1762 if (_argo0) {
1763 if (_argo0 == Py_None) { _arg0 = NULL; }
6999b0d8
RD
1764 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1765 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetPalette. Expected _wxBitmap_p.");
8ab979d7
RD
1766 return NULL;
1767 }
1768 }
6999b0d8
RD
1769 if (_argo1) {
1770 if (_argo1 == Py_None) { _arg1 = NULL; }
1771 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPalette_p")) {
1772 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmap_SetPalette. Expected _wxPalette_p.");
8ab979d7 1773 return NULL;
6999b0d8 1774 }
8ab979d7 1775 }
cf694132
RD
1776{
1777 wxPy_BEGIN_ALLOW_THREADS;
6999b0d8 1778 wxBitmap_SetPalette(_arg0,*_arg1);
cf694132
RD
1779
1780 wxPy_END_ALLOW_THREADS;
493f1553 1781 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
1782} Py_INCREF(Py_None);
1783 _resultobj = Py_None;
8ab979d7
RD
1784 return _resultobj;
1785}
1786
9b3d3bc4
RD
1787#define wxBitmap_GetHandle(_swigobj) (_swigobj->GetHandle())
1788static PyObject *_wrap_wxBitmap_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1789 PyObject * _resultobj;
9b3d3bc4 1790 long _result;
6999b0d8 1791 wxBitmap * _arg0;
1d99702e 1792 PyObject * _argo0 = 0;
9b3d3bc4 1793 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1794
1795 self = self;
9b3d3bc4 1796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetHandle",_kwnames,&_argo0))
8ab979d7 1797 return NULL;
1d99702e
RD
1798 if (_argo0) {
1799 if (_argo0 == Py_None) { _arg0 = NULL; }
6999b0d8 1800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
9b3d3bc4 1801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetHandle. Expected _wxBitmap_p.");
8ab979d7
RD
1802 return NULL;
1803 }
1804 }
cf694132
RD
1805{
1806 wxPy_BEGIN_ALLOW_THREADS;
9b3d3bc4 1807 _result = (long )wxBitmap_GetHandle(_arg0);
cf694132
RD
1808
1809 wxPy_END_ALLOW_THREADS;
493f1553 1810 if (PyErr_Occurred()) return NULL;
9b3d3bc4 1811} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
1812 return _resultobj;
1813}
1814
9b3d3bc4
RD
1815#define wxBitmap_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
1816static PyObject *_wrap_wxBitmap_SetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1817 PyObject * _resultobj;
9b3d3bc4 1818 wxBitmap * _arg0;
6999b0d8 1819 long _arg1;
9b3d3bc4
RD
1820 PyObject * _argo0 = 0;
1821 char *_kwnames[] = { "self","handle", NULL };
8ab979d7
RD
1822
1823 self = self;
9b3d3bc4 1824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxBitmap_SetHandle",_kwnames,&_argo0,&_arg1))
8ab979d7 1825 return NULL;
9b3d3bc4
RD
1826 if (_argo0) {
1827 if (_argo0 == Py_None) { _arg0 = NULL; }
1828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetHandle. Expected _wxBitmap_p.");
8ab979d7 1830 return NULL;
9b3d3bc4 1831 }
8ab979d7 1832 }
9b3d3bc4
RD
1833{
1834 wxPy_BEGIN_ALLOW_THREADS;
1835 wxBitmap_SetHandle(_arg0,_arg1);
1836
1837 wxPy_END_ALLOW_THREADS;
493f1553 1838 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
1839} Py_INCREF(Py_None);
1840 _resultobj = Py_None;
1841 return _resultobj;
6999b0d8 1842}
9b3d3bc4
RD
1843
1844#define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1845static PyObject *_wrap_wxBitmap_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
1846 PyObject * _resultobj;
1847 bool _result;
1848 wxBitmap * _arg0;
1849 PyObject * _argo0 = 0;
1850 char *_kwnames[] = { "self", NULL };
1851
1852 self = self;
1853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_Ok",_kwnames,&_argo0))
1854 return NULL;
1855 if (_argo0) {
1856 if (_argo0 == Py_None) { _arg0 = NULL; }
1857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1859 return NULL;
1860 }
1861 }
cf694132
RD
1862{
1863 wxPy_BEGIN_ALLOW_THREADS;
9b3d3bc4 1864 _result = (bool )wxBitmap_Ok(_arg0);
cf694132
RD
1865
1866 wxPy_END_ALLOW_THREADS;
493f1553 1867 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
1868} _resultobj = Py_BuildValue("i",_result);
1869 return _resultobj;
1870}
1871
1872#define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1873static PyObject *_wrap_wxBitmap_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1874 PyObject * _resultobj;
1875 int _result;
1876 wxBitmap * _arg0;
1877 PyObject * _argo0 = 0;
1878 char *_kwnames[] = { "self", NULL };
1879
1880 self = self;
1881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetWidth",_kwnames,&_argo0))
1882 return NULL;
1883 if (_argo0) {
1884 if (_argo0 == Py_None) { _arg0 = NULL; }
1885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1887 return NULL;
1888 }
6999b0d8
RD
1889 }
1890{
9b3d3bc4
RD
1891 wxPy_BEGIN_ALLOW_THREADS;
1892 _result = (int )wxBitmap_GetWidth(_arg0);
1893
1894 wxPy_END_ALLOW_THREADS;
493f1553 1895 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
1896} _resultobj = Py_BuildValue("i",_result);
1897 return _resultobj;
6999b0d8 1898}
9b3d3bc4
RD
1899
1900#define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1901static PyObject *_wrap_wxBitmap_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1902 PyObject * _resultobj;
1903 int _result;
1904 wxBitmap * _arg0;
1905 PyObject * _argo0 = 0;
1906 char *_kwnames[] = { "self", NULL };
1907
1908 self = self;
1909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetHeight",_kwnames,&_argo0))
1910 return NULL;
1911 if (_argo0) {
1912 if (_argo0 == Py_None) { _arg0 = NULL; }
1913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1915 return NULL;
1916 }
1917 }
1918{
1919 wxPy_BEGIN_ALLOW_THREADS;
1920 _result = (int )wxBitmap_GetHeight(_arg0);
1921
1922 wxPy_END_ALLOW_THREADS;
493f1553 1923 if (PyErr_Occurred()) return NULL;
9b3d3bc4 1924} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1925 return _resultobj;
1926}
1927
9b3d3bc4
RD
1928#define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1929static PyObject *_wrap_wxBitmap_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1930 PyObject * _resultobj;
9b3d3bc4
RD
1931 int _result;
1932 wxBitmap * _arg0;
1d99702e 1933 PyObject * _argo0 = 0;
6999b0d8 1934 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1935
1936 self = self;
9b3d3bc4 1937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetDepth",_kwnames,&_argo0))
8ab979d7 1938 return NULL;
1d99702e
RD
1939 if (_argo0) {
1940 if (_argo0 == Py_None) { _arg0 = NULL; }
9b3d3bc4
RD
1941 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1942 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
8ab979d7
RD
1943 return NULL;
1944 }
1945 }
cf694132
RD
1946{
1947 wxPy_BEGIN_ALLOW_THREADS;
9b3d3bc4
RD
1948 _result = (int )wxBitmap_GetDepth(_arg0);
1949
1950 wxPy_END_ALLOW_THREADS;
493f1553 1951 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
1952} _resultobj = Py_BuildValue("i",_result);
1953 return _resultobj;
1954}
1955
1956#define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1957static PyObject *_wrap_wxBitmap_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1958 PyObject * _resultobj;
1959 wxBitmap * _arg0;
1960 int _arg1;
1961 PyObject * _argo0 = 0;
1962 char *_kwnames[] = { "self","w", NULL };
1963
1964 self = self;
1965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBitmap_SetWidth",_kwnames,&_argo0,&_arg1))
1966 return NULL;
1967 if (_argo0) {
1968 if (_argo0 == Py_None) { _arg0 = NULL; }
1969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1971 return NULL;
1972 }
1973 }
1974{
1975 wxPy_BEGIN_ALLOW_THREADS;
1976 wxBitmap_SetWidth(_arg0,_arg1);
cf694132
RD
1977
1978 wxPy_END_ALLOW_THREADS;
493f1553 1979 if (PyErr_Occurred()) return NULL;
cf694132 1980} Py_INCREF(Py_None);
8ab979d7
RD
1981 _resultobj = Py_None;
1982 return _resultobj;
1983}
1984
9b3d3bc4
RD
1985#define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1986static PyObject *_wrap_wxBitmap_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1987 PyObject * _resultobj;
9b3d3bc4
RD
1988 wxBitmap * _arg0;
1989 int _arg1;
1d99702e 1990 PyObject * _argo0 = 0;
9b3d3bc4 1991 char *_kwnames[] = { "self","h", NULL };
8ab979d7
RD
1992
1993 self = self;
9b3d3bc4 1994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBitmap_SetHeight",_kwnames,&_argo0,&_arg1))
8ab979d7 1995 return NULL;
1d99702e
RD
1996 if (_argo0) {
1997 if (_argo0 == Py_None) { _arg0 = NULL; }
9b3d3bc4
RD
1998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
8ab979d7
RD
2000 return NULL;
2001 }
2002 }
6999b0d8 2003{
9b3d3bc4
RD
2004 wxPy_BEGIN_ALLOW_THREADS;
2005 wxBitmap_SetHeight(_arg0,_arg1);
2006
2007 wxPy_END_ALLOW_THREADS;
493f1553 2008 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2009} Py_INCREF(Py_None);
2010 _resultobj = Py_None;
2011 return _resultobj;
2012}
2013
2014#define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2015static PyObject *_wrap_wxBitmap_SetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
2016 PyObject * _resultobj;
2017 wxBitmap * _arg0;
2018 int _arg1;
2019 PyObject * _argo0 = 0;
2020 char *_kwnames[] = { "self","d", NULL };
2021
2022 self = self;
2023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBitmap_SetDepth",_kwnames,&_argo0,&_arg1))
2024 return NULL;
2025 if (_argo0) {
2026 if (_argo0 == Py_None) { _arg0 = NULL; }
2027 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
6999b0d8 2029 return NULL;
9b3d3bc4 2030 }
6999b0d8 2031 }
cf694132
RD
2032{
2033 wxPy_BEGIN_ALLOW_THREADS;
9b3d3bc4 2034 wxBitmap_SetDepth(_arg0,_arg1);
cf694132
RD
2035
2036 wxPy_END_ALLOW_THREADS;
493f1553 2037 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2038} Py_INCREF(Py_None);
2039 _resultobj = Py_None;
2040 return _resultobj;
2041}
2042
2043#define wxBitmap_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2044static PyObject *_wrap_wxBitmap_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2045 PyObject * _resultobj;
2046 wxBitmap * _arg0;
2047 wxSize * _arg1;
2048 PyObject * _argo0 = 0;
2049 wxSize temp;
2050 PyObject * _obj1 = 0;
2051 char *_kwnames[] = { "self","size", NULL };
2052
2053 self = self;
2054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_SetSize",_kwnames,&_argo0,&_obj1))
2055 return NULL;
2056 if (_argo0) {
2057 if (_argo0 == Py_None) { _arg0 = NULL; }
2058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetSize. Expected _wxBitmap_p.");
2060 return NULL;
2061 }
2062 }
6999b0d8 2063{
9b3d3bc4
RD
2064 _arg1 = &temp;
2065 if (! wxSize_helper(_obj1, &_arg1))
2066 return NULL;
6999b0d8 2067}
9b3d3bc4
RD
2068{
2069 wxPy_BEGIN_ALLOW_THREADS;
2070 wxBitmap_SetSize(_arg0,*_arg1);
2071
2072 wxPy_END_ALLOW_THREADS;
493f1553 2073 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2074} Py_INCREF(Py_None);
2075 _resultobj = Py_None;
8ab979d7
RD
2076 return _resultobj;
2077}
2078
f6bcfd97
BP
2079#define wxBitmap_GetSubBitmap(_swigobj,_swigarg0) (_swigobj->GetSubBitmap(_swigarg0))
2080static PyObject *_wrap_wxBitmap_GetSubBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2081 PyObject * _resultobj;
2082 wxBitmap * _result;
2083 wxBitmap * _arg0;
2084 wxRect * _arg1;
2085 PyObject * _argo0 = 0;
2086 wxRect temp;
2087 PyObject * _obj1 = 0;
2088 char *_kwnames[] = { "self","rect", NULL };
2089 char _ptemp[128];
2090
2091 self = self;
2092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_GetSubBitmap",_kwnames,&_argo0,&_obj1))
2093 return NULL;
2094 if (_argo0) {
2095 if (_argo0 == Py_None) { _arg0 = NULL; }
2096 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetSubBitmap. Expected _wxBitmap_p.");
2098 return NULL;
2099 }
2100 }
2101{
2102 _arg1 = &temp;
2103 if (! wxRect_helper(_obj1, &_arg1))
2104 return NULL;
2105}
2106{
2107 wxPy_BEGIN_ALLOW_THREADS;
2108 _result = new wxBitmap (wxBitmap_GetSubBitmap(_arg0,*_arg1));
2109
2110 wxPy_END_ALLOW_THREADS;
493f1553 2111 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2112} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
2113 _resultobj = Py_BuildValue("s",_ptemp);
2114 return _resultobj;
2115}
2116
2117#define wxBitmap_CopyFromIcon(_swigobj,_swigarg0) (_swigobj->CopyFromIcon(_swigarg0))
2118static PyObject *_wrap_wxBitmap_CopyFromIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2119 PyObject * _resultobj;
2120 bool _result;
2121 wxBitmap * _arg0;
2122 wxIcon * _arg1;
2123 PyObject * _argo0 = 0;
2124 PyObject * _argo1 = 0;
2125 char *_kwnames[] = { "self","icon", NULL };
2126
2127 self = self;
2128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_CopyFromIcon",_kwnames,&_argo0,&_argo1))
2129 return NULL;
2130 if (_argo0) {
2131 if (_argo0 == Py_None) { _arg0 = NULL; }
2132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_CopyFromIcon. Expected _wxBitmap_p.");
2134 return NULL;
2135 }
2136 }
2137 if (_argo1) {
2138 if (_argo1 == Py_None) { _arg1 = NULL; }
2139 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
2140 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmap_CopyFromIcon. Expected _wxIcon_p.");
2141 return NULL;
2142 }
2143 }
2144{
2145 wxPy_BEGIN_ALLOW_THREADS;
2146 _result = (bool )wxBitmap_CopyFromIcon(_arg0,*_arg1);
2147
2148 wxPy_END_ALLOW_THREADS;
493f1553 2149 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2150} _resultobj = Py_BuildValue("i",_result);
2151 return _resultobj;
2152}
2153
2154#define wxBitmap_CopyFromCursor(_swigobj,_swigarg0) (_swigobj->CopyFromCursor(_swigarg0))
2155static PyObject *_wrap_wxBitmap_CopyFromCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
2156 PyObject * _resultobj;
2157 bool _result;
2158 wxBitmap * _arg0;
2159 wxCursor * _arg1;
2160 PyObject * _argo0 = 0;
2161 PyObject * _argo1 = 0;
2162 char *_kwnames[] = { "self","cursor", NULL };
2163
2164 self = self;
2165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_CopyFromCursor",_kwnames,&_argo0,&_argo1))
2166 return NULL;
2167 if (_argo0) {
2168 if (_argo0 == Py_None) { _arg0 = NULL; }
2169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_CopyFromCursor. Expected _wxBitmap_p.");
2171 return NULL;
2172 }
2173 }
2174 if (_argo1) {
2175 if (_argo1 == Py_None) { _arg1 = NULL; }
2176 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
2177 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmap_CopyFromCursor. Expected _wxCursor_p.");
2178 return NULL;
2179 }
2180 }
2181{
2182 wxPy_BEGIN_ALLOW_THREADS;
2183 _result = (bool )wxBitmap_CopyFromCursor(_arg0,*_arg1);
2184
2185 wxPy_END_ALLOW_THREADS;
493f1553 2186 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2187} _resultobj = Py_BuildValue("i",_result);
2188 return _resultobj;
2189}
2190
2191#define wxBitmap_GetQuality(_swigobj) (_swigobj->GetQuality())
2192static PyObject *_wrap_wxBitmap_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
2193 PyObject * _resultobj;
2194 int _result;
2195 wxBitmap * _arg0;
2196 PyObject * _argo0 = 0;
2197 char *_kwnames[] = { "self", NULL };
2198
2199 self = self;
2200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetQuality",_kwnames,&_argo0))
2201 return NULL;
2202 if (_argo0) {
2203 if (_argo0 == Py_None) { _arg0 = NULL; }
2204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetQuality. Expected _wxBitmap_p.");
2206 return NULL;
2207 }
2208 }
2209{
2210 wxPy_BEGIN_ALLOW_THREADS;
2211 _result = (int )wxBitmap_GetQuality(_arg0);
2212
2213 wxPy_END_ALLOW_THREADS;
493f1553 2214 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2215} _resultobj = Py_BuildValue("i",_result);
2216 return _resultobj;
2217}
2218
2219#define wxBitmap_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
2220static PyObject *_wrap_wxBitmap_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
2221 PyObject * _resultobj;
2222 wxBitmap * _arg0;
2223 int _arg1;
2224 PyObject * _argo0 = 0;
2225 char *_kwnames[] = { "self","q", NULL };
2226
2227 self = self;
2228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBitmap_SetQuality",_kwnames,&_argo0,&_arg1))
2229 return NULL;
2230 if (_argo0) {
2231 if (_argo0 == Py_None) { _arg0 = NULL; }
2232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetQuality. Expected _wxBitmap_p.");
2234 return NULL;
2235 }
2236 }
2237{
2238 wxPy_BEGIN_ALLOW_THREADS;
2239 wxBitmap_SetQuality(_arg0,_arg1);
2240
2241 wxPy_END_ALLOW_THREADS;
493f1553 2242 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2243} Py_INCREF(Py_None);
2244 _resultobj = Py_None;
2245 return _resultobj;
2246}
2247
9416aa89
RD
2248static void *SwigwxMaskTowxObject(void *ptr) {
2249 wxMask *src;
2250 wxObject *dest;
2251 src = (wxMask *) ptr;
2252 dest = (wxObject *) src;
2253 return (void *) dest;
2254}
2255
9b3d3bc4
RD
2256#define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
2257static PyObject *_wrap_new_wxMask(PyObject *self, PyObject *args, PyObject *kwargs) {
2258 PyObject * _resultobj;
2259 wxMask * _result;
2260 wxBitmap * _arg0;
2261 PyObject * _argo0 = 0;
2262 char *_kwnames[] = { "bitmap", NULL };
2263 char _ptemp[128];
2264
2265 self = self;
2266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxMask",_kwnames,&_argo0))
2267 return NULL;
2268 if (_argo0) {
2269 if (_argo0 == Py_None) { _arg0 = NULL; }
2270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
2272 return NULL;
2273 }
2274 }
2275{
2276 wxPy_BEGIN_ALLOW_THREADS;
2277 _result = (wxMask *)new_wxMask(*_arg0);
2278
2279 wxPy_END_ALLOW_THREADS;
493f1553 2280 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2281} if (_result) {
2282 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
2283 _resultobj = Py_BuildValue("s",_ptemp);
2284 } else {
2285 Py_INCREF(Py_None);
2286 _resultobj = Py_None;
2287 }
2288 return _resultobj;
8ab979d7
RD
2289}
2290
96bfd053
RD
2291static void wxMask_Destroy(wxMask *self) { delete self; }
2292static PyObject *_wrap_wxMask_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2293 PyObject * _resultobj;
2294 wxMask * _arg0;
2295 PyObject * _argo0 = 0;
2296 char *_kwnames[] = { "self", NULL };
2297
2298 self = self;
2299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMask_Destroy",_kwnames,&_argo0))
2300 return NULL;
2301 if (_argo0) {
2302 if (_argo0 == Py_None) { _arg0 = NULL; }
2303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMask_p")) {
2304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMask_Destroy. Expected _wxMask_p.");
2305 return NULL;
2306 }
2307 }
2308{
2309 wxPy_BEGIN_ALLOW_THREADS;
2310 wxMask_Destroy(_arg0);
2311
2312 wxPy_END_ALLOW_THREADS;
493f1553 2313 if (PyErr_Occurred()) return NULL;
96bfd053
RD
2314} Py_INCREF(Py_None);
2315 _resultobj = Py_None;
2316 return _resultobj;
2317}
2318
9416aa89
RD
2319static void *SwigwxIconTowxGDIObject(void *ptr) {
2320 wxIcon *src;
2321 wxGDIObject *dest;
2322 src = (wxIcon *) ptr;
2323 dest = (wxGDIObject *) src;
2324 return (void *) dest;
2325}
2326
2327static void *SwigwxIconTowxObject(void *ptr) {
2328 wxIcon *src;
2329 wxObject *dest;
2330 src = (wxIcon *) ptr;
2331 dest = (wxObject *) src;
2332 return (void *) dest;
2333}
2334
9b3d3bc4
RD
2335#define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2336static PyObject *_wrap_new_wxIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2337 PyObject * _resultobj;
9b3d3bc4 2338 wxIcon * _result;
8ab979d7
RD
2339 wxString * _arg0;
2340 long _arg1;
9b3d3bc4
RD
2341 int _arg2 = (int ) -1;
2342 int _arg3 = (int ) -1;
8ab979d7 2343 PyObject * _obj0 = 0;
9b3d3bc4 2344 char *_kwnames[] = { "name","flags","desiredWidth","desiredHeight", NULL };
8ab979d7
RD
2345 char _ptemp[128];
2346
2347 self = self;
9b3d3bc4 2348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:new_wxIcon",_kwnames,&_obj0,&_arg1,&_arg2,&_arg3))
8ab979d7
RD
2349 return NULL;
2350{
185d7c3e
RD
2351#if PYTHON_API_VERSION >= 1009
2352 char* tmpPtr; int tmpSize;
2353 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
794c5cb1 2354 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
2355 return NULL;
2356 }
2357 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
2358 return NULL;
2359 _arg0 = new wxString(tmpPtr, tmpSize);
2360#else
8ab979d7
RD
2361 if (!PyString_Check(_obj0)) {
2362 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2363 return NULL;
2364 }
185d7c3e
RD
2365 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
2366#endif
8ab979d7 2367}
cf694132
RD
2368{
2369 wxPy_BEGIN_ALLOW_THREADS;
9b3d3bc4 2370 _result = (wxIcon *)new_wxIcon(*_arg0,_arg1,_arg2,_arg3);
cf694132
RD
2371
2372 wxPy_END_ALLOW_THREADS;
493f1553 2373 if (PyErr_Occurred()) return NULL;
1d99702e 2374} if (_result) {
9b3d3bc4 2375 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
1d99702e
RD
2376 _resultobj = Py_BuildValue("s",_ptemp);
2377 } else {
2378 Py_INCREF(Py_None);
2379 _resultobj = Py_None;
2380 }
8ab979d7
RD
2381{
2382 if (_obj0)
2383 delete _arg0;
2384}
2385 return _resultobj;
2386}
2387
9b3d3bc4
RD
2388#define delete_wxIcon(_swigobj) (delete _swigobj)
2389static PyObject *_wrap_delete_wxIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2390 PyObject * _resultobj;
9b3d3bc4 2391 wxIcon * _arg0;
1d99702e 2392 PyObject * _argo0 = 0;
1afc06c2 2393 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2394
2395 self = self;
9b3d3bc4 2396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxIcon",_kwnames,&_argo0))
8ab979d7 2397 return NULL;
1d99702e
RD
2398 if (_argo0) {
2399 if (_argo0 == Py_None) { _arg0 = NULL; }
9b3d3bc4
RD
2400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
8ab979d7
RD
2402 return NULL;
2403 }
2404 }
cf694132
RD
2405{
2406 wxPy_BEGIN_ALLOW_THREADS;
9b3d3bc4
RD
2407 delete_wxIcon(_arg0);
2408
2409 wxPy_END_ALLOW_THREADS;
493f1553 2410 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2411} Py_INCREF(Py_None);
2412 _resultobj = Py_None;
2413 return _resultobj;
2414}
2415
2416#define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
2417static PyObject *_wrap_wxIcon_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
2418 PyObject * _resultobj;
2419 bool _result;
2420 wxIcon * _arg0;
2421 wxString * _arg1;
2422 long _arg2;
2423 PyObject * _argo0 = 0;
2424 PyObject * _obj1 = 0;
2425 char *_kwnames[] = { "self","name","flags", NULL };
2426
2427 self = self;
2428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOl:wxIcon_LoadFile",_kwnames,&_argo0,&_obj1,&_arg2))
2429 return NULL;
2430 if (_argo0) {
2431 if (_argo0 == Py_None) { _arg0 = NULL; }
2432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
2434 return NULL;
2435 }
2436 }
2437{
185d7c3e
RD
2438#if PYTHON_API_VERSION >= 1009
2439 char* tmpPtr; int tmpSize;
2440 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 2441 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
2442 return NULL;
2443 }
2444 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2445 return NULL;
2446 _arg1 = new wxString(tmpPtr, tmpSize);
2447#else
9b3d3bc4
RD
2448 if (!PyString_Check(_obj1)) {
2449 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2450 return NULL;
2451 }
185d7c3e
RD
2452 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2453#endif
9b3d3bc4
RD
2454}
2455{
2456 wxPy_BEGIN_ALLOW_THREADS;
2457 _result = (bool )wxIcon_LoadFile(_arg0,*_arg1,_arg2);
2458
2459 wxPy_END_ALLOW_THREADS;
493f1553 2460 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2461} _resultobj = Py_BuildValue("i",_result);
2462{
2463 if (_obj1)
2464 delete _arg1;
2465}
2466 return _resultobj;
2467}
2468
2469#define wxIcon_GetHandle(_swigobj) (_swigobj->GetHandle())
2470static PyObject *_wrap_wxIcon_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
2471 PyObject * _resultobj;
2472 long _result;
2473 wxIcon * _arg0;
2474 PyObject * _argo0 = 0;
2475 char *_kwnames[] = { "self", NULL };
2476
2477 self = self;
2478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_GetHandle",_kwnames,&_argo0))
2479 return NULL;
2480 if (_argo0) {
2481 if (_argo0 == Py_None) { _arg0 = NULL; }
2482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_GetHandle. Expected _wxIcon_p.");
2484 return NULL;
2485 }
2486 }
2487{
2488 wxPy_BEGIN_ALLOW_THREADS;
2489 _result = (long )wxIcon_GetHandle(_arg0);
2490
2491 wxPy_END_ALLOW_THREADS;
493f1553 2492 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2493} _resultobj = Py_BuildValue("l",_result);
2494 return _resultobj;
2495}
2496
2497#define wxIcon_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
2498static PyObject *_wrap_wxIcon_SetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
2499 PyObject * _resultobj;
2500 wxIcon * _arg0;
2501 long _arg1;
2502 PyObject * _argo0 = 0;
2503 char *_kwnames[] = { "self","handle", NULL };
2504
2505 self = self;
2506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxIcon_SetHandle",_kwnames,&_argo0,&_arg1))
2507 return NULL;
2508 if (_argo0) {
2509 if (_argo0 == Py_None) { _arg0 = NULL; }
2510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetHandle. Expected _wxIcon_p.");
2512 return NULL;
2513 }
2514 }
2515{
2516 wxPy_BEGIN_ALLOW_THREADS;
2517 wxIcon_SetHandle(_arg0,_arg1);
2518
2519 wxPy_END_ALLOW_THREADS;
493f1553 2520 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2521} Py_INCREF(Py_None);
2522 _resultobj = Py_None;
2523 return _resultobj;
2524}
2525
2526#define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2527static PyObject *_wrap_wxIcon_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
2528 PyObject * _resultobj;
2529 bool _result;
2530 wxIcon * _arg0;
2531 PyObject * _argo0 = 0;
2532 char *_kwnames[] = { "self", NULL };
2533
2534 self = self;
2535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_Ok",_kwnames,&_argo0))
2536 return NULL;
2537 if (_argo0) {
2538 if (_argo0 == Py_None) { _arg0 = NULL; }
2539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
2541 return NULL;
2542 }
2543 }
2544{
2545 wxPy_BEGIN_ALLOW_THREADS;
2546 _result = (bool )wxIcon_Ok(_arg0);
2547
2548 wxPy_END_ALLOW_THREADS;
493f1553 2549 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2550} _resultobj = Py_BuildValue("i",_result);
2551 return _resultobj;
2552}
2553
2554#define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2555static PyObject *_wrap_wxIcon_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2556 PyObject * _resultobj;
2557 int _result;
2558 wxIcon * _arg0;
2559 PyObject * _argo0 = 0;
2560 char *_kwnames[] = { "self", NULL };
2561
2562 self = self;
2563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_GetWidth",_kwnames,&_argo0))
2564 return NULL;
2565 if (_argo0) {
2566 if (_argo0 == Py_None) { _arg0 = NULL; }
2567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2569 return NULL;
2570 }
2571 }
2572{
2573 wxPy_BEGIN_ALLOW_THREADS;
2574 _result = (int )wxIcon_GetWidth(_arg0);
2575
2576 wxPy_END_ALLOW_THREADS;
493f1553 2577 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2578} _resultobj = Py_BuildValue("i",_result);
2579 return _resultobj;
2580}
2581
2582#define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2583static PyObject *_wrap_wxIcon_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2584 PyObject * _resultobj;
2585 int _result;
2586 wxIcon * _arg0;
2587 PyObject * _argo0 = 0;
2588 char *_kwnames[] = { "self", NULL };
2589
2590 self = self;
2591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_GetHeight",_kwnames,&_argo0))
2592 return NULL;
2593 if (_argo0) {
2594 if (_argo0 == Py_None) { _arg0 = NULL; }
2595 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2596 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2597 return NULL;
2598 }
2599 }
2600{
2601 wxPy_BEGIN_ALLOW_THREADS;
2602 _result = (int )wxIcon_GetHeight(_arg0);
2603
2604 wxPy_END_ALLOW_THREADS;
493f1553 2605 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2606} _resultobj = Py_BuildValue("i",_result);
2607 return _resultobj;
2608}
2609
2610#define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2611static PyObject *_wrap_wxIcon_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
2612 PyObject * _resultobj;
2613 int _result;
2614 wxIcon * _arg0;
2615 PyObject * _argo0 = 0;
2616 char *_kwnames[] = { "self", NULL };
2617
2618 self = self;
2619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_GetDepth",_kwnames,&_argo0))
2620 return NULL;
2621 if (_argo0) {
2622 if (_argo0 == Py_None) { _arg0 = NULL; }
2623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2625 return NULL;
2626 }
2627 }
2628{
2629 wxPy_BEGIN_ALLOW_THREADS;
2630 _result = (int )wxIcon_GetDepth(_arg0);
2631
2632 wxPy_END_ALLOW_THREADS;
493f1553 2633 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2634} _resultobj = Py_BuildValue("i",_result);
2635 return _resultobj;
2636}
2637
2638#define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2639static PyObject *_wrap_wxIcon_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2640 PyObject * _resultobj;
2641 wxIcon * _arg0;
2642 int _arg1;
2643 PyObject * _argo0 = 0;
2644 char *_kwnames[] = { "self","w", NULL };
2645
2646 self = self;
2647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxIcon_SetWidth",_kwnames,&_argo0,&_arg1))
2648 return NULL;
2649 if (_argo0) {
2650 if (_argo0 == Py_None) { _arg0 = NULL; }
2651 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2653 return NULL;
2654 }
2655 }
2656{
2657 wxPy_BEGIN_ALLOW_THREADS;
2658 wxIcon_SetWidth(_arg0,_arg1);
2659
2660 wxPy_END_ALLOW_THREADS;
493f1553 2661 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2662} Py_INCREF(Py_None);
2663 _resultobj = Py_None;
2664 return _resultobj;
2665}
2666
2667#define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2668static PyObject *_wrap_wxIcon_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2669 PyObject * _resultobj;
2670 wxIcon * _arg0;
2671 int _arg1;
2672 PyObject * _argo0 = 0;
2673 char *_kwnames[] = { "self","h", NULL };
2674
2675 self = self;
2676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxIcon_SetHeight",_kwnames,&_argo0,&_arg1))
2677 return NULL;
2678 if (_argo0) {
2679 if (_argo0 == Py_None) { _arg0 = NULL; }
2680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2682 return NULL;
2683 }
2684 }
2685{
2686 wxPy_BEGIN_ALLOW_THREADS;
2687 wxIcon_SetHeight(_arg0,_arg1);
2688
2689 wxPy_END_ALLOW_THREADS;
493f1553 2690 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2691} Py_INCREF(Py_None);
2692 _resultobj = Py_None;
2693 return _resultobj;
2694}
2695
2696#define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2697static PyObject *_wrap_wxIcon_SetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
2698 PyObject * _resultobj;
2699 wxIcon * _arg0;
2700 int _arg1;
2701 PyObject * _argo0 = 0;
2702 char *_kwnames[] = { "self","d", NULL };
2703
2704 self = self;
2705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxIcon_SetDepth",_kwnames,&_argo0,&_arg1))
2706 return NULL;
2707 if (_argo0) {
2708 if (_argo0 == Py_None) { _arg0 = NULL; }
2709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2711 return NULL;
2712 }
2713 }
2714{
2715 wxPy_BEGIN_ALLOW_THREADS;
2716 wxIcon_SetDepth(_arg0,_arg1);
2717
2718 wxPy_END_ALLOW_THREADS;
493f1553 2719 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2720} Py_INCREF(Py_None);
2721 _resultobj = Py_None;
2722 return _resultobj;
2723}
2724
2725#define wxIcon_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2726static PyObject *_wrap_wxIcon_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2727 PyObject * _resultobj;
2728 wxIcon * _arg0;
2729 wxSize * _arg1;
2730 PyObject * _argo0 = 0;
2731 wxSize temp;
2732 PyObject * _obj1 = 0;
2733 char *_kwnames[] = { "self","size", NULL };
2734
2735 self = self;
2736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxIcon_SetSize",_kwnames,&_argo0,&_obj1))
2737 return NULL;
2738 if (_argo0) {
2739 if (_argo0 == Py_None) { _arg0 = NULL; }
2740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetSize. Expected _wxIcon_p.");
2742 return NULL;
2743 }
2744 }
2745{
2746 _arg1 = &temp;
2747 if (! wxSize_helper(_obj1, &_arg1))
2748 return NULL;
2749}
2750{
2751 wxPy_BEGIN_ALLOW_THREADS;
2752 wxIcon_SetSize(_arg0,*_arg1);
2753
2754 wxPy_END_ALLOW_THREADS;
493f1553 2755 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2756} Py_INCREF(Py_None);
2757 _resultobj = Py_None;
2758 return _resultobj;
2759}
2760
96bfd053
RD
2761#define wxIcon_CopyFromBitmap(_swigobj,_swigarg0) (_swigobj->CopyFromBitmap(_swigarg0))
2762static PyObject *_wrap_wxIcon_CopyFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2763 PyObject * _resultobj;
2764 wxIcon * _arg0;
2765 wxBitmap * _arg1;
2766 PyObject * _argo0 = 0;
2767 PyObject * _argo1 = 0;
2768 char *_kwnames[] = { "self","bmp", NULL };
2769
2770 self = self;
2771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxIcon_CopyFromBitmap",_kwnames,&_argo0,&_argo1))
2772 return NULL;
2773 if (_argo0) {
2774 if (_argo0 == Py_None) { _arg0 = NULL; }
2775 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2776 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_CopyFromBitmap. Expected _wxIcon_p.");
2777 return NULL;
2778 }
2779 }
2780 if (_argo1) {
2781 if (_argo1 == Py_None) { _arg1 = NULL; }
2782 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
2783 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIcon_CopyFromBitmap. Expected _wxBitmap_p.");
2784 return NULL;
2785 }
2786 }
2787{
2788 wxPy_BEGIN_ALLOW_THREADS;
2789 wxIcon_CopyFromBitmap(_arg0,*_arg1);
2790
2791 wxPy_END_ALLOW_THREADS;
493f1553 2792 if (PyErr_Occurred()) return NULL;
96bfd053
RD
2793} Py_INCREF(Py_None);
2794 _resultobj = Py_None;
2795 return _resultobj;
2796}
2797
9416aa89
RD
2798static void *SwigwxCursorTowxGDIObject(void *ptr) {
2799 wxCursor *src;
2800 wxGDIObject *dest;
2801 src = (wxCursor *) ptr;
2802 dest = (wxGDIObject *) src;
2803 return (void *) dest;
2804}
2805
2806static void *SwigwxCursorTowxObject(void *ptr) {
2807 wxCursor *src;
2808 wxObject *dest;
2809 src = (wxCursor *) ptr;
2810 dest = (wxObject *) src;
2811 return (void *) dest;
2812}
2813
9b3d3bc4
RD
2814#define new_wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2815static PyObject *_wrap_new_wxCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
2816 PyObject * _resultobj;
2817 wxCursor * _result;
2818 wxString * _arg0;
2819 long _arg1;
2820 int _arg2 = (int ) 0;
2821 int _arg3 = (int ) 0;
2822 PyObject * _obj0 = 0;
2823 char *_kwnames[] = { "cursorName","flags","hotSpotX","hotSpotY", NULL };
2824 char _ptemp[128];
2825
2826 self = self;
2827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:new_wxCursor",_kwnames,&_obj0,&_arg1,&_arg2,&_arg3))
2828 return NULL;
2829{
185d7c3e
RD
2830#if PYTHON_API_VERSION >= 1009
2831 char* tmpPtr; int tmpSize;
2832 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
794c5cb1 2833 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
2834 return NULL;
2835 }
2836 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
2837 return NULL;
2838 _arg0 = new wxString(tmpPtr, tmpSize);
2839#else
9b3d3bc4
RD
2840 if (!PyString_Check(_obj0)) {
2841 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2842 return NULL;
2843 }
185d7c3e
RD
2844 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
2845#endif
9b3d3bc4
RD
2846}
2847{
2848 wxPy_BEGIN_ALLOW_THREADS;
2849 _result = (wxCursor *)new_wxCursor(*_arg0,_arg1,_arg2,_arg3);
2850
2851 wxPy_END_ALLOW_THREADS;
493f1553 2852 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2853} if (_result) {
2854 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCursor_p");
2855 _resultobj = Py_BuildValue("s",_ptemp);
2856 } else {
2857 Py_INCREF(Py_None);
2858 _resultobj = Py_None;
2859 }
2860{
2861 if (_obj0)
2862 delete _arg0;
2863}
2864 return _resultobj;
2865}
2866
2867#define delete_wxCursor(_swigobj) (delete _swigobj)
2868static PyObject *_wrap_delete_wxCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
2869 PyObject * _resultobj;
2870 wxCursor * _arg0;
2871 PyObject * _argo0 = 0;
2872 char *_kwnames[] = { "self", NULL };
2873
2874 self = self;
2875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxCursor",_kwnames,&_argo0))
2876 return NULL;
2877 if (_argo0) {
2878 if (_argo0 == Py_None) { _arg0 = NULL; }
2879 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
2880 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
2881 return NULL;
2882 }
2883 }
2884{
2885 wxPy_BEGIN_ALLOW_THREADS;
2886 delete_wxCursor(_arg0);
2887
2888 wxPy_END_ALLOW_THREADS;
493f1553 2889 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2890} Py_INCREF(Py_None);
2891 _resultobj = Py_None;
2892 return _resultobj;
2893}
2894
2895#define wxCursor_GetHandle(_swigobj) (_swigobj->GetHandle())
2896static PyObject *_wrap_wxCursor_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
2897 PyObject * _resultobj;
2898 long _result;
2899 wxCursor * _arg0;
2900 PyObject * _argo0 = 0;
2901 char *_kwnames[] = { "self", NULL };
2902
2903 self = self;
2904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCursor_GetHandle",_kwnames,&_argo0))
2905 return NULL;
2906 if (_argo0) {
2907 if (_argo0 == Py_None) { _arg0 = NULL; }
2908 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
2909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_GetHandle. Expected _wxCursor_p.");
2910 return NULL;
2911 }
2912 }
2913{
2914 wxPy_BEGIN_ALLOW_THREADS;
2915 _result = (long )wxCursor_GetHandle(_arg0);
2916
2917 wxPy_END_ALLOW_THREADS;
493f1553 2918 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2919} _resultobj = Py_BuildValue("l",_result);
2920 return _resultobj;
2921}
2922
2923#define wxCursor_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
2924static PyObject *_wrap_wxCursor_SetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
2925 PyObject * _resultobj;
2926 wxCursor * _arg0;
2927 long _arg1;
2928 PyObject * _argo0 = 0;
2929 char *_kwnames[] = { "self","handle", NULL };
2930
2931 self = self;
2932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxCursor_SetHandle",_kwnames,&_argo0,&_arg1))
2933 return NULL;
2934 if (_argo0) {
2935 if (_argo0 == Py_None) { _arg0 = NULL; }
2936 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
2937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_SetHandle. Expected _wxCursor_p.");
2938 return NULL;
2939 }
2940 }
2941{
2942 wxPy_BEGIN_ALLOW_THREADS;
2943 wxCursor_SetHandle(_arg0,_arg1);
2944
2945 wxPy_END_ALLOW_THREADS;
493f1553 2946 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2947} Py_INCREF(Py_None);
2948 _resultobj = Py_None;
2949 return _resultobj;
2950}
2951
2952#define wxCursor_Ok(_swigobj) (_swigobj->Ok())
2953static PyObject *_wrap_wxCursor_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
2954 PyObject * _resultobj;
2955 bool _result;
2956 wxCursor * _arg0;
2957 PyObject * _argo0 = 0;
2958 char *_kwnames[] = { "self", NULL };
2959
2960 self = self;
2961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCursor_Ok",_kwnames,&_argo0))
2962 return NULL;
2963 if (_argo0) {
2964 if (_argo0 == Py_None) { _arg0 = NULL; }
2965 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
2966 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2967 return NULL;
2968 }
2969 }
2970{
2971 wxPy_BEGIN_ALLOW_THREADS;
2972 _result = (bool )wxCursor_Ok(_arg0);
2973
2974 wxPy_END_ALLOW_THREADS;
493f1553 2975 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2976} _resultobj = Py_BuildValue("i",_result);
2977 return _resultobj;
2978}
2979
2980#define wxCursor_GetWidth(_swigobj) (_swigobj->GetWidth())
2981static PyObject *_wrap_wxCursor_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2982 PyObject * _resultobj;
2983 int _result;
2984 wxCursor * _arg0;
2985 PyObject * _argo0 = 0;
2986 char *_kwnames[] = { "self", NULL };
2987
2988 self = self;
2989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCursor_GetWidth",_kwnames,&_argo0))
2990 return NULL;
2991 if (_argo0) {
2992 if (_argo0 == Py_None) { _arg0 = NULL; }
2993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
2994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_GetWidth. Expected _wxCursor_p.");
2995 return NULL;
2996 }
2997 }
2998{
2999 wxPy_BEGIN_ALLOW_THREADS;
3000 _result = (int )wxCursor_GetWidth(_arg0);
3001
3002 wxPy_END_ALLOW_THREADS;
493f1553 3003 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3004} _resultobj = Py_BuildValue("i",_result);
3005 return _resultobj;
3006}
3007
3008#define wxCursor_GetHeight(_swigobj) (_swigobj->GetHeight())
3009static PyObject *_wrap_wxCursor_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3010 PyObject * _resultobj;
3011 int _result;
3012 wxCursor * _arg0;
3013 PyObject * _argo0 = 0;
3014 char *_kwnames[] = { "self", NULL };
3015
3016 self = self;
3017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCursor_GetHeight",_kwnames,&_argo0))
3018 return NULL;
3019 if (_argo0) {
3020 if (_argo0 == Py_None) { _arg0 = NULL; }
3021 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_GetHeight. Expected _wxCursor_p.");
3023 return NULL;
3024 }
3025 }
3026{
3027 wxPy_BEGIN_ALLOW_THREADS;
3028 _result = (int )wxCursor_GetHeight(_arg0);
3029
3030 wxPy_END_ALLOW_THREADS;
493f1553 3031 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3032} _resultobj = Py_BuildValue("i",_result);
3033 return _resultobj;
3034}
3035
3036#define wxCursor_GetDepth(_swigobj) (_swigobj->GetDepth())
3037static PyObject *_wrap_wxCursor_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3038 PyObject * _resultobj;
3039 int _result;
3040 wxCursor * _arg0;
3041 PyObject * _argo0 = 0;
3042 char *_kwnames[] = { "self", NULL };
3043
3044 self = self;
3045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCursor_GetDepth",_kwnames,&_argo0))
3046 return NULL;
3047 if (_argo0) {
3048 if (_argo0 == Py_None) { _arg0 = NULL; }
3049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_GetDepth. Expected _wxCursor_p.");
3051 return NULL;
3052 }
3053 }
3054{
3055 wxPy_BEGIN_ALLOW_THREADS;
3056 _result = (int )wxCursor_GetDepth(_arg0);
3057
3058 wxPy_END_ALLOW_THREADS;
493f1553 3059 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3060} _resultobj = Py_BuildValue("i",_result);
3061 return _resultobj;
3062}
3063
3064#define wxCursor_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
3065static PyObject *_wrap_wxCursor_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3066 PyObject * _resultobj;
3067 wxCursor * _arg0;
3068 int _arg1;
3069 PyObject * _argo0 = 0;
3070 char *_kwnames[] = { "self","w", NULL };
3071
3072 self = self;
3073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCursor_SetWidth",_kwnames,&_argo0,&_arg1))
3074 return NULL;
3075 if (_argo0) {
3076 if (_argo0 == Py_None) { _arg0 = NULL; }
3077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_SetWidth. Expected _wxCursor_p.");
3079 return NULL;
3080 }
3081 }
3082{
3083 wxPy_BEGIN_ALLOW_THREADS;
3084 wxCursor_SetWidth(_arg0,_arg1);
3085
3086 wxPy_END_ALLOW_THREADS;
493f1553 3087 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3088} Py_INCREF(Py_None);
3089 _resultobj = Py_None;
3090 return _resultobj;
3091}
3092
3093#define wxCursor_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
3094static PyObject *_wrap_wxCursor_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3095 PyObject * _resultobj;
3096 wxCursor * _arg0;
3097 int _arg1;
3098 PyObject * _argo0 = 0;
3099 char *_kwnames[] = { "self","h", NULL };
3100
3101 self = self;
3102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCursor_SetHeight",_kwnames,&_argo0,&_arg1))
3103 return NULL;
3104 if (_argo0) {
3105 if (_argo0 == Py_None) { _arg0 = NULL; }
3106 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3107 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_SetHeight. Expected _wxCursor_p.");
3108 return NULL;
3109 }
3110 }
3111{
3112 wxPy_BEGIN_ALLOW_THREADS;
3113 wxCursor_SetHeight(_arg0,_arg1);
3114
3115 wxPy_END_ALLOW_THREADS;
493f1553 3116 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3117} Py_INCREF(Py_None);
3118 _resultobj = Py_None;
3119 return _resultobj;
3120}
3121
3122#define wxCursor_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
3123static PyObject *_wrap_wxCursor_SetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3124 PyObject * _resultobj;
3125 wxCursor * _arg0;
3126 int _arg1;
3127 PyObject * _argo0 = 0;
3128 char *_kwnames[] = { "self","d", NULL };
3129
3130 self = self;
3131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCursor_SetDepth",_kwnames,&_argo0,&_arg1))
3132 return NULL;
3133 if (_argo0) {
3134 if (_argo0 == Py_None) { _arg0 = NULL; }
3135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_SetDepth. Expected _wxCursor_p.");
3137 return NULL;
3138 }
3139 }
3140{
3141 wxPy_BEGIN_ALLOW_THREADS;
3142 wxCursor_SetDepth(_arg0,_arg1);
3143
3144 wxPy_END_ALLOW_THREADS;
493f1553 3145 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3146} Py_INCREF(Py_None);
3147 _resultobj = Py_None;
3148 return _resultobj;
3149}
3150
3151#define wxCursor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3152static PyObject *_wrap_wxCursor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3153 PyObject * _resultobj;
3154 wxCursor * _arg0;
3155 wxSize * _arg1;
3156 PyObject * _argo0 = 0;
3157 wxSize temp;
3158 PyObject * _obj1 = 0;
3159 char *_kwnames[] = { "self","size", NULL };
3160
3161 self = self;
3162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCursor_SetSize",_kwnames,&_argo0,&_obj1))
3163 return NULL;
3164 if (_argo0) {
3165 if (_argo0 == Py_None) { _arg0 = NULL; }
3166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_SetSize. Expected _wxCursor_p.");
3168 return NULL;
3169 }
3170 }
3171{
3172 _arg1 = &temp;
3173 if (! wxSize_helper(_obj1, &_arg1))
3174 return NULL;
3175}
3176{
3177 wxPy_BEGIN_ALLOW_THREADS;
3178 wxCursor_SetSize(_arg0,*_arg1);
cf694132
RD
3179
3180 wxPy_END_ALLOW_THREADS;
493f1553 3181 if (PyErr_Occurred()) return NULL;
cf694132 3182} Py_INCREF(Py_None);
8ab979d7
RD
3183 _resultobj = Py_None;
3184 return _resultobj;
3185}
3186
6d8b4f8d
RD
3187#define wxNativeFontInfo_FromString(_swigobj,_swigarg0) (_swigobj->FromString(_swigarg0))
3188static PyObject *_wrap_wxNativeFontInfo_FromString(PyObject *self, PyObject *args, PyObject *kwargs) {
3189 PyObject * _resultobj;
3190 bool _result;
3191 wxNativeFontInfo * _arg0;
3192 wxString * _arg1;
3193 PyObject * _argo0 = 0;
3194 PyObject * _obj1 = 0;
3195 char *_kwnames[] = { "self","s", NULL };
3196
3197 self = self;
3198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNativeFontInfo_FromString",_kwnames,&_argo0,&_obj1))
3199 return NULL;
3200 if (_argo0) {
3201 if (_argo0 == Py_None) { _arg0 = NULL; }
3202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
3203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo_FromString. Expected _wxNativeFontInfo_p.");
3204 return NULL;
3205 }
3206 }
3207{
3208#if PYTHON_API_VERSION >= 1009
3209 char* tmpPtr; int tmpSize;
3210 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
3211 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3212 return NULL;
3213 }
3214 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3215 return NULL;
3216 _arg1 = new wxString(tmpPtr, tmpSize);
3217#else
3218 if (!PyString_Check(_obj1)) {
3219 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3220 return NULL;
3221 }
3222 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3223#endif
9416aa89 3224}
6d8b4f8d
RD
3225{
3226 wxPy_BEGIN_ALLOW_THREADS;
3227 _result = (bool )wxNativeFontInfo_FromString(_arg0,*_arg1);
9416aa89 3228
6d8b4f8d
RD
3229 wxPy_END_ALLOW_THREADS;
3230 if (PyErr_Occurred()) return NULL;
3231} _resultobj = Py_BuildValue("i",_result);
3232{
3233 if (_obj1)
3234 delete _arg1;
3235}
3236 return _resultobj;
9416aa89
RD
3237}
3238
6d8b4f8d
RD
3239#define wxNativeFontInfo_ToString(_swigobj) (_swigobj->ToString())
3240static PyObject *_wrap_wxNativeFontInfo_ToString(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3241 PyObject * _resultobj;
6d8b4f8d
RD
3242 wxString * _result;
3243 wxNativeFontInfo * _arg0;
3244 PyObject * _argo0 = 0;
3245 char *_kwnames[] = { "self", NULL };
3246
3247 self = self;
3248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNativeFontInfo_ToString",_kwnames,&_argo0))
3249 return NULL;
3250 if (_argo0) {
3251 if (_argo0 == Py_None) { _arg0 = NULL; }
3252 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
3253 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo_ToString. Expected _wxNativeFontInfo_p.");
3254 return NULL;
3255 }
3256 }
3257{
3258 wxPy_BEGIN_ALLOW_THREADS;
3259 _result = new wxString (wxNativeFontInfo_ToString(_arg0));
3260
3261 wxPy_END_ALLOW_THREADS;
3262 if (PyErr_Occurred()) return NULL;
3263}{
3264 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3265}
3266{
3267 delete _result;
3268}
3269 return _resultobj;
3270}
3271
3272static wxString wxNativeFontInfo___str__(wxNativeFontInfo *self) {
3273 return self->ToString();
3274 }
3275static PyObject *_wrap_wxNativeFontInfo___str__(PyObject *self, PyObject *args, PyObject *kwargs) {
3276 PyObject * _resultobj;
3277 wxString * _result;
3278 wxNativeFontInfo * _arg0;
3279 PyObject * _argo0 = 0;
3280 char *_kwnames[] = { "self", NULL };
3281
3282 self = self;
3283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNativeFontInfo___str__",_kwnames,&_argo0))
3284 return NULL;
3285 if (_argo0) {
3286 if (_argo0 == Py_None) { _arg0 = NULL; }
3287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
3288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNativeFontInfo___str__. Expected _wxNativeFontInfo_p.");
3289 return NULL;
3290 }
3291 }
3292{
3293 wxPy_BEGIN_ALLOW_THREADS;
3294 _result = new wxString (wxNativeFontInfo___str__(_arg0));
3295
3296 wxPy_END_ALLOW_THREADS;
3297 if (PyErr_Occurred()) return NULL;
3298}{
3299 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3300}
3301{
3302 delete _result;
3303}
3304 return _resultobj;
3305}
3306
3307#define new_wxFontMapper() (new wxFontMapper())
3308static PyObject *_wrap_new_wxFontMapper(PyObject *self, PyObject *args, PyObject *kwargs) {
3309 PyObject * _resultobj;
3310 wxFontMapper * _result;
3311 char *_kwnames[] = { NULL };
8ab979d7
RD
3312 char _ptemp[128];
3313
3314 self = self;
6d8b4f8d 3315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxFontMapper",_kwnames))
8ab979d7 3316 return NULL;
cf694132
RD
3317{
3318 wxPy_BEGIN_ALLOW_THREADS;
6d8b4f8d 3319 _result = (wxFontMapper *)new_wxFontMapper();
cf694132
RD
3320
3321 wxPy_END_ALLOW_THREADS;
493f1553 3322 if (PyErr_Occurred()) return NULL;
1d99702e 3323} if (_result) {
6d8b4f8d 3324 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFontMapper_p");
1d99702e
RD
3325 _resultobj = Py_BuildValue("s",_ptemp);
3326 } else {
3327 Py_INCREF(Py_None);
3328 _resultobj = Py_None;
3329 }
8ab979d7
RD
3330 return _resultobj;
3331}
3332
6d8b4f8d
RD
3333#define delete_wxFontMapper(_swigobj) (delete _swigobj)
3334static PyObject *_wrap_delete_wxFontMapper(PyObject *self, PyObject *args, PyObject *kwargs) {
0569df0f 3335 PyObject * _resultobj;
6d8b4f8d 3336 wxFontMapper * _arg0;
0569df0f
RD
3337 PyObject * _argo0 = 0;
3338 char *_kwnames[] = { "self", NULL };
3339
3340 self = self;
6d8b4f8d 3341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFontMapper",_kwnames,&_argo0))
0569df0f
RD
3342 return NULL;
3343 if (_argo0) {
3344 if (_argo0 == Py_None) { _arg0 = NULL; }
6d8b4f8d
RD
3345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontMapper_p")) {
3346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFontMapper. Expected _wxFontMapper_p.");
0569df0f
RD
3347 return NULL;
3348 }
3349 }
3350{
3351 wxPy_BEGIN_ALLOW_THREADS;
6d8b4f8d 3352 delete_wxFontMapper(_arg0);
0569df0f
RD
3353
3354 wxPy_END_ALLOW_THREADS;
493f1553 3355 if (PyErr_Occurred()) return NULL;
0569df0f
RD
3356} Py_INCREF(Py_None);
3357 _resultobj = Py_None;
3358 return _resultobj;
3359}
3360
6d8b4f8d
RD
3361static PyObject * wxFontMapper_GetAltForEncoding(wxFontMapper *self,wxFontEncoding encoding,const wxString & facename,bool interactive) {
3362 wxFontEncoding alt_enc;
3363 if (self->GetAltForEncoding(encoding, &alt_enc, facename, interactive))
3364 return PyInt_FromLong(alt_enc);
3365 else {
3366 Py_INCREF(Py_None);
3367 return Py_None;
3368 }
3369 }
3370static PyObject *_wrap_wxFontMapper_GetAltForEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
694759cf 3371 PyObject * _resultobj;
6d8b4f8d
RD
3372 PyObject * _result;
3373 wxFontMapper * _arg0;
3374 wxFontEncoding _arg1;
3375 wxString * _arg2 = (wxString *) &wxEmptyString;
3376 bool _arg3 = (bool ) TRUE;
694759cf 3377 PyObject * _argo0 = 0;
6d8b4f8d
RD
3378 PyObject * _obj2 = 0;
3379 int tempbool3 = (int) TRUE;
3380 char *_kwnames[] = { "self","encoding","facename","interactive", NULL };
694759cf
RD
3381
3382 self = self;
6d8b4f8d 3383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|Oi:wxFontMapper_GetAltForEncoding",_kwnames,&_argo0,&_arg1,&_obj2,&tempbool3))
694759cf
RD
3384 return NULL;
3385 if (_argo0) {
3386 if (_argo0 == Py_None) { _arg0 = NULL; }
6d8b4f8d
RD
3387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontMapper_p")) {
3388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontMapper_GetAltForEncoding. Expected _wxFontMapper_p.");
694759cf
RD
3389 return NULL;
3390 }
3391 }
6d8b4f8d
RD
3392 if (_obj2)
3393{
3394#if PYTHON_API_VERSION >= 1009
3395 char* tmpPtr; int tmpSize;
3396 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
3397 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3398 return NULL;
3399 }
3400 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
3401 return NULL;
3402 _arg2 = new wxString(tmpPtr, tmpSize);
3403#else
3404 if (!PyString_Check(_obj2)) {
3405 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3406 return NULL;
3407 }
3408 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
3409#endif
3410}
3411 _arg3 = (bool ) tempbool3;
694759cf
RD
3412{
3413 wxPy_BEGIN_ALLOW_THREADS;
6d8b4f8d 3414 _result = (PyObject *)wxFontMapper_GetAltForEncoding(_arg0,_arg1,*_arg2,_arg3);
694759cf
RD
3415
3416 wxPy_END_ALLOW_THREADS;
493f1553 3417 if (PyErr_Occurred()) return NULL;
6d8b4f8d
RD
3418}{
3419 _resultobj = _result;
3420}
3421{
3422 if (_obj2)
3423 delete _arg2;
3424}
694759cf
RD
3425 return _resultobj;
3426}
3427
6d8b4f8d
RD
3428#define wxFontMapper_IsEncodingAvailable(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEncodingAvailable(_swigarg0,_swigarg1))
3429static PyObject *_wrap_wxFontMapper_IsEncodingAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3430 PyObject * _resultobj;
6d8b4f8d
RD
3431 bool _result;
3432 wxFontMapper * _arg0;
3433 wxFontEncoding _arg1;
3434 wxString * _arg2 = (wxString *) &wxEmptyString;
1d99702e 3435 PyObject * _argo0 = 0;
6d8b4f8d
RD
3436 PyObject * _obj2 = 0;
3437 char *_kwnames[] = { "self","encoding","facename", NULL };
8ab979d7
RD
3438
3439 self = self;
6d8b4f8d 3440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxFontMapper_IsEncodingAvailable",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 3441 return NULL;
1d99702e
RD
3442 if (_argo0) {
3443 if (_argo0 == Py_None) { _arg0 = NULL; }
6d8b4f8d
RD
3444 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontMapper_p")) {
3445 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontMapper_IsEncodingAvailable. Expected _wxFontMapper_p.");
8ab979d7
RD
3446 return NULL;
3447 }
3448 }
6d8b4f8d
RD
3449 if (_obj2)
3450{
3451#if PYTHON_API_VERSION >= 1009
3452 char* tmpPtr; int tmpSize;
3453 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
3454 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3455 return NULL;
3456 }
3457 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
3458 return NULL;
3459 _arg2 = new wxString(tmpPtr, tmpSize);
3460#else
3461 if (!PyString_Check(_obj2)) {
3462 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3463 return NULL;
3464 }
3465 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
3466#endif
3467}
8ab979d7 3468{
cf694132 3469 wxPy_BEGIN_ALLOW_THREADS;
6d8b4f8d 3470 _result = (bool )wxFontMapper_IsEncodingAvailable(_arg0,_arg1,*_arg2);
cf694132
RD
3471
3472 wxPy_END_ALLOW_THREADS;
493f1553 3473 if (PyErr_Occurred()) return NULL;
6d8b4f8d 3474} _resultobj = Py_BuildValue("i",_result);
8ab979d7 3475{
6d8b4f8d
RD
3476 if (_obj2)
3477 delete _arg2;
8ab979d7
RD
3478}
3479 return _resultobj;
3480}
3481
6d8b4f8d
RD
3482#define wxFontMapper_CharsetToEncoding(_swigobj,_swigarg0,_swigarg1) (_swigobj->CharsetToEncoding(_swigarg0,_swigarg1))
3483static PyObject *_wrap_wxFontMapper_CharsetToEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3484 PyObject * _resultobj;
6d8b4f8d
RD
3485 wxFontEncoding _result;
3486 wxFontMapper * _arg0;
3487 wxString * _arg1;
3488 bool _arg2 = (bool ) TRUE;
1d99702e 3489 PyObject * _argo0 = 0;
6d8b4f8d
RD
3490 PyObject * _obj1 = 0;
3491 int tempbool2 = (int) TRUE;
3492 char *_kwnames[] = { "self","charset","interactive", NULL };
8ab979d7
RD
3493
3494 self = self;
6d8b4f8d 3495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxFontMapper_CharsetToEncoding",_kwnames,&_argo0,&_obj1,&tempbool2))
8ab979d7 3496 return NULL;
1d99702e
RD
3497 if (_argo0) {
3498 if (_argo0 == Py_None) { _arg0 = NULL; }
6d8b4f8d
RD
3499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontMapper_p")) {
3500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontMapper_CharsetToEncoding. Expected _wxFontMapper_p.");
3501 return NULL;
3502 }
3503 }
3504{
3505#if PYTHON_API_VERSION >= 1009
3506 char* tmpPtr; int tmpSize;
3507 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
3508 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3509 return NULL;
3510 }
3511 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3512 return NULL;
3513 _arg1 = new wxString(tmpPtr, tmpSize);
3514#else
3515 if (!PyString_Check(_obj1)) {
3516 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3517 return NULL;
3518 }
3519 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3520#endif
3521}
3522 _arg2 = (bool ) tempbool2;
3523{
3524 wxPy_BEGIN_ALLOW_THREADS;
3525 _result = (wxFontEncoding )wxFontMapper_CharsetToEncoding(_arg0,*_arg1,_arg2);
3526
3527 wxPy_END_ALLOW_THREADS;
3528 if (PyErr_Occurred()) return NULL;
3529} _resultobj = Py_BuildValue("i",_result);
3530{
3531 if (_obj1)
3532 delete _arg1;
3533}
3534 return _resultobj;
3535}
3536
3537static PyObject *_wrap_wxFontMapper_GetEncodingName(PyObject *self, PyObject *args, PyObject *kwargs) {
3538 PyObject * _resultobj;
3539 wxString * _result;
3540 wxFontEncoding _arg0;
3541 char *_kwnames[] = { "encoding", NULL };
3542
3543 self = self;
3544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxFontMapper_GetEncodingName",_kwnames,&_arg0))
3545 return NULL;
3546{
3547 wxPy_BEGIN_ALLOW_THREADS;
3548 _result = new wxString (wxFontMapper::GetEncodingName(_arg0));
3549
3550 wxPy_END_ALLOW_THREADS;
3551 if (PyErr_Occurred()) return NULL;
3552}{
3553 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3554}
3555{
3556 delete _result;
3557}
3558 return _resultobj;
3559}
3560
3561static PyObject *_wrap_wxFontMapper_GetEncodingDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
3562 PyObject * _resultobj;
3563 wxString * _result;
3564 wxFontEncoding _arg0;
3565 char *_kwnames[] = { "encoding", NULL };
3566
3567 self = self;
3568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxFontMapper_GetEncodingDescription",_kwnames,&_arg0))
3569 return NULL;
3570{
3571 wxPy_BEGIN_ALLOW_THREADS;
3572 _result = new wxString (wxFontMapper::GetEncodingDescription(_arg0));
3573
3574 wxPy_END_ALLOW_THREADS;
3575 if (PyErr_Occurred()) return NULL;
3576}{
3577 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3578}
3579{
3580 delete _result;
3581}
3582 return _resultobj;
3583}
3584
3585#define wxFontMapper_SetDialogParent(_swigobj,_swigarg0) (_swigobj->SetDialogParent(_swigarg0))
3586static PyObject *_wrap_wxFontMapper_SetDialogParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3587 PyObject * _resultobj;
3588 wxFontMapper * _arg0;
3589 wxWindow * _arg1;
3590 PyObject * _argo0 = 0;
3591 PyObject * _argo1 = 0;
3592 char *_kwnames[] = { "self","parent", NULL };
3593
3594 self = self;
3595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontMapper_SetDialogParent",_kwnames,&_argo0,&_argo1))
3596 return NULL;
3597 if (_argo0) {
3598 if (_argo0 == Py_None) { _arg0 = NULL; }
3599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontMapper_p")) {
3600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontMapper_SetDialogParent. Expected _wxFontMapper_p.");
3601 return NULL;
3602 }
3603 }
3604 if (_argo1) {
3605 if (_argo1 == Py_None) { _arg1 = NULL; }
3606 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3607 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontMapper_SetDialogParent. Expected _wxWindow_p.");
3608 return NULL;
3609 }
3610 }
3611{
3612 wxPy_BEGIN_ALLOW_THREADS;
3613 wxFontMapper_SetDialogParent(_arg0,_arg1);
3614
3615 wxPy_END_ALLOW_THREADS;
3616 if (PyErr_Occurred()) return NULL;
3617} Py_INCREF(Py_None);
3618 _resultobj = Py_None;
3619 return _resultobj;
3620}
3621
3622#define wxFontMapper_SetDialogTitle(_swigobj,_swigarg0) (_swigobj->SetDialogTitle(_swigarg0))
3623static PyObject *_wrap_wxFontMapper_SetDialogTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
3624 PyObject * _resultobj;
3625 wxFontMapper * _arg0;
3626 wxString * _arg1;
3627 PyObject * _argo0 = 0;
3628 PyObject * _obj1 = 0;
3629 char *_kwnames[] = { "self","title", NULL };
3630
3631 self = self;
3632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontMapper_SetDialogTitle",_kwnames,&_argo0,&_obj1))
3633 return NULL;
3634 if (_argo0) {
3635 if (_argo0 == Py_None) { _arg0 = NULL; }
3636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontMapper_p")) {
3637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontMapper_SetDialogTitle. Expected _wxFontMapper_p.");
3638 return NULL;
3639 }
3640 }
3641{
3642#if PYTHON_API_VERSION >= 1009
3643 char* tmpPtr; int tmpSize;
3644 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
3645 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3646 return NULL;
3647 }
3648 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3649 return NULL;
3650 _arg1 = new wxString(tmpPtr, tmpSize);
3651#else
3652 if (!PyString_Check(_obj1)) {
3653 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3654 return NULL;
3655 }
3656 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3657#endif
3658}
3659{
3660 wxPy_BEGIN_ALLOW_THREADS;
3661 wxFontMapper_SetDialogTitle(_arg0,*_arg1);
3662
3663 wxPy_END_ALLOW_THREADS;
3664 if (PyErr_Occurred()) return NULL;
3665} Py_INCREF(Py_None);
3666 _resultobj = Py_None;
3667{
3668 if (_obj1)
3669 delete _arg1;
3670}
3671 return _resultobj;
3672}
3673
3674#define wxFontMapper_SetConfig(_swigobj,_swigarg0) (_swigobj->SetConfig(_swigarg0))
3675static PyObject *_wrap_wxFontMapper_SetConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
3676 PyObject * _resultobj;
3677 wxFontMapper * _arg0;
3678 wxConfigBase * _arg1;
3679 PyObject * _argo0 = 0;
3680 PyObject * _argo1 = 0;
3681 char *_kwnames[] = { "self","config", NULL };
3682
3683 self = self;
3684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontMapper_SetConfig",_kwnames,&_argo0,&_argo1))
3685 return NULL;
3686 if (_argo0) {
3687 if (_argo0 == Py_None) { _arg0 = NULL; }
3688 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontMapper_p")) {
3689 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontMapper_SetConfig. Expected _wxFontMapper_p.");
3690 return NULL;
3691 }
3692 }
3693 if (_argo1) {
3694 if (_argo1 == Py_None) { _arg1 = NULL; }
3695 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
3696 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontMapper_SetConfig. Expected _wxConfigBase_p.");
3697 return NULL;
3698 }
3699 }
3700{
3701 wxPy_BEGIN_ALLOW_THREADS;
3702 wxFontMapper_SetConfig(_arg0,_arg1);
3703
3704 wxPy_END_ALLOW_THREADS;
3705 if (PyErr_Occurred()) return NULL;
3706} Py_INCREF(Py_None);
3707 _resultobj = Py_None;
3708 return _resultobj;
3709}
3710
3711#define wxFontMapper_SetConfigPath(_swigobj,_swigarg0) (_swigobj->SetConfigPath(_swigarg0))
3712static PyObject *_wrap_wxFontMapper_SetConfigPath(PyObject *self, PyObject *args, PyObject *kwargs) {
3713 PyObject * _resultobj;
3714 wxFontMapper * _arg0;
3715 wxString * _arg1;
3716 PyObject * _argo0 = 0;
3717 PyObject * _obj1 = 0;
3718 char *_kwnames[] = { "self","prefix", NULL };
3719
3720 self = self;
3721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontMapper_SetConfigPath",_kwnames,&_argo0,&_obj1))
3722 return NULL;
3723 if (_argo0) {
3724 if (_argo0 == Py_None) { _arg0 = NULL; }
3725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontMapper_p")) {
3726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontMapper_SetConfigPath. Expected _wxFontMapper_p.");
3727 return NULL;
3728 }
3729 }
3730{
3731#if PYTHON_API_VERSION >= 1009
3732 char* tmpPtr; int tmpSize;
3733 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
3734 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3735 return NULL;
3736 }
3737 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3738 return NULL;
3739 _arg1 = new wxString(tmpPtr, tmpSize);
3740#else
3741 if (!PyString_Check(_obj1)) {
3742 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3743 return NULL;
3744 }
3745 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3746#endif
3747}
3748{
3749 wxPy_BEGIN_ALLOW_THREADS;
3750 wxFontMapper_SetConfigPath(_arg0,*_arg1);
3751
3752 wxPy_END_ALLOW_THREADS;
3753 if (PyErr_Occurred()) return NULL;
3754} Py_INCREF(Py_None);
3755 _resultobj = Py_None;
3756{
3757 if (_obj1)
3758 delete _arg1;
3759}
3760 return _resultobj;
3761}
3762
3763static PyObject *_wrap_wxFontMapper_GetDefaultConfigPath(PyObject *self, PyObject *args, PyObject *kwargs) {
3764 PyObject * _resultobj;
3765 wxChar * _result;
3766 char *_kwnames[] = { NULL };
3767
3768 self = self;
3769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxFontMapper_GetDefaultConfigPath",_kwnames))
3770 return NULL;
3771{
3772 wxPy_BEGIN_ALLOW_THREADS;
3773 _result = (wxChar *)wxFontMapper::GetDefaultConfigPath();
3774
3775 wxPy_END_ALLOW_THREADS;
3776 if (PyErr_Occurred()) return NULL;
3777} _resultobj = Py_BuildValue("s", _result);
3778 return _resultobj;
3779}
3780
3781static void *SwigwxFontTowxGDIObject(void *ptr) {
3782 wxFont *src;
3783 wxGDIObject *dest;
3784 src = (wxFont *) ptr;
3785 dest = (wxGDIObject *) src;
3786 return (void *) dest;
3787}
3788
3789static void *SwigwxFontTowxObject(void *ptr) {
3790 wxFont *src;
3791 wxObject *dest;
3792 src = (wxFont *) ptr;
3793 dest = (wxObject *) src;
3794 return (void *) dest;
3795}
3796
3797#define new_wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3798static PyObject *_wrap_new_wxFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3799 PyObject * _resultobj;
3800 wxFont * _result;
3801 int _arg0;
3802 int _arg1;
3803 int _arg2;
3804 int _arg3;
3805 int _arg4 = (int ) FALSE;
3806 char * _arg5 = (char *) "";
3807 wxFontEncoding _arg6 = (wxFontEncoding ) (wxFONTENCODING_DEFAULT);
3808 char *_kwnames[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL };
3809 char _ptemp[128];
3810
3811 self = self;
3812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiii|isi:new_wxFont",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
3813 return NULL;
3814{
3815 wxPy_BEGIN_ALLOW_THREADS;
3816 _result = (wxFont *)new_wxFont(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3817
3818 wxPy_END_ALLOW_THREADS;
3819 if (PyErr_Occurred()) return NULL;
3820} if (_result) {
3821 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
3822 _resultobj = Py_BuildValue("s",_ptemp);
3823 } else {
3824 Py_INCREF(Py_None);
3825 _resultobj = Py_None;
3826 }
3827 return _resultobj;
3828}
3829
3830#define new_wxFontFromNativeInfo(_swigarg0) (new wxFont(_swigarg0))
3831static PyObject *_wrap_new_wxFontFromNativeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3832 PyObject * _resultobj;
3833 wxFont * _result;
3834 wxNativeFontInfo * _arg0;
3835 PyObject * _argo0 = 0;
3836 char *_kwnames[] = { "info", NULL };
3837 char _ptemp[128];
3838
3839 self = self;
3840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxFontFromNativeInfo",_kwnames,&_argo0))
3841 return NULL;
3842 if (_argo0) {
3843 if (_argo0 == Py_None) { _arg0 = NULL; }
3844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNativeFontInfo_p")) {
3845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxFontFromNativeInfo. Expected _wxNativeFontInfo_p.");
3846 return NULL;
3847 }
3848 }
3849{
3850 wxPy_BEGIN_ALLOW_THREADS;
3851 _result = (wxFont *)new_wxFontFromNativeInfo(*_arg0);
3852
3853 wxPy_END_ALLOW_THREADS;
3854 if (PyErr_Occurred()) return NULL;
3855} if (_result) {
3856 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
3857 _resultobj = Py_BuildValue("s",_ptemp);
3858 } else {
3859 Py_INCREF(Py_None);
3860 _resultobj = Py_None;
3861 }
3862 return _resultobj;
3863}
3864
3865#define delete_wxFont(_swigobj) (delete _swigobj)
3866static PyObject *_wrap_delete_wxFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3867 PyObject * _resultobj;
3868 wxFont * _arg0;
3869 PyObject * _argo0 = 0;
3870 char *_kwnames[] = { "self", NULL };
3871
3872 self = self;
3873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFont",_kwnames,&_argo0))
3874 return NULL;
3875 if (_argo0) {
3876 if (_argo0 == Py_None) { _arg0 = NULL; }
3877 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
3878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFont. Expected _wxFont_p.");
3879 return NULL;
3880 }
3881 }
3882{
3883 wxPy_BEGIN_ALLOW_THREADS;
3884 delete_wxFont(_arg0);
3885
3886 wxPy_END_ALLOW_THREADS;
3887 if (PyErr_Occurred()) return NULL;
3888} Py_INCREF(Py_None);
3889 _resultobj = Py_None;
3890 return _resultobj;
3891}
3892
3893#define wxFont_Ok(_swigobj) (_swigobj->Ok())
3894static PyObject *_wrap_wxFont_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
3895 PyObject * _resultobj;
3896 bool _result;
3897 wxFont * _arg0;
3898 PyObject * _argo0 = 0;
3899 char *_kwnames[] = { "self", NULL };
3900
3901 self = self;
3902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_Ok",_kwnames,&_argo0))
3903 return NULL;
3904 if (_argo0) {
3905 if (_argo0 == Py_None) { _arg0 = NULL; }
3906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
3907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
3908 return NULL;
3909 }
3910 }
3911{
3912 wxPy_BEGIN_ALLOW_THREADS;
3913 _result = (bool )wxFont_Ok(_arg0);
3914
3915 wxPy_END_ALLOW_THREADS;
3916 if (PyErr_Occurred()) return NULL;
3917} _resultobj = Py_BuildValue("i",_result);
3918 return _resultobj;
3919}
3920
3921#define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
3922static PyObject *_wrap_wxFont_GetPointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3923 PyObject * _resultobj;
3924 int _result;
3925 wxFont * _arg0;
3926 PyObject * _argo0 = 0;
3927 char *_kwnames[] = { "self", NULL };
3928
3929 self = self;
3930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetPointSize",_kwnames,&_argo0))
3931 return NULL;
3932 if (_argo0) {
3933 if (_argo0 == Py_None) { _arg0 = NULL; }
3934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
3935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
8ab979d7
RD
3936 return NULL;
3937 }
3938 }
cf694132
RD
3939{
3940 wxPy_BEGIN_ALLOW_THREADS;
6d8b4f8d 3941 _result = (int )wxFont_GetPointSize(_arg0);
cf694132
RD
3942
3943 wxPy_END_ALLOW_THREADS;
493f1553 3944 if (PyErr_Occurred()) return NULL;
cf694132 3945} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3946 return _resultobj;
3947}
3948
6d8b4f8d
RD
3949#define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
3950static PyObject *_wrap_wxFont_GetFamily(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3951 PyObject * _resultobj;
3952 int _result;
3953 wxFont * _arg0;
1d99702e 3954 PyObject * _argo0 = 0;
1afc06c2 3955 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3956
3957 self = self;
6d8b4f8d 3958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetFamily",_kwnames,&_argo0))
8ab979d7 3959 return NULL;
1d99702e
RD
3960 if (_argo0) {
3961 if (_argo0 == Py_None) { _arg0 = NULL; }
3962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
6d8b4f8d 3963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
8ab979d7
RD
3964 return NULL;
3965 }
3966 }
cf694132
RD
3967{
3968 wxPy_BEGIN_ALLOW_THREADS;
6d8b4f8d 3969 _result = (int )wxFont_GetFamily(_arg0);
cf694132
RD
3970
3971 wxPy_END_ALLOW_THREADS;
493f1553 3972 if (PyErr_Occurred()) return NULL;
cf694132 3973} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3974 return _resultobj;
3975}
3976
6d8b4f8d
RD
3977#define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
3978static PyObject *_wrap_wxFont_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3979 PyObject * _resultobj;
3980 int _result;
3981 wxFont * _arg0;
1d99702e 3982 PyObject * _argo0 = 0;
1afc06c2 3983 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3984
3985 self = self;
6d8b4f8d 3986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetStyle",_kwnames,&_argo0))
8ab979d7 3987 return NULL;
1d99702e
RD
3988 if (_argo0) {
3989 if (_argo0 == Py_None) { _arg0 = NULL; }
3990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
6d8b4f8d 3991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
8ab979d7
RD
3992 return NULL;
3993 }
3994 }
cf694132
RD
3995{
3996 wxPy_BEGIN_ALLOW_THREADS;
6d8b4f8d 3997 _result = (int )wxFont_GetStyle(_arg0);
cf694132
RD
3998
3999 wxPy_END_ALLOW_THREADS;
493f1553 4000 if (PyErr_Occurred()) return NULL;
cf694132 4001} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4002 return _resultobj;
4003}
4004
6d8b4f8d
RD
4005#define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
4006static PyObject *_wrap_wxFont_GetWeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4007 PyObject * _resultobj;
4008 int _result;
4009 wxFont * _arg0;
1d99702e 4010 PyObject * _argo0 = 0;
1afc06c2 4011 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4012
4013 self = self;
6d8b4f8d 4014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetWeight",_kwnames,&_argo0))
8ab979d7 4015 return NULL;
1d99702e
RD
4016 if (_argo0) {
4017 if (_argo0 == Py_None) { _arg0 = NULL; }
4018 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
6d8b4f8d 4019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
8ab979d7
RD
4020 return NULL;
4021 }
4022 }
cf694132
RD
4023{
4024 wxPy_BEGIN_ALLOW_THREADS;
6d8b4f8d 4025 _result = (int )wxFont_GetWeight(_arg0);
cf694132
RD
4026
4027 wxPy_END_ALLOW_THREADS;
493f1553 4028 if (PyErr_Occurred()) return NULL;
cf694132 4029} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4030 return _resultobj;
4031}
4032
4033#define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
1afc06c2 4034static PyObject *_wrap_wxFont_GetUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4035 PyObject * _resultobj;
4036 bool _result;
4037 wxFont * _arg0;
1d99702e 4038 PyObject * _argo0 = 0;
1afc06c2 4039 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4040
4041 self = self;
1afc06c2 4042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetUnderlined",_kwnames,&_argo0))
8ab979d7 4043 return NULL;
1d99702e
RD
4044 if (_argo0) {
4045 if (_argo0 == Py_None) { _arg0 = NULL; }
4046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
8ab979d7
RD
4047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
4048 return NULL;
4049 }
4050 }
cf694132
RD
4051{
4052 wxPy_BEGIN_ALLOW_THREADS;
4053 _result = (bool )wxFont_GetUnderlined(_arg0);
4054
4055 wxPy_END_ALLOW_THREADS;
493f1553 4056 if (PyErr_Occurred()) return NULL;
cf694132 4057} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4058 return _resultobj;
4059}
4060
6d8b4f8d
RD
4061#define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
4062static PyObject *_wrap_wxFont_GetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4063 PyObject * _resultobj;
6d8b4f8d 4064 wxString * _result;
8ab979d7 4065 wxFont * _arg0;
1d99702e 4066 PyObject * _argo0 = 0;
1afc06c2 4067 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4068
4069 self = self;
6d8b4f8d 4070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetFaceName",_kwnames,&_argo0))
8ab979d7 4071 return NULL;
1d99702e
RD
4072 if (_argo0) {
4073 if (_argo0 == Py_None) { _arg0 = NULL; }
4074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
6d8b4f8d 4075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
8ab979d7
RD
4076 return NULL;
4077 }
4078 }
cf694132
RD
4079{
4080 wxPy_BEGIN_ALLOW_THREADS;
6d8b4f8d 4081 _result = new wxString (wxFont_GetFaceName(_arg0));
cf694132
RD
4082
4083 wxPy_END_ALLOW_THREADS;
493f1553 4084 if (PyErr_Occurred()) return NULL;
6d8b4f8d
RD
4085}{
4086 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4087}
4088{
4089 delete _result;
4090}
8ab979d7
RD
4091 return _resultobj;
4092}
4093
f0261a72
RD
4094#define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
4095static PyObject *_wrap_wxFont_GetEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
4096 PyObject * _resultobj;
4097 wxFontEncoding _result;
4098 wxFont * _arg0;
4099 PyObject * _argo0 = 0;
4100 char *_kwnames[] = { "self", NULL };
4101
4102 self = self;
4103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetEncoding",_kwnames,&_argo0))
4104 return NULL;
4105 if (_argo0) {
4106 if (_argo0 == Py_None) { _arg0 = NULL; }
4107 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
4108 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
4109 return NULL;
4110 }
4111 }
4112{
4113 wxPy_BEGIN_ALLOW_THREADS;
4114 _result = (wxFontEncoding )wxFont_GetEncoding(_arg0);
4115
4116 wxPy_END_ALLOW_THREADS;
493f1553 4117 if (PyErr_Occurred()) return NULL;
f0261a72
RD
4118} _resultobj = Py_BuildValue("i",_result);
4119 return _resultobj;
4120}
4121
6d8b4f8d
RD
4122#define wxFont_GetNativeFontInfo(_swigobj) (_swigobj->GetNativeFontInfo())
4123static PyObject *_wrap_wxFont_GetNativeFontInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4124 PyObject * _resultobj;
6d8b4f8d 4125 wxNativeFontInfo * _result;
8ab979d7 4126 wxFont * _arg0;
1d99702e 4127 PyObject * _argo0 = 0;
6d8b4f8d
RD
4128 char *_kwnames[] = { "self", NULL };
4129 char _ptemp[128];
8ab979d7
RD
4130
4131 self = self;
6d8b4f8d 4132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetNativeFontInfo",_kwnames,&_argo0))
8ab979d7 4133 return NULL;
1d99702e
RD
4134 if (_argo0) {
4135 if (_argo0 == Py_None) { _arg0 = NULL; }
4136 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
6d8b4f8d 4137 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetNativeFontInfo. Expected _wxFont_p.");
8ab979d7
RD
4138 return NULL;
4139 }
4140 }
4141{
6d8b4f8d
RD
4142 wxPy_BEGIN_ALLOW_THREADS;
4143 _result = (wxNativeFontInfo *)wxFont_GetNativeFontInfo(_arg0);
4144
4145 wxPy_END_ALLOW_THREADS;
4146 if (PyErr_Occurred()) return NULL;
4147} if (_result) {
4148 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNativeFontInfo_p");
4149 _resultobj = Py_BuildValue("s",_ptemp);
4150 } else {
4151 Py_INCREF(Py_None);
4152 _resultobj = Py_None;
185d7c3e 4153 }
6d8b4f8d
RD
4154 return _resultobj;
4155}
4156
4157#define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
4158static PyObject *_wrap_wxFont_SetPointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4159 PyObject * _resultobj;
4160 wxFont * _arg0;
4161 int _arg1;
4162 PyObject * _argo0 = 0;
4163 char *_kwnames[] = { "self","pointSize", NULL };
4164
4165 self = self;
4166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFont_SetPointSize",_kwnames,&_argo0,&_arg1))
185d7c3e 4167 return NULL;
6d8b4f8d
RD
4168 if (_argo0) {
4169 if (_argo0 == Py_None) { _arg0 = NULL; }
4170 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
4171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
8ab979d7 4172 return NULL;
6d8b4f8d 4173 }
8ab979d7 4174 }
cf694132
RD
4175{
4176 wxPy_BEGIN_ALLOW_THREADS;
6d8b4f8d 4177 wxFont_SetPointSize(_arg0,_arg1);
cf694132
RD
4178
4179 wxPy_END_ALLOW_THREADS;
493f1553 4180 if (PyErr_Occurred()) return NULL;
cf694132 4181} Py_INCREF(Py_None);
8ab979d7 4182 _resultobj = Py_None;
8ab979d7
RD
4183 return _resultobj;
4184}
4185
4186#define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
1afc06c2 4187static PyObject *_wrap_wxFont_SetFamily(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4188 PyObject * _resultobj;
4189 wxFont * _arg0;
4190 int _arg1;
1d99702e 4191 PyObject * _argo0 = 0;
1afc06c2 4192 char *_kwnames[] = { "self","family", NULL };
8ab979d7
RD
4193
4194 self = self;
1afc06c2 4195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFont_SetFamily",_kwnames,&_argo0,&_arg1))
8ab979d7 4196 return NULL;
1d99702e
RD
4197 if (_argo0) {
4198 if (_argo0 == Py_None) { _arg0 = NULL; }
4199 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
8ab979d7
RD
4200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
4201 return NULL;
4202 }
4203 }
cf694132
RD
4204{
4205 wxPy_BEGIN_ALLOW_THREADS;
4206 wxFont_SetFamily(_arg0,_arg1);
4207
4208 wxPy_END_ALLOW_THREADS;
493f1553 4209 if (PyErr_Occurred()) return NULL;
cf694132 4210} Py_INCREF(Py_None);
8ab979d7
RD
4211 _resultobj = Py_None;
4212 return _resultobj;
4213}
4214
6d8b4f8d
RD
4215#define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4216static PyObject *_wrap_wxFont_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4217 PyObject * _resultobj;
4218 wxFont * _arg0;
4219 int _arg1;
1d99702e 4220 PyObject * _argo0 = 0;
6d8b4f8d 4221 char *_kwnames[] = { "self","style", NULL };
8ab979d7
RD
4222
4223 self = self;
6d8b4f8d 4224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFont_SetStyle",_kwnames,&_argo0,&_arg1))
8ab979d7 4225 return NULL;
1d99702e
RD
4226 if (_argo0) {
4227 if (_argo0 == Py_None) { _arg0 = NULL; }
4228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
6d8b4f8d 4229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
8ab979d7
RD
4230 return NULL;
4231 }
4232 }
cf694132
RD
4233{
4234 wxPy_BEGIN_ALLOW_THREADS;
6d8b4f8d 4235 wxFont_SetStyle(_arg0,_arg1);
cf694132
RD
4236
4237 wxPy_END_ALLOW_THREADS;
493f1553 4238 if (PyErr_Occurred()) return NULL;
cf694132 4239} Py_INCREF(Py_None);
8ab979d7
RD
4240 _resultobj = Py_None;
4241 return _resultobj;
4242}
4243
6d8b4f8d
RD
4244#define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
4245static PyObject *_wrap_wxFont_SetWeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4246 PyObject * _resultobj;
4247 wxFont * _arg0;
4248 int _arg1;
1d99702e 4249 PyObject * _argo0 = 0;
6d8b4f8d 4250 char *_kwnames[] = { "self","weight", NULL };
8ab979d7
RD
4251
4252 self = self;
6d8b4f8d 4253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFont_SetWeight",_kwnames,&_argo0,&_arg1))
8ab979d7 4254 return NULL;
1d99702e
RD
4255 if (_argo0) {
4256 if (_argo0 == Py_None) { _arg0 = NULL; }
4257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
6d8b4f8d 4258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
8ab979d7
RD
4259 return NULL;
4260 }
4261 }
cf694132
RD
4262{
4263 wxPy_BEGIN_ALLOW_THREADS;
6d8b4f8d
RD
4264 wxFont_SetWeight(_arg0,_arg1);
4265
4266 wxPy_END_ALLOW_THREADS;
4267 if (PyErr_Occurred()) return NULL;
4268} Py_INCREF(Py_None);
4269 _resultobj = Py_None;
4270 return _resultobj;
4271}
4272
4273#define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
4274static PyObject *_wrap_wxFont_SetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
4275 PyObject * _resultobj;
4276 wxFont * _arg0;
4277 wxString * _arg1;
4278 PyObject * _argo0 = 0;
4279 PyObject * _obj1 = 0;
4280 char *_kwnames[] = { "self","faceName", NULL };
4281
4282 self = self;
4283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFont_SetFaceName",_kwnames,&_argo0,&_obj1))
4284 return NULL;
4285 if (_argo0) {
4286 if (_argo0 == Py_None) { _arg0 = NULL; }
4287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
4288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
4289 return NULL;
4290 }
4291 }
4292{
4293#if PYTHON_API_VERSION >= 1009
4294 char* tmpPtr; int tmpSize;
4295 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
4296 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4297 return NULL;
4298 }
4299 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4300 return NULL;
4301 _arg1 = new wxString(tmpPtr, tmpSize);
4302#else
4303 if (!PyString_Check(_obj1)) {
4304 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4305 return NULL;
4306 }
4307 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4308#endif
4309}
4310{
4311 wxPy_BEGIN_ALLOW_THREADS;
4312 wxFont_SetFaceName(_arg0,*_arg1);
cf694132
RD
4313
4314 wxPy_END_ALLOW_THREADS;
493f1553 4315 if (PyErr_Occurred()) return NULL;
cf694132 4316} Py_INCREF(Py_None);
8ab979d7 4317 _resultobj = Py_None;
6d8b4f8d
RD
4318{
4319 if (_obj1)
4320 delete _arg1;
4321}
8ab979d7
RD
4322 return _resultobj;
4323}
4324
4325#define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
1afc06c2 4326static PyObject *_wrap_wxFont_SetUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4327 PyObject * _resultobj;
4328 wxFont * _arg0;
4329 bool _arg1;
1d99702e 4330 PyObject * _argo0 = 0;
8ab979d7 4331 int tempbool1;
1afc06c2 4332 char *_kwnames[] = { "self","underlined", NULL };
8ab979d7
RD
4333
4334 self = self;
1afc06c2 4335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFont_SetUnderlined",_kwnames,&_argo0,&tempbool1))
8ab979d7 4336 return NULL;
1d99702e
RD
4337 if (_argo0) {
4338 if (_argo0 == Py_None) { _arg0 = NULL; }
4339 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
8ab979d7
RD
4340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
4341 return NULL;
4342 }
4343 }
4344 _arg1 = (bool ) tempbool1;
cf694132
RD
4345{
4346 wxPy_BEGIN_ALLOW_THREADS;
4347 wxFont_SetUnderlined(_arg0,_arg1);
4348
4349 wxPy_END_ALLOW_THREADS;
493f1553 4350 if (PyErr_Occurred()) return NULL;
cf694132 4351} Py_INCREF(Py_None);
8ab979d7
RD
4352 _resultobj = Py_None;
4353 return _resultobj;
4354}
4355
6d8b4f8d
RD
4356#define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
4357static PyObject *_wrap_wxFont_SetEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4358 PyObject * _resultobj;
4359 wxFont * _arg0;
6d8b4f8d 4360 wxFontEncoding _arg1;
1d99702e 4361 PyObject * _argo0 = 0;
6d8b4f8d 4362 char *_kwnames[] = { "self","encoding", NULL };
8ab979d7
RD
4363
4364 self = self;
6d8b4f8d 4365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFont_SetEncoding",_kwnames,&_argo0,&_arg1))
8ab979d7 4366 return NULL;
1d99702e
RD
4367 if (_argo0) {
4368 if (_argo0 == Py_None) { _arg0 = NULL; }
4369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
6d8b4f8d 4370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
8ab979d7
RD
4371 return NULL;
4372 }
4373 }
cf694132
RD
4374{
4375 wxPy_BEGIN_ALLOW_THREADS;
6d8b4f8d 4376 wxFont_SetEncoding(_arg0,_arg1);
cf694132
RD
4377
4378 wxPy_END_ALLOW_THREADS;
493f1553 4379 if (PyErr_Occurred()) return NULL;
cf694132 4380} Py_INCREF(Py_None);
8ab979d7
RD
4381 _resultobj = Py_None;
4382 return _resultobj;
4383}
4384
6d8b4f8d
RD
4385#define wxFont_SetNativeFontInfo(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfo(_swigarg0))
4386static PyObject *_wrap_wxFont_SetNativeFontInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
f0261a72
RD
4387 PyObject * _resultobj;
4388 wxFont * _arg0;
6d8b4f8d 4389 wxNativeFontInfo * _arg1;
f0261a72 4390 PyObject * _argo0 = 0;
6d8b4f8d
RD
4391 PyObject * _argo1 = 0;
4392 char *_kwnames[] = { "self","info", NULL };
f0261a72
RD
4393
4394 self = self;
6d8b4f8d 4395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFont_SetNativeFontInfo",_kwnames,&_argo0,&_argo1))
f0261a72
RD
4396 return NULL;
4397 if (_argo0) {
4398 if (_argo0 == Py_None) { _arg0 = NULL; }
4399 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
6d8b4f8d
RD
4400 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetNativeFontInfo. Expected _wxFont_p.");
4401 return NULL;
4402 }
4403 }
4404 if (_argo1) {
4405 if (_argo1 == Py_None) { _arg1 = NULL; }
4406 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxNativeFontInfo_p")) {
4407 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFont_SetNativeFontInfo. Expected _wxNativeFontInfo_p.");
f0261a72
RD
4408 return NULL;
4409 }
4410 }
4411{
4412 wxPy_BEGIN_ALLOW_THREADS;
6d8b4f8d 4413 wxFont_SetNativeFontInfo(_arg0,*_arg1);
f0261a72
RD
4414
4415 wxPy_END_ALLOW_THREADS;
493f1553 4416 if (PyErr_Occurred()) return NULL;
f0261a72
RD
4417} Py_INCREF(Py_None);
4418 _resultobj = Py_None;
4419 return _resultobj;
4420}
4421
4422#define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
4423static PyObject *_wrap_wxFont_GetFamilyString(PyObject *self, PyObject *args, PyObject *kwargs) {
4424 PyObject * _resultobj;
4425 wxString * _result;
4426 wxFont * _arg0;
4427 PyObject * _argo0 = 0;
4428 char *_kwnames[] = { "self", NULL };
4429
4430 self = self;
4431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetFamilyString",_kwnames,&_argo0))
4432 return NULL;
4433 if (_argo0) {
4434 if (_argo0 == Py_None) { _arg0 = NULL; }
4435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
4436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
4437 return NULL;
4438 }
4439 }
4440{
4441 wxPy_BEGIN_ALLOW_THREADS;
4442 _result = new wxString (wxFont_GetFamilyString(_arg0));
4443
4444 wxPy_END_ALLOW_THREADS;
493f1553 4445 if (PyErr_Occurred()) return NULL;
f0261a72 4446}{
eec92d76 4447 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
f0261a72
RD
4448}
4449{
4450 delete _result;
4451}
4452 return _resultobj;
4453}
4454
4455#define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
4456static PyObject *_wrap_wxFont_GetStyleString(PyObject *self, PyObject *args, PyObject *kwargs) {
4457 PyObject * _resultobj;
4458 wxString * _result;
4459 wxFont * _arg0;
4460 PyObject * _argo0 = 0;
4461 char *_kwnames[] = { "self", NULL };
4462
4463 self = self;
4464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetStyleString",_kwnames,&_argo0))
4465 return NULL;
4466 if (_argo0) {
4467 if (_argo0 == Py_None) { _arg0 = NULL; }
4468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
4469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
4470 return NULL;
4471 }
4472 }
4473{
4474 wxPy_BEGIN_ALLOW_THREADS;
4475 _result = new wxString (wxFont_GetStyleString(_arg0));
4476
4477 wxPy_END_ALLOW_THREADS;
493f1553 4478 if (PyErr_Occurred()) return NULL;
f0261a72 4479}{
eec92d76 4480 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
f0261a72
RD
4481}
4482{
4483 delete _result;
4484}
4485 return _resultobj;
4486}
4487
4488#define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
4489static PyObject *_wrap_wxFont_GetWeightString(PyObject *self, PyObject *args, PyObject *kwargs) {
4490 PyObject * _resultobj;
4491 wxString * _result;
4492 wxFont * _arg0;
4493 PyObject * _argo0 = 0;
4494 char *_kwnames[] = { "self", NULL };
4495
4496 self = self;
4497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetWeightString",_kwnames,&_argo0))
4498 return NULL;
4499 if (_argo0) {
4500 if (_argo0 == Py_None) { _arg0 = NULL; }
4501 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
4502 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
4503 return NULL;
4504 }
4505 }
4506{
4507 wxPy_BEGIN_ALLOW_THREADS;
4508 _result = new wxString (wxFont_GetWeightString(_arg0));
4509
4510 wxPy_END_ALLOW_THREADS;
493f1553 4511 if (PyErr_Occurred()) return NULL;
f0261a72 4512}{
eec92d76 4513 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
f0261a72
RD
4514}
4515{
4516 delete _result;
4517}
4518 return _resultobj;
4519}
4520
6d8b4f8d
RD
4521static PyObject *_wrap_wxFont_GetDefaultEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
4522 PyObject * _resultobj;
4523 wxFontEncoding _result;
4524 char *_kwnames[] = { NULL };
4525
4526 self = self;
4527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxFont_GetDefaultEncoding",_kwnames))
4528 return NULL;
4529{
4530 wxPy_BEGIN_ALLOW_THREADS;
4531 _result = (wxFontEncoding )wxFont::GetDefaultEncoding();
4532
4533 wxPy_END_ALLOW_THREADS;
4534 if (PyErr_Occurred()) return NULL;
4535} _resultobj = Py_BuildValue("i",_result);
4536 return _resultobj;
4537}
4538
4539static PyObject *_wrap_wxFont_SetDefaultEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
4540 PyObject * _resultobj;
4541 wxFontEncoding _arg0;
4542 char *_kwnames[] = { "encoding", NULL };
4543
4544 self = self;
4545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxFont_SetDefaultEncoding",_kwnames,&_arg0))
4546 return NULL;
4547{
4548 wxPy_BEGIN_ALLOW_THREADS;
4549 wxFont::SetDefaultEncoding(_arg0);
4550
4551 wxPy_END_ALLOW_THREADS;
4552 if (PyErr_Occurred()) return NULL;
4553} Py_INCREF(Py_None);
4554 _resultobj = Py_None;
4555 return _resultobj;
4556}
4557
9416aa89
RD
4558static void *SwigwxFontListTowxObject(void *ptr) {
4559 wxFontList *src;
4560 wxObject *dest;
4561 src = (wxFontList *) ptr;
4562 dest = (wxObject *) src;
4563 return (void *) dest;
4564}
4565
0569df0f
RD
4566#define wxFontList_AddFont(_swigobj,_swigarg0) (_swigobj->AddFont(_swigarg0))
4567static PyObject *_wrap_wxFontList_AddFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4568 PyObject * _resultobj;
4569 wxFontList * _arg0;
4570 wxFont * _arg1;
4571 PyObject * _argo0 = 0;
4572 PyObject * _argo1 = 0;
4573 char *_kwnames[] = { "self","font", NULL };
4574
4575 self = self;
4576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontList_AddFont",_kwnames,&_argo0,&_argo1))
4577 return NULL;
4578 if (_argo0) {
4579 if (_argo0 == Py_None) { _arg0 = NULL; }
4580 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontList_p")) {
4581 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontList_AddFont. Expected _wxFontList_p.");
4582 return NULL;
4583 }
4584 }
4585 if (_argo1) {
4586 if (_argo1 == Py_None) { _arg1 = NULL; }
4587 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
4588 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontList_AddFont. Expected _wxFont_p.");
4589 return NULL;
4590 }
4591 }
4592{
4593 wxPy_BEGIN_ALLOW_THREADS;
4594 wxFontList_AddFont(_arg0,_arg1);
4595
4596 wxPy_END_ALLOW_THREADS;
493f1553 4597 if (PyErr_Occurred()) return NULL;
0569df0f
RD
4598} Py_INCREF(Py_None);
4599 _resultobj = Py_None;
4600 return _resultobj;
4601}
4602
4603#define wxFontList_FindOrCreateFont(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FindOrCreateFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4604static PyObject *_wrap_wxFontList_FindOrCreateFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4605 PyObject * _resultobj;
4606 wxFont * _result;
4607 wxFontList * _arg0;
4608 int _arg1;
4609 int _arg2;
4610 int _arg3;
4611 int _arg4;
4612 bool _arg5 = (bool ) FALSE;
4613 char * _arg6 = (char *) NULL;
4614 wxFontEncoding _arg7 = (wxFontEncoding ) (wxFONTENCODING_DEFAULT);
4615 PyObject * _argo0 = 0;
4616 int tempbool5 = (int) FALSE;
4617 char *_kwnames[] = { "self","point_size","family","style","weight","underline","facename","encoding", NULL };
4618 char _ptemp[128];
4619
4620 self = self;
4621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|isi:wxFontList_FindOrCreateFont",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5,&_arg6,&_arg7))
4622 return NULL;
4623 if (_argo0) {
4624 if (_argo0 == Py_None) { _arg0 = NULL; }
4625 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontList_p")) {
4626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontList_FindOrCreateFont. Expected _wxFontList_p.");
4627 return NULL;
4628 }
4629 }
4630 _arg5 = (bool ) tempbool5;
4631{
4632 wxPy_BEGIN_ALLOW_THREADS;
4633 _result = (wxFont *)wxFontList_FindOrCreateFont(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7);
4634
4635 wxPy_END_ALLOW_THREADS;
493f1553 4636 if (PyErr_Occurred()) return NULL;
0569df0f
RD
4637} if (_result) {
4638 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
4639 _resultobj = Py_BuildValue("s",_ptemp);
4640 } else {
4641 Py_INCREF(Py_None);
4642 _resultobj = Py_None;
4643 }
4644 return _resultobj;
4645}
4646
4647#define wxFontList_RemoveFont(_swigobj,_swigarg0) (_swigobj->RemoveFont(_swigarg0))
4648static PyObject *_wrap_wxFontList_RemoveFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4649 PyObject * _resultobj;
4650 wxFontList * _arg0;
4651 wxFont * _arg1;
4652 PyObject * _argo0 = 0;
4653 PyObject * _argo1 = 0;
4654 char *_kwnames[] = { "self","font", NULL };
4655
4656 self = self;
4657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontList_RemoveFont",_kwnames,&_argo0,&_argo1))
4658 return NULL;
4659 if (_argo0) {
4660 if (_argo0 == Py_None) { _arg0 = NULL; }
4661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFontList_p")) {
4662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontList_RemoveFont. Expected _wxFontList_p.");
4663 return NULL;
4664 }
4665 }
4666 if (_argo1) {
4667 if (_argo1 == Py_None) { _arg1 = NULL; }
4668 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
4669 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFontList_RemoveFont. Expected _wxFont_p.");
4670 return NULL;
4671 }
4672 }
4673{
4674 wxPy_BEGIN_ALLOW_THREADS;
4675 wxFontList_RemoveFont(_arg0,_arg1);
4676
4677 wxPy_END_ALLOW_THREADS;
493f1553 4678 if (PyErr_Occurred()) return NULL;
0569df0f
RD
4679} Py_INCREF(Py_None);
4680 _resultobj = Py_None;
4681 return _resultobj;
4682}
4683
9416aa89
RD
4684static void *SwigwxColourTowxObject(void *ptr) {
4685 wxColour *src;
4686 wxObject *dest;
4687 src = (wxColour *) ptr;
4688 dest = (wxObject *) src;
4689 return (void *) dest;
4690}
4691
8ab979d7 4692#define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 4693static PyObject *_wrap_new_wxColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4694 PyObject * _resultobj;
4695 wxColour * _result;
1d99702e
RD
4696 unsigned char _arg0 = (unsigned char ) 0;
4697 unsigned char _arg1 = (unsigned char ) 0;
4698 unsigned char _arg2 = (unsigned char ) 0;
1afc06c2 4699 char *_kwnames[] = { "red","green","blue", NULL };
8ab979d7
RD
4700 char _ptemp[128];
4701
4702 self = self;
1afc06c2 4703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|bbb:new_wxColour",_kwnames,&_arg0,&_arg1,&_arg2))
8ab979d7 4704 return NULL;
cf694132
RD
4705{
4706 wxPy_BEGIN_ALLOW_THREADS;
4707 _result = (wxColour *)new_wxColour(_arg0,_arg1,_arg2);
4708
4709 wxPy_END_ALLOW_THREADS;
493f1553 4710 if (PyErr_Occurred()) return NULL;
1d99702e
RD
4711} if (_result) {
4712 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
4713 _resultobj = Py_BuildValue("s",_ptemp);
4714 } else {
4715 Py_INCREF(Py_None);
4716 _resultobj = Py_None;
4717 }
8ab979d7
RD
4718 return _resultobj;
4719}
4720
4721#define delete_wxColour(_swigobj) (delete _swigobj)
1afc06c2 4722static PyObject *_wrap_delete_wxColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4723 PyObject * _resultobj;
4724 wxColour * _arg0;
f6bcfd97
BP
4725 wxColour temp;
4726 PyObject * _obj0 = 0;
1afc06c2 4727 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4728
4729 self = self;
f6bcfd97 4730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxColour",_kwnames,&_obj0))
8ab979d7 4731 return NULL;
f6bcfd97
BP
4732{
4733 _arg0 = &temp;
4734 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 4735 return NULL;
f6bcfd97 4736}
cf694132
RD
4737{
4738 wxPy_BEGIN_ALLOW_THREADS;
4739 delete_wxColour(_arg0);
4740
4741 wxPy_END_ALLOW_THREADS;
493f1553 4742 if (PyErr_Occurred()) return NULL;
cf694132 4743} Py_INCREF(Py_None);
8ab979d7
RD
4744 _resultobj = Py_None;
4745 return _resultobj;
4746}
4747
4748#define wxColour_Red(_swigobj) (_swigobj->Red())
1afc06c2 4749static PyObject *_wrap_wxColour_Red(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4750 PyObject * _resultobj;
4751 unsigned char _result;
4752 wxColour * _arg0;
f6bcfd97
BP
4753 wxColour temp;
4754 PyObject * _obj0 = 0;
1afc06c2 4755 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4756
4757 self = self;
f6bcfd97 4758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Red",_kwnames,&_obj0))
8ab979d7 4759 return NULL;
f6bcfd97
BP
4760{
4761 _arg0 = &temp;
4762 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 4763 return NULL;
f6bcfd97 4764}
cf694132
RD
4765{
4766 wxPy_BEGIN_ALLOW_THREADS;
4767 _result = (unsigned char )wxColour_Red(_arg0);
4768
4769 wxPy_END_ALLOW_THREADS;
493f1553 4770 if (PyErr_Occurred()) return NULL;
cf694132 4771} _resultobj = Py_BuildValue("b",_result);
8ab979d7
RD
4772 return _resultobj;
4773}
4774
4775#define wxColour_Green(_swigobj) (_swigobj->Green())
1afc06c2 4776static PyObject *_wrap_wxColour_Green(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4777 PyObject * _resultobj;
4778 unsigned char _result;
4779 wxColour * _arg0;
f6bcfd97
BP
4780 wxColour temp;
4781 PyObject * _obj0 = 0;
1afc06c2 4782 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4783
4784 self = self;
f6bcfd97 4785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Green",_kwnames,&_obj0))
8ab979d7 4786 return NULL;
f6bcfd97
BP
4787{
4788 _arg0 = &temp;
4789 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 4790 return NULL;
f6bcfd97 4791}
cf694132
RD
4792{
4793 wxPy_BEGIN_ALLOW_THREADS;
4794 _result = (unsigned char )wxColour_Green(_arg0);
4795
4796 wxPy_END_ALLOW_THREADS;
493f1553 4797 if (PyErr_Occurred()) return NULL;
cf694132 4798} _resultobj = Py_BuildValue("b",_result);
8ab979d7
RD
4799 return _resultobj;
4800}
4801
4802#define wxColour_Blue(_swigobj) (_swigobj->Blue())
1afc06c2 4803static PyObject *_wrap_wxColour_Blue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4804 PyObject * _resultobj;
4805 unsigned char _result;
4806 wxColour * _arg0;
f6bcfd97
BP
4807 wxColour temp;
4808 PyObject * _obj0 = 0;
1afc06c2 4809 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4810
4811 self = self;
f6bcfd97 4812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Blue",_kwnames,&_obj0))
8ab979d7 4813 return NULL;
f6bcfd97
BP
4814{
4815 _arg0 = &temp;
4816 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 4817 return NULL;
f6bcfd97 4818}
cf694132
RD
4819{
4820 wxPy_BEGIN_ALLOW_THREADS;
4821 _result = (unsigned char )wxColour_Blue(_arg0);
4822
4823 wxPy_END_ALLOW_THREADS;
493f1553 4824 if (PyErr_Occurred()) return NULL;
cf694132 4825} _resultobj = Py_BuildValue("b",_result);
8ab979d7
RD
4826 return _resultobj;
4827}
4828
4829#define wxColour_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 4830static PyObject *_wrap_wxColour_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4831 PyObject * _resultobj;
4832 bool _result;
4833 wxColour * _arg0;
f6bcfd97
BP
4834 wxColour temp;
4835 PyObject * _obj0 = 0;
1afc06c2 4836 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4837
4838 self = self;
f6bcfd97 4839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Ok",_kwnames,&_obj0))
8ab979d7 4840 return NULL;
f6bcfd97
BP
4841{
4842 _arg0 = &temp;
4843 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 4844 return NULL;
f6bcfd97 4845}
cf694132
RD
4846{
4847 wxPy_BEGIN_ALLOW_THREADS;
4848 _result = (bool )wxColour_Ok(_arg0);
4849
4850 wxPy_END_ALLOW_THREADS;
493f1553 4851 if (PyErr_Occurred()) return NULL;
cf694132 4852} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4853 return _resultobj;
4854}
4855
4856#define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 4857static PyObject *_wrap_wxColour_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4858 PyObject * _resultobj;
4859 wxColour * _arg0;
4860 unsigned char _arg1;
4861 unsigned char _arg2;
4862 unsigned char _arg3;
f6bcfd97
BP
4863 wxColour temp;
4864 PyObject * _obj0 = 0;
1afc06c2 4865 char *_kwnames[] = { "self","red","green","blue", NULL };
8ab979d7
RD
4866
4867 self = self;
f6bcfd97 4868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Obbb:wxColour_Set",_kwnames,&_obj0,&_arg1,&_arg2,&_arg3))
8ab979d7 4869 return NULL;
f6bcfd97
BP
4870{
4871 _arg0 = &temp;
4872 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 4873 return NULL;
f6bcfd97 4874}
cf694132
RD
4875{
4876 wxPy_BEGIN_ALLOW_THREADS;
4877 wxColour_Set(_arg0,_arg1,_arg2,_arg3);
4878
4879 wxPy_END_ALLOW_THREADS;
493f1553 4880 if (PyErr_Occurred()) return NULL;
cf694132 4881} Py_INCREF(Py_None);
8ab979d7
RD
4882 _resultobj = Py_None;
4883 return _resultobj;
4884}
4885
4886static PyObject * wxColour_Get(wxColour *self) {
4887 PyObject* rv = PyTuple_New(3);
4888 PyTuple_SetItem(rv, 0, PyInt_FromLong(self->Red()));
4889 PyTuple_SetItem(rv, 1, PyInt_FromLong(self->Green()));
4890 PyTuple_SetItem(rv, 2, PyInt_FromLong(self->Blue()));
4891 return rv;
4892 }
1afc06c2 4893static PyObject *_wrap_wxColour_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4894 PyObject * _resultobj;
4895 PyObject * _result;
4896 wxColour * _arg0;
f6bcfd97
BP
4897 wxColour temp;
4898 PyObject * _obj0 = 0;
1afc06c2 4899 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4900
4901 self = self;
f6bcfd97 4902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Get",_kwnames,&_obj0))
8ab979d7 4903 return NULL;
f6bcfd97
BP
4904{
4905 _arg0 = &temp;
4906 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 4907 return NULL;
f6bcfd97 4908}
8ab979d7 4909{
cf694132
RD
4910 wxPy_BEGIN_ALLOW_THREADS;
4911 _result = (PyObject *)wxColour_Get(_arg0);
4912
4913 wxPy_END_ALLOW_THREADS;
493f1553 4914 if (PyErr_Occurred()) return NULL;
cf694132 4915}{
8ab979d7
RD
4916 _resultobj = _result;
4917}
4918 return _resultobj;
4919}
4920
9416aa89
RD
4921static void *SwigwxColourDatabaseTowxObject(void *ptr) {
4922 wxColourDatabase *src;
4923 wxObject *dest;
4924 src = (wxColourDatabase *) ptr;
4925 dest = (wxObject *) src;
4926 return (void *) dest;
4927}
4928
0569df0f
RD
4929#define wxColourDatabase_FindColour(_swigobj,_swigarg0) (_swigobj->FindColour(_swigarg0))
4930static PyObject *_wrap_wxColourDatabase_FindColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4931 PyObject * _resultobj;
4932 wxColour * _result;
4933 wxColourDatabase * _arg0;
4934 wxString * _arg1;
4935 PyObject * _argo0 = 0;
4936 PyObject * _obj1 = 0;
4937 char *_kwnames[] = { "self","colour", NULL };
4938 char _ptemp[128];
4939
4940 self = self;
4941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxColourDatabase_FindColour",_kwnames,&_argo0,&_obj1))
4942 return NULL;
4943 if (_argo0) {
4944 if (_argo0 == Py_None) { _arg0 = NULL; }
4945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDatabase_p")) {
4946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDatabase_FindColour. Expected _wxColourDatabase_p.");
4947 return NULL;
8ab979d7 4948 }
0569df0f
RD
4949 }
4950{
4951#if PYTHON_API_VERSION >= 1009
4952 char* tmpPtr; int tmpSize;
4953 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 4954 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
0569df0f
RD
4955 return NULL;
4956 }
4957 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4958 return NULL;
4959 _arg1 = new wxString(tmpPtr, tmpSize);
4960#else
4961 if (!PyString_Check(_obj1)) {
4962 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4963 return NULL;
4964 }
4965 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4966#endif
4967}
4968{
4969 wxPy_BEGIN_ALLOW_THREADS;
4970 _result = (wxColour *)wxColourDatabase_FindColour(_arg0,*_arg1);
8ab979d7 4971
0569df0f 4972 wxPy_END_ALLOW_THREADS;
493f1553 4973 if (PyErr_Occurred()) return NULL;
0569df0f
RD
4974} if (_result) {
4975 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
4976 _resultobj = Py_BuildValue("s",_ptemp);
4977 } else {
4978 Py_INCREF(Py_None);
4979 _resultobj = Py_None;
4980 }
4981{
4982 if (_obj1)
4983 delete _arg1;
4984}
4985 return _resultobj;
4986}
4987
4988#define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
4989static PyObject *_wrap_wxColourDatabase_FindName(PyObject *self, PyObject *args, PyObject *kwargs) {
4990 PyObject * _resultobj;
4991 wxString * _result;
4992 wxColourDatabase * _arg0;
4993 wxColour * _arg1;
4994 PyObject * _argo0 = 0;
4995 wxColour temp;
4996 PyObject * _obj1 = 0;
4997 char *_kwnames[] = { "self","colour", NULL };
4998
4999 self = self;
5000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxColourDatabase_FindName",_kwnames,&_argo0,&_obj1))
5001 return NULL;
5002 if (_argo0) {
5003 if (_argo0 == Py_None) { _arg0 = NULL; }
5004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDatabase_p")) {
5005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
5006 return NULL;
5007 }
5008 }
5009{
5010 _arg1 = &temp;
5011 if (! wxColour_helper(_obj1, &_arg1))
5012 return NULL;
5013}
5014{
5015 wxPy_BEGIN_ALLOW_THREADS;
5016 _result = new wxString (wxColourDatabase_FindName(_arg0,*_arg1));
5017
5018 wxPy_END_ALLOW_THREADS;
493f1553 5019 if (PyErr_Occurred()) return NULL;
0569df0f
RD
5020}{
5021 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5022}
5023{
5024 delete _result;
5025}
5026 return _resultobj;
5027}
5028
5029static void wxColourDatabase_Append(wxColourDatabase *self,const wxString & name,int red,int green,int blue) {
5030 self->Append(name.c_str(), new wxColour(red, green, blue));
5031 }
5032static PyObject *_wrap_wxColourDatabase_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
5033 PyObject * _resultobj;
5034 wxColourDatabase * _arg0;
5035 wxString * _arg1;
5036 int _arg2;
5037 int _arg3;
5038 int _arg4;
5039 PyObject * _argo0 = 0;
5040 PyObject * _obj1 = 0;
5041 char *_kwnames[] = { "self","name","red","green","blue", NULL };
5042
5043 self = self;
5044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiii:wxColourDatabase_Append",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_arg4))
5045 return NULL;
5046 if (_argo0) {
5047 if (_argo0 == Py_None) { _arg0 = NULL; }
5048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDatabase_p")) {
5049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
5050 return NULL;
5051 }
5052 }
5053{
5054#if PYTHON_API_VERSION >= 1009
5055 char* tmpPtr; int tmpSize;
5056 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 5057 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
0569df0f
RD
5058 return NULL;
5059 }
5060 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5061 return NULL;
5062 _arg1 = new wxString(tmpPtr, tmpSize);
5063#else
5064 if (!PyString_Check(_obj1)) {
5065 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5066 return NULL;
5067 }
5068 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5069#endif
5070}
5071{
5072 wxPy_BEGIN_ALLOW_THREADS;
5073 wxColourDatabase_Append(_arg0,*_arg1,_arg2,_arg3,_arg4);
5074
5075 wxPy_END_ALLOW_THREADS;
493f1553 5076 if (PyErr_Occurred()) return NULL;
0569df0f
RD
5077} Py_INCREF(Py_None);
5078 _resultobj = Py_None;
5079{
5080 if (_obj1)
5081 delete _arg1;
5082}
5083 return _resultobj;
5084}
5085
9416aa89
RD
5086static void *SwigwxPenTowxGDIObject(void *ptr) {
5087 wxPen *src;
5088 wxGDIObject *dest;
5089 src = (wxPen *) ptr;
5090 dest = (wxGDIObject *) src;
5091 return (void *) dest;
5092}
5093
5094static void *SwigwxPenTowxObject(void *ptr) {
5095 wxPen *src;
5096 wxObject *dest;
5097 src = (wxPen *) ptr;
5098 dest = (wxObject *) src;
5099 return (void *) dest;
5100}
5101
0569df0f 5102#define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 5103static PyObject *_wrap_new_wxPen(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5104 PyObject * _resultobj;
5105 wxPen * _result;
5106 wxColour * _arg0;
1d99702e
RD
5107 int _arg1 = (int ) 1;
5108 int _arg2 = (int ) wxSOLID;
f6bcfd97
BP
5109 wxColour temp;
5110 PyObject * _obj0 = 0;
1afc06c2 5111 char *_kwnames[] = { "colour","width","style", NULL };
8ab979d7
RD
5112 char _ptemp[128];
5113
5114 self = self;
f6bcfd97 5115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:new_wxPen",_kwnames,&_obj0,&_arg1,&_arg2))
8ab979d7 5116 return NULL;
f6bcfd97
BP
5117{
5118 _arg0 = &temp;
5119 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 5120 return NULL;
f6bcfd97 5121}
cf694132
RD
5122{
5123 wxPy_BEGIN_ALLOW_THREADS;
0569df0f 5124 _result = (wxPen *)new_wxPen(*_arg0,_arg1,_arg2);
cf694132
RD
5125
5126 wxPy_END_ALLOW_THREADS;
493f1553 5127 if (PyErr_Occurred()) return NULL;
1d99702e
RD
5128} if (_result) {
5129 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
5130 _resultobj = Py_BuildValue("s",_ptemp);
5131 } else {
5132 Py_INCREF(Py_None);
5133 _resultobj = Py_None;
5134 }
8ab979d7
RD
5135 return _resultobj;
5136}
5137
0569df0f
RD
5138#define delete_wxPen(_swigobj) (delete _swigobj)
5139static PyObject *_wrap_delete_wxPen(PyObject *self, PyObject *args, PyObject *kwargs) {
5140 PyObject * _resultobj;
5141 wxPen * _arg0;
5142 PyObject * _argo0 = 0;
5143 char *_kwnames[] = { "self", NULL };
5144
5145 self = self;
5146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPen",_kwnames,&_argo0))
5147 return NULL;
5148 if (_argo0) {
5149 if (_argo0 == Py_None) { _arg0 = NULL; }
5150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
5151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
5152 return NULL;
5153 }
5154 }
5155{
5156 wxPy_BEGIN_ALLOW_THREADS;
5157 delete_wxPen(_arg0);
5158
5159 wxPy_END_ALLOW_THREADS;
493f1553 5160 if (PyErr_Occurred()) return NULL;
0569df0f
RD
5161} Py_INCREF(Py_None);
5162 _resultobj = Py_None;
5163 return _resultobj;
5164}
5165
8ab979d7 5166#define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
1afc06c2 5167static PyObject *_wrap_wxPen_GetCap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5168 PyObject * _resultobj;
5169 int _result;
5170 wxPen * _arg0;
1d99702e 5171 PyObject * _argo0 = 0;
1afc06c2 5172 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5173
5174 self = self;
1afc06c2 5175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetCap",_kwnames,&_argo0))
8ab979d7 5176 return NULL;
1d99702e
RD
5177 if (_argo0) {
5178 if (_argo0 == Py_None) { _arg0 = NULL; }
5179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
5180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
5181 return NULL;
5182 }
5183 }
cf694132
RD
5184{
5185 wxPy_BEGIN_ALLOW_THREADS;
5186 _result = (int )wxPen_GetCap(_arg0);
5187
5188 wxPy_END_ALLOW_THREADS;
493f1553 5189 if (PyErr_Occurred()) return NULL;
cf694132 5190} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5191 return _resultobj;
5192}
5193
5194#define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
1afc06c2 5195static PyObject *_wrap_wxPen_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5196 PyObject * _resultobj;
5197 wxColour * _result;
5198 wxPen * _arg0;
1d99702e 5199 PyObject * _argo0 = 0;
1afc06c2 5200 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5201 char _ptemp[128];
5202
5203 self = self;
1afc06c2 5204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetColour",_kwnames,&_argo0))
8ab979d7 5205 return NULL;
1d99702e
RD
5206 if (_argo0) {
5207 if (_argo0 == Py_None) { _arg0 = NULL; }
5208 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
5209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
5210 return NULL;
5211 }
5212 }
cf694132
RD
5213{
5214 wxPy_BEGIN_ALLOW_THREADS;
25832b3f 5215 _result = new wxColour (wxPen_GetColour(_arg0));
cf694132
RD
5216
5217 wxPy_END_ALLOW_THREADS;
493f1553 5218 if (PyErr_Occurred()) return NULL;
25832b3f
RD
5219} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5220 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
5221 return _resultobj;
5222}
5223
8ab979d7 5224#define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
1afc06c2 5225static PyObject *_wrap_wxPen_GetJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5226 PyObject * _resultobj;
5227 int _result;
5228 wxPen * _arg0;
1d99702e 5229 PyObject * _argo0 = 0;
1afc06c2 5230 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5231
5232 self = self;
1afc06c2 5233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetJoin",_kwnames,&_argo0))
8ab979d7 5234 return NULL;
1d99702e
RD
5235 if (_argo0) {
5236 if (_argo0 == Py_None) { _arg0 = NULL; }
5237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
5238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
5239 return NULL;
5240 }
5241 }
cf694132
RD
5242{
5243 wxPy_BEGIN_ALLOW_THREADS;
5244 _result = (int )wxPen_GetJoin(_arg0);
5245
5246 wxPy_END_ALLOW_THREADS;
493f1553 5247 if (PyErr_Occurred()) return NULL;
cf694132 5248} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5249 return _resultobj;
5250}
5251
5252#define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
1afc06c2 5253static PyObject *_wrap_wxPen_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5254 PyObject * _resultobj;
5255 int _result;
5256 wxPen * _arg0;
1d99702e 5257 PyObject * _argo0 = 0;
1afc06c2 5258 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5259
5260 self = self;
1afc06c2 5261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetStyle",_kwnames,&_argo0))
8ab979d7 5262 return NULL;
1d99702e
RD
5263 if (_argo0) {
5264 if (_argo0 == Py_None) { _arg0 = NULL; }
5265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
5266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
5267 return NULL;
5268 }
5269 }
cf694132
RD
5270{
5271 wxPy_BEGIN_ALLOW_THREADS;
5272 _result = (int )wxPen_GetStyle(_arg0);
5273
5274 wxPy_END_ALLOW_THREADS;
493f1553 5275 if (PyErr_Occurred()) return NULL;
cf694132 5276} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5277 return _resultobj;
5278}
5279
5280#define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
1afc06c2 5281static PyObject *_wrap_wxPen_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5282 PyObject * _resultobj;
5283 int _result;
5284 wxPen * _arg0;
1d99702e 5285 PyObject * _argo0 = 0;
1afc06c2 5286 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5287
5288 self = self;
1afc06c2 5289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetWidth",_kwnames,&_argo0))
8ab979d7 5290 return NULL;
1d99702e
RD
5291 if (_argo0) {
5292 if (_argo0 == Py_None) { _arg0 = NULL; }
5293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
5294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
5295 return NULL;
5296 }
5297 }
cf694132
RD
5298{
5299 wxPy_BEGIN_ALLOW_THREADS;
5300 _result = (int )wxPen_GetWidth(_arg0);
5301
5302 wxPy_END_ALLOW_THREADS;
493f1553 5303 if (PyErr_Occurred()) return NULL;
cf694132 5304} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5305 return _resultobj;
5306}
5307
5308#define wxPen_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 5309static PyObject *_wrap_wxPen_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5310 PyObject * _resultobj;
5311 bool _result;
5312 wxPen * _arg0;
1d99702e 5313 PyObject * _argo0 = 0;
1afc06c2 5314 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5315
5316 self = self;
1afc06c2 5317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_Ok",_kwnames,&_argo0))
8ab979d7 5318 return NULL;
1d99702e
RD
5319 if (_argo0) {
5320 if (_argo0 == Py_None) { _arg0 = NULL; }
5321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
5322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
5323 return NULL;
5324 }
5325 }
cf694132
RD
5326{
5327 wxPy_BEGIN_ALLOW_THREADS;
5328 _result = (bool )wxPen_Ok(_arg0);
5329
5330 wxPy_END_ALLOW_THREADS;
493f1553 5331 if (PyErr_Occurred()) return NULL;
cf694132 5332} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5333 return _resultobj;
5334}
5335
5336#define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
1afc06c2 5337static PyObject *_wrap_wxPen_SetCap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5338 PyObject * _resultobj;
5339 wxPen * _arg0;
5340 int _arg1;
1d99702e 5341 PyObject * _argo0 = 0;
1afc06c2 5342 char *_kwnames[] = { "self","cap_style", NULL };
8ab979d7
RD
5343
5344 self = self;
1afc06c2 5345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPen_SetCap",_kwnames,&_argo0,&_arg1))
8ab979d7 5346 return NULL;
1d99702e
RD
5347 if (_argo0) {
5348 if (_argo0 == Py_None) { _arg0 = NULL; }
5349 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
5350 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
5351 return NULL;
5352 }
5353 }
cf694132
RD
5354{
5355 wxPy_BEGIN_ALLOW_THREADS;
5356 wxPen_SetCap(_arg0,_arg1);
5357
5358 wxPy_END_ALLOW_THREADS;
493f1553 5359 if (PyErr_Occurred()) return NULL;
cf694132 5360} Py_INCREF(Py_None);
8ab979d7
RD
5361 _resultobj = Py_None;
5362 return _resultobj;
5363}
5364
5365#define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
1afc06c2 5366static PyObject *_wrap_wxPen_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5367 PyObject * _resultobj;
5368 wxPen * _arg0;
5369 wxColour * _arg1;
1d99702e 5370 PyObject * _argo0 = 0;
f6bcfd97
BP
5371 wxColour temp;
5372 PyObject * _obj1 = 0;
1afc06c2 5373 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
5374
5375 self = self;
f6bcfd97 5376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPen_SetColour",_kwnames,&_argo0,&_obj1))
8ab979d7 5377 return NULL;
1d99702e
RD
5378 if (_argo0) {
5379 if (_argo0 == Py_None) { _arg0 = NULL; }
5380 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
5381 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
5382 return NULL;
5383 }
5384 }
f6bcfd97
BP
5385{
5386 _arg1 = &temp;
5387 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 5388 return NULL;
f6bcfd97 5389}
cf694132
RD
5390{
5391 wxPy_BEGIN_ALLOW_THREADS;
5392 wxPen_SetColour(_arg0,*_arg1);
5393
5394 wxPy_END_ALLOW_THREADS;
493f1553 5395 if (PyErr_Occurred()) return NULL;
cf694132 5396} Py_INCREF(Py_None);
8ab979d7
RD
5397 _resultobj = Py_None;
5398 return _resultobj;
5399}
5400
2ea09579 5401#define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
1afc06c2 5402static PyObject *_wrap_wxPen_SetJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5403 PyObject * _resultobj;
5404 wxPen * _arg0;
5405 int _arg1;
1d99702e 5406 PyObject * _argo0 = 0;
1afc06c2 5407 char *_kwnames[] = { "self","join_style", NULL };
8ab979d7
RD
5408
5409 self = self;
1afc06c2 5410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPen_SetJoin",_kwnames,&_argo0,&_arg1))
8ab979d7 5411 return NULL;
1d99702e
RD
5412 if (_argo0) {
5413 if (_argo0 == Py_None) { _arg0 = NULL; }
5414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579 5415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
8ab979d7
RD
5416 return NULL;
5417 }
5418 }
cf694132
RD
5419{
5420 wxPy_BEGIN_ALLOW_THREADS;
5421 wxPen_SetJoin(_arg0,_arg1);
5422
5423 wxPy_END_ALLOW_THREADS;
493f1553 5424 if (PyErr_Occurred()) return NULL;
cf694132 5425} Py_INCREF(Py_None);
2ea09579
RD
5426 _resultobj = Py_None;
5427 return _resultobj;
5428}
5429
5430#define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1afc06c2 5431static PyObject *_wrap_wxPen_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2ea09579
RD
5432 PyObject * _resultobj;
5433 wxPen * _arg0;
5434 int _arg1;
1d99702e 5435 PyObject * _argo0 = 0;
1afc06c2 5436 char *_kwnames[] = { "self","style", NULL };
2ea09579
RD
5437
5438 self = self;
1afc06c2 5439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPen_SetStyle",_kwnames,&_argo0,&_arg1))
8ab979d7 5440 return NULL;
1d99702e
RD
5441 if (_argo0) {
5442 if (_argo0 == Py_None) { _arg0 = NULL; }
5443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579
RD
5444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
5445 return NULL;
5446 }
8ab979d7 5447 }
cf694132
RD
5448{
5449 wxPy_BEGIN_ALLOW_THREADS;
5450 wxPen_SetStyle(_arg0,_arg1);
5451
5452 wxPy_END_ALLOW_THREADS;
493f1553 5453 if (PyErr_Occurred()) return NULL;
cf694132 5454} Py_INCREF(Py_None);
8ab979d7 5455 _resultobj = Py_None;
2ea09579 5456 return _resultobj;
8ab979d7 5457}
2ea09579
RD
5458
5459#define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1afc06c2 5460static PyObject *_wrap_wxPen_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2ea09579
RD
5461 PyObject * _resultobj;
5462 wxPen * _arg0;
5463 int _arg1;
1d99702e 5464 PyObject * _argo0 = 0;
1afc06c2 5465 char *_kwnames[] = { "self","width", NULL };
2ea09579
RD
5466
5467 self = self;
1afc06c2 5468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPen_SetWidth",_kwnames,&_argo0,&_arg1))
2ea09579 5469 return NULL;
1d99702e
RD
5470 if (_argo0) {
5471 if (_argo0 == Py_None) { _arg0 = NULL; }
5472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579
RD
5473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
5474 return NULL;
5475 }
5476 }
cf694132
RD
5477{
5478 wxPy_BEGIN_ALLOW_THREADS;
5479 wxPen_SetWidth(_arg0,_arg1);
5480
5481 wxPy_END_ALLOW_THREADS;
493f1553 5482 if (PyErr_Occurred()) return NULL;
cf694132 5483} Py_INCREF(Py_None);
2ea09579 5484 _resultobj = Py_None;
8ab979d7
RD
5485 return _resultobj;
5486}
5487
2ea09579 5488#define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
1afc06c2 5489static PyObject *_wrap_wxPen_SetDashes(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5490 PyObject * _resultobj;
5491 wxPen * _arg0;
5492 int _arg1;
2ea09579 5493 wxDash * _arg2;
1d99702e 5494 PyObject * _argo0 = 0;
2ea09579 5495 PyObject * _obj2 = 0;
eec92d76 5496 char *_kwnames[] = { "self","choices", NULL };
8ab979d7
RD
5497
5498 self = self;
1afc06c2 5499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPen_SetDashes",_kwnames,&_argo0,&_obj2))
8ab979d7 5500 return NULL;
1d99702e
RD
5501 if (_argo0) {
5502 if (_argo0 == Py_None) { _arg0 = NULL; }
5503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579 5504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
8ab979d7
RD
5505 return NULL;
5506 }
5507 }
2ea09579
RD
5508 if (_obj2)
5509{
f6bcfd97 5510 _arg2 = (wxDash*)byte_LIST_helper(_obj2);
2ea09579
RD
5511 if (_arg2 == NULL) {
5512 return NULL;
5513 }
5514}
5515{
cf694132
RD
5516 if (_obj2) {
5517 _arg1 = PyList_Size(_obj2);
5518 }
5519 else {
5520 _arg1 = 0;
5521 }
2ea09579 5522}
cf694132
RD
5523{
5524 wxPy_BEGIN_ALLOW_THREADS;
5525 wxPen_SetDashes(_arg0,_arg1,_arg2);
5526
5527 wxPy_END_ALLOW_THREADS;
493f1553 5528 if (PyErr_Occurred()) return NULL;
cf694132 5529} Py_INCREF(Py_None);
8ab979d7 5530 _resultobj = Py_None;
2ea09579
RD
5531{
5532 delete [] _arg2;
5533}
8ab979d7
RD
5534 return _resultobj;
5535}
5536
6999b0d8
RD
5537#define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
5538static PyObject *_wrap_wxPen_GetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
5539 PyObject * _resultobj;
5540 wxBitmap * _result;
5541 wxPen * _arg0;
5542 PyObject * _argo0 = 0;
5543 char *_kwnames[] = { "self", NULL };
5544 char _ptemp[128];
5545
5546 self = self;
5547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetStipple",_kwnames,&_argo0))
5548 return NULL;
5549 if (_argo0) {
5550 if (_argo0 == Py_None) { _arg0 = NULL; }
5551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
5552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetStipple. Expected _wxPen_p.");
5553 return NULL;
5554 }
5555 }
5556{
5557 wxPy_BEGIN_ALLOW_THREADS;
5558 _result = (wxBitmap *)wxPen_GetStipple(_arg0);
5559
5560 wxPy_END_ALLOW_THREADS;
493f1553 5561 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
5562} if (_result) {
5563 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
5564 _resultobj = Py_BuildValue("s",_ptemp);
5565 } else {
5566 Py_INCREF(Py_None);
5567 _resultobj = Py_None;
5568 }
5569 return _resultobj;
5570}
5571
2ea09579 5572#define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
1afc06c2 5573static PyObject *_wrap_wxPen_SetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5574 PyObject * _resultobj;
5575 wxPen * _arg0;
2ea09579 5576 wxBitmap * _arg1;
1d99702e
RD
5577 PyObject * _argo0 = 0;
5578 PyObject * _argo1 = 0;
1afc06c2 5579 char *_kwnames[] = { "self","stipple", NULL };
8ab979d7
RD
5580
5581 self = self;
1afc06c2 5582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPen_SetStipple",_kwnames,&_argo0,&_argo1))
8ab979d7 5583 return NULL;
1d99702e
RD
5584 if (_argo0) {
5585 if (_argo0 == Py_None) { _arg0 = NULL; }
5586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579 5587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
8ab979d7
RD
5588 return NULL;
5589 }
5590 }
1d99702e
RD
5591 if (_argo1) {
5592 if (_argo1 == Py_None) { _arg1 = NULL; }
5593 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
2ea09579
RD
5594 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
5595 return NULL;
5596 }
5597 }
cf694132
RD
5598{
5599 wxPy_BEGIN_ALLOW_THREADS;
5600 wxPen_SetStipple(_arg0,*_arg1);
5601
5602 wxPy_END_ALLOW_THREADS;
493f1553 5603 if (PyErr_Occurred()) return NULL;
cf694132 5604} Py_INCREF(Py_None);
8ab979d7
RD
5605 _resultobj = Py_None;
5606 return _resultobj;
5607}
5608
ecc08ead
RD
5609static void *SwigwxPyPenTowxPen(void *ptr) {
5610 wxPyPen *src;
5611 wxPen *dest;
5612 src = (wxPyPen *) ptr;
5613 dest = (wxPen *) src;
5614 return (void *) dest;
5615}
5616
5617static void *SwigwxPyPenTowxGDIObject(void *ptr) {
5618 wxPyPen *src;
5619 wxGDIObject *dest;
5620 src = (wxPyPen *) ptr;
5621 dest = (wxGDIObject *) src;
5622 return (void *) dest;
5623}
5624
5625static void *SwigwxPyPenTowxObject(void *ptr) {
5626 wxPyPen *src;
5627 wxObject *dest;
5628 src = (wxPyPen *) ptr;
5629 dest = (wxObject *) src;
5630 return (void *) dest;
5631}
5632
5633#define new_wxPyPen(_swigarg0,_swigarg1,_swigarg2) (new wxPyPen(_swigarg0,_swigarg1,_swigarg2))
5634static PyObject *_wrap_new_wxPyPen(PyObject *self, PyObject *args, PyObject *kwargs) {
5635 PyObject * _resultobj;
5636 wxPyPen * _result;
5637 wxColour * _arg0;
5638 int _arg1 = (int ) 1;
5639 int _arg2 = (int ) wxSOLID;
5640 wxColour temp;
5641 PyObject * _obj0 = 0;
5642 char *_kwnames[] = { "colour","width","style", NULL };
5643 char _ptemp[128];
5644
5645 self = self;
5646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:new_wxPyPen",_kwnames,&_obj0,&_arg1,&_arg2))
5647 return NULL;
5648{
5649 _arg0 = &temp;
5650 if (! wxColour_helper(_obj0, &_arg0))
5651 return NULL;
5652}
5653{
5654 wxPy_BEGIN_ALLOW_THREADS;
5655 _result = (wxPyPen *)new_wxPyPen(*_arg0,_arg1,_arg2);
5656
5657 wxPy_END_ALLOW_THREADS;
5658 if (PyErr_Occurred()) return NULL;
5659} if (_result) {
5660 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPen_p");
5661 _resultobj = Py_BuildValue("s",_ptemp);
5662 } else {
5663 Py_INCREF(Py_None);
5664 _resultobj = Py_None;
5665 }
5666 return _resultobj;
5667}
5668
5669#define delete_wxPyPen(_swigobj) (delete _swigobj)
5670static PyObject *_wrap_delete_wxPyPen(PyObject *self, PyObject *args, PyObject *kwargs) {
5671 PyObject * _resultobj;
5672 wxPyPen * _arg0;
5673 PyObject * _argo0 = 0;
5674 char *_kwnames[] = { "self", NULL };
5675
5676 self = self;
5677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyPen",_kwnames,&_argo0))
5678 return NULL;
5679 if (_argo0) {
5680 if (_argo0 == Py_None) { _arg0 = NULL; }
5681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPen_p")) {
5682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyPen. Expected _wxPyPen_p.");
5683 return NULL;
5684 }
5685 }
5686{
5687 wxPy_BEGIN_ALLOW_THREADS;
5688 delete_wxPyPen(_arg0);
5689
5690 wxPy_END_ALLOW_THREADS;
5691 if (PyErr_Occurred()) return NULL;
5692} Py_INCREF(Py_None);
5693 _resultobj = Py_None;
5694 return _resultobj;
5695}
5696
5697#define wxPyPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
5698static PyObject *_wrap_wxPyPen_SetDashes(PyObject *self, PyObject *args, PyObject *kwargs) {
5699 PyObject * _resultobj;
5700 wxPyPen * _arg0;
5701 int _arg1;
5702 wxDash * _arg2;
5703 PyObject * _argo0 = 0;
5704 PyObject * _obj2 = 0;
5705 char *_kwnames[] = { "self","choices", NULL };
5706
5707 self = self;
5708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPen_SetDashes",_kwnames,&_argo0,&_obj2))
5709 return NULL;
5710 if (_argo0) {
5711 if (_argo0 == Py_None) { _arg0 = NULL; }
5712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPen_p")) {
5713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPen_SetDashes. Expected _wxPyPen_p.");
5714 return NULL;
5715 }
5716 }
5717 if (_obj2)
5718{
5719 _arg2 = (wxDash*)byte_LIST_helper(_obj2);
5720 if (_arg2 == NULL) {
5721 return NULL;
5722 }
5723}
5724{
5725 if (_obj2) {
5726 _arg1 = PyList_Size(_obj2);
5727 }
5728 else {
5729 _arg1 = 0;
5730 }
5731}
5732{
5733 wxPy_BEGIN_ALLOW_THREADS;
5734 wxPyPen_SetDashes(_arg0,_arg1,_arg2);
5735
5736 wxPy_END_ALLOW_THREADS;
5737 if (PyErr_Occurred()) return NULL;
5738} Py_INCREF(Py_None);
5739 _resultobj = Py_None;
5740{
5741 delete [] _arg2;
5742}
5743 return _resultobj;
5744}
5745
9416aa89
RD
5746static void *SwigwxPenListTowxObject(void *ptr) {
5747 wxPenList *src;
5748 wxObject *dest;
5749 src = (wxPenList *) ptr;
5750 dest = (wxObject *) src;
5751 return (void *) dest;
5752}
5753
0569df0f
RD
5754#define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
5755static PyObject *_wrap_wxPenList_AddPen(PyObject *self, PyObject *args, PyObject *kwargs) {
5756 PyObject * _resultobj;
5757 wxPenList * _arg0;
5758 wxPen * _arg1;
5759 PyObject * _argo0 = 0;
5760 PyObject * _argo1 = 0;
5761 char *_kwnames[] = { "self","pen", NULL };
5762
5763 self = self;
5764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPenList_AddPen",_kwnames,&_argo0,&_argo1))
5765 return NULL;
5766 if (_argo0) {
5767 if (_argo0 == Py_None) { _arg0 = NULL; }
5768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPenList_p")) {
5769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
5770 return NULL;
5771 }
5772 }
5773 if (_argo1) {
5774 if (_argo1 == Py_None) { _arg1 = NULL; }
5775 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) {
5776 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
5777 return NULL;
5778 }
5779 }
5780{
5781 wxPy_BEGIN_ALLOW_THREADS;
5782 wxPenList_AddPen(_arg0,_arg1);
5783
5784 wxPy_END_ALLOW_THREADS;
493f1553 5785 if (PyErr_Occurred()) return NULL;
0569df0f
RD
5786} Py_INCREF(Py_None);
5787 _resultobj = Py_None;
5788 return _resultobj;
5789}
5790
5791#define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
5792static PyObject *_wrap_wxPenList_FindOrCreatePen(PyObject *self, PyObject *args, PyObject *kwargs) {
5793 PyObject * _resultobj;
5794 wxPen * _result;
5795 wxPenList * _arg0;
5796 wxColour * _arg1;
5797 int _arg2;
5798 int _arg3;
5799 PyObject * _argo0 = 0;
5800 wxColour temp;
5801 PyObject * _obj1 = 0;
5802 char *_kwnames[] = { "self","colour","width","style", NULL };
5803 char _ptemp[128];
5804
5805 self = self;
5806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPenList_FindOrCreatePen",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
5807 return NULL;
5808 if (_argo0) {
5809 if (_argo0 == Py_None) { _arg0 = NULL; }
5810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPenList_p")) {
5811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
5812 return NULL;
5813 }
5814 }
5815{
5816 _arg1 = &temp;
5817 if (! wxColour_helper(_obj1, &_arg1))
5818 return NULL;
5819}
5820{
5821 wxPy_BEGIN_ALLOW_THREADS;
5822 _result = (wxPen *)wxPenList_FindOrCreatePen(_arg0,*_arg1,_arg2,_arg3);
5823
5824 wxPy_END_ALLOW_THREADS;
493f1553 5825 if (PyErr_Occurred()) return NULL;
0569df0f
RD
5826} if (_result) {
5827 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
5828 _resultobj = Py_BuildValue("s",_ptemp);
5829 } else {
5830 Py_INCREF(Py_None);
5831 _resultobj = Py_None;
5832 }
5833 return _resultobj;
5834}
5835
5836#define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
5837static PyObject *_wrap_wxPenList_RemovePen(PyObject *self, PyObject *args, PyObject *kwargs) {
5838 PyObject * _resultobj;
5839 wxPenList * _arg0;
5840 wxPen * _arg1;
5841 PyObject * _argo0 = 0;
5842 PyObject * _argo1 = 0;
5843 char *_kwnames[] = { "self","pen", NULL };
5844
5845 self = self;
5846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPenList_RemovePen",_kwnames,&_argo0,&_argo1))
5847 return NULL;
5848 if (_argo0) {
5849 if (_argo0 == Py_None) { _arg0 = NULL; }
5850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPenList_p")) {
5851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
5852 return NULL;
5853 }
5854 }
5855 if (_argo1) {
5856 if (_argo1 == Py_None) { _arg1 = NULL; }
5857 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) {
5858 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
5859 return NULL;
8ab979d7 5860 }
0569df0f
RD
5861 }
5862{
5863 wxPy_BEGIN_ALLOW_THREADS;
5864 wxPenList_RemovePen(_arg0,_arg1);
8ab979d7 5865
0569df0f 5866 wxPy_END_ALLOW_THREADS;
493f1553 5867 if (PyErr_Occurred()) return NULL;
0569df0f
RD
5868} Py_INCREF(Py_None);
5869 _resultobj = Py_None;
5870 return _resultobj;
5871}
5872
9416aa89
RD
5873static void *SwigwxBrushTowxGDIObject(void *ptr) {
5874 wxBrush *src;
5875 wxGDIObject *dest;
5876 src = (wxBrush *) ptr;
5877 dest = (wxGDIObject *) src;
5878 return (void *) dest;
5879}
5880
5881static void *SwigwxBrushTowxObject(void *ptr) {
5882 wxBrush *src;
5883 wxObject *dest;
5884 src = (wxBrush *) ptr;
5885 dest = (wxObject *) src;
5886 return (void *) dest;
5887}
5888
0569df0f 5889#define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
1afc06c2 5890static PyObject *_wrap_new_wxBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5891 PyObject * _resultobj;
5892 wxBrush * _result;
5893 wxColour * _arg0;
1d99702e 5894 int _arg1 = (int ) wxSOLID;
f6bcfd97
BP
5895 wxColour temp;
5896 PyObject * _obj0 = 0;
1afc06c2 5897 char *_kwnames[] = { "colour","style", NULL };
8ab979d7
RD
5898 char _ptemp[128];
5899
5900 self = self;
f6bcfd97 5901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxBrush",_kwnames,&_obj0,&_arg1))
8ab979d7 5902 return NULL;
f6bcfd97
BP
5903{
5904 _arg0 = &temp;
5905 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 5906 return NULL;
f6bcfd97 5907}
cf694132
RD
5908{
5909 wxPy_BEGIN_ALLOW_THREADS;
0569df0f 5910 _result = (wxBrush *)new_wxBrush(*_arg0,_arg1);
cf694132
RD
5911
5912 wxPy_END_ALLOW_THREADS;
493f1553 5913 if (PyErr_Occurred()) return NULL;
1d99702e
RD
5914} if (_result) {
5915 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
5916 _resultobj = Py_BuildValue("s",_ptemp);
5917 } else {
5918 Py_INCREF(Py_None);
5919 _resultobj = Py_None;
5920 }
8ab979d7
RD
5921 return _resultobj;
5922}
5923
0569df0f
RD
5924#define delete_wxBrush(_swigobj) (delete _swigobj)
5925static PyObject *_wrap_delete_wxBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
5926 PyObject * _resultobj;
5927 wxBrush * _arg0;
5928 PyObject * _argo0 = 0;
5929 char *_kwnames[] = { "self", NULL };
5930
5931 self = self;
5932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxBrush",_kwnames,&_argo0))
5933 return NULL;
5934 if (_argo0) {
5935 if (_argo0 == Py_None) { _arg0 = NULL; }
5936 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
5937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
5938 return NULL;
5939 }
5940 }
5941{
5942 wxPy_BEGIN_ALLOW_THREADS;
5943 delete_wxBrush(_arg0);
5944
5945 wxPy_END_ALLOW_THREADS;
493f1553 5946 if (PyErr_Occurred()) return NULL;
0569df0f
RD
5947} Py_INCREF(Py_None);
5948 _resultobj = Py_None;
5949 return _resultobj;
5950}
5951
8ab979d7 5952#define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
1afc06c2 5953static PyObject *_wrap_wxBrush_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5954 PyObject * _resultobj;
5955 wxColour * _result;
5956 wxBrush * _arg0;
1d99702e 5957 PyObject * _argo0 = 0;
1afc06c2 5958 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5959 char _ptemp[128];
5960
5961 self = self;
1afc06c2 5962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrush_GetColour",_kwnames,&_argo0))
8ab979d7 5963 return NULL;
1d99702e
RD
5964 if (_argo0) {
5965 if (_argo0 == Py_None) { _arg0 = NULL; }
5966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
5967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
5968 return NULL;
5969 }
5970 }
cf694132
RD
5971{
5972 wxPy_BEGIN_ALLOW_THREADS;
25832b3f 5973 _result = new wxColour (wxBrush_GetColour(_arg0));
cf694132
RD
5974
5975 wxPy_END_ALLOW_THREADS;
493f1553 5976 if (PyErr_Occurred()) return NULL;
25832b3f
RD
5977} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5978 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
5979 return _resultobj;
5980}
5981
5982#define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
1afc06c2 5983static PyObject *_wrap_wxBrush_GetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5984 PyObject * _resultobj;
5985 wxBitmap * _result;
5986 wxBrush * _arg0;
1d99702e 5987 PyObject * _argo0 = 0;
1afc06c2 5988 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5989 char _ptemp[128];
5990
5991 self = self;
1afc06c2 5992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrush_GetStipple",_kwnames,&_argo0))
8ab979d7 5993 return NULL;
1d99702e
RD
5994 if (_argo0) {
5995 if (_argo0 == Py_None) { _arg0 = NULL; }
5996 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
5997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
5998 return NULL;
5999 }
6000 }
cf694132
RD
6001{
6002 wxPy_BEGIN_ALLOW_THREADS;
6003 _result = (wxBitmap *)wxBrush_GetStipple(_arg0);
6004
6005 wxPy_END_ALLOW_THREADS;
493f1553 6006 if (PyErr_Occurred()) return NULL;
1d99702e
RD
6007} if (_result) {
6008 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
6009 _resultobj = Py_BuildValue("s",_ptemp);
6010 } else {
6011 Py_INCREF(Py_None);
6012 _resultobj = Py_None;
6013 }
8ab979d7
RD
6014 return _resultobj;
6015}
6016
6017#define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
1afc06c2 6018static PyObject *_wrap_wxBrush_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6019 PyObject * _resultobj;
6020 int _result;
6021 wxBrush * _arg0;
1d99702e 6022 PyObject * _argo0 = 0;
1afc06c2 6023 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6024
6025 self = self;
1afc06c2 6026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrush_GetStyle",_kwnames,&_argo0))
8ab979d7 6027 return NULL;
1d99702e
RD
6028 if (_argo0) {
6029 if (_argo0 == Py_None) { _arg0 = NULL; }
6030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
6031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
6032 return NULL;
6033 }
6034 }
cf694132
RD
6035{
6036 wxPy_BEGIN_ALLOW_THREADS;
6037 _result = (int )wxBrush_GetStyle(_arg0);
6038
6039 wxPy_END_ALLOW_THREADS;
493f1553 6040 if (PyErr_Occurred()) return NULL;
cf694132 6041} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6042 return _resultobj;
6043}
6044
6045#define wxBrush_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 6046static PyObject *_wrap_wxBrush_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6047 PyObject * _resultobj;
6048 bool _result;
6049 wxBrush * _arg0;
1d99702e 6050 PyObject * _argo0 = 0;
1afc06c2 6051 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6052
6053 self = self;
1afc06c2 6054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrush_Ok",_kwnames,&_argo0))
8ab979d7 6055 return NULL;
1d99702e
RD
6056 if (_argo0) {
6057 if (_argo0 == Py_None) { _arg0 = NULL; }
6058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
6059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
6060 return NULL;
6061 }
6062 }
cf694132
RD
6063{
6064 wxPy_BEGIN_ALLOW_THREADS;
6065 _result = (bool )wxBrush_Ok(_arg0);
6066
6067 wxPy_END_ALLOW_THREADS;
493f1553 6068 if (PyErr_Occurred()) return NULL;
cf694132 6069} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6070 return _resultobj;
6071}
6072
6073#define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
1afc06c2 6074static PyObject *_wrap_wxBrush_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6075 PyObject * _resultobj;
6076 wxBrush * _arg0;
6077 wxColour * _arg1;
1d99702e 6078 PyObject * _argo0 = 0;
f6bcfd97
BP
6079 wxColour temp;
6080 PyObject * _obj1 = 0;
1afc06c2 6081 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
6082
6083 self = self;
f6bcfd97 6084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBrush_SetColour",_kwnames,&_argo0,&_obj1))
8ab979d7 6085 return NULL;
1d99702e
RD
6086 if (_argo0) {
6087 if (_argo0 == Py_None) { _arg0 = NULL; }
6088 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
6089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
6090 return NULL;
6091 }
6092 }
f6bcfd97
BP
6093{
6094 _arg1 = &temp;
6095 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 6096 return NULL;
f6bcfd97 6097}
cf694132
RD
6098{
6099 wxPy_BEGIN_ALLOW_THREADS;
6100 wxBrush_SetColour(_arg0,*_arg1);
6101
6102 wxPy_END_ALLOW_THREADS;
493f1553 6103 if (PyErr_Occurred()) return NULL;
cf694132 6104} Py_INCREF(Py_None);
8ab979d7
RD
6105 _resultobj = Py_None;
6106 return _resultobj;
6107}
6108
6109#define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
1afc06c2 6110static PyObject *_wrap_wxBrush_SetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6111 PyObject * _resultobj;
6112 wxBrush * _arg0;
6113 wxBitmap * _arg1;
1d99702e
RD
6114 PyObject * _argo0 = 0;
6115 PyObject * _argo1 = 0;
1afc06c2 6116 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
6117
6118 self = self;
1afc06c2 6119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBrush_SetStipple",_kwnames,&_argo0,&_argo1))
8ab979d7 6120 return NULL;
1d99702e
RD
6121 if (_argo0) {
6122 if (_argo0 == Py_None) { _arg0 = NULL; }
6123 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
6124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
6125 return NULL;
6126 }
6127 }
1d99702e
RD
6128 if (_argo1) {
6129 if (_argo1 == Py_None) { _arg1 = NULL; }
6130 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
6131 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
6132 return NULL;
6133 }
6134 }
cf694132
RD
6135{
6136 wxPy_BEGIN_ALLOW_THREADS;
6137 wxBrush_SetStipple(_arg0,*_arg1);
6138
6139 wxPy_END_ALLOW_THREADS;
493f1553 6140 if (PyErr_Occurred()) return NULL;
cf694132 6141} Py_INCREF(Py_None);
8ab979d7
RD
6142 _resultobj = Py_None;
6143 return _resultobj;
6144}
6145
6146#define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1afc06c2 6147static PyObject *_wrap_wxBrush_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6148 PyObject * _resultobj;
6149 wxBrush * _arg0;
6150 int _arg1;
1d99702e 6151 PyObject * _argo0 = 0;
1afc06c2 6152 char *_kwnames[] = { "self","style", NULL };
8ab979d7
RD
6153
6154 self = self;
1afc06c2 6155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBrush_SetStyle",_kwnames,&_argo0,&_arg1))
8ab979d7 6156 return NULL;
1d99702e
RD
6157 if (_argo0) {
6158 if (_argo0 == Py_None) { _arg0 = NULL; }
6159 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
6160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
6161 return NULL;
6162 }
6163 }
cf694132
RD
6164{
6165 wxPy_BEGIN_ALLOW_THREADS;
6166 wxBrush_SetStyle(_arg0,_arg1);
6167
6168 wxPy_END_ALLOW_THREADS;
493f1553 6169 if (PyErr_Occurred()) return NULL;
cf694132 6170} Py_INCREF(Py_None);
8ab979d7
RD
6171 _resultobj = Py_None;
6172 return _resultobj;
6173}
6174
6ee2116b
RD
6175static void *SwigwxBrushListTowxObject(void *ptr) {
6176 wxBrushList *src;
6177 wxObject *dest;
6178 src = (wxBrushList *) ptr;
6179 dest = (wxObject *) src;
6180 return (void *) dest;
6181}
6182
0569df0f
RD
6183#define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
6184static PyObject *_wrap_wxBrushList_AddBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
6185 PyObject * _resultobj;
6186 wxBrushList * _arg0;
6187 wxBrush * _arg1;
6188 PyObject * _argo0 = 0;
6189 PyObject * _argo1 = 0;
6190 char *_kwnames[] = { "self","brush", NULL };
6191
6192 self = self;
6193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBrushList_AddBrush",_kwnames,&_argo0,&_argo1))
6194 return NULL;
6195 if (_argo0) {
6196 if (_argo0 == Py_None) { _arg0 = NULL; }
6197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrushList_p")) {
6198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
6199 return NULL;
6200 }
6201 }
6202 if (_argo1) {
6203 if (_argo1 == Py_None) { _arg1 = NULL; }
6204 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) {
6205 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
6206 return NULL;
6207 }
6208 }
6209{
6210 wxPy_BEGIN_ALLOW_THREADS;
6211 wxBrushList_AddBrush(_arg0,_arg1);
6212
6213 wxPy_END_ALLOW_THREADS;
493f1553 6214 if (PyErr_Occurred()) return NULL;
0569df0f
RD
6215} Py_INCREF(Py_None);
6216 _resultobj = Py_None;
6217 return _resultobj;
6218}
6219
6220#define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
6221static PyObject *_wrap_wxBrushList_FindOrCreateBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
6222 PyObject * _resultobj;
6223 wxBrush * _result;
6224 wxBrushList * _arg0;
6225 wxColour * _arg1;
6226 int _arg2;
6227 PyObject * _argo0 = 0;
6228 wxColour temp;
6229 PyObject * _obj1 = 0;
6230 char *_kwnames[] = { "self","colour","style", NULL };
6231 char _ptemp[128];
6232
6233 self = self;
6234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxBrushList_FindOrCreateBrush",_kwnames,&_argo0,&_obj1,&_arg2))
6235 return NULL;
6236 if (_argo0) {
6237 if (_argo0 == Py_None) { _arg0 = NULL; }
6238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrushList_p")) {
6239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
6240 return NULL;
6241 }
6242 }
6243{
6244 _arg1 = &temp;
6245 if (! wxColour_helper(_obj1, &_arg1))
6246 return NULL;
6247}
6248{
6249 wxPy_BEGIN_ALLOW_THREADS;
6250 _result = (wxBrush *)wxBrushList_FindOrCreateBrush(_arg0,*_arg1,_arg2);
6251
6252 wxPy_END_ALLOW_THREADS;
493f1553 6253 if (PyErr_Occurred()) return NULL;
0569df0f
RD
6254} if (_result) {
6255 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
6256 _resultobj = Py_BuildValue("s",_ptemp);
6257 } else {
6258 Py_INCREF(Py_None);
6259 _resultobj = Py_None;
6260 }
6261 return _resultobj;
6262}
6263
6264#define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
6265static PyObject *_wrap_wxBrushList_RemoveBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
6266 PyObject * _resultobj;
6267 wxBrushList * _arg0;
6268 wxBrush * _arg1;
6269 PyObject * _argo0 = 0;
6270 PyObject * _argo1 = 0;
6271 char *_kwnames[] = { "self","brush", NULL };
6272
6273 self = self;
6274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBrushList_RemoveBrush",_kwnames,&_argo0,&_argo1))
6275 return NULL;
6276 if (_argo0) {
6277 if (_argo0 == Py_None) { _arg0 = NULL; }
6278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrushList_p")) {
6279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
6280 return NULL;
6281 }
6282 }
6283 if (_argo1) {
6284 if (_argo1 == Py_None) { _arg1 = NULL; }
6285 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) {
6286 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
6287 return NULL;
6288 }
6289 }
6290{
6291 wxPy_BEGIN_ALLOW_THREADS;
6292 wxBrushList_RemoveBrush(_arg0,_arg1);
6293
6294 wxPy_END_ALLOW_THREADS;
493f1553 6295 if (PyErr_Occurred()) return NULL;
0569df0f
RD
6296} Py_INCREF(Py_None);
6297 _resultobj = Py_None;
6298 return _resultobj;
6299}
6300
9416aa89
RD
6301static void *SwigwxDCTowxObject(void *ptr) {
6302 wxDC *src;
6303 wxObject *dest;
6304 src = (wxDC *) ptr;
6305 dest = (wxObject *) src;
6306 return (void *) dest;
6307}
6308
8ab979d7 6309#define delete_wxDC(_swigobj) (delete _swigobj)
1afc06c2 6310static PyObject *_wrap_delete_wxDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6311 PyObject * _resultobj;
6312 wxDC * _arg0;
1d99702e 6313 PyObject * _argo0 = 0;
1afc06c2 6314 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6315
6316 self = self;
1afc06c2 6317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxDC",_kwnames,&_argo0))
8ab979d7 6318 return NULL;
1d99702e
RD
6319 if (_argo0) {
6320 if (_argo0 == Py_None) { _arg0 = NULL; }
6321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
6323 return NULL;
6324 }
6325 }
cf694132
RD
6326{
6327 wxPy_BEGIN_ALLOW_THREADS;
6328 delete_wxDC(_arg0);
6329
6330 wxPy_END_ALLOW_THREADS;
493f1553 6331 if (PyErr_Occurred()) return NULL;
cf694132 6332} Py_INCREF(Py_None);
8ab979d7
RD
6333 _resultobj = Py_None;
6334 return _resultobj;
6335}
6336
6337#define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
1afc06c2 6338static PyObject *_wrap_wxDC_BeginDrawing(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6339 PyObject * _resultobj;
6340 wxDC * _arg0;
1d99702e 6341 PyObject * _argo0 = 0;
1afc06c2 6342 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6343
6344 self = self;
1afc06c2 6345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_BeginDrawing",_kwnames,&_argo0))
8ab979d7 6346 return NULL;
1d99702e
RD
6347 if (_argo0) {
6348 if (_argo0 == Py_None) { _arg0 = NULL; }
6349 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6350 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
6351 return NULL;
6352 }
6353 }
cf694132
RD
6354{
6355 wxPy_BEGIN_ALLOW_THREADS;
6356 wxDC_BeginDrawing(_arg0);
6357
6358 wxPy_END_ALLOW_THREADS;
493f1553 6359 if (PyErr_Occurred()) return NULL;
cf694132 6360} Py_INCREF(Py_None);
8ab979d7
RD
6361 _resultobj = Py_None;
6362 return _resultobj;
6363}
6364
efc5f224 6365#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 6366static PyObject *_wrap_wxDC_Blit(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6367 PyObject * _resultobj;
6368 bool _result;
6369 wxDC * _arg0;
6370 long _arg1;
6371 long _arg2;
6372 long _arg3;
6373 long _arg4;
6374 wxDC * _arg5;
6375 long _arg6;
6376 long _arg7;
efc5f224
RD
6377 int _arg8 = (int ) wxCOPY;
6378 int _arg9 = (int ) FALSE;
1d99702e
RD
6379 PyObject * _argo0 = 0;
6380 PyObject * _argo5 = 0;
1afc06c2 6381 char *_kwnames[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL };
8ab979d7
RD
6382
6383 self = self;
1afc06c2 6384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllllOll|ii:wxDC_Blit",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_argo5,&_arg6,&_arg7,&_arg8,&_arg9))
8ab979d7 6385 return NULL;
1d99702e
RD
6386 if (_argo0) {
6387 if (_argo0 == Py_None) { _arg0 = NULL; }
6388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
6390 return NULL;
6391 }
6392 }
1d99702e
RD
6393 if (_argo5) {
6394 if (_argo5 == Py_None) { _arg5 = NULL; }
6395 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxDC_p")) {
8ab979d7
RD
6396 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
6397 return NULL;
6398 }
6399 }
cf694132
RD
6400{
6401 wxPy_BEGIN_ALLOW_THREADS;
efc5f224 6402 _result = (bool )wxDC_Blit(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
cf694132
RD
6403
6404 wxPy_END_ALLOW_THREADS;
493f1553 6405 if (PyErr_Occurred()) return NULL;
cf694132 6406} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6407 return _resultobj;
6408}
6409
6410#define wxDC_Clear(_swigobj) (_swigobj->Clear())
1afc06c2 6411static PyObject *_wrap_wxDC_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6412 PyObject * _resultobj;
6413 wxDC * _arg0;
1d99702e 6414 PyObject * _argo0 = 0;
1afc06c2 6415 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6416
6417 self = self;
1afc06c2 6418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_Clear",_kwnames,&_argo0))
8ab979d7 6419 return NULL;
1d99702e
RD
6420 if (_argo0) {
6421 if (_argo0 == Py_None) { _arg0 = NULL; }
6422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
6424 return NULL;
6425 }
6426 }
cf694132
RD
6427{
6428 wxPy_BEGIN_ALLOW_THREADS;
6429 wxDC_Clear(_arg0);
6430
6431 wxPy_END_ALLOW_THREADS;
493f1553 6432 if (PyErr_Occurred()) return NULL;
cf694132 6433} Py_INCREF(Py_None);
8ab979d7
RD
6434 _resultobj = Py_None;
6435 return _resultobj;
6436}
6437
6438#define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
1afc06c2 6439static PyObject *_wrap_wxDC_CrossHair(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6440 PyObject * _resultobj;
6441 wxDC * _arg0;
6442 long _arg1;
6443 long _arg2;
1d99702e 6444 PyObject * _argo0 = 0;
1afc06c2 6445 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
6446
6447 self = self;
1afc06c2 6448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxDC_CrossHair",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 6449 return NULL;
1d99702e
RD
6450 if (_argo0) {
6451 if (_argo0 == Py_None) { _arg0 = NULL; }
6452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
6454 return NULL;
6455 }
6456 }
cf694132
RD
6457{
6458 wxPy_BEGIN_ALLOW_THREADS;
6459 wxDC_CrossHair(_arg0,_arg1,_arg2);
6460
6461 wxPy_END_ALLOW_THREADS;
493f1553 6462 if (PyErr_Occurred()) return NULL;
cf694132 6463} Py_INCREF(Py_None);
8ab979d7
RD
6464 _resultobj = Py_None;
6465 return _resultobj;
6466}
6467
6468#define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
1afc06c2 6469static PyObject *_wrap_wxDC_DestroyClippingRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6470 PyObject * _resultobj;
6471 wxDC * _arg0;
1d99702e 6472 PyObject * _argo0 = 0;
1afc06c2 6473 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6474
6475 self = self;
1afc06c2 6476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_DestroyClippingRegion",_kwnames,&_argo0))
8ab979d7 6477 return NULL;
1d99702e
RD
6478 if (_argo0) {
6479 if (_argo0 == Py_None) { _arg0 = NULL; }
6480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
6482 return NULL;
6483 }
6484 }
cf694132
RD
6485{
6486 wxPy_BEGIN_ALLOW_THREADS;
6487 wxDC_DestroyClippingRegion(_arg0);
6488
6489 wxPy_END_ALLOW_THREADS;
493f1553 6490 if (PyErr_Occurred()) return NULL;
cf694132 6491} Py_INCREF(Py_None);
8ab979d7
RD
6492 _resultobj = Py_None;
6493 return _resultobj;
6494}
6495
6496#define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
1afc06c2 6497static PyObject *_wrap_wxDC_DeviceToLogicalX(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6498 PyObject * _resultobj;
6499 long _result;
6500 wxDC * _arg0;
6501 long _arg1;
1d99702e 6502 PyObject * _argo0 = 0;
1afc06c2 6503 char *_kwnames[] = { "self","x", NULL };
8ab979d7
RD
6504
6505 self = self;
1afc06c2 6506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_DeviceToLogicalX",_kwnames,&_argo0,&_arg1))
8ab979d7 6507 return NULL;
1d99702e
RD
6508 if (_argo0) {
6509 if (_argo0 == Py_None) { _arg0 = NULL; }
6510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
6512 return NULL;
6513 }
6514 }
cf694132
RD
6515{
6516 wxPy_BEGIN_ALLOW_THREADS;
6517 _result = (long )wxDC_DeviceToLogicalX(_arg0,_arg1);
6518
6519 wxPy_END_ALLOW_THREADS;
493f1553 6520 if (PyErr_Occurred()) return NULL;
cf694132 6521} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
6522 return _resultobj;
6523}
6524
6525#define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
1afc06c2 6526static PyObject *_wrap_wxDC_DeviceToLogicalXRel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6527 PyObject * _resultobj;
6528 long _result;
6529 wxDC * _arg0;
6530 long _arg1;
1d99702e 6531 PyObject * _argo0 = 0;
1afc06c2 6532 char *_kwnames[] = { "self","x", NULL };
8ab979d7
RD
6533
6534 self = self;
1afc06c2 6535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_DeviceToLogicalXRel",_kwnames,&_argo0,&_arg1))
8ab979d7 6536 return NULL;
1d99702e
RD
6537 if (_argo0) {
6538 if (_argo0 == Py_None) { _arg0 = NULL; }
6539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
6541 return NULL;
6542 }
6543 }
cf694132
RD
6544{
6545 wxPy_BEGIN_ALLOW_THREADS;
6546 _result = (long )wxDC_DeviceToLogicalXRel(_arg0,_arg1);
6547
6548 wxPy_END_ALLOW_THREADS;
493f1553 6549 if (PyErr_Occurred()) return NULL;
cf694132 6550} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
6551 return _resultobj;
6552}
6553
6554#define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
1afc06c2 6555static PyObject *_wrap_wxDC_DeviceToLogicalY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6556 PyObject * _resultobj;
6557 long _result;
6558 wxDC * _arg0;
6559 long _arg1;
1d99702e 6560 PyObject * _argo0 = 0;
1afc06c2 6561 char *_kwnames[] = { "self","y", NULL };
8ab979d7
RD
6562
6563 self = self;
1afc06c2 6564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_DeviceToLogicalY",_kwnames,&_argo0,&_arg1))
8ab979d7 6565 return NULL;
1d99702e
RD
6566 if (_argo0) {
6567 if (_argo0 == Py_None) { _arg0 = NULL; }
6568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
6570 return NULL;
6571 }
6572 }
cf694132
RD
6573{
6574 wxPy_BEGIN_ALLOW_THREADS;
6575 _result = (long )wxDC_DeviceToLogicalY(_arg0,_arg1);
6576
6577 wxPy_END_ALLOW_THREADS;
493f1553 6578 if (PyErr_Occurred()) return NULL;
cf694132 6579} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
6580 return _resultobj;
6581}
6582
6583#define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
1afc06c2 6584static PyObject *_wrap_wxDC_DeviceToLogicalYRel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6585 PyObject * _resultobj;
6586 long _result;
6587 wxDC * _arg0;
6588 long _arg1;
1d99702e 6589 PyObject * _argo0 = 0;
1afc06c2 6590 char *_kwnames[] = { "self","y", NULL };
8ab979d7
RD
6591
6592 self = self;
1afc06c2 6593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_DeviceToLogicalYRel",_kwnames,&_argo0,&_arg1))
8ab979d7 6594 return NULL;
1d99702e
RD
6595 if (_argo0) {
6596 if (_argo0 == Py_None) { _arg0 = NULL; }
6597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
6599 return NULL;
6600 }
6601 }
cf694132
RD
6602{
6603 wxPy_BEGIN_ALLOW_THREADS;
6604 _result = (long )wxDC_DeviceToLogicalYRel(_arg0,_arg1);
6605
6606 wxPy_END_ALLOW_THREADS;
493f1553 6607 if (PyErr_Occurred()) return NULL;
cf694132 6608} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
6609 return _resultobj;
6610}
6611
6612#define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1afc06c2 6613static PyObject *_wrap_wxDC_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6614 PyObject * _resultobj;
6615 wxDC * _arg0;
6616 long _arg1;
6617 long _arg2;
6618 long _arg3;
6619 long _arg4;
6620 long _arg5;
6621 long _arg6;
1d99702e 6622 PyObject * _argo0 = 0;
1afc06c2 6623 char *_kwnames[] = { "self","x1","y1","x2","y2","xc","yc", NULL };
8ab979d7
RD
6624
6625 self = self;
1afc06c2 6626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollllll:wxDC_DrawArc",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
8ab979d7 6627 return NULL;
1d99702e
RD
6628 if (_argo0) {
6629 if (_argo0 == Py_None) { _arg0 = NULL; }
6630 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6631 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
6632 return NULL;
6633 }
6634 }
cf694132
RD
6635{
6636 wxPy_BEGIN_ALLOW_THREADS;
6637 wxDC_DrawArc(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
6638
6639 wxPy_END_ALLOW_THREADS;
493f1553 6640 if (PyErr_Occurred()) return NULL;
cf694132 6641} Py_INCREF(Py_None);
8ab979d7
RD
6642 _resultobj = Py_None;
6643 return _resultobj;
6644}
6645
bb0054cd 6646#define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 6647static PyObject *_wrap_wxDC_DrawCircle(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
6648 PyObject * _resultobj;
6649 wxDC * _arg0;
6650 long _arg1;
6651 long _arg2;
6652 long _arg3;
1d99702e 6653 PyObject * _argo0 = 0;
1afc06c2 6654 char *_kwnames[] = { "self","x","y","radius", NULL };
bb0054cd
RD
6655
6656 self = self;
1afc06c2 6657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olll:wxDC_DrawCircle",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
bb0054cd 6658 return NULL;
1d99702e
RD
6659 if (_argo0) {
6660 if (_argo0 == Py_None) { _arg0 = NULL; }
6661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
bb0054cd
RD
6662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
6663 return NULL;
6664 }
6665 }
6666{
6667 wxPy_BEGIN_ALLOW_THREADS;
6668 wxDC_DrawCircle(_arg0,_arg1,_arg2,_arg3);
6669
6670 wxPy_END_ALLOW_THREADS;
493f1553 6671 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
6672} Py_INCREF(Py_None);
6673 _resultobj = Py_None;
6674 return _resultobj;
6675}
6676
8ab979d7 6677#define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 6678static PyObject *_wrap_wxDC_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6679 PyObject * _resultobj;
6680 wxDC * _arg0;
6681 long _arg1;
6682 long _arg2;
6683 long _arg3;
6684 long _arg4;
1d99702e 6685 PyObject * _argo0 = 0;
1afc06c2 6686 char *_kwnames[] = { "self","x","y","width","height", NULL };
8ab979d7
RD
6687
6688 self = self;
1afc06c2 6689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxDC_DrawEllipse",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8ab979d7 6690 return NULL;
1d99702e
RD
6691 if (_argo0) {
6692 if (_argo0 == Py_None) { _arg0 = NULL; }
6693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
6695 return NULL;
6696 }
6697 }
cf694132
RD
6698{
6699 wxPy_BEGIN_ALLOW_THREADS;
6700 wxDC_DrawEllipse(_arg0,_arg1,_arg2,_arg3,_arg4);
6701
6702 wxPy_END_ALLOW_THREADS;
493f1553 6703 if (PyErr_Occurred()) return NULL;
cf694132 6704} Py_INCREF(Py_None);
8ab979d7
RD
6705 _resultobj = Py_None;
6706 return _resultobj;
6707}
6708
6709#define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1afc06c2 6710static PyObject *_wrap_wxDC_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6711 PyObject * _resultobj;
6712 wxDC * _arg0;
6713 long _arg1;
6714 long _arg2;
6715 long _arg3;
6716 long _arg4;
6717 long _arg5;
6718 long _arg6;
1d99702e 6719 PyObject * _argo0 = 0;
1afc06c2 6720 char *_kwnames[] = { "self","x","y","width","height","start","end", NULL };
8ab979d7
RD
6721
6722 self = self;
1afc06c2 6723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollllll:wxDC_DrawEllipticArc",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
8ab979d7 6724 return NULL;
1d99702e
RD
6725 if (_argo0) {
6726 if (_argo0 == Py_None) { _arg0 = NULL; }
6727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
6729 return NULL;
6730 }
6731 }
cf694132
RD
6732{
6733 wxPy_BEGIN_ALLOW_THREADS;
6734 wxDC_DrawEllipticArc(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
6735
6736 wxPy_END_ALLOW_THREADS;
493f1553 6737 if (PyErr_Occurred()) return NULL;
cf694132 6738} Py_INCREF(Py_None);
8ab979d7
RD
6739 _resultobj = Py_None;
6740 return _resultobj;
6741}
6742
6743#define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 6744static PyObject *_wrap_wxDC_DrawIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6745 PyObject * _resultobj;
6746 wxDC * _arg0;
6747 wxIcon * _arg1;
6748 long _arg2;
6749 long _arg3;
1d99702e
RD
6750 PyObject * _argo0 = 0;
6751 PyObject * _argo1 = 0;
1afc06c2 6752 char *_kwnames[] = { "self","icon","x","y", NULL };
8ab979d7
RD
6753
6754 self = self;
1afc06c2 6755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOll:wxDC_DrawIcon",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
8ab979d7 6756 return NULL;
1d99702e
RD
6757 if (_argo0) {
6758 if (_argo0 == Py_None) { _arg0 = NULL; }
6759 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
6761 return NULL;
6762 }
6763 }
1d99702e
RD
6764 if (_argo1) {
6765 if (_argo1 == Py_None) { _arg1 = NULL; }
6766 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
8ab979d7
RD
6767 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
6768 return NULL;
6769 }
6770 }
cf694132
RD
6771{
6772 wxPy_BEGIN_ALLOW_THREADS;
6773 wxDC_DrawIcon(_arg0,*_arg1,_arg2,_arg3);
6774
6775 wxPy_END_ALLOW_THREADS;
493f1553 6776 if (PyErr_Occurred()) return NULL;
cf694132 6777} Py_INCREF(Py_None);
8ab979d7
RD
6778 _resultobj = Py_None;
6779 return _resultobj;
6780}
6781
6782#define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 6783static PyObject *_wrap_wxDC_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6784 PyObject * _resultobj;
6785 wxDC * _arg0;
6786 long _arg1;
6787 long _arg2;
6788 long _arg3;
6789 long _arg4;
1d99702e 6790 PyObject * _argo0 = 0;
1afc06c2 6791 char *_kwnames[] = { "self","x1","y1","x2","y2", NULL };
8ab979d7
RD
6792
6793 self = self;
1afc06c2 6794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxDC_DrawLine",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8ab979d7 6795 return NULL;
1d99702e
RD
6796 if (_argo0) {
6797 if (_argo0 == Py_None) { _arg0 = NULL; }
6798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
6800 return NULL;
6801 }
6802 }
cf694132
RD
6803{
6804 wxPy_BEGIN_ALLOW_THREADS;
6805 wxDC_DrawLine(_arg0,_arg1,_arg2,_arg3,_arg4);
6806
6807 wxPy_END_ALLOW_THREADS;
493f1553 6808 if (PyErr_Occurred()) return NULL;
cf694132 6809} Py_INCREF(Py_None);
8ab979d7
RD
6810 _resultobj = Py_None;
6811 return _resultobj;
6812}
6813
6814#define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 6815static PyObject *_wrap_wxDC_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6816 PyObject * _resultobj;
6817 wxDC * _arg0;
6818 int _arg1;
6819 wxPoint * _arg2;
1d99702e
RD
6820 long _arg3 = (long ) 0;
6821 long _arg4 = (long ) 0;
6822 PyObject * _argo0 = 0;
e0672e2f 6823 int NPOINTS;
8ab979d7 6824 PyObject * _obj2 = 0;
eec92d76 6825 char *_kwnames[] = { "self","points","xoffset","yoffset", NULL };
8ab979d7
RD
6826
6827 self = self;
1afc06c2 6828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ll:wxDC_DrawLines",_kwnames,&_argo0,&_obj2,&_arg3,&_arg4))
8ab979d7 6829 return NULL;
1d99702e
RD
6830 if (_argo0) {
6831 if (_argo0 == Py_None) { _arg0 = NULL; }
6832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
6834 return NULL;
6835 }
6836 }
6837 if (_obj2)
6838{
e0672e2f
RD
6839 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
6840 if (_arg2 == NULL) {
6841 return NULL;
6842 }
8ab979d7
RD
6843}
6844{
e0672e2f 6845 _arg1 = NPOINTS;
8ab979d7 6846}
cf694132
RD
6847{
6848 wxPy_BEGIN_ALLOW_THREADS;
6849 wxDC_DrawLines(_arg0,_arg1,_arg2,_arg3,_arg4);
6850
6851 wxPy_END_ALLOW_THREADS;
493f1553 6852 if (PyErr_Occurred()) return NULL;
cf694132 6853} Py_INCREF(Py_None);
8ab979d7
RD
6854 _resultobj = Py_None;
6855{
6856 delete [] _arg2;
6857}
6858 return _resultobj;
6859}
6860
6861#define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1afc06c2 6862static PyObject *_wrap_wxDC_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6863 PyObject * _resultobj;
6864 wxDC * _arg0;
6865 int _arg1;
6866 wxPoint * _arg2;
1d99702e
RD
6867 long _arg3 = (long ) 0;
6868 long _arg4 = (long ) 0;
6869 int _arg5 = (int ) wxODDEVEN_RULE;
6870 PyObject * _argo0 = 0;
e0672e2f 6871 int NPOINTS;
8ab979d7 6872 PyObject * _obj2 = 0;
eec92d76 6873 char *_kwnames[] = { "self","points","xoffset","yoffset","fill_style", NULL };
8ab979d7
RD
6874
6875 self = self;
1afc06c2 6876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|lli:wxDC_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3,&_arg4,&_arg5))
8ab979d7 6877 return NULL;
1d99702e
RD
6878 if (_argo0) {
6879 if (_argo0 == Py_None) { _arg0 = NULL; }
6880 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6881 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
6882 return NULL;
6883 }
6884 }
6885 if (_obj2)
6886{
e0672e2f
RD
6887 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
6888 if (_arg2 == NULL) {
6889 return NULL;
6890 }
8ab979d7
RD
6891}
6892{
e0672e2f 6893 _arg1 = NPOINTS;
8ab979d7 6894}
cf694132
RD
6895{
6896 wxPy_BEGIN_ALLOW_THREADS;
6897 wxDC_DrawPolygon(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
6898
6899 wxPy_END_ALLOW_THREADS;
493f1553 6900 if (PyErr_Occurred()) return NULL;
cf694132 6901} Py_INCREF(Py_None);
8ab979d7
RD
6902 _resultobj = Py_None;
6903{
6904 delete [] _arg2;
6905}
6906 return _resultobj;
6907}
6908
6909#define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
1afc06c2 6910static PyObject *_wrap_wxDC_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6911 PyObject * _resultobj;
6912 wxDC * _arg0;
6913 long _arg1;
6914 long _arg2;
1d99702e 6915 PyObject * _argo0 = 0;
1afc06c2 6916 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
6917
6918 self = self;
1afc06c2 6919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxDC_DrawPoint",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 6920 return NULL;
1d99702e
RD
6921 if (_argo0) {
6922 if (_argo0 == Py_None) { _arg0 = NULL; }
6923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
6925 return NULL;
6926 }
6927 }
cf694132
RD
6928{
6929 wxPy_BEGIN_ALLOW_THREADS;
6930 wxDC_DrawPoint(_arg0,_arg1,_arg2);
6931
6932 wxPy_END_ALLOW_THREADS;
493f1553 6933 if (PyErr_Occurred()) return NULL;
cf694132 6934} Py_INCREF(Py_None);
8ab979d7
RD
6935 _resultobj = Py_None;
6936 return _resultobj;
6937}
6938
6939#define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 6940static PyObject *_wrap_wxDC_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6941 PyObject * _resultobj;
6942 wxDC * _arg0;
6943 long _arg1;
6944 long _arg2;
6945 long _arg3;
6946 long _arg4;
1d99702e 6947 PyObject * _argo0 = 0;
1afc06c2 6948 char *_kwnames[] = { "self","x","y","width","height", NULL };
8ab979d7
RD
6949
6950 self = self;
1afc06c2 6951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxDC_DrawRectangle",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8ab979d7 6952 return NULL;
1d99702e
RD
6953 if (_argo0) {
6954 if (_argo0 == Py_None) { _arg0 = NULL; }
6955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
6957 return NULL;
6958 }
6959 }
cf694132
RD
6960{
6961 wxPy_BEGIN_ALLOW_THREADS;
6962 wxDC_DrawRectangle(_arg0,_arg1,_arg2,_arg3,_arg4);
6963
6964 wxPy_END_ALLOW_THREADS;
493f1553 6965 if (PyErr_Occurred()) return NULL;
cf694132 6966} Py_INCREF(Py_None);
8ab979d7
RD
6967 _resultobj = Py_None;
6968 return _resultobj;
6969}
6970
6999b0d8
RD
6971#define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6972static PyObject *_wrap_wxDC_DrawRotatedText(PyObject *self, PyObject *args, PyObject *kwargs) {
6973 PyObject * _resultobj;
6974 wxDC * _arg0;
6975 wxString * _arg1;
6976 wxCoord _arg2;
6977 wxCoord _arg3;
6978 double _arg4;
6979 PyObject * _argo0 = 0;
6980 PyObject * _obj1 = 0;
6981 char *_kwnames[] = { "self","text","x","y","angle", NULL };
6982
6983 self = self;
6984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiid:wxDC_DrawRotatedText",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_arg4))
6985 return NULL;
6986 if (_argo0) {
6987 if (_argo0 == Py_None) { _arg0 = NULL; }
6988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
6989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
6990 return NULL;
6991 }
6992 }
6993{
185d7c3e
RD
6994#if PYTHON_API_VERSION >= 1009
6995 char* tmpPtr; int tmpSize;
6996 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 6997 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
6998 return NULL;
6999 }
7000 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
7001 return NULL;
7002 _arg1 = new wxString(tmpPtr, tmpSize);
7003#else
6999b0d8
RD
7004 if (!PyString_Check(_obj1)) {
7005 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7006 return NULL;
7007 }
185d7c3e
RD
7008 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
7009#endif
6999b0d8
RD
7010}
7011{
7012 wxPy_BEGIN_ALLOW_THREADS;
7013 wxDC_DrawRotatedText(_arg0,*_arg1,_arg2,_arg3,_arg4);
7014
7015 wxPy_END_ALLOW_THREADS;
493f1553 7016 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
7017} Py_INCREF(Py_None);
7018 _resultobj = Py_None;
7019{
7020 if (_obj1)
7021 delete _arg1;
7022}
7023 return _resultobj;
7024}
7025
8ab979d7 7026#define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1afc06c2 7027static PyObject *_wrap_wxDC_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7028 PyObject * _resultobj;
7029 wxDC * _arg0;
7030 long _arg1;
7031 long _arg2;
7032 long _arg3;
7033 long _arg4;
1d99702e
RD
7034 long _arg5 = (long ) 20;
7035 PyObject * _argo0 = 0;
1afc06c2 7036 char *_kwnames[] = { "self","x","y","width","height","radius", NULL };
8ab979d7
RD
7037
7038 self = self;
1afc06c2 7039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
8ab979d7 7040 return NULL;
1d99702e
RD
7041 if (_argo0) {
7042 if (_argo0 == Py_None) { _arg0 = NULL; }
7043 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7044 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
7045 return NULL;
7046 }
7047 }
cf694132
RD
7048{
7049 wxPy_BEGIN_ALLOW_THREADS;
7050 wxDC_DrawRoundedRectangle(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7051
7052 wxPy_END_ALLOW_THREADS;
493f1553 7053 if (PyErr_Occurred()) return NULL;
cf694132 7054} Py_INCREF(Py_None);
8ab979d7
RD
7055 _resultobj = Py_None;
7056 return _resultobj;
7057}
7058
7059#define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
1afc06c2 7060static PyObject *_wrap_wxDC_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7061 PyObject * _resultobj;
7062 wxDC * _arg0;
7063 int _arg1;
7064 wxPoint * _arg2;
1d99702e 7065 PyObject * _argo0 = 0;
e0672e2f 7066 int NPOINTS;
8ab979d7 7067 PyObject * _obj2 = 0;
eec92d76 7068 char *_kwnames[] = { "self","points", NULL };
8ab979d7
RD
7069
7070 self = self;
1afc06c2 7071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_DrawSpline",_kwnames,&_argo0,&_obj2))
8ab979d7 7072 return NULL;
1d99702e
RD
7073 if (_argo0) {
7074 if (_argo0 == Py_None) { _arg0 = NULL; }
7075 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7076 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
7077 return NULL;
7078 }
7079 }
7080 if (_obj2)
7081{
e0672e2f
RD
7082 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
7083 if (_arg2 == NULL) {
7084 return NULL;
7085 }
8ab979d7
RD
7086}
7087{
e0672e2f 7088 _arg1 = NPOINTS;
8ab979d7 7089}
cf694132
RD
7090{
7091 wxPy_BEGIN_ALLOW_THREADS;
7092 wxDC_DrawSpline(_arg0,_arg1,_arg2);
7093
7094 wxPy_END_ALLOW_THREADS;
493f1553 7095 if (PyErr_Occurred()) return NULL;
cf694132 7096} Py_INCREF(Py_None);
8ab979d7
RD
7097 _resultobj = Py_None;
7098{
7099 delete [] _arg2;
7100}
7101 return _resultobj;
7102}
7103
7104#define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 7105static PyObject *_wrap_wxDC_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7106 PyObject * _resultobj;
7107 wxDC * _arg0;
7108 wxString * _arg1;
7109 long _arg2;
7110 long _arg3;
1d99702e 7111 PyObject * _argo0 = 0;
8ab979d7 7112 PyObject * _obj1 = 0;
1afc06c2 7113 char *_kwnames[] = { "self","text","x","y", NULL };
8ab979d7
RD
7114
7115 self = self;
1afc06c2 7116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOll:wxDC_DrawText",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
8ab979d7 7117 return NULL;
1d99702e
RD
7118 if (_argo0) {
7119 if (_argo0 == Py_None) { _arg0 = NULL; }
7120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
7122 return NULL;
7123 }
7124 }
7125{
185d7c3e
RD
7126#if PYTHON_API_VERSION >= 1009
7127 char* tmpPtr; int tmpSize;
7128 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 7129 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
7130 return NULL;
7131 }
7132 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
7133 return NULL;
7134 _arg1 = new wxString(tmpPtr, tmpSize);
7135#else
8ab979d7
RD
7136 if (!PyString_Check(_obj1)) {
7137 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7138 return NULL;
7139 }
185d7c3e
RD
7140 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
7141#endif
8ab979d7 7142}
cf694132
RD
7143{
7144 wxPy_BEGIN_ALLOW_THREADS;
7145 wxDC_DrawText(_arg0,*_arg1,_arg2,_arg3);
7146
7147 wxPy_END_ALLOW_THREADS;
493f1553 7148 if (PyErr_Occurred()) return NULL;
cf694132 7149} Py_INCREF(Py_None);
8ab979d7
RD
7150 _resultobj = Py_None;
7151{
7152 if (_obj1)
7153 delete _arg1;
7154}
7155 return _resultobj;
7156}
7157
7158#define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
1afc06c2 7159static PyObject *_wrap_wxDC_EndDoc(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7160 PyObject * _resultobj;
7161 wxDC * _arg0;
1d99702e 7162 PyObject * _argo0 = 0;
1afc06c2 7163 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7164
7165 self = self;
1afc06c2 7166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_EndDoc",_kwnames,&_argo0))
8ab979d7 7167 return NULL;
1d99702e
RD
7168 if (_argo0) {
7169 if (_argo0 == Py_None) { _arg0 = NULL; }
7170 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
7172 return NULL;
7173 }
7174 }
cf694132
RD
7175{
7176 wxPy_BEGIN_ALLOW_THREADS;
7177 wxDC_EndDoc(_arg0);
7178
7179 wxPy_END_ALLOW_THREADS;
493f1553 7180 if (PyErr_Occurred()) return NULL;
cf694132 7181} Py_INCREF(Py_None);
8ab979d7
RD
7182 _resultobj = Py_None;
7183 return _resultobj;
7184}
7185
7186#define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
1afc06c2 7187static PyObject *_wrap_wxDC_EndDrawing(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7188 PyObject * _resultobj;
7189 wxDC * _arg0;
1d99702e 7190 PyObject * _argo0 = 0;
1afc06c2 7191 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7192
7193 self = self;
1afc06c2 7194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_EndDrawing",_kwnames,&_argo0))
8ab979d7 7195 return NULL;
1d99702e
RD
7196 if (_argo0) {
7197 if (_argo0 == Py_None) { _arg0 = NULL; }
7198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
7200 return NULL;
7201 }
7202 }
cf694132
RD
7203{
7204 wxPy_BEGIN_ALLOW_THREADS;
7205 wxDC_EndDrawing(_arg0);
7206
7207 wxPy_END_ALLOW_THREADS;
493f1553 7208 if (PyErr_Occurred()) return NULL;
cf694132 7209} Py_INCREF(Py_None);
8ab979d7
RD
7210 _resultobj = Py_None;
7211 return _resultobj;
7212}
7213
7214#define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
1afc06c2 7215static PyObject *_wrap_wxDC_EndPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7216 PyObject * _resultobj;
7217 wxDC * _arg0;
1d99702e 7218 PyObject * _argo0 = 0;
1afc06c2 7219 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7220
7221 self = self;
1afc06c2 7222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_EndPage",_kwnames,&_argo0))
8ab979d7 7223 return NULL;
1d99702e
RD
7224 if (_argo0) {
7225 if (_argo0 == Py_None) { _arg0 = NULL; }
7226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
7228 return NULL;
7229 }
7230 }
cf694132
RD
7231{
7232 wxPy_BEGIN_ALLOW_THREADS;
7233 wxDC_EndPage(_arg0);
7234
7235 wxPy_END_ALLOW_THREADS;
493f1553 7236 if (PyErr_Occurred()) return NULL;
cf694132 7237} Py_INCREF(Py_None);
8ab979d7
RD
7238 _resultobj = Py_None;
7239 return _resultobj;
7240}
7241
be4d9c1f 7242#define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 7243static PyObject *_wrap_wxDC_FloodFill(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f
RD
7244 PyObject * _resultobj;
7245 wxDC * _arg0;
7246 long _arg1;
7247 long _arg2;
7248 wxColour * _arg3;
1d99702e
RD
7249 int _arg4 = (int ) wxFLOOD_SURFACE;
7250 PyObject * _argo0 = 0;
f6bcfd97
BP
7251 wxColour temp;
7252 PyObject * _obj3 = 0;
1afc06c2 7253 char *_kwnames[] = { "self","x","y","colour","style", NULL };
be4d9c1f
RD
7254
7255 self = self;
f6bcfd97 7256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO|i:wxDC_FloodFill",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4))
be4d9c1f 7257 return NULL;
1d99702e
RD
7258 if (_argo0) {
7259 if (_argo0 == Py_None) { _arg0 = NULL; }
7260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
be4d9c1f
RD
7261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
7262 return NULL;
7263 }
7264 }
f6bcfd97
BP
7265{
7266 _arg3 = &temp;
7267 if (! wxColour_helper(_obj3, &_arg3))
be4d9c1f 7268 return NULL;
f6bcfd97 7269}
cf694132
RD
7270{
7271 wxPy_BEGIN_ALLOW_THREADS;
7272 wxDC_FloodFill(_arg0,_arg1,_arg2,*_arg3,_arg4);
7273
7274 wxPy_END_ALLOW_THREADS;
493f1553 7275 if (PyErr_Occurred()) return NULL;
cf694132 7276} Py_INCREF(Py_None);
be4d9c1f
RD
7277 _resultobj = Py_None;
7278 return _resultobj;
7279}
7280
8ab979d7 7281#define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
1afc06c2 7282static PyObject *_wrap_wxDC_GetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7283 PyObject * _resultobj;
7284 wxBrush * _result;
7285 wxDC * _arg0;
1d99702e 7286 PyObject * _argo0 = 0;
1afc06c2 7287 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7288 char _ptemp[128];
7289
7290 self = self;
1afc06c2 7291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetBackground",_kwnames,&_argo0))
8ab979d7 7292 return NULL;
1d99702e
RD
7293 if (_argo0) {
7294 if (_argo0 == Py_None) { _arg0 = NULL; }
7295 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7296 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
7297 return NULL;
7298 }
7299 }
cf694132
RD
7300{
7301 wxPy_BEGIN_ALLOW_THREADS;
7302 wxBrush & _result_ref = wxDC_GetBackground(_arg0);
b8b8dda7 7303 _result = (wxBrush *) &_result_ref;
cf694132
RD
7304
7305 wxPy_END_ALLOW_THREADS;
493f1553 7306 if (PyErr_Occurred()) return NULL;
1d99702e
RD
7307} if (_result) {
7308 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
7309 _resultobj = Py_BuildValue("s",_ptemp);
7310 } else {
7311 Py_INCREF(Py_None);
7312 _resultobj = Py_None;
7313 }
8ab979d7
RD
7314 return _resultobj;
7315}
7316
7317#define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
1afc06c2 7318static PyObject *_wrap_wxDC_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7319 PyObject * _resultobj;
7320 wxBrush * _result;
7321 wxDC * _arg0;
1d99702e 7322 PyObject * _argo0 = 0;
1afc06c2 7323 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7324 char _ptemp[128];
7325
7326 self = self;
1afc06c2 7327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetBrush",_kwnames,&_argo0))
8ab979d7 7328 return NULL;
1d99702e
RD
7329 if (_argo0) {
7330 if (_argo0 == Py_None) { _arg0 = NULL; }
7331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
7333 return NULL;
7334 }
7335 }
cf694132
RD
7336{
7337 wxPy_BEGIN_ALLOW_THREADS;
7338 wxBrush & _result_ref = wxDC_GetBrush(_arg0);
b8b8dda7 7339 _result = (wxBrush *) &_result_ref;
cf694132
RD
7340
7341 wxPy_END_ALLOW_THREADS;
493f1553 7342 if (PyErr_Occurred()) return NULL;
1d99702e
RD
7343} if (_result) {
7344 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
7345 _resultobj = Py_BuildValue("s",_ptemp);
7346 } else {
7347 Py_INCREF(Py_None);
7348 _resultobj = Py_None;
7349 }
8ab979d7
RD
7350 return _resultobj;
7351}
7352
7353#define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1afc06c2 7354static PyObject *_wrap_wxDC_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7355 PyObject * _resultobj;
7356 long _result;
7357 wxDC * _arg0;
1d99702e 7358 PyObject * _argo0 = 0;
1afc06c2 7359 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7360
7361 self = self;
1afc06c2 7362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetCharHeight",_kwnames,&_argo0))
8ab979d7 7363 return NULL;
1d99702e
RD
7364 if (_argo0) {
7365 if (_argo0 == Py_None) { _arg0 = NULL; }
7366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
7368 return NULL;
7369 }
7370 }
cf694132
RD
7371{
7372 wxPy_BEGIN_ALLOW_THREADS;
7373 _result = (long )wxDC_GetCharHeight(_arg0);
7374
7375 wxPy_END_ALLOW_THREADS;
493f1553 7376 if (PyErr_Occurred()) return NULL;
cf694132 7377} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
7378 return _resultobj;
7379}
7380
7381#define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1afc06c2 7382static PyObject *_wrap_wxDC_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7383 PyObject * _resultobj;
7384 long _result;
7385 wxDC * _arg0;
1d99702e 7386 PyObject * _argo0 = 0;
1afc06c2 7387 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7388
7389 self = self;
1afc06c2 7390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetCharWidth",_kwnames,&_argo0))
8ab979d7 7391 return NULL;
1d99702e
RD
7392 if (_argo0) {
7393 if (_argo0 == Py_None) { _arg0 = NULL; }
7394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
7396 return NULL;
7397 }
7398 }
cf694132
RD
7399{
7400 wxPy_BEGIN_ALLOW_THREADS;
7401 _result = (long )wxDC_GetCharWidth(_arg0);
7402
7403 wxPy_END_ALLOW_THREADS;
493f1553 7404 if (PyErr_Occurred()) return NULL;
cf694132 7405} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
7406 return _resultobj;
7407}
7408
7409#define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 7410static PyObject *_wrap_wxDC_GetClippingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7411 PyObject * _resultobj;
7412 wxDC * _arg0;
7413 long * _arg1;
7414 long temp;
7415 long * _arg2;
7416 long temp0;
7417 long * _arg3;
7418 long temp1;
7419 long * _arg4;
7420 long temp2;
1d99702e 7421 PyObject * _argo0 = 0;
1afc06c2 7422 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7423
7424 self = self;
7425{
7426 _arg1 = &temp;
7427}
7428{
7429 _arg2 = &temp0;
7430}
7431{
7432 _arg3 = &temp1;
7433}
7434{
7435 _arg4 = &temp2;
7436}
1afc06c2 7437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetClippingBox",_kwnames,&_argo0))
8ab979d7 7438 return NULL;
1d99702e
RD
7439 if (_argo0) {
7440 if (_argo0 == Py_None) { _arg0 = NULL; }
7441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
7443 return NULL;
7444 }
7445 }
cf694132
RD
7446{
7447 wxPy_BEGIN_ALLOW_THREADS;
7448 wxDC_GetClippingBox(_arg0,_arg1,_arg2,_arg3,_arg4);
7449
7450 wxPy_END_ALLOW_THREADS;
493f1553 7451 if (PyErr_Occurred()) return NULL;
cf694132 7452} Py_INCREF(Py_None);
8ab979d7
RD
7453 _resultobj = Py_None;
7454{
7455 PyObject *o;
7456 o = PyInt_FromLong((long) (*_arg1));
7457 _resultobj = t_output_helper(_resultobj, o);
7458}
7459{
7460 PyObject *o;
7461 o = PyInt_FromLong((long) (*_arg2));
7462 _resultobj = t_output_helper(_resultobj, o);
7463}
7464{
7465 PyObject *o;
7466 o = PyInt_FromLong((long) (*_arg3));
7467 _resultobj = t_output_helper(_resultobj, o);
7468}
7469{
7470 PyObject *o;
7471 o = PyInt_FromLong((long) (*_arg4));
7472 _resultobj = t_output_helper(_resultobj, o);
7473}
7474 return _resultobj;
7475}
7476
7477#define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
1afc06c2 7478static PyObject *_wrap_wxDC_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7479 PyObject * _resultobj;
7480 wxFont * _result;
7481 wxDC * _arg0;
1d99702e 7482 PyObject * _argo0 = 0;
1afc06c2 7483 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7484 char _ptemp[128];
7485
7486 self = self;
1afc06c2 7487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetFont",_kwnames,&_argo0))
8ab979d7 7488 return NULL;
1d99702e
RD
7489 if (_argo0) {
7490 if (_argo0 == Py_None) { _arg0 = NULL; }
7491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
7493 return NULL;
7494 }
7495 }
cf694132
RD
7496{
7497 wxPy_BEGIN_ALLOW_THREADS;
7498 wxFont & _result_ref = wxDC_GetFont(_arg0);
b8b8dda7 7499 _result = (wxFont *) &_result_ref;
cf694132
RD
7500
7501 wxPy_END_ALLOW_THREADS;
493f1553 7502 if (PyErr_Occurred()) return NULL;
1d99702e
RD
7503} if (_result) {
7504 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
7505 _resultobj = Py_BuildValue("s",_ptemp);
7506 } else {
7507 Py_INCREF(Py_None);
7508 _resultobj = Py_None;
7509 }
8ab979d7
RD
7510 return _resultobj;
7511}
7512
7513#define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
1afc06c2 7514static PyObject *_wrap_wxDC_GetLogicalFunction(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7515 PyObject * _resultobj;
7516 int _result;
7517 wxDC * _arg0;
1d99702e 7518 PyObject * _argo0 = 0;
1afc06c2 7519 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7520
7521 self = self;
1afc06c2 7522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetLogicalFunction",_kwnames,&_argo0))
8ab979d7 7523 return NULL;
1d99702e
RD
7524 if (_argo0) {
7525 if (_argo0 == Py_None) { _arg0 = NULL; }
7526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
7528 return NULL;
7529 }
7530 }
cf694132
RD
7531{
7532 wxPy_BEGIN_ALLOW_THREADS;
7533 _result = (int )wxDC_GetLogicalFunction(_arg0);
7534
7535 wxPy_END_ALLOW_THREADS;
493f1553 7536 if (PyErr_Occurred()) return NULL;
cf694132 7537} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7538 return _resultobj;
7539}
7540
eec92d76
RD
7541#define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
7542static PyObject *_wrap_wxDC_GetLogicalScale(PyObject *self, PyObject *args, PyObject *kwargs) {
7543 PyObject * _resultobj;
7544 wxDC * _arg0;
7545 double * _arg1;
7546 double temp;
7547 double * _arg2;
7548 double temp0;
7549 PyObject * _argo0 = 0;
7550 char *_kwnames[] = { "self", NULL };
7551
7552 self = self;
7553{
7554 _arg1 = &temp;
7555}
7556{
7557 _arg2 = &temp0;
7558}
7559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetLogicalScale",_kwnames,&_argo0))
7560 return NULL;
7561 if (_argo0) {
7562 if (_argo0 == Py_None) { _arg0 = NULL; }
7563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
7564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
7565 return NULL;
7566 }
7567 }
7568{
7569 wxPy_BEGIN_ALLOW_THREADS;
7570 wxDC_GetLogicalScale(_arg0,_arg1,_arg2);
7571
7572 wxPy_END_ALLOW_THREADS;
493f1553 7573 if (PyErr_Occurred()) return NULL;
eec92d76
RD
7574} Py_INCREF(Py_None);
7575 _resultobj = Py_None;
7576{
7577 PyObject *o;
7578 o = PyFloat_FromDouble((double) (*_arg1));
7579 _resultobj = t_output_helper(_resultobj, o);
7580}
7581{
7582 PyObject *o;
7583 o = PyFloat_FromDouble((double) (*_arg2));
7584 _resultobj = t_output_helper(_resultobj, o);
7585}
7586 return _resultobj;
7587}
7588
8ab979d7 7589#define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
1afc06c2 7590static PyObject *_wrap_wxDC_GetMapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7591 PyObject * _resultobj;
7592 int _result;
7593 wxDC * _arg0;
1d99702e 7594 PyObject * _argo0 = 0;
1afc06c2 7595 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7596
7597 self = self;
1afc06c2 7598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetMapMode",_kwnames,&_argo0))
8ab979d7 7599 return NULL;
1d99702e
RD
7600 if (_argo0) {
7601 if (_argo0 == Py_None) { _arg0 = NULL; }
7602 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
7604 return NULL;
7605 }
7606 }
cf694132
RD
7607{
7608 wxPy_BEGIN_ALLOW_THREADS;
7609 _result = (int )wxDC_GetMapMode(_arg0);
7610
7611 wxPy_END_ALLOW_THREADS;
493f1553 7612 if (PyErr_Occurred()) return NULL;
cf694132 7613} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7614 return _resultobj;
7615}
7616
7617#define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
1afc06c2 7618static PyObject *_wrap_wxDC_GetOptimization(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7619 PyObject * _resultobj;
7620 bool _result;
7621 wxDC * _arg0;
1d99702e 7622 PyObject * _argo0 = 0;
1afc06c2 7623 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7624
7625 self = self;
1afc06c2 7626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetOptimization",_kwnames,&_argo0))
8ab979d7 7627 return NULL;
1d99702e
RD
7628 if (_argo0) {
7629 if (_argo0 == Py_None) { _arg0 = NULL; }
7630 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7631 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
7632 return NULL;
7633 }
7634 }
cf694132
RD
7635{
7636 wxPy_BEGIN_ALLOW_THREADS;
7637 _result = (bool )wxDC_GetOptimization(_arg0);
7638
7639 wxPy_END_ALLOW_THREADS;
493f1553 7640 if (PyErr_Occurred()) return NULL;
cf694132 7641} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7642 return _resultobj;
7643}
7644
7645#define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
1afc06c2 7646static PyObject *_wrap_wxDC_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7647 PyObject * _resultobj;
7648 wxPen * _result;
7649 wxDC * _arg0;
1d99702e 7650 PyObject * _argo0 = 0;
1afc06c2 7651 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7652 char _ptemp[128];
7653
7654 self = self;
1afc06c2 7655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetPen",_kwnames,&_argo0))
8ab979d7 7656 return NULL;
1d99702e
RD
7657 if (_argo0) {
7658 if (_argo0 == Py_None) { _arg0 = NULL; }
7659 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7660 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
7661 return NULL;
7662 }
7663 }
cf694132
RD
7664{
7665 wxPy_BEGIN_ALLOW_THREADS;
7666 wxPen & _result_ref = wxDC_GetPen(_arg0);
b8b8dda7 7667 _result = (wxPen *) &_result_ref;
cf694132
RD
7668
7669 wxPy_END_ALLOW_THREADS;
493f1553 7670 if (PyErr_Occurred()) return NULL;
1d99702e
RD
7671} if (_result) {
7672 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
7673 _resultobj = Py_BuildValue("s",_ptemp);
7674 } else {
7675 Py_INCREF(Py_None);
7676 _resultobj = Py_None;
7677 }
8ab979d7
RD
7678 return _resultobj;
7679}
7680
7681static wxColour * wxDC_GetPixel(wxDC *self,long x,long y) {
7682 wxColour* wc = new wxColour();
7683 self->GetPixel(x, y, wc);
7684 return wc;
7685 }
1afc06c2 7686static PyObject *_wrap_wxDC_GetPixel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7687 PyObject * _resultobj;
7688 wxColour * _result;
7689 wxDC * _arg0;
7690 long _arg1;
7691 long _arg2;
1d99702e 7692 PyObject * _argo0 = 0;
1afc06c2 7693 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
7694 char _ptemp[128];
7695
7696 self = self;
1afc06c2 7697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxDC_GetPixel",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 7698 return NULL;
1d99702e
RD
7699 if (_argo0) {
7700 if (_argo0 == Py_None) { _arg0 = NULL; }
7701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
7703 return NULL;
7704 }
7705 }
cf694132
RD
7706{
7707 wxPy_BEGIN_ALLOW_THREADS;
7708 _result = (wxColour *)wxDC_GetPixel(_arg0,_arg1,_arg2);
7709
7710 wxPy_END_ALLOW_THREADS;
493f1553 7711 if (PyErr_Occurred()) return NULL;
1d99702e
RD
7712} if (_result) {
7713 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
7714 _resultobj = Py_BuildValue("s",_ptemp);
7715 } else {
7716 Py_INCREF(Py_None);
7717 _resultobj = Py_None;
7718 }
8ab979d7
RD
7719 return _resultobj;
7720}
7721
bb0054cd 7722#define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1afc06c2 7723static PyObject *_wrap_wxDC_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7724 PyObject * _resultobj;
7725 wxDC * _arg0;
7726 int * _arg1;
7727 int temp;
7728 int * _arg2;
7729 int temp0;
1d99702e 7730 PyObject * _argo0 = 0;
1afc06c2 7731 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7732
7733 self = self;
7734{
7735 _arg1 = &temp;
7736}
7737{
7738 _arg2 = &temp0;
7739}
1afc06c2 7740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetSizeTuple",_kwnames,&_argo0))
8ab979d7 7741 return NULL;
1d99702e
RD
7742 if (_argo0) {
7743 if (_argo0 == Py_None) { _arg0 = NULL; }
7744 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
bb0054cd 7745 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
8ab979d7
RD
7746 return NULL;
7747 }
7748 }
cf694132
RD
7749{
7750 wxPy_BEGIN_ALLOW_THREADS;
bb0054cd 7751 wxDC_GetSizeTuple(_arg0,_arg1,_arg2);
cf694132
RD
7752
7753 wxPy_END_ALLOW_THREADS;
493f1553 7754 if (PyErr_Occurred()) return NULL;
cf694132 7755} Py_INCREF(Py_None);
8ab979d7
RD
7756 _resultobj = Py_None;
7757{
7758 PyObject *o;
7759 o = PyInt_FromLong((long) (*_arg1));
7760 _resultobj = t_output_helper(_resultobj, o);
7761}
7762{
7763 PyObject *o;
7764 o = PyInt_FromLong((long) (*_arg2));
7765 _resultobj = t_output_helper(_resultobj, o);
7766}
7767 return _resultobj;
7768}
7769
bb0054cd 7770#define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
1afc06c2 7771static PyObject *_wrap_wxDC_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
7772 PyObject * _resultobj;
7773 wxSize * _result;
7774 wxDC * _arg0;
1d99702e 7775 PyObject * _argo0 = 0;
1afc06c2 7776 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
7777 char _ptemp[128];
7778
7779 self = self;
1afc06c2 7780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetSize",_kwnames,&_argo0))
bb0054cd 7781 return NULL;
1d99702e
RD
7782 if (_argo0) {
7783 if (_argo0 == Py_None) { _arg0 = NULL; }
7784 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
bb0054cd
RD
7785 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
7786 return NULL;
7787 }
7788 }
7789{
7790 wxPy_BEGIN_ALLOW_THREADS;
7791 _result = new wxSize (wxDC_GetSize(_arg0));
7792
7793 wxPy_END_ALLOW_THREADS;
493f1553 7794 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
7795} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
7796 _resultobj = Py_BuildValue("s",_ptemp);
7797 return _resultobj;
7798}
7799
eec92d76
RD
7800#define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
7801static PyObject *_wrap_wxDC_GetSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
7802 PyObject * _resultobj;
7803 wxSize * _result;
7804 wxDC * _arg0;
7805 PyObject * _argo0 = 0;
7806 char *_kwnames[] = { "self", NULL };
7807 char _ptemp[128];
7808
7809 self = self;
7810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetSizeMM",_kwnames,&_argo0))
7811 return NULL;
7812 if (_argo0) {
7813 if (_argo0 == Py_None) { _arg0 = NULL; }
7814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
7815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
7816 return NULL;
7817 }
7818 }
7819{
7820 wxPy_BEGIN_ALLOW_THREADS;
7821 _result = new wxSize (wxDC_GetSizeMM(_arg0));
7822
7823 wxPy_END_ALLOW_THREADS;
493f1553 7824 if (PyErr_Occurred()) return NULL;
eec92d76
RD
7825} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
7826 _resultobj = Py_BuildValue("s",_ptemp);
7827 return _resultobj;
7828}
7829
8ab979d7 7830#define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
1afc06c2 7831static PyObject *_wrap_wxDC_GetTextBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7832 PyObject * _resultobj;
7833 wxColour * _result;
7834 wxDC * _arg0;
1d99702e 7835 PyObject * _argo0 = 0;
1afc06c2 7836 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7837 char _ptemp[128];
7838
7839 self = self;
1afc06c2 7840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetTextBackground",_kwnames,&_argo0))
8ab979d7 7841 return NULL;
1d99702e
RD
7842 if (_argo0) {
7843 if (_argo0 == Py_None) { _arg0 = NULL; }
7844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
7846 return NULL;
7847 }
7848 }
cf694132
RD
7849{
7850 wxPy_BEGIN_ALLOW_THREADS;
25832b3f 7851 _result = new wxColour (wxDC_GetTextBackground(_arg0));
cf694132
RD
7852
7853 wxPy_END_ALLOW_THREADS;
493f1553 7854 if (PyErr_Occurred()) return NULL;
25832b3f
RD
7855} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
7856 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7857 return _resultobj;
7858}
7859
af309447 7860#define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 7861static PyObject *_wrap_wxDC_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
7862 PyObject * _resultobj;
7863 wxDC * _arg0;
7864 wxString * _arg1;
7865 long * _arg2;
7866 long temp;
7867 long * _arg3;
7868 long temp0;
1d99702e 7869 PyObject * _argo0 = 0;
af309447 7870 PyObject * _obj1 = 0;
1afc06c2 7871 char *_kwnames[] = { "self","string", NULL };
af309447
RD
7872
7873 self = self;
7874{
7875 _arg2 = &temp;
7876}
7877{
7878 _arg3 = &temp0;
7879}
1afc06c2 7880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_GetTextExtent",_kwnames,&_argo0,&_obj1))
af309447 7881 return NULL;
1d99702e
RD
7882 if (_argo0) {
7883 if (_argo0 == Py_None) { _arg0 = NULL; }
7884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
af309447
RD
7885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
7886 return NULL;
7887 }
7888 }
7889{
185d7c3e
RD
7890#if PYTHON_API_VERSION >= 1009
7891 char* tmpPtr; int tmpSize;
7892 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 7893 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
7894 return NULL;
7895 }
7896 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
7897 return NULL;
7898 _arg1 = new wxString(tmpPtr, tmpSize);
7899#else
af309447
RD
7900 if (!PyString_Check(_obj1)) {
7901 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7902 return NULL;
7903 }
185d7c3e
RD
7904 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
7905#endif
af309447 7906}
cf694132
RD
7907{
7908 wxPy_BEGIN_ALLOW_THREADS;
7909 wxDC_GetTextExtent(_arg0,*_arg1,_arg2,_arg3);
7910
7911 wxPy_END_ALLOW_THREADS;
493f1553 7912 if (PyErr_Occurred()) return NULL;
cf694132 7913} Py_INCREF(Py_None);
af309447
RD
7914 _resultobj = Py_None;
7915{
7916 PyObject *o;
7917 o = PyInt_FromLong((long) (*_arg2));
7918 _resultobj = t_output_helper(_resultobj, o);
7919}
7920{
7921 PyObject *o;
7922 o = PyInt_FromLong((long) (*_arg3));
7923 _resultobj = t_output_helper(_resultobj, o);
7924}
7925{
7926 if (_obj1)
7927 delete _arg1;
7928}
7929 return _resultobj;
7930}
7931
7932#define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1afc06c2 7933static PyObject *_wrap_wxDC_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7934 PyObject * _resultobj;
7935 wxDC * _arg0;
7936 wxString * _arg1;
7937 long * _arg2;
7938 long temp;
7939 long * _arg3;
7940 long temp0;
7941 long * _arg4;
7942 long temp1;
7943 long * _arg5;
7944 long temp2;
1d99702e
RD
7945 wxFont * _arg6 = (wxFont *) NULL;
7946 PyObject * _argo0 = 0;
8ab979d7 7947 PyObject * _obj1 = 0;
1d99702e 7948 PyObject * _argo6 = 0;
1afc06c2 7949 char *_kwnames[] = { "self","string","font", NULL };
8ab979d7
RD
7950
7951 self = self;
7952{
7953 _arg2 = &temp;
7954}
7955{
7956 _arg3 = &temp0;
7957}
7958{
7959 _arg4 = &temp1;
7960}
7961{
7962 _arg5 = &temp2;
7963}
1afc06c2 7964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxDC_GetFullTextExtent",_kwnames,&_argo0,&_obj1,&_argo6))
8ab979d7 7965 return NULL;
1d99702e
RD
7966 if (_argo0) {
7967 if (_argo0 == Py_None) { _arg0 = NULL; }
7968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
af309447 7969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
8ab979d7
RD
7970 return NULL;
7971 }
7972 }
7973{
185d7c3e
RD
7974#if PYTHON_API_VERSION >= 1009
7975 char* tmpPtr; int tmpSize;
7976 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 7977 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
7978 return NULL;
7979 }
7980 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
7981 return NULL;
7982 _arg1 = new wxString(tmpPtr, tmpSize);
7983#else
8ab979d7
RD
7984 if (!PyString_Check(_obj1)) {
7985 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7986 return NULL;
7987 }
185d7c3e
RD
7988 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
7989#endif
8ab979d7 7990}
1d99702e
RD
7991 if (_argo6) {
7992 if (_argo6 == Py_None) { _arg6 = NULL; }
7993 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxFont_p")) {
af309447
RD
7994 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
7995 return NULL;
7996 }
7997 }
cf694132
RD
7998{
7999 wxPy_BEGIN_ALLOW_THREADS;
8000 wxDC_GetFullTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
8001
8002 wxPy_END_ALLOW_THREADS;
493f1553 8003 if (PyErr_Occurred()) return NULL;
cf694132 8004} Py_INCREF(Py_None);
8ab979d7
RD
8005 _resultobj = Py_None;
8006{
8007 PyObject *o;
8008 o = PyInt_FromLong((long) (*_arg2));
8009 _resultobj = t_output_helper(_resultobj, o);
8010}
8011{
8012 PyObject *o;
8013 o = PyInt_FromLong((long) (*_arg3));
8014 _resultobj = t_output_helper(_resultobj, o);
8015}
8016{
8017 PyObject *o;
8018 o = PyInt_FromLong((long) (*_arg4));
8019 _resultobj = t_output_helper(_resultobj, o);
8020}
8021{
8022 PyObject *o;
8023 o = PyInt_FromLong((long) (*_arg5));
8024 _resultobj = t_output_helper(_resultobj, o);
8025}
8026{
8027 if (_obj1)
8028 delete _arg1;
8029}
8030 return _resultobj;
8031}
8032
8033#define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
1afc06c2 8034static PyObject *_wrap_wxDC_GetTextForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8035 PyObject * _resultobj;
8036 wxColour * _result;
8037 wxDC * _arg0;
1d99702e 8038 PyObject * _argo0 = 0;
1afc06c2 8039 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8040 char _ptemp[128];
8041
8042 self = self;
1afc06c2 8043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetTextForeground",_kwnames,&_argo0))
8ab979d7 8044 return NULL;
1d99702e
RD
8045 if (_argo0) {
8046 if (_argo0 == Py_None) { _arg0 = NULL; }
8047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
8049 return NULL;
8050 }
8051 }
cf694132
RD
8052{
8053 wxPy_BEGIN_ALLOW_THREADS;
25832b3f 8054 _result = new wxColour (wxDC_GetTextForeground(_arg0));
cf694132
RD
8055
8056 wxPy_END_ALLOW_THREADS;
493f1553 8057 if (PyErr_Occurred()) return NULL;
25832b3f
RD
8058} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8059 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8060 return _resultobj;
8061}
8062
eec92d76
RD
8063#define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
8064static PyObject *_wrap_wxDC_GetUserScale(PyObject *self, PyObject *args, PyObject *kwargs) {
8065 PyObject * _resultobj;
8066 wxDC * _arg0;
8067 double * _arg1;
8068 double temp;
8069 double * _arg2;
8070 double temp0;
8071 PyObject * _argo0 = 0;
8072 char *_kwnames[] = { "self", NULL };
8073
8074 self = self;
8075{
8076 _arg1 = &temp;
8077}
8078{
8079 _arg2 = &temp0;
8080}
8081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetUserScale",_kwnames,&_argo0))
8082 return NULL;
8083 if (_argo0) {
8084 if (_argo0 == Py_None) { _arg0 = NULL; }
8085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
8087 return NULL;
8088 }
8089 }
8090{
8091 wxPy_BEGIN_ALLOW_THREADS;
8092 wxDC_GetUserScale(_arg0,_arg1,_arg2);
8093
8094 wxPy_END_ALLOW_THREADS;
493f1553 8095 if (PyErr_Occurred()) return NULL;
eec92d76
RD
8096} Py_INCREF(Py_None);
8097 _resultobj = Py_None;
8098{
8099 PyObject *o;
8100 o = PyFloat_FromDouble((double) (*_arg1));
8101 _resultobj = t_output_helper(_resultobj, o);
8102}
8103{
8104 PyObject *o;
8105 o = PyFloat_FromDouble((double) (*_arg2));
8106 _resultobj = t_output_helper(_resultobj, o);
8107}
8108 return _resultobj;
8109}
8110
8ab979d7 8111#define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
1afc06c2 8112static PyObject *_wrap_wxDC_LogicalToDeviceX(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8113 PyObject * _resultobj;
8114 long _result;
8115 wxDC * _arg0;
8116 long _arg1;
1d99702e 8117 PyObject * _argo0 = 0;
1afc06c2 8118 char *_kwnames[] = { "self","x", NULL };
8ab979d7
RD
8119
8120 self = self;
1afc06c2 8121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_LogicalToDeviceX",_kwnames,&_argo0,&_arg1))
8ab979d7 8122 return NULL;
1d99702e
RD
8123 if (_argo0) {
8124 if (_argo0 == Py_None) { _arg0 = NULL; }
8125 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8126 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
8127 return NULL;
8128 }
8129 }
cf694132
RD
8130{
8131 wxPy_BEGIN_ALLOW_THREADS;
8132 _result = (long )wxDC_LogicalToDeviceX(_arg0,_arg1);
8133
8134 wxPy_END_ALLOW_THREADS;
493f1553 8135 if (PyErr_Occurred()) return NULL;
cf694132 8136} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
8137 return _resultobj;
8138}
8139
8140#define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
1afc06c2 8141static PyObject *_wrap_wxDC_LogicalToDeviceXRel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8142 PyObject * _resultobj;
8143 long _result;
8144 wxDC * _arg0;
8145 long _arg1;
1d99702e 8146 PyObject * _argo0 = 0;
1afc06c2 8147 char *_kwnames[] = { "self","x", NULL };
8ab979d7
RD
8148
8149 self = self;
1afc06c2 8150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_LogicalToDeviceXRel",_kwnames,&_argo0,&_arg1))
8ab979d7 8151 return NULL;
1d99702e
RD
8152 if (_argo0) {
8153 if (_argo0 == Py_None) { _arg0 = NULL; }
8154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
8156 return NULL;
8157 }
8158 }
cf694132
RD
8159{
8160 wxPy_BEGIN_ALLOW_THREADS;
8161 _result = (long )wxDC_LogicalToDeviceXRel(_arg0,_arg1);
8162
8163 wxPy_END_ALLOW_THREADS;
493f1553 8164 if (PyErr_Occurred()) return NULL;
cf694132 8165} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
8166 return _resultobj;
8167}
8168
8169#define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
1afc06c2 8170static PyObject *_wrap_wxDC_LogicalToDeviceY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8171 PyObject * _resultobj;
8172 long _result;
8173 wxDC * _arg0;
8174 long _arg1;
1d99702e 8175 PyObject * _argo0 = 0;
1afc06c2 8176 char *_kwnames[] = { "self","y", NULL };
8ab979d7
RD
8177
8178 self = self;
1afc06c2 8179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_LogicalToDeviceY",_kwnames,&_argo0,&_arg1))
8ab979d7 8180 return NULL;
1d99702e
RD
8181 if (_argo0) {
8182 if (_argo0 == Py_None) { _arg0 = NULL; }
8183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
8185 return NULL;
8186 }
8187 }
cf694132
RD
8188{
8189 wxPy_BEGIN_ALLOW_THREADS;
8190 _result = (long )wxDC_LogicalToDeviceY(_arg0,_arg1);
8191
8192 wxPy_END_ALLOW_THREADS;
493f1553 8193 if (PyErr_Occurred()) return NULL;
cf694132 8194} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
8195 return _resultobj;
8196}
8197
8198#define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
1afc06c2 8199static PyObject *_wrap_wxDC_LogicalToDeviceYRel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8200 PyObject * _resultobj;
8201 long _result;
8202 wxDC * _arg0;
8203 long _arg1;
1d99702e 8204 PyObject * _argo0 = 0;
1afc06c2 8205 char *_kwnames[] = { "self","y", NULL };
8ab979d7
RD
8206
8207 self = self;
1afc06c2 8208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_LogicalToDeviceYRel",_kwnames,&_argo0,&_arg1))
8ab979d7 8209 return NULL;
1d99702e
RD
8210 if (_argo0) {
8211 if (_argo0 == Py_None) { _arg0 = NULL; }
8212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
8214 return NULL;
8215 }
8216 }
cf694132
RD
8217{
8218 wxPy_BEGIN_ALLOW_THREADS;
8219 _result = (long )wxDC_LogicalToDeviceYRel(_arg0,_arg1);
8220
8221 wxPy_END_ALLOW_THREADS;
493f1553 8222 if (PyErr_Occurred()) return NULL;
cf694132 8223} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
8224 return _resultobj;
8225}
8226
8227#define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
1afc06c2 8228static PyObject *_wrap_wxDC_MaxX(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8229 PyObject * _resultobj;
8230 long _result;
8231 wxDC * _arg0;
1d99702e 8232 PyObject * _argo0 = 0;
1afc06c2 8233 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8234
8235 self = self;
1afc06c2 8236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_MaxX",_kwnames,&_argo0))
8ab979d7 8237 return NULL;
1d99702e
RD
8238 if (_argo0) {
8239 if (_argo0 == Py_None) { _arg0 = NULL; }
8240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
8242 return NULL;
8243 }
8244 }
cf694132
RD
8245{
8246 wxPy_BEGIN_ALLOW_THREADS;
8247 _result = (long )wxDC_MaxX(_arg0);
8248
8249 wxPy_END_ALLOW_THREADS;
493f1553 8250 if (PyErr_Occurred()) return NULL;
cf694132 8251} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
8252 return _resultobj;
8253}
8254
8255#define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
1afc06c2 8256static PyObject *_wrap_wxDC_MaxY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8257 PyObject * _resultobj;
8258 long _result;
8259 wxDC * _arg0;
1d99702e 8260 PyObject * _argo0 = 0;
1afc06c2 8261 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8262
8263 self = self;
1afc06c2 8264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_MaxY",_kwnames,&_argo0))
8ab979d7 8265 return NULL;
1d99702e
RD
8266 if (_argo0) {
8267 if (_argo0 == Py_None) { _arg0 = NULL; }
8268 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
8270 return NULL;
8271 }
8272 }
cf694132
RD
8273{
8274 wxPy_BEGIN_ALLOW_THREADS;
8275 _result = (long )wxDC_MaxY(_arg0);
8276
8277 wxPy_END_ALLOW_THREADS;
493f1553 8278 if (PyErr_Occurred()) return NULL;
cf694132 8279} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
8280 return _resultobj;
8281}
8282
8283#define wxDC_MinX(_swigobj) (_swigobj->MinX())
1afc06c2 8284static PyObject *_wrap_wxDC_MinX(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8285 PyObject * _resultobj;
8286 long _result;
8287 wxDC * _arg0;
1d99702e 8288 PyObject * _argo0 = 0;
1afc06c2 8289 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8290
8291 self = self;
1afc06c2 8292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_MinX",_kwnames,&_argo0))
8ab979d7 8293 return NULL;
1d99702e
RD
8294 if (_argo0) {
8295 if (_argo0 == Py_None) { _arg0 = NULL; }
8296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
8298 return NULL;
8299 }
8300 }
cf694132
RD
8301{
8302 wxPy_BEGIN_ALLOW_THREADS;
8303 _result = (long )wxDC_MinX(_arg0);
8304
8305 wxPy_END_ALLOW_THREADS;
493f1553 8306 if (PyErr_Occurred()) return NULL;
cf694132 8307} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
8308 return _resultobj;
8309}
8310
8311#define wxDC_MinY(_swigobj) (_swigobj->MinY())
1afc06c2 8312static PyObject *_wrap_wxDC_MinY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8313 PyObject * _resultobj;
8314 long _result;
8315 wxDC * _arg0;
1d99702e 8316 PyObject * _argo0 = 0;
1afc06c2 8317 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8318
8319 self = self;
1afc06c2 8320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_MinY",_kwnames,&_argo0))
8ab979d7 8321 return NULL;
1d99702e
RD
8322 if (_argo0) {
8323 if (_argo0 == Py_None) { _arg0 = NULL; }
8324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
8326 return NULL;
8327 }
8328 }
cf694132
RD
8329{
8330 wxPy_BEGIN_ALLOW_THREADS;
8331 _result = (long )wxDC_MinY(_arg0);
8332
8333 wxPy_END_ALLOW_THREADS;
493f1553 8334 if (PyErr_Occurred()) return NULL;
cf694132 8335} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
8336 return _resultobj;
8337}
8338
8339#define wxDC_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 8340static PyObject *_wrap_wxDC_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8341 PyObject * _resultobj;
8342 bool _result;
8343 wxDC * _arg0;
1d99702e 8344 PyObject * _argo0 = 0;
1afc06c2 8345 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8346
8347 self = self;
1afc06c2 8348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_Ok",_kwnames,&_argo0))
8ab979d7 8349 return NULL;
1d99702e
RD
8350 if (_argo0) {
8351 if (_argo0 == Py_None) { _arg0 = NULL; }
8352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
8354 return NULL;
8355 }
8356 }
cf694132
RD
8357{
8358 wxPy_BEGIN_ALLOW_THREADS;
8359 _result = (bool )wxDC_Ok(_arg0);
8360
8361 wxPy_END_ALLOW_THREADS;
493f1553 8362 if (PyErr_Occurred()) return NULL;
cf694132 8363} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8364 return _resultobj;
8365}
8366
8367#define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
1afc06c2 8368static PyObject *_wrap_wxDC_SetDeviceOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8369 PyObject * _resultobj;
8370 wxDC * _arg0;
8371 long _arg1;
8372 long _arg2;
1d99702e 8373 PyObject * _argo0 = 0;
1afc06c2 8374 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
8375
8376 self = self;
1afc06c2 8377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxDC_SetDeviceOrigin",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 8378 return NULL;
1d99702e
RD
8379 if (_argo0) {
8380 if (_argo0 == Py_None) { _arg0 = NULL; }
8381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
8383 return NULL;
8384 }
8385 }
cf694132
RD
8386{
8387 wxPy_BEGIN_ALLOW_THREADS;
8388 wxDC_SetDeviceOrigin(_arg0,_arg1,_arg2);
8389
8390 wxPy_END_ALLOW_THREADS;
493f1553 8391 if (PyErr_Occurred()) return NULL;
cf694132 8392} Py_INCREF(Py_None);
8ab979d7
RD
8393 _resultobj = Py_None;
8394 return _resultobj;
8395}
8396
8397#define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
1afc06c2 8398static PyObject *_wrap_wxDC_SetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8399 PyObject * _resultobj;
8400 wxDC * _arg0;
8401 wxBrush * _arg1;
1d99702e
RD
8402 PyObject * _argo0 = 0;
8403 PyObject * _argo1 = 0;
1afc06c2 8404 char *_kwnames[] = { "self","brush", NULL };
8ab979d7
RD
8405
8406 self = self;
1afc06c2 8407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetBackground",_kwnames,&_argo0,&_argo1))
8ab979d7 8408 return NULL;
1d99702e
RD
8409 if (_argo0) {
8410 if (_argo0 == Py_None) { _arg0 = NULL; }
8411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
8413 return NULL;
8414 }
8415 }
1d99702e
RD
8416 if (_argo1) {
8417 if (_argo1 == Py_None) { _arg1 = NULL; }
8418 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) {
8ab979d7
RD
8419 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
8420 return NULL;
8421 }
8422 }
cf694132
RD
8423{
8424 wxPy_BEGIN_ALLOW_THREADS;
8425 wxDC_SetBackground(_arg0,*_arg1);
8426
8427 wxPy_END_ALLOW_THREADS;
493f1553 8428 if (PyErr_Occurred()) return NULL;
cf694132 8429} Py_INCREF(Py_None);
8ab979d7
RD
8430 _resultobj = Py_None;
8431 return _resultobj;
8432}
8433
8434#define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
1afc06c2 8435static PyObject *_wrap_wxDC_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8436 PyObject * _resultobj;
8437 wxDC * _arg0;
8438 int _arg1;
1d99702e 8439 PyObject * _argo0 = 0;
1afc06c2 8440 char *_kwnames[] = { "self","mode", NULL };
8ab979d7
RD
8441
8442 self = self;
1afc06c2 8443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_SetBackgroundMode",_kwnames,&_argo0,&_arg1))
8ab979d7 8444 return NULL;
1d99702e
RD
8445 if (_argo0) {
8446 if (_argo0 == Py_None) { _arg0 = NULL; }
8447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
8449 return NULL;
8450 }
8451 }
cf694132
RD
8452{
8453 wxPy_BEGIN_ALLOW_THREADS;
8454 wxDC_SetBackgroundMode(_arg0,_arg1);
8455
8456 wxPy_END_ALLOW_THREADS;
493f1553 8457 if (PyErr_Occurred()) return NULL;
cf694132 8458} Py_INCREF(Py_None);
8ab979d7
RD
8459 _resultobj = Py_None;
8460 return _resultobj;
8461}
8462
8463#define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 8464static PyObject *_wrap_wxDC_SetClippingRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8465 PyObject * _resultobj;
8466 wxDC * _arg0;
8467 long _arg1;
8468 long _arg2;
8469 long _arg3;
8470 long _arg4;
1d99702e 8471 PyObject * _argo0 = 0;
1afc06c2 8472 char *_kwnames[] = { "self","x","y","width","height", NULL };
8ab979d7
RD
8473
8474 self = self;
1afc06c2 8475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxDC_SetClippingRegion",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8ab979d7 8476 return NULL;
1d99702e
RD
8477 if (_argo0) {
8478 if (_argo0 == Py_None) { _arg0 = NULL; }
8479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
8481 return NULL;
8482 }
8483 }
cf694132
RD
8484{
8485 wxPy_BEGIN_ALLOW_THREADS;
8486 wxDC_SetClippingRegion(_arg0,_arg1,_arg2,_arg3,_arg4);
8487
8488 wxPy_END_ALLOW_THREADS;
493f1553 8489 if (PyErr_Occurred()) return NULL;
cf694132 8490} Py_INCREF(Py_None);
8ab979d7
RD
8491 _resultobj = Py_None;
8492 return _resultobj;
8493}
8494
19a97bd6
RD
8495#define wxDC_SetClippingRegionAsRegion(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
8496static PyObject *_wrap_wxDC_SetClippingRegionAsRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
8497 PyObject * _resultobj;
8498 wxDC * _arg0;
8499 wxRegion * _arg1;
8500 PyObject * _argo0 = 0;
8501 PyObject * _argo1 = 0;
8502 char *_kwnames[] = { "self","region", NULL };
8503
8504 self = self;
8505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetClippingRegionAsRegion",_kwnames,&_argo0,&_argo1))
8506 return NULL;
8507 if (_argo0) {
8508 if (_argo0 == Py_None) { _arg0 = NULL; }
8509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetClippingRegionAsRegion. Expected _wxDC_p.");
8511 return NULL;
8512 }
8513 }
8514 if (_argo1) {
8515 if (_argo1 == Py_None) { _arg1 = NULL; }
8516 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
8517 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetClippingRegionAsRegion. Expected _wxRegion_p.");
8518 return NULL;
8519 }
8520 }
8521{
8522 wxPy_BEGIN_ALLOW_THREADS;
8523 wxDC_SetClippingRegionAsRegion(_arg0,*_arg1);
8524
8525 wxPy_END_ALLOW_THREADS;
8526 if (PyErr_Occurred()) return NULL;
8527} Py_INCREF(Py_None);
8528 _resultobj = Py_None;
8529 return _resultobj;
8530}
8531
8ab979d7 8532#define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1afc06c2 8533static PyObject *_wrap_wxDC_SetPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8534 PyObject * _resultobj;
8535 wxDC * _arg0;
8536 wxPalette * _arg1;
1d99702e
RD
8537 PyObject * _argo0 = 0;
8538 PyObject * _argo1 = 0;
1afc06c2 8539 char *_kwnames[] = { "self","colourMap", NULL };
8ab979d7
RD
8540
8541 self = self;
1afc06c2 8542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetPalette",_kwnames,&_argo0,&_argo1))
8ab979d7 8543 return NULL;
1d99702e
RD
8544 if (_argo0) {
8545 if (_argo0 == Py_None) { _arg0 = NULL; }
8546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
8548 return NULL;
8549 }
8550 }
1d99702e
RD
8551 if (_argo1) {
8552 if (_argo1 == Py_None) { _arg1 = NULL; }
8553 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPalette_p")) {
8ab979d7
RD
8554 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
8555 return NULL;
8556 }
8557 }
cf694132
RD
8558{
8559 wxPy_BEGIN_ALLOW_THREADS;
8560 wxDC_SetPalette(_arg0,*_arg1);
8561
8562 wxPy_END_ALLOW_THREADS;
493f1553 8563 if (PyErr_Occurred()) return NULL;
cf694132 8564} Py_INCREF(Py_None);
8ab979d7
RD
8565 _resultobj = Py_None;
8566 return _resultobj;
8567}
8568
8569#define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
1afc06c2 8570static PyObject *_wrap_wxDC_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8571 PyObject * _resultobj;
8572 wxDC * _arg0;
8573 wxBrush * _arg1;
1d99702e
RD
8574 PyObject * _argo0 = 0;
8575 PyObject * _argo1 = 0;
1afc06c2 8576 char *_kwnames[] = { "self","brush", NULL };
8ab979d7
RD
8577
8578 self = self;
1afc06c2 8579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetBrush",_kwnames,&_argo0,&_argo1))
8ab979d7 8580 return NULL;
1d99702e
RD
8581 if (_argo0) {
8582 if (_argo0 == Py_None) { _arg0 = NULL; }
8583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
8585 return NULL;
8586 }
8587 }
1d99702e
RD
8588 if (_argo1) {
8589 if (_argo1 == Py_None) { _arg1 = NULL; }
8590 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) {
8ab979d7
RD
8591 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
8592 return NULL;
8593 }
8594 }
cf694132
RD
8595{
8596 wxPy_BEGIN_ALLOW_THREADS;
8597 wxDC_SetBrush(_arg0,*_arg1);
8598
8599 wxPy_END_ALLOW_THREADS;
493f1553 8600 if (PyErr_Occurred()) return NULL;
cf694132 8601} Py_INCREF(Py_None);
8ab979d7
RD
8602 _resultobj = Py_None;
8603 return _resultobj;
8604}
8605
8606#define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1afc06c2 8607static PyObject *_wrap_wxDC_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8608 PyObject * _resultobj;
8609 wxDC * _arg0;
8610 wxFont * _arg1;
1d99702e
RD
8611 PyObject * _argo0 = 0;
8612 PyObject * _argo1 = 0;
1afc06c2 8613 char *_kwnames[] = { "self","font", NULL };
8ab979d7
RD
8614
8615 self = self;
1afc06c2 8616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetFont",_kwnames,&_argo0,&_argo1))
8ab979d7 8617 return NULL;
1d99702e
RD
8618 if (_argo0) {
8619 if (_argo0 == Py_None) { _arg0 = NULL; }
8620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
8622 return NULL;
8623 }
8624 }
1d99702e
RD
8625 if (_argo1) {
8626 if (_argo1 == Py_None) { _arg1 = NULL; }
8627 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
8ab979d7
RD
8628 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
8629 return NULL;
8630 }
8631 }
cf694132
RD
8632{
8633 wxPy_BEGIN_ALLOW_THREADS;
8634 wxDC_SetFont(_arg0,*_arg1);
8635
8636 wxPy_END_ALLOW_THREADS;
493f1553 8637 if (PyErr_Occurred()) return NULL;
cf694132 8638} Py_INCREF(Py_None);
8ab979d7
RD
8639 _resultobj = Py_None;
8640 return _resultobj;
8641}
8642
8643#define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
1afc06c2 8644static PyObject *_wrap_wxDC_SetLogicalFunction(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8645 PyObject * _resultobj;
8646 wxDC * _arg0;
8647 int _arg1;
1d99702e 8648 PyObject * _argo0 = 0;
1afc06c2 8649 char *_kwnames[] = { "self","function", NULL };
8ab979d7
RD
8650
8651 self = self;
1afc06c2 8652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_SetLogicalFunction",_kwnames,&_argo0,&_arg1))
8ab979d7 8653 return NULL;
1d99702e
RD
8654 if (_argo0) {
8655 if (_argo0 == Py_None) { _arg0 = NULL; }
8656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
8658 return NULL;
8659 }
8660 }
cf694132
RD
8661{
8662 wxPy_BEGIN_ALLOW_THREADS;
8663 wxDC_SetLogicalFunction(_arg0,_arg1);
8664
8665 wxPy_END_ALLOW_THREADS;
493f1553 8666 if (PyErr_Occurred()) return NULL;
cf694132 8667} Py_INCREF(Py_None);
8ab979d7
RD
8668 _resultobj = Py_None;
8669 return _resultobj;
8670}
8671
eec92d76
RD
8672#define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
8673static PyObject *_wrap_wxDC_SetLogicalScale(PyObject *self, PyObject *args, PyObject *kwargs) {
8674 PyObject * _resultobj;
8675 wxDC * _arg0;
8676 double _arg1;
8677 double _arg2;
8678 PyObject * _argo0 = 0;
8679 char *_kwnames[] = { "self","x","y", NULL };
8680
8681 self = self;
8682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxDC_SetLogicalScale",_kwnames,&_argo0,&_arg1,&_arg2))
8683 return NULL;
8684 if (_argo0) {
8685 if (_argo0 == Py_None) { _arg0 = NULL; }
8686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
8688 return NULL;
8689 }
8690 }
8691{
8692 wxPy_BEGIN_ALLOW_THREADS;
8693 wxDC_SetLogicalScale(_arg0,_arg1,_arg2);
8694
8695 wxPy_END_ALLOW_THREADS;
493f1553 8696 if (PyErr_Occurred()) return NULL;
eec92d76
RD
8697} Py_INCREF(Py_None);
8698 _resultobj = Py_None;
8699 return _resultobj;
8700}
8701
8ab979d7 8702#define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
1afc06c2 8703static PyObject *_wrap_wxDC_SetMapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8704 PyObject * _resultobj;
8705 wxDC * _arg0;
8706 int _arg1;
1d99702e 8707 PyObject * _argo0 = 0;
1afc06c2 8708 char *_kwnames[] = { "self","mode", NULL };
8ab979d7
RD
8709
8710 self = self;
1afc06c2 8711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_SetMapMode",_kwnames,&_argo0,&_arg1))
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")) {
8ab979d7
RD
8716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
8717 return NULL;
8718 }
8719 }
cf694132
RD
8720{
8721 wxPy_BEGIN_ALLOW_THREADS;
8722 wxDC_SetMapMode(_arg0,_arg1);
8723
8724 wxPy_END_ALLOW_THREADS;
493f1553 8725 if (PyErr_Occurred()) return NULL;
cf694132 8726} Py_INCREF(Py_None);
8ab979d7
RD
8727 _resultobj = Py_None;
8728 return _resultobj;
8729}
8730
8731#define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
1afc06c2 8732static PyObject *_wrap_wxDC_SetOptimization(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8733 PyObject * _resultobj;
8734 wxDC * _arg0;
8735 bool _arg1;
1d99702e 8736 PyObject * _argo0 = 0;
8ab979d7 8737 int tempbool1;
1afc06c2 8738 char *_kwnames[] = { "self","optimize", NULL };
8ab979d7
RD
8739
8740 self = self;
1afc06c2 8741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_SetOptimization",_kwnames,&_argo0,&tempbool1))
8ab979d7 8742 return NULL;
1d99702e
RD
8743 if (_argo0) {
8744 if (_argo0 == Py_None) { _arg0 = NULL; }
8745 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
8747 return NULL;
8748 }
8749 }
8750 _arg1 = (bool ) tempbool1;
cf694132
RD
8751{
8752 wxPy_BEGIN_ALLOW_THREADS;
8753 wxDC_SetOptimization(_arg0,_arg1);
8754
8755 wxPy_END_ALLOW_THREADS;
493f1553 8756 if (PyErr_Occurred()) return NULL;
cf694132 8757} Py_INCREF(Py_None);
8ab979d7
RD
8758 _resultobj = Py_None;
8759 return _resultobj;
8760}
8761
8762#define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
1afc06c2 8763static PyObject *_wrap_wxDC_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8764 PyObject * _resultobj;
8765 wxDC * _arg0;
8766 wxPen * _arg1;
1d99702e
RD
8767 PyObject * _argo0 = 0;
8768 PyObject * _argo1 = 0;
1afc06c2 8769 char *_kwnames[] = { "self","pen", NULL };
8ab979d7
RD
8770
8771 self = self;
1afc06c2 8772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetPen",_kwnames,&_argo0,&_argo1))
8ab979d7 8773 return NULL;
1d99702e
RD
8774 if (_argo0) {
8775 if (_argo0 == Py_None) { _arg0 = NULL; }
8776 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
8778 return NULL;
8779 }
8780 }
1d99702e
RD
8781 if (_argo1) {
8782 if (_argo1 == Py_None) { _arg1 = NULL; }
8783 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) {
8ab979d7
RD
8784 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
8785 return NULL;
8786 }
8787 }
cf694132
RD
8788{
8789 wxPy_BEGIN_ALLOW_THREADS;
8790 wxDC_SetPen(_arg0,*_arg1);
8791
8792 wxPy_END_ALLOW_THREADS;
493f1553 8793 if (PyErr_Occurred()) return NULL;
cf694132 8794} Py_INCREF(Py_None);
8ab979d7
RD
8795 _resultobj = Py_None;
8796 return _resultobj;
8797}
8798
8799#define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
1afc06c2 8800static PyObject *_wrap_wxDC_SetTextBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8801 PyObject * _resultobj;
8802 wxDC * _arg0;
8803 wxColour * _arg1;
1d99702e 8804 PyObject * _argo0 = 0;
f6bcfd97
BP
8805 wxColour temp;
8806 PyObject * _obj1 = 0;
1afc06c2 8807 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
8808
8809 self = self;
f6bcfd97 8810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetTextBackground",_kwnames,&_argo0,&_obj1))
8ab979d7 8811 return NULL;
1d99702e
RD
8812 if (_argo0) {
8813 if (_argo0 == Py_None) { _arg0 = NULL; }
8814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
8816 return NULL;
8817 }
8818 }
f6bcfd97
BP
8819{
8820 _arg1 = &temp;
8821 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 8822 return NULL;
f6bcfd97 8823}
cf694132
RD
8824{
8825 wxPy_BEGIN_ALLOW_THREADS;
8826 wxDC_SetTextBackground(_arg0,*_arg1);
8827
8828 wxPy_END_ALLOW_THREADS;
493f1553 8829 if (PyErr_Occurred()) return NULL;
cf694132 8830} Py_INCREF(Py_None);
8ab979d7
RD
8831 _resultobj = Py_None;
8832 return _resultobj;
8833}
8834
8835#define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
1afc06c2 8836static PyObject *_wrap_wxDC_SetTextForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8837 PyObject * _resultobj;
8838 wxDC * _arg0;
8839 wxColour * _arg1;
1d99702e 8840 PyObject * _argo0 = 0;
f6bcfd97
BP
8841 wxColour temp;
8842 PyObject * _obj1 = 0;
1afc06c2 8843 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
8844
8845 self = self;
f6bcfd97 8846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetTextForeground",_kwnames,&_argo0,&_obj1))
8ab979d7 8847 return NULL;
1d99702e
RD
8848 if (_argo0) {
8849 if (_argo0 == Py_None) { _arg0 = NULL; }
8850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
8852 return NULL;
8853 }
8854 }
f6bcfd97
BP
8855{
8856 _arg1 = &temp;
8857 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 8858 return NULL;
f6bcfd97 8859}
cf694132
RD
8860{
8861 wxPy_BEGIN_ALLOW_THREADS;
8862 wxDC_SetTextForeground(_arg0,*_arg1);
8863
8864 wxPy_END_ALLOW_THREADS;
493f1553 8865 if (PyErr_Occurred()) return NULL;
cf694132 8866} Py_INCREF(Py_None);
8ab979d7
RD
8867 _resultobj = Py_None;
8868 return _resultobj;
8869}
8870
8871#define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
1afc06c2 8872static PyObject *_wrap_wxDC_SetUserScale(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8873 PyObject * _resultobj;
8874 wxDC * _arg0;
8875 double _arg1;
8876 double _arg2;
1d99702e 8877 PyObject * _argo0 = 0;
1afc06c2 8878 char *_kwnames[] = { "self","x_scale","y_scale", NULL };
8ab979d7
RD
8879
8880 self = self;
1afc06c2 8881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxDC_SetUserScale",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 8882 return NULL;
1d99702e
RD
8883 if (_argo0) {
8884 if (_argo0 == Py_None) { _arg0 = NULL; }
8885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
8887 return NULL;
8888 }
8889 }
cf694132
RD
8890{
8891 wxPy_BEGIN_ALLOW_THREADS;
8892 wxDC_SetUserScale(_arg0,_arg1,_arg2);
8893
8894 wxPy_END_ALLOW_THREADS;
493f1553 8895 if (PyErr_Occurred()) return NULL;
cf694132 8896} Py_INCREF(Py_None);
8ab979d7
RD
8897 _resultobj = Py_None;
8898 return _resultobj;
8899}
8900
8901#define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
1afc06c2 8902static PyObject *_wrap_wxDC_StartDoc(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8903 PyObject * _resultobj;
8904 bool _result;
8905 wxDC * _arg0;
8906 wxString * _arg1;
1d99702e 8907 PyObject * _argo0 = 0;
8ab979d7 8908 PyObject * _obj1 = 0;
1afc06c2 8909 char *_kwnames[] = { "self","message", NULL };
8ab979d7
RD
8910
8911 self = self;
1afc06c2 8912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_StartDoc",_kwnames,&_argo0,&_obj1))
8ab979d7 8913 return NULL;
1d99702e
RD
8914 if (_argo0) {
8915 if (_argo0 == Py_None) { _arg0 = NULL; }
8916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
8918 return NULL;
8919 }
8920 }
8921{
185d7c3e
RD
8922#if PYTHON_API_VERSION >= 1009
8923 char* tmpPtr; int tmpSize;
8924 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 8925 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
8926 return NULL;
8927 }
8928 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
8929 return NULL;
8930 _arg1 = new wxString(tmpPtr, tmpSize);
8931#else
8ab979d7
RD
8932 if (!PyString_Check(_obj1)) {
8933 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8934 return NULL;
8935 }
185d7c3e
RD
8936 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
8937#endif
8ab979d7 8938}
cf694132
RD
8939{
8940 wxPy_BEGIN_ALLOW_THREADS;
8941 _result = (bool )wxDC_StartDoc(_arg0,*_arg1);
8942
8943 wxPy_END_ALLOW_THREADS;
493f1553 8944 if (PyErr_Occurred()) return NULL;
cf694132 8945} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8946{
8947 if (_obj1)
8948 delete _arg1;
8949}
8950 return _resultobj;
8951}
8952
8953#define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
1afc06c2 8954static PyObject *_wrap_wxDC_StartPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8955 PyObject * _resultobj;
8956 wxDC * _arg0;
1d99702e 8957 PyObject * _argo0 = 0;
1afc06c2 8958 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8959
8960 self = self;
1afc06c2 8961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_StartPage",_kwnames,&_argo0))
8ab979d7 8962 return NULL;
1d99702e
RD
8963 if (_argo0) {
8964 if (_argo0 == Py_None) { _arg0 = NULL; }
8965 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8966 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
8967 return NULL;
8968 }
8969 }
cf694132
RD
8970{
8971 wxPy_BEGIN_ALLOW_THREADS;
8972 wxDC_StartPage(_arg0);
8973
8974 wxPy_END_ALLOW_THREADS;
493f1553 8975 if (PyErr_Occurred()) return NULL;
cf694132 8976} Py_INCREF(Py_None);
8ab979d7
RD
8977 _resultobj = Py_None;
8978 return _resultobj;
8979}
8980
efc5f224 8981#define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 8982static PyObject *_wrap_wxDC_DrawBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8983 PyObject * _resultobj;
8984 wxDC * _arg0;
8985 wxBitmap * _arg1;
8986 long _arg2;
8987 long _arg3;
efc5f224 8988 int _arg4 = (int ) FALSE;
1d99702e
RD
8989 PyObject * _argo0 = 0;
8990 PyObject * _argo1 = 0;
1afc06c2 8991 char *_kwnames[] = { "self","bitmap","x","y","useMask", NULL };
8ab979d7
RD
8992
8993 self = self;
1afc06c2 8994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOll|i:wxDC_DrawBitmap",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4))
8ab979d7 8995 return NULL;
1d99702e
RD
8996 if (_argo0) {
8997 if (_argo0 == Py_None) { _arg0 = NULL; }
8998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
9000 return NULL;
9001 }
9002 }
1d99702e
RD
9003 if (_argo1) {
9004 if (_argo1 == Py_None) { _arg1 = NULL; }
9005 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
9006 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
9007 return NULL;
9008 }
9009 }
cf694132
RD
9010{
9011 wxPy_BEGIN_ALLOW_THREADS;
9012 wxDC_DrawBitmap(_arg0,*_arg1,_arg2,_arg3,_arg4);
9013
9014 wxPy_END_ALLOW_THREADS;
493f1553 9015 if (PyErr_Occurred()) return NULL;
cf694132 9016} Py_INCREF(Py_None);
8ab979d7
RD
9017 _resultobj = Py_None;
9018 return _resultobj;
9019}
9020
eec92d76
RD
9021#define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
9022static PyObject *_wrap_wxDC_CanDrawBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9023 PyObject * _resultobj;
9024 bool _result;
9025 wxDC * _arg0;
9026 PyObject * _argo0 = 0;
9027 char *_kwnames[] = { "self", NULL };
9028
9029 self = self;
9030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_CanDrawBitmap",_kwnames,&_argo0))
9031 return NULL;
9032 if (_argo0) {
9033 if (_argo0 == Py_None) { _arg0 = NULL; }
9034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
9036 return NULL;
9037 }
9038 }
9039{
9040 wxPy_BEGIN_ALLOW_THREADS;
9041 _result = (bool )wxDC_CanDrawBitmap(_arg0);
9042
9043 wxPy_END_ALLOW_THREADS;
493f1553 9044 if (PyErr_Occurred()) return NULL;
eec92d76
RD
9045} _resultobj = Py_BuildValue("i",_result);
9046 return _resultobj;
9047}
9048
9049#define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
9050static PyObject *_wrap_wxDC_CanGetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
9051 PyObject * _resultobj;
9052 bool _result;
9053 wxDC * _arg0;
9054 PyObject * _argo0 = 0;
9055 char *_kwnames[] = { "self", NULL };
9056
9057 self = self;
9058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_CanGetTextExtent",_kwnames,&_argo0))
9059 return NULL;
9060 if (_argo0) {
9061 if (_argo0 == Py_None) { _arg0 = NULL; }
9062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
9064 return NULL;
9065 }
9066 }
9067{
9068 wxPy_BEGIN_ALLOW_THREADS;
9069 _result = (bool )wxDC_CanGetTextExtent(_arg0);
9070
9071 wxPy_END_ALLOW_THREADS;
493f1553 9072 if (PyErr_Occurred()) return NULL;
eec92d76
RD
9073} _resultobj = Py_BuildValue("i",_result);
9074 return _resultobj;
9075}
9076
9077#define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
9078static PyObject *_wrap_wxDC_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
9079 PyObject * _resultobj;
9080 int _result;
9081 wxDC * _arg0;
9082 PyObject * _argo0 = 0;
9083 char *_kwnames[] = { "self", NULL };
9084
9085 self = self;
9086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetDepth",_kwnames,&_argo0))
9087 return NULL;
9088 if (_argo0) {
9089 if (_argo0 == Py_None) { _arg0 = NULL; }
9090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
9092 return NULL;
9093 }
9094 }
9095{
9096 wxPy_BEGIN_ALLOW_THREADS;
9097 _result = (int )wxDC_GetDepth(_arg0);
9098
9099 wxPy_END_ALLOW_THREADS;
493f1553 9100 if (PyErr_Occurred()) return NULL;
eec92d76
RD
9101} _resultobj = Py_BuildValue("i",_result);
9102 return _resultobj;
9103}
9104
9105#define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
9106static PyObject *_wrap_wxDC_GetPPI(PyObject *self, PyObject *args, PyObject *kwargs) {
9107 PyObject * _resultobj;
9108 wxSize * _result;
9109 wxDC * _arg0;
9110 PyObject * _argo0 = 0;
9111 char *_kwnames[] = { "self", NULL };
9112 char _ptemp[128];
9113
9114 self = self;
9115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetPPI",_kwnames,&_argo0))
9116 return NULL;
9117 if (_argo0) {
9118 if (_argo0 == Py_None) { _arg0 = NULL; }
9119 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
9121 return NULL;
9122 }
9123 }
9124{
9125 wxPy_BEGIN_ALLOW_THREADS;
9126 _result = new wxSize (wxDC_GetPPI(_arg0));
9127
9128 wxPy_END_ALLOW_THREADS;
493f1553 9129 if (PyErr_Occurred()) return NULL;
eec92d76
RD
9130} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
9131 _resultobj = Py_BuildValue("s",_ptemp);
9132 return _resultobj;
9133}
9134
9135#define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
9136static PyObject *_wrap_wxDC_GetLogicalOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
9137 PyObject * _resultobj;
9138 wxDC * _arg0;
9139 int * _arg1;
9140 int temp;
9141 int * _arg2;
9142 int temp0;
9143 PyObject * _argo0 = 0;
9144 char *_kwnames[] = { "self", NULL };
9145
9146 self = self;
9147{
9148 _arg1 = &temp;
9149}
9150{
9151 _arg2 = &temp0;
9152}
9153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetLogicalOrigin",_kwnames,&_argo0))
9154 return NULL;
9155 if (_argo0) {
9156 if (_argo0 == Py_None) { _arg0 = NULL; }
9157 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
9159 return NULL;
9160 }
9161 }
9162{
9163 wxPy_BEGIN_ALLOW_THREADS;
9164 wxDC_GetLogicalOrigin(_arg0,_arg1,_arg2);
9165
9166 wxPy_END_ALLOW_THREADS;
493f1553 9167 if (PyErr_Occurred()) return NULL;
eec92d76
RD
9168} Py_INCREF(Py_None);
9169 _resultobj = Py_None;
9170{
9171 PyObject *o;
9172 o = PyInt_FromLong((long) (*_arg1));
9173 _resultobj = t_output_helper(_resultobj, o);
9174}
9175{
9176 PyObject *o;
9177 o = PyInt_FromLong((long) (*_arg2));
9178 _resultobj = t_output_helper(_resultobj, o);
9179}
9180 return _resultobj;
9181}
9182
9183#define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
9184static PyObject *_wrap_wxDC_SetLogicalOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
9185 PyObject * _resultobj;
9186 wxDC * _arg0;
9187 int _arg1;
9188 int _arg2;
9189 PyObject * _argo0 = 0;
9190 char *_kwnames[] = { "self","x","y", NULL };
9191
9192 self = self;
9193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxDC_SetLogicalOrigin",_kwnames,&_argo0,&_arg1,&_arg2))
9194 return NULL;
9195 if (_argo0) {
9196 if (_argo0 == Py_None) { _arg0 = NULL; }
9197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
9199 return NULL;
9200 }
9201 }
9202{
9203 wxPy_BEGIN_ALLOW_THREADS;
9204 wxDC_SetLogicalOrigin(_arg0,_arg1,_arg2);
9205
9206 wxPy_END_ALLOW_THREADS;
493f1553 9207 if (PyErr_Occurred()) return NULL;
eec92d76
RD
9208} Py_INCREF(Py_None);
9209 _resultobj = Py_None;
9210 return _resultobj;
9211}
9212
9213#define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
9214static PyObject *_wrap_wxDC_GetDeviceOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
9215 PyObject * _resultobj;
9216 wxDC * _arg0;
9217 int * _arg1;
9218 int temp;
9219 int * _arg2;
9220 int temp0;
9221 PyObject * _argo0 = 0;
9222 char *_kwnames[] = { "self", NULL };
9223
9224 self = self;
9225{
9226 _arg1 = &temp;
9227}
9228{
9229 _arg2 = &temp0;
9230}
9231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetDeviceOrigin",_kwnames,&_argo0))
9232 return NULL;
9233 if (_argo0) {
9234 if (_argo0 == Py_None) { _arg0 = NULL; }
9235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
9237 return NULL;
9238 }
9239 }
9240{
9241 wxPy_BEGIN_ALLOW_THREADS;
9242 wxDC_GetDeviceOrigin(_arg0,_arg1,_arg2);
9243
9244 wxPy_END_ALLOW_THREADS;
493f1553 9245 if (PyErr_Occurred()) return NULL;
eec92d76
RD
9246} Py_INCREF(Py_None);
9247 _resultobj = Py_None;
9248{
9249 PyObject *o;
9250 o = PyInt_FromLong((long) (*_arg1));
9251 _resultobj = t_output_helper(_resultobj, o);
9252}
9253{
9254 PyObject *o;
9255 o = PyInt_FromLong((long) (*_arg2));
9256 _resultobj = t_output_helper(_resultobj, o);
9257}
9258 return _resultobj;
9259}
9260
9261#define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
9262static PyObject *_wrap_wxDC_SetAxisOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
9263 PyObject * _resultobj;
9264 wxDC * _arg0;
9265 bool _arg1;
9266 bool _arg2;
9267 PyObject * _argo0 = 0;
9268 int tempbool1;
9269 int tempbool2;
9270 char *_kwnames[] = { "self","xLeftRight","yBottomUp", NULL };
9271
9272 self = self;
9273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxDC_SetAxisOrientation",_kwnames,&_argo0,&tempbool1,&tempbool2))
9274 return NULL;
9275 if (_argo0) {
9276 if (_argo0 == Py_None) { _arg0 = NULL; }
9277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
9279 return NULL;
9280 }
9281 }
9282 _arg1 = (bool ) tempbool1;
9283 _arg2 = (bool ) tempbool2;
9284{
9285 wxPy_BEGIN_ALLOW_THREADS;
9286 wxDC_SetAxisOrientation(_arg0,_arg1,_arg2);
9287
9288 wxPy_END_ALLOW_THREADS;
493f1553 9289 if (PyErr_Occurred()) return NULL;
eec92d76
RD
9290} Py_INCREF(Py_None);
9291 _resultobj = Py_None;
9292 return _resultobj;
9293}
9294
f6bcfd97
BP
9295#define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
9296static PyObject *_wrap_wxDC_CalcBoundingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9297 PyObject * _resultobj;
9298 wxDC * _arg0;
9299 int _arg1;
9300 int _arg2;
9301 PyObject * _argo0 = 0;
9302 char *_kwnames[] = { "self","x","y", NULL };
9303
9304 self = self;
9305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxDC_CalcBoundingBox",_kwnames,&_argo0,&_arg1,&_arg2))
9306 return NULL;
9307 if (_argo0) {
9308 if (_argo0 == Py_None) { _arg0 = NULL; }
9309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
9311 return NULL;
9312 }
9313 }
9314{
9315 wxPy_BEGIN_ALLOW_THREADS;
9316 wxDC_CalcBoundingBox(_arg0,_arg1,_arg2);
9317
9318 wxPy_END_ALLOW_THREADS;
493f1553 9319 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9320} Py_INCREF(Py_None);
9321 _resultobj = Py_None;
9322 return _resultobj;
9323}
9324
9325#define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
9326static PyObject *_wrap_wxDC_ResetBoundingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9327 PyObject * _resultobj;
9328 wxDC * _arg0;
9329 PyObject * _argo0 = 0;
9330 char *_kwnames[] = { "self", NULL };
9331
9332 self = self;
9333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_ResetBoundingBox",_kwnames,&_argo0))
9334 return NULL;
9335 if (_argo0) {
9336 if (_argo0 == Py_None) { _arg0 = NULL; }
9337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
9339 return NULL;
9340 }
9341 }
9342{
9343 wxPy_BEGIN_ALLOW_THREADS;
9344 wxDC_ResetBoundingBox(_arg0);
9345
9346 wxPy_END_ALLOW_THREADS;
493f1553 9347 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
9348} Py_INCREF(Py_None);
9349 _resultobj = Py_None;
9350 return _resultobj;
9351}
9352
c7e7022c
RD
9353#define wxDC_GetHDC(_swigobj) (_swigobj->GetHDC())
9354static PyObject *_wrap_wxDC_GetHDC(PyObject *self, PyObject *args, PyObject *kwargs) {
9355 PyObject * _resultobj;
9356 long _result;
9357 wxDC * _arg0;
9358 PyObject * _argo0 = 0;
9359 char *_kwnames[] = { "self", NULL };
9360
9361 self = self;
9362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetHDC",_kwnames,&_argo0))
9363 return NULL;
9364 if (_argo0) {
9365 if (_argo0 == Py_None) { _arg0 = NULL; }
9366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetHDC. Expected _wxDC_p.");
9368 return NULL;
9369 }
9370 }
9371{
9372 wxPy_BEGIN_ALLOW_THREADS;
9373 _result = (long )wxDC_GetHDC(_arg0);
9374
9375 wxPy_END_ALLOW_THREADS;
9376 if (PyErr_Occurred()) return NULL;
9377} _resultobj = Py_BuildValue("l",_result);
9378 return _resultobj;
9379}
9380
8ab979d7
RD
9381static void *SwigwxMemoryDCTowxDC(void *ptr) {
9382 wxMemoryDC *src;
9383 wxDC *dest;
9384 src = (wxMemoryDC *) ptr;
9385 dest = (wxDC *) src;
9386 return (void *) dest;
9387}
9388
9416aa89
RD
9389static void *SwigwxMemoryDCTowxObject(void *ptr) {
9390 wxMemoryDC *src;
9391 wxObject *dest;
9392 src = (wxMemoryDC *) ptr;
9393 dest = (wxObject *) src;
9394 return (void *) dest;
9395}
9396
8ab979d7 9397#define new_wxMemoryDC() (new wxMemoryDC())
1afc06c2 9398static PyObject *_wrap_new_wxMemoryDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9399 PyObject * _resultobj;
9400 wxMemoryDC * _result;
1afc06c2 9401 char *_kwnames[] = { NULL };
8ab979d7
RD
9402 char _ptemp[128];
9403
9404 self = self;
1afc06c2 9405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxMemoryDC",_kwnames))
8ab979d7 9406 return NULL;
cf694132
RD
9407{
9408 wxPy_BEGIN_ALLOW_THREADS;
9409 _result = (wxMemoryDC *)new_wxMemoryDC();
9410
9411 wxPy_END_ALLOW_THREADS;
493f1553 9412 if (PyErr_Occurred()) return NULL;
1d99702e
RD
9413} if (_result) {
9414 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMemoryDC_p");
9415 _resultobj = Py_BuildValue("s",_ptemp);
9416 } else {
9417 Py_INCREF(Py_None);
9418 _resultobj = Py_None;
9419 }
8ab979d7
RD
9420 return _resultobj;
9421}
9422
9423#define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
1afc06c2 9424static PyObject *_wrap_wxMemoryDC_SelectObject(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9425 PyObject * _resultobj;
9426 wxMemoryDC * _arg0;
9427 wxBitmap * _arg1;
1d99702e
RD
9428 PyObject * _argo0 = 0;
9429 PyObject * _argo1 = 0;
1afc06c2 9430 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
9431
9432 self = self;
1afc06c2 9433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMemoryDC_SelectObject",_kwnames,&_argo0,&_argo1))
8ab979d7 9434 return NULL;
1d99702e
RD
9435 if (_argo0) {
9436 if (_argo0 == Py_None) { _arg0 = NULL; }
9437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMemoryDC_p")) {
8ab979d7
RD
9438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
9439 return NULL;
9440 }
9441 }
1d99702e
RD
9442 if (_argo1) {
9443 if (_argo1 == Py_None) { _arg1 = NULL; }
9444 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
9445 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
9446 return NULL;
9447 }
9448 }
cf694132
RD
9449{
9450 wxPy_BEGIN_ALLOW_THREADS;
9451 wxMemoryDC_SelectObject(_arg0,*_arg1);
9452
9453 wxPy_END_ALLOW_THREADS;
493f1553 9454 if (PyErr_Occurred()) return NULL;
cf694132 9455} Py_INCREF(Py_None);
8ab979d7
RD
9456 _resultobj = Py_None;
9457 return _resultobj;
9458}
9459
9460static void *SwigwxScreenDCTowxDC(void *ptr) {
9461 wxScreenDC *src;
9462 wxDC *dest;
9463 src = (wxScreenDC *) ptr;
9464 dest = (wxDC *) src;
9465 return (void *) dest;
9466}
9467
9416aa89
RD
9468static void *SwigwxScreenDCTowxObject(void *ptr) {
9469 wxScreenDC *src;
9470 wxObject *dest;
9471 src = (wxScreenDC *) ptr;
9472 dest = (wxObject *) src;
9473 return (void *) dest;
9474}
9475
8ab979d7 9476#define new_wxScreenDC() (new wxScreenDC())
1afc06c2 9477static PyObject *_wrap_new_wxScreenDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9478 PyObject * _resultobj;
9479 wxScreenDC * _result;
1afc06c2 9480 char *_kwnames[] = { NULL };
8ab979d7
RD
9481 char _ptemp[128];
9482
9483 self = self;
1afc06c2 9484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxScreenDC",_kwnames))
8ab979d7 9485 return NULL;
cf694132
RD
9486{
9487 wxPy_BEGIN_ALLOW_THREADS;
9488 _result = (wxScreenDC *)new_wxScreenDC();
9489
9490 wxPy_END_ALLOW_THREADS;
493f1553 9491 if (PyErr_Occurred()) return NULL;
1d99702e
RD
9492} if (_result) {
9493 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScreenDC_p");
9494 _resultobj = Py_BuildValue("s",_ptemp);
9495 } else {
9496 Py_INCREF(Py_None);
9497 _resultobj = Py_None;
9498 }
8ab979d7
RD
9499 return _resultobj;
9500}
9501
26b9cf27
RD
9502#define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
9503static PyObject *_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9504 PyObject * _resultobj;
9505 bool _result;
9506 wxScreenDC * _arg0;
9507 wxWindow * _arg1;
1d99702e
RD
9508 PyObject * _argo0 = 0;
9509 PyObject * _argo1 = 0;
1afc06c2 9510 char *_kwnames[] = { "self","window", NULL };
8ab979d7
RD
9511
9512 self = self;
26b9cf27 9513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames,&_argo0,&_argo1))
8ab979d7 9514 return NULL;
1d99702e
RD
9515 if (_argo0) {
9516 if (_argo0 == Py_None) { _arg0 = NULL; }
9517 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScreenDC_p")) {
26b9cf27 9518 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
8ab979d7
RD
9519 return NULL;
9520 }
9521 }
1d99702e
RD
9522 if (_argo1) {
9523 if (_argo1 == Py_None) { _arg1 = NULL; }
9524 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
26b9cf27 9525 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
8ab979d7
RD
9526 return NULL;
9527 }
9528 }
cf694132
RD
9529{
9530 wxPy_BEGIN_ALLOW_THREADS;
26b9cf27 9531 _result = (bool )wxScreenDC_StartDrawingOnTopWin(_arg0,_arg1);
cf694132
RD
9532
9533 wxPy_END_ALLOW_THREADS;
493f1553 9534 if (PyErr_Occurred()) return NULL;
cf694132 9535} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9536 return _resultobj;
9537}
9538
26b9cf27
RD
9539#define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
9540static PyObject *_wrap_wxScreenDC_StartDrawingOnTop(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9541 PyObject * _resultobj;
9542 bool _result;
9543 wxScreenDC * _arg0;
1d99702e
RD
9544 wxRect * _arg1 = (wxRect *) NULL;
9545 PyObject * _argo0 = 0;
2f90df85
RD
9546 wxRect temp;
9547 PyObject * _obj1 = 0;
1afc06c2 9548 char *_kwnames[] = { "self","rect", NULL };
8ab979d7
RD
9549
9550 self = self;
26b9cf27 9551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames,&_argo0,&_obj1))
8ab979d7 9552 return NULL;
1d99702e
RD
9553 if (_argo0) {
9554 if (_argo0 == Py_None) { _arg0 = NULL; }
9555 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScreenDC_p")) {
26b9cf27 9556 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
8ab979d7
RD
9557 return NULL;
9558 }
9559 }
2f90df85
RD
9560 if (_obj1)
9561{
9562 _arg1 = &temp;
9563 if (! wxRect_helper(_obj1, &_arg1))
8ab979d7 9564 return NULL;
2f90df85 9565}
cf694132
RD
9566{
9567 wxPy_BEGIN_ALLOW_THREADS;
26b9cf27 9568 _result = (bool )wxScreenDC_StartDrawingOnTop(_arg0,_arg1);
cf694132
RD
9569
9570 wxPy_END_ALLOW_THREADS;
493f1553 9571 if (PyErr_Occurred()) return NULL;
cf694132 9572} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9573 return _resultobj;
9574}
9575
9576#define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
1afc06c2 9577static PyObject *_wrap_wxScreenDC_EndDrawingOnTop(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9578 PyObject * _resultobj;
9579 bool _result;
9580 wxScreenDC * _arg0;
1d99702e 9581 PyObject * _argo0 = 0;
1afc06c2 9582 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9583
9584 self = self;
1afc06c2 9585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScreenDC_EndDrawingOnTop",_kwnames,&_argo0))
8ab979d7 9586 return NULL;
1d99702e
RD
9587 if (_argo0) {
9588 if (_argo0 == Py_None) { _arg0 = NULL; }
9589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScreenDC_p")) {
8ab979d7
RD
9590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
9591 return NULL;
9592 }
9593 }
cf694132
RD
9594{
9595 wxPy_BEGIN_ALLOW_THREADS;
9596 _result = (bool )wxScreenDC_EndDrawingOnTop(_arg0);
9597
9598 wxPy_END_ALLOW_THREADS;
493f1553 9599 if (PyErr_Occurred()) return NULL;
cf694132 9600} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9601 return _resultobj;
9602}
9603
9604static void *SwigwxClientDCTowxDC(void *ptr) {
9605 wxClientDC *src;
9606 wxDC *dest;
9607 src = (wxClientDC *) ptr;
9608 dest = (wxDC *) src;
9609 return (void *) dest;
9610}
9611
9416aa89
RD
9612static void *SwigwxClientDCTowxObject(void *ptr) {
9613 wxClientDC *src;
9614 wxObject *dest;
9615 src = (wxClientDC *) ptr;
9616 dest = (wxObject *) src;
9617 return (void *) dest;
9618}
9619
8ab979d7 9620#define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
1afc06c2 9621static PyObject *_wrap_new_wxClientDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9622 PyObject * _resultobj;
9623 wxClientDC * _result;
9624 wxWindow * _arg0;
1d99702e 9625 PyObject * _argo0 = 0;
1afc06c2 9626 char *_kwnames[] = { "win", NULL };
8ab979d7
RD
9627 char _ptemp[128];
9628
9629 self = self;
1afc06c2 9630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxClientDC",_kwnames,&_argo0))
8ab979d7 9631 return NULL;
1d99702e
RD
9632 if (_argo0) {
9633 if (_argo0 == Py_None) { _arg0 = NULL; }
9634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
9635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
9636 return NULL;
9637 }
9638 }
cf694132
RD
9639{
9640 wxPy_BEGIN_ALLOW_THREADS;
9641 _result = (wxClientDC *)new_wxClientDC(_arg0);
9642
9643 wxPy_END_ALLOW_THREADS;
493f1553 9644 if (PyErr_Occurred()) return NULL;
1d99702e
RD
9645} if (_result) {
9646 SWIG_MakePtr(_ptemp, (char *) _result,"_wxClientDC_p");
9647 _resultobj = Py_BuildValue("s",_ptemp);
9648 } else {
9649 Py_INCREF(Py_None);
9650 _resultobj = Py_None;
9651 }
8ab979d7
RD
9652 return _resultobj;
9653}
9654
9655static void *SwigwxPaintDCTowxDC(void *ptr) {
9656 wxPaintDC *src;
9657 wxDC *dest;
9658 src = (wxPaintDC *) ptr;
9659 dest = (wxDC *) src;
9660 return (void *) dest;
9661}
9662
9416aa89
RD
9663static void *SwigwxPaintDCTowxObject(void *ptr) {
9664 wxPaintDC *src;
9665 wxObject *dest;
9666 src = (wxPaintDC *) ptr;
9667 dest = (wxObject *) src;
9668 return (void *) dest;
9669}
9670
8ab979d7 9671#define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
1afc06c2 9672static PyObject *_wrap_new_wxPaintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9673 PyObject * _resultobj;
9674 wxPaintDC * _result;
9675 wxWindow * _arg0;
1d99702e 9676 PyObject * _argo0 = 0;
1afc06c2 9677 char *_kwnames[] = { "win", NULL };
8ab979d7
RD
9678 char _ptemp[128];
9679
9680 self = self;
1afc06c2 9681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxPaintDC",_kwnames,&_argo0))
8ab979d7 9682 return NULL;
1d99702e
RD
9683 if (_argo0) {
9684 if (_argo0 == Py_None) { _arg0 = NULL; }
9685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
9686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
9687 return NULL;
9688 }
9689 }
cf694132
RD
9690{
9691 wxPy_BEGIN_ALLOW_THREADS;
9692 _result = (wxPaintDC *)new_wxPaintDC(_arg0);
9693
9694 wxPy_END_ALLOW_THREADS;
493f1553 9695 if (PyErr_Occurred()) return NULL;
1d99702e
RD
9696} if (_result) {
9697 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPaintDC_p");
9698 _resultobj = Py_BuildValue("s",_ptemp);
9699 } else {
9700 Py_INCREF(Py_None);
9701 _resultobj = Py_None;
9702 }
8ab979d7
RD
9703 return _resultobj;
9704}
9705
b639c3c5
RD
9706static void *SwigwxWindowDCTowxDC(void *ptr) {
9707 wxWindowDC *src;
9708 wxDC *dest;
9709 src = (wxWindowDC *) ptr;
9710 dest = (wxDC *) src;
9711 return (void *) dest;
9712}
9713
9416aa89
RD
9714static void *SwigwxWindowDCTowxObject(void *ptr) {
9715 wxWindowDC *src;
9716 wxObject *dest;
9717 src = (wxWindowDC *) ptr;
9718 dest = (wxObject *) src;
9719 return (void *) dest;
9720}
9721
b639c3c5 9722#define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
1afc06c2 9723static PyObject *_wrap_new_wxWindowDC(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
9724 PyObject * _resultobj;
9725 wxWindowDC * _result;
9726 wxWindow * _arg0;
1d99702e 9727 PyObject * _argo0 = 0;
1afc06c2 9728 char *_kwnames[] = { "win", NULL };
b639c3c5
RD
9729 char _ptemp[128];
9730
9731 self = self;
1afc06c2 9732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxWindowDC",_kwnames,&_argo0))
b639c3c5 9733 return NULL;
1d99702e
RD
9734 if (_argo0) {
9735 if (_argo0 == Py_None) { _arg0 = NULL; }
9736 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b639c3c5
RD
9737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
9738 return NULL;
9739 }
9740 }
cf694132
RD
9741{
9742 wxPy_BEGIN_ALLOW_THREADS;
9743 _result = (wxWindowDC *)new_wxWindowDC(_arg0);
9744
9745 wxPy_END_ALLOW_THREADS;
493f1553 9746 if (PyErr_Occurred()) return NULL;
1d99702e
RD
9747} if (_result) {
9748 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindowDC_p");
9749 _resultobj = Py_BuildValue("s",_ptemp);
9750 } else {
9751 Py_INCREF(Py_None);
9752 _resultobj = Py_None;
9753 }
b639c3c5
RD
9754 return _resultobj;
9755}
9756
8ab979d7
RD
9757static void *SwigwxMetaFileDCTowxDC(void *ptr) {
9758 wxMetaFileDC *src;
9759 wxDC *dest;
9760 src = (wxMetaFileDC *) ptr;
9761 dest = (wxDC *) src;
9762 return (void *) dest;
9763}
9764
9416aa89
RD
9765static void *SwigwxMetaFileDCTowxObject(void *ptr) {
9766 wxMetaFileDC *src;
9767 wxObject *dest;
9768 src = (wxMetaFileDC *) ptr;
9769 dest = (wxObject *) src;
9770 return (void *) dest;
9771}
9772
8ab979d7 9773#define new_wxMetaFileDC(_swigarg0) (new wxMetaFileDC(_swigarg0))
1afc06c2 9774static PyObject *_wrap_new_wxMetaFileDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9775 PyObject * _resultobj;
9776 wxMetaFileDC * _result;
1d99702e 9777 wxString * _arg0 = (wxString *) &wxPyEmptyStr;
8ab979d7 9778 PyObject * _obj0 = 0;
1afc06c2 9779 char *_kwnames[] = { "filename", NULL };
8ab979d7
RD
9780 char _ptemp[128];
9781
9782 self = self;
1afc06c2 9783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxMetaFileDC",_kwnames,&_obj0))
8ab979d7
RD
9784 return NULL;
9785 if (_obj0)
9786{
185d7c3e
RD
9787#if PYTHON_API_VERSION >= 1009
9788 char* tmpPtr; int tmpSize;
9789 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
794c5cb1 9790 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
9791 return NULL;
9792 }
9793 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
9794 return NULL;
9795 _arg0 = new wxString(tmpPtr, tmpSize);
9796#else
8ab979d7
RD
9797 if (!PyString_Check(_obj0)) {
9798 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9799 return NULL;
9800 }
185d7c3e
RD
9801 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
9802#endif
8ab979d7 9803}
cf694132
RD
9804{
9805 wxPy_BEGIN_ALLOW_THREADS;
9806 _result = (wxMetaFileDC *)new_wxMetaFileDC(*_arg0);
9807
9808 wxPy_END_ALLOW_THREADS;
493f1553 9809 if (PyErr_Occurred()) return NULL;
1d99702e
RD
9810} if (_result) {
9811 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMetaFileDC_p");
9812 _resultobj = Py_BuildValue("s",_ptemp);
9813 } else {
9814 Py_INCREF(Py_None);
9815 _resultobj = Py_None;
9816 }
8ab979d7
RD
9817{
9818 if (_obj0)
9819 delete _arg0;
9820}
9821 return _resultobj;
9822}
9823
9824#define wxMetaFileDC_Close(_swigobj) (_swigobj->Close())
1afc06c2 9825static PyObject *_wrap_wxMetaFileDC_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9826 PyObject * _resultobj;
9827 wxMetaFile * _result;
9828 wxMetaFileDC * _arg0;
1d99702e 9829 PyObject * _argo0 = 0;
1afc06c2 9830 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9831 char _ptemp[128];
9832
9833 self = self;
1afc06c2 9834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMetaFileDC_Close",_kwnames,&_argo0))
8ab979d7 9835 return NULL;
1d99702e
RD
9836 if (_argo0) {
9837 if (_argo0 == Py_None) { _arg0 = NULL; }
9838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFileDC_p")) {
8ab979d7
RD
9839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMetaFileDC_Close. Expected _wxMetaFileDC_p.");
9840 return NULL;
9841 }
9842 }
cf694132
RD
9843{
9844 wxPy_BEGIN_ALLOW_THREADS;
9845 _result = (wxMetaFile *)wxMetaFileDC_Close(_arg0);
9846
9847 wxPy_END_ALLOW_THREADS;
493f1553 9848 if (PyErr_Occurred()) return NULL;
1d99702e
RD
9849} if (_result) {
9850 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMetaFile_p");
9851 _resultobj = Py_BuildValue("s",_ptemp);
9852 } else {
9853 Py_INCREF(Py_None);
9854 _resultobj = Py_None;
9855 }
8ab979d7
RD
9856 return _resultobj;
9857}
9858
9416aa89
RD
9859static void *SwigwxPaletteTowxGDIObject(void *ptr) {
9860 wxPalette *src;
9861 wxGDIObject *dest;
9862 src = (wxPalette *) ptr;
9863 dest = (wxGDIObject *) src;
9864 return (void *) dest;
9865}
9866
9867static void *SwigwxPaletteTowxObject(void *ptr) {
9868 wxPalette *src;
9869 wxObject *dest;
9870 src = (wxPalette *) ptr;
9871 dest = (wxObject *) src;
9872 return (void *) dest;
9873}
9874
b639c3c5 9875#define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 9876static PyObject *_wrap_new_wxPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
9877 PyObject * _resultobj;
9878 wxPalette * _result;
9879 int _arg0;
9880 byte * _arg1;
9881 byte * _arg2;
9882 byte * _arg3;
9883 PyObject * _obj1 = 0;
9884 PyObject * _obj2 = 0;
9885 PyObject * _obj3 = 0;
eec92d76 9886 char *_kwnames[] = { "choices","choices","choices", NULL };
b639c3c5
RD
9887 char _ptemp[128];
9888
9889 self = self;
1afc06c2 9890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:new_wxPalette",_kwnames,&_obj1,&_obj2,&_obj3))
b639c3c5
RD
9891 return NULL;
9892{
9893 _arg1 = byte_LIST_helper(_obj1);
9894 if (_arg1 == NULL) {
9895 return NULL;
9896 }
9897}
9898{
9899 _arg2 = byte_LIST_helper(_obj2);
9900 if (_arg2 == NULL) {
9901 return NULL;
9902 }
9903}
9904 if (_obj3)
9905{
9906 _arg3 = byte_LIST_helper(_obj3);
9907 if (_arg3 == NULL) {
9908 return NULL;
9909 }
9910}
9911{
cf694132
RD
9912 if (_obj1) {
9913 _arg0 = PyList_Size(_obj1);
9914 }
9915 else {
9916 _arg0 = 0;
9917 }
b639c3c5 9918}
cf694132
RD
9919{
9920 wxPy_BEGIN_ALLOW_THREADS;
9921 _result = (wxPalette *)new_wxPalette(_arg0,_arg1,_arg2,_arg3);
9922
9923 wxPy_END_ALLOW_THREADS;
493f1553 9924 if (PyErr_Occurred()) return NULL;
1d99702e
RD
9925} if (_result) {
9926 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPalette_p");
9927 _resultobj = Py_BuildValue("s",_ptemp);
9928 } else {
9929 Py_INCREF(Py_None);
9930 _resultobj = Py_None;
9931 }
b639c3c5
RD
9932{
9933 delete [] _arg1;
9934}
9935{
9936 delete [] _arg2;
9937}
9938{
9939 delete [] _arg3;
9940}
9941 return _resultobj;
9942}
9943
9944#define delete_wxPalette(_swigobj) (delete _swigobj)
1afc06c2 9945static PyObject *_wrap_delete_wxPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
9946 PyObject * _resultobj;
9947 wxPalette * _arg0;
1d99702e 9948 PyObject * _argo0 = 0;
1afc06c2 9949 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
9950
9951 self = self;
1afc06c2 9952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPalette",_kwnames,&_argo0))
b639c3c5 9953 return NULL;
1d99702e
RD
9954 if (_argo0) {
9955 if (_argo0 == Py_None) { _arg0 = NULL; }
9956 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPalette_p")) {
b639c3c5
RD
9957 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
9958 return NULL;
9959 }
9960 }
cf694132
RD
9961{
9962 wxPy_BEGIN_ALLOW_THREADS;
9963 delete_wxPalette(_arg0);
9964
9965 wxPy_END_ALLOW_THREADS;
493f1553 9966 if (PyErr_Occurred()) return NULL;
cf694132 9967} Py_INCREF(Py_None);
b639c3c5
RD
9968 _resultobj = Py_None;
9969 return _resultobj;
9970}
9971
9972#define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 9973static PyObject *_wrap_wxPalette_GetPixel(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
9974 PyObject * _resultobj;
9975 int _result;
9976 wxPalette * _arg0;
9977 byte _arg1;
9978 byte _arg2;
9979 byte _arg3;
1d99702e 9980 PyObject * _argo0 = 0;
1afc06c2 9981 char *_kwnames[] = { "self","red","green","blue", NULL };
b639c3c5
RD
9982
9983 self = self;
1afc06c2 9984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Obbb:wxPalette_GetPixel",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
b639c3c5 9985 return NULL;
1d99702e
RD
9986 if (_argo0) {
9987 if (_argo0 == Py_None) { _arg0 = NULL; }
9988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPalette_p")) {
b639c3c5
RD
9989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
9990 return NULL;
9991 }
9992 }
cf694132
RD
9993{
9994 wxPy_BEGIN_ALLOW_THREADS;
9995 _result = (int )wxPalette_GetPixel(_arg0,_arg1,_arg2,_arg3);
9996
9997 wxPy_END_ALLOW_THREADS;
493f1553 9998 if (PyErr_Occurred()) return NULL;
cf694132 9999} _resultobj = Py_BuildValue("i",_result);
b639c3c5
RD
10000 return _resultobj;
10001}
10002
10003#define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 10004static PyObject *_wrap_wxPalette_GetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
10005 PyObject * _resultobj;
10006 bool _result;
10007 wxPalette * _arg0;
10008 int _arg1;
10009 byte * _arg2;
10010 byte * _arg3;
10011 byte * _arg4;
1d99702e
RD
10012 PyObject * _argo0 = 0;
10013 PyObject * _argo2 = 0;
10014 PyObject * _argo3 = 0;
10015 PyObject * _argo4 = 0;
1afc06c2 10016 char *_kwnames[] = { "self","pixel","OUTPUT","OUTPUT","OUTPUT", NULL };
b639c3c5
RD
10017
10018 self = self;
1afc06c2 10019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOOO:wxPalette_GetRGB",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_argo4))
b639c3c5 10020 return NULL;
1d99702e
RD
10021 if (_argo0) {
10022 if (_argo0 == Py_None) { _arg0 = NULL; }
10023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPalette_p")) {
b639c3c5
RD
10024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
10025 return NULL;
10026 }
10027 }
1d99702e
RD
10028 if (_argo2) {
10029 if (_argo2 == Py_None) { _arg2 = NULL; }
10030 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_byte_p")) {
b639c3c5
RD
10031 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
10032 return NULL;
10033 }
10034 }
1d99702e
RD
10035 if (_argo3) {
10036 if (_argo3 == Py_None) { _arg3 = NULL; }
10037 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_byte_p")) {
b639c3c5
RD
10038 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
10039 return NULL;
10040 }
10041 }
1d99702e
RD
10042 if (_argo4) {
10043 if (_argo4 == Py_None) { _arg4 = NULL; }
10044 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_byte_p")) {
b639c3c5
RD
10045 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
10046 return NULL;
10047 }
10048 }
cf694132
RD
10049{
10050 wxPy_BEGIN_ALLOW_THREADS;
10051 _result = (bool )wxPalette_GetRGB(_arg0,_arg1,_arg2,_arg3,_arg4);
10052
10053 wxPy_END_ALLOW_THREADS;
493f1553 10054 if (PyErr_Occurred()) return NULL;
cf694132 10055} _resultobj = Py_BuildValue("i",_result);
b639c3c5
RD
10056 return _resultobj;
10057}
10058
10059#define wxPalette_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 10060static PyObject *_wrap_wxPalette_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
10061 PyObject * _resultobj;
10062 bool _result;
10063 wxPalette * _arg0;
1d99702e 10064 PyObject * _argo0 = 0;
1afc06c2 10065 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
10066
10067 self = self;
1afc06c2 10068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPalette_Ok",_kwnames,&_argo0))
b639c3c5 10069 return NULL;
1d99702e
RD
10070 if (_argo0) {
10071 if (_argo0 == Py_None) { _arg0 = NULL; }
10072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPalette_p")) {
b639c3c5
RD
10073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
10074 return NULL;
10075 }
10076 }
cf694132
RD
10077{
10078 wxPy_BEGIN_ALLOW_THREADS;
10079 _result = (bool )wxPalette_Ok(_arg0);
10080
10081 wxPy_END_ALLOW_THREADS;
493f1553 10082 if (PyErr_Occurred()) return NULL;
cf694132 10083} _resultobj = Py_BuildValue("i",_result);
b639c3c5
RD
10084 return _resultobj;
10085}
10086
9416aa89
RD
10087static void *SwigwxImageListTowxObject(void *ptr) {
10088 wxImageList *src;
10089 wxObject *dest;
10090 src = (wxImageList *) ptr;
10091 dest = (wxObject *) src;
10092 return (void *) dest;
10093}
10094
af309447 10095#define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 10096static PyObject *_wrap_new_wxImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
10097 PyObject * _resultobj;
10098 wxImageList * _result;
10099 int _arg0;
10100 int _arg1;
dcd38683 10101 int _arg2 = (int ) TRUE;
1d99702e 10102 int _arg3 = (int ) 1;
1afc06c2 10103 char *_kwnames[] = { "width","height","mask","initialCount", NULL };
af309447
RD
10104 char _ptemp[128];
10105
10106 self = self;
6999b0d8 10107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii|ii:new_wxImageList",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
af309447 10108 return NULL;
cf694132
RD
10109{
10110 wxPy_BEGIN_ALLOW_THREADS;
10111 _result = (wxImageList *)new_wxImageList(_arg0,_arg1,_arg2,_arg3);
10112
10113 wxPy_END_ALLOW_THREADS;
493f1553 10114 if (PyErr_Occurred()) return NULL;
1d99702e
RD
10115} if (_result) {
10116 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
10117 _resultobj = Py_BuildValue("s",_ptemp);
10118 } else {
10119 Py_INCREF(Py_None);
10120 _resultobj = Py_None;
10121 }
af309447
RD
10122 return _resultobj;
10123}
10124
10125#define delete_wxImageList(_swigobj) (delete _swigobj)
1afc06c2 10126static PyObject *_wrap_delete_wxImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
10127 PyObject * _resultobj;
10128 wxImageList * _arg0;
1d99702e 10129 PyObject * _argo0 = 0;
1afc06c2 10130 char *_kwnames[] = { "self", NULL };
af309447
RD
10131
10132 self = self;
1afc06c2 10133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxImageList",_kwnames,&_argo0))
af309447 10134 return NULL;
1d99702e
RD
10135 if (_argo0) {
10136 if (_argo0 == Py_None) { _arg0 = NULL; }
10137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
af309447
RD
10138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
10139 return NULL;
10140 }
10141 }
cf694132
RD
10142{
10143 wxPy_BEGIN_ALLOW_THREADS;
10144 delete_wxImageList(_arg0);
10145
10146 wxPy_END_ALLOW_THREADS;
493f1553 10147 if (PyErr_Occurred()) return NULL;
cf694132 10148} Py_INCREF(Py_None);
af309447
RD
10149 _resultobj = Py_None;
10150 return _resultobj;
10151}
10152
10153#define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
1afc06c2 10154static PyObject *_wrap_wxImageList_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
10155 PyObject * _resultobj;
10156 int _result;
10157 wxImageList * _arg0;
10158 wxBitmap * _arg1;
1d99702e
RD
10159 wxBitmap * _arg2 = (wxBitmap *) &wxNullBitmap;
10160 PyObject * _argo0 = 0;
10161 PyObject * _argo1 = 0;
10162 PyObject * _argo2 = 0;
1afc06c2 10163 char *_kwnames[] = { "self","bitmap","mask", NULL };
af309447
RD
10164
10165 self = self;
1afc06c2 10166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxImageList_Add",_kwnames,&_argo0,&_argo1,&_argo2))
af309447 10167 return NULL;
1d99702e
RD
10168 if (_argo0) {
10169 if (_argo0 == Py_None) { _arg0 = NULL; }
10170 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
af309447
RD
10171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
10172 return NULL;
10173 }
10174 }
1d99702e
RD
10175 if (_argo1) {
10176 if (_argo1 == Py_None) { _arg1 = NULL; }
10177 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
af309447
RD
10178 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
10179 return NULL;
10180 }
10181 }
1d99702e
RD
10182 if (_argo2) {
10183 if (_argo2 == Py_None) { _arg2 = NULL; }
10184 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
af309447
RD
10185 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
10186 return NULL;
10187 }
10188 }
cf694132
RD
10189{
10190 wxPy_BEGIN_ALLOW_THREADS;
10191 _result = (int )wxImageList_Add(_arg0,*_arg1,*_arg2);
10192
10193 wxPy_END_ALLOW_THREADS;
493f1553 10194 if (PyErr_Occurred()) return NULL;
cf694132 10195} _resultobj = Py_BuildValue("i",_result);
af309447
RD
10196 return _resultobj;
10197}
10198
10199#define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
1afc06c2 10200static PyObject *_wrap_wxImageList_AddWithColourMask(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
10201 PyObject * _resultobj;
10202 int _result;
10203 wxImageList * _arg0;
10204 wxBitmap * _arg1;
10205 wxColour * _arg2;
1d99702e
RD
10206 PyObject * _argo0 = 0;
10207 PyObject * _argo1 = 0;
f6bcfd97
BP
10208 wxColour temp;
10209 PyObject * _obj2 = 0;
1afc06c2 10210 char *_kwnames[] = { "self","bitmap","maskColour", NULL };
af309447
RD
10211
10212 self = self;
f6bcfd97 10213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxImageList_AddWithColourMask",_kwnames,&_argo0,&_argo1,&_obj2))
af309447 10214 return NULL;
1d99702e
RD
10215 if (_argo0) {
10216 if (_argo0 == Py_None) { _arg0 = NULL; }
10217 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
af309447
RD
10218 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
10219 return NULL;
10220 }
10221 }
1d99702e
RD
10222 if (_argo1) {
10223 if (_argo1 == Py_None) { _arg1 = NULL; }
10224 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
af309447
RD
10225 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
10226 return NULL;
10227 }
10228 }
f6bcfd97
BP
10229{
10230 _arg2 = &temp;
10231 if (! wxColour_helper(_obj2, &_arg2))
af309447 10232 return NULL;
f6bcfd97 10233}
cf694132
RD
10234{
10235 wxPy_BEGIN_ALLOW_THREADS;
10236 _result = (int )wxImageList_AddWithColourMask(_arg0,*_arg1,*_arg2);
10237
10238 wxPy_END_ALLOW_THREADS;
493f1553 10239 if (PyErr_Occurred()) return NULL;
cf694132 10240} _resultobj = Py_BuildValue("i",_result);
af309447
RD
10241 return _resultobj;
10242}
10243
10244#define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
1afc06c2 10245static PyObject *_wrap_wxImageList_AddIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
10246 PyObject * _resultobj;
10247 int _result;
10248 wxImageList * _arg0;
10249 wxIcon * _arg1;
1d99702e
RD
10250 PyObject * _argo0 = 0;
10251 PyObject * _argo1 = 0;
1afc06c2 10252 char *_kwnames[] = { "self","icon", NULL };
af309447
RD
10253
10254 self = self;
1afc06c2 10255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxImageList_AddIcon",_kwnames,&_argo0,&_argo1))
af309447 10256 return NULL;
1d99702e
RD
10257 if (_argo0) {
10258 if (_argo0 == Py_None) { _arg0 = NULL; }
10259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
af309447
RD
10260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
10261 return NULL;
10262 }
10263 }
1d99702e
RD
10264 if (_argo1) {
10265 if (_argo1 == Py_None) { _arg1 = NULL; }
10266 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
af309447
RD
10267 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
10268 return NULL;
10269 }
10270 }
cf694132
RD
10271{
10272 wxPy_BEGIN_ALLOW_THREADS;
10273 _result = (int )wxImageList_AddIcon(_arg0,*_arg1);
10274
10275 wxPy_END_ALLOW_THREADS;
493f1553 10276 if (PyErr_Occurred()) return NULL;
cf694132 10277} _resultobj = Py_BuildValue("i",_result);
af309447
RD
10278 return _resultobj;
10279}
10280
21f8d7ea 10281#define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 10282static PyObject *_wrap_wxImageList_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
10283 PyObject * _resultobj;
10284 bool _result;
10285 wxImageList * _arg0;
10286 int _arg1;
21f8d7ea 10287 wxBitmap * _arg2;
1d99702e
RD
10288 wxBitmap * _arg3 = (wxBitmap *) &wxNullBitmap;
10289 PyObject * _argo0 = 0;
10290 PyObject * _argo2 = 0;
10291 PyObject * _argo3 = 0;
1afc06c2 10292 char *_kwnames[] = { "self","index","bitmap","mask", NULL };
af309447
RD
10293
10294 self = self;
1afc06c2 10295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxImageList_Replace",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3))
af309447 10296 return NULL;
1d99702e
RD
10297 if (_argo0) {
10298 if (_argo0 == Py_None) { _arg0 = NULL; }
10299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 10300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
af309447
RD
10301 return NULL;
10302 }
10303 }
1d99702e
RD
10304 if (_argo2) {
10305 if (_argo2 == Py_None) { _arg2 = NULL; }
10306 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
21f8d7ea 10307 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
af309447
RD
10308 return NULL;
10309 }
10310 }
1d99702e
RD
10311 if (_argo3) {
10312 if (_argo3 == Py_None) { _arg3 = NULL; }
10313 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
21f8d7ea
RD
10314 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxImageList_Replace. Expected _wxBitmap_p.");
10315 return NULL;
10316 }
10317 }
cf694132
RD
10318{
10319 wxPy_BEGIN_ALLOW_THREADS;
10320 _result = (bool )wxImageList_Replace(_arg0,_arg1,*_arg2,*_arg3);
10321
10322 wxPy_END_ALLOW_THREADS;
493f1553 10323 if (PyErr_Occurred()) return NULL;
cf694132 10324} _resultobj = Py_BuildValue("i",_result);
af309447
RD
10325 return _resultobj;
10326}
10327
21f8d7ea 10328#define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1afc06c2 10329static PyObject *_wrap_wxImageList_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
10330 PyObject * _resultobj;
10331 bool _result;
10332 wxImageList * _arg0;
10333 int _arg1;
21f8d7ea
RD
10334 wxDC * _arg2;
10335 int _arg3;
10336 int _arg4;
1d99702e
RD
10337 int _arg5 = (int ) (wxIMAGELIST_DRAW_NORMAL);
10338 bool _arg6 = (bool ) FALSE;
10339 PyObject * _argo0 = 0;
10340 PyObject * _argo2 = 0;
10341 int tempbool6 = (int) FALSE;
1afc06c2 10342 char *_kwnames[] = { "self","index","dc","x","x","flags","solidBackground", NULL };
af309447
RD
10343
10344 self = self;
1afc06c2 10345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOii|ii:wxImageList_Draw",_kwnames,&_argo0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6))
af309447 10346 return NULL;
1d99702e
RD
10347 if (_argo0) {
10348 if (_argo0 == Py_None) { _arg0 = NULL; }
10349 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 10350 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
af309447
RD
10351 return NULL;
10352 }
10353 }
1d99702e
RD
10354 if (_argo2) {
10355 if (_argo2 == Py_None) { _arg2 = NULL; }
10356 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxDC_p")) {
21f8d7ea
RD
10357 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
10358 return NULL;
10359 }
10360 }
10361 _arg6 = (bool ) tempbool6;
cf694132
RD
10362{
10363 wxPy_BEGIN_ALLOW_THREADS;
10364 _result = (bool )wxImageList_Draw(_arg0,_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6);
10365
10366 wxPy_END_ALLOW_THREADS;
493f1553 10367 if (PyErr_Occurred()) return NULL;
cf694132 10368} _resultobj = Py_BuildValue("i",_result);
af309447
RD
10369 return _resultobj;
10370}
10371
21f8d7ea 10372#define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
1afc06c2 10373static PyObject *_wrap_wxImageList_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 10374 PyObject * _resultobj;
21f8d7ea 10375 int _result;
af309447 10376 wxImageList * _arg0;
1d99702e 10377 PyObject * _argo0 = 0;
1afc06c2 10378 char *_kwnames[] = { "self", NULL };
af309447
RD
10379
10380 self = self;
1afc06c2 10381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImageList_GetImageCount",_kwnames,&_argo0))
af309447 10382 return NULL;
1d99702e
RD
10383 if (_argo0) {
10384 if (_argo0 == Py_None) { _arg0 = NULL; }
10385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 10386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
af309447
RD
10387 return NULL;
10388 }
10389 }
cf694132
RD
10390{
10391 wxPy_BEGIN_ALLOW_THREADS;
10392 _result = (int )wxImageList_GetImageCount(_arg0);
10393
10394 wxPy_END_ALLOW_THREADS;
493f1553 10395 if (PyErr_Occurred()) return NULL;
cf694132 10396} _resultobj = Py_BuildValue("i",_result);
af309447
RD
10397 return _resultobj;
10398}
10399
21f8d7ea 10400#define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1afc06c2 10401static PyObject *_wrap_wxImageList_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
10402 PyObject * _resultobj;
10403 bool _result;
10404 wxImageList * _arg0;
10405 int _arg1;
1d99702e 10406 PyObject * _argo0 = 0;
1afc06c2 10407 char *_kwnames[] = { "self","index", NULL };
af309447
RD
10408
10409 self = self;
1afc06c2 10410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxImageList_Remove",_kwnames,&_argo0,&_arg1))
af309447 10411 return NULL;
1d99702e
RD
10412 if (_argo0) {
10413 if (_argo0 == Py_None) { _arg0 = NULL; }
10414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 10415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
af309447
RD
10416 return NULL;
10417 }
10418 }
cf694132
RD
10419{
10420 wxPy_BEGIN_ALLOW_THREADS;
10421 _result = (bool )wxImageList_Remove(_arg0,_arg1);
10422
10423 wxPy_END_ALLOW_THREADS;
493f1553 10424 if (PyErr_Occurred()) return NULL;
cf694132 10425} _resultobj = Py_BuildValue("i",_result);
af309447
RD
10426 return _resultobj;
10427}
10428
21f8d7ea 10429#define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
1afc06c2 10430static PyObject *_wrap_wxImageList_RemoveAll(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
10431 PyObject * _resultobj;
10432 bool _result;
10433 wxImageList * _arg0;
1d99702e 10434 PyObject * _argo0 = 0;
1afc06c2 10435 char *_kwnames[] = { "self", NULL };
af309447
RD
10436
10437 self = self;
1afc06c2 10438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImageList_RemoveAll",_kwnames,&_argo0))
af309447 10439 return NULL;
1d99702e
RD
10440 if (_argo0) {
10441 if (_argo0 == Py_None) { _arg0 = NULL; }
10442 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 10443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
af309447
RD
10444 return NULL;
10445 }
10446 }
cf694132
RD
10447{
10448 wxPy_BEGIN_ALLOW_THREADS;
10449 _result = (bool )wxImageList_RemoveAll(_arg0);
10450
10451 wxPy_END_ALLOW_THREADS;
493f1553 10452 if (PyErr_Occurred()) return NULL;
cf694132 10453} _resultobj = Py_BuildValue("i",_result);
af309447
RD
10454 return _resultobj;
10455}
10456
f6bcfd97
BP
10457#define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
10458static PyObject *_wrap_wxImageList_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10459 PyObject * _resultobj;
10460 wxImageList * _arg0;
10461 int _arg1;
10462 int * _arg2;
10463 int temp;
10464 int * _arg3;
10465 int temp0;
10466 PyObject * _argo0 = 0;
10467 char *_kwnames[] = { "self","index", NULL };
10468
10469 self = self;
10470{
10471 _arg2 = &temp;
10472}
10473{
10474 _arg3 = &temp0;
10475}
10476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxImageList_GetSize",_kwnames,&_argo0,&_arg1))
10477 return NULL;
10478 if (_argo0) {
10479 if (_argo0 == Py_None) { _arg0 = NULL; }
10480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
10481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
10482 return NULL;
10483 }
10484 }
10485{
10486 wxPy_BEGIN_ALLOW_THREADS;
10487 wxImageList_GetSize(_arg0,_arg1,*_arg2,*_arg3);
10488
10489 wxPy_END_ALLOW_THREADS;
493f1553 10490 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10491} Py_INCREF(Py_None);
10492 _resultobj = Py_None;
10493{
10494 PyObject *o;
10495 o = PyInt_FromLong((long) (*_arg2));
10496 _resultobj = t_output_helper(_resultobj, o);
10497}
10498{
10499 PyObject *o;
10500 o = PyInt_FromLong((long) (*_arg3));
10501 _resultobj = t_output_helper(_resultobj, o);
10502}
10503 return _resultobj;
10504}
10505
9416aa89
RD
10506static void *SwigwxRegionTowxGDIObject(void *ptr) {
10507 wxRegion *src;
10508 wxGDIObject *dest;
10509 src = (wxRegion *) ptr;
10510 dest = (wxGDIObject *) src;
10511 return (void *) dest;
10512}
10513
10514static void *SwigwxRegionTowxObject(void *ptr) {
10515 wxRegion *src;
10516 wxObject *dest;
10517 src = (wxRegion *) ptr;
10518 dest = (wxObject *) src;
10519 return (void *) dest;
10520}
10521
10522#define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10523static PyObject *_wrap_new_wxRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
10524 PyObject * _resultobj;
10525 wxRegion * _result;
10526 long _arg0 = (long ) 0;
10527 long _arg1 = (long ) 0;
10528 long _arg2 = (long ) 0;
10529 long _arg3 = (long ) 0;
10530 char *_kwnames[] = { "x","y","width","height", NULL };
10531 char _ptemp[128];
10532
10533 self = self;
10534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|llll:new_wxRegion",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
10535 return NULL;
10536{
10537 wxPy_BEGIN_ALLOW_THREADS;
10538 _result = (wxRegion *)new_wxRegion(_arg0,_arg1,_arg2,_arg3);
10539
10540 wxPy_END_ALLOW_THREADS;
493f1553 10541 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10542} if (_result) {
10543 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRegion_p");
10544 _resultobj = Py_BuildValue("s",_ptemp);
10545 } else {
10546 Py_INCREF(Py_None);
10547 _resultobj = Py_None;
10548 }
10549 return _resultobj;
10550}
10551
10552#define delete_wxRegion(_swigobj) (delete _swigobj)
10553static PyObject *_wrap_delete_wxRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
10554 PyObject * _resultobj;
10555 wxRegion * _arg0;
10556 PyObject * _argo0 = 0;
10557 char *_kwnames[] = { "self", NULL };
10558
10559 self = self;
10560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxRegion",_kwnames,&_argo0))
10561 return NULL;
10562 if (_argo0) {
10563 if (_argo0 == Py_None) { _arg0 = NULL; }
10564 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10565 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
10566 return NULL;
10567 }
10568 }
10569{
10570 wxPy_BEGIN_ALLOW_THREADS;
10571 delete_wxRegion(_arg0);
10572
10573 wxPy_END_ALLOW_THREADS;
493f1553 10574 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10575} Py_INCREF(Py_None);
10576 _resultobj = Py_None;
10577 return _resultobj;
10578}
10579
10580#define wxRegion_Clear(_swigobj) (_swigobj->Clear())
10581static PyObject *_wrap_wxRegion_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
10582 PyObject * _resultobj;
10583 wxRegion * _arg0;
10584 PyObject * _argo0 = 0;
10585 char *_kwnames[] = { "self", NULL };
10586
10587 self = self;
10588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegion_Clear",_kwnames,&_argo0))
10589 return NULL;
10590 if (_argo0) {
10591 if (_argo0 == Py_None) { _arg0 = NULL; }
10592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
10594 return NULL;
10595 }
10596 }
10597{
10598 wxPy_BEGIN_ALLOW_THREADS;
10599 wxRegion_Clear(_arg0);
10600
10601 wxPy_END_ALLOW_THREADS;
493f1553 10602 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10603} Py_INCREF(Py_None);
10604 _resultobj = Py_None;
10605 return _resultobj;
10606}
10607
10608#define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
10609static PyObject *_wrap_wxRegion_Contains(PyObject *self, PyObject *args, PyObject *kwargs) {
10610 PyObject * _resultobj;
10611 wxRegionContain _result;
10612 wxRegion * _arg0;
10613 long _arg1;
10614 long _arg2;
10615 PyObject * _argo0 = 0;
10616 char *_kwnames[] = { "self","x","y", NULL };
10617
10618 self = self;
10619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxRegion_Contains",_kwnames,&_argo0,&_arg1,&_arg2))
10620 return NULL;
10621 if (_argo0) {
10622 if (_argo0 == Py_None) { _arg0 = NULL; }
10623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
10625 return NULL;
10626 }
10627 }
10628{
10629 wxPy_BEGIN_ALLOW_THREADS;
10630 _result = (wxRegionContain )wxRegion_Contains(_arg0,_arg1,_arg2);
10631
10632 wxPy_END_ALLOW_THREADS;
493f1553 10633 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10634} _resultobj = Py_BuildValue("i",_result);
10635 return _resultobj;
10636}
10637
10638#define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10639static PyObject *_wrap_wxRegion_ContainsPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
10640 PyObject * _resultobj;
10641 wxRegionContain _result;
10642 wxRegion * _arg0;
10643 wxPoint * _arg1;
10644 PyObject * _argo0 = 0;
10645 wxPoint temp;
10646 PyObject * _obj1 = 0;
10647 char *_kwnames[] = { "self","pt", NULL };
10648
10649 self = self;
10650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_ContainsPoint",_kwnames,&_argo0,&_obj1))
10651 return NULL;
10652 if (_argo0) {
10653 if (_argo0 == Py_None) { _arg0 = NULL; }
10654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
10656 return NULL;
10657 }
10658 }
10659{
10660 _arg1 = &temp;
10661 if (! wxPoint_helper(_obj1, &_arg1))
10662 return NULL;
10663}
10664{
10665 wxPy_BEGIN_ALLOW_THREADS;
10666 _result = (wxRegionContain )wxRegion_ContainsPoint(_arg0,*_arg1);
10667
10668 wxPy_END_ALLOW_THREADS;
493f1553 10669 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10670} _resultobj = Py_BuildValue("i",_result);
10671 return _resultobj;
10672}
10673
10674#define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10675static PyObject *_wrap_wxRegion_ContainsRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10676 PyObject * _resultobj;
10677 wxRegionContain _result;
10678 wxRegion * _arg0;
10679 wxRect * _arg1;
10680 PyObject * _argo0 = 0;
10681 wxRect temp;
10682 PyObject * _obj1 = 0;
10683 char *_kwnames[] = { "self","rect", NULL };
10684
10685 self = self;
10686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_ContainsRect",_kwnames,&_argo0,&_obj1))
10687 return NULL;
10688 if (_argo0) {
10689 if (_argo0 == Py_None) { _arg0 = NULL; }
10690 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10691 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
10692 return NULL;
10693 }
10694 }
10695{
10696 _arg1 = &temp;
10697 if (! wxRect_helper(_obj1, &_arg1))
10698 return NULL;
10699}
10700{
10701 wxPy_BEGIN_ALLOW_THREADS;
10702 _result = (wxRegionContain )wxRegion_ContainsRect(_arg0,*_arg1);
10703
10704 wxPy_END_ALLOW_THREADS;
493f1553 10705 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10706} _resultobj = Py_BuildValue("i",_result);
10707 return _resultobj;
10708}
10709
10710#define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10711static PyObject *_wrap_wxRegion_ContainsRectDim(PyObject *self, PyObject *args, PyObject *kwargs) {
10712 PyObject * _resultobj;
10713 wxRegionContain _result;
10714 wxRegion * _arg0;
10715 long _arg1;
10716 long _arg2;
10717 long _arg3;
10718 long _arg4;
10719 PyObject * _argo0 = 0;
10720 char *_kwnames[] = { "self","x","y","w","h", NULL };
10721
10722 self = self;
10723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxRegion_ContainsRectDim",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10724 return NULL;
10725 if (_argo0) {
10726 if (_argo0 == Py_None) { _arg0 = NULL; }
10727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
10729 return NULL;
10730 }
10731 }
10732{
10733 wxPy_BEGIN_ALLOW_THREADS;
10734 _result = (wxRegionContain )wxRegion_ContainsRectDim(_arg0,_arg1,_arg2,_arg3,_arg4);
10735
10736 wxPy_END_ALLOW_THREADS;
493f1553 10737 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10738} _resultobj = Py_BuildValue("i",_result);
10739 return _resultobj;
10740}
10741
10742#define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
10743static PyObject *_wrap_wxRegion_GetBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10744 PyObject * _resultobj;
10745 wxRect * _result;
10746 wxRegion * _arg0;
10747 PyObject * _argo0 = 0;
10748 char *_kwnames[] = { "self", NULL };
10749 char _ptemp[128];
10750
10751 self = self;
10752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegion_GetBox",_kwnames,&_argo0))
10753 return NULL;
10754 if (_argo0) {
10755 if (_argo0 == Py_None) { _arg0 = NULL; }
10756 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10757 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
10758 return NULL;
10759 }
10760 }
10761{
10762 wxPy_BEGIN_ALLOW_THREADS;
10763 _result = new wxRect (wxRegion_GetBox(_arg0));
10764
10765 wxPy_END_ALLOW_THREADS;
493f1553 10766 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10767} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
10768 _resultobj = Py_BuildValue("s",_ptemp);
10769 return _resultobj;
10770}
10771
10772#define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10773static PyObject *_wrap_wxRegion_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
10774 PyObject * _resultobj;
10775 bool _result;
10776 wxRegion * _arg0;
10777 long _arg1;
10778 long _arg2;
10779 long _arg3;
10780 long _arg4;
10781 PyObject * _argo0 = 0;
10782 char *_kwnames[] = { "self","x","y","width","height", NULL };
10783
10784 self = self;
10785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxRegion_Intersect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10786 return NULL;
10787 if (_argo0) {
10788 if (_argo0 == Py_None) { _arg0 = NULL; }
10789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
10791 return NULL;
10792 }
10793 }
10794{
10795 wxPy_BEGIN_ALLOW_THREADS;
10796 _result = (bool )wxRegion_Intersect(_arg0,_arg1,_arg2,_arg3,_arg4);
10797
10798 wxPy_END_ALLOW_THREADS;
493f1553 10799 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10800} _resultobj = Py_BuildValue("i",_result);
10801 return _resultobj;
10802}
10803
10804#define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
10805static PyObject *_wrap_wxRegion_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10806 PyObject * _resultobj;
10807 bool _result;
10808 wxRegion * _arg0;
10809 wxRect * _arg1;
10810 PyObject * _argo0 = 0;
10811 wxRect temp;
10812 PyObject * _obj1 = 0;
10813 char *_kwnames[] = { "self","rect", NULL };
10814
10815 self = self;
10816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_IntersectRect",_kwnames,&_argo0,&_obj1))
10817 return NULL;
10818 if (_argo0) {
10819 if (_argo0 == Py_None) { _arg0 = NULL; }
10820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
10822 return NULL;
10823 }
10824 }
10825{
10826 _arg1 = &temp;
10827 if (! wxRect_helper(_obj1, &_arg1))
10828 return NULL;
10829}
10830{
10831 wxPy_BEGIN_ALLOW_THREADS;
10832 _result = (bool )wxRegion_IntersectRect(_arg0,*_arg1);
10833
10834 wxPy_END_ALLOW_THREADS;
493f1553 10835 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10836} _resultobj = Py_BuildValue("i",_result);
10837 return _resultobj;
10838}
10839
10840#define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
10841static PyObject *_wrap_wxRegion_IntersectRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
10842 PyObject * _resultobj;
10843 bool _result;
10844 wxRegion * _arg0;
10845 wxRegion * _arg1;
10846 PyObject * _argo0 = 0;
10847 PyObject * _argo1 = 0;
10848 char *_kwnames[] = { "self","region", NULL };
10849
10850 self = self;
10851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_IntersectRegion",_kwnames,&_argo0,&_argo1))
10852 return NULL;
10853 if (_argo0) {
10854 if (_argo0 == Py_None) { _arg0 = NULL; }
10855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
10857 return NULL;
10858 }
10859 }
10860 if (_argo1) {
10861 if (_argo1 == Py_None) { _arg1 = NULL; }
10862 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
10863 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
10864 return NULL;
10865 }
10866 }
10867{
10868 wxPy_BEGIN_ALLOW_THREADS;
10869 _result = (bool )wxRegion_IntersectRegion(_arg0,*_arg1);
10870
10871 wxPy_END_ALLOW_THREADS;
493f1553 10872 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10873} _resultobj = Py_BuildValue("i",_result);
10874 return _resultobj;
10875}
10876
10877#define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
10878static PyObject *_wrap_wxRegion_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
10879 PyObject * _resultobj;
10880 bool _result;
10881 wxRegion * _arg0;
10882 PyObject * _argo0 = 0;
10883 char *_kwnames[] = { "self", NULL };
10884
10885 self = self;
10886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegion_IsEmpty",_kwnames,&_argo0))
10887 return NULL;
10888 if (_argo0) {
10889 if (_argo0 == Py_None) { _arg0 = NULL; }
10890 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
10892 return NULL;
10893 }
10894 }
10895{
10896 wxPy_BEGIN_ALLOW_THREADS;
10897 _result = (bool )wxRegion_IsEmpty(_arg0);
10898
10899 wxPy_END_ALLOW_THREADS;
493f1553 10900 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10901} _resultobj = Py_BuildValue("i",_result);
10902 return _resultobj;
10903}
10904
10905#define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10906static PyObject *_wrap_wxRegion_Union(PyObject *self, PyObject *args, PyObject *kwargs) {
10907 PyObject * _resultobj;
10908 bool _result;
10909 wxRegion * _arg0;
10910 long _arg1;
10911 long _arg2;
10912 long _arg3;
10913 long _arg4;
10914 PyObject * _argo0 = 0;
10915 char *_kwnames[] = { "self","x","y","width","height", NULL };
10916
10917 self = self;
10918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxRegion_Union",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10919 return NULL;
10920 if (_argo0) {
10921 if (_argo0 == Py_None) { _arg0 = NULL; }
10922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
10924 return NULL;
10925 }
10926 }
10927{
10928 wxPy_BEGIN_ALLOW_THREADS;
10929 _result = (bool )wxRegion_Union(_arg0,_arg1,_arg2,_arg3,_arg4);
10930
10931 wxPy_END_ALLOW_THREADS;
493f1553 10932 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10933} _resultobj = Py_BuildValue("i",_result);
10934 return _resultobj;
10935}
10936
10937#define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
10938static PyObject *_wrap_wxRegion_UnionRect(PyObject *self, PyObject *args, PyObject *kwargs) {
10939 PyObject * _resultobj;
10940 bool _result;
10941 wxRegion * _arg0;
10942 wxRect * _arg1;
10943 PyObject * _argo0 = 0;
10944 wxRect temp;
10945 PyObject * _obj1 = 0;
10946 char *_kwnames[] = { "self","rect", NULL };
10947
10948 self = self;
10949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_UnionRect",_kwnames,&_argo0,&_obj1))
10950 return NULL;
10951 if (_argo0) {
10952 if (_argo0 == Py_None) { _arg0 = NULL; }
10953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
10955 return NULL;
10956 }
10957 }
10958{
10959 _arg1 = &temp;
10960 if (! wxRect_helper(_obj1, &_arg1))
10961 return NULL;
10962}
10963{
10964 wxPy_BEGIN_ALLOW_THREADS;
10965 _result = (bool )wxRegion_UnionRect(_arg0,*_arg1);
10966
10967 wxPy_END_ALLOW_THREADS;
493f1553 10968 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10969} _resultobj = Py_BuildValue("i",_result);
10970 return _resultobj;
10971}
10972
10973#define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
10974static PyObject *_wrap_wxRegion_UnionRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
10975 PyObject * _resultobj;
10976 bool _result;
10977 wxRegion * _arg0;
10978 wxRegion * _arg1;
10979 PyObject * _argo0 = 0;
10980 PyObject * _argo1 = 0;
10981 char *_kwnames[] = { "self","region", NULL };
10982
10983 self = self;
10984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_UnionRegion",_kwnames,&_argo0,&_argo1))
10985 return NULL;
10986 if (_argo0) {
10987 if (_argo0 == Py_None) { _arg0 = NULL; }
10988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
10989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
10990 return NULL;
10991 }
10992 }
10993 if (_argo1) {
10994 if (_argo1 == Py_None) { _arg1 = NULL; }
10995 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
10996 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
10997 return NULL;
10998 }
10999 }
11000{
11001 wxPy_BEGIN_ALLOW_THREADS;
11002 _result = (bool )wxRegion_UnionRegion(_arg0,*_arg1);
11003
11004 wxPy_END_ALLOW_THREADS;
493f1553 11005 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11006} _resultobj = Py_BuildValue("i",_result);
11007 return _resultobj;
11008}
11009
11010#define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11011static PyObject *_wrap_wxRegion_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
11012 PyObject * _resultobj;
11013 bool _result;
11014 wxRegion * _arg0;
11015 long _arg1;
11016 long _arg2;
11017 long _arg3;
11018 long _arg4;
11019 PyObject * _argo0 = 0;
11020 char *_kwnames[] = { "self","x","y","width","height", NULL };
11021
11022 self = self;
11023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxRegion_Subtract",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11024 return NULL;
11025 if (_argo0) {
11026 if (_argo0 == Py_None) { _arg0 = NULL; }
11027 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
11029 return NULL;
11030 }
11031 }
11032{
11033 wxPy_BEGIN_ALLOW_THREADS;
11034 _result = (bool )wxRegion_Subtract(_arg0,_arg1,_arg2,_arg3,_arg4);
11035
11036 wxPy_END_ALLOW_THREADS;
493f1553 11037 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11038} _resultobj = Py_BuildValue("i",_result);
11039 return _resultobj;
11040}
11041
11042#define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
11043static PyObject *_wrap_wxRegion_SubtractRect(PyObject *self, PyObject *args, PyObject *kwargs) {
11044 PyObject * _resultobj;
11045 bool _result;
11046 wxRegion * _arg0;
11047 wxRect * _arg1;
11048 PyObject * _argo0 = 0;
11049 wxRect temp;
11050 PyObject * _obj1 = 0;
11051 char *_kwnames[] = { "self","rect", NULL };
11052
11053 self = self;
11054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_SubtractRect",_kwnames,&_argo0,&_obj1))
11055 return NULL;
11056 if (_argo0) {
11057 if (_argo0 == Py_None) { _arg0 = NULL; }
11058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
11060 return NULL;
11061 }
11062 }
11063{
11064 _arg1 = &temp;
11065 if (! wxRect_helper(_obj1, &_arg1))
11066 return NULL;
11067}
11068{
11069 wxPy_BEGIN_ALLOW_THREADS;
11070 _result = (bool )wxRegion_SubtractRect(_arg0,*_arg1);
11071
11072 wxPy_END_ALLOW_THREADS;
493f1553 11073 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11074} _resultobj = Py_BuildValue("i",_result);
11075 return _resultobj;
11076}
11077
11078#define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
11079static PyObject *_wrap_wxRegion_SubtractRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
11080 PyObject * _resultobj;
11081 bool _result;
11082 wxRegion * _arg0;
11083 wxRegion * _arg1;
11084 PyObject * _argo0 = 0;
11085 PyObject * _argo1 = 0;
11086 char *_kwnames[] = { "self","region", NULL };
11087
11088 self = self;
11089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_SubtractRegion",_kwnames,&_argo0,&_argo1))
11090 return NULL;
11091 if (_argo0) {
11092 if (_argo0 == Py_None) { _arg0 = NULL; }
11093 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11094 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
11095 return NULL;
11096 }
11097 }
11098 if (_argo1) {
11099 if (_argo1 == Py_None) { _arg1 = NULL; }
11100 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
11101 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
11102 return NULL;
11103 }
11104 }
11105{
11106 wxPy_BEGIN_ALLOW_THREADS;
11107 _result = (bool )wxRegion_SubtractRegion(_arg0,*_arg1);
11108
11109 wxPy_END_ALLOW_THREADS;
493f1553 11110 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11111} _resultobj = Py_BuildValue("i",_result);
11112 return _resultobj;
11113}
11114
11115#define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11116static PyObject *_wrap_wxRegion_Xor(PyObject *self, PyObject *args, PyObject *kwargs) {
11117 PyObject * _resultobj;
11118 bool _result;
11119 wxRegion * _arg0;
11120 long _arg1;
11121 long _arg2;
11122 long _arg3;
11123 long _arg4;
11124 PyObject * _argo0 = 0;
11125 char *_kwnames[] = { "self","x","y","width","height", NULL };
11126
11127 self = self;
11128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxRegion_Xor",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11129 return NULL;
11130 if (_argo0) {
11131 if (_argo0 == Py_None) { _arg0 = NULL; }
11132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
11134 return NULL;
11135 }
11136 }
11137{
11138 wxPy_BEGIN_ALLOW_THREADS;
11139 _result = (bool )wxRegion_Xor(_arg0,_arg1,_arg2,_arg3,_arg4);
11140
11141 wxPy_END_ALLOW_THREADS;
493f1553 11142 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11143} _resultobj = Py_BuildValue("i",_result);
11144 return _resultobj;
11145}
11146
11147#define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
11148static PyObject *_wrap_wxRegion_XorRect(PyObject *self, PyObject *args, PyObject *kwargs) {
11149 PyObject * _resultobj;
11150 bool _result;
11151 wxRegion * _arg0;
11152 wxRect * _arg1;
11153 PyObject * _argo0 = 0;
11154 wxRect temp;
11155 PyObject * _obj1 = 0;
11156 char *_kwnames[] = { "self","rect", NULL };
11157
11158 self = self;
11159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_XorRect",_kwnames,&_argo0,&_obj1))
11160 return NULL;
11161 if (_argo0) {
11162 if (_argo0 == Py_None) { _arg0 = NULL; }
11163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
11165 return NULL;
11166 }
11167 }
11168{
11169 _arg1 = &temp;
11170 if (! wxRect_helper(_obj1, &_arg1))
11171 return NULL;
11172}
11173{
11174 wxPy_BEGIN_ALLOW_THREADS;
11175 _result = (bool )wxRegion_XorRect(_arg0,*_arg1);
11176
11177 wxPy_END_ALLOW_THREADS;
493f1553 11178 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11179} _resultobj = Py_BuildValue("i",_result);
11180 return _resultobj;
11181}
11182
11183#define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
11184static PyObject *_wrap_wxRegion_XorRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
11185 PyObject * _resultobj;
11186 bool _result;
11187 wxRegion * _arg0;
11188 wxRegion * _arg1;
11189 PyObject * _argo0 = 0;
11190 PyObject * _argo1 = 0;
11191 char *_kwnames[] = { "self","region", NULL };
11192
11193 self = self;
11194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_XorRegion",_kwnames,&_argo0,&_argo1))
11195 return NULL;
11196 if (_argo0) {
11197 if (_argo0 == Py_None) { _arg0 = NULL; }
11198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
11200 return NULL;
11201 }
11202 }
11203 if (_argo1) {
11204 if (_argo1 == Py_None) { _arg1 = NULL; }
11205 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
11206 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
11207 return NULL;
11208 }
11209 }
11210{
11211 wxPy_BEGIN_ALLOW_THREADS;
11212 _result = (bool )wxRegion_XorRegion(_arg0,*_arg1);
11213
11214 wxPy_END_ALLOW_THREADS;
493f1553 11215 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11216} _resultobj = Py_BuildValue("i",_result);
11217 return _resultobj;
11218}
11219
11220static void *SwigwxRegionIteratorTowxObject(void *ptr) {
11221 wxRegionIterator *src;
11222 wxObject *dest;
11223 src = (wxRegionIterator *) ptr;
11224 dest = (wxObject *) src;
11225 return (void *) dest;
11226}
11227
11228#define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
11229static PyObject *_wrap_new_wxRegionIterator(PyObject *self, PyObject *args, PyObject *kwargs) {
11230 PyObject * _resultobj;
11231 wxRegionIterator * _result;
11232 wxRegion * _arg0;
11233 PyObject * _argo0 = 0;
11234 char *_kwnames[] = { "region", NULL };
11235 char _ptemp[128];
11236
11237 self = self;
11238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxRegionIterator",_kwnames,&_argo0))
11239 return NULL;
11240 if (_argo0) {
11241 if (_argo0 == Py_None) { _arg0 = NULL; }
11242 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11243 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
11244 return NULL;
11245 }
11246 }
11247{
11248 wxPy_BEGIN_ALLOW_THREADS;
11249 _result = (wxRegionIterator *)new_wxRegionIterator(*_arg0);
11250
11251 wxPy_END_ALLOW_THREADS;
493f1553 11252 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11253} if (_result) {
11254 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRegionIterator_p");
11255 _resultobj = Py_BuildValue("s",_ptemp);
11256 } else {
11257 Py_INCREF(Py_None);
11258 _resultobj = Py_None;
11259 }
11260 return _resultobj;
11261}
11262
11263#define delete_wxRegionIterator(_swigobj) (delete _swigobj)
11264static PyObject *_wrap_delete_wxRegionIterator(PyObject *self, PyObject *args, PyObject *kwargs) {
11265 PyObject * _resultobj;
11266 wxRegionIterator * _arg0;
11267 PyObject * _argo0 = 0;
11268 char *_kwnames[] = { "self", NULL };
11269
11270 self = self;
11271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxRegionIterator",_kwnames,&_argo0))
11272 return NULL;
11273 if (_argo0) {
11274 if (_argo0 == Py_None) { _arg0 = NULL; }
11275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
11277 return NULL;
11278 }
11279 }
11280{
11281 wxPy_BEGIN_ALLOW_THREADS;
11282 delete_wxRegionIterator(_arg0);
11283
11284 wxPy_END_ALLOW_THREADS;
493f1553 11285 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11286} Py_INCREF(Py_None);
11287 _resultobj = Py_None;
11288 return _resultobj;
11289}
11290
11291#define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
11292static PyObject *_wrap_wxRegionIterator_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
11293 PyObject * _resultobj;
11294 long _result;
11295 wxRegionIterator * _arg0;
11296 PyObject * _argo0 = 0;
11297 char *_kwnames[] = { "self", NULL };
11298
11299 self = self;
11300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetX",_kwnames,&_argo0))
11301 return NULL;
11302 if (_argo0) {
11303 if (_argo0 == Py_None) { _arg0 = NULL; }
11304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
11306 return NULL;
11307 }
11308 }
11309{
11310 wxPy_BEGIN_ALLOW_THREADS;
11311 _result = (long )wxRegionIterator_GetX(_arg0);
11312
11313 wxPy_END_ALLOW_THREADS;
493f1553 11314 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11315} _resultobj = Py_BuildValue("l",_result);
11316 return _resultobj;
11317}
11318
11319#define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
11320static PyObject *_wrap_wxRegionIterator_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
11321 PyObject * _resultobj;
11322 long _result;
11323 wxRegionIterator * _arg0;
11324 PyObject * _argo0 = 0;
11325 char *_kwnames[] = { "self", NULL };
11326
11327 self = self;
11328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetY",_kwnames,&_argo0))
11329 return NULL;
11330 if (_argo0) {
11331 if (_argo0 == Py_None) { _arg0 = NULL; }
11332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
11334 return NULL;
11335 }
11336 }
11337{
11338 wxPy_BEGIN_ALLOW_THREADS;
11339 _result = (long )wxRegionIterator_GetY(_arg0);
11340
11341 wxPy_END_ALLOW_THREADS;
493f1553 11342 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11343} _resultobj = Py_BuildValue("l",_result);
11344 return _resultobj;
11345}
11346
11347#define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
11348static PyObject *_wrap_wxRegionIterator_GetW(PyObject *self, PyObject *args, PyObject *kwargs) {
11349 PyObject * _resultobj;
11350 long _result;
11351 wxRegionIterator * _arg0;
11352 PyObject * _argo0 = 0;
11353 char *_kwnames[] = { "self", NULL };
11354
11355 self = self;
11356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetW",_kwnames,&_argo0))
11357 return NULL;
11358 if (_argo0) {
11359 if (_argo0 == Py_None) { _arg0 = NULL; }
11360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
11362 return NULL;
11363 }
11364 }
11365{
11366 wxPy_BEGIN_ALLOW_THREADS;
11367 _result = (long )wxRegionIterator_GetW(_arg0);
11368
11369 wxPy_END_ALLOW_THREADS;
493f1553 11370 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11371} _resultobj = Py_BuildValue("l",_result);
11372 return _resultobj;
11373}
11374
11375#define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
11376static PyObject *_wrap_wxRegionIterator_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11377 PyObject * _resultobj;
11378 long _result;
11379 wxRegionIterator * _arg0;
11380 PyObject * _argo0 = 0;
11381 char *_kwnames[] = { "self", NULL };
11382
11383 self = self;
11384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetWidth",_kwnames,&_argo0))
11385 return NULL;
11386 if (_argo0) {
11387 if (_argo0 == Py_None) { _arg0 = NULL; }
11388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
11390 return NULL;
11391 }
11392 }
11393{
11394 wxPy_BEGIN_ALLOW_THREADS;
11395 _result = (long )wxRegionIterator_GetWidth(_arg0);
11396
11397 wxPy_END_ALLOW_THREADS;
493f1553 11398 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11399} _resultobj = Py_BuildValue("l",_result);
11400 return _resultobj;
11401}
11402
11403#define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
11404static PyObject *_wrap_wxRegionIterator_GetH(PyObject *self, PyObject *args, PyObject *kwargs) {
11405 PyObject * _resultobj;
11406 long _result;
11407 wxRegionIterator * _arg0;
11408 PyObject * _argo0 = 0;
11409 char *_kwnames[] = { "self", NULL };
11410
11411 self = self;
11412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetH",_kwnames,&_argo0))
11413 return NULL;
11414 if (_argo0) {
11415 if (_argo0 == Py_None) { _arg0 = NULL; }
11416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
11418 return NULL;
11419 }
11420 }
11421{
11422 wxPy_BEGIN_ALLOW_THREADS;
11423 _result = (long )wxRegionIterator_GetH(_arg0);
11424
11425 wxPy_END_ALLOW_THREADS;
493f1553 11426 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11427} _resultobj = Py_BuildValue("l",_result);
11428 return _resultobj;
11429}
11430
11431#define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
11432static PyObject *_wrap_wxRegionIterator_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
11433 PyObject * _resultobj;
11434 long _result;
11435 wxRegionIterator * _arg0;
11436 PyObject * _argo0 = 0;
11437 char *_kwnames[] = { "self", NULL };
11438
11439 self = self;
11440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetHeight",_kwnames,&_argo0))
11441 return NULL;
11442 if (_argo0) {
11443 if (_argo0 == Py_None) { _arg0 = NULL; }
11444 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11445 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
11446 return NULL;
11447 }
11448 }
11449{
11450 wxPy_BEGIN_ALLOW_THREADS;
11451 _result = (long )wxRegionIterator_GetHeight(_arg0);
11452
11453 wxPy_END_ALLOW_THREADS;
493f1553 11454 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11455} _resultobj = Py_BuildValue("l",_result);
11456 return _resultobj;
11457}
11458
11459#define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
11460static PyObject *_wrap_wxRegionIterator_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
11461 PyObject * _resultobj;
11462 wxRect * _result;
11463 wxRegionIterator * _arg0;
11464 PyObject * _argo0 = 0;
11465 char *_kwnames[] = { "self", NULL };
11466 char _ptemp[128];
11467
11468 self = self;
11469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetRect",_kwnames,&_argo0))
11470 return NULL;
11471 if (_argo0) {
11472 if (_argo0 == Py_None) { _arg0 = NULL; }
11473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
11475 return NULL;
11476 }
11477 }
11478{
11479 wxPy_BEGIN_ALLOW_THREADS;
11480 _result = new wxRect (wxRegionIterator_GetRect(_arg0));
11481
11482 wxPy_END_ALLOW_THREADS;
493f1553 11483 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11484} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
11485 _resultobj = Py_BuildValue("s",_ptemp);
11486 return _resultobj;
11487}
11488
11489#define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
11490static PyObject *_wrap_wxRegionIterator_HaveRects(PyObject *self, PyObject *args, PyObject *kwargs) {
11491 PyObject * _resultobj;
11492 bool _result;
11493 wxRegionIterator * _arg0;
11494 PyObject * _argo0 = 0;
11495 char *_kwnames[] = { "self", NULL };
11496
11497 self = self;
11498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_HaveRects",_kwnames,&_argo0))
11499 return NULL;
11500 if (_argo0) {
11501 if (_argo0 == Py_None) { _arg0 = NULL; }
11502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
11504 return NULL;
11505 }
11506 }
11507{
11508 wxPy_BEGIN_ALLOW_THREADS;
11509 _result = (bool )wxRegionIterator_HaveRects(_arg0);
11510
11511 wxPy_END_ALLOW_THREADS;
493f1553 11512 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11513} _resultobj = Py_BuildValue("i",_result);
11514 return _resultobj;
11515}
11516
11517#define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
11518static PyObject *_wrap_wxRegionIterator_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
11519 PyObject * _resultobj;
11520 wxRegionIterator * _arg0;
11521 PyObject * _argo0 = 0;
11522 char *_kwnames[] = { "self", NULL };
11523
11524 self = self;
11525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_Reset",_kwnames,&_argo0))
11526 return NULL;
11527 if (_argo0) {
11528 if (_argo0 == Py_None) { _arg0 = NULL; }
11529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
11531 return NULL;
11532 }
11533 }
11534{
11535 wxPy_BEGIN_ALLOW_THREADS;
11536 wxRegionIterator_Reset(_arg0);
11537
11538 wxPy_END_ALLOW_THREADS;
493f1553 11539 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11540} Py_INCREF(Py_None);
11541 _resultobj = Py_None;
11542 return _resultobj;
11543}
11544
11545static void wxRegionIterator_Next(wxRegionIterator *self) {
11546 (*self) ++;
11547 }
11548static PyObject *_wrap_wxRegionIterator_Next(PyObject *self, PyObject *args, PyObject *kwargs) {
11549 PyObject * _resultobj;
11550 wxRegionIterator * _arg0;
11551 PyObject * _argo0 = 0;
11552 char *_kwnames[] = { "self", NULL };
11553
11554 self = self;
11555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_Next",_kwnames,&_argo0))
11556 return NULL;
11557 if (_argo0) {
11558 if (_argo0 == Py_None) { _arg0 = NULL; }
11559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
11561 return NULL;
11562 }
11563 }
11564{
11565 wxPy_BEGIN_ALLOW_THREADS;
11566 wxRegionIterator_Next(_arg0);
11567
11568 wxPy_END_ALLOW_THREADS;
493f1553 11569 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11570} Py_INCREF(Py_None);
11571 _resultobj = Py_None;
11572 return _resultobj;
11573}
11574
8ab979d7 11575static PyMethodDef gdicMethods[] = {
9416aa89
RD
11576 { "wxRegionIterator_Next", (PyCFunction) _wrap_wxRegionIterator_Next, METH_VARARGS | METH_KEYWORDS },
11577 { "wxRegionIterator_Reset", (PyCFunction) _wrap_wxRegionIterator_Reset, METH_VARARGS | METH_KEYWORDS },
11578 { "wxRegionIterator_HaveRects", (PyCFunction) _wrap_wxRegionIterator_HaveRects, METH_VARARGS | METH_KEYWORDS },
11579 { "wxRegionIterator_GetRect", (PyCFunction) _wrap_wxRegionIterator_GetRect, METH_VARARGS | METH_KEYWORDS },
11580 { "wxRegionIterator_GetHeight", (PyCFunction) _wrap_wxRegionIterator_GetHeight, METH_VARARGS | METH_KEYWORDS },
11581 { "wxRegionIterator_GetH", (PyCFunction) _wrap_wxRegionIterator_GetH, METH_VARARGS | METH_KEYWORDS },
11582 { "wxRegionIterator_GetWidth", (PyCFunction) _wrap_wxRegionIterator_GetWidth, METH_VARARGS | METH_KEYWORDS },
11583 { "wxRegionIterator_GetW", (PyCFunction) _wrap_wxRegionIterator_GetW, METH_VARARGS | METH_KEYWORDS },
11584 { "wxRegionIterator_GetY", (PyCFunction) _wrap_wxRegionIterator_GetY, METH_VARARGS | METH_KEYWORDS },
11585 { "wxRegionIterator_GetX", (PyCFunction) _wrap_wxRegionIterator_GetX, METH_VARARGS | METH_KEYWORDS },
11586 { "delete_wxRegionIterator", (PyCFunction) _wrap_delete_wxRegionIterator, METH_VARARGS | METH_KEYWORDS },
11587 { "new_wxRegionIterator", (PyCFunction) _wrap_new_wxRegionIterator, METH_VARARGS | METH_KEYWORDS },
11588 { "wxRegion_XorRegion", (PyCFunction) _wrap_wxRegion_XorRegion, METH_VARARGS | METH_KEYWORDS },
11589 { "wxRegion_XorRect", (PyCFunction) _wrap_wxRegion_XorRect, METH_VARARGS | METH_KEYWORDS },
11590 { "wxRegion_Xor", (PyCFunction) _wrap_wxRegion_Xor, METH_VARARGS | METH_KEYWORDS },
11591 { "wxRegion_SubtractRegion", (PyCFunction) _wrap_wxRegion_SubtractRegion, METH_VARARGS | METH_KEYWORDS },
11592 { "wxRegion_SubtractRect", (PyCFunction) _wrap_wxRegion_SubtractRect, METH_VARARGS | METH_KEYWORDS },
11593 { "wxRegion_Subtract", (PyCFunction) _wrap_wxRegion_Subtract, METH_VARARGS | METH_KEYWORDS },
11594 { "wxRegion_UnionRegion", (PyCFunction) _wrap_wxRegion_UnionRegion, METH_VARARGS | METH_KEYWORDS },
11595 { "wxRegion_UnionRect", (PyCFunction) _wrap_wxRegion_UnionRect, METH_VARARGS | METH_KEYWORDS },
11596 { "wxRegion_Union", (PyCFunction) _wrap_wxRegion_Union, METH_VARARGS | METH_KEYWORDS },
11597 { "wxRegion_IsEmpty", (PyCFunction) _wrap_wxRegion_IsEmpty, METH_VARARGS | METH_KEYWORDS },
11598 { "wxRegion_IntersectRegion", (PyCFunction) _wrap_wxRegion_IntersectRegion, METH_VARARGS | METH_KEYWORDS },
11599 { "wxRegion_IntersectRect", (PyCFunction) _wrap_wxRegion_IntersectRect, METH_VARARGS | METH_KEYWORDS },
11600 { "wxRegion_Intersect", (PyCFunction) _wrap_wxRegion_Intersect, METH_VARARGS | METH_KEYWORDS },
11601 { "wxRegion_GetBox", (PyCFunction) _wrap_wxRegion_GetBox, METH_VARARGS | METH_KEYWORDS },
11602 { "wxRegion_ContainsRectDim", (PyCFunction) _wrap_wxRegion_ContainsRectDim, METH_VARARGS | METH_KEYWORDS },
11603 { "wxRegion_ContainsRect", (PyCFunction) _wrap_wxRegion_ContainsRect, METH_VARARGS | METH_KEYWORDS },
11604 { "wxRegion_ContainsPoint", (PyCFunction) _wrap_wxRegion_ContainsPoint, METH_VARARGS | METH_KEYWORDS },
11605 { "wxRegion_Contains", (PyCFunction) _wrap_wxRegion_Contains, METH_VARARGS | METH_KEYWORDS },
11606 { "wxRegion_Clear", (PyCFunction) _wrap_wxRegion_Clear, METH_VARARGS | METH_KEYWORDS },
11607 { "delete_wxRegion", (PyCFunction) _wrap_delete_wxRegion, METH_VARARGS | METH_KEYWORDS },
11608 { "new_wxRegion", (PyCFunction) _wrap_new_wxRegion, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 11609 { "wxImageList_GetSize", (PyCFunction) _wrap_wxImageList_GetSize, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11610 { "wxImageList_RemoveAll", (PyCFunction) _wrap_wxImageList_RemoveAll, METH_VARARGS | METH_KEYWORDS },
11611 { "wxImageList_Remove", (PyCFunction) _wrap_wxImageList_Remove, METH_VARARGS | METH_KEYWORDS },
11612 { "wxImageList_GetImageCount", (PyCFunction) _wrap_wxImageList_GetImageCount, METH_VARARGS | METH_KEYWORDS },
11613 { "wxImageList_Draw", (PyCFunction) _wrap_wxImageList_Draw, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11614 { "wxImageList_Replace", (PyCFunction) _wrap_wxImageList_Replace, METH_VARARGS | METH_KEYWORDS },
11615 { "wxImageList_AddIcon", (PyCFunction) _wrap_wxImageList_AddIcon, METH_VARARGS | METH_KEYWORDS },
11616 { "wxImageList_AddWithColourMask", (PyCFunction) _wrap_wxImageList_AddWithColourMask, METH_VARARGS | METH_KEYWORDS },
11617 { "wxImageList_Add", (PyCFunction) _wrap_wxImageList_Add, METH_VARARGS | METH_KEYWORDS },
11618 { "delete_wxImageList", (PyCFunction) _wrap_delete_wxImageList, METH_VARARGS | METH_KEYWORDS },
11619 { "new_wxImageList", (PyCFunction) _wrap_new_wxImageList, METH_VARARGS | METH_KEYWORDS },
11620 { "wxPalette_Ok", (PyCFunction) _wrap_wxPalette_Ok, METH_VARARGS | METH_KEYWORDS },
11621 { "wxPalette_GetRGB", (PyCFunction) _wrap_wxPalette_GetRGB, METH_VARARGS | METH_KEYWORDS },
11622 { "wxPalette_GetPixel", (PyCFunction) _wrap_wxPalette_GetPixel, METH_VARARGS | METH_KEYWORDS },
11623 { "delete_wxPalette", (PyCFunction) _wrap_delete_wxPalette, METH_VARARGS | METH_KEYWORDS },
11624 { "new_wxPalette", (PyCFunction) _wrap_new_wxPalette, METH_VARARGS | METH_KEYWORDS },
11625 { "wxMetaFileDC_Close", (PyCFunction) _wrap_wxMetaFileDC_Close, METH_VARARGS | METH_KEYWORDS },
11626 { "new_wxMetaFileDC", (PyCFunction) _wrap_new_wxMetaFileDC, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11627 { "new_wxWindowDC", (PyCFunction) _wrap_new_wxWindowDC, METH_VARARGS | METH_KEYWORDS },
11628 { "new_wxPaintDC", (PyCFunction) _wrap_new_wxPaintDC, METH_VARARGS | METH_KEYWORDS },
11629 { "new_wxClientDC", (PyCFunction) _wrap_new_wxClientDC, METH_VARARGS | METH_KEYWORDS },
11630 { "wxScreenDC_EndDrawingOnTop", (PyCFunction) _wrap_wxScreenDC_EndDrawingOnTop, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11631 { "wxScreenDC_StartDrawingOnTop", (PyCFunction) _wrap_wxScreenDC_StartDrawingOnTop, METH_VARARGS | METH_KEYWORDS },
26b9cf27 11632 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction) _wrap_wxScreenDC_StartDrawingOnTopWin, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11633 { "new_wxScreenDC", (PyCFunction) _wrap_new_wxScreenDC, METH_VARARGS | METH_KEYWORDS },
11634 { "wxMemoryDC_SelectObject", (PyCFunction) _wrap_wxMemoryDC_SelectObject, METH_VARARGS | METH_KEYWORDS },
11635 { "new_wxMemoryDC", (PyCFunction) _wrap_new_wxMemoryDC, METH_VARARGS | METH_KEYWORDS },
c7e7022c 11636 { "wxDC_GetHDC", (PyCFunction) _wrap_wxDC_GetHDC, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
11637 { "wxDC_ResetBoundingBox", (PyCFunction) _wrap_wxDC_ResetBoundingBox, METH_VARARGS | METH_KEYWORDS },
11638 { "wxDC_CalcBoundingBox", (PyCFunction) _wrap_wxDC_CalcBoundingBox, METH_VARARGS | METH_KEYWORDS },
eec92d76
RD
11639 { "wxDC_SetAxisOrientation", (PyCFunction) _wrap_wxDC_SetAxisOrientation, METH_VARARGS | METH_KEYWORDS },
11640 { "wxDC_GetDeviceOrigin", (PyCFunction) _wrap_wxDC_GetDeviceOrigin, METH_VARARGS | METH_KEYWORDS },
11641 { "wxDC_SetLogicalOrigin", (PyCFunction) _wrap_wxDC_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS },
11642 { "wxDC_GetLogicalOrigin", (PyCFunction) _wrap_wxDC_GetLogicalOrigin, METH_VARARGS | METH_KEYWORDS },
11643 { "wxDC_GetPPI", (PyCFunction) _wrap_wxDC_GetPPI, METH_VARARGS | METH_KEYWORDS },
11644 { "wxDC_GetDepth", (PyCFunction) _wrap_wxDC_GetDepth, METH_VARARGS | METH_KEYWORDS },
11645 { "wxDC_CanGetTextExtent", (PyCFunction) _wrap_wxDC_CanGetTextExtent, METH_VARARGS | METH_KEYWORDS },
11646 { "wxDC_CanDrawBitmap", (PyCFunction) _wrap_wxDC_CanDrawBitmap, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11647 { "wxDC_DrawBitmap", (PyCFunction) _wrap_wxDC_DrawBitmap, METH_VARARGS | METH_KEYWORDS },
11648 { "wxDC_StartPage", (PyCFunction) _wrap_wxDC_StartPage, METH_VARARGS | METH_KEYWORDS },
11649 { "wxDC_StartDoc", (PyCFunction) _wrap_wxDC_StartDoc, METH_VARARGS | METH_KEYWORDS },
11650 { "wxDC_SetUserScale", (PyCFunction) _wrap_wxDC_SetUserScale, METH_VARARGS | METH_KEYWORDS },
11651 { "wxDC_SetTextForeground", (PyCFunction) _wrap_wxDC_SetTextForeground, METH_VARARGS | METH_KEYWORDS },
11652 { "wxDC_SetTextBackground", (PyCFunction) _wrap_wxDC_SetTextBackground, METH_VARARGS | METH_KEYWORDS },
11653 { "wxDC_SetPen", (PyCFunction) _wrap_wxDC_SetPen, METH_VARARGS | METH_KEYWORDS },
11654 { "wxDC_SetOptimization", (PyCFunction) _wrap_wxDC_SetOptimization, METH_VARARGS | METH_KEYWORDS },
11655 { "wxDC_SetMapMode", (PyCFunction) _wrap_wxDC_SetMapMode, METH_VARARGS | METH_KEYWORDS },
eec92d76 11656 { "wxDC_SetLogicalScale", (PyCFunction) _wrap_wxDC_SetLogicalScale, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11657 { "wxDC_SetLogicalFunction", (PyCFunction) _wrap_wxDC_SetLogicalFunction, METH_VARARGS | METH_KEYWORDS },
11658 { "wxDC_SetFont", (PyCFunction) _wrap_wxDC_SetFont, METH_VARARGS | METH_KEYWORDS },
11659 { "wxDC_SetBrush", (PyCFunction) _wrap_wxDC_SetBrush, METH_VARARGS | METH_KEYWORDS },
11660 { "wxDC_SetPalette", (PyCFunction) _wrap_wxDC_SetPalette, METH_VARARGS | METH_KEYWORDS },
19a97bd6 11661 { "wxDC_SetClippingRegionAsRegion", (PyCFunction) _wrap_wxDC_SetClippingRegionAsRegion, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11662 { "wxDC_SetClippingRegion", (PyCFunction) _wrap_wxDC_SetClippingRegion, METH_VARARGS | METH_KEYWORDS },
11663 { "wxDC_SetBackgroundMode", (PyCFunction) _wrap_wxDC_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
11664 { "wxDC_SetBackground", (PyCFunction) _wrap_wxDC_SetBackground, METH_VARARGS | METH_KEYWORDS },
11665 { "wxDC_SetDeviceOrigin", (PyCFunction) _wrap_wxDC_SetDeviceOrigin, METH_VARARGS | METH_KEYWORDS },
11666 { "wxDC_Ok", (PyCFunction) _wrap_wxDC_Ok, METH_VARARGS | METH_KEYWORDS },
11667 { "wxDC_MinY", (PyCFunction) _wrap_wxDC_MinY, METH_VARARGS | METH_KEYWORDS },
11668 { "wxDC_MinX", (PyCFunction) _wrap_wxDC_MinX, METH_VARARGS | METH_KEYWORDS },
11669 { "wxDC_MaxY", (PyCFunction) _wrap_wxDC_MaxY, METH_VARARGS | METH_KEYWORDS },
11670 { "wxDC_MaxX", (PyCFunction) _wrap_wxDC_MaxX, METH_VARARGS | METH_KEYWORDS },
11671 { "wxDC_LogicalToDeviceYRel", (PyCFunction) _wrap_wxDC_LogicalToDeviceYRel, METH_VARARGS | METH_KEYWORDS },
11672 { "wxDC_LogicalToDeviceY", (PyCFunction) _wrap_wxDC_LogicalToDeviceY, METH_VARARGS | METH_KEYWORDS },
11673 { "wxDC_LogicalToDeviceXRel", (PyCFunction) _wrap_wxDC_LogicalToDeviceXRel, METH_VARARGS | METH_KEYWORDS },
11674 { "wxDC_LogicalToDeviceX", (PyCFunction) _wrap_wxDC_LogicalToDeviceX, METH_VARARGS | METH_KEYWORDS },
eec92d76 11675 { "wxDC_GetUserScale", (PyCFunction) _wrap_wxDC_GetUserScale, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11676 { "wxDC_GetTextForeground", (PyCFunction) _wrap_wxDC_GetTextForeground, METH_VARARGS | METH_KEYWORDS },
11677 { "wxDC_GetFullTextExtent", (PyCFunction) _wrap_wxDC_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
11678 { "wxDC_GetTextExtent", (PyCFunction) _wrap_wxDC_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
11679 { "wxDC_GetTextBackground", (PyCFunction) _wrap_wxDC_GetTextBackground, METH_VARARGS | METH_KEYWORDS },
eec92d76 11680 { "wxDC_GetSizeMM", (PyCFunction) _wrap_wxDC_GetSizeMM, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11681 { "wxDC_GetSize", (PyCFunction) _wrap_wxDC_GetSize, METH_VARARGS | METH_KEYWORDS },
11682 { "wxDC_GetSizeTuple", (PyCFunction) _wrap_wxDC_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
11683 { "wxDC_GetPixel", (PyCFunction) _wrap_wxDC_GetPixel, METH_VARARGS | METH_KEYWORDS },
11684 { "wxDC_GetPen", (PyCFunction) _wrap_wxDC_GetPen, METH_VARARGS | METH_KEYWORDS },
11685 { "wxDC_GetOptimization", (PyCFunction) _wrap_wxDC_GetOptimization, METH_VARARGS | METH_KEYWORDS },
11686 { "wxDC_GetMapMode", (PyCFunction) _wrap_wxDC_GetMapMode, METH_VARARGS | METH_KEYWORDS },
eec92d76 11687 { "wxDC_GetLogicalScale", (PyCFunction) _wrap_wxDC_GetLogicalScale, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11688 { "wxDC_GetLogicalFunction", (PyCFunction) _wrap_wxDC_GetLogicalFunction, METH_VARARGS | METH_KEYWORDS },
11689 { "wxDC_GetFont", (PyCFunction) _wrap_wxDC_GetFont, METH_VARARGS | METH_KEYWORDS },
11690 { "wxDC_GetClippingBox", (PyCFunction) _wrap_wxDC_GetClippingBox, METH_VARARGS | METH_KEYWORDS },
11691 { "wxDC_GetCharWidth", (PyCFunction) _wrap_wxDC_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
11692 { "wxDC_GetCharHeight", (PyCFunction) _wrap_wxDC_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
11693 { "wxDC_GetBrush", (PyCFunction) _wrap_wxDC_GetBrush, METH_VARARGS | METH_KEYWORDS },
11694 { "wxDC_GetBackground", (PyCFunction) _wrap_wxDC_GetBackground, METH_VARARGS | METH_KEYWORDS },
11695 { "wxDC_FloodFill", (PyCFunction) _wrap_wxDC_FloodFill, METH_VARARGS | METH_KEYWORDS },
11696 { "wxDC_EndPage", (PyCFunction) _wrap_wxDC_EndPage, METH_VARARGS | METH_KEYWORDS },
11697 { "wxDC_EndDrawing", (PyCFunction) _wrap_wxDC_EndDrawing, METH_VARARGS | METH_KEYWORDS },
11698 { "wxDC_EndDoc", (PyCFunction) _wrap_wxDC_EndDoc, METH_VARARGS | METH_KEYWORDS },
11699 { "wxDC_DrawText", (PyCFunction) _wrap_wxDC_DrawText, METH_VARARGS | METH_KEYWORDS },
11700 { "wxDC_DrawSpline", (PyCFunction) _wrap_wxDC_DrawSpline, METH_VARARGS | METH_KEYWORDS },
11701 { "wxDC_DrawRoundedRectangle", (PyCFunction) _wrap_wxDC_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
6999b0d8 11702 { "wxDC_DrawRotatedText", (PyCFunction) _wrap_wxDC_DrawRotatedText, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11703 { "wxDC_DrawRectangle", (PyCFunction) _wrap_wxDC_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
11704 { "wxDC_DrawPoint", (PyCFunction) _wrap_wxDC_DrawPoint, METH_VARARGS | METH_KEYWORDS },
11705 { "wxDC_DrawPolygon", (PyCFunction) _wrap_wxDC_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
11706 { "wxDC_DrawLines", (PyCFunction) _wrap_wxDC_DrawLines, METH_VARARGS | METH_KEYWORDS },
11707 { "wxDC_DrawLine", (PyCFunction) _wrap_wxDC_DrawLine, METH_VARARGS | METH_KEYWORDS },
11708 { "wxDC_DrawIcon", (PyCFunction) _wrap_wxDC_DrawIcon, METH_VARARGS | METH_KEYWORDS },
11709 { "wxDC_DrawEllipticArc", (PyCFunction) _wrap_wxDC_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
11710 { "wxDC_DrawEllipse", (PyCFunction) _wrap_wxDC_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
11711 { "wxDC_DrawCircle", (PyCFunction) _wrap_wxDC_DrawCircle, METH_VARARGS | METH_KEYWORDS },
11712 { "wxDC_DrawArc", (PyCFunction) _wrap_wxDC_DrawArc, METH_VARARGS | METH_KEYWORDS },
11713 { "wxDC_DeviceToLogicalYRel", (PyCFunction) _wrap_wxDC_DeviceToLogicalYRel, METH_VARARGS | METH_KEYWORDS },
11714 { "wxDC_DeviceToLogicalY", (PyCFunction) _wrap_wxDC_DeviceToLogicalY, METH_VARARGS | METH_KEYWORDS },
11715 { "wxDC_DeviceToLogicalXRel", (PyCFunction) _wrap_wxDC_DeviceToLogicalXRel, METH_VARARGS | METH_KEYWORDS },
11716 { "wxDC_DeviceToLogicalX", (PyCFunction) _wrap_wxDC_DeviceToLogicalX, METH_VARARGS | METH_KEYWORDS },
11717 { "wxDC_DestroyClippingRegion", (PyCFunction) _wrap_wxDC_DestroyClippingRegion, METH_VARARGS | METH_KEYWORDS },
11718 { "wxDC_CrossHair", (PyCFunction) _wrap_wxDC_CrossHair, METH_VARARGS | METH_KEYWORDS },
11719 { "wxDC_Clear", (PyCFunction) _wrap_wxDC_Clear, METH_VARARGS | METH_KEYWORDS },
11720 { "wxDC_Blit", (PyCFunction) _wrap_wxDC_Blit, METH_VARARGS | METH_KEYWORDS },
11721 { "wxDC_BeginDrawing", (PyCFunction) _wrap_wxDC_BeginDrawing, METH_VARARGS | METH_KEYWORDS },
11722 { "delete_wxDC", (PyCFunction) _wrap_delete_wxDC, METH_VARARGS | METH_KEYWORDS },
0569df0f
RD
11723 { "wxBrushList_RemoveBrush", (PyCFunction) _wrap_wxBrushList_RemoveBrush, METH_VARARGS | METH_KEYWORDS },
11724 { "wxBrushList_FindOrCreateBrush", (PyCFunction) _wrap_wxBrushList_FindOrCreateBrush, METH_VARARGS | METH_KEYWORDS },
11725 { "wxBrushList_AddBrush", (PyCFunction) _wrap_wxBrushList_AddBrush, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11726 { "wxBrush_SetStyle", (PyCFunction) _wrap_wxBrush_SetStyle, METH_VARARGS | METH_KEYWORDS },
11727 { "wxBrush_SetStipple", (PyCFunction) _wrap_wxBrush_SetStipple, METH_VARARGS | METH_KEYWORDS },
11728 { "wxBrush_SetColour", (PyCFunction) _wrap_wxBrush_SetColour, METH_VARARGS | METH_KEYWORDS },
11729 { "wxBrush_Ok", (PyCFunction) _wrap_wxBrush_Ok, METH_VARARGS | METH_KEYWORDS },
11730 { "wxBrush_GetStyle", (PyCFunction) _wrap_wxBrush_GetStyle, METH_VARARGS | METH_KEYWORDS },
11731 { "wxBrush_GetStipple", (PyCFunction) _wrap_wxBrush_GetStipple, METH_VARARGS | METH_KEYWORDS },
11732 { "wxBrush_GetColour", (PyCFunction) _wrap_wxBrush_GetColour, METH_VARARGS | METH_KEYWORDS },
0569df0f 11733 { "delete_wxBrush", (PyCFunction) _wrap_delete_wxBrush, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11734 { "new_wxBrush", (PyCFunction) _wrap_new_wxBrush, METH_VARARGS | METH_KEYWORDS },
0569df0f
RD
11735 { "wxPenList_RemovePen", (PyCFunction) _wrap_wxPenList_RemovePen, METH_VARARGS | METH_KEYWORDS },
11736 { "wxPenList_FindOrCreatePen", (PyCFunction) _wrap_wxPenList_FindOrCreatePen, METH_VARARGS | METH_KEYWORDS },
11737 { "wxPenList_AddPen", (PyCFunction) _wrap_wxPenList_AddPen, METH_VARARGS | METH_KEYWORDS },
ecc08ead
RD
11738 { "wxPyPen_SetDashes", (PyCFunction) _wrap_wxPyPen_SetDashes, METH_VARARGS | METH_KEYWORDS },
11739 { "delete_wxPyPen", (PyCFunction) _wrap_delete_wxPyPen, METH_VARARGS | METH_KEYWORDS },
11740 { "new_wxPyPen", (PyCFunction) _wrap_new_wxPyPen, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11741 { "wxPen_SetStipple", (PyCFunction) _wrap_wxPen_SetStipple, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11742 { "wxPen_GetStipple", (PyCFunction) _wrap_wxPen_GetStipple, METH_VARARGS | METH_KEYWORDS },
6999b0d8 11743 { "wxPen_SetDashes", (PyCFunction) _wrap_wxPen_SetDashes, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11744 { "wxPen_SetWidth", (PyCFunction) _wrap_wxPen_SetWidth, METH_VARARGS | METH_KEYWORDS },
11745 { "wxPen_SetStyle", (PyCFunction) _wrap_wxPen_SetStyle, METH_VARARGS | METH_KEYWORDS },
11746 { "wxPen_SetJoin", (PyCFunction) _wrap_wxPen_SetJoin, METH_VARARGS | METH_KEYWORDS },
11747 { "wxPen_SetColour", (PyCFunction) _wrap_wxPen_SetColour, METH_VARARGS | METH_KEYWORDS },
11748 { "wxPen_SetCap", (PyCFunction) _wrap_wxPen_SetCap, METH_VARARGS | METH_KEYWORDS },
11749 { "wxPen_Ok", (PyCFunction) _wrap_wxPen_Ok, METH_VARARGS | METH_KEYWORDS },
11750 { "wxPen_GetWidth", (PyCFunction) _wrap_wxPen_GetWidth, METH_VARARGS | METH_KEYWORDS },
11751 { "wxPen_GetStyle", (PyCFunction) _wrap_wxPen_GetStyle, METH_VARARGS | METH_KEYWORDS },
11752 { "wxPen_GetJoin", (PyCFunction) _wrap_wxPen_GetJoin, METH_VARARGS | METH_KEYWORDS },
11753 { "wxPen_GetColour", (PyCFunction) _wrap_wxPen_GetColour, METH_VARARGS | METH_KEYWORDS },
11754 { "wxPen_GetCap", (PyCFunction) _wrap_wxPen_GetCap, METH_VARARGS | METH_KEYWORDS },
0569df0f 11755 { "delete_wxPen", (PyCFunction) _wrap_delete_wxPen, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11756 { "new_wxPen", (PyCFunction) _wrap_new_wxPen, METH_VARARGS | METH_KEYWORDS },
0569df0f
RD
11757 { "wxColourDatabase_Append", (PyCFunction) _wrap_wxColourDatabase_Append, METH_VARARGS | METH_KEYWORDS },
11758 { "wxColourDatabase_FindName", (PyCFunction) _wrap_wxColourDatabase_FindName, METH_VARARGS | METH_KEYWORDS },
11759 { "wxColourDatabase_FindColour", (PyCFunction) _wrap_wxColourDatabase_FindColour, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11760 { "wxColour_Get", (PyCFunction) _wrap_wxColour_Get, METH_VARARGS | METH_KEYWORDS },
11761 { "wxColour_Set", (PyCFunction) _wrap_wxColour_Set, METH_VARARGS | METH_KEYWORDS },
11762 { "wxColour_Ok", (PyCFunction) _wrap_wxColour_Ok, METH_VARARGS | METH_KEYWORDS },
11763 { "wxColour_Blue", (PyCFunction) _wrap_wxColour_Blue, METH_VARARGS | METH_KEYWORDS },
11764 { "wxColour_Green", (PyCFunction) _wrap_wxColour_Green, METH_VARARGS | METH_KEYWORDS },
11765 { "wxColour_Red", (PyCFunction) _wrap_wxColour_Red, METH_VARARGS | METH_KEYWORDS },
11766 { "delete_wxColour", (PyCFunction) _wrap_delete_wxColour, METH_VARARGS | METH_KEYWORDS },
11767 { "new_wxColour", (PyCFunction) _wrap_new_wxColour, METH_VARARGS | METH_KEYWORDS },
0569df0f
RD
11768 { "wxFontList_RemoveFont", (PyCFunction) _wrap_wxFontList_RemoveFont, METH_VARARGS | METH_KEYWORDS },
11769 { "wxFontList_FindOrCreateFont", (PyCFunction) _wrap_wxFontList_FindOrCreateFont, METH_VARARGS | METH_KEYWORDS },
11770 { "wxFontList_AddFont", (PyCFunction) _wrap_wxFontList_AddFont, METH_VARARGS | METH_KEYWORDS },
6d8b4f8d
RD
11771 { "wxFont_SetDefaultEncoding", (PyCFunction) _wrap_wxFont_SetDefaultEncoding, METH_VARARGS | METH_KEYWORDS },
11772 { "wxFont_GetDefaultEncoding", (PyCFunction) _wrap_wxFont_GetDefaultEncoding, METH_VARARGS | METH_KEYWORDS },
f0261a72
RD
11773 { "wxFont_GetWeightString", (PyCFunction) _wrap_wxFont_GetWeightString, METH_VARARGS | METH_KEYWORDS },
11774 { "wxFont_GetStyleString", (PyCFunction) _wrap_wxFont_GetStyleString, METH_VARARGS | METH_KEYWORDS },
11775 { "wxFont_GetFamilyString", (PyCFunction) _wrap_wxFont_GetFamilyString, METH_VARARGS | METH_KEYWORDS },
6d8b4f8d 11776 { "wxFont_SetNativeFontInfo", (PyCFunction) _wrap_wxFont_SetNativeFontInfo, METH_VARARGS | METH_KEYWORDS },
f0261a72 11777 { "wxFont_SetEncoding", (PyCFunction) _wrap_wxFont_SetEncoding, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11778 { "wxFont_SetUnderlined", (PyCFunction) _wrap_wxFont_SetUnderlined, METH_VARARGS | METH_KEYWORDS },
6d8b4f8d
RD
11779 { "wxFont_SetFaceName", (PyCFunction) _wrap_wxFont_SetFaceName, METH_VARARGS | METH_KEYWORDS },
11780 { "wxFont_SetWeight", (PyCFunction) _wrap_wxFont_SetWeight, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11781 { "wxFont_SetStyle", (PyCFunction) _wrap_wxFont_SetStyle, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11782 { "wxFont_SetFamily", (PyCFunction) _wrap_wxFont_SetFamily, METH_VARARGS | METH_KEYWORDS },
6d8b4f8d
RD
11783 { "wxFont_SetPointSize", (PyCFunction) _wrap_wxFont_SetPointSize, METH_VARARGS | METH_KEYWORDS },
11784 { "wxFont_GetNativeFontInfo", (PyCFunction) _wrap_wxFont_GetNativeFontInfo, METH_VARARGS | METH_KEYWORDS },
f0261a72 11785 { "wxFont_GetEncoding", (PyCFunction) _wrap_wxFont_GetEncoding, METH_VARARGS | METH_KEYWORDS },
6d8b4f8d 11786 { "wxFont_GetFaceName", (PyCFunction) _wrap_wxFont_GetFaceName, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11787 { "wxFont_GetUnderlined", (PyCFunction) _wrap_wxFont_GetUnderlined, METH_VARARGS | METH_KEYWORDS },
6d8b4f8d 11788 { "wxFont_GetWeight", (PyCFunction) _wrap_wxFont_GetWeight, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11789 { "wxFont_GetStyle", (PyCFunction) _wrap_wxFont_GetStyle, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11790 { "wxFont_GetFamily", (PyCFunction) _wrap_wxFont_GetFamily, METH_VARARGS | METH_KEYWORDS },
6d8b4f8d 11791 { "wxFont_GetPointSize", (PyCFunction) _wrap_wxFont_GetPointSize, METH_VARARGS | METH_KEYWORDS },
694759cf 11792 { "wxFont_Ok", (PyCFunction) _wrap_wxFont_Ok, METH_VARARGS | METH_KEYWORDS },
0569df0f 11793 { "delete_wxFont", (PyCFunction) _wrap_delete_wxFont, METH_VARARGS | METH_KEYWORDS },
6d8b4f8d 11794 { "new_wxFontFromNativeInfo", (PyCFunction) _wrap_new_wxFontFromNativeInfo, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11795 { "new_wxFont", (PyCFunction) _wrap_new_wxFont, METH_VARARGS | METH_KEYWORDS },
6d8b4f8d
RD
11796 { "wxFontMapper_GetDefaultConfigPath", (PyCFunction) _wrap_wxFontMapper_GetDefaultConfigPath, METH_VARARGS | METH_KEYWORDS },
11797 { "wxFontMapper_SetConfigPath", (PyCFunction) _wrap_wxFontMapper_SetConfigPath, METH_VARARGS | METH_KEYWORDS },
11798 { "wxFontMapper_SetConfig", (PyCFunction) _wrap_wxFontMapper_SetConfig, METH_VARARGS | METH_KEYWORDS },
11799 { "wxFontMapper_SetDialogTitle", (PyCFunction) _wrap_wxFontMapper_SetDialogTitle, METH_VARARGS | METH_KEYWORDS },
11800 { "wxFontMapper_SetDialogParent", (PyCFunction) _wrap_wxFontMapper_SetDialogParent, METH_VARARGS | METH_KEYWORDS },
11801 { "wxFontMapper_GetEncodingDescription", (PyCFunction) _wrap_wxFontMapper_GetEncodingDescription, METH_VARARGS | METH_KEYWORDS },
11802 { "wxFontMapper_GetEncodingName", (PyCFunction) _wrap_wxFontMapper_GetEncodingName, METH_VARARGS | METH_KEYWORDS },
11803 { "wxFontMapper_CharsetToEncoding", (PyCFunction) _wrap_wxFontMapper_CharsetToEncoding, METH_VARARGS | METH_KEYWORDS },
11804 { "wxFontMapper_IsEncodingAvailable", (PyCFunction) _wrap_wxFontMapper_IsEncodingAvailable, METH_VARARGS | METH_KEYWORDS },
11805 { "wxFontMapper_GetAltForEncoding", (PyCFunction) _wrap_wxFontMapper_GetAltForEncoding, METH_VARARGS | METH_KEYWORDS },
11806 { "delete_wxFontMapper", (PyCFunction) _wrap_delete_wxFontMapper, METH_VARARGS | METH_KEYWORDS },
11807 { "new_wxFontMapper", (PyCFunction) _wrap_new_wxFontMapper, METH_VARARGS | METH_KEYWORDS },
11808 { "wxNativeFontInfo___str__", (PyCFunction) _wrap_wxNativeFontInfo___str__, METH_VARARGS | METH_KEYWORDS },
11809 { "wxNativeFontInfo_ToString", (PyCFunction) _wrap_wxNativeFontInfo_ToString, METH_VARARGS | METH_KEYWORDS },
11810 { "wxNativeFontInfo_FromString", (PyCFunction) _wrap_wxNativeFontInfo_FromString, METH_VARARGS | METH_KEYWORDS },
9b3d3bc4
RD
11811 { "wxCursor_SetSize", (PyCFunction) _wrap_wxCursor_SetSize, METH_VARARGS | METH_KEYWORDS },
11812 { "wxCursor_SetDepth", (PyCFunction) _wrap_wxCursor_SetDepth, METH_VARARGS | METH_KEYWORDS },
11813 { "wxCursor_SetHeight", (PyCFunction) _wrap_wxCursor_SetHeight, METH_VARARGS | METH_KEYWORDS },
11814 { "wxCursor_SetWidth", (PyCFunction) _wrap_wxCursor_SetWidth, METH_VARARGS | METH_KEYWORDS },
11815 { "wxCursor_GetDepth", (PyCFunction) _wrap_wxCursor_GetDepth, METH_VARARGS | METH_KEYWORDS },
11816 { "wxCursor_GetHeight", (PyCFunction) _wrap_wxCursor_GetHeight, METH_VARARGS | METH_KEYWORDS },
11817 { "wxCursor_GetWidth", (PyCFunction) _wrap_wxCursor_GetWidth, METH_VARARGS | METH_KEYWORDS },
11818 { "wxCursor_Ok", (PyCFunction) _wrap_wxCursor_Ok, METH_VARARGS | METH_KEYWORDS },
11819 { "wxCursor_SetHandle", (PyCFunction) _wrap_wxCursor_SetHandle, METH_VARARGS | METH_KEYWORDS },
11820 { "wxCursor_GetHandle", (PyCFunction) _wrap_wxCursor_GetHandle, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11821 { "delete_wxCursor", (PyCFunction) _wrap_delete_wxCursor, METH_VARARGS | METH_KEYWORDS },
11822 { "new_wxCursor", (PyCFunction) _wrap_new_wxCursor, METH_VARARGS | METH_KEYWORDS },
96bfd053 11823 { "wxIcon_CopyFromBitmap", (PyCFunction) _wrap_wxIcon_CopyFromBitmap, METH_VARARGS | METH_KEYWORDS },
9b3d3bc4
RD
11824 { "wxIcon_SetSize", (PyCFunction) _wrap_wxIcon_SetSize, METH_VARARGS | METH_KEYWORDS },
11825 { "wxIcon_SetDepth", (PyCFunction) _wrap_wxIcon_SetDepth, METH_VARARGS | METH_KEYWORDS },
11826 { "wxIcon_SetHeight", (PyCFunction) _wrap_wxIcon_SetHeight, METH_VARARGS | METH_KEYWORDS },
11827 { "wxIcon_SetWidth", (PyCFunction) _wrap_wxIcon_SetWidth, METH_VARARGS | METH_KEYWORDS },
11828 { "wxIcon_GetDepth", (PyCFunction) _wrap_wxIcon_GetDepth, METH_VARARGS | METH_KEYWORDS },
11829 { "wxIcon_GetHeight", (PyCFunction) _wrap_wxIcon_GetHeight, METH_VARARGS | METH_KEYWORDS },
11830 { "wxIcon_GetWidth", (PyCFunction) _wrap_wxIcon_GetWidth, METH_VARARGS | METH_KEYWORDS },
11831 { "wxIcon_Ok", (PyCFunction) _wrap_wxIcon_Ok, METH_VARARGS | METH_KEYWORDS },
11832 { "wxIcon_SetHandle", (PyCFunction) _wrap_wxIcon_SetHandle, METH_VARARGS | METH_KEYWORDS },
11833 { "wxIcon_GetHandle", (PyCFunction) _wrap_wxIcon_GetHandle, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11834 { "wxIcon_LoadFile", (PyCFunction) _wrap_wxIcon_LoadFile, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11835 { "delete_wxIcon", (PyCFunction) _wrap_delete_wxIcon, METH_VARARGS | METH_KEYWORDS },
11836 { "new_wxIcon", (PyCFunction) _wrap_new_wxIcon, METH_VARARGS | METH_KEYWORDS },
96bfd053 11837 { "wxMask_Destroy", (PyCFunction) _wrap_wxMask_Destroy, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11838 { "new_wxMask", (PyCFunction) _wrap_new_wxMask, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
11839 { "wxBitmap_SetQuality", (PyCFunction) _wrap_wxBitmap_SetQuality, METH_VARARGS | METH_KEYWORDS },
11840 { "wxBitmap_GetQuality", (PyCFunction) _wrap_wxBitmap_GetQuality, METH_VARARGS | METH_KEYWORDS },
11841 { "wxBitmap_CopyFromCursor", (PyCFunction) _wrap_wxBitmap_CopyFromCursor, METH_VARARGS | METH_KEYWORDS },
11842 { "wxBitmap_CopyFromIcon", (PyCFunction) _wrap_wxBitmap_CopyFromIcon, METH_VARARGS | METH_KEYWORDS },
11843 { "wxBitmap_GetSubBitmap", (PyCFunction) _wrap_wxBitmap_GetSubBitmap, METH_VARARGS | METH_KEYWORDS },
9b3d3bc4
RD
11844 { "wxBitmap_SetSize", (PyCFunction) _wrap_wxBitmap_SetSize, METH_VARARGS | METH_KEYWORDS },
11845 { "wxBitmap_SetDepth", (PyCFunction) _wrap_wxBitmap_SetDepth, METH_VARARGS | METH_KEYWORDS },
11846 { "wxBitmap_SetHeight", (PyCFunction) _wrap_wxBitmap_SetHeight, METH_VARARGS | METH_KEYWORDS },
11847 { "wxBitmap_SetWidth", (PyCFunction) _wrap_wxBitmap_SetWidth, METH_VARARGS | METH_KEYWORDS },
11848 { "wxBitmap_GetDepth", (PyCFunction) _wrap_wxBitmap_GetDepth, METH_VARARGS | METH_KEYWORDS },
11849 { "wxBitmap_GetHeight", (PyCFunction) _wrap_wxBitmap_GetHeight, METH_VARARGS | METH_KEYWORDS },
11850 { "wxBitmap_GetWidth", (PyCFunction) _wrap_wxBitmap_GetWidth, METH_VARARGS | METH_KEYWORDS },
11851 { "wxBitmap_Ok", (PyCFunction) _wrap_wxBitmap_Ok, METH_VARARGS | METH_KEYWORDS },
11852 { "wxBitmap_SetHandle", (PyCFunction) _wrap_wxBitmap_SetHandle, METH_VARARGS | METH_KEYWORDS },
11853 { "wxBitmap_GetHandle", (PyCFunction) _wrap_wxBitmap_GetHandle, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11854 { "wxBitmap_SetPalette", (PyCFunction) _wrap_wxBitmap_SetPalette, METH_VARARGS | METH_KEYWORDS },
11855 { "wxBitmap_SetMask", (PyCFunction) _wrap_wxBitmap_SetMask, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11856 { "wxBitmap_SaveFile", (PyCFunction) _wrap_wxBitmap_SaveFile, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11857 { "wxBitmap_LoadFile", (PyCFunction) _wrap_wxBitmap_LoadFile, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11858 { "wxBitmap_GetMask", (PyCFunction) _wrap_wxBitmap_GetMask, METH_VARARGS | METH_KEYWORDS },
11859 { "wxBitmap_GetPalette", (PyCFunction) _wrap_wxBitmap_GetPalette, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11860 { "delete_wxBitmap", (PyCFunction) _wrap_delete_wxBitmap, METH_VARARGS | METH_KEYWORDS },
11861 { "new_wxBitmap", (PyCFunction) _wrap_new_wxBitmap, METH_VARARGS | METH_KEYWORDS },
9416aa89
RD
11862 { "wxGDIObject_IsNull", (PyCFunction) _wrap_wxGDIObject_IsNull, METH_VARARGS | METH_KEYWORDS },
11863 { "wxGDIObject_SetVisible", (PyCFunction) _wrap_wxGDIObject_SetVisible, METH_VARARGS | METH_KEYWORDS },
11864 { "wxGDIObject_GetVisible", (PyCFunction) _wrap_wxGDIObject_GetVisible, METH_VARARGS | METH_KEYWORDS },
11865 { "delete_wxGDIObject", (PyCFunction) _wrap_delete_wxGDIObject, METH_VARARGS | METH_KEYWORDS },
11866 { "new_wxGDIObject", (PyCFunction) _wrap_new_wxGDIObject, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
11867 { "wxMemoryDCFromDC", (PyCFunction) _wrap_wxMemoryDCFromDC, METH_VARARGS | METH_KEYWORDS },
11868 { "wxNamedColour", (PyCFunction) _wrap_wxNamedColour, METH_VARARGS | METH_KEYWORDS },
11869 { "wxStockCursor", (PyCFunction) _wrap_wxStockCursor, METH_VARARGS | METH_KEYWORDS },
96bfd053
RD
11870 { "wxIconFromXPMData", (PyCFunction) _wrap_wxIconFromXPMData, METH_VARARGS | METH_KEYWORDS },
11871 { "wxEmptyIcon", (PyCFunction) _wrap_wxEmptyIcon, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11872 { "wxMaskColour", (PyCFunction) _wrap_wxMaskColour, METH_VARARGS | METH_KEYWORDS },
d56cebe7 11873 { "wxBitmapFromBits", (PyCFunction) _wrap_wxBitmapFromBits, METH_VARARGS | METH_KEYWORDS },
96bfd053
RD
11874 { "wxBitmapFromIcon", (PyCFunction) _wrap_wxBitmapFromIcon, METH_VARARGS | METH_KEYWORDS },
11875 { "wxBitmapFromXPMData", (PyCFunction) _wrap_wxBitmapFromXPMData, METH_VARARGS | METH_KEYWORDS },
1afc06c2 11876 { "wxEmptyBitmap", (PyCFunction) _wrap_wxEmptyBitmap, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
11877 { NULL, NULL }
11878};
1d99702e
RD
11879#ifdef __cplusplus
11880}
11881#endif
11882/*
11883 * This table is used by the pointer type-checker
11884 */
11885static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 11886 { "_signed_long","_long",0},
b1462dfa 11887 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
11888 { "_wxPrintQuality","_int",0},
11889 { "_wxPrintQuality","_signed_int",0},
11890 { "_wxPrintQuality","_unsigned_int",0},
11891 { "_wxPrintQuality","_wxWindowID",0},
11892 { "_wxPrintQuality","_uint",0},
11893 { "_wxPrintQuality","_EBool",0},
11894 { "_wxPrintQuality","_size_t",0},
c368d904 11895 { "_wxPrintQuality","_time_t",0},
ecc08ead 11896 { "_wxPen","_wxPyPen",SwigwxPyPenTowxPen},
1d99702e 11897 { "_byte","_unsigned_char",0},
1d99702e
RD
11898 { "_long","_unsigned_long",0},
11899 { "_long","_signed_long",0},
9416aa89 11900 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject},
9416aa89 11901 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject},
9416aa89 11902 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject},
ecc08ead 11903 { "_wxGDIObject","_wxPyPen",SwigwxPyPenTowxGDIObject},
9416aa89 11904 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject},
9416aa89 11905 { "_wxGDIObject","_wxFont",SwigwxFontTowxGDIObject},
9416aa89 11906 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject},
9416aa89 11907 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject},
9416aa89 11908 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject},
1d99702e 11909 { "_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC},
1d99702e 11910 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC},
1d99702e 11911 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC},
1d99702e 11912 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC},
1d99702e 11913 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC},
1d99702e 11914 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC},
b1462dfa 11915 { "_size_t","_wxCoord",0},
1d99702e 11916 { "_size_t","_wxPrintQuality",0},
c368d904 11917 { "_size_t","_time_t",0},
1d99702e
RD
11918 { "_size_t","_unsigned_int",0},
11919 { "_size_t","_int",0},
11920 { "_size_t","_wxWindowID",0},
11921 { "_size_t","_uint",0},
b1462dfa 11922 { "_uint","_wxCoord",0},
1d99702e 11923 { "_uint","_wxPrintQuality",0},
c368d904 11924 { "_uint","_time_t",0},
1d99702e
RD
11925 { "_uint","_size_t",0},
11926 { "_uint","_unsigned_int",0},
11927 { "_uint","_int",0},
11928 { "_uint","_wxWindowID",0},
f6bcfd97 11929 { "_wxChar","_char",0},
f6bcfd97 11930 { "_char","_wxChar",0},
6d8b4f8d 11931 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 11932 { "_EBool","_wxCoord",0},
1d99702e
RD
11933 { "_EBool","_wxPrintQuality",0},
11934 { "_EBool","_signed_int",0},
11935 { "_EBool","_int",0},
11936 { "_EBool","_wxWindowID",0},
1d99702e 11937 { "_unsigned_long","_long",0},
6d8b4f8d 11938 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 11939 { "_signed_int","_wxCoord",0},
1d99702e
RD
11940 { "_signed_int","_wxPrintQuality",0},
11941 { "_signed_int","_EBool",0},
11942 { "_signed_int","_wxWindowID",0},
11943 { "_signed_int","_int",0},
1d99702e
RD
11944 { "_WXTYPE","_short",0},
11945 { "_WXTYPE","_signed_short",0},
11946 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
11947 { "_unsigned_short","_WXTYPE",0},
11948 { "_unsigned_short","_short",0},
9416aa89 11949 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject},
9416aa89 11950 { "_wxObject","_wxRegion",SwigwxRegionTowxObject},
9416aa89 11951 { "_wxObject","_wxImageList",SwigwxImageListTowxObject},
9416aa89 11952 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject},
9416aa89 11953 { "_wxObject","_wxMetaFileDC",SwigwxMetaFileDCTowxObject},
9416aa89 11954 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject},
9416aa89 11955 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject},
9416aa89 11956 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject},
9416aa89 11957 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject},
9416aa89 11958 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject},
9416aa89 11959 { "_wxObject","_wxDC",SwigwxDCTowxObject},
6ee2116b 11960 { "_wxObject","_wxBrushList",SwigwxBrushListTowxObject},
9416aa89 11961 { "_wxObject","_wxBrush",SwigwxBrushTowxObject},
9416aa89 11962 { "_wxObject","_wxPenList",SwigwxPenListTowxObject},
ecc08ead 11963 { "_wxObject","_wxPyPen",SwigwxPyPenTowxObject},
9416aa89 11964 { "_wxObject","_wxPen",SwigwxPenTowxObject},
9416aa89 11965 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject},
9416aa89 11966 { "_wxObject","_wxColour",SwigwxColourTowxObject},
9416aa89 11967 { "_wxObject","_wxFontList",SwigwxFontListTowxObject},
9416aa89 11968 { "_wxObject","_wxFont",SwigwxFontTowxObject},
9416aa89 11969 { "_wxObject","_wxCursor",SwigwxCursorTowxObject},
9416aa89 11970 { "_wxObject","_wxIcon",SwigwxIconTowxObject},
9416aa89 11971 { "_wxObject","_wxMask",SwigwxMaskTowxObject},
9416aa89 11972 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject},
9416aa89 11973 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject},
1d99702e
RD
11974 { "_signed_short","_WXTYPE",0},
11975 { "_signed_short","_short",0},
1d99702e 11976 { "_unsigned_char","_byte",0},
b1462dfa 11977 { "_unsigned_int","_wxCoord",0},
1d99702e 11978 { "_unsigned_int","_wxPrintQuality",0},
c368d904 11979 { "_unsigned_int","_time_t",0},
1d99702e
RD
11980 { "_unsigned_int","_size_t",0},
11981 { "_unsigned_int","_uint",0},
11982 { "_unsigned_int","_wxWindowID",0},
11983 { "_unsigned_int","_int",0},
1d99702e
RD
11984 { "_short","_WXTYPE",0},
11985 { "_short","_unsigned_short",0},
11986 { "_short","_signed_short",0},
b1462dfa 11987 { "_wxWindowID","_wxCoord",0},
1d99702e 11988 { "_wxWindowID","_wxPrintQuality",0},
c368d904 11989 { "_wxWindowID","_time_t",0},
1d99702e
RD
11990 { "_wxWindowID","_size_t",0},
11991 { "_wxWindowID","_EBool",0},
11992 { "_wxWindowID","_uint",0},
11993 { "_wxWindowID","_int",0},
11994 { "_wxWindowID","_signed_int",0},
11995 { "_wxWindowID","_unsigned_int",0},
b1462dfa 11996 { "_int","_wxCoord",0},
1d99702e 11997 { "_int","_wxPrintQuality",0},
c368d904 11998 { "_int","_time_t",0},
1d99702e
RD
11999 { "_int","_size_t",0},
12000 { "_int","_EBool",0},
12001 { "_int","_uint",0},
12002 { "_int","_wxWindowID",0},
12003 { "_int","_unsigned_int",0},
12004 { "_int","_signed_int",0},
c368d904
RD
12005 { "_time_t","_wxCoord",0},
12006 { "_time_t","_wxPrintQuality",0},
12007 { "_time_t","_unsigned_int",0},
12008 { "_time_t","_int",0},
12009 { "_time_t","_wxWindowID",0},
12010 { "_time_t","_uint",0},
12011 { "_time_t","_size_t",0},
b1462dfa
RD
12012 { "_wxCoord","_int",0},
12013 { "_wxCoord","_signed_int",0},
12014 { "_wxCoord","_unsigned_int",0},
12015 { "_wxCoord","_wxWindowID",0},
12016 { "_wxCoord","_uint",0},
12017 { "_wxCoord","_EBool",0},
12018 { "_wxCoord","_size_t",0},
c368d904 12019 { "_wxCoord","_time_t",0},
b1462dfa 12020 { "_wxCoord","_wxPrintQuality",0},
1d99702e
RD
12021{0,0,0}};
12022
8ab979d7
RD
12023static PyObject *SWIG_globals;
12024#ifdef __cplusplus
12025extern "C"
12026#endif
1d99702e 12027SWIGEXPORT(void) initgdic() {
8ab979d7
RD
12028 PyObject *m, *d;
12029 SWIG_globals = SWIG_newvarlink();
12030 m = Py_InitModule("gdic", gdicMethods);
12031 d = PyModule_GetDict(m);
6d8b4f8d
RD
12032 PyDict_SetItemString(d,"wxFONTFAMILY_DEFAULT", PyInt_FromLong((long) wxFONTFAMILY_DEFAULT));
12033 PyDict_SetItemString(d,"wxFONTFAMILY_DECORATIVE", PyInt_FromLong((long) wxFONTFAMILY_DECORATIVE));
12034 PyDict_SetItemString(d,"wxFONTFAMILY_ROMAN", PyInt_FromLong((long) wxFONTFAMILY_ROMAN));
12035 PyDict_SetItemString(d,"wxFONTFAMILY_SCRIPT", PyInt_FromLong((long) wxFONTFAMILY_SCRIPT));
12036 PyDict_SetItemString(d,"wxFONTFAMILY_SWISS", PyInt_FromLong((long) wxFONTFAMILY_SWISS));
12037 PyDict_SetItemString(d,"wxFONTFAMILY_MODERN", PyInt_FromLong((long) wxFONTFAMILY_MODERN));
12038 PyDict_SetItemString(d,"wxFONTFAMILY_TELETYPE", PyInt_FromLong((long) wxFONTFAMILY_TELETYPE));
12039 PyDict_SetItemString(d,"wxFONTFAMILY_MAX", PyInt_FromLong((long) wxFONTFAMILY_MAX));
12040 PyDict_SetItemString(d,"wxFONTSTYLE_NORMAL", PyInt_FromLong((long) wxFONTSTYLE_NORMAL));
12041 PyDict_SetItemString(d,"wxFONTSTYLE_ITALIC", PyInt_FromLong((long) wxFONTSTYLE_ITALIC));
12042 PyDict_SetItemString(d,"wxFONTSTYLE_SLANT", PyInt_FromLong((long) wxFONTSTYLE_SLANT));
12043 PyDict_SetItemString(d,"wxFONTSTYLE_MAX", PyInt_FromLong((long) wxFONTSTYLE_MAX));
12044 PyDict_SetItemString(d,"wxFONTWEIGHT_NORMAL", PyInt_FromLong((long) wxFONTWEIGHT_NORMAL));
12045 PyDict_SetItemString(d,"wxFONTWEIGHT_LIGHT", PyInt_FromLong((long) wxFONTWEIGHT_LIGHT));
12046 PyDict_SetItemString(d,"wxFONTWEIGHT_BOLD", PyInt_FromLong((long) wxFONTWEIGHT_BOLD));
12047 PyDict_SetItemString(d,"wxFONTWEIGHT_MAX", PyInt_FromLong((long) wxFONTWEIGHT_MAX));
f0261a72
RD
12048 PyDict_SetItemString(d,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM));
12049 PyDict_SetItemString(d,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT));
12050 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1));
12051 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2));
12052 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3));
12053 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4));
12054 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5));
12055 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6));
12056 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7));
12057 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8));
12058 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9));
12059 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10));
12060 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11));
12061 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12));
12062 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13));
12063 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14));
12064 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15));
6d8b4f8d 12065 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_MAX", PyInt_FromLong((long) wxFONTENCODING_ISO8859_MAX));
f0261a72
RD
12066 PyDict_SetItemString(d,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8));
12067 PyDict_SetItemString(d,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE));
12068 PyDict_SetItemString(d,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN));
12069 PyDict_SetItemString(d,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437));
12070 PyDict_SetItemString(d,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850));
12071 PyDict_SetItemString(d,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852));
12072 PyDict_SetItemString(d,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855));
12073 PyDict_SetItemString(d,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866));
6d8b4f8d 12074 PyDict_SetItemString(d,"wxFONTENCODING_CP874", PyInt_FromLong((long) wxFONTENCODING_CP874));
f0261a72
RD
12075 PyDict_SetItemString(d,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250));
12076 PyDict_SetItemString(d,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251));
12077 PyDict_SetItemString(d,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252));
6d8b4f8d
RD
12078 PyDict_SetItemString(d,"wxFONTENCODING_CP1253", PyInt_FromLong((long) wxFONTENCODING_CP1253));
12079 PyDict_SetItemString(d,"wxFONTENCODING_CP1254", PyInt_FromLong((long) wxFONTENCODING_CP1254));
12080 PyDict_SetItemString(d,"wxFONTENCODING_CP1255", PyInt_FromLong((long) wxFONTENCODING_CP1255));
12081 PyDict_SetItemString(d,"wxFONTENCODING_CP1256", PyInt_FromLong((long) wxFONTENCODING_CP1256));
12082 PyDict_SetItemString(d,"wxFONTENCODING_CP1257", PyInt_FromLong((long) wxFONTENCODING_CP1257));
12083 PyDict_SetItemString(d,"wxFONTENCODING_CP12_MAX", PyInt_FromLong((long) wxFONTENCODING_CP12_MAX));
12084 PyDict_SetItemString(d,"wxFONTENCODING_UTF7", PyInt_FromLong((long) wxFONTENCODING_UTF7));
12085 PyDict_SetItemString(d,"wxFONTENCODING_UTF8", PyInt_FromLong((long) wxFONTENCODING_UTF8));
12086 PyDict_SetItemString(d,"wxFONTENCODING_UNICODE", PyInt_FromLong((long) wxFONTENCODING_UNICODE));
f0261a72 12087 PyDict_SetItemString(d,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX));
8ab979d7
RD
12088 PyDict_SetItemString(d,"cvar", SWIG_globals);
12089 SWIG_addvarlink(SWIG_globals,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get, _wrap_wxNORMAL_FONT_set);
12090 SWIG_addvarlink(SWIG_globals,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get, _wrap_wxSMALL_FONT_set);
12091 SWIG_addvarlink(SWIG_globals,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get, _wrap_wxITALIC_FONT_set);
12092 SWIG_addvarlink(SWIG_globals,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get, _wrap_wxSWISS_FONT_set);
12093 SWIG_addvarlink(SWIG_globals,"wxRED_PEN",_wrap_wxRED_PEN_get, _wrap_wxRED_PEN_set);
12094 SWIG_addvarlink(SWIG_globals,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get, _wrap_wxCYAN_PEN_set);
12095 SWIG_addvarlink(SWIG_globals,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get, _wrap_wxGREEN_PEN_set);
12096 SWIG_addvarlink(SWIG_globals,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get, _wrap_wxBLACK_PEN_set);
12097 SWIG_addvarlink(SWIG_globals,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get, _wrap_wxWHITE_PEN_set);
12098 SWIG_addvarlink(SWIG_globals,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get, _wrap_wxTRANSPARENT_PEN_set);
12099 SWIG_addvarlink(SWIG_globals,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get, _wrap_wxBLACK_DASHED_PEN_set);
12100 SWIG_addvarlink(SWIG_globals,"wxGREY_PEN",_wrap_wxGREY_PEN_get, _wrap_wxGREY_PEN_set);
12101 SWIG_addvarlink(SWIG_globals,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get, _wrap_wxMEDIUM_GREY_PEN_set);
12102 SWIG_addvarlink(SWIG_globals,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get, _wrap_wxLIGHT_GREY_PEN_set);
12103 SWIG_addvarlink(SWIG_globals,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get, _wrap_wxBLUE_BRUSH_set);
12104 SWIG_addvarlink(SWIG_globals,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get, _wrap_wxGREEN_BRUSH_set);
12105 SWIG_addvarlink(SWIG_globals,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get, _wrap_wxWHITE_BRUSH_set);
12106 SWIG_addvarlink(SWIG_globals,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get, _wrap_wxBLACK_BRUSH_set);
12107 SWIG_addvarlink(SWIG_globals,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get, _wrap_wxTRANSPARENT_BRUSH_set);
12108 SWIG_addvarlink(SWIG_globals,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get, _wrap_wxCYAN_BRUSH_set);
12109 SWIG_addvarlink(SWIG_globals,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get, _wrap_wxRED_BRUSH_set);
12110 SWIG_addvarlink(SWIG_globals,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get, _wrap_wxGREY_BRUSH_set);
12111 SWIG_addvarlink(SWIG_globals,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get, _wrap_wxMEDIUM_GREY_BRUSH_set);
12112 SWIG_addvarlink(SWIG_globals,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get, _wrap_wxLIGHT_GREY_BRUSH_set);
12113 SWIG_addvarlink(SWIG_globals,"wxBLACK",_wrap_wxBLACK_get, _wrap_wxBLACK_set);
12114 SWIG_addvarlink(SWIG_globals,"wxWHITE",_wrap_wxWHITE_get, _wrap_wxWHITE_set);
12115 SWIG_addvarlink(SWIG_globals,"wxRED",_wrap_wxRED_get, _wrap_wxRED_set);
12116 SWIG_addvarlink(SWIG_globals,"wxBLUE",_wrap_wxBLUE_get, _wrap_wxBLUE_set);
12117 SWIG_addvarlink(SWIG_globals,"wxGREEN",_wrap_wxGREEN_get, _wrap_wxGREEN_set);
12118 SWIG_addvarlink(SWIG_globals,"wxCYAN",_wrap_wxCYAN_get, _wrap_wxCYAN_set);
12119 SWIG_addvarlink(SWIG_globals,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get, _wrap_wxLIGHT_GREY_set);
12120 SWIG_addvarlink(SWIG_globals,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get, _wrap_wxSTANDARD_CURSOR_set);
12121 SWIG_addvarlink(SWIG_globals,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get, _wrap_wxHOURGLASS_CURSOR_set);
12122 SWIG_addvarlink(SWIG_globals,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get, _wrap_wxCROSS_CURSOR_set);
12123 SWIG_addvarlink(SWIG_globals,"wxNullBitmap",_wrap_wxNullBitmap_get, _wrap_wxNullBitmap_set);
12124 SWIG_addvarlink(SWIG_globals,"wxNullIcon",_wrap_wxNullIcon_get, _wrap_wxNullIcon_set);
12125 SWIG_addvarlink(SWIG_globals,"wxNullCursor",_wrap_wxNullCursor_get, _wrap_wxNullCursor_set);
12126 SWIG_addvarlink(SWIG_globals,"wxNullPen",_wrap_wxNullPen_get, _wrap_wxNullPen_set);
12127 SWIG_addvarlink(SWIG_globals,"wxNullBrush",_wrap_wxNullBrush_get, _wrap_wxNullBrush_set);
12128 SWIG_addvarlink(SWIG_globals,"wxNullPalette",_wrap_wxNullPalette_get, _wrap_wxNullPalette_set);
12129 SWIG_addvarlink(SWIG_globals,"wxNullFont",_wrap_wxNullFont_get, _wrap_wxNullFont_set);
12130 SWIG_addvarlink(SWIG_globals,"wxNullColour",_wrap_wxNullColour_get, _wrap_wxNullColour_set);
0569df0f
RD
12131 SWIG_addvarlink(SWIG_globals,"wxTheFontList",_wrap_wxTheFontList_get, _wrap_wxTheFontList_set);
12132 SWIG_addvarlink(SWIG_globals,"wxThePenList",_wrap_wxThePenList_get, _wrap_wxThePenList_set);
12133 SWIG_addvarlink(SWIG_globals,"wxTheBrushList",_wrap_wxTheBrushList_get, _wrap_wxTheBrushList_set);
12134 SWIG_addvarlink(SWIG_globals,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get, _wrap_wxTheColourDatabase_set);
af309447
RD
12135 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL));
12136 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT));
12137 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED));
12138 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED));
12139 PyDict_SetItemString(d,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL));
12140 PyDict_SetItemString(d,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL));
12141 PyDict_SetItemString(d,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE));
9416aa89
RD
12142 PyDict_SetItemString(d,"wxOutRegion", PyInt_FromLong((long) wxOutRegion));
12143 PyDict_SetItemString(d,"wxPartRegion", PyInt_FromLong((long) wxPartRegion));
12144 PyDict_SetItemString(d,"wxInRegion", PyInt_FromLong((long) wxInRegion));
1d99702e
RD
12145{
12146 int i;
12147 for (i = 0; _swig_mapping[i].n1; i++)
12148 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
12149}
8ab979d7 12150}