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