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