]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/gdi.cpp
minimal now works in Unicode mode
[wxWidgets.git] / utils / wxPython / src / gtk / gdi.cpp
1 /*
2 * FILE : gtk/gdi.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
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,b) __declspec(dllexport) a b
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
31 # else
32 # define SWIGEXPORT(a,b) a b
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a,b) a b
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 void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
47 extern PyObject *SWIG_newvarlink(void);
48 #ifdef __cplusplus
49 }
50 #endif
51
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
111 extern byte* byte_LIST_helper(PyObject* source);
112 extern int* int_LIST_helper(PyObject* source);
113 extern long* long_LIST_helper(PyObject* source);
114 extern char** string_LIST_helper(PyObject* source);
115 extern wxPoint* wxPoint_LIST_helper(PyObject* source);
116 extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
117 extern wxString* wxString_LIST_helper(PyObject* source);
118 extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
119
120
121 static char* wxStringErrorMsg = "string type is required for parameter";
122 // Alternate 'constructor'
123 wxBitmap* wxEmptyBitmap(int width, int height, int depth=-1) {
124 return new wxBitmap(width, height, depth);
125 }
126
127 // This one won't own the reference, so Python won't call
128 // the dtor, this is good for toolbars and such where
129 // the parent will manage the bitmap.
130 wxBitmap* wxNoRefBitmap(char* name, long flags) {
131 return new wxBitmap(name, flags);
132 }
133
134 wxMask* wxMaskColour(const wxBitmap& bitmap, const wxColour& colour) {
135 return new wxMask(bitmap, colour);
136 }
137 // Alternate 'constructor'
138 wxCursor* wxPyStockCursor(int id) {
139 return new wxCursor(id);
140 }
141 // Alternate 'constructor'
142 wxColour* wxNamedColour(const wxString& colorName) {
143 return new wxColour(colorName);
144 }
145 // Alternate 'constructor'
146 wxMemoryDC* wxMemoryDCFromDC(wxDC* oldDC) {
147 return new wxMemoryDC(oldDC);
148 }
149
150 #if 0
151 extern wxFont * wxNORMAL_FONT;
152 extern wxFont * wxSMALL_FONT;
153 extern wxFont * wxITALIC_FONT;
154 extern wxFont * wxSWISS_FONT;
155 extern wxPen * wxRED_PEN;
156 extern wxPen * wxCYAN_PEN;
157 extern wxPen * wxGREEN_PEN;
158 extern wxPen * wxBLACK_PEN;
159 extern wxPen * wxWHITE_PEN;
160 extern wxPen * wxTRANSPARENT_PEN;
161 extern wxPen * wxBLACK_DASHED_PEN;
162 extern wxPen * wxGREY_PEN;
163 extern wxPen * wxMEDIUM_GREY_PEN;
164 extern wxPen * wxLIGHT_GREY_PEN;
165 extern wxBrush * wxBLUE_BRUSH;
166 extern wxBrush * wxGREEN_BRUSH;
167 extern wxBrush * wxWHITE_BRUSH;
168 extern wxBrush * wxBLACK_BRUSH;
169 extern wxBrush * wxTRANSPARENT_BRUSH;
170 extern wxBrush * wxCYAN_BRUSH;
171 extern wxBrush * wxRED_BRUSH;
172 extern wxBrush * wxGREY_BRUSH;
173 extern wxBrush * wxMEDIUM_GREY_BRUSH;
174 extern wxBrush * wxLIGHT_GREY_BRUSH;
175 extern wxColour * wxBLACK;
176 extern wxColour * wxWHITE;
177 extern wxColour * wxRED;
178 extern wxColour * wxBLUE;
179 extern wxColour * wxGREEN;
180 extern wxColour * wxCYAN;
181 extern wxColour * wxLIGHT_GREY;
182 extern wxCursor * wxSTANDARD_CURSOR;
183 extern wxCursor * wxHOURGLASS_CURSOR;
184 extern wxCursor * wxCROSS_CURSOR;
185 extern wxBitmap wxNullBitmap;
186 extern wxIcon wxNullIcon;
187 extern wxCursor wxNullCursor;
188 extern wxPen wxNullPen;
189 extern wxBrush wxNullBrush;
190 extern wxPalette wxNullPalette;
191 extern wxFont wxNullFont;
192 extern wxColour wxNullColour;
193
194 #endif
195 static PyObject *_wrap_wxEmptyBitmap(PyObject *self, PyObject *args) {
196 PyObject * _resultobj;
197 wxBitmap * _result;
198 int _arg0;
199 int _arg1;
200 int _arg2 = -1;
201 char _ptemp[128];
202
203 self = self;
204 if(!PyArg_ParseTuple(args,"ii|i:wxEmptyBitmap",&_arg0,&_arg1,&_arg2))
205 return NULL;
206 _result = (wxBitmap *)wxEmptyBitmap(_arg0,_arg1,_arg2);
207 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
208 _resultobj = Py_BuildValue("s",_ptemp);
209 return _resultobj;
210 }
211
212 static PyObject *_wrap_wxNoRefBitmap(PyObject *self, PyObject *args) {
213 PyObject * _resultobj;
214 wxBitmap * _result;
215 char * _arg0;
216 long _arg1;
217 char _ptemp[128];
218
219 self = self;
220 if(!PyArg_ParseTuple(args,"sl:wxNoRefBitmap",&_arg0,&_arg1))
221 return NULL;
222 _result = (wxBitmap *)wxNoRefBitmap(_arg0,_arg1);
223 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
224 _resultobj = Py_BuildValue("s",_ptemp);
225 return _resultobj;
226 }
227
228 static PyObject *_wrap_wxMaskColour(PyObject *self, PyObject *args) {
229 PyObject * _resultobj;
230 wxMask * _result;
231 wxBitmap * _arg0;
232 wxColour * _arg1;
233 char * _argc0 = 0;
234 char * _argc1 = 0;
235 char _ptemp[128];
236
237 self = self;
238 if(!PyArg_ParseTuple(args,"ss:wxMaskColour",&_argc0,&_argc1))
239 return NULL;
240 if (_argc0) {
241 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmap_p")) {
242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
243 return NULL;
244 }
245 }
246 if (_argc1) {
247 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
248 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMaskColour. Expected _wxColour_p.");
249 return NULL;
250 }
251 }
252 _result = (wxMask *)wxMaskColour(*_arg0,*_arg1);
253 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
254 _resultobj = Py_BuildValue("s",_ptemp);
255 return _resultobj;
256 }
257
258 static PyObject *_wrap_wxStockCursor(PyObject *self, PyObject *args) {
259 PyObject * _resultobj;
260 wxCursor * _result;
261 int _arg0;
262 char _ptemp[128];
263
264 self = self;
265 if(!PyArg_ParseTuple(args,"i:wxStockCursor",&_arg0))
266 return NULL;
267 _result = (wxCursor *)wxPyStockCursor(_arg0);
268 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCursor_p");
269 _resultobj = Py_BuildValue("s",_ptemp);
270 return _resultobj;
271 }
272
273 static PyObject *_wrap_wxNamedColour(PyObject *self, PyObject *args) {
274 PyObject * _resultobj;
275 wxColour * _result;
276 wxString * _arg0;
277 PyObject * _obj0 = 0;
278 char _ptemp[128];
279
280 self = self;
281 if(!PyArg_ParseTuple(args,"O:wxNamedColour",&_obj0))
282 return NULL;
283 {
284 if (!PyString_Check(_obj0)) {
285 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
286 return NULL;
287 }
288 _arg0 = new wxString(PyString_AsString(_obj0));
289 }
290 _result = (wxColour *)wxNamedColour(*_arg0);
291 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
292 _resultobj = Py_BuildValue("s",_ptemp);
293 {
294 if (_obj0)
295 delete _arg0;
296 }
297 return _resultobj;
298 }
299
300 static PyObject *_wrap_wxMemoryDCFromDC(PyObject *self, PyObject *args) {
301 PyObject * _resultobj;
302 wxMemoryDC * _result;
303 wxDC * _arg0;
304 char * _argc0 = 0;
305 char _ptemp[128];
306
307 self = self;
308 if(!PyArg_ParseTuple(args,"s:wxMemoryDCFromDC",&_argc0))
309 return NULL;
310 if (_argc0) {
311 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
313 return NULL;
314 }
315 }
316 _result = (wxMemoryDC *)wxMemoryDCFromDC(_arg0);
317 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMemoryDC_p");
318 _resultobj = Py_BuildValue("s",_ptemp);
319 return _resultobj;
320 }
321
322 static int _wrap_wxNORMAL_FONT_set(PyObject *val) {
323
324 PyErr_SetString(PyExc_TypeError,"Variable wxNORMAL_FONT is read-only.");
325 return 1;
326 }
327
328 static PyObject *_wrap_wxNORMAL_FONT_get() {
329 PyObject * pyobj;
330 char ptemp[128];
331
332 SWIG_MakePtr(ptemp, (char *) wxNORMAL_FONT,"_wxFont_p");
333 pyobj = PyString_FromString(ptemp);
334 return pyobj;
335 }
336
337 static int _wrap_wxSMALL_FONT_set(PyObject *val) {
338
339 PyErr_SetString(PyExc_TypeError,"Variable wxSMALL_FONT is read-only.");
340 return 1;
341 }
342
343 static PyObject *_wrap_wxSMALL_FONT_get() {
344 PyObject * pyobj;
345 char ptemp[128];
346
347 SWIG_MakePtr(ptemp, (char *) wxSMALL_FONT,"_wxFont_p");
348 pyobj = PyString_FromString(ptemp);
349 return pyobj;
350 }
351
352 static int _wrap_wxITALIC_FONT_set(PyObject *val) {
353
354 PyErr_SetString(PyExc_TypeError,"Variable wxITALIC_FONT is read-only.");
355 return 1;
356 }
357
358 static PyObject *_wrap_wxITALIC_FONT_get() {
359 PyObject * pyobj;
360 char ptemp[128];
361
362 SWIG_MakePtr(ptemp, (char *) wxITALIC_FONT,"_wxFont_p");
363 pyobj = PyString_FromString(ptemp);
364 return pyobj;
365 }
366
367 static int _wrap_wxSWISS_FONT_set(PyObject *val) {
368
369 PyErr_SetString(PyExc_TypeError,"Variable wxSWISS_FONT is read-only.");
370 return 1;
371 }
372
373 static PyObject *_wrap_wxSWISS_FONT_get() {
374 PyObject * pyobj;
375 char ptemp[128];
376
377 SWIG_MakePtr(ptemp, (char *) wxSWISS_FONT,"_wxFont_p");
378 pyobj = PyString_FromString(ptemp);
379 return pyobj;
380 }
381
382 static int _wrap_wxRED_PEN_set(PyObject *val) {
383
384 PyErr_SetString(PyExc_TypeError,"Variable wxRED_PEN is read-only.");
385 return 1;
386 }
387
388 static PyObject *_wrap_wxRED_PEN_get() {
389 PyObject * pyobj;
390 char ptemp[128];
391
392 SWIG_MakePtr(ptemp, (char *) wxRED_PEN,"_wxPen_p");
393 pyobj = PyString_FromString(ptemp);
394 return pyobj;
395 }
396
397 static int _wrap_wxCYAN_PEN_set(PyObject *val) {
398
399 PyErr_SetString(PyExc_TypeError,"Variable wxCYAN_PEN is read-only.");
400 return 1;
401 }
402
403 static PyObject *_wrap_wxCYAN_PEN_get() {
404 PyObject * pyobj;
405 char ptemp[128];
406
407 SWIG_MakePtr(ptemp, (char *) wxCYAN_PEN,"_wxPen_p");
408 pyobj = PyString_FromString(ptemp);
409 return pyobj;
410 }
411
412 static int _wrap_wxGREEN_PEN_set(PyObject *val) {
413
414 PyErr_SetString(PyExc_TypeError,"Variable wxGREEN_PEN is read-only.");
415 return 1;
416 }
417
418 static PyObject *_wrap_wxGREEN_PEN_get() {
419 PyObject * pyobj;
420 char ptemp[128];
421
422 SWIG_MakePtr(ptemp, (char *) wxGREEN_PEN,"_wxPen_p");
423 pyobj = PyString_FromString(ptemp);
424 return pyobj;
425 }
426
427 static int _wrap_wxBLACK_PEN_set(PyObject *val) {
428
429 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK_PEN is read-only.");
430 return 1;
431 }
432
433 static PyObject *_wrap_wxBLACK_PEN_get() {
434 PyObject * pyobj;
435 char ptemp[128];
436
437 SWIG_MakePtr(ptemp, (char *) wxBLACK_PEN,"_wxPen_p");
438 pyobj = PyString_FromString(ptemp);
439 return pyobj;
440 }
441
442 static int _wrap_wxWHITE_PEN_set(PyObject *val) {
443
444 PyErr_SetString(PyExc_TypeError,"Variable wxWHITE_PEN is read-only.");
445 return 1;
446 }
447
448 static PyObject *_wrap_wxWHITE_PEN_get() {
449 PyObject * pyobj;
450 char ptemp[128];
451
452 SWIG_MakePtr(ptemp, (char *) wxWHITE_PEN,"_wxPen_p");
453 pyobj = PyString_FromString(ptemp);
454 return pyobj;
455 }
456
457 static int _wrap_wxTRANSPARENT_PEN_set(PyObject *val) {
458
459 PyErr_SetString(PyExc_TypeError,"Variable wxTRANSPARENT_PEN is read-only.");
460 return 1;
461 }
462
463 static PyObject *_wrap_wxTRANSPARENT_PEN_get() {
464 PyObject * pyobj;
465 char ptemp[128];
466
467 SWIG_MakePtr(ptemp, (char *) wxTRANSPARENT_PEN,"_wxPen_p");
468 pyobj = PyString_FromString(ptemp);
469 return pyobj;
470 }
471
472 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject *val) {
473
474 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK_DASHED_PEN is read-only.");
475 return 1;
476 }
477
478 static PyObject *_wrap_wxBLACK_DASHED_PEN_get() {
479 PyObject * pyobj;
480 char ptemp[128];
481
482 SWIG_MakePtr(ptemp, (char *) wxBLACK_DASHED_PEN,"_wxPen_p");
483 pyobj = PyString_FromString(ptemp);
484 return pyobj;
485 }
486
487 static int _wrap_wxGREY_PEN_set(PyObject *val) {
488
489 PyErr_SetString(PyExc_TypeError,"Variable wxGREY_PEN is read-only.");
490 return 1;
491 }
492
493 static PyObject *_wrap_wxGREY_PEN_get() {
494 PyObject * pyobj;
495 char ptemp[128];
496
497 SWIG_MakePtr(ptemp, (char *) wxGREY_PEN,"_wxPen_p");
498 pyobj = PyString_FromString(ptemp);
499 return pyobj;
500 }
501
502 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject *val) {
503
504 PyErr_SetString(PyExc_TypeError,"Variable wxMEDIUM_GREY_PEN is read-only.");
505 return 1;
506 }
507
508 static PyObject *_wrap_wxMEDIUM_GREY_PEN_get() {
509 PyObject * pyobj;
510 char ptemp[128];
511
512 SWIG_MakePtr(ptemp, (char *) wxMEDIUM_GREY_PEN,"_wxPen_p");
513 pyobj = PyString_FromString(ptemp);
514 return pyobj;
515 }
516
517 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject *val) {
518
519 PyErr_SetString(PyExc_TypeError,"Variable wxLIGHT_GREY_PEN is read-only.");
520 return 1;
521 }
522
523 static PyObject *_wrap_wxLIGHT_GREY_PEN_get() {
524 PyObject * pyobj;
525 char ptemp[128];
526
527 SWIG_MakePtr(ptemp, (char *) wxLIGHT_GREY_PEN,"_wxPen_p");
528 pyobj = PyString_FromString(ptemp);
529 return pyobj;
530 }
531
532 static int _wrap_wxBLUE_BRUSH_set(PyObject *val) {
533
534 PyErr_SetString(PyExc_TypeError,"Variable wxBLUE_BRUSH is read-only.");
535 return 1;
536 }
537
538 static PyObject *_wrap_wxBLUE_BRUSH_get() {
539 PyObject * pyobj;
540 char ptemp[128];
541
542 SWIG_MakePtr(ptemp, (char *) wxBLUE_BRUSH,"_wxBrush_p");
543 pyobj = PyString_FromString(ptemp);
544 return pyobj;
545 }
546
547 static int _wrap_wxGREEN_BRUSH_set(PyObject *val) {
548
549 PyErr_SetString(PyExc_TypeError,"Variable wxGREEN_BRUSH is read-only.");
550 return 1;
551 }
552
553 static PyObject *_wrap_wxGREEN_BRUSH_get() {
554 PyObject * pyobj;
555 char ptemp[128];
556
557 SWIG_MakePtr(ptemp, (char *) wxGREEN_BRUSH,"_wxBrush_p");
558 pyobj = PyString_FromString(ptemp);
559 return pyobj;
560 }
561
562 static int _wrap_wxWHITE_BRUSH_set(PyObject *val) {
563
564 PyErr_SetString(PyExc_TypeError,"Variable wxWHITE_BRUSH is read-only.");
565 return 1;
566 }
567
568 static PyObject *_wrap_wxWHITE_BRUSH_get() {
569 PyObject * pyobj;
570 char ptemp[128];
571
572 SWIG_MakePtr(ptemp, (char *) wxWHITE_BRUSH,"_wxBrush_p");
573 pyobj = PyString_FromString(ptemp);
574 return pyobj;
575 }
576
577 static int _wrap_wxBLACK_BRUSH_set(PyObject *val) {
578
579 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK_BRUSH is read-only.");
580 return 1;
581 }
582
583 static PyObject *_wrap_wxBLACK_BRUSH_get() {
584 PyObject * pyobj;
585 char ptemp[128];
586
587 SWIG_MakePtr(ptemp, (char *) wxBLACK_BRUSH,"_wxBrush_p");
588 pyobj = PyString_FromString(ptemp);
589 return pyobj;
590 }
591
592 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject *val) {
593
594 PyErr_SetString(PyExc_TypeError,"Variable wxTRANSPARENT_BRUSH is read-only.");
595 return 1;
596 }
597
598 static PyObject *_wrap_wxTRANSPARENT_BRUSH_get() {
599 PyObject * pyobj;
600 char ptemp[128];
601
602 SWIG_MakePtr(ptemp, (char *) wxTRANSPARENT_BRUSH,"_wxBrush_p");
603 pyobj = PyString_FromString(ptemp);
604 return pyobj;
605 }
606
607 static int _wrap_wxCYAN_BRUSH_set(PyObject *val) {
608
609 PyErr_SetString(PyExc_TypeError,"Variable wxCYAN_BRUSH is read-only.");
610 return 1;
611 }
612
613 static PyObject *_wrap_wxCYAN_BRUSH_get() {
614 PyObject * pyobj;
615 char ptemp[128];
616
617 SWIG_MakePtr(ptemp, (char *) wxCYAN_BRUSH,"_wxBrush_p");
618 pyobj = PyString_FromString(ptemp);
619 return pyobj;
620 }
621
622 static int _wrap_wxRED_BRUSH_set(PyObject *val) {
623
624 PyErr_SetString(PyExc_TypeError,"Variable wxRED_BRUSH is read-only.");
625 return 1;
626 }
627
628 static PyObject *_wrap_wxRED_BRUSH_get() {
629 PyObject * pyobj;
630 char ptemp[128];
631
632 SWIG_MakePtr(ptemp, (char *) wxRED_BRUSH,"_wxBrush_p");
633 pyobj = PyString_FromString(ptemp);
634 return pyobj;
635 }
636
637 static int _wrap_wxGREY_BRUSH_set(PyObject *val) {
638
639 PyErr_SetString(PyExc_TypeError,"Variable wxGREY_BRUSH is read-only.");
640 return 1;
641 }
642
643 static PyObject *_wrap_wxGREY_BRUSH_get() {
644 PyObject * pyobj;
645 char ptemp[128];
646
647 SWIG_MakePtr(ptemp, (char *) wxGREY_BRUSH,"_wxBrush_p");
648 pyobj = PyString_FromString(ptemp);
649 return pyobj;
650 }
651
652 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject *val) {
653
654 PyErr_SetString(PyExc_TypeError,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
655 return 1;
656 }
657
658 static PyObject *_wrap_wxMEDIUM_GREY_BRUSH_get() {
659 PyObject * pyobj;
660 char ptemp[128];
661
662 SWIG_MakePtr(ptemp, (char *) wxMEDIUM_GREY_BRUSH,"_wxBrush_p");
663 pyobj = PyString_FromString(ptemp);
664 return pyobj;
665 }
666
667 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject *val) {
668
669 PyErr_SetString(PyExc_TypeError,"Variable wxLIGHT_GREY_BRUSH is read-only.");
670 return 1;
671 }
672
673 static PyObject *_wrap_wxLIGHT_GREY_BRUSH_get() {
674 PyObject * pyobj;
675 char ptemp[128];
676
677 SWIG_MakePtr(ptemp, (char *) wxLIGHT_GREY_BRUSH,"_wxBrush_p");
678 pyobj = PyString_FromString(ptemp);
679 return pyobj;
680 }
681
682 static int _wrap_wxBLACK_set(PyObject *val) {
683
684 PyErr_SetString(PyExc_TypeError,"Variable wxBLACK is read-only.");
685 return 1;
686 }
687
688 static PyObject *_wrap_wxBLACK_get() {
689 PyObject * pyobj;
690 char ptemp[128];
691
692 SWIG_MakePtr(ptemp, (char *) wxBLACK,"_wxColour_p");
693 pyobj = PyString_FromString(ptemp);
694 return pyobj;
695 }
696
697 static int _wrap_wxWHITE_set(PyObject *val) {
698
699 PyErr_SetString(PyExc_TypeError,"Variable wxWHITE is read-only.");
700 return 1;
701 }
702
703 static PyObject *_wrap_wxWHITE_get() {
704 PyObject * pyobj;
705 char ptemp[128];
706
707 SWIG_MakePtr(ptemp, (char *) wxWHITE,"_wxColour_p");
708 pyobj = PyString_FromString(ptemp);
709 return pyobj;
710 }
711
712 static int _wrap_wxRED_set(PyObject *val) {
713
714 PyErr_SetString(PyExc_TypeError,"Variable wxRED is read-only.");
715 return 1;
716 }
717
718 static PyObject *_wrap_wxRED_get() {
719 PyObject * pyobj;
720 char ptemp[128];
721
722 SWIG_MakePtr(ptemp, (char *) wxRED,"_wxColour_p");
723 pyobj = PyString_FromString(ptemp);
724 return pyobj;
725 }
726
727 static int _wrap_wxBLUE_set(PyObject *val) {
728
729 PyErr_SetString(PyExc_TypeError,"Variable wxBLUE is read-only.");
730 return 1;
731 }
732
733 static PyObject *_wrap_wxBLUE_get() {
734 PyObject * pyobj;
735 char ptemp[128];
736
737 SWIG_MakePtr(ptemp, (char *) wxBLUE,"_wxColour_p");
738 pyobj = PyString_FromString(ptemp);
739 return pyobj;
740 }
741
742 static int _wrap_wxGREEN_set(PyObject *val) {
743
744 PyErr_SetString(PyExc_TypeError,"Variable wxGREEN is read-only.");
745 return 1;
746 }
747
748 static PyObject *_wrap_wxGREEN_get() {
749 PyObject * pyobj;
750 char ptemp[128];
751
752 SWIG_MakePtr(ptemp, (char *) wxGREEN,"_wxColour_p");
753 pyobj = PyString_FromString(ptemp);
754 return pyobj;
755 }
756
757 static int _wrap_wxCYAN_set(PyObject *val) {
758
759 PyErr_SetString(PyExc_TypeError,"Variable wxCYAN is read-only.");
760 return 1;
761 }
762
763 static PyObject *_wrap_wxCYAN_get() {
764 PyObject * pyobj;
765 char ptemp[128];
766
767 SWIG_MakePtr(ptemp, (char *) wxCYAN,"_wxColour_p");
768 pyobj = PyString_FromString(ptemp);
769 return pyobj;
770 }
771
772 static int _wrap_wxLIGHT_GREY_set(PyObject *val) {
773
774 PyErr_SetString(PyExc_TypeError,"Variable wxLIGHT_GREY is read-only.");
775 return 1;
776 }
777
778 static PyObject *_wrap_wxLIGHT_GREY_get() {
779 PyObject * pyobj;
780 char ptemp[128];
781
782 SWIG_MakePtr(ptemp, (char *) wxLIGHT_GREY,"_wxColour_p");
783 pyobj = PyString_FromString(ptemp);
784 return pyobj;
785 }
786
787 static int _wrap_wxSTANDARD_CURSOR_set(PyObject *val) {
788
789 PyErr_SetString(PyExc_TypeError,"Variable wxSTANDARD_CURSOR is read-only.");
790 return 1;
791 }
792
793 static PyObject *_wrap_wxSTANDARD_CURSOR_get() {
794 PyObject * pyobj;
795 char ptemp[128];
796
797 SWIG_MakePtr(ptemp, (char *) wxSTANDARD_CURSOR,"_wxCursor_p");
798 pyobj = PyString_FromString(ptemp);
799 return pyobj;
800 }
801
802 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject *val) {
803
804 PyErr_SetString(PyExc_TypeError,"Variable wxHOURGLASS_CURSOR is read-only.");
805 return 1;
806 }
807
808 static PyObject *_wrap_wxHOURGLASS_CURSOR_get() {
809 PyObject * pyobj;
810 char ptemp[128];
811
812 SWIG_MakePtr(ptemp, (char *) wxHOURGLASS_CURSOR,"_wxCursor_p");
813 pyobj = PyString_FromString(ptemp);
814 return pyobj;
815 }
816
817 static int _wrap_wxCROSS_CURSOR_set(PyObject *val) {
818
819 PyErr_SetString(PyExc_TypeError,"Variable wxCROSS_CURSOR is read-only.");
820 return 1;
821 }
822
823 static PyObject *_wrap_wxCROSS_CURSOR_get() {
824 PyObject * pyobj;
825 char ptemp[128];
826
827 SWIG_MakePtr(ptemp, (char *) wxCROSS_CURSOR,"_wxCursor_p");
828 pyobj = PyString_FromString(ptemp);
829 return pyobj;
830 }
831
832 static int _wrap_wxNullBitmap_set(PyObject *val) {
833
834 PyErr_SetString(PyExc_TypeError,"Variable wxNullBitmap is read-only.");
835 return 1;
836 }
837
838 static PyObject *_wrap_wxNullBitmap_get() {
839 PyObject * pyobj;
840 char ptemp[128];
841
842 SWIG_MakePtr(ptemp,(char *) &wxNullBitmap,"_wxBitmap_p");
843 pyobj = PyString_FromString(ptemp);
844 return pyobj;
845 }
846
847 static int _wrap_wxNullIcon_set(PyObject *val) {
848
849 PyErr_SetString(PyExc_TypeError,"Variable wxNullIcon is read-only.");
850 return 1;
851 }
852
853 static PyObject *_wrap_wxNullIcon_get() {
854 PyObject * pyobj;
855 char ptemp[128];
856
857 SWIG_MakePtr(ptemp,(char *) &wxNullIcon,"_wxIcon_p");
858 pyobj = PyString_FromString(ptemp);
859 return pyobj;
860 }
861
862 static int _wrap_wxNullCursor_set(PyObject *val) {
863
864 PyErr_SetString(PyExc_TypeError,"Variable wxNullCursor is read-only.");
865 return 1;
866 }
867
868 static PyObject *_wrap_wxNullCursor_get() {
869 PyObject * pyobj;
870 char ptemp[128];
871
872 SWIG_MakePtr(ptemp,(char *) &wxNullCursor,"_wxCursor_p");
873 pyobj = PyString_FromString(ptemp);
874 return pyobj;
875 }
876
877 static int _wrap_wxNullPen_set(PyObject *val) {
878
879 PyErr_SetString(PyExc_TypeError,"Variable wxNullPen is read-only.");
880 return 1;
881 }
882
883 static PyObject *_wrap_wxNullPen_get() {
884 PyObject * pyobj;
885 char ptemp[128];
886
887 SWIG_MakePtr(ptemp,(char *) &wxNullPen,"_wxPen_p");
888 pyobj = PyString_FromString(ptemp);
889 return pyobj;
890 }
891
892 static int _wrap_wxNullBrush_set(PyObject *val) {
893
894 PyErr_SetString(PyExc_TypeError,"Variable wxNullBrush is read-only.");
895 return 1;
896 }
897
898 static PyObject *_wrap_wxNullBrush_get() {
899 PyObject * pyobj;
900 char ptemp[128];
901
902 SWIG_MakePtr(ptemp,(char *) &wxNullBrush,"_wxBrush_p");
903 pyobj = PyString_FromString(ptemp);
904 return pyobj;
905 }
906
907 static int _wrap_wxNullPalette_set(PyObject *val) {
908
909 PyErr_SetString(PyExc_TypeError,"Variable wxNullPalette is read-only.");
910 return 1;
911 }
912
913 static PyObject *_wrap_wxNullPalette_get() {
914 PyObject * pyobj;
915 char ptemp[128];
916
917 SWIG_MakePtr(ptemp,(char *) &wxNullPalette,"_wxPalette_p");
918 pyobj = PyString_FromString(ptemp);
919 return pyobj;
920 }
921
922 static int _wrap_wxNullFont_set(PyObject *val) {
923
924 PyErr_SetString(PyExc_TypeError,"Variable wxNullFont is read-only.");
925 return 1;
926 }
927
928 static PyObject *_wrap_wxNullFont_get() {
929 PyObject * pyobj;
930 char ptemp[128];
931
932 SWIG_MakePtr(ptemp,(char *) &wxNullFont,"_wxFont_p");
933 pyobj = PyString_FromString(ptemp);
934 return pyobj;
935 }
936
937 static int _wrap_wxNullColour_set(PyObject *val) {
938
939 PyErr_SetString(PyExc_TypeError,"Variable wxNullColour is read-only.");
940 return 1;
941 }
942
943 static PyObject *_wrap_wxNullColour_get() {
944 PyObject * pyobj;
945 char ptemp[128];
946
947 SWIG_MakePtr(ptemp,(char *) &wxNullColour,"_wxColour_p");
948 pyobj = PyString_FromString(ptemp);
949 return pyobj;
950 }
951
952 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
953 static PyObject *_wrap_new_wxBitmap(PyObject *self, PyObject *args) {
954 PyObject * _resultobj;
955 wxBitmap * _result;
956 wxString * _arg0;
957 long _arg1;
958 PyObject * _obj0 = 0;
959 char _ptemp[128];
960
961 self = self;
962 if(!PyArg_ParseTuple(args,"Ol:new_wxBitmap",&_obj0,&_arg1))
963 return NULL;
964 {
965 if (!PyString_Check(_obj0)) {
966 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
967 return NULL;
968 }
969 _arg0 = new wxString(PyString_AsString(_obj0));
970 }
971 _result = (wxBitmap *)new_wxBitmap(*_arg0,_arg1);
972 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
973 _resultobj = Py_BuildValue("s",_ptemp);
974 {
975 if (_obj0)
976 delete _arg0;
977 }
978 return _resultobj;
979 }
980
981 #define delete_wxBitmap(_swigobj) (delete _swigobj)
982 static PyObject *_wrap_delete_wxBitmap(PyObject *self, PyObject *args) {
983 PyObject * _resultobj;
984 wxBitmap * _arg0;
985 char * _argc0 = 0;
986
987 self = self;
988 if(!PyArg_ParseTuple(args,"s:delete_wxBitmap",&_argc0))
989 return NULL;
990 if (_argc0) {
991 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmap_p")) {
992 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
993 return NULL;
994 }
995 }
996 delete_wxBitmap(_arg0);
997 Py_INCREF(Py_None);
998 _resultobj = Py_None;
999 return _resultobj;
1000 }
1001
1002 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1003 static PyObject *_wrap_wxBitmap_GetDepth(PyObject *self, PyObject *args) {
1004 PyObject * _resultobj;
1005 int _result;
1006 wxBitmap * _arg0;
1007 char * _argc0 = 0;
1008
1009 self = self;
1010 if(!PyArg_ParseTuple(args,"s:wxBitmap_GetDepth",&_argc0))
1011 return NULL;
1012 if (_argc0) {
1013 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmap_p")) {
1014 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1015 return NULL;
1016 }
1017 }
1018 _result = (int )wxBitmap_GetDepth(_arg0);
1019 _resultobj = Py_BuildValue("i",_result);
1020 return _resultobj;
1021 }
1022
1023 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1024 static PyObject *_wrap_wxBitmap_GetHeight(PyObject *self, PyObject *args) {
1025 PyObject * _resultobj;
1026 int _result;
1027 wxBitmap * _arg0;
1028 char * _argc0 = 0;
1029
1030 self = self;
1031 if(!PyArg_ParseTuple(args,"s:wxBitmap_GetHeight",&_argc0))
1032 return NULL;
1033 if (_argc0) {
1034 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmap_p")) {
1035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1036 return NULL;
1037 }
1038 }
1039 _result = (int )wxBitmap_GetHeight(_arg0);
1040 _resultobj = Py_BuildValue("i",_result);
1041 return _resultobj;
1042 }
1043
1044 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1045 static PyObject *_wrap_wxBitmap_GetPalette(PyObject *self, PyObject *args) {
1046 PyObject * _resultobj;
1047 wxPalette * _result;
1048 wxBitmap * _arg0;
1049 char * _argc0 = 0;
1050 char _ptemp[128];
1051
1052 self = self;
1053 if(!PyArg_ParseTuple(args,"s:wxBitmap_GetPalette",&_argc0))
1054 return NULL;
1055 if (_argc0) {
1056 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmap_p")) {
1057 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1058 return NULL;
1059 }
1060 }
1061 _result = (wxPalette *)wxBitmap_GetPalette(_arg0);
1062 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPalette_p");
1063 _resultobj = Py_BuildValue("s",_ptemp);
1064 return _resultobj;
1065 }
1066
1067 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1068 static PyObject *_wrap_wxBitmap_GetMask(PyObject *self, PyObject *args) {
1069 PyObject * _resultobj;
1070 wxMask * _result;
1071 wxBitmap * _arg0;
1072 char * _argc0 = 0;
1073 char _ptemp[128];
1074
1075 self = self;
1076 if(!PyArg_ParseTuple(args,"s:wxBitmap_GetMask",&_argc0))
1077 return NULL;
1078 if (_argc0) {
1079 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmap_p")) {
1080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1081 return NULL;
1082 }
1083 }
1084 _result = (wxMask *)wxBitmap_GetMask(_arg0);
1085 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
1086 _resultobj = Py_BuildValue("s",_ptemp);
1087 return _resultobj;
1088 }
1089
1090 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1091 static PyObject *_wrap_wxBitmap_GetWidth(PyObject *self, PyObject *args) {
1092 PyObject * _resultobj;
1093 int _result;
1094 wxBitmap * _arg0;
1095 char * _argc0 = 0;
1096
1097 self = self;
1098 if(!PyArg_ParseTuple(args,"s:wxBitmap_GetWidth",&_argc0))
1099 return NULL;
1100 if (_argc0) {
1101 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmap_p")) {
1102 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1103 return NULL;
1104 }
1105 }
1106 _result = (int )wxBitmap_GetWidth(_arg0);
1107 _resultobj = Py_BuildValue("i",_result);
1108 return _resultobj;
1109 }
1110
1111 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1112 static PyObject *_wrap_wxBitmap_LoadFile(PyObject *self, PyObject *args) {
1113 PyObject * _resultobj;
1114 bool _result;
1115 wxBitmap * _arg0;
1116 wxString * _arg1;
1117 long _arg2;
1118 char * _argc0 = 0;
1119 PyObject * _obj1 = 0;
1120
1121 self = self;
1122 if(!PyArg_ParseTuple(args,"sOl:wxBitmap_LoadFile",&_argc0,&_obj1,&_arg2))
1123 return NULL;
1124 if (_argc0) {
1125 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmap_p")) {
1126 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1127 return NULL;
1128 }
1129 }
1130 {
1131 if (!PyString_Check(_obj1)) {
1132 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1133 return NULL;
1134 }
1135 _arg1 = new wxString(PyString_AsString(_obj1));
1136 }
1137 _result = (bool )wxBitmap_LoadFile(_arg0,*_arg1,_arg2);
1138 _resultobj = Py_BuildValue("i",_result);
1139 {
1140 if (_obj1)
1141 delete _arg1;
1142 }
1143 return _resultobj;
1144 }
1145
1146 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1147 static PyObject *_wrap_wxBitmap_Ok(PyObject *self, PyObject *args) {
1148 PyObject * _resultobj;
1149 bool _result;
1150 wxBitmap * _arg0;
1151 char * _argc0 = 0;
1152
1153 self = self;
1154 if(!PyArg_ParseTuple(args,"s:wxBitmap_Ok",&_argc0))
1155 return NULL;
1156 if (_argc0) {
1157 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmap_p")) {
1158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1159 return NULL;
1160 }
1161 }
1162 _result = (bool )wxBitmap_Ok(_arg0);
1163 _resultobj = Py_BuildValue("i",_result);
1164 return _resultobj;
1165 }
1166
1167 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1168 static PyObject *_wrap_wxBitmap_SaveFile(PyObject *self, PyObject *args) {
1169 PyObject * _resultobj;
1170 bool _result;
1171 wxBitmap * _arg0;
1172 wxString * _arg1;
1173 int _arg2;
1174 wxPalette * _arg3 = NULL;
1175 char * _argc0 = 0;
1176 PyObject * _obj1 = 0;
1177 char * _argc3 = 0;
1178
1179 self = self;
1180 if(!PyArg_ParseTuple(args,"sOi|s:wxBitmap_SaveFile",&_argc0,&_obj1,&_arg2,&_argc3))
1181 return NULL;
1182 if (_argc0) {
1183 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmap_p")) {
1184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1185 return NULL;
1186 }
1187 }
1188 {
1189 if (!PyString_Check(_obj1)) {
1190 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1191 return NULL;
1192 }
1193 _arg1 = new wxString(PyString_AsString(_obj1));
1194 }
1195 if (_argc3) {
1196 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPalette_p")) {
1197 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1198 return NULL;
1199 }
1200 }
1201 _result = (bool )wxBitmap_SaveFile(_arg0,*_arg1,_arg2,_arg3);
1202 _resultobj = Py_BuildValue("i",_result);
1203 {
1204 if (_obj1)
1205 delete _arg1;
1206 }
1207 return _resultobj;
1208 }
1209
1210 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1211 static PyObject *_wrap_wxBitmap_SetDepth(PyObject *self, PyObject *args) {
1212 PyObject * _resultobj;
1213 wxBitmap * _arg0;
1214 int _arg1;
1215 char * _argc0 = 0;
1216
1217 self = self;
1218 if(!PyArg_ParseTuple(args,"si:wxBitmap_SetDepth",&_argc0,&_arg1))
1219 return NULL;
1220 if (_argc0) {
1221 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmap_p")) {
1222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1223 return NULL;
1224 }
1225 }
1226 wxBitmap_SetDepth(_arg0,_arg1);
1227 Py_INCREF(Py_None);
1228 _resultobj = Py_None;
1229 return _resultobj;
1230 }
1231
1232 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1233 static PyObject *_wrap_wxBitmap_SetHeight(PyObject *self, PyObject *args) {
1234 PyObject * _resultobj;
1235 wxBitmap * _arg0;
1236 int _arg1;
1237 char * _argc0 = 0;
1238
1239 self = self;
1240 if(!PyArg_ParseTuple(args,"si:wxBitmap_SetHeight",&_argc0,&_arg1))
1241 return NULL;
1242 if (_argc0) {
1243 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmap_p")) {
1244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1245 return NULL;
1246 }
1247 }
1248 wxBitmap_SetHeight(_arg0,_arg1);
1249 Py_INCREF(Py_None);
1250 _resultobj = Py_None;
1251 return _resultobj;
1252 }
1253
1254 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1255 static PyObject *_wrap_wxBitmap_SetMask(PyObject *self, PyObject *args) {
1256 PyObject * _resultobj;
1257 wxBitmap * _arg0;
1258 wxMask * _arg1;
1259 char * _argc0 = 0;
1260 char * _argc1 = 0;
1261
1262 self = self;
1263 if(!PyArg_ParseTuple(args,"ss:wxBitmap_SetMask",&_argc0,&_argc1))
1264 return NULL;
1265 if (_argc0) {
1266 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmap_p")) {
1267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1268 return NULL;
1269 }
1270 }
1271 if (_argc1) {
1272 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxMask_p")) {
1273 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1274 return NULL;
1275 }
1276 }
1277 wxBitmap_SetMask(_arg0,_arg1);
1278 Py_INCREF(Py_None);
1279 _resultobj = Py_None;
1280 return _resultobj;
1281 }
1282
1283 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1284 static PyObject *_wrap_wxBitmap_SetWidth(PyObject *self, PyObject *args) {
1285 PyObject * _resultobj;
1286 wxBitmap * _arg0;
1287 int _arg1;
1288 char * _argc0 = 0;
1289
1290 self = self;
1291 if(!PyArg_ParseTuple(args,"si:wxBitmap_SetWidth",&_argc0,&_arg1))
1292 return NULL;
1293 if (_argc0) {
1294 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmap_p")) {
1295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1296 return NULL;
1297 }
1298 }
1299 wxBitmap_SetWidth(_arg0,_arg1);
1300 Py_INCREF(Py_None);
1301 _resultobj = Py_None;
1302 return _resultobj;
1303 }
1304
1305 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1306 static PyObject *_wrap_new_wxMask(PyObject *self, PyObject *args) {
1307 PyObject * _resultobj;
1308 wxMask * _result;
1309 wxBitmap * _arg0;
1310 char * _argc0 = 0;
1311 char _ptemp[128];
1312
1313 self = self;
1314 if(!PyArg_ParseTuple(args,"s:new_wxMask",&_argc0))
1315 return NULL;
1316 if (_argc0) {
1317 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmap_p")) {
1318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1319 return NULL;
1320 }
1321 }
1322 _result = (wxMask *)new_wxMask(*_arg0);
1323 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMask_p");
1324 _resultobj = Py_BuildValue("s",_ptemp);
1325 return _resultobj;
1326 }
1327
1328 #define delete_wxMask(_swigobj) (delete _swigobj)
1329 static PyObject *_wrap_delete_wxMask(PyObject *self, PyObject *args) {
1330 PyObject * _resultobj;
1331 wxMask * _arg0;
1332 char * _argc0 = 0;
1333
1334 self = self;
1335 if(!PyArg_ParseTuple(args,"s:delete_wxMask",&_argc0))
1336 return NULL;
1337 if (_argc0) {
1338 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMask_p")) {
1339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxMask. Expected _wxMask_p.");
1340 return NULL;
1341 }
1342 }
1343 delete_wxMask(_arg0);
1344 Py_INCREF(Py_None);
1345 _resultobj = Py_None;
1346 return _resultobj;
1347 }
1348
1349 static void *SwigwxIconTowxBitmap(void *ptr) {
1350 wxIcon *src;
1351 wxBitmap *dest;
1352 src = (wxIcon *) ptr;
1353 dest = (wxBitmap *) src;
1354 return (void *) dest;
1355 }
1356
1357 #define delete_wxIcon(_swigobj) (delete _swigobj)
1358 static PyObject *_wrap_delete_wxIcon(PyObject *self, PyObject *args) {
1359 PyObject * _resultobj;
1360 wxIcon * _arg0;
1361 char * _argc0 = 0;
1362
1363 self = self;
1364 if(!PyArg_ParseTuple(args,"s:delete_wxIcon",&_argc0))
1365 return NULL;
1366 if (_argc0) {
1367 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIcon_p")) {
1368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1369 return NULL;
1370 }
1371 }
1372 delete_wxIcon(_arg0);
1373 Py_INCREF(Py_None);
1374 _resultobj = Py_None;
1375 return _resultobj;
1376 }
1377
1378 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
1379 static PyObject *_wrap_wxIcon_GetDepth(PyObject *self, PyObject *args) {
1380 PyObject * _resultobj;
1381 int _result;
1382 wxIcon * _arg0;
1383 char * _argc0 = 0;
1384
1385 self = self;
1386 if(!PyArg_ParseTuple(args,"s:wxIcon_GetDepth",&_argc0))
1387 return NULL;
1388 if (_argc0) {
1389 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIcon_p")) {
1390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
1391 return NULL;
1392 }
1393 }
1394 _result = (int )wxIcon_GetDepth(_arg0);
1395 _resultobj = Py_BuildValue("i",_result);
1396 return _resultobj;
1397 }
1398
1399 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
1400 static PyObject *_wrap_wxIcon_GetHeight(PyObject *self, PyObject *args) {
1401 PyObject * _resultobj;
1402 int _result;
1403 wxIcon * _arg0;
1404 char * _argc0 = 0;
1405
1406 self = self;
1407 if(!PyArg_ParseTuple(args,"s:wxIcon_GetHeight",&_argc0))
1408 return NULL;
1409 if (_argc0) {
1410 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIcon_p")) {
1411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
1412 return NULL;
1413 }
1414 }
1415 _result = (int )wxIcon_GetHeight(_arg0);
1416 _resultobj = Py_BuildValue("i",_result);
1417 return _resultobj;
1418 }
1419
1420 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
1421 static PyObject *_wrap_wxIcon_GetWidth(PyObject *self, PyObject *args) {
1422 PyObject * _resultobj;
1423 int _result;
1424 wxIcon * _arg0;
1425 char * _argc0 = 0;
1426
1427 self = self;
1428 if(!PyArg_ParseTuple(args,"s:wxIcon_GetWidth",&_argc0))
1429 return NULL;
1430 if (_argc0) {
1431 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIcon_p")) {
1432 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
1433 return NULL;
1434 }
1435 }
1436 _result = (int )wxIcon_GetWidth(_arg0);
1437 _resultobj = Py_BuildValue("i",_result);
1438 return _resultobj;
1439 }
1440
1441 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1442 static PyObject *_wrap_wxIcon_LoadFile(PyObject *self, PyObject *args) {
1443 PyObject * _resultobj;
1444 bool _result;
1445 wxIcon * _arg0;
1446 wxString * _arg1;
1447 long _arg2;
1448 char * _argc0 = 0;
1449 PyObject * _obj1 = 0;
1450
1451 self = self;
1452 if(!PyArg_ParseTuple(args,"sOl:wxIcon_LoadFile",&_argc0,&_obj1,&_arg2))
1453 return NULL;
1454 if (_argc0) {
1455 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIcon_p")) {
1456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
1457 return NULL;
1458 }
1459 }
1460 {
1461 if (!PyString_Check(_obj1)) {
1462 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1463 return NULL;
1464 }
1465 _arg1 = new wxString(PyString_AsString(_obj1));
1466 }
1467 _result = (bool )wxIcon_LoadFile(_arg0,*_arg1,_arg2);
1468 _resultobj = Py_BuildValue("i",_result);
1469 {
1470 if (_obj1)
1471 delete _arg1;
1472 }
1473 return _resultobj;
1474 }
1475
1476 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
1477 static PyObject *_wrap_wxIcon_Ok(PyObject *self, PyObject *args) {
1478 PyObject * _resultobj;
1479 bool _result;
1480 wxIcon * _arg0;
1481 char * _argc0 = 0;
1482
1483 self = self;
1484 if(!PyArg_ParseTuple(args,"s:wxIcon_Ok",&_argc0))
1485 return NULL;
1486 if (_argc0) {
1487 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIcon_p")) {
1488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
1489 return NULL;
1490 }
1491 }
1492 _result = (bool )wxIcon_Ok(_arg0);
1493 _resultobj = Py_BuildValue("i",_result);
1494 return _resultobj;
1495 }
1496
1497 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1498 static PyObject *_wrap_wxIcon_SetDepth(PyObject *self, PyObject *args) {
1499 PyObject * _resultobj;
1500 wxIcon * _arg0;
1501 int _arg1;
1502 char * _argc0 = 0;
1503
1504 self = self;
1505 if(!PyArg_ParseTuple(args,"si:wxIcon_SetDepth",&_argc0,&_arg1))
1506 return NULL;
1507 if (_argc0) {
1508 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIcon_p")) {
1509 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
1510 return NULL;
1511 }
1512 }
1513 wxIcon_SetDepth(_arg0,_arg1);
1514 Py_INCREF(Py_None);
1515 _resultobj = Py_None;
1516 return _resultobj;
1517 }
1518
1519 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1520 static PyObject *_wrap_wxIcon_SetHeight(PyObject *self, PyObject *args) {
1521 PyObject * _resultobj;
1522 wxIcon * _arg0;
1523 int _arg1;
1524 char * _argc0 = 0;
1525
1526 self = self;
1527 if(!PyArg_ParseTuple(args,"si:wxIcon_SetHeight",&_argc0,&_arg1))
1528 return NULL;
1529 if (_argc0) {
1530 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIcon_p")) {
1531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
1532 return NULL;
1533 }
1534 }
1535 wxIcon_SetHeight(_arg0,_arg1);
1536 Py_INCREF(Py_None);
1537 _resultobj = Py_None;
1538 return _resultobj;
1539 }
1540
1541 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1542 static PyObject *_wrap_wxIcon_SetWidth(PyObject *self, PyObject *args) {
1543 PyObject * _resultobj;
1544 wxIcon * _arg0;
1545 int _arg1;
1546 char * _argc0 = 0;
1547
1548 self = self;
1549 if(!PyArg_ParseTuple(args,"si:wxIcon_SetWidth",&_argc0,&_arg1))
1550 return NULL;
1551 if (_argc0) {
1552 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIcon_p")) {
1553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
1554 return NULL;
1555 }
1556 }
1557 wxIcon_SetWidth(_arg0,_arg1);
1558 Py_INCREF(Py_None);
1559 _resultobj = Py_None;
1560 return _resultobj;
1561 }
1562
1563 static void *SwigwxCursorTowxBitmap(void *ptr) {
1564 wxCursor *src;
1565 wxBitmap *dest;
1566 src = (wxCursor *) ptr;
1567 dest = (wxBitmap *) src;
1568 return (void *) dest;
1569 }
1570
1571 #define delete_wxCursor(_swigobj) (delete _swigobj)
1572 static PyObject *_wrap_delete_wxCursor(PyObject *self, PyObject *args) {
1573 PyObject * _resultobj;
1574 wxCursor * _arg0;
1575 char * _argc0 = 0;
1576
1577 self = self;
1578 if(!PyArg_ParseTuple(args,"s:delete_wxCursor",&_argc0))
1579 return NULL;
1580 if (_argc0) {
1581 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCursor_p")) {
1582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
1583 return NULL;
1584 }
1585 }
1586 delete_wxCursor(_arg0);
1587 Py_INCREF(Py_None);
1588 _resultobj = Py_None;
1589 return _resultobj;
1590 }
1591
1592 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
1593 static PyObject *_wrap_wxCursor_Ok(PyObject *self, PyObject *args) {
1594 PyObject * _resultobj;
1595 bool _result;
1596 wxCursor * _arg0;
1597 char * _argc0 = 0;
1598
1599 self = self;
1600 if(!PyArg_ParseTuple(args,"s:wxCursor_Ok",&_argc0))
1601 return NULL;
1602 if (_argc0) {
1603 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCursor_p")) {
1604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
1605 return NULL;
1606 }
1607 }
1608 _result = (bool )wxCursor_Ok(_arg0);
1609 _resultobj = Py_BuildValue("i",_result);
1610 return _resultobj;
1611 }
1612
1613 static wxFont *new_wxFont(int pointSize,int family,int style,int weight,int underline,char *faceName) {
1614
1615 return wxTheFontList->FindOrCreateFont(pointSize, family, style, weight,
1616 underline, faceName);
1617 }
1618
1619 static PyObject *_wrap_new_wxFont(PyObject *self, PyObject *args) {
1620 PyObject * _resultobj;
1621 wxFont * _result;
1622 int _arg0;
1623 int _arg1;
1624 int _arg2;
1625 int _arg3;
1626 int _arg4 = (0);
1627 char * _arg5 = "";
1628 char _ptemp[128];
1629
1630 self = self;
1631 if(!PyArg_ParseTuple(args,"iiii|is:new_wxFont",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
1632 return NULL;
1633 _result = (wxFont *)new_wxFont(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
1634 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
1635 _resultobj = Py_BuildValue("s",_ptemp);
1636 return _resultobj;
1637 }
1638
1639 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
1640 static PyObject *_wrap_wxFont_GetFaceName(PyObject *self, PyObject *args) {
1641 PyObject * _resultobj;
1642 wxString * _result;
1643 wxFont * _arg0;
1644 char * _argc0 = 0;
1645
1646 self = self;
1647 if(!PyArg_ParseTuple(args,"s:wxFont_GetFaceName",&_argc0))
1648 return NULL;
1649 if (_argc0) {
1650 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFont_p")) {
1651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
1652 return NULL;
1653 }
1654 }
1655 _result = new wxString (wxFont_GetFaceName(_arg0));
1656 {
1657 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1658 }
1659 {
1660 delete _result;
1661 }
1662 return _resultobj;
1663 }
1664
1665 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
1666 static PyObject *_wrap_wxFont_GetFamily(PyObject *self, PyObject *args) {
1667 PyObject * _resultobj;
1668 int _result;
1669 wxFont * _arg0;
1670 char * _argc0 = 0;
1671
1672 self = self;
1673 if(!PyArg_ParseTuple(args,"s:wxFont_GetFamily",&_argc0))
1674 return NULL;
1675 if (_argc0) {
1676 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFont_p")) {
1677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
1678 return NULL;
1679 }
1680 }
1681 _result = (int )wxFont_GetFamily(_arg0);
1682 _resultobj = Py_BuildValue("i",_result);
1683 return _resultobj;
1684 }
1685
1686 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
1687 static PyObject *_wrap_wxFont_GetPointSize(PyObject *self, PyObject *args) {
1688 PyObject * _resultobj;
1689 int _result;
1690 wxFont * _arg0;
1691 char * _argc0 = 0;
1692
1693 self = self;
1694 if(!PyArg_ParseTuple(args,"s:wxFont_GetPointSize",&_argc0))
1695 return NULL;
1696 if (_argc0) {
1697 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFont_p")) {
1698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
1699 return NULL;
1700 }
1701 }
1702 _result = (int )wxFont_GetPointSize(_arg0);
1703 _resultobj = Py_BuildValue("i",_result);
1704 return _resultobj;
1705 }
1706
1707 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
1708 static PyObject *_wrap_wxFont_GetStyle(PyObject *self, PyObject *args) {
1709 PyObject * _resultobj;
1710 int _result;
1711 wxFont * _arg0;
1712 char * _argc0 = 0;
1713
1714 self = self;
1715 if(!PyArg_ParseTuple(args,"s:wxFont_GetStyle",&_argc0))
1716 return NULL;
1717 if (_argc0) {
1718 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFont_p")) {
1719 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
1720 return NULL;
1721 }
1722 }
1723 _result = (int )wxFont_GetStyle(_arg0);
1724 _resultobj = Py_BuildValue("i",_result);
1725 return _resultobj;
1726 }
1727
1728 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
1729 static PyObject *_wrap_wxFont_GetUnderlined(PyObject *self, PyObject *args) {
1730 PyObject * _resultobj;
1731 bool _result;
1732 wxFont * _arg0;
1733 char * _argc0 = 0;
1734
1735 self = self;
1736 if(!PyArg_ParseTuple(args,"s:wxFont_GetUnderlined",&_argc0))
1737 return NULL;
1738 if (_argc0) {
1739 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFont_p")) {
1740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
1741 return NULL;
1742 }
1743 }
1744 _result = (bool )wxFont_GetUnderlined(_arg0);
1745 _resultobj = Py_BuildValue("i",_result);
1746 return _resultobj;
1747 }
1748
1749 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
1750 static PyObject *_wrap_wxFont_GetWeight(PyObject *self, PyObject *args) {
1751 PyObject * _resultobj;
1752 int _result;
1753 wxFont * _arg0;
1754 char * _argc0 = 0;
1755
1756 self = self;
1757 if(!PyArg_ParseTuple(args,"s:wxFont_GetWeight",&_argc0))
1758 return NULL;
1759 if (_argc0) {
1760 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFont_p")) {
1761 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
1762 return NULL;
1763 }
1764 }
1765 _result = (int )wxFont_GetWeight(_arg0);
1766 _resultobj = Py_BuildValue("i",_result);
1767 return _resultobj;
1768 }
1769
1770 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
1771 static PyObject *_wrap_wxFont_SetFaceName(PyObject *self, PyObject *args) {
1772 PyObject * _resultobj;
1773 wxFont * _arg0;
1774 wxString * _arg1;
1775 char * _argc0 = 0;
1776 PyObject * _obj1 = 0;
1777
1778 self = self;
1779 if(!PyArg_ParseTuple(args,"sO:wxFont_SetFaceName",&_argc0,&_obj1))
1780 return NULL;
1781 if (_argc0) {
1782 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFont_p")) {
1783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
1784 return NULL;
1785 }
1786 }
1787 {
1788 if (!PyString_Check(_obj1)) {
1789 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1790 return NULL;
1791 }
1792 _arg1 = new wxString(PyString_AsString(_obj1));
1793 }
1794 wxFont_SetFaceName(_arg0,*_arg1);
1795 Py_INCREF(Py_None);
1796 _resultobj = Py_None;
1797 {
1798 if (_obj1)
1799 delete _arg1;
1800 }
1801 return _resultobj;
1802 }
1803
1804 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
1805 static PyObject *_wrap_wxFont_SetFamily(PyObject *self, PyObject *args) {
1806 PyObject * _resultobj;
1807 wxFont * _arg0;
1808 int _arg1;
1809 char * _argc0 = 0;
1810
1811 self = self;
1812 if(!PyArg_ParseTuple(args,"si:wxFont_SetFamily",&_argc0,&_arg1))
1813 return NULL;
1814 if (_argc0) {
1815 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFont_p")) {
1816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
1817 return NULL;
1818 }
1819 }
1820 wxFont_SetFamily(_arg0,_arg1);
1821 Py_INCREF(Py_None);
1822 _resultobj = Py_None;
1823 return _resultobj;
1824 }
1825
1826 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
1827 static PyObject *_wrap_wxFont_SetPointSize(PyObject *self, PyObject *args) {
1828 PyObject * _resultobj;
1829 wxFont * _arg0;
1830 int _arg1;
1831 char * _argc0 = 0;
1832
1833 self = self;
1834 if(!PyArg_ParseTuple(args,"si:wxFont_SetPointSize",&_argc0,&_arg1))
1835 return NULL;
1836 if (_argc0) {
1837 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFont_p")) {
1838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
1839 return NULL;
1840 }
1841 }
1842 wxFont_SetPointSize(_arg0,_arg1);
1843 Py_INCREF(Py_None);
1844 _resultobj = Py_None;
1845 return _resultobj;
1846 }
1847
1848 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1849 static PyObject *_wrap_wxFont_SetStyle(PyObject *self, PyObject *args) {
1850 PyObject * _resultobj;
1851 wxFont * _arg0;
1852 int _arg1;
1853 char * _argc0 = 0;
1854
1855 self = self;
1856 if(!PyArg_ParseTuple(args,"si:wxFont_SetStyle",&_argc0,&_arg1))
1857 return NULL;
1858 if (_argc0) {
1859 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFont_p")) {
1860 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
1861 return NULL;
1862 }
1863 }
1864 wxFont_SetStyle(_arg0,_arg1);
1865 Py_INCREF(Py_None);
1866 _resultobj = Py_None;
1867 return _resultobj;
1868 }
1869
1870 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
1871 static PyObject *_wrap_wxFont_SetUnderlined(PyObject *self, PyObject *args) {
1872 PyObject * _resultobj;
1873 wxFont * _arg0;
1874 bool _arg1;
1875 char * _argc0 = 0;
1876 int tempbool1;
1877
1878 self = self;
1879 if(!PyArg_ParseTuple(args,"si:wxFont_SetUnderlined",&_argc0,&tempbool1))
1880 return NULL;
1881 if (_argc0) {
1882 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFont_p")) {
1883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
1884 return NULL;
1885 }
1886 }
1887 _arg1 = (bool ) tempbool1;
1888 wxFont_SetUnderlined(_arg0,_arg1);
1889 Py_INCREF(Py_None);
1890 _resultobj = Py_None;
1891 return _resultobj;
1892 }
1893
1894 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
1895 static PyObject *_wrap_wxFont_SetWeight(PyObject *self, PyObject *args) {
1896 PyObject * _resultobj;
1897 wxFont * _arg0;
1898 int _arg1;
1899 char * _argc0 = 0;
1900
1901 self = self;
1902 if(!PyArg_ParseTuple(args,"si:wxFont_SetWeight",&_argc0,&_arg1))
1903 return NULL;
1904 if (_argc0) {
1905 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFont_p")) {
1906 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
1907 return NULL;
1908 }
1909 }
1910 wxFont_SetWeight(_arg0,_arg1);
1911 Py_INCREF(Py_None);
1912 _resultobj = Py_None;
1913 return _resultobj;
1914 }
1915
1916 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
1917 static PyObject *_wrap_new_wxColour(PyObject *self, PyObject *args) {
1918 PyObject * _resultobj;
1919 wxColour * _result;
1920 unsigned char _arg0 = 0;
1921 unsigned char _arg1 = 0;
1922 unsigned char _arg2 = 0;
1923 char _ptemp[128];
1924
1925 self = self;
1926 if(!PyArg_ParseTuple(args,"|bbb:new_wxColour",&_arg0,&_arg1,&_arg2))
1927 return NULL;
1928 _result = (wxColour *)new_wxColour(_arg0,_arg1,_arg2);
1929 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1930 _resultobj = Py_BuildValue("s",_ptemp);
1931 return _resultobj;
1932 }
1933
1934 #define delete_wxColour(_swigobj) (delete _swigobj)
1935 static PyObject *_wrap_delete_wxColour(PyObject *self, PyObject *args) {
1936 PyObject * _resultobj;
1937 wxColour * _arg0;
1938 char * _argc0 = 0;
1939
1940 self = self;
1941 if(!PyArg_ParseTuple(args,"s:delete_wxColour",&_argc0))
1942 return NULL;
1943 if (_argc0) {
1944 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColour_p")) {
1945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxColour. Expected _wxColour_p.");
1946 return NULL;
1947 }
1948 }
1949 delete_wxColour(_arg0);
1950 Py_INCREF(Py_None);
1951 _resultobj = Py_None;
1952 return _resultobj;
1953 }
1954
1955 #define wxColour_Red(_swigobj) (_swigobj->Red())
1956 static PyObject *_wrap_wxColour_Red(PyObject *self, PyObject *args) {
1957 PyObject * _resultobj;
1958 unsigned char _result;
1959 wxColour * _arg0;
1960 char * _argc0 = 0;
1961
1962 self = self;
1963 if(!PyArg_ParseTuple(args,"s:wxColour_Red",&_argc0))
1964 return NULL;
1965 if (_argc0) {
1966 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColour_p")) {
1967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColour_Red. Expected _wxColour_p.");
1968 return NULL;
1969 }
1970 }
1971 _result = (unsigned char )wxColour_Red(_arg0);
1972 _resultobj = Py_BuildValue("b",_result);
1973 return _resultobj;
1974 }
1975
1976 #define wxColour_Green(_swigobj) (_swigobj->Green())
1977 static PyObject *_wrap_wxColour_Green(PyObject *self, PyObject *args) {
1978 PyObject * _resultobj;
1979 unsigned char _result;
1980 wxColour * _arg0;
1981 char * _argc0 = 0;
1982
1983 self = self;
1984 if(!PyArg_ParseTuple(args,"s:wxColour_Green",&_argc0))
1985 return NULL;
1986 if (_argc0) {
1987 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColour_p")) {
1988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColour_Green. Expected _wxColour_p.");
1989 return NULL;
1990 }
1991 }
1992 _result = (unsigned char )wxColour_Green(_arg0);
1993 _resultobj = Py_BuildValue("b",_result);
1994 return _resultobj;
1995 }
1996
1997 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
1998 static PyObject *_wrap_wxColour_Blue(PyObject *self, PyObject *args) {
1999 PyObject * _resultobj;
2000 unsigned char _result;
2001 wxColour * _arg0;
2002 char * _argc0 = 0;
2003
2004 self = self;
2005 if(!PyArg_ParseTuple(args,"s:wxColour_Blue",&_argc0))
2006 return NULL;
2007 if (_argc0) {
2008 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColour_p")) {
2009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColour_Blue. Expected _wxColour_p.");
2010 return NULL;
2011 }
2012 }
2013 _result = (unsigned char )wxColour_Blue(_arg0);
2014 _resultobj = Py_BuildValue("b",_result);
2015 return _resultobj;
2016 }
2017
2018 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
2019 static PyObject *_wrap_wxColour_Ok(PyObject *self, PyObject *args) {
2020 PyObject * _resultobj;
2021 bool _result;
2022 wxColour * _arg0;
2023 char * _argc0 = 0;
2024
2025 self = self;
2026 if(!PyArg_ParseTuple(args,"s:wxColour_Ok",&_argc0))
2027 return NULL;
2028 if (_argc0) {
2029 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColour_p")) {
2030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColour_Ok. Expected _wxColour_p.");
2031 return NULL;
2032 }
2033 }
2034 _result = (bool )wxColour_Ok(_arg0);
2035 _resultobj = Py_BuildValue("i",_result);
2036 return _resultobj;
2037 }
2038
2039 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2040 static PyObject *_wrap_wxColour_Set(PyObject *self, PyObject *args) {
2041 PyObject * _resultobj;
2042 wxColour * _arg0;
2043 unsigned char _arg1;
2044 unsigned char _arg2;
2045 unsigned char _arg3;
2046 char * _argc0 = 0;
2047
2048 self = self;
2049 if(!PyArg_ParseTuple(args,"sbbb:wxColour_Set",&_argc0,&_arg1,&_arg2,&_arg3))
2050 return NULL;
2051 if (_argc0) {
2052 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColour_p")) {
2053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColour_Set. Expected _wxColour_p.");
2054 return NULL;
2055 }
2056 }
2057 wxColour_Set(_arg0,_arg1,_arg2,_arg3);
2058 Py_INCREF(Py_None);
2059 _resultobj = Py_None;
2060 return _resultobj;
2061 }
2062
2063 static PyObject * wxColour_Get(wxColour *self) {
2064 PyObject* rv = PyTuple_New(3);
2065 PyTuple_SetItem(rv, 0, PyInt_FromLong(self->Red()));
2066 PyTuple_SetItem(rv, 1, PyInt_FromLong(self->Green()));
2067 PyTuple_SetItem(rv, 2, PyInt_FromLong(self->Blue()));
2068 return rv;
2069 }
2070 static PyObject *_wrap_wxColour_Get(PyObject *self, PyObject *args) {
2071 PyObject * _resultobj;
2072 PyObject * _result;
2073 wxColour * _arg0;
2074 char * _argc0 = 0;
2075
2076 self = self;
2077 if(!PyArg_ParseTuple(args,"s:wxColour_Get",&_argc0))
2078 return NULL;
2079 if (_argc0) {
2080 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColour_p")) {
2081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxColour_Get. Expected _wxColour_p.");
2082 return NULL;
2083 }
2084 }
2085 _result = (PyObject *)wxColour_Get(_arg0);
2086 {
2087 _resultobj = _result;
2088 }
2089 return _resultobj;
2090 }
2091
2092 static wxPen *new_wxPen(wxColour *colour,int width,int style) {
2093 return wxThePenList->FindOrCreatePen(*colour, width, style);
2094 }
2095
2096 static PyObject *_wrap_new_wxPen(PyObject *self, PyObject *args) {
2097 PyObject * _resultobj;
2098 wxPen * _result;
2099 wxColour * _arg0;
2100 int _arg1 = 1;
2101 int _arg2 = (wxSOLID);
2102 char * _argc0 = 0;
2103 char _ptemp[128];
2104
2105 self = self;
2106 if(!PyArg_ParseTuple(args,"s|ii:new_wxPen",&_argc0,&_arg1,&_arg2))
2107 return NULL;
2108 if (_argc0) {
2109 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColour_p")) {
2110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPen. Expected _wxColour_p.");
2111 return NULL;
2112 }
2113 }
2114 _result = (wxPen *)new_wxPen(_arg0,_arg1,_arg2);
2115 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
2116 _resultobj = Py_BuildValue("s",_ptemp);
2117 return _resultobj;
2118 }
2119
2120 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
2121 static PyObject *_wrap_wxPen_GetCap(PyObject *self, PyObject *args) {
2122 PyObject * _resultobj;
2123 int _result;
2124 wxPen * _arg0;
2125 char * _argc0 = 0;
2126
2127 self = self;
2128 if(!PyArg_ParseTuple(args,"s:wxPen_GetCap",&_argc0))
2129 return NULL;
2130 if (_argc0) {
2131 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPen_p")) {
2132 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
2133 return NULL;
2134 }
2135 }
2136 _result = (int )wxPen_GetCap(_arg0);
2137 _resultobj = Py_BuildValue("i",_result);
2138 return _resultobj;
2139 }
2140
2141 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
2142 static PyObject *_wrap_wxPen_GetColour(PyObject *self, PyObject *args) {
2143 PyObject * _resultobj;
2144 wxColour * _result;
2145 wxPen * _arg0;
2146 char * _argc0 = 0;
2147 char _ptemp[128];
2148
2149 self = self;
2150 if(!PyArg_ParseTuple(args,"s:wxPen_GetColour",&_argc0))
2151 return NULL;
2152 if (_argc0) {
2153 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPen_p")) {
2154 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
2155 return NULL;
2156 }
2157 }
2158 wxColour & _result_ref = wxPen_GetColour(_arg0);
2159 _result = (wxColour *) &_result_ref;
2160 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
2161 _resultobj = Py_BuildValue("s",_ptemp);
2162 return _resultobj;
2163 }
2164
2165 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
2166 static PyObject *_wrap_wxPen_GetJoin(PyObject *self, PyObject *args) {
2167 PyObject * _resultobj;
2168 int _result;
2169 wxPen * _arg0;
2170 char * _argc0 = 0;
2171
2172 self = self;
2173 if(!PyArg_ParseTuple(args,"s:wxPen_GetJoin",&_argc0))
2174 return NULL;
2175 if (_argc0) {
2176 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPen_p")) {
2177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
2178 return NULL;
2179 }
2180 }
2181 _result = (int )wxPen_GetJoin(_arg0);
2182 _resultobj = Py_BuildValue("i",_result);
2183 return _resultobj;
2184 }
2185
2186 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
2187 static PyObject *_wrap_wxPen_GetStyle(PyObject *self, PyObject *args) {
2188 PyObject * _resultobj;
2189 int _result;
2190 wxPen * _arg0;
2191 char * _argc0 = 0;
2192
2193 self = self;
2194 if(!PyArg_ParseTuple(args,"s:wxPen_GetStyle",&_argc0))
2195 return NULL;
2196 if (_argc0) {
2197 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPen_p")) {
2198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
2199 return NULL;
2200 }
2201 }
2202 _result = (int )wxPen_GetStyle(_arg0);
2203 _resultobj = Py_BuildValue("i",_result);
2204 return _resultobj;
2205 }
2206
2207 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
2208 static PyObject *_wrap_wxPen_GetWidth(PyObject *self, PyObject *args) {
2209 PyObject * _resultobj;
2210 int _result;
2211 wxPen * _arg0;
2212 char * _argc0 = 0;
2213
2214 self = self;
2215 if(!PyArg_ParseTuple(args,"s:wxPen_GetWidth",&_argc0))
2216 return NULL;
2217 if (_argc0) {
2218 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPen_p")) {
2219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
2220 return NULL;
2221 }
2222 }
2223 _result = (int )wxPen_GetWidth(_arg0);
2224 _resultobj = Py_BuildValue("i",_result);
2225 return _resultobj;
2226 }
2227
2228 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
2229 static PyObject *_wrap_wxPen_Ok(PyObject *self, PyObject *args) {
2230 PyObject * _resultobj;
2231 bool _result;
2232 wxPen * _arg0;
2233 char * _argc0 = 0;
2234
2235 self = self;
2236 if(!PyArg_ParseTuple(args,"s:wxPen_Ok",&_argc0))
2237 return NULL;
2238 if (_argc0) {
2239 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPen_p")) {
2240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
2241 return NULL;
2242 }
2243 }
2244 _result = (bool )wxPen_Ok(_arg0);
2245 _resultobj = Py_BuildValue("i",_result);
2246 return _resultobj;
2247 }
2248
2249 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
2250 static PyObject *_wrap_wxPen_SetCap(PyObject *self, PyObject *args) {
2251 PyObject * _resultobj;
2252 wxPen * _arg0;
2253 int _arg1;
2254 char * _argc0 = 0;
2255
2256 self = self;
2257 if(!PyArg_ParseTuple(args,"si:wxPen_SetCap",&_argc0,&_arg1))
2258 return NULL;
2259 if (_argc0) {
2260 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPen_p")) {
2261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
2262 return NULL;
2263 }
2264 }
2265 wxPen_SetCap(_arg0,_arg1);
2266 Py_INCREF(Py_None);
2267 _resultobj = Py_None;
2268 return _resultobj;
2269 }
2270
2271 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2272 static PyObject *_wrap_wxPen_SetColour(PyObject *self, PyObject *args) {
2273 PyObject * _resultobj;
2274 wxPen * _arg0;
2275 wxColour * _arg1;
2276 char * _argc0 = 0;
2277 char * _argc1 = 0;
2278
2279 self = self;
2280 if(!PyArg_ParseTuple(args,"ss:wxPen_SetColour",&_argc0,&_argc1))
2281 return NULL;
2282 if (_argc0) {
2283 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPen_p")) {
2284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
2285 return NULL;
2286 }
2287 }
2288 if (_argc1) {
2289 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
2290 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPen_SetColour. Expected _wxColour_p.");
2291 return NULL;
2292 }
2293 }
2294 wxPen_SetColour(_arg0,*_arg1);
2295 Py_INCREF(Py_None);
2296 _resultobj = Py_None;
2297 return _resultobj;
2298 }
2299
2300 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
2301 static PyObject *_wrap_wxPen_SetJoin(PyObject *self, PyObject *args) {
2302 PyObject * _resultobj;
2303 wxPen * _arg0;
2304 int _arg1;
2305 char * _argc0 = 0;
2306
2307 self = self;
2308 if(!PyArg_ParseTuple(args,"si:wxPen_SetJoin",&_argc0,&_arg1))
2309 return NULL;
2310 if (_argc0) {
2311 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPen_p")) {
2312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
2313 return NULL;
2314 }
2315 }
2316 wxPen_SetJoin(_arg0,_arg1);
2317 Py_INCREF(Py_None);
2318 _resultobj = Py_None;
2319 return _resultobj;
2320 }
2321
2322 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2323 static PyObject *_wrap_wxPen_SetStyle(PyObject *self, PyObject *args) {
2324 PyObject * _resultobj;
2325 wxPen * _arg0;
2326 int _arg1;
2327 char * _argc0 = 0;
2328
2329 self = self;
2330 if(!PyArg_ParseTuple(args,"si:wxPen_SetStyle",&_argc0,&_arg1))
2331 return NULL;
2332 if (_argc0) {
2333 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPen_p")) {
2334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
2335 return NULL;
2336 }
2337 }
2338 wxPen_SetStyle(_arg0,_arg1);
2339 Py_INCREF(Py_None);
2340 _resultobj = Py_None;
2341 return _resultobj;
2342 }
2343
2344 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2345 static PyObject *_wrap_wxPen_SetWidth(PyObject *self, PyObject *args) {
2346 PyObject * _resultobj;
2347 wxPen * _arg0;
2348 int _arg1;
2349 char * _argc0 = 0;
2350
2351 self = self;
2352 if(!PyArg_ParseTuple(args,"si:wxPen_SetWidth",&_argc0,&_arg1))
2353 return NULL;
2354 if (_argc0) {
2355 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPen_p")) {
2356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
2357 return NULL;
2358 }
2359 }
2360 wxPen_SetWidth(_arg0,_arg1);
2361 Py_INCREF(Py_None);
2362 _resultobj = Py_None;
2363 return _resultobj;
2364 }
2365
2366 static wxBrush *new_wxBrush(wxColour *colour,int style) {
2367 return wxTheBrushList->FindOrCreateBrush(*colour, style);
2368 }
2369
2370 static PyObject *_wrap_new_wxBrush(PyObject *self, PyObject *args) {
2371 PyObject * _resultobj;
2372 wxBrush * _result;
2373 wxColour * _arg0;
2374 int _arg1 = (wxSOLID);
2375 char * _argc0 = 0;
2376 char _ptemp[128];
2377
2378 self = self;
2379 if(!PyArg_ParseTuple(args,"s|i:new_wxBrush",&_argc0,&_arg1))
2380 return NULL;
2381 if (_argc0) {
2382 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxColour_p")) {
2383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBrush. Expected _wxColour_p.");
2384 return NULL;
2385 }
2386 }
2387 _result = (wxBrush *)new_wxBrush(_arg0,_arg1);
2388 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
2389 _resultobj = Py_BuildValue("s",_ptemp);
2390 return _resultobj;
2391 }
2392
2393 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
2394 static PyObject *_wrap_wxBrush_GetColour(PyObject *self, PyObject *args) {
2395 PyObject * _resultobj;
2396 wxColour * _result;
2397 wxBrush * _arg0;
2398 char * _argc0 = 0;
2399 char _ptemp[128];
2400
2401 self = self;
2402 if(!PyArg_ParseTuple(args,"s:wxBrush_GetColour",&_argc0))
2403 return NULL;
2404 if (_argc0) {
2405 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBrush_p")) {
2406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
2407 return NULL;
2408 }
2409 }
2410 wxColour & _result_ref = wxBrush_GetColour(_arg0);
2411 _result = (wxColour *) &_result_ref;
2412 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
2413 _resultobj = Py_BuildValue("s",_ptemp);
2414 return _resultobj;
2415 }
2416
2417 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
2418 static PyObject *_wrap_wxBrush_GetStipple(PyObject *self, PyObject *args) {
2419 PyObject * _resultobj;
2420 wxBitmap * _result;
2421 wxBrush * _arg0;
2422 char * _argc0 = 0;
2423 char _ptemp[128];
2424
2425 self = self;
2426 if(!PyArg_ParseTuple(args,"s:wxBrush_GetStipple",&_argc0))
2427 return NULL;
2428 if (_argc0) {
2429 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBrush_p")) {
2430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
2431 return NULL;
2432 }
2433 }
2434 _result = (wxBitmap *)wxBrush_GetStipple(_arg0);
2435 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
2436 _resultobj = Py_BuildValue("s",_ptemp);
2437 return _resultobj;
2438 }
2439
2440 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
2441 static PyObject *_wrap_wxBrush_GetStyle(PyObject *self, PyObject *args) {
2442 PyObject * _resultobj;
2443 int _result;
2444 wxBrush * _arg0;
2445 char * _argc0 = 0;
2446
2447 self = self;
2448 if(!PyArg_ParseTuple(args,"s:wxBrush_GetStyle",&_argc0))
2449 return NULL;
2450 if (_argc0) {
2451 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBrush_p")) {
2452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
2453 return NULL;
2454 }
2455 }
2456 _result = (int )wxBrush_GetStyle(_arg0);
2457 _resultobj = Py_BuildValue("i",_result);
2458 return _resultobj;
2459 }
2460
2461 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
2462 static PyObject *_wrap_wxBrush_Ok(PyObject *self, PyObject *args) {
2463 PyObject * _resultobj;
2464 bool _result;
2465 wxBrush * _arg0;
2466 char * _argc0 = 0;
2467
2468 self = self;
2469 if(!PyArg_ParseTuple(args,"s:wxBrush_Ok",&_argc0))
2470 return NULL;
2471 if (_argc0) {
2472 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBrush_p")) {
2473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
2474 return NULL;
2475 }
2476 }
2477 _result = (bool )wxBrush_Ok(_arg0);
2478 _resultobj = Py_BuildValue("i",_result);
2479 return _resultobj;
2480 }
2481
2482 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2483 static PyObject *_wrap_wxBrush_SetColour(PyObject *self, PyObject *args) {
2484 PyObject * _resultobj;
2485 wxBrush * _arg0;
2486 wxColour * _arg1;
2487 char * _argc0 = 0;
2488 char * _argc1 = 0;
2489
2490 self = self;
2491 if(!PyArg_ParseTuple(args,"ss:wxBrush_SetColour",&_argc0,&_argc1))
2492 return NULL;
2493 if (_argc0) {
2494 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBrush_p")) {
2495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
2496 return NULL;
2497 }
2498 }
2499 if (_argc1) {
2500 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
2501 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBrush_SetColour. Expected _wxColour_p.");
2502 return NULL;
2503 }
2504 }
2505 wxBrush_SetColour(_arg0,*_arg1);
2506 Py_INCREF(Py_None);
2507 _resultobj = Py_None;
2508 return _resultobj;
2509 }
2510
2511 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
2512 static PyObject *_wrap_wxBrush_SetStipple(PyObject *self, PyObject *args) {
2513 PyObject * _resultobj;
2514 wxBrush * _arg0;
2515 wxBitmap * _arg1;
2516 char * _argc0 = 0;
2517 char * _argc1 = 0;
2518
2519 self = self;
2520 if(!PyArg_ParseTuple(args,"ss:wxBrush_SetStipple",&_argc0,&_argc1))
2521 return NULL;
2522 if (_argc0) {
2523 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBrush_p")) {
2524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
2525 return NULL;
2526 }
2527 }
2528 if (_argc1) {
2529 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
2530 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
2531 return NULL;
2532 }
2533 }
2534 wxBrush_SetStipple(_arg0,*_arg1);
2535 Py_INCREF(Py_None);
2536 _resultobj = Py_None;
2537 return _resultobj;
2538 }
2539
2540 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2541 static PyObject *_wrap_wxBrush_SetStyle(PyObject *self, PyObject *args) {
2542 PyObject * _resultobj;
2543 wxBrush * _arg0;
2544 int _arg1;
2545 char * _argc0 = 0;
2546
2547 self = self;
2548 if(!PyArg_ParseTuple(args,"si:wxBrush_SetStyle",&_argc0,&_arg1))
2549 return NULL;
2550 if (_argc0) {
2551 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBrush_p")) {
2552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
2553 return NULL;
2554 }
2555 }
2556 wxBrush_SetStyle(_arg0,_arg1);
2557 Py_INCREF(Py_None);
2558 _resultobj = Py_None;
2559 return _resultobj;
2560 }
2561
2562 #define delete_wxDC(_swigobj) (delete _swigobj)
2563 static PyObject *_wrap_delete_wxDC(PyObject *self, PyObject *args) {
2564 PyObject * _resultobj;
2565 wxDC * _arg0;
2566 char * _argc0 = 0;
2567
2568 self = self;
2569 if(!PyArg_ParseTuple(args,"s:delete_wxDC",&_argc0))
2570 return NULL;
2571 if (_argc0) {
2572 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
2573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
2574 return NULL;
2575 }
2576 }
2577 delete_wxDC(_arg0);
2578 Py_INCREF(Py_None);
2579 _resultobj = Py_None;
2580 return _resultobj;
2581 }
2582
2583 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
2584 static PyObject *_wrap_wxDC_BeginDrawing(PyObject *self, PyObject *args) {
2585 PyObject * _resultobj;
2586 wxDC * _arg0;
2587 char * _argc0 = 0;
2588
2589 self = self;
2590 if(!PyArg_ParseTuple(args,"s:wxDC_BeginDrawing",&_argc0))
2591 return NULL;
2592 if (_argc0) {
2593 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
2594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
2595 return NULL;
2596 }
2597 }
2598 wxDC_BeginDrawing(_arg0);
2599 Py_INCREF(Py_None);
2600 _resultobj = Py_None;
2601 return _resultobj;
2602 }
2603
2604 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2605 static PyObject *_wrap_wxDC_Blit(PyObject *self, PyObject *args) {
2606 PyObject * _resultobj;
2607 bool _result;
2608 wxDC * _arg0;
2609 long _arg1;
2610 long _arg2;
2611 long _arg3;
2612 long _arg4;
2613 wxDC * _arg5;
2614 long _arg6;
2615 long _arg7;
2616 long _arg8;
2617 char * _argc0 = 0;
2618 char * _argc5 = 0;
2619
2620 self = self;
2621 if(!PyArg_ParseTuple(args,"sllllslll:wxDC_Blit",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_argc5,&_arg6,&_arg7,&_arg8))
2622 return NULL;
2623 if (_argc0) {
2624 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
2625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
2626 return NULL;
2627 }
2628 }
2629 if (_argc5) {
2630 if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxDC_p")) {
2631 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
2632 return NULL;
2633 }
2634 }
2635 _result = (bool )wxDC_Blit(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8);
2636 _resultobj = Py_BuildValue("i",_result);
2637 return _resultobj;
2638 }
2639
2640 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
2641 static PyObject *_wrap_wxDC_Clear(PyObject *self, PyObject *args) {
2642 PyObject * _resultobj;
2643 wxDC * _arg0;
2644 char * _argc0 = 0;
2645
2646 self = self;
2647 if(!PyArg_ParseTuple(args,"s:wxDC_Clear",&_argc0))
2648 return NULL;
2649 if (_argc0) {
2650 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
2651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
2652 return NULL;
2653 }
2654 }
2655 wxDC_Clear(_arg0);
2656 Py_INCREF(Py_None);
2657 _resultobj = Py_None;
2658 return _resultobj;
2659 }
2660
2661 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
2662 static PyObject *_wrap_wxDC_CrossHair(PyObject *self, PyObject *args) {
2663 PyObject * _resultobj;
2664 wxDC * _arg0;
2665 long _arg1;
2666 long _arg2;
2667 char * _argc0 = 0;
2668
2669 self = self;
2670 if(!PyArg_ParseTuple(args,"sll:wxDC_CrossHair",&_argc0,&_arg1,&_arg2))
2671 return NULL;
2672 if (_argc0) {
2673 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
2674 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
2675 return NULL;
2676 }
2677 }
2678 wxDC_CrossHair(_arg0,_arg1,_arg2);
2679 Py_INCREF(Py_None);
2680 _resultobj = Py_None;
2681 return _resultobj;
2682 }
2683
2684 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
2685 static PyObject *_wrap_wxDC_DestroyClippingRegion(PyObject *self, PyObject *args) {
2686 PyObject * _resultobj;
2687 wxDC * _arg0;
2688 char * _argc0 = 0;
2689
2690 self = self;
2691 if(!PyArg_ParseTuple(args,"s:wxDC_DestroyClippingRegion",&_argc0))
2692 return NULL;
2693 if (_argc0) {
2694 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
2695 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
2696 return NULL;
2697 }
2698 }
2699 wxDC_DestroyClippingRegion(_arg0);
2700 Py_INCREF(Py_None);
2701 _resultobj = Py_None;
2702 return _resultobj;
2703 }
2704
2705 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
2706 static PyObject *_wrap_wxDC_DeviceToLogicalX(PyObject *self, PyObject *args) {
2707 PyObject * _resultobj;
2708 long _result;
2709 wxDC * _arg0;
2710 long _arg1;
2711 char * _argc0 = 0;
2712
2713 self = self;
2714 if(!PyArg_ParseTuple(args,"sl:wxDC_DeviceToLogicalX",&_argc0,&_arg1))
2715 return NULL;
2716 if (_argc0) {
2717 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
2718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
2719 return NULL;
2720 }
2721 }
2722 _result = (long )wxDC_DeviceToLogicalX(_arg0,_arg1);
2723 _resultobj = Py_BuildValue("l",_result);
2724 return _resultobj;
2725 }
2726
2727 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
2728 static PyObject *_wrap_wxDC_DeviceToLogicalXRel(PyObject *self, PyObject *args) {
2729 PyObject * _resultobj;
2730 long _result;
2731 wxDC * _arg0;
2732 long _arg1;
2733 char * _argc0 = 0;
2734
2735 self = self;
2736 if(!PyArg_ParseTuple(args,"sl:wxDC_DeviceToLogicalXRel",&_argc0,&_arg1))
2737 return NULL;
2738 if (_argc0) {
2739 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
2740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
2741 return NULL;
2742 }
2743 }
2744 _result = (long )wxDC_DeviceToLogicalXRel(_arg0,_arg1);
2745 _resultobj = Py_BuildValue("l",_result);
2746 return _resultobj;
2747 }
2748
2749 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
2750 static PyObject *_wrap_wxDC_DeviceToLogicalY(PyObject *self, PyObject *args) {
2751 PyObject * _resultobj;
2752 long _result;
2753 wxDC * _arg0;
2754 long _arg1;
2755 char * _argc0 = 0;
2756
2757 self = self;
2758 if(!PyArg_ParseTuple(args,"sl:wxDC_DeviceToLogicalY",&_argc0,&_arg1))
2759 return NULL;
2760 if (_argc0) {
2761 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
2762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
2763 return NULL;
2764 }
2765 }
2766 _result = (long )wxDC_DeviceToLogicalY(_arg0,_arg1);
2767 _resultobj = Py_BuildValue("l",_result);
2768 return _resultobj;
2769 }
2770
2771 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
2772 static PyObject *_wrap_wxDC_DeviceToLogicalYRel(PyObject *self, PyObject *args) {
2773 PyObject * _resultobj;
2774 long _result;
2775 wxDC * _arg0;
2776 long _arg1;
2777 char * _argc0 = 0;
2778
2779 self = self;
2780 if(!PyArg_ParseTuple(args,"sl:wxDC_DeviceToLogicalYRel",&_argc0,&_arg1))
2781 return NULL;
2782 if (_argc0) {
2783 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
2784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
2785 return NULL;
2786 }
2787 }
2788 _result = (long )wxDC_DeviceToLogicalYRel(_arg0,_arg1);
2789 _resultobj = Py_BuildValue("l",_result);
2790 return _resultobj;
2791 }
2792
2793 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2794 static PyObject *_wrap_wxDC_DrawArc(PyObject *self, PyObject *args) {
2795 PyObject * _resultobj;
2796 wxDC * _arg0;
2797 long _arg1;
2798 long _arg2;
2799 long _arg3;
2800 long _arg4;
2801 long _arg5;
2802 long _arg6;
2803 char * _argc0 = 0;
2804
2805 self = self;
2806 if(!PyArg_ParseTuple(args,"sllllll:wxDC_DrawArc",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
2807 return NULL;
2808 if (_argc0) {
2809 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
2810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
2811 return NULL;
2812 }
2813 }
2814 wxDC_DrawArc(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2815 Py_INCREF(Py_None);
2816 _resultobj = Py_None;
2817 return _resultobj;
2818 }
2819
2820 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2821 static PyObject *_wrap_wxDC_DrawEllipse(PyObject *self, PyObject *args) {
2822 PyObject * _resultobj;
2823 wxDC * _arg0;
2824 long _arg1;
2825 long _arg2;
2826 long _arg3;
2827 long _arg4;
2828 char * _argc0 = 0;
2829
2830 self = self;
2831 if(!PyArg_ParseTuple(args,"sllll:wxDC_DrawEllipse",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4))
2832 return NULL;
2833 if (_argc0) {
2834 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
2835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
2836 return NULL;
2837 }
2838 }
2839 wxDC_DrawEllipse(_arg0,_arg1,_arg2,_arg3,_arg4);
2840 Py_INCREF(Py_None);
2841 _resultobj = Py_None;
2842 return _resultobj;
2843 }
2844
2845 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2846 static PyObject *_wrap_wxDC_DrawEllipticArc(PyObject *self, PyObject *args) {
2847 PyObject * _resultobj;
2848 wxDC * _arg0;
2849 long _arg1;
2850 long _arg2;
2851 long _arg3;
2852 long _arg4;
2853 long _arg5;
2854 long _arg6;
2855 char * _argc0 = 0;
2856
2857 self = self;
2858 if(!PyArg_ParseTuple(args,"sllllll:wxDC_DrawEllipticArc",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6))
2859 return NULL;
2860 if (_argc0) {
2861 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
2862 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
2863 return NULL;
2864 }
2865 }
2866 wxDC_DrawEllipticArc(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2867 Py_INCREF(Py_None);
2868 _resultobj = Py_None;
2869 return _resultobj;
2870 }
2871
2872 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
2873 static PyObject *_wrap_wxDC_DrawIcon(PyObject *self, PyObject *args) {
2874 PyObject * _resultobj;
2875 wxDC * _arg0;
2876 wxIcon * _arg1;
2877 long _arg2;
2878 long _arg3;
2879 char * _argc0 = 0;
2880 char * _argc1 = 0;
2881
2882 self = self;
2883 if(!PyArg_ParseTuple(args,"ssll:wxDC_DrawIcon",&_argc0,&_argc1,&_arg2,&_arg3))
2884 return NULL;
2885 if (_argc0) {
2886 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
2887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
2888 return NULL;
2889 }
2890 }
2891 if (_argc1) {
2892 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxIcon_p")) {
2893 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
2894 return NULL;
2895 }
2896 }
2897 wxDC_DrawIcon(_arg0,*_arg1,_arg2,_arg3);
2898 Py_INCREF(Py_None);
2899 _resultobj = Py_None;
2900 return _resultobj;
2901 }
2902
2903 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2904 static PyObject *_wrap_wxDC_DrawLine(PyObject *self, PyObject *args) {
2905 PyObject * _resultobj;
2906 wxDC * _arg0;
2907 long _arg1;
2908 long _arg2;
2909 long _arg3;
2910 long _arg4;
2911 char * _argc0 = 0;
2912
2913 self = self;
2914 if(!PyArg_ParseTuple(args,"sllll:wxDC_DrawLine",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4))
2915 return NULL;
2916 if (_argc0) {
2917 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
2918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
2919 return NULL;
2920 }
2921 }
2922 wxDC_DrawLine(_arg0,_arg1,_arg2,_arg3,_arg4);
2923 Py_INCREF(Py_None);
2924 _resultobj = Py_None;
2925 return _resultobj;
2926 }
2927
2928 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2929 static PyObject *_wrap_wxDC_DrawLines(PyObject *self, PyObject *args) {
2930 PyObject * _resultobj;
2931 wxDC * _arg0;
2932 int _arg1;
2933 wxPoint * _arg2;
2934 long _arg3 = 0;
2935 long _arg4 = 0;
2936 char * _argc0 = 0;
2937 PyObject * _obj2 = 0;
2938
2939 self = self;
2940 if(!PyArg_ParseTuple(args,"sO|ll:wxDC_DrawLines",&_argc0,&_obj2,&_arg3,&_arg4))
2941 return NULL;
2942 if (_argc0) {
2943 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
2944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
2945 return NULL;
2946 }
2947 }
2948 if (_obj2)
2949 {
2950 _arg2 = wxPoint_LIST_helper(_obj2);
2951 if (_arg2 == NULL) {
2952 return NULL;
2953 }
2954 }
2955 {
2956 _arg1 = PyList_Size(_obj2);
2957 }
2958 wxDC_DrawLines(_arg0,_arg1,_arg2,_arg3,_arg4);
2959 Py_INCREF(Py_None);
2960 _resultobj = Py_None;
2961 {
2962 delete [] _arg2;
2963 }
2964 return _resultobj;
2965 }
2966
2967 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2968 static PyObject *_wrap_wxDC_DrawPolygon(PyObject *self, PyObject *args) {
2969 PyObject * _resultobj;
2970 wxDC * _arg0;
2971 int _arg1;
2972 wxPoint * _arg2;
2973 long _arg3 = 0;
2974 long _arg4 = 0;
2975 int _arg5 = (wxODDEVEN_RULE);
2976 char * _argc0 = 0;
2977 PyObject * _obj2 = 0;
2978
2979 self = self;
2980 if(!PyArg_ParseTuple(args,"sO|lli:wxDC_DrawPolygon",&_argc0,&_obj2,&_arg3,&_arg4,&_arg5))
2981 return NULL;
2982 if (_argc0) {
2983 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
2984 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
2985 return NULL;
2986 }
2987 }
2988 if (_obj2)
2989 {
2990 _arg2 = wxPoint_LIST_helper(_obj2);
2991 if (_arg2 == NULL) {
2992 return NULL;
2993 }
2994 }
2995 {
2996 _arg1 = PyList_Size(_obj2);
2997 }
2998 wxDC_DrawPolygon(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2999 Py_INCREF(Py_None);
3000 _resultobj = Py_None;
3001 {
3002 delete [] _arg2;
3003 }
3004 return _resultobj;
3005 }
3006
3007 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
3008 static PyObject *_wrap_wxDC_DrawPoint(PyObject *self, PyObject *args) {
3009 PyObject * _resultobj;
3010 wxDC * _arg0;
3011 long _arg1;
3012 long _arg2;
3013 char * _argc0 = 0;
3014
3015 self = self;
3016 if(!PyArg_ParseTuple(args,"sll:wxDC_DrawPoint",&_argc0,&_arg1,&_arg2))
3017 return NULL;
3018 if (_argc0) {
3019 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
3021 return NULL;
3022 }
3023 }
3024 wxDC_DrawPoint(_arg0,_arg1,_arg2);
3025 Py_INCREF(Py_None);
3026 _resultobj = Py_None;
3027 return _resultobj;
3028 }
3029
3030 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3031 static PyObject *_wrap_wxDC_DrawRectangle(PyObject *self, PyObject *args) {
3032 PyObject * _resultobj;
3033 wxDC * _arg0;
3034 long _arg1;
3035 long _arg2;
3036 long _arg3;
3037 long _arg4;
3038 char * _argc0 = 0;
3039
3040 self = self;
3041 if(!PyArg_ParseTuple(args,"sllll:wxDC_DrawRectangle",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4))
3042 return NULL;
3043 if (_argc0) {
3044 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3045 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
3046 return NULL;
3047 }
3048 }
3049 wxDC_DrawRectangle(_arg0,_arg1,_arg2,_arg3,_arg4);
3050 Py_INCREF(Py_None);
3051 _resultobj = Py_None;
3052 return _resultobj;
3053 }
3054
3055 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3056 static PyObject *_wrap_wxDC_DrawRoundedRectangle(PyObject *self, PyObject *args) {
3057 PyObject * _resultobj;
3058 wxDC * _arg0;
3059 long _arg1;
3060 long _arg2;
3061 long _arg3;
3062 long _arg4;
3063 long _arg5 = 20;
3064 char * _argc0 = 0;
3065
3066 self = self;
3067 if(!PyArg_ParseTuple(args,"sllll|l:wxDC_DrawRoundedRectangle",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
3068 return NULL;
3069 if (_argc0) {
3070 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3071 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
3072 return NULL;
3073 }
3074 }
3075 wxDC_DrawRoundedRectangle(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3076 Py_INCREF(Py_None);
3077 _resultobj = Py_None;
3078 return _resultobj;
3079 }
3080
3081 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
3082 static PyObject *_wrap_wxDC_DrawSpline(PyObject *self, PyObject *args) {
3083 PyObject * _resultobj;
3084 wxDC * _arg0;
3085 int _arg1;
3086 wxPoint * _arg2;
3087 char * _argc0 = 0;
3088 PyObject * _obj2 = 0;
3089
3090 self = self;
3091 if(!PyArg_ParseTuple(args,"sO:wxDC_DrawSpline",&_argc0,&_obj2))
3092 return NULL;
3093 if (_argc0) {
3094 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
3096 return NULL;
3097 }
3098 }
3099 if (_obj2)
3100 {
3101 _arg2 = wxPoint_LIST_helper(_obj2);
3102 if (_arg2 == NULL) {
3103 return NULL;
3104 }
3105 }
3106 {
3107 _arg1 = PyList_Size(_obj2);
3108 }
3109 wxDC_DrawSpline(_arg0,_arg1,_arg2);
3110 Py_INCREF(Py_None);
3111 _resultobj = Py_None;
3112 {
3113 delete [] _arg2;
3114 }
3115 return _resultobj;
3116 }
3117
3118 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
3119 static PyObject *_wrap_wxDC_DrawText(PyObject *self, PyObject *args) {
3120 PyObject * _resultobj;
3121 wxDC * _arg0;
3122 wxString * _arg1;
3123 long _arg2;
3124 long _arg3;
3125 char * _argc0 = 0;
3126 PyObject * _obj1 = 0;
3127
3128 self = self;
3129 if(!PyArg_ParseTuple(args,"sOll:wxDC_DrawText",&_argc0,&_obj1,&_arg2,&_arg3))
3130 return NULL;
3131 if (_argc0) {
3132 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
3134 return NULL;
3135 }
3136 }
3137 {
3138 if (!PyString_Check(_obj1)) {
3139 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3140 return NULL;
3141 }
3142 _arg1 = new wxString(PyString_AsString(_obj1));
3143 }
3144 wxDC_DrawText(_arg0,*_arg1,_arg2,_arg3);
3145 Py_INCREF(Py_None);
3146 _resultobj = Py_None;
3147 {
3148 if (_obj1)
3149 delete _arg1;
3150 }
3151 return _resultobj;
3152 }
3153
3154 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
3155 static PyObject *_wrap_wxDC_EndDoc(PyObject *self, PyObject *args) {
3156 PyObject * _resultobj;
3157 wxDC * _arg0;
3158 char * _argc0 = 0;
3159
3160 self = self;
3161 if(!PyArg_ParseTuple(args,"s:wxDC_EndDoc",&_argc0))
3162 return NULL;
3163 if (_argc0) {
3164 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
3166 return NULL;
3167 }
3168 }
3169 wxDC_EndDoc(_arg0);
3170 Py_INCREF(Py_None);
3171 _resultobj = Py_None;
3172 return _resultobj;
3173 }
3174
3175 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
3176 static PyObject *_wrap_wxDC_EndDrawing(PyObject *self, PyObject *args) {
3177 PyObject * _resultobj;
3178 wxDC * _arg0;
3179 char * _argc0 = 0;
3180
3181 self = self;
3182 if(!PyArg_ParseTuple(args,"s:wxDC_EndDrawing",&_argc0))
3183 return NULL;
3184 if (_argc0) {
3185 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3186 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
3187 return NULL;
3188 }
3189 }
3190 wxDC_EndDrawing(_arg0);
3191 Py_INCREF(Py_None);
3192 _resultobj = Py_None;
3193 return _resultobj;
3194 }
3195
3196 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
3197 static PyObject *_wrap_wxDC_EndPage(PyObject *self, PyObject *args) {
3198 PyObject * _resultobj;
3199 wxDC * _arg0;
3200 char * _argc0 = 0;
3201
3202 self = self;
3203 if(!PyArg_ParseTuple(args,"s:wxDC_EndPage",&_argc0))
3204 return NULL;
3205 if (_argc0) {
3206 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
3208 return NULL;
3209 }
3210 }
3211 wxDC_EndPage(_arg0);
3212 Py_INCREF(Py_None);
3213 _resultobj = Py_None;
3214 return _resultobj;
3215 }
3216
3217 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3218 static PyObject *_wrap_wxDC_FloodFill(PyObject *self, PyObject *args) {
3219 PyObject * _resultobj;
3220 wxDC * _arg0;
3221 long _arg1;
3222 long _arg2;
3223 wxColour * _arg3;
3224 int _arg4 = (wxFLOOD_SURFACE);
3225 char * _argc0 = 0;
3226 char * _argc3 = 0;
3227
3228 self = self;
3229 if(!PyArg_ParseTuple(args,"slls|i:wxDC_FloodFill",&_argc0,&_arg1,&_arg2,&_argc3,&_arg4))
3230 return NULL;
3231 if (_argc0) {
3232 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
3234 return NULL;
3235 }
3236 }
3237 if (_argc3) {
3238 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxColour_p")) {
3239 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxDC_FloodFill. Expected _wxColour_p.");
3240 return NULL;
3241 }
3242 }
3243 wxDC_FloodFill(_arg0,_arg1,_arg2,*_arg3,_arg4);
3244 Py_INCREF(Py_None);
3245 _resultobj = Py_None;
3246 return _resultobj;
3247 }
3248
3249 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
3250 static PyObject *_wrap_wxDC_GetBackground(PyObject *self, PyObject *args) {
3251 PyObject * _resultobj;
3252 wxBrush * _result;
3253 wxDC * _arg0;
3254 char * _argc0 = 0;
3255 char _ptemp[128];
3256
3257 self = self;
3258 if(!PyArg_ParseTuple(args,"s:wxDC_GetBackground",&_argc0))
3259 return NULL;
3260 if (_argc0) {
3261 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
3263 return NULL;
3264 }
3265 }
3266 wxBrush & _result_ref = wxDC_GetBackground(_arg0);
3267 _result = (wxBrush *) &_result_ref;
3268 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
3269 _resultobj = Py_BuildValue("s",_ptemp);
3270 return _resultobj;
3271 }
3272
3273 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
3274 static PyObject *_wrap_wxDC_GetBrush(PyObject *self, PyObject *args) {
3275 PyObject * _resultobj;
3276 wxBrush * _result;
3277 wxDC * _arg0;
3278 char * _argc0 = 0;
3279 char _ptemp[128];
3280
3281 self = self;
3282 if(!PyArg_ParseTuple(args,"s:wxDC_GetBrush",&_argc0))
3283 return NULL;
3284 if (_argc0) {
3285 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
3287 return NULL;
3288 }
3289 }
3290 wxBrush & _result_ref = wxDC_GetBrush(_arg0);
3291 _result = (wxBrush *) &_result_ref;
3292 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
3293 _resultobj = Py_BuildValue("s",_ptemp);
3294 return _resultobj;
3295 }
3296
3297 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
3298 static PyObject *_wrap_wxDC_GetCharHeight(PyObject *self, PyObject *args) {
3299 PyObject * _resultobj;
3300 long _result;
3301 wxDC * _arg0;
3302 char * _argc0 = 0;
3303
3304 self = self;
3305 if(!PyArg_ParseTuple(args,"s:wxDC_GetCharHeight",&_argc0))
3306 return NULL;
3307 if (_argc0) {
3308 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3309 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
3310 return NULL;
3311 }
3312 }
3313 _result = (long )wxDC_GetCharHeight(_arg0);
3314 _resultobj = Py_BuildValue("l",_result);
3315 return _resultobj;
3316 }
3317
3318 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
3319 static PyObject *_wrap_wxDC_GetCharWidth(PyObject *self, PyObject *args) {
3320 PyObject * _resultobj;
3321 long _result;
3322 wxDC * _arg0;
3323 char * _argc0 = 0;
3324
3325 self = self;
3326 if(!PyArg_ParseTuple(args,"s:wxDC_GetCharWidth",&_argc0))
3327 return NULL;
3328 if (_argc0) {
3329 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
3331 return NULL;
3332 }
3333 }
3334 _result = (long )wxDC_GetCharWidth(_arg0);
3335 _resultobj = Py_BuildValue("l",_result);
3336 return _resultobj;
3337 }
3338
3339 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3340 static PyObject *_wrap_wxDC_GetClippingBox(PyObject *self, PyObject *args) {
3341 PyObject * _resultobj;
3342 wxDC * _arg0;
3343 long * _arg1;
3344 long temp;
3345 long * _arg2;
3346 long temp0;
3347 long * _arg3;
3348 long temp1;
3349 long * _arg4;
3350 long temp2;
3351 char * _argc0 = 0;
3352
3353 self = self;
3354 {
3355 _arg1 = &temp;
3356 }
3357 {
3358 _arg2 = &temp0;
3359 }
3360 {
3361 _arg3 = &temp1;
3362 }
3363 {
3364 _arg4 = &temp2;
3365 }
3366 if(!PyArg_ParseTuple(args,"s:wxDC_GetClippingBox",&_argc0))
3367 return NULL;
3368 if (_argc0) {
3369 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
3371 return NULL;
3372 }
3373 }
3374 wxDC_GetClippingBox(_arg0,_arg1,_arg2,_arg3,_arg4);
3375 Py_INCREF(Py_None);
3376 _resultobj = Py_None;
3377 {
3378 PyObject *o;
3379 o = PyInt_FromLong((long) (*_arg1));
3380 _resultobj = t_output_helper(_resultobj, o);
3381 }
3382 {
3383 PyObject *o;
3384 o = PyInt_FromLong((long) (*_arg2));
3385 _resultobj = t_output_helper(_resultobj, o);
3386 }
3387 {
3388 PyObject *o;
3389 o = PyInt_FromLong((long) (*_arg3));
3390 _resultobj = t_output_helper(_resultobj, o);
3391 }
3392 {
3393 PyObject *o;
3394 o = PyInt_FromLong((long) (*_arg4));
3395 _resultobj = t_output_helper(_resultobj, o);
3396 }
3397 return _resultobj;
3398 }
3399
3400 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
3401 static PyObject *_wrap_wxDC_GetFont(PyObject *self, PyObject *args) {
3402 PyObject * _resultobj;
3403 wxFont * _result;
3404 wxDC * _arg0;
3405 char * _argc0 = 0;
3406 char _ptemp[128];
3407
3408 self = self;
3409 if(!PyArg_ParseTuple(args,"s:wxDC_GetFont",&_argc0))
3410 return NULL;
3411 if (_argc0) {
3412 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
3414 return NULL;
3415 }
3416 }
3417 wxFont & _result_ref = wxDC_GetFont(_arg0);
3418 _result = (wxFont *) &_result_ref;
3419 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
3420 _resultobj = Py_BuildValue("s",_ptemp);
3421 return _resultobj;
3422 }
3423
3424 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
3425 static PyObject *_wrap_wxDC_GetLogicalFunction(PyObject *self, PyObject *args) {
3426 PyObject * _resultobj;
3427 int _result;
3428 wxDC * _arg0;
3429 char * _argc0 = 0;
3430
3431 self = self;
3432 if(!PyArg_ParseTuple(args,"s:wxDC_GetLogicalFunction",&_argc0))
3433 return NULL;
3434 if (_argc0) {
3435 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
3437 return NULL;
3438 }
3439 }
3440 _result = (int )wxDC_GetLogicalFunction(_arg0);
3441 _resultobj = Py_BuildValue("i",_result);
3442 return _resultobj;
3443 }
3444
3445 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
3446 static PyObject *_wrap_wxDC_GetMapMode(PyObject *self, PyObject *args) {
3447 PyObject * _resultobj;
3448 int _result;
3449 wxDC * _arg0;
3450 char * _argc0 = 0;
3451
3452 self = self;
3453 if(!PyArg_ParseTuple(args,"s:wxDC_GetMapMode",&_argc0))
3454 return NULL;
3455 if (_argc0) {
3456 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
3458 return NULL;
3459 }
3460 }
3461 _result = (int )wxDC_GetMapMode(_arg0);
3462 _resultobj = Py_BuildValue("i",_result);
3463 return _resultobj;
3464 }
3465
3466 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
3467 static PyObject *_wrap_wxDC_GetOptimization(PyObject *self, PyObject *args) {
3468 PyObject * _resultobj;
3469 bool _result;
3470 wxDC * _arg0;
3471 char * _argc0 = 0;
3472
3473 self = self;
3474 if(!PyArg_ParseTuple(args,"s:wxDC_GetOptimization",&_argc0))
3475 return NULL;
3476 if (_argc0) {
3477 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
3479 return NULL;
3480 }
3481 }
3482 _result = (bool )wxDC_GetOptimization(_arg0);
3483 _resultobj = Py_BuildValue("i",_result);
3484 return _resultobj;
3485 }
3486
3487 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
3488 static PyObject *_wrap_wxDC_GetPen(PyObject *self, PyObject *args) {
3489 PyObject * _resultobj;
3490 wxPen * _result;
3491 wxDC * _arg0;
3492 char * _argc0 = 0;
3493 char _ptemp[128];
3494
3495 self = self;
3496 if(!PyArg_ParseTuple(args,"s:wxDC_GetPen",&_argc0))
3497 return NULL;
3498 if (_argc0) {
3499 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
3501 return NULL;
3502 }
3503 }
3504 wxPen & _result_ref = wxDC_GetPen(_arg0);
3505 _result = (wxPen *) &_result_ref;
3506 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
3507 _resultobj = Py_BuildValue("s",_ptemp);
3508 return _resultobj;
3509 }
3510
3511 static wxColour * wxDC_GetPixel(wxDC *self,long x,long y) {
3512 wxColour* wc = new wxColour();
3513 self->GetPixel(x, y, wc);
3514 return wc;
3515 }
3516 static PyObject *_wrap_wxDC_GetPixel(PyObject *self, PyObject *args) {
3517 PyObject * _resultobj;
3518 wxColour * _result;
3519 wxDC * _arg0;
3520 long _arg1;
3521 long _arg2;
3522 char * _argc0 = 0;
3523 char _ptemp[128];
3524
3525 self = self;
3526 if(!PyArg_ParseTuple(args,"sll:wxDC_GetPixel",&_argc0,&_arg1,&_arg2))
3527 return NULL;
3528 if (_argc0) {
3529 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
3531 return NULL;
3532 }
3533 }
3534 _result = (wxColour *)wxDC_GetPixel(_arg0,_arg1,_arg2);
3535 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3536 _resultobj = Py_BuildValue("s",_ptemp);
3537 return _resultobj;
3538 }
3539
3540 #define wxDC_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
3541 static PyObject *_wrap_wxDC_GetSize(PyObject *self, PyObject *args) {
3542 PyObject * _resultobj;
3543 wxDC * _arg0;
3544 int * _arg1;
3545 int temp;
3546 int * _arg2;
3547 int temp0;
3548 char * _argc0 = 0;
3549
3550 self = self;
3551 {
3552 _arg1 = &temp;
3553 }
3554 {
3555 _arg2 = &temp0;
3556 }
3557 if(!PyArg_ParseTuple(args,"s:wxDC_GetSize",&_argc0))
3558 return NULL;
3559 if (_argc0) {
3560 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
3562 return NULL;
3563 }
3564 }
3565 wxDC_GetSize(_arg0,_arg1,_arg2);
3566 Py_INCREF(Py_None);
3567 _resultobj = Py_None;
3568 {
3569 PyObject *o;
3570 o = PyInt_FromLong((long) (*_arg1));
3571 _resultobj = t_output_helper(_resultobj, o);
3572 }
3573 {
3574 PyObject *o;
3575 o = PyInt_FromLong((long) (*_arg2));
3576 _resultobj = t_output_helper(_resultobj, o);
3577 }
3578 return _resultobj;
3579 }
3580
3581 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
3582 static PyObject *_wrap_wxDC_GetTextBackground(PyObject *self, PyObject *args) {
3583 PyObject * _resultobj;
3584 wxColour * _result;
3585 wxDC * _arg0;
3586 char * _argc0 = 0;
3587 char _ptemp[128];
3588
3589 self = self;
3590 if(!PyArg_ParseTuple(args,"s:wxDC_GetTextBackground",&_argc0))
3591 return NULL;
3592 if (_argc0) {
3593 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
3595 return NULL;
3596 }
3597 }
3598 wxColour & _result_ref = wxDC_GetTextBackground(_arg0);
3599 _result = (wxColour *) &_result_ref;
3600 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3601 _resultobj = Py_BuildValue("s",_ptemp);
3602 return _resultobj;
3603 }
3604
3605 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
3606 static PyObject *_wrap_wxDC_GetTextExtent(PyObject *self, PyObject *args) {
3607 PyObject * _resultobj;
3608 wxDC * _arg0;
3609 wxString * _arg1;
3610 long * _arg2;
3611 long temp;
3612 long * _arg3;
3613 long temp0;
3614 char * _argc0 = 0;
3615 PyObject * _obj1 = 0;
3616
3617 self = self;
3618 {
3619 _arg2 = &temp;
3620 }
3621 {
3622 _arg3 = &temp0;
3623 }
3624 if(!PyArg_ParseTuple(args,"sO:wxDC_GetTextExtent",&_argc0,&_obj1))
3625 return NULL;
3626 if (_argc0) {
3627 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
3629 return NULL;
3630 }
3631 }
3632 {
3633 if (!PyString_Check(_obj1)) {
3634 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3635 return NULL;
3636 }
3637 _arg1 = new wxString(PyString_AsString(_obj1));
3638 }
3639 wxDC_GetTextExtent(_arg0,*_arg1,_arg2,_arg3);
3640 Py_INCREF(Py_None);
3641 _resultobj = Py_None;
3642 {
3643 PyObject *o;
3644 o = PyInt_FromLong((long) (*_arg2));
3645 _resultobj = t_output_helper(_resultobj, o);
3646 }
3647 {
3648 PyObject *o;
3649 o = PyInt_FromLong((long) (*_arg3));
3650 _resultobj = t_output_helper(_resultobj, o);
3651 }
3652 {
3653 if (_obj1)
3654 delete _arg1;
3655 }
3656 return _resultobj;
3657 }
3658
3659 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3660 static PyObject *_wrap_wxDC_GetFullTextExtent(PyObject *self, PyObject *args) {
3661 PyObject * _resultobj;
3662 wxDC * _arg0;
3663 wxString * _arg1;
3664 long * _arg2;
3665 long temp;
3666 long * _arg3;
3667 long temp0;
3668 long * _arg4;
3669 long temp1;
3670 long * _arg5;
3671 long temp2;
3672 wxFont * _arg6 = NULL;
3673 char * _argc0 = 0;
3674 PyObject * _obj1 = 0;
3675 char * _argc6 = 0;
3676
3677 self = self;
3678 {
3679 _arg2 = &temp;
3680 }
3681 {
3682 _arg3 = &temp0;
3683 }
3684 {
3685 _arg4 = &temp1;
3686 }
3687 {
3688 _arg5 = &temp2;
3689 }
3690 if(!PyArg_ParseTuple(args,"sO|s:wxDC_GetFullTextExtent",&_argc0,&_obj1,&_argc6))
3691 return NULL;
3692 if (_argc0) {
3693 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
3695 return NULL;
3696 }
3697 }
3698 {
3699 if (!PyString_Check(_obj1)) {
3700 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3701 return NULL;
3702 }
3703 _arg1 = new wxString(PyString_AsString(_obj1));
3704 }
3705 if (_argc6) {
3706 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxFont_p")) {
3707 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
3708 return NULL;
3709 }
3710 }
3711 wxDC_GetFullTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3712 Py_INCREF(Py_None);
3713 _resultobj = Py_None;
3714 {
3715 PyObject *o;
3716 o = PyInt_FromLong((long) (*_arg2));
3717 _resultobj = t_output_helper(_resultobj, o);
3718 }
3719 {
3720 PyObject *o;
3721 o = PyInt_FromLong((long) (*_arg3));
3722 _resultobj = t_output_helper(_resultobj, o);
3723 }
3724 {
3725 PyObject *o;
3726 o = PyInt_FromLong((long) (*_arg4));
3727 _resultobj = t_output_helper(_resultobj, o);
3728 }
3729 {
3730 PyObject *o;
3731 o = PyInt_FromLong((long) (*_arg5));
3732 _resultobj = t_output_helper(_resultobj, o);
3733 }
3734 {
3735 if (_obj1)
3736 delete _arg1;
3737 }
3738 return _resultobj;
3739 }
3740
3741 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
3742 static PyObject *_wrap_wxDC_GetTextForeground(PyObject *self, PyObject *args) {
3743 PyObject * _resultobj;
3744 wxColour * _result;
3745 wxDC * _arg0;
3746 char * _argc0 = 0;
3747 char _ptemp[128];
3748
3749 self = self;
3750 if(!PyArg_ParseTuple(args,"s:wxDC_GetTextForeground",&_argc0))
3751 return NULL;
3752 if (_argc0) {
3753 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
3755 return NULL;
3756 }
3757 }
3758 wxColour & _result_ref = wxDC_GetTextForeground(_arg0);
3759 _result = (wxColour *) &_result_ref;
3760 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
3761 _resultobj = Py_BuildValue("s",_ptemp);
3762 return _resultobj;
3763 }
3764
3765 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
3766 static PyObject *_wrap_wxDC_LogicalToDeviceX(PyObject *self, PyObject *args) {
3767 PyObject * _resultobj;
3768 long _result;
3769 wxDC * _arg0;
3770 long _arg1;
3771 char * _argc0 = 0;
3772
3773 self = self;
3774 if(!PyArg_ParseTuple(args,"sl:wxDC_LogicalToDeviceX",&_argc0,&_arg1))
3775 return NULL;
3776 if (_argc0) {
3777 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3778 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
3779 return NULL;
3780 }
3781 }
3782 _result = (long )wxDC_LogicalToDeviceX(_arg0,_arg1);
3783 _resultobj = Py_BuildValue("l",_result);
3784 return _resultobj;
3785 }
3786
3787 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
3788 static PyObject *_wrap_wxDC_LogicalToDeviceXRel(PyObject *self, PyObject *args) {
3789 PyObject * _resultobj;
3790 long _result;
3791 wxDC * _arg0;
3792 long _arg1;
3793 char * _argc0 = 0;
3794
3795 self = self;
3796 if(!PyArg_ParseTuple(args,"sl:wxDC_LogicalToDeviceXRel",&_argc0,&_arg1))
3797 return NULL;
3798 if (_argc0) {
3799 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
3801 return NULL;
3802 }
3803 }
3804 _result = (long )wxDC_LogicalToDeviceXRel(_arg0,_arg1);
3805 _resultobj = Py_BuildValue("l",_result);
3806 return _resultobj;
3807 }
3808
3809 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
3810 static PyObject *_wrap_wxDC_LogicalToDeviceY(PyObject *self, PyObject *args) {
3811 PyObject * _resultobj;
3812 long _result;
3813 wxDC * _arg0;
3814 long _arg1;
3815 char * _argc0 = 0;
3816
3817 self = self;
3818 if(!PyArg_ParseTuple(args,"sl:wxDC_LogicalToDeviceY",&_argc0,&_arg1))
3819 return NULL;
3820 if (_argc0) {
3821 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3822 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
3823 return NULL;
3824 }
3825 }
3826 _result = (long )wxDC_LogicalToDeviceY(_arg0,_arg1);
3827 _resultobj = Py_BuildValue("l",_result);
3828 return _resultobj;
3829 }
3830
3831 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
3832 static PyObject *_wrap_wxDC_LogicalToDeviceYRel(PyObject *self, PyObject *args) {
3833 PyObject * _resultobj;
3834 long _result;
3835 wxDC * _arg0;
3836 long _arg1;
3837 char * _argc0 = 0;
3838
3839 self = self;
3840 if(!PyArg_ParseTuple(args,"sl:wxDC_LogicalToDeviceYRel",&_argc0,&_arg1))
3841 return NULL;
3842 if (_argc0) {
3843 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
3845 return NULL;
3846 }
3847 }
3848 _result = (long )wxDC_LogicalToDeviceYRel(_arg0,_arg1);
3849 _resultobj = Py_BuildValue("l",_result);
3850 return _resultobj;
3851 }
3852
3853 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
3854 static PyObject *_wrap_wxDC_MaxX(PyObject *self, PyObject *args) {
3855 PyObject * _resultobj;
3856 long _result;
3857 wxDC * _arg0;
3858 char * _argc0 = 0;
3859
3860 self = self;
3861 if(!PyArg_ParseTuple(args,"s:wxDC_MaxX",&_argc0))
3862 return NULL;
3863 if (_argc0) {
3864 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
3866 return NULL;
3867 }
3868 }
3869 _result = (long )wxDC_MaxX(_arg0);
3870 _resultobj = Py_BuildValue("l",_result);
3871 return _resultobj;
3872 }
3873
3874 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
3875 static PyObject *_wrap_wxDC_MaxY(PyObject *self, PyObject *args) {
3876 PyObject * _resultobj;
3877 long _result;
3878 wxDC * _arg0;
3879 char * _argc0 = 0;
3880
3881 self = self;
3882 if(!PyArg_ParseTuple(args,"s:wxDC_MaxY",&_argc0))
3883 return NULL;
3884 if (_argc0) {
3885 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
3887 return NULL;
3888 }
3889 }
3890 _result = (long )wxDC_MaxY(_arg0);
3891 _resultobj = Py_BuildValue("l",_result);
3892 return _resultobj;
3893 }
3894
3895 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
3896 static PyObject *_wrap_wxDC_MinX(PyObject *self, PyObject *args) {
3897 PyObject * _resultobj;
3898 long _result;
3899 wxDC * _arg0;
3900 char * _argc0 = 0;
3901
3902 self = self;
3903 if(!PyArg_ParseTuple(args,"s:wxDC_MinX",&_argc0))
3904 return NULL;
3905 if (_argc0) {
3906 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
3908 return NULL;
3909 }
3910 }
3911 _result = (long )wxDC_MinX(_arg0);
3912 _resultobj = Py_BuildValue("l",_result);
3913 return _resultobj;
3914 }
3915
3916 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
3917 static PyObject *_wrap_wxDC_MinY(PyObject *self, PyObject *args) {
3918 PyObject * _resultobj;
3919 long _result;
3920 wxDC * _arg0;
3921 char * _argc0 = 0;
3922
3923 self = self;
3924 if(!PyArg_ParseTuple(args,"s:wxDC_MinY",&_argc0))
3925 return NULL;
3926 if (_argc0) {
3927 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
3929 return NULL;
3930 }
3931 }
3932 _result = (long )wxDC_MinY(_arg0);
3933 _resultobj = Py_BuildValue("l",_result);
3934 return _resultobj;
3935 }
3936
3937 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
3938 static PyObject *_wrap_wxDC_Ok(PyObject *self, PyObject *args) {
3939 PyObject * _resultobj;
3940 bool _result;
3941 wxDC * _arg0;
3942 char * _argc0 = 0;
3943
3944 self = self;
3945 if(!PyArg_ParseTuple(args,"s:wxDC_Ok",&_argc0))
3946 return NULL;
3947 if (_argc0) {
3948 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
3950 return NULL;
3951 }
3952 }
3953 _result = (bool )wxDC_Ok(_arg0);
3954 _resultobj = Py_BuildValue("i",_result);
3955 return _resultobj;
3956 }
3957
3958 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
3959 static PyObject *_wrap_wxDC_SetDeviceOrigin(PyObject *self, PyObject *args) {
3960 PyObject * _resultobj;
3961 wxDC * _arg0;
3962 long _arg1;
3963 long _arg2;
3964 char * _argc0 = 0;
3965
3966 self = self;
3967 if(!PyArg_ParseTuple(args,"sll:wxDC_SetDeviceOrigin",&_argc0,&_arg1,&_arg2))
3968 return NULL;
3969 if (_argc0) {
3970 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
3972 return NULL;
3973 }
3974 }
3975 wxDC_SetDeviceOrigin(_arg0,_arg1,_arg2);
3976 Py_INCREF(Py_None);
3977 _resultobj = Py_None;
3978 return _resultobj;
3979 }
3980
3981 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
3982 static PyObject *_wrap_wxDC_SetBackground(PyObject *self, PyObject *args) {
3983 PyObject * _resultobj;
3984 wxDC * _arg0;
3985 wxBrush * _arg1;
3986 char * _argc0 = 0;
3987 char * _argc1 = 0;
3988
3989 self = self;
3990 if(!PyArg_ParseTuple(args,"ss:wxDC_SetBackground",&_argc0,&_argc1))
3991 return NULL;
3992 if (_argc0) {
3993 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
3994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
3995 return NULL;
3996 }
3997 }
3998 if (_argc1) {
3999 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBrush_p")) {
4000 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
4001 return NULL;
4002 }
4003 }
4004 wxDC_SetBackground(_arg0,*_arg1);
4005 Py_INCREF(Py_None);
4006 _resultobj = Py_None;
4007 return _resultobj;
4008 }
4009
4010 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
4011 static PyObject *_wrap_wxDC_SetBackgroundMode(PyObject *self, PyObject *args) {
4012 PyObject * _resultobj;
4013 wxDC * _arg0;
4014 int _arg1;
4015 char * _argc0 = 0;
4016
4017 self = self;
4018 if(!PyArg_ParseTuple(args,"si:wxDC_SetBackgroundMode",&_argc0,&_arg1))
4019 return NULL;
4020 if (_argc0) {
4021 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
4022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
4023 return NULL;
4024 }
4025 }
4026 wxDC_SetBackgroundMode(_arg0,_arg1);
4027 Py_INCREF(Py_None);
4028 _resultobj = Py_None;
4029 return _resultobj;
4030 }
4031
4032 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4033 static PyObject *_wrap_wxDC_SetClippingRegion(PyObject *self, PyObject *args) {
4034 PyObject * _resultobj;
4035 wxDC * _arg0;
4036 long _arg1;
4037 long _arg2;
4038 long _arg3;
4039 long _arg4;
4040 char * _argc0 = 0;
4041
4042 self = self;
4043 if(!PyArg_ParseTuple(args,"sllll:wxDC_SetClippingRegion",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4))
4044 return NULL;
4045 if (_argc0) {
4046 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
4047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
4048 return NULL;
4049 }
4050 }
4051 wxDC_SetClippingRegion(_arg0,_arg1,_arg2,_arg3,_arg4);
4052 Py_INCREF(Py_None);
4053 _resultobj = Py_None;
4054 return _resultobj;
4055 }
4056
4057 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
4058 static PyObject *_wrap_wxDC_SetPalette(PyObject *self, PyObject *args) {
4059 PyObject * _resultobj;
4060 wxDC * _arg0;
4061 wxPalette * _arg1;
4062 char * _argc0 = 0;
4063 char * _argc1 = 0;
4064
4065 self = self;
4066 if(!PyArg_ParseTuple(args,"ss:wxDC_SetPalette",&_argc0,&_argc1))
4067 return NULL;
4068 if (_argc0) {
4069 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
4070 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
4071 return NULL;
4072 }
4073 }
4074 if (_argc1) {
4075 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPalette_p")) {
4076 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
4077 return NULL;
4078 }
4079 }
4080 wxDC_SetPalette(_arg0,*_arg1);
4081 Py_INCREF(Py_None);
4082 _resultobj = Py_None;
4083 return _resultobj;
4084 }
4085
4086 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
4087 static PyObject *_wrap_wxDC_SetBrush(PyObject *self, PyObject *args) {
4088 PyObject * _resultobj;
4089 wxDC * _arg0;
4090 wxBrush * _arg1;
4091 char * _argc0 = 0;
4092 char * _argc1 = 0;
4093
4094 self = self;
4095 if(!PyArg_ParseTuple(args,"ss:wxDC_SetBrush",&_argc0,&_argc1))
4096 return NULL;
4097 if (_argc0) {
4098 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
4099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
4100 return NULL;
4101 }
4102 }
4103 if (_argc1) {
4104 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBrush_p")) {
4105 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
4106 return NULL;
4107 }
4108 }
4109 wxDC_SetBrush(_arg0,*_arg1);
4110 Py_INCREF(Py_None);
4111 _resultobj = Py_None;
4112 return _resultobj;
4113 }
4114
4115 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4116 static PyObject *_wrap_wxDC_SetFont(PyObject *self, PyObject *args) {
4117 PyObject * _resultobj;
4118 wxDC * _arg0;
4119 wxFont * _arg1;
4120 char * _argc0 = 0;
4121 char * _argc1 = 0;
4122
4123 self = self;
4124 if(!PyArg_ParseTuple(args,"ss:wxDC_SetFont",&_argc0,&_argc1))
4125 return NULL;
4126 if (_argc0) {
4127 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
4128 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
4129 return NULL;
4130 }
4131 }
4132 if (_argc1) {
4133 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) {
4134 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
4135 return NULL;
4136 }
4137 }
4138 wxDC_SetFont(_arg0,*_arg1);
4139 Py_INCREF(Py_None);
4140 _resultobj = Py_None;
4141 return _resultobj;
4142 }
4143
4144 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
4145 static PyObject *_wrap_wxDC_SetLogicalFunction(PyObject *self, PyObject *args) {
4146 PyObject * _resultobj;
4147 wxDC * _arg0;
4148 int _arg1;
4149 char * _argc0 = 0;
4150
4151 self = self;
4152 if(!PyArg_ParseTuple(args,"si:wxDC_SetLogicalFunction",&_argc0,&_arg1))
4153 return NULL;
4154 if (_argc0) {
4155 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
4156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
4157 return NULL;
4158 }
4159 }
4160 wxDC_SetLogicalFunction(_arg0,_arg1);
4161 Py_INCREF(Py_None);
4162 _resultobj = Py_None;
4163 return _resultobj;
4164 }
4165
4166 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
4167 static PyObject *_wrap_wxDC_SetMapMode(PyObject *self, PyObject *args) {
4168 PyObject * _resultobj;
4169 wxDC * _arg0;
4170 int _arg1;
4171 char * _argc0 = 0;
4172
4173 self = self;
4174 if(!PyArg_ParseTuple(args,"si:wxDC_SetMapMode",&_argc0,&_arg1))
4175 return NULL;
4176 if (_argc0) {
4177 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
4178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
4179 return NULL;
4180 }
4181 }
4182 wxDC_SetMapMode(_arg0,_arg1);
4183 Py_INCREF(Py_None);
4184 _resultobj = Py_None;
4185 return _resultobj;
4186 }
4187
4188 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
4189 static PyObject *_wrap_wxDC_SetOptimization(PyObject *self, PyObject *args) {
4190 PyObject * _resultobj;
4191 wxDC * _arg0;
4192 bool _arg1;
4193 char * _argc0 = 0;
4194 int tempbool1;
4195
4196 self = self;
4197 if(!PyArg_ParseTuple(args,"si:wxDC_SetOptimization",&_argc0,&tempbool1))
4198 return NULL;
4199 if (_argc0) {
4200 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
4201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
4202 return NULL;
4203 }
4204 }
4205 _arg1 = (bool ) tempbool1;
4206 wxDC_SetOptimization(_arg0,_arg1);
4207 Py_INCREF(Py_None);
4208 _resultobj = Py_None;
4209 return _resultobj;
4210 }
4211
4212 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
4213 static PyObject *_wrap_wxDC_SetPen(PyObject *self, PyObject *args) {
4214 PyObject * _resultobj;
4215 wxDC * _arg0;
4216 wxPen * _arg1;
4217 char * _argc0 = 0;
4218 char * _argc1 = 0;
4219
4220 self = self;
4221 if(!PyArg_ParseTuple(args,"ss:wxDC_SetPen",&_argc0,&_argc1))
4222 return NULL;
4223 if (_argc0) {
4224 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
4225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
4226 return NULL;
4227 }
4228 }
4229 if (_argc1) {
4230 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPen_p")) {
4231 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
4232 return NULL;
4233 }
4234 }
4235 wxDC_SetPen(_arg0,*_arg1);
4236 Py_INCREF(Py_None);
4237 _resultobj = Py_None;
4238 return _resultobj;
4239 }
4240
4241 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
4242 static PyObject *_wrap_wxDC_SetTextBackground(PyObject *self, PyObject *args) {
4243 PyObject * _resultobj;
4244 wxDC * _arg0;
4245 wxColour * _arg1;
4246 char * _argc0 = 0;
4247 char * _argc1 = 0;
4248
4249 self = self;
4250 if(!PyArg_ParseTuple(args,"ss:wxDC_SetTextBackground",&_argc0,&_argc1))
4251 return NULL;
4252 if (_argc0) {
4253 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
4254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
4255 return NULL;
4256 }
4257 }
4258 if (_argc1) {
4259 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
4260 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetTextBackground. Expected _wxColour_p.");
4261 return NULL;
4262 }
4263 }
4264 wxDC_SetTextBackground(_arg0,*_arg1);
4265 Py_INCREF(Py_None);
4266 _resultobj = Py_None;
4267 return _resultobj;
4268 }
4269
4270 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
4271 static PyObject *_wrap_wxDC_SetTextForeground(PyObject *self, PyObject *args) {
4272 PyObject * _resultobj;
4273 wxDC * _arg0;
4274 wxColour * _arg1;
4275 char * _argc0 = 0;
4276 char * _argc1 = 0;
4277
4278 self = self;
4279 if(!PyArg_ParseTuple(args,"ss:wxDC_SetTextForeground",&_argc0,&_argc1))
4280 return NULL;
4281 if (_argc0) {
4282 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
4283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
4284 return NULL;
4285 }
4286 }
4287 if (_argc1) {
4288 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
4289 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_SetTextForeground. Expected _wxColour_p.");
4290 return NULL;
4291 }
4292 }
4293 wxDC_SetTextForeground(_arg0,*_arg1);
4294 Py_INCREF(Py_None);
4295 _resultobj = Py_None;
4296 return _resultobj;
4297 }
4298
4299 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
4300 static PyObject *_wrap_wxDC_SetUserScale(PyObject *self, PyObject *args) {
4301 PyObject * _resultobj;
4302 wxDC * _arg0;
4303 double _arg1;
4304 double _arg2;
4305 char * _argc0 = 0;
4306
4307 self = self;
4308 if(!PyArg_ParseTuple(args,"sdd:wxDC_SetUserScale",&_argc0,&_arg1,&_arg2))
4309 return NULL;
4310 if (_argc0) {
4311 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
4312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
4313 return NULL;
4314 }
4315 }
4316 wxDC_SetUserScale(_arg0,_arg1,_arg2);
4317 Py_INCREF(Py_None);
4318 _resultobj = Py_None;
4319 return _resultobj;
4320 }
4321
4322 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
4323 static PyObject *_wrap_wxDC_StartDoc(PyObject *self, PyObject *args) {
4324 PyObject * _resultobj;
4325 bool _result;
4326 wxDC * _arg0;
4327 wxString * _arg1;
4328 char * _argc0 = 0;
4329 PyObject * _obj1 = 0;
4330
4331 self = self;
4332 if(!PyArg_ParseTuple(args,"sO:wxDC_StartDoc",&_argc0,&_obj1))
4333 return NULL;
4334 if (_argc0) {
4335 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
4336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
4337 return NULL;
4338 }
4339 }
4340 {
4341 if (!PyString_Check(_obj1)) {
4342 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4343 return NULL;
4344 }
4345 _arg1 = new wxString(PyString_AsString(_obj1));
4346 }
4347 _result = (bool )wxDC_StartDoc(_arg0,*_arg1);
4348 _resultobj = Py_BuildValue("i",_result);
4349 {
4350 if (_obj1)
4351 delete _arg1;
4352 }
4353 return _resultobj;
4354 }
4355
4356 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
4357 static PyObject *_wrap_wxDC_StartPage(PyObject *self, PyObject *args) {
4358 PyObject * _resultobj;
4359 wxDC * _arg0;
4360 char * _argc0 = 0;
4361
4362 self = self;
4363 if(!PyArg_ParseTuple(args,"s:wxDC_StartPage",&_argc0))
4364 return NULL;
4365 if (_argc0) {
4366 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
4367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
4368 return NULL;
4369 }
4370 }
4371 wxDC_StartPage(_arg0);
4372 Py_INCREF(Py_None);
4373 _resultobj = Py_None;
4374 return _resultobj;
4375 }
4376
4377 static void wxDC_DrawBitmap(wxDC *self,wxBitmap & bitmap,long x,long y,bool swapPalette) {
4378 wxMemoryDC* memDC = new wxMemoryDC;
4379 memDC->SelectObject(bitmap);
4380 if (swapPalette)
4381 self->SetPalette(*bitmap.GetPalette());
4382 self->Blit(x, y, bitmap.GetWidth(), bitmap.GetHeight(), memDC,
4383 0, 0, self->GetLogicalFunction());
4384 memDC->SelectObject(wxNullBitmap);
4385 delete memDC;
4386 }
4387 static PyObject *_wrap_wxDC_DrawBitmap(PyObject *self, PyObject *args) {
4388 PyObject * _resultobj;
4389 wxDC * _arg0;
4390 wxBitmap * _arg1;
4391 long _arg2;
4392 long _arg3;
4393 bool _arg4 = (1);
4394 char * _argc0 = 0;
4395 char * _argc1 = 0;
4396 int tempbool4;
4397
4398 self = self;
4399 if(!PyArg_ParseTuple(args,"ssll|i:wxDC_DrawBitmap",&_argc0,&_argc1,&_arg2,&_arg3,&tempbool4))
4400 return NULL;
4401 if (_argc0) {
4402 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxDC_p")) {
4403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
4404 return NULL;
4405 }
4406 }
4407 if (_argc1) {
4408 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
4409 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
4410 return NULL;
4411 }
4412 }
4413 _arg4 = (bool ) tempbool4;
4414 wxDC_DrawBitmap(_arg0,*_arg1,_arg2,_arg3,_arg4);
4415 Py_INCREF(Py_None);
4416 _resultobj = Py_None;
4417 return _resultobj;
4418 }
4419
4420 static void *SwigwxMemoryDCTowxDC(void *ptr) {
4421 wxMemoryDC *src;
4422 wxDC *dest;
4423 src = (wxMemoryDC *) ptr;
4424 dest = (wxDC *) src;
4425 return (void *) dest;
4426 }
4427
4428 #define new_wxMemoryDC() (new wxMemoryDC())
4429 static PyObject *_wrap_new_wxMemoryDC(PyObject *self, PyObject *args) {
4430 PyObject * _resultobj;
4431 wxMemoryDC * _result;
4432 char _ptemp[128];
4433
4434 self = self;
4435 if(!PyArg_ParseTuple(args,":new_wxMemoryDC"))
4436 return NULL;
4437 _result = (wxMemoryDC *)new_wxMemoryDC();
4438 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMemoryDC_p");
4439 _resultobj = Py_BuildValue("s",_ptemp);
4440 return _resultobj;
4441 }
4442
4443 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
4444 static PyObject *_wrap_wxMemoryDC_SelectObject(PyObject *self, PyObject *args) {
4445 PyObject * _resultobj;
4446 wxMemoryDC * _arg0;
4447 wxBitmap * _arg1;
4448 char * _argc0 = 0;
4449 char * _argc1 = 0;
4450
4451 self = self;
4452 if(!PyArg_ParseTuple(args,"ss:wxMemoryDC_SelectObject",&_argc0,&_argc1))
4453 return NULL;
4454 if (_argc0) {
4455 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxMemoryDC_p")) {
4456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
4457 return NULL;
4458 }
4459 }
4460 if (_argc1) {
4461 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
4462 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
4463 return NULL;
4464 }
4465 }
4466 wxMemoryDC_SelectObject(_arg0,*_arg1);
4467 Py_INCREF(Py_None);
4468 _resultobj = Py_None;
4469 return _resultobj;
4470 }
4471
4472 static void *SwigwxScreenDCTowxDC(void *ptr) {
4473 wxScreenDC *src;
4474 wxDC *dest;
4475 src = (wxScreenDC *) ptr;
4476 dest = (wxDC *) src;
4477 return (void *) dest;
4478 }
4479
4480 #define new_wxScreenDC() (new wxScreenDC())
4481 static PyObject *_wrap_new_wxScreenDC(PyObject *self, PyObject *args) {
4482 PyObject * _resultobj;
4483 wxScreenDC * _result;
4484 char _ptemp[128];
4485
4486 self = self;
4487 if(!PyArg_ParseTuple(args,":new_wxScreenDC"))
4488 return NULL;
4489 _result = (wxScreenDC *)new_wxScreenDC();
4490 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScreenDC_p");
4491 _resultobj = Py_BuildValue("s",_ptemp);
4492 return _resultobj;
4493 }
4494
4495 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
4496 static PyObject *_wrap_wxScreenDC_StartDrawingOnTop(PyObject *self, PyObject *args) {
4497 PyObject * _resultobj;
4498 bool _result;
4499 wxScreenDC * _arg0;
4500 wxWindow * _arg1;
4501 char * _argc0 = 0;
4502 char * _argc1 = 0;
4503
4504 self = self;
4505 if(!PyArg_ParseTuple(args,"ss:wxScreenDC_StartDrawingOnTop",&_argc0,&_argc1))
4506 return NULL;
4507 if (_argc0) {
4508 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScreenDC_p")) {
4509 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
4510 return NULL;
4511 }
4512 }
4513 if (_argc1) {
4514 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) {
4515 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScreenDC_StartDrawingOnTop. Expected _wxWindow_p.");
4516 return NULL;
4517 }
4518 }
4519 _result = (bool )wxScreenDC_StartDrawingOnTop(_arg0,_arg1);
4520 _resultobj = Py_BuildValue("i",_result);
4521 return _resultobj;
4522 }
4523
4524 #define wxScreenDC_StartDrawingOnTopRect(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
4525 static PyObject *_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject *self, PyObject *args) {
4526 PyObject * _resultobj;
4527 bool _result;
4528 wxScreenDC * _arg0;
4529 wxRect * _arg1 = NULL;
4530 char * _argc0 = 0;
4531 char * _argc1 = 0;
4532
4533 self = self;
4534 if(!PyArg_ParseTuple(args,"s|s:wxScreenDC_StartDrawingOnTopRect",&_argc0,&_argc1))
4535 return NULL;
4536 if (_argc0) {
4537 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScreenDC_p")) {
4538 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopRect. Expected _wxScreenDC_p.");
4539 return NULL;
4540 }
4541 }
4542 if (_argc1) {
4543 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxRect_p")) {
4544 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopRect. Expected _wxRect_p.");
4545 return NULL;
4546 }
4547 }
4548 _result = (bool )wxScreenDC_StartDrawingOnTopRect(_arg0,_arg1);
4549 _resultobj = Py_BuildValue("i",_result);
4550 return _resultobj;
4551 }
4552
4553 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
4554 static PyObject *_wrap_wxScreenDC_EndDrawingOnTop(PyObject *self, PyObject *args) {
4555 PyObject * _resultobj;
4556 bool _result;
4557 wxScreenDC * _arg0;
4558 char * _argc0 = 0;
4559
4560 self = self;
4561 if(!PyArg_ParseTuple(args,"s:wxScreenDC_EndDrawingOnTop",&_argc0))
4562 return NULL;
4563 if (_argc0) {
4564 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScreenDC_p")) {
4565 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
4566 return NULL;
4567 }
4568 }
4569 _result = (bool )wxScreenDC_EndDrawingOnTop(_arg0);
4570 _resultobj = Py_BuildValue("i",_result);
4571 return _resultobj;
4572 }
4573
4574 static void *SwigwxClientDCTowxDC(void *ptr) {
4575 wxClientDC *src;
4576 wxDC *dest;
4577 src = (wxClientDC *) ptr;
4578 dest = (wxDC *) src;
4579 return (void *) dest;
4580 }
4581
4582 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
4583 static PyObject *_wrap_new_wxClientDC(PyObject *self, PyObject *args) {
4584 PyObject * _resultobj;
4585 wxClientDC * _result;
4586 wxWindow * _arg0;
4587 char * _argc0 = 0;
4588 char _ptemp[128];
4589
4590 self = self;
4591 if(!PyArg_ParseTuple(args,"s:new_wxClientDC",&_argc0))
4592 return NULL;
4593 if (_argc0) {
4594 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
4595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
4596 return NULL;
4597 }
4598 }
4599 _result = (wxClientDC *)new_wxClientDC(_arg0);
4600 SWIG_MakePtr(_ptemp, (char *) _result,"_wxClientDC_p");
4601 _resultobj = Py_BuildValue("s",_ptemp);
4602 return _resultobj;
4603 }
4604
4605 static void *SwigwxPaintDCTowxDC(void *ptr) {
4606 wxPaintDC *src;
4607 wxDC *dest;
4608 src = (wxPaintDC *) ptr;
4609 dest = (wxDC *) src;
4610 return (void *) dest;
4611 }
4612
4613 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
4614 static PyObject *_wrap_new_wxPaintDC(PyObject *self, PyObject *args) {
4615 PyObject * _resultobj;
4616 wxPaintDC * _result;
4617 wxWindow * _arg0;
4618 char * _argc0 = 0;
4619 char _ptemp[128];
4620
4621 self = self;
4622 if(!PyArg_ParseTuple(args,"s:new_wxPaintDC",&_argc0))
4623 return NULL;
4624 if (_argc0) {
4625 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
4626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
4627 return NULL;
4628 }
4629 }
4630 _result = (wxPaintDC *)new_wxPaintDC(_arg0);
4631 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPaintDC_p");
4632 _resultobj = Py_BuildValue("s",_ptemp);
4633 return _resultobj;
4634 }
4635
4636 static void *SwigwxWindowDCTowxDC(void *ptr) {
4637 wxWindowDC *src;
4638 wxDC *dest;
4639 src = (wxWindowDC *) ptr;
4640 dest = (wxDC *) src;
4641 return (void *) dest;
4642 }
4643
4644 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
4645 static PyObject *_wrap_new_wxWindowDC(PyObject *self, PyObject *args) {
4646 PyObject * _resultobj;
4647 wxWindowDC * _result;
4648 wxWindow * _arg0;
4649 char * _argc0 = 0;
4650 char _ptemp[128];
4651
4652 self = self;
4653 if(!PyArg_ParseTuple(args,"s:new_wxWindowDC",&_argc0))
4654 return NULL;
4655 if (_argc0) {
4656 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
4657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
4658 return NULL;
4659 }
4660 }
4661 _result = (wxWindowDC *)new_wxWindowDC(_arg0);
4662 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindowDC_p");
4663 _resultobj = Py_BuildValue("s",_ptemp);
4664 return _resultobj;
4665 }
4666
4667 static void *SwigwxPostScriptDCTowxDC(void *ptr) {
4668 wxPostScriptDC *src;
4669 wxDC *dest;
4670 src = (wxPostScriptDC *) ptr;
4671 dest = (wxDC *) src;
4672 return (void *) dest;
4673 }
4674
4675 #define new_wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2) (new wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2))
4676 static PyObject *_wrap_new_wxPostScriptDC(PyObject *self, PyObject *args) {
4677 PyObject * _resultobj;
4678 wxPostScriptDC * _result;
4679 wxString * _arg0;
4680 bool _arg1 = (1);
4681 wxWindow * _arg2 = NULL;
4682 PyObject * _obj0 = 0;
4683 int tempbool1;
4684 char * _argc2 = 0;
4685 char _ptemp[128];
4686
4687 self = self;
4688 if(!PyArg_ParseTuple(args,"O|is:new_wxPostScriptDC",&_obj0,&tempbool1,&_argc2))
4689 return NULL;
4690 {
4691 if (!PyString_Check(_obj0)) {
4692 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4693 return NULL;
4694 }
4695 _arg0 = new wxString(PyString_AsString(_obj0));
4696 }
4697 _arg1 = (bool ) tempbool1;
4698 if (_argc2) {
4699 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxWindow_p")) {
4700 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxPostScriptDC. Expected _wxWindow_p.");
4701 return NULL;
4702 }
4703 }
4704 _result = (wxPostScriptDC *)new_wxPostScriptDC(*_arg0,_arg1,_arg2);
4705 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPostScriptDC_p");
4706 _resultobj = Py_BuildValue("s",_ptemp);
4707 {
4708 if (_obj0)
4709 delete _arg0;
4710 }
4711 return _resultobj;
4712 }
4713
4714 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4715 static PyObject *_wrap_new_wxPalette(PyObject *self, PyObject *args) {
4716 PyObject * _resultobj;
4717 wxPalette * _result;
4718 int _arg0;
4719 byte * _arg1;
4720 byte * _arg2;
4721 byte * _arg3;
4722 PyObject * _obj1 = 0;
4723 PyObject * _obj2 = 0;
4724 PyObject * _obj3 = 0;
4725 char _ptemp[128];
4726
4727 self = self;
4728 if(!PyArg_ParseTuple(args,"OOO:new_wxPalette",&_obj1,&_obj2,&_obj3))
4729 return NULL;
4730 {
4731 _arg1 = byte_LIST_helper(_obj1);
4732 if (_arg1 == NULL) {
4733 return NULL;
4734 }
4735 }
4736 {
4737 _arg2 = byte_LIST_helper(_obj2);
4738 if (_arg2 == NULL) {
4739 return NULL;
4740 }
4741 }
4742 if (_obj3)
4743 {
4744 _arg3 = byte_LIST_helper(_obj3);
4745 if (_arg3 == NULL) {
4746 return NULL;
4747 }
4748 }
4749 {
4750 _arg0 = PyList_Size(_obj1);
4751 }
4752 _result = (wxPalette *)new_wxPalette(_arg0,_arg1,_arg2,_arg3);
4753 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPalette_p");
4754 _resultobj = Py_BuildValue("s",_ptemp);
4755 {
4756 delete [] _arg1;
4757 }
4758 {
4759 delete [] _arg2;
4760 }
4761 {
4762 delete [] _arg3;
4763 }
4764 return _resultobj;
4765 }
4766
4767 #define delete_wxPalette(_swigobj) (delete _swigobj)
4768 static PyObject *_wrap_delete_wxPalette(PyObject *self, PyObject *args) {
4769 PyObject * _resultobj;
4770 wxPalette * _arg0;
4771 char * _argc0 = 0;
4772
4773 self = self;
4774 if(!PyArg_ParseTuple(args,"s:delete_wxPalette",&_argc0))
4775 return NULL;
4776 if (_argc0) {
4777 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPalette_p")) {
4778 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
4779 return NULL;
4780 }
4781 }
4782 delete_wxPalette(_arg0);
4783 Py_INCREF(Py_None);
4784 _resultobj = Py_None;
4785 return _resultobj;
4786 }
4787
4788 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
4789 static PyObject *_wrap_wxPalette_GetPixel(PyObject *self, PyObject *args) {
4790 PyObject * _resultobj;
4791 int _result;
4792 wxPalette * _arg0;
4793 byte _arg1;
4794 byte _arg2;
4795 byte _arg3;
4796 char * _argc0 = 0;
4797
4798 self = self;
4799 if(!PyArg_ParseTuple(args,"sbbb:wxPalette_GetPixel",&_argc0,&_arg1,&_arg2,&_arg3))
4800 return NULL;
4801 if (_argc0) {
4802 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPalette_p")) {
4803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
4804 return NULL;
4805 }
4806 }
4807 _result = (int )wxPalette_GetPixel(_arg0,_arg1,_arg2,_arg3);
4808 _resultobj = Py_BuildValue("i",_result);
4809 return _resultobj;
4810 }
4811
4812 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4813 static PyObject *_wrap_wxPalette_GetRGB(PyObject *self, PyObject *args) {
4814 PyObject * _resultobj;
4815 bool _result;
4816 wxPalette * _arg0;
4817 int _arg1;
4818 byte * _arg2;
4819 byte * _arg3;
4820 byte * _arg4;
4821 char * _argc0 = 0;
4822 char * _argc2 = 0;
4823 char * _argc3 = 0;
4824 char * _argc4 = 0;
4825
4826 self = self;
4827 if(!PyArg_ParseTuple(args,"sisss:wxPalette_GetRGB",&_argc0,&_arg1,&_argc2,&_argc3,&_argc4))
4828 return NULL;
4829 if (_argc0) {
4830 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPalette_p")) {
4831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
4832 return NULL;
4833 }
4834 }
4835 if (_argc2) {
4836 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_byte_p")) {
4837 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
4838 return NULL;
4839 }
4840 }
4841 if (_argc3) {
4842 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_byte_p")) {
4843 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
4844 return NULL;
4845 }
4846 }
4847 if (_argc4) {
4848 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_byte_p")) {
4849 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
4850 return NULL;
4851 }
4852 }
4853 _result = (bool )wxPalette_GetRGB(_arg0,_arg1,_arg2,_arg3,_arg4);
4854 _resultobj = Py_BuildValue("i",_result);
4855 return _resultobj;
4856 }
4857
4858 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
4859 static PyObject *_wrap_wxPalette_Ok(PyObject *self, PyObject *args) {
4860 PyObject * _resultobj;
4861 bool _result;
4862 wxPalette * _arg0;
4863 char * _argc0 = 0;
4864
4865 self = self;
4866 if(!PyArg_ParseTuple(args,"s:wxPalette_Ok",&_argc0))
4867 return NULL;
4868 if (_argc0) {
4869 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPalette_p")) {
4870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
4871 return NULL;
4872 }
4873 }
4874 _result = (bool )wxPalette_Ok(_arg0);
4875 _resultobj = Py_BuildValue("i",_result);
4876 return _resultobj;
4877 }
4878
4879 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4880 static PyObject *_wrap_new_wxImageList(PyObject *self, PyObject *args) {
4881 PyObject * _resultobj;
4882 wxImageList * _result;
4883 int _arg0;
4884 int _arg1;
4885 bool _arg2 = (1);
4886 int _arg3 = 1;
4887 int tempbool2;
4888 char _ptemp[128];
4889
4890 self = self;
4891 if(!PyArg_ParseTuple(args,"ii|ii:new_wxImageList",&_arg0,&_arg1,&tempbool2,&_arg3))
4892 return NULL;
4893 _arg2 = (bool ) tempbool2;
4894 _result = (wxImageList *)new_wxImageList(_arg0,_arg1,_arg2,_arg3);
4895 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
4896 _resultobj = Py_BuildValue("s",_ptemp);
4897 return _resultobj;
4898 }
4899
4900 #define delete_wxImageList(_swigobj) (delete _swigobj)
4901 static PyObject *_wrap_delete_wxImageList(PyObject *self, PyObject *args) {
4902 PyObject * _resultobj;
4903 wxImageList * _arg0;
4904 char * _argc0 = 0;
4905
4906 self = self;
4907 if(!PyArg_ParseTuple(args,"s:delete_wxImageList",&_argc0))
4908 return NULL;
4909 if (_argc0) {
4910 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
4911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
4912 return NULL;
4913 }
4914 }
4915 delete_wxImageList(_arg0);
4916 Py_INCREF(Py_None);
4917 _resultobj = Py_None;
4918 return _resultobj;
4919 }
4920
4921 #define wxImageList_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
4922 static PyObject *_wrap_wxImageList_Add(PyObject *self, PyObject *args) {
4923 PyObject * _resultobj;
4924 int _result;
4925 wxImageList * _arg0;
4926 wxBitmap * _arg1;
4927 char * _argc0 = 0;
4928 char * _argc1 = 0;
4929
4930 self = self;
4931 if(!PyArg_ParseTuple(args,"ss:wxImageList_Add",&_argc0,&_argc1))
4932 return NULL;
4933 if (_argc0) {
4934 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
4935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
4936 return NULL;
4937 }
4938 }
4939 if (_argc1) {
4940 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
4941 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
4942 return NULL;
4943 }
4944 }
4945 _result = (int )wxImageList_Add(_arg0,*_arg1);
4946 _resultobj = Py_BuildValue("i",_result);
4947 return _resultobj;
4948 }
4949
4950 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
4951 static PyObject *_wrap_wxImageList_Replace(PyObject *self, PyObject *args) {
4952 PyObject * _resultobj;
4953 bool _result;
4954 wxImageList * _arg0;
4955 int _arg1;
4956 wxBitmap * _arg2;
4957 char * _argc0 = 0;
4958 char * _argc2 = 0;
4959
4960 self = self;
4961 if(!PyArg_ParseTuple(args,"sis:wxImageList_Replace",&_argc0,&_arg1,&_argc2))
4962 return NULL;
4963 if (_argc0) {
4964 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
4965 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
4966 return NULL;
4967 }
4968 }
4969 if (_argc2) {
4970 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxBitmap_p")) {
4971 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
4972 return NULL;
4973 }
4974 }
4975 _result = (bool )wxImageList_Replace(_arg0,_arg1,*_arg2);
4976 _resultobj = Py_BuildValue("i",_result);
4977 return _resultobj;
4978 }
4979
4980 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4981 static PyObject *_wrap_wxImageList_Draw(PyObject *self, PyObject *args) {
4982 PyObject * _resultobj;
4983 bool _result;
4984 wxImageList * _arg0;
4985 int _arg1;
4986 wxDC * _arg2;
4987 int _arg3;
4988 int _arg4;
4989 int _arg5 = (wxIMAGELIST_DRAW_NORMAL);
4990 bool _arg6 = (0);
4991 char * _argc0 = 0;
4992 char * _argc2 = 0;
4993 int tempbool6;
4994
4995 self = self;
4996 if(!PyArg_ParseTuple(args,"sisii|ii:wxImageList_Draw",&_argc0,&_arg1,&_argc2,&_arg3,&_arg4,&_arg5,&tempbool6))
4997 return NULL;
4998 if (_argc0) {
4999 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
5000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
5001 return NULL;
5002 }
5003 }
5004 if (_argc2) {
5005 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxDC_p")) {
5006 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
5007 return NULL;
5008 }
5009 }
5010 _arg6 = (bool ) tempbool6;
5011 _result = (bool )wxImageList_Draw(_arg0,_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6);
5012 _resultobj = Py_BuildValue("i",_result);
5013 return _resultobj;
5014 }
5015
5016 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
5017 static PyObject *_wrap_wxImageList_GetImageCount(PyObject *self, PyObject *args) {
5018 PyObject * _resultobj;
5019 int _result;
5020 wxImageList * _arg0;
5021 char * _argc0 = 0;
5022
5023 self = self;
5024 if(!PyArg_ParseTuple(args,"s:wxImageList_GetImageCount",&_argc0))
5025 return NULL;
5026 if (_argc0) {
5027 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
5028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
5029 return NULL;
5030 }
5031 }
5032 _result = (int )wxImageList_GetImageCount(_arg0);
5033 _resultobj = Py_BuildValue("i",_result);
5034 return _resultobj;
5035 }
5036
5037 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
5038 static PyObject *_wrap_wxImageList_Remove(PyObject *self, PyObject *args) {
5039 PyObject * _resultobj;
5040 bool _result;
5041 wxImageList * _arg0;
5042 int _arg1;
5043 char * _argc0 = 0;
5044
5045 self = self;
5046 if(!PyArg_ParseTuple(args,"si:wxImageList_Remove",&_argc0,&_arg1))
5047 return NULL;
5048 if (_argc0) {
5049 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
5050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
5051 return NULL;
5052 }
5053 }
5054 _result = (bool )wxImageList_Remove(_arg0,_arg1);
5055 _resultobj = Py_BuildValue("i",_result);
5056 return _resultobj;
5057 }
5058
5059 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
5060 static PyObject *_wrap_wxImageList_RemoveAll(PyObject *self, PyObject *args) {
5061 PyObject * _resultobj;
5062 bool _result;
5063 wxImageList * _arg0;
5064 char * _argc0 = 0;
5065
5066 self = self;
5067 if(!PyArg_ParseTuple(args,"s:wxImageList_RemoveAll",&_argc0))
5068 return NULL;
5069 if (_argc0) {
5070 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxImageList_p")) {
5071 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
5072 return NULL;
5073 }
5074 }
5075 _result = (bool )wxImageList_RemoveAll(_arg0);
5076 _resultobj = Py_BuildValue("i",_result);
5077 return _resultobj;
5078 }
5079
5080 static PyMethodDef gdicMethods[] = {
5081 { "wxImageList_RemoveAll", _wrap_wxImageList_RemoveAll, 1 },
5082 { "wxImageList_Remove", _wrap_wxImageList_Remove, 1 },
5083 { "wxImageList_GetImageCount", _wrap_wxImageList_GetImageCount, 1 },
5084 { "wxImageList_Draw", _wrap_wxImageList_Draw, 1 },
5085 { "wxImageList_Replace", _wrap_wxImageList_Replace, 1 },
5086 { "wxImageList_Add", _wrap_wxImageList_Add, 1 },
5087 { "delete_wxImageList", _wrap_delete_wxImageList, 1 },
5088 { "new_wxImageList", _wrap_new_wxImageList, 1 },
5089 { "wxPalette_Ok", _wrap_wxPalette_Ok, 1 },
5090 { "wxPalette_GetRGB", _wrap_wxPalette_GetRGB, 1 },
5091 { "wxPalette_GetPixel", _wrap_wxPalette_GetPixel, 1 },
5092 { "delete_wxPalette", _wrap_delete_wxPalette, 1 },
5093 { "new_wxPalette", _wrap_new_wxPalette, 1 },
5094 { "new_wxPostScriptDC", _wrap_new_wxPostScriptDC, 1 },
5095 { "new_wxWindowDC", _wrap_new_wxWindowDC, 1 },
5096 { "new_wxPaintDC", _wrap_new_wxPaintDC, 1 },
5097 { "new_wxClientDC", _wrap_new_wxClientDC, 1 },
5098 { "wxScreenDC_EndDrawingOnTop", _wrap_wxScreenDC_EndDrawingOnTop, 1 },
5099 { "wxScreenDC_StartDrawingOnTopRect", _wrap_wxScreenDC_StartDrawingOnTopRect, 1 },
5100 { "wxScreenDC_StartDrawingOnTop", _wrap_wxScreenDC_StartDrawingOnTop, 1 },
5101 { "new_wxScreenDC", _wrap_new_wxScreenDC, 1 },
5102 { "wxMemoryDC_SelectObject", _wrap_wxMemoryDC_SelectObject, 1 },
5103 { "new_wxMemoryDC", _wrap_new_wxMemoryDC, 1 },
5104 { "wxDC_DrawBitmap", _wrap_wxDC_DrawBitmap, 1 },
5105 { "wxDC_StartPage", _wrap_wxDC_StartPage, 1 },
5106 { "wxDC_StartDoc", _wrap_wxDC_StartDoc, 1 },
5107 { "wxDC_SetUserScale", _wrap_wxDC_SetUserScale, 1 },
5108 { "wxDC_SetTextForeground", _wrap_wxDC_SetTextForeground, 1 },
5109 { "wxDC_SetTextBackground", _wrap_wxDC_SetTextBackground, 1 },
5110 { "wxDC_SetPen", _wrap_wxDC_SetPen, 1 },
5111 { "wxDC_SetOptimization", _wrap_wxDC_SetOptimization, 1 },
5112 { "wxDC_SetMapMode", _wrap_wxDC_SetMapMode, 1 },
5113 { "wxDC_SetLogicalFunction", _wrap_wxDC_SetLogicalFunction, 1 },
5114 { "wxDC_SetFont", _wrap_wxDC_SetFont, 1 },
5115 { "wxDC_SetBrush", _wrap_wxDC_SetBrush, 1 },
5116 { "wxDC_SetPalette", _wrap_wxDC_SetPalette, 1 },
5117 { "wxDC_SetClippingRegion", _wrap_wxDC_SetClippingRegion, 1 },
5118 { "wxDC_SetBackgroundMode", _wrap_wxDC_SetBackgroundMode, 1 },
5119 { "wxDC_SetBackground", _wrap_wxDC_SetBackground, 1 },
5120 { "wxDC_SetDeviceOrigin", _wrap_wxDC_SetDeviceOrigin, 1 },
5121 { "wxDC_Ok", _wrap_wxDC_Ok, 1 },
5122 { "wxDC_MinY", _wrap_wxDC_MinY, 1 },
5123 { "wxDC_MinX", _wrap_wxDC_MinX, 1 },
5124 { "wxDC_MaxY", _wrap_wxDC_MaxY, 1 },
5125 { "wxDC_MaxX", _wrap_wxDC_MaxX, 1 },
5126 { "wxDC_LogicalToDeviceYRel", _wrap_wxDC_LogicalToDeviceYRel, 1 },
5127 { "wxDC_LogicalToDeviceY", _wrap_wxDC_LogicalToDeviceY, 1 },
5128 { "wxDC_LogicalToDeviceXRel", _wrap_wxDC_LogicalToDeviceXRel, 1 },
5129 { "wxDC_LogicalToDeviceX", _wrap_wxDC_LogicalToDeviceX, 1 },
5130 { "wxDC_GetTextForeground", _wrap_wxDC_GetTextForeground, 1 },
5131 { "wxDC_GetFullTextExtent", _wrap_wxDC_GetFullTextExtent, 1 },
5132 { "wxDC_GetTextExtent", _wrap_wxDC_GetTextExtent, 1 },
5133 { "wxDC_GetTextBackground", _wrap_wxDC_GetTextBackground, 1 },
5134 { "wxDC_GetSize", _wrap_wxDC_GetSize, 1 },
5135 { "wxDC_GetPixel", _wrap_wxDC_GetPixel, 1 },
5136 { "wxDC_GetPen", _wrap_wxDC_GetPen, 1 },
5137 { "wxDC_GetOptimization", _wrap_wxDC_GetOptimization, 1 },
5138 { "wxDC_GetMapMode", _wrap_wxDC_GetMapMode, 1 },
5139 { "wxDC_GetLogicalFunction", _wrap_wxDC_GetLogicalFunction, 1 },
5140 { "wxDC_GetFont", _wrap_wxDC_GetFont, 1 },
5141 { "wxDC_GetClippingBox", _wrap_wxDC_GetClippingBox, 1 },
5142 { "wxDC_GetCharWidth", _wrap_wxDC_GetCharWidth, 1 },
5143 { "wxDC_GetCharHeight", _wrap_wxDC_GetCharHeight, 1 },
5144 { "wxDC_GetBrush", _wrap_wxDC_GetBrush, 1 },
5145 { "wxDC_GetBackground", _wrap_wxDC_GetBackground, 1 },
5146 { "wxDC_FloodFill", _wrap_wxDC_FloodFill, 1 },
5147 { "wxDC_EndPage", _wrap_wxDC_EndPage, 1 },
5148 { "wxDC_EndDrawing", _wrap_wxDC_EndDrawing, 1 },
5149 { "wxDC_EndDoc", _wrap_wxDC_EndDoc, 1 },
5150 { "wxDC_DrawText", _wrap_wxDC_DrawText, 1 },
5151 { "wxDC_DrawSpline", _wrap_wxDC_DrawSpline, 1 },
5152 { "wxDC_DrawRoundedRectangle", _wrap_wxDC_DrawRoundedRectangle, 1 },
5153 { "wxDC_DrawRectangle", _wrap_wxDC_DrawRectangle, 1 },
5154 { "wxDC_DrawPoint", _wrap_wxDC_DrawPoint, 1 },
5155 { "wxDC_DrawPolygon", _wrap_wxDC_DrawPolygon, 1 },
5156 { "wxDC_DrawLines", _wrap_wxDC_DrawLines, 1 },
5157 { "wxDC_DrawLine", _wrap_wxDC_DrawLine, 1 },
5158 { "wxDC_DrawIcon", _wrap_wxDC_DrawIcon, 1 },
5159 { "wxDC_DrawEllipticArc", _wrap_wxDC_DrawEllipticArc, 1 },
5160 { "wxDC_DrawEllipse", _wrap_wxDC_DrawEllipse, 1 },
5161 { "wxDC_DrawArc", _wrap_wxDC_DrawArc, 1 },
5162 { "wxDC_DeviceToLogicalYRel", _wrap_wxDC_DeviceToLogicalYRel, 1 },
5163 { "wxDC_DeviceToLogicalY", _wrap_wxDC_DeviceToLogicalY, 1 },
5164 { "wxDC_DeviceToLogicalXRel", _wrap_wxDC_DeviceToLogicalXRel, 1 },
5165 { "wxDC_DeviceToLogicalX", _wrap_wxDC_DeviceToLogicalX, 1 },
5166 { "wxDC_DestroyClippingRegion", _wrap_wxDC_DestroyClippingRegion, 1 },
5167 { "wxDC_CrossHair", _wrap_wxDC_CrossHair, 1 },
5168 { "wxDC_Clear", _wrap_wxDC_Clear, 1 },
5169 { "wxDC_Blit", _wrap_wxDC_Blit, 1 },
5170 { "wxDC_BeginDrawing", _wrap_wxDC_BeginDrawing, 1 },
5171 { "delete_wxDC", _wrap_delete_wxDC, 1 },
5172 { "wxBrush_SetStyle", _wrap_wxBrush_SetStyle, 1 },
5173 { "wxBrush_SetStipple", _wrap_wxBrush_SetStipple, 1 },
5174 { "wxBrush_SetColour", _wrap_wxBrush_SetColour, 1 },
5175 { "wxBrush_Ok", _wrap_wxBrush_Ok, 1 },
5176 { "wxBrush_GetStyle", _wrap_wxBrush_GetStyle, 1 },
5177 { "wxBrush_GetStipple", _wrap_wxBrush_GetStipple, 1 },
5178 { "wxBrush_GetColour", _wrap_wxBrush_GetColour, 1 },
5179 { "new_wxBrush", _wrap_new_wxBrush, 1 },
5180 { "wxPen_SetWidth", _wrap_wxPen_SetWidth, 1 },
5181 { "wxPen_SetStyle", _wrap_wxPen_SetStyle, 1 },
5182 { "wxPen_SetJoin", _wrap_wxPen_SetJoin, 1 },
5183 { "wxPen_SetColour", _wrap_wxPen_SetColour, 1 },
5184 { "wxPen_SetCap", _wrap_wxPen_SetCap, 1 },
5185 { "wxPen_Ok", _wrap_wxPen_Ok, 1 },
5186 { "wxPen_GetWidth", _wrap_wxPen_GetWidth, 1 },
5187 { "wxPen_GetStyle", _wrap_wxPen_GetStyle, 1 },
5188 { "wxPen_GetJoin", _wrap_wxPen_GetJoin, 1 },
5189 { "wxPen_GetColour", _wrap_wxPen_GetColour, 1 },
5190 { "wxPen_GetCap", _wrap_wxPen_GetCap, 1 },
5191 { "new_wxPen", _wrap_new_wxPen, 1 },
5192 { "wxColour_Get", _wrap_wxColour_Get, 1 },
5193 { "wxColour_Set", _wrap_wxColour_Set, 1 },
5194 { "wxColour_Ok", _wrap_wxColour_Ok, 1 },
5195 { "wxColour_Blue", _wrap_wxColour_Blue, 1 },
5196 { "wxColour_Green", _wrap_wxColour_Green, 1 },
5197 { "wxColour_Red", _wrap_wxColour_Red, 1 },
5198 { "delete_wxColour", _wrap_delete_wxColour, 1 },
5199 { "new_wxColour", _wrap_new_wxColour, 1 },
5200 { "wxFont_SetWeight", _wrap_wxFont_SetWeight, 1 },
5201 { "wxFont_SetUnderlined", _wrap_wxFont_SetUnderlined, 1 },
5202 { "wxFont_SetStyle", _wrap_wxFont_SetStyle, 1 },
5203 { "wxFont_SetPointSize", _wrap_wxFont_SetPointSize, 1 },
5204 { "wxFont_SetFamily", _wrap_wxFont_SetFamily, 1 },
5205 { "wxFont_SetFaceName", _wrap_wxFont_SetFaceName, 1 },
5206 { "wxFont_GetWeight", _wrap_wxFont_GetWeight, 1 },
5207 { "wxFont_GetUnderlined", _wrap_wxFont_GetUnderlined, 1 },
5208 { "wxFont_GetStyle", _wrap_wxFont_GetStyle, 1 },
5209 { "wxFont_GetPointSize", _wrap_wxFont_GetPointSize, 1 },
5210 { "wxFont_GetFamily", _wrap_wxFont_GetFamily, 1 },
5211 { "wxFont_GetFaceName", _wrap_wxFont_GetFaceName, 1 },
5212 { "new_wxFont", _wrap_new_wxFont, 1 },
5213 { "wxCursor_Ok", _wrap_wxCursor_Ok, 1 },
5214 { "delete_wxCursor", _wrap_delete_wxCursor, 1 },
5215 { "wxIcon_SetWidth", _wrap_wxIcon_SetWidth, 1 },
5216 { "wxIcon_SetHeight", _wrap_wxIcon_SetHeight, 1 },
5217 { "wxIcon_SetDepth", _wrap_wxIcon_SetDepth, 1 },
5218 { "wxIcon_Ok", _wrap_wxIcon_Ok, 1 },
5219 { "wxIcon_LoadFile", _wrap_wxIcon_LoadFile, 1 },
5220 { "wxIcon_GetWidth", _wrap_wxIcon_GetWidth, 1 },
5221 { "wxIcon_GetHeight", _wrap_wxIcon_GetHeight, 1 },
5222 { "wxIcon_GetDepth", _wrap_wxIcon_GetDepth, 1 },
5223 { "delete_wxIcon", _wrap_delete_wxIcon, 1 },
5224 { "delete_wxMask", _wrap_delete_wxMask, 1 },
5225 { "new_wxMask", _wrap_new_wxMask, 1 },
5226 { "wxBitmap_SetWidth", _wrap_wxBitmap_SetWidth, 1 },
5227 { "wxBitmap_SetMask", _wrap_wxBitmap_SetMask, 1 },
5228 { "wxBitmap_SetHeight", _wrap_wxBitmap_SetHeight, 1 },
5229 { "wxBitmap_SetDepth", _wrap_wxBitmap_SetDepth, 1 },
5230 { "wxBitmap_SaveFile", _wrap_wxBitmap_SaveFile, 1 },
5231 { "wxBitmap_Ok", _wrap_wxBitmap_Ok, 1 },
5232 { "wxBitmap_LoadFile", _wrap_wxBitmap_LoadFile, 1 },
5233 { "wxBitmap_GetWidth", _wrap_wxBitmap_GetWidth, 1 },
5234 { "wxBitmap_GetMask", _wrap_wxBitmap_GetMask, 1 },
5235 { "wxBitmap_GetPalette", _wrap_wxBitmap_GetPalette, 1 },
5236 { "wxBitmap_GetHeight", _wrap_wxBitmap_GetHeight, 1 },
5237 { "wxBitmap_GetDepth", _wrap_wxBitmap_GetDepth, 1 },
5238 { "delete_wxBitmap", _wrap_delete_wxBitmap, 1 },
5239 { "new_wxBitmap", _wrap_new_wxBitmap, 1 },
5240 { "wxMemoryDCFromDC", _wrap_wxMemoryDCFromDC, 1 },
5241 { "wxNamedColour", _wrap_wxNamedColour, 1 },
5242 { "wxStockCursor", _wrap_wxStockCursor, 1 },
5243 { "wxMaskColour", _wrap_wxMaskColour, 1 },
5244 { "wxNoRefBitmap", _wrap_wxNoRefBitmap, 1 },
5245 { "wxEmptyBitmap", _wrap_wxEmptyBitmap, 1 },
5246 { NULL, NULL }
5247 };
5248 static PyObject *SWIG_globals;
5249 #ifdef __cplusplus
5250 extern "C"
5251 #endif
5252 SWIGEXPORT(void,initgdic)() {
5253 PyObject *m, *d;
5254 SWIG_globals = SWIG_newvarlink();
5255 m = Py_InitModule("gdic", gdicMethods);
5256 d = PyModule_GetDict(m);
5257 PyDict_SetItemString(d,"cvar", SWIG_globals);
5258 SWIG_addvarlink(SWIG_globals,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get, _wrap_wxNORMAL_FONT_set);
5259 SWIG_addvarlink(SWIG_globals,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get, _wrap_wxSMALL_FONT_set);
5260 SWIG_addvarlink(SWIG_globals,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get, _wrap_wxITALIC_FONT_set);
5261 SWIG_addvarlink(SWIG_globals,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get, _wrap_wxSWISS_FONT_set);
5262 SWIG_addvarlink(SWIG_globals,"wxRED_PEN",_wrap_wxRED_PEN_get, _wrap_wxRED_PEN_set);
5263 SWIG_addvarlink(SWIG_globals,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get, _wrap_wxCYAN_PEN_set);
5264 SWIG_addvarlink(SWIG_globals,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get, _wrap_wxGREEN_PEN_set);
5265 SWIG_addvarlink(SWIG_globals,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get, _wrap_wxBLACK_PEN_set);
5266 SWIG_addvarlink(SWIG_globals,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get, _wrap_wxWHITE_PEN_set);
5267 SWIG_addvarlink(SWIG_globals,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get, _wrap_wxTRANSPARENT_PEN_set);
5268 SWIG_addvarlink(SWIG_globals,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get, _wrap_wxBLACK_DASHED_PEN_set);
5269 SWIG_addvarlink(SWIG_globals,"wxGREY_PEN",_wrap_wxGREY_PEN_get, _wrap_wxGREY_PEN_set);
5270 SWIG_addvarlink(SWIG_globals,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get, _wrap_wxMEDIUM_GREY_PEN_set);
5271 SWIG_addvarlink(SWIG_globals,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get, _wrap_wxLIGHT_GREY_PEN_set);
5272 SWIG_addvarlink(SWIG_globals,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get, _wrap_wxBLUE_BRUSH_set);
5273 SWIG_addvarlink(SWIG_globals,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get, _wrap_wxGREEN_BRUSH_set);
5274 SWIG_addvarlink(SWIG_globals,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get, _wrap_wxWHITE_BRUSH_set);
5275 SWIG_addvarlink(SWIG_globals,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get, _wrap_wxBLACK_BRUSH_set);
5276 SWIG_addvarlink(SWIG_globals,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get, _wrap_wxTRANSPARENT_BRUSH_set);
5277 SWIG_addvarlink(SWIG_globals,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get, _wrap_wxCYAN_BRUSH_set);
5278 SWIG_addvarlink(SWIG_globals,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get, _wrap_wxRED_BRUSH_set);
5279 SWIG_addvarlink(SWIG_globals,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get, _wrap_wxGREY_BRUSH_set);
5280 SWIG_addvarlink(SWIG_globals,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get, _wrap_wxMEDIUM_GREY_BRUSH_set);
5281 SWIG_addvarlink(SWIG_globals,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get, _wrap_wxLIGHT_GREY_BRUSH_set);
5282 SWIG_addvarlink(SWIG_globals,"wxBLACK",_wrap_wxBLACK_get, _wrap_wxBLACK_set);
5283 SWIG_addvarlink(SWIG_globals,"wxWHITE",_wrap_wxWHITE_get, _wrap_wxWHITE_set);
5284 SWIG_addvarlink(SWIG_globals,"wxRED",_wrap_wxRED_get, _wrap_wxRED_set);
5285 SWIG_addvarlink(SWIG_globals,"wxBLUE",_wrap_wxBLUE_get, _wrap_wxBLUE_set);
5286 SWIG_addvarlink(SWIG_globals,"wxGREEN",_wrap_wxGREEN_get, _wrap_wxGREEN_set);
5287 SWIG_addvarlink(SWIG_globals,"wxCYAN",_wrap_wxCYAN_get, _wrap_wxCYAN_set);
5288 SWIG_addvarlink(SWIG_globals,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get, _wrap_wxLIGHT_GREY_set);
5289 SWIG_addvarlink(SWIG_globals,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get, _wrap_wxSTANDARD_CURSOR_set);
5290 SWIG_addvarlink(SWIG_globals,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get, _wrap_wxHOURGLASS_CURSOR_set);
5291 SWIG_addvarlink(SWIG_globals,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get, _wrap_wxCROSS_CURSOR_set);
5292 SWIG_addvarlink(SWIG_globals,"wxNullBitmap",_wrap_wxNullBitmap_get, _wrap_wxNullBitmap_set);
5293 SWIG_addvarlink(SWIG_globals,"wxNullIcon",_wrap_wxNullIcon_get, _wrap_wxNullIcon_set);
5294 SWIG_addvarlink(SWIG_globals,"wxNullCursor",_wrap_wxNullCursor_get, _wrap_wxNullCursor_set);
5295 SWIG_addvarlink(SWIG_globals,"wxNullPen",_wrap_wxNullPen_get, _wrap_wxNullPen_set);
5296 SWIG_addvarlink(SWIG_globals,"wxNullBrush",_wrap_wxNullBrush_get, _wrap_wxNullBrush_set);
5297 SWIG_addvarlink(SWIG_globals,"wxNullPalette",_wrap_wxNullPalette_get, _wrap_wxNullPalette_set);
5298 SWIG_addvarlink(SWIG_globals,"wxNullFont",_wrap_wxNullFont_get, _wrap_wxNullFont_set);
5299 SWIG_addvarlink(SWIG_globals,"wxNullColour",_wrap_wxNullColour_get, _wrap_wxNullColour_set);
5300 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL));
5301 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT));
5302 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED));
5303 PyDict_SetItemString(d,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED));
5304 PyDict_SetItemString(d,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL));
5305 PyDict_SetItemString(d,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL));
5306 PyDict_SetItemString(d,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE));
5307 /*
5308 * These are the pointer type-equivalency mappings.
5309 * (Used by the SWIG pointer type-checker).
5310 */
5311 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
5312 SWIG_RegisterMapping("_signed_long","_long",0);
5313 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
5314 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
5315 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
5316 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
5317 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
5318 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
5319 SWIG_RegisterMapping("_byte","_unsigned_char",0);
5320 SWIG_RegisterMapping("_long","_wxDash",0);
5321 SWIG_RegisterMapping("_long","_unsigned_long",0);
5322 SWIG_RegisterMapping("_long","_signed_long",0);
5323 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
5324 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
5325 SWIG_RegisterMapping("_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC);
5326 SWIG_RegisterMapping("_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC);
5327 SWIG_RegisterMapping("_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC);
5328 SWIG_RegisterMapping("_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC);
5329 SWIG_RegisterMapping("_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC);
5330 SWIG_RegisterMapping("_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC);
5331 SWIG_RegisterMapping("_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC);
5332 SWIG_RegisterMapping("_wxDC","_wxClientDC",SwigwxClientDCTowxDC);
5333 SWIG_RegisterMapping("_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC);
5334 SWIG_RegisterMapping("_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC);
5335 SWIG_RegisterMapping("_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC);
5336 SWIG_RegisterMapping("_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC);
5337 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
5338 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
5339 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
5340 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
5341 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
5342 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
5343 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
5344 SWIG_RegisterMapping("_uint","_unsigned_int",0);
5345 SWIG_RegisterMapping("_uint","_int",0);
5346 SWIG_RegisterMapping("_uint","_wxWindowID",0);
5347 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
5348 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
5349 SWIG_RegisterMapping("_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap);
5350 SWIG_RegisterMapping("_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap);
5351 SWIG_RegisterMapping("_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap);
5352 SWIG_RegisterMapping("_wxBitmap","_wxIcon",SwigwxIconTowxBitmap);
5353 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
5354 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
5355 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
5356 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
5357 SWIG_RegisterMapping("_EBool","_signed_int",0);
5358 SWIG_RegisterMapping("_EBool","_int",0);
5359 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
5360 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
5361 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
5362 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
5363 SWIG_RegisterMapping("_unsigned_long","_long",0);
5364 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
5365 SWIG_RegisterMapping("_class_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC);
5366 SWIG_RegisterMapping("_class_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC);
5367 SWIG_RegisterMapping("_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC);
5368 SWIG_RegisterMapping("_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC);
5369 SWIG_RegisterMapping("_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC);
5370 SWIG_RegisterMapping("_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC);
5371 SWIG_RegisterMapping("_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC);
5372 SWIG_RegisterMapping("_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC);
5373 SWIG_RegisterMapping("_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC);
5374 SWIG_RegisterMapping("_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC);
5375 SWIG_RegisterMapping("_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC);
5376 SWIG_RegisterMapping("_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC);
5377 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
5378 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
5379 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
5380 SWIG_RegisterMapping("_signed_int","_EBool",0);
5381 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
5382 SWIG_RegisterMapping("_signed_int","_int",0);
5383 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
5384 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
5385 SWIG_RegisterMapping("_WXTYPE","_short",0);
5386 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
5387 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
5388 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
5389 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
5390 SWIG_RegisterMapping("_unsigned_short","_short",0);
5391 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
5392 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
5393 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
5394 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
5395 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
5396 SWIG_RegisterMapping("_signed_short","_short",0);
5397 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
5398 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
5399 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
5400 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
5401 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
5402 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
5403 SWIG_RegisterMapping("_unsigned_char","_byte",0);
5404 SWIG_RegisterMapping("_unsigned_int","_uint",0);
5405 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
5406 SWIG_RegisterMapping("_unsigned_int","_int",0);
5407 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
5408 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
5409 SWIG_RegisterMapping("_short","_WXTYPE",0);
5410 SWIG_RegisterMapping("_short","_unsigned_short",0);
5411 SWIG_RegisterMapping("_short","_signed_short",0);
5412 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
5413 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
5414 SWIG_RegisterMapping("_wxWindowID","_uint",0);
5415 SWIG_RegisterMapping("_wxWindowID","_int",0);
5416 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
5417 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
5418 SWIG_RegisterMapping("_int","_EBool",0);
5419 SWIG_RegisterMapping("_int","_uint",0);
5420 SWIG_RegisterMapping("_int","_wxWindowID",0);
5421 SWIG_RegisterMapping("_int","_unsigned_int",0);
5422 SWIG_RegisterMapping("_int","_signed_int",0);
5423 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
5424 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
5425 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
5426 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
5427 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
5428 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
5429 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
5430 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
5431 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
5432 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
5433 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
5434 SWIG_RegisterMapping("_class_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap);
5435 SWIG_RegisterMapping("_class_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap);
5436 SWIG_RegisterMapping("_class_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap);
5437 SWIG_RegisterMapping("_class_wxBitmap","_wxIcon",SwigwxIconTowxBitmap);
5438 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
5439 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
5440 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
5441 SWIG_RegisterMapping("_wxDash","_long",0);
5442 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
5443 }