]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/gdi.cpp
fix text scrolling in GTK2 (patch 703988)
[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
7e50db3f
RD
22#include "Python.h"
23
8ab979d7
RD
24#include <string.h>
25#include <stdlib.h>
26/* Definitions for Windows/Unix exporting */
27#if defined(__WIN32__)
28# if defined(_MSC_VER)
1d99702e 29# define SWIGEXPORT(a) __declspec(dllexport) a
8ab979d7
RD
30# else
31# if defined(__BORLANDC__)
c368d904 32# define SWIGEXPORT(a) a _export
8ab979d7 33# else
c368d904 34# define SWIGEXPORT(a) a
8ab979d7
RD
35# endif
36# endif
37#else
c368d904 38# define SWIGEXPORT(a) a
8ab979d7
RD
39#endif
40
41#ifdef __cplusplus
42extern "C" {
43#endif
8ab979d7
RD
44extern void SWIG_MakePtr(char *, void *, char *);
45extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46extern char *SWIG_GetPtr(char *, void **, char *);
1d99702e 47extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
8ab979d7
RD
48extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49extern PyObject *SWIG_newvarlink(void);
50#ifdef __cplusplus
51}
52#endif
8ab979d7
RD
53#define SWIG_init initgdic
54
55#define SWIG_name "gdic"
56
57#include "helpers.h"
af309447 58#include <wx/imaglist.h>
6d8b4f8d
RD
59#include <wx/fontmap.h>
60#include <wx/fontenc.h>
61#include <wx/fontmap.h>
62#include <wx/fontutil.h>
e9159fe8 63#include <wx/dcbuffer.h>
5a2a9da2 64#include <wx/dcmirror.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 }
5a2a9da2
RD
183
184 wxIcon* wxIconFromLocation(const wxIconLocation& loc) {
185 wxIcon* icon = new wxIcon(loc);
186 return icon;
187 }
188
9c039d08 189 wxCursor* wxPyStockCursor(int id) {
8ab979d7 190 return new wxCursor(id);
7e50db3f
RD
191 }
192
193 wxCursor* wxCursorFromImage(const wxImage& image) {
7e50db3f 194 return new wxCursor(image);
5a2a9da2
RD
195 }
196
197 wxCursor* wxCursorFromBits(PyObject* bits, int width, int height,
198 int hotSpotX=-1, int hotSpotY=-1,
199 PyObject* maskBits=0) {
200 char* bitsbuf;
201 char* maskbuf = NULL;
202 int length;
203 PyString_AsStringAndSize(bits, &bitsbuf, &length);
204 if (maskBits)
205 PyString_AsStringAndSize(maskBits, &maskbuf, &length);
206 return new wxCursor(bitsbuf, width, height, hotSpotX, hotSpotY, maskbuf);
8ab979d7
RD
207 }
208 // Alternate 'constructor'
209 wxColour* wxNamedColour(const wxString& colorName) {
210 return new wxColour(colorName);
211 }
ecc08ead
RD
212
213class wxPyPen : public wxPen {
214public:
215 wxPyPen(wxColour& colour, int width=1, int style=wxSOLID)
216 : wxPen(colour, width, style)
217 { m_dash = NULL; }
218 ~wxPyPen() {
219 if (m_dash)
181526ac 220 delete [] m_dash;
ecc08ead
RD
221 }
222
223 void SetDashes(int nb_dashes, const wxDash *dash) {
181526ac
RD
224 if (m_dash)
225 delete [] m_dash;
ecc08ead 226 m_dash = new wxDash[nb_dashes];
181526ac 227 for (int i=0; i<nb_dashes; i++) {
ecc08ead 228 m_dash[i] = dash[i];
181526ac 229 }
ecc08ead
RD
230 wxPen::SetDashes(nb_dashes, m_dash);
231 }
232
233private:
234 wxDash* m_dash;
235};
9d37f964
RD
236
237static void wxDC_GetBoundingBox(wxDC* dc, int* x1, int* y1, int* x2, int* y2) {
238 *x1 = dc->MinX();
239 *y1 = dc->MinY();
240 *x2 = dc->MaxX();
241 *y2 = dc->MaxY();
242}
8ab979d7
RD
243 // Alternate 'constructor'
244 wxMemoryDC* wxMemoryDCFromDC(wxDC* oldDC) {
245 return new wxMemoryDC(oldDC);
246 }
af309447 247
17c0e08c
RD
248#include <wx/metafile.h>
249
af309447 250#if 0
8ab979d7
RD
251extern wxFont * wxNORMAL_FONT;
252extern wxFont * wxSMALL_FONT;
253extern wxFont * wxITALIC_FONT;
254extern wxFont * wxSWISS_FONT;
255extern wxPen * wxRED_PEN;
256extern wxPen * wxCYAN_PEN;
257extern wxPen * wxGREEN_PEN;
258extern wxPen * wxBLACK_PEN;
259extern wxPen * wxWHITE_PEN;
260extern wxPen * wxTRANSPARENT_PEN;
261extern wxPen * wxBLACK_DASHED_PEN;
262extern wxPen * wxGREY_PEN;
263extern wxPen * wxMEDIUM_GREY_PEN;
264extern wxPen * wxLIGHT_GREY_PEN;
265extern wxBrush * wxBLUE_BRUSH;
266extern wxBrush * wxGREEN_BRUSH;
267extern wxBrush * wxWHITE_BRUSH;
268extern wxBrush * wxBLACK_BRUSH;
269extern wxBrush * wxTRANSPARENT_BRUSH;
270extern wxBrush * wxCYAN_BRUSH;
271extern wxBrush * wxRED_BRUSH;
272extern wxBrush * wxGREY_BRUSH;
273extern wxBrush * wxMEDIUM_GREY_BRUSH;
274extern wxBrush * wxLIGHT_GREY_BRUSH;
275extern wxColour * wxBLACK;
276extern wxColour * wxWHITE;
277extern wxColour * wxRED;
278extern wxColour * wxBLUE;
279extern wxColour * wxGREEN;
280extern wxColour * wxCYAN;
281extern wxColour * wxLIGHT_GREY;
282extern wxCursor * wxSTANDARD_CURSOR;
283extern wxCursor * wxHOURGLASS_CURSOR;
284extern wxCursor * wxCROSS_CURSOR;
285extern wxBitmap wxNullBitmap;
286extern wxIcon wxNullIcon;
287extern wxCursor wxNullCursor;
288extern wxPen wxNullPen;
289extern wxBrush wxNullBrush;
290extern wxPalette wxNullPalette;
291extern wxFont wxNullFont;
292extern wxColour wxNullColour;
0569df0f
RD
293extern wxFontList * wxTheFontList;
294extern wxPenList * wxThePenList;
6ee2116b 295extern wxBrushList * wxTheBrushList;
0569df0f 296extern wxColourDatabase * wxTheColourDatabase;
af309447 297
1d99702e
RD
298#endif
299#ifdef __cplusplus
300extern "C" {
af309447 301#endif
1afc06c2 302static PyObject *_wrap_wxEmptyBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
303 PyObject * _resultobj;
304 wxBitmap * _result;
305 int _arg0;
306 int _arg1;
1d99702e 307 int _arg2 = (int ) -1;
1afc06c2 308 char *_kwnames[] = { "width","height","depth", NULL };
8ab979d7
RD
309 char _ptemp[128];
310
311 self = self;
1afc06c2 312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii|i:wxEmptyBitmap",_kwnames,&_arg0,&_arg1,&_arg2))
8ab979d7 313 return NULL;
cf694132 314{
4268f798 315 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 316 _result = (wxBitmap *)wxEmptyBitmap(_arg0,_arg1,_arg2);
cf694132 317
4268f798 318 wxPyEndAllowThreads(__tstate);
493f1553 319 if (PyErr_Occurred()) return NULL;
1d99702e
RD
320} if (_result) {
321 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
322 _resultobj = Py_BuildValue("s",_ptemp);
323 } else {
324 Py_INCREF(Py_None);
325 _resultobj = Py_None;
326 }
8ab979d7
RD
327 return _resultobj;
328}
329
96bfd053
RD
330static PyObject *_wrap_wxBitmapFromXPMData(PyObject *self, PyObject *args, PyObject *kwargs) {
331 PyObject * _resultobj;
332 wxBitmap * _result;
333 PyObject * _arg0;
334 PyObject * _obj0 = 0;
335 char *_kwnames[] = { "listOfStrings", NULL };
336 char _ptemp[128];
337
338 self = self;
339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapFromXPMData",_kwnames,&_obj0))
340 return NULL;
341{
342 _arg0 = _obj0;
343}
344{
4268f798 345 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 346 _result = (wxBitmap *)wxBitmapFromXPMData(_arg0);
96bfd053 347
4268f798 348 wxPyEndAllowThreads(__tstate);
493f1553 349 if (PyErr_Occurred()) return NULL;
96bfd053
RD
350} if (_result) {
351 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
352 _resultobj = Py_BuildValue("s",_ptemp);
353 } else {
354 Py_INCREF(Py_None);
355 _resultobj = Py_None;
356 }
357 return _resultobj;
358}
359
360static PyObject *_wrap_wxBitmapFromIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
361 PyObject * _resultobj;
362 wxBitmap * _result;
363 wxIcon * _arg0;
364 PyObject * _argo0 = 0;
365 char *_kwnames[] = { "icon", NULL };
366 char _ptemp[128];
367
368 self = self;
369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapFromIcon",_kwnames,&_argo0))
370 return NULL;
371 if (_argo0) {
7e50db3f 372 if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
96bfd053
RD
373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapFromIcon. Expected _wxIcon_p.");
374 return NULL;
375 }
376 }
377{
4268f798 378 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 379 _result = (wxBitmap *)wxBitmapFromIcon(*_arg0);
96bfd053 380
4268f798 381 wxPyEndAllowThreads(__tstate);
493f1553 382 if (PyErr_Occurred()) return NULL;
96bfd053
RD
383} if (_result) {
384 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
385 _resultobj = Py_BuildValue("s",_ptemp);
386 } else {
387 Py_INCREF(Py_None);
388 _resultobj = Py_None;
389 }
390 return _resultobj;
391}
392
d56cebe7 393static PyObject *_wrap_wxBitmapFromBits(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
394 PyObject * _resultobj;
395 wxBitmap * _result;
3eb221f6 396 PyObject * _arg0;
d56cebe7 397 int _arg1;
8bf5d46e 398 int _arg2;
d56cebe7 399 int _arg3 = (int ) 1;
3eb221f6 400 PyObject * _obj0 = 0;
d56cebe7 401 char *_kwnames[] = { "bits","width","height","depth", NULL };
8bf5d46e
RD
402 char _ptemp[128];
403
404 self = self;
3eb221f6 405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxBitmapFromBits",_kwnames,&_obj0,&_arg1,&_arg2,&_arg3))
8bf5d46e 406 return NULL;
3eb221f6
RD
407{
408 _arg0 = _obj0;
409}
8bf5d46e 410{
4268f798 411 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 412 _result = (wxBitmap *)wxBitmapFromBits(_arg0,_arg1,_arg2,_arg3);
8bf5d46e 413
4268f798 414 wxPyEndAllowThreads(__tstate);
493f1553 415 if (PyErr_Occurred()) return NULL;
1d99702e
RD
416} if (_result) {
417 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
418 _resultobj = Py_BuildValue("s",_ptemp);
419 } else {
420 Py_INCREF(Py_None);
421 _resultobj = Py_None;
422 }
8bf5d46e
RD
423 return _resultobj;
424}
425
1afc06c2 426static PyObject *_wrap_wxMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
427 PyObject * _resultobj;
428 wxMask * _result;
429 wxBitmap * _arg0;
430 wxColour * _arg1;
1d99702e 431 PyObject * _argo0 = 0;
f6bcfd97
BP
432 wxColour temp;
433 PyObject * _obj1 = 0;
1afc06c2 434 char *_kwnames[] = { "bitmap","colour", NULL };
8ab979d7
RD
435 char _ptemp[128];
436
437 self = self;
f6bcfd97 438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMaskColour",_kwnames,&_argo0,&_obj1))
8ab979d7 439 return NULL;
1d99702e 440 if (_argo0) {
7e50db3f 441 if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
8ab979d7
RD
442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
443 return NULL;
444 }
445 }
f6bcfd97
BP
446{
447 _arg1 = &temp;
448 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 449 return NULL;
f6bcfd97 450}
cf694132 451{
4268f798 452 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 453 _result = (wxMask *)wxMaskColour(*_arg0,*_arg1);
cf694132 454
4268f798 455 wxPyEndAllowThreads(__tstate);
493f1553 456 if (PyErr_Occurred()) return NULL;
1d99702e
RD
457} if (_result) {
458 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
459 _resultobj = Py_BuildValue("s",_ptemp);
460 } else {
461 Py_INCREF(Py_None);
462 _resultobj = Py_None;
463 }
8ab979d7
RD
464 return _resultobj;
465}
466
96bfd053
RD
467static PyObject *_wrap_wxEmptyIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
468 PyObject * _resultobj;
469 wxIcon * _result;
470 char *_kwnames[] = { NULL };
471 char _ptemp[128];
472
473 self = self;
474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxEmptyIcon",_kwnames))
475 return NULL;
476{
4268f798 477 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 478 _result = (wxIcon *)wxEmptyIcon();
96bfd053 479
4268f798 480 wxPyEndAllowThreads(__tstate);
493f1553 481 if (PyErr_Occurred()) return NULL;
96bfd053
RD
482} if (_result) {
483 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
484 _resultobj = Py_BuildValue("s",_ptemp);
485 } else {
486 Py_INCREF(Py_None);
487 _resultobj = Py_None;
488 }
489 return _resultobj;
490}
491
492static PyObject *_wrap_wxIconFromXPMData(PyObject *self, PyObject *args, PyObject *kwargs) {
493 PyObject * _resultobj;
494 wxIcon * _result;
495 PyObject * _arg0;
496 PyObject * _obj0 = 0;
497 char *_kwnames[] = { "listOfStrings", NULL };
498 char _ptemp[128];
499
500 self = self;
501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIconFromXPMData",_kwnames,&_obj0))
502 return NULL;
503{
504 _arg0 = _obj0;
505}
506{
4268f798 507 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 508 _result = (wxIcon *)wxIconFromXPMData(_arg0);
96bfd053 509
4268f798 510 wxPyEndAllowThreads(__tstate);
493f1553 511 if (PyErr_Occurred()) return NULL;
96bfd053
RD
512} if (_result) {
513 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
514 _resultobj = Py_BuildValue("s",_ptemp);
515 } else {
516 Py_INCREF(Py_None);
517 _resultobj = Py_None;
518 }
519 return _resultobj;
520}
521
7248a051
RD
522static PyObject *_wrap_wxIconFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
523 PyObject * _resultobj;
524 wxIcon * _result;
525 wxBitmap * _arg0;
526 PyObject * _argo0 = 0;
527 char *_kwnames[] = { "bmp", NULL };
528 char _ptemp[128];
529
530 self = self;
531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIconFromBitmap",_kwnames,&_argo0))
532 return NULL;
533 if (_argo0) {
7e50db3f 534 if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
7248a051
RD
535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIconFromBitmap. Expected _wxBitmap_p.");
536 return NULL;
537 }
538 }
539{
540 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 541 _result = (wxIcon *)wxIconFromBitmap(*_arg0);
7248a051
RD
542
543 wxPyEndAllowThreads(__tstate);
544 if (PyErr_Occurred()) return NULL;
545} if (_result) {
546 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
547 _resultobj = Py_BuildValue("s",_ptemp);
548 } else {
549 Py_INCREF(Py_None);
550 _resultobj = Py_None;
551 }
552 return _resultobj;
553}
554
5a2a9da2
RD
555static PyObject *_wrap_wxIconFromLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
556 PyObject * _resultobj;
557 wxIcon * _result;
558 wxIconLocation * _arg0;
559 PyObject * _argo0 = 0;
560 char *_kwnames[] = { "loc", NULL };
561 char _ptemp[128];
562
563 self = self;
564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIconFromLocation",_kwnames,&_argo0))
565 return NULL;
566 if (_argo0) {
567 if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIconLocation_p")) {
568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIconFromLocation. Expected _wxIconLocation_p.");
569 return NULL;
570 }
571 }
572{
573 PyThreadState* __tstate = wxPyBeginAllowThreads();
574 _result = (wxIcon *)wxIconFromLocation(*_arg0);
575
576 wxPyEndAllowThreads(__tstate);
577 if (PyErr_Occurred()) return NULL;
578} if (_result) {
579 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
580 _resultobj = Py_BuildValue("s",_ptemp);
581 } else {
582 Py_INCREF(Py_None);
583 _resultobj = Py_None;
584 }
585 return _resultobj;
586}
587
1afc06c2 588static PyObject *_wrap_wxStockCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
589 PyObject * _resultobj;
590 wxCursor * _result;
591 int _arg0;
1afc06c2 592 char *_kwnames[] = { "id", NULL };
8ab979d7
RD
593 char _ptemp[128];
594
595 self = self;
1afc06c2 596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxStockCursor",_kwnames,&_arg0))
8ab979d7 597 return NULL;
cf694132 598{
4268f798 599 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 600 _result = (wxCursor *)wxPyStockCursor(_arg0);
cf694132 601
4268f798 602 wxPyEndAllowThreads(__tstate);
493f1553 603 if (PyErr_Occurred()) return NULL;
1d99702e
RD
604} if (_result) {
605 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCursor_p");
606 _resultobj = Py_BuildValue("s",_ptemp);
607 } else {
608 Py_INCREF(Py_None);
609 _resultobj = Py_None;
610 }
8ab979d7
RD
611 return _resultobj;
612}
613
7e50db3f
RD
614static PyObject *_wrap_wxCursorFromImage(PyObject *self, PyObject *args, PyObject *kwargs) {
615 PyObject * _resultobj;
616 wxCursor * _result;
617 wxImage * _arg0;
618 PyObject * _argo0 = 0;
619 char *_kwnames[] = { "image", NULL };
620 char _ptemp[128];
621
622 self = self;
623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCursorFromImage",_kwnames,&_argo0))
624 return NULL;
625 if (_argo0) {
626 if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImage_p")) {
627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursorFromImage. Expected _wxImage_p.");
628 return NULL;
629 }
630 }
631{
632 PyThreadState* __tstate = wxPyBeginAllowThreads();
633 _result = (wxCursor *)wxCursorFromImage(*_arg0);
634
635 wxPyEndAllowThreads(__tstate);
636 if (PyErr_Occurred()) return NULL;
637} if (_result) {
638 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCursor_p");
639 _resultobj = Py_BuildValue("s",_ptemp);
640 } else {
641 Py_INCREF(Py_None);
642 _resultobj = Py_None;
643 }
644 return _resultobj;
645}
646
5a2a9da2
RD
647static PyObject *_wrap_wxCursorFromBits(PyObject *self, PyObject *args, PyObject *kwargs) {
648 PyObject * _resultobj;
649 wxCursor * _result;
650 PyObject * _arg0;
651 int _arg1;
652 int _arg2;
653 int _arg3 = (int ) -1;
654 int _arg4 = (int ) -1;
655 PyObject * _arg5 = (PyObject *) 0;
656 PyObject * _obj0 = 0;
657 PyObject * _obj5 = 0;
658 char *_kwnames[] = { "bits","width","height","hotSpotX","hotSpotY","maskBits", NULL };
659 char _ptemp[128];
660
661 self = self;
662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|iiO:wxCursorFromBits",_kwnames,&_obj0,&_arg1,&_arg2,&_arg3,&_arg4,&_obj5))
663 return NULL;
664{
665 _arg0 = _obj0;
666}
667 if (_obj5)
668{
669 _arg5 = _obj5;
670}
671{
672 PyThreadState* __tstate = wxPyBeginAllowThreads();
673 _result = (wxCursor *)wxCursorFromBits(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
674
675 wxPyEndAllowThreads(__tstate);
676 if (PyErr_Occurred()) return NULL;
677} if (_result) {
678 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCursor_p");
679 _resultobj = Py_BuildValue("s",_ptemp);
680 } else {
681 Py_INCREF(Py_None);
682 _resultobj = Py_None;
683 }
684 return _resultobj;
685}
686
1afc06c2 687static PyObject *_wrap_wxNamedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
688 PyObject * _resultobj;
689 wxColour * _result;
690 wxString * _arg0;
691 PyObject * _obj0 = 0;
1afc06c2 692 char *_kwnames[] = { "colorName", NULL };
8ab979d7
RD
693 char _ptemp[128];
694
695 self = self;
1afc06c2 696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNamedColour",_kwnames,&_obj0))
8ab979d7
RD
697 return NULL;
698{
c8bc7bb8
RD
699 _arg0 = wxString_in_helper(_obj0);
700 if (_arg0 == NULL)
8ab979d7 701 return NULL;
8ab979d7 702}
cf694132 703{
4268f798 704 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 705 _result = (wxColour *)wxNamedColour(*_arg0);
cf694132 706
4268f798 707 wxPyEndAllowThreads(__tstate);
493f1553 708 if (PyErr_Occurred()) return NULL;
1d99702e
RD
709} if (_result) {
710 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
711 _resultobj = Py_BuildValue("s",_ptemp);
712 } else {
713 Py_INCREF(Py_None);
714 _resultobj = Py_None;
715 }
8ab979d7
RD
716{
717 if (_obj0)
718 delete _arg0;
719}
720 return _resultobj;
721}
722
1afc06c2 723static PyObject *_wrap_wxMemoryDCFromDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
724 PyObject * _resultobj;
725 wxMemoryDC * _result;
726 wxDC * _arg0;
1d99702e 727 PyObject * _argo0 = 0;
1afc06c2 728 char *_kwnames[] = { "oldDC", NULL };
8ab979d7
RD
729 char _ptemp[128];
730
731 self = self;
1afc06c2 732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMemoryDCFromDC",_kwnames,&_argo0))
8ab979d7 733 return NULL;
1d99702e
RD
734 if (_argo0) {
735 if (_argo0 == Py_None) { _arg0 = NULL; }
736 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
738 return NULL;
739 }
740 }
cf694132 741{
4268f798 742 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 743 _result = (wxMemoryDC *)wxMemoryDCFromDC(_arg0);
cf694132 744
4268f798 745 wxPyEndAllowThreads(__tstate);
493f1553 746 if (PyErr_Occurred()) return NULL;
1d99702e
RD
747} if (_result) {
748 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMemoryDC_p");
749 _resultobj = Py_BuildValue("s",_ptemp);
750 } else {
751 Py_INCREF(Py_None);
752 _resultobj = Py_None;
753 }
8ab979d7
RD
754 return _resultobj;
755}
756
757static int _wrap_wxNORMAL_FONT_set(PyObject *val) {
758
759 PyErr_SetString(PyExc_TypeError,"Variable wxNORMAL_FONT is read-only.");
760 return 1;
761}
762
763static PyObject *_wrap_wxNORMAL_FONT_get() {
764 PyObject * pyobj;
765 char ptemp[128];
766
767 SWIG_MakePtr(ptemp, (char *) wxNORMAL_FONT,"_wxFont_p");
768 pyobj = PyString_FromString(ptemp);
769 return pyobj;
770}
771
772static int _wrap_wxSMALL_FONT_set(PyObject *val) {
773
774 PyErr_SetString(PyExc_TypeError,"Variable wxSMALL_FONT is read-only.");
775 return 1;
776}
777
778static PyObject *_wrap_wxSMALL_FONT_get() {
779 PyObject * pyobj;
780 char ptemp[128];
781
782 SWIG_MakePtr(ptemp, (char *) wxSMALL_FONT,"_wxFont_p");
783 pyobj = PyString_FromString(ptemp);
784 return pyobj;
785}
786
787static int _wrap_wxITALIC_FONT_set(PyObject *val) {
788
789 PyErr_SetString(PyExc_TypeError,"Variable wxITALIC_FONT is read-only.");
790 return 1;
791}
792
793static PyObject *_wrap_wxITALIC_FONT_get() {
794 PyObject * pyobj;
795 char ptemp[128];
796
797 SWIG_MakePtr(ptemp, (char *) wxITALIC_FONT,"_wxFont_p");
798 pyobj = PyString_FromString(ptemp);
799 return pyobj;
800}
801
802static int _wrap_wxSWISS_FONT_set(PyObject *val) {
803
804 PyErr_SetString(PyExc_TypeError,"Variable wxSWISS_FONT is read-only.");
805 return 1;
806}
807
808static PyObject *_wrap_wxSWISS_FONT_get() {
809 PyObject * pyobj;
810 char ptemp[128];
811
812 SWIG_MakePtr(ptemp, (char *) wxSWISS_FONT,"_wxFont_p");
813 pyobj = PyString_FromString(ptemp);
814 return pyobj;
815}
816
817static int _wrap_wxRED_PEN_set(PyObject *val) {
818
819 PyErr_SetString(PyExc_TypeError,"Variable wxRED_PEN is read-only.");
820 return 1;
821}
822
823static PyObject *_wrap_wxRED_PEN_get() {
824 PyObject * pyobj;
825 char ptemp[128];
826
827 SWIG_MakePtr(ptemp, (char *) wxRED_PEN,"_wxPen_p");
828 pyobj = PyString_FromString(ptemp);
829 return pyobj;
830}
831
832static int _wrap_wxCYAN_PEN_set(PyObject *val) {
833
834 PyErr_SetString(PyExc_TypeError,"Variable wxCYAN_PEN is read-only.");
835 return 1;
836}
837
838static PyObject *_wrap_wxCYAN_PEN_get() {
839 PyObject * pyobj;
840 char ptemp[128];
841
842 SWIG_MakePtr(ptemp, (char *) wxCYAN_PEN,"_wxPen_p");
843 pyobj = PyString_FromString(ptemp);
844 return pyobj;
845}
846
847static int _wrap_wxGREEN_PEN_set(PyObject *val) {
848
849 PyErr_SetString(PyExc_TypeError,"Variable wxGREEN_PEN is read-only.");
850 return 1;
851}
852
853static PyObject *_wrap_wxGREEN_PEN_get() {
854 PyObject * pyobj;
855 char ptemp[128];
856
857 SWIG_MakePtr(ptemp, (char *) wxGREEN_PEN,"_wxPen_p");
858 pyobj = PyString_FromString(ptemp);
859 return pyobj;
860}
861
862static int _wrap_wxBLACK_PEN_set(PyObject *val) {
863
864 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK_PEN is read-only.");
865 return 1;
866}
867
868static PyObject *_wrap_wxBLACK_PEN_get() {
869 PyObject * pyobj;
870 char ptemp[128];
871
872 SWIG_MakePtr(ptemp, (char *) wxBLACK_PEN,"_wxPen_p");
873 pyobj = PyString_FromString(ptemp);
874 return pyobj;
875}
876
877static int _wrap_wxWHITE_PEN_set(PyObject *val) {
878
879 PyErr_SetString(PyExc_TypeError,"Variable wxWHITE_PEN is read-only.");
880 return 1;
881}
882
883static PyObject *_wrap_wxWHITE_PEN_get() {
884 PyObject * pyobj;
885 char ptemp[128];
886
887 SWIG_MakePtr(ptemp, (char *) wxWHITE_PEN,"_wxPen_p");
888 pyobj = PyString_FromString(ptemp);
889 return pyobj;
890}
891
892static int _wrap_wxTRANSPARENT_PEN_set(PyObject *val) {
893
894 PyErr_SetString(PyExc_TypeError,"Variable wxTRANSPARENT_PEN is read-only.");
895 return 1;
896}
897
898static PyObject *_wrap_wxTRANSPARENT_PEN_get() {
899 PyObject * pyobj;
900 char ptemp[128];
901
902 SWIG_MakePtr(ptemp, (char *) wxTRANSPARENT_PEN,"_wxPen_p");
903 pyobj = PyString_FromString(ptemp);
904 return pyobj;
905}
906
907static int _wrap_wxBLACK_DASHED_PEN_set(PyObject *val) {
908
909 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK_DASHED_PEN is read-only.");
910 return 1;
911}
912
913static PyObject *_wrap_wxBLACK_DASHED_PEN_get() {
914 PyObject * pyobj;
915 char ptemp[128];
916
917 SWIG_MakePtr(ptemp, (char *) wxBLACK_DASHED_PEN,"_wxPen_p");
918 pyobj = PyString_FromString(ptemp);
919 return pyobj;
920}
921
922static int _wrap_wxGREY_PEN_set(PyObject *val) {
923
924 PyErr_SetString(PyExc_TypeError,"Variable wxGREY_PEN is read-only.");
925 return 1;
926}
927
928static PyObject *_wrap_wxGREY_PEN_get() {
929 PyObject * pyobj;
930 char ptemp[128];
931
932 SWIG_MakePtr(ptemp, (char *) wxGREY_PEN,"_wxPen_p");
933 pyobj = PyString_FromString(ptemp);
934 return pyobj;
935}
936
937static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject *val) {
938
939 PyErr_SetString(PyExc_TypeError,"Variable wxMEDIUM_GREY_PEN is read-only.");
940 return 1;
941}
942
943static PyObject *_wrap_wxMEDIUM_GREY_PEN_get() {
944 PyObject * pyobj;
945 char ptemp[128];
946
947 SWIG_MakePtr(ptemp, (char *) wxMEDIUM_GREY_PEN,"_wxPen_p");
948 pyobj = PyString_FromString(ptemp);
949 return pyobj;
950}
951
952static int _wrap_wxLIGHT_GREY_PEN_set(PyObject *val) {
953
954 PyErr_SetString(PyExc_TypeError,"Variable wxLIGHT_GREY_PEN is read-only.");
955 return 1;
956}
957
958static PyObject *_wrap_wxLIGHT_GREY_PEN_get() {
959 PyObject * pyobj;
960 char ptemp[128];
961
962 SWIG_MakePtr(ptemp, (char *) wxLIGHT_GREY_PEN,"_wxPen_p");
963 pyobj = PyString_FromString(ptemp);
964 return pyobj;
965}
966
967static int _wrap_wxBLUE_BRUSH_set(PyObject *val) {
968
969 PyErr_SetString(PyExc_TypeError,"Variable wxBLUE_BRUSH is read-only.");
970 return 1;
971}
972
973static PyObject *_wrap_wxBLUE_BRUSH_get() {
974 PyObject * pyobj;
975 char ptemp[128];
976
977 SWIG_MakePtr(ptemp, (char *) wxBLUE_BRUSH,"_wxBrush_p");
978 pyobj = PyString_FromString(ptemp);
979 return pyobj;
980}
981
982static int _wrap_wxGREEN_BRUSH_set(PyObject *val) {
983
984 PyErr_SetString(PyExc_TypeError,"Variable wxGREEN_BRUSH is read-only.");
985 return 1;
986}
987
988static PyObject *_wrap_wxGREEN_BRUSH_get() {
989 PyObject * pyobj;
990 char ptemp[128];
991
992 SWIG_MakePtr(ptemp, (char *) wxGREEN_BRUSH,"_wxBrush_p");
993 pyobj = PyString_FromString(ptemp);
994 return pyobj;
995}
996
997static int _wrap_wxWHITE_BRUSH_set(PyObject *val) {
998
999 PyErr_SetString(PyExc_TypeError,"Variable wxWHITE_BRUSH is read-only.");
1000 return 1;
1001}
1002
1003static PyObject *_wrap_wxWHITE_BRUSH_get() {
1004 PyObject * pyobj;
1005 char ptemp[128];
1006
1007 SWIG_MakePtr(ptemp, (char *) wxWHITE_BRUSH,"_wxBrush_p");
1008 pyobj = PyString_FromString(ptemp);
1009 return pyobj;
1010}
1011
1012static int _wrap_wxBLACK_BRUSH_set(PyObject *val) {
1013
1014 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK_BRUSH is read-only.");
1015 return 1;
1016}
1017
1018static PyObject *_wrap_wxBLACK_BRUSH_get() {
1019 PyObject * pyobj;
1020 char ptemp[128];
1021
1022 SWIG_MakePtr(ptemp, (char *) wxBLACK_BRUSH,"_wxBrush_p");
1023 pyobj = PyString_FromString(ptemp);
1024 return pyobj;
1025}
1026
1027static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject *val) {
1028
1029 PyErr_SetString(PyExc_TypeError,"Variable wxTRANSPARENT_BRUSH is read-only.");
1030 return 1;
1031}
1032
1033static PyObject *_wrap_wxTRANSPARENT_BRUSH_get() {
1034 PyObject * pyobj;
1035 char ptemp[128];
1036
1037 SWIG_MakePtr(ptemp, (char *) wxTRANSPARENT_BRUSH,"_wxBrush_p");
1038 pyobj = PyString_FromString(ptemp);
1039 return pyobj;
1040}
1041
1042static int _wrap_wxCYAN_BRUSH_set(PyObject *val) {
1043
1044 PyErr_SetString(PyExc_TypeError,"Variable wxCYAN_BRUSH is read-only.");
1045 return 1;
1046}
1047
1048static PyObject *_wrap_wxCYAN_BRUSH_get() {
1049 PyObject * pyobj;
1050 char ptemp[128];
1051
1052 SWIG_MakePtr(ptemp, (char *) wxCYAN_BRUSH,"_wxBrush_p");
1053 pyobj = PyString_FromString(ptemp);
1054 return pyobj;
1055}
1056
1057static int _wrap_wxRED_BRUSH_set(PyObject *val) {
1058
1059 PyErr_SetString(PyExc_TypeError,"Variable wxRED_BRUSH is read-only.");
1060 return 1;
1061}
1062
1063static PyObject *_wrap_wxRED_BRUSH_get() {
1064 PyObject * pyobj;
1065 char ptemp[128];
1066
1067 SWIG_MakePtr(ptemp, (char *) wxRED_BRUSH,"_wxBrush_p");
1068 pyobj = PyString_FromString(ptemp);
1069 return pyobj;
1070}
1071
1072static int _wrap_wxGREY_BRUSH_set(PyObject *val) {
1073
1074 PyErr_SetString(PyExc_TypeError,"Variable wxGREY_BRUSH is read-only.");
1075 return 1;
1076}
1077
1078static PyObject *_wrap_wxGREY_BRUSH_get() {
1079 PyObject * pyobj;
1080 char ptemp[128];
1081
1082 SWIG_MakePtr(ptemp, (char *) wxGREY_BRUSH,"_wxBrush_p");
1083 pyobj = PyString_FromString(ptemp);
1084 return pyobj;
1085}
1086
1087static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject *val) {
1088
1089 PyErr_SetString(PyExc_TypeError,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
1090 return 1;
1091}
1092
1093static PyObject *_wrap_wxMEDIUM_GREY_BRUSH_get() {
1094 PyObject * pyobj;
1095 char ptemp[128];
1096
1097 SWIG_MakePtr(ptemp, (char *) wxMEDIUM_GREY_BRUSH,"_wxBrush_p");
1098 pyobj = PyString_FromString(ptemp);
1099 return pyobj;
1100}
1101
1102static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject *val) {
1103
1104 PyErr_SetString(PyExc_TypeError,"Variable wxLIGHT_GREY_BRUSH is read-only.");
1105 return 1;
1106}
1107
1108static PyObject *_wrap_wxLIGHT_GREY_BRUSH_get() {
1109 PyObject * pyobj;
1110 char ptemp[128];
1111
1112 SWIG_MakePtr(ptemp, (char *) wxLIGHT_GREY_BRUSH,"_wxBrush_p");
1113 pyobj = PyString_FromString(ptemp);
1114 return pyobj;
1115}
1116
1117static int _wrap_wxBLACK_set(PyObject *val) {
1118
1119 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK is read-only.");
1120 return 1;
1121}
1122
1123static PyObject *_wrap_wxBLACK_get() {
1124 PyObject * pyobj;
1125 char ptemp[128];
1126
1127 SWIG_MakePtr(ptemp, (char *) wxBLACK,"_wxColour_p");
1128 pyobj = PyString_FromString(ptemp);
1129 return pyobj;
1130}
1131
1132static int _wrap_wxWHITE_set(PyObject *val) {
1133
1134 PyErr_SetString(PyExc_TypeError,"Variable wxWHITE is read-only.");
1135 return 1;
1136}
1137
1138static PyObject *_wrap_wxWHITE_get() {
1139 PyObject * pyobj;
1140 char ptemp[128];
1141
1142 SWIG_MakePtr(ptemp, (char *) wxWHITE,"_wxColour_p");
1143 pyobj = PyString_FromString(ptemp);
1144 return pyobj;
1145}
1146
1147static int _wrap_wxRED_set(PyObject *val) {
1148
1149 PyErr_SetString(PyExc_TypeError,"Variable wxRED is read-only.");
1150 return 1;
1151}
1152
1153static PyObject *_wrap_wxRED_get() {
1154 PyObject * pyobj;
1155 char ptemp[128];
1156
1157 SWIG_MakePtr(ptemp, (char *) wxRED,"_wxColour_p");
1158 pyobj = PyString_FromString(ptemp);
1159 return pyobj;
1160}
1161
1162static int _wrap_wxBLUE_set(PyObject *val) {
1163
1164 PyErr_SetString(PyExc_TypeError,"Variable wxBLUE is read-only.");
1165 return 1;
1166}
1167
1168static PyObject *_wrap_wxBLUE_get() {
1169 PyObject * pyobj;
1170 char ptemp[128];
1171
1172 SWIG_MakePtr(ptemp, (char *) wxBLUE,"_wxColour_p");
1173 pyobj = PyString_FromString(ptemp);
1174 return pyobj;
1175}
1176
1177static int _wrap_wxGREEN_set(PyObject *val) {
1178
1179 PyErr_SetString(PyExc_TypeError,"Variable wxGREEN is read-only.");
1180 return 1;
1181}
1182
1183static PyObject *_wrap_wxGREEN_get() {
1184 PyObject * pyobj;
1185 char ptemp[128];
1186
1187 SWIG_MakePtr(ptemp, (char *) wxGREEN,"_wxColour_p");
1188 pyobj = PyString_FromString(ptemp);
1189 return pyobj;
1190}
1191
1192static int _wrap_wxCYAN_set(PyObject *val) {
1193
1194 PyErr_SetString(PyExc_TypeError,"Variable wxCYAN is read-only.");
1195 return 1;
1196}
1197
1198static PyObject *_wrap_wxCYAN_get() {
1199 PyObject * pyobj;
1200 char ptemp[128];
1201
1202 SWIG_MakePtr(ptemp, (char *) wxCYAN,"_wxColour_p");
1203 pyobj = PyString_FromString(ptemp);
1204 return pyobj;
1205}
1206
1207static int _wrap_wxLIGHT_GREY_set(PyObject *val) {
1208
1209 PyErr_SetString(PyExc_TypeError,"Variable wxLIGHT_GREY is read-only.");
1210 return 1;
1211}
1212
1213static PyObject *_wrap_wxLIGHT_GREY_get() {
1214 PyObject * pyobj;
1215 char ptemp[128];
1216
1217 SWIG_MakePtr(ptemp, (char *) wxLIGHT_GREY,"_wxColour_p");
1218 pyobj = PyString_FromString(ptemp);
1219 return pyobj;
1220}
1221
1222static int _wrap_wxSTANDARD_CURSOR_set(PyObject *val) {
1223
1224 PyErr_SetString(PyExc_TypeError,"Variable wxSTANDARD_CURSOR is read-only.");
1225 return 1;
1226}
1227
1228static PyObject *_wrap_wxSTANDARD_CURSOR_get() {
1229 PyObject * pyobj;
1230 char ptemp[128];
1231
1232 SWIG_MakePtr(ptemp, (char *) wxSTANDARD_CURSOR,"_wxCursor_p");
1233 pyobj = PyString_FromString(ptemp);
1234 return pyobj;
1235}
1236
1237static int _wrap_wxHOURGLASS_CURSOR_set(PyObject *val) {
1238
1239 PyErr_SetString(PyExc_TypeError,"Variable wxHOURGLASS_CURSOR is read-only.");
1240 return 1;
1241}
1242
1243static PyObject *_wrap_wxHOURGLASS_CURSOR_get() {
1244 PyObject * pyobj;
1245 char ptemp[128];
1246
1247 SWIG_MakePtr(ptemp, (char *) wxHOURGLASS_CURSOR,"_wxCursor_p");
1248 pyobj = PyString_FromString(ptemp);
1249 return pyobj;
1250}
1251
1252static int _wrap_wxCROSS_CURSOR_set(PyObject *val) {
1253
1254 PyErr_SetString(PyExc_TypeError,"Variable wxCROSS_CURSOR is read-only.");
1255 return 1;
1256}
1257
1258static PyObject *_wrap_wxCROSS_CURSOR_get() {
1259 PyObject * pyobj;
1260 char ptemp[128];
1261
1262 SWIG_MakePtr(ptemp, (char *) wxCROSS_CURSOR,"_wxCursor_p");
1263 pyobj = PyString_FromString(ptemp);
1264 return pyobj;
1265}
1266
1267static int _wrap_wxNullBitmap_set(PyObject *val) {
1268
1269 PyErr_SetString(PyExc_TypeError,"Variable wxNullBitmap is read-only.");
1270 return 1;
1271}
1272
1273static PyObject *_wrap_wxNullBitmap_get() {
1274 PyObject * pyobj;
1275 char ptemp[128];
1276
1277 SWIG_MakePtr(ptemp,(char *) &wxNullBitmap,"_wxBitmap_p");
1278 pyobj = PyString_FromString(ptemp);
1279 return pyobj;
1280}
1281
1282static int _wrap_wxNullIcon_set(PyObject *val) {
1283
1284 PyErr_SetString(PyExc_TypeError,"Variable wxNullIcon is read-only.");
1285 return 1;
1286}
1287
1288static PyObject *_wrap_wxNullIcon_get() {
1289 PyObject * pyobj;
1290 char ptemp[128];
1291
1292 SWIG_MakePtr(ptemp,(char *) &wxNullIcon,"_wxIcon_p");
1293 pyobj = PyString_FromString(ptemp);
1294 return pyobj;
1295}
1296
1297static int _wrap_wxNullCursor_set(PyObject *val) {
1298
1299 PyErr_SetString(PyExc_TypeError,"Variable wxNullCursor is read-only.");
1300 return 1;
1301}
1302
1303static PyObject *_wrap_wxNullCursor_get() {
1304 PyObject * pyobj;
1305 char ptemp[128];
1306
1307 SWIG_MakePtr(ptemp,(char *) &wxNullCursor,"_wxCursor_p");
1308 pyobj = PyString_FromString(ptemp);
1309 return pyobj;
1310}
1311
1312static int _wrap_wxNullPen_set(PyObject *val) {
1313
1314 PyErr_SetString(PyExc_TypeError,"Variable wxNullPen is read-only.");
1315 return 1;
1316}
1317
1318static PyObject *_wrap_wxNullPen_get() {
1319 PyObject * pyobj;
1320 char ptemp[128];
1321
1322 SWIG_MakePtr(ptemp,(char *) &wxNullPen,"_wxPen_p");
1323 pyobj = PyString_FromString(ptemp);
1324 return pyobj;
1325}
1326
1327static int _wrap_wxNullBrush_set(PyObject *val) {
1328
1329 PyErr_SetString(PyExc_TypeError,"Variable wxNullBrush is read-only.");
1330 return 1;
1331}
1332
1333static PyObject *_wrap_wxNullBrush_get() {
1334 PyObject * pyobj;
1335 char ptemp[128];
1336
1337 SWIG_MakePtr(ptemp,(char *) &wxNullBrush,"_wxBrush_p");
1338 pyobj = PyString_FromString(ptemp);
1339 return pyobj;
1340}
1341
1342static int _wrap_wxNullPalette_set(PyObject *val) {
1343
1344 PyErr_SetString(PyExc_TypeError,"Variable wxNullPalette is read-only.");
1345 return 1;
1346}
1347
1348static PyObject *_wrap_wxNullPalette_get() {
1349 PyObject * pyobj;
1350 char ptemp[128];
1351
1352 SWIG_MakePtr(ptemp,(char *) &wxNullPalette,"_wxPalette_p");
1353 pyobj = PyString_FromString(ptemp);
1354 return pyobj;
1355}
1356
1357static int _wrap_wxNullFont_set(PyObject *val) {
1358
1359 PyErr_SetString(PyExc_TypeError,"Variable wxNullFont is read-only.");
1360 return 1;
1361}
1362
1363static PyObject *_wrap_wxNullFont_get() {
1364 PyObject * pyobj;
1365 char ptemp[128];
1366
1367 SWIG_MakePtr(ptemp,(char *) &wxNullFont,"_wxFont_p");
1368 pyobj = PyString_FromString(ptemp);
1369 return pyobj;
1370}
1371
1372static int _wrap_wxNullColour_set(PyObject *val) {
1373
1374 PyErr_SetString(PyExc_TypeError,"Variable wxNullColour is read-only.");
1375 return 1;
1376}
1377
1378static PyObject *_wrap_wxNullColour_get() {
1379 PyObject * pyobj;
1380 char ptemp[128];
1381
1382 SWIG_MakePtr(ptemp,(char *) &wxNullColour,"_wxColour_p");
1383 pyobj = PyString_FromString(ptemp);
1384 return pyobj;
1385}
1386
0569df0f
RD
1387static int _wrap_wxTheFontList_set(PyObject *val) {
1388
1389 PyErr_SetString(PyExc_TypeError,"Variable wxTheFontList is read-only.");
1390 return 1;
1391}
1392
1393static PyObject *_wrap_wxTheFontList_get() {
1394 PyObject * pyobj;
1395 char ptemp[128];
1396
1397 SWIG_MakePtr(ptemp, (char *) wxTheFontList,"_wxFontList_p");
1398 pyobj = PyString_FromString(ptemp);
1399 return pyobj;
1400}
1401
1402static int _wrap_wxThePenList_set(PyObject *val) {
1403
1404 PyErr_SetString(PyExc_TypeError,"Variable wxThePenList is read-only.");
1405 return 1;
1406}
1407
1408static PyObject *_wrap_wxThePenList_get() {
1409 PyObject * pyobj;
1410 char ptemp[128];
1411
1412 SWIG_MakePtr(ptemp, (char *) wxThePenList,"_wxPenList_p");
1413 pyobj = PyString_FromString(ptemp);
1414 return pyobj;
1415}
1416
1417static int _wrap_wxTheBrushList_set(PyObject *val) {
1418
1419 PyErr_SetString(PyExc_TypeError,"Variable wxTheBrushList is read-only.");
1420 return 1;
1421}
1422
1423static PyObject *_wrap_wxTheBrushList_get() {
1424 PyObject * pyobj;
1425 char ptemp[128];
1426
6ee2116b 1427 SWIG_MakePtr(ptemp, (char *) wxTheBrushList,"_wxBrushList_p");
0569df0f
RD
1428 pyobj = PyString_FromString(ptemp);
1429 return pyobj;
1430}
1431
1432static int _wrap_wxTheColourDatabase_set(PyObject *val) {
1433
1434 PyErr_SetString(PyExc_TypeError,"Variable wxTheColourDatabase is read-only.");
1435 return 1;
1436}
1437
1438static PyObject *_wrap_wxTheColourDatabase_get() {
1439 PyObject * pyobj;
1440 char ptemp[128];
1441
1442 SWIG_MakePtr(ptemp, (char *) wxTheColourDatabase,"_wxColourDatabase_p");
1443 pyobj = PyString_FromString(ptemp);
1444 return pyobj;
1445}
1446
9416aa89
RD
1447static void *SwigwxGDIObjectTowxObject(void *ptr) {
1448 wxGDIObject *src;
1449 wxObject *dest;
1450 src = (wxGDIObject *) ptr;
1451 dest = (wxObject *) src;
1452 return (void *) dest;
1453}
1454
1455#define new_wxGDIObject() (new wxGDIObject())
1456static PyObject *_wrap_new_wxGDIObject(PyObject *self, PyObject *args, PyObject *kwargs) {
1457 PyObject * _resultobj;
1458 wxGDIObject * _result;
1459 char *_kwnames[] = { NULL };
1460 char _ptemp[128];
1461
1462 self = self;
1463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGDIObject",_kwnames))
1464 return NULL;
1465{
4268f798 1466 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1467 _result = (wxGDIObject *)new_wxGDIObject();
9416aa89 1468
4268f798 1469 wxPyEndAllowThreads(__tstate);
493f1553 1470 if (PyErr_Occurred()) return NULL;
9416aa89
RD
1471} if (_result) {
1472 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGDIObject_p");
1473 _resultobj = Py_BuildValue("s",_ptemp);
1474 } else {
1475 Py_INCREF(Py_None);
1476 _resultobj = Py_None;
1477 }
1478 return _resultobj;
1479}
1480
1481#define delete_wxGDIObject(_swigobj) (delete _swigobj)
1482static PyObject *_wrap_delete_wxGDIObject(PyObject *self, PyObject *args, PyObject *kwargs) {
1483 PyObject * _resultobj;
1484 wxGDIObject * _arg0;
1485 PyObject * _argo0 = 0;
1486 char *_kwnames[] = { "self", NULL };
1487
1488 self = self;
1489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGDIObject",_kwnames,&_argo0))
1490 return NULL;
1491 if (_argo0) {
1492 if (_argo0 == Py_None) { _arg0 = NULL; }
1493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGDIObject_p")) {
1494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGDIObject. Expected _wxGDIObject_p.");
1495 return NULL;
1496 }
1497 }
1498{
4268f798 1499 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1500 delete_wxGDIObject(_arg0);
9416aa89 1501
4268f798 1502 wxPyEndAllowThreads(__tstate);
493f1553 1503 if (PyErr_Occurred()) return NULL;
9416aa89
RD
1504} Py_INCREF(Py_None);
1505 _resultobj = Py_None;
1506 return _resultobj;
1507}
1508
1509#define wxGDIObject_GetVisible(_swigobj) (_swigobj->GetVisible())
1510static PyObject *_wrap_wxGDIObject_GetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
1511 PyObject * _resultobj;
1512 bool _result;
1513 wxGDIObject * _arg0;
1514 PyObject * _argo0 = 0;
1515 char *_kwnames[] = { "self", NULL };
1516
1517 self = self;
1518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGDIObject_GetVisible",_kwnames,&_argo0))
1519 return NULL;
1520 if (_argo0) {
1521 if (_argo0 == Py_None) { _arg0 = NULL; }
1522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGDIObject_p")) {
1523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGDIObject_GetVisible. Expected _wxGDIObject_p.");
1524 return NULL;
1525 }
1526 }
1527{
4268f798 1528 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1529 _result = (bool )wxGDIObject_GetVisible(_arg0);
9416aa89 1530
4268f798 1531 wxPyEndAllowThreads(__tstate);
493f1553 1532 if (PyErr_Occurred()) return NULL;
9416aa89
RD
1533} _resultobj = Py_BuildValue("i",_result);
1534 return _resultobj;
1535}
1536
1537#define wxGDIObject_SetVisible(_swigobj,_swigarg0) (_swigobj->SetVisible(_swigarg0))
1538static PyObject *_wrap_wxGDIObject_SetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
1539 PyObject * _resultobj;
1540 wxGDIObject * _arg0;
1541 bool _arg1;
1542 PyObject * _argo0 = 0;
1543 int tempbool1;
1544 char *_kwnames[] = { "self","visible", NULL };
1545
1546 self = self;
1547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGDIObject_SetVisible",_kwnames,&_argo0,&tempbool1))
1548 return NULL;
1549 if (_argo0) {
1550 if (_argo0 == Py_None) { _arg0 = NULL; }
1551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGDIObject_p")) {
1552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGDIObject_SetVisible. Expected _wxGDIObject_p.");
1553 return NULL;
1554 }
1555 }
1556 _arg1 = (bool ) tempbool1;
1557{
4268f798 1558 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1559 wxGDIObject_SetVisible(_arg0,_arg1);
9416aa89 1560
4268f798 1561 wxPyEndAllowThreads(__tstate);
493f1553 1562 if (PyErr_Occurred()) return NULL;
9416aa89
RD
1563} Py_INCREF(Py_None);
1564 _resultobj = Py_None;
1565 return _resultobj;
1566}
1567
1568#define wxGDIObject_IsNull(_swigobj) (_swigobj->IsNull())
1569static PyObject *_wrap_wxGDIObject_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
1570 PyObject * _resultobj;
1571 bool _result;
1572 wxGDIObject * _arg0;
1573 PyObject * _argo0 = 0;
1574 char *_kwnames[] = { "self", NULL };
1575
1576 self = self;
1577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGDIObject_IsNull",_kwnames,&_argo0))
1578 return NULL;
1579 if (_argo0) {
1580 if (_argo0 == Py_None) { _arg0 = NULL; }
1581 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGDIObject_p")) {
1582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGDIObject_IsNull. Expected _wxGDIObject_p.");
1583 return NULL;
1584 }
1585 }
1586{
4268f798 1587 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1588 _result = (bool )wxGDIObject_IsNull(_arg0);
9416aa89 1589
4268f798 1590 wxPyEndAllowThreads(__tstate);
493f1553 1591 if (PyErr_Occurred()) return NULL;
9416aa89
RD
1592} _resultobj = Py_BuildValue("i",_result);
1593 return _resultobj;
1594}
1595
1596static void *SwigwxBitmapTowxGDIObject(void *ptr) {
1597 wxBitmap *src;
1598 wxGDIObject *dest;
1599 src = (wxBitmap *) ptr;
1600 dest = (wxGDIObject *) src;
1601 return (void *) dest;
1602}
1603
1604static void *SwigwxBitmapTowxObject(void *ptr) {
1605 wxBitmap *src;
1606 wxObject *dest;
1607 src = (wxBitmap *) ptr;
1608 dest = (wxObject *) src;
1609 return (void *) dest;
1610}
1611
6999b0d8
RD
1612#define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1613static PyObject *_wrap_new_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1614 PyObject * _resultobj;
6999b0d8
RD
1615 wxBitmap * _result;
1616 wxString * _arg0;
7d0180d4 1617 wxBitmapType _arg1 = (wxBitmapType ) wxBITMAP_TYPE_ANY;
6999b0d8
RD
1618 PyObject * _obj0 = 0;
1619 char *_kwnames[] = { "name","type", NULL };
1620 char _ptemp[128];
8ab979d7
RD
1621
1622 self = self;
b37c7e1d 1623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxBitmap",_kwnames,&_obj0,&_arg1))
8ab979d7 1624 return NULL;
6999b0d8 1625{
c8bc7bb8
RD
1626 _arg0 = wxString_in_helper(_obj0);
1627 if (_arg0 == NULL)
8ab979d7 1628 return NULL;
6999b0d8 1629}
cf694132 1630{
4268f798 1631 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1632 _result = (wxBitmap *)new_wxBitmap(*_arg0,_arg1);
cf694132 1633
4268f798 1634 wxPyEndAllowThreads(__tstate);
493f1553 1635 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
1636} if (_result) {
1637 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1638 _resultobj = Py_BuildValue("s",_ptemp);
1639 } else {
1640 Py_INCREF(Py_None);
1641 _resultobj = Py_None;
1642 }
1643{
1644 if (_obj0)
1645 delete _arg0;
1646}
8ab979d7
RD
1647 return _resultobj;
1648}
1649
6999b0d8
RD
1650#define delete_wxBitmap(_swigobj) (delete _swigobj)
1651static PyObject *_wrap_delete_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1652 PyObject * _resultobj;
1653 wxBitmap * _arg0;
1d99702e 1654 PyObject * _argo0 = 0;
6999b0d8 1655 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1656
1657 self = self;
6999b0d8 1658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxBitmap",_kwnames,&_argo0))
8ab979d7 1659 return NULL;
1d99702e
RD
1660 if (_argo0) {
1661 if (_argo0 == Py_None) { _arg0 = NULL; }
1662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
6999b0d8 1663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
8ab979d7
RD
1664 return NULL;
1665 }
1666 }
cf694132 1667{
4268f798 1668 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1669 delete_wxBitmap(_arg0);
cf694132 1670
4268f798 1671 wxPyEndAllowThreads(__tstate);
493f1553 1672 if (PyErr_Occurred()) return NULL;
cf694132 1673} Py_INCREF(Py_None);
8ab979d7
RD
1674 _resultobj = Py_None;
1675 return _resultobj;
1676}
1677
6999b0d8
RD
1678#define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1679static PyObject *_wrap_wxBitmap_GetPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1680 PyObject * _resultobj;
6999b0d8 1681 wxPalette * _result;
8ab979d7 1682 wxBitmap * _arg0;
1d99702e 1683 PyObject * _argo0 = 0;
6999b0d8
RD
1684 char *_kwnames[] = { "self", NULL };
1685 char _ptemp[128];
8ab979d7
RD
1686
1687 self = self;
6999b0d8 1688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetPalette",_kwnames,&_argo0))
8ab979d7 1689 return NULL;
1d99702e
RD
1690 if (_argo0) {
1691 if (_argo0 == Py_None) { _arg0 = NULL; }
1692 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
6999b0d8 1693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
8ab979d7
RD
1694 return NULL;
1695 }
1696 }
cf694132 1697{
4268f798 1698 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1699 _result = (wxPalette *)wxBitmap_GetPalette(_arg0);
cf694132 1700
4268f798 1701 wxPyEndAllowThreads(__tstate);
493f1553 1702 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
1703} if (_result) {
1704 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPalette_p");
1705 _resultobj = Py_BuildValue("s",_ptemp);
1706 } else {
1707 Py_INCREF(Py_None);
1708 _resultobj = Py_None;
1709 }
8ab979d7
RD
1710 return _resultobj;
1711}
1712
6999b0d8
RD
1713#define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1714static PyObject *_wrap_wxBitmap_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1715 PyObject * _resultobj;
1716 wxMask * _result;
1717 wxBitmap * _arg0;
1d99702e 1718 PyObject * _argo0 = 0;
6999b0d8 1719 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1720 char _ptemp[128];
1721
1722 self = self;
6999b0d8 1723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetMask",_kwnames,&_argo0))
8ab979d7 1724 return NULL;
1d99702e
RD
1725 if (_argo0) {
1726 if (_argo0 == Py_None) { _arg0 = NULL; }
1727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
6999b0d8 1728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
8ab979d7
RD
1729 return NULL;
1730 }
1731 }
cf694132 1732{
4268f798 1733 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1734 _result = (wxMask *)wxBitmap_GetMask(_arg0);
cf694132 1735
4268f798 1736 wxPyEndAllowThreads(__tstate);
493f1553 1737 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1738} if (_result) {
1739 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
1740 _resultobj = Py_BuildValue("s",_ptemp);
1741 } else {
1742 Py_INCREF(Py_None);
1743 _resultobj = Py_None;
1744 }
8ab979d7
RD
1745 return _resultobj;
1746}
1747
6999b0d8
RD
1748#define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1749static PyObject *_wrap_wxBitmap_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1750 PyObject * _resultobj;
6999b0d8
RD
1751 bool _result;
1752 wxBitmap * _arg0;
1753 wxString * _arg1;
7d0180d4 1754 wxBitmapType _arg2 = (wxBitmapType ) wxBITMAP_TYPE_ANY;
6999b0d8
RD
1755 PyObject * _argo0 = 0;
1756 PyObject * _obj1 = 0;
b37c7e1d 1757 char *_kwnames[] = { "self","name","type", NULL };
8ab979d7
RD
1758
1759 self = self;
b37c7e1d 1760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxBitmap_LoadFile",_kwnames,&_argo0,&_obj1,&_arg2))
6999b0d8
RD
1761 return NULL;
1762 if (_argo0) {
1763 if (_argo0 == Py_None) { _arg0 = NULL; }
1764 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1765 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
8ab979d7 1766 return NULL;
6999b0d8
RD
1767 }
1768 }
8ab979d7 1769{
c8bc7bb8
RD
1770 _arg1 = wxString_in_helper(_obj1);
1771 if (_arg1 == NULL)
185d7c3e 1772 return NULL;
8ab979d7 1773}
cf694132 1774{
4268f798 1775 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1776 _result = (bool )wxBitmap_LoadFile(_arg0,*_arg1,_arg2);
cf694132 1777
4268f798 1778 wxPyEndAllowThreads(__tstate);
493f1553 1779 if (PyErr_Occurred()) return NULL;
6999b0d8 1780} _resultobj = Py_BuildValue("i",_result);
8ab979d7 1781{
6999b0d8
RD
1782 if (_obj1)
1783 delete _arg1;
8ab979d7
RD
1784}
1785 return _resultobj;
1786}
1787
6999b0d8
RD
1788#define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1789static PyObject *_wrap_wxBitmap_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1790 PyObject * _resultobj;
6999b0d8
RD
1791 bool _result;
1792 wxBitmap * _arg0;
1793 wxString * _arg1;
b37c7e1d 1794 wxBitmapType _arg2;
6999b0d8 1795 wxPalette * _arg3 = (wxPalette *) NULL;
1d99702e 1796 PyObject * _argo0 = 0;
6999b0d8
RD
1797 PyObject * _obj1 = 0;
1798 PyObject * _argo3 = 0;
1799 char *_kwnames[] = { "self","name","type","palette", NULL };
8ab979d7
RD
1800
1801 self = self;
6999b0d8 1802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|O:wxBitmap_SaveFile",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3))
8ab979d7 1803 return NULL;
1d99702e
RD
1804 if (_argo0) {
1805 if (_argo0 == Py_None) { _arg0 = NULL; }
6999b0d8
RD
1806 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1807 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
8ab979d7
RD
1808 return NULL;
1809 }
1810 }
cf694132 1811{
c8bc7bb8
RD
1812 _arg1 = wxString_in_helper(_obj1);
1813 if (_arg1 == NULL)
185d7c3e 1814 return NULL;
6999b0d8
RD
1815}
1816 if (_argo3) {
1817 if (_argo3 == Py_None) { _arg3 = NULL; }
1818 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPalette_p")) {
1819 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
8ab979d7
RD
1820 return NULL;
1821 }
1822 }
cf694132 1823{
4268f798 1824 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1825 _result = (bool )wxBitmap_SaveFile(_arg0,*_arg1,_arg2,_arg3);
cf694132 1826
4268f798 1827 wxPyEndAllowThreads(__tstate);
493f1553 1828 if (PyErr_Occurred()) return NULL;
cf694132 1829} _resultobj = Py_BuildValue("i",_result);
6999b0d8
RD
1830{
1831 if (_obj1)
1832 delete _arg1;
1833}
8ab979d7
RD
1834 return _resultobj;
1835}
1836
6999b0d8
RD
1837#define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1838static PyObject *_wrap_wxBitmap_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1839 PyObject * _resultobj;
6999b0d8
RD
1840 wxBitmap * _arg0;
1841 wxMask * _arg1;
1d99702e 1842 PyObject * _argo0 = 0;
6999b0d8
RD
1843 PyObject * _argo1 = 0;
1844 char *_kwnames[] = { "self","mask", NULL };
8ab979d7
RD
1845
1846 self = self;
6999b0d8 1847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_SetMask",_kwnames,&_argo0,&_argo1))
8ab979d7 1848 return NULL;
1d99702e
RD
1849 if (_argo0) {
1850 if (_argo0 == Py_None) { _arg0 = NULL; }
6999b0d8
RD
1851 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1852 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
8ab979d7
RD
1853 return NULL;
1854 }
1855 }
6999b0d8
RD
1856 if (_argo1) {
1857 if (_argo1 == Py_None) { _arg1 = NULL; }
1858 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMask_p")) {
1859 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
8ab979d7
RD
1860 return NULL;
1861 }
1862 }
cf694132 1863{
4268f798 1864 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1865 wxBitmap_SetMask(_arg0,_arg1);
cf694132 1866
4268f798 1867 wxPyEndAllowThreads(__tstate);
493f1553 1868 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
1869} Py_INCREF(Py_None);
1870 _resultobj = Py_None;
8ab979d7
RD
1871 return _resultobj;
1872}
1873
6999b0d8
RD
1874#define wxBitmap_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1875static PyObject *_wrap_wxBitmap_SetPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
1876 PyObject * _resultobj;
1877 wxBitmap * _arg0;
1878 wxPalette * _arg1;
1d99702e 1879 PyObject * _argo0 = 0;
6999b0d8
RD
1880 PyObject * _argo1 = 0;
1881 char *_kwnames[] = { "self","palette", NULL };
8ab979d7
RD
1882
1883 self = self;
6999b0d8 1884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_SetPalette",_kwnames,&_argo0,&_argo1))
8ab979d7 1885 return NULL;
1d99702e
RD
1886 if (_argo0) {
1887 if (_argo0 == Py_None) { _arg0 = NULL; }
6999b0d8
RD
1888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetPalette. Expected _wxBitmap_p.");
8ab979d7
RD
1890 return NULL;
1891 }
1892 }
6999b0d8 1893 if (_argo1) {
7e50db3f 1894 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPalette_p")) {
6999b0d8 1895 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmap_SetPalette. Expected _wxPalette_p.");
8ab979d7 1896 return NULL;
6999b0d8 1897 }
8ab979d7 1898 }
cf694132 1899{
4268f798 1900 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1901 wxBitmap_SetPalette(_arg0,*_arg1);
cf694132 1902
4268f798 1903 wxPyEndAllowThreads(__tstate);
493f1553 1904 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
1905} Py_INCREF(Py_None);
1906 _resultobj = Py_None;
8ab979d7
RD
1907 return _resultobj;
1908}
1909
9b3d3bc4
RD
1910#define wxBitmap_GetHandle(_swigobj) (_swigobj->GetHandle())
1911static PyObject *_wrap_wxBitmap_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1912 PyObject * _resultobj;
9b3d3bc4 1913 long _result;
6999b0d8 1914 wxBitmap * _arg0;
1d99702e 1915 PyObject * _argo0 = 0;
9b3d3bc4 1916 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1917
1918 self = self;
9b3d3bc4 1919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetHandle",_kwnames,&_argo0))
8ab979d7 1920 return NULL;
1d99702e
RD
1921 if (_argo0) {
1922 if (_argo0 == Py_None) { _arg0 = NULL; }
6999b0d8 1923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
9b3d3bc4 1924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetHandle. Expected _wxBitmap_p.");
8ab979d7
RD
1925 return NULL;
1926 }
1927 }
cf694132 1928{
4268f798 1929 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1930 _result = (long )wxBitmap_GetHandle(_arg0);
cf694132 1931
4268f798 1932 wxPyEndAllowThreads(__tstate);
493f1553 1933 if (PyErr_Occurred()) return NULL;
9b3d3bc4 1934} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
1935 return _resultobj;
1936}
1937
9b3d3bc4
RD
1938#define wxBitmap_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
1939static PyObject *_wrap_wxBitmap_SetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 1940 PyObject * _resultobj;
9b3d3bc4 1941 wxBitmap * _arg0;
6999b0d8 1942 long _arg1;
9b3d3bc4
RD
1943 PyObject * _argo0 = 0;
1944 char *_kwnames[] = { "self","handle", NULL };
8ab979d7
RD
1945
1946 self = self;
9b3d3bc4 1947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxBitmap_SetHandle",_kwnames,&_argo0,&_arg1))
8ab979d7 1948 return NULL;
9b3d3bc4
RD
1949 if (_argo0) {
1950 if (_argo0 == Py_None) { _arg0 = NULL; }
1951 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1952 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetHandle. Expected _wxBitmap_p.");
8ab979d7 1953 return NULL;
9b3d3bc4 1954 }
8ab979d7 1955 }
9b3d3bc4 1956{
4268f798 1957 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1958 wxBitmap_SetHandle(_arg0,_arg1);
9b3d3bc4 1959
4268f798 1960 wxPyEndAllowThreads(__tstate);
493f1553 1961 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
1962} Py_INCREF(Py_None);
1963 _resultobj = Py_None;
1964 return _resultobj;
6999b0d8 1965}
9b3d3bc4
RD
1966
1967#define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1968static PyObject *_wrap_wxBitmap_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
1969 PyObject * _resultobj;
1970 bool _result;
1971 wxBitmap * _arg0;
1972 PyObject * _argo0 = 0;
1973 char *_kwnames[] = { "self", NULL };
1974
1975 self = self;
1976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_Ok",_kwnames,&_argo0))
1977 return NULL;
1978 if (_argo0) {
1979 if (_argo0 == Py_None) { _arg0 = NULL; }
1980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
1981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1982 return NULL;
1983 }
1984 }
cf694132 1985{
4268f798 1986 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1987 _result = (bool )wxBitmap_Ok(_arg0);
cf694132 1988
4268f798 1989 wxPyEndAllowThreads(__tstate);
493f1553 1990 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
1991} _resultobj = Py_BuildValue("i",_result);
1992 return _resultobj;
1993}
1994
1995#define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1996static PyObject *_wrap_wxBitmap_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1997 PyObject * _resultobj;
1998 int _result;
1999 wxBitmap * _arg0;
2000 PyObject * _argo0 = 0;
2001 char *_kwnames[] = { "self", NULL };
2002
2003 self = self;
2004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetWidth",_kwnames,&_argo0))
2005 return NULL;
2006 if (_argo0) {
2007 if (_argo0 == Py_None) { _arg0 = NULL; }
2008 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
2010 return NULL;
2011 }
6999b0d8
RD
2012 }
2013{
4268f798 2014 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2015 _result = (int )wxBitmap_GetWidth(_arg0);
9b3d3bc4 2016
4268f798 2017 wxPyEndAllowThreads(__tstate);
493f1553 2018 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2019} _resultobj = Py_BuildValue("i",_result);
2020 return _resultobj;
6999b0d8 2021}
9b3d3bc4
RD
2022
2023#define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
2024static PyObject *_wrap_wxBitmap_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2025 PyObject * _resultobj;
2026 int _result;
2027 wxBitmap * _arg0;
2028 PyObject * _argo0 = 0;
2029 char *_kwnames[] = { "self", NULL };
2030
2031 self = self;
2032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetHeight",_kwnames,&_argo0))
2033 return NULL;
2034 if (_argo0) {
2035 if (_argo0 == Py_None) { _arg0 = NULL; }
2036 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
2038 return NULL;
2039 }
2040 }
2041{
4268f798 2042 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2043 _result = (int )wxBitmap_GetHeight(_arg0);
9b3d3bc4 2044
4268f798 2045 wxPyEndAllowThreads(__tstate);
493f1553 2046 if (PyErr_Occurred()) return NULL;
9b3d3bc4 2047} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2048 return _resultobj;
2049}
2050
9b3d3bc4
RD
2051#define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
2052static PyObject *_wrap_wxBitmap_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2053 PyObject * _resultobj;
9b3d3bc4
RD
2054 int _result;
2055 wxBitmap * _arg0;
1d99702e 2056 PyObject * _argo0 = 0;
6999b0d8 2057 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2058
2059 self = self;
9b3d3bc4 2060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetDepth",_kwnames,&_argo0))
8ab979d7 2061 return NULL;
1d99702e
RD
2062 if (_argo0) {
2063 if (_argo0 == Py_None) { _arg0 = NULL; }
9b3d3bc4
RD
2064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
8ab979d7
RD
2066 return NULL;
2067 }
2068 }
cf694132 2069{
4268f798 2070 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2071 _result = (int )wxBitmap_GetDepth(_arg0);
9b3d3bc4 2072
4268f798 2073 wxPyEndAllowThreads(__tstate);
493f1553 2074 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2075} _resultobj = Py_BuildValue("i",_result);
2076 return _resultobj;
2077}
2078
2079#define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2080static PyObject *_wrap_wxBitmap_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2081 PyObject * _resultobj;
2082 wxBitmap * _arg0;
2083 int _arg1;
2084 PyObject * _argo0 = 0;
2085 char *_kwnames[] = { "self","w", NULL };
2086
2087 self = self;
2088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBitmap_SetWidth",_kwnames,&_argo0,&_arg1))
2089 return NULL;
2090 if (_argo0) {
2091 if (_argo0 == Py_None) { _arg0 = NULL; }
2092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
2094 return NULL;
2095 }
2096 }
2097{
4268f798 2098 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2099 wxBitmap_SetWidth(_arg0,_arg1);
cf694132 2100
4268f798 2101 wxPyEndAllowThreads(__tstate);
493f1553 2102 if (PyErr_Occurred()) return NULL;
cf694132 2103} Py_INCREF(Py_None);
8ab979d7
RD
2104 _resultobj = Py_None;
2105 return _resultobj;
2106}
2107
9b3d3bc4
RD
2108#define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2109static PyObject *_wrap_wxBitmap_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2110 PyObject * _resultobj;
9b3d3bc4
RD
2111 wxBitmap * _arg0;
2112 int _arg1;
1d99702e 2113 PyObject * _argo0 = 0;
9b3d3bc4 2114 char *_kwnames[] = { "self","h", NULL };
8ab979d7
RD
2115
2116 self = self;
9b3d3bc4 2117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBitmap_SetHeight",_kwnames,&_argo0,&_arg1))
8ab979d7 2118 return NULL;
1d99702e
RD
2119 if (_argo0) {
2120 if (_argo0 == Py_None) { _arg0 = NULL; }
9b3d3bc4
RD
2121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
8ab979d7
RD
2123 return NULL;
2124 }
2125 }
6999b0d8 2126{
4268f798 2127 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2128 wxBitmap_SetHeight(_arg0,_arg1);
9b3d3bc4 2129
4268f798 2130 wxPyEndAllowThreads(__tstate);
493f1553 2131 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2132} Py_INCREF(Py_None);
2133 _resultobj = Py_None;
2134 return _resultobj;
2135}
2136
2137#define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2138static PyObject *_wrap_wxBitmap_SetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
2139 PyObject * _resultobj;
2140 wxBitmap * _arg0;
2141 int _arg1;
2142 PyObject * _argo0 = 0;
2143 char *_kwnames[] = { "self","d", NULL };
2144
2145 self = self;
2146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBitmap_SetDepth",_kwnames,&_argo0,&_arg1))
2147 return NULL;
2148 if (_argo0) {
2149 if (_argo0 == Py_None) { _arg0 = NULL; }
2150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
6999b0d8 2152 return NULL;
9b3d3bc4 2153 }
6999b0d8 2154 }
cf694132 2155{
4268f798 2156 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2157 wxBitmap_SetDepth(_arg0,_arg1);
cf694132 2158
4268f798 2159 wxPyEndAllowThreads(__tstate);
493f1553 2160 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2161} Py_INCREF(Py_None);
2162 _resultobj = Py_None;
2163 return _resultobj;
2164}
2165
2166#define wxBitmap_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2167static PyObject *_wrap_wxBitmap_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2168 PyObject * _resultobj;
2169 wxBitmap * _arg0;
2170 wxSize * _arg1;
2171 PyObject * _argo0 = 0;
2172 wxSize temp;
2173 PyObject * _obj1 = 0;
2174 char *_kwnames[] = { "self","size", NULL };
2175
2176 self = self;
2177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_SetSize",_kwnames,&_argo0,&_obj1))
2178 return NULL;
2179 if (_argo0) {
2180 if (_argo0 == Py_None) { _arg0 = NULL; }
2181 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetSize. Expected _wxBitmap_p.");
2183 return NULL;
2184 }
2185 }
6999b0d8 2186{
9b3d3bc4
RD
2187 _arg1 = &temp;
2188 if (! wxSize_helper(_obj1, &_arg1))
2189 return NULL;
6999b0d8 2190}
9b3d3bc4 2191{
4268f798 2192 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2193 wxBitmap_SetSize(_arg0,*_arg1);
9b3d3bc4 2194
4268f798 2195 wxPyEndAllowThreads(__tstate);
493f1553 2196 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2197} Py_INCREF(Py_None);
2198 _resultobj = Py_None;
8ab979d7
RD
2199 return _resultobj;
2200}
2201
f6bcfd97
BP
2202#define wxBitmap_GetSubBitmap(_swigobj,_swigarg0) (_swigobj->GetSubBitmap(_swigarg0))
2203static PyObject *_wrap_wxBitmap_GetSubBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2204 PyObject * _resultobj;
2205 wxBitmap * _result;
2206 wxBitmap * _arg0;
2207 wxRect * _arg1;
2208 PyObject * _argo0 = 0;
2209 wxRect temp;
2210 PyObject * _obj1 = 0;
2211 char *_kwnames[] = { "self","rect", NULL };
2212 char _ptemp[128];
2213
2214 self = self;
2215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_GetSubBitmap",_kwnames,&_argo0,&_obj1))
2216 return NULL;
2217 if (_argo0) {
2218 if (_argo0 == Py_None) { _arg0 = NULL; }
2219 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2220 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetSubBitmap. Expected _wxBitmap_p.");
2221 return NULL;
2222 }
2223 }
2224{
2225 _arg1 = &temp;
2226 if (! wxRect_helper(_obj1, &_arg1))
2227 return NULL;
2228}
2229{
4268f798 2230 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2231 _result = new wxBitmap (wxBitmap_GetSubBitmap(_arg0,*_arg1));
f6bcfd97 2232
4268f798 2233 wxPyEndAllowThreads(__tstate);
493f1553 2234 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2235} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
2236 _resultobj = Py_BuildValue("s",_ptemp);
2237 return _resultobj;
2238}
2239
2240#define wxBitmap_CopyFromIcon(_swigobj,_swigarg0) (_swigobj->CopyFromIcon(_swigarg0))
2241static PyObject *_wrap_wxBitmap_CopyFromIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2242 PyObject * _resultobj;
2243 bool _result;
2244 wxBitmap * _arg0;
2245 wxIcon * _arg1;
2246 PyObject * _argo0 = 0;
2247 PyObject * _argo1 = 0;
2248 char *_kwnames[] = { "self","icon", NULL };
2249
2250 self = self;
2251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_CopyFromIcon",_kwnames,&_argo0,&_argo1))
2252 return NULL;
2253 if (_argo0) {
2254 if (_argo0 == Py_None) { _arg0 = NULL; }
2255 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2256 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_CopyFromIcon. Expected _wxBitmap_p.");
2257 return NULL;
2258 }
2259 }
2260 if (_argo1) {
7e50db3f 2261 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
f6bcfd97
BP
2262 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmap_CopyFromIcon. Expected _wxIcon_p.");
2263 return NULL;
2264 }
2265 }
2266{
4268f798 2267 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2268 _result = (bool )wxBitmap_CopyFromIcon(_arg0,*_arg1);
f6bcfd97 2269
4268f798 2270 wxPyEndAllowThreads(__tstate);
493f1553 2271 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2272} _resultobj = Py_BuildValue("i",_result);
2273 return _resultobj;
2274}
2275
2276#define wxBitmap_CopyFromCursor(_swigobj,_swigarg0) (_swigobj->CopyFromCursor(_swigarg0))
2277static PyObject *_wrap_wxBitmap_CopyFromCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
2278 PyObject * _resultobj;
2279 bool _result;
2280 wxBitmap * _arg0;
2281 wxCursor * _arg1;
2282 PyObject * _argo0 = 0;
2283 PyObject * _argo1 = 0;
2284 char *_kwnames[] = { "self","cursor", NULL };
2285
2286 self = self;
2287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_CopyFromCursor",_kwnames,&_argo0,&_argo1))
2288 return NULL;
2289 if (_argo0) {
2290 if (_argo0 == Py_None) { _arg0 = NULL; }
2291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_CopyFromCursor. Expected _wxBitmap_p.");
2293 return NULL;
2294 }
2295 }
2296 if (_argo1) {
7e50db3f 2297 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) {
f6bcfd97
BP
2298 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmap_CopyFromCursor. Expected _wxCursor_p.");
2299 return NULL;
2300 }
2301 }
2302{
4268f798 2303 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2304 _result = (bool )wxBitmap_CopyFromCursor(_arg0,*_arg1);
f6bcfd97 2305
4268f798 2306 wxPyEndAllowThreads(__tstate);
493f1553 2307 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2308} _resultobj = Py_BuildValue("i",_result);
2309 return _resultobj;
2310}
2311
2312#define wxBitmap_GetQuality(_swigobj) (_swigobj->GetQuality())
2313static PyObject *_wrap_wxBitmap_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
2314 PyObject * _resultobj;
2315 int _result;
2316 wxBitmap * _arg0;
2317 PyObject * _argo0 = 0;
2318 char *_kwnames[] = { "self", NULL };
2319
2320 self = self;
2321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetQuality",_kwnames,&_argo0))
2322 return NULL;
2323 if (_argo0) {
2324 if (_argo0 == Py_None) { _arg0 = NULL; }
2325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetQuality. Expected _wxBitmap_p.");
2327 return NULL;
2328 }
2329 }
2330{
4268f798 2331 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2332 _result = (int )wxBitmap_GetQuality(_arg0);
f6bcfd97 2333
4268f798 2334 wxPyEndAllowThreads(__tstate);
493f1553 2335 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2336} _resultobj = Py_BuildValue("i",_result);
2337 return _resultobj;
2338}
2339
2340#define wxBitmap_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
2341static PyObject *_wrap_wxBitmap_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
2342 PyObject * _resultobj;
2343 wxBitmap * _arg0;
2344 int _arg1;
2345 PyObject * _argo0 = 0;
2346 char *_kwnames[] = { "self","q", NULL };
2347
2348 self = self;
2349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBitmap_SetQuality",_kwnames,&_argo0,&_arg1))
2350 return NULL;
2351 if (_argo0) {
2352 if (_argo0 == Py_None) { _arg0 = NULL; }
2353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
2354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetQuality. Expected _wxBitmap_p.");
2355 return NULL;
2356 }
2357 }
2358{
4268f798 2359 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2360 wxBitmap_SetQuality(_arg0,_arg1);
f6bcfd97 2361
4268f798 2362 wxPyEndAllowThreads(__tstate);
493f1553 2363 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
2364} Py_INCREF(Py_None);
2365 _resultobj = Py_None;
2366 return _resultobj;
2367}
2368
9416aa89
RD
2369static void *SwigwxMaskTowxObject(void *ptr) {
2370 wxMask *src;
2371 wxObject *dest;
2372 src = (wxMask *) ptr;
2373 dest = (wxObject *) src;
2374 return (void *) dest;
2375}
2376
9b3d3bc4
RD
2377#define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
2378static PyObject *_wrap_new_wxMask(PyObject *self, PyObject *args, PyObject *kwargs) {
2379 PyObject * _resultobj;
2380 wxMask * _result;
2381 wxBitmap * _arg0;
2382 PyObject * _argo0 = 0;
2383 char *_kwnames[] = { "bitmap", NULL };
2384 char _ptemp[128];
2385
2386 self = self;
2387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxMask",_kwnames,&_argo0))
2388 return NULL;
2389 if (_argo0) {
7e50db3f 2390 if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
9b3d3bc4
RD
2391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
2392 return NULL;
2393 }
2394 }
2395{
4268f798 2396 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2397 _result = (wxMask *)new_wxMask(*_arg0);
9b3d3bc4 2398
4268f798 2399 wxPyEndAllowThreads(__tstate);
493f1553 2400 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2401} if (_result) {
2402 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
2403 _resultobj = Py_BuildValue("s",_ptemp);
2404 } else {
2405 Py_INCREF(Py_None);
2406 _resultobj = Py_None;
2407 }
2408 return _resultobj;
8ab979d7
RD
2409}
2410
96bfd053
RD
2411static void wxMask_Destroy(wxMask *self) { delete self; }
2412static PyObject *_wrap_wxMask_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2413 PyObject * _resultobj;
2414 wxMask * _arg0;
2415 PyObject * _argo0 = 0;
2416 char *_kwnames[] = { "self", NULL };
2417
2418 self = self;
2419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMask_Destroy",_kwnames,&_argo0))
2420 return NULL;
2421 if (_argo0) {
2422 if (_argo0 == Py_None) { _arg0 = NULL; }
2423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMask_p")) {
2424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMask_Destroy. Expected _wxMask_p.");
2425 return NULL;
2426 }
2427 }
2428{
4268f798 2429 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2430 wxMask_Destroy(_arg0);
96bfd053 2431
4268f798 2432 wxPyEndAllowThreads(__tstate);
493f1553 2433 if (PyErr_Occurred()) return NULL;
96bfd053
RD
2434} Py_INCREF(Py_None);
2435 _resultobj = Py_None;
2436 return _resultobj;
2437}
2438
9416aa89
RD
2439static void *SwigwxIconTowxGDIObject(void *ptr) {
2440 wxIcon *src;
2441 wxGDIObject *dest;
2442 src = (wxIcon *) ptr;
2443 dest = (wxGDIObject *) src;
2444 return (void *) dest;
2445}
2446
2447static void *SwigwxIconTowxObject(void *ptr) {
2448 wxIcon *src;
2449 wxObject *dest;
2450 src = (wxIcon *) ptr;
2451 dest = (wxObject *) src;
2452 return (void *) dest;
2453}
2454
9b3d3bc4
RD
2455#define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2456static PyObject *_wrap_new_wxIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2457 PyObject * _resultobj;
9b3d3bc4 2458 wxIcon * _result;
8ab979d7
RD
2459 wxString * _arg0;
2460 long _arg1;
9b3d3bc4
RD
2461 int _arg2 = (int ) -1;
2462 int _arg3 = (int ) -1;
8ab979d7 2463 PyObject * _obj0 = 0;
9b3d3bc4 2464 char *_kwnames[] = { "name","flags","desiredWidth","desiredHeight", NULL };
8ab979d7
RD
2465 char _ptemp[128];
2466
2467 self = self;
9b3d3bc4 2468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:new_wxIcon",_kwnames,&_obj0,&_arg1,&_arg2,&_arg3))
8ab979d7
RD
2469 return NULL;
2470{
c8bc7bb8
RD
2471 _arg0 = wxString_in_helper(_obj0);
2472 if (_arg0 == NULL)
185d7c3e 2473 return NULL;
8ab979d7 2474}
cf694132 2475{
4268f798 2476 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2477 _result = (wxIcon *)new_wxIcon(*_arg0,_arg1,_arg2,_arg3);
cf694132 2478
4268f798 2479 wxPyEndAllowThreads(__tstate);
493f1553 2480 if (PyErr_Occurred()) return NULL;
1d99702e 2481} if (_result) {
9b3d3bc4 2482 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
1d99702e
RD
2483 _resultobj = Py_BuildValue("s",_ptemp);
2484 } else {
2485 Py_INCREF(Py_None);
2486 _resultobj = Py_None;
2487 }
8ab979d7
RD
2488{
2489 if (_obj0)
2490 delete _arg0;
2491}
2492 return _resultobj;
2493}
2494
9b3d3bc4
RD
2495#define delete_wxIcon(_swigobj) (delete _swigobj)
2496static PyObject *_wrap_delete_wxIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2497 PyObject * _resultobj;
9b3d3bc4 2498 wxIcon * _arg0;
1d99702e 2499 PyObject * _argo0 = 0;
1afc06c2 2500 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2501
2502 self = self;
9b3d3bc4 2503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxIcon",_kwnames,&_argo0))
8ab979d7 2504 return NULL;
1d99702e
RD
2505 if (_argo0) {
2506 if (_argo0 == Py_None) { _arg0 = NULL; }
9b3d3bc4
RD
2507 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
8ab979d7
RD
2509 return NULL;
2510 }
2511 }
cf694132 2512{
4268f798 2513 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2514 delete_wxIcon(_arg0);
9b3d3bc4 2515
4268f798 2516 wxPyEndAllowThreads(__tstate);
493f1553 2517 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2518} Py_INCREF(Py_None);
2519 _resultobj = Py_None;
2520 return _resultobj;
2521}
2522
2523#define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
2524static PyObject *_wrap_wxIcon_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
2525 PyObject * _resultobj;
2526 bool _result;
2527 wxIcon * _arg0;
2528 wxString * _arg1;
2529 long _arg2;
2530 PyObject * _argo0 = 0;
2531 PyObject * _obj1 = 0;
2532 char *_kwnames[] = { "self","name","flags", NULL };
2533
2534 self = self;
2535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOl:wxIcon_LoadFile",_kwnames,&_argo0,&_obj1,&_arg2))
2536 return NULL;
2537 if (_argo0) {
2538 if (_argo0 == Py_None) { _arg0 = NULL; }
2539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
2541 return NULL;
2542 }
2543 }
2544{
c8bc7bb8
RD
2545 _arg1 = wxString_in_helper(_obj1);
2546 if (_arg1 == NULL)
185d7c3e 2547 return NULL;
9b3d3bc4
RD
2548}
2549{
4268f798 2550 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2551 _result = (bool )wxIcon_LoadFile(_arg0,*_arg1,_arg2);
9b3d3bc4 2552
4268f798 2553 wxPyEndAllowThreads(__tstate);
493f1553 2554 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2555} _resultobj = Py_BuildValue("i",_result);
2556{
2557 if (_obj1)
2558 delete _arg1;
2559}
2560 return _resultobj;
2561}
2562
2563#define wxIcon_GetHandle(_swigobj) (_swigobj->GetHandle())
2564static PyObject *_wrap_wxIcon_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
2565 PyObject * _resultobj;
2566 long _result;
2567 wxIcon * _arg0;
2568 PyObject * _argo0 = 0;
2569 char *_kwnames[] = { "self", NULL };
2570
2571 self = self;
2572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_GetHandle",_kwnames,&_argo0))
2573 return NULL;
2574 if (_argo0) {
2575 if (_argo0 == Py_None) { _arg0 = NULL; }
2576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_GetHandle. Expected _wxIcon_p.");
2578 return NULL;
2579 }
2580 }
2581{
4268f798 2582 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2583 _result = (long )wxIcon_GetHandle(_arg0);
9b3d3bc4 2584
4268f798 2585 wxPyEndAllowThreads(__tstate);
493f1553 2586 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2587} _resultobj = Py_BuildValue("l",_result);
2588 return _resultobj;
2589}
2590
2591#define wxIcon_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
2592static PyObject *_wrap_wxIcon_SetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
2593 PyObject * _resultobj;
2594 wxIcon * _arg0;
2595 long _arg1;
2596 PyObject * _argo0 = 0;
2597 char *_kwnames[] = { "self","handle", NULL };
2598
2599 self = self;
2600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxIcon_SetHandle",_kwnames,&_argo0,&_arg1))
2601 return NULL;
2602 if (_argo0) {
2603 if (_argo0 == Py_None) { _arg0 = NULL; }
2604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetHandle. Expected _wxIcon_p.");
2606 return NULL;
2607 }
2608 }
2609{
4268f798 2610 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2611 wxIcon_SetHandle(_arg0,_arg1);
9b3d3bc4 2612
4268f798 2613 wxPyEndAllowThreads(__tstate);
493f1553 2614 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2615} Py_INCREF(Py_None);
2616 _resultobj = Py_None;
2617 return _resultobj;
2618}
2619
2620#define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2621static PyObject *_wrap_wxIcon_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
2622 PyObject * _resultobj;
2623 bool _result;
2624 wxIcon * _arg0;
2625 PyObject * _argo0 = 0;
2626 char *_kwnames[] = { "self", NULL };
2627
2628 self = self;
2629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_Ok",_kwnames,&_argo0))
2630 return NULL;
2631 if (_argo0) {
2632 if (_argo0 == Py_None) { _arg0 = NULL; }
2633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
2635 return NULL;
2636 }
2637 }
2638{
4268f798 2639 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2640 _result = (bool )wxIcon_Ok(_arg0);
9b3d3bc4 2641
4268f798 2642 wxPyEndAllowThreads(__tstate);
493f1553 2643 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2644} _resultobj = Py_BuildValue("i",_result);
2645 return _resultobj;
2646}
2647
2648#define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2649static PyObject *_wrap_wxIcon_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2650 PyObject * _resultobj;
2651 int _result;
2652 wxIcon * _arg0;
2653 PyObject * _argo0 = 0;
2654 char *_kwnames[] = { "self", NULL };
2655
2656 self = self;
2657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_GetWidth",_kwnames,&_argo0))
2658 return NULL;
2659 if (_argo0) {
2660 if (_argo0 == Py_None) { _arg0 = NULL; }
2661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2663 return NULL;
2664 }
2665 }
2666{
4268f798 2667 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2668 _result = (int )wxIcon_GetWidth(_arg0);
9b3d3bc4 2669
4268f798 2670 wxPyEndAllowThreads(__tstate);
493f1553 2671 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2672} _resultobj = Py_BuildValue("i",_result);
2673 return _resultobj;
2674}
2675
2676#define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2677static PyObject *_wrap_wxIcon_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2678 PyObject * _resultobj;
2679 int _result;
2680 wxIcon * _arg0;
2681 PyObject * _argo0 = 0;
2682 char *_kwnames[] = { "self", NULL };
2683
2684 self = self;
2685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_GetHeight",_kwnames,&_argo0))
2686 return NULL;
2687 if (_argo0) {
2688 if (_argo0 == Py_None) { _arg0 = NULL; }
2689 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2690 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2691 return NULL;
2692 }
2693 }
2694{
4268f798 2695 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2696 _result = (int )wxIcon_GetHeight(_arg0);
9b3d3bc4 2697
4268f798 2698 wxPyEndAllowThreads(__tstate);
493f1553 2699 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2700} _resultobj = Py_BuildValue("i",_result);
2701 return _resultobj;
2702}
2703
2704#define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2705static PyObject *_wrap_wxIcon_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
2706 PyObject * _resultobj;
2707 int _result;
2708 wxIcon * _arg0;
2709 PyObject * _argo0 = 0;
2710 char *_kwnames[] = { "self", NULL };
2711
2712 self = self;
2713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_GetDepth",_kwnames,&_argo0))
2714 return NULL;
2715 if (_argo0) {
2716 if (_argo0 == Py_None) { _arg0 = NULL; }
2717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2719 return NULL;
2720 }
2721 }
2722{
4268f798 2723 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2724 _result = (int )wxIcon_GetDepth(_arg0);
9b3d3bc4 2725
4268f798 2726 wxPyEndAllowThreads(__tstate);
493f1553 2727 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2728} _resultobj = Py_BuildValue("i",_result);
2729 return _resultobj;
2730}
2731
2732#define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2733static PyObject *_wrap_wxIcon_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2734 PyObject * _resultobj;
2735 wxIcon * _arg0;
2736 int _arg1;
2737 PyObject * _argo0 = 0;
2738 char *_kwnames[] = { "self","w", NULL };
2739
2740 self = self;
2741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxIcon_SetWidth",_kwnames,&_argo0,&_arg1))
2742 return NULL;
2743 if (_argo0) {
2744 if (_argo0 == Py_None) { _arg0 = NULL; }
2745 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2747 return NULL;
2748 }
2749 }
2750{
4268f798 2751 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2752 wxIcon_SetWidth(_arg0,_arg1);
9b3d3bc4 2753
4268f798 2754 wxPyEndAllowThreads(__tstate);
493f1553 2755 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2756} Py_INCREF(Py_None);
2757 _resultobj = Py_None;
2758 return _resultobj;
2759}
2760
2761#define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2762static PyObject *_wrap_wxIcon_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2763 PyObject * _resultobj;
2764 wxIcon * _arg0;
2765 int _arg1;
2766 PyObject * _argo0 = 0;
2767 char *_kwnames[] = { "self","h", NULL };
2768
2769 self = self;
2770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxIcon_SetHeight",_kwnames,&_argo0,&_arg1))
2771 return NULL;
2772 if (_argo0) {
2773 if (_argo0 == Py_None) { _arg0 = NULL; }
2774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2776 return NULL;
2777 }
2778 }
2779{
4268f798 2780 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2781 wxIcon_SetHeight(_arg0,_arg1);
9b3d3bc4 2782
4268f798 2783 wxPyEndAllowThreads(__tstate);
493f1553 2784 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2785} Py_INCREF(Py_None);
2786 _resultobj = Py_None;
2787 return _resultobj;
2788}
2789
2790#define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2791static PyObject *_wrap_wxIcon_SetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
2792 PyObject * _resultobj;
2793 wxIcon * _arg0;
2794 int _arg1;
2795 PyObject * _argo0 = 0;
2796 char *_kwnames[] = { "self","d", NULL };
2797
2798 self = self;
2799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxIcon_SetDepth",_kwnames,&_argo0,&_arg1))
2800 return NULL;
2801 if (_argo0) {
2802 if (_argo0 == Py_None) { _arg0 = NULL; }
2803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2805 return NULL;
2806 }
2807 }
2808{
4268f798 2809 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2810 wxIcon_SetDepth(_arg0,_arg1);
9b3d3bc4 2811
4268f798 2812 wxPyEndAllowThreads(__tstate);
493f1553 2813 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2814} Py_INCREF(Py_None);
2815 _resultobj = Py_None;
2816 return _resultobj;
2817}
2818
2819#define wxIcon_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2820static PyObject *_wrap_wxIcon_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2821 PyObject * _resultobj;
2822 wxIcon * _arg0;
2823 wxSize * _arg1;
2824 PyObject * _argo0 = 0;
2825 wxSize temp;
2826 PyObject * _obj1 = 0;
2827 char *_kwnames[] = { "self","size", NULL };
2828
2829 self = self;
2830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxIcon_SetSize",_kwnames,&_argo0,&_obj1))
2831 return NULL;
2832 if (_argo0) {
2833 if (_argo0 == Py_None) { _arg0 = NULL; }
2834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetSize. Expected _wxIcon_p.");
2836 return NULL;
2837 }
2838 }
2839{
2840 _arg1 = &temp;
2841 if (! wxSize_helper(_obj1, &_arg1))
2842 return NULL;
2843}
2844{
4268f798 2845 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2846 wxIcon_SetSize(_arg0,*_arg1);
9b3d3bc4 2847
4268f798 2848 wxPyEndAllowThreads(__tstate);
493f1553 2849 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
2850} Py_INCREF(Py_None);
2851 _resultobj = Py_None;
2852 return _resultobj;
2853}
2854
96bfd053
RD
2855#define wxIcon_CopyFromBitmap(_swigobj,_swigarg0) (_swigobj->CopyFromBitmap(_swigarg0))
2856static PyObject *_wrap_wxIcon_CopyFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2857 PyObject * _resultobj;
2858 wxIcon * _arg0;
2859 wxBitmap * _arg1;
2860 PyObject * _argo0 = 0;
2861 PyObject * _argo1 = 0;
2862 char *_kwnames[] = { "self","bmp", NULL };
2863
2864 self = self;
2865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxIcon_CopyFromBitmap",_kwnames,&_argo0,&_argo1))
2866 return NULL;
2867 if (_argo0) {
2868 if (_argo0 == Py_None) { _arg0 = NULL; }
2869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
2870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_CopyFromBitmap. Expected _wxIcon_p.");
2871 return NULL;
2872 }
2873 }
2874 if (_argo1) {
7e50db3f 2875 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
96bfd053
RD
2876 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIcon_CopyFromBitmap. Expected _wxBitmap_p.");
2877 return NULL;
2878 }
2879 }
2880{
4268f798 2881 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2882 wxIcon_CopyFromBitmap(_arg0,*_arg1);
96bfd053 2883
4268f798 2884 wxPyEndAllowThreads(__tstate);
493f1553 2885 if (PyErr_Occurred()) return NULL;
96bfd053
RD
2886} Py_INCREF(Py_None);
2887 _resultobj = Py_None;
2888 return _resultobj;
2889}
2890
5a2a9da2
RD
2891static wxIconLocation *new_wxIconLocation(const wxString *filename,int num) {
2892#ifdef __WXMSW__
2893 return new wxIconLocation(*filename, num);
2894#else
2895 return new wxIconLocation(*filename);
2896#endif
2897 }
2898
2899static PyObject *_wrap_new_wxIconLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
2900 PyObject * _resultobj;
2901 wxIconLocation * _result;
2902 wxString * _arg0 = (wxString *) &wxPyEmptyString;
2903 int _arg1 = (int ) 0;
2904 PyObject * _obj0 = 0;
2905 char *_kwnames[] = { "filename","num", NULL };
2906 char _ptemp[128];
2907
2908 self = self;
2909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxIconLocation",_kwnames,&_obj0,&_arg1))
2910 return NULL;
2911 if (_obj0)
2912{
2913 _arg0 = wxString_in_helper(_obj0);
2914 if (_arg0 == NULL)
2915 return NULL;
2916}
2917{
2918 PyThreadState* __tstate = wxPyBeginAllowThreads();
2919 _result = (wxIconLocation *)new_wxIconLocation(_arg0,_arg1);
2920
2921 wxPyEndAllowThreads(__tstate);
2922 if (PyErr_Occurred()) return NULL;
2923} if (_result) {
2924 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIconLocation_p");
2925 _resultobj = Py_BuildValue("s",_ptemp);
2926 } else {
2927 Py_INCREF(Py_None);
2928 _resultobj = Py_None;
2929 }
2930{
2931 if (_obj0)
2932 delete _arg0;
2933}
2934 return _resultobj;
2935}
2936
2937#define delete_wxIconLocation(_swigobj) (delete _swigobj)
2938static PyObject *_wrap_delete_wxIconLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
2939 PyObject * _resultobj;
2940 wxIconLocation * _arg0;
2941 PyObject * _argo0 = 0;
2942 char *_kwnames[] = { "self", NULL };
2943
2944 self = self;
2945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxIconLocation",_kwnames,&_argo0))
2946 return NULL;
2947 if (_argo0) {
2948 if (_argo0 == Py_None) { _arg0 = NULL; }
2949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIconLocation_p")) {
2950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxIconLocation. Expected _wxIconLocation_p.");
2951 return NULL;
2952 }
2953 }
2954{
2955 PyThreadState* __tstate = wxPyBeginAllowThreads();
2956 delete_wxIconLocation(_arg0);
2957
2958 wxPyEndAllowThreads(__tstate);
2959 if (PyErr_Occurred()) return NULL;
2960} Py_INCREF(Py_None);
2961 _resultobj = Py_None;
2962 return _resultobj;
2963}
2964
2965#define wxIconLocation_IsOk(_swigobj) (_swigobj->IsOk())
2966static PyObject *_wrap_wxIconLocation_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
2967 PyObject * _resultobj;
2968 bool _result;
2969 wxIconLocation * _arg0;
2970 PyObject * _argo0 = 0;
2971 char *_kwnames[] = { "self", NULL };
2972
2973 self = self;
2974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIconLocation_IsOk",_kwnames,&_argo0))
2975 return NULL;
2976 if (_argo0) {
2977 if (_argo0 == Py_None) { _arg0 = NULL; }
2978 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIconLocation_p")) {
2979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIconLocation_IsOk. Expected _wxIconLocation_p.");
2980 return NULL;
2981 }
2982 }
2983{
2984 PyThreadState* __tstate = wxPyBeginAllowThreads();
2985 _result = (bool )wxIconLocation_IsOk(_arg0);
2986
2987 wxPyEndAllowThreads(__tstate);
2988 if (PyErr_Occurred()) return NULL;
2989} _resultobj = Py_BuildValue("i",_result);
2990 return _resultobj;
2991}
2992
2993#define wxIconLocation_SetFileName(_swigobj,_swigarg0) (_swigobj->SetFileName(_swigarg0))
2994static PyObject *_wrap_wxIconLocation_SetFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
2995 PyObject * _resultobj;
2996 wxIconLocation * _arg0;
2997 wxString * _arg1;
2998 PyObject * _argo0 = 0;
2999 PyObject * _obj1 = 0;
3000 char *_kwnames[] = { "self","filename", NULL };
3001
3002 self = self;
3003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxIconLocation_SetFileName",_kwnames,&_argo0,&_obj1))
3004 return NULL;
3005 if (_argo0) {
3006 if (_argo0 == Py_None) { _arg0 = NULL; }
3007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIconLocation_p")) {
3008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIconLocation_SetFileName. Expected _wxIconLocation_p.");
3009 return NULL;
3010 }
3011 }
3012{
3013 _arg1 = wxString_in_helper(_obj1);
3014 if (_arg1 == NULL)
3015 return NULL;
3016}
3017{
3018 PyThreadState* __tstate = wxPyBeginAllowThreads();
3019 wxIconLocation_SetFileName(_arg0,*_arg1);
3020
3021 wxPyEndAllowThreads(__tstate);
3022 if (PyErr_Occurred()) return NULL;
3023} Py_INCREF(Py_None);
3024 _resultobj = Py_None;
3025{
3026 if (_obj1)
3027 delete _arg1;
3028}
3029 return _resultobj;
3030}
3031
3032#define wxIconLocation_GetFileName(_swigobj) (_swigobj->GetFileName())
3033static PyObject *_wrap_wxIconLocation_GetFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
3034 PyObject * _resultobj;
3035 wxString * _result;
3036 wxIconLocation * _arg0;
3037 PyObject * _argo0 = 0;
3038 char *_kwnames[] = { "self", NULL };
3039
3040 self = self;
3041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIconLocation_GetFileName",_kwnames,&_argo0))
3042 return NULL;
3043 if (_argo0) {
3044 if (_argo0 == Py_None) { _arg0 = NULL; }
3045 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIconLocation_p")) {
3046 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIconLocation_GetFileName. Expected _wxIconLocation_p.");
3047 return NULL;
3048 }
3049 }
3050{
3051 PyThreadState* __tstate = wxPyBeginAllowThreads();
3052 const wxString & _result_ref = wxIconLocation_GetFileName(_arg0);
3053 _result = (wxString *) &_result_ref;
3054
3055 wxPyEndAllowThreads(__tstate);
3056 if (PyErr_Occurred()) return NULL;
3057}{
3058#if wxUSE_UNICODE
3059 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
3060#else
3061 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3062#endif
3063}
3064 return _resultobj;
3065}
3066
3067static void wxIconLocation_SetIndex(wxIconLocation *self,int num) {
3068#ifdef __WXMSW__
3069 self->SetIndex(num);
3070#else
3071 // do nothing
3072#endif
3073 }
3074static PyObject *_wrap_wxIconLocation_SetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
3075 PyObject * _resultobj;
3076 wxIconLocation * _arg0;
3077 int _arg1;
3078 PyObject * _argo0 = 0;
3079 char *_kwnames[] = { "self","num", NULL };
3080
3081 self = self;
3082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxIconLocation_SetIndex",_kwnames,&_argo0,&_arg1))
3083 return NULL;
3084 if (_argo0) {
3085 if (_argo0 == Py_None) { _arg0 = NULL; }
3086 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIconLocation_p")) {
3087 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIconLocation_SetIndex. Expected _wxIconLocation_p.");
3088 return NULL;
3089 }
3090 }
3091{
3092 PyThreadState* __tstate = wxPyBeginAllowThreads();
3093 wxIconLocation_SetIndex(_arg0,_arg1);
3094
3095 wxPyEndAllowThreads(__tstate);
3096 if (PyErr_Occurred()) return NULL;
3097} Py_INCREF(Py_None);
3098 _resultobj = Py_None;
3099 return _resultobj;
3100}
3101
3102static int wxIconLocation_GetIndex(wxIconLocation *self) {
3103#ifdef __WXMSW__
3104 return self->GetIndex();
3105#else
3106 return -1;
3107#endif
3108 }
3109static PyObject *_wrap_wxIconLocation_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
3110 PyObject * _resultobj;
3111 int _result;
3112 wxIconLocation * _arg0;
3113 PyObject * _argo0 = 0;
3114 char *_kwnames[] = { "self", NULL };
3115
3116 self = self;
3117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIconLocation_GetIndex",_kwnames,&_argo0))
3118 return NULL;
3119 if (_argo0) {
3120 if (_argo0 == Py_None) { _arg0 = NULL; }
3121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIconLocation_p")) {
3122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIconLocation_GetIndex. Expected _wxIconLocation_p.");
3123 return NULL;
3124 }
3125 }
3126{
3127 PyThreadState* __tstate = wxPyBeginAllowThreads();
3128 _result = (int )wxIconLocation_GetIndex(_arg0);
3129
3130 wxPyEndAllowThreads(__tstate);
3131 if (PyErr_Occurred()) return NULL;
3132} _resultobj = Py_BuildValue("i",_result);
3133 return _resultobj;
3134}
3135
0e9b78ce
RD
3136#define new_wxIconBundle() (new wxIconBundle())
3137static PyObject *_wrap_new_wxIconBundle(PyObject *self, PyObject *args, PyObject *kwargs) {
3138 PyObject * _resultobj;
3139 wxIconBundle * _result;
3140 char *_kwnames[] = { NULL };
3141 char _ptemp[128];
3142
3143 self = self;
3144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxIconBundle",_kwnames))
3145 return NULL;
3146{
3147 PyThreadState* __tstate = wxPyBeginAllowThreads();
3148 _result = (wxIconBundle *)new_wxIconBundle();
3149
3150 wxPyEndAllowThreads(__tstate);
3151 if (PyErr_Occurred()) return NULL;
3152} if (_result) {
3153 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIconBundle_p");
3154 _resultobj = Py_BuildValue("s",_ptemp);
3155 } else {
3156 Py_INCREF(Py_None);
3157 _resultobj = Py_None;
3158 }
3159 return _resultobj;
3160}
3161
3162#define new_wxIconBundleFromFile(_swigarg0,_swigarg1) (new wxIconBundle(_swigarg0,_swigarg1))
3163static PyObject *_wrap_new_wxIconBundleFromFile(PyObject *self, PyObject *args, PyObject *kwargs) {
3164 PyObject * _resultobj;
3165 wxIconBundle * _result;
3166 wxString * _arg0;
3167 long _arg1;
3168 PyObject * _obj0 = 0;
3169 char *_kwnames[] = { "file","type", NULL };
3170 char _ptemp[128];
3171
3172 self = self;
3173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:new_wxIconBundleFromFile",_kwnames,&_obj0,&_arg1))
3174 return NULL;
3175{
3176 _arg0 = wxString_in_helper(_obj0);
3177 if (_arg0 == NULL)
3178 return NULL;
3179}
3180{
3181 PyThreadState* __tstate = wxPyBeginAllowThreads();
3182 _result = (wxIconBundle *)new_wxIconBundleFromFile(*_arg0,_arg1);
3183
3184 wxPyEndAllowThreads(__tstate);
3185 if (PyErr_Occurred()) return NULL;
3186} if (_result) {
3187 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIconBundle_p");
3188 _resultobj = Py_BuildValue("s",_ptemp);
3189 } else {
3190 Py_INCREF(Py_None);
3191 _resultobj = Py_None;
3192 }
3193{
3194 if (_obj0)
3195 delete _arg0;
3196}
3197 return _resultobj;
3198}
3199
3200#define new_wxIconBundleFromIcon(_swigarg0) (new wxIconBundle(_swigarg0))
3201static PyObject *_wrap_new_wxIconBundleFromIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
3202 PyObject * _resultobj;
3203 wxIconBundle * _result;
3204 wxIcon * _arg0;
3205 PyObject * _argo0 = 0;
3206 char *_kwnames[] = { "icon", NULL };
3207 char _ptemp[128];
3208
3209 self = self;
3210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxIconBundleFromIcon",_kwnames,&_argo0))
3211 return NULL;
3212 if (_argo0) {
7e50db3f 3213 if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
0e9b78ce
RD
3214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxIconBundleFromIcon. Expected _wxIcon_p.");
3215 return NULL;
3216 }
3217 }
3218{
3219 PyThreadState* __tstate = wxPyBeginAllowThreads();
3220 _result = (wxIconBundle *)new_wxIconBundleFromIcon(*_arg0);
3221
3222 wxPyEndAllowThreads(__tstate);
3223 if (PyErr_Occurred()) return NULL;
3224} if (_result) {
3225 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIconBundle_p");
3226 _resultobj = Py_BuildValue("s",_ptemp);
3227 } else {
3228 Py_INCREF(Py_None);
3229 _resultobj = Py_None;
3230 }
3231 return _resultobj;
3232}
3233
3234#define delete_wxIconBundle(_swigobj) (delete _swigobj)
3235static PyObject *_wrap_delete_wxIconBundle(PyObject *self, PyObject *args, PyObject *kwargs) {
3236 PyObject * _resultobj;
3237 wxIconBundle * _arg0;
3238 PyObject * _argo0 = 0;
3239 char *_kwnames[] = { "self", NULL };
3240
3241 self = self;
3242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxIconBundle",_kwnames,&_argo0))
3243 return NULL;
3244 if (_argo0) {
3245 if (_argo0 == Py_None) { _arg0 = NULL; }
3246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIconBundle_p")) {
3247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxIconBundle. Expected _wxIconBundle_p.");
3248 return NULL;
3249 }
3250 }
3251{
3252 PyThreadState* __tstate = wxPyBeginAllowThreads();
3253 delete_wxIconBundle(_arg0);
3254
3255 wxPyEndAllowThreads(__tstate);
3256 if (PyErr_Occurred()) return NULL;
3257} Py_INCREF(Py_None);
3258 _resultobj = Py_None;
3259 return _resultobj;
3260}
3261
3262#define wxIconBundle_AddIcon(_swigobj,_swigarg0) (_swigobj->AddIcon(_swigarg0))
3263static PyObject *_wrap_wxIconBundle_AddIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
3264 PyObject * _resultobj;
3265 wxIconBundle * _arg0;
3266 wxIcon * _arg1;
3267 PyObject * _argo0 = 0;
3268 PyObject * _argo1 = 0;
3269 char *_kwnames[] = { "self","icon", NULL };
3270
3271 self = self;
3272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxIconBundle_AddIcon",_kwnames,&_argo0,&_argo1))
3273 return NULL;
3274 if (_argo0) {
3275 if (_argo0 == Py_None) { _arg0 = NULL; }
3276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIconBundle_p")) {
3277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIconBundle_AddIcon. Expected _wxIconBundle_p.");
3278 return NULL;
3279 }
3280 }
3281 if (_argo1) {
7e50db3f 3282 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
0e9b78ce
RD
3283 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIconBundle_AddIcon. Expected _wxIcon_p.");
3284 return NULL;
3285 }
3286 }
3287{
3288 PyThreadState* __tstate = wxPyBeginAllowThreads();
3289 wxIconBundle_AddIcon(_arg0,*_arg1);
3290
3291 wxPyEndAllowThreads(__tstate);
3292 if (PyErr_Occurred()) return NULL;
3293} Py_INCREF(Py_None);
3294 _resultobj = Py_None;
3295 return _resultobj;
3296}
3297
3298#define wxIconBundle_AddIconFromFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddIcon(_swigarg0,_swigarg1))
3299static PyObject *_wrap_wxIconBundle_AddIconFromFile(PyObject *self, PyObject *args, PyObject *kwargs) {
3300 PyObject * _resultobj;
3301 wxIconBundle * _arg0;
3302 wxString * _arg1;
3303 long _arg2;
3304 PyObject * _argo0 = 0;
3305 PyObject * _obj1 = 0;
3306 char *_kwnames[] = { "self","file","type", NULL };
3307
3308 self = self;
3309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOl:wxIconBundle_AddIconFromFile",_kwnames,&_argo0,&_obj1,&_arg2))
3310 return NULL;
3311 if (_argo0) {
3312 if (_argo0 == Py_None) { _arg0 = NULL; }
3313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIconBundle_p")) {
3314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIconBundle_AddIconFromFile. Expected _wxIconBundle_p.");
3315 return NULL;
3316 }
3317 }
3318{
3319 _arg1 = wxString_in_helper(_obj1);
3320 if (_arg1 == NULL)
3321 return NULL;
3322}
3323{
3324 PyThreadState* __tstate = wxPyBeginAllowThreads();
3325 wxIconBundle_AddIconFromFile(_arg0,*_arg1,_arg2);
3326
3327 wxPyEndAllowThreads(__tstate);
3328 if (PyErr_Occurred()) return NULL;
3329} Py_INCREF(Py_None);
3330 _resultobj = Py_None;
3331{
3332 if (_obj1)
3333 delete _arg1;
3334}
3335 return _resultobj;
3336}
3337
3338#define wxIconBundle_GetIcon(_swigobj,_swigarg0) (_swigobj->GetIcon(_swigarg0))
3339static PyObject *_wrap_wxIconBundle_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
3340 PyObject * _resultobj;
3341 wxIcon * _result;
3342 wxIconBundle * _arg0;
3343 wxSize * _arg1;
3344 PyObject * _argo0 = 0;
3345 wxSize temp;
3346 PyObject * _obj1 = 0;
3347 char *_kwnames[] = { "self","size", NULL };
3348 char _ptemp[128];
3349
3350 self = self;
3351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxIconBundle_GetIcon",_kwnames,&_argo0,&_obj1))
3352 return NULL;
3353 if (_argo0) {
3354 if (_argo0 == Py_None) { _arg0 = NULL; }
3355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIconBundle_p")) {
3356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIconBundle_GetIcon. Expected _wxIconBundle_p.");
3357 return NULL;
3358 }
3359 }
3360{
3361 _arg1 = &temp;
3362 if (! wxSize_helper(_obj1, &_arg1))
3363 return NULL;
3364}
3365{
3366 PyThreadState* __tstate = wxPyBeginAllowThreads();
3367 const wxIcon & _result_ref = wxIconBundle_GetIcon(_arg0,*_arg1);
3368 _result = (wxIcon *) &_result_ref;
3369
3370 wxPyEndAllowThreads(__tstate);
3371 if (PyErr_Occurred()) return NULL;
3372} if (_result) {
3373 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
3374 _resultobj = Py_BuildValue("s",_ptemp);
3375 } else {
3376 Py_INCREF(Py_None);
3377 _resultobj = Py_None;
3378 }
3379 return _resultobj;
3380}
3381
9416aa89
RD
3382static void *SwigwxCursorTowxGDIObject(void *ptr) {
3383 wxCursor *src;
3384 wxGDIObject *dest;
3385 src = (wxCursor *) ptr;
3386 dest = (wxGDIObject *) src;
3387 return (void *) dest;
3388}
3389
3390static void *SwigwxCursorTowxObject(void *ptr) {
3391 wxCursor *src;
3392 wxObject *dest;
3393 src = (wxCursor *) ptr;
3394 dest = (wxObject *) src;
3395 return (void *) dest;
3396}
3397
5a2a9da2
RD
3398static wxCursor *new_wxCursor(const wxString *cursorName,long flags,int hotSpotX,int hotSpotY) {
3399#ifdef __WXGTK__
3400 wxCHECK_MSG(FALSE, NULL,
3401 wxT("wxCursor constructor not implemented for wxGTK, use wxStockCursor, wxCursorFromImage, or wxCursorFromBits instead."));
3402#else
3403 return new wxCursor(*cursorName, flags, hotSpotX, hotSpotY);
3404#endif
3405 }
3406
9b3d3bc4
RD
3407static PyObject *_wrap_new_wxCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3408 PyObject * _resultobj;
3409 wxCursor * _result;
3410 wxString * _arg0;
3411 long _arg1;
3412 int _arg2 = (int ) 0;
3413 int _arg3 = (int ) 0;
3414 PyObject * _obj0 = 0;
3415 char *_kwnames[] = { "cursorName","flags","hotSpotX","hotSpotY", NULL };
3416 char _ptemp[128];
3417
3418 self = self;
3419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:new_wxCursor",_kwnames,&_obj0,&_arg1,&_arg2,&_arg3))
3420 return NULL;
3421{
c8bc7bb8
RD
3422 _arg0 = wxString_in_helper(_obj0);
3423 if (_arg0 == NULL)
185d7c3e 3424 return NULL;
9b3d3bc4
RD
3425}
3426{
4268f798 3427 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 3428 _result = (wxCursor *)new_wxCursor(_arg0,_arg1,_arg2,_arg3);
9b3d3bc4 3429
4268f798 3430 wxPyEndAllowThreads(__tstate);
493f1553 3431 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3432} if (_result) {
3433 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCursor_p");
3434 _resultobj = Py_BuildValue("s",_ptemp);
3435 } else {
3436 Py_INCREF(Py_None);
3437 _resultobj = Py_None;
3438 }
3439{
3440 if (_obj0)
3441 delete _arg0;
3442}
3443 return _resultobj;
3444}
3445
3446#define delete_wxCursor(_swigobj) (delete _swigobj)
3447static PyObject *_wrap_delete_wxCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3448 PyObject * _resultobj;
3449 wxCursor * _arg0;
3450 PyObject * _argo0 = 0;
3451 char *_kwnames[] = { "self", NULL };
3452
3453 self = self;
3454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxCursor",_kwnames,&_argo0))
3455 return NULL;
3456 if (_argo0) {
3457 if (_argo0 == Py_None) { _arg0 = NULL; }
3458 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
3460 return NULL;
3461 }
3462 }
3463{
4268f798 3464 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3465 delete_wxCursor(_arg0);
9b3d3bc4 3466
4268f798 3467 wxPyEndAllowThreads(__tstate);
493f1553 3468 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3469} Py_INCREF(Py_None);
3470 _resultobj = Py_None;
3471 return _resultobj;
3472}
3473
3474#define wxCursor_GetHandle(_swigobj) (_swigobj->GetHandle())
3475static PyObject *_wrap_wxCursor_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
3476 PyObject * _resultobj;
3477 long _result;
3478 wxCursor * _arg0;
3479 PyObject * _argo0 = 0;
3480 char *_kwnames[] = { "self", NULL };
3481
3482 self = self;
3483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCursor_GetHandle",_kwnames,&_argo0))
3484 return NULL;
3485 if (_argo0) {
3486 if (_argo0 == Py_None) { _arg0 = NULL; }
3487 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_GetHandle. Expected _wxCursor_p.");
3489 return NULL;
3490 }
3491 }
3492{
4268f798 3493 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3494 _result = (long )wxCursor_GetHandle(_arg0);
9b3d3bc4 3495
4268f798 3496 wxPyEndAllowThreads(__tstate);
493f1553 3497 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3498} _resultobj = Py_BuildValue("l",_result);
3499 return _resultobj;
3500}
3501
3502#define wxCursor_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
3503static PyObject *_wrap_wxCursor_SetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
3504 PyObject * _resultobj;
3505 wxCursor * _arg0;
3506 long _arg1;
3507 PyObject * _argo0 = 0;
3508 char *_kwnames[] = { "self","handle", NULL };
3509
3510 self = self;
3511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxCursor_SetHandle",_kwnames,&_argo0,&_arg1))
3512 return NULL;
3513 if (_argo0) {
3514 if (_argo0 == Py_None) { _arg0 = NULL; }
3515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_SetHandle. Expected _wxCursor_p.");
3517 return NULL;
3518 }
3519 }
3520{
4268f798 3521 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3522 wxCursor_SetHandle(_arg0,_arg1);
9b3d3bc4 3523
4268f798 3524 wxPyEndAllowThreads(__tstate);
493f1553 3525 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3526} Py_INCREF(Py_None);
3527 _resultobj = Py_None;
3528 return _resultobj;
3529}
3530
3531#define wxCursor_Ok(_swigobj) (_swigobj->Ok())
3532static PyObject *_wrap_wxCursor_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
3533 PyObject * _resultobj;
3534 bool _result;
3535 wxCursor * _arg0;
3536 PyObject * _argo0 = 0;
3537 char *_kwnames[] = { "self", NULL };
3538
3539 self = self;
3540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCursor_Ok",_kwnames,&_argo0))
3541 return NULL;
3542 if (_argo0) {
3543 if (_argo0 == Py_None) { _arg0 = NULL; }
3544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
3546 return NULL;
3547 }
3548 }
3549{
4268f798 3550 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3551 _result = (bool )wxCursor_Ok(_arg0);
9b3d3bc4 3552
4268f798 3553 wxPyEndAllowThreads(__tstate);
493f1553 3554 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3555} _resultobj = Py_BuildValue("i",_result);
3556 return _resultobj;
3557}
3558
3559#define wxCursor_GetWidth(_swigobj) (_swigobj->GetWidth())
3560static PyObject *_wrap_wxCursor_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3561 PyObject * _resultobj;
3562 int _result;
3563 wxCursor * _arg0;
3564 PyObject * _argo0 = 0;
3565 char *_kwnames[] = { "self", NULL };
3566
3567 self = self;
3568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCursor_GetWidth",_kwnames,&_argo0))
3569 return NULL;
3570 if (_argo0) {
3571 if (_argo0 == Py_None) { _arg0 = NULL; }
3572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_GetWidth. Expected _wxCursor_p.");
3574 return NULL;
3575 }
3576 }
3577{
4268f798 3578 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3579 _result = (int )wxCursor_GetWidth(_arg0);
9b3d3bc4 3580
4268f798 3581 wxPyEndAllowThreads(__tstate);
493f1553 3582 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3583} _resultobj = Py_BuildValue("i",_result);
3584 return _resultobj;
3585}
3586
3587#define wxCursor_GetHeight(_swigobj) (_swigobj->GetHeight())
3588static PyObject *_wrap_wxCursor_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3589 PyObject * _resultobj;
3590 int _result;
3591 wxCursor * _arg0;
3592 PyObject * _argo0 = 0;
3593 char *_kwnames[] = { "self", NULL };
3594
3595 self = self;
3596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCursor_GetHeight",_kwnames,&_argo0))
3597 return NULL;
3598 if (_argo0) {
3599 if (_argo0 == Py_None) { _arg0 = NULL; }
3600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_GetHeight. Expected _wxCursor_p.");
3602 return NULL;
3603 }
3604 }
3605{
4268f798 3606 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3607 _result = (int )wxCursor_GetHeight(_arg0);
9b3d3bc4 3608
4268f798 3609 wxPyEndAllowThreads(__tstate);
493f1553 3610 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3611} _resultobj = Py_BuildValue("i",_result);
3612 return _resultobj;
3613}
3614
3615#define wxCursor_GetDepth(_swigobj) (_swigobj->GetDepth())
3616static PyObject *_wrap_wxCursor_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3617 PyObject * _resultobj;
3618 int _result;
3619 wxCursor * _arg0;
3620 PyObject * _argo0 = 0;
3621 char *_kwnames[] = { "self", NULL };
3622
3623 self = self;
3624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCursor_GetDepth",_kwnames,&_argo0))
3625 return NULL;
3626 if (_argo0) {
3627 if (_argo0 == Py_None) { _arg0 = NULL; }
3628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_GetDepth. Expected _wxCursor_p.");
3630 return NULL;
3631 }
3632 }
3633{
4268f798 3634 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3635 _result = (int )wxCursor_GetDepth(_arg0);
9b3d3bc4 3636
4268f798 3637 wxPyEndAllowThreads(__tstate);
493f1553 3638 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3639} _resultobj = Py_BuildValue("i",_result);
3640 return _resultobj;
3641}
3642
3643#define wxCursor_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
3644static PyObject *_wrap_wxCursor_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3645 PyObject * _resultobj;
3646 wxCursor * _arg0;
3647 int _arg1;
3648 PyObject * _argo0 = 0;
3649 char *_kwnames[] = { "self","w", NULL };
3650
3651 self = self;
3652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCursor_SetWidth",_kwnames,&_argo0,&_arg1))
3653 return NULL;
3654 if (_argo0) {
3655 if (_argo0 == Py_None) { _arg0 = NULL; }
3656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_SetWidth. Expected _wxCursor_p.");
3658 return NULL;
3659 }
3660 }
3661{
4268f798 3662 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3663 wxCursor_SetWidth(_arg0,_arg1);
9b3d3bc4 3664
4268f798 3665 wxPyEndAllowThreads(__tstate);
493f1553 3666 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3667} Py_INCREF(Py_None);
3668 _resultobj = Py_None;
3669 return _resultobj;
3670}
3671
3672#define wxCursor_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
3673static PyObject *_wrap_wxCursor_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3674 PyObject * _resultobj;
3675 wxCursor * _arg0;
3676 int _arg1;
3677 PyObject * _argo0 = 0;
3678 char *_kwnames[] = { "self","h", NULL };
3679
3680 self = self;
3681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCursor_SetHeight",_kwnames,&_argo0,&_arg1))
3682 return NULL;
3683 if (_argo0) {
3684 if (_argo0 == Py_None) { _arg0 = NULL; }
3685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_SetHeight. Expected _wxCursor_p.");
3687 return NULL;
3688 }
3689 }
3690{
4268f798 3691 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3692 wxCursor_SetHeight(_arg0,_arg1);
9b3d3bc4 3693
4268f798 3694 wxPyEndAllowThreads(__tstate);
493f1553 3695 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3696} Py_INCREF(Py_None);
3697 _resultobj = Py_None;
3698 return _resultobj;
3699}
3700
3701#define wxCursor_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
3702static PyObject *_wrap_wxCursor_SetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3703 PyObject * _resultobj;
3704 wxCursor * _arg0;
3705 int _arg1;
3706 PyObject * _argo0 = 0;
3707 char *_kwnames[] = { "self","d", NULL };
3708
3709 self = self;
3710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCursor_SetDepth",_kwnames,&_argo0,&_arg1))
3711 return NULL;
3712 if (_argo0) {
3713 if (_argo0 == Py_None) { _arg0 = NULL; }
3714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_SetDepth. Expected _wxCursor_p.");
3716 return NULL;
3717 }
3718 }
3719{
4268f798 3720 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3721 wxCursor_SetDepth(_arg0,_arg1);
9b3d3bc4 3722
4268f798 3723 wxPyEndAllowThreads(__tstate);
493f1553 3724 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
3725} Py_INCREF(Py_None);
3726 _resultobj = Py_None;
3727 return _resultobj;
3728}
3729
3730#define wxCursor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3731static PyObject *_wrap_wxCursor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3732 PyObject * _resultobj;
3733 wxCursor * _arg0;
3734 wxSize * _arg1;
3735 PyObject * _argo0 = 0;
3736 wxSize temp;
3737 PyObject * _obj1 = 0;
3738 char *_kwnames[] = { "self","size", NULL };
3739
3740 self = self;
3741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCursor_SetSize",_kwnames,&_argo0,&_obj1))
3742 return NULL;
3743 if (_argo0) {
3744 if (_argo0 == Py_None) { _arg0 = NULL; }
3745 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
3746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_SetSize. Expected _wxCursor_p.");
3747 return NULL;
3748 }
3749 }
3750{
3751 _arg1 = &temp;
3752 if (! wxSize_helper(_obj1, &_arg1))
3753 return NULL;
3754}
3755{
4268f798 3756 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3757 wxCursor_SetSize(_arg0,*_arg1);
cf694132 3758
4268f798 3759 wxPyEndAllowThreads(__tstate);
493f1553 3760 if (PyErr_Occurred()) return NULL;
cf694132 3761} Py_INCREF(Py_None);
8ab979d7
RD
3762 _resultobj = Py_None;
3763 return _resultobj;
3764}
3765
9416aa89
RD
3766static void *SwigwxColourTowxObject(void *ptr) {
3767 wxColour *src;
3768 wxObject *dest;
3769 src = (wxColour *) ptr;
3770 dest = (wxObject *) src;
3771 return (void *) dest;
3772}
3773
8ab979d7 3774#define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 3775static PyObject *_wrap_new_wxColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3776 PyObject * _resultobj;
3777 wxColour * _result;
1d99702e
RD
3778 unsigned char _arg0 = (unsigned char ) 0;
3779 unsigned char _arg1 = (unsigned char ) 0;
3780 unsigned char _arg2 = (unsigned char ) 0;
1afc06c2 3781 char *_kwnames[] = { "red","green","blue", NULL };
8ab979d7
RD
3782 char _ptemp[128];
3783
3784 self = self;
1afc06c2 3785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|bbb:new_wxColour",_kwnames,&_arg0,&_arg1,&_arg2))
8ab979d7 3786 return NULL;
cf694132 3787{
4268f798 3788 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3789 _result = (wxColour *)new_wxColour(_arg0,_arg1,_arg2);
cf694132 3790
4268f798 3791 wxPyEndAllowThreads(__tstate);
493f1553 3792 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3793} if (_result) {
3794 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3795 _resultobj = Py_BuildValue("s",_ptemp);
3796 } else {
3797 Py_INCREF(Py_None);
3798 _resultobj = Py_None;
3799 }
8ab979d7
RD
3800 return _resultobj;
3801}
3802
3803#define delete_wxColour(_swigobj) (delete _swigobj)
1afc06c2 3804static PyObject *_wrap_delete_wxColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3805 PyObject * _resultobj;
3806 wxColour * _arg0;
f6bcfd97
BP
3807 wxColour temp;
3808 PyObject * _obj0 = 0;
1afc06c2 3809 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3810
3811 self = self;
f6bcfd97 3812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxColour",_kwnames,&_obj0))
8ab979d7 3813 return NULL;
f6bcfd97
BP
3814{
3815 _arg0 = &temp;
3816 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 3817 return NULL;
f6bcfd97 3818}
cf694132 3819{
4268f798 3820 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3821 delete_wxColour(_arg0);
cf694132 3822
4268f798 3823 wxPyEndAllowThreads(__tstate);
493f1553 3824 if (PyErr_Occurred()) return NULL;
cf694132 3825} Py_INCREF(Py_None);
8ab979d7
RD
3826 _resultobj = Py_None;
3827 return _resultobj;
3828}
3829
3830#define wxColour_Red(_swigobj) (_swigobj->Red())
1afc06c2 3831static PyObject *_wrap_wxColour_Red(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3832 PyObject * _resultobj;
3833 unsigned char _result;
3834 wxColour * _arg0;
f6bcfd97
BP
3835 wxColour temp;
3836 PyObject * _obj0 = 0;
1afc06c2 3837 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3838
3839 self = self;
f6bcfd97 3840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Red",_kwnames,&_obj0))
8ab979d7 3841 return NULL;
f6bcfd97
BP
3842{
3843 _arg0 = &temp;
3844 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 3845 return NULL;
f6bcfd97 3846}
cf694132 3847{
4268f798 3848 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3849 _result = (unsigned char )wxColour_Red(_arg0);
cf694132 3850
4268f798 3851 wxPyEndAllowThreads(__tstate);
493f1553 3852 if (PyErr_Occurred()) return NULL;
cf694132 3853} _resultobj = Py_BuildValue("b",_result);
8ab979d7
RD
3854 return _resultobj;
3855}
3856
3857#define wxColour_Green(_swigobj) (_swigobj->Green())
1afc06c2 3858static PyObject *_wrap_wxColour_Green(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3859 PyObject * _resultobj;
3860 unsigned char _result;
3861 wxColour * _arg0;
f6bcfd97
BP
3862 wxColour temp;
3863 PyObject * _obj0 = 0;
1afc06c2 3864 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3865
3866 self = self;
f6bcfd97 3867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Green",_kwnames,&_obj0))
8ab979d7 3868 return NULL;
f6bcfd97
BP
3869{
3870 _arg0 = &temp;
3871 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 3872 return NULL;
f6bcfd97 3873}
cf694132 3874{
4268f798 3875 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3876 _result = (unsigned char )wxColour_Green(_arg0);
cf694132 3877
4268f798 3878 wxPyEndAllowThreads(__tstate);
493f1553 3879 if (PyErr_Occurred()) return NULL;
cf694132 3880} _resultobj = Py_BuildValue("b",_result);
8ab979d7
RD
3881 return _resultobj;
3882}
3883
3884#define wxColour_Blue(_swigobj) (_swigobj->Blue())
1afc06c2 3885static PyObject *_wrap_wxColour_Blue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3886 PyObject * _resultobj;
3887 unsigned char _result;
3888 wxColour * _arg0;
f6bcfd97
BP
3889 wxColour temp;
3890 PyObject * _obj0 = 0;
1afc06c2 3891 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3892
3893 self = self;
f6bcfd97 3894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Blue",_kwnames,&_obj0))
8ab979d7 3895 return NULL;
f6bcfd97
BP
3896{
3897 _arg0 = &temp;
3898 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 3899 return NULL;
f6bcfd97 3900}
cf694132 3901{
4268f798 3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3903 _result = (unsigned char )wxColour_Blue(_arg0);
cf694132 3904
4268f798 3905 wxPyEndAllowThreads(__tstate);
493f1553 3906 if (PyErr_Occurred()) return NULL;
cf694132 3907} _resultobj = Py_BuildValue("b",_result);
8ab979d7
RD
3908 return _resultobj;
3909}
3910
3911#define wxColour_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 3912static PyObject *_wrap_wxColour_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3913 PyObject * _resultobj;
3914 bool _result;
3915 wxColour * _arg0;
f6bcfd97
BP
3916 wxColour temp;
3917 PyObject * _obj0 = 0;
1afc06c2 3918 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3919
3920 self = self;
f6bcfd97 3921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Ok",_kwnames,&_obj0))
8ab979d7 3922 return NULL;
f6bcfd97
BP
3923{
3924 _arg0 = &temp;
3925 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 3926 return NULL;
f6bcfd97 3927}
cf694132 3928{
4268f798 3929 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3930 _result = (bool )wxColour_Ok(_arg0);
cf694132 3931
4268f798 3932 wxPyEndAllowThreads(__tstate);
493f1553 3933 if (PyErr_Occurred()) return NULL;
cf694132 3934} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3935 return _resultobj;
3936}
3937
3938#define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 3939static PyObject *_wrap_wxColour_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3940 PyObject * _resultobj;
3941 wxColour * _arg0;
3942 unsigned char _arg1;
3943 unsigned char _arg2;
3944 unsigned char _arg3;
f6bcfd97
BP
3945 wxColour temp;
3946 PyObject * _obj0 = 0;
1afc06c2 3947 char *_kwnames[] = { "self","red","green","blue", NULL };
8ab979d7
RD
3948
3949 self = self;
f6bcfd97 3950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Obbb:wxColour_Set",_kwnames,&_obj0,&_arg1,&_arg2,&_arg3))
8ab979d7 3951 return NULL;
f6bcfd97
BP
3952{
3953 _arg0 = &temp;
3954 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 3955 return NULL;
f6bcfd97 3956}
cf694132 3957{
4268f798 3958 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3959 wxColour_Set(_arg0,_arg1,_arg2,_arg3);
cf694132 3960
4268f798 3961 wxPyEndAllowThreads(__tstate);
493f1553 3962 if (PyErr_Occurred()) return NULL;
cf694132 3963} Py_INCREF(Py_None);
8ab979d7
RD
3964 _resultobj = Py_None;
3965 return _resultobj;
3966}
3967
3968static PyObject * wxColour_Get(wxColour *self) {
3969 PyObject* rv = PyTuple_New(3);
7e50db3f
RD
3970 int red = -1;
3971 int green = -1;
3972 int blue = -1;
3973 if (self->Ok()) {
3974 red = self->Red();
3975 green = self->Green();
3976 blue = self->Blue();
3977 }
3978 PyTuple_SetItem(rv, 0, PyInt_FromLong(red));
3979 PyTuple_SetItem(rv, 1, PyInt_FromLong(green));
3980 PyTuple_SetItem(rv, 2, PyInt_FromLong(blue));
8ab979d7
RD
3981 return rv;
3982 }
1afc06c2 3983static PyObject *_wrap_wxColour_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3984 PyObject * _resultobj;
3985 PyObject * _result;
3986 wxColour * _arg0;
f6bcfd97
BP
3987 wxColour temp;
3988 PyObject * _obj0 = 0;
1afc06c2 3989 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3990
3991 self = self;
f6bcfd97 3992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Get",_kwnames,&_obj0))
8ab979d7 3993 return NULL;
f6bcfd97
BP
3994{
3995 _arg0 = &temp;
3996 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 3997 return NULL;
f6bcfd97 3998}
8ab979d7 3999{
4268f798 4000 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4001 _result = (PyObject *)wxColour_Get(_arg0);
cf694132 4002
4268f798 4003 wxPyEndAllowThreads(__tstate);
493f1553 4004 if (PyErr_Occurred()) return NULL;
cf694132 4005}{
8ab979d7
RD
4006 _resultobj = _result;
4007}
4008 return _resultobj;
4009}
4010
7e50db3f
RD
4011static bool wxColour___eq__(wxColour *self,PyObject * obj) {
4012 wxColour tmp;
4013 wxColour* ptr = &tmp;
4014 if (obj == Py_None) return FALSE;
4015 wxPyBLOCK_THREADS(bool success = wxColour_helper(obj, &ptr); PyErr_Clear());
4016 if (! success) return FALSE;
4017 return *self == *ptr;
4018 }
4019static PyObject *_wrap_wxColour___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
4020 PyObject * _resultobj;
4021 bool _result;
4022 wxColour * _arg0;
4023 PyObject * _arg1;
4024 wxColour temp;
4025 PyObject * _obj0 = 0;
4026 PyObject * _obj1 = 0;
4027 char *_kwnames[] = { "self","obj", NULL };
4028
4029 self = self;
4030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxColour___eq__",_kwnames,&_obj0,&_obj1))
4031 return NULL;
4032{
4033 _arg0 = &temp;
4034 if (! wxColour_helper(_obj0, &_arg0))
4035 return NULL;
4036}
4037{
4038 _arg1 = _obj1;
4039}
4040{
4041 PyThreadState* __tstate = wxPyBeginAllowThreads();
4042 _result = (bool )wxColour___eq__(_arg0,_arg1);
4043
4044 wxPyEndAllowThreads(__tstate);
4045 if (PyErr_Occurred()) return NULL;
4046} _resultobj = Py_BuildValue("i",_result);
4047 return _resultobj;
4048}
4049
4050static bool wxColour___ne__(wxColour *self,PyObject * obj) {
4051 wxColour tmp;
4052 wxColour* ptr = &tmp;
4053 if (obj == Py_None) return TRUE;
4054 wxPyBLOCK_THREADS(bool success = wxColour_helper(obj, &ptr); PyErr_Clear());
4055 if (! success) return TRUE;
4056 return *self != *ptr;
4057 }
4058static PyObject *_wrap_wxColour___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
4059 PyObject * _resultobj;
4060 bool _result;
4061 wxColour * _arg0;
4062 PyObject * _arg1;
4063 wxColour temp;
4064 PyObject * _obj0 = 0;
4065 PyObject * _obj1 = 0;
4066 char *_kwnames[] = { "self","obj", NULL };
4067
4068 self = self;
4069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxColour___ne__",_kwnames,&_obj0,&_obj1))
4070 return NULL;
4071{
4072 _arg0 = &temp;
4073 if (! wxColour_helper(_obj0, &_arg0))
4074 return NULL;
4075}
4076{
4077 _arg1 = _obj1;
4078}
4079{
4080 PyThreadState* __tstate = wxPyBeginAllowThreads();
4081 _result = (bool )wxColour___ne__(_arg0,_arg1);
4082
4083 wxPyEndAllowThreads(__tstate);
4084 if (PyErr_Occurred()) return NULL;
4085} _resultobj = Py_BuildValue("i",_result);
4086 return _resultobj;
4087}
4088
9416aa89
RD
4089static void *SwigwxColourDatabaseTowxObject(void *ptr) {
4090 wxColourDatabase *src;
4091 wxObject *dest;
4092 src = (wxColourDatabase *) ptr;
4093 dest = (wxObject *) src;
4094 return (void *) dest;
4095}
4096
0569df0f
RD
4097#define wxColourDatabase_FindColour(_swigobj,_swigarg0) (_swigobj->FindColour(_swigarg0))
4098static PyObject *_wrap_wxColourDatabase_FindColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4099 PyObject * _resultobj;
4100 wxColour * _result;
4101 wxColourDatabase * _arg0;
4102 wxString * _arg1;
4103 PyObject * _argo0 = 0;
4104 PyObject * _obj1 = 0;
4105 char *_kwnames[] = { "self","colour", NULL };
4106 char _ptemp[128];
4107
4108 self = self;
4109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxColourDatabase_FindColour",_kwnames,&_argo0,&_obj1))
4110 return NULL;
4111 if (_argo0) {
4112 if (_argo0 == Py_None) { _arg0 = NULL; }
4113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDatabase_p")) {
4114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDatabase_FindColour. Expected _wxColourDatabase_p.");
4115 return NULL;
8ab979d7 4116 }
0569df0f
RD
4117 }
4118{
c8bc7bb8
RD
4119 _arg1 = wxString_in_helper(_obj1);
4120 if (_arg1 == NULL)
0569df0f 4121 return NULL;
0569df0f
RD
4122}
4123{
4268f798 4124 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4125 _result = (wxColour *)wxColourDatabase_FindColour(_arg0,*_arg1);
8ab979d7 4126
4268f798 4127 wxPyEndAllowThreads(__tstate);
493f1553 4128 if (PyErr_Occurred()) return NULL;
0569df0f
RD
4129} if (_result) {
4130 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
4131 _resultobj = Py_BuildValue("s",_ptemp);
4132 } else {
4133 Py_INCREF(Py_None);
4134 _resultobj = Py_None;
4135 }
4136{
4137 if (_obj1)
4138 delete _arg1;
4139}
4140 return _resultobj;
4141}
4142
5a2a9da2
RD
4143#define wxColourDatabase_FindColourNoAdd(_swigobj,_swigarg0) (_swigobj->FindColourNoAdd(_swigarg0))
4144static PyObject *_wrap_wxColourDatabase_FindColourNoAdd(PyObject *self, PyObject *args, PyObject *kwargs) {
4145 PyObject * _resultobj;
4146 wxColour * _result;
4147 wxColourDatabase * _arg0;
4148 wxString * _arg1;
4149 PyObject * _argo0 = 0;
4150 PyObject * _obj1 = 0;
4151 char *_kwnames[] = { "self","colour", NULL };
4152 char _ptemp[128];
4153
4154 self = self;
4155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxColourDatabase_FindColourNoAdd",_kwnames,&_argo0,&_obj1))
4156 return NULL;
4157 if (_argo0) {
4158 if (_argo0 == Py_None) { _arg0 = NULL; }
4159 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDatabase_p")) {
4160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDatabase_FindColourNoAdd. Expected _wxColourDatabase_p.");
4161 return NULL;
4162 }
4163 }
4164{
4165 _arg1 = wxString_in_helper(_obj1);
4166 if (_arg1 == NULL)
4167 return NULL;
4168}
4169{
4170 PyThreadState* __tstate = wxPyBeginAllowThreads();
4171 _result = (wxColour *)wxColourDatabase_FindColourNoAdd(_arg0,*_arg1);
4172
4173 wxPyEndAllowThreads(__tstate);
4174 if (PyErr_Occurred()) return NULL;
4175} if (_result) {
4176 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
4177 _resultobj = Py_BuildValue("s",_ptemp);
4178 } else {
4179 Py_INCREF(Py_None);
4180 _resultobj = Py_None;
4181 }
4182{
4183 if (_obj1)
4184 delete _arg1;
4185}
4186 return _resultobj;
4187}
4188
0569df0f
RD
4189#define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
4190static PyObject *_wrap_wxColourDatabase_FindName(PyObject *self, PyObject *args, PyObject *kwargs) {
4191 PyObject * _resultobj;
4192 wxString * _result;
4193 wxColourDatabase * _arg0;
4194 wxColour * _arg1;
4195 PyObject * _argo0 = 0;
4196 wxColour temp;
4197 PyObject * _obj1 = 0;
4198 char *_kwnames[] = { "self","colour", NULL };
4199
4200 self = self;
4201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxColourDatabase_FindName",_kwnames,&_argo0,&_obj1))
4202 return NULL;
4203 if (_argo0) {
4204 if (_argo0 == Py_None) { _arg0 = NULL; }
4205 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDatabase_p")) {
4206 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
4207 return NULL;
4208 }
4209 }
4210{
4211 _arg1 = &temp;
4212 if (! wxColour_helper(_obj1, &_arg1))
4213 return NULL;
4214}
4215{
4268f798 4216 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4217 _result = new wxString (wxColourDatabase_FindName(_arg0,*_arg1));
0569df0f 4218
4268f798 4219 wxPyEndAllowThreads(__tstate);
493f1553 4220 if (PyErr_Occurred()) return NULL;
0569df0f 4221}{
c8bc7bb8 4222#if wxUSE_UNICODE
7e50db3f 4223 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 4224#else
0569df0f 4225 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 4226#endif
0569df0f
RD
4227}
4228{
4229 delete _result;
4230}
4231 return _resultobj;
4232}
4233
5a2a9da2
RD
4234static void wxColourDatabase_AddColour(wxColourDatabase *self,const wxString & name,wxColour * colour) {
4235 // make a copy since the python one will be GC'd
4236 wxColour* c = new wxColour(*colour);
4237 self->AddColour(name, c);
4238 }
4239static PyObject *_wrap_wxColourDatabase_AddColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4240 PyObject * _resultobj;
4241 wxColourDatabase * _arg0;
4242 wxString * _arg1;
4243 wxColour * _arg2;
4244 PyObject * _argo0 = 0;
4245 PyObject * _obj1 = 0;
4246 wxColour temp;
4247 PyObject * _obj2 = 0;
4248 char *_kwnames[] = { "self","name","colour", NULL };
4249
4250 self = self;
4251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxColourDatabase_AddColour",_kwnames,&_argo0,&_obj1,&_obj2))
4252 return NULL;
4253 if (_argo0) {
4254 if (_argo0 == Py_None) { _arg0 = NULL; }
4255 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDatabase_p")) {
4256 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDatabase_AddColour. Expected _wxColourDatabase_p.");
4257 return NULL;
4258 }
4259 }
4260{
4261 _arg1 = wxString_in_helper(_obj1);
4262 if (_arg1 == NULL)
4263 return NULL;
4264}
4265{
4266 _arg2 = &temp;
4267 if (! wxColour_helper(_obj2, &_arg2))
4268 return NULL;
4269}
4270{
4271 PyThreadState* __tstate = wxPyBeginAllowThreads();
4272 wxColourDatabase_AddColour(_arg0,*_arg1,_arg2);
4273
4274 wxPyEndAllowThreads(__tstate);
4275 if (PyErr_Occurred()) return NULL;
4276} Py_INCREF(Py_None);
4277 _resultobj = Py_None;
4278{
4279 if (_obj1)
4280 delete _arg1;
4281}
4282 return _resultobj;
4283}
fe40185d 4284
5a2a9da2
RD
4285static void wxColourDatabase_Append(wxColourDatabase *self,const wxString & name,int red,int green,int blue) {
4286 wxColour* c = new wxColour(red, green, blue);
4287 self->AddColour(name, c);
0569df0f
RD
4288 }
4289static PyObject *_wrap_wxColourDatabase_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
4290 PyObject * _resultobj;
4291 wxColourDatabase * _arg0;
4292 wxString * _arg1;
4293 int _arg2;
4294 int _arg3;
4295 int _arg4;
4296 PyObject * _argo0 = 0;
4297 PyObject * _obj1 = 0;
4298 char *_kwnames[] = { "self","name","red","green","blue", NULL };
4299
4300 self = self;
4301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiii:wxColourDatabase_Append",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_arg4))
4302 return NULL;
4303 if (_argo0) {
4304 if (_argo0 == Py_None) { _arg0 = NULL; }
4305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColourDatabase_p")) {
4306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
4307 return NULL;
4308 }
4309 }
4310{
c8bc7bb8
RD
4311 _arg1 = wxString_in_helper(_obj1);
4312 if (_arg1 == NULL)
0569df0f 4313 return NULL;
0569df0f
RD
4314}
4315{
4268f798 4316 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4317 wxColourDatabase_Append(_arg0,*_arg1,_arg2,_arg3,_arg4);
0569df0f 4318
4268f798 4319 wxPyEndAllowThreads(__tstate);
493f1553 4320 if (PyErr_Occurred()) return NULL;
0569df0f
RD
4321} Py_INCREF(Py_None);
4322 _resultobj = Py_None;
4323{
4324 if (_obj1)
4325 delete _arg1;
4326}
4327 return _resultobj;
4328}
4329
9416aa89
RD
4330static void *SwigwxPenTowxGDIObject(void *ptr) {
4331 wxPen *src;
4332 wxGDIObject *dest;
4333 src = (wxPen *) ptr;
4334 dest = (wxGDIObject *) src;
4335 return (void *) dest;
4336}
4337
4338static void *SwigwxPenTowxObject(void *ptr) {
4339 wxPen *src;
4340 wxObject *dest;
4341 src = (wxPen *) ptr;
4342 dest = (wxObject *) src;
4343 return (void *) dest;
4344}
4345
0569df0f 4346#define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 4347static PyObject *_wrap_new_wxPen(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4348 PyObject * _resultobj;
4349 wxPen * _result;
4350 wxColour * _arg0;
1d99702e
RD
4351 int _arg1 = (int ) 1;
4352 int _arg2 = (int ) wxSOLID;
f6bcfd97
BP
4353 wxColour temp;
4354 PyObject * _obj0 = 0;
1afc06c2 4355 char *_kwnames[] = { "colour","width","style", NULL };
8ab979d7
RD
4356 char _ptemp[128];
4357
4358 self = self;
f6bcfd97 4359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:new_wxPen",_kwnames,&_obj0,&_arg1,&_arg2))
8ab979d7 4360 return NULL;
f6bcfd97
BP
4361{
4362 _arg0 = &temp;
4363 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 4364 return NULL;
f6bcfd97 4365}
cf694132 4366{
4268f798 4367 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4368 _result = (wxPen *)new_wxPen(*_arg0,_arg1,_arg2);
cf694132 4369
4268f798 4370 wxPyEndAllowThreads(__tstate);
493f1553 4371 if (PyErr_Occurred()) return NULL;
1d99702e
RD
4372} if (_result) {
4373 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
4374 _resultobj = Py_BuildValue("s",_ptemp);
4375 } else {
4376 Py_INCREF(Py_None);
4377 _resultobj = Py_None;
4378 }
8ab979d7
RD
4379 return _resultobj;
4380}
4381
0569df0f
RD
4382#define delete_wxPen(_swigobj) (delete _swigobj)
4383static PyObject *_wrap_delete_wxPen(PyObject *self, PyObject *args, PyObject *kwargs) {
4384 PyObject * _resultobj;
4385 wxPen * _arg0;
4386 PyObject * _argo0 = 0;
4387 char *_kwnames[] = { "self", NULL };
4388
4389 self = self;
4390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPen",_kwnames,&_argo0))
4391 return NULL;
4392 if (_argo0) {
4393 if (_argo0 == Py_None) { _arg0 = NULL; }
4394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
4395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
4396 return NULL;
4397 }
4398 }
4399{
4268f798 4400 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4401 delete_wxPen(_arg0);
0569df0f 4402
4268f798 4403 wxPyEndAllowThreads(__tstate);
493f1553 4404 if (PyErr_Occurred()) return NULL;
0569df0f
RD
4405} Py_INCREF(Py_None);
4406 _resultobj = Py_None;
4407 return _resultobj;
4408}
4409
8ab979d7 4410#define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
1afc06c2 4411static PyObject *_wrap_wxPen_GetCap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4412 PyObject * _resultobj;
4413 int _result;
4414 wxPen * _arg0;
1d99702e 4415 PyObject * _argo0 = 0;
1afc06c2 4416 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4417
4418 self = self;
1afc06c2 4419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetCap",_kwnames,&_argo0))
8ab979d7 4420 return NULL;
1d99702e
RD
4421 if (_argo0) {
4422 if (_argo0 == Py_None) { _arg0 = NULL; }
4423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
4424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
4425 return NULL;
4426 }
4427 }
cf694132 4428{
4268f798 4429 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4430 _result = (int )wxPen_GetCap(_arg0);
cf694132 4431
4268f798 4432 wxPyEndAllowThreads(__tstate);
493f1553 4433 if (PyErr_Occurred()) return NULL;
cf694132 4434} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4435 return _resultobj;
4436}
4437
4438#define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
1afc06c2 4439static PyObject *_wrap_wxPen_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4440 PyObject * _resultobj;
4441 wxColour * _result;
4442 wxPen * _arg0;
1d99702e 4443 PyObject * _argo0 = 0;
1afc06c2 4444 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4445 char _ptemp[128];
4446
4447 self = self;
1afc06c2 4448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetColour",_kwnames,&_argo0))
8ab979d7 4449 return NULL;
1d99702e
RD
4450 if (_argo0) {
4451 if (_argo0 == Py_None) { _arg0 = NULL; }
4452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
4453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
4454 return NULL;
4455 }
4456 }
cf694132 4457{
4268f798 4458 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4459 _result = new wxColour (wxPen_GetColour(_arg0));
cf694132 4460
4268f798 4461 wxPyEndAllowThreads(__tstate);
493f1553 4462 if (PyErr_Occurred()) return NULL;
25832b3f
RD
4463} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
4464 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
4465 return _resultobj;
4466}
4467
8ab979d7 4468#define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
1afc06c2 4469static PyObject *_wrap_wxPen_GetJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4470 PyObject * _resultobj;
4471 int _result;
4472 wxPen * _arg0;
1d99702e 4473 PyObject * _argo0 = 0;
1afc06c2 4474 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4475
4476 self = self;
1afc06c2 4477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetJoin",_kwnames,&_argo0))
8ab979d7 4478 return NULL;
1d99702e
RD
4479 if (_argo0) {
4480 if (_argo0 == Py_None) { _arg0 = NULL; }
4481 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
4482 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
4483 return NULL;
4484 }
4485 }
cf694132 4486{
4268f798 4487 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4488 _result = (int )wxPen_GetJoin(_arg0);
cf694132 4489
4268f798 4490 wxPyEndAllowThreads(__tstate);
493f1553 4491 if (PyErr_Occurred()) return NULL;
cf694132 4492} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4493 return _resultobj;
4494}
4495
4496#define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
1afc06c2 4497static PyObject *_wrap_wxPen_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4498 PyObject * _resultobj;
4499 int _result;
4500 wxPen * _arg0;
1d99702e 4501 PyObject * _argo0 = 0;
1afc06c2 4502 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4503
4504 self = self;
1afc06c2 4505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetStyle",_kwnames,&_argo0))
8ab979d7 4506 return NULL;
1d99702e
RD
4507 if (_argo0) {
4508 if (_argo0 == Py_None) { _arg0 = NULL; }
4509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
4510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
4511 return NULL;
4512 }
4513 }
cf694132 4514{
4268f798 4515 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4516 _result = (int )wxPen_GetStyle(_arg0);
cf694132 4517
4268f798 4518 wxPyEndAllowThreads(__tstate);
493f1553 4519 if (PyErr_Occurred()) return NULL;
cf694132 4520} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4521 return _resultobj;
4522}
4523
4524#define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
1afc06c2 4525static PyObject *_wrap_wxPen_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4526 PyObject * _resultobj;
4527 int _result;
4528 wxPen * _arg0;
1d99702e 4529 PyObject * _argo0 = 0;
1afc06c2 4530 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4531
4532 self = self;
1afc06c2 4533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetWidth",_kwnames,&_argo0))
8ab979d7 4534 return NULL;
1d99702e
RD
4535 if (_argo0) {
4536 if (_argo0 == Py_None) { _arg0 = NULL; }
4537 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
4538 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
4539 return NULL;
4540 }
4541 }
cf694132 4542{
4268f798 4543 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4544 _result = (int )wxPen_GetWidth(_arg0);
cf694132 4545
4268f798 4546 wxPyEndAllowThreads(__tstate);
493f1553 4547 if (PyErr_Occurred()) return NULL;
cf694132 4548} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4549 return _resultobj;
4550}
4551
4552#define wxPen_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 4553static PyObject *_wrap_wxPen_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4554 PyObject * _resultobj;
4555 bool _result;
4556 wxPen * _arg0;
1d99702e 4557 PyObject * _argo0 = 0;
1afc06c2 4558 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4559
4560 self = self;
1afc06c2 4561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_Ok",_kwnames,&_argo0))
8ab979d7 4562 return NULL;
1d99702e
RD
4563 if (_argo0) {
4564 if (_argo0 == Py_None) { _arg0 = NULL; }
4565 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
4566 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
4567 return NULL;
4568 }
4569 }
cf694132 4570{
4268f798 4571 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4572 _result = (bool )wxPen_Ok(_arg0);
cf694132 4573
4268f798 4574 wxPyEndAllowThreads(__tstate);
493f1553 4575 if (PyErr_Occurred()) return NULL;
cf694132 4576} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4577 return _resultobj;
4578}
4579
4580#define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
1afc06c2 4581static PyObject *_wrap_wxPen_SetCap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4582 PyObject * _resultobj;
4583 wxPen * _arg0;
4584 int _arg1;
1d99702e 4585 PyObject * _argo0 = 0;
1afc06c2 4586 char *_kwnames[] = { "self","cap_style", NULL };
8ab979d7
RD
4587
4588 self = self;
1afc06c2 4589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPen_SetCap",_kwnames,&_argo0,&_arg1))
8ab979d7 4590 return NULL;
1d99702e
RD
4591 if (_argo0) {
4592 if (_argo0 == Py_None) { _arg0 = NULL; }
4593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
4594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
4595 return NULL;
4596 }
4597 }
cf694132 4598{
4268f798 4599 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4600 wxPen_SetCap(_arg0,_arg1);
cf694132 4601
4268f798 4602 wxPyEndAllowThreads(__tstate);
493f1553 4603 if (PyErr_Occurred()) return NULL;
cf694132 4604} Py_INCREF(Py_None);
8ab979d7
RD
4605 _resultobj = Py_None;
4606 return _resultobj;
4607}
4608
4609#define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
1afc06c2 4610static PyObject *_wrap_wxPen_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4611 PyObject * _resultobj;
4612 wxPen * _arg0;
4613 wxColour * _arg1;
1d99702e 4614 PyObject * _argo0 = 0;
f6bcfd97
BP
4615 wxColour temp;
4616 PyObject * _obj1 = 0;
1afc06c2 4617 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
4618
4619 self = self;
f6bcfd97 4620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPen_SetColour",_kwnames,&_argo0,&_obj1))
8ab979d7 4621 return NULL;
1d99702e
RD
4622 if (_argo0) {
4623 if (_argo0 == Py_None) { _arg0 = NULL; }
4624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
4625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
4626 return NULL;
4627 }
4628 }
f6bcfd97
BP
4629{
4630 _arg1 = &temp;
4631 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 4632 return NULL;
f6bcfd97 4633}
cf694132 4634{
4268f798 4635 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4636 wxPen_SetColour(_arg0,*_arg1);
cf694132 4637
4268f798 4638 wxPyEndAllowThreads(__tstate);
493f1553 4639 if (PyErr_Occurred()) return NULL;
cf694132 4640} Py_INCREF(Py_None);
8ab979d7
RD
4641 _resultobj = Py_None;
4642 return _resultobj;
4643}
4644
2ea09579 4645#define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
1afc06c2 4646static PyObject *_wrap_wxPen_SetJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4647 PyObject * _resultobj;
4648 wxPen * _arg0;
4649 int _arg1;
1d99702e 4650 PyObject * _argo0 = 0;
1afc06c2 4651 char *_kwnames[] = { "self","join_style", NULL };
8ab979d7
RD
4652
4653 self = self;
1afc06c2 4654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPen_SetJoin",_kwnames,&_argo0,&_arg1))
8ab979d7 4655 return NULL;
1d99702e
RD
4656 if (_argo0) {
4657 if (_argo0 == Py_None) { _arg0 = NULL; }
4658 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579 4659 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
8ab979d7
RD
4660 return NULL;
4661 }
4662 }
cf694132 4663{
4268f798 4664 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4665 wxPen_SetJoin(_arg0,_arg1);
cf694132 4666
4268f798 4667 wxPyEndAllowThreads(__tstate);
493f1553 4668 if (PyErr_Occurred()) return NULL;
cf694132 4669} Py_INCREF(Py_None);
2ea09579
RD
4670 _resultobj = Py_None;
4671 return _resultobj;
4672}
4673
4674#define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1afc06c2 4675static PyObject *_wrap_wxPen_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2ea09579
RD
4676 PyObject * _resultobj;
4677 wxPen * _arg0;
4678 int _arg1;
1d99702e 4679 PyObject * _argo0 = 0;
1afc06c2 4680 char *_kwnames[] = { "self","style", NULL };
2ea09579
RD
4681
4682 self = self;
1afc06c2 4683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPen_SetStyle",_kwnames,&_argo0,&_arg1))
8ab979d7 4684 return NULL;
1d99702e
RD
4685 if (_argo0) {
4686 if (_argo0 == Py_None) { _arg0 = NULL; }
4687 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579
RD
4688 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
4689 return NULL;
4690 }
8ab979d7 4691 }
cf694132 4692{
4268f798 4693 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4694 wxPen_SetStyle(_arg0,_arg1);
cf694132 4695
4268f798 4696 wxPyEndAllowThreads(__tstate);
493f1553 4697 if (PyErr_Occurred()) return NULL;
cf694132 4698} Py_INCREF(Py_None);
8ab979d7 4699 _resultobj = Py_None;
2ea09579 4700 return _resultobj;
8ab979d7 4701}
2ea09579
RD
4702
4703#define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1afc06c2 4704static PyObject *_wrap_wxPen_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2ea09579
RD
4705 PyObject * _resultobj;
4706 wxPen * _arg0;
4707 int _arg1;
1d99702e 4708 PyObject * _argo0 = 0;
1afc06c2 4709 char *_kwnames[] = { "self","width", NULL };
2ea09579
RD
4710
4711 self = self;
1afc06c2 4712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPen_SetWidth",_kwnames,&_argo0,&_arg1))
2ea09579 4713 return NULL;
1d99702e
RD
4714 if (_argo0) {
4715 if (_argo0 == Py_None) { _arg0 = NULL; }
4716 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579
RD
4717 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
4718 return NULL;
4719 }
4720 }
cf694132 4721{
4268f798 4722 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4723 wxPen_SetWidth(_arg0,_arg1);
cf694132 4724
4268f798 4725 wxPyEndAllowThreads(__tstate);
493f1553 4726 if (PyErr_Occurred()) return NULL;
cf694132 4727} Py_INCREF(Py_None);
2ea09579 4728 _resultobj = Py_None;
8ab979d7
RD
4729 return _resultobj;
4730}
4731
2ea09579 4732#define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
1afc06c2 4733static PyObject *_wrap_wxPen_SetDashes(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4734 PyObject * _resultobj;
4735 wxPen * _arg0;
4736 int _arg1;
2ea09579 4737 wxDash * _arg2;
1d99702e 4738 PyObject * _argo0 = 0;
2ea09579 4739 PyObject * _obj2 = 0;
eec92d76 4740 char *_kwnames[] = { "self","choices", NULL };
8ab979d7
RD
4741
4742 self = self;
1afc06c2 4743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPen_SetDashes",_kwnames,&_argo0,&_obj2))
8ab979d7 4744 return NULL;
1d99702e
RD
4745 if (_argo0) {
4746 if (_argo0 == Py_None) { _arg0 = NULL; }
4747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579 4748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
8ab979d7
RD
4749 return NULL;
4750 }
4751 }
2ea09579
RD
4752 if (_obj2)
4753{
f6bcfd97 4754 _arg2 = (wxDash*)byte_LIST_helper(_obj2);
2ea09579
RD
4755 if (_arg2 == NULL) {
4756 return NULL;
4757 }
4758}
4759{
cf694132
RD
4760 if (_obj2) {
4761 _arg1 = PyList_Size(_obj2);
4762 }
4763 else {
4764 _arg1 = 0;
4765 }
2ea09579 4766}
cf694132 4767{
4268f798 4768 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4769 wxPen_SetDashes(_arg0,_arg1,_arg2);
cf694132 4770
4268f798 4771 wxPyEndAllowThreads(__tstate);
493f1553 4772 if (PyErr_Occurred()) return NULL;
cf694132 4773} Py_INCREF(Py_None);
8ab979d7 4774 _resultobj = Py_None;
2ea09579
RD
4775{
4776 delete [] _arg2;
4777}
8ab979d7
RD
4778 return _resultobj;
4779}
4780
756ed80c
RD
4781static PyObject * wxPen_GetDashes(wxPen *self) {
4782 wxDash* dashes;
4783 int count = self->GetDashes(&dashes);
4784 wxPyBeginBlockThreads();
4785 PyObject* retval = PyList_New(0);
4786 for (int x=0; x<count; x++)
4787 PyList_Append(retval, PyInt_FromLong(dashes[x]));
4788 wxPyEndBlockThreads();
4789 return retval;
4790 }
4791static PyObject *_wrap_wxPen_GetDashes(PyObject *self, PyObject *args, PyObject *kwargs) {
4792 PyObject * _resultobj;
4793 PyObject * _result;
4794 wxPen * _arg0;
4795 PyObject * _argo0 = 0;
4796 char *_kwnames[] = { "self", NULL };
4797
4798 self = self;
4799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetDashes",_kwnames,&_argo0))
4800 return NULL;
4801 if (_argo0) {
4802 if (_argo0 == Py_None) { _arg0 = NULL; }
4803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
4804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
4805 return NULL;
4806 }
4807 }
4808{
4809 PyThreadState* __tstate = wxPyBeginAllowThreads();
4810 _result = (PyObject *)wxPen_GetDashes(_arg0);
4811
4812 wxPyEndAllowThreads(__tstate);
4813 if (PyErr_Occurred()) return NULL;
4814}{
4815 _resultobj = _result;
4816}
4817 return _resultobj;
4818}
4819
6999b0d8
RD
4820#define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
4821static PyObject *_wrap_wxPen_GetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
4822 PyObject * _resultobj;
4823 wxBitmap * _result;
4824 wxPen * _arg0;
4825 PyObject * _argo0 = 0;
4826 char *_kwnames[] = { "self", NULL };
4827 char _ptemp[128];
4828
4829 self = self;
4830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetStipple",_kwnames,&_argo0))
4831 return NULL;
4832 if (_argo0) {
4833 if (_argo0 == Py_None) { _arg0 = NULL; }
4834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
4835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetStipple. Expected _wxPen_p.");
4836 return NULL;
4837 }
4838 }
4839{
4268f798 4840 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4841 _result = (wxBitmap *)wxPen_GetStipple(_arg0);
6999b0d8 4842
4268f798 4843 wxPyEndAllowThreads(__tstate);
493f1553 4844 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
4845} if (_result) {
4846 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
4847 _resultobj = Py_BuildValue("s",_ptemp);
4848 } else {
4849 Py_INCREF(Py_None);
4850 _resultobj = Py_None;
4851 }
4852 return _resultobj;
4853}
4854
2ea09579 4855#define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
1afc06c2 4856static PyObject *_wrap_wxPen_SetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4857 PyObject * _resultobj;
4858 wxPen * _arg0;
2ea09579 4859 wxBitmap * _arg1;
1d99702e
RD
4860 PyObject * _argo0 = 0;
4861 PyObject * _argo1 = 0;
1afc06c2 4862 char *_kwnames[] = { "self","stipple", NULL };
8ab979d7
RD
4863
4864 self = self;
1afc06c2 4865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPen_SetStipple",_kwnames,&_argo0,&_argo1))
8ab979d7 4866 return NULL;
1d99702e
RD
4867 if (_argo0) {
4868 if (_argo0 == Py_None) { _arg0 = NULL; }
4869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579 4870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
8ab979d7
RD
4871 return NULL;
4872 }
4873 }
1d99702e 4874 if (_argo1) {
7e50db3f 4875 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
2ea09579
RD
4876 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
4877 return NULL;
4878 }
4879 }
cf694132 4880{
4268f798 4881 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4882 wxPen_SetStipple(_arg0,*_arg1);
cf694132 4883
4268f798 4884 wxPyEndAllowThreads(__tstate);
493f1553 4885 if (PyErr_Occurred()) return NULL;
cf694132 4886} Py_INCREF(Py_None);
8ab979d7
RD
4887 _resultobj = Py_None;
4888 return _resultobj;
4889}
4890
ecc08ead
RD
4891static void *SwigwxPyPenTowxPen(void *ptr) {
4892 wxPyPen *src;
4893 wxPen *dest;
4894 src = (wxPyPen *) ptr;
4895 dest = (wxPen *) src;
4896 return (void *) dest;
4897}
4898
4899static void *SwigwxPyPenTowxGDIObject(void *ptr) {
4900 wxPyPen *src;
4901 wxGDIObject *dest;
4902 src = (wxPyPen *) ptr;
4903 dest = (wxGDIObject *) src;
4904 return (void *) dest;
4905}
4906
4907static void *SwigwxPyPenTowxObject(void *ptr) {
4908 wxPyPen *src;
4909 wxObject *dest;
4910 src = (wxPyPen *) ptr;
4911 dest = (wxObject *) src;
4912 return (void *) dest;
4913}
4914
4915#define new_wxPyPen(_swigarg0,_swigarg1,_swigarg2) (new wxPyPen(_swigarg0,_swigarg1,_swigarg2))
4916static PyObject *_wrap_new_wxPyPen(PyObject *self, PyObject *args, PyObject *kwargs) {
4917 PyObject * _resultobj;
4918 wxPyPen * _result;
4919 wxColour * _arg0;
4920 int _arg1 = (int ) 1;
4921 int _arg2 = (int ) wxSOLID;
4922 wxColour temp;
4923 PyObject * _obj0 = 0;
4924 char *_kwnames[] = { "colour","width","style", NULL };
4925 char _ptemp[128];
4926
4927 self = self;
4928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:new_wxPyPen",_kwnames,&_obj0,&_arg1,&_arg2))
4929 return NULL;
4930{
4931 _arg0 = &temp;
4932 if (! wxColour_helper(_obj0, &_arg0))
4933 return NULL;
4934}
4935{
4268f798 4936 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4937 _result = (wxPyPen *)new_wxPyPen(*_arg0,_arg1,_arg2);
ecc08ead 4938
4268f798 4939 wxPyEndAllowThreads(__tstate);
ecc08ead
RD
4940 if (PyErr_Occurred()) return NULL;
4941} if (_result) {
4942 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPen_p");
4943 _resultobj = Py_BuildValue("s",_ptemp);
4944 } else {
4945 Py_INCREF(Py_None);
4946 _resultobj = Py_None;
4947 }
4948 return _resultobj;
4949}
4950
4951#define delete_wxPyPen(_swigobj) (delete _swigobj)
4952static PyObject *_wrap_delete_wxPyPen(PyObject *self, PyObject *args, PyObject *kwargs) {
4953 PyObject * _resultobj;
4954 wxPyPen * _arg0;
4955 PyObject * _argo0 = 0;
4956 char *_kwnames[] = { "self", NULL };
4957
4958 self = self;
4959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyPen",_kwnames,&_argo0))
4960 return NULL;
4961 if (_argo0) {
4962 if (_argo0 == Py_None) { _arg0 = NULL; }
4963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPen_p")) {
4964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyPen. Expected _wxPyPen_p.");
4965 return NULL;
4966 }
4967 }
4968{
4268f798 4969 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4970 delete_wxPyPen(_arg0);
ecc08ead 4971
4268f798 4972 wxPyEndAllowThreads(__tstate);
ecc08ead
RD
4973 if (PyErr_Occurred()) return NULL;
4974} Py_INCREF(Py_None);
4975 _resultobj = Py_None;
4976 return _resultobj;
4977}
4978
4979#define wxPyPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
4980static PyObject *_wrap_wxPyPen_SetDashes(PyObject *self, PyObject *args, PyObject *kwargs) {
4981 PyObject * _resultobj;
4982 wxPyPen * _arg0;
4983 int _arg1;
4984 wxDash * _arg2;
4985 PyObject * _argo0 = 0;
4986 PyObject * _obj2 = 0;
4987 char *_kwnames[] = { "self","choices", NULL };
4988
4989 self = self;
4990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPen_SetDashes",_kwnames,&_argo0,&_obj2))
4991 return NULL;
4992 if (_argo0) {
4993 if (_argo0 == Py_None) { _arg0 = NULL; }
4994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPen_p")) {
4995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPen_SetDashes. Expected _wxPyPen_p.");
4996 return NULL;
4997 }
4998 }
4999 if (_obj2)
5000{
5001 _arg2 = (wxDash*)byte_LIST_helper(_obj2);
5002 if (_arg2 == NULL) {
5003 return NULL;
5004 }
5005}
5006{
5007 if (_obj2) {
5008 _arg1 = PyList_Size(_obj2);
5009 }
5010 else {
5011 _arg1 = 0;
5012 }
5013}
5014{
4268f798 5015 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5016 wxPyPen_SetDashes(_arg0,_arg1,_arg2);
ecc08ead 5017
4268f798 5018 wxPyEndAllowThreads(__tstate);
ecc08ead
RD
5019 if (PyErr_Occurred()) return NULL;
5020} Py_INCREF(Py_None);
5021 _resultobj = Py_None;
5022{
5023 delete [] _arg2;
5024}
5025 return _resultobj;
5026}
5027
9416aa89
RD
5028static void *SwigwxPenListTowxObject(void *ptr) {
5029 wxPenList *src;
5030 wxObject *dest;
5031 src = (wxPenList *) ptr;
5032 dest = (wxObject *) src;
5033 return (void *) dest;
5034}
5035
0569df0f
RD
5036#define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
5037static PyObject *_wrap_wxPenList_AddPen(PyObject *self, PyObject *args, PyObject *kwargs) {
5038 PyObject * _resultobj;
5039 wxPenList * _arg0;
5040 wxPen * _arg1;
5041 PyObject * _argo0 = 0;
5042 PyObject * _argo1 = 0;
5043 char *_kwnames[] = { "self","pen", NULL };
5044
5045 self = self;
5046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPenList_AddPen",_kwnames,&_argo0,&_argo1))
5047 return NULL;
5048 if (_argo0) {
5049 if (_argo0 == Py_None) { _arg0 = NULL; }
5050 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPenList_p")) {
5051 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
5052 return NULL;
5053 }
5054 }
5055 if (_argo1) {
5056 if (_argo1 == Py_None) { _arg1 = NULL; }
5057 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) {
5058 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
5059 return NULL;
5060 }
5061 }
5062{
4268f798 5063 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5064 wxPenList_AddPen(_arg0,_arg1);
0569df0f 5065
4268f798 5066 wxPyEndAllowThreads(__tstate);
493f1553 5067 if (PyErr_Occurred()) return NULL;
0569df0f
RD
5068} Py_INCREF(Py_None);
5069 _resultobj = Py_None;
5070 return _resultobj;
5071}
5072
5073#define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
5074static PyObject *_wrap_wxPenList_FindOrCreatePen(PyObject *self, PyObject *args, PyObject *kwargs) {
5075 PyObject * _resultobj;
5076 wxPen * _result;
5077 wxPenList * _arg0;
5078 wxColour * _arg1;
5079 int _arg2;
5080 int _arg3;
5081 PyObject * _argo0 = 0;
5082 wxColour temp;
5083 PyObject * _obj1 = 0;
5084 char *_kwnames[] = { "self","colour","width","style", NULL };
5085 char _ptemp[128];
5086
5087 self = self;
5088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPenList_FindOrCreatePen",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
5089 return NULL;
5090 if (_argo0) {
5091 if (_argo0 == Py_None) { _arg0 = NULL; }
5092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPenList_p")) {
5093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
5094 return NULL;
5095 }
5096 }
5097{
5098 _arg1 = &temp;
5099 if (! wxColour_helper(_obj1, &_arg1))
5100 return NULL;
5101}
5102{
4268f798 5103 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5104 _result = (wxPen *)wxPenList_FindOrCreatePen(_arg0,*_arg1,_arg2,_arg3);
0569df0f 5105
4268f798 5106 wxPyEndAllowThreads(__tstate);
493f1553 5107 if (PyErr_Occurred()) return NULL;
0569df0f
RD
5108} if (_result) {
5109 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
5110 _resultobj = Py_BuildValue("s",_ptemp);
5111 } else {
5112 Py_INCREF(Py_None);
5113 _resultobj = Py_None;
5114 }
5115 return _resultobj;
5116}
5117
5118#define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
5119static PyObject *_wrap_wxPenList_RemovePen(PyObject *self, PyObject *args, PyObject *kwargs) {
5120 PyObject * _resultobj;
5121 wxPenList * _arg0;
5122 wxPen * _arg1;
5123 PyObject * _argo0 = 0;
5124 PyObject * _argo1 = 0;
5125 char *_kwnames[] = { "self","pen", NULL };
5126
5127 self = self;
5128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPenList_RemovePen",_kwnames,&_argo0,&_argo1))
5129 return NULL;
5130 if (_argo0) {
5131 if (_argo0 == Py_None) { _arg0 = NULL; }
5132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPenList_p")) {
5133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
5134 return NULL;
5135 }
5136 }
5137 if (_argo1) {
5138 if (_argo1 == Py_None) { _arg1 = NULL; }
5139 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) {
5140 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
5141 return NULL;
8ab979d7 5142 }
0569df0f
RD
5143 }
5144{
4268f798 5145 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5146 wxPenList_RemovePen(_arg0,_arg1);
8ab979d7 5147
4268f798 5148 wxPyEndAllowThreads(__tstate);
493f1553 5149 if (PyErr_Occurred()) return NULL;
0569df0f
RD
5150} Py_INCREF(Py_None);
5151 _resultobj = Py_None;
5152 return _resultobj;
5153}
5154
2f4e9287
RD
5155#define wxPenList_GetCount(_swigobj) (_swigobj->GetCount())
5156static PyObject *_wrap_wxPenList_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5157 PyObject * _resultobj;
5158 int _result;
5159 wxPenList * _arg0;
5160 PyObject * _argo0 = 0;
5161 char *_kwnames[] = { "self", NULL };
5162
5163 self = self;
5164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPenList_GetCount",_kwnames,&_argo0))
5165 return NULL;
5166 if (_argo0) {
5167 if (_argo0 == Py_None) { _arg0 = NULL; }
5168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPenList_p")) {
5169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPenList_GetCount. Expected _wxPenList_p.");
5170 return NULL;
5171 }
5172 }
5173{
4268f798 5174 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5175 _result = (int )wxPenList_GetCount(_arg0);
2f4e9287 5176
4268f798 5177 wxPyEndAllowThreads(__tstate);
2f4e9287
RD
5178 if (PyErr_Occurred()) return NULL;
5179} _resultobj = Py_BuildValue("i",_result);
5180 return _resultobj;
5181}
5182
9416aa89
RD
5183static void *SwigwxBrushTowxGDIObject(void *ptr) {
5184 wxBrush *src;
5185 wxGDIObject *dest;
5186 src = (wxBrush *) ptr;
5187 dest = (wxGDIObject *) src;
5188 return (void *) dest;
5189}
5190
5191static void *SwigwxBrushTowxObject(void *ptr) {
5192 wxBrush *src;
5193 wxObject *dest;
5194 src = (wxBrush *) ptr;
5195 dest = (wxObject *) src;
5196 return (void *) dest;
5197}
5198
0569df0f 5199#define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
1afc06c2 5200static PyObject *_wrap_new_wxBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5201 PyObject * _resultobj;
5202 wxBrush * _result;
5203 wxColour * _arg0;
1d99702e 5204 int _arg1 = (int ) wxSOLID;
f6bcfd97
BP
5205 wxColour temp;
5206 PyObject * _obj0 = 0;
1afc06c2 5207 char *_kwnames[] = { "colour","style", NULL };
8ab979d7
RD
5208 char _ptemp[128];
5209
5210 self = self;
f6bcfd97 5211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxBrush",_kwnames,&_obj0,&_arg1))
8ab979d7 5212 return NULL;
f6bcfd97
BP
5213{
5214 _arg0 = &temp;
5215 if (! wxColour_helper(_obj0, &_arg0))
8ab979d7 5216 return NULL;
f6bcfd97 5217}
cf694132 5218{
4268f798 5219 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5220 _result = (wxBrush *)new_wxBrush(*_arg0,_arg1);
cf694132 5221
4268f798 5222 wxPyEndAllowThreads(__tstate);
493f1553 5223 if (PyErr_Occurred()) return NULL;
1d99702e
RD
5224} if (_result) {
5225 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
5226 _resultobj = Py_BuildValue("s",_ptemp);
5227 } else {
5228 Py_INCREF(Py_None);
5229 _resultobj = Py_None;
5230 }
8ab979d7
RD
5231 return _resultobj;
5232}
5233
0569df0f
RD
5234#define delete_wxBrush(_swigobj) (delete _swigobj)
5235static PyObject *_wrap_delete_wxBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
5236 PyObject * _resultobj;
5237 wxBrush * _arg0;
5238 PyObject * _argo0 = 0;
5239 char *_kwnames[] = { "self", NULL };
5240
5241 self = self;
5242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxBrush",_kwnames,&_argo0))
5243 return NULL;
5244 if (_argo0) {
5245 if (_argo0 == Py_None) { _arg0 = NULL; }
5246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
5247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
5248 return NULL;
5249 }
5250 }
5251{
4268f798 5252 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5253 delete_wxBrush(_arg0);
0569df0f 5254
4268f798 5255 wxPyEndAllowThreads(__tstate);
493f1553 5256 if (PyErr_Occurred()) return NULL;
0569df0f
RD
5257} Py_INCREF(Py_None);
5258 _resultobj = Py_None;
5259 return _resultobj;
5260}
5261
8ab979d7 5262#define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
1afc06c2 5263static PyObject *_wrap_wxBrush_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5264 PyObject * _resultobj;
5265 wxColour * _result;
5266 wxBrush * _arg0;
1d99702e 5267 PyObject * _argo0 = 0;
1afc06c2 5268 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5269 char _ptemp[128];
5270
5271 self = self;
1afc06c2 5272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrush_GetColour",_kwnames,&_argo0))
8ab979d7 5273 return NULL;
1d99702e
RD
5274 if (_argo0) {
5275 if (_argo0 == Py_None) { _arg0 = NULL; }
5276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
5277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
5278 return NULL;
5279 }
5280 }
cf694132 5281{
4268f798 5282 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5283 _result = new wxColour (wxBrush_GetColour(_arg0));
cf694132 5284
4268f798 5285 wxPyEndAllowThreads(__tstate);
493f1553 5286 if (PyErr_Occurred()) return NULL;
25832b3f
RD
5287} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5288 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
5289 return _resultobj;
5290}
5291
5292#define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
1afc06c2 5293static PyObject *_wrap_wxBrush_GetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5294 PyObject * _resultobj;
5295 wxBitmap * _result;
5296 wxBrush * _arg0;
1d99702e 5297 PyObject * _argo0 = 0;
1afc06c2 5298 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5299 char _ptemp[128];
5300
5301 self = self;
1afc06c2 5302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrush_GetStipple",_kwnames,&_argo0))
8ab979d7 5303 return NULL;
1d99702e
RD
5304 if (_argo0) {
5305 if (_argo0 == Py_None) { _arg0 = NULL; }
5306 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
5307 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
5308 return NULL;
5309 }
5310 }
cf694132 5311{
4268f798 5312 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5313 _result = (wxBitmap *)wxBrush_GetStipple(_arg0);
cf694132 5314
4268f798 5315 wxPyEndAllowThreads(__tstate);
493f1553 5316 if (PyErr_Occurred()) return NULL;
1d99702e
RD
5317} if (_result) {
5318 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
5319 _resultobj = Py_BuildValue("s",_ptemp);
5320 } else {
5321 Py_INCREF(Py_None);
5322 _resultobj = Py_None;
5323 }
8ab979d7
RD
5324 return _resultobj;
5325}
5326
5327#define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
1afc06c2 5328static PyObject *_wrap_wxBrush_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5329 PyObject * _resultobj;
5330 int _result;
5331 wxBrush * _arg0;
1d99702e 5332 PyObject * _argo0 = 0;
1afc06c2 5333 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5334
5335 self = self;
1afc06c2 5336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrush_GetStyle",_kwnames,&_argo0))
8ab979d7 5337 return NULL;
1d99702e
RD
5338 if (_argo0) {
5339 if (_argo0 == Py_None) { _arg0 = NULL; }
5340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
5341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
5342 return NULL;
5343 }
5344 }
cf694132 5345{
4268f798 5346 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5347 _result = (int )wxBrush_GetStyle(_arg0);
cf694132 5348
4268f798 5349 wxPyEndAllowThreads(__tstate);
493f1553 5350 if (PyErr_Occurred()) return NULL;
cf694132 5351} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5352 return _resultobj;
5353}
5354
5355#define wxBrush_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 5356static PyObject *_wrap_wxBrush_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5357 PyObject * _resultobj;
5358 bool _result;
5359 wxBrush * _arg0;
1d99702e 5360 PyObject * _argo0 = 0;
1afc06c2 5361 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5362
5363 self = self;
1afc06c2 5364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrush_Ok",_kwnames,&_argo0))
8ab979d7 5365 return NULL;
1d99702e
RD
5366 if (_argo0) {
5367 if (_argo0 == Py_None) { _arg0 = NULL; }
5368 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
5369 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
5370 return NULL;
5371 }
5372 }
cf694132 5373{
4268f798 5374 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5375 _result = (bool )wxBrush_Ok(_arg0);
cf694132 5376
4268f798 5377 wxPyEndAllowThreads(__tstate);
493f1553 5378 if (PyErr_Occurred()) return NULL;
cf694132 5379} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5380 return _resultobj;
5381}
5382
5383#define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
1afc06c2 5384static PyObject *_wrap_wxBrush_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5385 PyObject * _resultobj;
5386 wxBrush * _arg0;
5387 wxColour * _arg1;
1d99702e 5388 PyObject * _argo0 = 0;
f6bcfd97
BP
5389 wxColour temp;
5390 PyObject * _obj1 = 0;
1afc06c2 5391 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
5392
5393 self = self;
f6bcfd97 5394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBrush_SetColour",_kwnames,&_argo0,&_obj1))
8ab979d7 5395 return NULL;
1d99702e
RD
5396 if (_argo0) {
5397 if (_argo0 == Py_None) { _arg0 = NULL; }
5398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
5399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
5400 return NULL;
5401 }
5402 }
f6bcfd97
BP
5403{
5404 _arg1 = &temp;
5405 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 5406 return NULL;
f6bcfd97 5407}
cf694132 5408{
4268f798 5409 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5410 wxBrush_SetColour(_arg0,*_arg1);
cf694132 5411
4268f798 5412 wxPyEndAllowThreads(__tstate);
493f1553 5413 if (PyErr_Occurred()) return NULL;
cf694132 5414} Py_INCREF(Py_None);
8ab979d7
RD
5415 _resultobj = Py_None;
5416 return _resultobj;
5417}
5418
5419#define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
1afc06c2 5420static PyObject *_wrap_wxBrush_SetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5421 PyObject * _resultobj;
5422 wxBrush * _arg0;
5423 wxBitmap * _arg1;
1d99702e
RD
5424 PyObject * _argo0 = 0;
5425 PyObject * _argo1 = 0;
1afc06c2 5426 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
5427
5428 self = self;
1afc06c2 5429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBrush_SetStipple",_kwnames,&_argo0,&_argo1))
8ab979d7 5430 return NULL;
1d99702e
RD
5431 if (_argo0) {
5432 if (_argo0 == Py_None) { _arg0 = NULL; }
5433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
5434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
5435 return NULL;
5436 }
5437 }
1d99702e 5438 if (_argo1) {
7e50db3f 5439 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
5440 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
5441 return NULL;
5442 }
5443 }
cf694132 5444{
4268f798 5445 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5446 wxBrush_SetStipple(_arg0,*_arg1);
cf694132 5447
4268f798 5448 wxPyEndAllowThreads(__tstate);
493f1553 5449 if (PyErr_Occurred()) return NULL;
cf694132 5450} Py_INCREF(Py_None);
8ab979d7
RD
5451 _resultobj = Py_None;
5452 return _resultobj;
5453}
5454
5455#define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1afc06c2 5456static PyObject *_wrap_wxBrush_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5457 PyObject * _resultobj;
5458 wxBrush * _arg0;
5459 int _arg1;
1d99702e 5460 PyObject * _argo0 = 0;
1afc06c2 5461 char *_kwnames[] = { "self","style", NULL };
8ab979d7
RD
5462
5463 self = self;
1afc06c2 5464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBrush_SetStyle",_kwnames,&_argo0,&_arg1))
8ab979d7 5465 return NULL;
1d99702e
RD
5466 if (_argo0) {
5467 if (_argo0 == Py_None) { _arg0 = NULL; }
5468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
5469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
5470 return NULL;
5471 }
5472 }
cf694132 5473{
4268f798 5474 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5475 wxBrush_SetStyle(_arg0,_arg1);
cf694132 5476
4268f798 5477 wxPyEndAllowThreads(__tstate);
493f1553 5478 if (PyErr_Occurred()) return NULL;
cf694132 5479} Py_INCREF(Py_None);
8ab979d7
RD
5480 _resultobj = Py_None;
5481 return _resultobj;
5482}
5483
6ee2116b
RD
5484static void *SwigwxBrushListTowxObject(void *ptr) {
5485 wxBrushList *src;
5486 wxObject *dest;
5487 src = (wxBrushList *) ptr;
5488 dest = (wxObject *) src;
5489 return (void *) dest;
5490}
5491
0569df0f
RD
5492#define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
5493static PyObject *_wrap_wxBrushList_AddBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
5494 PyObject * _resultobj;
5495 wxBrushList * _arg0;
5496 wxBrush * _arg1;
5497 PyObject * _argo0 = 0;
5498 PyObject * _argo1 = 0;
5499 char *_kwnames[] = { "self","brush", NULL };
5500
5501 self = self;
5502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBrushList_AddBrush",_kwnames,&_argo0,&_argo1))
5503 return NULL;
5504 if (_argo0) {
5505 if (_argo0 == Py_None) { _arg0 = NULL; }
5506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrushList_p")) {
5507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
5508 return NULL;
5509 }
5510 }
5511 if (_argo1) {
5512 if (_argo1 == Py_None) { _arg1 = NULL; }
5513 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) {
5514 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
5515 return NULL;
5516 }
5517 }
5518{
4268f798 5519 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5520 wxBrushList_AddBrush(_arg0,_arg1);
0569df0f 5521
4268f798 5522 wxPyEndAllowThreads(__tstate);
493f1553 5523 if (PyErr_Occurred()) return NULL;
0569df0f
RD
5524} Py_INCREF(Py_None);
5525 _resultobj = Py_None;
5526 return _resultobj;
5527}
5528
5529#define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
5530static PyObject *_wrap_wxBrushList_FindOrCreateBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
5531 PyObject * _resultobj;
5532 wxBrush * _result;
5533 wxBrushList * _arg0;
5534 wxColour * _arg1;
5535 int _arg2;
5536 PyObject * _argo0 = 0;
5537 wxColour temp;
5538 PyObject * _obj1 = 0;
5539 char *_kwnames[] = { "self","colour","style", NULL };
5540 char _ptemp[128];
5541
5542 self = self;
5543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxBrushList_FindOrCreateBrush",_kwnames,&_argo0,&_obj1,&_arg2))
5544 return NULL;
5545 if (_argo0) {
5546 if (_argo0 == Py_None) { _arg0 = NULL; }
5547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrushList_p")) {
5548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
5549 return NULL;
5550 }
5551 }
5552{
5553 _arg1 = &temp;
5554 if (! wxColour_helper(_obj1, &_arg1))
5555 return NULL;
5556}
5557{
4268f798 5558 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5559 _result = (wxBrush *)wxBrushList_FindOrCreateBrush(_arg0,*_arg1,_arg2);
0569df0f 5560
4268f798 5561 wxPyEndAllowThreads(__tstate);
493f1553 5562 if (PyErr_Occurred()) return NULL;
0569df0f
RD
5563} if (_result) {
5564 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
5565 _resultobj = Py_BuildValue("s",_ptemp);
5566 } else {
5567 Py_INCREF(Py_None);
5568 _resultobj = Py_None;
5569 }
5570 return _resultobj;
5571}
5572
5573#define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
5574static PyObject *_wrap_wxBrushList_RemoveBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
5575 PyObject * _resultobj;
5576 wxBrushList * _arg0;
5577 wxBrush * _arg1;
5578 PyObject * _argo0 = 0;
5579 PyObject * _argo1 = 0;
5580 char *_kwnames[] = { "self","brush", NULL };
5581
5582 self = self;
5583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBrushList_RemoveBrush",_kwnames,&_argo0,&_argo1))
5584 return NULL;
5585 if (_argo0) {
5586 if (_argo0 == Py_None) { _arg0 = NULL; }
5587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrushList_p")) {
5588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
5589 return NULL;
5590 }
5591 }
5592 if (_argo1) {
5593 if (_argo1 == Py_None) { _arg1 = NULL; }
5594 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) {
5595 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
5596 return NULL;
5597 }
5598 }
5599{
4268f798 5600 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5601 wxBrushList_RemoveBrush(_arg0,_arg1);
0569df0f 5602
4268f798 5603 wxPyEndAllowThreads(__tstate);
493f1553 5604 if (PyErr_Occurred()) return NULL;
0569df0f
RD
5605} Py_INCREF(Py_None);
5606 _resultobj = Py_None;
5607 return _resultobj;
5608}
5609
2f4e9287
RD
5610#define wxBrushList_GetCount(_swigobj) (_swigobj->GetCount())
5611static PyObject *_wrap_wxBrushList_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5612 PyObject * _resultobj;
5613 int _result;
5614 wxBrushList * _arg0;
5615 PyObject * _argo0 = 0;
5616 char *_kwnames[] = { "self", NULL };
5617
5618 self = self;
5619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrushList_GetCount",_kwnames,&_argo0))
5620 return NULL;
5621 if (_argo0) {
5622 if (_argo0 == Py_None) { _arg0 = NULL; }
5623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrushList_p")) {
5624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrushList_GetCount. Expected _wxBrushList_p.");
5625 return NULL;
5626 }
5627 }
5628{
4268f798 5629 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5630 _result = (int )wxBrushList_GetCount(_arg0);
2f4e9287 5631
4268f798 5632 wxPyEndAllowThreads(__tstate);
2f4e9287
RD
5633 if (PyErr_Occurred()) return NULL;
5634} _resultobj = Py_BuildValue("i",_result);
5635 return _resultobj;
5636}
5637
9416aa89
RD
5638static void *SwigwxDCTowxObject(void *ptr) {
5639 wxDC *src;
5640 wxObject *dest;
5641 src = (wxDC *) ptr;
5642 dest = (wxObject *) src;
5643 return (void *) dest;
5644}
5645
8ab979d7 5646#define delete_wxDC(_swigobj) (delete _swigobj)
1afc06c2 5647static PyObject *_wrap_delete_wxDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5648 PyObject * _resultobj;
5649 wxDC * _arg0;
1d99702e 5650 PyObject * _argo0 = 0;
1afc06c2 5651 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5652
5653 self = self;
1afc06c2 5654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxDC",_kwnames,&_argo0))
8ab979d7 5655 return NULL;
1d99702e
RD
5656 if (_argo0) {
5657 if (_argo0 == Py_None) { _arg0 = NULL; }
5658 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5659 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
5660 return NULL;
5661 }
5662 }
cf694132 5663{
4268f798 5664 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5665 delete_wxDC(_arg0);
cf694132 5666
4268f798 5667 wxPyEndAllowThreads(__tstate);
493f1553 5668 if (PyErr_Occurred()) return NULL;
cf694132 5669} Py_INCREF(Py_None);
8ab979d7
RD
5670 _resultobj = Py_None;
5671 return _resultobj;
5672}
5673
5674#define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
1afc06c2 5675static PyObject *_wrap_wxDC_BeginDrawing(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5676 PyObject * _resultobj;
5677 wxDC * _arg0;
1d99702e 5678 PyObject * _argo0 = 0;
1afc06c2 5679 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5680
5681 self = self;
1afc06c2 5682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_BeginDrawing",_kwnames,&_argo0))
8ab979d7 5683 return NULL;
1d99702e
RD
5684 if (_argo0) {
5685 if (_argo0 == Py_None) { _arg0 = NULL; }
5686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
5688 return NULL;
5689 }
5690 }
cf694132 5691{
4268f798 5692 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5693 wxDC_BeginDrawing(_arg0);
cf694132 5694
4268f798 5695 wxPyEndAllowThreads(__tstate);
493f1553 5696 if (PyErr_Occurred()) return NULL;
cf694132 5697} Py_INCREF(Py_None);
8ab979d7
RD
5698 _resultobj = Py_None;
5699 return _resultobj;
5700}
5701
efc5f224 5702#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 5703static PyObject *_wrap_wxDC_Blit(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5704 PyObject * _resultobj;
5705 bool _result;
5706 wxDC * _arg0;
7e50db3f
RD
5707 wxCoord _arg1;
5708 wxCoord _arg2;
5709 wxCoord _arg3;
5710 wxCoord _arg4;
8ab979d7 5711 wxDC * _arg5;
7e50db3f
RD
5712 wxCoord _arg6;
5713 wxCoord _arg7;
efc5f224
RD
5714 int _arg8 = (int ) wxCOPY;
5715 int _arg9 = (int ) FALSE;
1d99702e
RD
5716 PyObject * _argo0 = 0;
5717 PyObject * _argo5 = 0;
1afc06c2 5718 char *_kwnames[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL };
8ab979d7
RD
5719
5720 self = self;
7e50db3f 5721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiiOii|ii:wxDC_Blit",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_argo5,&_arg6,&_arg7,&_arg8,&_arg9))
8ab979d7 5722 return NULL;
1d99702e
RD
5723 if (_argo0) {
5724 if (_argo0 == Py_None) { _arg0 = NULL; }
5725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
5727 return NULL;
5728 }
5729 }
1d99702e
RD
5730 if (_argo5) {
5731 if (_argo5 == Py_None) { _arg5 = NULL; }
5732 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxDC_p")) {
8ab979d7
RD
5733 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
5734 return NULL;
5735 }
5736 }
cf694132 5737{
4268f798 5738 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5739 _result = (bool )wxDC_Blit(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
cf694132 5740
4268f798 5741 wxPyEndAllowThreads(__tstate);
493f1553 5742 if (PyErr_Occurred()) return NULL;
cf694132 5743} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5744 return _resultobj;
5745}
5746
5747#define wxDC_Clear(_swigobj) (_swigobj->Clear())
1afc06c2 5748static PyObject *_wrap_wxDC_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5749 PyObject * _resultobj;
5750 wxDC * _arg0;
1d99702e 5751 PyObject * _argo0 = 0;
1afc06c2 5752 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5753
5754 self = self;
1afc06c2 5755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_Clear",_kwnames,&_argo0))
8ab979d7 5756 return NULL;
1d99702e
RD
5757 if (_argo0) {
5758 if (_argo0 == Py_None) { _arg0 = NULL; }
5759 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
5761 return NULL;
5762 }
5763 }
cf694132 5764{
4268f798 5765 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5766 wxDC_Clear(_arg0);
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 return _resultobj;
5773}
5774
5775#define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
1afc06c2 5776static PyObject *_wrap_wxDC_CrossHair(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5777 PyObject * _resultobj;
5778 wxDC * _arg0;
7e50db3f
RD
5779 wxCoord _arg1;
5780 wxCoord _arg2;
1d99702e 5781 PyObject * _argo0 = 0;
1afc06c2 5782 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
5783
5784 self = self;
7e50db3f 5785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxDC_CrossHair",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 5786 return NULL;
1d99702e
RD
5787 if (_argo0) {
5788 if (_argo0 == Py_None) { _arg0 = NULL; }
5789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
5791 return NULL;
5792 }
5793 }
cf694132 5794{
4268f798 5795 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5796 wxDC_CrossHair(_arg0,_arg1,_arg2);
cf694132 5797
4268f798 5798 wxPyEndAllowThreads(__tstate);
493f1553 5799 if (PyErr_Occurred()) return NULL;
cf694132 5800} Py_INCREF(Py_None);
8ab979d7
RD
5801 _resultobj = Py_None;
5802 return _resultobj;
5803}
5804
5805#define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
1afc06c2 5806static PyObject *_wrap_wxDC_DestroyClippingRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5807 PyObject * _resultobj;
5808 wxDC * _arg0;
1d99702e 5809 PyObject * _argo0 = 0;
1afc06c2 5810 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5811
5812 self = self;
1afc06c2 5813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_DestroyClippingRegion",_kwnames,&_argo0))
8ab979d7 5814 return NULL;
1d99702e
RD
5815 if (_argo0) {
5816 if (_argo0 == Py_None) { _arg0 = NULL; }
5817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
5819 return NULL;
5820 }
5821 }
cf694132 5822{
4268f798 5823 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5824 wxDC_DestroyClippingRegion(_arg0);
cf694132 5825
4268f798 5826 wxPyEndAllowThreads(__tstate);
493f1553 5827 if (PyErr_Occurred()) return NULL;
cf694132 5828} Py_INCREF(Py_None);
8ab979d7
RD
5829 _resultobj = Py_None;
5830 return _resultobj;
5831}
5832
5833#define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
1afc06c2 5834static PyObject *_wrap_wxDC_DeviceToLogicalX(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5835 PyObject * _resultobj;
7e50db3f 5836 wxCoord _result;
8ab979d7 5837 wxDC * _arg0;
7e50db3f 5838 wxCoord _arg1;
1d99702e 5839 PyObject * _argo0 = 0;
1afc06c2 5840 char *_kwnames[] = { "self","x", NULL };
8ab979d7
RD
5841
5842 self = self;
7e50db3f 5843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_DeviceToLogicalX",_kwnames,&_argo0,&_arg1))
8ab979d7 5844 return NULL;
1d99702e
RD
5845 if (_argo0) {
5846 if (_argo0 == Py_None) { _arg0 = NULL; }
5847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
5849 return NULL;
5850 }
5851 }
cf694132 5852{
4268f798 5853 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e50db3f 5854 _result = (wxCoord )wxDC_DeviceToLogicalX(_arg0,_arg1);
cf694132 5855
4268f798 5856 wxPyEndAllowThreads(__tstate);
493f1553 5857 if (PyErr_Occurred()) return NULL;
7e50db3f 5858} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5859 return _resultobj;
5860}
5861
5862#define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
1afc06c2 5863static PyObject *_wrap_wxDC_DeviceToLogicalXRel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5864 PyObject * _resultobj;
7e50db3f 5865 wxCoord _result;
8ab979d7 5866 wxDC * _arg0;
7e50db3f 5867 wxCoord _arg1;
1d99702e 5868 PyObject * _argo0 = 0;
1afc06c2 5869 char *_kwnames[] = { "self","x", NULL };
8ab979d7
RD
5870
5871 self = self;
7e50db3f 5872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_DeviceToLogicalXRel",_kwnames,&_argo0,&_arg1))
8ab979d7 5873 return NULL;
1d99702e
RD
5874 if (_argo0) {
5875 if (_argo0 == Py_None) { _arg0 = NULL; }
5876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
5878 return NULL;
5879 }
5880 }
cf694132 5881{
4268f798 5882 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e50db3f 5883 _result = (wxCoord )wxDC_DeviceToLogicalXRel(_arg0,_arg1);
cf694132 5884
4268f798 5885 wxPyEndAllowThreads(__tstate);
493f1553 5886 if (PyErr_Occurred()) return NULL;
7e50db3f 5887} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5888 return _resultobj;
5889}
5890
5891#define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
1afc06c2 5892static PyObject *_wrap_wxDC_DeviceToLogicalY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5893 PyObject * _resultobj;
7e50db3f 5894 wxCoord _result;
8ab979d7 5895 wxDC * _arg0;
7e50db3f 5896 wxCoord _arg1;
1d99702e 5897 PyObject * _argo0 = 0;
1afc06c2 5898 char *_kwnames[] = { "self","y", NULL };
8ab979d7
RD
5899
5900 self = self;
7e50db3f 5901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_DeviceToLogicalY",_kwnames,&_argo0,&_arg1))
8ab979d7 5902 return NULL;
1d99702e
RD
5903 if (_argo0) {
5904 if (_argo0 == Py_None) { _arg0 = NULL; }
5905 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5906 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
5907 return NULL;
5908 }
5909 }
cf694132 5910{
4268f798 5911 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e50db3f 5912 _result = (wxCoord )wxDC_DeviceToLogicalY(_arg0,_arg1);
cf694132 5913
4268f798 5914 wxPyEndAllowThreads(__tstate);
493f1553 5915 if (PyErr_Occurred()) return NULL;
7e50db3f 5916} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5917 return _resultobj;
5918}
5919
5920#define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
1afc06c2 5921static PyObject *_wrap_wxDC_DeviceToLogicalYRel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 5922 PyObject * _resultobj;
7e50db3f 5923 wxCoord _result;
8ab979d7 5924 wxDC * _arg0;
7e50db3f 5925 wxCoord _arg1;
1d99702e 5926 PyObject * _argo0 = 0;
1afc06c2 5927 char *_kwnames[] = { "self","y", NULL };
8ab979d7
RD
5928
5929 self = self;
7e50db3f 5930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_DeviceToLogicalYRel",_kwnames,&_argo0,&_arg1))
8ab979d7 5931 return NULL;
1d99702e
RD
5932 if (_argo0) {
5933 if (_argo0 == Py_None) { _arg0 = NULL; }
5934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
5936 return NULL;
5937 }
5938 }
cf694132 5939{
4268f798 5940 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e50db3f 5941 _result = (wxCoord )wxDC_DeviceToLogicalYRel(_arg0,_arg1);
cf694132 5942
4268f798 5943 wxPyEndAllowThreads(__tstate);
493f1553 5944 if (PyErr_Occurred()) return NULL;
7e50db3f 5945} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5946 return _resultobj;
5947}
5948
5949#define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1afc06c2 5950static PyObject *_wrap_wxDC_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5951 PyObject * _resultobj;
5952 wxDC * _arg0;
7e50db3f
RD
5953 wxCoord _arg1;
5954 wxCoord _arg2;
5955 wxCoord _arg3;
5956 wxCoord _arg4;
5957 wxCoord _arg5;
5958 wxCoord _arg6;
1d99702e 5959 PyObject * _argo0 = 0;
1afc06c2 5960 char *_kwnames[] = { "self","x1","y1","x2","y2","xc","yc", NULL };
8ab979d7
RD
5961
5962 self = self;
7e50db3f 5963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiiiii:wxDC_DrawArc",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
8ab979d7 5964 return NULL;
1d99702e
RD
5965 if (_argo0) {
5966 if (_argo0 == Py_None) { _arg0 = NULL; }
5967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
5969 return NULL;
5970 }
5971 }
cf694132 5972{
4268f798 5973 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5974 wxDC_DrawArc(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
cf694132 5975
4268f798 5976 wxPyEndAllowThreads(__tstate);
493f1553 5977 if (PyErr_Occurred()) return NULL;
cf694132 5978} Py_INCREF(Py_None);
8ab979d7
RD
5979 _resultobj = Py_None;
5980 return _resultobj;
5981}
5982
bb0054cd 5983#define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 5984static PyObject *_wrap_wxDC_DrawCircle(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
5985 PyObject * _resultobj;
5986 wxDC * _arg0;
7e50db3f
RD
5987 wxCoord _arg1;
5988 wxCoord _arg2;
5989 wxCoord _arg3;
1d99702e 5990 PyObject * _argo0 = 0;
1afc06c2 5991 char *_kwnames[] = { "self","x","y","radius", NULL };
bb0054cd
RD
5992
5993 self = self;
7e50db3f 5994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxDC_DrawCircle",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
bb0054cd 5995 return NULL;
1d99702e
RD
5996 if (_argo0) {
5997 if (_argo0 == Py_None) { _arg0 = NULL; }
5998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
bb0054cd
RD
5999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
6000 return NULL;
6001 }
6002 }
6003{
4268f798 6004 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6005 wxDC_DrawCircle(_arg0,_arg1,_arg2,_arg3);
bb0054cd 6006
4268f798 6007 wxPyEndAllowThreads(__tstate);
493f1553 6008 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
6009} Py_INCREF(Py_None);
6010 _resultobj = Py_None;
6011 return _resultobj;
6012}
6013
8ab979d7 6014#define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 6015static PyObject *_wrap_wxDC_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6016 PyObject * _resultobj;
6017 wxDC * _arg0;
7e50db3f
RD
6018 wxCoord _arg1;
6019 wxCoord _arg2;
6020 wxCoord _arg3;
6021 wxCoord _arg4;
1d99702e 6022 PyObject * _argo0 = 0;
1afc06c2 6023 char *_kwnames[] = { "self","x","y","width","height", NULL };
8ab979d7
RD
6024
6025 self = self;
7e50db3f 6026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxDC_DrawEllipse",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8ab979d7 6027 return NULL;
1d99702e
RD
6028 if (_argo0) {
6029 if (_argo0 == Py_None) { _arg0 = NULL; }
6030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
6032 return NULL;
6033 }
6034 }
cf694132 6035{
4268f798 6036 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6037 wxDC_DrawEllipse(_arg0,_arg1,_arg2,_arg3,_arg4);
cf694132 6038
4268f798 6039 wxPyEndAllowThreads(__tstate);
493f1553 6040 if (PyErr_Occurred()) return NULL;
cf694132 6041} Py_INCREF(Py_None);
8ab979d7
RD
6042 _resultobj = Py_None;
6043 return _resultobj;
6044}
6045
6046#define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1afc06c2 6047static PyObject *_wrap_wxDC_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6048 PyObject * _resultobj;
6049 wxDC * _arg0;
7e50db3f
RD
6050 wxCoord _arg1;
6051 wxCoord _arg2;
6052 wxCoord _arg3;
6053 wxCoord _arg4;
6054 wxCoord _arg5;
6055 wxCoord _arg6;
1d99702e 6056 PyObject * _argo0 = 0;
1afc06c2 6057 char *_kwnames[] = { "self","x","y","width","height","start","end", NULL };
8ab979d7
RD
6058
6059 self = self;
7e50db3f 6060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiiiii:wxDC_DrawEllipticArc",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
8ab979d7 6061 return NULL;
1d99702e
RD
6062 if (_argo0) {
6063 if (_argo0 == Py_None) { _arg0 = NULL; }
6064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
6066 return NULL;
6067 }
6068 }
cf694132 6069{
4268f798 6070 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6071 wxDC_DrawEllipticArc(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
cf694132 6072
4268f798 6073 wxPyEndAllowThreads(__tstate);
493f1553 6074 if (PyErr_Occurred()) return NULL;
cf694132 6075} Py_INCREF(Py_None);
8ab979d7
RD
6076 _resultobj = Py_None;
6077 return _resultobj;
6078}
6079
6080#define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 6081static PyObject *_wrap_wxDC_DrawIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6082 PyObject * _resultobj;
6083 wxDC * _arg0;
6084 wxIcon * _arg1;
7e50db3f
RD
6085 wxCoord _arg2;
6086 wxCoord _arg3;
1d99702e
RD
6087 PyObject * _argo0 = 0;
6088 PyObject * _argo1 = 0;
1afc06c2 6089 char *_kwnames[] = { "self","icon","x","y", NULL };
8ab979d7
RD
6090
6091 self = self;
7e50db3f 6092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxDC_DrawIcon",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
8ab979d7 6093 return NULL;
1d99702e
RD
6094 if (_argo0) {
6095 if (_argo0 == Py_None) { _arg0 = NULL; }
6096 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
6098 return NULL;
6099 }
6100 }
1d99702e 6101 if (_argo1) {
7e50db3f 6102 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
8ab979d7
RD
6103 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
6104 return NULL;
6105 }
6106 }
cf694132 6107{
4268f798 6108 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6109 wxDC_DrawIcon(_arg0,*_arg1,_arg2,_arg3);
cf694132 6110
4268f798 6111 wxPyEndAllowThreads(__tstate);
493f1553 6112 if (PyErr_Occurred()) return NULL;
cf694132 6113} Py_INCREF(Py_None);
8ab979d7
RD
6114 _resultobj = Py_None;
6115 return _resultobj;
6116}
6117
23bed520
RD
6118#define wxDC_DrawLabel(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLabel(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6119static PyObject *_wrap_wxDC_DrawLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
6120 PyObject * _resultobj;
6121 wxDC * _arg0;
6122 wxString * _arg1;
6123 wxRect * _arg2;
6124 int _arg3 = (int ) wxALIGN_LEFT|wxALIGN_TOP;
6125 int _arg4 = (int ) -1;
6126 PyObject * _argo0 = 0;
6127 PyObject * _obj1 = 0;
6128 wxRect temp;
6129 PyObject * _obj2 = 0;
6130 char *_kwnames[] = { "self","text","rect","alignment","indexAccel", NULL };
6131
6132 self = self;
6133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|ii:wxDC_DrawLabel",_kwnames,&_argo0,&_obj1,&_obj2,&_arg3,&_arg4))
6134 return NULL;
6135 if (_argo0) {
6136 if (_argo0 == Py_None) { _arg0 = NULL; }
6137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
6138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawLabel. Expected _wxDC_p.");
6139 return NULL;
6140 }
6141 }
6142{
c8bc7bb8
RD
6143 _arg1 = wxString_in_helper(_obj1);
6144 if (_arg1 == NULL)
23bed520 6145 return NULL;
23bed520
RD
6146}
6147{
6148 _arg2 = &temp;
6149 if (! wxRect_helper(_obj2, &_arg2))
6150 return NULL;
6151}
6152{
6153 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6154 wxDC_DrawLabel(_arg0,*_arg1,*_arg2,_arg3,_arg4);
23bed520
RD
6155
6156 wxPyEndAllowThreads(__tstate);
6157 if (PyErr_Occurred()) return NULL;
6158} Py_INCREF(Py_None);
6159 _resultobj = Py_None;
6160{
6161 if (_obj1)
6162 delete _arg1;
6163}
6164 return _resultobj;
6165}
6166
6167static wxRect wxDC_DrawImageLabel(wxDC *self,const wxString & text,const wxBitmap & image,const wxRect & rect,int alignment,int indexAccel) {
6168 wxRect rv;
6169 self->DrawLabel(text, image, rect, alignment, indexAccel, &rv);
6170 return rv;
6171 }
6172static PyObject *_wrap_wxDC_DrawImageLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
6173 PyObject * _resultobj;
6174 wxRect * _result;
6175 wxDC * _arg0;
6176 wxString * _arg1;
6177 wxBitmap * _arg2;
6178 wxRect * _arg3;
6179 int _arg4 = (int ) wxALIGN_LEFT|wxALIGN_TOP;
6180 int _arg5 = (int ) -1;
6181 PyObject * _argo0 = 0;
6182 PyObject * _obj1 = 0;
6183 PyObject * _argo2 = 0;
6184 wxRect temp;
6185 PyObject * _obj3 = 0;
6186 char *_kwnames[] = { "self","text","image","rect","alignment","indexAccel", NULL };
6187 char _ptemp[128];
6188
6189 self = self;
6190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|ii:wxDC_DrawImageLabel",_kwnames,&_argo0,&_obj1,&_argo2,&_obj3,&_arg4,&_arg5))
6191 return NULL;
6192 if (_argo0) {
6193 if (_argo0 == Py_None) { _arg0 = NULL; }
6194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
6195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawImageLabel. Expected _wxDC_p.");
6196 return NULL;
6197 }
6198 }
6199{
c8bc7bb8
RD
6200 _arg1 = wxString_in_helper(_obj1);
6201 if (_arg1 == NULL)
23bed520 6202 return NULL;
23bed520
RD
6203}
6204 if (_argo2) {
7e50db3f 6205 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
23bed520
RD
6206 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxDC_DrawImageLabel. Expected _wxBitmap_p.");
6207 return NULL;
6208 }
6209 }
6210{
6211 _arg3 = &temp;
6212 if (! wxRect_helper(_obj3, &_arg3))
6213 return NULL;
6214}
6215{
6216 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6217 _result = new wxRect (wxDC_DrawImageLabel(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5));
23bed520
RD
6218
6219 wxPyEndAllowThreads(__tstate);
6220 if (PyErr_Occurred()) return NULL;
6221} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
6222 _resultobj = Py_BuildValue("s",_ptemp);
6223{
6224 if (_obj1)
6225 delete _arg1;
6226}
6227 return _resultobj;
6228}
6229
8ab979d7 6230#define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 6231static PyObject *_wrap_wxDC_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6232 PyObject * _resultobj;
6233 wxDC * _arg0;
7e50db3f
RD
6234 wxCoord _arg1;
6235 wxCoord _arg2;
6236 wxCoord _arg3;
6237 wxCoord _arg4;
1d99702e 6238 PyObject * _argo0 = 0;
1afc06c2 6239 char *_kwnames[] = { "self","x1","y1","x2","y2", NULL };
8ab979d7
RD
6240
6241 self = self;
7e50db3f 6242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxDC_DrawLine",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8ab979d7 6243 return NULL;
1d99702e
RD
6244 if (_argo0) {
6245 if (_argo0 == Py_None) { _arg0 = NULL; }
6246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
6248 return NULL;
6249 }
6250 }
cf694132 6251{
4268f798 6252 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6253 wxDC_DrawLine(_arg0,_arg1,_arg2,_arg3,_arg4);
cf694132 6254
4268f798 6255 wxPyEndAllowThreads(__tstate);
493f1553 6256 if (PyErr_Occurred()) return NULL;
cf694132 6257} Py_INCREF(Py_None);
8ab979d7
RD
6258 _resultobj = Py_None;
6259 return _resultobj;
6260}
6261
6262#define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 6263static PyObject *_wrap_wxDC_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6264 PyObject * _resultobj;
6265 wxDC * _arg0;
6266 int _arg1;
6267 wxPoint * _arg2;
7e50db3f
RD
6268 wxCoord _arg3 = (wxCoord ) 0;
6269 wxCoord _arg4 = (wxCoord ) 0;
1d99702e 6270 PyObject * _argo0 = 0;
e0672e2f 6271 int NPOINTS;
8ab979d7 6272 PyObject * _obj2 = 0;
eec92d76 6273 char *_kwnames[] = { "self","points","xoffset","yoffset", NULL };
8ab979d7
RD
6274
6275 self = self;
7e50db3f 6276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxDC_DrawLines",_kwnames,&_argo0,&_obj2,&_arg3,&_arg4))
8ab979d7 6277 return NULL;
1d99702e
RD
6278 if (_argo0) {
6279 if (_argo0 == Py_None) { _arg0 = NULL; }
6280 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
6282 return NULL;
6283 }
6284 }
6285 if (_obj2)
6286{
e0672e2f
RD
6287 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
6288 if (_arg2 == NULL) {
6289 return NULL;
6290 }
8ab979d7
RD
6291}
6292{
e0672e2f 6293 _arg1 = NPOINTS;
8ab979d7 6294}
cf694132 6295{
4268f798 6296 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6297 wxDC_DrawLines(_arg0,_arg1,_arg2,_arg3,_arg4);
cf694132 6298
4268f798 6299 wxPyEndAllowThreads(__tstate);
493f1553 6300 if (PyErr_Occurred()) return NULL;
cf694132 6301} Py_INCREF(Py_None);
8ab979d7
RD
6302 _resultobj = Py_None;
6303{
6304 delete [] _arg2;
6305}
6306 return _resultobj;
6307}
6308
6309#define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1afc06c2 6310static PyObject *_wrap_wxDC_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6311 PyObject * _resultobj;
6312 wxDC * _arg0;
6313 int _arg1;
6314 wxPoint * _arg2;
7e50db3f
RD
6315 wxCoord _arg3 = (wxCoord ) 0;
6316 wxCoord _arg4 = (wxCoord ) 0;
1d99702e
RD
6317 int _arg5 = (int ) wxODDEVEN_RULE;
6318 PyObject * _argo0 = 0;
e0672e2f 6319 int NPOINTS;
8ab979d7 6320 PyObject * _obj2 = 0;
eec92d76 6321 char *_kwnames[] = { "self","points","xoffset","yoffset","fill_style", NULL };
8ab979d7
RD
6322
6323 self = self;
7e50db3f 6324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iii:wxDC_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3,&_arg4,&_arg5))
8ab979d7 6325 return NULL;
1d99702e
RD
6326 if (_argo0) {
6327 if (_argo0 == Py_None) { _arg0 = NULL; }
6328 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6329 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
6330 return NULL;
6331 }
6332 }
6333 if (_obj2)
6334{
e0672e2f
RD
6335 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
6336 if (_arg2 == NULL) {
6337 return NULL;
6338 }
8ab979d7
RD
6339}
6340{
e0672e2f 6341 _arg1 = NPOINTS;
8ab979d7 6342}
cf694132 6343{
4268f798 6344 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6345 wxDC_DrawPolygon(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
cf694132 6346
4268f798 6347 wxPyEndAllowThreads(__tstate);
493f1553 6348 if (PyErr_Occurred()) return NULL;
cf694132 6349} Py_INCREF(Py_None);
8ab979d7
RD
6350 _resultobj = Py_None;
6351{
6352 delete [] _arg2;
6353}
6354 return _resultobj;
6355}
6356
6357#define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
1afc06c2 6358static PyObject *_wrap_wxDC_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6359 PyObject * _resultobj;
6360 wxDC * _arg0;
7e50db3f
RD
6361 wxCoord _arg1;
6362 wxCoord _arg2;
1d99702e 6363 PyObject * _argo0 = 0;
1afc06c2 6364 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
6365
6366 self = self;
7e50db3f 6367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxDC_DrawPoint",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 6368 return NULL;
1d99702e
RD
6369 if (_argo0) {
6370 if (_argo0 == Py_None) { _arg0 = NULL; }
6371 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
6373 return NULL;
6374 }
6375 }
cf694132 6376{
4268f798 6377 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6378 wxDC_DrawPoint(_arg0,_arg1,_arg2);
cf694132 6379
4268f798 6380 wxPyEndAllowThreads(__tstate);
493f1553 6381 if (PyErr_Occurred()) return NULL;
cf694132 6382} Py_INCREF(Py_None);
8ab979d7
RD
6383 _resultobj = Py_None;
6384 return _resultobj;
6385}
6386
6387#define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 6388static PyObject *_wrap_wxDC_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6389 PyObject * _resultobj;
6390 wxDC * _arg0;
7e50db3f
RD
6391 wxCoord _arg1;
6392 wxCoord _arg2;
6393 wxCoord _arg3;
6394 wxCoord _arg4;
1d99702e 6395 PyObject * _argo0 = 0;
1afc06c2 6396 char *_kwnames[] = { "self","x","y","width","height", NULL };
8ab979d7
RD
6397
6398 self = self;
7e50db3f 6399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxDC_DrawRectangle",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8ab979d7 6400 return NULL;
1d99702e
RD
6401 if (_argo0) {
6402 if (_argo0 == Py_None) { _arg0 = NULL; }
6403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
6405 return NULL;
6406 }
6407 }
cf694132 6408{
4268f798 6409 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6410 wxDC_DrawRectangle(_arg0,_arg1,_arg2,_arg3,_arg4);
cf694132 6411
4268f798 6412 wxPyEndAllowThreads(__tstate);
493f1553 6413 if (PyErr_Occurred()) return NULL;
cf694132 6414} Py_INCREF(Py_None);
8ab979d7
RD
6415 _resultobj = Py_None;
6416 return _resultobj;
6417}
6418
efe12e95
RD
6419#define wxDC_DrawRectangleRect(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0))
6420static PyObject *_wrap_wxDC_DrawRectangleRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6421 PyObject * _resultobj;
6422 wxDC * _arg0;
6423 wxRect * _arg1;
6424 PyObject * _argo0 = 0;
6425 wxRect temp;
6426 PyObject * _obj1 = 0;
6427 char *_kwnames[] = { "self","rect", NULL };
6428
6429 self = self;
6430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_DrawRectangleRect",_kwnames,&_argo0,&_obj1))
6431 return NULL;
6432 if (_argo0) {
6433 if (_argo0 == Py_None) { _arg0 = NULL; }
6434 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
6435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawRectangleRect. Expected _wxDC_p.");
6436 return NULL;
6437 }
6438 }
6439{
6440 _arg1 = &temp;
6441 if (! wxRect_helper(_obj1, &_arg1))
6442 return NULL;
6443}
6444{
6445 PyThreadState* __tstate = wxPyBeginAllowThreads();
6446 wxDC_DrawRectangleRect(_arg0,*_arg1);
6447
6448 wxPyEndAllowThreads(__tstate);
6449 if (PyErr_Occurred()) return NULL;
6450} Py_INCREF(Py_None);
6451 _resultobj = Py_None;
6452 return _resultobj;
6453}
6454
6999b0d8
RD
6455#define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6456static PyObject *_wrap_wxDC_DrawRotatedText(PyObject *self, PyObject *args, PyObject *kwargs) {
6457 PyObject * _resultobj;
6458 wxDC * _arg0;
6459 wxString * _arg1;
6460 wxCoord _arg2;
6461 wxCoord _arg3;
6462 double _arg4;
6463 PyObject * _argo0 = 0;
6464 PyObject * _obj1 = 0;
6465 char *_kwnames[] = { "self","text","x","y","angle", NULL };
6466
6467 self = self;
6468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiid:wxDC_DrawRotatedText",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_arg4))
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_DrawRotatedText. Expected _wxDC_p.");
6474 return NULL;
6475 }
6476 }
6477{
c8bc7bb8
RD
6478 _arg1 = wxString_in_helper(_obj1);
6479 if (_arg1 == NULL)
185d7c3e 6480 return NULL;
6999b0d8
RD
6481}
6482{
4268f798 6483 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6484 wxDC_DrawRotatedText(_arg0,*_arg1,_arg2,_arg3,_arg4);
6999b0d8 6485
4268f798 6486 wxPyEndAllowThreads(__tstate);
493f1553 6487 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
6488} Py_INCREF(Py_None);
6489 _resultobj = Py_None;
6490{
6491 if (_obj1)
6492 delete _arg1;
6493}
6494 return _resultobj;
6495}
6496
8ab979d7 6497#define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1afc06c2 6498static PyObject *_wrap_wxDC_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6499 PyObject * _resultobj;
6500 wxDC * _arg0;
7e50db3f
RD
6501 wxCoord _arg1;
6502 wxCoord _arg2;
6503 wxCoord _arg3;
6504 wxCoord _arg4;
6505 wxCoord _arg5 = (wxCoord ) 20;
1d99702e 6506 PyObject * _argo0 = 0;
1afc06c2 6507 char *_kwnames[] = { "self","x","y","width","height","radius", NULL };
8ab979d7
RD
6508
6509 self = self;
7e50db3f 6510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxDC_DrawRoundedRectangle",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
8ab979d7 6511 return NULL;
1d99702e
RD
6512 if (_argo0) {
6513 if (_argo0 == Py_None) { _arg0 = NULL; }
6514 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
6516 return NULL;
6517 }
6518 }
cf694132 6519{
4268f798 6520 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6521 wxDC_DrawRoundedRectangle(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
cf694132 6522
4268f798 6523 wxPyEndAllowThreads(__tstate);
493f1553 6524 if (PyErr_Occurred()) return NULL;
cf694132 6525} Py_INCREF(Py_None);
8ab979d7
RD
6526 _resultobj = Py_None;
6527 return _resultobj;
6528}
6529
6530#define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
1afc06c2 6531static PyObject *_wrap_wxDC_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6532 PyObject * _resultobj;
6533 wxDC * _arg0;
6534 int _arg1;
6535 wxPoint * _arg2;
1d99702e 6536 PyObject * _argo0 = 0;
e0672e2f 6537 int NPOINTS;
8ab979d7 6538 PyObject * _obj2 = 0;
eec92d76 6539 char *_kwnames[] = { "self","points", NULL };
8ab979d7
RD
6540
6541 self = self;
1afc06c2 6542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_DrawSpline",_kwnames,&_argo0,&_obj2))
8ab979d7 6543 return NULL;
1d99702e
RD
6544 if (_argo0) {
6545 if (_argo0 == Py_None) { _arg0 = NULL; }
6546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
6548 return NULL;
6549 }
6550 }
6551 if (_obj2)
6552{
e0672e2f
RD
6553 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
6554 if (_arg2 == NULL) {
6555 return NULL;
6556 }
8ab979d7
RD
6557}
6558{
e0672e2f 6559 _arg1 = NPOINTS;
8ab979d7 6560}
cf694132 6561{
4268f798 6562 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6563 wxDC_DrawSpline(_arg0,_arg1,_arg2);
cf694132 6564
4268f798 6565 wxPyEndAllowThreads(__tstate);
493f1553 6566 if (PyErr_Occurred()) return NULL;
cf694132 6567} Py_INCREF(Py_None);
8ab979d7
RD
6568 _resultobj = Py_None;
6569{
6570 delete [] _arg2;
6571}
6572 return _resultobj;
6573}
6574
6575#define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 6576static PyObject *_wrap_wxDC_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6577 PyObject * _resultobj;
6578 wxDC * _arg0;
6579 wxString * _arg1;
7e50db3f
RD
6580 wxCoord _arg2;
6581 wxCoord _arg3;
1d99702e 6582 PyObject * _argo0 = 0;
8ab979d7 6583 PyObject * _obj1 = 0;
1afc06c2 6584 char *_kwnames[] = { "self","text","x","y", NULL };
8ab979d7
RD
6585
6586 self = self;
7e50db3f 6587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxDC_DrawText",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
8ab979d7 6588 return NULL;
1d99702e
RD
6589 if (_argo0) {
6590 if (_argo0 == Py_None) { _arg0 = NULL; }
6591 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
6593 return NULL;
6594 }
6595 }
6596{
c8bc7bb8
RD
6597 _arg1 = wxString_in_helper(_obj1);
6598 if (_arg1 == NULL)
185d7c3e 6599 return NULL;
8ab979d7 6600}
cf694132 6601{
4268f798 6602 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6603 wxDC_DrawText(_arg0,*_arg1,_arg2,_arg3);
cf694132 6604
4268f798 6605 wxPyEndAllowThreads(__tstate);
493f1553 6606 if (PyErr_Occurred()) return NULL;
cf694132 6607} Py_INCREF(Py_None);
8ab979d7
RD
6608 _resultobj = Py_None;
6609{
6610 if (_obj1)
6611 delete _arg1;
6612}
6613 return _resultobj;
6614}
6615
6616#define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
1afc06c2 6617static PyObject *_wrap_wxDC_EndDoc(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6618 PyObject * _resultobj;
6619 wxDC * _arg0;
1d99702e 6620 PyObject * _argo0 = 0;
1afc06c2 6621 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6622
6623 self = self;
1afc06c2 6624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_EndDoc",_kwnames,&_argo0))
8ab979d7 6625 return NULL;
1d99702e
RD
6626 if (_argo0) {
6627 if (_argo0 == Py_None) { _arg0 = NULL; }
6628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
6630 return NULL;
6631 }
6632 }
cf694132 6633{
4268f798 6634 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6635 wxDC_EndDoc(_arg0);
cf694132 6636
4268f798 6637 wxPyEndAllowThreads(__tstate);
493f1553 6638 if (PyErr_Occurred()) return NULL;
cf694132 6639} Py_INCREF(Py_None);
8ab979d7
RD
6640 _resultobj = Py_None;
6641 return _resultobj;
6642}
6643
6644#define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
1afc06c2 6645static PyObject *_wrap_wxDC_EndDrawing(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6646 PyObject * _resultobj;
6647 wxDC * _arg0;
1d99702e 6648 PyObject * _argo0 = 0;
1afc06c2 6649 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6650
6651 self = self;
1afc06c2 6652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_EndDrawing",_kwnames,&_argo0))
8ab979d7 6653 return NULL;
1d99702e
RD
6654 if (_argo0) {
6655 if (_argo0 == Py_None) { _arg0 = NULL; }
6656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
6658 return NULL;
6659 }
6660 }
cf694132 6661{
4268f798 6662 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6663 wxDC_EndDrawing(_arg0);
cf694132 6664
4268f798 6665 wxPyEndAllowThreads(__tstate);
493f1553 6666 if (PyErr_Occurred()) return NULL;
cf694132 6667} Py_INCREF(Py_None);
8ab979d7
RD
6668 _resultobj = Py_None;
6669 return _resultobj;
6670}
6671
6672#define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
1afc06c2 6673static PyObject *_wrap_wxDC_EndPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6674 PyObject * _resultobj;
6675 wxDC * _arg0;
1d99702e 6676 PyObject * _argo0 = 0;
1afc06c2 6677 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6678
6679 self = self;
1afc06c2 6680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_EndPage",_kwnames,&_argo0))
8ab979d7 6681 return NULL;
1d99702e
RD
6682 if (_argo0) {
6683 if (_argo0 == Py_None) { _arg0 = NULL; }
6684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
6686 return NULL;
6687 }
6688 }
cf694132 6689{
4268f798 6690 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6691 wxDC_EndPage(_arg0);
cf694132 6692
4268f798 6693 wxPyEndAllowThreads(__tstate);
493f1553 6694 if (PyErr_Occurred()) return NULL;
cf694132 6695} Py_INCREF(Py_None);
8ab979d7
RD
6696 _resultobj = Py_None;
6697 return _resultobj;
6698}
6699
be4d9c1f 6700#define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 6701static PyObject *_wrap_wxDC_FloodFill(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f 6702 PyObject * _resultobj;
d394edca 6703 bool _result;
be4d9c1f 6704 wxDC * _arg0;
7e50db3f
RD
6705 wxCoord _arg1;
6706 wxCoord _arg2;
be4d9c1f 6707 wxColour * _arg3;
1d99702e
RD
6708 int _arg4 = (int ) wxFLOOD_SURFACE;
6709 PyObject * _argo0 = 0;
f6bcfd97
BP
6710 wxColour temp;
6711 PyObject * _obj3 = 0;
1afc06c2 6712 char *_kwnames[] = { "self","x","y","colour","style", NULL };
be4d9c1f
RD
6713
6714 self = self;
7e50db3f 6715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|i:wxDC_FloodFill",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4))
be4d9c1f 6716 return NULL;
1d99702e
RD
6717 if (_argo0) {
6718 if (_argo0 == Py_None) { _arg0 = NULL; }
6719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
be4d9c1f
RD
6720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
6721 return NULL;
6722 }
6723 }
f6bcfd97
BP
6724{
6725 _arg3 = &temp;
6726 if (! wxColour_helper(_obj3, &_arg3))
be4d9c1f 6727 return NULL;
f6bcfd97 6728}
cf694132 6729{
4268f798 6730 PyThreadState* __tstate = wxPyBeginAllowThreads();
d394edca 6731 _result = (bool )wxDC_FloodFill(_arg0,_arg1,_arg2,*_arg3,_arg4);
cf694132 6732
4268f798 6733 wxPyEndAllowThreads(__tstate);
493f1553 6734 if (PyErr_Occurred()) return NULL;
d394edca 6735} _resultobj = Py_BuildValue("i",_result);
be4d9c1f
RD
6736 return _resultobj;
6737}
6738
8ab979d7 6739#define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
1afc06c2 6740static PyObject *_wrap_wxDC_GetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6741 PyObject * _resultobj;
6742 wxBrush * _result;
6743 wxDC * _arg0;
1d99702e 6744 PyObject * _argo0 = 0;
1afc06c2 6745 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6746 char _ptemp[128];
6747
6748 self = self;
1afc06c2 6749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetBackground",_kwnames,&_argo0))
8ab979d7 6750 return NULL;
1d99702e
RD
6751 if (_argo0) {
6752 if (_argo0 == Py_None) { _arg0 = NULL; }
6753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
6755 return NULL;
6756 }
6757 }
cf694132 6758{
4268f798 6759 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6760 _result = new wxBrush (wxDC_GetBackground(_arg0));
cf694132 6761
4268f798 6762 wxPyEndAllowThreads(__tstate);
493f1553 6763 if (PyErr_Occurred()) return NULL;
c5943253
RD
6764} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBrush_p");
6765 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6766 return _resultobj;
6767}
6768
6769#define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
1afc06c2 6770static PyObject *_wrap_wxDC_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6771 PyObject * _resultobj;
6772 wxBrush * _result;
6773 wxDC * _arg0;
1d99702e 6774 PyObject * _argo0 = 0;
1afc06c2 6775 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6776 char _ptemp[128];
6777
6778 self = self;
1afc06c2 6779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetBrush",_kwnames,&_argo0))
8ab979d7 6780 return NULL;
1d99702e
RD
6781 if (_argo0) {
6782 if (_argo0 == Py_None) { _arg0 = NULL; }
6783 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
6785 return NULL;
6786 }
6787 }
cf694132 6788{
4268f798 6789 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6790 _result = new wxBrush (wxDC_GetBrush(_arg0));
cf694132 6791
4268f798 6792 wxPyEndAllowThreads(__tstate);
493f1553 6793 if (PyErr_Occurred()) return NULL;
c5943253
RD
6794} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBrush_p");
6795 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6796 return _resultobj;
6797}
6798
6799#define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1afc06c2 6800static PyObject *_wrap_wxDC_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6801 PyObject * _resultobj;
7e50db3f 6802 wxCoord _result;
8ab979d7 6803 wxDC * _arg0;
1d99702e 6804 PyObject * _argo0 = 0;
1afc06c2 6805 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6806
6807 self = self;
1afc06c2 6808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetCharHeight",_kwnames,&_argo0))
8ab979d7 6809 return NULL;
1d99702e
RD
6810 if (_argo0) {
6811 if (_argo0 == Py_None) { _arg0 = NULL; }
6812 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6813 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
6814 return NULL;
6815 }
6816 }
cf694132 6817{
4268f798 6818 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e50db3f 6819 _result = (wxCoord )wxDC_GetCharHeight(_arg0);
cf694132 6820
4268f798 6821 wxPyEndAllowThreads(__tstate);
493f1553 6822 if (PyErr_Occurred()) return NULL;
7e50db3f 6823} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6824 return _resultobj;
6825}
6826
6827#define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1afc06c2 6828static PyObject *_wrap_wxDC_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6829 PyObject * _resultobj;
7e50db3f 6830 wxCoord _result;
8ab979d7 6831 wxDC * _arg0;
1d99702e 6832 PyObject * _argo0 = 0;
1afc06c2 6833 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6834
6835 self = self;
1afc06c2 6836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetCharWidth",_kwnames,&_argo0))
8ab979d7 6837 return NULL;
1d99702e
RD
6838 if (_argo0) {
6839 if (_argo0 == Py_None) { _arg0 = NULL; }
6840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
6842 return NULL;
6843 }
6844 }
cf694132 6845{
4268f798 6846 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e50db3f 6847 _result = (wxCoord )wxDC_GetCharWidth(_arg0);
cf694132 6848
4268f798 6849 wxPyEndAllowThreads(__tstate);
493f1553 6850 if (PyErr_Occurred()) return NULL;
7e50db3f 6851} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6852 return _resultobj;
6853}
6854
6855#define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 6856static PyObject *_wrap_wxDC_GetClippingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6857 PyObject * _resultobj;
6858 wxDC * _arg0;
7e50db3f
RD
6859 wxCoord * _arg1;
6860 int temp;
6861 wxCoord * _arg2;
6862 int temp0;
6863 wxCoord * _arg3;
6864 int temp1;
6865 wxCoord * _arg4;
6866 int temp2;
1d99702e 6867 PyObject * _argo0 = 0;
1afc06c2 6868 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6869
6870 self = self;
6871{
6872 _arg1 = &temp;
6873}
6874{
6875 _arg2 = &temp0;
6876}
6877{
6878 _arg3 = &temp1;
6879}
6880{
6881 _arg4 = &temp2;
6882}
1afc06c2 6883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetClippingBox",_kwnames,&_argo0))
8ab979d7 6884 return NULL;
1d99702e
RD
6885 if (_argo0) {
6886 if (_argo0 == Py_None) { _arg0 = NULL; }
6887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
6889 return NULL;
6890 }
6891 }
cf694132 6892{
4268f798 6893 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6894 wxDC_GetClippingBox(_arg0,_arg1,_arg2,_arg3,_arg4);
cf694132 6895
4268f798 6896 wxPyEndAllowThreads(__tstate);
493f1553 6897 if (PyErr_Occurred()) return NULL;
cf694132 6898} Py_INCREF(Py_None);
8ab979d7
RD
6899 _resultobj = Py_None;
6900{
6901 PyObject *o;
6902 o = PyInt_FromLong((long) (*_arg1));
6903 _resultobj = t_output_helper(_resultobj, o);
6904}
6905{
6906 PyObject *o;
6907 o = PyInt_FromLong((long) (*_arg2));
6908 _resultobj = t_output_helper(_resultobj, o);
6909}
6910{
6911 PyObject *o;
6912 o = PyInt_FromLong((long) (*_arg3));
6913 _resultobj = t_output_helper(_resultobj, o);
6914}
6915{
6916 PyObject *o;
6917 o = PyInt_FromLong((long) (*_arg4));
6918 _resultobj = t_output_helper(_resultobj, o);
6919}
6920 return _resultobj;
6921}
6922
6923#define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
1afc06c2 6924static PyObject *_wrap_wxDC_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6925 PyObject * _resultobj;
6926 wxFont * _result;
6927 wxDC * _arg0;
1d99702e 6928 PyObject * _argo0 = 0;
1afc06c2 6929 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6930 char _ptemp[128];
6931
6932 self = self;
1afc06c2 6933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetFont",_kwnames,&_argo0))
8ab979d7 6934 return NULL;
1d99702e
RD
6935 if (_argo0) {
6936 if (_argo0 == Py_None) { _arg0 = NULL; }
6937 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6938 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
6939 return NULL;
6940 }
6941 }
cf694132 6942{
4268f798 6943 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6944 _result = new wxFont (wxDC_GetFont(_arg0));
cf694132 6945
4268f798 6946 wxPyEndAllowThreads(__tstate);
493f1553 6947 if (PyErr_Occurred()) return NULL;
c5943253
RD
6948} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
6949 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
6950 return _resultobj;
6951}
6952
6953#define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
1afc06c2 6954static PyObject *_wrap_wxDC_GetLogicalFunction(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6955 PyObject * _resultobj;
6956 int _result;
6957 wxDC * _arg0;
1d99702e 6958 PyObject * _argo0 = 0;
1afc06c2 6959 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6960
6961 self = self;
1afc06c2 6962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetLogicalFunction",_kwnames,&_argo0))
8ab979d7 6963 return NULL;
1d99702e
RD
6964 if (_argo0) {
6965 if (_argo0 == Py_None) { _arg0 = NULL; }
6966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
6967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
6968 return NULL;
6969 }
6970 }
cf694132 6971{
4268f798 6972 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6973 _result = (int )wxDC_GetLogicalFunction(_arg0);
cf694132 6974
4268f798 6975 wxPyEndAllowThreads(__tstate);
493f1553 6976 if (PyErr_Occurred()) return NULL;
cf694132 6977} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6978 return _resultobj;
6979}
6980
eec92d76
RD
6981#define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
6982static PyObject *_wrap_wxDC_GetLogicalScale(PyObject *self, PyObject *args, PyObject *kwargs) {
6983 PyObject * _resultobj;
6984 wxDC * _arg0;
6985 double * _arg1;
6986 double temp;
6987 double * _arg2;
6988 double temp0;
6989 PyObject * _argo0 = 0;
6990 char *_kwnames[] = { "self", NULL };
6991
6992 self = self;
6993{
6994 _arg1 = &temp;
6995}
6996{
6997 _arg2 = &temp0;
6998}
6999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetLogicalScale",_kwnames,&_argo0))
7000 return NULL;
7001 if (_argo0) {
7002 if (_argo0 == Py_None) { _arg0 = NULL; }
7003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
7004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
7005 return NULL;
7006 }
7007 }
7008{
4268f798 7009 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7010 wxDC_GetLogicalScale(_arg0,_arg1,_arg2);
eec92d76 7011
4268f798 7012 wxPyEndAllowThreads(__tstate);
493f1553 7013 if (PyErr_Occurred()) return NULL;
eec92d76
RD
7014} Py_INCREF(Py_None);
7015 _resultobj = Py_None;
7016{
7017 PyObject *o;
7018 o = PyFloat_FromDouble((double) (*_arg1));
7019 _resultobj = t_output_helper(_resultobj, o);
7020}
7021{
7022 PyObject *o;
7023 o = PyFloat_FromDouble((double) (*_arg2));
7024 _resultobj = t_output_helper(_resultobj, o);
7025}
7026 return _resultobj;
7027}
7028
8ab979d7 7029#define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
1afc06c2 7030static PyObject *_wrap_wxDC_GetMapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7031 PyObject * _resultobj;
7032 int _result;
7033 wxDC * _arg0;
1d99702e 7034 PyObject * _argo0 = 0;
1afc06c2 7035 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7036
7037 self = self;
1afc06c2 7038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetMapMode",_kwnames,&_argo0))
8ab979d7 7039 return NULL;
1d99702e
RD
7040 if (_argo0) {
7041 if (_argo0 == Py_None) { _arg0 = NULL; }
7042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
7044 return NULL;
7045 }
7046 }
cf694132 7047{
4268f798 7048 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7049 _result = (int )wxDC_GetMapMode(_arg0);
cf694132 7050
4268f798 7051 wxPyEndAllowThreads(__tstate);
493f1553 7052 if (PyErr_Occurred()) return NULL;
cf694132 7053} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7054 return _resultobj;
7055}
7056
7057#define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
1afc06c2 7058static PyObject *_wrap_wxDC_GetOptimization(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7059 PyObject * _resultobj;
7060 bool _result;
7061 wxDC * _arg0;
1d99702e 7062 PyObject * _argo0 = 0;
1afc06c2 7063 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7064
7065 self = self;
1afc06c2 7066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetOptimization",_kwnames,&_argo0))
8ab979d7 7067 return NULL;
1d99702e
RD
7068 if (_argo0) {
7069 if (_argo0 == Py_None) { _arg0 = NULL; }
7070 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7071 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
7072 return NULL;
7073 }
7074 }
cf694132 7075{
4268f798 7076 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7077 _result = (bool )wxDC_GetOptimization(_arg0);
cf694132 7078
4268f798 7079 wxPyEndAllowThreads(__tstate);
493f1553 7080 if (PyErr_Occurred()) return NULL;
cf694132 7081} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7082 return _resultobj;
7083}
7084
7085#define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
1afc06c2 7086static PyObject *_wrap_wxDC_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7087 PyObject * _resultobj;
7088 wxPen * _result;
7089 wxDC * _arg0;
1d99702e 7090 PyObject * _argo0 = 0;
1afc06c2 7091 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7092 char _ptemp[128];
7093
7094 self = self;
1afc06c2 7095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetPen",_kwnames,&_argo0))
8ab979d7 7096 return NULL;
1d99702e
RD
7097 if (_argo0) {
7098 if (_argo0 == Py_None) { _arg0 = NULL; }
7099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
7101 return NULL;
7102 }
7103 }
cf694132 7104{
4268f798 7105 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7106 _result = new wxPen (wxDC_GetPen(_arg0));
cf694132 7107
4268f798 7108 wxPyEndAllowThreads(__tstate);
493f1553 7109 if (PyErr_Occurred()) return NULL;
c5943253
RD
7110} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPen_p");
7111 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7112 return _resultobj;
7113}
7114
7e50db3f 7115static wxColour * wxDC_GetPixel(wxDC *self,wxCoord x,wxCoord y) {
8ab979d7
RD
7116 wxColour* wc = new wxColour();
7117 self->GetPixel(x, y, wc);
7118 return wc;
7119 }
1afc06c2 7120static PyObject *_wrap_wxDC_GetPixel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7121 PyObject * _resultobj;
7122 wxColour * _result;
7123 wxDC * _arg0;
7e50db3f
RD
7124 wxCoord _arg1;
7125 wxCoord _arg2;
1d99702e 7126 PyObject * _argo0 = 0;
1afc06c2 7127 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
7128 char _ptemp[128];
7129
7130 self = self;
7e50db3f 7131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxDC_GetPixel",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 7132 return NULL;
1d99702e
RD
7133 if (_argo0) {
7134 if (_argo0 == Py_None) { _arg0 = NULL; }
7135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
7137 return NULL;
7138 }
7139 }
cf694132 7140{
4268f798 7141 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7142 _result = (wxColour *)wxDC_GetPixel(_arg0,_arg1,_arg2);
cf694132 7143
4268f798 7144 wxPyEndAllowThreads(__tstate);
493f1553 7145 if (PyErr_Occurred()) return NULL;
1d99702e
RD
7146} if (_result) {
7147 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
7148 _resultobj = Py_BuildValue("s",_ptemp);
7149 } else {
7150 Py_INCREF(Py_None);
7151 _resultobj = Py_None;
7152 }
8ab979d7
RD
7153 return _resultobj;
7154}
7155
bb0054cd 7156#define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1afc06c2 7157static PyObject *_wrap_wxDC_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7158 PyObject * _resultobj;
7159 wxDC * _arg0;
7160 int * _arg1;
7161 int temp;
7162 int * _arg2;
7163 int temp0;
1d99702e 7164 PyObject * _argo0 = 0;
1afc06c2 7165 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7166
7167 self = self;
7168{
7169 _arg1 = &temp;
7170}
7171{
7172 _arg2 = &temp0;
7173}
1afc06c2 7174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetSizeTuple",_kwnames,&_argo0))
8ab979d7 7175 return NULL;
1d99702e
RD
7176 if (_argo0) {
7177 if (_argo0 == Py_None) { _arg0 = NULL; }
7178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
bb0054cd 7179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
8ab979d7
RD
7180 return NULL;
7181 }
7182 }
cf694132 7183{
4268f798 7184 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7185 wxDC_GetSizeTuple(_arg0,_arg1,_arg2);
cf694132 7186
4268f798 7187 wxPyEndAllowThreads(__tstate);
493f1553 7188 if (PyErr_Occurred()) return NULL;
cf694132 7189} Py_INCREF(Py_None);
8ab979d7
RD
7190 _resultobj = Py_None;
7191{
7192 PyObject *o;
7193 o = PyInt_FromLong((long) (*_arg1));
7194 _resultobj = t_output_helper(_resultobj, o);
7195}
7196{
7197 PyObject *o;
7198 o = PyInt_FromLong((long) (*_arg2));
7199 _resultobj = t_output_helper(_resultobj, o);
7200}
7201 return _resultobj;
7202}
7203
bb0054cd 7204#define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
1afc06c2 7205static PyObject *_wrap_wxDC_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
7206 PyObject * _resultobj;
7207 wxSize * _result;
7208 wxDC * _arg0;
1d99702e 7209 PyObject * _argo0 = 0;
1afc06c2 7210 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
7211 char _ptemp[128];
7212
7213 self = self;
1afc06c2 7214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetSize",_kwnames,&_argo0))
bb0054cd 7215 return NULL;
1d99702e
RD
7216 if (_argo0) {
7217 if (_argo0 == Py_None) { _arg0 = NULL; }
7218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
bb0054cd
RD
7219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
7220 return NULL;
7221 }
7222 }
7223{
4268f798 7224 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7225 _result = new wxSize (wxDC_GetSize(_arg0));
bb0054cd 7226
4268f798 7227 wxPyEndAllowThreads(__tstate);
493f1553 7228 if (PyErr_Occurred()) return NULL;
bb0054cd
RD
7229} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
7230 _resultobj = Py_BuildValue("s",_ptemp);
7231 return _resultobj;
7232}
7233
eec92d76
RD
7234#define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
7235static PyObject *_wrap_wxDC_GetSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
7236 PyObject * _resultobj;
7237 wxSize * _result;
7238 wxDC * _arg0;
7239 PyObject * _argo0 = 0;
7240 char *_kwnames[] = { "self", NULL };
7241 char _ptemp[128];
7242
7243 self = self;
7244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetSizeMM",_kwnames,&_argo0))
7245 return NULL;
7246 if (_argo0) {
7247 if (_argo0 == Py_None) { _arg0 = NULL; }
7248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
7249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
7250 return NULL;
7251 }
7252 }
7253{
4268f798 7254 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7255 _result = new wxSize (wxDC_GetSizeMM(_arg0));
eec92d76 7256
4268f798 7257 wxPyEndAllowThreads(__tstate);
493f1553 7258 if (PyErr_Occurred()) return NULL;
eec92d76
RD
7259} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
7260 _resultobj = Py_BuildValue("s",_ptemp);
7261 return _resultobj;
7262}
7263
8ab979d7 7264#define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
1afc06c2 7265static PyObject *_wrap_wxDC_GetTextBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7266 PyObject * _resultobj;
7267 wxColour * _result;
7268 wxDC * _arg0;
1d99702e 7269 PyObject * _argo0 = 0;
1afc06c2 7270 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7271 char _ptemp[128];
7272
7273 self = self;
1afc06c2 7274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetTextBackground",_kwnames,&_argo0))
8ab979d7 7275 return NULL;
1d99702e
RD
7276 if (_argo0) {
7277 if (_argo0 == Py_None) { _arg0 = NULL; }
7278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
7280 return NULL;
7281 }
7282 }
cf694132 7283{
4268f798 7284 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7285 _result = new wxColour (wxDC_GetTextBackground(_arg0));
cf694132 7286
4268f798 7287 wxPyEndAllowThreads(__tstate);
493f1553 7288 if (PyErr_Occurred()) return NULL;
25832b3f
RD
7289} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
7290 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
7291 return _resultobj;
7292}
7293
af309447 7294#define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 7295static PyObject *_wrap_wxDC_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
7296 PyObject * _resultobj;
7297 wxDC * _arg0;
7298 wxString * _arg1;
7e50db3f
RD
7299 wxCoord * _arg2;
7300 int temp;
7301 wxCoord * _arg3;
7302 int temp0;
1d99702e 7303 PyObject * _argo0 = 0;
af309447 7304 PyObject * _obj1 = 0;
1afc06c2 7305 char *_kwnames[] = { "self","string", NULL };
af309447
RD
7306
7307 self = self;
7308{
7309 _arg2 = &temp;
7310}
7311{
7312 _arg3 = &temp0;
7313}
1afc06c2 7314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_GetTextExtent",_kwnames,&_argo0,&_obj1))
af309447 7315 return NULL;
1d99702e
RD
7316 if (_argo0) {
7317 if (_argo0 == Py_None) { _arg0 = NULL; }
7318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
af309447
RD
7319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
7320 return NULL;
7321 }
7322 }
7323{
c8bc7bb8
RD
7324 _arg1 = wxString_in_helper(_obj1);
7325 if (_arg1 == NULL)
185d7c3e 7326 return NULL;
af309447 7327}
cf694132 7328{
4268f798 7329 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7330 wxDC_GetTextExtent(_arg0,*_arg1,_arg2,_arg3);
cf694132 7331
4268f798 7332 wxPyEndAllowThreads(__tstate);
493f1553 7333 if (PyErr_Occurred()) return NULL;
cf694132 7334} Py_INCREF(Py_None);
af309447
RD
7335 _resultobj = Py_None;
7336{
7337 PyObject *o;
7338 o = PyInt_FromLong((long) (*_arg2));
7339 _resultobj = t_output_helper(_resultobj, o);
7340}
7341{
7342 PyObject *o;
7343 o = PyInt_FromLong((long) (*_arg3));
7344 _resultobj = t_output_helper(_resultobj, o);
7345}
7346{
7347 if (_obj1)
7348 delete _arg1;
7349}
7350 return _resultobj;
7351}
7352
7353#define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1afc06c2 7354static PyObject *_wrap_wxDC_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7355 PyObject * _resultobj;
7356 wxDC * _arg0;
7357 wxString * _arg1;
7e50db3f
RD
7358 wxCoord * _arg2;
7359 int temp;
7360 wxCoord * _arg3;
7361 int temp0;
7362 wxCoord * _arg4;
7363 int temp1;
7364 wxCoord * _arg5;
7365 int temp2;
1d99702e
RD
7366 wxFont * _arg6 = (wxFont *) NULL;
7367 PyObject * _argo0 = 0;
8ab979d7 7368 PyObject * _obj1 = 0;
1d99702e 7369 PyObject * _argo6 = 0;
1afc06c2 7370 char *_kwnames[] = { "self","string","font", NULL };
8ab979d7
RD
7371
7372 self = self;
7373{
7374 _arg2 = &temp;
7375}
7376{
7377 _arg3 = &temp0;
7378}
7379{
7380 _arg4 = &temp1;
7381}
7382{
7383 _arg5 = &temp2;
7384}
1afc06c2 7385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxDC_GetFullTextExtent",_kwnames,&_argo0,&_obj1,&_argo6))
8ab979d7 7386 return NULL;
1d99702e
RD
7387 if (_argo0) {
7388 if (_argo0 == Py_None) { _arg0 = NULL; }
7389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
af309447 7390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
8ab979d7
RD
7391 return NULL;
7392 }
7393 }
7394{
c8bc7bb8
RD
7395 _arg1 = wxString_in_helper(_obj1);
7396 if (_arg1 == NULL)
185d7c3e 7397 return NULL;
8ab979d7 7398}
1d99702e
RD
7399 if (_argo6) {
7400 if (_argo6 == Py_None) { _arg6 = NULL; }
7401 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxFont_p")) {
af309447
RD
7402 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
7403 return NULL;
7404 }
7405 }
cf694132 7406{
4268f798 7407 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7408 wxDC_GetFullTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
cf694132 7409
4268f798 7410 wxPyEndAllowThreads(__tstate);
493f1553 7411 if (PyErr_Occurred()) return NULL;
cf694132 7412} Py_INCREF(Py_None);
8ab979d7
RD
7413 _resultobj = Py_None;
7414{
7415 PyObject *o;
7416 o = PyInt_FromLong((long) (*_arg2));
7417 _resultobj = t_output_helper(_resultobj, o);
7418}
7419{
7420 PyObject *o;
7421 o = PyInt_FromLong((long) (*_arg3));
7422 _resultobj = t_output_helper(_resultobj, o);
7423}
7424{
7425 PyObject *o;
7426 o = PyInt_FromLong((long) (*_arg4));
7427 _resultobj = t_output_helper(_resultobj, o);
7428}
7429{
7430 PyObject *o;
7431 o = PyInt_FromLong((long) (*_arg5));
7432 _resultobj = t_output_helper(_resultobj, o);
7433}
7434{
7435 if (_obj1)
7436 delete _arg1;
7437}
7438 return _resultobj;
7439}
7440
7e50db3f
RD
7441#define wxDC_GetMultiLineTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetMultiLineTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7442static PyObject *_wrap_wxDC_GetMultiLineTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7443 PyObject * _resultobj;
8ab979d7 7444 wxDC * _arg0;
7e50db3f
RD
7445 wxString * _arg1;
7446 wxCoord * _arg2;
7447 int temp;
7448 wxCoord * _arg3;
7449 int temp0;
7450 wxCoord * _arg4;
7451 int temp1;
7452 wxFont * _arg5 = (wxFont *) NULL;
1d99702e 7453 PyObject * _argo0 = 0;
7e50db3f
RD
7454 PyObject * _obj1 = 0;
7455 PyObject * _argo5 = 0;
7456 char *_kwnames[] = { "self","text","font", NULL };
8ab979d7
RD
7457
7458 self = self;
cf694132 7459{
7e50db3f 7460 _arg2 = &temp;
8ab979d7 7461}
eec92d76 7462{
7e50db3f 7463 _arg3 = &temp0;
eec92d76
RD
7464}
7465{
7e50db3f 7466 _arg4 = &temp1;
eec92d76 7467}
7e50db3f 7468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxDC_GetMultiLineTextExtent",_kwnames,&_argo0,&_obj1,&_argo5))
eec92d76
RD
7469 return NULL;
7470 if (_argo0) {
7471 if (_argo0 == Py_None) { _arg0 = NULL; }
7472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
7e50db3f 7473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetMultiLineTextExtent. Expected _wxDC_p.");
eec92d76
RD
7474 return NULL;
7475 }
7476 }
7477{
7e50db3f
RD
7478 _arg1 = wxString_in_helper(_obj1);
7479 if (_arg1 == NULL)
7480 return NULL;
7481}
7482 if (_argo5) {
7483 if (_argo5 == Py_None) { _arg5 = NULL; }
7484 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxFont_p")) {
7485 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxDC_GetMultiLineTextExtent. Expected _wxFont_p.");
7486 return NULL;
7487 }
7488 }
7489{
7490 PyThreadState* __tstate = wxPyBeginAllowThreads();
7491 wxDC_GetMultiLineTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
7492
7493 wxPyEndAllowThreads(__tstate);
7494 if (PyErr_Occurred()) return NULL;
7495} Py_INCREF(Py_None);
7496 _resultobj = Py_None;
7497{
7498 PyObject *o;
7499 o = PyInt_FromLong((long) (*_arg2));
7500 _resultobj = t_output_helper(_resultobj, o);
7501}
7502{
7503 PyObject *o;
7504 o = PyInt_FromLong((long) (*_arg3));
7505 _resultobj = t_output_helper(_resultobj, o);
7506}
7507{
7508 PyObject *o;
7509 o = PyInt_FromLong((long) (*_arg4));
7510 _resultobj = t_output_helper(_resultobj, o);
7511}
7512{
7513 if (_obj1)
7514 delete _arg1;
7515}
7516 return _resultobj;
7517}
7518
7519#define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
7520static PyObject *_wrap_wxDC_GetTextForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
7521 PyObject * _resultobj;
7522 wxColour * _result;
7523 wxDC * _arg0;
7524 PyObject * _argo0 = 0;
7525 char *_kwnames[] = { "self", NULL };
7526 char _ptemp[128];
7527
7528 self = self;
7529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetTextForeground",_kwnames,&_argo0))
7530 return NULL;
7531 if (_argo0) {
7532 if (_argo0 == Py_None) { _arg0 = NULL; }
7533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
7534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
7535 return NULL;
7536 }
7537 }
7538{
7539 PyThreadState* __tstate = wxPyBeginAllowThreads();
7540 _result = new wxColour (wxDC_GetTextForeground(_arg0));
7541
7542 wxPyEndAllowThreads(__tstate);
7543 if (PyErr_Occurred()) return NULL;
7544} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
7545 _resultobj = Py_BuildValue("s",_ptemp);
7546 return _resultobj;
7547}
7548
7549#define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
7550static PyObject *_wrap_wxDC_GetUserScale(PyObject *self, PyObject *args, PyObject *kwargs) {
7551 PyObject * _resultobj;
7552 wxDC * _arg0;
7553 double * _arg1;
7554 double temp;
7555 double * _arg2;
7556 double temp0;
7557 PyObject * _argo0 = 0;
7558 char *_kwnames[] = { "self", NULL };
7559
7560 self = self;
7561{
7562 _arg1 = &temp;
7563}
7564{
7565 _arg2 = &temp0;
7566}
7567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetUserScale",_kwnames,&_argo0))
7568 return NULL;
7569 if (_argo0) {
7570 if (_argo0 == Py_None) { _arg0 = NULL; }
7571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
7572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
7573 return NULL;
7574 }
7575 }
7576{
7577 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7578 wxDC_GetUserScale(_arg0,_arg1,_arg2);
eec92d76 7579
4268f798 7580 wxPyEndAllowThreads(__tstate);
493f1553 7581 if (PyErr_Occurred()) return NULL;
eec92d76
RD
7582} Py_INCREF(Py_None);
7583 _resultobj = Py_None;
7584{
7585 PyObject *o;
7586 o = PyFloat_FromDouble((double) (*_arg1));
7587 _resultobj = t_output_helper(_resultobj, o);
7588}
7589{
7590 PyObject *o;
7591 o = PyFloat_FromDouble((double) (*_arg2));
7592 _resultobj = t_output_helper(_resultobj, o);
7593}
7594 return _resultobj;
7595}
7596
8ab979d7 7597#define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
1afc06c2 7598static PyObject *_wrap_wxDC_LogicalToDeviceX(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7599 PyObject * _resultobj;
7e50db3f 7600 wxCoord _result;
8ab979d7 7601 wxDC * _arg0;
7e50db3f 7602 wxCoord _arg1;
1d99702e 7603 PyObject * _argo0 = 0;
1afc06c2 7604 char *_kwnames[] = { "self","x", NULL };
8ab979d7
RD
7605
7606 self = self;
7e50db3f 7607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_LogicalToDeviceX",_kwnames,&_argo0,&_arg1))
8ab979d7 7608 return NULL;
1d99702e
RD
7609 if (_argo0) {
7610 if (_argo0 == Py_None) { _arg0 = NULL; }
7611 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7612 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
7613 return NULL;
7614 }
7615 }
cf694132 7616{
4268f798 7617 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e50db3f 7618 _result = (wxCoord )wxDC_LogicalToDeviceX(_arg0,_arg1);
cf694132 7619
4268f798 7620 wxPyEndAllowThreads(__tstate);
493f1553 7621 if (PyErr_Occurred()) return NULL;
7e50db3f 7622} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7623 return _resultobj;
7624}
7625
7626#define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
1afc06c2 7627static PyObject *_wrap_wxDC_LogicalToDeviceXRel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7628 PyObject * _resultobj;
7e50db3f 7629 wxCoord _result;
8ab979d7 7630 wxDC * _arg0;
7e50db3f 7631 wxCoord _arg1;
1d99702e 7632 PyObject * _argo0 = 0;
1afc06c2 7633 char *_kwnames[] = { "self","x", NULL };
8ab979d7
RD
7634
7635 self = self;
7e50db3f 7636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_LogicalToDeviceXRel",_kwnames,&_argo0,&_arg1))
8ab979d7 7637 return NULL;
1d99702e
RD
7638 if (_argo0) {
7639 if (_argo0 == Py_None) { _arg0 = NULL; }
7640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
7642 return NULL;
7643 }
7644 }
cf694132 7645{
4268f798 7646 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e50db3f 7647 _result = (wxCoord )wxDC_LogicalToDeviceXRel(_arg0,_arg1);
cf694132 7648
4268f798 7649 wxPyEndAllowThreads(__tstate);
493f1553 7650 if (PyErr_Occurred()) return NULL;
7e50db3f 7651} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7652 return _resultobj;
7653}
7654
7655#define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
1afc06c2 7656static PyObject *_wrap_wxDC_LogicalToDeviceY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7657 PyObject * _resultobj;
7e50db3f 7658 wxCoord _result;
8ab979d7 7659 wxDC * _arg0;
7e50db3f 7660 wxCoord _arg1;
1d99702e 7661 PyObject * _argo0 = 0;
1afc06c2 7662 char *_kwnames[] = { "self","y", NULL };
8ab979d7
RD
7663
7664 self = self;
7e50db3f 7665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_LogicalToDeviceY",_kwnames,&_argo0,&_arg1))
8ab979d7 7666 return NULL;
1d99702e
RD
7667 if (_argo0) {
7668 if (_argo0 == Py_None) { _arg0 = NULL; }
7669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
7671 return NULL;
7672 }
7673 }
cf694132 7674{
4268f798 7675 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e50db3f 7676 _result = (wxCoord )wxDC_LogicalToDeviceY(_arg0,_arg1);
cf694132 7677
4268f798 7678 wxPyEndAllowThreads(__tstate);
493f1553 7679 if (PyErr_Occurred()) return NULL;
7e50db3f 7680} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7681 return _resultobj;
7682}
7683
7684#define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
1afc06c2 7685static PyObject *_wrap_wxDC_LogicalToDeviceYRel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7686 PyObject * _resultobj;
7e50db3f 7687 wxCoord _result;
8ab979d7 7688 wxDC * _arg0;
7e50db3f 7689 wxCoord _arg1;
1d99702e 7690 PyObject * _argo0 = 0;
1afc06c2 7691 char *_kwnames[] = { "self","y", NULL };
8ab979d7
RD
7692
7693 self = self;
7e50db3f 7694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_LogicalToDeviceYRel",_kwnames,&_argo0,&_arg1))
8ab979d7 7695 return NULL;
1d99702e
RD
7696 if (_argo0) {
7697 if (_argo0 == Py_None) { _arg0 = NULL; }
7698 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7699 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
7700 return NULL;
7701 }
7702 }
cf694132 7703{
4268f798 7704 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e50db3f 7705 _result = (wxCoord )wxDC_LogicalToDeviceYRel(_arg0,_arg1);
cf694132 7706
4268f798 7707 wxPyEndAllowThreads(__tstate);
493f1553 7708 if (PyErr_Occurred()) return NULL;
7e50db3f 7709} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7710 return _resultobj;
7711}
7712
7713#define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
1afc06c2 7714static PyObject *_wrap_wxDC_MaxX(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7715 PyObject * _resultobj;
7e50db3f 7716 wxCoord _result;
8ab979d7 7717 wxDC * _arg0;
1d99702e 7718 PyObject * _argo0 = 0;
1afc06c2 7719 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7720
7721 self = self;
1afc06c2 7722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_MaxX",_kwnames,&_argo0))
8ab979d7 7723 return NULL;
1d99702e
RD
7724 if (_argo0) {
7725 if (_argo0 == Py_None) { _arg0 = NULL; }
7726 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7727 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
7728 return NULL;
7729 }
7730 }
cf694132 7731{
4268f798 7732 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e50db3f 7733 _result = (wxCoord )wxDC_MaxX(_arg0);
cf694132 7734
4268f798 7735 wxPyEndAllowThreads(__tstate);
493f1553 7736 if (PyErr_Occurred()) return NULL;
7e50db3f 7737} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7738 return _resultobj;
7739}
7740
7741#define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
1afc06c2 7742static PyObject *_wrap_wxDC_MaxY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7743 PyObject * _resultobj;
7e50db3f 7744 wxCoord _result;
8ab979d7 7745 wxDC * _arg0;
1d99702e 7746 PyObject * _argo0 = 0;
1afc06c2 7747 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7748
7749 self = self;
1afc06c2 7750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_MaxY",_kwnames,&_argo0))
8ab979d7 7751 return NULL;
1d99702e
RD
7752 if (_argo0) {
7753 if (_argo0 == Py_None) { _arg0 = NULL; }
7754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
7756 return NULL;
7757 }
7758 }
cf694132 7759{
4268f798 7760 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e50db3f 7761 _result = (wxCoord )wxDC_MaxY(_arg0);
cf694132 7762
4268f798 7763 wxPyEndAllowThreads(__tstate);
493f1553 7764 if (PyErr_Occurred()) return NULL;
7e50db3f 7765} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7766 return _resultobj;
7767}
7768
7769#define wxDC_MinX(_swigobj) (_swigobj->MinX())
1afc06c2 7770static PyObject *_wrap_wxDC_MinX(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7771 PyObject * _resultobj;
7e50db3f 7772 wxCoord _result;
8ab979d7 7773 wxDC * _arg0;
1d99702e 7774 PyObject * _argo0 = 0;
1afc06c2 7775 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7776
7777 self = self;
1afc06c2 7778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_MinX",_kwnames,&_argo0))
8ab979d7 7779 return NULL;
1d99702e
RD
7780 if (_argo0) {
7781 if (_argo0 == Py_None) { _arg0 = NULL; }
7782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
7784 return NULL;
7785 }
7786 }
cf694132 7787{
4268f798 7788 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e50db3f 7789 _result = (wxCoord )wxDC_MinX(_arg0);
cf694132 7790
4268f798 7791 wxPyEndAllowThreads(__tstate);
493f1553 7792 if (PyErr_Occurred()) return NULL;
7e50db3f 7793} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7794 return _resultobj;
7795}
7796
7797#define wxDC_MinY(_swigobj) (_swigobj->MinY())
1afc06c2 7798static PyObject *_wrap_wxDC_MinY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7799 PyObject * _resultobj;
7e50db3f 7800 wxCoord _result;
8ab979d7 7801 wxDC * _arg0;
1d99702e 7802 PyObject * _argo0 = 0;
1afc06c2 7803 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7804
7805 self = self;
1afc06c2 7806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_MinY",_kwnames,&_argo0))
8ab979d7 7807 return NULL;
1d99702e
RD
7808 if (_argo0) {
7809 if (_argo0 == Py_None) { _arg0 = NULL; }
7810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
7812 return NULL;
7813 }
7814 }
cf694132 7815{
4268f798 7816 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e50db3f 7817 _result = (wxCoord )wxDC_MinY(_arg0);
cf694132 7818
4268f798 7819 wxPyEndAllowThreads(__tstate);
493f1553 7820 if (PyErr_Occurred()) return NULL;
7e50db3f 7821} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7822 return _resultobj;
7823}
7824
7825#define wxDC_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 7826static PyObject *_wrap_wxDC_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7827 PyObject * _resultobj;
7828 bool _result;
7829 wxDC * _arg0;
1d99702e 7830 PyObject * _argo0 = 0;
1afc06c2 7831 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7832
7833 self = self;
1afc06c2 7834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_Ok",_kwnames,&_argo0))
8ab979d7 7835 return NULL;
1d99702e
RD
7836 if (_argo0) {
7837 if (_argo0 == Py_None) { _arg0 = NULL; }
7838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
7840 return NULL;
7841 }
7842 }
cf694132 7843{
4268f798 7844 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7845 _result = (bool )wxDC_Ok(_arg0);
cf694132 7846
4268f798 7847 wxPyEndAllowThreads(__tstate);
493f1553 7848 if (PyErr_Occurred()) return NULL;
cf694132 7849} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7850 return _resultobj;
7851}
7852
7853#define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
1afc06c2 7854static PyObject *_wrap_wxDC_SetDeviceOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7855 PyObject * _resultobj;
7856 wxDC * _arg0;
7e50db3f
RD
7857 wxCoord _arg1;
7858 wxCoord _arg2;
1d99702e 7859 PyObject * _argo0 = 0;
1afc06c2 7860 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
7861
7862 self = self;
7e50db3f 7863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxDC_SetDeviceOrigin",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 7864 return NULL;
1d99702e
RD
7865 if (_argo0) {
7866 if (_argo0 == Py_None) { _arg0 = NULL; }
7867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
7869 return NULL;
7870 }
7871 }
cf694132 7872{
4268f798 7873 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7874 wxDC_SetDeviceOrigin(_arg0,_arg1,_arg2);
cf694132 7875
4268f798 7876 wxPyEndAllowThreads(__tstate);
493f1553 7877 if (PyErr_Occurred()) return NULL;
cf694132 7878} Py_INCREF(Py_None);
8ab979d7
RD
7879 _resultobj = Py_None;
7880 return _resultobj;
7881}
7882
7883#define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
1afc06c2 7884static PyObject *_wrap_wxDC_SetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7885 PyObject * _resultobj;
7886 wxDC * _arg0;
7887 wxBrush * _arg1;
1d99702e
RD
7888 PyObject * _argo0 = 0;
7889 PyObject * _argo1 = 0;
1afc06c2 7890 char *_kwnames[] = { "self","brush", NULL };
8ab979d7
RD
7891
7892 self = self;
1afc06c2 7893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetBackground",_kwnames,&_argo0,&_argo1))
8ab979d7 7894 return NULL;
1d99702e
RD
7895 if (_argo0) {
7896 if (_argo0 == Py_None) { _arg0 = NULL; }
7897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
7899 return NULL;
7900 }
7901 }
1d99702e 7902 if (_argo1) {
7e50db3f 7903 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) {
8ab979d7
RD
7904 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
7905 return NULL;
7906 }
7907 }
cf694132 7908{
4268f798 7909 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7910 wxDC_SetBackground(_arg0,*_arg1);
cf694132 7911
4268f798 7912 wxPyEndAllowThreads(__tstate);
493f1553 7913 if (PyErr_Occurred()) return NULL;
cf694132 7914} Py_INCREF(Py_None);
8ab979d7
RD
7915 _resultobj = Py_None;
7916 return _resultobj;
7917}
7918
7919#define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
1afc06c2 7920static PyObject *_wrap_wxDC_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7921 PyObject * _resultobj;
7922 wxDC * _arg0;
7923 int _arg1;
1d99702e 7924 PyObject * _argo0 = 0;
1afc06c2 7925 char *_kwnames[] = { "self","mode", NULL };
8ab979d7
RD
7926
7927 self = self;
1afc06c2 7928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_SetBackgroundMode",_kwnames,&_argo0,&_arg1))
8ab979d7 7929 return NULL;
1d99702e
RD
7930 if (_argo0) {
7931 if (_argo0 == Py_None) { _arg0 = NULL; }
7932 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
7934 return NULL;
7935 }
7936 }
cf694132 7937{
4268f798 7938 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7939 wxDC_SetBackgroundMode(_arg0,_arg1);
cf694132 7940
4268f798 7941 wxPyEndAllowThreads(__tstate);
493f1553 7942 if (PyErr_Occurred()) return NULL;
cf694132 7943} Py_INCREF(Py_None);
8ab979d7
RD
7944 _resultobj = Py_None;
7945 return _resultobj;
7946}
7947
7948#define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 7949static PyObject *_wrap_wxDC_SetClippingRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7950 PyObject * _resultobj;
7951 wxDC * _arg0;
7e50db3f
RD
7952 wxCoord _arg1;
7953 wxCoord _arg2;
7954 wxCoord _arg3;
7955 wxCoord _arg4;
1d99702e 7956 PyObject * _argo0 = 0;
1afc06c2 7957 char *_kwnames[] = { "self","x","y","width","height", NULL };
8ab979d7
RD
7958
7959 self = self;
7e50db3f 7960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxDC_SetClippingRegion",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8ab979d7 7961 return NULL;
1d99702e
RD
7962 if (_argo0) {
7963 if (_argo0 == Py_None) { _arg0 = NULL; }
7964 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
7965 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
7966 return NULL;
7967 }
7968 }
cf694132 7969{
4268f798 7970 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7971 wxDC_SetClippingRegion(_arg0,_arg1,_arg2,_arg3,_arg4);
cf694132 7972
4268f798 7973 wxPyEndAllowThreads(__tstate);
493f1553 7974 if (PyErr_Occurred()) return NULL;
cf694132 7975} Py_INCREF(Py_None);
8ab979d7
RD
7976 _resultobj = Py_None;
7977 return _resultobj;
7978}
7979
19a97bd6
RD
7980#define wxDC_SetClippingRegionAsRegion(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
7981static PyObject *_wrap_wxDC_SetClippingRegionAsRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
7982 PyObject * _resultobj;
7983 wxDC * _arg0;
7984 wxRegion * _arg1;
7985 PyObject * _argo0 = 0;
7986 PyObject * _argo1 = 0;
7987 char *_kwnames[] = { "self","region", NULL };
7988
7989 self = self;
7990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetClippingRegionAsRegion",_kwnames,&_argo0,&_argo1))
7991 return NULL;
7992 if (_argo0) {
7993 if (_argo0 == Py_None) { _arg0 = NULL; }
7994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
7995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetClippingRegionAsRegion. Expected _wxDC_p.");
7996 return NULL;
7997 }
7998 }
7999 if (_argo1) {
7e50db3f 8000 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
19a97bd6
RD
8001 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetClippingRegionAsRegion. Expected _wxRegion_p.");
8002 return NULL;
8003 }
8004 }
8005{
4268f798 8006 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8007 wxDC_SetClippingRegionAsRegion(_arg0,*_arg1);
19a97bd6 8008
4268f798 8009 wxPyEndAllowThreads(__tstate);
19a97bd6
RD
8010 if (PyErr_Occurred()) return NULL;
8011} Py_INCREF(Py_None);
8012 _resultobj = Py_None;
8013 return _resultobj;
8014}
8015
efe12e95
RD
8016#define wxDC_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
8017static PyObject *_wrap_wxDC_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8018 PyObject * _resultobj;
8019 wxDC * _arg0;
8020 wxRect * _arg1;
8021 PyObject * _argo0 = 0;
8022 wxRect temp;
8023 PyObject * _obj1 = 0;
8024 char *_kwnames[] = { "self","rect", NULL };
8025
8026 self = self;
8027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetClippingRect",_kwnames,&_argo0,&_obj1))
8028 return NULL;
8029 if (_argo0) {
8030 if (_argo0 == Py_None) { _arg0 = NULL; }
8031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetClippingRect. Expected _wxDC_p.");
8033 return NULL;
8034 }
8035 }
8036{
8037 _arg1 = &temp;
8038 if (! wxRect_helper(_obj1, &_arg1))
8039 return NULL;
8040}
8041{
8042 PyThreadState* __tstate = wxPyBeginAllowThreads();
8043 wxDC_SetClippingRect(_arg0,*_arg1);
8044
8045 wxPyEndAllowThreads(__tstate);
8046 if (PyErr_Occurred()) return NULL;
8047} Py_INCREF(Py_None);
8048 _resultobj = Py_None;
8049 return _resultobj;
8050}
8051
8ab979d7 8052#define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1afc06c2 8053static PyObject *_wrap_wxDC_SetPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8054 PyObject * _resultobj;
8055 wxDC * _arg0;
8056 wxPalette * _arg1;
1d99702e
RD
8057 PyObject * _argo0 = 0;
8058 PyObject * _argo1 = 0;
1afc06c2 8059 char *_kwnames[] = { "self","colourMap", NULL };
8ab979d7
RD
8060
8061 self = self;
1afc06c2 8062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetPalette",_kwnames,&_argo0,&_argo1))
8ab979d7 8063 return NULL;
1d99702e
RD
8064 if (_argo0) {
8065 if (_argo0 == Py_None) { _arg0 = NULL; }
8066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
8068 return NULL;
8069 }
8070 }
1d99702e 8071 if (_argo1) {
7e50db3f 8072 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPalette_p")) {
8ab979d7
RD
8073 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
8074 return NULL;
8075 }
8076 }
cf694132 8077{
4268f798 8078 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8079 wxDC_SetPalette(_arg0,*_arg1);
cf694132 8080
4268f798 8081 wxPyEndAllowThreads(__tstate);
493f1553 8082 if (PyErr_Occurred()) return NULL;
cf694132 8083} Py_INCREF(Py_None);
8ab979d7
RD
8084 _resultobj = Py_None;
8085 return _resultobj;
8086}
8087
8088#define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
1afc06c2 8089static PyObject *_wrap_wxDC_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8090 PyObject * _resultobj;
8091 wxDC * _arg0;
8092 wxBrush * _arg1;
1d99702e
RD
8093 PyObject * _argo0 = 0;
8094 PyObject * _argo1 = 0;
1afc06c2 8095 char *_kwnames[] = { "self","brush", NULL };
8ab979d7
RD
8096
8097 self = self;
1afc06c2 8098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetBrush",_kwnames,&_argo0,&_argo1))
8ab979d7 8099 return NULL;
1d99702e
RD
8100 if (_argo0) {
8101 if (_argo0 == Py_None) { _arg0 = NULL; }
8102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
8104 return NULL;
8105 }
8106 }
1d99702e 8107 if (_argo1) {
7e50db3f 8108 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) {
8ab979d7
RD
8109 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
8110 return NULL;
8111 }
8112 }
cf694132 8113{
4268f798 8114 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8115 wxDC_SetBrush(_arg0,*_arg1);
cf694132 8116
4268f798 8117 wxPyEndAllowThreads(__tstate);
493f1553 8118 if (PyErr_Occurred()) return NULL;
cf694132 8119} Py_INCREF(Py_None);
8ab979d7
RD
8120 _resultobj = Py_None;
8121 return _resultobj;
8122}
8123
8124#define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1afc06c2 8125static PyObject *_wrap_wxDC_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8126 PyObject * _resultobj;
8127 wxDC * _arg0;
8128 wxFont * _arg1;
1d99702e
RD
8129 PyObject * _argo0 = 0;
8130 PyObject * _argo1 = 0;
1afc06c2 8131 char *_kwnames[] = { "self","font", NULL };
8ab979d7
RD
8132
8133 self = self;
1afc06c2 8134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetFont",_kwnames,&_argo0,&_argo1))
8ab979d7 8135 return NULL;
1d99702e
RD
8136 if (_argo0) {
8137 if (_argo0 == Py_None) { _arg0 = NULL; }
8138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
8140 return NULL;
8141 }
8142 }
1d99702e 8143 if (_argo1) {
7e50db3f 8144 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
8ab979d7
RD
8145 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
8146 return NULL;
8147 }
8148 }
cf694132 8149{
4268f798 8150 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8151 wxDC_SetFont(_arg0,*_arg1);
cf694132 8152
4268f798 8153 wxPyEndAllowThreads(__tstate);
493f1553 8154 if (PyErr_Occurred()) return NULL;
cf694132 8155} Py_INCREF(Py_None);
8ab979d7
RD
8156 _resultobj = Py_None;
8157 return _resultobj;
8158}
8159
8160#define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
1afc06c2 8161static PyObject *_wrap_wxDC_SetLogicalFunction(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8162 PyObject * _resultobj;
8163 wxDC * _arg0;
8164 int _arg1;
1d99702e 8165 PyObject * _argo0 = 0;
1afc06c2 8166 char *_kwnames[] = { "self","function", NULL };
8ab979d7
RD
8167
8168 self = self;
1afc06c2 8169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_SetLogicalFunction",_kwnames,&_argo0,&_arg1))
8ab979d7 8170 return NULL;
1d99702e
RD
8171 if (_argo0) {
8172 if (_argo0 == Py_None) { _arg0 = NULL; }
8173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
8175 return NULL;
8176 }
8177 }
cf694132 8178{
4268f798 8179 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8180 wxDC_SetLogicalFunction(_arg0,_arg1);
cf694132 8181
4268f798 8182 wxPyEndAllowThreads(__tstate);
493f1553 8183 if (PyErr_Occurred()) return NULL;
cf694132 8184} Py_INCREF(Py_None);
8ab979d7
RD
8185 _resultobj = Py_None;
8186 return _resultobj;
8187}
8188
eec92d76
RD
8189#define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
8190static PyObject *_wrap_wxDC_SetLogicalScale(PyObject *self, PyObject *args, PyObject *kwargs) {
8191 PyObject * _resultobj;
8192 wxDC * _arg0;
8193 double _arg1;
8194 double _arg2;
8195 PyObject * _argo0 = 0;
8196 char *_kwnames[] = { "self","x","y", NULL };
8197
8198 self = self;
8199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxDC_SetLogicalScale",_kwnames,&_argo0,&_arg1,&_arg2))
8200 return NULL;
8201 if (_argo0) {
8202 if (_argo0 == Py_None) { _arg0 = NULL; }
8203 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8204 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
8205 return NULL;
8206 }
8207 }
8208{
4268f798 8209 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8210 wxDC_SetLogicalScale(_arg0,_arg1,_arg2);
eec92d76 8211
4268f798 8212 wxPyEndAllowThreads(__tstate);
493f1553 8213 if (PyErr_Occurred()) return NULL;
eec92d76
RD
8214} Py_INCREF(Py_None);
8215 _resultobj = Py_None;
8216 return _resultobj;
8217}
8218
8ab979d7 8219#define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
1afc06c2 8220static PyObject *_wrap_wxDC_SetMapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8221 PyObject * _resultobj;
8222 wxDC * _arg0;
8223 int _arg1;
1d99702e 8224 PyObject * _argo0 = 0;
1afc06c2 8225 char *_kwnames[] = { "self","mode", NULL };
8ab979d7
RD
8226
8227 self = self;
1afc06c2 8228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_SetMapMode",_kwnames,&_argo0,&_arg1))
8ab979d7 8229 return NULL;
1d99702e
RD
8230 if (_argo0) {
8231 if (_argo0 == Py_None) { _arg0 = NULL; }
8232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
8234 return NULL;
8235 }
8236 }
cf694132 8237{
4268f798 8238 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8239 wxDC_SetMapMode(_arg0,_arg1);
cf694132 8240
4268f798 8241 wxPyEndAllowThreads(__tstate);
493f1553 8242 if (PyErr_Occurred()) return NULL;
cf694132 8243} Py_INCREF(Py_None);
8ab979d7
RD
8244 _resultobj = Py_None;
8245 return _resultobj;
8246}
8247
8248#define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
1afc06c2 8249static PyObject *_wrap_wxDC_SetOptimization(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8250 PyObject * _resultobj;
8251 wxDC * _arg0;
8252 bool _arg1;
1d99702e 8253 PyObject * _argo0 = 0;
8ab979d7 8254 int tempbool1;
1afc06c2 8255 char *_kwnames[] = { "self","optimize", NULL };
8ab979d7
RD
8256
8257 self = self;
1afc06c2 8258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_SetOptimization",_kwnames,&_argo0,&tempbool1))
8ab979d7 8259 return NULL;
1d99702e
RD
8260 if (_argo0) {
8261 if (_argo0 == Py_None) { _arg0 = NULL; }
8262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
8264 return NULL;
8265 }
8266 }
8267 _arg1 = (bool ) tempbool1;
cf694132 8268{
4268f798 8269 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8270 wxDC_SetOptimization(_arg0,_arg1);
cf694132 8271
4268f798 8272 wxPyEndAllowThreads(__tstate);
493f1553 8273 if (PyErr_Occurred()) return NULL;
cf694132 8274} Py_INCREF(Py_None);
8ab979d7
RD
8275 _resultobj = Py_None;
8276 return _resultobj;
8277}
8278
8279#define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
1afc06c2 8280static PyObject *_wrap_wxDC_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8281 PyObject * _resultobj;
8282 wxDC * _arg0;
8283 wxPen * _arg1;
1d99702e
RD
8284 PyObject * _argo0 = 0;
8285 PyObject * _argo1 = 0;
1afc06c2 8286 char *_kwnames[] = { "self","pen", NULL };
8ab979d7
RD
8287
8288 self = self;
1afc06c2 8289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetPen",_kwnames,&_argo0,&_argo1))
8ab979d7 8290 return NULL;
1d99702e
RD
8291 if (_argo0) {
8292 if (_argo0 == Py_None) { _arg0 = NULL; }
8293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
8295 return NULL;
8296 }
8297 }
1d99702e 8298 if (_argo1) {
7e50db3f 8299 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) {
8ab979d7
RD
8300 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
8301 return NULL;
8302 }
8303 }
cf694132 8304{
4268f798 8305 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8306 wxDC_SetPen(_arg0,*_arg1);
cf694132 8307
4268f798 8308 wxPyEndAllowThreads(__tstate);
493f1553 8309 if (PyErr_Occurred()) return NULL;
cf694132 8310} Py_INCREF(Py_None);
8ab979d7
RD
8311 _resultobj = Py_None;
8312 return _resultobj;
8313}
8314
8315#define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
1afc06c2 8316static PyObject *_wrap_wxDC_SetTextBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8317 PyObject * _resultobj;
8318 wxDC * _arg0;
8319 wxColour * _arg1;
1d99702e 8320 PyObject * _argo0 = 0;
f6bcfd97
BP
8321 wxColour temp;
8322 PyObject * _obj1 = 0;
1afc06c2 8323 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
8324
8325 self = self;
f6bcfd97 8326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetTextBackground",_kwnames,&_argo0,&_obj1))
8ab979d7 8327 return NULL;
1d99702e
RD
8328 if (_argo0) {
8329 if (_argo0 == Py_None) { _arg0 = NULL; }
8330 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8331 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
8332 return NULL;
8333 }
8334 }
f6bcfd97
BP
8335{
8336 _arg1 = &temp;
8337 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 8338 return NULL;
f6bcfd97 8339}
cf694132 8340{
4268f798 8341 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8342 wxDC_SetTextBackground(_arg0,*_arg1);
cf694132 8343
4268f798 8344 wxPyEndAllowThreads(__tstate);
493f1553 8345 if (PyErr_Occurred()) return NULL;
cf694132 8346} Py_INCREF(Py_None);
8ab979d7
RD
8347 _resultobj = Py_None;
8348 return _resultobj;
8349}
8350
8351#define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
1afc06c2 8352static PyObject *_wrap_wxDC_SetTextForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8353 PyObject * _resultobj;
8354 wxDC * _arg0;
8355 wxColour * _arg1;
1d99702e 8356 PyObject * _argo0 = 0;
f6bcfd97
BP
8357 wxColour temp;
8358 PyObject * _obj1 = 0;
1afc06c2 8359 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
8360
8361 self = self;
f6bcfd97 8362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetTextForeground",_kwnames,&_argo0,&_obj1))
8ab979d7 8363 return NULL;
1d99702e
RD
8364 if (_argo0) {
8365 if (_argo0 == Py_None) { _arg0 = NULL; }
8366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
8368 return NULL;
8369 }
8370 }
f6bcfd97
BP
8371{
8372 _arg1 = &temp;
8373 if (! wxColour_helper(_obj1, &_arg1))
8ab979d7 8374 return NULL;
f6bcfd97 8375}
cf694132 8376{
4268f798 8377 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8378 wxDC_SetTextForeground(_arg0,*_arg1);
cf694132 8379
4268f798 8380 wxPyEndAllowThreads(__tstate);
493f1553 8381 if (PyErr_Occurred()) return NULL;
cf694132 8382} Py_INCREF(Py_None);
8ab979d7
RD
8383 _resultobj = Py_None;
8384 return _resultobj;
8385}
8386
8387#define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
1afc06c2 8388static PyObject *_wrap_wxDC_SetUserScale(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8389 PyObject * _resultobj;
8390 wxDC * _arg0;
8391 double _arg1;
8392 double _arg2;
1d99702e 8393 PyObject * _argo0 = 0;
1afc06c2 8394 char *_kwnames[] = { "self","x_scale","y_scale", NULL };
8ab979d7
RD
8395
8396 self = self;
1afc06c2 8397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxDC_SetUserScale",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 8398 return NULL;
1d99702e
RD
8399 if (_argo0) {
8400 if (_argo0 == Py_None) { _arg0 = NULL; }
8401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
8403 return NULL;
8404 }
8405 }
cf694132 8406{
4268f798 8407 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8408 wxDC_SetUserScale(_arg0,_arg1,_arg2);
cf694132 8409
4268f798 8410 wxPyEndAllowThreads(__tstate);
493f1553 8411 if (PyErr_Occurred()) return NULL;
cf694132 8412} Py_INCREF(Py_None);
8ab979d7
RD
8413 _resultobj = Py_None;
8414 return _resultobj;
8415}
8416
8417#define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
1afc06c2 8418static PyObject *_wrap_wxDC_StartDoc(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8419 PyObject * _resultobj;
8420 bool _result;
8421 wxDC * _arg0;
8422 wxString * _arg1;
1d99702e 8423 PyObject * _argo0 = 0;
8ab979d7 8424 PyObject * _obj1 = 0;
1afc06c2 8425 char *_kwnames[] = { "self","message", NULL };
8ab979d7
RD
8426
8427 self = self;
1afc06c2 8428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_StartDoc",_kwnames,&_argo0,&_obj1))
8ab979d7 8429 return NULL;
1d99702e
RD
8430 if (_argo0) {
8431 if (_argo0 == Py_None) { _arg0 = NULL; }
8432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
8434 return NULL;
8435 }
8436 }
8437{
c8bc7bb8
RD
8438 _arg1 = wxString_in_helper(_obj1);
8439 if (_arg1 == NULL)
185d7c3e 8440 return NULL;
8ab979d7 8441}
cf694132 8442{
4268f798 8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8444 _result = (bool )wxDC_StartDoc(_arg0,*_arg1);
cf694132 8445
4268f798 8446 wxPyEndAllowThreads(__tstate);
493f1553 8447 if (PyErr_Occurred()) return NULL;
cf694132 8448} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8449{
8450 if (_obj1)
8451 delete _arg1;
8452}
8453 return _resultobj;
8454}
8455
8456#define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
1afc06c2 8457static PyObject *_wrap_wxDC_StartPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8458 PyObject * _resultobj;
8459 wxDC * _arg0;
1d99702e 8460 PyObject * _argo0 = 0;
1afc06c2 8461 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8462
8463 self = self;
1afc06c2 8464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_StartPage",_kwnames,&_argo0))
8ab979d7 8465 return NULL;
1d99702e
RD
8466 if (_argo0) {
8467 if (_argo0 == Py_None) { _arg0 = NULL; }
8468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
8470 return NULL;
8471 }
8472 }
cf694132 8473{
4268f798 8474 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8475 wxDC_StartPage(_arg0);
cf694132 8476
4268f798 8477 wxPyEndAllowThreads(__tstate);
493f1553 8478 if (PyErr_Occurred()) return NULL;
cf694132 8479} Py_INCREF(Py_None);
8ab979d7
RD
8480 _resultobj = Py_None;
8481 return _resultobj;
8482}
8483
efc5f224 8484#define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 8485static PyObject *_wrap_wxDC_DrawBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8486 PyObject * _resultobj;
8487 wxDC * _arg0;
8488 wxBitmap * _arg1;
7e50db3f
RD
8489 wxCoord _arg2;
8490 wxCoord _arg3;
efc5f224 8491 int _arg4 = (int ) FALSE;
1d99702e
RD
8492 PyObject * _argo0 = 0;
8493 PyObject * _argo1 = 0;
1afc06c2 8494 char *_kwnames[] = { "self","bitmap","x","y","useMask", NULL };
8ab979d7
RD
8495
8496 self = self;
7e50db3f 8497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii|i:wxDC_DrawBitmap",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4))
8ab979d7 8498 return NULL;
1d99702e
RD
8499 if (_argo0) {
8500 if (_argo0 == Py_None) { _arg0 = NULL; }
8501 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
8502 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
8503 return NULL;
8504 }
8505 }
1d99702e 8506 if (_argo1) {
7e50db3f 8507 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
8508 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
8509 return NULL;
8510 }
8511 }
cf694132 8512{
4268f798 8513 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8514 wxDC_DrawBitmap(_arg0,*_arg1,_arg2,_arg3,_arg4);
cf694132 8515
4268f798 8516 wxPyEndAllowThreads(__tstate);
493f1553 8517 if (PyErr_Occurred()) return NULL;
cf694132 8518} Py_INCREF(Py_None);
8ab979d7
RD
8519 _resultobj = Py_None;
8520 return _resultobj;
8521}
8522
eec92d76
RD
8523#define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
8524static PyObject *_wrap_wxDC_CanDrawBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8525 PyObject * _resultobj;
8526 bool _result;
8527 wxDC * _arg0;
8528 PyObject * _argo0 = 0;
8529 char *_kwnames[] = { "self", NULL };
8530
8531 self = self;
8532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_CanDrawBitmap",_kwnames,&_argo0))
8533 return NULL;
8534 if (_argo0) {
8535 if (_argo0 == Py_None) { _arg0 = NULL; }
8536 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8537 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
8538 return NULL;
8539 }
8540 }
8541{
4268f798 8542 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8543 _result = (bool )wxDC_CanDrawBitmap(_arg0);
eec92d76 8544
4268f798 8545 wxPyEndAllowThreads(__tstate);
493f1553 8546 if (PyErr_Occurred()) return NULL;
eec92d76
RD
8547} _resultobj = Py_BuildValue("i",_result);
8548 return _resultobj;
8549}
8550
8551#define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
8552static PyObject *_wrap_wxDC_CanGetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
8553 PyObject * _resultobj;
8554 bool _result;
8555 wxDC * _arg0;
8556 PyObject * _argo0 = 0;
8557 char *_kwnames[] = { "self", NULL };
8558
8559 self = self;
8560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_CanGetTextExtent",_kwnames,&_argo0))
8561 return NULL;
8562 if (_argo0) {
8563 if (_argo0 == Py_None) { _arg0 = NULL; }
8564 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8565 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
8566 return NULL;
8567 }
8568 }
8569{
4268f798 8570 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8571 _result = (bool )wxDC_CanGetTextExtent(_arg0);
eec92d76 8572
4268f798 8573 wxPyEndAllowThreads(__tstate);
493f1553 8574 if (PyErr_Occurred()) return NULL;
eec92d76
RD
8575} _resultobj = Py_BuildValue("i",_result);
8576 return _resultobj;
8577}
8578
8579#define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
8580static PyObject *_wrap_wxDC_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
8581 PyObject * _resultobj;
8582 int _result;
8583 wxDC * _arg0;
8584 PyObject * _argo0 = 0;
8585 char *_kwnames[] = { "self", NULL };
8586
8587 self = self;
8588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetDepth",_kwnames,&_argo0))
8589 return NULL;
8590 if (_argo0) {
8591 if (_argo0 == Py_None) { _arg0 = NULL; }
8592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
8594 return NULL;
8595 }
8596 }
8597{
4268f798 8598 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8599 _result = (int )wxDC_GetDepth(_arg0);
eec92d76 8600
4268f798 8601 wxPyEndAllowThreads(__tstate);
493f1553 8602 if (PyErr_Occurred()) return NULL;
eec92d76
RD
8603} _resultobj = Py_BuildValue("i",_result);
8604 return _resultobj;
8605}
8606
8607#define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
8608static PyObject *_wrap_wxDC_GetPPI(PyObject *self, PyObject *args, PyObject *kwargs) {
8609 PyObject * _resultobj;
8610 wxSize * _result;
8611 wxDC * _arg0;
8612 PyObject * _argo0 = 0;
8613 char *_kwnames[] = { "self", NULL };
8614 char _ptemp[128];
8615
8616 self = self;
8617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetPPI",_kwnames,&_argo0))
8618 return NULL;
8619 if (_argo0) {
8620 if (_argo0 == Py_None) { _arg0 = NULL; }
8621 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
8623 return NULL;
8624 }
8625 }
8626{
4268f798 8627 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8628 _result = new wxSize (wxDC_GetPPI(_arg0));
eec92d76 8629
4268f798 8630 wxPyEndAllowThreads(__tstate);
493f1553 8631 if (PyErr_Occurred()) return NULL;
eec92d76
RD
8632} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
8633 _resultobj = Py_BuildValue("s",_ptemp);
8634 return _resultobj;
8635}
8636
8637#define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
8638static PyObject *_wrap_wxDC_GetLogicalOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
8639 PyObject * _resultobj;
8640 wxDC * _arg0;
8641 int * _arg1;
8642 int temp;
8643 int * _arg2;
8644 int temp0;
8645 PyObject * _argo0 = 0;
8646 char *_kwnames[] = { "self", NULL };
8647
8648 self = self;
8649{
8650 _arg1 = &temp;
8651}
8652{
8653 _arg2 = &temp0;
8654}
8655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetLogicalOrigin",_kwnames,&_argo0))
8656 return NULL;
8657 if (_argo0) {
8658 if (_argo0 == Py_None) { _arg0 = NULL; }
8659 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8660 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
8661 return NULL;
8662 }
8663 }
8664{
4268f798 8665 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8666 wxDC_GetLogicalOrigin(_arg0,_arg1,_arg2);
eec92d76 8667
4268f798 8668 wxPyEndAllowThreads(__tstate);
493f1553 8669 if (PyErr_Occurred()) return NULL;
eec92d76
RD
8670} Py_INCREF(Py_None);
8671 _resultobj = Py_None;
8672{
8673 PyObject *o;
8674 o = PyInt_FromLong((long) (*_arg1));
8675 _resultobj = t_output_helper(_resultobj, o);
8676}
8677{
8678 PyObject *o;
8679 o = PyInt_FromLong((long) (*_arg2));
8680 _resultobj = t_output_helper(_resultobj, o);
8681}
8682 return _resultobj;
8683}
8684
8685#define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
8686static PyObject *_wrap_wxDC_SetLogicalOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
8687 PyObject * _resultobj;
8688 wxDC * _arg0;
8689 int _arg1;
8690 int _arg2;
8691 PyObject * _argo0 = 0;
8692 char *_kwnames[] = { "self","x","y", NULL };
8693
8694 self = self;
8695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxDC_SetLogicalOrigin",_kwnames,&_argo0,&_arg1,&_arg2))
8696 return NULL;
8697 if (_argo0) {
8698 if (_argo0 == Py_None) { _arg0 = NULL; }
8699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
8701 return NULL;
8702 }
8703 }
8704{
4268f798 8705 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8706 wxDC_SetLogicalOrigin(_arg0,_arg1,_arg2);
eec92d76 8707
4268f798 8708 wxPyEndAllowThreads(__tstate);
493f1553 8709 if (PyErr_Occurred()) return NULL;
eec92d76
RD
8710} Py_INCREF(Py_None);
8711 _resultobj = Py_None;
8712 return _resultobj;
8713}
8714
8715#define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
8716static PyObject *_wrap_wxDC_GetDeviceOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
8717 PyObject * _resultobj;
8718 wxDC * _arg0;
8719 int * _arg1;
8720 int temp;
8721 int * _arg2;
8722 int temp0;
8723 PyObject * _argo0 = 0;
8724 char *_kwnames[] = { "self", NULL };
8725
8726 self = self;
8727{
8728 _arg1 = &temp;
8729}
8730{
8731 _arg2 = &temp0;
8732}
8733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetDeviceOrigin",_kwnames,&_argo0))
8734 return NULL;
8735 if (_argo0) {
8736 if (_argo0 == Py_None) { _arg0 = NULL; }
8737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
8739 return NULL;
8740 }
8741 }
8742{
4268f798 8743 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8744 wxDC_GetDeviceOrigin(_arg0,_arg1,_arg2);
eec92d76 8745
4268f798 8746 wxPyEndAllowThreads(__tstate);
493f1553 8747 if (PyErr_Occurred()) return NULL;
eec92d76
RD
8748} Py_INCREF(Py_None);
8749 _resultobj = Py_None;
8750{
8751 PyObject *o;
8752 o = PyInt_FromLong((long) (*_arg1));
8753 _resultobj = t_output_helper(_resultobj, o);
8754}
8755{
8756 PyObject *o;
8757 o = PyInt_FromLong((long) (*_arg2));
8758 _resultobj = t_output_helper(_resultobj, o);
8759}
8760 return _resultobj;
8761}
8762
8763#define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
8764static PyObject *_wrap_wxDC_SetAxisOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8765 PyObject * _resultobj;
8766 wxDC * _arg0;
8767 bool _arg1;
8768 bool _arg2;
8769 PyObject * _argo0 = 0;
8770 int tempbool1;
8771 int tempbool2;
8772 char *_kwnames[] = { "self","xLeftRight","yBottomUp", NULL };
8773
8774 self = self;
8775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxDC_SetAxisOrientation",_kwnames,&_argo0,&tempbool1,&tempbool2))
8776 return NULL;
8777 if (_argo0) {
8778 if (_argo0 == Py_None) { _arg0 = NULL; }
8779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
8781 return NULL;
8782 }
8783 }
8784 _arg1 = (bool ) tempbool1;
8785 _arg2 = (bool ) tempbool2;
8786{
4268f798 8787 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8788 wxDC_SetAxisOrientation(_arg0,_arg1,_arg2);
eec92d76 8789
4268f798 8790 wxPyEndAllowThreads(__tstate);
493f1553 8791 if (PyErr_Occurred()) return NULL;
eec92d76
RD
8792} Py_INCREF(Py_None);
8793 _resultobj = Py_None;
8794 return _resultobj;
8795}
8796
f6bcfd97
BP
8797#define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
8798static PyObject *_wrap_wxDC_CalcBoundingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8799 PyObject * _resultobj;
8800 wxDC * _arg0;
8801 int _arg1;
8802 int _arg2;
8803 PyObject * _argo0 = 0;
8804 char *_kwnames[] = { "self","x","y", NULL };
8805
8806 self = self;
8807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxDC_CalcBoundingBox",_kwnames,&_argo0,&_arg1,&_arg2))
8808 return NULL;
8809 if (_argo0) {
8810 if (_argo0 == Py_None) { _arg0 = NULL; }
8811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
8813 return NULL;
8814 }
8815 }
8816{
4268f798 8817 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8818 wxDC_CalcBoundingBox(_arg0,_arg1,_arg2);
f6bcfd97 8819
4268f798 8820 wxPyEndAllowThreads(__tstate);
493f1553 8821 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8822} Py_INCREF(Py_None);
8823 _resultobj = Py_None;
8824 return _resultobj;
8825}
8826
8827#define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
8828static PyObject *_wrap_wxDC_ResetBoundingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8829 PyObject * _resultobj;
8830 wxDC * _arg0;
8831 PyObject * _argo0 = 0;
8832 char *_kwnames[] = { "self", NULL };
8833
8834 self = self;
8835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_ResetBoundingBox",_kwnames,&_argo0))
8836 return NULL;
8837 if (_argo0) {
8838 if (_argo0 == Py_None) { _arg0 = NULL; }
8839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
8841 return NULL;
8842 }
8843 }
8844{
4268f798 8845 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8846 wxDC_ResetBoundingBox(_arg0);
f6bcfd97 8847
4268f798 8848 wxPyEndAllowThreads(__tstate);
493f1553 8849 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
8850} Py_INCREF(Py_None);
8851 _resultobj = Py_None;
8852 return _resultobj;
8853}
8854
9d37f964
RD
8855static PyObject *_wrap_wxDC_GetBoundingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8856 PyObject * _resultobj;
8857 wxDC * _arg0;
8858 int * _arg1;
8859 int temp;
8860 int * _arg2;
8861 int temp0;
8862 int * _arg3;
8863 int temp1;
8864 int * _arg4;
8865 int temp2;
8866 PyObject * _argo0 = 0;
8867 char *_kwnames[] = { "self", NULL };
8868
8869 self = self;
8870{
8871 _arg1 = &temp;
8872}
8873{
8874 _arg2 = &temp0;
8875}
8876{
8877 _arg3 = &temp1;
8878}
8879{
8880 _arg4 = &temp2;
8881}
8882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetBoundingBox",_kwnames,&_argo0))
8883 return NULL;
8884 if (_argo0) {
8885 if (_argo0 == Py_None) { _arg0 = NULL; }
8886 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetBoundingBox. Expected _wxDC_p.");
8888 return NULL;
8889 }
8890 }
8891{
4268f798 8892 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8893 wxDC_GetBoundingBox(_arg0,_arg1,_arg2,_arg3,_arg4);
9d37f964 8894
4268f798 8895 wxPyEndAllowThreads(__tstate);
9d37f964
RD
8896 if (PyErr_Occurred()) return NULL;
8897} Py_INCREF(Py_None);
8898 _resultobj = Py_None;
8899{
8900 PyObject *o;
8901 o = PyInt_FromLong((long) (*_arg1));
8902 _resultobj = t_output_helper(_resultobj, o);
8903}
8904{
8905 PyObject *o;
8906 o = PyInt_FromLong((long) (*_arg2));
8907 _resultobj = t_output_helper(_resultobj, o);
8908}
8909{
8910 PyObject *o;
8911 o = PyInt_FromLong((long) (*_arg3));
8912 _resultobj = t_output_helper(_resultobj, o);
8913}
8914{
8915 PyObject *o;
8916 o = PyInt_FromLong((long) (*_arg4));
8917 _resultobj = t_output_helper(_resultobj, o);
8918}
8919 return _resultobj;
8920}
8921
c7e7022c
RD
8922#define wxDC_GetHDC(_swigobj) (_swigobj->GetHDC())
8923static PyObject *_wrap_wxDC_GetHDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8924 PyObject * _resultobj;
8925 long _result;
8926 wxDC * _arg0;
8927 PyObject * _argo0 = 0;
8928 char *_kwnames[] = { "self", NULL };
8929
8930 self = self;
8931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetHDC",_kwnames,&_argo0))
8932 return NULL;
8933 if (_argo0) {
8934 if (_argo0 == Py_None) { _arg0 = NULL; }
8935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetHDC. Expected _wxDC_p.");
8937 return NULL;
8938 }
8939 }
8940{
4268f798 8941 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8942 _result = (long )wxDC_GetHDC(_arg0);
c7e7022c 8943
4268f798 8944 wxPyEndAllowThreads(__tstate);
c7e7022c
RD
8945 if (PyErr_Occurred()) return NULL;
8946} _resultobj = Py_BuildValue("l",_result);
8947 return _resultobj;
8948}
8949
7e50db3f
RD
8950static PyObject * wxDC__DrawPointList(wxDC *self,PyObject * pyCoords,PyObject * pyPens,PyObject * pyBrushes) {
8951 return wxPyDrawXXXList(*self, wxPyDrawXXXPoint, pyCoords, pyPens, pyBrushes);
8952 }
8953static PyObject *_wrap_wxDC__DrawPointList(PyObject *self, PyObject *args, PyObject *kwargs) {
8954 PyObject * _resultobj;
8955 PyObject * _result;
8956 wxDC * _arg0;
8957 PyObject * _arg1;
8958 PyObject * _arg2;
8959 PyObject * _arg3;
8960 PyObject * _argo0 = 0;
8961 PyObject * _obj1 = 0;
8962 PyObject * _obj2 = 0;
8963 PyObject * _obj3 = 0;
8964 char *_kwnames[] = { "self","pyCoords","pyPens","pyBrushes", NULL };
67a92fff 8965
7e50db3f
RD
8966 self = self;
8967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxDC__DrawPointList",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
8968 return NULL;
8969 if (_argo0) {
8970 if (_argo0 == Py_None) { _arg0 = NULL; }
8971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC__DrawPointList. Expected _wxDC_p.");
8973 return NULL;
8974 }
8975 }
8976{
8977 _arg1 = _obj1;
8978}
8979{
8980 _arg2 = _obj2;
8981}
8982{
8983 _arg3 = _obj3;
8984}
8985{
8986 PyThreadState* __tstate = wxPyBeginAllowThreads();
8987 _result = (PyObject *)wxDC__DrawPointList(_arg0,_arg1,_arg2,_arg3);
9d37f964 8988
7e50db3f
RD
8989 wxPyEndAllowThreads(__tstate);
8990 if (PyErr_Occurred()) return NULL;
8991}{
8992 _resultobj = _result;
8993}
8994 return _resultobj;
8995}
9d37f964 8996
7e50db3f
RD
8997static PyObject * wxDC__DrawLineList(wxDC *self,PyObject * pyCoords,PyObject * pyPens,PyObject * pyBrushes) {
8998 return wxPyDrawXXXList(*self, wxPyDrawXXXLine, pyCoords, pyPens, pyBrushes);
8999 }
9000static PyObject *_wrap_wxDC__DrawLineList(PyObject *self, PyObject *args, PyObject *kwargs) {
9001 PyObject * _resultobj;
9002 PyObject * _result;
9003 wxDC * _arg0;
9004 PyObject * _arg1;
9005 PyObject * _arg2;
9006 PyObject * _arg3;
9007 PyObject * _argo0 = 0;
9008 PyObject * _obj1 = 0;
9009 PyObject * _obj2 = 0;
9010 PyObject * _obj3 = 0;
9011 char *_kwnames[] = { "self","pyCoords","pyPens","pyBrushes", NULL };
9d37f964 9012
7e50db3f
RD
9013 self = self;
9014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxDC__DrawLineList",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
9015 return NULL;
9016 if (_argo0) {
9017 if (_argo0 == Py_None) { _arg0 = NULL; }
9018 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC__DrawLineList. Expected _wxDC_p.");
9020 return NULL;
9021 }
9022 }
9023{
9024 _arg1 = _obj1;
9025}
9026{
9027 _arg2 = _obj2;
9028}
9029{
9030 _arg3 = _obj3;
9031}
9032{
9033 PyThreadState* __tstate = wxPyBeginAllowThreads();
9034 _result = (PyObject *)wxDC__DrawLineList(_arg0,_arg1,_arg2,_arg3);
9d37f964 9035
7e50db3f
RD
9036 wxPyEndAllowThreads(__tstate);
9037 if (PyErr_Occurred()) return NULL;
9038}{
9039 _resultobj = _result;
9040}
9041 return _resultobj;
9042}
67a92fff 9043
7e50db3f
RD
9044static PyObject * wxDC__DrawRectangleList(wxDC *self,PyObject * pyCoords,PyObject * pyPens,PyObject * pyBrushes) {
9045 return wxPyDrawXXXList(*self, wxPyDrawXXXRectangle, pyCoords, pyPens, pyBrushes);
9d37f964 9046 }
7e50db3f 9047static PyObject *_wrap_wxDC__DrawRectangleList(PyObject *self, PyObject *args, PyObject *kwargs) {
9d37f964
RD
9048 PyObject * _resultobj;
9049 PyObject * _result;
9050 wxDC * _arg0;
9051 PyObject * _arg1;
9052 PyObject * _arg2;
7e50db3f 9053 PyObject * _arg3;
9d37f964
RD
9054 PyObject * _argo0 = 0;
9055 PyObject * _obj1 = 0;
9056 PyObject * _obj2 = 0;
7e50db3f
RD
9057 PyObject * _obj3 = 0;
9058 char *_kwnames[] = { "self","pyCoords","pyPens","pyBrushes", NULL };
9d37f964
RD
9059
9060 self = self;
7e50db3f 9061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxDC__DrawRectangleList",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
9d37f964
RD
9062 return NULL;
9063 if (_argo0) {
9064 if (_argo0 == Py_None) { _arg0 = NULL; }
9065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
7e50db3f 9066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC__DrawRectangleList. Expected _wxDC_p.");
9d37f964
RD
9067 return NULL;
9068 }
9069 }
9070{
9071 _arg1 = _obj1;
9072}
9073{
9074 _arg2 = _obj2;
9075}
7e50db3f
RD
9076{
9077 _arg3 = _obj3;
9078}
9d37f964 9079{
4268f798 9080 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e50db3f 9081 _result = (PyObject *)wxDC__DrawRectangleList(_arg0,_arg1,_arg2,_arg3);
9d37f964 9082
4268f798 9083 wxPyEndAllowThreads(__tstate);
9d37f964
RD
9084 if (PyErr_Occurred()) return NULL;
9085}{
9086 _resultobj = _result;
9087}
9088 return _resultobj;
9089}
9090
7e50db3f
RD
9091static PyObject * wxDC__DrawEllipseList(wxDC *self,PyObject * pyCoords,PyObject * pyPens,PyObject * pyBrushes) {
9092 return wxPyDrawXXXList(*self, wxPyDrawXXXEllipse, pyCoords, pyPens, pyBrushes);
9093 }
9094static PyObject *_wrap_wxDC__DrawEllipseList(PyObject *self, PyObject *args, PyObject *kwargs) {
9095 PyObject * _resultobj;
9096 PyObject * _result;
9097 wxDC * _arg0;
9098 PyObject * _arg1;
9099 PyObject * _arg2;
9100 PyObject * _arg3;
9101 PyObject * _argo0 = 0;
9102 PyObject * _obj1 = 0;
9103 PyObject * _obj2 = 0;
9104 PyObject * _obj3 = 0;
9105 char *_kwnames[] = { "self","pyCoords","pyPens","pyBrushes", NULL };
9d37f964 9106
7e50db3f
RD
9107 self = self;
9108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxDC__DrawEllipseList",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
9109 return NULL;
9110 if (_argo0) {
9111 if (_argo0 == Py_None) { _arg0 = NULL; }
9112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC__DrawEllipseList. Expected _wxDC_p.");
9114 return NULL;
9115 }
9116 }
9117{
9118 _arg1 = _obj1;
9119}
9120{
9121 _arg2 = _obj2;
9122}
9123{
9124 _arg3 = _obj3;
9125}
9126{
9127 PyThreadState* __tstate = wxPyBeginAllowThreads();
9128 _result = (PyObject *)wxDC__DrawEllipseList(_arg0,_arg1,_arg2,_arg3);
9d37f964 9129
7e50db3f
RD
9130 wxPyEndAllowThreads(__tstate);
9131 if (PyErr_Occurred()) return NULL;
9132}{
9133 _resultobj = _result;
9134}
9135 return _resultobj;
9136}
9d37f964 9137
7e50db3f
RD
9138static PyObject * wxDC__DrawPolygonList(wxDC *self,PyObject * pyCoords,PyObject * pyPens,PyObject * pyBrushes) {
9139 return wxPyDrawXXXList(*self, wxPyDrawXXXPolygon, pyCoords, pyPens, pyBrushes);
9140 }
9141static PyObject *_wrap_wxDC__DrawPolygonList(PyObject *self, PyObject *args, PyObject *kwargs) {
9142 PyObject * _resultobj;
9143 PyObject * _result;
9144 wxDC * _arg0;
9145 PyObject * _arg1;
9146 PyObject * _arg2;
9147 PyObject * _arg3;
9148 PyObject * _argo0 = 0;
9149 PyObject * _obj1 = 0;
9150 PyObject * _obj2 = 0;
9151 PyObject * _obj3 = 0;
9152 char *_kwnames[] = { "self","pyCoords","pyPens","pyBrushes", NULL };
9d37f964 9153
7e50db3f
RD
9154 self = self;
9155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxDC__DrawPolygonList",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
9156 return NULL;
9157 if (_argo0) {
9158 if (_argo0 == Py_None) { _arg0 = NULL; }
9159 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC__DrawPolygonList. Expected _wxDC_p.");
9161 return NULL;
9162 }
9163 }
9164{
9165 _arg1 = _obj1;
9166}
9167{
9168 _arg2 = _obj2;
9169}
9170{
9171 _arg3 = _obj3;
9172}
9173{
9174 PyThreadState* __tstate = wxPyBeginAllowThreads();
9175 _result = (PyObject *)wxDC__DrawPolygonList(_arg0,_arg1,_arg2,_arg3);
67a92fff 9176
7e50db3f
RD
9177 wxPyEndAllowThreads(__tstate);
9178 if (PyErr_Occurred()) return NULL;
9179}{
9180 _resultobj = _result;
9181}
9182 return _resultobj;
9183}
67a92fff 9184
7e50db3f
RD
9185static PyObject * wxDC__DrawTextList(wxDC *self,PyObject * textList,PyObject * pyPoints,PyObject * foregroundList,PyObject * backgroundList) {
9186 return wxPyDrawTextList(*self, textList, pyPoints, foregroundList, backgroundList);
9d37f964 9187 }
7e50db3f 9188static PyObject *_wrap_wxDC__DrawTextList(PyObject *self, PyObject *args, PyObject *kwargs) {
9d37f964
RD
9189 PyObject * _resultobj;
9190 PyObject * _result;
9191 wxDC * _arg0;
9192 PyObject * _arg1;
9193 PyObject * _arg2;
7e50db3f
RD
9194 PyObject * _arg3;
9195 PyObject * _arg4;
9d37f964
RD
9196 PyObject * _argo0 = 0;
9197 PyObject * _obj1 = 0;
9198 PyObject * _obj2 = 0;
7e50db3f
RD
9199 PyObject * _obj3 = 0;
9200 PyObject * _obj4 = 0;
9201 char *_kwnames[] = { "self","textList","pyPoints","foregroundList","backgroundList", NULL };
9d37f964
RD
9202
9203 self = self;
7e50db3f 9204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOO:wxDC__DrawTextList",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3,&_obj4))
9d37f964
RD
9205 return NULL;
9206 if (_argo0) {
9207 if (_argo0 == Py_None) { _arg0 = NULL; }
9208 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
7e50db3f 9209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC__DrawTextList. Expected _wxDC_p.");
9d37f964
RD
9210 return NULL;
9211 }
9212 }
9213{
9214 _arg1 = _obj1;
9215}
9216{
9217 _arg2 = _obj2;
9218}
7e50db3f
RD
9219{
9220 _arg3 = _obj3;
9221}
9222{
9223 _arg4 = _obj4;
9224}
9d37f964 9225{
4268f798 9226 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e50db3f 9227 _result = (PyObject *)wxDC__DrawTextList(_arg0,_arg1,_arg2,_arg3,_arg4);
9d37f964 9228
4268f798 9229 wxPyEndAllowThreads(__tstate);
9d37f964
RD
9230 if (PyErr_Occurred()) return NULL;
9231}{
9232 _resultobj = _result;
9233}
9234 return _resultobj;
9235}
9236
8ab979d7
RD
9237static void *SwigwxMemoryDCTowxDC(void *ptr) {
9238 wxMemoryDC *src;
9239 wxDC *dest;
9240 src = (wxMemoryDC *) ptr;
9241 dest = (wxDC *) src;
9242 return (void *) dest;
9243}
9244
9416aa89
RD
9245static void *SwigwxMemoryDCTowxObject(void *ptr) {
9246 wxMemoryDC *src;
9247 wxObject *dest;
9248 src = (wxMemoryDC *) ptr;
9249 dest = (wxObject *) src;
9250 return (void *) dest;
9251}
9252
8ab979d7 9253#define new_wxMemoryDC() (new wxMemoryDC())
1afc06c2 9254static PyObject *_wrap_new_wxMemoryDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9255 PyObject * _resultobj;
9256 wxMemoryDC * _result;
1afc06c2 9257 char *_kwnames[] = { NULL };
8ab979d7
RD
9258 char _ptemp[128];
9259
9260 self = self;
1afc06c2 9261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxMemoryDC",_kwnames))
8ab979d7 9262 return NULL;
cf694132 9263{
4268f798 9264 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9265 _result = (wxMemoryDC *)new_wxMemoryDC();
cf694132 9266
4268f798 9267 wxPyEndAllowThreads(__tstate);
493f1553 9268 if (PyErr_Occurred()) return NULL;
1d99702e
RD
9269} if (_result) {
9270 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMemoryDC_p");
9271 _resultobj = Py_BuildValue("s",_ptemp);
9272 } else {
9273 Py_INCREF(Py_None);
9274 _resultobj = Py_None;
9275 }
8ab979d7
RD
9276 return _resultobj;
9277}
9278
9279#define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
1afc06c2 9280static PyObject *_wrap_wxMemoryDC_SelectObject(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9281 PyObject * _resultobj;
9282 wxMemoryDC * _arg0;
9283 wxBitmap * _arg1;
1d99702e
RD
9284 PyObject * _argo0 = 0;
9285 PyObject * _argo1 = 0;
1afc06c2 9286 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
9287
9288 self = self;
1afc06c2 9289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMemoryDC_SelectObject",_kwnames,&_argo0,&_argo1))
8ab979d7 9290 return NULL;
1d99702e
RD
9291 if (_argo0) {
9292 if (_argo0 == Py_None) { _arg0 = NULL; }
9293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMemoryDC_p")) {
8ab979d7
RD
9294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
9295 return NULL;
9296 }
9297 }
1d99702e 9298 if (_argo1) {
7e50db3f 9299 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
9300 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
9301 return NULL;
9302 }
9303 }
cf694132 9304{
4268f798 9305 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9306 wxMemoryDC_SelectObject(_arg0,*_arg1);
cf694132 9307
4268f798 9308 wxPyEndAllowThreads(__tstate);
493f1553 9309 if (PyErr_Occurred()) return NULL;
cf694132 9310} Py_INCREF(Py_None);
8ab979d7
RD
9311 _resultobj = Py_None;
9312 return _resultobj;
9313}
9314
e9159fe8
RD
9315static void *SwigwxBufferedDCTowxMemoryDC(void *ptr) {
9316 wxBufferedDC *src;
9317 wxMemoryDC *dest;
9318 src = (wxBufferedDC *) ptr;
9319 dest = (wxMemoryDC *) src;
9320 return (void *) dest;
9321}
9322
9323static void *SwigwxBufferedDCTowxDC(void *ptr) {
9324 wxBufferedDC *src;
9325 wxDC *dest;
9326 src = (wxBufferedDC *) ptr;
9327 dest = (wxDC *) src;
9328 return (void *) dest;
9329}
9330
9331static void *SwigwxBufferedDCTowxObject(void *ptr) {
9332 wxBufferedDC *src;
9333 wxObject *dest;
9334 src = (wxBufferedDC *) ptr;
9335 dest = (wxObject *) src;
9336 return (void *) dest;
9337}
9338
9339#define new_wxBufferedDC(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
9340static PyObject *_wrap_new_wxBufferedDC(PyObject *self, PyObject *args, PyObject *kwargs) {
9341 PyObject * _resultobj;
9342 wxBufferedDC * _result;
9343 wxDC * _arg0;
9344 wxBitmap * _arg1;
9345 PyObject * _argo0 = 0;
9346 PyObject * _argo1 = 0;
9347 char *_kwnames[] = { "dc","buffer", NULL };
9348 char _ptemp[128];
9349
9350 self = self;
9351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxBufferedDC",_kwnames,&_argo0,&_argo1))
9352 return NULL;
9353 if (_argo0) {
9354 if (_argo0 == Py_None) { _arg0 = NULL; }
9355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBufferedDC. Expected _wxDC_p.");
9357 return NULL;
9358 }
9359 }
9360 if (_argo1) {
7e50db3f 9361 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
e9159fe8
RD
9362 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxBufferedDC. Expected _wxBitmap_p.");
9363 return NULL;
9364 }
9365 }
9366{
9367 PyThreadState* __tstate = wxPyBeginAllowThreads();
9368 _result = (wxBufferedDC *)new_wxBufferedDC(_arg0,*_arg1);
9369
9370 wxPyEndAllowThreads(__tstate);
9371 if (PyErr_Occurred()) return NULL;
9372} if (_result) {
9373 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBufferedDC_p");
9374 _resultobj = Py_BuildValue("s",_ptemp);
9375 } else {
9376 Py_INCREF(Py_None);
9377 _resultobj = Py_None;
9378 }
9379 return _resultobj;
9380}
9381
9382#define new_wxBufferedDCInternalBuffer(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
9383static PyObject *_wrap_new_wxBufferedDCInternalBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
9384 PyObject * _resultobj;
9385 wxBufferedDC * _result;
9386 wxDC * _arg0;
9387 wxSize * _arg1;
9388 PyObject * _argo0 = 0;
9389 wxSize temp;
9390 PyObject * _obj1 = 0;
9391 char *_kwnames[] = { "dc","area", NULL };
9392 char _ptemp[128];
9393
9394 self = self;
9395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxBufferedDCInternalBuffer",_kwnames,&_argo0,&_obj1))
9396 return NULL;
9397 if (_argo0) {
9398 if (_argo0 == Py_None) { _arg0 = NULL; }
9399 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9400 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBufferedDCInternalBuffer. Expected _wxDC_p.");
9401 return NULL;
9402 }
9403 }
9404{
9405 _arg1 = &temp;
9406 if (! wxSize_helper(_obj1, &_arg1))
9407 return NULL;
9408}
9409{
9410 PyThreadState* __tstate = wxPyBeginAllowThreads();
9411 _result = (wxBufferedDC *)new_wxBufferedDCInternalBuffer(_arg0,*_arg1);
9412
9413 wxPyEndAllowThreads(__tstate);
9414 if (PyErr_Occurred()) return NULL;
9415} if (_result) {
9416 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBufferedDC_p");
9417 _resultobj = Py_BuildValue("s",_ptemp);
9418 } else {
9419 Py_INCREF(Py_None);
9420 _resultobj = Py_None;
9421 }
9422 return _resultobj;
9423}
9424
d3bfec74
RD
9425#define wxBufferedDC_UnMask(_swigobj) (_swigobj->UnMask())
9426static PyObject *_wrap_wxBufferedDC_UnMask(PyObject *self, PyObject *args, PyObject *kwargs) {
9427 PyObject * _resultobj;
9428 wxBufferedDC * _arg0;
9429 PyObject * _argo0 = 0;
9430 char *_kwnames[] = { "self", NULL };
9431
9432 self = self;
9433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBufferedDC_UnMask",_kwnames,&_argo0))
9434 return NULL;
9435 if (_argo0) {
9436 if (_argo0 == Py_None) { _arg0 = NULL; }
9437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBufferedDC_p")) {
9438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBufferedDC_UnMask. Expected _wxBufferedDC_p.");
9439 return NULL;
9440 }
9441 }
9442{
9443 PyThreadState* __tstate = wxPyBeginAllowThreads();
9444 wxBufferedDC_UnMask(_arg0);
9445
9446 wxPyEndAllowThreads(__tstate);
9447 if (PyErr_Occurred()) return NULL;
9448} Py_INCREF(Py_None);
9449 _resultobj = Py_None;
9450 return _resultobj;
9451}
9452
e9159fe8
RD
9453static void *SwigwxBufferedPaintDCTowxBufferedDC(void *ptr) {
9454 wxBufferedPaintDC *src;
9455 wxBufferedDC *dest;
9456 src = (wxBufferedPaintDC *) ptr;
9457 dest = (wxBufferedDC *) src;
9458 return (void *) dest;
9459}
9460
9461static void *SwigwxBufferedPaintDCTowxMemoryDC(void *ptr) {
9462 wxBufferedPaintDC *src;
9463 wxMemoryDC *dest;
9464 src = (wxBufferedPaintDC *) ptr;
9465 dest = (wxMemoryDC *) src;
9466 return (void *) dest;
9467}
9468
9469static void *SwigwxBufferedPaintDCTowxDC(void *ptr) {
9470 wxBufferedPaintDC *src;
9471 wxDC *dest;
9472 src = (wxBufferedPaintDC *) ptr;
9473 dest = (wxDC *) src;
9474 return (void *) dest;
9475}
9476
9477static void *SwigwxBufferedPaintDCTowxObject(void *ptr) {
9478 wxBufferedPaintDC *src;
9479 wxObject *dest;
9480 src = (wxBufferedPaintDC *) ptr;
9481 dest = (wxObject *) src;
9482 return (void *) dest;
9483}
9484
9485#define new_wxBufferedPaintDC(_swigarg0,_swigarg1) (new wxBufferedPaintDC(_swigarg0,_swigarg1))
9486static PyObject *_wrap_new_wxBufferedPaintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
9487 PyObject * _resultobj;
9488 wxBufferedPaintDC * _result;
9489 wxWindow * _arg0;
9490 wxBitmap * _arg1 = (wxBitmap *) &wxNullBitmap;
9491 PyObject * _argo0 = 0;
9492 PyObject * _argo1 = 0;
9493 char *_kwnames[] = { "window","buffer", NULL };
9494 char _ptemp[128];
9495
9496 self = self;
9497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxBufferedPaintDC",_kwnames,&_argo0,&_argo1))
9498 return NULL;
9499 if (_argo0) {
9500 if (_argo0 == Py_None) { _arg0 = NULL; }
9501 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9502 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBufferedPaintDC. Expected _wxWindow_p.");
9503 return NULL;
9504 }
9505 }
9506 if (_argo1) {
7e50db3f 9507 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
e9159fe8
RD
9508 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxBufferedPaintDC. Expected _wxBitmap_p.");
9509 return NULL;
9510 }
9511 }
9512{
9513 PyThreadState* __tstate = wxPyBeginAllowThreads();
9514 _result = (wxBufferedPaintDC *)new_wxBufferedPaintDC(_arg0,*_arg1);
9515
9516 wxPyEndAllowThreads(__tstate);
9517 if (PyErr_Occurred()) return NULL;
9518} if (_result) {
9519 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBufferedPaintDC_p");
9520 _resultobj = Py_BuildValue("s",_ptemp);
9521 } else {
9522 Py_INCREF(Py_None);
9523 _resultobj = Py_None;
9524 }
9525 return _resultobj;
9526}
9527
8ab979d7
RD
9528static void *SwigwxScreenDCTowxDC(void *ptr) {
9529 wxScreenDC *src;
9530 wxDC *dest;
9531 src = (wxScreenDC *) ptr;
9532 dest = (wxDC *) src;
9533 return (void *) dest;
9534}
9535
9416aa89
RD
9536static void *SwigwxScreenDCTowxObject(void *ptr) {
9537 wxScreenDC *src;
9538 wxObject *dest;
9539 src = (wxScreenDC *) ptr;
9540 dest = (wxObject *) src;
9541 return (void *) dest;
9542}
9543
8ab979d7 9544#define new_wxScreenDC() (new wxScreenDC())
1afc06c2 9545static PyObject *_wrap_new_wxScreenDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9546 PyObject * _resultobj;
9547 wxScreenDC * _result;
1afc06c2 9548 char *_kwnames[] = { NULL };
8ab979d7
RD
9549 char _ptemp[128];
9550
9551 self = self;
1afc06c2 9552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxScreenDC",_kwnames))
8ab979d7 9553 return NULL;
cf694132 9554{
4268f798 9555 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9556 _result = (wxScreenDC *)new_wxScreenDC();
cf694132 9557
4268f798 9558 wxPyEndAllowThreads(__tstate);
493f1553 9559 if (PyErr_Occurred()) return NULL;
1d99702e
RD
9560} if (_result) {
9561 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScreenDC_p");
9562 _resultobj = Py_BuildValue("s",_ptemp);
9563 } else {
9564 Py_INCREF(Py_None);
9565 _resultobj = Py_None;
9566 }
8ab979d7
RD
9567 return _resultobj;
9568}
9569
26b9cf27
RD
9570#define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
9571static PyObject *_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9572 PyObject * _resultobj;
9573 bool _result;
9574 wxScreenDC * _arg0;
9575 wxWindow * _arg1;
1d99702e
RD
9576 PyObject * _argo0 = 0;
9577 PyObject * _argo1 = 0;
1afc06c2 9578 char *_kwnames[] = { "self","window", NULL };
8ab979d7
RD
9579
9580 self = self;
26b9cf27 9581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames,&_argo0,&_argo1))
8ab979d7 9582 return NULL;
1d99702e
RD
9583 if (_argo0) {
9584 if (_argo0 == Py_None) { _arg0 = NULL; }
9585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScreenDC_p")) {
26b9cf27 9586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
8ab979d7
RD
9587 return NULL;
9588 }
9589 }
1d99702e
RD
9590 if (_argo1) {
9591 if (_argo1 == Py_None) { _arg1 = NULL; }
9592 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
26b9cf27 9593 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
8ab979d7
RD
9594 return NULL;
9595 }
9596 }
cf694132 9597{
4268f798 9598 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9599 _result = (bool )wxScreenDC_StartDrawingOnTopWin(_arg0,_arg1);
cf694132 9600
4268f798 9601 wxPyEndAllowThreads(__tstate);
493f1553 9602 if (PyErr_Occurred()) return NULL;
cf694132 9603} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9604 return _resultobj;
9605}
9606
26b9cf27
RD
9607#define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
9608static PyObject *_wrap_wxScreenDC_StartDrawingOnTop(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9609 PyObject * _resultobj;
9610 bool _result;
9611 wxScreenDC * _arg0;
1d99702e
RD
9612 wxRect * _arg1 = (wxRect *) NULL;
9613 PyObject * _argo0 = 0;
2f90df85
RD
9614 wxRect temp;
9615 PyObject * _obj1 = 0;
1afc06c2 9616 char *_kwnames[] = { "self","rect", NULL };
8ab979d7
RD
9617
9618 self = self;
26b9cf27 9619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames,&_argo0,&_obj1))
8ab979d7 9620 return NULL;
1d99702e
RD
9621 if (_argo0) {
9622 if (_argo0 == Py_None) { _arg0 = NULL; }
9623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScreenDC_p")) {
26b9cf27 9624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
8ab979d7
RD
9625 return NULL;
9626 }
9627 }
2f90df85
RD
9628 if (_obj1)
9629{
9630 _arg1 = &temp;
9631 if (! wxRect_helper(_obj1, &_arg1))
8ab979d7 9632 return NULL;
2f90df85 9633}
cf694132 9634{
4268f798 9635 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9636 _result = (bool )wxScreenDC_StartDrawingOnTop(_arg0,_arg1);
cf694132 9637
4268f798 9638 wxPyEndAllowThreads(__tstate);
493f1553 9639 if (PyErr_Occurred()) return NULL;
cf694132 9640} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9641 return _resultobj;
9642}
9643
9644#define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
1afc06c2 9645static PyObject *_wrap_wxScreenDC_EndDrawingOnTop(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9646 PyObject * _resultobj;
9647 bool _result;
9648 wxScreenDC * _arg0;
1d99702e 9649 PyObject * _argo0 = 0;
1afc06c2 9650 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9651
9652 self = self;
1afc06c2 9653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScreenDC_EndDrawingOnTop",_kwnames,&_argo0))
8ab979d7 9654 return NULL;
1d99702e
RD
9655 if (_argo0) {
9656 if (_argo0 == Py_None) { _arg0 = NULL; }
9657 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScreenDC_p")) {
8ab979d7
RD
9658 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
9659 return NULL;
9660 }
9661 }
cf694132 9662{
4268f798 9663 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9664 _result = (bool )wxScreenDC_EndDrawingOnTop(_arg0);
cf694132 9665
4268f798 9666 wxPyEndAllowThreads(__tstate);
493f1553 9667 if (PyErr_Occurred()) return NULL;
cf694132 9668} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9669 return _resultobj;
9670}
9671
9672static void *SwigwxClientDCTowxDC(void *ptr) {
9673 wxClientDC *src;
9674 wxDC *dest;
9675 src = (wxClientDC *) ptr;
9676 dest = (wxDC *) src;
9677 return (void *) dest;
9678}
9679
9416aa89
RD
9680static void *SwigwxClientDCTowxObject(void *ptr) {
9681 wxClientDC *src;
9682 wxObject *dest;
9683 src = (wxClientDC *) ptr;
9684 dest = (wxObject *) src;
9685 return (void *) dest;
9686}
9687
8ab979d7 9688#define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
1afc06c2 9689static PyObject *_wrap_new_wxClientDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9690 PyObject * _resultobj;
9691 wxClientDC * _result;
9692 wxWindow * _arg0;
1d99702e 9693 PyObject * _argo0 = 0;
1afc06c2 9694 char *_kwnames[] = { "win", NULL };
8ab979d7
RD
9695 char _ptemp[128];
9696
9697 self = self;
1afc06c2 9698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxClientDC",_kwnames,&_argo0))
8ab979d7 9699 return NULL;
1d99702e
RD
9700 if (_argo0) {
9701 if (_argo0 == Py_None) { _arg0 = NULL; }
9702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
9703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
9704 return NULL;
9705 }
9706 }
cf694132 9707{
4268f798 9708 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9709 _result = (wxClientDC *)new_wxClientDC(_arg0);
cf694132 9710
4268f798 9711 wxPyEndAllowThreads(__tstate);
493f1553 9712 if (PyErr_Occurred()) return NULL;
1d99702e
RD
9713} if (_result) {
9714 SWIG_MakePtr(_ptemp, (char *) _result,"_wxClientDC_p");
9715 _resultobj = Py_BuildValue("s",_ptemp);
9716 } else {
9717 Py_INCREF(Py_None);
9718 _resultobj = Py_None;
9719 }
8ab979d7
RD
9720 return _resultobj;
9721}
9722
9723static void *SwigwxPaintDCTowxDC(void *ptr) {
9724 wxPaintDC *src;
9725 wxDC *dest;
9726 src = (wxPaintDC *) ptr;
9727 dest = (wxDC *) src;
9728 return (void *) dest;
9729}
9730
9416aa89
RD
9731static void *SwigwxPaintDCTowxObject(void *ptr) {
9732 wxPaintDC *src;
9733 wxObject *dest;
9734 src = (wxPaintDC *) ptr;
9735 dest = (wxObject *) src;
9736 return (void *) dest;
9737}
9738
8ab979d7 9739#define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
1afc06c2 9740static PyObject *_wrap_new_wxPaintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9741 PyObject * _resultobj;
9742 wxPaintDC * _result;
9743 wxWindow * _arg0;
1d99702e 9744 PyObject * _argo0 = 0;
1afc06c2 9745 char *_kwnames[] = { "win", NULL };
8ab979d7
RD
9746 char _ptemp[128];
9747
9748 self = self;
1afc06c2 9749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxPaintDC",_kwnames,&_argo0))
8ab979d7 9750 return NULL;
1d99702e
RD
9751 if (_argo0) {
9752 if (_argo0 == Py_None) { _arg0 = NULL; }
9753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
9754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
9755 return NULL;
9756 }
9757 }
cf694132 9758{
4268f798 9759 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9760 _result = (wxPaintDC *)new_wxPaintDC(_arg0);
cf694132 9761
4268f798 9762 wxPyEndAllowThreads(__tstate);
493f1553 9763 if (PyErr_Occurred()) return NULL;
1d99702e
RD
9764} if (_result) {
9765 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPaintDC_p");
9766 _resultobj = Py_BuildValue("s",_ptemp);
9767 } else {
9768 Py_INCREF(Py_None);
9769 _resultobj = Py_None;
9770 }
8ab979d7
RD
9771 return _resultobj;
9772}
9773
b639c3c5
RD
9774static void *SwigwxWindowDCTowxDC(void *ptr) {
9775 wxWindowDC *src;
9776 wxDC *dest;
9777 src = (wxWindowDC *) ptr;
9778 dest = (wxDC *) src;
9779 return (void *) dest;
9780}
9781
9416aa89
RD
9782static void *SwigwxWindowDCTowxObject(void *ptr) {
9783 wxWindowDC *src;
9784 wxObject *dest;
9785 src = (wxWindowDC *) ptr;
9786 dest = (wxObject *) src;
9787 return (void *) dest;
9788}
9789
b639c3c5 9790#define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
1afc06c2 9791static PyObject *_wrap_new_wxWindowDC(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
9792 PyObject * _resultobj;
9793 wxWindowDC * _result;
9794 wxWindow * _arg0;
1d99702e 9795 PyObject * _argo0 = 0;
1afc06c2 9796 char *_kwnames[] = { "win", NULL };
b639c3c5
RD
9797 char _ptemp[128];
9798
9799 self = self;
1afc06c2 9800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxWindowDC",_kwnames,&_argo0))
b639c3c5 9801 return NULL;
1d99702e
RD
9802 if (_argo0) {
9803 if (_argo0 == Py_None) { _arg0 = NULL; }
9804 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b639c3c5
RD
9805 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
9806 return NULL;
9807 }
9808 }
cf694132 9809{
4268f798 9810 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9811 _result = (wxWindowDC *)new_wxWindowDC(_arg0);
cf694132 9812
4268f798 9813 wxPyEndAllowThreads(__tstate);
493f1553 9814 if (PyErr_Occurred()) return NULL;
1d99702e
RD
9815} if (_result) {
9816 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindowDC_p");
9817 _resultobj = Py_BuildValue("s",_ptemp);
9818 } else {
9819 Py_INCREF(Py_None);
9820 _resultobj = Py_None;
9821 }
b639c3c5
RD
9822 return _resultobj;
9823}
9824
5a2a9da2
RD
9825static void *SwigwxMirrorDCTowxDC(void *ptr) {
9826 wxMirrorDC *src;
9827 wxDC *dest;
9828 src = (wxMirrorDC *) ptr;
9829 dest = (wxDC *) src;
9830 return (void *) dest;
9831}
9832
9833static void *SwigwxMirrorDCTowxObject(void *ptr) {
9834 wxMirrorDC *src;
9835 wxObject *dest;
9836 src = (wxMirrorDC *) ptr;
9837 dest = (wxObject *) src;
9838 return (void *) dest;
9839}
9840
9841#define new_wxMirrorDC(_swigarg0,_swigarg1) (new wxMirrorDC(_swigarg0,_swigarg1))
9842static PyObject *_wrap_new_wxMirrorDC(PyObject *self, PyObject *args, PyObject *kwargs) {
9843 PyObject * _resultobj;
9844 wxMirrorDC * _result;
9845 wxDC * _arg0;
9846 bool _arg1;
9847 PyObject * _argo0 = 0;
9848 int tempbool1;
9849 char *_kwnames[] = { "dc","mirror", NULL };
9850 char _ptemp[128];
9851
9852 self = self;
9853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:new_wxMirrorDC",_kwnames,&_argo0,&tempbool1))
9854 return NULL;
9855 if (_argo0) {
9856 if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
9857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMirrorDC. Expected _wxDC_p.");
9858 return NULL;
9859 }
9860 }
9861 _arg1 = (bool ) tempbool1;
9862{
9863 PyThreadState* __tstate = wxPyBeginAllowThreads();
9864 _result = (wxMirrorDC *)new_wxMirrorDC(*_arg0,_arg1);
9865
9866 wxPyEndAllowThreads(__tstate);
9867 if (PyErr_Occurred()) return NULL;
9868} if (_result) {
9869 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMirrorDC_p");
9870 _resultobj = Py_BuildValue("s",_ptemp);
9871 } else {
9872 Py_INCREF(Py_None);
9873 _resultobj = Py_None;
9874 }
9875 return _resultobj;
9876}
9877
17c0e08c
RD
9878static void *SwigwxMetaFileTowxObject(void *ptr) {
9879 wxMetaFile *src;
9880 wxObject *dest;
9881 src = (wxMetaFile *) ptr;
9882 dest = (wxObject *) src;
9883 return (void *) dest;
9884}
9885
9886#define new_wxMetaFile(_swigarg0) (new wxMetaFile(_swigarg0))
9887static PyObject *_wrap_new_wxMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9888 PyObject * _resultobj;
9889 wxMetaFile * _result;
137b5242 9890 wxString * _arg0 = (wxString *) &wxPyEmptyString;
17c0e08c
RD
9891 PyObject * _obj0 = 0;
9892 char *_kwnames[] = { "filename", NULL };
9893 char _ptemp[128];
9894
9895 self = self;
9896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxMetaFile",_kwnames,&_obj0))
9897 return NULL;
9898 if (_obj0)
9899{
c8bc7bb8
RD
9900 _arg0 = wxString_in_helper(_obj0);
9901 if (_arg0 == NULL)
17c0e08c 9902 return NULL;
17c0e08c
RD
9903}
9904{
4268f798 9905 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9906 _result = (wxMetaFile *)new_wxMetaFile(*_arg0);
17c0e08c 9907
4268f798 9908 wxPyEndAllowThreads(__tstate);
17c0e08c
RD
9909 if (PyErr_Occurred()) return NULL;
9910} if (_result) {
9911 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMetaFile_p");
9912 _resultobj = Py_BuildValue("s",_ptemp);
9913 } else {
9914 Py_INCREF(Py_None);
9915 _resultobj = Py_None;
9916 }
9917{
9918 if (_obj0)
9919 delete _arg0;
9920}
9921 return _resultobj;
9922}
9923
9924#define delete_wxMetaFile(_swigobj) (delete _swigobj)
9925static PyObject *_wrap_delete_wxMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9926 PyObject * _resultobj;
9927 wxMetaFile * _arg0;
9928 PyObject * _argo0 = 0;
9929 char *_kwnames[] = { "self", NULL };
9930
9931 self = self;
9932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxMetaFile",_kwnames,&_argo0))
9933 return NULL;
9934 if (_argo0) {
9935 if (_argo0 == Py_None) { _arg0 = NULL; }
9936 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFile_p")) {
9937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxMetaFile. Expected _wxMetaFile_p.");
9938 return NULL;
9939 }
9940 }
9941{
4268f798 9942 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9943 delete_wxMetaFile(_arg0);
17c0e08c 9944
4268f798 9945 wxPyEndAllowThreads(__tstate);
17c0e08c
RD
9946 if (PyErr_Occurred()) return NULL;
9947} Py_INCREF(Py_None);
9948 _resultobj = Py_None;
9949 return _resultobj;
9950}
9951
9952#define wxMetaFile_Ok(_swigobj) (_swigobj->Ok())
9953static PyObject *_wrap_wxMetaFile_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
9954 PyObject * _resultobj;
9955 bool _result;
9956 wxMetaFile * _arg0;
9957 PyObject * _argo0 = 0;
9958 char *_kwnames[] = { "self", NULL };
9959
9960 self = self;
9961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMetaFile_Ok",_kwnames,&_argo0))
9962 return NULL;
9963 if (_argo0) {
9964 if (_argo0 == Py_None) { _arg0 = NULL; }
9965 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFile_p")) {
9966 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMetaFile_Ok. Expected _wxMetaFile_p.");
9967 return NULL;
9968 }
9969 }
9970{
4268f798 9971 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9972 _result = (bool )wxMetaFile_Ok(_arg0);
17c0e08c 9973
4268f798 9974 wxPyEndAllowThreads(__tstate);
17c0e08c
RD
9975 if (PyErr_Occurred()) return NULL;
9976} _resultobj = Py_BuildValue("i",_result);
9977 return _resultobj;
9978}
9979
9980#define wxMetaFile_SetClipboard(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClipboard(_swigarg0,_swigarg1))
9981static PyObject *_wrap_wxMetaFile_SetClipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
9982 PyObject * _resultobj;
9983 bool _result;
9984 wxMetaFile * _arg0;
9985 int _arg1 = (int ) 0;
9986 int _arg2 = (int ) 0;
9987 PyObject * _argo0 = 0;
9988 char *_kwnames[] = { "self","width","height", NULL };
9989
9990 self = self;
9991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxMetaFile_SetClipboard",_kwnames,&_argo0,&_arg1,&_arg2))
9992 return NULL;
9993 if (_argo0) {
9994 if (_argo0 == Py_None) { _arg0 = NULL; }
9995 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFile_p")) {
9996 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMetaFile_SetClipboard. Expected _wxMetaFile_p.");
9997 return NULL;
9998 }
9999 }
10000{
4268f798 10001 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10002 _result = (bool )wxMetaFile_SetClipboard(_arg0,_arg1,_arg2);
17c0e08c 10003
4268f798 10004 wxPyEndAllowThreads(__tstate);
17c0e08c
RD
10005 if (PyErr_Occurred()) return NULL;
10006} _resultobj = Py_BuildValue("i",_result);
10007 return _resultobj;
10008}
10009
10010#define wxMetaFile_GetSize(_swigobj) (_swigobj->GetSize())
10011static PyObject *_wrap_wxMetaFile_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10012 PyObject * _resultobj;
10013 wxSize * _result;
10014 wxMetaFile * _arg0;
10015 PyObject * _argo0 = 0;
10016 char *_kwnames[] = { "self", NULL };
10017 char _ptemp[128];
10018
10019 self = self;
10020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMetaFile_GetSize",_kwnames,&_argo0))
10021 return NULL;
10022 if (_argo0) {
10023 if (_argo0 == Py_None) { _arg0 = NULL; }
10024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFile_p")) {
10025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMetaFile_GetSize. Expected _wxMetaFile_p.");
10026 return NULL;
10027 }
10028 }
10029{
4268f798 10030 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10031 _result = new wxSize (wxMetaFile_GetSize(_arg0));
17c0e08c 10032
4268f798 10033 wxPyEndAllowThreads(__tstate);
17c0e08c
RD
10034 if (PyErr_Occurred()) return NULL;
10035} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
10036 _resultobj = Py_BuildValue("s",_ptemp);
10037 return _resultobj;
10038}
10039
10040#define wxMetaFile_GetWidth(_swigobj) (_swigobj->GetWidth())
10041static PyObject *_wrap_wxMetaFile_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10042 PyObject * _resultobj;
10043 int _result;
10044 wxMetaFile * _arg0;
10045 PyObject * _argo0 = 0;
10046 char *_kwnames[] = { "self", NULL };
10047
10048 self = self;
10049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMetaFile_GetWidth",_kwnames,&_argo0))
10050 return NULL;
10051 if (_argo0) {
10052 if (_argo0 == Py_None) { _arg0 = NULL; }
10053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFile_p")) {
10054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMetaFile_GetWidth. Expected _wxMetaFile_p.");
10055 return NULL;
10056 }
10057 }
10058{
4268f798 10059 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10060 _result = (int )wxMetaFile_GetWidth(_arg0);
17c0e08c 10061
4268f798 10062 wxPyEndAllowThreads(__tstate);
17c0e08c
RD
10063 if (PyErr_Occurred()) return NULL;
10064} _resultobj = Py_BuildValue("i",_result);
10065 return _resultobj;
10066}
10067
10068#define wxMetaFile_GetHeight(_swigobj) (_swigobj->GetHeight())
10069static PyObject *_wrap_wxMetaFile_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10070 PyObject * _resultobj;
10071 int _result;
10072 wxMetaFile * _arg0;
10073 PyObject * _argo0 = 0;
10074 char *_kwnames[] = { "self", NULL };
10075
10076 self = self;
10077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMetaFile_GetHeight",_kwnames,&_argo0))
10078 return NULL;
10079 if (_argo0) {
10080 if (_argo0 == Py_None) { _arg0 = NULL; }
10081 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFile_p")) {
10082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMetaFile_GetHeight. Expected _wxMetaFile_p.");
10083 return NULL;
10084 }
10085 }
10086{
4268f798 10087 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10088 _result = (int )wxMetaFile_GetHeight(_arg0);
17c0e08c 10089
4268f798 10090 wxPyEndAllowThreads(__tstate);
17c0e08c
RD
10091 if (PyErr_Occurred()) return NULL;
10092} _resultobj = Py_BuildValue("i",_result);
10093 return _resultobj;
10094}
10095
10096#define wxMetaFile_GetFileName(_swigobj) (_swigobj->GetFileName())
10097static PyObject *_wrap_wxMetaFile_GetFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
10098 PyObject * _resultobj;
10099 wxString * _result;
10100 wxMetaFile * _arg0;
10101 PyObject * _argo0 = 0;
10102 char *_kwnames[] = { "self", NULL };
10103
10104 self = self;
10105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMetaFile_GetFileName",_kwnames,&_argo0))
10106 return NULL;
10107 if (_argo0) {
10108 if (_argo0 == Py_None) { _arg0 = NULL; }
10109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFile_p")) {
10110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMetaFile_GetFileName. Expected _wxMetaFile_p.");
10111 return NULL;
10112 }
10113 }
10114{
4268f798 10115 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10116 const wxString & _result_ref = wxMetaFile_GetFileName(_arg0);
17c0e08c
RD
10117 _result = (wxString *) &_result_ref;
10118
4268f798 10119 wxPyEndAllowThreads(__tstate);
17c0e08c
RD
10120 if (PyErr_Occurred()) return NULL;
10121}{
c8bc7bb8 10122#if wxUSE_UNICODE
7e50db3f 10123 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 10124#else
17c0e08c 10125 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10126#endif
17c0e08c
RD
10127}
10128 return _resultobj;
10129}
10130
8ab979d7
RD
10131static void *SwigwxMetaFileDCTowxDC(void *ptr) {
10132 wxMetaFileDC *src;
10133 wxDC *dest;
10134 src = (wxMetaFileDC *) ptr;
10135 dest = (wxDC *) src;
10136 return (void *) dest;
10137}
10138
9416aa89
RD
10139static void *SwigwxMetaFileDCTowxObject(void *ptr) {
10140 wxMetaFileDC *src;
10141 wxObject *dest;
10142 src = (wxMetaFileDC *) ptr;
10143 dest = (wxObject *) src;
10144 return (void *) dest;
10145}
10146
17c0e08c 10147#define new_wxMetaFileDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxMetaFileDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 10148static PyObject *_wrap_new_wxMetaFileDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10149 PyObject * _resultobj;
10150 wxMetaFileDC * _result;
137b5242 10151 wxString * _arg0 = (wxString *) &wxPyEmptyString;
17c0e08c
RD
10152 int _arg1 = (int ) 0;
10153 int _arg2 = (int ) 0;
137b5242 10154 wxString * _arg3 = (wxString *) &wxPyEmptyString;
8ab979d7 10155 PyObject * _obj0 = 0;
17c0e08c
RD
10156 PyObject * _obj3 = 0;
10157 char *_kwnames[] = { "filename","width","height","description", NULL };
8ab979d7
RD
10158 char _ptemp[128];
10159
10160 self = self;
17c0e08c 10161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OiiO:new_wxMetaFileDC",_kwnames,&_obj0,&_arg1,&_arg2,&_obj3))
8ab979d7
RD
10162 return NULL;
10163 if (_obj0)
10164{
c8bc7bb8
RD
10165 _arg0 = wxString_in_helper(_obj0);
10166 if (_arg0 == NULL)
185d7c3e 10167 return NULL;
17c0e08c
RD
10168}
10169 if (_obj3)
10170{
c8bc7bb8
RD
10171 _arg3 = wxString_in_helper(_obj3);
10172 if (_arg3 == NULL)
17c0e08c 10173 return NULL;
8ab979d7 10174}
cf694132 10175{
4268f798 10176 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10177 _result = (wxMetaFileDC *)new_wxMetaFileDC(*_arg0,_arg1,_arg2,*_arg3);
cf694132 10178
4268f798 10179 wxPyEndAllowThreads(__tstate);
493f1553 10180 if (PyErr_Occurred()) return NULL;
1d99702e
RD
10181} if (_result) {
10182 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMetaFileDC_p");
10183 _resultobj = Py_BuildValue("s",_ptemp);
10184 } else {
10185 Py_INCREF(Py_None);
10186 _resultobj = Py_None;
10187 }
8ab979d7
RD
10188{
10189 if (_obj0)
10190 delete _arg0;
17c0e08c
RD
10191}
10192{
10193 if (_obj3)
10194 delete _arg3;
8ab979d7
RD
10195}
10196 return _resultobj;
10197}
10198
10199#define wxMetaFileDC_Close(_swigobj) (_swigobj->Close())
1afc06c2 10200static PyObject *_wrap_wxMetaFileDC_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10201 PyObject * _resultobj;
10202 wxMetaFile * _result;
10203 wxMetaFileDC * _arg0;
1d99702e 10204 PyObject * _argo0 = 0;
1afc06c2 10205 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10206 char _ptemp[128];
10207
10208 self = self;
1afc06c2 10209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMetaFileDC_Close",_kwnames,&_argo0))
8ab979d7 10210 return NULL;
1d99702e
RD
10211 if (_argo0) {
10212 if (_argo0 == Py_None) { _arg0 = NULL; }
10213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFileDC_p")) {
8ab979d7
RD
10214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMetaFileDC_Close. Expected _wxMetaFileDC_p.");
10215 return NULL;
10216 }
10217 }
cf694132 10218{
4268f798 10219 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10220 _result = (wxMetaFile *)wxMetaFileDC_Close(_arg0);
cf694132 10221
4268f798 10222 wxPyEndAllowThreads(__tstate);
493f1553 10223 if (PyErr_Occurred()) return NULL;
1d99702e
RD
10224} if (_result) {
10225 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMetaFile_p");
10226 _resultobj = Py_BuildValue("s",_ptemp);
10227 } else {
10228 Py_INCREF(Py_None);
10229 _resultobj = Py_None;
10230 }
8ab979d7
RD
10231 return _resultobj;
10232}
10233
9416aa89
RD
10234static void *SwigwxPaletteTowxGDIObject(void *ptr) {
10235 wxPalette *src;
10236 wxGDIObject *dest;
10237 src = (wxPalette *) ptr;
10238 dest = (wxGDIObject *) src;
10239 return (void *) dest;
10240}
10241
10242static void *SwigwxPaletteTowxObject(void *ptr) {
10243 wxPalette *src;
10244 wxObject *dest;
10245 src = (wxPalette *) ptr;
10246 dest = (wxObject *) src;
10247 return (void *) dest;
10248}
10249
b639c3c5 10250#define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 10251static PyObject *_wrap_new_wxPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
10252 PyObject * _resultobj;
10253 wxPalette * _result;
10254 int _arg0;
10255 byte * _arg1;
10256 byte * _arg2;
10257 byte * _arg3;
10258 PyObject * _obj1 = 0;
10259 PyObject * _obj2 = 0;
10260 PyObject * _obj3 = 0;
eec92d76 10261 char *_kwnames[] = { "choices","choices","choices", NULL };
b639c3c5
RD
10262 char _ptemp[128];
10263
10264 self = self;
1afc06c2 10265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:new_wxPalette",_kwnames,&_obj1,&_obj2,&_obj3))
b639c3c5
RD
10266 return NULL;
10267{
10268 _arg1 = byte_LIST_helper(_obj1);
10269 if (_arg1 == NULL) {
10270 return NULL;
10271 }
10272}
10273{
10274 _arg2 = byte_LIST_helper(_obj2);
10275 if (_arg2 == NULL) {
10276 return NULL;
10277 }
10278}
10279 if (_obj3)
10280{
10281 _arg3 = byte_LIST_helper(_obj3);
10282 if (_arg3 == NULL) {
10283 return NULL;
10284 }
10285}
10286{
cf694132
RD
10287 if (_obj1) {
10288 _arg0 = PyList_Size(_obj1);
10289 }
10290 else {
10291 _arg0 = 0;
10292 }
b639c3c5 10293}
cf694132 10294{
4268f798 10295 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10296 _result = (wxPalette *)new_wxPalette(_arg0,_arg1,_arg2,_arg3);
cf694132 10297
4268f798 10298 wxPyEndAllowThreads(__tstate);
493f1553 10299 if (PyErr_Occurred()) return NULL;
1d99702e
RD
10300} if (_result) {
10301 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPalette_p");
10302 _resultobj = Py_BuildValue("s",_ptemp);
10303 } else {
10304 Py_INCREF(Py_None);
10305 _resultobj = Py_None;
10306 }
b639c3c5
RD
10307{
10308 delete [] _arg1;
10309}
10310{
10311 delete [] _arg2;
10312}
10313{
10314 delete [] _arg3;
10315}
10316 return _resultobj;
10317}
10318
10319#define delete_wxPalette(_swigobj) (delete _swigobj)
1afc06c2 10320static PyObject *_wrap_delete_wxPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
10321 PyObject * _resultobj;
10322 wxPalette * _arg0;
1d99702e 10323 PyObject * _argo0 = 0;
1afc06c2 10324 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
10325
10326 self = self;
1afc06c2 10327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPalette",_kwnames,&_argo0))
b639c3c5 10328 return NULL;
1d99702e
RD
10329 if (_argo0) {
10330 if (_argo0 == Py_None) { _arg0 = NULL; }
10331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPalette_p")) {
b639c3c5
RD
10332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
10333 return NULL;
10334 }
10335 }
cf694132 10336{
4268f798 10337 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10338 delete_wxPalette(_arg0);
cf694132 10339
4268f798 10340 wxPyEndAllowThreads(__tstate);
493f1553 10341 if (PyErr_Occurred()) return NULL;
cf694132 10342} Py_INCREF(Py_None);
b639c3c5
RD
10343 _resultobj = Py_None;
10344 return _resultobj;
10345}
10346
10347#define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 10348static PyObject *_wrap_wxPalette_GetPixel(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
10349 PyObject * _resultobj;
10350 int _result;
10351 wxPalette * _arg0;
10352 byte _arg1;
10353 byte _arg2;
10354 byte _arg3;
1d99702e 10355 PyObject * _argo0 = 0;
1afc06c2 10356 char *_kwnames[] = { "self","red","green","blue", NULL };
b639c3c5
RD
10357
10358 self = self;
1afc06c2 10359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Obbb:wxPalette_GetPixel",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
b639c3c5 10360 return NULL;
1d99702e
RD
10361 if (_argo0) {
10362 if (_argo0 == Py_None) { _arg0 = NULL; }
10363 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPalette_p")) {
b639c3c5
RD
10364 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
10365 return NULL;
10366 }
10367 }
cf694132 10368{
4268f798 10369 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10370 _result = (int )wxPalette_GetPixel(_arg0,_arg1,_arg2,_arg3);
cf694132 10371
4268f798 10372 wxPyEndAllowThreads(__tstate);
493f1553 10373 if (PyErr_Occurred()) return NULL;
cf694132 10374} _resultobj = Py_BuildValue("i",_result);
b639c3c5
RD
10375 return _resultobj;
10376}
10377
10378#define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 10379static PyObject *_wrap_wxPalette_GetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
10380 PyObject * _resultobj;
10381 bool _result;
10382 wxPalette * _arg0;
10383 int _arg1;
10384 byte * _arg2;
154747f5 10385 int temp;
b639c3c5 10386 byte * _arg3;
154747f5 10387 int temp0;
b639c3c5 10388 byte * _arg4;
154747f5 10389 int temp1;
1d99702e 10390 PyObject * _argo0 = 0;
154747f5 10391 char *_kwnames[] = { "self","pixel", NULL };
b639c3c5
RD
10392
10393 self = self;
154747f5
RD
10394{
10395 _arg2 = (byte*)&temp;
10396}
10397{
10398 _arg3 = (byte*)&temp0;
10399}
10400{
10401 _arg4 = (byte*)&temp1;
10402}
10403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPalette_GetRGB",_kwnames,&_argo0,&_arg1))
b639c3c5 10404 return NULL;
1d99702e
RD
10405 if (_argo0) {
10406 if (_argo0 == Py_None) { _arg0 = NULL; }
10407 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPalette_p")) {
b639c3c5
RD
10408 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
10409 return NULL;
10410 }
10411 }
cf694132 10412{
4268f798 10413 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10414 _result = (bool )wxPalette_GetRGB(_arg0,_arg1,_arg2,_arg3,_arg4);
cf694132 10415
4268f798 10416 wxPyEndAllowThreads(__tstate);
493f1553 10417 if (PyErr_Occurred()) return NULL;
cf694132 10418} _resultobj = Py_BuildValue("i",_result);
154747f5
RD
10419{
10420 PyObject *o;
10421 o = PyInt_FromLong((long) (*_arg2));
10422 _resultobj = t_output_helper(_resultobj, o);
10423}
10424{
10425 PyObject *o;
10426 o = PyInt_FromLong((long) (*_arg3));
10427 _resultobj = t_output_helper(_resultobj, o);
10428}
10429{
10430 PyObject *o;
10431 o = PyInt_FromLong((long) (*_arg4));
10432 _resultobj = t_output_helper(_resultobj, o);
10433}
b639c3c5
RD
10434 return _resultobj;
10435}
10436
10437#define wxPalette_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 10438static PyObject *_wrap_wxPalette_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
10439 PyObject * _resultobj;
10440 bool _result;
10441 wxPalette * _arg0;
1d99702e 10442 PyObject * _argo0 = 0;
1afc06c2 10443 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
10444
10445 self = self;
1afc06c2 10446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPalette_Ok",_kwnames,&_argo0))
b639c3c5 10447 return NULL;
1d99702e
RD
10448 if (_argo0) {
10449 if (_argo0 == Py_None) { _arg0 = NULL; }
10450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPalette_p")) {
b639c3c5
RD
10451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
10452 return NULL;
10453 }
10454 }
cf694132 10455{
4268f798 10456 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10457 _result = (bool )wxPalette_Ok(_arg0);
cf694132 10458
4268f798 10459 wxPyEndAllowThreads(__tstate);
493f1553 10460 if (PyErr_Occurred()) return NULL;
cf694132 10461} _resultobj = Py_BuildValue("i",_result);
b639c3c5
RD
10462 return _resultobj;
10463}
10464
9416aa89
RD
10465static void *SwigwxImageListTowxObject(void *ptr) {
10466 wxImageList *src;
10467 wxObject *dest;
10468 src = (wxImageList *) ptr;
10469 dest = (wxObject *) src;
10470 return (void *) dest;
10471}
10472
af309447 10473#define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 10474static PyObject *_wrap_new_wxImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
10475 PyObject * _resultobj;
10476 wxImageList * _result;
10477 int _arg0;
10478 int _arg1;
dcd38683 10479 int _arg2 = (int ) TRUE;
1d99702e 10480 int _arg3 = (int ) 1;
1afc06c2 10481 char *_kwnames[] = { "width","height","mask","initialCount", NULL };
af309447
RD
10482 char _ptemp[128];
10483
10484 self = self;
6999b0d8 10485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii|ii:new_wxImageList",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
af309447 10486 return NULL;
cf694132 10487{
4268f798 10488 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10489 _result = (wxImageList *)new_wxImageList(_arg0,_arg1,_arg2,_arg3);
cf694132 10490
4268f798 10491 wxPyEndAllowThreads(__tstate);
493f1553 10492 if (PyErr_Occurred()) return NULL;
1d99702e
RD
10493} if (_result) {
10494 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
10495 _resultobj = Py_BuildValue("s",_ptemp);
10496 } else {
10497 Py_INCREF(Py_None);
10498 _resultobj = Py_None;
10499 }
af309447
RD
10500 return _resultobj;
10501}
10502
10503#define delete_wxImageList(_swigobj) (delete _swigobj)
1afc06c2 10504static PyObject *_wrap_delete_wxImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
10505 PyObject * _resultobj;
10506 wxImageList * _arg0;
1d99702e 10507 PyObject * _argo0 = 0;
1afc06c2 10508 char *_kwnames[] = { "self", NULL };
af309447
RD
10509
10510 self = self;
1afc06c2 10511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxImageList",_kwnames,&_argo0))
af309447 10512 return NULL;
1d99702e
RD
10513 if (_argo0) {
10514 if (_argo0 == Py_None) { _arg0 = NULL; }
10515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
af309447
RD
10516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
10517 return NULL;
10518 }
10519 }
cf694132 10520{
4268f798 10521 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10522 delete_wxImageList(_arg0);
cf694132 10523
4268f798 10524 wxPyEndAllowThreads(__tstate);
493f1553 10525 if (PyErr_Occurred()) return NULL;
cf694132 10526} Py_INCREF(Py_None);
af309447
RD
10527 _resultobj = Py_None;
10528 return _resultobj;
10529}
10530
10531#define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
1afc06c2 10532static PyObject *_wrap_wxImageList_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
10533 PyObject * _resultobj;
10534 int _result;
10535 wxImageList * _arg0;
10536 wxBitmap * _arg1;
1d99702e
RD
10537 wxBitmap * _arg2 = (wxBitmap *) &wxNullBitmap;
10538 PyObject * _argo0 = 0;
10539 PyObject * _argo1 = 0;
10540 PyObject * _argo2 = 0;
1afc06c2 10541 char *_kwnames[] = { "self","bitmap","mask", NULL };
af309447
RD
10542
10543 self = self;
1afc06c2 10544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxImageList_Add",_kwnames,&_argo0,&_argo1,&_argo2))
af309447 10545 return NULL;
1d99702e
RD
10546 if (_argo0) {
10547 if (_argo0 == Py_None) { _arg0 = NULL; }
10548 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
af309447
RD
10549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
10550 return NULL;
10551 }
10552 }
1d99702e 10553 if (_argo1) {
7e50db3f 10554 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
af309447
RD
10555 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
10556 return NULL;
10557 }
10558 }
1d99702e 10559 if (_argo2) {
7e50db3f 10560 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
af309447
RD
10561 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
10562 return NULL;
10563 }
10564 }
cf694132 10565{
4268f798 10566 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10567 _result = (int )wxImageList_Add(_arg0,*_arg1,*_arg2);
cf694132 10568
4268f798 10569 wxPyEndAllowThreads(__tstate);
493f1553 10570 if (PyErr_Occurred()) return NULL;
cf694132 10571} _resultobj = Py_BuildValue("i",_result);
af309447
RD
10572 return _resultobj;
10573}
10574
10575#define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
1afc06c2 10576static PyObject *_wrap_wxImageList_AddWithColourMask(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
10577 PyObject * _resultobj;
10578 int _result;
10579 wxImageList * _arg0;
10580 wxBitmap * _arg1;
10581 wxColour * _arg2;
1d99702e
RD
10582 PyObject * _argo0 = 0;
10583 PyObject * _argo1 = 0;
f6bcfd97
BP
10584 wxColour temp;
10585 PyObject * _obj2 = 0;
1afc06c2 10586 char *_kwnames[] = { "self","bitmap","maskColour", NULL };
af309447
RD
10587
10588 self = self;
f6bcfd97 10589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxImageList_AddWithColourMask",_kwnames,&_argo0,&_argo1,&_obj2))
af309447 10590 return NULL;
1d99702e
RD
10591 if (_argo0) {
10592 if (_argo0 == Py_None) { _arg0 = NULL; }
10593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
af309447
RD
10594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
10595 return NULL;
10596 }
10597 }
1d99702e 10598 if (_argo1) {
7e50db3f 10599 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
af309447
RD
10600 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
10601 return NULL;
10602 }
10603 }
f6bcfd97
BP
10604{
10605 _arg2 = &temp;
10606 if (! wxColour_helper(_obj2, &_arg2))
af309447 10607 return NULL;
f6bcfd97 10608}
cf694132 10609{
4268f798 10610 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10611 _result = (int )wxImageList_AddWithColourMask(_arg0,*_arg1,*_arg2);
cf694132 10612
4268f798 10613 wxPyEndAllowThreads(__tstate);
493f1553 10614 if (PyErr_Occurred()) return NULL;
cf694132 10615} _resultobj = Py_BuildValue("i",_result);
af309447
RD
10616 return _resultobj;
10617}
10618
10619#define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
1afc06c2 10620static PyObject *_wrap_wxImageList_AddIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
10621 PyObject * _resultobj;
10622 int _result;
10623 wxImageList * _arg0;
10624 wxIcon * _arg1;
1d99702e
RD
10625 PyObject * _argo0 = 0;
10626 PyObject * _argo1 = 0;
1afc06c2 10627 char *_kwnames[] = { "self","icon", NULL };
af309447
RD
10628
10629 self = self;
1afc06c2 10630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxImageList_AddIcon",_kwnames,&_argo0,&_argo1))
af309447 10631 return NULL;
1d99702e
RD
10632 if (_argo0) {
10633 if (_argo0 == Py_None) { _arg0 = NULL; }
10634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
af309447
RD
10635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
10636 return NULL;
10637 }
10638 }
1d99702e 10639 if (_argo1) {
7e50db3f 10640 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
af309447
RD
10641 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
10642 return NULL;
10643 }
10644 }
cf694132 10645{
4268f798 10646 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10647 _result = (int )wxImageList_AddIcon(_arg0,*_arg1);
cf694132 10648
4268f798 10649 wxPyEndAllowThreads(__tstate);
493f1553 10650 if (PyErr_Occurred()) return NULL;
cf694132 10651} _resultobj = Py_BuildValue("i",_result);
af309447
RD
10652 return _resultobj;
10653}
10654
21f8d7ea 10655#define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 10656static PyObject *_wrap_wxImageList_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
10657 PyObject * _resultobj;
10658 bool _result;
10659 wxImageList * _arg0;
10660 int _arg1;
21f8d7ea 10661 wxBitmap * _arg2;
1d99702e
RD
10662 wxBitmap * _arg3 = (wxBitmap *) &wxNullBitmap;
10663 PyObject * _argo0 = 0;
10664 PyObject * _argo2 = 0;
10665 PyObject * _argo3 = 0;
1afc06c2 10666 char *_kwnames[] = { "self","index","bitmap","mask", NULL };
af309447
RD
10667
10668 self = self;
1afc06c2 10669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxImageList_Replace",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3))
af309447 10670 return NULL;
1d99702e
RD
10671 if (_argo0) {
10672 if (_argo0 == Py_None) { _arg0 = NULL; }
10673 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 10674 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
af309447
RD
10675 return NULL;
10676 }
10677 }
1d99702e 10678 if (_argo2) {
7e50db3f 10679 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
21f8d7ea 10680 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
af309447
RD
10681 return NULL;
10682 }
10683 }
1d99702e 10684 if (_argo3) {
7e50db3f 10685 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
21f8d7ea
RD
10686 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxImageList_Replace. Expected _wxBitmap_p.");
10687 return NULL;
10688 }
10689 }
cf694132 10690{
4268f798 10691 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10692 _result = (bool )wxImageList_Replace(_arg0,_arg1,*_arg2,*_arg3);
cf694132 10693
4268f798 10694 wxPyEndAllowThreads(__tstate);
493f1553 10695 if (PyErr_Occurred()) return NULL;
cf694132 10696} _resultobj = Py_BuildValue("i",_result);
af309447
RD
10697 return _resultobj;
10698}
10699
21f8d7ea 10700#define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1afc06c2 10701static PyObject *_wrap_wxImageList_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
10702 PyObject * _resultobj;
10703 bool _result;
10704 wxImageList * _arg0;
10705 int _arg1;
21f8d7ea
RD
10706 wxDC * _arg2;
10707 int _arg3;
10708 int _arg4;
1d99702e
RD
10709 int _arg5 = (int ) (wxIMAGELIST_DRAW_NORMAL);
10710 bool _arg6 = (bool ) FALSE;
10711 PyObject * _argo0 = 0;
10712 PyObject * _argo2 = 0;
10713 int tempbool6 = (int) FALSE;
1afc06c2 10714 char *_kwnames[] = { "self","index","dc","x","x","flags","solidBackground", NULL };
af309447
RD
10715
10716 self = self;
1afc06c2 10717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOii|ii:wxImageList_Draw",_kwnames,&_argo0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6))
af309447 10718 return NULL;
1d99702e
RD
10719 if (_argo0) {
10720 if (_argo0 == Py_None) { _arg0 = NULL; }
10721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 10722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
af309447
RD
10723 return NULL;
10724 }
10725 }
1d99702e 10726 if (_argo2) {
7e50db3f 10727 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxDC_p")) {
21f8d7ea
RD
10728 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
10729 return NULL;
10730 }
10731 }
10732 _arg6 = (bool ) tempbool6;
cf694132 10733{
4268f798 10734 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10735 _result = (bool )wxImageList_Draw(_arg0,_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6);
cf694132 10736
4268f798 10737 wxPyEndAllowThreads(__tstate);
493f1553 10738 if (PyErr_Occurred()) return NULL;
cf694132 10739} _resultobj = Py_BuildValue("i",_result);
af309447
RD
10740 return _resultobj;
10741}
10742
21f8d7ea 10743#define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
1afc06c2 10744static PyObject *_wrap_wxImageList_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 10745 PyObject * _resultobj;
21f8d7ea 10746 int _result;
af309447 10747 wxImageList * _arg0;
1d99702e 10748 PyObject * _argo0 = 0;
1afc06c2 10749 char *_kwnames[] = { "self", NULL };
af309447
RD
10750
10751 self = self;
1afc06c2 10752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImageList_GetImageCount",_kwnames,&_argo0))
af309447 10753 return NULL;
1d99702e
RD
10754 if (_argo0) {
10755 if (_argo0 == Py_None) { _arg0 = NULL; }
10756 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 10757 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
af309447
RD
10758 return NULL;
10759 }
10760 }
cf694132 10761{
4268f798 10762 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10763 _result = (int )wxImageList_GetImageCount(_arg0);
cf694132 10764
4268f798 10765 wxPyEndAllowThreads(__tstate);
493f1553 10766 if (PyErr_Occurred()) return NULL;
cf694132 10767} _resultobj = Py_BuildValue("i",_result);
af309447
RD
10768 return _resultobj;
10769}
10770
21f8d7ea 10771#define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1afc06c2 10772static PyObject *_wrap_wxImageList_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
10773 PyObject * _resultobj;
10774 bool _result;
10775 wxImageList * _arg0;
10776 int _arg1;
1d99702e 10777 PyObject * _argo0 = 0;
1afc06c2 10778 char *_kwnames[] = { "self","index", NULL };
af309447
RD
10779
10780 self = self;
1afc06c2 10781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxImageList_Remove",_kwnames,&_argo0,&_arg1))
af309447 10782 return NULL;
1d99702e
RD
10783 if (_argo0) {
10784 if (_argo0 == Py_None) { _arg0 = NULL; }
10785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 10786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
af309447
RD
10787 return NULL;
10788 }
10789 }
cf694132 10790{
4268f798 10791 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10792 _result = (bool )wxImageList_Remove(_arg0,_arg1);
cf694132 10793
4268f798 10794 wxPyEndAllowThreads(__tstate);
493f1553 10795 if (PyErr_Occurred()) return NULL;
cf694132 10796} _resultobj = Py_BuildValue("i",_result);
af309447
RD
10797 return _resultobj;
10798}
10799
21f8d7ea 10800#define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
1afc06c2 10801static PyObject *_wrap_wxImageList_RemoveAll(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
10802 PyObject * _resultobj;
10803 bool _result;
10804 wxImageList * _arg0;
1d99702e 10805 PyObject * _argo0 = 0;
1afc06c2 10806 char *_kwnames[] = { "self", NULL };
af309447
RD
10807
10808 self = self;
1afc06c2 10809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImageList_RemoveAll",_kwnames,&_argo0))
af309447 10810 return NULL;
1d99702e
RD
10811 if (_argo0) {
10812 if (_argo0 == Py_None) { _arg0 = NULL; }
10813 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 10814 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
af309447
RD
10815 return NULL;
10816 }
10817 }
cf694132 10818{
4268f798 10819 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10820 _result = (bool )wxImageList_RemoveAll(_arg0);
cf694132 10821
4268f798 10822 wxPyEndAllowThreads(__tstate);
493f1553 10823 if (PyErr_Occurred()) return NULL;
cf694132 10824} _resultobj = Py_BuildValue("i",_result);
af309447
RD
10825 return _resultobj;
10826}
10827
f6bcfd97
BP
10828#define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
10829static PyObject *_wrap_wxImageList_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10830 PyObject * _resultobj;
10831 wxImageList * _arg0;
10832 int _arg1;
10833 int * _arg2;
10834 int temp;
10835 int * _arg3;
10836 int temp0;
10837 PyObject * _argo0 = 0;
10838 char *_kwnames[] = { "self","index", NULL };
10839
10840 self = self;
10841{
10842 _arg2 = &temp;
10843}
10844{
10845 _arg3 = &temp0;
10846}
10847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxImageList_GetSize",_kwnames,&_argo0,&_arg1))
10848 return NULL;
10849 if (_argo0) {
10850 if (_argo0 == Py_None) { _arg0 = NULL; }
10851 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
10852 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
10853 return NULL;
10854 }
10855 }
10856{
4268f798 10857 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10858 wxImageList_GetSize(_arg0,_arg1,*_arg2,*_arg3);
f6bcfd97 10859
4268f798 10860 wxPyEndAllowThreads(__tstate);
493f1553 10861 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10862} Py_INCREF(Py_None);
10863 _resultobj = Py_None;
10864{
10865 PyObject *o;
10866 o = PyInt_FromLong((long) (*_arg2));
10867 _resultobj = t_output_helper(_resultobj, o);
10868}
10869{
10870 PyObject *o;
10871 o = PyInt_FromLong((long) (*_arg3));
10872 _resultobj = t_output_helper(_resultobj, o);
10873}
10874 return _resultobj;
10875}
10876
9416aa89
RD
10877static void *SwigwxRegionTowxGDIObject(void *ptr) {
10878 wxRegion *src;
10879 wxGDIObject *dest;
10880 src = (wxRegion *) ptr;
10881 dest = (wxGDIObject *) src;
10882 return (void *) dest;
10883}
10884
10885static void *SwigwxRegionTowxObject(void *ptr) {
10886 wxRegion *src;
10887 wxObject *dest;
10888 src = (wxRegion *) ptr;
10889 dest = (wxObject *) src;
10890 return (void *) dest;
10891}
10892
10893#define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10894static PyObject *_wrap_new_wxRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
10895 PyObject * _resultobj;
10896 wxRegion * _result;
7e50db3f
RD
10897 wxCoord _arg0 = (wxCoord ) 0;
10898 wxCoord _arg1 = (wxCoord ) 0;
10899 wxCoord _arg2 = (wxCoord ) 0;
10900 wxCoord _arg3 = (wxCoord ) 0;
9416aa89
RD
10901 char *_kwnames[] = { "x","y","width","height", NULL };
10902 char _ptemp[128];
10903
10904 self = self;
7e50db3f 10905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxRegion",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
9416aa89
RD
10906 return NULL;
10907{
4268f798 10908 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10909 _result = (wxRegion *)new_wxRegion(_arg0,_arg1,_arg2,_arg3);
9416aa89 10910
4268f798 10911 wxPyEndAllowThreads(__tstate);
493f1553 10912 if (PyErr_Occurred()) return NULL;
9416aa89
RD
10913} if (_result) {
10914 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRegion_p");
10915 _resultobj = Py_BuildValue("s",_ptemp);
10916 } else {
10917 Py_INCREF(Py_None);
10918 _resultobj = Py_None;
10919 }
10920 return _resultobj;
10921}
10922
3de0866e
RD
10923#define new_wxRegionFromPoints(_swigarg0,_swigarg1,_swigarg2) (new wxRegion(_swigarg0,_swigarg1,_swigarg2))
10924static PyObject *_wrap_new_wxRegionFromPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
10925 PyObject * _resultobj;
10926 wxRegion * _result;
10927 int _arg0;
10928 wxPoint * _arg1;
10929 int _arg2 = (int ) wxWINDING_RULE;
10930 int NPOINTS;
10931 PyObject * _obj1 = 0;
10932 char *_kwnames[] = { "points","fillStyle", NULL };
10933 char _ptemp[128];
10934
10935 self = self;
10936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxRegionFromPoints",_kwnames,&_obj1,&_arg2))
10937 return NULL;
10938 if (_obj1)
10939{
10940 _arg1 = wxPoint_LIST_helper(_obj1, &NPOINTS);
10941 if (_arg1 == NULL) {
10942 return NULL;
10943 }
10944}
10945{
10946 _arg0 = NPOINTS;
10947}
10948{
10949 PyThreadState* __tstate = wxPyBeginAllowThreads();
10950 _result = (wxRegion *)new_wxRegionFromPoints(_arg0,_arg1,_arg2);
10951
10952 wxPyEndAllowThreads(__tstate);
10953 if (PyErr_Occurred()) return NULL;
10954} if (_result) {
10955 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRegion_p");
10956 _resultobj = Py_BuildValue("s",_ptemp);
10957 } else {
10958 Py_INCREF(Py_None);
10959 _resultobj = Py_None;
10960 }
10961{
10962 delete [] _arg1;
10963}
10964 return _resultobj;
10965}
10966
5a2a9da2
RD
10967#define new_wxRegionFromBitmap(_swigarg0,_swigarg1,_swigarg2) (new wxRegion(_swigarg0,_swigarg1,_swigarg2))
10968static PyObject *_wrap_new_wxRegionFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
10969 PyObject * _resultobj;
10970 wxRegion * _result;
10971 wxBitmap * _arg0;
10972 wxColour * _arg1 = (wxColour *) &wxNullColour;
10973 int _arg2 = (int ) 0;
10974 PyObject * _argo0 = 0;
10975 wxColour temp;
10976 PyObject * _obj1 = 0;
10977 char *_kwnames[] = { "bmp","transColour","tolerance", NULL };
10978 char _ptemp[128];
10979
10980 self = self;
10981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|Oi:new_wxRegionFromBitmap",_kwnames,&_argo0,&_obj1,&_arg2))
10982 return NULL;
10983 if (_argo0) {
10984 if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
10985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRegionFromBitmap. Expected _wxBitmap_p.");
10986 return NULL;
10987 }
10988 }
10989 if (_obj1)
10990{
10991 _arg1 = &temp;
10992 if (! wxColour_helper(_obj1, &_arg1))
10993 return NULL;
10994}
10995{
10996 PyThreadState* __tstate = wxPyBeginAllowThreads();
10997 _result = (wxRegion *)new_wxRegionFromBitmap(*_arg0,*_arg1,_arg2);
10998
10999 wxPyEndAllowThreads(__tstate);
11000 if (PyErr_Occurred()) return NULL;
11001} if (_result) {
11002 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRegion_p");
11003 _resultobj = Py_BuildValue("s",_ptemp);
11004 } else {
11005 Py_INCREF(Py_None);
11006 _resultobj = Py_None;
11007 }
11008 return _resultobj;
11009}
11010
9416aa89
RD
11011#define delete_wxRegion(_swigobj) (delete _swigobj)
11012static PyObject *_wrap_delete_wxRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
11013 PyObject * _resultobj;
11014 wxRegion * _arg0;
11015 PyObject * _argo0 = 0;
11016 char *_kwnames[] = { "self", NULL };
11017
11018 self = self;
11019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxRegion",_kwnames,&_argo0))
11020 return NULL;
11021 if (_argo0) {
11022 if (_argo0 == Py_None) { _arg0 = NULL; }
11023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
11025 return NULL;
11026 }
11027 }
11028{
4268f798 11029 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11030 delete_wxRegion(_arg0);
9416aa89 11031
4268f798 11032 wxPyEndAllowThreads(__tstate);
493f1553 11033 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11034} Py_INCREF(Py_None);
11035 _resultobj = Py_None;
11036 return _resultobj;
11037}
11038
11039#define wxRegion_Clear(_swigobj) (_swigobj->Clear())
11040static PyObject *_wrap_wxRegion_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
11041 PyObject * _resultobj;
11042 wxRegion * _arg0;
11043 PyObject * _argo0 = 0;
11044 char *_kwnames[] = { "self", NULL };
11045
11046 self = self;
11047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegion_Clear",_kwnames,&_argo0))
11048 return NULL;
11049 if (_argo0) {
11050 if (_argo0 == Py_None) { _arg0 = NULL; }
11051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
11053 return NULL;
11054 }
11055 }
11056{
4268f798 11057 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11058 wxRegion_Clear(_arg0);
9416aa89 11059
4268f798 11060 wxPyEndAllowThreads(__tstate);
493f1553 11061 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11062} Py_INCREF(Py_None);
11063 _resultobj = Py_None;
11064 return _resultobj;
11065}
11066
23bed520
RD
11067#define wxRegion_Offset(_swigobj,_swigarg0,_swigarg1) (_swigobj->Offset(_swigarg0,_swigarg1))
11068static PyObject *_wrap_wxRegion_Offset(PyObject *self, PyObject *args, PyObject *kwargs) {
11069 PyObject * _resultobj;
11070 bool _result;
11071 wxRegion * _arg0;
11072 wxCoord _arg1;
11073 wxCoord _arg2;
11074 PyObject * _argo0 = 0;
11075 char *_kwnames[] = { "self","x","y", NULL };
11076
11077 self = self;
11078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRegion_Offset",_kwnames,&_argo0,&_arg1,&_arg2))
11079 return NULL;
11080 if (_argo0) {
11081 if (_argo0 == Py_None) { _arg0 = NULL; }
11082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Offset. Expected _wxRegion_p.");
11084 return NULL;
11085 }
11086 }
11087{
11088 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11089 _result = (bool )wxRegion_Offset(_arg0,_arg1,_arg2);
23bed520
RD
11090
11091 wxPyEndAllowThreads(__tstate);
11092 if (PyErr_Occurred()) return NULL;
11093} _resultobj = Py_BuildValue("i",_result);
11094 return _resultobj;
11095}
11096
9416aa89
RD
11097#define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
11098static PyObject *_wrap_wxRegion_Contains(PyObject *self, PyObject *args, PyObject *kwargs) {
11099 PyObject * _resultobj;
11100 wxRegionContain _result;
11101 wxRegion * _arg0;
7e50db3f
RD
11102 wxCoord _arg1;
11103 wxCoord _arg2;
9416aa89
RD
11104 PyObject * _argo0 = 0;
11105 char *_kwnames[] = { "self","x","y", NULL };
11106
11107 self = self;
7e50db3f 11108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRegion_Contains",_kwnames,&_argo0,&_arg1,&_arg2))
9416aa89
RD
11109 return NULL;
11110 if (_argo0) {
11111 if (_argo0 == Py_None) { _arg0 = NULL; }
11112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
11114 return NULL;
11115 }
11116 }
11117{
4268f798 11118 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11119 _result = (wxRegionContain )wxRegion_Contains(_arg0,_arg1,_arg2);
9416aa89 11120
4268f798 11121 wxPyEndAllowThreads(__tstate);
493f1553 11122 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11123} _resultobj = Py_BuildValue("i",_result);
11124 return _resultobj;
11125}
11126
11127#define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
11128static PyObject *_wrap_wxRegion_ContainsPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
11129 PyObject * _resultobj;
11130 wxRegionContain _result;
11131 wxRegion * _arg0;
11132 wxPoint * _arg1;
11133 PyObject * _argo0 = 0;
11134 wxPoint temp;
11135 PyObject * _obj1 = 0;
11136 char *_kwnames[] = { "self","pt", NULL };
11137
11138 self = self;
11139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_ContainsPoint",_kwnames,&_argo0,&_obj1))
11140 return NULL;
11141 if (_argo0) {
11142 if (_argo0 == Py_None) { _arg0 = NULL; }
11143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
11145 return NULL;
11146 }
11147 }
11148{
11149 _arg1 = &temp;
11150 if (! wxPoint_helper(_obj1, &_arg1))
11151 return NULL;
11152}
11153{
4268f798 11154 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11155 _result = (wxRegionContain )wxRegion_ContainsPoint(_arg0,*_arg1);
9416aa89 11156
4268f798 11157 wxPyEndAllowThreads(__tstate);
493f1553 11158 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11159} _resultobj = Py_BuildValue("i",_result);
11160 return _resultobj;
11161}
11162
11163#define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
11164static PyObject *_wrap_wxRegion_ContainsRect(PyObject *self, PyObject *args, PyObject *kwargs) {
11165 PyObject * _resultobj;
11166 wxRegionContain _result;
11167 wxRegion * _arg0;
11168 wxRect * _arg1;
11169 PyObject * _argo0 = 0;
11170 wxRect temp;
11171 PyObject * _obj1 = 0;
11172 char *_kwnames[] = { "self","rect", NULL };
11173
11174 self = self;
11175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_ContainsRect",_kwnames,&_argo0,&_obj1))
11176 return NULL;
11177 if (_argo0) {
11178 if (_argo0 == Py_None) { _arg0 = NULL; }
11179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
11181 return NULL;
11182 }
11183 }
11184{
11185 _arg1 = &temp;
11186 if (! wxRect_helper(_obj1, &_arg1))
11187 return NULL;
11188}
11189{
4268f798 11190 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11191 _result = (wxRegionContain )wxRegion_ContainsRect(_arg0,*_arg1);
9416aa89 11192
4268f798 11193 wxPyEndAllowThreads(__tstate);
493f1553 11194 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11195} _resultobj = Py_BuildValue("i",_result);
11196 return _resultobj;
11197}
11198
11199#define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11200static PyObject *_wrap_wxRegion_ContainsRectDim(PyObject *self, PyObject *args, PyObject *kwargs) {
11201 PyObject * _resultobj;
11202 wxRegionContain _result;
11203 wxRegion * _arg0;
7e50db3f
RD
11204 wxCoord _arg1;
11205 wxCoord _arg2;
11206 wxCoord _arg3;
11207 wxCoord _arg4;
9416aa89
RD
11208 PyObject * _argo0 = 0;
11209 char *_kwnames[] = { "self","x","y","w","h", NULL };
11210
11211 self = self;
7e50db3f 11212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxRegion_ContainsRectDim",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9416aa89
RD
11213 return NULL;
11214 if (_argo0) {
11215 if (_argo0 == Py_None) { _arg0 = NULL; }
11216 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11217 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
11218 return NULL;
11219 }
11220 }
11221{
4268f798 11222 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11223 _result = (wxRegionContain )wxRegion_ContainsRectDim(_arg0,_arg1,_arg2,_arg3,_arg4);
9416aa89 11224
4268f798 11225 wxPyEndAllowThreads(__tstate);
493f1553 11226 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11227} _resultobj = Py_BuildValue("i",_result);
11228 return _resultobj;
11229}
11230
11231#define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
11232static PyObject *_wrap_wxRegion_GetBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11233 PyObject * _resultobj;
11234 wxRect * _result;
11235 wxRegion * _arg0;
11236 PyObject * _argo0 = 0;
11237 char *_kwnames[] = { "self", NULL };
11238 char _ptemp[128];
11239
11240 self = self;
11241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegion_GetBox",_kwnames,&_argo0))
11242 return NULL;
11243 if (_argo0) {
11244 if (_argo0 == Py_None) { _arg0 = NULL; }
11245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
11247 return NULL;
11248 }
11249 }
11250{
4268f798 11251 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11252 _result = new wxRect (wxRegion_GetBox(_arg0));
9416aa89 11253
4268f798 11254 wxPyEndAllowThreads(__tstate);
493f1553 11255 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11256} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
11257 _resultobj = Py_BuildValue("s",_ptemp);
11258 return _resultobj;
11259}
11260
11261#define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11262static PyObject *_wrap_wxRegion_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
11263 PyObject * _resultobj;
11264 bool _result;
11265 wxRegion * _arg0;
7e50db3f
RD
11266 wxCoord _arg1;
11267 wxCoord _arg2;
11268 wxCoord _arg3;
11269 wxCoord _arg4;
9416aa89
RD
11270 PyObject * _argo0 = 0;
11271 char *_kwnames[] = { "self","x","y","width","height", NULL };
11272
11273 self = self;
7e50db3f 11274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxRegion_Intersect",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9416aa89
RD
11275 return NULL;
11276 if (_argo0) {
11277 if (_argo0 == Py_None) { _arg0 = NULL; }
11278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
11280 return NULL;
11281 }
11282 }
11283{
4268f798 11284 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11285 _result = (bool )wxRegion_Intersect(_arg0,_arg1,_arg2,_arg3,_arg4);
9416aa89 11286
4268f798 11287 wxPyEndAllowThreads(__tstate);
493f1553 11288 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11289} _resultobj = Py_BuildValue("i",_result);
11290 return _resultobj;
11291}
11292
11293#define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
11294static PyObject *_wrap_wxRegion_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
11295 PyObject * _resultobj;
11296 bool _result;
11297 wxRegion * _arg0;
11298 wxRect * _arg1;
11299 PyObject * _argo0 = 0;
11300 wxRect temp;
11301 PyObject * _obj1 = 0;
11302 char *_kwnames[] = { "self","rect", NULL };
11303
11304 self = self;
11305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_IntersectRect",_kwnames,&_argo0,&_obj1))
11306 return NULL;
11307 if (_argo0) {
11308 if (_argo0 == Py_None) { _arg0 = NULL; }
11309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
11311 return NULL;
11312 }
11313 }
11314{
11315 _arg1 = &temp;
11316 if (! wxRect_helper(_obj1, &_arg1))
11317 return NULL;
11318}
11319{
4268f798 11320 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11321 _result = (bool )wxRegion_IntersectRect(_arg0,*_arg1);
9416aa89 11322
4268f798 11323 wxPyEndAllowThreads(__tstate);
493f1553 11324 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11325} _resultobj = Py_BuildValue("i",_result);
11326 return _resultobj;
11327}
11328
11329#define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
11330static PyObject *_wrap_wxRegion_IntersectRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
11331 PyObject * _resultobj;
11332 bool _result;
11333 wxRegion * _arg0;
11334 wxRegion * _arg1;
11335 PyObject * _argo0 = 0;
11336 PyObject * _argo1 = 0;
11337 char *_kwnames[] = { "self","region", NULL };
11338
11339 self = self;
11340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_IntersectRegion",_kwnames,&_argo0,&_argo1))
11341 return NULL;
11342 if (_argo0) {
11343 if (_argo0 == Py_None) { _arg0 = NULL; }
11344 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
11346 return NULL;
11347 }
11348 }
11349 if (_argo1) {
7e50db3f 11350 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
9416aa89
RD
11351 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
11352 return NULL;
11353 }
11354 }
11355{
4268f798 11356 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11357 _result = (bool )wxRegion_IntersectRegion(_arg0,*_arg1);
9416aa89 11358
4268f798 11359 wxPyEndAllowThreads(__tstate);
493f1553 11360 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11361} _resultobj = Py_BuildValue("i",_result);
11362 return _resultobj;
11363}
11364
11365#define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
11366static PyObject *_wrap_wxRegion_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
11367 PyObject * _resultobj;
11368 bool _result;
11369 wxRegion * _arg0;
11370 PyObject * _argo0 = 0;
11371 char *_kwnames[] = { "self", NULL };
11372
11373 self = self;
11374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegion_IsEmpty",_kwnames,&_argo0))
11375 return NULL;
11376 if (_argo0) {
11377 if (_argo0 == Py_None) { _arg0 = NULL; }
11378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
11380 return NULL;
11381 }
11382 }
11383{
4268f798 11384 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11385 _result = (bool )wxRegion_IsEmpty(_arg0);
9416aa89 11386
4268f798 11387 wxPyEndAllowThreads(__tstate);
493f1553 11388 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11389} _resultobj = Py_BuildValue("i",_result);
11390 return _resultobj;
11391}
11392
11393#define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11394static PyObject *_wrap_wxRegion_Union(PyObject *self, PyObject *args, PyObject *kwargs) {
11395 PyObject * _resultobj;
11396 bool _result;
11397 wxRegion * _arg0;
7e50db3f
RD
11398 wxCoord _arg1;
11399 wxCoord _arg2;
11400 wxCoord _arg3;
11401 wxCoord _arg4;
9416aa89
RD
11402 PyObject * _argo0 = 0;
11403 char *_kwnames[] = { "self","x","y","width","height", NULL };
11404
11405 self = self;
7e50db3f 11406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxRegion_Union",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9416aa89
RD
11407 return NULL;
11408 if (_argo0) {
11409 if (_argo0 == Py_None) { _arg0 = NULL; }
11410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
11412 return NULL;
11413 }
11414 }
11415{
4268f798 11416 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11417 _result = (bool )wxRegion_Union(_arg0,_arg1,_arg2,_arg3,_arg4);
9416aa89 11418
4268f798 11419 wxPyEndAllowThreads(__tstate);
493f1553 11420 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11421} _resultobj = Py_BuildValue("i",_result);
11422 return _resultobj;
11423}
11424
11425#define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
11426static PyObject *_wrap_wxRegion_UnionRect(PyObject *self, PyObject *args, PyObject *kwargs) {
11427 PyObject * _resultobj;
11428 bool _result;
11429 wxRegion * _arg0;
11430 wxRect * _arg1;
11431 PyObject * _argo0 = 0;
11432 wxRect temp;
11433 PyObject * _obj1 = 0;
11434 char *_kwnames[] = { "self","rect", NULL };
11435
11436 self = self;
11437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_UnionRect",_kwnames,&_argo0,&_obj1))
11438 return NULL;
11439 if (_argo0) {
11440 if (_argo0 == Py_None) { _arg0 = NULL; }
11441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
11443 return NULL;
11444 }
11445 }
11446{
11447 _arg1 = &temp;
11448 if (! wxRect_helper(_obj1, &_arg1))
11449 return NULL;
11450}
11451{
4268f798 11452 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11453 _result = (bool )wxRegion_UnionRect(_arg0,*_arg1);
9416aa89 11454
4268f798 11455 wxPyEndAllowThreads(__tstate);
493f1553 11456 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11457} _resultobj = Py_BuildValue("i",_result);
11458 return _resultobj;
11459}
11460
11461#define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
11462static PyObject *_wrap_wxRegion_UnionRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
11463 PyObject * _resultobj;
11464 bool _result;
11465 wxRegion * _arg0;
11466 wxRegion * _arg1;
11467 PyObject * _argo0 = 0;
11468 PyObject * _argo1 = 0;
11469 char *_kwnames[] = { "self","region", NULL };
11470
11471 self = self;
11472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_UnionRegion",_kwnames,&_argo0,&_argo1))
11473 return NULL;
11474 if (_argo0) {
11475 if (_argo0 == Py_None) { _arg0 = NULL; }
11476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
11478 return NULL;
11479 }
11480 }
11481 if (_argo1) {
7e50db3f 11482 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
9416aa89
RD
11483 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
11484 return NULL;
11485 }
11486 }
11487{
4268f798 11488 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11489 _result = (bool )wxRegion_UnionRegion(_arg0,*_arg1);
9416aa89 11490
4268f798 11491 wxPyEndAllowThreads(__tstate);
493f1553 11492 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11493} _resultobj = Py_BuildValue("i",_result);
11494 return _resultobj;
11495}
11496
11497#define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11498static PyObject *_wrap_wxRegion_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
11499 PyObject * _resultobj;
11500 bool _result;
11501 wxRegion * _arg0;
7e50db3f
RD
11502 wxCoord _arg1;
11503 wxCoord _arg2;
11504 wxCoord _arg3;
11505 wxCoord _arg4;
9416aa89
RD
11506 PyObject * _argo0 = 0;
11507 char *_kwnames[] = { "self","x","y","width","height", NULL };
11508
11509 self = self;
7e50db3f 11510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxRegion_Subtract",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9416aa89
RD
11511 return NULL;
11512 if (_argo0) {
11513 if (_argo0 == Py_None) { _arg0 = NULL; }
11514 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
11516 return NULL;
11517 }
11518 }
11519{
4268f798 11520 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11521 _result = (bool )wxRegion_Subtract(_arg0,_arg1,_arg2,_arg3,_arg4);
9416aa89 11522
4268f798 11523 wxPyEndAllowThreads(__tstate);
493f1553 11524 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11525} _resultobj = Py_BuildValue("i",_result);
11526 return _resultobj;
11527}
11528
11529#define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
11530static PyObject *_wrap_wxRegion_SubtractRect(PyObject *self, PyObject *args, PyObject *kwargs) {
11531 PyObject * _resultobj;
11532 bool _result;
11533 wxRegion * _arg0;
11534 wxRect * _arg1;
11535 PyObject * _argo0 = 0;
11536 wxRect temp;
11537 PyObject * _obj1 = 0;
11538 char *_kwnames[] = { "self","rect", NULL };
11539
11540 self = self;
11541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_SubtractRect",_kwnames,&_argo0,&_obj1))
11542 return NULL;
11543 if (_argo0) {
11544 if (_argo0 == Py_None) { _arg0 = NULL; }
11545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
11547 return NULL;
11548 }
11549 }
11550{
11551 _arg1 = &temp;
11552 if (! wxRect_helper(_obj1, &_arg1))
11553 return NULL;
11554}
11555{
4268f798 11556 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11557 _result = (bool )wxRegion_SubtractRect(_arg0,*_arg1);
9416aa89 11558
4268f798 11559 wxPyEndAllowThreads(__tstate);
493f1553 11560 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11561} _resultobj = Py_BuildValue("i",_result);
11562 return _resultobj;
11563}
11564
11565#define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
11566static PyObject *_wrap_wxRegion_SubtractRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
11567 PyObject * _resultobj;
11568 bool _result;
11569 wxRegion * _arg0;
11570 wxRegion * _arg1;
11571 PyObject * _argo0 = 0;
11572 PyObject * _argo1 = 0;
11573 char *_kwnames[] = { "self","region", NULL };
11574
11575 self = self;
11576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_SubtractRegion",_kwnames,&_argo0,&_argo1))
11577 return NULL;
11578 if (_argo0) {
11579 if (_argo0 == Py_None) { _arg0 = NULL; }
11580 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11581 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
11582 return NULL;
11583 }
11584 }
11585 if (_argo1) {
7e50db3f 11586 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
9416aa89
RD
11587 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
11588 return NULL;
11589 }
11590 }
11591{
4268f798 11592 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11593 _result = (bool )wxRegion_SubtractRegion(_arg0,*_arg1);
9416aa89 11594
4268f798 11595 wxPyEndAllowThreads(__tstate);
493f1553 11596 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11597} _resultobj = Py_BuildValue("i",_result);
11598 return _resultobj;
11599}
11600
11601#define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11602static PyObject *_wrap_wxRegion_Xor(PyObject *self, PyObject *args, PyObject *kwargs) {
11603 PyObject * _resultobj;
11604 bool _result;
11605 wxRegion * _arg0;
7e50db3f
RD
11606 wxCoord _arg1;
11607 wxCoord _arg2;
11608 wxCoord _arg3;
11609 wxCoord _arg4;
9416aa89
RD
11610 PyObject * _argo0 = 0;
11611 char *_kwnames[] = { "self","x","y","width","height", NULL };
11612
11613 self = self;
7e50db3f 11614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxRegion_Xor",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9416aa89
RD
11615 return NULL;
11616 if (_argo0) {
11617 if (_argo0 == Py_None) { _arg0 = NULL; }
11618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
11620 return NULL;
11621 }
11622 }
11623{
4268f798 11624 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11625 _result = (bool )wxRegion_Xor(_arg0,_arg1,_arg2,_arg3,_arg4);
9416aa89 11626
4268f798 11627 wxPyEndAllowThreads(__tstate);
493f1553 11628 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11629} _resultobj = Py_BuildValue("i",_result);
11630 return _resultobj;
11631}
11632
11633#define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
11634static PyObject *_wrap_wxRegion_XorRect(PyObject *self, PyObject *args, PyObject *kwargs) {
11635 PyObject * _resultobj;
11636 bool _result;
11637 wxRegion * _arg0;
11638 wxRect * _arg1;
11639 PyObject * _argo0 = 0;
11640 wxRect temp;
11641 PyObject * _obj1 = 0;
11642 char *_kwnames[] = { "self","rect", NULL };
11643
11644 self = self;
11645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_XorRect",_kwnames,&_argo0,&_obj1))
11646 return NULL;
11647 if (_argo0) {
11648 if (_argo0 == Py_None) { _arg0 = NULL; }
11649 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11650 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
11651 return NULL;
11652 }
11653 }
11654{
11655 _arg1 = &temp;
11656 if (! wxRect_helper(_obj1, &_arg1))
11657 return NULL;
11658}
11659{
4268f798 11660 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11661 _result = (bool )wxRegion_XorRect(_arg0,*_arg1);
9416aa89 11662
4268f798 11663 wxPyEndAllowThreads(__tstate);
493f1553 11664 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11665} _resultobj = Py_BuildValue("i",_result);
11666 return _resultobj;
11667}
11668
11669#define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
11670static PyObject *_wrap_wxRegion_XorRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
11671 PyObject * _resultobj;
11672 bool _result;
11673 wxRegion * _arg0;
11674 wxRegion * _arg1;
11675 PyObject * _argo0 = 0;
11676 PyObject * _argo1 = 0;
11677 char *_kwnames[] = { "self","region", NULL };
11678
11679 self = self;
11680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRegion_XorRegion",_kwnames,&_argo0,&_argo1))
11681 return NULL;
11682 if (_argo0) {
11683 if (_argo0 == Py_None) { _arg0 = NULL; }
11684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
11686 return NULL;
11687 }
11688 }
11689 if (_argo1) {
7e50db3f 11690 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRegion_p")) {
9416aa89
RD
11691 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
11692 return NULL;
11693 }
11694 }
11695{
4268f798 11696 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11697 _result = (bool )wxRegion_XorRegion(_arg0,*_arg1);
9416aa89 11698
4268f798 11699 wxPyEndAllowThreads(__tstate);
493f1553 11700 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11701} _resultobj = Py_BuildValue("i",_result);
11702 return _resultobj;
11703}
11704
5a2a9da2
RD
11705#define wxRegion_ConvertToBitmap(_swigobj) (_swigobj->ConvertToBitmap())
11706static PyObject *_wrap_wxRegion_ConvertToBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11707 PyObject * _resultobj;
11708 wxBitmap * _result;
11709 wxRegion * _arg0;
11710 PyObject * _argo0 = 0;
11711 char *_kwnames[] = { "self", NULL };
11712 char _ptemp[128];
11713
11714 self = self;
11715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegion_ConvertToBitmap",_kwnames,&_argo0))
11716 return NULL;
11717 if (_argo0) {
11718 if (_argo0 == Py_None) { _arg0 = NULL; }
11719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ConvertToBitmap. Expected _wxRegion_p.");
11721 return NULL;
11722 }
11723 }
11724{
11725 PyThreadState* __tstate = wxPyBeginAllowThreads();
11726 _result = new wxBitmap (wxRegion_ConvertToBitmap(_arg0));
11727
11728 wxPyEndAllowThreads(__tstate);
11729 if (PyErr_Occurred()) return NULL;
11730} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
11731 _resultobj = Py_BuildValue("s",_ptemp);
11732 return _resultobj;
11733}
11734
11735#define wxRegion_UnionBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2))
11736static PyObject *_wrap_wxRegion_UnionBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11737 PyObject * _resultobj;
11738 bool _result;
11739 wxRegion * _arg0;
11740 wxBitmap * _arg1;
11741 wxColour * _arg2 = (wxColour *) &wxNullColour;
11742 int _arg3 = (int ) 0;
11743 PyObject * _argo0 = 0;
11744 PyObject * _argo1 = 0;
11745 wxColour temp;
11746 PyObject * _obj2 = 0;
11747 char *_kwnames[] = { "self","bmp","transColour","tolerance", NULL };
11748
11749 self = self;
11750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|Oi:wxRegion_UnionBitmap",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3))
11751 return NULL;
11752 if (_argo0) {
11753 if (_argo0 == Py_None) { _arg0 = NULL; }
11754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
11755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_UnionBitmap. Expected _wxRegion_p.");
11756 return NULL;
11757 }
11758 }
11759 if (_argo1) {
11760 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
11761 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_UnionBitmap. Expected _wxBitmap_p.");
11762 return NULL;
11763 }
11764 }
11765 if (_obj2)
11766{
11767 _arg2 = &temp;
11768 if (! wxColour_helper(_obj2, &_arg2))
11769 return NULL;
11770}
11771{
11772 PyThreadState* __tstate = wxPyBeginAllowThreads();
11773 _result = (bool )wxRegion_UnionBitmap(_arg0,*_arg1,*_arg2,_arg3);
11774
11775 wxPyEndAllowThreads(__tstate);
11776 if (PyErr_Occurred()) return NULL;
11777} _resultobj = Py_BuildValue("i",_result);
11778 return _resultobj;
11779}
11780
9416aa89
RD
11781static void *SwigwxRegionIteratorTowxObject(void *ptr) {
11782 wxRegionIterator *src;
11783 wxObject *dest;
11784 src = (wxRegionIterator *) ptr;
11785 dest = (wxObject *) src;
11786 return (void *) dest;
11787}
11788
11789#define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
11790static PyObject *_wrap_new_wxRegionIterator(PyObject *self, PyObject *args, PyObject *kwargs) {
11791 PyObject * _resultobj;
11792 wxRegionIterator * _result;
11793 wxRegion * _arg0;
11794 PyObject * _argo0 = 0;
11795 char *_kwnames[] = { "region", NULL };
11796 char _ptemp[128];
11797
11798 self = self;
11799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxRegionIterator",_kwnames,&_argo0))
11800 return NULL;
11801 if (_argo0) {
7e50db3f 11802 if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) {
9416aa89
RD
11803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
11804 return NULL;
11805 }
11806 }
11807{
4268f798 11808 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11809 _result = (wxRegionIterator *)new_wxRegionIterator(*_arg0);
9416aa89 11810
4268f798 11811 wxPyEndAllowThreads(__tstate);
493f1553 11812 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11813} if (_result) {
11814 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRegionIterator_p");
11815 _resultobj = Py_BuildValue("s",_ptemp);
11816 } else {
11817 Py_INCREF(Py_None);
11818 _resultobj = Py_None;
11819 }
11820 return _resultobj;
11821}
11822
11823#define delete_wxRegionIterator(_swigobj) (delete _swigobj)
11824static PyObject *_wrap_delete_wxRegionIterator(PyObject *self, PyObject *args, PyObject *kwargs) {
11825 PyObject * _resultobj;
11826 wxRegionIterator * _arg0;
11827 PyObject * _argo0 = 0;
11828 char *_kwnames[] = { "self", NULL };
11829
11830 self = self;
11831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxRegionIterator",_kwnames,&_argo0))
11832 return NULL;
11833 if (_argo0) {
11834 if (_argo0 == Py_None) { _arg0 = NULL; }
11835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
11837 return NULL;
11838 }
11839 }
11840{
4268f798 11841 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11842 delete_wxRegionIterator(_arg0);
9416aa89 11843
4268f798 11844 wxPyEndAllowThreads(__tstate);
493f1553 11845 if (PyErr_Occurred()) return NULL;
9416aa89
RD
11846} Py_INCREF(Py_None);
11847 _resultobj = Py_None;
11848 return _resultobj;
11849}
11850
11851#define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
11852static PyObject *_wrap_wxRegionIterator_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
11853 PyObject * _resultobj;
7e50db3f 11854 wxCoord _result;
9416aa89
RD
11855 wxRegionIterator * _arg0;
11856 PyObject * _argo0 = 0;
11857 char *_kwnames[] = { "self", NULL };
11858
11859 self = self;
11860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetX",_kwnames,&_argo0))
11861 return NULL;
11862 if (_argo0) {
11863 if (_argo0 == Py_None) { _arg0 = NULL; }
11864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
11866 return NULL;
11867 }
11868 }
11869{
4268f798 11870 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e50db3f 11871 _result = (wxCoord )wxRegionIterator_GetX(_arg0);
9416aa89 11872
4268f798 11873 wxPyEndAllowThreads(__tstate);
493f1553 11874 if (PyErr_Occurred()) return NULL;
7e50db3f 11875} _resultobj = Py_BuildValue("i",_result);
9416aa89
RD
11876 return _resultobj;
11877}
11878
11879#define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
11880static PyObject *_wrap_wxRegionIterator_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
11881 PyObject * _resultobj;
7e50db3f 11882 wxCoord _result;
9416aa89
RD
11883 wxRegionIterator * _arg0;
11884 PyObject * _argo0 = 0;
11885 char *_kwnames[] = { "self", NULL };
11886
11887 self = self;
11888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetY",_kwnames,&_argo0))
11889 return NULL;
11890 if (_argo0) {
11891 if (_argo0 == Py_None) { _arg0 = NULL; }
11892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
11894 return NULL;
11895 }
11896 }
11897{
4268f798 11898 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e50db3f 11899 _result = (wxCoord )wxRegionIterator_GetY(_arg0);
9416aa89 11900
4268f798 11901 wxPyEndAllowThreads(__tstate);
493f1553 11902 if (PyErr_Occurred()) return NULL;
7e50db3f 11903} _resultobj = Py_BuildValue("i",_result);
9416aa89
RD
11904 return _resultobj;
11905}
11906
11907#define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
11908static PyObject *_wrap_wxRegionIterator_GetW(PyObject *self, PyObject *args, PyObject *kwargs) {
11909 PyObject * _resultobj;
7e50db3f 11910 wxCoord _result;
9416aa89
RD
11911 wxRegionIterator * _arg0;
11912 PyObject * _argo0 = 0;
11913 char *_kwnames[] = { "self", NULL };
11914
11915 self = self;
11916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetW",_kwnames,&_argo0))
11917 return NULL;
11918 if (_argo0) {
11919 if (_argo0 == Py_None) { _arg0 = NULL; }
11920 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11921 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
11922 return NULL;
11923 }
11924 }
11925{
4268f798 11926 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e50db3f 11927 _result = (wxCoord )wxRegionIterator_GetW(_arg0);
9416aa89 11928
4268f798 11929 wxPyEndAllowThreads(__tstate);
493f1553 11930 if (PyErr_Occurred()) return NULL;
7e50db3f 11931} _resultobj = Py_BuildValue("i",_result);
9416aa89
RD
11932 return _resultobj;
11933}
11934
11935#define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
11936static PyObject *_wrap_wxRegionIterator_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11937 PyObject * _resultobj;
7e50db3f 11938 wxCoord _result;
9416aa89
RD
11939 wxRegionIterator * _arg0;
11940 PyObject * _argo0 = 0;
11941 char *_kwnames[] = { "self", NULL };
11942
11943 self = self;
11944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetWidth",_kwnames,&_argo0))
11945 return NULL;
11946 if (_argo0) {
11947 if (_argo0 == Py_None) { _arg0 = NULL; }
11948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
11950 return NULL;
11951 }
11952 }
11953{
4268f798 11954 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e50db3f 11955 _result = (wxCoord )wxRegionIterator_GetWidth(_arg0);
9416aa89 11956
4268f798 11957 wxPyEndAllowThreads(__tstate);
493f1553 11958 if (PyErr_Occurred()) return NULL;
7e50db3f 11959} _resultobj = Py_BuildValue("i",_result);
9416aa89
RD
11960 return _resultobj;
11961}
11962
11963#define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
11964static PyObject *_wrap_wxRegionIterator_GetH(PyObject *self, PyObject *args, PyObject *kwargs) {
11965 PyObject * _resultobj;
7e50db3f 11966 wxCoord _result;
9416aa89
RD
11967 wxRegionIterator * _arg0;
11968 PyObject * _argo0 = 0;
11969 char *_kwnames[] = { "self", NULL };
11970
11971 self = self;
11972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetH",_kwnames,&_argo0))
11973 return NULL;
11974 if (_argo0) {
11975 if (_argo0 == Py_None) { _arg0 = NULL; }
11976 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
11977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
11978 return NULL;
11979 }
11980 }
11981{
4268f798 11982 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e50db3f 11983 _result = (wxCoord )wxRegionIterator_GetH(_arg0);
9416aa89 11984
4268f798 11985 wxPyEndAllowThreads(__tstate);
493f1553 11986 if (PyErr_Occurred()) return NULL;
7e50db3f 11987} _resultobj = Py_BuildValue("i",_result);
9416aa89
RD
11988 return _resultobj;
11989}
11990
11991#define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
11992static PyObject *_wrap_wxRegionIterator_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
11993 PyObject * _resultobj;
7e50db3f 11994 wxCoord _result;
9416aa89
RD
11995 wxRegionIterator * _arg0;
11996 PyObject * _argo0 = 0;
11997 char *_kwnames[] = { "self", NULL };
11998
11999 self = self;
12000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetHeight",_kwnames,&_argo0))
12001 return NULL;
12002 if (_argo0) {
12003 if (_argo0 == Py_None) { _arg0 = NULL; }
12004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
12005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
12006 return NULL;
12007 }
12008 }
12009{
4268f798 12010 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e50db3f 12011 _result = (wxCoord )wxRegionIterator_GetHeight(_arg0);
9416aa89 12012
4268f798 12013 wxPyEndAllowThreads(__tstate);
493f1553 12014 if (PyErr_Occurred()) return NULL;
7e50db3f 12015} _resultobj = Py_BuildValue("i",_result);
9416aa89
RD
12016 return _resultobj;
12017}
12018
12019#define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
12020static PyObject *_wrap_wxRegionIterator_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
12021 PyObject * _resultobj;
12022 wxRect * _result;
12023 wxRegionIterator * _arg0;
12024 PyObject * _argo0 = 0;
12025 char *_kwnames[] = { "self", NULL };
12026 char _ptemp[128];
12027
12028 self = self;
12029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_GetRect",_kwnames,&_argo0))
12030 return NULL;
12031 if (_argo0) {
12032 if (_argo0 == Py_None) { _arg0 = NULL; }
12033 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
12034 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
12035 return NULL;
12036 }
12037 }
12038{
4268f798 12039 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12040 _result = new wxRect (wxRegionIterator_GetRect(_arg0));
9416aa89 12041
4268f798 12042 wxPyEndAllowThreads(__tstate);
493f1553 12043 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12044} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
12045 _resultobj = Py_BuildValue("s",_ptemp);
12046 return _resultobj;
12047}
12048
12049#define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
12050static PyObject *_wrap_wxRegionIterator_HaveRects(PyObject *self, PyObject *args, PyObject *kwargs) {
12051 PyObject * _resultobj;
12052 bool _result;
12053 wxRegionIterator * _arg0;
12054 PyObject * _argo0 = 0;
12055 char *_kwnames[] = { "self", NULL };
12056
12057 self = self;
12058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_HaveRects",_kwnames,&_argo0))
12059 return NULL;
12060 if (_argo0) {
12061 if (_argo0 == Py_None) { _arg0 = NULL; }
12062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
12063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
12064 return NULL;
12065 }
12066 }
12067{
4268f798 12068 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12069 _result = (bool )wxRegionIterator_HaveRects(_arg0);
9416aa89 12070
4268f798 12071 wxPyEndAllowThreads(__tstate);
493f1553 12072 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12073} _resultobj = Py_BuildValue("i",_result);
12074 return _resultobj;
12075}
12076
12077#define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
12078static PyObject *_wrap_wxRegionIterator_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
12079 PyObject * _resultobj;
12080 wxRegionIterator * _arg0;
12081 PyObject * _argo0 = 0;
12082 char *_kwnames[] = { "self", NULL };
12083
12084 self = self;
12085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_Reset",_kwnames,&_argo0))
12086 return NULL;
12087 if (_argo0) {
12088 if (_argo0 == Py_None) { _arg0 = NULL; }
12089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
12090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
12091 return NULL;
12092 }
12093 }
12094{
4268f798 12095 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12096 wxRegionIterator_Reset(_arg0);
9416aa89 12097
4268f798 12098 wxPyEndAllowThreads(__tstate);
493f1553 12099 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12100} Py_INCREF(Py_None);
12101 _resultobj = Py_None;
12102 return _resultobj;
12103}
12104
12105static void wxRegionIterator_Next(wxRegionIterator *self) {
12106 (*self) ++;
12107 }
12108static PyObject *_wrap_wxRegionIterator_Next(PyObject *self, PyObject *args, PyObject *kwargs) {
12109 PyObject * _resultobj;
12110 wxRegionIterator * _arg0;
12111 PyObject * _argo0 = 0;
12112 char *_kwnames[] = { "self", NULL };
12113
12114 self = self;
12115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRegionIterator_Next",_kwnames,&_argo0))
12116 return NULL;
12117 if (_argo0) {
12118 if (_argo0 == Py_None) { _arg0 = NULL; }
12119 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) {
12120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
12121 return NULL;
12122 }
12123 }
12124{
4268f798 12125 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12126 wxRegionIterator_Next(_arg0);
9416aa89 12127
4268f798 12128 wxPyEndAllowThreads(__tstate);
493f1553 12129 if (PyErr_Occurred()) return NULL;
9416aa89
RD
12130} Py_INCREF(Py_None);
12131 _resultobj = Py_None;
12132 return _resultobj;
12133}
12134
8ab979d7 12135static PyMethodDef gdicMethods[] = {
9416aa89
RD
12136 { "wxRegionIterator_Next", (PyCFunction) _wrap_wxRegionIterator_Next, METH_VARARGS | METH_KEYWORDS },
12137 { "wxRegionIterator_Reset", (PyCFunction) _wrap_wxRegionIterator_Reset, METH_VARARGS | METH_KEYWORDS },
12138 { "wxRegionIterator_HaveRects", (PyCFunction) _wrap_wxRegionIterator_HaveRects, METH_VARARGS | METH_KEYWORDS },
12139 { "wxRegionIterator_GetRect", (PyCFunction) _wrap_wxRegionIterator_GetRect, METH_VARARGS | METH_KEYWORDS },
12140 { "wxRegionIterator_GetHeight", (PyCFunction) _wrap_wxRegionIterator_GetHeight, METH_VARARGS | METH_KEYWORDS },
12141 { "wxRegionIterator_GetH", (PyCFunction) _wrap_wxRegionIterator_GetH, METH_VARARGS | METH_KEYWORDS },
12142 { "wxRegionIterator_GetWidth", (PyCFunction) _wrap_wxRegionIterator_GetWidth, METH_VARARGS | METH_KEYWORDS },
12143 { "wxRegionIterator_GetW", (PyCFunction) _wrap_wxRegionIterator_GetW, METH_VARARGS | METH_KEYWORDS },
12144 { "wxRegionIterator_GetY", (PyCFunction) _wrap_wxRegionIterator_GetY, METH_VARARGS | METH_KEYWORDS },
12145 { "wxRegionIterator_GetX", (PyCFunction) _wrap_wxRegionIterator_GetX, METH_VARARGS | METH_KEYWORDS },
12146 { "delete_wxRegionIterator", (PyCFunction) _wrap_delete_wxRegionIterator, METH_VARARGS | METH_KEYWORDS },
12147 { "new_wxRegionIterator", (PyCFunction) _wrap_new_wxRegionIterator, METH_VARARGS | METH_KEYWORDS },
5a2a9da2
RD
12148 { "wxRegion_UnionBitmap", (PyCFunction) _wrap_wxRegion_UnionBitmap, METH_VARARGS | METH_KEYWORDS },
12149 { "wxRegion_ConvertToBitmap", (PyCFunction) _wrap_wxRegion_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
9416aa89
RD
12150 { "wxRegion_XorRegion", (PyCFunction) _wrap_wxRegion_XorRegion, METH_VARARGS | METH_KEYWORDS },
12151 { "wxRegion_XorRect", (PyCFunction) _wrap_wxRegion_XorRect, METH_VARARGS | METH_KEYWORDS },
12152 { "wxRegion_Xor", (PyCFunction) _wrap_wxRegion_Xor, METH_VARARGS | METH_KEYWORDS },
12153 { "wxRegion_SubtractRegion", (PyCFunction) _wrap_wxRegion_SubtractRegion, METH_VARARGS | METH_KEYWORDS },
12154 { "wxRegion_SubtractRect", (PyCFunction) _wrap_wxRegion_SubtractRect, METH_VARARGS | METH_KEYWORDS },
12155 { "wxRegion_Subtract", (PyCFunction) _wrap_wxRegion_Subtract, METH_VARARGS | METH_KEYWORDS },
12156 { "wxRegion_UnionRegion", (PyCFunction) _wrap_wxRegion_UnionRegion, METH_VARARGS | METH_KEYWORDS },
12157 { "wxRegion_UnionRect", (PyCFunction) _wrap_wxRegion_UnionRect, METH_VARARGS | METH_KEYWORDS },
12158 { "wxRegion_Union", (PyCFunction) _wrap_wxRegion_Union, METH_VARARGS | METH_KEYWORDS },
12159 { "wxRegion_IsEmpty", (PyCFunction) _wrap_wxRegion_IsEmpty, METH_VARARGS | METH_KEYWORDS },
12160 { "wxRegion_IntersectRegion", (PyCFunction) _wrap_wxRegion_IntersectRegion, METH_VARARGS | METH_KEYWORDS },
12161 { "wxRegion_IntersectRect", (PyCFunction) _wrap_wxRegion_IntersectRect, METH_VARARGS | METH_KEYWORDS },
12162 { "wxRegion_Intersect", (PyCFunction) _wrap_wxRegion_Intersect, METH_VARARGS | METH_KEYWORDS },
12163 { "wxRegion_GetBox", (PyCFunction) _wrap_wxRegion_GetBox, METH_VARARGS | METH_KEYWORDS },
12164 { "wxRegion_ContainsRectDim", (PyCFunction) _wrap_wxRegion_ContainsRectDim, METH_VARARGS | METH_KEYWORDS },
12165 { "wxRegion_ContainsRect", (PyCFunction) _wrap_wxRegion_ContainsRect, METH_VARARGS | METH_KEYWORDS },
12166 { "wxRegion_ContainsPoint", (PyCFunction) _wrap_wxRegion_ContainsPoint, METH_VARARGS | METH_KEYWORDS },
12167 { "wxRegion_Contains", (PyCFunction) _wrap_wxRegion_Contains, METH_VARARGS | METH_KEYWORDS },
23bed520 12168 { "wxRegion_Offset", (PyCFunction) _wrap_wxRegion_Offset, METH_VARARGS | METH_KEYWORDS },
9416aa89
RD
12169 { "wxRegion_Clear", (PyCFunction) _wrap_wxRegion_Clear, METH_VARARGS | METH_KEYWORDS },
12170 { "delete_wxRegion", (PyCFunction) _wrap_delete_wxRegion, METH_VARARGS | METH_KEYWORDS },
5a2a9da2 12171 { "new_wxRegionFromBitmap", (PyCFunction) _wrap_new_wxRegionFromBitmap, METH_VARARGS | METH_KEYWORDS },
3de0866e 12172 { "new_wxRegionFromPoints", (PyCFunction) _wrap_new_wxRegionFromPoints, METH_VARARGS | METH_KEYWORDS },
9416aa89 12173 { "new_wxRegion", (PyCFunction) _wrap_new_wxRegion, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 12174 { "wxImageList_GetSize", (PyCFunction) _wrap_wxImageList_GetSize, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
12175 { "wxImageList_RemoveAll", (PyCFunction) _wrap_wxImageList_RemoveAll, METH_VARARGS | METH_KEYWORDS },
12176 { "wxImageList_Remove", (PyCFunction) _wrap_wxImageList_Remove, METH_VARARGS | METH_KEYWORDS },
12177 { "wxImageList_GetImageCount", (PyCFunction) _wrap_wxImageList_GetImageCount, METH_VARARGS | METH_KEYWORDS },
12178 { "wxImageList_Draw", (PyCFunction) _wrap_wxImageList_Draw, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
12179 { "wxImageList_Replace", (PyCFunction) _wrap_wxImageList_Replace, METH_VARARGS | METH_KEYWORDS },
12180 { "wxImageList_AddIcon", (PyCFunction) _wrap_wxImageList_AddIcon, METH_VARARGS | METH_KEYWORDS },
12181 { "wxImageList_AddWithColourMask", (PyCFunction) _wrap_wxImageList_AddWithColourMask, METH_VARARGS | METH_KEYWORDS },
12182 { "wxImageList_Add", (PyCFunction) _wrap_wxImageList_Add, METH_VARARGS | METH_KEYWORDS },
12183 { "delete_wxImageList", (PyCFunction) _wrap_delete_wxImageList, METH_VARARGS | METH_KEYWORDS },
12184 { "new_wxImageList", (PyCFunction) _wrap_new_wxImageList, METH_VARARGS | METH_KEYWORDS },
12185 { "wxPalette_Ok", (PyCFunction) _wrap_wxPalette_Ok, METH_VARARGS | METH_KEYWORDS },
12186 { "wxPalette_GetRGB", (PyCFunction) _wrap_wxPalette_GetRGB, METH_VARARGS | METH_KEYWORDS },
12187 { "wxPalette_GetPixel", (PyCFunction) _wrap_wxPalette_GetPixel, METH_VARARGS | METH_KEYWORDS },
12188 { "delete_wxPalette", (PyCFunction) _wrap_delete_wxPalette, METH_VARARGS | METH_KEYWORDS },
12189 { "new_wxPalette", (PyCFunction) _wrap_new_wxPalette, METH_VARARGS | METH_KEYWORDS },
12190 { "wxMetaFileDC_Close", (PyCFunction) _wrap_wxMetaFileDC_Close, METH_VARARGS | METH_KEYWORDS },
12191 { "new_wxMetaFileDC", (PyCFunction) _wrap_new_wxMetaFileDC, METH_VARARGS | METH_KEYWORDS },
17c0e08c
RD
12192 { "wxMetaFile_GetFileName", (PyCFunction) _wrap_wxMetaFile_GetFileName, METH_VARARGS | METH_KEYWORDS },
12193 { "wxMetaFile_GetHeight", (PyCFunction) _wrap_wxMetaFile_GetHeight, METH_VARARGS | METH_KEYWORDS },
12194 { "wxMetaFile_GetWidth", (PyCFunction) _wrap_wxMetaFile_GetWidth, METH_VARARGS | METH_KEYWORDS },
12195 { "wxMetaFile_GetSize", (PyCFunction) _wrap_wxMetaFile_GetSize, METH_VARARGS | METH_KEYWORDS },
12196 { "wxMetaFile_SetClipboard", (PyCFunction) _wrap_wxMetaFile_SetClipboard, METH_VARARGS | METH_KEYWORDS },
12197 { "wxMetaFile_Ok", (PyCFunction) _wrap_wxMetaFile_Ok, METH_VARARGS | METH_KEYWORDS },
12198 { "delete_wxMetaFile", (PyCFunction) _wrap_delete_wxMetaFile, METH_VARARGS | METH_KEYWORDS },
12199 { "new_wxMetaFile", (PyCFunction) _wrap_new_wxMetaFile, METH_VARARGS | METH_KEYWORDS },
5a2a9da2 12200 { "new_wxMirrorDC", (PyCFunction) _wrap_new_wxMirrorDC, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
12201 { "new_wxWindowDC", (PyCFunction) _wrap_new_wxWindowDC, METH_VARARGS | METH_KEYWORDS },
12202 { "new_wxPaintDC", (PyCFunction) _wrap_new_wxPaintDC, METH_VARARGS | METH_KEYWORDS },
12203 { "new_wxClientDC", (PyCFunction) _wrap_new_wxClientDC, METH_VARARGS | METH_KEYWORDS },
12204 { "wxScreenDC_EndDrawingOnTop", (PyCFunction) _wrap_wxScreenDC_EndDrawingOnTop, METH_VARARGS | METH_KEYWORDS },
1afc06c2 12205 { "wxScreenDC_StartDrawingOnTop", (PyCFunction) _wrap_wxScreenDC_StartDrawingOnTop, METH_VARARGS | METH_KEYWORDS },
26b9cf27 12206 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction) _wrap_wxScreenDC_StartDrawingOnTopWin, METH_VARARGS | METH_KEYWORDS },
1afc06c2 12207 { "new_wxScreenDC", (PyCFunction) _wrap_new_wxScreenDC, METH_VARARGS | METH_KEYWORDS },
e9159fe8 12208 { "new_wxBufferedPaintDC", (PyCFunction) _wrap_new_wxBufferedPaintDC, METH_VARARGS | METH_KEYWORDS },
d3bfec74 12209 { "wxBufferedDC_UnMask", (PyCFunction) _wrap_wxBufferedDC_UnMask, METH_VARARGS | METH_KEYWORDS },
e9159fe8
RD
12210 { "new_wxBufferedDCInternalBuffer", (PyCFunction) _wrap_new_wxBufferedDCInternalBuffer, METH_VARARGS | METH_KEYWORDS },
12211 { "new_wxBufferedDC", (PyCFunction) _wrap_new_wxBufferedDC, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
12212 { "wxMemoryDC_SelectObject", (PyCFunction) _wrap_wxMemoryDC_SelectObject, METH_VARARGS | METH_KEYWORDS },
12213 { "new_wxMemoryDC", (PyCFunction) _wrap_new_wxMemoryDC, METH_VARARGS | METH_KEYWORDS },
7e50db3f
RD
12214 { "wxDC__DrawTextList", (PyCFunction) _wrap_wxDC__DrawTextList, METH_VARARGS | METH_KEYWORDS },
12215 { "wxDC__DrawPolygonList", (PyCFunction) _wrap_wxDC__DrawPolygonList, METH_VARARGS | METH_KEYWORDS },
12216 { "wxDC__DrawEllipseList", (PyCFunction) _wrap_wxDC__DrawEllipseList, METH_VARARGS | METH_KEYWORDS },
12217 { "wxDC__DrawRectangleList", (PyCFunction) _wrap_wxDC__DrawRectangleList, METH_VARARGS | METH_KEYWORDS },
9d37f964
RD
12218 { "wxDC__DrawLineList", (PyCFunction) _wrap_wxDC__DrawLineList, METH_VARARGS | METH_KEYWORDS },
12219 { "wxDC__DrawPointList", (PyCFunction) _wrap_wxDC__DrawPointList, METH_VARARGS | METH_KEYWORDS },
c7e7022c 12220 { "wxDC_GetHDC", (PyCFunction) _wrap_wxDC_GetHDC, METH_VARARGS | METH_KEYWORDS },
9d37f964 12221 { "wxDC_GetBoundingBox", (PyCFunction) _wrap_wxDC_GetBoundingBox, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
12222 { "wxDC_ResetBoundingBox", (PyCFunction) _wrap_wxDC_ResetBoundingBox, METH_VARARGS | METH_KEYWORDS },
12223 { "wxDC_CalcBoundingBox", (PyCFunction) _wrap_wxDC_CalcBoundingBox, METH_VARARGS | METH_KEYWORDS },
eec92d76
RD
12224 { "wxDC_SetAxisOrientation", (PyCFunction) _wrap_wxDC_SetAxisOrientation, METH_VARARGS | METH_KEYWORDS },
12225 { "wxDC_GetDeviceOrigin", (PyCFunction) _wrap_wxDC_GetDeviceOrigin, METH_VARARGS | METH_KEYWORDS },
12226 { "wxDC_SetLogicalOrigin", (PyCFunction) _wrap_wxDC_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS },
12227 { "wxDC_GetLogicalOrigin", (PyCFunction) _wrap_wxDC_GetLogicalOrigin, METH_VARARGS | METH_KEYWORDS },
12228 { "wxDC_GetPPI", (PyCFunction) _wrap_wxDC_GetPPI, METH_VARARGS | METH_KEYWORDS },
12229 { "wxDC_GetDepth", (PyCFunction) _wrap_wxDC_GetDepth, METH_VARARGS | METH_KEYWORDS },
12230 { "wxDC_CanGetTextExtent", (PyCFunction) _wrap_wxDC_CanGetTextExtent, METH_VARARGS | METH_KEYWORDS },
12231 { "wxDC_CanDrawBitmap", (PyCFunction) _wrap_wxDC_CanDrawBitmap, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
12232 { "wxDC_DrawBitmap", (PyCFunction) _wrap_wxDC_DrawBitmap, METH_VARARGS | METH_KEYWORDS },
12233 { "wxDC_StartPage", (PyCFunction) _wrap_wxDC_StartPage, METH_VARARGS | METH_KEYWORDS },
12234 { "wxDC_StartDoc", (PyCFunction) _wrap_wxDC_StartDoc, METH_VARARGS | METH_KEYWORDS },
12235 { "wxDC_SetUserScale", (PyCFunction) _wrap_wxDC_SetUserScale, METH_VARARGS | METH_KEYWORDS },
12236 { "wxDC_SetTextForeground", (PyCFunction) _wrap_wxDC_SetTextForeground, METH_VARARGS | METH_KEYWORDS },
12237 { "wxDC_SetTextBackground", (PyCFunction) _wrap_wxDC_SetTextBackground, METH_VARARGS | METH_KEYWORDS },
12238 { "wxDC_SetPen", (PyCFunction) _wrap_wxDC_SetPen, METH_VARARGS | METH_KEYWORDS },
12239 { "wxDC_SetOptimization", (PyCFunction) _wrap_wxDC_SetOptimization, METH_VARARGS | METH_KEYWORDS },
12240 { "wxDC_SetMapMode", (PyCFunction) _wrap_wxDC_SetMapMode, METH_VARARGS | METH_KEYWORDS },
eec92d76 12241 { "wxDC_SetLogicalScale", (PyCFunction) _wrap_wxDC_SetLogicalScale, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
12242 { "wxDC_SetLogicalFunction", (PyCFunction) _wrap_wxDC_SetLogicalFunction, METH_VARARGS | METH_KEYWORDS },
12243 { "wxDC_SetFont", (PyCFunction) _wrap_wxDC_SetFont, METH_VARARGS | METH_KEYWORDS },
12244 { "wxDC_SetBrush", (PyCFunction) _wrap_wxDC_SetBrush, METH_VARARGS | METH_KEYWORDS },
12245 { "wxDC_SetPalette", (PyCFunction) _wrap_wxDC_SetPalette, METH_VARARGS | METH_KEYWORDS },
efe12e95 12246 { "wxDC_SetClippingRect", (PyCFunction) _wrap_wxDC_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
19a97bd6 12247 { "wxDC_SetClippingRegionAsRegion", (PyCFunction) _wrap_wxDC_SetClippingRegionAsRegion, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
12248 { "wxDC_SetClippingRegion", (PyCFunction) _wrap_wxDC_SetClippingRegion, METH_VARARGS | METH_KEYWORDS },
12249 { "wxDC_SetBackgroundMode", (PyCFunction) _wrap_wxDC_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
12250 { "wxDC_SetBackground", (PyCFunction) _wrap_wxDC_SetBackground, METH_VARARGS | METH_KEYWORDS },
12251 { "wxDC_SetDeviceOrigin", (PyCFunction) _wrap_wxDC_SetDeviceOrigin, METH_VARARGS | METH_KEYWORDS },
12252 { "wxDC_Ok", (PyCFunction) _wrap_wxDC_Ok, METH_VARARGS | METH_KEYWORDS },
12253 { "wxDC_MinY", (PyCFunction) _wrap_wxDC_MinY, METH_VARARGS | METH_KEYWORDS },
12254 { "wxDC_MinX", (PyCFunction) _wrap_wxDC_MinX, METH_VARARGS | METH_KEYWORDS },
12255 { "wxDC_MaxY", (PyCFunction) _wrap_wxDC_MaxY, METH_VARARGS | METH_KEYWORDS },
12256 { "wxDC_MaxX", (PyCFunction) _wrap_wxDC_MaxX, METH_VARARGS | METH_KEYWORDS },
12257 { "wxDC_LogicalToDeviceYRel", (PyCFunction) _wrap_wxDC_LogicalToDeviceYRel, METH_VARARGS | METH_KEYWORDS },
12258 { "wxDC_LogicalToDeviceY", (PyCFunction) _wrap_wxDC_LogicalToDeviceY, METH_VARARGS | METH_KEYWORDS },
12259 { "wxDC_LogicalToDeviceXRel", (PyCFunction) _wrap_wxDC_LogicalToDeviceXRel, METH_VARARGS | METH_KEYWORDS },
12260 { "wxDC_LogicalToDeviceX", (PyCFunction) _wrap_wxDC_LogicalToDeviceX, METH_VARARGS | METH_KEYWORDS },
eec92d76 12261 { "wxDC_GetUserScale", (PyCFunction) _wrap_wxDC_GetUserScale, METH_VARARGS | METH_KEYWORDS },
1afc06c2 12262 { "wxDC_GetTextForeground", (PyCFunction) _wrap_wxDC_GetTextForeground, METH_VARARGS | METH_KEYWORDS },
7e50db3f 12263 { "wxDC_GetMultiLineTextExtent", (PyCFunction) _wrap_wxDC_GetMultiLineTextExtent, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
12264 { "wxDC_GetFullTextExtent", (PyCFunction) _wrap_wxDC_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
12265 { "wxDC_GetTextExtent", (PyCFunction) _wrap_wxDC_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
12266 { "wxDC_GetTextBackground", (PyCFunction) _wrap_wxDC_GetTextBackground, METH_VARARGS | METH_KEYWORDS },
eec92d76 12267 { "wxDC_GetSizeMM", (PyCFunction) _wrap_wxDC_GetSizeMM, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
12268 { "wxDC_GetSize", (PyCFunction) _wrap_wxDC_GetSize, METH_VARARGS | METH_KEYWORDS },
12269 { "wxDC_GetSizeTuple", (PyCFunction) _wrap_wxDC_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
12270 { "wxDC_GetPixel", (PyCFunction) _wrap_wxDC_GetPixel, METH_VARARGS | METH_KEYWORDS },
12271 { "wxDC_GetPen", (PyCFunction) _wrap_wxDC_GetPen, METH_VARARGS | METH_KEYWORDS },
12272 { "wxDC_GetOptimization", (PyCFunction) _wrap_wxDC_GetOptimization, METH_VARARGS | METH_KEYWORDS },
12273 { "wxDC_GetMapMode", (PyCFunction) _wrap_wxDC_GetMapMode, METH_VARARGS | METH_KEYWORDS },
eec92d76 12274 { "wxDC_GetLogicalScale", (PyCFunction) _wrap_wxDC_GetLogicalScale, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
12275 { "wxDC_GetLogicalFunction", (PyCFunction) _wrap_wxDC_GetLogicalFunction, METH_VARARGS | METH_KEYWORDS },
12276 { "wxDC_GetFont", (PyCFunction) _wrap_wxDC_GetFont, METH_VARARGS | METH_KEYWORDS },
12277 { "wxDC_GetClippingBox", (PyCFunction) _wrap_wxDC_GetClippingBox, METH_VARARGS | METH_KEYWORDS },
12278 { "wxDC_GetCharWidth", (PyCFunction) _wrap_wxDC_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
12279 { "wxDC_GetCharHeight", (PyCFunction) _wrap_wxDC_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
12280 { "wxDC_GetBrush", (PyCFunction) _wrap_wxDC_GetBrush, METH_VARARGS | METH_KEYWORDS },
12281 { "wxDC_GetBackground", (PyCFunction) _wrap_wxDC_GetBackground, METH_VARARGS | METH_KEYWORDS },
12282 { "wxDC_FloodFill", (PyCFunction) _wrap_wxDC_FloodFill, METH_VARARGS | METH_KEYWORDS },
12283 { "wxDC_EndPage", (PyCFunction) _wrap_wxDC_EndPage, METH_VARARGS | METH_KEYWORDS },
12284 { "wxDC_EndDrawing", (PyCFunction) _wrap_wxDC_EndDrawing, METH_VARARGS | METH_KEYWORDS },
12285 { "wxDC_EndDoc", (PyCFunction) _wrap_wxDC_EndDoc, METH_VARARGS | METH_KEYWORDS },
12286 { "wxDC_DrawText", (PyCFunction) _wrap_wxDC_DrawText, METH_VARARGS | METH_KEYWORDS },
12287 { "wxDC_DrawSpline", (PyCFunction) _wrap_wxDC_DrawSpline, METH_VARARGS | METH_KEYWORDS },
12288 { "wxDC_DrawRoundedRectangle", (PyCFunction) _wrap_wxDC_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
6999b0d8 12289 { "wxDC_DrawRotatedText", (PyCFunction) _wrap_wxDC_DrawRotatedText, METH_VARARGS | METH_KEYWORDS },
efe12e95 12290 { "wxDC_DrawRectangleRect", (PyCFunction) _wrap_wxDC_DrawRectangleRect, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
12291 { "wxDC_DrawRectangle", (PyCFunction) _wrap_wxDC_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
12292 { "wxDC_DrawPoint", (PyCFunction) _wrap_wxDC_DrawPoint, METH_VARARGS | METH_KEYWORDS },
12293 { "wxDC_DrawPolygon", (PyCFunction) _wrap_wxDC_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
12294 { "wxDC_DrawLines", (PyCFunction) _wrap_wxDC_DrawLines, METH_VARARGS | METH_KEYWORDS },
12295 { "wxDC_DrawLine", (PyCFunction) _wrap_wxDC_DrawLine, METH_VARARGS | METH_KEYWORDS },
23bed520
RD
12296 { "wxDC_DrawImageLabel", (PyCFunction) _wrap_wxDC_DrawImageLabel, METH_VARARGS | METH_KEYWORDS },
12297 { "wxDC_DrawLabel", (PyCFunction) _wrap_wxDC_DrawLabel, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
12298 { "wxDC_DrawIcon", (PyCFunction) _wrap_wxDC_DrawIcon, METH_VARARGS | METH_KEYWORDS },
12299 { "wxDC_DrawEllipticArc", (PyCFunction) _wrap_wxDC_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
12300 { "wxDC_DrawEllipse", (PyCFunction) _wrap_wxDC_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
12301 { "wxDC_DrawCircle", (PyCFunction) _wrap_wxDC_DrawCircle, METH_VARARGS | METH_KEYWORDS },
12302 { "wxDC_DrawArc", (PyCFunction) _wrap_wxDC_DrawArc, METH_VARARGS | METH_KEYWORDS },
12303 { "wxDC_DeviceToLogicalYRel", (PyCFunction) _wrap_wxDC_DeviceToLogicalYRel, METH_VARARGS | METH_KEYWORDS },
12304 { "wxDC_DeviceToLogicalY", (PyCFunction) _wrap_wxDC_DeviceToLogicalY, METH_VARARGS | METH_KEYWORDS },
12305 { "wxDC_DeviceToLogicalXRel", (PyCFunction) _wrap_wxDC_DeviceToLogicalXRel, METH_VARARGS | METH_KEYWORDS },
12306 { "wxDC_DeviceToLogicalX", (PyCFunction) _wrap_wxDC_DeviceToLogicalX, METH_VARARGS | METH_KEYWORDS },
12307 { "wxDC_DestroyClippingRegion", (PyCFunction) _wrap_wxDC_DestroyClippingRegion, METH_VARARGS | METH_KEYWORDS },
12308 { "wxDC_CrossHair", (PyCFunction) _wrap_wxDC_CrossHair, METH_VARARGS | METH_KEYWORDS },
12309 { "wxDC_Clear", (PyCFunction) _wrap_wxDC_Clear, METH_VARARGS | METH_KEYWORDS },
12310 { "wxDC_Blit", (PyCFunction) _wrap_wxDC_Blit, METH_VARARGS | METH_KEYWORDS },
12311 { "wxDC_BeginDrawing", (PyCFunction) _wrap_wxDC_BeginDrawing, METH_VARARGS | METH_KEYWORDS },
12312 { "delete_wxDC", (PyCFunction) _wrap_delete_wxDC, METH_VARARGS | METH_KEYWORDS },
2f4e9287 12313 { "wxBrushList_GetCount", (PyCFunction) _wrap_wxBrushList_GetCount, METH_VARARGS | METH_KEYWORDS },
0569df0f
RD
12314 { "wxBrushList_RemoveBrush", (PyCFunction) _wrap_wxBrushList_RemoveBrush, METH_VARARGS | METH_KEYWORDS },
12315 { "wxBrushList_FindOrCreateBrush", (PyCFunction) _wrap_wxBrushList_FindOrCreateBrush, METH_VARARGS | METH_KEYWORDS },
12316 { "wxBrushList_AddBrush", (PyCFunction) _wrap_wxBrushList_AddBrush, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
12317 { "wxBrush_SetStyle", (PyCFunction) _wrap_wxBrush_SetStyle, METH_VARARGS | METH_KEYWORDS },
12318 { "wxBrush_SetStipple", (PyCFunction) _wrap_wxBrush_SetStipple, METH_VARARGS | METH_KEYWORDS },
12319 { "wxBrush_SetColour", (PyCFunction) _wrap_wxBrush_SetColour, METH_VARARGS | METH_KEYWORDS },
12320 { "wxBrush_Ok", (PyCFunction) _wrap_wxBrush_Ok, METH_VARARGS | METH_KEYWORDS },
12321 { "wxBrush_GetStyle", (PyCFunction) _wrap_wxBrush_GetStyle, METH_VARARGS | METH_KEYWORDS },
12322 { "wxBrush_GetStipple", (PyCFunction) _wrap_wxBrush_GetStipple, METH_VARARGS | METH_KEYWORDS },
12323 { "wxBrush_GetColour", (PyCFunction) _wrap_wxBrush_GetColour, METH_VARARGS | METH_KEYWORDS },
0569df0f 12324 { "delete_wxBrush", (PyCFunction) _wrap_delete_wxBrush, METH_VARARGS | METH_KEYWORDS },
1afc06c2 12325 { "new_wxBrush", (PyCFunction) _wrap_new_wxBrush, METH_VARARGS | METH_KEYWORDS },
2f4e9287 12326 { "wxPenList_GetCount", (PyCFunction) _wrap_wxPenList_GetCount, METH_VARARGS | METH_KEYWORDS },
0569df0f
RD
12327 { "wxPenList_RemovePen", (PyCFunction) _wrap_wxPenList_RemovePen, METH_VARARGS | METH_KEYWORDS },
12328 { "wxPenList_FindOrCreatePen", (PyCFunction) _wrap_wxPenList_FindOrCreatePen, METH_VARARGS | METH_KEYWORDS },
12329 { "wxPenList_AddPen", (PyCFunction) _wrap_wxPenList_AddPen, METH_VARARGS | METH_KEYWORDS },
ecc08ead
RD
12330 { "wxPyPen_SetDashes", (PyCFunction) _wrap_wxPyPen_SetDashes, METH_VARARGS | METH_KEYWORDS },
12331 { "delete_wxPyPen", (PyCFunction) _wrap_delete_wxPyPen, METH_VARARGS | METH_KEYWORDS },
12332 { "new_wxPyPen", (PyCFunction) _wrap_new_wxPyPen, METH_VARARGS | METH_KEYWORDS },
1afc06c2 12333 { "wxPen_SetStipple", (PyCFunction) _wrap_wxPen_SetStipple, METH_VARARGS | METH_KEYWORDS },
1afc06c2 12334 { "wxPen_GetStipple", (PyCFunction) _wrap_wxPen_GetStipple, METH_VARARGS | METH_KEYWORDS },
756ed80c 12335 { "wxPen_GetDashes", (PyCFunction) _wrap_wxPen_GetDashes, METH_VARARGS | METH_KEYWORDS },
6999b0d8 12336 { "wxPen_SetDashes", (PyCFunction) _wrap_wxPen_SetDashes, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
12337 { "wxPen_SetWidth", (PyCFunction) _wrap_wxPen_SetWidth, METH_VARARGS | METH_KEYWORDS },
12338 { "wxPen_SetStyle", (PyCFunction) _wrap_wxPen_SetStyle, METH_VARARGS | METH_KEYWORDS },
12339 { "wxPen_SetJoin", (PyCFunction) _wrap_wxPen_SetJoin, METH_VARARGS | METH_KEYWORDS },
12340 { "wxPen_SetColour", (PyCFunction) _wrap_wxPen_SetColour, METH_VARARGS | METH_KEYWORDS },
12341 { "wxPen_SetCap", (PyCFunction) _wrap_wxPen_SetCap, METH_VARARGS | METH_KEYWORDS },
12342 { "wxPen_Ok", (PyCFunction) _wrap_wxPen_Ok, METH_VARARGS | METH_KEYWORDS },
12343 { "wxPen_GetWidth", (PyCFunction) _wrap_wxPen_GetWidth, METH_VARARGS | METH_KEYWORDS },
12344 { "wxPen_GetStyle", (PyCFunction) _wrap_wxPen_GetStyle, METH_VARARGS | METH_KEYWORDS },
12345 { "wxPen_GetJoin", (PyCFunction) _wrap_wxPen_GetJoin, METH_VARARGS | METH_KEYWORDS },
12346 { "wxPen_GetColour", (PyCFunction) _wrap_wxPen_GetColour, METH_VARARGS | METH_KEYWORDS },
12347 { "wxPen_GetCap", (PyCFunction) _wrap_wxPen_GetCap, METH_VARARGS | METH_KEYWORDS },
0569df0f 12348 { "delete_wxPen", (PyCFunction) _wrap_delete_wxPen, METH_VARARGS | METH_KEYWORDS },
1afc06c2 12349 { "new_wxPen", (PyCFunction) _wrap_new_wxPen, METH_VARARGS | METH_KEYWORDS },
0569df0f 12350 { "wxColourDatabase_Append", (PyCFunction) _wrap_wxColourDatabase_Append, METH_VARARGS | METH_KEYWORDS },
5a2a9da2 12351 { "wxColourDatabase_AddColour", (PyCFunction) _wrap_wxColourDatabase_AddColour, METH_VARARGS | METH_KEYWORDS },
0569df0f 12352 { "wxColourDatabase_FindName", (PyCFunction) _wrap_wxColourDatabase_FindName, METH_VARARGS | METH_KEYWORDS },
5a2a9da2 12353 { "wxColourDatabase_FindColourNoAdd", (PyCFunction) _wrap_wxColourDatabase_FindColourNoAdd, METH_VARARGS | METH_KEYWORDS },
0569df0f 12354 { "wxColourDatabase_FindColour", (PyCFunction) _wrap_wxColourDatabase_FindColour, METH_VARARGS | METH_KEYWORDS },
7e50db3f
RD
12355 { "wxColour___ne__", (PyCFunction) _wrap_wxColour___ne__, METH_VARARGS | METH_KEYWORDS },
12356 { "wxColour___eq__", (PyCFunction) _wrap_wxColour___eq__, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
12357 { "wxColour_Get", (PyCFunction) _wrap_wxColour_Get, METH_VARARGS | METH_KEYWORDS },
12358 { "wxColour_Set", (PyCFunction) _wrap_wxColour_Set, METH_VARARGS | METH_KEYWORDS },
12359 { "wxColour_Ok", (PyCFunction) _wrap_wxColour_Ok, METH_VARARGS | METH_KEYWORDS },
12360 { "wxColour_Blue", (PyCFunction) _wrap_wxColour_Blue, METH_VARARGS | METH_KEYWORDS },
12361 { "wxColour_Green", (PyCFunction) _wrap_wxColour_Green, METH_VARARGS | METH_KEYWORDS },
12362 { "wxColour_Red", (PyCFunction) _wrap_wxColour_Red, METH_VARARGS | METH_KEYWORDS },
12363 { "delete_wxColour", (PyCFunction) _wrap_delete_wxColour, METH_VARARGS | METH_KEYWORDS },
12364 { "new_wxColour", (PyCFunction) _wrap_new_wxColour, METH_VARARGS | METH_KEYWORDS },
9b3d3bc4
RD
12365 { "wxCursor_SetSize", (PyCFunction) _wrap_wxCursor_SetSize, METH_VARARGS | METH_KEYWORDS },
12366 { "wxCursor_SetDepth", (PyCFunction) _wrap_wxCursor_SetDepth, METH_VARARGS | METH_KEYWORDS },
12367 { "wxCursor_SetHeight", (PyCFunction) _wrap_wxCursor_SetHeight, METH_VARARGS | METH_KEYWORDS },
12368 { "wxCursor_SetWidth", (PyCFunction) _wrap_wxCursor_SetWidth, METH_VARARGS | METH_KEYWORDS },
12369 { "wxCursor_GetDepth", (PyCFunction) _wrap_wxCursor_GetDepth, METH_VARARGS | METH_KEYWORDS },
12370 { "wxCursor_GetHeight", (PyCFunction) _wrap_wxCursor_GetHeight, METH_VARARGS | METH_KEYWORDS },
12371 { "wxCursor_GetWidth", (PyCFunction) _wrap_wxCursor_GetWidth, METH_VARARGS | METH_KEYWORDS },
12372 { "wxCursor_Ok", (PyCFunction) _wrap_wxCursor_Ok, METH_VARARGS | METH_KEYWORDS },
12373 { "wxCursor_SetHandle", (PyCFunction) _wrap_wxCursor_SetHandle, METH_VARARGS | METH_KEYWORDS },
12374 { "wxCursor_GetHandle", (PyCFunction) _wrap_wxCursor_GetHandle, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
12375 { "delete_wxCursor", (PyCFunction) _wrap_delete_wxCursor, METH_VARARGS | METH_KEYWORDS },
12376 { "new_wxCursor", (PyCFunction) _wrap_new_wxCursor, METH_VARARGS | METH_KEYWORDS },
0e9b78ce
RD
12377 { "wxIconBundle_GetIcon", (PyCFunction) _wrap_wxIconBundle_GetIcon, METH_VARARGS | METH_KEYWORDS },
12378 { "wxIconBundle_AddIconFromFile", (PyCFunction) _wrap_wxIconBundle_AddIconFromFile, METH_VARARGS | METH_KEYWORDS },
12379 { "wxIconBundle_AddIcon", (PyCFunction) _wrap_wxIconBundle_AddIcon, METH_VARARGS | METH_KEYWORDS },
12380 { "delete_wxIconBundle", (PyCFunction) _wrap_delete_wxIconBundle, METH_VARARGS | METH_KEYWORDS },
12381 { "new_wxIconBundleFromIcon", (PyCFunction) _wrap_new_wxIconBundleFromIcon, METH_VARARGS | METH_KEYWORDS },
12382 { "new_wxIconBundleFromFile", (PyCFunction) _wrap_new_wxIconBundleFromFile, METH_VARARGS | METH_KEYWORDS },
12383 { "new_wxIconBundle", (PyCFunction) _wrap_new_wxIconBundle, METH_VARARGS | METH_KEYWORDS },
5a2a9da2
RD
12384 { "wxIconLocation_GetIndex", (PyCFunction) _wrap_wxIconLocation_GetIndex, METH_VARARGS | METH_KEYWORDS },
12385 { "wxIconLocation_SetIndex", (PyCFunction) _wrap_wxIconLocation_SetIndex, METH_VARARGS | METH_KEYWORDS },
12386 { "wxIconLocation_GetFileName", (PyCFunction) _wrap_wxIconLocation_GetFileName, METH_VARARGS | METH_KEYWORDS },
12387 { "wxIconLocation_SetFileName", (PyCFunction) _wrap_wxIconLocation_SetFileName, METH_VARARGS | METH_KEYWORDS },
12388 { "wxIconLocation_IsOk", (PyCFunction) _wrap_wxIconLocation_IsOk, METH_VARARGS | METH_KEYWORDS },
12389 { "delete_wxIconLocation", (PyCFunction) _wrap_delete_wxIconLocation, METH_VARARGS | METH_KEYWORDS },
12390 { "new_wxIconLocation", (PyCFunction) _wrap_new_wxIconLocation, METH_VARARGS | METH_KEYWORDS },
96bfd053 12391 { "wxIcon_CopyFromBitmap", (PyCFunction) _wrap_wxIcon_CopyFromBitmap, METH_VARARGS | METH_KEYWORDS },
9b3d3bc4
RD
12392 { "wxIcon_SetSize", (PyCFunction) _wrap_wxIcon_SetSize, METH_VARARGS | METH_KEYWORDS },
12393 { "wxIcon_SetDepth", (PyCFunction) _wrap_wxIcon_SetDepth, METH_VARARGS | METH_KEYWORDS },
12394 { "wxIcon_SetHeight", (PyCFunction) _wrap_wxIcon_SetHeight, METH_VARARGS | METH_KEYWORDS },
12395 { "wxIcon_SetWidth", (PyCFunction) _wrap_wxIcon_SetWidth, METH_VARARGS | METH_KEYWORDS },
12396 { "wxIcon_GetDepth", (PyCFunction) _wrap_wxIcon_GetDepth, METH_VARARGS | METH_KEYWORDS },
12397 { "wxIcon_GetHeight", (PyCFunction) _wrap_wxIcon_GetHeight, METH_VARARGS | METH_KEYWORDS },
12398 { "wxIcon_GetWidth", (PyCFunction) _wrap_wxIcon_GetWidth, METH_VARARGS | METH_KEYWORDS },
12399 { "wxIcon_Ok", (PyCFunction) _wrap_wxIcon_Ok, METH_VARARGS | METH_KEYWORDS },
12400 { "wxIcon_SetHandle", (PyCFunction) _wrap_wxIcon_SetHandle, METH_VARARGS | METH_KEYWORDS },
12401 { "wxIcon_GetHandle", (PyCFunction) _wrap_wxIcon_GetHandle, METH_VARARGS | METH_KEYWORDS },
1afc06c2 12402 { "wxIcon_LoadFile", (PyCFunction) _wrap_wxIcon_LoadFile, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
12403 { "delete_wxIcon", (PyCFunction) _wrap_delete_wxIcon, METH_VARARGS | METH_KEYWORDS },
12404 { "new_wxIcon", (PyCFunction) _wrap_new_wxIcon, METH_VARARGS | METH_KEYWORDS },
96bfd053 12405 { "wxMask_Destroy", (PyCFunction) _wrap_wxMask_Destroy, METH_VARARGS | METH_KEYWORDS },
1afc06c2 12406 { "new_wxMask", (PyCFunction) _wrap_new_wxMask, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
12407 { "wxBitmap_SetQuality", (PyCFunction) _wrap_wxBitmap_SetQuality, METH_VARARGS | METH_KEYWORDS },
12408 { "wxBitmap_GetQuality", (PyCFunction) _wrap_wxBitmap_GetQuality, METH_VARARGS | METH_KEYWORDS },
12409 { "wxBitmap_CopyFromCursor", (PyCFunction) _wrap_wxBitmap_CopyFromCursor, METH_VARARGS | METH_KEYWORDS },
12410 { "wxBitmap_CopyFromIcon", (PyCFunction) _wrap_wxBitmap_CopyFromIcon, METH_VARARGS | METH_KEYWORDS },
12411 { "wxBitmap_GetSubBitmap", (PyCFunction) _wrap_wxBitmap_GetSubBitmap, METH_VARARGS | METH_KEYWORDS },
9b3d3bc4
RD
12412 { "wxBitmap_SetSize", (PyCFunction) _wrap_wxBitmap_SetSize, METH_VARARGS | METH_KEYWORDS },
12413 { "wxBitmap_SetDepth", (PyCFunction) _wrap_wxBitmap_SetDepth, METH_VARARGS | METH_KEYWORDS },
12414 { "wxBitmap_SetHeight", (PyCFunction) _wrap_wxBitmap_SetHeight, METH_VARARGS | METH_KEYWORDS },
12415 { "wxBitmap_SetWidth", (PyCFunction) _wrap_wxBitmap_SetWidth, METH_VARARGS | METH_KEYWORDS },
12416 { "wxBitmap_GetDepth", (PyCFunction) _wrap_wxBitmap_GetDepth, METH_VARARGS | METH_KEYWORDS },
12417 { "wxBitmap_GetHeight", (PyCFunction) _wrap_wxBitmap_GetHeight, METH_VARARGS | METH_KEYWORDS },
12418 { "wxBitmap_GetWidth", (PyCFunction) _wrap_wxBitmap_GetWidth, METH_VARARGS | METH_KEYWORDS },
12419 { "wxBitmap_Ok", (PyCFunction) _wrap_wxBitmap_Ok, METH_VARARGS | METH_KEYWORDS },
12420 { "wxBitmap_SetHandle", (PyCFunction) _wrap_wxBitmap_SetHandle, METH_VARARGS | METH_KEYWORDS },
12421 { "wxBitmap_GetHandle", (PyCFunction) _wrap_wxBitmap_GetHandle, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
12422 { "wxBitmap_SetPalette", (PyCFunction) _wrap_wxBitmap_SetPalette, METH_VARARGS | METH_KEYWORDS },
12423 { "wxBitmap_SetMask", (PyCFunction) _wrap_wxBitmap_SetMask, METH_VARARGS | METH_KEYWORDS },
1afc06c2 12424 { "wxBitmap_SaveFile", (PyCFunction) _wrap_wxBitmap_SaveFile, METH_VARARGS | METH_KEYWORDS },
1afc06c2 12425 { "wxBitmap_LoadFile", (PyCFunction) _wrap_wxBitmap_LoadFile, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
12426 { "wxBitmap_GetMask", (PyCFunction) _wrap_wxBitmap_GetMask, METH_VARARGS | METH_KEYWORDS },
12427 { "wxBitmap_GetPalette", (PyCFunction) _wrap_wxBitmap_GetPalette, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
12428 { "delete_wxBitmap", (PyCFunction) _wrap_delete_wxBitmap, METH_VARARGS | METH_KEYWORDS },
12429 { "new_wxBitmap", (PyCFunction) _wrap_new_wxBitmap, METH_VARARGS | METH_KEYWORDS },
9416aa89
RD
12430 { "wxGDIObject_IsNull", (PyCFunction) _wrap_wxGDIObject_IsNull, METH_VARARGS | METH_KEYWORDS },
12431 { "wxGDIObject_SetVisible", (PyCFunction) _wrap_wxGDIObject_SetVisible, METH_VARARGS | METH_KEYWORDS },
12432 { "wxGDIObject_GetVisible", (PyCFunction) _wrap_wxGDIObject_GetVisible, METH_VARARGS | METH_KEYWORDS },
12433 { "delete_wxGDIObject", (PyCFunction) _wrap_delete_wxGDIObject, METH_VARARGS | METH_KEYWORDS },
12434 { "new_wxGDIObject", (PyCFunction) _wrap_new_wxGDIObject, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
12435 { "wxMemoryDCFromDC", (PyCFunction) _wrap_wxMemoryDCFromDC, METH_VARARGS | METH_KEYWORDS },
12436 { "wxNamedColour", (PyCFunction) _wrap_wxNamedColour, METH_VARARGS | METH_KEYWORDS },
5a2a9da2 12437 { "wxCursorFromBits", (PyCFunction) _wrap_wxCursorFromBits, METH_VARARGS | METH_KEYWORDS },
7e50db3f 12438 { "wxCursorFromImage", (PyCFunction) _wrap_wxCursorFromImage, METH_VARARGS | METH_KEYWORDS },
1afc06c2 12439 { "wxStockCursor", (PyCFunction) _wrap_wxStockCursor, METH_VARARGS | METH_KEYWORDS },
5a2a9da2 12440 { "wxIconFromLocation", (PyCFunction) _wrap_wxIconFromLocation, METH_VARARGS | METH_KEYWORDS },
7248a051 12441 { "wxIconFromBitmap", (PyCFunction) _wrap_wxIconFromBitmap, METH_VARARGS | METH_KEYWORDS },
96bfd053
RD
12442 { "wxIconFromXPMData", (PyCFunction) _wrap_wxIconFromXPMData, METH_VARARGS | METH_KEYWORDS },
12443 { "wxEmptyIcon", (PyCFunction) _wrap_wxEmptyIcon, METH_VARARGS | METH_KEYWORDS },
1afc06c2 12444 { "wxMaskColour", (PyCFunction) _wrap_wxMaskColour, METH_VARARGS | METH_KEYWORDS },
d56cebe7 12445 { "wxBitmapFromBits", (PyCFunction) _wrap_wxBitmapFromBits, METH_VARARGS | METH_KEYWORDS },
96bfd053
RD
12446 { "wxBitmapFromIcon", (PyCFunction) _wrap_wxBitmapFromIcon, METH_VARARGS | METH_KEYWORDS },
12447 { "wxBitmapFromXPMData", (PyCFunction) _wrap_wxBitmapFromXPMData, METH_VARARGS | METH_KEYWORDS },
1afc06c2 12448 { "wxEmptyBitmap", (PyCFunction) _wrap_wxEmptyBitmap, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
12449 { NULL, NULL }
12450};
1d99702e
RD
12451#ifdef __cplusplus
12452}
12453#endif
12454/*
12455 * This table is used by the pointer type-checker
12456 */
12457static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 12458 { "_signed_long","_long",0},
b1462dfa 12459 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
12460 { "_wxPrintQuality","_int",0},
12461 { "_wxPrintQuality","_signed_int",0},
12462 { "_wxPrintQuality","_unsigned_int",0},
12463 { "_wxPrintQuality","_wxWindowID",0},
12464 { "_wxPrintQuality","_uint",0},
12465 { "_wxPrintQuality","_EBool",0},
12466 { "_wxPrintQuality","_size_t",0},
c368d904 12467 { "_wxPrintQuality","_time_t",0},
ecc08ead 12468 { "_wxPen","_wxPyPen",SwigwxPyPenTowxPen},
1d99702e 12469 { "_byte","_unsigned_char",0},
1d99702e
RD
12470 { "_long","_unsigned_long",0},
12471 { "_long","_signed_long",0},
9416aa89 12472 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject},
9416aa89 12473 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject},
9416aa89 12474 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject},
ecc08ead 12475 { "_wxGDIObject","_wxPyPen",SwigwxPyPenTowxGDIObject},
9416aa89 12476 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject},
9416aa89 12477 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject},
9416aa89 12478 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject},
9416aa89 12479 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject},
1d99702e 12480 { "_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC},
5a2a9da2 12481 { "_wxDC","_wxMirrorDC",SwigwxMirrorDCTowxDC},
1d99702e 12482 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC},
1d99702e 12483 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC},
1d99702e 12484 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC},
1d99702e 12485 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC},
e9159fe8
RD
12486 { "_wxDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxDC},
12487 { "_wxDC","_wxBufferedDC",SwigwxBufferedDCTowxDC},
1d99702e 12488 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC},
b1462dfa 12489 { "_size_t","_wxCoord",0},
1d99702e 12490 { "_size_t","_wxPrintQuality",0},
c368d904 12491 { "_size_t","_time_t",0},
1d99702e
RD
12492 { "_size_t","_unsigned_int",0},
12493 { "_size_t","_int",0},
12494 { "_size_t","_wxWindowID",0},
12495 { "_size_t","_uint",0},
b1462dfa 12496 { "_uint","_wxCoord",0},
1d99702e 12497 { "_uint","_wxPrintQuality",0},
c368d904 12498 { "_uint","_time_t",0},
1d99702e
RD
12499 { "_uint","_size_t",0},
12500 { "_uint","_unsigned_int",0},
12501 { "_uint","_int",0},
12502 { "_uint","_wxWindowID",0},
f6bcfd97 12503 { "_wxChar","_char",0},
f6bcfd97 12504 { "_char","_wxChar",0},
e9159fe8 12505 { "_wxBufferedDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxBufferedDC},
6d8b4f8d 12506 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 12507 { "_EBool","_wxCoord",0},
1d99702e
RD
12508 { "_EBool","_wxPrintQuality",0},
12509 { "_EBool","_signed_int",0},
12510 { "_EBool","_int",0},
12511 { "_EBool","_wxWindowID",0},
1d99702e 12512 { "_unsigned_long","_long",0},
6d8b4f8d 12513 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 12514 { "_signed_int","_wxCoord",0},
1d99702e
RD
12515 { "_signed_int","_wxPrintQuality",0},
12516 { "_signed_int","_EBool",0},
12517 { "_signed_int","_wxWindowID",0},
12518 { "_signed_int","_int",0},
1d99702e
RD
12519 { "_WXTYPE","_short",0},
12520 { "_WXTYPE","_signed_short",0},
12521 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
12522 { "_unsigned_short","_WXTYPE",0},
12523 { "_unsigned_short","_short",0},
9416aa89 12524 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject},
9416aa89 12525 { "_wxObject","_wxRegion",SwigwxRegionTowxObject},
9416aa89 12526 { "_wxObject","_wxImageList",SwigwxImageListTowxObject},
9416aa89 12527 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject},
9416aa89 12528 { "_wxObject","_wxMetaFileDC",SwigwxMetaFileDCTowxObject},
17c0e08c 12529 { "_wxObject","_wxMetaFile",SwigwxMetaFileTowxObject},
5a2a9da2 12530 { "_wxObject","_wxMirrorDC",SwigwxMirrorDCTowxObject},
9416aa89 12531 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject},
9416aa89 12532 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject},
9416aa89 12533 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject},
9416aa89 12534 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject},
e9159fe8
RD
12535 { "_wxObject","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxObject},
12536 { "_wxObject","_wxBufferedDC",SwigwxBufferedDCTowxObject},
9416aa89 12537 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject},
9416aa89 12538 { "_wxObject","_wxDC",SwigwxDCTowxObject},
6ee2116b 12539 { "_wxObject","_wxBrushList",SwigwxBrushListTowxObject},
9416aa89 12540 { "_wxObject","_wxBrush",SwigwxBrushTowxObject},
9416aa89 12541 { "_wxObject","_wxPenList",SwigwxPenListTowxObject},
ecc08ead 12542 { "_wxObject","_wxPyPen",SwigwxPyPenTowxObject},
9416aa89 12543 { "_wxObject","_wxPen",SwigwxPenTowxObject},
9416aa89 12544 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject},
9416aa89 12545 { "_wxObject","_wxColour",SwigwxColourTowxObject},
9416aa89 12546 { "_wxObject","_wxCursor",SwigwxCursorTowxObject},
9416aa89 12547 { "_wxObject","_wxIcon",SwigwxIconTowxObject},
9416aa89 12548 { "_wxObject","_wxMask",SwigwxMaskTowxObject},
9416aa89 12549 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject},
9416aa89 12550 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject},
1d99702e
RD
12551 { "_signed_short","_WXTYPE",0},
12552 { "_signed_short","_short",0},
e9159fe8
RD
12553 { "_wxMemoryDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxMemoryDC},
12554 { "_wxMemoryDC","_wxBufferedDC",SwigwxBufferedDCTowxMemoryDC},
1d99702e 12555 { "_unsigned_char","_byte",0},
b1462dfa 12556 { "_unsigned_int","_wxCoord",0},
1d99702e 12557 { "_unsigned_int","_wxPrintQuality",0},
c368d904 12558 { "_unsigned_int","_time_t",0},
1d99702e
RD
12559 { "_unsigned_int","_size_t",0},
12560 { "_unsigned_int","_uint",0},
12561 { "_unsigned_int","_wxWindowID",0},
12562 { "_unsigned_int","_int",0},
1d99702e
RD
12563 { "_short","_WXTYPE",0},
12564 { "_short","_unsigned_short",0},
12565 { "_short","_signed_short",0},
b1462dfa 12566 { "_wxWindowID","_wxCoord",0},
1d99702e 12567 { "_wxWindowID","_wxPrintQuality",0},
c368d904 12568 { "_wxWindowID","_time_t",0},
1d99702e
RD
12569 { "_wxWindowID","_size_t",0},
12570 { "_wxWindowID","_EBool",0},
12571 { "_wxWindowID","_uint",0},
12572 { "_wxWindowID","_int",0},
12573 { "_wxWindowID","_signed_int",0},
12574 { "_wxWindowID","_unsigned_int",0},
b1462dfa 12575 { "_int","_wxCoord",0},
1d99702e 12576 { "_int","_wxPrintQuality",0},
c368d904 12577 { "_int","_time_t",0},
1d99702e
RD
12578 { "_int","_size_t",0},
12579 { "_int","_EBool",0},
12580 { "_int","_uint",0},
12581 { "_int","_wxWindowID",0},
12582 { "_int","_unsigned_int",0},
12583 { "_int","_signed_int",0},
c368d904
RD
12584 { "_time_t","_wxCoord",0},
12585 { "_time_t","_wxPrintQuality",0},
12586 { "_time_t","_unsigned_int",0},
12587 { "_time_t","_int",0},
12588 { "_time_t","_wxWindowID",0},
12589 { "_time_t","_uint",0},
12590 { "_time_t","_size_t",0},
b1462dfa
RD
12591 { "_wxCoord","_int",0},
12592 { "_wxCoord","_signed_int",0},
12593 { "_wxCoord","_unsigned_int",0},
12594 { "_wxCoord","_wxWindowID",0},
12595 { "_wxCoord","_uint",0},
12596 { "_wxCoord","_EBool",0},
12597 { "_wxCoord","_size_t",0},
c368d904 12598 { "_wxCoord","_time_t",0},
b1462dfa 12599 { "_wxCoord","_wxPrintQuality",0},
1d99702e
RD
12600{0,0,0}};
12601
8ab979d7
RD
12602static PyObject *SWIG_globals;
12603#ifdef __cplusplus
12604extern "C"
12605#endif
1d99702e 12606SWIGEXPORT(void) initgdic() {
8ab979d7
RD
12607 PyObject *m, *d;
12608 SWIG_globals = SWIG_newvarlink();
12609 m = Py_InitModule("gdic", gdicMethods);
12610 d = PyModule_GetDict(m);
c5943253
RD
12611 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL));
12612 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT));
12613 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED));
12614 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED));
12615 PyDict_SetItemString(d,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL));
12616 PyDict_SetItemString(d,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL));
12617 PyDict_SetItemString(d,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE));
12618 PyDict_SetItemString(d,"wxOutRegion", PyInt_FromLong((long) wxOutRegion));
12619 PyDict_SetItemString(d,"wxPartRegion", PyInt_FromLong((long) wxPartRegion));
12620 PyDict_SetItemString(d,"wxInRegion", PyInt_FromLong((long) wxInRegion));
8ab979d7
RD
12621 PyDict_SetItemString(d,"cvar", SWIG_globals);
12622 SWIG_addvarlink(SWIG_globals,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get, _wrap_wxNORMAL_FONT_set);
12623 SWIG_addvarlink(SWIG_globals,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get, _wrap_wxSMALL_FONT_set);
12624 SWIG_addvarlink(SWIG_globals,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get, _wrap_wxITALIC_FONT_set);
12625 SWIG_addvarlink(SWIG_globals,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get, _wrap_wxSWISS_FONT_set);
12626 SWIG_addvarlink(SWIG_globals,"wxRED_PEN",_wrap_wxRED_PEN_get, _wrap_wxRED_PEN_set);
12627 SWIG_addvarlink(SWIG_globals,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get, _wrap_wxCYAN_PEN_set);
12628 SWIG_addvarlink(SWIG_globals,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get, _wrap_wxGREEN_PEN_set);
12629 SWIG_addvarlink(SWIG_globals,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get, _wrap_wxBLACK_PEN_set);
12630 SWIG_addvarlink(SWIG_globals,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get, _wrap_wxWHITE_PEN_set);
12631 SWIG_addvarlink(SWIG_globals,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get, _wrap_wxTRANSPARENT_PEN_set);
12632 SWIG_addvarlink(SWIG_globals,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get, _wrap_wxBLACK_DASHED_PEN_set);
12633 SWIG_addvarlink(SWIG_globals,"wxGREY_PEN",_wrap_wxGREY_PEN_get, _wrap_wxGREY_PEN_set);
12634 SWIG_addvarlink(SWIG_globals,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get, _wrap_wxMEDIUM_GREY_PEN_set);
12635 SWIG_addvarlink(SWIG_globals,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get, _wrap_wxLIGHT_GREY_PEN_set);
12636 SWIG_addvarlink(SWIG_globals,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get, _wrap_wxBLUE_BRUSH_set);
12637 SWIG_addvarlink(SWIG_globals,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get, _wrap_wxGREEN_BRUSH_set);
12638 SWIG_addvarlink(SWIG_globals,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get, _wrap_wxWHITE_BRUSH_set);
12639 SWIG_addvarlink(SWIG_globals,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get, _wrap_wxBLACK_BRUSH_set);
12640 SWIG_addvarlink(SWIG_globals,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get, _wrap_wxTRANSPARENT_BRUSH_set);
12641 SWIG_addvarlink(SWIG_globals,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get, _wrap_wxCYAN_BRUSH_set);
12642 SWIG_addvarlink(SWIG_globals,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get, _wrap_wxRED_BRUSH_set);
12643 SWIG_addvarlink(SWIG_globals,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get, _wrap_wxGREY_BRUSH_set);
12644 SWIG_addvarlink(SWIG_globals,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get, _wrap_wxMEDIUM_GREY_BRUSH_set);
12645 SWIG_addvarlink(SWIG_globals,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get, _wrap_wxLIGHT_GREY_BRUSH_set);
12646 SWIG_addvarlink(SWIG_globals,"wxBLACK",_wrap_wxBLACK_get, _wrap_wxBLACK_set);
12647 SWIG_addvarlink(SWIG_globals,"wxWHITE",_wrap_wxWHITE_get, _wrap_wxWHITE_set);
12648 SWIG_addvarlink(SWIG_globals,"wxRED",_wrap_wxRED_get, _wrap_wxRED_set);
12649 SWIG_addvarlink(SWIG_globals,"wxBLUE",_wrap_wxBLUE_get, _wrap_wxBLUE_set);
12650 SWIG_addvarlink(SWIG_globals,"wxGREEN",_wrap_wxGREEN_get, _wrap_wxGREEN_set);
12651 SWIG_addvarlink(SWIG_globals,"wxCYAN",_wrap_wxCYAN_get, _wrap_wxCYAN_set);
12652 SWIG_addvarlink(SWIG_globals,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get, _wrap_wxLIGHT_GREY_set);
12653 SWIG_addvarlink(SWIG_globals,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get, _wrap_wxSTANDARD_CURSOR_set);
12654 SWIG_addvarlink(SWIG_globals,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get, _wrap_wxHOURGLASS_CURSOR_set);
12655 SWIG_addvarlink(SWIG_globals,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get, _wrap_wxCROSS_CURSOR_set);
12656 SWIG_addvarlink(SWIG_globals,"wxNullBitmap",_wrap_wxNullBitmap_get, _wrap_wxNullBitmap_set);
12657 SWIG_addvarlink(SWIG_globals,"wxNullIcon",_wrap_wxNullIcon_get, _wrap_wxNullIcon_set);
12658 SWIG_addvarlink(SWIG_globals,"wxNullCursor",_wrap_wxNullCursor_get, _wrap_wxNullCursor_set);
12659 SWIG_addvarlink(SWIG_globals,"wxNullPen",_wrap_wxNullPen_get, _wrap_wxNullPen_set);
12660 SWIG_addvarlink(SWIG_globals,"wxNullBrush",_wrap_wxNullBrush_get, _wrap_wxNullBrush_set);
12661 SWIG_addvarlink(SWIG_globals,"wxNullPalette",_wrap_wxNullPalette_get, _wrap_wxNullPalette_set);
12662 SWIG_addvarlink(SWIG_globals,"wxNullFont",_wrap_wxNullFont_get, _wrap_wxNullFont_set);
12663 SWIG_addvarlink(SWIG_globals,"wxNullColour",_wrap_wxNullColour_get, _wrap_wxNullColour_set);
0569df0f
RD
12664 SWIG_addvarlink(SWIG_globals,"wxTheFontList",_wrap_wxTheFontList_get, _wrap_wxTheFontList_set);
12665 SWIG_addvarlink(SWIG_globals,"wxThePenList",_wrap_wxThePenList_get, _wrap_wxThePenList_set);
12666 SWIG_addvarlink(SWIG_globals,"wxTheBrushList",_wrap_wxTheBrushList_get, _wrap_wxTheBrushList_set);
12667 SWIG_addvarlink(SWIG_globals,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get, _wrap_wxTheColourDatabase_set);
1d99702e
RD
12668{
12669 int i;
12670 for (i = 0; _swig_mapping[i].n1; i++)
12671 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
12672}
8ab979d7 12673}