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