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