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