4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
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.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initgdic
54 #define SWIG_name "gdic"
57 #include <wx/metafile.h>
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
63 } else if (target
== Py_None
) {
67 if (!PyList_Check(target
)) {
69 target
= PyList_New(0);
70 PyList_Append(target
, o2
);
73 PyList_Append(target
,o
);
79 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
85 } else if (target
== Py_None
) {
89 if (!PyTuple_Check(target
)) {
91 target
= PyTuple_New(1);
92 PyTuple_SetItem(target
, 0, o2
);
95 PyTuple_SetItem(o3
, 0, o
);
98 target
= PySequence_Concat(o2
, o3
);
106 extern int* int_LIST_helper(PyObject
* source
);
107 extern long* long_LIST_helper(PyObject
* source
);
108 extern char** string_LIST_helper(PyObject
* source
);
109 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
110 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
111 extern wxString
* wxString_LIST_helper(PyObject
* source
);
113 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
117 static char* wxStringErrorMsg
= "string type is required for parameter";
118 // Alternate 'constructor'
119 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
120 return new wxBitmap(width
, height
, depth
);
123 // This one won't own the reference, so Python won't call
124 // the dtor, this is good for toolbars and such where
125 // the parent will manage the bitmap.
126 wxBitmap
* wxNoRefBitmap(char* name
, long flags
) {
127 return new wxBitmap(name
, flags
);
130 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
131 return new wxMask(bitmap
, colour
);
133 // Alternate 'constructor'
134 wxCursor
* wxPyStockCursor(int id
) {
135 return new wxCursor(id
);
137 // Alternate 'constructor'
138 wxColour
* wxNamedColour(const wxString
& colorName
) {
139 return new wxColour(colorName
);
141 // Alternate 'constructor'
142 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
143 return new wxMemoryDC(oldDC
);
145 extern wxFont
* wxNORMAL_FONT
;
146 extern wxFont
* wxSMALL_FONT
;
147 extern wxFont
* wxITALIC_FONT
;
148 extern wxFont
* wxSWISS_FONT
;
149 extern wxPen
* wxRED_PEN
;
150 extern wxPen
* wxCYAN_PEN
;
151 extern wxPen
* wxGREEN_PEN
;
152 extern wxPen
* wxBLACK_PEN
;
153 extern wxPen
* wxWHITE_PEN
;
154 extern wxPen
* wxTRANSPARENT_PEN
;
155 extern wxPen
* wxBLACK_DASHED_PEN
;
156 extern wxPen
* wxGREY_PEN
;
157 extern wxPen
* wxMEDIUM_GREY_PEN
;
158 extern wxPen
* wxLIGHT_GREY_PEN
;
159 extern wxBrush
* wxBLUE_BRUSH
;
160 extern wxBrush
* wxGREEN_BRUSH
;
161 extern wxBrush
* wxWHITE_BRUSH
;
162 extern wxBrush
* wxBLACK_BRUSH
;
163 extern wxBrush
* wxTRANSPARENT_BRUSH
;
164 extern wxBrush
* wxCYAN_BRUSH
;
165 extern wxBrush
* wxRED_BRUSH
;
166 extern wxBrush
* wxGREY_BRUSH
;
167 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
168 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
169 extern wxColour
* wxBLACK
;
170 extern wxColour
* wxWHITE
;
171 extern wxColour
* wxRED
;
172 extern wxColour
* wxBLUE
;
173 extern wxColour
* wxGREEN
;
174 extern wxColour
* wxCYAN
;
175 extern wxColour
* wxLIGHT_GREY
;
176 extern wxCursor
* wxSTANDARD_CURSOR
;
177 extern wxCursor
* wxHOURGLASS_CURSOR
;
178 extern wxCursor
* wxCROSS_CURSOR
;
179 extern wxBitmap wxNullBitmap
;
180 extern wxIcon wxNullIcon
;
181 extern wxCursor wxNullCursor
;
182 extern wxPen wxNullPen
;
183 extern wxBrush wxNullBrush
;
184 extern wxPalette wxNullPalette
;
185 extern wxFont wxNullFont
;
186 extern wxColour wxNullColour
;
187 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
) {
188 PyObject
* _resultobj
;
196 if(!PyArg_ParseTuple(args
,"ii|i:wxEmptyBitmap",&_arg0
,&_arg1
,&_arg2
))
198 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
199 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
200 _resultobj
= Py_BuildValue("s",_ptemp
);
204 static PyObject
*_wrap_wxNoRefBitmap(PyObject
*self
, PyObject
*args
) {
205 PyObject
* _resultobj
;
212 if(!PyArg_ParseTuple(args
,"sl:wxNoRefBitmap",&_arg0
,&_arg1
))
214 _result
= (wxBitmap
*)wxNoRefBitmap(_arg0
,_arg1
);
215 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
216 _resultobj
= Py_BuildValue("s",_ptemp
);
220 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
) {
221 PyObject
* _resultobj
;
230 if(!PyArg_ParseTuple(args
,"ss:wxMaskColour",&_argc0
,&_argc1
))
233 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
239 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMaskColour. Expected _wxColour_p.");
244 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
245 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
246 _resultobj
= Py_BuildValue("s",_ptemp
);
250 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
) {
251 PyObject
* _resultobj
;
257 if(!PyArg_ParseTuple(args
,"i:wxStockCursor",&_arg0
))
259 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
260 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
261 _resultobj
= Py_BuildValue("s",_ptemp
);
265 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
) {
266 PyObject
* _resultobj
;
269 PyObject
* _obj0
= 0;
273 if(!PyArg_ParseTuple(args
,"O:wxNamedColour",&_obj0
))
276 if (!PyString_Check(_obj0
)) {
277 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
280 _arg0
= new wxString(PyString_AsString(_obj0
));
282 _result
= (wxColour
*)wxNamedColour(*_arg0
);
283 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
284 _resultobj
= Py_BuildValue("s",_ptemp
);
292 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
) {
293 PyObject
* _resultobj
;
294 wxMemoryDC
* _result
;
300 if(!PyArg_ParseTuple(args
,"s:wxMemoryDCFromDC",&_argc0
))
303 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
308 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
309 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
310 _resultobj
= Py_BuildValue("s",_ptemp
);
314 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
316 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
320 static PyObject
*_wrap_wxNORMAL_FONT_get() {
324 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
325 pyobj
= PyString_FromString(ptemp
);
329 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
331 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
335 static PyObject
*_wrap_wxSMALL_FONT_get() {
339 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
340 pyobj
= PyString_FromString(ptemp
);
344 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
346 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
350 static PyObject
*_wrap_wxITALIC_FONT_get() {
354 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
355 pyobj
= PyString_FromString(ptemp
);
359 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
361 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
365 static PyObject
*_wrap_wxSWISS_FONT_get() {
369 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
370 pyobj
= PyString_FromString(ptemp
);
374 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
376 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
380 static PyObject
*_wrap_wxRED_PEN_get() {
384 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
385 pyobj
= PyString_FromString(ptemp
);
389 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
391 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
395 static PyObject
*_wrap_wxCYAN_PEN_get() {
399 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
400 pyobj
= PyString_FromString(ptemp
);
404 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
406 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
410 static PyObject
*_wrap_wxGREEN_PEN_get() {
414 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
415 pyobj
= PyString_FromString(ptemp
);
419 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
421 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
425 static PyObject
*_wrap_wxBLACK_PEN_get() {
429 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
430 pyobj
= PyString_FromString(ptemp
);
434 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
436 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
440 static PyObject
*_wrap_wxWHITE_PEN_get() {
444 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
445 pyobj
= PyString_FromString(ptemp
);
449 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
451 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
455 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
459 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
460 pyobj
= PyString_FromString(ptemp
);
464 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
466 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
470 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
474 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
475 pyobj
= PyString_FromString(ptemp
);
479 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
481 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
485 static PyObject
*_wrap_wxGREY_PEN_get() {
489 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
490 pyobj
= PyString_FromString(ptemp
);
494 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
496 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
500 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
504 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
505 pyobj
= PyString_FromString(ptemp
);
509 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
511 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
515 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
519 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
520 pyobj
= PyString_FromString(ptemp
);
524 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
526 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
530 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
534 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
535 pyobj
= PyString_FromString(ptemp
);
539 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
541 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
545 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
549 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
550 pyobj
= PyString_FromString(ptemp
);
554 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
556 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
560 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
564 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
565 pyobj
= PyString_FromString(ptemp
);
569 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
571 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
575 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
579 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
580 pyobj
= PyString_FromString(ptemp
);
584 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
586 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
590 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
594 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
595 pyobj
= PyString_FromString(ptemp
);
599 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
601 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
605 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
609 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
610 pyobj
= PyString_FromString(ptemp
);
614 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
616 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
620 static PyObject
*_wrap_wxRED_BRUSH_get() {
624 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
625 pyobj
= PyString_FromString(ptemp
);
629 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
631 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
635 static PyObject
*_wrap_wxGREY_BRUSH_get() {
639 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
640 pyobj
= PyString_FromString(ptemp
);
644 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
646 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
650 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
654 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
655 pyobj
= PyString_FromString(ptemp
);
659 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
661 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
665 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
669 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
670 pyobj
= PyString_FromString(ptemp
);
674 static int _wrap_wxBLACK_set(PyObject
*val
) {
676 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
680 static PyObject
*_wrap_wxBLACK_get() {
684 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
685 pyobj
= PyString_FromString(ptemp
);
689 static int _wrap_wxWHITE_set(PyObject
*val
) {
691 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
695 static PyObject
*_wrap_wxWHITE_get() {
699 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
700 pyobj
= PyString_FromString(ptemp
);
704 static int _wrap_wxRED_set(PyObject
*val
) {
706 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
710 static PyObject
*_wrap_wxRED_get() {
714 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
715 pyobj
= PyString_FromString(ptemp
);
719 static int _wrap_wxBLUE_set(PyObject
*val
) {
721 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
725 static PyObject
*_wrap_wxBLUE_get() {
729 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
730 pyobj
= PyString_FromString(ptemp
);
734 static int _wrap_wxGREEN_set(PyObject
*val
) {
736 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
740 static PyObject
*_wrap_wxGREEN_get() {
744 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
745 pyobj
= PyString_FromString(ptemp
);
749 static int _wrap_wxCYAN_set(PyObject
*val
) {
751 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
755 static PyObject
*_wrap_wxCYAN_get() {
759 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
760 pyobj
= PyString_FromString(ptemp
);
764 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
766 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
770 static PyObject
*_wrap_wxLIGHT_GREY_get() {
774 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
775 pyobj
= PyString_FromString(ptemp
);
779 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
781 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
785 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
789 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
790 pyobj
= PyString_FromString(ptemp
);
794 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
796 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
800 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
804 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
805 pyobj
= PyString_FromString(ptemp
);
809 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
811 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
815 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
819 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
820 pyobj
= PyString_FromString(ptemp
);
824 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
826 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
830 static PyObject
*_wrap_wxNullBitmap_get() {
834 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
835 pyobj
= PyString_FromString(ptemp
);
839 static int _wrap_wxNullIcon_set(PyObject
*val
) {
841 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
845 static PyObject
*_wrap_wxNullIcon_get() {
849 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
850 pyobj
= PyString_FromString(ptemp
);
854 static int _wrap_wxNullCursor_set(PyObject
*val
) {
856 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
860 static PyObject
*_wrap_wxNullCursor_get() {
864 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
865 pyobj
= PyString_FromString(ptemp
);
869 static int _wrap_wxNullPen_set(PyObject
*val
) {
871 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
875 static PyObject
*_wrap_wxNullPen_get() {
879 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
880 pyobj
= PyString_FromString(ptemp
);
884 static int _wrap_wxNullBrush_set(PyObject
*val
) {
886 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
890 static PyObject
*_wrap_wxNullBrush_get() {
894 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
895 pyobj
= PyString_FromString(ptemp
);
899 static int _wrap_wxNullPalette_set(PyObject
*val
) {
901 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
905 static PyObject
*_wrap_wxNullPalette_get() {
909 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
910 pyobj
= PyString_FromString(ptemp
);
914 static int _wrap_wxNullFont_set(PyObject
*val
) {
916 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
920 static PyObject
*_wrap_wxNullFont_get() {
924 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
925 pyobj
= PyString_FromString(ptemp
);
929 static int _wrap_wxNullColour_set(PyObject
*val
) {
931 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
935 static PyObject
*_wrap_wxNullColour_get() {
939 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
940 pyobj
= PyString_FromString(ptemp
);
944 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
945 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
) {
946 PyObject
* _resultobj
;
950 PyObject
* _obj0
= 0;
954 if(!PyArg_ParseTuple(args
,"Ol:new_wxBitmap",&_obj0
,&_arg1
))
957 if (!PyString_Check(_obj0
)) {
958 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
961 _arg0
= new wxString(PyString_AsString(_obj0
));
963 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
964 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
965 _resultobj
= Py_BuildValue("s",_ptemp
);
973 #define delete_wxBitmap(_swigobj) (delete _swigobj)
974 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
) {
975 PyObject
* _resultobj
;
980 if(!PyArg_ParseTuple(args
,"s:delete_wxBitmap",&_argc0
))
983 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
988 delete_wxBitmap(_arg0
);
990 _resultobj
= Py_None
;
994 #define wxBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
995 static PyObject
*_wrap_wxBitmap_Create(PyObject
*self
, PyObject
*args
) {
996 PyObject
* _resultobj
;
1004 if(!PyArg_ParseTuple(args
,"sii|i:wxBitmap_Create",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1007 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Create. Expected _wxBitmap_p.");
1012 wxBitmap_Create(_arg0
,_arg1
,_arg2
,_arg3
);
1014 _resultobj
= Py_None
;
1018 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1019 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
) {
1020 PyObject
* _resultobj
;
1026 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetDepth",&_argc0
))
1029 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1034 _result
= (int )wxBitmap_GetDepth(_arg0
);
1035 _resultobj
= Py_BuildValue("i",_result
);
1039 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1040 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
) {
1041 PyObject
* _resultobj
;
1047 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetHeight",&_argc0
))
1050 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1055 _result
= (int )wxBitmap_GetHeight(_arg0
);
1056 _resultobj
= Py_BuildValue("i",_result
);
1060 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1061 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
) {
1062 PyObject
* _resultobj
;
1063 wxPalette
* _result
;
1069 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetPalette",&_argc0
))
1072 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1077 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1078 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1079 _resultobj
= Py_BuildValue("s",_ptemp
);
1083 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1084 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
) {
1085 PyObject
* _resultobj
;
1092 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetMask",&_argc0
))
1095 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1100 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1101 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1102 _resultobj
= Py_BuildValue("s",_ptemp
);
1106 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1107 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
) {
1108 PyObject
* _resultobj
;
1114 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetWidth",&_argc0
))
1117 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1122 _result
= (int )wxBitmap_GetWidth(_arg0
);
1123 _resultobj
= Py_BuildValue("i",_result
);
1127 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1128 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
) {
1129 PyObject
* _resultobj
;
1135 PyObject
* _obj1
= 0;
1138 if(!PyArg_ParseTuple(args
,"sOl:wxBitmap_LoadFile",&_argc0
,&_obj1
,&_arg2
))
1141 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1147 if (!PyString_Check(_obj1
)) {
1148 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1151 _arg1
= new wxString(PyString_AsString(_obj1
));
1153 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1154 _resultobj
= Py_BuildValue("i",_result
);
1162 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1163 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
) {
1164 PyObject
* _resultobj
;
1170 if(!PyArg_ParseTuple(args
,"s:wxBitmap_Ok",&_argc0
))
1173 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1178 _result
= (bool )wxBitmap_Ok(_arg0
);
1179 _resultobj
= Py_BuildValue("i",_result
);
1183 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1184 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
) {
1185 PyObject
* _resultobj
;
1190 wxPalette
* _arg3
= NULL
;
1192 PyObject
* _obj1
= 0;
1196 if(!PyArg_ParseTuple(args
,"sOi|s:wxBitmap_SaveFile",&_argc0
,&_obj1
,&_arg2
,&_argc3
))
1199 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1205 if (!PyString_Check(_obj1
)) {
1206 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1209 _arg1
= new wxString(PyString_AsString(_obj1
));
1212 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPalette_p")) {
1213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1217 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1218 _resultobj
= Py_BuildValue("i",_result
);
1226 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1227 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
) {
1228 PyObject
* _resultobj
;
1234 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetDepth",&_argc0
,&_arg1
))
1237 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1242 wxBitmap_SetDepth(_arg0
,_arg1
);
1244 _resultobj
= Py_None
;
1248 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1249 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
) {
1250 PyObject
* _resultobj
;
1256 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetHeight",&_argc0
,&_arg1
))
1259 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1264 wxBitmap_SetHeight(_arg0
,_arg1
);
1266 _resultobj
= Py_None
;
1270 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1271 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
) {
1272 PyObject
* _resultobj
;
1279 if(!PyArg_ParseTuple(args
,"ss:wxBitmap_SetMask",&_argc0
,&_argc1
))
1282 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1288 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMask_p")) {
1289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1293 wxBitmap_SetMask(_arg0
,_arg1
);
1295 _resultobj
= Py_None
;
1299 #define wxBitmap_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1300 static PyObject
*_wrap_wxBitmap_SetPalette(PyObject
*self
, PyObject
*args
) {
1301 PyObject
* _resultobj
;
1308 if(!PyArg_ParseTuple(args
,"ss:wxBitmap_SetPalette",&_argc0
,&_argc1
))
1311 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetPalette. Expected _wxBitmap_p.");
1317 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPalette_p")) {
1318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetPalette. Expected _wxPalette_p.");
1322 wxBitmap_SetPalette(_arg0
,_arg1
);
1324 _resultobj
= Py_None
;
1328 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1329 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
) {
1330 PyObject
* _resultobj
;
1336 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetWidth",&_argc0
,&_arg1
))
1339 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1344 wxBitmap_SetWidth(_arg0
,_arg1
);
1346 _resultobj
= Py_None
;
1350 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1351 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
) {
1352 PyObject
* _resultobj
;
1359 if(!PyArg_ParseTuple(args
,"s:new_wxMask",&_argc0
))
1362 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1367 _result
= (wxMask
*)new_wxMask(*_arg0
);
1368 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1369 _resultobj
= Py_BuildValue("s",_ptemp
);
1373 #define delete_wxMask(_swigobj) (delete _swigobj)
1374 static PyObject
*_wrap_delete_wxMask(PyObject
*self
, PyObject
*args
) {
1375 PyObject
* _resultobj
;
1380 if(!PyArg_ParseTuple(args
,"s:delete_wxMask",&_argc0
))
1383 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMask_p")) {
1384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMask. Expected _wxMask_p.");
1388 delete_wxMask(_arg0
);
1390 _resultobj
= Py_None
;
1394 static void *SwigwxIconTowxBitmap(void *ptr
) {
1397 src
= (wxIcon
*) ptr
;
1398 dest
= (wxBitmap
*) src
;
1399 return (void *) dest
;
1402 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1403 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
) {
1404 PyObject
* _resultobj
;
1410 PyObject
* _obj0
= 0;
1414 if(!PyArg_ParseTuple(args
,"Ol|ii:new_wxIcon",&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1417 if (!PyString_Check(_obj0
)) {
1418 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1421 _arg0
= new wxString(PyString_AsString(_obj0
));
1423 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
1424 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
1425 _resultobj
= Py_BuildValue("s",_ptemp
);
1433 #define delete_wxIcon(_swigobj) (delete _swigobj)
1434 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
) {
1435 PyObject
* _resultobj
;
1440 if(!PyArg_ParseTuple(args
,"s:delete_wxIcon",&_argc0
))
1443 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1448 delete_wxIcon(_arg0
);
1450 _resultobj
= Py_None
;
1454 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
1455 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
) {
1456 PyObject
* _resultobj
;
1462 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetDepth",&_argc0
))
1465 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
1470 _result
= (int )wxIcon_GetDepth(_arg0
);
1471 _resultobj
= Py_BuildValue("i",_result
);
1475 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
1476 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
) {
1477 PyObject
* _resultobj
;
1483 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetHeight",&_argc0
))
1486 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
1491 _result
= (int )wxIcon_GetHeight(_arg0
);
1492 _resultobj
= Py_BuildValue("i",_result
);
1496 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
1497 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
) {
1498 PyObject
* _resultobj
;
1504 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetWidth",&_argc0
))
1507 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
1512 _result
= (int )wxIcon_GetWidth(_arg0
);
1513 _resultobj
= Py_BuildValue("i",_result
);
1517 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1518 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
) {
1519 PyObject
* _resultobj
;
1525 PyObject
* _obj1
= 0;
1528 if(!PyArg_ParseTuple(args
,"sOl:wxIcon_LoadFile",&_argc0
,&_obj1
,&_arg2
))
1531 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
1537 if (!PyString_Check(_obj1
)) {
1538 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1541 _arg1
= new wxString(PyString_AsString(_obj1
));
1543 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
1544 _resultobj
= Py_BuildValue("i",_result
);
1552 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
1553 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
) {
1554 PyObject
* _resultobj
;
1560 if(!PyArg_ParseTuple(args
,"s:wxIcon_Ok",&_argc0
))
1563 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
1568 _result
= (bool )wxIcon_Ok(_arg0
);
1569 _resultobj
= Py_BuildValue("i",_result
);
1573 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1574 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
) {
1575 PyObject
* _resultobj
;
1581 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetDepth",&_argc0
,&_arg1
))
1584 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
1589 wxIcon_SetDepth(_arg0
,_arg1
);
1591 _resultobj
= Py_None
;
1595 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1596 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
) {
1597 PyObject
* _resultobj
;
1603 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetHeight",&_argc0
,&_arg1
))
1606 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
1611 wxIcon_SetHeight(_arg0
,_arg1
);
1613 _resultobj
= Py_None
;
1617 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1618 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
) {
1619 PyObject
* _resultobj
;
1625 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetWidth",&_argc0
,&_arg1
))
1628 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
1633 wxIcon_SetWidth(_arg0
,_arg1
);
1635 _resultobj
= Py_None
;
1639 static void *SwigwxCursorTowxBitmap(void *ptr
) {
1642 src
= (wxCursor
*) ptr
;
1643 dest
= (wxBitmap
*) src
;
1644 return (void *) dest
;
1647 #define new_wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1648 static PyObject
*_wrap_new_wxCursor(PyObject
*self
, PyObject
*args
) {
1649 PyObject
* _resultobj
;
1655 PyObject
* _obj0
= 0;
1659 if(!PyArg_ParseTuple(args
,"Ol|ii:new_wxCursor",&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1662 if (!PyString_Check(_obj0
)) {
1663 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1666 _arg0
= new wxString(PyString_AsString(_obj0
));
1668 _result
= (wxCursor
*)new_wxCursor(*_arg0
,_arg1
,_arg2
,_arg3
);
1669 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
1670 _resultobj
= Py_BuildValue("s",_ptemp
);
1678 #define delete_wxCursor(_swigobj) (delete _swigobj)
1679 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
) {
1680 PyObject
* _resultobj
;
1685 if(!PyArg_ParseTuple(args
,"s:delete_wxCursor",&_argc0
))
1688 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
1689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
1693 delete_wxCursor(_arg0
);
1695 _resultobj
= Py_None
;
1699 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
1700 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
) {
1701 PyObject
* _resultobj
;
1707 if(!PyArg_ParseTuple(args
,"s:wxCursor_Ok",&_argc0
))
1710 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
1711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
1715 _result
= (bool )wxCursor_Ok(_arg0
);
1716 _resultobj
= Py_BuildValue("i",_result
);
1720 static wxFont
*new_wxFont(int pointSize
,int family
,int style
,int weight
,int underline
,char *faceName
) {
1722 return wxTheFontList
->FindOrCreateFont(pointSize
, family
, style
, weight
,
1723 underline
, faceName
);
1726 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
) {
1727 PyObject
* _resultobj
;
1738 if(!PyArg_ParseTuple(args
,"iiii|is:new_wxFont",&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1740 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1741 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1742 _resultobj
= Py_BuildValue("s",_ptemp
);
1746 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
1747 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
) {
1748 PyObject
* _resultobj
;
1754 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFaceName",&_argc0
))
1757 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
1762 _result
= new wxString (wxFont_GetFaceName(_arg0
));
1764 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1772 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
1773 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
) {
1774 PyObject
* _resultobj
;
1780 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFamily",&_argc0
))
1783 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
1788 _result
= (int )wxFont_GetFamily(_arg0
);
1789 _resultobj
= Py_BuildValue("i",_result
);
1793 #define wxFont_GetFontId(_swigobj) (_swigobj->GetFontId())
1794 static PyObject
*_wrap_wxFont_GetFontId(PyObject
*self
, PyObject
*args
) {
1795 PyObject
* _resultobj
;
1801 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFontId",&_argc0
))
1804 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFontId. Expected _wxFont_p.");
1809 _result
= (int )wxFont_GetFontId(_arg0
);
1810 _resultobj
= Py_BuildValue("i",_result
);
1814 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
1815 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
) {
1816 PyObject
* _resultobj
;
1822 if(!PyArg_ParseTuple(args
,"s:wxFont_GetPointSize",&_argc0
))
1825 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
1830 _result
= (int )wxFont_GetPointSize(_arg0
);
1831 _resultobj
= Py_BuildValue("i",_result
);
1835 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
1836 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
) {
1837 PyObject
* _resultobj
;
1843 if(!PyArg_ParseTuple(args
,"s:wxFont_GetStyle",&_argc0
))
1846 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
1851 _result
= (int )wxFont_GetStyle(_arg0
);
1852 _resultobj
= Py_BuildValue("i",_result
);
1856 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
1857 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
) {
1858 PyObject
* _resultobj
;
1864 if(!PyArg_ParseTuple(args
,"s:wxFont_GetUnderlined",&_argc0
))
1867 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
1872 _result
= (bool )wxFont_GetUnderlined(_arg0
);
1873 _resultobj
= Py_BuildValue("i",_result
);
1877 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
1878 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
) {
1879 PyObject
* _resultobj
;
1885 if(!PyArg_ParseTuple(args
,"s:wxFont_GetWeight",&_argc0
))
1888 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
1893 _result
= (int )wxFont_GetWeight(_arg0
);
1894 _resultobj
= Py_BuildValue("i",_result
);
1898 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
1899 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
) {
1900 PyObject
* _resultobj
;
1904 PyObject
* _obj1
= 0;
1907 if(!PyArg_ParseTuple(args
,"sO:wxFont_SetFaceName",&_argc0
,&_obj1
))
1910 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
1916 if (!PyString_Check(_obj1
)) {
1917 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1920 _arg1
= new wxString(PyString_AsString(_obj1
));
1922 wxFont_SetFaceName(_arg0
,*_arg1
);
1924 _resultobj
= Py_None
;
1932 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
1933 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
) {
1934 PyObject
* _resultobj
;
1940 if(!PyArg_ParseTuple(args
,"si:wxFont_SetFamily",&_argc0
,&_arg1
))
1943 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
1948 wxFont_SetFamily(_arg0
,_arg1
);
1950 _resultobj
= Py_None
;
1954 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
1955 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
) {
1956 PyObject
* _resultobj
;
1962 if(!PyArg_ParseTuple(args
,"si:wxFont_SetPointSize",&_argc0
,&_arg1
))
1965 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
1970 wxFont_SetPointSize(_arg0
,_arg1
);
1972 _resultobj
= Py_None
;
1976 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1977 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
) {
1978 PyObject
* _resultobj
;
1984 if(!PyArg_ParseTuple(args
,"si:wxFont_SetStyle",&_argc0
,&_arg1
))
1987 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
1992 wxFont_SetStyle(_arg0
,_arg1
);
1994 _resultobj
= Py_None
;
1998 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
1999 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
) {
2000 PyObject
* _resultobj
;
2007 if(!PyArg_ParseTuple(args
,"si:wxFont_SetUnderlined",&_argc0
,&tempbool1
))
2010 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
2015 _arg1
= (bool ) tempbool1
;
2016 wxFont_SetUnderlined(_arg0
,_arg1
);
2018 _resultobj
= Py_None
;
2022 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2023 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
) {
2024 PyObject
* _resultobj
;
2030 if(!PyArg_ParseTuple(args
,"si:wxFont_SetWeight",&_argc0
,&_arg1
))
2033 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
2038 wxFont_SetWeight(_arg0
,_arg1
);
2040 _resultobj
= Py_None
;
2044 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
2045 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
) {
2046 PyObject
* _resultobj
;
2048 unsigned char _arg0
= 0;
2049 unsigned char _arg1
= 0;
2050 unsigned char _arg2
= 0;
2054 if(!PyArg_ParseTuple(args
,"|bbb:new_wxColour",&_arg0
,&_arg1
,&_arg2
))
2056 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
2057 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2058 _resultobj
= Py_BuildValue("s",_ptemp
);
2062 #define delete_wxColour(_swigobj) (delete _swigobj)
2063 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
) {
2064 PyObject
* _resultobj
;
2069 if(!PyArg_ParseTuple(args
,"s:delete_wxColour",&_argc0
))
2072 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColour. Expected _wxColour_p.");
2077 delete_wxColour(_arg0
);
2079 _resultobj
= Py_None
;
2083 #define wxColour_Red(_swigobj) (_swigobj->Red())
2084 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
) {
2085 PyObject
* _resultobj
;
2086 unsigned char _result
;
2091 if(!PyArg_ParseTuple(args
,"s:wxColour_Red",&_argc0
))
2094 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Red. Expected _wxColour_p.");
2099 _result
= (unsigned char )wxColour_Red(_arg0
);
2100 _resultobj
= Py_BuildValue("b",_result
);
2104 #define wxColour_Green(_swigobj) (_swigobj->Green())
2105 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
) {
2106 PyObject
* _resultobj
;
2107 unsigned char _result
;
2112 if(!PyArg_ParseTuple(args
,"s:wxColour_Green",&_argc0
))
2115 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Green. Expected _wxColour_p.");
2120 _result
= (unsigned char )wxColour_Green(_arg0
);
2121 _resultobj
= Py_BuildValue("b",_result
);
2125 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
2126 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
) {
2127 PyObject
* _resultobj
;
2128 unsigned char _result
;
2133 if(!PyArg_ParseTuple(args
,"s:wxColour_Blue",&_argc0
))
2136 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Blue. Expected _wxColour_p.");
2141 _result
= (unsigned char )wxColour_Blue(_arg0
);
2142 _resultobj
= Py_BuildValue("b",_result
);
2146 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
2147 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
) {
2148 PyObject
* _resultobj
;
2154 if(!PyArg_ParseTuple(args
,"s:wxColour_Ok",&_argc0
))
2157 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Ok. Expected _wxColour_p.");
2162 _result
= (bool )wxColour_Ok(_arg0
);
2163 _resultobj
= Py_BuildValue("i",_result
);
2167 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2168 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
) {
2169 PyObject
* _resultobj
;
2171 unsigned char _arg1
;
2172 unsigned char _arg2
;
2173 unsigned char _arg3
;
2177 if(!PyArg_ParseTuple(args
,"sbbb:wxColour_Set",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2180 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Set. Expected _wxColour_p.");
2185 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2187 _resultobj
= Py_None
;
2191 static PyObject
* wxColour_Get(wxColour
*self
) {
2192 PyObject
* rv
= PyTuple_New(3);
2193 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
2194 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
2195 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
2198 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
) {
2199 PyObject
* _resultobj
;
2205 if(!PyArg_ParseTuple(args
,"s:wxColour_Get",&_argc0
))
2208 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Get. Expected _wxColour_p.");
2213 _result
= (PyObject
*)wxColour_Get(_arg0
);
2215 _resultobj
= _result
;
2220 static wxPen
*new_wxPen(wxColour
*colour
,int width
,int style
) {
2221 return wxThePenList
->FindOrCreatePen(*colour
, width
, style
);
2224 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
) {
2225 PyObject
* _resultobj
;
2229 int _arg2
= (wxSOLID
);
2234 if(!PyArg_ParseTuple(args
,"s|ii:new_wxPen",&_argc0
,&_arg1
,&_arg2
))
2237 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPen. Expected _wxColour_p.");
2242 _result
= (wxPen
*)new_wxPen(_arg0
,_arg1
,_arg2
);
2243 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
2244 _resultobj
= Py_BuildValue("s",_ptemp
);
2248 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
2249 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
) {
2250 PyObject
* _resultobj
;
2256 if(!PyArg_ParseTuple(args
,"s:wxPen_GetCap",&_argc0
))
2259 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
2264 _result
= (int )wxPen_GetCap(_arg0
);
2265 _resultobj
= Py_BuildValue("i",_result
);
2269 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
2270 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
) {
2271 PyObject
* _resultobj
;
2278 if(!PyArg_ParseTuple(args
,"s:wxPen_GetColour",&_argc0
))
2281 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
2286 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
2287 _result
= (wxColour
*) &_result_ref
;
2288 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2289 _resultobj
= Py_BuildValue("s",_ptemp
);
2293 #define wxPen_GetDashes(_swigobj,_swigarg0) (_swigobj->GetDashes(_swigarg0))
2294 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
) {
2295 PyObject
* _resultobj
;
2303 if(!PyArg_ParseTuple(args
,"ss:wxPen_GetDashes",&_argc0
,&_argc1
))
2306 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
2312 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDash_pp")) {
2313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_GetDashes. Expected _wxDash_pp.");
2317 _result
= (int )wxPen_GetDashes(_arg0
,_arg1
);
2318 _resultobj
= Py_BuildValue("i",_result
);
2322 #define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
2323 static PyObject
*_wrap_wxPen_GetStipple(PyObject
*self
, PyObject
*args
) {
2324 PyObject
* _resultobj
;
2331 if(!PyArg_ParseTuple(args
,"s:wxPen_GetStipple",&_argc0
))
2334 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStipple. Expected _wxPen_p.");
2339 _result
= (wxBitmap
*)wxPen_GetStipple(_arg0
);
2340 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
2341 _resultobj
= Py_BuildValue("s",_ptemp
);
2345 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
2346 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
) {
2347 PyObject
* _resultobj
;
2353 if(!PyArg_ParseTuple(args
,"s:wxPen_GetJoin",&_argc0
))
2356 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
2361 _result
= (int )wxPen_GetJoin(_arg0
);
2362 _resultobj
= Py_BuildValue("i",_result
);
2366 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
2367 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
) {
2368 PyObject
* _resultobj
;
2374 if(!PyArg_ParseTuple(args
,"s:wxPen_GetStyle",&_argc0
))
2377 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
2382 _result
= (int )wxPen_GetStyle(_arg0
);
2383 _resultobj
= Py_BuildValue("i",_result
);
2387 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
2388 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
) {
2389 PyObject
* _resultobj
;
2395 if(!PyArg_ParseTuple(args
,"s:wxPen_GetWidth",&_argc0
))
2398 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
2403 _result
= (int )wxPen_GetWidth(_arg0
);
2404 _resultobj
= Py_BuildValue("i",_result
);
2408 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
2409 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
) {
2410 PyObject
* _resultobj
;
2416 if(!PyArg_ParseTuple(args
,"s:wxPen_Ok",&_argc0
))
2419 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
2424 _result
= (bool )wxPen_Ok(_arg0
);
2425 _resultobj
= Py_BuildValue("i",_result
);
2429 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
2430 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
) {
2431 PyObject
* _resultobj
;
2437 if(!PyArg_ParseTuple(args
,"si:wxPen_SetCap",&_argc0
,&_arg1
))
2440 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
2445 wxPen_SetCap(_arg0
,_arg1
);
2447 _resultobj
= Py_None
;
2451 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2452 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
) {
2453 PyObject
* _resultobj
;
2460 if(!PyArg_ParseTuple(args
,"ss:wxPen_SetColour",&_argc0
,&_argc1
))
2463 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
2469 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetColour. Expected _wxColour_p.");
2474 wxPen_SetColour(_arg0
,*_arg1
);
2476 _resultobj
= Py_None
;
2480 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
2481 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
) {
2482 PyObject
* _resultobj
;
2487 PyObject
* _obj2
= 0;
2490 if(!PyArg_ParseTuple(args
,"sO:wxPen_SetDashes",&_argc0
,&_obj2
))
2493 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
2500 _arg2
= (unsigned long*)long_LIST_helper(_obj2
);
2501 if (_arg2
== NULL
) {
2506 _arg1
= PyList_Size(_obj2
);
2508 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
2510 _resultobj
= Py_None
;
2517 #define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
2518 static PyObject
*_wrap_wxPen_SetStipple(PyObject
*self
, PyObject
*args
) {
2519 PyObject
* _resultobj
;
2526 if(!PyArg_ParseTuple(args
,"ss:wxPen_SetStipple",&_argc0
,&_argc1
))
2529 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
2535 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
2536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
2540 wxPen_SetStipple(_arg0
,_arg1
);
2542 _resultobj
= Py_None
;
2546 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
2547 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
) {
2548 PyObject
* _resultobj
;
2554 if(!PyArg_ParseTuple(args
,"si:wxPen_SetJoin",&_argc0
,&_arg1
))
2557 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
2562 wxPen_SetJoin(_arg0
,_arg1
);
2564 _resultobj
= Py_None
;
2568 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2569 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
) {
2570 PyObject
* _resultobj
;
2576 if(!PyArg_ParseTuple(args
,"si:wxPen_SetStyle",&_argc0
,&_arg1
))
2579 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
2584 wxPen_SetStyle(_arg0
,_arg1
);
2586 _resultobj
= Py_None
;
2590 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2591 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
) {
2592 PyObject
* _resultobj
;
2598 if(!PyArg_ParseTuple(args
,"si:wxPen_SetWidth",&_argc0
,&_arg1
))
2601 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
2606 wxPen_SetWidth(_arg0
,_arg1
);
2608 _resultobj
= Py_None
;
2612 static wxBrush
*new_wxBrush(wxColour
*colour
,int style
) {
2613 return wxTheBrushList
->FindOrCreateBrush(*colour
, style
);
2616 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
) {
2617 PyObject
* _resultobj
;
2620 int _arg1
= (wxSOLID
);
2625 if(!PyArg_ParseTuple(args
,"s|i:new_wxBrush",&_argc0
,&_arg1
))
2628 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBrush. Expected _wxColour_p.");
2633 _result
= (wxBrush
*)new_wxBrush(_arg0
,_arg1
);
2634 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
2635 _resultobj
= Py_BuildValue("s",_ptemp
);
2639 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
2640 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
) {
2641 PyObject
* _resultobj
;
2648 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetColour",&_argc0
))
2651 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
2656 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
2657 _result
= (wxColour
*) &_result_ref
;
2658 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2659 _resultobj
= Py_BuildValue("s",_ptemp
);
2663 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
2664 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
) {
2665 PyObject
* _resultobj
;
2672 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetStipple",&_argc0
))
2675 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
2680 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
2681 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
2682 _resultobj
= Py_BuildValue("s",_ptemp
);
2686 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
2687 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
) {
2688 PyObject
* _resultobj
;
2694 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetStyle",&_argc0
))
2697 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
2702 _result
= (int )wxBrush_GetStyle(_arg0
);
2703 _resultobj
= Py_BuildValue("i",_result
);
2707 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
2708 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
) {
2709 PyObject
* _resultobj
;
2715 if(!PyArg_ParseTuple(args
,"s:wxBrush_Ok",&_argc0
))
2718 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
2723 _result
= (bool )wxBrush_Ok(_arg0
);
2724 _resultobj
= Py_BuildValue("i",_result
);
2728 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2729 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
) {
2730 PyObject
* _resultobj
;
2737 if(!PyArg_ParseTuple(args
,"ss:wxBrush_SetColour",&_argc0
,&_argc1
))
2740 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
2746 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetColour. Expected _wxColour_p.");
2751 wxBrush_SetColour(_arg0
,*_arg1
);
2753 _resultobj
= Py_None
;
2757 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
2758 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
) {
2759 PyObject
* _resultobj
;
2766 if(!PyArg_ParseTuple(args
,"ss:wxBrush_SetStipple",&_argc0
,&_argc1
))
2769 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
2775 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
2776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
2780 wxBrush_SetStipple(_arg0
,_arg1
);
2782 _resultobj
= Py_None
;
2786 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2787 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
) {
2788 PyObject
* _resultobj
;
2794 if(!PyArg_ParseTuple(args
,"si:wxBrush_SetStyle",&_argc0
,&_arg1
))
2797 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
2802 wxBrush_SetStyle(_arg0
,_arg1
);
2804 _resultobj
= Py_None
;
2808 #define delete_wxDC(_swigobj) (delete _swigobj)
2809 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
) {
2810 PyObject
* _resultobj
;
2815 if(!PyArg_ParseTuple(args
,"s:delete_wxDC",&_argc0
))
2818 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
2825 _resultobj
= Py_None
;
2829 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
2830 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
) {
2831 PyObject
* _resultobj
;
2836 if(!PyArg_ParseTuple(args
,"s:wxDC_BeginDrawing",&_argc0
))
2839 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
2844 wxDC_BeginDrawing(_arg0
);
2846 _resultobj
= Py_None
;
2850 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2851 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
) {
2852 PyObject
* _resultobj
;
2867 if(!PyArg_ParseTuple(args
,"sllllslll:wxDC_Blit",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argc5
,&_arg6
,&_arg7
,&_arg8
))
2870 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
2876 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxDC_p")) {
2877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
2881 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
);
2882 _resultobj
= Py_BuildValue("i",_result
);
2886 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
2887 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
) {
2888 PyObject
* _resultobj
;
2893 if(!PyArg_ParseTuple(args
,"s:wxDC_Clear",&_argc0
))
2896 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
2903 _resultobj
= Py_None
;
2907 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
2908 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
) {
2909 PyObject
* _resultobj
;
2916 if(!PyArg_ParseTuple(args
,"sll:wxDC_CrossHair",&_argc0
,&_arg1
,&_arg2
))
2919 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
2924 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
2926 _resultobj
= Py_None
;
2930 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
2931 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
) {
2932 PyObject
* _resultobj
;
2937 if(!PyArg_ParseTuple(args
,"s:wxDC_DestroyClippingRegion",&_argc0
))
2940 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
2945 wxDC_DestroyClippingRegion(_arg0
);
2947 _resultobj
= Py_None
;
2951 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
2952 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
) {
2953 PyObject
* _resultobj
;
2960 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalX",&_argc0
,&_arg1
))
2963 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
2968 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
2969 _resultobj
= Py_BuildValue("l",_result
);
2973 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
2974 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
) {
2975 PyObject
* _resultobj
;
2982 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalXRel",&_argc0
,&_arg1
))
2985 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
2990 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
2991 _resultobj
= Py_BuildValue("l",_result
);
2995 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
2996 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
) {
2997 PyObject
* _resultobj
;
3004 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalY",&_argc0
,&_arg1
))
3007 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
3012 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
3013 _resultobj
= Py_BuildValue("l",_result
);
3017 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
3018 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
) {
3019 PyObject
* _resultobj
;
3026 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalYRel",&_argc0
,&_arg1
))
3029 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
3034 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
3035 _resultobj
= Py_BuildValue("l",_result
);
3039 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3040 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
) {
3041 PyObject
* _resultobj
;
3052 if(!PyArg_ParseTuple(args
,"sllllll:wxDC_DrawArc",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3055 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
3060 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3062 _resultobj
= Py_None
;
3066 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3067 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
) {
3068 PyObject
* _resultobj
;
3077 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawEllipse",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3080 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
3085 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3087 _resultobj
= Py_None
;
3091 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3092 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
) {
3093 PyObject
* _resultobj
;
3104 if(!PyArg_ParseTuple(args
,"sllllll:wxDC_DrawEllipticArc",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3107 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
3112 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3114 _resultobj
= Py_None
;
3118 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
3119 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
) {
3120 PyObject
* _resultobj
;
3129 if(!PyArg_ParseTuple(args
,"ssll:wxDC_DrawIcon",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
3132 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
3138 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxIcon_p")) {
3139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
3143 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
3145 _resultobj
= Py_None
;
3149 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3150 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
) {
3151 PyObject
* _resultobj
;
3160 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawLine",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3163 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
3168 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3170 _resultobj
= Py_None
;
3174 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3175 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
) {
3176 PyObject
* _resultobj
;
3183 PyObject
* _obj2
= 0;
3186 if(!PyArg_ParseTuple(args
,"sO|ll:wxDC_DrawLines",&_argc0
,&_obj2
,&_arg3
,&_arg4
))
3189 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
3196 _arg2
= wxPoint_LIST_helper(_obj2
);
3197 if (_arg2
== NULL
) {
3202 _arg1
= PyList_Size(_obj2
);
3204 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3206 _resultobj
= Py_None
;
3213 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3214 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
) {
3215 PyObject
* _resultobj
;
3221 int _arg5
= (wxODDEVEN_RULE
);
3223 PyObject
* _obj2
= 0;
3226 if(!PyArg_ParseTuple(args
,"sO|lli:wxDC_DrawPolygon",&_argc0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
3229 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
3236 _arg2
= wxPoint_LIST_helper(_obj2
);
3237 if (_arg2
== NULL
) {
3242 _arg1
= PyList_Size(_obj2
);
3244 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3246 _resultobj
= Py_None
;
3253 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
3254 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
) {
3255 PyObject
* _resultobj
;
3262 if(!PyArg_ParseTuple(args
,"sll:wxDC_DrawPoint",&_argc0
,&_arg1
,&_arg2
))
3265 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
3270 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
3272 _resultobj
= Py_None
;
3276 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3277 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
) {
3278 PyObject
* _resultobj
;
3287 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawRectangle",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3290 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
3295 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3297 _resultobj
= Py_None
;
3301 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3302 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
) {
3303 PyObject
* _resultobj
;
3313 if(!PyArg_ParseTuple(args
,"sllll|l:wxDC_DrawRoundedRectangle",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3316 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
3321 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3323 _resultobj
= Py_None
;
3327 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
3328 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
) {
3329 PyObject
* _resultobj
;
3334 PyObject
* _obj2
= 0;
3337 if(!PyArg_ParseTuple(args
,"sO:wxDC_DrawSpline",&_argc0
,&_obj2
))
3340 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
3347 _arg2
= wxPoint_LIST_helper(_obj2
);
3348 if (_arg2
== NULL
) {
3353 _arg1
= PyList_Size(_obj2
);
3355 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
3357 _resultobj
= Py_None
;
3364 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
3365 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
) {
3366 PyObject
* _resultobj
;
3372 PyObject
* _obj1
= 0;
3375 if(!PyArg_ParseTuple(args
,"sOll:wxDC_DrawText",&_argc0
,&_obj1
,&_arg2
,&_arg3
))
3378 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
3384 if (!PyString_Check(_obj1
)) {
3385 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3388 _arg1
= new wxString(PyString_AsString(_obj1
));
3390 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
3392 _resultobj
= Py_None
;
3400 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
3401 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
) {
3402 PyObject
* _resultobj
;
3407 if(!PyArg_ParseTuple(args
,"s:wxDC_EndDoc",&_argc0
))
3410 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
3417 _resultobj
= Py_None
;
3421 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
3422 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
) {
3423 PyObject
* _resultobj
;
3428 if(!PyArg_ParseTuple(args
,"s:wxDC_EndDrawing",&_argc0
))
3431 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
3436 wxDC_EndDrawing(_arg0
);
3438 _resultobj
= Py_None
;
3442 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
3443 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
) {
3444 PyObject
* _resultobj
;
3449 if(!PyArg_ParseTuple(args
,"s:wxDC_EndPage",&_argc0
))
3452 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
3457 wxDC_EndPage(_arg0
);
3459 _resultobj
= Py_None
;
3463 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
3464 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
) {
3465 PyObject
* _resultobj
;
3472 if(!PyArg_ParseTuple(args
,"s:wxDC_GetBackground",&_argc0
))
3475 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
3480 _result
= (wxBrush
*)wxDC_GetBackground(_arg0
);
3481 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3482 _resultobj
= Py_BuildValue("s",_ptemp
);
3486 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
3487 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
) {
3488 PyObject
* _resultobj
;
3495 if(!PyArg_ParseTuple(args
,"s:wxDC_GetBrush",&_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.");
3503 _result
= (wxBrush
*)wxDC_GetBrush(_arg0
);
3504 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3505 _resultobj
= Py_BuildValue("s",_ptemp
);
3509 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
3510 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
) {
3511 PyObject
* _resultobj
;
3517 if(!PyArg_ParseTuple(args
,"s:wxDC_GetCharHeight",&_argc0
))
3520 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
3525 _result
= (long )wxDC_GetCharHeight(_arg0
);
3526 _resultobj
= Py_BuildValue("l",_result
);
3530 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
3531 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
) {
3532 PyObject
* _resultobj
;
3538 if(!PyArg_ParseTuple(args
,"s:wxDC_GetCharWidth",&_argc0
))
3541 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
3546 _result
= (long )wxDC_GetCharWidth(_arg0
);
3547 _resultobj
= Py_BuildValue("l",_result
);
3551 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3552 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
) {
3553 PyObject
* _resultobj
;
3578 if(!PyArg_ParseTuple(args
,"s:wxDC_GetClippingBox",&_argc0
))
3581 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
3586 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3588 _resultobj
= Py_None
;
3591 o
= PyInt_FromLong((long) (*_arg1
));
3592 _resultobj
= t_output_helper(_resultobj
, o
);
3596 o
= PyInt_FromLong((long) (*_arg2
));
3597 _resultobj
= t_output_helper(_resultobj
, o
);
3601 o
= PyInt_FromLong((long) (*_arg3
));
3602 _resultobj
= t_output_helper(_resultobj
, o
);
3606 o
= PyInt_FromLong((long) (*_arg4
));
3607 _resultobj
= t_output_helper(_resultobj
, o
);
3612 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
3613 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
) {
3614 PyObject
* _resultobj
;
3621 if(!PyArg_ParseTuple(args
,"s:wxDC_GetFont",&_argc0
))
3624 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
3629 _result
= (wxFont
*)wxDC_GetFont(_arg0
);
3630 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3631 _resultobj
= Py_BuildValue("s",_ptemp
);
3635 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
3636 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
) {
3637 PyObject
* _resultobj
;
3643 if(!PyArg_ParseTuple(args
,"s:wxDC_GetLogicalFunction",&_argc0
))
3646 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
3651 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
3652 _resultobj
= Py_BuildValue("i",_result
);
3656 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
3657 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
) {
3658 PyObject
* _resultobj
;
3664 if(!PyArg_ParseTuple(args
,"s:wxDC_GetMapMode",&_argc0
))
3667 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
3672 _result
= (int )wxDC_GetMapMode(_arg0
);
3673 _resultobj
= Py_BuildValue("i",_result
);
3677 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
3678 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
) {
3679 PyObject
* _resultobj
;
3685 if(!PyArg_ParseTuple(args
,"s:wxDC_GetOptimization",&_argc0
))
3688 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
3693 _result
= (bool )wxDC_GetOptimization(_arg0
);
3694 _resultobj
= Py_BuildValue("i",_result
);
3698 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
3699 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
) {
3700 PyObject
* _resultobj
;
3707 if(!PyArg_ParseTuple(args
,"s:wxDC_GetPen",&_argc0
))
3710 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
3715 _result
= (wxPen
*)wxDC_GetPen(_arg0
);
3716 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3717 _resultobj
= Py_BuildValue("s",_ptemp
);
3721 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
3722 wxColour
* wc
= new wxColour();
3723 self
->GetPixel(x
, y
, wc
);
3726 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
) {
3727 PyObject
* _resultobj
;
3736 if(!PyArg_ParseTuple(args
,"sll:wxDC_GetPixel",&_argc0
,&_arg1
,&_arg2
))
3739 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
3744 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
3745 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3746 _resultobj
= Py_BuildValue("s",_ptemp
);
3750 #define wxDC_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
3751 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
) {
3752 PyObject
* _resultobj
;
3767 if(!PyArg_ParseTuple(args
,"s:wxDC_GetSize",&_argc0
))
3770 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
3775 wxDC_GetSize(_arg0
,_arg1
,_arg2
);
3777 _resultobj
= Py_None
;
3780 o
= PyInt_FromLong((long) (*_arg1
));
3781 _resultobj
= t_output_helper(_resultobj
, o
);
3785 o
= PyInt_FromLong((long) (*_arg2
));
3786 _resultobj
= t_output_helper(_resultobj
, o
);
3791 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
3792 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
) {
3793 PyObject
* _resultobj
;
3800 if(!PyArg_ParseTuple(args
,"s:wxDC_GetTextBackground",&_argc0
))
3803 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
3808 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
3809 _result
= (wxColour
*) &_result_ref
;
3810 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3811 _resultobj
= Py_BuildValue("s",_ptemp
);
3815 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3816 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
) {
3817 PyObject
* _resultobj
;
3829 PyObject
* _obj1
= 0;
3844 if(!PyArg_ParseTuple(args
,"sO:wxDC_GetTextExtent",&_argc0
,&_obj1
))
3847 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
3853 if (!PyString_Check(_obj1
)) {
3854 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3857 _arg1
= new wxString(PyString_AsString(_obj1
));
3859 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3861 _resultobj
= Py_None
;
3864 o
= PyInt_FromLong((long) (*_arg2
));
3865 _resultobj
= t_output_helper(_resultobj
, o
);
3869 o
= PyInt_FromLong((long) (*_arg3
));
3870 _resultobj
= t_output_helper(_resultobj
, o
);
3874 o
= PyInt_FromLong((long) (*_arg4
));
3875 _resultobj
= t_output_helper(_resultobj
, o
);
3879 o
= PyInt_FromLong((long) (*_arg5
));
3880 _resultobj
= t_output_helper(_resultobj
, o
);
3889 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
3890 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
) {
3891 PyObject
* _resultobj
;
3898 if(!PyArg_ParseTuple(args
,"s:wxDC_GetTextForeground",&_argc0
))
3901 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
3906 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
3907 _result
= (wxColour
*) &_result_ref
;
3908 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3909 _resultobj
= Py_BuildValue("s",_ptemp
);
3913 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
3914 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
) {
3915 PyObject
* _resultobj
;
3922 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceX",&_argc0
,&_arg1
))
3925 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
3930 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
3931 _resultobj
= Py_BuildValue("l",_result
);
3935 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
3936 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
) {
3937 PyObject
* _resultobj
;
3944 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceXRel",&_argc0
,&_arg1
))
3947 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
3952 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
3953 _resultobj
= Py_BuildValue("l",_result
);
3957 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
3958 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
) {
3959 PyObject
* _resultobj
;
3966 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceY",&_argc0
,&_arg1
))
3969 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
3974 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
3975 _resultobj
= Py_BuildValue("l",_result
);
3979 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
3980 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
) {
3981 PyObject
* _resultobj
;
3988 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceYRel",&_argc0
,&_arg1
))
3991 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
3996 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
3997 _resultobj
= Py_BuildValue("l",_result
);
4001 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
4002 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
) {
4003 PyObject
* _resultobj
;
4009 if(!PyArg_ParseTuple(args
,"s:wxDC_MaxX",&_argc0
))
4012 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
4017 _result
= (long )wxDC_MaxX(_arg0
);
4018 _resultobj
= Py_BuildValue("l",_result
);
4022 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
4023 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
) {
4024 PyObject
* _resultobj
;
4030 if(!PyArg_ParseTuple(args
,"s:wxDC_MaxY",&_argc0
))
4033 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
4038 _result
= (long )wxDC_MaxY(_arg0
);
4039 _resultobj
= Py_BuildValue("l",_result
);
4043 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
4044 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
) {
4045 PyObject
* _resultobj
;
4051 if(!PyArg_ParseTuple(args
,"s:wxDC_MinX",&_argc0
))
4054 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
4059 _result
= (long )wxDC_MinX(_arg0
);
4060 _resultobj
= Py_BuildValue("l",_result
);
4064 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
4065 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
) {
4066 PyObject
* _resultobj
;
4072 if(!PyArg_ParseTuple(args
,"s:wxDC_MinY",&_argc0
))
4075 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
4080 _result
= (long )wxDC_MinY(_arg0
);
4081 _resultobj
= Py_BuildValue("l",_result
);
4085 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
4086 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
) {
4087 PyObject
* _resultobj
;
4093 if(!PyArg_ParseTuple(args
,"s:wxDC_Ok",&_argc0
))
4096 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
4101 _result
= (bool )wxDC_Ok(_arg0
);
4102 _resultobj
= Py_BuildValue("i",_result
);
4106 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
4107 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
) {
4108 PyObject
* _resultobj
;
4115 if(!PyArg_ParseTuple(args
,"sll:wxDC_SetDeviceOrigin",&_argc0
,&_arg1
,&_arg2
))
4118 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
4123 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
4125 _resultobj
= Py_None
;
4129 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
4130 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
) {
4131 PyObject
* _resultobj
;
4138 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetBackground",&_argc0
,&_argc1
))
4141 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
4147 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBrush_p")) {
4148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
4152 wxDC_SetBackground(_arg0
,*_arg1
);
4154 _resultobj
= Py_None
;
4158 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
4159 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
) {
4160 PyObject
* _resultobj
;
4166 if(!PyArg_ParseTuple(args
,"si:wxDC_SetBackgroundMode",&_argc0
,&_arg1
))
4169 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
4174 wxDC_SetBackgroundMode(_arg0
,_arg1
);
4176 _resultobj
= Py_None
;
4180 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4181 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
) {
4182 PyObject
* _resultobj
;
4191 if(!PyArg_ParseTuple(args
,"sllll:wxDC_SetClippingRegion",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4194 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
4199 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4201 _resultobj
= Py_None
;
4205 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
4206 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
) {
4207 PyObject
* _resultobj
;
4214 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetPalette",&_argc0
,&_argc1
))
4217 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
4223 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPalette_p")) {
4224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
4228 wxDC_SetPalette(_arg0
,*_arg1
);
4230 _resultobj
= Py_None
;
4234 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
4235 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
) {
4236 PyObject
* _resultobj
;
4243 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetBrush",&_argc0
,&_argc1
))
4246 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
4252 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBrush_p")) {
4253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
4257 wxDC_SetBrush(_arg0
,*_arg1
);
4259 _resultobj
= Py_None
;
4263 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4264 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
) {
4265 PyObject
* _resultobj
;
4272 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetFont",&_argc0
,&_argc1
))
4275 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
4281 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
4282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
4286 wxDC_SetFont(_arg0
,*_arg1
);
4288 _resultobj
= Py_None
;
4292 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
4293 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
) {
4294 PyObject
* _resultobj
;
4300 if(!PyArg_ParseTuple(args
,"si:wxDC_SetLogicalFunction",&_argc0
,&_arg1
))
4303 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
4308 wxDC_SetLogicalFunction(_arg0
,_arg1
);
4310 _resultobj
= Py_None
;
4314 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
4315 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
) {
4316 PyObject
* _resultobj
;
4322 if(!PyArg_ParseTuple(args
,"si:wxDC_SetMapMode",&_argc0
,&_arg1
))
4325 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
4330 wxDC_SetMapMode(_arg0
,_arg1
);
4332 _resultobj
= Py_None
;
4336 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
4337 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
) {
4338 PyObject
* _resultobj
;
4345 if(!PyArg_ParseTuple(args
,"si:wxDC_SetOptimization",&_argc0
,&tempbool1
))
4348 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
4353 _arg1
= (bool ) tempbool1
;
4354 wxDC_SetOptimization(_arg0
,_arg1
);
4356 _resultobj
= Py_None
;
4360 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
4361 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
) {
4362 PyObject
* _resultobj
;
4369 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetPen",&_argc0
,&_argc1
))
4372 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
4378 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPen_p")) {
4379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
4383 wxDC_SetPen(_arg0
,*_arg1
);
4385 _resultobj
= Py_None
;
4389 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
4390 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
) {
4391 PyObject
* _resultobj
;
4398 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetTextBackground",&_argc0
,&_argc1
))
4401 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
4407 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
4408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextBackground. Expected _wxColour_p.");
4412 wxDC_SetTextBackground(_arg0
,*_arg1
);
4414 _resultobj
= Py_None
;
4418 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
4419 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
) {
4420 PyObject
* _resultobj
;
4427 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetTextForeground",&_argc0
,&_argc1
))
4430 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
4436 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
4437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextForeground. Expected _wxColour_p.");
4441 wxDC_SetTextForeground(_arg0
,*_arg1
);
4443 _resultobj
= Py_None
;
4447 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
4448 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
) {
4449 PyObject
* _resultobj
;
4456 if(!PyArg_ParseTuple(args
,"sdd:wxDC_SetUserScale",&_argc0
,&_arg1
,&_arg2
))
4459 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
4464 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
4466 _resultobj
= Py_None
;
4470 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
4471 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
) {
4472 PyObject
* _resultobj
;
4477 PyObject
* _obj1
= 0;
4480 if(!PyArg_ParseTuple(args
,"sO:wxDC_StartDoc",&_argc0
,&_obj1
))
4483 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
4489 if (!PyString_Check(_obj1
)) {
4490 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4493 _arg1
= new wxString(PyString_AsString(_obj1
));
4495 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
4496 _resultobj
= Py_BuildValue("i",_result
);
4504 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
4505 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
) {
4506 PyObject
* _resultobj
;
4511 if(!PyArg_ParseTuple(args
,"s:wxDC_StartPage",&_argc0
))
4514 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
4519 wxDC_StartPage(_arg0
);
4521 _resultobj
= Py_None
;
4525 static void wxDC_DrawBitmap(wxDC
*self
,wxBitmap
* bitmap
,long x
,long y
,bool swapPalette
) {
4526 wxMemoryDC
* memDC
= new wxMemoryDC
;
4527 memDC
->SelectObject(bitmap
);
4529 self
->SetPalette(bitmap
->GetPalette());
4530 self
->Blit(x
, y
, bitmap
->GetWidth(), bitmap
->GetHeight(), memDC
,
4531 0, 0, self
->GetLogicalFunction());
4532 memDC
->SelectObject(wxNullBitmap
);
4535 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
) {
4536 PyObject
* _resultobj
;
4547 if(!PyArg_ParseTuple(args
,"ssll|i:wxDC_DrawBitmap",&_argc0
,&_argc1
,&_arg2
,&_arg3
,&tempbool4
))
4550 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
4556 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
4557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
4561 _arg4
= (bool ) tempbool4
;
4562 wxDC_DrawBitmap(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4564 _resultobj
= Py_None
;
4568 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
4571 src
= (wxMemoryDC
*) ptr
;
4572 dest
= (wxDC
*) src
;
4573 return (void *) dest
;
4576 #define new_wxMemoryDC() (new wxMemoryDC())
4577 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
) {
4578 PyObject
* _resultobj
;
4579 wxMemoryDC
* _result
;
4583 if(!PyArg_ParseTuple(args
,":new_wxMemoryDC"))
4585 _result
= (wxMemoryDC
*)new_wxMemoryDC();
4586 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
4587 _resultobj
= Py_BuildValue("s",_ptemp
);
4591 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
4592 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
) {
4593 PyObject
* _resultobj
;
4600 if(!PyArg_ParseTuple(args
,"ss:wxMemoryDC_SelectObject",&_argc0
,&_argc1
))
4603 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
4604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
4609 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
4610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
4614 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
4616 _resultobj
= Py_None
;
4620 static void *SwigwxScreenDCTowxDC(void *ptr
) {
4623 src
= (wxScreenDC
*) ptr
;
4624 dest
= (wxDC
*) src
;
4625 return (void *) dest
;
4628 #define new_wxScreenDC() (new wxScreenDC())
4629 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
) {
4630 PyObject
* _resultobj
;
4631 wxScreenDC
* _result
;
4635 if(!PyArg_ParseTuple(args
,":new_wxScreenDC"))
4637 _result
= (wxScreenDC
*)new_wxScreenDC();
4638 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
4639 _resultobj
= Py_BuildValue("s",_ptemp
);
4643 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
4644 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
) {
4645 PyObject
* _resultobj
;
4653 if(!PyArg_ParseTuple(args
,"ss:wxScreenDC_StartDrawingOnTop",&_argc0
,&_argc1
))
4656 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
4657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
4662 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
4663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTop. Expected _wxWindow_p.");
4667 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
4668 _resultobj
= Py_BuildValue("i",_result
);
4672 #define wxScreenDC_StartDrawingOnTopRect(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
4673 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject
*self
, PyObject
*args
) {
4674 PyObject
* _resultobj
;
4677 wxRect
* _arg1
= NULL
;
4682 if(!PyArg_ParseTuple(args
,"s|s:wxScreenDC_StartDrawingOnTopRect",&_argc0
,&_argc1
))
4685 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
4686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopRect. Expected _wxScreenDC_p.");
4691 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
4692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopRect. Expected _wxRect_p.");
4696 _result
= (bool )wxScreenDC_StartDrawingOnTopRect(_arg0
,_arg1
);
4697 _resultobj
= Py_BuildValue("i",_result
);
4701 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
4702 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
) {
4703 PyObject
* _resultobj
;
4709 if(!PyArg_ParseTuple(args
,"s:wxScreenDC_EndDrawingOnTop",&_argc0
))
4712 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
4713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
4717 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
4718 _resultobj
= Py_BuildValue("i",_result
);
4722 static void *SwigwxClientDCTowxDC(void *ptr
) {
4725 src
= (wxClientDC
*) ptr
;
4726 dest
= (wxDC
*) src
;
4727 return (void *) dest
;
4730 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
4731 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
) {
4732 PyObject
* _resultobj
;
4733 wxClientDC
* _result
;
4739 if(!PyArg_ParseTuple(args
,"s:new_wxClientDC",&_argc0
))
4742 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
4743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
4747 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
4748 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
4749 _resultobj
= Py_BuildValue("s",_ptemp
);
4753 static void *SwigwxPaintDCTowxDC(void *ptr
) {
4756 src
= (wxPaintDC
*) ptr
;
4757 dest
= (wxDC
*) src
;
4758 return (void *) dest
;
4761 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
4762 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
) {
4763 PyObject
* _resultobj
;
4764 wxPaintDC
* _result
;
4770 if(!PyArg_ParseTuple(args
,"s:new_wxPaintDC",&_argc0
))
4773 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
4774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
4778 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
4779 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
4780 _resultobj
= Py_BuildValue("s",_ptemp
);
4784 static void *SwigwxPrinterDCTowxDC(void *ptr
) {
4787 src
= (wxPrinterDC
*) ptr
;
4788 dest
= (wxDC
*) src
;
4789 return (void *) dest
;
4792 #define new_wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4793 static PyObject
*_wrap_new_wxPrinterDC(PyObject
*self
, PyObject
*args
) {
4794 PyObject
* _resultobj
;
4795 wxPrinterDC
* _result
;
4800 int _arg4
= (wxPORTRAIT
);
4801 PyObject
* _obj0
= 0;
4802 PyObject
* _obj1
= 0;
4803 PyObject
* _obj2
= 0;
4808 if(!PyArg_ParseTuple(args
,"OOO|ii:new_wxPrinterDC",&_obj0
,&_obj1
,&_obj2
,&tempbool3
,&_arg4
))
4811 if (!PyString_Check(_obj0
)) {
4812 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4815 _arg0
= new wxString(PyString_AsString(_obj0
));
4818 if (!PyString_Check(_obj1
)) {
4819 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4822 _arg1
= new wxString(PyString_AsString(_obj1
));
4825 if (!PyString_Check(_obj2
)) {
4826 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4829 _arg2
= new wxString(PyString_AsString(_obj2
));
4831 _arg3
= (bool ) tempbool3
;
4832 _result
= (wxPrinterDC
*)new_wxPrinterDC(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4833 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
4834 _resultobj
= Py_BuildValue("s",_ptemp
);
4850 static void *SwigwxMetaFileDCTowxDC(void *ptr
) {
4853 src
= (wxMetaFileDC
*) ptr
;
4854 dest
= (wxDC
*) src
;
4855 return (void *) dest
;
4858 #define new_wxMetaFileDC(_swigarg0) (new wxMetaFileDC(_swigarg0))
4859 static PyObject
*_wrap_new_wxMetaFileDC(PyObject
*self
, PyObject
*args
) {
4860 PyObject
* _resultobj
;
4861 wxMetaFileDC
* _result
;
4862 wxString
* _arg0
= &wxPyEmptyStr
;
4863 PyObject
* _obj0
= 0;
4867 if(!PyArg_ParseTuple(args
,"|O:new_wxMetaFileDC",&_obj0
))
4871 if (!PyString_Check(_obj0
)) {
4872 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4875 _arg0
= new wxString(PyString_AsString(_obj0
));
4877 _result
= (wxMetaFileDC
*)new_wxMetaFileDC(*_arg0
);
4878 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFileDC_p");
4879 _resultobj
= Py_BuildValue("s",_ptemp
);
4887 #define wxMetaFileDC_Close(_swigobj) (_swigobj->Close())
4888 static PyObject
*_wrap_wxMetaFileDC_Close(PyObject
*self
, PyObject
*args
) {
4889 PyObject
* _resultobj
;
4890 wxMetaFile
* _result
;
4891 wxMetaFileDC
* _arg0
;
4896 if(!PyArg_ParseTuple(args
,"s:wxMetaFileDC_Close",&_argc0
))
4899 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMetaFileDC_p")) {
4900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFileDC_Close. Expected _wxMetaFileDC_p.");
4904 _result
= (wxMetaFile
*)wxMetaFileDC_Close(_arg0
);
4905 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFile_p");
4906 _resultobj
= Py_BuildValue("s",_ptemp
);
4910 static PyMethodDef gdicMethods
[] = {
4911 { "wxMetaFileDC_Close", _wrap_wxMetaFileDC_Close
, 1 },
4912 { "new_wxMetaFileDC", _wrap_new_wxMetaFileDC
, 1 },
4913 { "new_wxPrinterDC", _wrap_new_wxPrinterDC
, 1 },
4914 { "new_wxPaintDC", _wrap_new_wxPaintDC
, 1 },
4915 { "new_wxClientDC", _wrap_new_wxClientDC
, 1 },
4916 { "wxScreenDC_EndDrawingOnTop", _wrap_wxScreenDC_EndDrawingOnTop
, 1 },
4917 { "wxScreenDC_StartDrawingOnTopRect", _wrap_wxScreenDC_StartDrawingOnTopRect
, 1 },
4918 { "wxScreenDC_StartDrawingOnTop", _wrap_wxScreenDC_StartDrawingOnTop
, 1 },
4919 { "new_wxScreenDC", _wrap_new_wxScreenDC
, 1 },
4920 { "wxMemoryDC_SelectObject", _wrap_wxMemoryDC_SelectObject
, 1 },
4921 { "new_wxMemoryDC", _wrap_new_wxMemoryDC
, 1 },
4922 { "wxDC_DrawBitmap", _wrap_wxDC_DrawBitmap
, 1 },
4923 { "wxDC_StartPage", _wrap_wxDC_StartPage
, 1 },
4924 { "wxDC_StartDoc", _wrap_wxDC_StartDoc
, 1 },
4925 { "wxDC_SetUserScale", _wrap_wxDC_SetUserScale
, 1 },
4926 { "wxDC_SetTextForeground", _wrap_wxDC_SetTextForeground
, 1 },
4927 { "wxDC_SetTextBackground", _wrap_wxDC_SetTextBackground
, 1 },
4928 { "wxDC_SetPen", _wrap_wxDC_SetPen
, 1 },
4929 { "wxDC_SetOptimization", _wrap_wxDC_SetOptimization
, 1 },
4930 { "wxDC_SetMapMode", _wrap_wxDC_SetMapMode
, 1 },
4931 { "wxDC_SetLogicalFunction", _wrap_wxDC_SetLogicalFunction
, 1 },
4932 { "wxDC_SetFont", _wrap_wxDC_SetFont
, 1 },
4933 { "wxDC_SetBrush", _wrap_wxDC_SetBrush
, 1 },
4934 { "wxDC_SetPalette", _wrap_wxDC_SetPalette
, 1 },
4935 { "wxDC_SetClippingRegion", _wrap_wxDC_SetClippingRegion
, 1 },
4936 { "wxDC_SetBackgroundMode", _wrap_wxDC_SetBackgroundMode
, 1 },
4937 { "wxDC_SetBackground", _wrap_wxDC_SetBackground
, 1 },
4938 { "wxDC_SetDeviceOrigin", _wrap_wxDC_SetDeviceOrigin
, 1 },
4939 { "wxDC_Ok", _wrap_wxDC_Ok
, 1 },
4940 { "wxDC_MinY", _wrap_wxDC_MinY
, 1 },
4941 { "wxDC_MinX", _wrap_wxDC_MinX
, 1 },
4942 { "wxDC_MaxY", _wrap_wxDC_MaxY
, 1 },
4943 { "wxDC_MaxX", _wrap_wxDC_MaxX
, 1 },
4944 { "wxDC_LogicalToDeviceYRel", _wrap_wxDC_LogicalToDeviceYRel
, 1 },
4945 { "wxDC_LogicalToDeviceY", _wrap_wxDC_LogicalToDeviceY
, 1 },
4946 { "wxDC_LogicalToDeviceXRel", _wrap_wxDC_LogicalToDeviceXRel
, 1 },
4947 { "wxDC_LogicalToDeviceX", _wrap_wxDC_LogicalToDeviceX
, 1 },
4948 { "wxDC_GetTextForeground", _wrap_wxDC_GetTextForeground
, 1 },
4949 { "wxDC_GetTextExtent", _wrap_wxDC_GetTextExtent
, 1 },
4950 { "wxDC_GetTextBackground", _wrap_wxDC_GetTextBackground
, 1 },
4951 { "wxDC_GetSize", _wrap_wxDC_GetSize
, 1 },
4952 { "wxDC_GetPixel", _wrap_wxDC_GetPixel
, 1 },
4953 { "wxDC_GetPen", _wrap_wxDC_GetPen
, 1 },
4954 { "wxDC_GetOptimization", _wrap_wxDC_GetOptimization
, 1 },
4955 { "wxDC_GetMapMode", _wrap_wxDC_GetMapMode
, 1 },
4956 { "wxDC_GetLogicalFunction", _wrap_wxDC_GetLogicalFunction
, 1 },
4957 { "wxDC_GetFont", _wrap_wxDC_GetFont
, 1 },
4958 { "wxDC_GetClippingBox", _wrap_wxDC_GetClippingBox
, 1 },
4959 { "wxDC_GetCharWidth", _wrap_wxDC_GetCharWidth
, 1 },
4960 { "wxDC_GetCharHeight", _wrap_wxDC_GetCharHeight
, 1 },
4961 { "wxDC_GetBrush", _wrap_wxDC_GetBrush
, 1 },
4962 { "wxDC_GetBackground", _wrap_wxDC_GetBackground
, 1 },
4963 { "wxDC_EndPage", _wrap_wxDC_EndPage
, 1 },
4964 { "wxDC_EndDrawing", _wrap_wxDC_EndDrawing
, 1 },
4965 { "wxDC_EndDoc", _wrap_wxDC_EndDoc
, 1 },
4966 { "wxDC_DrawText", _wrap_wxDC_DrawText
, 1 },
4967 { "wxDC_DrawSpline", _wrap_wxDC_DrawSpline
, 1 },
4968 { "wxDC_DrawRoundedRectangle", _wrap_wxDC_DrawRoundedRectangle
, 1 },
4969 { "wxDC_DrawRectangle", _wrap_wxDC_DrawRectangle
, 1 },
4970 { "wxDC_DrawPoint", _wrap_wxDC_DrawPoint
, 1 },
4971 { "wxDC_DrawPolygon", _wrap_wxDC_DrawPolygon
, 1 },
4972 { "wxDC_DrawLines", _wrap_wxDC_DrawLines
, 1 },
4973 { "wxDC_DrawLine", _wrap_wxDC_DrawLine
, 1 },
4974 { "wxDC_DrawIcon", _wrap_wxDC_DrawIcon
, 1 },
4975 { "wxDC_DrawEllipticArc", _wrap_wxDC_DrawEllipticArc
, 1 },
4976 { "wxDC_DrawEllipse", _wrap_wxDC_DrawEllipse
, 1 },
4977 { "wxDC_DrawArc", _wrap_wxDC_DrawArc
, 1 },
4978 { "wxDC_DeviceToLogicalYRel", _wrap_wxDC_DeviceToLogicalYRel
, 1 },
4979 { "wxDC_DeviceToLogicalY", _wrap_wxDC_DeviceToLogicalY
, 1 },
4980 { "wxDC_DeviceToLogicalXRel", _wrap_wxDC_DeviceToLogicalXRel
, 1 },
4981 { "wxDC_DeviceToLogicalX", _wrap_wxDC_DeviceToLogicalX
, 1 },
4982 { "wxDC_DestroyClippingRegion", _wrap_wxDC_DestroyClippingRegion
, 1 },
4983 { "wxDC_CrossHair", _wrap_wxDC_CrossHair
, 1 },
4984 { "wxDC_Clear", _wrap_wxDC_Clear
, 1 },
4985 { "wxDC_Blit", _wrap_wxDC_Blit
, 1 },
4986 { "wxDC_BeginDrawing", _wrap_wxDC_BeginDrawing
, 1 },
4987 { "delete_wxDC", _wrap_delete_wxDC
, 1 },
4988 { "wxBrush_SetStyle", _wrap_wxBrush_SetStyle
, 1 },
4989 { "wxBrush_SetStipple", _wrap_wxBrush_SetStipple
, 1 },
4990 { "wxBrush_SetColour", _wrap_wxBrush_SetColour
, 1 },
4991 { "wxBrush_Ok", _wrap_wxBrush_Ok
, 1 },
4992 { "wxBrush_GetStyle", _wrap_wxBrush_GetStyle
, 1 },
4993 { "wxBrush_GetStipple", _wrap_wxBrush_GetStipple
, 1 },
4994 { "wxBrush_GetColour", _wrap_wxBrush_GetColour
, 1 },
4995 { "new_wxBrush", _wrap_new_wxBrush
, 1 },
4996 { "wxPen_SetWidth", _wrap_wxPen_SetWidth
, 1 },
4997 { "wxPen_SetStyle", _wrap_wxPen_SetStyle
, 1 },
4998 { "wxPen_SetJoin", _wrap_wxPen_SetJoin
, 1 },
4999 { "wxPen_SetStipple", _wrap_wxPen_SetStipple
, 1 },
5000 { "wxPen_SetDashes", _wrap_wxPen_SetDashes
, 1 },
5001 { "wxPen_SetColour", _wrap_wxPen_SetColour
, 1 },
5002 { "wxPen_SetCap", _wrap_wxPen_SetCap
, 1 },
5003 { "wxPen_Ok", _wrap_wxPen_Ok
, 1 },
5004 { "wxPen_GetWidth", _wrap_wxPen_GetWidth
, 1 },
5005 { "wxPen_GetStyle", _wrap_wxPen_GetStyle
, 1 },
5006 { "wxPen_GetJoin", _wrap_wxPen_GetJoin
, 1 },
5007 { "wxPen_GetStipple", _wrap_wxPen_GetStipple
, 1 },
5008 { "wxPen_GetDashes", _wrap_wxPen_GetDashes
, 1 },
5009 { "wxPen_GetColour", _wrap_wxPen_GetColour
, 1 },
5010 { "wxPen_GetCap", _wrap_wxPen_GetCap
, 1 },
5011 { "new_wxPen", _wrap_new_wxPen
, 1 },
5012 { "wxColour_Get", _wrap_wxColour_Get
, 1 },
5013 { "wxColour_Set", _wrap_wxColour_Set
, 1 },
5014 { "wxColour_Ok", _wrap_wxColour_Ok
, 1 },
5015 { "wxColour_Blue", _wrap_wxColour_Blue
, 1 },
5016 { "wxColour_Green", _wrap_wxColour_Green
, 1 },
5017 { "wxColour_Red", _wrap_wxColour_Red
, 1 },
5018 { "delete_wxColour", _wrap_delete_wxColour
, 1 },
5019 { "new_wxColour", _wrap_new_wxColour
, 1 },
5020 { "wxFont_SetWeight", _wrap_wxFont_SetWeight
, 1 },
5021 { "wxFont_SetUnderlined", _wrap_wxFont_SetUnderlined
, 1 },
5022 { "wxFont_SetStyle", _wrap_wxFont_SetStyle
, 1 },
5023 { "wxFont_SetPointSize", _wrap_wxFont_SetPointSize
, 1 },
5024 { "wxFont_SetFamily", _wrap_wxFont_SetFamily
, 1 },
5025 { "wxFont_SetFaceName", _wrap_wxFont_SetFaceName
, 1 },
5026 { "wxFont_GetWeight", _wrap_wxFont_GetWeight
, 1 },
5027 { "wxFont_GetUnderlined", _wrap_wxFont_GetUnderlined
, 1 },
5028 { "wxFont_GetStyle", _wrap_wxFont_GetStyle
, 1 },
5029 { "wxFont_GetPointSize", _wrap_wxFont_GetPointSize
, 1 },
5030 { "wxFont_GetFontId", _wrap_wxFont_GetFontId
, 1 },
5031 { "wxFont_GetFamily", _wrap_wxFont_GetFamily
, 1 },
5032 { "wxFont_GetFaceName", _wrap_wxFont_GetFaceName
, 1 },
5033 { "new_wxFont", _wrap_new_wxFont
, 1 },
5034 { "wxCursor_Ok", _wrap_wxCursor_Ok
, 1 },
5035 { "delete_wxCursor", _wrap_delete_wxCursor
, 1 },
5036 { "new_wxCursor", _wrap_new_wxCursor
, 1 },
5037 { "wxIcon_SetWidth", _wrap_wxIcon_SetWidth
, 1 },
5038 { "wxIcon_SetHeight", _wrap_wxIcon_SetHeight
, 1 },
5039 { "wxIcon_SetDepth", _wrap_wxIcon_SetDepth
, 1 },
5040 { "wxIcon_Ok", _wrap_wxIcon_Ok
, 1 },
5041 { "wxIcon_LoadFile", _wrap_wxIcon_LoadFile
, 1 },
5042 { "wxIcon_GetWidth", _wrap_wxIcon_GetWidth
, 1 },
5043 { "wxIcon_GetHeight", _wrap_wxIcon_GetHeight
, 1 },
5044 { "wxIcon_GetDepth", _wrap_wxIcon_GetDepth
, 1 },
5045 { "delete_wxIcon", _wrap_delete_wxIcon
, 1 },
5046 { "new_wxIcon", _wrap_new_wxIcon
, 1 },
5047 { "delete_wxMask", _wrap_delete_wxMask
, 1 },
5048 { "new_wxMask", _wrap_new_wxMask
, 1 },
5049 { "wxBitmap_SetWidth", _wrap_wxBitmap_SetWidth
, 1 },
5050 { "wxBitmap_SetPalette", _wrap_wxBitmap_SetPalette
, 1 },
5051 { "wxBitmap_SetMask", _wrap_wxBitmap_SetMask
, 1 },
5052 { "wxBitmap_SetHeight", _wrap_wxBitmap_SetHeight
, 1 },
5053 { "wxBitmap_SetDepth", _wrap_wxBitmap_SetDepth
, 1 },
5054 { "wxBitmap_SaveFile", _wrap_wxBitmap_SaveFile
, 1 },
5055 { "wxBitmap_Ok", _wrap_wxBitmap_Ok
, 1 },
5056 { "wxBitmap_LoadFile", _wrap_wxBitmap_LoadFile
, 1 },
5057 { "wxBitmap_GetWidth", _wrap_wxBitmap_GetWidth
, 1 },
5058 { "wxBitmap_GetMask", _wrap_wxBitmap_GetMask
, 1 },
5059 { "wxBitmap_GetPalette", _wrap_wxBitmap_GetPalette
, 1 },
5060 { "wxBitmap_GetHeight", _wrap_wxBitmap_GetHeight
, 1 },
5061 { "wxBitmap_GetDepth", _wrap_wxBitmap_GetDepth
, 1 },
5062 { "wxBitmap_Create", _wrap_wxBitmap_Create
, 1 },
5063 { "delete_wxBitmap", _wrap_delete_wxBitmap
, 1 },
5064 { "new_wxBitmap", _wrap_new_wxBitmap
, 1 },
5065 { "wxMemoryDCFromDC", _wrap_wxMemoryDCFromDC
, 1 },
5066 { "wxNamedColour", _wrap_wxNamedColour
, 1 },
5067 { "wxStockCursor", _wrap_wxStockCursor
, 1 },
5068 { "wxMaskColour", _wrap_wxMaskColour
, 1 },
5069 { "wxNoRefBitmap", _wrap_wxNoRefBitmap
, 1 },
5070 { "wxEmptyBitmap", _wrap_wxEmptyBitmap
, 1 },
5073 static PyObject
*SWIG_globals
;
5077 SWIGEXPORT(void,initgdic
)() {
5079 SWIG_globals
= SWIG_newvarlink();
5080 m
= Py_InitModule("gdic", gdicMethods
);
5081 d
= PyModule_GetDict(m
);
5082 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
5083 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
5084 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
5085 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
5086 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
5087 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
5088 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
5089 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
5090 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
5091 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
5092 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
5093 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
5094 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
5095 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
5096 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
5097 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
5098 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
5099 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
5100 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
5101 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
5102 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
5103 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
5104 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
5105 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
5106 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
5107 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
5108 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
5109 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
5110 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
5111 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
5112 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
5113 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
5114 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
5115 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
5116 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
5117 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
5118 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
5119 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
5120 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
5121 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
5122 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
5123 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
5124 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
5126 * These are the pointer type-equivalency mappings.
5127 * (Used by the SWIG pointer type-checker).
5129 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
5130 SWIG_RegisterMapping("_signed_long","_long",0);
5131 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
5132 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
5133 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
5134 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
5135 SWIG_RegisterMapping("_byte","_unsigned_char",0);
5136 SWIG_RegisterMapping("_long","_wxDash",0);
5137 SWIG_RegisterMapping("_long","_unsigned_long",0);
5138 SWIG_RegisterMapping("_long","_signed_long",0);
5139 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
5140 SWIG_RegisterMapping("_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
);
5141 SWIG_RegisterMapping("_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
);
5142 SWIG_RegisterMapping("_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
);
5143 SWIG_RegisterMapping("_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
);
5144 SWIG_RegisterMapping("_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
);
5145 SWIG_RegisterMapping("_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
);
5146 SWIG_RegisterMapping("_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
);
5147 SWIG_RegisterMapping("_wxDC","_wxClientDC",SwigwxClientDCTowxDC
);
5148 SWIG_RegisterMapping("_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
);
5149 SWIG_RegisterMapping("_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
);
5150 SWIG_RegisterMapping("_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
);
5151 SWIG_RegisterMapping("_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
);
5152 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
5153 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
5154 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
5155 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
5156 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
5157 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
5158 SWIG_RegisterMapping("_uint","_unsigned_int",0);
5159 SWIG_RegisterMapping("_uint","_int",0);
5160 SWIG_RegisterMapping("_uint","_wxWindowID",0);
5161 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
5162 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
5163 SWIG_RegisterMapping("_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
);
5164 SWIG_RegisterMapping("_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
);
5165 SWIG_RegisterMapping("_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
);
5166 SWIG_RegisterMapping("_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
);
5167 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
5168 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
5169 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
5170 SWIG_RegisterMapping("_EBool","_signed_int",0);
5171 SWIG_RegisterMapping("_EBool","_int",0);
5172 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
5173 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
5174 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
5175 SWIG_RegisterMapping("_unsigned_long","_long",0);
5176 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
5177 SWIG_RegisterMapping("_class_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
);
5178 SWIG_RegisterMapping("_class_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
);
5179 SWIG_RegisterMapping("_class_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
);
5180 SWIG_RegisterMapping("_class_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
);
5181 SWIG_RegisterMapping("_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
);
5182 SWIG_RegisterMapping("_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
);
5183 SWIG_RegisterMapping("_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
);
5184 SWIG_RegisterMapping("_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
);
5185 SWIG_RegisterMapping("_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
);
5186 SWIG_RegisterMapping("_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
);
5187 SWIG_RegisterMapping("_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
);
5188 SWIG_RegisterMapping("_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
);
5189 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
5190 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
5191 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
5192 SWIG_RegisterMapping("_signed_int","_EBool",0);
5193 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
5194 SWIG_RegisterMapping("_signed_int","_int",0);
5195 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
5196 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
5197 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
5198 SWIG_RegisterMapping("_WXTYPE","_short",0);
5199 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
5200 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
5201 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
5202 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
5203 SWIG_RegisterMapping("_unsigned_short","_short",0);
5204 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
5205 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
5206 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
5207 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
5208 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
5209 SWIG_RegisterMapping("_signed_short","_short",0);
5210 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
5211 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
5212 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
5213 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
5214 SWIG_RegisterMapping("_unsigned_char","_byte",0);
5215 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
5216 SWIG_RegisterMapping("_unsigned_int","_uint",0);
5217 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
5218 SWIG_RegisterMapping("_unsigned_int","_int",0);
5219 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
5220 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
5221 SWIG_RegisterMapping("_short","_WXTYPE",0);
5222 SWIG_RegisterMapping("_short","_unsigned_short",0);
5223 SWIG_RegisterMapping("_short","_signed_short",0);
5224 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
5225 SWIG_RegisterMapping("_wxWindowID","_uint",0);
5226 SWIG_RegisterMapping("_wxWindowID","_int",0);
5227 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
5228 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
5229 SWIG_RegisterMapping("_int","_EBool",0);
5230 SWIG_RegisterMapping("_int","_uint",0);
5231 SWIG_RegisterMapping("_int","_wxWindowID",0);
5232 SWIG_RegisterMapping("_int","_unsigned_int",0);
5233 SWIG_RegisterMapping("_int","_signed_int",0);
5234 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
5235 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
5236 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
5237 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
5238 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
5239 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
5240 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
5241 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
5242 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
5243 SWIG_RegisterMapping("_class_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
);
5244 SWIG_RegisterMapping("_class_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
);
5245 SWIG_RegisterMapping("_class_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
);
5246 SWIG_RegisterMapping("_class_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
);
5247 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
5248 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
5249 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
5250 SWIG_RegisterMapping("_wxDash","_long",0);