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