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