]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/msw/gdi.cpp
Added some test code...
[wxWidgets.git] / utils / wxPython / src / msw / gdi.cpp
CommitLineData
8ab979d7 1/*
9c039d08 2 * FILE : msw/gdi.cpp
8ab979d7
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
1afc06c2 6 * Version 1.1 (Build 810)
8ab979d7
RD
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
22#include <string.h>
23#include <stdlib.h>
24/* Definitions for Windows/Unix exporting */
25#if defined(__WIN32__)
26# if defined(_MSC_VER)
1d99702e 27# define SWIGEXPORT(a) __declspec(dllexport) a
8ab979d7
RD
28# else
29# if defined(__BORLANDC__)
1d99702e 30# define SWIGEXPORT(a) a _export
8ab979d7 31# else
1d99702e 32# define SWIGEXPORT(a) a
8ab979d7
RD
33# endif
34# endif
35#else
1d99702e 36# define SWIGEXPORT(a) a
8ab979d7
RD
37#endif
38
39#ifdef __cplusplus
40extern "C" {
41#endif
42#include "Python.h"
43extern void SWIG_MakePtr(char *, void *, char *);
44extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45extern char *SWIG_GetPtr(char *, void **, char *);
1d99702e 46extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
8ab979d7
RD
47extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48extern PyObject *SWIG_newvarlink(void);
49#ifdef __cplusplus
50}
51#endif
8ab979d7
RD
52#define SWIG_init initgdic
53
54#define SWIG_name "gdic"
55
56#include "helpers.h"
57#include <wx/metafile.h>
af309447 58#include <wx/imaglist.h>
be4d9c1f 59#ifndef __WXMSW__
08127323 60#include <wx/dcps.h>
be4d9c1f 61#endif
8ab979d7
RD
62
63static PyObject* l_output_helper(PyObject* target, PyObject* o) {
64 PyObject* o2;
1d99702e
RD
65 PyObject* o3;
66 if (!target) {
8ab979d7 67 target = o;
1d99702e 68 } else if (target == Py_None) {
8ab979d7
RD
69 Py_DECREF(Py_None);
70 target = o;
1d99702e 71 } else {
8ab979d7
RD
72 if (!PyList_Check(target)) {
73 o2 = target;
74 target = PyList_New(0);
75 PyList_Append(target, o2);
76 Py_XDECREF(o2);
77 }
78 PyList_Append(target,o);
79 Py_XDECREF(o);
80 }
81 return target;
82}
83
84static PyObject* t_output_helper(PyObject* target, PyObject* o) {
85 PyObject* o2;
86 PyObject* o3;
87
1d99702e 88 if (!target) {
8ab979d7 89 target = o;
1d99702e 90 } else if (target == Py_None) {
8ab979d7
RD
91 Py_DECREF(Py_None);
92 target = o;
1d99702e 93 } else {
8ab979d7
RD
94 if (!PyTuple_Check(target)) {
95 o2 = target;
96 target = PyTuple_New(1);
97 PyTuple_SetItem(target, 0, o2);
98 }
1d99702e
RD
99 o3 = PyTuple_New(1);
100 PyTuple_SetItem(o3, 0, o);
8ab979d7
RD
101
102 o2 = target;
1d99702e
RD
103 target = PySequence_Concat(o2, o3);
104 Py_DECREF(o2);
8ab979d7
RD
105 Py_DECREF(o3);
106 }
107 return target;
108}
109
8ab979d7
RD
110static char* wxStringErrorMsg = "string type is required for parameter";
111 // Alternate 'constructor'
112 wxBitmap* wxEmptyBitmap(int width, int height, int depth=-1) {
113 return new wxBitmap(width, height, depth);
114 }
115
cf694132
RD
116 // This one won't own the reference, so Python
117 // won't call the dtor, this is good for
118 // toolbars and such where the parent will
119 // manage the bitmap.
8ab979d7
RD
120 wxBitmap* wxNoRefBitmap(char* name, long flags) {
121 return new wxBitmap(name, flags);
122 }
123
8bf5d46e
RD
124#ifdef __WXMSW__
125 wxBitmap* wxBitmapFromData(char* data, long type,
126 int width, int height, int depth = 1) {
127 return new wxBitmap((void*)data, type, width, height, depth);
128 }
129#endif
130
8ab979d7
RD
131 wxMask* wxMaskColour(const wxBitmap& bitmap, const wxColour& colour) {
132 return new wxMask(bitmap, colour);
133 }
134 // Alternate 'constructor'
9c039d08 135 wxCursor* wxPyStockCursor(int id) {
8ab979d7
RD
136 return new wxCursor(id);
137 }
f0261a72
RD
138
139 wxFontEncoding wxFont_GetDefaultEncoding() {
140 return wxFont::GetDefaultEncoding();
141 }
142
143 void wxFont_SetDefaultEncoding(wxFontEncoding encoding) {
144 wxFont::SetDefaultEncoding(encoding);
145 }
8ab979d7
RD
146 // Alternate 'constructor'
147 wxColour* wxNamedColour(const wxString& colorName) {
148 return new wxColour(colorName);
149 }
150 // Alternate 'constructor'
151 wxMemoryDC* wxMemoryDCFromDC(wxDC* oldDC) {
152 return new wxMemoryDC(oldDC);
153 }
af309447
RD
154
155#if 0
8ab979d7
RD
156extern wxFont * wxNORMAL_FONT;
157extern wxFont * wxSMALL_FONT;
158extern wxFont * wxITALIC_FONT;
159extern wxFont * wxSWISS_FONT;
160extern wxPen * wxRED_PEN;
161extern wxPen * wxCYAN_PEN;
162extern wxPen * wxGREEN_PEN;
163extern wxPen * wxBLACK_PEN;
164extern wxPen * wxWHITE_PEN;
165extern wxPen * wxTRANSPARENT_PEN;
166extern wxPen * wxBLACK_DASHED_PEN;
167extern wxPen * wxGREY_PEN;
168extern wxPen * wxMEDIUM_GREY_PEN;
169extern wxPen * wxLIGHT_GREY_PEN;
170extern wxBrush * wxBLUE_BRUSH;
171extern wxBrush * wxGREEN_BRUSH;
172extern wxBrush * wxWHITE_BRUSH;
173extern wxBrush * wxBLACK_BRUSH;
174extern wxBrush * wxTRANSPARENT_BRUSH;
175extern wxBrush * wxCYAN_BRUSH;
176extern wxBrush * wxRED_BRUSH;
177extern wxBrush * wxGREY_BRUSH;
178extern wxBrush * wxMEDIUM_GREY_BRUSH;
179extern wxBrush * wxLIGHT_GREY_BRUSH;
180extern wxColour * wxBLACK;
181extern wxColour * wxWHITE;
182extern wxColour * wxRED;
183extern wxColour * wxBLUE;
184extern wxColour * wxGREEN;
185extern wxColour * wxCYAN;
186extern wxColour * wxLIGHT_GREY;
187extern wxCursor * wxSTANDARD_CURSOR;
188extern wxCursor * wxHOURGLASS_CURSOR;
189extern wxCursor * wxCROSS_CURSOR;
190extern wxBitmap wxNullBitmap;
191extern wxIcon wxNullIcon;
192extern wxCursor wxNullCursor;
193extern wxPen wxNullPen;
194extern wxBrush wxNullBrush;
195extern wxPalette wxNullPalette;
196extern wxFont wxNullFont;
197extern wxColour wxNullColour;
af309447 198
1d99702e
RD
199#endif
200#ifdef __cplusplus
201extern "C" {
af309447 202#endif
1afc06c2 203static PyObject *_wrap_wxEmptyBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
204 PyObject * _resultobj;
205 wxBitmap * _result;
206 int _arg0;
207 int _arg1;
1d99702e 208 int _arg2 = (int ) -1;
1afc06c2 209 char *_kwnames[] = { "width","height","depth", NULL };
8ab979d7
RD
210 char _ptemp[128];
211
212 self = self;
1afc06c2 213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii|i:wxEmptyBitmap",_kwnames,&_arg0,&_arg1,&_arg2))
8ab979d7 214 return NULL;
cf694132
RD
215{
216 wxPy_BEGIN_ALLOW_THREADS;
217 _result = (wxBitmap *)wxEmptyBitmap(_arg0,_arg1,_arg2);
218
219 wxPy_END_ALLOW_THREADS;
1d99702e
RD
220} if (_result) {
221 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
222 _resultobj = Py_BuildValue("s",_ptemp);
223 } else {
224 Py_INCREF(Py_None);
225 _resultobj = Py_None;
226 }
8ab979d7
RD
227 return _resultobj;
228}
229
1afc06c2 230static PyObject *_wrap_wxNoRefBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
231 PyObject * _resultobj;
232 wxBitmap * _result;
233 char * _arg0;
234 long _arg1;
1afc06c2 235 char *_kwnames[] = { "name","flags", NULL };
8ab979d7
RD
236 char _ptemp[128];
237
238 self = self;
1afc06c2 239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"sl:wxNoRefBitmap",_kwnames,&_arg0,&_arg1))
8ab979d7 240 return NULL;
cf694132
RD
241{
242 wxPy_BEGIN_ALLOW_THREADS;
243 _result = (wxBitmap *)wxNoRefBitmap(_arg0,_arg1);
244
245 wxPy_END_ALLOW_THREADS;
1d99702e
RD
246} if (_result) {
247 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
248 _resultobj = Py_BuildValue("s",_ptemp);
249 } else {
250 Py_INCREF(Py_None);
251 _resultobj = Py_None;
252 }
8ab979d7
RD
253 return _resultobj;
254}
255
1afc06c2 256static PyObject *_wrap_wxBitmapFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
257 PyObject * _resultobj;
258 wxBitmap * _result;
259 char * _arg0;
260 long _arg1;
261 int _arg2;
262 int _arg3;
1d99702e 263 int _arg4 = (int ) 1;
1afc06c2 264 char *_kwnames[] = { "data","type","width","height","depth", NULL };
8bf5d46e
RD
265 char _ptemp[128];
266
267 self = self;
1afc06c2 268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"slii|i:wxBitmapFromData",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4))
8bf5d46e
RD
269 return NULL;
270{
271 wxPy_BEGIN_ALLOW_THREADS;
272 _result = (wxBitmap *)wxBitmapFromData(_arg0,_arg1,_arg2,_arg3,_arg4);
273
274 wxPy_END_ALLOW_THREADS;
1d99702e
RD
275} if (_result) {
276 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
277 _resultobj = Py_BuildValue("s",_ptemp);
278 } else {
279 Py_INCREF(Py_None);
280 _resultobj = Py_None;
281 }
8bf5d46e
RD
282 return _resultobj;
283}
284
1afc06c2 285static PyObject *_wrap_wxMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
286 PyObject * _resultobj;
287 wxMask * _result;
288 wxBitmap * _arg0;
289 wxColour * _arg1;
1d99702e
RD
290 PyObject * _argo0 = 0;
291 PyObject * _argo1 = 0;
1afc06c2 292 char *_kwnames[] = { "bitmap","colour", NULL };
8ab979d7
RD
293 char _ptemp[128];
294
295 self = self;
1afc06c2 296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMaskColour",_kwnames,&_argo0,&_argo1))
8ab979d7 297 return NULL;
1d99702e
RD
298 if (_argo0) {
299 if (_argo0 == Py_None) { _arg0 = NULL; }
300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
8ab979d7
RD
301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
302 return NULL;
303 }
304 }
1d99702e
RD
305 if (_argo1) {
306 if (_argo1 == Py_None) { _arg1 = NULL; }
307 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
8ab979d7
RD
308 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMaskColour. Expected _wxColour_p.");
309 return NULL;
310 }
311 }
cf694132
RD
312{
313 wxPy_BEGIN_ALLOW_THREADS;
314 _result = (wxMask *)wxMaskColour(*_arg0,*_arg1);
315
316 wxPy_END_ALLOW_THREADS;
1d99702e
RD
317} if (_result) {
318 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
319 _resultobj = Py_BuildValue("s",_ptemp);
320 } else {
321 Py_INCREF(Py_None);
322 _resultobj = Py_None;
323 }
8ab979d7
RD
324 return _resultobj;
325}
326
1afc06c2 327static PyObject *_wrap_wxStockCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
328 PyObject * _resultobj;
329 wxCursor * _result;
330 int _arg0;
1afc06c2 331 char *_kwnames[] = { "id", NULL };
8ab979d7
RD
332 char _ptemp[128];
333
334 self = self;
1afc06c2 335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxStockCursor",_kwnames,&_arg0))
8ab979d7 336 return NULL;
cf694132
RD
337{
338 wxPy_BEGIN_ALLOW_THREADS;
339 _result = (wxCursor *)wxPyStockCursor(_arg0);
340
341 wxPy_END_ALLOW_THREADS;
1d99702e
RD
342} if (_result) {
343 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCursor_p");
344 _resultobj = Py_BuildValue("s",_ptemp);
345 } else {
346 Py_INCREF(Py_None);
347 _resultobj = Py_None;
348 }
8ab979d7
RD
349 return _resultobj;
350}
351
f0261a72
RD
352static PyObject *_wrap_wxFont_GetDefaultEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
353 PyObject * _resultobj;
354 wxFontEncoding _result;
355 char *_kwnames[] = { NULL };
356
357 self = self;
358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxFont_GetDefaultEncoding",_kwnames))
359 return NULL;
360{
361 wxPy_BEGIN_ALLOW_THREADS;
362 _result = (wxFontEncoding )wxFont_GetDefaultEncoding();
363
364 wxPy_END_ALLOW_THREADS;
365} _resultobj = Py_BuildValue("i",_result);
366 return _resultobj;
367}
368
369static PyObject *_wrap_wxFont_SetDefaultEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
370 PyObject * _resultobj;
371 wxFontEncoding _arg0;
372 char *_kwnames[] = { "encoding", NULL };
373
374 self = self;
375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxFont_SetDefaultEncoding",_kwnames,&_arg0))
376 return NULL;
377{
378 wxPy_BEGIN_ALLOW_THREADS;
379 wxFont_SetDefaultEncoding(_arg0);
380
381 wxPy_END_ALLOW_THREADS;
382} Py_INCREF(Py_None);
383 _resultobj = Py_None;
384 return _resultobj;
385}
386
1afc06c2 387static PyObject *_wrap_wxNamedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
388 PyObject * _resultobj;
389 wxColour * _result;
390 wxString * _arg0;
391 PyObject * _obj0 = 0;
1afc06c2 392 char *_kwnames[] = { "colorName", NULL };
8ab979d7
RD
393 char _ptemp[128];
394
395 self = self;
1afc06c2 396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNamedColour",_kwnames,&_obj0))
8ab979d7
RD
397 return NULL;
398{
399 if (!PyString_Check(_obj0)) {
400 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
401 return NULL;
402 }
cf694132 403 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
8ab979d7 404}
cf694132
RD
405{
406 wxPy_BEGIN_ALLOW_THREADS;
407 _result = (wxColour *)wxNamedColour(*_arg0);
408
409 wxPy_END_ALLOW_THREADS;
1d99702e
RD
410} if (_result) {
411 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
412 _resultobj = Py_BuildValue("s",_ptemp);
413 } else {
414 Py_INCREF(Py_None);
415 _resultobj = Py_None;
416 }
8ab979d7
RD
417{
418 if (_obj0)
419 delete _arg0;
420}
421 return _resultobj;
422}
423
1afc06c2 424static PyObject *_wrap_wxMemoryDCFromDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
425 PyObject * _resultobj;
426 wxMemoryDC * _result;
427 wxDC * _arg0;
1d99702e 428 PyObject * _argo0 = 0;
1afc06c2 429 char *_kwnames[] = { "oldDC", NULL };
8ab979d7
RD
430 char _ptemp[128];
431
432 self = self;
1afc06c2 433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMemoryDCFromDC",_kwnames,&_argo0))
8ab979d7 434 return NULL;
1d99702e
RD
435 if (_argo0) {
436 if (_argo0 == Py_None) { _arg0 = NULL; }
437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
439 return NULL;
440 }
441 }
cf694132
RD
442{
443 wxPy_BEGIN_ALLOW_THREADS;
444 _result = (wxMemoryDC *)wxMemoryDCFromDC(_arg0);
445
446 wxPy_END_ALLOW_THREADS;
1d99702e
RD
447} if (_result) {
448 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMemoryDC_p");
449 _resultobj = Py_BuildValue("s",_ptemp);
450 } else {
451 Py_INCREF(Py_None);
452 _resultobj = Py_None;
453 }
8ab979d7
RD
454 return _resultobj;
455}
456
457static int _wrap_wxNORMAL_FONT_set(PyObject *val) {
458
459 PyErr_SetString(PyExc_TypeError,"Variable wxNORMAL_FONT is read-only.");
460 return 1;
461}
462
463static PyObject *_wrap_wxNORMAL_FONT_get() {
464 PyObject * pyobj;
465 char ptemp[128];
466
467 SWIG_MakePtr(ptemp, (char *) wxNORMAL_FONT,"_wxFont_p");
468 pyobj = PyString_FromString(ptemp);
469 return pyobj;
470}
471
472static int _wrap_wxSMALL_FONT_set(PyObject *val) {
473
474 PyErr_SetString(PyExc_TypeError,"Variable wxSMALL_FONT is read-only.");
475 return 1;
476}
477
478static PyObject *_wrap_wxSMALL_FONT_get() {
479 PyObject * pyobj;
480 char ptemp[128];
481
482 SWIG_MakePtr(ptemp, (char *) wxSMALL_FONT,"_wxFont_p");
483 pyobj = PyString_FromString(ptemp);
484 return pyobj;
485}
486
487static int _wrap_wxITALIC_FONT_set(PyObject *val) {
488
489 PyErr_SetString(PyExc_TypeError,"Variable wxITALIC_FONT is read-only.");
490 return 1;
491}
492
493static PyObject *_wrap_wxITALIC_FONT_get() {
494 PyObject * pyobj;
495 char ptemp[128];
496
497 SWIG_MakePtr(ptemp, (char *) wxITALIC_FONT,"_wxFont_p");
498 pyobj = PyString_FromString(ptemp);
499 return pyobj;
500}
501
502static int _wrap_wxSWISS_FONT_set(PyObject *val) {
503
504 PyErr_SetString(PyExc_TypeError,"Variable wxSWISS_FONT is read-only.");
505 return 1;
506}
507
508static PyObject *_wrap_wxSWISS_FONT_get() {
509 PyObject * pyobj;
510 char ptemp[128];
511
512 SWIG_MakePtr(ptemp, (char *) wxSWISS_FONT,"_wxFont_p");
513 pyobj = PyString_FromString(ptemp);
514 return pyobj;
515}
516
517static int _wrap_wxRED_PEN_set(PyObject *val) {
518
519 PyErr_SetString(PyExc_TypeError,"Variable wxRED_PEN is read-only.");
520 return 1;
521}
522
523static PyObject *_wrap_wxRED_PEN_get() {
524 PyObject * pyobj;
525 char ptemp[128];
526
527 SWIG_MakePtr(ptemp, (char *) wxRED_PEN,"_wxPen_p");
528 pyobj = PyString_FromString(ptemp);
529 return pyobj;
530}
531
532static int _wrap_wxCYAN_PEN_set(PyObject *val) {
533
534 PyErr_SetString(PyExc_TypeError,"Variable wxCYAN_PEN is read-only.");
535 return 1;
536}
537
538static PyObject *_wrap_wxCYAN_PEN_get() {
539 PyObject * pyobj;
540 char ptemp[128];
541
542 SWIG_MakePtr(ptemp, (char *) wxCYAN_PEN,"_wxPen_p");
543 pyobj = PyString_FromString(ptemp);
544 return pyobj;
545}
546
547static int _wrap_wxGREEN_PEN_set(PyObject *val) {
548
549 PyErr_SetString(PyExc_TypeError,"Variable wxGREEN_PEN is read-only.");
550 return 1;
551}
552
553static PyObject *_wrap_wxGREEN_PEN_get() {
554 PyObject * pyobj;
555 char ptemp[128];
556
557 SWIG_MakePtr(ptemp, (char *) wxGREEN_PEN,"_wxPen_p");
558 pyobj = PyString_FromString(ptemp);
559 return pyobj;
560}
561
562static int _wrap_wxBLACK_PEN_set(PyObject *val) {
563
564 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK_PEN is read-only.");
565 return 1;
566}
567
568static PyObject *_wrap_wxBLACK_PEN_get() {
569 PyObject * pyobj;
570 char ptemp[128];
571
572 SWIG_MakePtr(ptemp, (char *) wxBLACK_PEN,"_wxPen_p");
573 pyobj = PyString_FromString(ptemp);
574 return pyobj;
575}
576
577static int _wrap_wxWHITE_PEN_set(PyObject *val) {
578
579 PyErr_SetString(PyExc_TypeError,"Variable wxWHITE_PEN is read-only.");
580 return 1;
581}
582
583static PyObject *_wrap_wxWHITE_PEN_get() {
584 PyObject * pyobj;
585 char ptemp[128];
586
587 SWIG_MakePtr(ptemp, (char *) wxWHITE_PEN,"_wxPen_p");
588 pyobj = PyString_FromString(ptemp);
589 return pyobj;
590}
591
592static int _wrap_wxTRANSPARENT_PEN_set(PyObject *val) {
593
594 PyErr_SetString(PyExc_TypeError,"Variable wxTRANSPARENT_PEN is read-only.");
595 return 1;
596}
597
598static PyObject *_wrap_wxTRANSPARENT_PEN_get() {
599 PyObject * pyobj;
600 char ptemp[128];
601
602 SWIG_MakePtr(ptemp, (char *) wxTRANSPARENT_PEN,"_wxPen_p");
603 pyobj = PyString_FromString(ptemp);
604 return pyobj;
605}
606
607static int _wrap_wxBLACK_DASHED_PEN_set(PyObject *val) {
608
609 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK_DASHED_PEN is read-only.");
610 return 1;
611}
612
613static PyObject *_wrap_wxBLACK_DASHED_PEN_get() {
614 PyObject * pyobj;
615 char ptemp[128];
616
617 SWIG_MakePtr(ptemp, (char *) wxBLACK_DASHED_PEN,"_wxPen_p");
618 pyobj = PyString_FromString(ptemp);
619 return pyobj;
620}
621
622static int _wrap_wxGREY_PEN_set(PyObject *val) {
623
624 PyErr_SetString(PyExc_TypeError,"Variable wxGREY_PEN is read-only.");
625 return 1;
626}
627
628static PyObject *_wrap_wxGREY_PEN_get() {
629 PyObject * pyobj;
630 char ptemp[128];
631
632 SWIG_MakePtr(ptemp, (char *) wxGREY_PEN,"_wxPen_p");
633 pyobj = PyString_FromString(ptemp);
634 return pyobj;
635}
636
637static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject *val) {
638
639 PyErr_SetString(PyExc_TypeError,"Variable wxMEDIUM_GREY_PEN is read-only.");
640 return 1;
641}
642
643static PyObject *_wrap_wxMEDIUM_GREY_PEN_get() {
644 PyObject * pyobj;
645 char ptemp[128];
646
647 SWIG_MakePtr(ptemp, (char *) wxMEDIUM_GREY_PEN,"_wxPen_p");
648 pyobj = PyString_FromString(ptemp);
649 return pyobj;
650}
651
652static int _wrap_wxLIGHT_GREY_PEN_set(PyObject *val) {
653
654 PyErr_SetString(PyExc_TypeError,"Variable wxLIGHT_GREY_PEN is read-only.");
655 return 1;
656}
657
658static PyObject *_wrap_wxLIGHT_GREY_PEN_get() {
659 PyObject * pyobj;
660 char ptemp[128];
661
662 SWIG_MakePtr(ptemp, (char *) wxLIGHT_GREY_PEN,"_wxPen_p");
663 pyobj = PyString_FromString(ptemp);
664 return pyobj;
665}
666
667static int _wrap_wxBLUE_BRUSH_set(PyObject *val) {
668
669 PyErr_SetString(PyExc_TypeError,"Variable wxBLUE_BRUSH is read-only.");
670 return 1;
671}
672
673static PyObject *_wrap_wxBLUE_BRUSH_get() {
674 PyObject * pyobj;
675 char ptemp[128];
676
677 SWIG_MakePtr(ptemp, (char *) wxBLUE_BRUSH,"_wxBrush_p");
678 pyobj = PyString_FromString(ptemp);
679 return pyobj;
680}
681
682static int _wrap_wxGREEN_BRUSH_set(PyObject *val) {
683
684 PyErr_SetString(PyExc_TypeError,"Variable wxGREEN_BRUSH is read-only.");
685 return 1;
686}
687
688static PyObject *_wrap_wxGREEN_BRUSH_get() {
689 PyObject * pyobj;
690 char ptemp[128];
691
692 SWIG_MakePtr(ptemp, (char *) wxGREEN_BRUSH,"_wxBrush_p");
693 pyobj = PyString_FromString(ptemp);
694 return pyobj;
695}
696
697static int _wrap_wxWHITE_BRUSH_set(PyObject *val) {
698
699 PyErr_SetString(PyExc_TypeError,"Variable wxWHITE_BRUSH is read-only.");
700 return 1;
701}
702
703static PyObject *_wrap_wxWHITE_BRUSH_get() {
704 PyObject * pyobj;
705 char ptemp[128];
706
707 SWIG_MakePtr(ptemp, (char *) wxWHITE_BRUSH,"_wxBrush_p");
708 pyobj = PyString_FromString(ptemp);
709 return pyobj;
710}
711
712static int _wrap_wxBLACK_BRUSH_set(PyObject *val) {
713
714 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK_BRUSH is read-only.");
715 return 1;
716}
717
718static PyObject *_wrap_wxBLACK_BRUSH_get() {
719 PyObject * pyobj;
720 char ptemp[128];
721
722 SWIG_MakePtr(ptemp, (char *) wxBLACK_BRUSH,"_wxBrush_p");
723 pyobj = PyString_FromString(ptemp);
724 return pyobj;
725}
726
727static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject *val) {
728
729 PyErr_SetString(PyExc_TypeError,"Variable wxTRANSPARENT_BRUSH is read-only.");
730 return 1;
731}
732
733static PyObject *_wrap_wxTRANSPARENT_BRUSH_get() {
734 PyObject * pyobj;
735 char ptemp[128];
736
737 SWIG_MakePtr(ptemp, (char *) wxTRANSPARENT_BRUSH,"_wxBrush_p");
738 pyobj = PyString_FromString(ptemp);
739 return pyobj;
740}
741
742static int _wrap_wxCYAN_BRUSH_set(PyObject *val) {
743
744 PyErr_SetString(PyExc_TypeError,"Variable wxCYAN_BRUSH is read-only.");
745 return 1;
746}
747
748static PyObject *_wrap_wxCYAN_BRUSH_get() {
749 PyObject * pyobj;
750 char ptemp[128];
751
752 SWIG_MakePtr(ptemp, (char *) wxCYAN_BRUSH,"_wxBrush_p");
753 pyobj = PyString_FromString(ptemp);
754 return pyobj;
755}
756
757static int _wrap_wxRED_BRUSH_set(PyObject *val) {
758
759 PyErr_SetString(PyExc_TypeError,"Variable wxRED_BRUSH is read-only.");
760 return 1;
761}
762
763static PyObject *_wrap_wxRED_BRUSH_get() {
764 PyObject * pyobj;
765 char ptemp[128];
766
767 SWIG_MakePtr(ptemp, (char *) wxRED_BRUSH,"_wxBrush_p");
768 pyobj = PyString_FromString(ptemp);
769 return pyobj;
770}
771
772static int _wrap_wxGREY_BRUSH_set(PyObject *val) {
773
774 PyErr_SetString(PyExc_TypeError,"Variable wxGREY_BRUSH is read-only.");
775 return 1;
776}
777
778static PyObject *_wrap_wxGREY_BRUSH_get() {
779 PyObject * pyobj;
780 char ptemp[128];
781
782 SWIG_MakePtr(ptemp, (char *) wxGREY_BRUSH,"_wxBrush_p");
783 pyobj = PyString_FromString(ptemp);
784 return pyobj;
785}
786
787static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject *val) {
788
789 PyErr_SetString(PyExc_TypeError,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
790 return 1;
791}
792
793static PyObject *_wrap_wxMEDIUM_GREY_BRUSH_get() {
794 PyObject * pyobj;
795 char ptemp[128];
796
797 SWIG_MakePtr(ptemp, (char *) wxMEDIUM_GREY_BRUSH,"_wxBrush_p");
798 pyobj = PyString_FromString(ptemp);
799 return pyobj;
800}
801
802static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject *val) {
803
804 PyErr_SetString(PyExc_TypeError,"Variable wxLIGHT_GREY_BRUSH is read-only.");
805 return 1;
806}
807
808static PyObject *_wrap_wxLIGHT_GREY_BRUSH_get() {
809 PyObject * pyobj;
810 char ptemp[128];
811
812 SWIG_MakePtr(ptemp, (char *) wxLIGHT_GREY_BRUSH,"_wxBrush_p");
813 pyobj = PyString_FromString(ptemp);
814 return pyobj;
815}
816
817static int _wrap_wxBLACK_set(PyObject *val) {
818
819 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK is read-only.");
820 return 1;
821}
822
823static PyObject *_wrap_wxBLACK_get() {
824 PyObject * pyobj;
825 char ptemp[128];
826
827 SWIG_MakePtr(ptemp, (char *) wxBLACK,"_wxColour_p");
828 pyobj = PyString_FromString(ptemp);
829 return pyobj;
830}
831
832static int _wrap_wxWHITE_set(PyObject *val) {
833
834 PyErr_SetString(PyExc_TypeError,"Variable wxWHITE is read-only.");
835 return 1;
836}
837
838static PyObject *_wrap_wxWHITE_get() {
839 PyObject * pyobj;
840 char ptemp[128];
841
842 SWIG_MakePtr(ptemp, (char *) wxWHITE,"_wxColour_p");
843 pyobj = PyString_FromString(ptemp);
844 return pyobj;
845}
846
847static int _wrap_wxRED_set(PyObject *val) {
848
849 PyErr_SetString(PyExc_TypeError,"Variable wxRED is read-only.");
850 return 1;
851}
852
853static PyObject *_wrap_wxRED_get() {
854 PyObject * pyobj;
855 char ptemp[128];
856
857 SWIG_MakePtr(ptemp, (char *) wxRED,"_wxColour_p");
858 pyobj = PyString_FromString(ptemp);
859 return pyobj;
860}
861
862static int _wrap_wxBLUE_set(PyObject *val) {
863
864 PyErr_SetString(PyExc_TypeError,"Variable wxBLUE is read-only.");
865 return 1;
866}
867
868static PyObject *_wrap_wxBLUE_get() {
869 PyObject * pyobj;
870 char ptemp[128];
871
872 SWIG_MakePtr(ptemp, (char *) wxBLUE,"_wxColour_p");
873 pyobj = PyString_FromString(ptemp);
874 return pyobj;
875}
876
877static int _wrap_wxGREEN_set(PyObject *val) {
878
879 PyErr_SetString(PyExc_TypeError,"Variable wxGREEN is read-only.");
880 return 1;
881}
882
883static PyObject *_wrap_wxGREEN_get() {
884 PyObject * pyobj;
885 char ptemp[128];
886
887 SWIG_MakePtr(ptemp, (char *) wxGREEN,"_wxColour_p");
888 pyobj = PyString_FromString(ptemp);
889 return pyobj;
890}
891
892static int _wrap_wxCYAN_set(PyObject *val) {
893
894 PyErr_SetString(PyExc_TypeError,"Variable wxCYAN is read-only.");
895 return 1;
896}
897
898static PyObject *_wrap_wxCYAN_get() {
899 PyObject * pyobj;
900 char ptemp[128];
901
902 SWIG_MakePtr(ptemp, (char *) wxCYAN,"_wxColour_p");
903 pyobj = PyString_FromString(ptemp);
904 return pyobj;
905}
906
907static int _wrap_wxLIGHT_GREY_set(PyObject *val) {
908
909 PyErr_SetString(PyExc_TypeError,"Variable wxLIGHT_GREY is read-only.");
910 return 1;
911}
912
913static PyObject *_wrap_wxLIGHT_GREY_get() {
914 PyObject * pyobj;
915 char ptemp[128];
916
917 SWIG_MakePtr(ptemp, (char *) wxLIGHT_GREY,"_wxColour_p");
918 pyobj = PyString_FromString(ptemp);
919 return pyobj;
920}
921
922static int _wrap_wxSTANDARD_CURSOR_set(PyObject *val) {
923
924 PyErr_SetString(PyExc_TypeError,"Variable wxSTANDARD_CURSOR is read-only.");
925 return 1;
926}
927
928static PyObject *_wrap_wxSTANDARD_CURSOR_get() {
929 PyObject * pyobj;
930 char ptemp[128];
931
932 SWIG_MakePtr(ptemp, (char *) wxSTANDARD_CURSOR,"_wxCursor_p");
933 pyobj = PyString_FromString(ptemp);
934 return pyobj;
935}
936
937static int _wrap_wxHOURGLASS_CURSOR_set(PyObject *val) {
938
939 PyErr_SetString(PyExc_TypeError,"Variable wxHOURGLASS_CURSOR is read-only.");
940 return 1;
941}
942
943static PyObject *_wrap_wxHOURGLASS_CURSOR_get() {
944 PyObject * pyobj;
945 char ptemp[128];
946
947 SWIG_MakePtr(ptemp, (char *) wxHOURGLASS_CURSOR,"_wxCursor_p");
948 pyobj = PyString_FromString(ptemp);
949 return pyobj;
950}
951
952static int _wrap_wxCROSS_CURSOR_set(PyObject *val) {
953
954 PyErr_SetString(PyExc_TypeError,"Variable wxCROSS_CURSOR is read-only.");
955 return 1;
956}
957
958static PyObject *_wrap_wxCROSS_CURSOR_get() {
959 PyObject * pyobj;
960 char ptemp[128];
961
962 SWIG_MakePtr(ptemp, (char *) wxCROSS_CURSOR,"_wxCursor_p");
963 pyobj = PyString_FromString(ptemp);
964 return pyobj;
965}
966
967static int _wrap_wxNullBitmap_set(PyObject *val) {
968
969 PyErr_SetString(PyExc_TypeError,"Variable wxNullBitmap is read-only.");
970 return 1;
971}
972
973static PyObject *_wrap_wxNullBitmap_get() {
974 PyObject * pyobj;
975 char ptemp[128];
976
977 SWIG_MakePtr(ptemp,(char *) &wxNullBitmap,"_wxBitmap_p");
978 pyobj = PyString_FromString(ptemp);
979 return pyobj;
980}
981
982static int _wrap_wxNullIcon_set(PyObject *val) {
983
984 PyErr_SetString(PyExc_TypeError,"Variable wxNullIcon is read-only.");
985 return 1;
986}
987
988static PyObject *_wrap_wxNullIcon_get() {
989 PyObject * pyobj;
990 char ptemp[128];
991
992 SWIG_MakePtr(ptemp,(char *) &wxNullIcon,"_wxIcon_p");
993 pyobj = PyString_FromString(ptemp);
994 return pyobj;
995}
996
997static int _wrap_wxNullCursor_set(PyObject *val) {
998
999 PyErr_SetString(PyExc_TypeError,"Variable wxNullCursor is read-only.");
1000 return 1;
1001}
1002
1003static PyObject *_wrap_wxNullCursor_get() {
1004 PyObject * pyobj;
1005 char ptemp[128];
1006
1007 SWIG_MakePtr(ptemp,(char *) &wxNullCursor,"_wxCursor_p");
1008 pyobj = PyString_FromString(ptemp);
1009 return pyobj;
1010}
1011
1012static int _wrap_wxNullPen_set(PyObject *val) {
1013
1014 PyErr_SetString(PyExc_TypeError,"Variable wxNullPen is read-only.");
1015 return 1;
1016}
1017
1018static PyObject *_wrap_wxNullPen_get() {
1019 PyObject * pyobj;
1020 char ptemp[128];
1021
1022 SWIG_MakePtr(ptemp,(char *) &wxNullPen,"_wxPen_p");
1023 pyobj = PyString_FromString(ptemp);
1024 return pyobj;
1025}
1026
1027static int _wrap_wxNullBrush_set(PyObject *val) {
1028
1029 PyErr_SetString(PyExc_TypeError,"Variable wxNullBrush is read-only.");
1030 return 1;
1031}
1032
1033static PyObject *_wrap_wxNullBrush_get() {
1034 PyObject * pyobj;
1035 char ptemp[128];
1036
1037 SWIG_MakePtr(ptemp,(char *) &wxNullBrush,"_wxBrush_p");
1038 pyobj = PyString_FromString(ptemp);
1039 return pyobj;
1040}
1041
1042static int _wrap_wxNullPalette_set(PyObject *val) {
1043
1044 PyErr_SetString(PyExc_TypeError,"Variable wxNullPalette is read-only.");
1045 return 1;
1046}
1047
1048static PyObject *_wrap_wxNullPalette_get() {
1049 PyObject * pyobj;
1050 char ptemp[128];
1051
1052 SWIG_MakePtr(ptemp,(char *) &wxNullPalette,"_wxPalette_p");
1053 pyobj = PyString_FromString(ptemp);
1054 return pyobj;
1055}
1056
1057static int _wrap_wxNullFont_set(PyObject *val) {
1058
1059 PyErr_SetString(PyExc_TypeError,"Variable wxNullFont is read-only.");
1060 return 1;
1061}
1062
1063static PyObject *_wrap_wxNullFont_get() {
1064 PyObject * pyobj;
1065 char ptemp[128];
1066
1067 SWIG_MakePtr(ptemp,(char *) &wxNullFont,"_wxFont_p");
1068 pyobj = PyString_FromString(ptemp);
1069 return pyobj;
1070}
1071
1072static int _wrap_wxNullColour_set(PyObject *val) {
1073
1074 PyErr_SetString(PyExc_TypeError,"Variable wxNullColour is read-only.");
1075 return 1;
1076}
1077
1078static PyObject *_wrap_wxNullColour_get() {
1079 PyObject * pyobj;
1080 char ptemp[128];
1081
1082 SWIG_MakePtr(ptemp,(char *) &wxNullColour,"_wxColour_p");
1083 pyobj = PyString_FromString(ptemp);
1084 return pyobj;
1085}
1086
1087#define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1afc06c2 1088static PyObject *_wrap_new_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1089 PyObject * _resultobj;
1090 wxBitmap * _result;
1091 wxString * _arg0;
1092 long _arg1;
1093 PyObject * _obj0 = 0;
1afc06c2 1094 char *_kwnames[] = { "name","type", NULL };
8ab979d7
RD
1095 char _ptemp[128];
1096
1097 self = self;
1afc06c2 1098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:new_wxBitmap",_kwnames,&_obj0,&_arg1))
8ab979d7
RD
1099 return NULL;
1100{
1101 if (!PyString_Check(_obj0)) {
1102 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1103 return NULL;
1104 }
cf694132 1105 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
8ab979d7 1106}
cf694132
RD
1107{
1108 wxPy_BEGIN_ALLOW_THREADS;
1109 _result = (wxBitmap *)new_wxBitmap(*_arg0,_arg1);
1110
1111 wxPy_END_ALLOW_THREADS;
1d99702e
RD
1112} if (_result) {
1113 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1114 _resultobj = Py_BuildValue("s",_ptemp);
1115 } else {
1116 Py_INCREF(Py_None);
1117 _resultobj = Py_None;
1118 }
8ab979d7
RD
1119{
1120 if (_obj0)
1121 delete _arg0;
1122}
1123 return _resultobj;
1124}
1125
1126#define delete_wxBitmap(_swigobj) (delete _swigobj)
1afc06c2 1127static PyObject *_wrap_delete_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1128 PyObject * _resultobj;
1129 wxBitmap * _arg0;
1d99702e 1130 PyObject * _argo0 = 0;
1afc06c2 1131 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1132
1133 self = self;
1afc06c2 1134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxBitmap",_kwnames,&_argo0))
8ab979d7 1135 return NULL;
1d99702e
RD
1136 if (_argo0) {
1137 if (_argo0 == Py_None) { _arg0 = NULL; }
1138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
8ab979d7
RD
1139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1140 return NULL;
1141 }
1142 }
cf694132
RD
1143{
1144 wxPy_BEGIN_ALLOW_THREADS;
1145 delete_wxBitmap(_arg0);
1146
1147 wxPy_END_ALLOW_THREADS;
1148} Py_INCREF(Py_None);
8ab979d7
RD
1149 _resultobj = Py_None;
1150 return _resultobj;
1151}
1152
1153#define wxBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 1154static PyObject *_wrap_wxBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1155 PyObject * _resultobj;
1156 wxBitmap * _arg0;
1157 int _arg1;
1158 int _arg2;
1d99702e
RD
1159 int _arg3 = (int ) -1;
1160 PyObject * _argo0 = 0;
1afc06c2 1161 char *_kwnames[] = { "self","width","height","depth", NULL };
8ab979d7
RD
1162
1163 self = self;
1afc06c2 1164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxBitmap_Create",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 1165 return NULL;
1d99702e
RD
1166 if (_argo0) {
1167 if (_argo0 == Py_None) { _arg0 = NULL; }
1168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
8ab979d7
RD
1169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_Create. Expected _wxBitmap_p.");
1170 return NULL;
1171 }
1172 }
cf694132
RD
1173{
1174 wxPy_BEGIN_ALLOW_THREADS;
1175 wxBitmap_Create(_arg0,_arg1,_arg2,_arg3);
1176
1177 wxPy_END_ALLOW_THREADS;
1178} Py_INCREF(Py_None);
8ab979d7
RD
1179 _resultobj = Py_None;
1180 return _resultobj;
1181}
1182
1183#define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1afc06c2 1184static PyObject *_wrap_wxBitmap_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1185 PyObject * _resultobj;
1186 int _result;
1187 wxBitmap * _arg0;
1d99702e 1188 PyObject * _argo0 = 0;
1afc06c2 1189 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1190
1191 self = self;
1afc06c2 1192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetDepth",_kwnames,&_argo0))
8ab979d7 1193 return NULL;
1d99702e
RD
1194 if (_argo0) {
1195 if (_argo0 == Py_None) { _arg0 = NULL; }
1196 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
8ab979d7
RD
1197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1198 return NULL;
1199 }
1200 }
cf694132
RD
1201{
1202 wxPy_BEGIN_ALLOW_THREADS;
1203 _result = (int )wxBitmap_GetDepth(_arg0);
1204
1205 wxPy_END_ALLOW_THREADS;
1206} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1207 return _resultobj;
1208}
1209
1210#define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1afc06c2 1211static PyObject *_wrap_wxBitmap_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1212 PyObject * _resultobj;
1213 int _result;
1214 wxBitmap * _arg0;
1d99702e 1215 PyObject * _argo0 = 0;
1afc06c2 1216 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1217
1218 self = self;
1afc06c2 1219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetHeight",_kwnames,&_argo0))
8ab979d7 1220 return NULL;
1d99702e
RD
1221 if (_argo0) {
1222 if (_argo0 == Py_None) { _arg0 = NULL; }
1223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
8ab979d7
RD
1224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1225 return NULL;
1226 }
1227 }
cf694132
RD
1228{
1229 wxPy_BEGIN_ALLOW_THREADS;
1230 _result = (int )wxBitmap_GetHeight(_arg0);
1231
1232 wxPy_END_ALLOW_THREADS;
1233} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1234 return _resultobj;
1235}
1236
1237#define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1afc06c2 1238static PyObject *_wrap_wxBitmap_GetPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1239 PyObject * _resultobj;
1240 wxPalette * _result;
1241 wxBitmap * _arg0;
1d99702e 1242 PyObject * _argo0 = 0;
1afc06c2 1243 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1244 char _ptemp[128];
1245
1246 self = self;
1afc06c2 1247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetPalette",_kwnames,&_argo0))
8ab979d7 1248 return NULL;
1d99702e
RD
1249 if (_argo0) {
1250 if (_argo0 == Py_None) { _arg0 = NULL; }
1251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
8ab979d7
RD
1252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1253 return NULL;
1254 }
1255 }
cf694132
RD
1256{
1257 wxPy_BEGIN_ALLOW_THREADS;
1258 _result = (wxPalette *)wxBitmap_GetPalette(_arg0);
1259
1260 wxPy_END_ALLOW_THREADS;
1d99702e
RD
1261} if (_result) {
1262 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPalette_p");
1263 _resultobj = Py_BuildValue("s",_ptemp);
1264 } else {
1265 Py_INCREF(Py_None);
1266 _resultobj = Py_None;
1267 }
8ab979d7
RD
1268 return _resultobj;
1269}
1270
1271#define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1afc06c2 1272static PyObject *_wrap_wxBitmap_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1273 PyObject * _resultobj;
1274 wxMask * _result;
1275 wxBitmap * _arg0;
1d99702e 1276 PyObject * _argo0 = 0;
1afc06c2 1277 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1278 char _ptemp[128];
1279
1280 self = self;
1afc06c2 1281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetMask",_kwnames,&_argo0))
8ab979d7 1282 return NULL;
1d99702e
RD
1283 if (_argo0) {
1284 if (_argo0 == Py_None) { _arg0 = NULL; }
1285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
8ab979d7
RD
1286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1287 return NULL;
1288 }
1289 }
cf694132
RD
1290{
1291 wxPy_BEGIN_ALLOW_THREADS;
1292 _result = (wxMask *)wxBitmap_GetMask(_arg0);
1293
1294 wxPy_END_ALLOW_THREADS;
1d99702e
RD
1295} if (_result) {
1296 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
1297 _resultobj = Py_BuildValue("s",_ptemp);
1298 } else {
1299 Py_INCREF(Py_None);
1300 _resultobj = Py_None;
1301 }
8ab979d7
RD
1302 return _resultobj;
1303}
1304
1305#define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1afc06c2 1306static PyObject *_wrap_wxBitmap_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1307 PyObject * _resultobj;
1308 int _result;
1309 wxBitmap * _arg0;
1d99702e 1310 PyObject * _argo0 = 0;
1afc06c2 1311 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1312
1313 self = self;
1afc06c2 1314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_GetWidth",_kwnames,&_argo0))
8ab979d7 1315 return NULL;
1d99702e
RD
1316 if (_argo0) {
1317 if (_argo0 == Py_None) { _arg0 = NULL; }
1318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
8ab979d7
RD
1319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1320 return NULL;
1321 }
1322 }
cf694132
RD
1323{
1324 wxPy_BEGIN_ALLOW_THREADS;
1325 _result = (int )wxBitmap_GetWidth(_arg0);
1326
1327 wxPy_END_ALLOW_THREADS;
1328} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1329 return _resultobj;
1330}
1331
1332#define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1afc06c2 1333static PyObject *_wrap_wxBitmap_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1334 PyObject * _resultobj;
1335 bool _result;
1336 wxBitmap * _arg0;
1337 wxString * _arg1;
1338 long _arg2;
1d99702e 1339 PyObject * _argo0 = 0;
8ab979d7 1340 PyObject * _obj1 = 0;
1afc06c2 1341 char *_kwnames[] = { "self","name","flags", NULL };
8ab979d7
RD
1342
1343 self = self;
1afc06c2 1344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOl:wxBitmap_LoadFile",_kwnames,&_argo0,&_obj1,&_arg2))
8ab979d7 1345 return NULL;
1d99702e
RD
1346 if (_argo0) {
1347 if (_argo0 == Py_None) { _arg0 = NULL; }
1348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
8ab979d7
RD
1349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1350 return NULL;
1351 }
1352 }
1353{
1354 if (!PyString_Check(_obj1)) {
1355 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1356 return NULL;
1357 }
cf694132 1358 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
8ab979d7 1359}
cf694132
RD
1360{
1361 wxPy_BEGIN_ALLOW_THREADS;
1362 _result = (bool )wxBitmap_LoadFile(_arg0,*_arg1,_arg2);
1363
1364 wxPy_END_ALLOW_THREADS;
1365} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1366{
1367 if (_obj1)
1368 delete _arg1;
1369}
1370 return _resultobj;
1371}
1372
1373#define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 1374static PyObject *_wrap_wxBitmap_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1375 PyObject * _resultobj;
1376 bool _result;
1377 wxBitmap * _arg0;
1d99702e 1378 PyObject * _argo0 = 0;
1afc06c2 1379 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1380
1381 self = self;
1afc06c2 1382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmap_Ok",_kwnames,&_argo0))
8ab979d7 1383 return NULL;
1d99702e
RD
1384 if (_argo0) {
1385 if (_argo0 == Py_None) { _arg0 = NULL; }
1386 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
8ab979d7
RD
1387 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1388 return NULL;
1389 }
1390 }
cf694132
RD
1391{
1392 wxPy_BEGIN_ALLOW_THREADS;
1393 _result = (bool )wxBitmap_Ok(_arg0);
1394
1395 wxPy_END_ALLOW_THREADS;
1396} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1397 return _resultobj;
1398}
1399
1400#define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 1401static PyObject *_wrap_wxBitmap_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1402 PyObject * _resultobj;
1403 bool _result;
1404 wxBitmap * _arg0;
1405 wxString * _arg1;
1406 int _arg2;
1d99702e
RD
1407 wxPalette * _arg3 = (wxPalette *) NULL;
1408 PyObject * _argo0 = 0;
8ab979d7 1409 PyObject * _obj1 = 0;
1d99702e 1410 PyObject * _argo3 = 0;
1afc06c2 1411 char *_kwnames[] = { "self","name","type","palette", NULL };
8ab979d7
RD
1412
1413 self = self;
1afc06c2 1414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|O:wxBitmap_SaveFile",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3))
8ab979d7 1415 return NULL;
1d99702e
RD
1416 if (_argo0) {
1417 if (_argo0 == Py_None) { _arg0 = NULL; }
1418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
8ab979d7
RD
1419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1420 return NULL;
1421 }
1422 }
1423{
1424 if (!PyString_Check(_obj1)) {
1425 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1426 return NULL;
1427 }
cf694132 1428 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
8ab979d7 1429}
1d99702e
RD
1430 if (_argo3) {
1431 if (_argo3 == Py_None) { _arg3 = NULL; }
1432 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPalette_p")) {
8ab979d7
RD
1433 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1434 return NULL;
1435 }
1436 }
cf694132
RD
1437{
1438 wxPy_BEGIN_ALLOW_THREADS;
1439 _result = (bool )wxBitmap_SaveFile(_arg0,*_arg1,_arg2,_arg3);
1440
1441 wxPy_END_ALLOW_THREADS;
1442} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1443{
1444 if (_obj1)
1445 delete _arg1;
1446}
1447 return _resultobj;
1448}
1449
1450#define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1afc06c2 1451static PyObject *_wrap_wxBitmap_SetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1452 PyObject * _resultobj;
1453 wxBitmap * _arg0;
1454 int _arg1;
1d99702e 1455 PyObject * _argo0 = 0;
1afc06c2 1456 char *_kwnames[] = { "self","depth", NULL };
8ab979d7
RD
1457
1458 self = self;
1afc06c2 1459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBitmap_SetDepth",_kwnames,&_argo0,&_arg1))
8ab979d7 1460 return NULL;
1d99702e
RD
1461 if (_argo0) {
1462 if (_argo0 == Py_None) { _arg0 = NULL; }
1463 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
8ab979d7
RD
1464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1465 return NULL;
1466 }
1467 }
cf694132
RD
1468{
1469 wxPy_BEGIN_ALLOW_THREADS;
1470 wxBitmap_SetDepth(_arg0,_arg1);
1471
1472 wxPy_END_ALLOW_THREADS;
1473} Py_INCREF(Py_None);
8ab979d7
RD
1474 _resultobj = Py_None;
1475 return _resultobj;
1476}
1477
1478#define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1afc06c2 1479static PyObject *_wrap_wxBitmap_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1480 PyObject * _resultobj;
1481 wxBitmap * _arg0;
1482 int _arg1;
1d99702e 1483 PyObject * _argo0 = 0;
1afc06c2 1484 char *_kwnames[] = { "self","height", NULL };
8ab979d7
RD
1485
1486 self = self;
1afc06c2 1487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBitmap_SetHeight",_kwnames,&_argo0,&_arg1))
8ab979d7 1488 return NULL;
1d99702e
RD
1489 if (_argo0) {
1490 if (_argo0 == Py_None) { _arg0 = NULL; }
1491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
8ab979d7
RD
1492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1493 return NULL;
1494 }
1495 }
cf694132
RD
1496{
1497 wxPy_BEGIN_ALLOW_THREADS;
1498 wxBitmap_SetHeight(_arg0,_arg1);
1499
1500 wxPy_END_ALLOW_THREADS;
1501} Py_INCREF(Py_None);
8ab979d7
RD
1502 _resultobj = Py_None;
1503 return _resultobj;
1504}
1505
1506#define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1afc06c2 1507static PyObject *_wrap_wxBitmap_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1508 PyObject * _resultobj;
1509 wxBitmap * _arg0;
1510 wxMask * _arg1;
1d99702e
RD
1511 PyObject * _argo0 = 0;
1512 PyObject * _argo1 = 0;
1afc06c2 1513 char *_kwnames[] = { "self","mask", NULL };
8ab979d7
RD
1514
1515 self = self;
1afc06c2 1516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_SetMask",_kwnames,&_argo0,&_argo1))
8ab979d7 1517 return NULL;
1d99702e
RD
1518 if (_argo0) {
1519 if (_argo0 == Py_None) { _arg0 = NULL; }
1520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
8ab979d7
RD
1521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1522 return NULL;
1523 }
1524 }
1d99702e
RD
1525 if (_argo1) {
1526 if (_argo1 == Py_None) { _arg1 = NULL; }
1527 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMask_p")) {
8ab979d7
RD
1528 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1529 return NULL;
1530 }
1531 }
cf694132
RD
1532{
1533 wxPy_BEGIN_ALLOW_THREADS;
1534 wxBitmap_SetMask(_arg0,_arg1);
1535
1536 wxPy_END_ALLOW_THREADS;
1537} Py_INCREF(Py_None);
8ab979d7
RD
1538 _resultobj = Py_None;
1539 return _resultobj;
1540}
1541
1542#define wxBitmap_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1afc06c2 1543static PyObject *_wrap_wxBitmap_SetPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1544 PyObject * _resultobj;
1545 wxBitmap * _arg0;
1546 wxPalette * _arg1;
1d99702e
RD
1547 PyObject * _argo0 = 0;
1548 PyObject * _argo1 = 0;
1afc06c2 1549 char *_kwnames[] = { "self","palette", NULL };
8ab979d7
RD
1550
1551 self = self;
1afc06c2 1552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmap_SetPalette",_kwnames,&_argo0,&_argo1))
8ab979d7 1553 return NULL;
1d99702e
RD
1554 if (_argo0) {
1555 if (_argo0 == Py_None) { _arg0 = NULL; }
1556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
8ab979d7
RD
1557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetPalette. Expected _wxBitmap_p.");
1558 return NULL;
1559 }
1560 }
1d99702e
RD
1561 if (_argo1) {
1562 if (_argo1 == Py_None) { _arg1 = NULL; }
1563 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPalette_p")) {
8ab979d7
RD
1564 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmap_SetPalette. Expected _wxPalette_p.");
1565 return NULL;
1566 }
1567 }
cf694132
RD
1568{
1569 wxPy_BEGIN_ALLOW_THREADS;
1570 wxBitmap_SetPalette(_arg0,*_arg1);
1571
1572 wxPy_END_ALLOW_THREADS;
1573} Py_INCREF(Py_None);
8ab979d7
RD
1574 _resultobj = Py_None;
1575 return _resultobj;
1576}
1577
1578#define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1afc06c2 1579static PyObject *_wrap_wxBitmap_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1580 PyObject * _resultobj;
1581 wxBitmap * _arg0;
1582 int _arg1;
1d99702e 1583 PyObject * _argo0 = 0;
1afc06c2 1584 char *_kwnames[] = { "self","width", NULL };
8ab979d7
RD
1585
1586 self = self;
1afc06c2 1587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBitmap_SetWidth",_kwnames,&_argo0,&_arg1))
8ab979d7 1588 return NULL;
1d99702e
RD
1589 if (_argo0) {
1590 if (_argo0 == Py_None) { _arg0 = NULL; }
1591 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
8ab979d7
RD
1592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1593 return NULL;
1594 }
1595 }
cf694132
RD
1596{
1597 wxPy_BEGIN_ALLOW_THREADS;
1598 wxBitmap_SetWidth(_arg0,_arg1);
1599
1600 wxPy_END_ALLOW_THREADS;
1601} Py_INCREF(Py_None);
8ab979d7
RD
1602 _resultobj = Py_None;
1603 return _resultobj;
1604}
1605
1606#define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1afc06c2 1607static PyObject *_wrap_new_wxMask(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1608 PyObject * _resultobj;
1609 wxMask * _result;
1610 wxBitmap * _arg0;
1d99702e 1611 PyObject * _argo0 = 0;
1afc06c2 1612 char *_kwnames[] = { "bitmap", NULL };
8ab979d7
RD
1613 char _ptemp[128];
1614
1615 self = self;
1afc06c2 1616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxMask",_kwnames,&_argo0))
8ab979d7 1617 return NULL;
1d99702e
RD
1618 if (_argo0) {
1619 if (_argo0 == Py_None) { _arg0 = NULL; }
1620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) {
8ab979d7
RD
1621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1622 return NULL;
1623 }
1624 }
cf694132
RD
1625{
1626 wxPy_BEGIN_ALLOW_THREADS;
1627 _result = (wxMask *)new_wxMask(*_arg0);
1628
1629 wxPy_END_ALLOW_THREADS;
1d99702e
RD
1630} if (_result) {
1631 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
1632 _resultobj = Py_BuildValue("s",_ptemp);
1633 } else {
1634 Py_INCREF(Py_None);
1635 _resultobj = Py_None;
1636 }
8ab979d7
RD
1637 return _resultobj;
1638}
1639
1640#define delete_wxMask(_swigobj) (delete _swigobj)
1afc06c2 1641static PyObject *_wrap_delete_wxMask(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1642 PyObject * _resultobj;
1643 wxMask * _arg0;
1d99702e 1644 PyObject * _argo0 = 0;
1afc06c2 1645 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1646
1647 self = self;
1afc06c2 1648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxMask",_kwnames,&_argo0))
8ab979d7 1649 return NULL;
1d99702e
RD
1650 if (_argo0) {
1651 if (_argo0 == Py_None) { _arg0 = NULL; }
1652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMask_p")) {
8ab979d7
RD
1653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxMask. Expected _wxMask_p.");
1654 return NULL;
1655 }
1656 }
cf694132
RD
1657{
1658 wxPy_BEGIN_ALLOW_THREADS;
1659 delete_wxMask(_arg0);
1660
1661 wxPy_END_ALLOW_THREADS;
1662} Py_INCREF(Py_None);
8ab979d7
RD
1663 _resultobj = Py_None;
1664 return _resultobj;
1665}
1666
1667static void *SwigwxIconTowxBitmap(void *ptr) {
1668 wxIcon *src;
1669 wxBitmap *dest;
1670 src = (wxIcon *) ptr;
1671 dest = (wxBitmap *) src;
1672 return (void *) dest;
1673}
1674
1675#define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 1676static PyObject *_wrap_new_wxIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1677 PyObject * _resultobj;
1678 wxIcon * _result;
1679 wxString * _arg0;
1680 long _arg1;
1d99702e
RD
1681 int _arg2 = (int ) -1;
1682 int _arg3 = (int ) -1;
8ab979d7 1683 PyObject * _obj0 = 0;
1afc06c2 1684 char *_kwnames[] = { "name","flags","desiredWidth","desiredHeight", NULL };
8ab979d7
RD
1685 char _ptemp[128];
1686
1687 self = self;
1afc06c2 1688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:new_wxIcon",_kwnames,&_obj0,&_arg1,&_arg2,&_arg3))
8ab979d7
RD
1689 return NULL;
1690{
1691 if (!PyString_Check(_obj0)) {
1692 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1693 return NULL;
1694 }
cf694132 1695 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
8ab979d7 1696}
cf694132
RD
1697{
1698 wxPy_BEGIN_ALLOW_THREADS;
1699 _result = (wxIcon *)new_wxIcon(*_arg0,_arg1,_arg2,_arg3);
1700
1701 wxPy_END_ALLOW_THREADS;
1d99702e
RD
1702} if (_result) {
1703 SWIG_MakePtr(_ptemp, (char *) _result,"_wxIcon_p");
1704 _resultobj = Py_BuildValue("s",_ptemp);
1705 } else {
1706 Py_INCREF(Py_None);
1707 _resultobj = Py_None;
1708 }
8ab979d7
RD
1709{
1710 if (_obj0)
1711 delete _arg0;
1712}
1713 return _resultobj;
1714}
1715
1716#define delete_wxIcon(_swigobj) (delete _swigobj)
1afc06c2 1717static PyObject *_wrap_delete_wxIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1718 PyObject * _resultobj;
1719 wxIcon * _arg0;
1d99702e 1720 PyObject * _argo0 = 0;
1afc06c2 1721 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1722
1723 self = self;
1afc06c2 1724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxIcon",_kwnames,&_argo0))
8ab979d7 1725 return NULL;
1d99702e
RD
1726 if (_argo0) {
1727 if (_argo0 == Py_None) { _arg0 = NULL; }
1728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
8ab979d7
RD
1729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1730 return NULL;
1731 }
1732 }
cf694132
RD
1733{
1734 wxPy_BEGIN_ALLOW_THREADS;
1735 delete_wxIcon(_arg0);
1736
1737 wxPy_END_ALLOW_THREADS;
1738} Py_INCREF(Py_None);
8ab979d7
RD
1739 _resultobj = Py_None;
1740 return _resultobj;
1741}
1742
1743#define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
1afc06c2 1744static PyObject *_wrap_wxIcon_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1745 PyObject * _resultobj;
1746 int _result;
1747 wxIcon * _arg0;
1d99702e 1748 PyObject * _argo0 = 0;
1afc06c2 1749 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1750
1751 self = self;
1afc06c2 1752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_GetDepth",_kwnames,&_argo0))
8ab979d7 1753 return NULL;
1d99702e
RD
1754 if (_argo0) {
1755 if (_argo0 == Py_None) { _arg0 = NULL; }
1756 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
8ab979d7
RD
1757 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
1758 return NULL;
1759 }
1760 }
cf694132
RD
1761{
1762 wxPy_BEGIN_ALLOW_THREADS;
1763 _result = (int )wxIcon_GetDepth(_arg0);
1764
1765 wxPy_END_ALLOW_THREADS;
1766} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1767 return _resultobj;
1768}
1769
1770#define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
1afc06c2 1771static PyObject *_wrap_wxIcon_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1772 PyObject * _resultobj;
1773 int _result;
1774 wxIcon * _arg0;
1d99702e 1775 PyObject * _argo0 = 0;
1afc06c2 1776 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1777
1778 self = self;
1afc06c2 1779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_GetHeight",_kwnames,&_argo0))
8ab979d7 1780 return NULL;
1d99702e
RD
1781 if (_argo0) {
1782 if (_argo0 == Py_None) { _arg0 = NULL; }
1783 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
8ab979d7
RD
1784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
1785 return NULL;
1786 }
1787 }
cf694132
RD
1788{
1789 wxPy_BEGIN_ALLOW_THREADS;
1790 _result = (int )wxIcon_GetHeight(_arg0);
1791
1792 wxPy_END_ALLOW_THREADS;
1793} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1794 return _resultobj;
1795}
1796
1797#define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
1afc06c2 1798static PyObject *_wrap_wxIcon_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1799 PyObject * _resultobj;
1800 int _result;
1801 wxIcon * _arg0;
1d99702e 1802 PyObject * _argo0 = 0;
1afc06c2 1803 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1804
1805 self = self;
1afc06c2 1806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_GetWidth",_kwnames,&_argo0))
8ab979d7 1807 return NULL;
1d99702e
RD
1808 if (_argo0) {
1809 if (_argo0 == Py_None) { _arg0 = NULL; }
1810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
8ab979d7
RD
1811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
1812 return NULL;
1813 }
1814 }
cf694132
RD
1815{
1816 wxPy_BEGIN_ALLOW_THREADS;
1817 _result = (int )wxIcon_GetWidth(_arg0);
1818
1819 wxPy_END_ALLOW_THREADS;
1820} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1821 return _resultobj;
1822}
1823
1824#define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1afc06c2 1825static PyObject *_wrap_wxIcon_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1826 PyObject * _resultobj;
1827 bool _result;
1828 wxIcon * _arg0;
1829 wxString * _arg1;
1830 long _arg2;
1d99702e 1831 PyObject * _argo0 = 0;
8ab979d7 1832 PyObject * _obj1 = 0;
1afc06c2 1833 char *_kwnames[] = { "self","name","flags", NULL };
8ab979d7
RD
1834
1835 self = self;
1afc06c2 1836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOl:wxIcon_LoadFile",_kwnames,&_argo0,&_obj1,&_arg2))
8ab979d7 1837 return NULL;
1d99702e
RD
1838 if (_argo0) {
1839 if (_argo0 == Py_None) { _arg0 = NULL; }
1840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
8ab979d7
RD
1841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
1842 return NULL;
1843 }
1844 }
1845{
1846 if (!PyString_Check(_obj1)) {
1847 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1848 return NULL;
1849 }
cf694132 1850 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
8ab979d7 1851}
cf694132
RD
1852{
1853 wxPy_BEGIN_ALLOW_THREADS;
1854 _result = (bool )wxIcon_LoadFile(_arg0,*_arg1,_arg2);
1855
1856 wxPy_END_ALLOW_THREADS;
1857} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1858{
1859 if (_obj1)
1860 delete _arg1;
1861}
1862 return _resultobj;
1863}
1864
1865#define wxIcon_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 1866static PyObject *_wrap_wxIcon_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1867 PyObject * _resultobj;
1868 bool _result;
1869 wxIcon * _arg0;
1d99702e 1870 PyObject * _argo0 = 0;
1afc06c2 1871 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1872
1873 self = self;
1afc06c2 1874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxIcon_Ok",_kwnames,&_argo0))
8ab979d7 1875 return NULL;
1d99702e
RD
1876 if (_argo0) {
1877 if (_argo0 == Py_None) { _arg0 = NULL; }
1878 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
8ab979d7
RD
1879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
1880 return NULL;
1881 }
1882 }
cf694132
RD
1883{
1884 wxPy_BEGIN_ALLOW_THREADS;
1885 _result = (bool )wxIcon_Ok(_arg0);
1886
1887 wxPy_END_ALLOW_THREADS;
1888} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
1889 return _resultobj;
1890}
1891
1892#define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1afc06c2 1893static PyObject *_wrap_wxIcon_SetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1894 PyObject * _resultobj;
1895 wxIcon * _arg0;
1896 int _arg1;
1d99702e 1897 PyObject * _argo0 = 0;
1afc06c2 1898 char *_kwnames[] = { "self","depth", NULL };
8ab979d7
RD
1899
1900 self = self;
1afc06c2 1901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxIcon_SetDepth",_kwnames,&_argo0,&_arg1))
8ab979d7 1902 return NULL;
1d99702e
RD
1903 if (_argo0) {
1904 if (_argo0 == Py_None) { _arg0 = NULL; }
1905 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
8ab979d7
RD
1906 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
1907 return NULL;
1908 }
1909 }
cf694132
RD
1910{
1911 wxPy_BEGIN_ALLOW_THREADS;
1912 wxIcon_SetDepth(_arg0,_arg1);
1913
1914 wxPy_END_ALLOW_THREADS;
1915} Py_INCREF(Py_None);
8ab979d7
RD
1916 _resultobj = Py_None;
1917 return _resultobj;
1918}
1919
1920#define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1afc06c2 1921static PyObject *_wrap_wxIcon_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1922 PyObject * _resultobj;
1923 wxIcon * _arg0;
1924 int _arg1;
1d99702e 1925 PyObject * _argo0 = 0;
1afc06c2 1926 char *_kwnames[] = { "self","height", NULL };
8ab979d7
RD
1927
1928 self = self;
1afc06c2 1929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxIcon_SetHeight",_kwnames,&_argo0,&_arg1))
8ab979d7 1930 return NULL;
1d99702e
RD
1931 if (_argo0) {
1932 if (_argo0 == Py_None) { _arg0 = NULL; }
1933 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
8ab979d7
RD
1934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
1935 return NULL;
1936 }
1937 }
cf694132
RD
1938{
1939 wxPy_BEGIN_ALLOW_THREADS;
1940 wxIcon_SetHeight(_arg0,_arg1);
1941
1942 wxPy_END_ALLOW_THREADS;
1943} Py_INCREF(Py_None);
8ab979d7
RD
1944 _resultobj = Py_None;
1945 return _resultobj;
1946}
1947
1948#define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1afc06c2 1949static PyObject *_wrap_wxIcon_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1950 PyObject * _resultobj;
1951 wxIcon * _arg0;
1952 int _arg1;
1d99702e 1953 PyObject * _argo0 = 0;
1afc06c2 1954 char *_kwnames[] = { "self","width", NULL };
8ab979d7
RD
1955
1956 self = self;
1afc06c2 1957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxIcon_SetWidth",_kwnames,&_argo0,&_arg1))
8ab979d7 1958 return NULL;
1d99702e
RD
1959 if (_argo0) {
1960 if (_argo0 == Py_None) { _arg0 = NULL; }
1961 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) {
8ab979d7
RD
1962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
1963 return NULL;
1964 }
1965 }
cf694132
RD
1966{
1967 wxPy_BEGIN_ALLOW_THREADS;
1968 wxIcon_SetWidth(_arg0,_arg1);
1969
1970 wxPy_END_ALLOW_THREADS;
1971} Py_INCREF(Py_None);
8ab979d7
RD
1972 _resultobj = Py_None;
1973 return _resultobj;
1974}
1975
1976static void *SwigwxCursorTowxBitmap(void *ptr) {
1977 wxCursor *src;
1978 wxBitmap *dest;
1979 src = (wxCursor *) ptr;
1980 dest = (wxBitmap *) src;
1981 return (void *) dest;
1982}
1983
1984#define new_wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 1985static PyObject *_wrap_new_wxCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1986 PyObject * _resultobj;
1987 wxCursor * _result;
1988 wxString * _arg0;
1989 long _arg1;
1d99702e
RD
1990 int _arg2 = (int ) 0;
1991 int _arg3 = (int ) 0;
8ab979d7 1992 PyObject * _obj0 = 0;
1afc06c2 1993 char *_kwnames[] = { "cursorName","flags","hotSpotX","hotSpotY", NULL };
8ab979d7
RD
1994 char _ptemp[128];
1995
1996 self = self;
1afc06c2 1997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:new_wxCursor",_kwnames,&_obj0,&_arg1,&_arg2,&_arg3))
8ab979d7
RD
1998 return NULL;
1999{
2000 if (!PyString_Check(_obj0)) {
2001 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2002 return NULL;
2003 }
cf694132 2004 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
8ab979d7 2005}
cf694132
RD
2006{
2007 wxPy_BEGIN_ALLOW_THREADS;
2008 _result = (wxCursor *)new_wxCursor(*_arg0,_arg1,_arg2,_arg3);
2009
2010 wxPy_END_ALLOW_THREADS;
1d99702e
RD
2011} if (_result) {
2012 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCursor_p");
2013 _resultobj = Py_BuildValue("s",_ptemp);
2014 } else {
2015 Py_INCREF(Py_None);
2016 _resultobj = Py_None;
2017 }
8ab979d7
RD
2018{
2019 if (_obj0)
2020 delete _arg0;
2021}
2022 return _resultobj;
2023}
2024
2025#define delete_wxCursor(_swigobj) (delete _swigobj)
1afc06c2 2026static PyObject *_wrap_delete_wxCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2027 PyObject * _resultobj;
2028 wxCursor * _arg0;
1d99702e 2029 PyObject * _argo0 = 0;
1afc06c2 2030 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2031
2032 self = self;
1afc06c2 2033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxCursor",_kwnames,&_argo0))
8ab979d7 2034 return NULL;
1d99702e
RD
2035 if (_argo0) {
2036 if (_argo0 == Py_None) { _arg0 = NULL; }
2037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
8ab979d7
RD
2038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
2039 return NULL;
2040 }
2041 }
cf694132
RD
2042{
2043 wxPy_BEGIN_ALLOW_THREADS;
2044 delete_wxCursor(_arg0);
2045
2046 wxPy_END_ALLOW_THREADS;
2047} Py_INCREF(Py_None);
8ab979d7
RD
2048 _resultobj = Py_None;
2049 return _resultobj;
2050}
2051
2052#define wxCursor_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 2053static PyObject *_wrap_wxCursor_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2054 PyObject * _resultobj;
2055 bool _result;
2056 wxCursor * _arg0;
1d99702e 2057 PyObject * _argo0 = 0;
1afc06c2 2058 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2059
2060 self = self;
1afc06c2 2061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCursor_Ok",_kwnames,&_argo0))
8ab979d7 2062 return NULL;
1d99702e
RD
2063 if (_argo0) {
2064 if (_argo0 == Py_None) { _arg0 = NULL; }
2065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
8ab979d7
RD
2066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2067 return NULL;
2068 }
2069 }
cf694132
RD
2070{
2071 wxPy_BEGIN_ALLOW_THREADS;
2072 _result = (bool )wxCursor_Ok(_arg0);
2073
2074 wxPy_END_ALLOW_THREADS;
2075} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2076 return _resultobj;
2077}
2078
f0261a72 2079static wxFont *new_wxFont(int pointSize,int family,int style,int weight,int underline,char *faceName,wxFontEncoding encoding) {
8ab979d7
RD
2080
2081 return wxTheFontList->FindOrCreateFont(pointSize, family, style, weight,
2082 underline, faceName);
2083 }
2084
1afc06c2 2085static PyObject *_wrap_new_wxFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2086 PyObject * _resultobj;
2087 wxFont * _result;
2088 int _arg0;
2089 int _arg1;
2090 int _arg2;
2091 int _arg3;
1d99702e
RD
2092 int _arg4 = (int ) FALSE;
2093 char * _arg5 = (char *) "";
f0261a72
RD
2094 wxFontEncoding _arg6 = (wxFontEncoding ) (wxFONTENCODING_DEFAULT);
2095 char *_kwnames[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL };
8ab979d7
RD
2096 char _ptemp[128];
2097
2098 self = self;
f0261a72 2099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiii|isi:new_wxFont",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
8ab979d7 2100 return NULL;
cf694132
RD
2101{
2102 wxPy_BEGIN_ALLOW_THREADS;
f0261a72 2103 _result = (wxFont *)new_wxFont(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
cf694132
RD
2104
2105 wxPy_END_ALLOW_THREADS;
1d99702e
RD
2106} if (_result) {
2107 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
2108 _resultobj = Py_BuildValue("s",_ptemp);
2109 } else {
2110 Py_INCREF(Py_None);
2111 _resultobj = Py_None;
2112 }
8ab979d7
RD
2113 return _resultobj;
2114}
2115
2116#define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
1afc06c2 2117static PyObject *_wrap_wxFont_GetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2118 PyObject * _resultobj;
2119 wxString * _result;
2120 wxFont * _arg0;
1d99702e 2121 PyObject * _argo0 = 0;
1afc06c2 2122 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2123
2124 self = self;
1afc06c2 2125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetFaceName",_kwnames,&_argo0))
8ab979d7 2126 return NULL;
1d99702e
RD
2127 if (_argo0) {
2128 if (_argo0 == Py_None) { _arg0 = NULL; }
2129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
8ab979d7
RD
2130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
2131 return NULL;
2132 }
2133 }
8ab979d7 2134{
cf694132
RD
2135 wxPy_BEGIN_ALLOW_THREADS;
2136 _result = new wxString (wxFont_GetFaceName(_arg0));
2137
2138 wxPy_END_ALLOW_THREADS;
2139}{
8ab979d7
RD
2140 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2141}
2142{
2143 delete _result;
2144}
2145 return _resultobj;
2146}
2147
2148#define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
1afc06c2 2149static PyObject *_wrap_wxFont_GetFamily(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2150 PyObject * _resultobj;
2151 int _result;
2152 wxFont * _arg0;
1d99702e 2153 PyObject * _argo0 = 0;
1afc06c2 2154 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2155
2156 self = self;
1afc06c2 2157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetFamily",_kwnames,&_argo0))
8ab979d7 2158 return NULL;
1d99702e
RD
2159 if (_argo0) {
2160 if (_argo0 == Py_None) { _arg0 = NULL; }
2161 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
8ab979d7
RD
2162 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
2163 return NULL;
2164 }
2165 }
cf694132
RD
2166{
2167 wxPy_BEGIN_ALLOW_THREADS;
2168 _result = (int )wxFont_GetFamily(_arg0);
2169
2170 wxPy_END_ALLOW_THREADS;
2171} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2172 return _resultobj;
2173}
2174
2175#define wxFont_GetFontId(_swigobj) (_swigobj->GetFontId())
1afc06c2 2176static PyObject *_wrap_wxFont_GetFontId(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2177 PyObject * _resultobj;
2178 int _result;
2179 wxFont * _arg0;
1d99702e 2180 PyObject * _argo0 = 0;
1afc06c2 2181 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2182
2183 self = self;
1afc06c2 2184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetFontId",_kwnames,&_argo0))
8ab979d7 2185 return NULL;
1d99702e
RD
2186 if (_argo0) {
2187 if (_argo0 == Py_None) { _arg0 = NULL; }
2188 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
8ab979d7
RD
2189 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetFontId. Expected _wxFont_p.");
2190 return NULL;
2191 }
2192 }
cf694132
RD
2193{
2194 wxPy_BEGIN_ALLOW_THREADS;
2195 _result = (int )wxFont_GetFontId(_arg0);
2196
2197 wxPy_END_ALLOW_THREADS;
2198} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2199 return _resultobj;
2200}
2201
2202#define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
1afc06c2 2203static PyObject *_wrap_wxFont_GetPointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2204 PyObject * _resultobj;
2205 int _result;
2206 wxFont * _arg0;
1d99702e 2207 PyObject * _argo0 = 0;
1afc06c2 2208 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2209
2210 self = self;
1afc06c2 2211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetPointSize",_kwnames,&_argo0))
8ab979d7 2212 return NULL;
1d99702e
RD
2213 if (_argo0) {
2214 if (_argo0 == Py_None) { _arg0 = NULL; }
2215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
8ab979d7
RD
2216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
2217 return NULL;
2218 }
2219 }
cf694132
RD
2220{
2221 wxPy_BEGIN_ALLOW_THREADS;
2222 _result = (int )wxFont_GetPointSize(_arg0);
2223
2224 wxPy_END_ALLOW_THREADS;
2225} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2226 return _resultobj;
2227}
2228
2229#define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
1afc06c2 2230static PyObject *_wrap_wxFont_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2231 PyObject * _resultobj;
2232 int _result;
2233 wxFont * _arg0;
1d99702e 2234 PyObject * _argo0 = 0;
1afc06c2 2235 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2236
2237 self = self;
1afc06c2 2238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetStyle",_kwnames,&_argo0))
8ab979d7 2239 return NULL;
1d99702e
RD
2240 if (_argo0) {
2241 if (_argo0 == Py_None) { _arg0 = NULL; }
2242 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
8ab979d7
RD
2243 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
2244 return NULL;
2245 }
2246 }
cf694132
RD
2247{
2248 wxPy_BEGIN_ALLOW_THREADS;
2249 _result = (int )wxFont_GetStyle(_arg0);
2250
2251 wxPy_END_ALLOW_THREADS;
2252} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2253 return _resultobj;
2254}
2255
2256#define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
1afc06c2 2257static PyObject *_wrap_wxFont_GetUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2258 PyObject * _resultobj;
2259 bool _result;
2260 wxFont * _arg0;
1d99702e 2261 PyObject * _argo0 = 0;
1afc06c2 2262 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2263
2264 self = self;
1afc06c2 2265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetUnderlined",_kwnames,&_argo0))
8ab979d7 2266 return NULL;
1d99702e
RD
2267 if (_argo0) {
2268 if (_argo0 == Py_None) { _arg0 = NULL; }
2269 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
8ab979d7
RD
2270 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
2271 return NULL;
2272 }
2273 }
cf694132
RD
2274{
2275 wxPy_BEGIN_ALLOW_THREADS;
2276 _result = (bool )wxFont_GetUnderlined(_arg0);
2277
2278 wxPy_END_ALLOW_THREADS;
2279} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2280 return _resultobj;
2281}
2282
2283#define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
1afc06c2 2284static PyObject *_wrap_wxFont_GetWeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2285 PyObject * _resultobj;
2286 int _result;
2287 wxFont * _arg0;
1d99702e 2288 PyObject * _argo0 = 0;
1afc06c2 2289 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2290
2291 self = self;
1afc06c2 2292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetWeight",_kwnames,&_argo0))
8ab979d7 2293 return NULL;
1d99702e
RD
2294 if (_argo0) {
2295 if (_argo0 == Py_None) { _arg0 = NULL; }
2296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
8ab979d7
RD
2297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
2298 return NULL;
2299 }
2300 }
cf694132
RD
2301{
2302 wxPy_BEGIN_ALLOW_THREADS;
2303 _result = (int )wxFont_GetWeight(_arg0);
2304
2305 wxPy_END_ALLOW_THREADS;
2306} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2307 return _resultobj;
2308}
2309
f0261a72
RD
2310#define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
2311static PyObject *_wrap_wxFont_GetEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
2312 PyObject * _resultobj;
2313 wxFontEncoding _result;
2314 wxFont * _arg0;
2315 PyObject * _argo0 = 0;
2316 char *_kwnames[] = { "self", NULL };
2317
2318 self = self;
2319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetEncoding",_kwnames,&_argo0))
2320 return NULL;
2321 if (_argo0) {
2322 if (_argo0 == Py_None) { _arg0 = NULL; }
2323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
2324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
2325 return NULL;
2326 }
2327 }
2328{
2329 wxPy_BEGIN_ALLOW_THREADS;
2330 _result = (wxFontEncoding )wxFont_GetEncoding(_arg0);
2331
2332 wxPy_END_ALLOW_THREADS;
2333} _resultobj = Py_BuildValue("i",_result);
2334 return _resultobj;
2335}
2336
8ab979d7 2337#define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
1afc06c2 2338static PyObject *_wrap_wxFont_SetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2339 PyObject * _resultobj;
2340 wxFont * _arg0;
2341 wxString * _arg1;
1d99702e 2342 PyObject * _argo0 = 0;
8ab979d7 2343 PyObject * _obj1 = 0;
1afc06c2 2344 char *_kwnames[] = { "self","faceName", NULL };
8ab979d7
RD
2345
2346 self = self;
1afc06c2 2347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFont_SetFaceName",_kwnames,&_argo0,&_obj1))
8ab979d7 2348 return NULL;
1d99702e
RD
2349 if (_argo0) {
2350 if (_argo0 == Py_None) { _arg0 = NULL; }
2351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
8ab979d7
RD
2352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
2353 return NULL;
2354 }
2355 }
2356{
2357 if (!PyString_Check(_obj1)) {
2358 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2359 return NULL;
2360 }
cf694132 2361 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
8ab979d7 2362}
cf694132
RD
2363{
2364 wxPy_BEGIN_ALLOW_THREADS;
2365 wxFont_SetFaceName(_arg0,*_arg1);
2366
2367 wxPy_END_ALLOW_THREADS;
2368} Py_INCREF(Py_None);
8ab979d7
RD
2369 _resultobj = Py_None;
2370{
2371 if (_obj1)
2372 delete _arg1;
2373}
2374 return _resultobj;
2375}
2376
2377#define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
1afc06c2 2378static PyObject *_wrap_wxFont_SetFamily(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2379 PyObject * _resultobj;
2380 wxFont * _arg0;
2381 int _arg1;
1d99702e 2382 PyObject * _argo0 = 0;
1afc06c2 2383 char *_kwnames[] = { "self","family", NULL };
8ab979d7
RD
2384
2385 self = self;
1afc06c2 2386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFont_SetFamily",_kwnames,&_argo0,&_arg1))
8ab979d7 2387 return NULL;
1d99702e
RD
2388 if (_argo0) {
2389 if (_argo0 == Py_None) { _arg0 = NULL; }
2390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
8ab979d7
RD
2391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
2392 return NULL;
2393 }
2394 }
cf694132
RD
2395{
2396 wxPy_BEGIN_ALLOW_THREADS;
2397 wxFont_SetFamily(_arg0,_arg1);
2398
2399 wxPy_END_ALLOW_THREADS;
2400} Py_INCREF(Py_None);
8ab979d7
RD
2401 _resultobj = Py_None;
2402 return _resultobj;
2403}
2404
2405#define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
1afc06c2 2406static PyObject *_wrap_wxFont_SetPointSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2407 PyObject * _resultobj;
2408 wxFont * _arg0;
2409 int _arg1;
1d99702e 2410 PyObject * _argo0 = 0;
1afc06c2 2411 char *_kwnames[] = { "self","pointSize", NULL };
8ab979d7
RD
2412
2413 self = self;
1afc06c2 2414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFont_SetPointSize",_kwnames,&_argo0,&_arg1))
8ab979d7 2415 return NULL;
1d99702e
RD
2416 if (_argo0) {
2417 if (_argo0 == Py_None) { _arg0 = NULL; }
2418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
8ab979d7
RD
2419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
2420 return NULL;
2421 }
2422 }
cf694132
RD
2423{
2424 wxPy_BEGIN_ALLOW_THREADS;
2425 wxFont_SetPointSize(_arg0,_arg1);
2426
2427 wxPy_END_ALLOW_THREADS;
2428} Py_INCREF(Py_None);
8ab979d7
RD
2429 _resultobj = Py_None;
2430 return _resultobj;
2431}
2432
2433#define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1afc06c2 2434static PyObject *_wrap_wxFont_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2435 PyObject * _resultobj;
2436 wxFont * _arg0;
2437 int _arg1;
1d99702e 2438 PyObject * _argo0 = 0;
1afc06c2 2439 char *_kwnames[] = { "self","style", NULL };
8ab979d7
RD
2440
2441 self = self;
1afc06c2 2442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFont_SetStyle",_kwnames,&_argo0,&_arg1))
8ab979d7 2443 return NULL;
1d99702e
RD
2444 if (_argo0) {
2445 if (_argo0 == Py_None) { _arg0 = NULL; }
2446 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
8ab979d7
RD
2447 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
2448 return NULL;
2449 }
2450 }
cf694132
RD
2451{
2452 wxPy_BEGIN_ALLOW_THREADS;
2453 wxFont_SetStyle(_arg0,_arg1);
2454
2455 wxPy_END_ALLOW_THREADS;
2456} Py_INCREF(Py_None);
8ab979d7
RD
2457 _resultobj = Py_None;
2458 return _resultobj;
2459}
2460
2461#define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
1afc06c2 2462static PyObject *_wrap_wxFont_SetUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2463 PyObject * _resultobj;
2464 wxFont * _arg0;
2465 bool _arg1;
1d99702e 2466 PyObject * _argo0 = 0;
8ab979d7 2467 int tempbool1;
1afc06c2 2468 char *_kwnames[] = { "self","underlined", NULL };
8ab979d7
RD
2469
2470 self = self;
1afc06c2 2471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFont_SetUnderlined",_kwnames,&_argo0,&tempbool1))
8ab979d7 2472 return NULL;
1d99702e
RD
2473 if (_argo0) {
2474 if (_argo0 == Py_None) { _arg0 = NULL; }
2475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
8ab979d7
RD
2476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
2477 return NULL;
2478 }
2479 }
2480 _arg1 = (bool ) tempbool1;
cf694132
RD
2481{
2482 wxPy_BEGIN_ALLOW_THREADS;
2483 wxFont_SetUnderlined(_arg0,_arg1);
2484
2485 wxPy_END_ALLOW_THREADS;
2486} Py_INCREF(Py_None);
8ab979d7
RD
2487 _resultobj = Py_None;
2488 return _resultobj;
2489}
2490
2491#define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
1afc06c2 2492static PyObject *_wrap_wxFont_SetWeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2493 PyObject * _resultobj;
2494 wxFont * _arg0;
2495 int _arg1;
1d99702e 2496 PyObject * _argo0 = 0;
1afc06c2 2497 char *_kwnames[] = { "self","weight", NULL };
8ab979d7
RD
2498
2499 self = self;
1afc06c2 2500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFont_SetWeight",_kwnames,&_argo0,&_arg1))
8ab979d7 2501 return NULL;
1d99702e
RD
2502 if (_argo0) {
2503 if (_argo0 == Py_None) { _arg0 = NULL; }
2504 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
8ab979d7
RD
2505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
2506 return NULL;
2507 }
2508 }
cf694132
RD
2509{
2510 wxPy_BEGIN_ALLOW_THREADS;
2511 wxFont_SetWeight(_arg0,_arg1);
2512
2513 wxPy_END_ALLOW_THREADS;
2514} Py_INCREF(Py_None);
8ab979d7
RD
2515 _resultobj = Py_None;
2516 return _resultobj;
2517}
2518
f0261a72
RD
2519#define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
2520static PyObject *_wrap_wxFont_SetEncoding(PyObject *self, PyObject *args, PyObject *kwargs) {
2521 PyObject * _resultobj;
2522 wxFont * _arg0;
2523 wxFontEncoding _arg1;
2524 PyObject * _argo0 = 0;
2525 char *_kwnames[] = { "self","encoding", NULL };
2526
2527 self = self;
2528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFont_SetEncoding",_kwnames,&_argo0,&_arg1))
2529 return NULL;
2530 if (_argo0) {
2531 if (_argo0 == Py_None) { _arg0 = NULL; }
2532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
2533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
2534 return NULL;
2535 }
2536 }
2537{
2538 wxPy_BEGIN_ALLOW_THREADS;
2539 wxFont_SetEncoding(_arg0,_arg1);
2540
2541 wxPy_END_ALLOW_THREADS;
2542} Py_INCREF(Py_None);
2543 _resultobj = Py_None;
2544 return _resultobj;
2545}
2546
2547#define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
2548static PyObject *_wrap_wxFont_GetFamilyString(PyObject *self, PyObject *args, PyObject *kwargs) {
2549 PyObject * _resultobj;
2550 wxString * _result;
2551 wxFont * _arg0;
2552 PyObject * _argo0 = 0;
2553 char *_kwnames[] = { "self", NULL };
2554
2555 self = self;
2556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetFamilyString",_kwnames,&_argo0))
2557 return NULL;
2558 if (_argo0) {
2559 if (_argo0 == Py_None) { _arg0 = NULL; }
2560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
2561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
2562 return NULL;
2563 }
2564 }
2565{
2566 wxPy_BEGIN_ALLOW_THREADS;
2567 _result = new wxString (wxFont_GetFamilyString(_arg0));
2568
2569 wxPy_END_ALLOW_THREADS;
2570}{
2571 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2572}
2573{
2574 delete _result;
2575}
2576 return _resultobj;
2577}
2578
2579#define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
2580static PyObject *_wrap_wxFont_GetStyleString(PyObject *self, PyObject *args, PyObject *kwargs) {
2581 PyObject * _resultobj;
2582 wxString * _result;
2583 wxFont * _arg0;
2584 PyObject * _argo0 = 0;
2585 char *_kwnames[] = { "self", NULL };
2586
2587 self = self;
2588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetStyleString",_kwnames,&_argo0))
2589 return NULL;
2590 if (_argo0) {
2591 if (_argo0 == Py_None) { _arg0 = NULL; }
2592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
2593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
2594 return NULL;
2595 }
2596 }
2597{
2598 wxPy_BEGIN_ALLOW_THREADS;
2599 _result = new wxString (wxFont_GetStyleString(_arg0));
2600
2601 wxPy_END_ALLOW_THREADS;
2602}{
2603 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2604}
2605{
2606 delete _result;
2607}
2608 return _resultobj;
2609}
2610
2611#define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
2612static PyObject *_wrap_wxFont_GetWeightString(PyObject *self, PyObject *args, PyObject *kwargs) {
2613 PyObject * _resultobj;
2614 wxString * _result;
2615 wxFont * _arg0;
2616 PyObject * _argo0 = 0;
2617 char *_kwnames[] = { "self", NULL };
2618
2619 self = self;
2620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFont_GetWeightString",_kwnames,&_argo0))
2621 return NULL;
2622 if (_argo0) {
2623 if (_argo0 == Py_None) { _arg0 = NULL; }
2624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
2625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
2626 return NULL;
2627 }
2628 }
2629{
2630 wxPy_BEGIN_ALLOW_THREADS;
2631 _result = new wxString (wxFont_GetWeightString(_arg0));
2632
2633 wxPy_END_ALLOW_THREADS;
2634}{
2635 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2636}
2637{
2638 delete _result;
2639}
2640 return _resultobj;
2641}
2642
8ab979d7 2643#define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 2644static PyObject *_wrap_new_wxColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2645 PyObject * _resultobj;
2646 wxColour * _result;
1d99702e
RD
2647 unsigned char _arg0 = (unsigned char ) 0;
2648 unsigned char _arg1 = (unsigned char ) 0;
2649 unsigned char _arg2 = (unsigned char ) 0;
1afc06c2 2650 char *_kwnames[] = { "red","green","blue", NULL };
8ab979d7
RD
2651 char _ptemp[128];
2652
2653 self = self;
1afc06c2 2654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|bbb:new_wxColour",_kwnames,&_arg0,&_arg1,&_arg2))
8ab979d7 2655 return NULL;
cf694132
RD
2656{
2657 wxPy_BEGIN_ALLOW_THREADS;
2658 _result = (wxColour *)new_wxColour(_arg0,_arg1,_arg2);
2659
2660 wxPy_END_ALLOW_THREADS;
1d99702e
RD
2661} if (_result) {
2662 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
2663 _resultobj = Py_BuildValue("s",_ptemp);
2664 } else {
2665 Py_INCREF(Py_None);
2666 _resultobj = Py_None;
2667 }
8ab979d7
RD
2668 return _resultobj;
2669}
2670
2671#define delete_wxColour(_swigobj) (delete _swigobj)
1afc06c2 2672static PyObject *_wrap_delete_wxColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2673 PyObject * _resultobj;
2674 wxColour * _arg0;
1d99702e 2675 PyObject * _argo0 = 0;
1afc06c2 2676 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2677
2678 self = self;
1afc06c2 2679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxColour",_kwnames,&_argo0))
8ab979d7 2680 return NULL;
1d99702e
RD
2681 if (_argo0) {
2682 if (_argo0 == Py_None) { _arg0 = NULL; }
2683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColour_p")) {
8ab979d7
RD
2684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxColour. Expected _wxColour_p.");
2685 return NULL;
2686 }
2687 }
cf694132
RD
2688{
2689 wxPy_BEGIN_ALLOW_THREADS;
2690 delete_wxColour(_arg0);
2691
2692 wxPy_END_ALLOW_THREADS;
2693} Py_INCREF(Py_None);
8ab979d7
RD
2694 _resultobj = Py_None;
2695 return _resultobj;
2696}
2697
2698#define wxColour_Red(_swigobj) (_swigobj->Red())
1afc06c2 2699static PyObject *_wrap_wxColour_Red(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2700 PyObject * _resultobj;
2701 unsigned char _result;
2702 wxColour * _arg0;
1d99702e 2703 PyObject * _argo0 = 0;
1afc06c2 2704 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2705
2706 self = self;
1afc06c2 2707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Red",_kwnames,&_argo0))
8ab979d7 2708 return NULL;
1d99702e
RD
2709 if (_argo0) {
2710 if (_argo0 == Py_None) { _arg0 = NULL; }
2711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColour_p")) {
8ab979d7
RD
2712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColour_Red. Expected _wxColour_p.");
2713 return NULL;
2714 }
2715 }
cf694132
RD
2716{
2717 wxPy_BEGIN_ALLOW_THREADS;
2718 _result = (unsigned char )wxColour_Red(_arg0);
2719
2720 wxPy_END_ALLOW_THREADS;
2721} _resultobj = Py_BuildValue("b",_result);
8ab979d7
RD
2722 return _resultobj;
2723}
2724
2725#define wxColour_Green(_swigobj) (_swigobj->Green())
1afc06c2 2726static PyObject *_wrap_wxColour_Green(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2727 PyObject * _resultobj;
2728 unsigned char _result;
2729 wxColour * _arg0;
1d99702e 2730 PyObject * _argo0 = 0;
1afc06c2 2731 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2732
2733 self = self;
1afc06c2 2734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Green",_kwnames,&_argo0))
8ab979d7 2735 return NULL;
1d99702e
RD
2736 if (_argo0) {
2737 if (_argo0 == Py_None) { _arg0 = NULL; }
2738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColour_p")) {
8ab979d7
RD
2739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColour_Green. Expected _wxColour_p.");
2740 return NULL;
2741 }
2742 }
cf694132
RD
2743{
2744 wxPy_BEGIN_ALLOW_THREADS;
2745 _result = (unsigned char )wxColour_Green(_arg0);
2746
2747 wxPy_END_ALLOW_THREADS;
2748} _resultobj = Py_BuildValue("b",_result);
8ab979d7
RD
2749 return _resultobj;
2750}
2751
2752#define wxColour_Blue(_swigobj) (_swigobj->Blue())
1afc06c2 2753static PyObject *_wrap_wxColour_Blue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2754 PyObject * _resultobj;
2755 unsigned char _result;
2756 wxColour * _arg0;
1d99702e 2757 PyObject * _argo0 = 0;
1afc06c2 2758 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2759
2760 self = self;
1afc06c2 2761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Blue",_kwnames,&_argo0))
8ab979d7 2762 return NULL;
1d99702e
RD
2763 if (_argo0) {
2764 if (_argo0 == Py_None) { _arg0 = NULL; }
2765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColour_p")) {
8ab979d7
RD
2766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColour_Blue. Expected _wxColour_p.");
2767 return NULL;
2768 }
2769 }
cf694132
RD
2770{
2771 wxPy_BEGIN_ALLOW_THREADS;
2772 _result = (unsigned char )wxColour_Blue(_arg0);
2773
2774 wxPy_END_ALLOW_THREADS;
2775} _resultobj = Py_BuildValue("b",_result);
8ab979d7
RD
2776 return _resultobj;
2777}
2778
2779#define wxColour_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 2780static PyObject *_wrap_wxColour_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2781 PyObject * _resultobj;
2782 bool _result;
2783 wxColour * _arg0;
1d99702e 2784 PyObject * _argo0 = 0;
1afc06c2 2785 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2786
2787 self = self;
1afc06c2 2788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Ok",_kwnames,&_argo0))
8ab979d7 2789 return NULL;
1d99702e
RD
2790 if (_argo0) {
2791 if (_argo0 == Py_None) { _arg0 = NULL; }
2792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColour_p")) {
8ab979d7
RD
2793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColour_Ok. Expected _wxColour_p.");
2794 return NULL;
2795 }
2796 }
cf694132
RD
2797{
2798 wxPy_BEGIN_ALLOW_THREADS;
2799 _result = (bool )wxColour_Ok(_arg0);
2800
2801 wxPy_END_ALLOW_THREADS;
2802} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2803 return _resultobj;
2804}
2805
2806#define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 2807static PyObject *_wrap_wxColour_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2808 PyObject * _resultobj;
2809 wxColour * _arg0;
2810 unsigned char _arg1;
2811 unsigned char _arg2;
2812 unsigned char _arg3;
1d99702e 2813 PyObject * _argo0 = 0;
1afc06c2 2814 char *_kwnames[] = { "self","red","green","blue", NULL };
8ab979d7
RD
2815
2816 self = self;
1afc06c2 2817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Obbb:wxColour_Set",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8ab979d7 2818 return NULL;
1d99702e
RD
2819 if (_argo0) {
2820 if (_argo0 == Py_None) { _arg0 = NULL; }
2821 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColour_p")) {
8ab979d7
RD
2822 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColour_Set. Expected _wxColour_p.");
2823 return NULL;
2824 }
2825 }
cf694132
RD
2826{
2827 wxPy_BEGIN_ALLOW_THREADS;
2828 wxColour_Set(_arg0,_arg1,_arg2,_arg3);
2829
2830 wxPy_END_ALLOW_THREADS;
2831} Py_INCREF(Py_None);
8ab979d7
RD
2832 _resultobj = Py_None;
2833 return _resultobj;
2834}
2835
2836static PyObject * wxColour_Get(wxColour *self) {
2837 PyObject* rv = PyTuple_New(3);
2838 PyTuple_SetItem(rv, 0, PyInt_FromLong(self->Red()));
2839 PyTuple_SetItem(rv, 1, PyInt_FromLong(self->Green()));
2840 PyTuple_SetItem(rv, 2, PyInt_FromLong(self->Blue()));
2841 return rv;
2842 }
1afc06c2 2843static PyObject *_wrap_wxColour_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2844 PyObject * _resultobj;
2845 PyObject * _result;
2846 wxColour * _arg0;
1d99702e 2847 PyObject * _argo0 = 0;
1afc06c2 2848 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2849
2850 self = self;
1afc06c2 2851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxColour_Get",_kwnames,&_argo0))
8ab979d7 2852 return NULL;
1d99702e
RD
2853 if (_argo0) {
2854 if (_argo0 == Py_None) { _arg0 = NULL; }
2855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColour_p")) {
8ab979d7
RD
2856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColour_Get. Expected _wxColour_p.");
2857 return NULL;
2858 }
2859 }
8ab979d7 2860{
cf694132
RD
2861 wxPy_BEGIN_ALLOW_THREADS;
2862 _result = (PyObject *)wxColour_Get(_arg0);
2863
2864 wxPy_END_ALLOW_THREADS;
2865}{
8ab979d7
RD
2866 _resultobj = _result;
2867}
2868 return _resultobj;
2869}
2870
2871static wxPen *new_wxPen(wxColour *colour,int width,int style) {
2872 return wxThePenList->FindOrCreatePen(*colour, width, style);
2873 }
2874
1afc06c2 2875static PyObject *_wrap_new_wxPen(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2876 PyObject * _resultobj;
2877 wxPen * _result;
2878 wxColour * _arg0;
1d99702e
RD
2879 int _arg1 = (int ) 1;
2880 int _arg2 = (int ) wxSOLID;
2881 PyObject * _argo0 = 0;
1afc06c2 2882 char *_kwnames[] = { "colour","width","style", NULL };
8ab979d7
RD
2883 char _ptemp[128];
2884
2885 self = self;
1afc06c2 2886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:new_wxPen",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 2887 return NULL;
1d99702e
RD
2888 if (_argo0) {
2889 if (_argo0 == Py_None) { _arg0 = NULL; }
2890 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColour_p")) {
8ab979d7
RD
2891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPen. Expected _wxColour_p.");
2892 return NULL;
2893 }
2894 }
cf694132
RD
2895{
2896 wxPy_BEGIN_ALLOW_THREADS;
2897 _result = (wxPen *)new_wxPen(_arg0,_arg1,_arg2);
2898
2899 wxPy_END_ALLOW_THREADS;
1d99702e
RD
2900} if (_result) {
2901 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
2902 _resultobj = Py_BuildValue("s",_ptemp);
2903 } else {
2904 Py_INCREF(Py_None);
2905 _resultobj = Py_None;
2906 }
8ab979d7
RD
2907 return _resultobj;
2908}
2909
2910#define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
1afc06c2 2911static PyObject *_wrap_wxPen_GetCap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2912 PyObject * _resultobj;
2913 int _result;
2914 wxPen * _arg0;
1d99702e 2915 PyObject * _argo0 = 0;
1afc06c2 2916 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2917
2918 self = self;
1afc06c2 2919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetCap",_kwnames,&_argo0))
8ab979d7 2920 return NULL;
1d99702e
RD
2921 if (_argo0) {
2922 if (_argo0 == Py_None) { _arg0 = NULL; }
2923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
2924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
2925 return NULL;
2926 }
2927 }
cf694132
RD
2928{
2929 wxPy_BEGIN_ALLOW_THREADS;
2930 _result = (int )wxPen_GetCap(_arg0);
2931
2932 wxPy_END_ALLOW_THREADS;
2933} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2934 return _resultobj;
2935}
2936
2937#define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
1afc06c2 2938static PyObject *_wrap_wxPen_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2939 PyObject * _resultobj;
2940 wxColour * _result;
2941 wxPen * _arg0;
1d99702e 2942 PyObject * _argo0 = 0;
1afc06c2 2943 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2944 char _ptemp[128];
2945
2946 self = self;
1afc06c2 2947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetColour",_kwnames,&_argo0))
8ab979d7 2948 return NULL;
1d99702e
RD
2949 if (_argo0) {
2950 if (_argo0 == Py_None) { _arg0 = NULL; }
2951 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
2952 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
2953 return NULL;
2954 }
2955 }
cf694132
RD
2956{
2957 wxPy_BEGIN_ALLOW_THREADS;
2958 wxColour & _result_ref = wxPen_GetColour(_arg0);
8ab979d7 2959 _result = (wxColour *) &_result_ref;
cf694132
RD
2960
2961 wxPy_END_ALLOW_THREADS;
1d99702e
RD
2962} if (_result) {
2963 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
2964 _resultobj = Py_BuildValue("s",_ptemp);
2965 } else {
2966 Py_INCREF(Py_None);
2967 _resultobj = Py_None;
2968 }
8ab979d7
RD
2969 return _resultobj;
2970}
2971
8ab979d7 2972#define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
1afc06c2 2973static PyObject *_wrap_wxPen_GetJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2974 PyObject * _resultobj;
2975 int _result;
2976 wxPen * _arg0;
1d99702e 2977 PyObject * _argo0 = 0;
1afc06c2 2978 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2979
2980 self = self;
1afc06c2 2981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetJoin",_kwnames,&_argo0))
8ab979d7 2982 return NULL;
1d99702e
RD
2983 if (_argo0) {
2984 if (_argo0 == Py_None) { _arg0 = NULL; }
2985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
2986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
2987 return NULL;
2988 }
2989 }
cf694132
RD
2990{
2991 wxPy_BEGIN_ALLOW_THREADS;
2992 _result = (int )wxPen_GetJoin(_arg0);
2993
2994 wxPy_END_ALLOW_THREADS;
2995} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2996 return _resultobj;
2997}
2998
2999#define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
1afc06c2 3000static PyObject *_wrap_wxPen_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3001 PyObject * _resultobj;
3002 int _result;
3003 wxPen * _arg0;
1d99702e 3004 PyObject * _argo0 = 0;
1afc06c2 3005 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3006
3007 self = self;
1afc06c2 3008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetStyle",_kwnames,&_argo0))
8ab979d7 3009 return NULL;
1d99702e
RD
3010 if (_argo0) {
3011 if (_argo0 == Py_None) { _arg0 = NULL; }
3012 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
3013 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
3014 return NULL;
3015 }
3016 }
cf694132
RD
3017{
3018 wxPy_BEGIN_ALLOW_THREADS;
3019 _result = (int )wxPen_GetStyle(_arg0);
3020
3021 wxPy_END_ALLOW_THREADS;
3022} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3023 return _resultobj;
3024}
3025
3026#define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
1afc06c2 3027static PyObject *_wrap_wxPen_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3028 PyObject * _resultobj;
3029 int _result;
3030 wxPen * _arg0;
1d99702e 3031 PyObject * _argo0 = 0;
1afc06c2 3032 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3033
3034 self = self;
1afc06c2 3035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetWidth",_kwnames,&_argo0))
8ab979d7 3036 return NULL;
1d99702e
RD
3037 if (_argo0) {
3038 if (_argo0 == Py_None) { _arg0 = NULL; }
3039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
3040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
3041 return NULL;
3042 }
3043 }
cf694132
RD
3044{
3045 wxPy_BEGIN_ALLOW_THREADS;
3046 _result = (int )wxPen_GetWidth(_arg0);
3047
3048 wxPy_END_ALLOW_THREADS;
3049} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3050 return _resultobj;
3051}
3052
3053#define wxPen_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 3054static PyObject *_wrap_wxPen_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3055 PyObject * _resultobj;
3056 bool _result;
3057 wxPen * _arg0;
1d99702e 3058 PyObject * _argo0 = 0;
1afc06c2 3059 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3060
3061 self = self;
1afc06c2 3062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_Ok",_kwnames,&_argo0))
8ab979d7 3063 return NULL;
1d99702e
RD
3064 if (_argo0) {
3065 if (_argo0 == Py_None) { _arg0 = NULL; }
3066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
3067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
3068 return NULL;
3069 }
3070 }
cf694132
RD
3071{
3072 wxPy_BEGIN_ALLOW_THREADS;
3073 _result = (bool )wxPen_Ok(_arg0);
3074
3075 wxPy_END_ALLOW_THREADS;
3076} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3077 return _resultobj;
3078}
3079
3080#define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
1afc06c2 3081static PyObject *_wrap_wxPen_SetCap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3082 PyObject * _resultobj;
3083 wxPen * _arg0;
3084 int _arg1;
1d99702e 3085 PyObject * _argo0 = 0;
1afc06c2 3086 char *_kwnames[] = { "self","cap_style", NULL };
8ab979d7
RD
3087
3088 self = self;
1afc06c2 3089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPen_SetCap",_kwnames,&_argo0,&_arg1))
8ab979d7 3090 return NULL;
1d99702e
RD
3091 if (_argo0) {
3092 if (_argo0 == Py_None) { _arg0 = NULL; }
3093 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
3094 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
3095 return NULL;
3096 }
3097 }
cf694132
RD
3098{
3099 wxPy_BEGIN_ALLOW_THREADS;
3100 wxPen_SetCap(_arg0,_arg1);
3101
3102 wxPy_END_ALLOW_THREADS;
3103} Py_INCREF(Py_None);
8ab979d7
RD
3104 _resultobj = Py_None;
3105 return _resultobj;
3106}
3107
3108#define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
1afc06c2 3109static PyObject *_wrap_wxPen_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3110 PyObject * _resultobj;
3111 wxPen * _arg0;
3112 wxColour * _arg1;
1d99702e
RD
3113 PyObject * _argo0 = 0;
3114 PyObject * _argo1 = 0;
1afc06c2 3115 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
3116
3117 self = self;
1afc06c2 3118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPen_SetColour",_kwnames,&_argo0,&_argo1))
8ab979d7 3119 return NULL;
1d99702e
RD
3120 if (_argo0) {
3121 if (_argo0 == Py_None) { _arg0 = NULL; }
3122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
8ab979d7
RD
3123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
3124 return NULL;
3125 }
3126 }
1d99702e
RD
3127 if (_argo1) {
3128 if (_argo1 == Py_None) { _arg1 = NULL; }
3129 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
8ab979d7
RD
3130 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPen_SetColour. Expected _wxColour_p.");
3131 return NULL;
3132 }
3133 }
cf694132
RD
3134{
3135 wxPy_BEGIN_ALLOW_THREADS;
3136 wxPen_SetColour(_arg0,*_arg1);
3137
3138 wxPy_END_ALLOW_THREADS;
3139} Py_INCREF(Py_None);
8ab979d7
RD
3140 _resultobj = Py_None;
3141 return _resultobj;
3142}
3143
2ea09579 3144#define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
1afc06c2 3145static PyObject *_wrap_wxPen_SetJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3146 PyObject * _resultobj;
3147 wxPen * _arg0;
3148 int _arg1;
1d99702e 3149 PyObject * _argo0 = 0;
1afc06c2 3150 char *_kwnames[] = { "self","join_style", NULL };
8ab979d7
RD
3151
3152 self = self;
1afc06c2 3153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPen_SetJoin",_kwnames,&_argo0,&_arg1))
8ab979d7 3154 return NULL;
1d99702e
RD
3155 if (_argo0) {
3156 if (_argo0 == Py_None) { _arg0 = NULL; }
3157 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579 3158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
8ab979d7
RD
3159 return NULL;
3160 }
3161 }
cf694132
RD
3162{
3163 wxPy_BEGIN_ALLOW_THREADS;
3164 wxPen_SetJoin(_arg0,_arg1);
3165
3166 wxPy_END_ALLOW_THREADS;
3167} Py_INCREF(Py_None);
2ea09579
RD
3168 _resultobj = Py_None;
3169 return _resultobj;
3170}
3171
3172#define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1afc06c2 3173static PyObject *_wrap_wxPen_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2ea09579
RD
3174 PyObject * _resultobj;
3175 wxPen * _arg0;
3176 int _arg1;
1d99702e 3177 PyObject * _argo0 = 0;
1afc06c2 3178 char *_kwnames[] = { "self","style", NULL };
2ea09579
RD
3179
3180 self = self;
1afc06c2 3181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPen_SetStyle",_kwnames,&_argo0,&_arg1))
8ab979d7 3182 return NULL;
1d99702e
RD
3183 if (_argo0) {
3184 if (_argo0 == Py_None) { _arg0 = NULL; }
3185 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579
RD
3186 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
3187 return NULL;
3188 }
8ab979d7 3189 }
cf694132
RD
3190{
3191 wxPy_BEGIN_ALLOW_THREADS;
3192 wxPen_SetStyle(_arg0,_arg1);
3193
3194 wxPy_END_ALLOW_THREADS;
3195} Py_INCREF(Py_None);
8ab979d7 3196 _resultobj = Py_None;
2ea09579 3197 return _resultobj;
8ab979d7 3198}
2ea09579
RD
3199
3200#define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1afc06c2 3201static PyObject *_wrap_wxPen_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2ea09579
RD
3202 PyObject * _resultobj;
3203 wxPen * _arg0;
3204 int _arg1;
1d99702e 3205 PyObject * _argo0 = 0;
1afc06c2 3206 char *_kwnames[] = { "self","width", NULL };
2ea09579
RD
3207
3208 self = self;
1afc06c2 3209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPen_SetWidth",_kwnames,&_argo0,&_arg1))
2ea09579 3210 return NULL;
1d99702e
RD
3211 if (_argo0) {
3212 if (_argo0 == Py_None) { _arg0 = NULL; }
3213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579
RD
3214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
3215 return NULL;
3216 }
3217 }
cf694132
RD
3218{
3219 wxPy_BEGIN_ALLOW_THREADS;
3220 wxPen_SetWidth(_arg0,_arg1);
3221
3222 wxPy_END_ALLOW_THREADS;
3223} Py_INCREF(Py_None);
2ea09579 3224 _resultobj = Py_None;
8ab979d7
RD
3225 return _resultobj;
3226}
3227
2ea09579 3228#define wxPen_GetDashes(_swigobj,_swigarg0) (_swigobj->GetDashes(_swigarg0))
1afc06c2 3229static PyObject *_wrap_wxPen_GetDashes(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3230 PyObject * _resultobj;
2ea09579 3231 int _result;
8ab979d7 3232 wxPen * _arg0;
2ea09579 3233 wxDash ** _arg1;
1d99702e
RD
3234 PyObject * _argo0 = 0;
3235 PyObject * _argo1 = 0;
1afc06c2 3236 char *_kwnames[] = { "self","dashes", NULL };
8ab979d7
RD
3237
3238 self = self;
1afc06c2 3239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPen_GetDashes",_kwnames,&_argo0,&_argo1))
8ab979d7 3240 return NULL;
1d99702e
RD
3241 if (_argo0) {
3242 if (_argo0 == Py_None) { _arg0 = NULL; }
3243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579 3244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
8ab979d7
RD
3245 return NULL;
3246 }
3247 }
1d99702e
RD
3248 if (_argo1) {
3249 if (_argo1 == Py_None) { _arg1 = NULL; }
3250 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDash_pp")) {
2ea09579 3251 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPen_GetDashes. Expected _wxDash_pp.");
8ab979d7
RD
3252 return NULL;
3253 }
3254 }
cf694132
RD
3255{
3256 wxPy_BEGIN_ALLOW_THREADS;
3257 _result = (int )wxPen_GetDashes(_arg0,_arg1);
3258
3259 wxPy_END_ALLOW_THREADS;
3260} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3261 return _resultobj;
3262}
3263
2ea09579 3264#define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
1afc06c2 3265static PyObject *_wrap_wxPen_GetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3266 PyObject * _resultobj;
2ea09579 3267 wxBitmap * _result;
8ab979d7 3268 wxPen * _arg0;
1d99702e 3269 PyObject * _argo0 = 0;
1afc06c2 3270 char *_kwnames[] = { "self", NULL };
2ea09579 3271 char _ptemp[128];
8ab979d7
RD
3272
3273 self = self;
1afc06c2 3274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPen_GetStipple",_kwnames,&_argo0))
8ab979d7 3275 return NULL;
1d99702e
RD
3276 if (_argo0) {
3277 if (_argo0 == Py_None) { _arg0 = NULL; }
3278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579 3279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetStipple. Expected _wxPen_p.");
8ab979d7
RD
3280 return NULL;
3281 }
3282 }
cf694132
RD
3283{
3284 wxPy_BEGIN_ALLOW_THREADS;
3285 _result = (wxBitmap *)wxPen_GetStipple(_arg0);
3286
3287 wxPy_END_ALLOW_THREADS;
1d99702e
RD
3288} if (_result) {
3289 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
3290 _resultobj = Py_BuildValue("s",_ptemp);
3291 } else {
3292 Py_INCREF(Py_None);
3293 _resultobj = Py_None;
3294 }
8ab979d7
RD
3295 return _resultobj;
3296}
3297
2ea09579 3298#define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
1afc06c2 3299static PyObject *_wrap_wxPen_SetDashes(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3300 PyObject * _resultobj;
3301 wxPen * _arg0;
3302 int _arg1;
2ea09579 3303 wxDash * _arg2;
1d99702e 3304 PyObject * _argo0 = 0;
2ea09579 3305 PyObject * _obj2 = 0;
1afc06c2 3306 char *_kwnames[] = { "self","LIST", NULL };
8ab979d7
RD
3307
3308 self = self;
1afc06c2 3309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPen_SetDashes",_kwnames,&_argo0,&_obj2))
8ab979d7 3310 return NULL;
1d99702e
RD
3311 if (_argo0) {
3312 if (_argo0 == Py_None) { _arg0 = NULL; }
3313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579 3314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
8ab979d7
RD
3315 return NULL;
3316 }
3317 }
2ea09579
RD
3318 if (_obj2)
3319{
3320 _arg2 = (unsigned long*)long_LIST_helper(_obj2);
3321 if (_arg2 == NULL) {
3322 return NULL;
3323 }
3324}
3325{
cf694132
RD
3326 if (_obj2) {
3327 _arg1 = PyList_Size(_obj2);
3328 }
3329 else {
3330 _arg1 = 0;
3331 }
2ea09579 3332}
cf694132
RD
3333{
3334 wxPy_BEGIN_ALLOW_THREADS;
3335 wxPen_SetDashes(_arg0,_arg1,_arg2);
3336
3337 wxPy_END_ALLOW_THREADS;
3338} Py_INCREF(Py_None);
8ab979d7 3339 _resultobj = Py_None;
2ea09579
RD
3340{
3341 delete [] _arg2;
3342}
8ab979d7
RD
3343 return _resultobj;
3344}
3345
2ea09579 3346#define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
1afc06c2 3347static PyObject *_wrap_wxPen_SetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3348 PyObject * _resultobj;
3349 wxPen * _arg0;
2ea09579 3350 wxBitmap * _arg1;
1d99702e
RD
3351 PyObject * _argo0 = 0;
3352 PyObject * _argo1 = 0;
1afc06c2 3353 char *_kwnames[] = { "self","stipple", NULL };
8ab979d7
RD
3354
3355 self = self;
1afc06c2 3356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPen_SetStipple",_kwnames,&_argo0,&_argo1))
8ab979d7 3357 return NULL;
1d99702e
RD
3358 if (_argo0) {
3359 if (_argo0 == Py_None) { _arg0 = NULL; }
3360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPen_p")) {
2ea09579 3361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
8ab979d7
RD
3362 return NULL;
3363 }
3364 }
1d99702e
RD
3365 if (_argo1) {
3366 if (_argo1 == Py_None) { _arg1 = NULL; }
3367 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
2ea09579
RD
3368 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
3369 return NULL;
3370 }
3371 }
cf694132
RD
3372{
3373 wxPy_BEGIN_ALLOW_THREADS;
3374 wxPen_SetStipple(_arg0,*_arg1);
3375
3376 wxPy_END_ALLOW_THREADS;
3377} Py_INCREF(Py_None);
8ab979d7
RD
3378 _resultobj = Py_None;
3379 return _resultobj;
3380}
3381
3382static wxBrush *new_wxBrush(wxColour *colour,int style) {
3383 return wxTheBrushList->FindOrCreateBrush(*colour, style);
3384 }
3385
1afc06c2 3386static PyObject *_wrap_new_wxBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3387 PyObject * _resultobj;
3388 wxBrush * _result;
3389 wxColour * _arg0;
1d99702e
RD
3390 int _arg1 = (int ) wxSOLID;
3391 PyObject * _argo0 = 0;
1afc06c2 3392 char *_kwnames[] = { "colour","style", NULL };
8ab979d7
RD
3393 char _ptemp[128];
3394
3395 self = self;
1afc06c2 3396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxBrush",_kwnames,&_argo0,&_arg1))
8ab979d7 3397 return NULL;
1d99702e
RD
3398 if (_argo0) {
3399 if (_argo0 == Py_None) { _arg0 = NULL; }
3400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxColour_p")) {
8ab979d7
RD
3401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBrush. Expected _wxColour_p.");
3402 return NULL;
3403 }
3404 }
cf694132
RD
3405{
3406 wxPy_BEGIN_ALLOW_THREADS;
3407 _result = (wxBrush *)new_wxBrush(_arg0,_arg1);
3408
3409 wxPy_END_ALLOW_THREADS;
1d99702e
RD
3410} if (_result) {
3411 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
3412 _resultobj = Py_BuildValue("s",_ptemp);
3413 } else {
3414 Py_INCREF(Py_None);
3415 _resultobj = Py_None;
3416 }
8ab979d7
RD
3417 return _resultobj;
3418}
3419
3420#define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
1afc06c2 3421static PyObject *_wrap_wxBrush_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3422 PyObject * _resultobj;
3423 wxColour * _result;
3424 wxBrush * _arg0;
1d99702e 3425 PyObject * _argo0 = 0;
1afc06c2 3426 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3427 char _ptemp[128];
3428
3429 self = self;
1afc06c2 3430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrush_GetColour",_kwnames,&_argo0))
8ab979d7 3431 return NULL;
1d99702e
RD
3432 if (_argo0) {
3433 if (_argo0 == Py_None) { _arg0 = NULL; }
3434 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
3435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
3436 return NULL;
3437 }
3438 }
cf694132
RD
3439{
3440 wxPy_BEGIN_ALLOW_THREADS;
3441 wxColour & _result_ref = wxBrush_GetColour(_arg0);
8ab979d7 3442 _result = (wxColour *) &_result_ref;
cf694132
RD
3443
3444 wxPy_END_ALLOW_THREADS;
1d99702e
RD
3445} if (_result) {
3446 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3447 _resultobj = Py_BuildValue("s",_ptemp);
3448 } else {
3449 Py_INCREF(Py_None);
3450 _resultobj = Py_None;
3451 }
8ab979d7
RD
3452 return _resultobj;
3453}
3454
3455#define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
1afc06c2 3456static PyObject *_wrap_wxBrush_GetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3457 PyObject * _resultobj;
3458 wxBitmap * _result;
3459 wxBrush * _arg0;
1d99702e 3460 PyObject * _argo0 = 0;
1afc06c2 3461 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3462 char _ptemp[128];
3463
3464 self = self;
1afc06c2 3465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrush_GetStipple",_kwnames,&_argo0))
8ab979d7 3466 return NULL;
1d99702e
RD
3467 if (_argo0) {
3468 if (_argo0 == Py_None) { _arg0 = NULL; }
3469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
3470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
3471 return NULL;
3472 }
3473 }
cf694132
RD
3474{
3475 wxPy_BEGIN_ALLOW_THREADS;
3476 _result = (wxBitmap *)wxBrush_GetStipple(_arg0);
3477
3478 wxPy_END_ALLOW_THREADS;
1d99702e
RD
3479} if (_result) {
3480 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
3481 _resultobj = Py_BuildValue("s",_ptemp);
3482 } else {
3483 Py_INCREF(Py_None);
3484 _resultobj = Py_None;
3485 }
8ab979d7
RD
3486 return _resultobj;
3487}
3488
3489#define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
1afc06c2 3490static PyObject *_wrap_wxBrush_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3491 PyObject * _resultobj;
3492 int _result;
3493 wxBrush * _arg0;
1d99702e 3494 PyObject * _argo0 = 0;
1afc06c2 3495 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3496
3497 self = self;
1afc06c2 3498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrush_GetStyle",_kwnames,&_argo0))
8ab979d7 3499 return NULL;
1d99702e
RD
3500 if (_argo0) {
3501 if (_argo0 == Py_None) { _arg0 = NULL; }
3502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
3503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
3504 return NULL;
3505 }
3506 }
cf694132
RD
3507{
3508 wxPy_BEGIN_ALLOW_THREADS;
3509 _result = (int )wxBrush_GetStyle(_arg0);
3510
3511 wxPy_END_ALLOW_THREADS;
3512} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3513 return _resultobj;
3514}
3515
3516#define wxBrush_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 3517static PyObject *_wrap_wxBrush_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3518 PyObject * _resultobj;
3519 bool _result;
3520 wxBrush * _arg0;
1d99702e 3521 PyObject * _argo0 = 0;
1afc06c2 3522 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3523
3524 self = self;
1afc06c2 3525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBrush_Ok",_kwnames,&_argo0))
8ab979d7 3526 return NULL;
1d99702e
RD
3527 if (_argo0) {
3528 if (_argo0 == Py_None) { _arg0 = NULL; }
3529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
3530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
3531 return NULL;
3532 }
3533 }
cf694132
RD
3534{
3535 wxPy_BEGIN_ALLOW_THREADS;
3536 _result = (bool )wxBrush_Ok(_arg0);
3537
3538 wxPy_END_ALLOW_THREADS;
3539} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3540 return _resultobj;
3541}
3542
3543#define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
1afc06c2 3544static PyObject *_wrap_wxBrush_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3545 PyObject * _resultobj;
3546 wxBrush * _arg0;
3547 wxColour * _arg1;
1d99702e
RD
3548 PyObject * _argo0 = 0;
3549 PyObject * _argo1 = 0;
1afc06c2 3550 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
3551
3552 self = self;
1afc06c2 3553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBrush_SetColour",_kwnames,&_argo0,&_argo1))
8ab979d7 3554 return NULL;
1d99702e
RD
3555 if (_argo0) {
3556 if (_argo0 == Py_None) { _arg0 = NULL; }
3557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
3558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
3559 return NULL;
3560 }
3561 }
1d99702e
RD
3562 if (_argo1) {
3563 if (_argo1 == Py_None) { _arg1 = NULL; }
3564 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
8ab979d7
RD
3565 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBrush_SetColour. Expected _wxColour_p.");
3566 return NULL;
3567 }
3568 }
cf694132
RD
3569{
3570 wxPy_BEGIN_ALLOW_THREADS;
3571 wxBrush_SetColour(_arg0,*_arg1);
3572
3573 wxPy_END_ALLOW_THREADS;
3574} Py_INCREF(Py_None);
8ab979d7
RD
3575 _resultobj = Py_None;
3576 return _resultobj;
3577}
3578
3579#define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
1afc06c2 3580static PyObject *_wrap_wxBrush_SetStipple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3581 PyObject * _resultobj;
3582 wxBrush * _arg0;
3583 wxBitmap * _arg1;
1d99702e
RD
3584 PyObject * _argo0 = 0;
3585 PyObject * _argo1 = 0;
1afc06c2 3586 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
3587
3588 self = self;
1afc06c2 3589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBrush_SetStipple",_kwnames,&_argo0,&_argo1))
8ab979d7 3590 return NULL;
1d99702e
RD
3591 if (_argo0) {
3592 if (_argo0 == Py_None) { _arg0 = NULL; }
3593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
3594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
3595 return NULL;
3596 }
3597 }
1d99702e
RD
3598 if (_argo1) {
3599 if (_argo1 == Py_None) { _arg1 = NULL; }
3600 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
3601 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
3602 return NULL;
3603 }
3604 }
cf694132
RD
3605{
3606 wxPy_BEGIN_ALLOW_THREADS;
3607 wxBrush_SetStipple(_arg0,*_arg1);
3608
3609 wxPy_END_ALLOW_THREADS;
3610} Py_INCREF(Py_None);
8ab979d7
RD
3611 _resultobj = Py_None;
3612 return _resultobj;
3613}
3614
3615#define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1afc06c2 3616static PyObject *_wrap_wxBrush_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3617 PyObject * _resultobj;
3618 wxBrush * _arg0;
3619 int _arg1;
1d99702e 3620 PyObject * _argo0 = 0;
1afc06c2 3621 char *_kwnames[] = { "self","style", NULL };
8ab979d7
RD
3622
3623 self = self;
1afc06c2 3624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBrush_SetStyle",_kwnames,&_argo0,&_arg1))
8ab979d7 3625 return NULL;
1d99702e
RD
3626 if (_argo0) {
3627 if (_argo0 == Py_None) { _arg0 = NULL; }
3628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBrush_p")) {
8ab979d7
RD
3629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
3630 return NULL;
3631 }
3632 }
cf694132
RD
3633{
3634 wxPy_BEGIN_ALLOW_THREADS;
3635 wxBrush_SetStyle(_arg0,_arg1);
3636
3637 wxPy_END_ALLOW_THREADS;
3638} Py_INCREF(Py_None);
8ab979d7
RD
3639 _resultobj = Py_None;
3640 return _resultobj;
3641}
3642
3643#define delete_wxDC(_swigobj) (delete _swigobj)
1afc06c2 3644static PyObject *_wrap_delete_wxDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3645 PyObject * _resultobj;
3646 wxDC * _arg0;
1d99702e 3647 PyObject * _argo0 = 0;
1afc06c2 3648 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3649
3650 self = self;
1afc06c2 3651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxDC",_kwnames,&_argo0))
8ab979d7 3652 return NULL;
1d99702e
RD
3653 if (_argo0) {
3654 if (_argo0 == Py_None) { _arg0 = NULL; }
3655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
3656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
3657 return NULL;
3658 }
3659 }
cf694132
RD
3660{
3661 wxPy_BEGIN_ALLOW_THREADS;
3662 delete_wxDC(_arg0);
3663
3664 wxPy_END_ALLOW_THREADS;
3665} Py_INCREF(Py_None);
8ab979d7
RD
3666 _resultobj = Py_None;
3667 return _resultobj;
3668}
3669
3670#define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
1afc06c2 3671static PyObject *_wrap_wxDC_BeginDrawing(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3672 PyObject * _resultobj;
3673 wxDC * _arg0;
1d99702e 3674 PyObject * _argo0 = 0;
1afc06c2 3675 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3676
3677 self = self;
1afc06c2 3678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_BeginDrawing",_kwnames,&_argo0))
8ab979d7 3679 return NULL;
1d99702e
RD
3680 if (_argo0) {
3681 if (_argo0 == Py_None) { _arg0 = NULL; }
3682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
3683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
3684 return NULL;
3685 }
3686 }
cf694132
RD
3687{
3688 wxPy_BEGIN_ALLOW_THREADS;
3689 wxDC_BeginDrawing(_arg0);
3690
3691 wxPy_END_ALLOW_THREADS;
3692} Py_INCREF(Py_None);
8ab979d7
RD
3693 _resultobj = Py_None;
3694 return _resultobj;
3695}
3696
efc5f224 3697#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 3698static PyObject *_wrap_wxDC_Blit(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3699 PyObject * _resultobj;
3700 bool _result;
3701 wxDC * _arg0;
3702 long _arg1;
3703 long _arg2;
3704 long _arg3;
3705 long _arg4;
3706 wxDC * _arg5;
3707 long _arg6;
3708 long _arg7;
efc5f224
RD
3709 int _arg8 = (int ) wxCOPY;
3710 int _arg9 = (int ) FALSE;
1d99702e
RD
3711 PyObject * _argo0 = 0;
3712 PyObject * _argo5 = 0;
1afc06c2 3713 char *_kwnames[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL };
8ab979d7
RD
3714
3715 self = self;
1afc06c2 3716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllllOll|ii:wxDC_Blit",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_argo5,&_arg6,&_arg7,&_arg8,&_arg9))
8ab979d7 3717 return NULL;
1d99702e
RD
3718 if (_argo0) {
3719 if (_argo0 == Py_None) { _arg0 = NULL; }
3720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
3721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
3722 return NULL;
3723 }
3724 }
1d99702e
RD
3725 if (_argo5) {
3726 if (_argo5 == Py_None) { _arg5 = NULL; }
3727 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxDC_p")) {
8ab979d7
RD
3728 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
3729 return NULL;
3730 }
3731 }
cf694132
RD
3732{
3733 wxPy_BEGIN_ALLOW_THREADS;
efc5f224 3734 _result = (bool )wxDC_Blit(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
cf694132
RD
3735
3736 wxPy_END_ALLOW_THREADS;
3737} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3738 return _resultobj;
3739}
3740
3741#define wxDC_Clear(_swigobj) (_swigobj->Clear())
1afc06c2 3742static PyObject *_wrap_wxDC_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3743 PyObject * _resultobj;
3744 wxDC * _arg0;
1d99702e 3745 PyObject * _argo0 = 0;
1afc06c2 3746 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3747
3748 self = self;
1afc06c2 3749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_Clear",_kwnames,&_argo0))
8ab979d7 3750 return NULL;
1d99702e
RD
3751 if (_argo0) {
3752 if (_argo0 == Py_None) { _arg0 = NULL; }
3753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
3754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
3755 return NULL;
3756 }
3757 }
cf694132
RD
3758{
3759 wxPy_BEGIN_ALLOW_THREADS;
3760 wxDC_Clear(_arg0);
3761
3762 wxPy_END_ALLOW_THREADS;
3763} Py_INCREF(Py_None);
8ab979d7
RD
3764 _resultobj = Py_None;
3765 return _resultobj;
3766}
3767
3768#define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
1afc06c2 3769static PyObject *_wrap_wxDC_CrossHair(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3770 PyObject * _resultobj;
3771 wxDC * _arg0;
3772 long _arg1;
3773 long _arg2;
1d99702e 3774 PyObject * _argo0 = 0;
1afc06c2 3775 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
3776
3777 self = self;
1afc06c2 3778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxDC_CrossHair",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3779 return NULL;
1d99702e
RD
3780 if (_argo0) {
3781 if (_argo0 == Py_None) { _arg0 = NULL; }
3782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
3783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
3784 return NULL;
3785 }
3786 }
cf694132
RD
3787{
3788 wxPy_BEGIN_ALLOW_THREADS;
3789 wxDC_CrossHair(_arg0,_arg1,_arg2);
3790
3791 wxPy_END_ALLOW_THREADS;
3792} Py_INCREF(Py_None);
8ab979d7
RD
3793 _resultobj = Py_None;
3794 return _resultobj;
3795}
3796
3797#define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
1afc06c2 3798static PyObject *_wrap_wxDC_DestroyClippingRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3799 PyObject * _resultobj;
3800 wxDC * _arg0;
1d99702e 3801 PyObject * _argo0 = 0;
1afc06c2 3802 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3803
3804 self = self;
1afc06c2 3805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_DestroyClippingRegion",_kwnames,&_argo0))
8ab979d7 3806 return NULL;
1d99702e
RD
3807 if (_argo0) {
3808 if (_argo0 == Py_None) { _arg0 = NULL; }
3809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
3810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
3811 return NULL;
3812 }
3813 }
cf694132
RD
3814{
3815 wxPy_BEGIN_ALLOW_THREADS;
3816 wxDC_DestroyClippingRegion(_arg0);
3817
3818 wxPy_END_ALLOW_THREADS;
3819} Py_INCREF(Py_None);
8ab979d7
RD
3820 _resultobj = Py_None;
3821 return _resultobj;
3822}
3823
3824#define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
1afc06c2 3825static PyObject *_wrap_wxDC_DeviceToLogicalX(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3826 PyObject * _resultobj;
3827 long _result;
3828 wxDC * _arg0;
3829 long _arg1;
1d99702e 3830 PyObject * _argo0 = 0;
1afc06c2 3831 char *_kwnames[] = { "self","x", NULL };
8ab979d7
RD
3832
3833 self = self;
1afc06c2 3834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_DeviceToLogicalX",_kwnames,&_argo0,&_arg1))
8ab979d7 3835 return NULL;
1d99702e
RD
3836 if (_argo0) {
3837 if (_argo0 == Py_None) { _arg0 = NULL; }
3838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
3839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
3840 return NULL;
3841 }
3842 }
cf694132
RD
3843{
3844 wxPy_BEGIN_ALLOW_THREADS;
3845 _result = (long )wxDC_DeviceToLogicalX(_arg0,_arg1);
3846
3847 wxPy_END_ALLOW_THREADS;
3848} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3849 return _resultobj;
3850}
3851
3852#define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
1afc06c2 3853static PyObject *_wrap_wxDC_DeviceToLogicalXRel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3854 PyObject * _resultobj;
3855 long _result;
3856 wxDC * _arg0;
3857 long _arg1;
1d99702e 3858 PyObject * _argo0 = 0;
1afc06c2 3859 char *_kwnames[] = { "self","x", NULL };
8ab979d7
RD
3860
3861 self = self;
1afc06c2 3862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_DeviceToLogicalXRel",_kwnames,&_argo0,&_arg1))
8ab979d7 3863 return NULL;
1d99702e
RD
3864 if (_argo0) {
3865 if (_argo0 == Py_None) { _arg0 = NULL; }
3866 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
3867 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
3868 return NULL;
3869 }
3870 }
cf694132
RD
3871{
3872 wxPy_BEGIN_ALLOW_THREADS;
3873 _result = (long )wxDC_DeviceToLogicalXRel(_arg0,_arg1);
3874
3875 wxPy_END_ALLOW_THREADS;
3876} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3877 return _resultobj;
3878}
3879
3880#define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
1afc06c2 3881static PyObject *_wrap_wxDC_DeviceToLogicalY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3882 PyObject * _resultobj;
3883 long _result;
3884 wxDC * _arg0;
3885 long _arg1;
1d99702e 3886 PyObject * _argo0 = 0;
1afc06c2 3887 char *_kwnames[] = { "self","y", NULL };
8ab979d7
RD
3888
3889 self = self;
1afc06c2 3890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_DeviceToLogicalY",_kwnames,&_argo0,&_arg1))
8ab979d7 3891 return NULL;
1d99702e
RD
3892 if (_argo0) {
3893 if (_argo0 == Py_None) { _arg0 = NULL; }
3894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
3895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
3896 return NULL;
3897 }
3898 }
cf694132
RD
3899{
3900 wxPy_BEGIN_ALLOW_THREADS;
3901 _result = (long )wxDC_DeviceToLogicalY(_arg0,_arg1);
3902
3903 wxPy_END_ALLOW_THREADS;
3904} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3905 return _resultobj;
3906}
3907
3908#define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
1afc06c2 3909static PyObject *_wrap_wxDC_DeviceToLogicalYRel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3910 PyObject * _resultobj;
3911 long _result;
3912 wxDC * _arg0;
3913 long _arg1;
1d99702e 3914 PyObject * _argo0 = 0;
1afc06c2 3915 char *_kwnames[] = { "self","y", NULL };
8ab979d7
RD
3916
3917 self = self;
1afc06c2 3918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_DeviceToLogicalYRel",_kwnames,&_argo0,&_arg1))
8ab979d7 3919 return NULL;
1d99702e
RD
3920 if (_argo0) {
3921 if (_argo0 == Py_None) { _arg0 = NULL; }
3922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
3923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
3924 return NULL;
3925 }
3926 }
cf694132
RD
3927{
3928 wxPy_BEGIN_ALLOW_THREADS;
3929 _result = (long )wxDC_DeviceToLogicalYRel(_arg0,_arg1);
3930
3931 wxPy_END_ALLOW_THREADS;
3932} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3933 return _resultobj;
3934}
3935
3936#define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1afc06c2 3937static PyObject *_wrap_wxDC_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3938 PyObject * _resultobj;
3939 wxDC * _arg0;
3940 long _arg1;
3941 long _arg2;
3942 long _arg3;
3943 long _arg4;
3944 long _arg5;
3945 long _arg6;
1d99702e 3946 PyObject * _argo0 = 0;
1afc06c2 3947 char *_kwnames[] = { "self","x1","y1","x2","y2","xc","yc", NULL };
8ab979d7
RD
3948
3949 self = self;
1afc06c2 3950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollllll:wxDC_DrawArc",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
8ab979d7 3951 return NULL;
1d99702e
RD
3952 if (_argo0) {
3953 if (_argo0 == Py_None) { _arg0 = NULL; }
3954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
3955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
3956 return NULL;
3957 }
3958 }
cf694132
RD
3959{
3960 wxPy_BEGIN_ALLOW_THREADS;
3961 wxDC_DrawArc(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3962
3963 wxPy_END_ALLOW_THREADS;
3964} Py_INCREF(Py_None);
8ab979d7
RD
3965 _resultobj = Py_None;
3966 return _resultobj;
3967}
3968
bb0054cd 3969#define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 3970static PyObject *_wrap_wxDC_DrawCircle(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
3971 PyObject * _resultobj;
3972 wxDC * _arg0;
3973 long _arg1;
3974 long _arg2;
3975 long _arg3;
1d99702e 3976 PyObject * _argo0 = 0;
1afc06c2 3977 char *_kwnames[] = { "self","x","y","radius", NULL };
bb0054cd
RD
3978
3979 self = self;
1afc06c2 3980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olll:wxDC_DrawCircle",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
bb0054cd 3981 return NULL;
1d99702e
RD
3982 if (_argo0) {
3983 if (_argo0 == Py_None) { _arg0 = NULL; }
3984 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
bb0054cd
RD
3985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
3986 return NULL;
3987 }
3988 }
3989{
3990 wxPy_BEGIN_ALLOW_THREADS;
3991 wxDC_DrawCircle(_arg0,_arg1,_arg2,_arg3);
3992
3993 wxPy_END_ALLOW_THREADS;
3994} Py_INCREF(Py_None);
3995 _resultobj = Py_None;
3996 return _resultobj;
3997}
3998
8ab979d7 3999#define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 4000static PyObject *_wrap_wxDC_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4001 PyObject * _resultobj;
4002 wxDC * _arg0;
4003 long _arg1;
4004 long _arg2;
4005 long _arg3;
4006 long _arg4;
1d99702e 4007 PyObject * _argo0 = 0;
1afc06c2 4008 char *_kwnames[] = { "self","x","y","width","height", NULL };
8ab979d7
RD
4009
4010 self = self;
1afc06c2 4011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxDC_DrawEllipse",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8ab979d7 4012 return NULL;
1d99702e
RD
4013 if (_argo0) {
4014 if (_argo0 == Py_None) { _arg0 = NULL; }
4015 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
4016 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
4017 return NULL;
4018 }
4019 }
cf694132
RD
4020{
4021 wxPy_BEGIN_ALLOW_THREADS;
4022 wxDC_DrawEllipse(_arg0,_arg1,_arg2,_arg3,_arg4);
4023
4024 wxPy_END_ALLOW_THREADS;
4025} Py_INCREF(Py_None);
8ab979d7
RD
4026 _resultobj = Py_None;
4027 return _resultobj;
4028}
4029
4030#define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1afc06c2 4031static PyObject *_wrap_wxDC_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4032 PyObject * _resultobj;
4033 wxDC * _arg0;
4034 long _arg1;
4035 long _arg2;
4036 long _arg3;
4037 long _arg4;
4038 long _arg5;
4039 long _arg6;
1d99702e 4040 PyObject * _argo0 = 0;
1afc06c2 4041 char *_kwnames[] = { "self","x","y","width","height","start","end", NULL };
8ab979d7
RD
4042
4043 self = self;
1afc06c2 4044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollllll:wxDC_DrawEllipticArc",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
8ab979d7 4045 return NULL;
1d99702e
RD
4046 if (_argo0) {
4047 if (_argo0 == Py_None) { _arg0 = NULL; }
4048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
4049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
4050 return NULL;
4051 }
4052 }
cf694132
RD
4053{
4054 wxPy_BEGIN_ALLOW_THREADS;
4055 wxDC_DrawEllipticArc(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
4056
4057 wxPy_END_ALLOW_THREADS;
4058} Py_INCREF(Py_None);
8ab979d7
RD
4059 _resultobj = Py_None;
4060 return _resultobj;
4061}
4062
4063#define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 4064static PyObject *_wrap_wxDC_DrawIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4065 PyObject * _resultobj;
4066 wxDC * _arg0;
4067 wxIcon * _arg1;
4068 long _arg2;
4069 long _arg3;
1d99702e
RD
4070 PyObject * _argo0 = 0;
4071 PyObject * _argo1 = 0;
1afc06c2 4072 char *_kwnames[] = { "self","icon","x","y", NULL };
8ab979d7
RD
4073
4074 self = self;
1afc06c2 4075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOll:wxDC_DrawIcon",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
8ab979d7 4076 return NULL;
1d99702e
RD
4077 if (_argo0) {
4078 if (_argo0 == Py_None) { _arg0 = NULL; }
4079 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
4080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
4081 return NULL;
4082 }
4083 }
1d99702e
RD
4084 if (_argo1) {
4085 if (_argo1 == Py_None) { _arg1 = NULL; }
4086 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
8ab979d7
RD
4087 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
4088 return NULL;
4089 }
4090 }
cf694132
RD
4091{
4092 wxPy_BEGIN_ALLOW_THREADS;
4093 wxDC_DrawIcon(_arg0,*_arg1,_arg2,_arg3);
4094
4095 wxPy_END_ALLOW_THREADS;
4096} Py_INCREF(Py_None);
8ab979d7
RD
4097 _resultobj = Py_None;
4098 return _resultobj;
4099}
4100
4101#define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 4102static PyObject *_wrap_wxDC_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4103 PyObject * _resultobj;
4104 wxDC * _arg0;
4105 long _arg1;
4106 long _arg2;
4107 long _arg3;
4108 long _arg4;
1d99702e 4109 PyObject * _argo0 = 0;
1afc06c2 4110 char *_kwnames[] = { "self","x1","y1","x2","y2", NULL };
8ab979d7
RD
4111
4112 self = self;
1afc06c2 4113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxDC_DrawLine",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8ab979d7 4114 return NULL;
1d99702e
RD
4115 if (_argo0) {
4116 if (_argo0 == Py_None) { _arg0 = NULL; }
4117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
4118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
4119 return NULL;
4120 }
4121 }
cf694132
RD
4122{
4123 wxPy_BEGIN_ALLOW_THREADS;
4124 wxDC_DrawLine(_arg0,_arg1,_arg2,_arg3,_arg4);
4125
4126 wxPy_END_ALLOW_THREADS;
4127} Py_INCREF(Py_None);
8ab979d7
RD
4128 _resultobj = Py_None;
4129 return _resultobj;
4130}
4131
4132#define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 4133static PyObject *_wrap_wxDC_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4134 PyObject * _resultobj;
4135 wxDC * _arg0;
4136 int _arg1;
4137 wxPoint * _arg2;
1d99702e
RD
4138 long _arg3 = (long ) 0;
4139 long _arg4 = (long ) 0;
4140 PyObject * _argo0 = 0;
8ab979d7 4141 PyObject * _obj2 = 0;
1afc06c2 4142 char *_kwnames[] = { "self","LIST","xoffset","yoffset", NULL };
8ab979d7
RD
4143
4144 self = self;
1afc06c2 4145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ll:wxDC_DrawLines",_kwnames,&_argo0,&_obj2,&_arg3,&_arg4))
8ab979d7 4146 return NULL;
1d99702e
RD
4147 if (_argo0) {
4148 if (_argo0 == Py_None) { _arg0 = NULL; }
4149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
4150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
4151 return NULL;
4152 }
4153 }
4154 if (_obj2)
4155{
4156 _arg2 = wxPoint_LIST_helper(_obj2);
4157 if (_arg2 == NULL) {
4158 return NULL;
4159 }
4160}
4161{
cf694132
RD
4162 if (_obj2) {
4163 _arg1 = PyList_Size(_obj2);
4164 }
4165 else {
4166 _arg1 = 0;
4167 }
8ab979d7 4168}
cf694132
RD
4169{
4170 wxPy_BEGIN_ALLOW_THREADS;
4171 wxDC_DrawLines(_arg0,_arg1,_arg2,_arg3,_arg4);
4172
4173 wxPy_END_ALLOW_THREADS;
4174} Py_INCREF(Py_None);
8ab979d7
RD
4175 _resultobj = Py_None;
4176{
4177 delete [] _arg2;
4178}
4179 return _resultobj;
4180}
4181
4182#define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1afc06c2 4183static PyObject *_wrap_wxDC_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4184 PyObject * _resultobj;
4185 wxDC * _arg0;
4186 int _arg1;
4187 wxPoint * _arg2;
1d99702e
RD
4188 long _arg3 = (long ) 0;
4189 long _arg4 = (long ) 0;
4190 int _arg5 = (int ) wxODDEVEN_RULE;
4191 PyObject * _argo0 = 0;
8ab979d7 4192 PyObject * _obj2 = 0;
1afc06c2 4193 char *_kwnames[] = { "self","LIST","xoffset","yoffset","fill_style", NULL };
8ab979d7
RD
4194
4195 self = self;
1afc06c2 4196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|lli:wxDC_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3,&_arg4,&_arg5))
8ab979d7 4197 return NULL;
1d99702e
RD
4198 if (_argo0) {
4199 if (_argo0 == Py_None) { _arg0 = NULL; }
4200 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
4201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
4202 return NULL;
4203 }
4204 }
4205 if (_obj2)
4206{
4207 _arg2 = wxPoint_LIST_helper(_obj2);
4208 if (_arg2 == NULL) {
4209 return NULL;
4210 }
4211}
4212{
cf694132
RD
4213 if (_obj2) {
4214 _arg1 = PyList_Size(_obj2);
4215 }
4216 else {
4217 _arg1 = 0;
4218 }
8ab979d7 4219}
cf694132
RD
4220{
4221 wxPy_BEGIN_ALLOW_THREADS;
4222 wxDC_DrawPolygon(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4223
4224 wxPy_END_ALLOW_THREADS;
4225} Py_INCREF(Py_None);
8ab979d7
RD
4226 _resultobj = Py_None;
4227{
4228 delete [] _arg2;
4229}
4230 return _resultobj;
4231}
4232
4233#define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
1afc06c2 4234static PyObject *_wrap_wxDC_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4235 PyObject * _resultobj;
4236 wxDC * _arg0;
4237 long _arg1;
4238 long _arg2;
1d99702e 4239 PyObject * _argo0 = 0;
1afc06c2 4240 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
4241
4242 self = self;
1afc06c2 4243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxDC_DrawPoint",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4244 return NULL;
1d99702e
RD
4245 if (_argo0) {
4246 if (_argo0 == Py_None) { _arg0 = NULL; }
4247 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
4248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
4249 return NULL;
4250 }
4251 }
cf694132
RD
4252{
4253 wxPy_BEGIN_ALLOW_THREADS;
4254 wxDC_DrawPoint(_arg0,_arg1,_arg2);
4255
4256 wxPy_END_ALLOW_THREADS;
4257} Py_INCREF(Py_None);
8ab979d7
RD
4258 _resultobj = Py_None;
4259 return _resultobj;
4260}
4261
4262#define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 4263static PyObject *_wrap_wxDC_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4264 PyObject * _resultobj;
4265 wxDC * _arg0;
4266 long _arg1;
4267 long _arg2;
4268 long _arg3;
4269 long _arg4;
1d99702e 4270 PyObject * _argo0 = 0;
1afc06c2 4271 char *_kwnames[] = { "self","x","y","width","height", NULL };
8ab979d7
RD
4272
4273 self = self;
1afc06c2 4274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxDC_DrawRectangle",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8ab979d7 4275 return NULL;
1d99702e
RD
4276 if (_argo0) {
4277 if (_argo0 == Py_None) { _arg0 = NULL; }
4278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
4279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
4280 return NULL;
4281 }
4282 }
cf694132
RD
4283{
4284 wxPy_BEGIN_ALLOW_THREADS;
4285 wxDC_DrawRectangle(_arg0,_arg1,_arg2,_arg3,_arg4);
4286
4287 wxPy_END_ALLOW_THREADS;
4288} Py_INCREF(Py_None);
8ab979d7
RD
4289 _resultobj = Py_None;
4290 return _resultobj;
4291}
4292
4293#define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1afc06c2 4294static PyObject *_wrap_wxDC_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4295 PyObject * _resultobj;
4296 wxDC * _arg0;
4297 long _arg1;
4298 long _arg2;
4299 long _arg3;
4300 long _arg4;
1d99702e
RD
4301 long _arg5 = (long ) 20;
4302 PyObject * _argo0 = 0;
1afc06c2 4303 char *_kwnames[] = { "self","x","y","width","height","radius", NULL };
8ab979d7
RD
4304
4305 self = self;
1afc06c2 4306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
8ab979d7 4307 return NULL;
1d99702e
RD
4308 if (_argo0) {
4309 if (_argo0 == Py_None) { _arg0 = NULL; }
4310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
4311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
4312 return NULL;
4313 }
4314 }
cf694132
RD
4315{
4316 wxPy_BEGIN_ALLOW_THREADS;
4317 wxDC_DrawRoundedRectangle(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4318
4319 wxPy_END_ALLOW_THREADS;
4320} Py_INCREF(Py_None);
8ab979d7
RD
4321 _resultobj = Py_None;
4322 return _resultobj;
4323}
4324
4325#define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
1afc06c2 4326static PyObject *_wrap_wxDC_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4327 PyObject * _resultobj;
4328 wxDC * _arg0;
4329 int _arg1;
4330 wxPoint * _arg2;
1d99702e 4331 PyObject * _argo0 = 0;
8ab979d7 4332 PyObject * _obj2 = 0;
1afc06c2 4333 char *_kwnames[] = { "self","LIST", NULL };
8ab979d7
RD
4334
4335 self = self;
1afc06c2 4336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_DrawSpline",_kwnames,&_argo0,&_obj2))
8ab979d7 4337 return NULL;
1d99702e
RD
4338 if (_argo0) {
4339 if (_argo0 == Py_None) { _arg0 = NULL; }
4340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
4341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
4342 return NULL;
4343 }
4344 }
4345 if (_obj2)
4346{
4347 _arg2 = wxPoint_LIST_helper(_obj2);
4348 if (_arg2 == NULL) {
4349 return NULL;
4350 }
4351}
4352{
cf694132
RD
4353 if (_obj2) {
4354 _arg1 = PyList_Size(_obj2);
4355 }
4356 else {
4357 _arg1 = 0;
4358 }
8ab979d7 4359}
cf694132
RD
4360{
4361 wxPy_BEGIN_ALLOW_THREADS;
4362 wxDC_DrawSpline(_arg0,_arg1,_arg2);
4363
4364 wxPy_END_ALLOW_THREADS;
4365} Py_INCREF(Py_None);
8ab979d7
RD
4366 _resultobj = Py_None;
4367{
4368 delete [] _arg2;
4369}
4370 return _resultobj;
4371}
4372
4373#define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 4374static PyObject *_wrap_wxDC_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4375 PyObject * _resultobj;
4376 wxDC * _arg0;
4377 wxString * _arg1;
4378 long _arg2;
4379 long _arg3;
1d99702e 4380 PyObject * _argo0 = 0;
8ab979d7 4381 PyObject * _obj1 = 0;
1afc06c2 4382 char *_kwnames[] = { "self","text","x","y", NULL };
8ab979d7
RD
4383
4384 self = self;
1afc06c2 4385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOll:wxDC_DrawText",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
8ab979d7 4386 return NULL;
1d99702e
RD
4387 if (_argo0) {
4388 if (_argo0 == Py_None) { _arg0 = NULL; }
4389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
4390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
4391 return NULL;
4392 }
4393 }
4394{
4395 if (!PyString_Check(_obj1)) {
4396 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4397 return NULL;
4398 }
cf694132 4399 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
8ab979d7 4400}
cf694132
RD
4401{
4402 wxPy_BEGIN_ALLOW_THREADS;
4403 wxDC_DrawText(_arg0,*_arg1,_arg2,_arg3);
4404
4405 wxPy_END_ALLOW_THREADS;
4406} Py_INCREF(Py_None);
8ab979d7
RD
4407 _resultobj = Py_None;
4408{
4409 if (_obj1)
4410 delete _arg1;
4411}
4412 return _resultobj;
4413}
4414
4415#define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
1afc06c2 4416static PyObject *_wrap_wxDC_EndDoc(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4417 PyObject * _resultobj;
4418 wxDC * _arg0;
1d99702e 4419 PyObject * _argo0 = 0;
1afc06c2 4420 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4421
4422 self = self;
1afc06c2 4423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_EndDoc",_kwnames,&_argo0))
8ab979d7 4424 return NULL;
1d99702e
RD
4425 if (_argo0) {
4426 if (_argo0 == Py_None) { _arg0 = NULL; }
4427 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
4428 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
4429 return NULL;
4430 }
4431 }
cf694132
RD
4432{
4433 wxPy_BEGIN_ALLOW_THREADS;
4434 wxDC_EndDoc(_arg0);
4435
4436 wxPy_END_ALLOW_THREADS;
4437} Py_INCREF(Py_None);
8ab979d7
RD
4438 _resultobj = Py_None;
4439 return _resultobj;
4440}
4441
4442#define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
1afc06c2 4443static PyObject *_wrap_wxDC_EndDrawing(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4444 PyObject * _resultobj;
4445 wxDC * _arg0;
1d99702e 4446 PyObject * _argo0 = 0;
1afc06c2 4447 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4448
4449 self = self;
1afc06c2 4450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_EndDrawing",_kwnames,&_argo0))
8ab979d7 4451 return NULL;
1d99702e
RD
4452 if (_argo0) {
4453 if (_argo0 == Py_None) { _arg0 = NULL; }
4454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
4455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
4456 return NULL;
4457 }
4458 }
cf694132
RD
4459{
4460 wxPy_BEGIN_ALLOW_THREADS;
4461 wxDC_EndDrawing(_arg0);
4462
4463 wxPy_END_ALLOW_THREADS;
4464} Py_INCREF(Py_None);
8ab979d7
RD
4465 _resultobj = Py_None;
4466 return _resultobj;
4467}
4468
4469#define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
1afc06c2 4470static PyObject *_wrap_wxDC_EndPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4471 PyObject * _resultobj;
4472 wxDC * _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:wxDC_EndPage",_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,"_wxDC_p")) {
8ab979d7
RD
4482 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
4483 return NULL;
4484 }
4485 }
cf694132
RD
4486{
4487 wxPy_BEGIN_ALLOW_THREADS;
4488 wxDC_EndPage(_arg0);
4489
4490 wxPy_END_ALLOW_THREADS;
4491} Py_INCREF(Py_None);
8ab979d7
RD
4492 _resultobj = Py_None;
4493 return _resultobj;
4494}
4495
be4d9c1f 4496#define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 4497static PyObject *_wrap_wxDC_FloodFill(PyObject *self, PyObject *args, PyObject *kwargs) {
be4d9c1f
RD
4498 PyObject * _resultobj;
4499 wxDC * _arg0;
4500 long _arg1;
4501 long _arg2;
4502 wxColour * _arg3;
1d99702e
RD
4503 int _arg4 = (int ) wxFLOOD_SURFACE;
4504 PyObject * _argo0 = 0;
4505 PyObject * _argo3 = 0;
1afc06c2 4506 char *_kwnames[] = { "self","x","y","colour","style", NULL };
be4d9c1f
RD
4507
4508 self = self;
1afc06c2 4509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO|i:wxDC_FloodFill",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_arg4))
be4d9c1f 4510 return NULL;
1d99702e
RD
4511 if (_argo0) {
4512 if (_argo0 == Py_None) { _arg0 = NULL; }
4513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
be4d9c1f
RD
4514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
4515 return NULL;
4516 }
4517 }
1d99702e
RD
4518 if (_argo3) {
4519 if (_argo3 == Py_None) { _arg3 = NULL; }
4520 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxColour_p")) {
be4d9c1f
RD
4521 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxDC_FloodFill. Expected _wxColour_p.");
4522 return NULL;
4523 }
4524 }
cf694132
RD
4525{
4526 wxPy_BEGIN_ALLOW_THREADS;
4527 wxDC_FloodFill(_arg0,_arg1,_arg2,*_arg3,_arg4);
4528
4529 wxPy_END_ALLOW_THREADS;
4530} Py_INCREF(Py_None);
be4d9c1f
RD
4531 _resultobj = Py_None;
4532 return _resultobj;
4533}
4534
8ab979d7 4535#define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
1afc06c2 4536static PyObject *_wrap_wxDC_GetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4537 PyObject * _resultobj;
4538 wxBrush * _result;
4539 wxDC * _arg0;
1d99702e 4540 PyObject * _argo0 = 0;
1afc06c2 4541 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4542 char _ptemp[128];
4543
4544 self = self;
1afc06c2 4545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetBackground",_kwnames,&_argo0))
8ab979d7 4546 return NULL;
1d99702e
RD
4547 if (_argo0) {
4548 if (_argo0 == Py_None) { _arg0 = NULL; }
4549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
4550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
4551 return NULL;
4552 }
4553 }
cf694132
RD
4554{
4555 wxPy_BEGIN_ALLOW_THREADS;
4556 wxBrush & _result_ref = wxDC_GetBackground(_arg0);
b8b8dda7 4557 _result = (wxBrush *) &_result_ref;
cf694132
RD
4558
4559 wxPy_END_ALLOW_THREADS;
1d99702e
RD
4560} if (_result) {
4561 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
4562 _resultobj = Py_BuildValue("s",_ptemp);
4563 } else {
4564 Py_INCREF(Py_None);
4565 _resultobj = Py_None;
4566 }
8ab979d7
RD
4567 return _resultobj;
4568}
4569
4570#define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
1afc06c2 4571static PyObject *_wrap_wxDC_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4572 PyObject * _resultobj;
4573 wxBrush * _result;
4574 wxDC * _arg0;
1d99702e 4575 PyObject * _argo0 = 0;
1afc06c2 4576 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4577 char _ptemp[128];
4578
4579 self = self;
1afc06c2 4580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetBrush",_kwnames,&_argo0))
8ab979d7 4581 return NULL;
1d99702e
RD
4582 if (_argo0) {
4583 if (_argo0 == Py_None) { _arg0 = NULL; }
4584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
4585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
4586 return NULL;
4587 }
4588 }
cf694132
RD
4589{
4590 wxPy_BEGIN_ALLOW_THREADS;
4591 wxBrush & _result_ref = wxDC_GetBrush(_arg0);
b8b8dda7 4592 _result = (wxBrush *) &_result_ref;
cf694132
RD
4593
4594 wxPy_END_ALLOW_THREADS;
1d99702e
RD
4595} if (_result) {
4596 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
4597 _resultobj = Py_BuildValue("s",_ptemp);
4598 } else {
4599 Py_INCREF(Py_None);
4600 _resultobj = Py_None;
4601 }
8ab979d7
RD
4602 return _resultobj;
4603}
4604
4605#define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1afc06c2 4606static PyObject *_wrap_wxDC_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4607 PyObject * _resultobj;
4608 long _result;
4609 wxDC * _arg0;
1d99702e 4610 PyObject * _argo0 = 0;
1afc06c2 4611 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4612
4613 self = self;
1afc06c2 4614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetCharHeight",_kwnames,&_argo0))
8ab979d7 4615 return NULL;
1d99702e
RD
4616 if (_argo0) {
4617 if (_argo0 == Py_None) { _arg0 = NULL; }
4618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
4619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
4620 return NULL;
4621 }
4622 }
cf694132
RD
4623{
4624 wxPy_BEGIN_ALLOW_THREADS;
4625 _result = (long )wxDC_GetCharHeight(_arg0);
4626
4627 wxPy_END_ALLOW_THREADS;
4628} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4629 return _resultobj;
4630}
4631
4632#define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1afc06c2 4633static PyObject *_wrap_wxDC_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4634 PyObject * _resultobj;
4635 long _result;
4636 wxDC * _arg0;
1d99702e 4637 PyObject * _argo0 = 0;
1afc06c2 4638 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4639
4640 self = self;
1afc06c2 4641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetCharWidth",_kwnames,&_argo0))
8ab979d7 4642 return NULL;
1d99702e
RD
4643 if (_argo0) {
4644 if (_argo0 == Py_None) { _arg0 = NULL; }
4645 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
4646 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
4647 return NULL;
4648 }
4649 }
cf694132
RD
4650{
4651 wxPy_BEGIN_ALLOW_THREADS;
4652 _result = (long )wxDC_GetCharWidth(_arg0);
4653
4654 wxPy_END_ALLOW_THREADS;
4655} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
4656 return _resultobj;
4657}
4658
4659#define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 4660static PyObject *_wrap_wxDC_GetClippingBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4661 PyObject * _resultobj;
4662 wxDC * _arg0;
4663 long * _arg1;
4664 long temp;
4665 long * _arg2;
4666 long temp0;
4667 long * _arg3;
4668 long temp1;
4669 long * _arg4;
4670 long temp2;
1d99702e 4671 PyObject * _argo0 = 0;
1afc06c2 4672 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4673
4674 self = self;
4675{
4676 _arg1 = &temp;
4677}
4678{
4679 _arg2 = &temp0;
4680}
4681{
4682 _arg3 = &temp1;
4683}
4684{
4685 _arg4 = &temp2;
4686}
1afc06c2 4687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetClippingBox",_kwnames,&_argo0))
8ab979d7 4688 return NULL;
1d99702e
RD
4689 if (_argo0) {
4690 if (_argo0 == Py_None) { _arg0 = NULL; }
4691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
4692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
4693 return NULL;
4694 }
4695 }
cf694132
RD
4696{
4697 wxPy_BEGIN_ALLOW_THREADS;
4698 wxDC_GetClippingBox(_arg0,_arg1,_arg2,_arg3,_arg4);
4699
4700 wxPy_END_ALLOW_THREADS;
4701} Py_INCREF(Py_None);
8ab979d7
RD
4702 _resultobj = Py_None;
4703{
4704 PyObject *o;
4705 o = PyInt_FromLong((long) (*_arg1));
4706 _resultobj = t_output_helper(_resultobj, o);
4707}
4708{
4709 PyObject *o;
4710 o = PyInt_FromLong((long) (*_arg2));
4711 _resultobj = t_output_helper(_resultobj, o);
4712}
4713{
4714 PyObject *o;
4715 o = PyInt_FromLong((long) (*_arg3));
4716 _resultobj = t_output_helper(_resultobj, o);
4717}
4718{
4719 PyObject *o;
4720 o = PyInt_FromLong((long) (*_arg4));
4721 _resultobj = t_output_helper(_resultobj, o);
4722}
4723 return _resultobj;
4724}
4725
4726#define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
1afc06c2 4727static PyObject *_wrap_wxDC_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4728 PyObject * _resultobj;
4729 wxFont * _result;
4730 wxDC * _arg0;
1d99702e 4731 PyObject * _argo0 = 0;
1afc06c2 4732 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4733 char _ptemp[128];
4734
4735 self = self;
1afc06c2 4736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetFont",_kwnames,&_argo0))
8ab979d7 4737 return NULL;
1d99702e
RD
4738 if (_argo0) {
4739 if (_argo0 == Py_None) { _arg0 = NULL; }
4740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
4741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
4742 return NULL;
4743 }
4744 }
cf694132
RD
4745{
4746 wxPy_BEGIN_ALLOW_THREADS;
4747 wxFont & _result_ref = wxDC_GetFont(_arg0);
b8b8dda7 4748 _result = (wxFont *) &_result_ref;
cf694132
RD
4749
4750 wxPy_END_ALLOW_THREADS;
1d99702e
RD
4751} if (_result) {
4752 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
4753 _resultobj = Py_BuildValue("s",_ptemp);
4754 } else {
4755 Py_INCREF(Py_None);
4756 _resultobj = Py_None;
4757 }
8ab979d7
RD
4758 return _resultobj;
4759}
4760
4761#define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
1afc06c2 4762static PyObject *_wrap_wxDC_GetLogicalFunction(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4763 PyObject * _resultobj;
4764 int _result;
4765 wxDC * _arg0;
1d99702e 4766 PyObject * _argo0 = 0;
1afc06c2 4767 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4768
4769 self = self;
1afc06c2 4770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetLogicalFunction",_kwnames,&_argo0))
8ab979d7 4771 return NULL;
1d99702e
RD
4772 if (_argo0) {
4773 if (_argo0 == Py_None) { _arg0 = NULL; }
4774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
4775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
4776 return NULL;
4777 }
4778 }
cf694132
RD
4779{
4780 wxPy_BEGIN_ALLOW_THREADS;
4781 _result = (int )wxDC_GetLogicalFunction(_arg0);
4782
4783 wxPy_END_ALLOW_THREADS;
4784} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4785 return _resultobj;
4786}
4787
4788#define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
1afc06c2 4789static PyObject *_wrap_wxDC_GetMapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4790 PyObject * _resultobj;
4791 int _result;
4792 wxDC * _arg0;
1d99702e 4793 PyObject * _argo0 = 0;
1afc06c2 4794 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4795
4796 self = self;
1afc06c2 4797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetMapMode",_kwnames,&_argo0))
8ab979d7 4798 return NULL;
1d99702e
RD
4799 if (_argo0) {
4800 if (_argo0 == Py_None) { _arg0 = NULL; }
4801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
4802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
4803 return NULL;
4804 }
4805 }
cf694132
RD
4806{
4807 wxPy_BEGIN_ALLOW_THREADS;
4808 _result = (int )wxDC_GetMapMode(_arg0);
4809
4810 wxPy_END_ALLOW_THREADS;
4811} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4812 return _resultobj;
4813}
4814
4815#define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
1afc06c2 4816static PyObject *_wrap_wxDC_GetOptimization(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4817 PyObject * _resultobj;
4818 bool _result;
4819 wxDC * _arg0;
1d99702e 4820 PyObject * _argo0 = 0;
1afc06c2 4821 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4822
4823 self = self;
1afc06c2 4824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetOptimization",_kwnames,&_argo0))
8ab979d7 4825 return NULL;
1d99702e
RD
4826 if (_argo0) {
4827 if (_argo0 == Py_None) { _arg0 = NULL; }
4828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
4829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
4830 return NULL;
4831 }
4832 }
cf694132
RD
4833{
4834 wxPy_BEGIN_ALLOW_THREADS;
4835 _result = (bool )wxDC_GetOptimization(_arg0);
4836
4837 wxPy_END_ALLOW_THREADS;
4838} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4839 return _resultobj;
4840}
4841
4842#define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
1afc06c2 4843static PyObject *_wrap_wxDC_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4844 PyObject * _resultobj;
4845 wxPen * _result;
4846 wxDC * _arg0;
1d99702e 4847 PyObject * _argo0 = 0;
1afc06c2 4848 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4849 char _ptemp[128];
4850
4851 self = self;
1afc06c2 4852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetPen",_kwnames,&_argo0))
8ab979d7 4853 return NULL;
1d99702e
RD
4854 if (_argo0) {
4855 if (_argo0 == Py_None) { _arg0 = NULL; }
4856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
4857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
4858 return NULL;
4859 }
4860 }
cf694132
RD
4861{
4862 wxPy_BEGIN_ALLOW_THREADS;
4863 wxPen & _result_ref = wxDC_GetPen(_arg0);
b8b8dda7 4864 _result = (wxPen *) &_result_ref;
cf694132
RD
4865
4866 wxPy_END_ALLOW_THREADS;
1d99702e
RD
4867} if (_result) {
4868 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
4869 _resultobj = Py_BuildValue("s",_ptemp);
4870 } else {
4871 Py_INCREF(Py_None);
4872 _resultobj = Py_None;
4873 }
8ab979d7
RD
4874 return _resultobj;
4875}
4876
4877static wxColour * wxDC_GetPixel(wxDC *self,long x,long y) {
4878 wxColour* wc = new wxColour();
4879 self->GetPixel(x, y, wc);
4880 return wc;
4881 }
1afc06c2 4882static PyObject *_wrap_wxDC_GetPixel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4883 PyObject * _resultobj;
4884 wxColour * _result;
4885 wxDC * _arg0;
4886 long _arg1;
4887 long _arg2;
1d99702e 4888 PyObject * _argo0 = 0;
1afc06c2 4889 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
4890 char _ptemp[128];
4891
4892 self = self;
1afc06c2 4893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxDC_GetPixel",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 4894 return NULL;
1d99702e
RD
4895 if (_argo0) {
4896 if (_argo0 == Py_None) { _arg0 = NULL; }
4897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
4898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
4899 return NULL;
4900 }
4901 }
cf694132
RD
4902{
4903 wxPy_BEGIN_ALLOW_THREADS;
4904 _result = (wxColour *)wxDC_GetPixel(_arg0,_arg1,_arg2);
4905
4906 wxPy_END_ALLOW_THREADS;
1d99702e
RD
4907} if (_result) {
4908 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
4909 _resultobj = Py_BuildValue("s",_ptemp);
4910 } else {
4911 Py_INCREF(Py_None);
4912 _resultobj = Py_None;
4913 }
8ab979d7
RD
4914 return _resultobj;
4915}
4916
bb0054cd 4917#define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1afc06c2 4918static PyObject *_wrap_wxDC_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4919 PyObject * _resultobj;
4920 wxDC * _arg0;
4921 int * _arg1;
4922 int temp;
4923 int * _arg2;
4924 int temp0;
1d99702e 4925 PyObject * _argo0 = 0;
1afc06c2 4926 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4927
4928 self = self;
4929{
4930 _arg1 = &temp;
4931}
4932{
4933 _arg2 = &temp0;
4934}
1afc06c2 4935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetSizeTuple",_kwnames,&_argo0))
8ab979d7 4936 return NULL;
1d99702e
RD
4937 if (_argo0) {
4938 if (_argo0 == Py_None) { _arg0 = NULL; }
4939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
bb0054cd 4940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
8ab979d7
RD
4941 return NULL;
4942 }
4943 }
cf694132
RD
4944{
4945 wxPy_BEGIN_ALLOW_THREADS;
bb0054cd 4946 wxDC_GetSizeTuple(_arg0,_arg1,_arg2);
cf694132
RD
4947
4948 wxPy_END_ALLOW_THREADS;
4949} Py_INCREF(Py_None);
8ab979d7
RD
4950 _resultobj = Py_None;
4951{
4952 PyObject *o;
4953 o = PyInt_FromLong((long) (*_arg1));
4954 _resultobj = t_output_helper(_resultobj, o);
4955}
4956{
4957 PyObject *o;
4958 o = PyInt_FromLong((long) (*_arg2));
4959 _resultobj = t_output_helper(_resultobj, o);
4960}
4961 return _resultobj;
4962}
4963
bb0054cd 4964#define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
1afc06c2 4965static PyObject *_wrap_wxDC_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
bb0054cd
RD
4966 PyObject * _resultobj;
4967 wxSize * _result;
4968 wxDC * _arg0;
1d99702e 4969 PyObject * _argo0 = 0;
1afc06c2 4970 char *_kwnames[] = { "self", NULL };
bb0054cd
RD
4971 char _ptemp[128];
4972
4973 self = self;
1afc06c2 4974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetSize",_kwnames,&_argo0))
bb0054cd 4975 return NULL;
1d99702e
RD
4976 if (_argo0) {
4977 if (_argo0 == Py_None) { _arg0 = NULL; }
4978 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
bb0054cd
RD
4979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
4980 return NULL;
4981 }
4982 }
4983{
4984 wxPy_BEGIN_ALLOW_THREADS;
4985 _result = new wxSize (wxDC_GetSize(_arg0));
4986
4987 wxPy_END_ALLOW_THREADS;
4988} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4989 _resultobj = Py_BuildValue("s",_ptemp);
4990 return _resultobj;
4991}
4992
8ab979d7 4993#define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
1afc06c2 4994static PyObject *_wrap_wxDC_GetTextBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4995 PyObject * _resultobj;
4996 wxColour * _result;
4997 wxDC * _arg0;
1d99702e 4998 PyObject * _argo0 = 0;
1afc06c2 4999 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5000 char _ptemp[128];
5001
5002 self = self;
1afc06c2 5003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetTextBackground",_kwnames,&_argo0))
8ab979d7 5004 return NULL;
1d99702e
RD
5005 if (_argo0) {
5006 if (_argo0 == Py_None) { _arg0 = NULL; }
5007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
5009 return NULL;
5010 }
5011 }
cf694132
RD
5012{
5013 wxPy_BEGIN_ALLOW_THREADS;
5014 wxColour & _result_ref = wxDC_GetTextBackground(_arg0);
8ab979d7 5015 _result = (wxColour *) &_result_ref;
cf694132
RD
5016
5017 wxPy_END_ALLOW_THREADS;
1d99702e
RD
5018} if (_result) {
5019 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
5020 _resultobj = Py_BuildValue("s",_ptemp);
5021 } else {
5022 Py_INCREF(Py_None);
5023 _resultobj = Py_None;
5024 }
8ab979d7
RD
5025 return _resultobj;
5026}
5027
af309447 5028#define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 5029static PyObject *_wrap_wxDC_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
5030 PyObject * _resultobj;
5031 wxDC * _arg0;
5032 wxString * _arg1;
5033 long * _arg2;
5034 long temp;
5035 long * _arg3;
5036 long temp0;
1d99702e 5037 PyObject * _argo0 = 0;
af309447 5038 PyObject * _obj1 = 0;
1afc06c2 5039 char *_kwnames[] = { "self","string", NULL };
af309447
RD
5040
5041 self = self;
5042{
5043 _arg2 = &temp;
5044}
5045{
5046 _arg3 = &temp0;
5047}
1afc06c2 5048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_GetTextExtent",_kwnames,&_argo0,&_obj1))
af309447 5049 return NULL;
1d99702e
RD
5050 if (_argo0) {
5051 if (_argo0 == Py_None) { _arg0 = NULL; }
5052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
af309447
RD
5053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
5054 return NULL;
5055 }
5056 }
5057{
5058 if (!PyString_Check(_obj1)) {
5059 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5060 return NULL;
5061 }
cf694132 5062 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
af309447 5063}
cf694132
RD
5064{
5065 wxPy_BEGIN_ALLOW_THREADS;
5066 wxDC_GetTextExtent(_arg0,*_arg1,_arg2,_arg3);
5067
5068 wxPy_END_ALLOW_THREADS;
5069} Py_INCREF(Py_None);
af309447
RD
5070 _resultobj = Py_None;
5071{
5072 PyObject *o;
5073 o = PyInt_FromLong((long) (*_arg2));
5074 _resultobj = t_output_helper(_resultobj, o);
5075}
5076{
5077 PyObject *o;
5078 o = PyInt_FromLong((long) (*_arg3));
5079 _resultobj = t_output_helper(_resultobj, o);
5080}
5081{
5082 if (_obj1)
5083 delete _arg1;
5084}
5085 return _resultobj;
5086}
5087
5088#define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1afc06c2 5089static PyObject *_wrap_wxDC_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5090 PyObject * _resultobj;
5091 wxDC * _arg0;
5092 wxString * _arg1;
5093 long * _arg2;
5094 long temp;
5095 long * _arg3;
5096 long temp0;
5097 long * _arg4;
5098 long temp1;
5099 long * _arg5;
5100 long temp2;
1d99702e
RD
5101 wxFont * _arg6 = (wxFont *) NULL;
5102 PyObject * _argo0 = 0;
8ab979d7 5103 PyObject * _obj1 = 0;
1d99702e 5104 PyObject * _argo6 = 0;
1afc06c2 5105 char *_kwnames[] = { "self","string","font", NULL };
8ab979d7
RD
5106
5107 self = self;
5108{
5109 _arg2 = &temp;
5110}
5111{
5112 _arg3 = &temp0;
5113}
5114{
5115 _arg4 = &temp1;
5116}
5117{
5118 _arg5 = &temp2;
5119}
1afc06c2 5120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxDC_GetFullTextExtent",_kwnames,&_argo0,&_obj1,&_argo6))
8ab979d7 5121 return NULL;
1d99702e
RD
5122 if (_argo0) {
5123 if (_argo0 == Py_None) { _arg0 = NULL; }
5124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
af309447 5125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
8ab979d7
RD
5126 return NULL;
5127 }
5128 }
5129{
5130 if (!PyString_Check(_obj1)) {
5131 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5132 return NULL;
5133 }
cf694132 5134 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
8ab979d7 5135}
1d99702e
RD
5136 if (_argo6) {
5137 if (_argo6 == Py_None) { _arg6 = NULL; }
5138 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxFont_p")) {
af309447
RD
5139 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
5140 return NULL;
5141 }
5142 }
cf694132
RD
5143{
5144 wxPy_BEGIN_ALLOW_THREADS;
5145 wxDC_GetFullTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
5146
5147 wxPy_END_ALLOW_THREADS;
5148} Py_INCREF(Py_None);
8ab979d7
RD
5149 _resultobj = Py_None;
5150{
5151 PyObject *o;
5152 o = PyInt_FromLong((long) (*_arg2));
5153 _resultobj = t_output_helper(_resultobj, o);
5154}
5155{
5156 PyObject *o;
5157 o = PyInt_FromLong((long) (*_arg3));
5158 _resultobj = t_output_helper(_resultobj, o);
5159}
5160{
5161 PyObject *o;
5162 o = PyInt_FromLong((long) (*_arg4));
5163 _resultobj = t_output_helper(_resultobj, o);
5164}
5165{
5166 PyObject *o;
5167 o = PyInt_FromLong((long) (*_arg5));
5168 _resultobj = t_output_helper(_resultobj, o);
5169}
5170{
5171 if (_obj1)
5172 delete _arg1;
5173}
5174 return _resultobj;
5175}
5176
5177#define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
1afc06c2 5178static PyObject *_wrap_wxDC_GetTextForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5179 PyObject * _resultobj;
5180 wxColour * _result;
5181 wxDC * _arg0;
1d99702e 5182 PyObject * _argo0 = 0;
1afc06c2 5183 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5184 char _ptemp[128];
5185
5186 self = self;
1afc06c2 5187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_GetTextForeground",_kwnames,&_argo0))
8ab979d7 5188 return NULL;
1d99702e
RD
5189 if (_argo0) {
5190 if (_argo0 == Py_None) { _arg0 = NULL; }
5191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
5193 return NULL;
5194 }
5195 }
cf694132
RD
5196{
5197 wxPy_BEGIN_ALLOW_THREADS;
5198 wxColour & _result_ref = wxDC_GetTextForeground(_arg0);
8ab979d7 5199 _result = (wxColour *) &_result_ref;
cf694132
RD
5200
5201 wxPy_END_ALLOW_THREADS;
1d99702e
RD
5202} if (_result) {
5203 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
5204 _resultobj = Py_BuildValue("s",_ptemp);
5205 } else {
5206 Py_INCREF(Py_None);
5207 _resultobj = Py_None;
5208 }
8ab979d7
RD
5209 return _resultobj;
5210}
5211
5212#define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
1afc06c2 5213static PyObject *_wrap_wxDC_LogicalToDeviceX(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5214 PyObject * _resultobj;
5215 long _result;
5216 wxDC * _arg0;
5217 long _arg1;
1d99702e 5218 PyObject * _argo0 = 0;
1afc06c2 5219 char *_kwnames[] = { "self","x", NULL };
8ab979d7
RD
5220
5221 self = self;
1afc06c2 5222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_LogicalToDeviceX",_kwnames,&_argo0,&_arg1))
8ab979d7 5223 return NULL;
1d99702e
RD
5224 if (_argo0) {
5225 if (_argo0 == Py_None) { _arg0 = NULL; }
5226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
5228 return NULL;
5229 }
5230 }
cf694132
RD
5231{
5232 wxPy_BEGIN_ALLOW_THREADS;
5233 _result = (long )wxDC_LogicalToDeviceX(_arg0,_arg1);
5234
5235 wxPy_END_ALLOW_THREADS;
5236} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
5237 return _resultobj;
5238}
5239
5240#define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
1afc06c2 5241static PyObject *_wrap_wxDC_LogicalToDeviceXRel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5242 PyObject * _resultobj;
5243 long _result;
5244 wxDC * _arg0;
5245 long _arg1;
1d99702e 5246 PyObject * _argo0 = 0;
1afc06c2 5247 char *_kwnames[] = { "self","x", NULL };
8ab979d7
RD
5248
5249 self = self;
1afc06c2 5250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_LogicalToDeviceXRel",_kwnames,&_argo0,&_arg1))
8ab979d7 5251 return NULL;
1d99702e
RD
5252 if (_argo0) {
5253 if (_argo0 == Py_None) { _arg0 = NULL; }
5254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
5256 return NULL;
5257 }
5258 }
cf694132
RD
5259{
5260 wxPy_BEGIN_ALLOW_THREADS;
5261 _result = (long )wxDC_LogicalToDeviceXRel(_arg0,_arg1);
5262
5263 wxPy_END_ALLOW_THREADS;
5264} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
5265 return _resultobj;
5266}
5267
5268#define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
1afc06c2 5269static PyObject *_wrap_wxDC_LogicalToDeviceY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5270 PyObject * _resultobj;
5271 long _result;
5272 wxDC * _arg0;
5273 long _arg1;
1d99702e 5274 PyObject * _argo0 = 0;
1afc06c2 5275 char *_kwnames[] = { "self","y", NULL };
8ab979d7
RD
5276
5277 self = self;
1afc06c2 5278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_LogicalToDeviceY",_kwnames,&_argo0,&_arg1))
8ab979d7 5279 return NULL;
1d99702e
RD
5280 if (_argo0) {
5281 if (_argo0 == Py_None) { _arg0 = NULL; }
5282 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
5284 return NULL;
5285 }
5286 }
cf694132
RD
5287{
5288 wxPy_BEGIN_ALLOW_THREADS;
5289 _result = (long )wxDC_LogicalToDeviceY(_arg0,_arg1);
5290
5291 wxPy_END_ALLOW_THREADS;
5292} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
5293 return _resultobj;
5294}
5295
5296#define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
1afc06c2 5297static PyObject *_wrap_wxDC_LogicalToDeviceYRel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5298 PyObject * _resultobj;
5299 long _result;
5300 wxDC * _arg0;
5301 long _arg1;
1d99702e 5302 PyObject * _argo0 = 0;
1afc06c2 5303 char *_kwnames[] = { "self","y", NULL };
8ab979d7
RD
5304
5305 self = self;
1afc06c2 5306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDC_LogicalToDeviceYRel",_kwnames,&_argo0,&_arg1))
8ab979d7 5307 return NULL;
1d99702e
RD
5308 if (_argo0) {
5309 if (_argo0 == Py_None) { _arg0 = NULL; }
5310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
5312 return NULL;
5313 }
5314 }
cf694132
RD
5315{
5316 wxPy_BEGIN_ALLOW_THREADS;
5317 _result = (long )wxDC_LogicalToDeviceYRel(_arg0,_arg1);
5318
5319 wxPy_END_ALLOW_THREADS;
5320} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
5321 return _resultobj;
5322}
5323
5324#define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
1afc06c2 5325static PyObject *_wrap_wxDC_MaxX(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5326 PyObject * _resultobj;
5327 long _result;
5328 wxDC * _arg0;
1d99702e 5329 PyObject * _argo0 = 0;
1afc06c2 5330 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5331
5332 self = self;
1afc06c2 5333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_MaxX",_kwnames,&_argo0))
8ab979d7 5334 return NULL;
1d99702e
RD
5335 if (_argo0) {
5336 if (_argo0 == Py_None) { _arg0 = NULL; }
5337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
5339 return NULL;
5340 }
5341 }
cf694132
RD
5342{
5343 wxPy_BEGIN_ALLOW_THREADS;
5344 _result = (long )wxDC_MaxX(_arg0);
5345
5346 wxPy_END_ALLOW_THREADS;
5347} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
5348 return _resultobj;
5349}
5350
5351#define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
1afc06c2 5352static PyObject *_wrap_wxDC_MaxY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5353 PyObject * _resultobj;
5354 long _result;
5355 wxDC * _arg0;
1d99702e 5356 PyObject * _argo0 = 0;
1afc06c2 5357 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5358
5359 self = self;
1afc06c2 5360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_MaxY",_kwnames,&_argo0))
8ab979d7 5361 return NULL;
1d99702e
RD
5362 if (_argo0) {
5363 if (_argo0 == Py_None) { _arg0 = NULL; }
5364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
5366 return NULL;
5367 }
5368 }
cf694132
RD
5369{
5370 wxPy_BEGIN_ALLOW_THREADS;
5371 _result = (long )wxDC_MaxY(_arg0);
5372
5373 wxPy_END_ALLOW_THREADS;
5374} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
5375 return _resultobj;
5376}
5377
5378#define wxDC_MinX(_swigobj) (_swigobj->MinX())
1afc06c2 5379static PyObject *_wrap_wxDC_MinX(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5380 PyObject * _resultobj;
5381 long _result;
5382 wxDC * _arg0;
1d99702e 5383 PyObject * _argo0 = 0;
1afc06c2 5384 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5385
5386 self = self;
1afc06c2 5387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_MinX",_kwnames,&_argo0))
8ab979d7 5388 return NULL;
1d99702e
RD
5389 if (_argo0) {
5390 if (_argo0 == Py_None) { _arg0 = NULL; }
5391 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5392 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
5393 return NULL;
5394 }
5395 }
cf694132
RD
5396{
5397 wxPy_BEGIN_ALLOW_THREADS;
5398 _result = (long )wxDC_MinX(_arg0);
5399
5400 wxPy_END_ALLOW_THREADS;
5401} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
5402 return _resultobj;
5403}
5404
5405#define wxDC_MinY(_swigobj) (_swigobj->MinY())
1afc06c2 5406static PyObject *_wrap_wxDC_MinY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5407 PyObject * _resultobj;
5408 long _result;
5409 wxDC * _arg0;
1d99702e 5410 PyObject * _argo0 = 0;
1afc06c2 5411 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5412
5413 self = self;
1afc06c2 5414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_MinY",_kwnames,&_argo0))
8ab979d7 5415 return NULL;
1d99702e
RD
5416 if (_argo0) {
5417 if (_argo0 == Py_None) { _arg0 = NULL; }
5418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
5420 return NULL;
5421 }
5422 }
cf694132
RD
5423{
5424 wxPy_BEGIN_ALLOW_THREADS;
5425 _result = (long )wxDC_MinY(_arg0);
5426
5427 wxPy_END_ALLOW_THREADS;
5428} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
5429 return _resultobj;
5430}
5431
5432#define wxDC_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 5433static PyObject *_wrap_wxDC_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5434 PyObject * _resultobj;
5435 bool _result;
5436 wxDC * _arg0;
1d99702e 5437 PyObject * _argo0 = 0;
1afc06c2 5438 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5439
5440 self = self;
1afc06c2 5441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_Ok",_kwnames,&_argo0))
8ab979d7 5442 return NULL;
1d99702e
RD
5443 if (_argo0) {
5444 if (_argo0 == Py_None) { _arg0 = NULL; }
5445 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5446 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
5447 return NULL;
5448 }
5449 }
cf694132
RD
5450{
5451 wxPy_BEGIN_ALLOW_THREADS;
5452 _result = (bool )wxDC_Ok(_arg0);
5453
5454 wxPy_END_ALLOW_THREADS;
5455} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5456 return _resultobj;
5457}
5458
5459#define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
1afc06c2 5460static PyObject *_wrap_wxDC_SetDeviceOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5461 PyObject * _resultobj;
5462 wxDC * _arg0;
5463 long _arg1;
5464 long _arg2;
1d99702e 5465 PyObject * _argo0 = 0;
1afc06c2 5466 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
5467
5468 self = self;
1afc06c2 5469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxDC_SetDeviceOrigin",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 5470 return NULL;
1d99702e
RD
5471 if (_argo0) {
5472 if (_argo0 == Py_None) { _arg0 = NULL; }
5473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
5475 return NULL;
5476 }
5477 }
cf694132
RD
5478{
5479 wxPy_BEGIN_ALLOW_THREADS;
5480 wxDC_SetDeviceOrigin(_arg0,_arg1,_arg2);
5481
5482 wxPy_END_ALLOW_THREADS;
5483} Py_INCREF(Py_None);
8ab979d7
RD
5484 _resultobj = Py_None;
5485 return _resultobj;
5486}
5487
5488#define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
1afc06c2 5489static PyObject *_wrap_wxDC_SetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5490 PyObject * _resultobj;
5491 wxDC * _arg0;
5492 wxBrush * _arg1;
1d99702e
RD
5493 PyObject * _argo0 = 0;
5494 PyObject * _argo1 = 0;
1afc06c2 5495 char *_kwnames[] = { "self","brush", NULL };
8ab979d7
RD
5496
5497 self = self;
1afc06c2 5498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetBackground",_kwnames,&_argo0,&_argo1))
8ab979d7 5499 return NULL;
1d99702e
RD
5500 if (_argo0) {
5501 if (_argo0 == Py_None) { _arg0 = NULL; }
5502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
5504 return NULL;
5505 }
5506 }
1d99702e
RD
5507 if (_argo1) {
5508 if (_argo1 == Py_None) { _arg1 = NULL; }
5509 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) {
8ab979d7
RD
5510 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
5511 return NULL;
5512 }
5513 }
cf694132
RD
5514{
5515 wxPy_BEGIN_ALLOW_THREADS;
5516 wxDC_SetBackground(_arg0,*_arg1);
5517
5518 wxPy_END_ALLOW_THREADS;
5519} Py_INCREF(Py_None);
8ab979d7
RD
5520 _resultobj = Py_None;
5521 return _resultobj;
5522}
5523
5524#define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
1afc06c2 5525static PyObject *_wrap_wxDC_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5526 PyObject * _resultobj;
5527 wxDC * _arg0;
5528 int _arg1;
1d99702e 5529 PyObject * _argo0 = 0;
1afc06c2 5530 char *_kwnames[] = { "self","mode", NULL };
8ab979d7
RD
5531
5532 self = self;
1afc06c2 5533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_SetBackgroundMode",_kwnames,&_argo0,&_arg1))
8ab979d7 5534 return NULL;
1d99702e
RD
5535 if (_argo0) {
5536 if (_argo0 == Py_None) { _arg0 = NULL; }
5537 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5538 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
5539 return NULL;
5540 }
5541 }
cf694132
RD
5542{
5543 wxPy_BEGIN_ALLOW_THREADS;
5544 wxDC_SetBackgroundMode(_arg0,_arg1);
5545
5546 wxPy_END_ALLOW_THREADS;
5547} Py_INCREF(Py_None);
8ab979d7
RD
5548 _resultobj = Py_None;
5549 return _resultobj;
5550}
5551
5552#define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 5553static PyObject *_wrap_wxDC_SetClippingRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5554 PyObject * _resultobj;
5555 wxDC * _arg0;
5556 long _arg1;
5557 long _arg2;
5558 long _arg3;
5559 long _arg4;
1d99702e 5560 PyObject * _argo0 = 0;
1afc06c2 5561 char *_kwnames[] = { "self","x","y","width","height", NULL };
8ab979d7
RD
5562
5563 self = self;
1afc06c2 5564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ollll:wxDC_SetClippingRegion",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8ab979d7 5565 return NULL;
1d99702e
RD
5566 if (_argo0) {
5567 if (_argo0 == Py_None) { _arg0 = NULL; }
5568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
5570 return NULL;
5571 }
5572 }
cf694132
RD
5573{
5574 wxPy_BEGIN_ALLOW_THREADS;
5575 wxDC_SetClippingRegion(_arg0,_arg1,_arg2,_arg3,_arg4);
5576
5577 wxPy_END_ALLOW_THREADS;
5578} Py_INCREF(Py_None);
8ab979d7
RD
5579 _resultobj = Py_None;
5580 return _resultobj;
5581}
5582
5583#define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1afc06c2 5584static PyObject *_wrap_wxDC_SetPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5585 PyObject * _resultobj;
5586 wxDC * _arg0;
5587 wxPalette * _arg1;
1d99702e
RD
5588 PyObject * _argo0 = 0;
5589 PyObject * _argo1 = 0;
1afc06c2 5590 char *_kwnames[] = { "self","colourMap", NULL };
8ab979d7
RD
5591
5592 self = self;
1afc06c2 5593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetPalette",_kwnames,&_argo0,&_argo1))
8ab979d7 5594 return NULL;
1d99702e
RD
5595 if (_argo0) {
5596 if (_argo0 == Py_None) { _arg0 = NULL; }
5597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
5599 return NULL;
5600 }
5601 }
1d99702e
RD
5602 if (_argo1) {
5603 if (_argo1 == Py_None) { _arg1 = NULL; }
5604 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPalette_p")) {
8ab979d7
RD
5605 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
5606 return NULL;
5607 }
5608 }
cf694132
RD
5609{
5610 wxPy_BEGIN_ALLOW_THREADS;
5611 wxDC_SetPalette(_arg0,*_arg1);
5612
5613 wxPy_END_ALLOW_THREADS;
5614} Py_INCREF(Py_None);
8ab979d7
RD
5615 _resultobj = Py_None;
5616 return _resultobj;
5617}
5618
5619#define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
1afc06c2 5620static PyObject *_wrap_wxDC_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5621 PyObject * _resultobj;
5622 wxDC * _arg0;
5623 wxBrush * _arg1;
1d99702e
RD
5624 PyObject * _argo0 = 0;
5625 PyObject * _argo1 = 0;
1afc06c2 5626 char *_kwnames[] = { "self","brush", NULL };
8ab979d7
RD
5627
5628 self = self;
1afc06c2 5629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetBrush",_kwnames,&_argo0,&_argo1))
8ab979d7 5630 return NULL;
1d99702e
RD
5631 if (_argo0) {
5632 if (_argo0 == Py_None) { _arg0 = NULL; }
5633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
5635 return NULL;
5636 }
5637 }
1d99702e
RD
5638 if (_argo1) {
5639 if (_argo1 == Py_None) { _arg1 = NULL; }
5640 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) {
8ab979d7
RD
5641 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
5642 return NULL;
5643 }
5644 }
cf694132
RD
5645{
5646 wxPy_BEGIN_ALLOW_THREADS;
5647 wxDC_SetBrush(_arg0,*_arg1);
5648
5649 wxPy_END_ALLOW_THREADS;
5650} Py_INCREF(Py_None);
8ab979d7
RD
5651 _resultobj = Py_None;
5652 return _resultobj;
5653}
5654
5655#define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1afc06c2 5656static PyObject *_wrap_wxDC_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5657 PyObject * _resultobj;
5658 wxDC * _arg0;
5659 wxFont * _arg1;
1d99702e
RD
5660 PyObject * _argo0 = 0;
5661 PyObject * _argo1 = 0;
1afc06c2 5662 char *_kwnames[] = { "self","font", NULL };
8ab979d7
RD
5663
5664 self = self;
1afc06c2 5665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetFont",_kwnames,&_argo0,&_argo1))
8ab979d7 5666 return NULL;
1d99702e
RD
5667 if (_argo0) {
5668 if (_argo0 == Py_None) { _arg0 = NULL; }
5669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
5671 return NULL;
5672 }
5673 }
1d99702e
RD
5674 if (_argo1) {
5675 if (_argo1 == Py_None) { _arg1 = NULL; }
5676 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
8ab979d7
RD
5677 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
5678 return NULL;
5679 }
5680 }
cf694132
RD
5681{
5682 wxPy_BEGIN_ALLOW_THREADS;
5683 wxDC_SetFont(_arg0,*_arg1);
5684
5685 wxPy_END_ALLOW_THREADS;
5686} Py_INCREF(Py_None);
8ab979d7
RD
5687 _resultobj = Py_None;
5688 return _resultobj;
5689}
5690
5691#define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
1afc06c2 5692static PyObject *_wrap_wxDC_SetLogicalFunction(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5693 PyObject * _resultobj;
5694 wxDC * _arg0;
5695 int _arg1;
1d99702e 5696 PyObject * _argo0 = 0;
1afc06c2 5697 char *_kwnames[] = { "self","function", NULL };
8ab979d7
RD
5698
5699 self = self;
1afc06c2 5700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_SetLogicalFunction",_kwnames,&_argo0,&_arg1))
8ab979d7 5701 return NULL;
1d99702e
RD
5702 if (_argo0) {
5703 if (_argo0 == Py_None) { _arg0 = NULL; }
5704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
5706 return NULL;
5707 }
5708 }
cf694132
RD
5709{
5710 wxPy_BEGIN_ALLOW_THREADS;
5711 wxDC_SetLogicalFunction(_arg0,_arg1);
5712
5713 wxPy_END_ALLOW_THREADS;
5714} Py_INCREF(Py_None);
8ab979d7
RD
5715 _resultobj = Py_None;
5716 return _resultobj;
5717}
5718
5719#define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
1afc06c2 5720static PyObject *_wrap_wxDC_SetMapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5721 PyObject * _resultobj;
5722 wxDC * _arg0;
5723 int _arg1;
1d99702e 5724 PyObject * _argo0 = 0;
1afc06c2 5725 char *_kwnames[] = { "self","mode", NULL };
8ab979d7
RD
5726
5727 self = self;
1afc06c2 5728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_SetMapMode",_kwnames,&_argo0,&_arg1))
8ab979d7 5729 return NULL;
1d99702e
RD
5730 if (_argo0) {
5731 if (_argo0 == Py_None) { _arg0 = NULL; }
5732 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5733 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
5734 return NULL;
5735 }
5736 }
cf694132
RD
5737{
5738 wxPy_BEGIN_ALLOW_THREADS;
5739 wxDC_SetMapMode(_arg0,_arg1);
5740
5741 wxPy_END_ALLOW_THREADS;
5742} Py_INCREF(Py_None);
8ab979d7
RD
5743 _resultobj = Py_None;
5744 return _resultobj;
5745}
5746
5747#define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
1afc06c2 5748static PyObject *_wrap_wxDC_SetOptimization(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5749 PyObject * _resultobj;
5750 wxDC * _arg0;
5751 bool _arg1;
1d99702e 5752 PyObject * _argo0 = 0;
8ab979d7 5753 int tempbool1;
1afc06c2 5754 char *_kwnames[] = { "self","optimize", NULL };
8ab979d7
RD
5755
5756 self = self;
1afc06c2 5757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDC_SetOptimization",_kwnames,&_argo0,&tempbool1))
8ab979d7 5758 return NULL;
1d99702e
RD
5759 if (_argo0) {
5760 if (_argo0 == Py_None) { _arg0 = NULL; }
5761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
5763 return NULL;
5764 }
5765 }
5766 _arg1 = (bool ) tempbool1;
cf694132
RD
5767{
5768 wxPy_BEGIN_ALLOW_THREADS;
5769 wxDC_SetOptimization(_arg0,_arg1);
5770
5771 wxPy_END_ALLOW_THREADS;
5772} Py_INCREF(Py_None);
8ab979d7
RD
5773 _resultobj = Py_None;
5774 return _resultobj;
5775}
5776
5777#define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
1afc06c2 5778static PyObject *_wrap_wxDC_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5779 PyObject * _resultobj;
5780 wxDC * _arg0;
5781 wxPen * _arg1;
1d99702e
RD
5782 PyObject * _argo0 = 0;
5783 PyObject * _argo1 = 0;
1afc06c2 5784 char *_kwnames[] = { "self","pen", NULL };
8ab979d7
RD
5785
5786 self = self;
1afc06c2 5787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetPen",_kwnames,&_argo0,&_argo1))
8ab979d7 5788 return NULL;
1d99702e
RD
5789 if (_argo0) {
5790 if (_argo0 == Py_None) { _arg0 = NULL; }
5791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
5793 return NULL;
5794 }
5795 }
1d99702e
RD
5796 if (_argo1) {
5797 if (_argo1 == Py_None) { _arg1 = NULL; }
5798 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) {
8ab979d7
RD
5799 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
5800 return NULL;
5801 }
5802 }
cf694132
RD
5803{
5804 wxPy_BEGIN_ALLOW_THREADS;
5805 wxDC_SetPen(_arg0,*_arg1);
5806
5807 wxPy_END_ALLOW_THREADS;
5808} Py_INCREF(Py_None);
8ab979d7
RD
5809 _resultobj = Py_None;
5810 return _resultobj;
5811}
5812
5813#define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
1afc06c2 5814static PyObject *_wrap_wxDC_SetTextBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5815 PyObject * _resultobj;
5816 wxDC * _arg0;
5817 wxColour * _arg1;
1d99702e
RD
5818 PyObject * _argo0 = 0;
5819 PyObject * _argo1 = 0;
1afc06c2 5820 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
5821
5822 self = self;
1afc06c2 5823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetTextBackground",_kwnames,&_argo0,&_argo1))
8ab979d7 5824 return NULL;
1d99702e
RD
5825 if (_argo0) {
5826 if (_argo0 == Py_None) { _arg0 = NULL; }
5827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
5829 return NULL;
5830 }
5831 }
1d99702e
RD
5832 if (_argo1) {
5833 if (_argo1 == Py_None) { _arg1 = NULL; }
5834 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
8ab979d7
RD
5835 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetTextBackground. Expected _wxColour_p.");
5836 return NULL;
5837 }
5838 }
cf694132
RD
5839{
5840 wxPy_BEGIN_ALLOW_THREADS;
5841 wxDC_SetTextBackground(_arg0,*_arg1);
5842
5843 wxPy_END_ALLOW_THREADS;
5844} Py_INCREF(Py_None);
8ab979d7
RD
5845 _resultobj = Py_None;
5846 return _resultobj;
5847}
5848
5849#define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
1afc06c2 5850static PyObject *_wrap_wxDC_SetTextForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5851 PyObject * _resultobj;
5852 wxDC * _arg0;
5853 wxColour * _arg1;
1d99702e
RD
5854 PyObject * _argo0 = 0;
5855 PyObject * _argo1 = 0;
1afc06c2 5856 char *_kwnames[] = { "self","colour", NULL };
8ab979d7
RD
5857
5858 self = self;
1afc06c2 5859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_SetTextForeground",_kwnames,&_argo0,&_argo1))
8ab979d7 5860 return NULL;
1d99702e
RD
5861 if (_argo0) {
5862 if (_argo0 == Py_None) { _arg0 = NULL; }
5863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
5865 return NULL;
5866 }
5867 }
1d99702e
RD
5868 if (_argo1) {
5869 if (_argo1 == Py_None) { _arg1 = NULL; }
5870 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
8ab979d7
RD
5871 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetTextForeground. Expected _wxColour_p.");
5872 return NULL;
5873 }
5874 }
cf694132
RD
5875{
5876 wxPy_BEGIN_ALLOW_THREADS;
5877 wxDC_SetTextForeground(_arg0,*_arg1);
5878
5879 wxPy_END_ALLOW_THREADS;
5880} Py_INCREF(Py_None);
8ab979d7
RD
5881 _resultobj = Py_None;
5882 return _resultobj;
5883}
5884
5885#define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
1afc06c2 5886static PyObject *_wrap_wxDC_SetUserScale(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5887 PyObject * _resultobj;
5888 wxDC * _arg0;
5889 double _arg1;
5890 double _arg2;
1d99702e 5891 PyObject * _argo0 = 0;
1afc06c2 5892 char *_kwnames[] = { "self","x_scale","y_scale", NULL };
8ab979d7
RD
5893
5894 self = self;
1afc06c2 5895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxDC_SetUserScale",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 5896 return NULL;
1d99702e
RD
5897 if (_argo0) {
5898 if (_argo0 == Py_None) { _arg0 = NULL; }
5899 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5900 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
5901 return NULL;
5902 }
5903 }
cf694132
RD
5904{
5905 wxPy_BEGIN_ALLOW_THREADS;
5906 wxDC_SetUserScale(_arg0,_arg1,_arg2);
5907
5908 wxPy_END_ALLOW_THREADS;
5909} Py_INCREF(Py_None);
8ab979d7
RD
5910 _resultobj = Py_None;
5911 return _resultobj;
5912}
5913
5914#define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
1afc06c2 5915static PyObject *_wrap_wxDC_StartDoc(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5916 PyObject * _resultobj;
5917 bool _result;
5918 wxDC * _arg0;
5919 wxString * _arg1;
1d99702e 5920 PyObject * _argo0 = 0;
8ab979d7 5921 PyObject * _obj1 = 0;
1afc06c2 5922 char *_kwnames[] = { "self","message", NULL };
8ab979d7
RD
5923
5924 self = self;
1afc06c2 5925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDC_StartDoc",_kwnames,&_argo0,&_obj1))
8ab979d7 5926 return NULL;
1d99702e
RD
5927 if (_argo0) {
5928 if (_argo0 == Py_None) { _arg0 = NULL; }
5929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
5931 return NULL;
5932 }
5933 }
5934{
5935 if (!PyString_Check(_obj1)) {
5936 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5937 return NULL;
5938 }
cf694132 5939 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
8ab979d7 5940}
cf694132
RD
5941{
5942 wxPy_BEGIN_ALLOW_THREADS;
5943 _result = (bool )wxDC_StartDoc(_arg0,*_arg1);
5944
5945 wxPy_END_ALLOW_THREADS;
5946} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5947{
5948 if (_obj1)
5949 delete _arg1;
5950}
5951 return _resultobj;
5952}
5953
5954#define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
1afc06c2 5955static PyObject *_wrap_wxDC_StartPage(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5956 PyObject * _resultobj;
5957 wxDC * _arg0;
1d99702e 5958 PyObject * _argo0 = 0;
1afc06c2 5959 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
5960
5961 self = self;
1afc06c2 5962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDC_StartPage",_kwnames,&_argo0))
8ab979d7 5963 return NULL;
1d99702e
RD
5964 if (_argo0) {
5965 if (_argo0 == Py_None) { _arg0 = NULL; }
5966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDC_p")) {
8ab979d7
RD
5967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
5968 return NULL;
5969 }
5970 }
cf694132
RD
5971{
5972 wxPy_BEGIN_ALLOW_THREADS;
5973 wxDC_StartPage(_arg0);
5974
5975 wxPy_END_ALLOW_THREADS;
5976} Py_INCREF(Py_None);
8ab979d7
RD
5977 _resultobj = Py_None;
5978 return _resultobj;
5979}
5980
efc5f224 5981#define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 5982static PyObject *_wrap_wxDC_DrawBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5983 PyObject * _resultobj;
5984 wxDC * _arg0;
5985 wxBitmap * _arg1;
5986 long _arg2;
5987 long _arg3;
efc5f224 5988 int _arg4 = (int ) FALSE;
1d99702e
RD
5989 PyObject * _argo0 = 0;
5990 PyObject * _argo1 = 0;
1afc06c2 5991 char *_kwnames[] = { "self","bitmap","x","y","useMask", NULL };
8ab979d7
RD
5992
5993 self = self;
1afc06c2 5994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOll|i:wxDC_DrawBitmap",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4))
8ab979d7 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")) {
8ab979d7
RD
5999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
6000 return NULL;
6001 }
6002 }
1d99702e
RD
6003 if (_argo1) {
6004 if (_argo1 == Py_None) { _arg1 = NULL; }
6005 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
6006 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
6007 return NULL;
6008 }
6009 }
cf694132
RD
6010{
6011 wxPy_BEGIN_ALLOW_THREADS;
6012 wxDC_DrawBitmap(_arg0,*_arg1,_arg2,_arg3,_arg4);
6013
6014 wxPy_END_ALLOW_THREADS;
6015} Py_INCREF(Py_None);
8ab979d7
RD
6016 _resultobj = Py_None;
6017 return _resultobj;
6018}
6019
6020static void *SwigwxMemoryDCTowxDC(void *ptr) {
6021 wxMemoryDC *src;
6022 wxDC *dest;
6023 src = (wxMemoryDC *) ptr;
6024 dest = (wxDC *) src;
6025 return (void *) dest;
6026}
6027
6028#define new_wxMemoryDC() (new wxMemoryDC())
1afc06c2 6029static PyObject *_wrap_new_wxMemoryDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6030 PyObject * _resultobj;
6031 wxMemoryDC * _result;
1afc06c2 6032 char *_kwnames[] = { NULL };
8ab979d7
RD
6033 char _ptemp[128];
6034
6035 self = self;
1afc06c2 6036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxMemoryDC",_kwnames))
8ab979d7 6037 return NULL;
cf694132
RD
6038{
6039 wxPy_BEGIN_ALLOW_THREADS;
6040 _result = (wxMemoryDC *)new_wxMemoryDC();
6041
6042 wxPy_END_ALLOW_THREADS;
1d99702e
RD
6043} if (_result) {
6044 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMemoryDC_p");
6045 _resultobj = Py_BuildValue("s",_ptemp);
6046 } else {
6047 Py_INCREF(Py_None);
6048 _resultobj = Py_None;
6049 }
8ab979d7
RD
6050 return _resultobj;
6051}
6052
6053#define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
1afc06c2 6054static PyObject *_wrap_wxMemoryDC_SelectObject(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6055 PyObject * _resultobj;
6056 wxMemoryDC * _arg0;
6057 wxBitmap * _arg1;
1d99702e
RD
6058 PyObject * _argo0 = 0;
6059 PyObject * _argo1 = 0;
1afc06c2 6060 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
6061
6062 self = self;
1afc06c2 6063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMemoryDC_SelectObject",_kwnames,&_argo0,&_argo1))
8ab979d7 6064 return NULL;
1d99702e
RD
6065 if (_argo0) {
6066 if (_argo0 == Py_None) { _arg0 = NULL; }
6067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMemoryDC_p")) {
8ab979d7
RD
6068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
6069 return NULL;
6070 }
6071 }
1d99702e
RD
6072 if (_argo1) {
6073 if (_argo1 == Py_None) { _arg1 = NULL; }
6074 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
6075 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
6076 return NULL;
6077 }
6078 }
cf694132
RD
6079{
6080 wxPy_BEGIN_ALLOW_THREADS;
6081 wxMemoryDC_SelectObject(_arg0,*_arg1);
6082
6083 wxPy_END_ALLOW_THREADS;
6084} Py_INCREF(Py_None);
8ab979d7
RD
6085 _resultobj = Py_None;
6086 return _resultobj;
6087}
6088
6089static void *SwigwxScreenDCTowxDC(void *ptr) {
6090 wxScreenDC *src;
6091 wxDC *dest;
6092 src = (wxScreenDC *) ptr;
6093 dest = (wxDC *) src;
6094 return (void *) dest;
6095}
6096
6097#define new_wxScreenDC() (new wxScreenDC())
1afc06c2 6098static PyObject *_wrap_new_wxScreenDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6099 PyObject * _resultobj;
6100 wxScreenDC * _result;
1afc06c2 6101 char *_kwnames[] = { NULL };
8ab979d7
RD
6102 char _ptemp[128];
6103
6104 self = self;
1afc06c2 6105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxScreenDC",_kwnames))
8ab979d7 6106 return NULL;
cf694132
RD
6107{
6108 wxPy_BEGIN_ALLOW_THREADS;
6109 _result = (wxScreenDC *)new_wxScreenDC();
6110
6111 wxPy_END_ALLOW_THREADS;
1d99702e
RD
6112} if (_result) {
6113 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScreenDC_p");
6114 _resultobj = Py_BuildValue("s",_ptemp);
6115 } else {
6116 Py_INCREF(Py_None);
6117 _resultobj = Py_None;
6118 }
8ab979d7
RD
6119 return _resultobj;
6120}
6121
6122#define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
1afc06c2 6123static PyObject *_wrap_wxScreenDC_StartDrawingOnTop(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6124 PyObject * _resultobj;
6125 bool _result;
6126 wxScreenDC * _arg0;
6127 wxWindow * _arg1;
1d99702e
RD
6128 PyObject * _argo0 = 0;
6129 PyObject * _argo1 = 0;
1afc06c2 6130 char *_kwnames[] = { "self","window", NULL };
8ab979d7
RD
6131
6132 self = self;
1afc06c2 6133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxScreenDC_StartDrawingOnTop",_kwnames,&_argo0,&_argo1))
8ab979d7 6134 return NULL;
1d99702e
RD
6135 if (_argo0) {
6136 if (_argo0 == Py_None) { _arg0 = NULL; }
6137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScreenDC_p")) {
8ab979d7
RD
6138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
6139 return NULL;
6140 }
6141 }
1d99702e
RD
6142 if (_argo1) {
6143 if (_argo1 == Py_None) { _arg1 = NULL; }
6144 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8ab979d7
RD
6145 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScreenDC_StartDrawingOnTop. Expected _wxWindow_p.");
6146 return NULL;
6147 }
6148 }
cf694132
RD
6149{
6150 wxPy_BEGIN_ALLOW_THREADS;
6151 _result = (bool )wxScreenDC_StartDrawingOnTop(_arg0,_arg1);
6152
6153 wxPy_END_ALLOW_THREADS;
6154} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6155 return _resultobj;
6156}
6157
6158#define wxScreenDC_StartDrawingOnTopRect(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
1afc06c2 6159static PyObject *_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6160 PyObject * _resultobj;
6161 bool _result;
6162 wxScreenDC * _arg0;
1d99702e
RD
6163 wxRect * _arg1 = (wxRect *) NULL;
6164 PyObject * _argo0 = 0;
2f90df85
RD
6165 wxRect temp;
6166 PyObject * _obj1 = 0;
1afc06c2 6167 char *_kwnames[] = { "self","rect", NULL };
8ab979d7
RD
6168
6169 self = self;
2f90df85 6170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxScreenDC_StartDrawingOnTopRect",_kwnames,&_argo0,&_obj1))
8ab979d7 6171 return NULL;
1d99702e
RD
6172 if (_argo0) {
6173 if (_argo0 == Py_None) { _arg0 = NULL; }
6174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScreenDC_p")) {
8ab979d7
RD
6175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopRect. Expected _wxScreenDC_p.");
6176 return NULL;
6177 }
6178 }
2f90df85
RD
6179 if (_obj1)
6180{
6181 _arg1 = &temp;
6182 if (! wxRect_helper(_obj1, &_arg1))
8ab979d7 6183 return NULL;
2f90df85 6184}
cf694132
RD
6185{
6186 wxPy_BEGIN_ALLOW_THREADS;
6187 _result = (bool )wxScreenDC_StartDrawingOnTopRect(_arg0,_arg1);
6188
6189 wxPy_END_ALLOW_THREADS;
6190} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6191 return _resultobj;
6192}
6193
6194#define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
1afc06c2 6195static PyObject *_wrap_wxScreenDC_EndDrawingOnTop(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6196 PyObject * _resultobj;
6197 bool _result;
6198 wxScreenDC * _arg0;
1d99702e 6199 PyObject * _argo0 = 0;
1afc06c2 6200 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6201
6202 self = self;
1afc06c2 6203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScreenDC_EndDrawingOnTop",_kwnames,&_argo0))
8ab979d7 6204 return NULL;
1d99702e
RD
6205 if (_argo0) {
6206 if (_argo0 == Py_None) { _arg0 = NULL; }
6207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScreenDC_p")) {
8ab979d7
RD
6208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
6209 return NULL;
6210 }
6211 }
cf694132
RD
6212{
6213 wxPy_BEGIN_ALLOW_THREADS;
6214 _result = (bool )wxScreenDC_EndDrawingOnTop(_arg0);
6215
6216 wxPy_END_ALLOW_THREADS;
6217} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6218 return _resultobj;
6219}
6220
6221static void *SwigwxClientDCTowxDC(void *ptr) {
6222 wxClientDC *src;
6223 wxDC *dest;
6224 src = (wxClientDC *) ptr;
6225 dest = (wxDC *) src;
6226 return (void *) dest;
6227}
6228
6229#define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
1afc06c2 6230static PyObject *_wrap_new_wxClientDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6231 PyObject * _resultobj;
6232 wxClientDC * _result;
6233 wxWindow * _arg0;
1d99702e 6234 PyObject * _argo0 = 0;
1afc06c2 6235 char *_kwnames[] = { "win", NULL };
8ab979d7
RD
6236 char _ptemp[128];
6237
6238 self = self;
1afc06c2 6239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxClientDC",_kwnames,&_argo0))
8ab979d7 6240 return NULL;
1d99702e
RD
6241 if (_argo0) {
6242 if (_argo0 == Py_None) { _arg0 = NULL; }
6243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
6244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
6245 return NULL;
6246 }
6247 }
cf694132
RD
6248{
6249 wxPy_BEGIN_ALLOW_THREADS;
6250 _result = (wxClientDC *)new_wxClientDC(_arg0);
6251
6252 wxPy_END_ALLOW_THREADS;
1d99702e
RD
6253} if (_result) {
6254 SWIG_MakePtr(_ptemp, (char *) _result,"_wxClientDC_p");
6255 _resultobj = Py_BuildValue("s",_ptemp);
6256 } else {
6257 Py_INCREF(Py_None);
6258 _resultobj = Py_None;
6259 }
8ab979d7
RD
6260 return _resultobj;
6261}
6262
6263static void *SwigwxPaintDCTowxDC(void *ptr) {
6264 wxPaintDC *src;
6265 wxDC *dest;
6266 src = (wxPaintDC *) ptr;
6267 dest = (wxDC *) src;
6268 return (void *) dest;
6269}
6270
6271#define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
1afc06c2 6272static PyObject *_wrap_new_wxPaintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6273 PyObject * _resultobj;
6274 wxPaintDC * _result;
6275 wxWindow * _arg0;
1d99702e 6276 PyObject * _argo0 = 0;
1afc06c2 6277 char *_kwnames[] = { "win", NULL };
8ab979d7
RD
6278 char _ptemp[128];
6279
6280 self = self;
1afc06c2 6281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxPaintDC",_kwnames,&_argo0))
8ab979d7 6282 return NULL;
1d99702e
RD
6283 if (_argo0) {
6284 if (_argo0 == Py_None) { _arg0 = NULL; }
6285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
6286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
6287 return NULL;
6288 }
6289 }
cf694132
RD
6290{
6291 wxPy_BEGIN_ALLOW_THREADS;
6292 _result = (wxPaintDC *)new_wxPaintDC(_arg0);
6293
6294 wxPy_END_ALLOW_THREADS;
1d99702e
RD
6295} if (_result) {
6296 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPaintDC_p");
6297 _resultobj = Py_BuildValue("s",_ptemp);
6298 } else {
6299 Py_INCREF(Py_None);
6300 _resultobj = Py_None;
6301 }
8ab979d7
RD
6302 return _resultobj;
6303}
6304
b639c3c5
RD
6305static void *SwigwxWindowDCTowxDC(void *ptr) {
6306 wxWindowDC *src;
6307 wxDC *dest;
6308 src = (wxWindowDC *) ptr;
6309 dest = (wxDC *) src;
6310 return (void *) dest;
6311}
6312
6313#define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
1afc06c2 6314static PyObject *_wrap_new_wxWindowDC(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
6315 PyObject * _resultobj;
6316 wxWindowDC * _result;
6317 wxWindow * _arg0;
1d99702e 6318 PyObject * _argo0 = 0;
1afc06c2 6319 char *_kwnames[] = { "win", NULL };
b639c3c5
RD
6320 char _ptemp[128];
6321
6322 self = self;
1afc06c2 6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxWindowDC",_kwnames,&_argo0))
b639c3c5 6324 return NULL;
1d99702e
RD
6325 if (_argo0) {
6326 if (_argo0 == Py_None) { _arg0 = NULL; }
6327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b639c3c5
RD
6328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
6329 return NULL;
6330 }
6331 }
cf694132
RD
6332{
6333 wxPy_BEGIN_ALLOW_THREADS;
6334 _result = (wxWindowDC *)new_wxWindowDC(_arg0);
6335
6336 wxPy_END_ALLOW_THREADS;
1d99702e
RD
6337} if (_result) {
6338 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindowDC_p");
6339 _resultobj = Py_BuildValue("s",_ptemp);
6340 } else {
6341 Py_INCREF(Py_None);
6342 _resultobj = Py_None;
6343 }
b639c3c5
RD
6344 return _resultobj;
6345}
6346
8ab979d7
RD
6347static void *SwigwxPrinterDCTowxDC(void *ptr) {
6348 wxPrinterDC *src;
6349 wxDC *dest;
6350 src = (wxPrinterDC *) ptr;
6351 dest = (wxDC *) src;
6352 return (void *) dest;
6353}
6354
6355#define new_wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1afc06c2 6356static PyObject *_wrap_new_wxPrinterDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6357 PyObject * _resultobj;
6358 wxPrinterDC * _result;
6359 wxString * _arg0;
6360 wxString * _arg1;
6361 wxString * _arg2;
1d99702e
RD
6362 bool _arg3 = (bool ) TRUE;
6363 int _arg4 = (int ) wxPORTRAIT;
8ab979d7
RD
6364 PyObject * _obj0 = 0;
6365 PyObject * _obj1 = 0;
6366 PyObject * _obj2 = 0;
1d99702e 6367 int tempbool3 = (int) TRUE;
1afc06c2 6368 char *_kwnames[] = { "driver","device","output","interactive","orientation", NULL };
8ab979d7
RD
6369 char _ptemp[128];
6370
6371 self = self;
1afc06c2 6372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|ii:new_wxPrinterDC",_kwnames,&_obj0,&_obj1,&_obj2,&tempbool3,&_arg4))
8ab979d7
RD
6373 return NULL;
6374{
6375 if (!PyString_Check(_obj0)) {
6376 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6377 return NULL;
6378 }
cf694132 6379 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
8ab979d7
RD
6380}
6381{
6382 if (!PyString_Check(_obj1)) {
6383 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6384 return NULL;
6385 }
cf694132 6386 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
8ab979d7
RD
6387}
6388{
6389 if (!PyString_Check(_obj2)) {
6390 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6391 return NULL;
6392 }
cf694132 6393 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
8ab979d7
RD
6394}
6395 _arg3 = (bool ) tempbool3;
cf694132
RD
6396{
6397 wxPy_BEGIN_ALLOW_THREADS;
6398 _result = (wxPrinterDC *)new_wxPrinterDC(*_arg0,*_arg1,*_arg2,_arg3,_arg4);
6399
6400 wxPy_END_ALLOW_THREADS;
1d99702e
RD
6401} if (_result) {
6402 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrinterDC_p");
6403 _resultobj = Py_BuildValue("s",_ptemp);
6404 } else {
6405 Py_INCREF(Py_None);
6406 _resultobj = Py_None;
6407 }
8ab979d7
RD
6408{
6409 if (_obj0)
6410 delete _arg0;
6411}
6412{
6413 if (_obj1)
6414 delete _arg1;
6415}
6416{
6417 if (_obj2)
6418 delete _arg2;
6419}
6420 return _resultobj;
6421}
6422
6423static void *SwigwxMetaFileDCTowxDC(void *ptr) {
6424 wxMetaFileDC *src;
6425 wxDC *dest;
6426 src = (wxMetaFileDC *) ptr;
6427 dest = (wxDC *) src;
6428 return (void *) dest;
6429}
6430
6431#define new_wxMetaFileDC(_swigarg0) (new wxMetaFileDC(_swigarg0))
1afc06c2 6432static PyObject *_wrap_new_wxMetaFileDC(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6433 PyObject * _resultobj;
6434 wxMetaFileDC * _result;
1d99702e 6435 wxString * _arg0 = (wxString *) &wxPyEmptyStr;
8ab979d7 6436 PyObject * _obj0 = 0;
1afc06c2 6437 char *_kwnames[] = { "filename", NULL };
8ab979d7
RD
6438 char _ptemp[128];
6439
6440 self = self;
1afc06c2 6441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxMetaFileDC",_kwnames,&_obj0))
8ab979d7
RD
6442 return NULL;
6443 if (_obj0)
6444{
6445 if (!PyString_Check(_obj0)) {
6446 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6447 return NULL;
6448 }
cf694132 6449 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
8ab979d7 6450}
cf694132
RD
6451{
6452 wxPy_BEGIN_ALLOW_THREADS;
6453 _result = (wxMetaFileDC *)new_wxMetaFileDC(*_arg0);
6454
6455 wxPy_END_ALLOW_THREADS;
1d99702e
RD
6456} if (_result) {
6457 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMetaFileDC_p");
6458 _resultobj = Py_BuildValue("s",_ptemp);
6459 } else {
6460 Py_INCREF(Py_None);
6461 _resultobj = Py_None;
6462 }
8ab979d7
RD
6463{
6464 if (_obj0)
6465 delete _arg0;
6466}
6467 return _resultobj;
6468}
6469
6470#define wxMetaFileDC_Close(_swigobj) (_swigobj->Close())
1afc06c2 6471static PyObject *_wrap_wxMetaFileDC_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6472 PyObject * _resultobj;
6473 wxMetaFile * _result;
6474 wxMetaFileDC * _arg0;
1d99702e 6475 PyObject * _argo0 = 0;
1afc06c2 6476 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6477 char _ptemp[128];
6478
6479 self = self;
1afc06c2 6480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMetaFileDC_Close",_kwnames,&_argo0))
8ab979d7 6481 return NULL;
1d99702e
RD
6482 if (_argo0) {
6483 if (_argo0 == Py_None) { _arg0 = NULL; }
6484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMetaFileDC_p")) {
8ab979d7
RD
6485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMetaFileDC_Close. Expected _wxMetaFileDC_p.");
6486 return NULL;
6487 }
6488 }
cf694132
RD
6489{
6490 wxPy_BEGIN_ALLOW_THREADS;
6491 _result = (wxMetaFile *)wxMetaFileDC_Close(_arg0);
6492
6493 wxPy_END_ALLOW_THREADS;
1d99702e
RD
6494} if (_result) {
6495 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMetaFile_p");
6496 _resultobj = Py_BuildValue("s",_ptemp);
6497 } else {
6498 Py_INCREF(Py_None);
6499 _resultobj = Py_None;
6500 }
8ab979d7
RD
6501 return _resultobj;
6502}
6503
b639c3c5 6504#define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 6505static PyObject *_wrap_new_wxPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
6506 PyObject * _resultobj;
6507 wxPalette * _result;
6508 int _arg0;
6509 byte * _arg1;
6510 byte * _arg2;
6511 byte * _arg3;
6512 PyObject * _obj1 = 0;
6513 PyObject * _obj2 = 0;
6514 PyObject * _obj3 = 0;
1afc06c2 6515 char *_kwnames[] = { "LIST","LIST","LIST", NULL };
b639c3c5
RD
6516 char _ptemp[128];
6517
6518 self = self;
1afc06c2 6519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:new_wxPalette",_kwnames,&_obj1,&_obj2,&_obj3))
b639c3c5
RD
6520 return NULL;
6521{
6522 _arg1 = byte_LIST_helper(_obj1);
6523 if (_arg1 == NULL) {
6524 return NULL;
6525 }
6526}
6527{
6528 _arg2 = byte_LIST_helper(_obj2);
6529 if (_arg2 == NULL) {
6530 return NULL;
6531 }
6532}
6533 if (_obj3)
6534{
6535 _arg3 = byte_LIST_helper(_obj3);
6536 if (_arg3 == NULL) {
6537 return NULL;
6538 }
6539}
6540{
cf694132
RD
6541 if (_obj1) {
6542 _arg0 = PyList_Size(_obj1);
6543 }
6544 else {
6545 _arg0 = 0;
6546 }
b639c3c5 6547}
cf694132
RD
6548{
6549 wxPy_BEGIN_ALLOW_THREADS;
6550 _result = (wxPalette *)new_wxPalette(_arg0,_arg1,_arg2,_arg3);
6551
6552 wxPy_END_ALLOW_THREADS;
1d99702e
RD
6553} if (_result) {
6554 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPalette_p");
6555 _resultobj = Py_BuildValue("s",_ptemp);
6556 } else {
6557 Py_INCREF(Py_None);
6558 _resultobj = Py_None;
6559 }
b639c3c5
RD
6560{
6561 delete [] _arg1;
6562}
6563{
6564 delete [] _arg2;
6565}
6566{
6567 delete [] _arg3;
6568}
6569 return _resultobj;
6570}
6571
6572#define delete_wxPalette(_swigobj) (delete _swigobj)
1afc06c2 6573static PyObject *_wrap_delete_wxPalette(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
6574 PyObject * _resultobj;
6575 wxPalette * _arg0;
1d99702e 6576 PyObject * _argo0 = 0;
1afc06c2 6577 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
6578
6579 self = self;
1afc06c2 6580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPalette",_kwnames,&_argo0))
b639c3c5 6581 return NULL;
1d99702e
RD
6582 if (_argo0) {
6583 if (_argo0 == Py_None) { _arg0 = NULL; }
6584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPalette_p")) {
b639c3c5
RD
6585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
6586 return NULL;
6587 }
6588 }
cf694132
RD
6589{
6590 wxPy_BEGIN_ALLOW_THREADS;
6591 delete_wxPalette(_arg0);
6592
6593 wxPy_END_ALLOW_THREADS;
6594} Py_INCREF(Py_None);
b639c3c5
RD
6595 _resultobj = Py_None;
6596 return _resultobj;
6597}
6598
6599#define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 6600static PyObject *_wrap_wxPalette_GetPixel(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
6601 PyObject * _resultobj;
6602 int _result;
6603 wxPalette * _arg0;
6604 byte _arg1;
6605 byte _arg2;
6606 byte _arg3;
1d99702e 6607 PyObject * _argo0 = 0;
1afc06c2 6608 char *_kwnames[] = { "self","red","green","blue", NULL };
b639c3c5
RD
6609
6610 self = self;
1afc06c2 6611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Obbb:wxPalette_GetPixel",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
b639c3c5 6612 return NULL;
1d99702e
RD
6613 if (_argo0) {
6614 if (_argo0 == Py_None) { _arg0 = NULL; }
6615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPalette_p")) {
b639c3c5
RD
6616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
6617 return NULL;
6618 }
6619 }
cf694132
RD
6620{
6621 wxPy_BEGIN_ALLOW_THREADS;
6622 _result = (int )wxPalette_GetPixel(_arg0,_arg1,_arg2,_arg3);
6623
6624 wxPy_END_ALLOW_THREADS;
6625} _resultobj = Py_BuildValue("i",_result);
b639c3c5
RD
6626 return _resultobj;
6627}
6628
6629#define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 6630static PyObject *_wrap_wxPalette_GetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
6631 PyObject * _resultobj;
6632 bool _result;
6633 wxPalette * _arg0;
6634 int _arg1;
6635 byte * _arg2;
6636 byte * _arg3;
6637 byte * _arg4;
1d99702e
RD
6638 PyObject * _argo0 = 0;
6639 PyObject * _argo2 = 0;
6640 PyObject * _argo3 = 0;
6641 PyObject * _argo4 = 0;
1afc06c2 6642 char *_kwnames[] = { "self","pixel","OUTPUT","OUTPUT","OUTPUT", NULL };
b639c3c5
RD
6643
6644 self = self;
1afc06c2 6645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOOO:wxPalette_GetRGB",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_argo4))
b639c3c5 6646 return NULL;
1d99702e
RD
6647 if (_argo0) {
6648 if (_argo0 == Py_None) { _arg0 = NULL; }
6649 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPalette_p")) {
b639c3c5
RD
6650 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
6651 return NULL;
6652 }
6653 }
1d99702e
RD
6654 if (_argo2) {
6655 if (_argo2 == Py_None) { _arg2 = NULL; }
6656 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_byte_p")) {
b639c3c5
RD
6657 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
6658 return NULL;
6659 }
6660 }
1d99702e
RD
6661 if (_argo3) {
6662 if (_argo3 == Py_None) { _arg3 = NULL; }
6663 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_byte_p")) {
b639c3c5
RD
6664 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
6665 return NULL;
6666 }
6667 }
1d99702e
RD
6668 if (_argo4) {
6669 if (_argo4 == Py_None) { _arg4 = NULL; }
6670 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_byte_p")) {
b639c3c5
RD
6671 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
6672 return NULL;
6673 }
6674 }
cf694132
RD
6675{
6676 wxPy_BEGIN_ALLOW_THREADS;
6677 _result = (bool )wxPalette_GetRGB(_arg0,_arg1,_arg2,_arg3,_arg4);
6678
6679 wxPy_END_ALLOW_THREADS;
6680} _resultobj = Py_BuildValue("i",_result);
b639c3c5
RD
6681 return _resultobj;
6682}
6683
6684#define wxPalette_Ok(_swigobj) (_swigobj->Ok())
1afc06c2 6685static PyObject *_wrap_wxPalette_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
b639c3c5
RD
6686 PyObject * _resultobj;
6687 bool _result;
6688 wxPalette * _arg0;
1d99702e 6689 PyObject * _argo0 = 0;
1afc06c2 6690 char *_kwnames[] = { "self", NULL };
b639c3c5
RD
6691
6692 self = self;
1afc06c2 6693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPalette_Ok",_kwnames,&_argo0))
b639c3c5 6694 return NULL;
1d99702e
RD
6695 if (_argo0) {
6696 if (_argo0 == Py_None) { _arg0 = NULL; }
6697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPalette_p")) {
b639c3c5
RD
6698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
6699 return NULL;
6700 }
6701 }
cf694132
RD
6702{
6703 wxPy_BEGIN_ALLOW_THREADS;
6704 _result = (bool )wxPalette_Ok(_arg0);
6705
6706 wxPy_END_ALLOW_THREADS;
6707} _resultobj = Py_BuildValue("i",_result);
b639c3c5
RD
6708 return _resultobj;
6709}
6710
af309447 6711#define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1afc06c2 6712static PyObject *_wrap_new_wxImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
6713 PyObject * _resultobj;
6714 wxImageList * _result;
6715 int _arg0;
6716 int _arg1;
1d99702e
RD
6717 bool _arg2 = (bool ) TRUE;
6718 int _arg3 = (int ) 1;
6719 int tempbool2 = (int) TRUE;
1afc06c2 6720 char *_kwnames[] = { "width","height","mask","initialCount", NULL };
af309447
RD
6721 char _ptemp[128];
6722
6723 self = self;
1afc06c2 6724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii|ii:new_wxImageList",_kwnames,&_arg0,&_arg1,&tempbool2,&_arg3))
af309447
RD
6725 return NULL;
6726 _arg2 = (bool ) tempbool2;
cf694132
RD
6727{
6728 wxPy_BEGIN_ALLOW_THREADS;
6729 _result = (wxImageList *)new_wxImageList(_arg0,_arg1,_arg2,_arg3);
6730
6731 wxPy_END_ALLOW_THREADS;
1d99702e
RD
6732} if (_result) {
6733 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
6734 _resultobj = Py_BuildValue("s",_ptemp);
6735 } else {
6736 Py_INCREF(Py_None);
6737 _resultobj = Py_None;
6738 }
af309447
RD
6739 return _resultobj;
6740}
6741
6742#define delete_wxImageList(_swigobj) (delete _swigobj)
1afc06c2 6743static PyObject *_wrap_delete_wxImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
6744 PyObject * _resultobj;
6745 wxImageList * _arg0;
1d99702e 6746 PyObject * _argo0 = 0;
1afc06c2 6747 char *_kwnames[] = { "self", NULL };
af309447
RD
6748
6749 self = self;
1afc06c2 6750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxImageList",_kwnames,&_argo0))
af309447 6751 return NULL;
1d99702e
RD
6752 if (_argo0) {
6753 if (_argo0 == Py_None) { _arg0 = NULL; }
6754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
af309447
RD
6755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
6756 return NULL;
6757 }
6758 }
cf694132
RD
6759{
6760 wxPy_BEGIN_ALLOW_THREADS;
6761 delete_wxImageList(_arg0);
6762
6763 wxPy_END_ALLOW_THREADS;
6764} Py_INCREF(Py_None);
af309447
RD
6765 _resultobj = Py_None;
6766 return _resultobj;
6767}
6768
6769#define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
1afc06c2 6770static PyObject *_wrap_wxImageList_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
6771 PyObject * _resultobj;
6772 int _result;
6773 wxImageList * _arg0;
6774 wxBitmap * _arg1;
1d99702e
RD
6775 wxBitmap * _arg2 = (wxBitmap *) &wxNullBitmap;
6776 PyObject * _argo0 = 0;
6777 PyObject * _argo1 = 0;
6778 PyObject * _argo2 = 0;
1afc06c2 6779 char *_kwnames[] = { "self","bitmap","mask", NULL };
af309447
RD
6780
6781 self = self;
1afc06c2 6782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxImageList_Add",_kwnames,&_argo0,&_argo1,&_argo2))
af309447 6783 return NULL;
1d99702e
RD
6784 if (_argo0) {
6785 if (_argo0 == Py_None) { _arg0 = NULL; }
6786 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
af309447
RD
6787 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
6788 return NULL;
6789 }
6790 }
1d99702e
RD
6791 if (_argo1) {
6792 if (_argo1 == Py_None) { _arg1 = NULL; }
6793 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
af309447
RD
6794 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
6795 return NULL;
6796 }
6797 }
1d99702e
RD
6798 if (_argo2) {
6799 if (_argo2 == Py_None) { _arg2 = NULL; }
6800 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
af309447
RD
6801 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
6802 return NULL;
6803 }
6804 }
cf694132
RD
6805{
6806 wxPy_BEGIN_ALLOW_THREADS;
6807 _result = (int )wxImageList_Add(_arg0,*_arg1,*_arg2);
6808
6809 wxPy_END_ALLOW_THREADS;
6810} _resultobj = Py_BuildValue("i",_result);
af309447
RD
6811 return _resultobj;
6812}
6813
6814#define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
1afc06c2 6815static PyObject *_wrap_wxImageList_AddWithColourMask(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
6816 PyObject * _resultobj;
6817 int _result;
6818 wxImageList * _arg0;
6819 wxBitmap * _arg1;
6820 wxColour * _arg2;
1d99702e
RD
6821 PyObject * _argo0 = 0;
6822 PyObject * _argo1 = 0;
6823 PyObject * _argo2 = 0;
1afc06c2 6824 char *_kwnames[] = { "self","bitmap","maskColour", NULL };
af309447
RD
6825
6826 self = self;
1afc06c2 6827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxImageList_AddWithColourMask",_kwnames,&_argo0,&_argo1,&_argo2))
af309447 6828 return NULL;
1d99702e
RD
6829 if (_argo0) {
6830 if (_argo0 == Py_None) { _arg0 = NULL; }
6831 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
af309447
RD
6832 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
6833 return NULL;
6834 }
6835 }
1d99702e
RD
6836 if (_argo1) {
6837 if (_argo1 == Py_None) { _arg1 = NULL; }
6838 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
af309447
RD
6839 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
6840 return NULL;
6841 }
6842 }
1d99702e
RD
6843 if (_argo2) {
6844 if (_argo2 == Py_None) { _arg2 = NULL; }
6845 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxColour_p")) {
af309447
RD
6846 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_AddWithColourMask. Expected _wxColour_p.");
6847 return NULL;
6848 }
6849 }
cf694132
RD
6850{
6851 wxPy_BEGIN_ALLOW_THREADS;
6852 _result = (int )wxImageList_AddWithColourMask(_arg0,*_arg1,*_arg2);
6853
6854 wxPy_END_ALLOW_THREADS;
6855} _resultobj = Py_BuildValue("i",_result);
af309447
RD
6856 return _resultobj;
6857}
6858
6859#define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
1afc06c2 6860static PyObject *_wrap_wxImageList_AddIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
6861 PyObject * _resultobj;
6862 int _result;
6863 wxImageList * _arg0;
6864 wxIcon * _arg1;
1d99702e
RD
6865 PyObject * _argo0 = 0;
6866 PyObject * _argo1 = 0;
1afc06c2 6867 char *_kwnames[] = { "self","icon", NULL };
af309447
RD
6868
6869 self = self;
1afc06c2 6870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxImageList_AddIcon",_kwnames,&_argo0,&_argo1))
af309447 6871 return NULL;
1d99702e
RD
6872 if (_argo0) {
6873 if (_argo0 == Py_None) { _arg0 = NULL; }
6874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
af309447
RD
6875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
6876 return NULL;
6877 }
6878 }
1d99702e
RD
6879 if (_argo1) {
6880 if (_argo1 == Py_None) { _arg1 = NULL; }
6881 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
af309447
RD
6882 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
6883 return NULL;
6884 }
6885 }
cf694132
RD
6886{
6887 wxPy_BEGIN_ALLOW_THREADS;
6888 _result = (int )wxImageList_AddIcon(_arg0,*_arg1);
6889
6890 wxPy_END_ALLOW_THREADS;
6891} _resultobj = Py_BuildValue("i",_result);
af309447
RD
6892 return _resultobj;
6893}
6894
21f8d7ea 6895#define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
1afc06c2 6896static PyObject *_wrap_wxImageList_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
6897 PyObject * _resultobj;
6898 bool _result;
6899 wxImageList * _arg0;
6900 int _arg1;
21f8d7ea 6901 wxBitmap * _arg2;
1d99702e
RD
6902 wxBitmap * _arg3 = (wxBitmap *) &wxNullBitmap;
6903 PyObject * _argo0 = 0;
6904 PyObject * _argo2 = 0;
6905 PyObject * _argo3 = 0;
1afc06c2 6906 char *_kwnames[] = { "self","index","bitmap","mask", NULL };
af309447
RD
6907
6908 self = self;
1afc06c2 6909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|O:wxImageList_Replace",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3))
af309447 6910 return NULL;
1d99702e
RD
6911 if (_argo0) {
6912 if (_argo0 == Py_None) { _arg0 = NULL; }
6913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 6914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
af309447
RD
6915 return NULL;
6916 }
6917 }
1d99702e
RD
6918 if (_argo2) {
6919 if (_argo2 == Py_None) { _arg2 = NULL; }
6920 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
21f8d7ea 6921 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
af309447
RD
6922 return NULL;
6923 }
6924 }
1d99702e
RD
6925 if (_argo3) {
6926 if (_argo3 == Py_None) { _arg3 = NULL; }
6927 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
21f8d7ea
RD
6928 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxImageList_Replace. Expected _wxBitmap_p.");
6929 return NULL;
6930 }
6931 }
cf694132
RD
6932{
6933 wxPy_BEGIN_ALLOW_THREADS;
6934 _result = (bool )wxImageList_Replace(_arg0,_arg1,*_arg2,*_arg3);
6935
6936 wxPy_END_ALLOW_THREADS;
6937} _resultobj = Py_BuildValue("i",_result);
af309447
RD
6938 return _resultobj;
6939}
6940
21f8d7ea 6941#define wxImageList_ReplaceIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
1afc06c2 6942static PyObject *_wrap_wxImageList_ReplaceIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 6943 PyObject * _resultobj;
21f8d7ea 6944 bool _result;
af309447 6945 wxImageList * _arg0;
21f8d7ea
RD
6946 int _arg1;
6947 wxIcon * _arg2;
1d99702e
RD
6948 PyObject * _argo0 = 0;
6949 PyObject * _argo2 = 0;
1afc06c2 6950 char *_kwnames[] = { "self","index","icon", NULL };
af309447
RD
6951
6952 self = self;
1afc06c2 6953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxImageList_ReplaceIcon",_kwnames,&_argo0,&_arg1,&_argo2))
af309447 6954 return NULL;
1d99702e
RD
6955 if (_argo0) {
6956 if (_argo0 == Py_None) { _arg0 = NULL; }
6957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 6958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_ReplaceIcon. Expected _wxImageList_p.");
af309447
RD
6959 return NULL;
6960 }
6961 }
1d99702e
RD
6962 if (_argo2) {
6963 if (_argo2 == Py_None) { _arg2 = NULL; }
6964 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxIcon_p")) {
21f8d7ea
RD
6965 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_ReplaceIcon. Expected _wxIcon_p.");
6966 return NULL;
6967 }
6968 }
cf694132
RD
6969{
6970 wxPy_BEGIN_ALLOW_THREADS;
6971 _result = (bool )wxImageList_ReplaceIcon(_arg0,_arg1,*_arg2);
6972
6973 wxPy_END_ALLOW_THREADS;
6974} _resultobj = Py_BuildValue("i",_result);
af309447
RD
6975 return _resultobj;
6976}
6977
21f8d7ea 6978#define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1afc06c2 6979static PyObject *_wrap_wxImageList_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
6980 PyObject * _resultobj;
6981 bool _result;
6982 wxImageList * _arg0;
6983 int _arg1;
21f8d7ea
RD
6984 wxDC * _arg2;
6985 int _arg3;
6986 int _arg4;
1d99702e
RD
6987 int _arg5 = (int ) (wxIMAGELIST_DRAW_NORMAL);
6988 bool _arg6 = (bool ) FALSE;
6989 PyObject * _argo0 = 0;
6990 PyObject * _argo2 = 0;
6991 int tempbool6 = (int) FALSE;
1afc06c2 6992 char *_kwnames[] = { "self","index","dc","x","x","flags","solidBackground", NULL };
af309447
RD
6993
6994 self = self;
1afc06c2 6995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOii|ii:wxImageList_Draw",_kwnames,&_argo0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6))
af309447 6996 return NULL;
1d99702e
RD
6997 if (_argo0) {
6998 if (_argo0 == Py_None) { _arg0 = NULL; }
6999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 7000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
af309447
RD
7001 return NULL;
7002 }
7003 }
1d99702e
RD
7004 if (_argo2) {
7005 if (_argo2 == Py_None) { _arg2 = NULL; }
7006 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxDC_p")) {
21f8d7ea
RD
7007 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
7008 return NULL;
7009 }
7010 }
7011 _arg6 = (bool ) tempbool6;
cf694132
RD
7012{
7013 wxPy_BEGIN_ALLOW_THREADS;
7014 _result = (bool )wxImageList_Draw(_arg0,_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6);
7015
7016 wxPy_END_ALLOW_THREADS;
7017} _resultobj = Py_BuildValue("i",_result);
af309447
RD
7018 return _resultobj;
7019}
7020
21f8d7ea 7021#define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
1afc06c2 7022static PyObject *_wrap_wxImageList_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447 7023 PyObject * _resultobj;
21f8d7ea 7024 int _result;
af309447 7025 wxImageList * _arg0;
1d99702e 7026 PyObject * _argo0 = 0;
1afc06c2 7027 char *_kwnames[] = { "self", NULL };
af309447
RD
7028
7029 self = self;
1afc06c2 7030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImageList_GetImageCount",_kwnames,&_argo0))
af309447 7031 return NULL;
1d99702e
RD
7032 if (_argo0) {
7033 if (_argo0 == Py_None) { _arg0 = NULL; }
7034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 7035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
af309447
RD
7036 return NULL;
7037 }
7038 }
cf694132
RD
7039{
7040 wxPy_BEGIN_ALLOW_THREADS;
7041 _result = (int )wxImageList_GetImageCount(_arg0);
7042
7043 wxPy_END_ALLOW_THREADS;
7044} _resultobj = Py_BuildValue("i",_result);
af309447
RD
7045 return _resultobj;
7046}
7047
21f8d7ea 7048#define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1afc06c2 7049static PyObject *_wrap_wxImageList_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
7050 PyObject * _resultobj;
7051 bool _result;
7052 wxImageList * _arg0;
7053 int _arg1;
1d99702e 7054 PyObject * _argo0 = 0;
1afc06c2 7055 char *_kwnames[] = { "self","index", NULL };
af309447
RD
7056
7057 self = self;
1afc06c2 7058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxImageList_Remove",_kwnames,&_argo0,&_arg1))
af309447 7059 return NULL;
1d99702e
RD
7060 if (_argo0) {
7061 if (_argo0 == Py_None) { _arg0 = NULL; }
7062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 7063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
af309447
RD
7064 return NULL;
7065 }
7066 }
cf694132
RD
7067{
7068 wxPy_BEGIN_ALLOW_THREADS;
7069 _result = (bool )wxImageList_Remove(_arg0,_arg1);
7070
7071 wxPy_END_ALLOW_THREADS;
7072} _resultobj = Py_BuildValue("i",_result);
af309447
RD
7073 return _resultobj;
7074}
7075
21f8d7ea 7076#define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
1afc06c2 7077static PyObject *_wrap_wxImageList_RemoveAll(PyObject *self, PyObject *args, PyObject *kwargs) {
af309447
RD
7078 PyObject * _resultobj;
7079 bool _result;
7080 wxImageList * _arg0;
1d99702e 7081 PyObject * _argo0 = 0;
1afc06c2 7082 char *_kwnames[] = { "self", NULL };
af309447
RD
7083
7084 self = self;
1afc06c2 7085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImageList_RemoveAll",_kwnames,&_argo0))
af309447 7086 return NULL;
1d99702e
RD
7087 if (_argo0) {
7088 if (_argo0 == Py_None) { _arg0 = NULL; }
7089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxImageList_p")) {
21f8d7ea 7090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
af309447
RD
7091 return NULL;
7092 }
7093 }
cf694132
RD
7094{
7095 wxPy_BEGIN_ALLOW_THREADS;
7096 _result = (bool )wxImageList_RemoveAll(_arg0);
7097
7098 wxPy_END_ALLOW_THREADS;
7099} _resultobj = Py_BuildValue("i",_result);
af309447
RD
7100 return _resultobj;
7101}
7102
8ab979d7 7103static PyMethodDef gdicMethods[] = {
1afc06c2
RD
7104 { "wxImageList_RemoveAll", (PyCFunction) _wrap_wxImageList_RemoveAll, METH_VARARGS | METH_KEYWORDS },
7105 { "wxImageList_Remove", (PyCFunction) _wrap_wxImageList_Remove, METH_VARARGS | METH_KEYWORDS },
7106 { "wxImageList_GetImageCount", (PyCFunction) _wrap_wxImageList_GetImageCount, METH_VARARGS | METH_KEYWORDS },
7107 { "wxImageList_Draw", (PyCFunction) _wrap_wxImageList_Draw, METH_VARARGS | METH_KEYWORDS },
7108 { "wxImageList_ReplaceIcon", (PyCFunction) _wrap_wxImageList_ReplaceIcon, METH_VARARGS | METH_KEYWORDS },
7109 { "wxImageList_Replace", (PyCFunction) _wrap_wxImageList_Replace, METH_VARARGS | METH_KEYWORDS },
7110 { "wxImageList_AddIcon", (PyCFunction) _wrap_wxImageList_AddIcon, METH_VARARGS | METH_KEYWORDS },
7111 { "wxImageList_AddWithColourMask", (PyCFunction) _wrap_wxImageList_AddWithColourMask, METH_VARARGS | METH_KEYWORDS },
7112 { "wxImageList_Add", (PyCFunction) _wrap_wxImageList_Add, METH_VARARGS | METH_KEYWORDS },
7113 { "delete_wxImageList", (PyCFunction) _wrap_delete_wxImageList, METH_VARARGS | METH_KEYWORDS },
7114 { "new_wxImageList", (PyCFunction) _wrap_new_wxImageList, METH_VARARGS | METH_KEYWORDS },
7115 { "wxPalette_Ok", (PyCFunction) _wrap_wxPalette_Ok, METH_VARARGS | METH_KEYWORDS },
7116 { "wxPalette_GetRGB", (PyCFunction) _wrap_wxPalette_GetRGB, METH_VARARGS | METH_KEYWORDS },
7117 { "wxPalette_GetPixel", (PyCFunction) _wrap_wxPalette_GetPixel, METH_VARARGS | METH_KEYWORDS },
7118 { "delete_wxPalette", (PyCFunction) _wrap_delete_wxPalette, METH_VARARGS | METH_KEYWORDS },
7119 { "new_wxPalette", (PyCFunction) _wrap_new_wxPalette, METH_VARARGS | METH_KEYWORDS },
7120 { "wxMetaFileDC_Close", (PyCFunction) _wrap_wxMetaFileDC_Close, METH_VARARGS | METH_KEYWORDS },
7121 { "new_wxMetaFileDC", (PyCFunction) _wrap_new_wxMetaFileDC, METH_VARARGS | METH_KEYWORDS },
7122 { "new_wxPrinterDC", (PyCFunction) _wrap_new_wxPrinterDC, METH_VARARGS | METH_KEYWORDS },
7123 { "new_wxWindowDC", (PyCFunction) _wrap_new_wxWindowDC, METH_VARARGS | METH_KEYWORDS },
7124 { "new_wxPaintDC", (PyCFunction) _wrap_new_wxPaintDC, METH_VARARGS | METH_KEYWORDS },
7125 { "new_wxClientDC", (PyCFunction) _wrap_new_wxClientDC, METH_VARARGS | METH_KEYWORDS },
7126 { "wxScreenDC_EndDrawingOnTop", (PyCFunction) _wrap_wxScreenDC_EndDrawingOnTop, METH_VARARGS | METH_KEYWORDS },
7127 { "wxScreenDC_StartDrawingOnTopRect", (PyCFunction) _wrap_wxScreenDC_StartDrawingOnTopRect, METH_VARARGS | METH_KEYWORDS },
7128 { "wxScreenDC_StartDrawingOnTop", (PyCFunction) _wrap_wxScreenDC_StartDrawingOnTop, METH_VARARGS | METH_KEYWORDS },
7129 { "new_wxScreenDC", (PyCFunction) _wrap_new_wxScreenDC, METH_VARARGS | METH_KEYWORDS },
7130 { "wxMemoryDC_SelectObject", (PyCFunction) _wrap_wxMemoryDC_SelectObject, METH_VARARGS | METH_KEYWORDS },
7131 { "new_wxMemoryDC", (PyCFunction) _wrap_new_wxMemoryDC, METH_VARARGS | METH_KEYWORDS },
7132 { "wxDC_DrawBitmap", (PyCFunction) _wrap_wxDC_DrawBitmap, METH_VARARGS | METH_KEYWORDS },
7133 { "wxDC_StartPage", (PyCFunction) _wrap_wxDC_StartPage, METH_VARARGS | METH_KEYWORDS },
7134 { "wxDC_StartDoc", (PyCFunction) _wrap_wxDC_StartDoc, METH_VARARGS | METH_KEYWORDS },
7135 { "wxDC_SetUserScale", (PyCFunction) _wrap_wxDC_SetUserScale, METH_VARARGS | METH_KEYWORDS },
7136 { "wxDC_SetTextForeground", (PyCFunction) _wrap_wxDC_SetTextForeground, METH_VARARGS | METH_KEYWORDS },
7137 { "wxDC_SetTextBackground", (PyCFunction) _wrap_wxDC_SetTextBackground, METH_VARARGS | METH_KEYWORDS },
7138 { "wxDC_SetPen", (PyCFunction) _wrap_wxDC_SetPen, METH_VARARGS | METH_KEYWORDS },
7139 { "wxDC_SetOptimization", (PyCFunction) _wrap_wxDC_SetOptimization, METH_VARARGS | METH_KEYWORDS },
7140 { "wxDC_SetMapMode", (PyCFunction) _wrap_wxDC_SetMapMode, METH_VARARGS | METH_KEYWORDS },
7141 { "wxDC_SetLogicalFunction", (PyCFunction) _wrap_wxDC_SetLogicalFunction, METH_VARARGS | METH_KEYWORDS },
7142 { "wxDC_SetFont", (PyCFunction) _wrap_wxDC_SetFont, METH_VARARGS | METH_KEYWORDS },
7143 { "wxDC_SetBrush", (PyCFunction) _wrap_wxDC_SetBrush, METH_VARARGS | METH_KEYWORDS },
7144 { "wxDC_SetPalette", (PyCFunction) _wrap_wxDC_SetPalette, METH_VARARGS | METH_KEYWORDS },
7145 { "wxDC_SetClippingRegion", (PyCFunction) _wrap_wxDC_SetClippingRegion, METH_VARARGS | METH_KEYWORDS },
7146 { "wxDC_SetBackgroundMode", (PyCFunction) _wrap_wxDC_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
7147 { "wxDC_SetBackground", (PyCFunction) _wrap_wxDC_SetBackground, METH_VARARGS | METH_KEYWORDS },
7148 { "wxDC_SetDeviceOrigin", (PyCFunction) _wrap_wxDC_SetDeviceOrigin, METH_VARARGS | METH_KEYWORDS },
7149 { "wxDC_Ok", (PyCFunction) _wrap_wxDC_Ok, METH_VARARGS | METH_KEYWORDS },
7150 { "wxDC_MinY", (PyCFunction) _wrap_wxDC_MinY, METH_VARARGS | METH_KEYWORDS },
7151 { "wxDC_MinX", (PyCFunction) _wrap_wxDC_MinX, METH_VARARGS | METH_KEYWORDS },
7152 { "wxDC_MaxY", (PyCFunction) _wrap_wxDC_MaxY, METH_VARARGS | METH_KEYWORDS },
7153 { "wxDC_MaxX", (PyCFunction) _wrap_wxDC_MaxX, METH_VARARGS | METH_KEYWORDS },
7154 { "wxDC_LogicalToDeviceYRel", (PyCFunction) _wrap_wxDC_LogicalToDeviceYRel, METH_VARARGS | METH_KEYWORDS },
7155 { "wxDC_LogicalToDeviceY", (PyCFunction) _wrap_wxDC_LogicalToDeviceY, METH_VARARGS | METH_KEYWORDS },
7156 { "wxDC_LogicalToDeviceXRel", (PyCFunction) _wrap_wxDC_LogicalToDeviceXRel, METH_VARARGS | METH_KEYWORDS },
7157 { "wxDC_LogicalToDeviceX", (PyCFunction) _wrap_wxDC_LogicalToDeviceX, METH_VARARGS | METH_KEYWORDS },
7158 { "wxDC_GetTextForeground", (PyCFunction) _wrap_wxDC_GetTextForeground, METH_VARARGS | METH_KEYWORDS },
7159 { "wxDC_GetFullTextExtent", (PyCFunction) _wrap_wxDC_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
7160 { "wxDC_GetTextExtent", (PyCFunction) _wrap_wxDC_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
7161 { "wxDC_GetTextBackground", (PyCFunction) _wrap_wxDC_GetTextBackground, METH_VARARGS | METH_KEYWORDS },
7162 { "wxDC_GetSize", (PyCFunction) _wrap_wxDC_GetSize, METH_VARARGS | METH_KEYWORDS },
7163 { "wxDC_GetSizeTuple", (PyCFunction) _wrap_wxDC_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
7164 { "wxDC_GetPixel", (PyCFunction) _wrap_wxDC_GetPixel, METH_VARARGS | METH_KEYWORDS },
7165 { "wxDC_GetPen", (PyCFunction) _wrap_wxDC_GetPen, METH_VARARGS | METH_KEYWORDS },
7166 { "wxDC_GetOptimization", (PyCFunction) _wrap_wxDC_GetOptimization, METH_VARARGS | METH_KEYWORDS },
7167 { "wxDC_GetMapMode", (PyCFunction) _wrap_wxDC_GetMapMode, METH_VARARGS | METH_KEYWORDS },
7168 { "wxDC_GetLogicalFunction", (PyCFunction) _wrap_wxDC_GetLogicalFunction, METH_VARARGS | METH_KEYWORDS },
7169 { "wxDC_GetFont", (PyCFunction) _wrap_wxDC_GetFont, METH_VARARGS | METH_KEYWORDS },
7170 { "wxDC_GetClippingBox", (PyCFunction) _wrap_wxDC_GetClippingBox, METH_VARARGS | METH_KEYWORDS },
7171 { "wxDC_GetCharWidth", (PyCFunction) _wrap_wxDC_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
7172 { "wxDC_GetCharHeight", (PyCFunction) _wrap_wxDC_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
7173 { "wxDC_GetBrush", (PyCFunction) _wrap_wxDC_GetBrush, METH_VARARGS | METH_KEYWORDS },
7174 { "wxDC_GetBackground", (PyCFunction) _wrap_wxDC_GetBackground, METH_VARARGS | METH_KEYWORDS },
7175 { "wxDC_FloodFill", (PyCFunction) _wrap_wxDC_FloodFill, METH_VARARGS | METH_KEYWORDS },
7176 { "wxDC_EndPage", (PyCFunction) _wrap_wxDC_EndPage, METH_VARARGS | METH_KEYWORDS },
7177 { "wxDC_EndDrawing", (PyCFunction) _wrap_wxDC_EndDrawing, METH_VARARGS | METH_KEYWORDS },
7178 { "wxDC_EndDoc", (PyCFunction) _wrap_wxDC_EndDoc, METH_VARARGS | METH_KEYWORDS },
7179 { "wxDC_DrawText", (PyCFunction) _wrap_wxDC_DrawText, METH_VARARGS | METH_KEYWORDS },
7180 { "wxDC_DrawSpline", (PyCFunction) _wrap_wxDC_DrawSpline, METH_VARARGS | METH_KEYWORDS },
7181 { "wxDC_DrawRoundedRectangle", (PyCFunction) _wrap_wxDC_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
7182 { "wxDC_DrawRectangle", (PyCFunction) _wrap_wxDC_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
7183 { "wxDC_DrawPoint", (PyCFunction) _wrap_wxDC_DrawPoint, METH_VARARGS | METH_KEYWORDS },
7184 { "wxDC_DrawPolygon", (PyCFunction) _wrap_wxDC_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
7185 { "wxDC_DrawLines", (PyCFunction) _wrap_wxDC_DrawLines, METH_VARARGS | METH_KEYWORDS },
7186 { "wxDC_DrawLine", (PyCFunction) _wrap_wxDC_DrawLine, METH_VARARGS | METH_KEYWORDS },
7187 { "wxDC_DrawIcon", (PyCFunction) _wrap_wxDC_DrawIcon, METH_VARARGS | METH_KEYWORDS },
7188 { "wxDC_DrawEllipticArc", (PyCFunction) _wrap_wxDC_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
7189 { "wxDC_DrawEllipse", (PyCFunction) _wrap_wxDC_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
7190 { "wxDC_DrawCircle", (PyCFunction) _wrap_wxDC_DrawCircle, METH_VARARGS | METH_KEYWORDS },
7191 { "wxDC_DrawArc", (PyCFunction) _wrap_wxDC_DrawArc, METH_VARARGS | METH_KEYWORDS },
7192 { "wxDC_DeviceToLogicalYRel", (PyCFunction) _wrap_wxDC_DeviceToLogicalYRel, METH_VARARGS | METH_KEYWORDS },
7193 { "wxDC_DeviceToLogicalY", (PyCFunction) _wrap_wxDC_DeviceToLogicalY, METH_VARARGS | METH_KEYWORDS },
7194 { "wxDC_DeviceToLogicalXRel", (PyCFunction) _wrap_wxDC_DeviceToLogicalXRel, METH_VARARGS | METH_KEYWORDS },
7195 { "wxDC_DeviceToLogicalX", (PyCFunction) _wrap_wxDC_DeviceToLogicalX, METH_VARARGS | METH_KEYWORDS },
7196 { "wxDC_DestroyClippingRegion", (PyCFunction) _wrap_wxDC_DestroyClippingRegion, METH_VARARGS | METH_KEYWORDS },
7197 { "wxDC_CrossHair", (PyCFunction) _wrap_wxDC_CrossHair, METH_VARARGS | METH_KEYWORDS },
7198 { "wxDC_Clear", (PyCFunction) _wrap_wxDC_Clear, METH_VARARGS | METH_KEYWORDS },
7199 { "wxDC_Blit", (PyCFunction) _wrap_wxDC_Blit, METH_VARARGS | METH_KEYWORDS },
7200 { "wxDC_BeginDrawing", (PyCFunction) _wrap_wxDC_BeginDrawing, METH_VARARGS | METH_KEYWORDS },
7201 { "delete_wxDC", (PyCFunction) _wrap_delete_wxDC, METH_VARARGS | METH_KEYWORDS },
7202 { "wxBrush_SetStyle", (PyCFunction) _wrap_wxBrush_SetStyle, METH_VARARGS | METH_KEYWORDS },
7203 { "wxBrush_SetStipple", (PyCFunction) _wrap_wxBrush_SetStipple, METH_VARARGS | METH_KEYWORDS },
7204 { "wxBrush_SetColour", (PyCFunction) _wrap_wxBrush_SetColour, METH_VARARGS | METH_KEYWORDS },
7205 { "wxBrush_Ok", (PyCFunction) _wrap_wxBrush_Ok, METH_VARARGS | METH_KEYWORDS },
7206 { "wxBrush_GetStyle", (PyCFunction) _wrap_wxBrush_GetStyle, METH_VARARGS | METH_KEYWORDS },
7207 { "wxBrush_GetStipple", (PyCFunction) _wrap_wxBrush_GetStipple, METH_VARARGS | METH_KEYWORDS },
7208 { "wxBrush_GetColour", (PyCFunction) _wrap_wxBrush_GetColour, METH_VARARGS | METH_KEYWORDS },
7209 { "new_wxBrush", (PyCFunction) _wrap_new_wxBrush, METH_VARARGS | METH_KEYWORDS },
7210 { "wxPen_SetStipple", (PyCFunction) _wrap_wxPen_SetStipple, METH_VARARGS | METH_KEYWORDS },
7211 { "wxPen_SetDashes", (PyCFunction) _wrap_wxPen_SetDashes, METH_VARARGS | METH_KEYWORDS },
7212 { "wxPen_GetStipple", (PyCFunction) _wrap_wxPen_GetStipple, METH_VARARGS | METH_KEYWORDS },
7213 { "wxPen_GetDashes", (PyCFunction) _wrap_wxPen_GetDashes, METH_VARARGS | METH_KEYWORDS },
7214 { "wxPen_SetWidth", (PyCFunction) _wrap_wxPen_SetWidth, METH_VARARGS | METH_KEYWORDS },
7215 { "wxPen_SetStyle", (PyCFunction) _wrap_wxPen_SetStyle, METH_VARARGS | METH_KEYWORDS },
7216 { "wxPen_SetJoin", (PyCFunction) _wrap_wxPen_SetJoin, METH_VARARGS | METH_KEYWORDS },
7217 { "wxPen_SetColour", (PyCFunction) _wrap_wxPen_SetColour, METH_VARARGS | METH_KEYWORDS },
7218 { "wxPen_SetCap", (PyCFunction) _wrap_wxPen_SetCap, METH_VARARGS | METH_KEYWORDS },
7219 { "wxPen_Ok", (PyCFunction) _wrap_wxPen_Ok, METH_VARARGS | METH_KEYWORDS },
7220 { "wxPen_GetWidth", (PyCFunction) _wrap_wxPen_GetWidth, METH_VARARGS | METH_KEYWORDS },
7221 { "wxPen_GetStyle", (PyCFunction) _wrap_wxPen_GetStyle, METH_VARARGS | METH_KEYWORDS },
7222 { "wxPen_GetJoin", (PyCFunction) _wrap_wxPen_GetJoin, METH_VARARGS | METH_KEYWORDS },
7223 { "wxPen_GetColour", (PyCFunction) _wrap_wxPen_GetColour, METH_VARARGS | METH_KEYWORDS },
7224 { "wxPen_GetCap", (PyCFunction) _wrap_wxPen_GetCap, METH_VARARGS | METH_KEYWORDS },
7225 { "new_wxPen", (PyCFunction) _wrap_new_wxPen, METH_VARARGS | METH_KEYWORDS },
7226 { "wxColour_Get", (PyCFunction) _wrap_wxColour_Get, METH_VARARGS | METH_KEYWORDS },
7227 { "wxColour_Set", (PyCFunction) _wrap_wxColour_Set, METH_VARARGS | METH_KEYWORDS },
7228 { "wxColour_Ok", (PyCFunction) _wrap_wxColour_Ok, METH_VARARGS | METH_KEYWORDS },
7229 { "wxColour_Blue", (PyCFunction) _wrap_wxColour_Blue, METH_VARARGS | METH_KEYWORDS },
7230 { "wxColour_Green", (PyCFunction) _wrap_wxColour_Green, METH_VARARGS | METH_KEYWORDS },
7231 { "wxColour_Red", (PyCFunction) _wrap_wxColour_Red, METH_VARARGS | METH_KEYWORDS },
7232 { "delete_wxColour", (PyCFunction) _wrap_delete_wxColour, METH_VARARGS | METH_KEYWORDS },
7233 { "new_wxColour", (PyCFunction) _wrap_new_wxColour, METH_VARARGS | METH_KEYWORDS },
f0261a72
RD
7234 { "wxFont_GetWeightString", (PyCFunction) _wrap_wxFont_GetWeightString, METH_VARARGS | METH_KEYWORDS },
7235 { "wxFont_GetStyleString", (PyCFunction) _wrap_wxFont_GetStyleString, METH_VARARGS | METH_KEYWORDS },
7236 { "wxFont_GetFamilyString", (PyCFunction) _wrap_wxFont_GetFamilyString, METH_VARARGS | METH_KEYWORDS },
7237 { "wxFont_SetEncoding", (PyCFunction) _wrap_wxFont_SetEncoding, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
7238 { "wxFont_SetWeight", (PyCFunction) _wrap_wxFont_SetWeight, METH_VARARGS | METH_KEYWORDS },
7239 { "wxFont_SetUnderlined", (PyCFunction) _wrap_wxFont_SetUnderlined, METH_VARARGS | METH_KEYWORDS },
7240 { "wxFont_SetStyle", (PyCFunction) _wrap_wxFont_SetStyle, METH_VARARGS | METH_KEYWORDS },
7241 { "wxFont_SetPointSize", (PyCFunction) _wrap_wxFont_SetPointSize, METH_VARARGS | METH_KEYWORDS },
7242 { "wxFont_SetFamily", (PyCFunction) _wrap_wxFont_SetFamily, METH_VARARGS | METH_KEYWORDS },
7243 { "wxFont_SetFaceName", (PyCFunction) _wrap_wxFont_SetFaceName, METH_VARARGS | METH_KEYWORDS },
f0261a72 7244 { "wxFont_GetEncoding", (PyCFunction) _wrap_wxFont_GetEncoding, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
7245 { "wxFont_GetWeight", (PyCFunction) _wrap_wxFont_GetWeight, METH_VARARGS | METH_KEYWORDS },
7246 { "wxFont_GetUnderlined", (PyCFunction) _wrap_wxFont_GetUnderlined, METH_VARARGS | METH_KEYWORDS },
7247 { "wxFont_GetStyle", (PyCFunction) _wrap_wxFont_GetStyle, METH_VARARGS | METH_KEYWORDS },
7248 { "wxFont_GetPointSize", (PyCFunction) _wrap_wxFont_GetPointSize, METH_VARARGS | METH_KEYWORDS },
7249 { "wxFont_GetFontId", (PyCFunction) _wrap_wxFont_GetFontId, METH_VARARGS | METH_KEYWORDS },
7250 { "wxFont_GetFamily", (PyCFunction) _wrap_wxFont_GetFamily, METH_VARARGS | METH_KEYWORDS },
7251 { "wxFont_GetFaceName", (PyCFunction) _wrap_wxFont_GetFaceName, METH_VARARGS | METH_KEYWORDS },
7252 { "new_wxFont", (PyCFunction) _wrap_new_wxFont, METH_VARARGS | METH_KEYWORDS },
7253 { "wxCursor_Ok", (PyCFunction) _wrap_wxCursor_Ok, METH_VARARGS | METH_KEYWORDS },
7254 { "delete_wxCursor", (PyCFunction) _wrap_delete_wxCursor, METH_VARARGS | METH_KEYWORDS },
7255 { "new_wxCursor", (PyCFunction) _wrap_new_wxCursor, METH_VARARGS | METH_KEYWORDS },
7256 { "wxIcon_SetWidth", (PyCFunction) _wrap_wxIcon_SetWidth, METH_VARARGS | METH_KEYWORDS },
7257 { "wxIcon_SetHeight", (PyCFunction) _wrap_wxIcon_SetHeight, METH_VARARGS | METH_KEYWORDS },
7258 { "wxIcon_SetDepth", (PyCFunction) _wrap_wxIcon_SetDepth, METH_VARARGS | METH_KEYWORDS },
7259 { "wxIcon_Ok", (PyCFunction) _wrap_wxIcon_Ok, METH_VARARGS | METH_KEYWORDS },
7260 { "wxIcon_LoadFile", (PyCFunction) _wrap_wxIcon_LoadFile, METH_VARARGS | METH_KEYWORDS },
7261 { "wxIcon_GetWidth", (PyCFunction) _wrap_wxIcon_GetWidth, METH_VARARGS | METH_KEYWORDS },
7262 { "wxIcon_GetHeight", (PyCFunction) _wrap_wxIcon_GetHeight, METH_VARARGS | METH_KEYWORDS },
7263 { "wxIcon_GetDepth", (PyCFunction) _wrap_wxIcon_GetDepth, METH_VARARGS | METH_KEYWORDS },
7264 { "delete_wxIcon", (PyCFunction) _wrap_delete_wxIcon, METH_VARARGS | METH_KEYWORDS },
7265 { "new_wxIcon", (PyCFunction) _wrap_new_wxIcon, METH_VARARGS | METH_KEYWORDS },
7266 { "delete_wxMask", (PyCFunction) _wrap_delete_wxMask, METH_VARARGS | METH_KEYWORDS },
7267 { "new_wxMask", (PyCFunction) _wrap_new_wxMask, METH_VARARGS | METH_KEYWORDS },
7268 { "wxBitmap_SetWidth", (PyCFunction) _wrap_wxBitmap_SetWidth, METH_VARARGS | METH_KEYWORDS },
7269 { "wxBitmap_SetPalette", (PyCFunction) _wrap_wxBitmap_SetPalette, METH_VARARGS | METH_KEYWORDS },
7270 { "wxBitmap_SetMask", (PyCFunction) _wrap_wxBitmap_SetMask, METH_VARARGS | METH_KEYWORDS },
7271 { "wxBitmap_SetHeight", (PyCFunction) _wrap_wxBitmap_SetHeight, METH_VARARGS | METH_KEYWORDS },
7272 { "wxBitmap_SetDepth", (PyCFunction) _wrap_wxBitmap_SetDepth, METH_VARARGS | METH_KEYWORDS },
7273 { "wxBitmap_SaveFile", (PyCFunction) _wrap_wxBitmap_SaveFile, METH_VARARGS | METH_KEYWORDS },
7274 { "wxBitmap_Ok", (PyCFunction) _wrap_wxBitmap_Ok, METH_VARARGS | METH_KEYWORDS },
7275 { "wxBitmap_LoadFile", (PyCFunction) _wrap_wxBitmap_LoadFile, METH_VARARGS | METH_KEYWORDS },
7276 { "wxBitmap_GetWidth", (PyCFunction) _wrap_wxBitmap_GetWidth, METH_VARARGS | METH_KEYWORDS },
7277 { "wxBitmap_GetMask", (PyCFunction) _wrap_wxBitmap_GetMask, METH_VARARGS | METH_KEYWORDS },
7278 { "wxBitmap_GetPalette", (PyCFunction) _wrap_wxBitmap_GetPalette, METH_VARARGS | METH_KEYWORDS },
7279 { "wxBitmap_GetHeight", (PyCFunction) _wrap_wxBitmap_GetHeight, METH_VARARGS | METH_KEYWORDS },
7280 { "wxBitmap_GetDepth", (PyCFunction) _wrap_wxBitmap_GetDepth, METH_VARARGS | METH_KEYWORDS },
7281 { "wxBitmap_Create", (PyCFunction) _wrap_wxBitmap_Create, METH_VARARGS | METH_KEYWORDS },
7282 { "delete_wxBitmap", (PyCFunction) _wrap_delete_wxBitmap, METH_VARARGS | METH_KEYWORDS },
7283 { "new_wxBitmap", (PyCFunction) _wrap_new_wxBitmap, METH_VARARGS | METH_KEYWORDS },
7284 { "wxMemoryDCFromDC", (PyCFunction) _wrap_wxMemoryDCFromDC, METH_VARARGS | METH_KEYWORDS },
7285 { "wxNamedColour", (PyCFunction) _wrap_wxNamedColour, METH_VARARGS | METH_KEYWORDS },
f0261a72
RD
7286 { "wxFont_SetDefaultEncoding", (PyCFunction) _wrap_wxFont_SetDefaultEncoding, METH_VARARGS | METH_KEYWORDS },
7287 { "wxFont_GetDefaultEncoding", (PyCFunction) _wrap_wxFont_GetDefaultEncoding, METH_VARARGS | METH_KEYWORDS },
1afc06c2
RD
7288 { "wxStockCursor", (PyCFunction) _wrap_wxStockCursor, METH_VARARGS | METH_KEYWORDS },
7289 { "wxMaskColour", (PyCFunction) _wrap_wxMaskColour, METH_VARARGS | METH_KEYWORDS },
7290 { "wxBitmapFromData", (PyCFunction) _wrap_wxBitmapFromData, METH_VARARGS | METH_KEYWORDS },
7291 { "wxNoRefBitmap", (PyCFunction) _wrap_wxNoRefBitmap, METH_VARARGS | METH_KEYWORDS },
7292 { "wxEmptyBitmap", (PyCFunction) _wrap_wxEmptyBitmap, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
7293 { NULL, NULL }
7294};
1d99702e
RD
7295#ifdef __cplusplus
7296}
7297#endif
7298/*
7299 * This table is used by the pointer type-checker
7300 */
7301static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
7302 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
7303 { "_signed_long","_long",0},
b1462dfa 7304 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
7305 { "_wxPrintQuality","_int",0},
7306 { "_wxPrintQuality","_signed_int",0},
7307 { "_wxPrintQuality","_unsigned_int",0},
7308 { "_wxPrintQuality","_wxWindowID",0},
7309 { "_wxPrintQuality","_uint",0},
7310 { "_wxPrintQuality","_EBool",0},
7311 { "_wxPrintQuality","_size_t",0},
7312 { "_class_wxRegionIterator","_wxRegionIterator",0},
7313 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
7314 { "_wxCursor","_class_wxCursor",0},
7315 { "_wxMask","_class_wxMask",0},
7316 { "_wxPen","_class_wxPen",0},
7317 { "_byte","_unsigned_char",0},
7318 { "_long","_wxDash",0},
7319 { "_long","_unsigned_long",0},
7320 { "_long","_signed_long",0},
7321 { "_wxImageList","_class_wxImageList",0},
7322 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
7323 { "_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC},
7324 { "_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC},
7325 { "_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC},
7326 { "_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC},
7327 { "_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC},
7328 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC},
7329 { "_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC},
7330 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC},
7331 { "_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC},
7332 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC},
7333 { "_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC},
7334 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC},
7335 { "_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC},
7336 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC},
7337 { "_wxDC","_class_wxDC",0},
b1462dfa 7338 { "_size_t","_wxCoord",0},
1d99702e
RD
7339 { "_size_t","_wxPrintQuality",0},
7340 { "_size_t","_unsigned_int",0},
7341 { "_size_t","_int",0},
7342 { "_size_t","_wxWindowID",0},
7343 { "_size_t","_uint",0},
7344 { "_class_wxRealPoint","_wxRealPoint",0},
7345 { "_wxPrinterDC","_class_wxPrinterDC",0},
7346 { "_class_wxMask","_wxMask",0},
7347 { "_wxColour","_class_wxColour",0},
7348 { "_wxBrush","_class_wxBrush",0},
b1462dfa 7349 { "_uint","_wxCoord",0},
1d99702e
RD
7350 { "_uint","_wxPrintQuality",0},
7351 { "_uint","_size_t",0},
7352 { "_uint","_unsigned_int",0},
7353 { "_uint","_int",0},
7354 { "_uint","_wxWindowID",0},
7355 { "_wxRect","_class_wxRect",0},
7356 { "_wxPoint","_class_wxPoint",0},
7357 { "_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap},
7358 { "_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap},
7359 { "_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap},
7360 { "_wxBitmap","_wxIcon",SwigwxIconTowxBitmap},
7361 { "_wxBitmap","_class_wxBitmap",0},
7362 { "_wxPyTimer","_class_wxPyTimer",0},
7363 { "_wxWindowDC","_class_wxWindowDC",0},
7364 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
b1462dfa 7365 { "_EBool","_wxCoord",0},
1d99702e
RD
7366 { "_EBool","_wxPrintQuality",0},
7367 { "_EBool","_signed_int",0},
7368 { "_EBool","_int",0},
7369 { "_EBool","_wxWindowID",0},
7370 { "_class_wxRegion","_wxRegion",0},
7371 { "_wxFont","_class_wxFont",0},
7372 { "_unsigned_long","_wxDash",0},
7373 { "_unsigned_long","_long",0},
7374 { "_class_wxRect","_wxRect",0},
7375 { "_class_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC},
7376 { "_class_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC},
7377 { "_class_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC},
7378 { "_class_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC},
7379 { "_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC},
7380 { "_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC},
7381 { "_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC},
7382 { "_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC},
7383 { "_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC},
7384 { "_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC},
7385 { "_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC},
7386 { "_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC},
7387 { "_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC},
7388 { "_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC},
7389 { "_class_wxDC","_wxDC",0},
7390 { "_class_wxPyTimer","_wxPyTimer",0},
7391 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
b1462dfa 7392 { "_signed_int","_wxCoord",0},
1d99702e
RD
7393 { "_signed_int","_wxPrintQuality",0},
7394 { "_signed_int","_EBool",0},
7395 { "_signed_int","_wxWindowID",0},
7396 { "_signed_int","_int",0},
7397 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
7398 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
7399 { "_wxScreenDC","_class_wxScreenDC",0},
7400 { "_WXTYPE","_short",0},
7401 { "_WXTYPE","_signed_short",0},
7402 { "_WXTYPE","_unsigned_short",0},
7403 { "_class_wxBrush","_wxBrush",0},
7404 { "_unsigned_short","_WXTYPE",0},
7405 { "_unsigned_short","_short",0},
7406 { "_class_wxFont","_wxFont",0},
2abc0a0f 7407 { "_wxBusyInfo","_class_wxBusyInfo",0},
1d99702e
RD
7408 { "_wxClientDC","_class_wxClientDC",0},
7409 { "_class_wxPoint","_wxPoint",0},
7410 { "_wxRealPoint","_class_wxRealPoint",0},
7411 { "_signed_short","_WXTYPE",0},
7412 { "_signed_short","_short",0},
7413 { "_wxMemoryDC","_class_wxMemoryDC",0},
7414 { "_wxPaintDC","_class_wxPaintDC",0},
7415 { "_class_wxWindowDC","_wxWindowDC",0},
7416 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
7417 { "_class_wxCursor","_wxCursor",0},
7418 { "_unsigned_char","_byte",0},
7419 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
b1462dfa 7420 { "_unsigned_int","_wxCoord",0},
1d99702e
RD
7421 { "_unsigned_int","_wxPrintQuality",0},
7422 { "_unsigned_int","_size_t",0},
7423 { "_unsigned_int","_uint",0},
7424 { "_unsigned_int","_wxWindowID",0},
7425 { "_unsigned_int","_int",0},
7426 { "_wxIcon","_class_wxIcon",0},
7427 { "_class_wxPen","_wxPen",0},
7428 { "_short","_WXTYPE",0},
7429 { "_short","_unsigned_short",0},
7430 { "_short","_signed_short",0},
7431 { "_class_wxImageList","_wxImageList",0},
b1462dfa 7432 { "_wxWindowID","_wxCoord",0},
1d99702e
RD
7433 { "_wxWindowID","_wxPrintQuality",0},
7434 { "_wxWindowID","_size_t",0},
7435 { "_wxWindowID","_EBool",0},
7436 { "_wxWindowID","_uint",0},
7437 { "_wxWindowID","_int",0},
7438 { "_wxWindowID","_signed_int",0},
7439 { "_wxWindowID","_unsigned_int",0},
b1462dfa 7440 { "_int","_wxCoord",0},
1d99702e
RD
7441 { "_int","_wxPrintQuality",0},
7442 { "_int","_size_t",0},
7443 { "_int","_EBool",0},
7444 { "_int","_uint",0},
7445 { "_int","_wxWindowID",0},
7446 { "_int","_unsigned_int",0},
7447 { "_int","_signed_int",0},
7448 { "_wxSize","_class_wxSize",0},
7449 { "_wxRegionIterator","_class_wxRegionIterator",0},
7450 { "_class_wxPrinterDC","_wxPrinterDC",0},
7451 { "_class_wxPaintDC","_wxPaintDC",0},
7452 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
7453 { "_class_wxIcon","_wxIcon",0},
7454 { "_class_wxColour","_wxColour",0},
7455 { "_class_wxScreenDC","_wxScreenDC",0},
7456 { "_wxPalette","_class_wxPalette",0},
b1462dfa
RD
7457 { "_wxCoord","_int",0},
7458 { "_wxCoord","_signed_int",0},
7459 { "_wxCoord","_unsigned_int",0},
7460 { "_wxCoord","_wxWindowID",0},
7461 { "_wxCoord","_uint",0},
7462 { "_wxCoord","_EBool",0},
7463 { "_wxCoord","_size_t",0},
7464 { "_wxCoord","_wxPrintQuality",0},
1d99702e 7465 { "_wxRegion","_class_wxRegion",0},
2abc0a0f 7466 { "_class_wxBusyInfo","_wxBusyInfo",0},
1d99702e
RD
7467 { "_class_wxClientDC","_wxClientDC",0},
7468 { "_class_wxSize","_wxSize",0},
7469 { "_class_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap},
7470 { "_class_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap},
7471 { "_class_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap},
7472 { "_class_wxBitmap","_wxIcon",SwigwxIconTowxBitmap},
7473 { "_class_wxBitmap","_wxBitmap",0},
7474 { "_class_wxMemoryDC","_wxMemoryDC",0},
7475 { "_wxDash","_unsigned_long",0},
7476 { "_wxDash","_long",0},
7477 { "_class_wxPalette","_wxPalette",0},
7478{0,0,0}};
7479
8ab979d7
RD
7480static PyObject *SWIG_globals;
7481#ifdef __cplusplus
7482extern "C"
7483#endif
1d99702e 7484SWIGEXPORT(void) initgdic() {
8ab979d7
RD
7485 PyObject *m, *d;
7486 SWIG_globals = SWIG_newvarlink();
7487 m = Py_InitModule("gdic", gdicMethods);
7488 d = PyModule_GetDict(m);
f0261a72
RD
7489 PyDict_SetItemString(d,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM));
7490 PyDict_SetItemString(d,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT));
7491 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1));
7492 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2));
7493 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3));
7494 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4));
7495 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5));
7496 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6));
7497 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7));
7498 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8));
7499 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9));
7500 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10));
7501 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11));
7502 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12));
7503 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13));
7504 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14));
7505 PyDict_SetItemString(d,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15));
7506 PyDict_SetItemString(d,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8));
7507 PyDict_SetItemString(d,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE));
7508 PyDict_SetItemString(d,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN));
7509 PyDict_SetItemString(d,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437));
7510 PyDict_SetItemString(d,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850));
7511 PyDict_SetItemString(d,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852));
7512 PyDict_SetItemString(d,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855));
7513 PyDict_SetItemString(d,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866));
7514 PyDict_SetItemString(d,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250));
7515 PyDict_SetItemString(d,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251));
7516 PyDict_SetItemString(d,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252));
7517 PyDict_SetItemString(d,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX));
8ab979d7
RD
7518 PyDict_SetItemString(d,"cvar", SWIG_globals);
7519 SWIG_addvarlink(SWIG_globals,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get, _wrap_wxNORMAL_FONT_set);
7520 SWIG_addvarlink(SWIG_globals,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get, _wrap_wxSMALL_FONT_set);
7521 SWIG_addvarlink(SWIG_globals,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get, _wrap_wxITALIC_FONT_set);
7522 SWIG_addvarlink(SWIG_globals,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get, _wrap_wxSWISS_FONT_set);
7523 SWIG_addvarlink(SWIG_globals,"wxRED_PEN",_wrap_wxRED_PEN_get, _wrap_wxRED_PEN_set);
7524 SWIG_addvarlink(SWIG_globals,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get, _wrap_wxCYAN_PEN_set);
7525 SWIG_addvarlink(SWIG_globals,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get, _wrap_wxGREEN_PEN_set);
7526 SWIG_addvarlink(SWIG_globals,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get, _wrap_wxBLACK_PEN_set);
7527 SWIG_addvarlink(SWIG_globals,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get, _wrap_wxWHITE_PEN_set);
7528 SWIG_addvarlink(SWIG_globals,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get, _wrap_wxTRANSPARENT_PEN_set);
7529 SWIG_addvarlink(SWIG_globals,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get, _wrap_wxBLACK_DASHED_PEN_set);
7530 SWIG_addvarlink(SWIG_globals,"wxGREY_PEN",_wrap_wxGREY_PEN_get, _wrap_wxGREY_PEN_set);
7531 SWIG_addvarlink(SWIG_globals,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get, _wrap_wxMEDIUM_GREY_PEN_set);
7532 SWIG_addvarlink(SWIG_globals,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get, _wrap_wxLIGHT_GREY_PEN_set);
7533 SWIG_addvarlink(SWIG_globals,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get, _wrap_wxBLUE_BRUSH_set);
7534 SWIG_addvarlink(SWIG_globals,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get, _wrap_wxGREEN_BRUSH_set);
7535 SWIG_addvarlink(SWIG_globals,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get, _wrap_wxWHITE_BRUSH_set);
7536 SWIG_addvarlink(SWIG_globals,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get, _wrap_wxBLACK_BRUSH_set);
7537 SWIG_addvarlink(SWIG_globals,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get, _wrap_wxTRANSPARENT_BRUSH_set);
7538 SWIG_addvarlink(SWIG_globals,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get, _wrap_wxCYAN_BRUSH_set);
7539 SWIG_addvarlink(SWIG_globals,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get, _wrap_wxRED_BRUSH_set);
7540 SWIG_addvarlink(SWIG_globals,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get, _wrap_wxGREY_BRUSH_set);
7541 SWIG_addvarlink(SWIG_globals,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get, _wrap_wxMEDIUM_GREY_BRUSH_set);
7542 SWIG_addvarlink(SWIG_globals,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get, _wrap_wxLIGHT_GREY_BRUSH_set);
7543 SWIG_addvarlink(SWIG_globals,"wxBLACK",_wrap_wxBLACK_get, _wrap_wxBLACK_set);
7544 SWIG_addvarlink(SWIG_globals,"wxWHITE",_wrap_wxWHITE_get, _wrap_wxWHITE_set);
7545 SWIG_addvarlink(SWIG_globals,"wxRED",_wrap_wxRED_get, _wrap_wxRED_set);
7546 SWIG_addvarlink(SWIG_globals,"wxBLUE",_wrap_wxBLUE_get, _wrap_wxBLUE_set);
7547 SWIG_addvarlink(SWIG_globals,"wxGREEN",_wrap_wxGREEN_get, _wrap_wxGREEN_set);
7548 SWIG_addvarlink(SWIG_globals,"wxCYAN",_wrap_wxCYAN_get, _wrap_wxCYAN_set);
7549 SWIG_addvarlink(SWIG_globals,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get, _wrap_wxLIGHT_GREY_set);
7550 SWIG_addvarlink(SWIG_globals,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get, _wrap_wxSTANDARD_CURSOR_set);
7551 SWIG_addvarlink(SWIG_globals,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get, _wrap_wxHOURGLASS_CURSOR_set);
7552 SWIG_addvarlink(SWIG_globals,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get, _wrap_wxCROSS_CURSOR_set);
7553 SWIG_addvarlink(SWIG_globals,"wxNullBitmap",_wrap_wxNullBitmap_get, _wrap_wxNullBitmap_set);
7554 SWIG_addvarlink(SWIG_globals,"wxNullIcon",_wrap_wxNullIcon_get, _wrap_wxNullIcon_set);
7555 SWIG_addvarlink(SWIG_globals,"wxNullCursor",_wrap_wxNullCursor_get, _wrap_wxNullCursor_set);
7556 SWIG_addvarlink(SWIG_globals,"wxNullPen",_wrap_wxNullPen_get, _wrap_wxNullPen_set);
7557 SWIG_addvarlink(SWIG_globals,"wxNullBrush",_wrap_wxNullBrush_get, _wrap_wxNullBrush_set);
7558 SWIG_addvarlink(SWIG_globals,"wxNullPalette",_wrap_wxNullPalette_get, _wrap_wxNullPalette_set);
7559 SWIG_addvarlink(SWIG_globals,"wxNullFont",_wrap_wxNullFont_get, _wrap_wxNullFont_set);
7560 SWIG_addvarlink(SWIG_globals,"wxNullColour",_wrap_wxNullColour_get, _wrap_wxNullColour_set);
af309447
RD
7561 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL));
7562 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT));
7563 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED));
7564 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED));
7565 PyDict_SetItemString(d,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL));
7566 PyDict_SetItemString(d,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL));
7567 PyDict_SetItemString(d,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE));
1d99702e
RD
7568{
7569 int i;
7570 for (i = 0; _swig_mapping[i].n1; i++)
7571 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
7572}
8ab979d7 7573}