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